From 6009132fbcbbb4a192de8ef6f659e368ca8eeb02 Mon Sep 17 00:00:00 2001 From: Stephan Lo Date: Fri, 7 Nov 2025 15:04:16 +0100 Subject: [PATCH] chore: Update LikeC4 to version 1.43.0 - Update likec4 dependency in edp-likec4 project - Update likec4 dependency in doc-likec4 project - Regenerate webcomponent with new version - Includes bug fixes and improvements from LikeC4 1.43.0 --- resources/doc-likec4/package-lock.json | 2455 ++++++++++++++++++++++++ resources/edp-likec4/package-lock.json | 288 +-- static/js/likec4-webcomponent.js | 322 ++-- 3 files changed, 2761 insertions(+), 304 deletions(-) create mode 100644 resources/doc-likec4/package-lock.json diff --git a/resources/doc-likec4/package-lock.json b/resources/doc-likec4/package-lock.json new file mode 100644 index 0000000..2dfb93c --- /dev/null +++ b/resources/doc-likec4/package-lock.json @@ -0,0 +1,2455 @@ +{ + "name": "documentation-platform-likec4", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "documentation-platform-likec4", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "@likec4/cli": "^0.40.0", + "likec4": "^1.37.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", + "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.27.1", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.5.tgz", + "integrity": "sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.5.tgz", + "integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/code-frame": "^7.27.1", + "@babel/generator": "^7.28.5", + "@babel/helper-compilation-targets": "^7.27.2", + "@babel/helper-module-transforms": "^7.28.3", + "@babel/helpers": "^7.28.4", + "@babel/parser": "^7.28.5", + "@babel/template": "^7.27.2", + "@babel/traverse": "^7.28.5", + "@babel/types": "^7.28.5", + "@jridgewell/remapping": "^2.3.5", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.5.tgz", + "integrity": "sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.28.5", + "@babel/types": "^7.28.5", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz", + "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.27.2", + "@babel/helper-validator-option": "^7.27.1", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-globals": { + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz", + "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz", + "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==", + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.28.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.3.tgz", + "integrity": "sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==", + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1", + "@babel/traverse": "^7.28.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz", + "integrity": "sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", + "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", + "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz", + "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.28.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.4.tgz", + "integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==", + "license": "MIT", + "dependencies": { + "@babel/template": "^7.27.2", + "@babel/types": "^7.28.4" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz", + "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.28.5" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-self": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.27.1.tgz", + "integrity": "sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-source": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.27.1.tgz", + "integrity": "sha512-zbwoTsBruTeKB9hSq73ha66iFeJHuaFkUbwvqElnygoNbj/jHRsSeokowZFN3CZ64IvEqcmmkVe89OPXc7ldAw==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/template": { + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz", + "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.27.1", + "@babel/parser": "^7.27.2", + "@babel/types": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.5.tgz", + "integrity": "sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.27.1", + "@babel/generator": "^7.28.5", + "@babel/helper-globals": "^7.28.0", + "@babel/parser": "^7.28.5", + "@babel/template": "^7.27.2", + "@babel/types": "^7.28.5", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz", + "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.28.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.11.tgz", + "integrity": "sha512-Xt1dOL13m8u0WE8iplx9Ibbm+hFAO0GsU2P34UNoDGvZYkY8ifSiy6Zuc1lYxfG7svWE2fzqCUmFp5HCn51gJg==", + "cpu": [ + "ppc64" + ], + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.11.tgz", + "integrity": "sha512-uoa7dU+Dt3HYsethkJ1k6Z9YdcHjTrSb5NUy66ZfZaSV8hEYGD5ZHbEMXnqLFlbBflLsl89Zke7CAdDJ4JI+Gg==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.11.tgz", + "integrity": "sha512-9slpyFBc4FPPz48+f6jyiXOx/Y4v34TUeDDXJpZqAWQn/08lKGeD8aDp9TMn9jDz2CiEuHwfhRmGBvpnd/PWIQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.11.tgz", + "integrity": "sha512-Sgiab4xBjPU1QoPEIqS3Xx+R2lezu0LKIEcYe6pftr56PqPygbB7+szVnzoShbx64MUupqoE0KyRlN7gezbl8g==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.11.tgz", + "integrity": "sha512-VekY0PBCukppoQrycFxUqkCojnTQhdec0vevUL/EDOCnXd9LKWqD/bHwMPzigIJXPhC59Vd1WFIL57SKs2mg4w==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.11.tgz", + "integrity": "sha512-+hfp3yfBalNEpTGp9loYgbknjR695HkqtY3d3/JjSRUyPg/xd6q+mQqIb5qdywnDxRZykIHs3axEqU6l1+oWEQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.11.tgz", + "integrity": "sha512-CmKjrnayyTJF2eVuO//uSjl/K3KsMIeYeyN7FyDBjsR3lnSJHaXlVoAK8DZa7lXWChbuOk7NjAc7ygAwrnPBhA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.11.tgz", + "integrity": "sha512-Dyq+5oscTJvMaYPvW3x3FLpi2+gSZTCE/1ffdwuM6G1ARang/mb3jvjxs0mw6n3Lsw84ocfo9CrNMqc5lTfGOw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.11.tgz", + "integrity": "sha512-TBMv6B4kCfrGJ8cUPo7vd6NECZH/8hPpBHHlYI3qzoYFvWu2AdTvZNuU/7hsbKWqu/COU7NIK12dHAAqBLLXgw==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.11.tgz", + "integrity": "sha512-Qr8AzcplUhGvdyUF08A1kHU3Vr2O88xxP0Tm8GcdVOUm25XYcMPp2YqSVHbLuXzYQMf9Bh/iKx7YPqECs6ffLA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.11.tgz", + "integrity": "sha512-TmnJg8BMGPehs5JKrCLqyWTVAvielc615jbkOirATQvWWB1NMXY77oLMzsUjRLa0+ngecEmDGqt5jiDC6bfvOw==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.11.tgz", + "integrity": "sha512-DIGXL2+gvDaXlaq8xruNXUJdT5tF+SBbJQKbWy/0J7OhU8gOHOzKmGIlfTTl6nHaCOoipxQbuJi7O++ldrxgMw==", + "cpu": [ + "loong64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.11.tgz", + "integrity": "sha512-Osx1nALUJu4pU43o9OyjSCXokFkFbyzjXb6VhGIJZQ5JZi8ylCQ9/LFagolPsHtgw6himDSyb5ETSfmp4rpiKQ==", + "cpu": [ + "mips64el" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.11.tgz", + "integrity": "sha512-nbLFgsQQEsBa8XSgSTSlrnBSrpoWh7ioFDUmwo158gIm5NNP+17IYmNWzaIzWmgCxq56vfr34xGkOcZ7jX6CPw==", + "cpu": [ + "ppc64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.11.tgz", + "integrity": "sha512-HfyAmqZi9uBAbgKYP1yGuI7tSREXwIb438q0nqvlpxAOs3XnZ8RsisRfmVsgV486NdjD7Mw2UrFSw51lzUk1ww==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.11.tgz", + "integrity": "sha512-HjLqVgSSYnVXRisyfmzsH6mXqyvj0SA7pG5g+9W7ESgwA70AXYNpfKBqh1KbTxmQVaYxpzA/SvlB9oclGPbApw==", + "cpu": [ + "s390x" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.11.tgz", + "integrity": "sha512-HSFAT4+WYjIhrHxKBwGmOOSpphjYkcswF449j6EjsjbinTZbp8PJtjsVK1XFJStdzXdy/jaddAep2FGY+wyFAQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.11.tgz", + "integrity": "sha512-hr9Oxj1Fa4r04dNpWr3P8QKVVsjQhqrMSUzZzf+LZcYjZNqhA3IAfPQdEh1FLVUJSiu6sgAwp3OmwBfbFgG2Xg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.11.tgz", + "integrity": "sha512-u7tKA+qbzBydyj0vgpu+5h5AeudxOAGncb8N6C9Kh1N4n7wU1Xw1JDApsRjpShRpXRQlJLb9wY28ELpwdPcZ7A==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.11.tgz", + "integrity": "sha512-Qq6YHhayieor3DxFOoYM1q0q1uMFYb7cSpLD2qzDSvK1NAvqFi8Xgivv0cFC6J+hWVw2teCYltyy9/m/14ryHg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.11.tgz", + "integrity": "sha512-CN+7c++kkbrckTOz5hrehxWN7uIhFFlmS/hqziSFVWpAzpWrQoAG4chH+nN3Be+Kzv/uuo7zhX716x3Sn2Jduw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.11.tgz", + "integrity": "sha512-rOREuNIQgaiR+9QuNkbkxubbp8MSO9rONmwP5nKncnWJ9v5jQ4JxFnLu4zDSRPf3x4u+2VN4pM4RdyIzDty/wQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.11.tgz", + "integrity": "sha512-nq2xdYaWxyg9DcIyXkZhcYulC6pQ2FuCgem3LI92IwMgIZ69KHeY8T4Y88pcwoLIjbed8n36CyKoYRDygNSGhA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.11.tgz", + "integrity": "sha512-3XxECOWJq1qMZ3MN8srCJ/QfoLpL+VaxD/WfNRm1O3B4+AZ/BnLVgFbUV3eiRYDMXetciH16dwPbbHqwe1uU0Q==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.11.tgz", + "integrity": "sha512-3ukss6gb9XZ8TlRyJlgLn17ecsK4NSQTmdIXRASVsiS2sQ6zPPZklNJT5GR5tE/MUarymmy8kCEf5xPCNCqVOA==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.11.tgz", + "integrity": "sha512-D7Hpz6A2L4hzsRpPaCYkQnGOotdUpDzSGRIv9I+1ITdHROSFUWW95ZPZWQmGka1Fg7W3zFJowyn9WGwMJ0+KPA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@hpcc-js/wasm-graphviz": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/@hpcc-js/wasm-graphviz/-/wasm-graphviz-1.12.0.tgz", + "integrity": "sha512-Cr0eeLN3M87zkTllMMd5G1FtT2LsxEu+V2t72CokvvQmylRtQpfdZBf4nZvw+qZmJWB0IuGxzYkSoxGfZCbtKQ==", + "license": "Apache-2.0" + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@likec4/cli": { + "version": "0.40.0", + "resolved": "https://registry.npmjs.org/@likec4/cli/-/cli-0.40.0.tgz", + "integrity": "sha512-ITKetrNrGUkJ1ZSauk8Goj89Mn5+riU91K1ZFWRnLMB3fvPX8i7xf6Vvqms1g/vAWf3blRvtk5iuzFDKmM+1Og==", + "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", + "license": "MIT", + "bin": { + "likec4": "bin/likec4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@likec4/core": { + "version": "1.43.0", + "resolved": "https://registry.npmjs.org/@likec4/core/-/core-1.43.0.tgz", + "integrity": "sha512-3IO0mV6E6WGCaglYu6c+hnxU6pdCbK5ZHSi5qb+CvtLjzoNDukJGa39e7lt/ZCY/+XxPE5DKDvaiOjWZ3Sf+xg==", + "license": "MIT", + "dependencies": { + "type-fest": "^4.41.0" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.0-beta.43", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.43.tgz", + "integrity": "sha512-5Uxg7fQUCmfhax7FJke2+8B6cqgeUJUD9o2uXIKXhD+mG0mL6NObmVoi9wXEU1tY89mZKgAYA6fTbftx3q2ZPQ==", + "license": "MIT" + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.52.5.tgz", + "integrity": "sha512-8c1vW4ocv3UOMp9K+gToY5zL2XiiVw3k7f1ksf4yO1FlDFQ1C2u72iACFnSOceJFsWskc2WZNqeRhFRPzv+wtQ==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.52.5.tgz", + "integrity": "sha512-mQGfsIEFcu21mvqkEKKu2dYmtuSZOBMmAl5CFlPGLY94Vlcm+zWApK7F/eocsNzp8tKmbeBP8yXyAbx0XHsFNA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.52.5.tgz", + "integrity": "sha512-takF3CR71mCAGA+v794QUZ0b6ZSrgJkArC+gUiG6LB6TQty9T0Mqh3m2ImRBOxS2IeYBo4lKWIieSvnEk2OQWA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.52.5.tgz", + "integrity": "sha512-W901Pla8Ya95WpxDn//VF9K9u2JbocwV/v75TE0YIHNTbhqUTv9w4VuQ9MaWlNOkkEfFwkdNhXgcLqPSmHy0fA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.52.5.tgz", + "integrity": "sha512-QofO7i7JycsYOWxe0GFqhLmF6l1TqBswJMvICnRUjqCx8b47MTo46W8AoeQwiokAx3zVryVnxtBMcGcnX12LvA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.52.5.tgz", + "integrity": "sha512-jr21b/99ew8ujZubPo9skbrItHEIE50WdV86cdSoRkKtmWa+DDr6fu2c/xyRT0F/WazZpam6kk7IHBerSL7LDQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.52.5.tgz", + "integrity": "sha512-PsNAbcyv9CcecAUagQefwX8fQn9LQ4nZkpDboBOttmyffnInRy8R8dSg6hxxl2Re5QhHBf6FYIDhIj5v982ATQ==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.52.5.tgz", + "integrity": "sha512-Fw4tysRutyQc/wwkmcyoqFtJhh0u31K+Q6jYjeicsGJJ7bbEq8LwPWV/w0cnzOqR2m694/Af6hpFayLJZkG2VQ==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.52.5.tgz", + "integrity": "sha512-a+3wVnAYdQClOTlyapKmyI6BLPAFYs0JM8HRpgYZQO02rMR09ZcV9LbQB+NL6sljzG38869YqThrRnfPMCDtZg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.52.5.tgz", + "integrity": "sha512-AvttBOMwO9Pcuuf7m9PkC1PUIKsfaAJ4AYhy944qeTJgQOqJYJ9oVl2nYgY7Rk0mkbsuOpCAYSs6wLYB2Xiw0Q==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-gnu": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.52.5.tgz", + "integrity": "sha512-DkDk8pmXQV2wVrF6oq5tONK6UHLz/XcEVow4JTTerdeV1uqPeHxwcg7aFsfnSm9L+OO8WJsWotKM2JJPMWrQtA==", + "cpu": [ + "loong64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.52.5.tgz", + "integrity": "sha512-W/b9ZN/U9+hPQVvlGwjzi+Wy4xdoH2I8EjaCkMvzpI7wJUs8sWJ03Rq96jRnHkSrcHTpQe8h5Tg3ZzUPGauvAw==", + "cpu": [ + "ppc64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.52.5.tgz", + "integrity": "sha512-sjQLr9BW7R/ZiXnQiWPkErNfLMkkWIoCz7YMn27HldKsADEKa5WYdobaa1hmN6slu9oWQbB6/jFpJ+P2IkVrmw==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.52.5.tgz", + "integrity": "sha512-hq3jU/kGyjXWTvAh2awn8oHroCbrPm8JqM7RUpKjalIRWWXE01CQOf/tUNWNHjmbMHg/hmNCwc/Pz3k1T/j/Lg==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.52.5.tgz", + "integrity": "sha512-gn8kHOrku8D4NGHMK1Y7NA7INQTRdVOntt1OCYypZPRt6skGbddska44K8iocdpxHTMMNui5oH4elPH4QOLrFQ==", + "cpu": [ + "s390x" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.52.5.tgz", + "integrity": "sha512-hXGLYpdhiNElzN770+H2nlx+jRog8TyynpTVzdlc6bndktjKWyZyiCsuDAlpd+j+W+WNqfcyAWz9HxxIGfZm1Q==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.52.5.tgz", + "integrity": "sha512-arCGIcuNKjBoKAXD+y7XomR9gY6Mw7HnFBv5Rw7wQRvwYLR7gBAgV7Mb2QTyjXfTveBNFAtPt46/36vV9STLNg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-openharmony-arm64": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.52.5.tgz", + "integrity": "sha512-QoFqB6+/9Rly/RiPjaomPLmR/13cgkIGfA40LHly9zcH1S0bN2HVFYk3a1eAyHQyjs3ZJYlXvIGtcCs5tko9Cw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.52.5.tgz", + "integrity": "sha512-w0cDWVR6MlTstla1cIfOGyl8+qb93FlAVutcor14Gf5Md5ap5ySfQ7R9S/NjNaMLSFdUnKGEasmVnu3lCMqB7w==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.52.5.tgz", + "integrity": "sha512-Aufdpzp7DpOTULJCuvzqcItSGDH73pF3ko/f+ckJhxQyHtp67rHw3HMNxoIdDMUITJESNE6a8uh4Lo4SLouOUg==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-gnu": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.52.5.tgz", + "integrity": "sha512-UGBUGPFp1vkj6p8wCRraqNhqwX/4kNQPS57BCFc8wYh0g94iVIW33wJtQAx3G7vrjjNtRaxiMUylM0ktp/TRSQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.52.5.tgz", + "integrity": "sha512-TAcgQh2sSkykPRWLrdyy2AiceMckNf5loITqXxFI5VuQjS5tSuw3WlwdN8qv8vzjLAUTvYaH/mVjSFpbkFbpTg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@types/babel__core": { + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz", + "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz", + "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.28.2" + } + }, + "node_modules/@types/d3-color": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz", + "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==", + "license": "MIT" + }, + "node_modules/@types/d3-drag": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@types/d3-drag/-/d3-drag-3.0.7.tgz", + "integrity": "sha512-HE3jVKlzU9AaMazNufooRJ5ZpWmLIoc90A37WU2JMmeq28w1FQqCZswHZ3xR+SuxYftzHq6WU6KJHvqxKzTxxQ==", + "license": "MIT", + "dependencies": { + "@types/d3-selection": "*" + } + }, + "node_modules/@types/d3-interpolate": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz", + "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==", + "license": "MIT", + "dependencies": { + "@types/d3-color": "*" + } + }, + "node_modules/@types/d3-selection": { + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/@types/d3-selection/-/d3-selection-3.0.11.tgz", + "integrity": "sha512-bhAXu23DJWsrI45xafYpkQ4NtcKMwWnAC/vKrd2l+nxMFuvOT3XMYTIj2opv8vq8AO5Yh7Qac/nSeP/3zjTK0w==", + "license": "MIT" + }, + "node_modules/@types/d3-transition": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/@types/d3-transition/-/d3-transition-3.0.9.tgz", + "integrity": "sha512-uZS5shfxzO3rGlu0cC3bjmMFKsXv+SmZZcgp0KD22ts4uGXp5EVYGzu/0YdwZeKmddhcAccYtREJKkPfXkZuCg==", + "license": "MIT", + "dependencies": { + "@types/d3-selection": "*" + } + }, + "node_modules/@types/d3-zoom": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/@types/d3-zoom/-/d3-zoom-3.0.8.tgz", + "integrity": "sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw==", + "license": "MIT", + "dependencies": { + "@types/d3-interpolate": "*", + "@types/d3-selection": "*" + } + }, + "node_modules/@types/estree": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", + "license": "MIT" + }, + "node_modules/@vitejs/plugin-react": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-5.1.0.tgz", + "integrity": "sha512-4LuWrg7EKWgQaMJfnN+wcmbAW+VSsCmqGohftWjuct47bv8uE4n/nPpq4XjJPsxgq00GGG5J8dvBczp8uxScew==", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.28.4", + "@babel/plugin-transform-react-jsx-self": "^7.27.1", + "@babel/plugin-transform-react-jsx-source": "^7.27.1", + "@rolldown/pluginutils": "1.0.0-beta.43", + "@types/babel__core": "^7.20.5", + "react-refresh": "^0.18.0" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "peerDependencies": { + "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" + } + }, + "node_modules/@xyflow/react": { + "version": "12.9.0", + "resolved": "https://registry.npmjs.org/@xyflow/react/-/react-12.9.0.tgz", + "integrity": "sha512-bt37E8Wf2HQ7hHQaMSnOw4UEWQqWlNwzfgF9tjix5Fu9Pn/ph3wbexSS/wbWnTkv0vhgMVyphQLfFWIuCe59hQ==", + "license": "MIT", + "dependencies": { + "@xyflow/system": "0.0.71", + "classcat": "^5.0.3", + "zustand": "^4.4.0" + }, + "peerDependencies": { + "react": ">=17", + "react-dom": ">=17" + } + }, + "node_modules/@xyflow/system": { + "version": "0.0.71", + "resolved": "https://registry.npmjs.org/@xyflow/system/-/system-0.0.71.tgz", + "integrity": "sha512-O2xIK84Uv1hH8qzeY94SKsj0R1n2jXHLsX6RZnM4x1Uc4oWiVbXDFucnkbFwhnQm3IIdAxkbgd2rEDp5oTRhhQ==", + "license": "MIT", + "dependencies": { + "@types/d3-drag": "^3.0.7", + "@types/d3-interpolate": "^3.0.4", + "@types/d3-selection": "^3.0.10", + "@types/d3-transition": "^3.0.8", + "@types/d3-zoom": "^3.0.8", + "d3-drag": "^3.0.0", + "d3-interpolate": "^3.0.1", + "d3-selection": "^3.0.0", + "d3-zoom": "^3.0.0" + } + }, + "node_modules/ansi-align": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", + "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", + "license": "ISC", + "dependencies": { + "string-width": "^4.1.0" + } + }, + "node_modules/ansi-align/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-align/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==", + "license": "MIT" + }, + "node_modules/ansi-align/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-align/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-regex": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/baseline-browser-mapping": { + "version": "2.8.25", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.25.tgz", + "integrity": "sha512-2NovHVesVF5TXefsGX1yzx1xgr7+m9JQenvz6FQY3qd+YXkKkYiv+vTCc7OriP9mcDZpTC5mAOYN4ocd29+erA==", + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.js" + } + }, + "node_modules/boxen": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/boxen/-/boxen-8.0.1.tgz", + "integrity": "sha512-F3PH5k5juxom4xktynS7MoFY+NUWH5LC4CnH11YB8NPew+HLpmBLCybSAEyb2F+4pRXhuhWqFesoQd6DAyc2hw==", + "license": "MIT", + "dependencies": { + "ansi-align": "^3.0.1", + "camelcase": "^8.0.0", + "chalk": "^5.3.0", + "cli-boxes": "^3.0.0", + "string-width": "^7.2.0", + "type-fest": "^4.21.0", + "widest-line": "^5.0.0", + "wrap-ansi": "^9.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/browserslist": { + "version": "4.27.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.27.0.tgz", + "integrity": "sha512-AXVQwdhot1eqLihwasPElhX2tAZiBjWdJ9i/Zcj2S6QYIjkx62OKSfnobkriB81C3l4w0rVy3Nt4jaTBltYEpw==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "peer": true, + "dependencies": { + "baseline-browser-mapping": "^2.8.19", + "caniuse-lite": "^1.0.30001751", + "electron-to-chromium": "^1.5.238", + "node-releases": "^2.0.26", + "update-browserslist-db": "^1.1.4" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/bundle-require": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/bundle-require/-/bundle-require-5.1.0.tgz", + "integrity": "sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==", + "license": "MIT", + "dependencies": { + "load-tsconfig": "^0.2.3" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "peerDependencies": { + "esbuild": ">=0.18" + } + }, + "node_modules/camelcase": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-8.0.0.tgz", + "integrity": "sha512-8WB3Jcas3swSvjIeA2yvCJ+Miyz5l1ZmB6HFb9R1317dt9LCQoswg/BGrmAmkWVEszSrrg4RwmO46qIm2OEnSA==", + "license": "MIT", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001754", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001754.tgz", + "integrity": "sha512-x6OeBXueoAceOmotzx3PO4Zpt4rzpeIFsSr6AAePTZxSkXiYDUmpypEl7e2+8NCd9bD7bXjqyef8CJYPC1jfxg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/chalk": { + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/classcat": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/classcat/-/classcat-5.0.5.tgz", + "integrity": "sha512-JhZUT7JFcQy/EzW605k/ktHtncoo9vnyW/2GspNYwFlN1C/WmjuV/xtS04e9SOkL2sTdw0VAZ2UGCcQ9lR6p6w==", + "license": "MIT" + }, + "node_modules/cli-boxes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-3.0.0.tgz", + "integrity": "sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/cliui/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/cliui/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, + "node_modules/cliui/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT" + }, + "node_modules/d3-color": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz", + "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-dispatch": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-3.0.1.tgz", + "integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-drag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-3.0.0.tgz", + "integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==", + "license": "ISC", + "dependencies": { + "d3-dispatch": "1 - 3", + "d3-selection": "3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-ease": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz", + "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-interpolate": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz", + "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", + "license": "ISC", + "dependencies": { + "d3-color": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-selection": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz", + "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==", + "license": "ISC", + "peer": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-timer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz", + "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-transition": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-3.0.1.tgz", + "integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==", + "license": "ISC", + "dependencies": { + "d3-color": "1 - 3", + "d3-dispatch": "1 - 3", + "d3-ease": "1 - 3", + "d3-interpolate": "1 - 3", + "d3-timer": "1 - 3" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "d3-selection": "2 - 3" + } + }, + "node_modules/d3-zoom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-3.0.0.tgz", + "integrity": "sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==", + "license": "ISC", + "dependencies": { + "d3-dispatch": "1 - 3", + "d3-drag": "2 - 3", + "d3-interpolate": "1 - 3", + "d3-selection": "2 - 3", + "d3-transition": "2 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/electron-to-chromium": { + "version": "1.5.248", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.248.tgz", + "integrity": "sha512-zsur2yunphlyAO4gIubdJEXCK6KOVvtpiuDfCIqbM9FjcnMYiyn0ICa3hWfPr0nc41zcLWobgy1iL7VvoOyA2Q==", + "license": "ISC" + }, + "node_modules/emoji-regex": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "license": "MIT" + }, + "node_modules/esbuild": { + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.11.tgz", + "integrity": "sha512-KohQwyzrKTQmhXDW1PjCv3Tyspn9n5GcY2RTDqeORIdIJY8yKIF7sTSopFmn/wpMPW4rdPXI0UE5LJLuq3bx0Q==", + "hasInstallScript": true, + "license": "MIT", + "peer": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.25.11", + "@esbuild/android-arm": "0.25.11", + "@esbuild/android-arm64": "0.25.11", + "@esbuild/android-x64": "0.25.11", + "@esbuild/darwin-arm64": "0.25.11", + "@esbuild/darwin-x64": "0.25.11", + "@esbuild/freebsd-arm64": "0.25.11", + "@esbuild/freebsd-x64": "0.25.11", + "@esbuild/linux-arm": "0.25.11", + "@esbuild/linux-arm64": "0.25.11", + "@esbuild/linux-ia32": "0.25.11", + "@esbuild/linux-loong64": "0.25.11", + "@esbuild/linux-mips64el": "0.25.11", + "@esbuild/linux-ppc64": "0.25.11", + "@esbuild/linux-riscv64": "0.25.11", + "@esbuild/linux-s390x": "0.25.11", + "@esbuild/linux-x64": "0.25.11", + "@esbuild/netbsd-arm64": "0.25.11", + "@esbuild/netbsd-x64": "0.25.11", + "@esbuild/openbsd-arm64": "0.25.11", + "@esbuild/openbsd-x64": "0.25.11", + "@esbuild/openharmony-arm64": "0.25.11", + "@esbuild/sunos-x64": "0.25.11", + "@esbuild/win32-arm64": "0.25.11", + "@esbuild/win32-ia32": "0.25.11", + "@esbuild/win32-x64": "0.25.11" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/fdir": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.0.tgz", + "integrity": "sha512-3oB133prH1o4j/L5lLW7uOCF1PlD+/It2L0eL/iAqWMB91RBbqTewABqxhj0ibBd90EEmWZq7ntIWzVaWcXTGQ==", + "license": "MIT", + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-east-asian-width": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.4.0.tgz", + "integrity": "sha512-QZjmEOC+IT1uk6Rx0sX22V6uHWVwbdbxf1faPqJ1QhLdGgsRGCZoyaQBm/piRdJy/D2um6hM1UP7ZEeQ4EkP+Q==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT" + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/likec4": { + "version": "1.43.0", + "resolved": "https://registry.npmjs.org/likec4/-/likec4-1.43.0.tgz", + "integrity": "sha512-YEZv8kkl75cWRmJfhlpjRWyj7f4u9q7hcU8PR+4rTpuBZKMchitGbKZF10DCsrZ9Q9xeGRJj61g3ffkBCNHS1w==", + "license": "MIT", + "dependencies": { + "@hpcc-js/wasm-graphviz": "1.12.0", + "@likec4/core": "1.43.0", + "@vitejs/plugin-react": "^5.0.4", + "@xyflow/react": "12.9.0", + "@xyflow/system": "0.0.71", + "boxen": "^8.0.1", + "bundle-require": "^5.1.0", + "esbuild": "0.25.11", + "fdir": "6.4.0", + "playwright": "1.56.1", + "rollup": "^4.52.3", + "std-env": "^3.9.0", + "type-fest": "^4.41.0", + "vite": "^7.1.11", + "yargs": "17.7.2" + }, + "bin": { + "likec4": "bin/likec4.mjs" + }, + "engines": { + "node": "^20.19.0 || >=22.18.0" + }, + "peerDependencies": { + "react": "^18.x || ^19.x", + "react-dom": "^18.x || ^19.x" + } + }, + "node_modules/load-tsconfig": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/load-tsconfig/-/load-tsconfig-0.2.5.tgz", + "integrity": "sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==", + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/nanoid": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/node-releases": { + "version": "2.0.27", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz", + "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==", + "license": "MIT" + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", + "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/playwright": { + "version": "1.56.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.56.1.tgz", + "integrity": "sha512-aFi5B0WovBHTEvpM3DzXTUaeN6eN0qWnTkKx4NQaH4Wvcmc153PdaY2UBdSYKaGYw+UyWXSVyxDUg5DoPEttjw==", + "license": "Apache-2.0", + "dependencies": { + "playwright-core": "1.56.1" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "fsevents": "2.3.2" + } + }, + "node_modules/playwright-core": { + "version": "1.56.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.56.1.tgz", + "integrity": "sha512-hutraynyn31F+Bifme+Ps9Vq59hKuUCz7H1kDOcBs+2oGguKkWTU50bBWrtz34OUWmIwpBTWDxaRPXrIXkgvmQ==", + "license": "Apache-2.0", + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/postcss": { + "version": "8.5.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", + "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.11", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/react": { + "version": "19.2.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.0.tgz", + "integrity": "sha512-tmbWg6W31tQLeB5cdIBOicJDJRR2KzXsV7uSK9iNfLWQ5bIZfxuPEHp7M8wiHyHnn0DD1i7w3Zmin0FtkrwoCQ==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "19.2.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.0.tgz", + "integrity": "sha512-UlbRu4cAiGaIewkPyiRGJk0imDN2T3JjieT6spoL2UeSf5od4n5LB/mQ4ejmxhCFT1tYe8IvaFulzynWovsEFQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "scheduler": "^0.27.0" + }, + "peerDependencies": { + "react": "^19.2.0" + } + }, + "node_modules/react-refresh": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.18.0.tgz", + "integrity": "sha512-QgT5//D3jfjJb6Gsjxv0Slpj23ip+HtOpnNgnb2S5zU3CB26G/IDPGoy4RJB42wzFE46DRsstbW6tKHoKbhAxw==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/rollup": { + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.52.5.tgz", + "integrity": "sha512-3GuObel8h7Kqdjt0gxkEzaifHTqLVW56Y/bjN7PSQtkKr0w3V/QYSdt6QWYtd7A1xUtYQigtdUfgj1RvWVtorw==", + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.8" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.52.5", + "@rollup/rollup-android-arm64": "4.52.5", + "@rollup/rollup-darwin-arm64": "4.52.5", + "@rollup/rollup-darwin-x64": "4.52.5", + "@rollup/rollup-freebsd-arm64": "4.52.5", + "@rollup/rollup-freebsd-x64": "4.52.5", + "@rollup/rollup-linux-arm-gnueabihf": "4.52.5", + "@rollup/rollup-linux-arm-musleabihf": "4.52.5", + "@rollup/rollup-linux-arm64-gnu": "4.52.5", + "@rollup/rollup-linux-arm64-musl": "4.52.5", + "@rollup/rollup-linux-loong64-gnu": "4.52.5", + "@rollup/rollup-linux-ppc64-gnu": "4.52.5", + "@rollup/rollup-linux-riscv64-gnu": "4.52.5", + "@rollup/rollup-linux-riscv64-musl": "4.52.5", + "@rollup/rollup-linux-s390x-gnu": "4.52.5", + "@rollup/rollup-linux-x64-gnu": "4.52.5", + "@rollup/rollup-linux-x64-musl": "4.52.5", + "@rollup/rollup-openharmony-arm64": "4.52.5", + "@rollup/rollup-win32-arm64-msvc": "4.52.5", + "@rollup/rollup-win32-ia32-msvc": "4.52.5", + "@rollup/rollup-win32-x64-gnu": "4.52.5", + "@rollup/rollup-win32-x64-msvc": "4.52.5", + "fsevents": "~2.3.2" + } + }, + "node_modules/scheduler": { + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", + "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/std-env": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz", + "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==", + "license": "MIT" + }, + "node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strip-ansi": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz", + "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/tinyglobby": { + "version": "0.2.15", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz", + "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==", + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.3" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tinyglobby/node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.4.tgz", + "integrity": "sha512-q0SPT4xyU84saUX+tomz1WLkxUbuaJnR1xWt17M7fJtEJigJeWUNGUqrauFXsHnqev9y9JTRGwk13tFBuKby4A==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/use-sync-external-store": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz", + "integrity": "sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/vite": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/vite/-/vite-7.2.2.tgz", + "integrity": "sha512-BxAKBWmIbrDgrokdGZH1IgkIk/5mMHDreLDmCJ0qpyJaAteP8NvMhkwr/ZCQNqNH97bw/dANTE9PDzqwJghfMQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "esbuild": "^0.25.0", + "fdir": "^6.5.0", + "picomatch": "^4.0.3", + "postcss": "^8.5.6", + "rollup": "^4.43.0", + "tinyglobby": "^0.2.15" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "lightningcss": "^1.21.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/vite/node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/vite/node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/widest-line": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-5.0.0.tgz", + "integrity": "sha512-c9bZp7b5YtRj2wOe6dlj32MK+Bx/M/d+9VB2SHM1OtsUHR0aV0tdP6DWh/iMt0kWi1t5g1Iudu6hQRNd1A4PVA==", + "license": "MIT", + "dependencies": { + "string-width": "^7.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/wrap-ansi": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", + "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "license": "ISC" + }, + "node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, + "node_modules/yargs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/zustand": { + "version": "4.5.7", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz", + "integrity": "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==", + "license": "MIT", + "dependencies": { + "use-sync-external-store": "^1.2.2" + }, + "engines": { + "node": ">=12.7.0" + }, + "peerDependencies": { + "@types/react": ">=16.8", + "immer": ">=9.0.6", + "react": ">=16.8" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "immer": { + "optional": true + }, + "react": { + "optional": true + } + } + } + } +} diff --git a/resources/edp-likec4/package-lock.json b/resources/edp-likec4/package-lock.json index 1e7e456..949ace1 100644 --- a/resources/edp-likec4/package-lock.json +++ b/resources/edp-likec4/package-lock.json @@ -278,9 +278,9 @@ } }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.9.tgz", - "integrity": "sha512-OaGtL73Jck6pBKjNIe24BnFE6agGl+6KxDtTfHhy1HmhthfKouEcOhqpSL64K4/0WCtbKFLOdzD/44cJ4k9opA==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.11.tgz", + "integrity": "sha512-Xt1dOL13m8u0WE8iplx9Ibbm+hFAO0GsU2P34UNoDGvZYkY8ifSiy6Zuc1lYxfG7svWE2fzqCUmFp5HCn51gJg==", "cpu": [ "ppc64" ], @@ -294,9 +294,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.9.tgz", - "integrity": "sha512-5WNI1DaMtxQ7t7B6xa572XMXpHAaI/9Hnhk8lcxF4zVN4xstUgTlvuGDorBguKEnZO70qwEcLpfifMLoxiPqHQ==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.11.tgz", + "integrity": "sha512-uoa7dU+Dt3HYsethkJ1k6Z9YdcHjTrSb5NUy66ZfZaSV8hEYGD5ZHbEMXnqLFlbBflLsl89Zke7CAdDJ4JI+Gg==", "cpu": [ "arm" ], @@ -310,9 +310,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.9.tgz", - "integrity": "sha512-IDrddSmpSv51ftWslJMvl3Q2ZT98fUSL2/rlUXuVqRXHCs5EUF1/f+jbjF5+NG9UffUDMCiTyh8iec7u8RlTLg==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.11.tgz", + "integrity": "sha512-9slpyFBc4FPPz48+f6jyiXOx/Y4v34TUeDDXJpZqAWQn/08lKGeD8aDp9TMn9jDz2CiEuHwfhRmGBvpnd/PWIQ==", "cpu": [ "arm64" ], @@ -326,9 +326,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.9.tgz", - "integrity": "sha512-I853iMZ1hWZdNllhVZKm34f4wErd4lMyeV7BLzEExGEIZYsOzqDWDf+y082izYUE8gtJnYHdeDpN/6tUdwvfiw==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.11.tgz", + "integrity": "sha512-Sgiab4xBjPU1QoPEIqS3Xx+R2lezu0LKIEcYe6pftr56PqPygbB7+szVnzoShbx64MUupqoE0KyRlN7gezbl8g==", "cpu": [ "x64" ], @@ -342,9 +342,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.9.tgz", - "integrity": "sha512-XIpIDMAjOELi/9PB30vEbVMs3GV1v2zkkPnuyRRURbhqjyzIINwj+nbQATh4H9GxUgH1kFsEyQMxwiLFKUS6Rg==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.11.tgz", + "integrity": "sha512-VekY0PBCukppoQrycFxUqkCojnTQhdec0vevUL/EDOCnXd9LKWqD/bHwMPzigIJXPhC59Vd1WFIL57SKs2mg4w==", "cpu": [ "arm64" ], @@ -358,9 +358,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.9.tgz", - "integrity": "sha512-jhHfBzjYTA1IQu8VyrjCX4ApJDnH+ez+IYVEoJHeqJm9VhG9Dh2BYaJritkYK3vMaXrf7Ogr/0MQ8/MeIefsPQ==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.11.tgz", + "integrity": "sha512-+hfp3yfBalNEpTGp9loYgbknjR695HkqtY3d3/JjSRUyPg/xd6q+mQqIb5qdywnDxRZykIHs3axEqU6l1+oWEQ==", "cpu": [ "x64" ], @@ -374,9 +374,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.9.tgz", - "integrity": "sha512-z93DmbnY6fX9+KdD4Ue/H6sYs+bhFQJNCPZsi4XWJoYblUqT06MQUdBCpcSfuiN72AbqeBFu5LVQTjfXDE2A6Q==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.11.tgz", + "integrity": "sha512-CmKjrnayyTJF2eVuO//uSjl/K3KsMIeYeyN7FyDBjsR3lnSJHaXlVoAK8DZa7lXWChbuOk7NjAc7ygAwrnPBhA==", "cpu": [ "arm64" ], @@ -390,9 +390,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.9.tgz", - "integrity": "sha512-mrKX6H/vOyo5v71YfXWJxLVxgy1kyt1MQaD8wZJgJfG4gq4DpQGpgTB74e5yBeQdyMTbgxp0YtNj7NuHN0PoZg==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.11.tgz", + "integrity": "sha512-Dyq+5oscTJvMaYPvW3x3FLpi2+gSZTCE/1ffdwuM6G1ARang/mb3jvjxs0mw6n3Lsw84ocfo9CrNMqc5lTfGOw==", "cpu": [ "x64" ], @@ -406,9 +406,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.9.tgz", - "integrity": "sha512-HBU2Xv78SMgaydBmdor38lg8YDnFKSARg1Q6AT0/y2ezUAKiZvc211RDFHlEZRFNRVhcMamiToo7bDx3VEOYQw==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.11.tgz", + "integrity": "sha512-TBMv6B4kCfrGJ8cUPo7vd6NECZH/8hPpBHHlYI3qzoYFvWu2AdTvZNuU/7hsbKWqu/COU7NIK12dHAAqBLLXgw==", "cpu": [ "arm" ], @@ -422,9 +422,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.9.tgz", - "integrity": "sha512-BlB7bIcLT3G26urh5Dmse7fiLmLXnRlopw4s8DalgZ8ef79Jj4aUcYbk90g8iCa2467HX8SAIidbL7gsqXHdRw==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.11.tgz", + "integrity": "sha512-Qr8AzcplUhGvdyUF08A1kHU3Vr2O88xxP0Tm8GcdVOUm25XYcMPp2YqSVHbLuXzYQMf9Bh/iKx7YPqECs6ffLA==", "cpu": [ "arm64" ], @@ -438,9 +438,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.9.tgz", - "integrity": "sha512-e7S3MOJPZGp2QW6AK6+Ly81rC7oOSerQ+P8L0ta4FhVi+/j/v2yZzx5CqqDaWjtPFfYz21Vi1S0auHrap3Ma3A==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.11.tgz", + "integrity": "sha512-TmnJg8BMGPehs5JKrCLqyWTVAvielc615jbkOirATQvWWB1NMXY77oLMzsUjRLa0+ngecEmDGqt5jiDC6bfvOw==", "cpu": [ "ia32" ], @@ -454,9 +454,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.9.tgz", - "integrity": "sha512-Sbe10Bnn0oUAB2AalYztvGcK+o6YFFA/9829PhOCUS9vkJElXGdphz0A3DbMdP8gmKkqPmPcMJmJOrI3VYB1JQ==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.11.tgz", + "integrity": "sha512-DIGXL2+gvDaXlaq8xruNXUJdT5tF+SBbJQKbWy/0J7OhU8gOHOzKmGIlfTTl6nHaCOoipxQbuJi7O++ldrxgMw==", "cpu": [ "loong64" ], @@ -470,9 +470,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.9.tgz", - "integrity": "sha512-YcM5br0mVyZw2jcQeLIkhWtKPeVfAerES5PvOzaDxVtIyZ2NUBZKNLjC5z3/fUlDgT6w89VsxP2qzNipOaaDyA==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.11.tgz", + "integrity": "sha512-Osx1nALUJu4pU43o9OyjSCXokFkFbyzjXb6VhGIJZQ5JZi8ylCQ9/LFagolPsHtgw6himDSyb5ETSfmp4rpiKQ==", "cpu": [ "mips64el" ], @@ -486,9 +486,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.9.tgz", - "integrity": "sha512-++0HQvasdo20JytyDpFvQtNrEsAgNG2CY1CLMwGXfFTKGBGQT3bOeLSYE2l1fYdvML5KUuwn9Z8L1EWe2tzs1w==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.11.tgz", + "integrity": "sha512-nbLFgsQQEsBa8XSgSTSlrnBSrpoWh7ioFDUmwo158gIm5NNP+17IYmNWzaIzWmgCxq56vfr34xGkOcZ7jX6CPw==", "cpu": [ "ppc64" ], @@ -502,9 +502,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.9.tgz", - "integrity": "sha512-uNIBa279Y3fkjV+2cUjx36xkx7eSjb8IvnL01eXUKXez/CBHNRw5ekCGMPM0BcmqBxBcdgUWuUXmVWwm4CH9kg==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.11.tgz", + "integrity": "sha512-HfyAmqZi9uBAbgKYP1yGuI7tSREXwIb438q0nqvlpxAOs3XnZ8RsisRfmVsgV486NdjD7Mw2UrFSw51lzUk1ww==", "cpu": [ "riscv64" ], @@ -518,9 +518,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.9.tgz", - "integrity": "sha512-Mfiphvp3MjC/lctb+7D287Xw1DGzqJPb/J2aHHcHxflUo+8tmN/6d4k6I2yFR7BVo5/g7x2Monq4+Yew0EHRIA==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.11.tgz", + "integrity": "sha512-HjLqVgSSYnVXRisyfmzsH6mXqyvj0SA7pG5g+9W7ESgwA70AXYNpfKBqh1KbTxmQVaYxpzA/SvlB9oclGPbApw==", "cpu": [ "s390x" ], @@ -534,9 +534,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.9.tgz", - "integrity": "sha512-iSwByxzRe48YVkmpbgoxVzn76BXjlYFXC7NvLYq+b+kDjyyk30J0JY47DIn8z1MO3K0oSl9fZoRmZPQI4Hklzg==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.11.tgz", + "integrity": "sha512-HSFAT4+WYjIhrHxKBwGmOOSpphjYkcswF449j6EjsjbinTZbp8PJtjsVK1XFJStdzXdy/jaddAep2FGY+wyFAQ==", "cpu": [ "x64" ], @@ -550,9 +550,9 @@ } }, "node_modules/@esbuild/netbsd-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.9.tgz", - "integrity": "sha512-9jNJl6FqaUG+COdQMjSCGW4QiMHH88xWbvZ+kRVblZsWrkXlABuGdFJ1E9L7HK+T0Yqd4akKNa/lO0+jDxQD4Q==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.11.tgz", + "integrity": "sha512-hr9Oxj1Fa4r04dNpWr3P8QKVVsjQhqrMSUzZzf+LZcYjZNqhA3IAfPQdEh1FLVUJSiu6sgAwp3OmwBfbFgG2Xg==", "cpu": [ "arm64" ], @@ -566,9 +566,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.9.tgz", - "integrity": "sha512-RLLdkflmqRG8KanPGOU7Rpg829ZHu8nFy5Pqdi9U01VYtG9Y0zOG6Vr2z4/S+/3zIyOxiK6cCeYNWOFR9QP87g==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.11.tgz", + "integrity": "sha512-u7tKA+qbzBydyj0vgpu+5h5AeudxOAGncb8N6C9Kh1N4n7wU1Xw1JDApsRjpShRpXRQlJLb9wY28ELpwdPcZ7A==", "cpu": [ "x64" ], @@ -582,9 +582,9 @@ } }, "node_modules/@esbuild/openbsd-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.9.tgz", - "integrity": "sha512-YaFBlPGeDasft5IIM+CQAhJAqS3St3nJzDEgsgFixcfZeyGPCd6eJBWzke5piZuZ7CtL656eOSYKk4Ls2C0FRQ==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.11.tgz", + "integrity": "sha512-Qq6YHhayieor3DxFOoYM1q0q1uMFYb7cSpLD2qzDSvK1NAvqFi8Xgivv0cFC6J+hWVw2teCYltyy9/m/14ryHg==", "cpu": [ "arm64" ], @@ -598,9 +598,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.9.tgz", - "integrity": "sha512-1MkgTCuvMGWuqVtAvkpkXFmtL8XhWy+j4jaSO2wxfJtilVCi0ZE37b8uOdMItIHz4I6z1bWWtEX4CJwcKYLcuA==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.11.tgz", + "integrity": "sha512-CN+7c++kkbrckTOz5hrehxWN7uIhFFlmS/hqziSFVWpAzpWrQoAG4chH+nN3Be+Kzv/uuo7zhX716x3Sn2Jduw==", "cpu": [ "x64" ], @@ -614,9 +614,9 @@ } }, "node_modules/@esbuild/openharmony-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.9.tgz", - "integrity": "sha512-4Xd0xNiMVXKh6Fa7HEJQbrpP3m3DDn43jKxMjxLLRjWnRsfxjORYJlXPO4JNcXtOyfajXorRKY9NkOpTHptErg==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.11.tgz", + "integrity": "sha512-rOREuNIQgaiR+9QuNkbkxubbp8MSO9rONmwP5nKncnWJ9v5jQ4JxFnLu4zDSRPf3x4u+2VN4pM4RdyIzDty/wQ==", "cpu": [ "arm64" ], @@ -630,9 +630,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.9.tgz", - "integrity": "sha512-WjH4s6hzo00nNezhp3wFIAfmGZ8U7KtrJNlFMRKxiI9mxEK1scOMAaa9i4crUtu+tBr+0IN6JCuAcSBJZfnphw==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.11.tgz", + "integrity": "sha512-nq2xdYaWxyg9DcIyXkZhcYulC6pQ2FuCgem3LI92IwMgIZ69KHeY8T4Y88pcwoLIjbed8n36CyKoYRDygNSGhA==", "cpu": [ "x64" ], @@ -646,9 +646,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.9.tgz", - "integrity": "sha512-mGFrVJHmZiRqmP8xFOc6b84/7xa5y5YvR1x8djzXpJBSv/UsNK6aqec+6JDjConTgvvQefdGhFDAs2DLAds6gQ==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.11.tgz", + "integrity": "sha512-3XxECOWJq1qMZ3MN8srCJ/QfoLpL+VaxD/WfNRm1O3B4+AZ/BnLVgFbUV3eiRYDMXetciH16dwPbbHqwe1uU0Q==", "cpu": [ "arm64" ], @@ -662,9 +662,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.9.tgz", - "integrity": "sha512-b33gLVU2k11nVx1OhX3C8QQP6UHQK4ZtN56oFWvVXvz2VkDoe6fbG8TOgHFxEvqeqohmRnIHe5A1+HADk4OQww==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.11.tgz", + "integrity": "sha512-3ukss6gb9XZ8TlRyJlgLn17ecsK4NSQTmdIXRASVsiS2sQ6zPPZklNJT5GR5tE/MUarymmy8kCEf5xPCNCqVOA==", "cpu": [ "ia32" ], @@ -678,9 +678,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.9.tgz", - "integrity": "sha512-PPOl1mi6lpLNQxnGoyAfschAodRFYXJ+9fs6WHXz7CSWKbOqiMZsubC+BQsVKuul+3vKLuwTHsS2c2y9EoKwxQ==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.11.tgz", + "integrity": "sha512-D7Hpz6A2L4hzsRpPaCYkQnGOotdUpDzSGRIv9I+1ITdHROSFUWW95ZPZWQmGka1Fg7W3zFJowyn9WGwMJ0+KPA==", "cpu": [ "x64" ], @@ -758,9 +758,9 @@ } }, "node_modules/@likec4/core": { - "version": "1.42.1", - "resolved": "https://registry.npmjs.org/@likec4/core/-/core-1.42.1.tgz", - "integrity": "sha512-DAoe5PvOBIRyfhY7gbfZbBVF9qbgeQdqR0DXKi/7Na/di4IJo2KORo9EUK46AHqBDFumuwfXuEuTPJ/97CRaMw==", + "version": "1.43.0", + "resolved": "https://registry.npmjs.org/@likec4/core/-/core-1.43.0.tgz", + "integrity": "sha512-3IO0mV6E6WGCaglYu6c+hnxU6pdCbK5ZHSi5qb+CvtLjzoNDukJGa39e7lt/ZCY/+XxPE5DKDvaiOjWZ3Sf+xg==", "license": "MIT", "dependencies": { "type-fest": "^4.41.0" @@ -1175,12 +1175,12 @@ } }, "node_modules/@xyflow/react": { - "version": "12.8.6", - "resolved": "https://registry.npmjs.org/@xyflow/react/-/react-12.8.6.tgz", - "integrity": "sha512-SksAm2m4ySupjChphMmzvm55djtgMDPr+eovPDdTnyGvShf73cvydfoBfWDFllooIQ4IaiUL5yfxHRwU0c37EA==", + "version": "12.9.0", + "resolved": "https://registry.npmjs.org/@xyflow/react/-/react-12.9.0.tgz", + "integrity": "sha512-bt37E8Wf2HQ7hHQaMSnOw4UEWQqWlNwzfgF9tjix5Fu9Pn/ph3wbexSS/wbWnTkv0vhgMVyphQLfFWIuCe59hQ==", "license": "MIT", "dependencies": { - "@xyflow/system": "0.0.70", + "@xyflow/system": "0.0.71", "classcat": "^5.0.3", "zustand": "^4.4.0" }, @@ -1190,9 +1190,9 @@ } }, "node_modules/@xyflow/system": { - "version": "0.0.70", - "resolved": "https://registry.npmjs.org/@xyflow/system/-/system-0.0.70.tgz", - "integrity": "sha512-PpC//u9zxdjj0tfTSmZrg3+sRbTz6kop/Amky44U2Dl51sxzDTIUfXMwETOYpmr2dqICWXBIJwXL2a9QWtX2XA==", + "version": "0.0.71", + "resolved": "https://registry.npmjs.org/@xyflow/system/-/system-0.0.71.tgz", + "integrity": "sha512-O2xIK84Uv1hH8qzeY94SKsj0R1n2jXHLsX6RZnM4x1Uc4oWiVbXDFucnkbFwhnQm3IIdAxkbgd2rEDp5oTRhhQ==", "license": "MIT", "dependencies": { "@types/d3-drag": "^3.0.7", @@ -1669,9 +1669,9 @@ "license": "MIT" }, "node_modules/esbuild": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.9.tgz", - "integrity": "sha512-CRbODhYyQx3qp7ZEwzxOk4JBqmD/seJrzPa/cGjY1VtIn5E09Oi9/dB4JwctnfZ8Q8iT7rioVv5k/FNT/uf54g==", + "version": "0.25.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.11.tgz", + "integrity": "sha512-KohQwyzrKTQmhXDW1PjCv3Tyspn9n5GcY2RTDqeORIdIJY8yKIF7sTSopFmn/wpMPW4rdPXI0UE5LJLuq3bx0Q==", "hasInstallScript": true, "license": "MIT", "peer": true, @@ -1682,32 +1682,32 @@ "node": ">=18" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.25.9", - "@esbuild/android-arm": "0.25.9", - "@esbuild/android-arm64": "0.25.9", - "@esbuild/android-x64": "0.25.9", - "@esbuild/darwin-arm64": "0.25.9", - "@esbuild/darwin-x64": "0.25.9", - "@esbuild/freebsd-arm64": "0.25.9", - "@esbuild/freebsd-x64": "0.25.9", - "@esbuild/linux-arm": "0.25.9", - "@esbuild/linux-arm64": "0.25.9", - "@esbuild/linux-ia32": "0.25.9", - "@esbuild/linux-loong64": "0.25.9", - "@esbuild/linux-mips64el": "0.25.9", - "@esbuild/linux-ppc64": "0.25.9", - "@esbuild/linux-riscv64": "0.25.9", - "@esbuild/linux-s390x": "0.25.9", - "@esbuild/linux-x64": "0.25.9", - "@esbuild/netbsd-arm64": "0.25.9", - "@esbuild/netbsd-x64": "0.25.9", - "@esbuild/openbsd-arm64": "0.25.9", - "@esbuild/openbsd-x64": "0.25.9", - "@esbuild/openharmony-arm64": "0.25.9", - "@esbuild/sunos-x64": "0.25.9", - "@esbuild/win32-arm64": "0.25.9", - "@esbuild/win32-ia32": "0.25.9", - "@esbuild/win32-x64": "0.25.9" + "@esbuild/aix-ppc64": "0.25.11", + "@esbuild/android-arm": "0.25.11", + "@esbuild/android-arm64": "0.25.11", + "@esbuild/android-x64": "0.25.11", + "@esbuild/darwin-arm64": "0.25.11", + "@esbuild/darwin-x64": "0.25.11", + "@esbuild/freebsd-arm64": "0.25.11", + "@esbuild/freebsd-x64": "0.25.11", + "@esbuild/linux-arm": "0.25.11", + "@esbuild/linux-arm64": "0.25.11", + "@esbuild/linux-ia32": "0.25.11", + "@esbuild/linux-loong64": "0.25.11", + "@esbuild/linux-mips64el": "0.25.11", + "@esbuild/linux-ppc64": "0.25.11", + "@esbuild/linux-riscv64": "0.25.11", + "@esbuild/linux-s390x": "0.25.11", + "@esbuild/linux-x64": "0.25.11", + "@esbuild/netbsd-arm64": "0.25.11", + "@esbuild/netbsd-x64": "0.25.11", + "@esbuild/openbsd-arm64": "0.25.11", + "@esbuild/openbsd-x64": "0.25.11", + "@esbuild/openharmony-arm64": "0.25.11", + "@esbuild/sunos-x64": "0.25.11", + "@esbuild/win32-arm64": "0.25.11", + "@esbuild/win32-ia32": "0.25.11", + "@esbuild/win32-x64": "0.25.11" } }, "node_modules/escalade": { @@ -1817,25 +1817,25 @@ } }, "node_modules/likec4": { - "version": "1.42.1", - "resolved": "https://registry.npmjs.org/likec4/-/likec4-1.42.1.tgz", - "integrity": "sha512-r31lq8pCifIkJUJgGqTNwDc1d1NtyM8+89koBi0j3SoxYR1NFEfPK3rXAptHNOb/nRyWRCaD0dt+vtF+8a/n9g==", + "version": "1.43.0", + "resolved": "https://registry.npmjs.org/likec4/-/likec4-1.43.0.tgz", + "integrity": "sha512-YEZv8kkl75cWRmJfhlpjRWyj7f4u9q7hcU8PR+4rTpuBZKMchitGbKZF10DCsrZ9Q9xeGRJj61g3ffkBCNHS1w==", "license": "MIT", "dependencies": { "@hpcc-js/wasm-graphviz": "1.12.0", - "@likec4/core": "1.42.1", + "@likec4/core": "1.43.0", "@vitejs/plugin-react": "^5.0.4", - "@xyflow/react": "12.8.6", - "@xyflow/system": "0.0.70", + "@xyflow/react": "12.9.0", + "@xyflow/system": "0.0.71", "boxen": "^8.0.1", "bundle-require": "^5.1.0", - "esbuild": "0.25.9", + "esbuild": "0.25.11", "fdir": "6.4.0", - "playwright": "1.54.2", + "playwright": "1.56.1", "rollup": "^4.52.3", "std-env": "^3.9.0", "type-fest": "^4.41.0", - "vite": "^7.1.7", + "vite": "^7.1.11", "yargs": "17.7.2" }, "bin": { @@ -1917,12 +1917,12 @@ } }, "node_modules/playwright": { - "version": "1.54.2", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.54.2.tgz", - "integrity": "sha512-Hu/BMoA1NAdRUuulyvQC0pEqZ4vQbGfn8f7wPXcnqQmM+zct9UliKxsIkLNmz/ku7LElUNqmaiv1TG/aL5ACsw==", + "version": "1.56.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.56.1.tgz", + "integrity": "sha512-aFi5B0WovBHTEvpM3DzXTUaeN6eN0qWnTkKx4NQaH4Wvcmc153PdaY2UBdSYKaGYw+UyWXSVyxDUg5DoPEttjw==", "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.54.2" + "playwright-core": "1.56.1" }, "bin": { "playwright": "cli.js" @@ -1935,9 +1935,9 @@ } }, "node_modules/playwright-core": { - "version": "1.54.2", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.54.2.tgz", - "integrity": "sha512-n5r4HFbMmWsB4twG7tJLDN9gmBUeSPcsBZiWSE4DnYz9mJMAFqr2ID7+eGC9kpEnxExJ1epttwR59LEWCk8mtA==", + "version": "1.56.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.56.1.tgz", + "integrity": "sha512-hutraynyn31F+Bifme+Ps9Vq59hKuUCz7H1kDOcBs+2oGguKkWTU50bBWrtz34OUWmIwpBTWDxaRPXrIXkgvmQ==", "license": "Apache-2.0", "bin": { "playwright-core": "cli.js" @@ -1975,9 +1975,9 @@ } }, "node_modules/react": { - "version": "19.1.1", - "resolved": "https://registry.npmjs.org/react/-/react-19.1.1.tgz", - "integrity": "sha512-w8nqGImo45dmMIfljjMwOGtbmC/mk4CMYhWIicdSflH91J9TyCyczcPFXJzrZ/ZXcgGRFeP6BU0BEJTw6tZdfQ==", + "version": "19.2.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.0.tgz", + "integrity": "sha512-tmbWg6W31tQLeB5cdIBOicJDJRR2KzXsV7uSK9iNfLWQ5bIZfxuPEHp7M8wiHyHnn0DD1i7w3Zmin0FtkrwoCQ==", "license": "MIT", "peer": true, "engines": { @@ -1985,16 +1985,16 @@ } }, "node_modules/react-dom": { - "version": "19.1.1", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.1.1.tgz", - "integrity": "sha512-Dlq/5LAZgF0Gaz6yiqZCf6VCcZs1ghAJyrsu84Q/GT0gV+mCxbfmKNoGRKBYMJ8IEdGPqu49YWXD02GCknEDkw==", + "version": "19.2.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.0.tgz", + "integrity": "sha512-UlbRu4cAiGaIewkPyiRGJk0imDN2T3JjieT6spoL2UeSf5od4n5LB/mQ4ejmxhCFT1tYe8IvaFulzynWovsEFQ==", "license": "MIT", "peer": true, "dependencies": { - "scheduler": "^0.26.0" + "scheduler": "^0.27.0" }, "peerDependencies": { - "react": "^19.1.1" + "react": "^19.2.0" } }, "node_modules/react-refresh": { @@ -2057,9 +2057,9 @@ } }, "node_modules/scheduler": { - "version": "0.26.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz", - "integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==", + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", + "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", "license": "MIT" }, "node_modules/semver": { diff --git a/static/js/likec4-webcomponent.js b/static/js/likec4-webcomponent.js index 4ecad1d..f2bd32d 100644 --- a/static/js/likec4-webcomponent.js +++ b/static/js/likec4-webcomponent.js @@ -1,4 +1,4 @@ -var LikeC4Views=(function(F6){"use strict";/* prettier-ignore-start */ +var LikeC4Views=(function(G6){"use strict";/* prettier-ignore-start */ /* eslint-disable */ /****************************************************************************** @@ -7,7 +7,7 @@ var LikeC4Views=(function(F6){"use strict";/* prettier-ignore-start */ ******************************************************************************/ -function w1e(e,r){for(var n=0;no[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function vO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var H6={exports:{}},h1={};/** +function Y1e(e,r){for(var n=0;no[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function RO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var X6={exports:{}},_1={};/** * @license React * react-jsx-runtime.production.js * @@ -15,7 +15,7 @@ function w1e(e,r){for(var n=0;n"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),V6.exports=S1e(),V6.exports}var Bi=CO();const TO=vO(Bi);function C1e(e,r,n){let o=a=>e(a,...r);return n===void 0?o:Object.assign(o,{lazy:n,lazyArgs:r})}function ba(e,r,n){let o=e.length-r.length;if(o===0)return e(...r);if(o===1)return C1e(e,r,n);throw Error("Wrong number of arguments")}function _h(...e){return ba(T1e,e)}const T1e=(e,r)=>e.length>=r;function mt(e,r){if(typeof e>"u"||e==null){const n=typeof r=="function"?r():r;throw new Error(n??`Expected defined value, but received ${e}`)}return e}function nt(e,r){if(!e)throw new Error(r??"Invariant failed")}function Xa(e){throw new Error(`NonExhaustive value: ${e}`)}function cr(e,r,n){const o=typeof r=="symbol"?r:Symbol.for(r);return e.hasOwnProperty(o)||Object.defineProperty(e,o,{enumerable:!1,writable:!1,value:n()}),e[o]}const{min:R1e,max:A1e}=Math,yd=(e,r=0,n=1)=>R1e(A1e(r,e),n),Y6=e=>{e._clipped=!1,e._unclipped=e.slice(0);for(let r=0;r<=3;r++)r<3?((e[r]<0||e[r]>255)&&(e._clipped=!0),e[r]=yd(e[r],0,255)):r===3&&(e[r]=yd(e[r],0,1));return e},RO={};for(let e of["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"])RO[`[object ${e}]`]=e.toLowerCase();function Ft(e){return RO[Object.prototype.toString.call(e)]||"object"}const $t=(e,r=null)=>e.length>=3?Array.prototype.slice.call(e):Ft(e[0])=="object"&&r?r.split("").filter(n=>e[0][n]!==void 0).map(n=>e[0][n]):e[0].slice(0),Eh=e=>{if(e.length<2)return null;const r=e.length-1;return Ft(e[r])=="string"?e[r].toLowerCase():null},{PI:Vv,min:AO,max:NO}=Math,Ka=e=>Math.round(e*100)/100,W6=e=>Math.round(e*100)/100,Ps=Vv*2,G6=Vv/3,N1e=Vv/180,D1e=180/Vv;function DO(e){return[...e.slice(0,3).reverse(),...e.slice(3)]}const Ct={format:{},autodetect:[]};let Be=class{constructor(...r){const n=this;if(Ft(r[0])==="object"&&r[0].constructor&&r[0].constructor===this.constructor)return r[0];let o=Eh(r),a=!1;if(!o){a=!0,Ct.sorted||(Ct.autodetect=Ct.autodetect.sort((i,l)=>l.p-i.p),Ct.sorted=!0);for(let i of Ct.autodetect)if(o=i.test(...r),o)break}if(Ct.format[o]){const i=Ct.format[o].apply(null,a?r:r.slice(0,-1));n._rgb=Y6(i)}else throw new Error("unknown format: "+r);n._rgb.length===3&&n._rgb.push(1)}toString(){return Ft(this.hex)=="function"?this.hex():`[${this._rgb.join(",")}]`}};const P1e="3.1.2",Tt=(...e)=>new Be(...e);Tt.version=P1e;const Sh={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},$1e=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,M1e=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,PO=e=>{if(e.match($1e)){(e.length===4||e.length===7)&&(e=e.substr(1)),e.length===3&&(e=e.split(""),e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);const r=parseInt(e,16),n=r>>16,o=r>>8&255,a=r&255;return[n,o,a,1]}if(e.match(M1e)){(e.length===5||e.length===9)&&(e=e.substr(1)),e.length===4&&(e=e.split(""),e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);const r=parseInt(e,16),n=r>>24&255,o=r>>16&255,a=r>>8&255,i=Math.round((r&255)/255*100)/100;return[n,o,a,i]}throw new Error(`unknown hex color: ${e}`)},{round:Yv}=Math,$O=(...e)=>{let[r,n,o,a]=$t(e,"rgba"),i=Eh(e)||"auto";a===void 0&&(a=1),i==="auto"&&(i=a<1?"rgba":"rgb"),r=Yv(r),n=Yv(n),o=Yv(o);let s="000000"+(r<<16|n<<8|o).toString(16);s=s.substr(s.length-6);let c="0"+Yv(a*255).toString(16);switch(c=c.substr(c.length-2),i.toLowerCase()){case"rgba":return`#${s}${c}`;case"argb":return`#${c}${s}`;default:return`#${s}`}};Be.prototype.name=function(){const e=$O(this._rgb,"rgb");for(let r of Object.keys(Sh))if(Sh[r]===e)return r.toLowerCase();return e},Ct.format.named=e=>{if(e=e.toLowerCase(),Sh[e])return PO(Sh[e]);throw new Error("unknown color name: "+e)},Ct.autodetect.push({p:5,test:(e,...r)=>{if(!r.length&&Ft(e)==="string"&&Sh[e.toLowerCase()])return"named"}}),Be.prototype.alpha=function(e,r=!1){return e!==void 0&&Ft(e)==="number"?r?(this._rgb[3]=e,this):new Be([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},Be.prototype.clipped=function(){return this._rgb._clipped||!1};const Ul={Kn:18,labWhitePoint:"d65",Xn:.95047,Yn:1,Zn:1.08883,kE:216/24389,kKE:8,kK:24389/27,RefWhiteRGB:{X:.95047,Y:1,Z:1.08883},MtxRGB2XYZ:{m00:.4124564390896922,m01:.21267285140562253,m02:.0193338955823293,m10:.357576077643909,m11:.715152155287818,m12:.11919202588130297,m20:.18043748326639894,m21:.07217499330655958,m22:.9503040785363679},MtxXYZ2RGB:{m00:3.2404541621141045,m01:-.9692660305051868,m02:.055643430959114726,m10:-1.5371385127977166,m11:1.8760108454466942,m12:-.2040259135167538,m20:-.498531409556016,m21:.041556017530349834,m22:1.0572251882231791},As:.9414285350000001,Bs:1.040417467,Cs:1.089532651,MtxAdaptMa:{m00:.8951,m01:-.7502,m02:.0389,m10:.2664,m11:1.7135,m12:-.0685,m20:-.1614,m21:.0367,m22:1.0296},MtxAdaptMaI:{m00:.9869929054667123,m01:.43230526972339456,m02:-.008528664575177328,m10:-.14705425642099013,m11:.5183602715367776,m12:.04004282165408487,m20:.15996265166373125,m21:.0492912282128556,m22:.9684866957875502}},O1e=new Map([["a",[1.0985,.35585]],["b",[1.0985,.35585]],["c",[.98074,1.18232]],["d50",[.96422,.82521]],["d55",[.95682,.92149]],["d65",[.95047,1.08883]],["e",[1,1,1]],["f2",[.99186,.67393]],["f7",[.95041,1.08747]],["f11",[1.00962,.6435]],["icc",[.96422,.82521]]]);function $s(e){const r=O1e.get(String(e).toLowerCase());if(!r)throw new Error("unknown Lab illuminant "+e);Ul.labWhitePoint=e,Ul.Xn=r[0],Ul.Zn=r[1]}function f1(){return Ul.labWhitePoint}const X6=(...e)=>{e=$t(e,"lab");const[r,n,o]=e,[a,i,l]=I1e(r,n,o),[s,c,u]=MO(a,i,l);return[s,c,u,e.length>3?e[3]:1]},I1e=(e,r,n)=>{const{kE:o,kK:a,kKE:i,Xn:l,Yn:s,Zn:c}=Ul,u=(e+16)/116,d=.002*r+u,p=u-.005*n,f=d*d*d,g=p*p*p,b=f>o?f:(116*d-16)/a,x=e>i?Math.pow((e+16)/116,3):e/a,w=g>o?g:(116*p-16)/a,k=b*l,C=x*s,_=w*c;return[k,C,_]},K6=e=>{const r=Math.sign(e);return e=Math.abs(e),(e<=.0031308?e*12.92:1.055*Math.pow(e,1/2.4)-.055)*r},MO=(e,r,n)=>{const{MtxAdaptMa:o,MtxAdaptMaI:a,MtxXYZ2RGB:i,RefWhiteRGB:l,Xn:s,Yn:c,Zn:u}=Ul,d=s*o.m00+c*o.m10+u*o.m20,p=s*o.m01+c*o.m11+u*o.m21,f=s*o.m02+c*o.m12+u*o.m22,g=l.X*o.m00+l.Y*o.m10+l.Z*o.m20,b=l.X*o.m01+l.Y*o.m11+l.Z*o.m21,x=l.X*o.m02+l.Y*o.m12+l.Z*o.m22,w=(e*o.m00+r*o.m10+n*o.m20)*(g/d),k=(e*o.m01+r*o.m11+n*o.m21)*(b/p),C=(e*o.m02+r*o.m12+n*o.m22)*(x/f),_=w*a.m00+k*a.m10+C*a.m20,T=w*a.m01+k*a.m11+C*a.m21,R=w*a.m02+k*a.m12+C*a.m22,A=K6(_*i.m00+T*i.m10+R*i.m20),D=K6(_*i.m01+T*i.m11+R*i.m21),N=K6(_*i.m02+T*i.m12+R*i.m22);return[A*255,D*255,N*255]},Z6=(...e)=>{const[r,n,o,...a]=$t(e,"rgb"),[i,l,s]=OO(r,n,o),[c,u,d]=L1e(i,l,s);return[c,u,d,...a.length>0&&a[0]<1?[a[0]]:[]]};function L1e(e,r,n){const{Xn:o,Yn:a,Zn:i,kE:l,kK:s}=Ul,c=e/o,u=r/a,d=n/i,p=c>l?Math.pow(c,1/3):(s*c+16)/116,f=u>l?Math.pow(u,1/3):(s*u+16)/116,g=d>l?Math.pow(d,1/3):(s*d+16)/116;return[116*f-16,500*(p-f),200*(f-g)]}function Q6(e){const r=Math.sign(e);return e=Math.abs(e),(e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4))*r}const OO=(e,r,n)=>{e=Q6(e/255),r=Q6(r/255),n=Q6(n/255);const{MtxRGB2XYZ:o,MtxAdaptMa:a,MtxAdaptMaI:i,Xn:l,Yn:s,Zn:c,As:u,Bs:d,Cs:p}=Ul;let f=e*o.m00+r*o.m10+n*o.m20,g=e*o.m01+r*o.m11+n*o.m21,b=e*o.m02+r*o.m12+n*o.m22;const x=l*a.m00+s*a.m10+c*a.m20,w=l*a.m01+s*a.m11+c*a.m21,k=l*a.m02+s*a.m12+c*a.m22;let C=f*a.m00+g*a.m10+b*a.m20,_=f*a.m01+g*a.m11+b*a.m21,T=f*a.m02+g*a.m12+b*a.m22;return C*=x/u,_*=w/d,T*=k/p,f=C*i.m00+_*i.m10+T*i.m20,g=C*i.m01+_*i.m11+T*i.m21,b=C*i.m02+_*i.m12+T*i.m22,[f,g,b]};Be.prototype.lab=function(){return Z6(this._rgb)},Object.assign(Tt,{lab:(...e)=>new Be(...e,"lab"),getLabWhitePoint:f1,setLabWhitePoint:$s}),Ct.format.lab=X6,Ct.autodetect.push({p:2,test:(...e)=>{if(e=$t(e,"lab"),Ft(e)==="array"&&e.length===3)return"lab"}}),Be.prototype.darken=function(e=1){const r=this,n=r.lab();return n[0]-=Ul.Kn*e,new Be(n,"lab").alpha(r.alpha(),!0)},Be.prototype.brighten=function(e=1){return this.darken(-e)},Be.prototype.darker=Be.prototype.darken,Be.prototype.brighter=Be.prototype.brighten,Be.prototype.get=function(e){const[r,n]=e.split("."),o=this[r]();if(n){const a=r.indexOf(n)-(r.substr(0,2)==="ok"?2:0);if(a>-1)return o[a];throw new Error(`unknown channel ${n} in mode ${r}`)}else return o};const{pow:z1e}=Math,B1e=1e-7,j1e=20;Be.prototype.luminance=function(e,r="rgb"){if(e!==void 0&&Ft(e)==="number"){if(e===0)return new Be([0,0,0,this._rgb[3]],"rgb");if(e===1)return new Be([255,255,255,this._rgb[3]],"rgb");let n=this.luminance(),o=j1e;const a=(l,s)=>{const c=l.interpolate(s,.5,r),u=c.luminance();return Math.abs(e-u)e?a(l,c):a(c,s)},i=(n>e?a(new Be([0,0,0]),this):a(this,new Be([255,255,255]))).rgb();return new Be([...i,this._rgb[3]])}return F1e(...this._rgb.slice(0,3))};const F1e=(e,r,n)=>(e=J6(e),r=J6(r),n=J6(n),.2126*e+.7152*r+.0722*n),J6=e=>(e/=255,e<=.03928?e/12.92:z1e((e+.055)/1.055,2.4)),Eo={},Ch=(e,r,n=.5,...o)=>{let a=o[0]||"lrgb";if(!Eo[a]&&!o.length&&(a=Object.keys(Eo)[0]),!Eo[a])throw new Error(`interpolation mode ${a} is not defined`);return Ft(e)!=="object"&&(e=new Be(e)),Ft(r)!=="object"&&(r=new Be(r)),Eo[a](e,r,n).alpha(e.alpha()+n*(r.alpha()-e.alpha()))};Be.prototype.mix=Be.prototype.interpolate=function(e,r=.5,...n){return Ch(this,e,r,...n)},Be.prototype.premultiply=function(e=!1){const r=this._rgb,n=r[3];return e?(this._rgb=[r[0]*n,r[1]*n,r[2]*n,n],this):new Be([r[0]*n,r[1]*n,r[2]*n,n],"rgb")};const{sin:H1e,cos:q1e}=Math,IO=(...e)=>{let[r,n,o]=$t(e,"lch");return isNaN(o)&&(o=0),o=o*N1e,[r,q1e(o)*n,H1e(o)*n]},e_=(...e)=>{e=$t(e,"lch");const[r,n,o]=e,[a,i,l]=IO(r,n,o),[s,c,u]=X6(a,i,l);return[s,c,u,e.length>3?e[3]:1]},U1e=(...e)=>{const r=DO($t(e,"hcl"));return e_(...r)},{sqrt:V1e,atan2:Y1e,round:W1e}=Math,LO=(...e)=>{const[r,n,o]=$t(e,"lab"),a=V1e(n*n+o*o);let i=(Y1e(o,n)*D1e+360)%360;return W1e(a*1e4)===0&&(i=Number.NaN),[r,a,i]},t_=(...e)=>{const[r,n,o,...a]=$t(e,"rgb"),[i,l,s]=Z6(r,n,o),[c,u,d]=LO(i,l,s);return[c,u,d,...a.length>0&&a[0]<1?[a[0]]:[]]};Be.prototype.lch=function(){return t_(this._rgb)},Be.prototype.hcl=function(){return DO(t_(this._rgb))},Object.assign(Tt,{lch:(...e)=>new Be(...e,"lch"),hcl:(...e)=>new Be(...e,"hcl")}),Ct.format.lch=e_,Ct.format.hcl=U1e,["lch","hcl"].forEach(e=>Ct.autodetect.push({p:2,test:(...r)=>{if(r=$t(r,e),Ft(r)==="array"&&r.length===3)return e}})),Be.prototype.saturate=function(e=1){const r=this,n=r.lch();return n[1]+=Ul.Kn*e,n[1]<0&&(n[1]=0),new Be(n,"lch").alpha(r.alpha(),!0)},Be.prototype.desaturate=function(e=1){return this.saturate(-e)},Be.prototype.set=function(e,r,n=!1){const[o,a]=e.split("."),i=this[o]();if(a){const l=o.indexOf(a)-(o.substr(0,2)==="ok"?2:0);if(l>-1){if(Ft(r)=="string")switch(r.charAt(0)){case"+":i[l]+=+r;break;case"-":i[l]+=+r;break;case"*":i[l]*=+r.substr(1);break;case"/":i[l]/=+r.substr(1);break;default:i[l]=+r}else if(Ft(r)==="number")i[l]=r;else throw new Error("unsupported value for Color.set");const s=new Be(i,o);return n?(this._rgb=s._rgb,this):s}throw new Error(`unknown channel ${a} in mode ${o}`)}else return i},Be.prototype.tint=function(e=.5,...r){return Ch(this,"white",e,...r)},Be.prototype.shade=function(e=.5,...r){return Ch(this,"black",e,...r)};const G1e=(e,r,n)=>{const o=e._rgb,a=r._rgb;return new Be(o[0]+n*(a[0]-o[0]),o[1]+n*(a[1]-o[1]),o[2]+n*(a[2]-o[2]),"rgb")};Eo.rgb=G1e;const{sqrt:r_,pow:Th}=Math,X1e=(e,r,n)=>{const[o,a,i]=e._rgb,[l,s,c]=r._rgb;return new Be(r_(Th(o,2)*(1-n)+Th(l,2)*n),r_(Th(a,2)*(1-n)+Th(s,2)*n),r_(Th(i,2)*(1-n)+Th(c,2)*n),"rgb")};Eo.lrgb=X1e;const K1e=(e,r,n)=>{const o=e.lab(),a=r.lab();return new Be(o[0]+n*(a[0]-o[0]),o[1]+n*(a[1]-o[1]),o[2]+n*(a[2]-o[2]),"lab")};Eo.lab=K1e;const Rh=(e,r,n,o)=>{let a,i;o==="hsl"?(a=e.hsl(),i=r.hsl()):o==="hsv"?(a=e.hsv(),i=r.hsv()):o==="hcg"?(a=e.hcg(),i=r.hcg()):o==="hsi"?(a=e.hsi(),i=r.hsi()):o==="lch"||o==="hcl"?(o="hcl",a=e.hcl(),i=r.hcl()):o==="oklch"&&(a=e.oklch().reverse(),i=r.oklch().reverse());let l,s,c,u,d,p;(o.substr(0,1)==="h"||o==="oklch")&&([l,c,d]=a,[s,u,p]=i);let f,g,b,x;return!isNaN(l)&&!isNaN(s)?(s>l&&s-l>180?x=s-(l+360):s180?x=s+360-l:x=s-l,g=l+n*x):isNaN(l)?isNaN(s)?g=Number.NaN:(g=s,(d==1||d==0)&&o!="hsv"&&(f=u)):(g=l,(p==1||p==0)&&o!="hsv"&&(f=c)),f===void 0&&(f=c+n*(u-c)),b=d+n*(p-d),o==="oklch"?new Be([b,f,g],o):new Be([g,f,b],o)},zO=(e,r,n)=>Rh(e,r,n,"lch");Eo.lch=zO,Eo.hcl=zO;const Z1e=e=>{if(Ft(e)=="number"&&e>=0&&e<=16777215){const r=e>>16,n=e>>8&255,o=e&255;return[r,n,o,1]}throw new Error("unknown num color: "+e)},Q1e=(...e)=>{const[r,n,o]=$t(e,"rgb");return(r<<16)+(n<<8)+o};Be.prototype.num=function(){return Q1e(this._rgb)},Object.assign(Tt,{num:(...e)=>new Be(...e,"num")}),Ct.format.num=Z1e,Ct.autodetect.push({p:5,test:(...e)=>{if(e.length===1&&Ft(e[0])==="number"&&e[0]>=0&&e[0]<=16777215)return"num"}});const J1e=(e,r,n)=>{const o=e.num(),a=r.num();return new Be(o+n*(a-o),"num")};Eo.num=J1e;const{floor:e0e}=Math,t0e=(...e)=>{e=$t(e,"hcg");let[r,n,o]=e,a,i,l;o=o*255;const s=n*255;if(n===0)a=i=l=o;else{r===360&&(r=0),r>360&&(r-=360),r<0&&(r+=360),r/=60;const c=e0e(r),u=r-c,d=o*(1-n),p=d+s*(1-u),f=d+s*u,g=d+s;switch(c){case 0:[a,i,l]=[g,f,d];break;case 1:[a,i,l]=[p,g,d];break;case 2:[a,i,l]=[d,g,f];break;case 3:[a,i,l]=[d,p,g];break;case 4:[a,i,l]=[f,d,g];break;case 5:[a,i,l]=[g,d,p];break}}return[a,i,l,e.length>3?e[3]:1]},r0e=(...e)=>{const[r,n,o]=$t(e,"rgb"),a=AO(r,n,o),i=NO(r,n,o),l=i-a,s=l*100/255,c=a/(255-l)*100;let u;return l===0?u=Number.NaN:(r===i&&(u=(n-o)/l),n===i&&(u=2+(o-r)/l),o===i&&(u=4+(r-n)/l),u*=60,u<0&&(u+=360)),[u,s,c]};Be.prototype.hcg=function(){return r0e(this._rgb)};const n0e=(...e)=>new Be(...e,"hcg");Tt.hcg=n0e,Ct.format.hcg=t0e,Ct.autodetect.push({p:1,test:(...e)=>{if(e=$t(e,"hcg"),Ft(e)==="array"&&e.length===3)return"hcg"}});const o0e=(e,r,n)=>Rh(e,r,n,"hcg");Eo.hcg=o0e;const{cos:Ah}=Math,a0e=(...e)=>{e=$t(e,"hsi");let[r,n,o]=e,a,i,l;return isNaN(r)&&(r=0),isNaN(n)&&(n=0),r>360&&(r-=360),r<0&&(r+=360),r/=360,r<1/3?(l=(1-n)/3,a=(1+n*Ah(Ps*r)/Ah(G6-Ps*r))/3,i=1-(l+a)):r<2/3?(r-=1/3,a=(1-n)/3,i=(1+n*Ah(Ps*r)/Ah(G6-Ps*r))/3,l=1-(a+i)):(r-=2/3,i=(1-n)/3,l=(1+n*Ah(Ps*r)/Ah(G6-Ps*r))/3,a=1-(i+l)),a=yd(o*a*3),i=yd(o*i*3),l=yd(o*l*3),[a*255,i*255,l*255,e.length>3?e[3]:1]},{min:i0e,sqrt:l0e,acos:s0e}=Math,c0e=(...e)=>{let[r,n,o]=$t(e,"rgb");r/=255,n/=255,o/=255;let a;const i=i0e(r,n,o),l=(r+n+o)/3,s=l>0?1-i/l:0;return s===0?a=NaN:(a=(r-n+(r-o))/2,a/=l0e((r-n)*(r-n)+(r-o)*(n-o)),a=s0e(a),o>n&&(a=Ps-a),a/=Ps),[a*360,s,l]};Be.prototype.hsi=function(){return c0e(this._rgb)};const u0e=(...e)=>new Be(...e,"hsi");Tt.hsi=u0e,Ct.format.hsi=a0e,Ct.autodetect.push({p:2,test:(...e)=>{if(e=$t(e,"hsi"),Ft(e)==="array"&&e.length===3)return"hsi"}});const d0e=(e,r,n)=>Rh(e,r,n,"hsi");Eo.hsi=d0e;const n_=(...e)=>{e=$t(e,"hsl");const[r,n,o]=e;let a,i,l;if(n===0)a=i=l=o*255;else{const s=[0,0,0],c=[0,0,0],u=o<.5?o*(1+n):o+n-o*n,d=2*o-u,p=r/360;s[0]=p+1/3,s[1]=p,s[2]=p-1/3;for(let f=0;f<3;f++)s[f]<0&&(s[f]+=1),s[f]>1&&(s[f]-=1),6*s[f]<1?c[f]=d+(u-d)*6*s[f]:2*s[f]<1?c[f]=u:3*s[f]<2?c[f]=d+(u-d)*(2/3-s[f])*6:c[f]=d;[a,i,l]=[c[0]*255,c[1]*255,c[2]*255]}return e.length>3?[a,i,l,e[3]]:[a,i,l,1]},BO=(...e)=>{e=$t(e,"rgba");let[r,n,o]=e;r/=255,n/=255,o/=255;const a=AO(r,n,o),i=NO(r,n,o),l=(i+a)/2;let s,c;return i===a?(s=0,c=Number.NaN):s=l<.5?(i-a)/(i+a):(i-a)/(2-i-a),r==i?c=(n-o)/(i-a):n==i?c=2+(o-r)/(i-a):o==i&&(c=4+(r-n)/(i-a)),c*=60,c<0&&(c+=360),e.length>3&&e[3]!==void 0?[c,s,l,e[3]]:[c,s,l]};Be.prototype.hsl=function(){return BO(this._rgb)};const p0e=(...e)=>new Be(...e,"hsl");Tt.hsl=p0e,Ct.format.hsl=n_,Ct.autodetect.push({p:2,test:(...e)=>{if(e=$t(e,"hsl"),Ft(e)==="array"&&e.length===3)return"hsl"}});const h0e=(e,r,n)=>Rh(e,r,n,"hsl");Eo.hsl=h0e;const{floor:f0e}=Math,m0e=(...e)=>{e=$t(e,"hsv");let[r,n,o]=e,a,i,l;if(o*=255,n===0)a=i=l=o;else{r===360&&(r=0),r>360&&(r-=360),r<0&&(r+=360),r/=60;const s=f0e(r),c=r-s,u=o*(1-n),d=o*(1-n*c),p=o*(1-n*(1-c));switch(s){case 0:[a,i,l]=[o,p,u];break;case 1:[a,i,l]=[d,o,u];break;case 2:[a,i,l]=[u,o,p];break;case 3:[a,i,l]=[u,d,o];break;case 4:[a,i,l]=[p,u,o];break;case 5:[a,i,l]=[o,u,d];break}}return[a,i,l,e.length>3?e[3]:1]},{min:g0e,max:y0e}=Math,b0e=(...e)=>{e=$t(e,"rgb");let[r,n,o]=e;const a=g0e(r,n,o),i=y0e(r,n,o),l=i-a;let s,c,u;return u=i/255,i===0?(s=Number.NaN,c=0):(c=l/i,r===i&&(s=(n-o)/l),n===i&&(s=2+(o-r)/l),o===i&&(s=4+(r-n)/l),s*=60,s<0&&(s+=360)),[s,c,u]};Be.prototype.hsv=function(){return b0e(this._rgb)};const v0e=(...e)=>new Be(...e,"hsv");Tt.hsv=v0e,Ct.format.hsv=m0e,Ct.autodetect.push({p:2,test:(...e)=>{if(e=$t(e,"hsv"),Ft(e)==="array"&&e.length===3)return"hsv"}});const x0e=(e,r,n)=>Rh(e,r,n,"hsv");Eo.hsv=x0e;function Wv(e,r){let n=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(r[0])||(r=r.map(l=>[l]));let o=r[0].length,a=r[0].map((l,s)=>r.map(c=>c[s])),i=e.map(l=>a.map(s=>Array.isArray(l)?l.reduce((c,u,d)=>c+u*(s[d]||0),0):s.reduce((c,u)=>c+u*l,0)));return n===1&&(i=i[0]),o===1?i.map(l=>l[0]):i}const o_=(...e)=>{e=$t(e,"lab");const[r,n,o,...a]=e,[i,l,s]=w0e([r,n,o]),[c,u,d]=MO(i,l,s);return[c,u,d,...a.length>0&&a[0]<1?[a[0]]:[]]};function w0e(e){var r=[[1.2268798758459243,-.5578149944602171,.2813910456659647],[-.0405757452148008,1.112286803280317,-.0717110580655164],[-.0763729366746601,-.4214933324022432,1.5869240198367816]],n=[[1,.3963377773761749,.2158037573099136],[1,-.1055613458156586,-.0638541728258133],[1,-.0894841775298119,-1.2914855480194092]],o=Wv(n,e);return Wv(r,o.map(a=>a**3))}const a_=(...e)=>{const[r,n,o,...a]=$t(e,"rgb"),i=OO(r,n,o);return[...k0e(i),...a.length>0&&a[0]<1?[a[0]]:[]]};function k0e(e){const r=[[.819022437996703,.3619062600528904,-.1288737815209879],[.0329836539323885,.9292868615863434,.0361446663506424],[.0481771893596242,.2642395317527308,.6335478284694309]],n=[[.210454268309314,.7936177747023054,-.0040720430116193],[1.9779985324311684,-2.42859224204858,.450593709617411],[.0259040424655478,.7827717124575296,-.8086757549230774]],o=Wv(r,e);return Wv(n,o.map(a=>Math.cbrt(a)))}Be.prototype.oklab=function(){return a_(this._rgb)},Object.assign(Tt,{oklab:(...e)=>new Be(...e,"oklab")}),Ct.format.oklab=o_,Ct.autodetect.push({p:2,test:(...e)=>{if(e=$t(e,"oklab"),Ft(e)==="array"&&e.length===3)return"oklab"}});const _0e=(e,r,n)=>{const o=e.oklab(),a=r.oklab();return new Be(o[0]+n*(a[0]-o[0]),o[1]+n*(a[1]-o[1]),o[2]+n*(a[2]-o[2]),"oklab")};Eo.oklab=_0e;const E0e=(e,r,n)=>Rh(e,r,n,"oklch");Eo.oklch=E0e;const{pow:i_,sqrt:l_,PI:s_,cos:jO,sin:FO,atan2:S0e}=Math,C0e=(e,r="lrgb",n=null)=>{const o=e.length;n||(n=Array.from(new Array(o)).map(()=>1));const a=o/n.reduce(function(p,f){return p+f});if(n.forEach((p,f)=>{n[f]*=a}),e=e.map(p=>new Be(p)),r==="lrgb")return T0e(e,n);const i=e.shift(),l=i.get(r),s=[];let c=0,u=0;for(let p=0;p{const g=p.get(r);d+=p.alpha()*n[f+1];for(let b=0;b=360;)f-=360;l[p]=f}else l[p]=l[p]/s[p];return d/=o,new Be(l,r).alpha(d>.99999?1:d,!0)},T0e=(e,r)=>{const n=e.length,o=[0,0,0,0];for(let a=0;a.9999999&&(o[3]=1),new Be(Y6(o))},{pow:R0e}=Math;function Gv(e){let r="rgb",n=Tt("#ccc"),o=0,a=[0,1],i=[],l=[0,0],s=!1,c=[],u=!1,d=0,p=1,f=!1,g={},b=!0,x=1;const w=function(D){if(D=D||["#fff","#000"],D&&Ft(D)==="string"&&Tt.brewer&&Tt.brewer[D.toLowerCase()]&&(D=Tt.brewer[D.toLowerCase()]),Ft(D)==="array"){D.length===1&&(D=[D[0],D[0]]),D=D.slice(0);for(let N=0;N=s[$];)$++;return $-1}return 0};let C=D=>D,_=D=>D;const T=function(D,N){let $,M;if(N==null&&(N=!1),isNaN(D)||D===null)return n;N?M=D:s&&s.length>2?M=k(D)/(s.length-2):p!==d?M=(D-d)/(p-d):M=1,M=_(M),N||(M=C(M)),x!==1&&(M=R0e(M,x)),M=l[0]+M*(1-l[0]-l[1]),M=yd(M,0,1);const j=Math.floor(M*1e4);if(b&&g[j])$=g[j];else{if(Ft(c)==="array")for(let L=0;L=Y&&L===i.length-1){$=c[L];break}if(M>Y&&Mg={};w(e);const A=function(D){const N=Tt(T(D));return u&&N[u]?N[u]():N};return A.classes=function(D){if(D!=null){if(Ft(D)==="array")s=D,a=[D[0],D[D.length-1]];else{const N=Tt.analyze(a);D===0?s=[N.min,N.max]:s=Tt.limits(N,"e",D)}return A}return s},A.domain=function(D){if(!arguments.length)return a;d=D[0],p=D[D.length-1],i=[];const N=c.length;if(D.length===N&&d!==p)for(let $ of Array.from(D))i.push(($-d)/(p-d));else{for(let $=0;$2){const $=D.map((j,L)=>L/(D.length-1)),M=D.map(j=>(j-d)/(p-d));M.every((j,L)=>$[L]===j)||(_=j=>{if(j<=0||j>=1)return j;let L=0;for(;j>=M[L+1];)L++;const Y=(j-M[L])/(M[L+1]-M[L]);return $[L]+Y*($[L+1]-$[L])})}}return a=[d,p],A},A.mode=function(D){return arguments.length?(r=D,R(),A):r},A.range=function(D,N){return w(D),A},A.out=function(D){return u=D,A},A.spread=function(D){return arguments.length?(o=D,A):o},A.correctLightness=function(D){return D==null&&(D=!0),f=D,R(),f?C=function(N){const $=T(0,!0).lab()[0],M=T(1,!0).lab()[0],j=$>M;let L=T(N,!0).lab()[0];const Y=$+(M-$)*N;let O=L-Y,U=0,I=1,q=20;for(;Math.abs(O)>.01&&q-- >0;)(function(){return j&&(O*=-1),O<0?(U=N,N+=(I-N)*.5):(I=N,N+=(U-N)*.5),L=T(N,!0).lab()[0],O=L-Y})();return N}:C=N=>N,A},A.padding=function(D){return D!=null?(Ft(D)==="number"&&(D=[D,D]),l=D,A):l},A.colors=function(D,N){arguments.length<2&&(N="hex");let $=[];if(arguments.length===0)$=c.slice(0);else if(D===1)$=[A(.5)];else if(D>1){const M=a[0],j=a[1]-M;$=A0e(0,D).map(L=>A(M+L/(D-1)*j))}else{e=[];let M=[];if(s&&s.length>2)for(let j=1,L=s.length,Y=1<=L;Y?jL;Y?j++:j--)M.push((s[j-1]+s[j])*.5);else M=a;$=M.map(j=>A(j))}return Tt[N]&&($=$.map(M=>M[N]())),$},A.cache=function(D){return D!=null?(b=D,A):b},A.gamma=function(D){return D!=null?(x=D,A):x},A.nodata=function(D){return D!=null?(n=Tt(D),A):n},A}function A0e(e,r,n){let o=[],a=ei;a?l++:l--)o.push(l);return o}const N0e=function(e){let r=[1,1];for(let n=1;nnew Be(i)),e.length===2)[n,o]=e.map(i=>i.lab()),r=function(i){const l=[0,1,2].map(s=>n[s]+i*(o[s]-n[s]));return new Be(l,"lab")};else if(e.length===3)[n,o,a]=e.map(i=>i.lab()),r=function(i){const l=[0,1,2].map(s=>(1-i)*(1-i)*n[s]+2*(1-i)*i*o[s]+i*i*a[s]);return new Be(l,"lab")};else if(e.length===4){let i;[n,o,a,i]=e.map(l=>l.lab()),r=function(l){const s=[0,1,2].map(c=>(1-l)*(1-l)*(1-l)*n[c]+3*(1-l)*(1-l)*l*o[c]+3*(1-l)*l*l*a[c]+l*l*l*i[c]);return new Be(s,"lab")}}else if(e.length>=5){let i,l,s;i=e.map(c=>c.lab()),s=e.length-1,l=N0e(s),r=function(c){const u=1-c,d=[0,1,2].map(p=>i.reduce((f,g,b)=>f+l[b]*u**(s-b)*c**b*g[p],0));return new Be(d,"lab")}}else throw new RangeError("No point in running bezier with only one color.");return r},P0e=e=>{const r=D0e(e);return r.scale=()=>Gv(r),r},{round:HO}=Math;Be.prototype.rgb=function(e=!0){return e===!1?this._rgb.slice(0,3):this._rgb.slice(0,3).map(HO)},Be.prototype.rgba=function(e=!0){return this._rgb.slice(0,4).map((r,n)=>n<3?e===!1?r:HO(r):r)},Object.assign(Tt,{rgb:(...e)=>new Be(...e,"rgb")}),Ct.format.rgb=(...e)=>{const r=$t(e,"rgba");return r[3]===void 0&&(r[3]=1),r},Ct.autodetect.push({p:3,test:(...e)=>{if(e=$t(e,"rgba"),Ft(e)==="array"&&(e.length===3||e.length===4&&Ft(e[3])=="number"&&e[3]>=0&&e[3]<=1))return"rgb"}});const ji=(e,r,n)=>{if(!ji[n])throw new Error("unknown blend mode "+n);return ji[n](e,r)},Hc=e=>(r,n)=>{const o=Tt(n).rgb(),a=Tt(r).rgb();return Tt.rgb(e(o,a))},qc=e=>(r,n)=>{const o=[];return o[0]=e(r[0],n[0]),o[1]=e(r[1],n[1]),o[2]=e(r[2],n[2]),o},$0e=e=>e,M0e=(e,r)=>e*r/255,O0e=(e,r)=>e>r?r:e,I0e=(e,r)=>e>r?e:r,L0e=(e,r)=>255*(1-(1-e/255)*(1-r/255)),z0e=(e,r)=>r<128?2*e*r/255:255*(1-2*(1-e/255)*(1-r/255)),B0e=(e,r)=>255*(1-(1-r/255)/(e/255)),j0e=(e,r)=>e===255?255:(e=255*(r/255)/(1-e/255),e>255?255:e);ji.normal=Hc(qc($0e)),ji.multiply=Hc(qc(M0e)),ji.screen=Hc(qc(L0e)),ji.overlay=Hc(qc(z0e)),ji.darken=Hc(qc(O0e)),ji.lighten=Hc(qc(I0e)),ji.dodge=Hc(qc(j0e)),ji.burn=Hc(qc(B0e));const{pow:F0e,sin:H0e,cos:q0e}=Math;function U0e(e=300,r=-1.5,n=1,o=1,a=[0,1]){let i=0,l;Ft(a)==="array"?l=a[1]-a[0]:(l=0,a=[a,a]);const s=function(c){const u=Ps*((e+120)/360+r*c),d=F0e(a[0]+l*c,o),f=(i!==0?n[0]+c*i:n)*d*(1-d)/2,g=q0e(u),b=H0e(u),x=d+f*(-.14861*g+1.78277*b),w=d+f*(-.29227*g-.90649*b),k=d+f*(1.97294*g);return Tt(Y6([x*255,w*255,k*255,1]))};return s.start=function(c){return c==null?e:(e=c,s)},s.rotations=function(c){return c==null?r:(r=c,s)},s.gamma=function(c){return c==null?o:(o=c,s)},s.hue=function(c){return c==null?n:(n=c,Ft(n)==="array"?(i=n[1]-n[0],i===0&&(n=n[1])):i=0,s)},s.lightness=function(c){return c==null?a:(Ft(c)==="array"?(a=c,l=c[1]-c[0]):(a=[c,c],l=0),s)},s.scale=()=>Tt.scale(s),s.hue(n),s}const V0e="0123456789abcdef",{floor:Y0e,random:W0e}=Math,G0e=()=>{let e="#";for(let r=0;r<6;r++)e+=V0e.charAt(Y0e(W0e()*16));return new Be(e,"hex")},{log:qO,pow:X0e,floor:K0e,abs:Z0e}=Math;function UO(e,r=null){const n={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0};return Ft(e)==="object"&&(e=Object.values(e)),e.forEach(o=>{r&&Ft(o)==="object"&&(o=o[r]),o!=null&&!isNaN(o)&&(n.values.push(o),n.sum+=o,on.max&&(n.max=o),n.count+=1)}),n.domain=[n.min,n.max],n.limits=(o,a)=>VO(n,o,a),n}function VO(e,r="equal",n=7){Ft(e)=="array"&&(e=UO(e));const{min:o,max:a}=e,i=e.values.sort((s,c)=>s-c);if(n===1)return[o,a];const l=[];if(r.substr(0,1)==="c"&&(l.push(o),l.push(a)),r.substr(0,1)==="e"){l.push(o);for(let s=1;s 0");const s=Math.LOG10E*qO(o),c=Math.LOG10E*qO(a);l.push(o);for(let u=1;u200&&(p=!1)}const b={};for(let w=0;ww-k),l.push(x[0]);for(let w=1;w{e=new Be(e),r=new Be(r);const n=e.luminance(),o=r.luminance();return n>o?(n+.05)/(o+.05):(o+.05)/(n+.05)};/** +*/var $O;function K1e(){if($O)return So;$O=1;var e=Z6();function r(c){var u="https://react.dev/errors/"+c;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),Q6.exports=K1e(),Q6.exports}var Fi=OO();const IO=RO(Fi);function Z1e(e,r,n){let o=a=>e(a,...r);return n===void 0?o:Object.assign(o,{lazy:n,lazyArgs:r})}function xa(e,r,n){let o=e.length-r.length;if(o===0)return e(...r);if(o===1)return Z1e(e,r,n);throw Error("Wrong number of arguments")}function Dh(...e){return xa(Q1e,e)}const Q1e=(e,r)=>e.length>=r;function bt(e,r){if(typeof e>"u"||e==null){const n=typeof r=="function"?r():r;throw new Error(n??`Expected defined value, but received ${e}`)}return e}function nt(e,r){if(!e)throw new Error(r??"Invariant failed")}function Ja(e){throw new Error(`NonExhaustive value: ${e}`)}function pr(e,r,n){const o=typeof r=="symbol"?r:Symbol.for(r);return e.hasOwnProperty(o)||Object.defineProperty(e,o,{enumerable:!1,writable:!1,value:n()}),e[o]}const{min:J1e,max:e0e}=Math,Rd=(e,r=0,n=1)=>J1e(e0e(r,e),n),J6=e=>{e._clipped=!1,e._unclipped=e.slice(0);for(let r=0;r<=3;r++)r<3?((e[r]<0||e[r]>255)&&(e._clipped=!0),e[r]=Rd(e[r],0,255)):r===3&&(e[r]=Rd(e[r],0,1));return e},zO={};for(let e of["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"])zO[`[object ${e}]`]=e.toLowerCase();function Ft(e){return zO[Object.prototype.toString.call(e)]||"object"}const $t=(e,r=null)=>e.length>=3?Array.prototype.slice.call(e):Ft(e[0])=="object"&&r?r.split("").filter(n=>e[0][n]!==void 0).map(n=>e[0][n]):e[0].slice(0),Ph=e=>{if(e.length<2)return null;const r=e.length-1;return Ft(e[r])=="string"?e[r].toLowerCase():null},{PI:Gv,min:LO,max:BO}=Math,ei=e=>Math.round(e*100)/100,e_=e=>Math.round(e*100)/100,Ms=Gv*2,t_=Gv/3,t0e=Gv/180,r0e=180/Gv;function jO(e){return[...e.slice(0,3).reverse(),...e.slice(3)]}const Tt={format:{},autodetect:[]};let Be=class{constructor(...r){const n=this;if(Ft(r[0])==="object"&&r[0].constructor&&r[0].constructor===this.constructor)return r[0];let o=Ph(r),a=!1;if(!o){a=!0,Tt.sorted||(Tt.autodetect=Tt.autodetect.sort((i,l)=>l.p-i.p),Tt.sorted=!0);for(let i of Tt.autodetect)if(o=i.test(...r),o)break}if(Tt.format[o]){const i=Tt.format[o].apply(null,a?r:r.slice(0,-1));n._rgb=J6(i)}else throw new Error("unknown format: "+r);n._rgb.length===3&&n._rgb.push(1)}toString(){return Ft(this.hex)=="function"?this.hex():`[${this._rgb.join(",")}]`}};const n0e="3.1.2",Rt=(...e)=>new Be(...e);Rt.version=n0e;const $h={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},o0e=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,a0e=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,FO=e=>{if(e.match(o0e)){(e.length===4||e.length===7)&&(e=e.substr(1)),e.length===3&&(e=e.split(""),e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);const r=parseInt(e,16),n=r>>16,o=r>>8&255,a=r&255;return[n,o,a,1]}if(e.match(a0e)){(e.length===5||e.length===9)&&(e=e.substr(1)),e.length===4&&(e=e.split(""),e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);const r=parseInt(e,16),n=r>>24&255,o=r>>16&255,a=r>>8&255,i=Math.round((r&255)/255*100)/100;return[n,o,a,i]}throw new Error(`unknown hex color: ${e}`)},{round:Xv}=Math,HO=(...e)=>{let[r,n,o,a]=$t(e,"rgba"),i=Ph(e)||"auto";a===void 0&&(a=1),i==="auto"&&(i=a<1?"rgba":"rgb"),r=Xv(r),n=Xv(n),o=Xv(o);let s="000000"+(r<<16|n<<8|o).toString(16);s=s.substr(s.length-6);let c="0"+Xv(a*255).toString(16);switch(c=c.substr(c.length-2),i.toLowerCase()){case"rgba":return`#${s}${c}`;case"argb":return`#${c}${s}`;default:return`#${s}`}};Be.prototype.name=function(){const e=HO(this._rgb,"rgb");for(let r of Object.keys($h))if($h[r]===e)return r.toLowerCase();return e},Tt.format.named=e=>{if(e=e.toLowerCase(),$h[e])return FO($h[e]);throw new Error("unknown color name: "+e)},Tt.autodetect.push({p:5,test:(e,...r)=>{if(!r.length&&Ft(e)==="string"&&$h[e.toLowerCase()])return"named"}}),Be.prototype.alpha=function(e,r=!1){return e!==void 0&&Ft(e)==="number"?r?(this._rgb[3]=e,this):new Be([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},Be.prototype.clipped=function(){return this._rgb._clipped||!1};const Wl={Kn:18,labWhitePoint:"d65",Xn:.95047,Yn:1,Zn:1.08883,kE:216/24389,kKE:8,kK:24389/27,RefWhiteRGB:{X:.95047,Y:1,Z:1.08883},MtxRGB2XYZ:{m00:.4124564390896922,m01:.21267285140562253,m02:.0193338955823293,m10:.357576077643909,m11:.715152155287818,m12:.11919202588130297,m20:.18043748326639894,m21:.07217499330655958,m22:.9503040785363679},MtxXYZ2RGB:{m00:3.2404541621141045,m01:-.9692660305051868,m02:.055643430959114726,m10:-1.5371385127977166,m11:1.8760108454466942,m12:-.2040259135167538,m20:-.498531409556016,m21:.041556017530349834,m22:1.0572251882231791},As:.9414285350000001,Bs:1.040417467,Cs:1.089532651,MtxAdaptMa:{m00:.8951,m01:-.7502,m02:.0389,m10:.2664,m11:1.7135,m12:-.0685,m20:-.1614,m21:.0367,m22:1.0296},MtxAdaptMaI:{m00:.9869929054667123,m01:.43230526972339456,m02:-.008528664575177328,m10:-.14705425642099013,m11:.5183602715367776,m12:.04004282165408487,m20:.15996265166373125,m21:.0492912282128556,m22:.9684866957875502}},i0e=new Map([["a",[1.0985,.35585]],["b",[1.0985,.35585]],["c",[.98074,1.18232]],["d50",[.96422,.82521]],["d55",[.95682,.92149]],["d65",[.95047,1.08883]],["e",[1,1,1]],["f2",[.99186,.67393]],["f7",[.95041,1.08747]],["f11",[1.00962,.6435]],["icc",[.96422,.82521]]]);function Os(e){const r=i0e.get(String(e).toLowerCase());if(!r)throw new Error("unknown Lab illuminant "+e);Wl.labWhitePoint=e,Wl.Xn=r[0],Wl.Zn=r[1]}function E1(){return Wl.labWhitePoint}const r_=(...e)=>{e=$t(e,"lab");const[r,n,o]=e,[a,i,l]=l0e(r,n,o),[s,c,u]=qO(a,i,l);return[s,c,u,e.length>3?e[3]:1]},l0e=(e,r,n)=>{const{kE:o,kK:a,kKE:i,Xn:l,Yn:s,Zn:c}=Wl,u=(e+16)/116,d=.002*r+u,p=u-.005*n,f=d*d*d,g=p*p*p,b=f>o?f:(116*d-16)/a,x=e>i?Math.pow((e+16)/116,3):e/a,w=g>o?g:(116*p-16)/a,k=b*l,C=x*s,_=w*c;return[k,C,_]},n_=e=>{const r=Math.sign(e);return e=Math.abs(e),(e<=.0031308?e*12.92:1.055*Math.pow(e,1/2.4)-.055)*r},qO=(e,r,n)=>{const{MtxAdaptMa:o,MtxAdaptMaI:a,MtxXYZ2RGB:i,RefWhiteRGB:l,Xn:s,Yn:c,Zn:u}=Wl,d=s*o.m00+c*o.m10+u*o.m20,p=s*o.m01+c*o.m11+u*o.m21,f=s*o.m02+c*o.m12+u*o.m22,g=l.X*o.m00+l.Y*o.m10+l.Z*o.m20,b=l.X*o.m01+l.Y*o.m11+l.Z*o.m21,x=l.X*o.m02+l.Y*o.m12+l.Z*o.m22,w=(e*o.m00+r*o.m10+n*o.m20)*(g/d),k=(e*o.m01+r*o.m11+n*o.m21)*(b/p),C=(e*o.m02+r*o.m12+n*o.m22)*(x/f),_=w*a.m00+k*a.m10+C*a.m20,T=w*a.m01+k*a.m11+C*a.m21,R=w*a.m02+k*a.m12+C*a.m22,A=n_(_*i.m00+T*i.m10+R*i.m20),D=n_(_*i.m01+T*i.m11+R*i.m21),N=n_(_*i.m02+T*i.m12+R*i.m22);return[A*255,D*255,N*255]},o_=(...e)=>{const[r,n,o,...a]=$t(e,"rgb"),[i,l,s]=UO(r,n,o),[c,u,d]=s0e(i,l,s);return[c,u,d,...a.length>0&&a[0]<1?[a[0]]:[]]};function s0e(e,r,n){const{Xn:o,Yn:a,Zn:i,kE:l,kK:s}=Wl,c=e/o,u=r/a,d=n/i,p=c>l?Math.pow(c,1/3):(s*c+16)/116,f=u>l?Math.pow(u,1/3):(s*u+16)/116,g=d>l?Math.pow(d,1/3):(s*d+16)/116;return[116*f-16,500*(p-f),200*(f-g)]}function a_(e){const r=Math.sign(e);return e=Math.abs(e),(e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4))*r}const UO=(e,r,n)=>{e=a_(e/255),r=a_(r/255),n=a_(n/255);const{MtxRGB2XYZ:o,MtxAdaptMa:a,MtxAdaptMaI:i,Xn:l,Yn:s,Zn:c,As:u,Bs:d,Cs:p}=Wl;let f=e*o.m00+r*o.m10+n*o.m20,g=e*o.m01+r*o.m11+n*o.m21,b=e*o.m02+r*o.m12+n*o.m22;const x=l*a.m00+s*a.m10+c*a.m20,w=l*a.m01+s*a.m11+c*a.m21,k=l*a.m02+s*a.m12+c*a.m22;let C=f*a.m00+g*a.m10+b*a.m20,_=f*a.m01+g*a.m11+b*a.m21,T=f*a.m02+g*a.m12+b*a.m22;return C*=x/u,_*=w/d,T*=k/p,f=C*i.m00+_*i.m10+T*i.m20,g=C*i.m01+_*i.m11+T*i.m21,b=C*i.m02+_*i.m12+T*i.m22,[f,g,b]};Be.prototype.lab=function(){return o_(this._rgb)},Object.assign(Rt,{lab:(...e)=>new Be(...e,"lab"),getLabWhitePoint:E1,setLabWhitePoint:Os}),Tt.format.lab=r_,Tt.autodetect.push({p:2,test:(...e)=>{if(e=$t(e,"lab"),Ft(e)==="array"&&e.length===3)return"lab"}}),Be.prototype.darken=function(e=1){const r=this,n=r.lab();return n[0]-=Wl.Kn*e,new Be(n,"lab").alpha(r.alpha(),!0)},Be.prototype.brighten=function(e=1){return this.darken(-e)},Be.prototype.darker=Be.prototype.darken,Be.prototype.brighter=Be.prototype.brighten,Be.prototype.get=function(e){const[r,n]=e.split("."),o=this[r]();if(n){const a=r.indexOf(n)-(r.substr(0,2)==="ok"?2:0);if(a>-1)return o[a];throw new Error(`unknown channel ${n} in mode ${r}`)}else return o};const{pow:c0e}=Math,u0e=1e-7,d0e=20;Be.prototype.luminance=function(e,r="rgb"){if(e!==void 0&&Ft(e)==="number"){if(e===0)return new Be([0,0,0,this._rgb[3]],"rgb");if(e===1)return new Be([255,255,255,this._rgb[3]],"rgb");let n=this.luminance(),o=d0e;const a=(l,s)=>{const c=l.interpolate(s,.5,r),u=c.luminance();return Math.abs(e-u)e?a(l,c):a(c,s)},i=(n>e?a(new Be([0,0,0]),this):a(this,new Be([255,255,255]))).rgb();return new Be([...i,this._rgb[3]])}return p0e(...this._rgb.slice(0,3))};const p0e=(e,r,n)=>(e=i_(e),r=i_(r),n=i_(n),.2126*e+.7152*r+.0722*n),i_=e=>(e/=255,e<=.03928?e/12.92:c0e((e+.055)/1.055,2.4)),Co={},Mh=(e,r,n=.5,...o)=>{let a=o[0]||"lrgb";if(!Co[a]&&!o.length&&(a=Object.keys(Co)[0]),!Co[a])throw new Error(`interpolation mode ${a} is not defined`);return Ft(e)!=="object"&&(e=new Be(e)),Ft(r)!=="object"&&(r=new Be(r)),Co[a](e,r,n).alpha(e.alpha()+n*(r.alpha()-e.alpha()))};Be.prototype.mix=Be.prototype.interpolate=function(e,r=.5,...n){return Mh(this,e,r,...n)},Be.prototype.premultiply=function(e=!1){const r=this._rgb,n=r[3];return e?(this._rgb=[r[0]*n,r[1]*n,r[2]*n,n],this):new Be([r[0]*n,r[1]*n,r[2]*n,n],"rgb")};const{sin:h0e,cos:f0e}=Math,VO=(...e)=>{let[r,n,o]=$t(e,"lch");return isNaN(o)&&(o=0),o=o*t0e,[r,f0e(o)*n,h0e(o)*n]},l_=(...e)=>{e=$t(e,"lch");const[r,n,o]=e,[a,i,l]=VO(r,n,o),[s,c,u]=r_(a,i,l);return[s,c,u,e.length>3?e[3]:1]},m0e=(...e)=>{const r=jO($t(e,"hcl"));return l_(...r)},{sqrt:g0e,atan2:y0e,round:b0e}=Math,YO=(...e)=>{const[r,n,o]=$t(e,"lab"),a=g0e(n*n+o*o);let i=(y0e(o,n)*r0e+360)%360;return b0e(a*1e4)===0&&(i=Number.NaN),[r,a,i]},s_=(...e)=>{const[r,n,o,...a]=$t(e,"rgb"),[i,l,s]=o_(r,n,o),[c,u,d]=YO(i,l,s);return[c,u,d,...a.length>0&&a[0]<1?[a[0]]:[]]};Be.prototype.lch=function(){return s_(this._rgb)},Be.prototype.hcl=function(){return jO(s_(this._rgb))},Object.assign(Rt,{lch:(...e)=>new Be(...e,"lch"),hcl:(...e)=>new Be(...e,"hcl")}),Tt.format.lch=l_,Tt.format.hcl=m0e,["lch","hcl"].forEach(e=>Tt.autodetect.push({p:2,test:(...r)=>{if(r=$t(r,e),Ft(r)==="array"&&r.length===3)return e}})),Be.prototype.saturate=function(e=1){const r=this,n=r.lch();return n[1]+=Wl.Kn*e,n[1]<0&&(n[1]=0),new Be(n,"lch").alpha(r.alpha(),!0)},Be.prototype.desaturate=function(e=1){return this.saturate(-e)},Be.prototype.set=function(e,r,n=!1){const[o,a]=e.split("."),i=this[o]();if(a){const l=o.indexOf(a)-(o.substr(0,2)==="ok"?2:0);if(l>-1){if(Ft(r)=="string")switch(r.charAt(0)){case"+":i[l]+=+r;break;case"-":i[l]+=+r;break;case"*":i[l]*=+r.substr(1);break;case"/":i[l]/=+r.substr(1);break;default:i[l]=+r}else if(Ft(r)==="number")i[l]=r;else throw new Error("unsupported value for Color.set");const s=new Be(i,o);return n?(this._rgb=s._rgb,this):s}throw new Error(`unknown channel ${a} in mode ${o}`)}else return i},Be.prototype.tint=function(e=.5,...r){return Mh(this,"white",e,...r)},Be.prototype.shade=function(e=.5,...r){return Mh(this,"black",e,...r)};const v0e=(e,r,n)=>{const o=e._rgb,a=r._rgb;return new Be(o[0]+n*(a[0]-o[0]),o[1]+n*(a[1]-o[1]),o[2]+n*(a[2]-o[2]),"rgb")};Co.rgb=v0e;const{sqrt:c_,pow:Oh}=Math,x0e=(e,r,n)=>{const[o,a,i]=e._rgb,[l,s,c]=r._rgb;return new Be(c_(Oh(o,2)*(1-n)+Oh(l,2)*n),c_(Oh(a,2)*(1-n)+Oh(s,2)*n),c_(Oh(i,2)*(1-n)+Oh(c,2)*n),"rgb")};Co.lrgb=x0e;const w0e=(e,r,n)=>{const o=e.lab(),a=r.lab();return new Be(o[0]+n*(a[0]-o[0]),o[1]+n*(a[1]-o[1]),o[2]+n*(a[2]-o[2]),"lab")};Co.lab=w0e;const Ih=(e,r,n,o)=>{let a,i;o==="hsl"?(a=e.hsl(),i=r.hsl()):o==="hsv"?(a=e.hsv(),i=r.hsv()):o==="hcg"?(a=e.hcg(),i=r.hcg()):o==="hsi"?(a=e.hsi(),i=r.hsi()):o==="lch"||o==="hcl"?(o="hcl",a=e.hcl(),i=r.hcl()):o==="oklch"&&(a=e.oklch().reverse(),i=r.oklch().reverse());let l,s,c,u,d,p;(o.substr(0,1)==="h"||o==="oklch")&&([l,c,d]=a,[s,u,p]=i);let f,g,b,x;return!isNaN(l)&&!isNaN(s)?(s>l&&s-l>180?x=s-(l+360):s180?x=s+360-l:x=s-l,g=l+n*x):isNaN(l)?isNaN(s)?g=Number.NaN:(g=s,(d==1||d==0)&&o!="hsv"&&(f=u)):(g=l,(p==1||p==0)&&o!="hsv"&&(f=c)),f===void 0&&(f=c+n*(u-c)),b=d+n*(p-d),o==="oklch"?new Be([b,f,g],o):new Be([g,f,b],o)},WO=(e,r,n)=>Ih(e,r,n,"lch");Co.lch=WO,Co.hcl=WO;const k0e=e=>{if(Ft(e)=="number"&&e>=0&&e<=16777215){const r=e>>16,n=e>>8&255,o=e&255;return[r,n,o,1]}throw new Error("unknown num color: "+e)},_0e=(...e)=>{const[r,n,o]=$t(e,"rgb");return(r<<16)+(n<<8)+o};Be.prototype.num=function(){return _0e(this._rgb)},Object.assign(Rt,{num:(...e)=>new Be(...e,"num")}),Tt.format.num=k0e,Tt.autodetect.push({p:5,test:(...e)=>{if(e.length===1&&Ft(e[0])==="number"&&e[0]>=0&&e[0]<=16777215)return"num"}});const E0e=(e,r,n)=>{const o=e.num(),a=r.num();return new Be(o+n*(a-o),"num")};Co.num=E0e;const{floor:S0e}=Math,C0e=(...e)=>{e=$t(e,"hcg");let[r,n,o]=e,a,i,l;o=o*255;const s=n*255;if(n===0)a=i=l=o;else{r===360&&(r=0),r>360&&(r-=360),r<0&&(r+=360),r/=60;const c=S0e(r),u=r-c,d=o*(1-n),p=d+s*(1-u),f=d+s*u,g=d+s;switch(c){case 0:[a,i,l]=[g,f,d];break;case 1:[a,i,l]=[p,g,d];break;case 2:[a,i,l]=[d,g,f];break;case 3:[a,i,l]=[d,p,g];break;case 4:[a,i,l]=[f,d,g];break;case 5:[a,i,l]=[g,d,p];break}}return[a,i,l,e.length>3?e[3]:1]},T0e=(...e)=>{const[r,n,o]=$t(e,"rgb"),a=LO(r,n,o),i=BO(r,n,o),l=i-a,s=l*100/255,c=a/(255-l)*100;let u;return l===0?u=Number.NaN:(r===i&&(u=(n-o)/l),n===i&&(u=2+(o-r)/l),o===i&&(u=4+(r-n)/l),u*=60,u<0&&(u+=360)),[u,s,c]};Be.prototype.hcg=function(){return T0e(this._rgb)};const R0e=(...e)=>new Be(...e,"hcg");Rt.hcg=R0e,Tt.format.hcg=C0e,Tt.autodetect.push({p:1,test:(...e)=>{if(e=$t(e,"hcg"),Ft(e)==="array"&&e.length===3)return"hcg"}});const A0e=(e,r,n)=>Ih(e,r,n,"hcg");Co.hcg=A0e;const{cos:zh}=Math,N0e=(...e)=>{e=$t(e,"hsi");let[r,n,o]=e,a,i,l;return isNaN(r)&&(r=0),isNaN(n)&&(n=0),r>360&&(r-=360),r<0&&(r+=360),r/=360,r<1/3?(l=(1-n)/3,a=(1+n*zh(Ms*r)/zh(t_-Ms*r))/3,i=1-(l+a)):r<2/3?(r-=1/3,a=(1-n)/3,i=(1+n*zh(Ms*r)/zh(t_-Ms*r))/3,l=1-(a+i)):(r-=2/3,i=(1-n)/3,l=(1+n*zh(Ms*r)/zh(t_-Ms*r))/3,a=1-(i+l)),a=Rd(o*a*3),i=Rd(o*i*3),l=Rd(o*l*3),[a*255,i*255,l*255,e.length>3?e[3]:1]},{min:D0e,sqrt:P0e,acos:$0e}=Math,M0e=(...e)=>{let[r,n,o]=$t(e,"rgb");r/=255,n/=255,o/=255;let a;const i=D0e(r,n,o),l=(r+n+o)/3,s=l>0?1-i/l:0;return s===0?a=NaN:(a=(r-n+(r-o))/2,a/=P0e((r-n)*(r-n)+(r-o)*(n-o)),a=$0e(a),o>n&&(a=Ms-a),a/=Ms),[a*360,s,l]};Be.prototype.hsi=function(){return M0e(this._rgb)};const O0e=(...e)=>new Be(...e,"hsi");Rt.hsi=O0e,Tt.format.hsi=N0e,Tt.autodetect.push({p:2,test:(...e)=>{if(e=$t(e,"hsi"),Ft(e)==="array"&&e.length===3)return"hsi"}});const I0e=(e,r,n)=>Ih(e,r,n,"hsi");Co.hsi=I0e;const u_=(...e)=>{e=$t(e,"hsl");const[r,n,o]=e;let a,i,l;if(n===0)a=i=l=o*255;else{const s=[0,0,0],c=[0,0,0],u=o<.5?o*(1+n):o+n-o*n,d=2*o-u,p=r/360;s[0]=p+1/3,s[1]=p,s[2]=p-1/3;for(let f=0;f<3;f++)s[f]<0&&(s[f]+=1),s[f]>1&&(s[f]-=1),6*s[f]<1?c[f]=d+(u-d)*6*s[f]:2*s[f]<1?c[f]=u:3*s[f]<2?c[f]=d+(u-d)*(2/3-s[f])*6:c[f]=d;[a,i,l]=[c[0]*255,c[1]*255,c[2]*255]}return e.length>3?[a,i,l,e[3]]:[a,i,l,1]},GO=(...e)=>{e=$t(e,"rgba");let[r,n,o]=e;r/=255,n/=255,o/=255;const a=LO(r,n,o),i=BO(r,n,o),l=(i+a)/2;let s,c;return i===a?(s=0,c=Number.NaN):s=l<.5?(i-a)/(i+a):(i-a)/(2-i-a),r==i?c=(n-o)/(i-a):n==i?c=2+(o-r)/(i-a):o==i&&(c=4+(r-n)/(i-a)),c*=60,c<0&&(c+=360),e.length>3&&e[3]!==void 0?[c,s,l,e[3]]:[c,s,l]};Be.prototype.hsl=function(){return GO(this._rgb)};const z0e=(...e)=>new Be(...e,"hsl");Rt.hsl=z0e,Tt.format.hsl=u_,Tt.autodetect.push({p:2,test:(...e)=>{if(e=$t(e,"hsl"),Ft(e)==="array"&&e.length===3)return"hsl"}});const L0e=(e,r,n)=>Ih(e,r,n,"hsl");Co.hsl=L0e;const{floor:B0e}=Math,j0e=(...e)=>{e=$t(e,"hsv");let[r,n,o]=e,a,i,l;if(o*=255,n===0)a=i=l=o;else{r===360&&(r=0),r>360&&(r-=360),r<0&&(r+=360),r/=60;const s=B0e(r),c=r-s,u=o*(1-n),d=o*(1-n*c),p=o*(1-n*(1-c));switch(s){case 0:[a,i,l]=[o,p,u];break;case 1:[a,i,l]=[d,o,u];break;case 2:[a,i,l]=[u,o,p];break;case 3:[a,i,l]=[u,d,o];break;case 4:[a,i,l]=[p,u,o];break;case 5:[a,i,l]=[o,u,d];break}}return[a,i,l,e.length>3?e[3]:1]},{min:F0e,max:H0e}=Math,q0e=(...e)=>{e=$t(e,"rgb");let[r,n,o]=e;const a=F0e(r,n,o),i=H0e(r,n,o),l=i-a;let s,c,u;return u=i/255,i===0?(s=Number.NaN,c=0):(c=l/i,r===i&&(s=(n-o)/l),n===i&&(s=2+(o-r)/l),o===i&&(s=4+(r-n)/l),s*=60,s<0&&(s+=360)),[s,c,u]};Be.prototype.hsv=function(){return q0e(this._rgb)};const U0e=(...e)=>new Be(...e,"hsv");Rt.hsv=U0e,Tt.format.hsv=j0e,Tt.autodetect.push({p:2,test:(...e)=>{if(e=$t(e,"hsv"),Ft(e)==="array"&&e.length===3)return"hsv"}});const V0e=(e,r,n)=>Ih(e,r,n,"hsv");Co.hsv=V0e;function Kv(e,r){let n=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(r[0])||(r=r.map(l=>[l]));let o=r[0].length,a=r[0].map((l,s)=>r.map(c=>c[s])),i=e.map(l=>a.map(s=>Array.isArray(l)?l.reduce((c,u,d)=>c+u*(s[d]||0),0):s.reduce((c,u)=>c+u*l,0)));return n===1&&(i=i[0]),o===1?i.map(l=>l[0]):i}const d_=(...e)=>{e=$t(e,"lab");const[r,n,o,...a]=e,[i,l,s]=Y0e([r,n,o]),[c,u,d]=qO(i,l,s);return[c,u,d,...a.length>0&&a[0]<1?[a[0]]:[]]};function Y0e(e){var r=[[1.2268798758459243,-.5578149944602171,.2813910456659647],[-.0405757452148008,1.112286803280317,-.0717110580655164],[-.0763729366746601,-.4214933324022432,1.5869240198367816]],n=[[1,.3963377773761749,.2158037573099136],[1,-.1055613458156586,-.0638541728258133],[1,-.0894841775298119,-1.2914855480194092]],o=Kv(n,e);return Kv(r,o.map(a=>a**3))}const p_=(...e)=>{const[r,n,o,...a]=$t(e,"rgb"),i=UO(r,n,o);return[...W0e(i),...a.length>0&&a[0]<1?[a[0]]:[]]};function W0e(e){const r=[[.819022437996703,.3619062600528904,-.1288737815209879],[.0329836539323885,.9292868615863434,.0361446663506424],[.0481771893596242,.2642395317527308,.6335478284694309]],n=[[.210454268309314,.7936177747023054,-.0040720430116193],[1.9779985324311684,-2.42859224204858,.450593709617411],[.0259040424655478,.7827717124575296,-.8086757549230774]],o=Kv(r,e);return Kv(n,o.map(a=>Math.cbrt(a)))}Be.prototype.oklab=function(){return p_(this._rgb)},Object.assign(Rt,{oklab:(...e)=>new Be(...e,"oklab")}),Tt.format.oklab=d_,Tt.autodetect.push({p:2,test:(...e)=>{if(e=$t(e,"oklab"),Ft(e)==="array"&&e.length===3)return"oklab"}});const G0e=(e,r,n)=>{const o=e.oklab(),a=r.oklab();return new Be(o[0]+n*(a[0]-o[0]),o[1]+n*(a[1]-o[1]),o[2]+n*(a[2]-o[2]),"oklab")};Co.oklab=G0e;const X0e=(e,r,n)=>Ih(e,r,n,"oklch");Co.oklch=X0e;const{pow:h_,sqrt:f_,PI:m_,cos:XO,sin:KO,atan2:K0e}=Math,Z0e=(e,r="lrgb",n=null)=>{const o=e.length;n||(n=Array.from(new Array(o)).map(()=>1));const a=o/n.reduce(function(p,f){return p+f});if(n.forEach((p,f)=>{n[f]*=a}),e=e.map(p=>new Be(p)),r==="lrgb")return Q0e(e,n);const i=e.shift(),l=i.get(r),s=[];let c=0,u=0;for(let p=0;p{const g=p.get(r);d+=p.alpha()*n[f+1];for(let b=0;b=360;)f-=360;l[p]=f}else l[p]=l[p]/s[p];return d/=o,new Be(l,r).alpha(d>.99999?1:d,!0)},Q0e=(e,r)=>{const n=e.length,o=[0,0,0,0];for(let a=0;a.9999999&&(o[3]=1),new Be(J6(o))},{pow:J0e}=Math;function Zv(e){let r="rgb",n=Rt("#ccc"),o=0,a=[0,1],i=[],l=[0,0],s=!1,c=[],u=!1,d=0,p=1,f=!1,g={},b=!0,x=1;const w=function(D){if(D=D||["#fff","#000"],D&&Ft(D)==="string"&&Rt.brewer&&Rt.brewer[D.toLowerCase()]&&(D=Rt.brewer[D.toLowerCase()]),Ft(D)==="array"){D.length===1&&(D=[D[0],D[0]]),D=D.slice(0);for(let N=0;N=s[$];)$++;return $-1}return 0};let C=D=>D,_=D=>D;const T=function(D,N){let $,O;if(N==null&&(N=!1),isNaN(D)||D===null)return n;N?O=D:s&&s.length>2?O=k(D)/(s.length-2):p!==d?O=(D-d)/(p-d):O=1,O=_(O),N||(O=C(O)),x!==1&&(O=J0e(O,x)),O=l[0]+O*(1-l[0]-l[1]),O=Rd(O,0,1);const j=Math.floor(O*1e4);if(b&&g[j])$=g[j];else{if(Ft(c)==="array")for(let L=0;L=Y&&L===i.length-1){$=c[L];break}if(O>Y&&Og={};w(e);const A=function(D){const N=Rt(T(D));return u&&N[u]?N[u]():N};return A.classes=function(D){if(D!=null){if(Ft(D)==="array")s=D,a=[D[0],D[D.length-1]];else{const N=Rt.analyze(a);D===0?s=[N.min,N.max]:s=Rt.limits(N,"e",D)}return A}return s},A.domain=function(D){if(!arguments.length)return a;d=D[0],p=D[D.length-1],i=[];const N=c.length;if(D.length===N&&d!==p)for(let $ of Array.from(D))i.push(($-d)/(p-d));else{for(let $=0;$2){const $=D.map((j,L)=>L/(D.length-1)),O=D.map(j=>(j-d)/(p-d));O.every((j,L)=>$[L]===j)||(_=j=>{if(j<=0||j>=1)return j;let L=0;for(;j>=O[L+1];)L++;const Y=(j-O[L])/(O[L+1]-O[L]);return $[L]+Y*($[L+1]-$[L])})}}return a=[d,p],A},A.mode=function(D){return arguments.length?(r=D,R(),A):r},A.range=function(D,N){return w(D),A},A.out=function(D){return u=D,A},A.spread=function(D){return arguments.length?(o=D,A):o},A.correctLightness=function(D){return D==null&&(D=!0),f=D,R(),f?C=function(N){const $=T(0,!0).lab()[0],O=T(1,!0).lab()[0],j=$>O;let L=T(N,!0).lab()[0];const Y=$+(O-$)*N;let M=L-Y,q=0,z=1,H=20;for(;Math.abs(M)>.01&&H-- >0;)(function(){return j&&(M*=-1),M<0?(q=N,N+=(z-N)*.5):(z=N,N+=(q-N)*.5),L=T(N,!0).lab()[0],M=L-Y})();return N}:C=N=>N,A},A.padding=function(D){return D!=null?(Ft(D)==="number"&&(D=[D,D]),l=D,A):l},A.colors=function(D,N){arguments.length<2&&(N="hex");let $=[];if(arguments.length===0)$=c.slice(0);else if(D===1)$=[A(.5)];else if(D>1){const O=a[0],j=a[1]-O;$=eye(0,D).map(L=>A(O+L/(D-1)*j))}else{e=[];let O=[];if(s&&s.length>2)for(let j=1,L=s.length,Y=1<=L;Y?jL;Y?j++:j--)O.push((s[j-1]+s[j])*.5);else O=a;$=O.map(j=>A(j))}return Rt[N]&&($=$.map(O=>O[N]())),$},A.cache=function(D){return D!=null?(b=D,A):b},A.gamma=function(D){return D!=null?(x=D,A):x},A.nodata=function(D){return D!=null?(n=Rt(D),A):n},A}function eye(e,r,n){let o=[],a=ei;a?l++:l--)o.push(l);return o}const tye=function(e){let r=[1,1];for(let n=1;nnew Be(i)),e.length===2)[n,o]=e.map(i=>i.lab()),r=function(i){const l=[0,1,2].map(s=>n[s]+i*(o[s]-n[s]));return new Be(l,"lab")};else if(e.length===3)[n,o,a]=e.map(i=>i.lab()),r=function(i){const l=[0,1,2].map(s=>(1-i)*(1-i)*n[s]+2*(1-i)*i*o[s]+i*i*a[s]);return new Be(l,"lab")};else if(e.length===4){let i;[n,o,a,i]=e.map(l=>l.lab()),r=function(l){const s=[0,1,2].map(c=>(1-l)*(1-l)*(1-l)*n[c]+3*(1-l)*(1-l)*l*o[c]+3*(1-l)*l*l*a[c]+l*l*l*i[c]);return new Be(s,"lab")}}else if(e.length>=5){let i,l,s;i=e.map(c=>c.lab()),s=e.length-1,l=tye(s),r=function(c){const u=1-c,d=[0,1,2].map(p=>i.reduce((f,g,b)=>f+l[b]*u**(s-b)*c**b*g[p],0));return new Be(d,"lab")}}else throw new RangeError("No point in running bezier with only one color.");return r},nye=e=>{const r=rye(e);return r.scale=()=>Zv(r),r},{round:ZO}=Math;Be.prototype.rgb=function(e=!0){return e===!1?this._rgb.slice(0,3):this._rgb.slice(0,3).map(ZO)},Be.prototype.rgba=function(e=!0){return this._rgb.slice(0,4).map((r,n)=>n<3?e===!1?r:ZO(r):r)},Object.assign(Rt,{rgb:(...e)=>new Be(...e,"rgb")}),Tt.format.rgb=(...e)=>{const r=$t(e,"rgba");return r[3]===void 0&&(r[3]=1),r},Tt.autodetect.push({p:3,test:(...e)=>{if(e=$t(e,"rgba"),Ft(e)==="array"&&(e.length===3||e.length===4&&Ft(e[3])=="number"&&e[3]>=0&&e[3]<=1))return"rgb"}});const Hi=(e,r,n)=>{if(!Hi[n])throw new Error("unknown blend mode "+n);return Hi[n](e,r)},Qc=e=>(r,n)=>{const o=Rt(n).rgb(),a=Rt(r).rgb();return Rt.rgb(e(o,a))},Jc=e=>(r,n)=>{const o=[];return o[0]=e(r[0],n[0]),o[1]=e(r[1],n[1]),o[2]=e(r[2],n[2]),o},oye=e=>e,aye=(e,r)=>e*r/255,iye=(e,r)=>e>r?r:e,lye=(e,r)=>e>r?e:r,sye=(e,r)=>255*(1-(1-e/255)*(1-r/255)),cye=(e,r)=>r<128?2*e*r/255:255*(1-2*(1-e/255)*(1-r/255)),uye=(e,r)=>255*(1-(1-r/255)/(e/255)),dye=(e,r)=>e===255?255:(e=255*(r/255)/(1-e/255),e>255?255:e);Hi.normal=Qc(Jc(oye)),Hi.multiply=Qc(Jc(aye)),Hi.screen=Qc(Jc(sye)),Hi.overlay=Qc(Jc(cye)),Hi.darken=Qc(Jc(iye)),Hi.lighten=Qc(Jc(lye)),Hi.dodge=Qc(Jc(dye)),Hi.burn=Qc(Jc(uye));const{pow:pye,sin:hye,cos:fye}=Math;function mye(e=300,r=-1.5,n=1,o=1,a=[0,1]){let i=0,l;Ft(a)==="array"?l=a[1]-a[0]:(l=0,a=[a,a]);const s=function(c){const u=Ms*((e+120)/360+r*c),d=pye(a[0]+l*c,o),f=(i!==0?n[0]+c*i:n)*d*(1-d)/2,g=fye(u),b=hye(u),x=d+f*(-.14861*g+1.78277*b),w=d+f*(-.29227*g-.90649*b),k=d+f*(1.97294*g);return Rt(J6([x*255,w*255,k*255,1]))};return s.start=function(c){return c==null?e:(e=c,s)},s.rotations=function(c){return c==null?r:(r=c,s)},s.gamma=function(c){return c==null?o:(o=c,s)},s.hue=function(c){return c==null?n:(n=c,Ft(n)==="array"?(i=n[1]-n[0],i===0&&(n=n[1])):i=0,s)},s.lightness=function(c){return c==null?a:(Ft(c)==="array"?(a=c,l=c[1]-c[0]):(a=[c,c],l=0),s)},s.scale=()=>Rt.scale(s),s.hue(n),s}const gye="0123456789abcdef",{floor:yye,random:bye}=Math,vye=()=>{let e="#";for(let r=0;r<6;r++)e+=gye.charAt(yye(bye()*16));return new Be(e,"hex")},{log:QO,pow:xye,floor:wye,abs:kye}=Math;function JO(e,r=null){const n={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0};return Ft(e)==="object"&&(e=Object.values(e)),e.forEach(o=>{r&&Ft(o)==="object"&&(o=o[r]),o!=null&&!isNaN(o)&&(n.values.push(o),n.sum+=o,on.max&&(n.max=o),n.count+=1)}),n.domain=[n.min,n.max],n.limits=(o,a)=>eI(n,o,a),n}function eI(e,r="equal",n=7){Ft(e)=="array"&&(e=JO(e));const{min:o,max:a}=e,i=e.values.sort((s,c)=>s-c);if(n===1)return[o,a];const l=[];if(r.substr(0,1)==="c"&&(l.push(o),l.push(a)),r.substr(0,1)==="e"){l.push(o);for(let s=1;s 0");const s=Math.LOG10E*QO(o),c=Math.LOG10E*QO(a);l.push(o);for(let u=1;u200&&(p=!1)}const b={};for(let w=0;ww-k),l.push(x[0]);for(let w=1;w{e=new Be(e),r=new Be(r);const n=e.luminance(),o=r.luminance();return n>o?(n+.05)/(o+.05):(o+.05)/(n+.05)};/** * @license * * The APCA contrast prediction algorithm is based of the formulas published @@ -43,14 +43,14 @@ function w1e(e,r){for(var n=0;n{e=new Be(e),r=new Be(r),e.alpha()<1&&(e=Ch(r,e,e.alpha(),"rgb"));const n=XO(...e.rgb()),o=XO(...r.rgb()),a=n>=Xv?n:n+Math.pow(Xv-n,GO),i=o>=Xv?o:o+Math.pow(Xv-o,GO),l=Math.pow(i,.56)-Math.pow(a,.57),s=Math.pow(i,.65)-Math.pow(a,.62),c=Math.abs(i-a)0?c-YO:c+YO)*100};function XO(e,r,n){return .2126729*Math.pow(e/255,2.4)+.7151522*Math.pow(r/255,2.4)+.072175*Math.pow(n/255,2.4)}const{sqrt:Ms,pow:hn,min:rye,max:nye,atan2:KO,abs:ZO,cos:Kv,sin:QO,exp:oye,PI:JO}=Math;function aye(e,r,n=1,o=1,a=1){var i=function(z){return 360*z/(2*JO)},l=function(z){return 2*JO*z/360};e=new Be(e),r=new Be(r);const[s,c,u]=Array.from(e.lab()),[d,p,f]=Array.from(r.lab()),g=(s+d)/2,b=Ms(hn(c,2)+hn(u,2)),x=Ms(hn(p,2)+hn(f,2)),w=(b+x)/2,k=.5*(1-Ms(hn(w,7)/(hn(w,7)+hn(25,7)))),C=c*(1+k),_=p*(1+k),T=Ms(hn(C,2)+hn(u,2)),R=Ms(hn(_,2)+hn(f,2)),A=(T+R)/2,D=i(KO(u,C)),N=i(KO(f,_)),$=D>=0?D:D+360,M=N>=0?N:N+360,j=ZO($-M)>180?($+M+360)/2:($+M)/2,L=1-.17*Kv(l(j-30))+.24*Kv(l(2*j))+.32*Kv(l(3*j+6))-.2*Kv(l(4*j-63));let Y=M-$;Y=ZO(Y)<=180?Y:M<=$?Y+360:Y-360,Y=2*Ms(T*R)*QO(l(Y)/2);const O=d-s,U=R-T,I=1+.015*hn(g-50,2)/Ms(20+hn(g-50,2)),q=1+.045*A,V=1+.015*A*L,G=30*oye(-hn((j-275)/25,2)),J=-(2*Ms(hn(A,7)/(hn(A,7)+hn(25,7))))*QO(2*l(G)),Q=Ms(hn(O/(n*I),2)+hn(U/(o*q),2)+hn(Y/(a*V),2)+J*(U/(o*q))*(Y/(a*V)));return nye(0,rye(100,Q))}function iye(e,r,n="lab"){e=new Be(e),r=new Be(r);const o=e.get(n),a=r.get(n);let i=0;for(let l in o){const s=(o[l]||0)-(a[l]||0);i+=s*s}return Math.sqrt(i)}const lye=(...e)=>{try{return new Be(...e),!0}catch{return!1}},sye={cool(){return Gv([Tt.hsl(180,1,.9),Tt.hsl(250,.7,.4)])},hot(){return Gv(["#000","#f00","#ff0","#fff"]).mode("rgb")}},c_={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},eI=Object.keys(c_),tI=new Map(eI.map(e=>[e.toLowerCase(),e])),cye=typeof Proxy=="function"?new Proxy(c_,{get(e,r){const n=r.toLowerCase();if(tI.has(n))return e[tI.get(n)]},getOwnPropertyNames(){return Object.getOwnPropertyNames(eI)}}):c_,uye=(...e)=>{e=$t(e,"cmyk");const[r,n,o,a]=e,i=e.length>4?e[4]:1;return a===1?[0,0,0,i]:[r>=1?0:255*(1-r)*(1-a),n>=1?0:255*(1-n)*(1-a),o>=1?0:255*(1-o)*(1-a),i]},{max:rI}=Math,dye=(...e)=>{let[r,n,o]=$t(e,"rgb");r=r/255,n=n/255,o=o/255;const a=1-rI(r,rI(n,o)),i=a<1?1/(1-a):0,l=(1-r-a)*i,s=(1-n-a)*i,c=(1-o-a)*i;return[l,s,c,a]};Be.prototype.cmyk=function(){return dye(this._rgb)},Object.assign(Tt,{cmyk:(...e)=>new Be(...e,"cmyk")}),Ct.format.cmyk=uye,Ct.autodetect.push({p:2,test:(...e)=>{if(e=$t(e,"cmyk"),Ft(e)==="array"&&e.length===4)return"cmyk"}});const pye=(...e)=>{const r=$t(e,"hsla");let n=Eh(e)||"lsa";return r[0]=Ka(r[0]||0)+"deg",r[1]=Ka(r[1]*100)+"%",r[2]=Ka(r[2]*100)+"%",n==="hsla"||r.length>3&&r[3]<1?(r[3]="/ "+(r.length>3?r[3]:1),n="hsla"):r.length=3,`${n.substr(0,3)}(${r.join(" ")})`},hye=(...e)=>{const r=$t(e,"lab");let n=Eh(e)||"lab";return r[0]=Ka(r[0])+"%",r[1]=Ka(r[1]),r[2]=Ka(r[2]),n==="laba"||r.length>3&&r[3]<1?r[3]="/ "+(r.length>3?r[3]:1):r.length=3,`lab(${r.join(" ")})`},fye=(...e)=>{const r=$t(e,"lch");let n=Eh(e)||"lab";return r[0]=Ka(r[0])+"%",r[1]=Ka(r[1]),r[2]=isNaN(r[2])?"none":Ka(r[2])+"deg",n==="lcha"||r.length>3&&r[3]<1?r[3]="/ "+(r.length>3?r[3]:1):r.length=3,`lch(${r.join(" ")})`},mye=(...e)=>{const r=$t(e,"lab");return r[0]=Ka(r[0]*100)+"%",r[1]=W6(r[1]),r[2]=W6(r[2]),r.length>3&&r[3]<1?r[3]="/ "+(r.length>3?r[3]:1):r.length=3,`oklab(${r.join(" ")})`},nI=(...e)=>{const[r,n,o,...a]=$t(e,"rgb"),[i,l,s]=a_(r,n,o),[c,u,d]=LO(i,l,s);return[c,u,d,...a.length>0&&a[0]<1?[a[0]]:[]]},gye=(...e)=>{const r=$t(e,"lch");return r[0]=Ka(r[0]*100)+"%",r[1]=W6(r[1]),r[2]=isNaN(r[2])?"none":Ka(r[2])+"deg",r.length>3&&r[3]<1?r[3]="/ "+(r.length>3?r[3]:1):r.length=3,`oklch(${r.join(" ")})`},{round:u_}=Math,yye=(...e)=>{const r=$t(e,"rgba");let n=Eh(e)||"rgb";if(n.substr(0,3)==="hsl")return pye(BO(r),n);if(n.substr(0,3)==="lab"){const o=f1();$s("d50");const a=hye(Z6(r),n);return $s(o),a}if(n.substr(0,3)==="lch"){const o=f1();$s("d50");const a=fye(t_(r),n);return $s(o),a}return n.substr(0,5)==="oklab"?mye(a_(r)):n.substr(0,5)==="oklch"?gye(nI(r)):(r[0]=u_(r[0]),r[1]=u_(r[1]),r[2]=u_(r[2]),(n==="rgba"||r.length>3&&r[3]<1)&&(r[3]="/ "+(r.length>3?r[3]:1),n="rgba"),`${n.substr(0,3)}(${r.slice(0,n==="rgb"?3:4).join(" ")})`)},oI=(...e)=>{e=$t(e,"lch");const[r,n,o,...a]=e,[i,l,s]=IO(r,n,o),[c,u,d]=o_(i,l,s);return[c,u,d,...a.length>0&&a[0]<1?[a[0]]:[]]},Os=/((?:-?\d+)|(?:-?\d+(?:\.\d+)?)%|none)/.source,Fi=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)%?)|none)/.source,Zv=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)%)|none)/.source,Za=/\s*/.source,Nh=/\s+/.source,d_=/\s*,\s*/.source,Qv=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)(?:deg)?)|none)/.source,Dh=/\s*(?:\/\s*((?:[01]|[01]?\.\d+)|\d+(?:\.\d+)?%))?/.source,aI=new RegExp("^rgba?\\("+Za+[Os,Os,Os].join(Nh)+Dh+"\\)$"),iI=new RegExp("^rgb\\("+Za+[Os,Os,Os].join(d_)+Za+"\\)$"),lI=new RegExp("^rgba\\("+Za+[Os,Os,Os,Fi].join(d_)+Za+"\\)$"),sI=new RegExp("^hsla?\\("+Za+[Qv,Zv,Zv].join(Nh)+Dh+"\\)$"),cI=new RegExp("^hsl?\\("+Za+[Qv,Zv,Zv].join(d_)+Za+"\\)$"),uI=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,dI=new RegExp("^lab\\("+Za+[Fi,Fi,Fi].join(Nh)+Dh+"\\)$"),pI=new RegExp("^lch\\("+Za+[Fi,Fi,Qv].join(Nh)+Dh+"\\)$"),hI=new RegExp("^oklab\\("+Za+[Fi,Fi,Fi].join(Nh)+Dh+"\\)$"),fI=new RegExp("^oklch\\("+Za+[Fi,Fi,Qv].join(Nh)+Dh+"\\)$"),{round:mI}=Math,Ph=e=>e.map((r,n)=>n<=2?yd(mI(r),0,255):r),fn=(e,r=0,n=100,o=!1)=>(typeof e=="string"&&e.endsWith("%")&&(e=parseFloat(e.substring(0,e.length-1))/100,o?e=r+(e+1)*.5*(n-r):e=r+e*(n-r)),+e),jo=(e,r)=>e==="none"?r:e,p_=e=>{if(e=e.toLowerCase().trim(),e==="transparent")return[0,0,0,0];let r;if(Ct.format.named)try{return Ct.format.named(e)}catch{}if((r=e.match(aI))||(r=e.match(iI))){let n=r.slice(1,4);for(let a=0;a<3;a++)n[a]=+fn(jo(n[a],0),0,255);n=Ph(n);const o=r[4]!==void 0?+fn(r[4],0,1):1;return n[3]=o,n}if(r=e.match(lI)){const n=r.slice(1,5);for(let o=0;o<4;o++)n[o]=+fn(n[o],0,255);return n}if((r=e.match(sI))||(r=e.match(cI))){const n=r.slice(1,4);n[0]=+jo(n[0].replace("deg",""),0),n[1]=+fn(jo(n[1],0),0,100)*.01,n[2]=+fn(jo(n[2],0),0,100)*.01;const o=Ph(n_(n)),a=r[4]!==void 0?+fn(r[4],0,1):1;return o[3]=a,o}if(r=e.match(uI)){const n=r.slice(1,4);n[1]*=.01,n[2]*=.01;const o=n_(n);for(let a=0;a<3;a++)o[a]=mI(o[a]);return o[3]=+r[4],o}if(r=e.match(dI)){const n=r.slice(1,4);n[0]=fn(jo(n[0],0),0,100),n[1]=fn(jo(n[1],0),-125,125,!0),n[2]=fn(jo(n[2],0),-125,125,!0);const o=f1();$s("d50");const a=Ph(X6(n));$s(o);const i=r[4]!==void 0?+fn(r[4],0,1):1;return a[3]=i,a}if(r=e.match(pI)){const n=r.slice(1,4);n[0]=fn(n[0],0,100),n[1]=fn(jo(n[1],0),0,150,!1),n[2]=+jo(n[2].replace("deg",""),0);const o=f1();$s("d50");const a=Ph(e_(n));$s(o);const i=r[4]!==void 0?+fn(r[4],0,1):1;return a[3]=i,a}if(r=e.match(hI)){const n=r.slice(1,4);n[0]=fn(jo(n[0],0),0,1),n[1]=fn(jo(n[1],0),-.4,.4,!0),n[2]=fn(jo(n[2],0),-.4,.4,!0);const o=Ph(o_(n)),a=r[4]!==void 0?+fn(r[4],0,1):1;return o[3]=a,o}if(r=e.match(fI)){const n=r.slice(1,4);n[0]=fn(jo(n[0],0),0,1),n[1]=fn(jo(n[1],0),0,.4,!1),n[2]=+jo(n[2].replace("deg",""),0);const o=Ph(oI(n)),a=r[4]!==void 0?+fn(r[4],0,1):1;return o[3]=a,o}};p_.test=e=>aI.test(e)||sI.test(e)||dI.test(e)||pI.test(e)||hI.test(e)||fI.test(e)||iI.test(e)||lI.test(e)||cI.test(e)||uI.test(e)||e==="transparent",Be.prototype.css=function(e){return yye(this._rgb,e)};const bye=(...e)=>new Be(...e,"css");Tt.css=bye,Ct.format.css=p_,Ct.autodetect.push({p:5,test:(e,...r)=>{if(!r.length&&Ft(e)==="string"&&p_.test(e))return"css"}}),Ct.format.gl=(...e)=>{const r=$t(e,"rgba");return r[0]*=255,r[1]*=255,r[2]*=255,r};const vye=(...e)=>new Be(...e,"gl");Tt.gl=vye,Be.prototype.gl=function(){const e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]},Be.prototype.hex=function(e){return $O(this._rgb,e)};const xye=(...e)=>new Be(...e,"hex");Tt.hex=xye,Ct.format.hex=PO,Ct.autodetect.push({p:4,test:(e,...r)=>{if(!r.length&&Ft(e)==="string"&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});const{log:Jv}=Math,gI=e=>{const r=e/100;let n,o,a;return r<66?(n=255,o=r<6?0:-155.25485562709179-.44596950469579133*(o=r-2)+104.49216199393888*Jv(o),a=r<20?0:-254.76935184120902+.8274096064007395*(a=r-10)+115.67994401066147*Jv(a)):(n=351.97690566805693+.114206453784165*(n=r-55)-40.25366309332127*Jv(n),o=325.4494125711974+.07943456536662342*(o=r-50)-28.0852963507957*Jv(o),a=255),[n,o,a,1]},{round:wye}=Math,kye=(...e)=>{const r=$t(e,"rgb"),n=r[0],o=r[2];let a=1e3,i=4e4;const l=.4;let s;for(;i-a>l;){s=(i+a)*.5;const c=gI(s);c[2]/c[0]>=o/n?i=s:a=s}return wye(s)};Be.prototype.temp=Be.prototype.kelvin=Be.prototype.temperature=function(){return kye(this._rgb)};const h_=(...e)=>new Be(...e,"temp");Object.assign(Tt,{temp:h_,kelvin:h_,temperature:h_}),Ct.format.temp=Ct.format.kelvin=Ct.format.temperature=gI,Be.prototype.oklch=function(){return nI(this._rgb)},Object.assign(Tt,{oklch:(...e)=>new Be(...e,"oklch")}),Ct.format.oklch=oI,Ct.autodetect.push({p:2,test:(...e)=>{if(e=$t(e,"oklch"),Ft(e)==="array"&&e.length===3)return"oklch"}}),Object.assign(Tt,{analyze:UO,average:C0e,bezier:P0e,blend:ji,brewer:cye,Color:Be,colors:Sh,contrast:Q0e,contrastAPCA:tye,cubehelix:U0e,deltaE:aye,distance:iye,input:Ct,interpolate:Ch,limits:VO,mix:Ch,random:G0e,scale:Gv,scales:sye,valid:lye});const f_=[.96,.907,.805,.697,.605,.547,.518,.445,.395,.34],yI=[.32,.16,.08,.04,0,0,.04,.08,.16,.32];function _ye(e){const r=e.get("hsl.l");return f_.reduce((n,o)=>Math.abs(o-r)i===n),a=f_.map(i=>r.set("hsl.l",i)).map(i=>Tt(i)).map((i,l)=>{const s=yI[l]-yI[o];return s>=0?i.saturate(s):i.desaturate(s*-1)});return a[o]=Tt(e),{baseColorIndex:o,colors:a}}function Sye(e){return Eye(e).colors.map(r=>r.hex())}function Cye(...e){return ba(Tye,e)}function Tye(e,r){let n={};for(let[o,a]of e.entries())n[a]=r(a,o,e);return n}function m_(...e){return ba(m1,e)}function m1(e,r){if(e===r||Object.is(e,r))return!0;if(typeof e!="object"||typeof r!="object"||e===null||r===null||Object.getPrototypeOf(e)!==Object.getPrototypeOf(r))return!1;if(Array.isArray(e))return Rye(e,r);if(e instanceof Map)return Aye(e,r);if(e instanceof Set)return Nye(e,r);if(e instanceof Date)return e.getTime()===r.getTime();if(e instanceof RegExp)return e.toString()===r.toString();if(Object.keys(e).length!==Object.keys(r).length)return!1;for(let[n,o]of Object.entries(e))if(!(n in r)||!m1(o,r[n]))return!1;return!0}function Rye(e,r){if(e.length!==r.length)return!1;for(let[n,o]of e.entries())if(!m1(o,r[n]))return!1;return!0}function Aye(e,r){if(e.size!==r.size)return!1;for(let[n,o]of e.entries())if(!r.has(n)||!m1(o,r.get(n)))return!1;return!0}function Nye(e,r){if(e.size!==r.size)return!1;let n=[...r];for(let o of e){let a=!1;for(let[i,l]of n.entries())if(m1(o,l)){a=!0,n.splice(i,1);break}if(!a)return!1}return!0}const bI={fill:"#3b82f6",stroke:"#2563eb",hiContrast:"#eff6ff",loContrast:"#bfdbfe"},vI={fill:"#0284c7",stroke:"#0369a1",hiContrast:"#f0f9ff",loContrast:"#B6ECF7"},xI={fill:"#64748b",stroke:"#475569",hiContrast:"#f8fafc",loContrast:"#cbd5e1"},Dye={primary:bI,blue:bI,secondary:vI,sky:vI,muted:xI,slate:xI,gray:{fill:"#737373",stroke:"#525252",hiContrast:"#fafafa",loContrast:"#d4d4d4"},red:{fill:"#AC4D39",stroke:"#853A2D",hiContrast:"#FBD3CB",loContrast:"#f5b2a3"},green:{fill:"#428a4f",stroke:"#2d5d39",hiContrast:"#f8fafc",loContrast:"#c2f0c2"},amber:{fill:"#A35829",stroke:"#7E451D",hiContrast:"#FFE0C2",loContrast:"#f9b27c"},indigo:{fill:"#6366f1",stroke:"#4f46e5",hiContrast:"#eef2ff",loContrast:"#c7d2fe"}},Pye={line:"#6E6E6E",labelBg:"#18191b",label:"#C6C6C6"},wI={line:"#64748b",labelBg:"#0f172a",label:"#cbd5e1"},kI={line:"#3b82f6",labelBg:"#172554",label:"#60a5fa"},_I={line:"#0ea5e9",labelBg:"#082f49",label:"#38bdf8"},$ye={amber:{line:"#b45309",labelBg:"#78350f",label:"#FFE0C2"},blue:kI,gray:Pye,green:{line:"#15803d",labelBg:"#052e16",label:"#22c55e"},indigo:{line:"#6366f1",labelBg:"#1e1b4b",label:"#818cf8"},muted:wI,primary:kI,red:{line:"#AC4D39",labelBg:"#b91c1c",label:"#f5b2a3"},secondary:_I,sky:_I,slate:wI},EI=60,SI=2,CI=1;function Mye(e){nt(Tt.valid(e),`Invalid color: ${e}`);const r=Sye(e),n=r[6],o=Oye(n);return{elements:{fill:n,stroke:r[7],hiContrast:o[0],loContrast:o[1]},relationships:{line:r[4],label:r[3],labelBg:r[9]}}}function Oye(e){const r=Tt(e);let n=r.brighten(SI),o=r.darken(SI),a,i,l,s;do a=n,i=o,n=n.brighten(CI),o=o.darken(CI),l=Tt.contrastAPCA(r,n),s=Tt.contrastAPCA(r,o);while(Math.abs(l)Math.abs(s)?[n.brighten(.4).hex(),n.hex()]:[o.darken(.4).hex(),o.hex()]}const Iye=["rectangle","person","browser","mobile","cylinder","storage","queue"],Lye={colors:Cye(["amber","blue","gray","slate","green","indigo","muted","primary","red","secondary","sky"],e=>({elements:Dye[e],relationships:$ye[e]})),sizes:{xs:{width:180,height:100},sm:{width:240,height:135},md:{width:320,height:180},lg:{width:420,height:234},xl:{width:520,height:290}},spacing:{xs:8,sm:10,md:16,lg:24,xl:32},textSizes:{xs:13.33,sm:16,md:19.2,lg:23.04,xl:27.65}};function g_(e){if(e===null||typeof e!="object")return!1;const r=Object.getPrototypeOf(e);return r!==null&&r!==Object.prototype&&Object.getPrototypeOf(r)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function y_(e,r,n=".",o){if(!g_(r))return y_(e,{},n);const a=Object.assign({},r);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const l=e[i];l!=null&&(Array.isArray(l)&&Array.isArray(a[i])?a[i]=[...l,...a[i]]:g_(l)&&g_(a[i])?a[i]=y_(l,a[i],(n?`${n}.`:"")+i.toString()):a[i]=l)}return a}function zye(e){return(...r)=>r.reduce((n,o)=>y_(n,o,""),{})}const Bye=zye();function e3({size:e,padding:r,textSize:n,...o},a=b_.defaults.size){return e??=a,n??=e,r??=e,{...o,size:e,padding:r,textSize:n}}const b_={theme:Lye,defaults:{color:"primary",size:"md",opacity:15,shape:"rectangle",group:{opacity:15,border:"dashed"},relationship:{color:"gray",line:"dashed",arrow:"normal"}}};let TI=class bO{constructor(r){this.config=r,this.theme=r.theme,this.defaults=r.defaults}theme;defaults;static DEFAULT=new bO(b_);static from(...r){return _h(r,1)?new bO(Bye(...r,b_)):this.DEFAULT}get elementColors(){return this.theme.colors[this.defaults.color].elements}get relationshipColors(){return this.theme.colors[this.defaults.relationship.color].relationships}get groupColors(){const r=this.defaults.group?.color;return r?cr(this,"defaultGroup",()=>({...this.elementColors,...this.theme.colors[r].elements})):this.elementColors}isDefaultColor(r){return r===this.defaults.color}colors(r){if(r??=this.defaults.color,this.isThemeColor(r))return this.theme.colors[r];throw new Error(`Unknown color: ${r}`)}fontSize(r){return r??=this.defaults.text??this.defaults.size,this.theme.textSizes[r]}padding(r){return r??=this.defaults.padding??this.defaults.size,this.theme.spacing[r]}isThemeColor(r){return r in this.theme.colors}nodeSizes(r){const n=e3(r,this.defaults.size);return{sizes:n,values:{sizes:this.theme.sizes[n.size],padding:this.padding(n.padding),textSize:this.fontSize(n.textSize)}}}computeFrom(r){if(this.isThemeColor(r))return this.theme.colors[r];if(!Tt.valid(r))throw new Error(`Invalid color value: "${r}"`);return cr(this,`compute-${r}`,()=>Mye(r))}equals(r){return r===this?!0:m_(this.config,r.config)}};function t3(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Uc(e){return typeof e=="string"}var v_={exports:{}},RI;function jye(){if(RI)return v_.exports;RI=1;/* + */const tI=.027,Eye=5e-4,Sye=.1,rI=1.14,Qv=.022,nI=1.414,Cye=(e,r)=>{e=new Be(e),r=new Be(r),e.alpha()<1&&(e=Mh(r,e,e.alpha(),"rgb"));const n=oI(...e.rgb()),o=oI(...r.rgb()),a=n>=Qv?n:n+Math.pow(Qv-n,nI),i=o>=Qv?o:o+Math.pow(Qv-o,nI),l=Math.pow(i,.56)-Math.pow(a,.57),s=Math.pow(i,.65)-Math.pow(a,.62),c=Math.abs(i-a)0?c-tI:c+tI)*100};function oI(e,r,n){return .2126729*Math.pow(e/255,2.4)+.7151522*Math.pow(r/255,2.4)+.072175*Math.pow(n/255,2.4)}const{sqrt:Is,pow:bn,min:Tye,max:Rye,atan2:aI,abs:iI,cos:Jv,sin:lI,exp:Aye,PI:sI}=Math;function Nye(e,r,n=1,o=1,a=1){var i=function(B){return 360*B/(2*sI)},l=function(B){return 2*sI*B/360};e=new Be(e),r=new Be(r);const[s,c,u]=Array.from(e.lab()),[d,p,f]=Array.from(r.lab()),g=(s+d)/2,b=Is(bn(c,2)+bn(u,2)),x=Is(bn(p,2)+bn(f,2)),w=(b+x)/2,k=.5*(1-Is(bn(w,7)/(bn(w,7)+bn(25,7)))),C=c*(1+k),_=p*(1+k),T=Is(bn(C,2)+bn(u,2)),R=Is(bn(_,2)+bn(f,2)),A=(T+R)/2,D=i(aI(u,C)),N=i(aI(f,_)),$=D>=0?D:D+360,O=N>=0?N:N+360,j=iI($-O)>180?($+O+360)/2:($+O)/2,L=1-.17*Jv(l(j-30))+.24*Jv(l(2*j))+.32*Jv(l(3*j+6))-.2*Jv(l(4*j-63));let Y=O-$;Y=iI(Y)<=180?Y:O<=$?Y+360:Y-360,Y=2*Is(T*R)*lI(l(Y)/2);const M=d-s,q=R-T,z=1+.015*bn(g-50,2)/Is(20+bn(g-50,2)),H=1+.045*A,U=1+.015*A*L,K=30*Aye(-bn((j-275)/25,2)),X=-(2*Is(bn(A,7)/(bn(A,7)+bn(25,7))))*lI(2*l(K)),Z=Is(bn(M/(n*z),2)+bn(q/(o*H),2)+bn(Y/(a*U),2)+X*(q/(o*H))*(Y/(a*U)));return Rye(0,Tye(100,Z))}function Dye(e,r,n="lab"){e=new Be(e),r=new Be(r);const o=e.get(n),a=r.get(n);let i=0;for(let l in o){const s=(o[l]||0)-(a[l]||0);i+=s*s}return Math.sqrt(i)}const Pye=(...e)=>{try{return new Be(...e),!0}catch{return!1}},$ye={cool(){return Zv([Rt.hsl(180,1,.9),Rt.hsl(250,.7,.4)])},hot(){return Zv(["#000","#f00","#ff0","#fff"]).mode("rgb")}},g_={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},cI=Object.keys(g_),uI=new Map(cI.map(e=>[e.toLowerCase(),e])),Mye=typeof Proxy=="function"?new Proxy(g_,{get(e,r){const n=r.toLowerCase();if(uI.has(n))return e[uI.get(n)]},getOwnPropertyNames(){return Object.getOwnPropertyNames(cI)}}):g_,Oye=(...e)=>{e=$t(e,"cmyk");const[r,n,o,a]=e,i=e.length>4?e[4]:1;return a===1?[0,0,0,i]:[r>=1?0:255*(1-r)*(1-a),n>=1?0:255*(1-n)*(1-a),o>=1?0:255*(1-o)*(1-a),i]},{max:dI}=Math,Iye=(...e)=>{let[r,n,o]=$t(e,"rgb");r=r/255,n=n/255,o=o/255;const a=1-dI(r,dI(n,o)),i=a<1?1/(1-a):0,l=(1-r-a)*i,s=(1-n-a)*i,c=(1-o-a)*i;return[l,s,c,a]};Be.prototype.cmyk=function(){return Iye(this._rgb)},Object.assign(Rt,{cmyk:(...e)=>new Be(...e,"cmyk")}),Tt.format.cmyk=Oye,Tt.autodetect.push({p:2,test:(...e)=>{if(e=$t(e,"cmyk"),Ft(e)==="array"&&e.length===4)return"cmyk"}});const zye=(...e)=>{const r=$t(e,"hsla");let n=Ph(e)||"lsa";return r[0]=ei(r[0]||0)+"deg",r[1]=ei(r[1]*100)+"%",r[2]=ei(r[2]*100)+"%",n==="hsla"||r.length>3&&r[3]<1?(r[3]="/ "+(r.length>3?r[3]:1),n="hsla"):r.length=3,`${n.substr(0,3)}(${r.join(" ")})`},Lye=(...e)=>{const r=$t(e,"lab");let n=Ph(e)||"lab";return r[0]=ei(r[0])+"%",r[1]=ei(r[1]),r[2]=ei(r[2]),n==="laba"||r.length>3&&r[3]<1?r[3]="/ "+(r.length>3?r[3]:1):r.length=3,`lab(${r.join(" ")})`},Bye=(...e)=>{const r=$t(e,"lch");let n=Ph(e)||"lab";return r[0]=ei(r[0])+"%",r[1]=ei(r[1]),r[2]=isNaN(r[2])?"none":ei(r[2])+"deg",n==="lcha"||r.length>3&&r[3]<1?r[3]="/ "+(r.length>3?r[3]:1):r.length=3,`lch(${r.join(" ")})`},jye=(...e)=>{const r=$t(e,"lab");return r[0]=ei(r[0]*100)+"%",r[1]=e_(r[1]),r[2]=e_(r[2]),r.length>3&&r[3]<1?r[3]="/ "+(r.length>3?r[3]:1):r.length=3,`oklab(${r.join(" ")})`},pI=(...e)=>{const[r,n,o,...a]=$t(e,"rgb"),[i,l,s]=p_(r,n,o),[c,u,d]=YO(i,l,s);return[c,u,d,...a.length>0&&a[0]<1?[a[0]]:[]]},Fye=(...e)=>{const r=$t(e,"lch");return r[0]=ei(r[0]*100)+"%",r[1]=e_(r[1]),r[2]=isNaN(r[2])?"none":ei(r[2])+"deg",r.length>3&&r[3]<1?r[3]="/ "+(r.length>3?r[3]:1):r.length=3,`oklch(${r.join(" ")})`},{round:y_}=Math,Hye=(...e)=>{const r=$t(e,"rgba");let n=Ph(e)||"rgb";if(n.substr(0,3)==="hsl")return zye(GO(r),n);if(n.substr(0,3)==="lab"){const o=E1();Os("d50");const a=Lye(o_(r),n);return Os(o),a}if(n.substr(0,3)==="lch"){const o=E1();Os("d50");const a=Bye(s_(r),n);return Os(o),a}return n.substr(0,5)==="oklab"?jye(p_(r)):n.substr(0,5)==="oklch"?Fye(pI(r)):(r[0]=y_(r[0]),r[1]=y_(r[1]),r[2]=y_(r[2]),(n==="rgba"||r.length>3&&r[3]<1)&&(r[3]="/ "+(r.length>3?r[3]:1),n="rgba"),`${n.substr(0,3)}(${r.slice(0,n==="rgb"?3:4).join(" ")})`)},hI=(...e)=>{e=$t(e,"lch");const[r,n,o,...a]=e,[i,l,s]=VO(r,n,o),[c,u,d]=d_(i,l,s);return[c,u,d,...a.length>0&&a[0]<1?[a[0]]:[]]},zs=/((?:-?\d+)|(?:-?\d+(?:\.\d+)?)%|none)/.source,qi=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)%?)|none)/.source,e3=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)%)|none)/.source,ti=/\s*/.source,Lh=/\s+/.source,b_=/\s*,\s*/.source,t3=/((?:-?(?:\d+(?:\.\d*)?|\.\d+)(?:deg)?)|none)/.source,Bh=/\s*(?:\/\s*((?:[01]|[01]?\.\d+)|\d+(?:\.\d+)?%))?/.source,fI=new RegExp("^rgba?\\("+ti+[zs,zs,zs].join(Lh)+Bh+"\\)$"),mI=new RegExp("^rgb\\("+ti+[zs,zs,zs].join(b_)+ti+"\\)$"),gI=new RegExp("^rgba\\("+ti+[zs,zs,zs,qi].join(b_)+ti+"\\)$"),yI=new RegExp("^hsla?\\("+ti+[t3,e3,e3].join(Lh)+Bh+"\\)$"),bI=new RegExp("^hsl?\\("+ti+[t3,e3,e3].join(b_)+ti+"\\)$"),vI=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,xI=new RegExp("^lab\\("+ti+[qi,qi,qi].join(Lh)+Bh+"\\)$"),wI=new RegExp("^lch\\("+ti+[qi,qi,t3].join(Lh)+Bh+"\\)$"),kI=new RegExp("^oklab\\("+ti+[qi,qi,qi].join(Lh)+Bh+"\\)$"),_I=new RegExp("^oklch\\("+ti+[qi,qi,t3].join(Lh)+Bh+"\\)$"),{round:EI}=Math,jh=e=>e.map((r,n)=>n<=2?Rd(EI(r),0,255):r),vn=(e,r=0,n=100,o=!1)=>(typeof e=="string"&&e.endsWith("%")&&(e=parseFloat(e.substring(0,e.length-1))/100,o?e=r+(e+1)*.5*(n-r):e=r+e*(n-r)),+e),jo=(e,r)=>e==="none"?r:e,v_=e=>{if(e=e.toLowerCase().trim(),e==="transparent")return[0,0,0,0];let r;if(Tt.format.named)try{return Tt.format.named(e)}catch{}if((r=e.match(fI))||(r=e.match(mI))){let n=r.slice(1,4);for(let a=0;a<3;a++)n[a]=+vn(jo(n[a],0),0,255);n=jh(n);const o=r[4]!==void 0?+vn(r[4],0,1):1;return n[3]=o,n}if(r=e.match(gI)){const n=r.slice(1,5);for(let o=0;o<4;o++)n[o]=+vn(n[o],0,255);return n}if((r=e.match(yI))||(r=e.match(bI))){const n=r.slice(1,4);n[0]=+jo(n[0].replace("deg",""),0),n[1]=+vn(jo(n[1],0),0,100)*.01,n[2]=+vn(jo(n[2],0),0,100)*.01;const o=jh(u_(n)),a=r[4]!==void 0?+vn(r[4],0,1):1;return o[3]=a,o}if(r=e.match(vI)){const n=r.slice(1,4);n[1]*=.01,n[2]*=.01;const o=u_(n);for(let a=0;a<3;a++)o[a]=EI(o[a]);return o[3]=+r[4],o}if(r=e.match(xI)){const n=r.slice(1,4);n[0]=vn(jo(n[0],0),0,100),n[1]=vn(jo(n[1],0),-125,125,!0),n[2]=vn(jo(n[2],0),-125,125,!0);const o=E1();Os("d50");const a=jh(r_(n));Os(o);const i=r[4]!==void 0?+vn(r[4],0,1):1;return a[3]=i,a}if(r=e.match(wI)){const n=r.slice(1,4);n[0]=vn(n[0],0,100),n[1]=vn(jo(n[1],0),0,150,!1),n[2]=+jo(n[2].replace("deg",""),0);const o=E1();Os("d50");const a=jh(l_(n));Os(o);const i=r[4]!==void 0?+vn(r[4],0,1):1;return a[3]=i,a}if(r=e.match(kI)){const n=r.slice(1,4);n[0]=vn(jo(n[0],0),0,1),n[1]=vn(jo(n[1],0),-.4,.4,!0),n[2]=vn(jo(n[2],0),-.4,.4,!0);const o=jh(d_(n)),a=r[4]!==void 0?+vn(r[4],0,1):1;return o[3]=a,o}if(r=e.match(_I)){const n=r.slice(1,4);n[0]=vn(jo(n[0],0),0,1),n[1]=vn(jo(n[1],0),0,.4,!1),n[2]=+jo(n[2].replace("deg",""),0);const o=jh(hI(n)),a=r[4]!==void 0?+vn(r[4],0,1):1;return o[3]=a,o}};v_.test=e=>fI.test(e)||yI.test(e)||xI.test(e)||wI.test(e)||kI.test(e)||_I.test(e)||mI.test(e)||gI.test(e)||bI.test(e)||vI.test(e)||e==="transparent",Be.prototype.css=function(e){return Hye(this._rgb,e)};const qye=(...e)=>new Be(...e,"css");Rt.css=qye,Tt.format.css=v_,Tt.autodetect.push({p:5,test:(e,...r)=>{if(!r.length&&Ft(e)==="string"&&v_.test(e))return"css"}}),Tt.format.gl=(...e)=>{const r=$t(e,"rgba");return r[0]*=255,r[1]*=255,r[2]*=255,r};const Uye=(...e)=>new Be(...e,"gl");Rt.gl=Uye,Be.prototype.gl=function(){const e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]},Be.prototype.hex=function(e){return HO(this._rgb,e)};const Vye=(...e)=>new Be(...e,"hex");Rt.hex=Vye,Tt.format.hex=FO,Tt.autodetect.push({p:4,test:(e,...r)=>{if(!r.length&&Ft(e)==="string"&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});const{log:r3}=Math,SI=e=>{const r=e/100;let n,o,a;return r<66?(n=255,o=r<6?0:-155.25485562709179-.44596950469579133*(o=r-2)+104.49216199393888*r3(o),a=r<20?0:-254.76935184120902+.8274096064007395*(a=r-10)+115.67994401066147*r3(a)):(n=351.97690566805693+.114206453784165*(n=r-55)-40.25366309332127*r3(n),o=325.4494125711974+.07943456536662342*(o=r-50)-28.0852963507957*r3(o),a=255),[n,o,a,1]},{round:Yye}=Math,Wye=(...e)=>{const r=$t(e,"rgb"),n=r[0],o=r[2];let a=1e3,i=4e4;const l=.4;let s;for(;i-a>l;){s=(i+a)*.5;const c=SI(s);c[2]/c[0]>=o/n?i=s:a=s}return Yye(s)};Be.prototype.temp=Be.prototype.kelvin=Be.prototype.temperature=function(){return Wye(this._rgb)};const x_=(...e)=>new Be(...e,"temp");Object.assign(Rt,{temp:x_,kelvin:x_,temperature:x_}),Tt.format.temp=Tt.format.kelvin=Tt.format.temperature=SI,Be.prototype.oklch=function(){return pI(this._rgb)},Object.assign(Rt,{oklch:(...e)=>new Be(...e,"oklch")}),Tt.format.oklch=hI,Tt.autodetect.push({p:2,test:(...e)=>{if(e=$t(e,"oklch"),Ft(e)==="array"&&e.length===3)return"oklch"}}),Object.assign(Rt,{analyze:JO,average:Z0e,bezier:nye,blend:Hi,brewer:Mye,Color:Be,colors:$h,contrast:_ye,contrastAPCA:Cye,cubehelix:mye,deltaE:Nye,distance:Dye,input:Tt,interpolate:Mh,limits:eI,mix:Mh,random:vye,scale:Zv,scales:$ye,valid:Pye});const w_=[.96,.907,.805,.697,.605,.547,.518,.445,.395,.34],CI=[.32,.16,.08,.04,0,0,.04,.08,.16,.32];function Gye(e){const r=e.get("hsl.l");return w_.reduce((n,o)=>Math.abs(o-r)i===n),a=w_.map(i=>r.set("hsl.l",i)).map(i=>Rt(i)).map((i,l)=>{const s=CI[l]-CI[o];return s>=0?i.saturate(s):i.desaturate(s*-1)});return a[o]=Rt(e),{baseColorIndex:o,colors:a}}function Kye(e){return Xye(e).colors.map(r=>r.hex())}function Zye(...e){return xa(Qye,e)}function Qye(e,r){let n={};for(let[o,a]of e.entries())n[a]=r(a,o,e);return n}function k_(...e){return xa(S1,e)}function S1(e,r){if(e===r||Object.is(e,r))return!0;if(typeof e!="object"||typeof r!="object"||e===null||r===null||Object.getPrototypeOf(e)!==Object.getPrototypeOf(r))return!1;if(Array.isArray(e))return Jye(e,r);if(e instanceof Map)return ebe(e,r);if(e instanceof Set)return tbe(e,r);if(e instanceof Date)return e.getTime()===r.getTime();if(e instanceof RegExp)return e.toString()===r.toString();if(Object.keys(e).length!==Object.keys(r).length)return!1;for(let[n,o]of Object.entries(e))if(!(n in r)||!S1(o,r[n]))return!1;return!0}function Jye(e,r){if(e.length!==r.length)return!1;for(let[n,o]of e.entries())if(!S1(o,r[n]))return!1;return!0}function ebe(e,r){if(e.size!==r.size)return!1;for(let[n,o]of e.entries())if(!r.has(n)||!S1(o,r.get(n)))return!1;return!0}function tbe(e,r){if(e.size!==r.size)return!1;let n=[...r];for(let o of e){let a=!1;for(let[i,l]of n.entries())if(S1(o,l)){a=!0,n.splice(i,1);break}if(!a)return!1}return!0}const TI={fill:"#3b82f6",stroke:"#2563eb",hiContrast:"#eff6ff",loContrast:"#bfdbfe"},RI={fill:"#0284c7",stroke:"#0369a1",hiContrast:"#f0f9ff",loContrast:"#B6ECF7"},AI={fill:"#64748b",stroke:"#475569",hiContrast:"#f8fafc",loContrast:"#cbd5e1"},rbe={primary:TI,blue:TI,secondary:RI,sky:RI,muted:AI,slate:AI,gray:{fill:"#737373",stroke:"#525252",hiContrast:"#fafafa",loContrast:"#d4d4d4"},red:{fill:"#AC4D39",stroke:"#853A2D",hiContrast:"#FBD3CB",loContrast:"#f5b2a3"},green:{fill:"#428a4f",stroke:"#2d5d39",hiContrast:"#f8fafc",loContrast:"#c2f0c2"},amber:{fill:"#A35829",stroke:"#7E451D",hiContrast:"#FFE0C2",loContrast:"#f9b27c"},indigo:{fill:"#6366f1",stroke:"#4f46e5",hiContrast:"#eef2ff",loContrast:"#c7d2fe"}},nbe={line:"#6E6E6E",labelBg:"#18191b",label:"#C6C6C6"},NI={line:"#64748b",labelBg:"#0f172a",label:"#cbd5e1"},DI={line:"#3b82f6",labelBg:"#172554",label:"#60a5fa"},PI={line:"#0ea5e9",labelBg:"#082f49",label:"#38bdf8"},obe={amber:{line:"#b45309",labelBg:"#78350f",label:"#FFE0C2"},blue:DI,gray:nbe,green:{line:"#15803d",labelBg:"#052e16",label:"#22c55e"},indigo:{line:"#6366f1",labelBg:"#1e1b4b",label:"#818cf8"},muted:NI,primary:DI,red:{line:"#AC4D39",labelBg:"#b91c1c",label:"#f5b2a3"},secondary:PI,sky:PI,slate:NI},$I=60,MI=2,OI=1;function abe(e){nt(Rt.valid(e),`Invalid color: ${e}`);const r=Kye(e),n=r[6],o=ibe(n);return{elements:{fill:n,stroke:r[7],hiContrast:o[0],loContrast:o[1]},relationships:{line:r[4],label:r[3],labelBg:r[9]}}}function ibe(e){const r=Rt(e);let n=r.brighten(MI),o=r.darken(MI),a,i,l,s;do a=n,i=o,n=n.brighten(OI),o=o.darken(OI),l=Rt.contrastAPCA(r,n),s=Rt.contrastAPCA(r,o);while(Math.abs(l)<$I&&Math.abs(s)<$I&&(!k_(n,a)||!k_(o,i)));return Math.abs(l)>Math.abs(s)?[n.brighten(.4).hex(),n.hex()]:[o.darken(.4).hex(),o.hex()]}const lbe=["rectangle","person","browser","mobile","cylinder","storage","queue"],sbe={colors:Zye(["amber","blue","gray","slate","green","indigo","muted","primary","red","secondary","sky"],e=>({elements:rbe[e],relationships:obe[e]})),sizes:{xs:{width:180,height:100},sm:{width:240,height:135},md:{width:320,height:180},lg:{width:420,height:234},xl:{width:520,height:290}},spacing:{xs:8,sm:10,md:16,lg:24,xl:32},textSizes:{xs:13.33,sm:16,md:19.2,lg:23.04,xl:27.65}};function __(e){if(e===null||typeof e!="object")return!1;const r=Object.getPrototypeOf(e);return r!==null&&r!==Object.prototype&&Object.getPrototypeOf(r)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function E_(e,r,n=".",o){if(!__(r))return E_(e,{},n);const a=Object.assign({},r);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const l=e[i];l!=null&&(Array.isArray(l)&&Array.isArray(a[i])?a[i]=[...l,...a[i]]:__(l)&&__(a[i])?a[i]=E_(l,a[i],(n?`${n}.`:"")+i.toString()):a[i]=l)}return a}function cbe(e){return(...r)=>r.reduce((n,o)=>E_(n,o,""),{})}const ube=cbe();function n3({size:e,padding:r,textSize:n,...o},a=S_.defaults.size){return e??=a,n??=e,r??=e,{...o,size:e,padding:r,textSize:n}}const S_={theme:sbe,defaults:{color:"primary",size:"md",opacity:15,shape:"rectangle",group:{opacity:15,border:"dashed"},relationship:{color:"gray",line:"dashed",arrow:"normal"}}};let II=class TO{constructor(r){this.config=r,this.theme=r.theme,this.defaults=r.defaults}theme;defaults;static DEFAULT=new TO(S_);static from(...r){return Dh(r,1)?new TO(ube(...r,S_)):this.DEFAULT}get elementColors(){return this.theme.colors[this.defaults.color].elements}get relationshipColors(){return this.theme.colors[this.defaults.relationship.color].relationships}get groupColors(){const r=this.defaults.group?.color;return r?pr(this,"defaultGroup",()=>({...this.elementColors,...this.theme.colors[r].elements})):this.elementColors}isDefaultColor(r){return r===this.defaults.color}colors(r){if(r??=this.defaults.color,this.isThemeColor(r))return this.theme.colors[r];throw new Error(`Unknown color: ${r}`)}fontSize(r){return r??=this.defaults.text??this.defaults.size,this.theme.textSizes[r]}padding(r){return r??=this.defaults.padding??this.defaults.size,this.theme.spacing[r]}isThemeColor(r){return r in this.theme.colors}nodeSizes(r){const n=n3(r,this.defaults.size);return{sizes:n,values:{sizes:this.theme.sizes[n.size],padding:this.padding(n.padding),textSize:this.fontSize(n.textSize)}}}computeFrom(r){if(this.isThemeColor(r))return this.theme.colors[r];if(!Rt.valid(r))throw new Error(`Invalid color value: "${r}"`);return pr(this,`compute-${r}`,()=>abe(r))}equals(r){return r===this?!0:k_(this.config,r.config)}};function o3(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function eu(e){return typeof e=="string"}var C_={exports:{}},zI;function dbe(){if(zI)return C_.exports;zI=1;/* * @version 1.4.0 * @date 2015-10-26 * @stability 3 - Stable * @author Lauri Rooden (https://github.com/litejs/natural-compare-lite) * @license MIT License - */var e=function(r,n){var o,a,i=1,l=0,s=0,c=String.alphabet;function u(d,p,f){if(f){for(o=p;f=u(d,o),f<76&&f>65;)++o;return+d.slice(p-1,o)}return f=c&&c.indexOf(d.charAt(p)),f>-1?f+76:(f=d.charCodeAt(p)||0,f<45||f>127?f:f<46?65:f<48?f-1:f<58?f+18:f<65?f-11:f<91?f+11:f<97?f-37:f<123?f+5:f-63)}if((r+="")!=(n+="")){for(;i;)if(a=u(r,l++),i=u(n,s++),a<76&&i<76&&a>66&&i>66&&(a=u(r,l,l),i=u(n,s,l=o),s=o),a!=i)return a{if(n===o)return 0;if(!n)return-1;if(!o)return 1;const a=n.split(e),i=o.split(e),l=Math.min(a.length,i.length);for(let c=0;c0?e.slice(0,r):null}function g1(e){const r=e.lastIndexOf(".");return r>0?e.slice(r+1):e}const y1=e=>x_(e)?e:e.id;function qn(e,r){const n=y1(e);return r?y1(r).startsWith(n+"."):o=>{const a=y1(o);return n.startsWith(a+".")}}function DI(e,r){if(!r)return a=>DI(e,a);const n=y1(e),o=y1(r);return n===o||o.startsWith(n+".")||n.startsWith(o+".")}function PI(e,r){return n=>qn(e,n)}function o3(e){return(x_(e)?e:e.id).split(".").length}function b1(e,r){const n=e.split(".");if(n.length<2)return null;const o=r.split(".");if(o.length<2)return null;let a=[];for(let i=0;ia===0?(n.push(o),n):(n.unshift(`${n[0]}.${o}`),n),[])}function Hye(e,r){let n=r;for(const o of e)qn(o,n)&&(n=o);return n!==r?n:null}function Vc(e){const r=[],n=[...e];let o;for(;o=n.shift();){let a;for(;a=Hye(n,o);)r.push(n.splice(n.indexOf(a),1)[0]);r.push(o)}return r}function $I(e,r){if(!e||x_(e)){const o=e??"asc";return a=>$I(a,o)}const n=r==="desc"?-1:1;return e.map(o=>({item:o,fqn:o.id.split(".")})).sort((o,a)=>{if(o.fqn.length!==a.fqn.length)return(o.fqn.length-a.fqn.length)*n;for(let i=0;io)}var a3={},MI;function qye(){return MI||(MI=1,a3.ARRAY_BUFFER_SUPPORT=typeof ArrayBuffer<"u",a3.SYMBOL_SUPPORT=typeof Symbol<"u"),a3}var w_,OI;function Uye(){if(OI)return w_;OI=1;function e(r){if(typeof r!="function")throw new Error("obliterator/iterator: expecting a function!");this.next=r}return typeof Symbol<"u"&&(e.prototype[Symbol.iterator]=function(){return this}),e.of=function(){var r=arguments,n=r.length,o=0;return new e(function(){return o>=n?{done:!0}:{done:!1,value:r[o++]}})},e.empty=function(){var r=new e(function(){return{done:!0}});return r},e.fromSequence=function(r){var n=0,o=r.length;return new e(function(){return n>=o?{done:!0}:{done:!1,value:r[n++]}})},e.is=function(r){return r instanceof e?!0:typeof r=="object"&&r!==null&&typeof r.next=="function"},w_=e,w_}var k_,II;function Vye(){if(II)return k_;II=1;var e=qye(),r=e.ARRAY_BUFFER_SUPPORT,n=e.SYMBOL_SUPPORT;return k_=function(a,i){var l,s,c,u,d;if(!a)throw new Error("obliterator/forEach: invalid iterable.");if(typeof i!="function")throw new Error("obliterator/forEach: expecting a callback.");if(Array.isArray(a)||r&&ArrayBuffer.isView(a)||typeof a=="string"||a.toString()==="[object Arguments]"){for(c=0,u=a.length;c=this.items.length&&(this.items=this.items.slice(this.offset),this.offset=0),this.size--,o}},n.prototype.peek=function(){if(this.size)return this.items[this.offset]},n.prototype.forEach=function(o,a){a=arguments.length>1?a:this;for(var i=this.offset,l=0,s=this.items.length;i=o.length)return{done:!0};var i=o[a];return a++,{value:i,done:!1}})},n.prototype.entries=function(){var o=this.items,a=this.offset,i=0;return new e(function(){if(a>=o.length)return{done:!0};var l=o[a];return a++,{value:[i++,l],done:!1}})},typeof Symbol<"u"&&(n.prototype[Symbol.iterator]=n.prototype.values),n.prototype.toString=function(){return this.toArray().join(",")},n.prototype.toJSON=function(){return this.toArray()},n.prototype.inspect=function(){var o=this.toArray();return Object.defineProperty(o,"constructor",{value:n,enumerable:!1}),o},typeof Symbol<"u"&&(n.prototype[Symbol.for("nodejs.util.inspect.custom")]=n.prototype.inspect),n.from=function(o){var a=new n;return r(o,function(i){a.enqueue(i)}),a},n.of=function(){return n.from(arguments)},__=n,__}var Wye=Yye();const E_=t3(Wye);var S_,zI;function Gye(){if(zI)return S_;zI=1;function e(r){if(typeof r!="function")throw new Error("mnemonist/DefaultMap.constructor: expecting a function.");this.items=new Map,this.factory=r,this.size=0}return e.prototype.clear=function(){this.items.clear(),this.size=0},e.prototype.get=function(r){var n=this.items.get(r);return typeof n>"u"&&(n=this.factory(r,this.size),this.items.set(r,n),this.size++),n},e.prototype.peek=function(r){return this.items.get(r)},e.prototype.set=function(r,n){return this.items.set(r,n),this.size=this.items.size,this},e.prototype.has=function(r){return this.items.has(r)},e.prototype.delete=function(r){var n=this.items.delete(r);return this.size=this.items.size,n},e.prototype.forEach=function(r,n){n=arguments.length>1?n:this,this.items.forEach(r,n)},e.prototype.entries=function(){return this.items.entries()},e.prototype.keys=function(){return this.items.keys()},e.prototype.values=function(){return this.items.values()},typeof Symbol<"u"&&(e.prototype[Symbol.iterator]=e.prototype.entries),e.prototype.inspect=function(){return this.items},typeof Symbol<"u"&&(e.prototype[Symbol.for("nodejs.util.inspect.custom")]=e.prototype.inspect),e.autoIncrement=function(){var r=0;return function(){return r++}},S_=e,S_}var Xye=Gye();const so=t3(Xye);function i3(e){return e.summary??e.description}function l3(e){return e.description??e.summary}function Is(e){return!!e}const vd="@group";function Kye(e){return e.kind===vd}function BI(e,r){return nt(typeof e=="string"&&e!=""),"@"+e+"."+r}function Zye(e){return e.startsWith("@")}function Qye(e){if(!e.startsWith("@"))return[null,e];const r=e.indexOf(".");if(r<2)throw new Error("Invalid global FQN");const n=e.slice(1,r),o=e.slice(r+1);return[n,o]}function v1(e){return e.startsWith("step-")}function jI(e){if(!v1(e))throw new Error(`Invalid step edge id: ${e}`);return parseFloat(e.slice(5))}const FI=-1,s3=0,x1=1,c3=2,C_=3,T_=4,R_=5,A_=6,HI=7,qI=8,UI=typeof self=="object"?self:globalThis,Jye=(e,r)=>{const n=(a,i)=>(e.set(i,a),a),o=a=>{if(e.has(a))return e.get(a);const[i,l]=r[a];switch(i){case s3:case FI:return n(l,a);case x1:{const s=n([],a);for(const c of l)s.push(o(c));return s}case c3:{const s=n({},a);for(const[c,u]of l)s[o(c)]=o(u);return s}case C_:return n(new Date(l),a);case T_:{const{source:s,flags:c}=l;return n(new RegExp(s,c),a)}case R_:{const s=n(new Map,a);for(const[c,u]of l)s.set(o(c),o(u));return s}case A_:{const s=n(new Set,a);for(const c of l)s.add(o(c));return s}case HI:{const{name:s,message:c}=l;return n(new UI[s](c),a)}case qI:return n(BigInt(l),a);case"BigInt":return n(Object(BigInt(l)),a);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:s}=new Uint8Array(l);return n(new DataView(s),l)}}return n(new UI[i](l),a)};return o},VI=e=>Jye(new Map,e)(0),$h="",{toString:ebe}={},{keys:tbe}=Object,w1=e=>{const r=typeof e;if(r!=="object"||!e)return[s3,r];const n=ebe.call(e).slice(8,-1);switch(n){case"Array":return[x1,$h];case"Object":return[c3,$h];case"Date":return[C_,$h];case"RegExp":return[T_,$h];case"Map":return[R_,$h];case"Set":return[A_,$h];case"DataView":return[x1,n]}return n.includes("Array")?[x1,n]:n.includes("Error")?[HI,n]:[c3,n]},u3=([e,r])=>e===s3&&(r==="function"||r==="symbol"),rbe=(e,r,n,o)=>{const a=(l,s)=>{const c=o.push(l)-1;return n.set(s,c),c},i=l=>{if(n.has(l))return n.get(l);let[s,c]=w1(l);switch(s){case s3:{let d=l;switch(c){case"bigint":s=qI,d=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);d=null;break;case"undefined":return a([FI],l)}return a([s,d],l)}case x1:{if(c){let f=l;return c==="DataView"?f=new Uint8Array(l.buffer):c==="ArrayBuffer"&&(f=new Uint8Array(l)),a([c,[...f]],l)}const d=[],p=a([s,d],l);for(const f of l)d.push(i(f));return p}case c3:{if(c)switch(c){case"BigInt":return a([c,l.toString()],l);case"Boolean":case"Number":case"String":return a([c,l.valueOf()],l)}if(r&&"toJSON"in l)return i(l.toJSON());const d=[],p=a([s,d],l);for(const f of tbe(l))(e||!u3(w1(l[f])))&&d.push([i(f),i(l[f])]);return p}case C_:return a([s,l.toISOString()],l);case T_:{const{source:d,flags:p}=l;return a([s,{source:d,flags:p}],l)}case R_:{const d=[],p=a([s,d],l);for(const[f,g]of l)(e||!(u3(w1(f))||u3(w1(g))))&&d.push([i(f),i(g)]);return p}case A_:{const d=[],p=a([s,d],l);for(const f of l)(e||!u3(w1(f)))&&d.push(i(f));return p}}const{message:u}=l;return a([s,{name:c,message:u}],l)};return i},YI=(e,{json:r,lossy:n}={})=>{const o=[];return rbe(!(r||n),!!r,new Map,o)(e),o},xd=typeof structuredClone=="function"?(e,r)=>r&&("json"in r||"lossy"in r)?VI(YI(e,r)):structuredClone(e):(e,r)=>VI(YI(e,r));function x6t(){}let k1=class{constructor(r,n,o){this.normal=n,this.property=r,o&&(this.space=o)}};k1.prototype.normal={},k1.prototype.property={},k1.prototype.space=void 0;function WI(e,r){const n={},o={};for(const a of e)Object.assign(n,a.property),Object.assign(o,a.normal);return new k1(n,o,r)}function _1(e){return e.toLowerCase()}let Go=class{constructor(r,n){this.attribute=n,this.property=r}};Go.prototype.attribute="",Go.prototype.booleanish=!1,Go.prototype.boolean=!1,Go.prototype.commaOrSpaceSeparated=!1,Go.prototype.commaSeparated=!1,Go.prototype.defined=!1,Go.prototype.mustUseProperty=!1,Go.prototype.number=!1,Go.prototype.overloadedBoolean=!1,Go.prototype.property="",Go.prototype.spaceSeparated=!1,Go.prototype.space=void 0;let nbe=0;const Mt=wd(),mn=wd(),GI=wd(),He=wd(),_r=wd(),Mh=wd(),va=wd();function wd(){return 2**++nbe}const N_={__proto__:null,boolean:Mt,booleanish:mn,commaOrSpaceSeparated:va,commaSeparated:Mh,number:He,overloadedBoolean:GI,spaceSeparated:_r},D_=Object.keys(N_);let P_=class extends Go{constructor(r,n,o,a){let i=-1;if(super(r,n),XI(this,"space",a),typeof o=="number")for(;++i4&&n.slice(0,4)==="data"&&lbe.test(r)){if(r.charAt(4)==="-"){const i=r.slice(5).replace(rL,cbe);o="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=r.slice(4);if(!rL.test(i)){let l=i.replace(ibe,sbe);l.charAt(0)!=="-"&&(l="-"+l),r="data"+l}}a=P_}return new a(o,r)}function sbe(e){return"-"+e.toLowerCase()}function cbe(e){return e.charAt(1).toUpperCase()}const d3=WI([KI,obe,JI,eL,tL],"html"),E1=WI([KI,abe,JI,eL,tL],"svg");function nL(e){const r=[],n=String(e||"");let o=n.indexOf(","),a=0,i=!1;for(;!i;){o===-1&&(o=n.length,i=!0);const l=n.slice(a,o).trim();(l||!i)&&r.push(l),a=o+1,o=n.indexOf(",",a)}return r}function oL(e,r){const n=r||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const aL=/[#.]/g;function ube(e,r){const n=e||"",o={};let a=0,i,l;for(;a-1&&i<=r.length){let l=0;for(;;){let s=n[l];if(s===void 0){const c=uL(r,n[l-1]);s=c===-1?r.length+1:c+1,n[l]=s}if(s>i)return{line:l+1,column:i-(l>0?n[l-1]:0)+1,offset:i};l++}}}function a(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;n.length1?n[i.line-2]:0)+i.column-1;if(l4&&n.slice(0,4)==="data"&&Tbe.test(r)){if(r.charAt(4)==="-"){const i=r.slice(5).replace(_L,Dbe);o="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=r.slice(4);if(!_L.test(i)){let l=i.replace(Rbe,Nbe);l.charAt(0)!=="-"&&(l="-"+l),r="data"+l}}a=B_}return new a(o,r)}function Nbe(e){return"-"+e.toLowerCase()}function Dbe(e){return e.charAt(1).toUpperCase()}const Pbe=fL([bL,yL,wL,kL,Sbe],"html"),EL=fL([bL,yL,wL,kL,Cbe],"svg"),SL={}.hasOwnProperty;function j_(e,r){const n=r||{};function o(a,...i){let l=o.invalid;const s=o.handlers;if(a&&SL.call(a,e)){const c=String(a[e]);l=SL.call(s,c)?s[c]:o.unknown}if(l)return l.call(this,a,...i)}return o.handlers=n.handlers||{},o.invalid=n.invalid,o.unknown=n.unknown,o}const $be={},Mbe={}.hasOwnProperty,CL=j_("type",{handlers:{root:Ibe,element:Fbe,text:Bbe,comment:jbe,doctype:zbe}});function Obe(e,r){const o=(r||$be).space;return CL(e,o==="svg"?EL:Pbe)}function Ibe(e,r){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=F_(e.children,n,r),Bh(e,n),n}function Lbe(e,r){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=F_(e.children,n,r),Bh(e,n),n}function zbe(e){const r={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Bh(e,r),r}function Bbe(e){const r={nodeName:"#text",value:e.value,parentNode:null};return Bh(e,r),r}function jbe(e){const r={nodeName:"#comment",data:e.value,parentNode:null};return Bh(e,r),r}function Fbe(e,r){const n=r;let o=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(o=EL);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&Mbe.call(e.properties,i)){const c=Hbe(o,i,e.properties[i]);c&&a.push(c)}}const l=o.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:kd[l],childNodes:[],parentNode:null};return s.childNodes=F_(e.children,s,o),Bh(e,s),e.tagName==="template"&&e.content&&(s.content=Lbe(e.content,o)),s}function Hbe(e,r,n){const o=Abe(e,r);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&o.boolean)return;Array.isArray(n)&&(n=o.commaSeparated?oL(n):lL(n));const a={name:o.attribute,value:n===!0?"":String(n)};if(o.space&&o.space!=="html"&&o.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=o.attribute.slice(0,i)),a.namespace=kd[o.space]}return a}function F_(e,r,n){let o=-1;const a=[];if(e)for(;++o=55296&&e<=57343}function Ube(e){return e>=56320&&e<=57343}function Vbe(e,r){return(e-55296)*1024+9216+r}function AL(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function NL(e){return e>=64976&&e<=65007||qbe.has(e)}var Ee;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Ee||(Ee={}));const Ybe=65536;class Wbe{constructor(r){this.handler=r,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Ybe,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(r,n){const{line:o,col:a,offset:i}=this,l=a+n,s=i+n;return{code:r,startLine:o,endLine:o,startCol:l,endCol:l,startOffset:s,endOffset:s}}_err(r){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(r,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(r){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(Ube(n))return this.pos++,this._addGap(),Vbe(r,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,ne.EOF;return this._err(Ee.surrogateInInputStream),r}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(r,n){this.html.length>0?this.html+=r:this.html=r,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(r){this.html=this.html.substring(0,this.pos+1)+r+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(r,n){if(this.pos+r.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(r,this.pos);for(let o=0;o=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,ne.EOF;const o=this.html.charCodeAt(n);return o===ne.CARRIAGE_RETURN?ne.LINE_FEED:o}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,ne.EOF;let r=this.html.charCodeAt(this.pos);return r===ne.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,ne.LINE_FEED):r===ne.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,RL(r)&&(r=this._processSurrogate(r)),this.handler.onParseError===null||r>31&&r<127||r===ne.LINE_FEED||r===ne.CARRIAGE_RETURN||r>159&&r<64976||this._checkForProblematicCharacters(r),r)}_checkForProblematicCharacters(r){AL(r)?this._err(Ee.controlCharacterInInputStream):NL(r)&&this._err(Ee.noncharacterInInputStream)}retreat(r){for(this.pos-=r;this.pos=0;n--)if(e.attrs[n].name===r)return e.attrs[n].value;return null}const PL=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Gbe=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var H_;const Xbe=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Kbe=(H_=String.fromCodePoint)!==null&&H_!==void 0?H_:function(e){let r="";return e>65535&&(e-=65536,r+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),r+=String.fromCharCode(e),r};function Zbe(e){var r;return e>=55296&&e<=57343||e>1114111?65533:(r=Xbe.get(e))!==null&&r!==void 0?r:e}var Un;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Un||(Un={}));const Qbe=32;var Yc;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Yc||(Yc={}));function q_(e){return e>=Un.ZERO&&e<=Un.NINE}function Jbe(e){return e>=Un.UPPER_A&&e<=Un.UPPER_F||e>=Un.LOWER_A&&e<=Un.LOWER_F}function eve(e){return e>=Un.UPPER_A&&e<=Un.UPPER_Z||e>=Un.LOWER_A&&e<=Un.LOWER_Z||q_(e)}function tve(e){return e===Un.EQUALS||eve(e)}var Vn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Vn||(Vn={}));var Ls;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ls||(Ls={}));let $L=class{constructor(r,n,o){this.decodeTree=r,this.emitCodePoint=n,this.errors=o,this.state=Vn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ls.Strict}startEntity(r){this.decodeMode=r,this.state=Vn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(r,n){switch(this.state){case Vn.EntityStart:return r.charCodeAt(n)===Un.NUM?(this.state=Vn.NumericStart,this.consumed+=1,this.stateNumericStart(r,n+1)):(this.state=Vn.NamedEntity,this.stateNamedEntity(r,n));case Vn.NumericStart:return this.stateNumericStart(r,n);case Vn.NumericDecimal:return this.stateNumericDecimal(r,n);case Vn.NumericHex:return this.stateNumericHex(r,n);case Vn.NamedEntity:return this.stateNamedEntity(r,n)}}stateNumericStart(r,n){return n>=r.length?-1:(r.charCodeAt(n)|Qbe)===Un.LOWER_X?(this.state=Vn.NumericHex,this.consumed+=1,this.stateNumericHex(r,n+1)):(this.state=Vn.NumericDecimal,this.stateNumericDecimal(r,n))}addToNumericResult(r,n,o,a){if(n!==o){const i=o-n;this.result=this.result*Math.pow(a,i)+parseInt(r.substr(n,i),a),this.consumed+=i}}stateNumericHex(r,n){const o=n;for(;n>14;for(;n>14,i!==0){if(l===Un.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Ls.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var r;const{result:n,decodeTree:o}=this,a=(o[n]&Yc.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,a,this.consumed),(r=this.errors)===null||r===void 0||r.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(r,n,o){const{decodeTree:a}=this;return this.emitCodePoint(n===1?a[r]&~Yc.VALUE_LENGTH:a[r+1],o),n===3&&this.emitCodePoint(a[r+2],o),o}end(){var r;switch(this.state){case Vn.NamedEntity:return this.result!==0&&(this.decodeMode!==Ls.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Vn.NumericDecimal:return this.emitNumericEntity(0,2);case Vn.NumericHex:return this.emitNumericEntity(0,3);case Vn.NumericStart:return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Vn.EntityStart:return 0}}};function ML(e){let r="";const n=new $L(e,o=>r+=Kbe(o));return function(a,i){let l=0,s=0;for(;(s=a.indexOf("&",s))>=0;){r+=a.slice(l,s),n.startEntity(i);const u=n.write(a,s+1);if(u<0){l=s+n.end();break}l=s+u,s=u===0?l+1:l}const c=r+a.slice(l);return r="",c}}function rve(e,r,n,o){const a=(r&Yc.BRANCH_LENGTH)>>7,i=r&Yc.JUMP_TABLE;if(a===0)return i!==0&&o===i?n:-1;if(i){const c=o-i;return c<0||c>=a?-1:e[n+c]-1}let l=n,s=l+a-1;for(;l<=s;){const c=l+s>>>1,u=e[c];if(uo)s=c-1;else return e[c+a]}return-1}ML(PL),ML(Gbe);var $e;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})($e||($e={}));var Ed;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Ed||(Ed={}));var Ja;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Ja||(Ja={}));var me;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(me||(me={}));var H;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(H||(H={}));const nve=new Map([[me.A,H.A],[me.ADDRESS,H.ADDRESS],[me.ANNOTATION_XML,H.ANNOTATION_XML],[me.APPLET,H.APPLET],[me.AREA,H.AREA],[me.ARTICLE,H.ARTICLE],[me.ASIDE,H.ASIDE],[me.B,H.B],[me.BASE,H.BASE],[me.BASEFONT,H.BASEFONT],[me.BGSOUND,H.BGSOUND],[me.BIG,H.BIG],[me.BLOCKQUOTE,H.BLOCKQUOTE],[me.BODY,H.BODY],[me.BR,H.BR],[me.BUTTON,H.BUTTON],[me.CAPTION,H.CAPTION],[me.CENTER,H.CENTER],[me.CODE,H.CODE],[me.COL,H.COL],[me.COLGROUP,H.COLGROUP],[me.DD,H.DD],[me.DESC,H.DESC],[me.DETAILS,H.DETAILS],[me.DIALOG,H.DIALOG],[me.DIR,H.DIR],[me.DIV,H.DIV],[me.DL,H.DL],[me.DT,H.DT],[me.EM,H.EM],[me.EMBED,H.EMBED],[me.FIELDSET,H.FIELDSET],[me.FIGCAPTION,H.FIGCAPTION],[me.FIGURE,H.FIGURE],[me.FONT,H.FONT],[me.FOOTER,H.FOOTER],[me.FOREIGN_OBJECT,H.FOREIGN_OBJECT],[me.FORM,H.FORM],[me.FRAME,H.FRAME],[me.FRAMESET,H.FRAMESET],[me.H1,H.H1],[me.H2,H.H2],[me.H3,H.H3],[me.H4,H.H4],[me.H5,H.H5],[me.H6,H.H6],[me.HEAD,H.HEAD],[me.HEADER,H.HEADER],[me.HGROUP,H.HGROUP],[me.HR,H.HR],[me.HTML,H.HTML],[me.I,H.I],[me.IMG,H.IMG],[me.IMAGE,H.IMAGE],[me.INPUT,H.INPUT],[me.IFRAME,H.IFRAME],[me.KEYGEN,H.KEYGEN],[me.LABEL,H.LABEL],[me.LI,H.LI],[me.LINK,H.LINK],[me.LISTING,H.LISTING],[me.MAIN,H.MAIN],[me.MALIGNMARK,H.MALIGNMARK],[me.MARQUEE,H.MARQUEE],[me.MATH,H.MATH],[me.MENU,H.MENU],[me.META,H.META],[me.MGLYPH,H.MGLYPH],[me.MI,H.MI],[me.MO,H.MO],[me.MN,H.MN],[me.MS,H.MS],[me.MTEXT,H.MTEXT],[me.NAV,H.NAV],[me.NOBR,H.NOBR],[me.NOFRAMES,H.NOFRAMES],[me.NOEMBED,H.NOEMBED],[me.NOSCRIPT,H.NOSCRIPT],[me.OBJECT,H.OBJECT],[me.OL,H.OL],[me.OPTGROUP,H.OPTGROUP],[me.OPTION,H.OPTION],[me.P,H.P],[me.PARAM,H.PARAM],[me.PLAINTEXT,H.PLAINTEXT],[me.PRE,H.PRE],[me.RB,H.RB],[me.RP,H.RP],[me.RT,H.RT],[me.RTC,H.RTC],[me.RUBY,H.RUBY],[me.S,H.S],[me.SCRIPT,H.SCRIPT],[me.SEARCH,H.SEARCH],[me.SECTION,H.SECTION],[me.SELECT,H.SELECT],[me.SOURCE,H.SOURCE],[me.SMALL,H.SMALL],[me.SPAN,H.SPAN],[me.STRIKE,H.STRIKE],[me.STRONG,H.STRONG],[me.STYLE,H.STYLE],[me.SUB,H.SUB],[me.SUMMARY,H.SUMMARY],[me.SUP,H.SUP],[me.TABLE,H.TABLE],[me.TBODY,H.TBODY],[me.TEMPLATE,H.TEMPLATE],[me.TEXTAREA,H.TEXTAREA],[me.TFOOT,H.TFOOT],[me.TD,H.TD],[me.TH,H.TH],[me.THEAD,H.THEAD],[me.TITLE,H.TITLE],[me.TR,H.TR],[me.TRACK,H.TRACK],[me.TT,H.TT],[me.U,H.U],[me.UL,H.UL],[me.SVG,H.SVG],[me.VAR,H.VAR],[me.WBR,H.WBR],[me.XMP,H.XMP]]);function jh(e){var r;return(r=nve.get(e))!==null&&r!==void 0?r:H.UNKNOWN}const Ie=H,ove={[$e.HTML]:new Set([Ie.ADDRESS,Ie.APPLET,Ie.AREA,Ie.ARTICLE,Ie.ASIDE,Ie.BASE,Ie.BASEFONT,Ie.BGSOUND,Ie.BLOCKQUOTE,Ie.BODY,Ie.BR,Ie.BUTTON,Ie.CAPTION,Ie.CENTER,Ie.COL,Ie.COLGROUP,Ie.DD,Ie.DETAILS,Ie.DIR,Ie.DIV,Ie.DL,Ie.DT,Ie.EMBED,Ie.FIELDSET,Ie.FIGCAPTION,Ie.FIGURE,Ie.FOOTER,Ie.FORM,Ie.FRAME,Ie.FRAMESET,Ie.H1,Ie.H2,Ie.H3,Ie.H4,Ie.H5,Ie.H6,Ie.HEAD,Ie.HEADER,Ie.HGROUP,Ie.HR,Ie.HTML,Ie.IFRAME,Ie.IMG,Ie.INPUT,Ie.LI,Ie.LINK,Ie.LISTING,Ie.MAIN,Ie.MARQUEE,Ie.MENU,Ie.META,Ie.NAV,Ie.NOEMBED,Ie.NOFRAMES,Ie.NOSCRIPT,Ie.OBJECT,Ie.OL,Ie.P,Ie.PARAM,Ie.PLAINTEXT,Ie.PRE,Ie.SCRIPT,Ie.SECTION,Ie.SELECT,Ie.SOURCE,Ie.STYLE,Ie.SUMMARY,Ie.TABLE,Ie.TBODY,Ie.TD,Ie.TEMPLATE,Ie.TEXTAREA,Ie.TFOOT,Ie.TH,Ie.THEAD,Ie.TITLE,Ie.TR,Ie.TRACK,Ie.UL,Ie.WBR,Ie.XMP]),[$e.MATHML]:new Set([Ie.MI,Ie.MO,Ie.MN,Ie.MS,Ie.MTEXT,Ie.ANNOTATION_XML]),[$e.SVG]:new Set([Ie.TITLE,Ie.FOREIGN_OBJECT,Ie.DESC]),[$e.XLINK]:new Set,[$e.XML]:new Set,[$e.XMLNS]:new Set},U_=new Set([Ie.H1,Ie.H2,Ie.H3,Ie.H4,Ie.H5,Ie.H6]);me.STYLE,me.SCRIPT,me.XMP,me.IFRAME,me.NOEMBED,me.NOFRAMES,me.PLAINTEXT;var ae;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(ae||(ae={}));const on={DATA:ae.DATA,RCDATA:ae.RCDATA,RAWTEXT:ae.RAWTEXT,SCRIPT_DATA:ae.SCRIPT_DATA,PLAINTEXT:ae.PLAINTEXT,CDATA_SECTION:ae.CDATA_SECTION};function ave(e){return e>=ne.DIGIT_0&&e<=ne.DIGIT_9}function C1(e){return e>=ne.LATIN_CAPITAL_A&&e<=ne.LATIN_CAPITAL_Z}function ive(e){return e>=ne.LATIN_SMALL_A&&e<=ne.LATIN_SMALL_Z}function Wc(e){return ive(e)||C1(e)}function OL(e){return Wc(e)||ave(e)}function h3(e){return e+32}function IL(e){return e===ne.SPACE||e===ne.LINE_FEED||e===ne.TABULATION||e===ne.FORM_FEED}function LL(e){return IL(e)||e===ne.SOLIDUS||e===ne.GREATER_THAN_SIGN}function lve(e){return e===ne.NULL?Ee.nullCharacterReference:e>1114111?Ee.characterReferenceOutsideUnicodeRange:RL(e)?Ee.surrogateCharacterReference:NL(e)?Ee.noncharacterCharacterReference:AL(e)||e===ne.CARRIAGE_RETURN?Ee.controlCharacterReference:null}class sve{constructor(r,n){this.options=r,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=ae.DATA,this.returnState=ae.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Wbe(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new $L(PL,(o,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(o)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Ee.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:o=>{this._err(Ee.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+o)},validateNumericCharacterReference:o=>{const a=lve(o);a&&this._err(a,1)}}:void 0)}_err(r,n=0){var o,a;(a=(o=this.handler).onParseError)===null||a===void 0||a.call(o,this.preprocessor.getError(r,n))}getCurrentLocation(r){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-r,startOffset:this.preprocessor.offset-r,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const r=this._consume();this._ensureHibernation()||this._callState(r)}this.inLoop=!1}}pause(){this.paused=!0}resume(r){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||r?.())}write(r,n,o){this.active=!0,this.preprocessor.write(r,n),this._runParsingLoop(),this.paused||o?.()}insertHtmlAtCurrentPos(r){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(r),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(r){this.consumedAfterSnapshot+=r;for(let n=0;n0&&this._err(Ee.endTagWithAttributes),r.selfClosing&&this._err(Ee.endTagWithTrailingSolidus),this.handler.onEndTag(r)),this.preprocessor.dropParsedChunk()}emitCurrentComment(r){this.prepareToken(r),this.handler.onComment(r),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(r){this.prepareToken(r),this.handler.onDoctype(r),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(r){if(this.currentCharacterToken){switch(r&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=r.startLine,this.currentCharacterToken.location.endCol=r.startCol,this.currentCharacterToken.location.endOffset=r.startOffset),this.currentCharacterToken.type){case Ht.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Ht.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Ht.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const r=this.getCurrentLocation(0);r&&(r.endLine=r.startLine,r.endCol=r.startCol,r.endOffset=r.startOffset),this._emitCurrentCharacterToken(r),this.handler.onEof({type:Ht.EOF,location:r}),this.active=!1}_appendCharToCurrentCharacterToken(r,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===r){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(r,n)}_emitCodePoint(r){const n=IL(r)?Ht.WHITESPACE_CHARACTER:r===ne.NULL?Ht.NULL_CHARACTER:Ht.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(r))}_emitChars(r){this._appendCharToCurrentCharacterToken(Ht.CHARACTER,r)}_startCharacterReference(){this.returnState=this.state,this.state=ae.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Ls.Attribute:Ls.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===ae.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===ae.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===ae.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(r){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(r):this._emitCodePoint(r)}_callState(r){switch(this.state){case ae.DATA:{this._stateData(r);break}case ae.RCDATA:{this._stateRcdata(r);break}case ae.RAWTEXT:{this._stateRawtext(r);break}case ae.SCRIPT_DATA:{this._stateScriptData(r);break}case ae.PLAINTEXT:{this._statePlaintext(r);break}case ae.TAG_OPEN:{this._stateTagOpen(r);break}case ae.END_TAG_OPEN:{this._stateEndTagOpen(r);break}case ae.TAG_NAME:{this._stateTagName(r);break}case ae.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(r);break}case ae.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(r);break}case ae.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(r);break}case ae.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(r);break}case ae.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(r);break}case ae.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(r);break}case ae.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(r);break}case ae.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(r);break}case ae.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(r);break}case ae.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(r);break}case ae.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(r);break}case ae.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(r);break}case ae.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(r);break}case ae.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(r);break}case ae.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(r);break}case ae.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(r);break}case ae.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(r);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(r);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(r);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(r);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(r);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(r);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(r);break}case ae.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(r);break}case ae.ATTRIBUTE_NAME:{this._stateAttributeName(r);break}case ae.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(r);break}case ae.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(r);break}case ae.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(r);break}case ae.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(r);break}case ae.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(r);break}case ae.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(r);break}case ae.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(r);break}case ae.BOGUS_COMMENT:{this._stateBogusComment(r);break}case ae.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(r);break}case ae.COMMENT_START:{this._stateCommentStart(r);break}case ae.COMMENT_START_DASH:{this._stateCommentStartDash(r);break}case ae.COMMENT:{this._stateComment(r);break}case ae.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(r);break}case ae.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(r);break}case ae.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(r);break}case ae.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(r);break}case ae.COMMENT_END_DASH:{this._stateCommentEndDash(r);break}case ae.COMMENT_END:{this._stateCommentEnd(r);break}case ae.COMMENT_END_BANG:{this._stateCommentEndBang(r);break}case ae.DOCTYPE:{this._stateDoctype(r);break}case ae.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(r);break}case ae.DOCTYPE_NAME:{this._stateDoctypeName(r);break}case ae.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(r);break}case ae.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(r);break}case ae.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(r);break}case ae.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(r);break}case ae.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(r);break}case ae.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(r);break}case ae.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(r);break}case ae.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(r);break}case ae.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(r);break}case ae.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(r);break}case ae.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(r);break}case ae.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(r);break}case ae.BOGUS_DOCTYPE:{this._stateBogusDoctype(r);break}case ae.CDATA_SECTION:{this._stateCdataSection(r);break}case ae.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(r);break}case ae.CDATA_SECTION_END:{this._stateCdataSectionEnd(r);break}case ae.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case ae.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(r);break}default:throw new Error("Unknown state")}}_stateData(r){switch(r){case ne.LESS_THAN_SIGN:{this.state=ae.TAG_OPEN;break}case ne.AMPERSAND:{this._startCharacterReference();break}case ne.NULL:{this._err(Ee.unexpectedNullCharacter),this._emitCodePoint(r);break}case ne.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateRcdata(r){switch(r){case ne.AMPERSAND:{this._startCharacterReference();break}case ne.LESS_THAN_SIGN:{this.state=ae.RCDATA_LESS_THAN_SIGN;break}case ne.NULL:{this._err(Ee.unexpectedNullCharacter),this._emitChars(Or);break}case ne.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateRawtext(r){switch(r){case ne.LESS_THAN_SIGN:{this.state=ae.RAWTEXT_LESS_THAN_SIGN;break}case ne.NULL:{this._err(Ee.unexpectedNullCharacter),this._emitChars(Or);break}case ne.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateScriptData(r){switch(r){case ne.LESS_THAN_SIGN:{this.state=ae.SCRIPT_DATA_LESS_THAN_SIGN;break}case ne.NULL:{this._err(Ee.unexpectedNullCharacter),this._emitChars(Or);break}case ne.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_statePlaintext(r){switch(r){case ne.NULL:{this._err(Ee.unexpectedNullCharacter),this._emitChars(Or);break}case ne.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateTagOpen(r){if(Wc(r))this._createStartTagToken(),this.state=ae.TAG_NAME,this._stateTagName(r);else switch(r){case ne.EXCLAMATION_MARK:{this.state=ae.MARKUP_DECLARATION_OPEN;break}case ne.SOLIDUS:{this.state=ae.END_TAG_OPEN;break}case ne.QUESTION_MARK:{this._err(Ee.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=ae.BOGUS_COMMENT,this._stateBogusComment(r);break}case ne.EOF:{this._err(Ee.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Ee.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=ae.DATA,this._stateData(r)}}_stateEndTagOpen(r){if(Wc(r))this._createEndTagToken(),this.state=ae.TAG_NAME,this._stateTagName(r);else switch(r){case ne.GREATER_THAN_SIGN:{this._err(Ee.missingEndTagName),this.state=ae.DATA;break}case ne.EOF:{this._err(Ee.eofBeforeTagName),this._emitChars("");break}case ne.NULL:{this._err(Ee.unexpectedNullCharacter),this.state=ae.SCRIPT_DATA_ESCAPED,this._emitChars(Or);break}case ne.EOF:{this._err(Ee.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ae.SCRIPT_DATA_ESCAPED,this._emitCodePoint(r)}}_stateScriptDataEscapedLessThanSign(r){r===ne.SOLIDUS?this.state=ae.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Wc(r)?(this._emitChars("<"),this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(r)):(this._emitChars("<"),this.state=ae.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(r))}_stateScriptDataEscapedEndTagOpen(r){Wc(r)?(this.state=ae.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(r)):(this._emitChars("");break}case ne.NULL:{this._err(Ee.unexpectedNullCharacter),this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Or);break}case ne.EOF:{this._err(Ee.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(r)}}_stateScriptDataDoubleEscapedLessThanSign(r){r===ne.SOLIDUS?(this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(r))}_stateScriptDataDoubleEscapeEnd(r){if(this.preprocessor.startsWith(Xo.SCRIPT,!1)&&LL(this.preprocessor.peek(Xo.SCRIPT.length))){this._emitCodePoint(r);for(let n=0;n0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,!0)}replace(r,n){const o=this._indexOf(r);this.items[o]=n,o===this.stackTop&&(this.current=n)}insertAfter(r,n,o){const a=this._indexOf(r)+1;this.items.splice(a,0,n),this.tagIDs.splice(a,0,o),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(r){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(r,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==$e.HTML);this.shortenToLength(n<0?0:n)}shortenToLength(r){for(;this.stackTop>=r;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop=0;o--)if(r.has(this.tagIDs[o])&&this.treeAdapter.getNamespaceURI(this.items[o])===n)return o;return-1}clearBackTo(r,n){const o=this._indexOfTagNames(r,n);this.shortenToLength(o+1)}clearBackToTableContext(){this.clearBackTo(hve,$e.HTML)}clearBackToTableBodyContext(){this.clearBackTo(pve,$e.HTML)}clearBackToTableRowContext(){this.clearBackTo(dve,$e.HTML)}remove(r){const n=this._indexOf(r);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===H.BODY?this.items[1]:null}contains(r){return this._indexOf(r)>-1}getCommonAncestor(r){const n=this._indexOf(r)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===H.HTML}hasInDynamicScope(r,n){for(let o=this.stackTop;o>=0;o--){const a=this.tagIDs[o];switch(this.treeAdapter.getNamespaceURI(this.items[o])){case $e.HTML:{if(a===r)return!0;if(n.has(a))return!1;break}case $e.SVG:{if(FL.has(a))return!1;break}case $e.MATHML:{if(jL.has(a))return!1;break}}}return!0}hasInScope(r){return this.hasInDynamicScope(r,f3)}hasInListItemScope(r){return this.hasInDynamicScope(r,cve)}hasInButtonScope(r){return this.hasInDynamicScope(r,uve)}hasNumberedHeaderInScope(){for(let r=this.stackTop;r>=0;r--){const n=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case $e.HTML:{if(U_.has(n))return!0;if(f3.has(n))return!1;break}case $e.SVG:{if(FL.has(n))return!1;break}case $e.MATHML:{if(jL.has(n))return!1;break}}}return!0}hasInTableScope(r){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===$e.HTML)switch(this.tagIDs[n]){case r:return!0;case H.TABLE:case H.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===$e.HTML)switch(this.tagIDs[r]){case H.TBODY:case H.THEAD:case H.TFOOT:return!0;case H.TABLE:case H.HTML:return!1}return!0}hasInSelectScope(r){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===$e.HTML)switch(this.tagIDs[n]){case r:return!0;case H.OPTION:case H.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;zL.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;BL.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(r){for(;this.currentTagId!==r&&BL.has(this.currentTagId);)this.pop()}}const V_=3;var Vl;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Vl||(Vl={}));const HL={type:Vl.Marker};class gve{constructor(r){this.treeAdapter=r,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(r,n){const o=[],a=n.length,i=this.treeAdapter.getTagName(r),l=this.treeAdapter.getNamespaceURI(r);for(let s=0;s[l.name,l.value]));let i=0;for(let l=0;la.get(c.name)===c.value)&&(i+=1,i>=V_&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(HL)}pushElement(r,n){this._ensureNoahArkCondition(r),this.entries.unshift({type:Vl.Element,element:r,token:n})}insertElementAfterBookmark(r,n){const o=this.entries.indexOf(this.bookmark);this.entries.splice(o,0,{type:Vl.Element,element:r,token:n})}removeEntry(r){const n=this.entries.indexOf(r);n>=0&&this.entries.splice(n,1)}clearToLastMarker(){const r=this.entries.indexOf(HL);r>=0?this.entries.splice(0,r+1):this.entries.length=0}getElementEntryInScopeWithTagName(r){const n=this.entries.find(o=>o.type===Vl.Marker||this.treeAdapter.getTagName(o.element)===r);return n&&n.type===Vl.Element?n:null}getElementEntry(r){return this.entries.find(n=>n.type===Vl.Element&&n.element===r)}}const Gc={createDocument(){return{nodeName:"#document",mode:Ja.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,r,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:r,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,r){e.childNodes.push(r),r.parentNode=e},insertBefore(e,r,n){const o=e.childNodes.indexOf(n);e.childNodes.splice(o,0,r),r.parentNode=e},setTemplateContent(e,r){e.content=r},getTemplateContent(e){return e.content},setDocumentType(e,r,n,o){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=r,a.publicId=n,a.systemId=o;else{const i={nodeName:"#documentType",name:r,publicId:n,systemId:o,parentNode:null};Gc.appendChild(e,i)}},setDocumentMode(e,r){e.mode=r},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const r=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(r,1),e.parentNode=null}},insertText(e,r){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Gc.isTextNode(n)){n.value+=r;return}}Gc.appendChild(e,Gc.createTextNode(r))},insertTextBefore(e,r,n){const o=e.childNodes[e.childNodes.indexOf(n)-1];o&&Gc.isTextNode(o)?o.value+=r:Gc.insertBefore(e,Gc.createTextNode(r),n)},adoptAttributes(e,r){const n=new Set(e.attrs.map(o=>o.name));for(let o=0;oe.startsWith(n))}function kve(e){return e.name===qL&&e.publicId===null&&(e.systemId===null||e.systemId===yve)}function _ve(e){if(e.name!==qL)return Ja.QUIRKS;const{systemId:r}=e;if(r&&r.toLowerCase()===bve)return Ja.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),xve.has(n))return Ja.QUIRKS;let o=r===null?vve:UL;if(YL(n,o))return Ja.QUIRKS;if(o=r===null?VL:wve,YL(n,o))return Ja.LIMITED_QUIRKS}return Ja.NO_QUIRKS}const WL={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Eve="definitionurl",Sve="definitionURL",Cve=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),Tve=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:$e.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:$e.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:$e.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:$e.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:$e.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:$e.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:$e.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:$e.XML}],["xml:space",{prefix:"xml",name:"space",namespace:$e.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:$e.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:$e.XMLNS}]]),Rve=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),Ave=new Set([H.B,H.BIG,H.BLOCKQUOTE,H.BODY,H.BR,H.CENTER,H.CODE,H.DD,H.DIV,H.DL,H.DT,H.EM,H.EMBED,H.H1,H.H2,H.H3,H.H4,H.H5,H.H6,H.HEAD,H.HR,H.I,H.IMG,H.LI,H.LISTING,H.MENU,H.META,H.NOBR,H.OL,H.P,H.PRE,H.RUBY,H.S,H.SMALL,H.SPAN,H.STRONG,H.STRIKE,H.SUB,H.SUP,H.TABLE,H.TT,H.U,H.UL,H.VAR]);function Nve(e){const r=e.tagID;return r===H.FONT&&e.attrs.some(({name:o})=>o===Ed.COLOR||o===Ed.SIZE||o===Ed.FACE)||Ave.has(r)}function GL(e){for(let r=0;r0&&this._setContextModes(r,n)}onItemPop(r,n){var o,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(r,this.currentToken),(a=(o=this.treeAdapter).onItemPop)===null||a===void 0||a.call(o,r,this.openElements.current),n){let i,l;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,l=this.fragmentContextID):{current:i,currentTagId:l}=this.openElements,this._setContextModes(i,l)}}_setContextModes(r,n){const o=r===this.document||this.treeAdapter.getNamespaceURI(r)===$e.HTML;this.currentNotInHTML=!o,this.tokenizer.inForeignNode=!o&&!this._isIntegrationPoint(n,r)}_switchToTextParsing(r,n){this._insertElement(r,$e.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=le.TEXT}switchToPlaintextParsing(){this.insertionMode=le.TEXT,this.originalInsertionMode=le.IN_BODY,this.tokenizer.state=on.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let r=this.fragmentContext;for(;r;){if(this.treeAdapter.getTagName(r)===me.FORM){this.formElement=r;break}r=this.treeAdapter.getParentNode(r)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==$e.HTML))switch(this.fragmentContextID){case H.TITLE:case H.TEXTAREA:{this.tokenizer.state=on.RCDATA;break}case H.STYLE:case H.XMP:case H.IFRAME:case H.NOEMBED:case H.NOFRAMES:case H.NOSCRIPT:{this.tokenizer.state=on.RAWTEXT;break}case H.SCRIPT:{this.tokenizer.state=on.SCRIPT_DATA;break}case H.PLAINTEXT:{this.tokenizer.state=on.PLAINTEXT;break}}}_setDocumentType(r){const n=r.name||"",o=r.publicId||"",a=r.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,o,a),r.location){const l=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));l&&this.treeAdapter.setNodeSourceCodeLocation(l,r.location)}}_attachElementToTree(r,n){if(this.options.sourceCodeLocationInfo){const o=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(r,o)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(r);else{const o=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(o,r)}}_appendElement(r,n){const o=this.treeAdapter.createElement(r.tagName,n,r.attrs);this._attachElementToTree(o,r.location)}_insertElement(r,n){const o=this.treeAdapter.createElement(r.tagName,n,r.attrs);this._attachElementToTree(o,r.location),this.openElements.push(o,r.tagID)}_insertFakeElement(r,n){const o=this.treeAdapter.createElement(r,$e.HTML,[]);this._attachElementToTree(o,null),this.openElements.push(o,n)}_insertTemplate(r){const n=this.treeAdapter.createElement(r.tagName,$e.HTML,r.attrs),o=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,o),this._attachElementToTree(n,r.location),this.openElements.push(n,r.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,null)}_insertFakeRootElement(){const r=this.treeAdapter.createElement(me.HTML,$e.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null),this.treeAdapter.appendChild(this.openElements.current,r),this.openElements.push(r,H.HTML)}_appendCommentNode(r,n){const o=this.treeAdapter.createCommentNode(r.data);this.treeAdapter.appendChild(n,o),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,r.location)}_insertCharacters(r){let n,o;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:o}=this._findFosterParentingLocation(),o?this.treeAdapter.insertTextBefore(n,r.chars,o):this.treeAdapter.insertText(n,r.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,r.chars)),!r.location)return;const a=this.treeAdapter.getChildNodes(n),i=o?a.lastIndexOf(o):a.length,l=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(l)){const{endLine:c,endCol:u,endOffset:d}=r.location;this.treeAdapter.updateNodeSourceCodeLocation(l,{endLine:c,endCol:u,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(l,r.location)}_adoptNodes(r,n){for(let o=this.treeAdapter.getFirstChild(r);o;o=this.treeAdapter.getFirstChild(r))this.treeAdapter.detachNode(o),this.treeAdapter.appendChild(n,o)}_setEndLocation(r,n){if(this.treeAdapter.getNodeSourceCodeLocation(r)&&n.location){const o=n.location,a=this.treeAdapter.getTagName(r),i=n.type===Ht.END_TAG&&a===n.tagName?{endTag:{...o},endLine:o.endLine,endCol:o.endCol,endOffset:o.endOffset}:{endLine:o.startLine,endCol:o.startCol,endOffset:o.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(r,i)}}shouldProcessStartTagTokenInForeignContent(r){if(!this.currentNotInHTML)return!1;let n,o;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,o=this.fragmentContextID):{current:n,currentTagId:o}=this.openElements,r.tagID===H.SVG&&this.treeAdapter.getTagName(n)===me.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===$e.MATHML?!1:this.tokenizer.inForeignNode||(r.tagID===H.MGLYPH||r.tagID===H.MALIGNMARK)&&!this._isIntegrationPoint(o,n,$e.HTML)}_processToken(r){switch(r.type){case Ht.CHARACTER:{this.onCharacter(r);break}case Ht.NULL_CHARACTER:{this.onNullCharacter(r);break}case Ht.COMMENT:{this.onComment(r);break}case Ht.DOCTYPE:{this.onDoctype(r);break}case Ht.START_TAG:{this._processStartTag(r);break}case Ht.END_TAG:{this.onEndTag(r);break}case Ht.EOF:{this.onEof(r);break}case Ht.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(r);break}}}_isIntegrationPoint(r,n,o){const a=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return Mve(r,a,i,o)}_reconstructActiveFormattingElements(){const r=this.activeFormattingElements.entries.length;if(r){const n=this.activeFormattingElements.entries.findIndex(a=>a.type===Vl.Marker||this.openElements.contains(a.element)),o=n<0?r-1:n-1;for(let a=o;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=le.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(H.P),this.openElements.popUntilTagNamePopped(H.P)}_resetInsertionMode(){for(let r=this.openElements.stackTop;r>=0;r--)switch(r===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[r]){case H.TR:{this.insertionMode=le.IN_ROW;return}case H.TBODY:case H.THEAD:case H.TFOOT:{this.insertionMode=le.IN_TABLE_BODY;return}case H.CAPTION:{this.insertionMode=le.IN_CAPTION;return}case H.COLGROUP:{this.insertionMode=le.IN_COLUMN_GROUP;return}case H.TABLE:{this.insertionMode=le.IN_TABLE;return}case H.BODY:{this.insertionMode=le.IN_BODY;return}case H.FRAMESET:{this.insertionMode=le.IN_FRAMESET;return}case H.SELECT:{this._resetInsertionModeForSelect(r);return}case H.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case H.HTML:{this.insertionMode=this.headElement?le.AFTER_HEAD:le.BEFORE_HEAD;return}case H.TD:case H.TH:{if(r>0){this.insertionMode=le.IN_CELL;return}break}case H.HEAD:{if(r>0){this.insertionMode=le.IN_HEAD;return}break}}this.insertionMode=le.IN_BODY}_resetInsertionModeForSelect(r){if(r>0)for(let n=r-1;n>0;n--){const o=this.openElements.tagIDs[n];if(o===H.TEMPLATE)break;if(o===H.TABLE){this.insertionMode=le.IN_SELECT_IN_TABLE;return}}this.insertionMode=le.IN_SELECT}_isElementCausesFosterParenting(r){return KL.has(r)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let r=this.openElements.stackTop;r>=0;r--){const n=this.openElements.items[r];switch(this.openElements.tagIDs[r]){case H.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===$e.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case H.TABLE:{const o=this.treeAdapter.getParentNode(n);return o?{parent:o,beforeElement:n}:{parent:this.openElements.items[r-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(r){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,r,n.beforeElement):this.treeAdapter.appendChild(n.parent,r)}_isSpecialElement(r,n){const o=this.treeAdapter.getNamespaceURI(r);return ove[o].has(n)}onCharacter(r){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){fxe(this,r);return}switch(this.insertionMode){case le.INITIAL:{T1(this,r);break}case le.BEFORE_HTML:{R1(this,r);break}case le.BEFORE_HEAD:{A1(this,r);break}case le.IN_HEAD:{N1(this,r);break}case le.IN_HEAD_NO_SCRIPT:{D1(this,r);break}case le.AFTER_HEAD:{P1(this,r);break}case le.IN_BODY:case le.IN_CAPTION:case le.IN_CELL:case le.IN_TEMPLATE:{ez(this,r);break}case le.TEXT:case le.IN_SELECT:case le.IN_SELECT_IN_TABLE:{this._insertCharacters(r);break}case le.IN_TABLE:case le.IN_TABLE_BODY:case le.IN_ROW:{K_(this,r);break}case le.IN_TABLE_TEXT:{sz(this,r);break}case le.IN_COLUMN_GROUP:{y3(this,r);break}case le.AFTER_BODY:{x3(this,r);break}case le.AFTER_AFTER_BODY:{w3(this,r);break}}}onNullCharacter(r){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){hxe(this,r);return}switch(this.insertionMode){case le.INITIAL:{T1(this,r);break}case le.BEFORE_HTML:{R1(this,r);break}case le.BEFORE_HEAD:{A1(this,r);break}case le.IN_HEAD:{N1(this,r);break}case le.IN_HEAD_NO_SCRIPT:{D1(this,r);break}case le.AFTER_HEAD:{P1(this,r);break}case le.TEXT:{this._insertCharacters(r);break}case le.IN_TABLE:case le.IN_TABLE_BODY:case le.IN_ROW:{K_(this,r);break}case le.IN_COLUMN_GROUP:{y3(this,r);break}case le.AFTER_BODY:{x3(this,r);break}case le.AFTER_AFTER_BODY:{w3(this,r);break}}}onComment(r){if(this.skipNextNewLine=!1,this.currentNotInHTML){G_(this,r);return}switch(this.insertionMode){case le.INITIAL:case le.BEFORE_HTML:case le.BEFORE_HEAD:case le.IN_HEAD:case le.IN_HEAD_NO_SCRIPT:case le.AFTER_HEAD:case le.IN_BODY:case le.IN_TABLE:case le.IN_CAPTION:case le.IN_COLUMN_GROUP:case le.IN_TABLE_BODY:case le.IN_ROW:case le.IN_CELL:case le.IN_SELECT:case le.IN_SELECT_IN_TABLE:case le.IN_TEMPLATE:case le.IN_FRAMESET:case le.AFTER_FRAMESET:{G_(this,r);break}case le.IN_TABLE_TEXT:{O1(this,r);break}case le.AFTER_BODY:{Vve(this,r);break}case le.AFTER_AFTER_BODY:case le.AFTER_AFTER_FRAMESET:{Yve(this,r);break}}}onDoctype(r){switch(this.skipNextNewLine=!1,this.insertionMode){case le.INITIAL:{Wve(this,r);break}case le.BEFORE_HEAD:case le.IN_HEAD:case le.IN_HEAD_NO_SCRIPT:case le.AFTER_HEAD:{this._err(r,Ee.misplacedDoctype);break}case le.IN_TABLE_TEXT:{O1(this,r);break}}}onStartTag(r){this.skipNextNewLine=!1,this.currentToken=r,this._processStartTag(r),r.selfClosing&&!r.ackSelfClosing&&this._err(r,Ee.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(r){this.shouldProcessStartTagTokenInForeignContent(r)?mxe(this,r):this._startTagOutsideForeignContent(r)}_startTagOutsideForeignContent(r){switch(this.insertionMode){case le.INITIAL:{T1(this,r);break}case le.BEFORE_HTML:{Gve(this,r);break}case le.BEFORE_HEAD:{Kve(this,r);break}case le.IN_HEAD:{Hi(this,r);break}case le.IN_HEAD_NO_SCRIPT:{Jve(this,r);break}case le.AFTER_HEAD:{t3e(this,r);break}case le.IN_BODY:{So(this,r);break}case le.IN_TABLE:{Fh(this,r);break}case le.IN_TABLE_TEXT:{O1(this,r);break}case le.IN_CAPTION:{Z3e(this,r);break}case le.IN_COLUMN_GROUP:{Z_(this,r);break}case le.IN_TABLE_BODY:{b3(this,r);break}case le.IN_ROW:{v3(this,r);break}case le.IN_CELL:{exe(this,r);break}case le.IN_SELECT:{dz(this,r);break}case le.IN_SELECT_IN_TABLE:{rxe(this,r);break}case le.IN_TEMPLATE:{oxe(this,r);break}case le.AFTER_BODY:{ixe(this,r);break}case le.IN_FRAMESET:{lxe(this,r);break}case le.AFTER_FRAMESET:{cxe(this,r);break}case le.AFTER_AFTER_BODY:{dxe(this,r);break}case le.AFTER_AFTER_FRAMESET:{pxe(this,r);break}}}onEndTag(r){this.skipNextNewLine=!1,this.currentToken=r,this.currentNotInHTML?gxe(this,r):this._endTagOutsideForeignContent(r)}_endTagOutsideForeignContent(r){switch(this.insertionMode){case le.INITIAL:{T1(this,r);break}case le.BEFORE_HTML:{Xve(this,r);break}case le.BEFORE_HEAD:{Zve(this,r);break}case le.IN_HEAD:{Qve(this,r);break}case le.IN_HEAD_NO_SCRIPT:{e3e(this,r);break}case le.AFTER_HEAD:{r3e(this,r);break}case le.IN_BODY:{g3(this,r);break}case le.TEXT:{F3e(this,r);break}case le.IN_TABLE:{$1(this,r);break}case le.IN_TABLE_TEXT:{O1(this,r);break}case le.IN_CAPTION:{Q3e(this,r);break}case le.IN_COLUMN_GROUP:{J3e(this,r);break}case le.IN_TABLE_BODY:{Q_(this,r);break}case le.IN_ROW:{uz(this,r);break}case le.IN_CELL:{txe(this,r);break}case le.IN_SELECT:{pz(this,r);break}case le.IN_SELECT_IN_TABLE:{nxe(this,r);break}case le.IN_TEMPLATE:{axe(this,r);break}case le.AFTER_BODY:{fz(this,r);break}case le.IN_FRAMESET:{sxe(this,r);break}case le.AFTER_FRAMESET:{uxe(this,r);break}case le.AFTER_AFTER_BODY:{w3(this,r);break}}}onEof(r){switch(this.insertionMode){case le.INITIAL:{T1(this,r);break}case le.BEFORE_HTML:{R1(this,r);break}case le.BEFORE_HEAD:{A1(this,r);break}case le.IN_HEAD:{N1(this,r);break}case le.IN_HEAD_NO_SCRIPT:{D1(this,r);break}case le.AFTER_HEAD:{P1(this,r);break}case le.IN_BODY:case le.IN_TABLE:case le.IN_CAPTION:case le.IN_COLUMN_GROUP:case le.IN_TABLE_BODY:case le.IN_ROW:case le.IN_CELL:case le.IN_SELECT:case le.IN_SELECT_IN_TABLE:{iz(this,r);break}case le.TEXT:{H3e(this,r);break}case le.IN_TABLE_TEXT:{O1(this,r);break}case le.IN_TEMPLATE:{hz(this,r);break}case le.AFTER_BODY:case le.IN_FRAMESET:case le.AFTER_FRAMESET:case le.AFTER_AFTER_BODY:case le.AFTER_AFTER_FRAMESET:{X_(this,r);break}}}onWhitespaceCharacter(r){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,r.chars.charCodeAt(0)===ne.LINE_FEED)){if(r.chars.length===1)return;r.chars=r.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(r);return}switch(this.insertionMode){case le.IN_HEAD:case le.IN_HEAD_NO_SCRIPT:case le.AFTER_HEAD:case le.TEXT:case le.IN_COLUMN_GROUP:case le.IN_SELECT:case le.IN_SELECT_IN_TABLE:case le.IN_FRAMESET:case le.AFTER_FRAMESET:{this._insertCharacters(r);break}case le.IN_BODY:case le.IN_CAPTION:case le.IN_CELL:case le.IN_TEMPLATE:case le.AFTER_BODY:case le.AFTER_AFTER_BODY:case le.AFTER_AFTER_FRAMESET:{JL(this,r);break}case le.IN_TABLE:case le.IN_TABLE_BODY:case le.IN_ROW:{K_(this,r);break}case le.IN_TABLE_TEXT:{lz(this,r);break}}}}function Bve(e,r){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(r.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(r.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):az(e,r),n}function jve(e,r){let n=null,o=e.openElements.stackTop;for(;o>=0;o--){const a=e.openElements.items[o];if(a===r.element)break;e._isSpecialElement(a,e.openElements.tagIDs[o])&&(n=a)}return n||(e.openElements.shortenToLength(o<0?0:o),e.activeFormattingElements.removeEntry(r)),n}function Fve(e,r,n){let o=r,a=e.openElements.getCommonAncestor(r);for(let i=0,l=a;l!==n;i++,l=a){a=e.openElements.getCommonAncestor(l);const s=e.activeFormattingElements.getElementEntry(l),c=s&&i>=Lve;!s||c?(c&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(l)):(l=Hve(e,s),o===r&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(o),e.treeAdapter.appendChild(l,o),o=l)}return o}function Hve(e,r){const n=e.treeAdapter.getNamespaceURI(r.element),o=e.treeAdapter.createElement(r.token.tagName,n,r.token.attrs);return e.openElements.replace(r.element,o),r.element=o,o}function qve(e,r,n){const o=e.treeAdapter.getTagName(r),a=jh(o);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(r);a===H.TEMPLATE&&i===$e.HTML&&(r=e.treeAdapter.getTemplateContent(r)),e.treeAdapter.appendChild(r,n)}}function Uve(e,r,n){const o=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,o,a.attrs);e._adoptNodes(r,i),e.treeAdapter.appendChild(r,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(r,i,a.tagID)}function W_(e,r){for(let n=0;n=n;o--)e._setEndLocation(e.openElements.items[o],r);if(!e.fragmentContext&&e.openElements.stackTop>=0){const o=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(o);if(a&&!a.endTag&&(e._setEndLocation(o,r),e.openElements.stackTop>=1)){const i=e.openElements.items[1],l=e.treeAdapter.getNodeSourceCodeLocation(i);l&&!l.endTag&&e._setEndLocation(i,r)}}}}function Wve(e,r){e._setDocumentType(r);const n=r.forceQuirks?Ja.QUIRKS:_ve(r);kve(r)||e._err(r,Ee.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=le.BEFORE_HTML}function T1(e,r){e._err(r,Ee.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ja.QUIRKS),e.insertionMode=le.BEFORE_HTML,e._processToken(r)}function Gve(e,r){r.tagID===H.HTML?(e._insertElement(r,$e.HTML),e.insertionMode=le.BEFORE_HEAD):R1(e,r)}function Xve(e,r){const n=r.tagID;(n===H.HTML||n===H.HEAD||n===H.BODY||n===H.BR)&&R1(e,r)}function R1(e,r){e._insertFakeRootElement(),e.insertionMode=le.BEFORE_HEAD,e._processToken(r)}function Kve(e,r){switch(r.tagID){case H.HTML:{So(e,r);break}case H.HEAD:{e._insertElement(r,$e.HTML),e.headElement=e.openElements.current,e.insertionMode=le.IN_HEAD;break}default:A1(e,r)}}function Zve(e,r){const n=r.tagID;n===H.HEAD||n===H.BODY||n===H.HTML||n===H.BR?A1(e,r):e._err(r,Ee.endTagWithoutMatchingOpenElement)}function A1(e,r){e._insertFakeElement(me.HEAD,H.HEAD),e.headElement=e.openElements.current,e.insertionMode=le.IN_HEAD,e._processToken(r)}function Hi(e,r){switch(r.tagID){case H.HTML:{So(e,r);break}case H.BASE:case H.BASEFONT:case H.BGSOUND:case H.LINK:case H.META:{e._appendElement(r,$e.HTML),r.ackSelfClosing=!0;break}case H.TITLE:{e._switchToTextParsing(r,on.RCDATA);break}case H.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(r,on.RAWTEXT):(e._insertElement(r,$e.HTML),e.insertionMode=le.IN_HEAD_NO_SCRIPT);break}case H.NOFRAMES:case H.STYLE:{e._switchToTextParsing(r,on.RAWTEXT);break}case H.SCRIPT:{e._switchToTextParsing(r,on.SCRIPT_DATA);break}case H.TEMPLATE:{e._insertTemplate(r),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=le.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(le.IN_TEMPLATE);break}case H.HEAD:{e._err(r,Ee.misplacedStartTagForHeadElement);break}default:N1(e,r)}}function Qve(e,r){switch(r.tagID){case H.HEAD:{e.openElements.pop(),e.insertionMode=le.AFTER_HEAD;break}case H.BODY:case H.BR:case H.HTML:{N1(e,r);break}case H.TEMPLATE:{Sd(e,r);break}default:e._err(r,Ee.endTagWithoutMatchingOpenElement)}}function Sd(e,r){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==H.TEMPLATE&&e._err(r,Ee.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(H.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(r,Ee.endTagWithoutMatchingOpenElement)}function N1(e,r){e.openElements.pop(),e.insertionMode=le.AFTER_HEAD,e._processToken(r)}function Jve(e,r){switch(r.tagID){case H.HTML:{So(e,r);break}case H.BASEFONT:case H.BGSOUND:case H.HEAD:case H.LINK:case H.META:case H.NOFRAMES:case H.STYLE:{Hi(e,r);break}case H.NOSCRIPT:{e._err(r,Ee.nestedNoscriptInHead);break}default:D1(e,r)}}function e3e(e,r){switch(r.tagID){case H.NOSCRIPT:{e.openElements.pop(),e.insertionMode=le.IN_HEAD;break}case H.BR:{D1(e,r);break}default:e._err(r,Ee.endTagWithoutMatchingOpenElement)}}function D1(e,r){const n=r.type===Ht.EOF?Ee.openElementsLeftAfterEof:Ee.disallowedContentInNoscriptInHead;e._err(r,n),e.openElements.pop(),e.insertionMode=le.IN_HEAD,e._processToken(r)}function t3e(e,r){switch(r.tagID){case H.HTML:{So(e,r);break}case H.BODY:{e._insertElement(r,$e.HTML),e.framesetOk=!1,e.insertionMode=le.IN_BODY;break}case H.FRAMESET:{e._insertElement(r,$e.HTML),e.insertionMode=le.IN_FRAMESET;break}case H.BASE:case H.BASEFONT:case H.BGSOUND:case H.LINK:case H.META:case H.NOFRAMES:case H.SCRIPT:case H.STYLE:case H.TEMPLATE:case H.TITLE:{e._err(r,Ee.abandonedHeadElementChild),e.openElements.push(e.headElement,H.HEAD),Hi(e,r),e.openElements.remove(e.headElement);break}case H.HEAD:{e._err(r,Ee.misplacedStartTagForHeadElement);break}default:P1(e,r)}}function r3e(e,r){switch(r.tagID){case H.BODY:case H.HTML:case H.BR:{P1(e,r);break}case H.TEMPLATE:{Sd(e,r);break}default:e._err(r,Ee.endTagWithoutMatchingOpenElement)}}function P1(e,r){e._insertFakeElement(me.BODY,H.BODY),e.insertionMode=le.IN_BODY,m3(e,r)}function m3(e,r){switch(r.type){case Ht.CHARACTER:{ez(e,r);break}case Ht.WHITESPACE_CHARACTER:{JL(e,r);break}case Ht.COMMENT:{G_(e,r);break}case Ht.START_TAG:{So(e,r);break}case Ht.END_TAG:{g3(e,r);break}case Ht.EOF:{iz(e,r);break}}}function JL(e,r){e._reconstructActiveFormattingElements(),e._insertCharacters(r)}function ez(e,r){e._reconstructActiveFormattingElements(),e._insertCharacters(r),e.framesetOk=!1}function n3e(e,r){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],r.attrs)}function o3e(e,r){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,r.attrs))}function a3e(e,r){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(r,$e.HTML),e.insertionMode=le.IN_FRAMESET)}function i3e(e,r){e.openElements.hasInButtonScope(H.P)&&e._closePElement(),e._insertElement(r,$e.HTML)}function l3e(e,r){e.openElements.hasInButtonScope(H.P)&&e._closePElement(),U_.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(r,$e.HTML)}function s3e(e,r){e.openElements.hasInButtonScope(H.P)&&e._closePElement(),e._insertElement(r,$e.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function c3e(e,r){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(H.P)&&e._closePElement(),e._insertElement(r,$e.HTML),n||(e.formElement=e.openElements.current))}function u3e(e,r){e.framesetOk=!1;const n=r.tagID;for(let o=e.openElements.stackTop;o>=0;o--){const a=e.openElements.tagIDs[o];if(n===H.LI&&a===H.LI||(n===H.DD||n===H.DT)&&(a===H.DD||a===H.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==H.ADDRESS&&a!==H.DIV&&a!==H.P&&e._isSpecialElement(e.openElements.items[o],a))break}e.openElements.hasInButtonScope(H.P)&&e._closePElement(),e._insertElement(r,$e.HTML)}function d3e(e,r){e.openElements.hasInButtonScope(H.P)&&e._closePElement(),e._insertElement(r,$e.HTML),e.tokenizer.state=on.PLAINTEXT}function p3e(e,r){e.openElements.hasInScope(H.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(H.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(r,$e.HTML),e.framesetOk=!1}function h3e(e,r){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(me.A);n&&(W_(e,r),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(r,$e.HTML),e.activeFormattingElements.pushElement(e.openElements.current,r)}function f3e(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,$e.HTML),e.activeFormattingElements.pushElement(e.openElements.current,r)}function m3e(e,r){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(H.NOBR)&&(W_(e,r),e._reconstructActiveFormattingElements()),e._insertElement(r,$e.HTML),e.activeFormattingElements.pushElement(e.openElements.current,r)}function g3e(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,$e.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function y3e(e,r){e.treeAdapter.getDocumentMode(e.document)!==Ja.QUIRKS&&e.openElements.hasInButtonScope(H.P)&&e._closePElement(),e._insertElement(r,$e.HTML),e.framesetOk=!1,e.insertionMode=le.IN_TABLE}function tz(e,r){e._reconstructActiveFormattingElements(),e._appendElement(r,$e.HTML),e.framesetOk=!1,r.ackSelfClosing=!0}function rz(e){const r=DL(e,Ed.TYPE);return r!=null&&r.toLowerCase()===Ove}function b3e(e,r){e._reconstructActiveFormattingElements(),e._appendElement(r,$e.HTML),rz(r)||(e.framesetOk=!1),r.ackSelfClosing=!0}function v3e(e,r){e._appendElement(r,$e.HTML),r.ackSelfClosing=!0}function x3e(e,r){e.openElements.hasInButtonScope(H.P)&&e._closePElement(),e._appendElement(r,$e.HTML),e.framesetOk=!1,r.ackSelfClosing=!0}function w3e(e,r){r.tagName=me.IMG,r.tagID=H.IMG,tz(e,r)}function k3e(e,r){e._insertElement(r,$e.HTML),e.skipNextNewLine=!0,e.tokenizer.state=on.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=le.TEXT}function _3e(e,r){e.openElements.hasInButtonScope(H.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(r,on.RAWTEXT)}function E3e(e,r){e.framesetOk=!1,e._switchToTextParsing(r,on.RAWTEXT)}function nz(e,r){e._switchToTextParsing(r,on.RAWTEXT)}function S3e(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,$e.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===le.IN_TABLE||e.insertionMode===le.IN_CAPTION||e.insertionMode===le.IN_TABLE_BODY||e.insertionMode===le.IN_ROW||e.insertionMode===le.IN_CELL?le.IN_SELECT_IN_TABLE:le.IN_SELECT}function C3e(e,r){e.openElements.currentTagId===H.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(r,$e.HTML)}function T3e(e,r){e.openElements.hasInScope(H.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(r,$e.HTML)}function R3e(e,r){e.openElements.hasInScope(H.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(H.RTC),e._insertElement(r,$e.HTML)}function A3e(e,r){e._reconstructActiveFormattingElements(),GL(r),Y_(r),r.selfClosing?e._appendElement(r,$e.MATHML):e._insertElement(r,$e.MATHML),r.ackSelfClosing=!0}function N3e(e,r){e._reconstructActiveFormattingElements(),XL(r),Y_(r),r.selfClosing?e._appendElement(r,$e.SVG):e._insertElement(r,$e.SVG),r.ackSelfClosing=!0}function oz(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,$e.HTML)}function So(e,r){switch(r.tagID){case H.I:case H.S:case H.B:case H.U:case H.EM:case H.TT:case H.BIG:case H.CODE:case H.FONT:case H.SMALL:case H.STRIKE:case H.STRONG:{f3e(e,r);break}case H.A:{h3e(e,r);break}case H.H1:case H.H2:case H.H3:case H.H4:case H.H5:case H.H6:{l3e(e,r);break}case H.P:case H.DL:case H.OL:case H.UL:case H.DIV:case H.DIR:case H.NAV:case H.MAIN:case H.MENU:case H.ASIDE:case H.CENTER:case H.FIGURE:case H.FOOTER:case H.HEADER:case H.HGROUP:case H.DIALOG:case H.DETAILS:case H.ADDRESS:case H.ARTICLE:case H.SEARCH:case H.SECTION:case H.SUMMARY:case H.FIELDSET:case H.BLOCKQUOTE:case H.FIGCAPTION:{i3e(e,r);break}case H.LI:case H.DD:case H.DT:{u3e(e,r);break}case H.BR:case H.IMG:case H.WBR:case H.AREA:case H.EMBED:case H.KEYGEN:{tz(e,r);break}case H.HR:{x3e(e,r);break}case H.RB:case H.RTC:{T3e(e,r);break}case H.RT:case H.RP:{R3e(e,r);break}case H.PRE:case H.LISTING:{s3e(e,r);break}case H.XMP:{_3e(e,r);break}case H.SVG:{N3e(e,r);break}case H.HTML:{n3e(e,r);break}case H.BASE:case H.LINK:case H.META:case H.STYLE:case H.TITLE:case H.SCRIPT:case H.BGSOUND:case H.BASEFONT:case H.TEMPLATE:{Hi(e,r);break}case H.BODY:{o3e(e,r);break}case H.FORM:{c3e(e,r);break}case H.NOBR:{m3e(e,r);break}case H.MATH:{A3e(e,r);break}case H.TABLE:{y3e(e,r);break}case H.INPUT:{b3e(e,r);break}case H.PARAM:case H.TRACK:case H.SOURCE:{v3e(e,r);break}case H.IMAGE:{w3e(e,r);break}case H.BUTTON:{p3e(e,r);break}case H.APPLET:case H.OBJECT:case H.MARQUEE:{g3e(e,r);break}case H.IFRAME:{E3e(e,r);break}case H.SELECT:{S3e(e,r);break}case H.OPTION:case H.OPTGROUP:{C3e(e,r);break}case H.NOEMBED:case H.NOFRAMES:{nz(e,r);break}case H.FRAMESET:{a3e(e,r);break}case H.TEXTAREA:{k3e(e,r);break}case H.NOSCRIPT:{e.options.scriptingEnabled?nz(e,r):oz(e,r);break}case H.PLAINTEXT:{d3e(e,r);break}case H.COL:case H.TH:case H.TD:case H.TR:case H.HEAD:case H.FRAME:case H.TBODY:case H.TFOOT:case H.THEAD:case H.CAPTION:case H.COLGROUP:break;default:oz(e,r)}}function D3e(e,r){if(e.openElements.hasInScope(H.BODY)&&(e.insertionMode=le.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,r)}}function P3e(e,r){e.openElements.hasInScope(H.BODY)&&(e.insertionMode=le.AFTER_BODY,fz(e,r))}function $3e(e,r){const n=r.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function M3e(e){const r=e.openElements.tmplCount>0,{formElement:n}=e;r||(e.formElement=null),(n||r)&&e.openElements.hasInScope(H.FORM)&&(e.openElements.generateImpliedEndTags(),r?e.openElements.popUntilTagNamePopped(H.FORM):n&&e.openElements.remove(n))}function O3e(e){e.openElements.hasInButtonScope(H.P)||e._insertFakeElement(me.P,H.P),e._closePElement()}function I3e(e){e.openElements.hasInListItemScope(H.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(H.LI),e.openElements.popUntilTagNamePopped(H.LI))}function L3e(e,r){const n=r.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function z3e(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function B3e(e,r){const n=r.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function j3e(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(me.BR,H.BR),e.openElements.pop(),e.framesetOk=!1}function az(e,r){const n=r.tagName,o=r.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],l=e.openElements.tagIDs[a];if(o===l&&(o!==H.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(o),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,l))break}}function g3(e,r){switch(r.tagID){case H.A:case H.B:case H.I:case H.S:case H.U:case H.EM:case H.TT:case H.BIG:case H.CODE:case H.FONT:case H.NOBR:case H.SMALL:case H.STRIKE:case H.STRONG:{W_(e,r);break}case H.P:{O3e(e);break}case H.DL:case H.UL:case H.OL:case H.DIR:case H.DIV:case H.NAV:case H.PRE:case H.MAIN:case H.MENU:case H.ASIDE:case H.BUTTON:case H.CENTER:case H.FIGURE:case H.FOOTER:case H.HEADER:case H.HGROUP:case H.DIALOG:case H.ADDRESS:case H.ARTICLE:case H.DETAILS:case H.SEARCH:case H.SECTION:case H.SUMMARY:case H.LISTING:case H.FIELDSET:case H.BLOCKQUOTE:case H.FIGCAPTION:{$3e(e,r);break}case H.LI:{I3e(e);break}case H.DD:case H.DT:{L3e(e,r);break}case H.H1:case H.H2:case H.H3:case H.H4:case H.H5:case H.H6:{z3e(e);break}case H.BR:{j3e(e);break}case H.BODY:{D3e(e,r);break}case H.HTML:{P3e(e,r);break}case H.FORM:{M3e(e);break}case H.APPLET:case H.OBJECT:case H.MARQUEE:{B3e(e,r);break}case H.TEMPLATE:{Sd(e,r);break}default:az(e,r)}}function iz(e,r){e.tmplInsertionModeStack.length>0?hz(e,r):X_(e,r)}function F3e(e,r){var n;r.tagID===H.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function H3e(e,r){e._err(r,Ee.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(r)}function K_(e,r){if(KL.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=le.IN_TABLE_TEXT,r.type){case Ht.CHARACTER:{sz(e,r);break}case Ht.WHITESPACE_CHARACTER:{lz(e,r);break}}else M1(e,r)}function q3e(e,r){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(r,$e.HTML),e.insertionMode=le.IN_CAPTION}function U3e(e,r){e.openElements.clearBackToTableContext(),e._insertElement(r,$e.HTML),e.insertionMode=le.IN_COLUMN_GROUP}function V3e(e,r){e.openElements.clearBackToTableContext(),e._insertFakeElement(me.COLGROUP,H.COLGROUP),e.insertionMode=le.IN_COLUMN_GROUP,Z_(e,r)}function Y3e(e,r){e.openElements.clearBackToTableContext(),e._insertElement(r,$e.HTML),e.insertionMode=le.IN_TABLE_BODY}function W3e(e,r){e.openElements.clearBackToTableContext(),e._insertFakeElement(me.TBODY,H.TBODY),e.insertionMode=le.IN_TABLE_BODY,b3(e,r)}function G3e(e,r){e.openElements.hasInTableScope(H.TABLE)&&(e.openElements.popUntilTagNamePopped(H.TABLE),e._resetInsertionMode(),e._processStartTag(r))}function X3e(e,r){rz(r)?e._appendElement(r,$e.HTML):M1(e,r),r.ackSelfClosing=!0}function K3e(e,r){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(r,$e.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Fh(e,r){switch(r.tagID){case H.TD:case H.TH:case H.TR:{W3e(e,r);break}case H.STYLE:case H.SCRIPT:case H.TEMPLATE:{Hi(e,r);break}case H.COL:{V3e(e,r);break}case H.FORM:{K3e(e,r);break}case H.TABLE:{G3e(e,r);break}case H.TBODY:case H.TFOOT:case H.THEAD:{Y3e(e,r);break}case H.INPUT:{X3e(e,r);break}case H.CAPTION:{q3e(e,r);break}case H.COLGROUP:{U3e(e,r);break}default:M1(e,r)}}function $1(e,r){switch(r.tagID){case H.TABLE:{e.openElements.hasInTableScope(H.TABLE)&&(e.openElements.popUntilTagNamePopped(H.TABLE),e._resetInsertionMode());break}case H.TEMPLATE:{Sd(e,r);break}case H.BODY:case H.CAPTION:case H.COL:case H.COLGROUP:case H.HTML:case H.TBODY:case H.TD:case H.TFOOT:case H.TH:case H.THEAD:case H.TR:break;default:M1(e,r)}}function M1(e,r){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,m3(e,r),e.fosterParentingEnabled=n}function lz(e,r){e.pendingCharacterTokens.push(r)}function sz(e,r){e.pendingCharacterTokens.push(r),e.hasNonWhitespacePendingCharacterToken=!0}function O1(e,r){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===H.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===H.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===H.OPTGROUP&&e.openElements.pop();break}case H.OPTION:{e.openElements.currentTagId===H.OPTION&&e.openElements.pop();break}case H.SELECT:{e.openElements.hasInSelectScope(H.SELECT)&&(e.openElements.popUntilTagNamePopped(H.SELECT),e._resetInsertionMode());break}case H.TEMPLATE:{Sd(e,r);break}}}function rxe(e,r){const n=r.tagID;n===H.CAPTION||n===H.TABLE||n===H.TBODY||n===H.TFOOT||n===H.THEAD||n===H.TR||n===H.TD||n===H.TH?(e.openElements.popUntilTagNamePopped(H.SELECT),e._resetInsertionMode(),e._processStartTag(r)):dz(e,r)}function nxe(e,r){const n=r.tagID;n===H.CAPTION||n===H.TABLE||n===H.TBODY||n===H.TFOOT||n===H.THEAD||n===H.TR||n===H.TD||n===H.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(H.SELECT),e._resetInsertionMode(),e.onEndTag(r)):pz(e,r)}function oxe(e,r){switch(r.tagID){case H.BASE:case H.BASEFONT:case H.BGSOUND:case H.LINK:case H.META:case H.NOFRAMES:case H.SCRIPT:case H.STYLE:case H.TEMPLATE:case H.TITLE:{Hi(e,r);break}case H.CAPTION:case H.COLGROUP:case H.TBODY:case H.TFOOT:case H.THEAD:{e.tmplInsertionModeStack[0]=le.IN_TABLE,e.insertionMode=le.IN_TABLE,Fh(e,r);break}case H.COL:{e.tmplInsertionModeStack[0]=le.IN_COLUMN_GROUP,e.insertionMode=le.IN_COLUMN_GROUP,Z_(e,r);break}case H.TR:{e.tmplInsertionModeStack[0]=le.IN_TABLE_BODY,e.insertionMode=le.IN_TABLE_BODY,b3(e,r);break}case H.TD:case H.TH:{e.tmplInsertionModeStack[0]=le.IN_ROW,e.insertionMode=le.IN_ROW,v3(e,r);break}default:e.tmplInsertionModeStack[0]=le.IN_BODY,e.insertionMode=le.IN_BODY,So(e,r)}}function axe(e,r){r.tagID===H.TEMPLATE&&Sd(e,r)}function hz(e,r){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(H.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(r)):X_(e,r)}function ixe(e,r){r.tagID===H.HTML?So(e,r):x3(e,r)}function fz(e,r){var n;if(r.tagID===H.HTML){if(e.fragmentContext||(e.insertionMode=le.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===H.HTML){e._setEndLocation(e.openElements.items[0],r);const o=e.openElements.items[1];o&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(o))===null||n===void 0)&&n.endTag)&&e._setEndLocation(o,r)}}else x3(e,r)}function x3(e,r){e.insertionMode=le.IN_BODY,m3(e,r)}function lxe(e,r){switch(r.tagID){case H.HTML:{So(e,r);break}case H.FRAMESET:{e._insertElement(r,$e.HTML);break}case H.FRAME:{e._appendElement(r,$e.HTML),r.ackSelfClosing=!0;break}case H.NOFRAMES:{Hi(e,r);break}}}function sxe(e,r){r.tagID===H.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==H.FRAMESET&&(e.insertionMode=le.AFTER_FRAMESET))}function cxe(e,r){switch(r.tagID){case H.HTML:{So(e,r);break}case H.NOFRAMES:{Hi(e,r);break}}}function uxe(e,r){r.tagID===H.HTML&&(e.insertionMode=le.AFTER_AFTER_FRAMESET)}function dxe(e,r){r.tagID===H.HTML?So(e,r):w3(e,r)}function w3(e,r){e.insertionMode=le.IN_BODY,m3(e,r)}function pxe(e,r){switch(r.tagID){case H.HTML:{So(e,r);break}case H.NOFRAMES:{Hi(e,r);break}}}function hxe(e,r){r.chars=Or,e._insertCharacters(r)}function fxe(e,r){e._insertCharacters(r),e.framesetOk=!1}function mz(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==$e.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function mxe(e,r){if(Nve(r))mz(e),e._startTagOutsideForeignContent(r);else{const n=e._getAdjustedCurrentElement(),o=e.treeAdapter.getNamespaceURI(n);o===$e.MATHML?GL(r):o===$e.SVG&&(Dve(r),XL(r)),Y_(r),r.selfClosing?e._appendElement(r,o):e._insertElement(r,o),r.ackSelfClosing=!0}}function gxe(e,r){if(r.tagID===H.P||r.tagID===H.BR){mz(e),e._endTagOutsideForeignContent(r);return}for(let n=e.openElements.stackTop;n>0;n--){const o=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(o)===$e.HTML){e._endTagOutsideForeignContent(r);break}const a=e.treeAdapter.getTagName(o);if(a.toLowerCase()===r.tagName){r.tagName=a,e.openElements.shortenToLength(n);break}}}me.AREA,me.BASE,me.BASEFONT,me.BGSOUND,me.BR,me.COL,me.EMBED,me.FRAME,me.HR,me.IMG,me.INPUT,me.KEYGEN,me.LINK,me.META,me.PARAM,me.SOURCE,me.TRACK,me.WBR;const k3=gz("end"),zs=gz("start");function gz(e){return r;function r(n){const o=n&&n.position&&n.position[e]||{};if(typeof o.line=="number"&&o.line>0&&typeof o.column=="number"&&o.column>0)return{line:o.line,column:o.column,offset:typeof o.offset=="number"&&o.offset>-1?o.offset:void 0}}}function yz(e){const r=zs(e),n=k3(e);if(r&&n)return{start:r,end:n}}const _3=(function(e){if(e==null)return xxe;if(typeof e=="function")return E3(e);if(typeof e=="object")return Array.isArray(e)?yxe(e):bxe(e);if(typeof e=="string")return vxe(e);throw new Error("Expected function, string, or object as test")});function yxe(e){const r=[];let n=-1;for(;++n":""))+")"})}return f;function f(){let g=bz,b,x,w;if((!r||i(c,u,d[d.length-1]||void 0))&&(g=Exe(n(c,d)),g[0]===J_))return g;if("children"in c&&c.children){const k=c;if(k.children&&g[0]!==_xe)for(x=(o?k.children.length:-1)+l,w=d.concat(k);x>-1&&x])/gi,Cxe=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),xz={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function wz(e,r){const n=Ixe(e),o=j_("type",{handlers:{root:Txe,element:Rxe,text:Axe,comment:_z,doctype:Nxe,raw:Pxe},unknown:$xe}),a={parser:n?new QL(xz):QL.getFragmentParser(void 0,xz),handle(s){o(s,a)},stitches:!1,options:r||{}};o(e,a),Hh(a,zs());const i=n?a.parser.document:a.parser.getFragment(),l=xbe(i,{file:a.options.file});return a.stitches&&e8(l,"comment",function(s,c,u){const d=s;if(d.value.stitch&&u&&c!==void 0){const p=u.children;return p[c]=d.value.stitch,c}}),l.type==="root"&&l.children.length===1&&l.children[0].type===e.type?l.children[0]:l}function kz(e,r){let n=-1;if(e)for(;++n4&&(r.parser.tokenizer.state=0);const n={type:Ht.CHARACTER,chars:e.value,location:I1(e)};Hh(r,zs(e)),r.parser.currentToken=n,r.parser._processToken(r.parser.currentToken)}function Nxe(e,r){const n={type:Ht.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:I1(e)};Hh(r,zs(e)),r.parser.currentToken=n,r.parser._processToken(r.parser.currentToken)}function Dxe(e,r){r.stitches=!0;const n=Lxe(e);if("children"in e&&"children"in n){const o=wz({type:"root",children:e.children},r.options);n.children=o.children}_z({type:"comment",value:{stitch:n}},r)}function _z(e,r){const n=e.value,o={type:Ht.COMMENT,data:n,location:I1(e)};Hh(r,zs(e)),r.parser.currentToken=o,r.parser._processToken(r.parser.currentToken)}function Pxe(e,r){if(r.parser.tokenizer.preprocessor.html="",r.parser.tokenizer.preprocessor.pos=-1,r.parser.tokenizer.preprocessor.lastGapPos=-2,r.parser.tokenizer.preprocessor.gapStack=[],r.parser.tokenizer.preprocessor.skipNextNewLine=!1,r.parser.tokenizer.preprocessor.lastChunkWritten=!1,r.parser.tokenizer.preprocessor.endOfChunkHit=!1,r.parser.tokenizer.preprocessor.isEol=!1,Ez(r,zs(e)),r.parser.tokenizer.write(r.options.tagfilter?e.value.replace(Sxe,"<$1$2"):e.value,!1),r.parser.tokenizer._runParsingLoop(),r.parser.tokenizer.state===72||r.parser.tokenizer.state===78){r.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=r.parser.tokenizer._consume();r.parser.tokenizer._callState(n)}}function $xe(e,r){const n=e;if(r.options.passThrough&&r.options.passThrough.includes(n.type))Dxe(n,r);else{let o="";throw Cxe.has(n.type)&&(o=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+o)}}function Hh(e,r){Ez(e,r);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=on.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function Ez(e,r){if(r&&r.offset!==void 0){const n={startLine:r.line,startCol:r.column,startOffset:r.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-r.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=r.offset,e.parser.tokenizer.preprocessor.line=r.line,e.parser.tokenizer.currentLocation=n}}function Mxe(e,r){const n=e.tagName.toLowerCase();if(r.parser.tokenizer.state===on.PLAINTEXT)return;Hh(r,zs(e));const o=r.parser.openElements.current;let a="namespaceURI"in o?o.namespaceURI:kd.html;a===kd.html&&n==="svg"&&(a=kd.svg);const i=Obe({...e,children:[]},{space:a===kd.svg?"svg":"html"}),l={type:Ht.START_TAG,tagName:n,tagID:jh(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:I1(e)};r.parser.currentToken=l,r.parser._processToken(r.parser.currentToken),r.parser.tokenizer.lastStartTagName=n}function Oxe(e,r){const n=e.tagName.toLowerCase();if(!r.parser.tokenizer.inForeignNode&&TL.includes(n)||r.parser.tokenizer.state===on.PLAINTEXT)return;Hh(r,k3(e));const o={type:Ht.END_TAG,tagName:n,tagID:jh(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:I1(e)};r.parser.currentToken=o,r.parser._processToken(r.parser.currentToken),n===r.parser.tokenizer.lastStartTagName&&(r.parser.tokenizer.state===on.RCDATA||r.parser.tokenizer.state===on.RAWTEXT||r.parser.tokenizer.state===on.SCRIPT_DATA)&&(r.parser.tokenizer.state=on.DATA)}function Ixe(e){const r=e.type==="root"?e.children[0]:e;return!!(r&&(r.type==="doctype"||r.type==="element"&&r.tagName.toLowerCase()==="html"))}function I1(e){const r=zs(e)||{line:void 0,column:void 0,offset:void 0},n=k3(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:r.line,startCol:r.column,startOffset:r.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function Lxe(e){return"children"in e?xd({...e,children:[]}):xd(e)}function zxe(e){return function(r,n){return wz(r,{...e,file:n})}}const Cd=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],Sz={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...Cd,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...Cd],h2:[["className","sr-only"]],img:[...Cd,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...Cd,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...Cd],table:[...Cd],ul:[...Cd,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},Xc={}.hasOwnProperty;function Bxe(e,r){let n={type:"root",children:[]};const o={schema:r?{...Sz,...r}:Sz,stack:[]},a=Cz(o,e);return a&&(Array.isArray(a)?a.length===1?n=a[0]:n.children=a:n=a),n}function Cz(e,r){if(r&&typeof r=="object"){const n=r;switch(typeof n.type=="string"?n.type:""){case"comment":return jxe(e,n);case"doctype":return Fxe(e,n);case"element":return Hxe(e,n);case"root":return qxe(e,n);case"text":return Uxe(e,n)}}}function jxe(e,r){if(e.schema.allowComments){const n=typeof r.value=="string"?r.value:"",o=n.indexOf("-->"),i={type:"comment",value:o<0?n:n.slice(0,o)};return L1(i,r),i}}function Fxe(e,r){if(e.schema.allowDoctypes){const n={type:"doctype"};return L1(n,r),n}}function Hxe(e,r){const n=typeof r.tagName=="string"?r.tagName:"";e.stack.push(n);const o=Tz(e,r.children),a=Vxe(e,r.properties);e.stack.pop();let i=!1;if(n&&n!=="*"&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(i=!0,e.schema.ancestors&&Xc.call(e.schema.ancestors,n))){const s=e.schema.ancestors[n];let c=-1;for(i=!1;++c1){let a=!1,i=0;for(;++i-1&&i>c||l>-1&&i>l||s>-1&&i>s)return!0;let u=-1;for(;++u4&&r.slice(0,4).toLowerCase()==="data")return n}function Gxe(e){return function(r){return Bxe(r,e)}}const Xxe=/["&'<>`]/g,Kxe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Zxe=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Qxe=/[|\\{}()[\]^$+*?.]/g,Dz=new WeakMap;function Jxe(e,r){if(e=e.replace(r.subset?ewe(r.subset):Xxe,o),r.subset||r.escapeOnly)return e;return e.replace(Kxe,n).replace(Zxe,o);function n(a,i,l){return r.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,l.charCodeAt(i+2),r)}function o(a,i,l){return r.format(a.charCodeAt(0),l.charCodeAt(i+1),r)}}function ewe(e){let r=Dz.get(e);return r||(r=twe(e),Dz.set(e,r)),r}function twe(e){const r=[];let n=-1;for(;++n",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},lwe=["cent","copy","divide","gt","lt","not","para","times"],Pz={}.hasOwnProperty,r8={};let S3;for(S3 in t8)Pz.call(t8,S3)&&(r8[t8[S3]]=S3);const swe=/[^\dA-Za-z]/;function cwe(e,r,n,o){const a=String.fromCharCode(e);if(Pz.call(r8,a)){const i=r8[a],l="&"+i;return n&&iwe.includes(i)&&!lwe.includes(i)&&(!o||r&&r!==61&&swe.test(String.fromCharCode(r)))?l:l+";"}return""}function uwe(e,r,n){let o=nwe(e,r,n.omitOptionalSemicolons),a;if((n.useNamedReferences||n.useShortestReferences)&&(a=cwe(e,r,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!a)&&n.useShortestReferences){const i=awe(e,r,n.omitOptionalSemicolons);i.length|^->||--!>|"],hwe=["<",">"];function fwe(e,r,n,o){return o.settings.bogusComments?"":"";function a(i){return qh(i,Object.assign({},o.settings.characterReferences,{subset:hwe}))}}function mwe(e,r,n,o){return""}function C3(e,r){const n=String(e);if(typeof r!="string")throw new TypeError("Expected character");let o=0,a=n.indexOf(r);for(;a!==-1;)o++,a=n.indexOf(r,a+r.length);return o}const gwe=/[ \t\n\f\r]/g;function n8(e){return typeof e=="object"?e.type==="text"?$z(e.value):!1:$z(e)}function $z(e){return e.replace(gwe,"")===""}const Ln=Oz(1),Mz=Oz(-1),ywe=[];function Oz(e){return r;function r(n,o,a){const i=n?n.children:ywe;let l=(o||0)+e,s=i[l];if(!a)for(;s&&n8(s);)l+=e,s=i[l];return s}}const bwe={}.hasOwnProperty;function Iz(e){return r;function r(n,o,a){return bwe.call(e,n.tagName)&&e[n.tagName](n,o,a)}}const o8=Iz({body:xwe,caption:a8,colgroup:a8,dd:Ewe,dt:_we,head:a8,html:vwe,li:kwe,optgroup:Swe,option:Cwe,p:wwe,rp:Lz,rt:Lz,tbody:Rwe,td:zz,tfoot:Awe,th:zz,thead:Twe,tr:Nwe});function a8(e,r,n){const o=Ln(n,r,!0);return!o||o.type!=="comment"&&!(o.type==="text"&&n8(o.value.charAt(0)))}function vwe(e,r,n){const o=Ln(n,r);return!o||o.type!=="comment"}function xwe(e,r,n){const o=Ln(n,r);return!o||o.type!=="comment"}function wwe(e,r,n){const o=Ln(n,r);return o?o.type==="element"&&(o.tagName==="address"||o.tagName==="article"||o.tagName==="aside"||o.tagName==="blockquote"||o.tagName==="details"||o.tagName==="div"||o.tagName==="dl"||o.tagName==="fieldset"||o.tagName==="figcaption"||o.tagName==="figure"||o.tagName==="footer"||o.tagName==="form"||o.tagName==="h1"||o.tagName==="h2"||o.tagName==="h3"||o.tagName==="h4"||o.tagName==="h5"||o.tagName==="h6"||o.tagName==="header"||o.tagName==="hgroup"||o.tagName==="hr"||o.tagName==="main"||o.tagName==="menu"||o.tagName==="nav"||o.tagName==="ol"||o.tagName==="p"||o.tagName==="pre"||o.tagName==="section"||o.tagName==="table"||o.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function kwe(e,r,n){const o=Ln(n,r);return!o||o.type==="element"&&o.tagName==="li"}function _we(e,r,n){const o=Ln(n,r);return!!(o&&o.type==="element"&&(o.tagName==="dt"||o.tagName==="dd"))}function Ewe(e,r,n){const o=Ln(n,r);return!o||o.type==="element"&&(o.tagName==="dt"||o.tagName==="dd")}function Lz(e,r,n){const o=Ln(n,r);return!o||o.type==="element"&&(o.tagName==="rp"||o.tagName==="rt")}function Swe(e,r,n){const o=Ln(n,r);return!o||o.type==="element"&&o.tagName==="optgroup"}function Cwe(e,r,n){const o=Ln(n,r);return!o||o.type==="element"&&(o.tagName==="option"||o.tagName==="optgroup")}function Twe(e,r,n){const o=Ln(n,r);return!!(o&&o.type==="element"&&(o.tagName==="tbody"||o.tagName==="tfoot"))}function Rwe(e,r,n){const o=Ln(n,r);return!o||o.type==="element"&&(o.tagName==="tbody"||o.tagName==="tfoot")}function Awe(e,r,n){return!Ln(n,r)}function Nwe(e,r,n){const o=Ln(n,r);return!o||o.type==="element"&&o.tagName==="tr"}function zz(e,r,n){const o=Ln(n,r);return!o||o.type==="element"&&(o.tagName==="td"||o.tagName==="th")}const Dwe=Iz({body:Mwe,colgroup:Owe,head:$we,html:Pwe,tbody:Iwe});function Pwe(e){const r=Ln(e,-1);return!r||r.type!=="comment"}function $we(e){const r=new Set;for(const o of e.children)if(o.type==="element"&&(o.tagName==="base"||o.tagName==="title")){if(r.has(o.tagName))return!1;r.add(o.tagName)}const n=e.children[0];return!n||n.type==="element"}function Mwe(e){const r=Ln(e,-1,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&n8(r.value.charAt(0)))&&!(r.type==="element"&&(r.tagName==="meta"||r.tagName==="link"||r.tagName==="script"||r.tagName==="style"||r.tagName==="template"))}function Owe(e,r,n){const o=Mz(n,r),a=Ln(e,-1,!0);return n&&o&&o.type==="element"&&o.tagName==="colgroup"&&o8(o,n.children.indexOf(o),n)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}function Iwe(e,r,n){const o=Mz(n,r),a=Ln(e,-1);return n&&o&&o.type==="element"&&(o.tagName==="thead"||o.tagName==="tbody")&&o8(o,n.children.indexOf(o),n)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}const T3={name:[[` + */var e=function(r,n){var o,a,i=1,l=0,s=0,c=String.alphabet;function u(d,p,f){if(f){for(o=p;f=u(d,o),f<76&&f>65;)++o;return+d.slice(p-1,o)}return f=c&&c.indexOf(d.charAt(p)),f>-1?f+76:(f=d.charCodeAt(p)||0,f<45||f>127?f:f<46?65:f<48?f-1:f<58?f+18:f<65?f-11:f<91?f+11:f<97?f-37:f<123?f+5:f-63)}if((r+="")!=(n+="")){for(;i;)if(a=u(r,l++),i=u(n,s++),a<76&&i<76&&a>66&&i>66&&(a=u(r,l,l),i=u(n,s,l=o),s=o),a!=i)return a{if(n===o)return 0;if(!n)return-1;if(!o)return 1;const a=n.split(e),i=o.split(e),l=Math.min(a.length,i.length);for(let c=0;c0?e.slice(0,r):null}function C1(e){const r=e.lastIndexOf(".");return r>0?e.slice(r+1):e}const T1=e=>T_(e)?e:e.id;function Gn(e,r){const n=T1(e);return r?T1(r).startsWith(n+"."):o=>{const a=T1(o);return n.startsWith(a+".")}}function jI(e,r){if(!r)return a=>jI(e,a);const n=T1(e),o=T1(r);return n===o||o.startsWith(n+".")||n.startsWith(o+".")}function FI(e,r){return n=>Gn(e,n)}function l3(e){return(T_(e)?e:e.id).split(".").length}function R1(e,r){const n=e.split(".");if(n.length<2)return null;const o=r.split(".");if(o.length<2)return null;let a=[];for(let i=0;ia===0?(n.push(o),n):(n.unshift(`${n[0]}.${o}`),n),[])}function hbe(e,r){let n=r;for(const o of e)Gn(o,n)&&(n=o);return n!==r?n:null}function tu(e){const r=[],n=[...e];let o;for(;o=n.shift();){let a;for(;a=hbe(n,o);)r.push(n.splice(n.indexOf(a),1)[0]);r.push(o)}return r}function HI(e,r){if(!e||T_(e)){const o=e??"asc";return a=>HI(a,o)}const n=r==="desc"?-1:1;return e.map(o=>({item:o,fqn:o.id.split(".")})).sort((o,a)=>{if(o.fqn.length!==a.fqn.length)return(o.fqn.length-a.fqn.length)*n;for(let i=0;io)}var s3={},qI;function fbe(){return qI||(qI=1,s3.ARRAY_BUFFER_SUPPORT=typeof ArrayBuffer<"u",s3.SYMBOL_SUPPORT=typeof Symbol<"u"),s3}var R_,UI;function mbe(){if(UI)return R_;UI=1;function e(r){if(typeof r!="function")throw new Error("obliterator/iterator: expecting a function!");this.next=r}return typeof Symbol<"u"&&(e.prototype[Symbol.iterator]=function(){return this}),e.of=function(){var r=arguments,n=r.length,o=0;return new e(function(){return o>=n?{done:!0}:{done:!1,value:r[o++]}})},e.empty=function(){var r=new e(function(){return{done:!0}});return r},e.fromSequence=function(r){var n=0,o=r.length;return new e(function(){return n>=o?{done:!0}:{done:!1,value:r[n++]}})},e.is=function(r){return r instanceof e?!0:typeof r=="object"&&r!==null&&typeof r.next=="function"},R_=e,R_}var A_,VI;function gbe(){if(VI)return A_;VI=1;var e=fbe(),r=e.ARRAY_BUFFER_SUPPORT,n=e.SYMBOL_SUPPORT;return A_=function(a,i){var l,s,c,u,d;if(!a)throw new Error("obliterator/forEach: invalid iterable.");if(typeof i!="function")throw new Error("obliterator/forEach: expecting a callback.");if(Array.isArray(a)||r&&ArrayBuffer.isView(a)||typeof a=="string"||a.toString()==="[object Arguments]"){for(c=0,u=a.length;c=this.items.length&&(this.items=this.items.slice(this.offset),this.offset=0),this.size--,o}},n.prototype.peek=function(){if(this.size)return this.items[this.offset]},n.prototype.forEach=function(o,a){a=arguments.length>1?a:this;for(var i=this.offset,l=0,s=this.items.length;i=o.length)return{done:!0};var i=o[a];return a++,{value:i,done:!1}})},n.prototype.entries=function(){var o=this.items,a=this.offset,i=0;return new e(function(){if(a>=o.length)return{done:!0};var l=o[a];return a++,{value:[i++,l],done:!1}})},typeof Symbol<"u"&&(n.prototype[Symbol.iterator]=n.prototype.values),n.prototype.toString=function(){return this.toArray().join(",")},n.prototype.toJSON=function(){return this.toArray()},n.prototype.inspect=function(){var o=this.toArray();return Object.defineProperty(o,"constructor",{value:n,enumerable:!1}),o},typeof Symbol<"u"&&(n.prototype[Symbol.for("nodejs.util.inspect.custom")]=n.prototype.inspect),n.from=function(o){var a=new n;return r(o,function(i){a.enqueue(i)}),a},n.of=function(){return n.from(arguments)},N_=n,N_}var bbe=ybe();const D_=o3(bbe);var P_,WI;function vbe(){if(WI)return P_;WI=1;function e(r){if(typeof r!="function")throw new Error("mnemonist/DefaultMap.constructor: expecting a function.");this.items=new Map,this.factory=r,this.size=0}return e.prototype.clear=function(){this.items.clear(),this.size=0},e.prototype.get=function(r){var n=this.items.get(r);return typeof n>"u"&&(n=this.factory(r,this.size),this.items.set(r,n),this.size++),n},e.prototype.peek=function(r){return this.items.get(r)},e.prototype.set=function(r,n){return this.items.set(r,n),this.size=this.items.size,this},e.prototype.has=function(r){return this.items.has(r)},e.prototype.delete=function(r){var n=this.items.delete(r);return this.size=this.items.size,n},e.prototype.forEach=function(r,n){n=arguments.length>1?n:this,this.items.forEach(r,n)},e.prototype.entries=function(){return this.items.entries()},e.prototype.keys=function(){return this.items.keys()},e.prototype.values=function(){return this.items.values()},typeof Symbol<"u"&&(e.prototype[Symbol.iterator]=e.prototype.entries),e.prototype.inspect=function(){return this.items},typeof Symbol<"u"&&(e.prototype[Symbol.for("nodejs.util.inspect.custom")]=e.prototype.inspect),e.autoIncrement=function(){var r=0;return function(){return r++}},P_=e,P_}var xbe=vbe();const po=o3(xbe);function c3(e){return e.summary??e.description}function u3(e){return e.description??e.summary}function Ls(e){return!!e}const Nd="@group";function wbe(e){return e.kind===Nd}function GI(e,r){return nt(typeof e=="string"&&e!=""),"@"+e+"."+r}function kbe(e){return e.startsWith("@")}function _be(e){if(!e.startsWith("@"))return[null,e];const r=e.indexOf(".");if(r<2)throw new Error("Invalid global FQN");const n=e.slice(1,r),o=e.slice(r+1);return[n,o]}function A1(e){return e.startsWith("step-")}function XI(e){if(!A1(e))throw new Error(`Invalid step edge id: ${e}`);return parseFloat(e.slice(5))}const KI=-1,d3=0,N1=1,p3=2,$_=3,M_=4,O_=5,I_=6,ZI=7,QI=8,JI=typeof self=="object"?self:globalThis,Ebe=(e,r)=>{const n=(a,i)=>(e.set(i,a),a),o=a=>{if(e.has(a))return e.get(a);const[i,l]=r[a];switch(i){case d3:case KI:return n(l,a);case N1:{const s=n([],a);for(const c of l)s.push(o(c));return s}case p3:{const s=n({},a);for(const[c,u]of l)s[o(c)]=o(u);return s}case $_:return n(new Date(l),a);case M_:{const{source:s,flags:c}=l;return n(new RegExp(s,c),a)}case O_:{const s=n(new Map,a);for(const[c,u]of l)s.set(o(c),o(u));return s}case I_:{const s=n(new Set,a);for(const c of l)s.add(o(c));return s}case ZI:{const{name:s,message:c}=l;return n(new JI[s](c),a)}case QI:return n(BigInt(l),a);case"BigInt":return n(Object(BigInt(l)),a);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:s}=new Uint8Array(l);return n(new DataView(s),l)}}return n(new JI[i](l),a)};return o},ez=e=>Ebe(new Map,e)(0),Fh="",{toString:Sbe}={},{keys:Cbe}=Object,D1=e=>{const r=typeof e;if(r!=="object"||!e)return[d3,r];const n=Sbe.call(e).slice(8,-1);switch(n){case"Array":return[N1,Fh];case"Object":return[p3,Fh];case"Date":return[$_,Fh];case"RegExp":return[M_,Fh];case"Map":return[O_,Fh];case"Set":return[I_,Fh];case"DataView":return[N1,n]}return n.includes("Array")?[N1,n]:n.includes("Error")?[ZI,n]:[p3,n]},h3=([e,r])=>e===d3&&(r==="function"||r==="symbol"),Tbe=(e,r,n,o)=>{const a=(l,s)=>{const c=o.push(l)-1;return n.set(s,c),c},i=l=>{if(n.has(l))return n.get(l);let[s,c]=D1(l);switch(s){case d3:{let d=l;switch(c){case"bigint":s=QI,d=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);d=null;break;case"undefined":return a([KI],l)}return a([s,d],l)}case N1:{if(c){let f=l;return c==="DataView"?f=new Uint8Array(l.buffer):c==="ArrayBuffer"&&(f=new Uint8Array(l)),a([c,[...f]],l)}const d=[],p=a([s,d],l);for(const f of l)d.push(i(f));return p}case p3:{if(c)switch(c){case"BigInt":return a([c,l.toString()],l);case"Boolean":case"Number":case"String":return a([c,l.valueOf()],l)}if(r&&"toJSON"in l)return i(l.toJSON());const d=[],p=a([s,d],l);for(const f of Cbe(l))(e||!h3(D1(l[f])))&&d.push([i(f),i(l[f])]);return p}case $_:return a([s,l.toISOString()],l);case M_:{const{source:d,flags:p}=l;return a([s,{source:d,flags:p}],l)}case O_:{const d=[],p=a([s,d],l);for(const[f,g]of l)(e||!(h3(D1(f))||h3(D1(g))))&&d.push([i(f),i(g)]);return p}case I_:{const d=[],p=a([s,d],l);for(const f of l)(e||!h3(D1(f)))&&d.push(i(f));return p}}const{message:u}=l;return a([s,{name:c,message:u}],l)};return i},tz=(e,{json:r,lossy:n}={})=>{const o=[];return Tbe(!(r||n),!!r,new Map,o)(e),o},Dd=typeof structuredClone=="function"?(e,r)=>r&&("json"in r||"lossy"in r)?ez(tz(e,r)):structuredClone(e):(e,r)=>ez(tz(e,r));function t_t(){}let P1=class{constructor(r,n,o){this.normal=n,this.property=r,o&&(this.space=o)}};P1.prototype.normal={},P1.prototype.property={},P1.prototype.space=void 0;function rz(e,r){const n={},o={};for(const a of e)Object.assign(n,a.property),Object.assign(o,a.normal);return new P1(n,o,r)}function $1(e){return e.toLowerCase()}let Ko=class{constructor(r,n){this.attribute=n,this.property=r}};Ko.prototype.attribute="",Ko.prototype.booleanish=!1,Ko.prototype.boolean=!1,Ko.prototype.commaOrSpaceSeparated=!1,Ko.prototype.commaSeparated=!1,Ko.prototype.defined=!1,Ko.prototype.mustUseProperty=!1,Ko.prototype.number=!1,Ko.prototype.overloadedBoolean=!1,Ko.prototype.property="",Ko.prototype.spaceSeparated=!1,Ko.prototype.space=void 0;let Rbe=0;const Mt=Pd(),xn=Pd(),nz=Pd(),He=Pd(),Tr=Pd(),Hh=Pd(),wa=Pd();function Pd(){return 2**++Rbe}const z_={__proto__:null,boolean:Mt,booleanish:xn,commaOrSpaceSeparated:wa,commaSeparated:Hh,number:He,overloadedBoolean:nz,spaceSeparated:Tr},L_=Object.keys(z_);let B_=class extends Ko{constructor(r,n,o,a){let i=-1;if(super(r,n),oz(this,"space",a),typeof o=="number")for(;++i4&&n.slice(0,4)==="data"&&Pbe.test(r)){if(r.charAt(4)==="-"){const i=r.slice(5).replace(dz,Mbe);o="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=r.slice(4);if(!dz.test(i)){let l=i.replace(Dbe,$be);l.charAt(0)!=="-"&&(l="-"+l),r="data"+l}}a=B_}return new a(o,r)}function $be(e){return"-"+e.toLowerCase()}function Mbe(e){return e.charAt(1).toUpperCase()}const f3=rz([az,Abe,sz,cz,uz],"html"),M1=rz([az,Nbe,sz,cz,uz],"svg");function pz(e){const r=[],n=String(e||"");let o=n.indexOf(","),a=0,i=!1;for(;!i;){o===-1&&(o=n.length,i=!0);const l=n.slice(a,o).trim();(l||!i)&&r.push(l),a=o+1,o=n.indexOf(",",a)}return r}function hz(e,r){const n=r||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const fz=/[#.]/g;function Obe(e,r){const n=e||"",o={};let a=0,i,l;for(;a-1&&i<=r.length){let l=0;for(;;){let s=n[l];if(s===void 0){const c=vz(r,n[l-1]);s=c===-1?r.length+1:c+1,n[l]=s}if(s>i)return{line:l+1,column:i-(l>0?n[l-1]:0)+1,offset:i};l++}}}function a(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;n.length1?n[i.line-2]:0)+i.column-1;if(l4&&n.slice(0,4)==="data"&&Qbe.test(r)){if(r.charAt(4)==="-"){const i=r.slice(5).replace(Pz,rve);o="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=r.slice(4);if(!Pz.test(i)){let l=i.replace(Jbe,tve);l.charAt(0)!=="-"&&(l="-"+l),r="data"+l}}a=Y_}return new a(o,r)}function tve(e){return"-"+e.toLowerCase()}function rve(e){return e.charAt(1).toUpperCase()}const nve=_z([Tz,Cz,Nz,Dz,Kbe],"html"),$z=_z([Tz,Cz,Nz,Dz,Zbe],"svg"),Mz={}.hasOwnProperty;function W_(e,r){const n=r||{};function o(a,...i){let l=o.invalid;const s=o.handlers;if(a&&Mz.call(a,e)){const c=String(a[e]);l=Mz.call(s,c)?s[c]:o.unknown}if(l)return l.call(this,a,...i)}return o.handlers=n.handlers||{},o.invalid=n.invalid,o.unknown=n.unknown,o}const ove={},ave={}.hasOwnProperty,Oz=W_("type",{handlers:{root:lve,element:pve,text:uve,comment:dve,doctype:cve}});function ive(e,r){const o=(r||ove).space;return Oz(e,o==="svg"?$z:nve)}function lve(e,r){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=G_(e.children,n,r),Wh(e,n),n}function sve(e,r){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=G_(e.children,n,r),Wh(e,n),n}function cve(e){const r={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Wh(e,r),r}function uve(e){const r={nodeName:"#text",value:e.value,parentNode:null};return Wh(e,r),r}function dve(e){const r={nodeName:"#comment",data:e.value,parentNode:null};return Wh(e,r),r}function pve(e,r){const n=r;let o=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(o=$z);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&ave.call(e.properties,i)){const c=hve(o,i,e.properties[i]);c&&a.push(c)}}const l=o.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:$d[l],childNodes:[],parentNode:null};return s.childNodes=G_(e.children,s,o),Wh(e,s),e.tagName==="template"&&e.content&&(s.content=sve(e.content,o)),s}function hve(e,r,n){const o=eve(e,r);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&o.boolean)return;Array.isArray(n)&&(n=o.commaSeparated?hz(n):gz(n));const a={name:o.attribute,value:n===!0?"":String(n)};if(o.space&&o.space!=="html"&&o.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=o.attribute.slice(0,i)),a.namespace=$d[o.space]}return a}function G_(e,r,n){let o=-1;const a=[];if(e)for(;++o=55296&&e<=57343}function mve(e){return e>=56320&&e<=57343}function gve(e,r){return(e-55296)*1024+9216+r}function Lz(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Bz(e){return e>=64976&&e<=65007||fve.has(e)}var Ee;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Ee||(Ee={}));const yve=65536;class bve{constructor(r){this.handler=r,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=yve,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(r,n){const{line:o,col:a,offset:i}=this,l=a+n,s=i+n;return{code:r,startLine:o,endLine:o,startCol:l,endCol:l,startOffset:s,endOffset:s}}_err(r){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(r,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(r){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(mve(n))return this.pos++,this._addGap(),gve(r,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,oe.EOF;return this._err(Ee.surrogateInInputStream),r}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(r,n){this.html.length>0?this.html+=r:this.html=r,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(r){this.html=this.html.substring(0,this.pos+1)+r+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(r,n){if(this.pos+r.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(r,this.pos);for(let o=0;o=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,oe.EOF;const o=this.html.charCodeAt(n);return o===oe.CARRIAGE_RETURN?oe.LINE_FEED:o}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,oe.EOF;let r=this.html.charCodeAt(this.pos);return r===oe.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,oe.LINE_FEED):r===oe.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,zz(r)&&(r=this._processSurrogate(r)),this.handler.onParseError===null||r>31&&r<127||r===oe.LINE_FEED||r===oe.CARRIAGE_RETURN||r>159&&r<64976||this._checkForProblematicCharacters(r),r)}_checkForProblematicCharacters(r){Lz(r)?this._err(Ee.controlCharacterInInputStream):Bz(r)&&this._err(Ee.noncharacterInInputStream)}retreat(r){for(this.pos-=r;this.pos=0;n--)if(e.attrs[n].name===r)return e.attrs[n].value;return null}const Fz=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),vve=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var X_;const xve=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),wve=(X_=String.fromCodePoint)!==null&&X_!==void 0?X_:function(e){let r="";return e>65535&&(e-=65536,r+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),r+=String.fromCharCode(e),r};function kve(e){var r;return e>=55296&&e<=57343||e>1114111?65533:(r=xve.get(e))!==null&&r!==void 0?r:e}var Xn;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Xn||(Xn={}));const _ve=32;var ru;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(ru||(ru={}));function K_(e){return e>=Xn.ZERO&&e<=Xn.NINE}function Eve(e){return e>=Xn.UPPER_A&&e<=Xn.UPPER_F||e>=Xn.LOWER_A&&e<=Xn.LOWER_F}function Sve(e){return e>=Xn.UPPER_A&&e<=Xn.UPPER_Z||e>=Xn.LOWER_A&&e<=Xn.LOWER_Z||K_(e)}function Cve(e){return e===Xn.EQUALS||Sve(e)}var Kn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Kn||(Kn={}));var Bs;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Bs||(Bs={}));let Hz=class{constructor(r,n,o){this.decodeTree=r,this.emitCodePoint=n,this.errors=o,this.state=Kn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Bs.Strict}startEntity(r){this.decodeMode=r,this.state=Kn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(r,n){switch(this.state){case Kn.EntityStart:return r.charCodeAt(n)===Xn.NUM?(this.state=Kn.NumericStart,this.consumed+=1,this.stateNumericStart(r,n+1)):(this.state=Kn.NamedEntity,this.stateNamedEntity(r,n));case Kn.NumericStart:return this.stateNumericStart(r,n);case Kn.NumericDecimal:return this.stateNumericDecimal(r,n);case Kn.NumericHex:return this.stateNumericHex(r,n);case Kn.NamedEntity:return this.stateNamedEntity(r,n)}}stateNumericStart(r,n){return n>=r.length?-1:(r.charCodeAt(n)|_ve)===Xn.LOWER_X?(this.state=Kn.NumericHex,this.consumed+=1,this.stateNumericHex(r,n+1)):(this.state=Kn.NumericDecimal,this.stateNumericDecimal(r,n))}addToNumericResult(r,n,o,a){if(n!==o){const i=o-n;this.result=this.result*Math.pow(a,i)+parseInt(r.substr(n,i),a),this.consumed+=i}}stateNumericHex(r,n){const o=n;for(;n>14;for(;n>14,i!==0){if(l===Xn.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Bs.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var r;const{result:n,decodeTree:o}=this,a=(o[n]&ru.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,a,this.consumed),(r=this.errors)===null||r===void 0||r.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(r,n,o){const{decodeTree:a}=this;return this.emitCodePoint(n===1?a[r]&~ru.VALUE_LENGTH:a[r+1],o),n===3&&this.emitCodePoint(a[r+2],o),o}end(){var r;switch(this.state){case Kn.NamedEntity:return this.result!==0&&(this.decodeMode!==Bs.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Kn.NumericDecimal:return this.emitNumericEntity(0,2);case Kn.NumericHex:return this.emitNumericEntity(0,3);case Kn.NumericStart:return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Kn.EntityStart:return 0}}};function qz(e){let r="";const n=new Hz(e,o=>r+=wve(o));return function(a,i){let l=0,s=0;for(;(s=a.indexOf("&",s))>=0;){r+=a.slice(l,s),n.startEntity(i);const u=n.write(a,s+1);if(u<0){l=s+n.end();break}l=s+u,s=u===0?l+1:l}const c=r+a.slice(l);return r="",c}}function Tve(e,r,n,o){const a=(r&ru.BRANCH_LENGTH)>>7,i=r&ru.JUMP_TABLE;if(a===0)return i!==0&&o===i?n:-1;if(i){const c=o-i;return c<0||c>=a?-1:e[n+c]-1}let l=n,s=l+a-1;for(;l<=s;){const c=l+s>>>1,u=e[c];if(uo)s=c-1;else return e[c+a]}return-1}qz(Fz),qz(vve);var Me;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(Me||(Me={}));var Od;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Od||(Od={}));var ni;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(ni||(ni={}));var fe;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(fe||(fe={}));var F;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(F||(F={}));const Rve=new Map([[fe.A,F.A],[fe.ADDRESS,F.ADDRESS],[fe.ANNOTATION_XML,F.ANNOTATION_XML],[fe.APPLET,F.APPLET],[fe.AREA,F.AREA],[fe.ARTICLE,F.ARTICLE],[fe.ASIDE,F.ASIDE],[fe.B,F.B],[fe.BASE,F.BASE],[fe.BASEFONT,F.BASEFONT],[fe.BGSOUND,F.BGSOUND],[fe.BIG,F.BIG],[fe.BLOCKQUOTE,F.BLOCKQUOTE],[fe.BODY,F.BODY],[fe.BR,F.BR],[fe.BUTTON,F.BUTTON],[fe.CAPTION,F.CAPTION],[fe.CENTER,F.CENTER],[fe.CODE,F.CODE],[fe.COL,F.COL],[fe.COLGROUP,F.COLGROUP],[fe.DD,F.DD],[fe.DESC,F.DESC],[fe.DETAILS,F.DETAILS],[fe.DIALOG,F.DIALOG],[fe.DIR,F.DIR],[fe.DIV,F.DIV],[fe.DL,F.DL],[fe.DT,F.DT],[fe.EM,F.EM],[fe.EMBED,F.EMBED],[fe.FIELDSET,F.FIELDSET],[fe.FIGCAPTION,F.FIGCAPTION],[fe.FIGURE,F.FIGURE],[fe.FONT,F.FONT],[fe.FOOTER,F.FOOTER],[fe.FOREIGN_OBJECT,F.FOREIGN_OBJECT],[fe.FORM,F.FORM],[fe.FRAME,F.FRAME],[fe.FRAMESET,F.FRAMESET],[fe.H1,F.H1],[fe.H2,F.H2],[fe.H3,F.H3],[fe.H4,F.H4],[fe.H5,F.H5],[fe.H6,F.H6],[fe.HEAD,F.HEAD],[fe.HEADER,F.HEADER],[fe.HGROUP,F.HGROUP],[fe.HR,F.HR],[fe.HTML,F.HTML],[fe.I,F.I],[fe.IMG,F.IMG],[fe.IMAGE,F.IMAGE],[fe.INPUT,F.INPUT],[fe.IFRAME,F.IFRAME],[fe.KEYGEN,F.KEYGEN],[fe.LABEL,F.LABEL],[fe.LI,F.LI],[fe.LINK,F.LINK],[fe.LISTING,F.LISTING],[fe.MAIN,F.MAIN],[fe.MALIGNMARK,F.MALIGNMARK],[fe.MARQUEE,F.MARQUEE],[fe.MATH,F.MATH],[fe.MENU,F.MENU],[fe.META,F.META],[fe.MGLYPH,F.MGLYPH],[fe.MI,F.MI],[fe.MO,F.MO],[fe.MN,F.MN],[fe.MS,F.MS],[fe.MTEXT,F.MTEXT],[fe.NAV,F.NAV],[fe.NOBR,F.NOBR],[fe.NOFRAMES,F.NOFRAMES],[fe.NOEMBED,F.NOEMBED],[fe.NOSCRIPT,F.NOSCRIPT],[fe.OBJECT,F.OBJECT],[fe.OL,F.OL],[fe.OPTGROUP,F.OPTGROUP],[fe.OPTION,F.OPTION],[fe.P,F.P],[fe.PARAM,F.PARAM],[fe.PLAINTEXT,F.PLAINTEXT],[fe.PRE,F.PRE],[fe.RB,F.RB],[fe.RP,F.RP],[fe.RT,F.RT],[fe.RTC,F.RTC],[fe.RUBY,F.RUBY],[fe.S,F.S],[fe.SCRIPT,F.SCRIPT],[fe.SEARCH,F.SEARCH],[fe.SECTION,F.SECTION],[fe.SELECT,F.SELECT],[fe.SOURCE,F.SOURCE],[fe.SMALL,F.SMALL],[fe.SPAN,F.SPAN],[fe.STRIKE,F.STRIKE],[fe.STRONG,F.STRONG],[fe.STYLE,F.STYLE],[fe.SUB,F.SUB],[fe.SUMMARY,F.SUMMARY],[fe.SUP,F.SUP],[fe.TABLE,F.TABLE],[fe.TBODY,F.TBODY],[fe.TEMPLATE,F.TEMPLATE],[fe.TEXTAREA,F.TEXTAREA],[fe.TFOOT,F.TFOOT],[fe.TD,F.TD],[fe.TH,F.TH],[fe.THEAD,F.THEAD],[fe.TITLE,F.TITLE],[fe.TR,F.TR],[fe.TRACK,F.TRACK],[fe.TT,F.TT],[fe.U,F.U],[fe.UL,F.UL],[fe.SVG,F.SVG],[fe.VAR,F.VAR],[fe.WBR,F.WBR],[fe.XMP,F.XMP]]);function Gh(e){var r;return(r=Rve.get(e))!==null&&r!==void 0?r:F.UNKNOWN}const Ie=F,Ave={[Me.HTML]:new Set([Ie.ADDRESS,Ie.APPLET,Ie.AREA,Ie.ARTICLE,Ie.ASIDE,Ie.BASE,Ie.BASEFONT,Ie.BGSOUND,Ie.BLOCKQUOTE,Ie.BODY,Ie.BR,Ie.BUTTON,Ie.CAPTION,Ie.CENTER,Ie.COL,Ie.COLGROUP,Ie.DD,Ie.DETAILS,Ie.DIR,Ie.DIV,Ie.DL,Ie.DT,Ie.EMBED,Ie.FIELDSET,Ie.FIGCAPTION,Ie.FIGURE,Ie.FOOTER,Ie.FORM,Ie.FRAME,Ie.FRAMESET,Ie.H1,Ie.H2,Ie.H3,Ie.H4,Ie.H5,Ie.H6,Ie.HEAD,Ie.HEADER,Ie.HGROUP,Ie.HR,Ie.HTML,Ie.IFRAME,Ie.IMG,Ie.INPUT,Ie.LI,Ie.LINK,Ie.LISTING,Ie.MAIN,Ie.MARQUEE,Ie.MENU,Ie.META,Ie.NAV,Ie.NOEMBED,Ie.NOFRAMES,Ie.NOSCRIPT,Ie.OBJECT,Ie.OL,Ie.P,Ie.PARAM,Ie.PLAINTEXT,Ie.PRE,Ie.SCRIPT,Ie.SECTION,Ie.SELECT,Ie.SOURCE,Ie.STYLE,Ie.SUMMARY,Ie.TABLE,Ie.TBODY,Ie.TD,Ie.TEMPLATE,Ie.TEXTAREA,Ie.TFOOT,Ie.TH,Ie.THEAD,Ie.TITLE,Ie.TR,Ie.TRACK,Ie.UL,Ie.WBR,Ie.XMP]),[Me.MATHML]:new Set([Ie.MI,Ie.MO,Ie.MN,Ie.MS,Ie.MTEXT,Ie.ANNOTATION_XML]),[Me.SVG]:new Set([Ie.TITLE,Ie.FOREIGN_OBJECT,Ie.DESC]),[Me.XLINK]:new Set,[Me.XML]:new Set,[Me.XMLNS]:new Set},Z_=new Set([Ie.H1,Ie.H2,Ie.H3,Ie.H4,Ie.H5,Ie.H6]);fe.STYLE,fe.SCRIPT,fe.XMP,fe.IFRAME,fe.NOEMBED,fe.NOFRAMES,fe.PLAINTEXT;var ae;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(ae||(ae={}));const un={DATA:ae.DATA,RCDATA:ae.RCDATA,RAWTEXT:ae.RAWTEXT,SCRIPT_DATA:ae.SCRIPT_DATA,PLAINTEXT:ae.PLAINTEXT,CDATA_SECTION:ae.CDATA_SECTION};function Nve(e){return e>=oe.DIGIT_0&&e<=oe.DIGIT_9}function I1(e){return e>=oe.LATIN_CAPITAL_A&&e<=oe.LATIN_CAPITAL_Z}function Dve(e){return e>=oe.LATIN_SMALL_A&&e<=oe.LATIN_SMALL_Z}function nu(e){return Dve(e)||I1(e)}function Uz(e){return nu(e)||Nve(e)}function g3(e){return e+32}function Vz(e){return e===oe.SPACE||e===oe.LINE_FEED||e===oe.TABULATION||e===oe.FORM_FEED}function Yz(e){return Vz(e)||e===oe.SOLIDUS||e===oe.GREATER_THAN_SIGN}function Pve(e){return e===oe.NULL?Ee.nullCharacterReference:e>1114111?Ee.characterReferenceOutsideUnicodeRange:zz(e)?Ee.surrogateCharacterReference:Bz(e)?Ee.noncharacterCharacterReference:Lz(e)||e===oe.CARRIAGE_RETURN?Ee.controlCharacterReference:null}class $ve{constructor(r,n){this.options=r,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=ae.DATA,this.returnState=ae.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new bve(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Hz(Fz,(o,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(o)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Ee.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:o=>{this._err(Ee.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+o)},validateNumericCharacterReference:o=>{const a=Pve(o);a&&this._err(a,1)}}:void 0)}_err(r,n=0){var o,a;(a=(o=this.handler).onParseError)===null||a===void 0||a.call(o,this.preprocessor.getError(r,n))}getCurrentLocation(r){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-r,startOffset:this.preprocessor.offset-r,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const r=this._consume();this._ensureHibernation()||this._callState(r)}this.inLoop=!1}}pause(){this.paused=!0}resume(r){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||r?.())}write(r,n,o){this.active=!0,this.preprocessor.write(r,n),this._runParsingLoop(),this.paused||o?.()}insertHtmlAtCurrentPos(r){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(r),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(r){this.consumedAfterSnapshot+=r;for(let n=0;n0&&this._err(Ee.endTagWithAttributes),r.selfClosing&&this._err(Ee.endTagWithTrailingSolidus),this.handler.onEndTag(r)),this.preprocessor.dropParsedChunk()}emitCurrentComment(r){this.prepareToken(r),this.handler.onComment(r),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(r){this.prepareToken(r),this.handler.onDoctype(r),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(r){if(this.currentCharacterToken){switch(r&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=r.startLine,this.currentCharacterToken.location.endCol=r.startCol,this.currentCharacterToken.location.endOffset=r.startOffset),this.currentCharacterToken.type){case Ht.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Ht.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Ht.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const r=this.getCurrentLocation(0);r&&(r.endLine=r.startLine,r.endCol=r.startCol,r.endOffset=r.startOffset),this._emitCurrentCharacterToken(r),this.handler.onEof({type:Ht.EOF,location:r}),this.active=!1}_appendCharToCurrentCharacterToken(r,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===r){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(r,n)}_emitCodePoint(r){const n=Vz(r)?Ht.WHITESPACE_CHARACTER:r===oe.NULL?Ht.NULL_CHARACTER:Ht.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(r))}_emitChars(r){this._appendCharToCurrentCharacterToken(Ht.CHARACTER,r)}_startCharacterReference(){this.returnState=this.state,this.state=ae.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Bs.Attribute:Bs.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===ae.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===ae.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===ae.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(r){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(r):this._emitCodePoint(r)}_callState(r){switch(this.state){case ae.DATA:{this._stateData(r);break}case ae.RCDATA:{this._stateRcdata(r);break}case ae.RAWTEXT:{this._stateRawtext(r);break}case ae.SCRIPT_DATA:{this._stateScriptData(r);break}case ae.PLAINTEXT:{this._statePlaintext(r);break}case ae.TAG_OPEN:{this._stateTagOpen(r);break}case ae.END_TAG_OPEN:{this._stateEndTagOpen(r);break}case ae.TAG_NAME:{this._stateTagName(r);break}case ae.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(r);break}case ae.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(r);break}case ae.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(r);break}case ae.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(r);break}case ae.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(r);break}case ae.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(r);break}case ae.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(r);break}case ae.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(r);break}case ae.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(r);break}case ae.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(r);break}case ae.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(r);break}case ae.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(r);break}case ae.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(r);break}case ae.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(r);break}case ae.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(r);break}case ae.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(r);break}case ae.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(r);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(r);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(r);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(r);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(r);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(r);break}case ae.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(r);break}case ae.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(r);break}case ae.ATTRIBUTE_NAME:{this._stateAttributeName(r);break}case ae.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(r);break}case ae.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(r);break}case ae.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(r);break}case ae.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(r);break}case ae.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(r);break}case ae.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(r);break}case ae.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(r);break}case ae.BOGUS_COMMENT:{this._stateBogusComment(r);break}case ae.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(r);break}case ae.COMMENT_START:{this._stateCommentStart(r);break}case ae.COMMENT_START_DASH:{this._stateCommentStartDash(r);break}case ae.COMMENT:{this._stateComment(r);break}case ae.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(r);break}case ae.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(r);break}case ae.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(r);break}case ae.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(r);break}case ae.COMMENT_END_DASH:{this._stateCommentEndDash(r);break}case ae.COMMENT_END:{this._stateCommentEnd(r);break}case ae.COMMENT_END_BANG:{this._stateCommentEndBang(r);break}case ae.DOCTYPE:{this._stateDoctype(r);break}case ae.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(r);break}case ae.DOCTYPE_NAME:{this._stateDoctypeName(r);break}case ae.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(r);break}case ae.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(r);break}case ae.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(r);break}case ae.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(r);break}case ae.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(r);break}case ae.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(r);break}case ae.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(r);break}case ae.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(r);break}case ae.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(r);break}case ae.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(r);break}case ae.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(r);break}case ae.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(r);break}case ae.BOGUS_DOCTYPE:{this._stateBogusDoctype(r);break}case ae.CDATA_SECTION:{this._stateCdataSection(r);break}case ae.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(r);break}case ae.CDATA_SECTION_END:{this._stateCdataSectionEnd(r);break}case ae.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case ae.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(r);break}default:throw new Error("Unknown state")}}_stateData(r){switch(r){case oe.LESS_THAN_SIGN:{this.state=ae.TAG_OPEN;break}case oe.AMPERSAND:{this._startCharacterReference();break}case oe.NULL:{this._err(Ee.unexpectedNullCharacter),this._emitCodePoint(r);break}case oe.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateRcdata(r){switch(r){case oe.AMPERSAND:{this._startCharacterReference();break}case oe.LESS_THAN_SIGN:{this.state=ae.RCDATA_LESS_THAN_SIGN;break}case oe.NULL:{this._err(Ee.unexpectedNullCharacter),this._emitChars(jr);break}case oe.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateRawtext(r){switch(r){case oe.LESS_THAN_SIGN:{this.state=ae.RAWTEXT_LESS_THAN_SIGN;break}case oe.NULL:{this._err(Ee.unexpectedNullCharacter),this._emitChars(jr);break}case oe.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateScriptData(r){switch(r){case oe.LESS_THAN_SIGN:{this.state=ae.SCRIPT_DATA_LESS_THAN_SIGN;break}case oe.NULL:{this._err(Ee.unexpectedNullCharacter),this._emitChars(jr);break}case oe.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_statePlaintext(r){switch(r){case oe.NULL:{this._err(Ee.unexpectedNullCharacter),this._emitChars(jr);break}case oe.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(r)}}_stateTagOpen(r){if(nu(r))this._createStartTagToken(),this.state=ae.TAG_NAME,this._stateTagName(r);else switch(r){case oe.EXCLAMATION_MARK:{this.state=ae.MARKUP_DECLARATION_OPEN;break}case oe.SOLIDUS:{this.state=ae.END_TAG_OPEN;break}case oe.QUESTION_MARK:{this._err(Ee.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=ae.BOGUS_COMMENT,this._stateBogusComment(r);break}case oe.EOF:{this._err(Ee.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Ee.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=ae.DATA,this._stateData(r)}}_stateEndTagOpen(r){if(nu(r))this._createEndTagToken(),this.state=ae.TAG_NAME,this._stateTagName(r);else switch(r){case oe.GREATER_THAN_SIGN:{this._err(Ee.missingEndTagName),this.state=ae.DATA;break}case oe.EOF:{this._err(Ee.eofBeforeTagName),this._emitChars("");break}case oe.NULL:{this._err(Ee.unexpectedNullCharacter),this.state=ae.SCRIPT_DATA_ESCAPED,this._emitChars(jr);break}case oe.EOF:{this._err(Ee.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ae.SCRIPT_DATA_ESCAPED,this._emitCodePoint(r)}}_stateScriptDataEscapedLessThanSign(r){r===oe.SOLIDUS?this.state=ae.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:nu(r)?(this._emitChars("<"),this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(r)):(this._emitChars("<"),this.state=ae.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(r))}_stateScriptDataEscapedEndTagOpen(r){nu(r)?(this.state=ae.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(r)):(this._emitChars("");break}case oe.NULL:{this._err(Ee.unexpectedNullCharacter),this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(jr);break}case oe.EOF:{this._err(Ee.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(r)}}_stateScriptDataDoubleEscapedLessThanSign(r){r===oe.SOLIDUS?(this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=ae.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(r))}_stateScriptDataDoubleEscapeEnd(r){if(this.preprocessor.startsWith(Zo.SCRIPT,!1)&&Yz(this.preprocessor.peek(Zo.SCRIPT.length))){this._emitCodePoint(r);for(let n=0;n0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,!0)}replace(r,n){const o=this._indexOf(r);this.items[o]=n,o===this.stackTop&&(this.current=n)}insertAfter(r,n,o){const a=this._indexOf(r)+1;this.items.splice(a,0,n),this.tagIDs.splice(a,0,o),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(r){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(r,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==Me.HTML);this.shortenToLength(n<0?0:n)}shortenToLength(r){for(;this.stackTop>=r;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop=0;o--)if(r.has(this.tagIDs[o])&&this.treeAdapter.getNamespaceURI(this.items[o])===n)return o;return-1}clearBackTo(r,n){const o=this._indexOfTagNames(r,n);this.shortenToLength(o+1)}clearBackToTableContext(){this.clearBackTo(Lve,Me.HTML)}clearBackToTableBodyContext(){this.clearBackTo(zve,Me.HTML)}clearBackToTableRowContext(){this.clearBackTo(Ive,Me.HTML)}remove(r){const n=this._indexOf(r);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===F.BODY?this.items[1]:null}contains(r){return this._indexOf(r)>-1}getCommonAncestor(r){const n=this._indexOf(r)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===F.HTML}hasInDynamicScope(r,n){for(let o=this.stackTop;o>=0;o--){const a=this.tagIDs[o];switch(this.treeAdapter.getNamespaceURI(this.items[o])){case Me.HTML:{if(a===r)return!0;if(n.has(a))return!1;break}case Me.SVG:{if(Kz.has(a))return!1;break}case Me.MATHML:{if(Xz.has(a))return!1;break}}}return!0}hasInScope(r){return this.hasInDynamicScope(r,y3)}hasInListItemScope(r){return this.hasInDynamicScope(r,Mve)}hasInButtonScope(r){return this.hasInDynamicScope(r,Ove)}hasNumberedHeaderInScope(){for(let r=this.stackTop;r>=0;r--){const n=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case Me.HTML:{if(Z_.has(n))return!0;if(y3.has(n))return!1;break}case Me.SVG:{if(Kz.has(n))return!1;break}case Me.MATHML:{if(Xz.has(n))return!1;break}}}return!0}hasInTableScope(r){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===Me.HTML)switch(this.tagIDs[n]){case r:return!0;case F.TABLE:case F.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===Me.HTML)switch(this.tagIDs[r]){case F.TBODY:case F.THEAD:case F.TFOOT:return!0;case F.TABLE:case F.HTML:return!1}return!0}hasInSelectScope(r){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===Me.HTML)switch(this.tagIDs[n]){case r:return!0;case F.OPTION:case F.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;Wz.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Gz.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(r){for(;this.currentTagId!==r&&Gz.has(this.currentTagId);)this.pop()}}const Q_=3;var Gl;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Gl||(Gl={}));const Zz={type:Gl.Marker};class Fve{constructor(r){this.treeAdapter=r,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(r,n){const o=[],a=n.length,i=this.treeAdapter.getTagName(r),l=this.treeAdapter.getNamespaceURI(r);for(let s=0;s[l.name,l.value]));let i=0;for(let l=0;la.get(c.name)===c.value)&&(i+=1,i>=Q_&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(Zz)}pushElement(r,n){this._ensureNoahArkCondition(r),this.entries.unshift({type:Gl.Element,element:r,token:n})}insertElementAfterBookmark(r,n){const o=this.entries.indexOf(this.bookmark);this.entries.splice(o,0,{type:Gl.Element,element:r,token:n})}removeEntry(r){const n=this.entries.indexOf(r);n>=0&&this.entries.splice(n,1)}clearToLastMarker(){const r=this.entries.indexOf(Zz);r>=0?this.entries.splice(0,r+1):this.entries.length=0}getElementEntryInScopeWithTagName(r){const n=this.entries.find(o=>o.type===Gl.Marker||this.treeAdapter.getTagName(o.element)===r);return n&&n.type===Gl.Element?n:null}getElementEntry(r){return this.entries.find(n=>n.type===Gl.Element&&n.element===r)}}const ou={createDocument(){return{nodeName:"#document",mode:ni.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,r,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:r,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,r){e.childNodes.push(r),r.parentNode=e},insertBefore(e,r,n){const o=e.childNodes.indexOf(n);e.childNodes.splice(o,0,r),r.parentNode=e},setTemplateContent(e,r){e.content=r},getTemplateContent(e){return e.content},setDocumentType(e,r,n,o){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=r,a.publicId=n,a.systemId=o;else{const i={nodeName:"#documentType",name:r,publicId:n,systemId:o,parentNode:null};ou.appendChild(e,i)}},setDocumentMode(e,r){e.mode=r},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const r=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(r,1),e.parentNode=null}},insertText(e,r){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(ou.isTextNode(n)){n.value+=r;return}}ou.appendChild(e,ou.createTextNode(r))},insertTextBefore(e,r,n){const o=e.childNodes[e.childNodes.indexOf(n)-1];o&&ou.isTextNode(o)?o.value+=r:ou.insertBefore(e,ou.createTextNode(r),n)},adoptAttributes(e,r){const n=new Set(e.attrs.map(o=>o.name));for(let o=0;oe.startsWith(n))}function Wve(e){return e.name===Qz&&e.publicId===null&&(e.systemId===null||e.systemId===Hve)}function Gve(e){if(e.name!==Qz)return ni.QUIRKS;const{systemId:r}=e;if(r&&r.toLowerCase()===qve)return ni.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),Vve.has(n))return ni.QUIRKS;let o=r===null?Uve:Jz;if(tL(n,o))return ni.QUIRKS;if(o=r===null?eL:Yve,tL(n,o))return ni.LIMITED_QUIRKS}return ni.NO_QUIRKS}const rL={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Xve="definitionurl",Kve="definitionURL",Zve=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),Qve=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Me.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Me.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Me.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Me.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Me.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Me.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Me.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:Me.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Me.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Me.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Me.XMLNS}]]),Jve=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),e3e=new Set([F.B,F.BIG,F.BLOCKQUOTE,F.BODY,F.BR,F.CENTER,F.CODE,F.DD,F.DIV,F.DL,F.DT,F.EM,F.EMBED,F.H1,F.H2,F.H3,F.H4,F.H5,F.H6,F.HEAD,F.HR,F.I,F.IMG,F.LI,F.LISTING,F.MENU,F.META,F.NOBR,F.OL,F.P,F.PRE,F.RUBY,F.S,F.SMALL,F.SPAN,F.STRONG,F.STRIKE,F.SUB,F.SUP,F.TABLE,F.TT,F.U,F.UL,F.VAR]);function t3e(e){const r=e.tagID;return r===F.FONT&&e.attrs.some(({name:o})=>o===Od.COLOR||o===Od.SIZE||o===Od.FACE)||e3e.has(r)}function nL(e){for(let r=0;r0&&this._setContextModes(r,n)}onItemPop(r,n){var o,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(r,this.currentToken),(a=(o=this.treeAdapter).onItemPop)===null||a===void 0||a.call(o,r,this.openElements.current),n){let i,l;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,l=this.fragmentContextID):{current:i,currentTagId:l}=this.openElements,this._setContextModes(i,l)}}_setContextModes(r,n){const o=r===this.document||this.treeAdapter.getNamespaceURI(r)===Me.HTML;this.currentNotInHTML=!o,this.tokenizer.inForeignNode=!o&&!this._isIntegrationPoint(n,r)}_switchToTextParsing(r,n){this._insertElement(r,Me.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=le.TEXT}switchToPlaintextParsing(){this.insertionMode=le.TEXT,this.originalInsertionMode=le.IN_BODY,this.tokenizer.state=un.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let r=this.fragmentContext;for(;r;){if(this.treeAdapter.getTagName(r)===fe.FORM){this.formElement=r;break}r=this.treeAdapter.getParentNode(r)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Me.HTML))switch(this.fragmentContextID){case F.TITLE:case F.TEXTAREA:{this.tokenizer.state=un.RCDATA;break}case F.STYLE:case F.XMP:case F.IFRAME:case F.NOEMBED:case F.NOFRAMES:case F.NOSCRIPT:{this.tokenizer.state=un.RAWTEXT;break}case F.SCRIPT:{this.tokenizer.state=un.SCRIPT_DATA;break}case F.PLAINTEXT:{this.tokenizer.state=un.PLAINTEXT;break}}}_setDocumentType(r){const n=r.name||"",o=r.publicId||"",a=r.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,o,a),r.location){const l=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));l&&this.treeAdapter.setNodeSourceCodeLocation(l,r.location)}}_attachElementToTree(r,n){if(this.options.sourceCodeLocationInfo){const o=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(r,o)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(r);else{const o=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(o,r)}}_appendElement(r,n){const o=this.treeAdapter.createElement(r.tagName,n,r.attrs);this._attachElementToTree(o,r.location)}_insertElement(r,n){const o=this.treeAdapter.createElement(r.tagName,n,r.attrs);this._attachElementToTree(o,r.location),this.openElements.push(o,r.tagID)}_insertFakeElement(r,n){const o=this.treeAdapter.createElement(r,Me.HTML,[]);this._attachElementToTree(o,null),this.openElements.push(o,n)}_insertTemplate(r){const n=this.treeAdapter.createElement(r.tagName,Me.HTML,r.attrs),o=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,o),this._attachElementToTree(n,r.location),this.openElements.push(n,r.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,null)}_insertFakeRootElement(){const r=this.treeAdapter.createElement(fe.HTML,Me.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null),this.treeAdapter.appendChild(this.openElements.current,r),this.openElements.push(r,F.HTML)}_appendCommentNode(r,n){const o=this.treeAdapter.createCommentNode(r.data);this.treeAdapter.appendChild(n,o),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,r.location)}_insertCharacters(r){let n,o;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:o}=this._findFosterParentingLocation(),o?this.treeAdapter.insertTextBefore(n,r.chars,o):this.treeAdapter.insertText(n,r.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,r.chars)),!r.location)return;const a=this.treeAdapter.getChildNodes(n),i=o?a.lastIndexOf(o):a.length,l=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(l)){const{endLine:c,endCol:u,endOffset:d}=r.location;this.treeAdapter.updateNodeSourceCodeLocation(l,{endLine:c,endCol:u,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(l,r.location)}_adoptNodes(r,n){for(let o=this.treeAdapter.getFirstChild(r);o;o=this.treeAdapter.getFirstChild(r))this.treeAdapter.detachNode(o),this.treeAdapter.appendChild(n,o)}_setEndLocation(r,n){if(this.treeAdapter.getNodeSourceCodeLocation(r)&&n.location){const o=n.location,a=this.treeAdapter.getTagName(r),i=n.type===Ht.END_TAG&&a===n.tagName?{endTag:{...o},endLine:o.endLine,endCol:o.endCol,endOffset:o.endOffset}:{endLine:o.startLine,endCol:o.startCol,endOffset:o.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(r,i)}}shouldProcessStartTagTokenInForeignContent(r){if(!this.currentNotInHTML)return!1;let n,o;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,o=this.fragmentContextID):{current:n,currentTagId:o}=this.openElements,r.tagID===F.SVG&&this.treeAdapter.getTagName(n)===fe.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===Me.MATHML?!1:this.tokenizer.inForeignNode||(r.tagID===F.MGLYPH||r.tagID===F.MALIGNMARK)&&!this._isIntegrationPoint(o,n,Me.HTML)}_processToken(r){switch(r.type){case Ht.CHARACTER:{this.onCharacter(r);break}case Ht.NULL_CHARACTER:{this.onNullCharacter(r);break}case Ht.COMMENT:{this.onComment(r);break}case Ht.DOCTYPE:{this.onDoctype(r);break}case Ht.START_TAG:{this._processStartTag(r);break}case Ht.END_TAG:{this.onEndTag(r);break}case Ht.EOF:{this.onEof(r);break}case Ht.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(r);break}}}_isIntegrationPoint(r,n,o){const a=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return a3e(r,a,i,o)}_reconstructActiveFormattingElements(){const r=this.activeFormattingElements.entries.length;if(r){const n=this.activeFormattingElements.entries.findIndex(a=>a.type===Gl.Marker||this.openElements.contains(a.element)),o=n<0?r-1:n-1;for(let a=o;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=le.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(F.P),this.openElements.popUntilTagNamePopped(F.P)}_resetInsertionMode(){for(let r=this.openElements.stackTop;r>=0;r--)switch(r===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[r]){case F.TR:{this.insertionMode=le.IN_ROW;return}case F.TBODY:case F.THEAD:case F.TFOOT:{this.insertionMode=le.IN_TABLE_BODY;return}case F.CAPTION:{this.insertionMode=le.IN_CAPTION;return}case F.COLGROUP:{this.insertionMode=le.IN_COLUMN_GROUP;return}case F.TABLE:{this.insertionMode=le.IN_TABLE;return}case F.BODY:{this.insertionMode=le.IN_BODY;return}case F.FRAMESET:{this.insertionMode=le.IN_FRAMESET;return}case F.SELECT:{this._resetInsertionModeForSelect(r);return}case F.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case F.HTML:{this.insertionMode=this.headElement?le.AFTER_HEAD:le.BEFORE_HEAD;return}case F.TD:case F.TH:{if(r>0){this.insertionMode=le.IN_CELL;return}break}case F.HEAD:{if(r>0){this.insertionMode=le.IN_HEAD;return}break}}this.insertionMode=le.IN_BODY}_resetInsertionModeForSelect(r){if(r>0)for(let n=r-1;n>0;n--){const o=this.openElements.tagIDs[n];if(o===F.TEMPLATE)break;if(o===F.TABLE){this.insertionMode=le.IN_SELECT_IN_TABLE;return}}this.insertionMode=le.IN_SELECT}_isElementCausesFosterParenting(r){return aL.has(r)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let r=this.openElements.stackTop;r>=0;r--){const n=this.openElements.items[r];switch(this.openElements.tagIDs[r]){case F.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===Me.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case F.TABLE:{const o=this.treeAdapter.getParentNode(n);return o?{parent:o,beforeElement:n}:{parent:this.openElements.items[r-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(r){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,r,n.beforeElement):this.treeAdapter.appendChild(n.parent,r)}_isSpecialElement(r,n){const o=this.treeAdapter.getNamespaceURI(r);return Ave[o].has(n)}onCharacter(r){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Bxe(this,r);return}switch(this.insertionMode){case le.INITIAL:{z1(this,r);break}case le.BEFORE_HTML:{L1(this,r);break}case le.BEFORE_HEAD:{B1(this,r);break}case le.IN_HEAD:{j1(this,r);break}case le.IN_HEAD_NO_SCRIPT:{F1(this,r);break}case le.AFTER_HEAD:{H1(this,r);break}case le.IN_BODY:case le.IN_CAPTION:case le.IN_CELL:case le.IN_TEMPLATE:{cL(this,r);break}case le.TEXT:case le.IN_SELECT:case le.IN_SELECT_IN_TABLE:{this._insertCharacters(r);break}case le.IN_TABLE:case le.IN_TABLE_BODY:case le.IN_ROW:{n8(this,r);break}case le.IN_TABLE_TEXT:{yL(this,r);break}case le.IN_COLUMN_GROUP:{x3(this,r);break}case le.AFTER_BODY:{_3(this,r);break}case le.AFTER_AFTER_BODY:{E3(this,r);break}}}onNullCharacter(r){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Lxe(this,r);return}switch(this.insertionMode){case le.INITIAL:{z1(this,r);break}case le.BEFORE_HTML:{L1(this,r);break}case le.BEFORE_HEAD:{B1(this,r);break}case le.IN_HEAD:{j1(this,r);break}case le.IN_HEAD_NO_SCRIPT:{F1(this,r);break}case le.AFTER_HEAD:{H1(this,r);break}case le.TEXT:{this._insertCharacters(r);break}case le.IN_TABLE:case le.IN_TABLE_BODY:case le.IN_ROW:{n8(this,r);break}case le.IN_COLUMN_GROUP:{x3(this,r);break}case le.AFTER_BODY:{_3(this,r);break}case le.AFTER_AFTER_BODY:{E3(this,r);break}}}onComment(r){if(this.skipNextNewLine=!1,this.currentNotInHTML){t8(this,r);return}switch(this.insertionMode){case le.INITIAL:case le.BEFORE_HTML:case le.BEFORE_HEAD:case le.IN_HEAD:case le.IN_HEAD_NO_SCRIPT:case le.AFTER_HEAD:case le.IN_BODY:case le.IN_TABLE:case le.IN_CAPTION:case le.IN_COLUMN_GROUP:case le.IN_TABLE_BODY:case le.IN_ROW:case le.IN_CELL:case le.IN_SELECT:case le.IN_SELECT_IN_TABLE:case le.IN_TEMPLATE:case le.IN_FRAMESET:case le.AFTER_FRAMESET:{t8(this,r);break}case le.IN_TABLE_TEXT:{V1(this,r);break}case le.AFTER_BODY:{g3e(this,r);break}case le.AFTER_AFTER_BODY:case le.AFTER_AFTER_FRAMESET:{y3e(this,r);break}}}onDoctype(r){switch(this.skipNextNewLine=!1,this.insertionMode){case le.INITIAL:{b3e(this,r);break}case le.BEFORE_HEAD:case le.IN_HEAD:case le.IN_HEAD_NO_SCRIPT:case le.AFTER_HEAD:{this._err(r,Ee.misplacedDoctype);break}case le.IN_TABLE_TEXT:{V1(this,r);break}}}onStartTag(r){this.skipNextNewLine=!1,this.currentToken=r,this._processStartTag(r),r.selfClosing&&!r.ackSelfClosing&&this._err(r,Ee.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(r){this.shouldProcessStartTagTokenInForeignContent(r)?jxe(this,r):this._startTagOutsideForeignContent(r)}_startTagOutsideForeignContent(r){switch(this.insertionMode){case le.INITIAL:{z1(this,r);break}case le.BEFORE_HTML:{v3e(this,r);break}case le.BEFORE_HEAD:{w3e(this,r);break}case le.IN_HEAD:{Ui(this,r);break}case le.IN_HEAD_NO_SCRIPT:{E3e(this,r);break}case le.AFTER_HEAD:{C3e(this,r);break}case le.IN_BODY:{To(this,r);break}case le.IN_TABLE:{Xh(this,r);break}case le.IN_TABLE_TEXT:{V1(this,r);break}case le.IN_CAPTION:{kxe(this,r);break}case le.IN_COLUMN_GROUP:{o8(this,r);break}case le.IN_TABLE_BODY:{w3(this,r);break}case le.IN_ROW:{k3(this,r);break}case le.IN_CELL:{Sxe(this,r);break}case le.IN_SELECT:{xL(this,r);break}case le.IN_SELECT_IN_TABLE:{Txe(this,r);break}case le.IN_TEMPLATE:{Axe(this,r);break}case le.AFTER_BODY:{Dxe(this,r);break}case le.IN_FRAMESET:{Pxe(this,r);break}case le.AFTER_FRAMESET:{Mxe(this,r);break}case le.AFTER_AFTER_BODY:{Ixe(this,r);break}case le.AFTER_AFTER_FRAMESET:{zxe(this,r);break}}}onEndTag(r){this.skipNextNewLine=!1,this.currentToken=r,this.currentNotInHTML?Fxe(this,r):this._endTagOutsideForeignContent(r)}_endTagOutsideForeignContent(r){switch(this.insertionMode){case le.INITIAL:{z1(this,r);break}case le.BEFORE_HTML:{x3e(this,r);break}case le.BEFORE_HEAD:{k3e(this,r);break}case le.IN_HEAD:{_3e(this,r);break}case le.IN_HEAD_NO_SCRIPT:{S3e(this,r);break}case le.AFTER_HEAD:{T3e(this,r);break}case le.IN_BODY:{v3(this,r);break}case le.TEXT:{pxe(this,r);break}case le.IN_TABLE:{q1(this,r);break}case le.IN_TABLE_TEXT:{V1(this,r);break}case le.IN_CAPTION:{_xe(this,r);break}case le.IN_COLUMN_GROUP:{Exe(this,r);break}case le.IN_TABLE_BODY:{a8(this,r);break}case le.IN_ROW:{vL(this,r);break}case le.IN_CELL:{Cxe(this,r);break}case le.IN_SELECT:{wL(this,r);break}case le.IN_SELECT_IN_TABLE:{Rxe(this,r);break}case le.IN_TEMPLATE:{Nxe(this,r);break}case le.AFTER_BODY:{_L(this,r);break}case le.IN_FRAMESET:{$xe(this,r);break}case le.AFTER_FRAMESET:{Oxe(this,r);break}case le.AFTER_AFTER_BODY:{E3(this,r);break}}}onEof(r){switch(this.insertionMode){case le.INITIAL:{z1(this,r);break}case le.BEFORE_HTML:{L1(this,r);break}case le.BEFORE_HEAD:{B1(this,r);break}case le.IN_HEAD:{j1(this,r);break}case le.IN_HEAD_NO_SCRIPT:{F1(this,r);break}case le.AFTER_HEAD:{H1(this,r);break}case le.IN_BODY:case le.IN_TABLE:case le.IN_CAPTION:case le.IN_COLUMN_GROUP:case le.IN_TABLE_BODY:case le.IN_ROW:case le.IN_CELL:case le.IN_SELECT:case le.IN_SELECT_IN_TABLE:{mL(this,r);break}case le.TEXT:{hxe(this,r);break}case le.IN_TABLE_TEXT:{V1(this,r);break}case le.IN_TEMPLATE:{kL(this,r);break}case le.AFTER_BODY:case le.IN_FRAMESET:case le.AFTER_FRAMESET:case le.AFTER_AFTER_BODY:case le.AFTER_AFTER_FRAMESET:{r8(this,r);break}}}onWhitespaceCharacter(r){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,r.chars.charCodeAt(0)===oe.LINE_FEED)){if(r.chars.length===1)return;r.chars=r.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(r);return}switch(this.insertionMode){case le.IN_HEAD:case le.IN_HEAD_NO_SCRIPT:case le.AFTER_HEAD:case le.TEXT:case le.IN_COLUMN_GROUP:case le.IN_SELECT:case le.IN_SELECT_IN_TABLE:case le.IN_FRAMESET:case le.AFTER_FRAMESET:{this._insertCharacters(r);break}case le.IN_BODY:case le.IN_CAPTION:case le.IN_CELL:case le.IN_TEMPLATE:case le.AFTER_BODY:case le.AFTER_AFTER_BODY:case le.AFTER_AFTER_FRAMESET:{sL(this,r);break}case le.IN_TABLE:case le.IN_TABLE_BODY:case le.IN_ROW:{n8(this,r);break}case le.IN_TABLE_TEXT:{gL(this,r);break}}}}function u3e(e,r){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(r.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(r.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):fL(e,r),n}function d3e(e,r){let n=null,o=e.openElements.stackTop;for(;o>=0;o--){const a=e.openElements.items[o];if(a===r.element)break;e._isSpecialElement(a,e.openElements.tagIDs[o])&&(n=a)}return n||(e.openElements.shortenToLength(o<0?0:o),e.activeFormattingElements.removeEntry(r)),n}function p3e(e,r,n){let o=r,a=e.openElements.getCommonAncestor(r);for(let i=0,l=a;l!==n;i++,l=a){a=e.openElements.getCommonAncestor(l);const s=e.activeFormattingElements.getElementEntry(l),c=s&&i>=s3e;!s||c?(c&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(l)):(l=h3e(e,s),o===r&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(o),e.treeAdapter.appendChild(l,o),o=l)}return o}function h3e(e,r){const n=e.treeAdapter.getNamespaceURI(r.element),o=e.treeAdapter.createElement(r.token.tagName,n,r.token.attrs);return e.openElements.replace(r.element,o),r.element=o,o}function f3e(e,r,n){const o=e.treeAdapter.getTagName(r),a=Gh(o);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(r);a===F.TEMPLATE&&i===Me.HTML&&(r=e.treeAdapter.getTemplateContent(r)),e.treeAdapter.appendChild(r,n)}}function m3e(e,r,n){const o=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,o,a.attrs);e._adoptNodes(r,i),e.treeAdapter.appendChild(r,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(r,i,a.tagID)}function e8(e,r){for(let n=0;n=n;o--)e._setEndLocation(e.openElements.items[o],r);if(!e.fragmentContext&&e.openElements.stackTop>=0){const o=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(o);if(a&&!a.endTag&&(e._setEndLocation(o,r),e.openElements.stackTop>=1)){const i=e.openElements.items[1],l=e.treeAdapter.getNodeSourceCodeLocation(i);l&&!l.endTag&&e._setEndLocation(i,r)}}}}function b3e(e,r){e._setDocumentType(r);const n=r.forceQuirks?ni.QUIRKS:Gve(r);Wve(r)||e._err(r,Ee.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=le.BEFORE_HTML}function z1(e,r){e._err(r,Ee.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,ni.QUIRKS),e.insertionMode=le.BEFORE_HTML,e._processToken(r)}function v3e(e,r){r.tagID===F.HTML?(e._insertElement(r,Me.HTML),e.insertionMode=le.BEFORE_HEAD):L1(e,r)}function x3e(e,r){const n=r.tagID;(n===F.HTML||n===F.HEAD||n===F.BODY||n===F.BR)&&L1(e,r)}function L1(e,r){e._insertFakeRootElement(),e.insertionMode=le.BEFORE_HEAD,e._processToken(r)}function w3e(e,r){switch(r.tagID){case F.HTML:{To(e,r);break}case F.HEAD:{e._insertElement(r,Me.HTML),e.headElement=e.openElements.current,e.insertionMode=le.IN_HEAD;break}default:B1(e,r)}}function k3e(e,r){const n=r.tagID;n===F.HEAD||n===F.BODY||n===F.HTML||n===F.BR?B1(e,r):e._err(r,Ee.endTagWithoutMatchingOpenElement)}function B1(e,r){e._insertFakeElement(fe.HEAD,F.HEAD),e.headElement=e.openElements.current,e.insertionMode=le.IN_HEAD,e._processToken(r)}function Ui(e,r){switch(r.tagID){case F.HTML:{To(e,r);break}case F.BASE:case F.BASEFONT:case F.BGSOUND:case F.LINK:case F.META:{e._appendElement(r,Me.HTML),r.ackSelfClosing=!0;break}case F.TITLE:{e._switchToTextParsing(r,un.RCDATA);break}case F.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(r,un.RAWTEXT):(e._insertElement(r,Me.HTML),e.insertionMode=le.IN_HEAD_NO_SCRIPT);break}case F.NOFRAMES:case F.STYLE:{e._switchToTextParsing(r,un.RAWTEXT);break}case F.SCRIPT:{e._switchToTextParsing(r,un.SCRIPT_DATA);break}case F.TEMPLATE:{e._insertTemplate(r),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=le.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(le.IN_TEMPLATE);break}case F.HEAD:{e._err(r,Ee.misplacedStartTagForHeadElement);break}default:j1(e,r)}}function _3e(e,r){switch(r.tagID){case F.HEAD:{e.openElements.pop(),e.insertionMode=le.AFTER_HEAD;break}case F.BODY:case F.BR:case F.HTML:{j1(e,r);break}case F.TEMPLATE:{Id(e,r);break}default:e._err(r,Ee.endTagWithoutMatchingOpenElement)}}function Id(e,r){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==F.TEMPLATE&&e._err(r,Ee.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(F.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(r,Ee.endTagWithoutMatchingOpenElement)}function j1(e,r){e.openElements.pop(),e.insertionMode=le.AFTER_HEAD,e._processToken(r)}function E3e(e,r){switch(r.tagID){case F.HTML:{To(e,r);break}case F.BASEFONT:case F.BGSOUND:case F.HEAD:case F.LINK:case F.META:case F.NOFRAMES:case F.STYLE:{Ui(e,r);break}case F.NOSCRIPT:{e._err(r,Ee.nestedNoscriptInHead);break}default:F1(e,r)}}function S3e(e,r){switch(r.tagID){case F.NOSCRIPT:{e.openElements.pop(),e.insertionMode=le.IN_HEAD;break}case F.BR:{F1(e,r);break}default:e._err(r,Ee.endTagWithoutMatchingOpenElement)}}function F1(e,r){const n=r.type===Ht.EOF?Ee.openElementsLeftAfterEof:Ee.disallowedContentInNoscriptInHead;e._err(r,n),e.openElements.pop(),e.insertionMode=le.IN_HEAD,e._processToken(r)}function C3e(e,r){switch(r.tagID){case F.HTML:{To(e,r);break}case F.BODY:{e._insertElement(r,Me.HTML),e.framesetOk=!1,e.insertionMode=le.IN_BODY;break}case F.FRAMESET:{e._insertElement(r,Me.HTML),e.insertionMode=le.IN_FRAMESET;break}case F.BASE:case F.BASEFONT:case F.BGSOUND:case F.LINK:case F.META:case F.NOFRAMES:case F.SCRIPT:case F.STYLE:case F.TEMPLATE:case F.TITLE:{e._err(r,Ee.abandonedHeadElementChild),e.openElements.push(e.headElement,F.HEAD),Ui(e,r),e.openElements.remove(e.headElement);break}case F.HEAD:{e._err(r,Ee.misplacedStartTagForHeadElement);break}default:H1(e,r)}}function T3e(e,r){switch(r.tagID){case F.BODY:case F.HTML:case F.BR:{H1(e,r);break}case F.TEMPLATE:{Id(e,r);break}default:e._err(r,Ee.endTagWithoutMatchingOpenElement)}}function H1(e,r){e._insertFakeElement(fe.BODY,F.BODY),e.insertionMode=le.IN_BODY,b3(e,r)}function b3(e,r){switch(r.type){case Ht.CHARACTER:{cL(e,r);break}case Ht.WHITESPACE_CHARACTER:{sL(e,r);break}case Ht.COMMENT:{t8(e,r);break}case Ht.START_TAG:{To(e,r);break}case Ht.END_TAG:{v3(e,r);break}case Ht.EOF:{mL(e,r);break}}}function sL(e,r){e._reconstructActiveFormattingElements(),e._insertCharacters(r)}function cL(e,r){e._reconstructActiveFormattingElements(),e._insertCharacters(r),e.framesetOk=!1}function R3e(e,r){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],r.attrs)}function A3e(e,r){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,r.attrs))}function N3e(e,r){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(r,Me.HTML),e.insertionMode=le.IN_FRAMESET)}function D3e(e,r){e.openElements.hasInButtonScope(F.P)&&e._closePElement(),e._insertElement(r,Me.HTML)}function P3e(e,r){e.openElements.hasInButtonScope(F.P)&&e._closePElement(),Z_.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(r,Me.HTML)}function $3e(e,r){e.openElements.hasInButtonScope(F.P)&&e._closePElement(),e._insertElement(r,Me.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function M3e(e,r){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(F.P)&&e._closePElement(),e._insertElement(r,Me.HTML),n||(e.formElement=e.openElements.current))}function O3e(e,r){e.framesetOk=!1;const n=r.tagID;for(let o=e.openElements.stackTop;o>=0;o--){const a=e.openElements.tagIDs[o];if(n===F.LI&&a===F.LI||(n===F.DD||n===F.DT)&&(a===F.DD||a===F.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==F.ADDRESS&&a!==F.DIV&&a!==F.P&&e._isSpecialElement(e.openElements.items[o],a))break}e.openElements.hasInButtonScope(F.P)&&e._closePElement(),e._insertElement(r,Me.HTML)}function I3e(e,r){e.openElements.hasInButtonScope(F.P)&&e._closePElement(),e._insertElement(r,Me.HTML),e.tokenizer.state=un.PLAINTEXT}function z3e(e,r){e.openElements.hasInScope(F.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(F.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(r,Me.HTML),e.framesetOk=!1}function L3e(e,r){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(fe.A);n&&(e8(e,r),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(r,Me.HTML),e.activeFormattingElements.pushElement(e.openElements.current,r)}function B3e(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,Me.HTML),e.activeFormattingElements.pushElement(e.openElements.current,r)}function j3e(e,r){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(F.NOBR)&&(e8(e,r),e._reconstructActiveFormattingElements()),e._insertElement(r,Me.HTML),e.activeFormattingElements.pushElement(e.openElements.current,r)}function F3e(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,Me.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function H3e(e,r){e.treeAdapter.getDocumentMode(e.document)!==ni.QUIRKS&&e.openElements.hasInButtonScope(F.P)&&e._closePElement(),e._insertElement(r,Me.HTML),e.framesetOk=!1,e.insertionMode=le.IN_TABLE}function uL(e,r){e._reconstructActiveFormattingElements(),e._appendElement(r,Me.HTML),e.framesetOk=!1,r.ackSelfClosing=!0}function dL(e){const r=jz(e,Od.TYPE);return r!=null&&r.toLowerCase()===i3e}function q3e(e,r){e._reconstructActiveFormattingElements(),e._appendElement(r,Me.HTML),dL(r)||(e.framesetOk=!1),r.ackSelfClosing=!0}function U3e(e,r){e._appendElement(r,Me.HTML),r.ackSelfClosing=!0}function V3e(e,r){e.openElements.hasInButtonScope(F.P)&&e._closePElement(),e._appendElement(r,Me.HTML),e.framesetOk=!1,r.ackSelfClosing=!0}function Y3e(e,r){r.tagName=fe.IMG,r.tagID=F.IMG,uL(e,r)}function W3e(e,r){e._insertElement(r,Me.HTML),e.skipNextNewLine=!0,e.tokenizer.state=un.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=le.TEXT}function G3e(e,r){e.openElements.hasInButtonScope(F.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(r,un.RAWTEXT)}function X3e(e,r){e.framesetOk=!1,e._switchToTextParsing(r,un.RAWTEXT)}function pL(e,r){e._switchToTextParsing(r,un.RAWTEXT)}function K3e(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,Me.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===le.IN_TABLE||e.insertionMode===le.IN_CAPTION||e.insertionMode===le.IN_TABLE_BODY||e.insertionMode===le.IN_ROW||e.insertionMode===le.IN_CELL?le.IN_SELECT_IN_TABLE:le.IN_SELECT}function Z3e(e,r){e.openElements.currentTagId===F.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(r,Me.HTML)}function Q3e(e,r){e.openElements.hasInScope(F.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(r,Me.HTML)}function J3e(e,r){e.openElements.hasInScope(F.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(F.RTC),e._insertElement(r,Me.HTML)}function exe(e,r){e._reconstructActiveFormattingElements(),nL(r),J_(r),r.selfClosing?e._appendElement(r,Me.MATHML):e._insertElement(r,Me.MATHML),r.ackSelfClosing=!0}function txe(e,r){e._reconstructActiveFormattingElements(),oL(r),J_(r),r.selfClosing?e._appendElement(r,Me.SVG):e._insertElement(r,Me.SVG),r.ackSelfClosing=!0}function hL(e,r){e._reconstructActiveFormattingElements(),e._insertElement(r,Me.HTML)}function To(e,r){switch(r.tagID){case F.I:case F.S:case F.B:case F.U:case F.EM:case F.TT:case F.BIG:case F.CODE:case F.FONT:case F.SMALL:case F.STRIKE:case F.STRONG:{B3e(e,r);break}case F.A:{L3e(e,r);break}case F.H1:case F.H2:case F.H3:case F.H4:case F.H5:case F.H6:{P3e(e,r);break}case F.P:case F.DL:case F.OL:case F.UL:case F.DIV:case F.DIR:case F.NAV:case F.MAIN:case F.MENU:case F.ASIDE:case F.CENTER:case F.FIGURE:case F.FOOTER:case F.HEADER:case F.HGROUP:case F.DIALOG:case F.DETAILS:case F.ADDRESS:case F.ARTICLE:case F.SEARCH:case F.SECTION:case F.SUMMARY:case F.FIELDSET:case F.BLOCKQUOTE:case F.FIGCAPTION:{D3e(e,r);break}case F.LI:case F.DD:case F.DT:{O3e(e,r);break}case F.BR:case F.IMG:case F.WBR:case F.AREA:case F.EMBED:case F.KEYGEN:{uL(e,r);break}case F.HR:{V3e(e,r);break}case F.RB:case F.RTC:{Q3e(e,r);break}case F.RT:case F.RP:{J3e(e,r);break}case F.PRE:case F.LISTING:{$3e(e,r);break}case F.XMP:{G3e(e,r);break}case F.SVG:{txe(e,r);break}case F.HTML:{R3e(e,r);break}case F.BASE:case F.LINK:case F.META:case F.STYLE:case F.TITLE:case F.SCRIPT:case F.BGSOUND:case F.BASEFONT:case F.TEMPLATE:{Ui(e,r);break}case F.BODY:{A3e(e,r);break}case F.FORM:{M3e(e,r);break}case F.NOBR:{j3e(e,r);break}case F.MATH:{exe(e,r);break}case F.TABLE:{H3e(e,r);break}case F.INPUT:{q3e(e,r);break}case F.PARAM:case F.TRACK:case F.SOURCE:{U3e(e,r);break}case F.IMAGE:{Y3e(e,r);break}case F.BUTTON:{z3e(e,r);break}case F.APPLET:case F.OBJECT:case F.MARQUEE:{F3e(e,r);break}case F.IFRAME:{X3e(e,r);break}case F.SELECT:{K3e(e,r);break}case F.OPTION:case F.OPTGROUP:{Z3e(e,r);break}case F.NOEMBED:case F.NOFRAMES:{pL(e,r);break}case F.FRAMESET:{N3e(e,r);break}case F.TEXTAREA:{W3e(e,r);break}case F.NOSCRIPT:{e.options.scriptingEnabled?pL(e,r):hL(e,r);break}case F.PLAINTEXT:{I3e(e,r);break}case F.COL:case F.TH:case F.TD:case F.TR:case F.HEAD:case F.FRAME:case F.TBODY:case F.TFOOT:case F.THEAD:case F.CAPTION:case F.COLGROUP:break;default:hL(e,r)}}function rxe(e,r){if(e.openElements.hasInScope(F.BODY)&&(e.insertionMode=le.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,r)}}function nxe(e,r){e.openElements.hasInScope(F.BODY)&&(e.insertionMode=le.AFTER_BODY,_L(e,r))}function oxe(e,r){const n=r.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function axe(e){const r=e.openElements.tmplCount>0,{formElement:n}=e;r||(e.formElement=null),(n||r)&&e.openElements.hasInScope(F.FORM)&&(e.openElements.generateImpliedEndTags(),r?e.openElements.popUntilTagNamePopped(F.FORM):n&&e.openElements.remove(n))}function ixe(e){e.openElements.hasInButtonScope(F.P)||e._insertFakeElement(fe.P,F.P),e._closePElement()}function lxe(e){e.openElements.hasInListItemScope(F.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(F.LI),e.openElements.popUntilTagNamePopped(F.LI))}function sxe(e,r){const n=r.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function cxe(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function uxe(e,r){const n=r.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function dxe(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(fe.BR,F.BR),e.openElements.pop(),e.framesetOk=!1}function fL(e,r){const n=r.tagName,o=r.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],l=e.openElements.tagIDs[a];if(o===l&&(o!==F.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(o),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,l))break}}function v3(e,r){switch(r.tagID){case F.A:case F.B:case F.I:case F.S:case F.U:case F.EM:case F.TT:case F.BIG:case F.CODE:case F.FONT:case F.NOBR:case F.SMALL:case F.STRIKE:case F.STRONG:{e8(e,r);break}case F.P:{ixe(e);break}case F.DL:case F.UL:case F.OL:case F.DIR:case F.DIV:case F.NAV:case F.PRE:case F.MAIN:case F.MENU:case F.ASIDE:case F.BUTTON:case F.CENTER:case F.FIGURE:case F.FOOTER:case F.HEADER:case F.HGROUP:case F.DIALOG:case F.ADDRESS:case F.ARTICLE:case F.DETAILS:case F.SEARCH:case F.SECTION:case F.SUMMARY:case F.LISTING:case F.FIELDSET:case F.BLOCKQUOTE:case F.FIGCAPTION:{oxe(e,r);break}case F.LI:{lxe(e);break}case F.DD:case F.DT:{sxe(e,r);break}case F.H1:case F.H2:case F.H3:case F.H4:case F.H5:case F.H6:{cxe(e);break}case F.BR:{dxe(e);break}case F.BODY:{rxe(e,r);break}case F.HTML:{nxe(e,r);break}case F.FORM:{axe(e);break}case F.APPLET:case F.OBJECT:case F.MARQUEE:{uxe(e,r);break}case F.TEMPLATE:{Id(e,r);break}default:fL(e,r)}}function mL(e,r){e.tmplInsertionModeStack.length>0?kL(e,r):r8(e,r)}function pxe(e,r){var n;r.tagID===F.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function hxe(e,r){e._err(r,Ee.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(r)}function n8(e,r){if(aL.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=le.IN_TABLE_TEXT,r.type){case Ht.CHARACTER:{yL(e,r);break}case Ht.WHITESPACE_CHARACTER:{gL(e,r);break}}else U1(e,r)}function fxe(e,r){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(r,Me.HTML),e.insertionMode=le.IN_CAPTION}function mxe(e,r){e.openElements.clearBackToTableContext(),e._insertElement(r,Me.HTML),e.insertionMode=le.IN_COLUMN_GROUP}function gxe(e,r){e.openElements.clearBackToTableContext(),e._insertFakeElement(fe.COLGROUP,F.COLGROUP),e.insertionMode=le.IN_COLUMN_GROUP,o8(e,r)}function yxe(e,r){e.openElements.clearBackToTableContext(),e._insertElement(r,Me.HTML),e.insertionMode=le.IN_TABLE_BODY}function bxe(e,r){e.openElements.clearBackToTableContext(),e._insertFakeElement(fe.TBODY,F.TBODY),e.insertionMode=le.IN_TABLE_BODY,w3(e,r)}function vxe(e,r){e.openElements.hasInTableScope(F.TABLE)&&(e.openElements.popUntilTagNamePopped(F.TABLE),e._resetInsertionMode(),e._processStartTag(r))}function xxe(e,r){dL(r)?e._appendElement(r,Me.HTML):U1(e,r),r.ackSelfClosing=!0}function wxe(e,r){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(r,Me.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Xh(e,r){switch(r.tagID){case F.TD:case F.TH:case F.TR:{bxe(e,r);break}case F.STYLE:case F.SCRIPT:case F.TEMPLATE:{Ui(e,r);break}case F.COL:{gxe(e,r);break}case F.FORM:{wxe(e,r);break}case F.TABLE:{vxe(e,r);break}case F.TBODY:case F.TFOOT:case F.THEAD:{yxe(e,r);break}case F.INPUT:{xxe(e,r);break}case F.CAPTION:{fxe(e,r);break}case F.COLGROUP:{mxe(e,r);break}default:U1(e,r)}}function q1(e,r){switch(r.tagID){case F.TABLE:{e.openElements.hasInTableScope(F.TABLE)&&(e.openElements.popUntilTagNamePopped(F.TABLE),e._resetInsertionMode());break}case F.TEMPLATE:{Id(e,r);break}case F.BODY:case F.CAPTION:case F.COL:case F.COLGROUP:case F.HTML:case F.TBODY:case F.TD:case F.TFOOT:case F.TH:case F.THEAD:case F.TR:break;default:U1(e,r)}}function U1(e,r){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,b3(e,r),e.fosterParentingEnabled=n}function gL(e,r){e.pendingCharacterTokens.push(r)}function yL(e,r){e.pendingCharacterTokens.push(r),e.hasNonWhitespacePendingCharacterToken=!0}function V1(e,r){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===F.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===F.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===F.OPTGROUP&&e.openElements.pop();break}case F.OPTION:{e.openElements.currentTagId===F.OPTION&&e.openElements.pop();break}case F.SELECT:{e.openElements.hasInSelectScope(F.SELECT)&&(e.openElements.popUntilTagNamePopped(F.SELECT),e._resetInsertionMode());break}case F.TEMPLATE:{Id(e,r);break}}}function Txe(e,r){const n=r.tagID;n===F.CAPTION||n===F.TABLE||n===F.TBODY||n===F.TFOOT||n===F.THEAD||n===F.TR||n===F.TD||n===F.TH?(e.openElements.popUntilTagNamePopped(F.SELECT),e._resetInsertionMode(),e._processStartTag(r)):xL(e,r)}function Rxe(e,r){const n=r.tagID;n===F.CAPTION||n===F.TABLE||n===F.TBODY||n===F.TFOOT||n===F.THEAD||n===F.TR||n===F.TD||n===F.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(F.SELECT),e._resetInsertionMode(),e.onEndTag(r)):wL(e,r)}function Axe(e,r){switch(r.tagID){case F.BASE:case F.BASEFONT:case F.BGSOUND:case F.LINK:case F.META:case F.NOFRAMES:case F.SCRIPT:case F.STYLE:case F.TEMPLATE:case F.TITLE:{Ui(e,r);break}case F.CAPTION:case F.COLGROUP:case F.TBODY:case F.TFOOT:case F.THEAD:{e.tmplInsertionModeStack[0]=le.IN_TABLE,e.insertionMode=le.IN_TABLE,Xh(e,r);break}case F.COL:{e.tmplInsertionModeStack[0]=le.IN_COLUMN_GROUP,e.insertionMode=le.IN_COLUMN_GROUP,o8(e,r);break}case F.TR:{e.tmplInsertionModeStack[0]=le.IN_TABLE_BODY,e.insertionMode=le.IN_TABLE_BODY,w3(e,r);break}case F.TD:case F.TH:{e.tmplInsertionModeStack[0]=le.IN_ROW,e.insertionMode=le.IN_ROW,k3(e,r);break}default:e.tmplInsertionModeStack[0]=le.IN_BODY,e.insertionMode=le.IN_BODY,To(e,r)}}function Nxe(e,r){r.tagID===F.TEMPLATE&&Id(e,r)}function kL(e,r){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(F.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(r)):r8(e,r)}function Dxe(e,r){r.tagID===F.HTML?To(e,r):_3(e,r)}function _L(e,r){var n;if(r.tagID===F.HTML){if(e.fragmentContext||(e.insertionMode=le.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===F.HTML){e._setEndLocation(e.openElements.items[0],r);const o=e.openElements.items[1];o&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(o))===null||n===void 0)&&n.endTag)&&e._setEndLocation(o,r)}}else _3(e,r)}function _3(e,r){e.insertionMode=le.IN_BODY,b3(e,r)}function Pxe(e,r){switch(r.tagID){case F.HTML:{To(e,r);break}case F.FRAMESET:{e._insertElement(r,Me.HTML);break}case F.FRAME:{e._appendElement(r,Me.HTML),r.ackSelfClosing=!0;break}case F.NOFRAMES:{Ui(e,r);break}}}function $xe(e,r){r.tagID===F.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==F.FRAMESET&&(e.insertionMode=le.AFTER_FRAMESET))}function Mxe(e,r){switch(r.tagID){case F.HTML:{To(e,r);break}case F.NOFRAMES:{Ui(e,r);break}}}function Oxe(e,r){r.tagID===F.HTML&&(e.insertionMode=le.AFTER_AFTER_FRAMESET)}function Ixe(e,r){r.tagID===F.HTML?To(e,r):E3(e,r)}function E3(e,r){e.insertionMode=le.IN_BODY,b3(e,r)}function zxe(e,r){switch(r.tagID){case F.HTML:{To(e,r);break}case F.NOFRAMES:{Ui(e,r);break}}}function Lxe(e,r){r.chars=jr,e._insertCharacters(r)}function Bxe(e,r){e._insertCharacters(r),e.framesetOk=!1}function EL(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Me.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function jxe(e,r){if(t3e(r))EL(e),e._startTagOutsideForeignContent(r);else{const n=e._getAdjustedCurrentElement(),o=e.treeAdapter.getNamespaceURI(n);o===Me.MATHML?nL(r):o===Me.SVG&&(r3e(r),oL(r)),J_(r),r.selfClosing?e._appendElement(r,o):e._insertElement(r,o),r.ackSelfClosing=!0}}function Fxe(e,r){if(r.tagID===F.P||r.tagID===F.BR){EL(e),e._endTagOutsideForeignContent(r);return}for(let n=e.openElements.stackTop;n>0;n--){const o=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(o)===Me.HTML){e._endTagOutsideForeignContent(r);break}const a=e.treeAdapter.getTagName(o);if(a.toLowerCase()===r.tagName){r.tagName=a,e.openElements.shortenToLength(n);break}}}fe.AREA,fe.BASE,fe.BASEFONT,fe.BGSOUND,fe.BR,fe.COL,fe.EMBED,fe.FRAME,fe.HR,fe.IMG,fe.INPUT,fe.KEYGEN,fe.LINK,fe.META,fe.PARAM,fe.SOURCE,fe.TRACK,fe.WBR;const S3=SL("end"),js=SL("start");function SL(e){return r;function r(n){const o=n&&n.position&&n.position[e]||{};if(typeof o.line=="number"&&o.line>0&&typeof o.column=="number"&&o.column>0)return{line:o.line,column:o.column,offset:typeof o.offset=="number"&&o.offset>-1?o.offset:void 0}}}function CL(e){const r=js(e),n=S3(e);if(r&&n)return{start:r,end:n}}const C3=(function(e){if(e==null)return Vxe;if(typeof e=="function")return T3(e);if(typeof e=="object")return Array.isArray(e)?Hxe(e):qxe(e);if(typeof e=="string")return Uxe(e);throw new Error("Expected function, string, or object as test")});function Hxe(e){const r=[];let n=-1;for(;++n":""))+")"})}return f;function f(){let g=TL,b,x,w;if((!r||i(c,u,d[d.length-1]||void 0))&&(g=Xxe(n(c,d)),g[0]===i8))return g;if("children"in c&&c.children){const k=c;if(k.children&&g[0]!==Gxe)for(x=(o?k.children.length:-1)+l,w=d.concat(k);x>-1&&x])/gi,Zxe=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),AL={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function NL(e,r){const n=lwe(e),o=W_("type",{handlers:{root:Qxe,element:Jxe,text:ewe,comment:PL,doctype:twe,raw:nwe},unknown:owe}),a={parser:n?new lL(AL):lL.getFragmentParser(void 0,AL),handle(s){o(s,a)},stitches:!1,options:r||{}};o(e,a),Kh(a,js());const i=n?a.parser.document:a.parser.getFragment(),l=Vbe(i,{file:a.options.file});return a.stitches&&l8(l,"comment",function(s,c,u){const d=s;if(d.value.stitch&&u&&c!==void 0){const p=u.children;return p[c]=d.value.stitch,c}}),l.type==="root"&&l.children.length===1&&l.children[0].type===e.type?l.children[0]:l}function DL(e,r){let n=-1;if(e)for(;++n4&&(r.parser.tokenizer.state=0);const n={type:Ht.CHARACTER,chars:e.value,location:Y1(e)};Kh(r,js(e)),r.parser.currentToken=n,r.parser._processToken(r.parser.currentToken)}function twe(e,r){const n={type:Ht.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Y1(e)};Kh(r,js(e)),r.parser.currentToken=n,r.parser._processToken(r.parser.currentToken)}function rwe(e,r){r.stitches=!0;const n=swe(e);if("children"in e&&"children"in n){const o=NL({type:"root",children:e.children},r.options);n.children=o.children}PL({type:"comment",value:{stitch:n}},r)}function PL(e,r){const n=e.value,o={type:Ht.COMMENT,data:n,location:Y1(e)};Kh(r,js(e)),r.parser.currentToken=o,r.parser._processToken(r.parser.currentToken)}function nwe(e,r){if(r.parser.tokenizer.preprocessor.html="",r.parser.tokenizer.preprocessor.pos=-1,r.parser.tokenizer.preprocessor.lastGapPos=-2,r.parser.tokenizer.preprocessor.gapStack=[],r.parser.tokenizer.preprocessor.skipNextNewLine=!1,r.parser.tokenizer.preprocessor.lastChunkWritten=!1,r.parser.tokenizer.preprocessor.endOfChunkHit=!1,r.parser.tokenizer.preprocessor.isEol=!1,$L(r,js(e)),r.parser.tokenizer.write(r.options.tagfilter?e.value.replace(Kxe,"<$1$2"):e.value,!1),r.parser.tokenizer._runParsingLoop(),r.parser.tokenizer.state===72||r.parser.tokenizer.state===78){r.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=r.parser.tokenizer._consume();r.parser.tokenizer._callState(n)}}function owe(e,r){const n=e;if(r.options.passThrough&&r.options.passThrough.includes(n.type))rwe(n,r);else{let o="";throw Zxe.has(n.type)&&(o=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+o)}}function Kh(e,r){$L(e,r);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=un.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function $L(e,r){if(r&&r.offset!==void 0){const n={startLine:r.line,startCol:r.column,startOffset:r.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-r.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=r.offset,e.parser.tokenizer.preprocessor.line=r.line,e.parser.tokenizer.currentLocation=n}}function awe(e,r){const n=e.tagName.toLowerCase();if(r.parser.tokenizer.state===un.PLAINTEXT)return;Kh(r,js(e));const o=r.parser.openElements.current;let a="namespaceURI"in o?o.namespaceURI:$d.html;a===$d.html&&n==="svg"&&(a=$d.svg);const i=ive({...e,children:[]},{space:a===$d.svg?"svg":"html"}),l={type:Ht.START_TAG,tagName:n,tagID:Gh(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:Y1(e)};r.parser.currentToken=l,r.parser._processToken(r.parser.currentToken),r.parser.tokenizer.lastStartTagName=n}function iwe(e,r){const n=e.tagName.toLowerCase();if(!r.parser.tokenizer.inForeignNode&&Iz.includes(n)||r.parser.tokenizer.state===un.PLAINTEXT)return;Kh(r,S3(e));const o={type:Ht.END_TAG,tagName:n,tagID:Gh(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Y1(e)};r.parser.currentToken=o,r.parser._processToken(r.parser.currentToken),n===r.parser.tokenizer.lastStartTagName&&(r.parser.tokenizer.state===un.RCDATA||r.parser.tokenizer.state===un.RAWTEXT||r.parser.tokenizer.state===un.SCRIPT_DATA)&&(r.parser.tokenizer.state=un.DATA)}function lwe(e){const r=e.type==="root"?e.children[0]:e;return!!(r&&(r.type==="doctype"||r.type==="element"&&r.tagName.toLowerCase()==="html"))}function Y1(e){const r=js(e)||{line:void 0,column:void 0,offset:void 0},n=S3(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:r.line,startCol:r.column,startOffset:r.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function swe(e){return"children"in e?Dd({...e,children:[]}):Dd(e)}function cwe(e){return function(r,n){return NL(r,{...e,file:n})}}const zd=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],ML={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...zd,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...zd],h2:[["className","sr-only"]],img:[...zd,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...zd,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...zd],table:[...zd],ul:[...zd,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},au={}.hasOwnProperty;function uwe(e,r){let n={type:"root",children:[]};const o={schema:r?{...ML,...r}:ML,stack:[]},a=OL(o,e);return a&&(Array.isArray(a)?a.length===1?n=a[0]:n.children=a:n=a),n}function OL(e,r){if(r&&typeof r=="object"){const n=r;switch(typeof n.type=="string"?n.type:""){case"comment":return dwe(e,n);case"doctype":return pwe(e,n);case"element":return hwe(e,n);case"root":return fwe(e,n);case"text":return mwe(e,n)}}}function dwe(e,r){if(e.schema.allowComments){const n=typeof r.value=="string"?r.value:"",o=n.indexOf("-->"),i={type:"comment",value:o<0?n:n.slice(0,o)};return W1(i,r),i}}function pwe(e,r){if(e.schema.allowDoctypes){const n={type:"doctype"};return W1(n,r),n}}function hwe(e,r){const n=typeof r.tagName=="string"?r.tagName:"";e.stack.push(n);const o=IL(e,r.children),a=gwe(e,r.properties);e.stack.pop();let i=!1;if(n&&n!=="*"&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(i=!0,e.schema.ancestors&&au.call(e.schema.ancestors,n))){const s=e.schema.ancestors[n];let c=-1;for(i=!1;++c1){let a=!1,i=0;for(;++i-1&&i>c||l>-1&&i>l||s>-1&&i>s)return!0;let u=-1;for(;++u4&&r.slice(0,4).toLowerCase()==="data")return n}function vwe(e){return function(r){return uwe(r,e)}}const xwe=/["&'<>`]/g,wwe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,kwe=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,_we=/[|\\{}()[\]^$+*?.]/g,jL=new WeakMap;function Ewe(e,r){if(e=e.replace(r.subset?Swe(r.subset):xwe,o),r.subset||r.escapeOnly)return e;return e.replace(wwe,n).replace(kwe,o);function n(a,i,l){return r.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,l.charCodeAt(i+2),r)}function o(a,i,l){return r.format(a.charCodeAt(0),l.charCodeAt(i+1),r)}}function Swe(e){let r=jL.get(e);return r||(r=Cwe(e),jL.set(e,r)),r}function Cwe(e){const r=[];let n=-1;for(;++n",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Pwe=["cent","copy","divide","gt","lt","not","para","times"],FL={}.hasOwnProperty,c8={};let R3;for(R3 in s8)FL.call(s8,R3)&&(c8[s8[R3]]=R3);const $we=/[^\dA-Za-z]/;function Mwe(e,r,n,o){const a=String.fromCharCode(e);if(FL.call(c8,a)){const i=c8[a],l="&"+i;return n&&Dwe.includes(i)&&!Pwe.includes(i)&&(!o||r&&r!==61&&$we.test(String.fromCharCode(r)))?l:l+";"}return""}function Owe(e,r,n){let o=Rwe(e,r,n.omitOptionalSemicolons),a;if((n.useNamedReferences||n.useShortestReferences)&&(a=Mwe(e,r,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!a)&&n.useShortestReferences){const i=Nwe(e,r,n.omitOptionalSemicolons);i.length|^->||--!>|"],Lwe=["<",">"];function Bwe(e,r,n,o){return o.settings.bogusComments?"":"";function a(i){return Zh(i,Object.assign({},o.settings.characterReferences,{subset:Lwe}))}}function jwe(e,r,n,o){return""}function A3(e,r){const n=String(e);if(typeof r!="string")throw new TypeError("Expected character");let o=0,a=n.indexOf(r);for(;a!==-1;)o++,a=n.indexOf(r,a+r.length);return o}const Fwe=/[ \t\n\f\r]/g;function u8(e){return typeof e=="object"?e.type==="text"?HL(e.value):!1:HL(e)}function HL(e){return e.replace(Fwe,"")===""}const qn=UL(1),qL=UL(-1),Hwe=[];function UL(e){return r;function r(n,o,a){const i=n?n.children:Hwe;let l=(o||0)+e,s=i[l];if(!a)for(;s&&u8(s);)l+=e,s=i[l];return s}}const qwe={}.hasOwnProperty;function VL(e){return r;function r(n,o,a){return qwe.call(e,n.tagName)&&e[n.tagName](n,o,a)}}const d8=VL({body:Vwe,caption:p8,colgroup:p8,dd:Xwe,dt:Gwe,head:p8,html:Uwe,li:Wwe,optgroup:Kwe,option:Zwe,p:Ywe,rp:YL,rt:YL,tbody:Jwe,td:WL,tfoot:e2e,th:WL,thead:Qwe,tr:t2e});function p8(e,r,n){const o=qn(n,r,!0);return!o||o.type!=="comment"&&!(o.type==="text"&&u8(o.value.charAt(0)))}function Uwe(e,r,n){const o=qn(n,r);return!o||o.type!=="comment"}function Vwe(e,r,n){const o=qn(n,r);return!o||o.type!=="comment"}function Ywe(e,r,n){const o=qn(n,r);return o?o.type==="element"&&(o.tagName==="address"||o.tagName==="article"||o.tagName==="aside"||o.tagName==="blockquote"||o.tagName==="details"||o.tagName==="div"||o.tagName==="dl"||o.tagName==="fieldset"||o.tagName==="figcaption"||o.tagName==="figure"||o.tagName==="footer"||o.tagName==="form"||o.tagName==="h1"||o.tagName==="h2"||o.tagName==="h3"||o.tagName==="h4"||o.tagName==="h5"||o.tagName==="h6"||o.tagName==="header"||o.tagName==="hgroup"||o.tagName==="hr"||o.tagName==="main"||o.tagName==="menu"||o.tagName==="nav"||o.tagName==="ol"||o.tagName==="p"||o.tagName==="pre"||o.tagName==="section"||o.tagName==="table"||o.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function Wwe(e,r,n){const o=qn(n,r);return!o||o.type==="element"&&o.tagName==="li"}function Gwe(e,r,n){const o=qn(n,r);return!!(o&&o.type==="element"&&(o.tagName==="dt"||o.tagName==="dd"))}function Xwe(e,r,n){const o=qn(n,r);return!o||o.type==="element"&&(o.tagName==="dt"||o.tagName==="dd")}function YL(e,r,n){const o=qn(n,r);return!o||o.type==="element"&&(o.tagName==="rp"||o.tagName==="rt")}function Kwe(e,r,n){const o=qn(n,r);return!o||o.type==="element"&&o.tagName==="optgroup"}function Zwe(e,r,n){const o=qn(n,r);return!o||o.type==="element"&&(o.tagName==="option"||o.tagName==="optgroup")}function Qwe(e,r,n){const o=qn(n,r);return!!(o&&o.type==="element"&&(o.tagName==="tbody"||o.tagName==="tfoot"))}function Jwe(e,r,n){const o=qn(n,r);return!o||o.type==="element"&&(o.tagName==="tbody"||o.tagName==="tfoot")}function e2e(e,r,n){return!qn(n,r)}function t2e(e,r,n){const o=qn(n,r);return!o||o.type==="element"&&o.tagName==="tr"}function WL(e,r,n){const o=qn(n,r);return!o||o.type==="element"&&(o.tagName==="td"||o.tagName==="th")}const r2e=VL({body:a2e,colgroup:i2e,head:o2e,html:n2e,tbody:l2e});function n2e(e){const r=qn(e,-1);return!r||r.type!=="comment"}function o2e(e){const r=new Set;for(const o of e.children)if(o.type==="element"&&(o.tagName==="base"||o.tagName==="title")){if(r.has(o.tagName))return!1;r.add(o.tagName)}const n=e.children[0];return!n||n.type==="element"}function a2e(e){const r=qn(e,-1,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&u8(r.value.charAt(0)))&&!(r.type==="element"&&(r.tagName==="meta"||r.tagName==="link"||r.tagName==="script"||r.tagName==="style"||r.tagName==="template"))}function i2e(e,r,n){const o=qL(n,r),a=qn(e,-1,!0);return n&&o&&o.type==="element"&&o.tagName==="colgroup"&&d8(o,n.children.indexOf(o),n)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}function l2e(e,r,n){const o=qL(n,r),a=qn(e,-1);return n&&o&&o.type==="element"&&(o.tagName==="thead"||o.tagName==="tbody")&&d8(o,n.children.indexOf(o),n)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}const N3={name:[[` \f\r &/=>`.split(""),` \f\r "&'/=>\``.split("")],[`\0 \f\r "&'/<=>`.split(""),`\0 @@ -58,77 +58,77 @@ function w1e(e,r){for(var n=0;n`.split(""),`\0 \f\r "&'<=>\``.split("")],[`\0 \f\r "&'<=>\``.split(""),`\0 -\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Lwe(e,r,n,o){const a=o.schema,i=a.space==="svg"?!1:o.settings.omitOptionalTags;let l=a.space==="svg"?o.settings.closeEmptyElements:o.settings.voids.includes(e.tagName.toLowerCase());const s=[];let c;a.space==="html"&&e.tagName==="svg"&&(o.schema=E1);const u=zwe(o,e.properties),d=o.all(a.space==="html"&&e.tagName==="template"?e.content:e);return o.schema=a,d&&(l=!1),(u||!i||!Dwe(e,r,n))&&(s.push("<",e.tagName,u?" "+u:""),l&&(a.space==="svg"||o.settings.closeSelfClosing)&&(c=u.charAt(u.length-1),(!o.settings.tightSelfClosing||c==="/"||c&&c!=='"'&&c!=="'")&&s.push(" "),s.push("/")),s.push(">")),s.push(d),!l&&(!i||!o8(e,r,n))&&s.push(""),s.join("")}function zwe(e,r){const n=[];let o=-1,a;if(r){for(a in r)if(r[a]!==null&&r[a]!==void 0){const i=Bwe(e,a,r[a]);i&&n.push(i)}}for(;++oC3(n,e.alternative)&&(l=e.alternative),s=l+qh(n,Object.assign({},e.settings.characterReferences,{subset:(l==="'"?T3.single:T3.double)[a][i],attribute:!0}))+l),c+(s&&"="+s))}const jwe=["<","&"];function Bz(e,r,n,o){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:qh(e.value,Object.assign({},o.settings.characterReferences,{subset:jwe}))}function Fwe(e,r,n,o){return o.settings.allowDangerousHtml?e.value:Bz(e,r,n,o)}function Hwe(e,r,n,o){return o.all(e)}const qwe=j_("type",{invalid:Uwe,unknown:Vwe,handlers:{comment:fwe,doctype:mwe,element:Lwe,raw:Fwe,root:Hwe,text:Bz}});function Uwe(e){throw new Error("Expected node, not `"+e+"`")}function Vwe(e){const r=e;throw new Error("Cannot compile unknown node `"+r.type+"`")}const Ywe={},Wwe={},Gwe=[];function Xwe(e,r){const n=r||Ywe,o=n.quote||'"',a=o==='"'?"'":'"';if(o!=='"'&&o!=="'")throw new Error("Invalid quote `"+o+"`, expected `'` or `\"`");return{one:Kwe,all:Zwe,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||TL,characterReferences:n.characterReferences||Wwe,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?E1:d3,quote:o,alternative:a}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function Kwe(e,r,n){return qwe(e,r,n,this)}function Zwe(e){const r=[],n=e&&e.children||Gwe;let o=-1;for(;++o-1&&e.test(String.fromCharCode(n))}}function r2e(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function n2e(e,r,n){const a=_3((n||{}).ignore||[]),i=o2e(r);let l=-1;for(;++l0?{type:"text",value:A}:void 0),A===!1?f.lastIndex=T+1:(b!==T&&C.push({type:"text",value:u.value.slice(b,T)}),Array.isArray(A)?C.push(...A):A&&C.push(A),b=T+_[0].length,k=!0),!f.global)break;_=f.exec(u.value)}return k?(b?\]}]+$/.exec(e);if(!r)return[e,void 0];e=e.slice(0,r.index);let n=r[0],o=n.indexOf(")");const a=C3(e,"(");let i=C3(e,")");for(;o!==-1&&a>i;)e+=n.slice(0,o+1),n=n.slice(o+1),o=n.indexOf(")"),i++;return[e,n]}function jz(e,r){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Td(n)||A3(n))&&(!r||n!==47)}function qi(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}Fz.peek=T2e;function v2e(){this.buffer()}function x2e(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function w2e(){this.buffer()}function k2e(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function _2e(e){const r=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=qi(this.sliceSerialize(e)).toLowerCase(),n.label=r}function E2e(e){this.exit(e)}function S2e(e){const r=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=qi(this.sliceSerialize(e)).toLowerCase(),n.label=r}function C2e(e){this.exit(e)}function T2e(){return"["}function Fz(e,r,n,o){const a=n.createTracker(o);let i=a.move("[^");const l=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{after:"]",before:i})),s(),l(),i+=a.move("]"),i}function R2e(){return{enter:{gfmFootnoteCallString:v2e,gfmFootnoteCall:x2e,gfmFootnoteDefinitionLabelString:w2e,gfmFootnoteDefinition:k2e},exit:{gfmFootnoteCallString:_2e,gfmFootnoteCall:E2e,gfmFootnoteDefinitionLabelString:S2e,gfmFootnoteDefinition:C2e}}}function A2e(e){let r=!1;return e&&e.firstLineBlank&&(r=!0),{handlers:{footnoteDefinition:n,footnoteReference:Fz},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(o,a,i,l){const s=i.createTracker(l);let c=s.move("[^");const u=i.enter("footnoteDefinition"),d=i.enter("label");return c+=s.move(i.safe(i.associationId(o),{before:c,after:"]"})),d(),c+=s.move("]:"),o.children&&o.children.length>0&&(s.shift(4),c+=s.move((r?` -`:" ")+i.indentLines(i.containerFlow(o,s.current()),r?Hz:N2e))),u(),c}}function N2e(e,r,n){return r===0?e:Hz(e,r,n)}function Hz(e,r,n){return(n?"":" ")+e}const D2e=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];qz.peek=I2e;function P2e(){return{canContainEols:["delete"],enter:{strikethrough:M2e},exit:{strikethrough:O2e}}}function $2e(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:D2e}],handlers:{delete:qz}}}function M2e(e){this.enter({type:"delete",children:[]},e)}function O2e(e){this.exit(e)}function qz(e,r,n,o){const a=n.createTracker(o),i=n.enter("strikethrough");let l=a.move("~~");return l+=n.containerPhrasing(e,{...a.current(),before:l,after:"~"}),l+=a.move("~~"),i(),l}function I2e(){return"~"}function L2e(e){return e.length}function z2e(e,r){const n=r||{},o=(n.align||[]).concat(),a=n.stringLength||L2e,i=[],l=[],s=[],c=[];let u=0,d=-1;for(;++du&&(u=e[d].length);++kc[k])&&(c[k]=_)}x.push(C)}l[d]=x,s[d]=w}let p=-1;if(typeof o=="object"&&"length"in o)for(;++pc[p]&&(c[p]=C),g[p]=C),f[p]=_}l.splice(1,0,f),s.splice(1,0,g),d=-1;const b=[];for(;++d "),i.shift(2);const l=n.indentLines(n.containerFlow(e,i.current()),F2e);return a(),l}function F2e(e,r,n){return">"+(n?"":" ")+e}function H2e(e,r){return Vz(e,r.inConstruct,!0)&&!Vz(e,r.notInConstruct,!1)}function Vz(e,r,n){if(typeof r=="string"&&(r=[r]),!r||r.length===0)return n;let o=-1;for(;++ol&&(l=i):i=1,a=o+r.length,o=n.indexOf(r,a);return l}function U2e(e,r){return!!(r.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function V2e(e){const r=e.options.fence||"`";if(r!=="`"&&r!=="~")throw new Error("Cannot serialize code with `"+r+"` for `options.fence`, expected `` ` `` or `~`");return r}function Y2e(e,r,n,o){const a=V2e(n),i=e.value||"",l=a==="`"?"GraveAccent":"Tilde";if(U2e(e,n)){const p=n.enter("codeIndented"),f=n.indentLines(i,W2e);return p(),f}const s=n.createTracker(o),c=a.repeat(Math.max(q2e(i,a)+1,3)),u=n.enter("codeFenced");let d=s.move(c);if(e.lang){const p=n.enter(`codeFencedLang${l}`);d+=s.move(n.safe(e.lang,{before:d,after:" ",encode:["`"],...s.current()})),p()}if(e.lang&&e.meta){const p=n.enter(`codeFencedMeta${l}`);d+=s.move(" "),d+=s.move(n.safe(e.meta,{before:d,after:` +\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function s2e(e,r,n,o){const a=o.schema,i=a.space==="svg"?!1:o.settings.omitOptionalTags;let l=a.space==="svg"?o.settings.closeEmptyElements:o.settings.voids.includes(e.tagName.toLowerCase());const s=[];let c;a.space==="html"&&e.tagName==="svg"&&(o.schema=M1);const u=c2e(o,e.properties),d=o.all(a.space==="html"&&e.tagName==="template"?e.content:e);return o.schema=a,d&&(l=!1),(u||!i||!r2e(e,r,n))&&(s.push("<",e.tagName,u?" "+u:""),l&&(a.space==="svg"||o.settings.closeSelfClosing)&&(c=u.charAt(u.length-1),(!o.settings.tightSelfClosing||c==="/"||c&&c!=='"'&&c!=="'")&&s.push(" "),s.push("/")),s.push(">")),s.push(d),!l&&(!i||!d8(e,r,n))&&s.push(""),s.join("")}function c2e(e,r){const n=[];let o=-1,a;if(r){for(a in r)if(r[a]!==null&&r[a]!==void 0){const i=u2e(e,a,r[a]);i&&n.push(i)}}for(;++oA3(n,e.alternative)&&(l=e.alternative),s=l+Zh(n,Object.assign({},e.settings.characterReferences,{subset:(l==="'"?N3.single:N3.double)[a][i],attribute:!0}))+l),c+(s&&"="+s))}const d2e=["<","&"];function GL(e,r,n,o){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Zh(e.value,Object.assign({},o.settings.characterReferences,{subset:d2e}))}function p2e(e,r,n,o){return o.settings.allowDangerousHtml?e.value:GL(e,r,n,o)}function h2e(e,r,n,o){return o.all(e)}const f2e=W_("type",{invalid:m2e,unknown:g2e,handlers:{comment:Bwe,doctype:jwe,element:s2e,raw:p2e,root:h2e,text:GL}});function m2e(e){throw new Error("Expected node, not `"+e+"`")}function g2e(e){const r=e;throw new Error("Cannot compile unknown node `"+r.type+"`")}const y2e={},b2e={},v2e=[];function x2e(e,r){const n=r||y2e,o=n.quote||'"',a=o==='"'?"'":'"';if(o!=='"'&&o!=="'")throw new Error("Invalid quote `"+o+"`, expected `'` or `\"`");return{one:w2e,all:k2e,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Iz,characterReferences:n.characterReferences||b2e,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?M1:f3,quote:o,alternative:a}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function w2e(e,r,n){return f2e(e,r,n,this)}function k2e(e){const r=[],n=e&&e.children||v2e;let o=-1;for(;++o-1&&e.test(String.fromCharCode(n))}}function T2e(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function R2e(e,r,n){const a=C3((n||{}).ignore||[]),i=A2e(r);let l=-1;for(;++l0?{type:"text",value:A}:void 0),A===!1?f.lastIndex=T+1:(b!==T&&C.push({type:"text",value:u.value.slice(b,T)}),Array.isArray(A)?C.push(...A):A&&C.push(A),b=T+_[0].length,k=!0),!f.global)break;_=f.exec(u.value)}return k?(b?\]}]+$/.exec(e);if(!r)return[e,void 0];e=e.slice(0,r.index);let n=r[0],o=n.indexOf(")");const a=A3(e,"(");let i=A3(e,")");for(;o!==-1&&a>i;)e+=n.slice(0,o+1),n=n.slice(o+1),o=n.indexOf(")"),i++;return[e,n]}function XL(e,r){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Ld(n)||P3(n))&&(!r||n!==47)}function Vi(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}KL.peek=Q2e;function U2e(){this.buffer()}function V2e(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Y2e(){this.buffer()}function W2e(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function G2e(e){const r=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Vi(this.sliceSerialize(e)).toLowerCase(),n.label=r}function X2e(e){this.exit(e)}function K2e(e){const r=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Vi(this.sliceSerialize(e)).toLowerCase(),n.label=r}function Z2e(e){this.exit(e)}function Q2e(){return"["}function KL(e,r,n,o){const a=n.createTracker(o);let i=a.move("[^");const l=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{after:"]",before:i})),s(),l(),i+=a.move("]"),i}function J2e(){return{enter:{gfmFootnoteCallString:U2e,gfmFootnoteCall:V2e,gfmFootnoteDefinitionLabelString:Y2e,gfmFootnoteDefinition:W2e},exit:{gfmFootnoteCallString:G2e,gfmFootnoteCall:X2e,gfmFootnoteDefinitionLabelString:K2e,gfmFootnoteDefinition:Z2e}}}function e4e(e){let r=!1;return e&&e.firstLineBlank&&(r=!0),{handlers:{footnoteDefinition:n,footnoteReference:KL},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(o,a,i,l){const s=i.createTracker(l);let c=s.move("[^");const u=i.enter("footnoteDefinition"),d=i.enter("label");return c+=s.move(i.safe(i.associationId(o),{before:c,after:"]"})),d(),c+=s.move("]:"),o.children&&o.children.length>0&&(s.shift(4),c+=s.move((r?` +`:" ")+i.indentLines(i.containerFlow(o,s.current()),r?ZL:t4e))),u(),c}}function t4e(e,r,n){return r===0?e:ZL(e,r,n)}function ZL(e,r,n){return(n?"":" ")+e}const r4e=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];QL.peek=l4e;function n4e(){return{canContainEols:["delete"],enter:{strikethrough:a4e},exit:{strikethrough:i4e}}}function o4e(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:r4e}],handlers:{delete:QL}}}function a4e(e){this.enter({type:"delete",children:[]},e)}function i4e(e){this.exit(e)}function QL(e,r,n,o){const a=n.createTracker(o),i=n.enter("strikethrough");let l=a.move("~~");return l+=n.containerPhrasing(e,{...a.current(),before:l,after:"~"}),l+=a.move("~~"),i(),l}function l4e(){return"~"}function s4e(e){return e.length}function c4e(e,r){const n=r||{},o=(n.align||[]).concat(),a=n.stringLength||s4e,i=[],l=[],s=[],c=[];let u=0,d=-1;for(;++du&&(u=e[d].length);++kc[k])&&(c[k]=_)}x.push(C)}l[d]=x,s[d]=w}let p=-1;if(typeof o=="object"&&"length"in o)for(;++pc[p]&&(c[p]=C),g[p]=C),f[p]=_}l.splice(1,0,f),s.splice(1,0,g),d=-1;const b=[];for(;++d "),i.shift(2);const l=n.indentLines(n.containerFlow(e,i.current()),p4e);return a(),l}function p4e(e,r,n){return">"+(n?"":" ")+e}function h4e(e,r){return eB(e,r.inConstruct,!0)&&!eB(e,r.notInConstruct,!1)}function eB(e,r,n){if(typeof r=="string"&&(r=[r]),!r||r.length===0)return n;let o=-1;for(;++ol&&(l=i):i=1,a=o+r.length,o=n.indexOf(r,a);return l}function m4e(e,r){return!!(r.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function g4e(e){const r=e.options.fence||"`";if(r!=="`"&&r!=="~")throw new Error("Cannot serialize code with `"+r+"` for `options.fence`, expected `` ` `` or `~`");return r}function y4e(e,r,n,o){const a=g4e(n),i=e.value||"",l=a==="`"?"GraveAccent":"Tilde";if(m4e(e,n)){const p=n.enter("codeIndented"),f=n.indentLines(i,b4e);return p(),f}const s=n.createTracker(o),c=a.repeat(Math.max(f4e(i,a)+1,3)),u=n.enter("codeFenced");let d=s.move(c);if(e.lang){const p=n.enter(`codeFencedLang${l}`);d+=s.move(n.safe(e.lang,{before:d,after:" ",encode:["`"],...s.current()})),p()}if(e.lang&&e.meta){const p=n.enter(`codeFencedMeta${l}`);d+=s.move(" "),d+=s.move(n.safe(e.meta,{before:d,after:` `,encode:["`"],...s.current()})),p()}return d+=s.move(` `),i&&(d+=s.move(i+` -`)),d+=s.move(c),u(),d}function W2e(e,r,n){return(n?"":" ")+e}function u8(e){const r=e.options.quote||'"';if(r!=='"'&&r!=="'")throw new Error("Cannot serialize title with `"+r+"` for `options.quote`, expected `\"`, or `'`");return r}function G2e(e,r,n,o){const a=u8(n),i=a==='"'?"Quote":"Apostrophe",l=n.enter("definition");let s=n.enter("label");const c=n.createTracker(o);let u=c.move("[");return u+=c.move(n.safe(n.associationId(e),{before:u,after:"]",...c.current()})),u+=c.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),u+=c.move("<"),u+=c.move(n.safe(e.url,{before:u,after:">",...c.current()})),u+=c.move(">")):(s=n.enter("destinationRaw"),u+=c.move(n.safe(e.url,{before:u,after:e.title?" ":` -`,...c.current()}))),s(),e.title&&(s=n.enter(`title${i}`),u+=c.move(" "+a),u+=c.move(n.safe(e.title,{before:u,after:a,...c.current()})),u+=c.move(a),s()),l(),u}function X2e(e){const r=e.options.emphasis||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize emphasis with `"+r+"` for `options.emphasis`, expected `*`, or `_`");return r}function z1(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Uh(e){if(e===null||xr(e)||Td(e))return 1;if(A3(e))return 2}function N3(e,r,n){const o=Uh(e),a=Uh(r);return o===void 0?a===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:o===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Wz.peek=K2e;function Wz(e,r,n,o){const a=X2e(n),i=n.enter("emphasis"),l=n.createTracker(o),s=l.move(a);let c=l.move(n.containerPhrasing(e,{after:a,before:s,...l.current()}));const u=c.charCodeAt(0),d=N3(o.before.charCodeAt(o.before.length-1),u,a);d.inside&&(c=z1(u)+c.slice(1));const p=c.charCodeAt(c.length-1),f=N3(o.after.charCodeAt(0),p,a);f.inside&&(c=c.slice(0,-1)+z1(p));const g=l.move(a);return i(),n.attentionEncodeSurroundingInfo={after:f.outside,before:d.outside},s+c+g}function K2e(e,r,n){return n.options.emphasis||"*"}const Z2e={};function D3(e,r){const n=r||Z2e,o=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Gz(e,o,a)}function Gz(e,r,n){if(Q2e(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(r&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Xz(e.children,r,n)}return Array.isArray(e)?Xz(e,r,n):""}function Xz(e,r,n){const o=[];let a=-1;for(;++a",...c.current()})),u+=c.move(">")):(s=n.enter("destinationRaw"),u+=c.move(n.safe(e.url,{before:u,after:e.title?" ":` +`,...c.current()}))),s(),e.title&&(s=n.enter(`title${i}`),u+=c.move(" "+a),u+=c.move(n.safe(e.title,{before:u,after:a,...c.current()})),u+=c.move(a),s()),l(),u}function x4e(e){const r=e.options.emphasis||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize emphasis with `"+r+"` for `options.emphasis`, expected `*`, or `_`");return r}function G1(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Qh(e){if(e===null||_r(e)||Ld(e))return 1;if(P3(e))return 2}function $3(e,r,n){const o=Qh(e),a=Qh(r);return o===void 0?a===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:o===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}rB.peek=w4e;function rB(e,r,n,o){const a=x4e(n),i=n.enter("emphasis"),l=n.createTracker(o),s=l.move(a);let c=l.move(n.containerPhrasing(e,{after:a,before:s,...l.current()}));const u=c.charCodeAt(0),d=$3(o.before.charCodeAt(o.before.length-1),u,a);d.inside&&(c=G1(u)+c.slice(1));const p=c.charCodeAt(c.length-1),f=$3(o.after.charCodeAt(0),p,a);f.inside&&(c=c.slice(0,-1)+G1(p));const g=l.move(a);return i(),n.attentionEncodeSurroundingInfo={after:f.outside,before:d.outside},s+c+g}function w4e(e,r,n){return n.options.emphasis||"*"}const k4e={};function M3(e,r){const n=r||k4e,o=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return nB(e,o,a)}function nB(e,r,n){if(_4e(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(r&&"alt"in e&&e.alt)return e.alt;if("children"in e)return oB(e.children,r,n)}return Array.isArray(e)?oB(e,r,n):""}function oB(e,r,n){const o=[];let a=-1;for(;++a",...c.current()})),u+=c.move(">")):(s=n.enter("destinationRaw"),u+=c.move(n.safe(e.url,{before:u,after:e.title?" ":")",...c.current()}))),s(),e.title&&(s=n.enter(`title${i}`),u+=c.move(" "+a),u+=c.move(n.safe(e.title,{before:u,after:a,...c.current()})),u+=c.move(a),s()),u+=c.move(")"),l(),u}function r4e(){return"!"}Qz.peek=n4e;function Qz(e,r,n,o){const a=e.referenceType,i=n.enter("imageReference");let l=n.enter("label");const s=n.createTracker(o);let c=s.move("![");const u=n.safe(e.alt,{before:c,after:"]",...s.current()});c+=s.move(u+"]["),l();const d=n.stack;n.stack=[],l=n.enter("reference");const p=n.safe(n.associationId(e),{before:c,after:"]",...s.current()});return l(),n.stack=d,i(),a==="full"||!u||u!==p?c+=s.move(p+"]"):a==="shortcut"?c=c.slice(0,-1):c+=s.move("]"),c}function n4e(){return"!"}Jz.peek=o4e;function Jz(e,r,n){let o=e.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(o);)a+="`";for(/[^ \r\n]/.test(o)&&(/^[ \r\n]/.test(o)&&/[ \r\n]$/.test(o)||/^`|`$/.test(o))&&(o=" "+o+" ");++i\u007F]/.test(e.url))}tB.peek=a4e;function tB(e,r,n,o){const a=u8(n),i=a==='"'?"Quote":"Apostrophe",l=n.createTracker(o);let s,c;if(eB(e,n)){const d=n.stack;n.stack=[],s=n.enter("autolink");let p=l.move("<");return p+=l.move(n.containerPhrasing(e,{before:p,after:">",...l.current()})),p+=l.move(">"),s(),n.stack=d,p}s=n.enter("link"),c=n.enter("label");let u=l.move("[");return u+=l.move(n.containerPhrasing(e,{before:u,after:"](",...l.current()})),u+=l.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(n.safe(e.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(c=n.enter("destinationRaw"),u+=l.move(n.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))),c(),e.title&&(c=n.enter(`title${i}`),u+=l.move(" "+a),u+=l.move(n.safe(e.title,{before:u,after:a,...l.current()})),u+=l.move(a),c()),u+=l.move(")"),s(),u}function a4e(e,r,n){return eB(e,n)?"<":"["}rB.peek=i4e;function rB(e,r,n,o){const a=e.referenceType,i=n.enter("linkReference");let l=n.enter("label");const s=n.createTracker(o);let c=s.move("[");const u=n.containerPhrasing(e,{before:c,after:"]",...s.current()});c+=s.move(u+"]["),l();const d=n.stack;n.stack=[],l=n.enter("reference");const p=n.safe(n.associationId(e),{before:c,after:"]",...s.current()});return l(),n.stack=d,i(),a==="full"||!u||u!==p?c+=s.move(p+"]"):a==="shortcut"?c=c.slice(0,-1):c+=s.move("]"),c}function i4e(){return"["}function d8(e){const r=e.options.bullet||"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bullet`, expected `*`, `+`, or `-`");return r}function l4e(e){const r=d8(e),n=e.options.bulletOther;if(!n)return r==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===r)throw new Error("Expected `bullet` (`"+r+"`) and `bulletOther` (`"+n+"`) to be different");return n}function s4e(e){const r=e.options.bulletOrdered||".";if(r!=="."&&r!==")")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOrdered`, expected `.` or `)`");return r}function nB(e){const r=e.options.rule||"*";if(r!=="*"&&r!=="-"&&r!=="_")throw new Error("Cannot serialize rules with `"+r+"` for `options.rule`, expected `*`, `-`, or `_`");return r}function c4e(e,r,n,o){const a=n.enter("list"),i=n.bulletCurrent;let l=e.ordered?s4e(n):d8(n);const s=e.ordered?l==="."?")":".":l4e(n);let c=r&&n.bulletLastUsed?l===n.bulletLastUsed:!1;if(!e.ordered){const d=e.children?e.children[0]:void 0;if((l==="*"||l==="-")&&d&&(!d.children||!d.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),nB(n)===l&&d){let p=-1;for(;++p-1?r.start:1)+(n.options.incrementListMarker===!1?0:r.children.indexOf(e))+i);let l=i.length+1;(a==="tab"||a==="mixed"&&(r&&r.type==="list"&&r.spread||e.spread))&&(l=Math.ceil(l/4)*4);const s=n.createTracker(o);s.move(i+" ".repeat(l-i.length)),s.shift(l);const c=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,s.current()),d);return c(),u;function d(p,f,g){return f?(g?"":" ".repeat(l))+p:(g?i:i+" ".repeat(l-i.length))+p}}function p4e(e,r,n,o){const a=n.enter("paragraph"),i=n.enter("phrasing"),l=n.containerPhrasing(e,o);return i(),a(),l}const h4e=_3(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function f4e(e,r,n,o){return(e.children.some(function(l){return h4e(l)})?n.containerPhrasing:n.containerFlow).call(n,e,o)}function m4e(e){const r=e.options.strong||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize strong with `"+r+"` for `options.strong`, expected `*`, or `_`");return r}oB.peek=g4e;function oB(e,r,n,o){const a=m4e(n),i=n.enter("strong"),l=n.createTracker(o),s=l.move(a+a);let c=l.move(n.containerPhrasing(e,{after:a,before:s,...l.current()}));const u=c.charCodeAt(0),d=N3(o.before.charCodeAt(o.before.length-1),u,a);d.inside&&(c=z1(u)+c.slice(1));const p=c.charCodeAt(c.length-1),f=N3(o.after.charCodeAt(0),p,a);f.inside&&(c=c.slice(0,-1)+z1(p));const g=l.move(a+a);return i(),n.attentionEncodeSurroundingInfo={after:f.outside,before:d.outside},s+c+g}function g4e(e,r,n){return n.options.strong||"*"}function y4e(e,r,n,o){return n.safe(e.value,o)}function b4e(e){const r=e.options.ruleRepetition||3;if(r<3)throw new Error("Cannot serialize rules with repetition `"+r+"` for `options.ruleRepetition`, expected `3` or more");return r}function v4e(e,r,n){const o=(nB(n)+(n.options.ruleSpaces?" ":"")).repeat(b4e(n));return n.options.ruleSpaces?o.slice(0,-1):o}const aB={blockquote:j2e,break:Yz,code:Y2e,definition:G2e,emphasis:Wz,hardBreak:Yz,heading:e4e,html:Kz,image:Zz,imageReference:Qz,inlineCode:Jz,link:tB,linkReference:rB,list:c4e,listItem:d4e,paragraph:p4e,root:f4e,strong:oB,text:y4e,thematicBreak:v4e},iB={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` -`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},x4e={}.hasOwnProperty;function p8(e){return x4e.call(iB,e)?iB[e]:!1}function lB(e,r){const n=Number.parseInt(e,r);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}const w4e=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function k4e(e){return e.replace(w4e,_4e)}function _4e(e,r,n){if(r)return r;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),i=a===120||a===88;return lB(n.slice(i?2:1),i?16:10)}return p8(n)||e}function E4e(){return{enter:{table:S4e,tableData:sB,tableHeader:sB,tableRow:T4e},exit:{codeText:R4e,table:C4e,tableData:h8,tableHeader:h8,tableRow:h8}}}function S4e(e){const r=e._align;this.enter({type:"table",align:r.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function C4e(e){this.exit(e),this.data.inTable=void 0}function T4e(e){this.enter({type:"tableRow",children:[]},e)}function h8(e){this.exit(e)}function sB(e){this.enter({type:"tableCell",children:[]},e)}function R4e(e){let r=this.resume();this.data.inTable&&(r=r.replace(/\\([\\|])/g,A4e));const n=this.stack[this.stack.length-1];n.type,n.value=r,this.exit(e)}function A4e(e,r){return r==="|"?r:e}function N4e(e){const r=e||{},n=r.tableCellPadding,o=r.tablePipeAlign,a=r.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` +`,...i.current()});return/^[\t ]/.test(u)&&(u=G1(u.charCodeAt(0))+u.slice(1)),u=u?l+" "+u:l,n.options.closeAtx&&(u+=" "+l),c(),s(),u}aB.peek=C4e;function aB(e){return e.value||""}function C4e(){return"<"}iB.peek=T4e;function iB(e,r,n,o){const a=y8(n),i=a==='"'?"Quote":"Apostrophe",l=n.enter("image");let s=n.enter("label");const c=n.createTracker(o);let u=c.move("![");return u+=c.move(n.safe(e.alt,{before:u,after:"]",...c.current()})),u+=c.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),u+=c.move("<"),u+=c.move(n.safe(e.url,{before:u,after:">",...c.current()})),u+=c.move(">")):(s=n.enter("destinationRaw"),u+=c.move(n.safe(e.url,{before:u,after:e.title?" ":")",...c.current()}))),s(),e.title&&(s=n.enter(`title${i}`),u+=c.move(" "+a),u+=c.move(n.safe(e.title,{before:u,after:a,...c.current()})),u+=c.move(a),s()),u+=c.move(")"),l(),u}function T4e(){return"!"}lB.peek=R4e;function lB(e,r,n,o){const a=e.referenceType,i=n.enter("imageReference");let l=n.enter("label");const s=n.createTracker(o);let c=s.move("![");const u=n.safe(e.alt,{before:c,after:"]",...s.current()});c+=s.move(u+"]["),l();const d=n.stack;n.stack=[],l=n.enter("reference");const p=n.safe(n.associationId(e),{before:c,after:"]",...s.current()});return l(),n.stack=d,i(),a==="full"||!u||u!==p?c+=s.move(p+"]"):a==="shortcut"?c=c.slice(0,-1):c+=s.move("]"),c}function R4e(){return"!"}sB.peek=A4e;function sB(e,r,n){let o=e.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(o);)a+="`";for(/[^ \r\n]/.test(o)&&(/^[ \r\n]/.test(o)&&/[ \r\n]$/.test(o)||/^`|`$/.test(o))&&(o=" "+o+" ");++i\u007F]/.test(e.url))}uB.peek=N4e;function uB(e,r,n,o){const a=y8(n),i=a==='"'?"Quote":"Apostrophe",l=n.createTracker(o);let s,c;if(cB(e,n)){const d=n.stack;n.stack=[],s=n.enter("autolink");let p=l.move("<");return p+=l.move(n.containerPhrasing(e,{before:p,after:">",...l.current()})),p+=l.move(">"),s(),n.stack=d,p}s=n.enter("link"),c=n.enter("label");let u=l.move("[");return u+=l.move(n.containerPhrasing(e,{before:u,after:"](",...l.current()})),u+=l.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(n.safe(e.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(c=n.enter("destinationRaw"),u+=l.move(n.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))),c(),e.title&&(c=n.enter(`title${i}`),u+=l.move(" "+a),u+=l.move(n.safe(e.title,{before:u,after:a,...l.current()})),u+=l.move(a),c()),u+=l.move(")"),s(),u}function N4e(e,r,n){return cB(e,n)?"<":"["}dB.peek=D4e;function dB(e,r,n,o){const a=e.referenceType,i=n.enter("linkReference");let l=n.enter("label");const s=n.createTracker(o);let c=s.move("[");const u=n.containerPhrasing(e,{before:c,after:"]",...s.current()});c+=s.move(u+"]["),l();const d=n.stack;n.stack=[],l=n.enter("reference");const p=n.safe(n.associationId(e),{before:c,after:"]",...s.current()});return l(),n.stack=d,i(),a==="full"||!u||u!==p?c+=s.move(p+"]"):a==="shortcut"?c=c.slice(0,-1):c+=s.move("]"),c}function D4e(){return"["}function b8(e){const r=e.options.bullet||"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bullet`, expected `*`, `+`, or `-`");return r}function P4e(e){const r=b8(e),n=e.options.bulletOther;if(!n)return r==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===r)throw new Error("Expected `bullet` (`"+r+"`) and `bulletOther` (`"+n+"`) to be different");return n}function $4e(e){const r=e.options.bulletOrdered||".";if(r!=="."&&r!==")")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOrdered`, expected `.` or `)`");return r}function pB(e){const r=e.options.rule||"*";if(r!=="*"&&r!=="-"&&r!=="_")throw new Error("Cannot serialize rules with `"+r+"` for `options.rule`, expected `*`, `-`, or `_`");return r}function M4e(e,r,n,o){const a=n.enter("list"),i=n.bulletCurrent;let l=e.ordered?$4e(n):b8(n);const s=e.ordered?l==="."?")":".":P4e(n);let c=r&&n.bulletLastUsed?l===n.bulletLastUsed:!1;if(!e.ordered){const d=e.children?e.children[0]:void 0;if((l==="*"||l==="-")&&d&&(!d.children||!d.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),pB(n)===l&&d){let p=-1;for(;++p-1?r.start:1)+(n.options.incrementListMarker===!1?0:r.children.indexOf(e))+i);let l=i.length+1;(a==="tab"||a==="mixed"&&(r&&r.type==="list"&&r.spread||e.spread))&&(l=Math.ceil(l/4)*4);const s=n.createTracker(o);s.move(i+" ".repeat(l-i.length)),s.shift(l);const c=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,s.current()),d);return c(),u;function d(p,f,g){return f?(g?"":" ".repeat(l))+p:(g?i:i+" ".repeat(l-i.length))+p}}function z4e(e,r,n,o){const a=n.enter("paragraph"),i=n.enter("phrasing"),l=n.containerPhrasing(e,o);return i(),a(),l}const L4e=C3(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function B4e(e,r,n,o){return(e.children.some(function(l){return L4e(l)})?n.containerPhrasing:n.containerFlow).call(n,e,o)}function j4e(e){const r=e.options.strong||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize strong with `"+r+"` for `options.strong`, expected `*`, or `_`");return r}hB.peek=F4e;function hB(e,r,n,o){const a=j4e(n),i=n.enter("strong"),l=n.createTracker(o),s=l.move(a+a);let c=l.move(n.containerPhrasing(e,{after:a,before:s,...l.current()}));const u=c.charCodeAt(0),d=$3(o.before.charCodeAt(o.before.length-1),u,a);d.inside&&(c=G1(u)+c.slice(1));const p=c.charCodeAt(c.length-1),f=$3(o.after.charCodeAt(0),p,a);f.inside&&(c=c.slice(0,-1)+G1(p));const g=l.move(a+a);return i(),n.attentionEncodeSurroundingInfo={after:f.outside,before:d.outside},s+c+g}function F4e(e,r,n){return n.options.strong||"*"}function H4e(e,r,n,o){return n.safe(e.value,o)}function q4e(e){const r=e.options.ruleRepetition||3;if(r<3)throw new Error("Cannot serialize rules with repetition `"+r+"` for `options.ruleRepetition`, expected `3` or more");return r}function U4e(e,r,n){const o=(pB(n)+(n.options.ruleSpaces?" ":"")).repeat(q4e(n));return n.options.ruleSpaces?o.slice(0,-1):o}const fB={blockquote:d4e,break:tB,code:y4e,definition:v4e,emphasis:rB,hardBreak:tB,heading:S4e,html:aB,image:iB,imageReference:lB,inlineCode:sB,link:uB,linkReference:dB,list:M4e,listItem:I4e,paragraph:z4e,root:B4e,strong:hB,text:H4e,thematicBreak:U4e},mB={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` +`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},V4e={}.hasOwnProperty;function v8(e){return V4e.call(mB,e)?mB[e]:!1}function gB(e,r){const n=Number.parseInt(e,r);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}const Y4e=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function W4e(e){return e.replace(Y4e,G4e)}function G4e(e,r,n){if(r)return r;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),i=a===120||a===88;return gB(n.slice(i?2:1),i?16:10)}return v8(n)||e}function X4e(){return{enter:{table:K4e,tableData:yB,tableHeader:yB,tableRow:Q4e},exit:{codeText:J4e,table:Z4e,tableData:x8,tableHeader:x8,tableRow:x8}}}function K4e(e){const r=e._align;this.enter({type:"table",align:r.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function Z4e(e){this.exit(e),this.data.inTable=void 0}function Q4e(e){this.enter({type:"tableRow",children:[]},e)}function x8(e){this.exit(e)}function yB(e){this.enter({type:"tableCell",children:[]},e)}function J4e(e){let r=this.resume();this.data.inTable&&(r=r.replace(/\\([\\|])/g,e5e));const n=this.stack[this.stack.length-1];n.type,n.value=r,this.exit(e)}function e5e(e,r){return r==="|"?r:e}function t5e(e){const r=e||{},n=r.tableCellPadding,o=r.tablePipeAlign,a=r.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:f,table:l,tableCell:c,tableRow:s}};function l(g,b,x,w){return u(d(g,x,w),g.align)}function s(g,b,x,w){const k=p(g,x,w),C=u([k]);return C.slice(0,C.indexOf(` -`))}function c(g,b,x,w){const k=x.enter("tableCell"),C=x.enter("phrasing"),_=x.containerPhrasing(g,{...w,before:i,after:i});return C(),k(),_}function u(g,b){return z2e(g,{align:b,alignDelimiters:o,padding:n,stringLength:a})}function d(g,b,x){const w=g.children;let k=-1;const C=[],_=b.enter("table");for(;++ka?0:a+r:r=r>a?a:r,n=n>0?n:0,o.length<1e4)l=Array.from(o),l.unshift(r,n),e.splice(...l);else for(n&&e.splice(r,n);i0?(wa(e,e.length,0,r),e):r}const uB={}.hasOwnProperty;function dB(e){const r={};let n=-1;for(;++n0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function Vh(e){const r=[];let n=-1,o=0,a=0;for(;++n55295&&i<57344){const s=e.charCodeAt(n+1);i<56320&&s>56319&&s<57344?(l=String.fromCharCode(i,s),a=1):l="�"}else l=String.fromCharCode(i);l&&(r.push(e.slice(o,n),encodeURIComponent(l)),o=n+a+1,l=""),a&&(n+=a,a=0)}return r.join("")+e.slice(o)}function P3(e,r,n){const o=[];let a=-1;for(;++a1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const p={...e[o][1].end},f={...e[n][1].start};xB(p,-c),xB(f,c),l={type:c>1?"strongSequence":"emphasisSequence",start:p,end:{...e[o][1].end}},s={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:f},i={type:c>1?"strongText":"emphasisText",start:{...e[o][1].end},end:{...e[n][1].start}},a={type:c>1?"strong":"emphasis",start:{...l.start},end:{...s.end}},e[o][1].end={...l.start},e[n][1].start={...s.end},u=[],e[o][1].end.offset-e[o][1].start.offset&&(u=ei(u,[["enter",e[o][1],r],["exit",e[o][1],r]])),u=ei(u,[["enter",a,r],["enter",l,r],["exit",l,r],["enter",i,r]]),u=ei(u,P3(r.parser.constructs.insideSpan.null,e.slice(o+1,n),r)),u=ei(u,[["exit",i,r],["enter",s,r],["exit",s,r],["exit",a,r]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,u=ei(u,[["enter",e[n][1],r],["exit",e[n][1],r]])):d=0,wa(e,o-1,n-o+3,u),n=o+u.length-d-2;break}}for(n=-1;++n0&&Yt(A)?Qt(e,C,"linePrefix",i+1)(A):C(A)}function C(A){return A===null||pt(A)?e.check(EB,x,T)(A):(e.enter("codeFlowValue"),_(A))}function _(A){return A===null||pt(A)?(e.exit("codeFlowValue"),C(A)):(e.consume(A),_)}function T(A){return e.exit("codeFenced"),r(A)}function R(A,D,N){let $=0;return M;function M(U){return A.enter("lineEnding"),A.consume(U),A.exit("lineEnding"),j}function j(U){return A.enter("codeFencedFence"),Yt(U)?Qt(A,L,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(U):L(U)}function L(U){return U===s?(A.enter("codeFencedFenceSequence"),Y(U)):N(U)}function Y(U){return U===s?($++,A.consume(U),Y):$>=l?(A.exit("codeFencedFenceSequence"),Yt(U)?Qt(A,O,"whitespace")(U):O(U)):N(U)}function O(U){return U===null||pt(U)?(A.exit("codeFencedFence"),D(U)):N(U)}}}function l5e(e,r,n){const o=this;return a;function a(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i)}function i(l){return o.parser.lazy[o.now().line]?n(l):r(l)}}const y8={name:"codeIndented",tokenize:c5e},s5e={partial:!0,tokenize:u5e};function c5e(e,r,n){const o=this;return a;function a(u){return e.enter("codeIndented"),Qt(e,i,"linePrefix",5)(u)}function i(u){const d=o.events[o.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?l(u):n(u)}function l(u){return u===null?c(u):pt(u)?e.attempt(s5e,l,c)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||pt(u)?(e.exit("codeFlowValue"),l(u)):(e.consume(u),s)}function c(u){return e.exit("codeIndented"),r(u)}}function u5e(e,r,n){const o=this;return a;function a(l){return o.parser.lazy[o.now().line]?n(l):pt(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):Qt(e,i,"linePrefix",5)(l)}function i(l){const s=o.events[o.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?r(l):pt(l)?a(l):n(l)}}const d5e={name:"codeText",previous:h5e,resolve:p5e,tokenize:f5e};function p5e(e){let r=e.length-4,n=3,o,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[r][1].type==="lineEnding"||e[r][1].type==="space")){for(o=n;++o=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+r+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return rthis.left.length?this.right.slice(this.right.length-o+this.left.length,this.right.length-r+this.left.length).reverse():this.left.slice(r).concat(this.right.slice(this.right.length-o+this.left.length).reverse())}splice(r,n,o){const a=n||0;this.setCursor(Math.trunc(r));const i=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return o&&j1(this.left,o),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(r){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(r)}pushMany(r){this.setCursor(Number.POSITIVE_INFINITY),j1(this.left,r)}unshift(r){this.setCursor(0),this.right.push(r)}unshiftMany(r){this.setCursor(0),j1(this.right,r.reverse())}setCursor(r){if(!(r===this.left.length||r>this.left.length&&this.right.length===0||r<0&&this.left.length===0))if(r=4?r(l):e.interrupt(o.parser.constructs.flow,n,r)(l)}}function TB(e,r,n,o,a,i,l,s,c){const u=c||Number.POSITIVE_INFINITY;let d=0;return p;function p(k){return k===60?(e.enter(o),e.enter(a),e.enter(i),e.consume(k),e.exit(i),f):k===null||k===32||k===41||R3(k)?n(k):(e.enter(o),e.enter(l),e.enter(s),e.enter("chunkString",{contentType:"string"}),x(k))}function f(k){return k===62?(e.enter(i),e.consume(k),e.exit(i),e.exit(a),e.exit(o),r):(e.enter(s),e.enter("chunkString",{contentType:"string"}),g(k))}function g(k){return k===62?(e.exit("chunkString"),e.exit(s),f(k)):k===null||k===60||pt(k)?n(k):(e.consume(k),k===92?b:g)}function b(k){return k===60||k===62||k===92?(e.consume(k),g):g(k)}function x(k){return!d&&(k===null||k===41||xr(k))?(e.exit("chunkString"),e.exit(s),e.exit(l),e.exit(o),r(k)):d999||g===null||g===91||g===93&&!c||g===94&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?n(g):g===93?(e.exit(i),e.enter(a),e.consume(g),e.exit(a),e.exit(o),r):pt(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),p(g))}function p(g){return g===null||g===91||g===93||pt(g)||s++>999?(e.exit("chunkString"),d(g)):(e.consume(g),c||(c=!Yt(g)),g===92?f:p)}function f(g){return g===91||g===92||g===93?(e.consume(g),s++,p):p(g)}}function AB(e,r,n,o,a,i){let l;return s;function s(f){return f===34||f===39||f===40?(e.enter(o),e.enter(a),e.consume(f),e.exit(a),l=f===40?41:f,c):n(f)}function c(f){return f===l?(e.enter(a),e.consume(f),e.exit(a),e.exit(o),r):(e.enter(i),u(f))}function u(f){return f===l?(e.exit(i),c(l)):f===null?n(f):pt(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),Qt(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(f))}function d(f){return f===l||f===null||pt(f)?(e.exit("chunkString"),u(f)):(e.consume(f),f===92?p:d)}function p(f){return f===l||f===92?(e.consume(f),d):d(f)}}function F1(e,r){let n;return o;function o(a){return pt(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,o):Yt(a)?Qt(e,o,n?"linePrefix":"lineSuffix")(a):r(a)}}const k5e={name:"definition",tokenize:E5e},_5e={partial:!0,tokenize:S5e};function E5e(e,r,n){const o=this;let a;return i;function i(g){return e.enter("definition"),l(g)}function l(g){return RB.call(o,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(g)}function s(g){return a=qi(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),c):n(g)}function c(g){return xr(g)?F1(e,u)(g):u(g)}function u(g){return TB(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(g)}function d(g){return e.attempt(_5e,p,p)(g)}function p(g){return Yt(g)?Qt(e,f,"whitespace")(g):f(g)}function f(g){return g===null||pt(g)?(e.exit("definition"),o.parser.defined.push(a),r(g)):n(g)}}function S5e(e,r,n){return o;function o(s){return xr(s)?F1(e,a)(s):n(s)}function a(s){return AB(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function i(s){return Yt(s)?Qt(e,l,"whitespace")(s):l(s)}function l(s){return s===null||pt(s)?r(s):n(s)}}const C5e={name:"hardBreakEscape",tokenize:T5e};function T5e(e,r,n){return o;function o(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return pt(i)?(e.exit("hardBreakEscape"),r(i)):n(i)}}const R5e={name:"headingAtx",resolve:A5e,tokenize:N5e};function A5e(e,r){let n=e.length-2,o=3,a,i;return e[o][1].type==="whitespace"&&(o+=2),n-2>o&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(o===n-1||n-4>o&&e[n-2][1].type==="whitespace")&&(n-=o+1===n?2:4),n>o&&(a={type:"atxHeadingText",start:e[o][1].start,end:e[n][1].end},i={type:"chunkText",start:e[o][1].start,end:e[n][1].end,contentType:"text"},wa(e,o,n-o+1,[["enter",a,r],["enter",i,r],["exit",i,r],["exit",a,r]])),e}function N5e(e,r,n){let o=0;return a;function a(d){return e.enter("atxHeading"),i(d)}function i(d){return e.enter("atxHeadingSequence"),l(d)}function l(d){return d===35&&o++<6?(e.consume(d),l):d===null||xr(d)?(e.exit("atxHeadingSequence"),s(d)):n(d)}function s(d){return d===35?(e.enter("atxHeadingSequence"),c(d)):d===null||pt(d)?(e.exit("atxHeading"),r(d)):Yt(d)?Qt(e,s,"whitespace")(d):(e.enter("atxHeadingText"),u(d))}function c(d){return d===35?(e.consume(d),c):(e.exit("atxHeadingSequence"),s(d))}function u(d){return d===null||d===35||xr(d)?(e.exit("atxHeadingText"),s(d)):(e.consume(d),u)}}const D5e=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],NB=["pre","script","style","textarea"],P5e={concrete:!0,name:"htmlFlow",resolveTo:O5e,tokenize:I5e},$5e={partial:!0,tokenize:z5e},M5e={partial:!0,tokenize:L5e};function O5e(e){let r=e.length;for(;r--&&!(e[r][0]==="enter"&&e[r][1].type==="htmlFlow"););return r>1&&e[r-2][1].type==="linePrefix"&&(e[r][1].start=e[r-2][1].start,e[r+1][1].start=e[r-2][1].start,e.splice(r-2,2)),e}function I5e(e,r,n){const o=this;let a,i,l,s,c;return u;function u(z){return d(z)}function d(z){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(z),p}function p(z){return z===33?(e.consume(z),f):z===47?(e.consume(z),i=!0,x):z===63?(e.consume(z),a=3,o.interrupt?r:F):Fo(z)?(e.consume(z),l=String.fromCharCode(z),w):n(z)}function f(z){return z===45?(e.consume(z),a=2,g):z===91?(e.consume(z),a=5,s=0,b):Fo(z)?(e.consume(z),a=4,o.interrupt?r:F):n(z)}function g(z){return z===45?(e.consume(z),o.interrupt?r:F):n(z)}function b(z){const W="CDATA[";return z===W.charCodeAt(s++)?(e.consume(z),s===W.length?o.interrupt?r:L:b):n(z)}function x(z){return Fo(z)?(e.consume(z),l=String.fromCharCode(z),w):n(z)}function w(z){if(z===null||z===47||z===62||xr(z)){const W=z===47,X=l.toLowerCase();return!W&&!i&&NB.includes(X)?(a=1,o.interrupt?r(z):L(z)):D5e.includes(l.toLowerCase())?(a=6,W?(e.consume(z),k):o.interrupt?r(z):L(z)):(a=7,o.interrupt&&!o.parser.lazy[o.now().line]?n(z):i?C(z):_(z))}return z===45||Co(z)?(e.consume(z),l+=String.fromCharCode(z),w):n(z)}function k(z){return z===62?(e.consume(z),o.interrupt?r:L):n(z)}function C(z){return Yt(z)?(e.consume(z),C):M(z)}function _(z){return z===47?(e.consume(z),M):z===58||z===95||Fo(z)?(e.consume(z),T):Yt(z)?(e.consume(z),_):M(z)}function T(z){return z===45||z===46||z===58||z===95||Co(z)?(e.consume(z),T):R(z)}function R(z){return z===61?(e.consume(z),A):Yt(z)?(e.consume(z),R):_(z)}function A(z){return z===null||z===60||z===61||z===62||z===96?n(z):z===34||z===39?(e.consume(z),c=z,D):Yt(z)?(e.consume(z),A):N(z)}function D(z){return z===c?(e.consume(z),c=null,$):z===null||pt(z)?n(z):(e.consume(z),D)}function N(z){return z===null||z===34||z===39||z===47||z===60||z===61||z===62||z===96||xr(z)?R(z):(e.consume(z),N)}function $(z){return z===47||z===62||Yt(z)?_(z):n(z)}function M(z){return z===62?(e.consume(z),j):n(z)}function j(z){return z===null||pt(z)?L(z):Yt(z)?(e.consume(z),j):n(z)}function L(z){return z===45&&a===2?(e.consume(z),I):z===60&&a===1?(e.consume(z),q):z===62&&a===4?(e.consume(z),J):z===63&&a===3?(e.consume(z),F):z===93&&a===5?(e.consume(z),G):pt(z)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check($5e,Q,Y)(z)):z===null||pt(z)?(e.exit("htmlFlowData"),Y(z)):(e.consume(z),L)}function Y(z){return e.check(M5e,O,Q)(z)}function O(z){return e.enter("lineEnding"),e.consume(z),e.exit("lineEnding"),U}function U(z){return z===null||pt(z)?Y(z):(e.enter("htmlFlowData"),L(z))}function I(z){return z===45?(e.consume(z),F):L(z)}function q(z){return z===47?(e.consume(z),l="",V):L(z)}function V(z){if(z===62){const W=l.toLowerCase();return NB.includes(W)?(e.consume(z),J):L(z)}return Fo(z)&&l.length<8?(e.consume(z),l+=String.fromCharCode(z),V):L(z)}function G(z){return z===93?(e.consume(z),F):L(z)}function F(z){return z===62?(e.consume(z),J):z===45&&a===2?(e.consume(z),F):L(z)}function J(z){return z===null||pt(z)?(e.exit("htmlFlowData"),Q(z)):(e.consume(z),J)}function Q(z){return e.exit("htmlFlow"),r(z)}}function L5e(e,r,n){const o=this;return a;function a(l){return pt(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):n(l)}function i(l){return o.parser.lazy[o.now().line]?n(l):r(l)}}function z5e(e,r,n){return o;function o(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(B1,r,n)}}const B5e={name:"htmlText",tokenize:j5e};function j5e(e,r,n){const o=this;let a,i,l;return s;function s(F){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(F),c}function c(F){return F===33?(e.consume(F),u):F===47?(e.consume(F),R):F===63?(e.consume(F),_):Fo(F)?(e.consume(F),N):n(F)}function u(F){return F===45?(e.consume(F),d):F===91?(e.consume(F),i=0,b):Fo(F)?(e.consume(F),C):n(F)}function d(F){return F===45?(e.consume(F),g):n(F)}function p(F){return F===null?n(F):F===45?(e.consume(F),f):pt(F)?(l=p,q(F)):(e.consume(F),p)}function f(F){return F===45?(e.consume(F),g):p(F)}function g(F){return F===62?I(F):F===45?f(F):p(F)}function b(F){const J="CDATA[";return F===J.charCodeAt(i++)?(e.consume(F),i===J.length?x:b):n(F)}function x(F){return F===null?n(F):F===93?(e.consume(F),w):pt(F)?(l=x,q(F)):(e.consume(F),x)}function w(F){return F===93?(e.consume(F),k):x(F)}function k(F){return F===62?I(F):F===93?(e.consume(F),k):x(F)}function C(F){return F===null||F===62?I(F):pt(F)?(l=C,q(F)):(e.consume(F),C)}function _(F){return F===null?n(F):F===63?(e.consume(F),T):pt(F)?(l=_,q(F)):(e.consume(F),_)}function T(F){return F===62?I(F):_(F)}function R(F){return Fo(F)?(e.consume(F),A):n(F)}function A(F){return F===45||Co(F)?(e.consume(F),A):D(F)}function D(F){return pt(F)?(l=D,q(F)):Yt(F)?(e.consume(F),D):I(F)}function N(F){return F===45||Co(F)?(e.consume(F),N):F===47||F===62||xr(F)?$(F):n(F)}function $(F){return F===47?(e.consume(F),I):F===58||F===95||Fo(F)?(e.consume(F),M):pt(F)?(l=$,q(F)):Yt(F)?(e.consume(F),$):I(F)}function M(F){return F===45||F===46||F===58||F===95||Co(F)?(e.consume(F),M):j(F)}function j(F){return F===61?(e.consume(F),L):pt(F)?(l=j,q(F)):Yt(F)?(e.consume(F),j):$(F)}function L(F){return F===null||F===60||F===61||F===62||F===96?n(F):F===34||F===39?(e.consume(F),a=F,Y):pt(F)?(l=L,q(F)):Yt(F)?(e.consume(F),L):(e.consume(F),O)}function Y(F){return F===a?(e.consume(F),a=void 0,U):F===null?n(F):pt(F)?(l=Y,q(F)):(e.consume(F),Y)}function O(F){return F===null||F===34||F===39||F===60||F===61||F===96?n(F):F===47||F===62||xr(F)?$(F):(e.consume(F),O)}function U(F){return F===47||F===62||xr(F)?$(F):n(F)}function I(F){return F===62?(e.consume(F),e.exit("htmlTextData"),e.exit("htmlText"),r):n(F)}function q(F){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),V}function V(F){return Yt(F)?Qt(e,G,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):G(F)}function G(F){return e.enter("htmlTextData"),l(F)}}const b8={name:"labelEnd",resolveAll:U5e,resolveTo:V5e,tokenize:Y5e},F5e={tokenize:W5e},H5e={tokenize:G5e},q5e={tokenize:X5e};function U5e(e){let r=-1;const n=[];for(;++r=3&&(u===null||pt(u))?(e.exit("thematicBreak"),r(u)):n(u)}function c(u){return u===a?(e.consume(u),o++,c):(e.exit("thematicBreakSequence"),Yt(u)?Qt(e,s,"whitespace")(u):s(u))}}const Ko={continuation:{tokenize:ake},exit:lke,name:"list",tokenize:oke},rke={partial:!0,tokenize:ske},nke={partial:!0,tokenize:ike};function oke(e,r,n){const o=this,a=o.events[o.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,l=0;return s;function s(g){const b=o.containerState.type||(g===42||g===43||g===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!o.containerState.marker||g===o.containerState.marker:i8(g)){if(o.containerState.type||(o.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),g===42||g===45?e.check($3,n,u)(g):u(g);if(!o.interrupt||g===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(g)}return n(g)}function c(g){return i8(g)&&++l<10?(e.consume(g),c):(!o.interrupt||l<2)&&(o.containerState.marker?g===o.containerState.marker:g===41||g===46)?(e.exit("listItemValue"),u(g)):n(g)}function u(g){return e.enter("listItemMarker"),e.consume(g),e.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||g,e.check(B1,o.interrupt?n:d,e.attempt(rke,f,p))}function d(g){return o.containerState.initialBlankLine=!0,i++,f(g)}function p(g){return Yt(g)?(e.enter("listItemPrefixWhitespace"),e.consume(g),e.exit("listItemPrefixWhitespace"),f):n(g)}function f(g){return o.containerState.size=i+o.sliceSerialize(e.exit("listItemPrefix"),!0).length,r(g)}}function ake(e,r,n){const o=this;return o.containerState._closeFlow=void 0,e.check(B1,a,i);function a(s){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,Qt(e,r,"listItemIndent",o.containerState.size+1)(s)}function i(s){return o.containerState.furtherBlankLines||!Yt(s)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,l(s)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,e.attempt(nke,r,l)(s))}function l(s){return o.containerState._closeFlow=!0,o.interrupt=void 0,Qt(e,e.attempt(Ko,r,n),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function ike(e,r,n){const o=this;return Qt(e,a,"listItemIndent",o.containerState.size+1);function a(i){const l=o.events[o.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===o.containerState.size?r(i):n(i)}}function lke(e){e.exit(this.containerState.type)}function ske(e,r,n){const o=this;return Qt(e,a,"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const l=o.events[o.events.length-1];return!Yt(i)&&l&&l[1].type==="listItemPrefixWhitespace"?r(i):n(i)}}const DB={name:"setextUnderline",resolveTo:cke,tokenize:uke};function cke(e,r){let n=e.length,o,a,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){o=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const l={type:"setextHeading",start:{...e[o][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",l,r]),e.splice(i+1,0,["exit",e[o][1],r]),e[o][1].end={...e[i][1].end}):e[o][1]=l,e.push(["exit",l,r]),e}function uke(e,r,n){const o=this;let a;return i;function i(u){let d=o.events.length,p;for(;d--;)if(o.events[d][1].type!=="lineEnding"&&o.events[d][1].type!=="linePrefix"&&o.events[d][1].type!=="content"){p=o.events[d][1].type==="paragraph";break}return!o.parser.lazy[o.now().line]&&(o.interrupt||p)?(e.enter("setextHeadingLine"),a=u,l(u)):n(u)}function l(u){return e.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===a?(e.consume(u),s):(e.exit("setextHeadingLineSequence"),Yt(u)?Qt(e,c,"lineSuffix")(u):c(u))}function c(u){return u===null||pt(u)?(e.exit("setextHeadingLine"),r(u)):n(u)}}const dke={tokenize:vke,partial:!0};function pke(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:gke,continuation:{tokenize:yke},exit:bke}},text:{91:{name:"gfmFootnoteCall",tokenize:mke},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:hke,resolveTo:fke}}}}function hke(e,r,n){const o=this;let a=o.events.length;const i=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let l;for(;a--;){const c=o.events[a][1];if(c.type==="labelImage"){l=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return s;function s(c){if(!l||!l._balanced)return n(c);const u=qi(o.sliceSerialize({start:l.end,end:o.now()}));return u.codePointAt(0)!==94||!i.includes(u.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),r(c))}}function fke(e,r){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",o,r],e[n+3],e[n+4],["enter",a,r],["exit",a,r],["enter",i,r],["enter",l,r],["exit",l,r],["exit",i,r],e[e.length-2],e[e.length-1],["exit",o,r]];return e.splice(n,e.length-n+1,...s),e}function mke(e,r,n){const o=this,a=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let i=0,l;return s;function s(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),c}function c(p){return p!==94?n(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(p){if(i>999||p===93&&!l||p===null||p===91||xr(p))return n(p);if(p===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return a.includes(qi(o.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),r):n(p)}return xr(p)||(l=!0),i++,e.consume(p),p===92?d:u}function d(p){return p===91||p===92||p===93?(e.consume(p),i++,u):u(p)}}function gke(e,r,n){const o=this,a=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let i,l=0,s;return c;function c(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):n(b)}function d(b){if(l>999||b===93&&!s||b===null||b===91||xr(b))return n(b);if(b===93){e.exit("chunkString");const x=e.exit("gfmFootnoteDefinitionLabelString");return i=qi(o.sliceSerialize(x)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return xr(b)||(s=!0),l++,e.consume(b),b===92?p:d}function p(b){return b===91||b===92||b===93?(e.consume(b),l++,d):d(b)}function f(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),a.includes(i)||a.push(i),Qt(e,g,"gfmFootnoteDefinitionWhitespace")):n(b)}function g(b){return r(b)}}function yke(e,r,n){return e.check(B1,r,e.attempt(dke,r,n))}function bke(e){e.exit("gfmFootnoteDefinition")}function vke(e,r,n){const o=this;return Qt(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const l=o.events[o.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?r(i):n(i)}}function xke(e){let n=(e||{}).singleTilde;const o={name:"strikethrough",tokenize:i,resolveAll:a};return n==null&&(n=!0),{text:{126:o},insideSpan:{null:[o]},attentionMarkers:{null:[126]}};function a(l,s){let c=-1;for(;++c1?c(b):(l.consume(b),p++,g);if(p<2&&!n)return c(b);const w=l.exit("strikethroughSequenceTemporary"),k=Uh(b);return w._open=!k||k===2&&!!x,w._close=!x||x===2&&!!k,s(b)}}}class wke{constructor(){this.map=[]}add(r,n,o){kke(this,r,n,o)}consume(r){if(this.map.sort(function(i,l){return i[0]-l[0]}),this.map.length===0)return;let n=this.map.length;const o=[];for(;n>0;)n-=1,o.push(r.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),r.length=this.map[n][0];o.push(r.slice()),r.length=0;let a=o.pop();for(;a;){for(const i of a)r.push(i);a=o.pop()}this.map.length=0}}function kke(e,r,n,o){let a=0;if(!(n===0&&o.length===0)){for(;a-1;){const O=o.events[j][1].type;if(O==="lineEnding"||O==="linePrefix")j--;else break}const L=j>-1?o.events[j][1].type:null,Y=L==="tableHead"||L==="tableRow"?A:c;return Y===A&&o.parser.lazy[o.now().line]?n(M):Y(M)}function c(M){return e.enter("tableHead"),e.enter("tableRow"),u(M)}function u(M){return M===124||(l=!0,i+=1),d(M)}function d(M){return M===null?n(M):pt(M)?i>1?(i=0,o.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),g):n(M):Yt(M)?Qt(e,d,"whitespace")(M):(i+=1,l&&(l=!1,a+=1),M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),l=!0,d):(e.enter("data"),p(M)))}function p(M){return M===null||M===124||xr(M)?(e.exit("data"),d(M)):(e.consume(M),M===92?f:p)}function f(M){return M===92||M===124?(e.consume(M),p):p(M)}function g(M){return o.interrupt=!1,o.parser.lazy[o.now().line]?n(M):(e.enter("tableDelimiterRow"),l=!1,Yt(M)?Qt(e,b,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):b(M))}function b(M){return M===45||M===58?w(M):M===124?(l=!0,e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),x):R(M)}function x(M){return Yt(M)?Qt(e,w,"whitespace")(M):w(M)}function w(M){return M===58?(i+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),k):M===45?(i+=1,k(M)):M===null||pt(M)?T(M):R(M)}function k(M){return M===45?(e.enter("tableDelimiterFiller"),C(M)):R(M)}function C(M){return M===45?(e.consume(M),C):M===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),_):(e.exit("tableDelimiterFiller"),_(M))}function _(M){return Yt(M)?Qt(e,T,"whitespace")(M):T(M)}function T(M){return M===124?b(M):M===null||pt(M)?!l||a!==i?R(M):(e.exit("tableDelimiterRow"),e.exit("tableHead"),r(M)):R(M)}function R(M){return n(M)}function A(M){return e.enter("tableRow"),D(M)}function D(M){return M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),D):M===null||pt(M)?(e.exit("tableRow"),r(M)):Yt(M)?Qt(e,D,"whitespace")(M):(e.enter("data"),N(M))}function N(M){return M===null||M===124||xr(M)?(e.exit("data"),D(M)):(e.consume(M),M===92?$:N)}function $(M){return M===92||M===124?(e.consume(M),N):N(M)}}function Cke(e,r){let n=-1,o=!0,a=0,i=[0,0,0,0],l=[0,0,0,0],s=!1,c=0,u,d,p;const f=new wke;for(;++nn[2]+1){const b=n[2]+1,x=n[3]-n[2]-1;e.add(b,x,[])}}e.add(n[3]+1,0,[["exit",p,r]])}return a!==void 0&&(i.end=Object.assign({},Yh(r.events,a)),e.add(a,0,[["exit",i,r]]),i=void 0),i}function PB(e,r,n,o,a){const i=[],l=Yh(r.events,n);a&&(a.end=Object.assign({},l),i.push(["exit",a,r])),o.end=Object.assign({},l),i.push(["exit",o,r]),e.add(n+1,0,i)}function Yh(e,r){const n=e[r],o=n[0]==="enter"?"start":"end";return n[1][o]}const Tke={name:"tasklistCheck",tokenize:Ake};function Rke(){return{text:{91:Tke}}}function Ake(e,r,n){const o=this;return a;function a(c){return o.previous!==null||!o._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),i)}function i(c){return xr(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),l):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),l):n(c)}function l(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(c)}function s(c){return pt(c)?r(c):Yt(c)?e.check({tokenize:Nke},r,n)(c):n(c)}}function Nke(e,r,n){return Qt(e,o,"whitespace");function o(a){return a===null?n(a):r(a)}}function Dke(e){return dB([F4e(),pke(),xke(e),Eke(),Rke()])}const Pke={};function $ke(e){const r=this,n=e||Pke,o=r.data(),a=o.micromarkExtensions||(o.micromarkExtensions=[]),i=o.fromMarkdownExtensions||(o.fromMarkdownExtensions=[]),l=o.toMarkdownExtensions||(o.toMarkdownExtensions=[]);a.push(Dke(n)),i.push(O4e()),l.push(I4e(n))}const Mke={tokenize:Oke};function Oke(e){const r=e.attempt(this.parser.constructs.contentInitial,o,a);let n;return r;function o(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Qt(e,r,"linePrefix")}function a(s){return e.enter("paragraph"),i(s)}function i(s){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,l(s)}function l(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return pt(s)?(e.consume(s),e.exit("chunkText"),i):(e.consume(s),l)}}const Ike={tokenize:Lke},$B={tokenize:zke};function Lke(e){const r=this,n=[];let o=0,a,i,l;return s;function s(_){if(ol))return;const D=r.events.length;let N=D,$,M;for(;N--;)if(r.events[N][0]==="exit"&&r.events[N][1].type==="chunkFlow"){if($){M=r.events[N][1].end;break}$=!0}for(k(o),A=D;A_;){const R=n[T];r.containerState=R[1],R[0].exit.call(r,e)}n.length=_}function C(){a.write([null]),i=void 0,a=void 0,r.containerState._closeFlow=void 0}}function zke(e,r,n){return Qt(e,e.attempt(this.parser.constructs.document,r,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const Bke={tokenize:jke};function jke(e){const r=this,n=e.attempt(B1,o,e.attempt(this.parser.constructs.flowInitial,a,Qt(e,e.attempt(this.parser.constructs.flow,a,e.attempt(y5e,a)),"linePrefix")));return n;function o(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),r.currentConstruct=void 0,n}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r.currentConstruct=void 0,n}}const Fke={resolveAll:OB()},Hke=MB("string"),qke=MB("text");function MB(e){return{resolveAll:OB(e==="text"?Uke:void 0),tokenize:r};function r(n){const o=this,a=this.parser.constructs[e],i=n.attempt(a,l,s);return l;function l(d){return u(d)?i(d):s(d)}function s(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),c}function c(d){return u(d)?(n.exit("data"),i(d)):(n.consume(d),c)}function u(d){if(d===null)return!0;const p=a[d];let f=-1;if(p)for(;++f-1){const s=l[0];typeof s=="string"?l[0]=s.slice(o):l.shift()}i>0&&l.push(e[a].slice(0,i))}return l}function Gke(e,r){let n=-1;const o=[];let a;for(;++na?0:a+r:r=r>a?a:r,n=n>0?n:0,o.length<1e4)l=Array.from(o),l.unshift(r,n),e.splice(...l);else for(n&&e.splice(r,n);i0?(_a(e,e.length,0,r),e):r}const vB={}.hasOwnProperty;function xB(e){const r={};let n=-1;for(;++n0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function Jh(e){const r=[];let n=-1,o=0,a=0;for(;++n55295&&i<57344){const s=e.charCodeAt(n+1);i<56320&&s>56319&&s<57344?(l=String.fromCharCode(i,s),a=1):l="�"}else l=String.fromCharCode(i);l&&(r.push(e.slice(o,n),encodeURIComponent(l)),o=n+a+1,l=""),a&&(n+=a,a=0)}return r.join("")+e.slice(o)}function O3(e,r,n){const o=[];let a=-1;for(;++a1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const p={...e[o][1].end},f={...e[n][1].start};AB(p,-c),AB(f,c),l={type:c>1?"strongSequence":"emphasisSequence",start:p,end:{...e[o][1].end}},s={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:f},i={type:c>1?"strongText":"emphasisText",start:{...e[o][1].end},end:{...e[n][1].start}},a={type:c>1?"strong":"emphasis",start:{...l.start},end:{...s.end}},e[o][1].end={...l.start},e[n][1].start={...s.end},u=[],e[o][1].end.offset-e[o][1].start.offset&&(u=oi(u,[["enter",e[o][1],r],["exit",e[o][1],r]])),u=oi(u,[["enter",a,r],["enter",l,r],["exit",l,r],["enter",i,r]]),u=oi(u,O3(r.parser.constructs.insideSpan.null,e.slice(o+1,n),r)),u=oi(u,[["exit",i,r],["enter",s,r],["exit",s,r],["exit",a,r]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,u=oi(u,[["enter",e[n][1],r],["exit",e[n][1],r]])):d=0,_a(e,o-1,n-o+3,u),n=o+u.length-d-2;break}}for(n=-1;++n0&&Vt(A)?er(e,C,"linePrefix",i+1)(A):C(A)}function C(A){return A===null||mt(A)?e.check($B,x,T)(A):(e.enter("codeFlowValue"),_(A))}function _(A){return A===null||mt(A)?(e.exit("codeFlowValue"),C(A)):(e.consume(A),_)}function T(A){return e.exit("codeFenced"),r(A)}function R(A,D,N){let $=0;return O;function O(q){return A.enter("lineEnding"),A.consume(q),A.exit("lineEnding"),j}function j(q){return A.enter("codeFencedFence"),Vt(q)?er(A,L,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(q):L(q)}function L(q){return q===s?(A.enter("codeFencedFenceSequence"),Y(q)):N(q)}function Y(q){return q===s?($++,A.consume(q),Y):$>=l?(A.exit("codeFencedFenceSequence"),Vt(q)?er(A,M,"whitespace")(q):M(q)):N(q)}function M(q){return q===null||mt(q)?(A.exit("codeFencedFence"),D(q)):N(q)}}}function P5e(e,r,n){const o=this;return a;function a(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i)}function i(l){return o.parser.lazy[o.now().line]?n(l):r(l)}}const E8={name:"codeIndented",tokenize:M5e},$5e={partial:!0,tokenize:O5e};function M5e(e,r,n){const o=this;return a;function a(u){return e.enter("codeIndented"),er(e,i,"linePrefix",5)(u)}function i(u){const d=o.events[o.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?l(u):n(u)}function l(u){return u===null?c(u):mt(u)?e.attempt($5e,l,c)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||mt(u)?(e.exit("codeFlowValue"),l(u)):(e.consume(u),s)}function c(u){return e.exit("codeIndented"),r(u)}}function O5e(e,r,n){const o=this;return a;function a(l){return o.parser.lazy[o.now().line]?n(l):mt(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):er(e,i,"linePrefix",5)(l)}function i(l){const s=o.events[o.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?r(l):mt(l)?a(l):n(l)}}const I5e={name:"codeText",previous:L5e,resolve:z5e,tokenize:B5e};function z5e(e){let r=e.length-4,n=3,o,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[r][1].type==="lineEnding"||e[r][1].type==="space")){for(o=n;++o=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+r+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return rthis.left.length?this.right.slice(this.right.length-o+this.left.length,this.right.length-r+this.left.length).reverse():this.left.slice(r).concat(this.right.slice(this.right.length-o+this.left.length).reverse())}splice(r,n,o){const a=n||0;this.setCursor(Math.trunc(r));const i=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return o&&K1(this.left,o),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(r){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(r)}pushMany(r){this.setCursor(Number.POSITIVE_INFINITY),K1(this.left,r)}unshift(r){this.setCursor(0),this.right.push(r)}unshiftMany(r){this.setCursor(0),K1(this.right,r.reverse())}setCursor(r){if(!(r===this.left.length||r>this.left.length&&this.right.length===0||r<0&&this.left.length===0))if(r=4?r(l):e.interrupt(o.parser.constructs.flow,n,r)(l)}}function IB(e,r,n,o,a,i,l,s,c){const u=c||Number.POSITIVE_INFINITY;let d=0;return p;function p(k){return k===60?(e.enter(o),e.enter(a),e.enter(i),e.consume(k),e.exit(i),f):k===null||k===32||k===41||D3(k)?n(k):(e.enter(o),e.enter(l),e.enter(s),e.enter("chunkString",{contentType:"string"}),x(k))}function f(k){return k===62?(e.enter(i),e.consume(k),e.exit(i),e.exit(a),e.exit(o),r):(e.enter(s),e.enter("chunkString",{contentType:"string"}),g(k))}function g(k){return k===62?(e.exit("chunkString"),e.exit(s),f(k)):k===null||k===60||mt(k)?n(k):(e.consume(k),k===92?b:g)}function b(k){return k===60||k===62||k===92?(e.consume(k),g):g(k)}function x(k){return!d&&(k===null||k===41||_r(k))?(e.exit("chunkString"),e.exit(s),e.exit(l),e.exit(o),r(k)):d999||g===null||g===91||g===93&&!c||g===94&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?n(g):g===93?(e.exit(i),e.enter(a),e.consume(g),e.exit(a),e.exit(o),r):mt(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),p(g))}function p(g){return g===null||g===91||g===93||mt(g)||s++>999?(e.exit("chunkString"),d(g)):(e.consume(g),c||(c=!Vt(g)),g===92?f:p)}function f(g){return g===91||g===92||g===93?(e.consume(g),s++,p):p(g)}}function LB(e,r,n,o,a,i){let l;return s;function s(f){return f===34||f===39||f===40?(e.enter(o),e.enter(a),e.consume(f),e.exit(a),l=f===40?41:f,c):n(f)}function c(f){return f===l?(e.enter(a),e.consume(f),e.exit(a),e.exit(o),r):(e.enter(i),u(f))}function u(f){return f===l?(e.exit(i),c(l)):f===null?n(f):mt(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),er(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(f))}function d(f){return f===l||f===null||mt(f)?(e.exit("chunkString"),u(f)):(e.consume(f),f===92?p:d)}function p(f){return f===l||f===92?(e.consume(f),d):d(f)}}function Z1(e,r){let n;return o;function o(a){return mt(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,o):Vt(a)?er(e,o,n?"linePrefix":"lineSuffix")(a):r(a)}}const W5e={name:"definition",tokenize:X5e},G5e={partial:!0,tokenize:K5e};function X5e(e,r,n){const o=this;let a;return i;function i(g){return e.enter("definition"),l(g)}function l(g){return zB.call(o,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(g)}function s(g){return a=Vi(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),c):n(g)}function c(g){return _r(g)?Z1(e,u)(g):u(g)}function u(g){return IB(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(g)}function d(g){return e.attempt(G5e,p,p)(g)}function p(g){return Vt(g)?er(e,f,"whitespace")(g):f(g)}function f(g){return g===null||mt(g)?(e.exit("definition"),o.parser.defined.push(a),r(g)):n(g)}}function K5e(e,r,n){return o;function o(s){return _r(s)?Z1(e,a)(s):n(s)}function a(s){return LB(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function i(s){return Vt(s)?er(e,l,"whitespace")(s):l(s)}function l(s){return s===null||mt(s)?r(s):n(s)}}const Z5e={name:"hardBreakEscape",tokenize:Q5e};function Q5e(e,r,n){return o;function o(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return mt(i)?(e.exit("hardBreakEscape"),r(i)):n(i)}}const J5e={name:"headingAtx",resolve:eke,tokenize:tke};function eke(e,r){let n=e.length-2,o=3,a,i;return e[o][1].type==="whitespace"&&(o+=2),n-2>o&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(o===n-1||n-4>o&&e[n-2][1].type==="whitespace")&&(n-=o+1===n?2:4),n>o&&(a={type:"atxHeadingText",start:e[o][1].start,end:e[n][1].end},i={type:"chunkText",start:e[o][1].start,end:e[n][1].end,contentType:"text"},_a(e,o,n-o+1,[["enter",a,r],["enter",i,r],["exit",i,r],["exit",a,r]])),e}function tke(e,r,n){let o=0;return a;function a(d){return e.enter("atxHeading"),i(d)}function i(d){return e.enter("atxHeadingSequence"),l(d)}function l(d){return d===35&&o++<6?(e.consume(d),l):d===null||_r(d)?(e.exit("atxHeadingSequence"),s(d)):n(d)}function s(d){return d===35?(e.enter("atxHeadingSequence"),c(d)):d===null||mt(d)?(e.exit("atxHeading"),r(d)):Vt(d)?er(e,s,"whitespace")(d):(e.enter("atxHeadingText"),u(d))}function c(d){return d===35?(e.consume(d),c):(e.exit("atxHeadingSequence"),s(d))}function u(d){return d===null||d===35||_r(d)?(e.exit("atxHeadingText"),s(d)):(e.consume(d),u)}}const rke=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],BB=["pre","script","style","textarea"],nke={concrete:!0,name:"htmlFlow",resolveTo:ike,tokenize:lke},oke={partial:!0,tokenize:cke},ake={partial:!0,tokenize:ske};function ike(e){let r=e.length;for(;r--&&!(e[r][0]==="enter"&&e[r][1].type==="htmlFlow"););return r>1&&e[r-2][1].type==="linePrefix"&&(e[r][1].start=e[r-2][1].start,e[r+1][1].start=e[r-2][1].start,e.splice(r-2,2)),e}function lke(e,r,n){const o=this;let a,i,l,s,c;return u;function u(B){return d(B)}function d(B){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(B),p}function p(B){return B===33?(e.consume(B),f):B===47?(e.consume(B),i=!0,x):B===63?(e.consume(B),a=3,o.interrupt?r:V):Fo(B)?(e.consume(B),l=String.fromCharCode(B),w):n(B)}function f(B){return B===45?(e.consume(B),a=2,g):B===91?(e.consume(B),a=5,s=0,b):Fo(B)?(e.consume(B),a=4,o.interrupt?r:V):n(B)}function g(B){return B===45?(e.consume(B),o.interrupt?r:V):n(B)}function b(B){const W="CDATA[";return B===W.charCodeAt(s++)?(e.consume(B),s===W.length?o.interrupt?r:L:b):n(B)}function x(B){return Fo(B)?(e.consume(B),l=String.fromCharCode(B),w):n(B)}function w(B){if(B===null||B===47||B===62||_r(B)){const W=B===47,Q=l.toLowerCase();return!W&&!i&&BB.includes(Q)?(a=1,o.interrupt?r(B):L(B)):rke.includes(l.toLowerCase())?(a=6,W?(e.consume(B),k):o.interrupt?r(B):L(B)):(a=7,o.interrupt&&!o.parser.lazy[o.now().line]?n(B):i?C(B):_(B))}return B===45||Ro(B)?(e.consume(B),l+=String.fromCharCode(B),w):n(B)}function k(B){return B===62?(e.consume(B),o.interrupt?r:L):n(B)}function C(B){return Vt(B)?(e.consume(B),C):O(B)}function _(B){return B===47?(e.consume(B),O):B===58||B===95||Fo(B)?(e.consume(B),T):Vt(B)?(e.consume(B),_):O(B)}function T(B){return B===45||B===46||B===58||B===95||Ro(B)?(e.consume(B),T):R(B)}function R(B){return B===61?(e.consume(B),A):Vt(B)?(e.consume(B),R):_(B)}function A(B){return B===null||B===60||B===61||B===62||B===96?n(B):B===34||B===39?(e.consume(B),c=B,D):Vt(B)?(e.consume(B),A):N(B)}function D(B){return B===c?(e.consume(B),c=null,$):B===null||mt(B)?n(B):(e.consume(B),D)}function N(B){return B===null||B===34||B===39||B===47||B===60||B===61||B===62||B===96||_r(B)?R(B):(e.consume(B),N)}function $(B){return B===47||B===62||Vt(B)?_(B):n(B)}function O(B){return B===62?(e.consume(B),j):n(B)}function j(B){return B===null||mt(B)?L(B):Vt(B)?(e.consume(B),j):n(B)}function L(B){return B===45&&a===2?(e.consume(B),z):B===60&&a===1?(e.consume(B),H):B===62&&a===4?(e.consume(B),X):B===63&&a===3?(e.consume(B),V):B===93&&a===5?(e.consume(B),K):mt(B)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(oke,Z,Y)(B)):B===null||mt(B)?(e.exit("htmlFlowData"),Y(B)):(e.consume(B),L)}function Y(B){return e.check(ake,M,Z)(B)}function M(B){return e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),q}function q(B){return B===null||mt(B)?Y(B):(e.enter("htmlFlowData"),L(B))}function z(B){return B===45?(e.consume(B),V):L(B)}function H(B){return B===47?(e.consume(B),l="",U):L(B)}function U(B){if(B===62){const W=l.toLowerCase();return BB.includes(W)?(e.consume(B),X):L(B)}return Fo(B)&&l.length<8?(e.consume(B),l+=String.fromCharCode(B),U):L(B)}function K(B){return B===93?(e.consume(B),V):L(B)}function V(B){return B===62?(e.consume(B),X):B===45&&a===2?(e.consume(B),V):L(B)}function X(B){return B===null||mt(B)?(e.exit("htmlFlowData"),Z(B)):(e.consume(B),X)}function Z(B){return e.exit("htmlFlow"),r(B)}}function ske(e,r,n){const o=this;return a;function a(l){return mt(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):n(l)}function i(l){return o.parser.lazy[o.now().line]?n(l):r(l)}}function cke(e,r,n){return o;function o(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(X1,r,n)}}const uke={name:"htmlText",tokenize:dke};function dke(e,r,n){const o=this;let a,i,l;return s;function s(V){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(V),c}function c(V){return V===33?(e.consume(V),u):V===47?(e.consume(V),R):V===63?(e.consume(V),_):Fo(V)?(e.consume(V),N):n(V)}function u(V){return V===45?(e.consume(V),d):V===91?(e.consume(V),i=0,b):Fo(V)?(e.consume(V),C):n(V)}function d(V){return V===45?(e.consume(V),g):n(V)}function p(V){return V===null?n(V):V===45?(e.consume(V),f):mt(V)?(l=p,H(V)):(e.consume(V),p)}function f(V){return V===45?(e.consume(V),g):p(V)}function g(V){return V===62?z(V):V===45?f(V):p(V)}function b(V){const X="CDATA[";return V===X.charCodeAt(i++)?(e.consume(V),i===X.length?x:b):n(V)}function x(V){return V===null?n(V):V===93?(e.consume(V),w):mt(V)?(l=x,H(V)):(e.consume(V),x)}function w(V){return V===93?(e.consume(V),k):x(V)}function k(V){return V===62?z(V):V===93?(e.consume(V),k):x(V)}function C(V){return V===null||V===62?z(V):mt(V)?(l=C,H(V)):(e.consume(V),C)}function _(V){return V===null?n(V):V===63?(e.consume(V),T):mt(V)?(l=_,H(V)):(e.consume(V),_)}function T(V){return V===62?z(V):_(V)}function R(V){return Fo(V)?(e.consume(V),A):n(V)}function A(V){return V===45||Ro(V)?(e.consume(V),A):D(V)}function D(V){return mt(V)?(l=D,H(V)):Vt(V)?(e.consume(V),D):z(V)}function N(V){return V===45||Ro(V)?(e.consume(V),N):V===47||V===62||_r(V)?$(V):n(V)}function $(V){return V===47?(e.consume(V),z):V===58||V===95||Fo(V)?(e.consume(V),O):mt(V)?(l=$,H(V)):Vt(V)?(e.consume(V),$):z(V)}function O(V){return V===45||V===46||V===58||V===95||Ro(V)?(e.consume(V),O):j(V)}function j(V){return V===61?(e.consume(V),L):mt(V)?(l=j,H(V)):Vt(V)?(e.consume(V),j):$(V)}function L(V){return V===null||V===60||V===61||V===62||V===96?n(V):V===34||V===39?(e.consume(V),a=V,Y):mt(V)?(l=L,H(V)):Vt(V)?(e.consume(V),L):(e.consume(V),M)}function Y(V){return V===a?(e.consume(V),a=void 0,q):V===null?n(V):mt(V)?(l=Y,H(V)):(e.consume(V),Y)}function M(V){return V===null||V===34||V===39||V===60||V===61||V===96?n(V):V===47||V===62||_r(V)?$(V):(e.consume(V),M)}function q(V){return V===47||V===62||_r(V)?$(V):n(V)}function z(V){return V===62?(e.consume(V),e.exit("htmlTextData"),e.exit("htmlText"),r):n(V)}function H(V){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(V),e.exit("lineEnding"),U}function U(V){return Vt(V)?er(e,K,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(V):K(V)}function K(V){return e.enter("htmlTextData"),l(V)}}const S8={name:"labelEnd",resolveAll:mke,resolveTo:gke,tokenize:yke},pke={tokenize:bke},hke={tokenize:vke},fke={tokenize:xke};function mke(e){let r=-1;const n=[];for(;++r=3&&(u===null||mt(u))?(e.exit("thematicBreak"),r(u)):n(u)}function c(u){return u===a?(e.consume(u),o++,c):(e.exit("thematicBreakSequence"),Vt(u)?er(e,s,"whitespace")(u):s(u))}}const Qo={continuation:{tokenize:Nke},exit:Pke,name:"list",tokenize:Ake},Tke={partial:!0,tokenize:$ke},Rke={partial:!0,tokenize:Dke};function Ake(e,r,n){const o=this,a=o.events[o.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,l=0;return s;function s(g){const b=o.containerState.type||(g===42||g===43||g===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!o.containerState.marker||g===o.containerState.marker:h8(g)){if(o.containerState.type||(o.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),g===42||g===45?e.check(I3,n,u)(g):u(g);if(!o.interrupt||g===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(g)}return n(g)}function c(g){return h8(g)&&++l<10?(e.consume(g),c):(!o.interrupt||l<2)&&(o.containerState.marker?g===o.containerState.marker:g===41||g===46)?(e.exit("listItemValue"),u(g)):n(g)}function u(g){return e.enter("listItemMarker"),e.consume(g),e.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||g,e.check(X1,o.interrupt?n:d,e.attempt(Tke,f,p))}function d(g){return o.containerState.initialBlankLine=!0,i++,f(g)}function p(g){return Vt(g)?(e.enter("listItemPrefixWhitespace"),e.consume(g),e.exit("listItemPrefixWhitespace"),f):n(g)}function f(g){return o.containerState.size=i+o.sliceSerialize(e.exit("listItemPrefix"),!0).length,r(g)}}function Nke(e,r,n){const o=this;return o.containerState._closeFlow=void 0,e.check(X1,a,i);function a(s){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,er(e,r,"listItemIndent",o.containerState.size+1)(s)}function i(s){return o.containerState.furtherBlankLines||!Vt(s)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,l(s)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,e.attempt(Rke,r,l)(s))}function l(s){return o.containerState._closeFlow=!0,o.interrupt=void 0,er(e,e.attempt(Qo,r,n),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function Dke(e,r,n){const o=this;return er(e,a,"listItemIndent",o.containerState.size+1);function a(i){const l=o.events[o.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===o.containerState.size?r(i):n(i)}}function Pke(e){e.exit(this.containerState.type)}function $ke(e,r,n){const o=this;return er(e,a,"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const l=o.events[o.events.length-1];return!Vt(i)&&l&&l[1].type==="listItemPrefixWhitespace"?r(i):n(i)}}const jB={name:"setextUnderline",resolveTo:Mke,tokenize:Oke};function Mke(e,r){let n=e.length,o,a,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){o=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const l={type:"setextHeading",start:{...e[o][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",l,r]),e.splice(i+1,0,["exit",e[o][1],r]),e[o][1].end={...e[i][1].end}):e[o][1]=l,e.push(["exit",l,r]),e}function Oke(e,r,n){const o=this;let a;return i;function i(u){let d=o.events.length,p;for(;d--;)if(o.events[d][1].type!=="lineEnding"&&o.events[d][1].type!=="linePrefix"&&o.events[d][1].type!=="content"){p=o.events[d][1].type==="paragraph";break}return!o.parser.lazy[o.now().line]&&(o.interrupt||p)?(e.enter("setextHeadingLine"),a=u,l(u)):n(u)}function l(u){return e.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===a?(e.consume(u),s):(e.exit("setextHeadingLineSequence"),Vt(u)?er(e,c,"lineSuffix")(u):c(u))}function c(u){return u===null||mt(u)?(e.exit("setextHeadingLine"),r(u)):n(u)}}const Ike={tokenize:Uke,partial:!0};function zke(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Fke,continuation:{tokenize:Hke},exit:qke}},text:{91:{name:"gfmFootnoteCall",tokenize:jke},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Lke,resolveTo:Bke}}}}function Lke(e,r,n){const o=this;let a=o.events.length;const i=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let l;for(;a--;){const c=o.events[a][1];if(c.type==="labelImage"){l=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return s;function s(c){if(!l||!l._balanced)return n(c);const u=Vi(o.sliceSerialize({start:l.end,end:o.now()}));return u.codePointAt(0)!==94||!i.includes(u.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),r(c))}}function Bke(e,r){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",o,r],e[n+3],e[n+4],["enter",a,r],["exit",a,r],["enter",i,r],["enter",l,r],["exit",l,r],["exit",i,r],e[e.length-2],e[e.length-1],["exit",o,r]];return e.splice(n,e.length-n+1,...s),e}function jke(e,r,n){const o=this,a=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let i=0,l;return s;function s(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),c}function c(p){return p!==94?n(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(p){if(i>999||p===93&&!l||p===null||p===91||_r(p))return n(p);if(p===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return a.includes(Vi(o.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),r):n(p)}return _r(p)||(l=!0),i++,e.consume(p),p===92?d:u}function d(p){return p===91||p===92||p===93?(e.consume(p),i++,u):u(p)}}function Fke(e,r,n){const o=this,a=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let i,l=0,s;return c;function c(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):n(b)}function d(b){if(l>999||b===93&&!s||b===null||b===91||_r(b))return n(b);if(b===93){e.exit("chunkString");const x=e.exit("gfmFootnoteDefinitionLabelString");return i=Vi(o.sliceSerialize(x)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return _r(b)||(s=!0),l++,e.consume(b),b===92?p:d}function p(b){return b===91||b===92||b===93?(e.consume(b),l++,d):d(b)}function f(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),a.includes(i)||a.push(i),er(e,g,"gfmFootnoteDefinitionWhitespace")):n(b)}function g(b){return r(b)}}function Hke(e,r,n){return e.check(X1,r,e.attempt(Ike,r,n))}function qke(e){e.exit("gfmFootnoteDefinition")}function Uke(e,r,n){const o=this;return er(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const l=o.events[o.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?r(i):n(i)}}function Vke(e){let n=(e||{}).singleTilde;const o={name:"strikethrough",tokenize:i,resolveAll:a};return n==null&&(n=!0),{text:{126:o},insideSpan:{null:[o]},attentionMarkers:{null:[126]}};function a(l,s){let c=-1;for(;++c1?c(b):(l.consume(b),p++,g);if(p<2&&!n)return c(b);const w=l.exit("strikethroughSequenceTemporary"),k=Qh(b);return w._open=!k||k===2&&!!x,w._close=!x||x===2&&!!k,s(b)}}}class Yke{constructor(){this.map=[]}add(r,n,o){Wke(this,r,n,o)}consume(r){if(this.map.sort(function(i,l){return i[0]-l[0]}),this.map.length===0)return;let n=this.map.length;const o=[];for(;n>0;)n-=1,o.push(r.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),r.length=this.map[n][0];o.push(r.slice()),r.length=0;let a=o.pop();for(;a;){for(const i of a)r.push(i);a=o.pop()}this.map.length=0}}function Wke(e,r,n,o){let a=0;if(!(n===0&&o.length===0)){for(;a-1;){const M=o.events[j][1].type;if(M==="lineEnding"||M==="linePrefix")j--;else break}const L=j>-1?o.events[j][1].type:null,Y=L==="tableHead"||L==="tableRow"?A:c;return Y===A&&o.parser.lazy[o.now().line]?n(O):Y(O)}function c(O){return e.enter("tableHead"),e.enter("tableRow"),u(O)}function u(O){return O===124||(l=!0,i+=1),d(O)}function d(O){return O===null?n(O):mt(O)?i>1?(i=0,o.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),g):n(O):Vt(O)?er(e,d,"whitespace")(O):(i+=1,l&&(l=!1,a+=1),O===124?(e.enter("tableCellDivider"),e.consume(O),e.exit("tableCellDivider"),l=!0,d):(e.enter("data"),p(O)))}function p(O){return O===null||O===124||_r(O)?(e.exit("data"),d(O)):(e.consume(O),O===92?f:p)}function f(O){return O===92||O===124?(e.consume(O),p):p(O)}function g(O){return o.interrupt=!1,o.parser.lazy[o.now().line]?n(O):(e.enter("tableDelimiterRow"),l=!1,Vt(O)?er(e,b,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(O):b(O))}function b(O){return O===45||O===58?w(O):O===124?(l=!0,e.enter("tableCellDivider"),e.consume(O),e.exit("tableCellDivider"),x):R(O)}function x(O){return Vt(O)?er(e,w,"whitespace")(O):w(O)}function w(O){return O===58?(i+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(O),e.exit("tableDelimiterMarker"),k):O===45?(i+=1,k(O)):O===null||mt(O)?T(O):R(O)}function k(O){return O===45?(e.enter("tableDelimiterFiller"),C(O)):R(O)}function C(O){return O===45?(e.consume(O),C):O===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(O),e.exit("tableDelimiterMarker"),_):(e.exit("tableDelimiterFiller"),_(O))}function _(O){return Vt(O)?er(e,T,"whitespace")(O):T(O)}function T(O){return O===124?b(O):O===null||mt(O)?!l||a!==i?R(O):(e.exit("tableDelimiterRow"),e.exit("tableHead"),r(O)):R(O)}function R(O){return n(O)}function A(O){return e.enter("tableRow"),D(O)}function D(O){return O===124?(e.enter("tableCellDivider"),e.consume(O),e.exit("tableCellDivider"),D):O===null||mt(O)?(e.exit("tableRow"),r(O)):Vt(O)?er(e,D,"whitespace")(O):(e.enter("data"),N(O))}function N(O){return O===null||O===124||_r(O)?(e.exit("data"),D(O)):(e.consume(O),O===92?$:N)}function $(O){return O===92||O===124?(e.consume(O),N):N(O)}}function Zke(e,r){let n=-1,o=!0,a=0,i=[0,0,0,0],l=[0,0,0,0],s=!1,c=0,u,d,p;const f=new Yke;for(;++nn[2]+1){const b=n[2]+1,x=n[3]-n[2]-1;e.add(b,x,[])}}e.add(n[3]+1,0,[["exit",p,r]])}return a!==void 0&&(i.end=Object.assign({},ef(r.events,a)),e.add(a,0,[["exit",i,r]]),i=void 0),i}function FB(e,r,n,o,a){const i=[],l=ef(r.events,n);a&&(a.end=Object.assign({},l),i.push(["exit",a,r])),o.end=Object.assign({},l),i.push(["exit",o,r]),e.add(n+1,0,i)}function ef(e,r){const n=e[r],o=n[0]==="enter"?"start":"end";return n[1][o]}const Qke={name:"tasklistCheck",tokenize:e6e};function Jke(){return{text:{91:Qke}}}function e6e(e,r,n){const o=this;return a;function a(c){return o.previous!==null||!o._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),i)}function i(c){return _r(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),l):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),l):n(c)}function l(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(c)}function s(c){return mt(c)?r(c):Vt(c)?e.check({tokenize:t6e},r,n)(c):n(c)}}function t6e(e,r,n){return er(e,o,"whitespace");function o(a){return a===null?n(a):r(a)}}function r6e(e){return xB([p5e(),zke(),Vke(e),Xke(),Jke()])}const n6e={};function o6e(e){const r=this,n=e||n6e,o=r.data(),a=o.micromarkExtensions||(o.micromarkExtensions=[]),i=o.fromMarkdownExtensions||(o.fromMarkdownExtensions=[]),l=o.toMarkdownExtensions||(o.toMarkdownExtensions=[]);a.push(r6e(n)),i.push(i5e()),l.push(l5e(n))}const a6e={tokenize:i6e};function i6e(e){const r=e.attempt(this.parser.constructs.contentInitial,o,a);let n;return r;function o(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),er(e,r,"linePrefix")}function a(s){return e.enter("paragraph"),i(s)}function i(s){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,l(s)}function l(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return mt(s)?(e.consume(s),e.exit("chunkText"),i):(e.consume(s),l)}}const l6e={tokenize:s6e},HB={tokenize:c6e};function s6e(e){const r=this,n=[];let o=0,a,i,l;return s;function s(_){if(ol))return;const D=r.events.length;let N=D,$,O;for(;N--;)if(r.events[N][0]==="exit"&&r.events[N][1].type==="chunkFlow"){if($){O=r.events[N][1].end;break}$=!0}for(k(o),A=D;A_;){const R=n[T];r.containerState=R[1],R[0].exit.call(r,e)}n.length=_}function C(){a.write([null]),i=void 0,a=void 0,r.containerState._closeFlow=void 0}}function c6e(e,r,n){return er(e,e.attempt(this.parser.constructs.document,r,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const u6e={tokenize:d6e};function d6e(e){const r=this,n=e.attempt(X1,o,e.attempt(this.parser.constructs.flowInitial,a,er(e,e.attempt(this.parser.constructs.flow,a,e.attempt(H5e,a)),"linePrefix")));return n;function o(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),r.currentConstruct=void 0,n}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r.currentConstruct=void 0,n}}const p6e={resolveAll:UB()},h6e=qB("string"),f6e=qB("text");function qB(e){return{resolveAll:UB(e==="text"?m6e:void 0),tokenize:r};function r(n){const o=this,a=this.parser.constructs[e],i=n.attempt(a,l,s);return l;function l(d){return u(d)?i(d):s(d)}function s(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),c}function c(d){return u(d)?(n.exit("data"),i(d)):(n.consume(d),c)}function u(d){if(d===null)return!0;const p=a[d];let f=-1;if(p)for(;++f-1){const s=l[0];typeof s=="string"?l[0]=s.slice(o):l.shift()}i>0&&l.push(e[a].slice(0,i))}return l}function v6e(e,r){let n=-1;const o=[];let a;for(;++n0){const Wr=rt.tokenStack[rt.tokenStack.length-1];(Wr[1]||HB).call(rt,void 0,Wr[0])}for(we.position={start:Zc(_e.length>0?_e[0][1].start:{line:1,column:1,offset:0}),end:Zc(_e.length>0?_e[_e.length-2][1].end:{line:1,column:1,offset:0})},Dt=-1;++Dt1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(r,c);const u={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(r,u),e.applyData(r,u)}function l6e(e,r){const n={type:"element",tagName:"h"+r.depth,properties:{},children:e.all(r)};return e.patch(r,n),e.applyData(r,n)}function s6e(e,r){if(e.options.allowDangerousHtml){const n={type:"raw",value:r.value};return e.patch(r,n),e.applyData(r,n)}}function qB(e,r){const n=r.referenceType;let o="]";if(n==="collapsed"?o+="[]":n==="full"&&(o+="["+(r.label||r.identifier)+"]"),r.type==="imageReference")return[{type:"text",value:"!["+r.alt+o}];const a=e.all(r),i=a[0];i&&i.type==="text"?i.value="["+i.value:a.unshift({type:"text",value:"["});const l=a[a.length-1];return l&&l.type==="text"?l.value+=o:a.push({type:"text",value:o}),a}function c6e(e,r){const n=String(r.identifier).toUpperCase(),o=e.definitionById.get(n);if(!o)return qB(e,r);const a={src:Vh(o.url||""),alt:r.alt};o.title!==null&&o.title!==void 0&&(a.title=o.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(r,i),e.applyData(r,i)}function u6e(e,r){const n={src:Vh(r.url)};r.alt!==null&&r.alt!==void 0&&(n.alt=r.alt),r.title!==null&&r.title!==void 0&&(n.title=r.title);const o={type:"element",tagName:"img",properties:n,children:[]};return e.patch(r,o),e.applyData(r,o)}function d6e(e,r){const n={type:"text",value:r.value.replace(/\r?\n|\r/g," ")};e.patch(r,n);const o={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(r,o),e.applyData(r,o)}function p6e(e,r){const n=String(r.identifier).toUpperCase(),o=e.definitionById.get(n);if(!o)return qB(e,r);const a={href:Vh(o.url||"")};o.title!==null&&o.title!==void 0&&(a.title=o.title);const i={type:"element",tagName:"a",properties:a,children:e.all(r)};return e.patch(r,i),e.applyData(r,i)}function h6e(e,r){const n={href:Vh(r.url)};r.title!==null&&r.title!==void 0&&(n.title=r.title);const o={type:"element",tagName:"a",properties:n,children:e.all(r)};return e.patch(r,o),e.applyData(r,o)}function f6e(e,r,n){const o=e.all(r),a=n?m6e(n):UB(r),i={},l=[];if(typeof r.checked=="boolean"){const d=o[0];let p;d&&d.type==="element"&&d.tagName==="p"?p=d:(p={type:"element",tagName:"p",properties:{},children:[]},o.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s0){const Zr=at.tokenStack[at.tokenStack.length-1];(Zr[1]||ZB).call(at,void 0,Zr[0])}for(_e.position={start:lu(we.length>0?we[0][1].start:{line:1,column:1,offset:0}),end:lu(we.length>0?we[we.length-2][1].end:{line:1,column:1,offset:0})},Ct=-1;++Ct1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(r,c);const u={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(r,u),e.applyData(r,u)}function P6e(e,r){const n={type:"element",tagName:"h"+r.depth,properties:{},children:e.all(r)};return e.patch(r,n),e.applyData(r,n)}function $6e(e,r){if(e.options.allowDangerousHtml){const n={type:"raw",value:r.value};return e.patch(r,n),e.applyData(r,n)}}function QB(e,r){const n=r.referenceType;let o="]";if(n==="collapsed"?o+="[]":n==="full"&&(o+="["+(r.label||r.identifier)+"]"),r.type==="imageReference")return[{type:"text",value:"!["+r.alt+o}];const a=e.all(r),i=a[0];i&&i.type==="text"?i.value="["+i.value:a.unshift({type:"text",value:"["});const l=a[a.length-1];return l&&l.type==="text"?l.value+=o:a.push({type:"text",value:o}),a}function M6e(e,r){const n=String(r.identifier).toUpperCase(),o=e.definitionById.get(n);if(!o)return QB(e,r);const a={src:Jh(o.url||""),alt:r.alt};o.title!==null&&o.title!==void 0&&(a.title=o.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(r,i),e.applyData(r,i)}function O6e(e,r){const n={src:Jh(r.url)};r.alt!==null&&r.alt!==void 0&&(n.alt=r.alt),r.title!==null&&r.title!==void 0&&(n.title=r.title);const o={type:"element",tagName:"img",properties:n,children:[]};return e.patch(r,o),e.applyData(r,o)}function I6e(e,r){const n={type:"text",value:r.value.replace(/\r?\n|\r/g," ")};e.patch(r,n);const o={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(r,o),e.applyData(r,o)}function z6e(e,r){const n=String(r.identifier).toUpperCase(),o=e.definitionById.get(n);if(!o)return QB(e,r);const a={href:Jh(o.url||"")};o.title!==null&&o.title!==void 0&&(a.title=o.title);const i={type:"element",tagName:"a",properties:a,children:e.all(r)};return e.patch(r,i),e.applyData(r,i)}function L6e(e,r){const n={href:Jh(r.url)};r.title!==null&&r.title!==void 0&&(n.title=r.title);const o={type:"element",tagName:"a",properties:n,children:e.all(r)};return e.patch(r,o),e.applyData(r,o)}function B6e(e,r,n){const o=e.all(r),a=n?j6e(n):JB(r),i={},l=[];if(typeof r.checked=="boolean"){const d=o[0];let p;d&&d.type==="element"&&d.tagName==="p"?p=d:(p={type:"element",tagName:"p",properties:{},children:[]},o.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s1}function g6e(e,r){const n={},o=e.all(r);let a=-1;for(typeof r.start=="number"&&r.start!==1&&(n.start=r.start);++a0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=zs(r.children[1]),c=k3(r.children[r.children.length-1]);s&&c&&(l.position={start:s,end:c}),a.push(l)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(r,i),e.applyData(r,i)}function w6e(e,r,n){const o=n?n.children:void 0,i=(o?o.indexOf(r):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,s=l?l.length:r.children.length;let c=-1;const u=[];for(;++c0,!0),o[0]),a=o.index+o[0].length,o=n.exec(r);return i.push(WB(r.slice(a),a>0,!1)),i.join("")}function WB(e,r,n){let o=0,a=e.length;if(r){let i=e.codePointAt(o);for(;i===VB||i===YB;)o++,i=e.codePointAt(o)}if(n){let i=e.codePointAt(a-1);for(;i===VB||i===YB;)a--,i=e.codePointAt(a-1)}return a>o?e.slice(o,a):""}function E6e(e,r){const n={type:"text",value:_6e(String(r.value))};return e.patch(r,n),e.applyData(r,n)}function S6e(e,r){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(r,n),e.applyData(r,n)}const C6e={blockquote:t6e,break:r6e,code:n6e,delete:o6e,emphasis:a6e,footnoteReference:i6e,heading:l6e,html:s6e,imageReference:c6e,image:u6e,inlineCode:d6e,linkReference:p6e,link:h6e,listItem:f6e,list:g6e,paragraph:y6e,root:b6e,strong:v6e,table:x6e,tableCell:k6e,tableRow:w6e,text:E6e,thematicBreak:S6e,toml:O3,yaml:O3,definition:O3,footnoteDefinition:O3};function O3(){}function T6e(e,r){const n=[{type:"text",value:"↩"}];return r>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(r)}]}),n}function R6e(e,r){return"Back to reference "+(e+1)+(r>1?"-"+r:"")}function A6e(e){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||T6e,o=e.options.footnoteBackLabel||R6e,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let c=-1;for(;++c0&&b.push({type:"text",value:" "});let C=typeof n=="string"?n:n(c,g);typeof C=="string"&&(C={type:"text",value:C}),b.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+f+(g>1?"-"+g:""),dataFootnoteBackref:"",ariaLabel:typeof o=="string"?o:o(c,g),className:["data-footnote-backref"]},children:Array.isArray(C)?C:[C]})}const w=d[d.length-1];if(w&&w.type==="element"&&w.tagName==="p"){const C=w.children[w.children.length-1];C&&C.type==="text"?C.value+=" ":w.children.push({type:"text",value:" "}),w.children.push(...b)}else d.push(...b);const k={type:"element",tagName:"li",properties:{id:r+"fn-"+f},children:e.wrap(d,!0)};e.patch(u,k),s.push(k)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...xd(l),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:` +`});const u={type:"element",tagName:"li",properties:i,children:l};return e.patch(r,u),e.applyData(r,u)}function j6e(e){let r=!1;if(e.type==="list"){r=e.spread||!1;const n=e.children;let o=-1;for(;!r&&++o1}function F6e(e,r){const n={},o=e.all(r);let a=-1;for(typeof r.start=="number"&&r.start!==1&&(n.start=r.start);++a0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=js(r.children[1]),c=S3(r.children[r.children.length-1]);s&&c&&(l.position={start:s,end:c}),a.push(l)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(r,i),e.applyData(r,i)}function Y6e(e,r,n){const o=n?n.children:void 0,i=(o?o.indexOf(r):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,s=l?l.length:r.children.length;let c=-1;const u=[];for(;++c0,!0),o[0]),a=o.index+o[0].length,o=n.exec(r);return i.push(rj(r.slice(a),a>0,!1)),i.join("")}function rj(e,r,n){let o=0,a=e.length;if(r){let i=e.codePointAt(o);for(;i===ej||i===tj;)o++,i=e.codePointAt(o)}if(n){let i=e.codePointAt(a-1);for(;i===ej||i===tj;)a--,i=e.codePointAt(a-1)}return a>o?e.slice(o,a):""}function X6e(e,r){const n={type:"text",value:G6e(String(r.value))};return e.patch(r,n),e.applyData(r,n)}function K6e(e,r){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(r,n),e.applyData(r,n)}const Z6e={blockquote:C6e,break:T6e,code:R6e,delete:A6e,emphasis:N6e,footnoteReference:D6e,heading:P6e,html:$6e,imageReference:M6e,image:O6e,inlineCode:I6e,linkReference:z6e,link:L6e,listItem:B6e,list:F6e,paragraph:H6e,root:q6e,strong:U6e,table:V6e,tableCell:W6e,tableRow:Y6e,text:X6e,thematicBreak:K6e,toml:L3,yaml:L3,definition:L3,footnoteDefinition:L3};function L3(){}function Q6e(e,r){const n=[{type:"text",value:"↩"}];return r>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(r)}]}),n}function J6e(e,r){return"Back to reference "+(e+1)+(r>1?"-"+r:"")}function e_e(e){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Q6e,o=e.options.footnoteBackLabel||J6e,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let c=-1;for(;++c0&&b.push({type:"text",value:" "});let C=typeof n=="string"?n:n(c,g);typeof C=="string"&&(C={type:"text",value:C}),b.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+f+(g>1?"-"+g:""),dataFootnoteBackref:"",ariaLabel:typeof o=="string"?o:o(c,g),className:["data-footnote-backref"]},children:Array.isArray(C)?C:[C]})}const w=d[d.length-1];if(w&&w.type==="element"&&w.tagName==="p"){const C=w.children[w.children.length-1];C&&C.type==="text"?C.value+=" ":w.children.push({type:"text",value:" "}),w.children.push(...b)}else d.push(...b);const k={type:"element",tagName:"li",properties:{id:r+"fn-"+f},children:e.wrap(d,!0)};e.patch(u,k),s.push(k)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Dd(l),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:` -`}]}}const w8={}.hasOwnProperty,N6e={};function D6e(e,r){const n=r||N6e,o=new Map,a=new Map,i=new Map,l={...C6e,...n.handlers},s={all:u,applyData:$6e,definitionById:o,footnoteById:a,footnoteCounts:i,footnoteOrder:[],handlers:l,one:c,options:n,patch:P6e,wrap:O6e};return e8(e,function(d){if(d.type==="definition"||d.type==="footnoteDefinition"){const p=d.type==="definition"?o:a,f=String(d.identifier).toUpperCase();p.has(f)||p.set(f,d)}}),s;function c(d,p){const f=d.type,g=s.handlers[f];if(w8.call(s.handlers,f)&&g)return g(s,d,p);if(s.options.passThrough&&s.options.passThrough.includes(f)){if("children"in d){const{children:x,...w}=d,k=xd(w);return k.children=s.all(d),k}return xd(d)}return(s.options.unknownHandler||M6e)(s,d,p)}function u(d){const p=[];if("children"in d){const f=d.children;let g=-1;for(;++g0&&n.push({type:"text",value:` -`}),n}function GB(e){let r=0,n=e.charCodeAt(r);for(;n===9||n===32;)r++,n=e.charCodeAt(r);return e.slice(r)}function XB(e,r){const n=D6e(e,r),o=n.one(e,void 0),a=A6e(n),i=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return a&&i.children.push({type:"text",value:` -`},a),i}function I6e(e,r){return e&&"run"in e?async function(n,o){const a=XB(n,{file:o,...r});await e.run(a,o)}:function(n,o){return XB(n,{file:o,...e||r})}}function KB(e){if(e)throw e}var k8,ZB;function L6e(){if(ZB)return k8;ZB=1;var e=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=function(u){return typeof Array.isArray=="function"?Array.isArray(u):r.call(u)==="[object Array]"},i=function(u){if(!u||r.call(u)!=="[object Object]")return!1;var d=e.call(u,"constructor"),p=u.constructor&&u.constructor.prototype&&e.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!d&&!p)return!1;var f;for(f in u);return typeof f>"u"||e.call(u,f)},l=function(u,d){n&&d.name==="__proto__"?n(u,d.name,{enumerable:!0,configurable:!0,value:d.newValue,writable:!0}):u[d.name]=d.newValue},s=function(u,d){if(d==="__proto__")if(e.call(u,d)){if(o)return o(u,d).value}else return;return u[d]};return k8=function c(){var u,d,p,f,g,b,x=arguments[0],w=1,k=arguments.length,C=!1;for(typeof x=="boolean"&&(C=x,x=arguments[1]||{},w=2),(x==null||typeof x!="object"&&typeof x!="function")&&(x={});wl.length;let c;s&&l.push(a);try{c=e.apply(this,l)}catch(u){const d=u;if(s&&n)throw d;return a(d)}s||(c&&c.then&&typeof c.then=="function"?c.then(i,a):c instanceof Error?a(c):i(c))}function a(l,...s){n||(n=!0,r(l,...s))}function i(l){a(null,l)}}let Zo=class extends Error{constructor(r,n,o){super(),typeof n=="string"&&(o=n,n=void 0);let a="",i={},l=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof r=="string"?a=r:!i.cause&&r&&(l=!0,a=r.message,i.cause=r),!i.ruleId&&!i.source&&typeof o=="string"){const c=o.indexOf(":");c===-1?i.ruleId=o:(i.source=o.slice(0,c),i.ruleId=o.slice(c+1))}if(!i.place&&i.ancestors&&i.ancestors){const c=i.ancestors[i.ancestors.length-1];c&&(i.place=c.position)}const s=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=a,this.line=s?s.line:void 0,this.name=H1(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=l&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual,this.expected,this.note,this.url}};Zo.prototype.file="",Zo.prototype.name="",Zo.prototype.reason="",Zo.prototype.message="",Zo.prototype.stack="",Zo.prototype.column=void 0,Zo.prototype.line=void 0,Zo.prototype.ancestors=void 0,Zo.prototype.cause=void 0,Zo.prototype.fatal=void 0,Zo.prototype.place=void 0,Zo.prototype.ruleId=void 0,Zo.prototype.source=void 0;const Wl={basename:F6e,dirname:H6e,extname:q6e,join:U6e,sep:"/"};function F6e(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');q1(e);let n=0,o=-1,a=e.length,i;if(r===void 0||r.length===0||r.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(i){n=a+1;break}}else o<0&&(i=!0,o=a+1);return o<0?"":e.slice(n,o)}if(r===e)return"";let l=-1,s=r.length-1;for(;a--;)if(e.codePointAt(a)===47){if(i){n=a+1;break}}else l<0&&(i=!0,l=a+1),s>-1&&(e.codePointAt(a)===r.codePointAt(s--)?s<0&&(o=a):(s=-1,o=l));return n===o?o=l:o<0&&(o=e.length),e.slice(n,o)}function H6e(e){if(q1(e),e.length===0)return".";let r=-1,n=e.length,o;for(;--n;)if(e.codePointAt(n)===47){if(o){r=n;break}}else o||(o=!0);return r<0?e.codePointAt(0)===47?"/":".":r===1&&e.codePointAt(0)===47?"//":e.slice(0,r)}function q6e(e){q1(e);let r=e.length,n=-1,o=0,a=-1,i=0,l;for(;r--;){const s=e.codePointAt(r);if(s===47){if(l){o=r+1;break}continue}n<0&&(l=!0,n=r+1),s===46?a<0?a=r:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||n<0||i===0||i===1&&a===n-1&&a===o+1?"":e.slice(a,n)}function U6e(...e){let r=-1,n;for(;++r0&&e.codePointAt(e.length-1)===47&&(n+="/"),r?"/"+n:n}function Y6e(e,r){let n="",o=0,a=-1,i=0,l=-1,s,c;for(;++l<=e.length;){if(l2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",o=0):(n=n.slice(0,c),o=n.length-1-n.lastIndexOf("/")),a=l,i=0;continue}}else if(n.length>0){n="",o=0,a=l,i=0;continue}}r&&(n=n.length>0?n+"/..":"..",o=2)}else n.length>0?n+="/"+e.slice(a+1,l):n=e.slice(a+1,l),o=l-a-1;a=l,i=0}else s===46&&i>-1?i++:i=-1}return n}function q1(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const W6e={cwd:G6e};function G6e(){return"/"}function S8(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function X6e(e){if(typeof e=="string")e=new URL(e);else if(!S8(e)){const r=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw r.code="ERR_INVALID_ARG_TYPE",r}if(e.protocol!=="file:"){const r=new TypeError("The URL must be of scheme file");throw r.code="ERR_INVALID_URL_SCHEME",r}return K6e(e)}function K6e(e){if(e.hostname!==""){const o=new TypeError('File URL host must be "localhost" or empty on darwin');throw o.code="ERR_INVALID_FILE_URL_HOST",o}const r=e.pathname;let n=-1;for(;++n0){let[g,...b]=d;const x=o[f][1];E8(x)&&E8(g)&&(g=_8(!0,x,g)),o[f]=[u,g,...b]}}}};const r_e=new t_e().freeze();function A8(e,r){if(typeof r!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function N8(e,r){if(typeof r!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function D8(e,r){if(r)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function JB(e){if(!E8(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function ej(e,r,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+r+"` instead")}function I3(e){return n_e(e)?e:new Z6e(e)}function n_e(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function o_e(e){return typeof e=="string"||a_e(e)}function a_e(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}function i_e(){return r_e().use(e6e).use($ke).use(I6e,{allowDangerousHtml:!0,clobberPrefix:"",tableCellPadding:!1,tight:!0}).use(zxe).use(Gxe).use(Qwe,{closeSelfClosing:!0,tightSelfClosing:!0})}function l_e(e){return String(i_e().processSync(e.trim())).trim()}function s_e(e){return D3(jB(e),{includeHtml:!1,includeImageAlt:!1})}function c_e(...e){return ba(u_e,e)}function u_e(e,r){let n={...e};for(let[o,a]of Object.entries(n))r(a,o,e)&&delete n[o];return n}function U1(e){return c_e(e,r=>r===void 0)}const d_e=Symbol.for("text"),p_e=Symbol.for("html"),Gl="";class Kt{static _cache=new WeakMap;static memoize(r,n,o){return cr(r,n,()=>Kt.from(o))}static from(r){if(r==null||r===Kt.EMPTY)return Kt.EMPTY;if(r instanceof Kt)return r;if(typeof r=="string")return r.trim()===Gl?Kt.EMPTY:new Kt({txt:r});if("isEmpty"in r&&r.isEmpty||"md"in r&&r.md.trim()===Gl||"txt"in r&&r.txt.trim()===Gl)return Kt.EMPTY;const n=r,o=Kt._cache.get(n);if(o)return o;const a=new Kt(n);return Kt._cache.set(n,a),a}static EMPTY=new class extends Kt{isEmpty=!0;nonEmpty=!1;isMarkdown=!1;$source=null;constructor(){super({txt:Gl})}get text(){return null}get md(){return null}get html(){return null}};$source;isEmpty;nonEmpty;isMarkdown;constructor(r){this.isMarkdown=!1,typeof r=="string"?(this.$source={txt:r},this.isEmpty=r.trim()===Gl):(this.$source=r,this.isEmpty=!0,"md"in r?(this.isEmpty=r.md===Gl,this.isMarkdown=!0):this.isEmpty=r.txt===Gl),this.nonEmpty=!this.isEmpty}get text(){if(this.isEmpty||this.$source===null)return Gl;const r=this.$source;return"txt"in r?r.txt:cr(this,d_e,()=>s_e(r.md))}get md(){if(this.isEmpty||this.$source===null)return Gl;const r=this.$source;if("md"in r)return r.md;if("txt"in r)return r.txt;Xa(r)}get html(){if(this.isEmpty||this.$source===null)return Gl;const r=this.$source;return"txt"in r?r.txt:cr(this,p_e,()=>l_e(r.md))}equals(r){return this===r?!0:r instanceof Kt?this.isEmpty&&r.isEmpty?!0:this.isEmpty!==r.isEmpty||this.isMarkdown!==r.isMarkdown?!1:this.isMarkdown?this.$source?.md===r.$source?.md:this.$source?.txt===r.$source?.txt:!1}}function tj(e){return r=>!e(r)}function h_e(...e){return ba(f_e,e)}const f_e=(e,r)=>r.every(n=>n(e));function m_e(...e){return ba(g_e,e)}const g_e=(e,r)=>r.some(n=>n(e));function y_e(e){return e==null}function rj(e,r){return e[V1]===r}const V1="_stage",Y1="_type";function b_e(e){return Is(e.kind)&&!Is(e.element)}function v_e(e){return"tag"in e}function x_e(e){return"kind"in e}function w_e(e){return"participant"in e}function k_e(e){return"not"in e}function __e(e){return"and"in e}function E_e(e){return"or"in e}function Ad(e){switch(!0){case w_e(e):{const r=e.participant,n=Ad(e.operator);return S_e(r,n)}case v_e(e):{if(Uc(e.tag)||"eq"in e.tag){const n=Uc(e.tag)?e.tag:e.tag.eq;return o=>Array.isArray(o.tags)&&o.tags.includes(n)}const r=e.tag.neq;return n=>!Array.isArray(n.tags)||!n.tags.includes(r)}case x_e(e):{if(Uc(e.kind)||"eq"in e.kind){const n=Uc(e.kind)?e.kind:e.kind.eq;return o=>o.kind===n}const r=e.kind.neq;return n=>y_e(n.kind)||n.kind!==r}case k_e(e):{const r=Ad(e.not);return tj(r)}case __e(e):{const r=e.and.map(Ad);return h_e(r)}case E_e(e):{const r=e.or.map(Ad);return m_e(r)}default:Xa(e)}}function S_e(e,r){return n=>{if(!n.source||!n.target)return!1;switch(e){case"source":return r(n.source);case"target":return r(n.target)}}}var W1;(e=>{function r(c){return"model"in c&&!("project"in c)}e.isElementRef=r;function n(c){return"project"in c&&"model"in c}e.isImportRef=n;function o(c){if(Uc(c))throw new Error(`Expected FqnRef, got: "${c}"`);if(n(c))return BI(c.project,c.model);if(r(c))return c.model;throw new Error("Expected FqnRef.ModelRef or FqnRef.ImportRef")}e.flatten=o;function a(c){return r(c)||n(c)}e.isModelRef=a;function i(c){return"deployment"in c&&"element"in c}e.isInsideInstanceRef=i;function l(c){return"deployment"in c&&!("element"in c)}e.isDeploymentElementRef=l;function s(c){return l(c)||i(c)}e.isDeploymentRef=s})(W1||(W1={}));function P8(e){return v1(e)&&e.includes(".")?e.slice(0,e.indexOf(".")+1):null}var Qc;(e=>{function r({x:s,y:c,width:u,height:d}){return{x:s+u/2,y:c+d/2}}e.center=r;function n(s){const{x1:c,y1:u,x2:d,y2:p}=$8.fromPoints(s);return{x:c,y:u,width:d-c,height:p-u}}e.fromPoints=n;function o(...s){if(nt(_h(s,1),"No boxes provided"),s.length===1)return s[0];let c=1/0,u=1/0,d=-1/0,p=-1/0;for(const f of s)c=Math.min(c,f.x),u=Math.min(u,f.y),d=Math.max(d,f.x+f.width),p=Math.max(p,f.y+f.height);return{x:c,y:u,width:d-c,height:p-u}}e.merge=o;function a(s){return{x1:s.x,y1:s.y,x2:s.x+s.width,y2:s.y+s.height}}e.toRectBox=a;function i(s,c){return c===0?s:{x:s.x-c,y:s.y-c,width:s.width+c*2,height:s.height+c*2}}e.expand=i;function l(s,c){return c===0?s:{x:s.x+c,y:s.y+c,width:s.width-c*2,height:s.height-c*2}}e.shrink=l})(Qc||(Qc={}));var $8;(e=>{function r({x1:i,y1:l,x2:s,y2:c}){return{x:(i+s)/2,y:(l+c)/2}}e.center=r;function n(i){nt(i.length>0,"At least one point is required");let l=1/0,s=1/0,c=-1/0,u=-1/0;for(const[d,p]of i)l=Math.min(l,d),s=Math.min(s,p),c=Math.max(c,d),u=Math.max(u,p);return{x1:l,y1:s,x2:c,y2:u}}e.fromPoints=n;function o(...i){nt(i.length>0,"No boxes provided");let l=1/0,s=1/0,c=-1/0,u=-1/0;for(const d of i)l=Math.min(l,d.x1),s=Math.min(s,d.y1),c=Math.max(c,d.x2),u=Math.max(u,d.y2);return{x1:l,y1:s,x2:c,y2:u}}e.merge=o;function a(i){return{x:i.x1,y:i.y1,width:i.x2-i.x1,height:i.y2-i.y1}}e.toBBox=a})($8||($8={}));function nj(e){const r=typeof e=="string"?e:e.color;return r.startsWith("#")||r.startsWith("rgb")}const oj={done:!1,hasNext:!1};function G1(e,...r){let n=e,o=r.map(i=>"lazy"in i?C_e(i):void 0),a=0;for(;ae.map(r),A_e=e=>(r,n,o)=>({done:!1,hasNext:!0,next:e(r,n,o)});function N_e(e,r,n){let o=e.get(r);return o||(o=n(r),e.set(r,o)),o}var M8={},lj;function D_e(){return lj||(lj=1,(function(e){e.intersection=function(){if(arguments.length<2)throw new Error("mnemonist/Set.intersection: needs at least two arguments.");var r=new Set,n=1/0,o=null,a,i,l=arguments.length;for(i=0;in.size)return!1;for(;a=o.next(),!a.done;)if(!n.has(a.value))return!1;return!0},e.isSuperset=function(r,n){return e.isSubset(n,r)},e.add=function(r,n){for(var o=n.values(),a;a=o.next(),!a.done;)r.add(a.value)},e.subtract=function(r,n){for(var o=n.values(),a;a=o.next(),!a.done;)r.delete(a.value)},e.intersect=function(r,n){for(var o=r.values(),a;a=o.next(),!a.done;)n.has(a.value)||r.delete(a.value)},e.disjunct=function(r,n){for(var o=r.values(),a,i=[];a=o.next(),!a.done;)n.has(a.value)&&i.push(a.value);for(o=n.values();a=o.next(),!a.done;)r.has(a.value)||r.add(a.value);for(var l=0,s=i.length;ln.size&&(o=r,r=n,n=o),r.size===0)return 0;if(r===n)return r.size;for(var a=r.values(),i,l=0;i=a.next(),!i.done;)n.has(i.value)&&l++;return l},e.unionSize=function(r,n){var o=e.intersectionSize(r,n);return r.size+n.size-o},e.jaccard=function(r,n){var o=e.intersectionSize(r,n);if(o===0)return 0;var a=r.size+n.size-o;return o/a},e.overlap=function(r,n){var o=e.intersectionSize(r,n);return o===0?0:o/Math.min(r.size,n.size)}})(M8)),M8}var P_e=D_e();function O8(...e){let r=new Set;for(const n of e)for(const o of n)r.add(o);return r}function Wh(e,...r){let n=new Set;if(e.size===0)return n;let o=_h(r,2)?P_e.intersection(...r):r[0];if(o.size===0)return n;for(const a of e)o.has(a)&&n.add(a);return n}function I8(e,r){if(e.size===0)return new Set;if(r.size===0)return new Set(e);let n=new Set;for(const o of e)r.has(o)||n.add(o);return n}function $_e(e,r){return e.size===r.size&&[...e].every(n=>r.has(n))}function M_e(e){let r=5381;const n=e.length;nt(n>0,"stringHash: empty string");for(let o=0;o>>0).toString(36)}const L3=e=>typeof e=="function";function Nd(e,r){const n=r??e;nt(L3(n));function*o(a){for(const i of a)n(i)&&(yield i)}return r?o(e):o}function X1(e,r){const n=r??e;nt(L3(n));function o(a){for(const i of a)if(n(i))return i}return r?o(e):o}function sj(e){return e?cj(e):cj}function cj(e){for(const r of e)return r}function O_e(e,r){const n=e;nt(L3(n));function*o(a){for(const i of a)yield n(i)}return o}function K1(e){return e?Array.from(e):r=>Array.from(r)}function I_e(e){return e?new Set(e):r=>new Set(r)}function L_e(e,r){const n=r??e;nt(L3(n));function o(a){for(const i of a)if(n(i))return!0;return!1}return r?o(e):o}function z_e(e,r){const n=e;nt(n>=0,"Count must be a non-negative number");function*o(a){let i=0;for(const l of a){if(i>=n)break;yield l,i++}}return a=>o(a)}function B_e(e,r){let n=Math.ceil(e),o=Math.floor(r);if(o{setTimeout(()=>{n(j_e)},r??100)})}function z3(e){const r=Vc([...e]),n=new Set(r),o=new Map(r.map(l=>[l._literalId,l])),a=new so(()=>null),i=r.reduce((l,s,c,u)=>(l.set(s,u.slice(c+1).filter(PI(s)).map(d=>(n.delete(d),d)).reduce((d,p)=>(d.some(qn(p))||(d.push(p),a.set(p,s)),d),[])),l),new so(()=>[]));return{sorted:r,byId:l=>mt(o.get(l),`Element not found by id: ${l}`),root:n,parent:l=>a.get(l),children:l=>i.get(l),flatten:()=>new Set([...n,...r.reduce((l,s)=>{const c=i.get(s);return c.length===0?(l.push(s),l):(c.length>1&&l.push(...c),l)},[])])}}const L8=(e,r)=>e.size>2&&r.size!==e.size?new Set(Vc([...z3(e).flatten(),...r])):e.size>1?new Set(Vc([...e])):e;function uj(e,r,n){const o=c=>r.has(c);let a=new Set([e]);const i={incomers:new Set,subjects:new Set([e]),outgoers:new Set};let l=new Set(n.incoming.flatMap(c=>{if(i.subjects.add(c.target),i.incomers.add(c.source),a.add(c.target),c.target!==e){let p=c.target.parent;for(;p&&p!==e;)a.add(p),p=p.parent}let u=c.source;const d=[];for(;d.push(u),!(o(u)||!u.parent);)u=u.parent;return d})),s=new Set(n.outgoing.flatMap(c=>{if(i.subjects.add(c.source),i.outgoers.add(c.target),a.add(c.source),c.source!==e){let p=c.source.parent;for(;p&&p!==e;)a.add(p),p=p.parent}let u=c.target;const d=[];for(;d.push(u),!(o(u)||!u.parent);)u=u.parent;return d}));return{incomers:L8(l,i.incomers),incoming:new Set(n.incoming),subjects:L8(a,i.subjects),outgoing:new Set(n.outgoing),outgoers:L8(s,i.outgoers)}}function dj(e,r,n,o="global"){const a=n?r.findView(n):null;if(o==="view")return nt(a,'Scope view id is required when scope is "view"'),H_e(e,a,r);const i=r.element(e),l=I_e(i.ascendingSiblings());return uj(i,l,{incoming:[...i.incoming()],outgoing:[...i.outgoing()]})}function H_e(e,r,n){const o=n.element(e);let a={incoming:K1(Nd(o.incoming(),s=>r.includesRelation(s.id))),outgoing:K1(Nd(o.outgoing(),s=>r.includesRelation(s.id)))};const i=PI(o),l=new Set([...o.ascendingSiblings(),...G1(r.elements(),O_e(s=>s.element),Nd(s=>s!==o&&i(s)))]);return uj(o,l,a)}var pj;(e=>{e.isInside=r=>n=>qn(r,n.source.id)&&qn(r,n.target.id),e.isDirectedBetween=(r,n)=>o=>(o.source.id===r||qn(r,o.source.id))&&(o.target.id===n||qn(n,o.target.id)),e.isAnyBetween=(r,n)=>{const o=(0,e.isDirectedBetween)(r,n),a=(0,e.isDirectedBetween)(n,r);return i=>o(i)||a(i)},e.isIncoming=r=>n=>(n.target.id===r||qn(r,n.target.id))&&!qn(r,n.source.id),e.isOutgoing=r=>n=>(n.source.id===r||qn(r,n.source.id))&&!qn(r,n.target.id),e.isAnyInOut=r=>{const n=(0,e.isIncoming)(r),o=(0,e.isOutgoing)(r);return a=>n(a)||o(a)}})(pj||(pj={}));const q_e=Symbol.for("nodejs.util.inspect.custom");function U_e(e,r){let n=r.length-e.length;if(n===1){let[o,...a]=r;return G1(o,{lazy:e,lazyArgs:a})}if(n===0){let o={lazy:e,lazyArgs:r};return Object.assign(a=>G1(a,o),o)}throw Error("Wrong number of arguments")}function Gh(e){return e===""||e===void 0?!0:Array.isArray(e)?e.length===0:Object.keys(e).length===0}function V_e(...e){return ba(Y_e,e)}const Y_e=e=>e.length===1?e[0]:void 0;function z8(...e){return U_e(W_e,e)}function W_e(){let e=new Set;return r=>e.has(r)?oj:(e.add(r),{done:!1,hasNext:!0,next:r})}class hj{get style(){return cr(this,"style",()=>U1({shape:this.$model.$styles.defaults.shape,color:this.$model.$styles.defaults.color,border:this.$model.$styles.defaults.border,opacity:this.$model.$styles.defaults.opacity,size:this.$model.$styles.defaults.size,padding:this.$model.$styles.defaults.padding,textSize:this.$model.$styles.defaults.text,...this.$node.style}))}get name(){return g1(this.id)}get shape(){return this.style.shape}get color(){return this.style.color}get summary(){return Kt.memoize(this,"summary",i3(this.$node))}get description(){return Kt.memoize(this,"description",l3(this.$node))}get technology(){return this.$node.technology??null}get links(){return this.$node.links??[]}ancestors(){return this.$model.ancestors(this)}commonAncestor(r){const n=b1(this.id,r.id);return n?this.$model.node(n):null}siblings(){return this.$model.siblings(this)}isSibling(r){return this.parent===r.parent}*ascendingSiblings(){yield*this.siblings();for(const r of this.ancestors())yield*r.siblings()}*descendingSiblings(){for(const r of[...this.ancestors()].reverse())yield*r.siblings();yield*this.siblings()}incoming(r="all"){return this.$model.incoming(this,r)}outgoing(r="all"){return this.$model.outgoing(this,r)}*incomers(r="all"){const n=new Set;for(const o of this.incoming(r))n.has(o.source.id)||(n.add(o.source.id),yield o.source)}*outgoers(r="all"){const n=new Set;for(const o of this.outgoing(r))n.has(o.target.id)||(n.add(o.target.id),yield o.target)}*views(){for(const r of this.$model.views())r._type==="deployment"&&r.includesDeployment(this.id)&&(yield r)}isDeploymentNode(){return!1}isInstance(){return!1}get allOutgoing(){return cr(this,Symbol.for("allOutgoing"),()=>Jc.from(new Set(this.outgoingModelRelationships()),new Set(this.outgoing())))}get allIncoming(){return cr(this,Symbol.for("allIncoming"),()=>Jc.from(new Set(this.incomingModelRelationships()),new Set(this.incoming())))}hasMetadata(){return!!this.$node.metadata&&!Gh(this.$node.metadata)}getMetadata(r){return r?this.$node.metadata?.[r]:this.$node.metadata??{}}isTagged(r){return this.tags.includes(r)}}class fj extends hj{constructor(r,n){super(),this.$model=r,this.$node=n,this.id=n.id,this._literalId=n.id,this.title=n.title,this.hierarchyLevel=o3(n.id)}id;_literalId;title;hierarchyLevel;get parent(){return this.$model.parent(this)}get kind(){return this.$node.kind}get tags(){return cr(this,Symbol.for("tags"),()=>z8([...this.$node.tags??[],...this.$model.$model.specification.deployments[this.kind]?.tags??[]]))}children(){return this.$model.children(this)}descendants(r="desc"){return this.$model.descendants(this,r)}isDeploymentNode(){return!0}*instances(){for(const r of this.descendants("desc"))r.isInstance()&&(yield r)}onlyOneInstance(){const r=this.children();if(r.size!==1)return null;const n=V_e([...r]);return n?.isInstance()?n:null}_relationshipsFromInstances=null;relationshipsFromInstances(){if(this._relationshipsFromInstances)return this._relationshipsFromInstances;const{outgoing:r,incoming:n}=this._relationshipsFromInstances={outgoing:new Set,incoming:new Set};for(const o of this.instances()){for(const a of o.element.outgoing())r.add(a);for(const a of o.element.incoming())n.add(a)}return this._relationshipsFromInstances}outgoingModelRelationships(){return this.relationshipsFromInstances().outgoing.values()}incomingModelRelationships(){return this.relationshipsFromInstances().incoming.values()}internalModelRelationships(){const{outgoing:r,incoming:n}=this.relationshipsFromInstances();return Wh(n,r)}}class mj extends hj{constructor(r,n,o){super(),this.$model=r,this.$instance=n,this.element=o,this.id=n.id,this._literalId=n.id,this.title=n.title??o.title,this.hierarchyLevel=o3(n.id)}id;_literalId;title;hierarchyLevel;get $node(){return this.$instance}get parent(){return mt(this.$model.parent(this),`Parent of ${this.id} not found`)}get style(){return cr(this,"style",()=>U1({shape:this.$model.$styles.defaults.shape,color:this.$model.$styles.defaults.color,border:this.$model.$styles.defaults.border,opacity:this.$model.$styles.defaults.opacity,size:this.$model.$styles.defaults.size,padding:this.$model.$styles.defaults.padding,textSize:this.$model.$styles.defaults.text,...this.element.$element.style,...this.$instance.style}))}get tags(){return cr(this,Symbol.for("tags"),()=>z8([...this.$instance.tags??[],...this.element.tags]))}get kind(){return this.element.kind}get summary(){return Kt.memoize(this,"summary",i3(this.$instance)??i3(this.element.$element))}get description(){return Kt.memoize(this,"description",l3(this.$instance)??l3(this.element.$element))}get technology(){return this.$instance.technology??this.element.technology??null}get links(){return this.$instance.links??this.element.links}isInstance(){return!0}outgoingModelRelationships(){return this.element.outgoing()}incomingModelRelationships(){return this.element.incoming()}*views(){for(const r of this.$model.views())if(r._type==="deployment"){if(r.includesDeployment(this.id)){yield r;continue}r.includesDeployment(this.parent.id)&&this.parent.onlyOneInstance()&&(yield r)}}}class G_e{constructor(r,n){this.instance=r,this.element=n}get id(){return this.instance.id}get _literalId(){return this.instance.id}get style(){return cr(this,"style ",()=>({shape:this.element.shape,color:this.element.color,...this.element.$element.style}))}get shape(){return this.element.shape}get color(){return this.element.color}get title(){return this.element.title}get summary(){return this.element.summary}get description(){return this.element.description}get technology(){return this.element.technology}isDeploymentNode(){return!1}isInstance(){return!1}}class X_e{constructor(r,n){this.$model=r,this.$relationship=n,this.source=r.deploymentRef(n.source),this.target=r.deploymentRef(n.target);const o=b1(this.source.id,this.target.id);this.boundary=o?this.$model.node(o):null}boundary;source;target;get id(){return this.$relationship.id}get expression(){return`${this.source.id} -> ${this.target.id}`}get title(){return Is(this.$relationship.title)?this.$relationship.title:null}get technology(){return this.$relationship.technology??null}get description(){return Kt.memoize(this,"description",this.$relationship.description)}get tags(){return this.$relationship.tags??[]}get kind(){return this.$relationship.kind??null}get navigateTo(){return this.$relationship.navigateTo?this.$model.$model.view(this.$relationship.navigateTo):null}get links(){return this.$relationship.links??[]}get color(){return this.$relationship.color??this.$model.$styles.defaults.relationship.color}get line(){return this.$relationship.line??this.$model.$styles.defaults.relationship.line}get head(){return this.$relationship.head??this.$model.$styles.defaults.relationship.arrow}get tail(){return this.$relationship.tail}*views(){for(const r of this.$model.views())r.includesRelation(this.id)&&(yield r)}isDeploymentRelation(){return!0}isModelRelation(){return!1}hasMetadata(){return!!this.$relationship.metadata&&!Gh(this.$relationship.metadata)}getMetadata(r){return r?this.$relationship.metadata?.[r]:this.$relationship.metadata??{}}isTagged(r){return this.tags.includes(r)}}class Jc{constructor(r=new Set,n=new Set){this.model=r,this.deployment=n}static empty(){return new Jc}static from(r,n){return new Jc(new Set(r),new Set(n))}get isEmpty(){return this.model.size===0&&this.deployment.size===0}get nonEmpty(){return this.model.size>0||this.deployment.size>0}get size(){return this.model.size+this.deployment.size}intersect(r){return Jc.from(Wh(this.model,r.model),Wh(this.deployment,r.deployment))}difference(r){return Jc.from(I8(this.model,r.model),I8(this.deployment,r.deployment))}union(r){return Jc.from(O8(this.model,r.model),O8(this.deployment,r.deployment))}}function gj(e,r){return n=>e.source===n.source&&e.target===n.target}function B8(e,r,n="directed"){if(e===r)return[];if(DI(e,r))return[];const o=Wh(e.allOutgoing,r.allIncoming),a=o.size>0?new ti(e,r,o):null;if(n==="directed")return a?[a]:[];const i=Wh(e.allIncoming,r.allOutgoing),l=i.size>0?new ti(r,e,i):null;return a&&l?[a,l]:a?[a]:l?[l]:[]}function yj(e,r,n="both"){if(e.allIncoming.size===0&&e.allOutgoing.size===0)return[];const o=[],a=[];for(const i of r)if(e!==i)for(const l of B8(e,i,n))l.source===e?o.push(l):a.push(l);return[...o,...a]}function K_e(e){return[...e].reduce((r,n,o,a)=>(o===a.length-1||r.push(...yj(n,a.slice(o+1),"both")),r),[])}const Z_e={__proto__:null,findConnection:B8,findConnectionsBetween:yj,findConnectionsWithin:K_e};class ti{constructor(r,n,o=new Set){this.source=r,this.target=n,this.relations=o,this.id=M_e(`model:${r.id}:${n.id}`)}id;_boundary;get boundary(){return this._boundary??=this.source.commonAncestor(this.target)}get expression(){return`${this.source.id} -> ${this.target.id}`}get isDirect(){return this.nonEmpty()&&!this.isImplicit}get isImplicit(){return this.nonEmpty()&&L_e(this.relations,tj(gj(this)))}get directRelations(){return new Set(Nd(this.relations,gj(this)))}nonEmpty(){return this.relations.size>0}mergeWith(r){return nt(this.source.id===r.source.id,"Cannot merge connections with different sources"),nt(this.target.id===r.target.id,"Cannot merge connections with different targets"),new ti(this.source,this.target,O8(this.relations,r.relations))}difference(r){return new ti(this.source,this.target,I8(this.relations,r.relations))}intersect(r){return nt(r instanceof ti,"Cannot intersect connection with different type"),new ti(this.source,this.target,Wh(this.relations,r.relations))}equals(r){nt(r instanceof ti,"Cannot merge connection with different type");const n=r;return this.id===n.id&&this.source.id===n.source.id&&this.target.id===n.target.id&&$_e(this.relations,n.relations)}update(r){return new ti(this.source,this.target,r)}[q_e](r,n,o){const a=this.toString();return Object.defineProperty(a,"constructor",{value:ti,enumerable:!1}),a}toString(){return[this.expression,this.relations.size?" relations:":" relations: [ ]",...[...this.relations].map(r=>" "+r.expression)].join(` -`)}reversed(r=!1){if(!r)return new ti(this.target,this.source);const[n]=B8(this.target,this.source,"directed");return n??new ti(this.target,this.source,new Set)}}const bj={asc:(e,r)=>e>r,desc:(e,r)=>ee(i,a)}function j8(e,r,...n){let o=typeof e=="function"?e:e[0],a=typeof e=="function"?"asc":e[1],{[a]:i}=bj,l=r===void 0?void 0:j8(r,...n);return(s,c)=>{let u=o(s),d=o(c);return i(u,d)?1:i(d,u)?-1:l?.(s,c)??0}}function J_e(e){if(vj(e))return!0;if(typeof e!="object"||!Array.isArray(e))return!1;let[r,n,...o]=e;return vj(r)&&typeof n=="string"&&n in bj&&o.length===0}const vj=e=>typeof e=="function"&&e.length===1;function xj(...e){return ba(Object.entries,e)}function e8e(...e){return ba(t8e,e)}function t8e(e,r){if(e===r||Object.is(e,r))return!0;if(typeof e!="object"||!e||typeof r!="object"||!r)return!1;if(e instanceof Map&&r instanceof Map)return r8e(e,r);if(e instanceof Set&&r instanceof Set)return n8e(e,r);let n=Object.keys(e);if(n.length!==Object.keys(r).length)return!1;for(let o of n){if(!Object.hasOwn(r,o))return!1;let{[o]:a}=e,{[o]:i}=r;if(a!==i||!Object.is(a,i))return!1}return!0}function r8e(e,r){if(e.size!==r.size)return!1;for(let[n,o]of e){let a=r.get(n);if(o!==a||!Object.is(o,a))return!1}return!0}function n8e(e,r){if(e.size!==r.size)return!1;for(let n of e)if(!r.has(n))return!1;return!0}function o8e(...e){return ba(a8e,e)}const a8e=e=>e.at(-1);function i8e(e,...r){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"?n=>wj(n,e,...r):wj(e,...r)}function wj(e,...r){let n=e;for(let o of r){if(n==null)return;n=n[o]}return n}function F8(...e){return ba(l8e,e)}function l8e(e,r){let n=[...e];return n.sort(r),n}function s8e(...e){return Q_e(c8e,e)}const c8e=(e,r)=>[...e].sort(r);function kj(e,r,n){return typeof r=="number"||r===void 0?o=>o.split(e,r):e.split(r,n)}function B3(...e){return ba(Object.values,e)}class j3{constructor(r,n){this.$model=r,this.$element=n,this.id=this.$element.id,this._literalId=this.$element.id;const[o,a]=Qye(this.id);o?(this.imported={from:o,fqn:a},this.hierarchyLevel=o3(a)):(this.imported=null,this.hierarchyLevel=o3(this.id))}id;_literalId;hierarchyLevel;imported;get name(){return g1(this.id)}get parent(){return this.$model.parent(this)}get kind(){return this.$element.kind}get shape(){return this.style.shape}get color(){return this.style.color}get icon(){return this.style.icon??null}get tags(){return cr(this,Symbol.for("tags"),()=>z8([...this.$element.tags??[],...this.$model.specification.elements[this.$element.kind]?.tags??[]]))}get title(){return this.$element.title}get hasSummary(){return!!this.$element.summary&&!!this.$element.description&&!e8e(this.$element.summary,this.$element.description)}get summary(){return Kt.memoize(this,"summary",i3(this.$element))}get description(){return Kt.memoize(this,"description",l3(this.$element))}get technology(){return this.$element.technology??null}get links(){return this.$element.links??[]}get defaultView(){return cr(this,Symbol.for("defaultView"),()=>sj(this.scopedViews())??null)}get isRoot(){return this.parent===null}get style(){return cr(this,"style",()=>U1({shape:this.$model.$styles.defaults.shape,color:this.$model.$styles.defaults.color,border:this.$model.$styles.defaults.border,opacity:this.$model.$styles.defaults.opacity,size:this.$model.$styles.defaults.size,padding:this.$model.$styles.defaults.padding,textSize:this.$model.$styles.defaults.text,...this.$element.style}))}isAncestorOf(r){return qn(this,r)}isDescendantOf(r){return qn(r,this)}ancestors(){return this.$model.ancestors(this)}commonAncestor(r){const n=b1(this.id,r.id);return n?this.$model.element(n):null}children(){return this.$model.children(this)}descendants(r){return r?$I([...this.$model.descendants(this)],r)[Symbol.iterator]():this.$model.descendants(this)}siblings(){return this.$model.siblings(this)}*ascendingSiblings(){yield*this.siblings();for(const r of this.ancestors())yield*r.siblings()}*descendingSiblings(){for(const r of[...this.ancestors()].reverse())yield*r.siblings();yield*this.siblings()}incoming(r="all"){return this.$model.incoming(this,r)}*incomers(r="all"){const n=new Set;for(const o of this.incoming(r))n.has(o.source.id)||(n.add(o.source.id),yield o.source)}outgoing(r="all"){return this.$model.outgoing(this,r)}*outgoers(r="all"){const n=new Set;for(const o of this.outgoing(r))n.has(o.target.id)||(n.add(o.target.id),yield o.target)}get allOutgoing(){return cr(this,Symbol.for("allOutgoing"),()=>new Set(this.outgoing()))}get allIncoming(){return cr(this,Symbol.for("allIncoming"),()=>new Set(this.incoming()))}views(){return cr(this,Symbol.for("views"),()=>{const r=new Set;for(const n of this.$model.views())n.includesElement(this.id)&&r.add(n);return r})}scopedViews(){return cr(this,Symbol.for("scopedViews"),()=>{const r=new Set;for(const n of this.$model.views())n.isScopedElementView()&&n.viewOf.id===this.id&&r.add(n);return r})}isDeployed(){return Is(sj(this.deployments()))}deployments(){return this.$model.deployment.instancesOf(this)}hasMetadata(){return!!this.$element.metadata&&!Gh(this.$element.metadata)}getMetadata(r){return r?this.$element.metadata?.[r]:this.$element.metadata??{}}isTagged(r){return this.tags.includes(r)}}const hr=e=>typeof e=="string"?e:e.id,ka="/",H8=e=>{if(nt(!e.includes(` -`),"View title cannot contain newlines"),e.includes(ka)){const r=e.split(ka).map(n=>n.trim()).filter(n=>n.length>0);return _h(r,1)?r:[""]}return[e.trim()]},F3=e=>H8(e).join(ka),u8e=e=>{const r=H8(e);return _h(r,2)?r.slice(0,-1).join(ka):null},d8e=e=>e.includes(ka)?H8(e).pop()??e:e.trim();class p8e{constructor(r){this.$model=r;const n=this.$deployments=r.$data.deployments,o=B3(n.elements);for(const a of Vc(o)){const i=this.addElement(a);for(const l of i.tags)this.#s.get(l).add(i);i.isInstance()&&this.#a.get(i.element.id).add(i)}for(const a of B3(n.relations)){const i=this.addRelation(a);for(const l of i.tags)this.#s.get(l).add(i)}}#e=new Map;#t=new Map;#r=new so(()=>new Set);#a=new so(()=>new Set);#i=new Set;#n=new Map;#o=new so(()=>new Set);#l=new so(()=>new Set);#c=new so(()=>new Set);#s=new so(()=>new Set);#u=new Map;$deployments;get $styles(){return this.$model.$styles}element(r){if(r instanceof fj||r instanceof mj)return r;const n=hr(r);return mt(this.#e.get(n),`Element ${n} not found`)}findElement(r){return this.#e.get(r)??null}node(r){const n=this.element(r);return nt(n.isDeploymentNode(),`Element ${n.id} is not a deployment node`),n}findNode(r){const n=this.findElement(r);return n?(nt(n.isDeploymentNode(),`Element ${n?.id} is not a deployment node`),n):null}instance(r){const n=this.element(r);return nt(n.isInstance(),`Element ${n.id} is not a deployed instance`),n}findInstance(r){const n=this.findElement(r);return n?(nt(n.isInstance(),`Element ${n?.id} is not a deployed instance`),n):null}roots(){return this.#i.values()}elements(){return this.#e.values()}*nodes(){for(const r of this.#e.values())r.isDeploymentNode()&&(yield r)}*nodesOfKind(r){for(const n of this.#e.values())n.isDeploymentNode()&&n.kind===r&&(yield n)}*instances(){for(const r of this.#e.values())r.isInstance()&&(yield r)}*instancesOf(r){const n=hr(r),o=this.#a.get(n);o&&(yield*o)}deploymentRef(r){if(W1.isInsideInstanceRef(r)){const{deployment:n,element:o}=r;return N_e(this.#u,`${n}@${o}`,()=>new G_e(this.instance(n),this.$model.element(o)))}return this.element(r.deployment)}relationships(){return this.#n.values()}relationship(r){return mt(this.#n.get(hr(r)),`DeploymentRelationModel ${r} not found`)}findRelationship(r){return this.#n.get(r)??null}*views(){for(const r of this.$model.views())r.isDeploymentView()&&(yield r)}parent(r){const n=hr(r);return this.#t.get(n)||null}children(r){const n=hr(r);return this.#r.get(n)}*siblings(r){const n=hr(r),o=this.parent(r)?.children()??this.roots();for(const a of o)a.id!==n&&(yield a)}*ancestors(r){let n=hr(r),o;for(;o=this.#t.get(n);)yield o,n=o.id}*descendants(r,n="desc"){for(const o of this.children(r))n==="asc"?(yield o,yield*this.descendants(o.id)):(yield*this.descendants(o.id),yield o)}*incoming(r,n="all"){const o=hr(r);for(const a of this.#o.get(o))switch(!0){case n==="all":case(n==="direct"&&a.target.id===o):case(n==="to-descendants"&&a.target.id!==o):yield a;break}}*outgoing(r,n="all"){const o=hr(r);for(const a of this.#l.get(o))switch(!0){case n==="all":case(n==="direct"&&a.source.id===o):case(n==="from-descendants"&&a.source.id!==o):yield a;break}}addElement(r){if(this.#e.has(r.id))throw new Error(`Element ${r.id} already exists`);const n=b_e(r)?new fj(this,Object.freeze(r)):new mj(this,Object.freeze(r),this.$model.element(r.element));this.#e.set(n.id,n);const o=n3(n.id);return o?(nt(this.#e.has(o),`Parent ${o} of ${n.id} not found`),this.#t.set(n.id,this.node(o)),this.#r.get(o).add(n)):(nt(n.isDeploymentNode(),`Root element ${n.id} is not a deployment node`),this.#i.add(n)),n}addRelation(r){if(this.#n.has(r.id))throw new Error(`Relation ${r.id} already exists`);const n=new X_e(this,Object.freeze(r));this.#n.set(n.id,n),this.#o.get(n.target.id).add(n),this.#l.get(n.source.id).add(n);const o=n.boundary?.id??null;if(o)for(const a of[o,...bd(o)])this.#c.get(a).add(n);for(const a of bd(n.source.id)){if(a===o)break;this.#l.get(a).add(n)}for(const a of bd(n.target.id)){if(a===o)break;this.#o.get(a).add(n)}return n}}class _j{constructor(r,n){this.model=r,this.$relationship=n,this.source=r.element(W1.flatten(n.source)),this.target=r.element(W1.flatten(n.target));const o=b1(this.source.id,this.target.id);this.boundary=o?this.model.element(o):null}source;target;boundary;get id(){return this.$relationship.id}get expression(){return`${this.source.id} -> ${this.target.id}`}get title(){return Is(this.$relationship.title)?this.$relationship.title:null}get technology(){return Is(this.$relationship.technology)?this.$relationship.technology:null}get description(){return Kt.memoize(this,"description",this.$relationship.description)}get navigateTo(){return this.$relationship.navigateTo?this.model.view(this.$relationship.navigateTo):null}get tags(){return this.$relationship.tags??[]}get kind(){return this.$relationship.kind??null}get links(){return this.$relationship.links??[]}get color(){return this.$relationship.color??this.model.$styles.defaults.relationship.color}get line(){return this.$relationship.line??this.model.$styles.defaults.relationship.line}get head(){return this.$relationship.head??this.model.$styles.defaults.relationship.arrow}get tail(){return this.$relationship.tail}*views(){for(const r of this.model.views())r.includesRelation(this.id)&&(yield r)}isDeploymentRelation(){return!1}isModelRelation(){return!0}hasMetadata(){return!!this.$relationship.metadata&&!Gh(this.$relationship.metadata)}getMetadata(r){return r?this.$relationship.metadata?.[r]:this.$relationship.metadata??{}}isTagged(r){return this.tags.includes(r)}}class h8e{constructor(r,n,o,a){this.view=r,this.$edge=n,this.source=o,this.target=a,this.#e=n}#e;get id(){return this.#e.id}get parent(){return this.#e.parent?this.view.node(this.#e.parent):null}get label(){return this.#e.label??null}get description(){return Kt.memoize(this,"description",this.#e.description)}get technology(){return this.#e.technology??null}hasParent(){return this.#e.parent!==null}get tags(){return this.#e.tags??[]}get stepNumber(){return this.isStep()?jI(this.id):null}get navigateTo(){return this.#e.navigateTo?this.view.$model.view(this.#e.navigateTo):null}get color(){return this.#e.color}get line(){return this.#e.line??this.view.$model.$styles.defaults.relationship.line}get head(){return this.#e.head??this.view.$model.$styles.defaults.relationship.arrow}get tail(){return this.#e.tail}isStep(){return v1(this.id)}*relationships(r){for(const n of this.#e.relations)if(r){const o=this.view.$model.findRelationship(n,r);o&&(yield o)}else yield this.view.$model.relationship(n)}includesRelation(r){const n=typeof r=="string"?r:r.id;return this.#e.relations.includes(n)}isTagged(r){return this.tags.includes(r)}}class f8e{constructor(r,n){this.$view=r,this.$node=n,this.#e=n}#e;get id(){return this.#e.id}get title(){return this.#e.title}get kind(){return this.#e.kind}get description(){return Kt.memoize(this,"description",this.#e.description)}get technology(){return this.#e.technology??null}get parent(){return this.#e.parent?this.$view.node(this.#e.parent):null}get element(){const r=this.#e.modelRef;return r?this.$view.$model.element(r):null}get deployment(){const r=this.#e.deploymentRef;return r?this.$view.$model.deployment.element(r):null}get shape(){return this.#e.shape}get color(){return this.#e.color}get icon(){return this.#e.icon??null}get tags(){return this.#e.tags}get links(){return this.#e.links??[]}get navigateTo(){return this.#e.navigateTo?this.$view.$model.view(this.#e.navigateTo):null}get style(){return this.#e.style}children(){return cr(this,"children",()=>new Set(this.#e.children.map(r=>this.$view.node(r))))}*ancestors(){let r=this.parent;for(;r;)yield r,r=r.parent}*siblings(){const r=this.parent?.children()??this.$view.roots();for(const n of r)n.id!==this.id&&(yield n)}*incoming(r="all"){for(const n of this.#e.inEdges){const o=this.$view.edge(n);switch(!0){case r==="all":case(r==="direct"&&o.target.id===this.id):case(r==="to-descendants"&&o.target.id!==this.id):yield o;break}}}*incomers(r="all"){const n=new Set;for(const o of this.incoming(r))n.has(o.source.id)||(n.add(o.source.id),yield o.source)}*outgoing(r="all"){for(const n of this.#e.outEdges){const o=this.$view.edge(n);switch(!0){case r==="all":case(r==="direct"&&o.source.id===this.id):case(r==="from-descendants"&&o.source.id!==this.id):yield o;break}}}*outgoers(r="all"){const n=new Set;for(const o of this.outgoing(r))n.has(o.target.id)||(n.add(o.target.id),yield o.target)}isDiagramNode(){return"width"in this.#e&&"height"in this.#e}hasChildren(){return this.#e.children.length>0}hasParent(){return this.#e.parent!==null}hasElement(){return Is(this.#e.modelRef)}hasDeployment(){return Is(this.#e.deploymentRef)}hasDeployedInstance(){return this.hasElement()&&this.hasDeployment()}isGroup(){return Kye(this.#e)}isTagged(r){return this.tags.includes(r)}}class q8{Aux;#e=new Set;#t=new Map;#r=new Map;#a=new Set;#i=new Set;#n=new Set;#o=new so(r=>new Set);$view;$model;title;folder;viewPath;constructor(r,n,o){this.$model=r,this.$view=n,this.folder=o;for(const a of n.nodes){const i=new f8e(this,Object.freeze(a));this.#t.set(a.id,i),a.parent||this.#e.add(i),i.hasDeployment()&&this.#i.add(i.deployment.id),i.hasElement()&&this.#a.add(i.element.id);for(const l of i.tags)this.#o.get(l).add(i)}for(const a of n.edges){const i=new h8e(this,Object.freeze(a),this.node(a.source),this.node(a.target));for(const l of i.tags)this.#o.get(l).add(i);for(const l of a.relations)this.#n.add(l);this.#r.set(a.id,i)}this.title=this.$view.title?d8e(this.$view.title):null,this.viewPath=this.$view.title?F3(this.$view.title):this.$view.id}get _type(){return this.$view[Y1]}get id(){return this.$view.id}get titleOrId(){return this.title??this.viewOf?.title??this.id}get titleOrUntitled(){return this.title??"Untitled"}get breadcrumbs(){return cr(this,"breadcrumbs",()=>this.folder.isRoot?[this]:[...this.folder.breadcrumbs,this])}get description(){return Kt.memoize(this,"description",this.$view.description)}get tags(){return this.$view.tags??[]}get links(){return this.$view.links??[]}get viewOf(){if(this.isElementView()){const r=this.$view.viewOf;return r?this.$model.element(r):null}return null}get mode(){if(this.isDynamicView())return this.$view.variant??"diagram";throw new Error("View is not dynamic")}get includedTags(){return[...this.#o.keys()]}roots(){return this.#e.values()}*compounds(){for(const r of this.#t.values())r.hasChildren()&&(yield r)}node(r){const n=hr(r);return mt(this.#t.get(n),`Node ${n} not found in view ${this.$view.id}`)}findNode(r){return this.#t.get(hr(r))??null}findNodeWithElement(r){const n=hr(r);return X1(this.#t.values(),o=>o.hasElement()&&o.element.id===n)??null}nodes(){return this.#t.values()}edge(r){const n=hr(r);return mt(this.#r.get(n),`Edge ${n} not found in view ${this.$view.id}`)}findEdge(r){return this.#r.get(hr(r))??null}edges(){return this.#r.values()}*edgesWithRelation(r){for(const n of this.#r.values())n.includesRelation(r)&&(yield n)}*elements(){for(const r of this.#t.values())r.hasElement()&&(yield r)}isTagged(r){return this.tags.includes(r)}includesElement(r){return this.#a.has(hr(r))}includesDeployment(r){return this.#i.has(hr(r))}includesRelation(r){return this.#n.has(hr(r))}isComputed(){return this.$view[V1]==="computed"}isDiagram(){return this.$view[V1]==="layouted"}isElementView(){return this.$view[Y1]==="element"}isScopedElementView(){return this.$view[Y1]==="element"&&Is(this.$view.viewOf)}isDeploymentView(){return this.$view[Y1]==="deployment"}isDynamicView(){return this.$view[Y1]==="dynamic"}}class H3{$model;path;title;isRoot;parentPath;defaultViewId;constructor(r,n,o){this.$model=r,this.path=n.join("/"),this.isRoot=this.path==="",this.title=o8e(n),this.isRoot?this.parentPath=void 0:this.parentPath=n.slice(0,-1).join("/"),this.defaultViewId=o}get defaultView(){return this.defaultViewId?this.$model.view(this.defaultViewId):null}get breadcrumbs(){return nt(!this.isRoot,"Root view folder has no breadcrumbs"),cr(this,"breadcrumbs",()=>{const r=this.parent;return r?r.isRoot?[r,this]:[...r.breadcrumbs,this]:[this]})}get parent(){return nt(!this.isRoot,"Root view folder has no parent"),Gh(this.parentPath)?null:this.$model.viewFolder(this.parentPath)}get children(){return this.$model.viewFolderItems(this.path)}get folders(){return cr(this,"folders",()=>{const r=[];for(const n of this.children)n instanceof H3&&r.push(n);return r})}get views(){return cr(this,"views",()=>{const r=[];for(const n of this.children)n instanceof q8&&r.push(n);return r})}}class Dd{Aux;_elements=new Map;_parents=new Map;_children=new so(()=>new Set);_rootElements=new Set;_relations=new Map;_incoming=new so(()=>new Set);_outgoing=new so(()=>new Set);_internal=new so(()=>new Set);_views=new Map;_rootViewFolder;_viewFolders=new Map;_viewFolderItems=new so(()=>new Set);_allTags=new so(()=>new Set);static fromParsed(r){return new Dd(r).asParsed}static create(r){return new Dd(r)}static fromDump(r){const{_stage:n="layouted",projectId:o="unknown",project:a,globals:i,imports:l,deployments:s,views:c,relations:u,elements:d,specification:p}=r;return new Dd({[V1]:n,projectId:o,project:a,globals:{predicates:i?.predicates??{},dynamicPredicates:i?.dynamicPredicates??{},styles:i?.styles??{}},imports:l??{},deployments:{elements:s?.elements??{},relations:s?.relations??{}},views:c??{},relations:u??{},elements:d??{},specification:p})}deployment;$data;constructor(r){this.$data=r;for(const[,n]of xj(r.elements)){const o=this.addElement(n);for(const a of o.tags)this._allTags.get(a).add(o)}for(const[n,o]of xj(r.imports??{}))for(const a of Vc(o)){const i=this.addImportedElement(n,a);for(const l of i.tags)this._allTags.get(l).add(i)}for(const n of B3(r.relations)){const o=this.addRelation(n);for(const a of o.tags)this._allTags.get(a).add(o)}if(this.deployment=new p8e(this),rj(r,"computed")||rj(r,"layouted")){const n=NI(ka),o=G1(B3(r.views),ij(i=>({view:i,path:F3(i.title??i.id),folderPath:i.title&&u8e(i.title)||""})),F8((i,l)=>n(i.folderPath,l.folderPath))),a=i=>{let l=this._viewFolders.get(i);if(!l){const s=kj(i,ka);nt(_h(s,1),`View group path "${i}" must have at least one element`);let c;i===""?c=o.find(u=>u.view.id==="index"):c=o.find(u=>u.path===i),l=new H3(this,s,c?.view.id),this._viewFolders.set(i,l)}return l};this._rootViewFolder=a("");for(const{folderPath:i}of o)this._viewFolders.has(i)||kj(i,ka).reduce((l,s)=>{const c=l.join(ka),u=Gh(c)?s:c+ka+s,d=a(u);return this._viewFolderItems.get(c).add(d),l.push(s),l},[]);for(const{view:i,folderPath:l}of o){const s=new q8(this,i,a(l));this._viewFolderItems.get(l).add(s),this._views.set(i.id,s);for(const c of s.tags)this._allTags.get(c).add(s)}}else this._rootViewFolder=new H3(this,[""],void 0),this._viewFolders.set(this._rootViewFolder.path,this._rootViewFolder)}get asParsed(){return this}get asComputed(){return this}get asLayouted(){return this}get $styles(){return cr(this,"styles",()=>TI.from(this.$data.project.styles,this.$data.specification.customColors?{theme:{colors:this.$data.specification.customColors}}:void 0))}isParsed(){return this.stage==="parsed"}isLayouted(){return this.stage==="layouted"}isComputed(){return this.stage==="computed"}get $model(){return this.$data}get stage(){return this.$data[V1]}get projectId(){return this.$data.projectId??"default"}get project(){return this.$data.project??cr(this,Symbol.for("project"),()=>({id:this.projectId}))}get specification(){return this.$data.specification}get globals(){return cr(this,Symbol.for("globals"),()=>({predicates:{...this.$data.globals?.predicates},dynamicPredicates:{...this.$data.globals?.dynamicPredicates},styles:{...this.$data.globals?.styles}}))}element(r){if(r instanceof j3)return r;const n=hr(r);return mt(this._elements.get(n),`Element ${n} not found`)}findElement(r){return this._elements.get(hr(r))??null}roots(){return this._rootElements.values()}elements(){return this._elements.values()}relationships(){return this._relations.values()}relationship(r,n){if(n==="deployment")return this.deployment.relationship(r);const o=hr(r);let a=this._relations.get(o)??null;return a||n==="model"?mt(a,`Model relation ${o} not found`):mt(this.deployment.findRelationship(o),`No model/deployment relation ${o} not found`)}findRelationship(r,n){if(n==="deployment")return this.deployment.findRelationship(r);let o=this._relations.get(hr(r))??null;return o||n==="model"?o:this.deployment.findRelationship(r)}views(){return this._views.values()}view(r){const n=hr(r);return mt(this._views.get(n),`View ${n} not found`)}findView(r){return this._views.get(r)??null}viewFolder(r){return mt(this._viewFolders.get(r),`View folder ${r} not found`)}get rootViewFolder(){return this._rootViewFolder}get hasViewFolders(){return this._viewFolders.size>1}viewFolderItems(r){return nt(this._viewFolders.has(r),`View folder ${r} not found`),this._viewFolderItems.get(r)}parent(r){const n=hr(r);return this._parents.get(n)||null}children(r){const n=hr(r);return this._children.get(n)}*siblings(r){const n=hr(r),o=this._parents.get(n),a=o?this._children.get(o.id).values():this.roots();for(const i of a)i.id!==n&&(yield i)}*ancestors(r){let n=hr(r),o;for(;o=this._parents.get(n);)yield o,n=o.id}*descendants(r){for(const n of this.children(r))yield n,yield*this.descendants(n.id)}*incoming(r,n="all"){const o=hr(r);for(const a of this._incoming.get(o))switch(!0){case n==="all":case(n==="direct"&&a.target.id===o):case(n==="to-descendants"&&a.target.id!==o):yield a;break}}*outgoing(r,n="all"){const o=hr(r);for(const a of this._outgoing.get(o))switch(!0){case n==="all":case(n==="direct"&&a.source.id===o):case(n==="from-descendants"&&a.source.id!==o):yield a;break}}get tags(){return cr(this,"tags",()=>F8([...this._allTags.keys()],r3))}get tagsSortedByUsage(){return cr(this,"tagsSortedByUsage",()=>G1([...this._allTags.entries()],ij(([r,n])=>({tag:r,count:n.size,tagged:n})),F8((r,n)=>r3(r.tag,n.tag)),s8e([i8e("count"),"desc"])))}findByTag(r,n){return Nd(this._allTags.get(r),o=>n==="elements"?o instanceof j3:n==="views"?o instanceof q8:n==="relationships"?o instanceof _j:!0)}*elementsOfKind(r){for(const n of this._elements.values())n.kind===r&&(yield n)}*elementsWhere(r){const n=Ad(r);for(const o of this._elements.values())n(o)&&(yield o)}*relationshipsWhere(r){const n=Ad(r);for(const o of this._relations.values())n(o)&&(yield o)}addElement(r){if(this._elements.has(r.id))throw new Error(`Element ${r.id} already exists`);const n=new j3(this,Object.freeze(r));this._elements.set(n.id,n);const o=n3(n.id);return o?(nt(this._elements.has(o),`Parent ${o} of ${n.id} not found`),this._parents.set(n.id,this.element(o)),this._children.get(o).add(n)):this._rootElements.add(n),n}addImportedElement(r,n){nt(!Zye(n.id),"Imported element already has global FQN");const o=BI(r,n.id);if(this._elements.has(o))throw new Error(`Element ${o} already exists`);const a=new j3(this,Object.freeze({...n,id:o}));this._elements.set(a.id,a);let i=n3(a.id);for(;i;){if(i.includes(".")&&this._elements.has(i))return this._parents.set(a.id,this.element(i)),this._children.get(i).add(a),a;i=n3(i)}return this._rootElements.add(a),a}addRelation(r){if(this._relations.has(r.id))throw new Error(`Relation ${r.id} already exists`);const n=new _j(this,Object.freeze(r)),{source:o,target:a}=n;this._relations.set(n.id,n),this._incoming.get(a.id).add(n),this._outgoing.get(o.id).add(n);const i=b1(o.id,a.id);if(i)for(const l of[i,...bd(i)])this._internal.get(l).add(n);for(const l of bd(o.id)){if(l===i)break;this._outgoing.get(l).add(n)}for(const l of bd(a.id)){if(l===i)break;this._incoming.get(l).add(n)}return n}}(e=>{e.EMPTY=e.create({_stage:"computed",projectId:"default",project:{id:"default"},specification:{elements:{},relationships:{},deployments:{},tags:{}},globals:{predicates:{},dynamicPredicates:{},styles:{}},deployments:{elements:{},relations:{}},elements:{},relations:{},views:{},imports:{}})})(Dd||(Dd={}));function q3(e){return typeof e=="object"&&e!=null&&!Array.isArray(e)}var m8e=e=>typeof e=="object"&&e!==null;function Pd(e){return Object.fromEntries(Object.entries(e??{}).filter(([r,n])=>n!==void 0))}var g8e=e=>e==="base";function y8e(e){return e.slice().filter(r=>!g8e(r))}function Ej(e){return String.fromCharCode(e+(e>25?39:97))}function b8e(e){let r="",n;for(n=Math.abs(e);n>52;n=n/52|0)r=Ej(n%52)+r;return Ej(n%52)+r}function v8e(e,r){let n=r.length;for(;n;)e=e*33^r.charCodeAt(--n);return e}function x8e(e){return b8e(v8e(5381,e)>>>0)}var Sj=/\s*!(important)?/i;function w8e(e){return typeof e=="string"?Sj.test(e):!1}function k8e(e){return typeof e=="string"?e.replace(Sj,"").trim():e}function U8(e){return typeof e=="string"?e.replaceAll(" ","_"):e}var co=e=>{const r=new Map;return(...n)=>{const o=JSON.stringify(n);if(r.has(o))return r.get(o);const a=e(...n);return r.set(o,a),a}},_8e=new Set(["__proto__","constructor","prototype"]);function V8(...e){return e.reduce((r,n)=>(n&&Object.keys(n).forEach(o=>{if(_8e.has(o))return;const a=r[o],i=n[o];q3(a)&&q3(i)?r[o]=V8(a,i):r[o]=i}),r),{})}var E8e=e=>e!=null;function Y8(e,r,n={}){const{stop:o,getKey:a}=n;function i(l,s=[]){if(m8e(l)){const c={};for(const[u,d]of Object.entries(l)){const p=a?.(u,d)??u,f=[...s,p];if(o?.(l,f))return r(l,s);const g=i(d,f);E8e(g)&&(c[p]=g)}return c}return r(l,s)}return i(e)}function S8e(e,r){return Array.isArray(e)?e.map(n=>r(n)):q3(e)?Y8(e,n=>r(n)):r(e)}function C8e(e,r){return e.reduce((n,o,a)=>{const i=r[a];return o!=null&&(n[i]=o),n},{})}function Cj(e,r,n=!0){const{utility:o,conditions:a}=r,{hasShorthand:i,resolveShorthand:l}=o;return Y8(e,s=>Array.isArray(s)?C8e(s,a.breakpoints.keys):s,{stop:s=>Array.isArray(s),getKey:n?s=>i?l(s):s:void 0})}var T8e={shift:e=>e,finalize:e=>e,breakpoints:{keys:[]}},R8e=e=>typeof e=="string"?e.replaceAll(/[\n\s]+/g," "):e;function Tj(e){const{utility:r,hash:n,conditions:o=T8e}=e,a=l=>[r.prefix,l].filter(Boolean).join("-"),i=(l,s)=>{let c;if(n){const u=[...o.finalize(l),s];c=a(r.toHash(u,x8e))}else c=[...o.finalize(l),a(s)].join(":");return c};return co(({base:l,...s}={})=>{const c=Object.assign(s,l),u=Cj(c,e),d=new Set;return Y8(u,(p,f)=>{if(p==null)return;const g=w8e(p),[b,...x]=o.shift(f),w=y8e(x),k=r.transform(b,k8e(R8e(p)));let C=i(w,k.className);g&&(C=`${C}!`),d.add(C)}),Array.from(d).join(" ")})}function A8e(...e){return e.flat().filter(r=>q3(r)&&Object.keys(Pd(r)).length>0)}function N8e(e){function r(a){const i=A8e(...a);return i.length===1?i:i.map(l=>Cj(l,e))}function n(...a){return V8(...r(a))}function o(...a){return Object.assign({},...r(a))}return{mergeCss:co(n),assignCss:o}}var D8e=/([A-Z])/g,P8e=/^ms-/,$8e=co(e=>e.startsWith("--")?e:e.replace(D8e,"-$1").replace(P8e,"-ms-").toLowerCase()),M8e=["min","max","clamp","calc"],O8e=new RegExp(`^(${M8e.join("|")})\\(.*\\)`),I8e=e=>typeof e=="string"&&O8e.test(e),L8e="cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%",z8e=`(?:${L8e.split(",").join("|")})`,B8e=new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${z8e}$`),j8e=e=>typeof e=="string"&&B8e.test(e),F8e=e=>typeof e=="string"&&/^var\(--.+\)$/.test(e),Z1={map:S8e,isCssFunction:I8e,isCssVar:F8e,isCssUnit:j8e},Q1=(e,r)=>{if(!e?.defaultValues)return r;const n=typeof e.defaultValues=="function"?e.defaultValues(r):e.defaultValues;return Object.assign({},n,Pd(r))},H8e=(e={})=>{const r=o=>({className:[e.className,o].filter(Boolean).join("__"),base:e.base?.[o]??{},variants:{},defaultVariants:e.defaultVariants??{},compoundVariants:e.compoundVariants?W8(e.compoundVariants,o):[]}),n=(e.slots??[]).map(o=>[o,r(o)]);for(const[o,a]of Object.entries(e.variants??{}))for(const[i,l]of Object.entries(a))n.forEach(([s,c])=>{c.variants[o]??={},c.variants[o][i]=l[s]??{}});return Object.fromEntries(n)},W8=(e,r)=>e.filter(n=>n.css[r]).map(n=>({...n,css:n.css[r]}));function Yn(e,...r){const n=Object.getOwnPropertyDescriptors(e),o=Object.keys(n),a=l=>{const s={};for(let c=0;ca(Array.isArray(l)?l:o.filter(l));return r.map(i).concat(a(o))}var G8=(...e)=>{const r=e.reduce((n,o)=>(o&&o.forEach(a=>n.add(a)),n),new Set([]));return Array.from(r)},Rj=["htmlSize","htmlTranslate","htmlWidth","htmlHeight"];function q8e(e){return Rj.includes(e)?e.replace("html","").toLowerCase():e}function X8(e){return Object.fromEntries(Object.entries(e).map(([r,n])=>[q8e(r),n]))}X8.keys=Rj;const U8e="_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,_noscript,_invertedColors,_shapeSizeXs,_shapeSizeSm,_shapeSizeMd,_shapeSizeLg,_shapeSizeXl,_shapeRectangle,_shapePerson,_shapeBrowser,_shapeMobile,_shapeCylinder,_shapeStorage,_shapeQueue,_notDisabled,_reduceGraphics,_reduceGraphicsOnPan,_noReduceGraphics,_whenPanning,_smallZoom,_compoundTransparent,_edgeActive,_whenHovered,_whenSelected,_whenDimmed,_whenFocused,_p3,_srgb,_rec2020,xs,xsOnly,xsDown,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,xsToSm,xsToMd,xsToLg,xsToXl,smToMd,smToLg,smToXl,mdToLg,mdToXl,lgToXl,@/xs,@/sm,@/md,@/lg,@likec4-root/xs,@likec4-root/sm,@likec4-root/md,@likec4-root/lg,@likec4-dialog/xs,@likec4-dialog/sm,@likec4-dialog/md,@likec4-dialog/lg,base",Aj=new Set(U8e.split(",")),V8e=/^@|&|&$/;function Nj(e){return Aj.has(e)||V8e.test(e)}const Y8e=/^_/,W8e=/&|@/;function Dj(e){return e.map(r=>Aj.has(r)?r.replace(Y8e,""):W8e.test(r)?`[${U8(r.trim())}]`:r)}function Pj(e){return e.sort((r,n)=>{const o=Nj(r),a=Nj(n);return o&&!a?1:!o&&a?-1:0})}const G8e="aspectRatio:asp,boxDecorationBreak:bx-db,zIndex:z,boxSizing:bx-s,objectPosition:obj-p,objectFit:obj-f,overscrollBehavior:ovs-b,overscrollBehaviorX:ovs-bx,overscrollBehaviorY:ovs-by,position:pos/1,top:top,left:left,inset:inset,insetInline:inset-x/insetX,insetBlock:inset-y/insetY,insetBlockEnd:inset-be,insetBlockStart:inset-bs,insetInlineEnd:inset-e/insetEnd/end,insetInlineStart:inset-s/insetStart/start,right:right,bottom:bottom,float:float,visibility:vis,display:d,hideFrom:hide,hideBelow:show,flexBasis:flex-b,flex:flex,flexDirection:flex-d/flexDir,flexGrow:flex-g,flexShrink:flex-sh,gridTemplateColumns:grid-tc,gridTemplateRows:grid-tr,gridColumn:grid-c,gridRow:grid-r,gridColumnStart:grid-cs,gridColumnEnd:grid-ce,gridAutoFlow:grid-af,gridAutoColumns:grid-ac,gridAutoRows:grid-ar,gap:gap,gridGap:grid-g,gridRowGap:grid-rg,gridColumnGap:grid-cg,rowGap:rg,columnGap:cg,justifyContent:jc,alignContent:ac,alignItems:ai,alignSelf:as,padding:p/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,paddingBottom:pb/1,paddingBlock:py/1/paddingY,paddingBlockEnd:pbe,paddingBlockStart:pbs,paddingInline:px/paddingX/1,paddingInlineEnd:pe/1/paddingEnd,paddingInlineStart:ps/1/paddingStart,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,marginBottom:mb/1,margin:m/1,marginBlock:my/1/marginY,marginBlockEnd:mbe,marginBlockStart:mbs,marginInline:mx/1/marginX,marginInlineEnd:me/1/marginEnd,marginInlineStart:ms/1/marginStart,spaceX:sx,spaceY:sy,outlineWidth:ring-w/ringWidth,outlineColor:ring-c/ringColor,outline:ring/1,outlineOffset:ring-o/ringOffset,focusRing:focus-ring,focusVisibleRing:focus-v-ring,focusRingColor:focus-ring-c,focusRingOffset:focus-ring-o,focusRingWidth:focus-ring-w,focusRingStyle:focus-ring-s,divideX:dvd-x,divideY:dvd-y,divideColor:dvd-c,divideStyle:dvd-s,width:w/1,inlineSize:w-is,minWidth:min-w/minW,minInlineSize:min-w-is,maxWidth:max-w/maxW,maxInlineSize:max-w-is,height:h/1,blockSize:h-bs,minHeight:min-h/minH,minBlockSize:min-h-bs,maxHeight:max-h/maxH,maxBlockSize:max-b,boxSize:size,color:c,fontFamily:ff,fontSize:fs,fontSizeAdjust:fs-a,fontPalette:fp,fontKerning:fk,fontFeatureSettings:ff-s,fontWeight:fw,fontSmoothing:fsmt,fontVariant:fv,fontVariantAlternates:fv-alt,fontVariantCaps:fv-caps,fontVariationSettings:fv-s,fontVariantNumeric:fv-num,letterSpacing:ls,lineHeight:lh,textAlign:ta,textDecoration:td,textDecorationColor:td-c,textEmphasisColor:te-c,textDecorationStyle:td-s,textDecorationThickness:td-t,textUnderlineOffset:tu-o,textTransform:tt,textIndent:ti,textShadow:tsh,textShadowColor:tsh-c/textShadowColor,textOverflow:tov,verticalAlign:va,wordBreak:wb,textWrap:tw,truncate:trunc,lineClamp:lc,listStyleType:li-t,listStylePosition:li-pos,listStyleImage:li-img,listStyle:li-s,backgroundPosition:bg-p/bgPosition,backgroundPositionX:bg-p-x/bgPositionX,backgroundPositionY:bg-p-y/bgPositionY,backgroundAttachment:bg-a/bgAttachment,backgroundClip:bg-cp/bgClip,background:bg/1,backgroundColor:bg-c/bgColor,backgroundOrigin:bg-o/bgOrigin,backgroundImage:bg-i/bgImage,backgroundRepeat:bg-r/bgRepeat,backgroundBlendMode:bg-bm/bgBlendMode,backgroundSize:bg-s/bgSize,backgroundGradient:bg-grad/bgGradient,backgroundLinear:bg-linear/bgLinear,backgroundRadial:bg-radial/bgRadial,backgroundConic:bg-conic/bgConic,textGradient:txt-grad,gradientFromPosition:grad-from-pos,gradientToPosition:grad-to-pos,gradientFrom:grad-from,gradientTo:grad-to,gradientVia:grad-via,gradientViaPosition:grad-via-pos,borderRadius:bdr/rounded,borderTopLeftRadius:bdr-tl/roundedTopLeft,borderTopRightRadius:bdr-tr/roundedTopRight,borderBottomRightRadius:bdr-br/roundedBottomRight,borderBottomLeftRadius:bdr-bl/roundedBottomLeft,borderTopRadius:bdr-t/roundedTop,borderRightRadius:bdr-r/roundedRight,borderBottomRadius:bdr-b/roundedBottom,borderLeftRadius:bdr-l/roundedLeft,borderStartStartRadius:bdr-ss/roundedStartStart,borderStartEndRadius:bdr-se/roundedStartEnd,borderStartRadius:bdr-s/roundedStart,borderEndStartRadius:bdr-es/roundedEndStart,borderEndEndRadius:bdr-ee/roundedEndEnd,borderEndRadius:bdr-e/roundedEnd,border:bd,borderWidth:bd-w,borderTopWidth:bd-t-w,borderLeftWidth:bd-l-w,borderRightWidth:bd-r-w,borderBottomWidth:bd-b-w,borderBlockStartWidth:bd-bs-w,borderBlockEndWidth:bd-be-w,borderColor:bd-c,borderInline:bd-x/borderX,borderInlineWidth:bd-x-w/borderXWidth,borderInlineColor:bd-x-c/borderXColor,borderBlock:bd-y/borderY,borderBlockWidth:bd-y-w/borderYWidth,borderBlockColor:bd-y-c/borderYColor,borderLeft:bd-l,borderLeftColor:bd-l-c,borderInlineStart:bd-s/borderStart,borderInlineStartWidth:bd-s-w/borderStartWidth,borderInlineStartColor:bd-s-c/borderStartColor,borderRight:bd-r,borderRightColor:bd-r-c,borderInlineEnd:bd-e/borderEnd,borderInlineEndWidth:bd-e-w/borderEndWidth,borderInlineEndColor:bd-e-c/borderEndColor,borderTop:bd-t,borderTopColor:bd-t-c,borderBottom:bd-b,borderBottomColor:bd-b-c,borderBlockEnd:bd-be,borderBlockEndColor:bd-be-c,borderBlockStart:bd-bs,borderBlockStartColor:bd-bs-c,opacity:op,boxShadow:bx-sh/shadow,boxShadowColor:bx-sh-c/shadowColor,mixBlendMode:mix-bm,filter:filter,brightness:brightness,contrast:contrast,grayscale:grayscale,hueRotate:hue-rotate,invert:invert,saturate:saturate,sepia:sepia,dropShadow:drop-shadow,blur:blur,backdropFilter:bkdp,backdropBlur:bkdp-blur,backdropBrightness:bkdp-brightness,backdropContrast:bkdp-contrast,backdropGrayscale:bkdp-grayscale,backdropHueRotate:bkdp-hue-rotate,backdropInvert:bkdp-invert,backdropOpacity:bkdp-opacity,backdropSaturate:bkdp-saturate,backdropSepia:bkdp-sepia,borderCollapse:bd-cl,borderSpacing:bd-sp,borderSpacingX:bd-sx,borderSpacingY:bd-sy,tableLayout:tbl,transitionTimingFunction:trs-tmf,transitionDelay:trs-dly,transitionDuration:trs-dur,transitionProperty:trs-prop,transition:transition,animation:anim,animationName:anim-n,animationTimingFunction:anim-tmf,animationDuration:anim-dur,animationDelay:anim-dly,animationPlayState:anim-ps,animationComposition:anim-comp,animationFillMode:anim-fm,animationDirection:anim-dir,animationIterationCount:anim-ic,animationRange:anim-r,animationState:anim-s,animationRangeStart:anim-rs,animationRangeEnd:anim-re,animationTimeline:anim-tl,transformOrigin:trf-o,transformBox:trf-b,transformStyle:trf-s,transform:trf,rotate:rotate,rotateX:rotate-x,rotateY:rotate-y,rotateZ:rotate-z,scale:scale,scaleX:scale-x,scaleY:scale-y,translate:translate,translateX:translate-x/x,translateY:translate-y/y,translateZ:translate-z/z,accentColor:ac-c,caretColor:ca-c,scrollBehavior:scr-bhv,scrollbar:scr-bar,scrollbarColor:scr-bar-c,scrollbarGutter:scr-bar-g,scrollbarWidth:scr-bar-w,scrollMargin:scr-m,scrollMarginLeft:scr-ml,scrollMarginRight:scr-mr,scrollMarginTop:scr-mt,scrollMarginBottom:scr-mb,scrollMarginBlock:scr-my/scrollMarginY,scrollMarginBlockEnd:scr-mbe,scrollMarginBlockStart:scr-mbt,scrollMarginInline:scr-mx/scrollMarginX,scrollMarginInlineEnd:scr-me,scrollMarginInlineStart:scr-ms,scrollPadding:scr-p,scrollPaddingBlock:scr-py/scrollPaddingY,scrollPaddingBlockStart:scr-pbs,scrollPaddingBlockEnd:scr-pbe,scrollPaddingInline:scr-px/scrollPaddingX,scrollPaddingInlineEnd:scr-pe,scrollPaddingInlineStart:scr-ps,scrollPaddingLeft:scr-pl,scrollPaddingRight:scr-pr,scrollPaddingTop:scr-pt,scrollPaddingBottom:scr-pb,scrollSnapAlign:scr-sa,scrollSnapStop:scrs-s,scrollSnapType:scrs-t,scrollSnapStrictness:scrs-strt,scrollSnapMargin:scrs-m,scrollSnapMarginTop:scrs-mt,scrollSnapMarginBottom:scrs-mb,scrollSnapMarginLeft:scrs-ml,scrollSnapMarginRight:scrs-mr,scrollSnapCoordinate:scrs-c,scrollSnapDestination:scrs-d,scrollSnapPointsX:scrs-px,scrollSnapPointsY:scrs-py,scrollSnapTypeX:scrs-tx,scrollSnapTypeY:scrs-ty,scrollTimeline:scrtl,scrollTimelineAxis:scrtl-a,scrollTimelineName:scrtl-n,touchAction:tch-a,userSelect:us,overflow:ov,overflowWrap:ov-wrap,overflowX:ov-x,overflowY:ov-y,overflowAnchor:ov-a,overflowBlock:ov-b,overflowInline:ov-i,overflowClipBox:ovcp-bx,overflowClipMargin:ovcp-m,overscrollBehaviorBlock:ovs-bb,overscrollBehaviorInline:ovs-bi,fill:fill,stroke:stk,strokeWidth:stk-w,strokeDasharray:stk-dsh,strokeDashoffset:stk-do,strokeLinecap:stk-lc,strokeLinejoin:stk-lj,strokeMiterlimit:stk-ml,strokeOpacity:stk-op,srOnly:sr,debug:debug,appearance:ap,backfaceVisibility:bfv,clipPath:cp-path,hyphens:hy,mask:msk,maskImage:msk-i,maskSize:msk-s,textSizeAdjust:txt-adj,container:cq,containerName:cq-n,containerType:cq-t,cursor:cursor,textStyle:textStyle,layerStyle:layerStyle,animationStyle:animationStyle",$j=new Map,Mj=new Map;G8e.split(",").forEach(e=>{const[r,n]=e.split(":"),[o,...a]=n.split("/");$j.set(r,o),a.length&&a.forEach(i=>{Mj.set(i==="1"?o:i,r)})});const Oj=e=>Mj.get(e)||e,Ij={conditions:{shift:Pj,finalize:Dj,breakpoints:{keys:["base","xs","sm","md","lg","xl"]}},utility:{transform:(e,r)=>{const n=Oj(e);return{className:`${$j.get(n)||$8e(n)}_${U8(r)}`}},hasShorthand:!0,toHash:(e,r)=>r(e.join(":")),resolveShorthand:Oj}},X8e=Tj(Ij),ye=(...e)=>X8e($d(...e));ye.raw=(...e)=>$d(...e);const{mergeCss:$d}=N8e(Ij);function Je(){let e="",r=0,n;for(;r({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});function J1(e){const{base:r,variants:n,defaultVariants:o,compoundVariants:a}=Lj(e),i=f=>({...o,...Pd(f)});function l(f={}){const g=i(f);let b={...r};for(const[w,k]of Object.entries(g))n[w]?.[k]&&(b=$d(b,n[w][k]));const x=K8(a,g);return $d(b,x)}function s(f){const g=Lj(f.config),b=G8(f.variantKeys,Object.keys(n));return J1({base:$d(r,g.base),variants:Object.fromEntries(b.map(x=>[x,$d(n[x],g.variants[x])])),defaultVariants:V8(o,g.defaultVariants),compoundVariants:[...a,...g.compoundVariants]})}function c(f){return ye(l(f))}const u=Object.keys(n);function d(f){return Yn(f,u)}const p=Object.fromEntries(Object.entries(n).map(([f,g])=>[f,Object.keys(g)]));return Object.assign(co(c),{__cva__:!0,variantMap:p,variantKeys:u,raw:l,config:e,merge:s,splitVariantProps:d,getVariantProps:i})}function K8(e,r){let n={};return e.forEach(o=>{Object.entries(o).every(([a,i])=>a==="css"?!0:(Array.isArray(i)?i:[i]).some(l=>r[a]===l))&&(n=$d(n,o.css))}),n}function K8e(e,r,n,o){if(r.length>0&&typeof n?.[o]=="object")throw new Error(`[recipe:${e}:${o}] Conditions are not supported when using compound variants.`)}function Z8e(e){const r=Object.entries(H8e(e)).map(([p,f])=>[p,J1(f)]),n=e.defaultVariants??{},o=r.reduce((p,[f,g])=>(e.className&&(p[f]=g.config.className),p),{});function a(p){const f=r.map(([g,b])=>[g,Je(b(p),o[g])]);return Object.fromEntries(f)}function i(p){const f=r.map(([g,b])=>[g,b.raw(p)]);return Object.fromEntries(f)}const l=e.variants??{},s=Object.keys(l);function c(p){return Yn(p,s)}const u=p=>({...n,...Pd(p)}),d=Object.fromEntries(Object.entries(l).map(([p,f])=>[p,Object.keys(f)]));return Object.assign(co(a),{__cva__:!1,raw:i,config:e,variantMap:d,variantKeys:s,classNameMap:o,splitVariantProps:c,getVariantProps:u})}/** +`}),n}function nj(e){let r=0,n=e.charCodeAt(r);for(;n===9||n===32;)r++,n=e.charCodeAt(r);return e.slice(r)}function oj(e,r){const n=r_e(e,r),o=n.one(e,void 0),a=e_e(n),i=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return a&&i.children.push({type:"text",value:` +`},a),i}function l_e(e,r){return e&&"run"in e?async function(n,o){const a=oj(n,{file:o,...r});await e.run(a,o)}:function(n,o){return oj(n,{file:o,...e||r})}}function aj(e){if(e)throw e}var A8,ij;function s_e(){if(ij)return A8;ij=1;var e=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=function(u){return typeof Array.isArray=="function"?Array.isArray(u):r.call(u)==="[object Array]"},i=function(u){if(!u||r.call(u)!=="[object Object]")return!1;var d=e.call(u,"constructor"),p=u.constructor&&u.constructor.prototype&&e.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!d&&!p)return!1;var f;for(f in u);return typeof f>"u"||e.call(u,f)},l=function(u,d){n&&d.name==="__proto__"?n(u,d.name,{enumerable:!0,configurable:!0,value:d.newValue,writable:!0}):u[d.name]=d.newValue},s=function(u,d){if(d==="__proto__")if(e.call(u,d)){if(o)return o(u,d).value}else return;return u[d]};return A8=function c(){var u,d,p,f,g,b,x=arguments[0],w=1,k=arguments.length,C=!1;for(typeof x=="boolean"&&(C=x,x=arguments[1]||{},w=2),(x==null||typeof x!="object"&&typeof x!="function")&&(x={});wl.length;let c;s&&l.push(a);try{c=e.apply(this,l)}catch(u){const d=u;if(s&&n)throw d;return a(d)}s||(c&&c.then&&typeof c.then=="function"?c.then(i,a):c instanceof Error?a(c):i(c))}function a(l,...s){n||(n=!0,r(l,...s))}function i(l){a(null,l)}}let Jo=class extends Error{constructor(r,n,o){super(),typeof n=="string"&&(o=n,n=void 0);let a="",i={},l=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof r=="string"?a=r:!i.cause&&r&&(l=!0,a=r.message,i.cause=r),!i.ruleId&&!i.source&&typeof o=="string"){const c=o.indexOf(":");c===-1?i.ruleId=o:(i.source=o.slice(0,c),i.ruleId=o.slice(c+1))}if(!i.place&&i.ancestors&&i.ancestors){const c=i.ancestors[i.ancestors.length-1];c&&(i.place=c.position)}const s=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=a,this.line=s?s.line:void 0,this.name=Q1(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=l&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual,this.expected,this.note,this.url}};Jo.prototype.file="",Jo.prototype.name="",Jo.prototype.reason="",Jo.prototype.message="",Jo.prototype.stack="",Jo.prototype.column=void 0,Jo.prototype.line=void 0,Jo.prototype.ancestors=void 0,Jo.prototype.cause=void 0,Jo.prototype.fatal=void 0,Jo.prototype.place=void 0,Jo.prototype.ruleId=void 0,Jo.prototype.source=void 0;const Kl={basename:p_e,dirname:h_e,extname:f_e,join:m_e,sep:"/"};function p_e(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');J1(e);let n=0,o=-1,a=e.length,i;if(r===void 0||r.length===0||r.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(i){n=a+1;break}}else o<0&&(i=!0,o=a+1);return o<0?"":e.slice(n,o)}if(r===e)return"";let l=-1,s=r.length-1;for(;a--;)if(e.codePointAt(a)===47){if(i){n=a+1;break}}else l<0&&(i=!0,l=a+1),s>-1&&(e.codePointAt(a)===r.codePointAt(s--)?s<0&&(o=a):(s=-1,o=l));return n===o?o=l:o<0&&(o=e.length),e.slice(n,o)}function h_e(e){if(J1(e),e.length===0)return".";let r=-1,n=e.length,o;for(;--n;)if(e.codePointAt(n)===47){if(o){r=n;break}}else o||(o=!0);return r<0?e.codePointAt(0)===47?"/":".":r===1&&e.codePointAt(0)===47?"//":e.slice(0,r)}function f_e(e){J1(e);let r=e.length,n=-1,o=0,a=-1,i=0,l;for(;r--;){const s=e.codePointAt(r);if(s===47){if(l){o=r+1;break}continue}n<0&&(l=!0,n=r+1),s===46?a<0?a=r:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||n<0||i===0||i===1&&a===n-1&&a===o+1?"":e.slice(a,n)}function m_e(...e){let r=-1,n;for(;++r0&&e.codePointAt(e.length-1)===47&&(n+="/"),r?"/"+n:n}function y_e(e,r){let n="",o=0,a=-1,i=0,l=-1,s,c;for(;++l<=e.length;){if(l2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",o=0):(n=n.slice(0,c),o=n.length-1-n.lastIndexOf("/")),a=l,i=0;continue}}else if(n.length>0){n="",o=0,a=l,i=0;continue}}r&&(n=n.length>0?n+"/..":"..",o=2)}else n.length>0?n+="/"+e.slice(a+1,l):n=e.slice(a+1,l),o=l-a-1;a=l,i=0}else s===46&&i>-1?i++:i=-1}return n}function J1(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const b_e={cwd:v_e};function v_e(){return"/"}function P8(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function x_e(e){if(typeof e=="string")e=new URL(e);else if(!P8(e)){const r=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw r.code="ERR_INVALID_ARG_TYPE",r}if(e.protocol!=="file:"){const r=new TypeError("The URL must be of scheme file");throw r.code="ERR_INVALID_URL_SCHEME",r}return w_e(e)}function w_e(e){if(e.hostname!==""){const o=new TypeError('File URL host must be "localhost" or empty on darwin');throw o.code="ERR_INVALID_FILE_URL_HOST",o}const r=e.pathname;let n=-1;for(;++n0){let[g,...b]=d;const x=o[f][1];D8(x)&&D8(g)&&(g=N8(!0,x,g)),o[f]=[u,g,...b]}}}};const T_e=new C_e().freeze();function I8(e,r){if(typeof r!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function z8(e,r){if(typeof r!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function L8(e,r){if(r)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function sj(e){if(!D8(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function cj(e,r,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+r+"` instead")}function B3(e){return R_e(e)?e:new k_e(e)}function R_e(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function A_e(e){return typeof e=="string"||N_e(e)}function N_e(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}function D_e(){return T_e().use(S6e).use(o6e).use(l_e,{allowDangerousHtml:!0,clobberPrefix:"",tableCellPadding:!1,tight:!0}).use(cwe).use(vwe).use(_2e,{closeSelfClosing:!0,tightSelfClosing:!0})}function P_e(e){return String(D_e().processSync(e.trim())).trim()}function $_e(e){return M3(XB(e),{includeHtml:!1,includeImageAlt:!1})}function M_e(...e){return xa(O_e,e)}function O_e(e,r){let n={...e};for(let[o,a]of Object.entries(n))r(a,o,e)&&delete n[o];return n}function e0(e){return M_e(e,r=>r===void 0)}const I_e=Symbol.for("text"),z_e=Symbol.for("html"),Zl="";class Zt{static _cache=new WeakMap;static memoize(r,n,o){return pr(r,n,()=>Zt.from(o))}static from(r){if(r==null||r===Zt.EMPTY)return Zt.EMPTY;if(r instanceof Zt)return r;if(typeof r=="string")return r.trim()===Zl?Zt.EMPTY:new Zt({txt:r});if("isEmpty"in r&&r.isEmpty||"md"in r&&r.md.trim()===Zl||"txt"in r&&r.txt.trim()===Zl)return Zt.EMPTY;const n=r,o=Zt._cache.get(n);if(o)return o;const a=new Zt(n);return Zt._cache.set(n,a),a}static EMPTY=new class extends Zt{isEmpty=!0;nonEmpty=!1;isMarkdown=!1;$source=null;constructor(){super({txt:Zl})}get text(){return null}get md(){return null}get html(){return null}};$source;isEmpty;nonEmpty;isMarkdown;constructor(r){this.isMarkdown=!1,typeof r=="string"?(this.$source={txt:r},this.isEmpty=r.trim()===Zl):(this.$source=r,this.isEmpty=!0,"md"in r?(this.isEmpty=r.md===Zl,this.isMarkdown=!0):this.isEmpty=r.txt===Zl),this.nonEmpty=!this.isEmpty}get text(){if(this.isEmpty||this.$source===null)return Zl;const r=this.$source;return"txt"in r?r.txt:pr(this,I_e,()=>$_e(r.md))}get md(){if(this.isEmpty||this.$source===null)return Zl;const r=this.$source;if("md"in r)return r.md;if("txt"in r)return r.txt;Ja(r)}get html(){if(this.isEmpty||this.$source===null)return Zl;const r=this.$source;return"txt"in r?r.txt:pr(this,z_e,()=>P_e(r.md))}equals(r){return this===r?!0:r instanceof Zt?this.isEmpty&&r.isEmpty?!0:this.isEmpty!==r.isEmpty||this.isMarkdown!==r.isMarkdown?!1:this.isMarkdown?this.$source?.md===r.$source?.md:this.$source?.txt===r.$source?.txt:!1}}function uj(e){return r=>!e(r)}function L_e(...e){return xa(B_e,e)}const B_e=(e,r)=>r.every(n=>n(e));function j_e(...e){return xa(F_e,e)}const F_e=(e,r)=>r.some(n=>n(e));function H_e(e){return e==null}function dj(e,r){return e[t0]===r}const t0="_stage",r0="_type";function q_e(e){return Ls(e.kind)&&!Ls(e.element)}function U_e(e){return"tag"in e}function V_e(e){return"kind"in e}function Y_e(e){return"participant"in e}function W_e(e){return"not"in e}function G_e(e){return"and"in e}function X_e(e){return"or"in e}function jd(e){switch(!0){case Y_e(e):{const r=e.participant,n=jd(e.operator);return K_e(r,n)}case U_e(e):{if(eu(e.tag)||"eq"in e.tag){const n=eu(e.tag)?e.tag:e.tag.eq;return o=>Array.isArray(o.tags)&&o.tags.includes(n)}const r=e.tag.neq;return n=>!Array.isArray(n.tags)||!n.tags.includes(r)}case V_e(e):{if(eu(e.kind)||"eq"in e.kind){const n=eu(e.kind)?e.kind:e.kind.eq;return o=>o.kind===n}const r=e.kind.neq;return n=>H_e(n.kind)||n.kind!==r}case W_e(e):{const r=jd(e.not);return uj(r)}case G_e(e):{const r=e.and.map(jd);return L_e(r)}case X_e(e):{const r=e.or.map(jd);return j_e(r)}default:Ja(e)}}function K_e(e,r){return n=>{if(!n.source||!n.target)return!1;switch(e){case"source":return r(n.source);case"target":return r(n.target)}}}var n0;(e=>{function r(c){return"model"in c&&!("project"in c)}e.isElementRef=r;function n(c){return"project"in c&&"model"in c}e.isImportRef=n;function o(c){if(eu(c))throw new Error(`Expected FqnRef, got: "${c}"`);if(n(c))return GI(c.project,c.model);if(r(c))return c.model;throw new Error("Expected FqnRef.ModelRef or FqnRef.ImportRef")}e.flatten=o;function a(c){return r(c)||n(c)}e.isModelRef=a;function i(c){return"deployment"in c&&"element"in c}e.isInsideInstanceRef=i;function l(c){return"deployment"in c&&!("element"in c)}e.isDeploymentElementRef=l;function s(c){return l(c)||i(c)}e.isDeploymentRef=s})(n0||(n0={}));function B8(e){return A1(e)&&e.includes(".")?e.slice(0,e.indexOf(".")+1):null}var su;(e=>{function r({x:s,y:c,width:u,height:d}){return{x:s+u/2,y:c+d/2}}e.center=r;function n(s){const{x1:c,y1:u,x2:d,y2:p}=j8.fromPoints(s);return{x:c,y:u,width:d-c,height:p-u}}e.fromPoints=n;function o(...s){if(nt(Dh(s,1),"No boxes provided"),s.length===1)return s[0];let c=1/0,u=1/0,d=-1/0,p=-1/0;for(const f of s)c=Math.min(c,f.x),u=Math.min(u,f.y),d=Math.max(d,f.x+f.width),p=Math.max(p,f.y+f.height);return{x:c,y:u,width:d-c,height:p-u}}e.merge=o;function a(s){return{x1:s.x,y1:s.y,x2:s.x+s.width,y2:s.y+s.height}}e.toRectBox=a;function i(s,c){return c===0?s:{x:s.x-c,y:s.y-c,width:s.width+c*2,height:s.height+c*2}}e.expand=i;function l(s,c){return c===0?s:{x:s.x+c,y:s.y+c,width:s.width-c*2,height:s.height-c*2}}e.shrink=l})(su||(su={}));var j8;(e=>{function r({x1:i,y1:l,x2:s,y2:c}){return{x:(i+s)/2,y:(l+c)/2}}e.center=r;function n(i){nt(i.length>0,"At least one point is required");let l=1/0,s=1/0,c=-1/0,u=-1/0;for(const[d,p]of i)l=Math.min(l,d),s=Math.min(s,p),c=Math.max(c,d),u=Math.max(u,p);return{x1:l,y1:s,x2:c,y2:u}}e.fromPoints=n;function o(...i){nt(i.length>0,"No boxes provided");let l=1/0,s=1/0,c=-1/0,u=-1/0;for(const d of i)l=Math.min(l,d.x1),s=Math.min(s,d.y1),c=Math.max(c,d.x2),u=Math.max(u,d.y2);return{x1:l,y1:s,x2:c,y2:u}}e.merge=o;function a(i){return{x:i.x1,y:i.y1,width:i.x2-i.x1,height:i.y2-i.y1}}e.toBBox=a})(j8||(j8={}));function pj(e){const r=typeof e=="string"?e:e.color;return r.startsWith("#")||r.startsWith("rgb")}const hj={done:!1,hasNext:!1};function o0(e,...r){let n=e,o=r.map(i=>"lazy"in i?Z_e(i):void 0),a=0;for(;ae.map(r),e8e=e=>(r,n,o)=>({done:!1,hasNext:!0,next:e(r,n,o)});function t8e(e,r,n){let o=e.get(r);return o||(o=n(r),e.set(r,o)),o}var F8={},gj;function r8e(){return gj||(gj=1,(function(e){e.intersection=function(){if(arguments.length<2)throw new Error("mnemonist/Set.intersection: needs at least two arguments.");var r=new Set,n=1/0,o=null,a,i,l=arguments.length;for(i=0;in.size)return!1;for(;a=o.next(),!a.done;)if(!n.has(a.value))return!1;return!0},e.isSuperset=function(r,n){return e.isSubset(n,r)},e.add=function(r,n){for(var o=n.values(),a;a=o.next(),!a.done;)r.add(a.value)},e.subtract=function(r,n){for(var o=n.values(),a;a=o.next(),!a.done;)r.delete(a.value)},e.intersect=function(r,n){for(var o=r.values(),a;a=o.next(),!a.done;)n.has(a.value)||r.delete(a.value)},e.disjunct=function(r,n){for(var o=r.values(),a,i=[];a=o.next(),!a.done;)n.has(a.value)&&i.push(a.value);for(o=n.values();a=o.next(),!a.done;)r.has(a.value)||r.add(a.value);for(var l=0,s=i.length;ln.size&&(o=r,r=n,n=o),r.size===0)return 0;if(r===n)return r.size;for(var a=r.values(),i,l=0;i=a.next(),!i.done;)n.has(i.value)&&l++;return l},e.unionSize=function(r,n){var o=e.intersectionSize(r,n);return r.size+n.size-o},e.jaccard=function(r,n){var o=e.intersectionSize(r,n);if(o===0)return 0;var a=r.size+n.size-o;return o/a},e.overlap=function(r,n){var o=e.intersectionSize(r,n);return o===0?0:o/Math.min(r.size,n.size)}})(F8)),F8}var n8e=r8e();function H8(...e){let r=new Set;for(const n of e)for(const o of n)r.add(o);return r}function tf(e,...r){let n=new Set;if(e.size===0)return n;let o=Dh(r,2)?n8e.intersection(...r):r[0];if(o.size===0)return n;for(const a of e)o.has(a)&&n.add(a);return n}function q8(e,r){if(e.size===0)return new Set;if(r.size===0)return new Set(e);let n=new Set;for(const o of e)r.has(o)||n.add(o);return n}function o8e(e,r){return e.size===r.size&&[...e].every(n=>r.has(n))}function a8e(e){let r=5381;const n=e.length;nt(n>0,"stringHash: empty string");for(let o=0;o>>0).toString(36)}const j3=e=>typeof e=="function";function Fd(e,r){const n=r??e;nt(j3(n));function*o(a){for(const i of a)n(i)&&(yield i)}return r?o(e):o}function a0(e,r){const n=r??e;nt(j3(n));function o(a){for(const i of a)if(n(i))return i}return r?o(e):o}function yj(e){return e?bj(e):bj}function bj(e){for(const r of e)return r}function i8e(e,r){const n=e;nt(j3(n));function*o(a){for(const i of a)yield n(i)}return o}function i0(e){return e?Array.from(e):r=>Array.from(r)}function l8e(e){return e?new Set(e):r=>new Set(r)}function s8e(e,r){const n=r??e;nt(j3(n));function o(a){for(const i of a)if(n(i))return!0;return!1}return r?o(e):o}function c8e(e,r){const n=e;nt(n>=0,"Count must be a non-negative number");function*o(a){let i=0;for(const l of a){if(i>=n)break;yield l,i++}}return a=>o(a)}function u8e(e,r){let n=Math.ceil(e),o=Math.floor(r);if(o{setTimeout(()=>{n(d8e)},r??100)})}function F3(e){const r=tu([...e]),n=new Set(r),o=new Map(r.map(l=>[l._literalId,l])),a=new po(()=>null),i=r.reduce((l,s,c,u)=>(l.set(s,u.slice(c+1).filter(FI(s)).map(d=>(n.delete(d),d)).reduce((d,p)=>(d.some(Gn(p))||(d.push(p),a.set(p,s)),d),[])),l),new po(()=>[]));return{sorted:r,byId:l=>bt(o.get(l),`Element not found by id: ${l}`),root:n,parent:l=>a.get(l),children:l=>i.get(l),flatten:()=>new Set([...n,...r.reduce((l,s)=>{const c=i.get(s);return c.length===0?(l.push(s),l):(c.length>1&&l.push(...c),l)},[])])}}const U8=(e,r)=>e.size>2&&r.size!==e.size?new Set(tu([...F3(e).flatten(),...r])):e.size>1?new Set(tu([...e])):e;function vj(e,r,n){const o=c=>r.has(c);let a=new Set([e]);const i={incomers:new Set,subjects:new Set([e]),outgoers:new Set};let l=new Set(n.incoming.flatMap(c=>{if(i.subjects.add(c.target),i.incomers.add(c.source),a.add(c.target),c.target!==e){let p=c.target.parent;for(;p&&p!==e;)a.add(p),p=p.parent}let u=c.source;const d=[];for(;d.push(u),!(o(u)||!u.parent);)u=u.parent;return d})),s=new Set(n.outgoing.flatMap(c=>{if(i.subjects.add(c.source),i.outgoers.add(c.target),a.add(c.source),c.source!==e){let p=c.source.parent;for(;p&&p!==e;)a.add(p),p=p.parent}let u=c.target;const d=[];for(;d.push(u),!(o(u)||!u.parent);)u=u.parent;return d}));return{incomers:U8(l,i.incomers),incoming:new Set(n.incoming),subjects:U8(a,i.subjects),outgoing:new Set(n.outgoing),outgoers:U8(s,i.outgoers)}}function xj(e,r,n,o="global"){const a=n?r.findView(n):null;if(o==="view")return nt(a,'Scope view id is required when scope is "view"'),h8e(e,a,r);const i=r.element(e),l=l8e(i.ascendingSiblings());return vj(i,l,{incoming:[...i.incoming()],outgoing:[...i.outgoing()]})}function h8e(e,r,n){const o=n.element(e);let a={incoming:i0(Fd(o.incoming(),s=>r.includesRelation(s.id))),outgoing:i0(Fd(o.outgoing(),s=>r.includesRelation(s.id)))};const i=FI(o),l=new Set([...o.ascendingSiblings(),...o0(r.elements(),i8e(s=>s.element),Fd(s=>s!==o&&i(s)))]);return vj(o,l,a)}var wj;(e=>{e.isInside=r=>n=>Gn(r,n.source.id)&&Gn(r,n.target.id),e.isDirectedBetween=(r,n)=>o=>(o.source.id===r||Gn(r,o.source.id))&&(o.target.id===n||Gn(n,o.target.id)),e.isAnyBetween=(r,n)=>{const o=(0,e.isDirectedBetween)(r,n),a=(0,e.isDirectedBetween)(n,r);return i=>o(i)||a(i)},e.isIncoming=r=>n=>(n.target.id===r||Gn(r,n.target.id))&&!Gn(r,n.source.id),e.isOutgoing=r=>n=>(n.source.id===r||Gn(r,n.source.id))&&!Gn(r,n.target.id),e.isAnyInOut=r=>{const n=(0,e.isIncoming)(r),o=(0,e.isOutgoing)(r);return a=>n(a)||o(a)}})(wj||(wj={}));const f8e=Symbol.for("nodejs.util.inspect.custom");function m8e(e,r){let n=r.length-e.length;if(n===1){let[o,...a]=r;return o0(o,{lazy:e,lazyArgs:a})}if(n===0){let o={lazy:e,lazyArgs:r};return Object.assign(a=>o0(a,o),o)}throw Error("Wrong number of arguments")}function rf(e){return e===""||e===void 0?!0:Array.isArray(e)?e.length===0:Object.keys(e).length===0}function g8e(...e){return xa(y8e,e)}const y8e=e=>e.length===1?e[0]:void 0;function V8(...e){return m8e(b8e,e)}function b8e(){let e=new Set;return r=>e.has(r)?hj:(e.add(r),{done:!1,hasNext:!0,next:r})}class kj{get style(){return pr(this,"style",()=>e0({shape:this.$model.$styles.defaults.shape,color:this.$model.$styles.defaults.color,border:this.$model.$styles.defaults.border,opacity:this.$model.$styles.defaults.opacity,size:this.$model.$styles.defaults.size,padding:this.$model.$styles.defaults.padding,textSize:this.$model.$styles.defaults.text,...this.$node.style}))}get name(){return C1(this.id)}get shape(){return this.style.shape}get color(){return this.style.color}get summary(){return Zt.memoize(this,"summary",c3(this.$node))}get description(){return Zt.memoize(this,"description",u3(this.$node))}get technology(){return this.$node.technology??null}get links(){return this.$node.links??[]}ancestors(){return this.$model.ancestors(this)}commonAncestor(r){const n=R1(this.id,r.id);return n?this.$model.node(n):null}siblings(){return this.$model.siblings(this)}isSibling(r){return this.parent===r.parent}*ascendingSiblings(){yield*this.siblings();for(const r of this.ancestors())yield*r.siblings()}*descendingSiblings(){for(const r of[...this.ancestors()].reverse())yield*r.siblings();yield*this.siblings()}incoming(r="all"){return this.$model.incoming(this,r)}outgoing(r="all"){return this.$model.outgoing(this,r)}*incomers(r="all"){const n=new Set;for(const o of this.incoming(r))n.has(o.source.id)||(n.add(o.source.id),yield o.source)}*outgoers(r="all"){const n=new Set;for(const o of this.outgoing(r))n.has(o.target.id)||(n.add(o.target.id),yield o.target)}*views(){for(const r of this.$model.views())r._type==="deployment"&&r.includesDeployment(this.id)&&(yield r)}isDeploymentNode(){return!1}isInstance(){return!1}get allOutgoing(){return pr(this,Symbol.for("allOutgoing"),()=>cu.from(new Set(this.outgoingModelRelationships()),new Set(this.outgoing())))}get allIncoming(){return pr(this,Symbol.for("allIncoming"),()=>cu.from(new Set(this.incomingModelRelationships()),new Set(this.incoming())))}hasMetadata(){return!!this.$node.metadata&&!rf(this.$node.metadata)}getMetadata(r){return r?this.$node.metadata?.[r]:this.$node.metadata??{}}isTagged(r){return this.tags.includes(r)}}class _j extends kj{constructor(r,n){super(),this.$model=r,this.$node=n,this.id=n.id,this._literalId=n.id,this.title=n.title,this.hierarchyLevel=l3(n.id)}id;_literalId;title;hierarchyLevel;get parent(){return this.$model.parent(this)}get kind(){return this.$node.kind}get tags(){return pr(this,Symbol.for("tags"),()=>V8([...this.$node.tags??[],...this.$model.$model.specification.deployments[this.kind]?.tags??[]]))}children(){return this.$model.children(this)}descendants(r="desc"){return this.$model.descendants(this,r)}isDeploymentNode(){return!0}*instances(){for(const r of this.descendants("desc"))r.isInstance()&&(yield r)}onlyOneInstance(){const r=this.children();if(r.size!==1)return null;const n=g8e([...r]);return n?.isInstance()?n:null}_relationshipsFromInstances=null;relationshipsFromInstances(){if(this._relationshipsFromInstances)return this._relationshipsFromInstances;const{outgoing:r,incoming:n}=this._relationshipsFromInstances={outgoing:new Set,incoming:new Set};for(const o of this.instances()){for(const a of o.element.outgoing())r.add(a);for(const a of o.element.incoming())n.add(a)}return this._relationshipsFromInstances}outgoingModelRelationships(){return this.relationshipsFromInstances().outgoing.values()}incomingModelRelationships(){return this.relationshipsFromInstances().incoming.values()}internalModelRelationships(){const{outgoing:r,incoming:n}=this.relationshipsFromInstances();return tf(n,r)}}class Ej extends kj{constructor(r,n,o){super(),this.$model=r,this.$instance=n,this.element=o,this.id=n.id,this._literalId=n.id,this.title=n.title??o.title,this.hierarchyLevel=l3(n.id)}id;_literalId;title;hierarchyLevel;get $node(){return this.$instance}get parent(){return bt(this.$model.parent(this),`Parent of ${this.id} not found`)}get style(){return pr(this,"style",()=>e0({shape:this.$model.$styles.defaults.shape,color:this.$model.$styles.defaults.color,border:this.$model.$styles.defaults.border,opacity:this.$model.$styles.defaults.opacity,size:this.$model.$styles.defaults.size,padding:this.$model.$styles.defaults.padding,textSize:this.$model.$styles.defaults.text,...this.element.$element.style,...this.$instance.style}))}get tags(){return pr(this,Symbol.for("tags"),()=>V8([...this.$instance.tags??[],...this.element.tags]))}get kind(){return this.element.kind}get summary(){return Zt.memoize(this,"summary",c3(this.$instance)??c3(this.element.$element))}get description(){return Zt.memoize(this,"description",u3(this.$instance)??u3(this.element.$element))}get technology(){return this.$instance.technology??this.element.technology??null}get links(){return this.$instance.links??this.element.links}isInstance(){return!0}outgoingModelRelationships(){return this.element.outgoing()}incomingModelRelationships(){return this.element.incoming()}*views(){for(const r of this.$model.views())if(r._type==="deployment"){if(r.includesDeployment(this.id)){yield r;continue}r.includesDeployment(this.parent.id)&&this.parent.onlyOneInstance()&&(yield r)}}}class v8e{constructor(r,n){this.instance=r,this.element=n}get id(){return this.instance.id}get _literalId(){return this.instance.id}get style(){return pr(this,"style ",()=>({shape:this.element.shape,color:this.element.color,...this.element.$element.style}))}get shape(){return this.element.shape}get color(){return this.element.color}get title(){return this.element.title}get summary(){return this.element.summary}get description(){return this.element.description}get technology(){return this.element.technology}isDeploymentNode(){return!1}isInstance(){return!1}}class x8e{constructor(r,n){this.$model=r,this.$relationship=n,this.source=r.deploymentRef(n.source),this.target=r.deploymentRef(n.target);const o=R1(this.source.id,this.target.id);this.boundary=o?this.$model.node(o):null}boundary;source;target;get id(){return this.$relationship.id}get expression(){return`${this.source.id} -> ${this.target.id}`}get title(){return Ls(this.$relationship.title)?this.$relationship.title:null}get technology(){return this.$relationship.technology??null}get description(){return Zt.memoize(this,"description",this.$relationship.description)}get tags(){return this.$relationship.tags??[]}get kind(){return this.$relationship.kind??null}get navigateTo(){return this.$relationship.navigateTo?this.$model.$model.view(this.$relationship.navigateTo):null}get links(){return this.$relationship.links??[]}get color(){return this.$relationship.color??this.$model.$styles.defaults.relationship.color}get line(){return this.$relationship.line??this.$model.$styles.defaults.relationship.line}get head(){return this.$relationship.head??this.$model.$styles.defaults.relationship.arrow}get tail(){return this.$relationship.tail}*views(){for(const r of this.$model.views())r.includesRelation(this.id)&&(yield r)}isDeploymentRelation(){return!0}isModelRelation(){return!1}hasMetadata(){return!!this.$relationship.metadata&&!rf(this.$relationship.metadata)}getMetadata(r){return r?this.$relationship.metadata?.[r]:this.$relationship.metadata??{}}isTagged(r){return this.tags.includes(r)}}class cu{constructor(r=new Set,n=new Set){this.model=r,this.deployment=n}static empty(){return new cu}static from(r,n){return new cu(new Set(r),new Set(n))}get isEmpty(){return this.model.size===0&&this.deployment.size===0}get nonEmpty(){return this.model.size>0||this.deployment.size>0}get size(){return this.model.size+this.deployment.size}intersect(r){return cu.from(tf(this.model,r.model),tf(this.deployment,r.deployment))}difference(r){return cu.from(q8(this.model,r.model),q8(this.deployment,r.deployment))}union(r){return cu.from(H8(this.model,r.model),H8(this.deployment,r.deployment))}}function Sj(e,r){return n=>e.source===n.source&&e.target===n.target}function Y8(e,r,n="directed"){if(e===r)return[];if(jI(e,r))return[];const o=tf(e.allOutgoing,r.allIncoming),a=o.size>0?new ai(e,r,o):null;if(n==="directed")return a?[a]:[];const i=tf(e.allIncoming,r.allOutgoing),l=i.size>0?new ai(r,e,i):null;return a&&l?[a,l]:a?[a]:l?[l]:[]}function Cj(e,r,n="both"){if(e.allIncoming.size===0&&e.allOutgoing.size===0)return[];const o=[],a=[];for(const i of r)if(e!==i)for(const l of Y8(e,i,n))l.source===e?o.push(l):a.push(l);return[...o,...a]}function w8e(e){return[...e].reduce((r,n,o,a)=>(o===a.length-1||r.push(...Cj(n,a.slice(o+1),"both")),r),[])}const k8e={__proto__:null,findConnection:Y8,findConnectionsBetween:Cj,findConnectionsWithin:w8e};class ai{constructor(r,n,o=new Set){this.source=r,this.target=n,this.relations=o,this.id=a8e(`model:${r.id}:${n.id}`)}id;_boundary;get boundary(){return this._boundary??=this.source.commonAncestor(this.target)}get expression(){return`${this.source.id} -> ${this.target.id}`}get isDirect(){return this.nonEmpty()&&!this.isImplicit}get isImplicit(){return this.nonEmpty()&&s8e(this.relations,uj(Sj(this)))}get directRelations(){return new Set(Fd(this.relations,Sj(this)))}nonEmpty(){return this.relations.size>0}mergeWith(r){return nt(this.source.id===r.source.id,"Cannot merge connections with different sources"),nt(this.target.id===r.target.id,"Cannot merge connections with different targets"),new ai(this.source,this.target,H8(this.relations,r.relations))}difference(r){return new ai(this.source,this.target,q8(this.relations,r.relations))}intersect(r){return nt(r instanceof ai,"Cannot intersect connection with different type"),new ai(this.source,this.target,tf(this.relations,r.relations))}equals(r){nt(r instanceof ai,"Cannot merge connection with different type");const n=r;return this.id===n.id&&this.source.id===n.source.id&&this.target.id===n.target.id&&o8e(this.relations,n.relations)}update(r){return new ai(this.source,this.target,r)}[f8e](r,n,o){const a=this.toString();return Object.defineProperty(a,"constructor",{value:ai,enumerable:!1}),a}toString(){return[this.expression,this.relations.size?" relations:":" relations: [ ]",...[...this.relations].map(r=>" "+r.expression)].join(` +`)}reversed(r=!1){if(!r)return new ai(this.target,this.source);const[n]=Y8(this.target,this.source,"directed");return n??new ai(this.target,this.source,new Set)}}const Tj={asc:(e,r)=>e>r,desc:(e,r)=>ee(i,a)}function W8(e,r,...n){let o=typeof e=="function"?e:e[0],a=typeof e=="function"?"asc":e[1],{[a]:i}=Tj,l=r===void 0?void 0:W8(r,...n);return(s,c)=>{let u=o(s),d=o(c);return i(u,d)?1:i(d,u)?-1:l?.(s,c)??0}}function E8e(e){if(Rj(e))return!0;if(typeof e!="object"||!Array.isArray(e))return!1;let[r,n,...o]=e;return Rj(r)&&typeof n=="string"&&n in Tj&&o.length===0}const Rj=e=>typeof e=="function"&&e.length===1;function Aj(...e){return xa(Object.entries,e)}function S8e(...e){return xa(C8e,e)}function C8e(e,r){if(e===r||Object.is(e,r))return!0;if(typeof e!="object"||!e||typeof r!="object"||!r)return!1;if(e instanceof Map&&r instanceof Map)return T8e(e,r);if(e instanceof Set&&r instanceof Set)return R8e(e,r);let n=Object.keys(e);if(n.length!==Object.keys(r).length)return!1;for(let o of n){if(!Object.hasOwn(r,o))return!1;let{[o]:a}=e,{[o]:i}=r;if(a!==i||!Object.is(a,i))return!1}return!0}function T8e(e,r){if(e.size!==r.size)return!1;for(let[n,o]of e){let a=r.get(n);if(o!==a||!Object.is(o,a))return!1}return!0}function R8e(e,r){if(e.size!==r.size)return!1;for(let n of e)if(!r.has(n))return!1;return!0}function A8e(...e){return xa(N8e,e)}const N8e=e=>e.at(-1);function D8e(e,...r){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"?n=>Nj(n,e,...r):Nj(e,...r)}function Nj(e,...r){let n=e;for(let o of r){if(n==null)return;n=n[o]}return n}function G8(...e){return xa(P8e,e)}function P8e(e,r){let n=[...e];return n.sort(r),n}function $8e(...e){return _8e(M8e,e)}const M8e=(e,r)=>[...e].sort(r);function Dj(e,r,n){return typeof r=="number"||r===void 0?o=>o.split(e,r):e.split(r,n)}function H3(...e){return xa(Object.values,e)}class q3{constructor(r,n){this.$model=r,this.$element=n,this.id=this.$element.id,this._literalId=this.$element.id;const[o,a]=_be(this.id);o?(this.imported={from:o,fqn:a},this.hierarchyLevel=l3(a)):(this.imported=null,this.hierarchyLevel=l3(this.id))}id;_literalId;hierarchyLevel;imported;get name(){return C1(this.id)}get parent(){return this.$model.parent(this)}get kind(){return this.$element.kind}get shape(){return this.style.shape}get color(){return this.style.color}get icon(){return this.style.icon??null}get tags(){return pr(this,Symbol.for("tags"),()=>V8([...this.$element.tags??[],...this.$model.specification.elements[this.$element.kind]?.tags??[]]))}get title(){return this.$element.title}get hasSummary(){return!!this.$element.summary&&!!this.$element.description&&!S8e(this.$element.summary,this.$element.description)}get summary(){return Zt.memoize(this,"summary",c3(this.$element))}get description(){return Zt.memoize(this,"description",u3(this.$element))}get technology(){return this.$element.technology??null}get links(){return this.$element.links??[]}get defaultView(){return pr(this,Symbol.for("defaultView"),()=>yj(this.scopedViews())??null)}get isRoot(){return this.parent===null}get style(){return pr(this,"style",()=>e0({shape:this.$model.$styles.defaults.shape,color:this.$model.$styles.defaults.color,border:this.$model.$styles.defaults.border,opacity:this.$model.$styles.defaults.opacity,size:this.$model.$styles.defaults.size,padding:this.$model.$styles.defaults.padding,textSize:this.$model.$styles.defaults.text,...this.$element.style}))}isAncestorOf(r){return Gn(this,r)}isDescendantOf(r){return Gn(r,this)}ancestors(){return this.$model.ancestors(this)}commonAncestor(r){const n=R1(this.id,r.id);return n?this.$model.element(n):null}children(){return this.$model.children(this)}descendants(r){return r?HI([...this.$model.descendants(this)],r)[Symbol.iterator]():this.$model.descendants(this)}siblings(){return this.$model.siblings(this)}*ascendingSiblings(){yield*this.siblings();for(const r of this.ancestors())yield*r.siblings()}*descendingSiblings(){for(const r of[...this.ancestors()].reverse())yield*r.siblings();yield*this.siblings()}incoming(r="all"){return this.$model.incoming(this,r)}*incomers(r="all"){const n=new Set;for(const o of this.incoming(r))n.has(o.source.id)||(n.add(o.source.id),yield o.source)}outgoing(r="all"){return this.$model.outgoing(this,r)}*outgoers(r="all"){const n=new Set;for(const o of this.outgoing(r))n.has(o.target.id)||(n.add(o.target.id),yield o.target)}get allOutgoing(){return pr(this,Symbol.for("allOutgoing"),()=>new Set(this.outgoing()))}get allIncoming(){return pr(this,Symbol.for("allIncoming"),()=>new Set(this.incoming()))}views(){return pr(this,Symbol.for("views"),()=>{const r=new Set;for(const n of this.$model.views())n.includesElement(this.id)&&r.add(n);return r})}scopedViews(){return pr(this,Symbol.for("scopedViews"),()=>{const r=new Set;for(const n of this.$model.views())n.isScopedElementView()&&n.viewOf.id===this.id&&r.add(n);return r})}isDeployed(){return Ls(yj(this.deployments()))}deployments(){return this.$model.deployment.instancesOf(this)}hasMetadata(){return!!this.$element.metadata&&!rf(this.$element.metadata)}getMetadata(r){return r?this.$element.metadata?.[r]:this.$element.metadata??{}}isTagged(r){return this.tags.includes(r)}}const gr=e=>typeof e=="string"?e:e.id,Ea="/",X8=e=>{if(nt(!e.includes(` +`),"View title cannot contain newlines"),e.includes(Ea)){const r=e.split(Ea).map(n=>n.trim()).filter(n=>n.length>0);return Dh(r,1)?r:[""]}return[e.trim()]},U3=e=>X8(e).join(Ea),O8e=e=>{const r=X8(e);return Dh(r,2)?r.slice(0,-1).join(Ea):null},I8e=e=>e.includes(Ea)?X8(e).pop()??e:e.trim();class z8e{constructor(r){this.$model=r;const n=this.$deployments=r.$data.deployments,o=H3(n.elements);for(const a of tu(o)){const i=this.addElement(a);for(const l of i.tags)this.#s.get(l).add(i);i.isInstance()&&this.#a.get(i.element.id).add(i)}for(const a of H3(n.relations)){const i=this.addRelation(a);for(const l of i.tags)this.#s.get(l).add(i)}}#e=new Map;#t=new Map;#r=new po(()=>new Set);#a=new po(()=>new Set);#i=new Set;#n=new Map;#o=new po(()=>new Set);#l=new po(()=>new Set);#c=new po(()=>new Set);#s=new po(()=>new Set);#u=new Map;$deployments;get $styles(){return this.$model.$styles}element(r){if(r instanceof _j||r instanceof Ej)return r;const n=gr(r);return bt(this.#e.get(n),`Element ${n} not found`)}findElement(r){return this.#e.get(r)??null}node(r){const n=this.element(r);return nt(n.isDeploymentNode(),`Element ${n.id} is not a deployment node`),n}findNode(r){const n=this.findElement(r);return n?(nt(n.isDeploymentNode(),`Element ${n?.id} is not a deployment node`),n):null}instance(r){const n=this.element(r);return nt(n.isInstance(),`Element ${n.id} is not a deployed instance`),n}findInstance(r){const n=this.findElement(r);return n?(nt(n.isInstance(),`Element ${n?.id} is not a deployed instance`),n):null}roots(){return this.#i.values()}elements(){return this.#e.values()}*nodes(){for(const r of this.#e.values())r.isDeploymentNode()&&(yield r)}*nodesOfKind(r){for(const n of this.#e.values())n.isDeploymentNode()&&n.kind===r&&(yield n)}*instances(){for(const r of this.#e.values())r.isInstance()&&(yield r)}*instancesOf(r){const n=gr(r),o=this.#a.get(n);o&&(yield*o)}deploymentRef(r){if(n0.isInsideInstanceRef(r)){const{deployment:n,element:o}=r;return t8e(this.#u,`${n}@${o}`,()=>new v8e(this.instance(n),this.$model.element(o)))}return this.element(r.deployment)}relationships(){return this.#n.values()}relationship(r){return bt(this.#n.get(gr(r)),`DeploymentRelationModel ${r} not found`)}findRelationship(r){return this.#n.get(r)??null}*views(){for(const r of this.$model.views())r.isDeploymentView()&&(yield r)}parent(r){const n=gr(r);return this.#t.get(n)||null}children(r){const n=gr(r);return this.#r.get(n)}*siblings(r){const n=gr(r),o=this.parent(r)?.children()??this.roots();for(const a of o)a.id!==n&&(yield a)}*ancestors(r){let n=gr(r),o;for(;o=this.#t.get(n);)yield o,n=o.id}*descendants(r,n="desc"){for(const o of this.children(r))n==="asc"?(yield o,yield*this.descendants(o.id)):(yield*this.descendants(o.id),yield o)}*incoming(r,n="all"){const o=gr(r);for(const a of this.#o.get(o))switch(!0){case n==="all":case(n==="direct"&&a.target.id===o):case(n==="to-descendants"&&a.target.id!==o):yield a;break}}*outgoing(r,n="all"){const o=gr(r);for(const a of this.#l.get(o))switch(!0){case n==="all":case(n==="direct"&&a.source.id===o):case(n==="from-descendants"&&a.source.id!==o):yield a;break}}addElement(r){if(this.#e.has(r.id))throw new Error(`Element ${r.id} already exists`);const n=q_e(r)?new _j(this,Object.freeze(r)):new Ej(this,Object.freeze(r),this.$model.element(r.element));this.#e.set(n.id,n);const o=i3(n.id);return o?(nt(this.#e.has(o),`Parent ${o} of ${n.id} not found`),this.#t.set(n.id,this.node(o)),this.#r.get(o).add(n)):(nt(n.isDeploymentNode(),`Root element ${n.id} is not a deployment node`),this.#i.add(n)),n}addRelation(r){if(this.#n.has(r.id))throw new Error(`Relation ${r.id} already exists`);const n=new x8e(this,Object.freeze(r));this.#n.set(n.id,n),this.#o.get(n.target.id).add(n),this.#l.get(n.source.id).add(n);const o=n.boundary?.id??null;if(o)for(const a of[o,...Ad(o)])this.#c.get(a).add(n);for(const a of Ad(n.source.id)){if(a===o)break;this.#l.get(a).add(n)}for(const a of Ad(n.target.id)){if(a===o)break;this.#o.get(a).add(n)}return n}}class Pj{constructor(r,n){this.model=r,this.$relationship=n,this.source=r.element(n0.flatten(n.source)),this.target=r.element(n0.flatten(n.target));const o=R1(this.source.id,this.target.id);this.boundary=o?this.model.element(o):null}source;target;boundary;get id(){return this.$relationship.id}get expression(){return`${this.source.id} -> ${this.target.id}`}get title(){return Ls(this.$relationship.title)?this.$relationship.title:null}get technology(){return Ls(this.$relationship.technology)?this.$relationship.technology:null}get description(){return Zt.memoize(this,"description",this.$relationship.description)}get navigateTo(){return this.$relationship.navigateTo?this.model.view(this.$relationship.navigateTo):null}get tags(){return this.$relationship.tags??[]}get kind(){return this.$relationship.kind??null}get links(){return this.$relationship.links??[]}get color(){return this.$relationship.color??this.model.$styles.defaults.relationship.color}get line(){return this.$relationship.line??this.model.$styles.defaults.relationship.line}get head(){return this.$relationship.head??this.model.$styles.defaults.relationship.arrow}get tail(){return this.$relationship.tail}*views(){for(const r of this.model.views())r.includesRelation(this.id)&&(yield r)}isDeploymentRelation(){return!1}isModelRelation(){return!0}hasMetadata(){return!!this.$relationship.metadata&&!rf(this.$relationship.metadata)}getMetadata(r){return r?this.$relationship.metadata?.[r]:this.$relationship.metadata??{}}isTagged(r){return this.tags.includes(r)}}class L8e{constructor(r,n,o,a){this.view=r,this.$edge=n,this.source=o,this.target=a,this.#e=n}#e;get id(){return this.#e.id}get parent(){return this.#e.parent?this.view.node(this.#e.parent):null}get label(){return this.#e.label??null}get description(){return Zt.memoize(this,"description",this.#e.description)}get technology(){return this.#e.technology??null}hasParent(){return this.#e.parent!==null}get tags(){return this.#e.tags??[]}get stepNumber(){return this.isStep()?XI(this.id):null}get navigateTo(){return this.#e.navigateTo?this.view.$model.view(this.#e.navigateTo):null}get color(){return this.#e.color}get line(){return this.#e.line??this.view.$model.$styles.defaults.relationship.line}get head(){return this.#e.head??this.view.$model.$styles.defaults.relationship.arrow}get tail(){return this.#e.tail}isStep(){return A1(this.id)}*relationships(r){for(const n of this.#e.relations)if(r){const o=this.view.$model.findRelationship(n,r);o&&(yield o)}else yield this.view.$model.relationship(n)}includesRelation(r){const n=typeof r=="string"?r:r.id;return this.#e.relations.includes(n)}isTagged(r){return this.tags.includes(r)}}class B8e{constructor(r,n){this.$view=r,this.$node=n,this.#e=n}#e;get id(){return this.#e.id}get title(){return this.#e.title}get kind(){return this.#e.kind}get description(){return Zt.memoize(this,"description",this.#e.description)}get technology(){return this.#e.technology??null}get parent(){return this.#e.parent?this.$view.node(this.#e.parent):null}get element(){const r=this.#e.modelRef;return r?this.$view.$model.element(r):null}get deployment(){const r=this.#e.deploymentRef;return r?this.$view.$model.deployment.element(r):null}get shape(){return this.#e.shape}get color(){return this.#e.color}get icon(){return this.#e.icon??null}get tags(){return this.#e.tags}get links(){return this.#e.links??[]}get navigateTo(){return this.#e.navigateTo?this.$view.$model.view(this.#e.navigateTo):null}get style(){return this.#e.style}children(){return pr(this,"children",()=>new Set(this.#e.children.map(r=>this.$view.node(r))))}*ancestors(){let r=this.parent;for(;r;)yield r,r=r.parent}*siblings(){const r=this.parent?.children()??this.$view.roots();for(const n of r)n.id!==this.id&&(yield n)}*incoming(r="all"){for(const n of this.#e.inEdges){const o=this.$view.edge(n);switch(!0){case r==="all":case(r==="direct"&&o.target.id===this.id):case(r==="to-descendants"&&o.target.id!==this.id):yield o;break}}}*incomers(r="all"){const n=new Set;for(const o of this.incoming(r))n.has(o.source.id)||(n.add(o.source.id),yield o.source)}*outgoing(r="all"){for(const n of this.#e.outEdges){const o=this.$view.edge(n);switch(!0){case r==="all":case(r==="direct"&&o.source.id===this.id):case(r==="from-descendants"&&o.source.id!==this.id):yield o;break}}}*outgoers(r="all"){const n=new Set;for(const o of this.outgoing(r))n.has(o.target.id)||(n.add(o.target.id),yield o.target)}isDiagramNode(){return"width"in this.#e&&"height"in this.#e}hasChildren(){return this.#e.children.length>0}hasParent(){return this.#e.parent!==null}hasElement(){return Ls(this.#e.modelRef)}hasDeployment(){return Ls(this.#e.deploymentRef)}hasDeployedInstance(){return this.hasElement()&&this.hasDeployment()}isGroup(){return wbe(this.#e)}isTagged(r){return this.tags.includes(r)}}class K8{Aux;#e=new Set;#t=new Map;#r=new Map;#a=new Set;#i=new Set;#n=new Set;#o=new po(r=>new Set);$view;$model;title;folder;viewPath;constructor(r,n,o){this.$model=r,this.$view=n,this.folder=o;for(const a of n.nodes){const i=new B8e(this,Object.freeze(a));this.#t.set(a.id,i),a.parent||this.#e.add(i),i.hasDeployment()&&this.#i.add(i.deployment.id),i.hasElement()&&this.#a.add(i.element.id);for(const l of i.tags)this.#o.get(l).add(i)}for(const a of n.edges){const i=new L8e(this,Object.freeze(a),this.node(a.source),this.node(a.target));for(const l of i.tags)this.#o.get(l).add(i);for(const l of a.relations)this.#n.add(l);this.#r.set(a.id,i)}this.title=this.$view.title?I8e(this.$view.title):null,this.viewPath=this.$view.title?U3(this.$view.title):this.$view.id}get _type(){return this.$view[r0]}get id(){return this.$view.id}get titleOrId(){return this.title??this.viewOf?.title??this.id}get titleOrUntitled(){return this.title??"Untitled"}get breadcrumbs(){return pr(this,"breadcrumbs",()=>this.folder.isRoot?[this]:[...this.folder.breadcrumbs,this])}get description(){return Zt.memoize(this,"description",this.$view.description)}get tags(){return this.$view.tags??[]}get links(){return this.$view.links??[]}get viewOf(){if(this.isElementView()){const r=this.$view.viewOf;return r?this.$model.element(r):null}return null}get mode(){if(this.isDynamicView())return this.$view.variant??"diagram";throw new Error("View is not dynamic")}get includedTags(){return[...this.#o.keys()]}roots(){return this.#e.values()}*compounds(){for(const r of this.#t.values())r.hasChildren()&&(yield r)}node(r){const n=gr(r);return bt(this.#t.get(n),`Node ${n} not found in view ${this.$view.id}`)}findNode(r){return this.#t.get(gr(r))??null}findNodeWithElement(r){const n=gr(r);return a0(this.#t.values(),o=>o.hasElement()&&o.element.id===n)??null}nodes(){return this.#t.values()}edge(r){const n=gr(r);return bt(this.#r.get(n),`Edge ${n} not found in view ${this.$view.id}`)}findEdge(r){return this.#r.get(gr(r))??null}edges(){return this.#r.values()}*edgesWithRelation(r){for(const n of this.#r.values())n.includesRelation(r)&&(yield n)}*elements(){for(const r of this.#t.values())r.hasElement()&&(yield r)}isTagged(r){return this.tags.includes(r)}includesElement(r){return this.#a.has(gr(r))}includesDeployment(r){return this.#i.has(gr(r))}includesRelation(r){return this.#n.has(gr(r))}isComputed(){return this.$view[t0]==="computed"}isDiagram(){return this.$view[t0]==="layouted"}isElementView(){return this.$view[r0]==="element"}isScopedElementView(){return this.$view[r0]==="element"&&Ls(this.$view.viewOf)}isDeploymentView(){return this.$view[r0]==="deployment"}isDynamicView(){return this.$view[r0]==="dynamic"}}class V3{$model;path;title;isRoot;parentPath;defaultViewId;constructor(r,n,o){this.$model=r,this.path=n.join("/"),this.isRoot=this.path==="",this.title=A8e(n),this.isRoot?this.parentPath=void 0:this.parentPath=n.slice(0,-1).join("/"),this.defaultViewId=o}get defaultView(){return this.defaultViewId?this.$model.view(this.defaultViewId):null}get breadcrumbs(){return nt(!this.isRoot,"Root view folder has no breadcrumbs"),pr(this,"breadcrumbs",()=>{const r=this.parent;return r?r.isRoot?[r,this]:[...r.breadcrumbs,this]:[this]})}get parent(){return nt(!this.isRoot,"Root view folder has no parent"),rf(this.parentPath)?null:this.$model.viewFolder(this.parentPath)}get children(){return this.$model.viewFolderItems(this.path)}get folders(){return pr(this,"folders",()=>{const r=[];for(const n of this.children)n instanceof V3&&r.push(n);return r})}get views(){return pr(this,"views",()=>{const r=[];for(const n of this.children)n instanceof K8&&r.push(n);return r})}}class Hd{Aux;_elements=new Map;_parents=new Map;_children=new po(()=>new Set);_rootElements=new Set;_relations=new Map;_incoming=new po(()=>new Set);_outgoing=new po(()=>new Set);_internal=new po(()=>new Set);_views=new Map;_rootViewFolder;_viewFolders=new Map;_viewFolderItems=new po(()=>new Set);_allTags=new po(()=>new Set);static fromParsed(r){return new Hd(r).asParsed}static create(r){return new Hd(r)}static fromDump(r){const{_stage:n="layouted",projectId:o="unknown",project:a,globals:i,imports:l,deployments:s,views:c,relations:u,elements:d,specification:p}=r;return new Hd({[t0]:n,projectId:o,project:a,globals:{predicates:i?.predicates??{},dynamicPredicates:i?.dynamicPredicates??{},styles:i?.styles??{}},imports:l??{},deployments:{elements:s?.elements??{},relations:s?.relations??{}},views:c??{},relations:u??{},elements:d??{},specification:p})}deployment;$data;constructor(r){this.$data=r;for(const[,n]of Aj(r.elements)){const o=this.addElement(n);for(const a of o.tags)this._allTags.get(a).add(o)}for(const[n,o]of Aj(r.imports??{}))for(const a of tu(o)){const i=this.addImportedElement(n,a);for(const l of i.tags)this._allTags.get(l).add(i)}for(const n of H3(r.relations)){const o=this.addRelation(n);for(const a of o.tags)this._allTags.get(a).add(o)}if(this.deployment=new z8e(this),dj(r,"computed")||dj(r,"layouted")){const n=BI(Ea),o=o0(H3(r.views),mj(i=>({view:i,path:U3(i.title??i.id),folderPath:i.title&&O8e(i.title)||""})),G8((i,l)=>n(i.folderPath,l.folderPath))),a=i=>{let l=this._viewFolders.get(i);if(!l){const s=Dj(i,Ea);nt(Dh(s,1),`View group path "${i}" must have at least one element`);let c;i===""?c=o.find(u=>u.view.id==="index"):c=o.find(u=>u.path===i),l=new V3(this,s,c?.view.id),this._viewFolders.set(i,l)}return l};this._rootViewFolder=a("");for(const{folderPath:i}of o)this._viewFolders.has(i)||Dj(i,Ea).reduce((l,s)=>{const c=l.join(Ea),u=rf(c)?s:c+Ea+s,d=a(u);return this._viewFolderItems.get(c).add(d),l.push(s),l},[]);for(const{view:i,folderPath:l}of o){const s=new K8(this,i,a(l));this._viewFolderItems.get(l).add(s),this._views.set(i.id,s);for(const c of s.tags)this._allTags.get(c).add(s)}}else this._rootViewFolder=new V3(this,[""],void 0),this._viewFolders.set(this._rootViewFolder.path,this._rootViewFolder)}get asParsed(){return this}get asComputed(){return this}get asLayouted(){return this}get $styles(){return pr(this,"styles",()=>II.from(this.$data.project.styles,this.$data.specification.customColors?{theme:{colors:this.$data.specification.customColors}}:void 0))}isParsed(){return this.stage==="parsed"}isLayouted(){return this.stage==="layouted"}isComputed(){return this.stage==="computed"}get $model(){return this.$data}get stage(){return this.$data[t0]}get projectId(){return this.$data.projectId??"default"}get project(){return this.$data.project??pr(this,Symbol.for("project"),()=>({id:this.projectId}))}get specification(){return this.$data.specification}get globals(){return pr(this,Symbol.for("globals"),()=>({predicates:{...this.$data.globals?.predicates},dynamicPredicates:{...this.$data.globals?.dynamicPredicates},styles:{...this.$data.globals?.styles}}))}element(r){if(r instanceof q3)return r;const n=gr(r);return bt(this._elements.get(n),`Element ${n} not found`)}findElement(r){return this._elements.get(gr(r))??null}roots(){return this._rootElements.values()}elements(){return this._elements.values()}relationships(){return this._relations.values()}relationship(r,n){if(n==="deployment")return this.deployment.relationship(r);const o=gr(r);let a=this._relations.get(o)??null;return a||n==="model"?bt(a,`Model relation ${o} not found`):bt(this.deployment.findRelationship(o),`No model/deployment relation ${o} not found`)}findRelationship(r,n){if(n==="deployment")return this.deployment.findRelationship(r);let o=this._relations.get(gr(r))??null;return o||n==="model"?o:this.deployment.findRelationship(r)}views(){return this._views.values()}view(r){const n=gr(r);return bt(this._views.get(n),`View ${n} not found`)}findView(r){return this._views.get(r)??null}viewFolder(r){return bt(this._viewFolders.get(r),`View folder ${r} not found`)}get rootViewFolder(){return this._rootViewFolder}get hasViewFolders(){return this._viewFolders.size>1}viewFolderItems(r){return nt(this._viewFolders.has(r),`View folder ${r} not found`),this._viewFolderItems.get(r)}parent(r){const n=gr(r);return this._parents.get(n)||null}children(r){const n=gr(r);return this._children.get(n)}*siblings(r){const n=gr(r),o=this._parents.get(n),a=o?this._children.get(o.id).values():this.roots();for(const i of a)i.id!==n&&(yield i)}*ancestors(r){let n=gr(r),o;for(;o=this._parents.get(n);)yield o,n=o.id}*descendants(r){for(const n of this.children(r))yield n,yield*this.descendants(n.id)}*incoming(r,n="all"){const o=gr(r);for(const a of this._incoming.get(o))switch(!0){case n==="all":case(n==="direct"&&a.target.id===o):case(n==="to-descendants"&&a.target.id!==o):yield a;break}}*outgoing(r,n="all"){const o=gr(r);for(const a of this._outgoing.get(o))switch(!0){case n==="all":case(n==="direct"&&a.source.id===o):case(n==="from-descendants"&&a.source.id!==o):yield a;break}}get tags(){return pr(this,"tags",()=>G8([...this._allTags.keys()],a3))}get tagsSortedByUsage(){return pr(this,"tagsSortedByUsage",()=>o0([...this._allTags.entries()],mj(([r,n])=>({tag:r,count:n.size,tagged:n})),G8((r,n)=>a3(r.tag,n.tag)),$8e([D8e("count"),"desc"])))}findByTag(r,n){return Fd(this._allTags.get(r),o=>n==="elements"?o instanceof q3:n==="views"?o instanceof K8:n==="relationships"?o instanceof Pj:!0)}*elementsOfKind(r){for(const n of this._elements.values())n.kind===r&&(yield n)}*elementsWhere(r){const n=jd(r);for(const o of this._elements.values())n(o)&&(yield o)}*relationshipsWhere(r){const n=jd(r);for(const o of this._relations.values())n(o)&&(yield o)}addElement(r){if(this._elements.has(r.id))throw new Error(`Element ${r.id} already exists`);const n=new q3(this,Object.freeze(r));this._elements.set(n.id,n);const o=i3(n.id);return o?(nt(this._elements.has(o),`Parent ${o} of ${n.id} not found`),this._parents.set(n.id,this.element(o)),this._children.get(o).add(n)):this._rootElements.add(n),n}addImportedElement(r,n){nt(!kbe(n.id),"Imported element already has global FQN");const o=GI(r,n.id);if(this._elements.has(o))throw new Error(`Element ${o} already exists`);const a=new q3(this,Object.freeze({...n,id:o}));this._elements.set(a.id,a);let i=i3(a.id);for(;i;){if(i.includes(".")&&this._elements.has(i))return this._parents.set(a.id,this.element(i)),this._children.get(i).add(a),a;i=i3(i)}return this._rootElements.add(a),a}addRelation(r){if(this._relations.has(r.id))throw new Error(`Relation ${r.id} already exists`);const n=new Pj(this,Object.freeze(r)),{source:o,target:a}=n;this._relations.set(n.id,n),this._incoming.get(a.id).add(n),this._outgoing.get(o.id).add(n);const i=R1(o.id,a.id);if(i)for(const l of[i,...Ad(i)])this._internal.get(l).add(n);for(const l of Ad(o.id)){if(l===i)break;this._outgoing.get(l).add(n)}for(const l of Ad(a.id)){if(l===i)break;this._incoming.get(l).add(n)}return n}}(e=>{e.EMPTY=e.create({_stage:"computed",projectId:"default",project:{id:"default"},specification:{elements:{},relationships:{},deployments:{},tags:{}},globals:{predicates:{},dynamicPredicates:{},styles:{}},deployments:{elements:{},relations:{}},elements:{},relations:{},views:{},imports:{}})})(Hd||(Hd={}));function Y3(e){return typeof e=="object"&&e!=null&&!Array.isArray(e)}var j8e=e=>typeof e=="object"&&e!==null;function qd(e){return Object.fromEntries(Object.entries(e??{}).filter(([r,n])=>n!==void 0))}var F8e=e=>e==="base";function H8e(e){return e.slice().filter(r=>!F8e(r))}function $j(e){return String.fromCharCode(e+(e>25?39:97))}function q8e(e){let r="",n;for(n=Math.abs(e);n>52;n=n/52|0)r=$j(n%52)+r;return $j(n%52)+r}function U8e(e,r){let n=r.length;for(;n;)e=e*33^r.charCodeAt(--n);return e}function V8e(e){return q8e(U8e(5381,e)>>>0)}var Mj=/\s*!(important)?/i;function Y8e(e){return typeof e=="string"?Mj.test(e):!1}function W8e(e){return typeof e=="string"?e.replace(Mj,"").trim():e}function Z8(e){return typeof e=="string"?e.replaceAll(" ","_"):e}var ho=e=>{const r=new Map;return(...n)=>{const o=JSON.stringify(n);if(r.has(o))return r.get(o);const a=e(...n);return r.set(o,a),a}},G8e=new Set(["__proto__","constructor","prototype"]);function Q8(...e){return e.reduce((r,n)=>(n&&Object.keys(n).forEach(o=>{if(G8e.has(o))return;const a=r[o],i=n[o];Y3(a)&&Y3(i)?r[o]=Q8(a,i):r[o]=i}),r),{})}var X8e=e=>e!=null;function J8(e,r,n={}){const{stop:o,getKey:a}=n;function i(l,s=[]){if(j8e(l)){const c={};for(const[u,d]of Object.entries(l)){const p=a?.(u,d)??u,f=[...s,p];if(o?.(l,f))return r(l,s);const g=i(d,f);X8e(g)&&(c[p]=g)}return c}return r(l,s)}return i(e)}function K8e(e,r){return Array.isArray(e)?e.map(n=>r(n)):Y3(e)?J8(e,n=>r(n)):r(e)}function Z8e(e,r){return e.reduce((n,o,a)=>{const i=r[a];return o!=null&&(n[i]=o),n},{})}function Oj(e,r,n=!0){const{utility:o,conditions:a}=r,{hasShorthand:i,resolveShorthand:l}=o;return J8(e,s=>Array.isArray(s)?Z8e(s,a.breakpoints.keys):s,{stop:s=>Array.isArray(s),getKey:n?s=>i?l(s):s:void 0})}var Q8e={shift:e=>e,finalize:e=>e,breakpoints:{keys:[]}},J8e=e=>typeof e=="string"?e.replaceAll(/[\n\s]+/g," "):e;function Ij(e){const{utility:r,hash:n,conditions:o=Q8e}=e,a=l=>[r.prefix,l].filter(Boolean).join("-"),i=(l,s)=>{let c;if(n){const u=[...o.finalize(l),s];c=a(r.toHash(u,V8e))}else c=[...o.finalize(l),a(s)].join(":");return c};return ho(({base:l,...s}={})=>{const c=Object.assign(s,l),u=Oj(c,e),d=new Set;return J8(u,(p,f)=>{if(p==null)return;const g=Y8e(p),[b,...x]=o.shift(f),w=H8e(x),k=r.transform(b,W8e(J8e(p)));let C=i(w,k.className);g&&(C=`${C}!`),d.add(C)}),Array.from(d).join(" ")})}function eEe(...e){return e.flat().filter(r=>Y3(r)&&Object.keys(qd(r)).length>0)}function tEe(e){function r(a){const i=eEe(...a);return i.length===1?i:i.map(l=>Oj(l,e))}function n(...a){return Q8(...r(a))}function o(...a){return Object.assign({},...r(a))}return{mergeCss:ho(n),assignCss:o}}var rEe=/([A-Z])/g,nEe=/^ms-/,oEe=ho(e=>e.startsWith("--")?e:e.replace(rEe,"-$1").replace(nEe,"-ms-").toLowerCase()),aEe=["min","max","clamp","calc"],iEe=new RegExp(`^(${aEe.join("|")})\\(.*\\)`),lEe=e=>typeof e=="string"&&iEe.test(e),sEe="cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%",cEe=`(?:${sEe.split(",").join("|")})`,uEe=new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${cEe}$`),dEe=e=>typeof e=="string"&&uEe.test(e),pEe=e=>typeof e=="string"&&/^var\(--.+\)$/.test(e),l0={map:K8e,isCssFunction:lEe,isCssVar:pEe,isCssUnit:dEe},s0=(e,r)=>{if(!e?.defaultValues)return r;const n=typeof e.defaultValues=="function"?e.defaultValues(r):e.defaultValues;return Object.assign({},n,qd(r))},hEe=(e={})=>{const r=o=>({className:[e.className,o].filter(Boolean).join("__"),base:e.base?.[o]??{},variants:{},defaultVariants:e.defaultVariants??{},compoundVariants:e.compoundVariants?eE(e.compoundVariants,o):[]}),n=(e.slots??[]).map(o=>[o,r(o)]);for(const[o,a]of Object.entries(e.variants??{}))for(const[i,l]of Object.entries(a))n.forEach(([s,c])=>{c.variants[o]??={},c.variants[o][i]=l[s]??{}});return Object.fromEntries(n)},eE=(e,r)=>e.filter(n=>n.css[r]).map(n=>({...n,css:n.css[r]}));function Zn(e,...r){const n=Object.getOwnPropertyDescriptors(e),o=Object.keys(n),a=l=>{const s={};for(let c=0;ca(Array.isArray(l)?l:o.filter(l));return r.map(i).concat(a(o))}var tE=(...e)=>{const r=e.reduce((n,o)=>(o&&o.forEach(a=>n.add(a)),n),new Set([]));return Array.from(r)},zj=["htmlSize","htmlTranslate","htmlWidth","htmlHeight"];function fEe(e){return zj.includes(e)?e.replace("html","").toLowerCase():e}function rE(e){return Object.fromEntries(Object.entries(e).map(([r,n])=>[fEe(r),n]))}rE.keys=zj;const mEe="_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,_noscript,_invertedColors,_shapeSizeXs,_shapeSizeSm,_shapeSizeMd,_shapeSizeLg,_shapeSizeXl,_shapeRectangle,_shapePerson,_shapeBrowser,_shapeMobile,_shapeCylinder,_shapeStorage,_shapeQueue,_notDisabled,_reduceGraphics,_reduceGraphicsOnPan,_noReduceGraphics,_whenPanning,_smallZoom,_compoundTransparent,_edgeActive,_whenHovered,_whenSelected,_whenDimmed,_whenFocused,_p3,_srgb,_rec2020,xs,xsOnly,xsDown,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,xsToSm,xsToMd,xsToLg,xsToXl,smToMd,smToLg,smToXl,mdToLg,mdToXl,lgToXl,@/xs,@/sm,@/md,@/lg,@likec4-root/xs,@likec4-root/sm,@likec4-root/md,@likec4-root/lg,@likec4-dialog/xs,@likec4-dialog/sm,@likec4-dialog/md,@likec4-dialog/lg,base",Lj=new Set(mEe.split(",")),gEe=/^@|&|&$/;function Bj(e){return Lj.has(e)||gEe.test(e)}const yEe=/^_/,bEe=/&|@/;function jj(e){return e.map(r=>Lj.has(r)?r.replace(yEe,""):bEe.test(r)?`[${Z8(r.trim())}]`:r)}function Fj(e){return e.sort((r,n)=>{const o=Bj(r),a=Bj(n);return o&&!a?1:!o&&a?-1:0})}const vEe="aspectRatio:asp,boxDecorationBreak:bx-db,zIndex:z,boxSizing:bx-s,objectPosition:obj-p,objectFit:obj-f,overscrollBehavior:ovs-b,overscrollBehaviorX:ovs-bx,overscrollBehaviorY:ovs-by,position:pos/1,top:top,left:left,inset:inset,insetInline:inset-x/insetX,insetBlock:inset-y/insetY,insetBlockEnd:inset-be,insetBlockStart:inset-bs,insetInlineEnd:inset-e/insetEnd/end,insetInlineStart:inset-s/insetStart/start,right:right,bottom:bottom,float:float,visibility:vis,display:d,hideFrom:hide,hideBelow:show,flexBasis:flex-b,flex:flex,flexDirection:flex-d/flexDir,flexGrow:flex-g,flexShrink:flex-sh,gridTemplateColumns:grid-tc,gridTemplateRows:grid-tr,gridColumn:grid-c,gridRow:grid-r,gridColumnStart:grid-cs,gridColumnEnd:grid-ce,gridAutoFlow:grid-af,gridAutoColumns:grid-ac,gridAutoRows:grid-ar,gap:gap,gridGap:grid-g,gridRowGap:grid-rg,gridColumnGap:grid-cg,rowGap:rg,columnGap:cg,justifyContent:jc,alignContent:ac,alignItems:ai,alignSelf:as,padding:p/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,paddingBottom:pb/1,paddingBlock:py/1/paddingY,paddingBlockEnd:pbe,paddingBlockStart:pbs,paddingInline:px/paddingX/1,paddingInlineEnd:pe/1/paddingEnd,paddingInlineStart:ps/1/paddingStart,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,marginBottom:mb/1,margin:m/1,marginBlock:my/1/marginY,marginBlockEnd:mbe,marginBlockStart:mbs,marginInline:mx/1/marginX,marginInlineEnd:me/1/marginEnd,marginInlineStart:ms/1/marginStart,spaceX:sx,spaceY:sy,outlineWidth:ring-w/ringWidth,outlineColor:ring-c/ringColor,outline:ring/1,outlineOffset:ring-o/ringOffset,focusRing:focus-ring,focusVisibleRing:focus-v-ring,focusRingColor:focus-ring-c,focusRingOffset:focus-ring-o,focusRingWidth:focus-ring-w,focusRingStyle:focus-ring-s,divideX:dvd-x,divideY:dvd-y,divideColor:dvd-c,divideStyle:dvd-s,width:w/1,inlineSize:w-is,minWidth:min-w/minW,minInlineSize:min-w-is,maxWidth:max-w/maxW,maxInlineSize:max-w-is,height:h/1,blockSize:h-bs,minHeight:min-h/minH,minBlockSize:min-h-bs,maxHeight:max-h/maxH,maxBlockSize:max-b,boxSize:size,color:c,fontFamily:ff,fontSize:fs,fontSizeAdjust:fs-a,fontPalette:fp,fontKerning:fk,fontFeatureSettings:ff-s,fontWeight:fw,fontSmoothing:fsmt,fontVariant:fv,fontVariantAlternates:fv-alt,fontVariantCaps:fv-caps,fontVariationSettings:fv-s,fontVariantNumeric:fv-num,letterSpacing:ls,lineHeight:lh,textAlign:ta,textDecoration:td,textDecorationColor:td-c,textEmphasisColor:te-c,textDecorationStyle:td-s,textDecorationThickness:td-t,textUnderlineOffset:tu-o,textTransform:tt,textIndent:ti,textShadow:tsh,textShadowColor:tsh-c/textShadowColor,textOverflow:tov,verticalAlign:va,wordBreak:wb,textWrap:tw,truncate:trunc,lineClamp:lc,listStyleType:li-t,listStylePosition:li-pos,listStyleImage:li-img,listStyle:li-s,backgroundPosition:bg-p/bgPosition,backgroundPositionX:bg-p-x/bgPositionX,backgroundPositionY:bg-p-y/bgPositionY,backgroundAttachment:bg-a/bgAttachment,backgroundClip:bg-cp/bgClip,background:bg/1,backgroundColor:bg-c/bgColor,backgroundOrigin:bg-o/bgOrigin,backgroundImage:bg-i/bgImage,backgroundRepeat:bg-r/bgRepeat,backgroundBlendMode:bg-bm/bgBlendMode,backgroundSize:bg-s/bgSize,backgroundGradient:bg-grad/bgGradient,backgroundLinear:bg-linear/bgLinear,backgroundRadial:bg-radial/bgRadial,backgroundConic:bg-conic/bgConic,textGradient:txt-grad,gradientFromPosition:grad-from-pos,gradientToPosition:grad-to-pos,gradientFrom:grad-from,gradientTo:grad-to,gradientVia:grad-via,gradientViaPosition:grad-via-pos,borderRadius:bdr/rounded,borderTopLeftRadius:bdr-tl/roundedTopLeft,borderTopRightRadius:bdr-tr/roundedTopRight,borderBottomRightRadius:bdr-br/roundedBottomRight,borderBottomLeftRadius:bdr-bl/roundedBottomLeft,borderTopRadius:bdr-t/roundedTop,borderRightRadius:bdr-r/roundedRight,borderBottomRadius:bdr-b/roundedBottom,borderLeftRadius:bdr-l/roundedLeft,borderStartStartRadius:bdr-ss/roundedStartStart,borderStartEndRadius:bdr-se/roundedStartEnd,borderStartRadius:bdr-s/roundedStart,borderEndStartRadius:bdr-es/roundedEndStart,borderEndEndRadius:bdr-ee/roundedEndEnd,borderEndRadius:bdr-e/roundedEnd,border:bd,borderWidth:bd-w,borderTopWidth:bd-t-w,borderLeftWidth:bd-l-w,borderRightWidth:bd-r-w,borderBottomWidth:bd-b-w,borderBlockStartWidth:bd-bs-w,borderBlockEndWidth:bd-be-w,borderColor:bd-c,borderInline:bd-x/borderX,borderInlineWidth:bd-x-w/borderXWidth,borderInlineColor:bd-x-c/borderXColor,borderBlock:bd-y/borderY,borderBlockWidth:bd-y-w/borderYWidth,borderBlockColor:bd-y-c/borderYColor,borderLeft:bd-l,borderLeftColor:bd-l-c,borderInlineStart:bd-s/borderStart,borderInlineStartWidth:bd-s-w/borderStartWidth,borderInlineStartColor:bd-s-c/borderStartColor,borderRight:bd-r,borderRightColor:bd-r-c,borderInlineEnd:bd-e/borderEnd,borderInlineEndWidth:bd-e-w/borderEndWidth,borderInlineEndColor:bd-e-c/borderEndColor,borderTop:bd-t,borderTopColor:bd-t-c,borderBottom:bd-b,borderBottomColor:bd-b-c,borderBlockEnd:bd-be,borderBlockEndColor:bd-be-c,borderBlockStart:bd-bs,borderBlockStartColor:bd-bs-c,opacity:op,boxShadow:bx-sh/shadow,boxShadowColor:bx-sh-c/shadowColor,mixBlendMode:mix-bm,filter:filter,brightness:brightness,contrast:contrast,grayscale:grayscale,hueRotate:hue-rotate,invert:invert,saturate:saturate,sepia:sepia,dropShadow:drop-shadow,blur:blur,backdropFilter:bkdp,backdropBlur:bkdp-blur,backdropBrightness:bkdp-brightness,backdropContrast:bkdp-contrast,backdropGrayscale:bkdp-grayscale,backdropHueRotate:bkdp-hue-rotate,backdropInvert:bkdp-invert,backdropOpacity:bkdp-opacity,backdropSaturate:bkdp-saturate,backdropSepia:bkdp-sepia,borderCollapse:bd-cl,borderSpacing:bd-sp,borderSpacingX:bd-sx,borderSpacingY:bd-sy,tableLayout:tbl,transitionTimingFunction:trs-tmf,transitionDelay:trs-dly,transitionDuration:trs-dur,transitionProperty:trs-prop,transition:transition,animation:anim,animationName:anim-n,animationTimingFunction:anim-tmf,animationDuration:anim-dur,animationDelay:anim-dly,animationPlayState:anim-ps,animationComposition:anim-comp,animationFillMode:anim-fm,animationDirection:anim-dir,animationIterationCount:anim-ic,animationRange:anim-r,animationState:anim-s,animationRangeStart:anim-rs,animationRangeEnd:anim-re,animationTimeline:anim-tl,transformOrigin:trf-o,transformBox:trf-b,transformStyle:trf-s,transform:trf,rotate:rotate,rotateX:rotate-x,rotateY:rotate-y,rotateZ:rotate-z,scale:scale,scaleX:scale-x,scaleY:scale-y,translate:translate,translateX:translate-x/x,translateY:translate-y/y,translateZ:translate-z/z,accentColor:ac-c,caretColor:ca-c,scrollBehavior:scr-bhv,scrollbar:scr-bar,scrollbarColor:scr-bar-c,scrollbarGutter:scr-bar-g,scrollbarWidth:scr-bar-w,scrollMargin:scr-m,scrollMarginLeft:scr-ml,scrollMarginRight:scr-mr,scrollMarginTop:scr-mt,scrollMarginBottom:scr-mb,scrollMarginBlock:scr-my/scrollMarginY,scrollMarginBlockEnd:scr-mbe,scrollMarginBlockStart:scr-mbt,scrollMarginInline:scr-mx/scrollMarginX,scrollMarginInlineEnd:scr-me,scrollMarginInlineStart:scr-ms,scrollPadding:scr-p,scrollPaddingBlock:scr-py/scrollPaddingY,scrollPaddingBlockStart:scr-pbs,scrollPaddingBlockEnd:scr-pbe,scrollPaddingInline:scr-px/scrollPaddingX,scrollPaddingInlineEnd:scr-pe,scrollPaddingInlineStart:scr-ps,scrollPaddingLeft:scr-pl,scrollPaddingRight:scr-pr,scrollPaddingTop:scr-pt,scrollPaddingBottom:scr-pb,scrollSnapAlign:scr-sa,scrollSnapStop:scrs-s,scrollSnapType:scrs-t,scrollSnapStrictness:scrs-strt,scrollSnapMargin:scrs-m,scrollSnapMarginTop:scrs-mt,scrollSnapMarginBottom:scrs-mb,scrollSnapMarginLeft:scrs-ml,scrollSnapMarginRight:scrs-mr,scrollSnapCoordinate:scrs-c,scrollSnapDestination:scrs-d,scrollSnapPointsX:scrs-px,scrollSnapPointsY:scrs-py,scrollSnapTypeX:scrs-tx,scrollSnapTypeY:scrs-ty,scrollTimeline:scrtl,scrollTimelineAxis:scrtl-a,scrollTimelineName:scrtl-n,touchAction:tch-a,userSelect:us,overflow:ov,overflowWrap:ov-wrap,overflowX:ov-x,overflowY:ov-y,overflowAnchor:ov-a,overflowBlock:ov-b,overflowInline:ov-i,overflowClipBox:ovcp-bx,overflowClipMargin:ovcp-m,overscrollBehaviorBlock:ovs-bb,overscrollBehaviorInline:ovs-bi,fill:fill,stroke:stk,strokeWidth:stk-w,strokeDasharray:stk-dsh,strokeDashoffset:stk-do,strokeLinecap:stk-lc,strokeLinejoin:stk-lj,strokeMiterlimit:stk-ml,strokeOpacity:stk-op,srOnly:sr,debug:debug,appearance:ap,backfaceVisibility:bfv,clipPath:cp-path,hyphens:hy,mask:msk,maskImage:msk-i,maskSize:msk-s,textSizeAdjust:txt-adj,container:cq,containerName:cq-n,containerType:cq-t,cursor:cursor,textStyle:textStyle,layerStyle:layerStyle,animationStyle:animationStyle",Hj=new Map,qj=new Map;vEe.split(",").forEach(e=>{const[r,n]=e.split(":"),[o,...a]=n.split("/");Hj.set(r,o),a.length&&a.forEach(i=>{qj.set(i==="1"?o:i,r)})});const Uj=e=>qj.get(e)||e,Vj={conditions:{shift:Fj,finalize:jj,breakpoints:{keys:["base","xs","sm","md","lg","xl"]}},utility:{transform:(e,r)=>{const n=Uj(e);return{className:`${Hj.get(n)||oEe(n)}_${Z8(r)}`}},hasShorthand:!0,toHash:(e,r)=>r(e.join(":")),resolveShorthand:Uj}},xEe=Ij(Vj),me=(...e)=>xEe(Ud(...e));me.raw=(...e)=>Ud(...e);const{mergeCss:Ud}=tEe(Vj);function Je(){let e="",r=0,n;for(;r({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});function c0(e){const{base:r,variants:n,defaultVariants:o,compoundVariants:a}=Yj(e),i=f=>({...o,...qd(f)});function l(f={}){const g=i(f);let b={...r};for(const[w,k]of Object.entries(g))n[w]?.[k]&&(b=Ud(b,n[w][k]));const x=nE(a,g);return Ud(b,x)}function s(f){const g=Yj(f.config),b=tE(f.variantKeys,Object.keys(n));return c0({base:Ud(r,g.base),variants:Object.fromEntries(b.map(x=>[x,Ud(n[x],g.variants[x])])),defaultVariants:Q8(o,g.defaultVariants),compoundVariants:[...a,...g.compoundVariants]})}function c(f){return me(l(f))}const u=Object.keys(n);function d(f){return Zn(f,u)}const p=Object.fromEntries(Object.entries(n).map(([f,g])=>[f,Object.keys(g)]));return Object.assign(ho(c),{__cva__:!0,variantMap:p,variantKeys:u,raw:l,config:e,merge:s,splitVariantProps:d,getVariantProps:i})}function nE(e,r){let n={};return e.forEach(o=>{Object.entries(o).every(([a,i])=>a==="css"?!0:(Array.isArray(i)?i:[i]).some(l=>r[a]===l))&&(n=Ud(n,o.css))}),n}function wEe(e,r,n,o){if(r.length>0&&typeof n?.[o]=="object")throw new Error(`[recipe:${e}:${o}] Conditions are not supported when using compound variants.`)}function kEe(e){const r=Object.entries(hEe(e)).map(([p,f])=>[p,c0(f)]),n=e.defaultVariants??{},o=r.reduce((p,[f,g])=>(e.className&&(p[f]=g.config.className),p),{});function a(p){const f=r.map(([g,b])=>[g,Je(b(p),o[g])]);return Object.fromEntries(f)}function i(p){const f=r.map(([g,b])=>[g,b.raw(p)]);return Object.fromEntries(f)}const l=e.variants??{},s=Object.keys(l);function c(p){return Zn(p,s)}const u=p=>({...n,...qd(p)}),d=Object.fromEntries(Object.entries(l).map(([p,f])=>[p,Object.keys(f)]));return Object.assign(ho(a),{__cva__:!1,raw:i,config:e,variantMap:d,variantKeys:s,classNameMap:o,splitVariantProps:c,getVariantProps:u})}/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */var Q8e={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};/** + */var _Ee={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const yt=(e,r,n,o)=>{const a=E.forwardRef(({color:i="currentColor",size:l=24,stroke:s=2,title:c,className:u,children:d,...p},f)=>E.createElement("svg",{ref:f,...Q8e[e],width:l,height:l,className:["tabler-icon",`tabler-icon-${r}`,u].join(" "),...e==="filled"?{fill:i}:{strokeWidth:s,stroke:i},...p},[c&&E.createElement("title",{key:"svg-title"},c),...o.map(([g,b])=>E.createElement(g,b)),...Array.isArray(d)?d:[d]]));return a.displayName=`${n}`,a};/** + */const xt=(e,r,n,o)=>{const a=S.forwardRef(({color:i="currentColor",size:l=24,stroke:s=2,title:c,className:u,children:d,...p},f)=>S.createElement("svg",{ref:f,..._Ee[e],width:l,height:l,className:["tabler-icon",`tabler-icon-${r}`,u].join(" "),...e==="filled"?{fill:i}:{strokeWidth:s,stroke:i},...p},[c&&S.createElement("title",{key:"svg-title"},c),...o.map(([g,b])=>S.createElement(g,b)),...Array.isArray(d)?d:[d]]));return a.displayName=`${n}`,a};/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const J8e=[["path",{d:"M12 6m-7 0a7 3 0 1 0 14 0a7 3 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M5 6v12c0 1.657 3.134 3 7 3s7 -1.343 7 -3v-12",key:"svg-1"}]],zj=yt("outline","cylinder","Cylinder",J8e);/** + */const EEe=[["path",{d:"M12 6m-7 0a7 3 0 1 0 14 0a7 3 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M5 6v12c0 1.657 3.134 3 7 3s7 -1.343 7 -3v-12",key:"svg-1"}]],Wj=xt("outline","cylinder","Cylinder",EEe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const eEe=[["path",{d:"M21 14.008v-5.018a1.98 1.98 0 0 0 -1 -1.717l-4 -2.008a2.016 2.016 0 0 0 -2 0l-10 5.008c-.619 .355 -1 1.01 -1 1.718v5.018c0 .709 .381 1.363 1 1.717l4 2.008a2.016 2.016 0 0 0 2 0l10 -5.008c.619 -.355 1 -1.01 1 -1.718z",key:"svg-0"}],["path",{d:"M9 21v-7.5",key:"svg-1"}],["path",{d:"M9 13.5l11.5 -5.5",key:"svg-2"}],["path",{d:"M3.5 11l5.5 2.5",key:"svg-3"}]],tEe=yt("outline","rectangular-prism","RectangularPrism",eEe);/** + */const SEe=[["path",{d:"M21 14.008v-5.018a1.98 1.98 0 0 0 -1 -1.717l-4 -2.008a2.016 2.016 0 0 0 -2 0l-10 5.008c-.619 .355 -1 1.01 -1 1.718v5.018c0 .709 .381 1.363 1 1.717l4 2.008a2.016 2.016 0 0 0 2 0l10 -5.008c.619 -.355 1 -1.01 1 -1.718z",key:"svg-0"}],["path",{d:"M9 21v-7.5",key:"svg-1"}],["path",{d:"M9 13.5l11.5 -5.5",key:"svg-2"}],["path",{d:"M3.5 11l5.5 2.5",key:"svg-3"}]],CEe=xt("outline","rectangular-prism","RectangularPrism",SEe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const rEe=[["path",{d:"M3 15m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z",key:"svg-0"}],["path",{d:"M10 15m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z",key:"svg-1"}],["path",{d:"M17 15m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z",key:"svg-2"}],["path",{d:"M5 11v-3a3 3 0 0 1 3 -3h8a3 3 0 0 1 3 3v3",key:"svg-3"}],["path",{d:"M16.5 8.5l2.5 2.5l2.5 -2.5",key:"svg-4"}]],nEe=yt("outline","reorder","Reorder",rEe);/** + */const TEe=[["path",{d:"M3 15m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z",key:"svg-0"}],["path",{d:"M10 15m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z",key:"svg-1"}],["path",{d:"M17 15m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z",key:"svg-2"}],["path",{d:"M5 11v-3a3 3 0 0 1 3 -3h8a3 3 0 0 1 3 3v3",key:"svg-3"}],["path",{d:"M16.5 8.5l2.5 2.5l2.5 -2.5",key:"svg-4"}]],REe=xt("outline","reorder","Reorder",TEe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const oEe=[["path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0",key:"svg-0"}],["path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2",key:"svg-1"}]],aEe=yt("outline","user","User",oEe);/** + */const AEe=[["path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0",key:"svg-0"}],["path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2",key:"svg-1"}]],NEe=xt("outline","user","User",AEe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const iEe=[["path",{d:"M6 5a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2v-14z",key:"svg-0"}],["path",{d:"M11 4h2",key:"svg-1"}],["path",{d:"M12 17v.01",key:"svg-2"}]],lEe=yt("outline","device-mobile","DeviceMobile",iEe);/** + */const DEe=[["path",{d:"M6 5a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2v-14z",key:"svg-0"}],["path",{d:"M11 4h2",key:"svg-1"}],["path",{d:"M12 17v.01",key:"svg-2"}]],PEe=xt("outline","device-mobile","DeviceMobile",DEe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const sEe=[["path",{d:"M4 8h16",key:"svg-0"}],["path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z",key:"svg-1"}],["path",{d:"M8 4v4",key:"svg-2"}]],cEe=yt("outline","browser","Browser",sEe),Z8=E.createContext(null);function uEe({value:e,children:r}){return E.useContext(Z8)?y.jsx(y.Fragment,{children:r}):y.jsx(Z8.Provider,{value:e,children:r})}function U3({element:e,className:r,style:n}){const o=E.useContext(Z8);if(!e||!e.icon||e.icon==="none")return null;let a;return e.icon.startsWith("http://")||e.icon.startsWith("https://")?a=y.jsx("img",{src:e.icon,alt:e.title}):o&&(a=y.jsx(o,{node:e})),a?y.jsx("div",{className:Je(r,"likec4-element-icon"),"data-likec4-icon":e.icon,style:n,children:a}):null}const dEe={browser:cEe,cylinder:zj,mobile:lEe,person:aEe,queue:nEe,rectangle:tEe,storage:zj};function pEe({element:e,className:r}){const n=y.jsx(U3,{element:e,className:r});if(n)return n;const o=dEe[e.shape];return y.jsx("div",{className:Je(r,"likec4-shape-icon"),children:y.jsx(o,{})})}function Xh(e){const r=E.useRef(e);return r.current=e,E.useMemo(()=>Object.freeze({get current(){return r.current}}),[])}function Bj(e){const r=Xh(e);E.useEffect(()=>()=>{r.current()},[])}function V3(e,r,n,o=0){const a=E.useRef(void 0),i=E.useRef(void 0),l=E.useRef(e),s=E.useRef(void 0),c=()=>{a.current&&(clearTimeout(a.current),a.current=void 0),i.current&&(clearTimeout(i.current),i.current=void 0)};return Bj(c),E.useEffect(()=>{l.current=e},r),E.useMemo(()=>{const u=()=>{if(c(),!s.current)return;const p=s.current;s.current=void 0,l.current.apply(p.this,p.args)},d=function(...p){a.current&&clearTimeout(a.current),s.current={args:p,this:this},a.current=setTimeout(u,n),o>0&&!i.current&&(i.current=setTimeout(u,o))};return Object.defineProperties(d,{length:{value:e.length},name:{value:`${e.name||"anonymous"}__debounced__${n}`}}),d},[n,o,...r])}const hEe=()=>{},Y3=typeof globalThis<"u"&&typeof navigator<"u"&&typeof document<"u";function fEe(e){const r=Xh(e),n=E.useRef(0),o=E.useCallback(()=>{Y3&&n.current&&(cancelAnimationFrame(n.current),n.current=0)},[]);return Bj(o),[E.useMemo(()=>{const a=(...i)=>{Y3&&(o(),n.current=requestAnimationFrame(()=>{r.current(...i),n.current=0}))};return Object.defineProperties(a,{length:{value:e.length},name:{value:`${e.name||"anonymous"}__raf`}}),a},[]),o]}const mEe=(e,r)=>{if(e===r)return!0;if(e.length!==r.length)return!1;for(const[n,o]of e.entries())if(o!==r[n])return!1;return!0};function jj(e,r,n=mEe,o=E.useEffect,...a){const i=E.useRef(void 0);(i.current===void 0||Y3&&!n(i.current,r))&&(i.current=r),o(e,i.current,...a)}function gEe(e,r,n,o=0){E.useEffect(V3(e,r,n,o),r)}function Fj(){const e=E.useRef(!0);return E.useEffect(()=>{e.current=!1},[]),e.current}const Q8=Y3?E.useLayoutEffect:E.useEffect;function yEe(e){E.useEffect(()=>{e()},[])}function Hj(e,r){const[n,o]=fEe(e);E.useEffect(()=>(n(),o),r)}const bEe=e=>(e+1)%Number.MAX_SAFE_INTEGER;function vEe(){const[,e]=E.useState(0);return E.useCallback(()=>{e(bEe)},[])}function qj(e,r){const n=Fj();E.useEffect(n?hEe:e,r)}const xEe=e=>{e&&clearTimeout(e)};function W3(e,r){const n=Xh(e),o=Xh(r),a=E.useRef(null),i=E.useCallback(()=>{xEe(a.current)},[]),l=E.useCallback(()=>{o.current!==void 0&&(i(),a.current=setTimeout(()=>{n.current()},o.current))},[]);return E.useEffect(()=>(l(),i),[r]),[i,l]}const Uj=(e,r,n)=>{const o=E.useRef(void 0);return(o.current===void 0||!n(o.current,r))&&(o.current=r),E.useMemo(e,o.current)};function an(e){if(typeof e=="string"||typeof e=="number")return""+e;let r="";if(Array.isArray(e))for(let n=0,o;n{}};function G3(){for(var e=0,r=arguments.length,n={},o;e=0&&(o=n.slice(a+1),n=n.slice(0,a)),n&&!r.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:o}})}X3.prototype=G3.prototype={constructor:X3,on:function(e,r){var n=this._,o=kEe(e+"",n),a,i=-1,l=o.length;if(arguments.length<2){for(;++i0)for(var n=new Array(a),o=0,a,i;o=0&&(r=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),Yj.hasOwnProperty(r)?{space:Yj[r],local:e}:e}function EEe(e){return function(){var r=this.ownerDocument,n=this.namespaceURI;return n===J8&&r.documentElement.namespaceURI===J8?r.createElement(e):r.createElementNS(n,e)}}function SEe(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Wj(e){var r=K3(e);return(r.local?SEe:EEe)(r)}function CEe(){}function eE(e){return e==null?CEe:function(){return this.querySelector(e)}}function TEe(e){typeof e!="function"&&(e=eE(e));for(var r=this._groups,n=r.length,o=new Array(n),a=0;a=_&&(_=C+1);!(R=w[_])&&++_=0;)(l=o[a])&&(i&&l.compareDocumentPosition(i)^4&&i.parentNode.insertBefore(l,i),i=l);return this}function QEe(e){e||(e=JEe);function r(p,f){return p&&f?e(p.__data__,f.__data__):!p-!f}for(var n=this._groups,o=n.length,a=new Array(o),i=0;ir?1:e>=r?0:NaN}function e9e(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function t9e(){return Array.from(this)}function r9e(){for(var e=this._groups,r=0,n=e.length;r1?this.each((r==null?h9e:typeof r=="function"?m9e:f9e)(e,r,n??"")):Kh(this.node(),e)}function Kh(e,r){return e.style.getPropertyValue(r)||Qj(e).getComputedStyle(e,null).getPropertyValue(r)}function y9e(e){return function(){delete this[e]}}function b9e(e,r){return function(){this[e]=r}}function v9e(e,r){return function(){var n=r.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function x9e(e,r){return arguments.length>1?this.each((r==null?y9e:typeof r=="function"?v9e:b9e)(e,r)):this.node()[e]}function Jj(e){return e.trim().split(/^|\s+/)}function tE(e){return e.classList||new eF(e)}function eF(e){this._node=e,this._names=Jj(e.getAttribute("class")||"")}eF.prototype={add:function(e){var r=this._names.indexOf(e);r<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var r=this._names.indexOf(e);r>=0&&(this._names.splice(r,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function tF(e,r){for(var n=tE(e),o=-1,a=r.length;++o=0&&(n=r.slice(o+1),r=r.slice(0,o)),{type:r,name:n}})}function G9e(e){return function(){var r=this.__on;if(r){for(var n=0,o=-1,a=r.length,i;n()=>e;function nE(e,{sourceEvent:r,subject:n,target:o,identifier:a,active:i,x:l,y:s,dx:c,dy:u,dispatch:d}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:r,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:o,enumerable:!0,configurable:!0},identifier:{value:a,enumerable:!0,configurable:!0},active:{value:i,enumerable:!0,configurable:!0},x:{value:l,enumerable:!0,configurable:!0},y:{value:s,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:d}})}nE.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function o7e(e){return!e.ctrlKey&&!e.button}function a7e(){return this.parentNode}function i7e(e,r){return r??{x:e.x,y:e.y}}function l7e(){return navigator.maxTouchPoints||"ontouchstart"in this}function lF(){var e=o7e,r=a7e,n=i7e,o=l7e,a={},i=G3("start","drag","end"),l=0,s,c,u,d,p=0;function f(T){T.on("mousedown.drag",g).filter(o).on("touchstart.drag",w).on("touchmove.drag",k,n7e).on("touchend.drag touchcancel.drag",C).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function g(T,R){if(!(d||!e.call(this,T,R))){var A=_(this,r.call(this,T,R),T,R,"mouse");A&&(Ea(T.view).on("mousemove.drag",b,t0).on("mouseup.drag",x,t0),aF(T.view),rE(T),u=!1,s=T.clientX,c=T.clientY,A("start",T))}}function b(T){if(Zh(T),!u){var R=T.clientX-s,A=T.clientY-c;u=R*R+A*A>p}a.mouse("drag",T)}function x(T){Ea(T.view).on("mousemove.drag mouseup.drag",null),iF(T.view,u),Zh(T),a.mouse("end",T)}function w(T,R){if(e.call(this,T,R)){var A=T.changedTouches,D=r.call(this,T,R),N=A.length,$,M;for($=0;$>8&15|r>>4&240,r>>4&15|r&240,(r&15)<<4|r&15,1):n===8?ex(r>>24&255,r>>16&255,r>>8&255,(r&255)/255):n===4?ex(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|r&240,((r&15)<<4|r&15)/255):null):(r=c7e.exec(e))?new Qo(r[1],r[2],r[3],1):(r=u7e.exec(e))?new Qo(r[1]*255/100,r[2]*255/100,r[3]*255/100,1):(r=d7e.exec(e))?ex(r[1],r[2],r[3],r[4]):(r=p7e.exec(e))?ex(r[1]*255/100,r[2]*255/100,r[3]*255/100,r[4]):(r=h7e.exec(e))?mF(r[1],r[2]/100,r[3]/100,1):(r=f7e.exec(e))?mF(r[1],r[2]/100,r[3]/100,r[4]):cF.hasOwnProperty(e)?pF(cF[e]):e==="transparent"?new Qo(NaN,NaN,NaN,0):null}function pF(e){return new Qo(e>>16&255,e>>8&255,e&255,1)}function ex(e,r,n,o){return o<=0&&(e=r=n=NaN),new Qo(e,r,n,o)}function y7e(e){return e instanceof r0||(e=Md(e)),e?(e=e.rgb(),new Qo(e.r,e.g,e.b,e.opacity)):new Qo}function aE(e,r,n,o){return arguments.length===1?y7e(e):new Qo(e,r,n,o??1)}function Qo(e,r,n,o){this.r=+e,this.g=+r,this.b=+n,this.opacity=+o}oE(Qo,aE,sF(r0,{brighter(e){return e=e==null?J3:Math.pow(J3,e),new Qo(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?n0:Math.pow(n0,e),new Qo(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Qo(Od(this.r),Od(this.g),Od(this.b),tx(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:hF,formatHex:hF,formatHex8:b7e,formatRgb:fF,toString:fF}));function hF(){return`#${Id(this.r)}${Id(this.g)}${Id(this.b)}`}function b7e(){return`#${Id(this.r)}${Id(this.g)}${Id(this.b)}${Id((isNaN(this.opacity)?1:this.opacity)*255)}`}function fF(){const e=tx(this.opacity);return`${e===1?"rgb(":"rgba("}${Od(this.r)}, ${Od(this.g)}, ${Od(this.b)}${e===1?")":`, ${e})`}`}function tx(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Od(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Id(e){return e=Od(e),(e<16?"0":"")+e.toString(16)}function mF(e,r,n,o){return o<=0?e=r=n=NaN:n<=0||n>=1?e=r=NaN:r<=0&&(e=NaN),new Vi(e,r,n,o)}function gF(e){if(e instanceof Vi)return new Vi(e.h,e.s,e.l,e.opacity);if(e instanceof r0||(e=Md(e)),!e)return new Vi;if(e instanceof Vi)return e;e=e.rgb();var r=e.r/255,n=e.g/255,o=e.b/255,a=Math.min(r,n,o),i=Math.max(r,n,o),l=NaN,s=i-a,c=(i+a)/2;return s?(r===i?l=(n-o)/s+(n0&&c<1?0:l,new Vi(l,s,c,e.opacity)}function v7e(e,r,n,o){return arguments.length===1?gF(e):new Vi(e,r,n,o??1)}function Vi(e,r,n,o){this.h=+e,this.s=+r,this.l=+n,this.opacity=+o}oE(Vi,v7e,sF(r0,{brighter(e){return e=e==null?J3:Math.pow(J3,e),new Vi(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?n0:Math.pow(n0,e),new Vi(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,r=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,o=n+(n<.5?n:1-n)*r,a=2*n-o;return new Qo(iE(e>=240?e-240:e+120,a,o),iE(e,a,o),iE(e<120?e+240:e-120,a,o),this.opacity)},clamp(){return new Vi(yF(this.h),rx(this.s),rx(this.l),tx(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=tx(this.opacity);return`${e===1?"hsl(":"hsla("}${yF(this.h)}, ${rx(this.s)*100}%, ${rx(this.l)*100}%${e===1?")":`, ${e})`}`}}));function yF(e){return e=(e||0)%360,e<0?e+360:e}function rx(e){return Math.max(0,Math.min(1,e||0))}function iE(e,r,n){return(e<60?r+(n-r)*e/60:e<180?n:e<240?r+(n-r)*(240-e)/60:r)*255}const lE=e=>()=>e;function x7e(e,r){return function(n){return e+n*r}}function w7e(e,r,n){return e=Math.pow(e,n),r=Math.pow(r,n)-e,n=1/n,function(o){return Math.pow(e+o*r,n)}}function k7e(e){return(e=+e)==1?bF:function(r,n){return n-r?w7e(r,n,e):lE(isNaN(r)?n:r)}}function bF(e,r){var n=r-e;return n?x7e(e,n):lE(isNaN(e)?r:e)}const nx=(function e(r){var n=k7e(r);function o(a,i){var l=n((a=aE(a)).r,(i=aE(i)).r),s=n(a.g,i.g),c=n(a.b,i.b),u=bF(a.opacity,i.opacity);return function(d){return a.r=l(d),a.g=s(d),a.b=c(d),a.opacity=u(d),a+""}}return o.gamma=e,o})(1);function _7e(e,r){r||(r=[]);var n=e?Math.min(r.length,e.length):0,o=r.slice(),a;return function(i){for(a=0;an&&(i=r.slice(n,i),s[l]?s[l]+=i:s[++l]=i),(o=o[0])===(a=a[0])?s[l]?s[l]+=a:s[++l]=a:(s[++l]=null,c.push({i:l,x:Kl(o,a)})),n=cE.lastIndex;return n180?d+=360:d-u>180&&(u+=360),f.push({i:p.push(a(p)+"rotate(",null,o)-2,x:Kl(u,d)})):d&&p.push(a(p)+"rotate("+d+o)}function s(u,d,p,f){u!==d?f.push({i:p.push(a(p)+"skewX(",null,o)-2,x:Kl(u,d)}):d&&p.push(a(p)+"skewX("+d+o)}function c(u,d,p,f,g,b){if(u!==p||d!==f){var x=g.push(a(g)+"scale(",null,",",null,")");b.push({i:x-4,x:Kl(u,p)},{i:x-2,x:Kl(d,f)})}else(p!==1||f!==1)&&g.push(a(g)+"scale("+p+","+f+")")}return function(u,d){var p=[],f=[];return u=e(u),d=e(d),i(u.translateX,u.translateY,d.translateX,d.translateY,p,f),l(u.rotate,d.rotate,p,f),s(u.skewX,d.skewX,p,f),c(u.scaleX,u.scaleY,d.scaleX,d.scaleY,p,f),u=d=null,function(g){for(var b=-1,x=f.length,w;++b=0&&e._call.call(void 0,r),e=e._next;--Jh}function RF(){Ld=(lx=c0.now())+sx,Jh=i0=0;try{z7e()}finally{Jh=0,j7e(),Ld=0}}function B7e(){var e=c0.now(),r=e-lx;r>SF&&(sx-=r,lx=e)}function j7e(){for(var e,r=ix,n,o=1/0;r;)r._call?(o>r._time&&(o=r._time),e=r,r=r._next):(n=r._next,r._next=null,r=e?e._next=n:ix=n);s0=e,dE(o)}function dE(e){if(!Jh){i0&&(i0=clearTimeout(i0));var r=e-Ld;r>24?(e<1/0&&(i0=setTimeout(RF,e-c0.now()-sx)),l0&&(l0=clearInterval(l0))):(l0||(lx=c0.now(),l0=setInterval(B7e,SF)),Jh=1,CF(RF))}}function AF(e,r,n){var o=new cx;return r=r==null?0:+r,o.restart(a=>{o.stop(),e(a+r)},r,n),o}var F7e=G3("start","end","cancel","interrupt"),H7e=[],NF=0,DF=1,pE=2,ux=3,PF=4,hE=5,dx=6;function px(e,r,n,o,a,i){var l=e.__transition;if(!l)e.__transition={};else if(n in l)return;q7e(e,n,{name:r,index:o,group:a,on:F7e,tween:H7e,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:NF})}function fE(e,r){var n=Yi(e,r);if(n.state>NF)throw new Error("too late; already scheduled");return n}function Zl(e,r){var n=Yi(e,r);if(n.state>ux)throw new Error("too late; already running");return n}function Yi(e,r){var n=e.__transition;if(!n||!(n=n[r]))throw new Error("transition not found");return n}function q7e(e,r,n){var o=e.__transition,a;o[r]=n,n.timer=TF(i,0,n.time);function i(u){n.state=DF,n.timer.restart(l,n.delay,n.time),n.delay<=u&&l(u-n.delay)}function l(u){var d,p,f,g;if(n.state!==DF)return c();for(d in o)if(g=o[d],g.name===n.name){if(g.state===ux)return AF(l);g.state===PF?(g.state=dx,g.timer.stop(),g.on.call("interrupt",e,e.__data__,g.index,g.group),delete o[d]):+dpE&&o.state=0&&(r=r.slice(0,n)),!r||r==="start"})}function vSe(e,r,n){var o,a,i=bSe(r)?fE:Zl;return function(){var l=i(this,e),s=l.on;s!==o&&(a=(o=s).copy()).on(r,n),l.on=a}}function xSe(e,r){var n=this._id;return arguments.length<2?Yi(this.node(),n).on.on(e):this.each(vSe(n,e,r))}function wSe(e){return function(){var r=this.parentNode;for(var n in this.__transition)if(+n!==e)return;r&&r.removeChild(this)}}function kSe(){return this.on("end.remove",wSe(this._id))}function _Se(e){var r=this._name,n=this._id;typeof e!="function"&&(e=eE(e));for(var o=this._groups,a=o.length,i=new Array(a),l=0;l()=>e;function GSe(e,{sourceEvent:r,target:n,transform:o,dispatch:a}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:r,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:a}})}function Hs(e,r,n){this.k=e,this.x=r,this.y=n}Hs.prototype={constructor:Hs,scale:function(e){return e===1?this:new Hs(this.k*e,this.x,this.y)},translate:function(e,r){return e===0&r===0?this:new Hs(this.k,this.x+this.k*e,this.y+this.k*r)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var mx=new Hs(1,0,0);IF.prototype=Hs.prototype;function IF(e){for(;!e.__zoom;)if(!(e=e.parentNode))return mx;return e.__zoom}function gE(e){e.stopImmediatePropagation()}function u0(e){e.preventDefault(),e.stopImmediatePropagation()}function XSe(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function KSe(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function LF(){return this.__zoom||mx}function ZSe(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function QSe(){return navigator.maxTouchPoints||"ontouchstart"in this}function JSe(e,r,n){var o=e.invertX(r[0][0])-n[0][0],a=e.invertX(r[1][0])-n[1][0],i=e.invertY(r[0][1])-n[0][1],l=e.invertY(r[1][1])-n[1][1];return e.translate(a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a),l>i?(i+l)/2:Math.min(0,i)||Math.max(0,l))}function zF(){var e=XSe,r=KSe,n=JSe,o=ZSe,a=QSe,i=[0,1/0],l=[[-1/0,-1/0],[1/0,1/0]],s=250,c=ax,u=G3("start","zoom","end"),d,p,f,g=500,b=150,x=0,w=10;function k(O){O.property("__zoom",LF).on("wheel.zoom",N,{passive:!1}).on("mousedown.zoom",$).on("dblclick.zoom",M).filter(a).on("touchstart.zoom",j).on("touchmove.zoom",L).on("touchend.zoom touchcancel.zoom",Y).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}k.transform=function(O,U,I,q){var V=O.selection?O.selection():O;V.property("__zoom",LF),O!==V?R(O,U,I,q):V.interrupt().each(function(){A(this,arguments).event(q).start().zoom(null,typeof U=="function"?U.apply(this,arguments):U).end()})},k.scaleBy=function(O,U,I,q){k.scaleTo(O,function(){var V=this.__zoom.k,G=typeof U=="function"?U.apply(this,arguments):U;return V*G},I,q)},k.scaleTo=function(O,U,I,q){k.transform(O,function(){var V=r.apply(this,arguments),G=this.__zoom,F=I==null?T(V):typeof I=="function"?I.apply(this,arguments):I,J=G.invert(F),Q=typeof U=="function"?U.apply(this,arguments):U;return n(_(C(G,Q),F,J),V,l)},I,q)},k.translateBy=function(O,U,I,q){k.transform(O,function(){return n(this.__zoom.translate(typeof U=="function"?U.apply(this,arguments):U,typeof I=="function"?I.apply(this,arguments):I),r.apply(this,arguments),l)},null,q)},k.translateTo=function(O,U,I,q,V){k.transform(O,function(){var G=r.apply(this,arguments),F=this.__zoom,J=q==null?T(G):typeof q=="function"?q.apply(this,arguments):q;return n(mx.translate(J[0],J[1]).scale(F.k).translate(typeof U=="function"?-U.apply(this,arguments):-U,typeof I=="function"?-I.apply(this,arguments):-I),G,l)},q,V)};function C(O,U){return U=Math.max(i[0],Math.min(i[1],U)),U===O.k?O:new Hs(U,O.x,O.y)}function _(O,U,I){var q=U[0]-I[0]*O.k,V=U[1]-I[1]*O.k;return q===O.x&&V===O.y?O:new Hs(O.k,q,V)}function T(O){return[(+O[0][0]+ +O[1][0])/2,(+O[0][1]+ +O[1][1])/2]}function R(O,U,I,q){O.on("start.zoom",function(){A(this,arguments).event(q).start()}).on("interrupt.zoom end.zoom",function(){A(this,arguments).event(q).end()}).tween("zoom",function(){var V=this,G=arguments,F=A(V,G).event(q),J=r.apply(V,G),Q=I==null?T(J):typeof I=="function"?I.apply(V,G):I,z=Math.max(J[1][0]-J[0][0],J[1][1]-J[0][1]),W=V.__zoom,X=typeof U=="function"?U.apply(V,G):U,Z=c(W.invert(Q).concat(z/W.k),X.invert(Q).concat(z/X.k));return function(oe){if(oe===1)oe=X;else{var ee=Z(oe),re=z/ee[2];oe=new Hs(re,Q[0]-ee[0]*re,Q[1]-ee[1]*re)}F.zoom(null,oe)}})}function A(O,U,I){return!I&&O.__zooming||new D(O,U)}function D(O,U){this.that=O,this.args=U,this.active=0,this.sourceEvent=null,this.extent=r.apply(O,U),this.taps=0}D.prototype={event:function(O){return O&&(this.sourceEvent=O),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(O,U){return this.mouse&&O!=="mouse"&&(this.mouse[1]=U.invert(this.mouse[0])),this.touch0&&O!=="touch"&&(this.touch0[1]=U.invert(this.touch0[0])),this.touch1&&O!=="touch"&&(this.touch1[1]=U.invert(this.touch1[0])),this.that.__zoom=U,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(O){var U=Ea(this.that).datum();u.call(O,this.that,new GSe(O,{sourceEvent:this.sourceEvent,target:k,transform:this.that.__zoom,dispatch:u}),U)}};function N(O,...U){if(!e.apply(this,arguments))return;var I=A(this,U).event(O),q=this.__zoom,V=Math.max(i[0],Math.min(i[1],q.k*Math.pow(2,o.apply(this,arguments)))),G=Ui(O);if(I.wheel)(I.mouse[0][0]!==G[0]||I.mouse[0][1]!==G[1])&&(I.mouse[1]=q.invert(I.mouse[0]=G)),clearTimeout(I.wheel);else{if(q.k===V)return;I.mouse=[G,q.invert(G)],hx(this),I.start()}u0(O),I.wheel=setTimeout(F,b),I.zoom("mouse",n(_(C(q,V),I.mouse[0],I.mouse[1]),I.extent,l));function F(){I.wheel=null,I.end()}}function $(O,...U){if(f||!e.apply(this,arguments))return;var I=O.currentTarget,q=A(this,U,!0).event(O),V=Ea(O.view).on("mousemove.zoom",Q,!0).on("mouseup.zoom",z,!0),G=Ui(O,I),F=O.clientX,J=O.clientY;aF(O.view),gE(O),q.mouse=[G,this.__zoom.invert(G)],hx(this),q.start();function Q(W){if(u0(W),!q.moved){var X=W.clientX-F,Z=W.clientY-J;q.moved=X*X+Z*Z>x}q.event(W).zoom("mouse",n(_(q.that.__zoom,q.mouse[0]=Ui(W,I),q.mouse[1]),q.extent,l))}function z(W){V.on("mousemove.zoom mouseup.zoom",null),iF(W.view,q.moved),u0(W),q.event(W).end()}}function M(O,...U){if(e.apply(this,arguments)){var I=this.__zoom,q=Ui(O.changedTouches?O.changedTouches[0]:O,this),V=I.invert(q),G=I.k*(O.shiftKey?.5:2),F=n(_(C(I,G),q,V),r.apply(this,U),l);u0(O),s>0?Ea(this).transition().duration(s).call(R,F,q,O):Ea(this).call(k.transform,F,q,O)}}function j(O,...U){if(e.apply(this,arguments)){var I=O.touches,q=I.length,V=A(this,U,O.changedTouches.length===q).event(O),G,F,J,Q;for(gE(O),F=0;F"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:e=>`Node type "${e}" not found. Using fallback type "default".`,error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:e=>`The old edge with id=${e} does not exist.`,error009:e=>`Marker type "${e}" doesn't exist.`,error008:(e,{id:r,sourceHandle:n,targetHandle:o})=>`Couldn't create edge for ${e} handle id: "${e==="source"?n:o}", edge id: ${r}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:e=>`Edge type "${e}" not found. Using fallback type "default".`,error012:e=>`Node with id "${e}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(e="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${e}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},d0=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],BF=["Enter"," ","Escape"],jF={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:e,x:r,y:n})=>`Moved selected node ${e}. New position, x: ${r}, y: ${n}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var ef;(function(e){e.Strict="strict",e.Loose="loose"})(ef||(ef={}));var zd;(function(e){e.Free="free",e.Vertical="vertical",e.Horizontal="horizontal"})(zd||(zd={}));var p0;(function(e){e.Partial="partial",e.Full="full"})(p0||(p0={}));const FF={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null};var eu;(function(e){e.Bezier="default",e.Straight="straight",e.Step="step",e.SmoothStep="smoothstep",e.SimpleBezier="simplebezier"})(eu||(eu={}));var gx;(function(e){e.Arrow="arrow",e.ArrowClosed="arrowclosed"})(gx||(gx={}));var tt;(function(e){e.Left="left",e.Top="top",e.Right="right",e.Bottom="bottom"})(tt||(tt={}));const HF={[tt.Left]:tt.Right,[tt.Right]:tt.Left,[tt.Top]:tt.Bottom,[tt.Bottom]:tt.Top};function qF(e){return e===null?null:e?"valid":"invalid"}const UF=e=>"id"in e&&"source"in e&&"target"in e,eCe=e=>"id"in e&&"position"in e&&!("source"in e)&&!("target"in e),yE=e=>"id"in e&&"internals"in e&&!("source"in e)&&!("target"in e),h0=(e,r=[0,0])=>{const{width:n,height:o}=Wn(e),a=e.origin??r,i=n*a[0],l=o*a[1];return{x:e.position.x-i,y:e.position.y-l}},VF=(e,r={nodeOrigin:[0,0]})=>{if(e.length===0)return{x:0,y:0,width:0,height:0};const n=e.reduce((o,a)=>{const i=typeof a=="string";let l=!r.nodeLookup&&!i?a:void 0;r.nodeLookup&&(l=i?r.nodeLookup.get(a):yE(a)?a:r.nodeLookup.get(a.id));const s=l?bx(l,r.nodeOrigin):{x:0,y:0,x2:0,y2:0};return yx(o,s)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return f0(n)},tf=(e,r={})=>{if(e.size===0)return{x:0,y:0,width:0,height:0};let n={x:1/0,y:1/0,x2:-1/0,y2:-1/0};return e.forEach(o=>{if(r.filter===void 0||r.filter(o)){const a=bx(o);n=yx(n,a)}}),f0(n)},bE=(e,r,[n,o,a]=[0,0,1],i=!1,l=!1)=>{const s={...y0(r,[n,o,a]),width:r.width/a,height:r.height/a},c=[];for(const u of e.values()){const{measured:d,selectable:p=!0,hidden:f=!1}=u;if(l&&!p||f)continue;const g=d.width??u.width??u.initialWidth??null,b=d.height??u.height??u.initialHeight??null,x=m0(s,jd(u)),w=(g??0)*(b??0),k=i&&x>0;(!u.internals.handleBounds||k||x>=w||u.dragging)&&c.push(u)}return c},tCe=(e,r)=>{const n=new Set;return e.forEach(o=>{n.add(o.id)}),r.filter(o=>n.has(o.source)||n.has(o.target))};function rCe(e,r){const n=new Map,o=r?.nodes?new Set(r.nodes.map(a=>a.id)):null;return e.forEach(a=>{a.measured.width&&a.measured.height&&(r?.includeHiddenNodes||!a.hidden)&&(!o||o.has(a.id))&&n.set(a.id,a)}),n}async function nCe({nodes:e,width:r,height:n,panZoom:o,minZoom:a,maxZoom:i},l){if(e.size===0)return Promise.resolve(!0);const s=rCe(e,l),c=tf(s),u=tu(c,r,n,l?.minZoom??a,l?.maxZoom??i,l?.padding??.1);return await o.setViewport(u,{duration:l?.duration,ease:l?.ease,interpolate:l?.interpolate}),Promise.resolve(!0)}function YF({nodeId:e,nextPosition:r,nodeLookup:n,nodeOrigin:o=[0,0],nodeExtent:a,onError:i}){const l=n.get(e),s=l.parentId?n.get(l.parentId):void 0,{x:c,y:u}=s?s.internals.positionAbsolute:{x:0,y:0},d=l.origin??o;let p=l.extent||a;if(l.extent==="parent"&&!l.expandParent)if(!s)i?.("005",Ql.error005());else{const g=s.measured.width,b=s.measured.height;g&&b&&(p=[[c,u],[c+g,u+b]])}else s&&af(l.extent)&&(p=[[l.extent[0][0]+c,l.extent[0][1]+u],[l.extent[1][0]+c,l.extent[1][1]+u]]);const f=af(p)?Bd(r,p,l.measured):r;return(l.measured.width===void 0||l.measured.height===void 0)&&i?.("015",Ql.error015()),{position:{x:f.x-c+(l.measured.width??0)*d[0],y:f.y-u+(l.measured.height??0)*d[1]},positionAbsolute:f}}async function oCe({nodesToRemove:e=[],edgesToRemove:r=[],nodes:n,edges:o,onBeforeDelete:a}){const i=new Set(e.map(p=>p.id)),l=[];for(const p of n){if(p.deletable===!1)continue;const f=i.has(p.id),g=!f&&p.parentId&&l.find(b=>b.id===p.parentId);(f||g)&&l.push(p)}const s=new Set(r.map(p=>p.id)),c=o.filter(p=>p.deletable!==!1),u=tCe(l,c);for(const p of c)s.has(p.id)&&!u.find(f=>f.id===p.id)&&u.push(p);if(!a)return{edges:u,nodes:l};const d=await a({nodes:l,edges:u});return typeof d=="boolean"?d?{edges:u,nodes:l}:{edges:[],nodes:[]}:d}const rf=(e,r=0,n=1)=>Math.min(Math.max(e,r),n),Bd=(e={x:0,y:0},r,n)=>({x:rf(e.x,r[0][0],r[1][0]-(n?.width??0)),y:rf(e.y,r[0][1],r[1][1]-(n?.height??0))});function WF(e,r,n){const{width:o,height:a}=Wn(n),{x:i,y:l}=n.internals.positionAbsolute;return Bd(e,[[i,l],[i+o,l+a]],r)}const GF=(e,r,n)=>en?-rf(Math.abs(e-n),1,r)/r:0,XF=(e,r,n=15,o=40)=>{const a=GF(e.x,o,r.width-o)*n,i=GF(e.y,o,r.height-o)*n;return[a,i]},yx=(e,r)=>({x:Math.min(e.x,r.x),y:Math.min(e.y,r.y),x2:Math.max(e.x2,r.x2),y2:Math.max(e.y2,r.y2)}),vE=({x:e,y:r,width:n,height:o})=>({x:e,y:r,x2:e+n,y2:r+o}),f0=({x:e,y:r,x2:n,y2:o})=>({x:e,y:r,width:n-e,height:o-r}),jd=(e,r=[0,0])=>{const{x:n,y:o}=yE(e)?e.internals.positionAbsolute:h0(e,r);return{x:n,y:o,width:e.measured?.width??e.width??e.initialWidth??0,height:e.measured?.height??e.height??e.initialHeight??0}},bx=(e,r=[0,0])=>{const{x:n,y:o}=yE(e)?e.internals.positionAbsolute:h0(e,r);return{x:n,y:o,x2:n+(e.measured?.width??e.width??e.initialWidth??0),y2:o+(e.measured?.height??e.height??e.initialHeight??0)}},vx=(e,r)=>f0(yx(vE(e),vE(r))),m0=(e,r)=>{const n=Math.max(0,Math.min(e.x+e.width,r.x+r.width)-Math.max(e.x,r.x)),o=Math.max(0,Math.min(e.y+e.height,r.y+r.height)-Math.max(e.y,r.y));return Math.ceil(n*o)},KF=e=>Wi(e.width)&&Wi(e.height)&&Wi(e.x)&&Wi(e.y),Wi=e=>!isNaN(e)&&isFinite(e),aCe=(e,r)=>{},g0=(e,r=[1,1])=>({x:r[0]*Math.round(e.x/r[0]),y:r[1]*Math.round(e.y/r[1])}),y0=({x:e,y:r},[n,o,a],i=!1,l=[1,1])=>{const s={x:(e-n)/a,y:(r-o)/a};return i?g0(s,l):s},xx=({x:e,y:r},[n,o,a])=>({x:e*a+n,y:r*a+o});function nf(e,r){if(typeof e=="number")return Math.floor((r-r/(1+e))*.5);if(typeof e=="string"&&e.endsWith("px")){const n=parseFloat(e);if(!Number.isNaN(n))return Math.floor(n)}if(typeof e=="string"&&e.endsWith("%")){const n=parseFloat(e);if(!Number.isNaN(n))return Math.floor(r*n*.01)}return console.error(`[React Flow] The padding value "${e}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}function iCe(e,r,n){if(typeof e=="string"||typeof e=="number"){const o=nf(e,n),a=nf(e,r);return{top:o,right:a,bottom:o,left:a,x:a*2,y:o*2}}if(typeof e=="object"){const o=nf(e.top??e.y??0,n),a=nf(e.bottom??e.y??0,n),i=nf(e.left??e.x??0,r),l=nf(e.right??e.x??0,r);return{top:o,right:l,bottom:a,left:i,x:i+l,y:o+a}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function lCe(e,r,n,o,a,i){const{x:l,y:s}=xx(e,[r,n,o]),{x:c,y:u}=xx({x:e.x+e.width,y:e.y+e.height},[r,n,o]),d=a-c,p=i-u;return{left:Math.floor(l),top:Math.floor(s),right:Math.floor(d),bottom:Math.floor(p)}}const tu=(e,r,n,o,a,i)=>{const l=iCe(i,r,n),s=(r-l.x)/e.width,c=(n-l.y)/e.height,u=Math.min(s,c),d=rf(u,o,a),p=e.x+e.width/2,f=e.y+e.height/2,g=r/2-p*d,b=n/2-f*d,x=lCe(e,g,b,d,r,n),w={left:Math.min(x.left-l.left,0),top:Math.min(x.top-l.top,0),right:Math.min(x.right-l.right,0),bottom:Math.min(x.bottom-l.bottom,0)};return{x:g-w.left+w.right,y:b-w.top+w.bottom,zoom:d}},of=()=>typeof navigator<"u"&&navigator?.userAgent?.indexOf("Mac")>=0;function af(e){return e!=null&&e!=="parent"}function Wn(e){return{width:e.measured?.width??e.width??e.initialWidth??0,height:e.measured?.height??e.height??e.initialHeight??0}}function ZF(e){return(e.measured?.width??e.width??e.initialWidth)!==void 0&&(e.measured?.height??e.height??e.initialHeight)!==void 0}function QF(e,r={width:0,height:0},n,o,a){const i={...e},l=o.get(n);if(l){const s=l.origin||a;i.x+=l.internals.positionAbsolute.x-(r.width??0)*s[0],i.y+=l.internals.positionAbsolute.y-(r.height??0)*s[1]}return i}function JF(e,r){if(e.size!==r.size)return!1;for(const n of e)if(!r.has(n))return!1;return!0}function sCe(){let e,r;return{promise:new Promise((n,o)=>{e=n,r=o}),resolve:e,reject:r}}function cCe(e){return{...jF,...e||{}}}function b0(e,{snapGrid:r=[0,0],snapToGrid:n=!1,transform:o,containerBounds:a}){const{x:i,y:l}=Gi(e),s=y0({x:i-(a?.left??0),y:l-(a?.top??0)},o),{x:c,y:u}=n?g0(s,r):s;return{xSnapped:c,ySnapped:u,...s}}const xE=e=>({width:e.offsetWidth,height:e.offsetHeight}),eH=e=>e?.getRootNode?.()||window?.document,uCe=["INPUT","SELECT","TEXTAREA"];function tH(e){const r=e.composedPath?.()?.[0]||e.target;return r?.nodeType!==1?!1:uCe.includes(r.nodeName)||r.hasAttribute("contenteditable")||!!r.closest(".nokey")}const rH=e=>"clientX"in e,Gi=(e,r)=>{const n=rH(e),o=n?e.clientX:e.touches?.[0].clientX,a=n?e.clientY:e.touches?.[0].clientY;return{x:o-(r?.left??0),y:a-(r?.top??0)}},nH=(e,r,n,o,a)=>{const i=r.querySelectorAll(`.${e}`);return!i||!i.length?null:Array.from(i).map(l=>{const s=l.getBoundingClientRect();return{id:l.getAttribute("data-handleid"),type:e,nodeId:a,position:l.getAttribute("data-handlepos"),x:(s.left-n.left)/o,y:(s.top-n.top)/o,...xE(l)}})};function oH({sourceX:e,sourceY:r,targetX:n,targetY:o,sourceControlX:a,sourceControlY:i,targetControlX:l,targetControlY:s}){const c=e*.125+a*.375+l*.375+n*.125,u=r*.125+i*.375+s*.375+o*.125,d=Math.abs(c-e),p=Math.abs(u-r);return[c,u,d,p]}function wx(e,r){return e>=0?.5*e:r*25*Math.sqrt(-e)}function aH({pos:e,x1:r,y1:n,x2:o,y2:a,c:i}){switch(e){case tt.Left:return[r-wx(r-o,i),n];case tt.Right:return[r+wx(o-r,i),n];case tt.Top:return[r,n-wx(n-a,i)];case tt.Bottom:return[r,n+wx(a-n,i)]}}function kx({sourceX:e,sourceY:r,sourcePosition:n=tt.Bottom,targetX:o,targetY:a,targetPosition:i=tt.Top,curvature:l=.25}){const[s,c]=aH({pos:n,x1:e,y1:r,x2:o,y2:a,c:l}),[u,d]=aH({pos:i,x1:o,y1:a,x2:e,y2:r,c:l}),[p,f,g,b]=oH({sourceX:e,sourceY:r,targetX:o,targetY:a,sourceControlX:s,sourceControlY:c,targetControlX:u,targetControlY:d});return[`M${e},${r} C${s},${c} ${u},${d} ${o},${a}`,p,f,g,b]}function iH({sourceX:e,sourceY:r,targetX:n,targetY:o}){const a=Math.abs(n-e)/2,i=n0}const hCe=({source:e,sourceHandle:r,target:n,targetHandle:o})=>`xy-edge__${e}${r||""}-${n}${o||""}`,fCe=(e,r)=>r.some(n=>n.source===e.source&&n.target===e.target&&(n.sourceHandle===e.sourceHandle||!n.sourceHandle&&!e.sourceHandle)&&(n.targetHandle===e.targetHandle||!n.targetHandle&&!e.targetHandle)),mCe=(e,r)=>{if(!e.source||!e.target)return r;let n;return UF(e)?n={...e}:n={...e,id:hCe(e)},fCe(n,r)?r:(n.sourceHandle===null&&delete n.sourceHandle,n.targetHandle===null&&delete n.targetHandle,r.concat(n))};function lH({sourceX:e,sourceY:r,targetX:n,targetY:o}){const[a,i,l,s]=iH({sourceX:e,sourceY:r,targetX:n,targetY:o});return[`M ${e},${r}L ${n},${o}`,a,i,l,s]}const sH={[tt.Left]:{x:-1,y:0},[tt.Right]:{x:1,y:0},[tt.Top]:{x:0,y:-1},[tt.Bottom]:{x:0,y:1}},gCe=({source:e,sourcePosition:r=tt.Bottom,target:n})=>r===tt.Left||r===tt.Right?e.xMath.sqrt(Math.pow(r.x-e.x,2)+Math.pow(r.y-e.y,2));function yCe({source:e,sourcePosition:r=tt.Bottom,target:n,targetPosition:o=tt.Top,center:a,offset:i,stepPosition:l}){const s=sH[r],c=sH[o],u={x:e.x+s.x*i,y:e.y+s.y*i},d={x:n.x+c.x*i,y:n.y+c.y*i},p=gCe({source:u,sourcePosition:r,target:d}),f=p.x!==0?"x":"y",g=p[f];let b=[],x,w;const k={x:0,y:0},C={x:0,y:0},[,,_,T]=iH({sourceX:e.x,sourceY:e.y,targetX:n.x,targetY:n.y});if(s[f]*c[f]===-1){f==="x"?(x=a.x??u.x+(d.x-u.x)*l,w=a.y??(u.y+d.y)/2):(x=a.x??(u.x+d.x)/2,w=a.y??u.y+(d.y-u.y)*l);const R=[{x,y:u.y},{x,y:d.y}],A=[{x:u.x,y:w},{x:d.x,y:w}];s[f]===g?b=f==="x"?R:A:b=f==="x"?A:R}else{const R=[{x:u.x,y:d.y}],A=[{x:d.x,y:u.y}];if(f==="x"?b=s.x===g?A:R:b=s.y===g?R:A,r===o){const j=Math.abs(e[f]-n[f]);if(j<=i){const L=Math.min(i-1,i-j);s[f]===g?k[f]=(u[f]>e[f]?-1:1)*L:C[f]=(d[f]>n[f]?-1:1)*L}}if(r!==o){const j=f==="x"?"y":"x",L=s[f]===c[j],Y=u[j]>d[j],O=u[j]=M?(x=(D.x+N.x)/2,w=b[0].y):(x=b[0].x,w=(D.y+N.y)/2)}return[[e,{x:u.x+k.x,y:u.y+k.y},...b,{x:d.x+C.x,y:d.y+C.y},n],x,w,_,T]}function bCe(e,r,n,o){const a=Math.min(cH(e,r)/2,cH(r,n)/2,o),{x:i,y:l}=r;if(e.x===i&&i===n.x||e.y===l&&l===n.y)return`L${i} ${l}`;if(e.y===l){const u=e.x{let _="";return C>0&&Cn.id===r):e[0])||null}function wE(e,r){return e?typeof e=="string"?e:`${r?`${r}__`:""}${Object.keys(e).sort().map(n=>`${n}=${e[n]}`).join("&")}`:""}function vCe(e,{id:r,defaultColor:n,defaultMarkerStart:o,defaultMarkerEnd:a}){const i=new Set;return e.reduce((l,s)=>([s.markerStart||o,s.markerEnd||a].forEach(c=>{if(c&&typeof c=="object"){const u=wE(c,r);i.has(u)||(l.push({id:u,color:c.color||n,...c}),i.add(u))}}),l),[]).sort((l,s)=>l.id.localeCompare(s.id))}function xCe(e,r,n,o,a){let i=.5;a==="start"?i=0:a==="end"&&(i=1);let l=[(e.x+e.width*i)*r.zoom+r.x,e.y*r.zoom+r.y-o],s=[-100*i,-100];switch(n){case tt.Right:l=[(e.x+e.width)*r.zoom+r.x+o,(e.y+e.height*i)*r.zoom+r.y],s=[0,-100*i];break;case tt.Bottom:l[1]=(e.y+e.height)*r.zoom+r.y+o,s[1]=0;break;case tt.Left:l=[e.x*r.zoom+r.x-o,(e.y+e.height*i)*r.zoom+r.y],s=[-100,-100*i];break}return`translate(${l[0]}px, ${l[1]}px) translate(${s[0]}%, ${s[1]}%)`}const kE={nodeOrigin:[0,0],nodeExtent:d0,elevateNodesOnSelect:!0,defaults:{}},wCe={...kE,checkEquality:!0};function _E(e,r){const n={...e};for(const o in r)r[o]!==void 0&&(n[o]=r[o]);return n}function kCe(e,r,n){const o=_E(kE,n);for(const a of e.values())if(a.parentId)SE(a,e,r,o);else{const i=h0(a,o.nodeOrigin),l=af(a.extent)?a.extent:o.nodeExtent,s=Bd(i,l,Wn(a));a.internals.positionAbsolute=s}}function _Ce(e,r){if(!e.handles)return e.measured?r?.internals.handleBounds:void 0;const n=[],o=[];for(const a of e.handles){const i={id:a.id,width:a.width??1,height:a.height??1,nodeId:e.id,x:a.x,y:a.y,position:a.position,type:a.type};a.type==="source"?n.push(i):a.type==="target"&&o.push(i)}return{source:n,target:o}}function EE(e,r,n,o){const a=_E(wCe,o);let i=e.length>0;const l=new Map(r),s=a?.elevateNodesOnSelect?1e3:0;r.clear(),n.clear();for(const c of e){let u=l.get(c.id);if(a.checkEquality&&c===u?.internals.userNode)r.set(c.id,u);else{const d=h0(c,a.nodeOrigin),p=af(c.extent)?c.extent:a.nodeExtent,f=Bd(d,p,Wn(c));u={...a.defaults,...c,measured:{width:c.measured?.width,height:c.measured?.height},internals:{positionAbsolute:f,handleBounds:_Ce(c,u),z:fH(c,s),userNode:c}},r.set(c.id,u)}(u.measured===void 0||u.measured.width===void 0||u.measured.height===void 0)&&!u.hidden&&(i=!1),c.parentId&&SE(u,r,n,o)}return i}function ECe(e,r){if(!e.parentId)return;const n=r.get(e.parentId);n?n.set(e.id,e):r.set(e.parentId,new Map([[e.id,e]]))}function SE(e,r,n,o){const{elevateNodesOnSelect:a,nodeOrigin:i,nodeExtent:l}=_E(kE,o),s=e.parentId,c=r.get(s);if(!c){console.warn(`Parent node ${s} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);return}ECe(e,n);const u=a?1e3:0,{x:d,y:p,z:f}=SCe(e,c,i,l,u),{positionAbsolute:g}=e.internals,b=d!==g.x||p!==g.y;(b||f!==e.internals.z)&&r.set(e.id,{...e,internals:{...e.internals,positionAbsolute:b?{x:d,y:p}:g,z:f}})}function fH(e,r){return(Wi(e.zIndex)?e.zIndex:0)+(e.selected?r:0)}function SCe(e,r,n,o,a){const{x:i,y:l}=r.internals.positionAbsolute,s=Wn(e),c=h0(e,n),u=af(e.extent)?Bd(c,e.extent,s):c;let d=Bd({x:i+u.x,y:l+u.y},o,s);e.extent==="parent"&&(d=WF(d,s,r));const p=fH(e,a),f=r.internals.z??0;return{x:d.x,y:d.y,z:f>=p?f+1:p}}function CE(e,r,n,o=[0,0]){const a=[],i=new Map;for(const l of e){const s=r.get(l.parentId);if(!s)continue;const c=i.get(l.parentId)?.expandedRect??jd(s),u=vx(c,l.rect);i.set(l.parentId,{expandedRect:u,parent:s})}return i.size>0&&i.forEach(({expandedRect:l,parent:s},c)=>{const u=s.internals.positionAbsolute,d=Wn(s),p=s.origin??o,f=l.x0||g>0||w||k)&&(a.push({id:c,type:"position",position:{x:s.position.x-f+w,y:s.position.y-g+k}}),n.get(c)?.forEach(C=>{e.some(_=>_.id===C.id)||a.push({id:C.id,type:"position",position:{x:C.position.x+f,y:C.position.y+g}})})),(d.width0){const f=CE(p,r,n,a);c.push(...f)}return{changes:c,updatedInternals:s}}async function TCe({delta:e,panZoom:r,transform:n,translateExtent:o,width:a,height:i}){if(!r||!e.x&&!e.y)return Promise.resolve(!1);const l=await r.setViewportConstrained({x:n[0]+e.x,y:n[1]+e.y,zoom:n[2]},[[0,0],[a,i]],o),s=!!l&&(l.x!==n[0]||l.y!==n[1]||l.k!==n[2]);return Promise.resolve(s)}function mH(e,r,n,o,a,i){let l=a;const s=o.get(l)||new Map;o.set(l,s.set(n,r)),l=`${a}-${e}`;const c=o.get(l)||new Map;if(o.set(l,c.set(n,r)),i){l=`${a}-${e}-${i}`;const u=o.get(l)||new Map;o.set(l,u.set(n,r))}}function gH(e,r,n){e.clear(),r.clear();for(const o of n){const{source:a,target:i,sourceHandle:l=null,targetHandle:s=null}=o,c={edgeId:o.id,source:a,target:i,sourceHandle:l,targetHandle:s},u=`${a}-${l}--${i}-${s}`,d=`${i}-${s}--${a}-${l}`;mH("source",c,d,e,a,l),mH("target",c,u,e,i,s),r.set(o.id,o)}}function yH(e,r){if(!e.parentId)return!1;const n=r.get(e.parentId);return n?n.selected?!0:yH(n,r):!1}function bH(e,r,n){let o=e;do{if(o?.matches?.(r))return!0;if(o===n)return!1;o=o?.parentElement}while(o);return!1}function RCe(e,r,n,o){const a=new Map;for(const[i,l]of e)if((l.selected||l.id===o)&&(!l.parentId||!yH(l,e))&&(l.draggable||r&&typeof l.draggable>"u")){const s=e.get(i);s&&a.set(i,{id:i,position:s.position||{x:0,y:0},distance:{x:n.x-s.internals.positionAbsolute.x,y:n.y-s.internals.positionAbsolute.y},extent:s.extent,parentId:s.parentId,origin:s.origin,expandParent:s.expandParent,internals:{positionAbsolute:s.internals.positionAbsolute||{x:0,y:0}},measured:{width:s.measured.width??0,height:s.measured.height??0}})}return a}function TE({nodeId:e,dragItems:r,nodeLookup:n,dragging:o=!0}){const a=[];for(const[l,s]of r){const c=n.get(l)?.internals.userNode;c&&a.push({...c,position:s.position,dragging:o})}if(!e)return[a[0],a];const i=n.get(e)?.internals.userNode;return[i?{...i,position:r.get(e)?.position||i.position,dragging:o}:a[0],a]}function ACe({dragItems:e,snapGrid:r,x:n,y:o}){const a=e.values().next().value;if(!a)return null;const i={x:n-a.distance.x,y:o-a.distance.y},l=g0(i,r);return{x:l.x-i.x,y:l.y-i.y}}function NCe({onNodeMouseDown:e,getStoreItems:r,onDragStart:n,onDrag:o,onDragStop:a}){let i={x:null,y:null},l=0,s=new Map,c=!1,u={x:0,y:0},d=null,p=!1,f=null,g=!1,b=!1,x=null;function w({noDragClassName:C,handleSelector:_,domNode:T,isSelectable:R,nodeId:A,nodeClickDistance:D=0}){f=Ea(T);function N({x:L,y:Y}){const{nodeLookup:O,nodeExtent:U,snapGrid:I,snapToGrid:q,nodeOrigin:V,onNodeDrag:G,onSelectionDrag:F,onError:J,updateNodePositions:Q}=r();i={x:L,y:Y};let z=!1;const W=s.size>1,X=W&&U?vE(tf(s)):null,Z=W&&q?ACe({dragItems:s,snapGrid:I,x:L,y:Y}):null;for(const[oe,ee]of s){if(!O.has(oe))continue;let re={x:L-ee.distance.x,y:Y-ee.distance.y};q&&(re=Z?{x:Math.round(re.x+Z.x),y:Math.round(re.y+Z.y)}:g0(re,I));let pe=null;if(W&&U&&!ee.extent&&X){const{positionAbsolute:de}=ee.internals,be=de.x-X.x+U[0][0],Oe=de.x+ee.measured.width-X.x2+U[1][0],Xe=de.y-X.y+U[0][1],Ge=de.y+ee.measured.height-X.y2+U[1][1];pe=[[be,Xe],[Oe,Ge]]}const{position:Ce,positionAbsolute:ce}=YF({nodeId:oe,nextPosition:re,nodeLookup:O,nodeExtent:pe||U,nodeOrigin:V,onError:J});z=z||ee.position.x!==Ce.x||ee.position.y!==Ce.y,ee.position=Ce,ee.internals.positionAbsolute=ce}if(b=b||z,!!z&&(Q(s,!0),x&&(o||G||!A&&F))){const[oe,ee]=TE({nodeId:A,dragItems:s,nodeLookup:O});o?.(x,s,oe,ee),G?.(x,oe,ee),A||F?.(x,ee)}}async function $(){if(!d)return;const{transform:L,panBy:Y,autoPanSpeed:O,autoPanOnNodeDrag:U}=r();if(!U){c=!1,cancelAnimationFrame(l);return}const[I,q]=XF(u,d,O);(I!==0||q!==0)&&(i.x=(i.x??0)-I/L[2],i.y=(i.y??0)-q/L[2],await Y({x:I,y:q})&&N(i)),l=requestAnimationFrame($)}function M(L){const{nodeLookup:Y,multiSelectionActive:O,nodesDraggable:U,transform:I,snapGrid:q,snapToGrid:V,selectNodesOnDrag:G,onNodeDragStart:F,onSelectionDragStart:J,unselectNodesAndEdges:Q}=r();p=!0,(!G||!R)&&!O&&A&&(Y.get(A)?.selected||Q()),R&&G&&A&&e?.(A);const z=b0(L.sourceEvent,{transform:I,snapGrid:q,snapToGrid:V,containerBounds:d});if(i=z,s=RCe(Y,U,z,A),s.size>0&&(n||F||!A&&J)){const[W,X]=TE({nodeId:A,dragItems:s,nodeLookup:Y});n?.(L.sourceEvent,s,W,X),F?.(L.sourceEvent,W,X),A||J?.(L.sourceEvent,X)}}const j=lF().clickDistance(D).on("start",L=>{const{domNode:Y,nodeDragThreshold:O,transform:U,snapGrid:I,snapToGrid:q}=r();d=Y?.getBoundingClientRect()||null,g=!1,b=!1,x=L.sourceEvent,O===0&&M(L),i=b0(L.sourceEvent,{transform:U,snapGrid:I,snapToGrid:q,containerBounds:d}),u=Gi(L.sourceEvent,d)}).on("drag",L=>{const{autoPanOnNodeDrag:Y,transform:O,snapGrid:U,snapToGrid:I,nodeDragThreshold:q,nodeLookup:V}=r(),G=b0(L.sourceEvent,{transform:O,snapGrid:U,snapToGrid:I,containerBounds:d});if(x=L.sourceEvent,(L.sourceEvent.type==="touchmove"&&L.sourceEvent.touches.length>1||A&&!V.has(A))&&(g=!0),!g){if(!c&&Y&&p&&(c=!0,$()),!p){const F=Gi(L.sourceEvent,d),J=F.x-u.x,Q=F.y-u.y;Math.sqrt(J*J+Q*Q)>q&&M(L)}(i.x!==G.xSnapped||i.y!==G.ySnapped)&&s&&p&&(u=Gi(L.sourceEvent,d),N(G))}}).on("end",L=>{if(!(!p||g)&&(c=!1,p=!1,cancelAnimationFrame(l),s.size>0)){const{nodeLookup:Y,updateNodePositions:O,onNodeDragStop:U,onSelectionDragStop:I}=r();if(b&&(O(s,!1),b=!1),a||U||!A&&I){const[q,V]=TE({nodeId:A,dragItems:s,nodeLookup:Y,dragging:!1});a?.(L.sourceEvent,s,q,V),U?.(L.sourceEvent,q,V),A||I?.(L.sourceEvent,V)}}}).filter(L=>{const Y=L.target;return!L.button&&(!C||!bH(Y,`.${C}`,T))&&(!_||bH(Y,_,T))});f.call(j)}function k(){f?.on(".drag",null)}return{update:w,destroy:k}}function DCe(e,r,n){const o=[],a={x:e.x-n,y:e.y-n,width:n*2,height:n*2};for(const i of r.values())m0(a,jd(i))>0&&o.push(i);return o}const PCe=250;function $Ce(e,r,n,o){let a=[],i=1/0;const l=DCe(e,n,r+PCe);for(const s of l){const c=[...s.internals.handleBounds?.source??[],...s.internals.handleBounds?.target??[]];for(const u of c){if(o.nodeId===u.nodeId&&o.type===u.type&&o.id===u.id)continue;const{x:d,y:p}=v0(s,u,u.position,!0),f=Math.sqrt(Math.pow(d-e.x,2)+Math.pow(p-e.y,2));f>r||(f1){const s=o.type==="source"?"target":"source";return a.find(c=>c.type===s)??a[0]}return a[0]}function vH(e,r,n,o,a,i=!1){const l=o.get(e);if(!l)return null;const s=a==="strict"?l.internals.handleBounds?.[r]:[...l.internals.handleBounds?.source??[],...l.internals.handleBounds?.target??[]],c=(n?s?.find(u=>u.id===n):s?.[0])??null;return c&&i?{...c,...v0(l,c,c.position,!0)}:c}function xH(e,r){return e||(r?.classList.contains("target")?"target":r?.classList.contains("source")?"source":null)}function MCe(e,r){let n=null;return r?n=!0:e&&!r&&(n=!1),n}const wH=()=>!0;function OCe(e,{connectionMode:r,connectionRadius:n,handleId:o,nodeId:a,edgeUpdaterType:i,isTarget:l,domNode:s,nodeLookup:c,lib:u,autoPanOnConnect:d,flowId:p,panBy:f,cancelConnection:g,onConnectStart:b,onConnect:x,onConnectEnd:w,isValidConnection:k=wH,onReconnectEnd:C,updateConnection:_,getTransform:T,getFromHandle:R,autoPanSpeed:A,dragThreshold:D=1,handleDomNode:N}){const $=eH(e.target);let M=0,j;const{x:L,y:Y}=Gi(e),O=xH(i,N),U=s?.getBoundingClientRect();let I=!1;if(!U||!O)return;const q=vH(a,O,o,c,r);if(!q)return;let V=Gi(e,U),G=!1,F=null,J=!1,Q=null;function z(){if(!d||!U)return;const[pe,Ce]=XF(V,U,A);f({x:pe,y:Ce}),M=requestAnimationFrame(z)}const W={...q,nodeId:a,type:O,position:q.position},X=c.get(a);let Z={inProgress:!0,isValid:null,from:v0(X,W,tt.Left,!0),fromHandle:W,fromPosition:W.position,fromNode:X,to:V,toHandle:null,toPosition:HF[W.position],toNode:null};function oe(){I=!0,_(Z),b?.(e,{nodeId:a,handleId:o,handleType:O})}D===0&&oe();function ee(pe){if(!I){const{x:be,y:Oe}=Gi(pe),Xe=be-L,Ge=Oe-Y;if(!(Xe*Xe+Ge*Ge>D*D))return;oe()}if(!R()||!W){re(pe);return}const Ce=T();V=Gi(pe,U),j=$Ce(y0(V,Ce,!1,[1,1]),n,c,W),G||(z(),G=!0);const ce=kH(pe,{handle:j,connectionMode:r,fromNodeId:a,fromHandleId:o,fromType:l?"target":"source",isValidConnection:k,doc:$,lib:u,flowId:p,nodeLookup:c});Q=ce.handleDomNode,F=ce.connection,J=MCe(!!j,ce.isValid);const de={...Z,isValid:J,to:ce.toHandle&&J?xx({x:ce.toHandle.x,y:ce.toHandle.y},Ce):V,toHandle:ce.toHandle,toPosition:J&&ce.toHandle?ce.toHandle.position:HF[W.position],toNode:ce.toHandle?c.get(ce.toHandle.nodeId):null};J&&j&&Z.toHandle&&de.toHandle&&Z.toHandle.type===de.toHandle.type&&Z.toHandle.nodeId===de.toHandle.nodeId&&Z.toHandle.id===de.toHandle.id&&Z.to.x===de.to.x&&Z.to.y===de.to.y||(_(de),Z=de)}function re(pe){if(!("touches"in pe&&pe.touches.length>0)){if(I){(j||Q)&&F&&J&&x?.(F);const{inProgress:Ce,...ce}=Z,de={...ce,toPosition:Z.toHandle?Z.toPosition:null};w?.(pe,de),i&&C?.(pe,de)}g(),cancelAnimationFrame(M),G=!1,J=!1,F=null,Q=null,$.removeEventListener("mousemove",ee),$.removeEventListener("mouseup",re),$.removeEventListener("touchmove",ee),$.removeEventListener("touchend",re)}}$.addEventListener("mousemove",ee),$.addEventListener("mouseup",re),$.addEventListener("touchmove",ee),$.addEventListener("touchend",re)}function kH(e,{handle:r,connectionMode:n,fromNodeId:o,fromHandleId:a,fromType:i,doc:l,lib:s,flowId:c,isValidConnection:u=wH,nodeLookup:d}){const p=i==="target",f=r?l.querySelector(`.${s}-flow__handle[data-id="${c}-${r?.nodeId}-${r?.id}-${r?.type}"]`):null,{x:g,y:b}=Gi(e),x=l.elementFromPoint(g,b),w=x?.classList.contains(`${s}-flow__handle`)?x:f,k={handleDomNode:w,isValid:!1,connection:null,toHandle:null};if(w){const C=xH(void 0,w),_=w.getAttribute("data-nodeid"),T=w.getAttribute("data-handleid"),R=w.classList.contains("connectable"),A=w.classList.contains("connectableend");if(!_||!C)return k;const D={source:p?_:o,sourceHandle:p?T:a,target:p?o:_,targetHandle:p?a:T};k.connection=D;const N=R&&A&&(n===ef.Strict?p&&C==="source"||!p&&C==="target":_!==o||T!==a);k.isValid=N&&u(D),k.toHandle=vH(_,C,T,d,n,!0)}return k}const RE={onPointerDown:OCe,isValid:kH};function ICe({domNode:e,panZoom:r,getTransform:n,getViewScale:o}){const a=Ea(e);function i({translateExtent:s,width:c,height:u,zoomStep:d=1,pannable:p=!0,zoomable:f=!0,inversePan:g=!1}){const b=_=>{if(_.sourceEvent.type!=="wheel"||!r)return;const T=n(),R=_.sourceEvent.ctrlKey&&of()?10:1,A=-_.sourceEvent.deltaY*(_.sourceEvent.deltaMode===1?.05:_.sourceEvent.deltaMode?1:.002)*d,D=T[2]*Math.pow(2,A*R);r.scaleTo(D)};let x=[0,0];const w=_=>{(_.sourceEvent.type==="mousedown"||_.sourceEvent.type==="touchstart")&&(x=[_.sourceEvent.clientX??_.sourceEvent.touches[0].clientX,_.sourceEvent.clientY??_.sourceEvent.touches[0].clientY])},k=_=>{const T=n();if(_.sourceEvent.type!=="mousemove"&&_.sourceEvent.type!=="touchmove"||!r)return;const R=[_.sourceEvent.clientX??_.sourceEvent.touches[0].clientX,_.sourceEvent.clientY??_.sourceEvent.touches[0].clientY],A=[R[0]-x[0],R[1]-x[1]];x=R;const D=o()*Math.max(T[2],Math.log(T[2]))*(g?-1:1),N={x:T[0]-A[0]*D,y:T[1]-A[1]*D},$=[[0,0],[c,u]];r.setViewportConstrained({x:N.x,y:N.y,zoom:T[2]},$,s)},C=zF().on("start",w).on("zoom",p?k:null).on("zoom.wheel",f?b:null);a.call(C,{})}function l(){a.on("zoom",null)}return{update:i,destroy:l,pointer:Ui}}const LCe=(e,r)=>e.x!==r.x||e.y!==r.y||e.zoom!==r.k,Ex=e=>({x:e.x,y:e.y,zoom:e.k}),AE=({x:e,y:r,zoom:n})=>mx.translate(e,r).scale(n),lf=(e,r)=>e.target.closest(`.${r}`),_H=(e,r)=>r===2&&Array.isArray(e)&&e.includes(2),zCe=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,NE=(e,r=0,n=zCe,o=()=>{})=>{const a=typeof r=="number"&&r>0;return a||o(),a?e.transition().duration(r).ease(n).on("end",o):e},EH=e=>{const r=e.ctrlKey&&of()?10:1;return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*r};function BCe({zoomPanValues:e,noWheelClassName:r,d3Selection:n,d3Zoom:o,panOnScrollMode:a,panOnScrollSpeed:i,zoomOnPinch:l,onPanZoomStart:s,onPanZoom:c,onPanZoomEnd:u}){return d=>{if(lf(d,r))return d.ctrlKey&&d.preventDefault(),!1;d.preventDefault(),d.stopImmediatePropagation();const p=n.property("__zoom").k||1;if(d.ctrlKey&&l){const w=Ui(d),k=EH(d),C=p*Math.pow(2,k);o.scaleTo(n,C,w,d);return}const f=d.deltaMode===1?20:1;let g=a===zd.Vertical?0:d.deltaX*f,b=a===zd.Horizontal?0:d.deltaY*f;!of()&&d.shiftKey&&a!==zd.Vertical&&(g=d.deltaY*f,b=0),o.translateBy(n,-(g/p)*i,-(b/p)*i,{internal:!0});const x=Ex(n.property("__zoom"));clearTimeout(e.panScrollTimeout),e.isPanScrolling||(e.isPanScrolling=!0,s?.(d,x)),e.isPanScrolling&&(c?.(d,x),e.panScrollTimeout=setTimeout(()=>{u?.(d,x),e.isPanScrolling=!1},150))}}function jCe({noWheelClassName:e,preventScrolling:r,d3ZoomHandler:n}){return function(o,a){const i=o.type==="wheel",l=!r&&i&&!o.ctrlKey,s=lf(o,e);if(o.ctrlKey&&i&&s&&o.preventDefault(),l||s)return null;o.preventDefault(),n.call(this,o,a)}}function FCe({zoomPanValues:e,onDraggingChange:r,onPanZoomStart:n}){return o=>{if(o.sourceEvent?.internal)return;const a=Ex(o.transform);e.mouseButton=o.sourceEvent?.button||0,e.isZoomingOrPanning=!0,e.prevViewport=a,o.sourceEvent?.type==="mousedown"&&r(!0),n&&n?.(o.sourceEvent,a)}}function HCe({zoomPanValues:e,panOnDrag:r,onPaneContextMenu:n,onTransformChange:o,onPanZoom:a}){return i=>{e.usedRightMouseButton=!!(n&&_H(r,e.mouseButton??0)),i.sourceEvent?.sync||o([i.transform.x,i.transform.y,i.transform.k]),a&&!i.sourceEvent?.internal&&a?.(i.sourceEvent,Ex(i.transform))}}function qCe({zoomPanValues:e,panOnDrag:r,panOnScroll:n,onDraggingChange:o,onPanZoomEnd:a,onPaneContextMenu:i}){return l=>{if(!l.sourceEvent?.internal&&(e.isZoomingOrPanning=!1,i&&_H(r,e.mouseButton??0)&&!e.usedRightMouseButton&&l.sourceEvent&&i(l.sourceEvent),e.usedRightMouseButton=!1,o(!1),a&&LCe(e.prevViewport,l.transform))){const s=Ex(l.transform);e.prevViewport=s,clearTimeout(e.timerId),e.timerId=setTimeout(()=>{a?.(l.sourceEvent,s)},n?150:0)}}}function UCe({zoomActivationKeyPressed:e,zoomOnScroll:r,zoomOnPinch:n,panOnDrag:o,panOnScroll:a,zoomOnDoubleClick:i,userSelectionActive:l,noWheelClassName:s,noPanClassName:c,lib:u,connectionInProgress:d}){return p=>{const f=e||r,g=n&&p.ctrlKey,b=p.type==="wheel";if(p.button===1&&p.type==="mousedown"&&(lf(p,`${u}-flow__node`)||lf(p,`${u}-flow__edge`)))return!0;if(!o&&!f&&!a&&!i&&!n||l||d&&!b||lf(p,s)&&b||lf(p,c)&&(!b||a&&b&&!e)||!n&&p.ctrlKey&&b)return!1;if(!n&&p.type==="touchstart"&&p.touches?.length>1)return p.preventDefault(),!1;if(!f&&!a&&!g&&b||!o&&(p.type==="mousedown"||p.type==="touchstart")||Array.isArray(o)&&!o.includes(p.button)&&p.type==="mousedown")return!1;const x=Array.isArray(o)&&o.includes(p.button)||!p.button||p.button<=1;return(!p.ctrlKey||b)&&x}}function VCe({domNode:e,minZoom:r,maxZoom:n,paneClickDistance:o,translateExtent:a,viewport:i,onPanZoom:l,onPanZoomStart:s,onPanZoomEnd:c,onDraggingChange:u}){const d={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{x:0,y:0,zoom:0},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},p=e.getBoundingClientRect(),f=zF().clickDistance(!Wi(o)||o<0?0:o).scaleExtent([r,n]).translateExtent(a),g=Ea(e).call(f);_({x:i.x,y:i.y,zoom:rf(i.zoom,r,n)},[[0,0],[p.width,p.height]],a);const b=g.on("wheel.zoom"),x=g.on("dblclick.zoom");f.wheelDelta(EH);function w(L,Y){return g?new Promise(O=>{f?.interpolate(Y?.interpolate==="linear"?a0:ax).transform(NE(g,Y?.duration,Y?.ease,()=>O(!0)),L)}):Promise.resolve(!1)}function k({noWheelClassName:L,noPanClassName:Y,onPaneContextMenu:O,userSelectionActive:U,panOnScroll:I,panOnDrag:q,panOnScrollMode:V,panOnScrollSpeed:G,preventScrolling:F,zoomOnPinch:J,zoomOnScroll:Q,zoomOnDoubleClick:z,zoomActivationKeyPressed:W,lib:X,onTransformChange:Z,connectionInProgress:oe}){U&&!d.isZoomingOrPanning&&C();const ee=I&&!W&&!U?BCe({zoomPanValues:d,noWheelClassName:L,d3Selection:g,d3Zoom:f,panOnScrollMode:V,panOnScrollSpeed:G,zoomOnPinch:J,onPanZoomStart:s,onPanZoom:l,onPanZoomEnd:c}):jCe({noWheelClassName:L,preventScrolling:F,d3ZoomHandler:b});if(g.on("wheel.zoom",ee,{passive:!1}),!U){const pe=FCe({zoomPanValues:d,onDraggingChange:u,onPanZoomStart:s});f.on("start",pe);const Ce=HCe({zoomPanValues:d,panOnDrag:q,onPaneContextMenu:!!O,onPanZoom:l,onTransformChange:Z});f.on("zoom",Ce);const ce=qCe({zoomPanValues:d,panOnDrag:q,panOnScroll:I,onPaneContextMenu:O,onPanZoomEnd:c,onDraggingChange:u});f.on("end",ce)}const re=UCe({zoomActivationKeyPressed:W,panOnDrag:q,zoomOnScroll:Q,panOnScroll:I,zoomOnDoubleClick:z,zoomOnPinch:J,userSelectionActive:U,noPanClassName:Y,noWheelClassName:L,lib:X,connectionInProgress:oe});f.filter(re),z?g.on("dblclick.zoom",x):g.on("dblclick.zoom",null)}function C(){f.on("zoom",null)}async function _(L,Y,O){const U=AE(L),I=f?.constrain()(U,Y,O);return I&&await w(I),new Promise(q=>q(I))}async function T(L,Y){const O=AE(L);return await w(O,Y),new Promise(U=>U(O))}function R(L){if(g){const Y=AE(L),O=g.property("__zoom");(O.k!==L.zoom||O.x!==L.x||O.y!==L.y)&&f?.transform(g,Y,null,{sync:!0})}}function A(){const L=g?IF(g.node()):{x:0,y:0,k:1};return{x:L.x,y:L.y,zoom:L.k}}function D(L,Y){return g?new Promise(O=>{f?.interpolate(Y?.interpolate==="linear"?a0:ax).scaleTo(NE(g,Y?.duration,Y?.ease,()=>O(!0)),L)}):Promise.resolve(!1)}function N(L,Y){return g?new Promise(O=>{f?.interpolate(Y?.interpolate==="linear"?a0:ax).scaleBy(NE(g,Y?.duration,Y?.ease,()=>O(!0)),L)}):Promise.resolve(!1)}function $(L){f?.scaleExtent(L)}function M(L){f?.translateExtent(L)}function j(L){const Y=!Wi(L)||L<0?0:L;f?.clickDistance(Y)}return{update:k,destroy:C,setViewport:T,setViewportConstrained:_,getViewport:A,scaleTo:D,scaleBy:N,setScaleExtent:$,setTranslateExtent:M,syncViewport:R,setClickDistance:j}}var sf;(function(e){e.Line="line",e.Handle="handle"})(sf||(sf={}));function YCe({width:e,prevWidth:r,height:n,prevHeight:o,affectsX:a,affectsY:i}){const l=e-r,s=n-o,c=[l>0?1:l<0?-1:0,s>0?1:s<0?-1:0];return l&&a&&(c[0]=c[0]*-1),s&&i&&(c[1]=c[1]*-1),c}function WCe(e){const r=e.includes("right")||e.includes("left"),n=e.includes("bottom")||e.includes("top"),o=e.includes("left"),a=e.includes("top");return{isHorizontal:r,isVertical:n,affectsX:o,affectsY:a}}function ru(e,r){return Math.max(0,r-e)}function nu(e,r){return Math.max(0,e-r)}function Sx(e,r,n){return Math.max(0,r-e,e-n)}function SH(e,r){return e?!r:r}function GCe(e,r,n,o,a,i,l,s){let{affectsX:c,affectsY:u}=r;const{isHorizontal:d,isVertical:p}=r,f=d&&p,{xSnapped:g,ySnapped:b}=n,{minWidth:x,maxWidth:w,minHeight:k,maxHeight:C}=o,{x:_,y:T,width:R,height:A,aspectRatio:D}=e;let N=Math.floor(d?g-e.pointerX:0),$=Math.floor(p?b-e.pointerY:0);const M=R+(c?-N:N),j=A+(u?-$:$),L=-i[0]*R,Y=-i[1]*A;let O=Sx(M,x,w),U=Sx(j,k,C);if(l){let V=0,G=0;c&&N<0?V=ru(_+N+L,l[0][0]):!c&&N>0&&(V=nu(_+M+L,l[1][0])),u&&$<0?G=ru(T+$+Y,l[0][1]):!u&&$>0&&(G=nu(T+j+Y,l[1][1])),O=Math.max(O,V),U=Math.max(U,G)}if(s){let V=0,G=0;c&&N>0?V=nu(_+N,s[0][0]):!c&&N<0&&(V=ru(_+M,s[1][0])),u&&$>0?G=nu(T+$,s[0][1]):!u&&$<0&&(G=ru(T+j,s[1][1])),O=Math.max(O,V),U=Math.max(U,G)}if(a){if(d){const V=Sx(M/D,k,C)*D;if(O=Math.max(O,V),l){let G=0;!c&&!u||c&&!u&&f?G=nu(T+Y+M/D,l[1][1])*D:G=ru(T+Y+(c?N:-N)/D,l[0][1])*D,O=Math.max(O,G)}if(s){let G=0;!c&&!u||c&&!u&&f?G=ru(T+M/D,s[1][1])*D:G=nu(T+(c?N:-N)/D,s[0][1])*D,O=Math.max(O,G)}}if(p){const V=Sx(j*D,x,w)/D;if(U=Math.max(U,V),l){let G=0;!c&&!u||u&&!c&&f?G=nu(_+j*D+L,l[1][0])/D:G=ru(_+(u?$:-$)*D+L,l[0][0])/D,U=Math.max(U,G)}if(s){let G=0;!c&&!u||u&&!c&&f?G=ru(_+j*D,s[1][0])/D:G=nu(_+(u?$:-$)*D,s[0][0])/D,U=Math.max(U,G)}}}$=$+($<0?U:-U),N=N+(N<0?O:-O),a&&(f?M>j*D?$=(SH(c,u)?-N:N)/D:N=(SH(c,u)?-$:$)*D:d?($=N/D,u=c):(N=$*D,c=u));const I=c?_+N:_,q=u?T+$:T;return{width:R+(c?-N:N),height:A+(u?-$:$),x:i[0]*N*(c?-1:1)+I,y:i[1]*$*(u?-1:1)+q}}const CH={width:0,height:0,x:0,y:0},XCe={...CH,pointerX:0,pointerY:0,aspectRatio:1};function KCe(e){return[[0,0],[e.measured.width,e.measured.height]]}function ZCe(e,r,n){const o=r.position.x+e.position.x,a=r.position.y+e.position.y,i=e.measured.width??0,l=e.measured.height??0,s=n[0]*i,c=n[1]*l;return[[o-s,a-c],[o+i-s,a+l-c]]}function QCe({domNode:e,nodeId:r,getStoreItems:n,onChange:o,onEnd:a}){const i=Ea(e);function l({controlPosition:c,boundaries:u,keepAspectRatio:d,resizeDirection:p,onResizeStart:f,onResize:g,onResizeEnd:b,shouldResize:x}){let w={...CH},k={...XCe};const C=WCe(c);let _,T=null,R=[],A,D,N,$=!1;const M=lF().on("start",j=>{const{nodeLookup:L,transform:Y,snapGrid:O,snapToGrid:U,nodeOrigin:I,paneDomNode:q}=n();if(_=L.get(r),!_)return;T=q?.getBoundingClientRect()??null;const{xSnapped:V,ySnapped:G}=b0(j.sourceEvent,{transform:Y,snapGrid:O,snapToGrid:U,containerBounds:T});w={width:_.measured.width??0,height:_.measured.height??0,x:_.position.x??0,y:_.position.y??0},k={...w,pointerX:V,pointerY:G,aspectRatio:w.width/w.height},A=void 0,_.parentId&&(_.extent==="parent"||_.expandParent)&&(A=L.get(_.parentId),D=A&&_.extent==="parent"?KCe(A):void 0),R=[],N=void 0;for(const[F,J]of L)if(J.parentId===r&&(R.push({id:F,position:{...J.position},extent:J.extent}),J.extent==="parent"||J.expandParent)){const Q=ZCe(J,_,J.origin??I);N?N=[[Math.min(Q[0][0],N[0][0]),Math.min(Q[0][1],N[0][1])],[Math.max(Q[1][0],N[1][0]),Math.max(Q[1][1],N[1][1])]]:N=Q}f?.(j,{...w})}).on("drag",j=>{const{transform:L,snapGrid:Y,snapToGrid:O,nodeOrigin:U}=n(),I=b0(j.sourceEvent,{transform:L,snapGrid:Y,snapToGrid:O,containerBounds:T}),q=[];if(!_)return;const{x:V,y:G,width:F,height:J}=w,Q={},z=_.origin??U,{width:W,height:X,x:Z,y:oe}=GCe(k,C,I,u,d,z,D,N),ee=W!==F,re=X!==J,pe=Z!==V&&ee,Ce=oe!==G&&re;if(!pe&&!Ce&&!ee&&!re)return;if((pe||Ce||z[0]===1||z[1]===1)&&(Q.x=pe?Z:w.x,Q.y=Ce?oe:w.y,w.x=Q.x,w.y=Q.y,R.length>0)){const be=Z-V,Oe=oe-G;for(const Xe of R)Xe.position={x:Xe.position.x-be+z[0]*(W-F),y:Xe.position.y-Oe+z[1]*(X-J)},q.push(Xe)}if((ee||re)&&(Q.width=ee&&(!p||p==="horizontal")?W:w.width,Q.height=re&&(!p||p==="vertical")?X:w.height,w.width=Q.width,w.height=Q.height),A&&_.expandParent){const be=z[0]*(Q.width??0);Q.x&&Q.x{$&&(b?.(j,{...w}),a?.({...w}),$=!1)});i.call(M)}function s(){i.on(".drag",null)}return{update:l,destroy:s}}function DE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var TH={exports:{}},PE={},RH={exports:{}},$E={};/** + */const $Ee=[["path",{d:"M4 8h16",key:"svg-0"}],["path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z",key:"svg-1"}],["path",{d:"M8 4v4",key:"svg-2"}]],MEe=xt("outline","browser","Browser",$Ee),oE=S.createContext(null);function OEe({value:e,children:r}){return S.useContext(oE)?y.jsx(y.Fragment,{children:r}):y.jsx(oE.Provider,{value:e,children:r})}function W3({element:e,className:r,style:n}){const o=S.useContext(oE);if(!e||!e.icon||e.icon==="none")return null;let a;return e.icon.startsWith("http://")||e.icon.startsWith("https://")?a=y.jsx("img",{src:e.icon,alt:e.title}):o&&(a=y.jsx(o,{node:e})),a?y.jsx("div",{className:Je(r,"likec4-element-icon"),"data-likec4-icon":e.icon,style:n,children:a}):null}const IEe={browser:MEe,cylinder:Wj,mobile:PEe,person:NEe,queue:REe,rectangle:CEe,storage:Wj};function zEe({element:e,className:r}){const n=y.jsx(W3,{element:e,className:r});if(n)return n;const o=IEe[e.shape];return y.jsx("div",{className:Je(r,"likec4-shape-icon"),children:y.jsx(o,{})})}function nf(e){const r=S.useRef(e);return r.current=e,S.useMemo(()=>Object.freeze({get current(){return r.current}}),[])}function Gj(e){const r=nf(e);S.useEffect(()=>()=>{r.current()},[])}function G3(e,r,n,o=0){const a=S.useRef(void 0),i=S.useRef(void 0),l=S.useRef(e),s=S.useRef(void 0),c=()=>{a.current&&(clearTimeout(a.current),a.current=void 0),i.current&&(clearTimeout(i.current),i.current=void 0)};return Gj(c),S.useEffect(()=>{l.current=e},r),S.useMemo(()=>{const u=()=>{if(c(),!s.current)return;const p=s.current;s.current=void 0,l.current.apply(p.this,p.args)},d=function(...p){a.current&&clearTimeout(a.current),s.current={args:p,this:this},a.current=setTimeout(u,n),o>0&&!i.current&&(i.current=setTimeout(u,o))};return Object.defineProperties(d,{length:{value:e.length},name:{value:`${e.name||"anonymous"}__debounced__${n}`}}),d},[n,o,...r])}const LEe=()=>{},X3=typeof globalThis<"u"&&typeof navigator<"u"&&typeof document<"u";function BEe(e){const r=nf(e),n=S.useRef(0),o=S.useCallback(()=>{X3&&n.current&&(cancelAnimationFrame(n.current),n.current=0)},[]);return Gj(o),[S.useMemo(()=>{const a=(...i)=>{X3&&(o(),n.current=requestAnimationFrame(()=>{r.current(...i),n.current=0}))};return Object.defineProperties(a,{length:{value:e.length},name:{value:`${e.name||"anonymous"}__raf`}}),a},[]),o]}const jEe=(e,r)=>{if(e===r)return!0;if(e.length!==r.length)return!1;for(const[n,o]of e.entries())if(o!==r[n])return!1;return!0};function Xj(e,r,n=jEe,o=S.useEffect,...a){const i=S.useRef(void 0);(i.current===void 0||X3&&!n(i.current,r))&&(i.current=r),o(e,i.current,...a)}function FEe(e,r,n,o=0){S.useEffect(G3(e,r,n,o),r)}function Kj(){const e=S.useRef(!0);return S.useEffect(()=>{e.current=!1},[]),e.current}const aE=X3?S.useLayoutEffect:S.useEffect;function HEe(e){S.useEffect(()=>{e()},[])}function Zj(e,r){const[n,o]=BEe(e);S.useEffect(()=>(n(),o),r)}const qEe=e=>(e+1)%Number.MAX_SAFE_INTEGER;function UEe(){const[,e]=S.useState(0);return S.useCallback(()=>{e(qEe)},[])}function Qj(e,r){const n=Kj();S.useEffect(n?LEe:e,r)}const VEe=e=>{e&&clearTimeout(e)};function K3(e,r){const n=nf(e),o=nf(r),a=S.useRef(null),i=S.useCallback(()=>{VEe(a.current)},[]),l=S.useCallback(()=>{o.current!==void 0&&(i(),a.current=setTimeout(()=>{n.current()},o.current))},[]);return S.useEffect(()=>(l(),i),[r]),[i,l]}const Jj=(e,r,n)=>{const o=S.useRef(void 0);return(o.current===void 0||!n(o.current,r))&&(o.current=r),S.useMemo(e,o.current)};function dn(e){if(typeof e=="string"||typeof e=="number")return""+e;let r="";if(Array.isArray(e))for(let n=0,o;n{}};function Z3(){for(var e=0,r=arguments.length,n={},o;e=0&&(o=n.slice(a+1),n=n.slice(0,a)),n&&!r.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:o}})}Q3.prototype=Z3.prototype={constructor:Q3,on:function(e,r){var n=this._,o=WEe(e+"",n),a,i=-1,l=o.length;if(arguments.length<2){for(;++i0)for(var n=new Array(a),o=0,a,i;o=0&&(r=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),tF.hasOwnProperty(r)?{space:tF[r],local:e}:e}function XEe(e){return function(){var r=this.ownerDocument,n=this.namespaceURI;return n===iE&&r.documentElement.namespaceURI===iE?r.createElement(e):r.createElementNS(n,e)}}function KEe(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function rF(e){var r=J3(e);return(r.local?KEe:XEe)(r)}function ZEe(){}function lE(e){return e==null?ZEe:function(){return this.querySelector(e)}}function QEe(e){typeof e!="function"&&(e=lE(e));for(var r=this._groups,n=r.length,o=new Array(n),a=0;a=_&&(_=C+1);!(R=w[_])&&++_=0;)(l=o[a])&&(i&&l.compareDocumentPosition(i)^4&&i.parentNode.insertBefore(l,i),i=l);return this}function _9e(e){e||(e=E9e);function r(p,f){return p&&f?e(p.__data__,f.__data__):!p-!f}for(var n=this._groups,o=n.length,a=new Array(o),i=0;ir?1:e>=r?0:NaN}function S9e(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function C9e(){return Array.from(this)}function T9e(){for(var e=this._groups,r=0,n=e.length;r1?this.each((r==null?L9e:typeof r=="function"?j9e:B9e)(e,r,n??"")):of(this.node(),e)}function of(e,r){return e.style.getPropertyValue(r)||lF(e).getComputedStyle(e,null).getPropertyValue(r)}function H9e(e){return function(){delete this[e]}}function q9e(e,r){return function(){this[e]=r}}function U9e(e,r){return function(){var n=r.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function V9e(e,r){return arguments.length>1?this.each((r==null?H9e:typeof r=="function"?U9e:q9e)(e,r)):this.node()[e]}function sF(e){return e.trim().split(/^|\s+/)}function sE(e){return e.classList||new cF(e)}function cF(e){this._node=e,this._names=sF(e.getAttribute("class")||"")}cF.prototype={add:function(e){var r=this._names.indexOf(e);r<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var r=this._names.indexOf(e);r>=0&&(this._names.splice(r,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function uF(e,r){for(var n=sE(e),o=-1,a=r.length;++o=0&&(n=r.slice(o+1),r=r.slice(0,o)),{type:r,name:n}})}function v7e(e){return function(){var r=this.__on;if(r){for(var n=0,o=-1,a=r.length,i;n()=>e;function uE(e,{sourceEvent:r,subject:n,target:o,identifier:a,active:i,x:l,y:s,dx:c,dy:u,dispatch:d}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:r,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:o,enumerable:!0,configurable:!0},identifier:{value:a,enumerable:!0,configurable:!0},active:{value:i,enumerable:!0,configurable:!0},x:{value:l,enumerable:!0,configurable:!0},y:{value:s,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:d}})}uE.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function A7e(e){return!e.ctrlKey&&!e.button}function N7e(){return this.parentNode}function D7e(e,r){return r??{x:e.x,y:e.y}}function P7e(){return navigator.maxTouchPoints||"ontouchstart"in this}function gF(){var e=A7e,r=N7e,n=D7e,o=P7e,a={},i=Z3("start","drag","end"),l=0,s,c,u,d,p=0;function f(T){T.on("mousedown.drag",g).filter(o).on("touchstart.drag",w).on("touchmove.drag",k,R7e).on("touchend.drag touchcancel.drag",C).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function g(T,R){if(!(d||!e.call(this,T,R))){var A=_(this,r.call(this,T,R),T,R,"mouse");A&&(Ca(T.view).on("mousemove.drag",b,d0).on("mouseup.drag",x,d0),fF(T.view),cE(T),u=!1,s=T.clientX,c=T.clientY,A("start",T))}}function b(T){if(af(T),!u){var R=T.clientX-s,A=T.clientY-c;u=R*R+A*A>p}a.mouse("drag",T)}function x(T){Ca(T.view).on("mousemove.drag mouseup.drag",null),mF(T.view,u),af(T),a.mouse("end",T)}function w(T,R){if(e.call(this,T,R)){var A=T.changedTouches,D=r.call(this,T,R),N=A.length,$,O;for($=0;$>8&15|r>>4&240,r>>4&15|r&240,(r&15)<<4|r&15,1):n===8?nx(r>>24&255,r>>16&255,r>>8&255,(r&255)/255):n===4?nx(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|r&240,((r&15)<<4|r&15)/255):null):(r=M7e.exec(e))?new ea(r[1],r[2],r[3],1):(r=O7e.exec(e))?new ea(r[1]*255/100,r[2]*255/100,r[3]*255/100,1):(r=I7e.exec(e))?nx(r[1],r[2],r[3],r[4]):(r=z7e.exec(e))?nx(r[1]*255/100,r[2]*255/100,r[3]*255/100,r[4]):(r=L7e.exec(e))?EF(r[1],r[2]/100,r[3]/100,1):(r=B7e.exec(e))?EF(r[1],r[2]/100,r[3]/100,r[4]):bF.hasOwnProperty(e)?wF(bF[e]):e==="transparent"?new ea(NaN,NaN,NaN,0):null}function wF(e){return new ea(e>>16&255,e>>8&255,e&255,1)}function nx(e,r,n,o){return o<=0&&(e=r=n=NaN),new ea(e,r,n,o)}function H7e(e){return e instanceof p0||(e=Vd(e)),e?(e=e.rgb(),new ea(e.r,e.g,e.b,e.opacity)):new ea}function pE(e,r,n,o){return arguments.length===1?H7e(e):new ea(e,r,n,o??1)}function ea(e,r,n,o){this.r=+e,this.g=+r,this.b=+n,this.opacity=+o}dE(ea,pE,yF(p0,{brighter(e){return e=e==null?rx:Math.pow(rx,e),new ea(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?h0:Math.pow(h0,e),new ea(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ea(Yd(this.r),Yd(this.g),Yd(this.b),ox(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:kF,formatHex:kF,formatHex8:q7e,formatRgb:_F,toString:_F}));function kF(){return`#${Wd(this.r)}${Wd(this.g)}${Wd(this.b)}`}function q7e(){return`#${Wd(this.r)}${Wd(this.g)}${Wd(this.b)}${Wd((isNaN(this.opacity)?1:this.opacity)*255)}`}function _F(){const e=ox(this.opacity);return`${e===1?"rgb(":"rgba("}${Yd(this.r)}, ${Yd(this.g)}, ${Yd(this.b)}${e===1?")":`, ${e})`}`}function ox(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Yd(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Wd(e){return e=Yd(e),(e<16?"0":"")+e.toString(16)}function EF(e,r,n,o){return o<=0?e=r=n=NaN:n<=0||n>=1?e=r=NaN:r<=0&&(e=NaN),new Wi(e,r,n,o)}function SF(e){if(e instanceof Wi)return new Wi(e.h,e.s,e.l,e.opacity);if(e instanceof p0||(e=Vd(e)),!e)return new Wi;if(e instanceof Wi)return e;e=e.rgb();var r=e.r/255,n=e.g/255,o=e.b/255,a=Math.min(r,n,o),i=Math.max(r,n,o),l=NaN,s=i-a,c=(i+a)/2;return s?(r===i?l=(n-o)/s+(n0&&c<1?0:l,new Wi(l,s,c,e.opacity)}function U7e(e,r,n,o){return arguments.length===1?SF(e):new Wi(e,r,n,o??1)}function Wi(e,r,n,o){this.h=+e,this.s=+r,this.l=+n,this.opacity=+o}dE(Wi,U7e,yF(p0,{brighter(e){return e=e==null?rx:Math.pow(rx,e),new Wi(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?h0:Math.pow(h0,e),new Wi(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,r=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,o=n+(n<.5?n:1-n)*r,a=2*n-o;return new ea(hE(e>=240?e-240:e+120,a,o),hE(e,a,o),hE(e<120?e+240:e-120,a,o),this.opacity)},clamp(){return new Wi(CF(this.h),ax(this.s),ax(this.l),ox(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=ox(this.opacity);return`${e===1?"hsl(":"hsla("}${CF(this.h)}, ${ax(this.s)*100}%, ${ax(this.l)*100}%${e===1?")":`, ${e})`}`}}));function CF(e){return e=(e||0)%360,e<0?e+360:e}function ax(e){return Math.max(0,Math.min(1,e||0))}function hE(e,r,n){return(e<60?r+(n-r)*e/60:e<180?n:e<240?r+(n-r)*(240-e)/60:r)*255}const fE=e=>()=>e;function V7e(e,r){return function(n){return e+n*r}}function Y7e(e,r,n){return e=Math.pow(e,n),r=Math.pow(r,n)-e,n=1/n,function(o){return Math.pow(e+o*r,n)}}function W7e(e){return(e=+e)==1?TF:function(r,n){return n-r?Y7e(r,n,e):fE(isNaN(r)?n:r)}}function TF(e,r){var n=r-e;return n?V7e(e,n):fE(isNaN(e)?r:e)}const ix=(function e(r){var n=W7e(r);function o(a,i){var l=n((a=pE(a)).r,(i=pE(i)).r),s=n(a.g,i.g),c=n(a.b,i.b),u=TF(a.opacity,i.opacity);return function(d){return a.r=l(d),a.g=s(d),a.b=c(d),a.opacity=u(d),a+""}}return o.gamma=e,o})(1);function G7e(e,r){r||(r=[]);var n=e?Math.min(r.length,e.length):0,o=r.slice(),a;return function(i){for(a=0;an&&(i=r.slice(n,i),s[l]?s[l]+=i:s[++l]=i),(o=o[0])===(a=a[0])?s[l]?s[l]+=a:s[++l]=a:(s[++l]=null,c.push({i:l,x:Jl(o,a)})),n=gE.lastIndex;return n180?d+=360:d-u>180&&(u+=360),f.push({i:p.push(a(p)+"rotate(",null,o)-2,x:Jl(u,d)})):d&&p.push(a(p)+"rotate("+d+o)}function s(u,d,p,f){u!==d?f.push({i:p.push(a(p)+"skewX(",null,o)-2,x:Jl(u,d)}):d&&p.push(a(p)+"skewX("+d+o)}function c(u,d,p,f,g,b){if(u!==p||d!==f){var x=g.push(a(g)+"scale(",null,",",null,")");b.push({i:x-4,x:Jl(u,p)},{i:x-2,x:Jl(d,f)})}else(p!==1||f!==1)&&g.push(a(g)+"scale("+p+","+f+")")}return function(u,d){var p=[],f=[];return u=e(u),d=e(d),i(u.translateX,u.translateY,d.translateX,d.translateY,p,f),l(u.rotate,d.rotate,p,f),s(u.skewX,d.skewX,p,f),c(u.scaleX,u.scaleY,d.scaleX,d.scaleY,p,f),u=d=null,function(g){for(var b=-1,x=f.length,w;++b=0&&e._call.call(void 0,r),e=e._next;--sf}function zF(){Gd=(ux=v0.now())+dx,sf=g0=0;try{cSe()}finally{sf=0,dSe(),Gd=0}}function uSe(){var e=v0.now(),r=e-ux;r>MF&&(dx-=r,ux=e)}function dSe(){for(var e,r=cx,n,o=1/0;r;)r._call?(o>r._time&&(o=r._time),e=r,r=r._next):(n=r._next,r._next=null,r=e?e._next=n:cx=n);b0=e,bE(o)}function bE(e){if(!sf){g0&&(g0=clearTimeout(g0));var r=e-Gd;r>24?(e<1/0&&(g0=setTimeout(zF,e-v0.now()-dx)),y0&&(y0=clearInterval(y0))):(y0||(ux=v0.now(),y0=setInterval(uSe,MF)),sf=1,OF(zF))}}function LF(e,r,n){var o=new px;return r=r==null?0:+r,o.restart(a=>{o.stop(),e(a+r)},r,n),o}var pSe=Z3("start","end","cancel","interrupt"),hSe=[],BF=0,jF=1,vE=2,hx=3,FF=4,xE=5,fx=6;function mx(e,r,n,o,a,i){var l=e.__transition;if(!l)e.__transition={};else if(n in l)return;fSe(e,n,{name:r,index:o,group:a,on:pSe,tween:hSe,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:BF})}function wE(e,r){var n=Gi(e,r);if(n.state>BF)throw new Error("too late; already scheduled");return n}function es(e,r){var n=Gi(e,r);if(n.state>hx)throw new Error("too late; already running");return n}function Gi(e,r){var n=e.__transition;if(!n||!(n=n[r]))throw new Error("transition not found");return n}function fSe(e,r,n){var o=e.__transition,a;o[r]=n,n.timer=IF(i,0,n.time);function i(u){n.state=jF,n.timer.restart(l,n.delay,n.time),n.delay<=u&&l(u-n.delay)}function l(u){var d,p,f,g;if(n.state!==jF)return c();for(d in o)if(g=o[d],g.name===n.name){if(g.state===hx)return LF(l);g.state===FF?(g.state=fx,g.timer.stop(),g.on.call("interrupt",e,e.__data__,g.index,g.group),delete o[d]):+dvE&&o.state=0&&(r=r.slice(0,n)),!r||r==="start"})}function USe(e,r,n){var o,a,i=qSe(r)?wE:es;return function(){var l=i(this,e),s=l.on;s!==o&&(a=(o=s).copy()).on(r,n),l.on=a}}function VSe(e,r){var n=this._id;return arguments.length<2?Gi(this.node(),n).on.on(e):this.each(USe(n,e,r))}function YSe(e){return function(){var r=this.parentNode;for(var n in this.__transition)if(+n!==e)return;r&&r.removeChild(this)}}function WSe(){return this.on("end.remove",YSe(this._id))}function GSe(e){var r=this._name,n=this._id;typeof e!="function"&&(e=lE(e));for(var o=this._groups,a=o.length,i=new Array(a),l=0;l()=>e;function vCe(e,{sourceEvent:r,target:n,transform:o,dispatch:a}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:r,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:a}})}function Us(e,r,n){this.k=e,this.x=r,this.y=n}Us.prototype={constructor:Us,scale:function(e){return e===1?this:new Us(this.k*e,this.x,this.y)},translate:function(e,r){return e===0&r===0?this:new Us(this.k,this.x+this.k*e,this.y+this.k*r)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var bx=new Us(1,0,0);VF.prototype=Us.prototype;function VF(e){for(;!e.__zoom;)if(!(e=e.parentNode))return bx;return e.__zoom}function _E(e){e.stopImmediatePropagation()}function x0(e){e.preventDefault(),e.stopImmediatePropagation()}function xCe(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function wCe(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function YF(){return this.__zoom||bx}function kCe(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function _Ce(){return navigator.maxTouchPoints||"ontouchstart"in this}function ECe(e,r,n){var o=e.invertX(r[0][0])-n[0][0],a=e.invertX(r[1][0])-n[1][0],i=e.invertY(r[0][1])-n[0][1],l=e.invertY(r[1][1])-n[1][1];return e.translate(a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a),l>i?(i+l)/2:Math.min(0,i)||Math.max(0,l))}function WF(){var e=xCe,r=wCe,n=ECe,o=kCe,a=_Ce,i=[0,1/0],l=[[-1/0,-1/0],[1/0,1/0]],s=250,c=sx,u=Z3("start","zoom","end"),d,p,f,g=500,b=150,x=0,w=10;function k(M){M.property("__zoom",YF).on("wheel.zoom",N,{passive:!1}).on("mousedown.zoom",$).on("dblclick.zoom",O).filter(a).on("touchstart.zoom",j).on("touchmove.zoom",L).on("touchend.zoom touchcancel.zoom",Y).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}k.transform=function(M,q,z,H){var U=M.selection?M.selection():M;U.property("__zoom",YF),M!==U?R(M,q,z,H):U.interrupt().each(function(){A(this,arguments).event(H).start().zoom(null,typeof q=="function"?q.apply(this,arguments):q).end()})},k.scaleBy=function(M,q,z,H){k.scaleTo(M,function(){var U=this.__zoom.k,K=typeof q=="function"?q.apply(this,arguments):q;return U*K},z,H)},k.scaleTo=function(M,q,z,H){k.transform(M,function(){var U=r.apply(this,arguments),K=this.__zoom,V=z==null?T(U):typeof z=="function"?z.apply(this,arguments):z,X=K.invert(V),Z=typeof q=="function"?q.apply(this,arguments):q;return n(_(C(K,Z),V,X),U,l)},z,H)},k.translateBy=function(M,q,z,H){k.transform(M,function(){return n(this.__zoom.translate(typeof q=="function"?q.apply(this,arguments):q,typeof z=="function"?z.apply(this,arguments):z),r.apply(this,arguments),l)},null,H)},k.translateTo=function(M,q,z,H,U){k.transform(M,function(){var K=r.apply(this,arguments),V=this.__zoom,X=H==null?T(K):typeof H=="function"?H.apply(this,arguments):H;return n(bx.translate(X[0],X[1]).scale(V.k).translate(typeof q=="function"?-q.apply(this,arguments):-q,typeof z=="function"?-z.apply(this,arguments):-z),K,l)},H,U)};function C(M,q){return q=Math.max(i[0],Math.min(i[1],q)),q===M.k?M:new Us(q,M.x,M.y)}function _(M,q,z){var H=q[0]-z[0]*M.k,U=q[1]-z[1]*M.k;return H===M.x&&U===M.y?M:new Us(M.k,H,U)}function T(M){return[(+M[0][0]+ +M[1][0])/2,(+M[0][1]+ +M[1][1])/2]}function R(M,q,z,H){M.on("start.zoom",function(){A(this,arguments).event(H).start()}).on("interrupt.zoom end.zoom",function(){A(this,arguments).event(H).end()}).tween("zoom",function(){var U=this,K=arguments,V=A(U,K).event(H),X=r.apply(U,K),Z=z==null?T(X):typeof z=="function"?z.apply(U,K):z,B=Math.max(X[1][0]-X[0][0],X[1][1]-X[0][1]),W=U.__zoom,Q=typeof q=="function"?q.apply(U,K):q,J=c(W.invert(Z).concat(B/W.k),Q.invert(Z).concat(B/Q.k));return function(ne){if(ne===1)ne=Q;else{var te=J(ne),ee=B/te[2];ne=new Us(ee,Z[0]-te[0]*ee,Z[1]-te[1]*ee)}V.zoom(null,ne)}})}function A(M,q,z){return!z&&M.__zooming||new D(M,q)}function D(M,q){this.that=M,this.args=q,this.active=0,this.sourceEvent=null,this.extent=r.apply(M,q),this.taps=0}D.prototype={event:function(M){return M&&(this.sourceEvent=M),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(M,q){return this.mouse&&M!=="mouse"&&(this.mouse[1]=q.invert(this.mouse[0])),this.touch0&&M!=="touch"&&(this.touch0[1]=q.invert(this.touch0[0])),this.touch1&&M!=="touch"&&(this.touch1[1]=q.invert(this.touch1[0])),this.that.__zoom=q,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(M){var q=Ca(this.that).datum();u.call(M,this.that,new vCe(M,{sourceEvent:this.sourceEvent,target:k,transform:this.that.__zoom,dispatch:u}),q)}};function N(M,...q){if(!e.apply(this,arguments))return;var z=A(this,q).event(M),H=this.__zoom,U=Math.max(i[0],Math.min(i[1],H.k*Math.pow(2,o.apply(this,arguments)))),K=Yi(M);if(z.wheel)(z.mouse[0][0]!==K[0]||z.mouse[0][1]!==K[1])&&(z.mouse[1]=H.invert(z.mouse[0]=K)),clearTimeout(z.wheel);else{if(H.k===U)return;z.mouse=[K,H.invert(K)],gx(this),z.start()}x0(M),z.wheel=setTimeout(V,b),z.zoom("mouse",n(_(C(H,U),z.mouse[0],z.mouse[1]),z.extent,l));function V(){z.wheel=null,z.end()}}function $(M,...q){if(f||!e.apply(this,arguments))return;var z=M.currentTarget,H=A(this,q,!0).event(M),U=Ca(M.view).on("mousemove.zoom",Z,!0).on("mouseup.zoom",B,!0),K=Yi(M,z),V=M.clientX,X=M.clientY;fF(M.view),_E(M),H.mouse=[K,this.__zoom.invert(K)],gx(this),H.start();function Z(W){if(x0(W),!H.moved){var Q=W.clientX-V,J=W.clientY-X;H.moved=Q*Q+J*J>x}H.event(W).zoom("mouse",n(_(H.that.__zoom,H.mouse[0]=Yi(W,z),H.mouse[1]),H.extent,l))}function B(W){U.on("mousemove.zoom mouseup.zoom",null),mF(W.view,H.moved),x0(W),H.event(W).end()}}function O(M,...q){if(e.apply(this,arguments)){var z=this.__zoom,H=Yi(M.changedTouches?M.changedTouches[0]:M,this),U=z.invert(H),K=z.k*(M.shiftKey?.5:2),V=n(_(C(z,K),H,U),r.apply(this,q),l);x0(M),s>0?Ca(this).transition().duration(s).call(R,V,H,M):Ca(this).call(k.transform,V,H,M)}}function j(M,...q){if(e.apply(this,arguments)){var z=M.touches,H=z.length,U=A(this,q,M.changedTouches.length===H).event(M),K,V,X,Z;for(_E(M),V=0;V"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:e=>`Node type "${e}" not found. Using fallback type "default".`,error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:e=>`The old edge with id=${e} does not exist.`,error009:e=>`Marker type "${e}" doesn't exist.`,error008:(e,{id:r,sourceHandle:n,targetHandle:o})=>`Couldn't create edge for ${e} handle id: "${e==="source"?n:o}", edge id: ${r}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:e=>`Edge type "${e}" not found. Using fallback type "default".`,error012:e=>`Node with id "${e}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(e="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${e}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},w0=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],GF=["Enter"," ","Escape"],XF={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:e,x:r,y:n})=>`Moved selected node ${e}. New position, x: ${r}, y: ${n}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var cf;(function(e){e.Strict="strict",e.Loose="loose"})(cf||(cf={}));var Xd;(function(e){e.Free="free",e.Vertical="vertical",e.Horizontal="horizontal"})(Xd||(Xd={}));var k0;(function(e){e.Partial="partial",e.Full="full"})(k0||(k0={}));const KF={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null};var uu;(function(e){e.Bezier="default",e.Straight="straight",e.Step="step",e.SmoothStep="smoothstep",e.SimpleBezier="simplebezier"})(uu||(uu={}));var vx;(function(e){e.Arrow="arrow",e.ArrowClosed="arrowclosed"})(vx||(vx={}));var tt;(function(e){e.Left="left",e.Top="top",e.Right="right",e.Bottom="bottom"})(tt||(tt={}));const ZF={[tt.Left]:tt.Right,[tt.Right]:tt.Left,[tt.Top]:tt.Bottom,[tt.Bottom]:tt.Top};function QF(e){return e===null?null:e?"valid":"invalid"}const JF=e=>"id"in e&&"source"in e&&"target"in e,SCe=e=>"id"in e&&"position"in e&&!("source"in e)&&!("target"in e),EE=e=>"id"in e&&"internals"in e&&!("source"in e)&&!("target"in e),_0=(e,r=[0,0])=>{const{width:n,height:o}=Qn(e),a=e.origin??r,i=n*a[0],l=o*a[1];return{x:e.position.x-i,y:e.position.y-l}},eH=(e,r={nodeOrigin:[0,0]})=>{if(e.length===0)return{x:0,y:0,width:0,height:0};const n=e.reduce((o,a)=>{const i=typeof a=="string";let l=!r.nodeLookup&&!i?a:void 0;r.nodeLookup&&(l=i?r.nodeLookup.get(a):EE(a)?a:r.nodeLookup.get(a.id));const s=l?wx(l,r.nodeOrigin):{x:0,y:0,x2:0,y2:0};return xx(o,s)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return E0(n)},uf=(e,r={})=>{let n={x:1/0,y:1/0,x2:-1/0,y2:-1/0},o=!1;return e.forEach(a=>{(r.filter===void 0||r.filter(a))&&(n=xx(n,wx(a)),o=!0)}),o?E0(n):{x:0,y:0,width:0,height:0}},SE=(e,r,[n,o,a]=[0,0,1],i=!1,l=!1)=>{const s={...T0(r,[n,o,a]),width:r.width/a,height:r.height/a},c=[];for(const u of e.values()){const{measured:d,selectable:p=!0,hidden:f=!1}=u;if(l&&!p||f)continue;const g=d.width??u.width??u.initialWidth??null,b=d.height??u.height??u.initialHeight??null,x=S0(s,Zd(u)),w=(g??0)*(b??0),k=i&&x>0;(!u.internals.handleBounds||k||x>=w||u.dragging)&&c.push(u)}return c},CCe=(e,r)=>{const n=new Set;return e.forEach(o=>{n.add(o.id)}),r.filter(o=>n.has(o.source)||n.has(o.target))};function TCe(e,r){const n=new Map,o=r?.nodes?new Set(r.nodes.map(a=>a.id)):null;return e.forEach(a=>{a.measured.width&&a.measured.height&&(r?.includeHiddenNodes||!a.hidden)&&(!o||o.has(a.id))&&n.set(a.id,a)}),n}async function RCe({nodes:e,width:r,height:n,panZoom:o,minZoom:a,maxZoom:i},l){if(e.size===0)return Promise.resolve(!0);const s=TCe(e,l),c=uf(s),u=du(c,r,n,l?.minZoom??a,l?.maxZoom??i,l?.padding??.1);return await o.setViewport(u,{duration:l?.duration,ease:l?.ease,interpolate:l?.interpolate}),Promise.resolve(!0)}function tH({nodeId:e,nextPosition:r,nodeLookup:n,nodeOrigin:o=[0,0],nodeExtent:a,onError:i}){const l=n.get(e),s=l.parentId?n.get(l.parentId):void 0,{x:c,y:u}=s?s.internals.positionAbsolute:{x:0,y:0},d=l.origin??o;let p=l.extent||a;if(l.extent==="parent"&&!l.expandParent)if(!s)i?.("005",ts.error005());else{const g=s.measured.width,b=s.measured.height;g&&b&&(p=[[c,u],[c+g,u+b]])}else s&&ff(l.extent)&&(p=[[l.extent[0][0]+c,l.extent[0][1]+u],[l.extent[1][0]+c,l.extent[1][1]+u]]);const f=ff(p)?Kd(r,p,l.measured):r;return(l.measured.width===void 0||l.measured.height===void 0)&&i?.("015",ts.error015()),{position:{x:f.x-c+(l.measured.width??0)*d[0],y:f.y-u+(l.measured.height??0)*d[1]},positionAbsolute:f}}async function ACe({nodesToRemove:e=[],edgesToRemove:r=[],nodes:n,edges:o,onBeforeDelete:a}){const i=new Set(e.map(p=>p.id)),l=[];for(const p of n){if(p.deletable===!1)continue;const f=i.has(p.id),g=!f&&p.parentId&&l.find(b=>b.id===p.parentId);(f||g)&&l.push(p)}const s=new Set(r.map(p=>p.id)),c=o.filter(p=>p.deletable!==!1),u=CCe(l,c);for(const p of c)s.has(p.id)&&!u.find(f=>f.id===p.id)&&u.push(p);if(!a)return{edges:u,nodes:l};const d=await a({nodes:l,edges:u});return typeof d=="boolean"?d?{edges:u,nodes:l}:{edges:[],nodes:[]}:d}const df=(e,r=0,n=1)=>Math.min(Math.max(e,r),n),Kd=(e={x:0,y:0},r,n)=>({x:df(e.x,r[0][0],r[1][0]-(n?.width??0)),y:df(e.y,r[0][1],r[1][1]-(n?.height??0))});function rH(e,r,n){const{width:o,height:a}=Qn(n),{x:i,y:l}=n.internals.positionAbsolute;return Kd(e,[[i,l],[i+o,l+a]],r)}const nH=(e,r,n)=>en?-df(Math.abs(e-n),1,r)/r:0,oH=(e,r,n=15,o=40)=>{const a=nH(e.x,o,r.width-o)*n,i=nH(e.y,o,r.height-o)*n;return[a,i]},xx=(e,r)=>({x:Math.min(e.x,r.x),y:Math.min(e.y,r.y),x2:Math.max(e.x2,r.x2),y2:Math.max(e.y2,r.y2)}),CE=({x:e,y:r,width:n,height:o})=>({x:e,y:r,x2:e+n,y2:r+o}),E0=({x:e,y:r,x2:n,y2:o})=>({x:e,y:r,width:n-e,height:o-r}),Zd=(e,r=[0,0])=>{const{x:n,y:o}=EE(e)?e.internals.positionAbsolute:_0(e,r);return{x:n,y:o,width:e.measured?.width??e.width??e.initialWidth??0,height:e.measured?.height??e.height??e.initialHeight??0}},wx=(e,r=[0,0])=>{const{x:n,y:o}=EE(e)?e.internals.positionAbsolute:_0(e,r);return{x:n,y:o,x2:n+(e.measured?.width??e.width??e.initialWidth??0),y2:o+(e.measured?.height??e.height??e.initialHeight??0)}},kx=(e,r)=>E0(xx(CE(e),CE(r))),S0=(e,r)=>{const n=Math.max(0,Math.min(e.x+e.width,r.x+r.width)-Math.max(e.x,r.x)),o=Math.max(0,Math.min(e.y+e.height,r.y+r.height)-Math.max(e.y,r.y));return Math.ceil(n*o)},aH=e=>Xi(e.width)&&Xi(e.height)&&Xi(e.x)&&Xi(e.y),Xi=e=>!isNaN(e)&&isFinite(e),NCe=(e,r)=>{},C0=(e,r=[1,1])=>({x:r[0]*Math.round(e.x/r[0]),y:r[1]*Math.round(e.y/r[1])}),T0=({x:e,y:r},[n,o,a],i=!1,l=[1,1])=>{const s={x:(e-n)/a,y:(r-o)/a};return i?C0(s,l):s},_x=({x:e,y:r},[n,o,a])=>({x:e*a+n,y:r*a+o});function pf(e,r){if(typeof e=="number")return Math.floor((r-r/(1+e))*.5);if(typeof e=="string"&&e.endsWith("px")){const n=parseFloat(e);if(!Number.isNaN(n))return Math.floor(n)}if(typeof e=="string"&&e.endsWith("%")){const n=parseFloat(e);if(!Number.isNaN(n))return Math.floor(r*n*.01)}return console.error(`[React Flow] The padding value "${e}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}function DCe(e,r,n){if(typeof e=="string"||typeof e=="number"){const o=pf(e,n),a=pf(e,r);return{top:o,right:a,bottom:o,left:a,x:a*2,y:o*2}}if(typeof e=="object"){const o=pf(e.top??e.y??0,n),a=pf(e.bottom??e.y??0,n),i=pf(e.left??e.x??0,r),l=pf(e.right??e.x??0,r);return{top:o,right:l,bottom:a,left:i,x:i+l,y:o+a}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function PCe(e,r,n,o,a,i){const{x:l,y:s}=_x(e,[r,n,o]),{x:c,y:u}=_x({x:e.x+e.width,y:e.y+e.height},[r,n,o]),d=a-c,p=i-u;return{left:Math.floor(l),top:Math.floor(s),right:Math.floor(d),bottom:Math.floor(p)}}const du=(e,r,n,o,a,i)=>{const l=DCe(i,r,n),s=(r-l.x)/e.width,c=(n-l.y)/e.height,u=Math.min(s,c),d=df(u,o,a),p=e.x+e.width/2,f=e.y+e.height/2,g=r/2-p*d,b=n/2-f*d,x=PCe(e,g,b,d,r,n),w={left:Math.min(x.left-l.left,0),top:Math.min(x.top-l.top,0),right:Math.min(x.right-l.right,0),bottom:Math.min(x.bottom-l.bottom,0)};return{x:g-w.left+w.right,y:b-w.top+w.bottom,zoom:d}},hf=()=>typeof navigator<"u"&&navigator?.userAgent?.indexOf("Mac")>=0;function ff(e){return e!=null&&e!=="parent"}function Qn(e){return{width:e.measured?.width??e.width??e.initialWidth??0,height:e.measured?.height??e.height??e.initialHeight??0}}function iH(e){return(e.measured?.width??e.width??e.initialWidth)!==void 0&&(e.measured?.height??e.height??e.initialHeight)!==void 0}function lH(e,r={width:0,height:0},n,o,a){const i={...e},l=o.get(n);if(l){const s=l.origin||a;i.x+=l.internals.positionAbsolute.x-(r.width??0)*s[0],i.y+=l.internals.positionAbsolute.y-(r.height??0)*s[1]}return i}function sH(e,r){if(e.size!==r.size)return!1;for(const n of e)if(!r.has(n))return!1;return!0}function $Ce(){let e,r;return{promise:new Promise((n,o)=>{e=n,r=o}),resolve:e,reject:r}}function MCe(e){return{...XF,...e||{}}}function R0(e,{snapGrid:r=[0,0],snapToGrid:n=!1,transform:o,containerBounds:a}){const{x:i,y:l}=Ki(e),s=T0({x:i-(a?.left??0),y:l-(a?.top??0)},o),{x:c,y:u}=n?C0(s,r):s;return{xSnapped:c,ySnapped:u,...s}}const TE=e=>({width:e.offsetWidth,height:e.offsetHeight}),cH=e=>e?.getRootNode?.()||window?.document,OCe=["INPUT","SELECT","TEXTAREA"];function uH(e){const r=e.composedPath?.()?.[0]||e.target;return r?.nodeType!==1?!1:OCe.includes(r.nodeName)||r.hasAttribute("contenteditable")||!!r.closest(".nokey")}const dH=e=>"clientX"in e,Ki=(e,r)=>{const n=dH(e),o=n?e.clientX:e.touches?.[0].clientX,a=n?e.clientY:e.touches?.[0].clientY;return{x:o-(r?.left??0),y:a-(r?.top??0)}},pH=(e,r,n,o,a)=>{const i=r.querySelectorAll(`.${e}`);return!i||!i.length?null:Array.from(i).map(l=>{const s=l.getBoundingClientRect();return{id:l.getAttribute("data-handleid"),type:e,nodeId:a,position:l.getAttribute("data-handlepos"),x:(s.left-n.left)/o,y:(s.top-n.top)/o,...TE(l)}})};function hH({sourceX:e,sourceY:r,targetX:n,targetY:o,sourceControlX:a,sourceControlY:i,targetControlX:l,targetControlY:s}){const c=e*.125+a*.375+l*.375+n*.125,u=r*.125+i*.375+s*.375+o*.125,d=Math.abs(c-e),p=Math.abs(u-r);return[c,u,d,p]}function Ex(e,r){return e>=0?.5*e:r*25*Math.sqrt(-e)}function fH({pos:e,x1:r,y1:n,x2:o,y2:a,c:i}){switch(e){case tt.Left:return[r-Ex(r-o,i),n];case tt.Right:return[r+Ex(o-r,i),n];case tt.Top:return[r,n-Ex(n-a,i)];case tt.Bottom:return[r,n+Ex(a-n,i)]}}function Sx({sourceX:e,sourceY:r,sourcePosition:n=tt.Bottom,targetX:o,targetY:a,targetPosition:i=tt.Top,curvature:l=.25}){const[s,c]=fH({pos:n,x1:e,y1:r,x2:o,y2:a,c:l}),[u,d]=fH({pos:i,x1:o,y1:a,x2:e,y2:r,c:l}),[p,f,g,b]=hH({sourceX:e,sourceY:r,targetX:o,targetY:a,sourceControlX:s,sourceControlY:c,targetControlX:u,targetControlY:d});return[`M${e},${r} C${s},${c} ${u},${d} ${o},${a}`,p,f,g,b]}function mH({sourceX:e,sourceY:r,targetX:n,targetY:o}){const a=Math.abs(n-e)/2,i=n0}const LCe=({source:e,sourceHandle:r,target:n,targetHandle:o})=>`xy-edge__${e}${r||""}-${n}${o||""}`,BCe=(e,r)=>r.some(n=>n.source===e.source&&n.target===e.target&&(n.sourceHandle===e.sourceHandle||!n.sourceHandle&&!e.sourceHandle)&&(n.targetHandle===e.targetHandle||!n.targetHandle&&!e.targetHandle)),jCe=(e,r)=>{if(!e.source||!e.target)return r;let n;return JF(e)?n={...e}:n={...e,id:LCe(e)},BCe(n,r)?r:(n.sourceHandle===null&&delete n.sourceHandle,n.targetHandle===null&&delete n.targetHandle,r.concat(n))};function gH({sourceX:e,sourceY:r,targetX:n,targetY:o}){const[a,i,l,s]=mH({sourceX:e,sourceY:r,targetX:n,targetY:o});return[`M ${e},${r}L ${n},${o}`,a,i,l,s]}const yH={[tt.Left]:{x:-1,y:0},[tt.Right]:{x:1,y:0},[tt.Top]:{x:0,y:-1},[tt.Bottom]:{x:0,y:1}},FCe=({source:e,sourcePosition:r=tt.Bottom,target:n})=>r===tt.Left||r===tt.Right?e.xMath.sqrt(Math.pow(r.x-e.x,2)+Math.pow(r.y-e.y,2));function HCe({source:e,sourcePosition:r=tt.Bottom,target:n,targetPosition:o=tt.Top,center:a,offset:i,stepPosition:l}){const s=yH[r],c=yH[o],u={x:e.x+s.x*i,y:e.y+s.y*i},d={x:n.x+c.x*i,y:n.y+c.y*i},p=FCe({source:u,sourcePosition:r,target:d}),f=p.x!==0?"x":"y",g=p[f];let b=[],x,w;const k={x:0,y:0},C={x:0,y:0},[,,_,T]=mH({sourceX:e.x,sourceY:e.y,targetX:n.x,targetY:n.y});if(s[f]*c[f]===-1){f==="x"?(x=a.x??u.x+(d.x-u.x)*l,w=a.y??(u.y+d.y)/2):(x=a.x??(u.x+d.x)/2,w=a.y??u.y+(d.y-u.y)*l);const R=[{x,y:u.y},{x,y:d.y}],A=[{x:u.x,y:w},{x:d.x,y:w}];s[f]===g?b=f==="x"?R:A:b=f==="x"?A:R}else{const R=[{x:u.x,y:d.y}],A=[{x:d.x,y:u.y}];if(f==="x"?b=s.x===g?A:R:b=s.y===g?R:A,r===o){const j=Math.abs(e[f]-n[f]);if(j<=i){const L=Math.min(i-1,i-j);s[f]===g?k[f]=(u[f]>e[f]?-1:1)*L:C[f]=(d[f]>n[f]?-1:1)*L}}if(r!==o){const j=f==="x"?"y":"x",L=s[f]===c[j],Y=u[j]>d[j],M=u[j]=O?(x=(D.x+N.x)/2,w=b[0].y):(x=b[0].x,w=(D.y+N.y)/2)}return[[e,{x:u.x+k.x,y:u.y+k.y},...b,{x:d.x+C.x,y:d.y+C.y},n],x,w,_,T]}function qCe(e,r,n,o){const a=Math.min(bH(e,r)/2,bH(r,n)/2,o),{x:i,y:l}=r;if(e.x===i&&i===n.x||e.y===l&&l===n.y)return`L${i} ${l}`;if(e.y===l){const u=e.x{let _="";return C>0&&Cn.id===r):e[0])||null}function RE(e,r){return e?typeof e=="string"?e:`${r?`${r}__`:""}${Object.keys(e).sort().map(n=>`${n}=${e[n]}`).join("&")}`:""}function UCe(e,{id:r,defaultColor:n,defaultMarkerStart:o,defaultMarkerEnd:a}){const i=new Set;return e.reduce((l,s)=>([s.markerStart||o,s.markerEnd||a].forEach(c=>{if(c&&typeof c=="object"){const u=RE(c,r);i.has(u)||(l.push({id:u,color:c.color||n,...c}),i.add(u))}}),l),[]).sort((l,s)=>l.id.localeCompare(s.id))}function VCe(e,r,n,o,a){let i=.5;a==="start"?i=0:a==="end"&&(i=1);let l=[(e.x+e.width*i)*r.zoom+r.x,e.y*r.zoom+r.y-o],s=[-100*i,-100];switch(n){case tt.Right:l=[(e.x+e.width)*r.zoom+r.x+o,(e.y+e.height*i)*r.zoom+r.y],s=[0,-100*i];break;case tt.Bottom:l[1]=(e.y+e.height)*r.zoom+r.y+o,s[1]=0;break;case tt.Left:l=[e.x*r.zoom+r.x-o,(e.y+e.height*i)*r.zoom+r.y],s=[-100,-100*i];break}return`translate(${l[0]}px, ${l[1]}px) translate(${s[0]}%, ${s[1]}%)`}const _H=1e3,YCe=10,AE={nodeOrigin:[0,0],nodeExtent:w0,elevateNodesOnSelect:!0,defaults:{}},WCe={...AE,checkEquality:!0};function NE(e,r){const n={...e};for(const o in r)r[o]!==void 0&&(n[o]=r[o]);return n}function GCe(e,r,n){const o=NE(AE,n);for(const a of e.values())if(a.parentId)PE(a,e,r,o);else{const i=_0(a,o.nodeOrigin),l=ff(a.extent)?a.extent:o.nodeExtent,s=Kd(i,l,Qn(a));a.internals.positionAbsolute=s}}function XCe(e,r){if(!e.handles)return e.measured?r?.internals.handleBounds:void 0;const n=[],o=[];for(const a of e.handles){const i={id:a.id,width:a.width??1,height:a.height??1,nodeId:e.id,x:a.x,y:a.y,position:a.position,type:a.type};a.type==="source"?n.push(i):a.type==="target"&&o.push(i)}return{source:n,target:o}}function DE(e,r,n,o){const a=NE(WCe,o);let i={i:-1},l=e.length>0;const s=new Map(r),c=a?.elevateNodesOnSelect?_H:0;r.clear(),n.clear();for(const u of e){let d=s.get(u.id);if(a.checkEquality&&u===d?.internals.userNode)r.set(u.id,d);else{const p=_0(u,a.nodeOrigin),f=ff(u.extent)?u.extent:a.nodeExtent,g=Kd(p,f,Qn(u));d={...a.defaults,...u,measured:{width:u.measured?.width,height:u.measured?.height},internals:{positionAbsolute:g,handleBounds:XCe(u,d),z:EH(u,c),userNode:u}},r.set(u.id,d)}(d.measured===void 0||d.measured.width===void 0||d.measured.height===void 0)&&!d.hidden&&(l=!1),u.parentId&&PE(d,r,n,o,i)}return l}function KCe(e,r){if(!e.parentId)return;const n=r.get(e.parentId);n?n.set(e.id,e):r.set(e.parentId,new Map([[e.id,e]]))}function PE(e,r,n,o,a){const{elevateNodesOnSelect:i,nodeOrigin:l,nodeExtent:s}=NE(AE,o),c=e.parentId,u=r.get(c);if(!u){console.warn(`Parent node ${c} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);return}KCe(e,n),a&&!u.parentId&&u.internals.rootParentIndex===void 0&&(u.internals.rootParentIndex=++a.i,u.internals.z=u.internals.z+a.i*YCe),a&&u.internals.rootParentIndex!==void 0&&(a.i=u.internals.rootParentIndex);const d=i?_H:0,{x:p,y:f,z:g}=ZCe(e,u,l,s,d),{positionAbsolute:b}=e.internals,x=p!==b.x||f!==b.y;(x||g!==e.internals.z)&&r.set(e.id,{...e,internals:{...e.internals,positionAbsolute:x?{x:p,y:f}:b,z:g}})}function EH(e,r){return(Xi(e.zIndex)?e.zIndex:0)+(e.selected?r:0)}function ZCe(e,r,n,o,a){const{x:i,y:l}=r.internals.positionAbsolute,s=Qn(e),c=_0(e,n),u=ff(e.extent)?Kd(c,e.extent,s):c;let d=Kd({x:i+u.x,y:l+u.y},o,s);e.extent==="parent"&&(d=rH(d,s,r));const p=EH(e,a),f=r.internals.z??0;return{x:d.x,y:d.y,z:f>=p?f+1:p}}function $E(e,r,n,o=[0,0]){const a=[],i=new Map;for(const l of e){const s=r.get(l.parentId);if(!s)continue;const c=i.get(l.parentId)?.expandedRect??Zd(s),u=kx(c,l.rect);i.set(l.parentId,{expandedRect:u,parent:s})}return i.size>0&&i.forEach(({expandedRect:l,parent:s},c)=>{const u=s.internals.positionAbsolute,d=Qn(s),p=s.origin??o,f=l.x0||g>0||w||k)&&(a.push({id:c,type:"position",position:{x:s.position.x-f+w,y:s.position.y-g+k}}),n.get(c)?.forEach(C=>{e.some(_=>_.id===C.id)||a.push({id:C.id,type:"position",position:{x:C.position.x+f,y:C.position.y+g}})})),(d.width0){const f=$E(p,r,n,a);c.push(...f)}return{changes:c,updatedInternals:s}}async function JCe({delta:e,panZoom:r,transform:n,translateExtent:o,width:a,height:i}){if(!r||!e.x&&!e.y)return Promise.resolve(!1);const l=await r.setViewportConstrained({x:n[0]+e.x,y:n[1]+e.y,zoom:n[2]},[[0,0],[a,i]],o),s=!!l&&(l.x!==n[0]||l.y!==n[1]||l.k!==n[2]);return Promise.resolve(s)}function SH(e,r,n,o,a,i){let l=a;const s=o.get(l)||new Map;o.set(l,s.set(n,r)),l=`${a}-${e}`;const c=o.get(l)||new Map;if(o.set(l,c.set(n,r)),i){l=`${a}-${e}-${i}`;const u=o.get(l)||new Map;o.set(l,u.set(n,r))}}function CH(e,r,n){e.clear(),r.clear();for(const o of n){const{source:a,target:i,sourceHandle:l=null,targetHandle:s=null}=o,c={edgeId:o.id,source:a,target:i,sourceHandle:l,targetHandle:s},u=`${a}-${l}--${i}-${s}`,d=`${i}-${s}--${a}-${l}`;SH("source",c,d,e,a,l),SH("target",c,u,e,i,s),r.set(o.id,o)}}function TH(e,r){if(!e.parentId)return!1;const n=r.get(e.parentId);return n?n.selected?!0:TH(n,r):!1}function RH(e,r,n){let o=e;do{if(o?.matches?.(r))return!0;if(o===n)return!1;o=o?.parentElement}while(o);return!1}function eTe(e,r,n,o){const a=new Map;for(const[i,l]of e)if((l.selected||l.id===o)&&(!l.parentId||!TH(l,e))&&(l.draggable||r&&typeof l.draggable>"u")){const s=e.get(i);s&&a.set(i,{id:i,position:s.position||{x:0,y:0},distance:{x:n.x-s.internals.positionAbsolute.x,y:n.y-s.internals.positionAbsolute.y},extent:s.extent,parentId:s.parentId,origin:s.origin,expandParent:s.expandParent,internals:{positionAbsolute:s.internals.positionAbsolute||{x:0,y:0}},measured:{width:s.measured.width??0,height:s.measured.height??0}})}return a}function ME({nodeId:e,dragItems:r,nodeLookup:n,dragging:o=!0}){const a=[];for(const[l,s]of r){const c=n.get(l)?.internals.userNode;c&&a.push({...c,position:s.position,dragging:o})}if(!e)return[a[0],a];const i=n.get(e)?.internals.userNode;return[i?{...i,position:r.get(e)?.position||i.position,dragging:o}:a[0],a]}function tTe({dragItems:e,snapGrid:r,x:n,y:o}){const a=e.values().next().value;if(!a)return null;const i={x:n-a.distance.x,y:o-a.distance.y},l=C0(i,r);return{x:l.x-i.x,y:l.y-i.y}}function rTe({onNodeMouseDown:e,getStoreItems:r,onDragStart:n,onDrag:o,onDragStop:a}){let i={x:null,y:null},l=0,s=new Map,c=!1,u={x:0,y:0},d=null,p=!1,f=null,g=!1,b=!1,x=null;function w({noDragClassName:C,handleSelector:_,domNode:T,isSelectable:R,nodeId:A,nodeClickDistance:D=0}){f=Ca(T);function N({x:L,y:Y}){const{nodeLookup:M,nodeExtent:q,snapGrid:z,snapToGrid:H,nodeOrigin:U,onNodeDrag:K,onSelectionDrag:V,onError:X,updateNodePositions:Z}=r();i={x:L,y:Y};let B=!1;const W=s.size>1,Q=W&&q?CE(uf(s)):null,J=W&&H?tTe({dragItems:s,snapGrid:z,x:L,y:Y}):null;for(const[ne,te]of s){if(!M.has(ne))continue;let ee={x:L-te.distance.x,y:Y-te.distance.y};H&&(ee=J?{x:Math.round(ee.x+J.x),y:Math.round(ee.y+J.y)}:C0(ee,z));let pe=null;if(W&&q&&!te.extent&&Q){const{positionAbsolute:de}=te.internals,xe=de.x-Q.x+q[0][0],De=de.x+te.measured.width-Q.x2+q[1][0],Ge=de.y-Q.y+q[0][1],et=de.y+te.measured.height-Q.y2+q[1][1];pe=[[xe,Ge],[De,et]]}const{position:Te,positionAbsolute:ce}=tH({nodeId:ne,nextPosition:ee,nodeLookup:M,nodeExtent:pe||q,nodeOrigin:U,onError:X});B=B||te.position.x!==Te.x||te.position.y!==Te.y,te.position=Te,te.internals.positionAbsolute=ce}if(b=b||B,!!B&&(Z(s,!0),x&&(o||K||!A&&V))){const[ne,te]=ME({nodeId:A,dragItems:s,nodeLookup:M});o?.(x,s,ne,te),K?.(x,ne,te),A||V?.(x,te)}}async function $(){if(!d)return;const{transform:L,panBy:Y,autoPanSpeed:M,autoPanOnNodeDrag:q}=r();if(!q){c=!1,cancelAnimationFrame(l);return}const[z,H]=oH(u,d,M);(z!==0||H!==0)&&(i.x=(i.x??0)-z/L[2],i.y=(i.y??0)-H/L[2],await Y({x:z,y:H})&&N(i)),l=requestAnimationFrame($)}function O(L){const{nodeLookup:Y,multiSelectionActive:M,nodesDraggable:q,transform:z,snapGrid:H,snapToGrid:U,selectNodesOnDrag:K,onNodeDragStart:V,onSelectionDragStart:X,unselectNodesAndEdges:Z}=r();p=!0,(!K||!R)&&!M&&A&&(Y.get(A)?.selected||Z()),R&&K&&A&&e?.(A);const B=R0(L.sourceEvent,{transform:z,snapGrid:H,snapToGrid:U,containerBounds:d});if(i=B,s=eTe(Y,q,B,A),s.size>0&&(n||V||!A&&X)){const[W,Q]=ME({nodeId:A,dragItems:s,nodeLookup:Y});n?.(L.sourceEvent,s,W,Q),V?.(L.sourceEvent,W,Q),A||X?.(L.sourceEvent,Q)}}const j=gF().clickDistance(D).on("start",L=>{const{domNode:Y,nodeDragThreshold:M,transform:q,snapGrid:z,snapToGrid:H}=r();d=Y?.getBoundingClientRect()||null,g=!1,b=!1,x=L.sourceEvent,M===0&&O(L),i=R0(L.sourceEvent,{transform:q,snapGrid:z,snapToGrid:H,containerBounds:d}),u=Ki(L.sourceEvent,d)}).on("drag",L=>{const{autoPanOnNodeDrag:Y,transform:M,snapGrid:q,snapToGrid:z,nodeDragThreshold:H,nodeLookup:U}=r(),K=R0(L.sourceEvent,{transform:M,snapGrid:q,snapToGrid:z,containerBounds:d});if(x=L.sourceEvent,(L.sourceEvent.type==="touchmove"&&L.sourceEvent.touches.length>1||A&&!U.has(A))&&(g=!0),!g){if(!c&&Y&&p&&(c=!0,$()),!p){const V=Ki(L.sourceEvent,d),X=V.x-u.x,Z=V.y-u.y;Math.sqrt(X*X+Z*Z)>H&&O(L)}(i.x!==K.xSnapped||i.y!==K.ySnapped)&&s&&p&&(u=Ki(L.sourceEvent,d),N(K))}}).on("end",L=>{if(!(!p||g)&&(c=!1,p=!1,cancelAnimationFrame(l),s.size>0)){const{nodeLookup:Y,updateNodePositions:M,onNodeDragStop:q,onSelectionDragStop:z}=r();if(b&&(M(s,!1),b=!1),a||q||!A&&z){const[H,U]=ME({nodeId:A,dragItems:s,nodeLookup:Y,dragging:!1});a?.(L.sourceEvent,s,H,U),q?.(L.sourceEvent,H,U),A||z?.(L.sourceEvent,U)}}}).filter(L=>{const Y=L.target;return!L.button&&(!C||!RH(Y,`.${C}`,T))&&(!_||RH(Y,_,T))});f.call(j)}function k(){f?.on(".drag",null)}return{update:w,destroy:k}}function nTe(e,r,n){const o=[],a={x:e.x-n,y:e.y-n,width:n*2,height:n*2};for(const i of r.values())S0(a,Zd(i))>0&&o.push(i);return o}const oTe=250;function aTe(e,r,n,o){let a=[],i=1/0;const l=nTe(e,n,r+oTe);for(const s of l){const c=[...s.internals.handleBounds?.source??[],...s.internals.handleBounds?.target??[]];for(const u of c){if(o.nodeId===u.nodeId&&o.type===u.type&&o.id===u.id)continue;const{x:d,y:p}=A0(s,u,u.position,!0),f=Math.sqrt(Math.pow(d-e.x,2)+Math.pow(p-e.y,2));f>r||(f1){const s=o.type==="source"?"target":"source";return a.find(c=>c.type===s)??a[0]}return a[0]}function AH(e,r,n,o,a,i=!1){const l=o.get(e);if(!l)return null;const s=a==="strict"?l.internals.handleBounds?.[r]:[...l.internals.handleBounds?.source??[],...l.internals.handleBounds?.target??[]],c=(n?s?.find(u=>u.id===n):s?.[0])??null;return c&&i?{...c,...A0(l,c,c.position,!0)}:c}function NH(e,r){return e||(r?.classList.contains("target")?"target":r?.classList.contains("source")?"source":null)}function iTe(e,r){let n=null;return r?n=!0:e&&!r&&(n=!1),n}const DH=()=>!0;function lTe(e,{connectionMode:r,connectionRadius:n,handleId:o,nodeId:a,edgeUpdaterType:i,isTarget:l,domNode:s,nodeLookup:c,lib:u,autoPanOnConnect:d,flowId:p,panBy:f,cancelConnection:g,onConnectStart:b,onConnect:x,onConnectEnd:w,isValidConnection:k=DH,onReconnectEnd:C,updateConnection:_,getTransform:T,getFromHandle:R,autoPanSpeed:A,dragThreshold:D=1,handleDomNode:N}){const $=cH(e.target);let O=0,j;const{x:L,y:Y}=Ki(e),M=NH(i,N),q=s?.getBoundingClientRect();let z=!1;if(!q||!M)return;const H=AH(a,M,o,c,r);if(!H)return;let U=Ki(e,q),K=!1,V=null,X=!1,Z=null;function B(){if(!d||!q)return;const[pe,Te]=oH(U,q,A);f({x:pe,y:Te}),O=requestAnimationFrame(B)}const W={...H,nodeId:a,type:M,position:H.position},Q=c.get(a);let J={inProgress:!0,isValid:null,from:A0(Q,W,tt.Left,!0),fromHandle:W,fromPosition:W.position,fromNode:Q,to:U,toHandle:null,toPosition:ZF[W.position],toNode:null};function ne(){z=!0,_(J),b?.(e,{nodeId:a,handleId:o,handleType:M})}D===0&&ne();function te(pe){if(!z){const{x:xe,y:De}=Ki(pe),Ge=xe-L,et=De-Y;if(!(Ge*Ge+et*et>D*D))return;ne()}if(!R()||!W){ee(pe);return}const Te=T();U=Ki(pe,q),j=aTe(T0(U,Te,!1,[1,1]),n,c,W),K||(B(),K=!0);const ce=PH(pe,{handle:j,connectionMode:r,fromNodeId:a,fromHandleId:o,fromType:l?"target":"source",isValidConnection:k,doc:$,lib:u,flowId:p,nodeLookup:c});Z=ce.handleDomNode,V=ce.connection,X=iTe(!!j,ce.isValid);const de={...J,isValid:X,to:ce.toHandle&&X?_x({x:ce.toHandle.x,y:ce.toHandle.y},Te):U,toHandle:ce.toHandle,toPosition:X&&ce.toHandle?ce.toHandle.position:ZF[W.position],toNode:ce.toHandle?c.get(ce.toHandle.nodeId):null};X&&j&&J.toHandle&&de.toHandle&&J.toHandle.type===de.toHandle.type&&J.toHandle.nodeId===de.toHandle.nodeId&&J.toHandle.id===de.toHandle.id&&J.to.x===de.to.x&&J.to.y===de.to.y||(_(de),J=de)}function ee(pe){if(!("touches"in pe&&pe.touches.length>0)){if(z){(j||Z)&&V&&X&&x?.(V);const{inProgress:Te,...ce}=J,de={...ce,toPosition:J.toHandle?J.toPosition:null};w?.(pe,de),i&&C?.(pe,de)}g(),cancelAnimationFrame(O),K=!1,X=!1,V=null,Z=null,$.removeEventListener("mousemove",te),$.removeEventListener("mouseup",ee),$.removeEventListener("touchmove",te),$.removeEventListener("touchend",ee)}}$.addEventListener("mousemove",te),$.addEventListener("mouseup",ee),$.addEventListener("touchmove",te),$.addEventListener("touchend",ee)}function PH(e,{handle:r,connectionMode:n,fromNodeId:o,fromHandleId:a,fromType:i,doc:l,lib:s,flowId:c,isValidConnection:u=DH,nodeLookup:d}){const p=i==="target",f=r?l.querySelector(`.${s}-flow__handle[data-id="${c}-${r?.nodeId}-${r?.id}-${r?.type}"]`):null,{x:g,y:b}=Ki(e),x=l.elementFromPoint(g,b),w=x?.classList.contains(`${s}-flow__handle`)?x:f,k={handleDomNode:w,isValid:!1,connection:null,toHandle:null};if(w){const C=NH(void 0,w),_=w.getAttribute("data-nodeid"),T=w.getAttribute("data-handleid"),R=w.classList.contains("connectable"),A=w.classList.contains("connectableend");if(!_||!C)return k;const D={source:p?_:o,sourceHandle:p?T:a,target:p?o:_,targetHandle:p?a:T};k.connection=D;const N=R&&A&&(n===cf.Strict?p&&C==="source"||!p&&C==="target":_!==o||T!==a);k.isValid=N&&u(D),k.toHandle=AH(_,C,T,d,n,!0)}return k}const OE={onPointerDown:lTe,isValid:PH};function sTe({domNode:e,panZoom:r,getTransform:n,getViewScale:o}){const a=Ca(e);function i({translateExtent:s,width:c,height:u,zoomStep:d=1,pannable:p=!0,zoomable:f=!0,inversePan:g=!1}){const b=_=>{if(_.sourceEvent.type!=="wheel"||!r)return;const T=n(),R=_.sourceEvent.ctrlKey&&hf()?10:1,A=-_.sourceEvent.deltaY*(_.sourceEvent.deltaMode===1?.05:_.sourceEvent.deltaMode?1:.002)*d,D=T[2]*Math.pow(2,A*R);r.scaleTo(D)};let x=[0,0];const w=_=>{(_.sourceEvent.type==="mousedown"||_.sourceEvent.type==="touchstart")&&(x=[_.sourceEvent.clientX??_.sourceEvent.touches[0].clientX,_.sourceEvent.clientY??_.sourceEvent.touches[0].clientY])},k=_=>{const T=n();if(_.sourceEvent.type!=="mousemove"&&_.sourceEvent.type!=="touchmove"||!r)return;const R=[_.sourceEvent.clientX??_.sourceEvent.touches[0].clientX,_.sourceEvent.clientY??_.sourceEvent.touches[0].clientY],A=[R[0]-x[0],R[1]-x[1]];x=R;const D=o()*Math.max(T[2],Math.log(T[2]))*(g?-1:1),N={x:T[0]-A[0]*D,y:T[1]-A[1]*D},$=[[0,0],[c,u]];r.setViewportConstrained({x:N.x,y:N.y,zoom:T[2]},$,s)},C=WF().on("start",w).on("zoom",p?k:null).on("zoom.wheel",f?b:null);a.call(C,{})}function l(){a.on("zoom",null)}return{update:i,destroy:l,pointer:Yi}}const Tx=e=>({x:e.x,y:e.y,zoom:e.k}),IE=({x:e,y:r,zoom:n})=>bx.translate(e,r).scale(n),mf=(e,r)=>e.target.closest(`.${r}`),$H=(e,r)=>r===2&&Array.isArray(e)&&e.includes(2),cTe=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,zE=(e,r=0,n=cTe,o=()=>{})=>{const a=typeof r=="number"&&r>0;return a||o(),a?e.transition().duration(r).ease(n).on("end",o):e},MH=e=>{const r=e.ctrlKey&&hf()?10:1;return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*r};function uTe({zoomPanValues:e,noWheelClassName:r,d3Selection:n,d3Zoom:o,panOnScrollMode:a,panOnScrollSpeed:i,zoomOnPinch:l,onPanZoomStart:s,onPanZoom:c,onPanZoomEnd:u}){return d=>{if(mf(d,r))return d.ctrlKey&&d.preventDefault(),!1;d.preventDefault(),d.stopImmediatePropagation();const p=n.property("__zoom").k||1;if(d.ctrlKey&&l){const w=Yi(d),k=MH(d),C=p*Math.pow(2,k);o.scaleTo(n,C,w,d);return}const f=d.deltaMode===1?20:1;let g=a===Xd.Vertical?0:d.deltaX*f,b=a===Xd.Horizontal?0:d.deltaY*f;!hf()&&d.shiftKey&&a!==Xd.Vertical&&(g=d.deltaY*f,b=0),o.translateBy(n,-(g/p)*i,-(b/p)*i,{internal:!0});const x=Tx(n.property("__zoom"));clearTimeout(e.panScrollTimeout),e.isPanScrolling?(c?.(d,x),e.panScrollTimeout=setTimeout(()=>{u?.(d,x),e.isPanScrolling=!1},150)):(e.isPanScrolling=!0,s?.(d,x))}}function dTe({noWheelClassName:e,preventScrolling:r,d3ZoomHandler:n}){return function(o,a){const i=o.type==="wheel",l=!r&&i&&!o.ctrlKey,s=mf(o,e);if(o.ctrlKey&&i&&s&&o.preventDefault(),l||s)return null;o.preventDefault(),n.call(this,o,a)}}function pTe({zoomPanValues:e,onDraggingChange:r,onPanZoomStart:n}){return o=>{if(o.sourceEvent?.internal)return;const a=Tx(o.transform);e.mouseButton=o.sourceEvent?.button||0,e.isZoomingOrPanning=!0,e.prevViewport=a,o.sourceEvent?.type==="mousedown"&&r(!0),n&&n?.(o.sourceEvent,a)}}function hTe({zoomPanValues:e,panOnDrag:r,onPaneContextMenu:n,onTransformChange:o,onPanZoom:a}){return i=>{e.usedRightMouseButton=!!(n&&$H(r,e.mouseButton??0)),i.sourceEvent?.sync||o([i.transform.x,i.transform.y,i.transform.k]),a&&!i.sourceEvent?.internal&&a?.(i.sourceEvent,Tx(i.transform))}}function fTe({zoomPanValues:e,panOnDrag:r,panOnScroll:n,onDraggingChange:o,onPanZoomEnd:a,onPaneContextMenu:i}){return l=>{if(!l.sourceEvent?.internal&&(e.isZoomingOrPanning=!1,i&&$H(r,e.mouseButton??0)&&!e.usedRightMouseButton&&l.sourceEvent&&i(l.sourceEvent),e.usedRightMouseButton=!1,o(!1),a)){const s=Tx(l.transform);e.prevViewport=s,clearTimeout(e.timerId),e.timerId=setTimeout(()=>{a?.(l.sourceEvent,s)},n?150:0)}}}function mTe({zoomActivationKeyPressed:e,zoomOnScroll:r,zoomOnPinch:n,panOnDrag:o,panOnScroll:a,zoomOnDoubleClick:i,userSelectionActive:l,noWheelClassName:s,noPanClassName:c,lib:u,connectionInProgress:d}){return p=>{const f=e||r,g=n&&p.ctrlKey,b=p.type==="wheel";if(p.button===1&&p.type==="mousedown"&&(mf(p,`${u}-flow__node`)||mf(p,`${u}-flow__edge`)))return!0;if(!o&&!f&&!a&&!i&&!n||l||d&&!b||mf(p,s)&&b||mf(p,c)&&(!b||a&&b&&!e)||!n&&p.ctrlKey&&b)return!1;if(!n&&p.type==="touchstart"&&p.touches?.length>1)return p.preventDefault(),!1;if(!f&&!a&&!g&&b||!o&&(p.type==="mousedown"||p.type==="touchstart")||Array.isArray(o)&&!o.includes(p.button)&&p.type==="mousedown")return!1;const x=Array.isArray(o)&&o.includes(p.button)||!p.button||p.button<=1;return(!p.ctrlKey||b)&&x}}function gTe({domNode:e,minZoom:r,maxZoom:n,paneClickDistance:o,translateExtent:a,viewport:i,onPanZoom:l,onPanZoomStart:s,onPanZoomEnd:c,onDraggingChange:u}){const d={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},p=e.getBoundingClientRect(),f=WF().clickDistance(!Xi(o)||o<0?0:o).scaleExtent([r,n]).translateExtent(a),g=Ca(e).call(f);_({x:i.x,y:i.y,zoom:df(i.zoom,r,n)},[[0,0],[p.width,p.height]],a);const b=g.on("wheel.zoom"),x=g.on("dblclick.zoom");f.wheelDelta(MH);function w(L,Y){return g?new Promise(M=>{f?.interpolate(Y?.interpolate==="linear"?m0:sx).transform(zE(g,Y?.duration,Y?.ease,()=>M(!0)),L)}):Promise.resolve(!1)}function k({noWheelClassName:L,noPanClassName:Y,onPaneContextMenu:M,userSelectionActive:q,panOnScroll:z,panOnDrag:H,panOnScrollMode:U,panOnScrollSpeed:K,preventScrolling:V,zoomOnPinch:X,zoomOnScroll:Z,zoomOnDoubleClick:B,zoomActivationKeyPressed:W,lib:Q,onTransformChange:J,connectionInProgress:ne}){q&&!d.isZoomingOrPanning&&C();const te=z&&!W&&!q?uTe({zoomPanValues:d,noWheelClassName:L,d3Selection:g,d3Zoom:f,panOnScrollMode:U,panOnScrollSpeed:K,zoomOnPinch:X,onPanZoomStart:s,onPanZoom:l,onPanZoomEnd:c}):dTe({noWheelClassName:L,preventScrolling:V,d3ZoomHandler:b});if(g.on("wheel.zoom",te,{passive:!1}),!q){const pe=pTe({zoomPanValues:d,onDraggingChange:u,onPanZoomStart:s});f.on("start",pe);const Te=hTe({zoomPanValues:d,panOnDrag:H,onPaneContextMenu:!!M,onPanZoom:l,onTransformChange:J});f.on("zoom",Te);const ce=fTe({zoomPanValues:d,panOnDrag:H,panOnScroll:z,onPaneContextMenu:M,onPanZoomEnd:c,onDraggingChange:u});f.on("end",ce)}const ee=mTe({zoomActivationKeyPressed:W,panOnDrag:H,zoomOnScroll:Z,panOnScroll:z,zoomOnDoubleClick:B,zoomOnPinch:X,userSelectionActive:q,noPanClassName:Y,noWheelClassName:L,lib:Q,connectionInProgress:ne});f.filter(ee),B?g.on("dblclick.zoom",x):g.on("dblclick.zoom",null)}function C(){f.on("zoom",null)}async function _(L,Y,M){const q=IE(L),z=f?.constrain()(q,Y,M);return z&&await w(z),new Promise(H=>H(z))}async function T(L,Y){const M=IE(L);return await w(M,Y),new Promise(q=>q(M))}function R(L){if(g){const Y=IE(L),M=g.property("__zoom");(M.k!==L.zoom||M.x!==L.x||M.y!==L.y)&&f?.transform(g,Y,null,{sync:!0})}}function A(){const L=g?VF(g.node()):{x:0,y:0,k:1};return{x:L.x,y:L.y,zoom:L.k}}function D(L,Y){return g?new Promise(M=>{f?.interpolate(Y?.interpolate==="linear"?m0:sx).scaleTo(zE(g,Y?.duration,Y?.ease,()=>M(!0)),L)}):Promise.resolve(!1)}function N(L,Y){return g?new Promise(M=>{f?.interpolate(Y?.interpolate==="linear"?m0:sx).scaleBy(zE(g,Y?.duration,Y?.ease,()=>M(!0)),L)}):Promise.resolve(!1)}function $(L){f?.scaleExtent(L)}function O(L){f?.translateExtent(L)}function j(L){const Y=!Xi(L)||L<0?0:L;f?.clickDistance(Y)}return{update:k,destroy:C,setViewport:T,setViewportConstrained:_,getViewport:A,scaleTo:D,scaleBy:N,setScaleExtent:$,setTranslateExtent:O,syncViewport:R,setClickDistance:j}}var gf;(function(e){e.Line="line",e.Handle="handle"})(gf||(gf={}));function yTe({width:e,prevWidth:r,height:n,prevHeight:o,affectsX:a,affectsY:i}){const l=e-r,s=n-o,c=[l>0?1:l<0?-1:0,s>0?1:s<0?-1:0];return l&&a&&(c[0]=c[0]*-1),s&&i&&(c[1]=c[1]*-1),c}function OH(e){const r=e.includes("right")||e.includes("left"),n=e.includes("bottom")||e.includes("top"),o=e.includes("left"),a=e.includes("top");return{isHorizontal:r,isVertical:n,affectsX:o,affectsY:a}}function pu(e,r){return Math.max(0,r-e)}function hu(e,r){return Math.max(0,e-r)}function Rx(e,r,n){return Math.max(0,r-e,e-n)}function IH(e,r){return e?!r:r}function bTe(e,r,n,o,a,i,l,s){let{affectsX:c,affectsY:u}=r;const{isHorizontal:d,isVertical:p}=r,f=d&&p,{xSnapped:g,ySnapped:b}=n,{minWidth:x,maxWidth:w,minHeight:k,maxHeight:C}=o,{x:_,y:T,width:R,height:A,aspectRatio:D}=e;let N=Math.floor(d?g-e.pointerX:0),$=Math.floor(p?b-e.pointerY:0);const O=R+(c?-N:N),j=A+(u?-$:$),L=-i[0]*R,Y=-i[1]*A;let M=Rx(O,x,w),q=Rx(j,k,C);if(l){let U=0,K=0;c&&N<0?U=pu(_+N+L,l[0][0]):!c&&N>0&&(U=hu(_+O+L,l[1][0])),u&&$<0?K=pu(T+$+Y,l[0][1]):!u&&$>0&&(K=hu(T+j+Y,l[1][1])),M=Math.max(M,U),q=Math.max(q,K)}if(s){let U=0,K=0;c&&N>0?U=hu(_+N,s[0][0]):!c&&N<0&&(U=pu(_+O,s[1][0])),u&&$>0?K=hu(T+$,s[0][1]):!u&&$<0&&(K=pu(T+j,s[1][1])),M=Math.max(M,U),q=Math.max(q,K)}if(a){if(d){const U=Rx(O/D,k,C)*D;if(M=Math.max(M,U),l){let K=0;!c&&!u||c&&!u&&f?K=hu(T+Y+O/D,l[1][1])*D:K=pu(T+Y+(c?N:-N)/D,l[0][1])*D,M=Math.max(M,K)}if(s){let K=0;!c&&!u||c&&!u&&f?K=pu(T+O/D,s[1][1])*D:K=hu(T+(c?N:-N)/D,s[0][1])*D,M=Math.max(M,K)}}if(p){const U=Rx(j*D,x,w)/D;if(q=Math.max(q,U),l){let K=0;!c&&!u||u&&!c&&f?K=hu(_+j*D+L,l[1][0])/D:K=pu(_+(u?$:-$)*D+L,l[0][0])/D,q=Math.max(q,K)}if(s){let K=0;!c&&!u||u&&!c&&f?K=pu(_+j*D,s[1][0])/D:K=hu(_+(u?$:-$)*D,s[0][0])/D,q=Math.max(q,K)}}}$=$+($<0?q:-q),N=N+(N<0?M:-M),a&&(f?O>j*D?$=(IH(c,u)?-N:N)/D:N=(IH(c,u)?-$:$)*D:d?($=N/D,u=c):(N=$*D,c=u));const z=c?_+N:_,H=u?T+$:T;return{width:R+(c?-N:N),height:A+(u?-$:$),x:i[0]*N*(c?-1:1)+z,y:i[1]*$*(u?-1:1)+H}}const zH={width:0,height:0,x:0,y:0},vTe={...zH,pointerX:0,pointerY:0,aspectRatio:1};function xTe(e){return[[0,0],[e.measured.width,e.measured.height]]}function wTe(e,r,n){const o=r.position.x+e.position.x,a=r.position.y+e.position.y,i=e.measured.width??0,l=e.measured.height??0,s=n[0]*i,c=n[1]*l;return[[o-s,a-c],[o+i-s,a+l-c]]}function kTe({domNode:e,nodeId:r,getStoreItems:n,onChange:o,onEnd:a}){const i=Ca(e);let l={controlDirection:OH("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number.MAX_VALUE,maxHeight:Number.MAX_VALUE},resizeDirection:void 0,keepAspectRatio:!1};function s({controlPosition:u,boundaries:d,keepAspectRatio:p,resizeDirection:f,onResizeStart:g,onResize:b,onResizeEnd:x,shouldResize:w}){let k={...zH},C={...vTe};l={boundaries:d,resizeDirection:f,keepAspectRatio:p,controlDirection:OH(u)};let _,T=null,R=[],A,D,N,$=!1;const O=gF().on("start",j=>{const{nodeLookup:L,transform:Y,snapGrid:M,snapToGrid:q,nodeOrigin:z,paneDomNode:H}=n();if(_=L.get(r),!_)return;T=H?.getBoundingClientRect()??null;const{xSnapped:U,ySnapped:K}=R0(j.sourceEvent,{transform:Y,snapGrid:M,snapToGrid:q,containerBounds:T});k={width:_.measured.width??0,height:_.measured.height??0,x:_.position.x??0,y:_.position.y??0},C={...k,pointerX:U,pointerY:K,aspectRatio:k.width/k.height},A=void 0,_.parentId&&(_.extent==="parent"||_.expandParent)&&(A=L.get(_.parentId),D=A&&_.extent==="parent"?xTe(A):void 0),R=[],N=void 0;for(const[V,X]of L)if(X.parentId===r&&(R.push({id:V,position:{...X.position},extent:X.extent}),X.extent==="parent"||X.expandParent)){const Z=wTe(X,_,X.origin??z);N?N=[[Math.min(Z[0][0],N[0][0]),Math.min(Z[0][1],N[0][1])],[Math.max(Z[1][0],N[1][0]),Math.max(Z[1][1],N[1][1])]]:N=Z}g?.(j,{...k})}).on("drag",j=>{const{transform:L,snapGrid:Y,snapToGrid:M,nodeOrigin:q}=n(),z=R0(j.sourceEvent,{transform:L,snapGrid:Y,snapToGrid:M,containerBounds:T}),H=[];if(!_)return;const{x:U,y:K,width:V,height:X}=k,Z={},B=_.origin??q,{width:W,height:Q,x:J,y:ne}=bTe(C,l.controlDirection,z,l.boundaries,l.keepAspectRatio,B,D,N),te=W!==V,ee=Q!==X,pe=J!==U&&te,Te=ne!==K&ⅇif(!pe&&!Te&&!te&&!ee)return;if((pe||Te||B[0]===1||B[1]===1)&&(Z.x=pe?J:k.x,Z.y=Te?ne:k.y,k.x=Z.x,k.y=Z.y,R.length>0)){const xe=J-U,De=ne-K;for(const Ge of R)Ge.position={x:Ge.position.x-xe+B[0]*(W-V),y:Ge.position.y-De+B[1]*(Q-X)},H.push(Ge)}if((te||ee)&&(Z.width=te&&(!l.resizeDirection||l.resizeDirection==="horizontal")?W:k.width,Z.height=ee&&(!l.resizeDirection||l.resizeDirection==="vertical")?Q:k.height,k.width=Z.width,k.height=Z.height),A&&_.expandParent){const xe=B[0]*(Z.width??0);Z.x&&Z.x{$&&(x?.(j,{...k}),a?.({...k}),$=!1)});i.call(O)}function c(){i.on(".drag",null)}return{update:s,destroy:c}}function LE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var LH={exports:{}},BE={},BH={exports:{}},jE={};/** * @license React * use-sync-external-store-shim.production.js * @@ -136,7 +136,7 @@ function w1e(e,r){for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:s;return $E.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,$E}var NH;function DH(){return NH||(NH=1,RH.exports=JCe()),RH.exports}/** + */var jH;function _Te(){if(jH)return jE;jH=1;var e=Qr;function r(p,f){return p===f&&(p!==0||1/p===1/f)||p!==p&&f!==f}var n=typeof Object.is=="function"?Object.is:r,o=e.useState,a=e.useEffect,i=e.useLayoutEffect,l=e.useDebugValue;function s(p,f){var g=f(),b=o({inst:{value:g,getSnapshot:f}}),x=b[0].inst,w=b[1];return i(function(){x.value=g,x.getSnapshot=f,c(x)&&w({inst:x})},[p,g,f]),a(function(){return c(x)&&w({inst:x}),p(function(){c(x)&&w({inst:x})})},[p]),l(g),g}function c(p){var f=p.getSnapshot;p=p.value;try{var g=f();return!n(p,g)}catch{return!0}}function u(p,f){return f()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:s;return jE.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,jE}var FH;function HH(){return FH||(FH=1,BH.exports=_Te()),BH.exports}/** * @license React * use-sync-external-store-shim/with-selector.production.js * @@ -144,18 +144,18 @@ function w1e(e,r){for(var n=0;n{let r;const n=new Set,o=(s,c)=>{const u=typeof s=="function"?s(r):s;if(!Object.is(u,r)){const d=r;r=c??(typeof u!="object"||u===null)?u:Object.assign({},r,u),n.forEach(p=>p(r,d))}},a=()=>r,i={setState:o,getState:a,getInitialState:()=>l,subscribe:s=>(n.add(s),()=>n.delete(s)),destroy:()=>{(nTe?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},l=r=e(o,a,i);return i},oTe=e=>e?OH(e):OH,{useDebugValue:aTe}=Xr,{useSyncExternalStoreWithSelector:iTe}=rTe,lTe=e=>e;function IH(e,r=lTe,n){const o=iTe(e.subscribe,e.getState,e.getServerState||e.getInitialState,r,n);return aTe(o),o}const LH=(e,r)=>{const n=oTe(e),o=(a,i=r)=>IH(n,a,i);return Object.assign(o,n),o},sTe=(e,r)=>e?LH(e,r):LH;function Ar(e,r){if(Object.is(e,r))return!0;if(typeof e!="object"||e===null||typeof r!="object"||r===null)return!1;if(e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(const[o,a]of e)if(!Object.is(a,r.get(o)))return!1;return!0}if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(const o of e)if(!r.has(o))return!1;return!0}const n=Object.keys(e);if(n.length!==Object.keys(r).length)return!1;for(const o of n)if(!Object.prototype.hasOwnProperty.call(r,o)||!Object.is(e[o],r[o]))return!1;return!0}const Cx=E.createContext(null),cTe=Cx.Provider,zH=Ql.error001();function Rt(e,r){const n=E.useContext(Cx);if(n===null)throw new Error(zH);return IH(n,e,r)}function fr(){const e=E.useContext(Cx);if(e===null)throw new Error(zH);return E.useMemo(()=>({getState:e.getState,setState:e.setState,subscribe:e.subscribe}),[e])}const BH={display:"none"},uTe={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},jH="react-flow__node-desc",FH="react-flow__edge-desc",dTe="react-flow__aria-live",pTe=e=>e.ariaLiveMessage,hTe=e=>e.ariaLabelConfig;function fTe({rfId:e}){const r=Rt(pTe);return y.jsx("div",{id:`${dTe}-${e}`,"aria-live":"assertive","aria-atomic":"true",style:uTe,children:r})}function mTe({rfId:e,disableKeyboardA11y:r}){const n=Rt(hTe);return y.jsxs(y.Fragment,{children:[y.jsx("div",{id:`${jH}-${e}`,style:BH,children:r?n["node.a11yDescription.default"]:n["node.a11yDescription.keyboardDisabled"]}),y.jsx("div",{id:`${FH}-${e}`,style:BH,children:n["edge.a11yDescription.default"]}),!r&&y.jsx(fTe,{rfId:e})]})}const ou=E.forwardRef(({position:e="top-left",children:r,className:n,style:o,...a},i)=>{const l=`${e}`.split("-");return y.jsx("div",{className:an(["react-flow__panel",n,...l]),style:o,ref:i,...a,children:r})});ou.displayName="Panel";function gTe({proOptions:e,position:r="bottom-right"}){return e?.hideAttribution?null:y.jsx(ou,{position:r,className:"react-flow__attribution","data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev",children:y.jsx("a",{href:"https://reactflow.dev",target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}const yTe=e=>{const r=[],n=[];for(const[,o]of e.nodeLookup)o.selected&&r.push(o.internals.userNode);for(const[,o]of e.edgeLookup)o.selected&&n.push(o);return{selectedNodes:r,selectedEdges:n}},Tx=e=>e.id;function bTe(e,r){return Ar(e.selectedNodes.map(Tx),r.selectedNodes.map(Tx))&&Ar(e.selectedEdges.map(Tx),r.selectedEdges.map(Tx))}function vTe({onSelectionChange:e}){const r=fr(),{selectedNodes:n,selectedEdges:o}=Rt(yTe,bTe);return E.useEffect(()=>{const a={nodes:n,edges:o};e?.(a),r.getState().onSelectionChangeHandlers.forEach(i=>i(a))},[n,o,e]),null}const xTe=e=>!!e.onSelectionChangeHandlers;function wTe({onSelectionChange:e}){const r=Rt(xTe);return e||r?y.jsx(vTe,{onSelectionChange:e}):null}const HH=[0,0],kTe={x:0,y:0,zoom:1},_Te=["nodes","edges","defaultNodes","defaultEdges","onConnect","onConnectStart","onConnectEnd","onClickConnectStart","onClickConnectEnd","nodesDraggable","autoPanOnNodeFocus","nodesConnectable","nodesFocusable","edgesFocusable","edgesReconnectable","elevateNodesOnSelect","elevateEdgesOnSelect","minZoom","maxZoom","nodeExtent","onNodesChange","onEdgesChange","elementsSelectable","connectionMode","snapGrid","snapToGrid","translateExtent","connectOnClick","defaultEdgeOptions","fitView","fitViewOptions","onNodesDelete","onEdgesDelete","onDelete","onNodeDrag","onNodeDragStart","onNodeDragStop","onSelectionDrag","onSelectionDragStart","onSelectionDragStop","onMoveStart","onMove","onMoveEnd","noPanClassName","nodeOrigin","autoPanOnConnect","autoPanOnNodeDrag","onError","connectionRadius","isValidConnection","selectNodesOnDrag","nodeDragThreshold","connectionDragThreshold","onBeforeDelete","debug","autoPanSpeed","paneClickDistance","ariaLabelConfig"],qH=[..._Te,"rfId"],ETe=e=>({setNodes:e.setNodes,setEdges:e.setEdges,setMinZoom:e.setMinZoom,setMaxZoom:e.setMaxZoom,setTranslateExtent:e.setTranslateExtent,setNodeExtent:e.setNodeExtent,reset:e.reset,setDefaultNodesAndEdges:e.setDefaultNodesAndEdges,setPaneClickDistance:e.setPaneClickDistance}),UH={translateExtent:d0,nodeOrigin:HH,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1",paneClickDistance:0};function STe(e){const{setNodes:r,setEdges:n,setMinZoom:o,setMaxZoom:a,setTranslateExtent:i,setNodeExtent:l,reset:s,setDefaultNodesAndEdges:c,setPaneClickDistance:u}=Rt(ETe,Ar),d=fr();E.useEffect(()=>(c(e.defaultNodes,e.defaultEdges),()=>{p.current=UH,s()}),[]);const p=E.useRef(UH);return E.useEffect(()=>{for(const f of qH){const g=e[f],b=p.current[f];g!==b&&(typeof e[f]>"u"||(f==="nodes"?r(g):f==="edges"?n(g):f==="minZoom"?o(g):f==="maxZoom"?a(g):f==="translateExtent"?i(g):f==="nodeExtent"?l(g):f==="paneClickDistance"?u(g):f==="ariaLabelConfig"?d.setState({ariaLabelConfig:cCe(g)}):f==="fitView"?d.setState({fitViewQueued:g}):f==="fitViewOptions"?d.setState({fitViewOptions:g}):d.setState({[f]:g})))}p.current=e},qH.map(f=>e[f])),null}function VH(){return typeof window>"u"||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function CTe(e){const[r,n]=E.useState(e==="system"?null:e);return E.useEffect(()=>{if(e!=="system"){n(e);return}const o=VH(),a=()=>n(o?.matches?"dark":"light");return a(),o?.addEventListener("change",a),()=>{o?.removeEventListener("change",a)}},[e]),r!==null?r:VH()?.matches?"dark":"light"}const YH=typeof document<"u"?document:null;function x0(e=null,r={target:YH,actInsideInputWithModifier:!0}){const[n,o]=E.useState(!1),a=E.useRef(!1),i=E.useRef(new Set([])),[l,s]=E.useMemo(()=>{if(e!==null){const c=(Array.isArray(e)?e:[e]).filter(d=>typeof d=="string").map(d=>d.replace("+",` + */var qH;function ETe(){if(qH)return BE;qH=1;var e=Qr,r=HH();function n(u,d){return u===d&&(u!==0||1/u===1/d)||u!==u&&d!==d}var o=typeof Object.is=="function"?Object.is:n,a=r.useSyncExternalStore,i=e.useRef,l=e.useEffect,s=e.useMemo,c=e.useDebugValue;return BE.useSyncExternalStoreWithSelector=function(u,d,p,f,g){var b=i(null);if(b.current===null){var x={hasValue:!1,value:null};b.current=x}else x=b.current;b=s(function(){function k(A){if(!C){if(C=!0,_=A,A=f(A),g!==void 0&&x.hasValue){var D=x.value;if(g(D,A))return T=D}return T=A}if(D=T,o(_,A))return D;var N=f(A);return g!==void 0&&g(D,N)?(_=A,D):(_=A,T=N)}var C=!1,_,T,R=p===void 0?null:p;return[function(){return k(d())},R===null?void 0:function(){return k(R())}]},[d,p,f,g]);var w=a(u,b[0],b[1]);return l(function(){x.hasValue=!0,x.value=w},[w]),c(w),w},BE}var UH;function STe(){return UH||(UH=1,LH.exports=ETe()),LH.exports}var VH=STe();const CTe=LE(VH),TTe={},YH=e=>{let r;const n=new Set,o=(s,c)=>{const u=typeof s=="function"?s(r):s;if(!Object.is(u,r)){const d=r;r=c??(typeof u!="object"||u===null)?u:Object.assign({},r,u),n.forEach(p=>p(r,d))}},a=()=>r,i={setState:o,getState:a,getInitialState:()=>l,subscribe:s=>(n.add(s),()=>n.delete(s)),destroy:()=>{(TTe?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},l=r=e(o,a,i);return i},RTe=e=>e?YH(e):YH,{useDebugValue:ATe}=Qr,{useSyncExternalStoreWithSelector:NTe}=CTe,DTe=e=>e;function WH(e,r=DTe,n){const o=NTe(e.subscribe,e.getState,e.getServerState||e.getInitialState,r,n);return ATe(o),o}const GH=(e,r)=>{const n=RTe(e),o=(a,i=r)=>WH(n,a,i);return Object.assign(o,n),o},PTe=(e,r)=>e?GH(e,r):GH;function $r(e,r){if(Object.is(e,r))return!0;if(typeof e!="object"||e===null||typeof r!="object"||r===null)return!1;if(e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(const[o,a]of e)if(!Object.is(a,r.get(o)))return!1;return!0}if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(const o of e)if(!r.has(o))return!1;return!0}const n=Object.keys(e);if(n.length!==Object.keys(r).length)return!1;for(const o of n)if(!Object.prototype.hasOwnProperty.call(r,o)||!Object.is(e[o],r[o]))return!1;return!0}const Ax=S.createContext(null),$Te=Ax.Provider,XH=ts.error001();function At(e,r){const n=S.useContext(Ax);if(n===null)throw new Error(XH);return WH(n,e,r)}function yr(){const e=S.useContext(Ax);if(e===null)throw new Error(XH);return S.useMemo(()=>({getState:e.getState,setState:e.setState,subscribe:e.subscribe}),[e])}const KH={display:"none"},MTe={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},ZH="react-flow__node-desc",QH="react-flow__edge-desc",OTe="react-flow__aria-live",ITe=e=>e.ariaLiveMessage,zTe=e=>e.ariaLabelConfig;function LTe({rfId:e}){const r=At(ITe);return y.jsx("div",{id:`${OTe}-${e}`,"aria-live":"assertive","aria-atomic":"true",style:MTe,children:r})}function BTe({rfId:e,disableKeyboardA11y:r}){const n=At(zTe);return y.jsxs(y.Fragment,{children:[y.jsx("div",{id:`${ZH}-${e}`,style:KH,children:r?n["node.a11yDescription.default"]:n["node.a11yDescription.keyboardDisabled"]}),y.jsx("div",{id:`${QH}-${e}`,style:KH,children:n["edge.a11yDescription.default"]}),!r&&y.jsx(LTe,{rfId:e})]})}const fu=S.forwardRef(({position:e="top-left",children:r,className:n,style:o,...a},i)=>{const l=`${e}`.split("-");return y.jsx("div",{className:dn(["react-flow__panel",n,...l]),style:o,ref:i,...a,children:r})});fu.displayName="Panel";function jTe({proOptions:e,position:r="bottom-right"}){return e?.hideAttribution?null:y.jsx(fu,{position:r,className:"react-flow__attribution","data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev",children:y.jsx("a",{href:"https://reactflow.dev",target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}const FTe=e=>{const r=[],n=[];for(const[,o]of e.nodeLookup)o.selected&&r.push(o.internals.userNode);for(const[,o]of e.edgeLookup)o.selected&&n.push(o);return{selectedNodes:r,selectedEdges:n}},Nx=e=>e.id;function HTe(e,r){return $r(e.selectedNodes.map(Nx),r.selectedNodes.map(Nx))&&$r(e.selectedEdges.map(Nx),r.selectedEdges.map(Nx))}function qTe({onSelectionChange:e}){const r=yr(),{selectedNodes:n,selectedEdges:o}=At(FTe,HTe);return S.useEffect(()=>{const a={nodes:n,edges:o};e?.(a),r.getState().onSelectionChangeHandlers.forEach(i=>i(a))},[n,o,e]),null}const UTe=e=>!!e.onSelectionChangeHandlers;function VTe({onSelectionChange:e}){const r=At(UTe);return e||r?y.jsx(qTe,{onSelectionChange:e}):null}const JH=[0,0],YTe={x:0,y:0,zoom:1},WTe=["nodes","edges","defaultNodes","defaultEdges","onConnect","onConnectStart","onConnectEnd","onClickConnectStart","onClickConnectEnd","nodesDraggable","autoPanOnNodeFocus","nodesConnectable","nodesFocusable","edgesFocusable","edgesReconnectable","elevateNodesOnSelect","elevateEdgesOnSelect","minZoom","maxZoom","nodeExtent","onNodesChange","onEdgesChange","elementsSelectable","connectionMode","snapGrid","snapToGrid","translateExtent","connectOnClick","defaultEdgeOptions","fitView","fitViewOptions","onNodesDelete","onEdgesDelete","onDelete","onNodeDrag","onNodeDragStart","onNodeDragStop","onSelectionDrag","onSelectionDragStart","onSelectionDragStop","onMoveStart","onMove","onMoveEnd","noPanClassName","nodeOrigin","autoPanOnConnect","autoPanOnNodeDrag","onError","connectionRadius","isValidConnection","selectNodesOnDrag","nodeDragThreshold","connectionDragThreshold","onBeforeDelete","debug","autoPanSpeed","paneClickDistance","ariaLabelConfig"],eq=[...WTe,"rfId"],GTe=e=>({setNodes:e.setNodes,setEdges:e.setEdges,setMinZoom:e.setMinZoom,setMaxZoom:e.setMaxZoom,setTranslateExtent:e.setTranslateExtent,setNodeExtent:e.setNodeExtent,reset:e.reset,setDefaultNodesAndEdges:e.setDefaultNodesAndEdges,setPaneClickDistance:e.setPaneClickDistance}),tq={translateExtent:w0,nodeOrigin:JH,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1",paneClickDistance:0};function XTe(e){const{setNodes:r,setEdges:n,setMinZoom:o,setMaxZoom:a,setTranslateExtent:i,setNodeExtent:l,reset:s,setDefaultNodesAndEdges:c,setPaneClickDistance:u}=At(GTe,$r),d=yr();S.useEffect(()=>(c(e.defaultNodes,e.defaultEdges),()=>{p.current=tq,s()}),[]);const p=S.useRef(tq);return S.useEffect(()=>{for(const f of eq){const g=e[f],b=p.current[f];g!==b&&(typeof e[f]>"u"||(f==="nodes"?r(g):f==="edges"?n(g):f==="minZoom"?o(g):f==="maxZoom"?a(g):f==="translateExtent"?i(g):f==="nodeExtent"?l(g):f==="paneClickDistance"?u(g):f==="ariaLabelConfig"?d.setState({ariaLabelConfig:MCe(g)}):f==="fitView"?d.setState({fitViewQueued:g}):f==="fitViewOptions"?d.setState({fitViewOptions:g}):d.setState({[f]:g})))}p.current=e},eq.map(f=>e[f])),null}function rq(){return typeof window>"u"||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function KTe(e){const[r,n]=S.useState(e==="system"?null:e);return S.useEffect(()=>{if(e!=="system"){n(e);return}const o=rq(),a=()=>n(o?.matches?"dark":"light");return a(),o?.addEventListener("change",a),()=>{o?.removeEventListener("change",a)}},[e]),r!==null?r:rq()?.matches?"dark":"light"}const nq=typeof document<"u"?document:null;function N0(e=null,r={target:nq,actInsideInputWithModifier:!0}){const[n,o]=S.useState(!1),a=S.useRef(!1),i=S.useRef(new Set([])),[l,s]=S.useMemo(()=>{if(e!==null){const c=(Array.isArray(e)?e:[e]).filter(d=>typeof d=="string").map(d=>d.replace("+",` `).replace(` `,` +`).split(` -`)),u=c.reduce((d,p)=>d.concat(...p),[]);return[c,u]}return[[],[]]},[e]);return E.useEffect(()=>{const c=r?.target??YH,u=r?.actInsideInputWithModifier??!0;if(e!==null){const d=g=>{if(a.current=g.ctrlKey||g.metaKey||g.shiftKey||g.altKey,(!a.current||a.current&&!u)&&tH(g))return!1;const b=GH(g.code,s);if(i.current.add(g[b]),WH(l,i.current,!1)){const x=g.composedPath?.()?.[0]||g.target,w=x?.nodeName==="BUTTON"||x?.nodeName==="A";r.preventDefault!==!1&&(a.current||!w)&&g.preventDefault(),o(!0)}},p=g=>{const b=GH(g.code,s);WH(l,i.current,!0)?(o(!1),i.current.clear()):i.current.delete(g[b]),g.key==="Meta"&&i.current.clear(),a.current=!1},f=()=>{i.current.clear(),o(!1)};return c?.addEventListener("keydown",d),c?.addEventListener("keyup",p),window.addEventListener("blur",f),window.addEventListener("contextmenu",f),()=>{c?.removeEventListener("keydown",d),c?.removeEventListener("keyup",p),window.removeEventListener("blur",f),window.removeEventListener("contextmenu",f)}}},[e,o]),n}function WH(e,r,n){return e.filter(o=>n||o.length===r.size).some(o=>o.every(a=>r.has(a)))}function GH(e,r){return r.includes(e)?"code":"key"}const TTe=()=>{const e=fr();return E.useMemo(()=>({zoomIn:r=>{const{panZoom:n}=e.getState();return n?n.scaleBy(1.2,{duration:r?.duration}):Promise.resolve(!1)},zoomOut:r=>{const{panZoom:n}=e.getState();return n?n.scaleBy(1/1.2,{duration:r?.duration}):Promise.resolve(!1)},zoomTo:(r,n)=>{const{panZoom:o}=e.getState();return o?o.scaleTo(r,{duration:n?.duration}):Promise.resolve(!1)},getZoom:()=>e.getState().transform[2],setViewport:async(r,n)=>{const{transform:[o,a,i],panZoom:l}=e.getState();return l?(await l.setViewport({x:r.x??o,y:r.y??a,zoom:r.zoom??i},n),Promise.resolve(!0)):Promise.resolve(!1)},getViewport:()=>{const[r,n,o]=e.getState().transform;return{x:r,y:n,zoom:o}},setCenter:async(r,n,o)=>e.getState().setCenter(r,n,o),fitBounds:async(r,n)=>{const{width:o,height:a,minZoom:i,maxZoom:l,panZoom:s}=e.getState(),c=tu(r,o,a,i,l,n?.padding??.1);return s?(await s.setViewport(c,{duration:n?.duration,ease:n?.ease,interpolate:n?.interpolate}),Promise.resolve(!0)):Promise.resolve(!1)},screenToFlowPosition:(r,n={})=>{const{transform:o,snapGrid:a,snapToGrid:i,domNode:l}=e.getState();if(!l)return r;const{x:s,y:c}=l.getBoundingClientRect(),u={x:r.x-s,y:r.y-c},d=n.snapGrid??a,p=n.snapToGrid??i;return y0(u,o,p,d)},flowToScreenPosition:r=>{const{transform:n,domNode:o}=e.getState();if(!o)return r;const{x:a,y:i}=o.getBoundingClientRect(),l=xx(r,n);return{x:l.x+a,y:l.y+i}}}),[])};function XH(e,r){const n=[],o=new Map,a=[];for(const i of e)if(i.type==="add"){a.push(i);continue}else if(i.type==="remove"||i.type==="replace")o.set(i.id,[i]);else{const l=o.get(i.id);l?l.push(i):o.set(i.id,[i])}for(const i of r){const l=o.get(i.id);if(!l){n.push(i);continue}if(l[0].type==="remove")continue;if(l[0].type==="replace"){n.push({...l[0].item});continue}const s={...i};for(const c of l)RTe(c,s);n.push(s)}return a.length&&a.forEach(i=>{i.index!==void 0?n.splice(i.index,0,{...i.item}):n.push({...i.item})}),n}function RTe(e,r){switch(e.type){case"select":{r.selected=e.selected;break}case"position":{typeof e.position<"u"&&(r.position=e.position),typeof e.dragging<"u"&&(r.dragging=e.dragging);break}case"dimensions":{typeof e.dimensions<"u"&&(r.measured??={},r.measured.width=e.dimensions.width,r.measured.height=e.dimensions.height,e.setAttributes&&((e.setAttributes===!0||e.setAttributes==="width")&&(r.width=e.dimensions.width),(e.setAttributes===!0||e.setAttributes==="height")&&(r.height=e.dimensions.height))),typeof e.resizing=="boolean"&&(r.resizing=e.resizing);break}}}function Rx(e,r){return XH(e,r)}function Ax(e,r){return XH(e,r)}function Fd(e,r){return{id:e,type:"select",selected:r}}function cf(e,r=new Set,n=!1){const o=[];for(const[a,i]of e){const l=r.has(a);!(i.selected===void 0&&!l)&&i.selected!==l&&(n&&(i.selected=l),o.push(Fd(i.id,l)))}return o}function KH({items:e=[],lookup:r}){const n=[],o=new Map(e.map(a=>[a.id,a]));for(const[a,i]of e.entries()){const l=r.get(i.id),s=l?.internals?.userNode??l;s!==void 0&&s!==i&&n.push({id:i.id,item:i,type:"replace"}),s===void 0&&n.push({item:i,type:"add",index:a})}for(const[a]of r)o.get(a)===void 0&&n.push({id:a,type:"remove"});return n}function ZH(e){return{id:e.id,type:"remove"}}const QH=e=>eCe(e),ATe=e=>UF(e);function JH(e){return E.forwardRef(e)}const NTe=typeof window<"u"?E.useLayoutEffect:E.useEffect;function eq(e){const[r,n]=E.useState(BigInt(0)),[o]=E.useState(()=>DTe(()=>n(a=>a+BigInt(1))));return NTe(()=>{const a=o.get();a.length&&(e(a),o.reset())},[r]),o}function DTe(e){let r=[];return{get:()=>r,reset:()=>{r=[]},push:n=>{r.push(n),e()}}}const tq=E.createContext(null);function PTe({children:e}){const r=fr(),n=E.useCallback(s=>{const{nodes:c=[],setNodes:u,hasDefaultNodes:d,onNodesChange:p,nodeLookup:f,fitViewQueued:g}=r.getState();let b=c;for(const w of s)b=typeof w=="function"?w(b):w;const x=KH({items:b,lookup:f});d&&u(b),x.length>0?p?.(x):g&&window.requestAnimationFrame(()=>{const{fitViewQueued:w,nodes:k,setNodes:C}=r.getState();w&&C(k)})},[]),o=eq(n),a=E.useCallback(s=>{const{edges:c=[],setEdges:u,hasDefaultEdges:d,onEdgesChange:p,edgeLookup:f}=r.getState();let g=c;for(const b of s)g=typeof b=="function"?b(g):b;d?u(g):p&&p(KH({items:g,lookup:f}))},[]),i=eq(a),l=E.useMemo(()=>({nodeQueue:o,edgeQueue:i}),[]);return y.jsx(tq.Provider,{value:l,children:e})}function $Te(){const e=E.useContext(tq);if(!e)throw new Error("useBatchContext must be used within a BatchProvider");return e}const MTe=e=>!!e.panZoom;function uf(){const e=TTe(),r=fr(),n=$Te(),o=Rt(MTe),a=E.useMemo(()=>{const i=p=>r.getState().nodeLookup.get(p),l=p=>{n.nodeQueue.push(p)},s=p=>{n.edgeQueue.push(p)},c=p=>{const{nodeLookup:f,nodeOrigin:g}=r.getState(),b=QH(p)?p:f.get(p.id),x=b.parentId?QF(b.position,b.measured,b.parentId,f,g):b.position,w={...b,position:x,width:b.measured?.width??b.width,height:b.measured?.height??b.height};return jd(w)},u=(p,f,g={replace:!1})=>{l(b=>b.map(x=>{if(x.id===p){const w=typeof f=="function"?f(x):f;return g.replace&&QH(w)?w:{...x,...w}}return x}))},d=(p,f,g={replace:!1})=>{s(b=>b.map(x=>{if(x.id===p){const w=typeof f=="function"?f(x):f;return g.replace&&ATe(w)?w:{...x,...w}}return x}))};return{getNodes:()=>r.getState().nodes.map(p=>({...p})),getNode:p=>i(p)?.internals.userNode,getInternalNode:i,getEdges:()=>{const{edges:p=[]}=r.getState();return p.map(f=>({...f}))},getEdge:p=>r.getState().edgeLookup.get(p),setNodes:l,setEdges:s,addNodes:p=>{const f=Array.isArray(p)?p:[p];n.nodeQueue.push(g=>[...g,...f])},addEdges:p=>{const f=Array.isArray(p)?p:[p];n.edgeQueue.push(g=>[...g,...f])},toObject:()=>{const{nodes:p=[],edges:f=[],transform:g}=r.getState(),[b,x,w]=g;return{nodes:p.map(k=>({...k})),edges:f.map(k=>({...k})),viewport:{x:b,y:x,zoom:w}}},deleteElements:async({nodes:p=[],edges:f=[]})=>{const{nodes:g,edges:b,onNodesDelete:x,onEdgesDelete:w,triggerNodeChanges:k,triggerEdgeChanges:C,onDelete:_,onBeforeDelete:T}=r.getState(),{nodes:R,edges:A}=await oCe({nodesToRemove:p,edgesToRemove:f,nodes:g,edges:b,onBeforeDelete:T}),D=A.length>0,N=R.length>0;if(D){const $=A.map(ZH);w?.(A),C($)}if(N){const $=R.map(ZH);x?.(R),k($)}return(N||D)&&_?.({nodes:R,edges:A}),{deletedNodes:R,deletedEdges:A}},getIntersectingNodes:(p,f=!0,g)=>{const b=KF(p),x=b?p:c(p),w=g!==void 0;return x?(g||r.getState().nodes).filter(k=>{const C=r.getState().nodeLookup.get(k.id);if(C&&!b&&(k.id===p.id||!C.internals.positionAbsolute))return!1;const _=jd(w?k:C),T=m0(_,x);return f&&T>0||T>=_.width*_.height||T>=x.width*x.height}):[]},isNodeIntersecting:(p,f,g=!0)=>{const b=KF(p)?p:c(p);if(!b)return!1;const x=m0(b,f);return g&&x>0||x>=f.width*f.height||x>=b.width*b.height},updateNode:u,updateNodeData:(p,f,g={replace:!1})=>{u(p,b=>{const x=typeof f=="function"?f(b):f;return g.replace?{...b,data:x}:{...b,data:{...b.data,...x}}},g)},updateEdge:d,updateEdgeData:(p,f,g={replace:!1})=>{d(p,b=>{const x=typeof f=="function"?f(b):f;return g.replace?{...b,data:x}:{...b,data:{...b.data,...x}}},g)},getNodesBounds:p=>{const{nodeLookup:f,nodeOrigin:g}=r.getState();return VF(p,{nodeLookup:f,nodeOrigin:g})},getHandleConnections:({type:p,id:f,nodeId:g})=>Array.from(r.getState().connectionLookup.get(`${g}-${p}${f?`-${f}`:""}`)?.values()??[]),getNodeConnections:({type:p,handleId:f,nodeId:g})=>Array.from(r.getState().connectionLookup.get(`${g}${p?f?`-${p}-${f}`:`-${p}`:""}`)?.values()??[]),fitView:async p=>{const f=r.getState().fitViewResolver??sCe();return r.setState({fitViewQueued:!0,fitViewOptions:p,fitViewResolver:f}),n.nodeQueue.push(g=>[...g]),f.promise}}},[]);return E.useMemo(()=>({...a,...e,viewportInitialized:o}),[o])}const rq=e=>e.selected,OTe=typeof window<"u"?window:void 0;function ITe({deleteKeyCode:e,multiSelectionKeyCode:r}){const n=fr(),{deleteElements:o}=uf(),a=x0(e,{actInsideInputWithModifier:!1}),i=x0(r,{target:OTe});E.useEffect(()=>{if(a){const{edges:l,nodes:s}=n.getState();o({nodes:s.filter(rq),edges:l.filter(rq)}),n.setState({nodesSelectionActive:!1})}},[a]),E.useEffect(()=>{n.setState({multiSelectionActive:i})},[i])}function LTe(e){const r=fr();E.useEffect(()=>{const n=()=>{if(!e.current||!(e.current.checkVisibility?.()??!0))return!1;const o=xE(e.current);(o.height===0||o.width===0)&&r.getState().onError?.("004",Ql.error004()),r.setState({width:o.width||500,height:o.height||500})};if(e.current){n(),window.addEventListener("resize",n);const o=new ResizeObserver(()=>n());return o.observe(e.current),()=>{window.removeEventListener("resize",n),o&&e.current&&o.unobserve(e.current)}}},[])}const Nx={position:"absolute",width:"100%",height:"100%",top:0,left:0},zTe=e=>({userSelectionActive:e.userSelectionActive,lib:e.lib,connectionInProgress:e.connection.inProgress});function BTe({onPaneContextMenu:e,zoomOnScroll:r=!0,zoomOnPinch:n=!0,panOnScroll:o=!1,panOnScrollSpeed:a=.5,panOnScrollMode:i=zd.Free,zoomOnDoubleClick:l=!0,panOnDrag:s=!0,defaultViewport:c,translateExtent:u,minZoom:d,maxZoom:p,zoomActivationKeyCode:f,preventScrolling:g=!0,children:b,noWheelClassName:x,noPanClassName:w,onViewportChange:k,isControlledViewport:C,paneClickDistance:_}){const T=fr(),R=E.useRef(null),{userSelectionActive:A,lib:D,connectionInProgress:N}=Rt(zTe,Ar),$=x0(f),M=E.useRef();LTe(R);const j=E.useCallback(L=>{k?.({x:L[0],y:L[1],zoom:L[2]}),C||T.setState({transform:L})},[k,C]);return E.useEffect(()=>{if(R.current){M.current=VCe({domNode:R.current,minZoom:d,maxZoom:p,translateExtent:u,viewport:c,paneClickDistance:_,onDraggingChange:U=>T.setState({paneDragging:U}),onPanZoomStart:(U,I)=>{const{onViewportChangeStart:q,onMoveStart:V}=T.getState();V?.(U,I),q?.(I)},onPanZoom:(U,I)=>{const{onViewportChange:q,onMove:V}=T.getState();V?.(U,I),q?.(I)},onPanZoomEnd:(U,I)=>{const{onViewportChangeEnd:q,onMoveEnd:V}=T.getState();V?.(U,I),q?.(I)}});const{x:L,y:Y,zoom:O}=M.current.getViewport();return T.setState({panZoom:M.current,transform:[L,Y,O],domNode:R.current.closest(".react-flow")}),()=>{M.current?.destroy()}}},[]),E.useEffect(()=>{M.current?.update({onPaneContextMenu:e,zoomOnScroll:r,zoomOnPinch:n,panOnScroll:o,panOnScrollSpeed:a,panOnScrollMode:i,zoomOnDoubleClick:l,panOnDrag:s,zoomActivationKeyPressed:$,preventScrolling:g,noPanClassName:w,userSelectionActive:A,noWheelClassName:x,lib:D,onTransformChange:j,connectionInProgress:N})},[e,r,n,o,a,i,l,s,$,g,w,A,x,D,j,N]),y.jsx("div",{className:"react-flow__renderer",ref:R,style:Nx,children:b})}const jTe=e=>({userSelectionActive:e.userSelectionActive,userSelectionRect:e.userSelectionRect});function FTe(){const{userSelectionActive:e,userSelectionRect:r}=Rt(jTe,Ar);return e&&r?y.jsx("div",{className:"react-flow__selection react-flow__container",style:{width:r.width,height:r.height,transform:`translate(${r.x}px, ${r.y}px)`}}):null}const ME=(e,r)=>n=>{n.target===r.current&&e?.(n)},HTe=e=>({userSelectionActive:e.userSelectionActive,elementsSelectable:e.elementsSelectable,connectionInProgress:e.connection.inProgress,dragging:e.paneDragging});function qTe({isSelecting:e,selectionKeyPressed:r,selectionMode:n=p0.Full,panOnDrag:o,selectionOnDrag:a,onSelectionStart:i,onSelectionEnd:l,onPaneClick:s,onPaneContextMenu:c,onPaneScroll:u,onPaneMouseEnter:d,onPaneMouseMove:p,onPaneMouseLeave:f,children:g}){const b=fr(),{userSelectionActive:x,elementsSelectable:w,dragging:k,connectionInProgress:C}=Rt(HTe,Ar),_=w&&(e||x),T=E.useRef(null),R=E.useRef(),A=E.useRef(new Set),D=E.useRef(new Set),N=E.useRef(!1),$=E.useRef(!1),M=q=>{if(N.current||C){N.current=!1;return}s?.(q),b.getState().resetSelectedElements(),b.setState({nodesSelectionActive:!1})},j=q=>{if(Array.isArray(o)&&o?.includes(2)){q.preventDefault();return}c?.(q)},L=u?q=>u(q):void 0,Y=q=>{const{resetSelectedElements:V,domNode:G}=b.getState();if(R.current=G?.getBoundingClientRect(),!w||!e||q.button!==0||q.target!==T.current||!R.current)return;q.target?.setPointerCapture?.(q.pointerId),$.current=!0,N.current=!1;const{x:F,y:J}=Gi(q.nativeEvent,R.current);V(),b.setState({userSelectionRect:{width:0,height:0,startX:F,startY:J,x:F,y:J}}),i?.(q)},O=q=>{const{userSelectionRect:V,transform:G,nodeLookup:F,edgeLookup:J,connectionLookup:Q,triggerNodeChanges:z,triggerEdgeChanges:W,defaultEdgeOptions:X}=b.getState();if(!R.current||!V)return;N.current=!0;const{x:Z,y:oe}=Gi(q.nativeEvent,R.current),{startX:ee,startY:re}=V,pe={startX:ee,startY:re,x:Zbe.id)),D.current=new Set;const de=X?.selectable??!0;for(const be of A.current){const Oe=Q.get(be);if(Oe)for(const{edgeId:Xe}of Oe.values()){const Ge=J.get(Xe);Ge&&(Ge.selectable??de)&&D.current.add(Xe)}}if(!JF(Ce,A.current)){const be=cf(F,A.current,!0);z(be)}if(!JF(ce,D.current)){const be=cf(J,D.current);W(be)}b.setState({userSelectionRect:pe,userSelectionActive:!0,nodesSelectionActive:!1})},U=q=>{if(q.button!==0||!$.current)return;q.target?.releasePointerCapture?.(q.pointerId);const{userSelectionRect:V}=b.getState();!x&&V&&q.target===T.current&&M?.(q),b.setState({userSelectionActive:!1,userSelectionRect:null,nodesSelectionActive:A.current.size>0}),l?.(q),(r||a)&&(N.current=!1),$.current=!1},I=o===!0||Array.isArray(o)&&o.includes(0);return y.jsxs("div",{className:an(["react-flow__pane",{draggable:I,dragging:k,selection:e}]),onClick:_?void 0:ME(M,T),onContextMenu:ME(j,T),onWheel:ME(L,T),onPointerEnter:_?void 0:d,onPointerDown:_?Y:p,onPointerMove:_?O:p,onPointerUp:_?U:void 0,onPointerLeave:f,ref:T,style:Nx,children:[g,y.jsx(FTe,{})]})}function OE({id:e,store:r,unselect:n=!1,nodeRef:o}){const{addSelectedNodes:a,unselectNodesAndEdges:i,multiSelectionActive:l,nodeLookup:s,onError:c}=r.getState(),u=s.get(e);if(!u){c?.("012",Ql.error012(e));return}r.setState({nodesSelectionActive:!1}),u.selected?(n||u.selected&&l)&&(i({nodes:[u],edges:[]}),requestAnimationFrame(()=>o?.current?.blur())):a([e])}function nq({nodeRef:e,disabled:r=!1,noDragClassName:n,handleSelector:o,nodeId:a,isSelectable:i,nodeClickDistance:l}){const s=fr(),[c,u]=E.useState(!1),d=E.useRef();return E.useEffect(()=>{d.current=NCe({getStoreItems:()=>s.getState(),onNodeMouseDown:p=>{OE({id:p,store:s,nodeRef:e})},onDragStart:()=>{u(!0)},onDragStop:()=>{u(!1)}})},[]),E.useEffect(()=>{if(r)d.current?.destroy();else if(e.current)return d.current?.update({noDragClassName:n,handleSelector:o,domNode:e.current,isSelectable:i,nodeId:a,nodeClickDistance:l}),()=>{d.current?.destroy()}},[n,o,r,i,e,a]),c}const UTe=e=>r=>r.selected&&(r.draggable||e&&typeof r.draggable>"u");function oq(){const e=fr();return E.useCallback(r=>{const{nodeExtent:n,snapToGrid:o,snapGrid:a,nodesDraggable:i,onError:l,updateNodePositions:s,nodeLookup:c,nodeOrigin:u}=e.getState(),d=new Map,p=UTe(i),f=o?a[0]:5,g=o?a[1]:5,b=r.direction.x*f*r.factor,x=r.direction.y*g*r.factor;for(const[,w]of c){if(!p(w))continue;let k={x:w.internals.positionAbsolute.x+b,y:w.internals.positionAbsolute.y+x};o&&(k=g0(k,a));const{position:C,positionAbsolute:_}=YF({nodeId:w.id,nextPosition:k,nodeLookup:c,nodeExtent:n,nodeOrigin:u,onError:l});w.position=C,w.internals.positionAbsolute=_,d.set(w.id,w)}s(d)},[])}const IE=E.createContext(null),VTe=IE.Provider;IE.Consumer;const LE=()=>E.useContext(IE),YTe=e=>({connectOnClick:e.connectOnClick,noPanClassName:e.noPanClassName,rfId:e.rfId}),WTe=(e,r,n)=>o=>{const{connectionClickStartHandle:a,connectionMode:i,connection:l}=o,{fromHandle:s,toHandle:c,isValid:u}=l,d=c?.nodeId===e&&c?.id===r&&c?.type===n;return{connectingFrom:s?.nodeId===e&&s?.id===r&&s?.type===n,connectingTo:d,clickConnecting:a?.nodeId===e&&a?.id===r&&a?.type===n,isPossibleEndHandle:i===ef.Strict?s?.type!==n:e!==s?.nodeId||r!==s?.id,connectionInProcess:!!s,clickConnectionInProcess:!!a,valid:d&&u}};function GTe({type:e="source",position:r=tt.Top,isValidConnection:n,isConnectable:o=!0,isConnectableStart:a=!0,isConnectableEnd:i=!0,id:l,onConnect:s,children:c,className:u,onMouseDown:d,onTouchStart:p,...f},g){const b=l||null,x=e==="target",w=fr(),k=LE(),{connectOnClick:C,noPanClassName:_,rfId:T}=Rt(YTe,Ar),{connectingFrom:R,connectingTo:A,clickConnecting:D,isPossibleEndHandle:N,connectionInProcess:$,clickConnectionInProcess:M,valid:j}=Rt(WTe(k,b,e),Ar);k||w.getState().onError?.("010",Ql.error010());const L=U=>{const{defaultEdgeOptions:I,onConnect:q,hasDefaultEdges:V}=w.getState(),G={...I,...U};if(V){const{edges:F,setEdges:J}=w.getState();J(mCe(G,F))}q?.(G),s?.(G)},Y=U=>{if(!k)return;const I=rH(U.nativeEvent);if(a&&(I&&U.button===0||!I)){const q=w.getState();RE.onPointerDown(U.nativeEvent,{handleDomNode:U.currentTarget,autoPanOnConnect:q.autoPanOnConnect,connectionMode:q.connectionMode,connectionRadius:q.connectionRadius,domNode:q.domNode,nodeLookup:q.nodeLookup,lib:q.lib,isTarget:x,handleId:b,nodeId:k,flowId:q.rfId,panBy:q.panBy,cancelConnection:q.cancelConnection,onConnectStart:q.onConnectStart,onConnectEnd:q.onConnectEnd,updateConnection:q.updateConnection,onConnect:L,isValidConnection:n||q.isValidConnection,getTransform:()=>w.getState().transform,getFromHandle:()=>w.getState().connection.fromHandle,autoPanSpeed:q.autoPanSpeed,dragThreshold:q.connectionDragThreshold})}I?d?.(U):p?.(U)},O=U=>{const{onClickConnectStart:I,onClickConnectEnd:q,connectionClickStartHandle:V,connectionMode:G,isValidConnection:F,lib:J,rfId:Q,nodeLookup:z,connection:W}=w.getState();if(!k||!V&&!a)return;if(!V){I?.(U.nativeEvent,{nodeId:k,handleId:b,handleType:e}),w.setState({connectionClickStartHandle:{nodeId:k,type:e,id:b}});return}const X=eH(U.target),Z=n||F,{connection:oe,isValid:ee}=RE.isValid(U.nativeEvent,{handle:{nodeId:k,id:b,type:e},connectionMode:G,fromNodeId:V.nodeId,fromHandleId:V.id||null,fromType:V.type,isValidConnection:Z,flowId:Q,doc:X,lib:J,nodeLookup:z});ee&&oe&&L(oe);const re=structuredClone(W);delete re.inProgress,re.toPosition=re.toHandle?re.toHandle.position:null,q?.(U,re),w.setState({connectionClickStartHandle:null})};return y.jsx("div",{"data-handleid":b,"data-nodeid":k,"data-handlepos":r,"data-id":`${T}-${k}-${b}-${e}`,className:an(["react-flow__handle",`react-flow__handle-${r}`,"nodrag",_,u,{source:!x,target:x,connectable:o,connectablestart:a,connectableend:i,clickconnecting:D,connectingfrom:R,connectingto:A,valid:j,connectionindicator:o&&(!$||N)&&($||M?i:a)}]),onMouseDown:Y,onTouchStart:Y,onClick:C?O:void 0,ref:g,...f,children:c})}const uo=E.memo(JH(GTe));function XTe({data:e,isConnectable:r,sourcePosition:n=tt.Bottom}){return y.jsxs(y.Fragment,{children:[e?.label,y.jsx(uo,{type:"source",position:n,isConnectable:r})]})}function KTe({data:e,isConnectable:r,targetPosition:n=tt.Top,sourcePosition:o=tt.Bottom}){return y.jsxs(y.Fragment,{children:[y.jsx(uo,{type:"target",position:n,isConnectable:r}),e?.label,y.jsx(uo,{type:"source",position:o,isConnectable:r})]})}function ZTe(){return null}function QTe({data:e,isConnectable:r,targetPosition:n=tt.Top}){return y.jsxs(y.Fragment,{children:[y.jsx(uo,{type:"target",position:n,isConnectable:r}),e?.label]})}const Dx={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},aq={input:XTe,default:KTe,output:QTe,group:ZTe};function JTe(e){return e.internals.handleBounds===void 0?{width:e.width??e.initialWidth??e.style?.width,height:e.height??e.initialHeight??e.style?.height}:{width:e.width??e.style?.width,height:e.height??e.style?.height}}const eRe=e=>{const{width:r,height:n,x:o,y:a}=tf(e.nodeLookup,{filter:i=>!!i.selected});return{width:Wi(r)?r:null,height:Wi(n)?n:null,userSelectionActive:e.userSelectionActive,transformString:`translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]}) translate(${o}px,${a}px)`}};function tRe({onSelectionContextMenu:e,noPanClassName:r,disableKeyboardA11y:n}){const o=fr(),{width:a,height:i,transformString:l,userSelectionActive:s}=Rt(eRe,Ar),c=oq(),u=E.useRef(null);if(E.useEffect(()=>{n||u.current?.focus({preventScroll:!0})},[n]),nq({nodeRef:u}),s||!a||!i)return null;const d=e?f=>{const g=o.getState().nodes.filter(b=>b.selected);e(f,g)}:void 0,p=f=>{Object.prototype.hasOwnProperty.call(Dx,f.key)&&(f.preventDefault(),c({direction:Dx[f.key],factor:f.shiftKey?4:1}))};return y.jsx("div",{className:an(["react-flow__nodesselection","react-flow__container",r]),style:{transform:l},children:y.jsx("div",{ref:u,className:"react-flow__nodesselection-rect",onContextMenu:d,tabIndex:n?void 0:-1,onKeyDown:n?void 0:p,style:{width:a,height:i}})})}const iq=typeof window<"u"?window:void 0,rRe=e=>({nodesSelectionActive:e.nodesSelectionActive,userSelectionActive:e.userSelectionActive});function lq({children:e,onPaneClick:r,onPaneMouseEnter:n,onPaneMouseMove:o,onPaneMouseLeave:a,onPaneContextMenu:i,onPaneScroll:l,paneClickDistance:s,deleteKeyCode:c,selectionKeyCode:u,selectionOnDrag:d,selectionMode:p,onSelectionStart:f,onSelectionEnd:g,multiSelectionKeyCode:b,panActivationKeyCode:x,zoomActivationKeyCode:w,elementsSelectable:k,zoomOnScroll:C,zoomOnPinch:_,panOnScroll:T,panOnScrollSpeed:R,panOnScrollMode:A,zoomOnDoubleClick:D,panOnDrag:N,defaultViewport:$,translateExtent:M,minZoom:j,maxZoom:L,preventScrolling:Y,onSelectionContextMenu:O,noWheelClassName:U,noPanClassName:I,disableKeyboardA11y:q,onViewportChange:V,isControlledViewport:G}){const{nodesSelectionActive:F,userSelectionActive:J}=Rt(rRe),Q=x0(u,{target:iq}),z=x0(x,{target:iq}),W=z||N,X=z||T,Z=d&&W!==!0,oe=Q||J||Z;return ITe({deleteKeyCode:c,multiSelectionKeyCode:b}),y.jsx(BTe,{onPaneContextMenu:i,elementsSelectable:k,zoomOnScroll:C,zoomOnPinch:_,panOnScroll:X,panOnScrollSpeed:R,panOnScrollMode:A,zoomOnDoubleClick:D,panOnDrag:!Q&&W,defaultViewport:$,translateExtent:M,minZoom:j,maxZoom:L,zoomActivationKeyCode:w,preventScrolling:Y,noWheelClassName:U,noPanClassName:I,onViewportChange:V,isControlledViewport:G,paneClickDistance:s,children:y.jsxs(qTe,{onSelectionStart:f,onSelectionEnd:g,onPaneClick:r,onPaneMouseEnter:n,onPaneMouseMove:o,onPaneMouseLeave:a,onPaneContextMenu:i,onPaneScroll:l,panOnDrag:W,isSelecting:!!oe,selectionMode:p,selectionKeyPressed:Q,selectionOnDrag:Z,children:[e,F&&y.jsx(tRe,{onSelectionContextMenu:O,noPanClassName:I,disableKeyboardA11y:q})]})})}lq.displayName="FlowRenderer";const nRe=E.memo(lq),oRe=e=>r=>e?bE(r.nodeLookup,{x:0,y:0,width:r.width,height:r.height},r.transform,!0).map(n=>n.id):Array.from(r.nodeLookup.keys());function aRe(e){return Rt(E.useCallback(oRe(e),[e]),Ar)}const iRe=e=>e.updateNodeInternals;function lRe(){const e=Rt(iRe),[r]=E.useState(()=>typeof ResizeObserver>"u"?null:new ResizeObserver(n=>{const o=new Map;n.forEach(a=>{const i=a.target.getAttribute("data-id");o.set(i,{id:i,nodeElement:a.target,force:!0})}),e(o)}));return E.useEffect(()=>()=>{r?.disconnect()},[r]),r}function sRe({node:e,nodeType:r,hasDimensions:n,resizeObserver:o}){const a=fr(),i=E.useRef(null),l=E.useRef(null),s=E.useRef(e.sourcePosition),c=E.useRef(e.targetPosition),u=E.useRef(r),d=n&&!!e.internals.handleBounds;return E.useEffect(()=>{i.current&&!e.hidden&&(!d||l.current!==i.current)&&(l.current&&o?.unobserve(l.current),o?.observe(i.current),l.current=i.current)},[d,e.hidden]),E.useEffect(()=>()=>{l.current&&(o?.unobserve(l.current),l.current=null)},[]),E.useEffect(()=>{if(i.current){const p=u.current!==r,f=s.current!==e.sourcePosition,g=c.current!==e.targetPosition;(p||f||g)&&(u.current=r,s.current=e.sourcePosition,c.current=e.targetPosition,a.getState().updateNodeInternals(new Map([[e.id,{id:e.id,nodeElement:i.current,force:!0}]])))}},[e.id,r,e.sourcePosition,e.targetPosition]),i}function cRe({id:e,onClick:r,onMouseEnter:n,onMouseMove:o,onMouseLeave:a,onContextMenu:i,onDoubleClick:l,nodesDraggable:s,elementsSelectable:c,nodesConnectable:u,nodesFocusable:d,resizeObserver:p,noDragClassName:f,noPanClassName:g,disableKeyboardA11y:b,rfId:x,nodeTypes:w,nodeClickDistance:k,onError:C}){const{node:_,internals:T,isParent:R}=Rt(ee=>{const re=ee.nodeLookup.get(e),pe=ee.parentLookup.has(e);return{node:re,internals:re.internals,isParent:pe}},Ar);let A=_.type||"default",D=w?.[A]||aq[A];D===void 0&&(C?.("003",Ql.error003(A)),A="default",D=w?.default||aq.default);const N=!!(_.draggable||s&&typeof _.draggable>"u"),$=!!(_.selectable||c&&typeof _.selectable>"u"),M=!!(_.connectable||u&&typeof _.connectable>"u"),j=!!(_.focusable||d&&typeof _.focusable>"u"),L=fr(),Y=ZF(_),O=sRe({node:_,nodeType:A,hasDimensions:Y,resizeObserver:p}),U=nq({nodeRef:O,disabled:_.hidden||!N,noDragClassName:f,handleSelector:_.dragHandle,nodeId:e,isSelectable:$,nodeClickDistance:k}),I=oq();if(_.hidden)return null;const q=Wn(_),V=JTe(_),G=$||N||r||n||o||a,F=n?ee=>n(ee,{...T.userNode}):void 0,J=o?ee=>o(ee,{...T.userNode}):void 0,Q=a?ee=>a(ee,{...T.userNode}):void 0,z=i?ee=>i(ee,{...T.userNode}):void 0,W=l?ee=>l(ee,{...T.userNode}):void 0,X=ee=>{const{selectNodesOnDrag:re,nodeDragThreshold:pe}=L.getState();$&&(!re||!N||pe>0)&&OE({id:e,store:L,nodeRef:O}),r&&r(ee,{...T.userNode})},Z=ee=>{if(!(tH(ee.nativeEvent)||b)){if(BF.includes(ee.key)&&$){const re=ee.key==="Escape";OE({id:e,store:L,unselect:re,nodeRef:O})}else if(N&&_.selected&&Object.prototype.hasOwnProperty.call(Dx,ee.key)){ee.preventDefault();const{ariaLabelConfig:re}=L.getState();L.setState({ariaLiveMessage:re["node.a11yDescription.ariaLiveMessage"]({direction:ee.key.replace("Arrow","").toLowerCase(),x:~~T.positionAbsolute.x,y:~~T.positionAbsolute.y})}),I({direction:Dx[ee.key],factor:ee.shiftKey?4:1})}}},oe=()=>{if(b||!O.current?.matches(":focus-visible"))return;const{transform:ee,width:re,height:pe,autoPanOnNodeFocus:Ce,setCenter:ce}=L.getState();Ce&&(bE(new Map([[e,_]]),{x:0,y:0,width:re,height:pe},ee,!0).length>0||ce(_.position.x+q.width/2,_.position.y+q.height/2,{zoom:ee[2]}))};return y.jsx("div",{className:an(["react-flow__node",`react-flow__node-${A}`,{[g]:N},_.className,{selected:_.selected,selectable:$,parent:R,draggable:N,dragging:U}]),ref:O,style:{zIndex:T.z,transform:`translate(${T.positionAbsolute.x}px,${T.positionAbsolute.y}px)`,pointerEvents:G?"all":"none",visibility:Y?"visible":"hidden",..._.style,...V},"data-id":e,"data-testid":`rf__node-${e}`,onMouseEnter:F,onMouseMove:J,onMouseLeave:Q,onContextMenu:z,onClick:X,onDoubleClick:W,onKeyDown:j?Z:void 0,tabIndex:j?0:void 0,onFocus:j?oe:void 0,role:_.ariaRole??(j?"group":void 0),"aria-roledescription":"node","aria-describedby":b?void 0:`${jH}-${x}`,"aria-label":_.ariaLabel,..._.domAttributes,children:y.jsx(VTe,{value:e,children:y.jsx(D,{id:e,data:_.data,type:A,positionAbsoluteX:T.positionAbsolute.x,positionAbsoluteY:T.positionAbsolute.y,selected:_.selected??!1,selectable:$,draggable:N,deletable:_.deletable??!0,isConnectable:M,sourcePosition:_.sourcePosition,targetPosition:_.targetPosition,dragging:U,dragHandle:_.dragHandle,zIndex:T.z,parentId:_.parentId,...q})})})}const uRe=e=>({nodesDraggable:e.nodesDraggable,nodesConnectable:e.nodesConnectable,nodesFocusable:e.nodesFocusable,elementsSelectable:e.elementsSelectable,onError:e.onError});function sq(e){const{nodesDraggable:r,nodesConnectable:n,nodesFocusable:o,elementsSelectable:a,onError:i}=Rt(uRe,Ar),l=aRe(e.onlyRenderVisibleElements),s=lRe();return y.jsx("div",{className:"react-flow__nodes",style:Nx,children:l.map(c=>y.jsx(cRe,{id:c,nodeTypes:e.nodeTypes,nodeExtent:e.nodeExtent,onClick:e.onNodeClick,onMouseEnter:e.onNodeMouseEnter,onMouseMove:e.onNodeMouseMove,onMouseLeave:e.onNodeMouseLeave,onContextMenu:e.onNodeContextMenu,onDoubleClick:e.onNodeDoubleClick,noDragClassName:e.noDragClassName,noPanClassName:e.noPanClassName,rfId:e.rfId,disableKeyboardA11y:e.disableKeyboardA11y,resizeObserver:s,nodesDraggable:r,nodesConnectable:n,nodesFocusable:o,elementsSelectable:a,nodeClickDistance:e.nodeClickDistance,onError:i},c))})}sq.displayName="NodeRenderer";const dRe=E.memo(sq);function pRe(e){return Rt(E.useCallback(r=>{if(!e)return r.edges.map(o=>o.id);const n=[];if(r.width&&r.height)for(const o of r.edges){const a=r.nodeLookup.get(o.source),i=r.nodeLookup.get(o.target);a&&i&&pCe({sourceNode:a,targetNode:i,width:r.width,height:r.height,transform:r.transform})&&n.push(o.id)}return n},[e]),Ar)}const hRe=({color:e="none",strokeWidth:r=1})=>{const n={strokeWidth:r,...e&&{stroke:e}};return y.jsx("polyline",{className:"arrow",style:n,strokeLinecap:"round",fill:"none",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4"})},fRe=({color:e="none",strokeWidth:r=1})=>{const n={strokeWidth:r,...e&&{stroke:e,fill:e}};return y.jsx("polyline",{className:"arrowclosed",style:n,strokeLinecap:"round",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4 -5,-4"})},cq={[gx.Arrow]:hRe,[gx.ArrowClosed]:fRe};function mRe(e){const r=fr();return E.useMemo(()=>Object.prototype.hasOwnProperty.call(cq,e)?cq[e]:(r.getState().onError?.("009",Ql.error009(e)),null),[e])}const gRe=({id:e,type:r,color:n,width:o=12.5,height:a=12.5,markerUnits:i="strokeWidth",strokeWidth:l,orient:s="auto-start-reverse"})=>{const c=mRe(r);return c?y.jsx("marker",{className:"react-flow__arrowhead",id:e,markerWidth:`${o}`,markerHeight:`${a}`,viewBox:"-10 -10 20 20",markerUnits:i,orient:s,refX:"0",refY:"0",children:y.jsx(c,{color:n,strokeWidth:l})}):null},uq=({defaultColor:e,rfId:r})=>{const n=Rt(i=>i.edges),o=Rt(i=>i.defaultEdgeOptions),a=E.useMemo(()=>vCe(n,{id:r,defaultColor:e,defaultMarkerStart:o?.markerStart,defaultMarkerEnd:o?.markerEnd}),[n,o,r,e]);return a.length?y.jsx("svg",{className:"react-flow__marker","aria-hidden":"true",children:y.jsx("defs",{children:a.map(i=>y.jsx(gRe,{id:i.id,type:i.type,color:i.color,width:i.width,height:i.height,markerUnits:i.markerUnits,strokeWidth:i.strokeWidth,orient:i.orient},i.id))})}):null};uq.displayName="MarkerDefinitions";var yRe=E.memo(uq);function dq({x:e,y:r,label:n,labelStyle:o,labelShowBg:a=!0,labelBgStyle:i,labelBgPadding:l=[2,4],labelBgBorderRadius:s=2,children:c,className:u,...d}){const[p,f]=E.useState({x:1,y:0,width:0,height:0}),g=an(["react-flow__edge-textwrapper",u]),b=E.useRef(null);return E.useEffect(()=>{if(b.current){const x=b.current.getBBox();f({x:x.x,y:x.y,width:x.width,height:x.height})}},[n]),n?y.jsxs("g",{transform:`translate(${e-p.width/2} ${r-p.height/2})`,className:g,visibility:p.width?"visible":"hidden",...d,children:[a&&y.jsx("rect",{width:p.width+2*l[0],x:-l[0],y:-l[1],height:p.height+2*l[1],className:"react-flow__edge-textbg",style:i,rx:s,ry:s}),y.jsx("text",{className:"react-flow__edge-text",y:p.height/2,dy:"0.3em",ref:b,style:o,children:n}),c]}):null}dq.displayName="EdgeText";const bRe=E.memo(dq);function Px({path:e,labelX:r,labelY:n,label:o,labelStyle:a,labelShowBg:i,labelBgStyle:l,labelBgPadding:s,labelBgBorderRadius:c,interactionWidth:u=20,...d}){return y.jsxs(y.Fragment,{children:[y.jsx("path",{...d,d:e,fill:"none",className:an(["react-flow__edge-path",d.className])}),u?y.jsx("path",{d:e,fill:"none",strokeOpacity:0,strokeWidth:u,className:"react-flow__edge-interaction"}):null,o&&Wi(r)&&Wi(n)?y.jsx(bRe,{x:r,y:n,label:o,labelStyle:a,labelShowBg:i,labelBgStyle:l,labelBgPadding:s,labelBgBorderRadius:c}):null]})}function pq({pos:e,x1:r,y1:n,x2:o,y2:a}){return e===tt.Left||e===tt.Right?[.5*(r+o),n]:[r,.5*(n+a)]}function hq({sourceX:e,sourceY:r,sourcePosition:n=tt.Bottom,targetX:o,targetY:a,targetPosition:i=tt.Top}){const[l,s]=pq({pos:n,x1:e,y1:r,x2:o,y2:a}),[c,u]=pq({pos:i,x1:o,y1:a,x2:e,y2:r}),[d,p,f,g]=oH({sourceX:e,sourceY:r,targetX:o,targetY:a,sourceControlX:l,sourceControlY:s,targetControlX:c,targetControlY:u});return[`M${e},${r} C${l},${s} ${c},${u} ${o},${a}`,d,p,f,g]}function fq(e){return E.memo(({id:r,sourceX:n,sourceY:o,targetX:a,targetY:i,sourcePosition:l,targetPosition:s,label:c,labelStyle:u,labelShowBg:d,labelBgStyle:p,labelBgPadding:f,labelBgBorderRadius:g,style:b,markerEnd:x,markerStart:w,interactionWidth:k})=>{const[C,_,T]=hq({sourceX:n,sourceY:o,sourcePosition:l,targetX:a,targetY:i,targetPosition:s}),R=e.isInternal?void 0:r;return y.jsx(Px,{id:R,path:C,labelX:_,labelY:T,label:c,labelStyle:u,labelShowBg:d,labelBgStyle:p,labelBgPadding:f,labelBgBorderRadius:g,style:b,markerEnd:x,markerStart:w,interactionWidth:k})})}const vRe=fq({isInternal:!1}),mq=fq({isInternal:!0});vRe.displayName="SimpleBezierEdge",mq.displayName="SimpleBezierEdgeInternal";function gq(e){return E.memo(({id:r,sourceX:n,sourceY:o,targetX:a,targetY:i,label:l,labelStyle:s,labelShowBg:c,labelBgStyle:u,labelBgPadding:d,labelBgBorderRadius:p,style:f,sourcePosition:g=tt.Bottom,targetPosition:b=tt.Top,markerEnd:x,markerStart:w,pathOptions:k,interactionWidth:C})=>{const[_,T,R]=_x({sourceX:n,sourceY:o,sourcePosition:g,targetX:a,targetY:i,targetPosition:b,borderRadius:k?.borderRadius,offset:k?.offset,stepPosition:k?.stepPosition}),A=e.isInternal?void 0:r;return y.jsx(Px,{id:A,path:_,labelX:T,labelY:R,label:l,labelStyle:s,labelShowBg:c,labelBgStyle:u,labelBgPadding:d,labelBgBorderRadius:p,style:f,markerEnd:x,markerStart:w,interactionWidth:C})})}const yq=gq({isInternal:!1}),bq=gq({isInternal:!0});yq.displayName="SmoothStepEdge",bq.displayName="SmoothStepEdgeInternal";function vq(e){return E.memo(({id:r,...n})=>{const o=e.isInternal?void 0:r;return y.jsx(yq,{...n,id:o,pathOptions:E.useMemo(()=>({borderRadius:0,offset:n.pathOptions?.offset}),[n.pathOptions?.offset])})})}const xRe=vq({isInternal:!1}),xq=vq({isInternal:!0});xRe.displayName="StepEdge",xq.displayName="StepEdgeInternal";function wq(e){return E.memo(({id:r,sourceX:n,sourceY:o,targetX:a,targetY:i,label:l,labelStyle:s,labelShowBg:c,labelBgStyle:u,labelBgPadding:d,labelBgBorderRadius:p,style:f,markerEnd:g,markerStart:b,interactionWidth:x})=>{const[w,k,C]=lH({sourceX:n,sourceY:o,targetX:a,targetY:i}),_=e.isInternal?void 0:r;return y.jsx(Px,{id:_,path:w,labelX:k,labelY:C,label:l,labelStyle:s,labelShowBg:c,labelBgStyle:u,labelBgPadding:d,labelBgBorderRadius:p,style:f,markerEnd:g,markerStart:b,interactionWidth:x})})}const wRe=wq({isInternal:!1}),kq=wq({isInternal:!0});wRe.displayName="StraightEdge",kq.displayName="StraightEdgeInternal";function _q(e){return E.memo(({id:r,sourceX:n,sourceY:o,targetX:a,targetY:i,sourcePosition:l=tt.Bottom,targetPosition:s=tt.Top,label:c,labelStyle:u,labelShowBg:d,labelBgStyle:p,labelBgPadding:f,labelBgBorderRadius:g,style:b,markerEnd:x,markerStart:w,pathOptions:k,interactionWidth:C})=>{const[_,T,R]=kx({sourceX:n,sourceY:o,sourcePosition:l,targetX:a,targetY:i,targetPosition:s,curvature:k?.curvature}),A=e.isInternal?void 0:r;return y.jsx(Px,{id:A,path:_,labelX:T,labelY:R,label:c,labelStyle:u,labelShowBg:d,labelBgStyle:p,labelBgPadding:f,labelBgBorderRadius:g,style:b,markerEnd:x,markerStart:w,interactionWidth:C})})}const kRe=_q({isInternal:!1}),Eq=_q({isInternal:!0});kRe.displayName="BezierEdge",Eq.displayName="BezierEdgeInternal";const Sq={default:Eq,straight:kq,step:xq,smoothstep:bq,simplebezier:mq},Cq={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},_Re=(e,r,n)=>n===tt.Left?e-r:n===tt.Right?e+r:e,ERe=(e,r,n)=>n===tt.Top?e-r:n===tt.Bottom?e+r:e,Tq="react-flow__edgeupdater";function Rq({position:e,centerX:r,centerY:n,radius:o=10,onMouseDown:a,onMouseEnter:i,onMouseOut:l,type:s}){return y.jsx("circle",{onMouseDown:a,onMouseEnter:i,onMouseOut:l,className:an([Tq,`${Tq}-${s}`]),cx:_Re(r,o,e),cy:ERe(n,o,e),r:o,stroke:"transparent",fill:"transparent"})}function SRe({isReconnectable:e,reconnectRadius:r,edge:n,sourceX:o,sourceY:a,targetX:i,targetY:l,sourcePosition:s,targetPosition:c,onReconnect:u,onReconnectStart:d,onReconnectEnd:p,setReconnecting:f,setUpdateHover:g}){const b=fr(),x=(T,R)=>{if(T.button!==0)return;const{autoPanOnConnect:A,domNode:D,isValidConnection:N,connectionMode:$,connectionRadius:M,lib:j,onConnectStart:L,onConnectEnd:Y,cancelConnection:O,nodeLookup:U,rfId:I,panBy:q,updateConnection:V}=b.getState(),G=R.type==="target",F=(z,W)=>{f(!1),p?.(z,n,R.type,W)},J=z=>u?.(n,z),Q=(z,W)=>{f(!0),d?.(T,n,R.type),L?.(z,W)};RE.onPointerDown(T.nativeEvent,{autoPanOnConnect:A,connectionMode:$,connectionRadius:M,domNode:D,handleId:R.id,nodeId:R.nodeId,nodeLookup:U,isTarget:G,edgeUpdaterType:R.type,lib:j,flowId:I,cancelConnection:O,panBy:q,isValidConnection:N,onConnect:J,onConnectStart:Q,onConnectEnd:Y,onReconnectEnd:F,updateConnection:V,getTransform:()=>b.getState().transform,getFromHandle:()=>b.getState().connection.fromHandle,dragThreshold:b.getState().connectionDragThreshold,handleDomNode:T.currentTarget})},w=T=>x(T,{nodeId:n.target,id:n.targetHandle??null,type:"target"}),k=T=>x(T,{nodeId:n.source,id:n.sourceHandle??null,type:"source"}),C=()=>g(!0),_=()=>g(!1);return y.jsxs(y.Fragment,{children:[(e===!0||e==="source")&&y.jsx(Rq,{position:s,centerX:o,centerY:a,radius:r,onMouseDown:w,onMouseEnter:C,onMouseOut:_,type:"source"}),(e===!0||e==="target")&&y.jsx(Rq,{position:c,centerX:i,centerY:l,radius:r,onMouseDown:k,onMouseEnter:C,onMouseOut:_,type:"target"})]})}function CRe({id:e,edgesFocusable:r,edgesReconnectable:n,elementsSelectable:o,onClick:a,onDoubleClick:i,onContextMenu:l,onMouseEnter:s,onMouseMove:c,onMouseLeave:u,reconnectRadius:d,onReconnect:p,onReconnectStart:f,onReconnectEnd:g,rfId:b,edgeTypes:x,noPanClassName:w,onError:k,disableKeyboardA11y:C}){let _=Rt(ce=>ce.edgeLookup.get(e));const T=Rt(ce=>ce.defaultEdgeOptions);_=T?{...T,..._}:_;let R=_.type||"default",A=x?.[R]||Sq[R];A===void 0&&(k?.("011",Ql.error011(R)),R="default",A=x?.default||Sq.default);const D=!!(_.focusable||r&&typeof _.focusable>"u"),N=typeof p<"u"&&(_.reconnectable||n&&typeof _.reconnectable>"u"),$=!!(_.selectable||o&&typeof _.selectable>"u"),M=E.useRef(null),[j,L]=E.useState(!1),[Y,O]=E.useState(!1),U=fr(),{zIndex:I,sourceX:q,sourceY:V,targetX:G,targetY:F,sourcePosition:J,targetPosition:Q}=Rt(E.useCallback(ce=>{const de=ce.nodeLookup.get(_.source),be=ce.nodeLookup.get(_.target);if(!de||!be)return{zIndex:_.zIndex,...Cq};const Oe=dH({id:e,sourceNode:de,targetNode:be,sourceHandle:_.sourceHandle||null,targetHandle:_.targetHandle||null,connectionMode:ce.connectionMode,onError:k});return{zIndex:dCe({selected:_.selected,zIndex:_.zIndex,sourceNode:de,targetNode:be,elevateOnSelect:ce.elevateEdgesOnSelect}),...Oe||Cq}},[_.source,_.target,_.sourceHandle,_.targetHandle,_.selected,_.zIndex]),Ar),z=E.useMemo(()=>_.markerStart?`url('#${wE(_.markerStart,b)}')`:void 0,[_.markerStart,b]),W=E.useMemo(()=>_.markerEnd?`url('#${wE(_.markerEnd,b)}')`:void 0,[_.markerEnd,b]);if(_.hidden||q===null||V===null||G===null||F===null)return null;const X=ce=>{const{addSelectedEdges:de,unselectNodesAndEdges:be,multiSelectionActive:Oe}=U.getState();$&&(U.setState({nodesSelectionActive:!1}),_.selected&&Oe?(be({nodes:[],edges:[_]}),M.current?.blur()):de([e])),a&&a(ce,_)},Z=i?ce=>{i(ce,{..._})}:void 0,oe=l?ce=>{l(ce,{..._})}:void 0,ee=s?ce=>{s(ce,{..._})}:void 0,re=c?ce=>{c(ce,{..._})}:void 0,pe=u?ce=>{u(ce,{..._})}:void 0,Ce=ce=>{if(!C&&BF.includes(ce.key)&&$){const{unselectNodesAndEdges:de,addSelectedEdges:be}=U.getState();ce.key==="Escape"?(M.current?.blur(),de({edges:[_]})):be([e])}};return y.jsx("svg",{style:{zIndex:I},children:y.jsxs("g",{className:an(["react-flow__edge",`react-flow__edge-${R}`,_.className,w,{selected:_.selected,animated:_.animated,inactive:!$&&!a,updating:j,selectable:$}]),onClick:X,onDoubleClick:Z,onContextMenu:oe,onMouseEnter:ee,onMouseMove:re,onMouseLeave:pe,onKeyDown:D?Ce:void 0,tabIndex:D?0:void 0,role:_.ariaRole??(D?"group":"img"),"aria-roledescription":"edge","data-id":e,"data-testid":`rf__edge-${e}`,"aria-label":_.ariaLabel===null?void 0:_.ariaLabel||`Edge from ${_.source} to ${_.target}`,"aria-describedby":D?`${FH}-${b}`:void 0,ref:M,..._.domAttributes,children:[!Y&&y.jsx(A,{id:e,source:_.source,target:_.target,type:_.type,selected:_.selected,animated:_.animated,selectable:$,deletable:_.deletable??!0,label:_.label,labelStyle:_.labelStyle,labelShowBg:_.labelShowBg,labelBgStyle:_.labelBgStyle,labelBgPadding:_.labelBgPadding,labelBgBorderRadius:_.labelBgBorderRadius,sourceX:q,sourceY:V,targetX:G,targetY:F,sourcePosition:J,targetPosition:Q,data:_.data,style:_.style,sourceHandleId:_.sourceHandle,targetHandleId:_.targetHandle,markerStart:z,markerEnd:W,pathOptions:"pathOptions"in _?_.pathOptions:void 0,interactionWidth:_.interactionWidth}),N&&y.jsx(SRe,{edge:_,isReconnectable:N,reconnectRadius:d,onReconnect:p,onReconnectStart:f,onReconnectEnd:g,sourceX:q,sourceY:V,targetX:G,targetY:F,sourcePosition:J,targetPosition:Q,setUpdateHover:L,setReconnecting:O})]})})}const TRe=e=>({edgesFocusable:e.edgesFocusable,edgesReconnectable:e.edgesReconnectable,elementsSelectable:e.elementsSelectable,connectionMode:e.connectionMode,onError:e.onError});function Aq({defaultMarkerColor:e,onlyRenderVisibleElements:r,rfId:n,edgeTypes:o,noPanClassName:a,onReconnect:i,onEdgeContextMenu:l,onEdgeMouseEnter:s,onEdgeMouseMove:c,onEdgeMouseLeave:u,onEdgeClick:d,reconnectRadius:p,onEdgeDoubleClick:f,onReconnectStart:g,onReconnectEnd:b,disableKeyboardA11y:x}){const{edgesFocusable:w,edgesReconnectable:k,elementsSelectable:C,onError:_}=Rt(TRe,Ar),T=pRe(r);return y.jsxs("div",{className:"react-flow__edges",children:[y.jsx(yRe,{defaultColor:e,rfId:n}),T.map(R=>y.jsx(CRe,{id:R,edgesFocusable:w,edgesReconnectable:k,elementsSelectable:C,noPanClassName:a,onReconnect:i,onContextMenu:l,onMouseEnter:s,onMouseMove:c,onMouseLeave:u,onClick:d,reconnectRadius:p,onDoubleClick:f,onReconnectStart:g,onReconnectEnd:b,rfId:n,onError:_,edgeTypes:o,disableKeyboardA11y:x},R))]})}Aq.displayName="EdgeRenderer";const RRe=E.memo(Aq),ARe=e=>`translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`;function NRe({children:e}){const r=Rt(ARe);return y.jsx("div",{className:"react-flow__viewport xyflow__viewport react-flow__container",style:{transform:r},children:e})}function DRe(e){const r=uf(),n=E.useRef(!1);E.useEffect(()=>{!n.current&&r.viewportInitialized&&e&&(setTimeout(()=>e(r),1),n.current=!0)},[e,r.viewportInitialized])}const PRe=e=>e.panZoom?.syncViewport;function $Re(e){const r=Rt(PRe),n=fr();return E.useEffect(()=>{e&&(r?.(e),n.setState({transform:[e.x,e.y,e.zoom]}))},[e,r]),null}function MRe(e){return e.connection.inProgress?{...e.connection,to:y0(e.connection.to,e.transform)}:{...e.connection}}function ORe(e){return MRe}function IRe(e){const r=ORe();return Rt(r,Ar)}const LRe=e=>({nodesConnectable:e.nodesConnectable,isValid:e.connection.isValid,inProgress:e.connection.inProgress,width:e.width,height:e.height});function zRe({containerStyle:e,style:r,type:n,component:o}){const{nodesConnectable:a,width:i,height:l,isValid:s,inProgress:c}=Rt(LRe,Ar);return i&&a&&c?y.jsx("svg",{style:e,width:i,height:l,className:"react-flow__connectionline react-flow__container",children:y.jsx("g",{className:an(["react-flow__connection",qF(s)]),children:y.jsx(Nq,{style:r,type:n,CustomComponent:o,isValid:s})})}):null}const Nq=({style:e,type:r=eu.Bezier,CustomComponent:n,isValid:o})=>{const{inProgress:a,from:i,fromNode:l,fromHandle:s,fromPosition:c,to:u,toNode:d,toHandle:p,toPosition:f}=IRe();if(!a)return;if(n)return y.jsx(n,{connectionLineType:r,connectionLineStyle:e,fromNode:l,fromHandle:s,fromX:i.x,fromY:i.y,toX:u.x,toY:u.y,fromPosition:c,toPosition:f,connectionStatus:qF(o),toNode:d,toHandle:p});let g="";const b={sourceX:i.x,sourceY:i.y,sourcePosition:c,targetX:u.x,targetY:u.y,targetPosition:f};switch(r){case eu.Bezier:[g]=kx(b);break;case eu.SimpleBezier:[g]=hq(b);break;case eu.Step:[g]=_x({...b,borderRadius:0});break;case eu.SmoothStep:[g]=_x(b);break;default:[g]=lH(b)}return y.jsx("path",{d:g,fill:"none",className:"react-flow__connection-path",style:e})};Nq.displayName="ConnectionLine";const BRe={};function Dq(e=BRe){E.useRef(e),fr(),E.useEffect(()=>{},[e])}function jRe(){fr(),E.useRef(!1),E.useEffect(()=>{},[])}function Pq({nodeTypes:e,edgeTypes:r,onInit:n,onNodeClick:o,onEdgeClick:a,onNodeDoubleClick:i,onEdgeDoubleClick:l,onNodeMouseEnter:s,onNodeMouseMove:c,onNodeMouseLeave:u,onNodeContextMenu:d,onSelectionContextMenu:p,onSelectionStart:f,onSelectionEnd:g,connectionLineType:b,connectionLineStyle:x,connectionLineComponent:w,connectionLineContainerStyle:k,selectionKeyCode:C,selectionOnDrag:_,selectionMode:T,multiSelectionKeyCode:R,panActivationKeyCode:A,zoomActivationKeyCode:D,deleteKeyCode:N,onlyRenderVisibleElements:$,elementsSelectable:M,defaultViewport:j,translateExtent:L,minZoom:Y,maxZoom:O,preventScrolling:U,defaultMarkerColor:I,zoomOnScroll:q,zoomOnPinch:V,panOnScroll:G,panOnScrollSpeed:F,panOnScrollMode:J,zoomOnDoubleClick:Q,panOnDrag:z,onPaneClick:W,onPaneMouseEnter:X,onPaneMouseMove:Z,onPaneMouseLeave:oe,onPaneScroll:ee,onPaneContextMenu:re,paneClickDistance:pe,nodeClickDistance:Ce,onEdgeContextMenu:ce,onEdgeMouseEnter:de,onEdgeMouseMove:be,onEdgeMouseLeave:Oe,reconnectRadius:Xe,onReconnect:Ge,onReconnectStart:_t,onReconnectEnd:Qe,noDragClassName:St,noWheelClassName:Ke,noPanClassName:We,disableKeyboardA11y:st,nodeExtent:Et,rfId:Pn,viewport:_e,onViewportChange:we}){return Dq(e),Dq(r),jRe(),DRe(n),$Re(_e),y.jsx(nRe,{onPaneClick:W,onPaneMouseEnter:X,onPaneMouseMove:Z,onPaneMouseLeave:oe,onPaneContextMenu:re,onPaneScroll:ee,paneClickDistance:pe,deleteKeyCode:N,selectionKeyCode:C,selectionOnDrag:_,selectionMode:T,onSelectionStart:f,onSelectionEnd:g,multiSelectionKeyCode:R,panActivationKeyCode:A,zoomActivationKeyCode:D,elementsSelectable:M,zoomOnScroll:q,zoomOnPinch:V,zoomOnDoubleClick:Q,panOnScroll:G,panOnScrollSpeed:F,panOnScrollMode:J,panOnDrag:z,defaultViewport:j,translateExtent:L,minZoom:Y,maxZoom:O,onSelectionContextMenu:p,preventScrolling:U,noDragClassName:St,noWheelClassName:Ke,noPanClassName:We,disableKeyboardA11y:st,onViewportChange:we,isControlledViewport:!!_e,children:y.jsxs(NRe,{children:[y.jsx(RRe,{edgeTypes:r,onEdgeClick:a,onEdgeDoubleClick:l,onReconnect:Ge,onReconnectStart:_t,onReconnectEnd:Qe,onlyRenderVisibleElements:$,onEdgeContextMenu:ce,onEdgeMouseEnter:de,onEdgeMouseMove:be,onEdgeMouseLeave:Oe,reconnectRadius:Xe,defaultMarkerColor:I,noPanClassName:We,disableKeyboardA11y:st,rfId:Pn}),y.jsx(zRe,{style:x,type:b,component:w,containerStyle:k}),y.jsx("div",{className:"react-flow__edgelabel-renderer"}),y.jsx(dRe,{nodeTypes:e,onNodeClick:o,onNodeDoubleClick:i,onNodeMouseEnter:s,onNodeMouseMove:c,onNodeMouseLeave:u,onNodeContextMenu:d,nodeClickDistance:Ce,onlyRenderVisibleElements:$,noPanClassName:We,noDragClassName:St,disableKeyboardA11y:st,nodeExtent:Et,rfId:Pn}),y.jsx("div",{className:"react-flow__viewport-portal"})]})})}Pq.displayName="GraphView";const FRe=E.memo(Pq),$q=({nodes:e,edges:r,defaultNodes:n,defaultEdges:o,width:a,height:i,fitView:l,fitViewOptions:s,minZoom:c=.5,maxZoom:u=2,nodeOrigin:d,nodeExtent:p}={})=>{const f=new Map,g=new Map,b=new Map,x=new Map,w=o??r??[],k=n??e??[],C=d??[0,0],_=p??d0;gH(b,x,w);const T=EE(k,f,g,{nodeOrigin:C,nodeExtent:_,elevateNodesOnSelect:!1});let R=[0,0,1];if(l&&a&&i){const A=tf(f,{filter:M=>!!((M.width||M.initialWidth)&&(M.height||M.initialHeight))}),{x:D,y:N,zoom:$}=tu(A,a,i,c,u,s?.padding??.1);R=[D,N,$]}return{rfId:"1",width:a??0,height:i??0,transform:R,nodes:k,nodesInitialized:T,nodeLookup:f,parentLookup:g,edges:w,edgeLookup:x,connectionLookup:b,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:n!==void 0,hasDefaultEdges:o!==void 0,panZoom:null,minZoom:c,maxZoom:u,translateExtent:d0,nodeExtent:_,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:ef.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:C,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!1,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:l??!1,fitViewOptions:s,fitViewResolver:null,connection:{...FF},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:aCe,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:jF}},HRe=({nodes:e,edges:r,defaultNodes:n,defaultEdges:o,width:a,height:i,fitView:l,fitViewOptions:s,minZoom:c,maxZoom:u,nodeOrigin:d,nodeExtent:p})=>sTe((f,g)=>{async function b(){const{nodeLookup:x,panZoom:w,fitViewOptions:k,fitViewResolver:C,width:_,height:T,minZoom:R,maxZoom:A}=g();w&&(await nCe({nodes:x,width:_,height:T,panZoom:w,minZoom:R,maxZoom:A},k),C?.resolve(!0),f({fitViewResolver:null}))}return{...$q({nodes:e,edges:r,width:a,height:i,fitView:l,fitViewOptions:s,minZoom:c,maxZoom:u,nodeOrigin:d,nodeExtent:p,defaultNodes:n,defaultEdges:o}),setNodes:x=>{const{nodeLookup:w,parentLookup:k,nodeOrigin:C,elevateNodesOnSelect:_,fitViewQueued:T}=g(),R=EE(x,w,k,{nodeOrigin:C,nodeExtent:p,elevateNodesOnSelect:_,checkEquality:!0});T&&R?(b(),f({nodes:x,nodesInitialized:R,fitViewQueued:!1,fitViewOptions:void 0})):f({nodes:x,nodesInitialized:R})},setEdges:x=>{const{connectionLookup:w,edgeLookup:k}=g();gH(w,k,x),f({edges:x})},setDefaultNodesAndEdges:(x,w)=>{if(x){const{setNodes:k}=g();k(x),f({hasDefaultNodes:!0})}if(w){const{setEdges:k}=g();k(w),f({hasDefaultEdges:!0})}},updateNodeInternals:x=>{const{triggerNodeChanges:w,nodeLookup:k,parentLookup:C,domNode:_,nodeOrigin:T,nodeExtent:R,debug:A,fitViewQueued:D}=g(),{changes:N,updatedInternals:$}=CCe(x,k,C,_,T,R);$&&(kCe(k,C,{nodeOrigin:T,nodeExtent:R}),D?(b(),f({fitViewQueued:!1,fitViewOptions:void 0})):f({}),N?.length>0&&(A&&console.log("React Flow: trigger node changes",N),w?.(N)))},updateNodePositions:(x,w=!1)=>{const k=[],C=[],{nodeLookup:_,triggerNodeChanges:T}=g();for(const[R,A]of x){const D=_.get(R),N=!!(D?.expandParent&&D?.parentId&&A?.position),$={id:R,type:"position",position:N?{x:Math.max(0,A.position.x),y:Math.max(0,A.position.y)}:A.position,dragging:w};N&&D.parentId&&k.push({id:R,parentId:D.parentId,rect:{...A.internals.positionAbsolute,width:A.measured.width??0,height:A.measured.height??0}}),C.push($)}if(k.length>0){const{parentLookup:R,nodeOrigin:A}=g(),D=CE(k,_,R,A);C.push(...D)}T(C)},triggerNodeChanges:x=>{const{onNodesChange:w,setNodes:k,nodes:C,hasDefaultNodes:_,debug:T}=g();if(x?.length){if(_){const R=Rx(x,C);k(R)}T&&console.log("React Flow: trigger node changes",x),w?.(x)}},triggerEdgeChanges:x=>{const{onEdgesChange:w,setEdges:k,edges:C,hasDefaultEdges:_,debug:T}=g();if(x?.length){if(_){const R=Ax(x,C);k(R)}T&&console.log("React Flow: trigger edge changes",x),w?.(x)}},addSelectedNodes:x=>{const{multiSelectionActive:w,edgeLookup:k,nodeLookup:C,triggerNodeChanges:_,triggerEdgeChanges:T}=g();if(w){const R=x.map(A=>Fd(A,!0));_(R);return}_(cf(C,new Set([...x]),!0)),T(cf(k))},addSelectedEdges:x=>{const{multiSelectionActive:w,edgeLookup:k,nodeLookup:C,triggerNodeChanges:_,triggerEdgeChanges:T}=g();if(w){const R=x.map(A=>Fd(A,!0));T(R);return}T(cf(k,new Set([...x]))),_(cf(C,new Set,!0))},unselectNodesAndEdges:({nodes:x,edges:w}={})=>{const{edges:k,nodes:C,nodeLookup:_,triggerNodeChanges:T,triggerEdgeChanges:R}=g(),A=x||C,D=w||k,N=A.map(M=>{const j=_.get(M.id);return j&&(j.selected=!1),Fd(M.id,!1)}),$=D.map(M=>Fd(M.id,!1));T(N),R($)},setMinZoom:x=>{const{panZoom:w,maxZoom:k}=g();w?.setScaleExtent([x,k]),f({minZoom:x})},setMaxZoom:x=>{const{panZoom:w,minZoom:k}=g();w?.setScaleExtent([k,x]),f({maxZoom:x})},setTranslateExtent:x=>{g().panZoom?.setTranslateExtent(x),f({translateExtent:x})},setPaneClickDistance:x=>{g().panZoom?.setClickDistance(x)},resetSelectedElements:()=>{const{edges:x,nodes:w,triggerNodeChanges:k,triggerEdgeChanges:C,elementsSelectable:_}=g();if(!_)return;const T=w.reduce((A,D)=>D.selected?[...A,Fd(D.id,!1)]:A,[]),R=x.reduce((A,D)=>D.selected?[...A,Fd(D.id,!1)]:A,[]);k(T),C(R)},setNodeExtent:x=>{const{nodes:w,nodeLookup:k,parentLookup:C,nodeOrigin:_,elevateNodesOnSelect:T,nodeExtent:R}=g();x[0][0]===R[0][0]&&x[0][1]===R[0][1]&&x[1][0]===R[1][0]&&x[1][1]===R[1][1]||(EE(w,k,C,{nodeOrigin:_,nodeExtent:x,elevateNodesOnSelect:T,checkEquality:!1}),f({nodeExtent:x}))},panBy:x=>{const{transform:w,width:k,height:C,panZoom:_,translateExtent:T}=g();return TCe({delta:x,panZoom:_,transform:w,translateExtent:T,width:k,height:C})},setCenter:async(x,w,k)=>{const{width:C,height:_,maxZoom:T,panZoom:R}=g();if(!R)return Promise.resolve(!1);const A=typeof k?.zoom<"u"?k.zoom:T;return await R.setViewport({x:C/2-x*A,y:_/2-w*A,zoom:A},{duration:k?.duration,ease:k?.ease,interpolate:k?.interpolate}),Promise.resolve(!0)},cancelConnection:()=>{f({connection:{...FF}})},updateConnection:x=>{f({connection:x})},reset:()=>f({...$q()})}},Object.is);function $x({initialNodes:e,initialEdges:r,defaultNodes:n,defaultEdges:o,initialWidth:a,initialHeight:i,initialMinZoom:l,initialMaxZoom:s,initialFitViewOptions:c,fitView:u,nodeOrigin:d,nodeExtent:p,children:f}){const[g]=E.useState(()=>HRe({nodes:e,edges:r,defaultNodes:n,defaultEdges:o,width:a,height:i,fitView:u,minZoom:l,maxZoom:s,fitViewOptions:c,nodeOrigin:d,nodeExtent:p}));return y.jsx(cTe,{value:g,children:y.jsx(PTe,{children:f})})}function qRe({children:e,nodes:r,edges:n,defaultNodes:o,defaultEdges:a,width:i,height:l,fitView:s,fitViewOptions:c,minZoom:u,maxZoom:d,nodeOrigin:p,nodeExtent:f}){return E.useContext(Cx)?y.jsx(y.Fragment,{children:e}):y.jsx($x,{initialNodes:r,initialEdges:n,defaultNodes:o,defaultEdges:a,initialWidth:i,initialHeight:l,fitView:s,initialFitViewOptions:c,initialMinZoom:u,initialMaxZoom:d,nodeOrigin:p,nodeExtent:f,children:e})}const URe={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0};function VRe({nodes:e,edges:r,defaultNodes:n,defaultEdges:o,className:a,nodeTypes:i,edgeTypes:l,onNodeClick:s,onEdgeClick:c,onInit:u,onMove:d,onMoveStart:p,onMoveEnd:f,onConnect:g,onConnectStart:b,onConnectEnd:x,onClickConnectStart:w,onClickConnectEnd:k,onNodeMouseEnter:C,onNodeMouseMove:_,onNodeMouseLeave:T,onNodeContextMenu:R,onNodeDoubleClick:A,onNodeDragStart:D,onNodeDrag:N,onNodeDragStop:$,onNodesDelete:M,onEdgesDelete:j,onDelete:L,onSelectionChange:Y,onSelectionDragStart:O,onSelectionDrag:U,onSelectionDragStop:I,onSelectionContextMenu:q,onSelectionStart:V,onSelectionEnd:G,onBeforeDelete:F,connectionMode:J,connectionLineType:Q=eu.Bezier,connectionLineStyle:z,connectionLineComponent:W,connectionLineContainerStyle:X,deleteKeyCode:Z="Backspace",selectionKeyCode:oe="Shift",selectionOnDrag:ee=!1,selectionMode:re=p0.Full,panActivationKeyCode:pe="Space",multiSelectionKeyCode:Ce=of()?"Meta":"Control",zoomActivationKeyCode:ce=of()?"Meta":"Control",snapToGrid:de,snapGrid:be,onlyRenderVisibleElements:Oe=!1,selectNodesOnDrag:Xe,nodesDraggable:Ge,autoPanOnNodeFocus:_t,nodesConnectable:Qe,nodesFocusable:St,nodeOrigin:Ke=HH,edgesFocusable:We,edgesReconnectable:st,elementsSelectable:Et=!0,defaultViewport:Pn=kTe,minZoom:_e=.5,maxZoom:we=2,translateExtent:rt=d0,preventScrolling:at=!0,nodeExtent:Dt,defaultMarkerColor:Wr="#b1b1b7",zoomOnScroll:Pt=!0,zoomOnPinch:Tr=!0,panOnScroll:vo=!1,panOnScrollSpeed:$n=.5,panOnScrollMode:Fr=zd.Free,zoomOnDoubleClick:no=!0,panOnDrag:ur=!0,onPaneClick:ha,onPaneMouseEnter:_s,onPaneMouseMove:Qp,onPaneMouseLeave:Cc,onPaneScroll:qb,onPaneContextMenu:Sg,paneClickDistance:Hu=0,nodeClickDistance:Jp=0,children:eh,onReconnect:Cg,onReconnectStart:Ub,onReconnectEnd:Ti,onEdgeContextMenu:Mn,onEdgeDoubleClick:oo,onEdgeMouseEnter:Es,onEdgeMouseMove:th,onEdgeMouseLeave:Vb,reconnectRadius:Yb=10,onNodesChange:Tg,onEdgesChange:Tc,noDragClassName:rh="nodrag",noWheelClassName:Ss="nowheel",noPanClassName:Ri="nopan",fitView:zl,fitViewOptions:Ai,connectOnClick:tn,attributionPosition:Rg,proOptions:Ag,defaultEdgeOptions:Bl,elevateNodesOnSelect:Cs,elevateEdgesOnSelect:Wb,disableKeyboardA11y:qu=!1,autoPanOnConnect:Ng,autoPanOnNodeDrag:Gb,autoPanSpeed:Uu,connectionRadius:Vu,isValidConnection:Fa,onError:nh,style:Dg,id:Ni,nodeDragThreshold:oh,connectionDragThreshold:ah,viewport:Xb,onViewportChange:Pg,width:Lo,height:$g,colorMode:Kb="light",debug:Yu,onScroll:Wu,ariaLabelConfig:Gu,...Zb},zo){const jl=Ni||"1",Mg=CTe(Kb),ih=E.useCallback(Di=>{Di.currentTarget.scrollTo({top:0,left:0,behavior:"instant"}),Wu?.(Di)},[Wu]);return y.jsx("div",{"data-testid":"rf__wrapper",...Zb,onScroll:ih,style:{...Dg,...URe},ref:zo,className:an(["react-flow",a,Mg]),id:Ni,role:"application",children:y.jsxs(qRe,{nodes:e,edges:r,width:Lo,height:$g,fitView:zl,fitViewOptions:Ai,minZoom:_e,maxZoom:we,nodeOrigin:Ke,nodeExtent:Dt,children:[y.jsx(FRe,{onInit:u,onNodeClick:s,onEdgeClick:c,onNodeMouseEnter:C,onNodeMouseMove:_,onNodeMouseLeave:T,onNodeContextMenu:R,onNodeDoubleClick:A,nodeTypes:i,edgeTypes:l,connectionLineType:Q,connectionLineStyle:z,connectionLineComponent:W,connectionLineContainerStyle:X,selectionKeyCode:oe,selectionOnDrag:ee,selectionMode:re,deleteKeyCode:Z,multiSelectionKeyCode:Ce,panActivationKeyCode:pe,zoomActivationKeyCode:ce,onlyRenderVisibleElements:Oe,defaultViewport:Pn,translateExtent:rt,minZoom:_e,maxZoom:we,preventScrolling:at,zoomOnScroll:Pt,zoomOnPinch:Tr,zoomOnDoubleClick:no,panOnScroll:vo,panOnScrollSpeed:$n,panOnScrollMode:Fr,panOnDrag:ur,onPaneClick:ha,onPaneMouseEnter:_s,onPaneMouseMove:Qp,onPaneMouseLeave:Cc,onPaneScroll:qb,onPaneContextMenu:Sg,paneClickDistance:Hu,nodeClickDistance:Jp,onSelectionContextMenu:q,onSelectionStart:V,onSelectionEnd:G,onReconnect:Cg,onReconnectStart:Ub,onReconnectEnd:Ti,onEdgeContextMenu:Mn,onEdgeDoubleClick:oo,onEdgeMouseEnter:Es,onEdgeMouseMove:th,onEdgeMouseLeave:Vb,reconnectRadius:Yb,defaultMarkerColor:Wr,noDragClassName:rh,noWheelClassName:Ss,noPanClassName:Ri,rfId:jl,disableKeyboardA11y:qu,nodeExtent:Dt,viewport:Xb,onViewportChange:Pg}),y.jsx(STe,{nodes:e,edges:r,defaultNodes:n,defaultEdges:o,onConnect:g,onConnectStart:b,onConnectEnd:x,onClickConnectStart:w,onClickConnectEnd:k,nodesDraggable:Ge,autoPanOnNodeFocus:_t,nodesConnectable:Qe,nodesFocusable:St,edgesFocusable:We,edgesReconnectable:st,elementsSelectable:Et,elevateNodesOnSelect:Cs,elevateEdgesOnSelect:Wb,minZoom:_e,maxZoom:we,nodeExtent:Dt,onNodesChange:Tg,onEdgesChange:Tc,snapToGrid:de,snapGrid:be,connectionMode:J,translateExtent:rt,connectOnClick:tn,defaultEdgeOptions:Bl,fitView:zl,fitViewOptions:Ai,onNodesDelete:M,onEdgesDelete:j,onDelete:L,onNodeDragStart:D,onNodeDrag:N,onNodeDragStop:$,onSelectionDrag:U,onSelectionDragStart:O,onSelectionDragStop:I,onMove:d,onMoveStart:p,onMoveEnd:f,noPanClassName:Ri,nodeOrigin:Ke,rfId:jl,autoPanOnConnect:Ng,autoPanOnNodeDrag:Gb,autoPanSpeed:Uu,onError:nh,connectionRadius:Vu,isValidConnection:Fa,selectNodesOnDrag:Xe,nodeDragThreshold:oh,connectionDragThreshold:ah,onBeforeDelete:F,paneClickDistance:Hu,debug:Yu,ariaLabelConfig:Gu}),y.jsx(wTe,{onSelectionChange:Y}),eh,y.jsx(gTe,{proOptions:Ag,position:Rg}),y.jsx(mTe,{rfId:jl,disableKeyboardA11y:qu})]})})}var YRe=JH(VRe);const WRe=e=>e.domNode?.querySelector(".react-flow__edgelabel-renderer");function Mq({children:e}){const r=Rt(WRe);return r?Bi.createPortal(e,r):null}function GRe(e){return Rt(E.useCallback(r=>r.nodeLookup.get(e),[e]),Ar)}function XRe({dimensions:e,lineWidth:r,variant:n,className:o}){return y.jsx("path",{strokeWidth:r,d:`M${e[0]/2} 0 V${e[1]} M0 ${e[1]/2} H${e[0]}`,className:an(["react-flow__background-pattern",n,o])})}function KRe({radius:e,className:r}){return y.jsx("circle",{cx:e,cy:e,r:e,className:an(["react-flow__background-pattern","dots",r])})}var Xi;(function(e){e.Lines="lines",e.Dots="dots",e.Cross="cross"})(Xi||(Xi={}));const ZRe={[Xi.Dots]:1,[Xi.Lines]:1,[Xi.Cross]:6},QRe=e=>({transform:e.transform,patternId:`pattern-${e.rfId}`});function Oq({id:e,variant:r=Xi.Dots,gap:n=20,size:o,lineWidth:a=1,offset:i=0,color:l,bgColor:s,style:c,className:u,patternClassName:d}){const p=E.useRef(null),{transform:f,patternId:g}=Rt(QRe,Ar),b=o||ZRe[r],x=r===Xi.Dots,w=r===Xi.Cross,k=Array.isArray(n)?n:[n,n],C=[k[0]*f[2]||1,k[1]*f[2]||1],_=b*f[2],T=Array.isArray(i)?i:[i,i],R=w?[_,_]:C,A=[T[0]*f[2]||1+R[0]/2,T[1]*f[2]||1+R[1]/2],D=`${g}${e||""}`;return y.jsxs("svg",{className:an(["react-flow__background",u]),style:{...c,...Nx,"--xy-background-color-props":s,"--xy-background-pattern-color-props":l},ref:p,"data-testid":"rf__background",children:[y.jsx("pattern",{id:D,x:f[0]%C[0],y:f[1]%C[1],width:C[0],height:C[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${A[0]},-${A[1]})`,children:x?y.jsx(KRe,{radius:_/2,className:d}):y.jsx(XRe,{dimensions:R,lineWidth:a,variant:r,className:d})}),y.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${D})`})]})}Oq.displayName="Background";const Iq=E.memo(Oq);function JRe(){return y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:y.jsx("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function eAe(){return y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5",children:y.jsx("path",{d:"M0 0h32v4.2H0z"})})}function tAe(){return y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30",children:y.jsx("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})})}function rAe(){return y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:y.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function nAe(){return y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:y.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}function Mx({children:e,className:r,...n}){return y.jsx("button",{type:"button",className:an(["react-flow__controls-button",r]),...n,children:e})}const oAe=e=>({isInteractive:e.nodesDraggable||e.nodesConnectable||e.elementsSelectable,minZoomReached:e.transform[2]<=e.minZoom,maxZoomReached:e.transform[2]>=e.maxZoom,ariaLabelConfig:e.ariaLabelConfig});function Lq({style:e,showZoom:r=!0,showFitView:n=!0,showInteractive:o=!0,fitViewOptions:a,onZoomIn:i,onZoomOut:l,onFitView:s,onInteractiveChange:c,className:u,children:d,position:p="bottom-left",orientation:f="vertical","aria-label":g}){const b=fr(),{isInteractive:x,minZoomReached:w,maxZoomReached:k,ariaLabelConfig:C}=Rt(oAe,Ar),{zoomIn:_,zoomOut:T,fitView:R}=uf(),A=()=>{_(),i?.()},D=()=>{T(),l?.()},N=()=>{R(a),s?.()},$=()=>{b.setState({nodesDraggable:!x,nodesConnectable:!x,elementsSelectable:!x}),c?.(!x)};return y.jsxs(ou,{className:an(["react-flow__controls",f==="horizontal"?"horizontal":"vertical",u]),position:p,style:e,"data-testid":"rf__controls","aria-label":g??C["controls.ariaLabel"],children:[r&&y.jsxs(y.Fragment,{children:[y.jsx(Mx,{onClick:A,className:"react-flow__controls-zoomin",title:C["controls.zoomIn.ariaLabel"],"aria-label":C["controls.zoomIn.ariaLabel"],disabled:k,children:y.jsx(JRe,{})}),y.jsx(Mx,{onClick:D,className:"react-flow__controls-zoomout",title:C["controls.zoomOut.ariaLabel"],"aria-label":C["controls.zoomOut.ariaLabel"],disabled:w,children:y.jsx(eAe,{})})]}),n&&y.jsx(Mx,{className:"react-flow__controls-fitview",onClick:N,title:C["controls.fitView.ariaLabel"],"aria-label":C["controls.fitView.ariaLabel"],children:y.jsx(tAe,{})}),o&&y.jsx(Mx,{className:"react-flow__controls-interactive",onClick:$,title:C["controls.interactive.ariaLabel"],"aria-label":C["controls.interactive.ariaLabel"],children:x?y.jsx(nAe,{}):y.jsx(rAe,{})}),d]})}Lq.displayName="Controls",E.memo(Lq);function aAe({id:e,x:r,y:n,width:o,height:a,style:i,color:l,strokeColor:s,strokeWidth:c,className:u,borderRadius:d,shapeRendering:p,selected:f,onClick:g}){const{background:b,backgroundColor:x}=i||{},w=l||b||x;return y.jsx("rect",{className:an(["react-flow__minimap-node",{selected:f},u]),x:r,y:n,rx:d,ry:d,width:o,height:a,style:{fill:w,stroke:s,strokeWidth:c},shapeRendering:p,onClick:g?k=>g(k,e):void 0})}const iAe=E.memo(aAe),lAe=e=>e.nodes.map(r=>r.id),zE=e=>e instanceof Function?e:()=>e;function sAe({nodeStrokeColor:e,nodeColor:r,nodeClassName:n="",nodeBorderRadius:o=5,nodeStrokeWidth:a,nodeComponent:i=iAe,onClick:l}){const s=Rt(lAe,Ar),c=zE(r),u=zE(e),d=zE(n),p=typeof window>"u"||window.chrome?"crispEdges":"geometricPrecision";return y.jsx(y.Fragment,{children:s.map(f=>y.jsx(uAe,{id:f,nodeColorFunc:c,nodeStrokeColorFunc:u,nodeClassNameFunc:d,nodeBorderRadius:o,nodeStrokeWidth:a,NodeComponent:i,onClick:l,shapeRendering:p},f))})}function cAe({id:e,nodeColorFunc:r,nodeStrokeColorFunc:n,nodeClassNameFunc:o,nodeBorderRadius:a,nodeStrokeWidth:i,shapeRendering:l,NodeComponent:s,onClick:c}){const{node:u,x:d,y:p,width:f,height:g}=Rt(b=>{const{internals:x}=b.nodeLookup.get(e),w=x.userNode,{x:k,y:C}=x.positionAbsolute,{width:_,height:T}=Wn(w);return{node:w,x:k,y:C,width:_,height:T}},Ar);return!u||u.hidden||!ZF(u)?null:y.jsx(s,{x:d,y:p,width:f,height:g,style:u.style,selected:!!u.selected,className:o(u),color:r(u),borderRadius:a,strokeColor:n(u),strokeWidth:i,shapeRendering:l,onClick:c,id:u.id})}const uAe=E.memo(cAe);var dAe=E.memo(sAe);const pAe=200,hAe=150,fAe=e=>!e.hidden,mAe=e=>{const r={x:-e.transform[0]/e.transform[2],y:-e.transform[1]/e.transform[2],width:e.width/e.transform[2],height:e.height/e.transform[2]};return{viewBB:r,boundingRect:e.nodeLookup.size>0?vx(tf(e.nodeLookup,{filter:fAe}),r):r,rfId:e.rfId,panZoom:e.panZoom,translateExtent:e.translateExtent,flowWidth:e.width,flowHeight:e.height,ariaLabelConfig:e.ariaLabelConfig}},gAe="react-flow__minimap-desc";function zq({style:e,className:r,nodeStrokeColor:n,nodeColor:o,nodeClassName:a="",nodeBorderRadius:i=5,nodeStrokeWidth:l,nodeComponent:s,bgColor:c,maskColor:u,maskStrokeColor:d,maskStrokeWidth:p,position:f="bottom-right",onClick:g,onNodeClick:b,pannable:x=!1,zoomable:w=!1,ariaLabel:k,inversePan:C,zoomStep:_=1,offsetScale:T=5}){const R=fr(),A=E.useRef(null),{boundingRect:D,viewBB:N,rfId:$,panZoom:M,translateExtent:j,flowWidth:L,flowHeight:Y,ariaLabelConfig:O}=Rt(mAe,Ar),U=e?.width??pAe,I=e?.height??hAe,q=D.width/U,V=D.height/I,G=Math.max(q,V),F=G*U,J=G*I,Q=T*G,z=D.x-(F-D.width)/2-Q,W=D.y-(J-D.height)/2-Q,X=F+Q*2,Z=J+Q*2,oe=`${gAe}-${$}`,ee=E.useRef(0),re=E.useRef();ee.current=G,E.useEffect(()=>{if(A.current&&M)return re.current=ICe({domNode:A.current,panZoom:M,getTransform:()=>R.getState().transform,getViewScale:()=>ee.current}),()=>{re.current?.destroy()}},[M]),E.useEffect(()=>{re.current?.update({translateExtent:j,width:L,height:Y,inversePan:C,pannable:x,zoomStep:_,zoomable:w})},[x,w,C,_,j,L,Y]);const pe=g?de=>{const[be,Oe]=re.current?.pointer(de)||[0,0];g(de,{x:be,y:Oe})}:void 0,Ce=b?E.useCallback((de,be)=>{const Oe=R.getState().nodeLookup.get(be).internals.userNode;b(de,Oe)},[]):void 0,ce=k??O["minimap.ariaLabel"];return y.jsx(ou,{position:f,style:{...e,"--xy-minimap-background-color-props":typeof c=="string"?c:void 0,"--xy-minimap-mask-background-color-props":typeof u=="string"?u:void 0,"--xy-minimap-mask-stroke-color-props":typeof d=="string"?d:void 0,"--xy-minimap-mask-stroke-width-props":typeof p=="number"?p*G:void 0,"--xy-minimap-node-background-color-props":typeof o=="string"?o:void 0,"--xy-minimap-node-stroke-color-props":typeof n=="string"?n:void 0,"--xy-minimap-node-stroke-width-props":typeof l=="number"?l:void 0},className:an(["react-flow__minimap",r]),"data-testid":"rf__minimap",children:y.jsxs("svg",{width:U,height:I,viewBox:`${z} ${W} ${X} ${Z}`,className:"react-flow__minimap-svg",role:"img","aria-labelledby":oe,ref:A,onClick:pe,children:[ce&&y.jsx("title",{id:oe,children:ce}),y.jsx(dAe,{onClick:Ce,nodeColor:o,nodeStrokeColor:n,nodeBorderRadius:i,nodeClassName:a,nodeStrokeWidth:l,nodeComponent:s}),y.jsx("path",{className:"react-flow__minimap-mask",d:`M${z-Q},${W-Q}h${X+Q*2}v${Z+Q*2}h${-X-Q*2}z - M${N.x},${N.y}h${N.width}v${N.height}h${-N.width}z`,fillRule:"evenodd",pointerEvents:"none"})]})})}zq.displayName="MiniMap",E.memo(zq);const yAe=e=>r=>e?`${Math.max(1/r.transform[2],1)}`:void 0,bAe={[sf.Line]:"right",[sf.Handle]:"bottom-right"};function vAe({nodeId:e,position:r,variant:n=sf.Handle,className:o,style:a=void 0,children:i,color:l,minWidth:s=10,minHeight:c=10,maxWidth:u=Number.MAX_VALUE,maxHeight:d=Number.MAX_VALUE,keepAspectRatio:p=!1,resizeDirection:f,autoScale:g=!0,shouldResize:b,onResizeStart:x,onResize:w,onResizeEnd:k}){const C=LE(),_=typeof e=="string"?e:C,T=fr(),R=E.useRef(null),A=n===sf.Handle,D=Rt(E.useCallback(yAe(A&&g),[A,g]),Ar),N=E.useRef(null),$=r??bAe[n];E.useEffect(()=>{if(!(!R.current||!_))return N.current||(N.current=QCe({domNode:R.current,nodeId:_,getStoreItems:()=>{const{nodeLookup:j,transform:L,snapGrid:Y,snapToGrid:O,nodeOrigin:U,domNode:I}=T.getState();return{nodeLookup:j,transform:L,snapGrid:Y,snapToGrid:O,nodeOrigin:U,paneDomNode:I}},onChange:(j,L)=>{const{triggerNodeChanges:Y,nodeLookup:O,parentLookup:U,nodeOrigin:I}=T.getState(),q=[],V={x:j.x,y:j.y},G=O.get(_);if(G&&G.expandParent&&G.parentId){const F=G.origin??I,J=j.width??G.measured.width??0,Q=j.height??G.measured.height??0,z={id:G.id,parentId:G.parentId,rect:{width:J,height:Q,...QF({x:j.x??G.position.x,y:j.y??G.position.y},{width:J,height:Q},G.parentId,O,F)}},W=CE([z],O,U,I);q.push(...W),V.x=j.x?Math.max(F[0]*J,j.x):void 0,V.y=j.y?Math.max(F[1]*Q,j.y):void 0}if(V.x!==void 0&&V.y!==void 0){const F={id:_,type:"position",position:{...V}};q.push(F)}if(j.width!==void 0&&j.height!==void 0){const F={id:_,type:"dimensions",resizing:!0,setAttributes:f?f==="horizontal"?"width":"height":!0,dimensions:{width:j.width,height:j.height}};q.push(F)}for(const F of L){const J={...F,type:"position"};q.push(J)}Y(q)},onEnd:({width:j,height:L})=>{const Y={id:_,type:"dimensions",resizing:!1,dimensions:{width:j,height:L}};T.getState().triggerNodeChanges([Y])}})),N.current.update({controlPosition:$,boundaries:{minWidth:s,minHeight:c,maxWidth:u,maxHeight:d},keepAspectRatio:p,resizeDirection:f,onResizeStart:x,onResize:w,onResizeEnd:k,shouldResize:b}),()=>{N.current?.destroy()}},[$,s,c,u,d,p,x,w,k,b]);const M=$.split("-");return y.jsx("div",{className:an(["react-flow__resize-control","nodrag",...M,n,o]),ref:R,style:{...a,scale:D,...l&&{[A?"backgroundColor":"borderColor"]:l}},children:i})}E.memo(vAe);const xAe=e=>e.domNode?.querySelector(".react-flow__renderer");function wAe({children:e}){const r=Rt(xAe);return r?Bi.createPortal(e,r):null}const kAe=(e,r)=>e?.internals.positionAbsolute.x!==r?.internals.positionAbsolute.x||e?.internals.positionAbsolute.y!==r?.internals.positionAbsolute.y||e?.measured.width!==r?.measured.width||e?.measured.height!==r?.measured.height||e?.selected!==r?.selected||e?.internals.z!==r?.internals.z,_Ae=(e,r)=>{if(e.size!==r.size)return!1;for(const[n,o]of e)if(kAe(o,r.get(n)))return!1;return!0},EAe=e=>({x:e.transform[0],y:e.transform[1],zoom:e.transform[2],selectedNodesCount:e.nodes.filter(r=>r.selected).length});function Bq({nodeId:e,children:r,className:n,style:o,isVisible:a,position:i=tt.Top,offset:l=10,align:s="center",...c}){const u=LE(),d=E.useCallback(T=>(Array.isArray(e)?e:[e||u||""]).reduce((R,A)=>{const D=T.nodeLookup.get(A);return D&&R.set(D.id,D),R},new Map),[e,u]),p=Rt(d,_Ae),{x:f,y:g,zoom:b,selectedNodesCount:x}=Rt(EAe,Ar);if(!(typeof a=="boolean"?a:p.size===1&&p.values().next().value?.selected&&x===1)||!p.size)return null;const w=tf(p),k=Array.from(p.values()),C=Math.max(...k.map(T=>T.internals.z+1)),_={position:"absolute",transform:xCe(w,{x:f,y:g,zoom:b},i,l,s),zIndex:C,...o};return y.jsx(wAe,{children:y.jsx("div",{style:_,className:an(["react-flow__node-toolbar",n]),...c,"data-id":k.reduce((T,R)=>`${T}${R.id} `,"").trim(),children:r})})}var SAe=Object.getOwnPropertyNames,CAe=Object.getOwnPropertySymbols,TAe=Object.prototype.hasOwnProperty;function jq(e,r){return function(n,o,a){return e(n,o,a)&&r(n,o,a)}}function Ox(e){return function(r,n,o){if(!r||!n||typeof r!="object"||typeof n!="object")return e(r,n,o);var a=o.cache,i=a.get(r),l=a.get(n);if(i&&l)return i===n&&l===r;a.set(r,n),a.set(n,r);var s=e(r,n,o);return a.delete(r),a.delete(n),s}}function Fq(e){return SAe(e).concat(CAe(e))}var RAe=Object.hasOwn||(function(e,r){return TAe.call(e,r)});function Hd(e,r){return e===r||!e&&!r&&e!==e&&r!==r}var AAe="__v",NAe="__o",DAe="_owner",Hq=Object.getOwnPropertyDescriptor,qq=Object.keys;function PAe(e,r,n){var o=e.length;if(r.length!==o)return!1;for(;o-- >0;)if(!n.equals(e[o],r[o],o,o,e,r,n))return!1;return!0}function $Ae(e,r){return Hd(e.getTime(),r.getTime())}function MAe(e,r){return e.name===r.name&&e.message===r.message&&e.cause===r.cause&&e.stack===r.stack}function OAe(e,r){return e===r}function Uq(e,r,n){var o=e.size;if(o!==r.size)return!1;if(!o)return!0;for(var a=new Array(o),i=e.entries(),l,s,c=0;(l=i.next())&&!l.done;){for(var u=r.entries(),d=!1,p=0;(s=u.next())&&!s.done;){if(a[p]){p++;continue}var f=l.value,g=s.value;if(n.equals(f[0],g[0],c,p,e,r,n)&&n.equals(f[1],g[1],f[0],g[0],e,r,n)){d=a[p]=!0;break}p++}if(!d)return!1;c++}return!0}var IAe=Hd;function LAe(e,r,n){var o=qq(e),a=o.length;if(qq(r).length!==a)return!1;for(;a-- >0;)if(!Yq(e,r,n,o[a]))return!1;return!0}function w0(e,r,n){var o=Fq(e),a=o.length;if(Fq(r).length!==a)return!1;for(var i,l,s;a-- >0;)if(i=o[a],!Yq(e,r,n,i)||(l=Hq(e,i),s=Hq(r,i),(l||s)&&(!l||!s||l.configurable!==s.configurable||l.enumerable!==s.enumerable||l.writable!==s.writable)))return!1;return!0}function zAe(e,r){return Hd(e.valueOf(),r.valueOf())}function BAe(e,r){return e.source===r.source&&e.flags===r.flags}function Vq(e,r,n){var o=e.size;if(o!==r.size)return!1;if(!o)return!0;for(var a=new Array(o),i=e.values(),l,s;(l=i.next())&&!l.done;){for(var c=r.values(),u=!1,d=0;(s=c.next())&&!s.done;){if(!a[d]&&n.equals(l.value,s.value,l.value,s.value,e,r,n)){u=a[d]=!0;break}d++}if(!u)return!1}return!0}function jAe(e,r){var n=e.length;if(r.length!==n)return!1;for(;n-- >0;)if(e[n]!==r[n])return!1;return!0}function FAe(e,r){return e.hostname===r.hostname&&e.pathname===r.pathname&&e.protocol===r.protocol&&e.port===r.port&&e.hash===r.hash&&e.username===r.username&&e.password===r.password}function Yq(e,r,n,o){return(o===DAe||o===NAe||o===AAe)&&(e.$$typeof||r.$$typeof)?!0:RAe(r,o)&&n.equals(e[o],r[o],o,o,e,r,n)}var HAe="[object Arguments]",qAe="[object Boolean]",UAe="[object Date]",VAe="[object Error]",YAe="[object Map]",WAe="[object Number]",GAe="[object Object]",XAe="[object RegExp]",KAe="[object Set]",ZAe="[object String]",QAe="[object URL]",JAe=Array.isArray,Wq=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,Gq=Object.assign,eNe=Object.prototype.toString.call.bind(Object.prototype.toString);function tNe(e){var r=e.areArraysEqual,n=e.areDatesEqual,o=e.areErrorsEqual,a=e.areFunctionsEqual,i=e.areMapsEqual,l=e.areNumbersEqual,s=e.areObjectsEqual,c=e.arePrimitiveWrappersEqual,u=e.areRegExpsEqual,d=e.areSetsEqual,p=e.areTypedArraysEqual,f=e.areUrlsEqual;return function(g,b,x){if(g===b)return!0;if(g==null||b==null)return!1;var w=typeof g;if(w!==typeof b)return!1;if(w!=="object")return w==="number"?l(g,b,x):w==="function"?a(g,b,x):!1;var k=g.constructor;if(k!==b.constructor)return!1;if(k===Object)return s(g,b,x);if(JAe(g))return r(g,b,x);if(Wq!=null&&Wq(g))return p(g,b,x);if(k===Date)return n(g,b,x);if(k===RegExp)return u(g,b,x);if(k===Map)return i(g,b,x);if(k===Set)return d(g,b,x);var C=eNe(g);return C===UAe?n(g,b,x):C===XAe?u(g,b,x):C===YAe?i(g,b,x):C===KAe?d(g,b,x):C===GAe?typeof g.then!="function"&&typeof b.then!="function"&&s(g,b,x):C===QAe?f(g,b,x):C===VAe?o(g,b,x):C===HAe?s(g,b,x):C===qAe||C===WAe||C===ZAe?c(g,b,x):!1}}function rNe(e){var r=e.circular,n=e.createCustomConfig,o=e.strict,a={areArraysEqual:o?w0:PAe,areDatesEqual:$Ae,areErrorsEqual:MAe,areFunctionsEqual:OAe,areMapsEqual:o?jq(Uq,w0):Uq,areNumbersEqual:IAe,areObjectsEqual:o?w0:LAe,arePrimitiveWrappersEqual:zAe,areRegExpsEqual:BAe,areSetsEqual:o?jq(Vq,w0):Vq,areTypedArraysEqual:o?w0:jAe,areUrlsEqual:FAe};if(n&&(a=Gq({},a,n(a))),r){var i=Ox(a.areArraysEqual),l=Ox(a.areMapsEqual),s=Ox(a.areObjectsEqual),c=Ox(a.areSetsEqual);a=Gq({},a,{areArraysEqual:i,areMapsEqual:l,areObjectsEqual:s,areSetsEqual:c})}return a}function nNe(e){return function(r,n,o,a,i,l,s){return e(r,n,s)}}function oNe(e){var r=e.circular,n=e.comparator,o=e.createState,a=e.equals,i=e.strict;if(o)return function(s,c){var u=o(),d=u.cache,p=d===void 0?r?new WeakMap:void 0:d,f=u.meta;return n(s,c,{cache:p,equals:a,meta:f,strict:i})};if(r)return function(s,c){return n(s,c,{cache:new WeakMap,equals:a,meta:void 0,strict:i})};var l={cache:void 0,equals:a,meta:void 0,strict:i};return function(s,c){return n(s,c,l)}}var ut=au();au({strict:!0}),au({circular:!0}),au({circular:!0,strict:!0});var Gn=au({createInternalComparator:function(){return Hd}});au({strict:!0,createInternalComparator:function(){return Hd}}),au({circular:!0,createInternalComparator:function(){return Hd}}),au({circular:!0,createInternalComparator:function(){return Hd},strict:!0});function au(e){e===void 0&&(e={});var r=e.circular,n=r===void 0?!1:r,o=e.createInternalComparator,a=e.createState,i=e.strict,l=i===void 0?!1:i,s=rNe(e),c=tNe(s),u=o?o(c):nNe(c);return oNe({circular:n,comparator:c,createState:a,equals:u,strict:l})}function aNe(e,r,n){let o=a=>e(a,...r);return n===void 0?o:Object.assign(o,{lazy:n,lazyArgs:r})}function lr(e,r,n){let o=e.length-r.length;if(o===0)return e(...r);if(o===1)return aNe(e,r,n);throw Error("Wrong number of arguments")}const iNe=e=>(r,n)=>{if(n===0)return e(r);if(!Number.isInteger(n))throw TypeError(`precision must be an integer: ${n.toString()}`);if(n>15||n<-15)throw RangeError("precision must be between -15 and 15");if(Number.isNaN(r)||!Number.isFinite(r))return e(r);let o=Xq(r,n),a=e(o);return Xq(a,-n)};function Xq(e,r){let[n,o]=e.toString().split("e"),a=(o===void 0?0:Number.parseInt(o,10))+r,i=`${n}e${a.toString()}`;return Number.parseFloat(i)}function lNe(...e){return lr(iNe(Math.ceil),e)}function Ki(...e){return lr(sNe,e)}const sNe=(e,{min:r,max:n})=>r!==void 0&&en?n:e;function cNe(...e){return lr(uNe,e)}const uNe=(e,r)=>[...e,...r],Ix={done:!1,hasNext:!1};function yn(e,...r){let n=e,o=r.map(i=>"lazy"in i?dNe(i):void 0),a=0;for(;ayn(a,o),o)}throw Error("Wrong number of arguments")}function To(...e){return lr(fNe,e)}const fNe=(e,r)=>e.length>=r,Zq={asc:(e,r)=>e>r,desc:(e,r)=>ee(i,a)}function BE(e,r,...n){let o=typeof e=="function"?e:e[0],a=typeof e=="function"?"asc":e[1],{[a]:i}=Zq,l=r===void 0?void 0:BE(r,...n);return(s,c)=>{let u=o(s),d=o(c);return i(u,d)?1:i(d,u)?-1:l?.(s,c)??0}}function gNe(e){if(Qq(e))return!0;if(typeof e!="object"||!Array.isArray(e))return!1;let[r,n,...o]=e;return Qq(r)&&typeof n=="string"&&n in Zq&&o.length===0}const Qq=e=>typeof e=="function"&&e.length===1;function jE(...e){return lr(Object.entries,e)}function df(...e){return lr(yNe,e,bNe)}const yNe=(e,r)=>e.filter(r),bNe=e=>(r,n,o)=>e(r,n,o)?{done:!1,hasNext:!0,next:r}:Ix,Jq=e=>Object.assign(e,{single:!0});function Lx(...e){return lr(vNe,e,Jq(xNe))}const vNe=(e,r)=>e.find(r),xNe=e=>(r,n,o)=>e(r,n,o)?{done:!0,hasNext:!0,next:r}:Ix;function pf(...e){return lr(wNe,e,Jq(kNe))}const wNe=([e])=>e,kNe=()=>_Ne,_Ne=e=>({hasNext:!0,next:e,done:!0});function ENe(...e){return lr(SNe,e,CNe)}const SNe=(e,r)=>e.flatMap(r),CNe=e=>(r,n,o)=>{let a=e(r,n,o);return Array.isArray(a)?{done:!1,hasNext:!0,hasMany:!0,next:a}:{done:!1,hasNext:!0,next:a}};function TNe(...e){return lr(RNe,e)}function RNe(e,r){for(let[n,o]of Object.entries(e))r(o,n,e);return e}function ANe(...e){return lr(NNe,e)}const NNe=(e,r)=>{let n=Object.create(null);for(let o=0;otypeof e=="function";function LNe(e){return e!==null}function tU(e){return e!=null}function rU(e){return e==null}function nU(e){return typeof e=="number"&&!Number.isNaN(e)}function qE(e){if(typeof e!="object"||!e)return!1;let r=Object.getPrototypeOf(e);return r===null||r===Object.prototype}function UE(e){return typeof e=="string"}function Sa(e){return!!e}function oU(...e){return lr(zNe,e)}const zNe=(e,r)=>e.join(r);function VE(...e){return lr(Object.keys,e)}function qd(...e){return lr(BNe,e)}const BNe=e=>e.at(-1);function Ro(...e){return lr(jNe,e,FNe)}const jNe=(e,r)=>e.map(r),FNe=e=>(r,n,o)=>({done:!1,hasNext:!0,next:e(r,n,o)});function E0(...e){return lr(HNe,e)}function HNe(e,r){let n={};for(let[o,a]of e.entries()){let[i,l]=r(a,o,e);n[i]=l}return n}function qNe(...e){return lr(UNe,e)}function UNe(e,r){let n={};for(let[o,a]of Object.entries(e))n[o]=r(a,o,e);return n}function aU(...e){return lr(iU,e)}function iU(e,r){let n={...e,...r};for(let o in r){if(!(o in e))continue;let{[o]:a}=e;if(!qE(a))continue;let{[o]:i}=r;qE(i)&&(n[o]=iU(a,i))}return n}function Ud(...e){return lr(VNe,e)}function VNe(e,r){if(!To(r,1))return{...e};if(!To(r,2)){let{[r[0]]:o,...a}=e;return a}let n={...e};for(let o of r)delete n[o];return n}function zx(...e){return lr(YNe,e)}const YNe=e=>e.length===1?e[0]:void 0;function lU(...e){return lr(WNe,e)}const WNe=(e,r)=>{let n=[[],[]];for(let[o,a]of e.entries())r(a,o,e)?n[0].push(a):n[1].push(a);return n};function sU(...e){return lr(GNe,e)}function GNe(e,r){let n={};for(let o of r)o in e&&(n[o]=e[o]);return n}function XNe(...e){return lr(KNe,e)}function KNe(e,r){let n={};for(let[o,a]of Object.entries(e))r(a,o,e)&&(n[o]=a);return n}function Ca(e,...r){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"?n=>cU(n,e,...r):cU(e,...r)}function cU(e,...r){let n=e;for(let o of r){if(n==null)return;n=n[o]}return n}function ZNe(...e){return lr(QNe,e)}function QNe(e,r){let n=[];for(let o=e;oe.reduce(r,n);function eDe(...e){return lr(tDe,e)}function tDe(e){return[...e].reverse()}function rDe(...e){return lr(nDe,e)}function nDe(e,r){let n=[...e];return n.sort(r),n}function Bx(...e){return mNe(oDe,e)}const oDe=(e,r)=>[...e].sort(r);function uU(...e){return lr(aDe,e)}function aDe(e,r){return r(e),e}function YE(...e){return hNe(iDe,e)}function iDe(){let e=new Set;return r=>e.has(r)?Ix:(e.add(r),{done:!1,hasNext:!0,next:r})}let Zi=[],lu=0;const jx=4;let lDe=e=>{let r=[],n={get(){return n.lc||n.listen(()=>{})(),n.value},lc:0,listen(o){return n.lc=r.push(o),()=>{for(let i=lu+jx;i"u")return EDe;var r=SDe(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,o-n+r[2]-r[0])}},TDe=mU(),ff="data-scroll-locked",RDe=function(e,r,n,o){var a=e.left,i=e.top,l=e.right,s=e.gap;return n===void 0&&(n="margin"),` - .`.concat(cDe,` { +`)),u=c.reduce((d,p)=>d.concat(...p),[]);return[c,u]}return[[],[]]},[e]);return S.useEffect(()=>{const c=r?.target??nq,u=r?.actInsideInputWithModifier??!0;if(e!==null){const d=g=>{if(a.current=g.ctrlKey||g.metaKey||g.shiftKey||g.altKey,(!a.current||a.current&&!u)&&uH(g))return!1;const b=aq(g.code,s);if(i.current.add(g[b]),oq(l,i.current,!1)){const x=g.composedPath?.()?.[0]||g.target,w=x?.nodeName==="BUTTON"||x?.nodeName==="A";r.preventDefault!==!1&&(a.current||!w)&&g.preventDefault(),o(!0)}},p=g=>{const b=aq(g.code,s);oq(l,i.current,!0)?(o(!1),i.current.clear()):i.current.delete(g[b]),g.key==="Meta"&&i.current.clear(),a.current=!1},f=()=>{i.current.clear(),o(!1)};return c?.addEventListener("keydown",d),c?.addEventListener("keyup",p),window.addEventListener("blur",f),window.addEventListener("contextmenu",f),()=>{c?.removeEventListener("keydown",d),c?.removeEventListener("keyup",p),window.removeEventListener("blur",f),window.removeEventListener("contextmenu",f)}}},[e,o]),n}function oq(e,r,n){return e.filter(o=>n||o.length===r.size).some(o=>o.every(a=>r.has(a)))}function aq(e,r){return r.includes(e)?"code":"key"}const ZTe=()=>{const e=yr();return S.useMemo(()=>({zoomIn:r=>{const{panZoom:n}=e.getState();return n?n.scaleBy(1.2,{duration:r?.duration}):Promise.resolve(!1)},zoomOut:r=>{const{panZoom:n}=e.getState();return n?n.scaleBy(1/1.2,{duration:r?.duration}):Promise.resolve(!1)},zoomTo:(r,n)=>{const{panZoom:o}=e.getState();return o?o.scaleTo(r,{duration:n?.duration}):Promise.resolve(!1)},getZoom:()=>e.getState().transform[2],setViewport:async(r,n)=>{const{transform:[o,a,i],panZoom:l}=e.getState();return l?(await l.setViewport({x:r.x??o,y:r.y??a,zoom:r.zoom??i},n),Promise.resolve(!0)):Promise.resolve(!1)},getViewport:()=>{const[r,n,o]=e.getState().transform;return{x:r,y:n,zoom:o}},setCenter:async(r,n,o)=>e.getState().setCenter(r,n,o),fitBounds:async(r,n)=>{const{width:o,height:a,minZoom:i,maxZoom:l,panZoom:s}=e.getState(),c=du(r,o,a,i,l,n?.padding??.1);return s?(await s.setViewport(c,{duration:n?.duration,ease:n?.ease,interpolate:n?.interpolate}),Promise.resolve(!0)):Promise.resolve(!1)},screenToFlowPosition:(r,n={})=>{const{transform:o,snapGrid:a,snapToGrid:i,domNode:l}=e.getState();if(!l)return r;const{x:s,y:c}=l.getBoundingClientRect(),u={x:r.x-s,y:r.y-c},d=n.snapGrid??a,p=n.snapToGrid??i;return T0(u,o,p,d)},flowToScreenPosition:r=>{const{transform:n,domNode:o}=e.getState();if(!o)return r;const{x:a,y:i}=o.getBoundingClientRect(),l=_x(r,n);return{x:l.x+a,y:l.y+i}}}),[])};function iq(e,r){const n=[],o=new Map,a=[];for(const i of e)if(i.type==="add"){a.push(i);continue}else if(i.type==="remove"||i.type==="replace")o.set(i.id,[i]);else{const l=o.get(i.id);l?l.push(i):o.set(i.id,[i])}for(const i of r){const l=o.get(i.id);if(!l){n.push(i);continue}if(l[0].type==="remove")continue;if(l[0].type==="replace"){n.push({...l[0].item});continue}const s={...i};for(const c of l)QTe(c,s);n.push(s)}return a.length&&a.forEach(i=>{i.index!==void 0?n.splice(i.index,0,{...i.item}):n.push({...i.item})}),n}function QTe(e,r){switch(e.type){case"select":{r.selected=e.selected;break}case"position":{typeof e.position<"u"&&(r.position=e.position),typeof e.dragging<"u"&&(r.dragging=e.dragging);break}case"dimensions":{typeof e.dimensions<"u"&&(r.measured??={},r.measured.width=e.dimensions.width,r.measured.height=e.dimensions.height,e.setAttributes&&((e.setAttributes===!0||e.setAttributes==="width")&&(r.width=e.dimensions.width),(e.setAttributes===!0||e.setAttributes==="height")&&(r.height=e.dimensions.height))),typeof e.resizing=="boolean"&&(r.resizing=e.resizing);break}}}function Dx(e,r){return iq(e,r)}function Px(e,r){return iq(e,r)}function Qd(e,r){return{id:e,type:"select",selected:r}}function yf(e,r=new Set,n=!1){const o=[];for(const[a,i]of e){const l=r.has(a);!(i.selected===void 0&&!l)&&i.selected!==l&&(n&&(i.selected=l),o.push(Qd(i.id,l)))}return o}function lq({items:e=[],lookup:r}){const n=[],o=new Map(e.map(a=>[a.id,a]));for(const[a,i]of e.entries()){const l=r.get(i.id),s=l?.internals?.userNode??l;s!==void 0&&s!==i&&n.push({id:i.id,item:i,type:"replace"}),s===void 0&&n.push({item:i,type:"add",index:a})}for(const[a]of r)o.get(a)===void 0&&n.push({id:a,type:"remove"});return n}function sq(e){return{id:e.id,type:"remove"}}const cq=e=>SCe(e),JTe=e=>JF(e);function uq(e){return S.forwardRef(e)}const eRe=typeof window<"u"?S.useLayoutEffect:S.useEffect;function dq(e){const[r,n]=S.useState(BigInt(0)),[o]=S.useState(()=>tRe(()=>n(a=>a+BigInt(1))));return eRe(()=>{const a=o.get();a.length&&(e(a),o.reset())},[r]),o}function tRe(e){let r=[];return{get:()=>r,reset:()=>{r=[]},push:n=>{r.push(n),e()}}}const pq=S.createContext(null);function rRe({children:e}){const r=yr(),n=S.useCallback(s=>{const{nodes:c=[],setNodes:u,hasDefaultNodes:d,onNodesChange:p,nodeLookup:f,fitViewQueued:g}=r.getState();let b=c;for(const w of s)b=typeof w=="function"?w(b):w;const x=lq({items:b,lookup:f});d&&u(b),x.length>0?p?.(x):g&&window.requestAnimationFrame(()=>{const{fitViewQueued:w,nodes:k,setNodes:C}=r.getState();w&&C(k)})},[]),o=dq(n),a=S.useCallback(s=>{const{edges:c=[],setEdges:u,hasDefaultEdges:d,onEdgesChange:p,edgeLookup:f}=r.getState();let g=c;for(const b of s)g=typeof b=="function"?b(g):b;d?u(g):p&&p(lq({items:g,lookup:f}))},[]),i=dq(a),l=S.useMemo(()=>({nodeQueue:o,edgeQueue:i}),[]);return y.jsx(pq.Provider,{value:l,children:e})}function nRe(){const e=S.useContext(pq);if(!e)throw new Error("useBatchContext must be used within a BatchProvider");return e}const oRe=e=>!!e.panZoom;function bf(){const e=ZTe(),r=yr(),n=nRe(),o=At(oRe),a=S.useMemo(()=>{const i=p=>r.getState().nodeLookup.get(p),l=p=>{n.nodeQueue.push(p)},s=p=>{n.edgeQueue.push(p)},c=p=>{const{nodeLookup:f,nodeOrigin:g}=r.getState(),b=cq(p)?p:f.get(p.id),x=b.parentId?lH(b.position,b.measured,b.parentId,f,g):b.position,w={...b,position:x,width:b.measured?.width??b.width,height:b.measured?.height??b.height};return Zd(w)},u=(p,f,g={replace:!1})=>{l(b=>b.map(x=>{if(x.id===p){const w=typeof f=="function"?f(x):f;return g.replace&&cq(w)?w:{...x,...w}}return x}))},d=(p,f,g={replace:!1})=>{s(b=>b.map(x=>{if(x.id===p){const w=typeof f=="function"?f(x):f;return g.replace&&JTe(w)?w:{...x,...w}}return x}))};return{getNodes:()=>r.getState().nodes.map(p=>({...p})),getNode:p=>i(p)?.internals.userNode,getInternalNode:i,getEdges:()=>{const{edges:p=[]}=r.getState();return p.map(f=>({...f}))},getEdge:p=>r.getState().edgeLookup.get(p),setNodes:l,setEdges:s,addNodes:p=>{const f=Array.isArray(p)?p:[p];n.nodeQueue.push(g=>[...g,...f])},addEdges:p=>{const f=Array.isArray(p)?p:[p];n.edgeQueue.push(g=>[...g,...f])},toObject:()=>{const{nodes:p=[],edges:f=[],transform:g}=r.getState(),[b,x,w]=g;return{nodes:p.map(k=>({...k})),edges:f.map(k=>({...k})),viewport:{x:b,y:x,zoom:w}}},deleteElements:async({nodes:p=[],edges:f=[]})=>{const{nodes:g,edges:b,onNodesDelete:x,onEdgesDelete:w,triggerNodeChanges:k,triggerEdgeChanges:C,onDelete:_,onBeforeDelete:T}=r.getState(),{nodes:R,edges:A}=await ACe({nodesToRemove:p,edgesToRemove:f,nodes:g,edges:b,onBeforeDelete:T}),D=A.length>0,N=R.length>0;if(D){const $=A.map(sq);w?.(A),C($)}if(N){const $=R.map(sq);x?.(R),k($)}return(N||D)&&_?.({nodes:R,edges:A}),{deletedNodes:R,deletedEdges:A}},getIntersectingNodes:(p,f=!0,g)=>{const b=aH(p),x=b?p:c(p),w=g!==void 0;return x?(g||r.getState().nodes).filter(k=>{const C=r.getState().nodeLookup.get(k.id);if(C&&!b&&(k.id===p.id||!C.internals.positionAbsolute))return!1;const _=Zd(w?k:C),T=S0(_,x);return f&&T>0||T>=_.width*_.height||T>=x.width*x.height}):[]},isNodeIntersecting:(p,f,g=!0)=>{const b=aH(p)?p:c(p);if(!b)return!1;const x=S0(b,f);return g&&x>0||x>=f.width*f.height||x>=b.width*b.height},updateNode:u,updateNodeData:(p,f,g={replace:!1})=>{u(p,b=>{const x=typeof f=="function"?f(b):f;return g.replace?{...b,data:x}:{...b,data:{...b.data,...x}}},g)},updateEdge:d,updateEdgeData:(p,f,g={replace:!1})=>{d(p,b=>{const x=typeof f=="function"?f(b):f;return g.replace?{...b,data:x}:{...b,data:{...b.data,...x}}},g)},getNodesBounds:p=>{const{nodeLookup:f,nodeOrigin:g}=r.getState();return eH(p,{nodeLookup:f,nodeOrigin:g})},getHandleConnections:({type:p,id:f,nodeId:g})=>Array.from(r.getState().connectionLookup.get(`${g}-${p}${f?`-${f}`:""}`)?.values()??[]),getNodeConnections:({type:p,handleId:f,nodeId:g})=>Array.from(r.getState().connectionLookup.get(`${g}${p?f?`-${p}-${f}`:`-${p}`:""}`)?.values()??[]),fitView:async p=>{const f=r.getState().fitViewResolver??$Ce();return r.setState({fitViewQueued:!0,fitViewOptions:p,fitViewResolver:f}),n.nodeQueue.push(g=>[...g]),f.promise}}},[]);return S.useMemo(()=>({...a,...e,viewportInitialized:o}),[o])}const hq=e=>e.selected,aRe=typeof window<"u"?window:void 0;function iRe({deleteKeyCode:e,multiSelectionKeyCode:r}){const n=yr(),{deleteElements:o}=bf(),a=N0(e,{actInsideInputWithModifier:!1}),i=N0(r,{target:aRe});S.useEffect(()=>{if(a){const{edges:l,nodes:s}=n.getState();o({nodes:s.filter(hq),edges:l.filter(hq)}),n.setState({nodesSelectionActive:!1})}},[a]),S.useEffect(()=>{n.setState({multiSelectionActive:i})},[i])}function lRe(e){const r=yr();S.useEffect(()=>{const n=()=>{if(!e.current||!(e.current.checkVisibility?.()??!0))return!1;const o=TE(e.current);(o.height===0||o.width===0)&&r.getState().onError?.("004",ts.error004()),r.setState({width:o.width||500,height:o.height||500})};if(e.current){n(),window.addEventListener("resize",n);const o=new ResizeObserver(()=>n());return o.observe(e.current),()=>{window.removeEventListener("resize",n),o&&e.current&&o.unobserve(e.current)}}},[])}const $x={position:"absolute",width:"100%",height:"100%",top:0,left:0},sRe=e=>({userSelectionActive:e.userSelectionActive,lib:e.lib,connectionInProgress:e.connection.inProgress});function cRe({onPaneContextMenu:e,zoomOnScroll:r=!0,zoomOnPinch:n=!0,panOnScroll:o=!1,panOnScrollSpeed:a=.5,panOnScrollMode:i=Xd.Free,zoomOnDoubleClick:l=!0,panOnDrag:s=!0,defaultViewport:c,translateExtent:u,minZoom:d,maxZoom:p,zoomActivationKeyCode:f,preventScrolling:g=!0,children:b,noWheelClassName:x,noPanClassName:w,onViewportChange:k,isControlledViewport:C,paneClickDistance:_}){const T=yr(),R=S.useRef(null),{userSelectionActive:A,lib:D,connectionInProgress:N}=At(sRe,$r),$=N0(f),O=S.useRef();lRe(R);const j=S.useCallback(L=>{k?.({x:L[0],y:L[1],zoom:L[2]}),C||T.setState({transform:L})},[k,C]);return S.useEffect(()=>{if(R.current){O.current=gTe({domNode:R.current,minZoom:d,maxZoom:p,translateExtent:u,viewport:c,paneClickDistance:_,onDraggingChange:q=>T.setState({paneDragging:q}),onPanZoomStart:(q,z)=>{const{onViewportChangeStart:H,onMoveStart:U}=T.getState();U?.(q,z),H?.(z)},onPanZoom:(q,z)=>{const{onViewportChange:H,onMove:U}=T.getState();U?.(q,z),H?.(z)},onPanZoomEnd:(q,z)=>{const{onViewportChangeEnd:H,onMoveEnd:U}=T.getState();U?.(q,z),H?.(z)}});const{x:L,y:Y,zoom:M}=O.current.getViewport();return T.setState({panZoom:O.current,transform:[L,Y,M],domNode:R.current.closest(".react-flow")}),()=>{O.current?.destroy()}}},[]),S.useEffect(()=>{O.current?.update({onPaneContextMenu:e,zoomOnScroll:r,zoomOnPinch:n,panOnScroll:o,panOnScrollSpeed:a,panOnScrollMode:i,zoomOnDoubleClick:l,panOnDrag:s,zoomActivationKeyPressed:$,preventScrolling:g,noPanClassName:w,userSelectionActive:A,noWheelClassName:x,lib:D,onTransformChange:j,connectionInProgress:N})},[e,r,n,o,a,i,l,s,$,g,w,A,x,D,j,N]),y.jsx("div",{className:"react-flow__renderer",ref:R,style:$x,children:b})}const uRe=e=>({userSelectionActive:e.userSelectionActive,userSelectionRect:e.userSelectionRect});function dRe(){const{userSelectionActive:e,userSelectionRect:r}=At(uRe,$r);return e&&r?y.jsx("div",{className:"react-flow__selection react-flow__container",style:{width:r.width,height:r.height,transform:`translate(${r.x}px, ${r.y}px)`}}):null}const FE=(e,r)=>n=>{n.target===r.current&&e?.(n)},pRe=e=>({userSelectionActive:e.userSelectionActive,elementsSelectable:e.elementsSelectable,connectionInProgress:e.connection.inProgress,dragging:e.paneDragging});function hRe({isSelecting:e,selectionKeyPressed:r,selectionMode:n=k0.Full,panOnDrag:o,selectionOnDrag:a,onSelectionStart:i,onSelectionEnd:l,onPaneClick:s,onPaneContextMenu:c,onPaneScroll:u,onPaneMouseEnter:d,onPaneMouseMove:p,onPaneMouseLeave:f,children:g}){const b=yr(),{userSelectionActive:x,elementsSelectable:w,dragging:k,connectionInProgress:C}=At(pRe,$r),_=w&&(e||x),T=S.useRef(null),R=S.useRef(),A=S.useRef(new Set),D=S.useRef(new Set),N=S.useRef(!1),$=S.useRef(!1),O=U=>{if(N.current||C){N.current=!1;return}s?.(U),b.getState().resetSelectedElements(),b.setState({nodesSelectionActive:!1})},j=U=>{if(Array.isArray(o)&&o?.includes(2)){U.preventDefault();return}c?.(U)},L=u?U=>u(U):void 0,Y=U=>{(a&&T.current===U.target||!a||r)&&U.stopPropagation()},M=U=>{const{resetSelectedElements:K,domNode:V}=b.getState();R.current=V?.getBoundingClientRect();const X=U.target!==T.current&&!!U.target.closest(".nokey"),Z=a&&T.current===U.target||!a||r;if(!w||!e||U.button!==0||!R.current||X||!Z||!U.isPrimary)return;U.stopPropagation(),U.preventDefault(),U.target?.setPointerCapture?.(U.pointerId),$.current=!0,N.current=!1;const{x:B,y:W}=Ki(U.nativeEvent,R.current);K(),b.setState({userSelectionRect:{width:0,height:0,startX:B,startY:W,x:B,y:W}}),i?.(U)},q=U=>{const{userSelectionRect:K,transform:V,nodeLookup:X,edgeLookup:Z,connectionLookup:B,triggerNodeChanges:W,triggerEdgeChanges:Q,defaultEdgeOptions:J}=b.getState();if(!R.current||!K)return;N.current=!0;const{x:ne,y:te}=Ki(U.nativeEvent,R.current),{startX:ee,startY:pe}=K,Te={startX:ee,startY:pe,x:neDe.id)),D.current=new Set;const xe=J?.selectable??!0;for(const De of A.current){const Ge=B.get(De);if(Ge)for(const{edgeId:et}of Ge.values()){const ft=Z.get(et);ft&&(ft.selectable??xe)&&D.current.add(et)}}if(!sH(ce,A.current)){const De=yf(X,A.current,!0);W(De)}if(!sH(de,D.current)){const De=yf(Z,D.current);Q(De)}b.setState({userSelectionRect:Te,userSelectionActive:!0,nodesSelectionActive:!1})},z=U=>{if(U.button!==0||!$.current)return;U.target?.releasePointerCapture?.(U.pointerId);const{userSelectionRect:K}=b.getState();!x&&K&&U.target===T.current&&O?.(U),b.setState({userSelectionActive:!1,userSelectionRect:null,nodesSelectionActive:A.current.size>0}),l?.(U),(r||a)&&(N.current=!1),$.current=!1},H=o===!0||Array.isArray(o)&&o.includes(0);return y.jsxs("div",{className:dn(["react-flow__pane",{draggable:H,dragging:k,selection:e}]),onClick:_?void 0:FE(O,T),onContextMenu:FE(j,T),onWheel:FE(L,T),onPointerEnter:_?void 0:d,onPointerMove:_?q:p,onPointerUp:_?z:void 0,onPointerDownCapture:_?M:void 0,onClickCapture:_?Y:void 0,onPointerLeave:f,ref:T,style:$x,children:[g,y.jsx(dRe,{})]})}function HE({id:e,store:r,unselect:n=!1,nodeRef:o}){const{addSelectedNodes:a,unselectNodesAndEdges:i,multiSelectionActive:l,nodeLookup:s,onError:c}=r.getState(),u=s.get(e);if(!u){c?.("012",ts.error012(e));return}r.setState({nodesSelectionActive:!1}),u.selected?(n||u.selected&&l)&&(i({nodes:[u],edges:[]}),requestAnimationFrame(()=>o?.current?.blur())):a([e])}function fq({nodeRef:e,disabled:r=!1,noDragClassName:n,handleSelector:o,nodeId:a,isSelectable:i,nodeClickDistance:l}){const s=yr(),[c,u]=S.useState(!1),d=S.useRef();return S.useEffect(()=>{d.current=rTe({getStoreItems:()=>s.getState(),onNodeMouseDown:p=>{HE({id:p,store:s,nodeRef:e})},onDragStart:()=>{u(!0)},onDragStop:()=>{u(!1)}})},[]),S.useEffect(()=>{if(r)d.current?.destroy();else if(e.current)return d.current?.update({noDragClassName:n,handleSelector:o,domNode:e.current,isSelectable:i,nodeId:a,nodeClickDistance:l}),()=>{d.current?.destroy()}},[n,o,r,i,e,a]),c}const fRe=e=>r=>r.selected&&(r.draggable||e&&typeof r.draggable>"u");function mq(){const e=yr();return S.useCallback(r=>{const{nodeExtent:n,snapToGrid:o,snapGrid:a,nodesDraggable:i,onError:l,updateNodePositions:s,nodeLookup:c,nodeOrigin:u}=e.getState(),d=new Map,p=fRe(i),f=o?a[0]:5,g=o?a[1]:5,b=r.direction.x*f*r.factor,x=r.direction.y*g*r.factor;for(const[,w]of c){if(!p(w))continue;let k={x:w.internals.positionAbsolute.x+b,y:w.internals.positionAbsolute.y+x};o&&(k=C0(k,a));const{position:C,positionAbsolute:_}=tH({nodeId:w.id,nextPosition:k,nodeLookup:c,nodeExtent:n,nodeOrigin:u,onError:l});w.position=C,w.internals.positionAbsolute=_,d.set(w.id,w)}s(d)},[])}const qE=S.createContext(null),mRe=qE.Provider;qE.Consumer;const UE=()=>S.useContext(qE),gRe=e=>({connectOnClick:e.connectOnClick,noPanClassName:e.noPanClassName,rfId:e.rfId}),yRe=(e,r,n)=>o=>{const{connectionClickStartHandle:a,connectionMode:i,connection:l}=o,{fromHandle:s,toHandle:c,isValid:u}=l,d=c?.nodeId===e&&c?.id===r&&c?.type===n;return{connectingFrom:s?.nodeId===e&&s?.id===r&&s?.type===n,connectingTo:d,clickConnecting:a?.nodeId===e&&a?.id===r&&a?.type===n,isPossibleEndHandle:i===cf.Strict?s?.type!==n:e!==s?.nodeId||r!==s?.id,connectionInProcess:!!s,clickConnectionInProcess:!!a,valid:d&&u}};function bRe({type:e="source",position:r=tt.Top,isValidConnection:n,isConnectable:o=!0,isConnectableStart:a=!0,isConnectableEnd:i=!0,id:l,onConnect:s,children:c,className:u,onMouseDown:d,onTouchStart:p,...f},g){const b=l||null,x=e==="target",w=yr(),k=UE(),{connectOnClick:C,noPanClassName:_,rfId:T}=At(gRe,$r),{connectingFrom:R,connectingTo:A,clickConnecting:D,isPossibleEndHandle:N,connectionInProcess:$,clickConnectionInProcess:O,valid:j}=At(yRe(k,b,e),$r);k||w.getState().onError?.("010",ts.error010());const L=q=>{const{defaultEdgeOptions:z,onConnect:H,hasDefaultEdges:U}=w.getState(),K={...z,...q};if(U){const{edges:V,setEdges:X}=w.getState();X(jCe(K,V))}H?.(K),s?.(K)},Y=q=>{if(!k)return;const z=dH(q.nativeEvent);if(a&&(z&&q.button===0||!z)){const H=w.getState();OE.onPointerDown(q.nativeEvent,{handleDomNode:q.currentTarget,autoPanOnConnect:H.autoPanOnConnect,connectionMode:H.connectionMode,connectionRadius:H.connectionRadius,domNode:H.domNode,nodeLookup:H.nodeLookup,lib:H.lib,isTarget:x,handleId:b,nodeId:k,flowId:H.rfId,panBy:H.panBy,cancelConnection:H.cancelConnection,onConnectStart:H.onConnectStart,onConnectEnd:H.onConnectEnd,updateConnection:H.updateConnection,onConnect:L,isValidConnection:n||H.isValidConnection,getTransform:()=>w.getState().transform,getFromHandle:()=>w.getState().connection.fromHandle,autoPanSpeed:H.autoPanSpeed,dragThreshold:H.connectionDragThreshold})}z?d?.(q):p?.(q)},M=q=>{const{onClickConnectStart:z,onClickConnectEnd:H,connectionClickStartHandle:U,connectionMode:K,isValidConnection:V,lib:X,rfId:Z,nodeLookup:B,connection:W}=w.getState();if(!k||!U&&!a)return;if(!U){z?.(q.nativeEvent,{nodeId:k,handleId:b,handleType:e}),w.setState({connectionClickStartHandle:{nodeId:k,type:e,id:b}});return}const Q=cH(q.target),J=n||V,{connection:ne,isValid:te}=OE.isValid(q.nativeEvent,{handle:{nodeId:k,id:b,type:e},connectionMode:K,fromNodeId:U.nodeId,fromHandleId:U.id||null,fromType:U.type,isValidConnection:J,flowId:Z,doc:Q,lib:X,nodeLookup:B});te&&ne&&L(ne);const ee=structuredClone(W);delete ee.inProgress,ee.toPosition=ee.toHandle?ee.toHandle.position:null,H?.(q,ee),w.setState({connectionClickStartHandle:null})};return y.jsx("div",{"data-handleid":b,"data-nodeid":k,"data-handlepos":r,"data-id":`${T}-${k}-${b}-${e}`,className:dn(["react-flow__handle",`react-flow__handle-${r}`,"nodrag",_,u,{source:!x,target:x,connectable:o,connectablestart:a,connectableend:i,clickconnecting:D,connectingfrom:R,connectingto:A,valid:j,connectionindicator:o&&(!$||N)&&($||O?i:a)}]),onMouseDown:Y,onTouchStart:Y,onClick:C?M:void 0,ref:g,...f,children:c})}const fo=S.memo(uq(bRe));function vRe({data:e,isConnectable:r,sourcePosition:n=tt.Bottom}){return y.jsxs(y.Fragment,{children:[e?.label,y.jsx(fo,{type:"source",position:n,isConnectable:r})]})}function xRe({data:e,isConnectable:r,targetPosition:n=tt.Top,sourcePosition:o=tt.Bottom}){return y.jsxs(y.Fragment,{children:[y.jsx(fo,{type:"target",position:n,isConnectable:r}),e?.label,y.jsx(fo,{type:"source",position:o,isConnectable:r})]})}function wRe(){return null}function kRe({data:e,isConnectable:r,targetPosition:n=tt.Top}){return y.jsxs(y.Fragment,{children:[y.jsx(fo,{type:"target",position:n,isConnectable:r}),e?.label]})}const Mx={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},gq={input:vRe,default:xRe,output:kRe,group:wRe};function _Re(e){return e.internals.handleBounds===void 0?{width:e.width??e.initialWidth??e.style?.width,height:e.height??e.initialHeight??e.style?.height}:{width:e.width??e.style?.width,height:e.height??e.style?.height}}const ERe=e=>{const{width:r,height:n,x:o,y:a}=uf(e.nodeLookup,{filter:i=>!!i.selected});return{width:Xi(r)?r:null,height:Xi(n)?n:null,userSelectionActive:e.userSelectionActive,transformString:`translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]}) translate(${o}px,${a}px)`}};function SRe({onSelectionContextMenu:e,noPanClassName:r,disableKeyboardA11y:n}){const o=yr(),{width:a,height:i,transformString:l,userSelectionActive:s}=At(ERe,$r),c=mq(),u=S.useRef(null);if(S.useEffect(()=>{n||u.current?.focus({preventScroll:!0})},[n]),fq({nodeRef:u}),s||!a||!i)return null;const d=e?f=>{const g=o.getState().nodes.filter(b=>b.selected);e(f,g)}:void 0,p=f=>{Object.prototype.hasOwnProperty.call(Mx,f.key)&&(f.preventDefault(),c({direction:Mx[f.key],factor:f.shiftKey?4:1}))};return y.jsx("div",{className:dn(["react-flow__nodesselection","react-flow__container",r]),style:{transform:l},children:y.jsx("div",{ref:u,className:"react-flow__nodesselection-rect",onContextMenu:d,tabIndex:n?void 0:-1,onKeyDown:n?void 0:p,style:{width:a,height:i}})})}const yq=typeof window<"u"?window:void 0,CRe=e=>({nodesSelectionActive:e.nodesSelectionActive,userSelectionActive:e.userSelectionActive});function bq({children:e,onPaneClick:r,onPaneMouseEnter:n,onPaneMouseMove:o,onPaneMouseLeave:a,onPaneContextMenu:i,onPaneScroll:l,paneClickDistance:s,deleteKeyCode:c,selectionKeyCode:u,selectionOnDrag:d,selectionMode:p,onSelectionStart:f,onSelectionEnd:g,multiSelectionKeyCode:b,panActivationKeyCode:x,zoomActivationKeyCode:w,elementsSelectable:k,zoomOnScroll:C,zoomOnPinch:_,panOnScroll:T,panOnScrollSpeed:R,panOnScrollMode:A,zoomOnDoubleClick:D,panOnDrag:N,defaultViewport:$,translateExtent:O,minZoom:j,maxZoom:L,preventScrolling:Y,onSelectionContextMenu:M,noWheelClassName:q,noPanClassName:z,disableKeyboardA11y:H,onViewportChange:U,isControlledViewport:K}){const{nodesSelectionActive:V,userSelectionActive:X}=At(CRe),Z=N0(u,{target:yq}),B=N0(x,{target:yq}),W=B||N,Q=B||T,J=d&&W!==!0,ne=Z||X||J;return iRe({deleteKeyCode:c,multiSelectionKeyCode:b}),y.jsx(cRe,{onPaneContextMenu:i,elementsSelectable:k,zoomOnScroll:C,zoomOnPinch:_,panOnScroll:Q,panOnScrollSpeed:R,panOnScrollMode:A,zoomOnDoubleClick:D,panOnDrag:!Z&&W,defaultViewport:$,translateExtent:O,minZoom:j,maxZoom:L,zoomActivationKeyCode:w,preventScrolling:Y,noWheelClassName:q,noPanClassName:z,onViewportChange:U,isControlledViewport:K,paneClickDistance:s,children:y.jsxs(hRe,{onSelectionStart:f,onSelectionEnd:g,onPaneClick:r,onPaneMouseEnter:n,onPaneMouseMove:o,onPaneMouseLeave:a,onPaneContextMenu:i,onPaneScroll:l,panOnDrag:W,isSelecting:!!ne,selectionMode:p,selectionKeyPressed:Z,selectionOnDrag:J,children:[e,V&&y.jsx(SRe,{onSelectionContextMenu:M,noPanClassName:z,disableKeyboardA11y:H})]})})}bq.displayName="FlowRenderer";const TRe=S.memo(bq),RRe=e=>r=>e?SE(r.nodeLookup,{x:0,y:0,width:r.width,height:r.height},r.transform,!0).map(n=>n.id):Array.from(r.nodeLookup.keys());function ARe(e){return At(S.useCallback(RRe(e),[e]),$r)}const NRe=e=>e.updateNodeInternals;function DRe(){const e=At(NRe),[r]=S.useState(()=>typeof ResizeObserver>"u"?null:new ResizeObserver(n=>{const o=new Map;n.forEach(a=>{const i=a.target.getAttribute("data-id");o.set(i,{id:i,nodeElement:a.target,force:!0})}),e(o)}));return S.useEffect(()=>()=>{r?.disconnect()},[r]),r}function PRe({node:e,nodeType:r,hasDimensions:n,resizeObserver:o}){const a=yr(),i=S.useRef(null),l=S.useRef(null),s=S.useRef(e.sourcePosition),c=S.useRef(e.targetPosition),u=S.useRef(r),d=n&&!!e.internals.handleBounds;return S.useEffect(()=>{i.current&&!e.hidden&&(!d||l.current!==i.current)&&(l.current&&o?.unobserve(l.current),o?.observe(i.current),l.current=i.current)},[d,e.hidden]),S.useEffect(()=>()=>{l.current&&(o?.unobserve(l.current),l.current=null)},[]),S.useEffect(()=>{if(i.current){const p=u.current!==r,f=s.current!==e.sourcePosition,g=c.current!==e.targetPosition;(p||f||g)&&(u.current=r,s.current=e.sourcePosition,c.current=e.targetPosition,a.getState().updateNodeInternals(new Map([[e.id,{id:e.id,nodeElement:i.current,force:!0}]])))}},[e.id,r,e.sourcePosition,e.targetPosition]),i}function $Re({id:e,onClick:r,onMouseEnter:n,onMouseMove:o,onMouseLeave:a,onContextMenu:i,onDoubleClick:l,nodesDraggable:s,elementsSelectable:c,nodesConnectable:u,nodesFocusable:d,resizeObserver:p,noDragClassName:f,noPanClassName:g,disableKeyboardA11y:b,rfId:x,nodeTypes:w,nodeClickDistance:k,onError:C}){const{node:_,internals:T,isParent:R}=At(te=>{const ee=te.nodeLookup.get(e),pe=te.parentLookup.has(e);return{node:ee,internals:ee.internals,isParent:pe}},$r);let A=_.type||"default",D=w?.[A]||gq[A];D===void 0&&(C?.("003",ts.error003(A)),A="default",D=w?.default||gq.default);const N=!!(_.draggable||s&&typeof _.draggable>"u"),$=!!(_.selectable||c&&typeof _.selectable>"u"),O=!!(_.connectable||u&&typeof _.connectable>"u"),j=!!(_.focusable||d&&typeof _.focusable>"u"),L=yr(),Y=iH(_),M=PRe({node:_,nodeType:A,hasDimensions:Y,resizeObserver:p}),q=fq({nodeRef:M,disabled:_.hidden||!N,noDragClassName:f,handleSelector:_.dragHandle,nodeId:e,isSelectable:$,nodeClickDistance:k}),z=mq();if(_.hidden)return null;const H=Qn(_),U=_Re(_),K=$||N||r||n||o||a,V=n?te=>n(te,{...T.userNode}):void 0,X=o?te=>o(te,{...T.userNode}):void 0,Z=a?te=>a(te,{...T.userNode}):void 0,B=i?te=>i(te,{...T.userNode}):void 0,W=l?te=>l(te,{...T.userNode}):void 0,Q=te=>{const{selectNodesOnDrag:ee,nodeDragThreshold:pe}=L.getState();$&&(!ee||!N||pe>0)&&HE({id:e,store:L,nodeRef:M}),r&&r(te,{...T.userNode})},J=te=>{if(!(uH(te.nativeEvent)||b)){if(GF.includes(te.key)&&$){const ee=te.key==="Escape";HE({id:e,store:L,unselect:ee,nodeRef:M})}else if(N&&_.selected&&Object.prototype.hasOwnProperty.call(Mx,te.key)){te.preventDefault();const{ariaLabelConfig:ee}=L.getState();L.setState({ariaLiveMessage:ee["node.a11yDescription.ariaLiveMessage"]({direction:te.key.replace("Arrow","").toLowerCase(),x:~~T.positionAbsolute.x,y:~~T.positionAbsolute.y})}),z({direction:Mx[te.key],factor:te.shiftKey?4:1})}}},ne=()=>{if(b||!M.current?.matches(":focus-visible"))return;const{transform:te,width:ee,height:pe,autoPanOnNodeFocus:Te,setCenter:ce}=L.getState();Te&&(SE(new Map([[e,_]]),{x:0,y:0,width:ee,height:pe},te,!0).length>0||ce(_.position.x+H.width/2,_.position.y+H.height/2,{zoom:te[2]}))};return y.jsx("div",{className:dn(["react-flow__node",`react-flow__node-${A}`,{[g]:N},_.className,{selected:_.selected,selectable:$,parent:R,draggable:N,dragging:q}]),ref:M,style:{zIndex:T.z,transform:`translate(${T.positionAbsolute.x}px,${T.positionAbsolute.y}px)`,pointerEvents:K?"all":"none",visibility:Y?"visible":"hidden",..._.style,...U},"data-id":e,"data-testid":`rf__node-${e}`,onMouseEnter:V,onMouseMove:X,onMouseLeave:Z,onContextMenu:B,onClick:Q,onDoubleClick:W,onKeyDown:j?J:void 0,tabIndex:j?0:void 0,onFocus:j?ne:void 0,role:_.ariaRole??(j?"group":void 0),"aria-roledescription":"node","aria-describedby":b?void 0:`${ZH}-${x}`,"aria-label":_.ariaLabel,..._.domAttributes,children:y.jsx(mRe,{value:e,children:y.jsx(D,{id:e,data:_.data,type:A,positionAbsoluteX:T.positionAbsolute.x,positionAbsoluteY:T.positionAbsolute.y,selected:_.selected??!1,selectable:$,draggable:N,deletable:_.deletable??!0,isConnectable:O,sourcePosition:_.sourcePosition,targetPosition:_.targetPosition,dragging:q,dragHandle:_.dragHandle,zIndex:T.z,parentId:_.parentId,...H})})})}var MRe=S.memo($Re);const ORe=e=>({nodesDraggable:e.nodesDraggable,nodesConnectable:e.nodesConnectable,nodesFocusable:e.nodesFocusable,elementsSelectable:e.elementsSelectable,onError:e.onError});function vq(e){const{nodesDraggable:r,nodesConnectable:n,nodesFocusable:o,elementsSelectable:a,onError:i}=At(ORe,$r),l=ARe(e.onlyRenderVisibleElements),s=DRe();return y.jsx("div",{className:"react-flow__nodes",style:$x,children:l.map(c=>y.jsx(MRe,{id:c,nodeTypes:e.nodeTypes,nodeExtent:e.nodeExtent,onClick:e.onNodeClick,onMouseEnter:e.onNodeMouseEnter,onMouseMove:e.onNodeMouseMove,onMouseLeave:e.onNodeMouseLeave,onContextMenu:e.onNodeContextMenu,onDoubleClick:e.onNodeDoubleClick,noDragClassName:e.noDragClassName,noPanClassName:e.noPanClassName,rfId:e.rfId,disableKeyboardA11y:e.disableKeyboardA11y,resizeObserver:s,nodesDraggable:r,nodesConnectable:n,nodesFocusable:o,elementsSelectable:a,nodeClickDistance:e.nodeClickDistance,onError:i},c))})}vq.displayName="NodeRenderer";const IRe=S.memo(vq);function zRe(e){return At(S.useCallback(r=>{if(!e)return r.edges.map(o=>o.id);const n=[];if(r.width&&r.height)for(const o of r.edges){const a=r.nodeLookup.get(o.source),i=r.nodeLookup.get(o.target);a&&i&&zCe({sourceNode:a,targetNode:i,width:r.width,height:r.height,transform:r.transform})&&n.push(o.id)}return n},[e]),$r)}const LRe=({color:e="none",strokeWidth:r=1})=>{const n={strokeWidth:r,...e&&{stroke:e}};return y.jsx("polyline",{className:"arrow",style:n,strokeLinecap:"round",fill:"none",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4"})},BRe=({color:e="none",strokeWidth:r=1})=>{const n={strokeWidth:r,...e&&{stroke:e,fill:e}};return y.jsx("polyline",{className:"arrowclosed",style:n,strokeLinecap:"round",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4 -5,-4"})},xq={[vx.Arrow]:LRe,[vx.ArrowClosed]:BRe};function jRe(e){const r=yr();return S.useMemo(()=>Object.prototype.hasOwnProperty.call(xq,e)?xq[e]:(r.getState().onError?.("009",ts.error009(e)),null),[e])}const FRe=({id:e,type:r,color:n,width:o=12.5,height:a=12.5,markerUnits:i="strokeWidth",strokeWidth:l,orient:s="auto-start-reverse"})=>{const c=jRe(r);return c?y.jsx("marker",{className:"react-flow__arrowhead",id:e,markerWidth:`${o}`,markerHeight:`${a}`,viewBox:"-10 -10 20 20",markerUnits:i,orient:s,refX:"0",refY:"0",children:y.jsx(c,{color:n,strokeWidth:l})}):null},wq=({defaultColor:e,rfId:r})=>{const n=At(i=>i.edges),o=At(i=>i.defaultEdgeOptions),a=S.useMemo(()=>UCe(n,{id:r,defaultColor:e,defaultMarkerStart:o?.markerStart,defaultMarkerEnd:o?.markerEnd}),[n,o,r,e]);return a.length?y.jsx("svg",{className:"react-flow__marker","aria-hidden":"true",children:y.jsx("defs",{children:a.map(i=>y.jsx(FRe,{id:i.id,type:i.type,color:i.color,width:i.width,height:i.height,markerUnits:i.markerUnits,strokeWidth:i.strokeWidth,orient:i.orient},i.id))})}):null};wq.displayName="MarkerDefinitions";var HRe=S.memo(wq);function kq({x:e,y:r,label:n,labelStyle:o,labelShowBg:a=!0,labelBgStyle:i,labelBgPadding:l=[2,4],labelBgBorderRadius:s=2,children:c,className:u,...d}){const[p,f]=S.useState({x:1,y:0,width:0,height:0}),g=dn(["react-flow__edge-textwrapper",u]),b=S.useRef(null);return S.useEffect(()=>{if(b.current){const x=b.current.getBBox();f({x:x.x,y:x.y,width:x.width,height:x.height})}},[n]),n?y.jsxs("g",{transform:`translate(${e-p.width/2} ${r-p.height/2})`,className:g,visibility:p.width?"visible":"hidden",...d,children:[a&&y.jsx("rect",{width:p.width+2*l[0],x:-l[0],y:-l[1],height:p.height+2*l[1],className:"react-flow__edge-textbg",style:i,rx:s,ry:s}),y.jsx("text",{className:"react-flow__edge-text",y:p.height/2,dy:"0.3em",ref:b,style:o,children:n}),c]}):null}kq.displayName="EdgeText";const qRe=S.memo(kq);function Ox({path:e,labelX:r,labelY:n,label:o,labelStyle:a,labelShowBg:i,labelBgStyle:l,labelBgPadding:s,labelBgBorderRadius:c,interactionWidth:u=20,...d}){return y.jsxs(y.Fragment,{children:[y.jsx("path",{...d,d:e,fill:"none",className:dn(["react-flow__edge-path",d.className])}),u?y.jsx("path",{d:e,fill:"none",strokeOpacity:0,strokeWidth:u,className:"react-flow__edge-interaction"}):null,o&&Xi(r)&&Xi(n)?y.jsx(qRe,{x:r,y:n,label:o,labelStyle:a,labelShowBg:i,labelBgStyle:l,labelBgPadding:s,labelBgBorderRadius:c}):null]})}function _q({pos:e,x1:r,y1:n,x2:o,y2:a}){return e===tt.Left||e===tt.Right?[.5*(r+o),n]:[r,.5*(n+a)]}function Eq({sourceX:e,sourceY:r,sourcePosition:n=tt.Bottom,targetX:o,targetY:a,targetPosition:i=tt.Top}){const[l,s]=_q({pos:n,x1:e,y1:r,x2:o,y2:a}),[c,u]=_q({pos:i,x1:o,y1:a,x2:e,y2:r}),[d,p,f,g]=hH({sourceX:e,sourceY:r,targetX:o,targetY:a,sourceControlX:l,sourceControlY:s,targetControlX:c,targetControlY:u});return[`M${e},${r} C${l},${s} ${c},${u} ${o},${a}`,d,p,f,g]}function Sq(e){return S.memo(({id:r,sourceX:n,sourceY:o,targetX:a,targetY:i,sourcePosition:l,targetPosition:s,label:c,labelStyle:u,labelShowBg:d,labelBgStyle:p,labelBgPadding:f,labelBgBorderRadius:g,style:b,markerEnd:x,markerStart:w,interactionWidth:k})=>{const[C,_,T]=Eq({sourceX:n,sourceY:o,sourcePosition:l,targetX:a,targetY:i,targetPosition:s}),R=e.isInternal?void 0:r;return y.jsx(Ox,{id:R,path:C,labelX:_,labelY:T,label:c,labelStyle:u,labelShowBg:d,labelBgStyle:p,labelBgPadding:f,labelBgBorderRadius:g,style:b,markerEnd:x,markerStart:w,interactionWidth:k})})}const URe=Sq({isInternal:!1}),Cq=Sq({isInternal:!0});URe.displayName="SimpleBezierEdge",Cq.displayName="SimpleBezierEdgeInternal";function Tq(e){return S.memo(({id:r,sourceX:n,sourceY:o,targetX:a,targetY:i,label:l,labelStyle:s,labelShowBg:c,labelBgStyle:u,labelBgPadding:d,labelBgBorderRadius:p,style:f,sourcePosition:g=tt.Bottom,targetPosition:b=tt.Top,markerEnd:x,markerStart:w,pathOptions:k,interactionWidth:C})=>{const[_,T,R]=Cx({sourceX:n,sourceY:o,sourcePosition:g,targetX:a,targetY:i,targetPosition:b,borderRadius:k?.borderRadius,offset:k?.offset,stepPosition:k?.stepPosition}),A=e.isInternal?void 0:r;return y.jsx(Ox,{id:A,path:_,labelX:T,labelY:R,label:l,labelStyle:s,labelShowBg:c,labelBgStyle:u,labelBgPadding:d,labelBgBorderRadius:p,style:f,markerEnd:x,markerStart:w,interactionWidth:C})})}const Rq=Tq({isInternal:!1}),Aq=Tq({isInternal:!0});Rq.displayName="SmoothStepEdge",Aq.displayName="SmoothStepEdgeInternal";function Nq(e){return S.memo(({id:r,...n})=>{const o=e.isInternal?void 0:r;return y.jsx(Rq,{...n,id:o,pathOptions:S.useMemo(()=>({borderRadius:0,offset:n.pathOptions?.offset}),[n.pathOptions?.offset])})})}const VRe=Nq({isInternal:!1}),Dq=Nq({isInternal:!0});VRe.displayName="StepEdge",Dq.displayName="StepEdgeInternal";function Pq(e){return S.memo(({id:r,sourceX:n,sourceY:o,targetX:a,targetY:i,label:l,labelStyle:s,labelShowBg:c,labelBgStyle:u,labelBgPadding:d,labelBgBorderRadius:p,style:f,markerEnd:g,markerStart:b,interactionWidth:x})=>{const[w,k,C]=gH({sourceX:n,sourceY:o,targetX:a,targetY:i}),_=e.isInternal?void 0:r;return y.jsx(Ox,{id:_,path:w,labelX:k,labelY:C,label:l,labelStyle:s,labelShowBg:c,labelBgStyle:u,labelBgPadding:d,labelBgBorderRadius:p,style:f,markerEnd:g,markerStart:b,interactionWidth:x})})}const YRe=Pq({isInternal:!1}),$q=Pq({isInternal:!0});YRe.displayName="StraightEdge",$q.displayName="StraightEdgeInternal";function Mq(e){return S.memo(({id:r,sourceX:n,sourceY:o,targetX:a,targetY:i,sourcePosition:l=tt.Bottom,targetPosition:s=tt.Top,label:c,labelStyle:u,labelShowBg:d,labelBgStyle:p,labelBgPadding:f,labelBgBorderRadius:g,style:b,markerEnd:x,markerStart:w,pathOptions:k,interactionWidth:C})=>{const[_,T,R]=Sx({sourceX:n,sourceY:o,sourcePosition:l,targetX:a,targetY:i,targetPosition:s,curvature:k?.curvature}),A=e.isInternal?void 0:r;return y.jsx(Ox,{id:A,path:_,labelX:T,labelY:R,label:c,labelStyle:u,labelShowBg:d,labelBgStyle:p,labelBgPadding:f,labelBgBorderRadius:g,style:b,markerEnd:x,markerStart:w,interactionWidth:C})})}const WRe=Mq({isInternal:!1}),Oq=Mq({isInternal:!0});WRe.displayName="BezierEdge",Oq.displayName="BezierEdgeInternal";const Iq={default:Oq,straight:$q,step:Dq,smoothstep:Aq,simplebezier:Cq},zq={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},GRe=(e,r,n)=>n===tt.Left?e-r:n===tt.Right?e+r:e,XRe=(e,r,n)=>n===tt.Top?e-r:n===tt.Bottom?e+r:e,Lq="react-flow__edgeupdater";function Bq({position:e,centerX:r,centerY:n,radius:o=10,onMouseDown:a,onMouseEnter:i,onMouseOut:l,type:s}){return y.jsx("circle",{onMouseDown:a,onMouseEnter:i,onMouseOut:l,className:dn([Lq,`${Lq}-${s}`]),cx:GRe(r,o,e),cy:XRe(n,o,e),r:o,stroke:"transparent",fill:"transparent"})}function KRe({isReconnectable:e,reconnectRadius:r,edge:n,sourceX:o,sourceY:a,targetX:i,targetY:l,sourcePosition:s,targetPosition:c,onReconnect:u,onReconnectStart:d,onReconnectEnd:p,setReconnecting:f,setUpdateHover:g}){const b=yr(),x=(T,R)=>{if(T.button!==0)return;const{autoPanOnConnect:A,domNode:D,isValidConnection:N,connectionMode:$,connectionRadius:O,lib:j,onConnectStart:L,onConnectEnd:Y,cancelConnection:M,nodeLookup:q,rfId:z,panBy:H,updateConnection:U}=b.getState(),K=R.type==="target",V=(B,W)=>{f(!1),p?.(B,n,R.type,W)},X=B=>u?.(n,B),Z=(B,W)=>{f(!0),d?.(T,n,R.type),L?.(B,W)};OE.onPointerDown(T.nativeEvent,{autoPanOnConnect:A,connectionMode:$,connectionRadius:O,domNode:D,handleId:R.id,nodeId:R.nodeId,nodeLookup:q,isTarget:K,edgeUpdaterType:R.type,lib:j,flowId:z,cancelConnection:M,panBy:H,isValidConnection:N,onConnect:X,onConnectStart:Z,onConnectEnd:Y,onReconnectEnd:V,updateConnection:U,getTransform:()=>b.getState().transform,getFromHandle:()=>b.getState().connection.fromHandle,dragThreshold:b.getState().connectionDragThreshold,handleDomNode:T.currentTarget})},w=T=>x(T,{nodeId:n.target,id:n.targetHandle??null,type:"target"}),k=T=>x(T,{nodeId:n.source,id:n.sourceHandle??null,type:"source"}),C=()=>g(!0),_=()=>g(!1);return y.jsxs(y.Fragment,{children:[(e===!0||e==="source")&&y.jsx(Bq,{position:s,centerX:o,centerY:a,radius:r,onMouseDown:w,onMouseEnter:C,onMouseOut:_,type:"source"}),(e===!0||e==="target")&&y.jsx(Bq,{position:c,centerX:i,centerY:l,radius:r,onMouseDown:k,onMouseEnter:C,onMouseOut:_,type:"target"})]})}function ZRe({id:e,edgesFocusable:r,edgesReconnectable:n,elementsSelectable:o,onClick:a,onDoubleClick:i,onContextMenu:l,onMouseEnter:s,onMouseMove:c,onMouseLeave:u,reconnectRadius:d,onReconnect:p,onReconnectStart:f,onReconnectEnd:g,rfId:b,edgeTypes:x,noPanClassName:w,onError:k,disableKeyboardA11y:C}){let _=At(ce=>ce.edgeLookup.get(e));const T=At(ce=>ce.defaultEdgeOptions);_=T?{...T,..._}:_;let R=_.type||"default",A=x?.[R]||Iq[R];A===void 0&&(k?.("011",ts.error011(R)),R="default",A=x?.default||Iq.default);const D=!!(_.focusable||r&&typeof _.focusable>"u"),N=typeof p<"u"&&(_.reconnectable||n&&typeof _.reconnectable>"u"),$=!!(_.selectable||o&&typeof _.selectable>"u"),O=S.useRef(null),[j,L]=S.useState(!1),[Y,M]=S.useState(!1),q=yr(),{zIndex:z,sourceX:H,sourceY:U,targetX:K,targetY:V,sourcePosition:X,targetPosition:Z}=At(S.useCallback(ce=>{const de=ce.nodeLookup.get(_.source),xe=ce.nodeLookup.get(_.target);if(!de||!xe)return{zIndex:_.zIndex,...zq};const De=xH({id:e,sourceNode:de,targetNode:xe,sourceHandle:_.sourceHandle||null,targetHandle:_.targetHandle||null,connectionMode:ce.connectionMode,onError:k});return{zIndex:ICe({selected:_.selected,zIndex:_.zIndex,sourceNode:de,targetNode:xe,elevateOnSelect:ce.elevateEdgesOnSelect}),...De||zq}},[_.source,_.target,_.sourceHandle,_.targetHandle,_.selected,_.zIndex]),$r),B=S.useMemo(()=>_.markerStart?`url('#${RE(_.markerStart,b)}')`:void 0,[_.markerStart,b]),W=S.useMemo(()=>_.markerEnd?`url('#${RE(_.markerEnd,b)}')`:void 0,[_.markerEnd,b]);if(_.hidden||H===null||U===null||K===null||V===null)return null;const Q=ce=>{const{addSelectedEdges:de,unselectNodesAndEdges:xe,multiSelectionActive:De}=q.getState();$&&(q.setState({nodesSelectionActive:!1}),_.selected&&De?(xe({nodes:[],edges:[_]}),O.current?.blur()):de([e])),a&&a(ce,_)},J=i?ce=>{i(ce,{..._})}:void 0,ne=l?ce=>{l(ce,{..._})}:void 0,te=s?ce=>{s(ce,{..._})}:void 0,ee=c?ce=>{c(ce,{..._})}:void 0,pe=u?ce=>{u(ce,{..._})}:void 0,Te=ce=>{if(!C&&GF.includes(ce.key)&&$){const{unselectNodesAndEdges:de,addSelectedEdges:xe}=q.getState();ce.key==="Escape"?(O.current?.blur(),de({edges:[_]})):xe([e])}};return y.jsx("svg",{style:{zIndex:z},children:y.jsxs("g",{className:dn(["react-flow__edge",`react-flow__edge-${R}`,_.className,w,{selected:_.selected,animated:_.animated,inactive:!$&&!a,updating:j,selectable:$}]),onClick:Q,onDoubleClick:J,onContextMenu:ne,onMouseEnter:te,onMouseMove:ee,onMouseLeave:pe,onKeyDown:D?Te:void 0,tabIndex:D?0:void 0,role:_.ariaRole??(D?"group":"img"),"aria-roledescription":"edge","data-id":e,"data-testid":`rf__edge-${e}`,"aria-label":_.ariaLabel===null?void 0:_.ariaLabel||`Edge from ${_.source} to ${_.target}`,"aria-describedby":D?`${QH}-${b}`:void 0,ref:O,..._.domAttributes,children:[!Y&&y.jsx(A,{id:e,source:_.source,target:_.target,type:_.type,selected:_.selected,animated:_.animated,selectable:$,deletable:_.deletable??!0,label:_.label,labelStyle:_.labelStyle,labelShowBg:_.labelShowBg,labelBgStyle:_.labelBgStyle,labelBgPadding:_.labelBgPadding,labelBgBorderRadius:_.labelBgBorderRadius,sourceX:H,sourceY:U,targetX:K,targetY:V,sourcePosition:X,targetPosition:Z,data:_.data,style:_.style,sourceHandleId:_.sourceHandle,targetHandleId:_.targetHandle,markerStart:B,markerEnd:W,pathOptions:"pathOptions"in _?_.pathOptions:void 0,interactionWidth:_.interactionWidth}),N&&y.jsx(KRe,{edge:_,isReconnectable:N,reconnectRadius:d,onReconnect:p,onReconnectStart:f,onReconnectEnd:g,sourceX:H,sourceY:U,targetX:K,targetY:V,sourcePosition:X,targetPosition:Z,setUpdateHover:L,setReconnecting:M})]})})}var QRe=S.memo(ZRe);const JRe=e=>({edgesFocusable:e.edgesFocusable,edgesReconnectable:e.edgesReconnectable,elementsSelectable:e.elementsSelectable,connectionMode:e.connectionMode,onError:e.onError});function jq({defaultMarkerColor:e,onlyRenderVisibleElements:r,rfId:n,edgeTypes:o,noPanClassName:a,onReconnect:i,onEdgeContextMenu:l,onEdgeMouseEnter:s,onEdgeMouseMove:c,onEdgeMouseLeave:u,onEdgeClick:d,reconnectRadius:p,onEdgeDoubleClick:f,onReconnectStart:g,onReconnectEnd:b,disableKeyboardA11y:x}){const{edgesFocusable:w,edgesReconnectable:k,elementsSelectable:C,onError:_}=At(JRe,$r),T=zRe(r);return y.jsxs("div",{className:"react-flow__edges",children:[y.jsx(HRe,{defaultColor:e,rfId:n}),T.map(R=>y.jsx(QRe,{id:R,edgesFocusable:w,edgesReconnectable:k,elementsSelectable:C,noPanClassName:a,onReconnect:i,onContextMenu:l,onMouseEnter:s,onMouseMove:c,onMouseLeave:u,onClick:d,reconnectRadius:p,onDoubleClick:f,onReconnectStart:g,onReconnectEnd:b,rfId:n,onError:_,edgeTypes:o,disableKeyboardA11y:x},R))]})}jq.displayName="EdgeRenderer";const eAe=S.memo(jq),tAe=e=>`translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`;function rAe({children:e}){const r=At(tAe);return y.jsx("div",{className:"react-flow__viewport xyflow__viewport react-flow__container",style:{transform:r},children:e})}function nAe(e){const r=bf(),n=S.useRef(!1);S.useEffect(()=>{!n.current&&r.viewportInitialized&&e&&(setTimeout(()=>e(r),1),n.current=!0)},[e,r.viewportInitialized])}const oAe=e=>e.panZoom?.syncViewport;function aAe(e){const r=At(oAe),n=yr();return S.useEffect(()=>{e&&(r?.(e),n.setState({transform:[e.x,e.y,e.zoom]}))},[e,r]),null}function iAe(e){return e.connection.inProgress?{...e.connection,to:T0(e.connection.to,e.transform)}:{...e.connection}}function lAe(e){return iAe}function sAe(e){const r=lAe();return At(r,$r)}const cAe=e=>({nodesConnectable:e.nodesConnectable,isValid:e.connection.isValid,inProgress:e.connection.inProgress,width:e.width,height:e.height});function uAe({containerStyle:e,style:r,type:n,component:o}){const{nodesConnectable:a,width:i,height:l,isValid:s,inProgress:c}=At(cAe,$r);return i&&a&&c?y.jsx("svg",{style:e,width:i,height:l,className:"react-flow__connectionline react-flow__container",children:y.jsx("g",{className:dn(["react-flow__connection",QF(s)]),children:y.jsx(Fq,{style:r,type:n,CustomComponent:o,isValid:s})})}):null}const Fq=({style:e,type:r=uu.Bezier,CustomComponent:n,isValid:o})=>{const{inProgress:a,from:i,fromNode:l,fromHandle:s,fromPosition:c,to:u,toNode:d,toHandle:p,toPosition:f}=sAe();if(!a)return;if(n)return y.jsx(n,{connectionLineType:r,connectionLineStyle:e,fromNode:l,fromHandle:s,fromX:i.x,fromY:i.y,toX:u.x,toY:u.y,fromPosition:c,toPosition:f,connectionStatus:QF(o),toNode:d,toHandle:p});let g="";const b={sourceX:i.x,sourceY:i.y,sourcePosition:c,targetX:u.x,targetY:u.y,targetPosition:f};switch(r){case uu.Bezier:[g]=Sx(b);break;case uu.SimpleBezier:[g]=Eq(b);break;case uu.Step:[g]=Cx({...b,borderRadius:0});break;case uu.SmoothStep:[g]=Cx(b);break;default:[g]=gH(b)}return y.jsx("path",{d:g,fill:"none",className:"react-flow__connection-path",style:e})};Fq.displayName="ConnectionLine";const dAe={};function Hq(e=dAe){S.useRef(e),yr(),S.useEffect(()=>{},[e])}function pAe(){yr(),S.useRef(!1),S.useEffect(()=>{},[])}function qq({nodeTypes:e,edgeTypes:r,onInit:n,onNodeClick:o,onEdgeClick:a,onNodeDoubleClick:i,onEdgeDoubleClick:l,onNodeMouseEnter:s,onNodeMouseMove:c,onNodeMouseLeave:u,onNodeContextMenu:d,onSelectionContextMenu:p,onSelectionStart:f,onSelectionEnd:g,connectionLineType:b,connectionLineStyle:x,connectionLineComponent:w,connectionLineContainerStyle:k,selectionKeyCode:C,selectionOnDrag:_,selectionMode:T,multiSelectionKeyCode:R,panActivationKeyCode:A,zoomActivationKeyCode:D,deleteKeyCode:N,onlyRenderVisibleElements:$,elementsSelectable:O,defaultViewport:j,translateExtent:L,minZoom:Y,maxZoom:M,preventScrolling:q,defaultMarkerColor:z,zoomOnScroll:H,zoomOnPinch:U,panOnScroll:K,panOnScrollSpeed:V,panOnScrollMode:X,zoomOnDoubleClick:Z,panOnDrag:B,onPaneClick:W,onPaneMouseEnter:Q,onPaneMouseMove:J,onPaneMouseLeave:ne,onPaneScroll:te,onPaneContextMenu:ee,paneClickDistance:pe,nodeClickDistance:Te,onEdgeContextMenu:ce,onEdgeMouseEnter:de,onEdgeMouseMove:xe,onEdgeMouseLeave:De,reconnectRadius:Ge,onReconnect:et,onReconnectStart:ft,onReconnectEnd:Ze,noDragClassName:Et,noWheelClassName:Xe,noPanClassName:We,disableKeyboardA11y:st,nodeExtent:ct,rfId:zn,viewport:we,onViewportChange:_e}){return Hq(e),Hq(r),pAe(),nAe(n),aAe(we),y.jsx(TRe,{onPaneClick:W,onPaneMouseEnter:Q,onPaneMouseMove:J,onPaneMouseLeave:ne,onPaneContextMenu:ee,onPaneScroll:te,paneClickDistance:pe,deleteKeyCode:N,selectionKeyCode:C,selectionOnDrag:_,selectionMode:T,onSelectionStart:f,onSelectionEnd:g,multiSelectionKeyCode:R,panActivationKeyCode:A,zoomActivationKeyCode:D,elementsSelectable:O,zoomOnScroll:H,zoomOnPinch:U,zoomOnDoubleClick:Z,panOnScroll:K,panOnScrollSpeed:V,panOnScrollMode:X,panOnDrag:B,defaultViewport:j,translateExtent:L,minZoom:Y,maxZoom:M,onSelectionContextMenu:p,preventScrolling:q,noDragClassName:Et,noWheelClassName:Xe,noPanClassName:We,disableKeyboardA11y:st,onViewportChange:_e,isControlledViewport:!!we,children:y.jsxs(rAe,{children:[y.jsx(eAe,{edgeTypes:r,onEdgeClick:a,onEdgeDoubleClick:l,onReconnect:et,onReconnectStart:ft,onReconnectEnd:Ze,onlyRenderVisibleElements:$,onEdgeContextMenu:ce,onEdgeMouseEnter:de,onEdgeMouseMove:xe,onEdgeMouseLeave:De,reconnectRadius:Ge,defaultMarkerColor:z,noPanClassName:We,disableKeyboardA11y:st,rfId:zn}),y.jsx(uAe,{style:x,type:b,component:w,containerStyle:k}),y.jsx("div",{className:"react-flow__edgelabel-renderer"}),y.jsx(IRe,{nodeTypes:e,onNodeClick:o,onNodeDoubleClick:i,onNodeMouseEnter:s,onNodeMouseMove:c,onNodeMouseLeave:u,onNodeContextMenu:d,nodeClickDistance:Te,onlyRenderVisibleElements:$,noPanClassName:We,noDragClassName:Et,disableKeyboardA11y:st,nodeExtent:ct,rfId:zn}),y.jsx("div",{className:"react-flow__viewport-portal"})]})})}qq.displayName="GraphView";const hAe=S.memo(qq),Uq=({nodes:e,edges:r,defaultNodes:n,defaultEdges:o,width:a,height:i,fitView:l,fitViewOptions:s,minZoom:c=.5,maxZoom:u=2,nodeOrigin:d,nodeExtent:p}={})=>{const f=new Map,g=new Map,b=new Map,x=new Map,w=o??r??[],k=n??e??[],C=d??[0,0],_=p??w0;CH(b,x,w);const T=DE(k,f,g,{nodeOrigin:C,nodeExtent:_,elevateNodesOnSelect:!1});let R=[0,0,1];if(l&&a&&i){const A=uf(f,{filter:O=>!!((O.width||O.initialWidth)&&(O.height||O.initialHeight))}),{x:D,y:N,zoom:$}=du(A,a,i,c,u,s?.padding??.1);R=[D,N,$]}return{rfId:"1",width:a??0,height:i??0,transform:R,nodes:k,nodesInitialized:T,nodeLookup:f,parentLookup:g,edges:w,edgeLookup:x,connectionLookup:b,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:n!==void 0,hasDefaultEdges:o!==void 0,panZoom:null,minZoom:c,maxZoom:u,translateExtent:w0,nodeExtent:_,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:cf.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:C,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!1,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:l??!1,fitViewOptions:s,fitViewResolver:null,connection:{...KF},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:NCe,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:XF}},fAe=({nodes:e,edges:r,defaultNodes:n,defaultEdges:o,width:a,height:i,fitView:l,fitViewOptions:s,minZoom:c,maxZoom:u,nodeOrigin:d,nodeExtent:p})=>PTe((f,g)=>{async function b(){const{nodeLookup:x,panZoom:w,fitViewOptions:k,fitViewResolver:C,width:_,height:T,minZoom:R,maxZoom:A}=g();w&&(await RCe({nodes:x,width:_,height:T,panZoom:w,minZoom:R,maxZoom:A},k),C?.resolve(!0),f({fitViewResolver:null}))}return{...Uq({nodes:e,edges:r,width:a,height:i,fitView:l,fitViewOptions:s,minZoom:c,maxZoom:u,nodeOrigin:d,nodeExtent:p,defaultNodes:n,defaultEdges:o}),setNodes:x=>{const{nodeLookup:w,parentLookup:k,nodeOrigin:C,elevateNodesOnSelect:_,fitViewQueued:T}=g(),R=DE(x,w,k,{nodeOrigin:C,nodeExtent:p,elevateNodesOnSelect:_,checkEquality:!0});T&&R?(b(),f({nodes:x,nodesInitialized:R,fitViewQueued:!1,fitViewOptions:void 0})):f({nodes:x,nodesInitialized:R})},setEdges:x=>{const{connectionLookup:w,edgeLookup:k}=g();CH(w,k,x),f({edges:x})},setDefaultNodesAndEdges:(x,w)=>{if(x){const{setNodes:k}=g();k(x),f({hasDefaultNodes:!0})}if(w){const{setEdges:k}=g();k(w),f({hasDefaultEdges:!0})}},updateNodeInternals:x=>{const{triggerNodeChanges:w,nodeLookup:k,parentLookup:C,domNode:_,nodeOrigin:T,nodeExtent:R,debug:A,fitViewQueued:D}=g(),{changes:N,updatedInternals:$}=QCe(x,k,C,_,T,R);$&&(GCe(k,C,{nodeOrigin:T,nodeExtent:R}),D?(b(),f({fitViewQueued:!1,fitViewOptions:void 0})):f({}),N?.length>0&&(A&&console.log("React Flow: trigger node changes",N),w?.(N)))},updateNodePositions:(x,w=!1)=>{const k=[],C=[],{nodeLookup:_,triggerNodeChanges:T}=g();for(const[R,A]of x){const D=_.get(R),N=!!(D?.expandParent&&D?.parentId&&A?.position),$={id:R,type:"position",position:N?{x:Math.max(0,A.position.x),y:Math.max(0,A.position.y)}:A.position,dragging:w};N&&D.parentId&&k.push({id:R,parentId:D.parentId,rect:{...A.internals.positionAbsolute,width:A.measured.width??0,height:A.measured.height??0}}),C.push($)}if(k.length>0){const{parentLookup:R,nodeOrigin:A}=g(),D=$E(k,_,R,A);C.push(...D)}T(C)},triggerNodeChanges:x=>{const{onNodesChange:w,setNodes:k,nodes:C,hasDefaultNodes:_,debug:T}=g();if(x?.length){if(_){const R=Dx(x,C);k(R)}T&&console.log("React Flow: trigger node changes",x),w?.(x)}},triggerEdgeChanges:x=>{const{onEdgesChange:w,setEdges:k,edges:C,hasDefaultEdges:_,debug:T}=g();if(x?.length){if(_){const R=Px(x,C);k(R)}T&&console.log("React Flow: trigger edge changes",x),w?.(x)}},addSelectedNodes:x=>{const{multiSelectionActive:w,edgeLookup:k,nodeLookup:C,triggerNodeChanges:_,triggerEdgeChanges:T}=g();if(w){const R=x.map(A=>Qd(A,!0));_(R);return}_(yf(C,new Set([...x]),!0)),T(yf(k))},addSelectedEdges:x=>{const{multiSelectionActive:w,edgeLookup:k,nodeLookup:C,triggerNodeChanges:_,triggerEdgeChanges:T}=g();if(w){const R=x.map(A=>Qd(A,!0));T(R);return}T(yf(k,new Set([...x]))),_(yf(C,new Set,!0))},unselectNodesAndEdges:({nodes:x,edges:w}={})=>{const{edges:k,nodes:C,nodeLookup:_,triggerNodeChanges:T,triggerEdgeChanges:R}=g(),A=x||C,D=w||k,N=A.map(O=>{const j=_.get(O.id);return j&&(j.selected=!1),Qd(O.id,!1)}),$=D.map(O=>Qd(O.id,!1));T(N),R($)},setMinZoom:x=>{const{panZoom:w,maxZoom:k}=g();w?.setScaleExtent([x,k]),f({minZoom:x})},setMaxZoom:x=>{const{panZoom:w,minZoom:k}=g();w?.setScaleExtent([k,x]),f({maxZoom:x})},setTranslateExtent:x=>{g().panZoom?.setTranslateExtent(x),f({translateExtent:x})},setPaneClickDistance:x=>{g().panZoom?.setClickDistance(x)},resetSelectedElements:()=>{const{edges:x,nodes:w,triggerNodeChanges:k,triggerEdgeChanges:C,elementsSelectable:_}=g();if(!_)return;const T=w.reduce((A,D)=>D.selected?[...A,Qd(D.id,!1)]:A,[]),R=x.reduce((A,D)=>D.selected?[...A,Qd(D.id,!1)]:A,[]);k(T),C(R)},setNodeExtent:x=>{const{nodes:w,nodeLookup:k,parentLookup:C,nodeOrigin:_,elevateNodesOnSelect:T,nodeExtent:R}=g();x[0][0]===R[0][0]&&x[0][1]===R[0][1]&&x[1][0]===R[1][0]&&x[1][1]===R[1][1]||(DE(w,k,C,{nodeOrigin:_,nodeExtent:x,elevateNodesOnSelect:T,checkEquality:!1}),f({nodeExtent:x}))},panBy:x=>{const{transform:w,width:k,height:C,panZoom:_,translateExtent:T}=g();return JCe({delta:x,panZoom:_,transform:w,translateExtent:T,width:k,height:C})},setCenter:async(x,w,k)=>{const{width:C,height:_,maxZoom:T,panZoom:R}=g();if(!R)return Promise.resolve(!1);const A=typeof k?.zoom<"u"?k.zoom:T;return await R.setViewport({x:C/2-x*A,y:_/2-w*A,zoom:A},{duration:k?.duration,ease:k?.ease,interpolate:k?.interpolate}),Promise.resolve(!0)},cancelConnection:()=>{f({connection:{...KF}})},updateConnection:x=>{f({connection:x})},reset:()=>f({...Uq()})}},Object.is);function Ix({initialNodes:e,initialEdges:r,defaultNodes:n,defaultEdges:o,initialWidth:a,initialHeight:i,initialMinZoom:l,initialMaxZoom:s,initialFitViewOptions:c,fitView:u,nodeOrigin:d,nodeExtent:p,children:f}){const[g]=S.useState(()=>fAe({nodes:e,edges:r,defaultNodes:n,defaultEdges:o,width:a,height:i,fitView:u,minZoom:l,maxZoom:s,fitViewOptions:c,nodeOrigin:d,nodeExtent:p}));return y.jsx($Te,{value:g,children:y.jsx(rRe,{children:f})})}function mAe({children:e,nodes:r,edges:n,defaultNodes:o,defaultEdges:a,width:i,height:l,fitView:s,fitViewOptions:c,minZoom:u,maxZoom:d,nodeOrigin:p,nodeExtent:f}){return S.useContext(Ax)?y.jsx(y.Fragment,{children:e}):y.jsx(Ix,{initialNodes:r,initialEdges:n,defaultNodes:o,defaultEdges:a,initialWidth:i,initialHeight:l,fitView:s,initialFitViewOptions:c,initialMinZoom:u,initialMaxZoom:d,nodeOrigin:p,nodeExtent:f,children:e})}const gAe={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0};function yAe({nodes:e,edges:r,defaultNodes:n,defaultEdges:o,className:a,nodeTypes:i,edgeTypes:l,onNodeClick:s,onEdgeClick:c,onInit:u,onMove:d,onMoveStart:p,onMoveEnd:f,onConnect:g,onConnectStart:b,onConnectEnd:x,onClickConnectStart:w,onClickConnectEnd:k,onNodeMouseEnter:C,onNodeMouseMove:_,onNodeMouseLeave:T,onNodeContextMenu:R,onNodeDoubleClick:A,onNodeDragStart:D,onNodeDrag:N,onNodeDragStop:$,onNodesDelete:O,onEdgesDelete:j,onDelete:L,onSelectionChange:Y,onSelectionDragStart:M,onSelectionDrag:q,onSelectionDragStop:z,onSelectionContextMenu:H,onSelectionStart:U,onSelectionEnd:K,onBeforeDelete:V,connectionMode:X,connectionLineType:Z=uu.Bezier,connectionLineStyle:B,connectionLineComponent:W,connectionLineContainerStyle:Q,deleteKeyCode:J="Backspace",selectionKeyCode:ne="Shift",selectionOnDrag:te=!1,selectionMode:ee=k0.Full,panActivationKeyCode:pe="Space",multiSelectionKeyCode:Te=hf()?"Meta":"Control",zoomActivationKeyCode:ce=hf()?"Meta":"Control",snapToGrid:de,snapGrid:xe,onlyRenderVisibleElements:De=!1,selectNodesOnDrag:Ge,nodesDraggable:et,autoPanOnNodeFocus:ft,nodesConnectable:Ze,nodesFocusable:Et,nodeOrigin:Xe=JH,edgesFocusable:We,edgesReconnectable:st,elementsSelectable:ct=!0,defaultViewport:zn=YTe,minZoom:we=.5,maxZoom:_e=2,translateExtent:at=w0,preventScrolling:vt=!0,nodeExtent:Ct,defaultMarkerColor:Zr="#b1b1b7",zoomOnScroll:Pt=!0,zoomOnPinch:Sr=!0,panOnScroll:Pr=!1,panOnScrollSpeed:fn=.5,panOnScrollMode:ar=Xd.Free,zoomOnDoubleClick:ha=!0,panOnDrag:hr=!0,onPaneClick:Ua,onPaneMouseEnter:Ni,onPaneMouseMove:Qu,onPaneMouseLeave:Ju,onPaneScroll:jl,onPaneContextMenu:ed,paneClickDistance:Fl=0,nodeClickDistance:Jb=0,children:Dg,onReconnect:ch,onReconnectStart:Nc,onReconnectEnd:ev,onEdgeContextMenu:Pg,onEdgeDoubleClick:$g,onEdgeMouseEnter:Mg,onEdgeMouseMove:uh,onEdgeMouseLeave:dh,reconnectRadius:Og=10,onNodesChange:Ig,onEdgesChange:Di,noDragClassName:mn="nodrag",noWheelClassName:co="nowheel",noPanClassName:Pi="nopan",fitView:Dc,fitViewOptions:ph,connectOnClick:tv,attributionPosition:zg,proOptions:Pc,defaultEdgeOptions:hh,elevateNodesOnSelect:Cs,elevateEdgesOnSelect:Ts,disableKeyboardA11y:Hl=!1,autoPanOnConnect:Rs,autoPanOnNodeDrag:ln,autoPanSpeed:Lg,connectionRadius:Bg,isValidConnection:ql,onError:As,style:rv,id:td,nodeDragThreshold:jg,connectionDragThreshold:nv,viewport:rd,onViewportChange:nd,width:Va,height:Bo,colorMode:Fg="light",debug:ov,onScroll:$c,ariaLabelConfig:Hg,...od},av){const Ln=td||"1",fh=KTe(Fg),qg=S.useCallback(Mc=>{Mc.currentTarget.scrollTo({top:0,left:0,behavior:"instant"}),$c?.(Mc)},[$c]);return y.jsx("div",{"data-testid":"rf__wrapper",...od,onScroll:qg,style:{...rv,...gAe},ref:av,className:dn(["react-flow",a,fh]),id:td,role:"application",children:y.jsxs(mAe,{nodes:e,edges:r,width:Va,height:Bo,fitView:Dc,fitViewOptions:ph,minZoom:we,maxZoom:_e,nodeOrigin:Xe,nodeExtent:Ct,children:[y.jsx(hAe,{onInit:u,onNodeClick:s,onEdgeClick:c,onNodeMouseEnter:C,onNodeMouseMove:_,onNodeMouseLeave:T,onNodeContextMenu:R,onNodeDoubleClick:A,nodeTypes:i,edgeTypes:l,connectionLineType:Z,connectionLineStyle:B,connectionLineComponent:W,connectionLineContainerStyle:Q,selectionKeyCode:ne,selectionOnDrag:te,selectionMode:ee,deleteKeyCode:J,multiSelectionKeyCode:Te,panActivationKeyCode:pe,zoomActivationKeyCode:ce,onlyRenderVisibleElements:De,defaultViewport:zn,translateExtent:at,minZoom:we,maxZoom:_e,preventScrolling:vt,zoomOnScroll:Pt,zoomOnPinch:Sr,zoomOnDoubleClick:ha,panOnScroll:Pr,panOnScrollSpeed:fn,panOnScrollMode:ar,panOnDrag:hr,onPaneClick:Ua,onPaneMouseEnter:Ni,onPaneMouseMove:Qu,onPaneMouseLeave:Ju,onPaneScroll:jl,onPaneContextMenu:ed,paneClickDistance:Fl,nodeClickDistance:Jb,onSelectionContextMenu:H,onSelectionStart:U,onSelectionEnd:K,onReconnect:ch,onReconnectStart:Nc,onReconnectEnd:ev,onEdgeContextMenu:Pg,onEdgeDoubleClick:$g,onEdgeMouseEnter:Mg,onEdgeMouseMove:uh,onEdgeMouseLeave:dh,reconnectRadius:Og,defaultMarkerColor:Zr,noDragClassName:mn,noWheelClassName:co,noPanClassName:Pi,rfId:Ln,disableKeyboardA11y:Hl,nodeExtent:Ct,viewport:rd,onViewportChange:nd}),y.jsx(XTe,{nodes:e,edges:r,defaultNodes:n,defaultEdges:o,onConnect:g,onConnectStart:b,onConnectEnd:x,onClickConnectStart:w,onClickConnectEnd:k,nodesDraggable:et,autoPanOnNodeFocus:ft,nodesConnectable:Ze,nodesFocusable:Et,edgesFocusable:We,edgesReconnectable:st,elementsSelectable:ct,elevateNodesOnSelect:Cs,elevateEdgesOnSelect:Ts,minZoom:we,maxZoom:_e,nodeExtent:Ct,onNodesChange:Ig,onEdgesChange:Di,snapToGrid:de,snapGrid:xe,connectionMode:X,translateExtent:at,connectOnClick:tv,defaultEdgeOptions:hh,fitView:Dc,fitViewOptions:ph,onNodesDelete:O,onEdgesDelete:j,onDelete:L,onNodeDragStart:D,onNodeDrag:N,onNodeDragStop:$,onSelectionDrag:q,onSelectionDragStart:M,onSelectionDragStop:z,onMove:d,onMoveStart:p,onMoveEnd:f,noPanClassName:Pi,nodeOrigin:Xe,rfId:Ln,autoPanOnConnect:Rs,autoPanOnNodeDrag:ln,autoPanSpeed:Lg,onError:As,connectionRadius:Bg,isValidConnection:ql,selectNodesOnDrag:Ge,nodeDragThreshold:jg,connectionDragThreshold:nv,onBeforeDelete:V,paneClickDistance:Fl,debug:ov,ariaLabelConfig:Hg}),y.jsx(VTe,{onSelectionChange:Y}),Dg,y.jsx(jTe,{proOptions:Pc,position:zg}),y.jsx(BTe,{rfId:Ln,disableKeyboardA11y:Hl})]})})}var bAe=uq(yAe);const vAe=e=>e.domNode?.querySelector(".react-flow__edgelabel-renderer");function Vq({children:e}){const r=At(vAe);return r?Fi.createPortal(e,r):null}function xAe(e){return At(S.useCallback(r=>r.nodeLookup.get(e),[e]),$r)}function wAe({dimensions:e,lineWidth:r,variant:n,className:o}){return y.jsx("path",{strokeWidth:r,d:`M${e[0]/2} 0 V${e[1]} M0 ${e[1]/2} H${e[0]}`,className:dn(["react-flow__background-pattern",n,o])})}function kAe({radius:e,className:r}){return y.jsx("circle",{cx:e,cy:e,r:e,className:dn(["react-flow__background-pattern","dots",r])})}var Zi;(function(e){e.Lines="lines",e.Dots="dots",e.Cross="cross"})(Zi||(Zi={}));const _Ae={[Zi.Dots]:1,[Zi.Lines]:1,[Zi.Cross]:6},EAe=e=>({transform:e.transform,patternId:`pattern-${e.rfId}`});function Yq({id:e,variant:r=Zi.Dots,gap:n=20,size:o,lineWidth:a=1,offset:i=0,color:l,bgColor:s,style:c,className:u,patternClassName:d}){const p=S.useRef(null),{transform:f,patternId:g}=At(EAe,$r),b=o||_Ae[r],x=r===Zi.Dots,w=r===Zi.Cross,k=Array.isArray(n)?n:[n,n],C=[k[0]*f[2]||1,k[1]*f[2]||1],_=b*f[2],T=Array.isArray(i)?i:[i,i],R=w?[_,_]:C,A=[T[0]*f[2]||1+R[0]/2,T[1]*f[2]||1+R[1]/2],D=`${g}${e||""}`;return y.jsxs("svg",{className:dn(["react-flow__background",u]),style:{...c,...$x,"--xy-background-color-props":s,"--xy-background-pattern-color-props":l},ref:p,"data-testid":"rf__background",children:[y.jsx("pattern",{id:D,x:f[0]%C[0],y:f[1]%C[1],width:C[0],height:C[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${A[0]},-${A[1]})`,children:x?y.jsx(kAe,{radius:_/2,className:d}):y.jsx(wAe,{dimensions:R,lineWidth:a,variant:r,className:d})}),y.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${D})`})]})}Yq.displayName="Background";const Wq=S.memo(Yq);function SAe(){return y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:y.jsx("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function CAe(){return y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5",children:y.jsx("path",{d:"M0 0h32v4.2H0z"})})}function TAe(){return y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30",children:y.jsx("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})})}function RAe(){return y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:y.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function AAe(){return y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:y.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}function zx({children:e,className:r,...n}){return y.jsx("button",{type:"button",className:dn(["react-flow__controls-button",r]),...n,children:e})}const NAe=e=>({isInteractive:e.nodesDraggable||e.nodesConnectable||e.elementsSelectable,minZoomReached:e.transform[2]<=e.minZoom,maxZoomReached:e.transform[2]>=e.maxZoom,ariaLabelConfig:e.ariaLabelConfig});function Gq({style:e,showZoom:r=!0,showFitView:n=!0,showInteractive:o=!0,fitViewOptions:a,onZoomIn:i,onZoomOut:l,onFitView:s,onInteractiveChange:c,className:u,children:d,position:p="bottom-left",orientation:f="vertical","aria-label":g}){const b=yr(),{isInteractive:x,minZoomReached:w,maxZoomReached:k,ariaLabelConfig:C}=At(NAe,$r),{zoomIn:_,zoomOut:T,fitView:R}=bf(),A=()=>{_(),i?.()},D=()=>{T(),l?.()},N=()=>{R(a),s?.()},$=()=>{b.setState({nodesDraggable:!x,nodesConnectable:!x,elementsSelectable:!x}),c?.(!x)};return y.jsxs(fu,{className:dn(["react-flow__controls",f==="horizontal"?"horizontal":"vertical",u]),position:p,style:e,"data-testid":"rf__controls","aria-label":g??C["controls.ariaLabel"],children:[r&&y.jsxs(y.Fragment,{children:[y.jsx(zx,{onClick:A,className:"react-flow__controls-zoomin",title:C["controls.zoomIn.ariaLabel"],"aria-label":C["controls.zoomIn.ariaLabel"],disabled:k,children:y.jsx(SAe,{})}),y.jsx(zx,{onClick:D,className:"react-flow__controls-zoomout",title:C["controls.zoomOut.ariaLabel"],"aria-label":C["controls.zoomOut.ariaLabel"],disabled:w,children:y.jsx(CAe,{})})]}),n&&y.jsx(zx,{className:"react-flow__controls-fitview",onClick:N,title:C["controls.fitView.ariaLabel"],"aria-label":C["controls.fitView.ariaLabel"],children:y.jsx(TAe,{})}),o&&y.jsx(zx,{className:"react-flow__controls-interactive",onClick:$,title:C["controls.interactive.ariaLabel"],"aria-label":C["controls.interactive.ariaLabel"],children:x?y.jsx(AAe,{}):y.jsx(RAe,{})}),d]})}Gq.displayName="Controls",S.memo(Gq);function DAe({id:e,x:r,y:n,width:o,height:a,style:i,color:l,strokeColor:s,strokeWidth:c,className:u,borderRadius:d,shapeRendering:p,selected:f,onClick:g}){const{background:b,backgroundColor:x}=i||{},w=l||b||x;return y.jsx("rect",{className:dn(["react-flow__minimap-node",{selected:f},u]),x:r,y:n,rx:d,ry:d,width:o,height:a,style:{fill:w,stroke:s,strokeWidth:c},shapeRendering:p,onClick:g?k=>g(k,e):void 0})}const PAe=S.memo(DAe),$Ae=e=>e.nodes.map(r=>r.id),VE=e=>e instanceof Function?e:()=>e;function MAe({nodeStrokeColor:e,nodeColor:r,nodeClassName:n="",nodeBorderRadius:o=5,nodeStrokeWidth:a,nodeComponent:i=PAe,onClick:l}){const s=At($Ae,$r),c=VE(r),u=VE(e),d=VE(n),p=typeof window>"u"||window.chrome?"crispEdges":"geometricPrecision";return y.jsx(y.Fragment,{children:s.map(f=>y.jsx(IAe,{id:f,nodeColorFunc:c,nodeStrokeColorFunc:u,nodeClassNameFunc:d,nodeBorderRadius:o,nodeStrokeWidth:a,NodeComponent:i,onClick:l,shapeRendering:p},f))})}function OAe({id:e,nodeColorFunc:r,nodeStrokeColorFunc:n,nodeClassNameFunc:o,nodeBorderRadius:a,nodeStrokeWidth:i,shapeRendering:l,NodeComponent:s,onClick:c}){const{node:u,x:d,y:p,width:f,height:g}=At(b=>{const{internals:x}=b.nodeLookup.get(e),w=x.userNode,{x:k,y:C}=x.positionAbsolute,{width:_,height:T}=Qn(w);return{node:w,x:k,y:C,width:_,height:T}},$r);return!u||u.hidden||!iH(u)?null:y.jsx(s,{x:d,y:p,width:f,height:g,style:u.style,selected:!!u.selected,className:o(u),color:r(u),borderRadius:a,strokeColor:n(u),strokeWidth:i,shapeRendering:l,onClick:c,id:u.id})}const IAe=S.memo(OAe);var zAe=S.memo(MAe);const LAe=200,BAe=150,jAe=e=>!e.hidden,FAe=e=>{const r={x:-e.transform[0]/e.transform[2],y:-e.transform[1]/e.transform[2],width:e.width/e.transform[2],height:e.height/e.transform[2]};return{viewBB:r,boundingRect:e.nodeLookup.size>0?kx(uf(e.nodeLookup,{filter:jAe}),r):r,rfId:e.rfId,panZoom:e.panZoom,translateExtent:e.translateExtent,flowWidth:e.width,flowHeight:e.height,ariaLabelConfig:e.ariaLabelConfig}},HAe="react-flow__minimap-desc";function Xq({style:e,className:r,nodeStrokeColor:n,nodeColor:o,nodeClassName:a="",nodeBorderRadius:i=5,nodeStrokeWidth:l,nodeComponent:s,bgColor:c,maskColor:u,maskStrokeColor:d,maskStrokeWidth:p,position:f="bottom-right",onClick:g,onNodeClick:b,pannable:x=!1,zoomable:w=!1,ariaLabel:k,inversePan:C,zoomStep:_=1,offsetScale:T=5}){const R=yr(),A=S.useRef(null),{boundingRect:D,viewBB:N,rfId:$,panZoom:O,translateExtent:j,flowWidth:L,flowHeight:Y,ariaLabelConfig:M}=At(FAe,$r),q=e?.width??LAe,z=e?.height??BAe,H=D.width/q,U=D.height/z,K=Math.max(H,U),V=K*q,X=K*z,Z=T*K,B=D.x-(V-D.width)/2-Z,W=D.y-(X-D.height)/2-Z,Q=V+Z*2,J=X+Z*2,ne=`${HAe}-${$}`,te=S.useRef(0),ee=S.useRef();te.current=K,S.useEffect(()=>{if(A.current&&O)return ee.current=sTe({domNode:A.current,panZoom:O,getTransform:()=>R.getState().transform,getViewScale:()=>te.current}),()=>{ee.current?.destroy()}},[O]),S.useEffect(()=>{ee.current?.update({translateExtent:j,width:L,height:Y,inversePan:C,pannable:x,zoomStep:_,zoomable:w})},[x,w,C,_,j,L,Y]);const pe=g?de=>{const[xe,De]=ee.current?.pointer(de)||[0,0];g(de,{x:xe,y:De})}:void 0,Te=b?S.useCallback((de,xe)=>{const De=R.getState().nodeLookup.get(xe).internals.userNode;b(de,De)},[]):void 0,ce=k??M["minimap.ariaLabel"];return y.jsx(fu,{position:f,style:{...e,"--xy-minimap-background-color-props":typeof c=="string"?c:void 0,"--xy-minimap-mask-background-color-props":typeof u=="string"?u:void 0,"--xy-minimap-mask-stroke-color-props":typeof d=="string"?d:void 0,"--xy-minimap-mask-stroke-width-props":typeof p=="number"?p*K:void 0,"--xy-minimap-node-background-color-props":typeof o=="string"?o:void 0,"--xy-minimap-node-stroke-color-props":typeof n=="string"?n:void 0,"--xy-minimap-node-stroke-width-props":typeof l=="number"?l:void 0},className:dn(["react-flow__minimap",r]),"data-testid":"rf__minimap",children:y.jsxs("svg",{width:q,height:z,viewBox:`${B} ${W} ${Q} ${J}`,className:"react-flow__minimap-svg",role:"img","aria-labelledby":ne,ref:A,onClick:pe,children:[ce&&y.jsx("title",{id:ne,children:ce}),y.jsx(zAe,{onClick:Te,nodeColor:o,nodeStrokeColor:n,nodeBorderRadius:i,nodeClassName:a,nodeStrokeWidth:l,nodeComponent:s}),y.jsx("path",{className:"react-flow__minimap-mask",d:`M${B-Z},${W-Z}h${Q+Z*2}v${J+Z*2}h${-Q-Z*2}z + M${N.x},${N.y}h${N.width}v${N.height}h${-N.width}z`,fillRule:"evenodd",pointerEvents:"none"})]})})}Xq.displayName="MiniMap",S.memo(Xq);const qAe=e=>r=>e?`${Math.max(1/r.transform[2],1)}`:void 0,UAe={[gf.Line]:"right",[gf.Handle]:"bottom-right"};function VAe({nodeId:e,position:r,variant:n=gf.Handle,className:o,style:a=void 0,children:i,color:l,minWidth:s=10,minHeight:c=10,maxWidth:u=Number.MAX_VALUE,maxHeight:d=Number.MAX_VALUE,keepAspectRatio:p=!1,resizeDirection:f,autoScale:g=!0,shouldResize:b,onResizeStart:x,onResize:w,onResizeEnd:k}){const C=UE(),_=typeof e=="string"?e:C,T=yr(),R=S.useRef(null),A=n===gf.Handle,D=At(S.useCallback(qAe(A&&g),[A,g]),$r),N=S.useRef(null),$=r??UAe[n];S.useEffect(()=>{if(!(!R.current||!_))return N.current||(N.current=kTe({domNode:R.current,nodeId:_,getStoreItems:()=>{const{nodeLookup:j,transform:L,snapGrid:Y,snapToGrid:M,nodeOrigin:q,domNode:z}=T.getState();return{nodeLookup:j,transform:L,snapGrid:Y,snapToGrid:M,nodeOrigin:q,paneDomNode:z}},onChange:(j,L)=>{const{triggerNodeChanges:Y,nodeLookup:M,parentLookup:q,nodeOrigin:z}=T.getState(),H=[],U={x:j.x,y:j.y},K=M.get(_);if(K&&K.expandParent&&K.parentId){const V=K.origin??z,X=j.width??K.measured.width??0,Z=j.height??K.measured.height??0,B={id:K.id,parentId:K.parentId,rect:{width:X,height:Z,...lH({x:j.x??K.position.x,y:j.y??K.position.y},{width:X,height:Z},K.parentId,M,V)}},W=$E([B],M,q,z);H.push(...W),U.x=j.x?Math.max(V[0]*X,j.x):void 0,U.y=j.y?Math.max(V[1]*Z,j.y):void 0}if(U.x!==void 0&&U.y!==void 0){const V={id:_,type:"position",position:{...U}};H.push(V)}if(j.width!==void 0&&j.height!==void 0){const V={id:_,type:"dimensions",resizing:!0,setAttributes:f?f==="horizontal"?"width":"height":!0,dimensions:{width:j.width,height:j.height}};H.push(V)}for(const V of L){const X={...V,type:"position"};H.push(X)}Y(H)},onEnd:({width:j,height:L})=>{const Y={id:_,type:"dimensions",resizing:!1,dimensions:{width:j,height:L}};T.getState().triggerNodeChanges([Y])}})),N.current.update({controlPosition:$,boundaries:{minWidth:s,minHeight:c,maxWidth:u,maxHeight:d},keepAspectRatio:p,resizeDirection:f,onResizeStart:x,onResize:w,onResizeEnd:k,shouldResize:b}),()=>{N.current?.destroy()}},[$,s,c,u,d,p,x,w,k,b]);const O=$.split("-");return y.jsx("div",{className:dn(["react-flow__resize-control","nodrag",...O,n,o]),ref:R,style:{...a,scale:D,...l&&{[A?"backgroundColor":"borderColor"]:l}},children:i})}S.memo(VAe);const YAe=e=>e.domNode?.querySelector(".react-flow__renderer");function WAe({children:e}){const r=At(YAe);return r?Fi.createPortal(e,r):null}const GAe=(e,r)=>e?.internals.positionAbsolute.x!==r?.internals.positionAbsolute.x||e?.internals.positionAbsolute.y!==r?.internals.positionAbsolute.y||e?.measured.width!==r?.measured.width||e?.measured.height!==r?.measured.height||e?.selected!==r?.selected||e?.internals.z!==r?.internals.z,XAe=(e,r)=>{if(e.size!==r.size)return!1;for(const[n,o]of e)if(GAe(o,r.get(n)))return!1;return!0},KAe=e=>({x:e.transform[0],y:e.transform[1],zoom:e.transform[2],selectedNodesCount:e.nodes.filter(r=>r.selected).length});function Kq({nodeId:e,children:r,className:n,style:o,isVisible:a,position:i=tt.Top,offset:l=10,align:s="center",...c}){const u=UE(),d=S.useCallback(T=>(Array.isArray(e)?e:[e||u||""]).reduce((R,A)=>{const D=T.nodeLookup.get(A);return D&&R.set(D.id,D),R},new Map),[e,u]),p=At(d,XAe),{x:f,y:g,zoom:b,selectedNodesCount:x}=At(KAe,$r);if(!(typeof a=="boolean"?a:p.size===1&&p.values().next().value?.selected&&x===1)||!p.size)return null;const w=uf(p),k=Array.from(p.values()),C=Math.max(...k.map(T=>T.internals.z+1)),_={position:"absolute",transform:VCe(w,{x:f,y:g,zoom:b},i,l,s),zIndex:C,...o};return y.jsx(WAe,{children:y.jsx("div",{style:_,className:dn(["react-flow__node-toolbar",n]),...c,"data-id":k.reduce((T,R)=>`${T}${R.id} `,"").trim(),children:r})})}var ZAe=Object.getOwnPropertyNames,QAe=Object.getOwnPropertySymbols,JAe=Object.prototype.hasOwnProperty;function Zq(e,r){return function(n,o,a){return e(n,o,a)&&r(n,o,a)}}function Lx(e){return function(r,n,o){if(!r||!n||typeof r!="object"||typeof n!="object")return e(r,n,o);var a=o.cache,i=a.get(r),l=a.get(n);if(i&&l)return i===n&&l===r;a.set(r,n),a.set(n,r);var s=e(r,n,o);return a.delete(r),a.delete(n),s}}function eNe(e){return e?.[Symbol.toStringTag]}function Qq(e){return ZAe(e).concat(QAe(e))}var tNe=Object.hasOwn||(function(e,r){return JAe.call(e,r)});function Jd(e,r){return e===r||!e&&!r&&e!==e&&r!==r}var rNe="__v",nNe="__o",oNe="_owner",Jq=Object.getOwnPropertyDescriptor,eU=Object.keys;function aNe(e,r,n){var o=e.length;if(r.length!==o)return!1;for(;o-- >0;)if(!n.equals(e[o],r[o],o,o,e,r,n))return!1;return!0}function iNe(e,r){return Jd(e.getTime(),r.getTime())}function lNe(e,r){return e.name===r.name&&e.message===r.message&&e.cause===r.cause&&e.stack===r.stack}function sNe(e,r){return e===r}function tU(e,r,n){var o=e.size;if(o!==r.size)return!1;if(!o)return!0;for(var a=new Array(o),i=e.entries(),l,s,c=0;(l=i.next())&&!l.done;){for(var u=r.entries(),d=!1,p=0;(s=u.next())&&!s.done;){if(a[p]){p++;continue}var f=l.value,g=s.value;if(n.equals(f[0],g[0],c,p,e,r,n)&&n.equals(f[1],g[1],f[0],g[0],e,r,n)){d=a[p]=!0;break}p++}if(!d)return!1;c++}return!0}var cNe=Jd;function uNe(e,r,n){var o=eU(e),a=o.length;if(eU(r).length!==a)return!1;for(;a-- >0;)if(!nU(e,r,n,o[a]))return!1;return!0}function D0(e,r,n){var o=Qq(e),a=o.length;if(Qq(r).length!==a)return!1;for(var i,l,s;a-- >0;)if(i=o[a],!nU(e,r,n,i)||(l=Jq(e,i),s=Jq(r,i),(l||s)&&(!l||!s||l.configurable!==s.configurable||l.enumerable!==s.enumerable||l.writable!==s.writable)))return!1;return!0}function dNe(e,r){return Jd(e.valueOf(),r.valueOf())}function pNe(e,r){return e.source===r.source&&e.flags===r.flags}function rU(e,r,n){var o=e.size;if(o!==r.size)return!1;if(!o)return!0;for(var a=new Array(o),i=e.values(),l,s;(l=i.next())&&!l.done;){for(var c=r.values(),u=!1,d=0;(s=c.next())&&!s.done;){if(!a[d]&&n.equals(l.value,s.value,l.value,s.value,e,r,n)){u=a[d]=!0;break}d++}if(!u)return!1}return!0}function hNe(e,r){var n=e.length;if(r.length!==n)return!1;for(;n-- >0;)if(e[n]!==r[n])return!1;return!0}function fNe(e,r){return e.hostname===r.hostname&&e.pathname===r.pathname&&e.protocol===r.protocol&&e.port===r.port&&e.hash===r.hash&&e.username===r.username&&e.password===r.password}function nU(e,r,n,o){return(o===oNe||o===nNe||o===rNe)&&(e.$$typeof||r.$$typeof)?!0:tNe(r,o)&&n.equals(e[o],r[o],o,o,e,r,n)}var mNe="[object Arguments]",gNe="[object Boolean]",yNe="[object Date]",bNe="[object Error]",vNe="[object Map]",xNe="[object Number]",wNe="[object Object]",kNe="[object RegExp]",_Ne="[object Set]",ENe="[object String]",SNe="[object URL]",CNe=Array.isArray,oU=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,aU=Object.assign,TNe=Object.prototype.toString.call.bind(Object.prototype.toString);function RNe(e){var r=e.areArraysEqual,n=e.areDatesEqual,o=e.areErrorsEqual,a=e.areFunctionsEqual,i=e.areMapsEqual,l=e.areNumbersEqual,s=e.areObjectsEqual,c=e.arePrimitiveWrappersEqual,u=e.areRegExpsEqual,d=e.areSetsEqual,p=e.areTypedArraysEqual,f=e.areUrlsEqual,g=e.unknownTagComparators;return function(b,x,w){if(b===x)return!0;if(b==null||x==null)return!1;var k=typeof b;if(k!==typeof x)return!1;if(k!=="object")return k==="number"?l(b,x,w):k==="function"?a(b,x,w):!1;var C=b.constructor;if(C!==x.constructor)return!1;if(C===Object)return s(b,x,w);if(CNe(b))return r(b,x,w);if(oU!=null&&oU(b))return p(b,x,w);if(C===Date)return n(b,x,w);if(C===RegExp)return u(b,x,w);if(C===Map)return i(b,x,w);if(C===Set)return d(b,x,w);var _=TNe(b);if(_===yNe)return n(b,x,w);if(_===kNe)return u(b,x,w);if(_===vNe)return i(b,x,w);if(_===_Ne)return d(b,x,w);if(_===wNe)return typeof b.then!="function"&&typeof x.then!="function"&&s(b,x,w);if(_===SNe)return f(b,x,w);if(_===bNe)return o(b,x,w);if(_===mNe)return s(b,x,w);if(_===gNe||_===xNe||_===ENe)return c(b,x,w);if(g){var T=g[_];if(!T){var R=eNe(b);R&&(T=g[R])}if(T)return T(b,x,w)}return!1}}function ANe(e){var r=e.circular,n=e.createCustomConfig,o=e.strict,a={areArraysEqual:o?D0:aNe,areDatesEqual:iNe,areErrorsEqual:lNe,areFunctionsEqual:sNe,areMapsEqual:o?Zq(tU,D0):tU,areNumbersEqual:cNe,areObjectsEqual:o?D0:uNe,arePrimitiveWrappersEqual:dNe,areRegExpsEqual:pNe,areSetsEqual:o?Zq(rU,D0):rU,areTypedArraysEqual:o?D0:hNe,areUrlsEqual:fNe,unknownTagComparators:void 0};if(n&&(a=aU({},a,n(a))),r){var i=Lx(a.areArraysEqual),l=Lx(a.areMapsEqual),s=Lx(a.areObjectsEqual),c=Lx(a.areSetsEqual);a=aU({},a,{areArraysEqual:i,areMapsEqual:l,areObjectsEqual:s,areSetsEqual:c})}return a}function NNe(e){return function(r,n,o,a,i,l,s){return e(r,n,s)}}function DNe(e){var r=e.circular,n=e.comparator,o=e.createState,a=e.equals,i=e.strict;if(o)return function(s,c){var u=o(),d=u.cache,p=d===void 0?r?new WeakMap:void 0:d,f=u.meta;return n(s,c,{cache:p,equals:a,meta:f,strict:i})};if(r)return function(s,c){return n(s,c,{cache:new WeakMap,equals:a,meta:void 0,strict:i})};var l={cache:void 0,equals:a,meta:void 0,strict:i};return function(s,c){return n(s,c,l)}}var ut=mu();mu({strict:!0}),mu({circular:!0}),mu({circular:!0,strict:!0});var Jn=mu({createInternalComparator:function(){return Jd}});mu({strict:!0,createInternalComparator:function(){return Jd}}),mu({circular:!0,createInternalComparator:function(){return Jd}}),mu({circular:!0,createInternalComparator:function(){return Jd},strict:!0});function mu(e){e===void 0&&(e={});var r=e.circular,n=r===void 0?!1:r,o=e.createInternalComparator,a=e.createState,i=e.strict,l=i===void 0?!1:i,s=ANe(e),c=RNe(s),u=o?o(c):NNe(c);return DNe({circular:n,comparator:c,createState:a,equals:u,strict:l})}function PNe(e,r,n){let o=a=>e(a,...r);return n===void 0?o:Object.assign(o,{lazy:n,lazyArgs:r})}function ur(e,r,n){let o=e.length-r.length;if(o===0)return e(...r);if(o===1)return PNe(e,r,n);throw Error("Wrong number of arguments")}const $Ne=e=>(r,n)=>{if(n===0)return e(r);if(!Number.isInteger(n))throw TypeError(`precision must be an integer: ${n.toString()}`);if(n>15||n<-15)throw RangeError("precision must be between -15 and 15");if(Number.isNaN(r)||!Number.isFinite(r))return e(r);let o=iU(r,n),a=e(o);return iU(a,-n)};function iU(e,r){let[n,o]=e.toString().split("e"),a=(o===void 0?0:Number.parseInt(o,10))+r,i=`${n}e${a.toString()}`;return Number.parseFloat(i)}function MNe(...e){return ur($Ne(Math.ceil),e)}function Qi(...e){return ur(ONe,e)}const ONe=(e,{min:r,max:n})=>r!==void 0&&en?n:e;function INe(...e){return ur(zNe,e)}const zNe=(e,r)=>[...e,...r],Bx={done:!1,hasNext:!1};function kn(e,...r){let n=e,o=r.map(i=>"lazy"in i?LNe(i):void 0),a=0;for(;akn(a,o),o)}throw Error("Wrong number of arguments")}function Ao(...e){return ur(FNe,e)}const FNe=(e,r)=>e.length>=r,sU={asc:(e,r)=>e>r,desc:(e,r)=>ee(i,a)}function YE(e,r,...n){let o=typeof e=="function"?e:e[0],a=typeof e=="function"?"asc":e[1],{[a]:i}=sU,l=r===void 0?void 0:YE(r,...n);return(s,c)=>{let u=o(s),d=o(c);return i(u,d)?1:i(d,u)?-1:l?.(s,c)??0}}function qNe(e){if(cU(e))return!0;if(typeof e!="object"||!Array.isArray(e))return!1;let[r,n,...o]=e;return cU(r)&&typeof n=="string"&&n in sU&&o.length===0}const cU=e=>typeof e=="function"&&e.length===1;function WE(...e){return ur(Object.entries,e)}function vf(...e){return ur(UNe,e,VNe)}const UNe=(e,r)=>e.filter(r),VNe=e=>(r,n,o)=>e(r,n,o)?{done:!1,hasNext:!0,next:r}:Bx,uU=e=>Object.assign(e,{single:!0});function jx(...e){return ur(YNe,e,uU(WNe))}const YNe=(e,r)=>e.find(r),WNe=e=>(r,n,o)=>e(r,n,o)?{done:!0,hasNext:!0,next:r}:Bx;function xf(...e){return ur(GNe,e,uU(XNe))}const GNe=([e])=>e,XNe=()=>KNe,KNe=e=>({hasNext:!0,next:e,done:!0});function ZNe(...e){return ur(QNe,e,JNe)}const QNe=(e,r)=>e.flatMap(r),JNe=e=>(r,n,o)=>{let a=e(r,n,o);return Array.isArray(a)?{done:!1,hasNext:!0,hasMany:!0,next:a}:{done:!1,hasNext:!0,next:a}};function eDe(...e){return ur(tDe,e)}function tDe(e,r){for(let[n,o]of Object.entries(e))r(o,n,e);return e}function rDe(...e){return ur(nDe,e)}const nDe=(e,r)=>{let n=Object.create(null);for(let o=0;otypeof e=="function";function uDe(e){return e!==null}function pU(e){return e!=null}function hU(e){return e==null}function fU(e){return typeof e=="number"&&!Number.isNaN(e)}function XE(e){if(typeof e!="object"||!e)return!1;let r=Object.getPrototypeOf(e);return r===null||r===Object.prototype}function KE(e){return typeof e=="string"}function Ta(e){return!!e}function mU(...e){return ur(dDe,e)}const dDe=(e,r)=>e.join(r);function ZE(...e){return ur(Object.keys,e)}function ep(...e){return ur(pDe,e)}const pDe=e=>e.at(-1);function No(...e){return ur(hDe,e,fDe)}const hDe=(e,r)=>e.map(r),fDe=e=>(r,n,o)=>({done:!1,hasNext:!0,next:e(r,n,o)});function M0(...e){return ur(mDe,e)}function mDe(e,r){let n={};for(let[o,a]of e.entries()){let[i,l]=r(a,o,e);n[i]=l}return n}function gDe(...e){return ur(yDe,e)}function yDe(e,r){let n={};for(let[o,a]of Object.entries(e))n[o]=r(a,o,e);return n}function gU(...e){return ur(yU,e)}function yU(e,r){let n={...e,...r};for(let o in r){if(!(o in e))continue;let{[o]:a}=e;if(!XE(a))continue;let{[o]:i}=r;XE(i)&&(n[o]=yU(a,i))}return n}function tp(...e){return ur(bDe,e)}function bDe(e,r){if(!Ao(r,1))return{...e};if(!Ao(r,2)){let{[r[0]]:o,...a}=e;return a}let n={...e};for(let o of r)delete n[o];return n}function Hx(...e){return ur(vDe,e)}const vDe=e=>e.length===1?e[0]:void 0;function bU(...e){return ur(xDe,e)}const xDe=(e,r)=>{let n=[[],[]];for(let[o,a]of e.entries())r(a,o,e)?n[0].push(a):n[1].push(a);return n};function vU(...e){return ur(wDe,e)}function wDe(e,r){let n={};for(let o of r)o in e&&(n[o]=e[o]);return n}function kDe(...e){return ur(_De,e)}function _De(e,r){let n={};for(let[o,a]of Object.entries(e))r(a,o,e)&&(n[o]=a);return n}function Ra(e,...r){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"?n=>xU(n,e,...r):xU(e,...r)}function xU(e,...r){let n=e;for(let o of r){if(n==null)return;n=n[o]}return n}function EDe(...e){return ur(SDe,e)}function SDe(e,r){let n=[];for(let o=e;oe.reduce(r,n);function TDe(...e){return ur(RDe,e)}function RDe(e){return[...e].reverse()}function ADe(...e){return ur(NDe,e)}function NDe(e,r){let n=[...e];return n.sort(r),n}function qx(...e){return HNe(DDe,e)}const DDe=(e,r)=>[...e].sort(r);function wU(...e){return ur(PDe,e)}function PDe(e,r){return r(e),e}function QE(...e){return jNe($De,e)}function $De(){let e=new Set;return r=>e.has(r)?Bx:(e.add(r),{done:!1,hasNext:!0,next:r})}let Ji=[],yu=0;const Ux=4;let MDe=e=>{let r=[],n={get(){return n.lc||n.listen(()=>{})(),n.value},lc:0,listen(o){return n.lc=r.push(o),()=>{for(let i=yu+Ux;i"u")return ZDe;var r=QDe(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,o-n+r[2]-r[0])}},ePe=CU(),kf="data-scroll-locked",tPe=function(e,r,n,o){var a=e.left,i=e.top,l=e.right,s=e.gap;return n===void 0&&(n="margin"),` + .`.concat(IDe,` { overflow: hidden `).concat(o,`; padding-right: `).concat(s,"px ").concat(o,`; } - body[`).concat(ff,`] { + body[`).concat(kf,`] { overflow: hidden `).concat(o,`; overscroll-behavior: contain; `).concat([r&&"position: relative ".concat(o,";"),n==="margin"&&` @@ -168,52 +168,52 @@ function w1e(e,r){for(var n=0;ns)return!0}o=o.parentNode}while(o&&o!==n.body);return!1},MDe=function(e){var r=e.scrollTop,n=e.scrollHeight,o=e.clientHeight;return[r,n,o]},ODe=function(e){var r=e.scrollLeft,n=e.scrollWidth,o=e.clientWidth;return[r,n,o]},vU=function(e,r){return e==="v"?PDe(r):$De(r)},xU=function(e,r){return e==="v"?MDe(r):ODe(r)},IDe=function(e,r){return e==="h"&&r==="rtl"?-1:1},LDe=function(e,r,n,o,a){var i=IDe(e,window.getComputedStyle(r).direction),l=i*o,s=n.target,c=r.contains(s),u=!1,d=l>0,p=0,f=0;do{if(!s)break;var g=xU(e,s),b=g[0],x=g[1],w=g[2],k=x-w-i*b;(b||k)&&vU(e,s)&&(p+=k,f+=b);var C=s.parentNode;s=C&&C.nodeType===Node.DOCUMENT_FRAGMENT_NODE?C.host:C}while(!c&&s!==document.body||c&&(r.contains(s)||r===s));return(d&&Math.abs(p)<1||!d&&Math.abs(f)<1)&&(u=!0),u},Vx=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},wU=function(e){return[e.deltaX,e.deltaY]},kU=function(e){return e&&"current"in e?e.current:e},zDe=function(e,r){return e[0]===r[0]&&e[1]===r[1]},BDe=function(e){return` +`)},TU=function(){var e=parseInt(document.body.getAttribute(kf)||"0",10);return isFinite(e)?e:0},rPe=function(){S.useEffect(function(){return document.body.setAttribute(kf,(TU()+1).toString()),function(){var e=TU()-1;e<=0?document.body.removeAttribute(kf):document.body.setAttribute(kf,e.toString())}},[])},nPe=function(e){var r=e.noRelative,n=e.noImportant,o=e.gapMode,a=o===void 0?"margin":o;rPe();var i=S.useMemo(function(){return JDe(a)},[a]);return S.createElement(ePe,{styles:tPe(i,!r,a,n?"":"!important")})},r9=!1;if(typeof window<"u")try{var Gx=Object.defineProperty({},"passive",{get:function(){return r9=!0,!0}});window.addEventListener("test",Gx,Gx),window.removeEventListener("test",Gx,Gx)}catch{r9=!1}var _f=r9?{passive:!1}:!1,oPe=function(e){return e.tagName==="TEXTAREA"},RU=function(e,r){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[r]!=="hidden"&&!(n.overflowY===n.overflowX&&!oPe(e)&&n[r]==="visible")},aPe=function(e){return RU(e,"overflowY")},iPe=function(e){return RU(e,"overflowX")},AU=function(e,r){var n=r.ownerDocument,o=r;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var a=NU(e,o);if(a){var i=DU(e,o),l=i[1],s=i[2];if(l>s)return!0}o=o.parentNode}while(o&&o!==n.body);return!1},lPe=function(e){var r=e.scrollTop,n=e.scrollHeight,o=e.clientHeight;return[r,n,o]},sPe=function(e){var r=e.scrollLeft,n=e.scrollWidth,o=e.clientWidth;return[r,n,o]},NU=function(e,r){return e==="v"?aPe(r):iPe(r)},DU=function(e,r){return e==="v"?lPe(r):sPe(r)},cPe=function(e,r){return e==="h"&&r==="rtl"?-1:1},uPe=function(e,r,n,o,a){var i=cPe(e,window.getComputedStyle(r).direction),l=i*o,s=n.target,c=r.contains(s),u=!1,d=l>0,p=0,f=0;do{if(!s)break;var g=DU(e,s),b=g[0],x=g[1],w=g[2],k=x-w-i*b;(b||k)&&NU(e,s)&&(p+=k,f+=b);var C=s.parentNode;s=C&&C.nodeType===Node.DOCUMENT_FRAGMENT_NODE?C.host:C}while(!c&&s!==document.body||c&&(r.contains(s)||r===s));return(d&&Math.abs(p)<1||!d&&Math.abs(f)<1)&&(u=!0),u},Xx=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},PU=function(e){return[e.deltaX,e.deltaY]},$U=function(e){return e&&"current"in e?e.current:e},dPe=function(e,r){return e[0]===r[0]&&e[1]===r[1]},pPe=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},jDe=0,gf=[];function FDe(e){var r=E.useRef([]),n=E.useRef([0,0]),o=E.useRef(),a=E.useState(jDe++)[0],i=E.useState(mU)[0],l=E.useRef(e);E.useEffect(function(){l.current=e},[e]),E.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var x=sDe([e.lockRef.current],(e.shards||[]).map(kU)).filter(Boolean);return x.forEach(function(w){return w.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),x.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=E.useCallback(function(x,w){if("touches"in x&&x.touches.length===2||x.type==="wheel"&&x.ctrlKey)return!l.current.allowPinchZoom;var k=Vx(x),C=n.current,_="deltaX"in x?x.deltaX:C[0]-k[0],T="deltaY"in x?x.deltaY:C[1]-k[1],R,A=x.target,D=Math.abs(_)>Math.abs(T)?"h":"v";if("touches"in x&&D==="h"&&A.type==="range")return!1;var N=bU(D,A);if(!N)return!0;if(N?R=D:(R=D==="v"?"h":"v",N=bU(D,A)),!N)return!1;if(!o.current&&"changedTouches"in x&&(_||T)&&(o.current=R),!R)return!0;var $=o.current||R;return LDe($,w,x,$==="h"?_:T)},[]),c=E.useCallback(function(x){var w=x;if(!(!gf.length||gf[gf.length-1]!==i)){var k="deltaY"in w?wU(w):Vx(w),C=r.current.filter(function(R){return R.name===w.type&&(R.target===w.target||w.target===R.shadowParent)&&zDe(R.delta,k)})[0];if(C&&C.should){w.cancelable&&w.preventDefault();return}if(!C){var _=(l.current.shards||[]).map(kU).filter(Boolean).filter(function(R){return R.contains(w.target)}),T=_.length>0?s(w,_[0]):!l.current.noIsolation;T&&w.cancelable&&w.preventDefault()}}},[]),u=E.useCallback(function(x,w,k,C){var _={name:x,delta:w,target:k,should:C,shadowParent:HDe(k)};r.current.push(_),setTimeout(function(){r.current=r.current.filter(function(T){return T!==_})},1)},[]),d=E.useCallback(function(x){n.current=Vx(x),o.current=void 0},[]),p=E.useCallback(function(x){u(x.type,wU(x),x.target,s(x,e.lockRef.current))},[]),f=E.useCallback(function(x){u(x.type,Vx(x),x.target,s(x,e.lockRef.current))},[]);E.useEffect(function(){return gf.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",c,mf),document.addEventListener("touchmove",c,mf),document.addEventListener("touchstart",d,mf),function(){gf=gf.filter(function(x){return x!==i}),document.removeEventListener("wheel",c,mf),document.removeEventListener("touchmove",c,mf),document.removeEventListener("touchstart",d,mf)}},[]);var g=e.removeScrollBar,b=e.inert;return E.createElement(E.Fragment,null,b?E.createElement(i,{styles:BDe(a)}):null,g?E.createElement(NDe,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function HDe(e){for(var r=null;e!==null;)e instanceof ShadowRoot&&(r=e.host,e=e.host),e=e.parentNode;return r}const qDe=yDe(fU,FDe);var S0=E.forwardRef(function(e,r){return E.createElement(qx,Jl({},e,{ref:r,sideCar:qDe}))});S0.classNames=qx.classNames;function Ao(e){return Object.keys(e)}function ZE(e){return e&&typeof e=="object"&&!Array.isArray(e)}function QE(e,r){const n={...e},o=r;return ZE(e)&&ZE(r)&&Object.keys(r).forEach(a=>{ZE(o[a])&&a in e?n[a]=QE(n[a],o[a]):n[a]=o[a]}),n}function UDe(e){return e.replace(/[A-Z]/g,r=>`-${r.toLowerCase()}`)}function VDe(e){return typeof e!="string"||!e.includes("var(--mantine-scale)")?e:e.match(/^calc\((.*?)\)$/)?.[1].split("*")[0].trim()}function JE(e){const r=VDe(e);return typeof r=="number"?r:typeof r=="string"?r.includes("calc")||r.includes("var")?r:r.includes("px")?Number(r.replace("px","")):r.includes("rem")?Number(r.replace("rem",""))*16:r.includes("em")?Number(r.replace("em",""))*16:Number(r):NaN}function _U(e){return e==="0rem"?"0rem":`calc(${e} * var(--mantine-scale))`}function EU(e,{shouldScale:r=!1}={}){function n(o){if(o===0||o==="0")return`0${e}`;if(typeof o=="number"){const a=`${o/16}${e}`;return r?_U(a):a}if(typeof o=="string"){if(o===""||o.startsWith("calc(")||o.startsWith("clamp(")||o.includes("rgba("))return o;if(o.includes(","))return o.split(",").map(i=>n(i)).join(",");if(o.includes(" "))return o.split(" ").map(i=>n(i)).join(" ");const a=o.replace("px","");if(!Number.isNaN(Number(a))){const i=`${Number(a)/16}${e}`;return r?_U(i):i}}return o}return n}const Ae=EU("rem",{shouldScale:!0}),SU=EU("em");function yf(e){return Object.keys(e).reduce((r,n)=>(e[n]!==void 0&&(r[n]=e[n]),r),{})}function CU(e){if(typeof e=="number")return!0;if(typeof e=="string"){if(e.startsWith("calc(")||e.startsWith("var(")||e.includes(" ")&&e.trim()!=="")return!0;const r=/^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;return e.trim().split(/\s+/).every(n=>r.test(n))}return!1}function Qi(e){return Array.isArray(e)||e===null?!1:typeof e=="object"?e.type!==E.Fragment:!1}function ri(e){const r=E.createContext(null);return[({children:n,value:o})=>y.jsx(r.Provider,{value:o,children:n}),()=>{const n=E.useContext(r);if(n===null)throw new Error(e);return n}]}function C0(e=null){const r=E.createContext(e);return[({children:n,value:o})=>y.jsx(r.Provider,{value:o,children:n}),()=>E.useContext(r)]}function TU(e,r){return n=>{if(typeof n!="string"||n.trim().length===0)throw new Error(r);return`${e}-${n}`}}function bf(e,r){let n=e;for(;(n=n.parentElement)&&!n.matches(r););return n}function YDe(e,r,n){for(let o=e-1;o>=0;o-=1)if(!r[o].disabled)return o;if(n){for(let o=r.length-1;o>-1;o-=1)if(!r[o].disabled)return o}return e}function WDe(e,r,n){for(let o=e+1;o{n?.(s);const c=Array.from(bf(s.currentTarget,e)?.querySelectorAll(r)||[]).filter(b=>GDe(s.currentTarget,b,e)),u=c.findIndex(b=>s.currentTarget===b),d=WDe(u,c,o),p=YDe(u,c,o),f=i==="rtl"?p:d,g=i==="rtl"?d:p;switch(s.key){case"ArrowRight":{l==="horizontal"&&(s.stopPropagation(),s.preventDefault(),c[f].focus(),a&&c[f].click());break}case"ArrowLeft":{l==="horizontal"&&(s.stopPropagation(),s.preventDefault(),c[g].focus(),a&&c[g].click());break}case"ArrowUp":{l==="vertical"&&(s.stopPropagation(),s.preventDefault(),c[p].focus(),a&&c[p].click());break}case"ArrowDown":{l==="vertical"&&(s.stopPropagation(),s.preventDefault(),c[d].focus(),a&&c[d].click());break}case"Home":{s.stopPropagation(),s.preventDefault(),!c[0].disabled&&c[0].focus();break}case"End":{s.stopPropagation(),s.preventDefault();const b=c.length-1;!c[b].disabled&&c[b].focus();break}}}}const XDe={app:100,modal:200,popover:300,overlay:400,max:9999};function Yx(e){return XDe[e]}const RU=()=>{};function KDe(e,r={active:!0}){return typeof e!="function"||!r.active?r.onKeyDown||RU:n=>{n.key==="Escape"&&(e(n),r.onTrigger?.())}}function sr(e,r="size",n=!0){if(e!==void 0)return CU(e)?n?Ae(e):e:`var(--${r}-${e})`}function qs(e){return sr(e,"mantine-spacing")}function bn(e){return e===void 0?"var(--mantine-radius-default)":sr(e,"mantine-radius")}function No(e){return sr(e,"mantine-font-size")}function ZDe(e){return sr(e,"mantine-line-height",!1)}function AU(e){if(e)return sr(e,"mantine-shadow",!1)}function vn(e,r){return n=>{e?.(n),r?.(n)}}function QDe(e,r){return e in r?JE(r[e]):JE(e)}function NU(e,r){const n=e.map(o=>({value:o,px:QDe(o,r)}));return n.sort((o,a)=>o.px-a.px),n}function R0(e){return typeof e=="object"&&e!==null?"base"in e?e.base:void 0:e}function JDe(e,r,n){return n?Array.from(bf(n,r)?.querySelectorAll(e)||[]).findIndex(o=>o===n):null}function su(e,r,n){return r===void 0&&n===void 0?e:r!==void 0&&n===void 0?Math.max(e,r):Math.min(r===void 0&&n!==void 0?e:Math.max(e,r),n)}function e9(e="mantine-"){return`${e}${Math.random().toString(36).slice(2,11)}`}function ePe(e,r){if(e===r||Number.isNaN(e)&&Number.isNaN(r))return!0;if(!(e instanceof Object)||!(r instanceof Object))return!1;const n=Object.keys(e),{length:o}=n;if(o!==Object.keys(r).length)return!1;for(let a=0;a{r.current=e}),E.useMemo(()=>((...n)=>r.current?.(...n)),[])}function vf(e,r){const{delay:n,flushOnUnmount:o,leading:a}=typeof r=="number"?{delay:r,flushOnUnmount:!1,leading:!1}:r,i=it(e),l=E.useRef(0),s=E.useMemo(()=>{const c=Object.assign((...u)=>{window.clearTimeout(l.current);const d=c._isFirstCall;c._isFirstCall=!1;function p(){window.clearTimeout(l.current),l.current=0,c._isFirstCall=!0}if(a&&d){i(...u);const b=()=>{p()},x=()=>{l.current!==0&&(p(),i(...u))},w=()=>{p()};c.flush=x,c.cancel=w,l.current=window.setTimeout(b,n);return}if(a&&!d){const b=()=>{l.current!==0&&(p(),i(...u))},x=()=>{p()};c.flush=b,c.cancel=x;const w=()=>{p()};l.current=window.setTimeout(w,n);return}const f=()=>{l.current!==0&&(p(),i(...u))},g=()=>{p()};c.flush=f,c.cancel=g,l.current=window.setTimeout(f,n)},{flush:()=>{},cancel:()=>{},_isFirstCall:!0});return c},[i,n,a]);return E.useEffect(()=>()=>{o?s.flush():s.cancel()},[s,o]),s}const tPe=["mousedown","touchstart"];function DU(e,r,n){const o=E.useRef(null),a=r||tPe;return E.useEffect(()=>{const i=l=>{const{target:s}=l??{};if(Array.isArray(n)){const c=!document.body.contains(s)&&s.tagName!=="HTML";n.every(u=>!!u&&!l.composedPath().includes(u))&&!c&&e()}else o.current&&!o.current.contains(s)&&e()};return a.forEach(l=>document.addEventListener(l,i)),()=>{a.forEach(l=>document.removeEventListener(l,i))}},[o,e,n]),o}function rPe(e={timeout:2e3}){const[r,n]=E.useState(null),[o,a]=E.useState(!1),[i,l]=E.useState(null),s=c=>{window.clearTimeout(i),l(window.setTimeout(()=>a(!1),e.timeout)),a(c)};return{copy:c=>{"clipboard"in navigator?navigator.clipboard.writeText(c).then(()=>s(!0)).catch(u=>n(u)):n(new Error("useClipboard: navigator.clipboard is not supported"))},reset:()=>{a(!1),n(null),window.clearTimeout(i)},error:r,copied:o}}function nPe(e,r){try{return e.addEventListener("change",r),()=>e.removeEventListener("change",r)}catch{return e.addListener(r),()=>e.removeListener(r)}}function oPe(e,r){return typeof window<"u"&&"matchMedia"in window?window.matchMedia(e).matches:!1}function PU(e,r,{getInitialValueInEffect:n}={getInitialValueInEffect:!0}){const[o,a]=E.useState(n?r:oPe(e));return E.useEffect(()=>{try{const i=window.matchMedia(e);return a(i.matches),nPe(i,l=>a(l.matches))}catch{return}},[e]),o||!1}function $U(e,r){return PU("(prefers-color-scheme: dark)",e==="dark",r)?"dark":"light"}function aPe(e,r,n={leading:!1}){const[o,a]=E.useState(e),i=E.useRef(null),l=E.useRef(!0),s=()=>window.clearTimeout(i.current);E.useEffect(()=>s,[]);const c=E.useCallback(u=>{s(),l.current&&n.leading?a(u):i.current=window.setTimeout(()=>{l.current=!0,a(u)},r),l.current=!1},[n.leading]);return[o,c]}function t9(e,r,n={leading:!1}){const[o,a]=E.useState(e),i=E.useRef(!1),l=E.useRef(null),s=E.useRef(!1),c=E.useCallback(()=>window.clearTimeout(l.current),[]);return E.useEffect(()=>{i.current&&(!s.current&&n.leading?(s.current=!0,a(e)):(c(),l.current=window.setTimeout(()=>{s.current=!1,a(e)},r)))},[e,n.leading,r]),E.useEffect(()=>(i.current=!0,c),[]),[o,c]}const A0=typeof document<"u"?E.useLayoutEffect:E.useEffect;function Vd(e,r){const n=E.useRef(!1);E.useEffect(()=>()=>{n.current=!1},[]),E.useEffect(()=>{if(n.current)return e();n.current=!0},r)}function iPe({opened:e,shouldReturnFocus:r=!0}){const n=E.useRef(null),o=()=>{n.current&&"focus"in n.current&&typeof n.current.focus=="function"&&n.current?.focus({preventScroll:!0})};return Vd(()=>{let a=-1;const i=l=>{l.key==="Tab"&&window.clearTimeout(a)};return document.addEventListener("keydown",i),e?n.current=document.activeElement:r&&(a=window.setTimeout(o,10)),()=>{window.clearTimeout(a),document.removeEventListener("keydown",i)}},[e,r]),o}const lPe=/input|select|textarea|button|object/,MU="a, input, select, textarea, button, object, [tabindex]";function sPe(e){return e.style.display==="none"}function cPe(e){if(e.getAttribute("aria-hidden")||e.getAttribute("hidden")||e.getAttribute("type")==="hidden")return!1;let r=e;for(;r&&!(r===document.body||r.nodeType===11);){if(sPe(r))return!1;r=r.parentNode}return!0}function OU(e){let r=e.getAttribute("tabindex");return r===null&&(r=void 0),parseInt(r,10)}function r9(e){const r=e.nodeName.toLowerCase(),n=!Number.isNaN(OU(e));return(lPe.test(r)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n)&&cPe(e)}function IU(e){const r=OU(e);return(Number.isNaN(r)||r>=0)&&r9(e)}function uPe(e){return Array.from(e.querySelectorAll(MU)).filter(IU)}function dPe(e,r){const n=uPe(e);if(!n.length){r.preventDefault();return}const o=n[r.shiftKey?0:n.length-1],a=e.getRootNode();let i=o===a.activeElement||e===a.activeElement;const l=a.activeElement;if(l.tagName==="INPUT"&&l.getAttribute("type")==="radio"&&(i=n.filter(c=>c.getAttribute("type")==="radio"&&c.getAttribute("name")===l.getAttribute("name")).includes(o)),!i)return;r.preventDefault();const s=n[r.shiftKey?n.length-1:0];s&&s.focus()}function LU(e=!0){const r=E.useRef(null),n=a=>{let i=a.querySelector("[data-autofocus]");if(!i){const l=Array.from(a.querySelectorAll(MU));i=l.find(IU)||l.find(r9)||null,!i&&r9(a)&&(i=a)}i&&i.focus({preventScroll:!0})},o=E.useCallback(a=>{e&&a!==null&&r.current!==a&&(a?(setTimeout(()=>{a.getRootNode()&&n(a)}),r.current=a):r.current=null)},[e]);return E.useEffect(()=>{if(!e)return;r.current&&setTimeout(()=>n(r.current));const a=i=>{i.key==="Tab"&&r.current&&dPe(r.current,i)};return document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)},[e]),o}const pPe=Xr.useId||(()=>{});function hPe(){const e=pPe();return e?`mantine-${e.replace(/:/g,"")}`:""}function Ta(e){const r=hPe(),[n,o]=E.useState(r);return A0(()=>{o(e9())},[]),typeof e=="string"?e:typeof window>"u"?r:n}function xf(e,r,n){E.useEffect(()=>(window.addEventListener(e,r,n),()=>window.removeEventListener(e,r,n)),[e,r])}function fPe(e,r="use-local-storage"){try{return JSON.stringify(e)}catch{throw new Error(`@mantine/hooks ${r}: Failed to serialize the value`)}}function mPe(e){try{return e&&JSON.parse(e)}catch{return e}}function gPe(e){return{getItem:r=>{try{return window[e].getItem(r)}catch{return console.warn("use-local-storage: Failed to get value from storage, localStorage is blocked"),null}},setItem:(r,n)=>{try{window[e].setItem(r,n)}catch{console.warn("use-local-storage: Failed to set value to storage, localStorage is blocked")}},removeItem:r=>{try{window[e].removeItem(r)}catch{console.warn("use-local-storage: Failed to remove value from storage, localStorage is blocked")}}}}function zU(e,r){const n=e==="localStorage"?"mantine-local-storage":"mantine-session-storage",{getItem:o,setItem:a,removeItem:i}=gPe(e);return function({key:l,defaultValue:s,getInitialValueInEffect:c=!0,sync:u=!0,deserialize:d=mPe,serialize:p=f=>fPe(f,r)}){const f=E.useCallback(k=>{let C;try{C=typeof window>"u"||!(e in window)||window[e]===null||!!k}catch{C=!0}if(C)return s;const _=o(l);return _!==null?d(_):s},[l,s]),[g,b]=E.useState(f(c)),x=E.useCallback(k=>{k instanceof Function?b(C=>{const _=k(C);return a(l,p(_)),queueMicrotask(()=>{window.dispatchEvent(new CustomEvent(n,{detail:{key:l,value:k(C)}}))}),_}):(a(l,p(k)),window.dispatchEvent(new CustomEvent(n,{detail:{key:l,value:k}})),b(k))},[l]),w=E.useCallback(()=>{i(l),window.dispatchEvent(new CustomEvent(n,{detail:{key:l,value:s}}))},[]);return xf("storage",k=>{u&&k.storageArea===window[e]&&k.key===l&&b(d(k.newValue??void 0))}),xf(n,k=>{u&&k.detail.key===l&&b(k.detail.value)}),E.useEffect(()=>{s!==void 0&&g===void 0&&x(s)},[s,g,x]),E.useEffect(()=>{const k=f();k!==void 0&&x(k)},[l]),[g===void 0?s:g,x,w]}}function yPe(e){return zU("localStorage","use-local-storage")(e)}function bPe(e){return zU("sessionStorage","use-session-storage")(e)}function n9(e,r){if(typeof e=="function")return e(r);typeof e=="object"&&e!==null&&"current"in e&&(e.current=r)}function BU(...e){const r=new Map;return n=>{if(e.forEach(o=>{const a=n9(o,n);a&&r.set(o,a)}),r.size>0)return()=>{e.forEach(o=>{const a=r.get(o);a&&typeof a=="function"?a():n9(o,null)}),r.clear()}}}function Nr(...e){return E.useCallback(BU(...e),e)}function vPe(e){return{x:su(e.x,0,1),y:su(e.y,0,1)}}function jU(e,r,n="ltr"){const o=E.useRef(!1),a=E.useRef(!1),i=E.useRef(0),[l,s]=E.useState(!1),c=E.useRef(null);return E.useEffect(()=>{o.current=!0},[]),{ref:E.useCallback(u=>{if(c.current&&(c.current(),c.current=null),!u)return;const d=({x:_,y:T})=>{cancelAnimationFrame(i.current),i.current=requestAnimationFrame(()=>{if(o.current&&u){u.style.userSelect="none";const R=u.getBoundingClientRect();if(R.width&&R.height){const A=su((_-R.left)/R.width,0,1);e({x:n==="ltr"?A:1-A,y:su((T-R.top)/R.height,0,1)})}}})},p=()=>{document.addEventListener("mousemove",w),document.addEventListener("mouseup",b),document.addEventListener("touchmove",C,{passive:!1}),document.addEventListener("touchend",b)},f=()=>{document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",b),document.removeEventListener("touchmove",C),document.removeEventListener("touchend",b)},g=()=>{!a.current&&o.current&&(a.current=!0,typeof r?.onScrubStart=="function"&&r.onScrubStart(),s(!0),p())},b=()=>{a.current&&o.current&&(a.current=!1,s(!1),f(),setTimeout(()=>{typeof r?.onScrubEnd=="function"&&r.onScrubEnd()},0))},x=_=>{g(),_.preventDefault(),w(_)},w=_=>d({x:_.clientX,y:_.clientY}),k=_=>{_.cancelable&&_.preventDefault(),g(),C(_)},C=_=>{_.cancelable&&_.preventDefault(),d({x:_.changedTouches[0].clientX,y:_.changedTouches[0].clientY})};u.addEventListener("mousedown",x),u.addEventListener("touchstart",k,{passive:!1}),c.current=()=>{u.removeEventListener("mousedown",x),u.removeEventListener("touchstart",k)}},[n,e]),active:l}}function Us({value:e,defaultValue:r,finalValue:n,onChange:o=()=>{}}){const[a,i]=E.useState(r!==void 0?r:n);return e!==void 0?[e,o,!0]:[a,(s,...c)=>{i(s),o?.(s,...c)},!1]}function FU(e,r){return PU("(prefers-reduced-motion: reduce)",e,r)}function xPe(e,r){if(!e||!r)return!1;if(e===r)return!0;if(e.length!==r.length)return!1;for(let n=0;n{r({width:window.innerWidth||0,height:window.innerHeight||0})},[]);return xf("resize",n,HU),xf("orientationchange",n,HU),E.useEffect(n,[]),e}const EPe={" ":"space",ArrowLeft:"arrowleft",ArrowRight:"arrowright",ArrowUp:"arrowup",ArrowDown:"arrowdown",Escape:"escape",Esc:"escape",esc:"escape",Enter:"enter",Tab:"tab",Backspace:"backspace",Delete:"delete",Insert:"insert",Home:"home",End:"end",PageUp:"pageup",PageDown:"pagedown","+":"plus","-":"minus","*":"asterisk","/":"slash"};function Wx(e){const r=e.replace("Key","").toLowerCase();return EPe[e]||r}function SPe(e){const r=e.toLowerCase().split("+").map(i=>i.trim()),n={alt:r.includes("alt"),ctrl:r.includes("ctrl"),meta:r.includes("meta"),mod:r.includes("mod"),shift:r.includes("shift"),plus:r.includes("[plus]")},o=["alt","ctrl","meta","shift","mod"],a=r.find(i=>!o.includes(i));return{...n,key:a==="[plus]"?"+":a}}function CPe(e,r,n){const{alt:o,ctrl:a,meta:i,mod:l,shift:s,key:c}=e,{altKey:u,ctrlKey:d,metaKey:p,shiftKey:f,key:g,code:b}=r;if(o!==u)return!1;if(l){if(!d&&!p)return!1}else if(a!==d||i!==p)return!1;return s!==f?!1:!!(c&&(n?Wx(b)===Wx(c):Wx(g??b)===Wx(c)))}function qU(e,r){return n=>CPe(SPe(e),n,r)}function o9(e){return r=>{const n="nativeEvent"in r?r.nativeEvent:r;e.forEach(([o,a,i={preventDefault:!0,usePhysicalKeys:!1}])=>{qU(o,i.usePhysicalKeys)(n)&&(i.preventDefault&&r.preventDefault(),a(n))})}}function TPe(e,r,n=!1){return e.target instanceof HTMLElement?(n||!e.target.isContentEditable)&&!r.includes(e.target.tagName):!0}function RPe(e,r=["INPUT","TEXTAREA","SELECT"],n=!1){E.useEffect(()=>{const o=a=>{e.forEach(([i,l,s={preventDefault:!0,usePhysicalKeys:!1}])=>{qU(i,s.usePhysicalKeys)(a)&&TPe(a,r,n)&&(s.preventDefault&&a.preventDefault(),l(a))})};return document.documentElement.addEventListener("keydown",o),()=>document.documentElement.removeEventListener("keydown",o)},[e])}function a9(){const[e,r]=E.useState(!1),n=E.useRef(null),o=E.useCallback(()=>{r(!0)},[]),a=E.useCallback(()=>{r(!1)},[]);return{ref:E.useCallback(i=>{n.current&&(n.current.removeEventListener("mouseenter",o),n.current.removeEventListener("mouseleave",a)),i&&(i.addEventListener("mouseenter",o),i.addEventListener("mouseleave",a)),n.current=i},[o,a]),hovered:e}}function APe(e=!1,r={}){const[n,o]=E.useState(e),a=E.useCallback(()=>{o(s=>s||(r.onOpen?.(),!0))},[r.onOpen]),i=E.useCallback(()=>{o(s=>s&&(r.onClose?.(),!1))},[r.onClose]),l=E.useCallback(()=>{n?i():a()},[i,a,n]);return[n,{open:a,close:i,toggle:l}]}function NPe(e){return e.currentTarget instanceof HTMLElement&&e.relatedTarget instanceof HTMLElement?e.currentTarget.contains(e.relatedTarget):!1}function DPe({onBlur:e,onFocus:r}={}){const[n,o]=E.useState(!1),a=E.useRef(!1),i=E.useRef(null),l=E.useCallback(d=>{o(d),a.current=d},[]),s=E.useCallback(d=>{a.current||(l(!0),r?.(d))},[r]),c=E.useCallback(d=>{a.current&&!NPe(d)&&(l(!1),e?.(d))},[e]),u=E.useCallback(d=>{d&&(i.current&&(i.current.removeEventListener("focusin",s),i.current.removeEventListener("focusout",c)),d.addEventListener("focusin",s),d.addEventListener("focusout",c))},[s,c]);return E.useEffect(()=>()=>{i.current&&(i.current.removeEventListener("focusin",s),i.current.removeEventListener("focusout",c))},[]),{ref:u,focused:n}}function UU(e,r,n={autoInvoke:!1}){const o=E.useRef(null),a=E.useCallback((...l)=>{o.current||(o.current=window.setTimeout(()=>{e(l),o.current=null},r))},[r]),i=E.useCallback(()=>{o.current&&(window.clearTimeout(o.current),o.current=null)},[]);return E.useEffect(()=>(n.autoInvoke&&a(),i),[i,a]),{start:a,clear:i}}function VU(e,r,n){const o=E.useRef(null),a=E.useRef(null);return E.useEffect(()=>{const i=typeof n=="function"?n():n;return(i||a.current)&&(o.current=new MutationObserver(e),o.current.observe(i||a.current,r)),()=>{o.current?.disconnect()}},[e,r]),a}function PPe(){const[e,r]=E.useState(!1);return E.useEffect(()=>r(!0),[]),e}function YU(e){const[r,n]=E.useState({history:[e],current:0}),o=E.useCallback(c=>n(u=>{const d=[...u.history.slice(0,u.current+1),c];return{history:d,current:d.length-1}}),[]),a=E.useCallback((c=1)=>n(u=>({history:u.history,current:Math.max(0,u.current-c)})),[]),i=E.useCallback((c=1)=>n(u=>({history:u.history,current:Math.min(u.history.length-1,u.current+c)})),[]),l=E.useCallback(()=>{n({history:[e],current:0})},[e]),s=E.useMemo(()=>({back:a,forward:i,reset:l,set:o}),[a,i,l,o]);return[r.history[r.current],s,r]}function $Pe(e,r){const n=it(e),o=E.useRef(null),a=E.useRef(null),i=E.useRef(!0),l=E.useRef(r),s=E.useRef(-1),c=()=>window.clearTimeout(s.current),u=E.useCallback((...f)=>{n(...f),o.current=f,a.current=f,i.current=!1},[n]),d=E.useCallback(()=>{o.current&&o.current!==a.current?(u(...o.current),s.current=window.setTimeout(d,l.current)):i.current=!0},[u]),p=E.useCallback((...f)=>{i.current?(u(...f),s.current=window.setTimeout(d,l.current)):o.current=f},[u,d]);return E.useEffect(()=>{l.current=r},[r]),[p,c]}function MPe(e,r){return $Pe(e,r)[0]}function OPe(){return typeof process<"u"&&process.env?"production":"development"}function WU(e){const r=new Map;return(...n)=>{const o=JSON.stringify(n);if(r.has(o))return r.get(o);const a=e(...n);return r.set(o,a),a}}function GU(e,r){return r.length===0?e:r.reduce((n,o)=>Math.abs(o-e){Object.entries(n).forEach(([o,a])=>{r[o]?r[o]=Ji(r[o],a):r[o]=a})}),r}function Xx({theme:e,classNames:r,props:n,stylesCtx:o}){const a=(Array.isArray(r)?r:[r]).map(i=>typeof i=="function"?i(e,n,o):i||IPe);return LPe(a)}function Kx({theme:e,styles:r,props:n,stylesCtx:o}){return(Array.isArray(r)?r:[r]).reduce((a,i)=>typeof i=="function"?{...a,...i(e,n,o)}:{...a,...i},{})}const Zx=E.createContext(null);function cu(){const e=E.useContext(Zx);if(!e)throw new Error("[@mantine/core] MantineProvider was not found in tree");return e}function zPe(){return cu().cssVariablesResolver}function BPe(){return cu().classNamesPrefix}function Yd(){return cu().getStyleNonce}function jPe(){return cu().withStaticClasses}function FPe(){return cu().headless}function HPe(){return cu().stylesTransform?.sx}function qPe(){return cu().stylesTransform?.styles}function Qx(){return cu().env||"default"}function UPe(e){return/^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e)}function VPe(e){let r=e.replace("#","");if(r.length===3){const l=r.split("");r=[l[0],l[0],l[1],l[1],l[2],l[2]].join("")}if(r.length===8){const l=parseInt(r.slice(6,8),16)/255;return{r:parseInt(r.slice(0,2),16),g:parseInt(r.slice(2,4),16),b:parseInt(r.slice(4,6),16),a:l}}const n=parseInt(r,16),o=n>>16&255,a=n>>8&255,i=n&255;return{r:o,g:a,b:i,a:1}}function YPe(e){const[r,n,o,a]=e.replace(/[^0-9,./]/g,"").split(/[/,]/).map(Number);return{r,g:n,b:o,a:a===void 0?1:a}}function WPe(e){const r=/^hsla?\(\s*(\d+)\s*,\s*(\d+%)\s*,\s*(\d+%)\s*(,\s*(0?\.\d+|\d+(\.\d+)?))?\s*\)$/i,n=e.match(r);if(!n)return{r:0,g:0,b:0,a:1};const o=parseInt(n[1],10),a=parseInt(n[2],10)/100,i=parseInt(n[3],10)/100,l=n[5]?parseFloat(n[5]):void 0,s=(1-Math.abs(2*i-1))*a,c=o/60,u=s*(1-Math.abs(c%2-1)),d=i-s/2;let p,f,g;return c>=0&&c<1?(p=s,f=u,g=0):c>=1&&c<2?(p=u,f=s,g=0):c>=2&&c<3?(p=0,f=s,g=u):c>=3&&c<4?(p=0,f=u,g=s):c>=4&&c<5?(p=u,f=0,g=s):(p=s,f=0,g=u),{r:Math.round((p+d)*255),g:Math.round((f+d)*255),b:Math.round((g+d)*255),a:l||1}}function i9(e){return UPe(e)?VPe(e):e.startsWith("rgb")?YPe(e):e.startsWith("hsl")?WPe(e):{r:0,g:0,b:0,a:1}}function Jx(e,r){if(e.startsWith("var("))return`color-mix(in srgb, ${e}, black ${r*100}%)`;const{r:n,g:o,b:a,a:i}=i9(e),l=1-r,s=c=>Math.round(c*l);return`rgba(${s(n)}, ${s(o)}, ${s(a)}, ${i})`}function N0(e,r){return typeof e.primaryShade=="number"?e.primaryShade:r==="dark"?e.primaryShade.dark:e.primaryShade.light}function l9(e){return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}function GPe(e){const r=e.match(/oklch\((.*?)%\s/);return r?parseFloat(r[1]):null}function XPe(e){if(e.startsWith("oklch("))return(GPe(e)||0)/100;const{r,g:n,b:o}=i9(e),a=r/255,i=n/255,l=o/255,s=l9(a),c=l9(i),u=l9(l);return .2126*s+.7152*c+.0722*u}function D0(e,r=.179){return e.startsWith("var(")?!1:XPe(e)>r}function uu({color:e,theme:r,colorScheme:n}){if(typeof e!="string")throw new Error(`[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof e}`);if(e==="bright")return{color:e,value:n==="dark"?r.white:r.black,shade:void 0,isThemeColor:!1,isLight:D0(n==="dark"?r.white:r.black,r.luminanceThreshold),variable:"--mantine-color-bright"};if(e==="dimmed")return{color:e,value:n==="dark"?r.colors.dark[2]:r.colors.gray[7],shade:void 0,isThemeColor:!1,isLight:D0(n==="dark"?r.colors.dark[2]:r.colors.gray[6],r.luminanceThreshold),variable:"--mantine-color-dimmed"};if(e==="white"||e==="black")return{color:e,value:e==="white"?r.white:r.black,shade:void 0,isThemeColor:!1,isLight:D0(e==="white"?r.white:r.black,r.luminanceThreshold),variable:`--mantine-color-${e}`};const[o,a]=e.split("."),i=a?Number(a):void 0,l=o in r.colors;if(l){const s=i!==void 0?r.colors[o][i]:r.colors[o][N0(r,n||"light")];return{color:o,value:s,shade:i,isThemeColor:l,isLight:D0(s,r.luminanceThreshold),variable:a?`--mantine-color-${o}-${i}`:`--mantine-color-${o}-filled`}}return{color:e,value:e,isThemeColor:l,isLight:D0(e,r.luminanceThreshold),shade:i,variable:void 0}}function Jo(e,r){const n=uu({color:e||r.primaryColor,theme:r});return n.variable?`var(${n.variable})`:e}function s9(e,r){const n={from:e?.from||r.defaultGradient.from,to:e?.to||r.defaultGradient.to,deg:e?.deg??r.defaultGradient.deg??0},o=Jo(n.from,r),a=Jo(n.to,r);return`linear-gradient(${n.deg}deg, ${o} 0%, ${a} 100%)`}function es(e,r){if(typeof e!="string"||r>1||r<0)return"rgba(0, 0, 0, 1)";if(e.startsWith("var(")){const i=(1-r)*100;return`color-mix(in srgb, ${e}, transparent ${i}%)`}if(e.startsWith("oklch"))return e.includes("/")?e.replace(/\/\s*[\d.]+\s*\)/,`/ ${r})`):e.replace(")",` / ${r})`);const{r:n,g:o,b:a}=i9(e);return`rgba(${n}, ${o}, ${a}, ${r})`}const wf=es,KPe=({color:e,theme:r,variant:n,gradient:o,autoContrast:a})=>{const i=uu({color:e,theme:r}),l=typeof a=="boolean"?a:r.autoContrast;if(n==="none")return{background:"transparent",hover:"transparent",color:"inherit",border:"none"};if(n==="filled"){const s=l&&i.isLight?"var(--mantine-color-black)":"var(--mantine-color-white)";return i.isThemeColor?i.shade===void 0?{background:`var(--mantine-color-${e}-filled)`,hover:`var(--mantine-color-${e}-filled-hover)`,color:s,border:`${Ae(1)} solid transparent`}:{background:`var(--mantine-color-${i.color}-${i.shade})`,hover:`var(--mantine-color-${i.color}-${i.shade===9?8:i.shade+1})`,color:s,border:`${Ae(1)} solid transparent`}:{background:e,hover:Jx(e,.1),color:s,border:`${Ae(1)} solid transparent`}}if(n==="light"){if(i.isThemeColor){if(i.shade===void 0)return{background:`var(--mantine-color-${e}-light)`,hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${Ae(1)} solid transparent`};const s=r.colors[i.color][i.shade];return{background:es(s,.1),hover:es(s,.12),color:`var(--mantine-color-${i.color}-${Math.min(i.shade,6)})`,border:`${Ae(1)} solid transparent`}}return{background:es(e,.1),hover:es(e,.12),color:e,border:`${Ae(1)} solid transparent`}}if(n==="outline")return i.isThemeColor?i.shade===void 0?{background:"transparent",hover:`var(--mantine-color-${e}-outline-hover)`,color:`var(--mantine-color-${e}-outline)`,border:`${Ae(1)} solid var(--mantine-color-${e}-outline)`}:{background:"transparent",hover:es(r.colors[i.color][i.shade],.05),color:`var(--mantine-color-${i.color}-${i.shade})`,border:`${Ae(1)} solid var(--mantine-color-${i.color}-${i.shade})`}:{background:"transparent",hover:es(e,.05),color:e,border:`${Ae(1)} solid ${e}`};if(n==="subtle"){if(i.isThemeColor){if(i.shade===void 0)return{background:"transparent",hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${Ae(1)} solid transparent`};const s=r.colors[i.color][i.shade];return{background:"transparent",hover:es(s,.12),color:`var(--mantine-color-${i.color}-${Math.min(i.shade,6)})`,border:`${Ae(1)} solid transparent`}}return{background:"transparent",hover:es(e,.12),color:e,border:`${Ae(1)} solid transparent`}}return n==="transparent"?i.isThemeColor?i.shade===void 0?{background:"transparent",hover:"transparent",color:`var(--mantine-color-${e}-light-color)`,border:`${Ae(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:`var(--mantine-color-${i.color}-${Math.min(i.shade,6)})`,border:`${Ae(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:e,border:`${Ae(1)} solid transparent`}:n==="white"?i.isThemeColor?i.shade===void 0?{background:"var(--mantine-color-white)",hover:Jx(r.white,.01),color:`var(--mantine-color-${e}-filled)`,border:`${Ae(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:Jx(r.white,.01),color:`var(--mantine-color-${i.color}-${i.shade})`,border:`${Ae(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:Jx(r.white,.01),color:e,border:`${Ae(1)} solid transparent`}:n==="gradient"?{background:s9(o,r),hover:s9(o,r),color:"var(--mantine-color-white)",border:"none"}:n==="default"?{background:"var(--mantine-color-default)",hover:"var(--mantine-color-default-hover)",color:"var(--mantine-color-default-color)",border:`${Ae(1)} solid var(--mantine-color-default-border)`}:{}},ZPe={dark:["#C9C9C9","#b8b8b8","#828282","#696969","#424242","#3b3b3b","#2e2e2e","#242424","#1f1f1f","#141414"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]},KU="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",c9={scale:1,fontSmoothing:!0,focusRing:"auto",white:"#fff",black:"#000",colors:ZPe,primaryShade:{light:6,dark:8},primaryColor:"blue",variantColorResolver:KPe,autoContrast:!1,luminanceThreshold:.3,fontFamily:KU,fontFamilyMonospace:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",respectReducedMotion:!1,cursorType:"default",defaultGradient:{from:"blue",to:"cyan",deg:45},defaultRadius:"sm",activeClassName:"mantine-active",focusClassName:"",headings:{fontFamily:KU,fontWeight:"700",textWrap:"wrap",sizes:{h1:{fontSize:Ae(34),lineHeight:"1.3"},h2:{fontSize:Ae(26),lineHeight:"1.35"},h3:{fontSize:Ae(22),lineHeight:"1.4"},h4:{fontSize:Ae(18),lineHeight:"1.45"},h5:{fontSize:Ae(16),lineHeight:"1.5"},h6:{fontSize:Ae(14),lineHeight:"1.5"}}},fontSizes:{xs:Ae(12),sm:Ae(14),md:Ae(16),lg:Ae(18),xl:Ae(20)},lineHeights:{xs:"1.4",sm:"1.45",md:"1.55",lg:"1.6",xl:"1.65"},radius:{xs:Ae(2),sm:Ae(4),md:Ae(8),lg:Ae(16),xl:Ae(32)},spacing:{xs:Ae(10),sm:Ae(12),md:Ae(16),lg:Ae(20),xl:Ae(32)},breakpoints:{xs:"36em",sm:"48em",md:"62em",lg:"75em",xl:"88em"},shadows:{xs:`0 ${Ae(1)} ${Ae(3)} rgba(0, 0, 0, 0.05), 0 ${Ae(1)} ${Ae(2)} rgba(0, 0, 0, 0.1)`,sm:`0 ${Ae(1)} ${Ae(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${Ae(10)} ${Ae(15)} ${Ae(-5)}, rgba(0, 0, 0, 0.04) 0 ${Ae(7)} ${Ae(7)} ${Ae(-5)}`,md:`0 ${Ae(1)} ${Ae(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${Ae(20)} ${Ae(25)} ${Ae(-5)}, rgba(0, 0, 0, 0.04) 0 ${Ae(10)} ${Ae(10)} ${Ae(-5)}`,lg:`0 ${Ae(1)} ${Ae(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${Ae(28)} ${Ae(23)} ${Ae(-7)}, rgba(0, 0, 0, 0.04) 0 ${Ae(12)} ${Ae(12)} ${Ae(-7)}`,xl:`0 ${Ae(1)} ${Ae(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${Ae(36)} ${Ae(28)} ${Ae(-7)}, rgba(0, 0, 0, 0.04) 0 ${Ae(17)} ${Ae(17)} ${Ae(-7)}`},other:{},components:{}};function ZU(e){return e==="auto"||e==="dark"||e==="light"}function QPe({key:e="mantine-color-scheme-value"}={}){let r;return{get:n=>{if(typeof window>"u")return n;try{const o=window.localStorage.getItem(e);return ZU(o)?o:n}catch{return n}},set:n=>{try{window.localStorage.setItem(e,n)}catch(o){console.warn("[@mantine/core] Local storage color scheme manager was unable to save color scheme.",o)}},subscribe:n=>{r=o=>{o.storageArea===window.localStorage&&o.key===e&&ZU(o.newValue)&&n(o.newValue)},window.addEventListener("storage",r)},unsubscribe:()=>{window.removeEventListener("storage",r)},clear:()=>{window.localStorage.removeItem(e)}}}const JPe="[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color",QU="[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }";function u9(e){return e<0||e>9?!1:parseInt(e.toString(),10)===e}function JU(e){if(!(e.primaryColor in e.colors))throw new Error(JPe);if(typeof e.primaryShade=="object"&&(!u9(e.primaryShade.dark)||!u9(e.primaryShade.light)))throw new Error(QU);if(typeof e.primaryShade=="number"&&!u9(e.primaryShade))throw new Error(QU)}function e$e(e,r){if(!r)return JU(e),e;const n=QE(e,r);return r.fontFamily&&!r.headings?.fontFamily&&(n.headings.fontFamily=r.fontFamily),JU(n),n}const d9=E.createContext(null),t$e=()=>E.useContext(d9)||c9;function po(){const e=E.useContext(d9);if(!e)throw new Error("@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app");return e}function eV({theme:e,children:r,inherit:n=!0}){const o=t$e(),a=E.useMemo(()=>e$e(n?o:c9,e),[e,o,n]);return y.jsx(d9.Provider,{value:a,children:r})}eV.displayName="@mantine/core/MantineThemeProvider";function r$e(){const e=po(),r=Yd(),n=Ao(e.breakpoints).reduce((o,a)=>{const i=e.breakpoints[a].includes("px"),l=JE(e.breakpoints[a]),s=i?`${l-.1}px`:SU(l-.1),c=i?`${l}px`:SU(l);return`${o}@media (max-width: ${s}) {.mantine-visible-from-${a} {display: none !important;}}@media (min-width: ${c}) {.mantine-hidden-from-${a} {display: none !important;}}`},"");return y.jsx("style",{"data-mantine-styles":"classes",nonce:r?.(),dangerouslySetInnerHTML:{__html:n}})}function p9(e){return Object.entries(e).map(([r,n])=>`${r}: ${n};`).join("")}function h9(e,r){return(Array.isArray(e)?e:[e]).reduce((n,o)=>`${o}{${n}}`,r)}function n$e(e,r){const n=p9(e.variables),o=n?h9(r,n):"",a=p9(e.dark),i=p9(e.light),l=a?h9(r===":host"?`${r}([data-mantine-color-scheme="dark"])`:`${r}[data-mantine-color-scheme="dark"]`,a):"",s=i?h9(r===":host"?`${r}([data-mantine-color-scheme="light"])`:`${r}[data-mantine-color-scheme="light"]`,i):"";return`${o} +`)},hPe=0,Ef=[];function fPe(e){var r=S.useRef([]),n=S.useRef([0,0]),o=S.useRef(),a=S.useState(hPe++)[0],i=S.useState(CU)[0],l=S.useRef(e);S.useEffect(function(){l.current=e},[e]),S.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var x=ODe([e.lockRef.current],(e.shards||[]).map($U)).filter(Boolean);return x.forEach(function(w){return w.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),x.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=S.useCallback(function(x,w){if("touches"in x&&x.touches.length===2||x.type==="wheel"&&x.ctrlKey)return!l.current.allowPinchZoom;var k=Xx(x),C=n.current,_="deltaX"in x?x.deltaX:C[0]-k[0],T="deltaY"in x?x.deltaY:C[1]-k[1],R,A=x.target,D=Math.abs(_)>Math.abs(T)?"h":"v";if("touches"in x&&D==="h"&&A.type==="range")return!1;var N=AU(D,A);if(!N)return!0;if(N?R=D:(R=D==="v"?"h":"v",N=AU(D,A)),!N)return!1;if(!o.current&&"changedTouches"in x&&(_||T)&&(o.current=R),!R)return!0;var $=o.current||R;return uPe($,w,x,$==="h"?_:T)},[]),c=S.useCallback(function(x){var w=x;if(!(!Ef.length||Ef[Ef.length-1]!==i)){var k="deltaY"in w?PU(w):Xx(w),C=r.current.filter(function(R){return R.name===w.type&&(R.target===w.target||w.target===R.shadowParent)&&dPe(R.delta,k)})[0];if(C&&C.should){w.cancelable&&w.preventDefault();return}if(!C){var _=(l.current.shards||[]).map($U).filter(Boolean).filter(function(R){return R.contains(w.target)}),T=_.length>0?s(w,_[0]):!l.current.noIsolation;T&&w.cancelable&&w.preventDefault()}}},[]),u=S.useCallback(function(x,w,k,C){var _={name:x,delta:w,target:k,should:C,shadowParent:mPe(k)};r.current.push(_),setTimeout(function(){r.current=r.current.filter(function(T){return T!==_})},1)},[]),d=S.useCallback(function(x){n.current=Xx(x),o.current=void 0},[]),p=S.useCallback(function(x){u(x.type,PU(x),x.target,s(x,e.lockRef.current))},[]),f=S.useCallback(function(x){u(x.type,Xx(x),x.target,s(x,e.lockRef.current))},[]);S.useEffect(function(){return Ef.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",c,_f),document.addEventListener("touchmove",c,_f),document.addEventListener("touchstart",d,_f),function(){Ef=Ef.filter(function(x){return x!==i}),document.removeEventListener("wheel",c,_f),document.removeEventListener("touchmove",c,_f),document.removeEventListener("touchstart",d,_f)}},[]);var g=e.removeScrollBar,b=e.inert;return S.createElement(S.Fragment,null,b?S.createElement(i,{styles:pPe(a)}):null,g?S.createElement(nPe,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function mPe(e){for(var r=null;e!==null;)e instanceof ShadowRoot&&(r=e.host,e=e.host),e=e.parentNode;return r}const gPe=UDe(SU,fPe);var O0=S.forwardRef(function(e,r){return S.createElement(Wx,rs({},e,{ref:r,sideCar:gPe}))});O0.classNames=Wx.classNames;function Do(e){return Object.keys(e)}function n9(e){return e&&typeof e=="object"&&!Array.isArray(e)}function o9(e,r){const n={...e},o=r;return n9(e)&&n9(r)&&Object.keys(r).forEach(a=>{n9(o[a])&&a in e?n[a]=o9(n[a],o[a]):n[a]=o[a]}),n}function yPe(e){return e.replace(/[A-Z]/g,r=>`-${r.toLowerCase()}`)}function bPe(e){return typeof e!="string"||!e.includes("var(--mantine-scale)")?e:e.match(/^calc\((.*?)\)$/)?.[1].split("*")[0].trim()}function a9(e){const r=bPe(e);return typeof r=="number"?r:typeof r=="string"?r.includes("calc")||r.includes("var")?r:r.includes("px")?Number(r.replace("px","")):r.includes("rem")?Number(r.replace("rem",""))*16:r.includes("em")?Number(r.replace("em",""))*16:Number(r):NaN}function MU(e){return e==="0rem"?"0rem":`calc(${e} * var(--mantine-scale))`}function OU(e,{shouldScale:r=!1}={}){function n(o){if(o===0||o==="0")return`0${e}`;if(typeof o=="number"){const a=`${o/16}${e}`;return r?MU(a):a}if(typeof o=="string"){if(o===""||o.startsWith("calc(")||o.startsWith("clamp(")||o.includes("rgba("))return o;if(o.includes(","))return o.split(",").map(i=>n(i)).join(",");if(o.includes(" "))return o.split(" ").map(i=>n(i)).join(" ");const a=o.replace("px","");if(!Number.isNaN(Number(a))){const i=`${Number(a)/16}${e}`;return r?MU(i):i}}return o}return n}const Ae=OU("rem",{shouldScale:!0}),IU=OU("em");function Sf(e){return Object.keys(e).reduce((r,n)=>(e[n]!==void 0&&(r[n]=e[n]),r),{})}function zU(e){if(typeof e=="number")return!0;if(typeof e=="string"){if(e.startsWith("calc(")||e.startsWith("var(")||e.includes(" ")&&e.trim()!=="")return!0;const r=/^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;return e.trim().split(/\s+/).every(n=>r.test(n))}return!1}function el(e){return Array.isArray(e)||e===null?!1:typeof e=="object"?e.type!==S.Fragment:!1}function ii(e){const r=S.createContext(null);return[({children:n,value:o})=>y.jsx(r.Provider,{value:o,children:n}),()=>{const n=S.useContext(r);if(n===null)throw new Error(e);return n}]}function I0(e=null){const r=S.createContext(e);return[({children:n,value:o})=>y.jsx(r.Provider,{value:o,children:n}),()=>S.useContext(r)]}function LU(e,r){return n=>{if(typeof n!="string"||n.trim().length===0)throw new Error(r);return`${e}-${n}`}}function Cf(e,r){let n=e;for(;(n=n.parentElement)&&!n.matches(r););return n}function vPe(e,r,n){for(let o=e-1;o>=0;o-=1)if(!r[o].disabled)return o;if(n){for(let o=r.length-1;o>-1;o-=1)if(!r[o].disabled)return o}return e}function xPe(e,r,n){for(let o=e+1;o{n?.(s);const c=Array.from(Cf(s.currentTarget,e)?.querySelectorAll(r)||[]).filter(b=>wPe(s.currentTarget,b,e)),u=c.findIndex(b=>s.currentTarget===b),d=xPe(u,c,o),p=vPe(u,c,o),f=i==="rtl"?p:d,g=i==="rtl"?d:p;switch(s.key){case"ArrowRight":{l==="horizontal"&&(s.stopPropagation(),s.preventDefault(),c[f].focus(),a&&c[f].click());break}case"ArrowLeft":{l==="horizontal"&&(s.stopPropagation(),s.preventDefault(),c[g].focus(),a&&c[g].click());break}case"ArrowUp":{l==="vertical"&&(s.stopPropagation(),s.preventDefault(),c[p].focus(),a&&c[p].click());break}case"ArrowDown":{l==="vertical"&&(s.stopPropagation(),s.preventDefault(),c[d].focus(),a&&c[d].click());break}case"Home":{s.stopPropagation(),s.preventDefault(),!c[0].disabled&&c[0].focus();break}case"End":{s.stopPropagation(),s.preventDefault();const b=c.length-1;!c[b].disabled&&c[b].focus();break}}}}const kPe={app:100,modal:200,popover:300,overlay:400,max:9999};function Kx(e){return kPe[e]}const BU=()=>{};function _Pe(e,r={active:!0}){return typeof e!="function"||!r.active?r.onKeyDown||BU:n=>{n.key==="Escape"&&(e(n),r.onTrigger?.())}}function dr(e,r="size",n=!0){if(e!==void 0)return zU(e)?n?Ae(e):e:`var(--${r}-${e})`}function Vs(e){return dr(e,"mantine-spacing")}function _n(e){return e===void 0?"var(--mantine-radius-default)":dr(e,"mantine-radius")}function Po(e){return dr(e,"mantine-font-size")}function EPe(e){return dr(e,"mantine-line-height",!1)}function jU(e){if(e)return dr(e,"mantine-shadow",!1)}function En(e,r){return n=>{e?.(n),r?.(n)}}function SPe(e,r){return e in r?a9(r[e]):a9(e)}function FU(e,r){const n=e.map(o=>({value:o,px:SPe(o,r)}));return n.sort((o,a)=>o.px-a.px),n}function L0(e){return typeof e=="object"&&e!==null?"base"in e?e.base:void 0:e}function CPe(e,r,n){return n?Array.from(Cf(n,r)?.querySelectorAll(e)||[]).findIndex(o=>o===n):null}function bu(e,r,n){return r===void 0&&n===void 0?e:r!==void 0&&n===void 0?Math.max(e,r):Math.min(r===void 0&&n!==void 0?e:Math.max(e,r),n)}function i9(e="mantine-"){return`${e}${Math.random().toString(36).slice(2,11)}`}function TPe(e,r){if(e===r||Number.isNaN(e)&&Number.isNaN(r))return!0;if(!(e instanceof Object)||!(r instanceof Object))return!1;const n=Object.keys(e),{length:o}=n;if(o!==Object.keys(r).length)return!1;for(let a=0;a{r.current=e}),S.useMemo(()=>((...n)=>r.current?.(...n)),[])}function Tf(e,r){const{delay:n,flushOnUnmount:o,leading:a}=typeof r=="number"?{delay:r,flushOnUnmount:!1,leading:!1}:r,i=ot(e),l=S.useRef(0),s=S.useMemo(()=>{const c=Object.assign((...u)=>{window.clearTimeout(l.current);const d=c._isFirstCall;c._isFirstCall=!1;function p(){window.clearTimeout(l.current),l.current=0,c._isFirstCall=!0}if(a&&d){i(...u);const b=()=>{p()},x=()=>{l.current!==0&&(p(),i(...u))},w=()=>{p()};c.flush=x,c.cancel=w,l.current=window.setTimeout(b,n);return}if(a&&!d){const b=()=>{l.current!==0&&(p(),i(...u))},x=()=>{p()};c.flush=b,c.cancel=x;const w=()=>{p()};l.current=window.setTimeout(w,n);return}const f=()=>{l.current!==0&&(p(),i(...u))},g=()=>{p()};c.flush=f,c.cancel=g,l.current=window.setTimeout(f,n)},{flush:()=>{},cancel:()=>{},_isFirstCall:!0});return c},[i,n,a]);return S.useEffect(()=>()=>{o?s.flush():s.cancel()},[s,o]),s}const RPe=["mousedown","touchstart"];function HU(e,r,n){const o=S.useRef(null),a=r||RPe;return S.useEffect(()=>{const i=l=>{const{target:s}=l??{};if(Array.isArray(n)){const c=!document.body.contains(s)&&s?.tagName!=="HTML";n.every(u=>!!u&&!l.composedPath().includes(u))&&!c&&e(l)}else o.current&&!o.current.contains(s)&&e(l)};return a.forEach(l=>document.addEventListener(l,i)),()=>{a.forEach(l=>document.removeEventListener(l,i))}},[o,e,n]),o}function APe(e={timeout:2e3}){const[r,n]=S.useState(null),[o,a]=S.useState(!1),[i,l]=S.useState(null),s=c=>{window.clearTimeout(i),l(window.setTimeout(()=>a(!1),e.timeout)),a(c)};return{copy:c=>{"clipboard"in navigator?navigator.clipboard.writeText(c).then(()=>s(!0)).catch(u=>n(u)):n(new Error("useClipboard: navigator.clipboard is not supported"))},reset:()=>{a(!1),n(null),window.clearTimeout(i)},error:r,copied:o}}function NPe(e,r){try{return e.addEventListener("change",r),()=>e.removeEventListener("change",r)}catch{return e.addListener(r),()=>e.removeListener(r)}}function DPe(e,r){return typeof window<"u"&&"matchMedia"in window?window.matchMedia(e).matches:!1}function qU(e,r,{getInitialValueInEffect:n}={getInitialValueInEffect:!0}){const[o,a]=S.useState(n?r:DPe(e));return S.useEffect(()=>{try{const i=window.matchMedia(e);return a(i.matches),NPe(i,l=>a(l.matches))}catch{return}},[e]),o||!1}function UU(e,r){return qU("(prefers-color-scheme: dark)",e==="dark",r)?"dark":"light"}function PPe(e,r,n={leading:!1}){const[o,a]=S.useState(e),i=S.useRef(null),l=S.useRef(!0),s=()=>window.clearTimeout(i.current);S.useEffect(()=>s,[]);const c=S.useCallback(u=>{s(),l.current&&n.leading?a(u):i.current=window.setTimeout(()=>{l.current=!0,a(u)},r),l.current=!1},[n.leading]);return[o,c]}function l9(e,r,n={leading:!1}){const[o,a]=S.useState(e),i=S.useRef(!1),l=S.useRef(null),s=S.useRef(!1),c=S.useCallback(()=>window.clearTimeout(l.current),[]);return S.useEffect(()=>{i.current&&(!s.current&&n.leading?(s.current=!0,a(e)):(c(),l.current=window.setTimeout(()=>{s.current=!1,a(e)},r)))},[e,n.leading,r]),S.useEffect(()=>(i.current=!0,c),[]),[o,c]}const B0=typeof document<"u"?S.useLayoutEffect:S.useEffect;function rp(e,r){const n=S.useRef(!1);S.useEffect(()=>()=>{n.current=!1},[]),S.useEffect(()=>{if(n.current)return e();n.current=!0},r)}function $Pe({opened:e,shouldReturnFocus:r=!0}){const n=S.useRef(null),o=()=>{n.current&&"focus"in n.current&&typeof n.current.focus=="function"&&n.current?.focus({preventScroll:!0})};return rp(()=>{let a=-1;const i=l=>{l.key==="Tab"&&window.clearTimeout(a)};return document.addEventListener("keydown",i),e?n.current=document.activeElement:r&&(a=window.setTimeout(o,10)),()=>{window.clearTimeout(a),document.removeEventListener("keydown",i)}},[e,r]),o}const MPe=/input|select|textarea|button|object/,VU="a, input, select, textarea, button, object, [tabindex]";function OPe(e){return e.style.display==="none"}function IPe(e){if(e.getAttribute("aria-hidden")||e.getAttribute("hidden")||e.getAttribute("type")==="hidden")return!1;let r=e;for(;r&&!(r===document.body||r.nodeType===11);){if(OPe(r))return!1;r=r.parentNode}return!0}function YU(e){let r=e.getAttribute("tabindex");return r===null&&(r=void 0),parseInt(r,10)}function s9(e){const r=e.nodeName.toLowerCase(),n=!Number.isNaN(YU(e));return(MPe.test(r)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n)&&IPe(e)}function WU(e){const r=YU(e);return(Number.isNaN(r)||r>=0)&&s9(e)}function zPe(e){return Array.from(e.querySelectorAll(VU)).filter(WU)}function LPe(e,r){const n=zPe(e);if(!n.length){r.preventDefault();return}const o=n[r.shiftKey?0:n.length-1],a=e.getRootNode();let i=o===a.activeElement||e===a.activeElement;const l=a.activeElement;if(l.tagName==="INPUT"&&l.getAttribute("type")==="radio"&&(i=n.filter(c=>c.getAttribute("type")==="radio"&&c.getAttribute("name")===l.getAttribute("name")).includes(o)),!i)return;r.preventDefault();const s=n[r.shiftKey?n.length-1:0];s&&s.focus()}function GU(e=!0){const r=S.useRef(null),n=a=>{let i=a.querySelector("[data-autofocus]");if(!i){const l=Array.from(a.querySelectorAll(VU));i=l.find(WU)||l.find(s9)||null,!i&&s9(a)&&(i=a)}i&&i.focus({preventScroll:!0})},o=S.useCallback(a=>{e&&a!==null&&r.current!==a&&(a?(setTimeout(()=>{a.getRootNode()&&n(a)}),r.current=a):r.current=null)},[e]);return S.useEffect(()=>{if(!e)return;r.current&&setTimeout(()=>n(r.current));const a=i=>{i.key==="Tab"&&r.current&&LPe(r.current,i)};return document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)},[e]),o}const BPe=Qr.useId||(()=>{});function jPe(){const e=BPe();return e?`mantine-${e.replace(/:/g,"")}`:""}function Aa(e){const r=jPe(),[n,o]=S.useState(r);return B0(()=>{o(i9())},[]),typeof e=="string"?e:typeof window>"u"?r:n}function Rf(e,r,n){S.useEffect(()=>(window.addEventListener(e,r,n),()=>window.removeEventListener(e,r,n)),[e,r])}function FPe(e,r="use-local-storage"){try{return JSON.stringify(e)}catch{throw new Error(`@mantine/hooks ${r}: Failed to serialize the value`)}}function HPe(e){try{return e&&JSON.parse(e)}catch{return e}}function qPe(e){return{getItem:r=>{try{return window[e].getItem(r)}catch{return console.warn("use-local-storage: Failed to get value from storage, localStorage is blocked"),null}},setItem:(r,n)=>{try{window[e].setItem(r,n)}catch{console.warn("use-local-storage: Failed to set value to storage, localStorage is blocked")}},removeItem:r=>{try{window[e].removeItem(r)}catch{console.warn("use-local-storage: Failed to remove value from storage, localStorage is blocked")}}}}function XU(e,r){const n=e==="localStorage"?"mantine-local-storage":"mantine-session-storage",{getItem:o,setItem:a,removeItem:i}=qPe(e);return function({key:l,defaultValue:s,getInitialValueInEffect:c=!0,sync:u=!0,deserialize:d=HPe,serialize:p=f=>FPe(f,r)}){const f=S.useCallback(k=>{let C;try{C=typeof window>"u"||!(e in window)||window[e]===null||!!k}catch{C=!0}if(C)return s;const _=o(l);return _!==null?d(_):s},[l,s]),[g,b]=S.useState(f(c)),x=S.useCallback(k=>{k instanceof Function?b(C=>{const _=k(C);return a(l,p(_)),queueMicrotask(()=>{window.dispatchEvent(new CustomEvent(n,{detail:{key:l,value:k(C)}}))}),_}):(a(l,p(k)),window.dispatchEvent(new CustomEvent(n,{detail:{key:l,value:k}})),b(k))},[l]),w=S.useCallback(()=>{i(l),b(s),window.dispatchEvent(new CustomEvent(n,{detail:{key:l,value:s}}))},[l,s]);return Rf("storage",k=>{u&&k.storageArea===window[e]&&k.key===l&&b(d(k.newValue??void 0))}),Rf(n,k=>{u&&k.detail.key===l&&b(k.detail.value)}),S.useEffect(()=>{s!==void 0&&g===void 0&&x(s)},[s,g,x]),S.useEffect(()=>{const k=f();k!==void 0&&x(k)},[l]),[g===void 0?s:g,x,w]}}function UPe(e){return XU("localStorage","use-local-storage")(e)}function VPe(e){return XU("sessionStorage","use-session-storage")(e)}function c9(e,r){if(typeof e=="function")return e(r);typeof e=="object"&&e!==null&&"current"in e&&(e.current=r)}function KU(...e){const r=new Map;return n=>{if(e.forEach(o=>{const a=c9(o,n);a&&r.set(o,a)}),r.size>0)return()=>{e.forEach(o=>{const a=r.get(o);a&&typeof a=="function"?a():c9(o,null)}),r.clear()}}}function Mr(...e){return S.useCallback(KU(...e),e)}function YPe(e){return{x:bu(e.x,0,1),y:bu(e.y,0,1)}}function ZU(e,r,n="ltr"){const o=S.useRef(!1),a=S.useRef(!1),i=S.useRef(0),[l,s]=S.useState(!1),c=S.useRef(null);return S.useEffect(()=>{o.current=!0},[]),{ref:S.useCallback(u=>{if(c.current&&(c.current(),c.current=null),!u)return;const d=({x:_,y:T})=>{cancelAnimationFrame(i.current),i.current=requestAnimationFrame(()=>{if(o.current&&u){u.style.userSelect="none";const R=u.getBoundingClientRect();if(R.width&&R.height){const A=bu((_-R.left)/R.width,0,1);e({x:n==="ltr"?A:1-A,y:bu((T-R.top)/R.height,0,1)})}}})},p=()=>{document.addEventListener("mousemove",w),document.addEventListener("mouseup",b),document.addEventListener("touchmove",C,{passive:!1}),document.addEventListener("touchend",b)},f=()=>{document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",b),document.removeEventListener("touchmove",C),document.removeEventListener("touchend",b)},g=()=>{!a.current&&o.current&&(a.current=!0,typeof r?.onScrubStart=="function"&&r.onScrubStart(),s(!0),p())},b=()=>{a.current&&o.current&&(a.current=!1,s(!1),f(),setTimeout(()=>{typeof r?.onScrubEnd=="function"&&r.onScrubEnd()},0))},x=_=>{g(),_.preventDefault(),w(_)},w=_=>d({x:_.clientX,y:_.clientY}),k=_=>{_.cancelable&&_.preventDefault(),g(),C(_)},C=_=>{_.cancelable&&_.preventDefault(),d({x:_.changedTouches[0].clientX,y:_.changedTouches[0].clientY})};u.addEventListener("mousedown",x),u.addEventListener("touchstart",k,{passive:!1}),c.current=()=>{u.removeEventListener("mousedown",x),u.removeEventListener("touchstart",k)}},[n,e]),active:l}}function Ys({value:e,defaultValue:r,finalValue:n,onChange:o=()=>{}}){const[a,i]=S.useState(r!==void 0?r:n);return e!==void 0?[e,o,!0]:[a,(s,...c)=>{i(s),o?.(s,...c)},!1]}function QU(e,r){return qU("(prefers-reduced-motion: reduce)",e,r)}function WPe(e,r){if(!e||!r)return!1;if(e===r)return!0;if(e.length!==r.length)return!1;for(let n=0;n{r({width:window.innerWidth||0,height:window.innerHeight||0})},[]);return Rf("resize",n,JU),Rf("orientationchange",n,JU),S.useEffect(n,[]),e}const ZPe={" ":"space",ArrowLeft:"arrowleft",ArrowRight:"arrowright",ArrowUp:"arrowup",ArrowDown:"arrowdown",Escape:"escape",Esc:"escape",esc:"escape",Enter:"enter",Tab:"tab",Backspace:"backspace",Delete:"delete",Insert:"insert",Home:"home",End:"end",PageUp:"pageup",PageDown:"pagedown","+":"plus","-":"minus","*":"asterisk","/":"slash"};function Zx(e){const r=e.replace("Key","").toLowerCase();return ZPe[e]||r}function QPe(e){const r=e.toLowerCase().split("+").map(i=>i.trim()),n={alt:r.includes("alt"),ctrl:r.includes("ctrl"),meta:r.includes("meta"),mod:r.includes("mod"),shift:r.includes("shift"),plus:r.includes("[plus]")},o=["alt","ctrl","meta","shift","mod"],a=r.find(i=>!o.includes(i));return{...n,key:a==="[plus]"?"+":a}}function JPe(e,r,n){const{alt:o,ctrl:a,meta:i,mod:l,shift:s,key:c}=e,{altKey:u,ctrlKey:d,metaKey:p,shiftKey:f,key:g,code:b}=r;if(o!==u)return!1;if(l){if(!d&&!p)return!1}else if(a!==d||i!==p)return!1;return s!==f?!1:!!(c&&(n?Zx(b)===Zx(c):Zx(g??b)===Zx(c)))}function eV(e,r){return n=>JPe(QPe(e),n,r)}function u9(e){return r=>{const n="nativeEvent"in r?r.nativeEvent:r;e.forEach(([o,a,i={preventDefault:!0,usePhysicalKeys:!1}])=>{eV(o,i.usePhysicalKeys)(n)&&(i.preventDefault&&r.preventDefault(),a(n))})}}function e$e(e,r,n=!1){return e.target instanceof HTMLElement?(n||!e.target.isContentEditable)&&!r.includes(e.target.tagName):!0}function t$e(e,r=["INPUT","TEXTAREA","SELECT"],n=!1){S.useEffect(()=>{const o=a=>{e.forEach(([i,l,s={preventDefault:!0,usePhysicalKeys:!1}])=>{eV(i,s.usePhysicalKeys)(a)&&e$e(a,r,n)&&(s.preventDefault&&a.preventDefault(),l(a))})};return document.documentElement.addEventListener("keydown",o),()=>document.documentElement.removeEventListener("keydown",o)},[e])}function d9(){const[e,r]=S.useState(!1),n=S.useRef(null),o=S.useCallback(()=>{r(!0)},[]),a=S.useCallback(()=>{r(!1)},[]);return{ref:S.useCallback(i=>{n.current&&(n.current.removeEventListener("mouseenter",o),n.current.removeEventListener("mouseleave",a)),i&&(i.addEventListener("mouseenter",o),i.addEventListener("mouseleave",a)),n.current=i},[o,a]),hovered:e}}function r$e(e=!1,r={}){const[n,o]=S.useState(e),a=S.useCallback(()=>{o(s=>s||(r.onOpen?.(),!0))},[r.onOpen]),i=S.useCallback(()=>{o(s=>s&&(r.onClose?.(),!1))},[r.onClose]),l=S.useCallback(()=>{n?i():a()},[i,a,n]);return[n,{open:a,close:i,toggle:l}]}function n$e(e){return e.currentTarget instanceof HTMLElement&&e.relatedTarget instanceof HTMLElement?e.currentTarget.contains(e.relatedTarget):!1}function o$e({onBlur:e,onFocus:r}={}){const[n,o]=S.useState(!1),a=S.useRef(!1),i=S.useRef(null),l=S.useCallback(d=>{o(d),a.current=d},[]),s=S.useCallback(d=>{a.current||(l(!0),r?.(d))},[r]),c=S.useCallback(d=>{a.current&&!n$e(d)&&(l(!1),e?.(d))},[e]),u=S.useCallback(d=>{d&&(i.current&&(i.current.removeEventListener("focusin",s),i.current.removeEventListener("focusout",c)),d.addEventListener("focusin",s),d.addEventListener("focusout",c))},[s,c]);return S.useEffect(()=>()=>{i.current&&(i.current.removeEventListener("focusin",s),i.current.removeEventListener("focusout",c))},[]),{ref:u,focused:n}}function tV(e,r,n={autoInvoke:!1}){const o=S.useRef(null),a=S.useCallback((...l)=>{o.current||(o.current=window.setTimeout(()=>{e(l),o.current=null},r))},[r]),i=S.useCallback(()=>{o.current&&(window.clearTimeout(o.current),o.current=null)},[]);return S.useEffect(()=>(n.autoInvoke&&a(),i),[i,a]),{start:a,clear:i}}function rV(e,r,n){const o=S.useRef(null),a=S.useRef(null);return S.useEffect(()=>{const i=typeof n=="function"?n():n;return(i||a.current)&&(o.current=new MutationObserver(e),o.current.observe(i||a.current,r)),()=>{o.current?.disconnect()}},[e,r]),a}function a$e(){const[e,r]=S.useState(!1);return S.useEffect(()=>r(!0),[]),e}function nV(e){const[r,n]=S.useState({history:[e],current:0}),o=S.useCallback(c=>n(u=>{const d=[...u.history.slice(0,u.current+1),c];return{history:d,current:d.length-1}}),[]),a=S.useCallback((c=1)=>n(u=>({history:u.history,current:Math.max(0,u.current-c)})),[]),i=S.useCallback((c=1)=>n(u=>({history:u.history,current:Math.min(u.history.length-1,u.current+c)})),[]),l=S.useCallback(()=>{n({history:[e],current:0})},[e]),s=S.useMemo(()=>({back:a,forward:i,reset:l,set:o}),[a,i,l,o]);return[r.history[r.current],s,r]}function i$e(e,r){const n=ot(e),o=S.useRef(null),a=S.useRef(null),i=S.useRef(!0),l=S.useRef(r),s=S.useRef(-1),c=()=>window.clearTimeout(s.current),u=S.useCallback((...f)=>{n(...f),o.current=f,a.current=f,i.current=!1},[n]),d=S.useCallback(()=>{o.current&&o.current!==a.current?(u(...o.current),s.current=window.setTimeout(d,l.current)):i.current=!0},[u]),p=S.useCallback((...f)=>{i.current?(u(...f),s.current=window.setTimeout(d,l.current)):o.current=f},[u,d]);return S.useEffect(()=>{l.current=r},[r]),[p,c]}function l$e(e,r){return i$e(e,r)[0]}function s$e(){return typeof process<"u"&&process.env?"production":"development"}function oV(e){const r=new Map;return(...n)=>{const o=JSON.stringify(n);if(r.has(o))return r.get(o);const a=e(...n);return r.set(o,a),a}}function aV(e,r){return r.length===0?e:r.reduce((n,o)=>Math.abs(o-e){Object.entries(n).forEach(([o,a])=>{r[o]?r[o]=tl(r[o],a):r[o]=a})}),r}function Jx({theme:e,classNames:r,props:n,stylesCtx:o}){const a=(Array.isArray(r)?r:[r]).map(i=>typeof i=="function"?i(e,n,o):i||c$e);return u$e(a)}function ew({theme:e,styles:r,props:n,stylesCtx:o}){return(Array.isArray(r)?r:[r]).reduce((a,i)=>typeof i=="function"?{...a,...i(e,n,o)}:{...a,...i},{})}const tw=S.createContext(null);function vu(){const e=S.useContext(tw);if(!e)throw new Error("[@mantine/core] MantineProvider was not found in tree");return e}function d$e(){return vu().cssVariablesResolver}function p$e(){return vu().classNamesPrefix}function np(){return vu().getStyleNonce}function h$e(){return vu().withStaticClasses}function f$e(){return vu().headless}function m$e(){return vu().stylesTransform?.sx}function g$e(){return vu().stylesTransform?.styles}function rw(){return vu().env||"default"}function y$e(e){return/^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e)}function b$e(e){let r=e.replace("#","");if(r.length===3){const l=r.split("");r=[l[0],l[0],l[1],l[1],l[2],l[2]].join("")}if(r.length===8){const l=parseInt(r.slice(6,8),16)/255;return{r:parseInt(r.slice(0,2),16),g:parseInt(r.slice(2,4),16),b:parseInt(r.slice(4,6),16),a:l}}const n=parseInt(r,16),o=n>>16&255,a=n>>8&255,i=n&255;return{r:o,g:a,b:i,a:1}}function v$e(e){const[r,n,o,a]=e.replace(/[^0-9,./]/g,"").split(/[/,]/).map(Number);return{r,g:n,b:o,a:a===void 0?1:a}}function x$e(e){const r=/^hsla?\(\s*(\d+)\s*,\s*(\d+%)\s*,\s*(\d+%)\s*(,\s*(0?\.\d+|\d+(\.\d+)?))?\s*\)$/i,n=e.match(r);if(!n)return{r:0,g:0,b:0,a:1};const o=parseInt(n[1],10),a=parseInt(n[2],10)/100,i=parseInt(n[3],10)/100,l=n[5]?parseFloat(n[5]):void 0,s=(1-Math.abs(2*i-1))*a,c=o/60,u=s*(1-Math.abs(c%2-1)),d=i-s/2;let p,f,g;return c>=0&&c<1?(p=s,f=u,g=0):c>=1&&c<2?(p=u,f=s,g=0):c>=2&&c<3?(p=0,f=s,g=u):c>=3&&c<4?(p=0,f=u,g=s):c>=4&&c<5?(p=u,f=0,g=s):(p=s,f=0,g=u),{r:Math.round((p+d)*255),g:Math.round((f+d)*255),b:Math.round((g+d)*255),a:l||1}}function p9(e){return y$e(e)?b$e(e):e.startsWith("rgb")?v$e(e):e.startsWith("hsl")?x$e(e):{r:0,g:0,b:0,a:1}}function nw(e,r){if(e.startsWith("var("))return`color-mix(in srgb, ${e}, black ${r*100}%)`;const{r:n,g:o,b:a,a:i}=p9(e),l=1-r,s=c=>Math.round(c*l);return`rgba(${s(n)}, ${s(o)}, ${s(a)}, ${i})`}function j0(e,r){return typeof e.primaryShade=="number"?e.primaryShade:r==="dark"?e.primaryShade.dark:e.primaryShade.light}function h9(e){return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}function w$e(e){const r=e.match(/oklch\((.*?)%\s/);return r?parseFloat(r[1]):null}function k$e(e){if(e.startsWith("oklch("))return(w$e(e)||0)/100;const{r,g:n,b:o}=p9(e),a=r/255,i=n/255,l=o/255,s=h9(a),c=h9(i),u=h9(l);return .2126*s+.7152*c+.0722*u}function F0(e,r=.179){return e.startsWith("var(")?!1:k$e(e)>r}function xu({color:e,theme:r,colorScheme:n}){if(typeof e!="string")throw new Error(`[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof e}`);if(e==="bright")return{color:e,value:n==="dark"?r.white:r.black,shade:void 0,isThemeColor:!1,isLight:F0(n==="dark"?r.white:r.black,r.luminanceThreshold),variable:"--mantine-color-bright"};if(e==="dimmed")return{color:e,value:n==="dark"?r.colors.dark[2]:r.colors.gray[7],shade:void 0,isThemeColor:!1,isLight:F0(n==="dark"?r.colors.dark[2]:r.colors.gray[6],r.luminanceThreshold),variable:"--mantine-color-dimmed"};if(e==="white"||e==="black")return{color:e,value:e==="white"?r.white:r.black,shade:void 0,isThemeColor:!1,isLight:F0(e==="white"?r.white:r.black,r.luminanceThreshold),variable:`--mantine-color-${e}`};const[o,a]=e.split("."),i=a?Number(a):void 0,l=o in r.colors;if(l){const s=i!==void 0?r.colors[o][i]:r.colors[o][j0(r,n||"light")];return{color:o,value:s,shade:i,isThemeColor:l,isLight:F0(s,r.luminanceThreshold),variable:a?`--mantine-color-${o}-${i}`:`--mantine-color-${o}-filled`}}return{color:e,value:e,isThemeColor:l,isLight:F0(e,r.luminanceThreshold),shade:i,variable:void 0}}function ta(e,r){const n=xu({color:e||r.primaryColor,theme:r});return n.variable?`var(${n.variable})`:e}function f9(e,r){const n={from:e?.from||r.defaultGradient.from,to:e?.to||r.defaultGradient.to,deg:e?.deg??r.defaultGradient.deg??0},o=ta(n.from,r),a=ta(n.to,r);return`linear-gradient(${n.deg}deg, ${o} 0%, ${a} 100%)`}function ns(e,r){if(typeof e!="string"||r>1||r<0)return"rgba(0, 0, 0, 1)";if(e.startsWith("var(")){const i=(1-r)*100;return`color-mix(in srgb, ${e}, transparent ${i}%)`}if(e.startsWith("oklch"))return e.includes("/")?e.replace(/\/\s*[\d.]+\s*\)/,`/ ${r})`):e.replace(")",` / ${r})`);const{r:n,g:o,b:a}=p9(e);return`rgba(${n}, ${o}, ${a}, ${r})`}const Af=ns,_$e=({color:e,theme:r,variant:n,gradient:o,autoContrast:a})=>{const i=xu({color:e,theme:r}),l=typeof a=="boolean"?a:r.autoContrast;if(n==="none")return{background:"transparent",hover:"transparent",color:"inherit",border:"none"};if(n==="filled"){const s=l&&i.isLight?"var(--mantine-color-black)":"var(--mantine-color-white)";return i.isThemeColor?i.shade===void 0?{background:`var(--mantine-color-${e}-filled)`,hover:`var(--mantine-color-${e}-filled-hover)`,color:s,border:`${Ae(1)} solid transparent`}:{background:`var(--mantine-color-${i.color}-${i.shade})`,hover:`var(--mantine-color-${i.color}-${i.shade===9?8:i.shade+1})`,color:s,border:`${Ae(1)} solid transparent`}:{background:e,hover:nw(e,.1),color:s,border:`${Ae(1)} solid transparent`}}if(n==="light"){if(i.isThemeColor){if(i.shade===void 0)return{background:`var(--mantine-color-${e}-light)`,hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${Ae(1)} solid transparent`};const s=r.colors[i.color][i.shade];return{background:ns(s,.1),hover:ns(s,.12),color:`var(--mantine-color-${i.color}-${Math.min(i.shade,6)})`,border:`${Ae(1)} solid transparent`}}return{background:ns(e,.1),hover:ns(e,.12),color:e,border:`${Ae(1)} solid transparent`}}if(n==="outline")return i.isThemeColor?i.shade===void 0?{background:"transparent",hover:`var(--mantine-color-${e}-outline-hover)`,color:`var(--mantine-color-${e}-outline)`,border:`${Ae(1)} solid var(--mantine-color-${e}-outline)`}:{background:"transparent",hover:ns(r.colors[i.color][i.shade],.05),color:`var(--mantine-color-${i.color}-${i.shade})`,border:`${Ae(1)} solid var(--mantine-color-${i.color}-${i.shade})`}:{background:"transparent",hover:ns(e,.05),color:e,border:`${Ae(1)} solid ${e}`};if(n==="subtle"){if(i.isThemeColor){if(i.shade===void 0)return{background:"transparent",hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${Ae(1)} solid transparent`};const s=r.colors[i.color][i.shade];return{background:"transparent",hover:ns(s,.12),color:`var(--mantine-color-${i.color}-${Math.min(i.shade,6)})`,border:`${Ae(1)} solid transparent`}}return{background:"transparent",hover:ns(e,.12),color:e,border:`${Ae(1)} solid transparent`}}return n==="transparent"?i.isThemeColor?i.shade===void 0?{background:"transparent",hover:"transparent",color:`var(--mantine-color-${e}-light-color)`,border:`${Ae(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:`var(--mantine-color-${i.color}-${Math.min(i.shade,6)})`,border:`${Ae(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:e,border:`${Ae(1)} solid transparent`}:n==="white"?i.isThemeColor?i.shade===void 0?{background:"var(--mantine-color-white)",hover:nw(r.white,.01),color:`var(--mantine-color-${e}-filled)`,border:`${Ae(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:nw(r.white,.01),color:`var(--mantine-color-${i.color}-${i.shade})`,border:`${Ae(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:nw(r.white,.01),color:e,border:`${Ae(1)} solid transparent`}:n==="gradient"?{background:f9(o,r),hover:f9(o,r),color:"var(--mantine-color-white)",border:"none"}:n==="default"?{background:"var(--mantine-color-default)",hover:"var(--mantine-color-default-hover)",color:"var(--mantine-color-default-color)",border:`${Ae(1)} solid var(--mantine-color-default-border)`}:{}},E$e={dark:["#C9C9C9","#b8b8b8","#828282","#696969","#424242","#3b3b3b","#2e2e2e","#242424","#1f1f1f","#141414"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]},lV="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",m9={scale:1,fontSmoothing:!0,focusRing:"auto",white:"#fff",black:"#000",colors:E$e,primaryShade:{light:6,dark:8},primaryColor:"blue",variantColorResolver:_$e,autoContrast:!1,luminanceThreshold:.3,fontFamily:lV,fontFamilyMonospace:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",respectReducedMotion:!1,cursorType:"default",defaultGradient:{from:"blue",to:"cyan",deg:45},defaultRadius:"sm",activeClassName:"mantine-active",focusClassName:"",headings:{fontFamily:lV,fontWeight:"700",textWrap:"wrap",sizes:{h1:{fontSize:Ae(34),lineHeight:"1.3"},h2:{fontSize:Ae(26),lineHeight:"1.35"},h3:{fontSize:Ae(22),lineHeight:"1.4"},h4:{fontSize:Ae(18),lineHeight:"1.45"},h5:{fontSize:Ae(16),lineHeight:"1.5"},h6:{fontSize:Ae(14),lineHeight:"1.5"}}},fontSizes:{xs:Ae(12),sm:Ae(14),md:Ae(16),lg:Ae(18),xl:Ae(20)},lineHeights:{xs:"1.4",sm:"1.45",md:"1.55",lg:"1.6",xl:"1.65"},radius:{xs:Ae(2),sm:Ae(4),md:Ae(8),lg:Ae(16),xl:Ae(32)},spacing:{xs:Ae(10),sm:Ae(12),md:Ae(16),lg:Ae(20),xl:Ae(32)},breakpoints:{xs:"36em",sm:"48em",md:"62em",lg:"75em",xl:"88em"},shadows:{xs:`0 ${Ae(1)} ${Ae(3)} rgba(0, 0, 0, 0.05), 0 ${Ae(1)} ${Ae(2)} rgba(0, 0, 0, 0.1)`,sm:`0 ${Ae(1)} ${Ae(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${Ae(10)} ${Ae(15)} ${Ae(-5)}, rgba(0, 0, 0, 0.04) 0 ${Ae(7)} ${Ae(7)} ${Ae(-5)}`,md:`0 ${Ae(1)} ${Ae(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${Ae(20)} ${Ae(25)} ${Ae(-5)}, rgba(0, 0, 0, 0.04) 0 ${Ae(10)} ${Ae(10)} ${Ae(-5)}`,lg:`0 ${Ae(1)} ${Ae(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${Ae(28)} ${Ae(23)} ${Ae(-7)}, rgba(0, 0, 0, 0.04) 0 ${Ae(12)} ${Ae(12)} ${Ae(-7)}`,xl:`0 ${Ae(1)} ${Ae(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${Ae(36)} ${Ae(28)} ${Ae(-7)}, rgba(0, 0, 0, 0.04) 0 ${Ae(17)} ${Ae(17)} ${Ae(-7)}`},other:{},components:{}};function sV(e){return e==="auto"||e==="dark"||e==="light"}function S$e({key:e="mantine-color-scheme-value"}={}){let r;return{get:n=>{if(typeof window>"u")return n;try{const o=window.localStorage.getItem(e);return sV(o)?o:n}catch{return n}},set:n=>{try{window.localStorage.setItem(e,n)}catch(o){console.warn("[@mantine/core] Local storage color scheme manager was unable to save color scheme.",o)}},subscribe:n=>{r=o=>{o.storageArea===window.localStorage&&o.key===e&&sV(o.newValue)&&n(o.newValue)},window.addEventListener("storage",r)},unsubscribe:()=>{window.removeEventListener("storage",r)},clear:()=>{window.localStorage.removeItem(e)}}}const C$e="[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color",cV="[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }";function g9(e){return e<0||e>9?!1:parseInt(e.toString(),10)===e}function uV(e){if(!(e.primaryColor in e.colors))throw new Error(C$e);if(typeof e.primaryShade=="object"&&(!g9(e.primaryShade.dark)||!g9(e.primaryShade.light)))throw new Error(cV);if(typeof e.primaryShade=="number"&&!g9(e.primaryShade))throw new Error(cV)}function T$e(e,r){if(!r)return uV(e),e;const n=o9(e,r);return r.fontFamily&&!r.headings?.fontFamily&&(n.headings.fontFamily=r.fontFamily),uV(n),n}const y9=S.createContext(null),R$e=()=>S.useContext(y9)||m9;function mo(){const e=S.useContext(y9);if(!e)throw new Error("@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app");return e}function dV({theme:e,children:r,inherit:n=!0}){const o=R$e(),a=S.useMemo(()=>T$e(n?o:m9,e),[e,o,n]);return y.jsx(y9.Provider,{value:a,children:r})}dV.displayName="@mantine/core/MantineThemeProvider";function A$e(){const e=mo(),r=np(),n=Do(e.breakpoints).reduce((o,a)=>{const i=e.breakpoints[a].includes("px"),l=a9(e.breakpoints[a]),s=i?`${l-.1}px`:IU(l-.1),c=i?`${l}px`:IU(l);return`${o}@media (max-width: ${s}) {.mantine-visible-from-${a} {display: none !important;}}@media (min-width: ${c}) {.mantine-hidden-from-${a} {display: none !important;}}`},"");return y.jsx("style",{"data-mantine-styles":"classes",nonce:r?.(),dangerouslySetInnerHTML:{__html:n}})}function b9(e){return Object.entries(e).map(([r,n])=>`${r}: ${n};`).join("")}function v9(e,r){return(Array.isArray(e)?e:[e]).reduce((n,o)=>`${o}{${n}}`,r)}function N$e(e,r){const n=b9(e.variables),o=n?v9(r,n):"",a=b9(e.dark),i=b9(e.light),l=a?v9(r===":host"?`${r}([data-mantine-color-scheme="dark"])`:`${r}[data-mantine-color-scheme="dark"]`,a):"",s=i?v9(r===":host"?`${r}([data-mantine-color-scheme="light"])`:`${r}[data-mantine-color-scheme="light"]`,i):"";return`${o} ${l} -${s}`}function f9({color:e,theme:r,autoContrast:n}){return(typeof n=="boolean"?n:r.autoContrast)&&uu({color:e||r.primaryColor,theme:r}).isLight?"var(--mantine-color-black)":"var(--mantine-color-white)"}function tV(e,r){return f9({color:e.colors[e.primaryColor][N0(e,r)],theme:e,autoContrast:null})}function ew({theme:e,color:r,colorScheme:n,name:o=r,withColorValues:a=!0}){if(!e.colors[r])return{};if(n==="light"){const s=N0(e,"light"),c={[`--mantine-color-${o}-text`]:`var(--mantine-color-${o}-filled)`,[`--mantine-color-${o}-filled`]:`var(--mantine-color-${o}-${s})`,[`--mantine-color-${o}-filled-hover`]:`var(--mantine-color-${o}-${s===9?8:s+1})`,[`--mantine-color-${o}-light`]:wf(e.colors[r][s],.1),[`--mantine-color-${o}-light-hover`]:wf(e.colors[r][s],.12),[`--mantine-color-${o}-light-color`]:`var(--mantine-color-${o}-${s})`,[`--mantine-color-${o}-outline`]:`var(--mantine-color-${o}-${s})`,[`--mantine-color-${o}-outline-hover`]:wf(e.colors[r][s],.05)};return a?{[`--mantine-color-${o}-0`]:e.colors[r][0],[`--mantine-color-${o}-1`]:e.colors[r][1],[`--mantine-color-${o}-2`]:e.colors[r][2],[`--mantine-color-${o}-3`]:e.colors[r][3],[`--mantine-color-${o}-4`]:e.colors[r][4],[`--mantine-color-${o}-5`]:e.colors[r][5],[`--mantine-color-${o}-6`]:e.colors[r][6],[`--mantine-color-${o}-7`]:e.colors[r][7],[`--mantine-color-${o}-8`]:e.colors[r][8],[`--mantine-color-${o}-9`]:e.colors[r][9],...c}:c}const i=N0(e,"dark"),l={[`--mantine-color-${o}-text`]:`var(--mantine-color-${o}-4)`,[`--mantine-color-${o}-filled`]:`var(--mantine-color-${o}-${i})`,[`--mantine-color-${o}-filled-hover`]:`var(--mantine-color-${o}-${i===9?8:i+1})`,[`--mantine-color-${o}-light`]:wf(e.colors[r][Math.max(0,i-2)],.15),[`--mantine-color-${o}-light-hover`]:wf(e.colors[r][Math.max(0,i-2)],.2),[`--mantine-color-${o}-light-color`]:`var(--mantine-color-${o}-${Math.max(i-5,0)})`,[`--mantine-color-${o}-outline`]:`var(--mantine-color-${o}-${Math.max(i-4,0)})`,[`--mantine-color-${o}-outline-hover`]:wf(e.colors[r][Math.max(i-4,0)],.05)};return a?{[`--mantine-color-${o}-0`]:e.colors[r][0],[`--mantine-color-${o}-1`]:e.colors[r][1],[`--mantine-color-${o}-2`]:e.colors[r][2],[`--mantine-color-${o}-3`]:e.colors[r][3],[`--mantine-color-${o}-4`]:e.colors[r][4],[`--mantine-color-${o}-5`]:e.colors[r][5],[`--mantine-color-${o}-6`]:e.colors[r][6],[`--mantine-color-${o}-7`]:e.colors[r][7],[`--mantine-color-${o}-8`]:e.colors[r][8],[`--mantine-color-${o}-9`]:e.colors[r][9],...l}:l}function o$e(e){return!!e&&typeof e=="object"&&"mantine-virtual-color"in e}function kf(e,r,n){Ao(r).forEach(o=>Object.assign(e,{[`--mantine-${n}-${o}`]:r[o]}))}const rV=e=>{const r=N0(e,"light"),n=e.defaultRadius in e.radius?e.radius[e.defaultRadius]:Ae(e.defaultRadius),o={variables:{"--mantine-z-index-app":"100","--mantine-z-index-modal":"200","--mantine-z-index-popover":"300","--mantine-z-index-overlay":"400","--mantine-z-index-max":"9999","--mantine-scale":e.scale.toString(),"--mantine-cursor-type":e.cursorType,"--mantine-webkit-font-smoothing":e.fontSmoothing?"antialiased":"unset","--mantine-moz-font-smoothing":e.fontSmoothing?"grayscale":"unset","--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-line-height":e.lineHeights.md,"--mantine-font-family":e.fontFamily,"--mantine-font-family-monospace":e.fontFamilyMonospace,"--mantine-font-family-headings":e.headings.fontFamily,"--mantine-heading-font-weight":e.headings.fontWeight,"--mantine-heading-text-wrap":e.headings.textWrap,"--mantine-radius-default":n,"--mantine-primary-color-filled":`var(--mantine-color-${e.primaryColor}-filled)`,"--mantine-primary-color-filled-hover":`var(--mantine-color-${e.primaryColor}-filled-hover)`,"--mantine-primary-color-light":`var(--mantine-color-${e.primaryColor}-light)`,"--mantine-primary-color-light-hover":`var(--mantine-color-${e.primaryColor}-light-hover)`,"--mantine-primary-color-light-color":`var(--mantine-color-${e.primaryColor}-light-color)`},light:{"--mantine-color-scheme":"light","--mantine-primary-color-contrast":tV(e,"light"),"--mantine-color-bright":"var(--mantine-color-black)","--mantine-color-text":e.black,"--mantine-color-body":e.white,"--mantine-color-error":"var(--mantine-color-red-6)","--mantine-color-placeholder":"var(--mantine-color-gray-5)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-${r})`,"--mantine-color-default":"var(--mantine-color-white)","--mantine-color-default-hover":"var(--mantine-color-gray-0)","--mantine-color-default-color":"var(--mantine-color-black)","--mantine-color-default-border":"var(--mantine-color-gray-4)","--mantine-color-dimmed":"var(--mantine-color-gray-6)","--mantine-color-disabled":"var(--mantine-color-gray-2)","--mantine-color-disabled-color":"var(--mantine-color-gray-5)","--mantine-color-disabled-border":"var(--mantine-color-gray-3)"},dark:{"--mantine-color-scheme":"dark","--mantine-primary-color-contrast":tV(e,"dark"),"--mantine-color-bright":"var(--mantine-color-white)","--mantine-color-text":"var(--mantine-color-dark-0)","--mantine-color-body":"var(--mantine-color-dark-7)","--mantine-color-error":"var(--mantine-color-red-8)","--mantine-color-placeholder":"var(--mantine-color-dark-3)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-4)`,"--mantine-color-default":"var(--mantine-color-dark-6)","--mantine-color-default-hover":"var(--mantine-color-dark-5)","--mantine-color-default-color":"var(--mantine-color-white)","--mantine-color-default-border":"var(--mantine-color-dark-4)","--mantine-color-dimmed":"var(--mantine-color-dark-2)","--mantine-color-disabled":"var(--mantine-color-dark-6)","--mantine-color-disabled-color":"var(--mantine-color-dark-3)","--mantine-color-disabled-border":"var(--mantine-color-dark-4)"}};kf(o.variables,e.breakpoints,"breakpoint"),kf(o.variables,e.spacing,"spacing"),kf(o.variables,e.fontSizes,"font-size"),kf(o.variables,e.lineHeights,"line-height"),kf(o.variables,e.shadows,"shadow"),kf(o.variables,e.radius,"radius"),e.colors[e.primaryColor].forEach((i,l)=>{o.variables[`--mantine-primary-color-${l}`]=`var(--mantine-color-${e.primaryColor}-${l})`}),Ao(e.colors).forEach(i=>{const l=e.colors[i];if(o$e(l)){Object.assign(o.light,ew({theme:e,name:l.name,color:l.light,colorScheme:"light",withColorValues:!0})),Object.assign(o.dark,ew({theme:e,name:l.name,color:l.dark,colorScheme:"dark",withColorValues:!0}));return}l.forEach((s,c)=>{o.variables[`--mantine-color-${i}-${c}`]=s}),Object.assign(o.light,ew({theme:e,color:i,colorScheme:"light",withColorValues:!1})),Object.assign(o.dark,ew({theme:e,color:i,colorScheme:"dark",withColorValues:!1}))});const a=e.headings.sizes;return Ao(a).forEach(i=>{o.variables[`--mantine-${i}-font-size`]=a[i].fontSize,o.variables[`--mantine-${i}-line-height`]=a[i].lineHeight,o.variables[`--mantine-${i}-font-weight`]=a[i].fontWeight||e.headings.fontWeight}),o};function a$e({theme:e,generator:r}){const n=rV(e),o=r?.(e);return o?QE(n,o):n}const m9=rV(c9);function i$e(e){const r={variables:{},light:{},dark:{}};return Ao(e.variables).forEach(n=>{m9.variables[n]!==e.variables[n]&&(r.variables[n]=e.variables[n])}),Ao(e.light).forEach(n=>{m9.light[n]!==e.light[n]&&(r.light[n]=e.light[n])}),Ao(e.dark).forEach(n=>{m9.dark[n]!==e.dark[n]&&(r.dark[n]=e.dark[n])}),r}function l$e(e){return` +${s}`}function x9({color:e,theme:r,autoContrast:n}){return(typeof n=="boolean"?n:r.autoContrast)&&xu({color:e||r.primaryColor,theme:r}).isLight?"var(--mantine-color-black)":"var(--mantine-color-white)"}function pV(e,r){return x9({color:e.colors[e.primaryColor][j0(e,r)],theme:e,autoContrast:null})}function ow({theme:e,color:r,colorScheme:n,name:o=r,withColorValues:a=!0}){if(!e.colors[r])return{};if(n==="light"){const s=j0(e,"light"),c={[`--mantine-color-${o}-text`]:`var(--mantine-color-${o}-filled)`,[`--mantine-color-${o}-filled`]:`var(--mantine-color-${o}-${s})`,[`--mantine-color-${o}-filled-hover`]:`var(--mantine-color-${o}-${s===9?8:s+1})`,[`--mantine-color-${o}-light`]:Af(e.colors[r][s],.1),[`--mantine-color-${o}-light-hover`]:Af(e.colors[r][s],.12),[`--mantine-color-${o}-light-color`]:`var(--mantine-color-${o}-${s})`,[`--mantine-color-${o}-outline`]:`var(--mantine-color-${o}-${s})`,[`--mantine-color-${o}-outline-hover`]:Af(e.colors[r][s],.05)};return a?{[`--mantine-color-${o}-0`]:e.colors[r][0],[`--mantine-color-${o}-1`]:e.colors[r][1],[`--mantine-color-${o}-2`]:e.colors[r][2],[`--mantine-color-${o}-3`]:e.colors[r][3],[`--mantine-color-${o}-4`]:e.colors[r][4],[`--mantine-color-${o}-5`]:e.colors[r][5],[`--mantine-color-${o}-6`]:e.colors[r][6],[`--mantine-color-${o}-7`]:e.colors[r][7],[`--mantine-color-${o}-8`]:e.colors[r][8],[`--mantine-color-${o}-9`]:e.colors[r][9],...c}:c}const i=j0(e,"dark"),l={[`--mantine-color-${o}-text`]:`var(--mantine-color-${o}-4)`,[`--mantine-color-${o}-filled`]:`var(--mantine-color-${o}-${i})`,[`--mantine-color-${o}-filled-hover`]:`var(--mantine-color-${o}-${i===9?8:i+1})`,[`--mantine-color-${o}-light`]:Af(e.colors[r][Math.max(0,i-2)],.15),[`--mantine-color-${o}-light-hover`]:Af(e.colors[r][Math.max(0,i-2)],.2),[`--mantine-color-${o}-light-color`]:`var(--mantine-color-${o}-${Math.max(i-5,0)})`,[`--mantine-color-${o}-outline`]:`var(--mantine-color-${o}-${Math.max(i-4,0)})`,[`--mantine-color-${o}-outline-hover`]:Af(e.colors[r][Math.max(i-4,0)],.05)};return a?{[`--mantine-color-${o}-0`]:e.colors[r][0],[`--mantine-color-${o}-1`]:e.colors[r][1],[`--mantine-color-${o}-2`]:e.colors[r][2],[`--mantine-color-${o}-3`]:e.colors[r][3],[`--mantine-color-${o}-4`]:e.colors[r][4],[`--mantine-color-${o}-5`]:e.colors[r][5],[`--mantine-color-${o}-6`]:e.colors[r][6],[`--mantine-color-${o}-7`]:e.colors[r][7],[`--mantine-color-${o}-8`]:e.colors[r][8],[`--mantine-color-${o}-9`]:e.colors[r][9],...l}:l}function D$e(e){return!!e&&typeof e=="object"&&"mantine-virtual-color"in e}function Nf(e,r,n){Do(r).forEach(o=>Object.assign(e,{[`--mantine-${n}-${o}`]:r[o]}))}const hV=e=>{const r=j0(e,"light"),n=e.defaultRadius in e.radius?e.radius[e.defaultRadius]:Ae(e.defaultRadius),o={variables:{"--mantine-z-index-app":"100","--mantine-z-index-modal":"200","--mantine-z-index-popover":"300","--mantine-z-index-overlay":"400","--mantine-z-index-max":"9999","--mantine-scale":e.scale.toString(),"--mantine-cursor-type":e.cursorType,"--mantine-webkit-font-smoothing":e.fontSmoothing?"antialiased":"unset","--mantine-moz-font-smoothing":e.fontSmoothing?"grayscale":"unset","--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-line-height":e.lineHeights.md,"--mantine-font-family":e.fontFamily,"--mantine-font-family-monospace":e.fontFamilyMonospace,"--mantine-font-family-headings":e.headings.fontFamily,"--mantine-heading-font-weight":e.headings.fontWeight,"--mantine-heading-text-wrap":e.headings.textWrap,"--mantine-radius-default":n,"--mantine-primary-color-filled":`var(--mantine-color-${e.primaryColor}-filled)`,"--mantine-primary-color-filled-hover":`var(--mantine-color-${e.primaryColor}-filled-hover)`,"--mantine-primary-color-light":`var(--mantine-color-${e.primaryColor}-light)`,"--mantine-primary-color-light-hover":`var(--mantine-color-${e.primaryColor}-light-hover)`,"--mantine-primary-color-light-color":`var(--mantine-color-${e.primaryColor}-light-color)`},light:{"--mantine-color-scheme":"light","--mantine-primary-color-contrast":pV(e,"light"),"--mantine-color-bright":"var(--mantine-color-black)","--mantine-color-text":e.black,"--mantine-color-body":e.white,"--mantine-color-error":"var(--mantine-color-red-6)","--mantine-color-placeholder":"var(--mantine-color-gray-5)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-${r})`,"--mantine-color-default":"var(--mantine-color-white)","--mantine-color-default-hover":"var(--mantine-color-gray-0)","--mantine-color-default-color":"var(--mantine-color-black)","--mantine-color-default-border":"var(--mantine-color-gray-4)","--mantine-color-dimmed":"var(--mantine-color-gray-6)","--mantine-color-disabled":"var(--mantine-color-gray-2)","--mantine-color-disabled-color":"var(--mantine-color-gray-5)","--mantine-color-disabled-border":"var(--mantine-color-gray-3)"},dark:{"--mantine-color-scheme":"dark","--mantine-primary-color-contrast":pV(e,"dark"),"--mantine-color-bright":"var(--mantine-color-white)","--mantine-color-text":"var(--mantine-color-dark-0)","--mantine-color-body":"var(--mantine-color-dark-7)","--mantine-color-error":"var(--mantine-color-red-8)","--mantine-color-placeholder":"var(--mantine-color-dark-3)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-4)`,"--mantine-color-default":"var(--mantine-color-dark-6)","--mantine-color-default-hover":"var(--mantine-color-dark-5)","--mantine-color-default-color":"var(--mantine-color-white)","--mantine-color-default-border":"var(--mantine-color-dark-4)","--mantine-color-dimmed":"var(--mantine-color-dark-2)","--mantine-color-disabled":"var(--mantine-color-dark-6)","--mantine-color-disabled-color":"var(--mantine-color-dark-3)","--mantine-color-disabled-border":"var(--mantine-color-dark-4)"}};Nf(o.variables,e.breakpoints,"breakpoint"),Nf(o.variables,e.spacing,"spacing"),Nf(o.variables,e.fontSizes,"font-size"),Nf(o.variables,e.lineHeights,"line-height"),Nf(o.variables,e.shadows,"shadow"),Nf(o.variables,e.radius,"radius"),e.colors[e.primaryColor].forEach((i,l)=>{o.variables[`--mantine-primary-color-${l}`]=`var(--mantine-color-${e.primaryColor}-${l})`}),Do(e.colors).forEach(i=>{const l=e.colors[i];if(D$e(l)){Object.assign(o.light,ow({theme:e,name:l.name,color:l.light,colorScheme:"light",withColorValues:!0})),Object.assign(o.dark,ow({theme:e,name:l.name,color:l.dark,colorScheme:"dark",withColorValues:!0}));return}l.forEach((s,c)=>{o.variables[`--mantine-color-${i}-${c}`]=s}),Object.assign(o.light,ow({theme:e,color:i,colorScheme:"light",withColorValues:!1})),Object.assign(o.dark,ow({theme:e,color:i,colorScheme:"dark",withColorValues:!1}))});const a=e.headings.sizes;return Do(a).forEach(i=>{o.variables[`--mantine-${i}-font-size`]=a[i].fontSize,o.variables[`--mantine-${i}-line-height`]=a[i].lineHeight,o.variables[`--mantine-${i}-font-weight`]=a[i].fontWeight||e.headings.fontWeight}),o};function P$e({theme:e,generator:r}){const n=hV(e),o=r?.(e);return o?o9(n,o):n}const w9=hV(m9);function $$e(e){const r={variables:{},light:{},dark:{}};return Do(e.variables).forEach(n=>{w9.variables[n]!==e.variables[n]&&(r.variables[n]=e.variables[n])}),Do(e.light).forEach(n=>{w9.light[n]!==e.light[n]&&(r.light[n]=e.light[n])}),Do(e.dark).forEach(n=>{w9.dark[n]!==e.dark[n]&&(r.dark[n]=e.dark[n])}),r}function M$e(e){return` ${e}[data-mantine-color-scheme="dark"] { --mantine-color-scheme: dark; } ${e}[data-mantine-color-scheme="light"] { --mantine-color-scheme: light; } -`}function nV({cssVariablesSelector:e,deduplicateCssVariables:r}){const n=po(),o=Yd(),a=zPe(),i=a$e({theme:n,generator:a}),l=e===":root"&&r,s=l?i$e(i):i,c=n$e(s,e);return c?y.jsx("style",{"data-mantine-styles":!0,nonce:o?.(),dangerouslySetInnerHTML:{__html:`${c}${l?"":l$e(e)}`}}):null}nV.displayName="@mantine/CssVariables";function _f(e,r){const n=typeof window<"u"&&"matchMedia"in window&&window.matchMedia("(prefers-color-scheme: dark)")?.matches,o=e!=="auto"?e:n?"dark":"light";r()?.setAttribute("data-mantine-color-scheme",o)}function s$e({manager:e,defaultColorScheme:r,getRootElement:n,forceColorScheme:o}){const a=E.useRef(null),[i,l]=E.useState(()=>e.get(r)),s=o||i,c=E.useCallback(d=>{o||(_f(d,n),l(d),e.set(d))},[e.set,s,o]),u=E.useCallback(()=>{l(r),_f(r,n),e.clear()},[e.clear,r]);return E.useEffect(()=>(e.subscribe(c),e.unsubscribe),[e.subscribe,e.unsubscribe]),A0(()=>{_f(e.get(r),n)},[]),E.useEffect(()=>{if(o)return _f(o,n),()=>{};o===void 0&&_f(i,n),typeof window<"u"&&"matchMedia"in window&&(a.current=window.matchMedia("(prefers-color-scheme: dark)"));const d=p=>{i==="auto"&&_f(p.matches?"dark":"light",n)};return a.current?.addEventListener("change",d),()=>a.current?.removeEventListener("change",d)},[i,o]),{colorScheme:s,setColorScheme:c,clearColorScheme:u}}function c$e({respectReducedMotion:e,getRootElement:r}){A0(()=>{e&&r()?.setAttribute("data-respect-reduced-motion","true")},[e])}function g9({theme:e,children:r,getStyleNonce:n,withStaticClasses:o=!0,withGlobalClasses:a=!0,deduplicateCssVariables:i=!0,withCssVariables:l=!0,cssVariablesSelector:s=":root",classNamesPrefix:c="mantine",colorSchemeManager:u=QPe(),defaultColorScheme:d="light",getRootElement:p=()=>document.documentElement,cssVariablesResolver:f,forceColorScheme:g,stylesTransform:b,env:x}){const{colorScheme:w,setColorScheme:k,clearColorScheme:C}=s$e({defaultColorScheme:d,forceColorScheme:g,manager:u,getRootElement:p});return c$e({respectReducedMotion:e?.respectReducedMotion||!1,getRootElement:p}),y.jsx(Zx.Provider,{value:{colorScheme:w,setColorScheme:k,clearColorScheme:C,getRootElement:p,classNamesPrefix:c,getStyleNonce:n,cssVariablesResolver:f,cssVariablesSelector:s,withStaticClasses:o,stylesTransform:b,env:x},children:y.jsxs(eV,{theme:e,children:[l&&y.jsx(nV,{cssVariablesSelector:s,deduplicateCssVariables:i}),a&&y.jsx(r$e,{}),r]})})}g9.displayName="@mantine/core/MantineProvider";function y9({classNames:e,styles:r,props:n,stylesCtx:o}){const a=po();return{resolvedClassNames:Xx({theme:a,classNames:e,props:n,stylesCtx:o||void 0}),resolvedStyles:Kx({theme:a,styles:r,props:n,stylesCtx:o||void 0})}}const u$e={always:"mantine-focus-always",auto:"mantine-focus-auto",never:"mantine-focus-never"};function d$e({theme:e,options:r,unstyled:n}){return Ji(r?.focusable&&!n&&(e.focusClassName||u$e[e.focusRing]),r?.active&&!n&&e.activeClassName)}function p$e({selector:e,stylesCtx:r,options:n,props:o,theme:a}){return Xx({theme:a,classNames:n?.classNames,props:n?.props||o,stylesCtx:r})[e]}function oV({selector:e,stylesCtx:r,theme:n,classNames:o,props:a}){return Xx({theme:n,classNames:o,props:a,stylesCtx:r})[e]}function h$e({rootSelector:e,selector:r,className:n}){return e===r?n:void 0}function f$e({selector:e,classes:r,unstyled:n}){return n?void 0:r[e]}function m$e({themeName:e,classNamesPrefix:r,selector:n,withStaticClass:o}){return o===!1?[]:e.map(a=>`${r}-${a}-${n}`)}function g$e({themeName:e,theme:r,selector:n,props:o,stylesCtx:a}){return e.map(i=>Xx({theme:r,classNames:r.components[i]?.classNames,props:o,stylesCtx:a})?.[n])}function y$e({options:e,classes:r,selector:n,unstyled:o}){return e?.variant&&!o?r[`${n}--${e.variant}`]:void 0}function b$e({theme:e,options:r,themeName:n,selector:o,classNamesPrefix:a,classNames:i,classes:l,unstyled:s,className:c,rootSelector:u,props:d,stylesCtx:p,withStaticClasses:f,headless:g,transformedStyles:b}){return Ji(d$e({theme:e,options:r,unstyled:s||g}),g$e({theme:e,themeName:n,selector:o,props:d,stylesCtx:p}),y$e({options:r,classes:l,selector:o,unstyled:s}),oV({selector:o,stylesCtx:p,theme:e,classNames:i,props:d}),oV({selector:o,stylesCtx:p,theme:e,classNames:b,props:d}),p$e({selector:o,stylesCtx:p,options:r,props:d,theme:e}),h$e({rootSelector:u,selector:o,className:c}),f$e({selector:o,classes:l,unstyled:s||g}),f&&!g&&m$e({themeName:n,classNamesPrefix:a,selector:o,withStaticClass:r?.withStaticClass}),r?.className)}function v$e({theme:e,themeName:r,props:n,stylesCtx:o,selector:a}){return r.map(i=>Kx({theme:e,styles:e.components[i]?.styles,props:n,stylesCtx:o})[a]).reduce((i,l)=>({...i,...l}),{})}function b9({style:e,theme:r}){return Array.isArray(e)?[...e].reduce((n,o)=>({...n,...b9({style:o,theme:r})}),{}):typeof e=="function"?e(r):e??{}}function x$e(e){return e.reduce((r,n)=>(n&&Object.keys(n).forEach(o=>{r[o]={...r[o],...yf(n[o])}}),r),{})}function w$e({vars:e,varsResolver:r,theme:n,props:o,stylesCtx:a,selector:i,themeName:l,headless:s}){return x$e([s?{}:r?.(n,o,a),...l.map(c=>n.components?.[c]?.vars?.(n,o,a)),e?.(n,o,a)])?.[i]}function k$e({theme:e,themeName:r,selector:n,options:o,props:a,stylesCtx:i,rootSelector:l,styles:s,style:c,vars:u,varsResolver:d,headless:p,withStylesTransform:f}){return{...!f&&v$e({theme:e,themeName:r,props:a,stylesCtx:i,selector:n}),...!f&&Kx({theme:e,styles:s,props:a,stylesCtx:i})[n],...!f&&Kx({theme:e,styles:o?.styles,props:o?.props||a,stylesCtx:i})[n],...w$e({theme:e,props:a,stylesCtx:i,vars:u,varsResolver:d,selector:n,themeName:r,headless:p}),...l===n?b9({style:c,theme:e}):null,...b9({style:o?.style,theme:e})}}function _$e({props:e,stylesCtx:r,themeName:n}){const o=po(),a=qPe()?.();return{getTransformedStyles:i=>a?[...i.map(l=>a(l,{props:e,theme:o,ctx:r})),...n.map(l=>a(o.components[l]?.styles,{props:e,theme:o,ctx:r}))].filter(Boolean):[],withStylesTransform:!!a}}function bt({name:e,classes:r,props:n,stylesCtx:o,className:a,style:i,rootSelector:l="root",unstyled:s,classNames:c,styles:u,vars:d,varsResolver:p,attributes:f}){const g=po(),b=BPe(),x=jPe(),w=FPe(),k=(Array.isArray(e)?e:[e]).filter(T=>T),{withStylesTransform:C,getTransformedStyles:_}=_$e({props:n,stylesCtx:o,themeName:k});return(T,R)=>({className:b$e({theme:g,options:R,themeName:k,selector:T,classNamesPrefix:b,classNames:c,classes:r,unstyled:s,className:a,rootSelector:l,props:n,stylesCtx:o,withStaticClasses:x,headless:w,transformedStyles:_([R?.styles,u])}),style:k$e({theme:g,themeName:k,selector:T,options:R,props:n,stylesCtx:o,rootSelector:l,styles:u,style:i,vars:d,varsResolver:p,headless:w,withStylesTransform:C}),...f?.[T]})}function E$e(e,r){return typeof e=="boolean"?e:r.autoContrast}function aV(e){const r=document.createElement("style");return r.setAttribute("data-mantine-styles","inline"),r.innerHTML="*, *::before, *::after {transition: none !important;}",r.setAttribute("data-mantine-disable-transition","true"),e&&r.setAttribute("nonce",e),document.head.appendChild(r),()=>document.querySelectorAll("[data-mantine-disable-transition]").forEach(n=>n.remove())}function S$e({keepTransitions:e}={}){const r=E.useRef(RU),n=E.useRef(-1),o=E.useContext(Zx),a=Yd(),i=E.useRef(a?.());if(!o)throw new Error("[@mantine/core] MantineProvider was not found in tree");const l=p=>{o.setColorScheme(p),r.current=e?()=>{}:aV(i.current),window.clearTimeout(n.current),n.current=window.setTimeout(()=>{r.current?.()},10)},s=()=>{o.clearColorScheme(),r.current=e?()=>{}:aV(i.current),window.clearTimeout(n.current),n.current=window.setTimeout(()=>{r.current?.()},10)},c=$U("light",{getInitialValueInEffect:!1}),u=o.colorScheme==="auto"?c:o.colorScheme,d=E.useCallback(()=>l(u==="light"?"dark":"light"),[l,u]);return E.useEffect(()=>()=>{r.current?.(),window.clearTimeout(n.current)},[]),{colorScheme:o.colorScheme,setColorScheme:l,clearColorScheme:s,toggleColorScheme:d}}function ze(e,r,n){const o=po(),a=o.components[e]?.defaultProps,i=typeof a=="function"?a(o):a;return{...r,...i,...yf(n)}}function v9(e){return Ao(e).reduce((r,n)=>e[n]!==void 0?`${r}${UDe(n)}:${e[n]};`:r,"").trim()}function C$e({selector:e,styles:r,media:n,container:o}){const a=r?v9(r):"",i=Array.isArray(n)?n.map(s=>`@media${s.query}{${e}{${v9(s.styles)}}}`):[],l=Array.isArray(o)?o.map(s=>`@container ${s.query}{${e}{${v9(s.styles)}}}`):[];return`${a?`${e}{${a}}`:""}${i.join("")}${l.join("")}`.trim()}function tw(e){const r=Yd();return y.jsx("style",{"data-mantine-styles":"inline",nonce:r?.(),dangerouslySetInnerHTML:{__html:C$e(e)}})}function iV(e){const{m:r,mx:n,my:o,mt:a,mb:i,ml:l,mr:s,me:c,ms:u,p:d,px:p,py:f,pt:g,pb:b,pl:x,pr:w,pe:k,ps:C,bd:_,bdrs:T,bg:R,c:A,opacity:D,ff:N,fz:$,fw:M,lts:j,ta:L,lh:Y,fs:O,tt:U,td:I,w:q,miw:V,maw:G,h:F,mih:J,mah:Q,bgsz:z,bgp:W,bgr:X,bga:Z,pos:oe,top:ee,left:re,bottom:pe,right:Ce,inset:ce,display:de,flex:be,hiddenFrom:Oe,visibleFrom:Xe,lightHidden:Ge,darkHidden:_t,sx:Qe,...St}=e;return{styleProps:yf({m:r,mx:n,my:o,mt:a,mb:i,ml:l,mr:s,me:c,ms:u,p:d,px:p,py:f,pt:g,pb:b,pl:x,pr:w,pe:k,ps:C,bd:_,bg:R,c:A,opacity:D,ff:N,fz:$,fw:M,lts:j,ta:L,lh:Y,fs:O,tt:U,td:I,w:q,miw:V,maw:G,h:F,mih:J,mah:Q,bgsz:z,bgp:W,bgr:X,bga:Z,pos:oe,top:ee,left:re,bottom:pe,right:Ce,inset:ce,display:de,flex:be,bdrs:T,hiddenFrom:Oe,visibleFrom:Xe,lightHidden:Ge,darkHidden:_t,sx:Qe}),rest:St}}const T$e={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},ms:{type:"spacing",property:"marginInlineStart"},me:{type:"spacing",property:"marginInlineEnd"},mx:{type:"spacing",property:"marginInline"},my:{type:"spacing",property:"marginBlock"},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},ps:{type:"spacing",property:"paddingInlineStart"},pe:{type:"spacing",property:"paddingInlineEnd"},px:{type:"spacing",property:"paddingInline"},py:{type:"spacing",property:"paddingBlock"},bd:{type:"border",property:"border"},bdrs:{type:"radius",property:"borderRadius"},bg:{type:"color",property:"background"},c:{type:"textColor",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"fontFamily",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"lineHeight",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"size",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"},flex:{type:"identity",property:"flex"}};function x9(e,r){const n=uu({color:e,theme:r});return n.color==="dimmed"?"var(--mantine-color-dimmed)":n.color==="bright"?"var(--mantine-color-bright)":n.variable?`var(${n.variable})`:n.color}function R$e(e,r){const n=uu({color:e,theme:r});return n.isThemeColor&&n.shade===void 0?`var(--mantine-color-${n.color}-text)`:x9(e,r)}function A$e(e,r){if(typeof e=="number")return Ae(e);if(typeof e=="string"){const[n,o,...a]=e.split(" ").filter(l=>l.trim()!=="");let i=`${Ae(n)}`;return o&&(i+=` ${o}`),a.length>0&&(i+=` ${x9(a.join(" "),r)}`),i.trim()}return e}const lV={text:"var(--mantine-font-family)",mono:"var(--mantine-font-family-monospace)",monospace:"var(--mantine-font-family-monospace)",heading:"var(--mantine-font-family-headings)",headings:"var(--mantine-font-family-headings)"};function N$e(e){return typeof e=="string"&&e in lV?lV[e]:e}const D$e=["h1","h2","h3","h4","h5","h6"];function P$e(e,r){return typeof e=="string"&&e in r.fontSizes?`var(--mantine-font-size-${e})`:typeof e=="string"&&D$e.includes(e)?`var(--mantine-${e}-font-size)`:typeof e=="number"||typeof e=="string"?Ae(e):e}function $$e(e){return e}const M$e=["h1","h2","h3","h4","h5","h6"];function O$e(e,r){return typeof e=="string"&&e in r.lineHeights?`var(--mantine-line-height-${e})`:typeof e=="string"&&M$e.includes(e)?`var(--mantine-${e}-line-height)`:e}function I$e(e,r){return typeof e=="string"&&e in r.radius?`var(--mantine-radius-${e})`:typeof e=="number"||typeof e=="string"?Ae(e):e}function L$e(e){return typeof e=="number"?Ae(e):e}function z$e(e,r){if(typeof e=="number")return Ae(e);if(typeof e=="string"){const n=e.replace("-","");if(!(n in r.spacing))return Ae(e);const o=`--mantine-spacing-${n}`;return e.startsWith("-")?`calc(var(${o}) * -1)`:`var(${o})`}return e}const w9={color:x9,textColor:R$e,fontSize:P$e,spacing:z$e,radius:I$e,identity:$$e,size:L$e,lineHeight:O$e,fontFamily:N$e,border:A$e};function sV(e){return e.replace("(min-width: ","").replace("em)","")}function B$e({media:e,...r}){const n=Object.keys(e).sort((o,a)=>Number(sV(o))-Number(sV(a))).map(o=>({query:o,styles:e[o]}));return{...r,media:n}}function j$e(e){if(typeof e!="object"||e===null)return!1;const r=Object.keys(e);return!(r.length===1&&r[0]==="base")}function F$e(e){return typeof e=="object"&&e!==null?"base"in e?e.base:void 0:e}function H$e(e){return typeof e=="object"&&e!==null?Ao(e).filter(r=>r!=="base"):[]}function q$e(e,r){return typeof e=="object"&&e!==null&&r in e?e[r]:e}function cV({styleProps:e,data:r,theme:n}){return B$e(Ao(e).reduce((o,a)=>{if(a==="hiddenFrom"||a==="visibleFrom"||a==="sx")return o;const i=r[a],l=Array.isArray(i.property)?i.property:[i.property],s=F$e(e[a]);if(!j$e(e[a]))return l.forEach(u=>{o.inlineStyles[u]=w9[i.type](s,n)}),o;o.hasResponsiveStyles=!0;const c=H$e(e[a]);return l.forEach(u=>{s!=null&&(o.styles[u]=w9[i.type](s,n)),c.forEach(d=>{const p=`(min-width: ${n.breakpoints[d]})`;o.media[p]={...o.media[p],[u]:w9[i.type](q$e(e[a],d),n)}})}),o},{hasResponsiveStyles:!1,styles:{},inlineStyles:{},media:{}}))}function rw(){return`__m__-${E.useId().replace(/[:«»]/g,"")}`}function k9(e,r){return Array.isArray(e)?[...e].reduce((n,o)=>({...n,...k9(o,r)}),{}):typeof e=="function"?e(r):e??{}}function uV(e){return e.startsWith("data-")?e:`data-${e}`}function U$e(e){return Object.keys(e).reduce((r,n)=>{const o=e[n];return o===void 0||o===""||o===!1||o===null||(r[uV(n)]=e[n]),r},{})}function dV(e){return e?typeof e=="string"?{[uV(e)]:!0}:Array.isArray(e)?[...e].reduce((r,n)=>({...r,...dV(n)}),{}):U$e(e):null}function _9(e,r){return Array.isArray(e)?[...e].reduce((n,o)=>({...n,..._9(o,r)}),{}):typeof e=="function"?e(r):e??{}}function V$e({theme:e,style:r,vars:n,styleProps:o}){const a=_9(r,e),i=_9(n,e);return{...a,...i,...o}}const pV=E.forwardRef(({component:e,style:r,__vars:n,className:o,variant:a,mod:i,size:l,hiddenFrom:s,visibleFrom:c,lightHidden:u,darkHidden:d,renderRoot:p,__size:f,...g},b)=>{const x=po(),w=e||"div",{styleProps:k,rest:C}=iV(g),_=HPe()?.()?.(k.sx),T=rw(),R=cV({styleProps:k,theme:x,data:T$e}),A={ref:b,style:V$e({theme:x,style:r,vars:n,styleProps:R.inlineStyles}),className:Ji(o,_,{[T]:R.hasResponsiveStyles,"mantine-light-hidden":u,"mantine-dark-hidden":d,[`mantine-hidden-from-${s}`]:s,[`mantine-visible-from-${c}`]:c}),"data-variant":a,"data-size":CU(l)?void 0:l||void 0,size:f,...dV(i),...C};return y.jsxs(y.Fragment,{children:[R.hasResponsiveStyles&&y.jsx(tw,{selector:`.${T}`,styles:R.styles,media:R.media}),typeof p=="function"?p(A):y.jsx(w,{...A})]})});pV.displayName="@mantine/core/Box";const Se=pV;function hV(e){return e}function Y$e(e){const r=e;return n=>{const o=E.forwardRef((a,i)=>y.jsx(r,{...n,...a,ref:i}));return o.extend=r.extend,o.displayName=`WithProps(${r.displayName})`,o}}function lt(e){const r=E.forwardRef(e);return r.extend=hV,r.withProps=n=>{const o=E.forwardRef((a,i)=>y.jsx(r,{...n,...a,ref:i}));return o.extend=r.extend,o.displayName=`WithProps(${r.displayName})`,o},r}function Xn(e){const r=E.forwardRef(e);return r.withProps=n=>{const o=E.forwardRef((a,i)=>y.jsx(r,{...n,...a,ref:i}));return o.extend=r.extend,o.displayName=`WithProps(${r.displayName})`,o},r.extend=hV,r}const W$e=E.createContext({dir:"ltr",toggleDirection:()=>{},setDirection:()=>{}});function du(){return E.useContext(W$e)}function G$e(e){if(!e||typeof e=="string")return 0;const r=e/36;return Math.round((4+15*r**.25+r/5)*10)}function E9(e){return e?.current?e.current.scrollHeight:"auto"}const nw=typeof window<"u"&&window.requestAnimationFrame,fV=0,X$e=e=>({height:0,overflow:"hidden",...e?{}:{display:"none"}});function K$e({transitionDuration:e,transitionTimingFunction:r="ease",onTransitionEnd:n=()=>{},opened:o,keepMounted:a=!1}){const i=E.useRef(null),l=X$e(a),[s,c]=E.useState(o?{}:l),u=b=>{Bi.flushSync(()=>c(b))},d=b=>{u(x=>({...x,...b}))};function p(b){const x=e||G$e(b);return{transition:`height ${x}ms ${r}, opacity ${x}ms ${r}`}}Vd(()=>{typeof nw=="function"&&nw(o?()=>{d({willChange:"height",display:"block",overflow:"hidden"}),nw(()=>{const b=E9(i);d({...p(b),height:b})})}:()=>{const b=E9(i);d({...p(b),willChange:"height",height:b}),nw(()=>d({height:fV,overflow:"hidden"}))})},[o]);const f=b=>{if(!(b.target!==i.current||b.propertyName!=="height"))if(o){const x=E9(i);x===s.height?u({}):d({height:x}),n()}else s.height===fV&&(u(l),n())};function g({style:b={},refKey:x="ref",...w}={}){const k=w[x],C={"aria-hidden":!o,...w,[x]:BU(i,k),onTransitionEnd:f,style:{boxSizing:"border-box",...b,...s}};return Xr.version.startsWith("18")?o||(C.inert=""):C.inert=!o,C}return g}const Z$e={transitionDuration:200,transitionTimingFunction:"ease",animateOpacity:!0},mV=lt((e,r)=>{const{children:n,in:o,transitionDuration:a,transitionTimingFunction:i,style:l,onTransitionEnd:s,animateOpacity:c,keepMounted:u,...d}=ze("Collapse",Z$e,e),p=po(),f=FU(),g=p.respectReducedMotion&&f?0:a,b=K$e({opened:o,transitionDuration:g,transitionTimingFunction:i,onTransitionEnd:s,keepMounted:u});return g===0?o?y.jsx(Se,{...d,children:n}):null:y.jsx(Se,{...b({style:{opacity:o||!c?1:0,transition:c?`opacity ${g}ms ${i}`:"none",...k9(l,p)},ref:r,...d}),children:n})});mV.displayName="@mantine/core/Collapse";function ow(){return typeof window<"u"}function Ef(e){return gV(e)?(e.nodeName||"").toLowerCase():"#document"}function ea(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function ts(e){var r;return(r=(gV(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function gV(e){return ow()?e instanceof Node||e instanceof ea(e).Node:!1}function Dr(e){return ow()?e instanceof Element||e instanceof ea(e).Element:!1}function Ra(e){return ow()?e instanceof HTMLElement||e instanceof ea(e).HTMLElement:!1}function S9(e){return!ow()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ea(e).ShadowRoot}const Q$e=new Set(["inline","contents"]);function P0(e){const{overflow:r,overflowX:n,overflowY:o,display:a}=ni(e);return/auto|scroll|overlay|hidden|clip/.test(r+o+n)&&!Q$e.has(a)}const J$e=new Set(["table","td","th"]);function eMe(e){return J$e.has(Ef(e))}const tMe=[":popover-open",":modal"];function aw(e){return tMe.some(r=>{try{return e.matches(r)}catch{return!1}})}const rMe=["transform","translate","scale","rotate","perspective"],nMe=["transform","translate","scale","rotate","perspective","filter"],oMe=["paint","layout","strict","content"];function C9(e){const r=iw(),n=Dr(e)?ni(e):e;return rMe.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!r&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!r&&(n.filter?n.filter!=="none":!1)||nMe.some(o=>(n.willChange||"").includes(o))||oMe.some(o=>(n.contain||"").includes(o))}function aMe(e){let r=Ys(e);for(;Ra(r)&&!Vs(r);){if(C9(r))return r;if(aw(r))return null;r=Ys(r)}return null}function iw(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const iMe=new Set(["html","body","#document"]);function Vs(e){return iMe.has(Ef(e))}function ni(e){return ea(e).getComputedStyle(e)}function lw(e){return Dr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ys(e){if(Ef(e)==="html")return e;const r=e.assignedSlot||e.parentNode||S9(e)&&e.host||ts(e);return S9(r)?r.host:r}function yV(e){const r=Ys(e);return Vs(r)?e.ownerDocument?e.ownerDocument.body:e.body:Ra(r)&&P0(r)?r:yV(r)}function Ws(e,r,n){var o;r===void 0&&(r=[]),n===void 0&&(n=!0);const a=yV(e),i=a===((o=e.ownerDocument)==null?void 0:o.body),l=ea(a);if(i){const s=T9(l);return r.concat(l,l.visualViewport||[],P0(a)?a:[],s&&n?Ws(s):[])}return r.concat(a,Ws(a,[],n))}function T9(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const bV=["top","right","bottom","left"],vV=["start","end"],xV=bV.reduce((e,r)=>e.concat(r,r+"-"+vV[0],r+"-"+vV[1]),[]),el=Math.min,Do=Math.max,sw=Math.round,cw=Math.floor,rs=e=>({x:e,y:e}),lMe={left:"right",right:"left",bottom:"top",top:"bottom"},sMe={start:"end",end:"start"};function R9(e,r,n){return Do(e,el(r,n))}function tl(e,r){return typeof e=="function"?e(r):e}function Aa(e){return e.split("-")[0]}function rl(e){return e.split("-")[1]}function A9(e){return e==="x"?"y":"x"}function N9(e){return e==="y"?"height":"width"}const cMe=new Set(["top","bottom"]);function nl(e){return cMe.has(Aa(e))?"y":"x"}function D9(e){return A9(nl(e))}function wV(e,r,n){n===void 0&&(n=!1);const o=rl(e),a=D9(e),i=N9(a);let l=a==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return r.reference[i]>r.floating[i]&&(l=dw(l)),[l,dw(l)]}function uMe(e){const r=dw(e);return[uw(e),r,uw(r)]}function uw(e){return e.replace(/start|end/g,r=>sMe[r])}const kV=["left","right"],_V=["right","left"],dMe=["top","bottom"],pMe=["bottom","top"];function hMe(e,r,n){switch(e){case"top":case"bottom":return n?r?_V:kV:r?kV:_V;case"left":case"right":return r?dMe:pMe;default:return[]}}function fMe(e,r,n,o){const a=rl(e);let i=hMe(Aa(e),n==="start",o);return a&&(i=i.map(l=>l+"-"+a),r&&(i=i.concat(i.map(uw)))),i}function dw(e){return e.replace(/left|right|bottom|top/g,r=>lMe[r])}function mMe(e){return{top:0,right:0,bottom:0,left:0,...e}}function P9(e){return typeof e!="number"?mMe(e):{top:e,right:e,bottom:e,left:e}}function Sf(e){const{x:r,y:n,width:o,height:a}=e;return{width:o,height:a,top:n,left:r,right:r+o,bottom:n+a,x:r,y:n}}function gMe(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function yMe(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(r=>{let{brand:n,version:o}=r;return n+"/"+o}).join(" "):navigator.userAgent}function bMe(){return/apple/i.test(navigator.vendor)}function vMe(){return gMe().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function xMe(){return yMe().includes("jsdom/")}const EV="data-floating-ui-focusable",wMe="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function SV(e){let r=e.activeElement;for(;((n=r)==null||(n=n.shadowRoot)==null?void 0:n.activeElement)!=null;){var n;r=r.shadowRoot.activeElement}return r}function $0(e,r){if(!e||!r)return!1;const n=r.getRootNode==null?void 0:r.getRootNode();if(e.contains(r))return!0;if(n&&S9(n)){let o=r;for(;o;){if(e===o)return!0;o=o.parentNode||o.host}}return!1}function Cf(e){return"composedPath"in e?e.composedPath()[0]:e.target}function $9(e,r){if(r==null)return!1;if("composedPath"in e)return e.composedPath().includes(r);const n=e;return n.target!=null&&r.contains(n.target)}function kMe(e){return e.matches("html,body")}function Wd(e){return e?.ownerDocument||document}function _Me(e){return Ra(e)&&e.matches(wMe)}function EMe(e){if(!e||xMe())return!0;try{return e.matches(":focus-visible")}catch{return!0}}function SMe(e){return e?e.hasAttribute(EV)?e:e.querySelector("["+EV+"]")||e:null}function pw(e,r,n){return n===void 0&&(n=!0),e.filter(o=>{var a;return o.parentId===r&&(!n||((a=o.context)==null?void 0:a.open))}).flatMap(o=>[o,...pw(e,o.id,n)])}function CMe(e){return"nativeEvent"in e}function M9(e,r){const n=["mouse","pen"];return n.push("",void 0),n.includes(e)}var TMe=typeof document<"u",RMe=function(){},ns=TMe?E.useLayoutEffect:RMe;const AMe={...Uv};function hw(e){const r=E.useRef(e);return ns(()=>{r.current=e}),r}const NMe=AMe.useInsertionEffect,DMe=NMe||(e=>e());function os(e){const r=E.useRef(()=>{});return DMe(()=>{r.current=e}),E.useCallback(function(){for(var n=arguments.length,o=new Array(n),a=0;a{const{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:l}=n,s=i.filter(Boolean),c=await(l.isRTL==null?void 0:l.isRTL(r));let u=await l.getElementRects({reference:e,floating:r,strategy:a}),{x:d,y:p}=CV(u,o,c),f=o,g={},b=0;for(let x=0;x({name:"arrow",options:e,async fn(r){const{x:n,y:o,placement:a,rects:i,platform:l,elements:s,middlewareData:c}=r,{element:u,padding:d=0}=tl(e,r)||{};if(u==null)return{};const p=P9(d),f={x:n,y:o},g=D9(a),b=N9(g),x=await l.getDimensions(u),w=g==="y",k=w?"top":"left",C=w?"bottom":"right",_=w?"clientHeight":"clientWidth",T=i.reference[b]+i.reference[g]-f[g]-i.floating[b],R=f[g]-i.reference[g],A=await(l.getOffsetParent==null?void 0:l.getOffsetParent(u));let D=A?A[_]:0;(!D||!await(l.isElement==null?void 0:l.isElement(A)))&&(D=s.floating[_]||i.floating[b]);const N=T/2-R/2,$=D/2-x[b]/2-1,M=el(p[k],$),j=el(p[C],$),L=M,Y=D-x[b]-j,O=D/2-x[b]/2+N,U=R9(L,O,Y),I=!c.arrow&&rl(a)!=null&&O!==U&&i.reference[b]/2-(Orl(o)===e),...n.filter(o=>rl(o)!==e)]:n.filter(o=>Aa(o)===o)).filter(o=>e?rl(o)===e||(r?uw(o)!==o:!1):!0)}const OMe=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(r){var n,o,a;const{rects:i,middlewareData:l,placement:s,platform:c,elements:u}=r,{crossAxis:d=!1,alignment:p,allowedPlacements:f=xV,autoAlignment:g=!0,...b}=tl(e,r),x=p!==void 0||f===xV?MMe(p||null,g,f):f,w=await Tf(r,b),k=((n=l.autoPlacement)==null?void 0:n.index)||0,C=x[k];if(C==null)return{};const _=wV(C,i,await(c.isRTL==null?void 0:c.isRTL(u.floating)));if(s!==C)return{reset:{placement:x[0]}};const T=[w[Aa(C)],w[_[0]],w[_[1]]],R=[...((o=l.autoPlacement)==null?void 0:o.overflows)||[],{placement:C,overflows:T}],A=x[k+1];if(A)return{data:{index:k+1,overflows:R},reset:{placement:A}};const D=R.map($=>{const M=rl($.placement);return[$.placement,M&&d?$.overflows.slice(0,2).reduce((j,L)=>j+L,0):$.overflows[0],$.overflows]}).sort(($,M)=>$[1]-M[1]),N=((a=D.filter($=>$[2].slice(0,rl($[0])?2:3).every(M=>M<=0))[0])==null?void 0:a[0])||D[0][0];return N!==s?{data:{index:k+1,overflows:R},reset:{placement:N}}:{}}}},IMe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(r){var n,o;const{placement:a,middlewareData:i,rects:l,initialPlacement:s,platform:c,elements:u}=r,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:x=!0,...w}=tl(e,r);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const k=Aa(a),C=nl(s),_=Aa(s)===s,T=await(c.isRTL==null?void 0:c.isRTL(u.floating)),R=f||(_||!x?[dw(s)]:uMe(s)),A=b!=="none";!f&&A&&R.push(...fMe(s,x,b,T));const D=[s,...R],N=await Tf(r,w),$=[];let M=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&$.push(N[k]),p){const O=wV(a,l,T);$.push(N[O[0]],N[O[1]])}if(M=[...M,{placement:a,overflows:$}],!$.every(O=>O<=0)){var j,L;const O=(((j=i.flip)==null?void 0:j.index)||0)+1,U=D[O];if(U&&(!(p==="alignment"&&C!==nl(U))||M.every(q=>nl(q.placement)===C?q.overflows[0]>0:!0)))return{data:{index:O,overflows:M},reset:{placement:U}};let I=(L=M.filter(q=>q.overflows[0]<=0).sort((q,V)=>q.overflows[1]-V.overflows[1])[0])==null?void 0:L.placement;if(!I)switch(g){case"bestFit":{var Y;const q=(Y=M.filter(V=>{if(A){const G=nl(V.placement);return G===C||G==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(G=>G>0).reduce((G,F)=>G+F,0)]).sort((V,G)=>V[1]-G[1])[0])==null?void 0:Y[0];q&&(I=q);break}case"initialPlacement":I=s;break}if(a!==I)return{reset:{placement:I}}}return{}}}};function TV(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function RV(e){return bV.some(r=>e[r]>=0)}const LMe=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(r){const{rects:n}=r,{strategy:o="referenceHidden",...a}=tl(e,r);switch(o){case"referenceHidden":{const i=await Tf(r,{...a,elementContext:"reference"}),l=TV(i,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:RV(l)}}}case"escaped":{const i=await Tf(r,{...a,altBoundary:!0}),l=TV(i,n.floating);return{data:{escapedOffsets:l,escaped:RV(l)}}}default:return{}}}}};function AV(e){const r=el(...e.map(i=>i.left)),n=el(...e.map(i=>i.top)),o=Do(...e.map(i=>i.right)),a=Do(...e.map(i=>i.bottom));return{x:r,y:n,width:o-r,height:a-n}}function zMe(e){const r=e.slice().sort((a,i)=>a.y-i.y),n=[];let o=null;for(let a=0;ao.height/2?n.push([i]):n[n.length-1].push(i),o=i}return n.map(a=>Sf(AV(a)))}const BMe=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(r){const{placement:n,elements:o,rects:a,platform:i,strategy:l}=r,{padding:s=2,x:c,y:u}=tl(e,r),d=Array.from(await(i.getClientRects==null?void 0:i.getClientRects(o.reference))||[]),p=zMe(d),f=Sf(AV(d)),g=P9(s);function b(){if(p.length===2&&p[0].left>p[1].right&&c!=null&&u!=null)return p.find(w=>c>w.left-g.left&&cw.top-g.top&&u=2){if(nl(n)==="y"){const M=p[0],j=p[p.length-1],L=Aa(n)==="top",Y=M.top,O=j.bottom,U=L?M.left:j.left,I=L?M.right:j.right,q=I-U,V=O-Y;return{top:Y,bottom:O,left:U,right:I,width:q,height:V,x:U,y:Y}}const w=Aa(n)==="left",k=Do(...p.map(M=>M.right)),C=el(...p.map(M=>M.left)),_=p.filter(M=>w?M.left===C:M.right===k),T=_[0].top,R=_[_.length-1].bottom,A=C,D=k,N=D-A,$=R-T;return{top:T,bottom:R,left:A,right:D,width:N,height:$,x:A,y:T}}return f}const x=await i.getElementRects({reference:{getBoundingClientRect:b},floating:o.floating,strategy:l});return a.reference.x!==x.reference.x||a.reference.y!==x.reference.y||a.reference.width!==x.reference.width||a.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}},NV=new Set(["left","top"]);async function jMe(e,r){const{placement:n,platform:o,elements:a}=e,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),l=Aa(n),s=rl(n),c=nl(n)==="y",u=NV.has(l)?-1:1,d=i&&c?-1:1,p=tl(r,e);let{mainAxis:f,crossAxis:g,alignmentAxis:b}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return s&&typeof b=="number"&&(g=s==="end"?b*-1:b),c?{x:g*d,y:f*u}:{x:f*u,y:g*d}}const FMe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(r){var n,o;const{x:a,y:i,placement:l,middlewareData:s}=r,c=await jMe(r,e);return l===((n=s.offset)==null?void 0:n.placement)&&(o=s.arrow)!=null&&o.alignmentOffset?{}:{x:a+c.x,y:i+c.y,data:{...c,placement:l}}}}},HMe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(r){const{x:n,y:o,placement:a}=r,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:w=>{let{x:k,y:C}=w;return{x:k,y:C}}},...c}=tl(e,r),u={x:n,y:o},d=await Tf(r,c),p=nl(Aa(a)),f=A9(p);let g=u[f],b=u[p];if(i){const w=f==="y"?"top":"left",k=f==="y"?"bottom":"right",C=g+d[w],_=g-d[k];g=R9(C,g,_)}if(l){const w=p==="y"?"top":"left",k=p==="y"?"bottom":"right",C=b+d[w],_=b-d[k];b=R9(C,b,_)}const x=s.fn({...r,[f]:g,[p]:b});return{...x,data:{x:x.x-n,y:x.y-o,enabled:{[f]:i,[p]:l}}}}}},qMe=function(e){return e===void 0&&(e={}),{options:e,fn(r){const{x:n,y:o,placement:a,rects:i,middlewareData:l}=r,{offset:s=0,mainAxis:c=!0,crossAxis:u=!0}=tl(e,r),d={x:n,y:o},p=nl(a),f=A9(p);let g=d[f],b=d[p];const x=tl(s,r),w=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(c){const _=f==="y"?"height":"width",T=i.reference[f]-i.floating[_]+w.mainAxis,R=i.reference[f]+i.reference[_]-w.mainAxis;gR&&(g=R)}if(u){var k,C;const _=f==="y"?"width":"height",T=NV.has(Aa(a)),R=i.reference[p]-i.floating[_]+(T&&((k=l.offset)==null?void 0:k[p])||0)+(T?0:w.crossAxis),A=i.reference[p]+i.reference[_]+(T?0:((C=l.offset)==null?void 0:C[p])||0)-(T?w.crossAxis:0);bA&&(b=A)}return{[f]:g,[p]:b}}}},UMe=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(r){var n,o;const{placement:a,rects:i,platform:l,elements:s}=r,{apply:c=()=>{},...u}=tl(e,r),d=await Tf(r,u),p=Aa(a),f=rl(a),g=nl(a)==="y",{width:b,height:x}=i.floating;let w,k;p==="top"||p==="bottom"?(w=p,k=f===(await(l.isRTL==null?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(k=p,w=f==="end"?"top":"bottom");const C=x-d.top-d.bottom,_=b-d.left-d.right,T=el(x-d[w],C),R=el(b-d[k],_),A=!r.middlewareData.shift;let D=T,N=R;if((n=r.middlewareData.shift)!=null&&n.enabled.x&&(N=_),(o=r.middlewareData.shift)!=null&&o.enabled.y&&(D=C),A&&!f){const M=Do(d.left,0),j=Do(d.right,0),L=Do(d.top,0),Y=Do(d.bottom,0);g?N=b-2*(M!==0||j!==0?M+j:Do(d.left,d.right)):D=x-2*(L!==0||Y!==0?L+Y:Do(d.top,d.bottom))}await c({...r,availableWidth:N,availableHeight:D});const $=await l.getDimensions(s.floating);return b!==$.width||x!==$.height?{reset:{rects:!0}}:{}}}};function DV(e){const r=ni(e);let n=parseFloat(r.width)||0,o=parseFloat(r.height)||0;const a=Ra(e),i=a?e.offsetWidth:n,l=a?e.offsetHeight:o,s=sw(n)!==i||sw(o)!==l;return s&&(n=i,o=l),{width:n,height:o,$:s}}function O9(e){return Dr(e)?e:e.contextElement}function Rf(e){const r=O9(e);if(!Ra(r))return rs(1);const n=r.getBoundingClientRect(),{width:o,height:a,$:i}=DV(r);let l=(i?sw(n.width):n.width)/o,s=(i?sw(n.height):n.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const VMe=rs(0);function PV(e){const r=ea(e);return!iw()||!r.visualViewport?VMe:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function YMe(e,r,n){return r===void 0&&(r=!1),!n||r&&n!==ea(e)?!1:r}function Gd(e,r,n,o){r===void 0&&(r=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),i=O9(e);let l=rs(1);r&&(o?Dr(o)&&(l=Rf(o)):l=Rf(e));const s=YMe(i,n,o)?PV(i):rs(0);let c=(a.left+s.x)/l.x,u=(a.top+s.y)/l.y,d=a.width/l.x,p=a.height/l.y;if(i){const f=ea(i),g=o&&Dr(o)?ea(o):o;let b=f,x=T9(b);for(;x&&o&&g!==b;){const w=Rf(x),k=x.getBoundingClientRect(),C=ni(x),_=k.left+(x.clientLeft+parseFloat(C.paddingLeft))*w.x,T=k.top+(x.clientTop+parseFloat(C.paddingTop))*w.y;c*=w.x,u*=w.y,d*=w.x,p*=w.y,c+=_,u+=T,b=ea(x),x=T9(b)}}return Sf({width:d,height:p,x:c,y:u})}function fw(e,r){const n=lw(e).scrollLeft;return r?r.left+n:Gd(ts(e)).left+n}function $V(e,r){const n=e.getBoundingClientRect(),o=n.left+r.scrollLeft-fw(e,n),a=n.top+r.scrollTop;return{x:o,y:a}}function WMe(e){let{elements:r,rect:n,offsetParent:o,strategy:a}=e;const i=a==="fixed",l=ts(o),s=r?aw(r.floating):!1;if(o===l||s&&i)return n;let c={scrollLeft:0,scrollTop:0},u=rs(1);const d=rs(0),p=Ra(o);if((p||!p&&!i)&&((Ef(o)!=="body"||P0(l))&&(c=lw(o)),Ra(o))){const g=Gd(o);u=Rf(o),d.x=g.x+o.clientLeft,d.y=g.y+o.clientTop}const f=l&&!p&&!i?$V(l,c):rs(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+f.x,y:n.y*u.y-c.scrollTop*u.y+d.y+f.y}}function GMe(e){return Array.from(e.getClientRects())}function XMe(e){const r=ts(e),n=lw(e),o=e.ownerDocument.body,a=Do(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),i=Do(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+fw(e);const s=-n.scrollTop;return ni(o).direction==="rtl"&&(l+=Do(r.clientWidth,o.clientWidth)-a),{width:a,height:i,x:l,y:s}}const MV=25;function KMe(e,r){const n=ea(e),o=ts(e),a=n.visualViewport;let i=o.clientWidth,l=o.clientHeight,s=0,c=0;if(a){i=a.width,l=a.height;const d=iw();(!d||d&&r==="fixed")&&(s=a.offsetLeft,c=a.offsetTop)}const u=fw(o);if(u<=0){const d=o.ownerDocument,p=d.body,f=getComputedStyle(p),g=d.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,b=Math.abs(o.clientWidth-p.clientWidth-g);b<=MV&&(i-=b)}else u<=MV&&(i+=u);return{width:i,height:l,x:s,y:c}}const ZMe=new Set(["absolute","fixed"]);function QMe(e,r){const n=Gd(e,!0,r==="fixed"),o=n.top+e.clientTop,a=n.left+e.clientLeft,i=Ra(e)?Rf(e):rs(1),l=e.clientWidth*i.x,s=e.clientHeight*i.y,c=a*i.x,u=o*i.y;return{width:l,height:s,x:c,y:u}}function OV(e,r,n){let o;if(r==="viewport")o=KMe(e,n);else if(r==="document")o=XMe(ts(e));else if(Dr(r))o=QMe(r,n);else{const a=PV(e);o={x:r.x-a.x,y:r.y-a.y,width:r.width,height:r.height}}return Sf(o)}function IV(e,r){const n=Ys(e);return n===r||!Dr(n)||Vs(n)?!1:ni(n).position==="fixed"||IV(n,r)}function JMe(e,r){const n=r.get(e);if(n)return n;let o=Ws(e,[],!1).filter(s=>Dr(s)&&Ef(s)!=="body"),a=null;const i=ni(e).position==="fixed";let l=i?Ys(e):e;for(;Dr(l)&&!Vs(l);){const s=ni(l),c=C9(l);!c&&s.position==="fixed"&&(a=null),(i?!c&&!a:!c&&s.position==="static"&&a&&ZMe.has(a.position)||P0(l)&&!c&&IV(e,l))?o=o.filter(u=>u!==l):a=s,l=Ys(l)}return r.set(e,o),o}function eOe(e){let{element:r,boundary:n,rootBoundary:o,strategy:a}=e;const i=[...n==="clippingAncestors"?aw(r)?[]:JMe(r,this._c):[].concat(n),o],l=i[0],s=i.reduce((c,u)=>{const d=OV(r,u,a);return c.top=Do(d.top,c.top),c.right=el(d.right,c.right),c.bottom=el(d.bottom,c.bottom),c.left=Do(d.left,c.left),c},OV(r,l,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function tOe(e){const{width:r,height:n}=DV(e);return{width:r,height:n}}function rOe(e,r,n){const o=Ra(r),a=ts(r),i=n==="fixed",l=Gd(e,!0,i,r);let s={scrollLeft:0,scrollTop:0};const c=rs(0);function u(){c.x=fw(a)}if(o||!o&&!i)if((Ef(r)!=="body"||P0(a))&&(s=lw(r)),o){const g=Gd(r,!0,i,r);c.x=g.x+r.clientLeft,c.y=g.y+r.clientTop}else a&&u();i&&!o&&a&&u();const d=a&&!o&&!i?$V(a,s):rs(0),p=l.left+s.scrollLeft-c.x-d.x,f=l.top+s.scrollTop-c.y-d.y;return{x:p,y:f,width:l.width,height:l.height}}function I9(e){return ni(e).position==="static"}function LV(e,r){if(!Ra(e)||ni(e).position==="fixed")return null;if(r)return r(e);let n=e.offsetParent;return ts(e)===n&&(n=n.ownerDocument.body),n}function zV(e,r){const n=ea(e);if(aw(e))return n;if(!Ra(e)){let a=Ys(e);for(;a&&!Vs(a);){if(Dr(a)&&!I9(a))return a;a=Ys(a)}return n}let o=LV(e,r);for(;o&&eMe(o)&&I9(o);)o=LV(o,r);return o&&Vs(o)&&I9(o)&&!C9(o)?n:o||aMe(e)||n}const nOe=async function(e){const r=this.getOffsetParent||zV,n=this.getDimensions,o=await n(e.floating);return{reference:rOe(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function oOe(e){return ni(e).direction==="rtl"}const aOe={convertOffsetParentRelativeRectToViewportRelativeRect:WMe,getDocumentElement:ts,getClippingRect:eOe,getOffsetParent:zV,getElementRects:nOe,getClientRects:GMe,getDimensions:tOe,getScale:Rf,isElement:Dr,isRTL:oOe};function BV(e,r){return e.x===r.x&&e.y===r.y&&e.width===r.width&&e.height===r.height}function iOe(e,r){let n=null,o;const a=ts(e);function i(){var s;clearTimeout(o),(s=n)==null||s.disconnect(),n=null}function l(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),i();const u=e.getBoundingClientRect(),{left:d,top:p,width:f,height:g}=u;if(s||r(),!f||!g)return;const b=cw(p),x=cw(a.clientWidth-(d+f)),w=cw(a.clientHeight-(p+g)),k=cw(d),C={rootMargin:-b+"px "+-x+"px "+-w+"px "+-k+"px",threshold:Do(0,el(1,c))||1};let _=!0;function T(R){const A=R[0].intersectionRatio;if(A!==c){if(!_)return l();A?l(!1,A):o=setTimeout(()=>{l(!1,1e-7)},1e3)}A===1&&!BV(u,e.getBoundingClientRect())&&l(),_=!1}try{n=new IntersectionObserver(T,{...C,root:a.ownerDocument})}catch{n=new IntersectionObserver(T,C)}n.observe(e)}return l(!0),i}function mw(e,r,n,o){o===void 0&&(o={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,u=O9(e),d=a||i?[...u?Ws(u):[],...Ws(r)]:[];d.forEach(k=>{a&&k.addEventListener("scroll",n,{passive:!0}),i&&k.addEventListener("resize",n)});const p=u&&s?iOe(u,n):null;let f=-1,g=null;l&&(g=new ResizeObserver(k=>{let[C]=k;C&&C.target===u&&g&&(g.unobserve(r),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var _;(_=g)==null||_.observe(r)})),n()}),u&&!c&&g.observe(u),g.observe(r));let b,x=c?Gd(e):null;c&&w();function w(){const k=Gd(e);x&&!BV(x,k)&&n(),x=k,b=requestAnimationFrame(w)}return n(),()=>{var k;d.forEach(C=>{a&&C.removeEventListener("scroll",n),i&&C.removeEventListener("resize",n)}),p?.(),(k=g)==null||k.disconnect(),g=null,c&&cancelAnimationFrame(b)}}const jV=FMe,lOe=OMe,sOe=HMe,cOe=IMe,FV=UMe,HV=LMe,qV=$Me,uOe=BMe,dOe=qMe,UV=(e,r,n)=>{const o=new Map,a={platform:aOe,...n},i={...a.platform,_c:o};return PMe(e,r,{...a,platform:i})};var pOe=typeof document<"u",hOe=function(){},gw=pOe?E.useLayoutEffect:hOe;function yw(e,r){if(e===r)return!0;if(typeof e!=typeof r)return!1;if(typeof e=="function"&&e.toString()===r.toString())return!0;let n,o,a;if(e&&r&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==r.length)return!1;for(o=n;o--!==0;)if(!yw(e[o],r[o]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(r).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(r,a[o]))return!1;for(o=n;o--!==0;){const i=a[o];if(!(i==="_owner"&&e.$$typeof)&&!yw(e[i],r[i]))return!1}return!0}return e!==e&&r!==r}function VV(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function YV(e,r){const n=VV(e);return Math.round(r*n)/n}function L9(e){const r=E.useRef(e);return gw(()=>{r.current=e}),r}function fOe(e){e===void 0&&(e={});const{placement:r="bottom",strategy:n="absolute",middleware:o=[],platform:a,elements:{reference:i,floating:l}={},transform:s=!0,whileElementsMounted:c,open:u}=e,[d,p]=E.useState({x:0,y:0,strategy:n,placement:r,middlewareData:{},isPositioned:!1}),[f,g]=E.useState(o);yw(f,o)||g(o);const[b,x]=E.useState(null),[w,k]=E.useState(null),C=E.useCallback(V=>{V!==A.current&&(A.current=V,x(V))},[]),_=E.useCallback(V=>{V!==D.current&&(D.current=V,k(V))},[]),T=i||b,R=l||w,A=E.useRef(null),D=E.useRef(null),N=E.useRef(d),$=c!=null,M=L9(c),j=L9(a),L=L9(u),Y=E.useCallback(()=>{if(!A.current||!D.current)return;const V={placement:r,strategy:n,middleware:f};j.current&&(V.platform=j.current),UV(A.current,D.current,V).then(G=>{const F={...G,isPositioned:L.current!==!1};O.current&&!yw(N.current,F)&&(N.current=F,Bi.flushSync(()=>{p(F)}))})},[f,r,n,j,L]);gw(()=>{u===!1&&N.current.isPositioned&&(N.current.isPositioned=!1,p(V=>({...V,isPositioned:!1})))},[u]);const O=E.useRef(!1);gw(()=>(O.current=!0,()=>{O.current=!1}),[]),gw(()=>{if(T&&(A.current=T),R&&(D.current=R),T&&R){if(M.current)return M.current(T,R,Y);Y()}},[T,R,Y,M,$]);const U=E.useMemo(()=>({reference:A,floating:D,setReference:C,setFloating:_}),[C,_]),I=E.useMemo(()=>({reference:T,floating:R}),[T,R]),q=E.useMemo(()=>{const V={position:n,left:0,top:0};if(!I.floating)return V;const G=YV(I.floating,d.x),F=YV(I.floating,d.y);return s?{...V,transform:"translate("+G+"px, "+F+"px)",...VV(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:G,top:F}},[n,s,I.floating,d.x,d.y]);return E.useMemo(()=>({...d,update:Y,refs:U,elements:I,floatingStyles:q}),[d,Y,U,I,q])}const mOe=e=>{function r(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:a}=typeof e=="function"?e(n):e;return o&&r(o)?o.current!=null?qV({element:o.current,padding:a}).fn(n):{}:o?qV({element:o,padding:a}).fn(n):{}}}},WV=(e,r)=>({...jV(e),options:[e,r]}),z9=(e,r)=>({...sOe(e),options:[e,r]}),GV=(e,r)=>({...dOe(e),options:[e,r]}),bw=(e,r)=>({...cOe(e),options:[e,r]}),gOe=(e,r)=>({...FV(e),options:[e,r]}),yOe=(e,r)=>({...HV(e),options:[e,r]}),M0=(e,r)=>({...uOe(e),options:[e,r]}),XV=(e,r)=>({...mOe(e),options:[e,r]});function KV(e){const r=E.useRef(void 0),n=E.useCallback(o=>{const a=e.map(i=>{if(i!=null){if(typeof i=="function"){const l=i,s=l(o);return typeof s=="function"?s:()=>{l(null)}}return i.current=o,()=>{i.current=null}}});return()=>{a.forEach(i=>i?.())}},e);return E.useMemo(()=>e.every(o=>o==null)?null:o=>{r.current&&(r.current(),r.current=void 0),o!=null&&(r.current=n(o))},e)}const bOe="data-floating-ui-focusable",ZV="active",QV="selected",vOe={...Uv};let JV=!1,xOe=0;const eY=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+xOe++;function wOe(){const[e,r]=E.useState(()=>JV?eY():void 0);return ns(()=>{e==null&&r(eY())},[]),E.useEffect(()=>{JV=!0},[]),e}const kOe=vOe.useId,tY=kOe||wOe;function _Oe(){const e=new Map;return{emit(r,n){var o;(o=e.get(r))==null||o.forEach(a=>a(n))},on(r,n){e.has(r)||e.set(r,new Set),e.get(r).add(n)},off(r,n){var o;(o=e.get(r))==null||o.delete(n)}}}const EOe=E.createContext(null),SOe=E.createContext(null),B9=()=>{var e;return((e=E.useContext(EOe))==null?void 0:e.id)||null},j9=()=>E.useContext(SOe);function F9(e){return"data-floating-ui-"+e}function oi(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const rY=F9("safe-polygon");function vw(e,r,n){if(n&&!M9(n))return 0;if(typeof e=="number")return e;if(typeof e=="function"){const o=e();return typeof o=="number"?o:o?.[r]}return e?.[r]}function H9(e){return typeof e=="function"?e():e}function nY(e,r){r===void 0&&(r={});const{open:n,onOpenChange:o,dataRef:a,events:i,elements:l}=e,{enabled:s=!0,delay:c=0,handleClose:u=null,mouseOnly:d=!1,restMs:p=0,move:f=!0}=r,g=j9(),b=B9(),x=hw(u),w=hw(c),k=hw(n),C=hw(p),_=E.useRef(),T=E.useRef(-1),R=E.useRef(),A=E.useRef(-1),D=E.useRef(!0),N=E.useRef(!1),$=E.useRef(()=>{}),M=E.useRef(!1),j=os(()=>{var q;const V=(q=a.current.openEvent)==null?void 0:q.type;return V?.includes("mouse")&&V!=="mousedown"});E.useEffect(()=>{if(!s)return;function q(V){let{open:G}=V;G||(oi(T),oi(A),D.current=!0,M.current=!1)}return i.on("openchange",q),()=>{i.off("openchange",q)}},[s,i]),E.useEffect(()=>{if(!s||!x.current||!n)return;function q(G){j()&&o(!1,G,"hover")}const V=Wd(l.floating).documentElement;return V.addEventListener("mouseleave",q),()=>{V.removeEventListener("mouseleave",q)}},[l.floating,n,o,s,x,j]);const L=E.useCallback(function(q,V,G){V===void 0&&(V=!0),G===void 0&&(G="hover");const F=vw(w.current,"close",_.current);F&&!R.current?(oi(T),T.current=window.setTimeout(()=>o(!1,q,G),F)):V&&(oi(T),o(!1,q,G))},[w,o]),Y=os(()=>{$.current(),R.current=void 0}),O=os(()=>{if(N.current){const q=Wd(l.floating).body;q.style.pointerEvents="",q.removeAttribute(rY),N.current=!1}}),U=os(()=>a.current.openEvent?["click","mousedown"].includes(a.current.openEvent.type):!1);E.useEffect(()=>{if(!s)return;function q(Q){if(oi(T),D.current=!1,d&&!M9(_.current)||H9(C.current)>0&&!vw(w.current,"open"))return;const z=vw(w.current,"open",_.current);z?T.current=window.setTimeout(()=>{k.current||o(!0,Q,"hover")},z):n||o(!0,Q,"hover")}function V(Q){if(U()){O();return}$.current();const z=Wd(l.floating);if(oi(A),M.current=!1,x.current&&a.current.floatingContext){n||oi(T),R.current=x.current({...a.current.floatingContext,tree:g,x:Q.clientX,y:Q.clientY,onClose(){O(),Y(),U()||L(Q,!0,"safe-polygon")}});const W=R.current;z.addEventListener("mousemove",W),$.current=()=>{z.removeEventListener("mousemove",W)};return}(_.current!=="touch"||!$0(l.floating,Q.relatedTarget))&&L(Q)}function G(Q){U()||a.current.floatingContext&&(x.current==null||x.current({...a.current.floatingContext,tree:g,x:Q.clientX,y:Q.clientY,onClose(){O(),Y(),U()||L(Q)}})(Q))}function F(){oi(T)}function J(Q){U()||L(Q,!1)}if(Dr(l.domReference)){const Q=l.domReference,z=l.floating;return n&&Q.addEventListener("mouseleave",G),f&&Q.addEventListener("mousemove",q,{once:!0}),Q.addEventListener("mouseenter",q),Q.addEventListener("mouseleave",V),z&&(z.addEventListener("mouseleave",G),z.addEventListener("mouseenter",F),z.addEventListener("mouseleave",J)),()=>{n&&Q.removeEventListener("mouseleave",G),f&&Q.removeEventListener("mousemove",q),Q.removeEventListener("mouseenter",q),Q.removeEventListener("mouseleave",V),z&&(z.removeEventListener("mouseleave",G),z.removeEventListener("mouseenter",F),z.removeEventListener("mouseleave",J))}}},[l,s,e,d,f,L,Y,O,o,n,k,g,w,x,a,U,C]),ns(()=>{var q;if(s&&n&&(q=x.current)!=null&&(q=q.__options)!=null&&q.blockPointerEvents&&j()){N.current=!0;const G=l.floating;if(Dr(l.domReference)&&G){var V;const F=Wd(l.floating).body;F.setAttribute(rY,"");const J=l.domReference,Q=g==null||(V=g.nodesRef.current.find(z=>z.id===b))==null||(V=V.context)==null?void 0:V.elements.floating;return Q&&(Q.style.pointerEvents=""),F.style.pointerEvents="none",J.style.pointerEvents="auto",G.style.pointerEvents="auto",()=>{F.style.pointerEvents="",J.style.pointerEvents="",G.style.pointerEvents=""}}}},[s,n,b,l,g,x,j]),ns(()=>{n||(_.current=void 0,M.current=!1,Y(),O())},[n,Y,O]),E.useEffect(()=>()=>{Y(),oi(T),oi(A),O()},[s,l.domReference,Y,O]);const I=E.useMemo(()=>{function q(V){_.current=V.pointerType}return{onPointerDown:q,onPointerEnter:q,onMouseMove(V){const{nativeEvent:G}=V;function F(){!D.current&&!k.current&&o(!0,G,"hover")}d&&!M9(_.current)||n||H9(C.current)===0||M.current&&V.movementX**2+V.movementY**2<2||(oi(A),_.current==="touch"?F():(M.current=!0,A.current=window.setTimeout(F,H9(C.current))))}}},[d,o,n,k,C]);return E.useMemo(()=>s?{reference:I}:{},[s,I])}const q9=()=>{},oY=E.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:q9,setState:q9,isInstantPhase:!1}),COe=()=>E.useContext(oY);function aY(e){const{children:r,delay:n,timeoutMs:o=0}=e,[a,i]=E.useReducer((c,u)=>({...c,...u}),{delay:n,timeoutMs:o,initialDelay:n,currentId:null,isInstantPhase:!1}),l=E.useRef(null),s=E.useCallback(c=>{i({currentId:c})},[]);return ns(()=>{a.currentId?l.current===null?l.current=a.currentId:a.isInstantPhase||i({isInstantPhase:!0}):(a.isInstantPhase&&i({isInstantPhase:!1}),l.current=null)},[a.currentId,a.isInstantPhase]),y.jsx(oY.Provider,{value:E.useMemo(()=>({...a,setState:i,setCurrentId:s}),[a,s]),children:r})}function iY(e,r){r===void 0&&(r={});const{open:n,onOpenChange:o,floatingId:a}=e,{id:i,enabled:l=!0}=r,s=i??a,c=COe(),{currentId:u,setCurrentId:d,initialDelay:p,setState:f,timeoutMs:g}=c;return ns(()=>{l&&u&&(f({delay:{open:1,close:vw(p,"close")}}),u!==s&&o(!1))},[l,s,o,f,u,p]),ns(()=>{function b(){o(!1),f({delay:p,currentId:null})}if(l&&u&&!n&&u===s){if(g){const x=window.setTimeout(b,g);return()=>{clearTimeout(x)}}b()}},[l,n,f,u,s,o,p,g]),ns(()=>{l&&(d===q9||!n||d(s))},[l,n,d,s]),c}const TOe={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},ROe={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},lY=e=>{var r,n;return{escapeKey:typeof e=="boolean"?e:(r=e?.escapeKey)!=null?r:!1,outsidePress:typeof e=="boolean"?e:(n=e?.outsidePress)!=null?n:!0}};function sY(e,r){r===void 0&&(r={});const{open:n,onOpenChange:o,elements:a,dataRef:i}=e,{enabled:l=!0,escapeKey:s=!0,outsidePress:c=!0,outsidePressEvent:u="pointerdown",referencePress:d=!1,referencePressEvent:p="pointerdown",ancestorScroll:f=!1,bubbles:g,capture:b}=r,x=j9(),w=os(typeof c=="function"?c:()=>!1),k=typeof c=="function"?w:c,C=E.useRef(!1),{escapeKey:_,outsidePress:T}=lY(g),{escapeKey:R,outsidePress:A}=lY(b),D=E.useRef(!1),N=os(O=>{var U;if(!n||!l||!s||O.key!=="Escape"||D.current)return;const I=(U=i.current.floatingContext)==null?void 0:U.nodeId,q=x?pw(x.nodesRef.current,I):[];if(!_&&(O.stopPropagation(),q.length>0)){let V=!0;if(q.forEach(G=>{var F;if((F=G.context)!=null&&F.open&&!G.context.dataRef.current.__escapeKeyBubbles){V=!1;return}}),!V)return}o(!1,CMe(O)?O.nativeEvent:O,"escape-key")}),$=os(O=>{var U;const I=()=>{var q;N(O),(q=Cf(O))==null||q.removeEventListener("keydown",I)};(U=Cf(O))==null||U.addEventListener("keydown",I)}),M=os(O=>{var U;const I=i.current.insideReactTree;i.current.insideReactTree=!1;const q=C.current;if(C.current=!1,u==="click"&&q||I||typeof k=="function"&&!k(O))return;const V=Cf(O),G="["+F9("inert")+"]",F=Wd(a.floating).querySelectorAll(G);let J=Dr(V)?V:null;for(;J&&!Vs(J);){const X=Ys(J);if(Vs(X)||!Dr(X))break;J=X}if(F.length&&Dr(V)&&!kMe(V)&&!$0(V,a.floating)&&Array.from(F).every(X=>!$0(J,X)))return;if(Ra(V)&&Y){const X=Vs(V),Z=ni(V),oe=/auto|scroll/,ee=X||oe.test(Z.overflowX),re=X||oe.test(Z.overflowY),pe=ee&&V.clientWidth>0&&V.scrollWidth>V.clientWidth,Ce=re&&V.clientHeight>0&&V.scrollHeight>V.clientHeight,ce=Z.direction==="rtl",de=Ce&&(ce?O.offsetX<=V.offsetWidth-V.clientWidth:O.offsetX>V.clientWidth),be=pe&&O.offsetY>V.clientHeight;if(de||be)return}const Q=(U=i.current.floatingContext)==null?void 0:U.nodeId,z=x&&pw(x.nodesRef.current,Q).some(X=>{var Z;return $9(O,(Z=X.context)==null?void 0:Z.elements.floating)});if($9(O,a.floating)||$9(O,a.domReference)||z)return;const W=x?pw(x.nodesRef.current,Q):[];if(W.length>0){let X=!0;if(W.forEach(Z=>{var oe;if((oe=Z.context)!=null&&oe.open&&!Z.context.dataRef.current.__outsidePressBubbles){X=!1;return}}),!X)return}o(!1,O,"outside-press")}),j=os(O=>{var U;const I=()=>{var q;M(O),(q=Cf(O))==null||q.removeEventListener(u,I)};(U=Cf(O))==null||U.addEventListener(u,I)});E.useEffect(()=>{if(!n||!l)return;i.current.__escapeKeyBubbles=_,i.current.__outsidePressBubbles=T;let O=-1;function U(F){o(!1,F,"ancestor-scroll")}function I(){window.clearTimeout(O),D.current=!0}function q(){O=window.setTimeout(()=>{D.current=!1},iw()?5:0)}const V=Wd(a.floating);s&&(V.addEventListener("keydown",R?$:N,R),V.addEventListener("compositionstart",I),V.addEventListener("compositionend",q)),k&&V.addEventListener(u,A?j:M,A);let G=[];return f&&(Dr(a.domReference)&&(G=Ws(a.domReference)),Dr(a.floating)&&(G=G.concat(Ws(a.floating))),!Dr(a.reference)&&a.reference&&a.reference.contextElement&&(G=G.concat(Ws(a.reference.contextElement)))),G=G.filter(F=>{var J;return F!==((J=V.defaultView)==null?void 0:J.visualViewport)}),G.forEach(F=>{F.addEventListener("scroll",U,{passive:!0})}),()=>{s&&(V.removeEventListener("keydown",R?$:N,R),V.removeEventListener("compositionstart",I),V.removeEventListener("compositionend",q)),k&&V.removeEventListener(u,A?j:M,A),G.forEach(F=>{F.removeEventListener("scroll",U)}),window.clearTimeout(O)}},[i,a,s,k,u,n,o,f,l,_,T,N,R,$,M,A,j]),E.useEffect(()=>{i.current.insideReactTree=!1},[i,k,u]);const L=E.useMemo(()=>({onKeyDown:N,...d&&{[TOe[p]]:O=>{o(!1,O.nativeEvent,"reference-press")},...p!=="click"&&{onClick(O){o(!1,O.nativeEvent,"reference-press")}}}}),[N,o,d,p]),Y=E.useMemo(()=>({onKeyDown:N,onMouseDown(){C.current=!0},onMouseUp(){C.current=!0},[ROe[u]]:()=>{i.current.insideReactTree=!0}}),[N,u,i]);return E.useMemo(()=>l?{reference:L,floating:Y}:{},[l,L,Y])}function AOe(e){const{open:r=!1,onOpenChange:n,elements:o}=e,a=tY(),i=E.useRef({}),[l]=E.useState(()=>_Oe()),s=B9()!=null,[c,u]=E.useState(o.reference),d=os((g,b,x)=>{i.current.openEvent=g?b:void 0,l.emit("openchange",{open:g,event:b,reason:x,nested:s}),n?.(g,b,x)}),p=E.useMemo(()=>({setPositionReference:u}),[]),f=E.useMemo(()=>({reference:c||o.reference||null,floating:o.floating||null,domReference:o.reference}),[c,o.reference,o.floating]);return E.useMemo(()=>({dataRef:i,open:r,onOpenChange:d,elements:f,events:l,floatingId:a,refs:p}),[r,d,f,l,a,p])}function xw(e){e===void 0&&(e={});const{nodeId:r}=e,n=AOe({...e,elements:{reference:null,floating:null,...e.elements}}),o=e.rootContext||n,a=o.elements,[i,l]=E.useState(null),[s,c]=E.useState(null),u=a?.domReference||i,d=E.useRef(null),p=j9();ns(()=>{u&&(d.current=u)},[u]);const f=fOe({...e,elements:{...a,...s&&{reference:s}}}),g=E.useCallback(C=>{const _=Dr(C)?{getBoundingClientRect:()=>C.getBoundingClientRect(),getClientRects:()=>C.getClientRects(),contextElement:C}:C;c(_),f.refs.setReference(_)},[f.refs]),b=E.useCallback(C=>{(Dr(C)||C===null)&&(d.current=C,l(C)),(Dr(f.refs.reference.current)||f.refs.reference.current===null||C!==null&&!Dr(C))&&f.refs.setReference(C)},[f.refs]),x=E.useMemo(()=>({...f.refs,setReference:b,setPositionReference:g,domReference:d}),[f.refs,b,g]),w=E.useMemo(()=>({...f.elements,domReference:u}),[f.elements,u]),k=E.useMemo(()=>({...f,...o,refs:x,elements:w,nodeId:r}),[f,x,w,r,o]);return ns(()=>{o.dataRef.current.floatingContext=k;const C=p?.nodesRef.current.find(_=>_.id===r);C&&(C.context=k)}),E.useMemo(()=>({...f,context:k,refs:x,elements:w}),[f,x,w,k])}function U9(){return vMe()&&bMe()}function NOe(e,r){r===void 0&&(r={});const{open:n,onOpenChange:o,events:a,dataRef:i,elements:l}=e,{enabled:s=!0,visibleOnly:c=!0}=r,u=E.useRef(!1),d=E.useRef(-1),p=E.useRef(!0);E.useEffect(()=>{if(!s)return;const g=ea(l.domReference);function b(){!n&&Ra(l.domReference)&&l.domReference===SV(Wd(l.domReference))&&(u.current=!0)}function x(){p.current=!0}function w(){p.current=!1}return g.addEventListener("blur",b),U9()&&(g.addEventListener("keydown",x,!0),g.addEventListener("pointerdown",w,!0)),()=>{g.removeEventListener("blur",b),U9()&&(g.removeEventListener("keydown",x,!0),g.removeEventListener("pointerdown",w,!0))}},[l.domReference,n,s]),E.useEffect(()=>{if(!s)return;function g(b){let{reason:x}=b;(x==="reference-press"||x==="escape-key")&&(u.current=!0)}return a.on("openchange",g),()=>{a.off("openchange",g)}},[a,s]),E.useEffect(()=>()=>{oi(d)},[]);const f=E.useMemo(()=>({onMouseLeave(){u.current=!1},onFocus(g){if(u.current)return;const b=Cf(g.nativeEvent);if(c&&Dr(b)){if(U9()&&!g.relatedTarget){if(!p.current&&!_Me(b))return}else if(!EMe(b))return}o(!0,g.nativeEvent,"focus")},onBlur(g){u.current=!1;const b=g.relatedTarget,x=g.nativeEvent,w=Dr(b)&&b.hasAttribute(F9("focus-guard"))&&b.getAttribute("data-type")==="outside";d.current=window.setTimeout(()=>{var k;const C=SV(l.domReference?l.domReference.ownerDocument:document);!b&&C===l.domReference||$0((k=i.current.floatingContext)==null?void 0:k.refs.floating.current,C)||$0(l.domReference,C)||w||o(!1,x,"focus")})}}),[i,l.domReference,o,c]);return E.useMemo(()=>s?{reference:f}:{},[s,f])}function V9(e,r,n){const o=new Map,a=n==="item";let i=e;if(a&&e){const{[ZV]:l,[QV]:s,...c}=e;i=c}return{...n==="floating"&&{tabIndex:-1,[bOe]:""},...i,...r.map(l=>{const s=l?l[n]:null;return typeof s=="function"?e?s(e):null:s}).concat(e).reduce((l,s)=>(s&&Object.entries(s).forEach(c=>{let[u,d]=c;if(!(a&&[ZV,QV].includes(u)))if(u.indexOf("on")===0){if(o.has(u)||o.set(u,[]),typeof d=="function"){var p;(p=o.get(u))==null||p.push(d),l[u]=function(){for(var f,g=arguments.length,b=new Array(g),x=0;xw(...b)).find(w=>w!==void 0)}}}else l[u]=d}),l),{})}}function cY(e){e===void 0&&(e=[]);const r=e.map(s=>s?.reference),n=e.map(s=>s?.floating),o=e.map(s=>s?.item),a=E.useCallback(s=>V9(s,e,"reference"),r),i=E.useCallback(s=>V9(s,e,"floating"),n),l=E.useCallback(s=>V9(s,e,"item"),o);return E.useMemo(()=>({getReferenceProps:a,getFloatingProps:i,getItemProps:l}),[a,i,l])}const DOe=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function uY(e,r){var n,o;r===void 0&&(r={});const{open:a,elements:i,floatingId:l}=e,{enabled:s=!0,role:c="dialog"}=r,u=tY(),d=((n=i.domReference)==null?void 0:n.id)||u,p=E.useMemo(()=>{var k;return((k=SMe(i.floating))==null?void 0:k.id)||l},[i.floating,l]),f=(o=DOe.get(c))!=null?o:c,g=B9()!=null,b=E.useMemo(()=>f==="tooltip"||c==="label"?{["aria-"+(c==="label"?"labelledby":"describedby")]:a?p:void 0}:{"aria-expanded":a?"true":"false","aria-haspopup":f==="alertdialog"?"dialog":f,"aria-controls":a?p:void 0,...f==="listbox"&&{role:"combobox"},...f==="menu"&&{id:d},...f==="menu"&&g&&{role:"menuitem"},...c==="select"&&{"aria-autocomplete":"none"},...c==="combobox"&&{"aria-autocomplete":"list"}},[f,p,g,a,d,c]),x=E.useMemo(()=>{const k={id:p,...f&&{role:f}};return f==="tooltip"||c==="label"?k:{...k,...f==="menu"&&{"aria-labelledby":d}}},[f,p,d,c]),w=E.useCallback(k=>{let{active:C,selected:_}=k;const T={role:"option",...C&&{id:p+"-fui-option"}};switch(c){case"select":case"combobox":return{...T,"aria-selected":_}}return{}},[p,c]);return E.useMemo(()=>s?{reference:b,floating:x,item:w}:{},[s,b,x,w])}const[POe,ai]=ri("ScrollArea.Root component was not found in tree");function Af(e,r){const n=it(r);A0(()=>{let o=0;if(e){const a=new ResizeObserver(()=>{cancelAnimationFrame(o),o=window.requestAnimationFrame(n)});return a.observe(e),()=>{window.cancelAnimationFrame(o),a.unobserve(e)}}},[e,n])}const $Oe=E.forwardRef((e,r)=>{const{style:n,...o}=e,a=ai(),[i,l]=E.useState(0),[s,c]=E.useState(0),u=!!(i&&s);return Af(a.scrollbarX,()=>{const d=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(d),c(d)}),Af(a.scrollbarY,()=>{const d=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(d),l(d)}),u?y.jsx("div",{...o,ref:r,style:{...n,width:i,height:s}}):null}),MOe=E.forwardRef((e,r)=>{const n=ai(),o=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&o?y.jsx($Oe,{...e,ref:r}):null}),OOe={scrollHideDelay:1e3,type:"hover"},dY=E.forwardRef((e,r)=>{const{type:n,scrollHideDelay:o,scrollbars:a,getStyles:i,...l}=ze("ScrollAreaRoot",OOe,e),[s,c]=E.useState(null),[u,d]=E.useState(null),[p,f]=E.useState(null),[g,b]=E.useState(null),[x,w]=E.useState(null),[k,C]=E.useState(0),[_,T]=E.useState(0),[R,A]=E.useState(!1),[D,N]=E.useState(!1),$=Nr(r,M=>c(M));return y.jsx(POe,{value:{type:n,scrollHideDelay:o,scrollArea:s,viewport:u,onViewportChange:d,content:p,onContentChange:f,scrollbarX:g,onScrollbarXChange:b,scrollbarXEnabled:R,onScrollbarXEnabledChange:A,scrollbarY:x,onScrollbarYChange:w,scrollbarYEnabled:D,onScrollbarYEnabledChange:N,onCornerWidthChange:C,onCornerHeightChange:T,getStyles:i},children:y.jsx(Se,{...l,ref:$,__vars:{"--sa-corner-width":a!=="xy"?"0px":`${k}px`,"--sa-corner-height":a!=="xy"?"0px":`${_}px`}})})});dY.displayName="@mantine/core/ScrollAreaRoot";function pY(e,r){const n=e/r;return Number.isNaN(n)?0:n}function ww(e){const r=pY(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,o=(e.scrollbar.size-n)*r;return Math.max(o,18)}function hY(e,r){return n=>{if(e[0]===e[1]||r[0]===r[1])return r[0];const o=(r[1]-r[0])/(e[1]-e[0]);return r[0]+o*(n-e[0])}}function IOe(e,[r,n]){return Math.min(n,Math.max(r,e))}function fY(e,r,n="ltr"){const o=ww(r),a=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,i=r.scrollbar.size-a,l=r.content-r.viewport,s=i-o,c=n==="ltr"?[0,l]:[l*-1,0],u=IOe(e,c);return hY([0,l],[0,s])(u)}function LOe(e,r,n,o="ltr"){const a=ww(n),i=a/2,l=r||i,s=a-l,c=n.scrollbar.paddingStart+l,u=n.scrollbar.size-n.scrollbar.paddingEnd-s,d=n.content-n.viewport,p=o==="ltr"?[0,d]:[d*-1,0];return hY([c,u],p)(e)}function mY(e,r){return e>0&&e{e?.(o),(n===!1||!o.defaultPrevented)&&r?.(o)}}const[zOe,gY]=ri("ScrollAreaScrollbar was not found in tree"),yY=E.forwardRef((e,r)=>{const{sizes:n,hasThumb:o,onThumbChange:a,onThumbPointerUp:i,onThumbPointerDown:l,onThumbPositionChange:s,onDragScroll:c,onWheelScroll:u,onResize:d,...p}=e,f=ai(),[g,b]=E.useState(null),x=Nr(r,N=>b(N)),w=E.useRef(null),k=E.useRef(""),{viewport:C}=f,_=n.content-n.viewport,T=it(u),R=it(s),A=vf(d,10),D=N=>{if(w.current){const $=N.clientX-w.current.left,M=N.clientY-w.current.top;c({x:$,y:M})}};return E.useEffect(()=>{const N=$=>{const M=$.target;g?.contains(M)&&T($,_)};return document.addEventListener("wheel",N,{passive:!1}),()=>document.removeEventListener("wheel",N,{passive:!1})},[C,g,_,T]),E.useEffect(R,[n,R]),Af(g,A),Af(f.content,A),y.jsx(zOe,{value:{scrollbar:g,hasThumb:o,onThumbChange:it(a),onThumbPointerUp:it(i),onThumbPositionChange:R,onThumbPointerDown:it(l)},children:y.jsx("div",{...p,ref:x,"data-mantine-scrollbar":!0,style:{position:"absolute",...p.style},onPointerDown:Xd(e.onPointerDown,N=>{N.preventDefault(),N.button===0&&(N.target.setPointerCapture(N.pointerId),w.current=g.getBoundingClientRect(),k.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",D(N))}),onPointerMove:Xd(e.onPointerMove,D),onPointerUp:Xd(e.onPointerUp,N=>{const $=N.target;$.hasPointerCapture(N.pointerId)&&(N.preventDefault(),$.releasePointerCapture(N.pointerId))}),onLostPointerCapture:()=>{document.body.style.webkitUserSelect=k.current,w.current=null}})})}),bY=E.forwardRef((e,r)=>{const{sizes:n,onSizesChange:o,style:a,...i}=e,l=ai(),[s,c]=E.useState(),u=E.useRef(null),d=Nr(r,u,l.onScrollbarXChange);return E.useEffect(()=>{u.current&&c(getComputedStyle(u.current))},[u]),y.jsx(yY,{"data-orientation":"horizontal",...i,ref:d,sizes:n,style:{...a,"--sa-thumb-width":`${ww(n)}px`},onThumbPointerDown:p=>e.onThumbPointerDown(p.x),onDragScroll:p=>e.onDragScroll(p.x),onWheelScroll:(p,f)=>{if(l.viewport){const g=l.viewport.scrollLeft+p.deltaX;e.onWheelScroll(g),mY(g,f)&&p.preventDefault()}},onResize:()=>{u.current&&l.viewport&&s&&o({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:pu(s.paddingLeft),paddingEnd:pu(s.paddingRight)}})}})});bY.displayName="@mantine/core/ScrollAreaScrollbarX";const vY=E.forwardRef((e,r)=>{const{sizes:n,onSizesChange:o,style:a,...i}=e,l=ai(),[s,c]=E.useState(),u=E.useRef(null),d=Nr(r,u,l.onScrollbarYChange);return E.useEffect(()=>{u.current&&c(window.getComputedStyle(u.current))},[]),y.jsx(yY,{...i,"data-orientation":"vertical",ref:d,sizes:n,style:{"--sa-thumb-height":`${ww(n)}px`,...a},onThumbPointerDown:p=>e.onThumbPointerDown(p.y),onDragScroll:p=>e.onDragScroll(p.y),onWheelScroll:(p,f)=>{if(l.viewport){const g=l.viewport.scrollTop+p.deltaY;e.onWheelScroll(g),mY(g,f)&&p.preventDefault()}},onResize:()=>{u.current&&l.viewport&&s&&o({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:pu(s.paddingTop),paddingEnd:pu(s.paddingBottom)}})}})});vY.displayName="@mantine/core/ScrollAreaScrollbarY";const kw=E.forwardRef((e,r)=>{const{orientation:n="vertical",...o}=e,{dir:a}=du(),i=ai(),l=E.useRef(null),s=E.useRef(0),[c,u]=E.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=pY(c.viewport,c.content),p={...o,sizes:c,onSizesChange:u,hasThumb:d>0&&d<1,onThumbChange:g=>{l.current=g},onThumbPointerUp:()=>{s.current=0},onThumbPointerDown:g=>{s.current=g}},f=(g,b)=>LOe(g,s.current,c,b);return n==="horizontal"?y.jsx(bY,{...p,ref:r,onThumbPositionChange:()=>{if(i.viewport&&l.current){const g=i.viewport.scrollLeft,b=fY(g,c,a);l.current.style.transform=`translate3d(${b}px, 0, 0)`}},onWheelScroll:g=>{i.viewport&&(i.viewport.scrollLeft=g)},onDragScroll:g=>{i.viewport&&(i.viewport.scrollLeft=f(g,a))}}):n==="vertical"?y.jsx(vY,{...p,ref:r,onThumbPositionChange:()=>{if(i.viewport&&l.current){const g=i.viewport.scrollTop,b=fY(g,c);c.scrollbar.size===0?l.current.style.setProperty("--thumb-opacity","0"):l.current.style.setProperty("--thumb-opacity","1"),l.current.style.transform=`translate3d(0, ${b}px, 0)`}},onWheelScroll:g=>{i.viewport&&(i.viewport.scrollTop=g)},onDragScroll:g=>{i.viewport&&(i.viewport.scrollTop=f(g))}}):null});kw.displayName="@mantine/core/ScrollAreaScrollbarVisible";const Y9=E.forwardRef((e,r)=>{const n=ai(),{forceMount:o,...a}=e,[i,l]=E.useState(!1),s=e.orientation==="horizontal",c=vf(()=>{if(n.viewport){const u=n.viewport.offsetWidth{const{forceMount:n,...o}=e,a=ai(),[i,l]=E.useState(!1);return E.useEffect(()=>{const{scrollArea:s}=a;let c=0;if(s){const u=()=>{window.clearTimeout(c),l(!0)},d=()=>{c=window.setTimeout(()=>l(!1),a.scrollHideDelay)};return s.addEventListener("pointerenter",u),s.addEventListener("pointerleave",d),()=>{window.clearTimeout(c),s.removeEventListener("pointerenter",u),s.removeEventListener("pointerleave",d)}}},[a.scrollArea,a.scrollHideDelay]),n||i?y.jsx(Y9,{"data-state":i?"visible":"hidden",...o,ref:r}):null});xY.displayName="@mantine/core/ScrollAreaScrollbarHover";const BOe=E.forwardRef((e,r)=>{const{forceMount:n,...o}=e,a=ai(),i=e.orientation==="horizontal",[l,s]=E.useState("hidden"),c=vf(()=>s("idle"),100);return E.useEffect(()=>{if(l==="idle"){const u=window.setTimeout(()=>s("hidden"),a.scrollHideDelay);return()=>window.clearTimeout(u)}},[l,a.scrollHideDelay]),E.useEffect(()=>{const{viewport:u}=a,d=i?"scrollLeft":"scrollTop";if(u){let p=u[d];const f=()=>{const g=u[d];p!==g&&(s("scrolling"),c()),p=g};return u.addEventListener("scroll",f),()=>u.removeEventListener("scroll",f)}},[a.viewport,i,c]),n||l!=="hidden"?y.jsx(kw,{"data-state":l==="hidden"?"hidden":"visible",...o,ref:r,onPointerEnter:Xd(e.onPointerEnter,()=>s("interacting")),onPointerLeave:Xd(e.onPointerLeave,()=>s("idle"))}):null}),W9=E.forwardRef((e,r)=>{const{forceMount:n,...o}=e,a=ai(),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:l}=a,s=e.orientation==="horizontal";return E.useEffect(()=>(s?i(!0):l(!0),()=>{s?i(!1):l(!1)}),[s,i,l]),a.type==="hover"?y.jsx(xY,{...o,ref:r,forceMount:n}):a.type==="scroll"?y.jsx(BOe,{...o,ref:r,forceMount:n}):a.type==="auto"?y.jsx(Y9,{...o,ref:r,forceMount:n}):a.type==="always"?y.jsx(kw,{...o,ref:r}):null});W9.displayName="@mantine/core/ScrollAreaScrollbar";function jOe(e,r=()=>{}){let n={left:e.scrollLeft,top:e.scrollTop},o=0;return(function a(){const i={left:e.scrollLeft,top:e.scrollTop},l=n.left!==i.left,s=n.top!==i.top;(l||s)&&r(),n=i,o=window.requestAnimationFrame(a)})(),()=>window.cancelAnimationFrame(o)}const wY=E.forwardRef((e,r)=>{const{style:n,...o}=e,a=ai(),i=gY(),{onThumbPositionChange:l}=i,s=Nr(r,d=>i.onThumbChange(d)),c=E.useRef(void 0),u=vf(()=>{c.current&&(c.current(),c.current=void 0)},100);return E.useEffect(()=>{const{viewport:d}=a;if(d){const p=()=>{if(u(),!c.current){const f=jOe(d,l);c.current=f,l()}};return l(),d.addEventListener("scroll",p),()=>d.removeEventListener("scroll",p)}},[a.viewport,u,l]),y.jsx("div",{"data-state":i.hasThumb?"visible":"hidden",...o,ref:s,style:{width:"var(--sa-thumb-width)",height:"var(--sa-thumb-height)",...n},onPointerDownCapture:Xd(e.onPointerDownCapture,d=>{const p=d.target.getBoundingClientRect(),f=d.clientX-p.left,g=d.clientY-p.top;i.onThumbPointerDown({x:f,y:g})}),onPointerUp:Xd(e.onPointerUp,i.onThumbPointerUp)})});wY.displayName="@mantine/core/ScrollAreaThumb";const G9=E.forwardRef((e,r)=>{const{forceMount:n,...o}=e,a=gY();return n||a.hasThumb?y.jsx(wY,{ref:r,...o}):null});G9.displayName="@mantine/core/ScrollAreaThumb";const kY=E.forwardRef(({children:e,style:r,...n},o)=>{const a=ai(),i=Nr(o,a.onViewportChange);return y.jsx(Se,{...n,ref:i,style:{overflowX:a.scrollbarXEnabled?"scroll":"hidden",overflowY:a.scrollbarYEnabled?"scroll":"hidden",...r},children:y.jsx("div",{...a.getStyles("content"),ref:a.onContentChange,children:e})})});kY.displayName="@mantine/core/ScrollAreaViewport";var X9={root:"m_d57069b5",content:"m_b1336c6",viewport:"m_c0783ff9",viewportInner:"m_f8f631dd",scrollbar:"m_c44ba933",thumb:"m_d8b5e363",corner:"m_21657268"};const _Y={scrollHideDelay:1e3,type:"hover",scrollbars:"xy"},FOe=(e,{scrollbarSize:r,overscrollBehavior:n})=>({root:{"--scrollarea-scrollbar-size":Ae(r),"--scrollarea-over-scroll-behavior":n}}),ol=lt((e,r)=>{const n=ze("ScrollArea",_Y,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,scrollbarSize:c,vars:u,type:d,scrollHideDelay:p,viewportProps:f,viewportRef:g,onScrollPositionChange:b,children:x,offsetScrollbars:w,scrollbars:k,onBottomReached:C,onTopReached:_,overscrollBehavior:T,attributes:R,...A}=n,[D,N]=E.useState(!1),[$,M]=E.useState(!1),[j,L]=E.useState(!1),Y=bt({name:"ScrollArea",props:n,classes:X9,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:R,vars:u,varsResolver:FOe}),O=E.useRef(null),U=KV([g,O]);return E.useEffect(()=>{if(!O.current||w!=="present")return;const I=O.current,q=new ResizeObserver(()=>{const{scrollHeight:V,clientHeight:G,scrollWidth:F,clientWidth:J}=I;M(V>G),L(F>J)});return q.observe(I),()=>q.disconnect()},[O,w]),y.jsxs(dY,{getStyles:Y,type:d==="never"?"always":d,scrollHideDelay:p,ref:r,scrollbars:k,...Y("root"),...A,children:[y.jsx(kY,{...f,...Y("viewport",{style:f?.style}),ref:U,"data-offset-scrollbars":w===!0?"xy":w||void 0,"data-scrollbars":k||void 0,"data-horizontal-hidden":w==="present"&&!j?"true":void 0,"data-vertical-hidden":w==="present"&&!$?"true":void 0,onScroll:I=>{f?.onScroll?.(I),b?.({x:I.currentTarget.scrollLeft,y:I.currentTarget.scrollTop});const{scrollTop:q,scrollHeight:V,clientHeight:G}=I.currentTarget;q-(V-G)>=-.6&&C?.(),q===0&&_?.()},children:x}),(k==="xy"||k==="x")&&y.jsx(W9,{...Y("scrollbar"),orientation:"horizontal","data-hidden":d==="never"||w==="present"&&!j?!0:void 0,forceMount:!0,onMouseEnter:()=>N(!0),onMouseLeave:()=>N(!1),children:y.jsx(G9,{...Y("thumb")})}),(k==="xy"||k==="y")&&y.jsx(W9,{...Y("scrollbar"),orientation:"vertical","data-hidden":d==="never"||w==="present"&&!$?!0:void 0,forceMount:!0,onMouseEnter:()=>N(!0),onMouseLeave:()=>N(!1),children:y.jsx(G9,{...Y("thumb")})}),y.jsx(MOe,{...Y("corner"),"data-hovered":D||void 0,"data-hidden":d==="never"||void 0})]})});ol.displayName="@mantine/core/ScrollArea";const ta=lt((e,r)=>{const{children:n,classNames:o,styles:a,scrollbarSize:i,scrollHideDelay:l,type:s,dir:c,offsetScrollbars:u,viewportRef:d,onScrollPositionChange:p,unstyled:f,variant:g,viewportProps:b,scrollbars:x,style:w,vars:k,onBottomReached:C,onTopReached:_,onOverflowChange:T,...R}=ze("ScrollAreaAutosize",_Y,e),A=E.useRef(null),D=KV([d,A]),[N,$]=E.useState(!1),M=E.useRef(!1);return E.useEffect(()=>{if(!T)return;const j=A.current;if(!j)return;const L=()=>{const O=j.scrollHeight>j.clientHeight;O!==N&&(M.current?T?.(O):(M.current=!0,O&&T?.(!0)),$(O))};L();const Y=new ResizeObserver(L);return Y.observe(j),()=>Y.disconnect()},[T,N]),y.jsx(Se,{...R,ref:r,style:[{display:"flex",overflow:"hidden"},w],children:y.jsx(Se,{style:{display:"flex",flexDirection:"column",flex:1,overflow:"hidden",...x==="y"&&{minWidth:0},...x==="x"&&{minHeight:0},...x==="xy"&&{minWidth:0,minHeight:0},...x===!1&&{minWidth:0,minHeight:0}},children:y.jsx(ol,{classNames:o,styles:a,scrollHideDelay:l,scrollbarSize:i,type:s,dir:c,offsetScrollbars:u,viewportRef:D,onScrollPositionChange:p,unstyled:f,variant:g,viewportProps:b,vars:k,scrollbars:x,onBottomReached:C,onTopReached:_,"data-autosize":"true",children:n})})})});ol.classes=X9,ta.displayName="@mantine/core/ScrollAreaAutosize",ta.classes=X9,ol.Autosize=ta;var EY={root:"m_87cf2631"};const HOe={__staticSelector:"UnstyledButton"},Pr=Xn((e,r)=>{const n=ze("UnstyledButton",HOe,e),{className:o,component:a="button",__staticSelector:i,unstyled:l,classNames:s,styles:c,style:u,attributes:d,...p}=n,f=bt({name:i,props:n,classes:EY,className:o,style:u,classNames:s,styles:c,unstyled:l,attributes:d});return y.jsx(Se,{...f("root",{focusable:!0}),component:a,ref:r,type:a==="button"?"button":void 0,...p})});Pr.classes=EY,Pr.displayName="@mantine/core/UnstyledButton";var SY={root:"m_515a97f8"};const _w=lt((e,r)=>{const n=ze("VisuallyHidden",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,attributes:u,...d}=n,p=bt({name:"VisuallyHidden",classes:SY,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:u});return y.jsx(Se,{component:"span",ref:r,...p("root"),...d})});_w.classes=SY,_w.displayName="@mantine/core/VisuallyHidden";var CY={root:"m_1b7284a3"};const qOe=(e,{radius:r,shadow:n})=>({root:{"--paper-radius":r===void 0?void 0:bn(r),"--paper-shadow":AU(n)}}),Nf=Xn((e,r)=>{const n=ze("Paper",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,withBorder:c,vars:u,radius:d,shadow:p,variant:f,mod:g,attributes:b,...x}=n,w=bt({name:"Paper",props:n,classes:CY,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:b,vars:u,varsResolver:qOe});return y.jsx(Se,{ref:r,mod:[{"data-with-border":c},g],...w("root"),variant:f,...x})});Nf.classes=CY,Nf.displayName="@mantine/core/Paper";function TY(e,r,n,o){return e==="center"||o==="center"?{top:r}:e==="end"?{bottom:n}:e==="start"?{top:n}:{}}function RY(e,r,n,o,a){return e==="center"||o==="center"?{left:r}:e==="end"?{[a==="ltr"?"right":"left"]:n}:e==="start"?{[a==="ltr"?"left":"right"]:n}:{}}const UOe={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"};function VOe({position:e,arrowSize:r,arrowOffset:n,arrowRadius:o,arrowPosition:a,arrowX:i,arrowY:l,dir:s}){const[c,u="center"]=e.split("-"),d={width:r,height:r,transform:"rotate(45deg)",position:"absolute",[UOe[c]]:o},p=-r/2;return c==="left"?{...d,...TY(u,l,n,a),right:p,borderLeftColor:"transparent",borderBottomColor:"transparent",clipPath:"polygon(100% 0, 0 0, 100% 100%)"}:c==="right"?{...d,...TY(u,l,n,a),left:p,borderRightColor:"transparent",borderTopColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 100%)"}:c==="top"?{...d,...RY(u,i,n,a,s),bottom:p,borderTopColor:"transparent",borderLeftColor:"transparent",clipPath:"polygon(0 100%, 100% 100%, 100% 0)"}:c==="bottom"?{...d,...RY(u,i,n,a,s),top:p,borderBottomColor:"transparent",borderRightColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 0)"}:{}}const Ew=E.forwardRef(({position:e,arrowSize:r,arrowOffset:n,arrowRadius:o,arrowPosition:a,visible:i,arrowX:l,arrowY:s,style:c,...u},d)=>{const{dir:p}=du();return i?y.jsx("div",{...u,ref:d,style:{...c,...VOe({position:e,arrowSize:r,arrowOffset:n,arrowRadius:o,arrowPosition:a,dir:p,arrowX:l,arrowY:s})}}):null});Ew.displayName="@mantine/core/FloatingArrow";function AY(e,r){if(e==="rtl"&&(r.includes("right")||r.includes("left"))){const[n,o]=r.split("-"),a=n==="right"?"left":"right";return o===void 0?a:`${a}-${o}`}return r}var NY={root:"m_9814e45f"};const YOe={zIndex:Yx("modal")},WOe=(e,{gradient:r,color:n,backgroundOpacity:o,blur:a,radius:i,zIndex:l})=>({root:{"--overlay-bg":r||(n!==void 0||o!==void 0)&&es(n||"#000",o??.6)||void 0,"--overlay-filter":a?`blur(${Ae(a)})`:void 0,"--overlay-radius":i===void 0?void 0:bn(i),"--overlay-z-index":l?.toString()}}),K9=Xn((e,r)=>{const n=ze("Overlay",YOe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,fixed:u,center:d,children:p,radius:f,zIndex:g,gradient:b,blur:x,color:w,backgroundOpacity:k,mod:C,attributes:_,...T}=n,R=bt({name:"Overlay",props:n,classes:NY,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:_,vars:c,varsResolver:WOe});return y.jsx(Se,{ref:r,...R("root"),mod:[{center:d,fixed:u},C],...T,children:p})});K9.classes=NY,K9.displayName="@mantine/core/Overlay";function Z9(e){const r=document.createElement("div");return r.setAttribute("data-portal","true"),typeof e.className=="string"&&r.classList.add(...e.className.split(" ").filter(Boolean)),typeof e.style=="object"&&Object.assign(r.style,e.style),typeof e.id=="string"&&r.setAttribute("id",e.id),r}function GOe({target:e,reuseTargetNode:r,...n}){if(e)return typeof e=="string"?document.querySelector(e)||Z9(n):e;if(r){const o=document.querySelector("[data-mantine-shared-portal-node]");if(o)return o;const a=Z9(n);return a.setAttribute("data-mantine-shared-portal-node","true"),document.body.appendChild(a),a}return Z9(n)}const XOe={reuseTargetNode:!0},O0=lt((e,r)=>{const{children:n,target:o,reuseTargetNode:a,...i}=ze("Portal",XOe,e),[l,s]=E.useState(!1),c=E.useRef(null);return A0(()=>(s(!0),c.current=GOe({target:o,reuseTargetNode:a,...i}),n9(r,c.current),!o&&!a&&c.current&&document.body.appendChild(c.current),()=>{!o&&!a&&c.current&&document.body.removeChild(c.current)}),[o]),!l||!c.current?null:Bi.createPortal(y.jsx(y.Fragment,{children:n}),c.current)});O0.displayName="@mantine/core/Portal";const Df=lt(({withinPortal:e=!0,children:r,...n},o)=>Qx()==="test"||!e?y.jsx(y.Fragment,{children:r}):y.jsx(O0,{ref:o,...n,children:r}));Df.displayName="@mantine/core/OptionalPortal";const I0=e=>({in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${e==="bottom"?10:-10}px)`},transitionProperty:"transform, opacity"}),Sw={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},"fade-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(30px)"},transitionProperty:"opacity, transform"},"fade-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-30px)"},transitionProperty:"opacity, transform"},"fade-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(30px)"},transitionProperty:"opacity, transform"},"fade-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-30px)"},transitionProperty:"opacity, transform"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(-20px) skew(-10deg, -5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(20px) skew(-10deg, -5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(-5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:{...I0("bottom"),common:{transformOrigin:"center center"}},"pop-bottom-left":{...I0("bottom"),common:{transformOrigin:"bottom left"}},"pop-bottom-right":{...I0("bottom"),common:{transformOrigin:"bottom right"}},"pop-top-left":{...I0("top"),common:{transformOrigin:"top left"}},"pop-top-right":{...I0("top"),common:{transformOrigin:"top right"}}},DY={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function KOe({transition:e,state:r,duration:n,timingFunction:o}){const a={WebkitBackfaceVisibility:"hidden",willChange:"transform, opacity",transitionDuration:`${n}ms`,transitionTimingFunction:o};return typeof e=="string"?e in Sw?{transitionProperty:Sw[e].transitionProperty,...a,...Sw[e].common,...Sw[e][DY[r]]}:{}:{transitionProperty:e.transitionProperty,...a,...e.common,...e[DY[r]]}}function ZOe({duration:e,exitDuration:r,timingFunction:n,mounted:o,onEnter:a,onExit:i,onEntered:l,onExited:s,enterDelay:c,exitDelay:u}){const d=po(),p=FU(),f=d.respectReducedMotion?p:!1,[g,b]=E.useState(f?0:e),[x,w]=E.useState(o?"entered":"exited"),k=E.useRef(-1),C=E.useRef(-1),_=E.useRef(-1);function T(){window.clearTimeout(k.current),window.clearTimeout(C.current),cancelAnimationFrame(_.current)}const R=D=>{T();const N=D?a:i,$=D?l:s,M=f?0:D?e:r;b(M),M===0?(typeof N=="function"&&N(),typeof $=="function"&&$(),w(D?"entered":"exited")):_.current=requestAnimationFrame(()=>{TO.flushSync(()=>{w(D?"pre-entering":"pre-exiting")}),_.current=requestAnimationFrame(()=>{typeof N=="function"&&N(),w(D?"entering":"exiting"),k.current=window.setTimeout(()=>{typeof $=="function"&&$(),w(D?"entered":"exited")},M)})})},A=D=>{if(T(),typeof(D?c:u)!="number"){R(D);return}C.current=window.setTimeout(()=>{R(D)},D?c:u)};return Vd(()=>{A(o)},[o]),E.useEffect(()=>()=>{T()},[]),{transitionDuration:g,transitionStatus:x,transitionTimingFunction:n||"ease"}}function hu({keepMounted:e,transition:r="fade",duration:n=250,exitDuration:o=n,mounted:a,children:i,timingFunction:l="ease",onExit:s,onEntered:c,onEnter:u,onExited:d,enterDelay:p,exitDelay:f}){const g=Qx(),{transitionDuration:b,transitionStatus:x,transitionTimingFunction:w}=ZOe({mounted:a,exitDuration:o,duration:n,timingFunction:l,onExit:s,onEntered:c,onEnter:u,onExited:d,enterDelay:p,exitDelay:f});return b===0||g==="test"?a?y.jsx(y.Fragment,{children:i({})}):e?i({display:"none"}):null:x==="exited"?e?i({display:"none"}):null:y.jsx(y.Fragment,{children:i(KOe({transition:r,duration:b,state:x,timingFunction:w}))})}hu.displayName="@mantine/core/Transition";const[QOe,PY]=ri("Popover component was not found in the tree");function Cw({children:e,active:r=!0,refProp:n="ref",innerRef:o}){const a=LU(r),i=Nr(a,o);return Qi(e)?E.cloneElement(e,{[n]:i}):e}function $Y(e){return y.jsx(_w,{tabIndex:-1,"data-autofocus":!0,...e})}Cw.displayName="@mantine/core/FocusTrap",$Y.displayName="@mantine/core/FocusTrapInitialFocus",Cw.InitialFocus=$Y;var MY={dropdown:"m_38a85659",arrow:"m_a31dc6c1",overlay:"m_3d7bc908"};const Gs=lt((e,r)=>{const n=ze("PopoverDropdown",null,e),{className:o,style:a,vars:i,children:l,onKeyDownCapture:s,variant:c,classNames:u,styles:d,...p}=n,f=PY(),g=iPe({opened:f.opened,shouldReturnFocus:f.returnFocus}),b=f.withRoles?{"aria-labelledby":f.getTargetId(),id:f.getDropdownId(),role:"dialog",tabIndex:-1}:{},x=Nr(r,f.floating);return f.disabled?null:y.jsx(Df,{...f.portalProps,withinPortal:f.withinPortal,children:y.jsx(hu,{mounted:f.opened,...f.transitionProps,transition:f.transitionProps?.transition||"fade",duration:f.transitionProps?.duration??150,keepMounted:f.keepMounted,exitDuration:typeof f.transitionProps?.exitDuration=="number"?f.transitionProps.exitDuration:f.transitionProps?.duration,children:w=>y.jsx(Cw,{active:f.trapFocus&&f.opened,innerRef:x,children:y.jsxs(Se,{...b,...p,variant:c,onKeyDownCapture:KDe(()=>{f.onClose?.(),f.onDismiss?.()},{active:f.closeOnEscape,onTrigger:g,onKeyDown:s}),"data-position":f.placement,"data-fixed":f.floatingStrategy==="fixed"||void 0,...f.getStyles("dropdown",{className:o,props:n,classNames:u,styles:d,style:[{...w,zIndex:f.zIndex,top:f.y??0,left:f.x??0,width:f.width==="target"?void 0:Ae(f.width),...f.referenceHidden?{display:"none"}:null},f.resolvedStyles.dropdown,d?.dropdown,a]}),children:[l,y.jsx(Ew,{ref:f.arrowRef,arrowX:f.arrowX,arrowY:f.arrowY,visible:f.withArrow,position:f.placement,arrowSize:f.arrowSize,arrowRadius:f.arrowRadius,arrowOffset:f.arrowOffset,arrowPosition:f.arrowPosition,...f.getStyles("arrow",{props:n,classNames:u,styles:d})})]})})})})});Gs.classes=MY,Gs.displayName="@mantine/core/PopoverDropdown";const JOe={refProp:"ref",popupType:"dialog"},fu=lt((e,r)=>{const{children:n,refProp:o,popupType:a,...i}=ze("PopoverTarget",JOe,e);if(!Qi(n))throw new Error("Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const l=i,s=PY(),c=Nr(s.reference,Gx(n),r),u=s.withRoles?{"aria-haspopup":a,"aria-expanded":s.opened,"aria-controls":s.getDropdownId(),id:s.getTargetId()}:{};return E.cloneElement(n,{...l,...u,...s.targetProps,className:Ji(s.targetProps.className,l.className,n.props.className),[o]:c,...s.controlled?null:{onClick:()=>{s.onToggle(),n.props.onClick?.()}}})});fu.displayName="@mantine/core/PopoverTarget";function eIe(e){if(e===void 0)return{shift:!0,flip:!0};const r={...e};return e.shift===void 0&&(r.shift=!0),e.flip===void 0&&(r.flip=!0),r}function tIe(e,r,n){const o=eIe(e.middlewares),a=[WV(e.offset),yOe()];return e.dropdownVisible&&n!=="test"&&e.preventPositionChangeWhenVisible&&(o.flip=!1),o.shift&&a.push(z9(typeof o.shift=="boolean"?{limiter:GV(),padding:5}:{limiter:GV(),padding:5,...o.shift})),o.flip&&a.push(typeof o.flip=="boolean"?bw():bw(o.flip)),o.inline&&a.push(typeof o.inline=="boolean"?M0():M0(o.inline)),a.push(XV({element:e.arrowRef,padding:e.arrowOffset})),(o.size||e.width==="target")&&a.push(gOe({...typeof o.size=="boolean"?{}:o.size,apply({rects:i,availableWidth:l,availableHeight:s,...c}){const u=r().refs.floating.current?.style??{};o.size&&(typeof o.size=="object"&&o.size.apply?o.size.apply({rects:i,availableWidth:l,availableHeight:s,...c}):Object.assign(u,{maxWidth:`${l}px`,maxHeight:`${s}px`})),e.width==="target"&&Object.assign(u,{width:`${i.reference.width}px`})}})),a}function rIe(e){const r=Qx(),[n,o]=Us({value:e.opened,defaultValue:e.defaultOpened,finalValue:!1,onChange:e.onChange}),a=E.useRef(n),i=()=>{n&&!e.disabled&&o(!1)},l=()=>{e.disabled||o(!n)},s=xw({strategy:e.strategy,placement:e.preventPositionChangeWhenVisible?e.positionRef.current:e.position,middleware:tIe(e,()=>s,r),whileElementsMounted:e.keepMounted?void 0:mw});return E.useEffect(()=>{if(!(!s.refs.reference.current||!s.refs.floating.current)&&n)return mw(s.refs.reference.current,s.refs.floating.current,s.update)},[n,s.update]),Vd(()=>{e.onPositionChange?.(s.placement),e.positionRef.current=s.placement},[s.placement,e.preventPositionChangeWhenVisible]),Vd(()=>{n!==a.current&&(n?e.onOpen?.():e.onClose?.()),a.current=n},[n,e.onClose,e.onOpen]),Vd(()=>{let c=-1;return n&&(c=window.setTimeout(()=>e.setDropdownVisible(!0),4)),()=>{window.clearTimeout(c)}},[n,e.position]),{floating:s,controlled:typeof e.opened=="boolean",opened:n,onClose:i,onToggle:l}}const nIe={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!0,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,withOverlay:!1,hideDetached:!0,clickOutsideEvents:["mousedown","touchstart"],zIndex:Yx("popover"),__staticSelector:"Popover",width:"max-content"},oIe=(e,{radius:r,shadow:n})=>({dropdown:{"--popover-radius":r===void 0?void 0:bn(r),"--popover-shadow":AU(n)}});function mr(e){const r=ze("Popover",nIe,e),{children:n,position:o,offset:a,onPositionChange:i,positionDependencies:l,opened:s,transitionProps:c,onExitTransitionEnd:u,onEnterTransitionEnd:d,width:p,middlewares:f,withArrow:g,arrowSize:b,arrowOffset:x,arrowRadius:w,arrowPosition:k,unstyled:C,classNames:_,styles:T,closeOnClickOutside:R,withinPortal:A,portalProps:D,closeOnEscape:N,clickOutsideEvents:$,trapFocus:M,onClose:j,onDismiss:L,onOpen:Y,onChange:O,zIndex:U,radius:I,shadow:q,id:V,defaultOpened:G,__staticSelector:F,withRoles:J,disabled:Q,returnFocus:z,variant:W,keepMounted:X,vars:Z,floatingStrategy:oe,withOverlay:ee,overlayProps:re,hideDetached:pe,attributes:Ce,preventPositionChangeWhenVisible:ce,...de}=r,be=bt({name:F,props:r,classes:MY,classNames:_,styles:T,unstyled:C,attributes:Ce,rootSelector:"dropdown",vars:Z,varsResolver:oIe}),{resolvedStyles:Oe}=y9({classNames:_,styles:T,props:r}),[Xe,Ge]=E.useState(s??G??!1),_t=E.useRef(o),Qe=E.useRef(null),[St,Ke]=E.useState(null),[We,st]=E.useState(null),{dir:Et}=du(),Pn=Qx(),_e=Ta(V),we=rIe({middlewares:f,width:p,position:AY(Et,o),offset:typeof a=="number"?a+(g?b/2:0):a,arrowRef:Qe,arrowOffset:x,onPositionChange:i,positionDependencies:l,opened:s,defaultOpened:G,onChange:O,onOpen:Y,onClose:j,onDismiss:L,strategy:oe,dropdownVisible:Xe,setDropdownVisible:Ge,positionRef:_t,disabled:Q,preventPositionChangeWhenVisible:ce,keepMounted:X});DU(()=>{R&&(we.onClose(),L?.())},$,[St,We]);const rt=E.useCallback(Pt=>{Ke(Pt),we.floating.refs.setReference(Pt)},[we.floating.refs.setReference]),at=E.useCallback(Pt=>{st(Pt),we.floating.refs.setFloating(Pt)},[we.floating.refs.setFloating]),Dt=E.useCallback(()=>{c?.onExited?.(),u?.(),Ge(!1),_t.current=o},[c?.onExited,u]),Wr=E.useCallback(()=>{c?.onEntered?.(),d?.()},[c?.onEntered,d]);return y.jsxs(QOe,{value:{returnFocus:z,disabled:Q,controlled:we.controlled,reference:rt,floating:at,x:we.floating.x,y:we.floating.y,arrowX:we.floating?.middlewareData?.arrow?.x,arrowY:we.floating?.middlewareData?.arrow?.y,opened:we.opened,arrowRef:Qe,transitionProps:{...c,onExited:Dt,onEntered:Wr},width:p,withArrow:g,arrowSize:b,arrowOffset:x,arrowRadius:w,arrowPosition:k,placement:we.floating.placement,trapFocus:M,withinPortal:A,portalProps:D,zIndex:U,radius:I,shadow:q,closeOnEscape:N,onDismiss:L,onClose:we.onClose,onToggle:we.onToggle,getTargetId:()=>`${_e}-target`,getDropdownId:()=>`${_e}-dropdown`,withRoles:J,targetProps:de,__staticSelector:F,classNames:_,styles:T,unstyled:C,variant:W,keepMounted:X,getStyles:be,resolvedStyles:Oe,floatingStrategy:oe,referenceHidden:pe&&Pn!=="test"?we.floating.middlewareData.hide?.referenceHidden:!1},children:[n,ee&&y.jsx(hu,{transition:"fade",mounted:we.opened,duration:c?.duration||250,exitDuration:c?.exitDuration||250,children:Pt=>y.jsx(Df,{withinPortal:A,children:y.jsx(K9,{...re,...be("overlay",{className:re?.className,style:[Pt,re?.style]})})})})]})}mr.Target=fu,mr.Dropdown=Gs,mr.displayName="@mantine/core/Popover",mr.extend=e=>e;var al={root:"m_5ae2e3c",barsLoader:"m_7a2bd4cd",bar:"m_870bb79","bars-loader-animation":"m_5d2b3b9d",dotsLoader:"m_4e3f22d7",dot:"m_870c4af","loader-dots-animation":"m_aac34a1",ovalLoader:"m_b34414df","oval-loader-animation":"m_f8e89c4b"};const OY=E.forwardRef(({className:e,...r},n)=>y.jsxs(Se,{component:"span",className:Ji(al.barsLoader,e),...r,ref:n,children:[y.jsx("span",{className:al.bar}),y.jsx("span",{className:al.bar}),y.jsx("span",{className:al.bar})]}));OY.displayName="@mantine/core/Bars";const IY=E.forwardRef(({className:e,...r},n)=>y.jsxs(Se,{component:"span",className:Ji(al.dotsLoader,e),...r,ref:n,children:[y.jsx("span",{className:al.dot}),y.jsx("span",{className:al.dot}),y.jsx("span",{className:al.dot})]}));IY.displayName="@mantine/core/Dots";const LY=E.forwardRef(({className:e,...r},n)=>y.jsx(Se,{component:"span",className:Ji(al.ovalLoader,e),...r,ref:n}));LY.displayName="@mantine/core/Oval";const zY={bars:OY,oval:LY,dots:IY},aIe={loaders:zY,type:"oval"},iIe=(e,{size:r,color:n})=>({root:{"--loader-size":sr(r,"loader-size"),"--loader-color":n?Jo(n,e):void 0}}),Pf=lt((e,r)=>{const n=ze("Loader",aIe,e),{size:o,color:a,type:i,vars:l,className:s,style:c,classNames:u,styles:d,unstyled:p,loaders:f,variant:g,children:b,attributes:x,...w}=n,k=bt({name:"Loader",props:n,classes:al,className:s,style:c,classNames:u,styles:d,unstyled:p,attributes:x,vars:l,varsResolver:iIe});return b?y.jsx(Se,{...k("root"),ref:r,...w,children:b}):y.jsx(Se,{...k("root"),ref:r,component:f[i],variant:g,size:o,...w})});Pf.defaultLoaders=zY,Pf.classes=al,Pf.displayName="@mantine/core/Loader";var $f={root:"m_8d3f4000",icon:"m_8d3afb97",loader:"m_302b9fb1",group:"m_1a0f1b21",groupSection:"m_437b6484"};const BY={orientation:"horizontal"},lIe=(e,{borderWidth:r})=>({group:{"--ai-border-width":Ae(r)}}),Tw=lt((e,r)=>{const n=ze("ActionIconGroup",BY,e),{className:o,style:a,classNames:i,styles:l,unstyled:s,orientation:c,vars:u,borderWidth:d,variant:p,mod:f,attributes:g,...b}=ze("ActionIconGroup",BY,e),x=bt({name:"ActionIconGroup",props:n,classes:$f,className:o,style:a,classNames:i,styles:l,unstyled:s,attributes:g,vars:u,varsResolver:lIe,rootSelector:"group"});return y.jsx(Se,{...x("group"),ref:r,variant:p,mod:[{"data-orientation":c},f],role:"group",...b})});Tw.classes=$f,Tw.displayName="@mantine/core/ActionIconGroup";const sIe=(e,{radius:r,color:n,gradient:o,variant:a,autoContrast:i,size:l})=>{const s=e.variantColorResolver({color:n||e.primaryColor,theme:e,gradient:o,variant:a||"filled",autoContrast:i});return{groupSection:{"--section-height":sr(l,"section-height"),"--section-padding-x":sr(l,"section-padding-x"),"--section-fz":No(l),"--section-radius":r===void 0?void 0:bn(r),"--section-bg":n||a?s.background:void 0,"--section-color":s.color,"--section-bd":n||a?s.border:void 0}}},Q9=lt((e,r)=>{const n=ze("ActionIconGroupSection",null,e),{className:o,style:a,classNames:i,styles:l,unstyled:s,vars:c,variant:u,gradient:d,radius:p,autoContrast:f,attributes:g,...b}=n,x=bt({name:"ActionIconGroupSection",props:n,classes:$f,className:o,style:a,classNames:i,styles:l,unstyled:s,attributes:g,vars:c,varsResolver:sIe,rootSelector:"groupSection"});return y.jsx(Se,{...x("groupSection"),ref:r,variant:u,...b})});Q9.classes=$f,Q9.displayName="@mantine/core/ActionIconGroupSection";const cIe=(e,{size:r,radius:n,variant:o,gradient:a,color:i,autoContrast:l})=>{const s=e.variantColorResolver({color:i||e.primaryColor,theme:e,gradient:a,variant:o||"filled",autoContrast:l});return{root:{"--ai-size":sr(r,"ai-size"),"--ai-radius":n===void 0?void 0:bn(n),"--ai-bg":i||o?s.background:void 0,"--ai-hover":i||o?s.hover:void 0,"--ai-hover-color":i||o?s.hoverColor:void 0,"--ai-color":s.color,"--ai-bd":i||o?s.border:void 0}}},or=Xn((e,r)=>{const n=ze("ActionIcon",null,e),{className:o,unstyled:a,variant:i,classNames:l,styles:s,style:c,loading:u,loaderProps:d,size:p,color:f,radius:g,__staticSelector:b,gradient:x,vars:w,children:k,disabled:C,"data-disabled":_,autoContrast:T,mod:R,attributes:A,...D}=n,N=bt({name:["ActionIcon",b],props:n,className:o,style:c,classes:$f,classNames:l,styles:s,unstyled:a,attributes:A,vars:w,varsResolver:cIe});return y.jsxs(Pr,{...N("root",{active:!C&&!u&&!_}),...D,unstyled:a,variant:i,size:p,disabled:C||u,ref:r,mod:[{loading:u,disabled:C||_},R],children:[typeof u=="boolean"&&y.jsx(hu,{mounted:u,transition:"slide-down",duration:150,children:$=>y.jsx(Se,{component:"span",...N("loader",{style:$}),"aria-hidden":!0,children:y.jsx(Pf,{color:"var(--ai-color)",size:"calc(var(--ai-size) * 0.55)",...d})})}),y.jsx(Se,{component:"span",mod:{loading:u},...N("icon"),children:k})]})});or.classes=$f,or.displayName="@mantine/core/ActionIcon",or.Group=Tw,or.GroupSection=Q9;const jY=E.forwardRef(({size:e="var(--cb-icon-size, 70%)",style:r,...n},o)=>y.jsx("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...r,width:e,height:e},ref:o,...n,children:y.jsx("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}));jY.displayName="@mantine/core/CloseIcon";var FY={root:"m_86a44da5","root--subtle":"m_220c80f2"};const uIe={variant:"subtle"},dIe=(e,{size:r,radius:n,iconSize:o})=>({root:{"--cb-size":sr(r,"cb-size"),"--cb-radius":n===void 0?void 0:bn(n),"--cb-icon-size":Ae(o)}}),Kd=Xn((e,r)=>{const n=ze("CloseButton",uIe,e),{iconSize:o,children:a,vars:i,radius:l,className:s,classNames:c,style:u,styles:d,unstyled:p,"data-disabled":f,disabled:g,variant:b,icon:x,mod:w,attributes:k,__staticSelector:C,..._}=n,T=bt({name:C||"CloseButton",props:n,className:s,style:u,classes:FY,classNames:c,styles:d,unstyled:p,attributes:k,vars:i,varsResolver:dIe});return y.jsxs(Pr,{ref:r,..._,unstyled:p,variant:b,disabled:g,mod:[{disabled:g||f},w],...T("root",{variant:b,active:!g&&!f}),children:[x||y.jsx(jY,{}),a]})});Kd.classes=FY,Kd.displayName="@mantine/core/CloseButton";function pIe(e){return E.Children.toArray(e).filter(Boolean)}var HY={root:"m_4081bf90"};const hIe={preventGrowOverflow:!0,gap:"md",align:"center",justify:"flex-start",wrap:"wrap"},fIe=(e,{grow:r,preventGrowOverflow:n,gap:o,align:a,justify:i,wrap:l},{childWidth:s})=>({root:{"--group-child-width":r&&n?s:void 0,"--group-gap":qs(o),"--group-align":a,"--group-justify":i,"--group-wrap":l}}),qr=lt((e,r)=>{const n=ze("Group",hIe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,children:c,gap:u,align:d,justify:p,wrap:f,grow:g,preventGrowOverflow:b,vars:x,variant:w,__size:k,mod:C,attributes:_,...T}=n,R=pIe(c),A=R.length,D=qs(u??"md"),N={childWidth:`calc(${100/A}% - (${D} - ${D} / ${A}))`},$=bt({name:"Group",props:n,stylesCtx:N,className:a,style:i,classes:HY,classNames:o,styles:l,unstyled:s,attributes:_,vars:x,varsResolver:fIe});return y.jsx(Se,{...$("root"),ref:r,variant:w,mod:[{grow:g},C],size:k,...T,children:R})});qr.classes=HY,qr.displayName="@mantine/core/Group";const[mIe,gIe]=C0({size:"sm"}),qY=lt((e,r)=>{const n=ze("InputClearButton",null,e),{size:o,variant:a,vars:i,classNames:l,styles:s,...c}=n,u=gIe(),{resolvedClassNames:d,resolvedStyles:p}=y9({classNames:l,styles:s,props:n});return y.jsx(Kd,{variant:a||"transparent",ref:r,size:o||u?.size||"sm",classNames:d,styles:p,__staticSelector:"InputClearButton",style:{pointerEvents:"all",background:"var(--input-bg)",...c.style},...c})});qY.displayName="@mantine/core/InputClearButton";const yIe={xs:7,sm:8,md:10,lg:12,xl:15};function bIe({__clearable:e,__clearSection:r,rightSection:n,__defaultRightSection:o,size:a="sm"}){const i=e&&r;return i&&(n||o)?y.jsxs("div",{"data-combined-clear-section":!0,style:{display:"flex",gap:2,alignItems:"center",paddingInlineEnd:yIe[a]},children:[i,n||o]}):n||i||o}const[vIe,Rw]=C0({offsetBottom:!1,offsetTop:!1,describedBy:void 0,getStyles:null,inputId:void 0,labelId:void 0});var ii={wrapper:"m_6c018570",input:"m_8fb7ebe7",section:"m_82577fc2",placeholder:"m_88bacfd0",root:"m_46b77525",label:"m_8fdc1311",required:"m_78a94662",error:"m_8f816625",description:"m_fe47ce59"};const xIe=(e,{size:r})=>({description:{"--input-description-size":r===void 0?void 0:`calc(${No(r)} - ${Ae(2)})`}}),Aw=lt((e,r)=>{const n=ze("InputDescription",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,size:u,__staticSelector:d,__inheritStyles:p=!0,attributes:f,variant:g,...b}=ze("InputDescription",null,n),x=Rw(),w=bt({name:["InputWrapper",d],props:n,classes:ii,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:f,rootSelector:"description",vars:c,varsResolver:xIe}),k=p&&x?.getStyles||w;return y.jsx(Se,{component:"p",ref:r,variant:g,size:u,...k("description",x?.getStyles?{className:a,style:i}:void 0),...b})});Aw.classes=ii,Aw.displayName="@mantine/core/InputDescription";const wIe=(e,{size:r})=>({error:{"--input-error-size":r===void 0?void 0:`calc(${No(r)} - ${Ae(2)})`}}),Nw=lt((e,r)=>{const n=ze("InputError",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,size:u,attributes:d,__staticSelector:p,__inheritStyles:f=!0,variant:g,...b}=n,x=bt({name:["InputWrapper",p],props:n,classes:ii,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:d,rootSelector:"error",vars:c,varsResolver:wIe}),w=Rw(),k=f&&w?.getStyles||x;return y.jsx(Se,{component:"p",ref:r,variant:g,size:u,...k("error",w?.getStyles?{className:a,style:i}:void 0),...b})});Nw.classes=ii,Nw.displayName="@mantine/core/InputError";const UY={labelElement:"label"},kIe=(e,{size:r})=>({label:{"--input-label-size":No(r),"--input-asterisk-color":void 0}}),Dw=lt((e,r)=>{const n=ze("InputLabel",UY,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,labelElement:u,size:d,required:p,htmlFor:f,onMouseDown:g,children:b,__staticSelector:x,variant:w,mod:k,attributes:C,..._}=ze("InputLabel",UY,n),T=bt({name:["InputWrapper",x],props:n,classes:ii,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:C,rootSelector:"label",vars:c,varsResolver:kIe}),R=Rw(),A=R?.getStyles||T;return y.jsxs(Se,{...A("label",R?.getStyles?{className:a,style:i}:void 0),component:u,variant:w,size:d,ref:r,htmlFor:u==="label"?f:void 0,mod:[{required:p},k],onMouseDown:D=>{g?.(D),!D.defaultPrevented&&D.detail>1&&D.preventDefault()},..._,children:[b,p&&y.jsx("span",{...A("required"),"aria-hidden":!0,children:" *"})]})});Dw.classes=ii,Dw.displayName="@mantine/core/InputLabel";const J9=lt((e,r)=>{const n=ze("InputPlaceholder",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,__staticSelector:u,variant:d,error:p,mod:f,attributes:g,...b}=n,x=bt({name:["InputPlaceholder",u],props:n,classes:ii,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:g,rootSelector:"placeholder"});return y.jsx(Se,{...x("placeholder"),mod:[{error:!!p},f],component:"span",variant:d,ref:r,...b})});J9.classes=ii,J9.displayName="@mantine/core/InputPlaceholder";function _Ie(e,{hasDescription:r,hasError:n}){const o=e.findIndex(s=>s==="input"),a=e.slice(0,o),i=e.slice(o+1),l=r&&a.includes("description")||n&&a.includes("error");return{offsetBottom:r&&i.includes("description")||n&&i.includes("error"),offsetTop:l}}const EIe={labelElement:"label",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},SIe=(e,{size:r})=>({label:{"--input-label-size":No(r),"--input-asterisk-color":void 0},error:{"--input-error-size":r===void 0?void 0:`calc(${No(r)} - ${Ae(2)})`},description:{"--input-description-size":r===void 0?void 0:`calc(${No(r)} - ${Ae(2)})`}}),e7=lt((e,r)=>{const n=ze("InputWrapper",EIe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,size:u,variant:d,__staticSelector:p,inputContainer:f,inputWrapperOrder:g,label:b,error:x,description:w,labelProps:k,descriptionProps:C,errorProps:_,labelElement:T,children:R,withAsterisk:A,id:D,required:N,__stylesApiProps:$,mod:M,attributes:j,...L}=n,Y=bt({name:["InputWrapper",p],props:$||n,classes:ii,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:j,vars:c,varsResolver:SIe}),O={size:u,variant:d,__staticSelector:p},U=Ta(D),I=typeof A=="boolean"?A:N,q=_?.id||`${U}-error`,V=C?.id||`${U}-description`,G=U,F=!!x&&typeof x!="boolean",J=!!w,Q=`${F?q:""} ${J?V:""}`,z=Q.trim().length>0?Q.trim():void 0,W=k?.id||`${U}-label`,X=b&&y.jsx(Dw,{labelElement:T,id:W,htmlFor:G,required:I,...O,...k,children:b},"label"),Z=J&&y.jsx(Aw,{...C,...O,size:C?.size||O.size,id:C?.id||V,children:w},"description"),oe=y.jsx(E.Fragment,{children:f(R)},"input"),ee=F&&E.createElement(Nw,{..._,...O,size:_?.size||O.size,key:"error",id:_?.id||q},x),re=g.map(pe=>{switch(pe){case"label":return X;case"input":return oe;case"description":return Z;case"error":return ee;default:return null}});return y.jsx(vIe,{value:{getStyles:Y,describedBy:z,inputId:G,labelId:W,..._Ie(g,{hasDescription:J,hasError:F})},children:y.jsx(Se,{ref:r,variant:d,size:u,mod:[{error:!!x},M],...Y("root"),...L,children:re})})});e7.classes=ii,e7.displayName="@mantine/core/InputWrapper";const CIe={variant:"default",leftSectionPointerEvents:"none",rightSectionPointerEvents:"none",withAria:!0,withErrorStyles:!0,size:"sm"},TIe=(e,r,n)=>({wrapper:{"--input-margin-top":n.offsetTop?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-margin-bottom":n.offsetBottom?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-height":sr(r.size,"input-height"),"--input-fz":No(r.size),"--input-radius":r.radius===void 0?void 0:bn(r.radius),"--input-left-section-width":r.leftSectionWidth!==void 0?Ae(r.leftSectionWidth):void 0,"--input-right-section-width":r.rightSectionWidth!==void 0?Ae(r.rightSectionWidth):void 0,"--input-padding-y":r.multiline?sr(r.size,"input-padding-y"):void 0,"--input-left-section-pointer-events":r.leftSectionPointerEvents,"--input-right-section-pointer-events":r.rightSectionPointerEvents}}),Na=Xn((e,r)=>{const n=ze("Input",CIe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,required:c,__staticSelector:u,__stylesApiProps:d,size:p,wrapperProps:f,error:g,disabled:b,leftSection:x,leftSectionProps:w,leftSectionWidth:k,rightSection:C,rightSectionProps:_,rightSectionWidth:T,rightSectionPointerEvents:R,leftSectionPointerEvents:A,variant:D,vars:N,pointer:$,multiline:M,radius:j,id:L,withAria:Y,withErrorStyles:O,mod:U,inputSize:I,attributes:q,__clearSection:V,__clearable:G,__defaultRightSection:F,...J}=n,{styleProps:Q,rest:z}=iV(J),W=Rw(),X={offsetBottom:W?.offsetBottom,offsetTop:W?.offsetTop},Z=bt({name:["Input",u],props:d||n,classes:ii,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:q,stylesCtx:X,rootSelector:"wrapper",vars:N,varsResolver:TIe}),oe=Y?{required:c,disabled:b,"aria-invalid":!!g,"aria-describedby":W?.describedBy,id:W?.inputId||L}:{},ee=bIe({__clearable:G,__clearSection:V,rightSection:C,__defaultRightSection:F,size:p});return y.jsx(mIe,{value:{size:p||"sm"},children:y.jsxs(Se,{...Z("wrapper"),...Q,...f,mod:[{error:!!g&&O,pointer:$,disabled:b,multiline:M,"data-with-right-section":!!ee,"data-with-left-section":!!x},U],variant:D,size:p,children:[x&&y.jsx("div",{...w,"data-position":"left",...Z("section",{className:w?.className,style:w?.style}),children:x}),y.jsx(Se,{component:"input",...z,...oe,ref:r,required:c,mod:{disabled:b,error:!!g&&O},variant:D,__size:I,...Z("input")}),ee&&y.jsx("div",{..._,"data-position":"right",...Z("section",{className:_?.className,style:_?.style}),children:ee})]})})});Na.classes=ii,Na.Wrapper=e7,Na.Label=Dw,Na.Error=Nw,Na.Description=Aw,Na.Placeholder=J9,Na.ClearButton=qY,Na.displayName="@mantine/core/Input";const RIe={gap:{type:"spacing",property:"gap"},rowGap:{type:"spacing",property:"rowGap"},columnGap:{type:"spacing",property:"columnGap"},align:{type:"identity",property:"alignItems"},justify:{type:"identity",property:"justifyContent"},wrap:{type:"identity",property:"flexWrap"},direction:{type:"identity",property:"flexDirection"}};var VY={root:"m_8bffd616"};const Mf=Xn((e,r)=>{const n=ze("Flex",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,gap:u,rowGap:d,columnGap:p,align:f,justify:g,wrap:b,direction:x,attributes:w,...k}=n,C=bt({name:"Flex",classes:VY,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:w,vars:c}),_=po(),T=rw(),R=cV({styleProps:{gap:u,rowGap:d,columnGap:p,align:f,justify:g,wrap:b,direction:x},theme:_,data:RIe});return y.jsxs(y.Fragment,{children:[R.hasResponsiveStyles&&y.jsx(tw,{selector:`.${T}`,styles:R.styles,media:R.media}),y.jsx(Se,{ref:r,...C("root",{className:T,style:yf(R.inlineStyles)}),...k})]})});Mf.classes=VY,Mf.displayName="@mantine/core/Flex";function AIe(e,r){if(!r||!e)return!1;let n=r.parentNode;for(;n!=null;){if(n===e)return!0;n=n.parentNode}return!1}function NIe({target:e,parent:r,ref:n,displayAfterTransitionEnd:o}){const a=E.useRef(-1),[i,l]=E.useState(!1),[s,c]=E.useState(typeof o=="boolean"?o:!1),u=()=>{if(!e||!r||!n.current)return;const g=e.getBoundingClientRect(),b=r.getBoundingClientRect(),x=window.getComputedStyle(e),w=window.getComputedStyle(r),k=pu(x.borderTopWidth)+pu(w.borderTopWidth),C=pu(x.borderLeftWidth)+pu(w.borderLeftWidth),_={top:g.top-b.top-k,left:g.left-b.left-C,width:g.width,height:g.height};n.current.style.transform=`translateY(${_.top}px) translateX(${_.left}px)`,n.current.style.width=`${_.width}px`,n.current.style.height=`${_.height}px`},d=()=>{window.clearTimeout(a.current),n.current&&(n.current.style.transitionDuration="0ms"),u(),a.current=window.setTimeout(()=>{n.current&&(n.current.style.transitionDuration="")},30)},p=E.useRef(null),f=E.useRef(null);return E.useEffect(()=>{if(u(),e)return p.current=new ResizeObserver(d),p.current.observe(e),r&&(f.current=new ResizeObserver(d),f.current.observe(r)),()=>{p.current?.disconnect(),f.current?.disconnect()}},[r,e]),E.useEffect(()=>{if(r){const g=b=>{AIe(b.target,r)&&(d(),c(!1))};return r.addEventListener("transitionend",g),()=>{r.removeEventListener("transitionend",g)}}},[r]),UU(()=>{OPe()!=="test"&&l(!0)},20,{autoInvoke:!0}),VU(g=>{g.forEach(b=>{b.type==="attributes"&&b.attributeName==="dir"&&d()})},{attributes:!0,attributeFilter:["dir"]},()=>document.documentElement),{initialized:i,hidden:s}}var YY={root:"m_96b553a6"};const DIe=(e,{transitionDuration:r})=>({root:{"--transition-duration":typeof r=="number"?`${r}ms`:r}}),Pw=lt((e,r)=>{const n=ze("FloatingIndicator",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,target:u,parent:d,transitionDuration:p,mod:f,displayAfterTransitionEnd:g,attributes:b,...x}=n,w=bt({name:"FloatingIndicator",classes:YY,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:b,vars:c,varsResolver:DIe}),k=E.useRef(null),{initialized:C,hidden:_}=NIe({target:u,parent:d,ref:k,displayAfterTransitionEnd:g}),T=Nr(r,k);return!u||!d?null:y.jsx(Se,{ref:T,mod:[{initialized:C,hidden:_},f],...w("root"),...x})});Pw.displayName="@mantine/core/FloatingIndicator",Pw.classes=YY;function WY({open:e,close:r,openDelay:n,closeDelay:o}){const a=E.useRef(-1),i=E.useRef(-1),l=()=>{window.clearTimeout(a.current),window.clearTimeout(i.current)},s=()=>{l(),n===0||n===void 0?e():a.current=window.setTimeout(e,n)},c=()=>{l(),o===0||o===void 0?r():i.current=window.setTimeout(r,o)};return E.useEffect(()=>l,[]),{openDropdown:s,closeDropdown:c}}function t7({style:e,size:r=16,...n}){return y.jsx("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...e,width:Ae(r),height:Ae(r),display:"block"},...n,children:y.jsx("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}t7.displayName="@mantine/core/AccordionChevron";var GY={root:"m_66836ed3",wrapper:"m_a5d60502",body:"m_667c2793",title:"m_6a03f287",label:"m_698f4f23",icon:"m_667f2a6a",message:"m_7fa78076",closeButton:"m_87f54839"};const PIe=(e,{radius:r,color:n,variant:o,autoContrast:a})=>{const i=e.variantColorResolver({color:n||e.primaryColor,theme:e,variant:o||"light",autoContrast:a});return{root:{"--alert-radius":r===void 0?void 0:bn(r),"--alert-bg":n||o?i.background:void 0,"--alert-color":i.color,"--alert-bd":n||o?i.border:void 0}}},$w=lt((e,r)=>{const n=ze("Alert",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,radius:u,color:d,title:p,children:f,id:g,icon:b,withCloseButton:x,onClose:w,closeButtonLabel:k,variant:C,autoContrast:_,attributes:T,...R}=n,A=bt({name:"Alert",classes:GY,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:T,vars:c,varsResolver:PIe}),D=Ta(g),N=p&&`${D}-title`||void 0,$=`${D}-body`;return y.jsx(Se,{id:D,...A("root",{variant:C}),variant:C,ref:r,...R,role:"alert","aria-describedby":$,"aria-labelledby":N,children:y.jsxs("div",{...A("wrapper"),children:[b&&y.jsx("div",{...A("icon"),children:b}),y.jsxs("div",{...A("body"),children:[p&&y.jsx("div",{...A("title"),"data-with-close-button":x||void 0,children:y.jsx("span",{id:N,...A("label"),children:p})}),f&&y.jsx("div",{id:$,...A("message"),"data-variant":C,children:f})]}),x&&y.jsx(Kd,{...A("closeButton"),onClick:w,variant:"transparent",size:16,iconSize:16,"aria-label":k,unstyled:s})]})})});$w.classes=GY,$w.displayName="@mantine/core/Alert";var XY={root:"m_b6d8b162"};function $Ie(e){if(e==="start")return"start";if(e==="end"||e)return"end"}const MIe={inherit:!1},OIe=(e,{variant:r,lineClamp:n,gradient:o,size:a,color:i})=>({root:{"--text-fz":No(a),"--text-lh":ZDe(a),"--text-gradient":r==="gradient"?s9(o,e):void 0,"--text-line-clamp":typeof n=="number"?n.toString():void 0,"--text-color":i?Jo(i,e):void 0}}),wt=Xn((e,r)=>{const n=ze("Text",MIe,e),{lineClamp:o,truncate:a,inline:i,inherit:l,gradient:s,span:c,__staticSelector:u,vars:d,className:p,style:f,classNames:g,styles:b,unstyled:x,variant:w,mod:k,size:C,attributes:_,...T}=n,R=bt({name:["Text",u],props:n,classes:XY,className:p,style:f,classNames:g,styles:b,unstyled:x,attributes:_,vars:d,varsResolver:OIe});return y.jsx(Se,{...R("root",{focusable:!0}),ref:r,component:c?"span":"p",variant:w,mod:[{"data-truncate":$Ie(a),"data-line-clamp":typeof o=="number","data-inline":i,"data-inherit":l},k],size:C,...T})});wt.classes=XY,wt.displayName="@mantine/core/Text";var KY={root:"m_849cf0da"};const IIe={underline:"hover"},r7=Xn((e,r)=>{const{underline:n,className:o,unstyled:a,mod:i,...l}=ze("Anchor",IIe,e);return y.jsx(wt,{component:"a",ref:r,className:Ji({[KY.root]:!a},o),...l,mod:[{underline:n},i],__staticSelector:"Anchor",unstyled:a})});r7.classes=KY,r7.displayName="@mantine/core/Anchor";var li={dropdown:"m_88b62a41",search:"m_985517d8",options:"m_b2821a6e",option:"m_92253aa5",empty:"m_2530cd1d",header:"m_858f94bd",footer:"m_82b967cb",group:"m_254f3e4f",groupLabel:"m_2bb2e9e5",chevron:"m_2943220b",optionsDropdownOption:"m_390b5f4",optionsDropdownCheckIcon:"m_8ee53fc2"};const LIe={error:null},zIe=(e,{size:r,color:n})=>({chevron:{"--combobox-chevron-size":sr(r,"combobox-chevron-size"),"--combobox-chevron-color":n?Jo(n,e):void 0}}),n7=lt((e,r)=>{const n=ze("ComboboxChevron",LIe,e),{size:o,error:a,style:i,className:l,classNames:s,styles:c,unstyled:u,vars:d,mod:p,...f}=n,g=bt({name:"ComboboxChevron",classes:li,props:n,style:i,className:l,classNames:s,styles:c,unstyled:u,vars:d,varsResolver:zIe,rootSelector:"chevron"});return y.jsx(Se,{component:"svg",...f,...g("chevron"),size:o,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",mod:["combobox-chevron",{error:a},p],ref:r,children:y.jsx("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})});n7.classes=li,n7.displayName="@mantine/core/ComboboxChevron";const[BIe,si]=ri("Combobox component was not found in tree"),ZY=E.forwardRef(({size:e,onMouseDown:r,onClick:n,onClear:o,...a},i)=>y.jsx(Na.ClearButton,{ref:i,tabIndex:-1,"aria-hidden":!0,...a,onMouseDown:l=>{l.preventDefault(),r?.(l)},onClick:l=>{o(),n?.(l)}}));ZY.displayName="@mantine/core/ComboboxClearButton";const Mw=lt((e,r)=>{const{classNames:n,styles:o,className:a,style:i,hidden:l,...s}=ze("ComboboxDropdown",null,e),c=si();return y.jsx(mr.Dropdown,{...s,ref:r,role:"presentation","data-hidden":l||void 0,...c.getStyles("dropdown",{className:a,style:i,classNames:n,styles:o})})});Mw.classes=li,Mw.displayName="@mantine/core/ComboboxDropdown";const jIe={refProp:"ref"},QY=lt((e,r)=>{const{children:n,refProp:o}=ze("ComboboxDropdownTarget",jIe,e);if(si(),!Qi(n))throw new Error("Combobox.DropdownTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");return y.jsx(mr.Target,{ref:r,refProp:o,children:n})});QY.displayName="@mantine/core/ComboboxDropdownTarget";const L0=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,...s}=ze("ComboboxEmpty",null,e),c=si();return y.jsx(Se,{ref:r,...c.getStyles("empty",{className:o,classNames:n,styles:i,style:a}),...s})});L0.classes=li,L0.displayName="@mantine/core/ComboboxEmpty";function o7({onKeyDown:e,withKeyboardNavigation:r,withAriaAttributes:n,withExpandedAttribute:o,targetType:a,autoComplete:i}){const l=si(),[s,c]=E.useState(null),u=d=>{if(e?.(d),!l.readOnly&&r){if(d.nativeEvent.isComposing)return;if(d.nativeEvent.code==="ArrowDown"&&(d.preventDefault(),l.store.dropdownOpened?c(l.store.selectNextOption()):(l.store.openDropdown("keyboard"),c(l.store.selectActiveOption()),l.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),d.nativeEvent.code==="ArrowUp"&&(d.preventDefault(),l.store.dropdownOpened?c(l.store.selectPreviousOption()):(l.store.openDropdown("keyboard"),c(l.store.selectActiveOption()),l.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),d.nativeEvent.code==="Enter"||d.nativeEvent.code==="NumpadEnter"){if(d.nativeEvent.keyCode===229)return;const p=l.store.getSelectedOptionIndex();l.store.dropdownOpened&&p!==-1?(d.preventDefault(),l.store.clickSelectedOption()):a==="button"&&(d.preventDefault(),l.store.openDropdown("keyboard"))}d.key==="Escape"&&l.store.closeDropdown("keyboard"),d.nativeEvent.code==="Space"&&a==="button"&&(d.preventDefault(),l.store.toggleDropdown("keyboard"))}};return{...n?{"aria-haspopup":"listbox","aria-expanded":o?!!(l.store.listId&&l.store.dropdownOpened):void 0,"aria-controls":l.store.dropdownOpened&&l.store.listId?l.store.listId:void 0,"aria-activedescendant":l.store.dropdownOpened&&s||void 0,autoComplete:i,"data-expanded":l.store.dropdownOpened||void 0,"data-mantine-stop-propagation":l.store.dropdownOpened||void 0}:{},onKeyDown:u}}const FIe={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},JY=lt((e,r)=>{const{children:n,refProp:o,withKeyboardNavigation:a,withAriaAttributes:i,withExpandedAttribute:l,targetType:s,autoComplete:c,...u}=ze("ComboboxEventsTarget",FIe,e);if(!Qi(n))throw new Error("Combobox.EventsTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const d=si(),p=o7({targetType:s,withAriaAttributes:i,withKeyboardNavigation:a,withExpandedAttribute:l,onKeyDown:n.props.onKeyDown,autoComplete:c});return E.cloneElement(n,{...p,...u,[o]:Nr(r,d.store.targetRef,Gx(n))})});JY.displayName="@mantine/core/ComboboxEventsTarget";const a7=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,...s}=ze("ComboboxFooter",null,e),c=si();return y.jsx(Se,{ref:r,...c.getStyles("footer",{className:o,classNames:n,style:a,styles:i}),...s,onMouseDown:u=>{u.preventDefault()}})});a7.classes=li,a7.displayName="@mantine/core/ComboboxFooter";const i7=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,children:s,label:c,id:u,...d}=ze("ComboboxGroup",null,e),p=si(),f=Ta(u);return y.jsxs(Se,{ref:r,role:"group","aria-labelledby":c?f:void 0,...p.getStyles("group",{className:o,classNames:n,style:a,styles:i}),...d,children:[c&&y.jsx("div",{id:f,...p.getStyles("groupLabel",{classNames:n,styles:i}),children:c}),s]})});i7.classes=li,i7.displayName="@mantine/core/ComboboxGroup";const l7=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,...s}=ze("ComboboxHeader",null,e),c=si();return y.jsx(Se,{ref:r,...c.getStyles("header",{className:o,classNames:n,style:a,styles:i}),...s,onMouseDown:u=>{u.preventDefault()}})});l7.classes=li,l7.displayName="@mantine/core/ComboboxHeader";function eW({value:e,valuesDivider:r=",",...n}){return y.jsx("input",{type:"hidden",value:Array.isArray(e)?e.join(r):e||"",...n})}eW.displayName="@mantine/core/ComboboxHiddenInput";const z0=lt((e,r)=>{const n=ze("ComboboxOption",null,e),{classNames:o,className:a,style:i,styles:l,vars:s,onClick:c,id:u,active:d,onMouseDown:p,onMouseOver:f,disabled:g,selected:b,mod:x,...w}=n,k=si(),C=E.useId(),_=u||C;return y.jsx(Se,{...k.getStyles("option",{className:a,classNames:o,styles:l,style:i}),...w,ref:r,id:_,mod:["combobox-option",{"combobox-active":d,"combobox-disabled":g,"combobox-selected":b},x],role:"option",onClick:T=>{g?T.preventDefault():(k.onOptionSubmit?.(n.value,n),c?.(T))},onMouseDown:T=>{T.preventDefault(),p?.(T)},onMouseOver:T=>{k.resetSelectionOnOptionHover&&k.store.resetSelectedOption(),f?.(T)}})});z0.classes=li,z0.displayName="@mantine/core/ComboboxOption";const Ow=lt((e,r)=>{const n=ze("ComboboxOptions",null,e),{classNames:o,className:a,style:i,styles:l,id:s,onMouseDown:c,labelledBy:u,...d}=n,p=si(),f=Ta(s);return E.useEffect(()=>{p.store.setListId(f)},[f]),y.jsx(Se,{ref:r,...p.getStyles("options",{className:a,style:i,classNames:o,styles:l}),...d,id:f,role:"listbox","aria-labelledby":u,onMouseDown:g=>{g.preventDefault(),c?.(g)}})});Ow.classes=li,Ow.displayName="@mantine/core/ComboboxOptions";const HIe={withAriaAttributes:!0,withKeyboardNavigation:!0},s7=lt((e,r)=>{const n=ze("ComboboxSearch",HIe,e),{classNames:o,styles:a,unstyled:i,vars:l,withAriaAttributes:s,onKeyDown:c,withKeyboardNavigation:u,size:d,...p}=n,f=si(),g=f.getStyles("search"),b=o7({targetType:"input",withAriaAttributes:s,withKeyboardNavigation:u,withExpandedAttribute:!1,onKeyDown:c,autoComplete:"off"});return y.jsx(Na,{ref:Nr(r,f.store.searchRef),classNames:[{input:g.className},o],styles:[{input:g.style},a],size:d||f.size,...b,...p,__staticSelector:"Combobox"})});s7.classes=li,s7.displayName="@mantine/core/ComboboxSearch";const qIe={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},c7=lt((e,r)=>{const{children:n,refProp:o,withKeyboardNavigation:a,withAriaAttributes:i,withExpandedAttribute:l,targetType:s,autoComplete:c,...u}=ze("ComboboxTarget",qIe,e);if(!Qi(n))throw new Error("Combobox.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const d=si(),p=o7({targetType:s,withAriaAttributes:i,withKeyboardNavigation:a,withExpandedAttribute:l,onKeyDown:n.props.onKeyDown,autoComplete:c}),f=E.cloneElement(n,{...p,...u});return y.jsx(mr.Target,{ref:Nr(r,d.store.targetRef),children:f})});c7.displayName="@mantine/core/ComboboxTarget";function UIe(e,r,n){for(let o=e-1;o>=0;o-=1)if(!r[o].hasAttribute("data-combobox-disabled"))return o;if(n){for(let o=r.length-1;o>-1;o-=1)if(!r[o].hasAttribute("data-combobox-disabled"))return o}return e}function VIe(e,r,n){for(let o=e+1;o{s||(c(!0),a?.(I))},[c,a,s]),k=E.useCallback((I="unknown")=>{s&&(c(!1),o?.(I))},[c,o,s]),C=E.useCallback((I="unknown")=>{s?k(I):w(I)},[k,w,s]),_=E.useCallback(()=>{const I=document.querySelector(`#${u.current} [data-combobox-selected]`);I?.removeAttribute("data-combobox-selected"),I?.removeAttribute("aria-selected")},[]),T=E.useCallback(I=>{const q=document.getElementById(u.current)?.querySelectorAll("[data-combobox-option]");if(!q)return null;const V=I>=q.length?0:I<0?q.length-1:I;return d.current=V,q?.[V]&&!q[V].hasAttribute("data-combobox-disabled")?(_(),q[V].setAttribute("data-combobox-selected","true"),q[V].setAttribute("aria-selected","true"),q[V].scrollIntoView({block:"nearest",behavior:l}),q[V].id):null},[l,_]),R=E.useCallback(()=>{const I=document.querySelector(`#${u.current} [data-combobox-active]`);if(I){const q=document.querySelectorAll(`#${u.current} [data-combobox-option]`),V=Array.from(q).findIndex(G=>G===I);return T(V)}return T(0)},[T]),A=E.useCallback(()=>T(VIe(d.current,document.querySelectorAll(`#${u.current} [data-combobox-option]`),i)),[T,i]),D=E.useCallback(()=>T(UIe(d.current,document.querySelectorAll(`#${u.current} [data-combobox-option]`),i)),[T,i]),N=E.useCallback(()=>T(YIe(document.querySelectorAll(`#${u.current} [data-combobox-option]`))),[T]),$=E.useCallback((I="selected",q)=>{x.current=window.setTimeout(()=>{const V=document.querySelectorAll(`#${u.current} [data-combobox-option]`),G=Array.from(V).findIndex(F=>F.hasAttribute(`data-combobox-${I}`));d.current=G,q?.scrollIntoView&&V[G]?.scrollIntoView({block:"nearest",behavior:l})},0)},[]),M=E.useCallback(()=>{d.current=-1,_()},[_]),j=E.useCallback(()=>{document.querySelectorAll(`#${u.current} [data-combobox-option]`)?.[d.current]?.click()},[]),L=E.useCallback(I=>{u.current=I},[]),Y=E.useCallback(()=>{g.current=window.setTimeout(()=>p.current?.focus(),0)},[]),O=E.useCallback(()=>{b.current=window.setTimeout(()=>f.current?.focus(),0)},[]),U=E.useCallback(()=>d.current,[]);return E.useEffect(()=>()=>{window.clearTimeout(g.current),window.clearTimeout(b.current),window.clearTimeout(x.current)},[]),{dropdownOpened:s,openDropdown:w,closeDropdown:k,toggleDropdown:C,selectedOptionIndex:d.current,getSelectedOptionIndex:U,selectOption:T,selectFirstOption:N,selectActiveOption:R,selectNextOption:A,selectPreviousOption:D,resetSelectedOption:M,updateSelectedOptionIndex:$,listId:u.current,setListId:L,clickSelectedOption:j,searchRef:p,focusSearchInput:Y,targetRef:f,focusTarget:O}}const WIe={keepMounted:!0,withinPortal:!0,resetSelectionOnOptionHover:!1,width:"target",transitionProps:{transition:"fade",duration:0},size:"sm"},GIe=(e,{size:r,dropdownPadding:n})=>({options:{"--combobox-option-fz":No(r),"--combobox-option-padding":sr(r,"combobox-option-padding")},dropdown:{"--combobox-padding":n===void 0?void 0:Ae(n),"--combobox-option-fz":No(r),"--combobox-option-padding":sr(r,"combobox-option-padding")}});function Kn(e){const r=ze("Combobox",WIe,e),{classNames:n,styles:o,unstyled:a,children:i,store:l,vars:s,onOptionSubmit:c,onClose:u,size:d,dropdownPadding:p,resetSelectionOnOptionHover:f,__staticSelector:g,readOnly:b,attributes:x,...w}=r,k=tW(),C=l||k,_=bt({name:g||"Combobox",classes:li,props:r,classNames:n,styles:o,unstyled:a,attributes:x,vars:s,varsResolver:GIe}),T=()=>{u?.(),C.closeDropdown()};return y.jsx(BIe,{value:{getStyles:_,store:C,onOptionSubmit:c,size:d,resetSelectionOnOptionHover:f,readOnly:b},children:y.jsx(mr,{opened:C.dropdownOpened,preventPositionChangeWhenVisible:!0,...w,onChange:R=>!R&&T(),withRoles:!1,unstyled:a,children:i})})}const XIe=e=>e;Kn.extend=XIe,Kn.classes=li,Kn.displayName="@mantine/core/Combobox",Kn.Target=c7,Kn.Dropdown=Mw,Kn.Options=Ow,Kn.Option=z0,Kn.Search=s7,Kn.Empty=L0,Kn.Chevron=n7,Kn.Footer=a7,Kn.Header=l7,Kn.EventsTarget=JY,Kn.DropdownTarget=QY,Kn.Group=i7,Kn.ClearButton=ZY,Kn.HiddenInput=eW;function rW({size:e,style:r,...n}){const o=e!==void 0?{width:Ae(e),height:Ae(e),...r}:r;return y.jsx("svg",{viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:o,"aria-hidden":!0,...n,children:y.jsx("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}var nW={root:"m_347db0ec","root--dot":"m_fbd81e3d",label:"m_5add502a",section:"m_91fdda9b"};const KIe=(e,{radius:r,color:n,gradient:o,variant:a,size:i,autoContrast:l})=>{const s=e.variantColorResolver({color:n||e.primaryColor,theme:e,gradient:o,variant:a||"filled",autoContrast:l});return{root:{"--badge-height":sr(i,"badge-height"),"--badge-padding-x":sr(i,"badge-padding-x"),"--badge-fz":sr(i,"badge-fz"),"--badge-radius":r===void 0?void 0:bn(r),"--badge-bg":n||a?s.background:void 0,"--badge-color":n||a?s.color:void 0,"--badge-bd":n||a?s.border:void 0,"--badge-dot-color":a==="dot"?Jo(n,e):void 0}}},Xs=Xn((e,r)=>{const n=ze("Badge",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,radius:u,color:d,gradient:p,leftSection:f,rightSection:g,children:b,variant:x,fullWidth:w,autoContrast:k,circle:C,mod:_,attributes:T,...R}=n,A=bt({name:"Badge",props:n,classes:nW,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:T,vars:c,varsResolver:KIe});return y.jsxs(Se,{variant:x,mod:[{block:w,circle:C,"with-right-section":!!g,"with-left-section":!!f},_],...A("root",{variant:x}),ref:r,...R,children:[f&&y.jsx("span",{...A("section"),"data-position":"left",children:f}),y.jsx("span",{...A("label"),children:b}),g&&y.jsx("span",{...A("section"),"data-position":"right",children:g})]})});Xs.classes=nW,Xs.displayName="@mantine/core/Badge";var oW={root:"m_8b3717df",breadcrumb:"m_f678d540",separator:"m_3b8f2208"};const ZIe={separator:"/"},QIe=(e,{separatorMargin:r})=>({root:{"--bc-separator-margin":qs(r)}}),Iw=lt((e,r)=>{const n=ze("Breadcrumbs",ZIe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,children:u,separator:d,separatorMargin:p,attributes:f,...g}=n,b=bt({name:"Breadcrumbs",classes:oW,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:f,vars:c,varsResolver:QIe}),x=E.Children.toArray(u).reduce((w,k,C,_)=>{const T=Qi(k)?E.cloneElement(k,{...b("breadcrumb",{className:k.props?.className}),key:C}):E.createElement("div",{...b("breadcrumb"),key:C},k);return w.push(T),C!==_.length-1&&w.push(E.createElement(Se,{...b("separator"),key:`separator-${C}`},d)),w},[]);return y.jsx(Se,{ref:r,...b("root"),...g,children:x})});Iw.classes=oW,Iw.displayName="@mantine/core/Breadcrumbs";var Of={root:"m_77c9d27d",inner:"m_80f1301b",label:"m_811560b9",section:"m_a74036a",loader:"m_a25b86ee",group:"m_80d6d844",groupSection:"m_70be2a01"};const aW={orientation:"horizontal"},JIe=(e,{borderWidth:r})=>({group:{"--button-border-width":Ae(r)}}),u7=lt((e,r)=>{const n=ze("ButtonGroup",aW,e),{className:o,style:a,classNames:i,styles:l,unstyled:s,orientation:c,vars:u,borderWidth:d,variant:p,mod:f,attributes:g,...b}=ze("ButtonGroup",aW,e),x=bt({name:"ButtonGroup",props:n,classes:Of,className:o,style:a,classNames:i,styles:l,unstyled:s,attributes:g,vars:u,varsResolver:JIe,rootSelector:"group"});return y.jsx(Se,{...x("group"),ref:r,variant:p,mod:[{"data-orientation":c},f],role:"group",...b})});u7.classes=Of,u7.displayName="@mantine/core/ButtonGroup";const eLe=(e,{radius:r,color:n,gradient:o,variant:a,autoContrast:i,size:l})=>{const s=e.variantColorResolver({color:n||e.primaryColor,theme:e,gradient:o,variant:a||"filled",autoContrast:i});return{groupSection:{"--section-height":sr(l,"section-height"),"--section-padding-x":sr(l,"section-padding-x"),"--section-fz":l?.includes("compact")?No(l.replace("compact-","")):No(l),"--section-radius":r===void 0?void 0:bn(r),"--section-bg":n||a?s.background:void 0,"--section-color":s.color,"--section-bd":n||a?s.border:void 0}}},d7=lt((e,r)=>{const n=ze("ButtonGroupSection",null,e),{className:o,style:a,classNames:i,styles:l,unstyled:s,vars:c,variant:u,gradient:d,radius:p,autoContrast:f,attributes:g,...b}=n,x=bt({name:"ButtonGroupSection",props:n,classes:Of,className:o,style:a,classNames:i,styles:l,unstyled:s,attributes:g,vars:c,varsResolver:eLe,rootSelector:"groupSection"});return y.jsx(Se,{...x("groupSection"),ref:r,variant:u,...b})});d7.classes=Of,d7.displayName="@mantine/core/ButtonGroupSection";const tLe={in:{opacity:1,transform:`translate(-50%, calc(-50% + ${Ae(1)}))`},out:{opacity:0,transform:"translate(-50%, -200%)"},common:{transformOrigin:"center"},transitionProperty:"transform, opacity"},rLe=(e,{radius:r,color:n,gradient:o,variant:a,size:i,justify:l,autoContrast:s})=>{const c=e.variantColorResolver({color:n||e.primaryColor,theme:e,gradient:o,variant:a||"filled",autoContrast:s});return{root:{"--button-justify":l,"--button-height":sr(i,"button-height"),"--button-padding-x":sr(i,"button-padding-x"),"--button-fz":i?.includes("compact")?No(i.replace("compact-","")):No(i),"--button-radius":r===void 0?void 0:bn(r),"--button-bg":n||a?c.background:void 0,"--button-hover":n||a?c.hover:void 0,"--button-color":c.color,"--button-bd":n||a?c.border:void 0,"--button-hover-color":n||a?c.hoverColor:void 0}}},Zn=Xn((e,r)=>{const n=ze("Button",null,e),{style:o,vars:a,className:i,color:l,disabled:s,children:c,leftSection:u,rightSection:d,fullWidth:p,variant:f,radius:g,loading:b,loaderProps:x,gradient:w,classNames:k,styles:C,unstyled:_,"data-disabled":T,autoContrast:R,mod:A,attributes:D,...N}=n,$=bt({name:"Button",props:n,classes:Of,className:i,style:o,classNames:k,styles:C,unstyled:_,attributes:D,vars:a,varsResolver:rLe}),M=!!u,j=!!d;return y.jsxs(Pr,{ref:r,...$("root",{active:!s&&!b&&!T}),unstyled:_,variant:f,disabled:s||b,mod:[{disabled:s||T,loading:b,block:p,"with-left-section":M,"with-right-section":j},A],...N,children:[typeof b=="boolean"&&y.jsx(hu,{mounted:b,transition:tLe,duration:150,children:L=>y.jsx(Se,{component:"span",...$("loader",{style:L}),"aria-hidden":!0,children:y.jsx(Pf,{color:"var(--button-color)",size:"calc(var(--button-height) / 1.8)",...x})})}),y.jsxs("span",{...$("inner"),children:[u&&y.jsx(Se,{component:"span",...$("section"),mod:{position:"left"},children:u}),y.jsx(Se,{component:"span",mod:{loading:b},...$("label"),children:c}),d&&y.jsx(Se,{component:"span",...$("section"),mod:{position:"right"},children:d})]})]})});Zn.classes=Of,Zn.displayName="@mantine/core/Button",Zn.Group=u7,Zn.GroupSection=d7;const[nLe,oLe]=ri("Card component was not found in tree");var p7={root:"m_e615b15f",section:"m_599a2148"};const Lw=Xn((e,r)=>{const n=ze("CardSection",null,e),{classNames:o,className:a,style:i,styles:l,vars:s,withBorder:c,inheritPadding:u,mod:d,...p}=n,f=oLe();return y.jsx(Se,{ref:r,mod:[{"with-border":c,"inherit-padding":u},d],...f.getStyles("section",{className:a,style:i,styles:l,classNames:o}),...p})});Lw.classes=p7,Lw.displayName="@mantine/core/CardSection";const aLe=(e,{padding:r})=>({root:{"--card-padding":qs(r)}}),zw=Xn((e,r)=>{const n=ze("Card",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,children:u,padding:d,attributes:p,...f}=n,g=bt({name:"Card",props:n,classes:p7,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:p,vars:c,varsResolver:aLe}),b=E.Children.toArray(u),x=b.map((w,k)=>typeof w=="object"&&w&&"type"in w&&w.type===Lw?E.cloneElement(w,{"data-first-section":k===0||void 0,"data-last-section":k===b.length-1||void 0}):w);return y.jsx(nLe,{value:{getStyles:g},children:y.jsx(Nf,{ref:r,unstyled:s,...g("root"),...f,children:x})})});zw.classes=p7,zw.displayName="@mantine/core/Card",zw.Section=Lw;var iW={root:"m_b183c0a2"};const iLe=(e,{color:r})=>({root:{"--code-bg":r?Jo(r,e):void 0}}),Bw=lt((e,r)=>{const n=ze("Code",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,color:u,block:d,variant:p,mod:f,attributes:g,...b}=n,x=bt({name:"Code",props:n,classes:iW,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:g,vars:c,varsResolver:iLe});return y.jsx(Se,{component:d?"pre":"code",variant:p,ref:r,mod:[{block:d},f],...x("root"),...b,dir:"ltr"})});Bw.classes=iW,Bw.displayName="@mantine/core/Code";var lW={root:"m_de3d2490",colorOverlay:"m_862f3d1b",shadowOverlay:"m_98ae7f22",alphaOverlay:"m_95709ac0",childrenOverlay:"m_93e74e3"};const sW={withShadow:!0},lLe=(e,{radius:r,size:n})=>({root:{"--cs-radius":r===void 0?void 0:bn(r),"--cs-size":Ae(n)}}),B0=Xn((e,r)=>{const n=ze("ColorSwatch",sW,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,color:u,size:d,radius:p,withShadow:f,children:g,variant:b,attributes:x,...w}=ze("ColorSwatch",sW,n),k=bt({name:"ColorSwatch",props:n,classes:lW,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:x,vars:c,varsResolver:lLe});return y.jsxs(Se,{ref:r,variant:b,size:d,...k("root",{focusable:!0}),...w,children:[y.jsx("span",{...k("alphaOverlay")}),f&&y.jsx("span",{...k("shadowOverlay")}),y.jsx("span",{...k("colorOverlay",{style:{backgroundColor:u}})}),y.jsx("span",{...k("childrenOverlay"),children:g})]})});B0.classes=lW,B0.displayName="@mantine/core/ColorSwatch";const sLe={timeout:1e3};function cW(e){const{children:r,timeout:n,value:o,...a}=ze("CopyButton",sLe,e),i=rPe({timeout:n});return y.jsx(y.Fragment,{children:r({copy:()=>i.copy(o),copied:i.copied,...a})})}cW.displayName="@mantine/core/CopyButton";var uW={root:"m_3eebeb36",label:"m_9e365f20"};const cLe={orientation:"horizontal"},uLe=(e,{color:r,variant:n,size:o})=>({root:{"--divider-color":r?Jo(r,e):void 0,"--divider-border-style":n,"--divider-size":sr(o,"divider-size")}}),If=lt((e,r)=>{const n=ze("Divider",cLe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,color:u,orientation:d,label:p,labelPosition:f,mod:g,attributes:b,...x}=n,w=bt({name:"Divider",classes:uW,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:b,vars:c,varsResolver:uLe});return y.jsx(Se,{ref:r,mod:[{orientation:d,"with-label":!!p},g],...w("root"),...x,role:"separator",children:p&&y.jsx(Se,{component:"span",mod:{position:f},...w("label"),children:p})})});If.classes=uW,If.displayName="@mantine/core/Divider";const[dW,pW]=ri("Grid component was not found in tree"),h7=(e,r)=>e==="content"?"auto":e==="auto"?"0rem":e?`${100/(r/e)}%`:void 0,hW=(e,r,n)=>n||e==="auto"?"100%":e==="content"?"unset":h7(e,r),fW=(e,r)=>{if(e)return e==="auto"||r?"1":"auto"},mW=(e,r)=>e===0?"0":e?`${100/(r/e)}%`:void 0;function dLe({span:e,order:r,offset:n,selector:o}){const a=po(),i=pW(),l=i.breakpoints||a.breakpoints,s=R0(e)===void 0?12:R0(e),c=yf({"--col-order":R0(r)?.toString(),"--col-flex-grow":fW(s,i.grow),"--col-flex-basis":h7(s,i.columns),"--col-width":s==="content"?"auto":void 0,"--col-max-width":hW(s,i.columns,i.grow),"--col-offset":mW(R0(n),i.columns)}),u=Ao(l).reduce((p,f)=>(p[f]||(p[f]={}),typeof r=="object"&&r[f]!==void 0&&(p[f]["--col-order"]=r[f]?.toString()),typeof e=="object"&&e[f]!==void 0&&(p[f]["--col-flex-grow"]=fW(e[f],i.grow),p[f]["--col-flex-basis"]=h7(e[f],i.columns),p[f]["--col-width"]=e[f]==="content"?"auto":void 0,p[f]["--col-max-width"]=hW(e[f],i.columns,i.grow)),typeof n=="object"&&n[f]!==void 0&&(p[f]["--col-offset"]=mW(n[f],i.columns)),p),{}),d=NU(Ao(u),l).filter(p=>Ao(u[p.value]).length>0).map(p=>({query:i.type==="container"?`mantine-grid (min-width: ${l[p.value]})`:`(min-width: ${l[p.value]})`,styles:u[p.value]}));return y.jsx(tw,{styles:c,media:i.type==="container"?void 0:d,container:i.type==="container"?d:void 0,selector:o})}var f7={container:"m_8478a6da",root:"m_410352e9",inner:"m_dee7bd2f",col:"m_96bdd299"};const pLe={span:12},Zd=lt((e,r)=>{const n=ze("GridCol",pLe,e),{classNames:o,className:a,style:i,styles:l,vars:s,span:c,order:u,offset:d,...p}=n,f=pW(),g=rw();return y.jsxs(y.Fragment,{children:[y.jsx(dLe,{selector:`.${g}`,span:c,order:u,offset:d}),y.jsx(Se,{ref:r,...f.getStyles("col",{className:Ji(a,g),style:i,classNames:o,styles:l}),...p})]})});Zd.classes=f7,Zd.displayName="@mantine/core/GridCol";function gW({gutter:e,selector:r,breakpoints:n,type:o}){const a=po(),i=n||a.breakpoints,l=yf({"--grid-gutter":qs(R0(e))}),s=Ao(i).reduce((u,d)=>(u[d]||(u[d]={}),typeof e=="object"&&e[d]!==void 0&&(u[d]["--grid-gutter"]=qs(e[d])),u),{}),c=NU(Ao(s),i).filter(u=>Ao(s[u.value]).length>0).map(u=>({query:o==="container"?`mantine-grid (min-width: ${i[u.value]})`:`(min-width: ${i[u.value]})`,styles:s[u.value]}));return y.jsx(tw,{styles:l,media:o==="container"?void 0:c,container:o==="container"?c:void 0,selector:r})}const hLe={gutter:"md",grow:!1,columns:12},fLe=(e,{justify:r,align:n,overflow:o})=>({root:{"--grid-justify":r,"--grid-align":n,"--grid-overflow":o}}),j0=lt((e,r)=>{const n=ze("Grid",hLe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,grow:u,gutter:d,columns:p,align:f,justify:g,children:b,breakpoints:x,type:w,attributes:k,...C}=n,_=bt({name:"Grid",classes:f7,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:k,vars:c,varsResolver:fLe}),T=rw();return w==="container"&&x?y.jsxs(dW,{value:{getStyles:_,grow:u,columns:p,breakpoints:x,type:w},children:[y.jsx(gW,{selector:`.${T}`,...n}),y.jsx("div",{..._("container"),children:y.jsx(Se,{ref:r,..._("root",{className:T}),...C,children:y.jsx("div",{..._("inner"),children:b})})})]}):y.jsxs(dW,{value:{getStyles:_,grow:u,columns:p,breakpoints:x,type:w},children:[y.jsx(gW,{selector:`.${T}`,...n}),y.jsx(Se,{ref:r,..._("root",{className:T}),...C,children:y.jsx("div",{..._("inner"),children:b})})]})});j0.classes=f7,j0.displayName="@mantine/core/Grid",j0.Col=Zd;function yW({color:e,theme:r,defaultShade:n}){const o=uu({color:e,theme:r});return o.isThemeColor?o.shade===void 0?`var(--mantine-color-${o.color}-${n})`:`var(${o.variable})`:e}var bW={root:"m_bcb3f3c2"};const mLe={color:"yellow"},gLe=(e,{color:r})=>({root:{"--mark-bg-dark":yW({color:r,theme:e,defaultShade:5}),"--mark-bg-light":yW({color:r,theme:e,defaultShade:2})}}),m7=lt((e,r)=>{const n=ze("Mark",mLe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,color:u,variant:d,attributes:p,...f}=n,g=bt({name:"Mark",props:n,className:a,style:i,classes:bW,classNames:o,styles:l,unstyled:s,attributes:p,vars:c,varsResolver:gLe});return y.jsx(Se,{component:"mark",ref:r,variant:d,...g("root"),...f})});m7.classes=bW,m7.displayName="@mantine/core/Mark";function vW(e){return e.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&")}function yLe(e,r){if(r==null)return[{chunk:e,highlighted:!1}];const n=Array.isArray(r)?r.map(vW):vW(r);if(!(Array.isArray(n)?n.filter(i=>i.trim().length>0).length>0:n.trim()!==""))return[{chunk:e,highlighted:!1}];const o=typeof n=="string"?n.trim():n.filter(i=>i.trim().length!==0).map(i=>i.trim()).sort((i,l)=>l.length-i.length).join("|"),a=new RegExp(`(${o})`,"gi");return e.split(a).map(i=>({chunk:i,highlighted:a.test(i)})).filter(({chunk:i})=>i)}const Ks=Xn((e,r)=>{const{unstyled:n,children:o,highlight:a,highlightStyles:i,color:l,...s}=ze("Highlight",null,e),c=yLe(o,a);return y.jsx(wt,{unstyled:n,ref:r,...s,__staticSelector:"Highlight",children:c.map(({chunk:u,highlighted:d},p)=>d?y.jsx(m7,{unstyled:n,color:l,style:i,"data-highlight":u,children:u},p):y.jsx("span",{children:u},p))})});Ks.classes=wt.classes,Ks.displayName="@mantine/core/Highlight";const[bLe,xW]=ri("HoverCard component was not found in the tree"),wW=E.createContext(!1),vLe=wW.Provider,g7=()=>E.useContext(wW);function y7(e){const{children:r,onMouseEnter:n,onMouseLeave:o,...a}=ze("HoverCardDropdown",null,e),i=xW();if(g7()&&i.getFloatingProps&&i.floating){const c=i.getFloatingProps();return y.jsx(mr.Dropdown,{ref:i.floating,...c,onMouseEnter:vn(n,c.onMouseEnter),onMouseLeave:vn(o,c.onMouseLeave),...a,children:r})}const l=vn(n,i.openDropdown),s=vn(o,i.closeDropdown);return y.jsx(mr.Dropdown,{onMouseEnter:l,onMouseLeave:s,...a,children:r})}y7.displayName="@mantine/core/HoverCardDropdown";const xLe={openDelay:0,closeDelay:0};function b7(e){const{openDelay:r,closeDelay:n,children:o}=ze("HoverCardGroup",xLe,e);return y.jsx(vLe,{value:!0,children:y.jsx(aY,{delay:{open:r,close:n},children:o})})}b7.displayName="@mantine/core/HoverCardGroup",b7.extend=e=>e;const wLe={refProp:"ref"},v7=E.forwardRef((e,r)=>{const{children:n,refProp:o,eventPropsWrapperName:a,...i}=ze("HoverCardTarget",wLe,e);if(!Qi(n))throw new Error("HoverCard.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const l=xW();if(g7()&&l.getReferenceProps&&l.reference){const d=l.getReferenceProps();return y.jsx(mr.Target,{refProp:o,ref:r,...i,children:E.cloneElement(n,a?{[a]:{...d,ref:l.reference}}:{...d,ref:l.reference})})}const s=vn(n.props.onMouseEnter,l.openDropdown),c=vn(n.props.onMouseLeave,l.closeDropdown),u={onMouseEnter:s,onMouseLeave:c};return y.jsx(mr.Target,{refProp:o,ref:r,...i,children:E.cloneElement(n,a?{[a]:u}:u)})});v7.displayName="@mantine/core/HoverCardTarget";function kLe(e){const[r,n]=E.useState(e.defaultOpened),o=typeof e.opened=="boolean"?e.opened:r,a=g7(),i=Ta(),l=E.useRef(-1),s=E.useRef(-1),c=E.useCallback(()=>{window.clearTimeout(l.current),window.clearTimeout(s.current)},[]),u=E.useCallback(C=>{n(C),C?(g(i),e.onOpen?.()):e.onClose?.()},[i,e.onOpen,e.onClose]),{context:d,refs:p}=xw({open:o,onOpenChange:u}),{delay:f,setCurrentId:g}=iY(d,{id:i}),{getReferenceProps:b,getFloatingProps:x}=cY([nY(d,{enabled:!0,delay:a?f:{open:e.openDelay,close:e.closeDelay}}),uY(d,{role:"dialog"}),sY(d,{enabled:a})]),w=E.useCallback(()=>{a||(c(),e.openDelay===0||e.openDelay===void 0?u(!0):l.current=window.setTimeout(()=>u(!0),e.openDelay))},[a,c,e.openDelay,u]),k=E.useCallback(()=>{a||(c(),e.closeDelay===0||e.closeDelay===void 0?u(!1):s.current=window.setTimeout(()=>u(!1),e.closeDelay))},[a,c,e.closeDelay,u]);return E.useEffect(()=>()=>c(),[c]),{opened:o,reference:p.setReference,floating:p.setFloating,getReferenceProps:b,getFloatingProps:x,openDropdown:w,closeDropdown:k}}const _Le={openDelay:0,closeDelay:150,initiallyOpened:!1};function Lf(e){const{children:r,onOpen:n,onClose:o,openDelay:a,closeDelay:i,initiallyOpened:l,...s}=ze("HoverCard",_Le,e),c=kLe({openDelay:a,closeDelay:i,defaultOpened:l,onOpen:n,onClose:o});return y.jsx(bLe,{value:{openDropdown:c.openDropdown,closeDropdown:c.closeDropdown,getReferenceProps:c.getReferenceProps,getFloatingProps:c.getFloatingProps,reference:c.reference,floating:c.floating},children:y.jsx(mr,{...s,opened:c.opened,__staticSelector:"HoverCard",children:r})})}Lf.displayName="@mantine/core/HoverCard",Lf.Target=v7,Lf.Dropdown=y7,Lf.Group=b7,Lf.extend=e=>e;var ELe=E.useLayoutEffect;const[SLe,mu]=ri("Menu component was not found in the tree");var gu={dropdown:"m_dc9b7c9f",label:"m_9bfac126",divider:"m_efdf90cb",item:"m_99ac2aa1",itemLabel:"m_5476e0d3",itemSection:"m_8b75e504",chevron:"m_b85b0bed"};const x7=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,...s}=ze("MenuDivider",null,e),c=mu();return y.jsx(Se,{ref:r,...c.getStyles("divider",{className:o,style:a,styles:i,classNames:n}),...s})});x7.classes=gu,x7.displayName="@mantine/core/MenuDivider";const F0=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,onMouseEnter:s,onMouseLeave:c,onKeyDown:u,children:d,...p}=ze("MenuDropdown",null,e),f=E.useRef(null),g=mu(),b=vn(u,k=>{(k.key==="ArrowUp"||k.key==="ArrowDown")&&(k.preventDefault(),f.current?.querySelectorAll("[data-menu-item]:not(:disabled)")[0]?.focus())}),x=vn(s,()=>(g.trigger==="hover"||g.trigger==="click-hover")&&g.openDropdown()),w=vn(c,()=>(g.trigger==="hover"||g.trigger==="click-hover")&&g.closeDropdown());return y.jsxs(mr.Dropdown,{...p,onMouseEnter:x,onMouseLeave:w,role:"menu","aria-orientation":"vertical",ref:Nr(r,f),...g.getStyles("dropdown",{className:o,style:a,styles:i,classNames:n,withStaticClass:!1}),tabIndex:-1,"data-menu-dropdown":!0,onKeyDown:b,children:[g.withInitialFocusPlaceholder&&y.jsx("div",{tabIndex:-1,"data-autofocus":!0,"data-mantine-stop-propagation":!0,style:{outline:0}}),d]})});F0.classes=gu,F0.displayName="@mantine/core/MenuDropdown";const[CLe,jw]=C0(),H0=Xn((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,color:s,closeMenuOnClick:c,leftSection:u,rightSection:d,children:p,disabled:f,"data-disabled":g,...b}=ze("MenuItem",null,e),x=mu(),w=jw(),k=po(),{dir:C}=du(),_=E.useRef(null),T=b,R=vn(T.onClick,()=>{g||(typeof c=="boolean"?c&&x.closeDropdownImmediately():x.closeOnItemClick&&x.closeDropdownImmediately())}),A=s?k.variantColorResolver({color:s,theme:k,variant:"light"}):void 0,D=s?uu({color:s,theme:k}):null,N=vn(T.onKeyDown,$=>{$.key==="ArrowLeft"&&w&&(w.close(),w.focusParentItem())});return y.jsxs(Pr,{onMouseDown:$=>$.preventDefault(),...b,unstyled:x.unstyled,tabIndex:x.menuItemTabIndex,...x.getStyles("item",{className:o,style:a,styles:i,classNames:n}),ref:Nr(_,r),role:"menuitem",disabled:f,"data-menu-item":!0,"data-disabled":f||g||void 0,"data-mantine-stop-propagation":!0,onClick:R,onKeyDown:T0({siblingSelector:"[data-menu-item]:not([data-disabled])",parentSelector:"[data-menu-dropdown]",activateOnFocus:!1,loop:x.loop,dir:C,orientation:"vertical",onKeyDown:N}),__vars:{"--menu-item-color":D?.isThemeColor&&D?.shade===void 0?`var(--mantine-color-${D.color}-6)`:A?.color,"--menu-item-hover":A?.hover},children:[u&&y.jsx("div",{...x.getStyles("itemSection",{styles:i,classNames:n}),"data-position":"left",children:u}),p&&y.jsx("div",{...x.getStyles("itemLabel",{styles:i,classNames:n}),children:p}),d&&y.jsx("div",{...x.getStyles("itemSection",{styles:i,classNames:n}),"data-position":"right",children:d})]})});H0.classes=gu,H0.displayName="@mantine/core/MenuItem";const w7=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,...s}=ze("MenuLabel",null,e),c=mu();return y.jsx(Se,{ref:r,...c.getStyles("label",{className:o,style:a,styles:i,classNames:n}),...s})});w7.classes=gu,w7.displayName="@mantine/core/MenuLabel";const k7=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,onMouseEnter:s,onMouseLeave:c,onKeyDown:u,children:d,...p}=ze("MenuSubDropdown",null,e),f=E.useRef(null),g=mu(),b=jw(),x=vn(s,b?.open),w=vn(c,b?.close);return y.jsx(mr.Dropdown,{...p,onMouseEnter:x,onMouseLeave:w,role:"menu","aria-orientation":"vertical",ref:Nr(r,f),...g.getStyles("dropdown",{className:o,style:a,styles:i,classNames:n,withStaticClass:!1}),tabIndex:-1,"data-menu-dropdown":!0,children:d})});k7.classes=gu,k7.displayName="@mantine/core/MenuSubDropdown";const _7=Xn((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,color:s,leftSection:c,rightSection:u,children:d,disabled:p,"data-disabled":f,closeMenuOnClick:g,...b}=ze("MenuSubItem",null,e),x=mu(),w=jw(),k=po(),{dir:C}=du(),_=E.useRef(null),T=b,R=s?k.variantColorResolver({color:s,theme:k,variant:"light"}):void 0,A=s?uu({color:s,theme:k}):null,D=vn(T.onKeyDown,j=>{j.key==="ArrowRight"&&(w?.open(),w?.focusFirstItem()),j.key==="ArrowLeft"&&w?.parentContext&&(w.parentContext.close(),w.parentContext.focusParentItem())}),N=vn(T.onClick,()=>{!f&&g&&x.closeDropdownImmediately()}),$=vn(T.onMouseEnter,w?.open),M=vn(T.onMouseLeave,w?.close);return y.jsxs(Pr,{onMouseDown:j=>j.preventDefault(),...b,unstyled:x.unstyled,tabIndex:x.menuItemTabIndex,...x.getStyles("item",{className:o,style:a,styles:i,classNames:n}),ref:Nr(_,r),role:"menuitem",disabled:p,"data-menu-item":!0,"data-sub-menu-item":!0,"data-disabled":p||f||void 0,"data-mantine-stop-propagation":!0,onMouseEnter:$,onMouseLeave:M,onClick:N,onKeyDown:T0({siblingSelector:"[data-menu-item]:not([data-disabled])",parentSelector:"[data-menu-dropdown]",activateOnFocus:!1,loop:x.loop,dir:C,orientation:"vertical",onKeyDown:D}),__vars:{"--menu-item-color":A?.isThemeColor&&A?.shade===void 0?`var(--mantine-color-${A.color}-6)`:R?.color,"--menu-item-hover":R?.hover},children:[c&&y.jsx("div",{...x.getStyles("itemSection",{styles:i,classNames:n}),"data-position":"left",children:c}),d&&y.jsx("div",{...x.getStyles("itemLabel",{styles:i,classNames:n}),children:d}),y.jsx("div",{...x.getStyles("itemSection",{styles:i,classNames:n}),"data-position":"right",children:u||y.jsx(t7,{...x.getStyles("chevron"),size:14})})]})});_7.classes=gu,_7.displayName="@mantine/core/MenuSubItem";function kW({children:e,refProp:r}){if(!Qi(e))throw new Error("Menu.Sub.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");return mu(),y.jsx(mr.Target,{refProp:r,popupType:"menu",children:e})}kW.displayName="@mantine/core/MenuSubTarget";const TLe={offset:0,position:"right-start",transitionProps:{duration:0},middlewares:{shift:{crossAxis:!0}}};function zf(e){const{children:r,closeDelay:n,...o}=ze("MenuSub",TLe,e),a=Ta(),[i,{open:l,close:s}]=APe(!1),c=jw(),{openDropdown:u,closeDropdown:d}=WY({open:l,close:s,closeDelay:n,openDelay:0});return y.jsx(CLe,{value:{opened:i,close:d,open:u,focusFirstItem:()=>window.setTimeout(()=>{document.getElementById(`${a}-dropdown`)?.querySelectorAll("[data-menu-item]:not([data-disabled])")[0]?.focus()},16),focusParentItem:()=>window.setTimeout(()=>{document.getElementById(`${a}-target`)?.focus()},16),parentContext:c},children:y.jsx(mr,{opened:i,...o,withinPortal:!1,withArrow:!1,id:a,children:r})})}zf.extend=e=>e,zf.displayName="@mantine/core/MenuSub",zf.Target=kW,zf.Dropdown=k7,zf.Item=_7;const RLe={refProp:"ref"},Fw=E.forwardRef((e,r)=>{const{children:n,refProp:o,...a}=ze("MenuTarget",RLe,e);if(!Qi(n))throw new Error("Menu.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const i=mu(),l=n.props,s=vn(l.onClick,()=>{i.trigger==="click"?i.toggleDropdown():i.trigger==="click-hover"&&(i.setOpenedViaClick(!0),i.opened||i.openDropdown())}),c=vn(l.onMouseEnter,()=>(i.trigger==="hover"||i.trigger==="click-hover")&&i.openDropdown()),u=vn(l.onMouseLeave,()=>{(i.trigger==="hover"||i.trigger==="click-hover"&&!i.openedViaClick)&&i.closeDropdown()});return y.jsx(mr.Target,{refProp:o,popupType:"menu",ref:r,...a,children:E.cloneElement(n,{onClick:s,onMouseEnter:c,onMouseLeave:u,"data-expanded":i.opened?!0:void 0})})});Fw.displayName="@mantine/core/MenuTarget";const ALe={trapFocus:!0,closeOnItemClick:!0,withInitialFocusPlaceholder:!0,clickOutsideEvents:["mousedown","touchstart","keydown"],loop:!0,trigger:"click",openDelay:0,closeDelay:100,menuItemTabIndex:-1};function ho(e){const r=ze("Menu",ALe,e),{children:n,onOpen:o,onClose:a,opened:i,defaultOpened:l,trapFocus:s,onChange:c,closeOnItemClick:u,loop:d,closeOnEscape:p,trigger:f,openDelay:g,closeDelay:b,classNames:x,styles:w,unstyled:k,variant:C,vars:_,menuItemTabIndex:T,keepMounted:R,withInitialFocusPlaceholder:A,attributes:D,...N}=r,$=bt({name:"Menu",classes:gu,props:r,classNames:x,styles:w,unstyled:k,attributes:D}),[M,j]=Us({value:i,defaultValue:l,finalValue:!1,onChange:c}),[L,Y]=E.useState(!1),O=()=>{j(!1),Y(!1),M&&a?.()},U=()=>{j(!0),!M&&o?.()},I=()=>{M?O():U()},{openDropdown:q,closeDropdown:V}=WY({open:U,close:O,closeDelay:b,openDelay:g}),G=Q=>JDe("[data-menu-item]","[data-menu-dropdown]",Q),{resolvedClassNames:F,resolvedStyles:J}=y9({classNames:x,styles:w,props:r});return y.jsx(SLe,{value:{getStyles:$,opened:M,toggleDropdown:I,getItemIndex:G,openedViaClick:L,setOpenedViaClick:Y,closeOnItemClick:u,closeDropdown:f==="click"?O:V,openDropdown:f==="click"?U:q,closeDropdownImmediately:O,loop:d,trigger:f,unstyled:k,menuItemTabIndex:T,withInitialFocusPlaceholder:A},children:y.jsx(mr,{...N,opened:M,onChange:I,defaultOpened:l,trapFocus:R?!1:s,closeOnEscape:p,__staticSelector:"Menu",classNames:F,styles:J,unstyled:k,variant:C,keepMounted:R,children:n})})}ho.extend=e=>e,ho.withProps=Y$e(ho),ho.classes=gu,ho.displayName="@mantine/core/Menu",ho.Item=H0,ho.Label=w7,ho.Dropdown=F0,ho.Target=Fw,ho.Divider=x7,ho.Sub=zf;const[D6t,_W]=C0(),[NLe,DLe]=C0();var Hw={root:"m_7cda1cd6","root--default":"m_44da308b","root--contrast":"m_e3a01f8",label:"m_1e0e6180",remove:"m_ae386778",group:"m_1dcfd90b"};const PLe=(e,{gap:r},{size:n})=>({group:{"--pg-gap":r!==void 0?sr(r):sr(n,"pg-gap")}}),E7=lt((e,r)=>{const n=ze("PillGroup",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,size:u,disabled:d,attributes:p,...f}=n,g=_W()?.size||u||void 0,b=bt({name:"PillGroup",classes:Hw,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:p,vars:c,varsResolver:PLe,stylesCtx:{size:g},rootSelector:"group"});return y.jsx(NLe,{value:{size:g,disabled:d},children:y.jsx(Se,{ref:r,size:g,...b("group"),...f})})});E7.classes=Hw,E7.displayName="@mantine/core/PillGroup";const $Le={variant:"default"},MLe=(e,{radius:r},{size:n})=>({root:{"--pill-fz":sr(n,"pill-fz"),"--pill-height":sr(n,"pill-height"),"--pill-radius":r===void 0?void 0:bn(r)}}),qw=lt((e,r)=>{const n=ze("Pill",$Le,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,variant:u,children:d,withRemoveButton:p,onRemove:f,removeButtonProps:g,radius:b,size:x,disabled:w,mod:k,attributes:C,..._}=n,T=DLe(),R=_W(),A=x||T?.size||void 0,D=R?.variant==="filled"?"contrast":u||"default",N=bt({name:"Pill",classes:Hw,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:C,vars:c,varsResolver:MLe,stylesCtx:{size:A}});return y.jsxs(Se,{component:"span",ref:r,variant:D,size:A,...N("root",{variant:D}),mod:[{"with-remove":p&&!w,disabled:w||T?.disabled},k],..._,children:[y.jsx("span",{...N("label"),children:d}),p&&y.jsx(Kd,{variant:"transparent",radius:b,tabIndex:-1,"aria-hidden":!0,unstyled:s,...g,...N("remove",{className:g?.className,style:g?.style}),onMouseDown:$=>{$.preventDefault(),$.stopPropagation(),g?.onMouseDown?.($)},onClick:$=>{$.stopPropagation(),f?.(),g?.onClick?.($)}})]})});qw.classes=Hw,qw.displayName="@mantine/core/Pill",qw.Group=E7;var EW={root:"m_f0824112",description:"m_57492dcc",section:"m_690090b5",label:"m_1f6ac4c4",body:"m_f07af9d2",children:"m_e17b862f",chevron:"m_1fd8a00b"};const OLe=(e,{variant:r,color:n,childrenOffset:o,autoContrast:a})=>{const i=e.variantColorResolver({color:n||e.primaryColor,theme:e,variant:r||"light",autoContrast:a});return{root:{"--nl-bg":n||r?i.background:void 0,"--nl-hover":n||r?i.hover:void 0,"--nl-color":n||r?i.color:void 0},children:{"--nl-offset":qs(o)}}},S7=Xn((e,r)=>{const n=ze("NavLink",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,opened:u,defaultOpened:d,onChange:p,children:f,active:g,disabled:b,leftSection:x,rightSection:w,label:k,description:C,disableRightSectionRotation:_,noWrap:T,childrenOffset:R,autoContrast:A,mod:D,attributes:N,...$}=n,M=bt({name:"NavLink",props:n,classes:EW,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:N,vars:c,varsResolver:OLe}),[j,L]=Us({value:u,defaultValue:d,finalValue:!1,onChange:p}),Y=!!f,O=U=>{$.onClick?.(U),Y&&(U.preventDefault(),L(!j))};return y.jsxs(y.Fragment,{children:[y.jsxs(Pr,{...M("root"),component:"a",ref:r,onClick:O,onKeyDown:U=>{$.onKeyDown?.(U),U.nativeEvent.code==="Space"&&Y&&(U.preventDefault(),L(!j))},unstyled:s,mod:[{disabled:b,active:g,expanded:j},D],...$,children:[x&&y.jsx(Se,{component:"span",...M("section"),mod:{position:"left"},children:x}),y.jsxs(Se,{...M("body"),mod:{"no-wrap":T},children:[y.jsx(Se,{component:"span",...M("label"),children:k}),y.jsx(Se,{component:"span",mod:{active:g},...M("description"),children:C})]}),(Y||w!==void 0)&&y.jsx(Se,{...M("section"),component:"span",mod:{rotate:j&&!_,position:"right"},children:Y?w!==void 0?w:y.jsx(t7,{...M("chevron")}):w})]}),Y&&y.jsx(mV,{in:j,...M("collapse"),children:y.jsx("div",{...M("children"),children:f})})]})});S7.classes=EW,S7.displayName="@mantine/core/NavLink";var SW={root:"m_a513464",icon:"m_a4ceffb",loader:"m_b0920b15",body:"m_a49ed24",title:"m_3feedf16",description:"m_3d733a3a",closeButton:"m_919a4d88"};const ILe={withCloseButton:!0},LLe=(e,{radius:r,color:n})=>({root:{"--notification-radius":r===void 0?void 0:bn(r),"--notification-color":n?Jo(n,e):void 0}}),Uw=lt((e,r)=>{const n=ze("Notification",ILe,e),{className:o,color:a,radius:i,loading:l,withCloseButton:s,withBorder:c,title:u,icon:d,children:p,onClose:f,closeButtonProps:g,classNames:b,style:x,styles:w,unstyled:k,variant:C,vars:_,mod:T,loaderProps:R,role:A,attributes:D,...N}=n,$=bt({name:"Notification",classes:SW,props:n,className:o,style:x,classNames:b,styles:w,unstyled:k,attributes:D,vars:_,varsResolver:LLe});return y.jsxs(Se,{...$("root"),mod:[{"data-with-icon":!!d||l,"data-with-border":c},T],ref:r,variant:C,role:A||"alert",...N,children:[d&&!l&&y.jsx("div",{...$("icon"),children:d}),l&&y.jsx(Pf,{size:28,color:a,...R,...$("loader")}),y.jsxs("div",{...$("body"),children:[u&&y.jsx("div",{...$("title"),children:u}),y.jsx(Se,{...$("description"),mod:{"data-with-title":!!u},children:p})]}),s&&y.jsx(Kd,{iconSize:16,color:"gray",...g,unstyled:k,onClick:f,...$("closeButton")})]})});Uw.classes=SW,Uw.displayName="@mantine/core/Notification";const zLe={duration:100,transition:"fade"};function CW(e,r){return{...zLe,...r,...e}}function BLe({offset:e,position:r,defaultOpened:n}){const[o,a]=E.useState(n),i=E.useRef(null),{x:l,y:s,elements:c,refs:u,update:d,placement:p}=xw({placement:r,middleware:[z9({crossAxis:!0,padding:5,rootBoundary:"document"})]}),f=p.includes("right")?e:r.includes("left")?e*-1:0,g=p.includes("bottom")?e:r.includes("top")?e*-1:0,b=E.useCallback(({clientX:x,clientY:w})=>{u.setPositionReference({getBoundingClientRect(){return{width:0,height:0,x,y:w,left:x+f,top:w+g,right:x,bottom:w}}})},[c.reference]);return E.useEffect(()=>{if(u.floating.current){const x=i.current;x.addEventListener("mousemove",b);const w=Ws(u.floating.current);return w.forEach(k=>{k.addEventListener("scroll",d)}),()=>{x.removeEventListener("mousemove",b),w.forEach(k=>{k.removeEventListener("scroll",d)})}}},[c.reference,u.floating.current,d,b,o]),{handleMouseMove:b,x:l,y:s,opened:o,setOpened:a,boundaryRef:i,floating:u.setFloating}}var Vw={tooltip:"m_1b3c8819",arrow:"m_f898399f"};const jLe={refProp:"ref",withinPortal:!0,offset:10,position:"right",zIndex:Yx("popover")},FLe=(e,{radius:r,color:n})=>({tooltip:{"--tooltip-radius":r===void 0?void 0:bn(r),"--tooltip-bg":n?Jo(n,e):void 0,"--tooltip-color":n?"var(--mantine-color-white)":void 0}}),C7=lt((e,r)=>{const n=ze("TooltipFloating",jLe,e),{children:o,refProp:a,withinPortal:i,style:l,className:s,classNames:c,styles:u,unstyled:d,radius:p,color:f,label:g,offset:b,position:x,multiline:w,zIndex:k,disabled:C,defaultOpened:_,variant:T,vars:R,portalProps:A,attributes:D,...N}=n,$=po(),M=bt({name:"TooltipFloating",props:n,classes:Vw,className:s,style:l,classNames:c,styles:u,unstyled:d,attributes:D,rootSelector:"tooltip",vars:R,varsResolver:FLe}),{handleMouseMove:j,x:L,y:Y,opened:O,boundaryRef:U,floating:I,setOpened:q}=BLe({offset:b,position:x,defaultOpened:_});if(!Qi(o))throw new Error("[@mantine/core] Tooltip.Floating component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported");const V=Nr(U,Gx(o),r),G=o.props,F=Q=>{G.onMouseEnter?.(Q),j(Q),q(!0)},J=Q=>{G.onMouseLeave?.(Q),q(!1)};return y.jsxs(y.Fragment,{children:[y.jsx(Df,{...A,withinPortal:i,children:y.jsx(Se,{...N,...M("tooltip",{style:{...k9(l,$),zIndex:k,display:!C&&O?"block":"none",top:(Y&&Math.round(Y))??"",left:(L&&Math.round(L))??""}}),variant:T,ref:I,mod:{multiline:w},children:g})}),E.cloneElement(o,{...G,[a]:V,onMouseEnter:F,onMouseLeave:J})]})});C7.classes=Vw,C7.displayName="@mantine/core/TooltipFloating";const TW=E.createContext(!1),HLe=TW.Provider,qLe=()=>E.useContext(TW),ULe={openDelay:0,closeDelay:0};function Qd(e){const{openDelay:r,closeDelay:n,children:o}=ze("TooltipGroup",ULe,e);return y.jsx(HLe,{value:!0,children:y.jsx(aY,{delay:{open:r,close:n},children:o})})}Qd.displayName="@mantine/core/TooltipGroup",Qd.extend=e=>e;function VLe(e){if(e===void 0)return{shift:!0,flip:!0};const r={...e};return e.shift===void 0&&(r.shift=!0),e.flip===void 0&&(r.flip=!0),r}function YLe(e){const r=VLe(e.middlewares),n=[WV(e.offset)];return r.shift&&n.push(z9(typeof r.shift=="boolean"?{padding:8}:{padding:8,...r.shift})),r.flip&&n.push(typeof r.flip=="boolean"?bw():bw(r.flip)),n.push(XV({element:e.arrowRef,padding:e.arrowOffset})),r.inline?n.push(typeof r.inline=="boolean"?M0():M0(r.inline)):e.inline&&n.push(M0()),n}function WLe(e){const[r,n]=E.useState(e.defaultOpened),o=typeof e.opened=="boolean"?e.opened:r,a=qLe(),i=Ta(),l=E.useCallback(T=>{n(T),T&&w(i)},[i]),{x:s,y:c,context:u,refs:d,placement:p,middlewareData:{arrow:{x:f,y:g}={}}}=xw({strategy:e.strategy,placement:e.position,open:o,onOpenChange:l,middleware:YLe(e),whileElementsMounted:mw}),{delay:b,currentId:x,setCurrentId:w}=iY(u,{id:i}),{getReferenceProps:k,getFloatingProps:C}=cY([nY(u,{enabled:e.events?.hover,delay:a?b:{open:e.openDelay,close:e.closeDelay},mouseOnly:!e.events?.touch}),NOe(u,{enabled:e.events?.focus,visibleOnly:!0}),uY(u,{role:"tooltip"}),sY(u,{enabled:typeof e.opened>"u"})]);Vd(()=>{e.onPositionChange?.(p)},[p]);const _=o&&x&&x!==i;return{x:s,y:c,arrowX:f,arrowY:g,reference:d.setReference,floating:d.setFloating,getFloatingProps:C,getReferenceProps:k,isGroupPhase:_,opened:o,placement:p}}const RW={position:"top",refProp:"ref",withinPortal:!0,arrowSize:4,arrowOffset:5,arrowRadius:0,arrowPosition:"side",offset:5,transitionProps:{duration:100,transition:"fade"},events:{hover:!0,focus:!1,touch:!1},zIndex:Yx("popover"),positionDependencies:[],middlewares:{flip:!0,shift:!0,inline:!1}},GLe=(e,{radius:r,color:n,variant:o,autoContrast:a})=>{const i=e.variantColorResolver({theme:e,color:n||e.primaryColor,autoContrast:a,variant:o||"filled"});return{tooltip:{"--tooltip-radius":r===void 0?void 0:bn(r),"--tooltip-bg":n?i.background:void 0,"--tooltip-color":n?i.color:void 0}}},fo=lt((e,r)=>{const n=ze("Tooltip",RW,e),{children:o,position:a,refProp:i,label:l,openDelay:s,closeDelay:c,onPositionChange:u,opened:d,defaultOpened:p,withinPortal:f,radius:g,color:b,classNames:x,styles:w,unstyled:k,style:C,className:_,withArrow:T,arrowSize:R,arrowOffset:A,arrowRadius:D,arrowPosition:N,offset:$,transitionProps:M,multiline:j,events:L,zIndex:Y,disabled:O,positionDependencies:U,onClick:I,onMouseEnter:q,onMouseLeave:V,inline:G,variant:F,keepMounted:J,vars:Q,portalProps:z,mod:W,floatingStrategy:X,middlewares:Z,autoContrast:oe,attributes:ee,target:re,...pe}=ze("Tooltip",RW,n),{dir:Ce}=du(),ce=E.useRef(null),de=WLe({position:AY(Ce,a),closeDelay:c,openDelay:s,onPositionChange:u,opened:d,defaultOpened:p,events:L,arrowRef:ce,arrowOffset:A,offset:typeof $=="number"?$+(T?R/2:0):$,positionDependencies:[...U,re??o],inline:G,strategy:X,middlewares:Z});E.useEffect(()=>{const Qe=re instanceof HTMLElement?re:typeof re=="string"?document.querySelector(re):re?.current||null;Qe&&de.reference(Qe)},[re,de]);const be=bt({name:"Tooltip",props:n,classes:Vw,className:_,style:C,classNames:x,styles:w,unstyled:k,attributes:ee,rootSelector:"tooltip",vars:Q,varsResolver:GLe});if(!re&&!Qi(o))return null;if(re){const Qe=CW(M,{duration:100,transition:"fade"});return y.jsx(y.Fragment,{children:y.jsx(Df,{...z,withinPortal:f,children:y.jsx(hu,{...Qe,keepMounted:J,mounted:!O&&!!de.opened,duration:de.isGroupPhase?10:Qe.duration,children:St=>y.jsxs(Se,{...pe,"data-fixed":X==="fixed"||void 0,variant:F,mod:[{multiline:j},W],...de.getFloatingProps({ref:de.floating,className:be("tooltip").className,style:{...be("tooltip").style,...St,zIndex:Y,top:de.y??0,left:de.x??0}}),children:[l,y.jsx(Ew,{ref:ce,arrowX:de.arrowX,arrowY:de.arrowY,visible:T,position:de.placement,arrowSize:R,arrowOffset:A,arrowRadius:D,arrowPosition:N,...be("arrow")})]})})})})}const Oe=o,Xe=Oe.props,Ge=Nr(de.reference,Gx(Oe),r),_t=CW(M,{duration:100,transition:"fade"});return y.jsxs(y.Fragment,{children:[y.jsx(Df,{...z,withinPortal:f,children:y.jsx(hu,{..._t,keepMounted:J,mounted:!O&&!!de.opened,duration:de.isGroupPhase?10:_t.duration,children:Qe=>y.jsxs(Se,{...pe,"data-fixed":X==="fixed"||void 0,variant:F,mod:[{multiline:j},W],...de.getFloatingProps({ref:de.floating,className:be("tooltip").className,style:{...be("tooltip").style,...Qe,zIndex:Y,top:de.y??0,left:de.x??0}}),children:[l,y.jsx(Ew,{ref:ce,arrowX:de.arrowX,arrowY:de.arrowY,visible:T,position:de.placement,arrowSize:R,arrowOffset:A,arrowRadius:D,arrowPosition:N,...be("arrow")})]})})}),E.cloneElement(Oe,de.getReferenceProps({onClick:I,onMouseEnter:q,onMouseLeave:V,onMouseMove:n.onMouseMove,onPointerDown:n.onPointerDown,onPointerEnter:n.onPointerEnter,className:Ji(_,Xe.className),...Xe,[i]:Ge}))]})});fo.classes=Vw,fo.displayName="@mantine/core/Tooltip",fo.Floating=C7,fo.Group=Qd;var AW={root:"m_cf365364",indicator:"m_9e182ccd",label:"m_1738fcb2",input:"m_1714d588",control:"m_69686b9b",innerLabel:"m_78882f40"};const XLe={withItemsBorders:!0},KLe=(e,{radius:r,color:n,transitionDuration:o,size:a,transitionTimingFunction:i})=>({root:{"--sc-radius":r===void 0?void 0:bn(r),"--sc-color":n?Jo(n,e):void 0,"--sc-shadow":n?void 0:"var(--mantine-shadow-xs)","--sc-transition-duration":o===void 0?void 0:`${o}ms`,"--sc-transition-timing-function":i,"--sc-padding":sr(a,"sc-padding"),"--sc-font-size":No(a)}}),q0=lt((e,r)=>{const n=ze("SegmentedControl",XLe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,data:u,value:d,defaultValue:p,onChange:f,size:g,name:b,disabled:x,readOnly:w,fullWidth:k,orientation:C,radius:_,color:T,transitionDuration:R,transitionTimingFunction:A,variant:D,autoContrast:N,withItemsBorders:$,mod:M,attributes:j,...L}=n,Y=bt({name:"SegmentedControl",props:n,classes:AW,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:j,vars:c,varsResolver:KLe}),O=po(),U=u.map(re=>typeof re=="string"?{label:re,value:re}:re),I=PPe(),[q,V]=E.useState(e9()),[G,F]=E.useState(null),[J,Q]=E.useState({}),z=(re,pe)=>{J[pe]=re,Q(J)},[W,X]=Us({value:d,defaultValue:p,finalValue:Array.isArray(u)?U.find(re=>!re.disabled)?.value??u[0]?.value??null:null,onChange:f}),Z=Ta(b),oe=U.map(re=>E.createElement(Se,{...Y("control"),mod:{active:W===re.value,orientation:C},key:re.value},E.createElement("input",{...Y("input"),disabled:x||re.disabled,type:"radio",name:Z,value:re.value,id:`${Z}-${re.value}`,checked:W===re.value,onChange:()=>!w&&X(re.value),"data-focus-ring":O.focusRing,key:`${re.value}-input`}),E.createElement(Se,{component:"label",...Y("label"),mod:{active:W===re.value&&!(x||re.disabled),disabled:x||re.disabled,"read-only":w},htmlFor:`${Z}-${re.value}`,ref:pe=>z(pe,re.value),__vars:{"--sc-label-color":T!==void 0?f9({color:T,theme:O,autoContrast:N}):void 0},key:`${re.value}-label`},y.jsx("span",{...Y("innerLabel"),children:re.label})))),ee=Nr(r,re=>F(re));return kPe(()=>{V(e9())},[u.length]),u.length===0?null:y.jsxs(Se,{...Y("root"),variant:D,size:g,ref:ee,mod:[{"full-width":k,orientation:C,initialized:I,"with-items-borders":$},M],...L,role:"radiogroup","data-disabled":x,children:[typeof W=="string"&&y.jsx(Pw,{target:J[W],parent:G,component:"span",transitionDuration:"var(--sc-transition-duration)",...Y("indicator")},q),oe]})});q0.classes=AW,q0.displayName="@mantine/core/SegmentedControl";const[ZLe,Yw]=ri("SliderProvider was not found in tree"),NW=E.forwardRef(({size:e,disabled:r,variant:n,color:o,thumbSize:a,radius:i,...l},s)=>{const{getStyles:c}=Yw();return y.jsx(Se,{tabIndex:-1,variant:n,size:e,ref:s,...c("root"),...l})});NW.displayName="@mantine/core/SliderRoot";const DW=E.forwardRef(({max:e,min:r,value:n,position:o,label:a,dragging:i,onMouseDown:l,onKeyDownCapture:s,labelTransitionProps:c,labelAlwaysOn:u,thumbLabel:d,onFocus:p,onBlur:f,showLabelOnHover:g,isHovered:b,children:x=null,disabled:w},k)=>{const{getStyles:C}=Yw(),[_,T]=E.useState(!1),R=u||i||_||g&&b;return y.jsxs(Se,{tabIndex:0,role:"slider","aria-label":d,"aria-valuemax":e,"aria-valuemin":r,"aria-valuenow":n,ref:k,__vars:{"--slider-thumb-offset":`${o}%`},...C("thumb",{focusable:!0}),mod:{dragging:i,disabled:w},onFocus:A=>{T(!0),typeof p=="function"&&p(A)},onBlur:A=>{T(!1),typeof f=="function"&&f(A)},onTouchStart:l,onMouseDown:l,onKeyDownCapture:s,onClick:A=>A.stopPropagation(),children:[x,y.jsx(hu,{mounted:a!=null&&!!R,transition:"fade",duration:0,...c,children:A=>y.jsx("div",{...C("label",{style:A}),children:a})})]})});DW.displayName="@mantine/core/SliderThumb";function PW({value:e,min:r,max:n}){const o=(e-r)/(n-r)*100;return Math.min(Math.max(o,0),100)}function QLe({mark:e,offset:r,value:n,inverted:o=!1}){return o?typeof r=="number"&&e.value<=r||e.value>=n:typeof r=="number"?e.value>=r&&e.value<=n:e.value<=n}function $W({marks:e,min:r,max:n,disabled:o,value:a,offset:i,inverted:l}){const{getStyles:s}=Yw();if(!e)return null;const c=e.map((u,d)=>E.createElement(Se,{...s("markWrapper"),__vars:{"--mark-offset":`${PW({value:u.value,min:r,max:n})}%`},key:d},y.jsx(Se,{...s("mark"),mod:{filled:QLe({mark:u,value:a,offset:i,inverted:l}),disabled:o}}),u.label&&y.jsx("div",{...s("markLabel"),children:u.label})));return y.jsx("div",{children:c})}$W.displayName="@mantine/core/SliderMarks";function MW({filled:e,children:r,offset:n,disabled:o,marksOffset:a,inverted:i,containerProps:l,...s}){const{getStyles:c}=Yw();return y.jsx(Se,{...c("trackContainer"),mod:{disabled:o},...l,children:y.jsxs(Se,{...c("track"),mod:{inverted:i,disabled:o},children:[y.jsx(Se,{mod:{inverted:i,disabled:o},__vars:{"--slider-bar-width":`calc(${e}% + 2 * var(--slider-size))`,"--slider-bar-offset":`calc(${n}% - var(--slider-size))`},...c("bar")}),r,y.jsx($W,{...s,offset:a,disabled:o,inverted:i})]})})}MW.displayName="@mantine/core/SliderTrack";function JLe({value:e,containerWidth:r,min:n,max:o,step:a,precision:i}){const l=(r?Math.min(Math.max(e,0),r)/r:e)*(o-n),s=(l!==0?Math.round(l/a)*a:0)+n,c=Math.max(s,n);return i!==void 0?Number(c.toFixed(i)):c}function Ww(e,r){return parseFloat(e.toFixed(r))}function eze(e){if(!e)return 0;const r=e.toString().split(".");return r.length>1?r[1].length:0}function T7(e,r){const n=[...r].sort((o,a)=>o.value-a.value).find(o=>o.value>e);return n?n.value:e}function R7(e,r){const n=[...r].sort((o,a)=>a.value-o.value).find(o=>o.valuen.value-o.value);return r.length>0?r[0].value:0}function IW(e){const r=[...e].sort((n,o)=>n.value-o.value);return r.length>0?r[r.length-1].value:100}var LW={root:"m_dd36362e",label:"m_c9357328",thumb:"m_c9a9a60a",trackContainer:"m_a8645c2",track:"m_c9ade57f",bar:"m_38aeed47",markWrapper:"m_b7b0423a",mark:"m_dd33bc19",markLabel:"m_68c77a5b"};const tze={radius:"xl",min:0,max:100,step:1,marks:[],label:e=>e,labelTransitionProps:{transition:"fade",duration:0},thumbLabel:"",showLabelOnHover:!0,scale:e=>e,size:"md"},rze=(e,{size:r,color:n,thumbSize:o,radius:a})=>({root:{"--slider-size":sr(r,"slider-size"),"--slider-color":n?Jo(n,e):void 0,"--slider-radius":a===void 0?void 0:bn(a),"--slider-thumb-size":o!==void 0?Ae(o):"calc(var(--slider-size) * 2)"}}),A7=lt((e,r)=>{const n=ze("Slider",tze,e),{classNames:o,styles:a,value:i,onChange:l,onChangeEnd:s,size:c,min:u,max:d,domain:p,step:f,precision:g,defaultValue:b,name:x,marks:w,label:k,labelTransitionProps:C,labelAlwaysOn:_,thumbLabel:T,showLabelOnHover:R,thumbChildren:A,disabled:D,unstyled:N,scale:$,inverted:M,className:j,style:L,vars:Y,hiddenInputProps:O,restrictToMarks:U,thumbProps:I,attributes:q,...V}=n,G=bt({name:"Slider",props:n,classes:LW,classNames:o,className:j,styles:a,style:L,attributes:q,vars:Y,varsResolver:rze,unstyled:N}),{dir:F}=du(),[J,Q]=E.useState(!1),[z,W]=Us({value:typeof i=="number"?su(i,u,d):i,defaultValue:typeof b=="number"?su(b,u,d):b,finalValue:su(0,u,d),onChange:l}),X=E.useRef(z),Z=E.useRef(s);E.useEffect(()=>{Z.current=s},[s]);const oe=E.useRef(null),ee=E.useRef(null),[re,pe]=p||[u,d],Ce=PW({value:z,min:re,max:pe}),ce=$(z),de=typeof k=="function"?k(ce):k,be=g??eze(f),Oe=E.useCallback(({x:Ke})=>{if(!D){const We=JLe({value:Ke,min:re,max:pe,step:f,precision:be}),st=su(We,u,d);W(U&&w?.length?GU(st,w.map(Et=>Et.value)):st),X.current=st}},[D,u,d,re,pe,f,be,W,w,U]),Xe=E.useCallback(()=>{if(!D&&Z.current){const Ke=U&&w?.length?GU(X.current,w.map(We=>We.value)):X.current;Z.current(Ke)}},[D,w,U]),{ref:Ge,active:_t}=jU(Oe,{onScrubEnd:Xe},F),Qe=E.useCallback(Ke=>{!D&&Z.current&&Z.current(Ke)},[D]),St=Ke=>{if(!D)switch(Ke.key){case"ArrowUp":{if(Ke.preventDefault(),ee.current?.focus(),U&&w){const st=T7(z,w);W(st),Qe(st);break}const We=Ww(Math.min(Math.max(z+f,u),d),be);W(We),Qe(We);break}case"ArrowRight":{if(Ke.preventDefault(),ee.current?.focus(),U&&w){const st=F==="rtl"?R7(z,w):T7(z,w);W(st),Qe(st);break}const We=Ww(Math.min(Math.max(F==="rtl"?z-f:z+f,u),d),be);W(We),Qe(We);break}case"ArrowDown":{if(Ke.preventDefault(),ee.current?.focus(),U&&w){const st=R7(z,w);W(st),Qe(st);break}const We=Ww(Math.min(Math.max(z-f,u),d),be);W(We),Qe(We);break}case"ArrowLeft":{if(Ke.preventDefault(),ee.current?.focus(),U&&w){const st=F==="rtl"?T7(z,w):R7(z,w);W(st),Qe(st);break}const We=Ww(Math.min(Math.max(F==="rtl"?z+f:z-f,u),d),be);W(We),Qe(We);break}case"Home":{if(Ke.preventDefault(),ee.current?.focus(),U&&w){W(OW(w)),Qe(OW(w));break}W(u),Qe(u);break}case"End":{if(Ke.preventDefault(),ee.current?.focus(),U&&w){W(IW(w)),Qe(IW(w));break}W(d),Qe(d);break}}};return y.jsx(ZLe,{value:{getStyles:G},children:y.jsxs(NW,{...V,ref:Nr(r,oe),onKeyDownCapture:St,onMouseDownCapture:()=>oe.current?.focus(),size:c,disabled:D,children:[y.jsx(MW,{inverted:M,offset:0,filled:Ce,marks:w,min:re,max:pe,value:ce,disabled:D,containerProps:{ref:Ge,onMouseEnter:R?()=>Q(!0):void 0,onMouseLeave:R?()=>Q(!1):void 0},children:y.jsx(DW,{max:pe,min:re,value:ce,position:Ce,dragging:_t,label:de,ref:ee,labelTransitionProps:C,labelAlwaysOn:_,thumbLabel:T,showLabelOnHover:R,isHovered:J,disabled:D,...I,children:A})}),y.jsx("input",{type:"hidden",name:x,value:ce,...O})]})})});A7.classes=LW,A7.displayName="@mantine/core/Slider";const N7=lt((e,r)=>{const{w:n,h:o,miw:a,mih:i,...l}=ze("Space",null,e);return y.jsx(Se,{ref:r,...l,w:n,miw:a??n,h:o,mih:i??o})});N7.displayName="@mantine/core/Space";var zW={root:"m_6d731127"};const nze={gap:"md",align:"stretch",justify:"flex-start"},oze=(e,{gap:r,align:n,justify:o})=>({root:{"--stack-gap":qs(r),"--stack-align":n,"--stack-justify":o}}),ra=lt((e,r)=>{const n=ze("Stack",nze,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,align:u,justify:d,gap:p,variant:f,attributes:g,...b}=n,x=bt({name:"Stack",props:n,classes:zW,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:g,vars:c,varsResolver:oze});return y.jsx(Se,{ref:r,...x("root"),variant:f,...b})});ra.classes=zW,ra.displayName="@mantine/core/Stack";const[aze,D7]=ri("Tabs component was not found in the tree");var U0={root:"m_89d60db1","list--default":"m_576c9d4",list:"m_89d33d6d",tab:"m_4ec4dce6",panel:"m_b0c91715",tabSection:"m_fc420b1f",tabLabel:"m_42bbd1ae","tab--default":"m_539e827b","list--outline":"m_6772fbd5","tab--outline":"m_b59ab47c","tab--pills":"m_c3381914"};const V0=lt((e,r)=>{const n=ze("TabsList",null,e),{children:o,className:a,grow:i,justify:l,classNames:s,styles:c,style:u,mod:d,...p}=n,f=D7();return y.jsx(Se,{...p,...f.getStyles("list",{className:a,style:u,classNames:s,styles:c,props:n,variant:f.variant}),ref:r,role:"tablist",variant:f.variant,mod:[{grow:i,orientation:f.orientation,placement:f.orientation==="vertical"&&f.placement,inverted:f.inverted},d],"aria-orientation":f.orientation,__vars:{"--tabs-justify":l},children:o})});V0.classes=U0,V0.displayName="@mantine/core/TabsList";const Zs=lt((e,r)=>{const n=ze("TabsPanel",null,e),{children:o,className:a,value:i,classNames:l,styles:s,style:c,mod:u,keepMounted:d,...p}=n,f=D7(),g=f.value===i,b=f.keepMounted||d||g?o:null;return y.jsx(Se,{...f.getStyles("panel",{className:a,classNames:l,styles:s,style:[c,g?void 0:{display:"none"}],props:n}),ref:r,mod:[{orientation:f.orientation},u],role:"tabpanel",id:f.getPanelId(i),"aria-labelledby":f.getTabId(i),...p,children:b})});Zs.classes=U0,Zs.displayName="@mantine/core/TabsPanel";const Bf=lt((e,r)=>{const n=ze("TabsTab",null,e),{className:o,children:a,rightSection:i,leftSection:l,value:s,onClick:c,onKeyDown:u,disabled:d,color:p,style:f,classNames:g,styles:b,vars:x,mod:w,tabIndex:k,...C}=n,_=po(),{dir:T}=du(),R=D7(),A=s===R.value,D=$=>{R.onChange(R.allowTabDeactivation&&s===R.value?null:s),c?.($)},N={classNames:g,styles:b,props:n};return y.jsxs(Pr,{...C,...R.getStyles("tab",{className:o,style:f,variant:R.variant,...N}),disabled:d,unstyled:R.unstyled,variant:R.variant,mod:[{active:A,disabled:d,orientation:R.orientation,inverted:R.inverted,placement:R.orientation==="vertical"&&R.placement},w],ref:r,role:"tab",id:R.getTabId(s),"aria-selected":A,tabIndex:k!==void 0?k:A||R.value===null?0:-1,"aria-controls":R.getPanelId(s),onClick:D,__vars:{"--tabs-color":p?Jo(p,_):void 0},onKeyDown:T0({siblingSelector:'[role="tab"]',parentSelector:'[role="tablist"]',activateOnFocus:R.activateTabWithKeyboard,loop:R.loop,orientation:R.orientation||"horizontal",dir:T,onKeyDown:u}),children:[l&&y.jsx("span",{...R.getStyles("tabSection",N),"data-position":"left",children:l}),a&&y.jsx("span",{...R.getStyles("tabLabel",N),children:a}),i&&y.jsx("span",{...R.getStyles("tabSection",N),"data-position":"right",children:i})]})});Bf.classes=U0,Bf.displayName="@mantine/core/TabsTab";const BW="Tabs.Tab or Tabs.Panel component was rendered with invalid value or without value",ize={keepMounted:!0,orientation:"horizontal",loop:!0,activateTabWithKeyboard:!0,variant:"default",placement:"left"},lze=(e,{radius:r,color:n,autoContrast:o})=>({root:{"--tabs-radius":bn(r),"--tabs-color":Jo(n,e),"--tabs-text-color":E$e(o,e)?f9({color:n,theme:e,autoContrast:o}):void 0}}),Jd=lt((e,r)=>{const n=ze("Tabs",ize,e),{defaultValue:o,value:a,onChange:i,orientation:l,children:s,loop:c,id:u,activateTabWithKeyboard:d,allowTabDeactivation:p,variant:f,color:g,radius:b,inverted:x,placement:w,keepMounted:k,classNames:C,styles:_,unstyled:T,className:R,style:A,vars:D,autoContrast:N,mod:$,attributes:M,...j}=n,L=Ta(u),[Y,O]=Us({value:a,defaultValue:o,finalValue:null,onChange:i}),U=bt({name:"Tabs",props:n,classes:U0,className:R,style:A,classNames:C,styles:_,unstyled:T,attributes:M,vars:D,varsResolver:lze});return y.jsx(aze,{value:{placement:w,value:Y,orientation:l,id:L,loop:c,activateTabWithKeyboard:d,getTabId:TU(`${L}-tab`,BW),getPanelId:TU(`${L}-panel`,BW),onChange:O,allowTabDeactivation:p,variant:f,color:g,radius:b,inverted:x,keepMounted:k,unstyled:T,getStyles:U},children:y.jsx(Se,{ref:r,id:L,variant:f,mod:[{orientation:l,inverted:l==="horizontal"&&x,placement:l==="vertical"&&w},$],...U("root"),...j,children:s})})});Jd.classes=U0,Jd.displayName="@mantine/core/Tabs",Jd.Tab=Bf,Jd.Panel=Zs,Jd.List=V0;var jW={root:"m_7341320d"};const sze=(e,{size:r,radius:n,variant:o,gradient:a,color:i,autoContrast:l})=>{const s=e.variantColorResolver({color:i||e.primaryColor,theme:e,gradient:a,variant:o||"filled",autoContrast:l});return{root:{"--ti-size":sr(r,"ti-size"),"--ti-radius":n===void 0?void 0:bn(n),"--ti-bg":i||o?s.background:void 0,"--ti-color":i||o?s.color:void 0,"--ti-bd":i||o?s.border:void 0}}},ci=lt((e,r)=>{const n=ze("ThemeIcon",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,autoContrast:u,attributes:d,...p}=n,f=bt({name:"ThemeIcon",classes:jW,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:d,vars:c,varsResolver:sze});return y.jsx(Se,{ref:r,...f("root"),...p})});ci.classes=jW,ci.displayName="@mantine/core/ThemeIcon";const cze=["h1","h2","h3","h4","h5","h6"],uze=["xs","sm","md","lg","xl"];function dze(e,r){const n=r!==void 0?r:`h${e}`;return cze.includes(n)?{fontSize:`var(--mantine-${n}-font-size)`,fontWeight:`var(--mantine-${n}-font-weight)`,lineHeight:`var(--mantine-${n}-line-height)`}:uze.includes(n)?{fontSize:`var(--mantine-font-size-${n})`,fontWeight:`var(--mantine-h${e}-font-weight)`,lineHeight:`var(--mantine-h${e}-line-height)`}:{fontSize:Ae(n),fontWeight:`var(--mantine-h${e}-font-weight)`,lineHeight:`var(--mantine-h${e}-line-height)`}}var FW={root:"m_8a5d1357"};const pze={order:1},hze=(e,{order:r,size:n,lineClamp:o,textWrap:a})=>{const i=dze(r||1,n);return{root:{"--title-fw":i.fontWeight,"--title-lh":i.lineHeight,"--title-fz":i.fontSize,"--title-line-clamp":typeof o=="number"?o.toString():void 0,"--title-text-wrap":a}}},ep=lt((e,r)=>{const n=ze("Title",pze,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,order:c,vars:u,size:d,variant:p,lineClamp:f,textWrap:g,mod:b,attributes:x,...w}=n,k=bt({name:"Title",props:n,classes:FW,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:x,vars:u,varsResolver:hze});return[1,2,3,4,5,6].includes(c)?y.jsx(Se,{...k("root"),component:`h${c}`,variant:p,ref:r,mod:[{order:c,"data-line-clamp":typeof f=="number"},b],size:d,...w}):null});ep.classes=FW,ep.displayName="@mantine/core/Title";function HW(e,r,n){if(!e||!r)return[];const o=n.indexOf(e),a=n.indexOf(r),i=Math.min(o,a),l=Math.max(o,a);return n.slice(i,l+1)}function P7({node:e,getStyles:r,rootIndex:n,controller:o,expandOnClick:a,selectOnClick:i,isSubtree:l,level:s=1,renderNode:c,flatValues:u,allowRangeSelection:d,expandOnSpace:p,checkOnSpace:f}){const g=E.useRef(null),b=(e.children||[]).map(_=>y.jsx(P7,{node:_,flatValues:u,getStyles:r,rootIndex:void 0,level:s+1,controller:o,expandOnClick:a,isSubtree:!0,renderNode:c,selectOnClick:i,allowRangeSelection:d,expandOnSpace:p,checkOnSpace:f},_.value)),x=_=>{if(_.nativeEvent.code==="ArrowRight"&&(_.stopPropagation(),_.preventDefault(),o.expandedState[e.value]?_.currentTarget.querySelector("[role=treeitem]")?.focus():o.expand(e.value)),_.nativeEvent.code==="ArrowLeft"&&(_.stopPropagation(),_.preventDefault(),o.expandedState[e.value]&&(e.children||[]).length>0?o.collapse(e.value):l&&bf(_.currentTarget,"[role=treeitem]")?.focus()),_.nativeEvent.code==="ArrowDown"||_.nativeEvent.code==="ArrowUp"){const T=bf(_.currentTarget,"[data-tree-root]");if(!T)return;_.stopPropagation(),_.preventDefault();const R=Array.from(T.querySelectorAll("[role=treeitem]")),A=R.indexOf(_.currentTarget);if(A===-1)return;const D=_.nativeEvent.code==="ArrowDown"?A+1:A-1;if(R[D]?.focus(),_.shiftKey){const N=R[D];N&&o.setSelectedState(HW(o.anchorNode,N.dataset.value,u))}}_.nativeEvent.code==="Space"&&(p&&(_.stopPropagation(),_.preventDefault(),o.toggleExpanded(e.value)),f&&(_.stopPropagation(),_.preventDefault(),o.isNodeChecked(e.value)?o.uncheckNode(e.value):o.checkNode(e.value)))},w=_=>{_.stopPropagation(),d&&_.shiftKey&&o.anchorNode?(o.setSelectedState(HW(o.anchorNode,e.value,u)),g.current?.focus()):(a&&o.toggleExpanded(e.value),i&&o.select(e.value),g.current?.focus())},k=o.selectedState.includes(e.value),C={...r("label"),onClick:w,"data-selected":k||void 0,"data-value":e.value,"data-hovered":o.hoveredNode===e.value||void 0};return y.jsxs("li",{...r("node",{style:{"--label-offset":`calc(var(--level-offset) * ${s-1})`}}),role:"treeitem","aria-selected":k,"data-value":e.value,"data-selected":k||void 0,"data-hovered":o.hoveredNode===e.value||void 0,"data-level":s,tabIndex:n===0?0:-1,onKeyDown:x,ref:g,onMouseOver:_=>{_.stopPropagation(),o.setHoveredNode(e.value)},onMouseLeave:_=>{_.stopPropagation(),o.setHoveredNode(null)},children:[typeof c=="function"?c({node:e,level:s,selected:k,tree:o,expanded:o.expandedState[e.value]||!1,hasChildren:Array.isArray(e.children)&&e.children.length>0,elementProps:C}):y.jsx("div",{...C,children:e.label}),o.expandedState[e.value]&&b.length>0&&y.jsx(Se,{component:"ul",role:"group",...r("subtree"),"data-level":s,children:b})]})}P7.displayName="@mantine/core/TreeNode";function Gw(e,r,n=[]){const o=[];for(const a of e)if(Array.isArray(a.children)&&a.children.length>0){const i=Gw(a.children,r,n);if(i.currentTreeChecked.length===a.children.length){const l=i.currentTreeChecked.every(c=>c.checked),s={checked:l,indeterminate:!l,value:a.value,hasChildren:!0};o.push(s),n.push(s)}else if(i.currentTreeChecked.length>0){const l={checked:!1,indeterminate:!0,value:a.value,hasChildren:!0};o.push(l),n.push(l)}}else if(r.includes(a.value)){const i={checked:!0,indeterminate:!1,value:a.value,hasChildren:!1};o.push(i),n.push(i)}return{result:n,currentTreeChecked:o}}function qW(e,r){for(const n of r){if(n.value===e)return n;if(Array.isArray(n.children)){const o=qW(e,n.children);if(o)return o}}return null}function Xw(e,r,n=[]){const o=qW(e,r);return o?!Array.isArray(o.children)||o.children.length===0?[o.value]:(o.children.forEach(a=>{Array.isArray(a.children)&&a.children.length>0?Xw(a.value,r,n):n.push(a.value)}),n):n}function UW(e){return e.reduce((r,n)=>(Array.isArray(n.children)&&n.children.length>0?r.push(...UW(n.children)):r.push(n.value),r),[])}function fze(e,r,n){return n.length===0?!1:n.includes(e)?!0:Gw(r,n).result.some(o=>o.value===e&&o.checked)}const mze=WU(fze);function gze(e,r,n){return n.length===0?!1:Gw(r,n).result.some(o=>o.value===e&&o.indeterminate)}const yze=WU(gze);function VW(e,r,n,o={}){return r.forEach(a=>{o[a.value]=a.value in e?e[a.value]:a.value===n,Array.isArray(a.children)&&VW(e,a.children,n,o)}),o}function bze(e,r){const n=[];return e.forEach(o=>n.push(...Xw(o,r))),Array.from(new Set(n))}function Y0({initialSelectedState:e=[],initialCheckedState:r=[],initialExpandedState:n={},multiple:o=!1,onNodeCollapse:a,onNodeExpand:i}={}){const[l,s]=E.useState([]),[c,u]=E.useState(n),[d,p]=E.useState(e),[f,g]=E.useState(r),[b,x]=E.useState(null),[w,k]=E.useState(null),C=E.useCallback(I=>{u(q=>VW(q,I,d)),g(q=>bze(q,I)),s(I)},[d,f]),_=E.useCallback(I=>{u(q=>{const V={...q,[I]:!q[I]};return V[I]?i?.(I):a?.(I),V})},[a,i]),T=E.useCallback(I=>{u(q=>(q[I]!==!1&&a?.(I),{...q,[I]:!1}))},[a]),R=E.useCallback(I=>{u(q=>(q[I]!==!0&&i?.(I),{...q,[I]:!0}))},[i]),A=E.useCallback(()=>{u(I=>{const q={...I};return Object.keys(q).forEach(V=>{q[V]=!0}),q})},[]),D=E.useCallback(()=>{u(I=>{const q={...I};return Object.keys(q).forEach(V=>{q[V]=!1}),q})},[]),N=E.useCallback(I=>p(q=>o?q.includes(I)?(x(null),q.filter(V=>V!==I)):(x(I),[...q,I]):q.includes(I)?(x(null),[]):(x(I),[I])),[]),$=E.useCallback(I=>{x(I),p(q=>o?q.includes(I)?q:[...q,I]:[I])},[]),M=E.useCallback(I=>{b===I&&x(null),p(q=>q.filter(V=>V!==I))},[]),j=E.useCallback(()=>{p([]),x(null)},[]),L=E.useCallback(I=>{const q=Xw(I,l);g(V=>Array.from(new Set([...V,...q])))},[l]),Y=E.useCallback(I=>{const q=Xw(I,l);g(V=>V.filter(G=>!q.includes(G)))},[l]),O=E.useCallback(()=>{g(()=>UW(l))},[l]),U=E.useCallback(()=>{g([])},[]);return{multiple:o,expandedState:c,selectedState:d,checkedState:f,anchorNode:b,initialize:C,toggleExpanded:_,collapse:T,expand:R,expandAllNodes:A,collapseAllNodes:D,setExpandedState:u,checkNode:L,uncheckNode:Y,checkAllNodes:O,uncheckAllNodes:U,setCheckedState:g,toggleSelected:N,select:$,deselect:M,clearSelected:j,setSelectedState:p,hoveredNode:w,setHoveredNode:k,getCheckedNodes:()=>Gw(l,f).result,isNodeChecked:I=>mze(I,l,f),isNodeIndeterminate:I=>yze(I,l,f)}}var YW={root:"m_f698e191",subtree:"m_75f3ecf",node:"m_f6970eb1",label:"m_dc283425"};function WW(e){return e.reduce((r,n)=>(r.push(n.value),n.children&&r.push(...WW(n.children)),r),[])}const vze={expandOnClick:!0,allowRangeSelection:!0,expandOnSpace:!0},xze=(e,{levelOffset:r})=>({root:{"--level-offset":qs(r)}}),jf=lt((e,r)=>{const n=ze("Tree",vze,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,data:u,expandOnClick:d,tree:p,renderNode:f,selectOnClick:g,clearSelectionOnOutsideClick:b,allowRangeSelection:x,expandOnSpace:w,levelOffset:k,checkOnSpace:C,attributes:_,...T}=n,R=Y0(),A=p||R,D=bt({name:"Tree",classes:YW,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:_,vars:c,varsResolver:xze}),N=DU(()=>b&&A.clearSelected()),$=Nr(r,N),M=E.useMemo(()=>WW(u),[u]);E.useEffect(()=>{A.initialize(u)},[u]);const j=u.map((L,Y)=>y.jsx(P7,{node:L,getStyles:D,rootIndex:Y,expandOnClick:d,selectOnClick:g,controller:A,renderNode:f,flatValues:M,allowRangeSelection:x,expandOnSpace:w,checkOnSpace:C},L.value));return y.jsx(Se,{component:"ul",ref:$,...D("root"),...T,role:"tree","aria-multiselectable":A.multiple,"data-tree-root":!0,children:j})});jf.displayName="@mantine/core/Tree",jf.classes=YW;const $7=E.createContext(null);function GW(){const e=E.useContext($7);if(!e)throw new Error("useRootContainer must be used within a RootContainer");return e}function wze(){return GW().ref}function kze(){return GW().ref.current}const XW=E.createContext(null);function _ze(){const e=E.useContext(XW);return e===null&&console.warn("ReduceGraphicsMode is not provided"),e??!1}const[Eze,Sze]=ri("PanningAtomSafeCtx is not provided");function Cze({id:e,className:r,reduceGraphics:n=!1,children:o}){const[a,i]=E.useState(!1),l=E.useRef(null),s=E.useRef(null);s.current||(s.current=lDe(!1)),Q8(()=>{i(!0)},[]),E.useEffect(()=>s.current?.subscribe(u=>{l.current?.setAttribute("data-likec4-diagram-panning",u?"true":"false")}),[]);const c=E.useMemo(()=>({id:e,ref:l}),[e,l]);return y.jsx(Eze,{value:s.current,children:y.jsx(XW.Provider,{value:n,children:y.jsx("div",{id:e,className:Je("likec4-root",r),ref:l,...n&&{"data-likec4-reduced-graphics":!0},children:a&&!!c.ref.current&&y.jsx($7.Provider,{value:c,children:o})})})})}const W0=E.createContext(null),M7=E.createContext(null);function Tze({children:e}){return E.useContext(M7)?y.jsx(y.Fragment,{children:e}):null}function Rze(){return E.useContext(W0)}function Ho(){const e=E.useContext(W0);if(!e)throw new Error("LikeC4Model not found. Make sure you have LikeC4ModelProvider.");return e}function Aze(){const e=Ho(),[r,n]=E.useState(e.$data.specification);return E.useEffect(()=>{n(o=>ut(o,e.$data.specification)?o:e.$data.specification)},[e]),r}const KW=E.createContext({}),Nze=["yellow","orange","amber","tomato","red","ruby","crimson","pink","pink","purple","violet","indigo","blue","teal","grass","lime"],Dze=e=>{const r=e.color;if(nj(e))return` +`}function fV({cssVariablesSelector:e,deduplicateCssVariables:r}){const n=mo(),o=np(),a=d$e(),i=P$e({theme:n,generator:a}),l=e===":root"&&r,s=l?$$e(i):i,c=N$e(s,e);return c?y.jsx("style",{"data-mantine-styles":!0,nonce:o?.(),dangerouslySetInnerHTML:{__html:`${c}${l?"":M$e(e)}`}}):null}fV.displayName="@mantine/CssVariables";function Df(e,r){const n=typeof window<"u"&&"matchMedia"in window&&window.matchMedia("(prefers-color-scheme: dark)")?.matches,o=e!=="auto"?e:n?"dark":"light";r()?.setAttribute("data-mantine-color-scheme",o)}function O$e({manager:e,defaultColorScheme:r,getRootElement:n,forceColorScheme:o}){const a=S.useRef(null),[i,l]=S.useState(()=>e.get(r)),s=o||i,c=S.useCallback(d=>{o||(Df(d,n),l(d),e.set(d))},[e.set,s,o]),u=S.useCallback(()=>{l(r),Df(r,n),e.clear()},[e.clear,r]);return S.useEffect(()=>(e.subscribe(c),e.unsubscribe),[e.subscribe,e.unsubscribe]),B0(()=>{Df(e.get(r),n)},[]),S.useEffect(()=>{if(o)return Df(o,n),()=>{};o===void 0&&Df(i,n),typeof window<"u"&&"matchMedia"in window&&(a.current=window.matchMedia("(prefers-color-scheme: dark)"));const d=p=>{i==="auto"&&Df(p.matches?"dark":"light",n)};return a.current?.addEventListener("change",d),()=>a.current?.removeEventListener("change",d)},[i,o]),{colorScheme:s,setColorScheme:c,clearColorScheme:u}}function I$e({respectReducedMotion:e,getRootElement:r}){B0(()=>{e&&r()?.setAttribute("data-respect-reduced-motion","true")},[e])}function k9({theme:e,children:r,getStyleNonce:n,withStaticClasses:o=!0,withGlobalClasses:a=!0,deduplicateCssVariables:i=!0,withCssVariables:l=!0,cssVariablesSelector:s=":root",classNamesPrefix:c="mantine",colorSchemeManager:u=S$e(),defaultColorScheme:d="light",getRootElement:p=()=>document.documentElement,cssVariablesResolver:f,forceColorScheme:g,stylesTransform:b,env:x}){const{colorScheme:w,setColorScheme:k,clearColorScheme:C}=O$e({defaultColorScheme:d,forceColorScheme:g,manager:u,getRootElement:p});return I$e({respectReducedMotion:e?.respectReducedMotion||!1,getRootElement:p}),y.jsx(tw.Provider,{value:{colorScheme:w,setColorScheme:k,clearColorScheme:C,getRootElement:p,classNamesPrefix:c,getStyleNonce:n,cssVariablesResolver:f,cssVariablesSelector:s,withStaticClasses:o,stylesTransform:b,env:x},children:y.jsxs(dV,{theme:e,children:[l&&y.jsx(fV,{cssVariablesSelector:s,deduplicateCssVariables:i}),a&&y.jsx(A$e,{}),r]})})}k9.displayName="@mantine/core/MantineProvider";function _9({classNames:e,styles:r,props:n,stylesCtx:o}){const a=mo();return{resolvedClassNames:Jx({theme:a,classNames:e,props:n,stylesCtx:o||void 0}),resolvedStyles:ew({theme:a,styles:r,props:n,stylesCtx:o||void 0})}}const z$e={always:"mantine-focus-always",auto:"mantine-focus-auto",never:"mantine-focus-never"};function L$e({theme:e,options:r,unstyled:n}){return tl(r?.focusable&&!n&&(e.focusClassName||z$e[e.focusRing]),r?.active&&!n&&e.activeClassName)}function B$e({selector:e,stylesCtx:r,options:n,props:o,theme:a}){return Jx({theme:a,classNames:n?.classNames,props:n?.props||o,stylesCtx:r})[e]}function mV({selector:e,stylesCtx:r,theme:n,classNames:o,props:a}){return Jx({theme:n,classNames:o,props:a,stylesCtx:r})[e]}function j$e({rootSelector:e,selector:r,className:n}){return e===r?n:void 0}function F$e({selector:e,classes:r,unstyled:n}){return n?void 0:r[e]}function H$e({themeName:e,classNamesPrefix:r,selector:n,withStaticClass:o}){return o===!1?[]:e.map(a=>`${r}-${a}-${n}`)}function q$e({themeName:e,theme:r,selector:n,props:o,stylesCtx:a}){return e.map(i=>Jx({theme:r,classNames:r.components[i]?.classNames,props:o,stylesCtx:a})?.[n])}function U$e({options:e,classes:r,selector:n,unstyled:o}){return e?.variant&&!o?r[`${n}--${e.variant}`]:void 0}function V$e({theme:e,options:r,themeName:n,selector:o,classNamesPrefix:a,classNames:i,classes:l,unstyled:s,className:c,rootSelector:u,props:d,stylesCtx:p,withStaticClasses:f,headless:g,transformedStyles:b}){return tl(L$e({theme:e,options:r,unstyled:s||g}),q$e({theme:e,themeName:n,selector:o,props:d,stylesCtx:p}),U$e({options:r,classes:l,selector:o,unstyled:s}),mV({selector:o,stylesCtx:p,theme:e,classNames:i,props:d}),mV({selector:o,stylesCtx:p,theme:e,classNames:b,props:d}),B$e({selector:o,stylesCtx:p,options:r,props:d,theme:e}),j$e({rootSelector:u,selector:o,className:c}),F$e({selector:o,classes:l,unstyled:s||g}),f&&!g&&H$e({themeName:n,classNamesPrefix:a,selector:o,withStaticClass:r?.withStaticClass}),r?.className)}function Y$e({theme:e,themeName:r,props:n,stylesCtx:o,selector:a}){return r.map(i=>ew({theme:e,styles:e.components[i]?.styles,props:n,stylesCtx:o})[a]).reduce((i,l)=>({...i,...l}),{})}function E9({style:e,theme:r}){return Array.isArray(e)?[...e].reduce((n,o)=>({...n,...E9({style:o,theme:r})}),{}):typeof e=="function"?e(r):e??{}}function W$e(e){return e.reduce((r,n)=>(n&&Object.keys(n).forEach(o=>{r[o]={...r[o],...Sf(n[o])}}),r),{})}function G$e({vars:e,varsResolver:r,theme:n,props:o,stylesCtx:a,selector:i,themeName:l,headless:s}){return W$e([s?{}:r?.(n,o,a),...l.map(c=>n.components?.[c]?.vars?.(n,o,a)),e?.(n,o,a)])?.[i]}function X$e({theme:e,themeName:r,selector:n,options:o,props:a,stylesCtx:i,rootSelector:l,styles:s,style:c,vars:u,varsResolver:d,headless:p,withStylesTransform:f}){return{...!f&&Y$e({theme:e,themeName:r,props:a,stylesCtx:i,selector:n}),...!f&&ew({theme:e,styles:s,props:a,stylesCtx:i})[n],...!f&&ew({theme:e,styles:o?.styles,props:o?.props||a,stylesCtx:i})[n],...G$e({theme:e,props:a,stylesCtx:i,vars:u,varsResolver:d,selector:n,themeName:r,headless:p}),...l===n?E9({style:c,theme:e}):null,...E9({style:o?.style,theme:e})}}function K$e({props:e,stylesCtx:r,themeName:n}){const o=mo(),a=g$e()?.();return{getTransformedStyles:i=>a?[...i.map(l=>a(l,{props:e,theme:o,ctx:r})),...n.map(l=>a(o.components[l]?.styles,{props:e,theme:o,ctx:r}))].filter(Boolean):[],withStylesTransform:!!a}}function wt({name:e,classes:r,props:n,stylesCtx:o,className:a,style:i,rootSelector:l="root",unstyled:s,classNames:c,styles:u,vars:d,varsResolver:p,attributes:f}){const g=mo(),b=p$e(),x=h$e(),w=f$e(),k=(Array.isArray(e)?e:[e]).filter(T=>T),{withStylesTransform:C,getTransformedStyles:_}=K$e({props:n,stylesCtx:o,themeName:k});return(T,R)=>({className:V$e({theme:g,options:R,themeName:k,selector:T,classNamesPrefix:b,classNames:c,classes:r,unstyled:s,className:a,rootSelector:l,props:n,stylesCtx:o,withStaticClasses:x,headless:w,transformedStyles:_([R?.styles,u])}),style:X$e({theme:g,themeName:k,selector:T,options:R,props:n,stylesCtx:o,rootSelector:l,styles:u,style:i,vars:d,varsResolver:p,headless:w,withStylesTransform:C}),...f?.[T]})}function Z$e(e,r){return typeof e=="boolean"?e:r.autoContrast}function gV(e){const r=document.createElement("style");return r.setAttribute("data-mantine-styles","inline"),r.innerHTML="*, *::before, *::after {transition: none !important;}",r.setAttribute("data-mantine-disable-transition","true"),e&&r.setAttribute("nonce",e),document.head.appendChild(r),()=>document.querySelectorAll("[data-mantine-disable-transition]").forEach(n=>n.remove())}function Q$e({keepTransitions:e}={}){const r=S.useRef(BU),n=S.useRef(-1),o=S.useContext(tw),a=np(),i=S.useRef(a?.());if(!o)throw new Error("[@mantine/core] MantineProvider was not found in tree");const l=p=>{o.setColorScheme(p),r.current=e?()=>{}:gV(i.current),window.clearTimeout(n.current),n.current=window.setTimeout(()=>{r.current?.()},10)},s=()=>{o.clearColorScheme(),r.current=e?()=>{}:gV(i.current),window.clearTimeout(n.current),n.current=window.setTimeout(()=>{r.current?.()},10)},c=UU("light",{getInitialValueInEffect:!1}),u=o.colorScheme==="auto"?c:o.colorScheme,d=S.useCallback(()=>l(u==="light"?"dark":"light"),[l,u]);return S.useEffect(()=>()=>{r.current?.(),window.clearTimeout(n.current)},[]),{colorScheme:o.colorScheme,setColorScheme:l,clearColorScheme:s,toggleColorScheme:d}}function Le(e,r,n){const o=mo(),a=o.components[e]?.defaultProps,i=typeof a=="function"?a(o):a;return{...r,...i,...Sf(n)}}function S9(e){return Do(e).reduce((r,n)=>e[n]!==void 0?`${r}${yPe(n)}:${e[n]};`:r,"").trim()}function J$e({selector:e,styles:r,media:n,container:o}){const a=r?S9(r):"",i=Array.isArray(n)?n.map(s=>`@media${s.query}{${e}{${S9(s.styles)}}}`):[],l=Array.isArray(o)?o.map(s=>`@container ${s.query}{${e}{${S9(s.styles)}}}`):[];return`${a?`${e}{${a}}`:""}${i.join("")}${l.join("")}`.trim()}function aw(e){const r=np();return y.jsx("style",{"data-mantine-styles":"inline",nonce:r?.(),dangerouslySetInnerHTML:{__html:J$e(e)}})}function yV(e){const{m:r,mx:n,my:o,mt:a,mb:i,ml:l,mr:s,me:c,ms:u,p:d,px:p,py:f,pt:g,pb:b,pl:x,pr:w,pe:k,ps:C,bd:_,bdrs:T,bg:R,c:A,opacity:D,ff:N,fz:$,fw:O,lts:j,ta:L,lh:Y,fs:M,tt:q,td:z,w:H,miw:U,maw:K,h:V,mih:X,mah:Z,bgsz:B,bgp:W,bgr:Q,bga:J,pos:ne,top:te,left:ee,bottom:pe,right:Te,inset:ce,display:de,flex:xe,hiddenFrom:De,visibleFrom:Ge,lightHidden:et,darkHidden:ft,sx:Ze,...Et}=e;return{styleProps:Sf({m:r,mx:n,my:o,mt:a,mb:i,ml:l,mr:s,me:c,ms:u,p:d,px:p,py:f,pt:g,pb:b,pl:x,pr:w,pe:k,ps:C,bd:_,bg:R,c:A,opacity:D,ff:N,fz:$,fw:O,lts:j,ta:L,lh:Y,fs:M,tt:q,td:z,w:H,miw:U,maw:K,h:V,mih:X,mah:Z,bgsz:B,bgp:W,bgr:Q,bga:J,pos:ne,top:te,left:ee,bottom:pe,right:Te,inset:ce,display:de,flex:xe,bdrs:T,hiddenFrom:De,visibleFrom:Ge,lightHidden:et,darkHidden:ft,sx:Ze}),rest:Et}}const eMe={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},ms:{type:"spacing",property:"marginInlineStart"},me:{type:"spacing",property:"marginInlineEnd"},mx:{type:"spacing",property:"marginInline"},my:{type:"spacing",property:"marginBlock"},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},ps:{type:"spacing",property:"paddingInlineStart"},pe:{type:"spacing",property:"paddingInlineEnd"},px:{type:"spacing",property:"paddingInline"},py:{type:"spacing",property:"paddingBlock"},bd:{type:"border",property:"border"},bdrs:{type:"radius",property:"borderRadius"},bg:{type:"color",property:"background"},c:{type:"textColor",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"fontFamily",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"lineHeight",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"size",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"},flex:{type:"identity",property:"flex"}};function C9(e,r){const n=xu({color:e,theme:r});return n.color==="dimmed"?"var(--mantine-color-dimmed)":n.color==="bright"?"var(--mantine-color-bright)":n.variable?`var(${n.variable})`:n.color}function tMe(e,r){const n=xu({color:e,theme:r});return n.isThemeColor&&n.shade===void 0?`var(--mantine-color-${n.color}-text)`:C9(e,r)}function rMe(e,r){if(typeof e=="number")return Ae(e);if(typeof e=="string"){const[n,o,...a]=e.split(" ").filter(l=>l.trim()!=="");let i=`${Ae(n)}`;return o&&(i+=` ${o}`),a.length>0&&(i+=` ${C9(a.join(" "),r)}`),i.trim()}return e}const bV={text:"var(--mantine-font-family)",mono:"var(--mantine-font-family-monospace)",monospace:"var(--mantine-font-family-monospace)",heading:"var(--mantine-font-family-headings)",headings:"var(--mantine-font-family-headings)"};function nMe(e){return typeof e=="string"&&e in bV?bV[e]:e}const oMe=["h1","h2","h3","h4","h5","h6"];function aMe(e,r){return typeof e=="string"&&e in r.fontSizes?`var(--mantine-font-size-${e})`:typeof e=="string"&&oMe.includes(e)?`var(--mantine-${e}-font-size)`:typeof e=="number"||typeof e=="string"?Ae(e):e}function iMe(e){return e}const lMe=["h1","h2","h3","h4","h5","h6"];function sMe(e,r){return typeof e=="string"&&e in r.lineHeights?`var(--mantine-line-height-${e})`:typeof e=="string"&&lMe.includes(e)?`var(--mantine-${e}-line-height)`:e}function cMe(e,r){return typeof e=="string"&&e in r.radius?`var(--mantine-radius-${e})`:typeof e=="number"||typeof e=="string"?Ae(e):e}function uMe(e){return typeof e=="number"?Ae(e):e}function dMe(e,r){if(typeof e=="number")return Ae(e);if(typeof e=="string"){const n=e.replace("-","");if(!(n in r.spacing))return Ae(e);const o=`--mantine-spacing-${n}`;return e.startsWith("-")?`calc(var(${o}) * -1)`:`var(${o})`}return e}const T9={color:C9,textColor:tMe,fontSize:aMe,spacing:dMe,radius:cMe,identity:iMe,size:uMe,lineHeight:sMe,fontFamily:nMe,border:rMe};function vV(e){return e.replace("(min-width: ","").replace("em)","")}function pMe({media:e,...r}){const n=Object.keys(e).sort((o,a)=>Number(vV(o))-Number(vV(a))).map(o=>({query:o,styles:e[o]}));return{...r,media:n}}function hMe(e){if(typeof e!="object"||e===null)return!1;const r=Object.keys(e);return!(r.length===1&&r[0]==="base")}function fMe(e){return typeof e=="object"&&e!==null?"base"in e?e.base:void 0:e}function mMe(e){return typeof e=="object"&&e!==null?Do(e).filter(r=>r!=="base"):[]}function gMe(e,r){return typeof e=="object"&&e!==null&&r in e?e[r]:e}function xV({styleProps:e,data:r,theme:n}){return pMe(Do(e).reduce((o,a)=>{if(a==="hiddenFrom"||a==="visibleFrom"||a==="sx")return o;const i=r[a],l=Array.isArray(i.property)?i.property:[i.property],s=fMe(e[a]);if(!hMe(e[a]))return l.forEach(u=>{o.inlineStyles[u]=T9[i.type](s,n)}),o;o.hasResponsiveStyles=!0;const c=mMe(e[a]);return l.forEach(u=>{s!=null&&(o.styles[u]=T9[i.type](s,n)),c.forEach(d=>{const p=`(min-width: ${n.breakpoints[d]})`;o.media[p]={...o.media[p],[u]:T9[i.type](gMe(e[a],d),n)}})}),o},{hasResponsiveStyles:!1,styles:{},inlineStyles:{},media:{}}))}function iw(){return`__m__-${S.useId().replace(/[:«»]/g,"")}`}function R9(e,r){return Array.isArray(e)?[...e].reduce((n,o)=>({...n,...R9(o,r)}),{}):typeof e=="function"?e(r):e??{}}function wV(e){return e.startsWith("data-")?e:`data-${e}`}function yMe(e){return Object.keys(e).reduce((r,n)=>{const o=e[n];return o===void 0||o===""||o===!1||o===null||(r[wV(n)]=e[n]),r},{})}function kV(e){return e?typeof e=="string"?{[wV(e)]:!0}:Array.isArray(e)?[...e].reduce((r,n)=>({...r,...kV(n)}),{}):yMe(e):null}function A9(e,r){return Array.isArray(e)?[...e].reduce((n,o)=>({...n,...A9(o,r)}),{}):typeof e=="function"?e(r):e??{}}function bMe({theme:e,style:r,vars:n,styleProps:o}){const a=A9(r,e),i=A9(n,e);return{...a,...i,...o}}const _V=S.forwardRef(({component:e,style:r,__vars:n,className:o,variant:a,mod:i,size:l,hiddenFrom:s,visibleFrom:c,lightHidden:u,darkHidden:d,renderRoot:p,__size:f,...g},b)=>{const x=mo(),w=e||"div",{styleProps:k,rest:C}=yV(g),_=m$e()?.()?.(k.sx),T=iw(),R=xV({styleProps:k,theme:x,data:eMe}),A={ref:b,style:bMe({theme:x,style:r,vars:n,styleProps:R.inlineStyles}),className:tl(o,_,{[T]:R.hasResponsiveStyles,"mantine-light-hidden":u,"mantine-dark-hidden":d,[`mantine-hidden-from-${s}`]:s,[`mantine-visible-from-${c}`]:c}),"data-variant":a,"data-size":zU(l)?void 0:l||void 0,size:f,...kV(i),...C};return y.jsxs(y.Fragment,{children:[R.hasResponsiveStyles&&y.jsx(aw,{selector:`.${T}`,styles:R.styles,media:R.media}),typeof p=="function"?p(A):y.jsx(w,{...A})]})});_V.displayName="@mantine/core/Box";const Se=_V;function EV(e){return e}function vMe(e){const r=e;return n=>{const o=S.forwardRef((a,i)=>y.jsx(r,{...n,...a,ref:i}));return o.extend=r.extend,o.displayName=`WithProps(${r.displayName})`,o}}function lt(e){const r=S.forwardRef(e);return r.extend=EV,r.withProps=n=>{const o=S.forwardRef((a,i)=>y.jsx(r,{...n,...a,ref:i}));return o.extend=r.extend,o.displayName=`WithProps(${r.displayName})`,o},r}function eo(e){const r=S.forwardRef(e);return r.withProps=n=>{const o=S.forwardRef((a,i)=>y.jsx(r,{...n,...a,ref:i}));return o.extend=r.extend,o.displayName=`WithProps(${r.displayName})`,o},r.extend=EV,r}const xMe=S.createContext({dir:"ltr",toggleDirection:()=>{},setDirection:()=>{}});function wu(){return S.useContext(xMe)}function wMe(e){if(!e||typeof e=="string")return 0;const r=e/36;return Math.round((4+15*r**.25+r/5)*10)}function N9(e){return e?.current?e.current.scrollHeight:"auto"}const lw=typeof window<"u"&&window.requestAnimationFrame,SV=0,kMe=e=>({height:0,overflow:"hidden",...e?{}:{display:"none"}});function _Me({transitionDuration:e,transitionTimingFunction:r="ease",onTransitionEnd:n=()=>{},opened:o,keepMounted:a=!1}){const i=S.useRef(null),l=kMe(a),[s,c]=S.useState(o?{}:l),u=b=>{Fi.flushSync(()=>c(b))},d=b=>{u(x=>({...x,...b}))};function p(b){const x=e||wMe(b);return{transition:`height ${x}ms ${r}, opacity ${x}ms ${r}`}}rp(()=>{typeof lw=="function"&&lw(o?()=>{d({willChange:"height",display:"block",overflow:"hidden"}),lw(()=>{const b=N9(i);d({...p(b),height:b})})}:()=>{const b=N9(i);d({...p(b),willChange:"height",height:b}),lw(()=>d({height:SV,overflow:"hidden"}))})},[o]);const f=b=>{if(!(b.target!==i.current||b.propertyName!=="height"))if(o){const x=N9(i);x===s.height?u({}):d({height:x}),n()}else s.height===SV&&(u(l),n())};function g({style:b={},refKey:x="ref",...w}={}){const k=w[x],C={"aria-hidden":!o,...w,[x]:KU(i,k),onTransitionEnd:f,style:{boxSizing:"border-box",...b,...s}};return Qr.version.startsWith("18")?o||(C.inert=""):C.inert=!o,C}return g}const EMe={transitionDuration:200,transitionTimingFunction:"ease",animateOpacity:!0},CV=lt((e,r)=>{const{children:n,in:o,transitionDuration:a,transitionTimingFunction:i,style:l,onTransitionEnd:s,animateOpacity:c,keepMounted:u,...d}=Le("Collapse",EMe,e),p=mo(),f=QU(),g=p.respectReducedMotion&&f?0:a,b=_Me({opened:o,transitionDuration:g,transitionTimingFunction:i,onTransitionEnd:s,keepMounted:u});return g===0?o?y.jsx(Se,{...d,children:n}):null:y.jsx(Se,{...b({style:{opacity:o||!c?1:0,transition:c?`opacity ${g}ms ${i}`:"none",...R9(l,p)},ref:r,...d}),children:n})});CV.displayName="@mantine/core/Collapse";function sw(){return typeof window<"u"}function Pf(e){return TV(e)?(e.nodeName||"").toLowerCase():"#document"}function ra(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function os(e){var r;return(r=(TV(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function TV(e){return sw()?e instanceof Node||e instanceof ra(e).Node:!1}function Or(e){return sw()?e instanceof Element||e instanceof ra(e).Element:!1}function Na(e){return sw()?e instanceof HTMLElement||e instanceof ra(e).HTMLElement:!1}function D9(e){return!sw()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ra(e).ShadowRoot}const SMe=new Set(["inline","contents"]);function H0(e){const{overflow:r,overflowX:n,overflowY:o,display:a}=li(e);return/auto|scroll|overlay|hidden|clip/.test(r+o+n)&&!SMe.has(a)}const CMe=new Set(["table","td","th"]);function TMe(e){return CMe.has(Pf(e))}const RMe=[":popover-open",":modal"];function cw(e){return RMe.some(r=>{try{return e.matches(r)}catch{return!1}})}const AMe=["transform","translate","scale","rotate","perspective"],NMe=["transform","translate","scale","rotate","perspective","filter"],DMe=["paint","layout","strict","content"];function P9(e){const r=uw(),n=Or(e)?li(e):e;return AMe.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!r&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!r&&(n.filter?n.filter!=="none":!1)||NMe.some(o=>(n.willChange||"").includes(o))||DMe.some(o=>(n.contain||"").includes(o))}function PMe(e){let r=Gs(e);for(;Na(r)&&!Ws(r);){if(P9(r))return r;if(cw(r))return null;r=Gs(r)}return null}function uw(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const $Me=new Set(["html","body","#document"]);function Ws(e){return $Me.has(Pf(e))}function li(e){return ra(e).getComputedStyle(e)}function dw(e){return Or(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Gs(e){if(Pf(e)==="html")return e;const r=e.assignedSlot||e.parentNode||D9(e)&&e.host||os(e);return D9(r)?r.host:r}function RV(e){const r=Gs(e);return Ws(r)?e.ownerDocument?e.ownerDocument.body:e.body:Na(r)&&H0(r)?r:RV(r)}function Xs(e,r,n){var o;r===void 0&&(r=[]),n===void 0&&(n=!0);const a=RV(e),i=a===((o=e.ownerDocument)==null?void 0:o.body),l=ra(a);if(i){const s=$9(l);return r.concat(l,l.visualViewport||[],H0(a)?a:[],s&&n?Xs(s):[])}return r.concat(a,Xs(a,[],n))}function $9(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const AV=["top","right","bottom","left"],NV=["start","end"],DV=AV.reduce((e,r)=>e.concat(r,r+"-"+NV[0],r+"-"+NV[1]),[]),rl=Math.min,$o=Math.max,pw=Math.round,hw=Math.floor,as=e=>({x:e,y:e}),MMe={left:"right",right:"left",bottom:"top",top:"bottom"},OMe={start:"end",end:"start"};function M9(e,r,n){return $o(e,rl(r,n))}function nl(e,r){return typeof e=="function"?e(r):e}function Da(e){return e.split("-")[0]}function ol(e){return e.split("-")[1]}function O9(e){return e==="x"?"y":"x"}function I9(e){return e==="y"?"height":"width"}const IMe=new Set(["top","bottom"]);function al(e){return IMe.has(Da(e))?"y":"x"}function z9(e){return O9(al(e))}function PV(e,r,n){n===void 0&&(n=!1);const o=ol(e),a=z9(e),i=I9(a);let l=a==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return r.reference[i]>r.floating[i]&&(l=mw(l)),[l,mw(l)]}function zMe(e){const r=mw(e);return[fw(e),r,fw(r)]}function fw(e){return e.replace(/start|end/g,r=>OMe[r])}const $V=["left","right"],MV=["right","left"],LMe=["top","bottom"],BMe=["bottom","top"];function jMe(e,r,n){switch(e){case"top":case"bottom":return n?r?MV:$V:r?$V:MV;case"left":case"right":return r?LMe:BMe;default:return[]}}function FMe(e,r,n,o){const a=ol(e);let i=jMe(Da(e),n==="start",o);return a&&(i=i.map(l=>l+"-"+a),r&&(i=i.concat(i.map(fw)))),i}function mw(e){return e.replace(/left|right|bottom|top/g,r=>MMe[r])}function HMe(e){return{top:0,right:0,bottom:0,left:0,...e}}function L9(e){return typeof e!="number"?HMe(e):{top:e,right:e,bottom:e,left:e}}function $f(e){const{x:r,y:n,width:o,height:a}=e;return{width:o,height:a,top:n,left:r,right:r+o,bottom:n+a,x:r,y:n}}function qMe(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function UMe(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(r=>{let{brand:n,version:o}=r;return n+"/"+o}).join(" "):navigator.userAgent}function VMe(){return/apple/i.test(navigator.vendor)}function YMe(){return qMe().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function WMe(){return UMe().includes("jsdom/")}const OV="data-floating-ui-focusable",GMe="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function IV(e){let r=e.activeElement;for(;((n=r)==null||(n=n.shadowRoot)==null?void 0:n.activeElement)!=null;){var n;r=r.shadowRoot.activeElement}return r}function q0(e,r){if(!e||!r)return!1;const n=r.getRootNode==null?void 0:r.getRootNode();if(e.contains(r))return!0;if(n&&D9(n)){let o=r;for(;o;){if(e===o)return!0;o=o.parentNode||o.host}}return!1}function Mf(e){return"composedPath"in e?e.composedPath()[0]:e.target}function B9(e,r){if(r==null)return!1;if("composedPath"in e)return e.composedPath().includes(r);const n=e;return n.target!=null&&r.contains(n.target)}function XMe(e){return e.matches("html,body")}function op(e){return e?.ownerDocument||document}function KMe(e){return Na(e)&&e.matches(GMe)}function ZMe(e){if(!e||WMe())return!0;try{return e.matches(":focus-visible")}catch{return!0}}function QMe(e){return e?e.hasAttribute(OV)?e:e.querySelector("["+OV+"]")||e:null}function gw(e,r,n){return n===void 0&&(n=!0),e.filter(o=>{var a;return o.parentId===r&&(!n||((a=o.context)==null?void 0:a.open))}).flatMap(o=>[o,...gw(e,o.id,n)])}function JMe(e){return"nativeEvent"in e}function j9(e,r){const n=["mouse","pen"];return n.push("",void 0),n.includes(e)}var eOe=typeof document<"u",tOe=function(){},is=eOe?S.useLayoutEffect:tOe;const rOe={...Wv};function yw(e){const r=S.useRef(e);return is(()=>{r.current=e}),r}const nOe=rOe.useInsertionEffect,oOe=nOe||(e=>e());function ls(e){const r=S.useRef(()=>{});return oOe(()=>{r.current=e}),S.useCallback(function(){for(var n=arguments.length,o=new Array(n),a=0;a{const{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:l}=n,s=i.filter(Boolean),c=await(l.isRTL==null?void 0:l.isRTL(r));let u=await l.getElementRects({reference:e,floating:r,strategy:a}),{x:d,y:p}=zV(u,o,c),f=o,g={},b=0;for(let x=0;x({name:"arrow",options:e,async fn(r){const{x:n,y:o,placement:a,rects:i,platform:l,elements:s,middlewareData:c}=r,{element:u,padding:d=0}=nl(e,r)||{};if(u==null)return{};const p=L9(d),f={x:n,y:o},g=z9(a),b=I9(g),x=await l.getDimensions(u),w=g==="y",k=w?"top":"left",C=w?"bottom":"right",_=w?"clientHeight":"clientWidth",T=i.reference[b]+i.reference[g]-f[g]-i.floating[b],R=f[g]-i.reference[g],A=await(l.getOffsetParent==null?void 0:l.getOffsetParent(u));let D=A?A[_]:0;(!D||!await(l.isElement==null?void 0:l.isElement(A)))&&(D=s.floating[_]||i.floating[b]);const N=T/2-R/2,$=D/2-x[b]/2-1,O=rl(p[k],$),j=rl(p[C],$),L=O,Y=D-x[b]-j,M=D/2-x[b]/2+N,q=M9(L,M,Y),z=!c.arrow&&ol(a)!=null&&M!==q&&i.reference[b]/2-(Mol(o)===e),...n.filter(o=>ol(o)!==e)]:n.filter(o=>Da(o)===o)).filter(o=>e?ol(o)===e||(r?fw(o)!==o:!1):!0)}const sOe=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(r){var n,o,a;const{rects:i,middlewareData:l,placement:s,platform:c,elements:u}=r,{crossAxis:d=!1,alignment:p,allowedPlacements:f=DV,autoAlignment:g=!0,...b}=nl(e,r),x=p!==void 0||f===DV?lOe(p||null,g,f):f,w=await Of(r,b),k=((n=l.autoPlacement)==null?void 0:n.index)||0,C=x[k];if(C==null)return{};const _=PV(C,i,await(c.isRTL==null?void 0:c.isRTL(u.floating)));if(s!==C)return{reset:{placement:x[0]}};const T=[w[Da(C)],w[_[0]],w[_[1]]],R=[...((o=l.autoPlacement)==null?void 0:o.overflows)||[],{placement:C,overflows:T}],A=x[k+1];if(A)return{data:{index:k+1,overflows:R},reset:{placement:A}};const D=R.map($=>{const O=ol($.placement);return[$.placement,O&&d?$.overflows.slice(0,2).reduce((j,L)=>j+L,0):$.overflows[0],$.overflows]}).sort(($,O)=>$[1]-O[1]),N=((a=D.filter($=>$[2].slice(0,ol($[0])?2:3).every(O=>O<=0))[0])==null?void 0:a[0])||D[0][0];return N!==s?{data:{index:k+1,overflows:R},reset:{placement:N}}:{}}}},cOe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(r){var n,o;const{placement:a,middlewareData:i,rects:l,initialPlacement:s,platform:c,elements:u}=r,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:x=!0,...w}=nl(e,r);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const k=Da(a),C=al(s),_=Da(s)===s,T=await(c.isRTL==null?void 0:c.isRTL(u.floating)),R=f||(_||!x?[mw(s)]:zMe(s)),A=b!=="none";!f&&A&&R.push(...FMe(s,x,b,T));const D=[s,...R],N=await Of(r,w),$=[];let O=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&$.push(N[k]),p){const M=PV(a,l,T);$.push(N[M[0]],N[M[1]])}if(O=[...O,{placement:a,overflows:$}],!$.every(M=>M<=0)){var j,L;const M=(((j=i.flip)==null?void 0:j.index)||0)+1,q=D[M];if(q&&(!(p==="alignment"&&C!==al(q))||O.every(H=>al(H.placement)===C?H.overflows[0]>0:!0)))return{data:{index:M,overflows:O},reset:{placement:q}};let z=(L=O.filter(H=>H.overflows[0]<=0).sort((H,U)=>H.overflows[1]-U.overflows[1])[0])==null?void 0:L.placement;if(!z)switch(g){case"bestFit":{var Y;const H=(Y=O.filter(U=>{if(A){const K=al(U.placement);return K===C||K==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(K=>K>0).reduce((K,V)=>K+V,0)]).sort((U,K)=>U[1]-K[1])[0])==null?void 0:Y[0];H&&(z=H);break}case"initialPlacement":z=s;break}if(a!==z)return{reset:{placement:z}}}return{}}}};function LV(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function BV(e){return AV.some(r=>e[r]>=0)}const uOe=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(r){const{rects:n}=r,{strategy:o="referenceHidden",...a}=nl(e,r);switch(o){case"referenceHidden":{const i=await Of(r,{...a,elementContext:"reference"}),l=LV(i,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:BV(l)}}}case"escaped":{const i=await Of(r,{...a,altBoundary:!0}),l=LV(i,n.floating);return{data:{escapedOffsets:l,escaped:BV(l)}}}default:return{}}}}};function jV(e){const r=rl(...e.map(i=>i.left)),n=rl(...e.map(i=>i.top)),o=$o(...e.map(i=>i.right)),a=$o(...e.map(i=>i.bottom));return{x:r,y:n,width:o-r,height:a-n}}function dOe(e){const r=e.slice().sort((a,i)=>a.y-i.y),n=[];let o=null;for(let a=0;ao.height/2?n.push([i]):n[n.length-1].push(i),o=i}return n.map(a=>$f(jV(a)))}const pOe=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(r){const{placement:n,elements:o,rects:a,platform:i,strategy:l}=r,{padding:s=2,x:c,y:u}=nl(e,r),d=Array.from(await(i.getClientRects==null?void 0:i.getClientRects(o.reference))||[]),p=dOe(d),f=$f(jV(d)),g=L9(s);function b(){if(p.length===2&&p[0].left>p[1].right&&c!=null&&u!=null)return p.find(w=>c>w.left-g.left&&cw.top-g.top&&u=2){if(al(n)==="y"){const O=p[0],j=p[p.length-1],L=Da(n)==="top",Y=O.top,M=j.bottom,q=L?O.left:j.left,z=L?O.right:j.right,H=z-q,U=M-Y;return{top:Y,bottom:M,left:q,right:z,width:H,height:U,x:q,y:Y}}const w=Da(n)==="left",k=$o(...p.map(O=>O.right)),C=rl(...p.map(O=>O.left)),_=p.filter(O=>w?O.left===C:O.right===k),T=_[0].top,R=_[_.length-1].bottom,A=C,D=k,N=D-A,$=R-T;return{top:T,bottom:R,left:A,right:D,width:N,height:$,x:A,y:T}}return f}const x=await i.getElementRects({reference:{getBoundingClientRect:b},floating:o.floating,strategy:l});return a.reference.x!==x.reference.x||a.reference.y!==x.reference.y||a.reference.width!==x.reference.width||a.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}},FV=new Set(["left","top"]);async function hOe(e,r){const{placement:n,platform:o,elements:a}=e,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),l=Da(n),s=ol(n),c=al(n)==="y",u=FV.has(l)?-1:1,d=i&&c?-1:1,p=nl(r,e);let{mainAxis:f,crossAxis:g,alignmentAxis:b}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return s&&typeof b=="number"&&(g=s==="end"?b*-1:b),c?{x:g*d,y:f*u}:{x:f*u,y:g*d}}const fOe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(r){var n,o;const{x:a,y:i,placement:l,middlewareData:s}=r,c=await hOe(r,e);return l===((n=s.offset)==null?void 0:n.placement)&&(o=s.arrow)!=null&&o.alignmentOffset?{}:{x:a+c.x,y:i+c.y,data:{...c,placement:l}}}}},mOe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(r){const{x:n,y:o,placement:a}=r,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:w=>{let{x:k,y:C}=w;return{x:k,y:C}}},...c}=nl(e,r),u={x:n,y:o},d=await Of(r,c),p=al(Da(a)),f=O9(p);let g=u[f],b=u[p];if(i){const w=f==="y"?"top":"left",k=f==="y"?"bottom":"right",C=g+d[w],_=g-d[k];g=M9(C,g,_)}if(l){const w=p==="y"?"top":"left",k=p==="y"?"bottom":"right",C=b+d[w],_=b-d[k];b=M9(C,b,_)}const x=s.fn({...r,[f]:g,[p]:b});return{...x,data:{x:x.x-n,y:x.y-o,enabled:{[f]:i,[p]:l}}}}}},gOe=function(e){return e===void 0&&(e={}),{options:e,fn(r){const{x:n,y:o,placement:a,rects:i,middlewareData:l}=r,{offset:s=0,mainAxis:c=!0,crossAxis:u=!0}=nl(e,r),d={x:n,y:o},p=al(a),f=O9(p);let g=d[f],b=d[p];const x=nl(s,r),w=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(c){const _=f==="y"?"height":"width",T=i.reference[f]-i.floating[_]+w.mainAxis,R=i.reference[f]+i.reference[_]-w.mainAxis;gR&&(g=R)}if(u){var k,C;const _=f==="y"?"width":"height",T=FV.has(Da(a)),R=i.reference[p]-i.floating[_]+(T&&((k=l.offset)==null?void 0:k[p])||0)+(T?0:w.crossAxis),A=i.reference[p]+i.reference[_]+(T?0:((C=l.offset)==null?void 0:C[p])||0)-(T?w.crossAxis:0);bA&&(b=A)}return{[f]:g,[p]:b}}}},yOe=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(r){var n,o;const{placement:a,rects:i,platform:l,elements:s}=r,{apply:c=()=>{},...u}=nl(e,r),d=await Of(r,u),p=Da(a),f=ol(a),g=al(a)==="y",{width:b,height:x}=i.floating;let w,k;p==="top"||p==="bottom"?(w=p,k=f===(await(l.isRTL==null?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(k=p,w=f==="end"?"top":"bottom");const C=x-d.top-d.bottom,_=b-d.left-d.right,T=rl(x-d[w],C),R=rl(b-d[k],_),A=!r.middlewareData.shift;let D=T,N=R;if((n=r.middlewareData.shift)!=null&&n.enabled.x&&(N=_),(o=r.middlewareData.shift)!=null&&o.enabled.y&&(D=C),A&&!f){const O=$o(d.left,0),j=$o(d.right,0),L=$o(d.top,0),Y=$o(d.bottom,0);g?N=b-2*(O!==0||j!==0?O+j:$o(d.left,d.right)):D=x-2*(L!==0||Y!==0?L+Y:$o(d.top,d.bottom))}await c({...r,availableWidth:N,availableHeight:D});const $=await l.getDimensions(s.floating);return b!==$.width||x!==$.height?{reset:{rects:!0}}:{}}}};function HV(e){const r=li(e);let n=parseFloat(r.width)||0,o=parseFloat(r.height)||0;const a=Na(e),i=a?e.offsetWidth:n,l=a?e.offsetHeight:o,s=pw(n)!==i||pw(o)!==l;return s&&(n=i,o=l),{width:n,height:o,$:s}}function F9(e){return Or(e)?e:e.contextElement}function If(e){const r=F9(e);if(!Na(r))return as(1);const n=r.getBoundingClientRect(),{width:o,height:a,$:i}=HV(r);let l=(i?pw(n.width):n.width)/o,s=(i?pw(n.height):n.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const bOe=as(0);function qV(e){const r=ra(e);return!uw()||!r.visualViewport?bOe:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function vOe(e,r,n){return r===void 0&&(r=!1),!n||r&&n!==ra(e)?!1:r}function ap(e,r,n,o){r===void 0&&(r=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),i=F9(e);let l=as(1);r&&(o?Or(o)&&(l=If(o)):l=If(e));const s=vOe(i,n,o)?qV(i):as(0);let c=(a.left+s.x)/l.x,u=(a.top+s.y)/l.y,d=a.width/l.x,p=a.height/l.y;if(i){const f=ra(i),g=o&&Or(o)?ra(o):o;let b=f,x=$9(b);for(;x&&o&&g!==b;){const w=If(x),k=x.getBoundingClientRect(),C=li(x),_=k.left+(x.clientLeft+parseFloat(C.paddingLeft))*w.x,T=k.top+(x.clientTop+parseFloat(C.paddingTop))*w.y;c*=w.x,u*=w.y,d*=w.x,p*=w.y,c+=_,u+=T,b=ra(x),x=$9(b)}}return $f({width:d,height:p,x:c,y:u})}function bw(e,r){const n=dw(e).scrollLeft;return r?r.left+n:ap(os(e)).left+n}function UV(e,r){const n=e.getBoundingClientRect(),o=n.left+r.scrollLeft-bw(e,n),a=n.top+r.scrollTop;return{x:o,y:a}}function xOe(e){let{elements:r,rect:n,offsetParent:o,strategy:a}=e;const i=a==="fixed",l=os(o),s=r?cw(r.floating):!1;if(o===l||s&&i)return n;let c={scrollLeft:0,scrollTop:0},u=as(1);const d=as(0),p=Na(o);if((p||!p&&!i)&&((Pf(o)!=="body"||H0(l))&&(c=dw(o)),Na(o))){const g=ap(o);u=If(o),d.x=g.x+o.clientLeft,d.y=g.y+o.clientTop}const f=l&&!p&&!i?UV(l,c):as(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+f.x,y:n.y*u.y-c.scrollTop*u.y+d.y+f.y}}function wOe(e){return Array.from(e.getClientRects())}function kOe(e){const r=os(e),n=dw(e),o=e.ownerDocument.body,a=$o(r.scrollWidth,r.clientWidth,o.scrollWidth,o.clientWidth),i=$o(r.scrollHeight,r.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+bw(e);const s=-n.scrollTop;return li(o).direction==="rtl"&&(l+=$o(r.clientWidth,o.clientWidth)-a),{width:a,height:i,x:l,y:s}}const VV=25;function _Oe(e,r){const n=ra(e),o=os(e),a=n.visualViewport;let i=o.clientWidth,l=o.clientHeight,s=0,c=0;if(a){i=a.width,l=a.height;const d=uw();(!d||d&&r==="fixed")&&(s=a.offsetLeft,c=a.offsetTop)}const u=bw(o);if(u<=0){const d=o.ownerDocument,p=d.body,f=getComputedStyle(p),g=d.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,b=Math.abs(o.clientWidth-p.clientWidth-g);b<=VV&&(i-=b)}else u<=VV&&(i+=u);return{width:i,height:l,x:s,y:c}}const EOe=new Set(["absolute","fixed"]);function SOe(e,r){const n=ap(e,!0,r==="fixed"),o=n.top+e.clientTop,a=n.left+e.clientLeft,i=Na(e)?If(e):as(1),l=e.clientWidth*i.x,s=e.clientHeight*i.y,c=a*i.x,u=o*i.y;return{width:l,height:s,x:c,y:u}}function YV(e,r,n){let o;if(r==="viewport")o=_Oe(e,n);else if(r==="document")o=kOe(os(e));else if(Or(r))o=SOe(r,n);else{const a=qV(e);o={x:r.x-a.x,y:r.y-a.y,width:r.width,height:r.height}}return $f(o)}function WV(e,r){const n=Gs(e);return n===r||!Or(n)||Ws(n)?!1:li(n).position==="fixed"||WV(n,r)}function COe(e,r){const n=r.get(e);if(n)return n;let o=Xs(e,[],!1).filter(s=>Or(s)&&Pf(s)!=="body"),a=null;const i=li(e).position==="fixed";let l=i?Gs(e):e;for(;Or(l)&&!Ws(l);){const s=li(l),c=P9(l);!c&&s.position==="fixed"&&(a=null),(i?!c&&!a:!c&&s.position==="static"&&a&&EOe.has(a.position)||H0(l)&&!c&&WV(e,l))?o=o.filter(u=>u!==l):a=s,l=Gs(l)}return r.set(e,o),o}function TOe(e){let{element:r,boundary:n,rootBoundary:o,strategy:a}=e;const i=[...n==="clippingAncestors"?cw(r)?[]:COe(r,this._c):[].concat(n),o],l=i[0],s=i.reduce((c,u)=>{const d=YV(r,u,a);return c.top=$o(d.top,c.top),c.right=rl(d.right,c.right),c.bottom=rl(d.bottom,c.bottom),c.left=$o(d.left,c.left),c},YV(r,l,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function ROe(e){const{width:r,height:n}=HV(e);return{width:r,height:n}}function AOe(e,r,n){const o=Na(r),a=os(r),i=n==="fixed",l=ap(e,!0,i,r);let s={scrollLeft:0,scrollTop:0};const c=as(0);function u(){c.x=bw(a)}if(o||!o&&!i)if((Pf(r)!=="body"||H0(a))&&(s=dw(r)),o){const g=ap(r,!0,i,r);c.x=g.x+r.clientLeft,c.y=g.y+r.clientTop}else a&&u();i&&!o&&a&&u();const d=a&&!o&&!i?UV(a,s):as(0),p=l.left+s.scrollLeft-c.x-d.x,f=l.top+s.scrollTop-c.y-d.y;return{x:p,y:f,width:l.width,height:l.height}}function H9(e){return li(e).position==="static"}function GV(e,r){if(!Na(e)||li(e).position==="fixed")return null;if(r)return r(e);let n=e.offsetParent;return os(e)===n&&(n=n.ownerDocument.body),n}function XV(e,r){const n=ra(e);if(cw(e))return n;if(!Na(e)){let a=Gs(e);for(;a&&!Ws(a);){if(Or(a)&&!H9(a))return a;a=Gs(a)}return n}let o=GV(e,r);for(;o&&TMe(o)&&H9(o);)o=GV(o,r);return o&&Ws(o)&&H9(o)&&!P9(o)?n:o||PMe(e)||n}const NOe=async function(e){const r=this.getOffsetParent||XV,n=this.getDimensions,o=await n(e.floating);return{reference:AOe(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function DOe(e){return li(e).direction==="rtl"}const POe={convertOffsetParentRelativeRectToViewportRelativeRect:xOe,getDocumentElement:os,getClippingRect:TOe,getOffsetParent:XV,getElementRects:NOe,getClientRects:wOe,getDimensions:ROe,getScale:If,isElement:Or,isRTL:DOe};function KV(e,r){return e.x===r.x&&e.y===r.y&&e.width===r.width&&e.height===r.height}function $Oe(e,r){let n=null,o;const a=os(e);function i(){var s;clearTimeout(o),(s=n)==null||s.disconnect(),n=null}function l(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),i();const u=e.getBoundingClientRect(),{left:d,top:p,width:f,height:g}=u;if(s||r(),!f||!g)return;const b=hw(p),x=hw(a.clientWidth-(d+f)),w=hw(a.clientHeight-(p+g)),k=hw(d),C={rootMargin:-b+"px "+-x+"px "+-w+"px "+-k+"px",threshold:$o(0,rl(1,c))||1};let _=!0;function T(R){const A=R[0].intersectionRatio;if(A!==c){if(!_)return l();A?l(!1,A):o=setTimeout(()=>{l(!1,1e-7)},1e3)}A===1&&!KV(u,e.getBoundingClientRect())&&l(),_=!1}try{n=new IntersectionObserver(T,{...C,root:a.ownerDocument})}catch{n=new IntersectionObserver(T,C)}n.observe(e)}return l(!0),i}function vw(e,r,n,o){o===void 0&&(o={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,u=F9(e),d=a||i?[...u?Xs(u):[],...Xs(r)]:[];d.forEach(k=>{a&&k.addEventListener("scroll",n,{passive:!0}),i&&k.addEventListener("resize",n)});const p=u&&s?$Oe(u,n):null;let f=-1,g=null;l&&(g=new ResizeObserver(k=>{let[C]=k;C&&C.target===u&&g&&(g.unobserve(r),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var _;(_=g)==null||_.observe(r)})),n()}),u&&!c&&g.observe(u),g.observe(r));let b,x=c?ap(e):null;c&&w();function w(){const k=ap(e);x&&!KV(x,k)&&n(),x=k,b=requestAnimationFrame(w)}return n(),()=>{var k;d.forEach(C=>{a&&C.removeEventListener("scroll",n),i&&C.removeEventListener("resize",n)}),p?.(),(k=g)==null||k.disconnect(),g=null,c&&cancelAnimationFrame(b)}}const ZV=fOe,MOe=sOe,OOe=mOe,IOe=cOe,QV=yOe,JV=uOe,eY=iOe,zOe=pOe,LOe=gOe,tY=(e,r,n)=>{const o=new Map,a={platform:POe,...n},i={...a.platform,_c:o};return aOe(e,r,{...a,platform:i})};var BOe=typeof document<"u",jOe=function(){},xw=BOe?S.useLayoutEffect:jOe;function ww(e,r){if(e===r)return!0;if(typeof e!=typeof r)return!1;if(typeof e=="function"&&e.toString()===r.toString())return!0;let n,o,a;if(e&&r&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==r.length)return!1;for(o=n;o--!==0;)if(!ww(e[o],r[o]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(r).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(r,a[o]))return!1;for(o=n;o--!==0;){const i=a[o];if(!(i==="_owner"&&e.$$typeof)&&!ww(e[i],r[i]))return!1}return!0}return e!==e&&r!==r}function rY(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nY(e,r){const n=rY(e);return Math.round(r*n)/n}function q9(e){const r=S.useRef(e);return xw(()=>{r.current=e}),r}function FOe(e){e===void 0&&(e={});const{placement:r="bottom",strategy:n="absolute",middleware:o=[],platform:a,elements:{reference:i,floating:l}={},transform:s=!0,whileElementsMounted:c,open:u}=e,[d,p]=S.useState({x:0,y:0,strategy:n,placement:r,middlewareData:{},isPositioned:!1}),[f,g]=S.useState(o);ww(f,o)||g(o);const[b,x]=S.useState(null),[w,k]=S.useState(null),C=S.useCallback(U=>{U!==A.current&&(A.current=U,x(U))},[]),_=S.useCallback(U=>{U!==D.current&&(D.current=U,k(U))},[]),T=i||b,R=l||w,A=S.useRef(null),D=S.useRef(null),N=S.useRef(d),$=c!=null,O=q9(c),j=q9(a),L=q9(u),Y=S.useCallback(()=>{if(!A.current||!D.current)return;const U={placement:r,strategy:n,middleware:f};j.current&&(U.platform=j.current),tY(A.current,D.current,U).then(K=>{const V={...K,isPositioned:L.current!==!1};M.current&&!ww(N.current,V)&&(N.current=V,Fi.flushSync(()=>{p(V)}))})},[f,r,n,j,L]);xw(()=>{u===!1&&N.current.isPositioned&&(N.current.isPositioned=!1,p(U=>({...U,isPositioned:!1})))},[u]);const M=S.useRef(!1);xw(()=>(M.current=!0,()=>{M.current=!1}),[]),xw(()=>{if(T&&(A.current=T),R&&(D.current=R),T&&R){if(O.current)return O.current(T,R,Y);Y()}},[T,R,Y,O,$]);const q=S.useMemo(()=>({reference:A,floating:D,setReference:C,setFloating:_}),[C,_]),z=S.useMemo(()=>({reference:T,floating:R}),[T,R]),H=S.useMemo(()=>{const U={position:n,left:0,top:0};if(!z.floating)return U;const K=nY(z.floating,d.x),V=nY(z.floating,d.y);return s?{...U,transform:"translate("+K+"px, "+V+"px)",...rY(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:K,top:V}},[n,s,z.floating,d.x,d.y]);return S.useMemo(()=>({...d,update:Y,refs:q,elements:z,floatingStyles:H}),[d,Y,q,z,H])}const HOe=e=>{function r(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:a}=typeof e=="function"?e(n):e;return o&&r(o)?o.current!=null?eY({element:o.current,padding:a}).fn(n):{}:o?eY({element:o,padding:a}).fn(n):{}}}},oY=(e,r)=>({...ZV(e),options:[e,r]}),U9=(e,r)=>({...OOe(e),options:[e,r]}),aY=(e,r)=>({...LOe(e),options:[e,r]}),kw=(e,r)=>({...IOe(e),options:[e,r]}),qOe=(e,r)=>({...QV(e),options:[e,r]}),UOe=(e,r)=>({...JV(e),options:[e,r]}),U0=(e,r)=>({...zOe(e),options:[e,r]}),iY=(e,r)=>({...HOe(e),options:[e,r]});function lY(e){const r=S.useRef(void 0),n=S.useCallback(o=>{const a=e.map(i=>{if(i!=null){if(typeof i=="function"){const l=i,s=l(o);return typeof s=="function"?s:()=>{l(null)}}return i.current=o,()=>{i.current=null}}});return()=>{a.forEach(i=>i?.())}},e);return S.useMemo(()=>e.every(o=>o==null)?null:o=>{r.current&&(r.current(),r.current=void 0),o!=null&&(r.current=n(o))},e)}const VOe="data-floating-ui-focusable",sY="active",cY="selected",YOe={...Wv};let uY=!1,WOe=0;const dY=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+WOe++;function GOe(){const[e,r]=S.useState(()=>uY?dY():void 0);return is(()=>{e==null&&r(dY())},[]),S.useEffect(()=>{uY=!0},[]),e}const XOe=YOe.useId,pY=XOe||GOe;function KOe(){const e=new Map;return{emit(r,n){var o;(o=e.get(r))==null||o.forEach(a=>a(n))},on(r,n){e.has(r)||e.set(r,new Set),e.get(r).add(n)},off(r,n){var o;(o=e.get(r))==null||o.delete(n)}}}const ZOe=S.createContext(null),QOe=S.createContext(null),V9=()=>{var e;return((e=S.useContext(ZOe))==null?void 0:e.id)||null},Y9=()=>S.useContext(QOe);function W9(e){return"data-floating-ui-"+e}function si(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const hY=W9("safe-polygon");function _w(e,r,n){if(n&&!j9(n))return 0;if(typeof e=="number")return e;if(typeof e=="function"){const o=e();return typeof o=="number"?o:o?.[r]}return e?.[r]}function G9(e){return typeof e=="function"?e():e}function fY(e,r){r===void 0&&(r={});const{open:n,onOpenChange:o,dataRef:a,events:i,elements:l}=e,{enabled:s=!0,delay:c=0,handleClose:u=null,mouseOnly:d=!1,restMs:p=0,move:f=!0}=r,g=Y9(),b=V9(),x=yw(u),w=yw(c),k=yw(n),C=yw(p),_=S.useRef(),T=S.useRef(-1),R=S.useRef(),A=S.useRef(-1),D=S.useRef(!0),N=S.useRef(!1),$=S.useRef(()=>{}),O=S.useRef(!1),j=ls(()=>{var H;const U=(H=a.current.openEvent)==null?void 0:H.type;return U?.includes("mouse")&&U!=="mousedown"});S.useEffect(()=>{if(!s)return;function H(U){let{open:K}=U;K||(si(T),si(A),D.current=!0,O.current=!1)}return i.on("openchange",H),()=>{i.off("openchange",H)}},[s,i]),S.useEffect(()=>{if(!s||!x.current||!n)return;function H(K){j()&&o(!1,K,"hover")}const U=op(l.floating).documentElement;return U.addEventListener("mouseleave",H),()=>{U.removeEventListener("mouseleave",H)}},[l.floating,n,o,s,x,j]);const L=S.useCallback(function(H,U,K){U===void 0&&(U=!0),K===void 0&&(K="hover");const V=_w(w.current,"close",_.current);V&&!R.current?(si(T),T.current=window.setTimeout(()=>o(!1,H,K),V)):U&&(si(T),o(!1,H,K))},[w,o]),Y=ls(()=>{$.current(),R.current=void 0}),M=ls(()=>{if(N.current){const H=op(l.floating).body;H.style.pointerEvents="",H.removeAttribute(hY),N.current=!1}}),q=ls(()=>a.current.openEvent?["click","mousedown"].includes(a.current.openEvent.type):!1);S.useEffect(()=>{if(!s)return;function H(Z){if(si(T),D.current=!1,d&&!j9(_.current)||G9(C.current)>0&&!_w(w.current,"open"))return;const B=_w(w.current,"open",_.current);B?T.current=window.setTimeout(()=>{k.current||o(!0,Z,"hover")},B):n||o(!0,Z,"hover")}function U(Z){if(q()){M();return}$.current();const B=op(l.floating);if(si(A),O.current=!1,x.current&&a.current.floatingContext){n||si(T),R.current=x.current({...a.current.floatingContext,tree:g,x:Z.clientX,y:Z.clientY,onClose(){M(),Y(),q()||L(Z,!0,"safe-polygon")}});const W=R.current;B.addEventListener("mousemove",W),$.current=()=>{B.removeEventListener("mousemove",W)};return}(_.current!=="touch"||!q0(l.floating,Z.relatedTarget))&&L(Z)}function K(Z){q()||a.current.floatingContext&&(x.current==null||x.current({...a.current.floatingContext,tree:g,x:Z.clientX,y:Z.clientY,onClose(){M(),Y(),q()||L(Z)}})(Z))}function V(){si(T)}function X(Z){q()||L(Z,!1)}if(Or(l.domReference)){const Z=l.domReference,B=l.floating;return n&&Z.addEventListener("mouseleave",K),f&&Z.addEventListener("mousemove",H,{once:!0}),Z.addEventListener("mouseenter",H),Z.addEventListener("mouseleave",U),B&&(B.addEventListener("mouseleave",K),B.addEventListener("mouseenter",V),B.addEventListener("mouseleave",X)),()=>{n&&Z.removeEventListener("mouseleave",K),f&&Z.removeEventListener("mousemove",H),Z.removeEventListener("mouseenter",H),Z.removeEventListener("mouseleave",U),B&&(B.removeEventListener("mouseleave",K),B.removeEventListener("mouseenter",V),B.removeEventListener("mouseleave",X))}}},[l,s,e,d,f,L,Y,M,o,n,k,g,w,x,a,q,C]),is(()=>{var H;if(s&&n&&(H=x.current)!=null&&(H=H.__options)!=null&&H.blockPointerEvents&&j()){N.current=!0;const K=l.floating;if(Or(l.domReference)&&K){var U;const V=op(l.floating).body;V.setAttribute(hY,"");const X=l.domReference,Z=g==null||(U=g.nodesRef.current.find(B=>B.id===b))==null||(U=U.context)==null?void 0:U.elements.floating;return Z&&(Z.style.pointerEvents=""),V.style.pointerEvents="none",X.style.pointerEvents="auto",K.style.pointerEvents="auto",()=>{V.style.pointerEvents="",X.style.pointerEvents="",K.style.pointerEvents=""}}}},[s,n,b,l,g,x,j]),is(()=>{n||(_.current=void 0,O.current=!1,Y(),M())},[n,Y,M]),S.useEffect(()=>()=>{Y(),si(T),si(A),M()},[s,l.domReference,Y,M]);const z=S.useMemo(()=>{function H(U){_.current=U.pointerType}return{onPointerDown:H,onPointerEnter:H,onMouseMove(U){const{nativeEvent:K}=U;function V(){!D.current&&!k.current&&o(!0,K,"hover")}d&&!j9(_.current)||n||G9(C.current)===0||O.current&&U.movementX**2+U.movementY**2<2||(si(A),_.current==="touch"?V():(O.current=!0,A.current=window.setTimeout(V,G9(C.current))))}}},[d,o,n,k,C]);return S.useMemo(()=>s?{reference:z}:{},[s,z])}const X9=()=>{},mY=S.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:X9,setState:X9,isInstantPhase:!1}),JOe=()=>S.useContext(mY);function gY(e){const{children:r,delay:n,timeoutMs:o=0}=e,[a,i]=S.useReducer((c,u)=>({...c,...u}),{delay:n,timeoutMs:o,initialDelay:n,currentId:null,isInstantPhase:!1}),l=S.useRef(null),s=S.useCallback(c=>{i({currentId:c})},[]);return is(()=>{a.currentId?l.current===null?l.current=a.currentId:a.isInstantPhase||i({isInstantPhase:!0}):(a.isInstantPhase&&i({isInstantPhase:!1}),l.current=null)},[a.currentId,a.isInstantPhase]),y.jsx(mY.Provider,{value:S.useMemo(()=>({...a,setState:i,setCurrentId:s}),[a,s]),children:r})}function yY(e,r){r===void 0&&(r={});const{open:n,onOpenChange:o,floatingId:a}=e,{id:i,enabled:l=!0}=r,s=i??a,c=JOe(),{currentId:u,setCurrentId:d,initialDelay:p,setState:f,timeoutMs:g}=c;return is(()=>{l&&u&&(f({delay:{open:1,close:_w(p,"close")}}),u!==s&&o(!1))},[l,s,o,f,u,p]),is(()=>{function b(){o(!1),f({delay:p,currentId:null})}if(l&&u&&!n&&u===s){if(g){const x=window.setTimeout(b,g);return()=>{clearTimeout(x)}}b()}},[l,n,f,u,s,o,p,g]),is(()=>{l&&(d===X9||!n||d(s))},[l,n,d,s]),c}const eIe={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},tIe={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},bY=e=>{var r,n;return{escapeKey:typeof e=="boolean"?e:(r=e?.escapeKey)!=null?r:!1,outsidePress:typeof e=="boolean"?e:(n=e?.outsidePress)!=null?n:!0}};function vY(e,r){r===void 0&&(r={});const{open:n,onOpenChange:o,elements:a,dataRef:i}=e,{enabled:l=!0,escapeKey:s=!0,outsidePress:c=!0,outsidePressEvent:u="pointerdown",referencePress:d=!1,referencePressEvent:p="pointerdown",ancestorScroll:f=!1,bubbles:g,capture:b}=r,x=Y9(),w=ls(typeof c=="function"?c:()=>!1),k=typeof c=="function"?w:c,C=S.useRef(!1),{escapeKey:_,outsidePress:T}=bY(g),{escapeKey:R,outsidePress:A}=bY(b),D=S.useRef(!1),N=ls(M=>{var q;if(!n||!l||!s||M.key!=="Escape"||D.current)return;const z=(q=i.current.floatingContext)==null?void 0:q.nodeId,H=x?gw(x.nodesRef.current,z):[];if(!_&&(M.stopPropagation(),H.length>0)){let U=!0;if(H.forEach(K=>{var V;if((V=K.context)!=null&&V.open&&!K.context.dataRef.current.__escapeKeyBubbles){U=!1;return}}),!U)return}o(!1,JMe(M)?M.nativeEvent:M,"escape-key")}),$=ls(M=>{var q;const z=()=>{var H;N(M),(H=Mf(M))==null||H.removeEventListener("keydown",z)};(q=Mf(M))==null||q.addEventListener("keydown",z)}),O=ls(M=>{var q;const z=i.current.insideReactTree;i.current.insideReactTree=!1;const H=C.current;if(C.current=!1,u==="click"&&H||z||typeof k=="function"&&!k(M))return;const U=Mf(M),K="["+W9("inert")+"]",V=op(a.floating).querySelectorAll(K);let X=Or(U)?U:null;for(;X&&!Ws(X);){const Q=Gs(X);if(Ws(Q)||!Or(Q))break;X=Q}if(V.length&&Or(U)&&!XMe(U)&&!q0(U,a.floating)&&Array.from(V).every(Q=>!q0(X,Q)))return;if(Na(U)&&Y){const Q=Ws(U),J=li(U),ne=/auto|scroll/,te=Q||ne.test(J.overflowX),ee=Q||ne.test(J.overflowY),pe=te&&U.clientWidth>0&&U.scrollWidth>U.clientWidth,Te=ee&&U.clientHeight>0&&U.scrollHeight>U.clientHeight,ce=J.direction==="rtl",de=Te&&(ce?M.offsetX<=U.offsetWidth-U.clientWidth:M.offsetX>U.clientWidth),xe=pe&&M.offsetY>U.clientHeight;if(de||xe)return}const Z=(q=i.current.floatingContext)==null?void 0:q.nodeId,B=x&&gw(x.nodesRef.current,Z).some(Q=>{var J;return B9(M,(J=Q.context)==null?void 0:J.elements.floating)});if(B9(M,a.floating)||B9(M,a.domReference)||B)return;const W=x?gw(x.nodesRef.current,Z):[];if(W.length>0){let Q=!0;if(W.forEach(J=>{var ne;if((ne=J.context)!=null&&ne.open&&!J.context.dataRef.current.__outsidePressBubbles){Q=!1;return}}),!Q)return}o(!1,M,"outside-press")}),j=ls(M=>{var q;const z=()=>{var H;O(M),(H=Mf(M))==null||H.removeEventListener(u,z)};(q=Mf(M))==null||q.addEventListener(u,z)});S.useEffect(()=>{if(!n||!l)return;i.current.__escapeKeyBubbles=_,i.current.__outsidePressBubbles=T;let M=-1;function q(V){o(!1,V,"ancestor-scroll")}function z(){window.clearTimeout(M),D.current=!0}function H(){M=window.setTimeout(()=>{D.current=!1},uw()?5:0)}const U=op(a.floating);s&&(U.addEventListener("keydown",R?$:N,R),U.addEventListener("compositionstart",z),U.addEventListener("compositionend",H)),k&&U.addEventListener(u,A?j:O,A);let K=[];return f&&(Or(a.domReference)&&(K=Xs(a.domReference)),Or(a.floating)&&(K=K.concat(Xs(a.floating))),!Or(a.reference)&&a.reference&&a.reference.contextElement&&(K=K.concat(Xs(a.reference.contextElement)))),K=K.filter(V=>{var X;return V!==((X=U.defaultView)==null?void 0:X.visualViewport)}),K.forEach(V=>{V.addEventListener("scroll",q,{passive:!0})}),()=>{s&&(U.removeEventListener("keydown",R?$:N,R),U.removeEventListener("compositionstart",z),U.removeEventListener("compositionend",H)),k&&U.removeEventListener(u,A?j:O,A),K.forEach(V=>{V.removeEventListener("scroll",q)}),window.clearTimeout(M)}},[i,a,s,k,u,n,o,f,l,_,T,N,R,$,O,A,j]),S.useEffect(()=>{i.current.insideReactTree=!1},[i,k,u]);const L=S.useMemo(()=>({onKeyDown:N,...d&&{[eIe[p]]:M=>{o(!1,M.nativeEvent,"reference-press")},...p!=="click"&&{onClick(M){o(!1,M.nativeEvent,"reference-press")}}}}),[N,o,d,p]),Y=S.useMemo(()=>({onKeyDown:N,onMouseDown(){C.current=!0},onMouseUp(){C.current=!0},[tIe[u]]:()=>{i.current.insideReactTree=!0}}),[N,u,i]);return S.useMemo(()=>l?{reference:L,floating:Y}:{},[l,L,Y])}function rIe(e){const{open:r=!1,onOpenChange:n,elements:o}=e,a=pY(),i=S.useRef({}),[l]=S.useState(()=>KOe()),s=V9()!=null,[c,u]=S.useState(o.reference),d=ls((g,b,x)=>{i.current.openEvent=g?b:void 0,l.emit("openchange",{open:g,event:b,reason:x,nested:s}),n?.(g,b,x)}),p=S.useMemo(()=>({setPositionReference:u}),[]),f=S.useMemo(()=>({reference:c||o.reference||null,floating:o.floating||null,domReference:o.reference}),[c,o.reference,o.floating]);return S.useMemo(()=>({dataRef:i,open:r,onOpenChange:d,elements:f,events:l,floatingId:a,refs:p}),[r,d,f,l,a,p])}function Ew(e){e===void 0&&(e={});const{nodeId:r}=e,n=rIe({...e,elements:{reference:null,floating:null,...e.elements}}),o=e.rootContext||n,a=o.elements,[i,l]=S.useState(null),[s,c]=S.useState(null),u=a?.domReference||i,d=S.useRef(null),p=Y9();is(()=>{u&&(d.current=u)},[u]);const f=FOe({...e,elements:{...a,...s&&{reference:s}}}),g=S.useCallback(C=>{const _=Or(C)?{getBoundingClientRect:()=>C.getBoundingClientRect(),getClientRects:()=>C.getClientRects(),contextElement:C}:C;c(_),f.refs.setReference(_)},[f.refs]),b=S.useCallback(C=>{(Or(C)||C===null)&&(d.current=C,l(C)),(Or(f.refs.reference.current)||f.refs.reference.current===null||C!==null&&!Or(C))&&f.refs.setReference(C)},[f.refs]),x=S.useMemo(()=>({...f.refs,setReference:b,setPositionReference:g,domReference:d}),[f.refs,b,g]),w=S.useMemo(()=>({...f.elements,domReference:u}),[f.elements,u]),k=S.useMemo(()=>({...f,...o,refs:x,elements:w,nodeId:r}),[f,x,w,r,o]);return is(()=>{o.dataRef.current.floatingContext=k;const C=p?.nodesRef.current.find(_=>_.id===r);C&&(C.context=k)}),S.useMemo(()=>({...f,context:k,refs:x,elements:w}),[f,x,w,k])}function K9(){return YMe()&&VMe()}function nIe(e,r){r===void 0&&(r={});const{open:n,onOpenChange:o,events:a,dataRef:i,elements:l}=e,{enabled:s=!0,visibleOnly:c=!0}=r,u=S.useRef(!1),d=S.useRef(-1),p=S.useRef(!0);S.useEffect(()=>{if(!s)return;const g=ra(l.domReference);function b(){!n&&Na(l.domReference)&&l.domReference===IV(op(l.domReference))&&(u.current=!0)}function x(){p.current=!0}function w(){p.current=!1}return g.addEventListener("blur",b),K9()&&(g.addEventListener("keydown",x,!0),g.addEventListener("pointerdown",w,!0)),()=>{g.removeEventListener("blur",b),K9()&&(g.removeEventListener("keydown",x,!0),g.removeEventListener("pointerdown",w,!0))}},[l.domReference,n,s]),S.useEffect(()=>{if(!s)return;function g(b){let{reason:x}=b;(x==="reference-press"||x==="escape-key")&&(u.current=!0)}return a.on("openchange",g),()=>{a.off("openchange",g)}},[a,s]),S.useEffect(()=>()=>{si(d)},[]);const f=S.useMemo(()=>({onMouseLeave(){u.current=!1},onFocus(g){if(u.current)return;const b=Mf(g.nativeEvent);if(c&&Or(b)){if(K9()&&!g.relatedTarget){if(!p.current&&!KMe(b))return}else if(!ZMe(b))return}o(!0,g.nativeEvent,"focus")},onBlur(g){u.current=!1;const b=g.relatedTarget,x=g.nativeEvent,w=Or(b)&&b.hasAttribute(W9("focus-guard"))&&b.getAttribute("data-type")==="outside";d.current=window.setTimeout(()=>{var k;const C=IV(l.domReference?l.domReference.ownerDocument:document);!b&&C===l.domReference||q0((k=i.current.floatingContext)==null?void 0:k.refs.floating.current,C)||q0(l.domReference,C)||w||o(!1,x,"focus")})}}),[i,l.domReference,o,c]);return S.useMemo(()=>s?{reference:f}:{},[s,f])}function Z9(e,r,n){const o=new Map,a=n==="item";let i=e;if(a&&e){const{[sY]:l,[cY]:s,...c}=e;i=c}return{...n==="floating"&&{tabIndex:-1,[VOe]:""},...i,...r.map(l=>{const s=l?l[n]:null;return typeof s=="function"?e?s(e):null:s}).concat(e).reduce((l,s)=>(s&&Object.entries(s).forEach(c=>{let[u,d]=c;if(!(a&&[sY,cY].includes(u)))if(u.indexOf("on")===0){if(o.has(u)||o.set(u,[]),typeof d=="function"){var p;(p=o.get(u))==null||p.push(d),l[u]=function(){for(var f,g=arguments.length,b=new Array(g),x=0;xw(...b)).find(w=>w!==void 0)}}}else l[u]=d}),l),{})}}function xY(e){e===void 0&&(e=[]);const r=e.map(s=>s?.reference),n=e.map(s=>s?.floating),o=e.map(s=>s?.item),a=S.useCallback(s=>Z9(s,e,"reference"),r),i=S.useCallback(s=>Z9(s,e,"floating"),n),l=S.useCallback(s=>Z9(s,e,"item"),o);return S.useMemo(()=>({getReferenceProps:a,getFloatingProps:i,getItemProps:l}),[a,i,l])}const oIe=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function wY(e,r){var n,o;r===void 0&&(r={});const{open:a,elements:i,floatingId:l}=e,{enabled:s=!0,role:c="dialog"}=r,u=pY(),d=((n=i.domReference)==null?void 0:n.id)||u,p=S.useMemo(()=>{var k;return((k=QMe(i.floating))==null?void 0:k.id)||l},[i.floating,l]),f=(o=oIe.get(c))!=null?o:c,g=V9()!=null,b=S.useMemo(()=>f==="tooltip"||c==="label"?{["aria-"+(c==="label"?"labelledby":"describedby")]:a?p:void 0}:{"aria-expanded":a?"true":"false","aria-haspopup":f==="alertdialog"?"dialog":f,"aria-controls":a?p:void 0,...f==="listbox"&&{role:"combobox"},...f==="menu"&&{id:d},...f==="menu"&&g&&{role:"menuitem"},...c==="select"&&{"aria-autocomplete":"none"},...c==="combobox"&&{"aria-autocomplete":"list"}},[f,p,g,a,d,c]),x=S.useMemo(()=>{const k={id:p,...f&&{role:f}};return f==="tooltip"||c==="label"?k:{...k,...f==="menu"&&{"aria-labelledby":d}}},[f,p,d,c]),w=S.useCallback(k=>{let{active:C,selected:_}=k;const T={role:"option",...C&&{id:p+"-fui-option"}};switch(c){case"select":case"combobox":return{...T,"aria-selected":_}}return{}},[p,c]);return S.useMemo(()=>s?{reference:b,floating:x,item:w}:{},[s,b,x,w])}const[aIe,ci]=ii("ScrollArea.Root component was not found in tree");function zf(e,r){const n=ot(r);B0(()=>{let o=0;if(e){const a=new ResizeObserver(()=>{cancelAnimationFrame(o),o=window.requestAnimationFrame(n)});return a.observe(e),()=>{window.cancelAnimationFrame(o),a.unobserve(e)}}},[e,n])}const iIe=S.forwardRef((e,r)=>{const{style:n,...o}=e,a=ci(),[i,l]=S.useState(0),[s,c]=S.useState(0),u=!!(i&&s);return zf(a.scrollbarX,()=>{const d=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(d),c(d)}),zf(a.scrollbarY,()=>{const d=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(d),l(d)}),u?y.jsx("div",{...o,ref:r,style:{...n,width:i,height:s}}):null}),lIe=S.forwardRef((e,r)=>{const n=ci(),o=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&o?y.jsx(iIe,{...e,ref:r}):null}),sIe={scrollHideDelay:1e3,type:"hover"},kY=S.forwardRef((e,r)=>{const{type:n,scrollHideDelay:o,scrollbars:a,getStyles:i,...l}=Le("ScrollAreaRoot",sIe,e),[s,c]=S.useState(null),[u,d]=S.useState(null),[p,f]=S.useState(null),[g,b]=S.useState(null),[x,w]=S.useState(null),[k,C]=S.useState(0),[_,T]=S.useState(0),[R,A]=S.useState(!1),[D,N]=S.useState(!1),$=Mr(r,O=>c(O));return y.jsx(aIe,{value:{type:n,scrollHideDelay:o,scrollArea:s,viewport:u,onViewportChange:d,content:p,onContentChange:f,scrollbarX:g,onScrollbarXChange:b,scrollbarXEnabled:R,onScrollbarXEnabledChange:A,scrollbarY:x,onScrollbarYChange:w,scrollbarYEnabled:D,onScrollbarYEnabledChange:N,onCornerWidthChange:C,onCornerHeightChange:T,getStyles:i},children:y.jsx(Se,{...l,ref:$,__vars:{"--sa-corner-width":a!=="xy"?"0px":`${k}px`,"--sa-corner-height":a!=="xy"?"0px":`${_}px`}})})});kY.displayName="@mantine/core/ScrollAreaRoot";function _Y(e,r){const n=e/r;return Number.isNaN(n)?0:n}function Sw(e){const r=_Y(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,o=(e.scrollbar.size-n)*r;return Math.max(o,18)}function EY(e,r){return n=>{if(e[0]===e[1]||r[0]===r[1])return r[0];const o=(r[1]-r[0])/(e[1]-e[0]);return r[0]+o*(n-e[0])}}function cIe(e,[r,n]){return Math.min(n,Math.max(r,e))}function SY(e,r,n="ltr"){const o=Sw(r),a=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,i=r.scrollbar.size-a,l=r.content-r.viewport,s=i-o,c=n==="ltr"?[0,l]:[l*-1,0],u=cIe(e,c);return EY([0,l],[0,s])(u)}function uIe(e,r,n,o="ltr"){const a=Sw(n),i=a/2,l=r||i,s=a-l,c=n.scrollbar.paddingStart+l,u=n.scrollbar.size-n.scrollbar.paddingEnd-s,d=n.content-n.viewport,p=o==="ltr"?[0,d]:[d*-1,0];return EY([c,u],p)(e)}function CY(e,r){return e>0&&e{e?.(o),(n===!1||!o.defaultPrevented)&&r?.(o)}}const[dIe,TY]=ii("ScrollAreaScrollbar was not found in tree"),RY=S.forwardRef((e,r)=>{const{sizes:n,hasThumb:o,onThumbChange:a,onThumbPointerUp:i,onThumbPointerDown:l,onThumbPositionChange:s,onDragScroll:c,onWheelScroll:u,onResize:d,...p}=e,f=ci(),[g,b]=S.useState(null),x=Mr(r,N=>b(N)),w=S.useRef(null),k=S.useRef(""),{viewport:C}=f,_=n.content-n.viewport,T=ot(u),R=ot(s),A=Tf(d,10),D=N=>{if(w.current){const $=N.clientX-w.current.left,O=N.clientY-w.current.top;c({x:$,y:O})}};return S.useEffect(()=>{const N=$=>{const O=$.target;g?.contains(O)&&T($,_)};return document.addEventListener("wheel",N,{passive:!1}),()=>document.removeEventListener("wheel",N,{passive:!1})},[C,g,_,T]),S.useEffect(R,[n,R]),zf(g,A),zf(f.content,A),y.jsx(dIe,{value:{scrollbar:g,hasThumb:o,onThumbChange:ot(a),onThumbPointerUp:ot(i),onThumbPositionChange:R,onThumbPointerDown:ot(l)},children:y.jsx("div",{...p,ref:x,"data-mantine-scrollbar":!0,style:{position:"absolute",...p.style},onPointerDown:ip(e.onPointerDown,N=>{N.preventDefault(),N.button===0&&(N.target.setPointerCapture(N.pointerId),w.current=g.getBoundingClientRect(),k.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",D(N))}),onPointerMove:ip(e.onPointerMove,D),onPointerUp:ip(e.onPointerUp,N=>{const $=N.target;$.hasPointerCapture(N.pointerId)&&(N.preventDefault(),$.releasePointerCapture(N.pointerId))}),onLostPointerCapture:()=>{document.body.style.webkitUserSelect=k.current,w.current=null}})})}),AY=S.forwardRef((e,r)=>{const{sizes:n,onSizesChange:o,style:a,...i}=e,l=ci(),[s,c]=S.useState(),u=S.useRef(null),d=Mr(r,u,l.onScrollbarXChange);return S.useEffect(()=>{u.current&&c(getComputedStyle(u.current))},[u]),y.jsx(RY,{"data-orientation":"horizontal",...i,ref:d,sizes:n,style:{...a,"--sa-thumb-width":`${Sw(n)}px`},onThumbPointerDown:p=>e.onThumbPointerDown(p.x),onDragScroll:p=>e.onDragScroll(p.x),onWheelScroll:(p,f)=>{if(l.viewport){const g=l.viewport.scrollLeft+p.deltaX;e.onWheelScroll(g),CY(g,f)&&p.preventDefault()}},onResize:()=>{u.current&&l.viewport&&s&&o({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:ku(s.paddingLeft),paddingEnd:ku(s.paddingRight)}})}})});AY.displayName="@mantine/core/ScrollAreaScrollbarX";const NY=S.forwardRef((e,r)=>{const{sizes:n,onSizesChange:o,style:a,...i}=e,l=ci(),[s,c]=S.useState(),u=S.useRef(null),d=Mr(r,u,l.onScrollbarYChange);return S.useEffect(()=>{u.current&&c(window.getComputedStyle(u.current))},[]),y.jsx(RY,{...i,"data-orientation":"vertical",ref:d,sizes:n,style:{"--sa-thumb-height":`${Sw(n)}px`,...a},onThumbPointerDown:p=>e.onThumbPointerDown(p.y),onDragScroll:p=>e.onDragScroll(p.y),onWheelScroll:(p,f)=>{if(l.viewport){const g=l.viewport.scrollTop+p.deltaY;e.onWheelScroll(g),CY(g,f)&&p.preventDefault()}},onResize:()=>{u.current&&l.viewport&&s&&o({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:ku(s.paddingTop),paddingEnd:ku(s.paddingBottom)}})}})});NY.displayName="@mantine/core/ScrollAreaScrollbarY";const Cw=S.forwardRef((e,r)=>{const{orientation:n="vertical",...o}=e,{dir:a}=wu(),i=ci(),l=S.useRef(null),s=S.useRef(0),[c,u]=S.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=_Y(c.viewport,c.content),p={...o,sizes:c,onSizesChange:u,hasThumb:d>0&&d<1,onThumbChange:g=>{l.current=g},onThumbPointerUp:()=>{s.current=0},onThumbPointerDown:g=>{s.current=g}},f=(g,b)=>uIe(g,s.current,c,b);return n==="horizontal"?y.jsx(AY,{...p,ref:r,onThumbPositionChange:()=>{if(i.viewport&&l.current){const g=i.viewport.scrollLeft,b=SY(g,c,a);l.current.style.transform=`translate3d(${b}px, 0, 0)`}},onWheelScroll:g=>{i.viewport&&(i.viewport.scrollLeft=g)},onDragScroll:g=>{i.viewport&&(i.viewport.scrollLeft=f(g,a))}}):n==="vertical"?y.jsx(NY,{...p,ref:r,onThumbPositionChange:()=>{if(i.viewport&&l.current){const g=i.viewport.scrollTop,b=SY(g,c);c.scrollbar.size===0?l.current.style.setProperty("--thumb-opacity","0"):l.current.style.setProperty("--thumb-opacity","1"),l.current.style.transform=`translate3d(0, ${b}px, 0)`}},onWheelScroll:g=>{i.viewport&&(i.viewport.scrollTop=g)},onDragScroll:g=>{i.viewport&&(i.viewport.scrollTop=f(g))}}):null});Cw.displayName="@mantine/core/ScrollAreaScrollbarVisible";const Q9=S.forwardRef((e,r)=>{const n=ci(),{forceMount:o,...a}=e,[i,l]=S.useState(!1),s=e.orientation==="horizontal",c=Tf(()=>{if(n.viewport){const u=n.viewport.offsetWidth{const{forceMount:n,...o}=e,a=ci(),[i,l]=S.useState(!1);return S.useEffect(()=>{const{scrollArea:s}=a;let c=0;if(s){const u=()=>{window.clearTimeout(c),l(!0)},d=()=>{c=window.setTimeout(()=>l(!1),a.scrollHideDelay)};return s.addEventListener("pointerenter",u),s.addEventListener("pointerleave",d),()=>{window.clearTimeout(c),s.removeEventListener("pointerenter",u),s.removeEventListener("pointerleave",d)}}},[a.scrollArea,a.scrollHideDelay]),n||i?y.jsx(Q9,{"data-state":i?"visible":"hidden",...o,ref:r}):null});DY.displayName="@mantine/core/ScrollAreaScrollbarHover";const pIe=S.forwardRef((e,r)=>{const{forceMount:n,...o}=e,a=ci(),i=e.orientation==="horizontal",[l,s]=S.useState("hidden"),c=Tf(()=>s("idle"),100);return S.useEffect(()=>{if(l==="idle"){const u=window.setTimeout(()=>s("hidden"),a.scrollHideDelay);return()=>window.clearTimeout(u)}},[l,a.scrollHideDelay]),S.useEffect(()=>{const{viewport:u}=a,d=i?"scrollLeft":"scrollTop";if(u){let p=u[d];const f=()=>{const g=u[d];p!==g&&(s("scrolling"),c()),p=g};return u.addEventListener("scroll",f),()=>u.removeEventListener("scroll",f)}},[a.viewport,i,c]),n||l!=="hidden"?y.jsx(Cw,{"data-state":l==="hidden"?"hidden":"visible",...o,ref:r,onPointerEnter:ip(e.onPointerEnter,()=>s("interacting")),onPointerLeave:ip(e.onPointerLeave,()=>s("idle"))}):null}),J9=S.forwardRef((e,r)=>{const{forceMount:n,...o}=e,a=ci(),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:l}=a,s=e.orientation==="horizontal";return S.useEffect(()=>(s?i(!0):l(!0),()=>{s?i(!1):l(!1)}),[s,i,l]),a.type==="hover"?y.jsx(DY,{...o,ref:r,forceMount:n}):a.type==="scroll"?y.jsx(pIe,{...o,ref:r,forceMount:n}):a.type==="auto"?y.jsx(Q9,{...o,ref:r,forceMount:n}):a.type==="always"?y.jsx(Cw,{...o,ref:r}):null});J9.displayName="@mantine/core/ScrollAreaScrollbar";function hIe(e,r=()=>{}){let n={left:e.scrollLeft,top:e.scrollTop},o=0;return(function a(){const i={left:e.scrollLeft,top:e.scrollTop},l=n.left!==i.left,s=n.top!==i.top;(l||s)&&r(),n=i,o=window.requestAnimationFrame(a)})(),()=>window.cancelAnimationFrame(o)}const PY=S.forwardRef((e,r)=>{const{style:n,...o}=e,a=ci(),i=TY(),{onThumbPositionChange:l}=i,s=Mr(r,d=>i.onThumbChange(d)),c=S.useRef(void 0),u=Tf(()=>{c.current&&(c.current(),c.current=void 0)},100);return S.useEffect(()=>{const{viewport:d}=a;if(d){const p=()=>{if(u(),!c.current){const f=hIe(d,l);c.current=f,l()}};return l(),d.addEventListener("scroll",p),()=>d.removeEventListener("scroll",p)}},[a.viewport,u,l]),y.jsx("div",{"data-state":i.hasThumb?"visible":"hidden",...o,ref:s,style:{width:"var(--sa-thumb-width)",height:"var(--sa-thumb-height)",...n},onPointerDownCapture:ip(e.onPointerDownCapture,d=>{const p=d.target.getBoundingClientRect(),f=d.clientX-p.left,g=d.clientY-p.top;i.onThumbPointerDown({x:f,y:g})}),onPointerUp:ip(e.onPointerUp,i.onThumbPointerUp)})});PY.displayName="@mantine/core/ScrollAreaThumb";const e7=S.forwardRef((e,r)=>{const{forceMount:n,...o}=e,a=TY();return n||a.hasThumb?y.jsx(PY,{ref:r,...o}):null});e7.displayName="@mantine/core/ScrollAreaThumb";const $Y=S.forwardRef(({children:e,style:r,...n},o)=>{const a=ci(),i=Mr(o,a.onViewportChange);return y.jsx(Se,{...n,ref:i,style:{overflowX:a.scrollbarXEnabled?"scroll":"hidden",overflowY:a.scrollbarYEnabled?"scroll":"hidden",...r},children:y.jsx("div",{...a.getStyles("content"),ref:a.onContentChange,children:e})})});$Y.displayName="@mantine/core/ScrollAreaViewport";var t7={root:"m_d57069b5",content:"m_b1336c6",viewport:"m_c0783ff9",viewportInner:"m_f8f631dd",scrollbar:"m_c44ba933",thumb:"m_d8b5e363",corner:"m_21657268"};const MY={scrollHideDelay:1e3,type:"hover",scrollbars:"xy"},fIe=(e,{scrollbarSize:r,overscrollBehavior:n})=>({root:{"--scrollarea-scrollbar-size":Ae(r),"--scrollarea-over-scroll-behavior":n}}),ss=lt((e,r)=>{const n=Le("ScrollArea",MY,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,scrollbarSize:c,vars:u,type:d,scrollHideDelay:p,viewportProps:f,viewportRef:g,onScrollPositionChange:b,children:x,offsetScrollbars:w,scrollbars:k,onBottomReached:C,onTopReached:_,overscrollBehavior:T,attributes:R,...A}=n,[D,N]=S.useState(!1),[$,O]=S.useState(!1),[j,L]=S.useState(!1),Y=wt({name:"ScrollArea",props:n,classes:t7,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:R,vars:u,varsResolver:fIe}),M=S.useRef(null),q=lY([g,M]);return S.useEffect(()=>{if(!M.current||w!=="present")return;const z=M.current,H=new ResizeObserver(()=>{const{scrollHeight:U,clientHeight:K,scrollWidth:V,clientWidth:X}=z;O(U>K),L(V>X)});return H.observe(z),()=>H.disconnect()},[M,w]),y.jsxs(kY,{getStyles:Y,type:d==="never"?"always":d,scrollHideDelay:p,ref:r,scrollbars:k,...Y("root"),...A,children:[y.jsx($Y,{...f,...Y("viewport",{style:f?.style}),ref:q,"data-offset-scrollbars":w===!0?"xy":w||void 0,"data-scrollbars":k||void 0,"data-horizontal-hidden":w==="present"&&!j?"true":void 0,"data-vertical-hidden":w==="present"&&!$?"true":void 0,onScroll:z=>{f?.onScroll?.(z),b?.({x:z.currentTarget.scrollLeft,y:z.currentTarget.scrollTop});const{scrollTop:H,scrollHeight:U,clientHeight:K}=z.currentTarget;H-(U-K)>=-.6&&C?.(),H===0&&_?.()},children:x}),(k==="xy"||k==="x")&&y.jsx(J9,{...Y("scrollbar"),orientation:"horizontal","data-hidden":d==="never"||w==="present"&&!j?!0:void 0,forceMount:!0,onMouseEnter:()=>N(!0),onMouseLeave:()=>N(!1),children:y.jsx(e7,{...Y("thumb")})}),(k==="xy"||k==="y")&&y.jsx(J9,{...Y("scrollbar"),orientation:"vertical","data-hidden":d==="never"||w==="present"&&!$?!0:void 0,forceMount:!0,onMouseEnter:()=>N(!0),onMouseLeave:()=>N(!1),children:y.jsx(e7,{...Y("thumb")})}),y.jsx(lIe,{...Y("corner"),"data-hovered":D||void 0,"data-hidden":d==="never"||void 0})]})});ss.displayName="@mantine/core/ScrollArea";const na=lt((e,r)=>{const{children:n,classNames:o,styles:a,scrollbarSize:i,scrollHideDelay:l,type:s,dir:c,offsetScrollbars:u,viewportRef:d,onScrollPositionChange:p,unstyled:f,variant:g,viewportProps:b,scrollbars:x,style:w,vars:k,onBottomReached:C,onTopReached:_,onOverflowChange:T,...R}=Le("ScrollAreaAutosize",MY,e),A=S.useRef(null),D=lY([d,A]),[N,$]=S.useState(!1),O=S.useRef(!1);return S.useEffect(()=>{if(!T)return;const j=A.current;if(!j)return;const L=()=>{const M=j.scrollHeight>j.clientHeight;M!==N&&(O.current?T?.(M):(O.current=!0,M&&T?.(!0)),$(M))};L();const Y=new ResizeObserver(L);return Y.observe(j),()=>Y.disconnect()},[T,N]),y.jsx(Se,{...R,ref:r,style:[{display:"flex",overflow:"hidden"},w],children:y.jsx(Se,{style:{display:"flex",flexDirection:"column",flex:1,overflow:"hidden",...x==="y"&&{minWidth:0},...x==="x"&&{minHeight:0},...x==="xy"&&{minWidth:0,minHeight:0},...x===!1&&{minWidth:0,minHeight:0}},children:y.jsx(ss,{classNames:o,styles:a,scrollHideDelay:l,scrollbarSize:i,type:s,dir:c,offsetScrollbars:u,viewportRef:D,onScrollPositionChange:p,unstyled:f,variant:g,viewportProps:b,vars:k,scrollbars:x,onBottomReached:C,onTopReached:_,"data-autosize":"true",children:n})})})});ss.classes=t7,na.displayName="@mantine/core/ScrollAreaAutosize",na.classes=t7,ss.Autosize=na;var OY={root:"m_87cf2631"};const mIe={__staticSelector:"UnstyledButton"},Ar=eo((e,r)=>{const n=Le("UnstyledButton",mIe,e),{className:o,component:a="button",__staticSelector:i,unstyled:l,classNames:s,styles:c,style:u,attributes:d,...p}=n,f=wt({name:i,props:n,classes:OY,className:o,style:u,classNames:s,styles:c,unstyled:l,attributes:d});return y.jsx(Se,{...f("root",{focusable:!0}),component:a,ref:r,type:a==="button"?"button":void 0,...p})});Ar.classes=OY,Ar.displayName="@mantine/core/UnstyledButton";var IY={root:"m_515a97f8"};const Tw=lt((e,r)=>{const n=Le("VisuallyHidden",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,attributes:u,...d}=n,p=wt({name:"VisuallyHidden",classes:IY,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:u});return y.jsx(Se,{component:"span",ref:r,...p("root"),...d})});Tw.classes=IY,Tw.displayName="@mantine/core/VisuallyHidden";var zY={root:"m_1b7284a3"};const gIe=(e,{radius:r,shadow:n})=>({root:{"--paper-radius":r===void 0?void 0:_n(r),"--paper-shadow":jU(n)}}),Lf=eo((e,r)=>{const n=Le("Paper",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,withBorder:c,vars:u,radius:d,shadow:p,variant:f,mod:g,attributes:b,...x}=n,w=wt({name:"Paper",props:n,classes:zY,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:b,vars:u,varsResolver:gIe});return y.jsx(Se,{ref:r,mod:[{"data-with-border":c},g],...w("root"),variant:f,...x})});Lf.classes=zY,Lf.displayName="@mantine/core/Paper";function LY(e,r,n,o){return e==="center"||o==="center"?{top:r}:e==="end"?{bottom:n}:e==="start"?{top:n}:{}}function BY(e,r,n,o,a){return e==="center"||o==="center"?{left:r}:e==="end"?{[a==="ltr"?"right":"left"]:n}:e==="start"?{[a==="ltr"?"left":"right"]:n}:{}}const yIe={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"};function bIe({position:e,arrowSize:r,arrowOffset:n,arrowRadius:o,arrowPosition:a,arrowX:i,arrowY:l,dir:s}){const[c,u="center"]=e.split("-"),d={width:r,height:r,transform:"rotate(45deg)",position:"absolute",[yIe[c]]:o},p=-r/2;return c==="left"?{...d,...LY(u,l,n,a),right:p,borderLeftColor:"transparent",borderBottomColor:"transparent",clipPath:"polygon(100% 0, 0 0, 100% 100%)"}:c==="right"?{...d,...LY(u,l,n,a),left:p,borderRightColor:"transparent",borderTopColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 100%)"}:c==="top"?{...d,...BY(u,i,n,a,s),bottom:p,borderTopColor:"transparent",borderLeftColor:"transparent",clipPath:"polygon(0 100%, 100% 100%, 100% 0)"}:c==="bottom"?{...d,...BY(u,i,n,a,s),top:p,borderBottomColor:"transparent",borderRightColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 0)"}:{}}const Rw=S.forwardRef(({position:e,arrowSize:r,arrowOffset:n,arrowRadius:o,arrowPosition:a,visible:i,arrowX:l,arrowY:s,style:c,...u},d)=>{const{dir:p}=wu();return i?y.jsx("div",{...u,ref:d,style:{...c,...bIe({position:e,arrowSize:r,arrowOffset:n,arrowRadius:o,arrowPosition:a,dir:p,arrowX:l,arrowY:s})}}):null});Rw.displayName="@mantine/core/FloatingArrow";function jY(e,r){if(e==="rtl"&&(r.includes("right")||r.includes("left"))){const[n,o]=r.split("-"),a=n==="right"?"left":"right";return o===void 0?a:`${a}-${o}`}return r}var FY={root:"m_9814e45f"};const vIe={zIndex:Kx("modal")},xIe=(e,{gradient:r,color:n,backgroundOpacity:o,blur:a,radius:i,zIndex:l})=>({root:{"--overlay-bg":r||(n!==void 0||o!==void 0)&&ns(n||"#000",o??.6)||void 0,"--overlay-filter":a?`blur(${Ae(a)})`:void 0,"--overlay-radius":i===void 0?void 0:_n(i),"--overlay-z-index":l?.toString()}}),r7=eo((e,r)=>{const n=Le("Overlay",vIe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,fixed:u,center:d,children:p,radius:f,zIndex:g,gradient:b,blur:x,color:w,backgroundOpacity:k,mod:C,attributes:_,...T}=n,R=wt({name:"Overlay",props:n,classes:FY,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:_,vars:c,varsResolver:xIe});return y.jsx(Se,{ref:r,...R("root"),mod:[{center:d,fixed:u},C],...T,children:p})});r7.classes=FY,r7.displayName="@mantine/core/Overlay";function n7(e){const r=document.createElement("div");return r.setAttribute("data-portal","true"),typeof e.className=="string"&&r.classList.add(...e.className.split(" ").filter(Boolean)),typeof e.style=="object"&&Object.assign(r.style,e.style),typeof e.id=="string"&&r.setAttribute("id",e.id),r}function wIe({target:e,reuseTargetNode:r,...n}){if(e)return typeof e=="string"?document.querySelector(e)||n7(n):e;if(r){const o=document.querySelector("[data-mantine-shared-portal-node]");if(o)return o;const a=n7(n);return a.setAttribute("data-mantine-shared-portal-node","true"),document.body.appendChild(a),a}return n7(n)}const kIe={reuseTargetNode:!0},V0=lt((e,r)=>{const{children:n,target:o,reuseTargetNode:a,...i}=Le("Portal",kIe,e),[l,s]=S.useState(!1),c=S.useRef(null);return B0(()=>(s(!0),c.current=wIe({target:o,reuseTargetNode:a,...i}),c9(r,c.current),!o&&!a&&c.current&&document.body.appendChild(c.current),()=>{!o&&!a&&c.current&&document.body.removeChild(c.current)}),[o]),!l||!c.current?null:Fi.createPortal(y.jsx(y.Fragment,{children:n}),c.current)});V0.displayName="@mantine/core/Portal";const Bf=lt(({withinPortal:e=!0,children:r,...n},o)=>rw()==="test"||!e?y.jsx(y.Fragment,{children:r}):y.jsx(V0,{ref:o,...n,children:r}));Bf.displayName="@mantine/core/OptionalPortal";const Y0=e=>({in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${e==="bottom"?10:-10}px)`},transitionProperty:"transform, opacity"}),Aw={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},"fade-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(30px)"},transitionProperty:"opacity, transform"},"fade-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-30px)"},transitionProperty:"opacity, transform"},"fade-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(30px)"},transitionProperty:"opacity, transform"},"fade-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-30px)"},transitionProperty:"opacity, transform"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(-20px) skew(-10deg, -5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(20px) skew(-10deg, -5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(-5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:{...Y0("bottom"),common:{transformOrigin:"center center"}},"pop-bottom-left":{...Y0("bottom"),common:{transformOrigin:"bottom left"}},"pop-bottom-right":{...Y0("bottom"),common:{transformOrigin:"bottom right"}},"pop-top-left":{...Y0("top"),common:{transformOrigin:"top left"}},"pop-top-right":{...Y0("top"),common:{transformOrigin:"top right"}}},HY={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function _Ie({transition:e,state:r,duration:n,timingFunction:o}){const a={WebkitBackfaceVisibility:"hidden",transitionDuration:`${n}ms`,transitionTimingFunction:o};return typeof e=="string"?e in Aw?{transitionProperty:Aw[e].transitionProperty,...a,...Aw[e].common,...Aw[e][HY[r]]}:{}:{transitionProperty:e.transitionProperty,...a,...e.common,...e[HY[r]]}}function EIe({duration:e,exitDuration:r,timingFunction:n,mounted:o,onEnter:a,onExit:i,onEntered:l,onExited:s,enterDelay:c,exitDelay:u}){const d=mo(),p=QU(),f=d.respectReducedMotion?p:!1,[g,b]=S.useState(f?0:e),[x,w]=S.useState(o?"entered":"exited"),k=S.useRef(-1),C=S.useRef(-1),_=S.useRef(-1);function T(){window.clearTimeout(k.current),window.clearTimeout(C.current),cancelAnimationFrame(_.current)}const R=D=>{T();const N=D?a:i,$=D?l:s,O=f?0:D?e:r;b(O),O===0?(typeof N=="function"&&N(),typeof $=="function"&&$(),w(D?"entered":"exited")):_.current=requestAnimationFrame(()=>{IO.flushSync(()=>{w(D?"pre-entering":"pre-exiting")}),_.current=requestAnimationFrame(()=>{typeof N=="function"&&N(),w(D?"entering":"exiting"),k.current=window.setTimeout(()=>{typeof $=="function"&&$(),w(D?"entered":"exited")},O)})})},A=D=>{if(T(),typeof(D?c:u)!="number"){R(D);return}C.current=window.setTimeout(()=>{R(D)},D?c:u)};return rp(()=>{A(o)},[o]),S.useEffect(()=>()=>{T()},[]),{transitionDuration:g,transitionStatus:x,transitionTimingFunction:n||"ease"}}function _u({keepMounted:e,transition:r="fade",duration:n=250,exitDuration:o=n,mounted:a,children:i,timingFunction:l="ease",onExit:s,onEntered:c,onEnter:u,onExited:d,enterDelay:p,exitDelay:f}){const g=rw(),{transitionDuration:b,transitionStatus:x,transitionTimingFunction:w}=EIe({mounted:a,exitDuration:o,duration:n,timingFunction:l,onExit:s,onEntered:c,onEnter:u,onExited:d,enterDelay:p,exitDelay:f});return b===0||g==="test"?a?y.jsx(y.Fragment,{children:i({})}):e?i({display:"none"}):null:x==="exited"?e?i({display:"none"}):null:y.jsx(y.Fragment,{children:i(_Ie({transition:r,duration:b,state:x,timingFunction:w}))})}_u.displayName="@mantine/core/Transition";const[SIe,qY]=ii("Popover component was not found in the tree");function Nw({children:e,active:r=!0,refProp:n="ref",innerRef:o}){const a=GU(r),i=Mr(a,o);return el(e)?S.cloneElement(e,{[n]:i}):e}function UY(e){return y.jsx(Tw,{tabIndex:-1,"data-autofocus":!0,...e})}Nw.displayName="@mantine/core/FocusTrap",UY.displayName="@mantine/core/FocusTrapInitialFocus",Nw.InitialFocus=UY;var VY={dropdown:"m_38a85659",arrow:"m_a31dc6c1",overlay:"m_3d7bc908"};const Ks=lt((e,r)=>{const n=Le("PopoverDropdown",null,e),{className:o,style:a,vars:i,children:l,onKeyDownCapture:s,variant:c,classNames:u,styles:d,...p}=n,f=qY(),g=$Pe({opened:f.opened,shouldReturnFocus:f.returnFocus}),b=f.withRoles?{"aria-labelledby":f.getTargetId(),id:f.getDropdownId(),role:"dialog",tabIndex:-1}:{},x=Mr(r,f.floating);return f.disabled?null:y.jsx(Bf,{...f.portalProps,withinPortal:f.withinPortal,children:y.jsx(_u,{mounted:f.opened,...f.transitionProps,transition:f.transitionProps?.transition||"fade",duration:f.transitionProps?.duration??150,keepMounted:f.keepMounted,exitDuration:typeof f.transitionProps?.exitDuration=="number"?f.transitionProps.exitDuration:f.transitionProps?.duration,children:w=>y.jsx(Nw,{active:f.trapFocus&&f.opened,innerRef:x,children:y.jsxs(Se,{...b,...p,variant:c,onKeyDownCapture:_Pe(()=>{f.onClose?.(),f.onDismiss?.()},{active:f.closeOnEscape,onTrigger:g,onKeyDown:s}),"data-position":f.placement,"data-fixed":f.floatingStrategy==="fixed"||void 0,...f.getStyles("dropdown",{className:o,props:n,classNames:u,styles:d,style:[{...w,zIndex:f.zIndex,top:f.y??0,left:f.x??0,width:f.width==="target"?void 0:Ae(f.width),...f.referenceHidden?{display:"none"}:null},f.resolvedStyles.dropdown,d?.dropdown,a]}),children:[l,y.jsx(Rw,{ref:f.arrowRef,arrowX:f.arrowX,arrowY:f.arrowY,visible:f.withArrow,position:f.placement,arrowSize:f.arrowSize,arrowRadius:f.arrowRadius,arrowOffset:f.arrowOffset,arrowPosition:f.arrowPosition,...f.getStyles("arrow",{props:n,classNames:u,styles:d})})]})})})})});Ks.classes=VY,Ks.displayName="@mantine/core/PopoverDropdown";const CIe={refProp:"ref",popupType:"dialog"},Eu=lt((e,r)=>{const{children:n,refProp:o,popupType:a,...i}=Le("PopoverTarget",CIe,e);if(!el(n))throw new Error("Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const l=i,s=qY(),c=Mr(s.reference,Qx(n),r),u=s.withRoles?{"aria-haspopup":a,"aria-expanded":s.opened,"aria-controls":s.getDropdownId(),id:s.getTargetId()}:{};return S.cloneElement(n,{...l,...u,...s.targetProps,className:tl(s.targetProps.className,l.className,n.props.className),[o]:c,...s.controlled?null:{onClick:()=>{s.onToggle(),n.props.onClick?.()}}})});Eu.displayName="@mantine/core/PopoverTarget";function TIe(e){if(e===void 0)return{shift:!0,flip:!0};const r={...e};return e.shift===void 0&&(r.shift=!0),e.flip===void 0&&(r.flip=!0),r}function RIe(e,r,n){const o=TIe(e.middlewares),a=[oY(e.offset),UOe()];return e.dropdownVisible&&n!=="test"&&e.preventPositionChangeWhenVisible&&(o.flip=!1),o.shift&&a.push(U9(typeof o.shift=="boolean"?{limiter:aY(),padding:5}:{limiter:aY(),padding:5,...o.shift})),o.flip&&a.push(typeof o.flip=="boolean"?kw():kw(o.flip)),o.inline&&a.push(typeof o.inline=="boolean"?U0():U0(o.inline)),a.push(iY({element:e.arrowRef,padding:e.arrowOffset})),(o.size||e.width==="target")&&a.push(qOe({...typeof o.size=="boolean"?{}:o.size,apply({rects:i,availableWidth:l,availableHeight:s,...c}){const u=r().refs.floating.current?.style??{};o.size&&(typeof o.size=="object"&&o.size.apply?o.size.apply({rects:i,availableWidth:l,availableHeight:s,...c}):Object.assign(u,{maxWidth:`${l}px`,maxHeight:`${s}px`})),e.width==="target"&&Object.assign(u,{width:`${i.reference.width}px`})}})),a}function AIe(e){const r=rw(),[n,o]=Ys({value:e.opened,defaultValue:e.defaultOpened,finalValue:!1,onChange:e.onChange}),a=S.useRef(n),i=()=>{n&&!e.disabled&&o(!1)},l=()=>{e.disabled||o(!n)},s=Ew({strategy:e.strategy,placement:e.preventPositionChangeWhenVisible?e.positionRef.current:e.position,middleware:RIe(e,()=>s,r),whileElementsMounted:e.keepMounted?void 0:vw});return S.useEffect(()=>{if(!(!s.refs.reference.current||!s.refs.floating.current)&&n)return vw(s.refs.reference.current,s.refs.floating.current,s.update)},[n,s.update]),rp(()=>{e.onPositionChange?.(s.placement),e.positionRef.current=s.placement},[s.placement,e.preventPositionChangeWhenVisible]),rp(()=>{n!==a.current&&(n?e.onOpen?.():e.onClose?.()),a.current=n},[n,e.onClose,e.onOpen]),rp(()=>{let c=-1;return n&&(c=window.setTimeout(()=>e.setDropdownVisible(!0),4)),()=>{window.clearTimeout(c)}},[n,e.position]),{floating:s,controlled:typeof e.opened=="boolean",opened:n,onClose:i,onToggle:l}}const NIe={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!0,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,withOverlay:!1,hideDetached:!0,clickOutsideEvents:["mousedown","touchstart"],zIndex:Kx("popover"),__staticSelector:"Popover",width:"max-content"},DIe=(e,{radius:r,shadow:n})=>({dropdown:{"--popover-radius":r===void 0?void 0:_n(r),"--popover-shadow":jU(n)}});function br(e){const r=Le("Popover",NIe,e),{children:n,position:o,offset:a,onPositionChange:i,positionDependencies:l,opened:s,transitionProps:c,onExitTransitionEnd:u,onEnterTransitionEnd:d,width:p,middlewares:f,withArrow:g,arrowSize:b,arrowOffset:x,arrowRadius:w,arrowPosition:k,unstyled:C,classNames:_,styles:T,closeOnClickOutside:R,withinPortal:A,portalProps:D,closeOnEscape:N,clickOutsideEvents:$,trapFocus:O,onClose:j,onDismiss:L,onOpen:Y,onChange:M,zIndex:q,radius:z,shadow:H,id:U,defaultOpened:K,__staticSelector:V,withRoles:X,disabled:Z,returnFocus:B,variant:W,keepMounted:Q,vars:J,floatingStrategy:ne,withOverlay:te,overlayProps:ee,hideDetached:pe,attributes:Te,preventPositionChangeWhenVisible:ce,...de}=r,xe=wt({name:V,props:r,classes:VY,classNames:_,styles:T,unstyled:C,attributes:Te,rootSelector:"dropdown",vars:J,varsResolver:DIe}),{resolvedStyles:De}=_9({classNames:_,styles:T,props:r}),[Ge,et]=S.useState(s??K??!1),ft=S.useRef(o),Ze=S.useRef(null),[Et,Xe]=S.useState(null),[We,st]=S.useState(null),{dir:ct}=wu(),zn=rw(),we=Aa(U),_e=AIe({middlewares:f,width:p,position:jY(ct,o),offset:typeof a=="number"?a+(g?b/2:0):a,arrowRef:Ze,arrowOffset:x,onPositionChange:i,positionDependencies:l,opened:s,defaultOpened:K,onChange:M,onOpen:Y,onClose:j,onDismiss:L,strategy:ne,dropdownVisible:Ge,setDropdownVisible:et,positionRef:ft,disabled:Z,preventPositionChangeWhenVisible:ce,keepMounted:Q});HU(()=>{R&&(_e.onClose(),L?.())},$,[Et,We]);const at=S.useCallback(Pt=>{Xe(Pt),_e.floating.refs.setReference(Pt)},[_e.floating.refs.setReference]),vt=S.useCallback(Pt=>{st(Pt),_e.floating.refs.setFloating(Pt)},[_e.floating.refs.setFloating]),Ct=S.useCallback(()=>{c?.onExited?.(),u?.(),et(!1),ce||(ft.current=o)},[c?.onExited,u,ce,o]),Zr=S.useCallback(()=>{c?.onEntered?.(),d?.()},[c?.onEntered,d]);return y.jsxs(SIe,{value:{returnFocus:B,disabled:Z,controlled:_e.controlled,reference:at,floating:vt,x:_e.floating.x,y:_e.floating.y,arrowX:_e.floating?.middlewareData?.arrow?.x,arrowY:_e.floating?.middlewareData?.arrow?.y,opened:_e.opened,arrowRef:Ze,transitionProps:{...c,onExited:Ct,onEntered:Zr},width:p,withArrow:g,arrowSize:b,arrowOffset:x,arrowRadius:w,arrowPosition:k,placement:_e.floating.placement,trapFocus:O,withinPortal:A,portalProps:D,zIndex:q,radius:z,shadow:H,closeOnEscape:N,onDismiss:L,onClose:_e.onClose,onToggle:_e.onToggle,getTargetId:()=>`${we}-target`,getDropdownId:()=>`${we}-dropdown`,withRoles:X,targetProps:de,__staticSelector:V,classNames:_,styles:T,unstyled:C,variant:W,keepMounted:Q,getStyles:xe,resolvedStyles:De,floatingStrategy:ne,referenceHidden:pe&&zn!=="test"?_e.floating.middlewareData.hide?.referenceHidden:!1},children:[n,te&&y.jsx(_u,{transition:"fade",mounted:_e.opened,duration:c?.duration||250,exitDuration:c?.exitDuration||250,children:Pt=>y.jsx(Bf,{withinPortal:A,children:y.jsx(r7,{...ee,...xe("overlay",{className:ee?.className,style:[Pt,ee?.style]})})})})]})}br.Target=Eu,br.Dropdown=Ks,br.displayName="@mantine/core/Popover",br.extend=e=>e;var il={root:"m_5ae2e3c",barsLoader:"m_7a2bd4cd",bar:"m_870bb79","bars-loader-animation":"m_5d2b3b9d",dotsLoader:"m_4e3f22d7",dot:"m_870c4af","loader-dots-animation":"m_aac34a1",ovalLoader:"m_b34414df","oval-loader-animation":"m_f8e89c4b"};const YY=S.forwardRef(({className:e,...r},n)=>y.jsxs(Se,{component:"span",className:tl(il.barsLoader,e),...r,ref:n,children:[y.jsx("span",{className:il.bar}),y.jsx("span",{className:il.bar}),y.jsx("span",{className:il.bar})]}));YY.displayName="@mantine/core/Bars";const WY=S.forwardRef(({className:e,...r},n)=>y.jsxs(Se,{component:"span",className:tl(il.dotsLoader,e),...r,ref:n,children:[y.jsx("span",{className:il.dot}),y.jsx("span",{className:il.dot}),y.jsx("span",{className:il.dot})]}));WY.displayName="@mantine/core/Dots";const GY=S.forwardRef(({className:e,...r},n)=>y.jsx(Se,{component:"span",className:tl(il.ovalLoader,e),...r,ref:n}));GY.displayName="@mantine/core/Oval";const XY={bars:YY,oval:GY,dots:WY},PIe={loaders:XY,type:"oval"},$Ie=(e,{size:r,color:n})=>({root:{"--loader-size":dr(r,"loader-size"),"--loader-color":n?ta(n,e):void 0}}),jf=lt((e,r)=>{const n=Le("Loader",PIe,e),{size:o,color:a,type:i,vars:l,className:s,style:c,classNames:u,styles:d,unstyled:p,loaders:f,variant:g,children:b,attributes:x,...w}=n,k=wt({name:"Loader",props:n,classes:il,className:s,style:c,classNames:u,styles:d,unstyled:p,attributes:x,vars:l,varsResolver:$Ie});return b?y.jsx(Se,{...k("root"),ref:r,...w,children:b}):y.jsx(Se,{...k("root"),ref:r,component:f[i],variant:g,size:o,...w})});jf.defaultLoaders=XY,jf.classes=il,jf.displayName="@mantine/core/Loader";var Ff={root:"m_8d3f4000",icon:"m_8d3afb97",loader:"m_302b9fb1",group:"m_1a0f1b21",groupSection:"m_437b6484"};const KY={orientation:"horizontal"},MIe=(e,{borderWidth:r})=>({group:{"--ai-border-width":Ae(r)}}),Dw=lt((e,r)=>{const n=Le("ActionIconGroup",KY,e),{className:o,style:a,classNames:i,styles:l,unstyled:s,orientation:c,vars:u,borderWidth:d,variant:p,mod:f,attributes:g,...b}=Le("ActionIconGroup",KY,e),x=wt({name:"ActionIconGroup",props:n,classes:Ff,className:o,style:a,classNames:i,styles:l,unstyled:s,attributes:g,vars:u,varsResolver:MIe,rootSelector:"group"});return y.jsx(Se,{...x("group"),ref:r,variant:p,mod:[{"data-orientation":c},f],role:"group",...b})});Dw.classes=Ff,Dw.displayName="@mantine/core/ActionIconGroup";const OIe=(e,{radius:r,color:n,gradient:o,variant:a,autoContrast:i,size:l})=>{const s=e.variantColorResolver({color:n||e.primaryColor,theme:e,gradient:o,variant:a||"filled",autoContrast:i});return{groupSection:{"--section-height":dr(l,"section-height"),"--section-padding-x":dr(l,"section-padding-x"),"--section-fz":Po(l),"--section-radius":r===void 0?void 0:_n(r),"--section-bg":n||a?s.background:void 0,"--section-color":s.color,"--section-bd":n||a?s.border:void 0}}},o7=lt((e,r)=>{const n=Le("ActionIconGroupSection",null,e),{className:o,style:a,classNames:i,styles:l,unstyled:s,vars:c,variant:u,gradient:d,radius:p,autoContrast:f,attributes:g,...b}=n,x=wt({name:"ActionIconGroupSection",props:n,classes:Ff,className:o,style:a,classNames:i,styles:l,unstyled:s,attributes:g,vars:c,varsResolver:OIe,rootSelector:"groupSection"});return y.jsx(Se,{...x("groupSection"),ref:r,variant:u,...b})});o7.classes=Ff,o7.displayName="@mantine/core/ActionIconGroupSection";const IIe=(e,{size:r,radius:n,variant:o,gradient:a,color:i,autoContrast:l})=>{const s=e.variantColorResolver({color:i||e.primaryColor,theme:e,gradient:a,variant:o||"filled",autoContrast:l});return{root:{"--ai-size":dr(r,"ai-size"),"--ai-radius":n===void 0?void 0:_n(n),"--ai-bg":i||o?s.background:void 0,"--ai-hover":i||o?s.hover:void 0,"--ai-hover-color":i||o?s.hoverColor:void 0,"--ai-color":s.color,"--ai-bd":i||o?s.border:void 0}}},ir=eo((e,r)=>{const n=Le("ActionIcon",null,e),{className:o,unstyled:a,variant:i,classNames:l,styles:s,style:c,loading:u,loaderProps:d,size:p,color:f,radius:g,__staticSelector:b,gradient:x,vars:w,children:k,disabled:C,"data-disabled":_,autoContrast:T,mod:R,attributes:A,...D}=n,N=wt({name:["ActionIcon",b],props:n,className:o,style:c,classes:Ff,classNames:l,styles:s,unstyled:a,attributes:A,vars:w,varsResolver:IIe});return y.jsxs(Ar,{...N("root",{active:!C&&!u&&!_}),...D,unstyled:a,variant:i,size:p,disabled:C||u,ref:r,mod:[{loading:u,disabled:C||_},R],children:[typeof u=="boolean"&&y.jsx(_u,{mounted:u,transition:"slide-down",duration:150,children:$=>y.jsx(Se,{component:"span",...N("loader",{style:$}),"aria-hidden":!0,children:y.jsx(jf,{color:"var(--ai-color)",size:"calc(var(--ai-size) * 0.55)",...d})})}),y.jsx(Se,{component:"span",mod:{loading:u},...N("icon"),children:k})]})});ir.classes=Ff,ir.displayName="@mantine/core/ActionIcon",ir.Group=Dw,ir.GroupSection=o7;const ZY=S.forwardRef(({size:e="var(--cb-icon-size, 70%)",style:r,...n},o)=>y.jsx("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...r,width:e,height:e},ref:o,...n,children:y.jsx("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}));ZY.displayName="@mantine/core/CloseIcon";var QY={root:"m_86a44da5","root--subtle":"m_220c80f2"};const zIe={variant:"subtle"},LIe=(e,{size:r,radius:n,iconSize:o})=>({root:{"--cb-size":dr(r,"cb-size"),"--cb-radius":n===void 0?void 0:_n(n),"--cb-icon-size":Ae(o)}}),lp=eo((e,r)=>{const n=Le("CloseButton",zIe,e),{iconSize:o,children:a,vars:i,radius:l,className:s,classNames:c,style:u,styles:d,unstyled:p,"data-disabled":f,disabled:g,variant:b,icon:x,mod:w,attributes:k,__staticSelector:C,..._}=n,T=wt({name:C||"CloseButton",props:n,className:s,style:u,classes:QY,classNames:c,styles:d,unstyled:p,attributes:k,vars:i,varsResolver:LIe});return y.jsxs(Ar,{ref:r,..._,unstyled:p,variant:b,disabled:g,mod:[{disabled:g||f},w],...T("root",{variant:b,active:!g&&!f}),children:[x||y.jsx(ZY,{}),a]})});lp.classes=QY,lp.displayName="@mantine/core/CloseButton";function BIe(e){return S.Children.toArray(e).filter(Boolean)}var JY={root:"m_4081bf90"};const jIe={preventGrowOverflow:!0,gap:"md",align:"center",justify:"flex-start",wrap:"wrap"},FIe=(e,{grow:r,preventGrowOverflow:n,gap:o,align:a,justify:i,wrap:l},{childWidth:s})=>({root:{"--group-child-width":r&&n?s:void 0,"--group-gap":Vs(o),"--group-align":a,"--group-justify":i,"--group-wrap":l}}),Wr=lt((e,r)=>{const n=Le("Group",jIe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,children:c,gap:u,align:d,justify:p,wrap:f,grow:g,preventGrowOverflow:b,vars:x,variant:w,__size:k,mod:C,attributes:_,...T}=n,R=BIe(c),A=R.length,D=Vs(u??"md"),N={childWidth:`calc(${100/A}% - (${D} - ${D} / ${A}))`},$=wt({name:"Group",props:n,stylesCtx:N,className:a,style:i,classes:JY,classNames:o,styles:l,unstyled:s,attributes:_,vars:x,varsResolver:FIe});return y.jsx(Se,{...$("root"),ref:r,variant:w,mod:[{grow:g},C],size:k,...T,children:R})});Wr.classes=JY,Wr.displayName="@mantine/core/Group";const[HIe,qIe]=I0({size:"sm"}),eW=lt((e,r)=>{const n=Le("InputClearButton",null,e),{size:o,variant:a,vars:i,classNames:l,styles:s,...c}=n,u=qIe(),{resolvedClassNames:d,resolvedStyles:p}=_9({classNames:l,styles:s,props:n});return y.jsx(lp,{variant:a||"transparent",ref:r,size:o||u?.size||"sm",classNames:d,styles:p,__staticSelector:"InputClearButton",style:{pointerEvents:"all",background:"var(--input-bg)",...c.style},...c})});eW.displayName="@mantine/core/InputClearButton";const UIe={xs:7,sm:8,md:10,lg:12,xl:15};function VIe({__clearable:e,__clearSection:r,rightSection:n,__defaultRightSection:o,size:a="sm"}){const i=e&&r;return i&&(n||o)?y.jsxs("div",{"data-combined-clear-section":!0,style:{display:"flex",gap:2,alignItems:"center",paddingInlineEnd:UIe[a]},children:[i,n||o]}):n===null?null:n||i||o}const[YIe,Pw]=I0({offsetBottom:!1,offsetTop:!1,describedBy:void 0,getStyles:null,inputId:void 0,labelId:void 0});var ui={wrapper:"m_6c018570",input:"m_8fb7ebe7",section:"m_82577fc2",placeholder:"m_88bacfd0",root:"m_46b77525",label:"m_8fdc1311",required:"m_78a94662",error:"m_8f816625",description:"m_fe47ce59"};const WIe=(e,{size:r})=>({description:{"--input-description-size":r===void 0?void 0:`calc(${Po(r)} - ${Ae(2)})`}}),$w=lt((e,r)=>{const n=Le("InputDescription",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,size:u,__staticSelector:d,__inheritStyles:p=!0,attributes:f,variant:g,...b}=Le("InputDescription",null,n),x=Pw(),w=wt({name:["InputWrapper",d],props:n,classes:ui,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:f,rootSelector:"description",vars:c,varsResolver:WIe}),k=p&&x?.getStyles||w;return y.jsx(Se,{component:"p",ref:r,variant:g,size:u,...k("description",x?.getStyles?{className:a,style:i}:void 0),...b})});$w.classes=ui,$w.displayName="@mantine/core/InputDescription";const GIe=(e,{size:r})=>({error:{"--input-error-size":r===void 0?void 0:`calc(${Po(r)} - ${Ae(2)})`}}),Mw=lt((e,r)=>{const n=Le("InputError",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,size:u,attributes:d,__staticSelector:p,__inheritStyles:f=!0,variant:g,...b}=n,x=wt({name:["InputWrapper",p],props:n,classes:ui,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:d,rootSelector:"error",vars:c,varsResolver:GIe}),w=Pw(),k=f&&w?.getStyles||x;return y.jsx(Se,{component:"p",ref:r,variant:g,size:u,...k("error",w?.getStyles?{className:a,style:i}:void 0),...b})});Mw.classes=ui,Mw.displayName="@mantine/core/InputError";const tW={labelElement:"label"},XIe=(e,{size:r})=>({label:{"--input-label-size":Po(r),"--input-asterisk-color":void 0}}),Ow=lt((e,r)=>{const n=Le("InputLabel",tW,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,labelElement:u,size:d,required:p,htmlFor:f,onMouseDown:g,children:b,__staticSelector:x,variant:w,mod:k,attributes:C,..._}=Le("InputLabel",tW,n),T=wt({name:["InputWrapper",x],props:n,classes:ui,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:C,rootSelector:"label",vars:c,varsResolver:XIe}),R=Pw(),A=R?.getStyles||T;return y.jsxs(Se,{...A("label",R?.getStyles?{className:a,style:i}:void 0),component:u,variant:w,size:d,ref:r,htmlFor:u==="label"?f:void 0,mod:[{required:p},k],onMouseDown:D=>{g?.(D),!D.defaultPrevented&&D.detail>1&&D.preventDefault()},..._,children:[b,p&&y.jsx("span",{...A("required"),"aria-hidden":!0,children:" *"})]})});Ow.classes=ui,Ow.displayName="@mantine/core/InputLabel";const a7=lt((e,r)=>{const n=Le("InputPlaceholder",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,__staticSelector:u,variant:d,error:p,mod:f,attributes:g,...b}=n,x=wt({name:["InputPlaceholder",u],props:n,classes:ui,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:g,rootSelector:"placeholder"});return y.jsx(Se,{...x("placeholder"),mod:[{error:!!p},f],component:"span",variant:d,ref:r,...b})});a7.classes=ui,a7.displayName="@mantine/core/InputPlaceholder";function KIe(e,{hasDescription:r,hasError:n}){const o=e.findIndex(s=>s==="input"),a=e.slice(0,o),i=e.slice(o+1),l=r&&a.includes("description")||n&&a.includes("error");return{offsetBottom:r&&i.includes("description")||n&&i.includes("error"),offsetTop:l}}const ZIe={labelElement:"label",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},QIe=(e,{size:r})=>({label:{"--input-label-size":Po(r),"--input-asterisk-color":void 0},error:{"--input-error-size":r===void 0?void 0:`calc(${Po(r)} - ${Ae(2)})`},description:{"--input-description-size":r===void 0?void 0:`calc(${Po(r)} - ${Ae(2)})`}}),i7=lt((e,r)=>{const n=Le("InputWrapper",ZIe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,size:u,variant:d,__staticSelector:p,inputContainer:f,inputWrapperOrder:g,label:b,error:x,description:w,labelProps:k,descriptionProps:C,errorProps:_,labelElement:T,children:R,withAsterisk:A,id:D,required:N,__stylesApiProps:$,mod:O,attributes:j,...L}=n,Y=wt({name:["InputWrapper",p],props:$||n,classes:ui,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:j,vars:c,varsResolver:QIe}),M={size:u,variant:d,__staticSelector:p},q=Aa(D),z=typeof A=="boolean"?A:N,H=_?.id||`${q}-error`,U=C?.id||`${q}-description`,K=q,V=!!x&&typeof x!="boolean",X=!!w,Z=`${V?H:""} ${X?U:""}`,B=Z.trim().length>0?Z.trim():void 0,W=k?.id||`${q}-label`,Q=b&&y.jsx(Ow,{labelElement:T,id:W,htmlFor:K,required:z,...M,...k,children:b},"label"),J=X&&y.jsx($w,{...C,...M,size:C?.size||M.size,id:C?.id||U,children:w},"description"),ne=y.jsx(S.Fragment,{children:f(R)},"input"),te=V&&S.createElement(Mw,{..._,...M,size:_?.size||M.size,key:"error",id:_?.id||H},x),ee=g.map(pe=>{switch(pe){case"label":return Q;case"input":return ne;case"description":return J;case"error":return te;default:return null}});return y.jsx(YIe,{value:{getStyles:Y,describedBy:B,inputId:K,labelId:W,...KIe(g,{hasDescription:X,hasError:V})},children:y.jsx(Se,{ref:r,variant:d,size:u,mod:[{error:!!x},O],...Y("root"),...L,children:ee})})});i7.classes=ui,i7.displayName="@mantine/core/InputWrapper";const JIe={variant:"default",leftSectionPointerEvents:"none",rightSectionPointerEvents:"none",withAria:!0,withErrorStyles:!0,size:"sm"},eze=(e,r,n)=>({wrapper:{"--input-margin-top":n.offsetTop?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-margin-bottom":n.offsetBottom?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-height":dr(r.size,"input-height"),"--input-fz":Po(r.size),"--input-radius":r.radius===void 0?void 0:_n(r.radius),"--input-left-section-width":r.leftSectionWidth!==void 0?Ae(r.leftSectionWidth):void 0,"--input-right-section-width":r.rightSectionWidth!==void 0?Ae(r.rightSectionWidth):void 0,"--input-padding-y":r.multiline?dr(r.size,"input-padding-y"):void 0,"--input-left-section-pointer-events":r.leftSectionPointerEvents,"--input-right-section-pointer-events":r.rightSectionPointerEvents}}),Pa=eo((e,r)=>{const n=Le("Input",JIe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,required:c,__staticSelector:u,__stylesApiProps:d,size:p,wrapperProps:f,error:g,disabled:b,leftSection:x,leftSectionProps:w,leftSectionWidth:k,rightSection:C,rightSectionProps:_,rightSectionWidth:T,rightSectionPointerEvents:R,leftSectionPointerEvents:A,variant:D,vars:N,pointer:$,multiline:O,radius:j,id:L,withAria:Y,withErrorStyles:M,mod:q,inputSize:z,attributes:H,__clearSection:U,__clearable:K,__defaultRightSection:V,...X}=n,{styleProps:Z,rest:B}=yV(X),W=Pw(),Q={offsetBottom:W?.offsetBottom,offsetTop:W?.offsetTop},J=wt({name:["Input",u],props:d||n,classes:ui,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:H,stylesCtx:Q,rootSelector:"wrapper",vars:N,varsResolver:eze}),ne=Y?{required:c,disabled:b,"aria-invalid":!!g,"aria-describedby":W?.describedBy,id:W?.inputId||L}:{},te=VIe({__clearable:K,__clearSection:U,rightSection:C,__defaultRightSection:V,size:p});return y.jsx(HIe,{value:{size:p||"sm"},children:y.jsxs(Se,{...J("wrapper"),...Z,...f,mod:[{error:!!g&&M,pointer:$,disabled:b,multiline:O,"data-with-right-section":!!te,"data-with-left-section":!!x},q],variant:D,size:p,children:[x&&y.jsx("div",{...w,"data-position":"left",...J("section",{className:w?.className,style:w?.style}),children:x}),y.jsx(Se,{component:"input",...B,...ne,ref:r,required:c,mod:{disabled:b,error:!!g&&M},variant:D,__size:z,...J("input")}),te&&y.jsx("div",{..._,"data-position":"right",...J("section",{className:_?.className,style:_?.style}),children:te})]})})});Pa.classes=ui,Pa.Wrapper=i7,Pa.Label=Ow,Pa.Error=Mw,Pa.Description=$w,Pa.Placeholder=a7,Pa.ClearButton=eW,Pa.displayName="@mantine/core/Input";const tze={gap:{type:"spacing",property:"gap"},rowGap:{type:"spacing",property:"rowGap"},columnGap:{type:"spacing",property:"columnGap"},align:{type:"identity",property:"alignItems"},justify:{type:"identity",property:"justifyContent"},wrap:{type:"identity",property:"flexWrap"},direction:{type:"identity",property:"flexDirection"}};var rW={root:"m_8bffd616"};const Zs=eo((e,r)=>{const n=Le("Flex",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,gap:u,rowGap:d,columnGap:p,align:f,justify:g,wrap:b,direction:x,attributes:w,...k}=n,C=wt({name:"Flex",classes:rW,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:w,vars:c}),_=mo(),T=iw(),R=xV({styleProps:{gap:u,rowGap:d,columnGap:p,align:f,justify:g,wrap:b,direction:x},theme:_,data:tze});return y.jsxs(y.Fragment,{children:[R.hasResponsiveStyles&&y.jsx(aw,{selector:`.${T}`,styles:R.styles,media:R.media}),y.jsx(Se,{ref:r,...C("root",{className:T,style:Sf(R.inlineStyles)}),...k})]})});Zs.classes=rW,Zs.displayName="@mantine/core/Flex";function rze(e,r){if(!r||!e)return!1;let n=r.parentNode;for(;n!=null;){if(n===e)return!0;n=n.parentNode}return!1}function nze({target:e,parent:r,ref:n,displayAfterTransitionEnd:o}){const a=S.useRef(-1),[i,l]=S.useState(!1),[s,c]=S.useState(typeof o=="boolean"?o:!1),u=()=>{if(!e||!r||!n.current)return;const g=e.getBoundingClientRect(),b=r.getBoundingClientRect(),x=window.getComputedStyle(e),w=window.getComputedStyle(r),k=ku(x.borderTopWidth)+ku(w.borderTopWidth),C=ku(x.borderLeftWidth)+ku(w.borderLeftWidth),_={top:g.top-b.top-k,left:g.left-b.left-C,width:g.width,height:g.height};n.current.style.transform=`translateY(${_.top}px) translateX(${_.left}px)`,n.current.style.width=`${_.width}px`,n.current.style.height=`${_.height}px`},d=()=>{window.clearTimeout(a.current),n.current&&(n.current.style.transitionDuration="0ms"),u(),a.current=window.setTimeout(()=>{n.current&&(n.current.style.transitionDuration="")},30)},p=S.useRef(null),f=S.useRef(null);return S.useEffect(()=>{if(u(),e)return p.current=new ResizeObserver(d),p.current.observe(e),r&&(f.current=new ResizeObserver(d),f.current.observe(r)),()=>{p.current?.disconnect(),f.current?.disconnect()}},[r,e]),S.useEffect(()=>{if(r){const g=b=>{rze(b.target,r)&&(d(),c(!1))};return r.addEventListener("transitionend",g),()=>{r.removeEventListener("transitionend",g)}}},[r]),tV(()=>{s$e()!=="test"&&l(!0)},20,{autoInvoke:!0}),rV(g=>{g.forEach(b=>{b.type==="attributes"&&b.attributeName==="dir"&&d()})},{attributes:!0,attributeFilter:["dir"]},()=>document.documentElement),{initialized:i,hidden:s}}var nW={root:"m_96b553a6"};const oze=(e,{transitionDuration:r})=>({root:{"--transition-duration":typeof r=="number"?`${r}ms`:r}}),Iw=lt((e,r)=>{const n=Le("FloatingIndicator",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,target:u,parent:d,transitionDuration:p,mod:f,displayAfterTransitionEnd:g,attributes:b,...x}=n,w=wt({name:"FloatingIndicator",classes:nW,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:b,vars:c,varsResolver:oze}),k=S.useRef(null),{initialized:C,hidden:_}=nze({target:u,parent:d,ref:k,displayAfterTransitionEnd:g}),T=Mr(r,k);return!u||!d?null:y.jsx(Se,{ref:T,mod:[{initialized:C,hidden:_},f],...w("root"),...x})});Iw.displayName="@mantine/core/FloatingIndicator",Iw.classes=nW;function oW({open:e,close:r,openDelay:n,closeDelay:o}){const a=S.useRef(-1),i=S.useRef(-1),l=()=>{window.clearTimeout(a.current),window.clearTimeout(i.current)},s=()=>{l(),n===0||n===void 0?e():a.current=window.setTimeout(e,n)},c=()=>{l(),o===0||o===void 0?r():i.current=window.setTimeout(r,o)};return S.useEffect(()=>l,[]),{openDropdown:s,closeDropdown:c}}function l7({style:e,size:r=16,...n}){return y.jsx("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...e,width:Ae(r),height:Ae(r),display:"block"},...n,children:y.jsx("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}l7.displayName="@mantine/core/AccordionChevron";var aW={root:"m_66836ed3",wrapper:"m_a5d60502",body:"m_667c2793",title:"m_6a03f287",label:"m_698f4f23",icon:"m_667f2a6a",message:"m_7fa78076",closeButton:"m_87f54839"};const aze=(e,{radius:r,color:n,variant:o,autoContrast:a})=>{const i=e.variantColorResolver({color:n||e.primaryColor,theme:e,variant:o||"light",autoContrast:a});return{root:{"--alert-radius":r===void 0?void 0:_n(r),"--alert-bg":n||o?i.background:void 0,"--alert-color":i.color,"--alert-bd":n||o?i.border:void 0}}},zw=lt((e,r)=>{const n=Le("Alert",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,radius:u,color:d,title:p,children:f,id:g,icon:b,withCloseButton:x,onClose:w,closeButtonLabel:k,variant:C,autoContrast:_,attributes:T,...R}=n,A=wt({name:"Alert",classes:aW,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:T,vars:c,varsResolver:aze}),D=Aa(g),N=p&&`${D}-title`||void 0,$=`${D}-body`;return y.jsx(Se,{id:D,...A("root",{variant:C}),variant:C,ref:r,...R,role:"alert","aria-describedby":f?$:void 0,"aria-labelledby":p?N:void 0,children:y.jsxs("div",{...A("wrapper"),children:[b&&y.jsx("div",{...A("icon"),children:b}),y.jsxs("div",{...A("body"),children:[p&&y.jsx("div",{...A("title"),"data-with-close-button":x||void 0,children:y.jsx("span",{id:N,...A("label"),children:p})}),f&&y.jsx("div",{id:$,...A("message"),"data-variant":C,children:f})]}),x&&y.jsx(lp,{...A("closeButton"),onClick:w,variant:"transparent",size:16,iconSize:16,"aria-label":k,unstyled:s})]})})});zw.classes=aW,zw.displayName="@mantine/core/Alert";var iW={root:"m_b6d8b162"};function ize(e){if(e==="start")return"start";if(e==="end"||e)return"end"}const lze={inherit:!1},sze=(e,{variant:r,lineClamp:n,gradient:o,size:a,color:i})=>({root:{"--text-fz":Po(a),"--text-lh":EPe(a),"--text-gradient":r==="gradient"?f9(o,e):void 0,"--text-line-clamp":typeof n=="number"?n.toString():void 0,"--text-color":i?ta(i,e):void 0}}),pt=eo((e,r)=>{const n=Le("Text",lze,e),{lineClamp:o,truncate:a,inline:i,inherit:l,gradient:s,span:c,__staticSelector:u,vars:d,className:p,style:f,classNames:g,styles:b,unstyled:x,variant:w,mod:k,size:C,attributes:_,...T}=n,R=wt({name:["Text",u],props:n,classes:iW,className:p,style:f,classNames:g,styles:b,unstyled:x,attributes:_,vars:d,varsResolver:sze});return y.jsx(Se,{...R("root",{focusable:!0}),ref:r,component:c?"span":"p",variant:w,mod:[{"data-truncate":ize(a),"data-line-clamp":typeof o=="number","data-inline":i,"data-inherit":l},k],size:C,...T})});pt.classes=iW,pt.displayName="@mantine/core/Text";var lW={root:"m_849cf0da"};const cze={underline:"hover"},s7=eo((e,r)=>{const{underline:n,className:o,unstyled:a,mod:i,...l}=Le("Anchor",cze,e);return y.jsx(pt,{component:"a",ref:r,className:tl({[lW.root]:!a},o),...l,mod:[{underline:n},i],__staticSelector:"Anchor",unstyled:a})});s7.classes=lW,s7.displayName="@mantine/core/Anchor";var di={dropdown:"m_88b62a41",search:"m_985517d8",options:"m_b2821a6e",option:"m_92253aa5",empty:"m_2530cd1d",header:"m_858f94bd",footer:"m_82b967cb",group:"m_254f3e4f",groupLabel:"m_2bb2e9e5",chevron:"m_2943220b",optionsDropdownOption:"m_390b5f4",optionsDropdownCheckIcon:"m_8ee53fc2"};const uze={error:null},dze=(e,{size:r,color:n})=>({chevron:{"--combobox-chevron-size":dr(r,"combobox-chevron-size"),"--combobox-chevron-color":n?ta(n,e):void 0}}),c7=lt((e,r)=>{const n=Le("ComboboxChevron",uze,e),{size:o,error:a,style:i,className:l,classNames:s,styles:c,unstyled:u,vars:d,mod:p,...f}=n,g=wt({name:"ComboboxChevron",classes:di,props:n,style:i,className:l,classNames:s,styles:c,unstyled:u,vars:d,varsResolver:dze,rootSelector:"chevron"});return y.jsx(Se,{component:"svg",...f,...g("chevron"),size:o,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",mod:["combobox-chevron",{error:a},p],ref:r,children:y.jsx("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})});c7.classes=di,c7.displayName="@mantine/core/ComboboxChevron";const[pze,pi]=ii("Combobox component was not found in tree"),sW=S.forwardRef(({size:e,onMouseDown:r,onClick:n,onClear:o,...a},i)=>y.jsx(Pa.ClearButton,{ref:i,tabIndex:-1,"aria-hidden":!0,...a,onMouseDown:l=>{l.preventDefault(),r?.(l)},onClick:l=>{o(),n?.(l)}}));sW.displayName="@mantine/core/ComboboxClearButton";const Lw=lt((e,r)=>{const{classNames:n,styles:o,className:a,style:i,hidden:l,...s}=Le("ComboboxDropdown",null,e),c=pi();return y.jsx(br.Dropdown,{...s,ref:r,role:"presentation","data-hidden":l||void 0,...c.getStyles("dropdown",{className:a,style:i,classNames:n,styles:o})})});Lw.classes=di,Lw.displayName="@mantine/core/ComboboxDropdown";const hze={refProp:"ref"},cW=lt((e,r)=>{const{children:n,refProp:o}=Le("ComboboxDropdownTarget",hze,e);if(pi(),!el(n))throw new Error("Combobox.DropdownTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");return y.jsx(br.Target,{ref:r,refProp:o,children:n})});cW.displayName="@mantine/core/ComboboxDropdownTarget";const W0=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,...s}=Le("ComboboxEmpty",null,e),c=pi();return y.jsx(Se,{ref:r,...c.getStyles("empty",{className:o,classNames:n,styles:i,style:a}),...s})});W0.classes=di,W0.displayName="@mantine/core/ComboboxEmpty";function u7({onKeyDown:e,withKeyboardNavigation:r,withAriaAttributes:n,withExpandedAttribute:o,targetType:a,autoComplete:i}){const l=pi(),[s,c]=S.useState(null),u=d=>{if(e?.(d),!l.readOnly&&r){if(d.nativeEvent.isComposing)return;if(d.nativeEvent.code==="ArrowDown"&&(d.preventDefault(),l.store.dropdownOpened?c(l.store.selectNextOption()):(l.store.openDropdown("keyboard"),c(l.store.selectActiveOption()),l.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),d.nativeEvent.code==="ArrowUp"&&(d.preventDefault(),l.store.dropdownOpened?c(l.store.selectPreviousOption()):(l.store.openDropdown("keyboard"),c(l.store.selectActiveOption()),l.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),d.nativeEvent.code==="Enter"||d.nativeEvent.code==="NumpadEnter"){if(d.nativeEvent.keyCode===229)return;const p=l.store.getSelectedOptionIndex();l.store.dropdownOpened&&p!==-1?(d.preventDefault(),l.store.clickSelectedOption()):a==="button"&&(d.preventDefault(),l.store.openDropdown("keyboard"))}d.key==="Escape"&&l.store.closeDropdown("keyboard"),d.nativeEvent.code==="Space"&&a==="button"&&(d.preventDefault(),l.store.toggleDropdown("keyboard"))}};return{...n?{"aria-haspopup":"listbox","aria-expanded":o?!!(l.store.listId&&l.store.dropdownOpened):void 0,"aria-controls":l.store.dropdownOpened&&l.store.listId?l.store.listId:void 0,"aria-activedescendant":l.store.dropdownOpened&&s||void 0,autoComplete:i,"data-expanded":l.store.dropdownOpened||void 0,"data-mantine-stop-propagation":l.store.dropdownOpened||void 0}:{},onKeyDown:u}}const fze={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},uW=lt((e,r)=>{const{children:n,refProp:o,withKeyboardNavigation:a,withAriaAttributes:i,withExpandedAttribute:l,targetType:s,autoComplete:c,...u}=Le("ComboboxEventsTarget",fze,e);if(!el(n))throw new Error("Combobox.EventsTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const d=pi(),p=u7({targetType:s,withAriaAttributes:i,withKeyboardNavigation:a,withExpandedAttribute:l,onKeyDown:n.props.onKeyDown,autoComplete:c});return S.cloneElement(n,{...p,...u,[o]:Mr(r,d.store.targetRef,Qx(n))})});uW.displayName="@mantine/core/ComboboxEventsTarget";const d7=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,...s}=Le("ComboboxFooter",null,e),c=pi();return y.jsx(Se,{ref:r,...c.getStyles("footer",{className:o,classNames:n,style:a,styles:i}),...s,onMouseDown:u=>{u.preventDefault()}})});d7.classes=di,d7.displayName="@mantine/core/ComboboxFooter";const p7=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,children:s,label:c,id:u,...d}=Le("ComboboxGroup",null,e),p=pi(),f=Aa(u);return y.jsxs(Se,{ref:r,role:"group","aria-labelledby":c?f:void 0,...p.getStyles("group",{className:o,classNames:n,style:a,styles:i}),...d,children:[c&&y.jsx("div",{id:f,...p.getStyles("groupLabel",{classNames:n,styles:i}),children:c}),s]})});p7.classes=di,p7.displayName="@mantine/core/ComboboxGroup";const h7=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,...s}=Le("ComboboxHeader",null,e),c=pi();return y.jsx(Se,{ref:r,...c.getStyles("header",{className:o,classNames:n,style:a,styles:i}),...s,onMouseDown:u=>{u.preventDefault()}})});h7.classes=di,h7.displayName="@mantine/core/ComboboxHeader";function dW({value:e,valuesDivider:r=",",...n}){return y.jsx("input",{type:"hidden",value:Array.isArray(e)?e.join(r):e||"",...n})}dW.displayName="@mantine/core/ComboboxHiddenInput";const G0=lt((e,r)=>{const n=Le("ComboboxOption",null,e),{classNames:o,className:a,style:i,styles:l,vars:s,onClick:c,id:u,active:d,onMouseDown:p,onMouseOver:f,disabled:g,selected:b,mod:x,...w}=n,k=pi(),C=S.useId(),_=u||C;return y.jsx(Se,{...k.getStyles("option",{className:a,classNames:o,styles:l,style:i}),...w,ref:r,id:_,mod:["combobox-option",{"combobox-active":d,"combobox-disabled":g,"combobox-selected":b},x],role:"option",onClick:T=>{g?T.preventDefault():(k.onOptionSubmit?.(n.value,n),c?.(T))},onMouseDown:T=>{T.preventDefault(),p?.(T)},onMouseOver:T=>{k.resetSelectionOnOptionHover&&k.store.resetSelectedOption(),f?.(T)}})});G0.classes=di,G0.displayName="@mantine/core/ComboboxOption";const Bw=lt((e,r)=>{const n=Le("ComboboxOptions",null,e),{classNames:o,className:a,style:i,styles:l,id:s,onMouseDown:c,labelledBy:u,...d}=n,p=pi(),f=Aa(s);return S.useEffect(()=>{p.store.setListId(f)},[f]),y.jsx(Se,{ref:r,...p.getStyles("options",{className:a,style:i,classNames:o,styles:l}),...d,id:f,role:"listbox","aria-labelledby":u,onMouseDown:g=>{g.preventDefault(),c?.(g)}})});Bw.classes=di,Bw.displayName="@mantine/core/ComboboxOptions";const mze={withAriaAttributes:!0,withKeyboardNavigation:!0},f7=lt((e,r)=>{const n=Le("ComboboxSearch",mze,e),{classNames:o,styles:a,unstyled:i,vars:l,withAriaAttributes:s,onKeyDown:c,withKeyboardNavigation:u,size:d,...p}=n,f=pi(),g=f.getStyles("search"),b=u7({targetType:"input",withAriaAttributes:s,withKeyboardNavigation:u,withExpandedAttribute:!1,onKeyDown:c,autoComplete:"off"});return y.jsx(Pa,{ref:Mr(r,f.store.searchRef),classNames:[{input:g.className},o],styles:[{input:g.style},a],size:d||f.size,...b,...p,__staticSelector:"Combobox"})});f7.classes=di,f7.displayName="@mantine/core/ComboboxSearch";const gze={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},m7=lt((e,r)=>{const{children:n,refProp:o,withKeyboardNavigation:a,withAriaAttributes:i,withExpandedAttribute:l,targetType:s,autoComplete:c,...u}=Le("ComboboxTarget",gze,e);if(!el(n))throw new Error("Combobox.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const d=pi(),p=u7({targetType:s,withAriaAttributes:i,withKeyboardNavigation:a,withExpandedAttribute:l,onKeyDown:n.props.onKeyDown,autoComplete:c}),f=S.cloneElement(n,{...p,...u});return y.jsx(br.Target,{ref:Mr(r,d.store.targetRef),children:f})});m7.displayName="@mantine/core/ComboboxTarget";function yze(e,r,n){for(let o=e-1;o>=0;o-=1)if(!r[o].hasAttribute("data-combobox-disabled"))return o;if(n){for(let o=r.length-1;o>-1;o-=1)if(!r[o].hasAttribute("data-combobox-disabled"))return o}return e}function bze(e,r,n){for(let o=e+1;o{s||(c(!0),a?.(z))},[c,a,s]),k=S.useCallback((z="unknown")=>{s&&(c(!1),o?.(z))},[c,o,s]),C=S.useCallback((z="unknown")=>{s?k(z):w(z)},[k,w,s]),_=S.useCallback(()=>{const z=document.querySelector(`#${u.current} [data-combobox-selected]`);z?.removeAttribute("data-combobox-selected"),z?.removeAttribute("aria-selected")},[]),T=S.useCallback(z=>{const H=document.getElementById(u.current)?.querySelectorAll("[data-combobox-option]");if(!H)return null;const U=z>=H.length?0:z<0?H.length-1:z;return d.current=U,H?.[U]&&!H[U].hasAttribute("data-combobox-disabled")?(_(),H[U].setAttribute("data-combobox-selected","true"),H[U].setAttribute("aria-selected","true"),H[U].scrollIntoView({block:"nearest",behavior:l}),H[U].id):null},[l,_]),R=S.useCallback(()=>{const z=document.querySelector(`#${u.current} [data-combobox-active]`);if(z){const H=document.querySelectorAll(`#${u.current} [data-combobox-option]`),U=Array.from(H).findIndex(K=>K===z);return T(U)}return T(0)},[T]),A=S.useCallback(()=>T(bze(d.current,document.querySelectorAll(`#${u.current} [data-combobox-option]`),i)),[T,i]),D=S.useCallback(()=>T(yze(d.current,document.querySelectorAll(`#${u.current} [data-combobox-option]`),i)),[T,i]),N=S.useCallback(()=>T(vze(document.querySelectorAll(`#${u.current} [data-combobox-option]`))),[T]),$=S.useCallback((z="selected",H)=>{x.current=window.setTimeout(()=>{const U=document.querySelectorAll(`#${u.current} [data-combobox-option]`),K=Array.from(U).findIndex(V=>V.hasAttribute(`data-combobox-${z}`));d.current=K,H?.scrollIntoView&&U[K]?.scrollIntoView({block:"nearest",behavior:l})},0)},[]),O=S.useCallback(()=>{d.current=-1,_()},[_]),j=S.useCallback(()=>{document.querySelectorAll(`#${u.current} [data-combobox-option]`)?.[d.current]?.click()},[]),L=S.useCallback(z=>{u.current=z},[]),Y=S.useCallback(()=>{g.current=window.setTimeout(()=>p.current?.focus(),0)},[]),M=S.useCallback(()=>{b.current=window.setTimeout(()=>f.current?.focus(),0)},[]),q=S.useCallback(()=>d.current,[]);return S.useEffect(()=>()=>{window.clearTimeout(g.current),window.clearTimeout(b.current),window.clearTimeout(x.current)},[]),{dropdownOpened:s,openDropdown:w,closeDropdown:k,toggleDropdown:C,selectedOptionIndex:d.current,getSelectedOptionIndex:q,selectOption:T,selectFirstOption:N,selectActiveOption:R,selectNextOption:A,selectPreviousOption:D,resetSelectedOption:O,updateSelectedOptionIndex:$,listId:u.current,setListId:L,clickSelectedOption:j,searchRef:p,focusSearchInput:Y,targetRef:f,focusTarget:M}}const xze={keepMounted:!0,withinPortal:!0,resetSelectionOnOptionHover:!1,width:"target",transitionProps:{transition:"fade",duration:0},size:"sm"},wze=(e,{size:r,dropdownPadding:n})=>({options:{"--combobox-option-fz":Po(r),"--combobox-option-padding":dr(r,"combobox-option-padding")},dropdown:{"--combobox-padding":n===void 0?void 0:Ae(n),"--combobox-option-fz":Po(r),"--combobox-option-padding":dr(r,"combobox-option-padding")}});function to(e){const r=Le("Combobox",xze,e),{classNames:n,styles:o,unstyled:a,children:i,store:l,vars:s,onOptionSubmit:c,onClose:u,size:d,dropdownPadding:p,resetSelectionOnOptionHover:f,__staticSelector:g,readOnly:b,attributes:x,...w}=r,k=pW(),C=l||k,_=wt({name:g||"Combobox",classes:di,props:r,classNames:n,styles:o,unstyled:a,attributes:x,vars:s,varsResolver:wze}),T=()=>{u?.(),C.closeDropdown()};return y.jsx(pze,{value:{getStyles:_,store:C,onOptionSubmit:c,size:d,resetSelectionOnOptionHover:f,readOnly:b},children:y.jsx(br,{opened:C.dropdownOpened,preventPositionChangeWhenVisible:!0,...w,onChange:R=>!R&&T(),withRoles:!1,unstyled:a,children:i})})}const kze=e=>e;to.extend=kze,to.classes=di,to.displayName="@mantine/core/Combobox",to.Target=m7,to.Dropdown=Lw,to.Options=Bw,to.Option=G0,to.Search=f7,to.Empty=W0,to.Chevron=c7,to.Footer=d7,to.Header=h7,to.EventsTarget=uW,to.DropdownTarget=cW,to.Group=p7,to.ClearButton=sW,to.HiddenInput=dW;function hW({size:e,style:r,...n}){const o=e!==void 0?{width:Ae(e),height:Ae(e),...r}:r;return y.jsx("svg",{viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:o,"aria-hidden":!0,...n,children:y.jsx("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}var fW={root:"m_347db0ec","root--dot":"m_fbd81e3d",label:"m_5add502a",section:"m_91fdda9b"};const _ze=(e,{radius:r,color:n,gradient:o,variant:a,size:i,autoContrast:l})=>{const s=e.variantColorResolver({color:n||e.primaryColor,theme:e,gradient:o,variant:a||"filled",autoContrast:l});return{root:{"--badge-height":dr(i,"badge-height"),"--badge-padding-x":dr(i,"badge-padding-x"),"--badge-fz":dr(i,"badge-fz"),"--badge-radius":r===void 0?void 0:_n(r),"--badge-bg":n||a?s.background:void 0,"--badge-color":n||a?s.color:void 0,"--badge-bd":n||a?s.border:void 0,"--badge-dot-color":a==="dot"?ta(n,e):void 0}}},Qs=eo((e,r)=>{const n=Le("Badge",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,radius:u,color:d,gradient:p,leftSection:f,rightSection:g,children:b,variant:x,fullWidth:w,autoContrast:k,circle:C,mod:_,attributes:T,...R}=n,A=wt({name:"Badge",props:n,classes:fW,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:T,vars:c,varsResolver:_ze});return y.jsxs(Se,{variant:x,mod:[{block:w,circle:C,"with-right-section":!!g,"with-left-section":!!f},_],...A("root",{variant:x}),ref:r,...R,children:[f&&y.jsx("span",{...A("section"),"data-position":"left",children:f}),y.jsx("span",{...A("label"),children:b}),g&&y.jsx("span",{...A("section"),"data-position":"right",children:g})]})});Qs.classes=fW,Qs.displayName="@mantine/core/Badge";var mW={root:"m_8b3717df",breadcrumb:"m_f678d540",separator:"m_3b8f2208"};const Eze={separator:"/"},Sze=(e,{separatorMargin:r})=>({root:{"--bc-separator-margin":Vs(r)}}),jw=lt((e,r)=>{const n=Le("Breadcrumbs",Eze,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,children:u,separator:d,separatorMargin:p,attributes:f,...g}=n,b=wt({name:"Breadcrumbs",classes:mW,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:f,vars:c,varsResolver:Sze}),x=S.Children.toArray(u).reduce((w,k,C,_)=>{const T=el(k)?S.cloneElement(k,{...b("breadcrumb",{className:k.props?.className}),key:C}):S.createElement("div",{...b("breadcrumb"),key:C},k);return w.push(T),C!==_.length-1&&w.push(S.createElement(Se,{...b("separator"),key:`separator-${C}`},d)),w},[]);return y.jsx(Se,{ref:r,...b("root"),...g,children:x})});jw.classes=mW,jw.displayName="@mantine/core/Breadcrumbs";var Hf={root:"m_77c9d27d",inner:"m_80f1301b",label:"m_811560b9",section:"m_a74036a",loader:"m_a25b86ee",group:"m_80d6d844",groupSection:"m_70be2a01"};const gW={orientation:"horizontal"},Cze=(e,{borderWidth:r})=>({group:{"--button-border-width":Ae(r)}}),g7=lt((e,r)=>{const n=Le("ButtonGroup",gW,e),{className:o,style:a,classNames:i,styles:l,unstyled:s,orientation:c,vars:u,borderWidth:d,variant:p,mod:f,attributes:g,...b}=Le("ButtonGroup",gW,e),x=wt({name:"ButtonGroup",props:n,classes:Hf,className:o,style:a,classNames:i,styles:l,unstyled:s,attributes:g,vars:u,varsResolver:Cze,rootSelector:"group"});return y.jsx(Se,{...x("group"),ref:r,variant:p,mod:[{"data-orientation":c},f],role:"group",...b})});g7.classes=Hf,g7.displayName="@mantine/core/ButtonGroup";const Tze=(e,{radius:r,color:n,gradient:o,variant:a,autoContrast:i,size:l})=>{const s=e.variantColorResolver({color:n||e.primaryColor,theme:e,gradient:o,variant:a||"filled",autoContrast:i});return{groupSection:{"--section-height":dr(l,"section-height"),"--section-padding-x":dr(l,"section-padding-x"),"--section-fz":l?.includes("compact")?Po(l.replace("compact-","")):Po(l),"--section-radius":r===void 0?void 0:_n(r),"--section-bg":n||a?s.background:void 0,"--section-color":s.color,"--section-bd":n||a?s.border:void 0}}},y7=lt((e,r)=>{const n=Le("ButtonGroupSection",null,e),{className:o,style:a,classNames:i,styles:l,unstyled:s,vars:c,variant:u,gradient:d,radius:p,autoContrast:f,attributes:g,...b}=n,x=wt({name:"ButtonGroupSection",props:n,classes:Hf,className:o,style:a,classNames:i,styles:l,unstyled:s,attributes:g,vars:c,varsResolver:Tze,rootSelector:"groupSection"});return y.jsx(Se,{...x("groupSection"),ref:r,variant:u,...b})});y7.classes=Hf,y7.displayName="@mantine/core/ButtonGroupSection";const Rze={in:{opacity:1,transform:`translate(-50%, calc(-50% + ${Ae(1)}))`},out:{opacity:0,transform:"translate(-50%, -200%)"},common:{transformOrigin:"center"},transitionProperty:"transform, opacity"},Aze=(e,{radius:r,color:n,gradient:o,variant:a,size:i,justify:l,autoContrast:s})=>{const c=e.variantColorResolver({color:n||e.primaryColor,theme:e,gradient:o,variant:a||"filled",autoContrast:s});return{root:{"--button-justify":l,"--button-height":dr(i,"button-height"),"--button-padding-x":dr(i,"button-padding-x"),"--button-fz":i?.includes("compact")?Po(i.replace("compact-","")):Po(i),"--button-radius":r===void 0?void 0:_n(r),"--button-bg":n||a?c.background:void 0,"--button-hover":n||a?c.hover:void 0,"--button-color":c.color,"--button-bd":n||a?c.border:void 0,"--button-hover-color":n||a?c.hoverColor:void 0}}},ro=eo((e,r)=>{const n=Le("Button",null,e),{style:o,vars:a,className:i,color:l,disabled:s,children:c,leftSection:u,rightSection:d,fullWidth:p,variant:f,radius:g,loading:b,loaderProps:x,gradient:w,classNames:k,styles:C,unstyled:_,"data-disabled":T,autoContrast:R,mod:A,attributes:D,...N}=n,$=wt({name:"Button",props:n,classes:Hf,className:i,style:o,classNames:k,styles:C,unstyled:_,attributes:D,vars:a,varsResolver:Aze}),O=!!u,j=!!d;return y.jsxs(Ar,{ref:r,...$("root",{active:!s&&!b&&!T}),unstyled:_,variant:f,disabled:s||b,mod:[{disabled:s||T,loading:b,block:p,"with-left-section":O,"with-right-section":j},A],...N,children:[typeof b=="boolean"&&y.jsx(_u,{mounted:b,transition:Rze,duration:150,children:L=>y.jsx(Se,{component:"span",...$("loader",{style:L}),"aria-hidden":!0,children:y.jsx(jf,{color:"var(--button-color)",size:"calc(var(--button-height) / 1.8)",...x})})}),y.jsxs("span",{...$("inner"),children:[u&&y.jsx(Se,{component:"span",...$("section"),mod:{position:"left"},children:u}),y.jsx(Se,{component:"span",mod:{loading:b},...$("label"),children:c}),d&&y.jsx(Se,{component:"span",...$("section"),mod:{position:"right"},children:d})]})]})});ro.classes=Hf,ro.displayName="@mantine/core/Button",ro.Group=g7,ro.GroupSection=y7;const[Nze,Dze]=ii("Card component was not found in tree");var b7={root:"m_e615b15f",section:"m_599a2148"};const Fw=eo((e,r)=>{const n=Le("CardSection",null,e),{classNames:o,className:a,style:i,styles:l,vars:s,withBorder:c,inheritPadding:u,mod:d,...p}=n,f=Dze();return y.jsx(Se,{ref:r,mod:[{"with-border":c,"inherit-padding":u},d],...f.getStyles("section",{className:a,style:i,styles:l,classNames:o}),...p})});Fw.classes=b7,Fw.displayName="@mantine/core/CardSection";const Pze=(e,{padding:r})=>({root:{"--card-padding":Vs(r)}}),Hw=eo((e,r)=>{const n=Le("Card",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,children:u,padding:d,attributes:p,...f}=n,g=wt({name:"Card",props:n,classes:b7,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:p,vars:c,varsResolver:Pze}),b=S.Children.toArray(u),x=b.map((w,k)=>typeof w=="object"&&w&&"type"in w&&w.type===Fw?S.cloneElement(w,{"data-first-section":k===0||void 0,"data-last-section":k===b.length-1||void 0}):w);return y.jsx(Nze,{value:{getStyles:g},children:y.jsx(Lf,{ref:r,unstyled:s,...g("root"),...f,children:x})})});Hw.classes=b7,Hw.displayName="@mantine/core/Card",Hw.Section=Fw;var yW={root:"m_b183c0a2"};const $ze=(e,{color:r})=>({root:{"--code-bg":r?ta(r,e):void 0}}),qw=lt((e,r)=>{const n=Le("Code",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,color:u,block:d,variant:p,mod:f,attributes:g,...b}=n,x=wt({name:"Code",props:n,classes:yW,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:g,vars:c,varsResolver:$ze});return y.jsx(Se,{component:d?"pre":"code",variant:p,ref:r,mod:[{block:d},f],...x("root"),...b,dir:"ltr"})});qw.classes=yW,qw.displayName="@mantine/core/Code";var bW={root:"m_de3d2490",colorOverlay:"m_862f3d1b",shadowOverlay:"m_98ae7f22",alphaOverlay:"m_95709ac0",childrenOverlay:"m_93e74e3"};const vW={withShadow:!0},Mze=(e,{radius:r,size:n})=>({root:{"--cs-radius":r===void 0?void 0:_n(r),"--cs-size":Ae(n)}}),X0=eo((e,r)=>{const n=Le("ColorSwatch",vW,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,color:u,size:d,radius:p,withShadow:f,children:g,variant:b,attributes:x,...w}=Le("ColorSwatch",vW,n),k=wt({name:"ColorSwatch",props:n,classes:bW,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:x,vars:c,varsResolver:Mze});return y.jsxs(Se,{ref:r,variant:b,size:d,...k("root",{focusable:!0}),...w,children:[y.jsx("span",{...k("alphaOverlay")}),f&&y.jsx("span",{...k("shadowOverlay")}),y.jsx("span",{...k("colorOverlay",{style:{backgroundColor:u}})}),y.jsx("span",{...k("childrenOverlay"),children:g})]})});X0.classes=bW,X0.displayName="@mantine/core/ColorSwatch";const Oze={timeout:1e3};function xW(e){const{children:r,timeout:n,value:o,...a}=Le("CopyButton",Oze,e),i=APe({timeout:n});return y.jsx(y.Fragment,{children:r({copy:()=>i.copy(o),copied:i.copied,...a})})}xW.displayName="@mantine/core/CopyButton";var wW={root:"m_3eebeb36",label:"m_9e365f20"};const Ize={orientation:"horizontal"},zze=(e,{color:r,variant:n,size:o})=>({root:{"--divider-color":r?ta(r,e):void 0,"--divider-border-style":n,"--divider-size":dr(o,"divider-size")}}),qf=lt((e,r)=>{const n=Le("Divider",Ize,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,color:u,orientation:d,label:p,labelPosition:f,mod:g,attributes:b,...x}=n,w=wt({name:"Divider",classes:wW,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:b,vars:c,varsResolver:zze});return y.jsx(Se,{ref:r,mod:[{orientation:d,"with-label":!!p},g],...w("root"),...x,role:"separator",children:p&&y.jsx(Se,{component:"span",mod:{position:f},...w("label"),children:p})})});qf.classes=wW,qf.displayName="@mantine/core/Divider";const[kW,_W]=ii("Grid component was not found in tree"),v7=(e,r)=>e==="content"?"auto":e==="auto"?"0rem":e?`${100/(r/e)}%`:void 0,EW=(e,r,n)=>n||e==="auto"?"100%":e==="content"?"unset":v7(e,r),SW=(e,r)=>{if(e)return e==="auto"||r?"1":"auto"},CW=(e,r)=>e===0?"0":e?`${100/(r/e)}%`:void 0;function Lze({span:e,order:r,offset:n,selector:o}){const a=mo(),i=_W(),l=i.breakpoints||a.breakpoints,s=L0(e)===void 0?12:L0(e),c=Sf({"--col-order":L0(r)?.toString(),"--col-flex-grow":SW(s,i.grow),"--col-flex-basis":v7(s,i.columns),"--col-width":s==="content"?"auto":void 0,"--col-max-width":EW(s,i.columns,i.grow),"--col-offset":CW(L0(n),i.columns)}),u=Do(l).reduce((p,f)=>(p[f]||(p[f]={}),typeof r=="object"&&r[f]!==void 0&&(p[f]["--col-order"]=r[f]?.toString()),typeof e=="object"&&e[f]!==void 0&&(p[f]["--col-flex-grow"]=SW(e[f],i.grow),p[f]["--col-flex-basis"]=v7(e[f],i.columns),p[f]["--col-width"]=e[f]==="content"?"auto":void 0,p[f]["--col-max-width"]=EW(e[f],i.columns,i.grow)),typeof n=="object"&&n[f]!==void 0&&(p[f]["--col-offset"]=CW(n[f],i.columns)),p),{}),d=FU(Do(u),l).filter(p=>Do(u[p.value]).length>0).map(p=>({query:i.type==="container"?`mantine-grid (min-width: ${l[p.value]})`:`(min-width: ${l[p.value]})`,styles:u[p.value]}));return y.jsx(aw,{styles:c,media:i.type==="container"?void 0:d,container:i.type==="container"?d:void 0,selector:o})}var x7={container:"m_8478a6da",root:"m_410352e9",inner:"m_dee7bd2f",col:"m_96bdd299"};const Bze={span:12},sp=lt((e,r)=>{const n=Le("GridCol",Bze,e),{classNames:o,className:a,style:i,styles:l,vars:s,span:c,order:u,offset:d,...p}=n,f=_W(),g=iw();return y.jsxs(y.Fragment,{children:[y.jsx(Lze,{selector:`.${g}`,span:c,order:u,offset:d}),y.jsx(Se,{ref:r,...f.getStyles("col",{className:tl(a,g),style:i,classNames:o,styles:l}),...p})]})});sp.classes=x7,sp.displayName="@mantine/core/GridCol";function TW({gutter:e,selector:r,breakpoints:n,type:o}){const a=mo(),i=n||a.breakpoints,l=Sf({"--grid-gutter":Vs(L0(e))}),s=Do(i).reduce((u,d)=>(u[d]||(u[d]={}),typeof e=="object"&&e[d]!==void 0&&(u[d]["--grid-gutter"]=Vs(e[d])),u),{}),c=FU(Do(s),i).filter(u=>Do(s[u.value]).length>0).map(u=>({query:o==="container"?`mantine-grid (min-width: ${i[u.value]})`:`(min-width: ${i[u.value]})`,styles:s[u.value]}));return y.jsx(aw,{styles:l,media:o==="container"?void 0:c,container:o==="container"?c:void 0,selector:r})}const jze={gutter:"md",grow:!1,columns:12},Fze=(e,{justify:r,align:n,overflow:o})=>({root:{"--grid-justify":r,"--grid-align":n,"--grid-overflow":o}}),K0=lt((e,r)=>{const n=Le("Grid",jze,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,grow:u,gutter:d,columns:p,align:f,justify:g,children:b,breakpoints:x,type:w,attributes:k,...C}=n,_=wt({name:"Grid",classes:x7,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:k,vars:c,varsResolver:Fze}),T=iw();return w==="container"&&x?y.jsxs(kW,{value:{getStyles:_,grow:u,columns:p,breakpoints:x,type:w},children:[y.jsx(TW,{selector:`.${T}`,...n}),y.jsx("div",{..._("container"),children:y.jsx(Se,{ref:r,..._("root",{className:T}),...C,children:y.jsx("div",{..._("inner"),children:b})})})]}):y.jsxs(kW,{value:{getStyles:_,grow:u,columns:p,breakpoints:x,type:w},children:[y.jsx(TW,{selector:`.${T}`,...n}),y.jsx(Se,{ref:r,..._("root",{className:T}),...C,children:y.jsx("div",{..._("inner"),children:b})})]})});K0.classes=x7,K0.displayName="@mantine/core/Grid",K0.Col=sp;function RW({color:e,theme:r,defaultShade:n}){const o=xu({color:e,theme:r});return o.isThemeColor?o.shade===void 0?`var(--mantine-color-${o.color}-${n})`:`var(${o.variable})`:e}var AW={root:"m_bcb3f3c2"};const Hze={color:"yellow"},qze=(e,{color:r})=>({root:{"--mark-bg-dark":RW({color:r,theme:e,defaultShade:5}),"--mark-bg-light":RW({color:r,theme:e,defaultShade:2})}}),w7=lt((e,r)=>{const n=Le("Mark",Hze,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,color:u,variant:d,attributes:p,...f}=n,g=wt({name:"Mark",props:n,className:a,style:i,classes:AW,classNames:o,styles:l,unstyled:s,attributes:p,vars:c,varsResolver:qze});return y.jsx(Se,{component:"mark",ref:r,variant:d,...g("root"),...f})});w7.classes=AW,w7.displayName="@mantine/core/Mark";function NW(e){return e.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&")}function Uze(e,r){if(r==null)return[{chunk:e,highlighted:!1}];const n=Array.isArray(r)?r.map(NW):NW(r);if(!(Array.isArray(n)?n.filter(i=>i.trim().length>0).length>0:n.trim()!==""))return[{chunk:e,highlighted:!1}];const o=typeof n=="string"?n.trim():n.filter(i=>i.trim().length!==0).map(i=>i.trim()).sort((i,l)=>l.length-i.length).join("|"),a=new RegExp(`(${o})`,"gi");return e.split(a).map(i=>({chunk:i,highlighted:a.test(i)})).filter(({chunk:i})=>i)}const Js=eo((e,r)=>{const{unstyled:n,children:o,highlight:a,highlightStyles:i,color:l,...s}=Le("Highlight",null,e),c=Uze(o,a);return y.jsx(pt,{unstyled:n,ref:r,...s,__staticSelector:"Highlight",children:c.map(({chunk:u,highlighted:d},p)=>d?y.jsx(w7,{unstyled:n,color:l,style:i,"data-highlight":u,children:u},p):y.jsx("span",{children:u},p))})});Js.classes=pt.classes,Js.displayName="@mantine/core/Highlight";const[Vze,DW]=ii("HoverCard component was not found in the tree"),PW=S.createContext(!1),Yze=PW.Provider,k7=()=>S.useContext(PW);function _7(e){const{children:r,onMouseEnter:n,onMouseLeave:o,...a}=Le("HoverCardDropdown",null,e),i=DW();if(k7()&&i.getFloatingProps&&i.floating){const c=i.getFloatingProps();return y.jsx(br.Dropdown,{ref:i.floating,...c,onMouseEnter:En(n,c.onMouseEnter),onMouseLeave:En(o,c.onMouseLeave),...a,children:r})}const l=En(n,i.openDropdown),s=En(o,i.closeDropdown);return y.jsx(br.Dropdown,{onMouseEnter:l,onMouseLeave:s,...a,children:r})}_7.displayName="@mantine/core/HoverCardDropdown";const Wze={openDelay:0,closeDelay:0};function E7(e){const{openDelay:r,closeDelay:n,children:o}=Le("HoverCardGroup",Wze,e);return y.jsx(Yze,{value:!0,children:y.jsx(gY,{delay:{open:r,close:n},children:o})})}E7.displayName="@mantine/core/HoverCardGroup",E7.extend=e=>e;const Gze={refProp:"ref"},S7=S.forwardRef((e,r)=>{const{children:n,refProp:o,eventPropsWrapperName:a,...i}=Le("HoverCardTarget",Gze,e);if(!el(n))throw new Error("HoverCard.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const l=DW();if(k7()&&l.getReferenceProps&&l.reference){const d=l.getReferenceProps();return y.jsx(br.Target,{refProp:o,ref:r,...i,children:S.cloneElement(n,a?{[a]:{...d,ref:l.reference}}:{...d,ref:l.reference})})}const s=En(n.props.onMouseEnter,l.openDropdown),c=En(n.props.onMouseLeave,l.closeDropdown),u={onMouseEnter:s,onMouseLeave:c};return y.jsx(br.Target,{refProp:o,ref:r,...i,children:S.cloneElement(n,a?{[a]:u}:u)})});S7.displayName="@mantine/core/HoverCardTarget";function Xze(e){const[r,n]=S.useState(e.defaultOpened),o=typeof e.opened=="boolean"?e.opened:r,a=k7(),i=Aa(),l=S.useRef(-1),s=S.useRef(-1),c=S.useCallback(()=>{window.clearTimeout(l.current),window.clearTimeout(s.current)},[]),u=S.useCallback(C=>{n(C),C?(g(i),e.onOpen?.()):e.onClose?.()},[i,e.onOpen,e.onClose]),{context:d,refs:p}=Ew({open:o,onOpenChange:u}),{delay:f,setCurrentId:g}=yY(d,{id:i}),{getReferenceProps:b,getFloatingProps:x}=xY([fY(d,{enabled:!0,delay:a?f:{open:e.openDelay,close:e.closeDelay}}),wY(d,{role:"dialog"}),vY(d,{enabled:a})]),w=S.useCallback(()=>{a||(c(),e.openDelay===0||e.openDelay===void 0?u(!0):l.current=window.setTimeout(()=>u(!0),e.openDelay))},[a,c,e.openDelay,u]),k=S.useCallback(()=>{a||(c(),e.closeDelay===0||e.closeDelay===void 0?u(!1):s.current=window.setTimeout(()=>u(!1),e.closeDelay))},[a,c,e.closeDelay,u]);return S.useEffect(()=>()=>c(),[c]),{opened:o,reference:p.setReference,floating:p.setFloating,getReferenceProps:b,getFloatingProps:x,openDropdown:w,closeDropdown:k}}const Kze={openDelay:0,closeDelay:150,initiallyOpened:!1};function Uf(e){const{children:r,onOpen:n,onClose:o,openDelay:a,closeDelay:i,initiallyOpened:l,...s}=Le("HoverCard",Kze,e),c=Xze({openDelay:a,closeDelay:i,defaultOpened:l,onOpen:n,onClose:o});return y.jsx(Vze,{value:{openDropdown:c.openDropdown,closeDropdown:c.closeDropdown,getReferenceProps:c.getReferenceProps,getFloatingProps:c.getFloatingProps,reference:c.reference,floating:c.floating},children:y.jsx(br,{...s,opened:c.opened,__staticSelector:"HoverCard",children:r})})}Uf.displayName="@mantine/core/HoverCard",Uf.Target=S7,Uf.Dropdown=_7,Uf.Group=E7,Uf.extend=e=>e;var Zze=S.useLayoutEffect;const[Qze,Su]=ii("Menu component was not found in the tree");var Cu={dropdown:"m_dc9b7c9f",label:"m_9bfac126",divider:"m_efdf90cb",item:"m_99ac2aa1",itemLabel:"m_5476e0d3",itemSection:"m_8b75e504",chevron:"m_b85b0bed"};const C7=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,...s}=Le("MenuDivider",null,e),c=Su();return y.jsx(Se,{ref:r,...c.getStyles("divider",{className:o,style:a,styles:i,classNames:n}),...s})});C7.classes=Cu,C7.displayName="@mantine/core/MenuDivider";const Z0=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,onMouseEnter:s,onMouseLeave:c,onKeyDown:u,children:d,...p}=Le("MenuDropdown",null,e),f=S.useRef(null),g=Su(),b=En(u,k=>{(k.key==="ArrowUp"||k.key==="ArrowDown")&&(k.preventDefault(),f.current?.querySelectorAll("[data-menu-item]:not(:disabled)")[0]?.focus())}),x=En(s,()=>(g.trigger==="hover"||g.trigger==="click-hover")&&g.openDropdown()),w=En(c,()=>(g.trigger==="hover"||g.trigger==="click-hover")&&g.closeDropdown());return y.jsxs(br.Dropdown,{...p,onMouseEnter:x,onMouseLeave:w,role:"menu","aria-orientation":"vertical",ref:Mr(r,f),...g.getStyles("dropdown",{className:o,style:a,styles:i,classNames:n,withStaticClass:!1}),tabIndex:-1,"data-menu-dropdown":!0,onKeyDown:b,children:[g.withInitialFocusPlaceholder&&y.jsx("div",{tabIndex:-1,"data-autofocus":!0,"data-mantine-stop-propagation":!0,style:{outline:0}}),d]})});Z0.classes=Cu,Z0.displayName="@mantine/core/MenuDropdown";const[Jze,Uw]=I0(),Q0=eo((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,color:s,closeMenuOnClick:c,leftSection:u,rightSection:d,children:p,disabled:f,"data-disabled":g,...b}=Le("MenuItem",null,e),x=Su(),w=Uw(),k=mo(),{dir:C}=wu(),_=S.useRef(null),T=b,R=En(T.onClick,()=>{g||(typeof c=="boolean"?c&&x.closeDropdownImmediately():x.closeOnItemClick&&x.closeDropdownImmediately())}),A=s?k.variantColorResolver({color:s,theme:k,variant:"light"}):void 0,D=s?xu({color:s,theme:k}):null,N=En(T.onKeyDown,$=>{$.key==="ArrowLeft"&&w&&(w.close(),w.focusParentItem())});return y.jsxs(Ar,{onMouseDown:$=>$.preventDefault(),...b,unstyled:x.unstyled,tabIndex:x.menuItemTabIndex,...x.getStyles("item",{className:o,style:a,styles:i,classNames:n}),ref:Mr(_,r),role:"menuitem",disabled:f,"data-menu-item":!0,"data-disabled":f||g||void 0,"data-mantine-stop-propagation":!0,onClick:R,onKeyDown:z0({siblingSelector:"[data-menu-item]:not([data-disabled])",parentSelector:"[data-menu-dropdown]",activateOnFocus:!1,loop:x.loop,dir:C,orientation:"vertical",onKeyDown:N}),__vars:{"--menu-item-color":D?.isThemeColor&&D?.shade===void 0?`var(--mantine-color-${D.color}-6)`:A?.color,"--menu-item-hover":A?.hover},children:[u&&y.jsx("div",{...x.getStyles("itemSection",{styles:i,classNames:n}),"data-position":"left",children:u}),p&&y.jsx("div",{...x.getStyles("itemLabel",{styles:i,classNames:n}),children:p}),d&&y.jsx("div",{...x.getStyles("itemSection",{styles:i,classNames:n}),"data-position":"right",children:d})]})});Q0.classes=Cu,Q0.displayName="@mantine/core/MenuItem";const T7=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,...s}=Le("MenuLabel",null,e),c=Su();return y.jsx(Se,{ref:r,...c.getStyles("label",{className:o,style:a,styles:i,classNames:n}),...s})});T7.classes=Cu,T7.displayName="@mantine/core/MenuLabel";const R7=lt((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,onMouseEnter:s,onMouseLeave:c,onKeyDown:u,children:d,...p}=Le("MenuSubDropdown",null,e),f=S.useRef(null),g=Su(),b=Uw(),x=En(s,b?.open),w=En(c,b?.close);return y.jsx(br.Dropdown,{...p,onMouseEnter:x,onMouseLeave:w,role:"menu","aria-orientation":"vertical",ref:Mr(r,f),...g.getStyles("dropdown",{className:o,style:a,styles:i,classNames:n,withStaticClass:!1}),tabIndex:-1,"data-menu-dropdown":!0,children:d})});R7.classes=Cu,R7.displayName="@mantine/core/MenuSubDropdown";const A7=eo((e,r)=>{const{classNames:n,className:o,style:a,styles:i,vars:l,color:s,leftSection:c,rightSection:u,children:d,disabled:p,"data-disabled":f,closeMenuOnClick:g,...b}=Le("MenuSubItem",null,e),x=Su(),w=Uw(),k=mo(),{dir:C}=wu(),_=S.useRef(null),T=b,R=s?k.variantColorResolver({color:s,theme:k,variant:"light"}):void 0,A=s?xu({color:s,theme:k}):null,D=En(T.onKeyDown,j=>{j.key==="ArrowRight"&&(w?.open(),w?.focusFirstItem()),j.key==="ArrowLeft"&&w?.parentContext&&(w.parentContext.close(),w.parentContext.focusParentItem())}),N=En(T.onClick,()=>{!f&&g&&x.closeDropdownImmediately()}),$=En(T.onMouseEnter,w?.open),O=En(T.onMouseLeave,w?.close);return y.jsxs(Ar,{onMouseDown:j=>j.preventDefault(),...b,unstyled:x.unstyled,tabIndex:x.menuItemTabIndex,...x.getStyles("item",{className:o,style:a,styles:i,classNames:n}),ref:Mr(_,r),role:"menuitem",disabled:p,"data-menu-item":!0,"data-sub-menu-item":!0,"data-disabled":p||f||void 0,"data-mantine-stop-propagation":!0,onMouseEnter:$,onMouseLeave:O,onClick:N,onKeyDown:z0({siblingSelector:"[data-menu-item]:not([data-disabled])",parentSelector:"[data-menu-dropdown]",activateOnFocus:!1,loop:x.loop,dir:C,orientation:"vertical",onKeyDown:D}),__vars:{"--menu-item-color":A?.isThemeColor&&A?.shade===void 0?`var(--mantine-color-${A.color}-6)`:R?.color,"--menu-item-hover":R?.hover},children:[c&&y.jsx("div",{...x.getStyles("itemSection",{styles:i,classNames:n}),"data-position":"left",children:c}),d&&y.jsx("div",{...x.getStyles("itemLabel",{styles:i,classNames:n}),children:d}),y.jsx("div",{...x.getStyles("itemSection",{styles:i,classNames:n}),"data-position":"right",children:u||y.jsx(l7,{...x.getStyles("chevron"),size:14})})]})});A7.classes=Cu,A7.displayName="@mantine/core/MenuSubItem";function $W({children:e,refProp:r}){if(!el(e))throw new Error("Menu.Sub.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");return Su(),y.jsx(br.Target,{refProp:r,popupType:"menu",children:e})}$W.displayName="@mantine/core/MenuSubTarget";const eLe={offset:0,position:"right-start",transitionProps:{duration:0},middlewares:{shift:{crossAxis:!0}}};function Vf(e){const{children:r,closeDelay:n,...o}=Le("MenuSub",eLe,e),a=Aa(),[i,{open:l,close:s}]=r$e(!1),c=Uw(),{openDropdown:u,closeDropdown:d}=oW({open:l,close:s,closeDelay:n,openDelay:0});return y.jsx(Jze,{value:{opened:i,close:d,open:u,focusFirstItem:()=>window.setTimeout(()=>{document.getElementById(`${a}-dropdown`)?.querySelectorAll("[data-menu-item]:not([data-disabled])")[0]?.focus()},16),focusParentItem:()=>window.setTimeout(()=>{document.getElementById(`${a}-target`)?.focus()},16),parentContext:c},children:y.jsx(br,{opened:i,withinPortal:!1,withArrow:!1,id:a,...o,children:r})})}Vf.extend=e=>e,Vf.displayName="@mantine/core/MenuSub",Vf.Target=$W,Vf.Dropdown=R7,Vf.Item=A7;const tLe={refProp:"ref"},Vw=S.forwardRef((e,r)=>{const{children:n,refProp:o,...a}=Le("MenuTarget",tLe,e);if(!el(n))throw new Error("Menu.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const i=Su(),l=n.props,s=En(l.onClick,()=>{i.trigger==="click"?i.toggleDropdown():i.trigger==="click-hover"&&(i.setOpenedViaClick(!0),i.opened||i.openDropdown())}),c=En(l.onMouseEnter,()=>(i.trigger==="hover"||i.trigger==="click-hover")&&i.openDropdown()),u=En(l.onMouseLeave,()=>{(i.trigger==="hover"||i.trigger==="click-hover"&&!i.openedViaClick)&&i.closeDropdown()});return y.jsx(br.Target,{refProp:o,popupType:"menu",ref:r,...a,children:S.cloneElement(n,{onClick:s,onMouseEnter:c,onMouseLeave:u,"data-expanded":i.opened?!0:void 0})})});Vw.displayName="@mantine/core/MenuTarget";const rLe={trapFocus:!0,closeOnItemClick:!0,withInitialFocusPlaceholder:!0,clickOutsideEvents:["mousedown","touchstart","keydown"],loop:!0,trigger:"click",openDelay:0,closeDelay:100,menuItemTabIndex:-1};function go(e){const r=Le("Menu",rLe,e),{children:n,onOpen:o,onClose:a,opened:i,defaultOpened:l,trapFocus:s,onChange:c,closeOnItemClick:u,loop:d,closeOnEscape:p,trigger:f,openDelay:g,closeDelay:b,classNames:x,styles:w,unstyled:k,variant:C,vars:_,menuItemTabIndex:T,keepMounted:R,withInitialFocusPlaceholder:A,attributes:D,...N}=r,$=wt({name:"Menu",classes:Cu,props:r,classNames:x,styles:w,unstyled:k,attributes:D}),[O,j]=Ys({value:i,defaultValue:l,finalValue:!1,onChange:c}),[L,Y]=S.useState(!1),M=()=>{j(!1),Y(!1),O&&a?.()},q=()=>{j(!0),!O&&o?.()},z=()=>{O?M():q()},{openDropdown:H,closeDropdown:U}=oW({open:q,close:M,closeDelay:b,openDelay:g}),K=Z=>CPe("[data-menu-item]","[data-menu-dropdown]",Z),{resolvedClassNames:V,resolvedStyles:X}=_9({classNames:x,styles:w,props:r});return y.jsx(Qze,{value:{getStyles:$,opened:O,toggleDropdown:z,getItemIndex:K,openedViaClick:L,setOpenedViaClick:Y,closeOnItemClick:u,closeDropdown:f==="click"?M:U,openDropdown:f==="click"?q:H,closeDropdownImmediately:M,loop:d,trigger:f,unstyled:k,menuItemTabIndex:T,withInitialFocusPlaceholder:A},children:y.jsx(br,{...N,opened:O,onChange:z,defaultOpened:l,trapFocus:R?!1:s,closeOnEscape:p,__staticSelector:"Menu",classNames:V,styles:X,unstyled:k,variant:C,keepMounted:R,children:n})})}go.extend=e=>e,go.withProps=vMe(go),go.classes=Cu,go.displayName="@mantine/core/Menu",go.Item=Q0,go.Label=T7,go.Dropdown=Z0,go.Target=Vw,go.Divider=C7,go.Sub=Vf;const[p_t,MW]=I0(),[nLe,oLe]=I0();var Yw={root:"m_7cda1cd6","root--default":"m_44da308b","root--contrast":"m_e3a01f8",label:"m_1e0e6180",remove:"m_ae386778",group:"m_1dcfd90b"};const aLe=(e,{gap:r},{size:n})=>({group:{"--pg-gap":r!==void 0?dr(r):dr(n,"pg-gap")}}),N7=lt((e,r)=>{const n=Le("PillGroup",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,size:u,disabled:d,attributes:p,...f}=n,g=MW()?.size||u||void 0,b=wt({name:"PillGroup",classes:Yw,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:p,vars:c,varsResolver:aLe,stylesCtx:{size:g},rootSelector:"group"});return y.jsx(nLe,{value:{size:g,disabled:d},children:y.jsx(Se,{ref:r,size:g,...b("group"),...f})})});N7.classes=Yw,N7.displayName="@mantine/core/PillGroup";const iLe={variant:"default"},lLe=(e,{radius:r},{size:n})=>({root:{"--pill-fz":dr(n,"pill-fz"),"--pill-height":dr(n,"pill-height"),"--pill-radius":r===void 0?void 0:_n(r)}}),Ww=lt((e,r)=>{const n=Le("Pill",iLe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,variant:u,children:d,withRemoveButton:p,onRemove:f,removeButtonProps:g,radius:b,size:x,disabled:w,mod:k,attributes:C,..._}=n,T=oLe(),R=MW(),A=x||T?.size||void 0,D=R?.variant==="filled"?"contrast":u||"default",N=wt({name:"Pill",classes:Yw,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:C,vars:c,varsResolver:lLe,stylesCtx:{size:A}});return y.jsxs(Se,{component:"span",ref:r,variant:D,size:A,...N("root",{variant:D}),mod:[{"with-remove":p&&!w,disabled:w||T?.disabled},k],..._,children:[y.jsx("span",{...N("label"),children:d}),p&&y.jsx(lp,{variant:"transparent",radius:b,tabIndex:-1,"aria-hidden":!0,unstyled:s,...g,...N("remove",{className:g?.className,style:g?.style}),onMouseDown:$=>{$.preventDefault(),$.stopPropagation(),g?.onMouseDown?.($)},onClick:$=>{$.stopPropagation(),f?.(),g?.onClick?.($)}})]})});Ww.classes=Yw,Ww.displayName="@mantine/core/Pill",Ww.Group=N7;var OW={root:"m_f0824112",description:"m_57492dcc",section:"m_690090b5",label:"m_1f6ac4c4",body:"m_f07af9d2",children:"m_e17b862f",chevron:"m_1fd8a00b"};const sLe=(e,{variant:r,color:n,childrenOffset:o,autoContrast:a})=>{const i=e.variantColorResolver({color:n||e.primaryColor,theme:e,variant:r||"light",autoContrast:a});return{root:{"--nl-bg":n||r?i.background:void 0,"--nl-hover":n||r?i.hover:void 0,"--nl-color":n||r?i.color:void 0},children:{"--nl-offset":Vs(o)}}},D7=eo((e,r)=>{const n=Le("NavLink",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,opened:u,defaultOpened:d,onChange:p,children:f,active:g,disabled:b,leftSection:x,rightSection:w,label:k,description:C,disableRightSectionRotation:_,noWrap:T,childrenOffset:R,autoContrast:A,mod:D,attributes:N,onClick:$,onKeyDown:O,...j}=n,L=wt({name:"NavLink",props:n,classes:OW,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:N,vars:c,varsResolver:sLe}),[Y,M]=Ys({value:u,defaultValue:d,finalValue:!1,onChange:p}),q=!!f,z=H=>{$?.(H),q&&(H.preventDefault(),M(!Y))};return y.jsxs(y.Fragment,{children:[y.jsxs(Ar,{...L("root"),component:"a",ref:r,onClick:z,onKeyDown:H=>{O?.(H),H.nativeEvent.code==="Space"&&q&&(H.preventDefault(),M(!Y))},unstyled:s,mod:[{disabled:b,active:g,expanded:Y},D],...j,children:[x&&y.jsx(Se,{component:"span",...L("section"),mod:{position:"left"},children:x}),y.jsxs(Se,{...L("body"),mod:{"no-wrap":T},children:[y.jsx(Se,{component:"span",...L("label"),children:k}),y.jsx(Se,{component:"span",mod:{active:g},...L("description"),children:C})]}),(q||w!==void 0)&&y.jsx(Se,{...L("section"),component:"span",mod:{rotate:Y&&!_,position:"right"},children:q?w!==void 0?w:y.jsx(l7,{...L("chevron")}):w})]}),q&&y.jsx(CV,{in:Y,...L("collapse"),children:y.jsx("div",{...L("children"),children:f})})]})});D7.classes=OW,D7.displayName="@mantine/core/NavLink";var IW={root:"m_a513464",icon:"m_a4ceffb",loader:"m_b0920b15",body:"m_a49ed24",title:"m_3feedf16",description:"m_3d733a3a",closeButton:"m_919a4d88"};const cLe={withCloseButton:!0},uLe=(e,{radius:r,color:n})=>({root:{"--notification-radius":r===void 0?void 0:_n(r),"--notification-color":n?ta(n,e):void 0}}),Gw=lt((e,r)=>{const n=Le("Notification",cLe,e),{className:o,color:a,radius:i,loading:l,withCloseButton:s,withBorder:c,title:u,icon:d,children:p,onClose:f,closeButtonProps:g,classNames:b,style:x,styles:w,unstyled:k,variant:C,vars:_,mod:T,loaderProps:R,role:A,attributes:D,...N}=n,$=wt({name:"Notification",classes:IW,props:n,className:o,style:x,classNames:b,styles:w,unstyled:k,attributes:D,vars:_,varsResolver:uLe});return y.jsxs(Se,{...$("root"),mod:[{"data-with-icon":!!d||l,"data-with-border":c},T],ref:r,variant:C,role:A||"alert",...N,children:[d&&!l&&y.jsx("div",{...$("icon"),children:d}),l&&y.jsx(jf,{size:28,color:a,...R,...$("loader")}),y.jsxs("div",{...$("body"),children:[u&&y.jsx("div",{...$("title"),children:u}),y.jsx(Se,{...$("description"),mod:{"data-with-title":!!u},children:p})]}),s&&y.jsx(lp,{iconSize:16,color:"gray",...g,unstyled:k,onClick:f,...$("closeButton")})]})});Gw.classes=IW,Gw.displayName="@mantine/core/Notification";const dLe={duration:100,transition:"fade"};function zW(e,r){return{...dLe,...r,...e}}function pLe({offset:e,position:r,defaultOpened:n}){const[o,a]=S.useState(n),i=S.useRef(null),{x:l,y:s,elements:c,refs:u,update:d,placement:p}=Ew({placement:r,middleware:[U9({crossAxis:!0,padding:5,rootBoundary:"document"})]}),f=p.includes("right")?e:r.includes("left")?e*-1:0,g=p.includes("bottom")?e:r.includes("top")?e*-1:0,b=S.useCallback(({clientX:x,clientY:w})=>{u.setPositionReference({getBoundingClientRect(){return{width:0,height:0,x,y:w,left:x+f,top:w+g,right:x,bottom:w}}})},[c.reference]);return S.useEffect(()=>{if(u.floating.current){const x=i.current;x.addEventListener("mousemove",b);const w=Xs(u.floating.current);return w.forEach(k=>{k.addEventListener("scroll",d)}),()=>{x.removeEventListener("mousemove",b),w.forEach(k=>{k.removeEventListener("scroll",d)})}}},[c.reference,u.floating.current,d,b,o]),{handleMouseMove:b,x:l,y:s,opened:o,setOpened:a,boundaryRef:i,floating:u.setFloating}}var Xw={tooltip:"m_1b3c8819",arrow:"m_f898399f"};const hLe={refProp:"ref",withinPortal:!0,offset:10,position:"right",zIndex:Kx("popover")},fLe=(e,{radius:r,color:n})=>({tooltip:{"--tooltip-radius":r===void 0?void 0:_n(r),"--tooltip-bg":n?ta(n,e):void 0,"--tooltip-color":n?"var(--mantine-color-white)":void 0}}),P7=lt((e,r)=>{const n=Le("TooltipFloating",hLe,e),{children:o,refProp:a,withinPortal:i,style:l,className:s,classNames:c,styles:u,unstyled:d,radius:p,color:f,label:g,offset:b,position:x,multiline:w,zIndex:k,disabled:C,defaultOpened:_,variant:T,vars:R,portalProps:A,attributes:D,...N}=n,$=mo(),O=wt({name:"TooltipFloating",props:n,classes:Xw,className:s,style:l,classNames:c,styles:u,unstyled:d,attributes:D,rootSelector:"tooltip",vars:R,varsResolver:fLe}),{handleMouseMove:j,x:L,y:Y,opened:M,boundaryRef:q,floating:z,setOpened:H}=pLe({offset:b,position:x,defaultOpened:_});if(!el(o))throw new Error("[@mantine/core] Tooltip.Floating component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported");const U=Mr(q,Qx(o),r),K=o.props,V=Z=>{K.onMouseEnter?.(Z),j(Z),H(!0)},X=Z=>{K.onMouseLeave?.(Z),H(!1)};return y.jsxs(y.Fragment,{children:[y.jsx(Bf,{...A,withinPortal:i,children:y.jsx(Se,{...N,...O("tooltip",{style:{...R9(l,$),zIndex:k,display:!C&&M?"block":"none",top:(Y&&Math.round(Y))??"",left:(L&&Math.round(L))??""}}),variant:T,ref:z,mod:{multiline:w},children:g})}),S.cloneElement(o,{...K,[a]:U,onMouseEnter:V,onMouseLeave:X})]})});P7.classes=Xw,P7.displayName="@mantine/core/TooltipFloating";const LW=S.createContext(!1),mLe=LW.Provider,gLe=()=>S.useContext(LW),yLe={openDelay:0,closeDelay:0};function cp(e){const{openDelay:r,closeDelay:n,children:o}=Le("TooltipGroup",yLe,e);return y.jsx(mLe,{value:!0,children:y.jsx(gY,{delay:{open:r,close:n},children:o})})}cp.displayName="@mantine/core/TooltipGroup",cp.extend=e=>e;function bLe(e){if(e===void 0)return{shift:!0,flip:!0};const r={...e};return e.shift===void 0&&(r.shift=!0),e.flip===void 0&&(r.flip=!0),r}function vLe(e){const r=bLe(e.middlewares),n=[oY(e.offset)];return r.shift&&n.push(U9(typeof r.shift=="boolean"?{padding:8}:{padding:8,...r.shift})),r.flip&&n.push(typeof r.flip=="boolean"?kw():kw(r.flip)),n.push(iY({element:e.arrowRef,padding:e.arrowOffset})),r.inline?n.push(typeof r.inline=="boolean"?U0():U0(r.inline)):e.inline&&n.push(U0()),n}function xLe(e){const[r,n]=S.useState(e.defaultOpened),o=typeof e.opened=="boolean"?e.opened:r,a=gLe(),i=Aa(),l=S.useCallback(T=>{n(T),T&&w(i)},[i]),{x:s,y:c,context:u,refs:d,placement:p,middlewareData:{arrow:{x:f,y:g}={}}}=Ew({strategy:e.strategy,placement:e.position,open:o,onOpenChange:l,middleware:vLe(e),whileElementsMounted:vw}),{delay:b,currentId:x,setCurrentId:w}=yY(u,{id:i}),{getReferenceProps:k,getFloatingProps:C}=xY([fY(u,{enabled:e.events?.hover,delay:a?b:{open:e.openDelay,close:e.closeDelay},mouseOnly:!e.events?.touch}),nIe(u,{enabled:e.events?.focus,visibleOnly:!0}),wY(u,{role:"tooltip"}),vY(u,{enabled:typeof e.opened>"u"})]);rp(()=>{e.onPositionChange?.(p)},[p]);const _=o&&x&&x!==i;return{x:s,y:c,arrowX:f,arrowY:g,reference:d.setReference,floating:d.setFloating,getFloatingProps:C,getReferenceProps:k,isGroupPhase:_,opened:o,placement:p}}const BW={position:"top",refProp:"ref",withinPortal:!0,arrowSize:4,arrowOffset:5,arrowRadius:0,arrowPosition:"side",offset:5,transitionProps:{duration:100,transition:"fade"},events:{hover:!0,focus:!1,touch:!1},zIndex:Kx("popover"),positionDependencies:[],middlewares:{flip:!0,shift:!0,inline:!1}},wLe=(e,{radius:r,color:n,variant:o,autoContrast:a})=>{const i=e.variantColorResolver({theme:e,color:n||e.primaryColor,autoContrast:a,variant:o||"filled"});return{tooltip:{"--tooltip-radius":r===void 0?void 0:_n(r),"--tooltip-bg":n?i.background:void 0,"--tooltip-color":n?i.color:void 0}}},no=lt((e,r)=>{const n=Le("Tooltip",BW,e),{children:o,position:a,refProp:i,label:l,openDelay:s,closeDelay:c,onPositionChange:u,opened:d,defaultOpened:p,withinPortal:f,radius:g,color:b,classNames:x,styles:w,unstyled:k,style:C,className:_,withArrow:T,arrowSize:R,arrowOffset:A,arrowRadius:D,arrowPosition:N,offset:$,transitionProps:O,multiline:j,events:L,zIndex:Y,disabled:M,positionDependencies:q,onClick:z,onMouseEnter:H,onMouseLeave:U,inline:K,variant:V,keepMounted:X,vars:Z,portalProps:B,mod:W,floatingStrategy:Q,middlewares:J,autoContrast:ne,attributes:te,target:ee,...pe}=Le("Tooltip",BW,n),{dir:Te}=wu(),ce=S.useRef(null),de=xLe({position:jY(Te,a),closeDelay:c,openDelay:s,onPositionChange:u,opened:d,defaultOpened:p,events:L,arrowRef:ce,arrowOffset:A,offset:typeof $=="number"?$+(T?R/2:0):$,positionDependencies:[...q,ee??o],inline:K,strategy:Q,middlewares:J});S.useEffect(()=>{const Ze=ee instanceof HTMLElement?ee:typeof ee=="string"?document.querySelector(ee):ee?.current||null;Ze&&de.reference(Ze)},[ee,de]);const xe=wt({name:"Tooltip",props:n,classes:Xw,className:_,style:C,classNames:x,styles:w,unstyled:k,attributes:te,rootSelector:"tooltip",vars:Z,varsResolver:wLe});if(!ee&&!el(o))return null;if(ee){const Ze=zW(O,{duration:100,transition:"fade"});return y.jsx(y.Fragment,{children:y.jsx(Bf,{...B,withinPortal:f,children:y.jsx(_u,{...Ze,keepMounted:X,mounted:!M&&!!de.opened,duration:de.isGroupPhase?10:Ze.duration,children:Et=>y.jsxs(Se,{...pe,"data-fixed":Q==="fixed"||void 0,variant:V,mod:[{multiline:j},W],...de.getFloatingProps({ref:de.floating,className:xe("tooltip").className,style:{...xe("tooltip").style,...Et,zIndex:Y,top:de.y??0,left:de.x??0}}),children:[l,y.jsx(Rw,{ref:ce,arrowX:de.arrowX,arrowY:de.arrowY,visible:T,position:de.placement,arrowSize:R,arrowOffset:A,arrowRadius:D,arrowPosition:N,...xe("arrow")})]})})})})}const De=o,Ge=De.props,et=Mr(de.reference,Qx(De),r),ft=zW(O,{duration:100,transition:"fade"});return y.jsxs(y.Fragment,{children:[y.jsx(Bf,{...B,withinPortal:f,children:y.jsx(_u,{...ft,keepMounted:X,mounted:!M&&!!de.opened,duration:de.isGroupPhase?10:ft.duration,children:Ze=>y.jsxs(Se,{...pe,"data-fixed":Q==="fixed"||void 0,variant:V,mod:[{multiline:j},W],...de.getFloatingProps({ref:de.floating,className:xe("tooltip").className,style:{...xe("tooltip").style,...Ze,zIndex:Y,top:de.y??0,left:de.x??0}}),children:[l,y.jsx(Rw,{ref:ce,arrowX:de.arrowX,arrowY:de.arrowY,visible:T,position:de.placement,arrowSize:R,arrowOffset:A,arrowRadius:D,arrowPosition:N,...xe("arrow")})]})})}),S.cloneElement(De,de.getReferenceProps({onClick:z,onMouseEnter:H,onMouseLeave:U,onMouseMove:n.onMouseMove,onPointerDown:n.onPointerDown,onPointerEnter:n.onPointerEnter,className:tl(_,Ge.className),...Ge,[i]:et}))]})});no.classes=Xw,no.displayName="@mantine/core/Tooltip",no.Floating=P7,no.Group=cp;var jW={root:"m_cf365364",indicator:"m_9e182ccd",label:"m_1738fcb2",input:"m_1714d588",control:"m_69686b9b",innerLabel:"m_78882f40"};const kLe={withItemsBorders:!0},_Le=(e,{radius:r,color:n,transitionDuration:o,size:a,transitionTimingFunction:i})=>({root:{"--sc-radius":r===void 0?void 0:_n(r),"--sc-color":n?ta(n,e):void 0,"--sc-shadow":n?void 0:"var(--mantine-shadow-xs)","--sc-transition-duration":o===void 0?void 0:`${o}ms`,"--sc-transition-timing-function":i,"--sc-padding":dr(a,"sc-padding"),"--sc-font-size":Po(a)}}),J0=lt((e,r)=>{const n=Le("SegmentedControl",kLe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,data:u,value:d,defaultValue:p,onChange:f,size:g,name:b,disabled:x,readOnly:w,fullWidth:k,orientation:C,radius:_,color:T,transitionDuration:R,transitionTimingFunction:A,variant:D,autoContrast:N,withItemsBorders:$,mod:O,attributes:j,...L}=n,Y=wt({name:"SegmentedControl",props:n,classes:jW,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:j,vars:c,varsResolver:_Le}),M=mo(),q=u.map(ee=>typeof ee=="string"?{label:ee,value:ee}:ee),z=a$e(),[H,U]=S.useState(i9()),[K,V]=S.useState(null),[X,Z]=S.useState({}),B=(ee,pe)=>{X[pe]=ee,Z(X)},[W,Q]=Ys({value:d,defaultValue:p,finalValue:Array.isArray(u)?q.find(ee=>!ee.disabled)?.value??u[0]?.value??null:null,onChange:f}),J=Aa(b),ne=q.map(ee=>S.createElement(Se,{...Y("control"),mod:{active:W===ee.value,orientation:C},key:ee.value},S.createElement("input",{...Y("input"),disabled:x||ee.disabled,type:"radio",name:J,value:ee.value,id:`${J}-${ee.value}`,checked:W===ee.value,onChange:()=>!w&&Q(ee.value),"data-focus-ring":M.focusRing,key:`${ee.value}-input`}),S.createElement(Se,{component:"label",...Y("label"),mod:{active:W===ee.value&&!(x||ee.disabled),disabled:x||ee.disabled,"read-only":w},htmlFor:`${J}-${ee.value}`,ref:pe=>B(pe,ee.value),__vars:{"--sc-label-color":T!==void 0?x9({color:T,theme:M,autoContrast:N}):void 0},key:`${ee.value}-label`},y.jsx("span",{...Y("innerLabel"),children:ee.label})))),te=Mr(r,ee=>V(ee));return XPe(()=>{U(i9())},[u.length]),u.length===0?null:y.jsxs(Se,{...Y("root"),variant:D,size:g,ref:te,mod:[{"full-width":k,orientation:C,initialized:z,"with-items-borders":$},O],...L,role:"radiogroup","data-disabled":x,children:[typeof W=="string"&&y.jsx(Iw,{target:X[W],parent:K,component:"span",transitionDuration:"var(--sc-transition-duration)",...Y("indicator")},H),ne]})});J0.classes=jW,J0.displayName="@mantine/core/SegmentedControl";const[ELe,Kw]=ii("SliderProvider was not found in tree"),FW=S.forwardRef(({size:e,disabled:r,variant:n,color:o,thumbSize:a,radius:i,...l},s)=>{const{getStyles:c}=Kw();return y.jsx(Se,{tabIndex:-1,variant:n,size:e,ref:s,...c("root"),...l})});FW.displayName="@mantine/core/SliderRoot";const HW=S.forwardRef(({max:e,min:r,value:n,position:o,label:a,dragging:i,onMouseDown:l,onKeyDownCapture:s,labelTransitionProps:c,labelAlwaysOn:u,thumbLabel:d,onFocus:p,onBlur:f,showLabelOnHover:g,isHovered:b,children:x=null,disabled:w},k)=>{const{getStyles:C}=Kw(),[_,T]=S.useState(!1),R=u||i||_||g&&b;return y.jsxs(Se,{tabIndex:0,role:"slider","aria-label":d,"aria-valuemax":e,"aria-valuemin":r,"aria-valuenow":n,ref:k,__vars:{"--slider-thumb-offset":`${o}%`},...C("thumb",{focusable:!0}),mod:{dragging:i,disabled:w},onFocus:A=>{T(!0),typeof p=="function"&&p(A)},onBlur:A=>{T(!1),typeof f=="function"&&f(A)},onTouchStart:l,onMouseDown:l,onKeyDownCapture:s,onClick:A=>A.stopPropagation(),children:[x,y.jsx(_u,{mounted:a!=null&&!!R,transition:"fade",duration:0,...c,children:A=>y.jsx("div",{...C("label",{style:A}),children:a})})]})});HW.displayName="@mantine/core/SliderThumb";function qW({value:e,min:r,max:n}){const o=(e-r)/(n-r)*100;return Math.min(Math.max(o,0),100)}function SLe({mark:e,offset:r,value:n,inverted:o=!1}){return o?typeof r=="number"&&e.value<=r||e.value>=n:typeof r=="number"?e.value>=r&&e.value<=n:e.value<=n}function UW({marks:e,min:r,max:n,disabled:o,value:a,offset:i,inverted:l}){const{getStyles:s}=Kw();if(!e)return null;const c=e.map((u,d)=>S.createElement(Se,{...s("markWrapper"),__vars:{"--mark-offset":`${qW({value:u.value,min:r,max:n})}%`},key:d},y.jsx(Se,{...s("mark"),mod:{filled:SLe({mark:u,value:a,offset:i,inverted:l}),disabled:o}}),u.label&&y.jsx("div",{...s("markLabel"),children:u.label})));return y.jsx("div",{children:c})}UW.displayName="@mantine/core/SliderMarks";function VW({filled:e,children:r,offset:n,disabled:o,marksOffset:a,inverted:i,containerProps:l,...s}){const{getStyles:c}=Kw();return y.jsx(Se,{...c("trackContainer"),mod:{disabled:o},...l,children:y.jsxs(Se,{...c("track"),mod:{inverted:i,disabled:o},children:[y.jsx(Se,{mod:{inverted:i,disabled:o},__vars:{"--slider-bar-width":`calc(${e}% + 2 * var(--slider-size))`,"--slider-bar-offset":`calc(${n}% - var(--slider-size))`},...c("bar")}),r,y.jsx(UW,{...s,offset:a,disabled:o,inverted:i})]})})}VW.displayName="@mantine/core/SliderTrack";function CLe({value:e,containerWidth:r,min:n,max:o,step:a,precision:i}){const l=(r?Math.min(Math.max(e,0),r)/r:e)*(o-n),s=(l!==0?Math.round(l/a)*a:0)+n,c=Math.max(s,n);return i!==void 0?Number(c.toFixed(i)):c}function Zw(e,r){return parseFloat(e.toFixed(r))}function TLe(e){if(!e)return 0;const r=e.toString().split(".");return r.length>1?r[1].length:0}function $7(e,r){const n=[...r].sort((o,a)=>o.value-a.value).find(o=>o.value>e);return n?n.value:e}function M7(e,r){const n=[...r].sort((o,a)=>a.value-o.value).find(o=>o.valuen.value-o.value);return r.length>0?r[0].value:0}function WW(e){const r=[...e].sort((n,o)=>n.value-o.value);return r.length>0?r[r.length-1].value:100}var GW={root:"m_dd36362e",label:"m_c9357328",thumb:"m_c9a9a60a",trackContainer:"m_a8645c2",track:"m_c9ade57f",bar:"m_38aeed47",markWrapper:"m_b7b0423a",mark:"m_dd33bc19",markLabel:"m_68c77a5b"};const RLe={radius:"xl",min:0,max:100,step:1,marks:[],label:e=>e,labelTransitionProps:{transition:"fade",duration:0},thumbLabel:"",showLabelOnHover:!0,scale:e=>e,size:"md"},ALe=(e,{size:r,color:n,thumbSize:o,radius:a})=>({root:{"--slider-size":dr(r,"slider-size"),"--slider-color":n?ta(n,e):void 0,"--slider-radius":a===void 0?void 0:_n(a),"--slider-thumb-size":o!==void 0?Ae(o):"calc(var(--slider-size) * 2)"}}),O7=lt((e,r)=>{const n=Le("Slider",RLe,e),{classNames:o,styles:a,value:i,onChange:l,onChangeEnd:s,size:c,min:u,max:d,domain:p,step:f,precision:g,defaultValue:b,name:x,marks:w,label:k,labelTransitionProps:C,labelAlwaysOn:_,thumbLabel:T,showLabelOnHover:R,thumbChildren:A,disabled:D,unstyled:N,scale:$,inverted:O,className:j,style:L,vars:Y,hiddenInputProps:M,restrictToMarks:q,thumbProps:z,attributes:H,...U}=n,K=wt({name:"Slider",props:n,classes:GW,classNames:o,className:j,styles:a,style:L,attributes:H,vars:Y,varsResolver:ALe,unstyled:N}),{dir:V}=wu(),[X,Z]=S.useState(!1),[B,W]=Ys({value:typeof i=="number"?bu(i,u,d):i,defaultValue:typeof b=="number"?bu(b,u,d):b,finalValue:bu(0,u,d),onChange:l}),Q=S.useRef(B),J=S.useRef(s);S.useEffect(()=>{J.current=s},[s]);const ne=S.useRef(null),te=S.useRef(null),[ee,pe]=p||[u,d],Te=qW({value:B,min:ee,max:pe}),ce=$(B),de=typeof k=="function"?k(ce):k,xe=g??TLe(f),De=S.useCallback(({x:Xe})=>{if(!D){const We=CLe({value:Xe,min:ee,max:pe,step:f,precision:xe}),st=bu(We,u,d);W(q&&w?.length?aV(st,w.map(ct=>ct.value)):st),Q.current=st}},[D,u,d,ee,pe,f,xe,W,w,q]),Ge=S.useCallback(()=>{if(!D&&J.current){const Xe=q&&w?.length?aV(Q.current,w.map(We=>We.value)):Q.current;J.current(Xe)}},[D,w,q]),{ref:et,active:ft}=ZU(De,{onScrubEnd:Ge},V),Ze=S.useCallback(Xe=>{!D&&J.current&&J.current(Xe)},[D]),Et=Xe=>{if(!D)switch(Xe.key){case"ArrowUp":{if(Xe.preventDefault(),te.current?.focus(),q&&w){const st=$7(B,w);W(st),Ze(st);break}const We=Zw(Math.min(Math.max(B+f,u),d),xe);W(We),Ze(We);break}case"ArrowRight":{if(Xe.preventDefault(),te.current?.focus(),q&&w){const st=V==="rtl"?M7(B,w):$7(B,w);W(st),Ze(st);break}const We=Zw(Math.min(Math.max(V==="rtl"?B-f:B+f,u),d),xe);W(We),Ze(We);break}case"ArrowDown":{if(Xe.preventDefault(),te.current?.focus(),q&&w){const st=M7(B,w);W(st),Ze(st);break}const We=Zw(Math.min(Math.max(B-f,u),d),xe);W(We),Ze(We);break}case"ArrowLeft":{if(Xe.preventDefault(),te.current?.focus(),q&&w){const st=V==="rtl"?$7(B,w):M7(B,w);W(st),Ze(st);break}const We=Zw(Math.min(Math.max(V==="rtl"?B+f:B-f,u),d),xe);W(We),Ze(We);break}case"Home":{if(Xe.preventDefault(),te.current?.focus(),q&&w){W(YW(w)),Ze(YW(w));break}W(u),Ze(u);break}case"End":{if(Xe.preventDefault(),te.current?.focus(),q&&w){W(WW(w)),Ze(WW(w));break}W(d),Ze(d);break}}};return y.jsx(ELe,{value:{getStyles:K},children:y.jsxs(FW,{...U,ref:Mr(r,ne),onKeyDownCapture:Et,onMouseDownCapture:()=>ne.current?.focus(),size:c,disabled:D,children:[y.jsx(VW,{inverted:O,offset:0,filled:Te,marks:w,min:ee,max:pe,value:ce,disabled:D,containerProps:{ref:et,onMouseEnter:R?()=>Z(!0):void 0,onMouseLeave:R?()=>Z(!1):void 0},children:y.jsx(HW,{max:pe,min:ee,value:ce,position:Te,dragging:ft,label:de,ref:te,labelTransitionProps:C,labelAlwaysOn:_,thumbLabel:T,showLabelOnHover:R,isHovered:X,disabled:D,...z,children:A})}),y.jsx("input",{type:"hidden",name:x,value:ce,...M})]})})});O7.classes=GW,O7.displayName="@mantine/core/Slider";const I7=lt((e,r)=>{const{w:n,h:o,miw:a,mih:i,...l}=Le("Space",null,e);return y.jsx(Se,{ref:r,...l,w:n,miw:a??n,h:o,mih:i??o})});I7.displayName="@mantine/core/Space";var XW={root:"m_6d731127"};const NLe={gap:"md",align:"stretch",justify:"flex-start"},DLe=(e,{gap:r,align:n,justify:o})=>({root:{"--stack-gap":Vs(r),"--stack-align":n,"--stack-justify":o}}),Ho=lt((e,r)=>{const n=Le("Stack",NLe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,align:u,justify:d,gap:p,variant:f,attributes:g,...b}=n,x=wt({name:"Stack",props:n,classes:XW,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:g,vars:c,varsResolver:DLe});return y.jsx(Se,{ref:r,...x("root"),variant:f,...b})});Ho.classes=XW,Ho.displayName="@mantine/core/Stack";const[PLe,z7]=ii("Tabs component was not found in the tree");var ey={root:"m_89d60db1","list--default":"m_576c9d4",list:"m_89d33d6d",tab:"m_4ec4dce6",panel:"m_b0c91715",tabSection:"m_fc420b1f",tabLabel:"m_42bbd1ae","tab--default":"m_539e827b","list--outline":"m_6772fbd5","tab--outline":"m_b59ab47c","tab--pills":"m_c3381914"};const ty=lt((e,r)=>{const n=Le("TabsList",null,e),{children:o,className:a,grow:i,justify:l,classNames:s,styles:c,style:u,mod:d,...p}=n,f=z7();return y.jsx(Se,{...p,...f.getStyles("list",{className:a,style:u,classNames:s,styles:c,props:n,variant:f.variant}),ref:r,role:"tablist",variant:f.variant,mod:[{grow:i,orientation:f.orientation,placement:f.orientation==="vertical"&&f.placement,inverted:f.inverted},d],"aria-orientation":f.orientation,__vars:{"--tabs-justify":l},children:o})});ty.classes=ey,ty.displayName="@mantine/core/TabsList";const ec=lt((e,r)=>{const n=Le("TabsPanel",null,e),{children:o,className:a,value:i,classNames:l,styles:s,style:c,mod:u,keepMounted:d,...p}=n,f=z7(),g=f.value===i,b=f.keepMounted||d||g?o:null;return y.jsx(Se,{...f.getStyles("panel",{className:a,classNames:l,styles:s,style:[c,g?void 0:{display:"none"}],props:n}),ref:r,mod:[{orientation:f.orientation},u],role:"tabpanel",id:f.getPanelId(i),"aria-labelledby":f.getTabId(i),...p,children:b})});ec.classes=ey,ec.displayName="@mantine/core/TabsPanel";const Yf=lt((e,r)=>{const n=Le("TabsTab",null,e),{className:o,children:a,rightSection:i,leftSection:l,value:s,onClick:c,onKeyDown:u,disabled:d,color:p,style:f,classNames:g,styles:b,vars:x,mod:w,tabIndex:k,...C}=n,_=mo(),{dir:T}=wu(),R=z7(),A=s===R.value,D=$=>{R.onChange(R.allowTabDeactivation&&s===R.value?null:s),c?.($)},N={classNames:g,styles:b,props:n};return y.jsxs(Ar,{...R.getStyles("tab",{className:o,style:f,variant:R.variant,...N}),disabled:d,unstyled:R.unstyled,variant:R.variant,mod:[{active:A,disabled:d,orientation:R.orientation,inverted:R.inverted,placement:R.orientation==="vertical"&&R.placement},w],ref:r,role:"tab",id:R.getTabId(s),"aria-selected":A,tabIndex:k!==void 0?k:A||R.value===null?0:-1,"aria-controls":R.getPanelId(s),onClick:D,__vars:{"--tabs-color":p?ta(p,_):void 0},onKeyDown:z0({siblingSelector:'[role="tab"]',parentSelector:'[role="tablist"]',activateOnFocus:R.activateTabWithKeyboard,loop:R.loop,orientation:R.orientation||"horizontal",dir:T,onKeyDown:u}),...C,children:[l&&y.jsx("span",{...R.getStyles("tabSection",N),"data-position":"left",children:l}),a&&y.jsx("span",{...R.getStyles("tabLabel",N),children:a}),i&&y.jsx("span",{...R.getStyles("tabSection",N),"data-position":"right",children:i})]})});Yf.classes=ey,Yf.displayName="@mantine/core/TabsTab";const KW="Tabs.Tab or Tabs.Panel component was rendered with invalid value or without value",$Le={keepMounted:!0,orientation:"horizontal",loop:!0,activateTabWithKeyboard:!0,variant:"default",placement:"left"},MLe=(e,{radius:r,color:n,autoContrast:o})=>({root:{"--tabs-radius":_n(r),"--tabs-color":ta(n,e),"--tabs-text-color":Z$e(o,e)?x9({color:n,theme:e,autoContrast:o}):void 0}}),up=lt((e,r)=>{const n=Le("Tabs",$Le,e),{defaultValue:o,value:a,onChange:i,orientation:l,children:s,loop:c,id:u,activateTabWithKeyboard:d,allowTabDeactivation:p,variant:f,color:g,radius:b,inverted:x,placement:w,keepMounted:k,classNames:C,styles:_,unstyled:T,className:R,style:A,vars:D,autoContrast:N,mod:$,attributes:O,...j}=n,L=Aa(u),[Y,M]=Ys({value:a,defaultValue:o,finalValue:null,onChange:i}),q=wt({name:"Tabs",props:n,classes:ey,className:R,style:A,classNames:C,styles:_,unstyled:T,attributes:O,vars:D,varsResolver:MLe});return y.jsx(PLe,{value:{placement:w,value:Y,orientation:l,id:L,loop:c,activateTabWithKeyboard:d,getTabId:LU(`${L}-tab`,KW),getPanelId:LU(`${L}-panel`,KW),onChange:M,allowTabDeactivation:p,variant:f,color:g,radius:b,inverted:x,keepMounted:k,unstyled:T,getStyles:q},children:y.jsx(Se,{ref:r,id:L,variant:f,mod:[{orientation:l,inverted:l==="horizontal"&&x,placement:l==="vertical"&&w},$],...q("root"),...j,children:s})})});up.classes=ey,up.displayName="@mantine/core/Tabs",up.Tab=Yf,up.Panel=ec,up.List=ty;var ZW={root:"m_7341320d"};const OLe=(e,{size:r,radius:n,variant:o,gradient:a,color:i,autoContrast:l})=>{const s=e.variantColorResolver({color:i||e.primaryColor,theme:e,gradient:a,variant:o||"filled",autoContrast:l});return{root:{"--ti-size":dr(r,"ti-size"),"--ti-radius":n===void 0?void 0:_n(n),"--ti-bg":i||o?s.background:void 0,"--ti-color":i||o?s.color:void 0,"--ti-bd":i||o?s.border:void 0}}},hi=lt((e,r)=>{const n=Le("ThemeIcon",null,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,autoContrast:u,attributes:d,...p}=n,f=wt({name:"ThemeIcon",classes:ZW,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:d,vars:c,varsResolver:OLe});return y.jsx(Se,{ref:r,...f("root"),...p})});hi.classes=ZW,hi.displayName="@mantine/core/ThemeIcon";const ILe=["h1","h2","h3","h4","h5","h6"],zLe=["xs","sm","md","lg","xl"];function LLe(e,r){const n=r!==void 0?r:`h${e}`;return ILe.includes(n)?{fontSize:`var(--mantine-${n}-font-size)`,fontWeight:`var(--mantine-${n}-font-weight)`,lineHeight:`var(--mantine-${n}-line-height)`}:zLe.includes(n)?{fontSize:`var(--mantine-font-size-${n})`,fontWeight:`var(--mantine-h${e}-font-weight)`,lineHeight:`var(--mantine-h${e}-line-height)`}:{fontSize:Ae(n),fontWeight:`var(--mantine-h${e}-font-weight)`,lineHeight:`var(--mantine-h${e}-line-height)`}}var QW={root:"m_8a5d1357"};const BLe={order:1},jLe=(e,{order:r,size:n,lineClamp:o,textWrap:a})=>{const i=LLe(r||1,n);return{root:{"--title-fw":i.fontWeight,"--title-lh":i.lineHeight,"--title-fz":i.fontSize,"--title-line-clamp":typeof o=="number"?o.toString():void 0,"--title-text-wrap":a}}},dp=lt((e,r)=>{const n=Le("Title",BLe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,order:c,vars:u,size:d,variant:p,lineClamp:f,textWrap:g,mod:b,attributes:x,...w}=n,k=wt({name:"Title",props:n,classes:QW,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:x,vars:u,varsResolver:jLe});return[1,2,3,4,5,6].includes(c)?y.jsx(Se,{...k("root"),component:`h${c}`,variant:p,ref:r,mod:[{order:c,"data-line-clamp":typeof f=="number"},b],size:d,...w}):null});dp.classes=QW,dp.displayName="@mantine/core/Title";function JW(e,r,n){if(!e||!r)return[];const o=n.indexOf(e),a=n.indexOf(r),i=Math.min(o,a),l=Math.max(o,a);return n.slice(i,l+1)}function L7({node:e,getStyles:r,rootIndex:n,controller:o,expandOnClick:a,selectOnClick:i,isSubtree:l,level:s=1,renderNode:c,flatValues:u,allowRangeSelection:d,expandOnSpace:p,checkOnSpace:f}){const g=S.useRef(null),b=(e.children||[]).map(_=>y.jsx(L7,{node:_,flatValues:u,getStyles:r,rootIndex:void 0,level:s+1,controller:o,expandOnClick:a,isSubtree:!0,renderNode:c,selectOnClick:i,allowRangeSelection:d,expandOnSpace:p,checkOnSpace:f},_.value)),x=_=>{if(_.nativeEvent.code==="ArrowRight"&&(_.stopPropagation(),_.preventDefault(),o.expandedState[e.value]?_.currentTarget.querySelector("[role=treeitem]")?.focus():o.expand(e.value)),_.nativeEvent.code==="ArrowLeft"&&(_.stopPropagation(),_.preventDefault(),o.expandedState[e.value]&&(e.children||[]).length>0?o.collapse(e.value):l&&Cf(_.currentTarget,"[role=treeitem]")?.focus()),_.nativeEvent.code==="ArrowDown"||_.nativeEvent.code==="ArrowUp"){const T=Cf(_.currentTarget,"[data-tree-root]");if(!T)return;_.stopPropagation(),_.preventDefault();const R=Array.from(T.querySelectorAll("[role=treeitem]")),A=R.indexOf(_.currentTarget);if(A===-1)return;const D=_.nativeEvent.code==="ArrowDown"?A+1:A-1;if(R[D]?.focus(),_.shiftKey){const N=R[D];N&&o.setSelectedState(JW(o.anchorNode,N.dataset.value,u))}}_.nativeEvent.code==="Space"&&(p&&(_.stopPropagation(),_.preventDefault(),o.toggleExpanded(e.value)),f&&(_.stopPropagation(),_.preventDefault(),o.isNodeChecked(e.value)?o.uncheckNode(e.value):o.checkNode(e.value)))},w=_=>{_.stopPropagation(),d&&_.shiftKey&&o.anchorNode?(o.setSelectedState(JW(o.anchorNode,e.value,u)),g.current?.focus()):(a&&o.toggleExpanded(e.value),i&&o.select(e.value),g.current?.focus())},k=o.selectedState.includes(e.value),C={...r("label"),onClick:w,"data-selected":k||void 0,"data-value":e.value,"data-hovered":o.hoveredNode===e.value||void 0};return y.jsxs("li",{...r("node",{style:{"--label-offset":`calc(var(--level-offset) * ${s-1})`}}),role:"treeitem","aria-selected":k,"data-value":e.value,"data-selected":k||void 0,"data-hovered":o.hoveredNode===e.value||void 0,"data-level":s,tabIndex:n===0?0:-1,onKeyDown:x,ref:g,onMouseOver:_=>{_.stopPropagation(),o.setHoveredNode(e.value)},onMouseLeave:_=>{_.stopPropagation(),o.setHoveredNode(null)},children:[typeof c=="function"?c({node:e,level:s,selected:k,tree:o,expanded:o.expandedState[e.value]||!1,hasChildren:Array.isArray(e.children)&&e.children.length>0,elementProps:C}):y.jsx("div",{...C,children:e.label}),o.expandedState[e.value]&&b.length>0&&y.jsx(Se,{component:"ul",role:"group",...r("subtree"),"data-level":s,children:b})]})}L7.displayName="@mantine/core/TreeNode";function Qw(e,r,n=[]){const o=[];for(const a of e)if(Array.isArray(a.children)&&a.children.length>0){const i=Qw(a.children,r,n);if(i.currentTreeChecked.length===a.children.length){const l=i.currentTreeChecked.every(c=>c.checked),s={checked:l,indeterminate:!l,value:a.value,hasChildren:!0};o.push(s),n.push(s)}else if(i.currentTreeChecked.length>0){const l={checked:!1,indeterminate:!0,value:a.value,hasChildren:!0};o.push(l),n.push(l)}}else if(r.includes(a.value)){const i={checked:!0,indeterminate:!1,value:a.value,hasChildren:!1};o.push(i),n.push(i)}return{result:n,currentTreeChecked:o}}function eG(e,r){for(const n of r){if(n.value===e)return n;if(Array.isArray(n.children)){const o=eG(e,n.children);if(o)return o}}return null}function Jw(e,r,n=[]){const o=eG(e,r);return o?!Array.isArray(o.children)||o.children.length===0?[o.value]:(o.children.forEach(a=>{Array.isArray(a.children)&&a.children.length>0?Jw(a.value,r,n):n.push(a.value)}),n):n}function tG(e){return e.reduce((r,n)=>(Array.isArray(n.children)&&n.children.length>0?r.push(...tG(n.children)):r.push(n.value),r),[])}function FLe(e,r,n){return n.length===0?!1:n.includes(e)?!0:Qw(r,n).result.some(o=>o.value===e&&o.checked)}const HLe=oV(FLe);function qLe(e,r,n){return n.length===0?!1:Qw(r,n).result.some(o=>o.value===e&&o.indeterminate)}const ULe=oV(qLe);function rG(e,r,n,o={}){return r.forEach(a=>{o[a.value]=a.value in e?e[a.value]:a.value===n,Array.isArray(a.children)&&rG(e,a.children,n,o)}),o}function VLe(e,r){const n=[];return e.forEach(o=>n.push(...Jw(o,r))),Array.from(new Set(n))}function ry({initialSelectedState:e=[],initialCheckedState:r=[],initialExpandedState:n={},multiple:o=!1,onNodeCollapse:a,onNodeExpand:i}={}){const[l,s]=S.useState([]),[c,u]=S.useState(n),[d,p]=S.useState(e),[f,g]=S.useState(r),[b,x]=S.useState(null),[w,k]=S.useState(null),C=S.useCallback(z=>{u(H=>rG(H,z,d)),g(H=>VLe(H,z)),s(z)},[d,f]),_=S.useCallback(z=>{u(H=>{const U={...H,[z]:!H[z]};return U[z]?i?.(z):a?.(z),U})},[a,i]),T=S.useCallback(z=>{u(H=>(H[z]!==!1&&a?.(z),{...H,[z]:!1}))},[a]),R=S.useCallback(z=>{u(H=>(H[z]!==!0&&i?.(z),{...H,[z]:!0}))},[i]),A=S.useCallback(()=>{u(z=>{const H={...z};return Object.keys(H).forEach(U=>{H[U]=!0}),H})},[]),D=S.useCallback(()=>{u(z=>{const H={...z};return Object.keys(H).forEach(U=>{H[U]=!1}),H})},[]),N=S.useCallback(z=>p(H=>o?H.includes(z)?(x(null),H.filter(U=>U!==z)):(x(z),[...H,z]):H.includes(z)?(x(null),[]):(x(z),[z])),[]),$=S.useCallback(z=>{x(z),p(H=>o?H.includes(z)?H:[...H,z]:[z])},[]),O=S.useCallback(z=>{b===z&&x(null),p(H=>H.filter(U=>U!==z))},[]),j=S.useCallback(()=>{p([]),x(null)},[]),L=S.useCallback(z=>{const H=Jw(z,l);g(U=>Array.from(new Set([...U,...H])))},[l]),Y=S.useCallback(z=>{const H=Jw(z,l);g(U=>U.filter(K=>!H.includes(K)))},[l]),M=S.useCallback(()=>{g(()=>tG(l))},[l]),q=S.useCallback(()=>{g([])},[]);return{multiple:o,expandedState:c,selectedState:d,checkedState:f,anchorNode:b,initialize:C,toggleExpanded:_,collapse:T,expand:R,expandAllNodes:A,collapseAllNodes:D,setExpandedState:u,checkNode:L,uncheckNode:Y,checkAllNodes:M,uncheckAllNodes:q,setCheckedState:g,toggleSelected:N,select:$,deselect:O,clearSelected:j,setSelectedState:p,hoveredNode:w,setHoveredNode:k,getCheckedNodes:()=>Qw(l,f).result,isNodeChecked:z=>HLe(z,l,f),isNodeIndeterminate:z=>ULe(z,l,f)}}var nG={root:"m_f698e191",subtree:"m_75f3ecf",node:"m_f6970eb1",label:"m_dc283425"};function oG(e){return e.reduce((r,n)=>(r.push(n.value),n.children&&r.push(...oG(n.children)),r),[])}const YLe={expandOnClick:!0,allowRangeSelection:!0,expandOnSpace:!0},WLe=(e,{levelOffset:r})=>({root:{"--level-offset":Vs(r)}}),Wf=lt((e,r)=>{const n=Le("Tree",YLe,e),{classNames:o,className:a,style:i,styles:l,unstyled:s,vars:c,data:u,expandOnClick:d,tree:p,renderNode:f,selectOnClick:g,clearSelectionOnOutsideClick:b,allowRangeSelection:x,expandOnSpace:w,levelOffset:k,checkOnSpace:C,attributes:_,...T}=n,R=ry(),A=p||R,D=wt({name:"Tree",classes:nG,props:n,className:a,style:i,classNames:o,styles:l,unstyled:s,attributes:_,vars:c,varsResolver:WLe}),N=HU(()=>b&&A.clearSelected()),$=Mr(r,N),O=S.useMemo(()=>oG(u),[u]);S.useEffect(()=>{A.initialize(u)},[u]);const j=u.map((L,Y)=>y.jsx(L7,{node:L,getStyles:D,rootIndex:Y,expandOnClick:d,selectOnClick:g,controller:A,renderNode:f,flatValues:O,allowRangeSelection:x,expandOnSpace:w,checkOnSpace:C},L.value));return y.jsx(Se,{component:"ul",ref:$,...D("root"),...T,role:"tree","aria-multiselectable":A.multiple,"data-tree-root":!0,children:j})});Wf.displayName="@mantine/core/Tree",Wf.classes=nG;const B7=S.createContext(null);function aG(){const e=S.useContext(B7);if(!e)throw new Error("useRootContainer must be used within a RootContainer");return e}function GLe(){return aG().ref}function XLe(){return aG().ref.current}const iG=S.createContext(null);function KLe(){const e=S.useContext(iG);return e===null&&console.warn("ReduceGraphicsMode is not provided"),e??!1}const[ZLe,QLe]=ii("PanningAtomSafeCtx is not provided");function JLe({id:e,className:r,reduceGraphics:n=!1,children:o}){const[a,i]=S.useState(!1),l=S.useRef(null),s=S.useRef(null);s.current||(s.current=MDe(!1)),aE(()=>{i(!0)},[]),S.useEffect(()=>s.current?.subscribe(u=>{l.current?.setAttribute("data-likec4-diagram-panning",u?"true":"false")}),[]);const c=S.useMemo(()=>({id:e,ref:l}),[e,l]);return y.jsx(ZLe,{value:s.current,children:y.jsx(iG.Provider,{value:n,children:y.jsx("div",{id:e,className:Je("likec4-root",r),ref:l,...n&&{"data-likec4-reduced-graphics":!0},children:a&&!!c.ref.current&&y.jsx(B7.Provider,{value:c,children:o})})})})}const ny=S.createContext(null),j7=S.createContext(null);function eBe({children:e}){return S.useContext(j7)?y.jsx(y.Fragment,{children:e}):null}function tBe(){return S.useContext(ny)}function qo(){const e=S.useContext(ny);if(!e)throw new Error("LikeC4Model not found. Make sure you have LikeC4ModelProvider.");return e}function rBe(){const e=qo(),[r,n]=S.useState(e.$data.specification);return S.useEffect(()=>{n(o=>ut(o,e.$data.specification)?o:e.$data.specification)},[e]),r}const lG=S.createContext({}),nBe=["yellow","orange","amber","tomato","red","ruby","crimson","pink","pink","purple","violet","indigo","blue","teal","grass","lime"],oBe=e=>{const r=e.color;if(pj(e))return` --colors-likec4-tag-bg: ${r}; --colors-likec4-tag-bg-hover: color-mix(in srgb, ${r}, var(--colors-likec4-mix-color) 20%); - `;if(!Nze.includes(r))return"";let n="12";return["mint","grass","lime","yellow","amber"].includes(r)&&(n="dark-2"),` + `;if(!nBe.includes(r))return"";let n="12";return["mint","grass","lime","yellow","amber"].includes(r)&&(n="dark-2"),` --colors-likec4-tag-border: var(--colors-${r}-8); --colors-likec4-tag-bg: var(--colors-${r}-9); --colors-likec4-tag-bg-hover: var(--colors-${r}-10); --colors-likec4-tag-text: var(--colors-${r}-${n}); - `};function Pze(e,r){return!e||iu(e)?"":yn(jE(e),ENe(([n,o])=>[`:is(${r} [data-likec4-tag="${n}"]) {`,Dze(o),"}"]),oU(` -`))}function $ze({children:e,rootSelector:r}){const n=Aze().tags,o=Pze(n,r);return y.jsxs(KW.Provider,{value:n,children:[o!==""&&y.jsx(Mze,{stylesheet:o}),e]})}const Mze=E.memo(({stylesheet:e})=>{const r=Yd()?.();return y.jsx("style",{"data-likec4-tags":!0,type:"text/css",dangerouslySetInnerHTML:{__html:e},nonce:r})});function Oze(e){return E.useContext(KW)[e]??{color:"tomato"}}function ZW(){return Ta().replace("mantine-","likec4-")}var Ize="css,pos,insetX,insetY,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,textShadowColor,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,bgLinear,bgRadial,bgConic,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,z,scrollMarginY,scrollMarginX,scrollPaddingY,scrollPaddingX,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,inset,insetInline,insetBlock,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,spaceX,spaceY,outlineWidth,outlineColor,outline,outlineOffset,focusRing,focusVisibleRing,focusRingColor,focusRingOffset,focusRingWidth,focusRingStyle,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,boxSize,color,fontFamily,fontSize,fontSizeAdjust,fontPalette,fontKerning,fontFeatureSettings,fontWeight,fontSmoothing,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariationSettings,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,listStyle,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,backgroundLinear,backgroundRadial,backgroundConic,textGradient,gradientFromPosition,gradientToPosition,gradientFrom,gradientTo,gradientVia,gradientViaPosition,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,borderBlockStartWidth,borderBlockEndWidth,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationTimingFunction,animationDuration,animationDelay,animationPlayState,animationComposition,animationFillMode,animationDirection,animationIterationCount,animationRange,animationState,animationRangeStart,animationRangeEnd,animationTimeline,transformOrigin,transformBox,transformStyle,transform,rotate,rotateX,rotateY,rotateZ,scale,scaleX,scaleY,translate,translateX,translateY,translateZ,accentColor,caretColor,scrollBehavior,scrollbar,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollMargin,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,touchAction,userSelect,overflow,overflowWrap,overflowX,overflowY,overflowAnchor,overflowBlock,overflowInline,overflowClipBox,overflowClipMargin,overscrollBehaviorBlock,overscrollBehaviorInline,fill,stroke,strokeWidth,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,container,containerName,containerType,cursor,colorPalette,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,_noscript,_invertedColors,_shapeSizeXs,_shapeSizeSm,_shapeSizeMd,_shapeSizeLg,_shapeSizeXl,_shapeRectangle,_shapePerson,_shapeBrowser,_shapeMobile,_shapeCylinder,_shapeStorage,_shapeQueue,_notDisabled,_reduceGraphics,_reduceGraphicsOnPan,_noReduceGraphics,_whenPanning,_smallZoom,_compoundTransparent,_edgeActive,_whenHovered,_whenSelected,_whenDimmed,_whenFocused,_p3,_srgb,_rec2020,xs,xsOnly,xsDown,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,xsToSm,xsToMd,xsToLg,xsToXl,smToMd,smToLg,smToXl,mdToLg,mdToXl,lgToXl,@/xs,@/sm,@/md,@/lg,@likec4-root/xs,@likec4-root/sm,@likec4-root/md,@likec4-root/lg,@likec4-dialog/xs,@likec4-dialog/sm,@likec4-dialog/md,@likec4-dialog/lg,textStyle,layerStyle,animationStyle",Lze=Ize.split(","),zze="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical",Bze=zze.split(",").concat(Lze),jze=new Map(Bze.map(e=>[e,!0])),Fze=/&|@/,QW=co(e=>jze.has(e)||e.startsWith("--")||Fze.test(e));const Hze=(e,r)=>!r.includes(e)&&!QW(e),qze=(e,r)=>e.__shouldForwardProps__&&r?n=>e.__shouldForwardProps__(n)&&r(n):r,Uze=(e,r)=>{if(e&&!r)return e;if(!e&&r)return r;if(e.__cva__&&r.__cva__||e.__recipe__&&r.__recipe__)return e.merge(r);const n=new TypeError("Cannot merge cva with recipe. Please use either cva or recipe.");throw TypeError.captureStackTrace?.(n),n},Vze=e=>typeof e=="string"?e:e?.displayName||e?.name||"Component";function O7(e,r={},n={}){const o=r.__cva__||r.__recipe__?r:J1(r),a=n.shouldForwardProp||Hze,i=f=>n.forwardProps?.includes(f)?!0:a(f,o.variantKeys),l=Object.assign(n.dataAttr&&r.__name__?{"data-recipe":r.__name__}:{},n.defaultProps),s=Uze(e.__cva__,o),c=qze(e,i),u=e.__base__||e,d=E.forwardRef(function(f,g){const{as:b=u,unstyled:x,children:w,...k}=f,C=E.useMemo(()=>Object.assign({},l,k),[k]),[_,T,R,A,D]=E.useMemo(()=>Yn(C,X8.keys,c,s.variantKeys,QW),[C]);function N(){const{css:j,...L}=A,Y=s.__getCompoundVariantCss__?.(R);return Je(s(R,!1),ye(Y,L,j),C.className)}function $(){const{css:j,...L}=A,Y=s.raw(R);return Je(ye(Y,L,j),C.className)}const M=()=>{if(x){const{css:j,...L}=A;return Je(ye(L,j),C.className)}return r.__recipe__?N():$()};return E.createElement(b,{ref:g,...T,...D,...X8(_),className:M()},w??C.children)}),p=Vze(u);return d.displayName=`styled.${p}`,d.__cva__=s,d.__base__=u,d.__shouldForwardProps__=i,d}function Yze(){const e=new Map;return new Proxy(O7,{apply(r,n,o){return O7(...o)},get(r,n){return e.has(n)||e.set(n,O7(n)),e.get(n)}})}const Qs=Yze(),JW={transform(e){return e}},Wze=(e={})=>{const r=Q1(JW,e);return JW.transform(r,Z1)},Ur=E.forwardRef(function(e,r){const[n,o]=Yn(e,[]),a=Wze(n),i={ref:r,...a,...o};return E.createElement(Qs.div,i)}),eG={transform(e){const{justify:r,gap:n,...o}=e;return{display:"flex",alignItems:"center",justifyContent:r,gap:n,flexDirection:"column",...o}},defaultValues:{alignItems:"stretch",gap:"sm"}},I7=(e={})=>{const r=Q1(eG,e);return eG.transform(r,Z1)},G0=e=>ye(I7(e));G0.raw=I7;const Ff=E.forwardRef(function(e,r){const[n,o]=Yn(e,["justify","gap"]),a=I7(n),i={ref:r,...a,...o};return E.createElement(Qs.div,i)}),tG={transform(e){const{justify:r,gap:n,...o}=e;return{display:"flex",alignItems:"center",justifyContent:r,gap:n,flexDirection:"row",...o}},defaultValues:{gap:"sm"}},L7=(e={})=>{const r=Q1(tG,e);return tG.transform(r,Z1)},qo=e=>ye(L7(e));qo.raw=L7;const xn=E.forwardRef(function(e,r){const[n,o]=Yn(e,["justify","gap"]),a=L7(n),i={ref:r,...a,...o};return E.createElement(Qs.div,i)}),rG={transform(e){return{position:"relative",maxWidth:"8xl",mx:"auto",px:{base:"4",md:"6",lg:"8"},...e}}},nG=(e={})=>{const r=Q1(rG,e);return rG.transform(r,Z1)},oG=e=>ye(nG(e));oG.raw=nG;const aG={transform(e,{map:r,isCssUnit:n,isCssVar:o}){const{inline:a,block:i,...l}=e,s=c=>n(c)||o(c)?c:`token(spacing.${c}, ${c})`;return{"--bleed-x":r(a,s),"--bleed-y":r(i,s),marginInline:"calc(var(--bleed-x, 0) * -1)",marginBlock:"calc(var(--bleed-y, 0) * -1)",...l}},defaultValues:{inline:"0",block:"0"}},iG=(e={})=>{const r=Q1(aG,e);return aG.transform(r,Z1)},lG=e=>ye(iG(e));lG.raw=iG;const Gze=E.createContext(null),z7={didCatch:!1,error:null};let B7=class extends E.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=z7}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(e!==null){for(var r,n,o=arguments.length,a=new Array(o),i=0;i0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==r.length||e.some((n,o)=>!Object.is(n,r[o]))}/** + `};function aBe(e,r){return!e||gu(e)?"":kn(WE(e),ZNe(([n,o])=>[`:is(${r} [data-likec4-tag="${n}"]) {`,oBe(o),"}"]),mU(` +`))}function iBe({children:e,rootSelector:r}){const n=rBe().tags,o=aBe(n,r);return y.jsxs(lG.Provider,{value:n,children:[o!==""&&y.jsx(lBe,{stylesheet:o}),e]})}const lBe=S.memo(({stylesheet:e})=>{const r=np()?.();return y.jsx("style",{"data-likec4-tags":!0,type:"text/css",dangerouslySetInnerHTML:{__html:e},nonce:r})});function sBe(e){return S.useContext(lG)[e]??{color:"tomato"}}function sG(){return Aa().replace("mantine-","likec4-")}var cBe="css,pos,insetX,insetY,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,textShadowColor,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,bgLinear,bgRadial,bgConic,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,z,scrollMarginY,scrollMarginX,scrollPaddingY,scrollPaddingX,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,inset,insetInline,insetBlock,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,spaceX,spaceY,outlineWidth,outlineColor,outline,outlineOffset,focusRing,focusVisibleRing,focusRingColor,focusRingOffset,focusRingWidth,focusRingStyle,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,boxSize,color,fontFamily,fontSize,fontSizeAdjust,fontPalette,fontKerning,fontFeatureSettings,fontWeight,fontSmoothing,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariationSettings,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,listStyle,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,backgroundLinear,backgroundRadial,backgroundConic,textGradient,gradientFromPosition,gradientToPosition,gradientFrom,gradientTo,gradientVia,gradientViaPosition,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,borderBlockStartWidth,borderBlockEndWidth,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationTimingFunction,animationDuration,animationDelay,animationPlayState,animationComposition,animationFillMode,animationDirection,animationIterationCount,animationRange,animationState,animationRangeStart,animationRangeEnd,animationTimeline,transformOrigin,transformBox,transformStyle,transform,rotate,rotateX,rotateY,rotateZ,scale,scaleX,scaleY,translate,translateX,translateY,translateZ,accentColor,caretColor,scrollBehavior,scrollbar,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollMargin,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,touchAction,userSelect,overflow,overflowWrap,overflowX,overflowY,overflowAnchor,overflowBlock,overflowInline,overflowClipBox,overflowClipMargin,overscrollBehaviorBlock,overscrollBehaviorInline,fill,stroke,strokeWidth,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,container,containerName,containerType,cursor,colorPalette,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,_noscript,_invertedColors,_shapeSizeXs,_shapeSizeSm,_shapeSizeMd,_shapeSizeLg,_shapeSizeXl,_shapeRectangle,_shapePerson,_shapeBrowser,_shapeMobile,_shapeCylinder,_shapeStorage,_shapeQueue,_notDisabled,_reduceGraphics,_reduceGraphicsOnPan,_noReduceGraphics,_whenPanning,_smallZoom,_compoundTransparent,_edgeActive,_whenHovered,_whenSelected,_whenDimmed,_whenFocused,_p3,_srgb,_rec2020,xs,xsOnly,xsDown,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,xsToSm,xsToMd,xsToLg,xsToXl,smToMd,smToLg,smToXl,mdToLg,mdToXl,lgToXl,@/xs,@/sm,@/md,@/lg,@likec4-root/xs,@likec4-root/sm,@likec4-root/md,@likec4-root/lg,@likec4-dialog/xs,@likec4-dialog/sm,@likec4-dialog/md,@likec4-dialog/lg,textStyle,layerStyle,animationStyle",uBe=cBe.split(","),dBe="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical",pBe=dBe.split(",").concat(uBe),hBe=new Map(pBe.map(e=>[e,!0])),fBe=/&|@/,cG=ho(e=>hBe.has(e)||e.startsWith("--")||fBe.test(e));const mBe=(e,r)=>!r.includes(e)&&!cG(e),gBe=(e,r)=>e.__shouldForwardProps__&&r?n=>e.__shouldForwardProps__(n)&&r(n):r,yBe=(e,r)=>{if(e&&!r)return e;if(!e&&r)return r;if(e.__cva__&&r.__cva__||e.__recipe__&&r.__recipe__)return e.merge(r);const n=new TypeError("Cannot merge cva with recipe. Please use either cva or recipe.");throw TypeError.captureStackTrace?.(n),n},bBe=e=>typeof e=="string"?e:e?.displayName||e?.name||"Component";function F7(e,r={},n={}){const o=r.__cva__||r.__recipe__?r:c0(r),a=n.shouldForwardProp||mBe,i=f=>n.forwardProps?.includes(f)?!0:a(f,o.variantKeys),l=Object.assign(n.dataAttr&&r.__name__?{"data-recipe":r.__name__}:{},n.defaultProps),s=yBe(e.__cva__,o),c=gBe(e,i),u=e.__base__||e,d=S.forwardRef(function(f,g){const{as:b=u,unstyled:x,children:w,...k}=f,C=S.useMemo(()=>Object.assign({},l,k),[k]),[_,T,R,A,D]=S.useMemo(()=>Zn(C,rE.keys,c,s.variantKeys,cG),[C]);function N(){const{css:j,...L}=A,Y=s.__getCompoundVariantCss__?.(R);return Je(s(R,!1),me(Y,L,j),C.className)}function $(){const{css:j,...L}=A,Y=s.raw(R);return Je(me(Y,L,j),C.className)}const O=()=>{if(x){const{css:j,...L}=A;return Je(me(L,j),C.className)}return r.__recipe__?N():$()};return S.createElement(b,{ref:g,...T,...D,...rE(_),className:O()},w??C.children)}),p=bBe(u);return d.displayName=`styled.${p}`,d.__cva__=s,d.__base__=u,d.__shouldForwardProps__=i,d}function vBe(){const e=new Map;return new Proxy(F7,{apply(r,n,o){return F7(...o)},get(r,n){return e.has(n)||e.set(n,F7(n)),e.get(n)}})}const tc=vBe(),uG={transform(e){return e}},xBe=(e={})=>{const r=s0(uG,e);return uG.transform(r,l0)},Gr=S.forwardRef(function(e,r){const[n,o]=Zn(e,[]),a=xBe(n),i={ref:r,...a,...o};return S.createElement(tc.div,i)}),dG={transform(e){const{justify:r,gap:n,...o}=e;return{display:"flex",alignItems:"center",justifyContent:r,gap:n,flexDirection:"column",...o}},defaultValues:{alignItems:"stretch",gap:"sm"}},H7=(e={})=>{const r=s0(dG,e);return dG.transform(r,l0)},oy=e=>me(H7(e));oy.raw=H7;const Gf=S.forwardRef(function(e,r){const[n,o]=Zn(e,["justify","gap"]),a=H7(n),i={ref:r,...a,...o};return S.createElement(tc.div,i)}),pG={transform(e){const{justify:r,gap:n,...o}=e;return{display:"flex",alignItems:"center",justifyContent:r,gap:n,flexDirection:"row",...o}},defaultValues:{gap:"sm"}},q7=(e={})=>{const r=s0(pG,e);return pG.transform(r,l0)},Uo=e=>me(q7(e));Uo.raw=q7;const Sn=S.forwardRef(function(e,r){const[n,o]=Zn(e,["justify","gap"]),a=q7(n),i={ref:r,...a,...o};return S.createElement(tc.div,i)}),hG={transform(e){return{position:"relative",maxWidth:"8xl",mx:"auto",px:{base:"4",md:"6",lg:"8"},...e}}},fG=(e={})=>{const r=s0(hG,e);return hG.transform(r,l0)},mG=e=>me(fG(e));mG.raw=fG;const gG={transform(e,{map:r,isCssUnit:n,isCssVar:o}){const{inline:a,block:i,...l}=e,s=c=>n(c)||o(c)?c:`token(spacing.${c}, ${c})`;return{"--bleed-x":r(a,s),"--bleed-y":r(i,s),marginInline:"calc(var(--bleed-x, 0) * -1)",marginBlock:"calc(var(--bleed-y, 0) * -1)",...l}},defaultValues:{inline:"0",block:"0"}},yG=(e={})=>{const r=s0(gG,e);return gG.transform(r,l0)},bG=e=>me(yG(e));bG.raw=yG;const wBe=S.createContext(null),U7={didCatch:!1,error:null};let V7=class extends S.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=U7}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(e!==null){for(var r,n,o=arguments.length,a=new Array(o),i=0;i0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==r.length||e.some((n,o)=>!Object.is(n,r[o]))}/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const Kze=[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]],Hf=yt("outline","x","X",Kze);function j7({error:e,resetErrorBoundary:r}){const n=e instanceof Error?e.message:"Unknown error";return y.jsx(Ur,{css:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",padding:"0",backdropFilter:"blur(5px)",backgroundColor:{_dark:"[rgb(34 34 34 / 10%)]",_light:"[rgb(15 15 15/ 20%)]"},zIndex:1e3},children:y.jsxs(Uw,{icon:y.jsx(Hf,{style:{width:16,height:16}}),styles:{icon:{alignSelf:"flex-start"}},color:"red",title:"Oops, something went wrong",p:"xl",withCloseButton:!1,children:[y.jsx(ta,{maw:"100%",mah:400,children:y.jsx(Bw,{block:!0,children:n})}),y.jsx(qr,{gap:"xs",mt:"xl",children:y.jsx(Zn,{color:"gray",size:"xs",variant:"light",onClick:()=>r(),children:"Reset"})})]})})}function sG(e){return y.jsx(B7,{FallbackComponent:j7,onError:(r,n)=>{console.error(r,n)},...e})}function Zze(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global}function Qze(){const e=Zze();if(e.__xstate__)return e.__xstate__}const Jze=e=>{if(typeof window>"u")return;const r=Qze();r&&r.register(e)};class cG{constructor(r){this._process=r,this._active=!1,this._current=null,this._last=null}start(){this._active=!0,this.flush()}clear(){this._current&&(this._current.next=null,this._last=this._current)}enqueue(r){const n={value:r,next:null};if(this._current){this._last.next=n,this._last=n;return}this._current=n,this._last=n,this._active&&this.flush()}flush(){for(;this._current;){const r=this._current;this._process(r.value),this._current=r.next}this._last=null}}const uG=".",eBe="",dG="",tBe="#",rBe="*",pG="xstate.init",nBe="xstate.error",X0="xstate.stop";function oBe(e,r){return{type:`xstate.after.${e}.${r}`}}function F7(e,r){return{type:`xstate.done.state.${e}`,output:r}}function aBe(e,r){return{type:`xstate.done.actor.${e}`,output:r,actorId:e}}function hG(e,r){return{type:`xstate.error.actor.${e}`,error:r,actorId:e}}function fG(e){return{type:pG,input:e}}function as(e){setTimeout(()=>{throw e})}const iBe=typeof Symbol=="function"&&Symbol.observable||"@@observable";function mG(e,r){const n=gG(e),o=gG(r);return typeof o=="string"?typeof n=="string"?o===n:!1:typeof n=="string"?n in o:Object.keys(n).every(a=>a in o?mG(n[a],o[a]):!1)}function H7(e){if(vG(e))return e;const r=[];let n="";for(let o=0;otypeof r>"u"||typeof r=="string"?{target:r}:r)}function xG(e){if(!(e===void 0||e===eBe))return Js(e)}function Kw(e,r,n){const o=typeof e=="object",a=o?e:void 0;return{next:(o?e.next:e)?.bind(a),error:(o?e.error:r)?.bind(a),complete:(o?e.complete:n)?.bind(a)}}function wG(e,r){return`${r}.${e}`}function U7(e,r){const n=r.match(/^xstate\.invoke\.(\d+)\.(.*)/);if(!n)return e.implementations.actors[r];const[,o,a]=n,i=e.getStateNodeById(a).config.invoke;return(Array.isArray(i)?i[o]:i).src}function kG(e,r){return`${e.sessionId}.${r}`}let cBe=0;function uBe(e,r){const n=new Map,o=new Map,a=new WeakMap,i=new Set,l={},{clock:s,logger:c}=r,u={schedule:(f,g,b,x,w=Math.random().toString(36).slice(2))=>{const k={source:f,target:g,event:b,delay:x,id:w,startedAt:Date.now()},C=kG(f,w);p._snapshot._scheduledEvents[C]=k;const _=s.setTimeout(()=>{delete l[C],delete p._snapshot._scheduledEvents[C],p._relay(f,g,b)},x);l[C]=_},cancel:(f,g)=>{const b=kG(f,g),x=l[b];delete l[b],delete p._snapshot._scheduledEvents[b],x!==void 0&&s.clearTimeout(x)},cancelAll:f=>{for(const g in p._snapshot._scheduledEvents){const b=p._snapshot._scheduledEvents[g];b.source===f&&u.cancel(f,b.id)}}},d=f=>{if(!i.size)return;const g={...f,rootId:e.sessionId};i.forEach(b=>b.next?.(g))},p={_snapshot:{_scheduledEvents:(r?.snapshot&&r.snapshot.scheduler)??{}},_bookId:()=>`x:${cBe++}`,_register:(f,g)=>(n.set(f,g),f),_unregister:f=>{n.delete(f.sessionId);const g=a.get(f);g!==void 0&&(o.delete(g),a.delete(f))},get:f=>o.get(f),_set:(f,g)=>{const b=o.get(f);if(b&&b!==g)throw new Error(`Actor with system ID '${f}' already exists.`);o.set(f,g),a.set(g,f)},inspect:f=>{const g=Kw(f);return i.add(g),{unsubscribe(){i.delete(g)}}},_sendInspectionEvent:d,_relay:(f,g,b)=>{p._sendInspectionEvent({type:"@xstate.event",sourceRef:f,actorRef:g,event:b}),g._send(b)},scheduler:u,getSnapshot:()=>({_scheduledEvents:{...p._snapshot._scheduledEvents}}),start:()=>{const f=p._snapshot._scheduledEvents;p._snapshot._scheduledEvents={};for(const g in f){const{source:b,target:x,event:w,delay:k,id:C}=f[g];u.schedule(b,x,w,k,C)}},_clock:s,_logger:c};return p}let V7=!1;const Y7=1;let na=(function(e){return e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped",e})({});const dBe={clock:{setTimeout:(e,r)=>setTimeout(e,r),clearTimeout:e=>clearTimeout(e)},logger:console.log.bind(console),devTools:!1};class pBe{constructor(r,n){this.logic=r,this._snapshot=void 0,this.clock=void 0,this.options=void 0,this.id=void 0,this.mailbox=new cG(this._process.bind(this)),this.observers=new Set,this.eventListeners=new Map,this.logger=void 0,this._processingStatus=na.NotStarted,this._parent=void 0,this._syncSnapshot=void 0,this.ref=void 0,this._actorScope=void 0,this._systemId=void 0,this.sessionId=void 0,this.system=void 0,this._doneEvent=void 0,this.src=void 0,this._deferred=[];const o={...dBe,...n},{clock:a,logger:i,parent:l,syncSnapshot:s,id:c,systemId:u,inspect:d}=o;this.system=l?l.system:uBe(this,{clock:a,logger:i}),d&&!l&&this.system.inspect(Kw(d)),this.sessionId=this.system._bookId(),this.id=c??this.sessionId,this.logger=n?.logger??this.system._logger,this.clock=n?.clock??this.system._clock,this._parent=l,this._syncSnapshot=s,this.options=o,this.src=o.src??r,this.ref=this,this._actorScope={self:this,id:this.id,sessionId:this.sessionId,logger:this.logger,defer:p=>{this._deferred.push(p)},system:this.system,stopChild:p=>{if(p._parent!==this)throw new Error(`Cannot stop child actor ${p.id} of ${this.id} because it is not a child`);p._stop()},emit:p=>{const f=this.eventListeners.get(p.type),g=this.eventListeners.get("*");if(!f&&!g)return;const b=[...f?f.values():[],...g?g.values():[]];for(const x of b)try{x(p)}catch(w){as(w)}},actionExecutor:p=>{const f=()=>{if(this._actorScope.system._sendInspectionEvent({type:"@xstate.action",actorRef:this,action:{type:p.type,params:p.params}}),!p.exec)return;const g=V7;try{V7=!0,p.exec(p.info,p.params)}finally{V7=g}};this._processingStatus===na.Running?f():this._deferred.push(f)}},this.send=this.send.bind(this),this.system._sendInspectionEvent({type:"@xstate.actor",actorRef:this}),u&&(this._systemId=u,this.system._set(u,this)),this._initState(n?.snapshot??n?.state),u&&this._snapshot.status!=="active"&&this.system._unregister(this)}_initState(r){try{this._snapshot=r?this.logic.restoreSnapshot?this.logic.restoreSnapshot(r,this._actorScope):r:this.logic.getInitialSnapshot(this._actorScope,this.options?.input)}catch(n){this._snapshot={status:"error",output:void 0,error:n}}}update(r,n){this._snapshot=r;let o;for(;o=this._deferred.shift();)try{o()}catch(a){this._deferred.length=0,this._snapshot={...r,status:"error",error:a}}switch(this._snapshot.status){case"active":for(const a of this.observers)try{a.next?.(r)}catch(i){as(i)}break;case"done":for(const a of this.observers)try{a.next?.(r)}catch(i){as(i)}this._stopProcedure(),this._complete(),this._doneEvent=aBe(this.id,this._snapshot.output),this._parent&&this.system._relay(this,this._parent,this._doneEvent);break;case"error":this._error(this._snapshot.error);break}this.system._sendInspectionEvent({type:"@xstate.snapshot",actorRef:this,event:n,snapshot:r})}subscribe(r,n,o){const a=Kw(r,n,o);if(this._processingStatus!==na.Stopped)this.observers.add(a);else switch(this._snapshot.status){case"done":try{a.complete?.()}catch(i){as(i)}break;case"error":{const i=this._snapshot.error;if(!a.error)as(i);else try{a.error(i)}catch(l){as(l)}break}}return{unsubscribe:()=>{this.observers.delete(a)}}}on(r,n){let o=this.eventListeners.get(r);o||(o=new Set,this.eventListeners.set(r,o));const a=n.bind(void 0);return o.add(a),{unsubscribe:()=>{o.delete(a)}}}start(){if(this._processingStatus===na.Running)return this;this._syncSnapshot&&this.subscribe({next:n=>{n.status==="active"&&this.system._relay(this,this._parent,{type:`xstate.snapshot.${this.id}`,snapshot:n})},error:()=>{}}),this.system._register(this.sessionId,this),this._systemId&&this.system._set(this._systemId,this),this._processingStatus=na.Running;const r=fG(this.options.input);switch(this.system._sendInspectionEvent({type:"@xstate.event",sourceRef:this._parent,actorRef:this,event:r}),this._snapshot.status){case"done":return this.update(this._snapshot,r),this;case"error":return this._error(this._snapshot.error),this}if(this._parent||this.system.start(),this.logic.start)try{this.logic.start(this._snapshot,this._actorScope)}catch(n){return this._snapshot={...this._snapshot,status:"error",error:n},this._error(n),this}return this.update(this._snapshot,r),this.options.devTools&&this.attachDevTools(),this.mailbox.start(),this}_process(r){let n,o;try{n=this.logic.transition(this._snapshot,r,this._actorScope)}catch(a){o={err:a}}if(o){const{err:a}=o;this._snapshot={...this._snapshot,status:"error",error:a},this._error(a);return}this.update(n,r),r.type===X0&&(this._stopProcedure(),this._complete())}_stop(){return this._processingStatus===na.Stopped?this:(this.mailbox.clear(),this._processingStatus===na.NotStarted?(this._processingStatus=na.Stopped,this):(this.mailbox.enqueue({type:X0}),this))}stop(){if(this._parent)throw new Error("A non-root actor cannot be stopped directly.");return this._stop()}_complete(){for(const r of this.observers)try{r.complete?.()}catch(n){as(n)}this.observers.clear()}_reportError(r){if(!this.observers.size){this._parent||as(r);return}let n=!1;for(const o of this.observers){const a=o.error;n||=!a;try{a?.(r)}catch(i){as(i)}}this.observers.clear(),n&&as(r)}_error(r){this._stopProcedure(),this._reportError(r),this._parent&&this.system._relay(this,this._parent,hG(this.id,r))}_stopProcedure(){return this._processingStatus!==na.Running?this:(this.system.scheduler.cancelAll(this),this.mailbox.clear(),this.mailbox=new cG(this._process.bind(this)),this._processingStatus=na.Stopped,this.system._unregister(this),this)}_send(r){this._processingStatus!==na.Stopped&&this.mailbox.enqueue(r)}send(r){this.system._relay(void 0,this,r)}attachDevTools(){const{devTools:r}=this.options;r&&(typeof r=="function"?r:Jze)(this)}toJSON(){return{xstate$$type:Y7,id:this.id}}getPersistedSnapshot(r){return this.logic.getPersistedSnapshot(this._snapshot,r)}[iBe](){return this}getSnapshot(){return this._snapshot}}function Uf(e,...[r]){return new pBe(e,r)}function hBe(e,r,n,o,{sendId:a}){const i=typeof a=="function"?a(n,o):a;return[r,{sendId:i},void 0]}function fBe(e,r){e.defer(()=>{e.system.scheduler.cancel(e.self,r.sendId)})}function oa(e){function r(n,o){}return r.type="xstate.cancel",r.sendId=e,r.resolve=hBe,r.execute=fBe,r}function mBe(e,r,n,o,{id:a,systemId:i,src:l,input:s,syncSnapshot:c}){const u=typeof l=="string"?U7(r.machine,l):l,d=typeof a=="function"?a(n):a;let p,f;return u&&(f=typeof s=="function"?s({context:r.context,event:n.event,self:e.self}):s,p=Uf(u,{id:d,src:l,parent:e.self,syncSnapshot:c,systemId:i,input:f})),[np(r,{children:{...r.children,[d]:p}}),{id:a,systemId:i,actorRef:p,src:l,input:f},void 0]}function gBe(e,{actorRef:r}){r&&e.defer(()=>{r._processingStatus!==na.Stopped&&r.start()})}function Vf(...[e,{id:r,systemId:n,input:o,syncSnapshot:a=!1}={}]){function i(l,s){}return i.type="xstate.spawnChild",i.id=r,i.systemId=n,i.src=e,i.input=o,i.syncSnapshot=a,i.resolve=mBe,i.execute=gBe,i}function yBe(e,r,n,o,{actorRef:a}){const i=typeof a=="function"?a(n,o):a,l=typeof i=="string"?r.children[i]:i;let s=r.children;return l&&(s={...s},delete s[l.id]),[np(r,{children:s}),l,void 0]}function bBe(e,r){if(r){if(e.system._unregister(r),r._processingStatus!==na.Running){e.stopChild(r);return}e.defer(()=>{e.stopChild(r)})}}function yu(e){function r(n,o){}return r.type="xstate.stopChild",r.actorRef=e,r.resolve=yBe,r.execute=bBe,r}function vBe(e,{context:r,event:n},{guards:o}){return o.every(a=>Yf(a,r,n,e))}function Zw(e){function r(n,o){return!1}return r.check=vBe,r.guards=e,r}function xBe(e,{context:r,event:n},{guards:o}){return o.some(a=>Yf(a,r,n,e))}function _G(e){function r(n,o){return!1}return r.check=xBe,r.guards=e,r}function Yf(e,r,n,o){const{machine:a}=o,i=typeof e=="function",l=i?e:a.implementations.guards[typeof e=="string"?e:e.type];if(!i&&!l)throw new Error(`Guard '${typeof e=="string"?e:e.type}' is not implemented.'.`);if(typeof l!="function")return Yf(l,r,n,o);const s={context:r,event:n},c=i||typeof e=="string"?void 0:"params"in e?typeof e.params=="function"?e.params({context:r,event:n}):e.params:void 0;return"check"in l?l.check(o,s,l):l(s,c)}const W7=e=>e.type==="atomic"||e.type==="final";function Wf(e){return Object.values(e.states).filter(r=>r.type!=="history")}function K0(e,r){const n=[];if(r===e)return n;let o=e.parent;for(;o&&o!==r;)n.push(o),o=o.parent;return n}function Qw(e){const r=new Set(e),n=SG(r);for(const o of r)if(o.type==="compound"&&(!n.get(o)||!n.get(o).length))RG(o).forEach(a=>r.add(a));else if(o.type==="parallel"){for(const a of Wf(o))if(a.type!=="history"&&!r.has(a)){const i=RG(a);for(const l of i)r.add(l)}}for(const o of r){let a=o.parent;for(;a;)r.add(a),a=a.parent}return r}function EG(e,r){const n=r.get(e);if(!n)return{};if(e.type==="compound"){const a=n[0];if(a){if(W7(a))return a.key}else return{}}const o={};for(const a of n)o[a.key]=EG(a,r);return o}function SG(e){const r=new Map;for(const n of e)r.has(n)||r.set(n,[]),n.parent&&(r.has(n.parent)||r.set(n.parent,[]),r.get(n.parent).push(n));return r}function CG(e,r){const n=Qw(r);return EG(e,SG(n))}function G7(e,r){return r.type==="compound"?Wf(r).some(n=>n.type==="final"&&e.has(n)):r.type==="parallel"?Wf(r).every(n=>G7(e,n)):r.type==="final"}const Jw=e=>e[0]===tBe;function wBe(e,r){return e.transitions.get(r)||[...e.transitions.keys()].filter(n=>{if(n===rBe)return!0;if(!n.endsWith(".*"))return!1;const o=n.split("."),a=r.split(".");for(let i=0;io.length-n.length).flatMap(n=>e.transitions.get(n))}function kBe(e){const r=e.config.after;if(!r)return[];const n=o=>{const a=oBe(o,e.id),i=a.type;return e.entry.push(ln(a,{id:i,delay:o})),e.exit.push(oa(i)),i};return Object.keys(r).flatMap(o=>{const a=r[o],i=typeof a=="string"?{target:a}:a,l=Number.isNaN(+o)?o:+o,s=n(l);return Js(i).map(c=>({...c,event:s,delay:l}))}).map(o=>{const{delay:a}=o;return{...tp(e,o.event,o),delay:a}})}function tp(e,r,n){const o=xG(n.target),a=n.reenter??!1,i=SBe(e,o),l={...n,actions:Js(n.actions),guard:n.guard,target:i,source:e,reenter:a,eventType:r,toJSON:()=>({...l,source:`#${e.id}`,target:i?i.map(s=>`#${s.id}`):void 0})};return l}function _Be(e){const r=new Map;if(e.config.on)for(const n of Object.keys(e.config.on)){if(n===dG)throw new Error('Null events ("") cannot be specified as a transition key. Use `always: { ... }` instead.');const o=e.config.on[n];r.set(n,qf(o).map(a=>tp(e,n,a)))}if(e.config.onDone){const n=`xstate.done.state.${e.id}`;r.set(n,qf(e.config.onDone).map(o=>tp(e,n,o)))}for(const n of e.invoke){if(n.onDone){const o=`xstate.done.actor.${n.id}`;r.set(o,qf(n.onDone).map(a=>tp(e,o,a)))}if(n.onError){const o=`xstate.error.actor.${n.id}`;r.set(o,qf(n.onError).map(a=>tp(e,o,a)))}if(n.onSnapshot){const o=`xstate.snapshot.${n.id}`;r.set(o,qf(n.onSnapshot).map(a=>tp(e,o,a)))}}for(const n of e.after){let o=r.get(n.eventType);o||(o=[],r.set(n.eventType,o)),o.push(n)}return r}function EBe(e,r){const n=typeof r=="string"?e.states[r]:r?e.states[r.target]:void 0;if(!n&&r)throw new Error(`Initial state node "${r}" not found on parent state node #${e.id}`);const o={source:e,actions:!r||typeof r=="string"?[]:Js(r.actions),eventType:null,reenter:!1,target:n?[n]:[],toJSON:()=>({...o,source:`#${e.id}`,target:n?[`#${n.id}`]:[]})};return o}function SBe(e,r){if(r!==void 0)return r.map(n=>{if(typeof n!="string")return n;if(Jw(n))return e.machine.getStateNodeById(n);const o=n[0]===uG;if(o&&!e.parent)return e2(e,n.slice(1));const a=o?e.key+n:n;if(e.parent)try{return e2(e.parent,a)}catch(i){throw new Error(`Invalid transition definition for state node '${e.id}': -${i.message}`)}else throw new Error(`Invalid target: "${n}" is not a valid target from the root node. Did you mean ".${n}"?`)})}function TG(e){const r=xG(e.config.target);return r?{target:r.map(n=>typeof n=="string"?e2(e.parent,n):n)}:e.parent.initial}function rp(e){return e.type==="history"}function RG(e){const r=AG(e);for(const n of r)for(const o of K0(n,e))r.add(o);return r}function AG(e){const r=new Set;function n(o){if(!r.has(o)){if(r.add(o),o.type==="compound")n(o.initial.target[0]);else if(o.type==="parallel")for(const a of Wf(o))n(a)}}return n(e),r}function Gf(e,r){if(Jw(r))return e.machine.getStateNodeById(r);if(!e.states)throw new Error(`Unable to retrieve child state '${r}' from '${e.id}'; no child states exist.`);const n=e.states[r];if(!n)throw new Error(`Child state '${r}' does not exist on '${e.id}'`);return n}function e2(e,r){if(typeof r=="string"&&Jw(r))try{return e.machine.getStateNodeById(r)}catch{}const n=H7(r).slice();let o=e;for(;n.length;){const a=n.shift();if(!a.length)break;o=Gf(o,a)}return o}function t2(e,r){if(typeof r=="string"){const a=e.states[r];if(!a)throw new Error(`State '${r}' does not exist on '${e.id}'`);return[e,a]}const n=Object.keys(r),o=n.map(a=>Gf(e,a)).filter(Boolean);return[e.machine.root,e].concat(o,n.reduce((a,i)=>{const l=Gf(e,i);if(!l)return a;const s=t2(l,r[i]);return a.concat(s)},[]))}function CBe(e,r,n,o){const a=Gf(e,r).next(n,o);return!a||!a.length?e.next(n,o):a}function TBe(e,r,n,o){const a=Object.keys(r),i=Gf(e,a[0]),l=X7(i,r[a[0]],n,o);return!l||!l.length?e.next(n,o):l}function RBe(e,r,n,o){const a=[];for(const i of Object.keys(r)){const l=r[i];if(!l)continue;const s=Gf(e,i),c=X7(s,l,n,o);c&&a.push(...c)}return a.length?a:e.next(n,o)}function X7(e,r,n,o){return typeof r=="string"?CBe(e,r,n,o):Object.keys(r).length===1?TBe(e,r,n,o):RBe(e,r,n,o)}function ABe(e){return Object.keys(e.states).map(r=>e.states[r]).filter(r=>r.type==="history")}function bu(e,r){let n=e;for(;n.parent&&n.parent!==r;)n=n.parent;return n.parent===r}function NBe(e,r){const n=new Set(e),o=new Set(r);for(const a of n)if(o.has(a))return!0;for(const a of o)if(n.has(a))return!0;return!1}function NG(e,r,n){const o=new Set;for(const a of e){let i=!1;const l=new Set;for(const s of o)if(NBe(Z7([a],r,n),Z7([s],r,n)))if(bu(a.source,s.source))l.add(s);else{i=!0;break}if(!i){for(const s of l)o.delete(s);o.add(a)}}return Array.from(o)}function DBe(e){const[r,...n]=e;for(const o of K0(r,void 0))if(n.every(a=>bu(a,o)))return o}function K7(e,r){if(!e.target)return[];const n=new Set;for(const o of e.target)if(rp(o))if(r[o.id])for(const a of r[o.id])n.add(a);else for(const a of K7(TG(o),r))n.add(a);else n.add(o);return[...n]}function DG(e,r){const n=K7(e,r);if(!n)return;if(!e.reenter&&n.every(a=>a===e.source||bu(a,e.source)))return e.source;const o=DBe(n.concat(e.source));if(o)return o;if(!e.reenter)return e.source.machine.root}function Z7(e,r,n){const o=new Set;for(const a of e)if(a.target?.length){const i=DG(a,n);a.reenter&&a.source===i&&o.add(i);for(const l of r)bu(l,i)&&o.add(l)}return[...o]}function PBe(e,r){if(e.length!==r.size)return!1;for(const n of e)if(!r.has(n))return!1;return!0}function Q7(e,r,n,o,a,i){if(!e.length)return r;const l=new Set(r._nodes);let s=r.historyValue;const c=NG(e,l,s);let u=r;a||([u,s]=IBe(u,o,n,c,l,s,i,n.actionExecutor)),u=Kf(u,o,n,c.flatMap(p=>p.actions),i,void 0),u=MBe(u,o,n,c,l,i,s,a);const d=[...l];u.status==="done"&&(u=Kf(u,o,n,d.sort((p,f)=>f.order-p.order).flatMap(p=>p.exit),i,void 0));try{return s===r.historyValue&&PBe(r._nodes,l)?u:np(u,{_nodes:d,historyValue:s})}catch(p){throw p}}function $Be(e,r,n,o,a){if(o.output===void 0)return;const i=F7(a.id,a.output!==void 0&&a.parent?q7(a.output,e.context,r,n.self):void 0);return q7(o.output,e.context,i,n.self)}function MBe(e,r,n,o,a,i,l,s){let c=e;const u=new Set,d=new Set;OBe(o,l,d,u),s&&d.add(e.machine.root);const p=new Set;for(const f of[...u].sort((g,b)=>g.order-b.order)){a.add(f);const g=[];g.push(...f.entry);for(const b of f.invoke)g.push(Vf(b.src,{...b,syncSnapshot:!!b.onSnapshot}));if(d.has(f)){const b=f.initial.actions;g.push(...b)}if(c=Kf(c,r,n,g,i,f.invoke.map(b=>b.id)),f.type==="final"){const b=f.parent;let x=b?.type==="parallel"?b:b?.parent,w=x||f;for(b?.type==="compound"&&i.push(F7(b.id,f.output!==void 0?q7(f.output,c.context,r,n.self):void 0));x?.type==="parallel"&&!p.has(x)&&G7(a,x);)p.add(x),i.push(F7(x.id)),w=x,x=x.parent;if(x)continue;c=np(c,{status:"done",output:$Be(c,r,n,c.machine.root,w)})}}return c}function OBe(e,r,n,o){for(const a of e){const i=DG(a,r);for(const s of a.target||[])!rp(s)&&(a.source!==s||a.source!==i||a.reenter)&&(o.add(s),n.add(s)),Xf(s,r,n,o);const l=K7(a,r);for(const s of l){const c=K0(s,i);i?.type==="parallel"&&c.push(i),PG(o,r,n,c,!a.source.parent&&a.reenter?void 0:i)}}}function Xf(e,r,n,o){if(rp(e))if(r[e.id]){const a=r[e.id];for(const i of a)o.add(i),Xf(i,r,n,o);for(const i of a)J7(i,e.parent,o,r,n)}else{const a=TG(e);for(const i of a.target)o.add(i),a===e.parent?.initial&&n.add(e.parent),Xf(i,r,n,o);for(const i of a.target)J7(i,e.parent,o,r,n)}else if(e.type==="compound"){const[a]=e.initial.target;rp(a)||(o.add(a),n.add(a)),Xf(a,r,n,o),J7(a,e,o,r,n)}else if(e.type==="parallel")for(const a of Wf(e).filter(i=>!rp(i)))[...o].some(i=>bu(i,a))||(rp(a)||(o.add(a),n.add(a)),Xf(a,r,n,o))}function PG(e,r,n,o,a){for(const i of o)if((!a||bu(i,a))&&e.add(i),i.type==="parallel")for(const l of Wf(i).filter(s=>!rp(s)))[...e].some(s=>bu(s,l))||(e.add(l),Xf(l,r,n,e))}function J7(e,r,n,o,a){PG(n,o,a,K0(e,r))}function IBe(e,r,n,o,a,i,l,s){let c=e;const u=Z7(o,a,i);u.sort((p,f)=>f.order-p.order);let d;for(const p of u)for(const f of ABe(p)){let g;f.history==="deep"?g=b=>W7(b)&&bu(b,p):g=b=>b.parent===p,d??={...i},d[f.id]=Array.from(a).filter(g)}for(const p of u)c=Kf(c,r,n,[...p.exit,...p.invoke.map(f=>yu(f.id))],l,void 0),a.delete(p);return[c,d||i]}function LBe(e,r){return e.implementations.actions[r]}function $G(e,r,n,o,a,i){const{machine:l}=e;let s=e;for(const c of o){const u=typeof c=="function",d=u?c:LBe(l,typeof c=="string"?c:c.type),p={context:s.context,event:r,self:n.self,system:n.system},f=u||typeof c=="string"?void 0:"params"in c?typeof c.params=="function"?c.params({context:s.context,event:r}):c.params:void 0;if(!d||!("resolve"in d)){n.actionExecutor({type:typeof c=="string"?c:typeof c=="object"?c.type:c.name||"(anonymous)",info:p,params:f,exec:d});continue}const g=d,[b,x,w]=g.resolve(n,s,p,f,d,a);s=b,"retryResolve"in g&&i?.push([g,x]),"execute"in g&&n.actionExecutor({type:g.type,info:p,params:x,exec:g.execute.bind(null,n,x)}),w&&(s=$G(s,r,n,w,a,i))}return s}function Kf(e,r,n,o,a,i){const l=i?[]:void 0,s=$G(e,r,n,o,{internalQueue:a,deferredActorIds:i},l);return l?.forEach(([c,u])=>{c.retryResolve(n,s,u)}),s}function eS(e,r,n,o){let a=e;const i=[];function l(u,d,p){n.system._sendInspectionEvent({type:"@xstate.microstep",actorRef:n.self,event:d,snapshot:u,_transitions:p}),i.push(u)}if(r.type===X0)return a=np(MG(a,r,n),{status:"stopped"}),l(a,r,[]),{snapshot:a,microstates:i};let s=r;if(s.type!==pG){const u=s,d=sBe(u),p=OG(u,a);if(d&&!p.length)return a=np(e,{status:"error",error:u.error}),l(a,u,[]),{snapshot:a,microstates:i};a=Q7(p,e,n,s,!1,o),l(a,u,p)}let c=!0;for(;a.status==="active";){let u=c?zBe(a,s):[];const d=u.length?a:void 0;if(!u.length){if(!o.length)break;s=o.shift(),u=OG(s,a)}a=Q7(u,a,n,s,!1,o),c=a!==d,l(a,s,u)}return a.status!=="active"&&MG(a,s,n),{snapshot:a,microstates:i}}function MG(e,r,n){return Kf(e,r,n,Object.values(e.children).map(o=>yu(o)),[],void 0)}function OG(e,r){return r.machine.getTransitionData(r,e)}function zBe(e,r){const n=new Set,o=e._nodes.filter(W7);for(const a of o)e:for(const i of[a].concat(K0(a,void 0)))if(i.always){for(const l of i.always)if(l.guard===void 0||Yf(l.guard,e.context,r,e)){n.add(l);break e}}return NG(Array.from(n),new Set(e._nodes),e.historyValue)}function BBe(e,r){const n=Qw(t2(e,r));return CG(e,[...n])}function jBe(e){return!!e&&typeof e=="object"&&"machine"in e&&"value"in e}const FBe=function(e){return mG(e,this.value)},HBe=function(e){return this.tags.has(e)},qBe=function(e){const r=this.machine.getTransitionData(this,e);return!!r?.length&&r.some(n=>n.target!==void 0||n.actions.length)},UBe=function(){const{_nodes:e,tags:r,machine:n,getMeta:o,toJSON:a,can:i,hasTag:l,matches:s,...c}=this;return{...c,tags:Array.from(r)}},VBe=function(){return this._nodes.reduce((e,r)=>(r.meta!==void 0&&(e[r.id]=r.meta),e),{})};function r2(e,r){return{status:e.status,output:e.output,error:e.error,machine:r,context:e.context,_nodes:e._nodes,value:CG(r.root,e._nodes),tags:new Set(e._nodes.flatMap(n=>n.tags)),children:e.children,historyValue:e.historyValue||{},matches:FBe,hasTag:HBe,can:qBe,getMeta:VBe,toJSON:UBe}}function np(e,r={}){return r2({...e,...r},e.machine)}function YBe(e){if(typeof e!="object"||e===null)return{};const r={};for(const n in e){const o=e[n];Array.isArray(o)&&(r[n]=o.map(a=>({id:a.id})))}return r}function WBe(e,r){const{_nodes:n,tags:o,machine:a,children:i,context:l,can:s,hasTag:c,matches:u,getMeta:d,toJSON:p,...f}=e,g={};for(const b in i){const x=i[b];g[b]={snapshot:x.getPersistedSnapshot(r),src:x.src,systemId:x._systemId,syncSnapshot:x._syncSnapshot}}return{...f,context:IG(l),children:g,historyValue:YBe(f.historyValue)}}function IG(e){let r;for(const n in e){const o=e[n];if(o&&typeof o=="object")if("sessionId"in o&&"send"in o&&"ref"in o)r??=Array.isArray(e)?e.slice():{...e},r[n]={xstate$$type:Y7,id:o.id};else{const a=IG(o);a!==o&&(r??=Array.isArray(e)?e.slice():{...e},r[n]=a)}}return r??e}function GBe(e,r,n,o,{event:a,id:i,delay:l},{internalQueue:s}){const c=r.machine.implementations.delays;if(typeof a=="string")throw new Error(`Only event objects may be used with raise; use raise({ type: "${a}" }) instead`);const u=typeof a=="function"?a(n,o):a;let d;if(typeof l=="string"){const p=c&&c[l];d=typeof p=="function"?p(n,o):p}else d=typeof l=="function"?l(n,o):l;return typeof d!="number"&&s.push(u),[r,{event:u,id:i,delay:d},void 0]}function XBe(e,r){const{event:n,delay:o,id:a}=r;if(typeof o=="number"){e.defer(()=>{const i=e.self;e.system.scheduler.schedule(i,i,n,o,a)});return}}function ln(e,r){function n(o,a){}return n.type="xstate.raise",n.event=e,n.id=r?.id,n.delay=r?.delay,n.resolve=GBe,n.execute=XBe,n}const LG=new WeakMap;function zG(e){return{config:e,start:(r,n)=>{const{self:o,system:a,emit:i}=n,l={receivers:void 0,dispose:void 0};LG.set(o,l),l.dispose=e({input:r.input,system:a,self:o,sendBack:s=>{o.getSnapshot().status!=="stopped"&&o._parent&&a._relay(o,o._parent,s)},receive:s=>{l.receivers??=new Set,l.receivers.add(s)},emit:i})},transition:(r,n,o)=>{const a=LG.get(o.self);return n.type===X0?(r={...r,status:"stopped",error:void 0},a.dispose?.(),r):(a.receivers?.forEach(i=>i(n)),r)},getInitialSnapshot:(r,n)=>({status:"active",output:void 0,error:void 0,input:n}),getPersistedSnapshot:r=>r,restoreSnapshot:r=>r}}const BG="xstate.promise.resolve",jG="xstate.promise.reject",n2=new WeakMap;function KBe(e){return{config:e,transition:(r,n,o)=>{if(r.status!=="active")return r;switch(n.type){case BG:{const a=n.data;return{...r,status:"done",output:a,input:void 0}}case jG:return{...r,status:"error",error:n.data,input:void 0};case X0:return n2.get(o.self)?.abort(),{...r,status:"stopped",input:void 0};default:return r}},start:(r,{self:n,system:o,emit:a})=>{if(r.status!=="active")return;const i=new AbortController;n2.set(n,i),Promise.resolve(e({input:r.input,system:o,self:n,signal:i.signal,emit:a})).then(l=>{n.getSnapshot().status==="active"&&(n2.delete(n),o._relay(n,n,{type:BG,data:l}))},l=>{n.getSnapshot().status==="active"&&(n2.delete(n),o._relay(n,n,{type:jG,data:l}))})},getInitialSnapshot:(r,n)=>({status:"active",output:void 0,error:void 0,input:n}),getPersistedSnapshot:r=>r,restoreSnapshot:r=>r}}function ZBe(e,{machine:r,context:n},o,a){const i=(l,s)=>{if(typeof l=="string"){const c=U7(r,l);if(!c)throw new Error(`Actor logic '${l}' not implemented in machine '${r.id}'`);const u=Uf(c,{id:s?.id,parent:e.self,syncSnapshot:s?.syncSnapshot,input:typeof s?.input=="function"?s.input({context:n,event:o,self:e.self}):s?.input,src:l,systemId:s?.systemId});return a[u.id]=u,u}else return Uf(l,{id:s?.id,parent:e.self,syncSnapshot:s?.syncSnapshot,input:s?.input,src:l,systemId:s?.systemId})};return(l,s)=>{const c=i(l,s);return a[c.id]=c,e.defer(()=>{c._processingStatus!==na.Stopped&&c.start()}),c}}function QBe(e,r,n,o,{assignment:a}){if(!r.context)throw new Error("Cannot assign to undefined `context`. Ensure that `context` is defined in the machine config.");const i={},l={context:r.context,event:n.event,spawn:ZBe(e,r,n.event,i),self:e.self,system:e.system};let s={};if(typeof a=="function")s=a(l,o);else for(const u of Object.keys(a)){const d=a[u];s[u]=typeof d=="function"?d(l,o):d}const c=Object.assign({},r.context,s);return[np(r,{context:c,children:Object.keys(i).length?{...r.children,...i}:r.children}),void 0,void 0]}function et(e){function r(n,o){}return r.type="xstate.assign",r.assignment=e,r.resolve=QBe,r}const FG=new WeakMap;function Zf(e,r,n){let o=FG.get(e);return o?r in o||(o[r]=n()):(o={[r]:n()},FG.set(e,o)),o[r]}const JBe={},Z0=e=>typeof e=="string"?{type:e}:typeof e=="function"?"resolve"in e?{type:e.type}:{type:e.name}:e;class o2{constructor(r,n){if(this.config=r,this.key=void 0,this.id=void 0,this.type=void 0,this.path=void 0,this.states=void 0,this.history=void 0,this.entry=void 0,this.exit=void 0,this.parent=void 0,this.machine=void 0,this.meta=void 0,this.output=void 0,this.order=-1,this.description=void 0,this.tags=[],this.transitions=void 0,this.always=void 0,this.parent=n._parent,this.key=n._key,this.machine=n._machine,this.path=this.parent?this.parent.path.concat(this.key):[],this.id=this.config.id||[this.machine.id,...this.path].join(uG),this.type=this.config.type||(this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.description=this.config.description,this.order=this.machine.idMap.size,this.machine.idMap.set(this.id,this),this.states=this.config.states?yG(this.config.states,(o,a)=>new o2(o,{_parent:this,_key:a,_machine:this.machine})):JBe,this.type==="compound"&&!this.config.initial)throw new Error(`No initial state specified for compound state node "#${this.id}". Try adding { initial: "${Object.keys(this.states)[0]}" } to the state config.`);this.history=this.config.history===!0?"shallow":this.config.history||!1,this.entry=Js(this.config.entry).slice(),this.exit=Js(this.config.exit).slice(),this.meta=this.config.meta,this.output=this.type==="final"||!this.parent?this.config.output:void 0,this.tags=Js(r.tags).slice()}_initialize(){this.transitions=_Be(this),this.config.always&&(this.always=qf(this.config.always).map(r=>tp(this,dG,r))),Object.keys(this.states).forEach(r=>{this.states[r]._initialize()})}get definition(){return{id:this.id,key:this.key,version:this.machine.version,type:this.type,initial:this.initial?{target:this.initial.target,source:this,actions:this.initial.actions.map(Z0),eventType:null,reenter:!1,toJSON:()=>({target:this.initial.target.map(r=>`#${r.id}`),source:`#${this.id}`,actions:this.initial.actions.map(Z0),eventType:null})}:void 0,history:this.history,states:yG(this.states,r=>r.definition),on:this.on,transitions:[...this.transitions.values()].flat().map(r=>({...r,actions:r.actions.map(Z0)})),entry:this.entry.map(Z0),exit:this.exit.map(Z0),meta:this.meta,order:this.order||-1,output:this.output,invoke:this.invoke,description:this.description,tags:this.tags}}toJSON(){return this.definition}get invoke(){return Zf(this,"invoke",()=>Js(this.config.invoke).map((r,n)=>{const{src:o,systemId:a}=r,i=r.id??wG(this.id,n),l=typeof o=="string"?o:`xstate.invoke.${wG(this.id,n)}`;return{...r,src:l,id:i,systemId:a,toJSON(){const{onDone:s,onError:c,...u}=r;return{...u,type:"xstate.invoke",src:l,id:i}}}}))}get on(){return Zf(this,"on",()=>[...this.transitions].flatMap(([r,n])=>n.map(o=>[r,o])).reduce((r,[n,o])=>(r[n]=r[n]||[],r[n].push(o),r),{}))}get after(){return Zf(this,"delayedTransitions",()=>kBe(this))}get initial(){return Zf(this,"initial",()=>EBe(this,this.config.initial))}next(r,n){const o=n.type,a=[];let i;const l=Zf(this,`candidates-${o}`,()=>wBe(this,o));for(const s of l){const{guard:c}=s,u=r.context;let d=!1;try{d=!c||Yf(c,u,n,r)}catch(p){const f=typeof c=="string"?c:typeof c=="object"?c.type:void 0;throw new Error(`Unable to evaluate guard ${f?`'${f}' `:""}in transition for event '${o}' in state node '${this.id}': -${p.message}`)}if(d){a.push(...s.actions),i=s;break}}return i?[i]:void 0}get events(){return Zf(this,"events",()=>{const{states:r}=this,n=new Set(this.ownEvents);if(r)for(const o of Object.keys(r)){const a=r[o];if(a.states)for(const i of a.events)n.add(`${i}`)}return Array.from(n)})}get ownEvents(){const r=new Set([...this.transitions.keys()].filter(n=>this.transitions.get(n).some(o=>!(!o.target&&!o.actions.length&&!o.reenter))));return Array.from(r)}}const eje="#";class tS{constructor(r,n){this.config=r,this.version=void 0,this.schemas=void 0,this.implementations=void 0,this.__xstatenode=!0,this.idMap=new Map,this.root=void 0,this.id=void 0,this.states=void 0,this.events=void 0,this.id=r.id||"(machine)",this.implementations={actors:n?.actors??{},actions:n?.actions??{},delays:n?.delays??{},guards:n?.guards??{}},this.version=this.config.version,this.schemas=this.config.schemas,this.transition=this.transition.bind(this),this.getInitialSnapshot=this.getInitialSnapshot.bind(this),this.getPersistedSnapshot=this.getPersistedSnapshot.bind(this),this.restoreSnapshot=this.restoreSnapshot.bind(this),this.start=this.start.bind(this),this.root=new o2(r,{_key:this.id,_machine:this}),this.root._initialize(),this.states=this.root.states,this.events=this.root.events}provide(r){const{actions:n,guards:o,actors:a,delays:i}=this.implementations;return new tS(this.config,{actions:{...n,...r.actions},guards:{...o,...r.guards},actors:{...a,...r.actors},delays:{...i,...r.delays}})}resolveState(r){const n=BBe(this.root,r.value),o=Qw(t2(this.root,n));return r2({_nodes:[...o],context:r.context||{},children:{},status:G7(o,this.root)?"done":r.status||"active",output:r.output,error:r.error,historyValue:r.historyValue},this)}transition(r,n,o){return eS(r,n,o,[]).snapshot}microstep(r,n,o){return eS(r,n,o,[]).microstates}getTransitionData(r,n){return X7(this.root,r.value,r,n)||[]}getPreInitialState(r,n,o){const{context:a}=this.config,i=r2({context:typeof a!="function"&&a?a:{},_nodes:[this.root],children:{},status:"active"},this);return typeof a=="function"?Kf(i,n,r,[et(({spawn:l,event:s,self:c})=>a({spawn:l,input:s.input,self:c}))],o,void 0):i}getInitialSnapshot(r,n){const o=fG(n),a=[],i=this.getPreInitialState(r,o,a),l=Q7([{target:[...AG(this.root)],source:this.root,reenter:!0,actions:[],eventType:null,toJSON:null}],i,r,o,!0,a),{snapshot:s}=eS(l,o,r,a);return s}start(r){Object.values(r.children).forEach(n=>{n.getSnapshot().status==="active"&&n.start()})}getStateNodeById(r){const n=H7(r),o=n.slice(1),a=Jw(n[0])?n[0].slice(eje.length):n[0],i=this.idMap.get(a);if(!i)throw new Error(`Child state node '#${a}' does not exist on machine '${this.id}'`);return e2(i,o)}get definition(){return this.root.definition}toJSON(){return this.definition}getPersistedSnapshot(r,n){return WBe(r,n)}restoreSnapshot(r,n){const o={},a=r.children;Object.keys(a).forEach(p=>{const f=a[p],g=f.snapshot,b=f.src,x=typeof b=="string"?U7(this,b):b;if(!x)return;const w=Uf(x,{id:p,parent:n.self,syncSnapshot:f.syncSnapshot,snapshot:g,src:b,systemId:f.systemId});o[p]=w});function i(p,f){if(f instanceof o2)return f;try{return p.machine.getStateNodeById(f.id)}catch{}}function l(p,f){if(!f||typeof f!="object")return{};const g={};for(const b in f){const x=f[b];for(const w of x){const k=i(p,w);k&&(g[b]??=[],g[b].push(k))}}return g}const s=l(this.root,r.historyValue),c=r2({...r,children:o,_nodes:Array.from(Qw(t2(this.root,r.value))),historyValue:s},this),u=new Set;function d(p,f){if(!u.has(p)){u.add(p);for(const g in p){const b=p[g];if(b&&typeof b=="object"){if("xstate$$type"in b&&b.xstate$$type===Y7){p[g]=f[b.id];continue}d(b,f)}}}}return d(c.context,o),c}}function tje(e,r,n,o,{event:a}){const i=typeof a=="function"?a(n,o):a;return[r,{event:i},void 0]}function rje(e,{event:r}){e.defer(()=>e.emit(r))}function ui(e){function r(n,o){}return r.type="xstate.emit",r.event=e,r.resolve=tje,r.execute=rje,r}let rS=(function(e){return e.Parent="#_parent",e.Internal="#_internal",e})({});function nje(e,r,n,o,{to:a,event:i,id:l,delay:s},c){const u=r.machine.implementations.delays;if(typeof i=="string")throw new Error(`Only event objects may be used with sendTo; use sendTo({ type: "${i}" }) instead`);const d=typeof i=="function"?i(n,o):i;let p;if(typeof s=="string"){const b=u&&u[s];p=typeof b=="function"?b(n,o):b}else p=typeof s=="function"?s(n,o):s;const f=typeof a=="function"?a(n,o):a;let g;if(typeof f=="string"){if(f===rS.Parent?g=e.self._parent:f===rS.Internal?g=e.self:f.startsWith("#_")?g=r.children[f.slice(2)]:g=c.deferredActorIds?.includes(f)?f:r.children[f],!g)throw new Error(`Unable to send event to actor '${f}' from machine '${r.machine.id}'.`)}else g=f||e.self;return[r,{to:g,targetId:typeof f=="string"?f:void 0,event:d,id:l,delay:p},void 0]}function oje(e,r,n){typeof n.to=="string"&&(n.to=r.children[n.to])}function aje(e,r){e.defer(()=>{const{to:n,event:o,delay:a,id:i}=r;if(typeof a=="number"){e.system.scheduler.schedule(e.self,n,o,a,i);return}e.system._relay(e.self,n,o.type===nBe?hG(e.self.id,o.data):o)})}function is(e,r,n){function o(a,i){}return o.type="xstate.sendTo",o.to=e,o.event=r,o.id=n?.id,o.delay=n?.delay,o.resolve=nje,o.retryResolve=oje,o.execute=aje,o}function ije(e,r){return is(rS.Parent,e,r)}function lje(e,r,n,o,{collect:a}){const i=[],l=function(s){i.push(s)};return l.assign=(...s)=>{i.push(et(...s))},l.cancel=(...s)=>{i.push(oa(...s))},l.raise=(...s)=>{i.push(ln(...s))},l.sendTo=(...s)=>{i.push(is(...s))},l.sendParent=(...s)=>{i.push(ije(...s))},l.spawnChild=(...s)=>{i.push(Vf(...s))},l.stopChild=(...s)=>{i.push(yu(...s))},l.emit=(...s)=>{i.push(ui(...s))},a({context:n.context,event:n.event,enqueue:l,check:s=>Yf(s,r.context,n.event,r),self:e.self,system:e.system},o),[r,void 0,i]}function sn(e){function r(n,o){}return r.type="xstate.enqueueActions",r.collect=e,r.resolve=lje,r}function qt(e,r){const n=Js(r);if(!n.includes(e.type)){const o=n.length===1?`type "${n[0]}"`:`one of types "${n.join('", "')}"`;throw new Error(`Expected event ${JSON.stringify(e)} to have ${o}`)}}function sje(e,r){return new tS(e,r)}function ec({schemas:e,actors:r,actions:n,guards:o,delays:a}){return{createMachine:i=>sje({...i,schemas:e},{actors:r,actions:n,guards:o,delays:a})}}DH();const HG=(e,r)=>{r(e);const n=e.getSnapshot().children;n&&Object.values(n).forEach(o=>{HG(o,r)})};function cje(e){const r=[];HG(e,o=>{r.push([o,o.getSnapshot()]),o.observers=new Set});const n=e.system.getSnapshot?.();e.stop(),e.system._snapshot=n,r.forEach(([o,a])=>{o._processingStatus=0,o._snapshot=a})}function uje(e,...[r]){let[[n,o],a]=E.useState(()=>{const i=Uf(e,r);return[e.config,i]});if(e.config!==n){const i=Uf(e,{...r,snapshot:o.getPersistedSnapshot({__unsafeAllowInlineActors:!0})});a([e.config,i]),o=i}return ELe(()=>{o.logic.implementations=e.implementations}),o}function nS(e,...[r,n]){const o=uje(e,r);return E.useEffect(()=>{if(!n)return;const a=o.subscribe(Kw(n));return()=>{a.unsubscribe()}},[n]),E.useEffect(()=>(o.start(),()=>{cje(o)}),[o]),o}function dje(e,r){return e===r}function wn(e,r,n=dje){const o=E.useCallback(i=>{if(!e)return()=>{};const{unsubscribe:l}=e.subscribe(i);return l},[e]),a=E.useCallback(()=>e?.getSnapshot(),[e]);return MH.useSyncExternalStoreWithSelector(o,a,a,r,n)}function tc(e){return{get overlaysActorRef(){return e.get("overlays")??null},get diagramActorRef(){return e.get("diagram")??null},get searchActorRef(){return e.get("search")??null}}}function Qf(e,r){return e.view.nodes.find(n=>n.id===r)??null}function oS(e,r){return e.view.edges.find(n=>n.id===r)??null}function pje(e){const r=new Map,n=e.context.xynodes.reduce((o,a)=>{let i=a.position;if(a.parentId){const c=r.get(a.parentId)??{x:0,y:0};i={x:i.x+c.x,y:i.y+c.y}}if(r.set(a.id,i),a.hidden||a.data.dimmed)return o;const l=a.measured?.width??a.width??a.initialWidth,s=a.measured?.height??a.height??a.initialHeight;return o.minX=Math.min(o.minX,i.x),o.minY=Math.min(o.minY,i.y),o.maxX=Math.max(o.maxX,i.x+l),o.maxY=Math.max(o.maxY,i.y+s),o},{minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0});return n.minX===1/0?{bounds:e.context.view.bounds}:{duration:350,bounds:{x:n.minX-10,y:n.minY-10,width:n.maxX-n.minX+20,height:n.maxY-n.minY+20}}}const hje=32;function fje(e){const r=mt(e.context.activeWalkthrough),n=mt(e.context.xyedges.find(c=>c.id===r.stepId)),o=e.context.xystore.getState(),a=mt(o.nodeLookup.get(n.source)),i=mt(o.nodeLookup.get(n.target)),l=VF([a,i],o);let s;if(r.parallelPrefix){const c=e.context.xynodes.find(u=>u.type==="seq-parallel"&&u.data.parallelPrefix===r.parallelPrefix);c&&(s={x:c.position.x,y:c.position.y,...Wn(c)})}return s??=mje(n,o),s?s=Qc.merge(s,l):s=l,{duration:350,bounds:Qc.expand(s,hje)}}function mje(e,r){const n=r.nodeLookup.get(e.source),o=r.nodeLookup.get(e.target);if(!n||!o)return null;const a=dH({id:e.id,sourceNode:n,targetNode:o,sourceHandle:e.sourceHandle||null,targetHandle:e.targetHandle||null,connectionMode:r.connectionMode});return a?Qc.fromPoints([[a.sourceX,a.sourceY],[a.targetX,a.targetY]]):null}const aS=E.createContext(null);aS.displayName="DiagramActorSafeContext";const gje=aS.Provider,Jf=()=>{const e=E.useContext(aS);if(e===null)throw new Error("DiagramActorRef is not provided");return e};function Wt(){const e=Jf();return E.useMemo(()=>({actor:e,send:r=>e.send(r),navigateTo:(r,n)=>{e.send({type:"navigate.to",viewId:r,...n&&{fromNode:n}})},navigate:r=>{e.send({type:`navigate.${r}`})},fitDiagram:(r=350)=>{e.send({type:"fitDiagram",duration:r})},openRelationshipsBrowser:r=>{e.send({type:"open.relationshipsBrowser",fqn:r})},openSource:r=>{e.send({type:"open.source",...r})},openElementDetails:(r,n)=>{e.send({type:"open.elementDetails",fqn:r,fromNode:n})},openRelationshipDetails:(...r)=>{r.length===1?e.send({type:"open.relationshipDetails",params:{edgeId:r[0]}}):e.send({type:"open.relationshipDetails",params:{source:r[0],target:r[1]}})},updateNodeData:(r,n)=>{e.send({type:"update.nodeData",nodeId:r,data:n})},updateEdgeData:(r,n)=>{e.send({type:"update.edgeData",edgeId:r,data:n})},scheduleSaveManualLayout:()=>{e.send({type:"saveManualLayout.schedule"})},cancelSaveManualLayout:()=>{const r=e.getSnapshot().children.syncLayout?.getSnapshot().value;return e.send({type:"saveManualLayout.cancel"}),r==="pending"||r==="paused"},align:r=>{e.send({type:"layout.align",mode:r})},resetEdgeControlPoints:()=>{e.send({type:"layout.resetEdgeControlPoints"})},focusNode:r=>{e.send({type:"focus.node",nodeId:r})},get currentView(){return e.getSnapshot().context.view},getSnapshot:()=>e.getSnapshot(),getContext:()=>e.getSnapshot().context,findDiagramNode:r=>Qf(e.getSnapshot().context,r),findEdge:r=>e.getSnapshot().context.xyedges.find(n=>n.data.id===r)??null,findDiagramEdge:r=>oS(e.getSnapshot().context,r),startWalkthrough:()=>{e.send({type:"walkthrough.start"})},walkthroughStep:(r="next")=>{e.send({type:"walkthrough.step",direction:r})},stopWalkthrough:()=>{e.send({type:"walkthrough.end"})},toggleFeature:(r,n)=>{e.send({type:"toggle.feature",feature:r,...n!==void 0&&{forceValue:n}})},highlightNotation:(r,n)=>{e.send({type:"notations.highlight",notation:r,...n&&{kind:n}})},unhighlightNotation:()=>{e.send({type:"notations.unhighlight"})},openSearch:r=>{e.send({type:"open.search",...r&&{search:r}})},switchDynamicViewVariant:r=>{e.send({type:"switch.dynamicViewVariant",variant:r})}}),[e])}function qG(e,r=Gn){const n=Jf();return wn(n,it(e),r)}function Da(e,r=Gn,n){const o=Jf(),a=E.useCallback(i=>e(i.context),n??[]);return wn(o,a,r)}function il(e,r){const n=Jf(),o=E.useRef(r);o.current=r,E.useEffect(()=>{const a=n.on(e,i=>{o.current(i)});return()=>{a.unsubscribe()}},[n])}const yje=e=>e.children.overlays;function UG(){return qG(yje,Object.is)}const bje=e=>e.children.search??null;function vje(){return qG(bje,Object.is)}function iS(e,r){e.indexOf(r)===-1&&e.push(r)}function a2(e,r){const n=e.indexOf(r);n>-1&&e.splice(n,1)}const rc=(e,r,n)=>n>r?r:n{};const nc={},VG=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function YG(e){return typeof e=="object"&&e!==null}const WG=e=>/^0[^.\s]+$/u.test(e);function sS(e){let r;return()=>(r===void 0&&(r=e()),r)}const di=e=>e,xje=(e,r)=>n=>r(e(n)),Q0=(...e)=>e.reduce(xje),em=(e,r,n)=>{const o=r-e;return o===0?1:(n-e)/o};class cS{constructor(){this.subscriptions=[]}add(r){return iS(this.subscriptions,r),()=>a2(this.subscriptions,r)}notify(r,n,o){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](r,n,o);else for(let i=0;ie*1e3,pi=e=>e/1e3;function GG(e,r){return r?e*(1e3/r):0}const wje=(e,r,n)=>{const o=r-e;return((n-e)%o+o)%o+e},XG=(e,r,n)=>(((1-3*n+3*r)*e+(3*n-6*r))*e+3*r)*e,kje=1e-7,_je=12;function Eje(e,r,n,o,a){let i,l,s=0;do l=r+(n-r)/2,i=XG(l,o,a)-e,i>0?n=l:r=l;while(Math.abs(i)>kje&&++s<_je);return l}function J0(e,r,n,o){if(e===r&&n===o)return di;const a=i=>Eje(i,0,1,e,n);return i=>i===0||i===1?i:XG(a(i),r,o)}const KG=e=>r=>r<=.5?e(2*r)/2:(2-e(2*(1-r)))/2,ZG=e=>r=>1-e(1-r),QG=J0(.33,1.53,.69,.99),uS=ZG(QG),JG=KG(uS),eX=e=>(e*=2)<1?.5*uS(e):.5*(2-Math.pow(2,-10*(e-1))),dS=e=>1-Math.sin(Math.acos(e)),tX=ZG(dS),rX=KG(dS),Sje=J0(.42,0,1,1),Cje=J0(0,0,.58,1),nX=J0(.42,0,.58,1),oX=e=>Array.isArray(e)&&typeof e[0]!="number";function aX(e,r){return oX(e)?e[wje(0,e.length,r)]:e}const iX=e=>Array.isArray(e)&&typeof e[0]=="number",Tje={linear:di,easeIn:Sje,easeInOut:nX,easeOut:Cje,circIn:dS,circInOut:rX,circOut:tX,backIn:uS,backInOut:JG,backOut:QG,anticipate:eX},Rje=e=>typeof e=="string",lX=e=>{if(iX(e)){lS(e.length===4);const[r,n,o,a]=e;return J0(r,n,o,a)}else if(Rje(e))return Tje[e];return e},i2=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Aje(e,r){let n=new Set,o=new Set,a=!1,i=!1;const l=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function c(d){l.has(d)&&(u.schedule(d),e()),d(s)}const u={schedule:(d,p=!1,f=!1)=>{const g=f&&a?n:o;return p&&l.add(d),g.has(d)||g.add(d),d},cancel:d=>{o.delete(d),l.delete(d)},process:d=>{if(s=d,a){i=!0;return}a=!0,[n,o]=[o,n],n.forEach(c),n.clear(),a=!1,i&&(i=!1,u.process(d))}};return u}const Nje=40;function sX(e,r){let n=!1,o=!0;const a={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,l=i2.reduce((k,C)=>(k[C]=Aje(i),k),{}),{setup:s,read:c,resolveKeyframes:u,preUpdate:d,update:p,preRender:f,render:g,postRender:b}=l,x=()=>{const k=nc.useManualTiming?a.timestamp:performance.now();n=!1,nc.useManualTiming||(a.delta=o?1e3/60:Math.max(Math.min(k-a.timestamp,Nje),1)),a.timestamp=k,a.isProcessing=!0,s.process(a),c.process(a),u.process(a),d.process(a),p.process(a),f.process(a),g.process(a),b.process(a),a.isProcessing=!1,n&&r&&(o=!1,e(x))},w=()=>{n=!0,o=!0,a.isProcessing||e(x)};return{schedule:i2.reduce((k,C)=>{const _=l[C];return k[C]=(T,R=!1,A=!1)=>(n||w(),_.schedule(T,R,A)),k},{}),cancel:k=>{for(let C=0;C(l2===void 0&&aa.set(mo.isProcessing||nc.useManualTiming?mo.timestamp:performance.now()),l2),set:e=>{l2=e,queueMicrotask(Dje)}},cX=e=>r=>typeof r=="string"&&r.startsWith(e),hS=cX("--"),Pje=cX("var(--"),fS=e=>Pje(e)?$je.test(e.split("/*")[0].trim()):!1,$je=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,tm={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ey={...tm,transform:e=>rc(0,1,e)},s2={...tm,default:1},ty=e=>Math.round(e*1e5)/1e5,mS=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Mje(e){return e==null}const Oje=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,gS=(e,r)=>n=>!!(typeof n=="string"&&Oje.test(n)&&n.startsWith(e)||r&&!Mje(n)&&Object.prototype.hasOwnProperty.call(n,r)),uX=(e,r,n)=>o=>{if(typeof o!="string")return o;const[a,i,l,s]=o.match(mS);return{[e]:parseFloat(a),[r]:parseFloat(i),[n]:parseFloat(l),alpha:s!==void 0?parseFloat(s):1}},Ije=e=>rc(0,255,e),yS={...tm,transform:e=>Math.round(Ije(e))},op={test:gS("rgb","red"),parse:uX("red","green","blue"),transform:({red:e,green:r,blue:n,alpha:o=1})=>"rgba("+yS.transform(e)+", "+yS.transform(r)+", "+yS.transform(n)+", "+ty(ey.transform(o))+")"};function Lje(e){let r="",n="",o="",a="";return e.length>5?(r=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),a=e.substring(7,9)):(r=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),a=e.substring(4,5),r+=r,n+=n,o+=o,a+=a),{red:parseInt(r,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:a?parseInt(a,16)/255:1}}const bS={test:gS("#"),parse:Lje,transform:op.transform},ry=e=>({test:r=>typeof r=="string"&&r.endsWith(e)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${e}`}),xu=ry("deg"),ls=ry("%"),vt=ry("px"),zje=ry("vh"),Bje=ry("vw"),dX={...ls,parse:e=>ls.parse(e)/100,transform:e=>ls.transform(e*100)},rm={test:gS("hsl","hue"),parse:uX("hue","saturation","lightness"),transform:({hue:e,saturation:r,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+ls.transform(ty(r))+", "+ls.transform(ty(n))+", "+ty(ey.transform(o))+")"},kn={test:e=>op.test(e)||bS.test(e)||rm.test(e),parse:e=>op.test(e)?op.parse(e):rm.test(e)?rm.parse(e):bS.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?op.transform(e):rm.transform(e),getAnimatableNone:e=>{const r=kn.parse(e);return r.alpha=0,kn.transform(r)}},jje=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Fje(e){return isNaN(e)&&typeof e=="string"&&(e.match(mS)?.length||0)+(e.match(jje)?.length||0)>0}const pX="number",hX="color",Hje="var",qje="var(",fX="${}",Uje=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ny(e){const r=e.toString(),n=[],o={color:[],number:[],var:[]},a=[];let i=0;const l=r.replace(Uje,s=>(kn.test(s)?(o.color.push(i),a.push(hX),n.push(kn.parse(s))):s.startsWith(qje)?(o.var.push(i),a.push(Hje),n.push(s)):(o.number.push(i),a.push(pX),n.push(parseFloat(s))),++i,fX)).split(fX);return{values:n,split:l,indexes:o,types:a}}function mX(e){return ny(e).values}function gX(e){const{split:r,types:n}=ny(e),o=r.length;return a=>{let i="";for(let l=0;ltypeof e=="number"?0:kn.test(e)?kn.getAnimatableNone(e):e;function Yje(e){const r=mX(e);return gX(e)(r.map(Vje))}const wu={test:Fje,parse:mX,createTransformer:gX,getAnimatableNone:Yje};function vS(e,r,n){return n<0&&(n+=1),n>1&&(n-=1),n<.16666666666666666?e+(r-e)*6*n:n<.5?r:n<.6666666666666666?e+(r-e)*(.6666666666666666-n)*6:e}function Wje({hue:e,saturation:r,lightness:n,alpha:o}){e/=360,r/=100,n/=100;let a=0,i=0,l=0;if(!r)a=i=l=n;else{const s=n<.5?n*(1+r):n+r-n*r,c=2*n-s;a=vS(c,s,e+.3333333333333333),i=vS(c,s,e),l=vS(c,s,e-.3333333333333333)}return{red:Math.round(a*255),green:Math.round(i*255),blue:Math.round(l*255),alpha:o}}function c2(e,r){return n=>n>0?r:e}const Ir=(e,r,n)=>e+(r-e)*n,xS=(e,r,n)=>{const o=e*e,a=n*(r*r-o)+o;return a<0?0:Math.sqrt(a)},Gje=[bS,op,rm],Xje=e=>Gje.find(r=>r.test(e));function yX(e){const r=Xje(e);if(!r)return!1;let n=r.parse(e);return r===rm&&(n=Wje(n)),n}const bX=(e,r)=>{const n=yX(e),o=yX(r);if(!n||!o)return c2(e,r);const a={...n};return i=>(a.red=xS(n.red,o.red,i),a.green=xS(n.green,o.green,i),a.blue=xS(n.blue,o.blue,i),a.alpha=Ir(n.alpha,o.alpha,i),op.transform(a))},wS=new Set(["none","hidden"]);function Kje(e,r){return wS.has(e)?n=>n<=0?e:r:n=>n>=1?r:e}function Zje(e,r){return n=>Ir(e,r,n)}function kS(e){return typeof e=="number"?Zje:typeof e=="string"?fS(e)?c2:kn.test(e)?bX:eFe:Array.isArray(e)?vX:typeof e=="object"?kn.test(e)?bX:Qje:c2}function vX(e,r){const n=[...e],o=n.length,a=e.map((i,l)=>kS(i)(i,r[l]));return i=>{for(let l=0;l{for(const i in o)n[i]=o[i](a);return n}}function Jje(e,r){const n=[],o={color:0,var:0,number:0};for(let a=0;a{const n=wu.createTransformer(r),o=ny(e),a=ny(r);return o.indexes.var.length===a.indexes.var.length&&o.indexes.color.length===a.indexes.color.length&&o.indexes.number.length>=a.indexes.number.length?wS.has(e)&&!a.values.length||wS.has(r)&&!o.values.length?Kje(e,r):Q0(vX(Jje(o,a),a.values),n):c2(e,r)};function xX(e,r,n){return typeof e=="number"&&typeof r=="number"&&typeof n=="number"?Ir(e,r,n):kS(e)(e,r)}const tFe=e=>{const r=({timestamp:n})=>e(n);return{start:(n=!0)=>$r.update(r,n),stop:()=>vu(r),now:()=>mo.isProcessing?mo.timestamp:aa.now()}},wX=(e,r,n=10)=>{let o="";const a=Math.max(Math.round(r/n),2);for(let i=0;i=u2?1/0:r}function kX(e,r=100,n){const o=n({...e,keyframes:[0,r]}),a=Math.min(_S(o),u2);return{type:"keyframes",ease:i=>o.next(a*i).value/r,duration:pi(a)}}const rFe=5;function _X(e,r,n){const o=Math.max(r-rFe,0);return GG(n-e(o),r-o)}const Kr={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},ES=.001;function nFe({duration:e=Kr.duration,bounce:r=Kr.bounce,velocity:n=Kr.velocity,mass:o=Kr.mass}){let a,i,l=1-r;l=rc(Kr.minDamping,Kr.maxDamping,l),e=rc(Kr.minDuration,Kr.maxDuration,pi(e)),l<1?(a=u=>{const d=u*l,p=d*e,f=d-n,g=SS(u,l),b=Math.exp(-p);return ES-f/g*b},i=u=>{const d=u*l*e,p=d*n+n,f=Math.pow(l,2)*Math.pow(u,2)*e,g=Math.exp(-d),b=SS(Math.pow(u,2),l);return(-a(u)+ES>0?-1:1)*((p-f)*g)/b}):(a=u=>{const d=Math.exp(-u*e),p=(u-n)*e+1;return-ES+d*p},i=u=>{const d=Math.exp(-u*e),p=(n-u)*(e*e);return d*p});const s=5/e,c=aFe(a,i,s);if(e=ll(e),isNaN(c))return{stiffness:Kr.stiffness,damping:Kr.damping,duration:e};{const u=Math.pow(c,2)*o;return{stiffness:u,damping:l*2*Math.sqrt(o*u),duration:e}}}const oFe=12;function aFe(e,r,n){let o=n;for(let a=1;ae[n]!==void 0)}function sFe(e){let r={velocity:Kr.velocity,stiffness:Kr.stiffness,damping:Kr.damping,mass:Kr.mass,isResolvedFromDuration:!1,...e};if(!EX(e,lFe)&&EX(e,iFe))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(n*1.2),a=o*o,i=2*rc(.05,1,1-(e.bounce||0))*Math.sqrt(a);r={...r,mass:Kr.mass,stiffness:a,damping:i}}else{const n=nFe(e);r={...r,...n,mass:Kr.mass},r.isResolvedFromDuration=!0}return r}function oy(e=Kr.visualDuration,r=Kr.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:r}:e;let{restSpeed:o,restDelta:a}=n;const i=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],s={done:!1,value:i},{stiffness:c,damping:u,mass:d,duration:p,velocity:f,isResolvedFromDuration:g}=sFe({...n,velocity:-pi(n.velocity||0)}),b=f||0,x=u/(2*Math.sqrt(c*d)),w=l-i,k=pi(Math.sqrt(c/d)),C=Math.abs(w)<5;o||(o=C?Kr.restSpeed.granular:Kr.restSpeed.default),a||(a=C?Kr.restDelta.granular:Kr.restDelta.default);let _;if(x<1){const R=SS(k,x);_=A=>{const D=Math.exp(-x*k*A);return l-D*((b+x*k*w)/R*Math.sin(R*A)+w*Math.cos(R*A))}}else if(x===1)_=R=>l-Math.exp(-k*R)*(w+(b+k*w)*R);else{const R=k*Math.sqrt(x*x-1);_=A=>{const D=Math.exp(-x*k*A),N=Math.min(R*A,300);return l-D*((b+x*k*w)*Math.sinh(N)+R*w*Math.cosh(N))/R}}const T={calculatedDuration:g&&p||null,next:R=>{const A=_(R);if(g)s.done=R>=p;else{let D=R===0?b:0;x<1&&(D=R===0?ll(b):_X(_,R,A));const N=Math.abs(D)<=o,$=Math.abs(l-A)<=a;s.done=N&&$}return s.value=s.done?l:A,s},toString:()=>{const R=Math.min(_S(T),u2),A=wX(D=>T.next(R*D).value,R,30);return R+"ms "+A},toTransition:()=>{}};return T}oy.applyToOptions=e=>{const r=kX(e,100,oy);return e.ease=r.ease,e.duration=ll(r.duration),e.type="keyframes",e};function CS({keyframes:e,velocity:r=0,power:n=.8,timeConstant:o=325,bounceDamping:a=10,bounceStiffness:i=500,modifyTarget:l,min:s,max:c,restDelta:u=.5,restSpeed:d}){const p=e[0],f={done:!1,value:p},g=N=>s!==void 0&&Nc,b=N=>s===void 0?c:c===void 0||Math.abs(s-N)-x*Math.exp(-N/o),_=N=>k+C(N),T=N=>{const $=C(N),M=_(N);f.done=Math.abs($)<=u,f.value=f.done?k:M};let R,A;const D=N=>{g(f.value)&&(R=N,A=oy({keyframes:[f.value,b(f.value)],velocity:_X(_,N,f.value),damping:a,stiffness:i,restDelta:u,restSpeed:d}))};return D(0),{calculatedDuration:null,next:N=>{let $=!1;return!A&&R===void 0&&($=!0,T(N),D(N)),R!==void 0&&N>=R?A.next(N-R):(!$&&T(N),f)}}}function cFe(e,r,n){const o=[],a=n||nc.mix||xX,i=e.length-1;for(let l=0;lr[0];if(i===2&&r[0]===r[1])return()=>r[1];const l=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),r=[...r].reverse());const s=cFe(r,o,a),c=s.length,u=d=>{if(l&&d1)for(;pu(rc(e[0],e[i-1],d)):u}function SX(e,r){const n=e[e.length-1];for(let o=1;o<=r;o++){const a=em(0,r,o);e.push(Ir(n,1,a))}}function CX(e){const r=[0];return SX(r,e.length-1),r}function dFe(e,r){return e.map(n=>n*r)}function pFe(e,r){return e.map(()=>r||nX).splice(0,e.length-1)}function ay({duration:e=300,keyframes:r,times:n,ease:o="easeInOut"}){const a=oX(o)?o.map(lX):lX(o),i={done:!1,value:r[0]},l=dFe(n&&n.length===r.length?n:CX(r),e),s=uFe(l,r,{ease:Array.isArray(a)?a:pFe(r,a)});return{calculatedDuration:e,next:c=>(i.value=s(c),i.done=c>=e,i)}}const hFe=e=>e!==null;function TS(e,{repeat:r,repeatType:n="loop"},o,a=1){const i=e.filter(hFe),l=a<0||r&&n!=="loop"&&r%2===1?0:i.length-1;return!l||o===void 0?i[l]:o}const fFe={decay:CS,inertia:CS,tween:ay,keyframes:ay,spring:oy};function TX(e){typeof e.type=="string"&&(e.type=fFe[e.type])}class RS{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(r=>{this.resolve=r})}notifyFinished(){this.resolve()}then(r,n){return this.finished.then(r,n)}}const mFe=e=>e/100;class AS extends RS{constructor(r){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==aa.now()&&this.tick(aa.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=r,this.initAnimation(),this.play(),r.autoplay===!1&&this.pause()}initAnimation(){const{options:r}=this;TX(r);const{type:n=ay,repeat:o=0,repeatDelay:a=0,repeatType:i,velocity:l=0}=r;let{keyframes:s}=r;const c=n||ay;c!==ay&&typeof s[0]!="number"&&(this.mixKeyframes=Q0(mFe,xX(s[0],s[1])),s=[0,100]);const u=c({...r,keyframes:s});i==="mirror"&&(this.mirroredGenerator=c({...r,keyframes:[...s].reverse(),velocity:-l})),u.calculatedDuration===null&&(u.calculatedDuration=_S(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+a,this.totalDuration=this.resolvedDuration*(o+1)-a,this.generator=u}updateTime(r){const n=Math.round(r-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(r,n=!1){const{generator:o,totalDuration:a,mixKeyframes:i,mirroredGenerator:l,resolvedDuration:s,calculatedDuration:c}=this;if(this.startTime===null)return o.next(0);const{delay:u=0,keyframes:d,repeat:p,repeatType:f,repeatDelay:g,type:b,onUpdate:x,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,r):this.speed<0&&(this.startTime=Math.min(r-a/this.speed,this.startTime)),n?this.currentTime=r:this.updateTime(r);const k=this.currentTime-u*(this.playbackSpeed>=0?1:-1),C=this.playbackSpeed>=0?k<0:k>a;this.currentTime=Math.max(k,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=a);let _=this.currentTime,T=o;if(p){const N=Math.min(this.currentTime,a)/s;let $=Math.floor(N),M=N%1;!M&&N>=1&&(M=1),M===1&&$--,$=Math.min($,p+1),$%2&&(f==="reverse"?(M=1-M,g&&(M-=g/s)):f==="mirror"&&(T=l)),_=rc(0,1,M)*s}const R=C?{done:!1,value:d[0]}:T.next(_);i&&(R.value=i(R.value));let{done:A}=R;!C&&c!==null&&(A=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);const D=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&A);return D&&b!==CS&&(R.value=TS(d,this.options,w,this.speed)),x&&x(R.value),D&&this.finish(),R}then(r,n){return this.finished.then(r,n)}get duration(){return pi(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+pi(r)}get time(){return pi(this.currentTime)}set time(r){r=ll(r),this.currentTime=r,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=r:this.driver&&(this.startTime=this.driver.now()-r/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(r){this.updateTime(aa.now());const n=this.playbackSpeed!==r;this.playbackSpeed=r,n&&(this.time=pi(this.currentTime))}play(){if(this.isStopped)return;const{driver:r=tFe,startTime:n}=this.options;this.driver||(this.driver=r(a=>this.tick(a))),this.options.onPlay?.();const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=n??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(aa.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(r){return this.startTime=0,this.tick(r,!0)}attachTimeline(r){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),r.observe(this)}}function gFe(e){for(let r=1;re*180/Math.PI,NS=e=>{const r=ap(Math.atan2(e[1],e[0]));return DS(r)},yFe={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:NS,rotateZ:NS,skewX:e=>ap(Math.atan(e[1])),skewY:e=>ap(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},DS=e=>(e=e%360,e<0&&(e+=360),e),RX=NS,AX=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),NX=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),bFe={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:AX,scaleY:NX,scale:e=>(AX(e)+NX(e))/2,rotateX:e=>DS(ap(Math.atan2(e[6],e[5]))),rotateY:e=>DS(ap(Math.atan2(-e[2],e[0]))),rotateZ:RX,rotate:RX,skewX:e=>ap(Math.atan(e[4])),skewY:e=>ap(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function PS(e){return e.includes("scale")?1:0}function $S(e,r){if(!e||e==="none")return PS(r);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,a;if(n)o=bFe,a=n;else{const s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=yFe,a=s}if(!a)return PS(r);const i=o[r],l=a[1].split(",").map(xFe);return typeof i=="function"?i(l):l[i]}const vFe=(e,r)=>{const{transform:n="none"}=getComputedStyle(e);return $S(n,r)};function xFe(e){return parseFloat(e.trim())}const nm=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],om=new Set(nm),DX=e=>e===tm||e===vt,wFe=new Set(["x","y","z"]),kFe=nm.filter(e=>!wFe.has(e));function _Fe(e){const r=[];return kFe.forEach(n=>{const o=e.getValue(n);o!==void 0&&(r.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),r}const ip={width:({x:e},{paddingLeft:r="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(r)-parseFloat(n),height:({y:e},{paddingTop:r="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(r)-parseFloat(n),top:(e,{top:r})=>parseFloat(r),left:(e,{left:r})=>parseFloat(r),bottom:({y:e},{top:r})=>parseFloat(r)+(e.max-e.min),right:({x:e},{left:r})=>parseFloat(r)+(e.max-e.min),x:(e,{transform:r})=>$S(r,"x"),y:(e,{transform:r})=>$S(r,"y")};ip.translateX=ip.x,ip.translateY=ip.y;const lp=new Set;let MS=!1,OS=!1,IS=!1;function PX(){if(OS){const e=Array.from(lp).filter(o=>o.needsMeasurement),r=new Set(e.map(o=>o.element)),n=new Map;r.forEach(o=>{const a=_Fe(o);a.length&&(n.set(o,a),o.render())}),e.forEach(o=>o.measureInitialState()),r.forEach(o=>{o.render();const a=n.get(o);a&&a.forEach(([i,l])=>{o.getValue(i)?.set(l)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}OS=!1,MS=!1,lp.forEach(e=>e.complete(IS)),lp.clear()}function $X(){lp.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(OS=!0)})}function EFe(){IS=!0,$X(),PX(),IS=!1}class LS{constructor(r,n,o,a,i,l=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...r],this.onComplete=n,this.name=o,this.motionValue=a,this.element=i,this.isAsync=l}scheduleResolve(){this.state="scheduled",this.isAsync?(lp.add(this),MS||(MS=!0,$r.read($X),$r.resolveKeyframes(PX))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:n,element:o,motionValue:a}=this;if(r[0]===null){const i=a?.get(),l=r[r.length-1];if(i!==void 0)r[0]=i;else if(o&&n){const s=o.readValue(n,l);s!=null&&(r[0]=s)}r[0]===void 0&&(r[0]=l),a&&i===void 0&&a.set(r[0])}gFe(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),lp.delete(this)}cancel(){this.state==="scheduled"&&(lp.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const SFe=e=>e.startsWith("--");function CFe(e,r,n){SFe(r)?e.style.setProperty(r,n):e.style[r]=n}const TFe=sS(()=>window.ScrollTimeline!==void 0),RFe={};function AFe(e,r){const n=sS(e);return()=>RFe[r]??n()}const MX=AFe(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),iy=([e,r,n,o])=>`cubic-bezier(${e}, ${r}, ${n}, ${o})`,OX={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:iy([0,.65,.55,1]),circOut:iy([.55,0,1,.45]),backIn:iy([.31,.01,.66,-.59]),backOut:iy([.33,1.53,.69,.99])};function IX(e,r){if(e)return typeof e=="function"?MX()?wX(e,r):"ease-out":iX(e)?iy(e):Array.isArray(e)?e.map(n=>IX(n,r)||OX.easeOut):OX[e]}function NFe(e,r,n,{delay:o=0,duration:a=300,repeat:i=0,repeatType:l="loop",ease:s="easeOut",times:c}={},u=void 0){const d={[r]:n};c&&(d.offset=c);const p=IX(s,a);Array.isArray(p)&&(d.easing=p);const f={delay:o,duration:a,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:i+1,direction:l==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),e.animate(d,f)}function zS(e){return typeof e=="function"&&"applyToOptions"in e}function DFe({type:e,...r}){return zS(e)&&MX()?e.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease="easeOut"),r)}class PFe extends RS{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,!r)return;const{element:n,name:o,keyframes:a,pseudoElement:i,allowFlatten:l=!1,finalKeyframe:s,onComplete:c}=r;this.isPseudoElement=!!i,this.allowFlatten=l,this.options=r,lS(typeof r.type!="string");const u=DFe(r);this.animation=NFe(n,o,a,u,i),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const d=TS(a,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(d):CFe(n,o,d),this.animation.cancel()}c?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:r}=this;r==="idle"||r==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const r=this.animation.effect?.getComputedTiming?.().duration||0;return pi(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+pi(r)}get time(){return pi(Number(this.animation.currentTime)||0)}set time(r){this.finishedTime=null,this.animation.currentTime=ll(r)}get speed(){return this.animation.playbackRate}set speed(r){r<0&&(this.finishedTime=null),this.animation.playbackRate=r}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(r){this.animation.startTime=r}attachTimeline({timeline:r,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,r&&TFe()?(this.animation.timeline=r,di):n(this)}}const LX={anticipate:eX,backInOut:JG,circInOut:rX};function $Fe(e){return e in LX}function MFe(e){typeof e.ease=="string"&&$Fe(e.ease)&&(e.ease=LX[e.ease])}const zX=10;class OFe extends PFe{constructor(r){MFe(r),TX(r),super(r),r.startTime&&(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:n,onUpdate:o,onComplete:a,element:i,...l}=this.options;if(!n)return;if(r!==void 0){n.set(r);return}const s=new AS({...l,autoplay:!1}),c=ll(this.finishedTime??this.time);n.setWithVelocity(s.sample(c-zX).value,s.sample(c).value,zX),s.stop()}}const BX=(e,r)=>r==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(wu.test(e)||e==="0")&&!e.startsWith("url("));function IFe(e){const r=e[0];if(e.length===1)return!0;for(let n=0;nObject.hasOwnProperty.call(Element.prototype,"animate"));function jFe(e){const{motionValue:r,name:n,repeatDelay:o,repeatType:a,damping:i,type:l}=e;if(!(r?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:s,transformTemplate:c}=r.owner.getProps();return BFe()&&n&&zFe.has(n)&&(n!=="transform"||!c)&&!s&&!o&&a!=="mirror"&&i!==0&&l!=="inertia"}const FFe=40;class HFe extends RS{constructor({autoplay:r=!0,delay:n=0,type:o="keyframes",repeat:a=0,repeatDelay:i=0,repeatType:l="loop",keyframes:s,name:c,motionValue:u,element:d,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=aa.now();const f={autoplay:r,delay:n,type:o,repeat:a,repeatDelay:i,repeatType:l,name:c,motionValue:u,element:d,...p},g=d?.KeyframeResolver||LS;this.keyframeResolver=new g(s,(b,x,w)=>this.onKeyframesResolved(b,x,f,!w),c,u,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(r,n,o,a){this.keyframeResolver=void 0;const{name:i,type:l,velocity:s,delay:c,isHandoff:u,onUpdate:d}=o;this.resolvedAt=aa.now(),LFe(r,i,l,s)||((nc.instantAnimations||!c)&&d?.(TS(r,o,n)),r[0]=r[r.length-1],BS(o),o.repeat=0);const p={startTime:a?this.resolvedAt?this.resolvedAt-this.createdAt>FFe?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...o,keyframes:r},f=!u&&jFe(p)?new OFe({...p,element:p.motionValue.owner.current}):new AS(p);f.finished.then(()=>this.notifyFinished()).catch(di),this.pendingTimeline&&(this.stopTimeline=f.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=f}get finished(){return this._animation?this.animation.finished:this._finished}then(r,n){return this.finished.finally(r).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),EFe()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(r){this.animation.time=r}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(r){this.animation.speed=r}get startTime(){return this.animation.startTime}attachTimeline(r){return this._animation?this.stopTimeline=this.animation.attachTimeline(r):this.pendingTimeline=r,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}class qFe{constructor(r){this.stop=()=>this.runAll("stop"),this.animations=r.filter(Boolean)}get finished(){return Promise.all(this.animations.map(r=>r.finished))}getAll(r){return this.animations[0][r]}setAll(r,n){for(let o=0;oo.attachTimeline(r));return()=>{n.forEach((o,a)=>{o&&o(),this.animations[a].stop()})}}get time(){return this.getAll("time")}set time(r){this.setAll("time",r)}get speed(){return this.getAll("speed")}set speed(r){this.setAll("speed",r)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return jX(this.animations,"duration")}get iterationDuration(){return jX(this.animations,"iterationDuration")}runAll(r){this.animations.forEach(n=>n[r]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function jX(e,r){let n=0;for(let o=0;on&&(n=a)}return n}class UFe extends qFe{then(r,n){return this.finished.finally(r).then(()=>{})}}const VFe=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function YFe(e){const r=VFe.exec(e);if(!r)return[,];const[,n,o,a]=r;return[`--${n??o}`,a]}function FX(e,r,n=1){const[o,a]=YFe(e);if(!o)return;const i=window.getComputedStyle(r).getPropertyValue(o);if(i){const l=i.trim();return VG(l)?parseFloat(l):l}return fS(a)?FX(a,r,n+1):a}function jS(e,r){return e?.[r]??e?.default??e}const HX=new Set(["width","height","top","left","right","bottom",...nm]),WFe={test:e=>e==="auto",parse:e=>e},qX=e=>r=>r.test(e),UX=[tm,vt,ls,xu,Bje,zje,WFe],VX=e=>UX.find(qX(e));function GFe(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||WG(e):!0}const XFe=new Set(["brightness","contrast","saturate","opacity"]);function KFe(e){const[r,n]=e.slice(0,-1).split("(");if(r==="drop-shadow")return e;const[o]=n.match(mS)||[];if(!o)return e;const a=n.replace(o,"");let i=XFe.has(r)?1:0;return o!==n&&(i*=100),r+"("+i+a+")"}const ZFe=/\b([a-z-]*)\(.*?\)/gu,FS={...wu,getAnimatableNone:e=>{const r=e.match(ZFe);return r?r.map(KFe).join(" "):e}},YX={...tm,transform:Math.round},QFe={rotate:xu,rotateX:xu,rotateY:xu,rotateZ:xu,scale:s2,scaleX:s2,scaleY:s2,scaleZ:s2,skew:xu,skewX:xu,skewY:xu,distance:vt,translateX:vt,translateY:vt,translateZ:vt,x:vt,y:vt,z:vt,perspective:vt,transformPerspective:vt,opacity:ey,originX:dX,originY:dX,originZ:vt},HS={borderWidth:vt,borderTopWidth:vt,borderRightWidth:vt,borderBottomWidth:vt,borderLeftWidth:vt,borderRadius:vt,radius:vt,borderTopLeftRadius:vt,borderTopRightRadius:vt,borderBottomRightRadius:vt,borderBottomLeftRadius:vt,width:vt,maxWidth:vt,height:vt,maxHeight:vt,top:vt,right:vt,bottom:vt,left:vt,padding:vt,paddingTop:vt,paddingRight:vt,paddingBottom:vt,paddingLeft:vt,margin:vt,marginTop:vt,marginRight:vt,marginBottom:vt,marginLeft:vt,backgroundPositionX:vt,backgroundPositionY:vt,...QFe,zIndex:YX,fillOpacity:ey,strokeOpacity:ey,numOctaves:YX},JFe={...HS,color:kn,backgroundColor:kn,outlineColor:kn,fill:kn,stroke:kn,borderColor:kn,borderTopColor:kn,borderRightColor:kn,borderBottomColor:kn,borderLeftColor:kn,filter:FS,WebkitFilter:FS},WX=e=>JFe[e];function GX(e,r){let n=WX(e);return n!==FS&&(n=wu),n.getAnimatableNone?n.getAnimatableNone(r):void 0}const eHe=new Set(["auto","none","0"]);function tHe(e,r,n){let o=0,a;for(;o{r.getValue(s).set(c)}),this.resolveNoneKeyframes()}}function XX(e,r,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;const a=n?.[e]??o.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}const KX=(e,r)=>r&&typeof e=="number"?r.transform(e):e;function ZX(e){return YG(e)&&"offsetHeight"in e}const QX=30,nHe=e=>!isNaN(parseFloat(e));class oHe{constructor(r,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const a=aa.now();if(this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(r),this.owner=n.owner}setCurrent(r){this.current=r,this.updatedAt=aa.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=nHe(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return this.on("change",r)}on(r,n){this.events[r]||(this.events[r]=new cS);const o=this.events[r].add(n);return r==="change"?()=>{o(),$r.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,n){this.passiveEffect=r,this.stopPassiveEffect=n}set(r){this.passiveEffect?this.passiveEffect(r,this.updateAndNotify):this.updateAndNotify(r)}setWithVelocity(r,n,o){this.set(n),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-o}jump(r,n=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(r){this.dependents||(this.dependents=new Set),this.dependents.add(r)}removeDependent(r){this.dependents&&this.dependents.delete(r)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=aa.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>QX)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,QX);return GG(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(r){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=r(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function sp(e,r){return new oHe(e,r)}const{schedule:qS}=sX(queueMicrotask,!1),sl={x:!1,y:!1};function JX(){return sl.x||sl.y}function aHe(e){return e==="x"||e==="y"?sl[e]?null:(sl[e]=!0,()=>{sl[e]=!1}):sl.x||sl.y?null:(sl.x=sl.y=!0,()=>{sl.x=sl.y=!1})}function eK(e,r){const n=XX(e),o=new AbortController,a={passive:!0,...r,signal:o.signal};return[n,a,()=>o.abort()]}function tK(e){return!(e.pointerType==="touch"||JX())}function iHe(e,r,n={}){const[o,a,i]=eK(e,n),l=s=>{if(!tK(s))return;const{target:c}=s,u=r(c,s);if(typeof u!="function"||!c)return;const d=p=>{tK(p)&&(u(p),c.removeEventListener("pointerleave",d))};c.addEventListener("pointerleave",d,a)};return o.forEach(s=>{s.addEventListener("pointerenter",l,a)}),i}const rK=(e,r)=>r?e===r?!0:rK(e,r.parentElement):!1,US=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,lHe=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function sHe(e){return lHe.has(e.tagName)||e.tabIndex!==-1}const d2=new WeakSet;function nK(e){return r=>{r.key==="Enter"&&e(r)}}function VS(e,r){e.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const cHe=(e,r)=>{const n=e.currentTarget;if(!n)return;const o=nK(()=>{if(d2.has(n))return;VS(n,"down");const a=nK(()=>{VS(n,"up")}),i=()=>VS(n,"cancel");n.addEventListener("keyup",a,r),n.addEventListener("blur",i,r)});n.addEventListener("keydown",o,r),n.addEventListener("blur",()=>n.removeEventListener("keydown",o),r)};function oK(e){return US(e)&&!JX()}function uHe(e,r,n={}){const[o,a,i]=eK(e,n),l=s=>{const c=s.currentTarget;if(!oK(s))return;d2.add(c);const u=r(c,s),d=(g,b)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",f),d2.has(c)&&d2.delete(c),oK(g)&&typeof u=="function"&&u(g,{success:b})},p=g=>{d(g,c===window||c===document||n.useGlobalTarget||rK(c,g.target))},f=g=>{d(g,!1)};window.addEventListener("pointerup",p,a),window.addEventListener("pointercancel",f,a)};return o.forEach(s=>{(n.useGlobalTarget?window:s).addEventListener("pointerdown",l,a),ZX(s)&&(s.addEventListener("focus",c=>cHe(c,a)),!sHe(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),i}function YS(e){return YG(e)&&"ownerSVGElement"in e}function aK(e){return YS(e)&&e.tagName==="svg"}const Qn=e=>!!(e&&e.getVelocity),dHe=[...UX,kn,wu],pHe=e=>dHe.find(qX(e));function WS(e){return typeof e=="object"&&!Array.isArray(e)}function iK(e,r,n,o){return typeof e=="string"&&WS(r)?XX(e,n,o):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function hHe(e,r,n){return e*(r+1)}function lK(e,r,n,o){return typeof r=="number"?r:r.startsWith("-")||r.startsWith("+")?Math.max(0,e+parseFloat(r)):r==="<"?n:r.startsWith("<")?Math.max(0,n+parseFloat(r.slice(1))):o.get(r)??e}function fHe(e,r,n){for(let o=0;or&&a.at{const $=xHe(T),{delay:M=0,times:j=CX($),type:L="keyframes",repeat:Y,repeatType:O,repeatDelay:U=0,...I}=R;let{ease:q=r.ease||"easeOut",duration:V}=R;const G=typeof M=="function"?M(D,N):M,F=$.length,J=zS(L)?L:a?.[L||"keyframes"];if(F<=2&&J){let X=100;if(F===2&&_He($)){const ee=$[1]-$[0];X=Math.abs(ee)}const Z={...I};V!==void 0&&(Z.duration=ll(V));const oe=kX(Z,X,J);q=oe.ease,V=oe.duration}V??(V=i);const Q=p+G;j.length===1&&j[0]===0&&(j[1]=1);const z=j.length-$.length;if(z>0&&SX(j,z),$.length===1&&$.unshift(null),Y){V=hHe(V,Y);const X=[...$],Z=[...j];q=Array.isArray(q)?[...q]:[q];const oe=[...q];for(let ee=0;ee{for(const x in g){const w=g[x];w.sort(yHe);const k=[],C=[],_=[];for(let R=0;Rtypeof e=="number",_He=e=>e.every(kHe),ly=new WeakMap,GS=e=>Array.isArray(e);function uK(e){const r=[{},{}];return e?.values.forEach((n,o)=>{r[0][o]=n.get(),r[1][o]=n.getVelocity()}),r}function XS(e,r,n,o){if(typeof r=="function"){const[a,i]=uK(o);r=r(n!==void 0?n:e.custom,a,i)}if(typeof r=="string"&&(r=e.variants&&e.variants[r]),typeof r=="function"){const[a,i]=uK(o);r=r(n!==void 0?n:e.custom,a,i)}return r}function am(e,r,n){const o=e.getProps();return XS(o,r,n!==void 0?n:o.custom,e)}function EHe(e,r,n){e.hasValue(r)?e.getValue(r).set(n):e.addValue(r,sp(n))}function SHe(e){return GS(e)?e[e.length-1]||0:e}function CHe(e,r){const n=am(e,r);let{transitionEnd:o={},transition:a={},...i}=n||{};i={...i,...o};for(const l in i){const s=SHe(i[l]);EHe(e,l,s)}}function THe(e){return!!(Qn(e)&&e.add)}function KS(e,r){const n=e.getValue("willChange");if(THe(n))return n.add(r);if(!n&&nc.WillChange){const o=new nc.WillChange("auto");e.addValue("willChange",o),o.add(r)}}const ZS=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),RHe="framerAppearId",dK="data-"+ZS(RHe);function pK(e){return e.props[dK]}const AHe=e=>e!==null;function NHe(e,{repeat:r,repeatType:n="loop"},o){const a=e.filter(AHe),i=r&&n!=="loop"&&r%2===1?0:a.length-1;return a[i]}const DHe={type:"spring",stiffness:500,damping:25,restSpeed:10},PHe=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),$He={type:"keyframes",duration:.8},MHe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},OHe=(e,{keyframes:r})=>r.length>2?$He:om.has(e)?e.startsWith("scale")?PHe(r[1]):DHe:MHe;function IHe({when:e,delay:r,delayChildren:n,staggerChildren:o,staggerDirection:a,repeat:i,repeatType:l,repeatDelay:s,from:c,elapsed:u,...d}){return!!Object.keys(d).length}const QS=(e,r,n,o={},a,i)=>l=>{const s=jS(o,e)||{},c=s.delay||o.delay||0;let{elapsed:u=0}=o;u=u-ll(c);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:r.getVelocity(),...s,delay:-u,onUpdate:f=>{r.set(f),s.onUpdate&&s.onUpdate(f)},onComplete:()=>{l(),s.onComplete&&s.onComplete()},name:e,motionValue:r,element:i?void 0:a};IHe(s)||Object.assign(d,OHe(e,d)),d.duration&&(d.duration=ll(d.duration)),d.repeatDelay&&(d.repeatDelay=ll(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let p=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(BS(d),d.delay===0&&(p=!0)),(nc.instantAnimations||nc.skipAnimations)&&(p=!0,BS(d),d.delay=0),d.allowFlatten=!s.type&&!s.ease,p&&!i&&r.get()!==void 0){const f=NHe(d.keyframes,s);if(f!==void 0){$r.update(()=>{d.onUpdate(f),d.onComplete()});return}}return s.isSync?new AS(d):new HFe(d)};function LHe({protectedKeys:e,needsAnimating:r},n){const o=e.hasOwnProperty(n)&&r[n]!==!0;return r[n]=!1,o}function JS(e,r,{delay:n=0,transitionOverride:o,type:a}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:l,...s}=r;o&&(i=o);const c=[],u=a&&e.animationState&&e.animationState.getState()[a];for(const d in s){const p=e.getValue(d,e.latestValues[d]??null),f=s[d];if(f===void 0||u&&LHe(u,d))continue;const g={delay:n,...jS(i||{},d)},b=p.get();if(b!==void 0&&!p.isAnimating&&!Array.isArray(f)&&f===b&&!g.velocity)continue;let x=!1;if(window.MotionHandoffAnimation){const k=pK(e);if(k){const C=window.MotionHandoffAnimation(k,d,$r);C!==null&&(g.startTime=C,x=!0)}}KS(e,d),p.start(QS(d,p,f,e.shouldReduceMotion&&HX.has(d)?{type:!1}:g,e,x));const w=p.animation;w&&c.push(w)}return l&&Promise.all(c).then(()=>{$r.update(()=>{l&&CHe(e,l)})}),c}function hK({top:e,left:r,right:n,bottom:o}){return{x:{min:r,max:n},y:{min:e,max:o}}}function zHe({x:e,y:r}){return{top:r.min,right:e.max,bottom:r.max,left:e.min}}function BHe(e,r){if(!r)return e;const n=r({x:e.left,y:e.top}),o=r({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}function eC(e){return e===void 0||e===1}function tC({scale:e,scaleX:r,scaleY:n}){return!eC(e)||!eC(r)||!eC(n)}function cp(e){return tC(e)||fK(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function fK(e){return mK(e.x)||mK(e.y)}function mK(e){return e&&e!=="0%"}function p2(e,r,n){const o=e-n,a=r*o;return n+a}function gK(e,r,n,o,a){return a!==void 0&&(e=p2(e,a,o)),p2(e,n,o)+r}function rC(e,r=0,n=1,o,a){e.min=gK(e.min,r,n,o,a),e.max=gK(e.max,r,n,o,a)}function yK(e,{x:r,y:n}){rC(e.x,r.translate,r.scale,r.originPoint),rC(e.y,n.translate,n.scale,n.originPoint)}const bK=.999999999999,vK=1.0000000000001;function jHe(e,r,n,o=!1){const a=n.length;if(!a)return;r.x=r.y=1;let i,l;for(let s=0;sbK&&(r.x=1),r.ybK&&(r.y=1)}function im(e,r){e.min=e.min+r,e.max=e.max+r}function xK(e,r,n,o,a=.5){const i=Ir(e.min,e.max,a);rC(e,r,n,i,o)}function lm(e,r){xK(e.x,r.x,r.scaleX,r.scale,r.originX),xK(e.y,r.y,r.scaleY,r.scale,r.originY)}function wK(e,r){return hK(BHe(e.getBoundingClientRect(),r))}function FHe(e,r,n){const o=wK(e,n),{scroll:a}=r;return a&&(im(o.x,a.offset.x),im(o.y,a.offset.y)),o}const kK={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},sm={};for(const e in kK)sm[e]={isEnabled:r=>kK[e].some(n=>!!r[n])};const _K=()=>({translate:0,scale:1,origin:0,originPoint:0}),cm=()=>({x:_K(),y:_K()}),EK=()=>({min:0,max:0}),Zr=()=>({x:EK(),y:EK()}),nC=typeof window<"u",h2={current:null},oC={current:!1};function SK(){if(oC.current=!0,!!nC)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),r=()=>h2.current=e.matches;e.addEventListener("change",r),r()}else h2.current=!1}function f2(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function sy(e){return typeof e=="string"||Array.isArray(e)}const aC=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],iC=["initial",...aC];function m2(e){return f2(e.animate)||iC.some(r=>sy(e[r]))}function CK(e){return!!(m2(e)||e.variants)}function HHe(e,r,n){for(const o in r){const a=r[o],i=n[o];if(Qn(a))e.addValue(o,a);else if(Qn(i))e.addValue(o,sp(a,{owner:e}));else if(i!==a)if(e.hasValue(o)){const l=e.getValue(o);l.liveStyle===!0?l.jump(a):l.hasAnimated||l.set(a)}else{const l=e.getStaticValue(o);e.addValue(o,sp(l!==void 0?l:a,{owner:e}))}}for(const o in n)r[o]===void 0&&e.removeValue(o);return r}const TK=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class RK{scrapeMotionValuesFromProps(r,n,o){return{}}constructor({parent:r,props:n,presenceContext:o,reducedMotionConfig:a,blockInitialAnimation:i,visualState:l},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=LS,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=aa.now();this.renderScheduledAtthis.bindToMotionValue(o,n)),oC.current||SK(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:h2.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),vu(this.notifyUpdate),vu(this.render),this.valueSubscriptions.forEach(r=>r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const n=this.features[r];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(r){this.children.add(r),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(r)}removeChild(r){this.children.delete(r),this.enteringChildren&&this.enteringChildren.delete(r)}bindToMotionValue(r,n){this.valueSubscriptions.has(r)&&this.valueSubscriptions.get(r)();const o=om.has(r);o&&this.onBindTransform&&this.onBindTransform();const a=n.on("change",l=>{this.latestValues[r]=l,this.props.onUpdate&&$r.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,r,n)),this.valueSubscriptions.set(r,()=>{a(),i&&i(),n.owner&&n.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r="animation";for(r in sm){const n=sm[r];if(!n)continue;const{isEnabled:o,Feature:a}=n;if(!this.features[r]&&a&&o(this.props)&&(this.features[r]=new a(this)),this.features[r]){const i=this.features[r];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Zr()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,n){this.latestValues[r]=n}update(r,n){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let o=0;on.variantChildren.delete(r)}addValue(r,n){const o=this.values.get(r);n!==o&&(o&&this.removeValue(r),this.bindToMotionValue(r,n),this.values.set(r,n),this.latestValues[r]=n.get())}removeValue(r){this.values.delete(r);const n=this.valueSubscriptions.get(r);n&&(n(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,n){if(this.props.values&&this.props.values[r])return this.props.values[r];let o=this.values.get(r);return o===void 0&&n!==void 0&&(o=sp(n===null?void 0:n,{owner:this}),this.addValue(r,o)),o}readValue(r,n){let o=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:this.getBaseTargetFromProps(this.props,r)??this.readValueFromInstance(this.current,r,this.options);return o!=null&&(typeof o=="string"&&(VG(o)||WG(o))?o=parseFloat(o):!pHe(o)&&wu.test(n)&&(o=GX(r,n)),this.setBaseTarget(r,Qn(o)?o.get():o)),Qn(o)?o.get():o}setBaseTarget(r,n){this.baseTarget[r]=n}getBaseTarget(r){const{initial:n}=this.props;let o;if(typeof n=="string"||typeof n=="object"){const i=XS(this.props,n,this.presenceContext?.custom);i&&(o=i[r])}if(n&&o!==void 0)return o;const a=this.getBaseTargetFromProps(this.props,r);return a!==void 0&&!Qn(a)?a:this.initialValues[r]!==void 0&&o===void 0?void 0:this.baseTarget[r]}on(r,n){return this.events[r]||(this.events[r]=new cS),this.events[r].add(n)}notify(r,...n){this.events[r]&&this.events[r].notify(...n)}scheduleRenderMicrotask(){qS.render(this.render)}}class AK extends RK{constructor(){super(...arguments),this.KeyframeResolver=rHe}sortInstanceNodePosition(r,n){return r.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(r,n){return r.style?r.style[n]:void 0}removeValueFromRenderState(r,{vars:n,style:o}){delete n[r],delete o[r]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;Qn(r)&&(this.childSubscription=r.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}const qHe={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},UHe=nm.length;function VHe(e,r,n){let o="",a=!0;for(let i=0;itypeof e=="string"&&e.toLowerCase()==="svg";function JHe(e,r,n,o){NK(e,r,void 0,o);for(const a in r.attrs)e.setAttribute(MK.has(a)?a:ZS(a),r.attrs[a])}function IK(e,r,n){const o=sC(e,r,n);for(const a in e)if(Qn(e[a])||Qn(r[a])){const i=nm.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;o[i]=e[a]}return o}class LK extends AK{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Zr}getBaseTargetFromProps(r,n){return r[n]}readValueFromInstance(r,n){if(om.has(n)){const o=WX(n);return o&&o.default||0}return n=MK.has(n)?n:ZS(n),r.getAttribute(n)}scrapeMotionValuesFromProps(r,n,o){return IK(r,n,o)}build(r,n,o){$K(r,n,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(r,n,o,a){JHe(r,n,o,a)}mount(r){this.isSVGTag=OK(r.tagName),super.mount(r)}}function eqe(e){const r={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=YS(e)&&!aK(e)?new LK(r):new PK(r);n.mount(e),ly.set(e,n)}function tqe(e){const r={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new XHe(r);n.mount(e),ly.set(e,n)}function zK(e,r,n){const o=Qn(e)?e:sp(e);return o.start(QS("",o,r,n)),o.animation}function rqe(e,r){return Qn(e)||typeof e=="number"||typeof e=="string"&&!WS(r)}function BK(e,r,n,o){const a=[];if(rqe(e,r))a.push(zK(e,WS(r)&&r.default||r,n&&(n.default||n)));else{const i=iK(e,r,o),l=i.length;for(let s=0;s{o.push(...BK(l,a,i))}),o}function oqe(e){return Array.isArray(e)&&e.some(Array.isArray)}function aqe(e){function r(n,o,a){let i=[],l;if(oqe(n))i=nqe(n,o,e);else{const{onComplete:c,...u}=a||{};typeof c=="function"&&(l=c),i=BK(n,o,u,e)}const s=new UFe(i);return l&&s.finished.then(l),s}return r}const iqe=aqe();function lqe(e,r){const n=aa.now(),o=({timestamp:a})=>{const i=a-n;i>=r&&(vu(o),e(i-r))};return $r.setup(o,!0),()=>vu(o)}const jK=(e,r)=>Math.abs(e-r);function sqe(e,r){const n=jK(e.x,r.x),o=jK(e.y,r.y);return Math.sqrt(n**2+o**2)}const uy=E.createContext({});function um(e){const r=E.useRef(null);return r.current===null&&(r.current=e()),r.current}const cC=nC?E.useLayoutEffect:E.useEffect,g2=E.createContext(null),up=E.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function FK(e,r){if(typeof e=="function")return e(r);e!=null&&(e.current=r)}function cqe(...e){return r=>{let n=!1;const o=e.map(a=>{const i=FK(a,r);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let a=0;a{const{width:u,height:d,top:p,left:f,right:g}=l.current;if(r||!i.current||!u||!d)return;const b=n==="left"?`left: ${f}`:`right: ${g}`;i.current.dataset.motionPopId=a;const x=document.createElement("style");s&&(x.nonce=s);const w=o??document.head;return w.appendChild(x),x.sheet&&x.sheet.insertRule(` + */const _Be=[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]],Xf=xt("outline","x","X",_Be);function Y7({error:e,resetErrorBoundary:r}){const n=e instanceof Error?e.message:"Unknown error";return y.jsx(Gr,{css:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",padding:"0",backdropFilter:"blur(5px)",backgroundColor:{_dark:"[rgb(34 34 34 / 10%)]",_light:"[rgb(15 15 15/ 20%)]"},zIndex:1e3},children:y.jsxs(Gw,{icon:y.jsx(Xf,{style:{width:16,height:16}}),styles:{icon:{alignSelf:"flex-start"}},color:"red",title:"Oops, something went wrong",p:"xl",withCloseButton:!1,children:[y.jsx(na,{maw:"100%",mah:400,children:y.jsx(qw,{block:!0,children:n})}),y.jsx(Wr,{gap:"xs",mt:"xl",children:y.jsx(ro,{color:"gray",size:"xs",variant:"light",onClick:()=>r(),children:"Reset"})})]})})}function vG(e){return y.jsx(V7,{FallbackComponent:Y7,onError:(r,n)=>{console.error(r,n)},...e})}function EBe(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global}function SBe(){const e=EBe();if(e.__xstate__)return e.__xstate__}const CBe=e=>{if(typeof window>"u")return;const r=SBe();r&&r.register(e)};class xG{constructor(r){this._process=r,this._active=!1,this._current=null,this._last=null}start(){this._active=!0,this.flush()}clear(){this._current&&(this._current.next=null,this._last=this._current)}enqueue(r){const n={value:r,next:null};if(this._current){this._last.next=n,this._last=n;return}this._current=n,this._last=n,this._active&&this.flush()}flush(){for(;this._current;){const r=this._current;this._process(r.value),this._current=r.next}this._last=null}}const wG=".",TBe="",kG="",RBe="#",ABe="*",_G="xstate.init",NBe="xstate.error",ay="xstate.stop";function DBe(e,r){return{type:`xstate.after.${e}.${r}`}}function W7(e,r){return{type:`xstate.done.state.${e}`,output:r}}function PBe(e,r){return{type:`xstate.done.actor.${e}`,output:r,actorId:e}}function EG(e,r){return{type:`xstate.error.actor.${e}`,error:r,actorId:e}}function SG(e){return{type:_G,input:e}}function cs(e){setTimeout(()=>{throw e})}const $Be=typeof Symbol=="function"&&Symbol.observable||"@@observable";function CG(e,r){const n=TG(e),o=TG(r);return typeof o=="string"?typeof n=="string"?o===n:!1:typeof n=="string"?n in o:Object.keys(n).every(a=>a in o?CG(n[a],o[a]):!1)}function G7(e){if(NG(e))return e;const r=[];let n="";for(let o=0;otypeof r>"u"||typeof r=="string"?{target:r}:r)}function DG(e){if(!(e===void 0||e===TBe))return rc(e)}function e2(e,r,n){const o=typeof e=="object",a=o?e:void 0;return{next:(o?e.next:e)?.bind(a),error:(o?e.error:r)?.bind(a),complete:(o?e.complete:n)?.bind(a)}}function PG(e,r){return`${r}.${e}`}function K7(e,r){const n=r.match(/^xstate\.invoke\.(\d+)\.(.*)/);if(!n)return e.implementations.actors[r];const[,o,a]=n,i=e.getStateNodeById(a).config.invoke;return(Array.isArray(i)?i[o]:i).src}function $G(e,r){return`${e.sessionId}.${r}`}let IBe=0;function zBe(e,r){const n=new Map,o=new Map,a=new WeakMap,i=new Set,l={},{clock:s,logger:c}=r,u={schedule:(f,g,b,x,w=Math.random().toString(36).slice(2))=>{const k={source:f,target:g,event:b,delay:x,id:w,startedAt:Date.now()},C=$G(f,w);p._snapshot._scheduledEvents[C]=k;const _=s.setTimeout(()=>{delete l[C],delete p._snapshot._scheduledEvents[C],p._relay(f,g,b)},x);l[C]=_},cancel:(f,g)=>{const b=$G(f,g),x=l[b];delete l[b],delete p._snapshot._scheduledEvents[b],x!==void 0&&s.clearTimeout(x)},cancelAll:f=>{for(const g in p._snapshot._scheduledEvents){const b=p._snapshot._scheduledEvents[g];b.source===f&&u.cancel(f,b.id)}}},d=f=>{if(!i.size)return;const g={...f,rootId:e.sessionId};i.forEach(b=>b.next?.(g))},p={_snapshot:{_scheduledEvents:(r?.snapshot&&r.snapshot.scheduler)??{}},_bookId:()=>`x:${IBe++}`,_register:(f,g)=>(n.set(f,g),f),_unregister:f=>{n.delete(f.sessionId);const g=a.get(f);g!==void 0&&(o.delete(g),a.delete(f))},get:f=>o.get(f),getAll:()=>Object.fromEntries(o.entries()),_set:(f,g)=>{const b=o.get(f);if(b&&b!==g)throw new Error(`Actor with system ID '${f}' already exists.`);o.set(f,g),a.set(g,f)},inspect:f=>{const g=e2(f);return i.add(g),{unsubscribe(){i.delete(g)}}},_sendInspectionEvent:d,_relay:(f,g,b)=>{p._sendInspectionEvent({type:"@xstate.event",sourceRef:f,actorRef:g,event:b}),g._send(b)},scheduler:u,getSnapshot:()=>({_scheduledEvents:{...p._snapshot._scheduledEvents}}),start:()=>{const f=p._snapshot._scheduledEvents;p._snapshot._scheduledEvents={};for(const g in f){const{source:b,target:x,event:w,delay:k,id:C}=f[g];u.schedule(b,x,w,k,C)}},_clock:s,_logger:c};return p}let Z7=!1;const Q7=1;let oa=(function(e){return e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped",e})({});const LBe={clock:{setTimeout:(e,r)=>setTimeout(e,r),clearTimeout:e=>clearTimeout(e)},logger:console.log.bind(console),devTools:!1};class BBe{constructor(r,n){this.logic=r,this._snapshot=void 0,this.clock=void 0,this.options=void 0,this.id=void 0,this.mailbox=new xG(this._process.bind(this)),this.observers=new Set,this.eventListeners=new Map,this.logger=void 0,this._processingStatus=oa.NotStarted,this._parent=void 0,this._syncSnapshot=void 0,this.ref=void 0,this._actorScope=void 0,this.systemId=void 0,this.sessionId=void 0,this.system=void 0,this._doneEvent=void 0,this.src=void 0,this._deferred=[];const o={...LBe,...n},{clock:a,logger:i,parent:l,syncSnapshot:s,id:c,systemId:u,inspect:d}=o;this.system=l?l.system:zBe(this,{clock:a,logger:i}),d&&!l&&this.system.inspect(e2(d)),this.sessionId=this.system._bookId(),this.id=c??this.sessionId,this.logger=n?.logger??this.system._logger,this.clock=n?.clock??this.system._clock,this._parent=l,this._syncSnapshot=s,this.options=o,this.src=o.src??r,this.ref=this,this._actorScope={self:this,id:this.id,sessionId:this.sessionId,logger:this.logger,defer:p=>{this._deferred.push(p)},system:this.system,stopChild:p=>{if(p._parent!==this)throw new Error(`Cannot stop child actor ${p.id} of ${this.id} because it is not a child`);p._stop()},emit:p=>{const f=this.eventListeners.get(p.type),g=this.eventListeners.get("*");if(!f&&!g)return;const b=[...f?f.values():[],...g?g.values():[]];for(const x of b)try{x(p)}catch(w){cs(w)}},actionExecutor:p=>{const f=()=>{if(this._actorScope.system._sendInspectionEvent({type:"@xstate.action",actorRef:this,action:{type:p.type,params:p.params}}),!p.exec)return;const g=Z7;try{Z7=!0,p.exec(p.info,p.params)}finally{Z7=g}};this._processingStatus===oa.Running?f():this._deferred.push(f)}},this.send=this.send.bind(this),this.system._sendInspectionEvent({type:"@xstate.actor",actorRef:this}),u&&(this.systemId=u,this.system._set(u,this)),this._initState(n?.snapshot??n?.state),u&&this._snapshot.status!=="active"&&this.system._unregister(this)}_initState(r){try{this._snapshot=r?this.logic.restoreSnapshot?this.logic.restoreSnapshot(r,this._actorScope):r:this.logic.getInitialSnapshot(this._actorScope,this.options?.input)}catch(n){this._snapshot={status:"error",output:void 0,error:n}}}update(r,n){this._snapshot=r;let o;for(;o=this._deferred.shift();)try{o()}catch(a){this._deferred.length=0,this._snapshot={...r,status:"error",error:a}}switch(this._snapshot.status){case"active":for(const a of this.observers)try{a.next?.(r)}catch(i){cs(i)}break;case"done":for(const a of this.observers)try{a.next?.(r)}catch(i){cs(i)}this._stopProcedure(),this._complete(),this._doneEvent=PBe(this.id,this._snapshot.output),this._parent&&this.system._relay(this,this._parent,this._doneEvent);break;case"error":this._error(this._snapshot.error);break}this.system._sendInspectionEvent({type:"@xstate.snapshot",actorRef:this,event:n,snapshot:r})}subscribe(r,n,o){const a=e2(r,n,o);if(this._processingStatus!==oa.Stopped)this.observers.add(a);else switch(this._snapshot.status){case"done":try{a.complete?.()}catch(i){cs(i)}break;case"error":{const i=this._snapshot.error;if(!a.error)cs(i);else try{a.error(i)}catch(l){cs(l)}break}}return{unsubscribe:()=>{this.observers.delete(a)}}}on(r,n){let o=this.eventListeners.get(r);o||(o=new Set,this.eventListeners.set(r,o));const a=n.bind(void 0);return o.add(a),{unsubscribe:()=>{o.delete(a)}}}start(){if(this._processingStatus===oa.Running)return this;this._syncSnapshot&&this.subscribe({next:n=>{n.status==="active"&&this.system._relay(this,this._parent,{type:`xstate.snapshot.${this.id}`,snapshot:n})},error:()=>{}}),this.system._register(this.sessionId,this),this.systemId&&this.system._set(this.systemId,this),this._processingStatus=oa.Running;const r=SG(this.options.input);switch(this.system._sendInspectionEvent({type:"@xstate.event",sourceRef:this._parent,actorRef:this,event:r}),this._snapshot.status){case"done":return this.update(this._snapshot,r),this;case"error":return this._error(this._snapshot.error),this}if(this._parent||this.system.start(),this.logic.start)try{this.logic.start(this._snapshot,this._actorScope)}catch(n){return this._snapshot={...this._snapshot,status:"error",error:n},this._error(n),this}return this.update(this._snapshot,r),this.options.devTools&&this.attachDevTools(),this.mailbox.start(),this}_process(r){let n,o;try{n=this.logic.transition(this._snapshot,r,this._actorScope)}catch(a){o={err:a}}if(o){const{err:a}=o;this._snapshot={...this._snapshot,status:"error",error:a},this._error(a);return}this.update(n,r),r.type===ay&&(this._stopProcedure(),this._complete())}_stop(){return this._processingStatus===oa.Stopped?this:(this.mailbox.clear(),this._processingStatus===oa.NotStarted?(this._processingStatus=oa.Stopped,this):(this.mailbox.enqueue({type:ay}),this))}stop(){if(this._parent)throw new Error("A non-root actor cannot be stopped directly.");return this._stop()}_complete(){for(const r of this.observers)try{r.complete?.()}catch(n){cs(n)}this.observers.clear()}_reportError(r){if(!this.observers.size){this._parent||cs(r);return}let n=!1;for(const o of this.observers){const a=o.error;n||=!a;try{a?.(r)}catch(i){cs(i)}}this.observers.clear(),n&&cs(r)}_error(r){this._stopProcedure(),this._reportError(r),this._parent&&this.system._relay(this,this._parent,EG(this.id,r))}_stopProcedure(){return this._processingStatus!==oa.Running?this:(this.system.scheduler.cancelAll(this),this.mailbox.clear(),this.mailbox=new xG(this._process.bind(this)),this._processingStatus=oa.Stopped,this.system._unregister(this),this)}_send(r){this._processingStatus!==oa.Stopped&&this.mailbox.enqueue(r)}send(r){this.system._relay(void 0,this,r)}attachDevTools(){const{devTools:r}=this.options;r&&(typeof r=="function"?r:CBe)(this)}toJSON(){return{xstate$$type:Q7,id:this.id}}getPersistedSnapshot(r){return this.logic.getPersistedSnapshot(this._snapshot,r)}[$Be](){return this}getSnapshot(){return this._snapshot}}function Zf(e,...[r]){return new BBe(e,r)}function jBe(e,r,n,o,{sendId:a}){const i=typeof a=="function"?a(n,o):a;return[r,{sendId:i},void 0]}function FBe(e,r){e.defer(()=>{e.system.scheduler.cancel(e.self,r.sendId)})}function Vo(e){function r(n,o){}return r.type="xstate.cancel",r.sendId=e,r.resolve=jBe,r.execute=FBe,r}function HBe(e,r,n,o,{id:a,systemId:i,src:l,input:s,syncSnapshot:c}){const u=typeof l=="string"?K7(r.machine,l):l,d=typeof a=="function"?a(n):a;let p,f;return u&&(f=typeof s=="function"?s({context:r.context,event:n.event,self:e.self}):s,p=Zf(u,{id:d,src:l,parent:e.self,syncSnapshot:c,systemId:i,input:f})),[mp(r,{children:{...r.children,[d]:p}}),{id:a,systemId:i,actorRef:p,src:l,input:f},void 0]}function qBe(e,{actorRef:r}){r&&e.defer(()=>{r._processingStatus!==oa.Stopped&&r.start()})}function pp(...[e,{id:r,systemId:n,input:o,syncSnapshot:a=!1}={}]){function i(l,s){}return i.type="xstate.spawnChild",i.id=r,i.systemId=n,i.src=e,i.input=o,i.syncSnapshot=a,i.resolve=HBe,i.execute=qBe,i}function UBe(e,r,n,o,{actorRef:a}){const i=typeof a=="function"?a(n,o):a,l=typeof i=="string"?r.children[i]:i;let s=r.children;return l&&(s={...s},delete s[l.id]),[mp(r,{children:s}),l,void 0]}function VBe(e,r){if(r){if(e.system._unregister(r),r._processingStatus!==oa.Running){e.stopChild(r);return}e.defer(()=>{e.stopChild(r)})}}function nc(e){function r(n,o){}return r.type="xstate.stopChild",r.actorRef=e,r.resolve=UBe,r.execute=VBe,r}function YBe(e,{context:r,event:n},{guards:o}){return o.every(a=>Qf(a,r,n,e))}function t2(e){function r(n,o){return!1}return r.check=YBe,r.guards=e,r}function WBe(e,{context:r,event:n},{guards:o}){return o.some(a=>Qf(a,r,n,e))}function MG(e){function r(n,o){return!1}return r.check=WBe,r.guards=e,r}function Qf(e,r,n,o){const{machine:a}=o,i=typeof e=="function",l=i?e:a.implementations.guards[typeof e=="string"?e:e.type];if(!i&&!l)throw new Error(`Guard '${typeof e=="string"?e:e.type}' is not implemented.'.`);if(typeof l!="function")return Qf(l,r,n,o);const s={context:r,event:n},c=i||typeof e=="string"?void 0:"params"in e?typeof e.params=="function"?e.params({context:r,event:n}):e.params:void 0;return"check"in l?l.check(o,s,l):l(s,c)}const J7=e=>e.type==="atomic"||e.type==="final";function Jf(e){return Object.values(e.states).filter(r=>r.type!=="history")}function iy(e,r){const n=[];if(r===e)return n;let o=e.parent;for(;o&&o!==r;)n.push(o),o=o.parent;return n}function r2(e){const r=new Set(e),n=IG(r);for(const o of r)if(o.type==="compound"&&(!n.get(o)||!n.get(o).length))BG(o).forEach(a=>r.add(a));else if(o.type==="parallel"){for(const a of Jf(o))if(a.type!=="history"&&!r.has(a)){const i=BG(a);for(const l of i)r.add(l)}}for(const o of r){let a=o.parent;for(;a;)r.add(a),a=a.parent}return r}function OG(e,r){const n=r.get(e);if(!n)return{};if(e.type==="compound"){const a=n[0];if(a){if(J7(a))return a.key}else return{}}const o={};for(const a of n)o[a.key]=OG(a,r);return o}function IG(e){const r=new Map;for(const n of e)r.has(n)||r.set(n,[]),n.parent&&(r.has(n.parent)||r.set(n.parent,[]),r.get(n.parent).push(n));return r}function zG(e,r){const n=r2(r);return OG(e,IG(n))}function eS(e,r){return r.type==="compound"?Jf(r).some(n=>n.type==="final"&&e.has(n)):r.type==="parallel"?Jf(r).every(n=>eS(e,n)):r.type==="final"}const n2=e=>e[0]===RBe;function GBe(e,r){return e.transitions.get(r)||[...e.transitions.keys()].filter(n=>{if(n===ABe)return!0;if(!n.endsWith(".*"))return!1;const o=n.split("."),a=r.split(".");for(let i=0;io.length-n.length).flatMap(n=>e.transitions.get(n))}function XBe(e){const r=e.config.after;if(!r)return[];const n=o=>{const a=DBe(o,e.id),i=a.type;return e.entry.push(Jr(a,{id:i,delay:o})),e.exit.push(Vo(i)),i};return Object.keys(r).flatMap(o=>{const a=r[o],i=typeof a=="string"?{target:a}:a,l=Number.isNaN(+o)?o:+o,s=n(l);return rc(i).map(c=>({...c,event:s,delay:l}))}).map(o=>{const{delay:a}=o;return{...hp(e,o.event,o),delay:a}})}function hp(e,r,n){const o=DG(n.target),a=n.reenter??!1,i=QBe(e,o),l={...n,actions:rc(n.actions),guard:n.guard,target:i,source:e,reenter:a,eventType:r,toJSON:()=>({...l,source:`#${e.id}`,target:i?i.map(s=>`#${s.id}`):void 0})};return l}function KBe(e){const r=new Map;if(e.config.on)for(const n of Object.keys(e.config.on)){if(n===kG)throw new Error('Null events ("") cannot be specified as a transition key. Use `always: { ... }` instead.');const o=e.config.on[n];r.set(n,Kf(o).map(a=>hp(e,n,a)))}if(e.config.onDone){const n=`xstate.done.state.${e.id}`;r.set(n,Kf(e.config.onDone).map(o=>hp(e,n,o)))}for(const n of e.invoke){if(n.onDone){const o=`xstate.done.actor.${n.id}`;r.set(o,Kf(n.onDone).map(a=>hp(e,o,a)))}if(n.onError){const o=`xstate.error.actor.${n.id}`;r.set(o,Kf(n.onError).map(a=>hp(e,o,a)))}if(n.onSnapshot){const o=`xstate.snapshot.${n.id}`;r.set(o,Kf(n.onSnapshot).map(a=>hp(e,o,a)))}}for(const n of e.after){let o=r.get(n.eventType);o||(o=[],r.set(n.eventType,o)),o.push(n)}return r}function ZBe(e,r){const n=typeof r=="string"?e.states[r]:r?e.states[r.target]:void 0;if(!n&&r)throw new Error(`Initial state node "${r}" not found on parent state node #${e.id}`);const o={source:e,actions:!r||typeof r=="string"?[]:rc(r.actions),eventType:null,reenter:!1,target:n?[n]:[],toJSON:()=>({...o,source:`#${e.id}`,target:n?[`#${n.id}`]:[]})};return o}function QBe(e,r){if(r!==void 0)return r.map(n=>{if(typeof n!="string")return n;if(n2(n))return e.machine.getStateNodeById(n);const o=n[0]===wG;if(o&&!e.parent)return o2(e,n.slice(1));const a=o?e.key+n:n;if(e.parent)try{return o2(e.parent,a)}catch(i){throw new Error(`Invalid transition definition for state node '${e.id}': +${i.message}`)}else throw new Error(`Invalid target: "${n}" is not a valid target from the root node. Did you mean ".${n}"?`)})}function LG(e){const r=DG(e.config.target);return r?{target:r.map(n=>typeof n=="string"?o2(e.parent,n):n)}:e.parent.initial}function fp(e){return e.type==="history"}function BG(e){const r=jG(e);for(const n of r)for(const o of iy(n,e))r.add(o);return r}function jG(e){const r=new Set;function n(o){if(!r.has(o)){if(r.add(o),o.type==="compound")n(o.initial.target[0]);else if(o.type==="parallel")for(const a of Jf(o))n(a)}}return n(e),r}function em(e,r){if(n2(r))return e.machine.getStateNodeById(r);if(!e.states)throw new Error(`Unable to retrieve child state '${r}' from '${e.id}'; no child states exist.`);const n=e.states[r];if(!n)throw new Error(`Child state '${r}' does not exist on '${e.id}'`);return n}function o2(e,r){if(typeof r=="string"&&n2(r))try{return e.machine.getStateNodeById(r)}catch{}const n=G7(r).slice();let o=e;for(;n.length;){const a=n.shift();if(!a.length)break;o=em(o,a)}return o}function a2(e,r){if(typeof r=="string"){const a=e.states[r];if(!a)throw new Error(`State '${r}' does not exist on '${e.id}'`);return[e,a]}const n=Object.keys(r),o=n.map(a=>em(e,a)).filter(Boolean);return[e.machine.root,e].concat(o,n.reduce((a,i)=>{const l=em(e,i);if(!l)return a;const s=a2(l,r[i]);return a.concat(s)},[]))}function JBe(e,r,n,o){const a=em(e,r).next(n,o);return!a||!a.length?e.next(n,o):a}function eje(e,r,n,o){const a=Object.keys(r),i=em(e,a[0]),l=tS(i,r[a[0]],n,o);return!l||!l.length?e.next(n,o):l}function tje(e,r,n,o){const a=[];for(const i of Object.keys(r)){const l=r[i];if(!l)continue;const s=em(e,i),c=tS(s,l,n,o);c&&a.push(...c)}return a.length?a:e.next(n,o)}function tS(e,r,n,o){return typeof r=="string"?JBe(e,r,n,o):Object.keys(r).length===1?eje(e,r,n,o):tje(e,r,n,o)}function rje(e){return Object.keys(e.states).map(r=>e.states[r]).filter(r=>r.type==="history")}function Tu(e,r){let n=e;for(;n.parent&&n.parent!==r;)n=n.parent;return n.parent===r}function nje(e,r){const n=new Set(e),o=new Set(r);for(const a of n)if(o.has(a))return!0;for(const a of o)if(n.has(a))return!0;return!1}function FG(e,r,n){const o=new Set;for(const a of e){let i=!1;const l=new Set;for(const s of o)if(nje(nS([a],r,n),nS([s],r,n)))if(Tu(a.source,s.source))l.add(s);else{i=!0;break}if(!i){for(const s of l)o.delete(s);o.add(a)}}return Array.from(o)}function oje(e){const[r,...n]=e;for(const o of iy(r,void 0))if(n.every(a=>Tu(a,o)))return o}function rS(e,r){if(!e.target)return[];const n=new Set;for(const o of e.target)if(fp(o))if(r[o.id])for(const a of r[o.id])n.add(a);else for(const a of rS(LG(o),r))n.add(a);else n.add(o);return[...n]}function HG(e,r){const n=rS(e,r);if(!n)return;if(!e.reenter&&n.every(a=>a===e.source||Tu(a,e.source)))return e.source;const o=oje(n.concat(e.source));if(o)return o;if(!e.reenter)return e.source.machine.root}function nS(e,r,n){const o=new Set;for(const a of e)if(a.target?.length){const i=HG(a,n);a.reenter&&a.source===i&&o.add(i);for(const l of r)Tu(l,i)&&o.add(l)}return[...o]}function aje(e,r){if(e.length!==r.size)return!1;for(const n of e)if(!r.has(n))return!1;return!0}function oS(e,r,n,o,a,i){if(!e.length)return r;const l=new Set(r._nodes);let s=r.historyValue;const c=FG(e,l,s);let u=r;a||([u,s]=cje(u,o,n,c,l,s,i,n.actionExecutor)),u=rm(u,o,n,c.flatMap(p=>p.actions),i,void 0),u=lje(u,o,n,c,l,i,s,a);const d=[...l];u.status==="done"&&(u=rm(u,o,n,d.sort((p,f)=>f.order-p.order).flatMap(p=>p.exit),i,void 0));try{return s===r.historyValue&&aje(r._nodes,l)?u:mp(u,{_nodes:d,historyValue:s})}catch(p){throw p}}function ije(e,r,n,o,a){if(o.output===void 0)return;const i=W7(a.id,a.output!==void 0&&a.parent?X7(a.output,e.context,r,n.self):void 0);return X7(o.output,e.context,i,n.self)}function lje(e,r,n,o,a,i,l,s){let c=e;const u=new Set,d=new Set;sje(o,l,d,u),s&&d.add(e.machine.root);const p=new Set;for(const f of[...u].sort((g,b)=>g.order-b.order)){a.add(f);const g=[];g.push(...f.entry);for(const b of f.invoke)g.push(pp(b.src,{...b,syncSnapshot:!!b.onSnapshot}));if(d.has(f)){const b=f.initial.actions;g.push(...b)}if(c=rm(c,r,n,g,i,f.invoke.map(b=>b.id)),f.type==="final"){const b=f.parent;let x=b?.type==="parallel"?b:b?.parent,w=x||f;for(b?.type==="compound"&&i.push(W7(b.id,f.output!==void 0?X7(f.output,c.context,r,n.self):void 0));x?.type==="parallel"&&!p.has(x)&&eS(a,x);)p.add(x),i.push(W7(x.id)),w=x,x=x.parent;if(x)continue;c=mp(c,{status:"done",output:ije(c,r,n,c.machine.root,w)})}}return c}function sje(e,r,n,o){for(const a of e){const i=HG(a,r);for(const s of a.target||[])!fp(s)&&(a.source!==s||a.source!==i||a.reenter)&&(o.add(s),n.add(s)),tm(s,r,n,o);const l=rS(a,r);for(const s of l){const c=iy(s,i);i?.type==="parallel"&&c.push(i),qG(o,r,n,c,!a.source.parent&&a.reenter?void 0:i)}}}function tm(e,r,n,o){if(fp(e))if(r[e.id]){const a=r[e.id];for(const i of a)o.add(i),tm(i,r,n,o);for(const i of a)aS(i,e.parent,o,r,n)}else{const a=LG(e);for(const i of a.target)o.add(i),a===e.parent?.initial&&n.add(e.parent),tm(i,r,n,o);for(const i of a.target)aS(i,e.parent,o,r,n)}else if(e.type==="compound"){const[a]=e.initial.target;fp(a)||(o.add(a),n.add(a)),tm(a,r,n,o),aS(a,e,o,r,n)}else if(e.type==="parallel")for(const a of Jf(e).filter(i=>!fp(i)))[...o].some(i=>Tu(i,a))||(fp(a)||(o.add(a),n.add(a)),tm(a,r,n,o))}function qG(e,r,n,o,a){for(const i of o)if((!a||Tu(i,a))&&e.add(i),i.type==="parallel")for(const l of Jf(i).filter(s=>!fp(s)))[...e].some(s=>Tu(s,l))||(e.add(l),tm(l,r,n,e))}function aS(e,r,n,o,a){qG(n,o,a,iy(e,r))}function cje(e,r,n,o,a,i,l,s){let c=e;const u=nS(o,a,i);u.sort((p,f)=>f.order-p.order);let d;for(const p of u)for(const f of rje(p)){let g;f.history==="deep"?g=b=>J7(b)&&Tu(b,p):g=b=>b.parent===p,d??={...i},d[f.id]=Array.from(a).filter(g)}for(const p of u)c=rm(c,r,n,[...p.exit,...p.invoke.map(f=>nc(f.id))],l,void 0),a.delete(p);return[c,d||i]}function uje(e,r){return e.implementations.actions[r]}function UG(e,r,n,o,a,i){const{machine:l}=e;let s=e;for(const c of o){const u=typeof c=="function",d=u?c:uje(l,typeof c=="string"?c:c.type),p={context:s.context,event:r,self:n.self,system:n.system},f=u||typeof c=="string"?void 0:"params"in c?typeof c.params=="function"?c.params({context:s.context,event:r}):c.params:void 0;if(!d||!("resolve"in d)){n.actionExecutor({type:typeof c=="string"?c:typeof c=="object"?c.type:c.name||"(anonymous)",info:p,params:f,exec:d});continue}const g=d,[b,x,w]=g.resolve(n,s,p,f,d,a);s=b,"retryResolve"in g&&i?.push([g,x]),"execute"in g&&n.actionExecutor({type:g.type,info:p,params:x,exec:g.execute.bind(null,n,x)}),w&&(s=UG(s,r,n,w,a,i))}return s}function rm(e,r,n,o,a,i){const l=i?[]:void 0,s=UG(e,r,n,o,{internalQueue:a,deferredActorIds:i},l);return l?.forEach(([c,u])=>{c.retryResolve(n,s,u)}),s}function iS(e,r,n,o){let a=e;const i=[];function l(u,d,p){n.system._sendInspectionEvent({type:"@xstate.microstep",actorRef:n.self,event:d,snapshot:u,_transitions:p}),i.push(u)}if(r.type===ay)return a=mp(VG(a,r,n),{status:"stopped"}),l(a,r,[]),{snapshot:a,microstates:i};let s=r;if(s.type!==_G){const u=s,d=OBe(u),p=YG(u,a);if(d&&!p.length)return a=mp(e,{status:"error",error:u.error}),l(a,u,[]),{snapshot:a,microstates:i};a=oS(p,e,n,s,!1,o),l(a,u,p)}let c=!0;for(;a.status==="active";){let u=c?dje(a,s):[];const d=u.length?a:void 0;if(!u.length){if(!o.length)break;s=o.shift(),u=YG(s,a)}a=oS(u,a,n,s,!1,o),c=a!==d,l(a,s,u)}return a.status!=="active"&&VG(a,s,n),{snapshot:a,microstates:i}}function VG(e,r,n){return rm(e,r,n,Object.values(e.children).map(o=>nc(o)),[],void 0)}function YG(e,r){return r.machine.getTransitionData(r,e)}function dje(e,r){const n=new Set,o=e._nodes.filter(J7);for(const a of o)e:for(const i of[a].concat(iy(a,void 0)))if(i.always){for(const l of i.always)if(l.guard===void 0||Qf(l.guard,e.context,r,e)){n.add(l);break e}}return FG(Array.from(n),new Set(e._nodes),e.historyValue)}function pje(e,r){const n=r2(a2(e,r));return zG(e,[...n])}function hje(e){return!!e&&typeof e=="object"&&"machine"in e&&"value"in e}const fje=function(e){return CG(e,this.value)},mje=function(e){return this.tags.has(e)},gje=function(e){const r=this.machine.getTransitionData(this,e);return!!r?.length&&r.some(n=>n.target!==void 0||n.actions.length)},yje=function(){const{_nodes:e,tags:r,machine:n,getMeta:o,toJSON:a,can:i,hasTag:l,matches:s,...c}=this;return{...c,tags:Array.from(r)}},bje=function(){return this._nodes.reduce((e,r)=>(r.meta!==void 0&&(e[r.id]=r.meta),e),{})};function i2(e,r){return{status:e.status,output:e.output,error:e.error,machine:r,context:e.context,_nodes:e._nodes,value:zG(r.root,e._nodes),tags:new Set(e._nodes.flatMap(n=>n.tags)),children:e.children,historyValue:e.historyValue||{},matches:fje,hasTag:mje,can:gje,getMeta:bje,toJSON:yje}}function mp(e,r={}){return i2({...e,...r},e.machine)}function vje(e){if(typeof e!="object"||e===null)return{};const r={};for(const n in e){const o=e[n];Array.isArray(o)&&(r[n]=o.map(a=>({id:a.id})))}return r}function xje(e,r){const{_nodes:n,tags:o,machine:a,children:i,context:l,can:s,hasTag:c,matches:u,getMeta:d,toJSON:p,...f}=e,g={};for(const b in i){const x=i[b];g[b]={snapshot:x.getPersistedSnapshot(r),src:x.src,systemId:x.systemId,syncSnapshot:x._syncSnapshot}}return{...f,context:WG(l),children:g,historyValue:vje(f.historyValue)}}function WG(e){let r;for(const n in e){const o=e[n];if(o&&typeof o=="object")if("sessionId"in o&&"send"in o&&"ref"in o)r??=Array.isArray(e)?e.slice():{...e},r[n]={xstate$$type:Q7,id:o.id};else{const a=WG(o);a!==o&&(r??=Array.isArray(e)?e.slice():{...e},r[n]=a)}}return r??e}function wje(e,r,n,o,{event:a,id:i,delay:l},{internalQueue:s}){const c=r.machine.implementations.delays;if(typeof a=="string")throw new Error(`Only event objects may be used with raise; use raise({ type: "${a}" }) instead`);const u=typeof a=="function"?a(n,o):a;let d;if(typeof l=="string"){const p=c&&c[l];d=typeof p=="function"?p(n,o):p}else d=typeof l=="function"?l(n,o):l;return typeof d!="number"&&s.push(u),[r,{event:u,id:i,delay:d},void 0]}function kje(e,r){const{event:n,delay:o,id:a}=r;if(typeof o=="number"){e.defer(()=>{const i=e.self;e.system.scheduler.schedule(i,i,n,o,a)});return}}function Jr(e,r){function n(o,a){}return n.type="xstate.raise",n.event=e,n.id=r?.id,n.delay=r?.delay,n.resolve=wje,n.execute=kje,n}const GG=new WeakMap;function XG(e){return{config:e,start:(r,n)=>{const{self:o,system:a,emit:i}=n,l={receivers:void 0,dispose:void 0};GG.set(o,l),l.dispose=e({input:r.input,system:a,self:o,sendBack:s=>{o.getSnapshot().status!=="stopped"&&o._parent&&a._relay(o,o._parent,s)},receive:s=>{l.receivers??=new Set,l.receivers.add(s)},emit:i})},transition:(r,n,o)=>{const a=GG.get(o.self);return n.type===ay?(r={...r,status:"stopped",error:void 0},a.dispose?.(),r):(a.receivers?.forEach(i=>i(n)),r)},getInitialSnapshot:(r,n)=>({status:"active",output:void 0,error:void 0,input:n}),getPersistedSnapshot:r=>r,restoreSnapshot:r=>r}}const KG="xstate.promise.resolve",ZG="xstate.promise.reject",l2=new WeakMap;function _je(e){return{config:e,transition:(r,n,o)=>{if(r.status!=="active")return r;switch(n.type){case KG:{const a=n.data;return{...r,status:"done",output:a,input:void 0}}case ZG:return{...r,status:"error",error:n.data,input:void 0};case ay:return l2.get(o.self)?.abort(),{...r,status:"stopped",input:void 0};default:return r}},start:(r,{self:n,system:o,emit:a})=>{if(r.status!=="active")return;const i=new AbortController;l2.set(n,i),Promise.resolve(e({input:r.input,system:o,self:n,signal:i.signal,emit:a})).then(l=>{n.getSnapshot().status==="active"&&(l2.delete(n),o._relay(n,n,{type:KG,data:l}))},l=>{n.getSnapshot().status==="active"&&(l2.delete(n),o._relay(n,n,{type:ZG,data:l}))})},getInitialSnapshot:(r,n)=>({status:"active",output:void 0,error:void 0,input:n}),getPersistedSnapshot:r=>r,restoreSnapshot:r=>r}}function Eje(e,{machine:r,context:n},o,a){const i=(l,s)=>{if(typeof l=="string"){const c=K7(r,l);if(!c)throw new Error(`Actor logic '${l}' not implemented in machine '${r.id}'`);const u=Zf(c,{id:s?.id,parent:e.self,syncSnapshot:s?.syncSnapshot,input:typeof s?.input=="function"?s.input({context:n,event:o,self:e.self}):s?.input,src:l,systemId:s?.systemId});return a[u.id]=u,u}else return Zf(l,{id:s?.id,parent:e.self,syncSnapshot:s?.syncSnapshot,input:s?.input,src:l,systemId:s?.systemId})};return(l,s)=>{const c=i(l,s);return a[c.id]=c,e.defer(()=>{c._processingStatus!==oa.Stopped&&c.start()}),c}}function Sje(e,r,n,o,{assignment:a}){if(!r.context)throw new Error("Cannot assign to undefined `context`. Ensure that `context` is defined in the machine config.");const i={},l={context:r.context,event:n.event,spawn:Eje(e,r,n.event,i),self:e.self,system:e.system};let s={};if(typeof a=="function")s=a(l,o);else for(const u of Object.keys(a)){const d=a[u];s[u]=typeof d=="function"?d(l,o):d}const c=Object.assign({},r.context,s);return[mp(r,{context:c,children:Object.keys(i).length?{...r.children,...i}:r.children}),void 0,void 0]}function Qe(e){function r(n,o){}return r.type="xstate.assign",r.assignment=e,r.resolve=Sje,r}const QG=new WeakMap;function nm(e,r,n){let o=QG.get(e);return o?r in o||(o[r]=n()):(o={[r]:n()},QG.set(e,o)),o[r]}const Cje={},ly=e=>typeof e=="string"?{type:e}:typeof e=="function"?"resolve"in e?{type:e.type}:{type:e.name}:e;class s2{constructor(r,n){if(this.config=r,this.key=void 0,this.id=void 0,this.type=void 0,this.path=void 0,this.states=void 0,this.history=void 0,this.entry=void 0,this.exit=void 0,this.parent=void 0,this.machine=void 0,this.meta=void 0,this.output=void 0,this.order=-1,this.description=void 0,this.tags=[],this.transitions=void 0,this.always=void 0,this.parent=n._parent,this.key=n._key,this.machine=n._machine,this.path=this.parent?this.parent.path.concat(this.key):[],this.id=this.config.id||[this.machine.id,...this.path].join(wG),this.type=this.config.type||(this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.description=this.config.description,this.order=this.machine.idMap.size,this.machine.idMap.set(this.id,this),this.states=this.config.states?RG(this.config.states,(o,a)=>new s2(o,{_parent:this,_key:a,_machine:this.machine})):Cje,this.type==="compound"&&!this.config.initial)throw new Error(`No initial state specified for compound state node "#${this.id}". Try adding { initial: "${Object.keys(this.states)[0]}" } to the state config.`);this.history=this.config.history===!0?"shallow":this.config.history||!1,this.entry=rc(this.config.entry).slice(),this.exit=rc(this.config.exit).slice(),this.meta=this.config.meta,this.output=this.type==="final"||!this.parent?this.config.output:void 0,this.tags=rc(r.tags).slice()}_initialize(){this.transitions=KBe(this),this.config.always&&(this.always=Kf(this.config.always).map(r=>hp(this,kG,r))),Object.keys(this.states).forEach(r=>{this.states[r]._initialize()})}get definition(){return{id:this.id,key:this.key,version:this.machine.version,type:this.type,initial:this.initial?{target:this.initial.target,source:this,actions:this.initial.actions.map(ly),eventType:null,reenter:!1,toJSON:()=>({target:this.initial.target.map(r=>`#${r.id}`),source:`#${this.id}`,actions:this.initial.actions.map(ly),eventType:null})}:void 0,history:this.history,states:RG(this.states,r=>r.definition),on:this.on,transitions:[...this.transitions.values()].flat().map(r=>({...r,actions:r.actions.map(ly)})),entry:this.entry.map(ly),exit:this.exit.map(ly),meta:this.meta,order:this.order||-1,output:this.output,invoke:this.invoke,description:this.description,tags:this.tags}}toJSON(){return this.definition}get invoke(){return nm(this,"invoke",()=>rc(this.config.invoke).map((r,n)=>{const{src:o,systemId:a}=r,i=r.id??PG(this.id,n),l=typeof o=="string"?o:`xstate.invoke.${PG(this.id,n)}`;return{...r,src:l,id:i,systemId:a,toJSON(){const{onDone:s,onError:c,...u}=r;return{...u,type:"xstate.invoke",src:l,id:i}}}}))}get on(){return nm(this,"on",()=>[...this.transitions].flatMap(([r,n])=>n.map(o=>[r,o])).reduce((r,[n,o])=>(r[n]=r[n]||[],r[n].push(o),r),{}))}get after(){return nm(this,"delayedTransitions",()=>XBe(this))}get initial(){return nm(this,"initial",()=>ZBe(this,this.config.initial))}next(r,n){const o=n.type,a=[];let i;const l=nm(this,`candidates-${o}`,()=>GBe(this,o));for(const s of l){const{guard:c}=s,u=r.context;let d=!1;try{d=!c||Qf(c,u,n,r)}catch(p){const f=typeof c=="string"?c:typeof c=="object"?c.type:void 0;throw new Error(`Unable to evaluate guard ${f?`'${f}' `:""}in transition for event '${o}' in state node '${this.id}': +${p.message}`)}if(d){a.push(...s.actions),i=s;break}}return i?[i]:void 0}get events(){return nm(this,"events",()=>{const{states:r}=this,n=new Set(this.ownEvents);if(r)for(const o of Object.keys(r)){const a=r[o];if(a.states)for(const i of a.events)n.add(`${i}`)}return Array.from(n)})}get ownEvents(){const r=new Set([...this.transitions.keys()].filter(n=>this.transitions.get(n).some(o=>!(!o.target&&!o.actions.length&&!o.reenter))));return Array.from(r)}}const Tje="#";class lS{constructor(r,n){this.config=r,this.version=void 0,this.schemas=void 0,this.implementations=void 0,this.__xstatenode=!0,this.idMap=new Map,this.root=void 0,this.id=void 0,this.states=void 0,this.events=void 0,this.id=r.id||"(machine)",this.implementations={actors:n?.actors??{},actions:n?.actions??{},delays:n?.delays??{},guards:n?.guards??{}},this.version=this.config.version,this.schemas=this.config.schemas,this.transition=this.transition.bind(this),this.getInitialSnapshot=this.getInitialSnapshot.bind(this),this.getPersistedSnapshot=this.getPersistedSnapshot.bind(this),this.restoreSnapshot=this.restoreSnapshot.bind(this),this.start=this.start.bind(this),this.root=new s2(r,{_key:this.id,_machine:this}),this.root._initialize(),this.states=this.root.states,this.events=this.root.events}provide(r){const{actions:n,guards:o,actors:a,delays:i}=this.implementations;return new lS(this.config,{actions:{...n,...r.actions},guards:{...o,...r.guards},actors:{...a,...r.actors},delays:{...i,...r.delays}})}resolveState(r){const n=pje(this.root,r.value),o=r2(a2(this.root,n));return i2({_nodes:[...o],context:r.context||{},children:{},status:eS(o,this.root)?"done":r.status||"active",output:r.output,error:r.error,historyValue:r.historyValue},this)}transition(r,n,o){return iS(r,n,o,[]).snapshot}microstep(r,n,o){return iS(r,n,o,[]).microstates}getTransitionData(r,n){return tS(this.root,r.value,r,n)||[]}getPreInitialState(r,n,o){const{context:a}=this.config,i=i2({context:typeof a!="function"&&a?a:{},_nodes:[this.root],children:{},status:"active"},this);return typeof a=="function"?rm(i,n,r,[Qe(({spawn:l,event:s,self:c})=>a({spawn:l,input:s.input,self:c}))],o,void 0):i}getInitialSnapshot(r,n){const o=SG(n),a=[],i=this.getPreInitialState(r,o,a),l=oS([{target:[...jG(this.root)],source:this.root,reenter:!0,actions:[],eventType:null,toJSON:null}],i,r,o,!0,a),{snapshot:s}=iS(l,o,r,a);return s}start(r){Object.values(r.children).forEach(n=>{n.getSnapshot().status==="active"&&n.start()})}getStateNodeById(r){const n=G7(r),o=n.slice(1),a=n2(n[0])?n[0].slice(Tje.length):n[0],i=this.idMap.get(a);if(!i)throw new Error(`Child state node '#${a}' does not exist on machine '${this.id}'`);return o2(i,o)}get definition(){return this.root.definition}toJSON(){return this.definition}getPersistedSnapshot(r,n){return xje(r,n)}restoreSnapshot(r,n){const o={},a=r.children;Object.keys(a).forEach(p=>{const f=a[p],g=f.snapshot,b=f.src,x=typeof b=="string"?K7(this,b):b;if(!x)return;const w=Zf(x,{id:p,parent:n.self,syncSnapshot:f.syncSnapshot,snapshot:g,src:b,systemId:f.systemId});o[p]=w});function i(p,f){if(f instanceof s2)return f;try{return p.machine.getStateNodeById(f.id)}catch{}}function l(p,f){if(!f||typeof f!="object")return{};const g={};for(const b in f){const x=f[b];for(const w of x){const k=i(p,w);k&&(g[b]??=[],g[b].push(k))}}return g}const s=l(this.root,r.historyValue),c=i2({...r,children:o,_nodes:Array.from(r2(a2(this.root,r.value))),historyValue:s},this),u=new Set;function d(p,f){if(!u.has(p)){u.add(p);for(const g in p){const b=p[g];if(b&&typeof b=="object"){if("xstate$$type"in b&&b.xstate$$type===Q7){p[g]=f[b.id];continue}d(b,f)}}}}return d(c.context,o),c}}function Rje(e,r,n,o,{event:a}){const i=typeof a=="function"?a(n,o):a;return[r,{event:i},void 0]}function Aje(e,{event:r}){e.defer(()=>e.emit(r))}function $a(e){function r(n,o){}return r.type="xstate.emit",r.event=e,r.resolve=Rje,r.execute=Aje,r}let sS=(function(e){return e.Parent="#_parent",e.Internal="#_internal",e})({});function Nje(e,r,n,o,{to:a,event:i,id:l,delay:s},c){const u=r.machine.implementations.delays;if(typeof i=="string")throw new Error(`Only event objects may be used with sendTo; use sendTo({ type: "${i}" }) instead`);const d=typeof i=="function"?i(n,o):i;let p;if(typeof s=="string"){const b=u&&u[s];p=typeof b=="function"?b(n,o):b}else p=typeof s=="function"?s(n,o):s;const f=typeof a=="function"?a(n,o):a;let g;if(typeof f=="string"){if(f===sS.Parent?g=e.self._parent:f===sS.Internal?g=e.self:f.startsWith("#_")?g=r.children[f.slice(2)]:g=c.deferredActorIds?.includes(f)?f:r.children[f],!g)throw new Error(`Unable to send event to actor '${f}' from machine '${r.machine.id}'.`)}else g=f||e.self;return[r,{to:g,targetId:typeof f=="string"?f:void 0,event:d,id:l,delay:p},void 0]}function Dje(e,r,n){typeof n.to=="string"&&(n.to=r.children[n.to])}function Pje(e,r){e.defer(()=>{const{to:n,event:o,delay:a,id:i}=r;if(typeof a=="number"){e.system.scheduler.schedule(e.self,n,o,a,i);return}e.system._relay(e.self,n,o.type===NBe?EG(e.self.id,o.data):o)})}function ll(e,r,n){function o(a,i){}return o.type="xstate.sendTo",o.to=e,o.event=r,o.id=n?.id,o.delay=n?.delay,o.resolve=Nje,o.retryResolve=Dje,o.execute=Pje,o}function $je(e,r){return ll(sS.Parent,e,r)}function Mje(e,r,n,o,{collect:a}){const i=[],l=function(s){i.push(s)};return l.assign=(...s)=>{i.push(Qe(...s))},l.cancel=(...s)=>{i.push(Vo(...s))},l.raise=(...s)=>{i.push(Jr(...s))},l.sendTo=(...s)=>{i.push(ll(...s))},l.sendParent=(...s)=>{i.push($je(...s))},l.spawnChild=(...s)=>{i.push(pp(...s))},l.stopChild=(...s)=>{i.push(nc(...s))},l.emit=(...s)=>{i.push($a(...s))},a({context:n.context,event:n.event,enqueue:l,check:s=>Qf(s,r.context,n.event,r),self:e.self,system:e.system},o),[r,void 0,i]}function en(e){function r(n,o){}return r.type="xstate.enqueueActions",r.collect=e,r.resolve=Mje,r}function Oje(e,r,n,o,{value:a,label:i}){return[r,{value:typeof a=="function"?a(n,o):a,label:i},void 0]}function Ije({logger:e},{value:r,label:n}){n?e(n,r):e(r)}function zje(e=({context:n,event:o})=>({context:n,event:o}),r){function n(o,a){}return n.type="xstate.log",n.value=e,n.label=r,n.resolve=Oje,n.execute=Ije,n}function qt(e,r){const n=rc(r);if(!n.includes(e.type)){const o=n.length===1?`type "${n[0]}"`:`one of types "${n.join('", "')}"`;throw new Error(`Expected event ${JSON.stringify(e)} to have ${o}`)}}function Lje(e,r){return new lS(e,r)}function oc({schemas:e,actors:r,actions:n,guards:o,delays:a}){return{assign:Qe,sendTo:ll,raise:Jr,log:zje,cancel:Vo,stopChild:nc,enqueueActions:en,emit:$a,spawnChild:pp,createStateConfig:i=>i,createAction:i=>i,createMachine:i=>Lje({...i,schemas:e},{actors:r,actions:n,guards:o,delays:a})}}HH();const JG=(e,r)=>{r(e);const n=e.getSnapshot().children;n&&Object.values(n).forEach(o=>{JG(o,r)})};function Bje(e){const r=[];JG(e,o=>{r.push([o,o.getSnapshot()]),o.observers=new Set});const n=e.system.getSnapshot?.();e.stop(),e.system._snapshot=n,r.forEach(([o,a])=>{o._processingStatus=0,o._snapshot=a})}function jje(e,...[r]){let[[n,o],a]=S.useState(()=>{const i=Zf(e,r);return[e.config,i]});if(e.config!==n){const i=Zf(e,{...r,snapshot:o.getPersistedSnapshot({__unsafeAllowInlineActors:!0})});a([e.config,i]),o=i}return Zze(()=>{o.logic.implementations=e.implementations}),o}function cS(e,...[r,n]){const o=jje(e,r);return S.useEffect(()=>{if(!n)return;const a=o.subscribe(e2(n));return()=>{a.unsubscribe()}},[n]),S.useEffect(()=>(o.start(),()=>{Bje(o)}),[o]),o}function Fje(e,r){return e===r}function Cn(e,r,n=Fje){const o=S.useCallback(i=>{if(!e)return()=>{};const{unsubscribe:l}=e.subscribe(i);return l},[e]),a=S.useCallback(()=>e?.getSnapshot(),[e]);return VH.useSyncExternalStoreWithSelector(o,a,a,r,n)}function ac(e){return{get overlaysActorRef(){return e.get("overlays")??null},get diagramActorRef(){return e.get("diagram")??null},get searchActorRef(){return e.get("search")??null}}}function om(e,r){return e.view.nodes.find(n=>n.id===r)??null}function uS(e,r){return e.view.edges.find(n=>n.id===r)??null}function Hje(e){const r=new Map,n=e.context.xynodes.reduce((o,a)=>{let i=a.position;if(a.parentId){const c=r.get(a.parentId)??{x:0,y:0};i={x:i.x+c.x,y:i.y+c.y}}if(r.set(a.id,i),a.hidden||a.data.dimmed)return o;const l=a.measured?.width??a.width??a.initialWidth,s=a.measured?.height??a.height??a.initialHeight;return o.minX=Math.min(o.minX,i.x),o.minY=Math.min(o.minY,i.y),o.maxX=Math.max(o.maxX,i.x+l),o.maxY=Math.max(o.maxY,i.y+s),o},{minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0});return n.minX===1/0?{bounds:e.context.view.bounds}:{duration:350,bounds:{x:n.minX-10,y:n.minY-10,width:n.maxX-n.minX+20,height:n.maxY-n.minY+20}}}const qje=32;function Uje(e){const r=bt(e.context.activeWalkthrough),n=bt(e.context.xyedges.find(c=>c.id===r.stepId)),o=e.context.xystore.getState(),a=bt(o.nodeLookup.get(n.source)),i=bt(o.nodeLookup.get(n.target)),l=eH([a,i],o);let s;if(r.parallelPrefix){const c=e.context.xynodes.find(u=>u.type==="seq-parallel"&&u.data.parallelPrefix===r.parallelPrefix);c&&(s={x:c.position.x,y:c.position.y,...Qn(c)})}return s??=Vje(n,o),s?s=su.merge(s,l):s=l,{duration:350,bounds:su.expand(s,qje)}}function Vje(e,r){const n=r.nodeLookup.get(e.source),o=r.nodeLookup.get(e.target);if(!n||!o)return null;const a=xH({id:e.id,sourceNode:n,targetNode:o,sourceHandle:e.sourceHandle||null,targetHandle:e.targetHandle||null,connectionMode:r.connectionMode});return a?su.fromPoints([[a.sourceX,a.sourceY],[a.targetX,a.targetY]]):null}const dS=S.createContext(null);dS.displayName="DiagramActorSafeContext";const Yje=dS.Provider,am=()=>{const e=S.useContext(dS);if(e===null)throw new Error("DiagramActorRef is not provided");return e};function Yt(){const e=am();return S.useMemo(()=>({actor:e,send:r=>e.send(r),navigateTo:(r,n)=>{e.send({type:"navigate.to",viewId:r,...n&&{fromNode:n}})},navigate:r=>{e.send({type:`navigate.${r}`})},fitDiagram:(r=350)=>{e.send({type:"fitDiagram",duration:r})},openRelationshipsBrowser:r=>{e.send({type:"open.relationshipsBrowser",fqn:r})},openSource:r=>{e.send({type:"open.source",...r})},openElementDetails:(r,n)=>{e.send({type:"open.elementDetails",fqn:r,fromNode:n})},openRelationshipDetails:(...r)=>{r.length===1?e.send({type:"open.relationshipDetails",params:{edgeId:r[0]}}):e.send({type:"open.relationshipDetails",params:{source:r[0],target:r[1]}})},updateNodeData:(r,n)=>{e.send({type:"update.nodeData",nodeId:r,data:n})},updateEdgeData:(r,n)=>{e.send({type:"update.edgeData",edgeId:r,data:n})},scheduleSaveManualLayout:()=>{e.send({type:"saveManualLayout.schedule"})},cancelSaveManualLayout:()=>{const r=e.getSnapshot().children.syncLayout?.getSnapshot().value;return e.send({type:"saveManualLayout.cancel"}),r==="pending"||r==="paused"},align:r=>{e.send({type:"layout.align",mode:r})},resetEdgeControlPoints:()=>{e.send({type:"layout.resetEdgeControlPoints"})},focusNode:r=>{e.send({type:"focus.node",nodeId:r})},get currentView(){return e.getSnapshot().context.view},getSnapshot:()=>e.getSnapshot(),getContext:()=>e.getSnapshot().context,findDiagramNode:r=>om(e.getSnapshot().context,r),findEdge:r=>e.getSnapshot().context.xyedges.find(n=>n.data.id===r)??null,findDiagramEdge:r=>uS(e.getSnapshot().context,r),startWalkthrough:()=>{e.send({type:"walkthrough.start"})},walkthroughStep:(r="next")=>{e.send({type:"walkthrough.step",direction:r})},stopWalkthrough:()=>{e.send({type:"walkthrough.end"})},toggleFeature:(r,n)=>{e.send({type:"toggle.feature",feature:r,...n!==void 0&&{forceValue:n}})},highlightNotation:(r,n)=>{e.send({type:"notations.highlight",notation:r,...n&&{kind:n}})},unhighlightNotation:()=>{e.send({type:"notations.unhighlight"})},openSearch:r=>{e.send({type:"open.search",...r&&{search:r}})},switchDynamicViewVariant:r=>{e.send({type:"switch.dynamicViewVariant",variant:r})}}),[e])}function eX(e,r=Jn){const n=am();return Cn(n,ot(e),r)}function Ma(e,r=Jn,n){const o=am(),a=S.useCallback(i=>e(i.context),n??[]);return Cn(o,a,r)}function sl(e,r){const n=am(),o=S.useRef(r);o.current=r,S.useEffect(()=>{const a=n.on(e,i=>{o.current(i)});return()=>{a.unsubscribe()}},[n])}const Wje=e=>e.children.overlays;function tX(){return eX(Wje,Object.is)}const Gje=e=>e.children.search??null;function Xje(){return eX(Gje,Object.is)}function pS(e,r){e.indexOf(r)===-1&&e.push(r)}function c2(e,r){const n=e.indexOf(r);n>-1&&e.splice(n,1)}const ic=(e,r,n)=>n>r?r:n{};const lc={},rX=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function nX(e){return typeof e=="object"&&e!==null}const oX=e=>/^0[^.\s]+$/u.test(e);function fS(e){let r;return()=>(r===void 0&&(r=e()),r)}const fi=e=>e,Kje=(e,r)=>n=>r(e(n)),sy=(...e)=>e.reduce(Kje),im=(e,r,n)=>{const o=r-e;return o===0?1:(n-e)/o};class mS{constructor(){this.subscriptions=[]}add(r){return pS(this.subscriptions,r),()=>c2(this.subscriptions,r)}notify(r,n,o){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](r,n,o);else for(let i=0;ie*1e3,mi=e=>e/1e3;function aX(e,r){return r?e*(1e3/r):0}const Zje=(e,r,n)=>{const o=r-e;return((n-e)%o+o)%o+e},iX=(e,r,n)=>(((1-3*n+3*r)*e+(3*n-6*r))*e+3*r)*e,Qje=1e-7,Jje=12;function eFe(e,r,n,o,a){let i,l,s=0;do l=r+(n-r)/2,i=iX(l,o,a)-e,i>0?n=l:r=l;while(Math.abs(i)>Qje&&++seFe(i,0,1,e,n);return i=>i===0||i===1?i:iX(a(i),r,o)}const lX=e=>r=>r<=.5?e(2*r)/2:(2-e(2*(1-r)))/2,sX=e=>r=>1-e(1-r),cX=cy(.33,1.53,.69,.99),gS=sX(cX),uX=lX(gS),dX=e=>(e*=2)<1?.5*gS(e):.5*(2-Math.pow(2,-10*(e-1))),yS=e=>1-Math.sin(Math.acos(e)),pX=sX(yS),hX=lX(yS),tFe=cy(.42,0,1,1),rFe=cy(0,0,.58,1),fX=cy(.42,0,.58,1),mX=e=>Array.isArray(e)&&typeof e[0]!="number";function gX(e,r){return mX(e)?e[Zje(0,e.length,r)]:e}const yX=e=>Array.isArray(e)&&typeof e[0]=="number",nFe={linear:fi,easeIn:tFe,easeInOut:fX,easeOut:rFe,circIn:yS,circInOut:hX,circOut:pX,backIn:gS,backInOut:uX,backOut:cX,anticipate:dX},oFe=e=>typeof e=="string",bX=e=>{if(yX(e)){hS(e.length===4);const[r,n,o,a]=e;return cy(r,n,o,a)}else if(oFe(e))return nFe[e];return e},u2=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function aFe(e,r){let n=new Set,o=new Set,a=!1,i=!1;const l=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function c(d){l.has(d)&&(u.schedule(d),e()),d(s)}const u={schedule:(d,p=!1,f=!1)=>{const g=f&&a?n:o;return p&&l.add(d),g.has(d)||g.add(d),d},cancel:d=>{o.delete(d),l.delete(d)},process:d=>{if(s=d,a){i=!0;return}a=!0,[n,o]=[o,n],n.forEach(c),n.clear(),a=!1,i&&(i=!1,u.process(d))}};return u}const iFe=40;function vX(e,r){let n=!1,o=!0;const a={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,l=u2.reduce((k,C)=>(k[C]=aFe(i),k),{}),{setup:s,read:c,resolveKeyframes:u,preUpdate:d,update:p,preRender:f,render:g,postRender:b}=l,x=()=>{const k=lc.useManualTiming?a.timestamp:performance.now();n=!1,lc.useManualTiming||(a.delta=o?1e3/60:Math.max(Math.min(k-a.timestamp,iFe),1)),a.timestamp=k,a.isProcessing=!0,s.process(a),c.process(a),u.process(a),d.process(a),p.process(a),f.process(a),g.process(a),b.process(a),a.isProcessing=!1,n&&r&&(o=!1,e(x))},w=()=>{n=!0,o=!0,a.isProcessing||e(x)};return{schedule:u2.reduce((k,C)=>{const _=l[C];return k[C]=(T,R=!1,A=!1)=>(n||w(),_.schedule(T,R,A)),k},{}),cancel:k=>{for(let C=0;C(d2===void 0&&aa.set(yo.isProcessing||lc.useManualTiming?yo.timestamp:performance.now()),d2),set:e=>{d2=e,queueMicrotask(lFe)}},xX=e=>r=>typeof r=="string"&&r.startsWith(e),vS=xX("--"),sFe=xX("var(--"),xS=e=>sFe(e)?cFe.test(e.split("/*")[0].trim()):!1,cFe=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,lm={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},uy={...lm,transform:e=>ic(0,1,e)},p2={...lm,default:1},dy=e=>Math.round(e*1e5)/1e5,wS=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function uFe(e){return e==null}const dFe=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,kS=(e,r)=>n=>!!(typeof n=="string"&&dFe.test(n)&&n.startsWith(e)||r&&!uFe(n)&&Object.prototype.hasOwnProperty.call(n,r)),wX=(e,r,n)=>o=>{if(typeof o!="string")return o;const[a,i,l,s]=o.match(wS);return{[e]:parseFloat(a),[r]:parseFloat(i),[n]:parseFloat(l),alpha:s!==void 0?parseFloat(s):1}},pFe=e=>ic(0,255,e),_S={...lm,transform:e=>Math.round(pFe(e))},gp={test:kS("rgb","red"),parse:wX("red","green","blue"),transform:({red:e,green:r,blue:n,alpha:o=1})=>"rgba("+_S.transform(e)+", "+_S.transform(r)+", "+_S.transform(n)+", "+dy(uy.transform(o))+")"};function hFe(e){let r="",n="",o="",a="";return e.length>5?(r=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),a=e.substring(7,9)):(r=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),a=e.substring(4,5),r+=r,n+=n,o+=o,a+=a),{red:parseInt(r,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:a?parseInt(a,16)/255:1}}const ES={test:kS("#"),parse:hFe,transform:gp.transform},py=e=>({test:r=>typeof r=="string"&&r.endsWith(e)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${e}`}),Au=py("deg"),us=py("%"),kt=py("px"),fFe=py("vh"),mFe=py("vw"),kX={...us,parse:e=>us.parse(e)/100,transform:e=>us.transform(e*100)},sm={test:kS("hsl","hue"),parse:wX("hue","saturation","lightness"),transform:({hue:e,saturation:r,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+us.transform(dy(r))+", "+us.transform(dy(n))+", "+dy(uy.transform(o))+")"},Tn={test:e=>gp.test(e)||ES.test(e)||sm.test(e),parse:e=>gp.test(e)?gp.parse(e):sm.test(e)?sm.parse(e):ES.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?gp.transform(e):sm.transform(e),getAnimatableNone:e=>{const r=Tn.parse(e);return r.alpha=0,Tn.transform(r)}},gFe=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function yFe(e){return isNaN(e)&&typeof e=="string"&&(e.match(wS)?.length||0)+(e.match(gFe)?.length||0)>0}const _X="number",EX="color",bFe="var",vFe="var(",SX="${}",xFe=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function hy(e){const r=e.toString(),n=[],o={color:[],number:[],var:[]},a=[];let i=0;const l=r.replace(xFe,s=>(Tn.test(s)?(o.color.push(i),a.push(EX),n.push(Tn.parse(s))):s.startsWith(vFe)?(o.var.push(i),a.push(bFe),n.push(s)):(o.number.push(i),a.push(_X),n.push(parseFloat(s))),++i,SX)).split(SX);return{values:n,split:l,indexes:o,types:a}}function CX(e){return hy(e).values}function TX(e){const{split:r,types:n}=hy(e),o=r.length;return a=>{let i="";for(let l=0;ltypeof e=="number"?0:Tn.test(e)?Tn.getAnimatableNone(e):e;function kFe(e){const r=CX(e);return TX(e)(r.map(wFe))}const Nu={test:yFe,parse:CX,createTransformer:TX,getAnimatableNone:kFe};function SS(e,r,n){return n<0&&(n+=1),n>1&&(n-=1),n<.16666666666666666?e+(r-e)*6*n:n<.5?r:n<.6666666666666666?e+(r-e)*(.6666666666666666-n)*6:e}function _Fe({hue:e,saturation:r,lightness:n,alpha:o}){e/=360,r/=100,n/=100;let a=0,i=0,l=0;if(!r)a=i=l=n;else{const s=n<.5?n*(1+r):n+r-n*r,c=2*n-s;a=SS(c,s,e+.3333333333333333),i=SS(c,s,e),l=SS(c,s,e-.3333333333333333)}return{red:Math.round(a*255),green:Math.round(i*255),blue:Math.round(l*255),alpha:o}}function h2(e,r){return n=>n>0?r:e}const Fr=(e,r,n)=>e+(r-e)*n,CS=(e,r,n)=>{const o=e*e,a=n*(r*r-o)+o;return a<0?0:Math.sqrt(a)},EFe=[ES,gp,sm],SFe=e=>EFe.find(r=>r.test(e));function RX(e){const r=SFe(e);if(!r)return!1;let n=r.parse(e);return r===sm&&(n=_Fe(n)),n}const AX=(e,r)=>{const n=RX(e),o=RX(r);if(!n||!o)return h2(e,r);const a={...n};return i=>(a.red=CS(n.red,o.red,i),a.green=CS(n.green,o.green,i),a.blue=CS(n.blue,o.blue,i),a.alpha=Fr(n.alpha,o.alpha,i),gp.transform(a))},TS=new Set(["none","hidden"]);function CFe(e,r){return TS.has(e)?n=>n<=0?e:r:n=>n>=1?r:e}function TFe(e,r){return n=>Fr(e,r,n)}function RS(e){return typeof e=="number"?TFe:typeof e=="string"?xS(e)?h2:Tn.test(e)?AX:NFe:Array.isArray(e)?NX:typeof e=="object"?Tn.test(e)?AX:RFe:h2}function NX(e,r){const n=[...e],o=n.length,a=e.map((i,l)=>RS(i)(i,r[l]));return i=>{for(let l=0;l{for(const i in o)n[i]=o[i](a);return n}}function AFe(e,r){const n=[],o={color:0,var:0,number:0};for(let a=0;a{const n=Nu.createTransformer(r),o=hy(e),a=hy(r);return o.indexes.var.length===a.indexes.var.length&&o.indexes.color.length===a.indexes.color.length&&o.indexes.number.length>=a.indexes.number.length?TS.has(e)&&!a.values.length||TS.has(r)&&!o.values.length?CFe(e,r):sy(NX(AFe(o,a),a.values),n):h2(e,r)};function DX(e,r,n){return typeof e=="number"&&typeof r=="number"&&typeof n=="number"?Fr(e,r,n):RS(e)(e,r)}const DFe=e=>{const r=({timestamp:n})=>e(n);return{start:(n=!0)=>Ir.update(r,n),stop:()=>Ru(r),now:()=>yo.isProcessing?yo.timestamp:aa.now()}},PX=(e,r,n=10)=>{let o="";const a=Math.max(Math.round(r/n),2);for(let i=0;i=f2?1/0:r}function $X(e,r=100,n){const o=n({...e,keyframes:[0,r]}),a=Math.min(AS(o),f2);return{type:"keyframes",ease:i=>o.next(a*i).value/r,duration:mi(a)}}const PFe=5;function MX(e,r,n){const o=Math.max(r-PFe,0);return aX(n-e(o),r-o)}const tn={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},NS=.001;function $Fe({duration:e=tn.duration,bounce:r=tn.bounce,velocity:n=tn.velocity,mass:o=tn.mass}){let a,i,l=1-r;l=ic(tn.minDamping,tn.maxDamping,l),e=ic(tn.minDuration,tn.maxDuration,mi(e)),l<1?(a=u=>{const d=u*l,p=d*e,f=d-n,g=DS(u,l),b=Math.exp(-p);return NS-f/g*b},i=u=>{const d=u*l*e,p=d*n+n,f=Math.pow(l,2)*Math.pow(u,2)*e,g=Math.exp(-d),b=DS(Math.pow(u,2),l);return(-a(u)+NS>0?-1:1)*((p-f)*g)/b}):(a=u=>{const d=Math.exp(-u*e),p=(u-n)*e+1;return-NS+d*p},i=u=>{const d=Math.exp(-u*e),p=(n-u)*(e*e);return d*p});const s=5/e,c=OFe(a,i,s);if(e=cl(e),isNaN(c))return{stiffness:tn.stiffness,damping:tn.damping,duration:e};{const u=Math.pow(c,2)*o;return{stiffness:u,damping:l*2*Math.sqrt(o*u),duration:e}}}const MFe=12;function OFe(e,r,n){let o=n;for(let a=1;ae[n]!==void 0)}function LFe(e){let r={velocity:tn.velocity,stiffness:tn.stiffness,damping:tn.damping,mass:tn.mass,isResolvedFromDuration:!1,...e};if(!OX(e,zFe)&&OX(e,IFe))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(n*1.2),a=o*o,i=2*ic(.05,1,1-(e.bounce||0))*Math.sqrt(a);r={...r,mass:tn.mass,stiffness:a,damping:i}}else{const n=$Fe(e);r={...r,...n,mass:tn.mass},r.isResolvedFromDuration=!0}return r}function fy(e=tn.visualDuration,r=tn.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:r}:e;let{restSpeed:o,restDelta:a}=n;const i=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],s={done:!1,value:i},{stiffness:c,damping:u,mass:d,duration:p,velocity:f,isResolvedFromDuration:g}=LFe({...n,velocity:-mi(n.velocity||0)}),b=f||0,x=u/(2*Math.sqrt(c*d)),w=l-i,k=mi(Math.sqrt(c/d)),C=Math.abs(w)<5;o||(o=C?tn.restSpeed.granular:tn.restSpeed.default),a||(a=C?tn.restDelta.granular:tn.restDelta.default);let _;if(x<1){const R=DS(k,x);_=A=>{const D=Math.exp(-x*k*A);return l-D*((b+x*k*w)/R*Math.sin(R*A)+w*Math.cos(R*A))}}else if(x===1)_=R=>l-Math.exp(-k*R)*(w+(b+k*w)*R);else{const R=k*Math.sqrt(x*x-1);_=A=>{const D=Math.exp(-x*k*A),N=Math.min(R*A,300);return l-D*((b+x*k*w)*Math.sinh(N)+R*w*Math.cosh(N))/R}}const T={calculatedDuration:g&&p||null,next:R=>{const A=_(R);if(g)s.done=R>=p;else{let D=R===0?b:0;x<1&&(D=R===0?cl(b):MX(_,R,A));const N=Math.abs(D)<=o,$=Math.abs(l-A)<=a;s.done=N&&$}return s.value=s.done?l:A,s},toString:()=>{const R=Math.min(AS(T),f2),A=PX(D=>T.next(R*D).value,R,30);return R+"ms "+A},toTransition:()=>{}};return T}fy.applyToOptions=e=>{const r=$X(e,100,fy);return e.ease=r.ease,e.duration=cl(r.duration),e.type="keyframes",e};function PS({keyframes:e,velocity:r=0,power:n=.8,timeConstant:o=325,bounceDamping:a=10,bounceStiffness:i=500,modifyTarget:l,min:s,max:c,restDelta:u=.5,restSpeed:d}){const p=e[0],f={done:!1,value:p},g=N=>s!==void 0&&Nc,b=N=>s===void 0?c:c===void 0||Math.abs(s-N)-x*Math.exp(-N/o),_=N=>k+C(N),T=N=>{const $=C(N),O=_(N);f.done=Math.abs($)<=u,f.value=f.done?k:O};let R,A;const D=N=>{g(f.value)&&(R=N,A=fy({keyframes:[f.value,b(f.value)],velocity:MX(_,N,f.value),damping:a,stiffness:i,restDelta:u,restSpeed:d}))};return D(0),{calculatedDuration:null,next:N=>{let $=!1;return!A&&R===void 0&&($=!0,T(N),D(N)),R!==void 0&&N>=R?A.next(N-R):(!$&&T(N),f)}}}function BFe(e,r,n){const o=[],a=n||lc.mix||DX,i=e.length-1;for(let l=0;lr[0];if(i===2&&r[0]===r[1])return()=>r[1];const l=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),r=[...r].reverse());const s=BFe(r,o,a),c=s.length,u=d=>{if(l&&d1)for(;pu(ic(e[0],e[i-1],d)):u}function IX(e,r){const n=e[e.length-1];for(let o=1;o<=r;o++){const a=im(0,r,o);e.push(Fr(n,1,a))}}function zX(e){const r=[0];return IX(r,e.length-1),r}function FFe(e,r){return e.map(n=>n*r)}function HFe(e,r){return e.map(()=>r||fX).splice(0,e.length-1)}function my({duration:e=300,keyframes:r,times:n,ease:o="easeInOut"}){const a=mX(o)?o.map(bX):bX(o),i={done:!1,value:r[0]},l=FFe(n&&n.length===r.length?n:zX(r),e),s=jFe(l,r,{ease:Array.isArray(a)?a:HFe(r,a)});return{calculatedDuration:e,next:c=>(i.value=s(c),i.done=c>=e,i)}}const qFe=e=>e!==null;function $S(e,{repeat:r,repeatType:n="loop"},o,a=1){const i=e.filter(qFe),l=a<0||r&&n!=="loop"&&r%2===1?0:i.length-1;return!l||o===void 0?i[l]:o}const UFe={decay:PS,inertia:PS,tween:my,keyframes:my,spring:fy};function LX(e){typeof e.type=="string"&&(e.type=UFe[e.type])}class MS{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(r=>{this.resolve=r})}notifyFinished(){this.resolve()}then(r,n){return this.finished.then(r,n)}}const VFe=e=>e/100;class OS extends MS{constructor(r){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==aa.now()&&this.tick(aa.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=r,this.initAnimation(),this.play(),r.autoplay===!1&&this.pause()}initAnimation(){const{options:r}=this;LX(r);const{type:n=my,repeat:o=0,repeatDelay:a=0,repeatType:i,velocity:l=0}=r;let{keyframes:s}=r;const c=n||my;c!==my&&typeof s[0]!="number"&&(this.mixKeyframes=sy(VFe,DX(s[0],s[1])),s=[0,100]);const u=c({...r,keyframes:s});i==="mirror"&&(this.mirroredGenerator=c({...r,keyframes:[...s].reverse(),velocity:-l})),u.calculatedDuration===null&&(u.calculatedDuration=AS(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+a,this.totalDuration=this.resolvedDuration*(o+1)-a,this.generator=u}updateTime(r){const n=Math.round(r-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(r,n=!1){const{generator:o,totalDuration:a,mixKeyframes:i,mirroredGenerator:l,resolvedDuration:s,calculatedDuration:c}=this;if(this.startTime===null)return o.next(0);const{delay:u=0,keyframes:d,repeat:p,repeatType:f,repeatDelay:g,type:b,onUpdate:x,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,r):this.speed<0&&(this.startTime=Math.min(r-a/this.speed,this.startTime)),n?this.currentTime=r:this.updateTime(r);const k=this.currentTime-u*(this.playbackSpeed>=0?1:-1),C=this.playbackSpeed>=0?k<0:k>a;this.currentTime=Math.max(k,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=a);let _=this.currentTime,T=o;if(p){const N=Math.min(this.currentTime,a)/s;let $=Math.floor(N),O=N%1;!O&&N>=1&&(O=1),O===1&&$--,$=Math.min($,p+1),$%2&&(f==="reverse"?(O=1-O,g&&(O-=g/s)):f==="mirror"&&(T=l)),_=ic(0,1,O)*s}const R=C?{done:!1,value:d[0]}:T.next(_);i&&(R.value=i(R.value));let{done:A}=R;!C&&c!==null&&(A=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);const D=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&A);return D&&b!==PS&&(R.value=$S(d,this.options,w,this.speed)),x&&x(R.value),D&&this.finish(),R}then(r,n){return this.finished.then(r,n)}get duration(){return mi(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+mi(r)}get time(){return mi(this.currentTime)}set time(r){r=cl(r),this.currentTime=r,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=r:this.driver&&(this.startTime=this.driver.now()-r/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(r){this.updateTime(aa.now());const n=this.playbackSpeed!==r;this.playbackSpeed=r,n&&(this.time=mi(this.currentTime))}play(){if(this.isStopped)return;const{driver:r=DFe,startTime:n}=this.options;this.driver||(this.driver=r(a=>this.tick(a))),this.options.onPlay?.();const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=n??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(aa.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(r){return this.startTime=0,this.tick(r,!0)}attachTimeline(r){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),r.observe(this)}}function YFe(e){for(let r=1;re*180/Math.PI,IS=e=>{const r=yp(Math.atan2(e[1],e[0]));return zS(r)},WFe={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:IS,rotateZ:IS,skewX:e=>yp(Math.atan(e[1])),skewY:e=>yp(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},zS=e=>(e=e%360,e<0&&(e+=360),e),BX=IS,jX=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),FX=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),GFe={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:jX,scaleY:FX,scale:e=>(jX(e)+FX(e))/2,rotateX:e=>zS(yp(Math.atan2(e[6],e[5]))),rotateY:e=>zS(yp(Math.atan2(-e[2],e[0]))),rotateZ:BX,rotate:BX,skewX:e=>yp(Math.atan(e[4])),skewY:e=>yp(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function LS(e){return e.includes("scale")?1:0}function BS(e,r){if(!e||e==="none")return LS(r);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,a;if(n)o=GFe,a=n;else{const s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=WFe,a=s}if(!a)return LS(r);const i=o[r],l=a[1].split(",").map(KFe);return typeof i=="function"?i(l):l[i]}const XFe=(e,r)=>{const{transform:n="none"}=getComputedStyle(e);return BS(n,r)};function KFe(e){return parseFloat(e.trim())}const cm=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],um=new Set(cm),HX=e=>e===lm||e===kt,ZFe=new Set(["x","y","z"]),QFe=cm.filter(e=>!ZFe.has(e));function JFe(e){const r=[];return QFe.forEach(n=>{const o=e.getValue(n);o!==void 0&&(r.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),r}const bp={width:({x:e},{paddingLeft:r="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(r)-parseFloat(n),height:({y:e},{paddingTop:r="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(r)-parseFloat(n),top:(e,{top:r})=>parseFloat(r),left:(e,{left:r})=>parseFloat(r),bottom:({y:e},{top:r})=>parseFloat(r)+(e.max-e.min),right:({x:e},{left:r})=>parseFloat(r)+(e.max-e.min),x:(e,{transform:r})=>BS(r,"x"),y:(e,{transform:r})=>BS(r,"y")};bp.translateX=bp.x,bp.translateY=bp.y;const vp=new Set;let jS=!1,FS=!1,HS=!1;function qX(){if(FS){const e=Array.from(vp).filter(o=>o.needsMeasurement),r=new Set(e.map(o=>o.element)),n=new Map;r.forEach(o=>{const a=JFe(o);a.length&&(n.set(o,a),o.render())}),e.forEach(o=>o.measureInitialState()),r.forEach(o=>{o.render();const a=n.get(o);a&&a.forEach(([i,l])=>{o.getValue(i)?.set(l)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}FS=!1,jS=!1,vp.forEach(e=>e.complete(HS)),vp.clear()}function UX(){vp.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(FS=!0)})}function eHe(){HS=!0,UX(),qX(),HS=!1}class qS{constructor(r,n,o,a,i,l=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...r],this.onComplete=n,this.name=o,this.motionValue=a,this.element=i,this.isAsync=l}scheduleResolve(){this.state="scheduled",this.isAsync?(vp.add(this),jS||(jS=!0,Ir.read(UX),Ir.resolveKeyframes(qX))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:n,element:o,motionValue:a}=this;if(r[0]===null){const i=a?.get(),l=r[r.length-1];if(i!==void 0)r[0]=i;else if(o&&n){const s=o.readValue(n,l);s!=null&&(r[0]=s)}r[0]===void 0&&(r[0]=l),a&&i===void 0&&a.set(r[0])}YFe(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),vp.delete(this)}cancel(){this.state==="scheduled"&&(vp.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const tHe=e=>e.startsWith("--");function rHe(e,r,n){tHe(r)?e.style.setProperty(r,n):e.style[r]=n}const nHe=fS(()=>window.ScrollTimeline!==void 0),oHe={};function aHe(e,r){const n=fS(e);return()=>oHe[r]??n()}const VX=aHe(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),gy=([e,r,n,o])=>`cubic-bezier(${e}, ${r}, ${n}, ${o})`,YX={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:gy([0,.65,.55,1]),circOut:gy([.55,0,1,.45]),backIn:gy([.31,.01,.66,-.59]),backOut:gy([.33,1.53,.69,.99])};function WX(e,r){if(e)return typeof e=="function"?VX()?PX(e,r):"ease-out":yX(e)?gy(e):Array.isArray(e)?e.map(n=>WX(n,r)||YX.easeOut):YX[e]}function iHe(e,r,n,{delay:o=0,duration:a=300,repeat:i=0,repeatType:l="loop",ease:s="easeOut",times:c}={},u=void 0){const d={[r]:n};c&&(d.offset=c);const p=WX(s,a);Array.isArray(p)&&(d.easing=p);const f={delay:o,duration:a,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:i+1,direction:l==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),e.animate(d,f)}function US(e){return typeof e=="function"&&"applyToOptions"in e}function lHe({type:e,...r}){return US(e)&&VX()?e.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease="easeOut"),r)}class sHe extends MS{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,!r)return;const{element:n,name:o,keyframes:a,pseudoElement:i,allowFlatten:l=!1,finalKeyframe:s,onComplete:c}=r;this.isPseudoElement=!!i,this.allowFlatten=l,this.options=r,hS(typeof r.type!="string");const u=lHe(r);this.animation=iHe(n,o,a,u,i),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const d=$S(a,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(d):rHe(n,o,d),this.animation.cancel()}c?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:r}=this;r==="idle"||r==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const r=this.animation.effect?.getComputedTiming?.().duration||0;return mi(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+mi(r)}get time(){return mi(Number(this.animation.currentTime)||0)}set time(r){this.finishedTime=null,this.animation.currentTime=cl(r)}get speed(){return this.animation.playbackRate}set speed(r){r<0&&(this.finishedTime=null),this.animation.playbackRate=r}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(r){this.animation.startTime=r}attachTimeline({timeline:r,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,r&&nHe()?(this.animation.timeline=r,fi):n(this)}}const GX={anticipate:dX,backInOut:uX,circInOut:hX};function cHe(e){return e in GX}function uHe(e){typeof e.ease=="string"&&cHe(e.ease)&&(e.ease=GX[e.ease])}const XX=10;class dHe extends sHe{constructor(r){uHe(r),LX(r),super(r),r.startTime&&(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:n,onUpdate:o,onComplete:a,element:i,...l}=this.options;if(!n)return;if(r!==void 0){n.set(r);return}const s=new OS({...l,autoplay:!1}),c=cl(this.finishedTime??this.time);n.setWithVelocity(s.sample(c-XX).value,s.sample(c).value,XX),s.stop()}}const KX=(e,r)=>r==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Nu.test(e)||e==="0")&&!e.startsWith("url("));function pHe(e){const r=e[0];if(e.length===1)return!0;for(let n=0;nObject.hasOwnProperty.call(Element.prototype,"animate"));function gHe(e){const{motionValue:r,name:n,repeatDelay:o,repeatType:a,damping:i,type:l}=e;if(!(r?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:s,transformTemplate:c}=r.owner.getProps();return mHe()&&n&&fHe.has(n)&&(n!=="transform"||!c)&&!s&&!o&&a!=="mirror"&&i!==0&&l!=="inertia"}const yHe=40;class bHe extends MS{constructor({autoplay:r=!0,delay:n=0,type:o="keyframes",repeat:a=0,repeatDelay:i=0,repeatType:l="loop",keyframes:s,name:c,motionValue:u,element:d,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=aa.now();const f={autoplay:r,delay:n,type:o,repeat:a,repeatDelay:i,repeatType:l,name:c,motionValue:u,element:d,...p},g=d?.KeyframeResolver||qS;this.keyframeResolver=new g(s,(b,x,w)=>this.onKeyframesResolved(b,x,f,!w),c,u,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(r,n,o,a){this.keyframeResolver=void 0;const{name:i,type:l,velocity:s,delay:c,isHandoff:u,onUpdate:d}=o;this.resolvedAt=aa.now(),hHe(r,i,l,s)||((lc.instantAnimations||!c)&&d?.($S(r,o,n)),r[0]=r[r.length-1],VS(o),o.repeat=0);const p={startTime:a?this.resolvedAt?this.resolvedAt-this.createdAt>yHe?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...o,keyframes:r},f=!u&&gHe(p)?new dHe({...p,element:p.motionValue.owner.current}):new OS(p);f.finished.then(()=>this.notifyFinished()).catch(fi),this.pendingTimeline&&(this.stopTimeline=f.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=f}get finished(){return this._animation?this.animation.finished:this._finished}then(r,n){return this.finished.finally(r).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),eHe()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(r){this.animation.time=r}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(r){this.animation.speed=r}get startTime(){return this.animation.startTime}attachTimeline(r){return this._animation?this.stopTimeline=this.animation.attachTimeline(r):this.pendingTimeline=r,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}class vHe{constructor(r){this.stop=()=>this.runAll("stop"),this.animations=r.filter(Boolean)}get finished(){return Promise.all(this.animations.map(r=>r.finished))}getAll(r){return this.animations[0][r]}setAll(r,n){for(let o=0;oo.attachTimeline(r));return()=>{n.forEach((o,a)=>{o&&o(),this.animations[a].stop()})}}get time(){return this.getAll("time")}set time(r){this.setAll("time",r)}get speed(){return this.getAll("speed")}set speed(r){this.setAll("speed",r)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return ZX(this.animations,"duration")}get iterationDuration(){return ZX(this.animations,"iterationDuration")}runAll(r){this.animations.forEach(n=>n[r]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function ZX(e,r){let n=0;for(let o=0;on&&(n=a)}return n}class xHe extends vHe{then(r,n){return this.finished.finally(r).then(()=>{})}}const wHe=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function kHe(e){const r=wHe.exec(e);if(!r)return[,];const[,n,o,a]=r;return[`--${n??o}`,a]}function QX(e,r,n=1){const[o,a]=kHe(e);if(!o)return;const i=window.getComputedStyle(r).getPropertyValue(o);if(i){const l=i.trim();return rX(l)?parseFloat(l):l}return xS(a)?QX(a,r,n+1):a}function YS(e,r){return e?.[r]??e?.default??e}const JX=new Set(["width","height","top","left","right","bottom",...cm]),_He={test:e=>e==="auto",parse:e=>e},eK=e=>r=>r.test(e),tK=[lm,kt,us,Au,mFe,fFe,_He],rK=e=>tK.find(eK(e));function EHe(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||oX(e):!0}const SHe=new Set(["brightness","contrast","saturate","opacity"]);function CHe(e){const[r,n]=e.slice(0,-1).split("(");if(r==="drop-shadow")return e;const[o]=n.match(wS)||[];if(!o)return e;const a=n.replace(o,"");let i=SHe.has(r)?1:0;return o!==n&&(i*=100),r+"("+i+a+")"}const THe=/\b([a-z-]*)\(.*?\)/gu,WS={...Nu,getAnimatableNone:e=>{const r=e.match(THe);return r?r.map(CHe).join(" "):e}},nK={...lm,transform:Math.round},RHe={rotate:Au,rotateX:Au,rotateY:Au,rotateZ:Au,scale:p2,scaleX:p2,scaleY:p2,scaleZ:p2,skew:Au,skewX:Au,skewY:Au,distance:kt,translateX:kt,translateY:kt,translateZ:kt,x:kt,y:kt,z:kt,perspective:kt,transformPerspective:kt,opacity:uy,originX:kX,originY:kX,originZ:kt},GS={borderWidth:kt,borderTopWidth:kt,borderRightWidth:kt,borderBottomWidth:kt,borderLeftWidth:kt,borderRadius:kt,radius:kt,borderTopLeftRadius:kt,borderTopRightRadius:kt,borderBottomRightRadius:kt,borderBottomLeftRadius:kt,width:kt,maxWidth:kt,height:kt,maxHeight:kt,top:kt,right:kt,bottom:kt,left:kt,padding:kt,paddingTop:kt,paddingRight:kt,paddingBottom:kt,paddingLeft:kt,margin:kt,marginTop:kt,marginRight:kt,marginBottom:kt,marginLeft:kt,backgroundPositionX:kt,backgroundPositionY:kt,...RHe,zIndex:nK,fillOpacity:uy,strokeOpacity:uy,numOctaves:nK},AHe={...GS,color:Tn,backgroundColor:Tn,outlineColor:Tn,fill:Tn,stroke:Tn,borderColor:Tn,borderTopColor:Tn,borderRightColor:Tn,borderBottomColor:Tn,borderLeftColor:Tn,filter:WS,WebkitFilter:WS},oK=e=>AHe[e];function aK(e,r){let n=oK(e);return n!==WS&&(n=Nu),n.getAnimatableNone?n.getAnimatableNone(r):void 0}const NHe=new Set(["auto","none","0"]);function DHe(e,r,n){let o=0,a;for(;o{r.getValue(s).set(c)}),this.resolveNoneKeyframes()}}function iK(e,r,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;const a=n?.[e]??o.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}const lK=(e,r)=>r&&typeof e=="number"?r.transform(e):e;function sK(e){return nX(e)&&"offsetHeight"in e}const cK=30,$He=e=>!isNaN(parseFloat(e));class MHe{constructor(r,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const a=aa.now();if(this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(r),this.owner=n.owner}setCurrent(r){this.current=r,this.updatedAt=aa.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=$He(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return this.on("change",r)}on(r,n){this.events[r]||(this.events[r]=new mS);const o=this.events[r].add(n);return r==="change"?()=>{o(),Ir.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,n){this.passiveEffect=r,this.stopPassiveEffect=n}set(r){this.passiveEffect?this.passiveEffect(r,this.updateAndNotify):this.updateAndNotify(r)}setWithVelocity(r,n,o){this.set(n),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-o}jump(r,n=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(r){this.dependents||(this.dependents=new Set),this.dependents.add(r)}removeDependent(r){this.dependents&&this.dependents.delete(r)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=aa.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>cK)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,cK);return aX(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(r){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=r(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function xp(e,r){return new MHe(e,r)}const{schedule:XS}=vX(queueMicrotask,!1),ul={x:!1,y:!1};function uK(){return ul.x||ul.y}function OHe(e){return e==="x"||e==="y"?ul[e]?null:(ul[e]=!0,()=>{ul[e]=!1}):ul.x||ul.y?null:(ul.x=ul.y=!0,()=>{ul.x=ul.y=!1})}function dK(e,r){const n=iK(e),o=new AbortController,a={passive:!0,...r,signal:o.signal};return[n,a,()=>o.abort()]}function pK(e){return!(e.pointerType==="touch"||uK())}function IHe(e,r,n={}){const[o,a,i]=dK(e,n),l=s=>{if(!pK(s))return;const{target:c}=s,u=r(c,s);if(typeof u!="function"||!c)return;const d=p=>{pK(p)&&(u(p),c.removeEventListener("pointerleave",d))};c.addEventListener("pointerleave",d,a)};return o.forEach(s=>{s.addEventListener("pointerenter",l,a)}),i}const hK=(e,r)=>r?e===r?!0:hK(e,r.parentElement):!1,KS=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,zHe=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function LHe(e){return zHe.has(e.tagName)||e.tabIndex!==-1}const m2=new WeakSet;function fK(e){return r=>{r.key==="Enter"&&e(r)}}function ZS(e,r){e.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const BHe=(e,r)=>{const n=e.currentTarget;if(!n)return;const o=fK(()=>{if(m2.has(n))return;ZS(n,"down");const a=fK(()=>{ZS(n,"up")}),i=()=>ZS(n,"cancel");n.addEventListener("keyup",a,r),n.addEventListener("blur",i,r)});n.addEventListener("keydown",o,r),n.addEventListener("blur",()=>n.removeEventListener("keydown",o),r)};function mK(e){return KS(e)&&!uK()}function jHe(e,r,n={}){const[o,a,i]=dK(e,n),l=s=>{const c=s.currentTarget;if(!mK(s))return;m2.add(c);const u=r(c,s),d=(g,b)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",f),m2.has(c)&&m2.delete(c),mK(g)&&typeof u=="function"&&u(g,{success:b})},p=g=>{d(g,c===window||c===document||n.useGlobalTarget||hK(c,g.target))},f=g=>{d(g,!1)};window.addEventListener("pointerup",p,a),window.addEventListener("pointercancel",f,a)};return o.forEach(s=>{(n.useGlobalTarget?window:s).addEventListener("pointerdown",l,a),sK(s)&&(s.addEventListener("focus",c=>BHe(c,a)),!LHe(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),i}function QS(e){return nX(e)&&"ownerSVGElement"in e}function gK(e){return QS(e)&&e.tagName==="svg"}const oo=e=>!!(e&&e.getVelocity),FHe=[...tK,Tn,Nu],HHe=e=>FHe.find(eK(e));function JS(e){return typeof e=="object"&&!Array.isArray(e)}function yK(e,r,n,o){return typeof e=="string"&&JS(r)?iK(e,n,o):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function qHe(e,r,n){return e*(r+1)}function bK(e,r,n,o){return typeof r=="number"?r:r.startsWith("-")||r.startsWith("+")?Math.max(0,e+parseFloat(r)):r==="<"?n:r.startsWith("<")?Math.max(0,n+parseFloat(r.slice(1))):o.get(r)??e}function UHe(e,r,n){for(let o=0;or&&a.at{const $=KHe(T),{delay:O=0,times:j=zX($),type:L="keyframes",repeat:Y,repeatType:M,repeatDelay:q=0,...z}=R;let{ease:H=r.ease||"easeOut",duration:U}=R;const K=typeof O=="function"?O(D,N):O,V=$.length,X=US(L)?L:a?.[L||"keyframes"];if(V<=2&&X){let Q=100;if(V===2&&JHe($)){const te=$[1]-$[0];Q=Math.abs(te)}const J={...z};U!==void 0&&(J.duration=cl(U));const ne=$X(J,Q,X);H=ne.ease,U=ne.duration}U??(U=i);const Z=p+K;j.length===1&&j[0]===0&&(j[1]=1);const B=j.length-$.length;if(B>0&&IX(j,B),$.length===1&&$.unshift(null),Y){U=qHe(U,Y);const Q=[...$],J=[...j];H=Array.isArray(H)?[...H]:[H];const ne=[...H];for(let te=0;te{for(const x in g){const w=g[x];w.sort(WHe);const k=[],C=[],_=[];for(let R=0;Rtypeof e=="number",JHe=e=>e.every(QHe),yy=new WeakMap,eC=e=>Array.isArray(e);function wK(e){const r=[{},{}];return e?.values.forEach((n,o)=>{r[0][o]=n.get(),r[1][o]=n.getVelocity()}),r}function tC(e,r,n,o){if(typeof r=="function"){const[a,i]=wK(o);r=r(n!==void 0?n:e.custom,a,i)}if(typeof r=="string"&&(r=e.variants&&e.variants[r]),typeof r=="function"){const[a,i]=wK(o);r=r(n!==void 0?n:e.custom,a,i)}return r}function dm(e,r,n){const o=e.getProps();return tC(o,r,n!==void 0?n:o.custom,e)}function eqe(e,r,n){e.hasValue(r)?e.getValue(r).set(n):e.addValue(r,xp(n))}function tqe(e){return eC(e)?e[e.length-1]||0:e}function rqe(e,r){const n=dm(e,r);let{transitionEnd:o={},transition:a={},...i}=n||{};i={...i,...o};for(const l in i){const s=tqe(i[l]);eqe(e,l,s)}}function nqe(e){return!!(oo(e)&&e.add)}function rC(e,r){const n=e.getValue("willChange");if(nqe(n))return n.add(r);if(!n&&lc.WillChange){const o=new lc.WillChange("auto");e.addValue("willChange",o),o.add(r)}}const nC=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),oqe="framerAppearId",kK="data-"+nC(oqe);function _K(e){return e.props[kK]}const aqe=e=>e!==null;function iqe(e,{repeat:r,repeatType:n="loop"},o){const a=e.filter(aqe),i=r&&n!=="loop"&&r%2===1?0:a.length-1;return a[i]}const lqe={type:"spring",stiffness:500,damping:25,restSpeed:10},sqe=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),cqe={type:"keyframes",duration:.8},uqe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},dqe=(e,{keyframes:r})=>r.length>2?cqe:um.has(e)?e.startsWith("scale")?sqe(r[1]):lqe:uqe;function pqe({when:e,delay:r,delayChildren:n,staggerChildren:o,staggerDirection:a,repeat:i,repeatType:l,repeatDelay:s,from:c,elapsed:u,...d}){return!!Object.keys(d).length}const oC=(e,r,n,o={},a,i)=>l=>{const s=YS(o,e)||{},c=s.delay||o.delay||0;let{elapsed:u=0}=o;u=u-cl(c);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:r.getVelocity(),...s,delay:-u,onUpdate:f=>{r.set(f),s.onUpdate&&s.onUpdate(f)},onComplete:()=>{l(),s.onComplete&&s.onComplete()},name:e,motionValue:r,element:i?void 0:a};pqe(s)||Object.assign(d,dqe(e,d)),d.duration&&(d.duration=cl(d.duration)),d.repeatDelay&&(d.repeatDelay=cl(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let p=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(VS(d),d.delay===0&&(p=!0)),(lc.instantAnimations||lc.skipAnimations)&&(p=!0,VS(d),d.delay=0),d.allowFlatten=!s.type&&!s.ease,p&&!i&&r.get()!==void 0){const f=iqe(d.keyframes,s);if(f!==void 0){Ir.update(()=>{d.onUpdate(f),d.onComplete()});return}}return s.isSync?new OS(d):new bHe(d)};function hqe({protectedKeys:e,needsAnimating:r},n){const o=e.hasOwnProperty(n)&&r[n]!==!0;return r[n]=!1,o}function aC(e,r,{delay:n=0,transitionOverride:o,type:a}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:l,...s}=r;o&&(i=o);const c=[],u=a&&e.animationState&&e.animationState.getState()[a];for(const d in s){const p=e.getValue(d,e.latestValues[d]??null),f=s[d];if(f===void 0||u&&hqe(u,d))continue;const g={delay:n,...YS(i||{},d)},b=p.get();if(b!==void 0&&!p.isAnimating&&!Array.isArray(f)&&f===b&&!g.velocity)continue;let x=!1;if(window.MotionHandoffAnimation){const k=_K(e);if(k){const C=window.MotionHandoffAnimation(k,d,Ir);C!==null&&(g.startTime=C,x=!0)}}rC(e,d),p.start(oC(d,p,f,e.shouldReduceMotion&&JX.has(d)?{type:!1}:g,e,x));const w=p.animation;w&&c.push(w)}return l&&Promise.all(c).then(()=>{Ir.update(()=>{l&&rqe(e,l)})}),c}function EK({top:e,left:r,right:n,bottom:o}){return{x:{min:r,max:n},y:{min:e,max:o}}}function fqe({x:e,y:r}){return{top:r.min,right:e.max,bottom:r.max,left:e.min}}function mqe(e,r){if(!r)return e;const n=r({x:e.left,y:e.top}),o=r({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}function iC(e){return e===void 0||e===1}function lC({scale:e,scaleX:r,scaleY:n}){return!iC(e)||!iC(r)||!iC(n)}function wp(e){return lC(e)||SK(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function SK(e){return CK(e.x)||CK(e.y)}function CK(e){return e&&e!=="0%"}function g2(e,r,n){const o=e-n,a=r*o;return n+a}function TK(e,r,n,o,a){return a!==void 0&&(e=g2(e,a,o)),g2(e,n,o)+r}function sC(e,r=0,n=1,o,a){e.min=TK(e.min,r,n,o,a),e.max=TK(e.max,r,n,o,a)}function RK(e,{x:r,y:n}){sC(e.x,r.translate,r.scale,r.originPoint),sC(e.y,n.translate,n.scale,n.originPoint)}const AK=.999999999999,NK=1.0000000000001;function gqe(e,r,n,o=!1){const a=n.length;if(!a)return;r.x=r.y=1;let i,l;for(let s=0;sAK&&(r.x=1),r.yAK&&(r.y=1)}function pm(e,r){e.min=e.min+r,e.max=e.max+r}function DK(e,r,n,o,a=.5){const i=Fr(e.min,e.max,a);sC(e,r,n,i,o)}function hm(e,r){DK(e.x,r.x,r.scaleX,r.scale,r.originX),DK(e.y,r.y,r.scaleY,r.scale,r.originY)}function PK(e,r){return EK(mqe(e.getBoundingClientRect(),r))}function yqe(e,r,n){const o=PK(e,n),{scroll:a}=r;return a&&(pm(o.x,a.offset.x),pm(o.y,a.offset.y)),o}const $K={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},fm={};for(const e in $K)fm[e]={isEnabled:r=>$K[e].some(n=>!!r[n])};const MK=()=>({translate:0,scale:1,origin:0,originPoint:0}),mm=()=>({x:MK(),y:MK()}),OK=()=>({min:0,max:0}),rn=()=>({x:OK(),y:OK()}),cC=typeof window<"u",y2={current:null},uC={current:!1};function IK(){if(uC.current=!0,!!cC)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),r=()=>y2.current=e.matches;e.addEventListener("change",r),r()}else y2.current=!1}function b2(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function by(e){return typeof e=="string"||Array.isArray(e)}const dC=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],pC=["initial",...dC];function v2(e){return b2(e.animate)||pC.some(r=>by(e[r]))}function zK(e){return!!(v2(e)||e.variants)}function bqe(e,r,n){for(const o in r){const a=r[o],i=n[o];if(oo(a))e.addValue(o,a);else if(oo(i))e.addValue(o,xp(a,{owner:e}));else if(i!==a)if(e.hasValue(o)){const l=e.getValue(o);l.liveStyle===!0?l.jump(a):l.hasAnimated||l.set(a)}else{const l=e.getStaticValue(o);e.addValue(o,xp(l!==void 0?l:a,{owner:e}))}}for(const o in n)r[o]===void 0&&e.removeValue(o);return r}const LK=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class BK{scrapeMotionValuesFromProps(r,n,o){return{}}constructor({parent:r,props:n,presenceContext:o,reducedMotionConfig:a,blockInitialAnimation:i,visualState:l},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=qS,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=aa.now();this.renderScheduledAtthis.bindToMotionValue(o,n)),uC.current||IK(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:y2.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Ru(this.notifyUpdate),Ru(this.render),this.valueSubscriptions.forEach(r=>r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const n=this.features[r];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(r){this.children.add(r),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(r)}removeChild(r){this.children.delete(r),this.enteringChildren&&this.enteringChildren.delete(r)}bindToMotionValue(r,n){this.valueSubscriptions.has(r)&&this.valueSubscriptions.get(r)();const o=um.has(r);o&&this.onBindTransform&&this.onBindTransform();const a=n.on("change",l=>{this.latestValues[r]=l,this.props.onUpdate&&Ir.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,r,n)),this.valueSubscriptions.set(r,()=>{a(),i&&i(),n.owner&&n.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r="animation";for(r in fm){const n=fm[r];if(!n)continue;const{isEnabled:o,Feature:a}=n;if(!this.features[r]&&a&&o(this.props)&&(this.features[r]=new a(this)),this.features[r]){const i=this.features[r];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):rn()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,n){this.latestValues[r]=n}update(r,n){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let o=0;on.variantChildren.delete(r)}addValue(r,n){const o=this.values.get(r);n!==o&&(o&&this.removeValue(r),this.bindToMotionValue(r,n),this.values.set(r,n),this.latestValues[r]=n.get())}removeValue(r){this.values.delete(r);const n=this.valueSubscriptions.get(r);n&&(n(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,n){if(this.props.values&&this.props.values[r])return this.props.values[r];let o=this.values.get(r);return o===void 0&&n!==void 0&&(o=xp(n===null?void 0:n,{owner:this}),this.addValue(r,o)),o}readValue(r,n){let o=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:this.getBaseTargetFromProps(this.props,r)??this.readValueFromInstance(this.current,r,this.options);return o!=null&&(typeof o=="string"&&(rX(o)||oX(o))?o=parseFloat(o):!HHe(o)&&Nu.test(n)&&(o=aK(r,n)),this.setBaseTarget(r,oo(o)?o.get():o)),oo(o)?o.get():o}setBaseTarget(r,n){this.baseTarget[r]=n}getBaseTarget(r){const{initial:n}=this.props;let o;if(typeof n=="string"||typeof n=="object"){const i=tC(this.props,n,this.presenceContext?.custom);i&&(o=i[r])}if(n&&o!==void 0)return o;const a=this.getBaseTargetFromProps(this.props,r);return a!==void 0&&!oo(a)?a:this.initialValues[r]!==void 0&&o===void 0?void 0:this.baseTarget[r]}on(r,n){return this.events[r]||(this.events[r]=new mS),this.events[r].add(n)}notify(r,...n){this.events[r]&&this.events[r].notify(...n)}scheduleRenderMicrotask(){XS.render(this.render)}}class jK extends BK{constructor(){super(...arguments),this.KeyframeResolver=PHe}sortInstanceNodePosition(r,n){return r.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(r,n){return r.style?r.style[n]:void 0}removeValueFromRenderState(r,{vars:n,style:o}){delete n[r],delete o[r]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;oo(r)&&(this.childSubscription=r.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}const vqe={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},xqe=cm.length;function wqe(e,r,n){let o="",a=!0;for(let i=0;itypeof e=="string"&&e.toLowerCase()==="svg";function Aqe(e,r,n,o){FK(e,r,void 0,o);for(const a in r.attrs)e.setAttribute(VK.has(a)?a:nC(a),r.attrs[a])}function WK(e,r,n){const o=fC(e,r,n);for(const a in e)if(oo(e[a])||oo(r[a])){const i=cm.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;o[i]=e[a]}return o}class GK extends jK{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=rn}getBaseTargetFromProps(r,n){return r[n]}readValueFromInstance(r,n){if(um.has(n)){const o=oK(n);return o&&o.default||0}return n=VK.has(n)?n:nC(n),r.getAttribute(n)}scrapeMotionValuesFromProps(r,n,o){return WK(r,n,o)}build(r,n,o){UK(r,n,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(r,n,o,a){Aqe(r,n,o,a)}mount(r){this.isSVGTag=YK(r.tagName),super.mount(r)}}function Nqe(e){const r={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=QS(e)&&!gK(e)?new GK(r):new qK(r);n.mount(e),yy.set(e,n)}function Dqe(e){const r={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new Sqe(r);n.mount(e),yy.set(e,n)}function XK(e,r,n){const o=oo(e)?e:xp(e);return o.start(oC("",o,r,n)),o.animation}function Pqe(e,r){return oo(e)||typeof e=="number"||typeof e=="string"&&!JS(r)}function KK(e,r,n,o){const a=[];if(Pqe(e,r))a.push(XK(e,JS(r)&&r.default||r,n&&(n.default||n)));else{const i=yK(e,r,o),l=i.length;for(let s=0;s{o.push(...KK(l,a,i))}),o}function Mqe(e){return Array.isArray(e)&&e.some(Array.isArray)}function Oqe(e){function r(n,o,a){let i=[],l;if(Mqe(n))i=$qe(n,o,e);else{const{onComplete:c,...u}=a||{};typeof c=="function"&&(l=c),i=KK(n,o,u,e)}const s=new xHe(i);return l&&s.finished.then(l),s}return r}const Iqe=Oqe();function zqe(e,r){const n=aa.now(),o=({timestamp:a})=>{const i=a-n;i>=r&&(Ru(o),e(i-r))};return Ir.setup(o,!0),()=>Ru(o)}const ZK=(e,r)=>Math.abs(e-r);function Lqe(e,r){const n=ZK(e.x,r.x),o=ZK(e.y,r.y);return Math.sqrt(n**2+o**2)}const xy=S.createContext({});function gm(e){const r=S.useRef(null);return r.current===null&&(r.current=e()),r.current}const mC=cC?S.useLayoutEffect:S.useEffect,x2=S.createContext(null),kp=S.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function QK(e,r){if(typeof e=="function")return e(r);e!=null&&(e.current=r)}function Bqe(...e){return r=>{let n=!1;const o=e.map(a=>{const i=QK(a,r);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let a=0;a{const{width:u,height:d,top:p,left:f,right:g}=l.current;if(r||!i.current||!u||!d)return;const b=n==="left"?`left: ${f}`:`right: ${g}`;i.current.dataset.motionPopId=a;const x=document.createElement("style");s&&(x.nonce=s);const w=o??document.head;return w.appendChild(x),x.sheet&&x.sheet.insertRule(` [data-motion-pop-id="${a}"] { position: absolute !important; width: ${u}px !important; @@ -221,17 +221,17 @@ ${p.message}`)}if(d){a.push(...s.actions),i=s;break}}return i?[i]:void 0}get eve ${b}px !important; top: ${p}px !important; } - `),()=>{w.contains(x)&&w.removeChild(x)}},[r]),y.jsx(dqe,{isPresent:r,childRef:i,sizeRef:l,children:E.cloneElement(e,{ref:c})})}const hqe=({children:e,initial:r,isPresent:n,onExitComplete:o,custom:a,presenceAffectsLayout:i,mode:l,anchorX:s,root:c})=>{const u=um(fqe),d=E.useId();let p=!0,f=E.useMemo(()=>(p=!1,{id:d,initial:r,isPresent:n,custom:a,onExitComplete:g=>{u.set(g,!0);for(const b of u.values())if(!b)return;o&&o()},register:g=>(u.set(g,!1),()=>u.delete(g))}),[n,u,o]);return i&&p&&(f={...f}),E.useMemo(()=>{u.forEach((g,b)=>u.set(b,!1))},[n]),E.useEffect(()=>{!n&&!u.size&&o&&o()},[n]),l==="popLayout"&&(e=y.jsx(pqe,{isPresent:n,anchorX:s,root:c,children:e})),y.jsx(g2.Provider,{value:f,children:e})};function fqe(){return new Map}function HK(e=!0){const r=E.useContext(g2);if(r===null)return[!0,null];const{isPresent:n,onExitComplete:o,register:a}=r,i=E.useId();E.useEffect(()=>{if(e)return a(i)},[e]);const l=E.useCallback(()=>e&&o&&o(i),[i,o,e]);return!n&&o?[!1,l]:[!0]}const y2=e=>e.key||"";function qK(e){const r=[];return E.Children.forEach(e,n=>{E.isValidElement(n)&&r.push(n)}),r}const Pa=({children:e,custom:r,initial:n=!0,onExitComplete:o,presenceAffectsLayout:a=!0,mode:i="sync",propagate:l=!1,anchorX:s="left",root:c})=>{const[u,d]=HK(l),p=E.useMemo(()=>qK(e),[e]),f=l&&!u?[]:p.map(y2),g=E.useRef(!0),b=E.useRef(p),x=um(()=>new Map),[w,k]=E.useState(p),[C,_]=E.useState(p);cC(()=>{g.current=!1,b.current=p;for(let A=0;A{const D=y2(A),N=l&&!u?!1:p===C||f.includes(D),$=()=>{if(x.has(D))x.set(D,!0);else return;let M=!0;x.forEach(j=>{j||(M=!1)}),M&&(R?.(),_(b.current),l&&d?.(),o&&o())};return y.jsx(hqe,{isPresent:N,initial:!g.current||n?void 0:!1,custom:r,presenceAffectsLayout:a,mode:i,root:c,onExitComplete:N?void 0:$,anchorX:s,children:A},D)})})},mqe=E.createContext(null);function gqe(){const e=E.useRef(!1);return cC(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function yqe(){const e=gqe(),[r,n]=E.useState(0),o=E.useCallback(()=>{e.current&&n(r+1)},[r]);return[E.useCallback(()=>$r.postRender(o),[o]),r]}const bqe=e=>!e.isLayoutDirty&&e.willUpdate(!1);function vqe(){const e=new Set,r=new WeakMap,n=()=>e.forEach(bqe);return{add:o=>{e.add(o),r.set(o,o.addEventListener("willUpdate",n))},remove:o=>{e.delete(o);const a=r.get(o);a&&(a(),r.delete(o)),n()},dirty:n}}const UK=e=>e===!0,xqe=e=>UK(e===!0)||e==="id",dm=({children:e,id:r,inherit:n=!0})=>{const o=E.useContext(uy),a=E.useContext(mqe),[i,l]=yqe(),s=E.useRef(null),c=o.id||a;s.current===null&&(xqe(n)&&c&&(r=r?c+"-"+r:c),s.current={id:r,group:UK(n)&&o.group||vqe()});const u=E.useMemo(()=>({...s.current,forceRender:i}),[l]);return y.jsx(uy.Provider,{value:u,children:e})},uC=E.createContext({strict:!1});function dC(e){for(const r in e)sm[r]={...sm[r],...e[r]}}function wqe({children:e,features:r,strict:n=!1}){const[,o]=E.useState(!pC(r)),a=E.useRef(void 0);if(!pC(r)){const{renderer:i,...l}=r;a.current=i,dC(l)}return E.useEffect(()=>{pC(r)&&r().then(({renderer:i,...l})=>{dC(l),a.current=i,o(!0)})},[]),y.jsx(uC.Provider,{value:{renderer:a.current,strict:n},children:e})}function pC(e){return typeof e=="function"}const kqe=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function b2(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||kqe.has(e)}let VK=e=>!b2(e);function YK(e){typeof e=="function"&&(VK=r=>r.startsWith("on")?!b2(r):e(r))}try{YK(require("@emotion/is-prop-valid").default)}catch{}function _qe(e,r,n){const o={};for(const a in e)a==="values"&&typeof e.values=="object"||(VK(a)||n===!0&&b2(a)||!r&&!b2(a)||e.draggable&&a.startsWith("onDrag"))&&(o[a]=e[a]);return o}function Eqe({children:e,isValidProp:r,...n}){r&&YK(r),n={...E.useContext(up),...n},n.isStatic=um(()=>n.isStatic);const o=E.useMemo(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return y.jsx(up.Provider,{value:o,children:e})}const v2=E.createContext({});function Sqe(e,r){if(m2(e)){const{initial:n,animate:o}=e;return{initial:n===!1||sy(n)?n:void 0,animate:sy(o)?o:void 0}}return e.inherit!==!1?r:{}}function Cqe(e){const{initial:r,animate:n}=Sqe(e,E.useContext(v2));return E.useMemo(()=>({initial:r,animate:n}),[WK(r),WK(n)])}function WK(e){return Array.isArray(e)?e.join(" "):e}const hC=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function GK(e,r,n){for(const o in r)!Qn(r[o])&&!DK(o,n)&&(e[o]=r[o])}function Tqe({transformTemplate:e},r){return E.useMemo(()=>{const n=hC();return lC(n,r,e),Object.assign({},n.vars,n.style)},[r])}function Rqe(e,r){const n=e.style||{},o={};return GK(o,n,e),Object.assign(o,Tqe(e,r)),o}function Aqe(e,r){const n={},o=Rqe(e,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const XK=()=>({...hC(),attrs:{}});function Nqe(e,r,n,o){const a=E.useMemo(()=>{const i=XK();return $K(i,r,OK(o),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[r]);if(e.style){const i={};GK(i,e.style,e),a.style={...i,...a.style}}return a}const Dqe=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function fC(e){return typeof e!="string"||e.includes("-")?!1:!!(Dqe.indexOf(e)>-1||/[A-Z]/u.test(e))}function Pqe(e,r,n,{latestValues:o},a,i=!1){const l=(fC(e)?Nqe:Aqe)(r,o,a,e),s=_qe(r,typeof e=="string",i),c=e!==E.Fragment?{...s,...l,ref:n}:{},{children:u}=r,d=E.useMemo(()=>Qn(u)?u.get():u,[u]);return E.createElement(e,{...c,children:d})}function x2(e){return Qn(e)?e.get():e}function $qe({scrapeMotionValuesFromProps:e,createRenderState:r},n,o,a){return{latestValues:Mqe(n,o,a,e),renderState:r()}}function Mqe(e,r,n,o){const a={},i=o(e,{});for(const f in i)a[f]=x2(i[f]);let{initial:l,animate:s}=e;const c=m2(e),u=CK(e);r&&u&&!c&&e.inherit!==!1&&(l===void 0&&(l=r.initial),s===void 0&&(s=r.animate));let d=n?n.initial===!1:!1;d=d||l===!1;const p=d?s:l;if(p&&typeof p!="boolean"&&!f2(p)){const f=Array.isArray(p)?p:[p];for(let g=0;g(r,n)=>{const o=E.useContext(v2),a=E.useContext(g2),i=()=>$qe(e,r,o,a);return n?i():um(i)},Oqe=KK({scrapeMotionValuesFromProps:sC,createRenderState:hC}),Iqe=KK({scrapeMotionValuesFromProps:IK,createRenderState:XK}),Lqe=Symbol.for("motionComponentSymbol");function pm(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function zqe(e,r,n){return E.useCallback(o=>{o&&e.onMount&&e.onMount(o),r&&(o?r.mount(o):r.unmount()),n&&(typeof n=="function"?n(o):pm(n)&&(n.current=o))},[r])}const ZK=E.createContext({});function Bqe(e,r,n,o,a){const{visualElement:i}=E.useContext(v2),l=E.useContext(uC),s=E.useContext(g2),c=E.useContext(up).reducedMotion,u=E.useRef(null);o=o||l.renderer,!u.current&&o&&(u.current=o(e,{visualState:r,parent:i,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:c}));const d=u.current,p=E.useContext(ZK);d&&!d.projection&&a&&(d.type==="html"||d.type==="svg")&&jqe(u.current,n,a,p);const f=E.useRef(!1);E.useInsertionEffect(()=>{d&&f.current&&d.update(n,s)});const g=n[dK],b=E.useRef(!!g&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return cC(()=>{d&&(f.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),b.current&&d.animationState&&d.animationState.animateChanges())}),E.useEffect(()=>{d&&(!b.current&&d.animationState&&d.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),b.current=!1),d.enteringChildren=void 0)}),d}function jqe(e,r,n,o){const{layoutId:a,layout:i,drag:l,dragConstraints:s,layoutScroll:c,layoutRoot:u,layoutCrossfade:d}=r;e.projection=new n(e.latestValues,r["data-framer-portal-id"]?void 0:QK(e.parent)),e.projection.setOptions({layoutId:a,layout:i,alwaysMeasureLayout:!!l||s&&pm(s),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:o,crossfade:d,layoutScroll:c,layoutRoot:u})}function QK(e){if(e)return e.options.allowProjection!==!1?e.projection:QK(e.parent)}function w2(e,{forwardMotionProps:r=!1}={},n,o){n&&dC(n);const a=fC(e)?Iqe:Oqe;function i(s,c){let u;const d={...E.useContext(up),...s,layoutId:Fqe(s)},{isStatic:p}=d,f=Cqe(s),g=a(s,p);if(!p&&nC){Hqe();const b=qqe(d);u=b.MeasureLayout,f.visualElement=Bqe(e,g,d,o,b.ProjectionNode)}return y.jsxs(v2.Provider,{value:f,children:[u&&f.visualElement?y.jsx(u,{visualElement:f.visualElement,...d}):null,Pqe(e,s,zqe(g,f.visualElement,c),g,p,r)]})}i.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=E.forwardRef(i);return l[Lqe]=e,l}function Fqe({layoutId:e}){const r=E.useContext(uy).id;return r&&e!==void 0?r+"-"+e:e}function Hqe(e,r){E.useContext(uC).strict}function qqe(e){const{drag:r,layout:n}=sm;if(!r&&!n)return{};const o={...r,...n};return{MeasureLayout:r?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function Uqe(e,r){if(typeof Proxy>"u")return w2;const n=new Map,o=(i,l)=>w2(i,l,e,r),a=(i,l)=>o(i,l);return new Proxy(a,{get:(i,l)=>l==="create"?o:(n.has(l)||n.set(l,w2(l,void 0,e,r)),n.get(l))})}const cl=Uqe(),Vqe=(e,r)=>fC(e)?new LK(r):new PK(r,{allowProjection:e!==E.Fragment});function JK(e,r,n,o=0,a=1){const i=Array.from(e).sort((c,u)=>c.sortNodePosition(u)).indexOf(r),l=e.size,s=(l-1)*o;return typeof n=="function"?n(i,l):a===1?i*o:s-i*o}function mC(e,r,n={}){const o=am(e,r,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(a=n.transitionOverride);const i=o?()=>Promise.all(JS(e,o,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:p}=a;return Yqe(e,r,c,u,d,p,n)}:()=>Promise.resolve(),{when:s}=a;if(s){const[c,u]=s==="beforeChildren"?[i,l]:[l,i];return c().then(()=>u())}else return Promise.all([i(),l(n.delay)])}function Yqe(e,r,n=0,o=0,a=0,i=1,l){const s=[];for(const c of e.variantChildren)c.notify("AnimationStart",r),s.push(mC(c,r,{...l,delay:n+(typeof o=="function"?0:o)+JK(e.variantChildren,c,o,a,i)}).then(()=>c.notify("AnimationComplete",r)));return Promise.all(s)}function Wqe(e,r,n={}){e.notify("AnimationStart",r);let o;if(Array.isArray(r)){const a=r.map(i=>mC(e,i,n));o=Promise.all(a)}else if(typeof r=="string")o=mC(e,r,n);else{const a=typeof r=="function"?am(e,r,n.custom):r;o=Promise.all(JS(e,a,n))}return o.then(()=>{e.notify("AnimationComplete",r)})}function eZ(e,r){if(!Array.isArray(r))return!1;const n=r.length;if(n!==e.length)return!1;for(let o=0;oPromise.all(r.map(({animation:n,options:o})=>Wqe(e,n,o)))}function Qqe(e){let r=Zqe(e),n=rZ(),o=!0;const a=c=>(u,d)=>{const p=am(e,d,c==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:f,transitionEnd:g,...b}=p;u={...u,...b,...g}}return u};function i(c){r=c(e)}function l(c){const{props:u}=e,d=tZ(e.parent)||{},p=[],f=new Set;let g={},b=1/0;for(let w=0;wb&&T,$=!1;const M=Array.isArray(_)?_:[_];let j=M.reduce(a(k),{});R===!1&&(j={});const{prevResolvedValues:L={}}=C,Y={...L,...j},O=I=>{N=!0,f.has(I)&&($=!0,f.delete(I)),C.needsAnimating[I]=!0;const q=e.getValue(I);q&&(q.liveStyle=!1)};for(const I in Y){const q=j[I],V=L[I];if(g.hasOwnProperty(I))continue;let G=!1;GS(q)&&GS(V)?G=!eZ(q,V):G=q!==V,G?q!=null?O(I):f.add(I):q!==void 0&&f.has(I)?O(I):C.protectedKeys[I]=!0}C.prevProp=_,C.prevResolvedValues=j,C.isActive&&(g={...g,...j}),o&&e.blockInitialAnimation&&(N=!1);const U=A&&D;N&&(!U||$)&&p.push(...M.map(I=>{const q={type:k};if(typeof I=="string"&&o&&!U&&e.manuallyAnimateOnMount&&e.parent){const{parent:V}=e,G=am(V,I);if(V.enteringChildren&&G){const{delayChildren:F}=G.transition||{};q.delay=JK(V.enteringChildren,e,F)}}return{animation:I,options:q}}))}if(f.size){const w={};if(typeof u.initial!="boolean"){const k=am(e,Array.isArray(u.initial)?u.initial[0]:u.initial);k&&k.transition&&(w.transition=k.transition)}f.forEach(k=>{const C=e.getBaseTarget(k),_=e.getValue(k);_&&(_.liveStyle=!0),w[k]=C??null}),p.push({animation:w})}let x=!!p.length;return o&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(x=!1),o=!1,x?r(p):Promise.resolve()}function s(c,u){if(n[c].isActive===u)return Promise.resolve();e.variantChildren?.forEach(p=>p.animationState?.setActive(c,u)),n[c].isActive=u;const d=l(c);for(const p in n)n[p].protectedKeys={};return d}return{animateChanges:l,setActive:s,setAnimateFunction:i,getState:()=>n,reset:()=>{n=rZ(),o=!0}}}function Jqe(e,r){return typeof r=="string"?r!==e:Array.isArray(r)?!eZ(r,e):!1}function dp(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rZ(){return{animate:dp(!0),whileInView:dp(),whileHover:dp(),whileTap:dp(),whileDrag:dp(),whileFocus:dp(),exit:dp()}}class ku{constructor(r){this.isMounted=!1,this.node=r}update(){}}class eUe extends ku{constructor(r){super(r),r.animationState||(r.animationState=Qqe(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();f2(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:n}=this.node.prevProps||{};r!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let tUe=0;class rUe extends ku{constructor(){super(...arguments),this.id=tUe++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===o)return;const a=this.node.animationState.setActive("exit",!r);n&&!r&&a.then(()=>{n(this.id)})}mount(){const{register:r,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),r&&(this.unmount=r(this.id))}unmount(){}}const nUe={animation:{Feature:eUe},exit:{Feature:rUe}};function dy(e,r,n,o={passive:!0}){return e.addEventListener(r,n,o),()=>e.removeEventListener(r,n)}function py(e){return{point:{x:e.pageX,y:e.pageY}}}const oUe=e=>r=>US(r)&&e(r,py(r));function hy(e,r,n,o){return dy(e,r,oUe(n),o)}const nZ=1e-4,aUe=1-nZ,iUe=1+nZ,oZ=.01,lUe=0-oZ,sUe=0+oZ;function Uo(e){return e.max-e.min}function cUe(e,r,n){return Math.abs(e-r)<=n}function aZ(e,r,n,o=.5){e.origin=o,e.originPoint=Ir(r.min,r.max,e.origin),e.scale=Uo(n)/Uo(r),e.translate=Ir(n.min,n.max,e.origin)-e.originPoint,(e.scale>=aUe&&e.scale<=iUe||isNaN(e.scale))&&(e.scale=1),(e.translate>=lUe&&e.translate<=sUe||isNaN(e.translate))&&(e.translate=0)}function fy(e,r,n,o){aZ(e.x,r.x,n.x,o?o.originX:void 0),aZ(e.y,r.y,n.y,o?o.originY:void 0)}function iZ(e,r,n){e.min=n.min+r.min,e.max=e.min+Uo(r)}function uUe(e,r,n){iZ(e.x,r.x,n.x),iZ(e.y,r.y,n.y)}function lZ(e,r,n){e.min=r.min-n.min,e.max=e.min+Uo(r)}function my(e,r,n){lZ(e.x,r.x,n.x),lZ(e.y,r.y,n.y)}function hi(e){return[e("x"),e("y")]}const sZ=({current:e})=>e?e.ownerDocument.defaultView:null;class cZ{constructor(r,n,{transformPagePoint:o,contextWindow:a=window,dragSnapToOrigin:i=!1,distanceThreshold:l=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=yC(this.lastMoveEventInfo,this.history),g=this.startEvent!==null,b=sqe(f.offset,{x:0,y:0})>=this.distanceThreshold;if(!g&&!b)return;const{point:x}=f,{timestamp:w}=mo;this.history.push({...x,timestamp:w});const{onStart:k,onMove:C}=this.handlers;g||(k&&k(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),C&&C(this.lastMoveEvent,f)},this.handlePointerMove=(f,g)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=gC(g,this.transformPagePoint),$r.update(this.updatePoint,!0)},this.handlePointerUp=(f,g)=>{this.end();const{onEnd:b,onSessionEnd:x,resumeAnimation:w}=this.handlers;if(this.dragSnapToOrigin&&w&&w(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const k=yC(f.type==="pointercancel"?this.lastMoveEventInfo:gC(g,this.transformPagePoint),this.history);this.startEvent&&b&&b(f,k),x&&x(f,k)},!US(r))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=o,this.distanceThreshold=l,this.contextWindow=a||window;const s=py(r),c=gC(s,this.transformPagePoint),{point:u}=c,{timestamp:d}=mo;this.history=[{...u,timestamp:d}];const{onSessionStart:p}=n;p&&p(r,yC(c,this.history)),this.removeListeners=Q0(hy(this.contextWindow,"pointermove",this.handlePointerMove),hy(this.contextWindow,"pointerup",this.handlePointerUp),hy(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),vu(this.updatePoint)}}function gC(e,r){return r?{point:r(e.point)}:e}function uZ(e,r){return{x:e.x-r.x,y:e.y-r.y}}function yC({point:e},r){return{point:e,delta:uZ(e,dZ(r)),offset:uZ(e,dUe(r)),velocity:pUe(r,.1)}}function dUe(e){return e[0]}function dZ(e){return e[e.length-1]}function pUe(e,r){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const a=dZ(e);for(;n>=0&&(o=e[n],!(a.timestamp-o.timestamp>ll(r)));)n--;if(!o)return{x:0,y:0};const i=pi(a.timestamp-o.timestamp);if(i===0)return{x:0,y:0};const l={x:(a.x-o.x)/i,y:(a.y-o.y)/i};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}function hUe(e,{min:r,max:n},o){return r!==void 0&&en&&(e=o?Ir(n,e,o.max):Math.min(e,n)),e}function pZ(e,r,n){return{min:r!==void 0?e.min+r:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function fUe(e,{top:r,left:n,bottom:o,right:a}){return{x:pZ(e.x,n,a),y:pZ(e.y,r,o)}}function hZ(e,r){let n=r.min-e.min,o=r.max-e.max;return r.max-r.mino?n=em(r.min,r.max-o,e.min):o>a&&(n=em(e.min,e.max-a,r.min)),rc(0,1,n)}function yUe(e,r){const n={};return r.min!==void 0&&(n.min=r.min-e.min),r.max!==void 0&&(n.max=r.max-e.min),n}const bC=.35;function bUe(e=bC){return e===!1?e=0:e===!0&&(e=bC),{x:fZ(e,"left","right"),y:fZ(e,"top","bottom")}}function fZ(e,r,n){return{min:mZ(e,r),max:mZ(e,n)}}function mZ(e,r){return typeof e=="number"?e:e[r]||0}const vUe=new WeakMap;class xUe{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Zr(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:n=!1,distanceThreshold:o}={}){const{presenceContext:a}=this.visualElement;if(a&&a.isPresent===!1)return;const i=p=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(py(p).point)},l=(p,f)=>{const{drag:g,dragPropagation:b,onDragStart:x}=this.getProps();if(g&&!b&&(this.openDragLock&&this.openDragLock(),this.openDragLock=aHe(g),!this.openDragLock))return;this.latestPointerEvent=p,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),hi(k=>{let C=this.getAxisMotionValue(k).get()||0;if(ls.test(C)){const{projection:_}=this.visualElement;if(_&&_.layout){const T=_.layout.layoutBox[k];T&&(C=Uo(T)*(parseFloat(C)/100))}}this.originPoint[k]=C}),x&&$r.postRender(()=>x(p,f)),KS(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},s=(p,f)=>{this.latestPointerEvent=p,this.latestPanInfo=f;const{dragPropagation:g,dragDirectionLock:b,onDirectionLock:x,onDrag:w}=this.getProps();if(!g&&!this.openDragLock)return;const{offset:k}=f;if(b&&this.currentDirection===null){this.currentDirection=wUe(k),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",f.point,k),this.updateAxis("y",f.point,k),this.visualElement.render(),w&&w(p,f)},c=(p,f)=>{this.latestPointerEvent=p,this.latestPanInfo=f,this.stop(p,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>hi(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:d}=this.getProps();this.panSession=new cZ(r,{onSessionStart:i,onStart:l,onMove:s,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:o,contextWindow:sZ(this.visualElement)})}stop(r,n){const o=r||this.latestPointerEvent,a=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!a||!o)return;const{velocity:l}=a;this.startAnimation(l);const{onDragEnd:s}=this.getProps();s&&$r.postRender(()=>s(o,a))}cancel(){this.isDragging=!1;const{projection:r,animationState:n}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(r,n,o){const{drag:a}=this.getProps();if(!o||!k2(r,a,this.currentDirection))return;const i=this.getAxisMotionValue(r);let l=this.originPoint[r]+o[r];this.constraints&&this.constraints[r]&&(l=hUe(l,this.constraints[r],this.elastic[r])),i.set(l)}resolveConstraints(){const{dragConstraints:r,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,a=this.constraints;r&&pm(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=fUe(o.layoutBox,r):this.constraints=!1,this.elastic=bUe(n),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&hi(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=yUe(o.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:n}=this.getProps();if(!r||!pm(r))return!1;const o=r.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const i=FHe(o,a.root,this.visualElement.getTransformPagePoint());let l=mUe(a.layout.layoutBox,i);if(n){const s=n(zHe(l));this.hasMutatedConstraints=!!s,s&&(l=hK(s))}return l}startAnimation(r){const{drag:n,dragMomentum:o,dragElastic:a,dragTransition:i,dragSnapToOrigin:l,onDragTransitionEnd:s}=this.getProps(),c=this.constraints||{},u=hi(d=>{if(!k2(d,n,this.currentDirection))return;let p=c&&c[d]||{};l&&(p={min:0,max:0});const f=a?200:1e6,g=a?40:1e7,b={type:"inertia",velocity:o?r[d]:0,bounceStiffness:f,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...i,...p};return this.startAxisValueAnimation(d,b)});return Promise.all(u).then(s)}startAxisValueAnimation(r,n){const o=this.getAxisMotionValue(r);return KS(this.visualElement,r),o.start(QS(r,o,0,n,this.visualElement,!1))}stopAnimation(){hi(r=>this.getAxisMotionValue(r).stop())}pauseAnimation(){hi(r=>this.getAxisMotionValue(r).animation?.pause())}getAnimationState(r){return this.getAxisMotionValue(r).animation?.state}getAxisMotionValue(r){const n=`_drag${r.toUpperCase()}`,o=this.visualElement.getProps();return o[n]||this.visualElement.getValue(r,(o.initial?o.initial[r]:void 0)||0)}snapToCursor(r){hi(n=>{const{drag:o}=this.getProps();if(!k2(n,o,this.currentDirection))return;const{projection:a}=this.visualElement,i=this.getAxisMotionValue(n);if(a&&a.layout){const{min:l,max:s}=a.layout.layoutBox[n];i.set(r[n]-Ir(l,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!pm(n)||!o||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};hi(l=>{const s=this.getAxisMotionValue(l);if(s&&this.constraints!==!1){const c=s.get();a[l]=gUe({min:c,max:c},this.constraints[l])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),hi(l=>{if(!k2(l,r,null))return;const s=this.getAxisMotionValue(l),{min:c,max:u}=this.constraints[l];s.set(Ir(c,u,a[l]))})}addListeners(){if(!this.visualElement.current)return;vUe.set(this.visualElement,this);const r=this.visualElement.current,n=hy(r,"pointerdown",c=>{const{drag:u,dragListener:d=!0}=this.getProps();u&&d&&this.start(c)}),o=()=>{const{dragConstraints:c}=this.getProps();pm(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,i=a.addEventListener("measure",o);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),$r.read(o);const l=dy(window,"resize",()=>this.scalePositionWithinConstraints()),s=a.addEventListener("didUpdate",(({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(hi(d=>{const p=this.getAxisMotionValue(d);p&&(this.originPoint[d]+=c[d].translate,p.set(p.get()+c[d].translate))}),this.visualElement.render())}));return()=>{l(),n(),i(),s&&s()}}getProps(){const r=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:o=!1,dragPropagation:a=!1,dragConstraints:i=!1,dragElastic:l=bC,dragMomentum:s=!0}=r;return{...r,drag:n,dragDirectionLock:o,dragPropagation:a,dragConstraints:i,dragElastic:l,dragMomentum:s}}}function k2(e,r,n){return(r===!0||r===e)&&(n===null||n===e)}function wUe(e,r=10){let n=null;return Math.abs(e.y)>r?n="y":Math.abs(e.x)>r&&(n="x"),n}class kUe extends ku{constructor(r){super(r),this.removeGroupControls=di,this.removeListeners=di,this.controls=new xUe(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||di}unmount(){this.removeGroupControls(),this.removeListeners()}}const gZ=e=>(r,n)=>{e&&$r.postRender(()=>e(r,n))};class _Ue extends ku{constructor(){super(...arguments),this.removePointerDownListener=di}onPointerDown(r){this.session=new cZ(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:sZ(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:n,onPan:o,onPanEnd:a}=this.node.getProps();return{onSessionStart:gZ(r),onStart:gZ(n),onMove:o,onEnd:(i,l)=>{delete this.session,a&&$r.postRender(()=>a(i,l))}}}mount(){this.removePointerDownListener=hy(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const _2={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function yZ(e,r){return r.max===r.min?0:e/(r.max-r.min)*100}const gy={correct:(e,r)=>{if(!r.target)return e;if(typeof e=="string")if(vt.test(e))e=parseFloat(e);else return e;const n=yZ(e,r.target.x),o=yZ(e,r.target.y);return`${n}% ${o}%`}},EUe={correct:(e,{treeScale:r,projectionDelta:n})=>{const o=e,a=wu.parse(e);if(a.length>5)return o;const i=wu.createTransformer(e),l=typeof a[0]!="number"?1:0,s=n.x.scale*r.x,c=n.y.scale*r.y;a[0+l]/=s,a[1+l]/=c;const u=Ir(s,c,.5);return typeof a[2+l]=="number"&&(a[2+l]/=u),typeof a[3+l]=="number"&&(a[3+l]/=u),i(a)}};let vC=!1;class SUe extends E.Component{componentDidMount(){const{visualElement:r,layoutGroup:n,switchLayoutGroup:o,layoutId:a}=this.props,{projection:i}=r;YHe(CUe),i&&(n.group&&n.group.add(i),o&&o.register&&a&&o.register(i),vC&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),_2.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:n,visualElement:o,drag:a,isPresent:i}=this.props,{projection:l}=o;return l&&(l.isPresent=i,vC=!0,a||r.layoutDependency!==n||n===void 0||r.isPresent!==i?l.willUpdate():this.safeToRemove(),r.isPresent!==i&&(i?l.promote():l.relegate()||$r.postRender(()=>{const s=l.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),qS.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:n,switchLayoutGroup:o}=this.props,{projection:a}=r;vC=!0,a&&(a.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(a),o&&o.deregister&&o.deregister(a))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function bZ(e){const[r,n]=HK(),o=E.useContext(uy);return y.jsx(SUe,{...e,layoutGroup:o,switchLayoutGroup:E.useContext(ZK),isPresent:r,safeToRemove:n})}const CUe={borderRadius:{...gy,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:gy,borderTopRightRadius:gy,borderBottomLeftRadius:gy,borderBottomRightRadius:gy,boxShadow:EUe},TUe=(e,r)=>e.depth-r.depth;class RUe{constructor(){this.children=[],this.isDirty=!1}add(r){iS(this.children,r),this.isDirty=!0}remove(r){a2(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(TUe),this.isDirty=!1,this.children.forEach(r)}}const vZ=["TopLeft","TopRight","BottomLeft","BottomRight"],AUe=vZ.length,xZ=e=>typeof e=="string"?parseFloat(e):e,wZ=e=>typeof e=="number"||vt.test(e);function NUe(e,r,n,o,a,i){a?(e.opacity=Ir(0,n.opacity??1,DUe(o)),e.opacityExit=Ir(r.opacity??1,0,PUe(o))):i&&(e.opacity=Ir(r.opacity??1,n.opacity??1,o));for(let l=0;lor?1:n(em(e,r,o))}function EZ(e,r){e.min=r.min,e.max=r.max}function fi(e,r){EZ(e.x,r.x),EZ(e.y,r.y)}function SZ(e,r){e.translate=r.translate,e.scale=r.scale,e.originPoint=r.originPoint,e.origin=r.origin}function CZ(e,r,n,o,a){return e-=r,e=p2(e,1/n,o),a!==void 0&&(e=p2(e,1/a,o)),e}function $Ue(e,r=0,n=1,o=.5,a,i=e,l=e){if(ls.test(r)&&(r=parseFloat(r),r=Ir(l.min,l.max,r/100)-l.min),typeof r!="number")return;let s=Ir(i.min,i.max,o);e===i&&(s-=r),e.min=CZ(e.min,r,n,s,a),e.max=CZ(e.max,r,n,s,a)}function TZ(e,r,[n,o,a],i,l){$Ue(e,r[n],r[o],r[a],r.scale,i,l)}const MUe=["x","scaleX","originX"],OUe=["y","scaleY","originY"];function RZ(e,r,n,o){TZ(e.x,r,MUe,n?n.x:void 0,o?o.x:void 0),TZ(e.y,r,OUe,n?n.y:void 0,o?o.y:void 0)}function AZ(e){return e.translate===0&&e.scale===1}function NZ(e){return AZ(e.x)&&AZ(e.y)}function DZ(e,r){return e.min===r.min&&e.max===r.max}function IUe(e,r){return DZ(e.x,r.x)&&DZ(e.y,r.y)}function PZ(e,r){return Math.round(e.min)===Math.round(r.min)&&Math.round(e.max)===Math.round(r.max)}function $Z(e,r){return PZ(e.x,r.x)&&PZ(e.y,r.y)}function MZ(e){return Uo(e.x)/Uo(e.y)}function OZ(e,r){return e.translate===r.translate&&e.scale===r.scale&&e.originPoint===r.originPoint}class LUe{constructor(){this.members=[]}add(r){iS(this.members,r),r.scheduleRender()}remove(r){if(a2(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(r){const n=this.members.findIndex(a=>r===a);if(n===0)return!1;let o;for(let a=n;a>=0;a--){const i=this.members[a];if(i.isPresent!==!1){o=i;break}}return o?(this.promote(o),!0):!1}promote(r,n){const o=this.lead;if(r!==o&&(this.prevLead=o,this.lead=r,r.show(),o)){o.instance&&o.scheduleRender(),r.scheduleRender(),r.resumeFrom=o,n&&(r.resumeFrom.preserveOpacity=!0),o.snapshot&&(r.snapshot=o.snapshot,r.snapshot.latestValues=o.animationValues||o.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0);const{crossfade:a}=r.options;a===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:n,resumingFrom:o}=r;n.onExitComplete&&n.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function zUe(e,r,n){let o="";const a=e.x.translate/r.x,i=e.y.translate/r.y,l=n?.z||0;if((a||i||l)&&(o=`translate3d(${a}px, ${i}px, ${l}px) `),(r.x!==1||r.y!==1)&&(o+=`scale(${1/r.x}, ${1/r.y}) `),n){const{transformPerspective:u,rotate:d,rotateX:p,rotateY:f,skewX:g,skewY:b}=n;u&&(o=`perspective(${u}px) ${o}`),d&&(o+=`rotate(${d}deg) `),p&&(o+=`rotateX(${p}deg) `),f&&(o+=`rotateY(${f}deg) `),g&&(o+=`skewX(${g}deg) `),b&&(o+=`skewY(${b}deg) `)}const s=e.x.scale*r.x,c=e.y.scale*r.y;return(s!==1||c!==1)&&(o+=`scale(${s}, ${c})`),o||"none"}const xC=["","X","Y","Z"],BUe=1e3;let jUe=0;function wC(e,r,n,o){const{latestValues:a}=r;a[e]&&(n[e]=a[e],r.setStaticValue(e,0),o&&(o[e]=0))}function IZ(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:r}=e.options;if(!r)return;const n=pK(r);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:a,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",$r,!(a||i))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&IZ(o)}function LZ({attachResizeListener:e,defaultParent:r,measureScroll:n,checkIsScrollRoot:o,resetTransform:a}){return class{constructor(i={},l=r?.()){this.id=jUe++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(qUe),this.nodes.forEach(WUe),this.nodes.forEach(GUe),this.nodes.forEach(UUe)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let s=0;sthis.root.updateBlockedByResize=!1;$r.read(()=>{d=window.innerWidth}),e(i,()=>{const f=window.innerWidth;f!==d&&(d=f,this.root.updateBlockedByResize=!0,u&&u(),u=lqe(p,250),_2.hasAnimatedSinceResize&&(_2.hasAnimatedSinceResize=!1,this.nodes.forEach(jZ)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||s)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d,hasRelativeLayoutChanged:p,layout:f})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||JUe,{onLayoutAnimationStart:b,onLayoutAnimationComplete:x}=c.getProps(),w=!this.targetLayout||!$Z(this.targetLayout,f),k=!d&&p;if(this.options.layoutRoot||this.resumeFrom||k||d&&(w||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const C={...jS(g,"layout"),onPlay:b,onComplete:x};(c.shouldReduceMotion||this.options.layoutRoot)&&(C.delay=0,C.type=!1),this.startAnimation(C),this.setAnimationOrigin(u,k)}else d||jZ(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=f})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),vu(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(XUe),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&IZ(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Uo(this.snapshot.measuredBox.x)&&!Uo(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let s=0;s{const T=_/1e3;FZ(d.x,i.x,T),FZ(d.y,i.y,T),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(my(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),ZUe(this.relativeTarget,this.relativeTargetOrigin,p,T),C&&IUe(this.relativeTarget,C)&&(this.isProjectionDirty=!1),C||(C=Zr()),fi(C,this.relativeTarget)),b&&(this.animationValues=u,NUe(u,c,this.latestValues,T,k,w)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(vu(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=$r.update(()=>{_2.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=sp(0)),this.currentAnimation=zK(this.motionValue,[0,1e3],{...i,velocity:0,isSync:!0,onUpdate:l=>{this.mixTargetDelta(l),i.onUpdate&&i.onUpdate(l)},onStop:()=>{},onComplete:()=>{i.onComplete&&i.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(BUe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:l,target:s,layout:c,latestValues:u}=i;if(!(!l||!s||!c)){if(this!==i&&this.layout&&c&&YZ(this.options.animationType,this.layout.layoutBox,c.layoutBox)){s=this.target||Zr();const d=Uo(this.layout.layoutBox.x);s.x.min=i.target.x.min,s.x.max=s.x.min+d;const p=Uo(this.layout.layoutBox.y);s.y.min=i.target.y.min,s.y.max=s.y.min+p}fi(l,s),lm(l,u),fy(this.projectionDeltaWithTransform,this.layoutCorrected,l,u)}}registerSharedNode(i,l){this.sharedNodes.has(i)||this.sharedNodes.set(i,new LUe),this.sharedNodes.get(i).add(l);const s=l.options.initialPromotionConfig;l.promote({transition:s?s.transition:void 0,preserveFollowOpacity:s&&s.shouldPreserveFollowOpacity?s.shouldPreserveFollowOpacity(l):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){const{layoutId:i}=this.options;return i?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:i}=this.options;return i?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:l,preserveFollowOpacity:s}={}){const c=this.getStack();c&&c.promote(this,s),i&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetSkewAndRotation(){const{visualElement:i}=this.options;if(!i)return;let l=!1;const{latestValues:s}=i;if((s.z||s.rotate||s.rotateX||s.rotateY||s.rotateZ||s.skewX||s.skewY)&&(l=!0),!l)return;const c={};s.z&&wC("z",i,c,this.animationValues);for(let u=0;ui.currentAnimation?.stop()),this.root.nodes.forEach(zZ),this.root.sharedNodes.clear()}}}function FUe(e){e.updateLayout()}function HUe(e){const r=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:a}=e.options,i=r.source!==e.layout.source;a==="size"?hi(d=>{const p=i?r.measuredBox[d]:r.layoutBox[d],f=Uo(p);p.min=n[d].min,p.max=p.min+f}):YZ(a,r.layoutBox,n)&&hi(d=>{const p=i?r.measuredBox[d]:r.layoutBox[d],f=Uo(n[d]);p.max=p.min+f,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+f)});const l=cm();fy(l,n,r.layoutBox);const s=cm();i?fy(s,e.applyTransform(o,!0),r.measuredBox):fy(s,n,r.layoutBox);const c=!NZ(l);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:p,layout:f}=d;if(p&&f){const g=Zr();my(g,r.layoutBox,p.layoutBox);const b=Zr();my(b,n,f.layoutBox),$Z(g,b)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=b,e.relativeTargetOrigin=g,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:s,layoutDelta:l,hasLayoutChanged:c,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function qUe(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function UUe(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function VUe(e){e.clearSnapshot()}function zZ(e){e.clearMeasurements()}function BZ(e){e.isLayoutDirty=!1}function YUe(e){const{visualElement:r}=e.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),e.resetTransform()}function jZ(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function WUe(e){e.resolveTargetDelta()}function GUe(e){e.calcProjection()}function XUe(e){e.resetSkewAndRotation()}function KUe(e){e.removeLeadSnapshot()}function FZ(e,r,n){e.translate=Ir(r.translate,0,n),e.scale=Ir(r.scale,1,n),e.origin=r.origin,e.originPoint=r.originPoint}function HZ(e,r,n,o){e.min=Ir(r.min,n.min,o),e.max=Ir(r.max,n.max,o)}function ZUe(e,r,n,o){HZ(e.x,r.x,n.x,o),HZ(e.y,r.y,n.y,o)}function QUe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const JUe={duration:.45,ease:[.4,0,.1,1]},qZ=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),UZ=qZ("applewebkit/")&&!qZ("chrome/")?Math.round:di;function VZ(e){e.min=UZ(e.min),e.max=UZ(e.max)}function eVe(e){VZ(e.x),VZ(e.y)}function YZ(e,r,n){return e==="position"||e==="preserve-aspect"&&!cUe(MZ(r),MZ(n),.2)}function tVe(e){return e!==e.root&&e.scroll?.wasRoot}const rVe=LZ({attachResizeListener:(e,r)=>dy(e,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),kC={current:void 0},WZ=LZ({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!kC.current){const e=new rVe({});e.mount(window),e.setOptions({layoutScroll:!0}),kC.current=e}return kC.current},resetTransform:(e,r)=>{e.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),nVe={pan:{Feature:_Ue},drag:{Feature:kUe,ProjectionNode:WZ,MeasureLayout:bZ}};function GZ(e,r,n){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",n==="Start");const a="onHover"+n,i=o[a];i&&$r.postRender(()=>i(r,py(r)))}class oVe extends ku{mount(){const{current:r}=this.node;r&&(this.unmount=iHe(r,(n,o)=>(GZ(this.node,o,"Start"),a=>GZ(this.node,a,"End"))))}unmount(){}}class aVe extends ku{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Q0(dy(this.node.current,"focus",()=>this.onFocus()),dy(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function XZ(e,r,n){const{props:o}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap",n==="Start");const a="onTap"+(n==="End"?"":n),i=o[a];i&&$r.postRender(()=>i(r,py(r)))}class iVe extends ku{mount(){const{current:r}=this.node;r&&(this.unmount=uHe(r,(n,o)=>(XZ(this.node,o,"Start"),(a,{success:i})=>XZ(this.node,a,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const _C=new WeakMap,EC=new WeakMap,lVe=e=>{const r=_C.get(e.target);r&&r(e)},sVe=e=>{e.forEach(lVe)};function cVe({root:e,...r}){const n=e||document;EC.has(n)||EC.set(n,{});const o=EC.get(n),a=JSON.stringify(r);return o[a]||(o[a]=new IntersectionObserver(sVe,{root:e,...r})),o[a]}function uVe(e,r,n){const o=cVe(r);return _C.set(e,n),o.observe(e),()=>{_C.delete(e),o.unobserve(e)}}const dVe={some:0,all:1};class pVe extends ku{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:n,margin:o,amount:a="some",once:i}=r,l={root:n?n.current:void 0,rootMargin:o,threshold:typeof a=="number"?a:dVe[a]},s=c=>{const{isIntersecting:u}=c;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:d,onViewportLeave:p}=this.node.getProps(),f=u?d:p;f&&f(c)};return uVe(this.node.current,l,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:n}=this.node;["amount","margin","root"].some(hVe(r,n))&&this.startObserver()}unmount(){}}function hVe({viewport:e={}},{viewport:r={}}={}){return n=>e[n]!==r[n]}const fVe={inView:{Feature:pVe},tap:{Feature:iVe},focus:{Feature:aVe},hover:{Feature:oVe}},mVe={layout:{ProjectionNode:WZ,MeasureLayout:bZ}},gVe={renderer:Vqe,...nUe,...fVe},yVe={...gVe,...nVe,...mVe};function KZ(e){const r=um(()=>sp(e)),{isStatic:n}=E.useContext(up);if(n){const[,o]=E.useState(e);E.useEffect(()=>r.on("change",o),[])}return r}function bVe(){!oC.current&&SK();const[e]=E.useState(h2.current);return e}function ZZ(){const e=bVe(),{reducedMotion:r}=E.useContext(up);return r==="never"?!1:r==="always"?!0:e}class vVe{constructor(){this.componentControls=new Set}subscribe(r){return this.componentControls.add(r),()=>this.componentControls.delete(r)}start(r,n){this.componentControls.forEach(o=>{o.start(r.nativeEvent||r,n)})}cancel(){this.componentControls.forEach(r=>{r.cancel()})}stop(){this.componentControls.forEach(r=>{r.stop()})}}const xVe=()=>new vVe;function wVe(){return um(xVe)}const SC=E.createContext(null);SC.displayName="ElementDetailsActorContext";const kVe=()=>{const e=E.useContext(SC);if(e===null)throw new Error("ElementDetailsActorRef is not provided");return e},ul=(e,r,n)=>{const o=a=>({[e]:"__ignore__",...r,...Pd(a)});return{recipeFn:(a,i=!0)=>{const l=Tj({conditions:{shift:Pj,finalize:Dj,breakpoints:{keys:["base","xs","sm","md","lg","xl"]}},utility:{toHash:(c,u)=>u(c.join(":")),transform:(c,u)=>(K8e(e,n,a,c),u==="__ignore__"?{className:e}:(u=U8(u),{className:`${e}--${c}_${u}`}))}}),s=o(a);if(i){const c=K8(n,s);return Je(l(s),ye(c))}return l(s)},getVariantProps:o,__getCompoundVariantCss__:a=>K8(n,o(a))}},oc=(e,r)=>{if(e&&!r)return e;if(!e&&r)return r;const n=(...i)=>Je(e(...i),r(...i)),o=G8(e.variantKeys,r.variantKeys),a=o.reduce((i,l)=>(i[l]=G8(e.variantMap[l],r.variantMap[l]),i),{});return Object.assign(n,{__recipe__:!0,__name__:`${e.__name__} ${r.__name__}`,raw:i=>i,variantKeys:o,variantMap:a,splitVariantProps(i){return Yn(i,o)}})},CC=ul("action-btn",{size:"md",radius:"md",variant:"filled"},[]),QZ={variant:["transparent","filled"],size:["sm","md"],radius:["sm","md"]},JZ=Object.keys(QZ),E2=Object.assign(co(CC.recipeFn),{__recipe__:!0,__name__:"actionBtn",__getCompoundVariantCss__:CC.__getCompoundVariantCss__,raw:e=>e,variantKeys:JZ,variantMap:QZ,merge(e){return oc(this,e)},splitVariantProps(e){return Yn(e,JZ)},getVariantProps:CC.getVariantProps}),TC=ul("likec4-compound-node",{},[]),eQ={isTransparent:["false","true"],inverseColor:["true","false"],borderStyle:["solid","dashed","dotted","none"]},tQ=Object.keys(eQ),_Ve=Object.assign(co(TC.recipeFn),{__recipe__:!0,__name__:"compoundNode",__getCompoundVariantCss__:TC.__getCompoundVariantCss__,raw:e=>e,variantKeys:tQ,variantMap:eQ,merge(e){return oc(this,e)},splitVariantProps(e){return Yn(e,tQ)},getVariantProps:TC.getVariantProps}),RC=ul("likec4-edge-action-btn",{},[]),rQ={},nQ=Object.keys(rQ),EVe=Object.assign(co(RC.recipeFn),{__recipe__:!0,__name__:"edgeActionBtn",__getCompoundVariantCss__:RC.__getCompoundVariantCss__,raw:e=>e,variantKeys:nQ,variantMap:rQ,merge(e){return oc(this,e)},splitVariantProps(e){return Yn(e,nQ)},getVariantProps:RC.getVariantProps}),AC=ul("likec4-element-node-data",{},[]),oQ={},aQ=Object.keys(oQ),SVe=Object.assign(co(AC.recipeFn),{__recipe__:!0,__name__:"elementNodeData",__getCompoundVariantCss__:AC.__getCompoundVariantCss__,raw:e=>e,variantKeys:aQ,variantMap:oQ,merge(e){return oc(this,e)},splitVariantProps(e){return Yn(e,aQ)},getVariantProps:AC.getVariantProps}),NC=ul("likec4-element-shape",{},[]),iQ={shapetype:["html","svg"]},lQ=Object.keys(iQ),sQ=Object.assign(co(NC.recipeFn),{__recipe__:!0,__name__:"elementShapeRecipe",__getCompoundVariantCss__:NC.__getCompoundVariantCss__,raw:e=>e,variantKeys:lQ,variantMap:iQ,merge(e){return oc(this,e)},splitVariantProps(e){return Yn(e,lQ)},getVariantProps:NC.getVariantProps}),DC=ul("likec4-tag",{autoTextColor:!1},[]),cQ={autoTextColor:["false","true"]},uQ=Object.keys(cQ),CVe=Object.assign(co(DC.recipeFn),{__recipe__:!0,__name__:"likec4tag",__getCompoundVariantCss__:DC.__getCompoundVariantCss__,raw:e=>e,variantKeys:uQ,variantMap:cQ,merge(e){return oc(this,e)},splitVariantProps(e){return Yn(e,uQ)},getVariantProps:DC.getVariantProps}),PC=ul("likec4-markdown-block",{uselikec4palette:!1,value:"markdown"},[]),dQ={uselikec4palette:["true","false"],value:["markdown","plaintext"]},pQ=Object.keys(dQ),TVe=Object.assign(co(PC.recipeFn),{__recipe__:!0,__name__:"markdownBlock",__getCompoundVariantCss__:PC.__getCompoundVariantCss__,raw:e=>e,variantKeys:pQ,variantMap:dQ,merge(e){return oc(this,e)},splitVariantProps(e){return Yn(e,pQ)},getVariantProps:PC.getVariantProps}),$C=ul("likec4-navigation-panel-icon",{variant:"default"},[]),hQ={variant:["default","filled"]},fQ=Object.keys(hQ),RVe=Object.assign(co($C.recipeFn),{__recipe__:!0,__name__:"navigationPanelActionIcon",__getCompoundVariantCss__:$C.__getCompoundVariantCss__,raw:e=>e,variantKeys:fQ,variantMap:hQ,merge(e){return oc(this,e)},splitVariantProps(e){return Yn(e,fQ)},getVariantProps:$C.getVariantProps}),MC=ul("likec4-overlay",{fullscreen:!1,withBackdrop:!0},[]),mQ={fullscreen:["false","true"],withBackdrop:["false","true"]},gQ=Object.keys(mQ),AVe=Object.assign(co(MC.recipeFn),{__recipe__:!0,__name__:"overlay",__getCompoundVariantCss__:MC.__getCompoundVariantCss__,raw:e=>e,variantKeys:gQ,variantMap:mQ,merge(e){return oc(this,e)},splitVariantProps(e){return Yn(e,gQ)},getVariantProps:MC.getVariantProps}),yQ={isStepEdge:!1,cursor:"default"},NVe=[],DVe=[["root","likec4-edge-label__root"],["stepNumber","likec4-edge-label__stepNumber"],["labelContents","likec4-edge-label__labelContents"],["labelText","likec4-edge-label__labelText"],["labelTechnology","likec4-edge-label__labelTechnology"]],PVe=DVe.map(([e,r])=>[e,ul(r,yQ,W8(NVe,e))]),$Ve=co((e={})=>Object.fromEntries(PVe.map(([r,n])=>[r,n.recipeFn(e)]))),bQ=["cursor","isStepEdge"],MVe=e=>({...yQ,...Pd(e)}),OVe=Object.assign($Ve,{__recipe__:!1,__name__:"edgeLabel",raw:e=>e,classNameMap:{},variantKeys:bQ,variantMap:{cursor:["pointer","default"],isStepEdge:["false","true"]},splitVariantProps(e){return Yn(e,bQ)},getVariantProps:MVe}),vQ={truncateLabel:!1},IVe=[],LVe=[["root","likec4-navlink__root"],["body","likec4-navlink__body"],["section","likec4-navlink__section"],["label","likec4-navlink__label"],["description","likec4-navlink__description"]],zVe=LVe.map(([e,r])=>[e,ul(r,vQ,W8(IVe,e))]),BVe=co((e={})=>Object.fromEntries(zVe.map(([r,n])=>[r,n.recipeFn(e)]))),xQ=["truncateLabel"],jVe=e=>({...vQ,...Pd(e)}),FVe=Object.assign(BVe,{__recipe__:!1,__name__:"navigationLink",raw:e=>e,classNameMap:{},variantKeys:xQ,variantMap:{truncateLabel:["true","false"]},splitVariantProps(e){return Yn(e,xQ)},getVariantProps:jVe});function HVe(){return uf()}function OC(e,r){return Rt(it(e),Gn)}function IC(){return fr()}function wQ(e){return GRe(e)}const qVe=e=>Math.round(e.transform[2]*100)/100;function UVe(){return Rt(qVe)}const VVe=e=>e.transform[2]<.2;function YVe(){return Rt(VVe)}const{abs:yy,cos:ac,sin:hm,acos:WVe,atan2:by,sqrt:_u,pow:mi}=Math;function vy(e){return e<0?-mi(-e,.3333333333333333):mi(e,.3333333333333333)}const kQ=Math.PI,S2=2*kQ,Eu=kQ/2,GVe=1e-6,LC=Number.MAX_SAFE_INTEGER||9007199254740991,zC=Number.MIN_SAFE_INTEGER||-9007199254740991,XVe={x:0,y:0,z:0},Ye={Tvalues:[-.06405689286260563,.06405689286260563,-.1911188674736163,.1911188674736163,-.3150426796961634,.3150426796961634,-.4337935076260451,.4337935076260451,-.5454214713888396,.5454214713888396,-.6480936519369755,.6480936519369755,-.7401241915785544,.7401241915785544,-.820001985973903,.820001985973903,-.8864155270044011,.8864155270044011,-.9382745520027328,.9382745520027328,-.9747285559713095,.9747285559713095,-.9951872199970213,.9951872199970213],Cvalues:[.12793819534675216,.12793819534675216,.1258374563468283,.1258374563468283,.12167047292780339,.12167047292780339,.1155056680537256,.1155056680537256,.10744427011596563,.10744427011596563,.09761865210411388,.09761865210411388,.08619016153195327,.08619016153195327,.0733464814110803,.0733464814110803,.05929858491543678,.05929858491543678,.04427743881741981,.04427743881741981,.028531388628933663,.028531388628933663,.0123412297999872,.0123412297999872],arcfn:function(e,r){const n=r(e);let o=n.x*n.x+n.y*n.y;return typeof n.z<"u"&&(o+=n.z*n.z),_u(o)},compute:function(e,r,n){if(e===0)return r[0].t=0,r[0];const o=r.length-1;if(e===1)return r[o].t=1,r[o];const a=1-e;let i=r;if(o===0)return r[0].t=e,r[0];if(o===1){const s={x:a*i[0].x+e*i[1].x,y:a*i[0].y+e*i[1].y,t:e};return n&&(s.z=a*i[0].z+e*i[1].z),s}if(o<4){let s=a*a,c=e*e,u,d,p,f=0;o===2?(i=[i[0],i[1],i[2],XVe],u=s,d=a*e*2,p=c):o===3&&(u=s*a,d=s*e*3,p=a*c*3,f=e*c);const g={x:u*i[0].x+d*i[1].x+p*i[2].x+f*i[3].x,y:u*i[0].y+d*i[1].y+p*i[2].y+f*i[3].y,t:e};return n&&(g.z=u*i[0].z+d*i[1].z+p*i[2].z+f*i[3].z),g}const l=JSON.parse(JSON.stringify(r));for(;l.length>1;){for(let s=0;s1;a--,i--){const l=[];for(let s=0,c;s"u")e=.5;else if(e===0||e===1)return e;const n=mi(e,r)+mi(1-e,r),o=n-1;return yy(o/n)},projectionratio:function(e,r){if(r!==2&&r!==3)return!1;if(typeof e>"u")e=.5;else if(e===0||e===1)return e;const n=mi(1-e,r),o=mi(e,r)+n;return n/o},lli8:function(e,r,n,o,a,i,l,s){const c=(e*o-r*n)*(a-l)-(e-n)*(a*s-i*l),u=(e*o-r*n)*(i-s)-(r-o)*(a*s-i*l),d=(e-n)*(i-s)-(r-o)*(a-l);return d==0?!1:{x:c/d,y:u/d}},lli4:function(e,r,n,o){const a=e.x,i=e.y,l=r.x,s=r.y,c=n.x,u=n.y,d=o.x,p=o.y;return Ye.lli8(a,i,l,s,c,u,d,p)},lli:function(e,r){return Ye.lli4(e,e.c,r,r.c)},makeline:function(e,r){return new Lr(e.x,e.y,(e.x+r.x)/2,(e.y+r.y)/2,r.x,r.y)},findbbox:function(e){let r=LC,n=LC,o=zC,a=zC;return e.forEach(function(i){const l=i.bbox();r>l.x.min&&(r=l.x.min),n>l.y.min&&(n=l.y.min),o0&&(d.c1=c,d.c2=u,d.s1=e,d.s2=n,i.push(d))})}),i},makeshape:function(e,r,n){const o=r.points.length,a=e.points.length,i=Ye.makeline(r.points[o-1],e.points[0]),l=Ye.makeline(e.points[a-1],r.points[0]),s={startcap:i,forward:e,back:r,endcap:l,bbox:Ye.findbbox([i,e,r,l])};return s.intersections=function(c){return Ye.shapeintersections(s,s.bbox,c,c.bbox,n)},s},getminmax:function(e,r,n){if(!n)return{min:0,max:0};let o=LC,a=zC,i,l;n.indexOf(0)===-1&&(n=[0].concat(n)),n.indexOf(1)===-1&&n.push(1);for(let s=0,c=n.length;sa&&(a=l[r]);return{min:o,mid:(o+a)/2,max:a,size:a-o}},align:function(e,r){const n=r.p1.x,o=r.p1.y,a=-by(r.p2.y-o,r.p2.x-n),i=function(l){return{x:(l.x-n)*ac(a)-(l.y-o)*hm(a),y:(l.x-n)*hm(a)+(l.y-o)*ac(a)}};return e.map(i)},roots:function(e,r){r=r||{p1:{x:0,y:0},p2:{x:1,y:0}};const n=e.length-1,o=Ye.align(e,r),a=function(D){return 0<=D&&D<=1};if(n===2){const D=o[0].y,N=o[1].y,$=o[2].y,M=D-2*N+$;if(M!==0){const j=-_u(N*N-D*$),L=-D+N,Y=-(j+L)/M,O=-(-j+L)/M;return[Y,O].filter(a)}else if(N!==$&&M===0)return[(2*N-$)/(2*N-2*$)].filter(a);return[]}const i=o[0].y,l=o[1].y,s=o[2].y,c=o[3].y;let u=-i+3*l-3*s+c,d=3*i-6*l+3*s,p=-3*i+3*l,f=i;if(Ye.approximately(u,0)){if(Ye.approximately(d,0))return Ye.approximately(p,0)?[]:[-f/p].filter(a);const D=_u(p*p-4*d*f),N=2*d;return[(D-p)/N,(-p-D)/N].filter(a)}d/=u,p/=u,f/=u;const g=(3*p-d*d)/3,b=g/3,x=(2*d*d*d-9*d*p+27*f)/27,w=x/2,k=w*w+b*b*b;let C,_,T,R,A;if(k<0){const D=-g/3,N=D*D*D,$=_u(N),M=-x/(2*$),j=M<-1?-1:M>1?1:M,L=WVe(j),Y=vy($),O=2*Y;return T=O*ac(L/3)-d/3,R=O*ac((L+S2)/3)-d/3,A=O*ac((L+2*S2)/3)-d/3,[T,R,A].filter(a)}else{if(k===0)return C=w<0?vy(-w):-vy(w),T=2*C-d/3,R=-C-d/3,[T,R].filter(a);{const D=_u(k);return C=vy(-w+D),_=vy(w+D),[C-_-d/3].filter(a)}}},droots:function(e){if(e.length===3){const r=e[0],n=e[1],o=e[2],a=r-2*n+o;if(a!==0){const i=-_u(n*n-r*o),l=-r+n,s=-(i+l)/a,c=-(-i+l)/a;return[s,c]}else if(n!==o&&a===0)return[(2*n-o)/(2*(n-o))];return[]}if(e.length===2){const r=e[0],n=e[1];return r!==n?[r/(r-n)]:[]}return[]},curvature:function(e,r,n,o,a){let i,l,s,c,u=0,d=0;const p=Ye.compute(e,r),f=Ye.compute(e,n),g=p.x*p.x+p.y*p.y;if(o?(i=_u(mi(p.y*f.z-f.y*p.z,2)+mi(p.z*f.x-f.z*p.x,2)+mi(p.x*f.y-f.x*p.y,2)),l=mi(g+p.z*p.z,3/2)):(i=p.x*f.y-p.y*f.x,l=mi(g,3/2)),i===0||l===0)return{k:0,r:0};if(u=i/l,d=l/i,!a){const b=Ye.curvature(e-.001,r,n,o,!0).k,x=Ye.curvature(e+.001,r,n,o,!0).k;c=(x-u+(u-b))/2,s=(yy(x-u)+yy(u-b))/2}return{k:u,r:d,dk:c,adk:s}},inflections:function(e){if(e.length<4)return[];const r=Ye.align(e,{p1:e[0],p2:e.slice(-1)[0]}),n=r[2].x*r[1].y,o=r[3].x*r[1].y,a=r[1].x*r[2].y,i=r[3].x*r[2].y,l=18*(-3*n+2*o+3*a-i),s=18*(3*n-o-3*a),c=18*(a-n);if(Ye.approximately(l,0)){if(!Ye.approximately(s,0)){let f=-c/s;if(0<=f&&f<=1)return[f]}return[]}const u=2*l;if(Ye.approximately(u,0))return[];const d=s*s-4*l*c;if(d<0)return[];const p=Math.sqrt(d);return[(p-s)/u,-(s+p)/u].filter(function(f){return 0<=f&&f<=1})},bboxoverlap:function(e,r){const n=["x","y"],o=n.length;for(let a=0,i,l,s,c;a=c)return!1;return!0},expandbox:function(e,r){r.x.mine.x.max&&(e.x.max=r.x.max),r.y.max>e.y.max&&(e.y.max=r.y.max),r.z&&r.z.max>e.z.max&&(e.z.max=r.z.max),e.x.mid=(e.x.min+e.x.max)/2,e.y.mid=(e.y.min+e.y.max)/2,e.z&&(e.z.mid=(e.z.min+e.z.max)/2),e.x.size=e.x.max-e.x.min,e.y.size=e.y.max-e.y.min,e.z&&(e.z.size=e.z.max-e.z.min)},pairiteration:function(e,r,n){const o=e.bbox(),a=r.bbox(),i=1e5,l=n||.5;if(o.x.size+o.y.sizeA||A>D)&&(R+=S2),R>D&&(N=D,D=R,R=N)):D4){if(arguments.length!==1)throw new Error("Only new Bezier(point[]) is accepted for 4th and higher order curves");a=!0}}else if(i!==6&&i!==8&&i!==9&&i!==12&&arguments.length!==1)throw new Error("Only new Bezier(point[]) is accepted for 4th and higher order curves");const l=this._3d=!a&&(i===9||i===12)||r&&r[0]&&typeof r[0].z<"u",s=this.points=[];for(let g=0,b=l?3:2;gg+wy(b.y),0)"u"&&(a=.5),a===0)return new Lr(n,n,o);if(a===1)return new Lr(r,n,n);const i=Lr.getABC(2,r,n,o,a);return new Lr(r,i.A,o)}static cubicFromPoints(r,n,o,a,i){typeof a>"u"&&(a=.5);const l=Lr.getABC(3,r,n,o,a);typeof i>"u"&&(i=Ye.dist(n,l.C));const s=i*(1-a)/a,c=Ye.dist(r,o),u=(o.x-r.x)/c,d=(o.y-r.y)/c,p=i*u,f=i*d,g=s*u,b=s*d,x={x:n.x-p,y:n.y-f},w={x:n.x+g,y:n.y+b},k=l.A,C={x:k.x+(x.x-k.x)/(1-a),y:k.y+(x.y-k.y)/(1-a)},_={x:k.x+(w.x-k.x)/a,y:k.y+(w.y-k.y)/a},T={x:r.x+(C.x-r.x)/a,y:r.y+(C.y-r.y)/a},R={x:o.x+(_.x-o.x)/(1-a),y:o.y+(_.y-o.y)/(1-a)};return new Lr(r,T,R,o)}static getUtils(){return Ye}getUtils(){return Lr.getUtils()}static get PolyBezier(){return xy}valueOf(){return this.toString()}toString(){return Ye.pointsToString(this.points)}toSVG(){if(this._3d)return!1;const r=this.points,n=r[0].x,o=r[0].y,a=["M",n,o,this.order===2?"Q":"C"];for(let i=1,l=r.length;i0}length(){return Ye.length(this.derivative.bind(this))}static getABC(r=2,n,o,a,i=.5){const l=Ye.projectionratio(i,r),s=1-l,c={x:l*n.x+s*a.x,y:l*n.y+s*a.y},u=Ye.abcratio(i,r);return{A:{x:o.x+(o.x-c.x)/u,y:o.y+(o.y-c.y)/u},B:o,C:c,S:n,E:a}}getABC(r,n){n=n||this.get(r);let o=this.points[0],a=this.points[this.order];return Lr.getABC(this.order,o,n,a,r)}getLUT(r){if(this.verify(),r=r||100,this._lut.length===r+1)return this._lut;this._lut=[],r++,this._lut=[];for(let n=0,o,a;n1?1:p,f=this.compute(p),f.t=p,f.d=u,f}get(r){return this.compute(r)}point(r){return this.points[r]}compute(r){return this.ratios?Ye.computeWithRatios(r,this.points,this.ratios,this._3d):Ye.compute(r,this.points,this._3d,this.ratios)}raise(){const r=this.points,n=[r[0]],o=r.length;for(let a=1,i,l;a1;){o=[];for(let l=0,s,c=n.length-1;l=0&&l<=1}),n=n.concat(r[o].sort(Ye.numberSort))}).bind(this)),r.values=n.sort(Ye.numberSort).filter(function(o,a){return n.indexOf(o)===a}),r}bbox(){const r=this.extrema(),n={};return this.dims.forEach((function(o){n[o]=Ye.getminmax(this,o,r[o])}).bind(this)),n}overlaps(r){const n=this.bbox(),o=r.bbox();return Ye.bboxoverlap(n,o)}offset(r,n){if(typeof n<"u"){const o=this.get(r),a=this.normal(r),i={c:o,n:a,x:o.x+a.x*n,y:o.y+a.y*n};return this._3d&&(i.z=o.z+a.z*n),i}if(this._linear){const o=this.normal(0),a=this.points.map(function(i){const l={x:i.x+r*o.x,y:i.y+r*o.y};return i.z&&o.z&&(l.z=i.z+r*o.z),l});return[new Lr(a)]}return this.reduce().map(function(o){return o._linear?o.offset(r)[0]:o.scale(r)})}simple(){if(this.order===3){const a=Ye.angle(this.points[0],this.points[3],this.points[1]),i=Ye.angle(this.points[0],this.points[3],this.points[2]);if(a>0&&i<0||a<0&&i>0)return!1}const r=this.normal(0),n=this.normal(1);let o=r.x*n.x+r.y*n.y;return this._3d&&(o+=r.z*n.z),wy(QVe(o))(1-s/a)*n+s/a*o);return new Lr(this.points.map((l,s)=>({x:l.x+r.x*i[s],y:l.y+r.y*i[s]})))}scale(r){const n=this.order;let o=!1;if(typeof r=="function"&&(o=r),o&&n===2)return this.raise().scale(o);const a=this.clockwise,i=this.points;if(this._linear)return this.translate(this.normal(0),o?o(0):r,o?o(1):r);const l=o?o(0):r,s=o?o(1):r,c=[this.offset(0,10),this.offset(1,10)],u=[],d=Ye.lli4(c[0],c[0].c,c[1],c[1].c);if(!d)throw new Error("cannot scale this curve. Try reducing it first.");return[0,1].forEach(function(p){const f=u[p*n]=Ye.copy(i[p*n]);f.x+=(p?s:l)*c[p].n.x,f.y+=(p?s:l)*c[p].n.y}),o?([0,1].forEach(function(p){if(!(n===2&&p)){var f=i[p+1],g={x:f.x-d.x,y:f.y-d.y},b=o?o((p+1)/n):r;o&&!a&&(b=-b);var x=ky(g.x*g.x+g.y*g.y);g.x/=x,g.y/=x,u[p+1]={x:f.x+b*g.x,y:f.y+b*g.y}}}),new Lr(u)):([0,1].forEach(p=>{if(n===2&&p)return;const f=u[p*n],g=this.derivative(p),b={x:f.x+g.x,y:f.y+g.y};u[p+1]=Ye.lli4(f,b,d,i[p+1])}),new Lr(u))}outline(r,n,o,a){if(n=n===void 0?r:n,this._linear){const R=this.normal(0),A=this.points[0],D=this.points[this.points.length-1];let N,$,M;o===void 0&&(o=r,a=n),N={x:A.x+R.x*r,y:A.y+R.y*r},M={x:D.x+R.x*o,y:D.y+R.y*o},$={x:(N.x+M.x)/2,y:(N.y+M.y)/2};const j=[N,$,M];N={x:A.x-R.x*n,y:A.y-R.y*n},M={x:D.x-R.x*a,y:D.y-R.y*a},$={x:(N.x+M.x)/2,y:(N.y+M.y)/2};const L=[M,$,N],Y=Ye.makeline(L[2],j[0]),O=Ye.makeline(j[2],L[0]),U=[Y,new Lr(j),O,new Lr(L)];return new xy(U)}const i=this.reduce(),l=i.length,s=[];let c=[],u,d=0,p=this.length();const f=typeof o<"u"&&typeof a<"u";function g(R,A,D,N,$){return function(M){const j=N/D,L=(N+$)/D,Y=A-R;return Ye.map(M,0,1,R+j*Y,R+L*Y)}}i.forEach(function(R){const A=R.length();f?(s.push(R.scale(g(r,o,p,d,A))),c.push(R.scale(g(-n,-a,p,d,A)))):(s.push(R.scale(r)),c.push(R.scale(-n))),d+=A}),c=c.map(function(R){return u=R.points,u[3]?R.points=[u[3],u[2],u[1],u[0]]:R.points=[u[2],u[1],u[0]],R}).reverse();const b=s[0].points[0],x=s[l-1].points[s[l-1].points.length-1],w=c[l-1].points[c[l-1].points.length-1],k=c[0].points[0],C=Ye.makeline(w,b),_=Ye.makeline(x,k),T=[C].concat(s).concat([_]).concat(c);return new xy(T)}outlineshapes(r,n,o){n=n||r;const a=this.outline(r,n).curves,i=[];for(let l=1,s=a.length;l1,c.endcap.virtual=l{var s=this.get(l);return Ye.between(s.x,n,a)&&Ye.between(s.y,o,i)})}selfintersects(r){const n=this.reduce(),o=n.length-2,a=[];for(let i=0,l,s,c;i0&&(i=i.concat(s))}),i}arcs(r){return r=r||.5,this._iterate(r,[])}_error(r,n,o,a){const i=(a-o)/4,l=this.get(o+i),s=this.get(a-i),c=Ye.dist(r,n),u=Ye.dist(r,l),d=Ye.dist(r,s);return wy(u-c)+wy(d-c)}_iterate(r,n){let o=0,a=1,i;do{i=0,a=1;let l=this.get(o),s,c,u,d,p=!1,f=!1,g,b=a,x=1;do if(f=p,d=u,b=(o+a)/2,s=this.get(b),c=this.get(a),u=Ye.getccenter(l,s,c),u.interval={start:o,end:a},p=this._error(u,l,o,a)<=r,g=f&&!p,g||(x=a),p){if(a>=1){if(u.interval.end=x=1,d=u,a>1){let w={x:u.x+u.r*KVe(u.e),y:u.y+u.r*ZVe(u.e)};u.e+=Ye.angle({x:u.x,y:u.y},w,this.get(1))}break}a=a+(a-o)/2}else a=b;while(!g&&i++<100);if(i>=100)break;d=d||u,n.push(d),o=x}while(a<1);return n}}function SQ(e){let[r,...n]=e.points;nt(r,"start should be defined");const o=[];for(;To(n,3);){const[a,i,l,...s]=n,c=new Lr(r[0],r[1],a[0],a[1],i[0],i[1],l[0],l[1]),u=c.inflections();u.length===0&&u.push(.5),u.forEach(d=>{const{x:p,y:f}=c.get(d);o.push({x:Math.round(p),y:Math.round(f)})}),n=s,r=l}return nt(n.length===0,"all points should be consumed"),o}const CQ=(e,r)=>Math.abs(e-r)<3.1;function _y(e,r){const[n,o]=FE(e)?e:[e.x,e.y],[a,i]=FE(r)?r:[r.x,r.y];return CQ(n,a)&&CQ(o,i)}function cn(e){return e.stopPropagation()}function eYe(e){const{width:r,height:n}=Wn(e);return{x:e.internals.positionAbsolute.x+r/2,y:e.internals.positionAbsolute.y+n/2}}function tYe(e){let[r,...n]=e;nt(r,"start should be defined");let o=`M ${r[0]},${r[1]}`;for(;To(n,3);){const[a,i,l,...s]=n;o=o+` C ${a[0]},${a[1]} ${i[0]},${i[1]} ${l[0]},${l[1]}`,n=s}return nt(n.length===0,"all points should be consumed"),o}const C2=E.forwardRef(({tag:e,cursor:r,className:n,style:o,...a},i)=>{const l=Oze(e);return y.jsxs(Ur,{ref:i,"data-likec4-tag":e,className:Je(CVe({autoTextColor:nj(l)}),n),...a,style:{cursor:r,...o},children:[y.jsx("span",{children:"#"}),y.jsx("span",{children:e})]})}),rYe=(e,r)=>e.data.width===r.data.width&&ut(e.data.tags,r.data.tags)&&(e.data.hovered??!1)===(r.data.hovered??!1),Ey=E.memo(({id:e,data:{tags:r,width:n,hovered:o=!1}})=>{const{hovered:a,ref:i}=a9(),{hovered:l,ref:s}=a9(),[c,u]=aPe(!1,o?120:300);E.useEffect(()=>{u(w=>w?o||a||l:o&&(a||l))},[a,l,o]);const d=UVe(),p=d>1.2,f=Wt(),g=w=>{f.send({type:"tag.highlight",tag:w})},b=E.useCallback(()=>{f.send({type:"tag.unhighlight"})},[]);if(!r||r.length===0)return null;const x=Math.max(Math.round(n*d)-10,200);return y.jsxs(y.Fragment,{children:[y.jsx("div",{ref:i,className:Je("likec4-element-tags",qo({pointerEvents:"all",gap:"1",alignItems:"flex-end",justifyItems:"stretch",position:"absolute",width:"100%",bottom:"0",left:"0",padding:"1",_shapeCylinder:{bottom:"[5px]"},_shapeStorage:{bottom:"[5px]"},_shapeQueue:{bottom:"0",paddingLeft:"[14px]"}})),onClick:cn,children:r.map(w=>y.jsx(Ur,{"data-likec4-tag":w,className:ye({layerStyle:"likec4.tag",flex:"1",display:"flex",alignItems:"center",justifyContent:"center",maxWidth:50,height:5,_whenHovered:{height:12,borderRadius:4,transitionDelay:".08s"},transition:"fast"})},e+"#"+w))}),y.jsx(Bq,{isVisible:c,align:"start",position:tt.Bottom,children:y.jsx(xn,{ref:s,css:{gap:"0.5",alignItems:"baseline",flexWrap:"wrap",pb:"sm",translate:"auto",x:"[-8px]",maxWidth:x},children:r.map(w=>y.jsx(C2,{tag:w,cursor:"pointer",className:ye({userSelect:"none",...p&&{fontSize:"lg",borderRadius:"[4px]",px:"1.5"}}),onClick:k=>{k.stopPropagation(),f.openSearch(`#${w}`)},onMouseEnter:()=>g(w),onMouseLeave:b},w))})})]})},rYe);Ey.displayName="ElementTags";const nYe=E.forwardRef((e,r)=>y.jsx("svg",{height:"24",width:"24",fill:"currentColor",...e,viewBox:"0 0 24 24",ref:r,children:y.jsx("path",{d:"M12 1C5.923 1 1 5.923 1 12c0 4.867 3.149 8.979 7.521 10.436.55.096.756-.233.756-.522 0-.262-.013-1.128-.013-2.049-2.764.509-3.479-.674-3.699-1.292-.124-.317-.66-1.293-1.127-1.554-.385-.207-.936-.715-.014-.729.866-.014 1.485.797 1.691 1.128.99 1.663 2.571 1.196 3.204.907.096-.715.385-1.196.701-1.471-2.448-.275-5.005-1.224-5.005-5.432 0-1.196.426-2.186 1.128-2.956-.111-.275-.496-1.402.11-2.915 0 0 .921-.288 3.024 1.128a10.193 10.193 0 0 1 2.75-.371c.936 0 1.871.123 2.75.371 2.104-1.43 3.025-1.128 3.025-1.128.605 1.513.221 2.64.111 2.915.701.77 1.127 1.747 1.127 2.956 0 4.222-2.571 5.157-5.019 5.432.399.344.743 1.004.743 2.035 0 1.471-.014 2.654-.014 3.025 0 .289.206.632.756.522C19.851 20.979 23 16.854 23 12c0-6.077-4.922-11-11-11Z"})}));/** + `),()=>{w.contains(x)&&w.removeChild(x)}},[r]),y.jsx(Fqe,{isPresent:r,childRef:i,sizeRef:l,children:S.cloneElement(e,{ref:c})})}const qqe=({children:e,initial:r,isPresent:n,onExitComplete:o,custom:a,presenceAffectsLayout:i,mode:l,anchorX:s,root:c})=>{const u=gm(Uqe),d=S.useId();let p=!0,f=S.useMemo(()=>(p=!1,{id:d,initial:r,isPresent:n,custom:a,onExitComplete:g=>{u.set(g,!0);for(const b of u.values())if(!b)return;o&&o()},register:g=>(u.set(g,!1),()=>u.delete(g))}),[n,u,o]);return i&&p&&(f={...f}),S.useMemo(()=>{u.forEach((g,b)=>u.set(b,!1))},[n]),S.useEffect(()=>{!n&&!u.size&&o&&o()},[n]),l==="popLayout"&&(e=y.jsx(Hqe,{isPresent:n,anchorX:s,root:c,children:e})),y.jsx(x2.Provider,{value:f,children:e})};function Uqe(){return new Map}function JK(e=!0){const r=S.useContext(x2);if(r===null)return[!0,null];const{isPresent:n,onExitComplete:o,register:a}=r,i=S.useId();S.useEffect(()=>{if(e)return a(i)},[e]);const l=S.useCallback(()=>e&&o&&o(i),[i,o,e]);return!n&&o?[!1,l]:[!0]}const w2=e=>e.key||"";function eZ(e){const r=[];return S.Children.forEach(e,n=>{S.isValidElement(n)&&r.push(n)}),r}const Oa=({children:e,custom:r,initial:n=!0,onExitComplete:o,presenceAffectsLayout:a=!0,mode:i="sync",propagate:l=!1,anchorX:s="left",root:c})=>{const[u,d]=JK(l),p=S.useMemo(()=>eZ(e),[e]),f=l&&!u?[]:p.map(w2),g=S.useRef(!0),b=S.useRef(p),x=gm(()=>new Map),[w,k]=S.useState(p),[C,_]=S.useState(p);mC(()=>{g.current=!1,b.current=p;for(let A=0;A{const D=w2(A),N=l&&!u?!1:p===C||f.includes(D),$=()=>{if(x.has(D))x.set(D,!0);else return;let O=!0;x.forEach(j=>{j||(O=!1)}),O&&(R?.(),_(b.current),l&&d?.(),o&&o())};return y.jsx(qqe,{isPresent:N,initial:!g.current||n?void 0:!1,custom:r,presenceAffectsLayout:a,mode:i,root:c,onExitComplete:N?void 0:$,anchorX:s,children:A},D)})})},Vqe=S.createContext(null);function Yqe(){const e=S.useRef(!1);return mC(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Wqe(){const e=Yqe(),[r,n]=S.useState(0),o=S.useCallback(()=>{e.current&&n(r+1)},[r]);return[S.useCallback(()=>Ir.postRender(o),[o]),r]}const Gqe=e=>!e.isLayoutDirty&&e.willUpdate(!1);function Xqe(){const e=new Set,r=new WeakMap,n=()=>e.forEach(Gqe);return{add:o=>{e.add(o),r.set(o,o.addEventListener("willUpdate",n))},remove:o=>{e.delete(o);const a=r.get(o);a&&(a(),r.delete(o)),n()},dirty:n}}const tZ=e=>e===!0,Kqe=e=>tZ(e===!0)||e==="id",ym=({children:e,id:r,inherit:n=!0})=>{const o=S.useContext(xy),a=S.useContext(Vqe),[i,l]=Wqe(),s=S.useRef(null),c=o.id||a;s.current===null&&(Kqe(n)&&c&&(r=r?c+"-"+r:c),s.current={id:r,group:tZ(n)&&o.group||Xqe()});const u=S.useMemo(()=>({...s.current,forceRender:i}),[l]);return y.jsx(xy.Provider,{value:u,children:e})},gC=S.createContext({strict:!1});function yC(e){for(const r in e)fm[r]={...fm[r],...e[r]}}function Zqe({children:e,features:r,strict:n=!1}){const[,o]=S.useState(!bC(r)),a=S.useRef(void 0);if(!bC(r)){const{renderer:i,...l}=r;a.current=i,yC(l)}return S.useEffect(()=>{bC(r)&&r().then(({renderer:i,...l})=>{yC(l),a.current=i,o(!0)})},[]),y.jsx(gC.Provider,{value:{renderer:a.current,strict:n},children:e})}function bC(e){return typeof e=="function"}const Qqe=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function k2(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Qqe.has(e)}let rZ=e=>!k2(e);function nZ(e){typeof e=="function"&&(rZ=r=>r.startsWith("on")?!k2(r):e(r))}try{nZ(require("@emotion/is-prop-valid").default)}catch{}function Jqe(e,r,n){const o={};for(const a in e)a==="values"&&typeof e.values=="object"||(rZ(a)||n===!0&&k2(a)||!r&&!k2(a)||e.draggable&&a.startsWith("onDrag"))&&(o[a]=e[a]);return o}function eUe({children:e,isValidProp:r,...n}){r&&nZ(r),n={...S.useContext(kp),...n},n.isStatic=gm(()=>n.isStatic);const o=S.useMemo(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return y.jsx(kp.Provider,{value:o,children:e})}const _2=S.createContext({});function tUe(e,r){if(v2(e)){const{initial:n,animate:o}=e;return{initial:n===!1||by(n)?n:void 0,animate:by(o)?o:void 0}}return e.inherit!==!1?r:{}}function rUe(e){const{initial:r,animate:n}=tUe(e,S.useContext(_2));return S.useMemo(()=>({initial:r,animate:n}),[oZ(r),oZ(n)])}function oZ(e){return Array.isArray(e)?e.join(" "):e}const vC=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function aZ(e,r,n){for(const o in r)!oo(r[o])&&!HK(o,n)&&(e[o]=r[o])}function nUe({transformTemplate:e},r){return S.useMemo(()=>{const n=vC();return hC(n,r,e),Object.assign({},n.vars,n.style)},[r])}function oUe(e,r){const n=e.style||{},o={};return aZ(o,n,e),Object.assign(o,nUe(e,r)),o}function aUe(e,r){const n={},o=oUe(e,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const iZ=()=>({...vC(),attrs:{}});function iUe(e,r,n,o){const a=S.useMemo(()=>{const i=iZ();return UK(i,r,YK(o),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[r]);if(e.style){const i={};aZ(i,e.style,e),a.style={...i,...a.style}}return a}const lUe=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function xC(e){return typeof e!="string"||e.includes("-")?!1:!!(lUe.indexOf(e)>-1||/[A-Z]/u.test(e))}function sUe(e,r,n,{latestValues:o},a,i=!1){const l=(xC(e)?iUe:aUe)(r,o,a,e),s=Jqe(r,typeof e=="string",i),c=e!==S.Fragment?{...s,...l,ref:n}:{},{children:u}=r,d=S.useMemo(()=>oo(u)?u.get():u,[u]);return S.createElement(e,{...c,children:d})}function E2(e){return oo(e)?e.get():e}function cUe({scrapeMotionValuesFromProps:e,createRenderState:r},n,o,a){return{latestValues:uUe(n,o,a,e),renderState:r()}}function uUe(e,r,n,o){const a={},i=o(e,{});for(const f in i)a[f]=E2(i[f]);let{initial:l,animate:s}=e;const c=v2(e),u=zK(e);r&&u&&!c&&e.inherit!==!1&&(l===void 0&&(l=r.initial),s===void 0&&(s=r.animate));let d=n?n.initial===!1:!1;d=d||l===!1;const p=d?s:l;if(p&&typeof p!="boolean"&&!b2(p)){const f=Array.isArray(p)?p:[p];for(let g=0;g(r,n)=>{const o=S.useContext(_2),a=S.useContext(x2),i=()=>cUe(e,r,o,a);return n?i():gm(i)},dUe=lZ({scrapeMotionValuesFromProps:fC,createRenderState:vC}),pUe=lZ({scrapeMotionValuesFromProps:WK,createRenderState:iZ}),hUe=Symbol.for("motionComponentSymbol");function bm(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function fUe(e,r,n){return S.useCallback(o=>{o&&e.onMount&&e.onMount(o),r&&(o?r.mount(o):r.unmount()),n&&(typeof n=="function"?n(o):bm(n)&&(n.current=o))},[r])}const sZ=S.createContext({});function mUe(e,r,n,o,a){const{visualElement:i}=S.useContext(_2),l=S.useContext(gC),s=S.useContext(x2),c=S.useContext(kp).reducedMotion,u=S.useRef(null);o=o||l.renderer,!u.current&&o&&(u.current=o(e,{visualState:r,parent:i,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:c}));const d=u.current,p=S.useContext(sZ);d&&!d.projection&&a&&(d.type==="html"||d.type==="svg")&&gUe(u.current,n,a,p);const f=S.useRef(!1);S.useInsertionEffect(()=>{d&&f.current&&d.update(n,s)});const g=n[kK],b=S.useRef(!!g&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return mC(()=>{d&&(f.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),b.current&&d.animationState&&d.animationState.animateChanges())}),S.useEffect(()=>{d&&(!b.current&&d.animationState&&d.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),b.current=!1),d.enteringChildren=void 0)}),d}function gUe(e,r,n,o){const{layoutId:a,layout:i,drag:l,dragConstraints:s,layoutScroll:c,layoutRoot:u,layoutCrossfade:d}=r;e.projection=new n(e.latestValues,r["data-framer-portal-id"]?void 0:cZ(e.parent)),e.projection.setOptions({layoutId:a,layout:i,alwaysMeasureLayout:!!l||s&&bm(s),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:o,crossfade:d,layoutScroll:c,layoutRoot:u})}function cZ(e){if(e)return e.options.allowProjection!==!1?e.projection:cZ(e.parent)}function S2(e,{forwardMotionProps:r=!1}={},n,o){n&&yC(n);const a=xC(e)?pUe:dUe;function i(s,c){let u;const d={...S.useContext(kp),...s,layoutId:yUe(s)},{isStatic:p}=d,f=rUe(s),g=a(s,p);if(!p&&cC){bUe();const b=vUe(d);u=b.MeasureLayout,f.visualElement=mUe(e,g,d,o,b.ProjectionNode)}return y.jsxs(_2.Provider,{value:f,children:[u&&f.visualElement?y.jsx(u,{visualElement:f.visualElement,...d}):null,sUe(e,s,fUe(g,f.visualElement,c),g,p,r)]})}i.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=S.forwardRef(i);return l[hUe]=e,l}function yUe({layoutId:e}){const r=S.useContext(xy).id;return r&&e!==void 0?r+"-"+e:e}function bUe(e,r){S.useContext(gC).strict}function vUe(e){const{drag:r,layout:n}=fm;if(!r&&!n)return{};const o={...r,...n};return{MeasureLayout:r?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function xUe(e,r){if(typeof Proxy>"u")return S2;const n=new Map,o=(i,l)=>S2(i,l,e,r),a=(i,l)=>o(i,l);return new Proxy(a,{get:(i,l)=>l==="create"?o:(n.has(l)||n.set(l,S2(l,void 0,e,r)),n.get(l))})}const dl=xUe(),wUe=(e,r)=>xC(e)?new GK(r):new qK(r,{allowProjection:e!==S.Fragment});function uZ(e,r,n,o=0,a=1){const i=Array.from(e).sort((c,u)=>c.sortNodePosition(u)).indexOf(r),l=e.size,s=(l-1)*o;return typeof n=="function"?n(i,l):a===1?i*o:s-i*o}function wC(e,r,n={}){const o=dm(e,r,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(a=n.transitionOverride);const i=o?()=>Promise.all(aC(e,o,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:p}=a;return kUe(e,r,c,u,d,p,n)}:()=>Promise.resolve(),{when:s}=a;if(s){const[c,u]=s==="beforeChildren"?[i,l]:[l,i];return c().then(()=>u())}else return Promise.all([i(),l(n.delay)])}function kUe(e,r,n=0,o=0,a=0,i=1,l){const s=[];for(const c of e.variantChildren)c.notify("AnimationStart",r),s.push(wC(c,r,{...l,delay:n+(typeof o=="function"?0:o)+uZ(e.variantChildren,c,o,a,i)}).then(()=>c.notify("AnimationComplete",r)));return Promise.all(s)}function _Ue(e,r,n={}){e.notify("AnimationStart",r);let o;if(Array.isArray(r)){const a=r.map(i=>wC(e,i,n));o=Promise.all(a)}else if(typeof r=="string")o=wC(e,r,n);else{const a=typeof r=="function"?dm(e,r,n.custom):r;o=Promise.all(aC(e,a,n))}return o.then(()=>{e.notify("AnimationComplete",r)})}function dZ(e,r){if(!Array.isArray(r))return!1;const n=r.length;if(n!==e.length)return!1;for(let o=0;oPromise.all(r.map(({animation:n,options:o})=>_Ue(e,n,o)))}function RUe(e){let r=TUe(e),n=hZ(),o=!0;const a=c=>(u,d)=>{const p=dm(e,d,c==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:f,transitionEnd:g,...b}=p;u={...u,...b,...g}}return u};function i(c){r=c(e)}function l(c){const{props:u}=e,d=pZ(e.parent)||{},p=[],f=new Set;let g={},b=1/0;for(let w=0;wb&&T,$=!1;const O=Array.isArray(_)?_:[_];let j=O.reduce(a(k),{});R===!1&&(j={});const{prevResolvedValues:L={}}=C,Y={...L,...j},M=z=>{N=!0,f.has(z)&&($=!0,f.delete(z)),C.needsAnimating[z]=!0;const H=e.getValue(z);H&&(H.liveStyle=!1)};for(const z in Y){const H=j[z],U=L[z];if(g.hasOwnProperty(z))continue;let K=!1;eC(H)&&eC(U)?K=!dZ(H,U):K=H!==U,K?H!=null?M(z):f.add(z):H!==void 0&&f.has(z)?M(z):C.protectedKeys[z]=!0}C.prevProp=_,C.prevResolvedValues=j,C.isActive&&(g={...g,...j}),o&&e.blockInitialAnimation&&(N=!1);const q=A&&D;N&&(!q||$)&&p.push(...O.map(z=>{const H={type:k};if(typeof z=="string"&&o&&!q&&e.manuallyAnimateOnMount&&e.parent){const{parent:U}=e,K=dm(U,z);if(U.enteringChildren&&K){const{delayChildren:V}=K.transition||{};H.delay=uZ(U.enteringChildren,e,V)}}return{animation:z,options:H}}))}if(f.size){const w={};if(typeof u.initial!="boolean"){const k=dm(e,Array.isArray(u.initial)?u.initial[0]:u.initial);k&&k.transition&&(w.transition=k.transition)}f.forEach(k=>{const C=e.getBaseTarget(k),_=e.getValue(k);_&&(_.liveStyle=!0),w[k]=C??null}),p.push({animation:w})}let x=!!p.length;return o&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(x=!1),o=!1,x?r(p):Promise.resolve()}function s(c,u){if(n[c].isActive===u)return Promise.resolve();e.variantChildren?.forEach(p=>p.animationState?.setActive(c,u)),n[c].isActive=u;const d=l(c);for(const p in n)n[p].protectedKeys={};return d}return{animateChanges:l,setActive:s,setAnimateFunction:i,getState:()=>n,reset:()=>{n=hZ()}}}function AUe(e,r){return typeof r=="string"?r!==e:Array.isArray(r)?!dZ(r,e):!1}function _p(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function hZ(){return{animate:_p(!0),whileInView:_p(),whileHover:_p(),whileTap:_p(),whileDrag:_p(),whileFocus:_p(),exit:_p()}}class Du{constructor(r){this.isMounted=!1,this.node=r}update(){}}class NUe extends Du{constructor(r){super(r),r.animationState||(r.animationState=RUe(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();b2(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:n}=this.node.prevProps||{};r!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let DUe=0;class PUe extends Du{constructor(){super(...arguments),this.id=DUe++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===o)return;const a=this.node.animationState.setActive("exit",!r);n&&!r&&a.then(()=>{n(this.id)})}mount(){const{register:r,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),r&&(this.unmount=r(this.id))}unmount(){}}const $Ue={animation:{Feature:NUe},exit:{Feature:PUe}};function wy(e,r,n,o={passive:!0}){return e.addEventListener(r,n,o),()=>e.removeEventListener(r,n)}function ky(e){return{point:{x:e.pageX,y:e.pageY}}}const MUe=e=>r=>KS(r)&&e(r,ky(r));function _y(e,r,n,o){return wy(e,r,MUe(n),o)}const fZ=1e-4,OUe=1-fZ,IUe=1+fZ,mZ=.01,zUe=0-mZ,LUe=0+mZ;function Yo(e){return e.max-e.min}function BUe(e,r,n){return Math.abs(e-r)<=n}function gZ(e,r,n,o=.5){e.origin=o,e.originPoint=Fr(r.min,r.max,e.origin),e.scale=Yo(n)/Yo(r),e.translate=Fr(n.min,n.max,e.origin)-e.originPoint,(e.scale>=OUe&&e.scale<=IUe||isNaN(e.scale))&&(e.scale=1),(e.translate>=zUe&&e.translate<=LUe||isNaN(e.translate))&&(e.translate=0)}function Ey(e,r,n,o){gZ(e.x,r.x,n.x,o?o.originX:void 0),gZ(e.y,r.y,n.y,o?o.originY:void 0)}function yZ(e,r,n){e.min=n.min+r.min,e.max=e.min+Yo(r)}function jUe(e,r,n){yZ(e.x,r.x,n.x),yZ(e.y,r.y,n.y)}function bZ(e,r,n){e.min=r.min-n.min,e.max=e.min+Yo(r)}function Sy(e,r,n){bZ(e.x,r.x,n.x),bZ(e.y,r.y,n.y)}function gi(e){return[e("x"),e("y")]}const vZ=({current:e})=>e?e.ownerDocument.defaultView:null;class xZ{constructor(r,n,{transformPagePoint:o,contextWindow:a=window,dragSnapToOrigin:i=!1,distanceThreshold:l=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=_C(this.lastMoveEventInfo,this.history),g=this.startEvent!==null,b=Lqe(f.offset,{x:0,y:0})>=this.distanceThreshold;if(!g&&!b)return;const{point:x}=f,{timestamp:w}=yo;this.history.push({...x,timestamp:w});const{onStart:k,onMove:C}=this.handlers;g||(k&&k(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),C&&C(this.lastMoveEvent,f)},this.handlePointerMove=(f,g)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=kC(g,this.transformPagePoint),Ir.update(this.updatePoint,!0)},this.handlePointerUp=(f,g)=>{this.end();const{onEnd:b,onSessionEnd:x,resumeAnimation:w}=this.handlers;if(this.dragSnapToOrigin&&w&&w(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const k=_C(f.type==="pointercancel"?this.lastMoveEventInfo:kC(g,this.transformPagePoint),this.history);this.startEvent&&b&&b(f,k),x&&x(f,k)},!KS(r))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=o,this.distanceThreshold=l,this.contextWindow=a||window;const s=ky(r),c=kC(s,this.transformPagePoint),{point:u}=c,{timestamp:d}=yo;this.history=[{...u,timestamp:d}];const{onSessionStart:p}=n;p&&p(r,_C(c,this.history)),this.removeListeners=sy(_y(this.contextWindow,"pointermove",this.handlePointerMove),_y(this.contextWindow,"pointerup",this.handlePointerUp),_y(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),Ru(this.updatePoint)}}function kC(e,r){return r?{point:r(e.point)}:e}function wZ(e,r){return{x:e.x-r.x,y:e.y-r.y}}function _C({point:e},r){return{point:e,delta:wZ(e,kZ(r)),offset:wZ(e,FUe(r)),velocity:HUe(r,.1)}}function FUe(e){return e[0]}function kZ(e){return e[e.length-1]}function HUe(e,r){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const a=kZ(e);for(;n>=0&&(o=e[n],!(a.timestamp-o.timestamp>cl(r)));)n--;if(!o)return{x:0,y:0};const i=mi(a.timestamp-o.timestamp);if(i===0)return{x:0,y:0};const l={x:(a.x-o.x)/i,y:(a.y-o.y)/i};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}function qUe(e,{min:r,max:n},o){return r!==void 0&&en&&(e=o?Fr(n,e,o.max):Math.min(e,n)),e}function _Z(e,r,n){return{min:r!==void 0?e.min+r:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function UUe(e,{top:r,left:n,bottom:o,right:a}){return{x:_Z(e.x,n,a),y:_Z(e.y,r,o)}}function EZ(e,r){let n=r.min-e.min,o=r.max-e.max;return r.max-r.mino?n=im(r.min,r.max-o,e.min):o>a&&(n=im(e.min,e.max-a,r.min)),ic(0,1,n)}function WUe(e,r){const n={};return r.min!==void 0&&(n.min=r.min-e.min),r.max!==void 0&&(n.max=r.max-e.min),n}const EC=.35;function GUe(e=EC){return e===!1?e=0:e===!0&&(e=EC),{x:SZ(e,"left","right"),y:SZ(e,"top","bottom")}}function SZ(e,r,n){return{min:CZ(e,r),max:CZ(e,n)}}function CZ(e,r){return typeof e=="number"?e:e[r]||0}const XUe=new WeakMap;class KUe{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rn(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:n=!1,distanceThreshold:o}={}){const{presenceContext:a}=this.visualElement;if(a&&a.isPresent===!1)return;const i=p=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(ky(p).point)},l=(p,f)=>{const{drag:g,dragPropagation:b,onDragStart:x}=this.getProps();if(g&&!b&&(this.openDragLock&&this.openDragLock(),this.openDragLock=OHe(g),!this.openDragLock))return;this.latestPointerEvent=p,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),gi(k=>{let C=this.getAxisMotionValue(k).get()||0;if(us.test(C)){const{projection:_}=this.visualElement;if(_&&_.layout){const T=_.layout.layoutBox[k];T&&(C=Yo(T)*(parseFloat(C)/100))}}this.originPoint[k]=C}),x&&Ir.postRender(()=>x(p,f)),rC(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},s=(p,f)=>{this.latestPointerEvent=p,this.latestPanInfo=f;const{dragPropagation:g,dragDirectionLock:b,onDirectionLock:x,onDrag:w}=this.getProps();if(!g&&!this.openDragLock)return;const{offset:k}=f;if(b&&this.currentDirection===null){this.currentDirection=ZUe(k),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",f.point,k),this.updateAxis("y",f.point,k),this.visualElement.render(),w&&w(p,f)},c=(p,f)=>{this.latestPointerEvent=p,this.latestPanInfo=f,this.stop(p,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>gi(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:d}=this.getProps();this.panSession=new xZ(r,{onSessionStart:i,onStart:l,onMove:s,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:o,contextWindow:vZ(this.visualElement)})}stop(r,n){const o=r||this.latestPointerEvent,a=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!a||!o)return;const{velocity:l}=a;this.startAnimation(l);const{onDragEnd:s}=this.getProps();s&&Ir.postRender(()=>s(o,a))}cancel(){this.isDragging=!1;const{projection:r,animationState:n}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(r,n,o){const{drag:a}=this.getProps();if(!o||!C2(r,a,this.currentDirection))return;const i=this.getAxisMotionValue(r);let l=this.originPoint[r]+o[r];this.constraints&&this.constraints[r]&&(l=qUe(l,this.constraints[r],this.elastic[r])),i.set(l)}resolveConstraints(){const{dragConstraints:r,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,a=this.constraints;r&&bm(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=UUe(o.layoutBox,r):this.constraints=!1,this.elastic=GUe(n),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&gi(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=WUe(o.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:n}=this.getProps();if(!r||!bm(r))return!1;const o=r.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const i=yqe(o,a.root,this.visualElement.getTransformPagePoint());let l=VUe(a.layout.layoutBox,i);if(n){const s=n(fqe(l));this.hasMutatedConstraints=!!s,s&&(l=EK(s))}return l}startAnimation(r){const{drag:n,dragMomentum:o,dragElastic:a,dragTransition:i,dragSnapToOrigin:l,onDragTransitionEnd:s}=this.getProps(),c=this.constraints||{},u=gi(d=>{if(!C2(d,n,this.currentDirection))return;let p=c&&c[d]||{};l&&(p={min:0,max:0});const f=a?200:1e6,g=a?40:1e7,b={type:"inertia",velocity:o?r[d]:0,bounceStiffness:f,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...i,...p};return this.startAxisValueAnimation(d,b)});return Promise.all(u).then(s)}startAxisValueAnimation(r,n){const o=this.getAxisMotionValue(r);return rC(this.visualElement,r),o.start(oC(r,o,0,n,this.visualElement,!1))}stopAnimation(){gi(r=>this.getAxisMotionValue(r).stop())}pauseAnimation(){gi(r=>this.getAxisMotionValue(r).animation?.pause())}getAnimationState(r){return this.getAxisMotionValue(r).animation?.state}getAxisMotionValue(r){const n=`_drag${r.toUpperCase()}`,o=this.visualElement.getProps();return o[n]||this.visualElement.getValue(r,(o.initial?o.initial[r]:void 0)||0)}snapToCursor(r){gi(n=>{const{drag:o}=this.getProps();if(!C2(n,o,this.currentDirection))return;const{projection:a}=this.visualElement,i=this.getAxisMotionValue(n);if(a&&a.layout){const{min:l,max:s}=a.layout.layoutBox[n];i.set(r[n]-Fr(l,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!bm(n)||!o||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};gi(l=>{const s=this.getAxisMotionValue(l);if(s&&this.constraints!==!1){const c=s.get();a[l]=YUe({min:c,max:c},this.constraints[l])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),gi(l=>{if(!C2(l,r,null))return;const s=this.getAxisMotionValue(l),{min:c,max:u}=this.constraints[l];s.set(Fr(c,u,a[l]))})}addListeners(){if(!this.visualElement.current)return;XUe.set(this.visualElement,this);const r=this.visualElement.current,n=_y(r,"pointerdown",c=>{const{drag:u,dragListener:d=!0}=this.getProps();u&&d&&this.start(c)}),o=()=>{const{dragConstraints:c}=this.getProps();bm(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,i=a.addEventListener("measure",o);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),Ir.read(o);const l=wy(window,"resize",()=>this.scalePositionWithinConstraints()),s=a.addEventListener("didUpdate",(({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(gi(d=>{const p=this.getAxisMotionValue(d);p&&(this.originPoint[d]+=c[d].translate,p.set(p.get()+c[d].translate))}),this.visualElement.render())}));return()=>{l(),n(),i(),s&&s()}}getProps(){const r=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:o=!1,dragPropagation:a=!1,dragConstraints:i=!1,dragElastic:l=EC,dragMomentum:s=!0}=r;return{...r,drag:n,dragDirectionLock:o,dragPropagation:a,dragConstraints:i,dragElastic:l,dragMomentum:s}}}function C2(e,r,n){return(r===!0||r===e)&&(n===null||n===e)}function ZUe(e,r=10){let n=null;return Math.abs(e.y)>r?n="y":Math.abs(e.x)>r&&(n="x"),n}class QUe extends Du{constructor(r){super(r),this.removeGroupControls=fi,this.removeListeners=fi,this.controls=new KUe(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||fi}unmount(){this.removeGroupControls(),this.removeListeners()}}const TZ=e=>(r,n)=>{e&&Ir.postRender(()=>e(r,n))};class JUe extends Du{constructor(){super(...arguments),this.removePointerDownListener=fi}onPointerDown(r){this.session=new xZ(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:vZ(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:n,onPan:o,onPanEnd:a}=this.node.getProps();return{onSessionStart:TZ(r),onStart:TZ(n),onMove:o,onEnd:(i,l)=>{delete this.session,a&&Ir.postRender(()=>a(i,l))}}}mount(){this.removePointerDownListener=_y(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const T2={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function RZ(e,r){return r.max===r.min?0:e/(r.max-r.min)*100}const Cy={correct:(e,r)=>{if(!r.target)return e;if(typeof e=="string")if(kt.test(e))e=parseFloat(e);else return e;const n=RZ(e,r.target.x),o=RZ(e,r.target.y);return`${n}% ${o}%`}},eVe={correct:(e,{treeScale:r,projectionDelta:n})=>{const o=e,a=Nu.parse(e);if(a.length>5)return o;const i=Nu.createTransformer(e),l=typeof a[0]!="number"?1:0,s=n.x.scale*r.x,c=n.y.scale*r.y;a[0+l]/=s,a[1+l]/=c;const u=Fr(s,c,.5);return typeof a[2+l]=="number"&&(a[2+l]/=u),typeof a[3+l]=="number"&&(a[3+l]/=u),i(a)}};let SC=!1;class tVe extends S.Component{componentDidMount(){const{visualElement:r,layoutGroup:n,switchLayoutGroup:o,layoutId:a}=this.props,{projection:i}=r;kqe(rVe),i&&(n.group&&n.group.add(i),o&&o.register&&a&&o.register(i),SC&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),T2.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:n,visualElement:o,drag:a,isPresent:i}=this.props,{projection:l}=o;return l&&(l.isPresent=i,SC=!0,a||r.layoutDependency!==n||n===void 0||r.isPresent!==i?l.willUpdate():this.safeToRemove(),r.isPresent!==i&&(i?l.promote():l.relegate()||Ir.postRender(()=>{const s=l.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),XS.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:n,switchLayoutGroup:o}=this.props,{projection:a}=r;SC=!0,a&&(a.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(a),o&&o.deregister&&o.deregister(a))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function AZ(e){const[r,n]=JK(),o=S.useContext(xy);return y.jsx(tVe,{...e,layoutGroup:o,switchLayoutGroup:S.useContext(sZ),isPresent:r,safeToRemove:n})}const rVe={borderRadius:{...Cy,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Cy,borderTopRightRadius:Cy,borderBottomLeftRadius:Cy,borderBottomRightRadius:Cy,boxShadow:eVe},nVe=(e,r)=>e.depth-r.depth;class oVe{constructor(){this.children=[],this.isDirty=!1}add(r){pS(this.children,r),this.isDirty=!0}remove(r){c2(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(nVe),this.isDirty=!1,this.children.forEach(r)}}const NZ=["TopLeft","TopRight","BottomLeft","BottomRight"],aVe=NZ.length,DZ=e=>typeof e=="string"?parseFloat(e):e,PZ=e=>typeof e=="number"||kt.test(e);function iVe(e,r,n,o,a,i){a?(e.opacity=Fr(0,n.opacity??1,lVe(o)),e.opacityExit=Fr(r.opacity??1,0,sVe(o))):i&&(e.opacity=Fr(r.opacity??1,n.opacity??1,o));for(let l=0;lor?1:n(im(e,r,o))}function OZ(e,r){e.min=r.min,e.max=r.max}function yi(e,r){OZ(e.x,r.x),OZ(e.y,r.y)}function IZ(e,r){e.translate=r.translate,e.scale=r.scale,e.originPoint=r.originPoint,e.origin=r.origin}function zZ(e,r,n,o,a){return e-=r,e=g2(e,1/n,o),a!==void 0&&(e=g2(e,1/a,o)),e}function cVe(e,r=0,n=1,o=.5,a,i=e,l=e){if(us.test(r)&&(r=parseFloat(r),r=Fr(l.min,l.max,r/100)-l.min),typeof r!="number")return;let s=Fr(i.min,i.max,o);e===i&&(s-=r),e.min=zZ(e.min,r,n,s,a),e.max=zZ(e.max,r,n,s,a)}function LZ(e,r,[n,o,a],i,l){cVe(e,r[n],r[o],r[a],r.scale,i,l)}const uVe=["x","scaleX","originX"],dVe=["y","scaleY","originY"];function BZ(e,r,n,o){LZ(e.x,r,uVe,n?n.x:void 0,o?o.x:void 0),LZ(e.y,r,dVe,n?n.y:void 0,o?o.y:void 0)}function jZ(e){return e.translate===0&&e.scale===1}function FZ(e){return jZ(e.x)&&jZ(e.y)}function HZ(e,r){return e.min===r.min&&e.max===r.max}function pVe(e,r){return HZ(e.x,r.x)&&HZ(e.y,r.y)}function qZ(e,r){return Math.round(e.min)===Math.round(r.min)&&Math.round(e.max)===Math.round(r.max)}function UZ(e,r){return qZ(e.x,r.x)&&qZ(e.y,r.y)}function VZ(e){return Yo(e.x)/Yo(e.y)}function YZ(e,r){return e.translate===r.translate&&e.scale===r.scale&&e.originPoint===r.originPoint}class hVe{constructor(){this.members=[]}add(r){pS(this.members,r),r.scheduleRender()}remove(r){if(c2(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(r){const n=this.members.findIndex(a=>r===a);if(n===0)return!1;let o;for(let a=n;a>=0;a--){const i=this.members[a];if(i.isPresent!==!1){o=i;break}}return o?(this.promote(o),!0):!1}promote(r,n){const o=this.lead;if(r!==o&&(this.prevLead=o,this.lead=r,r.show(),o)){o.instance&&o.scheduleRender(),r.scheduleRender(),r.resumeFrom=o,n&&(r.resumeFrom.preserveOpacity=!0),o.snapshot&&(r.snapshot=o.snapshot,r.snapshot.latestValues=o.animationValues||o.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0);const{crossfade:a}=r.options;a===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:n,resumingFrom:o}=r;n.onExitComplete&&n.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function fVe(e,r,n){let o="";const a=e.x.translate/r.x,i=e.y.translate/r.y,l=n?.z||0;if((a||i||l)&&(o=`translate3d(${a}px, ${i}px, ${l}px) `),(r.x!==1||r.y!==1)&&(o+=`scale(${1/r.x}, ${1/r.y}) `),n){const{transformPerspective:u,rotate:d,rotateX:p,rotateY:f,skewX:g,skewY:b}=n;u&&(o=`perspective(${u}px) ${o}`),d&&(o+=`rotate(${d}deg) `),p&&(o+=`rotateX(${p}deg) `),f&&(o+=`rotateY(${f}deg) `),g&&(o+=`skewX(${g}deg) `),b&&(o+=`skewY(${b}deg) `)}const s=e.x.scale*r.x,c=e.y.scale*r.y;return(s!==1||c!==1)&&(o+=`scale(${s}, ${c})`),o||"none"}const CC=["","X","Y","Z"],mVe=1e3;let gVe=0;function TC(e,r,n,o){const{latestValues:a}=r;a[e]&&(n[e]=a[e],r.setStaticValue(e,0),o&&(o[e]=0))}function WZ(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:r}=e.options;if(!r)return;const n=_K(r);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:a,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Ir,!(a||i))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&WZ(o)}function GZ({attachResizeListener:e,defaultParent:r,measureScroll:n,checkIsScrollRoot:o,resetTransform:a}){return class{constructor(i={},l=r?.()){this.id=gVe++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(vVe),this.nodes.forEach(_Ve),this.nodes.forEach(EVe),this.nodes.forEach(xVe)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let s=0;sthis.root.updateBlockedByResize=!1;Ir.read(()=>{d=window.innerWidth}),e(i,()=>{const f=window.innerWidth;f!==d&&(d=f,this.root.updateBlockedByResize=!0,u&&u(),u=zqe(p,250),T2.hasAnimatedSinceResize&&(T2.hasAnimatedSinceResize=!1,this.nodes.forEach(ZZ)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||s)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d,hasRelativeLayoutChanged:p,layout:f})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||AVe,{onLayoutAnimationStart:b,onLayoutAnimationComplete:x}=c.getProps(),w=!this.targetLayout||!UZ(this.targetLayout,f),k=!d&&p;if(this.options.layoutRoot||this.resumeFrom||k||d&&(w||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const C={...YS(g,"layout"),onPlay:b,onComplete:x};(c.shouldReduceMotion||this.options.layoutRoot)&&(C.delay=0,C.type=!1),this.startAnimation(C),this.setAnimationOrigin(u,k)}else d||ZZ(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=f})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Ru(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(SVe),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&WZ(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Yo(this.snapshot.measuredBox.x)&&!Yo(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let s=0;s{const T=_/1e3;QZ(d.x,i.x,T),QZ(d.y,i.y,T),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Sy(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),TVe(this.relativeTarget,this.relativeTargetOrigin,p,T),C&&pVe(this.relativeTarget,C)&&(this.isProjectionDirty=!1),C||(C=rn()),yi(C,this.relativeTarget)),b&&(this.animationValues=u,iVe(u,c,this.latestValues,T,k,w)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Ru(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ir.update(()=>{T2.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=xp(0)),this.currentAnimation=XK(this.motionValue,[0,1e3],{...i,velocity:0,isSync:!0,onUpdate:l=>{this.mixTargetDelta(l),i.onUpdate&&i.onUpdate(l)},onStop:()=>{},onComplete:()=>{i.onComplete&&i.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(mVe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:l,target:s,layout:c,latestValues:u}=i;if(!(!l||!s||!c)){if(this!==i&&this.layout&&c&&nQ(this.options.animationType,this.layout.layoutBox,c.layoutBox)){s=this.target||rn();const d=Yo(this.layout.layoutBox.x);s.x.min=i.target.x.min,s.x.max=s.x.min+d;const p=Yo(this.layout.layoutBox.y);s.y.min=i.target.y.min,s.y.max=s.y.min+p}yi(l,s),hm(l,u),Ey(this.projectionDeltaWithTransform,this.layoutCorrected,l,u)}}registerSharedNode(i,l){this.sharedNodes.has(i)||this.sharedNodes.set(i,new hVe),this.sharedNodes.get(i).add(l);const s=l.options.initialPromotionConfig;l.promote({transition:s?s.transition:void 0,preserveFollowOpacity:s&&s.shouldPreserveFollowOpacity?s.shouldPreserveFollowOpacity(l):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){const{layoutId:i}=this.options;return i?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:i}=this.options;return i?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:l,preserveFollowOpacity:s}={}){const c=this.getStack();c&&c.promote(this,s),i&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetSkewAndRotation(){const{visualElement:i}=this.options;if(!i)return;let l=!1;const{latestValues:s}=i;if((s.z||s.rotate||s.rotateX||s.rotateY||s.rotateZ||s.skewX||s.skewY)&&(l=!0),!l)return;const c={};s.z&&TC("z",i,c,this.animationValues);for(let u=0;ui.currentAnimation?.stop()),this.root.nodes.forEach(XZ),this.root.sharedNodes.clear()}}}function yVe(e){e.updateLayout()}function bVe(e){const r=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:a}=e.options,i=r.source!==e.layout.source;a==="size"?gi(d=>{const p=i?r.measuredBox[d]:r.layoutBox[d],f=Yo(p);p.min=n[d].min,p.max=p.min+f}):nQ(a,r.layoutBox,n)&&gi(d=>{const p=i?r.measuredBox[d]:r.layoutBox[d],f=Yo(n[d]);p.max=p.min+f,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+f)});const l=mm();Ey(l,n,r.layoutBox);const s=mm();i?Ey(s,e.applyTransform(o,!0),r.measuredBox):Ey(s,n,r.layoutBox);const c=!FZ(l);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:p,layout:f}=d;if(p&&f){const g=rn();Sy(g,r.layoutBox,p.layoutBox);const b=rn();Sy(b,n,f.layoutBox),UZ(g,b)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=b,e.relativeTargetOrigin=g,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:s,layoutDelta:l,hasLayoutChanged:c,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function vVe(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function xVe(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function wVe(e){e.clearSnapshot()}function XZ(e){e.clearMeasurements()}function KZ(e){e.isLayoutDirty=!1}function kVe(e){const{visualElement:r}=e.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),e.resetTransform()}function ZZ(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function _Ve(e){e.resolveTargetDelta()}function EVe(e){e.calcProjection()}function SVe(e){e.resetSkewAndRotation()}function CVe(e){e.removeLeadSnapshot()}function QZ(e,r,n){e.translate=Fr(r.translate,0,n),e.scale=Fr(r.scale,1,n),e.origin=r.origin,e.originPoint=r.originPoint}function JZ(e,r,n,o){e.min=Fr(r.min,n.min,o),e.max=Fr(r.max,n.max,o)}function TVe(e,r,n,o){JZ(e.x,r.x,n.x,o),JZ(e.y,r.y,n.y,o)}function RVe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const AVe={duration:.45,ease:[.4,0,.1,1]},eQ=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),tQ=eQ("applewebkit/")&&!eQ("chrome/")?Math.round:fi;function rQ(e){e.min=tQ(e.min),e.max=tQ(e.max)}function NVe(e){rQ(e.x),rQ(e.y)}function nQ(e,r,n){return e==="position"||e==="preserve-aspect"&&!BUe(VZ(r),VZ(n),.2)}function DVe(e){return e!==e.root&&e.scroll?.wasRoot}const PVe=GZ({attachResizeListener:(e,r)=>wy(e,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),RC={current:void 0},oQ=GZ({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!RC.current){const e=new PVe({});e.mount(window),e.setOptions({layoutScroll:!0}),RC.current=e}return RC.current},resetTransform:(e,r)=>{e.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),$Ve={pan:{Feature:JUe},drag:{Feature:QUe,ProjectionNode:oQ,MeasureLayout:AZ}};function aQ(e,r,n){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",n==="Start");const a="onHover"+n,i=o[a];i&&Ir.postRender(()=>i(r,ky(r)))}class MVe extends Du{mount(){const{current:r}=this.node;r&&(this.unmount=IHe(r,(n,o)=>(aQ(this.node,o,"Start"),a=>aQ(this.node,a,"End"))))}unmount(){}}class OVe extends Du{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=sy(wy(this.node.current,"focus",()=>this.onFocus()),wy(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function iQ(e,r,n){const{props:o}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap",n==="Start");const a="onTap"+(n==="End"?"":n),i=o[a];i&&Ir.postRender(()=>i(r,ky(r)))}class IVe extends Du{mount(){const{current:r}=this.node;r&&(this.unmount=jHe(r,(n,o)=>(iQ(this.node,o,"Start"),(a,{success:i})=>iQ(this.node,a,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const AC=new WeakMap,NC=new WeakMap,zVe=e=>{const r=AC.get(e.target);r&&r(e)},LVe=e=>{e.forEach(zVe)};function BVe({root:e,...r}){const n=e||document;NC.has(n)||NC.set(n,{});const o=NC.get(n),a=JSON.stringify(r);return o[a]||(o[a]=new IntersectionObserver(LVe,{root:e,...r})),o[a]}function jVe(e,r,n){const o=BVe(r);return AC.set(e,n),o.observe(e),()=>{AC.delete(e),o.unobserve(e)}}const FVe={some:0,all:1};class HVe extends Du{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:n,margin:o,amount:a="some",once:i}=r,l={root:n?n.current:void 0,rootMargin:o,threshold:typeof a=="number"?a:FVe[a]},s=c=>{const{isIntersecting:u}=c;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:d,onViewportLeave:p}=this.node.getProps(),f=u?d:p;f&&f(c)};return jVe(this.node.current,l,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:n}=this.node;["amount","margin","root"].some(qVe(r,n))&&this.startObserver()}unmount(){}}function qVe({viewport:e={}},{viewport:r={}}={}){return n=>e[n]!==r[n]}const UVe={inView:{Feature:HVe},tap:{Feature:IVe},focus:{Feature:OVe},hover:{Feature:MVe}},VVe={layout:{ProjectionNode:oQ,MeasureLayout:AZ}},YVe={renderer:wUe,...$Ue,...UVe},WVe={...YVe,...$Ve,...VVe};function lQ(e){const r=gm(()=>xp(e)),{isStatic:n}=S.useContext(kp);if(n){const[,o]=S.useState(e);S.useEffect(()=>r.on("change",o),[])}return r}function GVe(){!uC.current&&IK();const[e]=S.useState(y2.current);return e}function sQ(){const e=GVe(),{reducedMotion:r}=S.useContext(kp);return r==="never"?!1:r==="always"?!0:e}class XVe{constructor(){this.componentControls=new Set}subscribe(r){return this.componentControls.add(r),()=>this.componentControls.delete(r)}start(r,n){this.componentControls.forEach(o=>{o.start(r.nativeEvent||r,n)})}cancel(){this.componentControls.forEach(r=>{r.cancel()})}stop(){this.componentControls.forEach(r=>{r.stop()})}}const KVe=()=>new XVe;function ZVe(){return gm(KVe)}const DC=S.createContext(null);DC.displayName="ElementDetailsActorContext";const QVe=()=>{const e=S.useContext(DC);if(e===null)throw new Error("ElementDetailsActorRef is not provided");return e},pl=(e,r,n)=>{const o=a=>({[e]:"__ignore__",...r,...qd(a)});return{recipeFn:(a,i=!0)=>{const l=Ij({conditions:{shift:Fj,finalize:jj,breakpoints:{keys:["base","xs","sm","md","lg","xl"]}},utility:{toHash:(c,u)=>u(c.join(":")),transform:(c,u)=>(wEe(e,n,a,c),u==="__ignore__"?{className:e}:(u=Z8(u),{className:`${e}--${c}_${u}`}))}}),s=o(a);if(i){const c=nE(n,s);return Je(l(s),me(c))}return l(s)},getVariantProps:o,__getCompoundVariantCss__:a=>nE(n,o(a))}},sc=(e,r)=>{if(e&&!r)return e;if(!e&&r)return r;const n=(...i)=>Je(e(...i),r(...i)),o=tE(e.variantKeys,r.variantKeys),a=o.reduce((i,l)=>(i[l]=tE(e.variantMap[l],r.variantMap[l]),i),{});return Object.assign(n,{__recipe__:!0,__name__:`${e.__name__} ${r.__name__}`,raw:i=>i,variantKeys:o,variantMap:a,splitVariantProps(i){return Zn(i,o)}})},PC=pl("action-btn",{size:"md",radius:"md",variant:"filled"},[]),cQ={variant:["transparent","filled"],size:["sm","md"],radius:["sm","md"]},uQ=Object.keys(cQ),R2=Object.assign(ho(PC.recipeFn),{__recipe__:!0,__name__:"actionBtn",__getCompoundVariantCss__:PC.__getCompoundVariantCss__,raw:e=>e,variantKeys:uQ,variantMap:cQ,merge(e){return sc(this,e)},splitVariantProps(e){return Zn(e,uQ)},getVariantProps:PC.getVariantProps}),$C=pl("likec4-compound-node",{},[]),dQ={isTransparent:["false","true"],inverseColor:["true","false"],borderStyle:["solid","dashed","dotted","none"]},pQ=Object.keys(dQ),JVe=Object.assign(ho($C.recipeFn),{__recipe__:!0,__name__:"compoundNode",__getCompoundVariantCss__:$C.__getCompoundVariantCss__,raw:e=>e,variantKeys:pQ,variantMap:dQ,merge(e){return sc(this,e)},splitVariantProps(e){return Zn(e,pQ)},getVariantProps:$C.getVariantProps}),MC=pl("likec4-edge-action-btn",{},[]),hQ={},fQ=Object.keys(hQ),eYe=Object.assign(ho(MC.recipeFn),{__recipe__:!0,__name__:"edgeActionBtn",__getCompoundVariantCss__:MC.__getCompoundVariantCss__,raw:e=>e,variantKeys:fQ,variantMap:hQ,merge(e){return sc(this,e)},splitVariantProps(e){return Zn(e,fQ)},getVariantProps:MC.getVariantProps}),OC=pl("likec4-element-node-data",{},[]),mQ={},gQ=Object.keys(mQ),tYe=Object.assign(ho(OC.recipeFn),{__recipe__:!0,__name__:"elementNodeData",__getCompoundVariantCss__:OC.__getCompoundVariantCss__,raw:e=>e,variantKeys:gQ,variantMap:mQ,merge(e){return sc(this,e)},splitVariantProps(e){return Zn(e,gQ)},getVariantProps:OC.getVariantProps}),IC=pl("likec4-element-shape",{},[]),yQ={shapetype:["html","svg"]},bQ=Object.keys(yQ),vQ=Object.assign(ho(IC.recipeFn),{__recipe__:!0,__name__:"elementShapeRecipe",__getCompoundVariantCss__:IC.__getCompoundVariantCss__,raw:e=>e,variantKeys:bQ,variantMap:yQ,merge(e){return sc(this,e)},splitVariantProps(e){return Zn(e,bQ)},getVariantProps:IC.getVariantProps}),zC=pl("likec4-tag",{autoTextColor:!1},[]),xQ={autoTextColor:["false","true"]},wQ=Object.keys(xQ),rYe=Object.assign(ho(zC.recipeFn),{__recipe__:!0,__name__:"likec4tag",__getCompoundVariantCss__:zC.__getCompoundVariantCss__,raw:e=>e,variantKeys:wQ,variantMap:xQ,merge(e){return sc(this,e)},splitVariantProps(e){return Zn(e,wQ)},getVariantProps:zC.getVariantProps}),LC=pl("likec4-markdown-block",{uselikec4palette:!1,value:"markdown"},[]),kQ={uselikec4palette:["true","false"],value:["markdown","plaintext"]},_Q=Object.keys(kQ),nYe=Object.assign(ho(LC.recipeFn),{__recipe__:!0,__name__:"markdownBlock",__getCompoundVariantCss__:LC.__getCompoundVariantCss__,raw:e=>e,variantKeys:_Q,variantMap:kQ,merge(e){return sc(this,e)},splitVariantProps(e){return Zn(e,_Q)},getVariantProps:LC.getVariantProps}),BC=pl("likec4-navigation-panel-icon",{variant:"default"},[]),EQ={variant:["default","filled"]},SQ=Object.keys(EQ),oYe=Object.assign(ho(BC.recipeFn),{__recipe__:!0,__name__:"navigationPanelActionIcon",__getCompoundVariantCss__:BC.__getCompoundVariantCss__,raw:e=>e,variantKeys:SQ,variantMap:EQ,merge(e){return sc(this,e)},splitVariantProps(e){return Zn(e,SQ)},getVariantProps:BC.getVariantProps}),jC=pl("likec4-overlay",{fullscreen:!1,withBackdrop:!0},[]),CQ={fullscreen:["false","true"],withBackdrop:["false","true"]},TQ=Object.keys(CQ),aYe=Object.assign(ho(jC.recipeFn),{__recipe__:!0,__name__:"overlay",__getCompoundVariantCss__:jC.__getCompoundVariantCss__,raw:e=>e,variantKeys:TQ,variantMap:CQ,merge(e){return sc(this,e)},splitVariantProps(e){return Zn(e,TQ)},getVariantProps:jC.getVariantProps}),RQ={isStepEdge:!1,cursor:"default"},iYe=[],lYe=[["root","likec4-edge-label__root"],["stepNumber","likec4-edge-label__stepNumber"],["labelContents","likec4-edge-label__labelContents"],["labelText","likec4-edge-label__labelText"],["labelTechnology","likec4-edge-label__labelTechnology"]],sYe=lYe.map(([e,r])=>[e,pl(r,RQ,eE(iYe,e))]),cYe=ho((e={})=>Object.fromEntries(sYe.map(([r,n])=>[r,n.recipeFn(e)]))),AQ=["cursor","isStepEdge"],uYe=e=>({...RQ,...qd(e)}),dYe=Object.assign(cYe,{__recipe__:!1,__name__:"edgeLabel",raw:e=>e,classNameMap:{},variantKeys:AQ,variantMap:{cursor:["pointer","default"],isStepEdge:["false","true"]},splitVariantProps(e){return Zn(e,AQ)},getVariantProps:uYe}),NQ={truncateLabel:!1},pYe=[],hYe=[["root","likec4-navlink__root"],["body","likec4-navlink__body"],["section","likec4-navlink__section"],["label","likec4-navlink__label"],["description","likec4-navlink__description"]],fYe=hYe.map(([e,r])=>[e,pl(r,NQ,eE(pYe,e))]),mYe=ho((e={})=>Object.fromEntries(fYe.map(([r,n])=>[r,n.recipeFn(e)]))),DQ=["truncateLabel"],gYe=e=>({...NQ,...qd(e)}),yYe=Object.assign(mYe,{__recipe__:!1,__name__:"navigationLink",raw:e=>e,classNameMap:{},variantKeys:DQ,variantMap:{truncateLabel:["true","false"]},splitVariantProps(e){return Zn(e,DQ)},getVariantProps:gYe});function bYe(){return bf()}function FC(e,r){return At(ot(e),Jn)}function HC(){return yr()}function PQ(e){return xAe(e)}const vYe=e=>Math.round(e.transform[2]*100)/100;function xYe(){return At(vYe)}const wYe=e=>e.transform[2]<.2;function kYe(){return At(wYe)}const{abs:Ty,cos:cc,sin:vm,acos:_Ye,atan2:Ry,sqrt:Pu,pow:bi}=Math;function Ay(e){return e<0?-bi(-e,.3333333333333333):bi(e,.3333333333333333)}const $Q=Math.PI,A2=2*$Q,$u=$Q/2,EYe=1e-6,qC=Number.MAX_SAFE_INTEGER||9007199254740991,UC=Number.MIN_SAFE_INTEGER||-9007199254740991,SYe={x:0,y:0,z:0},Ye={Tvalues:[-.06405689286260563,.06405689286260563,-.1911188674736163,.1911188674736163,-.3150426796961634,.3150426796961634,-.4337935076260451,.4337935076260451,-.5454214713888396,.5454214713888396,-.6480936519369755,.6480936519369755,-.7401241915785544,.7401241915785544,-.820001985973903,.820001985973903,-.8864155270044011,.8864155270044011,-.9382745520027328,.9382745520027328,-.9747285559713095,.9747285559713095,-.9951872199970213,.9951872199970213],Cvalues:[.12793819534675216,.12793819534675216,.1258374563468283,.1258374563468283,.12167047292780339,.12167047292780339,.1155056680537256,.1155056680537256,.10744427011596563,.10744427011596563,.09761865210411388,.09761865210411388,.08619016153195327,.08619016153195327,.0733464814110803,.0733464814110803,.05929858491543678,.05929858491543678,.04427743881741981,.04427743881741981,.028531388628933663,.028531388628933663,.0123412297999872,.0123412297999872],arcfn:function(e,r){const n=r(e);let o=n.x*n.x+n.y*n.y;return typeof n.z<"u"&&(o+=n.z*n.z),Pu(o)},compute:function(e,r,n){if(e===0)return r[0].t=0,r[0];const o=r.length-1;if(e===1)return r[o].t=1,r[o];const a=1-e;let i=r;if(o===0)return r[0].t=e,r[0];if(o===1){const s={x:a*i[0].x+e*i[1].x,y:a*i[0].y+e*i[1].y,t:e};return n&&(s.z=a*i[0].z+e*i[1].z),s}if(o<4){let s=a*a,c=e*e,u,d,p,f=0;o===2?(i=[i[0],i[1],i[2],SYe],u=s,d=a*e*2,p=c):o===3&&(u=s*a,d=s*e*3,p=a*c*3,f=e*c);const g={x:u*i[0].x+d*i[1].x+p*i[2].x+f*i[3].x,y:u*i[0].y+d*i[1].y+p*i[2].y+f*i[3].y,t:e};return n&&(g.z=u*i[0].z+d*i[1].z+p*i[2].z+f*i[3].z),g}const l=JSON.parse(JSON.stringify(r));for(;l.length>1;){for(let s=0;s1;a--,i--){const l=[];for(let s=0,c;s"u")e=.5;else if(e===0||e===1)return e;const n=bi(e,r)+bi(1-e,r),o=n-1;return Ty(o/n)},projectionratio:function(e,r){if(r!==2&&r!==3)return!1;if(typeof e>"u")e=.5;else if(e===0||e===1)return e;const n=bi(1-e,r),o=bi(e,r)+n;return n/o},lli8:function(e,r,n,o,a,i,l,s){const c=(e*o-r*n)*(a-l)-(e-n)*(a*s-i*l),u=(e*o-r*n)*(i-s)-(r-o)*(a*s-i*l),d=(e-n)*(i-s)-(r-o)*(a-l);return d==0?!1:{x:c/d,y:u/d}},lli4:function(e,r,n,o){const a=e.x,i=e.y,l=r.x,s=r.y,c=n.x,u=n.y,d=o.x,p=o.y;return Ye.lli8(a,i,l,s,c,u,d,p)},lli:function(e,r){return Ye.lli4(e,e.c,r,r.c)},makeline:function(e,r){return new Hr(e.x,e.y,(e.x+r.x)/2,(e.y+r.y)/2,r.x,r.y)},findbbox:function(e){let r=qC,n=qC,o=UC,a=UC;return e.forEach(function(i){const l=i.bbox();r>l.x.min&&(r=l.x.min),n>l.y.min&&(n=l.y.min),o0&&(d.c1=c,d.c2=u,d.s1=e,d.s2=n,i.push(d))})}),i},makeshape:function(e,r,n){const o=r.points.length,a=e.points.length,i=Ye.makeline(r.points[o-1],e.points[0]),l=Ye.makeline(e.points[a-1],r.points[0]),s={startcap:i,forward:e,back:r,endcap:l,bbox:Ye.findbbox([i,e,r,l])};return s.intersections=function(c){return Ye.shapeintersections(s,s.bbox,c,c.bbox,n)},s},getminmax:function(e,r,n){if(!n)return{min:0,max:0};let o=qC,a=UC,i,l;n.indexOf(0)===-1&&(n=[0].concat(n)),n.indexOf(1)===-1&&n.push(1);for(let s=0,c=n.length;sa&&(a=l[r]);return{min:o,mid:(o+a)/2,max:a,size:a-o}},align:function(e,r){const n=r.p1.x,o=r.p1.y,a=-Ry(r.p2.y-o,r.p2.x-n),i=function(l){return{x:(l.x-n)*cc(a)-(l.y-o)*vm(a),y:(l.x-n)*vm(a)+(l.y-o)*cc(a)}};return e.map(i)},roots:function(e,r){r=r||{p1:{x:0,y:0},p2:{x:1,y:0}};const n=e.length-1,o=Ye.align(e,r),a=function(D){return 0<=D&&D<=1};if(n===2){const D=o[0].y,N=o[1].y,$=o[2].y,O=D-2*N+$;if(O!==0){const j=-Pu(N*N-D*$),L=-D+N,Y=-(j+L)/O,M=-(-j+L)/O;return[Y,M].filter(a)}else if(N!==$&&O===0)return[(2*N-$)/(2*N-2*$)].filter(a);return[]}const i=o[0].y,l=o[1].y,s=o[2].y,c=o[3].y;let u=-i+3*l-3*s+c,d=3*i-6*l+3*s,p=-3*i+3*l,f=i;if(Ye.approximately(u,0)){if(Ye.approximately(d,0))return Ye.approximately(p,0)?[]:[-f/p].filter(a);const D=Pu(p*p-4*d*f),N=2*d;return[(D-p)/N,(-p-D)/N].filter(a)}d/=u,p/=u,f/=u;const g=(3*p-d*d)/3,b=g/3,x=(2*d*d*d-9*d*p+27*f)/27,w=x/2,k=w*w+b*b*b;let C,_,T,R,A;if(k<0){const D=-g/3,N=D*D*D,$=Pu(N),O=-x/(2*$),j=O<-1?-1:O>1?1:O,L=_Ye(j),Y=Ay($),M=2*Y;return T=M*cc(L/3)-d/3,R=M*cc((L+A2)/3)-d/3,A=M*cc((L+2*A2)/3)-d/3,[T,R,A].filter(a)}else{if(k===0)return C=w<0?Ay(-w):-Ay(w),T=2*C-d/3,R=-C-d/3,[T,R].filter(a);{const D=Pu(k);return C=Ay(-w+D),_=Ay(w+D),[C-_-d/3].filter(a)}}},droots:function(e){if(e.length===3){const r=e[0],n=e[1],o=e[2],a=r-2*n+o;if(a!==0){const i=-Pu(n*n-r*o),l=-r+n,s=-(i+l)/a,c=-(-i+l)/a;return[s,c]}else if(n!==o&&a===0)return[(2*n-o)/(2*(n-o))];return[]}if(e.length===2){const r=e[0],n=e[1];return r!==n?[r/(r-n)]:[]}return[]},curvature:function(e,r,n,o,a){let i,l,s,c,u=0,d=0;const p=Ye.compute(e,r),f=Ye.compute(e,n),g=p.x*p.x+p.y*p.y;if(o?(i=Pu(bi(p.y*f.z-f.y*p.z,2)+bi(p.z*f.x-f.z*p.x,2)+bi(p.x*f.y-f.x*p.y,2)),l=bi(g+p.z*p.z,3/2)):(i=p.x*f.y-p.y*f.x,l=bi(g,3/2)),i===0||l===0)return{k:0,r:0};if(u=i/l,d=l/i,!a){const b=Ye.curvature(e-.001,r,n,o,!0).k,x=Ye.curvature(e+.001,r,n,o,!0).k;c=(x-u+(u-b))/2,s=(Ty(x-u)+Ty(u-b))/2}return{k:u,r:d,dk:c,adk:s}},inflections:function(e){if(e.length<4)return[];const r=Ye.align(e,{p1:e[0],p2:e.slice(-1)[0]}),n=r[2].x*r[1].y,o=r[3].x*r[1].y,a=r[1].x*r[2].y,i=r[3].x*r[2].y,l=18*(-3*n+2*o+3*a-i),s=18*(3*n-o-3*a),c=18*(a-n);if(Ye.approximately(l,0)){if(!Ye.approximately(s,0)){let f=-c/s;if(0<=f&&f<=1)return[f]}return[]}const u=2*l;if(Ye.approximately(u,0))return[];const d=s*s-4*l*c;if(d<0)return[];const p=Math.sqrt(d);return[(p-s)/u,-(s+p)/u].filter(function(f){return 0<=f&&f<=1})},bboxoverlap:function(e,r){const n=["x","y"],o=n.length;for(let a=0,i,l,s,c;a=c)return!1;return!0},expandbox:function(e,r){r.x.mine.x.max&&(e.x.max=r.x.max),r.y.max>e.y.max&&(e.y.max=r.y.max),r.z&&r.z.max>e.z.max&&(e.z.max=r.z.max),e.x.mid=(e.x.min+e.x.max)/2,e.y.mid=(e.y.min+e.y.max)/2,e.z&&(e.z.mid=(e.z.min+e.z.max)/2),e.x.size=e.x.max-e.x.min,e.y.size=e.y.max-e.y.min,e.z&&(e.z.size=e.z.max-e.z.min)},pairiteration:function(e,r,n){const o=e.bbox(),a=r.bbox(),i=1e5,l=n||.5;if(o.x.size+o.y.sizeA||A>D)&&(R+=A2),R>D&&(N=D,D=R,R=N)):D4){if(arguments.length!==1)throw new Error("Only new Bezier(point[]) is accepted for 4th and higher order curves");a=!0}}else if(i!==6&&i!==8&&i!==9&&i!==12&&arguments.length!==1)throw new Error("Only new Bezier(point[]) is accepted for 4th and higher order curves");const l=this._3d=!a&&(i===9||i===12)||r&&r[0]&&typeof r[0].z<"u",s=this.points=[];for(let g=0,b=l?3:2;gg+Dy(b.y),0)"u"&&(a=.5),a===0)return new Hr(n,n,o);if(a===1)return new Hr(r,n,n);const i=Hr.getABC(2,r,n,o,a);return new Hr(r,i.A,o)}static cubicFromPoints(r,n,o,a,i){typeof a>"u"&&(a=.5);const l=Hr.getABC(3,r,n,o,a);typeof i>"u"&&(i=Ye.dist(n,l.C));const s=i*(1-a)/a,c=Ye.dist(r,o),u=(o.x-r.x)/c,d=(o.y-r.y)/c,p=i*u,f=i*d,g=s*u,b=s*d,x={x:n.x-p,y:n.y-f},w={x:n.x+g,y:n.y+b},k=l.A,C={x:k.x+(x.x-k.x)/(1-a),y:k.y+(x.y-k.y)/(1-a)},_={x:k.x+(w.x-k.x)/a,y:k.y+(w.y-k.y)/a},T={x:r.x+(C.x-r.x)/a,y:r.y+(C.y-r.y)/a},R={x:o.x+(_.x-o.x)/(1-a),y:o.y+(_.y-o.y)/(1-a)};return new Hr(r,T,R,o)}static getUtils(){return Ye}getUtils(){return Hr.getUtils()}static get PolyBezier(){return Ny}valueOf(){return this.toString()}toString(){return Ye.pointsToString(this.points)}toSVG(){if(this._3d)return!1;const r=this.points,n=r[0].x,o=r[0].y,a=["M",n,o,this.order===2?"Q":"C"];for(let i=1,l=r.length;i0}length(){return Ye.length(this.derivative.bind(this))}static getABC(r=2,n,o,a,i=.5){const l=Ye.projectionratio(i,r),s=1-l,c={x:l*n.x+s*a.x,y:l*n.y+s*a.y},u=Ye.abcratio(i,r);return{A:{x:o.x+(o.x-c.x)/u,y:o.y+(o.y-c.y)/u},B:o,C:c,S:n,E:a}}getABC(r,n){n=n||this.get(r);let o=this.points[0],a=this.points[this.order];return Hr.getABC(this.order,o,n,a,r)}getLUT(r){if(this.verify(),r=r||100,this._lut.length===r+1)return this._lut;this._lut=[],r++,this._lut=[];for(let n=0,o,a;n1?1:p,f=this.compute(p),f.t=p,f.d=u,f}get(r){return this.compute(r)}point(r){return this.points[r]}compute(r){return this.ratios?Ye.computeWithRatios(r,this.points,this.ratios,this._3d):Ye.compute(r,this.points,this._3d,this.ratios)}raise(){const r=this.points,n=[r[0]],o=r.length;for(let a=1,i,l;a1;){o=[];for(let l=0,s,c=n.length-1;l=0&&l<=1}),n=n.concat(r[o].sort(Ye.numberSort))}).bind(this)),r.values=n.sort(Ye.numberSort).filter(function(o,a){return n.indexOf(o)===a}),r}bbox(){const r=this.extrema(),n={};return this.dims.forEach((function(o){n[o]=Ye.getminmax(this,o,r[o])}).bind(this)),n}overlaps(r){const n=this.bbox(),o=r.bbox();return Ye.bboxoverlap(n,o)}offset(r,n){if(typeof n<"u"){const o=this.get(r),a=this.normal(r),i={c:o,n:a,x:o.x+a.x*n,y:o.y+a.y*n};return this._3d&&(i.z=o.z+a.z*n),i}if(this._linear){const o=this.normal(0),a=this.points.map(function(i){const l={x:i.x+r*o.x,y:i.y+r*o.y};return i.z&&o.z&&(l.z=i.z+r*o.z),l});return[new Hr(a)]}return this.reduce().map(function(o){return o._linear?o.offset(r)[0]:o.scale(r)})}simple(){if(this.order===3){const a=Ye.angle(this.points[0],this.points[3],this.points[1]),i=Ye.angle(this.points[0],this.points[3],this.points[2]);if(a>0&&i<0||a<0&&i>0)return!1}const r=this.normal(0),n=this.normal(1);let o=r.x*n.x+r.y*n.y;return this._3d&&(o+=r.z*n.z),Dy(RYe(o))(1-s/a)*n+s/a*o);return new Hr(this.points.map((l,s)=>({x:l.x+r.x*i[s],y:l.y+r.y*i[s]})))}scale(r){const n=this.order;let o=!1;if(typeof r=="function"&&(o=r),o&&n===2)return this.raise().scale(o);const a=this.clockwise,i=this.points;if(this._linear)return this.translate(this.normal(0),o?o(0):r,o?o(1):r);const l=o?o(0):r,s=o?o(1):r,c=[this.offset(0,10),this.offset(1,10)],u=[],d=Ye.lli4(c[0],c[0].c,c[1],c[1].c);if(!d)throw new Error("cannot scale this curve. Try reducing it first.");return[0,1].forEach(function(p){const f=u[p*n]=Ye.copy(i[p*n]);f.x+=(p?s:l)*c[p].n.x,f.y+=(p?s:l)*c[p].n.y}),o?([0,1].forEach(function(p){if(!(n===2&&p)){var f=i[p+1],g={x:f.x-d.x,y:f.y-d.y},b=o?o((p+1)/n):r;o&&!a&&(b=-b);var x=Py(g.x*g.x+g.y*g.y);g.x/=x,g.y/=x,u[p+1]={x:f.x+b*g.x,y:f.y+b*g.y}}}),new Hr(u)):([0,1].forEach(p=>{if(n===2&&p)return;const f=u[p*n],g=this.derivative(p),b={x:f.x+g.x,y:f.y+g.y};u[p+1]=Ye.lli4(f,b,d,i[p+1])}),new Hr(u))}outline(r,n,o,a){if(n=n===void 0?r:n,this._linear){const R=this.normal(0),A=this.points[0],D=this.points[this.points.length-1];let N,$,O;o===void 0&&(o=r,a=n),N={x:A.x+R.x*r,y:A.y+R.y*r},O={x:D.x+R.x*o,y:D.y+R.y*o},$={x:(N.x+O.x)/2,y:(N.y+O.y)/2};const j=[N,$,O];N={x:A.x-R.x*n,y:A.y-R.y*n},O={x:D.x-R.x*a,y:D.y-R.y*a},$={x:(N.x+O.x)/2,y:(N.y+O.y)/2};const L=[O,$,N],Y=Ye.makeline(L[2],j[0]),M=Ye.makeline(j[2],L[0]),q=[Y,new Hr(j),M,new Hr(L)];return new Ny(q)}const i=this.reduce(),l=i.length,s=[];let c=[],u,d=0,p=this.length();const f=typeof o<"u"&&typeof a<"u";function g(R,A,D,N,$){return function(O){const j=N/D,L=(N+$)/D,Y=A-R;return Ye.map(O,0,1,R+j*Y,R+L*Y)}}i.forEach(function(R){const A=R.length();f?(s.push(R.scale(g(r,o,p,d,A))),c.push(R.scale(g(-n,-a,p,d,A)))):(s.push(R.scale(r)),c.push(R.scale(-n))),d+=A}),c=c.map(function(R){return u=R.points,u[3]?R.points=[u[3],u[2],u[1],u[0]]:R.points=[u[2],u[1],u[0]],R}).reverse();const b=s[0].points[0],x=s[l-1].points[s[l-1].points.length-1],w=c[l-1].points[c[l-1].points.length-1],k=c[0].points[0],C=Ye.makeline(w,b),_=Ye.makeline(x,k),T=[C].concat(s).concat([_]).concat(c);return new Ny(T)}outlineshapes(r,n,o){n=n||r;const a=this.outline(r,n).curves,i=[];for(let l=1,s=a.length;l1,c.endcap.virtual=l{var s=this.get(l);return Ye.between(s.x,n,a)&&Ye.between(s.y,o,i)})}selfintersects(r){const n=this.reduce(),o=n.length-2,a=[];for(let i=0,l,s,c;i0&&(i=i.concat(s))}),i}arcs(r){return r=r||.5,this._iterate(r,[])}_error(r,n,o,a){const i=(a-o)/4,l=this.get(o+i),s=this.get(a-i),c=Ye.dist(r,n),u=Ye.dist(r,l),d=Ye.dist(r,s);return Dy(u-c)+Dy(d-c)}_iterate(r,n){let o=0,a=1,i;do{i=0,a=1;let l=this.get(o),s,c,u,d,p=!1,f=!1,g,b=a,x=1;do if(f=p,d=u,b=(o+a)/2,s=this.get(b),c=this.get(a),u=Ye.getccenter(l,s,c),u.interval={start:o,end:a},p=this._error(u,l,o,a)<=r,g=f&&!p,g||(x=a),p){if(a>=1){if(u.interval.end=x=1,d=u,a>1){let w={x:u.x+u.r*CYe(u.e),y:u.y+u.r*TYe(u.e)};u.e+=Ye.angle({x:u.x,y:u.y},w,this.get(1))}break}a=a+(a-o)/2}else a=b;while(!g&&i++<100);if(i>=100)break;d=d||u,n.push(d),o=x}while(a<1);return n}}function IQ(e){let[r,...n]=e.points;nt(r,"start should be defined");const o=[];for(;Ao(n,3);){const[a,i,l,...s]=n,c=new Hr(r[0],r[1],a[0],a[1],i[0],i[1],l[0],l[1]),u=c.inflections();u.length===0&&u.push(.5),u.forEach(d=>{const{x:p,y:f}=c.get(d);o.push({x:Math.round(p),y:Math.round(f)})}),n=s,r=l}return nt(n.length===0,"all points should be consumed"),o}const zQ=(e,r)=>Math.abs(e-r)<3.1;function $y(e,r){const[n,o]=GE(e)?e:[e.x,e.y],[a,i]=GE(r)?r:[r.x,r.y];return zQ(n,a)&&zQ(o,i)}function pn(e){return e.stopPropagation()}function NYe(e){const{width:r,height:n}=Qn(e);return{x:e.internals.positionAbsolute.x+r/2,y:e.internals.positionAbsolute.y+n/2}}function DYe(e){let[r,...n]=e;nt(r,"start should be defined");let o=`M ${r[0]},${r[1]}`;for(;Ao(n,3);){const[a,i,l,...s]=n;o=o+` C ${a[0]},${a[1]} ${i[0]},${i[1]} ${l[0]},${l[1]}`,n=s}return nt(n.length===0,"all points should be consumed"),o}const N2=S.forwardRef(({tag:e,cursor:r,className:n,style:o,...a},i)=>{const l=sBe(e);return y.jsxs(Gr,{ref:i,"data-likec4-tag":e,className:Je(rYe({autoTextColor:pj(l)}),n),...a,style:{cursor:r,...o},children:[y.jsx("span",{children:"#"}),y.jsx("span",{children:e})]})}),PYe=(e,r)=>e.data.width===r.data.width&&ut(e.data.tags,r.data.tags)&&(e.data.hovered??!1)===(r.data.hovered??!1),My=S.memo(({id:e,data:{tags:r,width:n,hovered:o=!1}})=>{const{hovered:a,ref:i}=d9(),{hovered:l,ref:s}=d9(),[c,u]=PPe(!1,o?120:300);S.useEffect(()=>{u(w=>w?o||a||l:o&&(a||l))},[a,l,o]);const d=xYe(),p=d>1.2,f=Yt(),g=w=>{f.send({type:"tag.highlight",tag:w})},b=S.useCallback(()=>{f.send({type:"tag.unhighlight"})},[]);if(!r||r.length===0)return null;const x=Math.max(Math.round(n*d)-10,200);return y.jsxs(y.Fragment,{children:[y.jsx("div",{ref:i,className:Je("likec4-element-tags",Uo({pointerEvents:"all",gap:"1",alignItems:"flex-end",justifyItems:"stretch",position:"absolute",width:"100%",bottom:"0",left:"0",padding:"1",_shapeCylinder:{bottom:"[5px]"},_shapeStorage:{bottom:"[5px]"},_shapeQueue:{bottom:"0",paddingLeft:"[14px]"}})),onClick:pn,children:r.map(w=>y.jsx(Gr,{"data-likec4-tag":w,className:me({layerStyle:"likec4.tag",flex:"1",display:"flex",alignItems:"center",justifyContent:"center",maxWidth:50,height:5,_whenHovered:{height:12,borderRadius:4,transitionDelay:".08s"},transition:"fast"})},e+"#"+w))}),y.jsx(Kq,{isVisible:c,align:"start",position:tt.Bottom,children:y.jsx(Sn,{ref:s,css:{gap:"0.5",alignItems:"baseline",flexWrap:"wrap",pb:"sm",translate:"auto",x:"[-8px]",maxWidth:x},children:r.map(w=>y.jsx(N2,{tag:w,cursor:"pointer",className:me({userSelect:"none",...p&&{fontSize:"lg",borderRadius:"[4px]",px:"1.5"}}),onClick:k=>{k.stopPropagation(),f.openSearch(`#${w}`)},onMouseEnter:()=>g(w),onMouseLeave:b},w))})})]})},PYe);My.displayName="ElementTags";const $Ye=S.forwardRef((e,r)=>y.jsx("svg",{height:"24",width:"24",fill:"currentColor",...e,viewBox:"0 0 24 24",ref:r,children:y.jsx("path",{d:"M12 1C5.923 1 1 5.923 1 12c0 4.867 3.149 8.979 7.521 10.436.55.096.756-.233.756-.522 0-.262-.013-1.128-.013-2.049-2.764.509-3.479-.674-3.699-1.292-.124-.317-.66-1.293-1.127-1.554-.385-.207-.936-.715-.014-.729.866-.014 1.485.797 1.691 1.128.99 1.663 2.571 1.196 3.204.907.096-.715.385-1.196.701-1.471-2.448-.275-5.005-1.224-5.005-5.432 0-1.196.426-2.186 1.128-2.956-.111-.275-.496-1.402.11-2.915 0 0 .921-.288 3.024 1.128a10.193 10.193 0 0 1 2.75-.371c.936 0 1.871.123 2.75.371 2.104-1.43 3.025-1.128 3.025-1.128.605 1.513.221 2.64.111 2.915.701.77 1.127 1.747 1.127 2.956 0 4.222-2.571 5.157-5.019 5.432.399.344.743 1.004.743 2.035 0 1.471-.014 2.654-.014 3.025 0 .289.206.632.756.522C19.851 20.979 23 16.854 23 12c0-6.077-4.922-11-11-11Z"})}));/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const oYe=[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]],TQ=yt("outline","check","Check",oYe);/** + */const MYe=[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]],LQ=xt("outline","check","Check",MYe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const aYe=[["path",{d:"M7 7m0 2.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z",key:"svg-0"}],["path",{d:"M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1",key:"svg-1"}]],iYe=yt("outline","copy","Copy",aYe),RQ="https://github.com/",BC=E.forwardRef(({value:e,className:r,...n},o)=>{const a=e.url.includes("://")?e.url:new window.URL(e.url,window.location.href).toString();let i=a.startsWith(RQ);return y.jsx(Xs,{ref:o,variant:"default",radius:"sm",size:"sm",tt:"none",leftSection:e.title?y.jsx(y.Fragment,{children:e.title}):null,rightSection:y.jsx(cW,{value:a,timeout:1500,children:({copy:l,copied:s})=>y.jsx(or,{className:ye({opacity:s?1:.45,transition:"fast",_hover:{opacity:1}}),tabIndex:-1,size:"20",variant:s?"light":"transparent",color:s?"teal":"gray","data-active":s,onClick:c=>{c.stopPropagation(),c.preventDefault(),l()},children:s?y.jsx(TQ,{}):y.jsx(iYe,{stroke:2.5})})}),...n,className:Je(r,"group"),classNames:{root:ye({flexWrap:"nowrap",minHeight:24,maxWidth:500,userSelect:"all",pr:"0",backgroundColor:{base:"transparent",_hover:{base:"mantine.colors.gray[1]",_dark:"mantine.colors.dark[5]"}}}),section:ye({'&:is([data-position="left"])':{color:"mantine.colors.dimmed",userSelect:"none",pointerEvents:"none",_groupHover:{color:"[var(--badge-color)]",opacity:.7}}})},children:y.jsxs(Qs.a,{href:a,target:"_blank",style:{color:"var(--badge-color)",cursor:"pointer"},css:{transition:"fast",opacity:{base:.7,_hover:1},textDecoration:{base:"none",_hover:"underline"}},children:[i&&y.jsx(nYe,{height:"12",width:"12",style:{verticalAlign:"middle",marginRight:"4px"}}),i?a.replace(RQ,""):a]})})});function AQ(){const e=E.useContext(M7);if(!e)throw new Error("No LikeC4ViewModel in context found");return e}const T2="--_blur",R2="--_opacity",lYe=ye({boxSizing:"border-box",margin:"0",padding:"0",position:"fixed",inset:"0",width:"100vw",height:"100vh",maxWidth:"100vw",maxHeight:"100vh",background:"transparent",border:"transparent",_backdrop:{backdropFilter:"auto",backdropBlur:`var(${T2})`,backgroundColor:`[rgb(36 36 36 / var(${R2}, 5%))]`}}),sYe=ye({position:"absolute",pointerEvents:"all",display:"flex",flexDirection:"column",padding:"4",gap:"lg",justifyContent:"stretch",color:"mantine.colors.text",backgroundColor:{base:"mantine.colors.body",_dark:"mantine.colors.dark[6]"},boxShadow:"md",overflow:"hidden",border:"none",backgroundImage:` + */const OYe=[["path",{d:"M7 7m0 2.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z",key:"svg-0"}],["path",{d:"M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1",key:"svg-1"}]],IYe=xt("outline","copy","Copy",OYe),BQ="https://github.com/",VC=S.forwardRef(({value:e,className:r,...n},o)=>{const a=e.url.includes("://")?e.url:new window.URL(e.url,window.location.href).toString();let i=a.startsWith(BQ);return y.jsx(Qs,{ref:o,variant:"default",radius:"sm",size:"sm",tt:"none",leftSection:e.title?y.jsx(y.Fragment,{children:e.title}):null,rightSection:y.jsx(xW,{value:a,timeout:1500,children:({copy:l,copied:s})=>y.jsx(ir,{className:me({opacity:s?1:.45,transition:"fast",_hover:{opacity:1}}),tabIndex:-1,size:"20",variant:s?"light":"transparent",color:s?"teal":"gray","data-active":s,onClick:c=>{c.stopPropagation(),c.preventDefault(),l()},children:s?y.jsx(LQ,{}):y.jsx(IYe,{stroke:2.5})})}),...n,className:Je(r,"group"),classNames:{root:me({flexWrap:"nowrap",minHeight:24,maxWidth:500,userSelect:"all",pr:"0",backgroundColor:{base:"transparent",_hover:{base:"mantine.colors.gray[1]",_dark:"mantine.colors.dark[5]"}}}),section:me({'&:is([data-position="left"])':{color:"mantine.colors.dimmed",userSelect:"none",pointerEvents:"none",_groupHover:{color:"[var(--badge-color)]",opacity:.7}}})},children:y.jsxs(tc.a,{href:a,target:"_blank",style:{color:"var(--badge-color)",cursor:"pointer"},css:{transition:"fast",opacity:{base:.7,_hover:1},textDecoration:{base:"none",_hover:"underline"}},children:[i&&y.jsx($Ye,{height:"12",width:"12",style:{verticalAlign:"middle",marginRight:"4px"}}),i?a.replace(BQ,""):a]})})});function jQ(){const e=S.useContext(j7);if(!e)throw new Error("No LikeC4ViewModel in context found");return e}const D2="--_blur",P2="--_opacity",zYe=me({boxSizing:"border-box",margin:"0",padding:"0",position:"fixed",inset:"0",width:"100vw",height:"100vh",maxWidth:"100vw",maxHeight:"100vh",background:"transparent",border:"transparent",_backdrop:{backdropFilter:"auto",backdropBlur:`var(${D2})`,backgroundColor:`[rgb(36 36 36 / var(${P2}, 5%))]`}}),LYe=me({position:"absolute",pointerEvents:"all",display:"flex",flexDirection:"column",padding:"4",gap:"lg",justifyContent:"stretch",color:"mantine.colors.text",backgroundColor:{base:"mantine.colors.body",_dark:"mantine.colors.dark[6]"},boxShadow:"md",overflow:"hidden",border:"none",backgroundImage:` linear-gradient(180deg, color-mix(in srgb, var(--likec4-palette-fill) 60%, transparent), color-mix(in srgb, var(--likec4-palette-fill) 20%, transparent) 8px, @@ -239,234 +239,236 @@ ${p.message}`)}if(d){a.push(...s.actions),i=s;break}}return i?[i]:void 0}get eve transparent 80px ), linear-gradient(180deg, var(--likec4-palette-fill), var(--likec4-palette-fill) 4px, transparent 4px) - `,"& .react-flow__attribution":{display:"none"}}),cYe=ye({flex:0,cursor:"move"}),uYe=ye({display:"block",fontFamily:"likec4.element",fontOpticalSizing:"auto",fontStyle:"normal",fontWeight:600,fontSize:"24px",lineHeight:"xs"}),jC="40px",dYe=ye({flex:`0 0 ${jC}`,height:jC,width:jC,display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"flex-start",cursor:"move",_dark:{mixBlendMode:"hard-light"},"& :where(svg, img)":{width:"100%",height:"auto",maxHeight:"100%",pointerEvents:"none",filter:` + `,"& .react-flow__attribution":{display:"none"}}),BYe=me({flex:0,cursor:"move"}),jYe=me({display:"block",fontFamily:"likec4.element",fontOpticalSizing:"auto",fontStyle:"normal",fontWeight:600,fontSize:"24px",lineHeight:"xs"}),YC="40px",FYe=me({flex:`0 0 ${YC}`,height:YC,width:YC,display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"flex-start",cursor:"move",_dark:{mixBlendMode:"hard-light"},"& :where(svg, img)":{width:"100%",height:"auto",maxHeight:"100%",pointerEvents:"none",filter:` drop-shadow(0 0 3px rgb(0 0 0 / 10%)) drop-shadow(0 1px 8px rgb(0 0 0 / 5%)) drop-shadow(1px 1px 16px rgb(0 0 0 / 2%)) - `},"& img":{objectFit:"contain"}}),A2="--view-title-color",N2="--icon-color",pYe=ye({width:"100%",background:"mantine.colors.body",borderRadius:"sm",padding:"[10px 8px]",transition:"fast",border:"1px dashed",borderColor:"mantine.colors.defaultBorder",[A2]:"{colors.mantine.colors.dark[1]}",_hover:{background:"mantine.colors.defaultHover",[N2]:"{colors.mantine.colors.dark[1]}",[A2]:"{colors.mantine.colors.defaultColor}"},_dark:{background:"mantine.colors.dark[6]"},_light:{[N2]:"{colors.mantine.colors.gray[6]}",[A2]:"{colors.mantine.colors.gray[7]}",_hover:{[N2]:"{colors.mantine.colors.gray[7]}"}},"& .mantine-ThemeIcon-root":{transition:"fast",color:`[var(${N2}, {colors.mantine.colors.dark[2]})]`,"--ti-size":"22px",_hover:{color:"mantine.colors.defaultColor"}},"& > *":{transition:"all 130ms {easings.inOut}"},"&:hover > *":{transitionTimingFunction:"out",transform:"translateX(1.6px)"}}),hYe=ye({transition:"fast",color:`[var(${A2}, {colors.mantine.colors.gray[7]})]`,fontSize:"15px",fontWeight:500,lineHeight:"1.4"}),fYe=ye({flex:1,display:"flex",flexDirection:"column",justifyContent:"stretch",overflow:"hidden",gap:"sm"}),mYe=ye({background:"mantine.colors.gray[1]",borderRadius:"sm",flexWrap:"nowrap",gap:"1.5",padding:"1",_dark:{background:"mantine.colors.dark[7]"}}),gYe=ye({fontSize:"xs",fontWeight:500,flexGrow:1,padding:"[6px 8px]",transition:"fast",borderRadius:"sm",color:"mantine.colors.gray[7]",_hover:{transitionTimingFunction:"out",color:"mantine.colors.defaultColor",background:"mantine.colors.gray[3]"},"&[data-active]":{transition:"none",background:"mantine.colors.white",shadow:"xs",color:"mantine.colors.defaultColor"},_dark:{color:"mantine.colors.dark[1]",_hover:{color:"mantine.colors.white",background:"mantine.colors.dark[6]"},"&:is([data-active])":{color:"mantine.colors.white",background:"mantine.colors.dark[5]"}}}),yYe=ye({flex:1,overflow:"hidden",position:"relative","&:not(:has(.mantine-ScrollArea-root))":{paddingLeft:"1",paddingRight:"1"},"& .mantine-ScrollArea-root":{width:"100%",height:"100%","& > div":{paddingLeft:"1",paddingRight:"1"}}}),bYe=ye({flex:1,display:"grid",gridTemplateColumns:"min-content 1fr",gridAutoRows:"min-content max-content",gap:"[24px 20px]",alignItems:"baseline",justifyItems:"stretch"}),vYe=ye({justifySelf:"end",textAlign:"right",userSelect:"none"}),xYe=ye({position:"absolute",width:"14px",height:"14px",border:"3.5px solid",borderColor:"mantine.colors.dark[3]",borderTop:"none",borderLeft:"none",borderRadius:"2px",bottom:"0.5",right:"0.5",transition:"fast",cursor:"se-resize",_hover:{borderWidth:"4px",borderColor:"mantine.colors.dark[1]"}}),wYe=ye({"&[data-level='1']":{marginBottom:"sm"}}),kYe=ye({cursor:"default",marginTop:"0",marginBottom:"0"}),NQ=ye({transition:"fast",color:"mantine.colors.gray[7]",_dark:{color:"mantine.colors.dark[1]"},"& > *":{transition:"fast"},_hover:{transitionTimingFunction:"out","& > :not([data-no-transform])":{transitionTimingFunction:"out",transform:"translateX(1px)"}}}),_Ye=Je(NQ),EYe=Je(NQ,ye({cursor:"pointer",width:"100%",justifyContent:"stretch",flexWrap:"nowrap",height:"36px",paddingInlineStart:"[16px]",paddingInlineEnd:"2.5",borderRadius:"sm",alignItems:"center",color:"mantine.colors.gray[7]",_dark:{color:"mantine.colors.gray.lightColor"},_hover:{background:"mantine.colors.gray.lightHover"},"& .tabler-icon":{transition:"fast",width:"90%",opacity:.65}}));/** + `},"& img":{objectFit:"contain"}}),$2="--view-title-color",M2="--icon-color",HYe=me({width:"100%",background:"mantine.colors.body",borderRadius:"sm",padding:"[10px 8px]",transition:"fast",border:"1px dashed",borderColor:"mantine.colors.defaultBorder",[$2]:"{colors.mantine.colors.dark[1]}",_hover:{background:"mantine.colors.defaultHover",[M2]:"{colors.mantine.colors.dark[1]}",[$2]:"{colors.mantine.colors.defaultColor}"},_dark:{background:"mantine.colors.dark[6]"},_light:{[M2]:"{colors.mantine.colors.gray[6]}",[$2]:"{colors.mantine.colors.gray[7]}",_hover:{[M2]:"{colors.mantine.colors.gray[7]}"}},"& .mantine-ThemeIcon-root":{transition:"fast",color:`[var(${M2}, {colors.mantine.colors.dark[2]})]`,"--ti-size":"22px",_hover:{color:"mantine.colors.defaultColor"}},"& > *":{transition:"all 130ms {easings.inOut}"},"&:hover > *":{transitionTimingFunction:"out",transform:"translateX(1.6px)"}}),qYe=me({transition:"fast",color:`[var(${$2}, {colors.mantine.colors.gray[7]})]`,fontSize:"15px",fontWeight:500,lineHeight:"1.4"}),UYe=me({flex:1,display:"flex",flexDirection:"column",justifyContent:"stretch",overflow:"hidden",gap:"sm"}),VYe=me({background:"mantine.colors.gray[1]",borderRadius:"sm",flexWrap:"nowrap",gap:"1.5",padding:"1",_dark:{background:"mantine.colors.dark[7]"}}),YYe=me({fontSize:"xs",fontWeight:500,flexGrow:1,padding:"[6px 8px]",transition:"fast",borderRadius:"sm",color:"mantine.colors.gray[7]",_hover:{transitionTimingFunction:"out",color:"mantine.colors.defaultColor",background:"mantine.colors.gray[3]"},"&[data-active]":{transition:"none",background:"mantine.colors.white",shadow:"xs",color:"mantine.colors.defaultColor"},_dark:{color:"mantine.colors.dark[1]",_hover:{color:"mantine.colors.white",background:"mantine.colors.dark[6]"},"&:is([data-active])":{color:"mantine.colors.white",background:"mantine.colors.dark[5]"}}}),WYe=me({flex:1,overflow:"hidden",position:"relative","&:not(:has(.mantine-ScrollArea-root))":{paddingLeft:"1",paddingRight:"1"},"& .mantine-ScrollArea-root":{width:"100%",height:"100%","& > div":{paddingLeft:"1",paddingRight:"1"}}}),GYe=me({flex:1,display:"grid",gridTemplateColumns:"min-content 1fr",gridAutoRows:"min-content max-content",gap:"[24px 20px]",alignItems:"baseline",justifyItems:"stretch"}),XYe=me({justifySelf:"end",textAlign:"right",userSelect:"none"}),KYe=me({position:"absolute",width:"14px",height:"14px",border:"3.5px solid",borderColor:"mantine.colors.dark[3]",borderTop:"none",borderLeft:"none",borderRadius:"2px",bottom:"0.5",right:"0.5",transition:"fast",cursor:"se-resize",_hover:{borderWidth:"4px",borderColor:"mantine.colors.dark[1]"}});/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const SYe=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 9h.01",key:"svg-1"}],["path",{d:"M11 12h1v4h1",key:"svg-2"}]],FC=yt("outline","info-circle","InfoCircle",SYe);/** + */const ZYe=[["path",{d:"M6 9l6 6l6 -6",key:"svg-0"}]],FQ=xt("outline","chevron-down","ChevronDown",ZYe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const CYe=[["path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-0"}],["path",{d:"M12 12m-5 0a5 5 0 1 0 10 0a5 5 0 1 0 -10 0",key:"svg-1"}],["path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-2"}]],TYe=yt("outline","target","Target",CYe);/** + */const QYe=[["path",{d:"M9 6l6 6l-6 6",key:"svg-0"}]],Mu=xt("outline","chevron-right","ChevronRight",QYe);function HQ({children:e}){return y.jsx(y.Fragment,{children:e})}function qQ({value:e,isExpanded:r}){const[n,o]=S.useState(!1),a=S.useRef(null);return S.useEffect(()=>{a.current&&o(a.current.scrollWidth>a.current.clientWidth)},[e]),y.jsx(no,{label:n&&!r?e:null,multiline:!0,w:300,withinPortal:!0,children:y.jsx(pt,{ref:a,component:"div",className:me({fontSize:"sm",padding:"xs",userSelect:"all",color:"mantine.colors.text",lineHeight:1.4,whiteSpace:r?"pre-wrap":"nowrap",overflow:r?"visible":"hidden",textOverflow:r?"unset":"ellipsis",wordBreak:r?"break-word":"normal",minWidth:0,width:"100%"}),children:e})})}function JYe({values:e,isExpanded:r,onToggle:n}){return r?y.jsx(Ho,{gap:"xs",children:e.map((o,a)=>y.jsxs(Zs,{align:"center",gap:"xs",children:[y.jsx(pt,{className:me({fontSize:"xs",color:"mantine.colors.gray[5]",fontWeight:500,flexShrink:0,_dark:{color:"mantine.colors.dark[3]"}}),children:"•"}),y.jsx(Se,{className:me({minHeight:"32px",display:"flex",alignItems:"center",flex:1}),children:y.jsx(qQ,{value:o,isExpanded:!0})})]},a))}):y.jsx(Se,{className:me({minHeight:"32px",display:"flex",alignItems:"center",padding:"xs",gap:"xs",flexWrap:"wrap",minWidth:0,overflow:"hidden"}),children:e.map((o,a)=>y.jsxs(Zs,{align:"center",gap:"xs",style:{minWidth:0},children:[y.jsx(pt,{className:me({fontSize:"sm",padding:"[4px 8px]",backgroundColor:"mantine.colors.white",color:"mantine.colors.text",borderRadius:"sm",border:"1px solid",borderColor:"mantine.colors.gray[3]",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"min(200px, 100%)",minWidth:"60px",flex:"0 1 auto",userSelect:"all",_dark:{backgroundColor:"mantine.colors.dark[9]",color:"mantine.colors.text",borderColor:"mantine.colors.dark[4]"}}),title:o,children:o}),as.trim()).filter(Boolean):[r],o=n.length>1,[a,i]=S.useState(!1),l=()=>{i(!a)};return y.jsxs(y.Fragment,{children:[o?y.jsx(Ar,{onClick:l,className:me({fontSize:"xs",color:"mantine.colors.dimmed",justifySelf:"end",textAlign:"right",userSelect:"none",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"xs",padding:"[4px 8px]",borderRadius:"sm",whiteSpace:"nowrap",transition:"all 150ms ease",_hover:{backgroundColor:"mantine.colors.gray[1]",color:"mantine.colors.primary[6]",_dark:{backgroundColor:"mantine.colors.dark[7]",color:"mantine.colors.primary[4]"}}}),children:y.jsxs(Zs,{align:"center",gap:"xs",children:[y.jsxs(pt,{component:"span",size:"xs",fw:700,children:[e,":"]}),y.jsx(pt,{component:"span",className:me({fontSize:"xs",fontWeight:500,color:"mantine.colors.gray[6]",backgroundColor:"mantine.colors.gray[1]",padding:"[1px 4px]",borderRadius:"xs",_dark:{color:"mantine.colors.dark[2]",backgroundColor:"mantine.colors.dark[6]"}}),children:n.length}),a?y.jsx(FQ,{size:12}):y.jsx(Mu,{size:12})]})}):y.jsxs(pt,{component:"div",className:me({fontSize:"xs",color:"mantine.colors.dimmed",justifySelf:"end",textAlign:"right",userSelect:"none",whiteSpace:"nowrap",padding:"[4px 8px]",fontWeight:700}),children:[e,":"]}),y.jsx(Se,{className:me({justifySelf:"stretch",alignSelf:"start"}),children:o?y.jsx(JYe,{values:n,isExpanded:a,onToggle:l}):y.jsx(Se,{className:me({minHeight:"32px",display:"flex",alignItems:"center"}),children:y.jsx(qQ,{value:n[0]||"",isExpanded:a})})})]})}const tWe=me({"&[data-level='1']":{marginBottom:"sm"}}),rWe=me({cursor:"default",marginTop:"0",marginBottom:"0"}),UQ=me({transition:"fast",color:"mantine.colors.gray[7]",_dark:{color:"mantine.colors.dark[1]"},"& > *":{transition:"fast"},_hover:{transitionTimingFunction:"out","& > :not([data-no-transform])":{transitionTimingFunction:"out",transform:"translateX(1px)"}}}),nWe=Je(UQ),oWe=Je(UQ,me({cursor:"pointer",width:"100%",justifyContent:"stretch",flexWrap:"nowrap",height:"36px",paddingInlineStart:"[16px]",paddingInlineEnd:"2.5",borderRadius:"sm",alignItems:"center",color:"mantine.colors.gray[7]",_dark:{color:"mantine.colors.gray.lightColor"},_hover:{background:"mantine.colors.gray.lightHover"},"& .tabler-icon":{transition:"fast",width:"90%",opacity:.65}}));/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const RYe=[["path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2",key:"svg-0"}],["path",{d:"M4 16v2a2 2 0 0 0 2 2h2",key:"svg-1"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v2",key:"svg-2"}],["path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2",key:"svg-3"}],["path",{d:"M8 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-4"}],["path",{d:"M16 16l-2.5 -2.5",key:"svg-5"}]],gi=yt("outline","zoom-scan","ZoomScan",RYe),AYe=({node:e})=>y.jsxs(qr,{className:_Ye,gap:6,align:"baseline",wrap:"nowrap",children:[y.jsxs(wt,{component:"div",fz:11,c:"dimmed",children:[e.kind,":"]}),y.jsx(wt,{component:"div",fz:"sm",fw:"500",children:e.title})]}),NYe=({instance:e})=>{const r=Wt(),n=r.currentView.id,o=[...e.views()];return y.jsxs(qr,{className:EYe,gap:4,children:[y.jsx(ci,{color:"gray",variant:"transparent",size:"xs",flex:0,children:y.jsx(TYe,{stroke:1.2})}),y.jsx(wt,{component:"div",fz:"sm",fw:"500",flex:"1 1 100%",children:e.title}),y.jsxs(Se,{onClick:cn,pos:"relative","data-no-transform":!0,flex:0,children:[o.length===0&&y.jsx(Zn,{size:"compact-xs",variant:"transparent",color:"gray",disabled:!0,children:"no views"}),o.length>0&&y.jsxs(ho,{shadow:"md",withinPortal:!1,position:"bottom-start",offset:0,closeOnClickOutside:!0,clickOutsideEvents:["pointerdown","mousedown","click"],closeOnEscape:!0,trapFocus:!0,children:[y.jsx(ho.Target,{children:y.jsxs(Zn,{size:"compact-xs",variant:"subtle",color:"gray",children:[o.length," view",o.length>1?"s":""]})}),y.jsx(ho.Dropdown,{children:o.map(a=>y.jsx(ho.Item,{px:"xs",py:4,disabled:a.id===n,leftSection:y.jsx(ci,{size:"sm",variant:"transparent",color:"gray",children:y.jsx(gi,{stroke:1.8,opacity:.65})}),styles:{itemSection:{marginInlineEnd:Ae(8)}},onClick:i=>{i.stopPropagation(),r.navigateTo(a.id)},children:a.title},a.id))})]})]})]})},DYe=()=>{},PYe=E.memo(({elementFqn:e})=>{const r=Ho().element(e),n=[...r.deployments()],o=Y0({multiple:!1});o.setHoveredNode=DYe;const a=E.useMemo(()=>{let i=[],l=new Map;for(const s of r.deployments()){let c={label:y.jsx(NYe,{instance:s}),value:s.id,type:"instance",children:[]};l.set(s.id,c);let u=s.parent;for(;u;){let d=l.get(u.id);if(d){d.children.push(c);break}d={label:y.jsx(AYe,{node:u}),value:u.id,type:"node",children:[c]},l.set(u.id,d),c=d,u=u.parent}!u&&!i.includes(c)&&i.push(c)}return i},[r]);return E.useEffect(()=>{o.expandAllNodes()},[a]),n.length===0?y.jsx($w,{variant:"light",color:"gray",icon:y.jsx(FC,{}),children:"This element does not have any deployments"}):y.jsx(jf,{levelOffset:"sm",allowRangeSelection:!1,classNames:{node:wYe,label:kYe},styles:{root:{position:"relative",width:"min-content",minWidth:300}},data:a,tree:o,renderNode:({node:i,selected:l,elementProps:s,hasChildren:c})=>y.jsx(Se,{...s,style:{...!c&&{marginBottom:Ae(4)}},children:c?y.jsx(Zn,{fullWidth:!0,color:"gray",variant:l?"transparent":"subtle",size:"xs",justify:"flex-start",styles:{root:{position:"unset",paddingInlineStart:Ae(16)}},children:i.label}):i.label})})}),$Ye=()=>{},DQ=(e,r)=>{if(e===r)return!0;if(e.length!==r.length)return!1;for(const[n,o]of e.entries())if(o!==r[n]&&!Gn(o,r[n]))return!1;return!0};function D2(e,r,n,o){const a=Fj();jj(a?$Ye:e,r,DQ,o)}function MYe(){const e=typeof window<"u"&&typeof window.devicePixelRatio=="number"?window.devicePixelRatio:1;return Ki(Math.floor(e),{min:1,max:4})}let P2;function yi(e){return P2??=MYe(),P2<2?Math.round(e):Math.round(e*P2)/P2}function OYe(e){switch(e){case"dots":return Xi.Dots;case"lines":return Xi.Lines;case"cross":return Xi.Cross;default:Xa(e)}}function IYe({background:e}){return typeof e=="string"?y.jsx(Iq,{variant:OYe(e),size:2,gap:20}):y.jsx(Iq,{...e})}const dl={Compound:1,Edge:20,Element:20,Max:30},pl=.05,HC=3,$2={default:"16px",withControls:{top:"50px",left:"16px",right:"16px",bottom:"16px"}},PQ=(e,r)=>(e.data.dimmed??!1)===r?e:{...e,data:{...e.data,dimmed:r}};function LYe(e,r){return r!==void 0?PQ(e,r):n=>PQ(n,e)}const $Q=(e,r)=>(e.data.hovered??!1)===r?e:{...e,data:{...e.data,hovered:r}};function zYe(e,r){return r!==void 0?$Q(e,r):n=>$Q(n,e)}function MQ(e,r){return ONe(e.data,r)?e:{...e,data:{...e.data,...r}}}function BYe(e,r){return r!==void 0?MQ(e,r):n=>MQ(n,e)}const Jt={setDimmed:LYe,setHovered:zYe,setData:BYe};function qC({nodes:e,edges:r,onEdgesChange:n,onNodesChange:o,className:a,pannable:i=!0,zoomable:l=!0,nodesSelectable:s=!0,nodesDraggable:c=!1,background:u="dots",children:d,colorMode:p,fitViewPadding:f=0,fitView:g=!0,zoomOnDoubleClick:b=!1,onViewportResize:x,onMoveEnd:w,onNodeMouseEnter:k,onNodeMouseLeave:C,onEdgeMouseEnter:_,onEdgeMouseLeave:T,...R}){const A=u!=="transparent"&&u!=="solid",D=YVe(),N=IC(),{colorScheme:$}=S$e();return p||(p=$==="auto"?"system":$),y.jsxs(YRe,{colorMode:p,nodes:e,edges:r,className:Je(u==="transparent"&&"bg-transparent",a),...D&&{"data-likec4-zoom-small":!0},zoomOnPinch:l,zoomOnScroll:!i&&l,...!l&&{zoomActivationKeyCode:null},zoomOnDoubleClick:b,maxZoom:l?HC:1,minZoom:l?pl:1,fitView:g,fitViewOptions:{minZoom:pl,maxZoom:1,padding:f,includeHiddenNodes:!1},preventScrolling:l||i,defaultMarkerColor:"var(--xy-edge-stroke)",noDragClassName:"nodrag",noPanClassName:"nopan",noWheelClassName:"nowheel",panOnScroll:i,panOnDrag:i,...!i&&{panActivationKeyCode:null,selectionKeyCode:null},elementsSelectable:s,nodesFocusable:c||s,edgesFocusable:!1,nodesDraggable:c,nodeDragThreshold:4,nodeClickDistance:3,paneClickDistance:3,elevateNodesOnSelect:!1,selectNodesOnDrag:!1,onNodesChange:o,onEdgesChange:n,onMoveEnd:it((M,{x:j,y:L,zoom:Y})=>{const O=yi(j),U=yi(L);(j!==O||L!==U)&&N.setState({transform:[O,U,Y]}),w?.(M,{x:O,y:U,zoom:Y})}),onNodeMouseEnter:it((M,j)=>{if(k){k(M,j);return}j.data.hovered||o([{id:j.id,type:"replace",item:Jt.setHovered(j,!0)}])}),onNodeMouseLeave:it((M,j)=>{if(C){C(M,j);return}j.data.hovered&&o([{id:j.id,type:"replace",item:Jt.setHovered(j,!1)}])}),onEdgeMouseEnter:it((M,j)=>{if(_){_(M,j);return}j.data.hovered||n([{id:j.id,type:"replace",item:Jt.setHovered(j,!0)}])}),onEdgeMouseLeave:it((M,j)=>{if(T){T(M,j);return}j.data.hovered&&n([{id:j.id,type:"replace",item:Jt.setHovered(j,!1)}])}),onNodeDoubleClick:cn,onEdgeDoubleClick:cn,...R,children:[A&&y.jsx(IYe,{background:u}),x&&y.jsx(FYe,{onViewportResize:x}),d]})}const jYe=({width:e,height:r})=>(e||1)*(r||1),FYe=({onViewportResize:e})=>{const r=Rt(jYe);return D2(e,[r]),null},OQ=E.createContext(null);function IQ(){return mt(E.useContext(OQ),"No RelationshipsBrowserActorContext")}function M2(e,r=Gn){const n=IQ();return wn(n,it(e),r)}function Sy(){const e=IQ();return E.useMemo(()=>({actor:e,get rootElementId(){return`relationships-browser-${e.sessionId.replaceAll(":","_")}`},getState:()=>e.getSnapshot().context,send:e.send,updateView:r=>{e.send({type:"update.view",layouted:r})},changeScope:r=>{e.send({type:"change.scope",scope:r})},navigateTo:(r,n)=>{e.send({type:"navigate.to",subject:r,fromNode:n})},fitDiagram:()=>{e.send({type:"fitDiagram"})},close:()=>{e._parent?e._parent?.send({type:"close",actorId:e.id}):e.send({type:"close"})}}),[e])}var UC,LQ;function VC(){if(LQ)return UC;LQ=1;var e="\0",r="\0",n="";class o{_isDirected=!0;_isMultigraph=!1;_isCompound=!1;_label;_defaultNodeLabelFn=()=>{};_defaultEdgeLabelFn=()=>{};_nodes={};_in={};_preds={};_out={};_sucs={};_edgeObjs={};_edgeLabels={};_nodeCount=0;_edgeCount=0;_parent;_children;constructor(d){d&&(this._isDirected=Object.hasOwn(d,"directed")?d.directed:!0,this._isMultigraph=Object.hasOwn(d,"multigraph")?d.multigraph:!1,this._isCompound=Object.hasOwn(d,"compound")?d.compound:!1),this._isCompound&&(this._parent={},this._children={},this._children[r]={})}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(d){return this._label=d,this}graph(){return this._label}setDefaultNodeLabel(d){return this._defaultNodeLabelFn=d,typeof d!="function"&&(this._defaultNodeLabelFn=()=>d),this}nodeCount(){return this._nodeCount}nodes(){return Object.keys(this._nodes)}sources(){var d=this;return this.nodes().filter(p=>Object.keys(d._in[p]).length===0)}sinks(){var d=this;return this.nodes().filter(p=>Object.keys(d._out[p]).length===0)}setNodes(d,p){var f=arguments,g=this;return d.forEach(function(b){f.length>1?g.setNode(b,p):g.setNode(b)}),this}setNode(d,p){return Object.hasOwn(this._nodes,d)?(arguments.length>1&&(this._nodes[d]=p),this):(this._nodes[d]=arguments.length>1?p:this._defaultNodeLabelFn(d),this._isCompound&&(this._parent[d]=r,this._children[d]={},this._children[r][d]=!0),this._in[d]={},this._preds[d]={},this._out[d]={},this._sucs[d]={},++this._nodeCount,this)}node(d){return this._nodes[d]}hasNode(d){return Object.hasOwn(this._nodes,d)}removeNode(d){var p=this;if(Object.hasOwn(this._nodes,d)){var f=g=>p.removeEdge(p._edgeObjs[g]);delete this._nodes[d],this._isCompound&&(this._removeFromParentsChildList(d),delete this._parent[d],this.children(d).forEach(function(g){p.setParent(g)}),delete this._children[d]),Object.keys(this._in[d]).forEach(f),delete this._in[d],delete this._preds[d],Object.keys(this._out[d]).forEach(f),delete this._out[d],delete this._sucs[d],--this._nodeCount}return this}setParent(d,p){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(p===void 0)p=r;else{p+="";for(var f=p;f!==void 0;f=this.parent(f))if(f===d)throw new Error("Setting "+p+" as parent of "+d+" would create a cycle");this.setNode(p)}return this.setNode(d),this._removeFromParentsChildList(d),this._parent[d]=p,this._children[p][d]=!0,this}_removeFromParentsChildList(d){delete this._children[this._parent[d]][d]}parent(d){if(this._isCompound){var p=this._parent[d];if(p!==r)return p}}children(d=r){if(this._isCompound){var p=this._children[d];if(p)return Object.keys(p)}else{if(d===r)return this.nodes();if(this.hasNode(d))return[]}}predecessors(d){var p=this._preds[d];if(p)return Object.keys(p)}successors(d){var p=this._sucs[d];if(p)return Object.keys(p)}neighbors(d){var p=this.predecessors(d);if(p){const g=new Set(p);for(var f of this.successors(d))g.add(f);return Array.from(g.values())}}isLeaf(d){var p;return this.isDirected()?p=this.successors(d):p=this.neighbors(d),p.length===0}filterNodes(d){var p=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});p.setGraph(this.graph());var f=this;Object.entries(this._nodes).forEach(function([x,w]){d(x)&&p.setNode(x,w)}),Object.values(this._edgeObjs).forEach(function(x){p.hasNode(x.v)&&p.hasNode(x.w)&&p.setEdge(x,f.edge(x))});var g={};function b(x){var w=f.parent(x);return w===void 0||p.hasNode(w)?(g[x]=w,w):w in g?g[w]:b(w)}return this._isCompound&&p.nodes().forEach(x=>p.setParent(x,b(x))),p}setDefaultEdgeLabel(d){return this._defaultEdgeLabelFn=d,typeof d!="function"&&(this._defaultEdgeLabelFn=()=>d),this}edgeCount(){return this._edgeCount}edges(){return Object.values(this._edgeObjs)}setPath(d,p){var f=this,g=arguments;return d.reduce(function(b,x){return g.length>1?f.setEdge(b,x,p):f.setEdge(b,x),x}),this}setEdge(){var d,p,f,g,b=!1,x=arguments[0];typeof x=="object"&&x!==null&&"v"in x?(d=x.v,p=x.w,f=x.name,arguments.length===2&&(g=arguments[1],b=!0)):(d=x,p=arguments[1],f=arguments[3],arguments.length>2&&(g=arguments[2],b=!0)),d=""+d,p=""+p,f!==void 0&&(f=""+f);var w=l(this._isDirected,d,p,f);if(Object.hasOwn(this._edgeLabels,w))return b&&(this._edgeLabels[w]=g),this;if(f!==void 0&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(d),this.setNode(p),this._edgeLabels[w]=b?g:this._defaultEdgeLabelFn(d,p,f);var k=s(this._isDirected,d,p,f);return d=k.v,p=k.w,Object.freeze(k),this._edgeObjs[w]=k,a(this._preds[p],d),a(this._sucs[d],p),this._in[p][w]=k,this._out[d][w]=k,this._edgeCount++,this}edge(d,p,f){var g=arguments.length===1?c(this._isDirected,arguments[0]):l(this._isDirected,d,p,f);return this._edgeLabels[g]}edgeAsObj(){const d=this.edge(...arguments);return typeof d!="object"?{label:d}:d}hasEdge(d,p,f){var g=arguments.length===1?c(this._isDirected,arguments[0]):l(this._isDirected,d,p,f);return Object.hasOwn(this._edgeLabels,g)}removeEdge(d,p,f){var g=arguments.length===1?c(this._isDirected,arguments[0]):l(this._isDirected,d,p,f),b=this._edgeObjs[g];return b&&(d=b.v,p=b.w,delete this._edgeLabels[g],delete this._edgeObjs[g],i(this._preds[p],d),i(this._sucs[d],p),delete this._in[p][g],delete this._out[d][g],this._edgeCount--),this}inEdges(d,p){var f=this._in[d];if(f){var g=Object.values(f);return p?g.filter(b=>b.v===p):g}}outEdges(d,p){var f=this._out[d];if(f){var g=Object.values(f);return p?g.filter(b=>b.w===p):g}}nodeEdges(d,p){var f=this.inEdges(d,p);if(f)return f.concat(this.outEdges(d,p))}}function a(u,d){u[d]?u[d]++:u[d]=1}function i(u,d){--u[d]||delete u[d]}function l(u,d,p,f){var g=""+d,b=""+p;if(!u&&g>b){var x=g;g=b,b=x}return g+n+b+n+(f===void 0?e:f)}function s(u,d,p,f){var g=""+d,b=""+p;if(!u&&g>b){var x=g;g=b,b=x}var w={v:g,w:b};return f&&(w.name=f),w}function c(u,d){return l(u,d.v,d.w,d.name)}return UC=o,UC}var zQ,BQ;function HYe(){return BQ||(BQ=1,zQ="2.2.4"),zQ}var jQ,FQ;function qYe(){return FQ||(FQ=1,jQ={Graph:VC(),version:HYe()}),jQ}var YC,HQ;function UYe(){if(HQ)return YC;HQ=1;var e=VC();YC={write:r,read:a};function r(i){var l={options:{directed:i.isDirected(),multigraph:i.isMultigraph(),compound:i.isCompound()},nodes:n(i),edges:o(i)};return i.graph()!==void 0&&(l.value=structuredClone(i.graph())),l}function n(i){return i.nodes().map(function(l){var s=i.node(l),c=i.parent(l),u={v:l};return s!==void 0&&(u.value=s),c!==void 0&&(u.parent=c),u})}function o(i){return i.edges().map(function(l){var s=i.edge(l),c={v:l.v,w:l.w};return l.name!==void 0&&(c.name=l.name),s!==void 0&&(c.value=s),c})}function a(i){var l=new e(i.options).setGraph(i.value);return i.nodes.forEach(function(s){l.setNode(s.v,s.value),s.parent&&l.setParent(s.v,s.parent)}),i.edges.forEach(function(s){l.setEdge({v:s.v,w:s.w,name:s.name},s.value)}),l}return YC}var WC,qQ;function VYe(){if(qQ)return WC;qQ=1,WC=e;function e(r){var n={},o=[],a;function i(l){Object.hasOwn(n,l)||(n[l]=!0,a.push(l),r.successors(l).forEach(i),r.predecessors(l).forEach(i))}return r.nodes().forEach(function(l){a=[],i(l),a.length&&o.push(a)}),o}return WC}var GC,UQ;function VQ(){if(UQ)return GC;UQ=1;class e{_arr=[];_keyIndices={};size(){return this._arr.length}keys(){return this._arr.map(function(n){return n.key})}has(n){return Object.hasOwn(this._keyIndices,n)}priority(n){var o=this._keyIndices[n];if(o!==void 0)return this._arr[o].priority}min(){if(this.size()===0)throw new Error("Queue underflow");return this._arr[0].key}add(n,o){var a=this._keyIndices;if(n=String(n),!Object.hasOwn(a,n)){var i=this._arr,l=i.length;return a[n]=l,i.push({key:n,priority:o}),this._decrease(l),!0}return!1}removeMin(){this._swap(0,this._arr.length-1);var n=this._arr.pop();return delete this._keyIndices[n.key],this._heapify(0),n.key}decrease(n,o){var a=this._keyIndices[n];if(o>this._arr[a].priority)throw new Error("New priority is greater than current priority. Key: "+n+" Old: "+this._arr[a].priority+" New: "+o);this._arr[a].priority=o,this._decrease(a)}_heapify(n){var o=this._arr,a=2*n,i=a+1,l=n;a>1,!(o[i].priority1;function n(a,i,l,s){return o(a,String(i),l||r,s||function(c){return a.outEdges(c)})}function o(a,i,l,s){var c={},u=new e,d,p,f=function(g){var b=g.v!==d?g.v:g.w,x=c[b],w=l(g),k=p.distance+w;if(w<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+g+" Weight: "+w);k0&&(d=u.removeMin(),p=c[d],p.distance!==Number.POSITIVE_INFINITY);)s(d).forEach(f);return c}return XC}var KC,GQ;function YYe(){if(GQ)return KC;GQ=1;var e=WQ();KC=r;function r(n,o,a){return n.nodes().reduce(function(i,l){return i[l]=e(n,l,o,a),i},{})}return KC}var ZC,XQ;function KQ(){if(XQ)return ZC;XQ=1,ZC=e;function e(r){var n=0,o=[],a={},i=[];function l(s){var c=a[s]={onStack:!0,lowlink:n,index:n++};if(o.push(s),r.successors(s).forEach(function(p){Object.hasOwn(a,p)?a[p].onStack&&(c.lowlink=Math.min(c.lowlink,a[p].index)):(l(p),c.lowlink=Math.min(c.lowlink,a[p].lowlink))}),c.lowlink===c.index){var u=[],d;do d=o.pop(),a[d].onStack=!1,u.push(d);while(s!==d);i.push(u)}}return r.nodes().forEach(function(s){Object.hasOwn(a,s)||l(s)}),i}return ZC}var QC,ZQ;function WYe(){if(ZQ)return QC;ZQ=1;var e=KQ();QC=r;function r(n){return e(n).filter(function(o){return o.length>1||o.length===1&&n.hasEdge(o[0],o[0])})}return QC}var JC,QQ;function GYe(){if(QQ)return JC;QQ=1,JC=r;var e=()=>1;function r(o,a,i){return n(o,a||e,i||function(l){return o.outEdges(l)})}function n(o,a,i){var l={},s=o.nodes();return s.forEach(function(c){l[c]={},l[c][c]={distance:0},s.forEach(function(u){c!==u&&(l[c][u]={distance:Number.POSITIVE_INFINITY})}),i(c).forEach(function(u){var d=u.v===c?u.w:u.v,p=a(u);l[c][d]={distance:p,predecessor:c}})}),s.forEach(function(c){var u=l[c];s.forEach(function(d){var p=l[d];s.forEach(function(f){var g=p[c],b=u[f],x=p[f],w=g.distance+b.distance;wa.successors(p):p=>a.neighbors(p),c=l==="post"?r:n,u=[],d={};return i.forEach(p=>{if(!a.hasNode(p))throw new Error("Graph does not have node: "+p);c(p,s,d,u)}),u}function r(a,i,l,s){for(var c=[[a,!1]];c.length>0;){var u=c.pop();u[1]?s.push(u[0]):Object.hasOwn(l,u[0])||(l[u[0]]=!0,c.push([u[0],!0]),o(i(u[0]),d=>c.push([d,!1])))}}function n(a,i,l,s){for(var c=[a];c.length>0;){var u=c.pop();Object.hasOwn(l,u)||(l[u]=!0,s.push(u),o(i(u),d=>c.push(d)))}}function o(a,i){for(var l=a.length;l--;)i(a[l],l,a);return a}return rT}var nT,oJ;function KYe(){if(oJ)return nT;oJ=1;var e=nJ();nT=r;function r(n,o){return e(n,o,"post")}return nT}var oT,aJ;function ZYe(){if(aJ)return oT;aJ=1;var e=nJ();oT=r;function r(n,o){return e(n,o,"pre")}return oT}var aT,iJ;function QYe(){if(iJ)return aT;iJ=1;var e=VC(),r=VQ();aT=n;function n(o,a){var i=new e,l={},s=new r,c;function u(p){var f=p.v===c?p.w:p.v,g=s.priority(f);if(g!==void 0){var b=a(p);b0;){if(c=s.removeMin(),Object.hasOwn(l,c))i.setEdge(c,l[c]);else{if(d)throw new Error("Input graph is not connected: "+o);d=!0}o.nodeEdges(c).forEach(u)}return i}return aT}var lJ,sJ;function JYe(){return sJ||(sJ=1,lJ={components:VYe(),dijkstra:WQ(),dijkstraAll:YYe(),findCycles:WYe(),floydWarshall:GYe(),isAcyclic:XYe(),postorder:KYe(),preorder:ZYe(),prim:QYe(),tarjan:KQ(),topsort:eJ()}),lJ}var iT,cJ;function hl(){if(cJ)return iT;cJ=1;var e=qYe();return iT={Graph:e.Graph,json:UYe(),alg:JYe(),version:e.version},iT}var lT,uJ;function eWe(){if(uJ)return lT;uJ=1;class e{constructor(){let a={};a._next=a._prev=a,this._sentinel=a}dequeue(){let a=this._sentinel,i=a._prev;if(i!==a)return r(i),i}enqueue(a){let i=this._sentinel;a._prev&&a._next&&r(a),a._next=i._next,i._next._prev=a,i._next=a,a._prev=i}toString(){let a=[],i=this._sentinel,l=i._prev;for(;l!==i;)a.push(JSON.stringify(l,n)),l=l._prev;return"["+a.join(", ")+"]"}}function r(o){o._prev._next=o._next,o._next._prev=o._prev,delete o._next,delete o._prev}function n(o,a){if(o!=="_next"&&o!=="_prev")return a}return lT=e,lT}var sT,dJ;function tWe(){if(dJ)return sT;dJ=1;let e=hl().Graph,r=eWe();sT=o;let n=()=>1;function o(u,d){if(u.nodeCount()<=1)return[];let p=l(u,d||n);return a(p.graph,p.buckets,p.zeroIdx).flatMap(f=>u.outEdges(f.v,f.w))}function a(u,d,p){let f=[],g=d[d.length-1],b=d[0],x;for(;u.nodeCount();){for(;x=b.dequeue();)i(u,d,p,x);for(;x=g.dequeue();)i(u,d,p,x);if(u.nodeCount()){for(let w=d.length-2;w>0;--w)if(x=d[w].dequeue(),x){f=f.concat(i(u,d,p,x,!0));break}}}return f}function i(u,d,p,f,g){let b=g?[]:void 0;return u.inEdges(f.v).forEach(x=>{let w=u.edge(x),k=u.node(x.v);g&&b.push({v:x.v,w:x.w}),k.out-=w,s(d,p,k)}),u.outEdges(f.v).forEach(x=>{let w=u.edge(x),k=x.w,C=u.node(k);C.in-=w,s(d,p,C)}),u.removeNode(f.v),b}function l(u,d){let p=new e,f=0,g=0;u.nodes().forEach(w=>{p.setNode(w,{v:w,in:0,out:0})}),u.edges().forEach(w=>{let k=p.edge(w.v,w.w)||0,C=d(w),_=k+C;p.setEdge(w.v,w.w,_),g=Math.max(g,p.node(w.v).out+=C),f=Math.max(f,p.node(w.w).in+=C)});let b=c(g+f+3).map(()=>new r),x=f+1;return p.nodes().forEach(w=>{s(b,x,p.node(w))}),{graph:p,buckets:b,zeroIdx:x}}function s(u,d,p){p.out?p.in?u[p.out-p.in+d].enqueue(p):u[u.length-1].enqueue(p):u[0].enqueue(p)}function c(u){const d=[];for(let p=0;p$.setNode(M,N.node(M))),N.edges().forEach(M=>{let j=$.edge(M.v,M.w)||{weight:0,minlen:1},L=N.edge(M);$.setEdge(M.v,M.w,{weight:j.weight+L.weight,minlen:Math.max(j.minlen,L.minlen)})}),$}function o(N){let $=new e({multigraph:N.isMultigraph()}).setGraph(N.graph());return N.nodes().forEach(M=>{N.children(M).length||$.setNode(M,N.node(M))}),N.edges().forEach(M=>{$.setEdge(M,N.edge(M))}),$}function a(N){let $=N.nodes().map(M=>{let j={};return N.outEdges(M).forEach(L=>{j[L.w]=(j[L.w]||0)+N.edge(L).weight}),j});return D(N.nodes(),$)}function i(N){let $=N.nodes().map(M=>{let j={};return N.inEdges(M).forEach(L=>{j[L.v]=(j[L.v]||0)+N.edge(L).weight}),j});return D(N.nodes(),$)}function l(N,$){let M=N.x,j=N.y,L=$.x-M,Y=$.y-j,O=N.width/2,U=N.height/2;if(!L&&!Y)throw new Error("Not possible to find intersection inside of the rectangle");let I,q;return Math.abs(Y)*O>Math.abs(L)*U?(Y<0&&(U=-U),I=U*L/Y,q=U):(L<0&&(O=-O),I=O,q=O*Y/L),{x:M+I,y:j+q}}function s(N){let $=T(b(N)+1).map(()=>[]);return N.nodes().forEach(M=>{let j=N.node(M),L=j.rank;L!==void 0&&($[L][j.order]=M)}),$}function c(N){let $=N.nodes().map(j=>{let L=N.node(j).rank;return L===void 0?Number.MAX_VALUE:L}),M=g(Math.min,$);N.nodes().forEach(j=>{let L=N.node(j);Object.hasOwn(L,"rank")&&(L.rank-=M)})}function u(N){let $=N.nodes().map(O=>N.node(O).rank),M=g(Math.min,$),j=[];N.nodes().forEach(O=>{let U=N.node(O).rank-M;j[U]||(j[U]=[]),j[U].push(O)});let L=0,Y=N.graph().nodeRankFactor;Array.from(j).forEach((O,U)=>{O===void 0&&U%Y!==0?--L:O!==void 0&&L&&O.forEach(I=>N.node(I).rank+=L)})}function d(N,$,M,j){let L={width:0,height:0};return arguments.length>=4&&(L.rank=M,L.order=j),r(N,"border",L,$)}function p(N,$=f){const M=[];for(let j=0;jf){const M=p($);return N.apply(null,M.map(j=>N.apply(null,j)))}else return N.apply(null,$)}function b(N){const $=N.nodes().map(M=>{let j=N.node(M).rank;return j===void 0?Number.MIN_VALUE:j});return g(Math.max,$)}function x(N,$){let M={lhs:[],rhs:[]};return N.forEach(j=>{$(j)?M.lhs.push(j):M.rhs.push(j)}),M}function w(N,$){let M=Date.now();try{return $()}finally{console.log(N+" time: "+(Date.now()-M)+"ms")}}function k(N,$){return $()}let C=0;function _(N){var $=++C;return N+(""+$)}function T(N,$,M=1){$==null&&($=N,N=0);let j=Y=>Y<$;M<0&&(j=Y=>$j[$]),Object.entries(N).reduce((j,[L,Y])=>(j[L]=M(Y,L),j),{})}function D(N,$){return N.reduce((M,j,L)=>(M[j]=$[L],M),{})}return cT}var uT,hJ;function rWe(){if(hJ)return uT;hJ=1;let e=tWe(),r=_n().uniqueId;uT={run:n,undo:a};function n(i){(i.graph().acyclicer==="greedy"?e(i,l(i)):o(i)).forEach(s=>{let c=i.edge(s);i.removeEdge(s),c.forwardName=s.name,c.reversed=!0,i.setEdge(s.w,s.v,c,r("rev"))});function l(s){return c=>s.edge(c).weight}}function o(i){let l=[],s={},c={};function u(d){Object.hasOwn(c,d)||(c[d]=!0,s[d]=!0,i.outEdges(d).forEach(p=>{Object.hasOwn(s,p.w)?l.push(p):u(p.w)}),delete s[d])}return i.nodes().forEach(u),l}function a(i){i.edges().forEach(l=>{let s=i.edge(l);if(s.reversed){i.removeEdge(l);let c=s.forwardName;delete s.reversed,delete s.forwardName,i.setEdge(l.w,l.v,s,c)}})}return uT}var dT,fJ;function nWe(){if(fJ)return dT;fJ=1;let e=_n();dT={run:r,undo:o};function r(a){a.graph().dummyChains=[],a.edges().forEach(i=>n(a,i))}function n(a,i){let l=i.v,s=a.node(l).rank,c=i.w,u=a.node(c).rank,d=i.name,p=a.edge(i),f=p.labelRank;if(u===s+1)return;a.removeEdge(i);let g,b,x;for(x=0,++s;s{let l=a.node(i),s=l.edgeLabel,c;for(a.setEdge(l.edgeObj,s);l.dummy;)c=a.successors(i)[0],a.removeNode(i),s.points.push({x:l.x,y:l.y}),l.dummy==="edge-label"&&(s.x=l.x,s.y=l.y,s.width=l.width,s.height=l.height),i=c,l=a.node(i)})}return dT}var pT,mJ;function O2(){if(mJ)return pT;mJ=1;const{applyWithChunking:e}=_n();pT={longestPath:r,slack:n};function r(o){var a={};function i(l){var s=o.node(l);if(Object.hasOwn(a,l))return s.rank;a[l]=!0;let c=o.outEdges(l).map(d=>d==null?Number.POSITIVE_INFINITY:i(d.w)-o.edge(d).minlen);var u=e(Math.min,c);return u===Number.POSITIVE_INFINITY&&(u=0),s.rank=u}o.sources().forEach(i)}function n(o,a){return o.node(a.w).rank-o.node(a.v).rank-o.edge(a).minlen}return pT}var hT,gJ;function yJ(){if(gJ)return hT;gJ=1;var e=hl().Graph,r=O2().slack;hT=n;function n(l){var s=new e({directed:!1}),c=l.nodes()[0],u=l.nodeCount();s.setNode(c,{});for(var d,p;o(s,l){var p=d.v,f=u===p?d.w:p;!l.hasNode(f)&&!r(s,d)&&(l.setNode(f,{}),l.setEdge(u,f,{}),c(f))})}return l.nodes().forEach(c),l.nodeCount()}function a(l,s){return s.edges().reduce((c,u)=>{let d=Number.POSITIVE_INFINITY;return l.hasNode(u.v)!==l.hasNode(u.w)&&(d=r(s,u)),ds.node(u).rank+=c)}return hT}var fT,bJ;function oWe(){if(bJ)return fT;bJ=1;var e=yJ(),r=O2().slack,n=O2().longestPath,o=hl().alg.preorder,a=hl().alg.postorder,i=_n().simplify;fT=l,l.initLowLimValues=d,l.initCutValues=s,l.calcCutValue=u,l.leaveEdge=f,l.enterEdge=g,l.exchangeEdges=b;function l(C){C=i(C),n(C);var _=e(C);d(_),s(_,C);for(var T,R;T=f(_);)R=g(_,C,T),b(_,C,T,R)}function s(C,_){var T=a(C,C.nodes());T=T.slice(0,T.length-1),T.forEach(R=>c(C,_,R))}function c(C,_,T){var R=C.node(T),A=R.parent;C.edge(T,A).cutvalue=u(C,_,T)}function u(C,_,T){var R=C.node(T),A=R.parent,D=!0,N=_.edge(T,A),$=0;return N||(D=!1,N=_.edge(A,T)),$=N.weight,_.nodeEdges(T).forEach(M=>{var j=M.v===T,L=j?M.w:M.v;if(L!==A){var Y=j===D,O=_.edge(M).weight;if($+=Y?O:-O,w(C,T,L)){var U=C.edge(T,L).cutvalue;$+=Y?-U:U}}}),$}function d(C,_){arguments.length<2&&(_=C.nodes()[0]),p(C,{},1,_)}function p(C,_,T,R,A){var D=T,N=C.node(R);return _[R]=!0,C.neighbors(R).forEach($=>{Object.hasOwn(_,$)||(T=p(C,_,T,$,R))}),N.low=D,N.lim=T++,A?N.parent=A:delete N.parent,T}function f(C){return C.edges().find(_=>C.edge(_).cutvalue<0)}function g(C,_,T){var R=T.v,A=T.w;_.hasEdge(R,A)||(R=T.w,A=T.v);var D=C.node(R),N=C.node(A),$=D,M=!1;D.lim>N.lim&&($=N,M=!0);var j=_.edges().filter(L=>M===k(C,C.node(L.v),$)&&M!==k(C,C.node(L.w),$));return j.reduce((L,Y)=>r(_,Y)!_.node(A).parent),R=o(C,T);R=R.slice(1),R.forEach(A=>{var D=C.node(A).parent,N=_.edge(A,D),$=!1;N||(N=_.edge(D,A),$=!0),_.node(A).rank=_.node(D).rank+($?N.minlen:-N.minlen)})}function w(C,_,T){return C.hasEdge(_,T)}function k(C,_,T){return T.low<=_.lim&&_.lim<=T.lim}return fT}var mT,vJ;function aWe(){if(vJ)return mT;vJ=1;var e=O2(),r=e.longestPath,n=yJ(),o=oWe();mT=a;function a(c){var u=c.graph().ranker;if(u instanceof Function)return u(c);switch(c.graph().ranker){case"network-simplex":s(c);break;case"tight-tree":l(c);break;case"longest-path":i(c);break;case"none":break;default:s(c)}}var i=r;function l(c){r(c),n(c)}function s(c){o(c)}return mT}var gT,xJ;function iWe(){if(xJ)return gT;xJ=1,gT=e;function e(o){let a=n(o);o.graph().dummyChains.forEach(i=>{let l=o.node(i),s=l.edgeObj,c=r(o,a,s.v,s.w),u=c.path,d=c.lca,p=0,f=u[p],g=!0;for(;i!==s.w;){if(l=o.node(i),g){for(;(f=u[p])!==d&&o.node(f).maxRanku||d>a[p].lim));for(f=p,p=l;(p=o.parent(p))!==f;)c.push(p);return{path:s.concat(c.reverse()),lca:f}}function n(o){let a={},i=0;function l(s){let c=i;o.children(s).forEach(l),a[s]={low:c,lim:i++}}return o.children().forEach(l),a}return gT}var yT,wJ;function lWe(){if(wJ)return yT;wJ=1;let e=_n();yT={run:r,cleanup:i};function r(l){let s=e.addDummyNode(l,"root",{},"_root"),c=o(l),u=Object.values(c),d=e.applyWithChunking(Math.max,u)-1,p=2*d+1;l.graph().nestingRoot=s,l.edges().forEach(g=>l.edge(g).minlen*=p);let f=a(l)+1;l.children().forEach(g=>n(l,s,p,f,d,c,g)),l.graph().nodeRankFactor=p}function n(l,s,c,u,d,p,f){let g=l.children(f);if(!g.length){f!==s&&l.setEdge(s,f,{weight:0,minlen:c});return}let b=e.addBorderNode(l,"_bt"),x=e.addBorderNode(l,"_bb"),w=l.node(f);l.setParent(b,f),w.borderTop=b,l.setParent(x,f),w.borderBottom=x,g.forEach(k=>{n(l,s,c,u,d,p,k);let C=l.node(k),_=C.borderTop?C.borderTop:k,T=C.borderBottom?C.borderBottom:k,R=C.borderTop?u:2*u,A=_!==T?1:d-p[f]+1;l.setEdge(b,_,{weight:R,minlen:A,nestingEdge:!0}),l.setEdge(T,x,{weight:R,minlen:A,nestingEdge:!0})}),l.parent(f)||l.setEdge(s,b,{weight:0,minlen:d+p[f]})}function o(l){var s={};function c(u,d){var p=l.children(u);p&&p.length&&p.forEach(f=>c(f,d+1)),s[u]=d}return l.children().forEach(u=>c(u,1)),s}function a(l){return l.edges().reduce((s,c)=>s+l.edge(c).weight,0)}function i(l){var s=l.graph();l.removeNode(s.nestingRoot),delete s.nestingRoot,l.edges().forEach(c=>{var u=l.edge(c);u.nestingEdge&&l.removeEdge(c)})}return yT}var bT,kJ;function sWe(){if(kJ)return bT;kJ=1;let e=_n();bT=r;function r(o){function a(i){let l=o.children(i),s=o.node(i);if(l.length&&l.forEach(a),Object.hasOwn(s,"minRank")){s.borderLeft=[],s.borderRight=[];for(let c=s.minRank,u=s.maxRank+1;co(c.node(u))),c.edges().forEach(u=>o(c.edge(u)))}function o(c){let u=c.width;c.width=c.height,c.height=u}function a(c){c.nodes().forEach(u=>i(c.node(u))),c.edges().forEach(u=>{let d=c.edge(u);d.points.forEach(i),Object.hasOwn(d,"y")&&i(d)})}function i(c){c.y=-c.y}function l(c){c.nodes().forEach(u=>s(c.node(u))),c.edges().forEach(u=>{let d=c.edge(u);d.points.forEach(s),Object.hasOwn(d,"x")&&s(d)})}function s(c){let u=c.x;c.x=c.y,c.y=u}return vT}var xT,EJ;function uWe(){if(EJ)return xT;EJ=1;let e=_n();xT=r;function r(n){let o={},a=n.nodes().filter(u=>!n.children(u).length),i=a.map(u=>n.node(u).rank),l=e.applyWithChunking(Math.max,i),s=e.range(l+1).map(()=>[]);function c(u){if(o[u])return;o[u]=!0;let d=n.node(u);s[d.rank].push(u),n.successors(u).forEach(c)}return a.sort((u,d)=>n.node(u).rank-n.node(d).rank).forEach(c),s}return xT}var wT,SJ;function dWe(){if(SJ)return wT;SJ=1;let e=_n().zipObject;wT=r;function r(o,a){let i=0;for(let l=1;lg)),s=a.flatMap(f=>o.outEdges(f).map(g=>({pos:l[g.w],weight:o.edge(g).weight})).sort((g,b)=>g.pos-b.pos)),c=1;for(;c{let g=f.pos+c;d[g]+=f.weight;let b=0;for(;g>0;)g%2&&(b+=d[g+1]),g=g-1>>1,d[g]+=f.weight;p+=f.weight*b}),p}return wT}var kT,CJ;function pWe(){if(CJ)return kT;CJ=1,kT=e;function e(r,n=[]){return n.map(o=>{let a=r.inEdges(o);if(a.length){let i=a.reduce((l,s)=>{let c=r.edge(s),u=r.node(s.v);return{sum:l.sum+c.weight*u.order,weight:l.weight+c.weight}},{sum:0,weight:0});return{v:o,barycenter:i.sum/i.weight,weight:i.weight}}else return{v:o}})}return kT}var _T,TJ;function hWe(){if(TJ)return _T;TJ=1;let e=_n();_T=r;function r(a,i){let l={};a.forEach((c,u)=>{let d=l[c.v]={indegree:0,in:[],out:[],vs:[c.v],i:u};c.barycenter!==void 0&&(d.barycenter=c.barycenter,d.weight=c.weight)}),i.edges().forEach(c=>{let u=l[c.v],d=l[c.w];u!==void 0&&d!==void 0&&(d.indegree++,u.out.push(l[c.w]))});let s=Object.values(l).filter(c=>!c.indegree);return n(s)}function n(a){let i=[];function l(c){return u=>{u.merged||(u.barycenter===void 0||c.barycenter===void 0||u.barycenter>=c.barycenter)&&o(c,u)}}function s(c){return u=>{u.in.push(c),--u.indegree===0&&a.push(u)}}for(;a.length;){let c=a.pop();i.push(c),c.in.reverse().forEach(l(c)),c.out.forEach(s(c))}return i.filter(c=>!c.merged).map(c=>e.pick(c,["vs","i","barycenter","weight"]))}function o(a,i){let l=0,s=0;a.weight&&(l+=a.barycenter*a.weight,s+=a.weight),i.weight&&(l+=i.barycenter*i.weight,s+=i.weight),a.vs=i.vs.concat(a.vs),a.barycenter=l/s,a.weight=s,a.i=Math.min(i.i,a.i),i.merged=!0}return _T}var ET,RJ;function fWe(){if(RJ)return ET;RJ=1;let e=_n();ET=r;function r(a,i){let l=e.partition(a,b=>Object.hasOwn(b,"barycenter")),s=l.lhs,c=l.rhs.sort((b,x)=>x.i-b.i),u=[],d=0,p=0,f=0;s.sort(o(!!i)),f=n(u,c,f),s.forEach(b=>{f+=b.vs.length,u.push(b.vs),d+=b.barycenter*b.weight,p+=b.weight,f=n(u,c,f)});let g={vs:u.flat(!0)};return p&&(g.barycenter=d/p,g.weight=p),g}function n(a,i,l){let s;for(;i.length&&(s=i[i.length-1]).i<=l;)i.pop(),a.push(s.vs),l++;return l}function o(a){return(i,l)=>i.barycenterl.barycenter?1:a?l.i-i.i:i.i-l.i}return ET}var ST,AJ;function mWe(){if(AJ)return ST;AJ=1;let e=pWe(),r=hWe(),n=fWe();ST=o;function o(l,s,c,u){let d=l.children(s),p=l.node(s),f=p?p.borderLeft:void 0,g=p?p.borderRight:void 0,b={};f&&(d=d.filter(C=>C!==f&&C!==g));let x=e(l,d);x.forEach(C=>{if(l.children(C.v).length){let _=o(l,C.v,c,u);b[C.v]=_,Object.hasOwn(_,"barycenter")&&i(C,_)}});let w=r(x,c);a(w,b);let k=n(w,u);if(f&&(k.vs=[f,k.vs,g].flat(!0),l.predecessors(f).length)){let C=l.node(l.predecessors(f)[0]),_=l.node(l.predecessors(g)[0]);Object.hasOwn(k,"barycenter")||(k.barycenter=0,k.weight=0),k.barycenter=(k.barycenter*k.weight+C.order+_.order)/(k.weight+2),k.weight+=2}return k}function a(l,s){l.forEach(c=>{c.vs=c.vs.flatMap(u=>s[u]?s[u].vs:u)})}function i(l,s){l.barycenter!==void 0?(l.barycenter=(l.barycenter*l.weight+s.barycenter*s.weight)/(l.weight+s.weight),l.weight+=s.weight):(l.barycenter=s.barycenter,l.weight=s.weight)}return ST}var CT,NJ;function gWe(){if(NJ)return CT;NJ=1;let e=hl().Graph,r=_n();CT=n;function n(a,i,l){let s=o(a),c=new e({compound:!0}).setGraph({root:s}).setDefaultNodeLabel(u=>a.node(u));return a.nodes().forEach(u=>{let d=a.node(u),p=a.parent(u);(d.rank===i||d.minRank<=i&&i<=d.maxRank)&&(c.setNode(u),c.setParent(u,p||s),a[l](u).forEach(f=>{let g=f.v===u?f.w:f.v,b=c.edge(g,u),x=b!==void 0?b.weight:0;c.setEdge(g,u,{weight:a.edge(f).weight+x})}),Object.hasOwn(d,"minRank")&&c.setNode(u,{borderLeft:d.borderLeft[i],borderRight:d.borderRight[i]}))}),c}function o(a){for(var i;a.hasNode(i=r.uniqueId("_root")););return i}return CT}var TT,DJ;function yWe(){if(DJ)return TT;DJ=1,TT=e;function e(r,n,o){let a={},i;o.forEach(l=>{let s=r.parent(l),c,u;for(;s;){if(c=r.parent(s),c?(u=a[c],a[c]=s):(u=i,i=s),u&&u!==s){n.setEdge(u,s);return}s=c}})}return TT}var RT,PJ;function bWe(){if(PJ)return RT;PJ=1;let e=uWe(),r=dWe(),n=mWe(),o=gWe(),a=yWe(),i=hl().Graph,l=_n();RT=s;function s(p,f){if(f&&typeof f.customOrder=="function"){f.customOrder(p,s);return}let g=l.maxRank(p),b=c(p,l.range(1,g+1),"inEdges"),x=c(p,l.range(g-1,-1,-1),"outEdges"),w=e(p);if(d(p,w),f&&f.disableOptimalOrderHeuristic)return;let k=Number.POSITIVE_INFINITY,C;for(let _=0,T=0;T<4;++_,++T){u(_%2?b:x,_%4>=2),w=l.buildLayerMatrix(p);let R=r(p,w);Rb.node(k).order=C),a(b,g,w.vs)})}function d(p,f){Object.values(f).forEach(g=>g.forEach((b,x)=>p.node(b).order=x))}return RT}var AT,$J;function vWe(){if($J)return AT;$J=1;let e=hl().Graph,r=_n();AT={positionX:g,findType1Conflicts:n,findType2Conflicts:o,addConflict:i,hasConflict:l,verticalAlignment:s,horizontalCompaction:c,alignCoordinates:p,findSmallestWidthAlignment:d,balance:f};function n(w,k){let C={};function _(T,R){let A=0,D=0,N=T.length,$=R[R.length-1];return R.forEach((M,j)=>{let L=a(w,M),Y=L?w.node(L).order:N;(L||M===$)&&(R.slice(D,j+1).forEach(O=>{w.predecessors(O).forEach(U=>{let I=w.node(U),q=I.order;(q{M=R[j],w.node(M).dummy&&w.predecessors(M).forEach(L=>{let Y=w.node(L);Y.dummy&&(Y.order$)&&i(C,L,M)})})}function T(R,A){let D=-1,N,$=0;return A.forEach((M,j)=>{if(w.node(M).dummy==="border"){let L=w.predecessors(M);L.length&&(N=w.node(L[0]).order,_(A,$,j,D,N),$=j,D=N)}_(A,$,A.length,N,R.length)}),A}return k.length&&k.reduce(T),C}function a(w,k){if(w.node(k).dummy)return w.predecessors(k).find(C=>w.node(C).dummy)}function i(w,k,C){if(k>C){let T=k;k=C,C=T}let _=w[k];_||(w[k]=_={}),_[C]=!0}function l(w,k,C){if(k>C){let _=k;k=C,C=_}return!!w[k]&&Object.hasOwn(w[k],C)}function s(w,k,C,_){let T={},R={},A={};return k.forEach(D=>{D.forEach((N,$)=>{T[N]=N,R[N]=N,A[N]=$})}),k.forEach(D=>{let N=-1;D.forEach($=>{let M=_($);if(M.length){M=M.sort((L,Y)=>A[L]-A[Y]);let j=(M.length-1)/2;for(let L=Math.floor(j),Y=Math.ceil(j);L<=Y;++L){let O=M[L];R[$]===$&&NMath.max(L,R[Y.v]+A.edge(Y)),0)}function M(j){let L=A.outEdges(j).reduce((O,U)=>Math.min(O,R[U.w]-A.edge(U)),Number.POSITIVE_INFINITY),Y=w.node(j);L!==Number.POSITIVE_INFINITY&&Y.borderType!==D&&(R[j]=Math.max(R[j],L))}return N($,A.predecessors.bind(A)),N(M,A.successors.bind(A)),Object.keys(_).forEach(j=>R[j]=R[C[j]]),R}function u(w,k,C,_){let T=new e,R=w.graph(),A=b(R.nodesep,R.edgesep,_);return k.forEach(D=>{let N;D.forEach($=>{let M=C[$];if(T.setNode(M),N){var j=C[N],L=T.edge(j,M);T.setEdge(j,M,Math.max(A(w,$,N),L||0))}N=$})}),T}function d(w,k){return Object.values(k).reduce((C,_)=>{let T=Number.NEGATIVE_INFINITY,R=Number.POSITIVE_INFINITY;Object.entries(_).forEach(([D,N])=>{let $=x(w,D)/2;T=Math.max(N+$,T),R=Math.min(N-$,R)});const A=T-R;return A{["l","r"].forEach(A=>{let D=R+A,N=w[D];if(N===k)return;let $=Object.values(N),M=_-r.applyWithChunking(Math.min,$);A!=="l"&&(M=T-r.applyWithChunking(Math.max,$)),M&&(w[D]=r.mapValues(N,j=>j+M))})})}function f(w,k){return r.mapValues(w.ul,(C,_)=>{if(k)return w[k.toLowerCase()][_];{let T=Object.values(w).map(R=>R[_]).sort((R,A)=>R-A);return(T[1]+T[2])/2}})}function g(w){let k=r.buildLayerMatrix(w),C=Object.assign(n(w,k),o(w,k)),_={},T;["u","d"].forEach(A=>{T=A==="u"?k:Object.values(k).reverse(),["l","r"].forEach(D=>{D==="r"&&(T=T.map(j=>Object.values(j).reverse()));let N=(A==="u"?w.predecessors:w.successors).bind(w),$=s(w,T,C,N),M=c(w,T,$.root,$.align,D==="r");D==="r"&&(M=r.mapValues(M,j=>-j)),_[A+D]=M})});let R=d(w,_);return p(_,R),f(_,w.graph().align)}function b(w,k,C){return(_,T,R)=>{let A=_.node(T),D=_.node(R),N=0,$;if(N+=A.width/2,Object.hasOwn(A,"labelpos"))switch(A.labelpos.toLowerCase()){case"l":$=-A.width/2;break;case"r":$=A.width/2;break}if($&&(N+=C?$:-$),$=0,N+=(A.dummy?k:w)/2,N+=(D.dummy?k:w)/2,N+=D.width/2,Object.hasOwn(D,"labelpos"))switch(D.labelpos.toLowerCase()){case"l":$=D.width/2;break;case"r":$=-D.width/2;break}return $&&(N+=C?$:-$),$=0,N}}function x(w,k){return w.node(k).width}return AT}var NT,MJ;function xWe(){if(MJ)return NT;MJ=1;let e=_n(),r=vWe().positionX;NT=n;function n(a){a=e.asNonCompoundGraph(a),o(a),Object.entries(r(a)).forEach(([i,l])=>a.node(i).x=l)}function o(a){let i=e.buildLayerMatrix(a),l=a.graph().ranksep,s=0;i.forEach(c=>{const u=c.reduce((d,p)=>{const f=a.node(p).height;return d>f?d:f},0);c.forEach(d=>a.node(d).y=s+u/2),s+=u+l})}return NT}var DT,OJ;function wWe(){if(OJ)return DT;OJ=1;let e=rWe(),r=nWe(),n=aWe(),o=_n().normalizeRanks,a=iWe(),i=_n().removeEmptyRanks,l=lWe(),s=sWe(),c=cWe(),u=bWe(),d=xWe(),p=_n(),f=hl().Graph;DT=g;function g(z,W){let X=W&&W.debugTiming?p.time:p.notime;X("layout",()=>{let Z=X(" buildLayoutGraph",()=>N(z));X(" runLayout",()=>b(Z,X,W)),X(" updateInputGraph",()=>x(z,Z))})}function b(z,W,X){W(" makeSpaceForEdgeLabels",()=>$(z)),W(" removeSelfEdges",()=>V(z)),W(" acyclic",()=>e.run(z)),W(" nestingGraph.run",()=>l.run(z)),W(" rank",()=>n(p.asNonCompoundGraph(z))),W(" injectEdgeLabelProxies",()=>M(z)),W(" removeEmptyRanks",()=>i(z)),W(" nestingGraph.cleanup",()=>l.cleanup(z)),W(" normalizeRanks",()=>o(z)),W(" assignRankMinMax",()=>j(z)),W(" removeEdgeLabelProxies",()=>L(z)),W(" normalize.run",()=>r.run(z)),W(" parentDummyChains",()=>a(z)),W(" addBorderSegments",()=>s(z)),W(" order",()=>u(z,X)),W(" insertSelfEdges",()=>G(z)),W(" adjustCoordinateSystem",()=>c.adjust(z)),W(" position",()=>d(z)),W(" positionSelfEdges",()=>F(z)),W(" removeBorderNodes",()=>q(z)),W(" normalize.undo",()=>r.undo(z)),W(" fixupEdgeLabelCoords",()=>U(z)),W(" undoCoordinateSystem",()=>c.undo(z)),W(" translateGraph",()=>Y(z)),W(" assignNodeIntersects",()=>O(z)),W(" reversePoints",()=>I(z)),W(" acyclic.undo",()=>e.undo(z))}function x(z,W){z.nodes().forEach(X=>{let Z=z.node(X),oe=W.node(X);Z&&(Z.x=oe.x,Z.y=oe.y,Z.rank=oe.rank,W.children(X).length&&(Z.width=oe.width,Z.height=oe.height))}),z.edges().forEach(X=>{let Z=z.edge(X),oe=W.edge(X);Z.points=oe.points,Object.hasOwn(oe,"x")&&(Z.x=oe.x,Z.y=oe.y)}),z.graph().width=W.graph().width,z.graph().height=W.graph().height}let w=["nodesep","edgesep","ranksep","marginx","marginy"],k={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},C=["acyclicer","ranker","rankdir","align"],_=["width","height","rank"],T={width:0,height:0},R=["minlen","weight","width","height","labeloffset"],A={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},D=["labelpos"];function N(z){let W=new f({multigraph:!0,compound:!0}),X=Q(z.graph());return W.setGraph(Object.assign({},k,J(X,w),p.pick(X,C))),z.nodes().forEach(Z=>{let oe=Q(z.node(Z));const ee=J(oe,_);Object.keys(T).forEach(re=>{ee[re]===void 0&&(ee[re]=T[re])}),W.setNode(Z,ee),W.setParent(Z,z.parent(Z))}),z.edges().forEach(Z=>{let oe=Q(z.edge(Z));W.setEdge(Z,Object.assign({},A,J(oe,R),p.pick(oe,D)))}),W}function $(z){let W=z.graph();W.ranksep/=2,z.edges().forEach(X=>{let Z=z.edge(X);Z.minlen*=2,Z.labelpos.toLowerCase()!=="c"&&(W.rankdir==="TB"||W.rankdir==="BT"?Z.width+=Z.labeloffset:Z.height+=Z.labeloffset)})}function M(z){z.edges().forEach(W=>{let X=z.edge(W);if(X.width&&X.height){let Z=z.node(W.v),oe={rank:(z.node(W.w).rank-Z.rank)/2+Z.rank,e:W};p.addDummyNode(z,"edge-proxy",oe,"_ep")}})}function j(z){let W=0;z.nodes().forEach(X=>{let Z=z.node(X);Z.borderTop&&(Z.minRank=z.node(Z.borderTop).rank,Z.maxRank=z.node(Z.borderBottom).rank,W=Math.max(W,Z.maxRank))}),z.graph().maxRank=W}function L(z){z.nodes().forEach(W=>{let X=z.node(W);X.dummy==="edge-proxy"&&(z.edge(X.e).labelRank=X.rank,z.removeNode(W))})}function Y(z){let W=Number.POSITIVE_INFINITY,X=0,Z=Number.POSITIVE_INFINITY,oe=0,ee=z.graph(),re=ee.marginx||0,pe=ee.marginy||0;function Ce(ce){let de=ce.x,be=ce.y,Oe=ce.width,Xe=ce.height;W=Math.min(W,de-Oe/2),X=Math.max(X,de+Oe/2),Z=Math.min(Z,be-Xe/2),oe=Math.max(oe,be+Xe/2)}z.nodes().forEach(ce=>Ce(z.node(ce))),z.edges().forEach(ce=>{let de=z.edge(ce);Object.hasOwn(de,"x")&&Ce(de)}),W-=re,Z-=pe,z.nodes().forEach(ce=>{let de=z.node(ce);de.x-=W,de.y-=Z}),z.edges().forEach(ce=>{let de=z.edge(ce);de.points.forEach(be=>{be.x-=W,be.y-=Z}),Object.hasOwn(de,"x")&&(de.x-=W),Object.hasOwn(de,"y")&&(de.y-=Z)}),ee.width=X-W+re,ee.height=oe-Z+pe}function O(z){z.edges().forEach(W=>{let X=z.edge(W),Z=z.node(W.v),oe=z.node(W.w),ee,re;X.points?(ee=X.points[0],re=X.points[X.points.length-1]):(X.points=[],ee=oe,re=Z),X.points.unshift(p.intersectRect(Z,ee)),X.points.push(p.intersectRect(oe,re))})}function U(z){z.edges().forEach(W=>{let X=z.edge(W);if(Object.hasOwn(X,"x"))switch((X.labelpos==="l"||X.labelpos==="r")&&(X.width-=X.labeloffset),X.labelpos){case"l":X.x-=X.width/2+X.labeloffset;break;case"r":X.x+=X.width/2+X.labeloffset;break}})}function I(z){z.edges().forEach(W=>{let X=z.edge(W);X.reversed&&X.points.reverse()})}function q(z){z.nodes().forEach(W=>{if(z.children(W).length){let X=z.node(W),Z=z.node(X.borderTop),oe=z.node(X.borderBottom),ee=z.node(X.borderLeft[X.borderLeft.length-1]),re=z.node(X.borderRight[X.borderRight.length-1]);X.width=Math.abs(re.x-ee.x),X.height=Math.abs(oe.y-Z.y),X.x=ee.x+X.width/2,X.y=Z.y+X.height/2}}),z.nodes().forEach(W=>{z.node(W).dummy==="border"&&z.removeNode(W)})}function V(z){z.edges().forEach(W=>{if(W.v===W.w){var X=z.node(W.v);X.selfEdges||(X.selfEdges=[]),X.selfEdges.push({e:W,label:z.edge(W)}),z.removeEdge(W)}})}function G(z){var W=p.buildLayerMatrix(z);W.forEach(X=>{var Z=0;X.forEach((oe,ee)=>{var re=z.node(oe);re.order=ee+Z,(re.selfEdges||[]).forEach(pe=>{p.addDummyNode(z,"selfedge",{width:pe.label.width,height:pe.label.height,rank:re.rank,order:ee+ ++Z,e:pe.e,label:pe.label},"_se")}),delete re.selfEdges})})}function F(z){z.nodes().forEach(W=>{var X=z.node(W);if(X.dummy==="selfedge"){var Z=z.node(X.e.v),oe=Z.x+Z.width/2,ee=Z.y,re=X.x-oe,pe=Z.height/2;z.setEdge(X.e,X.label),z.removeNode(W),X.label.points=[{x:oe+2*re/3,y:ee-pe},{x:oe+5*re/6,y:ee-pe},{x:oe+re,y:ee},{x:oe+5*re/6,y:ee+pe},{x:oe+2*re/3,y:ee+pe}],X.label.x=X.x,X.label.y=X.y}})}function J(z,W){return p.mapValues(p.pick(z,W),Number)}function Q(z){var W={};return z&&Object.entries(z).forEach(([X,Z])=>{typeof X=="string"&&(X=X.toLowerCase()),W[X]=Z}),W}return DT}var PT,IJ;function kWe(){if(IJ)return PT;IJ=1;let e=_n(),r=hl().Graph;PT={debugOrdering:n};function n(o){let a=e.buildLayerMatrix(o),i=new r({compound:!0,multigraph:!0}).setGraph({});return o.nodes().forEach(l=>{i.setNode(l,{label:l}),i.setParent(l,"layer"+o.node(l).rank)}),o.edges().forEach(l=>i.setEdge(l.v,l.w,{},l.name)),a.forEach((l,s)=>{let c="layer"+s;i.setNode(c,{rank:"same"}),l.reduce((u,d)=>(i.setEdge(u,d,{style:"invis"}),d))}),i}return PT}var LJ,zJ;function _We(){return zJ||(zJ=1,LJ="1.1.5"),LJ}var BJ,jJ;function EWe(){return jJ||(jJ=1,BJ={graphlib:hl(),layout:wWe(),debug:kWe(),util:{time:_n().time,notime:_n().notime},version:_We()}),BJ}var SWe=EWe();const I2=DE(SWe),go={dagre:{ranksep:60,nodesep:35,edgesep:25},edgeLabel:{width:140,height:10,minlen:1,weight:1},emptyNodeOffset:120,nodeWidth:330,nodeHeight:180,compound:{labelHeight:2,paddingTop:50,paddingBottom:32}};function CWe(){const e=new I2.graphlib.Graph({directed:!0,compound:!0,multigraph:!0});return e.setGraph({...go.dagre,rankdir:"LR"}),e.setDefaultEdgeLabel(()=>({...go.edgeLabel})),e.setDefaultNodeLabel(()=>({})),e}const $T="-port";function MT(e,r,n){const o=new so(i=>({id:`${e}-${i}`,portId:`${e}-${i}`})),a=z3(r);for(const i of a.sorted){const l=a.children(i).length>0,s=i.id,c=`${e}-${s}`,u=l?`${c}${$T}`:c;o.set(s,{id:c,portId:u}),n.setNode(c,{column:e,element:i,isCompound:l,portId:u,inPorts:[],outPorts:[],width:go.nodeWidth,height:go.nodeHeight}),l&&(n.setNode(u,{element:i,portId:u,isCompound:l,inPorts:[],outPorts:[],width:go.nodeWidth-go.dagre.ranksep,height:go.compound.labelHeight}),n.setParent(u,c));const d=a.parent(i);d&&n.setParent(c,`${e}-${d.id}`)}return{...a,byId:i=>{const l=a.byId(i),s=o.get(l.id);return{element:l,graph:s}},graphNodes:o}}function TWe(e){return I2.layout(e,{}),r=>{const n=e.node(r),{x:o,y:a,width:i,height:l}=n;return{position:{x:o-Math.round(i/2),y:a-Math.round(l/2)},width:i,height:l}}}var L2;(e=>{e.Empty="@empty"})(L2||(L2={}));function RWe(e,r){const n=CWe(),o=MT("incomers",e.incomers,n),a=MT("subjects",e.subjects,n),i=MT("outgoers",e.outgoers,n),l=[];yn(cNe(yn(K1(e.incoming),Ro(T=>({id:T.source.id,sourceFqn:T.source.id,targetFqn:T.target.id,source:o.byId(T.source.id).graph,target:a.byId(T.target.id).graph,relation:T}))),yn(K1(e.outgoing),Ro(T=>({id:T.target.id,sourceFqn:T.source.id,targetFqn:T.target.id,source:a.byId(T.source.id).graph,target:i.byId(T.target.id).graph,relation:T})))),Ro(T=>({...T,expr:`${T.source.id}->${T.target.id}`})),ANe(Ca("expr")),TNe(T=>{const R=T[0].source,A=T[0].target,D=T[0].expr;n.node(R.id).outPorts.push(A.id),n.node(A.id).inPorts.push(R.id),n.setEdge(R.portId,A.portId,{...go.edgeLabel},D),l.push({name:D,sourceFqn:T[0].sourceFqn,targetFqn:T[0].targetFqn,source:R.id,sourceHandle:R.id+"_out"+(n.node(R.id).outPorts.length-1),target:A.id,targetHandle:A.id+"_in"+(n.node(A.id).inPorts.length-1),relations:Ro(T,Ca("relation"))})}));for(const T of a.graphNodes.values()){const R=T.id,A=n.node(R);if(A.isCompound)continue;const D=Math.max(n.inEdges(R)?.length??0,n.outEdges(R)?.length??0);D>2&&(A.height=A.height+(D-3)*14)}const s=[...o.graphNodes.values(),...a.graphNodes.values(),...i.graphNodes.values()];if(o.graphNodes.size==0){const T="incomers-empty";n.setNode(T,{column:"incomers",element:null,isCompound:!1,portId:T,inPorts:[],outPorts:[],width:go.nodeWidth,height:go.nodeHeight});for(const R of a.graphNodes.values())n.setEdge(T,R.portId);s.push({id:T,portId:T})}if(i.graphNodes.size==0){const T="outgoers-empty";n.setNode(T,{column:"outgoers",element:null,isCompound:!1,portId:T,inPorts:[],outPorts:[],width:go.nodeWidth,height:go.nodeHeight});for(const R of a.graphNodes.values())n.setEdge(R.portId,T);s.push({id:T,portId:T})}const c=n.edgeCount();if(c>10)for(const T of n.edges())n.setEdge(T,{...go.edgeLabel,width:c>25?800:400});const u=TWe(n),d=yn(s,df(T=>T.id===T.portId),E0(T=>[T.id,u(T.id)]));function p(T){return d[T]??=yn(n.children(T)??[],df(R=>!R.endsWith($T)),Ro(R=>p(R)),uU(R=>{nt(R.length>0,`Node ${T} has no nested nodes`)}),hf((R,A)=>({minY:Math.min(R.minY,A.position.y),maxY:Math.max(R.maxY,A.position.y+A.height)}),{minY:1/0,maxY:-1/0}),({minY:R,maxY:A})=>{const{position:{x:D},width:N}=u(T);return R=R-go.compound.paddingTop,A=A+go.compound.paddingBottom,{position:{x:D,y:R},width:N,height:A-R}})}function f(T){const R=n.parent(T);return R?f(R)+1:0}function g(T){const R=n.children(T)??[];return R.length===0?0:1+Math.max(...R.map(g))}const b=(T,R,A)=>yn(A,Ro((D,N)=>({port:T+"_"+R+N,topY:p(D).position.y})),Bx(Ca("topY")),Ro(Ca("port")));let x=0,w=0;const[k]=[...a.root];nt(k,"Subjects should not be empty");let C=p(a.graphNodes.get(k.id).id);const _=s.map(({id:T})=>{const{element:R,inPorts:A,outPorts:D,column:N}=n.node(T);let{position:$,width:M,height:j}=p(T);if(!R){if(j=Math.min(C.height,300),$.y=C.position.y+C.height/2-j/2,N==="incomers")M=C.position.x-go.emptyNodeOffset-$.x;else{const V=$.x+M;$.x=C.position.x+C.width+go.emptyNodeOffset,M=V-$.x}return{id:T,parent:null,x:$.x,y:$.y,title:"empty node",description:Kt.EMPTY,technology:null,tags:[],links:[],color:"muted",shape:"rectangle",style:{border:"dashed",opacity:50},kind:L2.Empty,level:0,labelBBox:{x:$.x,y:$.y,width:M,height:j},children:[],width:M,height:j,column:N,ports:{in:[],out:[]},existsInCurrentView:!1}}const L=n.parent(T),Y=(n.children(T)??[]).filter(V=>!V.endsWith($T));x=Math.min(x,$.x),w=Math.min(w,$.y);const O=r?X1(R.scopedViews(),V=>V.id!==r.id)?.id??null:null,U=r?.findNodeWithElement(R.id),I=r&&!U?X1(R.ancestors(),V=>!!r.findNodeWithElement(V.id))?.id:null,q=U??(I&&r?.findNodeWithElement(I));return{id:T,parent:L??null,x:$.x,y:$.y,title:R.title,description:R.summary,technology:R.technology,tags:[...R.tags],links:null,color:q?.color??R.color,shape:U?.shape??R.shape,icon:U?.icon??R.icon??"none",modelRef:R.id,kind:R.kind,level:f(T),labelBBox:{x:$.x,y:$.y,width:M,height:j},style:Ud({...(U??q)?.style,...R.$element.style},["color","shape","icon"]),navigateTo:O,...Y.length>0&&{depth:g(T)},children:Y,width:M,height:j,column:N,ports:{in:b(T,"in",A),out:b(T,"out",D)},existsInCurrentView:!!U}});return{subjectExistsInScope:!r||r.includesElement(k.id),bounds:{x:Math.min(x,0),y:Math.min(w,0),width:n.graph().width??100,height:n.graph().height??100},nodes:_,edges:n.edges().reduce((T,R)=>{const A=n.edge(R),D=R.name;if(!D)return T;const{name:N,source:$,sourceFqn:M,target:j,targetFqn:L,relations:Y,sourceHandle:O,targetHandle:U}=mt(Lx(l,F=>F.name===D)),I=zx(Y),q=I?.title??"untitled",V=Y.length>1,G=zx(YE(Y.flatMap(F=>F.navigateTo?.id?F.navigateTo.id:[])));return T.push(U1({id:N,sourceFqn:M,source:$,sourceHandle:O,targetFqn:L,target:j,targetHandle:U,label:V?`${Y.length} relationships`:q,navigateTo:G,color:I?.color??"gray",existsInCurrentView:!r||Y.every(F=>r.includesRelation(F.id)),points:A.points.map(F=>[F.x,F.y]),line:I?.line??"dashed",head:I?.head,tail:I?.tail,relations:Y.map(F=>F.id),parent:null})),T},[])}}function AWe(e,r,n){const o=Ho();return E.useMemo(()=>{const a=r?o.findView(r):null,i=RWe(dj(e,o,r,n),n==="view"?a:null);return a&&(n==="global"||!i.subjectExistsInScope)&&(i.edges=i.edges.map(l=>(l.existsInCurrentView=l.relations.every(s=>a.includesRelation(s)),l))),Object.assign(i,{subject:e})},[o,e,r,n,dj])}const Cy=(e,r)=>r3(e.label,r.label);function OT(e){return{label:e.title,value:e.id,children:[...e.children()].map(OT).sort(Cy)}}function NWe(e){const r=Ho();return E.useMemo(()=>e?[...r.view(e).roots()].map(OT).sort(Cy):[...r.roots()].map(OT).sort(Cy),[r,e??null])}const DWe=ye({margin:"0"}),PWe=ye({_hover:{backgroundColor:"mantine.colors.gray[0]",_dark:{backgroundColor:"mantine.colors.defaultHover",color:"mantine.colors.white"}}}),FJ=ye({maxHeight:["70vh","calc(100cqh - 70px)"]}),$We=Object.freeze(Object.defineProperty({__proto__:null,label:PWe,node:DWe,scrollArea:FJ},Symbol.toStringTag,{value:"Module"}));/** + */const aWe=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 9h.01",key:"svg-1"}],["path",{d:"M11 12h1v4h1",key:"svg-2"}]],WC=xt("outline","info-circle","InfoCircle",aWe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const MWe=[["path",{d:"M8 9l4 -4l4 4",key:"svg-0"}],["path",{d:"M16 15l-4 4l-4 -4",key:"svg-1"}]],IT=yt("outline","selector","Selector",MWe);/** + */const iWe=[["path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-0"}],["path",{d:"M12 12m-5 0a5 5 0 1 0 10 0a5 5 0 1 0 -10 0",key:"svg-1"}],["path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-2"}]],lWe=xt("outline","target","Target",iWe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const OWe=[["path",{d:"M9 6l6 6l-6 6",key:"svg-0"}]],pp=yt("outline","chevron-right","ChevronRight",OWe),IWe=e=>{const r=e.context.layouted?.subjectExistsInScope??!1;return{subjectId:e.context.subject,viewId:e.context.viewId,scope:e.context.scope,subjectExistsInScope:r,enableSelectSubject:e.context.enableSelectSubject,enableChangeScope:e.context.enableChangeScope}},LWe=()=>{},zWe=E.memo(()=>{const e=Sy(),{subjectId:r,viewId:n,scope:o,subjectExistsInScope:a,enableSelectSubject:i,enableChangeScope:l}=M2(IWe),s=E.useRef(null),c=E.useRef(null),u=Ho().findElement(r),d=NWe(o==="view"&&n?n:void 0),p=Y0({multiple:!1});return p.setHoveredNode=LWe,E.useEffect(()=>{bd(r).reverse().forEach(f=>{p.expand(f)}),p.select(r)},[r]),y.jsxs(qr,{ref:s,gap:"xs",pos:"relative",children:[i&&y.jsxs(qr,{gap:4,wrap:"nowrap",children:[y.jsx(Se,{fz:"xs",fw:"500",style:{whiteSpace:"nowrap",userSelect:"none"},children:"Relationships of"}),y.jsx(Se,{pos:"relative",children:y.jsxs(mr,{position:"bottom-start",shadow:"md",keepMounted:!1,withinPortal:!1,closeOnClickOutside:!0,clickOutsideEvents:["pointerdown","mousedown","click"],offset:4,onOpen:()=>{setTimeout(()=>{c.current?.querySelector(`[data-value="${r}"]`)?.scrollIntoView({behavior:"instant",block:"nearest"})},100)},children:[y.jsx(fu,{children:y.jsx(Zn,{size:"xs",variant:"default",maw:250,rightSection:y.jsx(IT,{size:16}),children:y.jsx(wt,{fz:"xs",fw:"500",truncate:!0,children:u?.title??"???"})})}),y.jsx(Gs,{p:0,miw:250,maw:400,children:y.jsx(ta,{scrollbars:"y",type:"never",viewportRef:c,className:FJ,children:y.jsx(jf,{allowRangeSelection:!1,selectOnClick:!1,tree:p,data:d,classNames:$We,levelOffset:8,styles:{root:{maxWidth:400,overflow:"hidden"},label:{paddingTop:5,paddingBottom:6}},renderNode:({node:f,selected:g,expanded:b,elementProps:x,hasChildren:w})=>y.jsxs(qr,{gap:2,wrap:"nowrap",...x,py:"3",children:[y.jsx(or,{variant:"subtle",size:18,c:"dimmed",style:{visibility:w?"visible":"hidden"},children:y.jsx(pp,{stroke:3.5,style:{transition:"transform 150ms ease",transform:`rotate(${b?"90deg":"0"})`,width:"80%"}})}),y.jsx(Se,{flex:"1 1 100%",w:"100%",onClick:k=>{k.stopPropagation(),p.select(f.value),p.expand(f.value),e.navigateTo(f.value)},children:y.jsx(wt,{fz:"sm",fw:g?"600":"400",truncate:"end",children:f.label})})]})})})})]})})]}),l&&y.jsxs(qr,{gap:4,wrap:"nowrap",children:[i&&y.jsx(Se,{fz:"xs",fw:"500",...!a&&{c:"dimmed"},style:{whiteSpace:"nowrap",userSelect:"none"},children:"Scope"}),y.jsx("div",{children:y.jsx(fo,{color:"orange",label:y.jsxs(y.Fragment,{children:["This element does not exist in the current view",o==="view"&&y.jsxs(y.Fragment,{children:[y.jsx("br",{}),"Scope is set to global"]})]}),position:"bottom-start",disabled:a,portalProps:{target:s.current},children:y.jsx(q0,{flex:"1 0 auto",size:"xs",withItemsBorders:!1,value:o,styles:{label:{paddingLeft:8,paddingRight:8}},onChange:f=>{e.changeScope(f)},data:[{label:"Global",value:"global"},{label:y.jsx("span",{children:"Current view"}),value:"view",disabled:!a}]})})})]})]})}),z2=(e,r)=>Math.abs(e-r)<2.5,BWe=(e,r)=>e.id===r.id&&ut(e.selected??!1,r.selected??!1)&&ut(e.animated??!1,r.animated??!1)&&ut(e.source,r.source)&&ut(e.sourceHandleId??null,r.sourceHandleId??null)&&ut(e.sourcePosition,r.sourcePosition)&&ut(e.target,r.target)&&ut(e.targetHandleId??null,r.targetHandleId??null)&&ut(e.targetPosition,r.targetPosition)&&z2(e.sourceX,r.sourceX)&&z2(e.sourceY,r.sourceY)&&z2(e.targetX,r.targetX)&&z2(e.targetY,r.targetY)&&ut(e.data,r.data);function LT(e){return E.memo(e,BWe)}const jWe=["Controls","ReadOnly","FocusMode","NavigateTo","ElementDetails","RelationshipDetails","RelationshipBrowser","Search","NavigationButtons","Notations","DynamicViewWalkthrough","EdgeEditing","FitView","Vscode","ElementTags"],HJ=E0(jWe,e=>[`enable${e}`,!1]),zT=E.createContext(HJ),FWe=e=>{let{enableReadOnly:r,enableEdgeEditing:n,...o}=e;return r&&(n=!1),{enableReadOnly:r,enableEdgeEditing:n,...o}};function hp({children:e,features:r,overrides:n}){const o=E.useContext(zT),[a,i]=E.useState(o);return E.useEffect(()=>{i(l=>{const s=FWe({...o,...r,...n});return Gn(l,s)?l:s})},[o,r,n]),y.jsx(zT.Provider,{value:a,children:e})}hp.Overlays=({children:e})=>y.jsx(hp,{overrides:{enableControls:!1,enableReadOnly:!0,enableEdgeEditing:!1},children:e});function wr(){return E.useContext(zT)}function HWe({feature:e,children:r,and:n=!0}){return wr()[`enable${e}`]===!0&&n?y.jsx(y.Fragment,{children:r}):null}function BT(e,r){return w2(e,r)}const fl=BT("button"),Qr=BT("div"),qWe=BT("span"),Ty=E.forwardRef(({edgeProps:{id:e,data:{label:r,technology:n,hovered:o=!1},selected:a=!1,selectable:i=!1},className:l,style:s,children:c,...u},d)=>{const p=v1(e)?jI(e):null,f=OVe({isStepEdge:p!==null,cursor:i||p!==null?"pointer":"default"}),g=Sa(r)||Sa(n);return y.jsxs(Qr,{ref:d,className:Je(f.root,"likec4-edge-label",l),"data-edge-id":e,animate:{scale:o&&!a?1.06:1},...u,children:[p!==null&&y.jsx(Ur,{className:f.stepNumber,children:p}),g&&y.jsxs(Ur,{className:f.labelContents,children:[Sa(r)&&y.jsx(Ur,{className:Je(f.labelText,ye({lineClamp:5})),children:r}),Sa(n)&&y.jsx(Ur,{className:f.labelTechnology,children:"[ "+n+" ]"}),c]})]})});Ty.displayName="EdgeLabel";function B2({icon:e,onClick:r}){return y.jsx(or,{className:Je("nodrag nopan",EVe()),onPointerDownCapture:cn,onClick:r,role:"button",onDoubleClick:cn,children:e??y.jsx(gi,{})})}const UWe=".react-flow__edge.selected",VWe=ye({_reduceGraphics:{transition:"none"}}),YWe=ye({pointerEvents:"none",fill:"none",strokeWidth:"calc(var(--xy-edge-stroke-width) + 2)",strokeOpacity:.08,_noReduceGraphics:{transitionProperty:"stroke-width, stroke-opacity",transitionDuration:"fast",transitionTimingFunction:"inOut"},_whenHovered:{transitionTimingFunction:"out",strokeWidth:"calc(var(--xy-edge-stroke-width) + 4)",strokeOpacity:.2},_whenSelected:{strokeWidth:"calc(var(--xy-edge-stroke-width) + 6)",strokeOpacity:.25,_whenHovered:{strokeOpacity:.4}}}),WWe=ye({fill:"[var(--xy-edge-stroke)]",stroke:"[var(--xy-edge-stroke)]"}),GWe=ye({fill:"none",strokeDashoffset:0,_noReduceGraphics:{animationStyle:"xyedgeAnimated",animationPlayState:"paused",transition:"stroke 130ms ease-out,stroke-width 130ms ease-out"},":where([data-edge-dir='back']) &":{animationDirection:"reverse"},_whenHovered:{_noReduceGraphics:{animationPlayState:"running",animationDelay:"450ms"}},[`:where(${UWe}, [data-edge-active='true'], [data-edge-animated='true']) &`]:{_noReduceGraphics:{animationPlayState:"running",animationDelay:"0ms"}},_whenDimmed:{animationPlayState:"paused"},_smallZoom:{animationName:"none"},_whenPanning:{strokeDasharray:"none !important",animationPlayState:"paused"}});function Ry({className:e,component:r="g",data:{color:n="gray",hovered:o=!1,active:a=!1,dimmed:i=!1,...l},children:s,style:c}){const u={className:Je(e,VWe,"likec4-edge-container"),"data-likec4-color":n,"data-edge-dir":l.dir??"forward","data-edge-active":a,"data-edge-animated":a,"data-likec4-hovered":o,...i!==!1&&{"data-likec4-dimmed":i}};return r==="svg"?y.jsx("svg",{style:c,...u,children:s}):(nt(r==="g",'EdgeContainer: component must be "g" or "svg"'),y.jsx("g",{style:c,...u,children:s}))}const XWe=e=>y.jsx("marker",{viewBox:"-4 -4 14 16",refX:5,refY:4,markerWidth:"7",markerHeight:"8",preserveAspectRatio:"xMaxYMid meet",orient:"auto-start-reverse",...e,children:y.jsx("path",{d:"M0,0 L7,4 L0,8 L4,4 Z",stroke:"context-stroke",fill:"context-stroke",strokeDasharray:0,strokeWidth:1,strokeLinecap:"round"})}),KWe=e=>y.jsx("marker",{viewBox:"-1 -1 12 10",refX:4,refY:3,markerWidth:"8",markerHeight:"6",preserveAspectRatio:"xMaxYMid meet",orient:"auto-start-reverse",...e,children:y.jsx("path",{d:"M 0 0 L 8 3 L 0 6 L 1 3 z",fill:"context-stroke",strokeWidth:0})}),ZWe=e=>y.jsx("marker",{viewBox:"-1 -1 12 12",refX:8,refY:4,markerWidth:"8",markerHeight:"8",preserveAspectRatio:"xMaxYMid meet",orient:"auto-start-reverse",...e,children:y.jsx("path",{d:"M 8 0 L 0 4 L 8 8 M 8 4 L 0 4",fill:"none",strokeWidth:1})}),QWe=e=>y.jsx("marker",{viewBox:"-1 -1 12 10",refX:4,refY:3,markerWidth:"8",markerHeight:"6",preserveAspectRatio:"xMaxYMid meet",orient:"auto-start-reverse",...e,children:y.jsx("path",{d:"M 0 0 L 8 3 L 0 6 L 1 3 z",stroke:"context-stroke",fill:"context-stroke",strokeWidth:1.25,strokeLinejoin:"miter",strokeLinecap:"square"})}),JWe=e=>y.jsx("marker",{viewBox:"-4 -4 16 14",refX:5,refY:4,markerWidth:"10",markerHeight:"8",preserveAspectRatio:"xMaxYMid meet",orient:"auto-start-reverse",...e,children:y.jsx("path",{d:"M5,0 L10,4 L5,8 L0,4 Z",fill:"context-stroke",strokeWidth:0,strokeLinecap:"round"})}),eGe=e=>y.jsx("marker",{viewBox:"-4 -4 16 14",refX:6,refY:4,markerWidth:"10",markerHeight:"8",preserveAspectRatio:"xMaxYMid meet",orient:"auto-start-reverse",...e,children:y.jsx("path",{d:"M5,0 L10,4 L5,8 L0,4 Z",stroke:"context-stroke",fill:"context-stroke",strokeWidth:1.25,strokeLinecap:"round"})}),tGe=e=>y.jsx("marker",{viewBox:"0 0 10 10",refX:4,refY:4,markerWidth:"6",markerHeight:"6",...e,children:y.jsx("circle",{strokeWidth:0,fill:"context-stroke",cx:4,cy:4,r:3})}),rGe=e=>y.jsx("marker",{viewBox:"0 0 10 10",refX:4,refY:4,markerWidth:"6",markerHeight:"6",...e,children:y.jsx("circle",{strokeWidth:1.25,stroke:"context-stroke",fill:"context-stroke",cx:4,cy:4,r:3})}),qJ={Arrow:KWe,Crow:ZWe,OArrow:QWe,Open:XWe,Diamond:JWe,ODiamond:eGe,Dot:tGe,ODot:rGe};function UJ(e){if(!(!e||e==="none"))switch(e){case"normal":return"Arrow";case"crow":return"Crow";case"onormal":return"OArrow";case"diamond":return"Diamond";case"odiamond":return"ODiamond";case"open":case"vee":return"Open";case"dot":return"Dot";case"odot":return"ODot";default:Xa(e)}}const Ay=E.forwardRef(({edgeProps:{id:e,data:{line:r,dir:n,tail:o,head:a},selectable:i=!0,style:l,interactionWidth:s},onEdgePointerDown:c,strokeWidth:u,svgPath:d},p)=>{let f=UJ(o),g=UJ(a??"normal");n==="back"&&([f,g]=[g,f]);const b=f?qJ[f]:null,x=g?qJ[g]:null,w=r==="dotted",k=w||r==="dashed";let C;return w?C="1,8":k&&(C="8,10"),y.jsxs(y.Fragment,{children:[i&&y.jsx("path",{className:Je("react-flow__edge-interaction","hide-on-reduced-graphics",ye({fill:"none"})),d,style:{strokeWidth:s??10,stroke:"currentcolor",strokeOpacity:0}}),y.jsxs("g",{className:WWe,onPointerDown:c,children:[y.jsxs("defs",{children:[b&&y.jsx(b,{id:"start"+e}),x&&y.jsx(x,{id:"end"+e})]}),y.jsx("path",{className:Je("react-flow__edge-path","hide-on-reduced-graphics",YWe),d,style:l,strokeLinecap:"round"}),y.jsx("path",{ref:p,className:Je("react-flow__edge-path",i&&"react-flow__edge-interaction",GWe),d,style:l,strokeWidth:u,strokeLinecap:"round",strokeDasharray:C,markerStart:b?`url(#start${e})`:void 0,markerEnd:x?`url(#end${e})`:void 0})]})]})});Ay.displayName="EdgePath";const VJ=e=>{if(e!==void 0)return nU(e)?`${Math.round(e)}px`:e};function j2({edgeProps:{id:e,data:{hovered:r=!1,active:n=!1,dimmed:o=!1,labelBBox:a,color:i="gray"}},labelPosition:l,className:s,style:c,children:u,...d}){let p=OC(E.useCallback(x=>x.edgeLookup.get(e)?.zIndex??dl.Edge,[e]));(r||n)&&(p+=100);let f=l?.x??a?.x,g=l?.y??a?.y;if(f===void 0||g===void 0)return null;const b=l?.translate;return y.jsx(Mq,{children:y.jsx("div",{...d,className:Je("nodrag nopan","likec4-edge-label-container",s),"data-likec4-hovered":r,"data-likec4-color":i,"data-edge-active":n,"data-edge-animated":n,...o!==!1&&{"data-likec4-dimmed":o},style:{...a&&{maxWidth:a.width+18},zIndex:p,...c,transform:`translate(${VJ(f)}, ${VJ(g)}) ${b||""}`},children:u},e)})}const nGe=LT(e=>{const r=Sy(),{enableNavigateTo:n}=wr(),{data:{navigateTo:o,relations:a,existsInCurrentView:i}}=e,[l,s,c]=kx(e),u=Wt(),d=a.length>1||!i,p=d?{...e,data:{...e.data,line:"solid",color:"amber"}}:e;let f=y.jsx(Ty,{edgeProps:p,className:ye({transition:"fast"}),children:n&&o&&y.jsx(B2,{...e,onClick:g=>{g.stopPropagation(),u.navigateTo(o)}})});return i||(f=y.jsx(fo,{color:"orange",c:"black",label:"This relationship is not included in the current view",portalProps:{target:`#${r.rootElementId}`},openDelay:800,children:f})),y.jsxs(Ry,{...p,children:[y.jsx(Ay,{edgeProps:p,svgPath:l,...d&&{strokeWidth:5}}),y.jsx(j2,{edgeProps:p,labelPosition:{x:s,y:c,translate:"translate(-50%, 0)"},style:{maxWidth:Math.min(Math.abs(e.targetX-e.sourceX-70),250)},children:f})]})}),oGe=ye({width:"100%",height:"100%",border:"3px dashed",borderColor:"mantine.colors.defaultBorder",borderRadius:"md",display:"flex",justifyContent:"center",alignItems:"center"});function aGe({data:{column:e}}){return y.jsx(Se,{className:oGe,children:y.jsxs(wt,{c:"dimmed",fz:"lg",fw:500,children:["No ",e==="incomers"?"incoming":"outgoing"]})})}const iGe=e=>e.context.view.id;function F2(){const e=Jf();return wn(e,iGe)}/** + */const sWe=[["path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2",key:"svg-0"}],["path",{d:"M4 16v2a2 2 0 0 0 2 2h2",key:"svg-1"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v2",key:"svg-2"}],["path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2",key:"svg-3"}],["path",{d:"M8 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-4"}],["path",{d:"M16 16l-2.5 -2.5",key:"svg-5"}]],vi=xt("outline","zoom-scan","ZoomScan",sWe),cWe=({node:e})=>y.jsxs(Wr,{className:nWe,gap:6,align:"baseline",wrap:"nowrap",children:[y.jsxs(pt,{component:"div",fz:11,c:"dimmed",children:[e.kind,":"]}),y.jsx(pt,{component:"div",fz:"sm",fw:"500",children:e.title})]}),uWe=({instance:e})=>{const r=Yt(),n=r.currentView.id,o=[...e.views()];return y.jsxs(Wr,{className:oWe,gap:4,children:[y.jsx(hi,{color:"gray",variant:"transparent",size:"xs",flex:0,children:y.jsx(lWe,{stroke:1.2})}),y.jsx(pt,{component:"div",fz:"sm",fw:"500",flex:"1 1 100%",children:e.title}),y.jsxs(Se,{onClick:pn,pos:"relative","data-no-transform":!0,flex:0,children:[o.length===0&&y.jsx(ro,{size:"compact-xs",variant:"transparent",color:"gray",disabled:!0,children:"no views"}),o.length>0&&y.jsxs(go,{shadow:"md",withinPortal:!1,position:"bottom-start",offset:0,closeOnClickOutside:!0,clickOutsideEvents:["pointerdown","mousedown","click"],closeOnEscape:!0,trapFocus:!0,children:[y.jsx(go.Target,{children:y.jsxs(ro,{size:"compact-xs",variant:"subtle",color:"gray",children:[o.length," view",o.length>1?"s":""]})}),y.jsx(go.Dropdown,{children:o.map(a=>y.jsx(go.Item,{px:"xs",py:4,disabled:a.id===n,leftSection:y.jsx(hi,{size:"sm",variant:"transparent",color:"gray",children:y.jsx(vi,{stroke:1.8,opacity:.65})}),styles:{itemSection:{marginInlineEnd:Ae(8)}},onClick:i=>{i.stopPropagation(),r.navigateTo(a.id)},children:a.title},a.id))})]})]})]})},dWe=()=>{},pWe=S.memo(({elementFqn:e})=>{const r=qo().element(e),n=[...r.deployments()],o=ry({multiple:!1});o.setHoveredNode=dWe;const a=S.useMemo(()=>{let i=[],l=new Map;for(const s of r.deployments()){let c={label:y.jsx(uWe,{instance:s}),value:s.id,type:"instance",children:[]};l.set(s.id,c);let u=s.parent;for(;u;){let d=l.get(u.id);if(d){d.children.push(c);break}d={label:y.jsx(cWe,{node:u}),value:u.id,type:"node",children:[c]},l.set(u.id,d),c=d,u=u.parent}!u&&!i.includes(c)&&i.push(c)}return i},[r]);return S.useEffect(()=>{o.expandAllNodes()},[a]),n.length===0?y.jsx(zw,{variant:"light",color:"gray",icon:y.jsx(WC,{}),children:"This element does not have any deployments"}):y.jsx(Wf,{levelOffset:"sm",allowRangeSelection:!1,classNames:{node:tWe,label:rWe},styles:{root:{position:"relative",width:"min-content",minWidth:300}},data:a,tree:o,renderNode:({node:i,selected:l,elementProps:s,hasChildren:c})=>y.jsx(Se,{...s,style:{...!c&&{marginBottom:Ae(4)}},children:c?y.jsx(ro,{fullWidth:!0,color:"gray",variant:l?"transparent":"subtle",size:"xs",justify:"flex-start",styles:{root:{position:"unset",paddingInlineStart:Ae(16)}},children:i.label}):i.label})})}),hWe=()=>{},VQ=(e,r)=>{if(e===r)return!0;if(e.length!==r.length)return!1;for(const[n,o]of e.entries())if(o!==r[n]&&!Jn(o,r[n]))return!1;return!0};function O2(e,r,n,o){const a=Kj();Xj(a?hWe:e,r,VQ,o)}function fWe(){const e=typeof window<"u"&&typeof window.devicePixelRatio=="number"?window.devicePixelRatio:1;return Qi(Math.floor(e),{min:1,max:4})}let I2;function xi(e){return I2??=fWe(),I2<2?Math.round(e):Math.round(e*I2)/I2}function mWe(e){switch(e){case"dots":return Zi.Dots;case"lines":return Zi.Lines;case"cross":return Zi.Cross;default:Ja(e)}}function gWe({background:e}){return typeof e=="string"?y.jsx(Wq,{variant:mWe(e),size:2,gap:20}):y.jsx(Wq,{...e})}const hl={Compound:1,Edge:20,Element:20,Max:30},fl=.05,GC=3,z2={default:"16px",withControls:{top:"58px",left:"16px",right:"16px",bottom:"16px"}},YQ=(e,r)=>(e.data.dimmed??!1)===r?e:{...e,data:{...e.data,dimmed:r}};function yWe(e,r){return r!==void 0?YQ(e,r):n=>YQ(n,e)}const WQ=(e,r)=>(e.data.hovered??!1)===r?e:{...e,data:{...e.data,hovered:r}};function bWe(e,r){return r!==void 0?WQ(e,r):n=>WQ(n,e)}function GQ(e,r){return sDe(e.data,r)?e:{...e,data:{...e.data,...r}}}function vWe(e,r){return r!==void 0?GQ(e,r):n=>GQ(n,e)}const tr={setDimmed:yWe,setHovered:bWe,setData:vWe};function XC({nodes:e,edges:r,onEdgesChange:n,onNodesChange:o,className:a,pannable:i=!0,zoomable:l=!0,nodesSelectable:s=!0,nodesDraggable:c=!1,background:u="dots",children:d,colorMode:p,fitViewPadding:f=0,fitView:g=!0,zoomOnDoubleClick:b=!1,onViewportResize:x,onMoveEnd:w,onNodeMouseEnter:k,onNodeMouseLeave:C,onEdgeMouseEnter:_,onEdgeMouseLeave:T,...R}){const A=u!=="transparent"&&u!=="solid",D=kYe(),N=HC(),{colorScheme:$}=Q$e();return p||(p=$==="auto"?"system":$),y.jsxs(bAe,{colorMode:p,nodes:e,edges:r,className:Je(u==="transparent"&&"bg-transparent",a),...D&&{"data-likec4-zoom-small":!0},zoomOnPinch:l,zoomOnScroll:!i&&l,...!l&&{zoomActivationKeyCode:null},zoomOnDoubleClick:b,maxZoom:l?GC:1,minZoom:l?fl:1,fitView:g,fitViewOptions:{minZoom:fl,maxZoom:1,padding:f,includeHiddenNodes:!1},preventScrolling:l||i,defaultMarkerColor:"var(--xy-edge-stroke)",noDragClassName:"nodrag",noPanClassName:"nopan",noWheelClassName:"nowheel",panOnScroll:i,panOnDrag:i,...!i&&{panActivationKeyCode:null,selectionKeyCode:null},elementsSelectable:s,nodesFocusable:c||s,edgesFocusable:!1,nodesDraggable:c,nodeDragThreshold:4,nodeClickDistance:3,paneClickDistance:3,elevateNodesOnSelect:!1,selectNodesOnDrag:!1,onNodesChange:o,onEdgesChange:n,onMoveEnd:ot((O,{x:j,y:L,zoom:Y})=>{const M=xi(j),q=xi(L);(j!==M||L!==q)&&N.setState({transform:[M,q,Y]}),w?.(O,{x:M,y:q,zoom:Y})}),onNodeMouseEnter:ot((O,j)=>{if(k){k(O,j);return}j.data.hovered||o([{id:j.id,type:"replace",item:tr.setHovered(j,!0)}])}),onNodeMouseLeave:ot((O,j)=>{if(C){C(O,j);return}j.data.hovered&&o([{id:j.id,type:"replace",item:tr.setHovered(j,!1)}])}),onEdgeMouseEnter:ot((O,j)=>{if(_){_(O,j);return}j.data.hovered||n([{id:j.id,type:"replace",item:tr.setHovered(j,!0)}])}),onEdgeMouseLeave:ot((O,j)=>{if(T){T(O,j);return}j.data.hovered&&n([{id:j.id,type:"replace",item:tr.setHovered(j,!1)}])}),onNodeDoubleClick:pn,onEdgeDoubleClick:pn,...R,children:[A&&y.jsx(gWe,{background:u}),x&&y.jsx(wWe,{onViewportResize:x}),d]})}const xWe=({width:e,height:r})=>(e||1)*(r||1),wWe=({onViewportResize:e})=>{const r=At(xWe);return O2(e,[r]),null},XQ=S.createContext(null);function KQ(){return bt(S.useContext(XQ),"No RelationshipsBrowserActorContext")}function L2(e,r=Jn){const n=KQ();return Cn(n,ot(e),r)}function Oy(){const e=KQ();return S.useMemo(()=>({actor:e,get rootElementId(){return`relationships-browser-${e.sessionId.replaceAll(":","_")}`},getState:()=>e.getSnapshot().context,send:e.send,updateView:r=>{e.send({type:"update.view",layouted:r})},changeScope:r=>{e.send({type:"change.scope",scope:r})},navigateTo:(r,n)=>{e.send({type:"navigate.to",subject:r,fromNode:n})},fitDiagram:()=>{e.send({type:"fitDiagram"})},close:()=>{e._parent?e._parent?.send({type:"close",actorId:e.id}):e.send({type:"close"})}}),[e])}var KC,ZQ;function ZC(){if(ZQ)return KC;ZQ=1;var e="\0",r="\0",n="";class o{_isDirected=!0;_isMultigraph=!1;_isCompound=!1;_label;_defaultNodeLabelFn=()=>{};_defaultEdgeLabelFn=()=>{};_nodes={};_in={};_preds={};_out={};_sucs={};_edgeObjs={};_edgeLabels={};_nodeCount=0;_edgeCount=0;_parent;_children;constructor(d){d&&(this._isDirected=Object.hasOwn(d,"directed")?d.directed:!0,this._isMultigraph=Object.hasOwn(d,"multigraph")?d.multigraph:!1,this._isCompound=Object.hasOwn(d,"compound")?d.compound:!1),this._isCompound&&(this._parent={},this._children={},this._children[r]={})}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(d){return this._label=d,this}graph(){return this._label}setDefaultNodeLabel(d){return this._defaultNodeLabelFn=d,typeof d!="function"&&(this._defaultNodeLabelFn=()=>d),this}nodeCount(){return this._nodeCount}nodes(){return Object.keys(this._nodes)}sources(){var d=this;return this.nodes().filter(p=>Object.keys(d._in[p]).length===0)}sinks(){var d=this;return this.nodes().filter(p=>Object.keys(d._out[p]).length===0)}setNodes(d,p){var f=arguments,g=this;return d.forEach(function(b){f.length>1?g.setNode(b,p):g.setNode(b)}),this}setNode(d,p){return Object.hasOwn(this._nodes,d)?(arguments.length>1&&(this._nodes[d]=p),this):(this._nodes[d]=arguments.length>1?p:this._defaultNodeLabelFn(d),this._isCompound&&(this._parent[d]=r,this._children[d]={},this._children[r][d]=!0),this._in[d]={},this._preds[d]={},this._out[d]={},this._sucs[d]={},++this._nodeCount,this)}node(d){return this._nodes[d]}hasNode(d){return Object.hasOwn(this._nodes,d)}removeNode(d){var p=this;if(Object.hasOwn(this._nodes,d)){var f=g=>p.removeEdge(p._edgeObjs[g]);delete this._nodes[d],this._isCompound&&(this._removeFromParentsChildList(d),delete this._parent[d],this.children(d).forEach(function(g){p.setParent(g)}),delete this._children[d]),Object.keys(this._in[d]).forEach(f),delete this._in[d],delete this._preds[d],Object.keys(this._out[d]).forEach(f),delete this._out[d],delete this._sucs[d],--this._nodeCount}return this}setParent(d,p){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(p===void 0)p=r;else{p+="";for(var f=p;f!==void 0;f=this.parent(f))if(f===d)throw new Error("Setting "+p+" as parent of "+d+" would create a cycle");this.setNode(p)}return this.setNode(d),this._removeFromParentsChildList(d),this._parent[d]=p,this._children[p][d]=!0,this}_removeFromParentsChildList(d){delete this._children[this._parent[d]][d]}parent(d){if(this._isCompound){var p=this._parent[d];if(p!==r)return p}}children(d=r){if(this._isCompound){var p=this._children[d];if(p)return Object.keys(p)}else{if(d===r)return this.nodes();if(this.hasNode(d))return[]}}predecessors(d){var p=this._preds[d];if(p)return Object.keys(p)}successors(d){var p=this._sucs[d];if(p)return Object.keys(p)}neighbors(d){var p=this.predecessors(d);if(p){const g=new Set(p);for(var f of this.successors(d))g.add(f);return Array.from(g.values())}}isLeaf(d){var p;return this.isDirected()?p=this.successors(d):p=this.neighbors(d),p.length===0}filterNodes(d){var p=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});p.setGraph(this.graph());var f=this;Object.entries(this._nodes).forEach(function([x,w]){d(x)&&p.setNode(x,w)}),Object.values(this._edgeObjs).forEach(function(x){p.hasNode(x.v)&&p.hasNode(x.w)&&p.setEdge(x,f.edge(x))});var g={};function b(x){var w=f.parent(x);return w===void 0||p.hasNode(w)?(g[x]=w,w):w in g?g[w]:b(w)}return this._isCompound&&p.nodes().forEach(x=>p.setParent(x,b(x))),p}setDefaultEdgeLabel(d){return this._defaultEdgeLabelFn=d,typeof d!="function"&&(this._defaultEdgeLabelFn=()=>d),this}edgeCount(){return this._edgeCount}edges(){return Object.values(this._edgeObjs)}setPath(d,p){var f=this,g=arguments;return d.reduce(function(b,x){return g.length>1?f.setEdge(b,x,p):f.setEdge(b,x),x}),this}setEdge(){var d,p,f,g,b=!1,x=arguments[0];typeof x=="object"&&x!==null&&"v"in x?(d=x.v,p=x.w,f=x.name,arguments.length===2&&(g=arguments[1],b=!0)):(d=x,p=arguments[1],f=arguments[3],arguments.length>2&&(g=arguments[2],b=!0)),d=""+d,p=""+p,f!==void 0&&(f=""+f);var w=l(this._isDirected,d,p,f);if(Object.hasOwn(this._edgeLabels,w))return b&&(this._edgeLabels[w]=g),this;if(f!==void 0&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(d),this.setNode(p),this._edgeLabels[w]=b?g:this._defaultEdgeLabelFn(d,p,f);var k=s(this._isDirected,d,p,f);return d=k.v,p=k.w,Object.freeze(k),this._edgeObjs[w]=k,a(this._preds[p],d),a(this._sucs[d],p),this._in[p][w]=k,this._out[d][w]=k,this._edgeCount++,this}edge(d,p,f){var g=arguments.length===1?c(this._isDirected,arguments[0]):l(this._isDirected,d,p,f);return this._edgeLabels[g]}edgeAsObj(){const d=this.edge(...arguments);return typeof d!="object"?{label:d}:d}hasEdge(d,p,f){var g=arguments.length===1?c(this._isDirected,arguments[0]):l(this._isDirected,d,p,f);return Object.hasOwn(this._edgeLabels,g)}removeEdge(d,p,f){var g=arguments.length===1?c(this._isDirected,arguments[0]):l(this._isDirected,d,p,f),b=this._edgeObjs[g];return b&&(d=b.v,p=b.w,delete this._edgeLabels[g],delete this._edgeObjs[g],i(this._preds[p],d),i(this._sucs[d],p),delete this._in[p][g],delete this._out[d][g],this._edgeCount--),this}inEdges(d,p){var f=this._in[d];if(f){var g=Object.values(f);return p?g.filter(b=>b.v===p):g}}outEdges(d,p){var f=this._out[d];if(f){var g=Object.values(f);return p?g.filter(b=>b.w===p):g}}nodeEdges(d,p){var f=this.inEdges(d,p);if(f)return f.concat(this.outEdges(d,p))}}function a(u,d){u[d]?u[d]++:u[d]=1}function i(u,d){--u[d]||delete u[d]}function l(u,d,p,f){var g=""+d,b=""+p;if(!u&&g>b){var x=g;g=b,b=x}return g+n+b+n+(f===void 0?e:f)}function s(u,d,p,f){var g=""+d,b=""+p;if(!u&&g>b){var x=g;g=b,b=x}var w={v:g,w:b};return f&&(w.name=f),w}function c(u,d){return l(u,d.v,d.w,d.name)}return KC=o,KC}var QQ,JQ;function kWe(){return JQ||(JQ=1,QQ="2.2.4"),QQ}var eJ,tJ;function _We(){return tJ||(tJ=1,eJ={Graph:ZC(),version:kWe()}),eJ}var QC,rJ;function EWe(){if(rJ)return QC;rJ=1;var e=ZC();QC={write:r,read:a};function r(i){var l={options:{directed:i.isDirected(),multigraph:i.isMultigraph(),compound:i.isCompound()},nodes:n(i),edges:o(i)};return i.graph()!==void 0&&(l.value=structuredClone(i.graph())),l}function n(i){return i.nodes().map(function(l){var s=i.node(l),c=i.parent(l),u={v:l};return s!==void 0&&(u.value=s),c!==void 0&&(u.parent=c),u})}function o(i){return i.edges().map(function(l){var s=i.edge(l),c={v:l.v,w:l.w};return l.name!==void 0&&(c.name=l.name),s!==void 0&&(c.value=s),c})}function a(i){var l=new e(i.options).setGraph(i.value);return i.nodes.forEach(function(s){l.setNode(s.v,s.value),s.parent&&l.setParent(s.v,s.parent)}),i.edges.forEach(function(s){l.setEdge({v:s.v,w:s.w,name:s.name},s.value)}),l}return QC}var JC,nJ;function SWe(){if(nJ)return JC;nJ=1,JC=e;function e(r){var n={},o=[],a;function i(l){Object.hasOwn(n,l)||(n[l]=!0,a.push(l),r.successors(l).forEach(i),r.predecessors(l).forEach(i))}return r.nodes().forEach(function(l){a=[],i(l),a.length&&o.push(a)}),o}return JC}var eT,oJ;function aJ(){if(oJ)return eT;oJ=1;class e{_arr=[];_keyIndices={};size(){return this._arr.length}keys(){return this._arr.map(function(n){return n.key})}has(n){return Object.hasOwn(this._keyIndices,n)}priority(n){var o=this._keyIndices[n];if(o!==void 0)return this._arr[o].priority}min(){if(this.size()===0)throw new Error("Queue underflow");return this._arr[0].key}add(n,o){var a=this._keyIndices;if(n=String(n),!Object.hasOwn(a,n)){var i=this._arr,l=i.length;return a[n]=l,i.push({key:n,priority:o}),this._decrease(l),!0}return!1}removeMin(){this._swap(0,this._arr.length-1);var n=this._arr.pop();return delete this._keyIndices[n.key],this._heapify(0),n.key}decrease(n,o){var a=this._keyIndices[n];if(o>this._arr[a].priority)throw new Error("New priority is greater than current priority. Key: "+n+" Old: "+this._arr[a].priority+" New: "+o);this._arr[a].priority=o,this._decrease(a)}_heapify(n){var o=this._arr,a=2*n,i=a+1,l=n;a>1,!(o[i].priority1;function n(a,i,l,s){return o(a,String(i),l||r,s||function(c){return a.outEdges(c)})}function o(a,i,l,s){var c={},u=new e,d,p,f=function(g){var b=g.v!==d?g.v:g.w,x=c[b],w=l(g),k=p.distance+w;if(w<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+g+" Weight: "+w);k0&&(d=u.removeMin(),p=c[d],p.distance!==Number.POSITIVE_INFINITY);)s(d).forEach(f);return c}return tT}var rT,sJ;function CWe(){if(sJ)return rT;sJ=1;var e=lJ();rT=r;function r(n,o,a){return n.nodes().reduce(function(i,l){return i[l]=e(n,l,o,a),i},{})}return rT}var nT,cJ;function uJ(){if(cJ)return nT;cJ=1,nT=e;function e(r){var n=0,o=[],a={},i=[];function l(s){var c=a[s]={onStack:!0,lowlink:n,index:n++};if(o.push(s),r.successors(s).forEach(function(p){Object.hasOwn(a,p)?a[p].onStack&&(c.lowlink=Math.min(c.lowlink,a[p].index)):(l(p),c.lowlink=Math.min(c.lowlink,a[p].lowlink))}),c.lowlink===c.index){var u=[],d;do d=o.pop(),a[d].onStack=!1,u.push(d);while(s!==d);i.push(u)}}return r.nodes().forEach(function(s){Object.hasOwn(a,s)||l(s)}),i}return nT}var oT,dJ;function TWe(){if(dJ)return oT;dJ=1;var e=uJ();oT=r;function r(n){return e(n).filter(function(o){return o.length>1||o.length===1&&n.hasEdge(o[0],o[0])})}return oT}var aT,pJ;function RWe(){if(pJ)return aT;pJ=1,aT=r;var e=()=>1;function r(o,a,i){return n(o,a||e,i||function(l){return o.outEdges(l)})}function n(o,a,i){var l={},s=o.nodes();return s.forEach(function(c){l[c]={},l[c][c]={distance:0},s.forEach(function(u){c!==u&&(l[c][u]={distance:Number.POSITIVE_INFINITY})}),i(c).forEach(function(u){var d=u.v===c?u.w:u.v,p=a(u);l[c][d]={distance:p,predecessor:c}})}),s.forEach(function(c){var u=l[c];s.forEach(function(d){var p=l[d];s.forEach(function(f){var g=p[c],b=u[f],x=p[f],w=g.distance+b.distance;wa.successors(p):p=>a.neighbors(p),c=l==="post"?r:n,u=[],d={};return i.forEach(p=>{if(!a.hasNode(p))throw new Error("Graph does not have node: "+p);c(p,s,d,u)}),u}function r(a,i,l,s){for(var c=[[a,!1]];c.length>0;){var u=c.pop();u[1]?s.push(u[0]):Object.hasOwn(l,u[0])||(l[u[0]]=!0,c.push([u[0],!0]),o(i(u[0]),d=>c.push([d,!1])))}}function n(a,i,l,s){for(var c=[a];c.length>0;){var u=c.pop();Object.hasOwn(l,u)||(l[u]=!0,s.push(u),o(i(u),d=>c.push(d)))}}function o(a,i){for(var l=a.length;l--;)i(a[l],l,a);return a}return sT}var cT,bJ;function NWe(){if(bJ)return cT;bJ=1;var e=yJ();cT=r;function r(n,o){return e(n,o,"post")}return cT}var uT,vJ;function DWe(){if(vJ)return uT;vJ=1;var e=yJ();uT=r;function r(n,o){return e(n,o,"pre")}return uT}var dT,xJ;function PWe(){if(xJ)return dT;xJ=1;var e=ZC(),r=aJ();dT=n;function n(o,a){var i=new e,l={},s=new r,c;function u(p){var f=p.v===c?p.w:p.v,g=s.priority(f);if(g!==void 0){var b=a(p);b0;){if(c=s.removeMin(),Object.hasOwn(l,c))i.setEdge(c,l[c]);else{if(d)throw new Error("Input graph is not connected: "+o);d=!0}o.nodeEdges(c).forEach(u)}return i}return dT}var wJ,kJ;function $We(){return kJ||(kJ=1,wJ={components:SWe(),dijkstra:lJ(),dijkstraAll:CWe(),findCycles:TWe(),floydWarshall:RWe(),isAcyclic:AWe(),postorder:NWe(),preorder:DWe(),prim:PWe(),tarjan:uJ(),topsort:fJ()}),wJ}var pT,_J;function ml(){if(_J)return pT;_J=1;var e=_We();return pT={Graph:e.Graph,json:EWe(),alg:$We(),version:e.version},pT}var hT,EJ;function MWe(){if(EJ)return hT;EJ=1;class e{constructor(){let a={};a._next=a._prev=a,this._sentinel=a}dequeue(){let a=this._sentinel,i=a._prev;if(i!==a)return r(i),i}enqueue(a){let i=this._sentinel;a._prev&&a._next&&r(a),a._next=i._next,i._next._prev=a,i._next=a,a._prev=i}toString(){let a=[],i=this._sentinel,l=i._prev;for(;l!==i;)a.push(JSON.stringify(l,n)),l=l._prev;return"["+a.join(", ")+"]"}}function r(o){o._prev._next=o._next,o._next._prev=o._prev,delete o._next,delete o._prev}function n(o,a){if(o!=="_next"&&o!=="_prev")return a}return hT=e,hT}var fT,SJ;function OWe(){if(SJ)return fT;SJ=1;let e=ml().Graph,r=MWe();fT=o;let n=()=>1;function o(u,d){if(u.nodeCount()<=1)return[];let p=l(u,d||n);return a(p.graph,p.buckets,p.zeroIdx).flatMap(f=>u.outEdges(f.v,f.w))}function a(u,d,p){let f=[],g=d[d.length-1],b=d[0],x;for(;u.nodeCount();){for(;x=b.dequeue();)i(u,d,p,x);for(;x=g.dequeue();)i(u,d,p,x);if(u.nodeCount()){for(let w=d.length-2;w>0;--w)if(x=d[w].dequeue(),x){f=f.concat(i(u,d,p,x,!0));break}}}return f}function i(u,d,p,f,g){let b=g?[]:void 0;return u.inEdges(f.v).forEach(x=>{let w=u.edge(x),k=u.node(x.v);g&&b.push({v:x.v,w:x.w}),k.out-=w,s(d,p,k)}),u.outEdges(f.v).forEach(x=>{let w=u.edge(x),k=x.w,C=u.node(k);C.in-=w,s(d,p,C)}),u.removeNode(f.v),b}function l(u,d){let p=new e,f=0,g=0;u.nodes().forEach(w=>{p.setNode(w,{v:w,in:0,out:0})}),u.edges().forEach(w=>{let k=p.edge(w.v,w.w)||0,C=d(w),_=k+C;p.setEdge(w.v,w.w,_),g=Math.max(g,p.node(w.v).out+=C),f=Math.max(f,p.node(w.w).in+=C)});let b=c(g+f+3).map(()=>new r),x=f+1;return p.nodes().forEach(w=>{s(b,x,p.node(w))}),{graph:p,buckets:b,zeroIdx:x}}function s(u,d,p){p.out?p.in?u[p.out-p.in+d].enqueue(p):u[u.length-1].enqueue(p):u[0].enqueue(p)}function c(u){const d=[];for(let p=0;p$.setNode(O,N.node(O))),N.edges().forEach(O=>{let j=$.edge(O.v,O.w)||{weight:0,minlen:1},L=N.edge(O);$.setEdge(O.v,O.w,{weight:j.weight+L.weight,minlen:Math.max(j.minlen,L.minlen)})}),$}function o(N){let $=new e({multigraph:N.isMultigraph()}).setGraph(N.graph());return N.nodes().forEach(O=>{N.children(O).length||$.setNode(O,N.node(O))}),N.edges().forEach(O=>{$.setEdge(O,N.edge(O))}),$}function a(N){let $=N.nodes().map(O=>{let j={};return N.outEdges(O).forEach(L=>{j[L.w]=(j[L.w]||0)+N.edge(L).weight}),j});return D(N.nodes(),$)}function i(N){let $=N.nodes().map(O=>{let j={};return N.inEdges(O).forEach(L=>{j[L.v]=(j[L.v]||0)+N.edge(L).weight}),j});return D(N.nodes(),$)}function l(N,$){let O=N.x,j=N.y,L=$.x-O,Y=$.y-j,M=N.width/2,q=N.height/2;if(!L&&!Y)throw new Error("Not possible to find intersection inside of the rectangle");let z,H;return Math.abs(Y)*M>Math.abs(L)*q?(Y<0&&(q=-q),z=q*L/Y,H=q):(L<0&&(M=-M),z=M,H=M*Y/L),{x:O+z,y:j+H}}function s(N){let $=T(b(N)+1).map(()=>[]);return N.nodes().forEach(O=>{let j=N.node(O),L=j.rank;L!==void 0&&($[L][j.order]=O)}),$}function c(N){let $=N.nodes().map(j=>{let L=N.node(j).rank;return L===void 0?Number.MAX_VALUE:L}),O=g(Math.min,$);N.nodes().forEach(j=>{let L=N.node(j);Object.hasOwn(L,"rank")&&(L.rank-=O)})}function u(N){let $=N.nodes().map(M=>N.node(M).rank),O=g(Math.min,$),j=[];N.nodes().forEach(M=>{let q=N.node(M).rank-O;j[q]||(j[q]=[]),j[q].push(M)});let L=0,Y=N.graph().nodeRankFactor;Array.from(j).forEach((M,q)=>{M===void 0&&q%Y!==0?--L:M!==void 0&&L&&M.forEach(z=>N.node(z).rank+=L)})}function d(N,$,O,j){let L={width:0,height:0};return arguments.length>=4&&(L.rank=O,L.order=j),r(N,"border",L,$)}function p(N,$=f){const O=[];for(let j=0;jf){const O=p($);return N.apply(null,O.map(j=>N.apply(null,j)))}else return N.apply(null,$)}function b(N){const $=N.nodes().map(O=>{let j=N.node(O).rank;return j===void 0?Number.MIN_VALUE:j});return g(Math.max,$)}function x(N,$){let O={lhs:[],rhs:[]};return N.forEach(j=>{$(j)?O.lhs.push(j):O.rhs.push(j)}),O}function w(N,$){let O=Date.now();try{return $()}finally{console.log(N+" time: "+(Date.now()-O)+"ms")}}function k(N,$){return $()}let C=0;function _(N){var $=++C;return N+(""+$)}function T(N,$,O=1){$==null&&($=N,N=0);let j=Y=>Y<$;O<0&&(j=Y=>$j[$]),Object.entries(N).reduce((j,[L,Y])=>(j[L]=O(Y,L),j),{})}function D(N,$){return N.reduce((O,j,L)=>(O[j]=$[L],O),{})}return mT}var gT,TJ;function IWe(){if(TJ)return gT;TJ=1;let e=OWe(),r=Rn().uniqueId;gT={run:n,undo:a};function n(i){(i.graph().acyclicer==="greedy"?e(i,l(i)):o(i)).forEach(s=>{let c=i.edge(s);i.removeEdge(s),c.forwardName=s.name,c.reversed=!0,i.setEdge(s.w,s.v,c,r("rev"))});function l(s){return c=>s.edge(c).weight}}function o(i){let l=[],s={},c={};function u(d){Object.hasOwn(c,d)||(c[d]=!0,s[d]=!0,i.outEdges(d).forEach(p=>{Object.hasOwn(s,p.w)?l.push(p):u(p.w)}),delete s[d])}return i.nodes().forEach(u),l}function a(i){i.edges().forEach(l=>{let s=i.edge(l);if(s.reversed){i.removeEdge(l);let c=s.forwardName;delete s.reversed,delete s.forwardName,i.setEdge(l.w,l.v,s,c)}})}return gT}var yT,RJ;function zWe(){if(RJ)return yT;RJ=1;let e=Rn();yT={run:r,undo:o};function r(a){a.graph().dummyChains=[],a.edges().forEach(i=>n(a,i))}function n(a,i){let l=i.v,s=a.node(l).rank,c=i.w,u=a.node(c).rank,d=i.name,p=a.edge(i),f=p.labelRank;if(u===s+1)return;a.removeEdge(i);let g,b,x;for(x=0,++s;s{let l=a.node(i),s=l.edgeLabel,c;for(a.setEdge(l.edgeObj,s);l.dummy;)c=a.successors(i)[0],a.removeNode(i),s.points.push({x:l.x,y:l.y}),l.dummy==="edge-label"&&(s.x=l.x,s.y=l.y,s.width=l.width,s.height=l.height),i=c,l=a.node(i)})}return yT}var bT,AJ;function B2(){if(AJ)return bT;AJ=1;const{applyWithChunking:e}=Rn();bT={longestPath:r,slack:n};function r(o){var a={};function i(l){var s=o.node(l);if(Object.hasOwn(a,l))return s.rank;a[l]=!0;let c=o.outEdges(l).map(d=>d==null?Number.POSITIVE_INFINITY:i(d.w)-o.edge(d).minlen);var u=e(Math.min,c);return u===Number.POSITIVE_INFINITY&&(u=0),s.rank=u}o.sources().forEach(i)}function n(o,a){return o.node(a.w).rank-o.node(a.v).rank-o.edge(a).minlen}return bT}var vT,NJ;function DJ(){if(NJ)return vT;NJ=1;var e=ml().Graph,r=B2().slack;vT=n;function n(l){var s=new e({directed:!1}),c=l.nodes()[0],u=l.nodeCount();s.setNode(c,{});for(var d,p;o(s,l){var p=d.v,f=u===p?d.w:p;!l.hasNode(f)&&!r(s,d)&&(l.setNode(f,{}),l.setEdge(u,f,{}),c(f))})}return l.nodes().forEach(c),l.nodeCount()}function a(l,s){return s.edges().reduce((c,u)=>{let d=Number.POSITIVE_INFINITY;return l.hasNode(u.v)!==l.hasNode(u.w)&&(d=r(s,u)),ds.node(u).rank+=c)}return vT}var xT,PJ;function LWe(){if(PJ)return xT;PJ=1;var e=DJ(),r=B2().slack,n=B2().longestPath,o=ml().alg.preorder,a=ml().alg.postorder,i=Rn().simplify;xT=l,l.initLowLimValues=d,l.initCutValues=s,l.calcCutValue=u,l.leaveEdge=f,l.enterEdge=g,l.exchangeEdges=b;function l(C){C=i(C),n(C);var _=e(C);d(_),s(_,C);for(var T,R;T=f(_);)R=g(_,C,T),b(_,C,T,R)}function s(C,_){var T=a(C,C.nodes());T=T.slice(0,T.length-1),T.forEach(R=>c(C,_,R))}function c(C,_,T){var R=C.node(T),A=R.parent;C.edge(T,A).cutvalue=u(C,_,T)}function u(C,_,T){var R=C.node(T),A=R.parent,D=!0,N=_.edge(T,A),$=0;return N||(D=!1,N=_.edge(A,T)),$=N.weight,_.nodeEdges(T).forEach(O=>{var j=O.v===T,L=j?O.w:O.v;if(L!==A){var Y=j===D,M=_.edge(O).weight;if($+=Y?M:-M,w(C,T,L)){var q=C.edge(T,L).cutvalue;$+=Y?-q:q}}}),$}function d(C,_){arguments.length<2&&(_=C.nodes()[0]),p(C,{},1,_)}function p(C,_,T,R,A){var D=T,N=C.node(R);return _[R]=!0,C.neighbors(R).forEach($=>{Object.hasOwn(_,$)||(T=p(C,_,T,$,R))}),N.low=D,N.lim=T++,A?N.parent=A:delete N.parent,T}function f(C){return C.edges().find(_=>C.edge(_).cutvalue<0)}function g(C,_,T){var R=T.v,A=T.w;_.hasEdge(R,A)||(R=T.w,A=T.v);var D=C.node(R),N=C.node(A),$=D,O=!1;D.lim>N.lim&&($=N,O=!0);var j=_.edges().filter(L=>O===k(C,C.node(L.v),$)&&O!==k(C,C.node(L.w),$));return j.reduce((L,Y)=>r(_,Y)!_.node(A).parent),R=o(C,T);R=R.slice(1),R.forEach(A=>{var D=C.node(A).parent,N=_.edge(A,D),$=!1;N||(N=_.edge(D,A),$=!0),_.node(A).rank=_.node(D).rank+($?N.minlen:-N.minlen)})}function w(C,_,T){return C.hasEdge(_,T)}function k(C,_,T){return T.low<=_.lim&&_.lim<=T.lim}return xT}var wT,$J;function BWe(){if($J)return wT;$J=1;var e=B2(),r=e.longestPath,n=DJ(),o=LWe();wT=a;function a(c){var u=c.graph().ranker;if(u instanceof Function)return u(c);switch(c.graph().ranker){case"network-simplex":s(c);break;case"tight-tree":l(c);break;case"longest-path":i(c);break;case"none":break;default:s(c)}}var i=r;function l(c){r(c),n(c)}function s(c){o(c)}return wT}var kT,MJ;function jWe(){if(MJ)return kT;MJ=1,kT=e;function e(o){let a=n(o);o.graph().dummyChains.forEach(i=>{let l=o.node(i),s=l.edgeObj,c=r(o,a,s.v,s.w),u=c.path,d=c.lca,p=0,f=u[p],g=!0;for(;i!==s.w;){if(l=o.node(i),g){for(;(f=u[p])!==d&&o.node(f).maxRanku||d>a[p].lim));for(f=p,p=l;(p=o.parent(p))!==f;)c.push(p);return{path:s.concat(c.reverse()),lca:f}}function n(o){let a={},i=0;function l(s){let c=i;o.children(s).forEach(l),a[s]={low:c,lim:i++}}return o.children().forEach(l),a}return kT}var _T,OJ;function FWe(){if(OJ)return _T;OJ=1;let e=Rn();_T={run:r,cleanup:i};function r(l){let s=e.addDummyNode(l,"root",{},"_root"),c=o(l),u=Object.values(c),d=e.applyWithChunking(Math.max,u)-1,p=2*d+1;l.graph().nestingRoot=s,l.edges().forEach(g=>l.edge(g).minlen*=p);let f=a(l)+1;l.children().forEach(g=>n(l,s,p,f,d,c,g)),l.graph().nodeRankFactor=p}function n(l,s,c,u,d,p,f){let g=l.children(f);if(!g.length){f!==s&&l.setEdge(s,f,{weight:0,minlen:c});return}let b=e.addBorderNode(l,"_bt"),x=e.addBorderNode(l,"_bb"),w=l.node(f);l.setParent(b,f),w.borderTop=b,l.setParent(x,f),w.borderBottom=x,g.forEach(k=>{n(l,s,c,u,d,p,k);let C=l.node(k),_=C.borderTop?C.borderTop:k,T=C.borderBottom?C.borderBottom:k,R=C.borderTop?u:2*u,A=_!==T?1:d-p[f]+1;l.setEdge(b,_,{weight:R,minlen:A,nestingEdge:!0}),l.setEdge(T,x,{weight:R,minlen:A,nestingEdge:!0})}),l.parent(f)||l.setEdge(s,b,{weight:0,minlen:d+p[f]})}function o(l){var s={};function c(u,d){var p=l.children(u);p&&p.length&&p.forEach(f=>c(f,d+1)),s[u]=d}return l.children().forEach(u=>c(u,1)),s}function a(l){return l.edges().reduce((s,c)=>s+l.edge(c).weight,0)}function i(l){var s=l.graph();l.removeNode(s.nestingRoot),delete s.nestingRoot,l.edges().forEach(c=>{var u=l.edge(c);u.nestingEdge&&l.removeEdge(c)})}return _T}var ET,IJ;function HWe(){if(IJ)return ET;IJ=1;let e=Rn();ET=r;function r(o){function a(i){let l=o.children(i),s=o.node(i);if(l.length&&l.forEach(a),Object.hasOwn(s,"minRank")){s.borderLeft=[],s.borderRight=[];for(let c=s.minRank,u=s.maxRank+1;co(c.node(u))),c.edges().forEach(u=>o(c.edge(u)))}function o(c){let u=c.width;c.width=c.height,c.height=u}function a(c){c.nodes().forEach(u=>i(c.node(u))),c.edges().forEach(u=>{let d=c.edge(u);d.points.forEach(i),Object.hasOwn(d,"y")&&i(d)})}function i(c){c.y=-c.y}function l(c){c.nodes().forEach(u=>s(c.node(u))),c.edges().forEach(u=>{let d=c.edge(u);d.points.forEach(s),Object.hasOwn(d,"x")&&s(d)})}function s(c){let u=c.x;c.x=c.y,c.y=u}return ST}var CT,LJ;function UWe(){if(LJ)return CT;LJ=1;let e=Rn();CT=r;function r(n){let o={},a=n.nodes().filter(u=>!n.children(u).length),i=a.map(u=>n.node(u).rank),l=e.applyWithChunking(Math.max,i),s=e.range(l+1).map(()=>[]);function c(u){if(o[u])return;o[u]=!0;let d=n.node(u);s[d.rank].push(u),n.successors(u).forEach(c)}return a.sort((u,d)=>n.node(u).rank-n.node(d).rank).forEach(c),s}return CT}var TT,BJ;function VWe(){if(BJ)return TT;BJ=1;let e=Rn().zipObject;TT=r;function r(o,a){let i=0;for(let l=1;lg)),s=a.flatMap(f=>o.outEdges(f).map(g=>({pos:l[g.w],weight:o.edge(g).weight})).sort((g,b)=>g.pos-b.pos)),c=1;for(;c{let g=f.pos+c;d[g]+=f.weight;let b=0;for(;g>0;)g%2&&(b+=d[g+1]),g=g-1>>1,d[g]+=f.weight;p+=f.weight*b}),p}return TT}var RT,jJ;function YWe(){if(jJ)return RT;jJ=1,RT=e;function e(r,n=[]){return n.map(o=>{let a=r.inEdges(o);if(a.length){let i=a.reduce((l,s)=>{let c=r.edge(s),u=r.node(s.v);return{sum:l.sum+c.weight*u.order,weight:l.weight+c.weight}},{sum:0,weight:0});return{v:o,barycenter:i.sum/i.weight,weight:i.weight}}else return{v:o}})}return RT}var AT,FJ;function WWe(){if(FJ)return AT;FJ=1;let e=Rn();AT=r;function r(a,i){let l={};a.forEach((c,u)=>{let d=l[c.v]={indegree:0,in:[],out:[],vs:[c.v],i:u};c.barycenter!==void 0&&(d.barycenter=c.barycenter,d.weight=c.weight)}),i.edges().forEach(c=>{let u=l[c.v],d=l[c.w];u!==void 0&&d!==void 0&&(d.indegree++,u.out.push(l[c.w]))});let s=Object.values(l).filter(c=>!c.indegree);return n(s)}function n(a){let i=[];function l(c){return u=>{u.merged||(u.barycenter===void 0||c.barycenter===void 0||u.barycenter>=c.barycenter)&&o(c,u)}}function s(c){return u=>{u.in.push(c),--u.indegree===0&&a.push(u)}}for(;a.length;){let c=a.pop();i.push(c),c.in.reverse().forEach(l(c)),c.out.forEach(s(c))}return i.filter(c=>!c.merged).map(c=>e.pick(c,["vs","i","barycenter","weight"]))}function o(a,i){let l=0,s=0;a.weight&&(l+=a.barycenter*a.weight,s+=a.weight),i.weight&&(l+=i.barycenter*i.weight,s+=i.weight),a.vs=i.vs.concat(a.vs),a.barycenter=l/s,a.weight=s,a.i=Math.min(i.i,a.i),i.merged=!0}return AT}var NT,HJ;function GWe(){if(HJ)return NT;HJ=1;let e=Rn();NT=r;function r(a,i){let l=e.partition(a,b=>Object.hasOwn(b,"barycenter")),s=l.lhs,c=l.rhs.sort((b,x)=>x.i-b.i),u=[],d=0,p=0,f=0;s.sort(o(!!i)),f=n(u,c,f),s.forEach(b=>{f+=b.vs.length,u.push(b.vs),d+=b.barycenter*b.weight,p+=b.weight,f=n(u,c,f)});let g={vs:u.flat(!0)};return p&&(g.barycenter=d/p,g.weight=p),g}function n(a,i,l){let s;for(;i.length&&(s=i[i.length-1]).i<=l;)i.pop(),a.push(s.vs),l++;return l}function o(a){return(i,l)=>i.barycenterl.barycenter?1:a?l.i-i.i:i.i-l.i}return NT}var DT,qJ;function XWe(){if(qJ)return DT;qJ=1;let e=YWe(),r=WWe(),n=GWe();DT=o;function o(l,s,c,u){let d=l.children(s),p=l.node(s),f=p?p.borderLeft:void 0,g=p?p.borderRight:void 0,b={};f&&(d=d.filter(C=>C!==f&&C!==g));let x=e(l,d);x.forEach(C=>{if(l.children(C.v).length){let _=o(l,C.v,c,u);b[C.v]=_,Object.hasOwn(_,"barycenter")&&i(C,_)}});let w=r(x,c);a(w,b);let k=n(w,u);if(f&&(k.vs=[f,k.vs,g].flat(!0),l.predecessors(f).length)){let C=l.node(l.predecessors(f)[0]),_=l.node(l.predecessors(g)[0]);Object.hasOwn(k,"barycenter")||(k.barycenter=0,k.weight=0),k.barycenter=(k.barycenter*k.weight+C.order+_.order)/(k.weight+2),k.weight+=2}return k}function a(l,s){l.forEach(c=>{c.vs=c.vs.flatMap(u=>s[u]?s[u].vs:u)})}function i(l,s){l.barycenter!==void 0?(l.barycenter=(l.barycenter*l.weight+s.barycenter*s.weight)/(l.weight+s.weight),l.weight+=s.weight):(l.barycenter=s.barycenter,l.weight=s.weight)}return DT}var PT,UJ;function KWe(){if(UJ)return PT;UJ=1;let e=ml().Graph,r=Rn();PT=n;function n(a,i,l){let s=o(a),c=new e({compound:!0}).setGraph({root:s}).setDefaultNodeLabel(u=>a.node(u));return a.nodes().forEach(u=>{let d=a.node(u),p=a.parent(u);(d.rank===i||d.minRank<=i&&i<=d.maxRank)&&(c.setNode(u),c.setParent(u,p||s),a[l](u).forEach(f=>{let g=f.v===u?f.w:f.v,b=c.edge(g,u),x=b!==void 0?b.weight:0;c.setEdge(g,u,{weight:a.edge(f).weight+x})}),Object.hasOwn(d,"minRank")&&c.setNode(u,{borderLeft:d.borderLeft[i],borderRight:d.borderRight[i]}))}),c}function o(a){for(var i;a.hasNode(i=r.uniqueId("_root")););return i}return PT}var $T,VJ;function ZWe(){if(VJ)return $T;VJ=1,$T=e;function e(r,n,o){let a={},i;o.forEach(l=>{let s=r.parent(l),c,u;for(;s;){if(c=r.parent(s),c?(u=a[c],a[c]=s):(u=i,i=s),u&&u!==s){n.setEdge(u,s);return}s=c}})}return $T}var MT,YJ;function QWe(){if(YJ)return MT;YJ=1;let e=UWe(),r=VWe(),n=XWe(),o=KWe(),a=ZWe(),i=ml().Graph,l=Rn();MT=s;function s(p,f){if(f&&typeof f.customOrder=="function"){f.customOrder(p,s);return}let g=l.maxRank(p),b=c(p,l.range(1,g+1),"inEdges"),x=c(p,l.range(g-1,-1,-1),"outEdges"),w=e(p);if(d(p,w),f&&f.disableOptimalOrderHeuristic)return;let k=Number.POSITIVE_INFINITY,C;for(let _=0,T=0;T<4;++_,++T){u(_%2?b:x,_%4>=2),w=l.buildLayerMatrix(p);let R=r(p,w);Rb.node(k).order=C),a(b,g,w.vs)})}function d(p,f){Object.values(f).forEach(g=>g.forEach((b,x)=>p.node(b).order=x))}return MT}var OT,WJ;function JWe(){if(WJ)return OT;WJ=1;let e=ml().Graph,r=Rn();OT={positionX:g,findType1Conflicts:n,findType2Conflicts:o,addConflict:i,hasConflict:l,verticalAlignment:s,horizontalCompaction:c,alignCoordinates:p,findSmallestWidthAlignment:d,balance:f};function n(w,k){let C={};function _(T,R){let A=0,D=0,N=T.length,$=R[R.length-1];return R.forEach((O,j)=>{let L=a(w,O),Y=L?w.node(L).order:N;(L||O===$)&&(R.slice(D,j+1).forEach(M=>{w.predecessors(M).forEach(q=>{let z=w.node(q),H=z.order;(H{O=R[j],w.node(O).dummy&&w.predecessors(O).forEach(L=>{let Y=w.node(L);Y.dummy&&(Y.order$)&&i(C,L,O)})})}function T(R,A){let D=-1,N,$=0;return A.forEach((O,j)=>{if(w.node(O).dummy==="border"){let L=w.predecessors(O);L.length&&(N=w.node(L[0]).order,_(A,$,j,D,N),$=j,D=N)}_(A,$,A.length,N,R.length)}),A}return k.length&&k.reduce(T),C}function a(w,k){if(w.node(k).dummy)return w.predecessors(k).find(C=>w.node(C).dummy)}function i(w,k,C){if(k>C){let T=k;k=C,C=T}let _=w[k];_||(w[k]=_={}),_[C]=!0}function l(w,k,C){if(k>C){let _=k;k=C,C=_}return!!w[k]&&Object.hasOwn(w[k],C)}function s(w,k,C,_){let T={},R={},A={};return k.forEach(D=>{D.forEach((N,$)=>{T[N]=N,R[N]=N,A[N]=$})}),k.forEach(D=>{let N=-1;D.forEach($=>{let O=_($);if(O.length){O=O.sort((L,Y)=>A[L]-A[Y]);let j=(O.length-1)/2;for(let L=Math.floor(j),Y=Math.ceil(j);L<=Y;++L){let M=O[L];R[$]===$&&NMath.max(L,R[Y.v]+A.edge(Y)),0)}function O(j){let L=A.outEdges(j).reduce((M,q)=>Math.min(M,R[q.w]-A.edge(q)),Number.POSITIVE_INFINITY),Y=w.node(j);L!==Number.POSITIVE_INFINITY&&Y.borderType!==D&&(R[j]=Math.max(R[j],L))}return N($,A.predecessors.bind(A)),N(O,A.successors.bind(A)),Object.keys(_).forEach(j=>R[j]=R[C[j]]),R}function u(w,k,C,_){let T=new e,R=w.graph(),A=b(R.nodesep,R.edgesep,_);return k.forEach(D=>{let N;D.forEach($=>{let O=C[$];if(T.setNode(O),N){var j=C[N],L=T.edge(j,O);T.setEdge(j,O,Math.max(A(w,$,N),L||0))}N=$})}),T}function d(w,k){return Object.values(k).reduce((C,_)=>{let T=Number.NEGATIVE_INFINITY,R=Number.POSITIVE_INFINITY;Object.entries(_).forEach(([D,N])=>{let $=x(w,D)/2;T=Math.max(N+$,T),R=Math.min(N-$,R)});const A=T-R;return A{["l","r"].forEach(A=>{let D=R+A,N=w[D];if(N===k)return;let $=Object.values(N),O=_-r.applyWithChunking(Math.min,$);A!=="l"&&(O=T-r.applyWithChunking(Math.max,$)),O&&(w[D]=r.mapValues(N,j=>j+O))})})}function f(w,k){return r.mapValues(w.ul,(C,_)=>{if(k)return w[k.toLowerCase()][_];{let T=Object.values(w).map(R=>R[_]).sort((R,A)=>R-A);return(T[1]+T[2])/2}})}function g(w){let k=r.buildLayerMatrix(w),C=Object.assign(n(w,k),o(w,k)),_={},T;["u","d"].forEach(A=>{T=A==="u"?k:Object.values(k).reverse(),["l","r"].forEach(D=>{D==="r"&&(T=T.map(j=>Object.values(j).reverse()));let N=(A==="u"?w.predecessors:w.successors).bind(w),$=s(w,T,C,N),O=c(w,T,$.root,$.align,D==="r");D==="r"&&(O=r.mapValues(O,j=>-j)),_[A+D]=O})});let R=d(w,_);return p(_,R),f(_,w.graph().align)}function b(w,k,C){return(_,T,R)=>{let A=_.node(T),D=_.node(R),N=0,$;if(N+=A.width/2,Object.hasOwn(A,"labelpos"))switch(A.labelpos.toLowerCase()){case"l":$=-A.width/2;break;case"r":$=A.width/2;break}if($&&(N+=C?$:-$),$=0,N+=(A.dummy?k:w)/2,N+=(D.dummy?k:w)/2,N+=D.width/2,Object.hasOwn(D,"labelpos"))switch(D.labelpos.toLowerCase()){case"l":$=D.width/2;break;case"r":$=-D.width/2;break}return $&&(N+=C?$:-$),$=0,N}}function x(w,k){return w.node(k).width}return OT}var IT,GJ;function eGe(){if(GJ)return IT;GJ=1;let e=Rn(),r=JWe().positionX;IT=n;function n(a){a=e.asNonCompoundGraph(a),o(a),Object.entries(r(a)).forEach(([i,l])=>a.node(i).x=l)}function o(a){let i=e.buildLayerMatrix(a),l=a.graph().ranksep,s=0;i.forEach(c=>{const u=c.reduce((d,p)=>{const f=a.node(p).height;return d>f?d:f},0);c.forEach(d=>a.node(d).y=s+u/2),s+=u+l})}return IT}var zT,XJ;function tGe(){if(XJ)return zT;XJ=1;let e=IWe(),r=zWe(),n=BWe(),o=Rn().normalizeRanks,a=jWe(),i=Rn().removeEmptyRanks,l=FWe(),s=HWe(),c=qWe(),u=QWe(),d=eGe(),p=Rn(),f=ml().Graph;zT=g;function g(B,W){let Q=W&&W.debugTiming?p.time:p.notime;Q("layout",()=>{let J=Q(" buildLayoutGraph",()=>N(B));Q(" runLayout",()=>b(J,Q,W)),Q(" updateInputGraph",()=>x(B,J))})}function b(B,W,Q){W(" makeSpaceForEdgeLabels",()=>$(B)),W(" removeSelfEdges",()=>U(B)),W(" acyclic",()=>e.run(B)),W(" nestingGraph.run",()=>l.run(B)),W(" rank",()=>n(p.asNonCompoundGraph(B))),W(" injectEdgeLabelProxies",()=>O(B)),W(" removeEmptyRanks",()=>i(B)),W(" nestingGraph.cleanup",()=>l.cleanup(B)),W(" normalizeRanks",()=>o(B)),W(" assignRankMinMax",()=>j(B)),W(" removeEdgeLabelProxies",()=>L(B)),W(" normalize.run",()=>r.run(B)),W(" parentDummyChains",()=>a(B)),W(" addBorderSegments",()=>s(B)),W(" order",()=>u(B,Q)),W(" insertSelfEdges",()=>K(B)),W(" adjustCoordinateSystem",()=>c.adjust(B)),W(" position",()=>d(B)),W(" positionSelfEdges",()=>V(B)),W(" removeBorderNodes",()=>H(B)),W(" normalize.undo",()=>r.undo(B)),W(" fixupEdgeLabelCoords",()=>q(B)),W(" undoCoordinateSystem",()=>c.undo(B)),W(" translateGraph",()=>Y(B)),W(" assignNodeIntersects",()=>M(B)),W(" reversePoints",()=>z(B)),W(" acyclic.undo",()=>e.undo(B))}function x(B,W){B.nodes().forEach(Q=>{let J=B.node(Q),ne=W.node(Q);J&&(J.x=ne.x,J.y=ne.y,J.rank=ne.rank,W.children(Q).length&&(J.width=ne.width,J.height=ne.height))}),B.edges().forEach(Q=>{let J=B.edge(Q),ne=W.edge(Q);J.points=ne.points,Object.hasOwn(ne,"x")&&(J.x=ne.x,J.y=ne.y)}),B.graph().width=W.graph().width,B.graph().height=W.graph().height}let w=["nodesep","edgesep","ranksep","marginx","marginy"],k={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},C=["acyclicer","ranker","rankdir","align"],_=["width","height","rank"],T={width:0,height:0},R=["minlen","weight","width","height","labeloffset"],A={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},D=["labelpos"];function N(B){let W=new f({multigraph:!0,compound:!0}),Q=Z(B.graph());return W.setGraph(Object.assign({},k,X(Q,w),p.pick(Q,C))),B.nodes().forEach(J=>{let ne=Z(B.node(J));const te=X(ne,_);Object.keys(T).forEach(ee=>{te[ee]===void 0&&(te[ee]=T[ee])}),W.setNode(J,te),W.setParent(J,B.parent(J))}),B.edges().forEach(J=>{let ne=Z(B.edge(J));W.setEdge(J,Object.assign({},A,X(ne,R),p.pick(ne,D)))}),W}function $(B){let W=B.graph();W.ranksep/=2,B.edges().forEach(Q=>{let J=B.edge(Q);J.minlen*=2,J.labelpos.toLowerCase()!=="c"&&(W.rankdir==="TB"||W.rankdir==="BT"?J.width+=J.labeloffset:J.height+=J.labeloffset)})}function O(B){B.edges().forEach(W=>{let Q=B.edge(W);if(Q.width&&Q.height){let J=B.node(W.v),ne={rank:(B.node(W.w).rank-J.rank)/2+J.rank,e:W};p.addDummyNode(B,"edge-proxy",ne,"_ep")}})}function j(B){let W=0;B.nodes().forEach(Q=>{let J=B.node(Q);J.borderTop&&(J.minRank=B.node(J.borderTop).rank,J.maxRank=B.node(J.borderBottom).rank,W=Math.max(W,J.maxRank))}),B.graph().maxRank=W}function L(B){B.nodes().forEach(W=>{let Q=B.node(W);Q.dummy==="edge-proxy"&&(B.edge(Q.e).labelRank=Q.rank,B.removeNode(W))})}function Y(B){let W=Number.POSITIVE_INFINITY,Q=0,J=Number.POSITIVE_INFINITY,ne=0,te=B.graph(),ee=te.marginx||0,pe=te.marginy||0;function Te(ce){let de=ce.x,xe=ce.y,De=ce.width,Ge=ce.height;W=Math.min(W,de-De/2),Q=Math.max(Q,de+De/2),J=Math.min(J,xe-Ge/2),ne=Math.max(ne,xe+Ge/2)}B.nodes().forEach(ce=>Te(B.node(ce))),B.edges().forEach(ce=>{let de=B.edge(ce);Object.hasOwn(de,"x")&&Te(de)}),W-=ee,J-=pe,B.nodes().forEach(ce=>{let de=B.node(ce);de.x-=W,de.y-=J}),B.edges().forEach(ce=>{let de=B.edge(ce);de.points.forEach(xe=>{xe.x-=W,xe.y-=J}),Object.hasOwn(de,"x")&&(de.x-=W),Object.hasOwn(de,"y")&&(de.y-=J)}),te.width=Q-W+ee,te.height=ne-J+pe}function M(B){B.edges().forEach(W=>{let Q=B.edge(W),J=B.node(W.v),ne=B.node(W.w),te,ee;Q.points?(te=Q.points[0],ee=Q.points[Q.points.length-1]):(Q.points=[],te=ne,ee=J),Q.points.unshift(p.intersectRect(J,te)),Q.points.push(p.intersectRect(ne,ee))})}function q(B){B.edges().forEach(W=>{let Q=B.edge(W);if(Object.hasOwn(Q,"x"))switch((Q.labelpos==="l"||Q.labelpos==="r")&&(Q.width-=Q.labeloffset),Q.labelpos){case"l":Q.x-=Q.width/2+Q.labeloffset;break;case"r":Q.x+=Q.width/2+Q.labeloffset;break}})}function z(B){B.edges().forEach(W=>{let Q=B.edge(W);Q.reversed&&Q.points.reverse()})}function H(B){B.nodes().forEach(W=>{if(B.children(W).length){let Q=B.node(W),J=B.node(Q.borderTop),ne=B.node(Q.borderBottom),te=B.node(Q.borderLeft[Q.borderLeft.length-1]),ee=B.node(Q.borderRight[Q.borderRight.length-1]);Q.width=Math.abs(ee.x-te.x),Q.height=Math.abs(ne.y-J.y),Q.x=te.x+Q.width/2,Q.y=J.y+Q.height/2}}),B.nodes().forEach(W=>{B.node(W).dummy==="border"&&B.removeNode(W)})}function U(B){B.edges().forEach(W=>{if(W.v===W.w){var Q=B.node(W.v);Q.selfEdges||(Q.selfEdges=[]),Q.selfEdges.push({e:W,label:B.edge(W)}),B.removeEdge(W)}})}function K(B){var W=p.buildLayerMatrix(B);W.forEach(Q=>{var J=0;Q.forEach((ne,te)=>{var ee=B.node(ne);ee.order=te+J,(ee.selfEdges||[]).forEach(pe=>{p.addDummyNode(B,"selfedge",{width:pe.label.width,height:pe.label.height,rank:ee.rank,order:te+ ++J,e:pe.e,label:pe.label},"_se")}),delete ee.selfEdges})})}function V(B){B.nodes().forEach(W=>{var Q=B.node(W);if(Q.dummy==="selfedge"){var J=B.node(Q.e.v),ne=J.x+J.width/2,te=J.y,ee=Q.x-ne,pe=J.height/2;B.setEdge(Q.e,Q.label),B.removeNode(W),Q.label.points=[{x:ne+2*ee/3,y:te-pe},{x:ne+5*ee/6,y:te-pe},{x:ne+ee,y:te},{x:ne+5*ee/6,y:te+pe},{x:ne+2*ee/3,y:te+pe}],Q.label.x=Q.x,Q.label.y=Q.y}})}function X(B,W){return p.mapValues(p.pick(B,W),Number)}function Z(B){var W={};return B&&Object.entries(B).forEach(([Q,J])=>{typeof Q=="string"&&(Q=Q.toLowerCase()),W[Q]=J}),W}return zT}var LT,KJ;function rGe(){if(KJ)return LT;KJ=1;let e=Rn(),r=ml().Graph;LT={debugOrdering:n};function n(o){let a=e.buildLayerMatrix(o),i=new r({compound:!0,multigraph:!0}).setGraph({});return o.nodes().forEach(l=>{i.setNode(l,{label:l}),i.setParent(l,"layer"+o.node(l).rank)}),o.edges().forEach(l=>i.setEdge(l.v,l.w,{},l.name)),a.forEach((l,s)=>{let c="layer"+s;i.setNode(c,{rank:"same"}),l.reduce((u,d)=>(i.setEdge(u,d,{style:"invis"}),d))}),i}return LT}var ZJ,QJ;function nGe(){return QJ||(QJ=1,ZJ="1.1.5"),ZJ}var JJ,eee;function oGe(){return eee||(eee=1,JJ={graphlib:ml(),layout:tGe(),debug:rGe(),util:{time:Rn().time,notime:Rn().notime},version:nGe()}),JJ}var aGe=oGe();const j2=LE(aGe),bo={dagre:{ranksep:60,nodesep:35,edgesep:25},edgeLabel:{width:140,height:10,minlen:1,weight:1},emptyNodeOffset:120,nodeWidth:330,nodeHeight:180,compound:{labelHeight:2,paddingTop:50,paddingBottom:32}};function iGe(){const e=new j2.graphlib.Graph({directed:!0,compound:!0,multigraph:!0});return e.setGraph({...bo.dagre,rankdir:"LR"}),e.setDefaultEdgeLabel(()=>({...bo.edgeLabel})),e.setDefaultNodeLabel(()=>({})),e}const BT="-port";function jT(e,r,n){const o=new po(i=>({id:`${e}-${i}`,portId:`${e}-${i}`})),a=F3(r);for(const i of a.sorted){const l=a.children(i).length>0,s=i.id,c=`${e}-${s}`,u=l?`${c}${BT}`:c;o.set(s,{id:c,portId:u}),n.setNode(c,{column:e,element:i,isCompound:l,portId:u,inPorts:[],outPorts:[],width:bo.nodeWidth,height:bo.nodeHeight}),l&&(n.setNode(u,{element:i,portId:u,isCompound:l,inPorts:[],outPorts:[],width:bo.nodeWidth-bo.dagre.ranksep,height:bo.compound.labelHeight}),n.setParent(u,c));const d=a.parent(i);d&&n.setParent(c,`${e}-${d.id}`)}return{...a,byId:i=>{const l=a.byId(i),s=o.get(l.id);return{element:l,graph:s}},graphNodes:o}}function lGe(e){return j2.layout(e,{}),r=>{const n=e.node(r),{x:o,y:a,width:i,height:l}=n;return{position:{x:o-Math.round(i/2),y:a-Math.round(l/2)},width:i,height:l}}}var F2;(e=>{e.Empty="@empty"})(F2||(F2={}));function sGe(e,r){const n=iGe(),o=jT("incomers",e.incomers,n),a=jT("subjects",e.subjects,n),i=jT("outgoers",e.outgoers,n),l=[];kn(INe(kn(i0(e.incoming),No(T=>({id:T.source.id,sourceFqn:T.source.id,targetFqn:T.target.id,source:o.byId(T.source.id).graph,target:a.byId(T.target.id).graph,relation:T}))),kn(i0(e.outgoing),No(T=>({id:T.target.id,sourceFqn:T.source.id,targetFqn:T.target.id,source:a.byId(T.source.id).graph,target:i.byId(T.target.id).graph,relation:T})))),No(T=>({...T,expr:`${T.source.id}->${T.target.id}`})),rDe(Ra("expr")),eDe(T=>{const R=T[0].source,A=T[0].target,D=T[0].expr;n.node(R.id).outPorts.push(A.id),n.node(A.id).inPorts.push(R.id),n.setEdge(R.portId,A.portId,{...bo.edgeLabel},D),l.push({name:D,sourceFqn:T[0].sourceFqn,targetFqn:T[0].targetFqn,source:R.id,sourceHandle:R.id+"_out"+(n.node(R.id).outPorts.length-1),target:A.id,targetHandle:A.id+"_in"+(n.node(A.id).inPorts.length-1),relations:No(T,Ra("relation"))})}));for(const T of a.graphNodes.values()){const R=T.id,A=n.node(R);if(A.isCompound)continue;const D=Math.max(n.inEdges(R)?.length??0,n.outEdges(R)?.length??0);D>2&&(A.height=A.height+(D-3)*14)}const s=[...o.graphNodes.values(),...a.graphNodes.values(),...i.graphNodes.values()];if(o.graphNodes.size==0){const T="incomers-empty";n.setNode(T,{column:"incomers",element:null,isCompound:!1,portId:T,inPorts:[],outPorts:[],width:bo.nodeWidth,height:bo.nodeHeight});for(const R of a.graphNodes.values())n.setEdge(T,R.portId);s.push({id:T,portId:T})}if(i.graphNodes.size==0){const T="outgoers-empty";n.setNode(T,{column:"outgoers",element:null,isCompound:!1,portId:T,inPorts:[],outPorts:[],width:bo.nodeWidth,height:bo.nodeHeight});for(const R of a.graphNodes.values())n.setEdge(R.portId,T);s.push({id:T,portId:T})}const c=n.edgeCount();if(c>10)for(const T of n.edges())n.setEdge(T,{...bo.edgeLabel,width:c>25?800:400});const u=lGe(n),d=kn(s,vf(T=>T.id===T.portId),M0(T=>[T.id,u(T.id)]));function p(T){return d[T]??=kn(n.children(T)??[],vf(R=>!R.endsWith(BT)),No(R=>p(R)),wU(R=>{nt(R.length>0,`Node ${T} has no nested nodes`)}),wf((R,A)=>({minY:Math.min(R.minY,A.position.y),maxY:Math.max(R.maxY,A.position.y+A.height)}),{minY:1/0,maxY:-1/0}),({minY:R,maxY:A})=>{const{position:{x:D},width:N}=u(T);return R=R-bo.compound.paddingTop,A=A+bo.compound.paddingBottom,{position:{x:D,y:R},width:N,height:A-R}})}function f(T){const R=n.parent(T);return R?f(R)+1:0}function g(T){const R=n.children(T)??[];return R.length===0?0:1+Math.max(...R.map(g))}const b=(T,R,A)=>kn(A,No((D,N)=>({port:T+"_"+R+N,topY:p(D).position.y})),qx(Ra("topY")),No(Ra("port")));let x=0,w=0;const[k]=[...a.root];nt(k,"Subjects should not be empty");let C=p(a.graphNodes.get(k.id).id);const _=s.map(({id:T})=>{const{element:R,inPorts:A,outPorts:D,column:N}=n.node(T);let{position:$,width:O,height:j}=p(T);if(!R){if(j=Math.min(C.height,300),$.y=C.position.y+C.height/2-j/2,N==="incomers")O=C.position.x-bo.emptyNodeOffset-$.x;else{const U=$.x+O;$.x=C.position.x+C.width+bo.emptyNodeOffset,O=U-$.x}return{id:T,parent:null,x:$.x,y:$.y,title:"empty node",description:Zt.EMPTY,technology:null,tags:[],links:[],color:"muted",shape:"rectangle",style:{border:"dashed",opacity:50},kind:F2.Empty,level:0,labelBBox:{x:$.x,y:$.y,width:O,height:j},children:[],width:O,height:j,column:N,ports:{in:[],out:[]},existsInCurrentView:!1}}const L=n.parent(T),Y=(n.children(T)??[]).filter(U=>!U.endsWith(BT));x=Math.min(x,$.x),w=Math.min(w,$.y);const M=r?a0(R.scopedViews(),U=>U.id!==r.id)?.id??null:null,q=r?.findNodeWithElement(R.id),z=r&&!q?a0(R.ancestors(),U=>!!r.findNodeWithElement(U.id))?.id:null,H=q??(z&&r?.findNodeWithElement(z));return{id:T,parent:L??null,x:$.x,y:$.y,title:R.title,description:R.summary,technology:R.technology,tags:[...R.tags],links:null,color:H?.color??R.color,shape:q?.shape??R.shape,icon:q?.icon??R.icon??"none",modelRef:R.id,kind:R.kind,level:f(T),labelBBox:{x:$.x,y:$.y,width:O,height:j},style:tp({...(q??H)?.style,...R.$element.style},["color","shape","icon"]),navigateTo:M,...Y.length>0&&{depth:g(T)},children:Y,width:O,height:j,column:N,ports:{in:b(T,"in",A),out:b(T,"out",D)},existsInCurrentView:!!q}});return{subjectExistsInScope:!r||r.includesElement(k.id),bounds:{x:Math.min(x,0),y:Math.min(w,0),width:n.graph().width??100,height:n.graph().height??100},nodes:_,edges:n.edges().reduce((T,R)=>{const A=n.edge(R),D=R.name;if(!D)return T;const{name:N,source:$,sourceFqn:O,target:j,targetFqn:L,relations:Y,sourceHandle:M,targetHandle:q}=bt(jx(l,V=>V.name===D)),z=Hx(Y),H=z?.title??"untitled",U=Y.length>1,K=Hx(QE(Y.flatMap(V=>V.navigateTo?.id?V.navigateTo.id:[])));return T.push(e0({id:N,sourceFqn:O,source:$,sourceHandle:M,targetFqn:L,target:j,targetHandle:q,label:U?`${Y.length} relationships`:H,navigateTo:K,color:z?.color??"gray",existsInCurrentView:!r||Y.every(V=>r.includesRelation(V.id)),points:A.points.map(V=>[V.x,V.y]),line:z?.line??"dashed",head:z?.head,tail:z?.tail,relations:Y.map(V=>V.id),parent:null})),T},[])}}function cGe(e,r,n){const o=qo();return S.useMemo(()=>{const a=r?o.findView(r):null,i=sGe(xj(e,o,r,n),n==="view"?a:null);return a&&(n==="global"||!i.subjectExistsInScope)&&(i.edges=i.edges.map(l=>(l.existsInCurrentView=l.relations.every(s=>a.includesRelation(s)),l))),Object.assign(i,{subject:e})},[o,e,r,n,xj])}const Iy=(e,r)=>a3(e.label,r.label);function FT(e){return{label:e.title,value:e.id,children:[...e.children()].map(FT).sort(Iy)}}function uGe(e){const r=qo();return S.useMemo(()=>e?[...r.view(e).roots()].map(FT).sort(Iy):[...r.roots()].map(FT).sort(Iy),[r,e??null])}const dGe=me({margin:"0"}),pGe=me({_hover:{backgroundColor:"mantine.colors.gray[0]",_dark:{backgroundColor:"mantine.colors.defaultHover",color:"mantine.colors.white"}}}),tee=me({maxHeight:["70vh","calc(100cqh - 70px)"]}),hGe=Object.freeze(Object.defineProperty({__proto__:null,label:pGe,node:dGe,scrollArea:tee},Symbol.toStringTag,{value:"Module"}));/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const lGe=[["path",{d:"M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11",key:"svg-0"}]],sGe=yt("outline","bolt","Bolt",lGe),cGe=qo({position:"absolute",zIndex:1,justifyContent:"center",alignItems:"center",_smallZoom:{display:"none"}}),uGe=qo({gap:"1.5",justifyContent:"center",alignItems:"center"});function H2({selected:e=!1,data:{hovered:r=!1},buttons:n}){const o=Ta();return n.length?y.jsx(Ur,{className:cGe,style:{top:"calc(100% - 30px)",transform:"translateX(-50%)",left:"50%",width:"auto",minHeight:30},children:y.jsx(Qr,{layoutRoot:!0,initial:!1,style:{originY:0},animate:{opacity:r||e?1:.75,scale:r?1.1:e?.9:.8,y:r||e?6:0},"data-likec4-hovered":r,className:Je("nodrag nopan",uGe),children:n.map((a,i)=>y.jsx(or,{component:fl,className:E2({}),initial:!1,whileTap:{scale:1},whileHover:{scale:1.3},onClick:a.onClick,onDoubleClick:cn,children:a.icon||y.jsx(sGe,{})},`${o}-${a.key??i}`))},`${o}-action-buttons`)}):null}/** + */const fGe=[["path",{d:"M8 9l4 -4l4 4",key:"svg-0"}],["path",{d:"M16 15l-4 4l-4 -4",key:"svg-1"}]],HT=xt("outline","selector","Selector",fGe),mGe=e=>{const r=e.context.layouted?.subjectExistsInScope??!1;return{subjectId:e.context.subject,viewId:e.context.viewId,scope:e.context.scope,subjectExistsInScope:r,enableSelectSubject:e.context.enableSelectSubject,enableChangeScope:e.context.enableChangeScope}},gGe=()=>{},yGe=S.memo(()=>{const e=Oy(),{subjectId:r,viewId:n,scope:o,subjectExistsInScope:a,enableSelectSubject:i,enableChangeScope:l}=L2(mGe),s=S.useRef(null),c=S.useRef(null),u=qo().findElement(r),d=uGe(o==="view"&&n?n:void 0),p=ry({multiple:!1});return p.setHoveredNode=gGe,S.useEffect(()=>{Ad(r).reverse().forEach(f=>{p.expand(f)}),p.select(r)},[r]),y.jsxs(Wr,{ref:s,gap:"xs",pos:"relative",children:[i&&y.jsxs(Wr,{gap:4,wrap:"nowrap",children:[y.jsx(Se,{fz:"xs",fw:"500",style:{whiteSpace:"nowrap",userSelect:"none"},children:"Relationships of"}),y.jsx(Se,{pos:"relative",children:y.jsxs(br,{position:"bottom-start",shadow:"md",keepMounted:!1,withinPortal:!1,closeOnClickOutside:!0,clickOutsideEvents:["pointerdown","mousedown","click"],offset:4,onOpen:()=>{setTimeout(()=>{c.current?.querySelector(`[data-value="${r}"]`)?.scrollIntoView({behavior:"instant",block:"nearest"})},100)},children:[y.jsx(Eu,{children:y.jsx(ro,{size:"xs",variant:"default",maw:250,rightSection:y.jsx(HT,{size:16}),children:y.jsx(pt,{fz:"xs",fw:"500",truncate:!0,children:u?.title??"???"})})}),y.jsx(Ks,{p:0,miw:250,maw:400,children:y.jsx(na,{scrollbars:"y",type:"never",viewportRef:c,className:tee,children:y.jsx(Wf,{allowRangeSelection:!1,selectOnClick:!1,tree:p,data:d,classNames:hGe,levelOffset:8,styles:{root:{maxWidth:400,overflow:"hidden"},label:{paddingTop:5,paddingBottom:6}},renderNode:({node:f,selected:g,expanded:b,elementProps:x,hasChildren:w})=>y.jsxs(Wr,{gap:2,wrap:"nowrap",...x,py:"3",children:[y.jsx(ir,{variant:"subtle",size:18,c:"dimmed",style:{visibility:w?"visible":"hidden"},children:y.jsx(Mu,{stroke:3.5,style:{transition:"transform 150ms ease",transform:`rotate(${b?"90deg":"0"})`,width:"80%"}})}),y.jsx(Se,{flex:"1 1 100%",w:"100%",onClick:k=>{k.stopPropagation(),p.select(f.value),p.expand(f.value),e.navigateTo(f.value)},children:y.jsx(pt,{fz:"sm",fw:g?"600":"400",truncate:"end",children:f.label})})]})})})})]})})]}),l&&y.jsxs(Wr,{gap:4,wrap:"nowrap",children:[i&&y.jsx(Se,{fz:"xs",fw:"500",...!a&&{c:"dimmed"},style:{whiteSpace:"nowrap",userSelect:"none"},children:"Scope"}),y.jsx("div",{children:y.jsx(no,{color:"orange",label:y.jsxs(y.Fragment,{children:["This element does not exist in the current view",o==="view"&&y.jsxs(y.Fragment,{children:[y.jsx("br",{}),"Scope is set to global"]})]}),position:"bottom-start",disabled:a,portalProps:{target:s.current},children:y.jsx(J0,{flex:"1 0 auto",size:"xs",withItemsBorders:!1,value:o,styles:{label:{paddingLeft:8,paddingRight:8}},onChange:f=>{e.changeScope(f)},data:[{label:"Global",value:"global"},{label:y.jsx("span",{children:"Current view"}),value:"view",disabled:!a}]})})})]})]})}),H2=(e,r)=>Math.abs(e-r)<2.5,bGe=(e,r)=>e.id===r.id&&ut(e.selected??!1,r.selected??!1)&&ut(e.animated??!1,r.animated??!1)&&ut(e.source,r.source)&&ut(e.sourceHandleId??null,r.sourceHandleId??null)&&ut(e.sourcePosition,r.sourcePosition)&&ut(e.target,r.target)&&ut(e.targetHandleId??null,r.targetHandleId??null)&&ut(e.targetPosition,r.targetPosition)&&H2(e.sourceX,r.sourceX)&&H2(e.sourceY,r.sourceY)&&H2(e.targetX,r.targetX)&&H2(e.targetY,r.targetY)&&ut(e.data,r.data);function qT(e){return S.memo(e,bGe)}const vGe=["Controls","ReadOnly","FocusMode","NavigateTo","ElementDetails","RelationshipDetails","RelationshipBrowser","Search","NavigationButtons","Notations","DynamicViewWalkthrough","EdgeEditing","FitView","Vscode","ElementTags"],ree=M0(vGe,e=>[`enable${e}`,!1]),UT=S.createContext(ree),xGe=e=>{let{enableReadOnly:r,enableEdgeEditing:n,...o}=e;return r&&(n=!1),{enableReadOnly:r,enableEdgeEditing:n,...o}};function Ep({children:e,features:r,overrides:n}){const o=S.useContext(UT),[a,i]=S.useState(o);return S.useEffect(()=>{i(l=>{const s=xGe({...o,...r,...n});return Jn(l,s)?l:s})},[o,r,n]),y.jsx(UT.Provider,{value:a,children:e})}Ep.Overlays=({children:e})=>y.jsx(Ep,{overrides:{enableControls:!1,enableReadOnly:!0,enableEdgeEditing:!1},children:e});function Er(){return S.useContext(UT)}function wGe({feature:e,children:r,and:n=!0}){return Er()[`enable${e}`]===!0&&n?y.jsx(y.Fragment,{children:r}):null}function VT(e,r){return S2(e,r)}const gl=VT("button"),nn=VT("div"),kGe=VT("span"),zy=S.forwardRef(({edgeProps:{id:e,data:{label:r,technology:n,hovered:o=!1},selected:a=!1,selectable:i=!1},className:l,style:s,children:c,...u},d)=>{const p=A1(e)?XI(e):null,f=dYe({isStepEdge:p!==null,cursor:i||p!==null?"pointer":"default"}),g=Ta(r)||Ta(n);return y.jsxs(nn,{ref:d,className:Je(f.root,"likec4-edge-label",l),"data-edge-id":e,animate:{scale:o&&!a?1.06:1},...u,children:[p!==null&&y.jsx(Gr,{className:f.stepNumber,children:p}),g&&y.jsxs(Gr,{className:f.labelContents,children:[Ta(r)&&y.jsx(Gr,{className:Je(f.labelText,me({lineClamp:5})),children:r}),Ta(n)&&y.jsx(Gr,{className:f.labelTechnology,children:"[ "+n+" ]"}),c]})]})});zy.displayName="EdgeLabel";function q2({icon:e,onClick:r}){return y.jsx(ir,{className:Je("nodrag nopan",eYe()),onPointerDownCapture:pn,onClick:r,role:"button",onDoubleClick:pn,children:e??y.jsx(vi,{})})}const _Ge=".react-flow__edge.selected",EGe=me({_reduceGraphics:{transition:"none"}}),SGe=me({pointerEvents:"none",fill:"none",strokeWidth:"calc(var(--xy-edge-stroke-width) + 2)",strokeOpacity:.08,_noReduceGraphics:{transitionProperty:"stroke-width, stroke-opacity",transitionDuration:"fast",transitionTimingFunction:"inOut"},_whenHovered:{transitionTimingFunction:"out",strokeWidth:"calc(var(--xy-edge-stroke-width) + 4)",strokeOpacity:.2},_whenSelected:{strokeWidth:"calc(var(--xy-edge-stroke-width) + 6)",strokeOpacity:.25,_whenHovered:{strokeOpacity:.4}}}),CGe=me({fill:"[var(--xy-edge-stroke)]",stroke:"[var(--xy-edge-stroke)]"}),TGe=me({fill:"none",strokeDashoffset:0,_noReduceGraphics:{animationStyle:"xyedgeAnimated",animationPlayState:"paused",transition:"stroke 130ms ease-out,stroke-width 130ms ease-out"},":where([data-edge-dir='back']) &":{animationDirection:"reverse"},_whenHovered:{_noReduceGraphics:{animationPlayState:"running",animationDelay:"450ms"}},[`:where(${_Ge}, [data-edge-active='true'], [data-edge-animated='true']) &`]:{_noReduceGraphics:{animationPlayState:"running",animationDelay:"0ms"}},_whenDimmed:{animationPlayState:"paused"},_smallZoom:{animationName:"none"},_whenPanning:{strokeDasharray:"none !important",animationPlayState:"paused"}});function Ly({className:e,component:r="g",data:{color:n="gray",hovered:o=!1,active:a=!1,dimmed:i=!1,...l},children:s,style:c}){const u={className:Je(e,EGe,"likec4-edge-container"),"data-likec4-color":n,"data-edge-dir":l.dir??"forward","data-edge-active":a,"data-edge-animated":a,"data-likec4-hovered":o,...i!==!1&&{"data-likec4-dimmed":i}};return r==="svg"?y.jsx("svg",{style:c,...u,children:s}):(nt(r==="g",'EdgeContainer: component must be "g" or "svg"'),y.jsx("g",{style:c,...u,children:s}))}const RGe=e=>y.jsx("marker",{viewBox:"-4 -4 14 16",refX:5,refY:4,markerWidth:"7",markerHeight:"8",preserveAspectRatio:"xMaxYMid meet",orient:"auto-start-reverse",...e,children:y.jsx("path",{d:"M0,0 L7,4 L0,8 L4,4 Z",stroke:"context-stroke",fill:"context-stroke",strokeDasharray:0,strokeWidth:1,strokeLinecap:"round"})}),AGe=e=>y.jsx("marker",{viewBox:"-1 -1 12 10",refX:4,refY:3,markerWidth:"8",markerHeight:"6",preserveAspectRatio:"xMaxYMid meet",orient:"auto-start-reverse",...e,children:y.jsx("path",{d:"M 0 0 L 8 3 L 0 6 L 1 3 z",fill:"context-stroke",strokeWidth:0})}),NGe=e=>y.jsx("marker",{viewBox:"-1 -1 12 12",refX:8,refY:4,markerWidth:"8",markerHeight:"8",preserveAspectRatio:"xMaxYMid meet",orient:"auto-start-reverse",...e,children:y.jsx("path",{d:"M 8 0 L 0 4 L 8 8 M 8 4 L 0 4",fill:"none",strokeWidth:1})}),DGe=e=>y.jsx("marker",{viewBox:"-1 -1 12 10",refX:4,refY:3,markerWidth:"8",markerHeight:"6",preserveAspectRatio:"xMaxYMid meet",orient:"auto-start-reverse",...e,children:y.jsx("path",{d:"M 0 0 L 8 3 L 0 6 L 1 3 z",stroke:"context-stroke",fill:"context-stroke",strokeWidth:1.25,strokeLinejoin:"miter",strokeLinecap:"square"})}),PGe=e=>y.jsx("marker",{viewBox:"-4 -4 16 14",refX:5,refY:4,markerWidth:"10",markerHeight:"8",preserveAspectRatio:"xMaxYMid meet",orient:"auto-start-reverse",...e,children:y.jsx("path",{d:"M5,0 L10,4 L5,8 L0,4 Z",fill:"context-stroke",strokeWidth:0,strokeLinecap:"round"})}),$Ge=e=>y.jsx("marker",{viewBox:"-4 -4 16 14",refX:6,refY:4,markerWidth:"10",markerHeight:"8",preserveAspectRatio:"xMaxYMid meet",orient:"auto-start-reverse",...e,children:y.jsx("path",{d:"M5,0 L10,4 L5,8 L0,4 Z",stroke:"context-stroke",fill:"context-stroke",strokeWidth:1.25,strokeLinecap:"round"})}),MGe=e=>y.jsx("marker",{viewBox:"0 0 10 10",refX:4,refY:4,markerWidth:"6",markerHeight:"6",...e,children:y.jsx("circle",{strokeWidth:0,fill:"context-stroke",cx:4,cy:4,r:3})}),OGe=e=>y.jsx("marker",{viewBox:"0 0 10 10",refX:4,refY:4,markerWidth:"6",markerHeight:"6",...e,children:y.jsx("circle",{strokeWidth:1.25,stroke:"context-stroke",fill:"context-stroke",cx:4,cy:4,r:3})}),nee={Arrow:AGe,Crow:NGe,OArrow:DGe,Open:RGe,Diamond:PGe,ODiamond:$Ge,Dot:MGe,ODot:OGe};function oee(e){if(!(!e||e==="none"))switch(e){case"normal":return"Arrow";case"crow":return"Crow";case"onormal":return"OArrow";case"diamond":return"Diamond";case"odiamond":return"ODiamond";case"open":case"vee":return"Open";case"dot":return"Dot";case"odot":return"ODot";default:Ja(e)}}const By=S.forwardRef(({edgeProps:{id:e,data:{line:r,dir:n,tail:o,head:a},selectable:i=!0,style:l,interactionWidth:s},onEdgePointerDown:c,strokeWidth:u,svgPath:d},p)=>{let f=oee(o),g=oee(a??"normal");n==="back"&&([f,g]=[g,f]);const b=f?nee[f]:null,x=g?nee[g]:null,w=r==="dotted",k=w||r==="dashed";let C;return w?C="1,8":k&&(C="8,10"),y.jsxs(y.Fragment,{children:[i&&y.jsx("path",{className:Je("react-flow__edge-interaction","hide-on-reduced-graphics",me({fill:"none"})),d,style:{strokeWidth:s??10,stroke:"currentcolor",strokeOpacity:0}}),y.jsxs("g",{className:CGe,onPointerDown:c,children:[y.jsxs("defs",{children:[b&&y.jsx(b,{id:"start"+e}),x&&y.jsx(x,{id:"end"+e})]}),y.jsx("path",{className:Je("react-flow__edge-path","hide-on-reduced-graphics",SGe),d,style:l,strokeLinecap:"round"}),y.jsx("path",{ref:p,className:Je("react-flow__edge-path",i&&"react-flow__edge-interaction",TGe),d,style:l,strokeWidth:u,strokeLinecap:"round",strokeDasharray:C,markerStart:b?`url(#start${e})`:void 0,markerEnd:x?`url(#end${e})`:void 0})]})]})});By.displayName="EdgePath";const aee=e=>{if(e!==void 0)return fU(e)?`${Math.round(e)}px`:e};function U2({edgeProps:{id:e,data:{hovered:r=!1,active:n=!1,dimmed:o=!1,labelBBox:a,color:i="gray"}},labelPosition:l,className:s,style:c,children:u,...d}){let p=FC(S.useCallback(x=>x.edgeLookup.get(e)?.zIndex??hl.Edge,[e]));(r||n)&&(p+=100);let f=l?.x??a?.x,g=l?.y??a?.y;if(f===void 0||g===void 0)return null;const b=l?.translate;return y.jsx(Vq,{children:y.jsx("div",{...d,className:Je("nodrag nopan","likec4-edge-label-container",s),"data-likec4-hovered":r,"data-likec4-color":i,"data-edge-active":n,"data-edge-animated":n,...o!==!1&&{"data-likec4-dimmed":o},style:{...a&&{maxWidth:a.width+18},zIndex:p,...c,transform:`translate(${aee(f)}, ${aee(g)}) ${b||""}`},children:u},e)})}const IGe=qT(e=>{const r=Oy(),{enableNavigateTo:n}=Er(),{data:{navigateTo:o,relations:a,existsInCurrentView:i}}=e,[l,s,c]=Sx(e),u=Yt(),d=a.length>1||!i,p=d?{...e,data:{...e.data,line:"solid",color:"amber"}}:e;let f=y.jsx(zy,{edgeProps:p,className:me({transition:"fast"}),children:n&&o&&y.jsx(q2,{...e,onClick:g=>{g.stopPropagation(),u.navigateTo(o)}})});return i||(f=y.jsx(no,{color:"orange",c:"black",label:"This relationship is not included in the current view",portalProps:{target:`#${r.rootElementId}`},openDelay:800,children:f})),y.jsxs(Ly,{...p,children:[y.jsx(By,{edgeProps:p,svgPath:l,...d&&{strokeWidth:5}}),y.jsx(U2,{edgeProps:p,labelPosition:{x:s,y:c,translate:"translate(-50%, 0)"},style:{maxWidth:Math.min(Math.abs(e.targetX-e.sourceX-70),250)},children:f})]})}),zGe=me({width:"100%",height:"100%",border:"3px dashed",borderColor:"mantine.colors.defaultBorder",borderRadius:"md",display:"flex",justifyContent:"center",alignItems:"center"});function LGe({data:{column:e}}){return y.jsx(Se,{className:zGe,children:y.jsxs(pt,{c:"dimmed",fz:"lg",fw:500,children:["No ",e==="incomers"?"incoming":"outgoing"]})})}const BGe=e=>e.context.view.id;function V2(){const e=am();return Cn(e,BGe)}/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const dGe=[["path",{d:"M3 6a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-0"}],["path",{d:"M21 11v-3a2 2 0 0 0 -2 -2h-6l3 3m0 -6l-3 3",key:"svg-1"}],["path",{d:"M3 13v3a2 2 0 0 0 2 2h6l-3 -3m0 6l3 -3",key:"svg-2"}],["path",{d:"M15 18a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-3"}]],Ny=yt("outline","transform","Transform",dGe);/** + */const jGe=[["path",{d:"M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11",key:"svg-0"}]],FGe=xt("outline","bolt","Bolt",jGe),HGe=Uo({position:"absolute",zIndex:1,justifyContent:"center",alignItems:"center",_smallZoom:{display:"none"}}),qGe=Uo({gap:"1.5",justifyContent:"center",alignItems:"center"});function Y2({selected:e=!1,data:{hovered:r=!1},buttons:n}){const o=Aa();return n.length?y.jsx(Gr,{className:HGe,style:{top:"calc(100% - 30px)",transform:"translateX(-50%)",left:"50%",width:"auto",minHeight:30},children:y.jsx(nn,{layoutRoot:!0,initial:!1,style:{originY:0},animate:{opacity:r||e?1:.75,scale:r?1.1:e?.9:.8,y:r||e?6:0},"data-likec4-hovered":r,className:Je("nodrag nopan",qGe),children:n.map((a,i)=>y.jsx(ir,{component:gl,className:R2({}),initial:!1,whileTap:{scale:1},whileHover:{scale:1.3},onClick:a.onClick,onDoubleClick:pn,children:a.icon||y.jsx(FGe,{})},`${o}-${a.key??i}`))},`${o}-action-buttons`)}):null}/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const pGe=[["path",{d:"M4 21v-4a3 3 0 0 1 3 -3h5",key:"svg-0"}],["path",{d:"M9 17l3 -3l-3 -3",key:"svg-1"}],["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-2"}],["path",{d:"M5 11v-6a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2h-9.5",key:"svg-3"}]],fm=yt("outline","file-symlink","FileSymlink",pGe),hGe=e=>{const{enableNavigateTo:r,enableVscode:n}=wr(),o=Wt(),a=F2(),i=Sy(),l=M2(d=>d.context.subject),s=[],{navigateTo:c,fqn:u}=e.data;return c&&r&&a!==c&&s.push({key:"navigate",icon:y.jsx(gi,{}),onClick:d=>{d.stopPropagation(),o.navigateTo(c)}}),u!==l&&s.push({key:"relationships",icon:y.jsx(Ny,{}),onClick:d=>{d.stopPropagation(),i.navigateTo(u,e.id)}}),n&&s.push({key:"goToSource",icon:y.jsx(fm,{}),onClick:d=>{d.stopPropagation(),o.openSource({element:u})}}),y.jsx(H2,{buttons:s,...e})};function Dy({nodeProps:{data:{hovered:e=!1,dimmed:r=!1,...n}},className:o,children:a,style:i,...l}){let s=Ki(n.style.opacity??100,{min:0,max:100});const c=s<99,u=65,d=u+Ki((100-u)*(s/100),{min:0,max:100-u}),p=_Ve({isTransparent:c,inverseColor:s<60,borderStyle:n.style.border??(c?"dashed":"none")}),f=Ki(n.depth??1,{min:1,max:5});return y.jsx(Qr,{className:Je(p,o),initial:!1,"data-likec4-hovered":e,"data-likec4-color":n.color,"data-compound-depth":f,...r!==!1&&{"data-likec4-dimmed":r},style:{...i,"--_border-transparency":`${d}%`,"--_compound-transparency":`${s}%`},...l,children:a})}function Py({data:e}){const r=U3({element:e,className:"likec4-compound-icon"});return y.jsxs("div",{className:"likec4-compound-title-container",children:[r,y.jsx(wt,{component:"h3",className:"likec4-compound-title",truncate:"end",children:e.title})]})}const YJ=J1({base:{transitionDuration:"normal"},variants:{delay:{true:{transitionDelay:{base:"0.2s",_hover:"0s"}}}}});/** + */const UGe=[["path",{d:"M3 6a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-0"}],["path",{d:"M21 11v-3a2 2 0 0 0 -2 -2h-6l3 3m0 -6l-3 3",key:"svg-1"}],["path",{d:"M3 13v3a2 2 0 0 0 2 2h6l-3 -3m0 6l3 -3",key:"svg-2"}],["path",{d:"M15 18a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-3"}]],jy=xt("outline","transform","Transform",UGe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const fGe=[["path",{d:"M3 4m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v10a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z",key:"svg-0"}],["path",{d:"M9 10m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M15 8l2 0",key:"svg-2"}],["path",{d:"M15 12l2 0",key:"svg-3"}],["path",{d:"M7 16l10 0",key:"svg-4"}]],jT=yt("outline","id","Id",fGe);function WJ({data:{hovered:e=!1},icon:r,onClick:n}){const o=t9(e,e?130:0)[0]&&e;return y.jsx(Qr,{initial:!1,animate:{scale:o?1.2:1},whileHover:{scale:1.4},whileTap:{scale:1},className:"likec4-compound-details details-button",children:y.jsx(or,{className:Je("nodrag nopan",YJ({delay:e&&!o}),E2({variant:"transparent"})),onClick:n,onDoubleClick:cn,children:r??y.jsx(jT,{stroke:1.8,style:{width:"75%"}})})})}const mGe=ye({position:"relative",width:"100%",height:"100%",padding:"0",margin:"0",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",_before:{content:'" "',position:"absolute",top:"[calc(100% - 4px)]",left:"0",width:"100%",height:"24px",background:"[transparent]",pointerEvents:"all"},_focusVisible:{outline:"none"},_reduceGraphicsOnPan:{_before:{display:"none"}},":where(.react-flow__node.selectable:not(.dragging)) &":{cursor:"pointer"}}),mm=E.forwardRef(({nodeProps:{selected:e=!1,selectable:r=!1,data:{hovered:n=!1,dimmed:o=!1,...a}},className:i,style:l,children:s,...c},u)=>{let d=1;switch(!0){case n:d=1.05;break;case e:d=1.02;break}const{size:p,padding:f,textSize:g}=e3(a.style??{});return y.jsx(Qr,{ref:u,className:Je(mGe,"group","likec4-element-node",i),initial:!1,...r&&{animate:{scale:d},whileTap:{scale:.98}},"data-likec4-hovered":n,"data-likec4-color":a.color,"data-likec4-shape":a.shape,"data-likec4-shape-size":p,"data-likec4-spacing":f,"data-likec4-text-size":g,...o!==!1&&{"data-likec4-dimmed":o},style:{...l},...c,children:s})});mm.displayName="ElementNodeContainer";function GJ(e,r,n=.065){const o=Math.round(e/2),a=o,i=yi(n*o),l=r-2*i;return{path:` M ${e},${i} + */const VGe=[["path",{d:"M4 21v-4a3 3 0 0 1 3 -3h5",key:"svg-0"}],["path",{d:"M9 17l3 -3l-3 -3",key:"svg-1"}],["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-2"}],["path",{d:"M5 11v-6a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2h-9.5",key:"svg-3"}]],xm=xt("outline","file-symlink","FileSymlink",VGe),YGe=e=>{const{enableNavigateTo:r,enableVscode:n}=Er(),o=Yt(),a=V2(),i=Oy(),l=L2(d=>d.context.subject),s=[],{navigateTo:c,fqn:u}=e.data;return c&&r&&a!==c&&s.push({key:"navigate",icon:y.jsx(vi,{}),onClick:d=>{d.stopPropagation(),o.navigateTo(c)}}),u!==l&&s.push({key:"relationships",icon:y.jsx(jy,{}),onClick:d=>{d.stopPropagation(),i.navigateTo(u,e.id)}}),n&&s.push({key:"goToSource",icon:y.jsx(xm,{}),onClick:d=>{d.stopPropagation(),o.openSource({element:u})}}),y.jsx(Y2,{buttons:s,...e})};function Fy({nodeProps:{data:{hovered:e=!1,dimmed:r=!1,...n}},className:o,children:a,style:i,...l}){let s=Qi(n.style.opacity??100,{min:0,max:100});const c=s<99,u=65,d=u+Qi((100-u)*(s/100),{min:0,max:100-u}),p=JVe({isTransparent:c,inverseColor:s<60,borderStyle:n.style.border??(c?"dashed":"none")}),f=Qi(n.depth??1,{min:1,max:5});return y.jsx(nn,{className:Je(p,o),initial:!1,"data-likec4-hovered":e,"data-likec4-color":n.color,"data-compound-depth":f,...r!==!1&&{"data-likec4-dimmed":r},style:{...i,"--_border-transparency":`${d}%`,"--_compound-transparency":`${s}%`},...l,children:a})}function Hy({data:e}){const r=W3({element:e,className:"likec4-compound-icon"});return y.jsxs("div",{className:"likec4-compound-title-container",children:[r,y.jsx(pt,{component:"h3",className:"likec4-compound-title",truncate:"end",children:e.title})]})}const iee=c0({base:{transitionDuration:"normal"},variants:{delay:{true:{transitionDelay:{base:"0.2s",_hover:"0s"}}}}});/** + * @license @tabler/icons-react v3.35.0 - MIT + * + * This source code is licensed under the MIT license. + * See the LICENSE file in the root directory of this source tree. + */const WGe=[["path",{d:"M3 4m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v10a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z",key:"svg-0"}],["path",{d:"M9 10m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M15 8l2 0",key:"svg-2"}],["path",{d:"M15 12l2 0",key:"svg-3"}],["path",{d:"M7 16l10 0",key:"svg-4"}]],YT=xt("outline","id","Id",WGe);function lee({data:{hovered:e=!1},icon:r,onClick:n}){const o=l9(e,e?130:0)[0]&&e;return y.jsx(nn,{initial:!1,animate:{scale:o?1.2:1},whileHover:{scale:1.4},whileTap:{scale:1},className:"likec4-compound-details details-button",children:y.jsx(ir,{className:Je("nodrag nopan",iee({delay:e&&!o}),R2({variant:"transparent"})),onClick:n,onDoubleClick:pn,children:r??y.jsx(YT,{stroke:1.8,style:{width:"75%"}})})})}const GGe=me({position:"relative",width:"100%",height:"100%",padding:"0",margin:"0",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",_before:{content:'" "',position:"absolute",top:"[calc(100% - 4px)]",left:"0",width:"100%",height:"24px",background:"[transparent]",pointerEvents:"all"},_focusVisible:{outline:"none"},_reduceGraphicsOnPan:{_before:{display:"none"}},":where(.react-flow__node.selectable:not(.dragging)) &":{cursor:"pointer"}}),wm=S.forwardRef(({nodeProps:{selected:e=!1,selectable:r=!1,data:{hovered:n=!1,dimmed:o=!1,...a}},className:i,style:l,children:s,...c},u)=>{let d=1;switch(!0){case n:d=1.05;break;case e:d=1.02;break}const{size:p,padding:f,textSize:g}=n3(a.style??{});return y.jsx(nn,{ref:u,className:Je(GGe,"group","likec4-element-node",i),initial:!1,...r&&{animate:{scale:d},whileTap:{scale:.98}},"data-likec4-hovered":n,"data-likec4-color":a.color,"data-likec4-shape":a.shape,"data-likec4-shape-size":p,"data-likec4-spacing":f,"data-likec4-text-size":g,...o!==!1&&{"data-likec4-dimmed":o},style:{...l},...c,children:s})});wm.displayName="ElementNodeContainer";function see(e,r,n=.065){const o=Math.round(e/2),a=o,i=xi(n*o),l=r-2*i;return{path:` M ${e},${i} a ${a},${i} 0,0,0 ${-e} 0 l 0,${l} a ${a},${i} 0,0,0 ${e} 0 l 0,${-l} z - `.replace(/\s+/g," ").trim(),ry:i,rx:a}}function XJ(e,r,n=.185){const o=r,a=Math.round(o/2),i=yi(o/2*n),l=e-2*i;return{path:` + `.replace(/\s+/g," ").trim(),ry:i,rx:a}}function cee(e,r,n=.185){const o=r,a=Math.round(o/2),i=xi(o/2*n),l=e-2*i;return{path:` M ${i},0 a ${i},${a} 0,0,0 0 ${o} l ${l},0 a ${i},${a} 0,0,0 0 ${-o} - z`.replace(/\s+/g," ").trim(),ry:a,rx:i}}const fp={width:115,height:120,path:"M57.9197 0C10.9124 0 33.5766 54.75 33.5766 54.75C38.6131 62.25 45.3285 60.75 45.3285 66C45.3285 70.5 39.4526 72 33.5766 72.75C24.3431 72.75 15.9489 71.25 7.55474 84.75C2.51825 93 0 120 0 120H115C115 120 112.482 93 108.285 84.75C99.8905 70.5 91.4963 72.75 82.2628 72C76.3869 71.25 70.5109 69.75 70.5109 65.25C70.5109 60.75 77.2263 62.25 82.2628 54C82.2628 54.75 104.927 0 57.9197 0V0Z"};function KJ({shape:e,w:r,h:n}){switch(e){case"mobile":return y.jsxs(y.Fragment,{children:[y.jsx("rect",{width:r,height:n,rx:6,"data-likec4-fill":"mix-stroke",strokeWidth:0}),y.jsxs("g",{"data-likec4-fill":"fill",strokeWidth:0,children:[y.jsx("circle",{cx:17,cy:n/2,r:12}),y.jsx("rect",{x:33,y:12,width:r-44,height:n-24,rx:5})]})]});case"browser":return y.jsxs(y.Fragment,{children:[y.jsx("rect",{width:r,height:n,rx:6,"data-likec4-fill":"mix-stroke",strokeWidth:0}),y.jsxs("g",{"data-likec4-fill":"fill",strokeWidth:0,children:[y.jsx("circle",{cx:16,cy:17,r:7}),y.jsx("circle",{cx:36,cy:17,r:7}),y.jsx("circle",{cx:56,cy:17,r:7}),y.jsx("rect",{x:70,y:8,width:r-80,height:17,rx:4}),y.jsx("rect",{x:10,y:32,width:r-20,height:n-42,rx:4})]})]});case"person":return y.jsxs(y.Fragment,{children:[y.jsx("rect",{width:r,height:n,rx:6,strokeWidth:0}),y.jsx("svg",{x:r-fp.width-6,y:n-fp.height,width:fp.width,height:fp.height,viewBox:`0 0 ${fp.width} ${fp.height}`,"data-likec4-fill":"mix-stroke",children:y.jsx("path",{strokeWidth:0,d:fp.path})})]});case"queue":{const{path:o,rx:a,ry:i}=XJ(r,n);return y.jsxs(y.Fragment,{children:[y.jsx("path",{d:o,strokeWidth:2}),y.jsx("ellipse",{cx:a,cy:i,ry:i-.75,rx:a,"data-likec4-fill":"mix-stroke",strokeWidth:2})]})}case"storage":case"cylinder":{const{path:o,rx:a,ry:i}=GJ(r,n);return y.jsxs(y.Fragment,{children:[y.jsx("path",{d:o,strokeWidth:2}),y.jsx("ellipse",{cx:a,cy:i,ry:i,rx:a-.75,"data-likec4-fill":"mix-stroke",strokeWidth:2})]})}default:return Xa(e)}}function gGe({shape:e,w:r,h:n}){let o;switch(e){case"queue":o=y.jsx("path",{d:XJ(r,n).path});break;case"storage":case"cylinder":{o=y.jsx("path",{d:GJ(r,n).path});break}default:{o=y.jsx("rect",{x:-1,y:-1,width:r+2,height:n+2,rx:6});break}}return y.jsx("g",{className:"likec4-shape-outline",children:o})}function yGe({multiple:e,withOutLine:r}){return y.jsxs("div",{className:sQ({shapetype:"html"}),children:[e&&y.jsx("div",{className:"likec4-shape-multiple"}),r&&y.jsx("div",{className:"likec4-shape-outline"})]})}function gm({data:e,width:r,height:n,showSeletionOutline:o=!0}){let a=r&&r>10?r:e.width,i=n&&n>10?n:e.height;const l=e.style?.multiple??!1;if(e.shape==="rectangle")return y.jsx(yGe,{multiple:l,withOutLine:o});const s=sQ({shapetype:"svg"});return y.jsxs(y.Fragment,{children:[l&&y.jsx("svg",{className:s,"data-likec4-shape-multiple":"true",viewBox:`0 0 ${a} ${i}`,children:y.jsx(KJ,{shape:e.shape,w:a,h:i})}),y.jsxs("svg",{className:s,viewBox:`0 0 ${a} ${i}`,children:[o&&y.jsx(gGe,{shape:e.shape,w:a,h:i}),y.jsx(KJ,{shape:e.shape,w:a,h:i})]})]})}const mp=E.forwardRef(({value:e,textScale:r=1,uselikec4palette:n=!1,hideIfEmpty:o=!1,emptyText:a="no content",className:i,style:l,fontSize:s,...c},u)=>{if(e.isEmpty&&o)return null;const d=e.nonEmpty?e.isMarkdown?{dangerouslySetInnerHTML:{__html:e.html}}:{children:y.jsx("p",{children:e.text})}:{children:y.jsx(wt,{component:"span",fz:"xs",c:"dimmed",style:{userSelect:"none"},children:a})};return y.jsx(Ur,{ref:u,...c,className:Je(TVe({uselikec4palette:n,value:e.isMarkdown?"markdown":"plaintext"}),i),style:{...l,...s&&{"--text-fz":`var(--font-sizes-${s}, var(--font-sizes-md))`},"--mantine-scale":r},...d})});mp.displayName="Markdown";const ZJ=E.forwardRef(({className:e,...r},n)=>y.jsx("div",{...r,ref:n,className:Je(e,SVe(),"likec4-element")})),QJ=({data:e,...r})=>y.jsx(U3,{element:e,...r}),JJ=E.forwardRef(({className:e,...r},n)=>y.jsx("div",{...r,className:Je(e,"likec4-element-node-content"),ref:n})),eee=E.forwardRef(({data:{title:e,style:r},className:n,...o},a)=>{const{size:i}=e3(r),l=i==="sm"||i==="xs";return y.jsx(wt,{component:"div",...o,className:Je(n,"likec4-element-title"),"data-likec4-node-title":"",lineClamp:l?2:3,ref:a,children:e})}),tee=E.forwardRef(({data:e,children:r,className:n,...o},a)=>{const i=e?.technology??r;return Sa(i)?y.jsx(wt,{component:"div",...o,className:Je(n,"likec4-element-technology"),"data-likec4-node-technology":"",ref:a,children:i}):null}),ree=E.forwardRef(({data:{description:e,style:r},className:n,...o},a)=>{if(!e?.nonEmpty)return null;const{size:i}=e3(r),l=i==="sm"||i==="xs";return y.jsx(mp,{...o,className:Je(n,"likec4-element-description"),"data-likec4-node-description":"",value:e,uselikec4palette:!0,hideIfEmpty:!0,maxHeight:e.isMarkdown?"8rem ":void 0,lineClamp:l?3:5,ref:a})});function ml({iconSize:e,data:r}){return y.jsxs(ZJ,{style:nU(e)?{"--likec4-icon-size":`${e}px`}:void 0,children:[y.jsx(QJ,{data:r}),y.jsxs(JJ,{children:[y.jsx(eee,{data:r}),y.jsx(tee,{data:r}),y.jsx(ree,{data:r})]})]})}ml.Root=ZJ,ml.Icon=QJ,ml.Content=JJ,ml.Title=eee,ml.Technology=tee,ml.Description=ree;const bGe=ye({position:"absolute",top:"0.5",right:"0.5",_shapeBrowser:{right:"[5px]"},_shapeCylinder:{top:"[14px]"},_shapeStorage:{top:"[14px]"},_shapeQueue:{top:"[1px]",right:"3"},_smallZoom:{display:"none"}});function FT({selected:e=!1,data:{hovered:r=!1},icon:n,onClick:o}){const a=Ta();return y.jsx(Ur,{className:Je(bGe,"details-button"),children:y.jsx(or,{className:Je("nodrag nopan",E2({variant:"transparent"})),component:fl,initial:!1,style:{originX:.45,originY:.55},animate:r||e?{scale:1.2,opacity:.8}:{scale:1,opacity:.5},whileHover:{scale:1.4,opacity:1},whileTap:{scale:1.15},onClick:o,onDoubleClick:cn,children:n??y.jsx(jT,{stroke:1.8,style:{width:"75%"}})},a)})}const vGe=e=>{const r=Wt();return y.jsx(FT,{...e,onClick:n=>{n.stopPropagation(),r.openElementDetails(e.data.fqn)}})};function xGe(e){const{enableElementTags:r}=wr();return y.jsxs(mm,{layoutId:e.id,nodeProps:e,children:[y.jsx(gm,{...e}),y.jsx(ml,{...e}),r&&y.jsx(Ey,{...e}),y.jsx(vGe,{...e}),y.jsx(hGe,{...e}),y.jsx(kGe,{...e})]},e.id)}function wGe(e){const r=Wt();return y.jsxs(Dy,{layoutId:e.id,nodeProps:e,children:[y.jsx(Py,{...e}),y.jsx(WJ,{...e,onClick:n=>{n.stopPropagation(),r.openElementDetails(e.data.fqn)}}),y.jsx(_Ge,{...e})]},e.id)}const kGe=({data:{ports:e,height:r}})=>y.jsxs(y.Fragment,{children:[e.in.map((n,o)=>y.jsx(uo,{id:n,type:"target",position:tt.Left,style:{visibility:"hidden",top:`${15+(o+1)*((r-30)/(e.in.length+1))}px`}},n)),e.out.map((n,o)=>y.jsx(uo,{id:n,type:"source",position:tt.Right,style:{visibility:"hidden",top:`${15+(o+1)*((r-30)/(e.out.length+1))}px`}},n))]}),_Ge=({data:e})=>y.jsxs(y.Fragment,{children:[e.ports.in.map((r,n)=>y.jsx(uo,{id:r,type:"target",position:tt.Left,style:{visibility:"hidden",top:`${20*(n+1)}px`}},r)),e.ports.out.map((r,n)=>y.jsx(uo,{id:r,type:"source",position:tt.Right,style:{visibility:"hidden",top:`${20*(n+1)}px`}},r))]});/** + z`.replace(/\s+/g," ").trim(),ry:a,rx:i}}const Sp={width:115,height:120,path:"M57.9197 0C10.9124 0 33.5766 54.75 33.5766 54.75C38.6131 62.25 45.3285 60.75 45.3285 66C45.3285 70.5 39.4526 72 33.5766 72.75C24.3431 72.75 15.9489 71.25 7.55474 84.75C2.51825 93 0 120 0 120H115C115 120 112.482 93 108.285 84.75C99.8905 70.5 91.4963 72.75 82.2628 72C76.3869 71.25 70.5109 69.75 70.5109 65.25C70.5109 60.75 77.2263 62.25 82.2628 54C82.2628 54.75 104.927 0 57.9197 0V0Z"};function uee({shape:e,w:r,h:n}){switch(e){case"mobile":return y.jsxs(y.Fragment,{children:[y.jsx("rect",{width:r,height:n,rx:6,"data-likec4-fill":"mix-stroke",strokeWidth:0}),y.jsxs("g",{"data-likec4-fill":"fill",strokeWidth:0,children:[y.jsx("circle",{cx:17,cy:n/2,r:12}),y.jsx("rect",{x:33,y:12,width:r-44,height:n-24,rx:5})]})]});case"browser":return y.jsxs(y.Fragment,{children:[y.jsx("rect",{width:r,height:n,rx:6,"data-likec4-fill":"mix-stroke",strokeWidth:0}),y.jsxs("g",{"data-likec4-fill":"fill",strokeWidth:0,children:[y.jsx("circle",{cx:16,cy:17,r:7}),y.jsx("circle",{cx:36,cy:17,r:7}),y.jsx("circle",{cx:56,cy:17,r:7}),y.jsx("rect",{x:70,y:8,width:r-80,height:17,rx:4}),y.jsx("rect",{x:10,y:32,width:r-20,height:n-42,rx:4})]})]});case"person":return y.jsxs(y.Fragment,{children:[y.jsx("rect",{width:r,height:n,rx:6,strokeWidth:0}),y.jsx("svg",{x:r-Sp.width-6,y:n-Sp.height,width:Sp.width,height:Sp.height,viewBox:`0 0 ${Sp.width} ${Sp.height}`,"data-likec4-fill":"mix-stroke",children:y.jsx("path",{strokeWidth:0,d:Sp.path})})]});case"queue":{const{path:o,rx:a,ry:i}=cee(r,n);return y.jsxs(y.Fragment,{children:[y.jsx("path",{d:o,strokeWidth:2}),y.jsx("ellipse",{cx:a,cy:i,ry:i-.75,rx:a,"data-likec4-fill":"mix-stroke",strokeWidth:2})]})}case"storage":case"cylinder":{const{path:o,rx:a,ry:i}=see(r,n);return y.jsxs(y.Fragment,{children:[y.jsx("path",{d:o,strokeWidth:2}),y.jsx("ellipse",{cx:a,cy:i,ry:i,rx:a-.75,"data-likec4-fill":"mix-stroke",strokeWidth:2})]})}default:return Ja(e)}}function XGe({shape:e,w:r,h:n}){let o;switch(e){case"queue":o=y.jsx("path",{d:cee(r,n).path});break;case"storage":case"cylinder":{o=y.jsx("path",{d:see(r,n).path});break}default:{o=y.jsx("rect",{x:-1,y:-1,width:r+2,height:n+2,rx:6});break}}return y.jsx("g",{className:"likec4-shape-outline",children:o})}function KGe({multiple:e,withOutLine:r}){return y.jsxs("div",{className:vQ({shapetype:"html"}),children:[e&&y.jsx("div",{className:"likec4-shape-multiple"}),r&&y.jsx("div",{className:"likec4-shape-outline"})]})}function km({data:e,width:r,height:n,showSeletionOutline:o=!0}){let a=r&&r>10?r:e.width,i=n&&n>10?n:e.height;const l=e.style?.multiple??!1;if(e.shape==="rectangle")return y.jsx(KGe,{multiple:l,withOutLine:o});const s=vQ({shapetype:"svg"});return y.jsxs(y.Fragment,{children:[l&&y.jsx("svg",{className:s,"data-likec4-shape-multiple":"true",viewBox:`0 0 ${a} ${i}`,children:y.jsx(uee,{shape:e.shape,w:a,h:i})}),y.jsxs("svg",{className:s,viewBox:`0 0 ${a} ${i}`,children:[o&&y.jsx(XGe,{shape:e.shape,w:a,h:i}),y.jsx(uee,{shape:e.shape,w:a,h:i})]})]})}const Cp=S.forwardRef(({value:e,textScale:r=1,uselikec4palette:n=!1,hideIfEmpty:o=!1,emptyText:a="no content",className:i,style:l,fontSize:s,...c},u)=>{if(e.isEmpty&&o)return null;const d=e.nonEmpty?e.isMarkdown?{dangerouslySetInnerHTML:{__html:e.html}}:{children:y.jsx("p",{children:e.text})}:{children:y.jsx(pt,{component:"span",fz:"xs",c:"dimmed",style:{userSelect:"none"},children:a})};return y.jsx(Gr,{ref:u,...c,className:Je(nYe({uselikec4palette:n,value:e.isMarkdown?"markdown":"plaintext"}),i),style:{...l,...s&&{"--text-fz":`var(--font-sizes-${s}, var(--font-sizes-md))`},"--mantine-scale":r},...d})});Cp.displayName="Markdown";const dee=S.forwardRef(({className:e,...r},n)=>y.jsx("div",{...r,ref:n,className:Je(e,tYe(),"likec4-element")})),pee=({data:e,...r})=>y.jsx(W3,{element:e,...r}),hee=S.forwardRef(({className:e,...r},n)=>y.jsx("div",{...r,className:Je(e,"likec4-element-node-content"),ref:n})),fee=S.forwardRef(({data:{title:e,style:r},className:n,...o},a)=>{const{size:i}=n3(r),l=i==="sm"||i==="xs";return y.jsx(pt,{component:"div",...o,className:Je(n,"likec4-element-title"),"data-likec4-node-title":"",lineClamp:l?2:3,ref:a,children:e})}),mee=S.forwardRef(({data:e,children:r,className:n,...o},a)=>{const i=e?.technology??r;return Ta(i)?y.jsx(pt,{component:"div",...o,className:Je(n,"likec4-element-technology"),"data-likec4-node-technology":"",ref:a,children:i}):null}),gee=S.forwardRef(({data:{description:e,style:r},className:n,...o},a)=>{if(!e?.nonEmpty)return null;const{size:i}=n3(r),l=i==="sm"||i==="xs";return y.jsx(Cp,{...o,className:Je(n,"likec4-element-description"),"data-likec4-node-description":"",value:e,uselikec4palette:!0,hideIfEmpty:!0,maxHeight:e.isMarkdown?"8rem ":void 0,lineClamp:l?3:5,ref:a})});function yl({iconSize:e,data:r}){return y.jsxs(dee,{style:fU(e)?{"--likec4-icon-size":`${e}px`}:void 0,children:[y.jsx(pee,{data:r}),y.jsxs(hee,{children:[y.jsx(fee,{data:r}),y.jsx(mee,{data:r}),y.jsx(gee,{data:r})]})]})}yl.Root=dee,yl.Icon=pee,yl.Content=hee,yl.Title=fee,yl.Technology=mee,yl.Description=gee;const ZGe=me({position:"absolute",top:"0.5",right:"0.5",_shapeBrowser:{right:"[5px]"},_shapeCylinder:{top:"[14px]"},_shapeStorage:{top:"[14px]"},_shapeQueue:{top:"[1px]",right:"3"},_smallZoom:{display:"none"}});function WT({selected:e=!1,data:{hovered:r=!1},icon:n,onClick:o}){const a=Aa();return y.jsx(Gr,{className:Je(ZGe,"details-button"),children:y.jsx(ir,{className:Je("nodrag nopan",R2({variant:"transparent"})),component:gl,initial:!1,style:{originX:.45,originY:.55},animate:r||e?{scale:1.2,opacity:.8}:{scale:1,opacity:.5},whileHover:{scale:1.4,opacity:1},whileTap:{scale:1.15},onClick:o,onDoubleClick:pn,children:n??y.jsx(YT,{stroke:1.8,style:{width:"75%"}})},a)})}const QGe=e=>{const r=Yt();return y.jsx(WT,{...e,onClick:n=>{n.stopPropagation(),r.openElementDetails(e.data.fqn)}})};function JGe(e){const{enableElementTags:r}=Er();return y.jsxs(wm,{layoutId:e.id,nodeProps:e,children:[y.jsx(km,{...e}),y.jsx(yl,{...e}),r&&y.jsx(My,{...e}),y.jsx(QGe,{...e}),y.jsx(YGe,{...e}),y.jsx(tXe,{...e})]},e.id)}function eXe(e){const r=Yt();return y.jsxs(Fy,{layoutId:e.id,nodeProps:e,children:[y.jsx(Hy,{...e}),y.jsx(lee,{...e,onClick:n=>{n.stopPropagation(),r.openElementDetails(e.data.fqn)}}),y.jsx(rXe,{...e})]},e.id)}const tXe=({data:{ports:e,height:r}})=>y.jsxs(y.Fragment,{children:[e.in.map((n,o)=>y.jsx(fo,{id:n,type:"target",position:tt.Left,style:{visibility:"hidden",top:`${15+(o+1)*((r-30)/(e.in.length+1))}px`}},n)),e.out.map((n,o)=>y.jsx(fo,{id:n,type:"source",position:tt.Right,style:{visibility:"hidden",top:`${15+(o+1)*((r-30)/(e.out.length+1))}px`}},n))]}),rXe=({data:e})=>y.jsxs(y.Fragment,{children:[e.ports.in.map((r,n)=>y.jsx(fo,{id:r,type:"target",position:tt.Left,style:{visibility:"hidden",top:`${20*(n+1)}px`}},r)),e.ports.out.map((r,n)=>y.jsx(fo,{id:r,type:"source",position:tt.Right,style:{visibility:"hidden",top:`${20*(n+1)}px`}},r))]});/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const EGe=[["path",{d:"M15 6l-6 6l6 6",key:"svg-0"}]],nee=yt("outline","chevron-left","ChevronLeft",EGe),SGe={element:xGe,compound:wGe,empty:aGe},CGe={relationship:nGe};function oee({actorRef:e}){const r=E.useRef(null);return r.current==null&&(r.current={initialNodes:[],initialEdges:[]}),y.jsx(OQ.Provider,{value:e,children:y.jsx($x,{...r.current,children:y.jsx(dm,{id:e.sessionId,inherit:!1,children:y.jsx(Pa,{children:y.jsx(AGe,{})})})})})}const TGe=e=>({isActive:e.hasTag("active"),nodes:e.context.xynodes,edges:e.context.xyedges}),RGe=(e,r)=>e.isActive===r.isActive&&Gn(e.nodes,r.nodes)&&Gn(e.edges,r.edges),AGe=E.memo(()=>{const e=Sy(),{isActive:r,nodes:n,edges:o}=M2(TGe,RGe);return y.jsx(qC,{id:e.rootElementId,nodes:n,edges:o,className:Je(r?"initialized":"not-initialized","relationships-browser"),nodeTypes:SGe,edgeTypes:CGe,fitView:!1,onNodeClick:it((a,i)=>{a.stopPropagation(),e.send({type:"xyflow.nodeClick",node:i})}),onEdgeClick:it((a,i)=>{a.stopPropagation(),e.send({type:"xyflow.edgeClick",edge:i})}),onPaneClick:it(a=>{a.stopPropagation(),e.send({type:"xyflow.paneClick"})}),onDoubleClick:it(a=>{e.send({type:"xyflow.paneDblClick"})}),onViewportResize:it(()=>{e.send({type:"xyflow.resized"})}),onNodesChange:it(a=>{e.send({type:"xyflow.applyNodeChanges",changes:a})}),onEdgesChange:it(a=>{e.send({type:"xyflow.applyEdgeChanges",changes:a})}),onEdgeMouseEnter:it((a,i)=>{i.data.hovered||e.send({type:"xyflow.edgeMouseEnter",edge:i})}),onEdgeMouseLeave:it((a,i)=>{i.data.hovered&&e.send({type:"xyflow.edgeMouseLeave",edge:i})}),onSelectionChange:it(a=>{e.send({type:"xyflow.selectionChange",...a})}),nodesDraggable:!1,pannable:!0,zoomable:!0,children:y.jsx(DGe,{})})}),NGe=e=>({subjectId:e.context.subject,viewId:e.context.viewId,scope:e.context.scope,closeable:e.context.closeable}),DGe=E.memo(()=>{const e=Sy(),{subjectId:r,viewId:n,scope:o,closeable:a}=M2(NGe),i=fr(),l=uf();E.useEffect(()=>{l.viewportInitialized&&e.send({type:"xyflow.init",instance:l,store:i})},[i,l.viewportInitialized,e]);const s=AWe(r,n,o),[c,u,{history:d,current:p}]=YU(r);E.useEffect(()=>{c!==r&&u.set(r)},[r]),E.useEffect(()=>{c!==r&&e.navigateTo(c)},[c,e]),Hj(()=>{e.updateView(s)},[s,e]);const f=p>0,g=p+1u.back(),onStepForward:()=>u.forward()}),a&&y.jsx(ou,{position:"top-right",children:y.jsx(or,{variant:"default",color:"gray",onClick:b=>{b.stopPropagation(),e.close()},children:y.jsx(Hf,{})})})]})}),PGe=({hasStepBack:e,hasStepForward:r,onStepBack:n,onStepForward:o})=>y.jsx(ou,{position:"top-left",children:y.jsxs(qr,{gap:4,wrap:"nowrap",children:[y.jsxs(Pa,{mode:"popLayout",children:[e&&y.jsx(cl.div,{layout:!0,initial:{opacity:.05,transform:"translateX(-5px)"},animate:{opacity:1,transform:"translateX(0)"},exit:{opacity:.05,transform:"translateX(-10px)"},children:y.jsx(or,{variant:"default",color:"gray",onClick:a=>{a.stopPropagation(),n()},children:y.jsx(nee,{})})},"back"),r&&y.jsx(cl.div,{layout:!0,initial:{opacity:.05,transform:"translateX(5px)"},animate:{opacity:1,transform:"translateX(0)"},exit:{opacity:0,transform:"translateX(5px)"},children:y.jsx(or,{variant:"default",color:"gray",onClick:a=>{a.stopPropagation(),o()},children:y.jsx(pp,{})})},"forward")]}),y.jsx(zWe,{})]})}),$Ge=ye({display:"inline-block",fontSize:"sm",fontWeight:500,whiteSpace:"nowrap",padding:"[3px 6px]",borderRadius:3,background:"var(--likec4-palette-fill)/75",lineHeight:1.2,color:"var(--likec4-palette-hiContrast)"}),MGe=ye({_light:{background:"mantine.colors.gray[1]","&[data-missing":{}},"&[data-missing]":{color:"mantine.colors.orange[4]",background:"mantine.colors.orange[8]/15",borderColor:"mantine.colors.orange[5]/20",_light:{color:"mantine.colors.orange[8]"}}}),OGe=ye({flex:"1 1 100%",position:"relative",width:"100%",height:"100%",background:"mantine.colors.body",border:"1px solid {colors.mantine.colors.defaultBorder}",borderRadius:"sm",_light:{borderColor:"mantine.colors.gray[3]",background:"mantine.colors.gray[1]"}});ye({_before:{content:'"scope:"',position:"absolute",top:"0",left:"2",fontSize:"xxs",fontWeight:500,lineHeight:"1",color:"mantine.colors.dimmed",opacity:.85,transform:"translateY(-100%) translateY(-2px)"},_light:{"& .mantine-SegmentedControl-root":{background:"mantine.colors.gray[3]"}}}),ye({display:"inline-block",fontSize:"xl",fontWeight:600,padding:"[1px 5px]",minWidth:24,textAlign:"center",borderRadius:"sm",background:"mantine.colors.dark[7]",color:"mantine.colors.defaultColor","&[data-zero]":{color:"mantine.colors.dimmed"},"&[data-missing]":{color:"mantine.colors.orange[4]",background:"mantine.colors.orange[8]/20"}});/** + */const nXe=[["path",{d:"M15 6l-6 6l6 6",key:"svg-0"}]],yee=xt("outline","chevron-left","ChevronLeft",nXe),oXe={element:JGe,compound:eXe,empty:LGe},aXe={relationship:IGe};function bee({actorRef:e}){const r=S.useRef(null);return r.current==null&&(r.current={initialNodes:[],initialEdges:[]}),y.jsx(XQ.Provider,{value:e,children:y.jsx(Ix,{...r.current,children:y.jsx(ym,{id:e.sessionId,inherit:!1,children:y.jsx(Oa,{children:y.jsx(sXe,{})})})})})}const iXe=e=>({isActive:e.hasTag("active"),nodes:e.context.xynodes,edges:e.context.xyedges}),lXe=(e,r)=>e.isActive===r.isActive&&Jn(e.nodes,r.nodes)&&Jn(e.edges,r.edges),sXe=S.memo(()=>{const e=Oy(),{isActive:r,nodes:n,edges:o}=L2(iXe,lXe);return y.jsx(XC,{id:e.rootElementId,nodes:n,edges:o,className:Je(r?"initialized":"not-initialized","relationships-browser"),nodeTypes:oXe,edgeTypes:aXe,fitView:!1,onNodeClick:ot((a,i)=>{a.stopPropagation(),e.send({type:"xyflow.nodeClick",node:i})}),onEdgeClick:ot((a,i)=>{a.stopPropagation(),e.send({type:"xyflow.edgeClick",edge:i})}),onPaneClick:ot(a=>{a.stopPropagation(),e.send({type:"xyflow.paneClick"})}),onDoubleClick:ot(a=>{e.send({type:"xyflow.paneDblClick"})}),onViewportResize:ot(()=>{e.send({type:"xyflow.resized"})}),onNodesChange:ot(a=>{e.send({type:"xyflow.applyNodeChanges",changes:a})}),onEdgesChange:ot(a=>{e.send({type:"xyflow.applyEdgeChanges",changes:a})}),onEdgeMouseEnter:ot((a,i)=>{i.data.hovered||e.send({type:"xyflow.edgeMouseEnter",edge:i})}),onEdgeMouseLeave:ot((a,i)=>{i.data.hovered&&e.send({type:"xyflow.edgeMouseLeave",edge:i})}),onSelectionChange:ot(a=>{e.send({type:"xyflow.selectionChange",...a})}),nodesDraggable:!1,pannable:!0,zoomable:!0,children:y.jsx(uXe,{})})}),cXe=e=>({subjectId:e.context.subject,viewId:e.context.viewId,scope:e.context.scope,closeable:e.context.closeable}),uXe=S.memo(()=>{const e=Oy(),{subjectId:r,viewId:n,scope:o,closeable:a}=L2(cXe),i=yr(),l=bf();S.useEffect(()=>{l.viewportInitialized&&e.send({type:"xyflow.init",instance:l,store:i})},[i,l.viewportInitialized,e]);const s=cGe(r,n,o),[c,u,{history:d,current:p}]=nV(r);S.useEffect(()=>{c!==r&&u.set(r)},[r]),S.useEffect(()=>{c!==r&&e.navigateTo(c)},[c,e]),Zj(()=>{e.updateView(s)},[s,e]);const f=p>0,g=p+1u.back(),onStepForward:()=>u.forward()}),a&&y.jsx(fu,{position:"top-right",children:y.jsx(ir,{variant:"default",color:"gray",onClick:b=>{b.stopPropagation(),e.close()},children:y.jsx(Xf,{})})})]})}),dXe=({hasStepBack:e,hasStepForward:r,onStepBack:n,onStepForward:o})=>y.jsx(fu,{position:"top-left",children:y.jsxs(Wr,{gap:4,wrap:"nowrap",children:[y.jsxs(Oa,{mode:"popLayout",children:[e&&y.jsx(dl.div,{layout:!0,initial:{opacity:.05,transform:"translateX(-5px)"},animate:{opacity:1,transform:"translateX(0)"},exit:{opacity:.05,transform:"translateX(-10px)"},children:y.jsx(ir,{variant:"default",color:"gray",onClick:a=>{a.stopPropagation(),n()},children:y.jsx(yee,{})})},"back"),r&&y.jsx(dl.div,{layout:!0,initial:{opacity:.05,transform:"translateX(5px)"},animate:{opacity:1,transform:"translateX(0)"},exit:{opacity:0,transform:"translateX(5px)"},children:y.jsx(ir,{variant:"default",color:"gray",onClick:a=>{a.stopPropagation(),o()},children:y.jsx(Mu,{})})},"forward")]}),y.jsx(yGe,{})]})}),pXe=me({display:"inline-block",fontSize:"sm",fontWeight:500,whiteSpace:"nowrap",padding:"[3px 6px]",borderRadius:3,background:"var(--likec4-palette-fill)/75",lineHeight:1.2,color:"var(--likec4-palette-hiContrast)"}),hXe=me({_light:{background:"mantine.colors.gray[1]","&[data-missing":{}},"&[data-missing]":{color:"mantine.colors.orange[4]",background:"mantine.colors.orange[8]/15",borderColor:"mantine.colors.orange[5]/20",_light:{color:"mantine.colors.orange[8]"}}}),fXe=me({flex:"1 1 100%",position:"relative",width:"100%",height:"100%",background:"mantine.colors.body",border:"1px solid {colors.mantine.colors.defaultBorder}",borderRadius:"sm",_light:{borderColor:"mantine.colors.gray[3]",background:"mantine.colors.gray[1]"}});me({_before:{content:'"scope:"',position:"absolute",top:"0",left:"2",fontSize:"xxs",fontWeight:500,lineHeight:"1",color:"mantine.colors.dimmed",opacity:.85,transform:"translateY(-100%) translateY(-2px)"},_light:{"& .mantine-SegmentedControl-root":{background:"mantine.colors.gray[3]"}}}),me({display:"inline-block",fontSize:"xl",fontWeight:600,padding:"[1px 5px]",minWidth:24,textAlign:"center",borderRadius:"sm",background:"mantine.colors.dark[7]",color:"mantine.colors.defaultColor","&[data-zero]":{color:"mantine.colors.dimmed"},"&[data-missing]":{color:"mantine.colors.orange[4]",background:"mantine.colors.orange[8]/20"}});/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const IGe=[["path",{d:"M5 12l14 0",key:"svg-0"}],["path",{d:"M13 18l6 -6",key:"svg-1"}],["path",{d:"M13 6l6 6",key:"svg-2"}]],ym=yt("outline","arrow-right","ArrowRight",IGe);/** + */const mXe=[["path",{d:"M5 12l14 0",key:"svg-0"}],["path",{d:"M13 18l6 -6",key:"svg-1"}],["path",{d:"M13 6l6 6",key:"svg-2"}]],_m=xt("outline","arrow-right","ArrowRight",mXe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const LGe=[["path",{d:"M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6",key:"svg-0"}],["path",{d:"M11 13l9 -9",key:"svg-1"}],["path",{d:"M15 4h5v5",key:"svg-2"}]],aee=yt("outline","external-link","ExternalLink",LGe),zGe=fo.withProps({color:"dark",fz:"xs",openDelay:600,closeDelay:120,label:"",children:null,offset:8,withinPortal:!1});function BGe({node:e,element:r}){const n=UG(),o=kVe(),a=wn(o,d=>d.children[`${o.id}-relationships`]),i=[...r.incoming()].map(d=>d.id),l=[...r.outgoing()].map(d=>d.id),s=e?YE([...e.incoming()].flatMap(d=>d.$edge.relations)):[],c=e?YE([...e.outgoing()].flatMap(d=>d.$edge.relations)):[],u=[...i,...l].filter(d=>!s.includes(d)&&!c.includes(d)).length;return y.jsxs(ra,{gap:"xs",pos:"relative",w:"100%",h:"100%",children:[i.length+l.length>0&&y.jsxs(qr,{gap:"xs",wrap:"nowrap",align:"center",children:[y.jsx(Se,{children:y.jsxs(qr,{gap:8,mb:4,wrap:"nowrap",children:[y.jsx(iee,{title:"incoming",total:i.length,included:s.length}),y.jsx(ci,{size:"sm",variant:"transparent",c:"dimmed",children:y.jsx(ym,{style:{width:16}})}),y.jsx(wt,{className:$Ge,children:g1(r.id)}),y.jsx(ci,{size:"sm",variant:"transparent",c:"dimmed",children:y.jsx(ym,{style:{width:16}})}),y.jsx(iee,{title:"outgoing",total:l.length,included:c.length})]})}),u>0&&y.jsx(zGe,{label:"Current view does not include some relationships",children:y.jsxs(qr,{mt:"xs",gap:6,c:"orange",style:{cursor:"pointer"},children:[y.jsx(FC,{style:{width:14}}),y.jsxs(wt,{fz:"sm",children:[u," relationship",u>1?"s are":" is"," hidden"]})]})})]}),y.jsx(Se,{className:OGe,children:a&&y.jsxs(y.Fragment,{children:[y.jsx(oee,{actorRef:a}),y.jsx(Se,{pos:"absolute",top:12,right:12,children:y.jsx(or,{size:"md",variant:"default",radius:"sm",onClick:d=>{d.stopPropagation();const{subject:p,scope:f,viewId:g}=a.getSnapshot().context;n.send({type:"open.relationshipsBrowser",subject:p,scope:f,viewId:g})},children:y.jsx(aee,{stroke:1.6,style:{width:"70%"}})})})]})})]})}function iee({title:e,total:r,included:n}){return y.jsx(Nf,{withBorder:!0,shadow:"none",className:MGe,px:"md",py:"xs",radius:"md",mod:{zero:r===0,missing:r!==n},children:y.jsxs(ra,{gap:4,align:"flex-end",children:[y.jsx(wt,{component:"div",c:r!==n?"orange":"dimmed",tt:"uppercase",fw:600,fz:10,lh:1,children:e}),y.jsx(wt,{fw:600,fz:"xl",component:"div",lh:1,children:r!==n?y.jsxs(y.Fragment,{children:[n," / ",r]}):y.jsx(y.Fragment,{children:r})})]})})}const jGe=ye({marginTop:"sm",marginBottom:"sm"}),FGe=ye({display:"inline-flex",transition:"fast",border:"1px dashed",borderColor:"mantine.colors.defaultBorder",borderRadius:"sm",px:"md",py:"xs",alignItems:"center",cursor:"pointer",color:"mantine.colors.gray[7]",_dark:{color:"mantine.colors.dark[1]"},"& > *":{transition:"fast"},_hover:{transitionTimingFunction:"out",borderStyle:"solid",color:"mantine.colors.defaultColor",background:"mantine.colors.defaultHover","& > *":{transitionTimingFunction:"out",transform:"translateX(1px)"}}}),HT=({element:e})=>y.jsx(Se,{className:FGe,children:y.jsx(wt,{component:"div",fz:"sm",fw:"500",children:e.title})}),HGe=()=>{};function qGe({element:e}){const r=Y0({multiple:!1});r.setHoveredNode=HGe;const n=E.useMemo(()=>{let o=1;const a=l=>({label:l,value:`msg${o++}`,type:"message",children:[]}),i={label:y.jsx(HT,{type:"current",element:e}),value:e.id,element:e,type:"current",children:[...e.children()].map(l=>({label:y.jsx(HT,{type:"descedant",element:l}),value:l.id,element:l,type:"descedant",children:[]}))};return i.children.length===0&&i.children.push(a(y.jsx(qw,{radius:"sm",children:"no nested"}))),[[...e.ancestors()].reduce((l,s)=>({label:y.jsx(HT,{type:"ancestor",element:s}),value:s.id,element:s,type:"ancestor",children:[l]}),i)]},[e]);return E.useEffect(()=>{r.expandAllNodes()},[n]),y.jsxs(y.Fragment,{children:[y.jsxs($w,{variant:"light",color:"orange",title:"In development",icon:y.jsx(FC,{}),children:["We need your feedback. Share your thoughts and ideas -"," ",y.jsx(r7,{fz:"sm",fw:500,underline:"hover",c:"orange",href:"https://github.com/likec4/likec4/discussions/",target:"_blank",children:"GitHub discussions"})]}),y.jsx(jf,{levelOffset:"xl",allowRangeSelection:!1,expandOnClick:!1,expandOnSpace:!1,classNames:{label:jGe},data:n,tree:r})]})}/** + */const gXe=[["path",{d:"M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6",key:"svg-0"}],["path",{d:"M11 13l9 -9",key:"svg-1"}],["path",{d:"M15 4h5v5",key:"svg-2"}]],vee=xt("outline","external-link","ExternalLink",gXe),yXe=no.withProps({color:"dark",fz:"xs",openDelay:600,closeDelay:120,label:"",children:null,offset:8,withinPortal:!1});function bXe({node:e,element:r}){const n=tX(),o=QVe(),a=Cn(o,d=>d.children[`${o.id}-relationships`]),i=[...r.incoming()].map(d=>d.id),l=[...r.outgoing()].map(d=>d.id),s=e?QE([...e.incoming()].flatMap(d=>d.$edge.relations)):[],c=e?QE([...e.outgoing()].flatMap(d=>d.$edge.relations)):[],u=[...i,...l].filter(d=>!s.includes(d)&&!c.includes(d)).length;return y.jsxs(Ho,{gap:"xs",pos:"relative",w:"100%",h:"100%",children:[i.length+l.length>0&&y.jsxs(Wr,{gap:"xs",wrap:"nowrap",align:"center",children:[y.jsx(Se,{children:y.jsxs(Wr,{gap:8,mb:4,wrap:"nowrap",children:[y.jsx(xee,{title:"incoming",total:i.length,included:s.length}),y.jsx(hi,{size:"sm",variant:"transparent",c:"dimmed",children:y.jsx(_m,{style:{width:16}})}),y.jsx(pt,{className:pXe,children:C1(r.id)}),y.jsx(hi,{size:"sm",variant:"transparent",c:"dimmed",children:y.jsx(_m,{style:{width:16}})}),y.jsx(xee,{title:"outgoing",total:l.length,included:c.length})]})}),u>0&&y.jsx(yXe,{label:"Current view does not include some relationships",children:y.jsxs(Wr,{mt:"xs",gap:6,c:"orange",style:{cursor:"pointer"},children:[y.jsx(WC,{style:{width:14}}),y.jsxs(pt,{fz:"sm",children:[u," relationship",u>1?"s are":" is"," hidden"]})]})})]}),y.jsx(Se,{className:fXe,children:a&&y.jsxs(y.Fragment,{children:[y.jsx(bee,{actorRef:a}),y.jsx(Se,{pos:"absolute",top:12,right:12,children:y.jsx(ir,{size:"md",variant:"default",radius:"sm",onClick:d=>{d.stopPropagation();const{subject:p,scope:f,viewId:g}=a.getSnapshot().context;n.send({type:"open.relationshipsBrowser",subject:p,scope:f,viewId:g})},children:y.jsx(vee,{stroke:1.6,style:{width:"70%"}})})})]})})]})}function xee({title:e,total:r,included:n}){return y.jsx(Lf,{withBorder:!0,shadow:"none",className:hXe,px:"md",py:"xs",radius:"md",mod:{zero:r===0,missing:r!==n},children:y.jsxs(Ho,{gap:4,align:"flex-end",children:[y.jsx(pt,{component:"div",c:r!==n?"orange":"dimmed",tt:"uppercase",fw:600,fz:10,lh:1,children:e}),y.jsx(pt,{fw:600,fz:"xl",component:"div",lh:1,children:r!==n?y.jsxs(y.Fragment,{children:[n," / ",r]}):y.jsx(y.Fragment,{children:r})})]})})}const vXe=me({marginTop:"sm",marginBottom:"sm"}),xXe=me({display:"inline-flex",transition:"fast",border:"1px dashed",borderColor:"mantine.colors.defaultBorder",borderRadius:"sm",px:"md",py:"xs",alignItems:"center",cursor:"pointer",color:"mantine.colors.gray[7]",_dark:{color:"mantine.colors.dark[1]"},"& > *":{transition:"fast"},_hover:{transitionTimingFunction:"out",borderStyle:"solid",color:"mantine.colors.defaultColor",background:"mantine.colors.defaultHover","& > *":{transitionTimingFunction:"out",transform:"translateX(1px)"}}}),GT=({element:e})=>y.jsx(Se,{className:xXe,children:y.jsx(pt,{component:"div",fz:"sm",fw:"500",children:e.title})}),wXe=()=>{};function kXe({element:e}){const r=ry({multiple:!1});r.setHoveredNode=wXe;const n=S.useMemo(()=>{let o=1;const a=l=>({label:l,value:`msg${o++}`,type:"message",children:[]}),i={label:y.jsx(GT,{type:"current",element:e}),value:e.id,element:e,type:"current",children:[...e.children()].map(l=>({label:y.jsx(GT,{type:"descedant",element:l}),value:l.id,element:l,type:"descedant",children:[]}))};return i.children.length===0&&i.children.push(a(y.jsx(Ww,{radius:"sm",children:"no nested"}))),[[...e.ancestors()].reduce((l,s)=>({label:y.jsx(GT,{type:"ancestor",element:s}),value:s.id,element:s,type:"ancestor",children:[l]}),i)]},[e]);return S.useEffect(()=>{r.expandAllNodes()},[n]),y.jsxs(y.Fragment,{children:[y.jsxs(zw,{variant:"light",color:"orange",title:"In development",icon:y.jsx(WC,{}),children:["We need your feedback. Share your thoughts and ideas -"," ",y.jsx(s7,{fz:"sm",fw:500,underline:"hover",c:"orange",href:"https://github.com/likec4/likec4/discussions/",target:"_blank",children:"GitHub discussions"})]}),y.jsx(Wf,{levelOffset:"xl",allowRangeSelection:!1,expandOnClick:!1,expandOnSpace:!1,classNames:{label:vXe},data:n,tree:r})]})}/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const UGe=[["path",{d:"M12 4l-8 4l8 4l8 -4l-8 -4",key:"svg-0"}],["path",{d:"M4 12l8 4l8 -4",key:"svg-1"}],["path",{d:"M4 16l8 4l8 -4",key:"svg-2"}]],qT=yt("outline","stack-2","Stack2",UGe),lee=If.withProps({mb:8,labelPosition:"left",variant:"dashed"}),see=fo.withProps({color:"dark",fz:"xs",openDelay:400,closeDelay:150,label:"",children:null,offset:4}),cee=wt.withProps({component:"div",fz:11,fw:500,c:"dimmed",lh:1}),$y=wt.withProps({component:"div",fz:"xs",c:"dimmed",className:vYe}),bm=24,VGe=["Properties","Relationships","Views","Structure","Deployments"];function YGe({viewId:e,fromNode:r,rectFromNode:n,fqn:o,onClose:a}){const[i,l]=E.useState(!1),s=_Pe(),c=s.width||window.innerWidth||1200,u=s.height||window.innerHeight||800,[d,p]=bPe({key:"likec4:element-details:active-tab",defaultValue:"Properties"}),f=Wt(),g=AQ(),b=r?g.findNode(r):g.findNodeWithElement(o),x=g.$model.element(o),[w,k]=yn([...x.views()],Ro(Q=>Q.$view),lU(Q=>Q._type==="element"&&Q.viewOf===o));let C=b?.navigateTo?.$view??x.defaultView?.$view??null;C?.id===e&&(C=null);const _=zx(x.links),T=wVe(),R=(b?.$node.children?.length??0)>0,A=Math.min(700,c-bm*2),D=Math.min(650,u-bm*2),N=n?{x:n.x+(R?n.width-A/2:n.width/2),y:n.y+(R?0:n.height/2)}:{x:c/2,y:u/2},$=n?Math.min(n.width/A,n.height/D,.9):1,M=Math.round(Ki(N.x-A/2,{min:bm,max:c-A-bm})),j=Math.round(Ki(N.y-(R?0:60),{min:bm,max:u-D-bm})),L=Ki((N.x-M)/A,{min:.1,max:.9}),Y=Ki((N.y-j)/D,{min:.1,max:.9}),O=KZ(A),U=KZ(D);D2(()=>{O.set(A),U.set(D)},[A,D]);const I=E.useCallback((Q,z)=>{O.set(Math.max(O.get()+z.delta.x,320)),U.set(Math.max(U.get()+z.delta.y,300))},[]),q=E.useRef(null),V=Xh(a),G=V3(()=>{V.current()},[],50),F=b?.$node.notation??null,J=U3({element:{id:o,title:x.title,icon:b?.icon??x.icon},className:dYe});return W3(()=>{q.current?.open||q.current?.showModal()},20),W3(()=>{l(!0)},220),y.jsx(cl.dialog,{ref:q,className:Je(lYe,S0.classNames.fullWidth),layout:!0,initial:{[T2]:"0px",[R2]:"5%"},animate:{[T2]:"3px",[R2]:"60%"},exit:{[T2]:"0px",[R2]:"0%",transition:{duration:.1}},onClick:Q=>{Q.stopPropagation(),Q.target?.nodeName?.toUpperCase()==="DIALOG"&&q.current?.close()},onDoubleClick:cn,onPointerDown:cn,onClose:Q=>{Q.stopPropagation(),G()},children:y.jsx(S0,{forwardProps:!0,removeScrollBar:!1,children:y.jsxs(cl.div,{layout:!0,layoutRoot:!0,drag:!0,dragControls:T,dragElastic:0,dragMomentum:!1,dragListener:!1,"data-likec4-color":b?.color??x.color,className:sYe,initial:{top:j,left:M,width:A,height:D,opacity:0,originX:L,originY:Y,scale:Math.max($,.65)},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9,translateY:-10,transition:{duration:.1}},style:{width:O,height:U},children:[y.jsxs("div",{className:cYe,onPointerDown:Q=>T.start(Q),children:[y.jsxs(xn,{alignItems:"start",justify:"space-between",gap:"sm",mb:"sm",flexWrap:"nowrap",children:[y.jsxs(xn,{alignItems:"start",gap:"sm",style:{cursor:"default"},flexWrap:"nowrap",children:[J,y.jsxs("div",{children:[y.jsx(wt,{component:"div",className:uYe,children:x.title}),F&&y.jsx(wt,{component:"div",c:"dimmed",fz:"sm",fw:500,lh:1.3,lineClamp:1,children:F})]})]}),y.jsx(Kd,{size:"lg",onClick:Q=>{Q.stopPropagation(),G()}})]}),y.jsxs(xn,{alignItems:"baseline",gap:"sm",flexWrap:"nowrap",children:[y.jsxs("div",{children:[y.jsx(cee,{children:"kind"}),y.jsx(Xs,{radius:"sm",size:"sm",fw:600,color:"gray",style:{cursor:"pointer"},onClick:Q=>{Q.stopPropagation(),f.openSearch(`kind:${x.kind}`)},children:x.kind})]}),y.jsxs("div",{style:{flex:1},children:[y.jsx(cee,{children:"tags"}),y.jsxs(Mf,{gap:4,flex:1,mt:6,wrap:"wrap",children:[x.tags.map(Q=>y.jsx(C2,{tag:Q,cursor:"pointer",onClick:z=>{z.stopPropagation(),f.openSearch(`#${Q}`)}},Q)),x.tags.length===0&&y.jsx(Xs,{radius:"sm",size:"sm",fw:600,color:"gray",children:"—"})]})]}),y.jsxs(Tw,{style:{alignSelf:"flex-start"},children:[_&&y.jsx(or,{component:"a",href:_.url,target:"_blank",size:"lg",variant:"default",radius:"sm",children:y.jsx(aee,{stroke:1.6,style:{width:"65%"}})}),y.jsx(HWe,{feature:"Vscode",children:y.jsx(see,{label:"Open source",children:y.jsx(or,{size:"lg",variant:"default",radius:"sm",onClick:Q=>{Q.stopPropagation(),f.openSource({element:x.id})},children:y.jsx(fm,{stroke:1.8,style:{width:"62%"}})})})}),C&&y.jsx(see,{label:"Open default view",children:y.jsx(or,{size:"lg",variant:"default",radius:"sm",onClick:Q=>{Q.stopPropagation(),f.navigateTo(C.id,r??void 0)},children:y.jsx(gi,{style:{width:"70%"}})})})]})]})]}),y.jsxs(Jd,{value:d,onChange:Q=>p(Q),variant:"none",classNames:{root:fYe,list:mYe,tab:gYe,panel:yYe},children:[y.jsx(V0,{children:VGe.map(Q=>y.jsx(Bf,{value:Q,children:Q},Q))}),y.jsx(Zs,{value:"Properties",children:y.jsx(ol,{scrollbars:"y",type:"scroll",offsetScrollbars:!0,children:y.jsxs(Se,{className:bYe,pt:"xs",children:[x.hasSummary&&y.jsxs(y.Fragment,{children:[y.jsx($y,{children:"summary"}),y.jsx(mp,{value:x.summary})]}),y.jsxs(y.Fragment,{children:[y.jsx($y,{children:"description"}),y.jsx(mp,{value:x.description,emptyText:"no description"})]}),x.technology&&y.jsx(WGe,{title:"technology",children:x.technology}),x.links.length>0&&y.jsxs(y.Fragment,{children:[y.jsx($y,{children:"links"}),y.jsx(xn,{gap:"xs",flexWrap:"wrap",children:x.links.map((Q,z)=>y.jsx(BC,{value:Q},z))})]}),x.$element.metadata&&y.jsx(GGe,{value:x.$element.metadata})]})})}),y.jsx(Zs,{value:"Relationships",children:y.jsx(hp,{overrides:{enableRelationshipBrowser:!1,enableNavigateTo:!1},children:i&&d==="Relationships"&&y.jsx(BGe,{element:x,node:b??null})})}),y.jsx(Zs,{value:"Views",children:y.jsx(ol,{scrollbars:"y",type:"auto",children:y.jsxs(ra,{gap:"lg",children:[w.length>0&&y.jsxs(Se,{children:[y.jsx(lee,{label:"views of the element (scoped)"}),y.jsx(ra,{gap:"sm",children:w.map(Q=>y.jsx(uee,{view:Q,onNavigateTo:z=>f.navigateTo(z,r??void 0)},Q.id))})]}),k.length>0&&y.jsxs(Se,{children:[y.jsx(lee,{label:"views including this element"}),y.jsx(ra,{gap:"sm",children:k.map(Q=>y.jsx(uee,{view:Q,onNavigateTo:z=>f.navigateTo(z,r??void 0)},Q.id))})]})]})})}),y.jsx(Zs,{value:"Structure",children:y.jsx(ol,{scrollbars:"y",type:"auto",children:y.jsx(qGe,{element:x})})}),y.jsx(Zs,{value:"Deployments",children:y.jsx(ol,{scrollbars:"y",type:"auto",children:y.jsx(PYe,{elementFqn:x.id})})})]}),y.jsx(cl.div,{className:xYe,drag:!0,dragElastic:0,dragMomentum:!1,onDrag:I,dragConstraints:{top:0,left:0,right:0,bottom:0}})]})})})}const uee=({view:e,onNavigateTo:r})=>y.jsx(Pr,{className:pYe,onClick:n=>r(e.id,n),children:y.jsxs(qr,{gap:6,align:"start",wrap:"nowrap",children:[y.jsx(ci,{size:"sm",variant:"transparent",children:e._type==="deployment"?y.jsx(qT,{stroke:1.8}):y.jsx(gi,{stroke:1.8})}),y.jsx(Se,{children:y.jsx(wt,{component:"div",className:hYe,lineClamp:1,children:e.title||"untitled"})})]})});function WGe({title:e,emptyValue:r="undefined",children:n,style:o,...a}){return y.jsxs(y.Fragment,{children:[y.jsx($y,{children:e}),y.jsx(wt,{component:"div",...rU(n)&&{c:"dimmed"},fz:"md",style:{whiteSpace:"preserve-breaks",userSelect:"all",...o},...a,children:n||r})]})}function GGe({value:e}){return y.jsxs(y.Fragment,{children:[y.jsx($y,{children:"metadata"}),y.jsx(Se,{className:ye({flex:1,display:"grid",gridTemplateColumns:"min-content 1fr",gridAutoRows:"min-content max-content",gap:"[4px 4px]",alignItems:"baseline",justifyItems:"stretch",paddingRight:"xxs"}),children:jE(e).map(([r,n])=>y.jsxs("div",{style:{display:"contents"},className:"group",children:[y.jsxs("div",{className:ye({fontSize:"sm",fontWeight:500,justifySelf:"end",whiteSpace:"nowrap"}),children:[r,":"]}),y.jsx("div",{className:ye({}),children:y.jsx(ol.Autosize,{type:"auto",mah:200,classNames:{root:ye({transitionProperty:"all",transitionDuration:"fast",transitionTimingFunction:"inOut",rounded:"sm",color:"mantine.colors.gray[8]",_dark:{color:"mantine.colors.dark[1]"},_groupHover:{transitionTimingFunction:"out",color:"mantine.colors.defaultColor",background:"mantine.colors.defaultHover"}}),viewport:ye({overscrollBehavior:"none"})},children:y.jsx("div",{className:ye({fontSize:"sm",padding:"xxs",whiteSpace:"pre",fontFamily:"mono",userSelect:"all"}),children:n})})})]},r))})]})}function XGe({actorRef:e,onClose:r}){const n=wn(e,it(o=>({viewId:o.context.currentView.id,fromNode:o.context.initiatedFrom.node,rectFromNode:o.context.initiatedFrom.clientRect,fqn:o.context.subject})),Gn);return y.jsx(SC.Provider,{value:e,children:y.jsx(YGe,{onClose:r,...n})})}const q2="--_blur",U2="--_opacity",KGe="--_level",My=E.forwardRef(({onClose:e,className:r,classes:n,overlayLevel:o=0,children:a,fullscreen:i=!1,withBackdrop:l=!0,backdrop:s,openDelay:c=130,...u},d)=>{const[p,f]=E.useState(c===0),g=LU(p),b=E.useRef(null),x=E.useRef(!1),w=ZZ()!==!0,k=E.useRef(e);k.current=e;const C=V3(()=>{x.current||(x.current=!0,k.current())},[],50);E.useLayoutEffect(()=>{b.current?.open||b.current?.showModal()},[]),W3(()=>{f(!0)},c>0?c:void 0);const _=AVe({fullscreen:i,withBackdrop:l});let T=o>0?"50%":"60%";return s?.opacity!==void 0&&(T=`${s.opacity*100}%`),y.jsx(cl.dialog,{ref:Nr(b,g,d),className:Je(n?.dialog,r,_,i&&S0.classNames.fullWidth),layout:!0,style:{[KGe]:o},...w?{initial:{[q2]:"0px",[U2]:"0%",scale:.95,originY:0,translateY:-20,opacity:0},animate:{[q2]:o>0?"4px":"8px",[U2]:T,scale:1,opacity:1,translateY:0,transition:{delay:.075}},exit:{opacity:0,scale:.98,translateY:-20,transition:{duration:.1},[q2]:"0px",[U2]:"0%"}}:{initial:{[q2]:"8px",[U2]:T}},onClick:R=>{if(R.stopPropagation(),R.target?.nodeName?.toUpperCase()==="DIALOG"){b.current?.close();return}},onCancel:R=>{R.preventDefault(),R.stopPropagation(),C()},onDoubleClick:cn,onPointerDown:cn,onClose:R=>{R.stopPropagation(),C()},...u,children:y.jsx(S0,{forwardProps:!0,children:y.jsx("div",{className:Je(n?.body,"likec4-overlay-body"),children:p&&y.jsx(y.Fragment,{children:a})})})})});My.displayName="Overlay";const V2=(e,r)=>e.size>2&&r.size!==e.size?new Set(Vc([...z3(e).flatten(),...r])):e.size>1?new Set(Vc([...e])):e;function ZGe(e,r){const n=new Set,o=new Set,a=new Set,i={sources:new Set,targets:new Set},l=(s,c)=>{c==="source"?(n.add(s),i.sources.add(s)):(a.add(s),i.targets.add(s))};for(const s of e){const c=r.findEdge(s),u=c?[...c.relationships("model")]:[];if(!c||!To(u,1)||!c.source.hasElement()||!c.target.hasElement())continue;const d=c.source.element,p=c.target.element;l(d,"source"),l(p,"target");for(const f of u){if(o.add(f),f.source!==d){l(f.source,"source");for(const g of f.source.ancestors()){if(g===d)break;n.add(g)}}if(f.target!==p){l(f.target,"target");for(const g of f.target.ancestors()){if(g===p)break;a.add(g)}}}}return{sources:V2(n,i.sources),targets:V2(a,i.targets),relationships:o}}function QGe({source:e,target:r}){const n=new Set,o=new Set,a=new Set,i={sources:new Set,targets:new Set},l=(c,u)=>{u==="source"?(n.add(c),i.sources.add(c)):(a.add(c),i.targets.add(c))};e&&l(e,"source"),r&&l(r,"target");const[s]=Z_e.findConnection(e,r,"directed");if(!s)return{sources:n,targets:a,relationships:o};for(const c of s.relations){const u=c.source,d=c.target;if(l(u,"source"),l(d,"target"),o.add(c),e!==u){nt(qn(e,u),`${e.id} is not an ancestor of ${u.id}`);for(const p of u.ancestors()){if(p===e)break;n.add(p)}}if(r!==d){nt(qn(r,d),`${r.id} is not an ancestor of ${d.id}`);for(const p of d.ancestors()){if(p===r)break;a.add(p)}}}return{sources:V2(n,i.sources),targets:V2(a,i.targets),relationships:o}}const dee=E.createContext(null);function UT(){return mt(E.useContext(dee),"No RelationshipDetailsActorContext")}function pee(e,r=Gn){const n=it(e),o=UT();return wn(o,n,r)}function VT(){const e=UT();return E.useMemo(()=>({actor:e,get rootElementId(){return`relationship-details-${e.sessionId.replaceAll(":","_")}`},getState:()=>e.getSnapshot().context,send:e.send,navigateTo:(...r)=>{r.length===1?e.send({type:"navigate.to",params:{edgeId:r[0]}}):e.send({type:"navigate.to",params:{source:r[0],target:r[1]}})},fitDiagram:()=>{e.send({type:"fitDiagram"})},close:()=>{e._parent?e._parent?.send({type:"close",actorId:e.id}):e.send({type:"close"})}}),[e])}const gl={dagre:{ranksep:60,nodesep:35,edgesep:25},edgeLabel:{width:220,height:14},nodeWidth:330,nodeHeight:180,compound:{labelHeight:2,paddingTop:50,paddingBottom:32}};function JGe(){const e=new I2.graphlib.Graph({directed:!0,compound:!0,multigraph:!0});return e.setGraph({...gl.dagre,rankdir:"LR"}),e.setDefaultEdgeLabel(()=>({...gl.edgeLabel})),e.setDefaultNodeLabel(()=>({})),e}const YT="-port";function hee(e,r,n){const o=new so(i=>({id:`${e}-${i}`,portId:`${e}-${i}`})),a=z3(r);for(const i of a.sorted){const l=a.children(i).length>0,s=i.id,c=`${e}-${s}`,u=l?`${c}${YT}`:c;o.set(s,{id:c,portId:u}),n.setNode(c,{column:e,element:i,isCompound:l,portId:u,inPorts:[],outPorts:[],width:gl.nodeWidth,height:gl.nodeHeight}),l&&(n.setNode(u,{element:i,portId:u,isCompound:l,inPorts:[],outPorts:[],width:gl.nodeWidth-gl.dagre.ranksep,height:gl.compound.labelHeight}),n.setParent(u,c));const d=a.parent(i);d&&n.setParent(c,`${e}-${d.id}`)}return{...a,byId:i=>{const l=a.byId(i),s=o.get(l.id);return{element:l,graph:s}},graphNodes:o}}function eXe(e){return I2.layout(e,{}),r=>{const n=e.node(r),{x:o,y:a,width:i,height:l}=n;return{position:{x:o-Math.round(i/2),y:a-Math.round(l/2)},width:i,height:l}}}function tXe(e,r){const n=JGe(),o=hee("sources",e.sources,n),a=hee("targets",e.targets,n),i=Array.from(e.relationships).map(k=>{const C=o.byId(k.source.id).graph,_=a.byId(k.target.id).graph,T=k.id;return n.node(C.id).outPorts.push(_.id),n.node(_.id).inPorts.push(C.id),n.setEdge(C.portId,_.portId,{...gl.edgeLabel},T),{name:T,source:C.id,sourceHandle:C.id+"_out"+(n.node(C.id).outPorts.length-1),target:_.id,targetHandle:_.id+"_in"+(n.node(_.id).inPorts.length-1),relationship:k}}),l=[...o.graphNodes.values(),...a.graphNodes.values()];for(const{id:k}of l){const C=n.node(k);if(C.isCompound)continue;const _=Math.max(n.inEdges(k)?.length??0,n.outEdges(k)?.length??0);_>3&&(C.height=C.height+(_-4)*14)}const s=n.edgeCount();if(s>5)for(const k of n.edges())n.setEdge(k,{...gl.edgeLabel,width:s>10?800:400});const c=eXe(n),u=yn(l,df(k=>k.id===k.portId),E0(k=>[k.id,c(k.id)]));function d(k){return u[k]??=yn(n.children(k)??[],df(C=>!C.endsWith(YT)),Ro(C=>d(C)),uU(C=>{nt(C.length>0,`Node ${k} has no nested nodes`)}),hf((C,_)=>({minY:Math.min(C.minY,_.position.y),maxY:Math.max(C.maxY,_.position.y+_.height)}),{minY:1/0,maxY:-1/0}),({minY:C,maxY:_})=>{const{position:{x:T},width:R}=c(k);return C=C-gl.compound.paddingTop,_=_+gl.compound.paddingBottom,{position:{x:T,y:C},width:R,height:_-C}})}function p(k){const C=n.parent(k);return C?p(C)+1:0}function f(k){const C=n.children(k)??[];return C.length===0?0:1+Math.max(...C.map(f))}const g=(k,C,_)=>yn(_,Ro((T,R)=>({port:k+"_"+C+R,topY:d(T).position.y})),Bx(Ca("topY")),Ro(Ca("port")));let b=0,x=0;const w=l.map(({id:k})=>{const{element:C,inPorts:_,outPorts:T,column:R}=n.node(k);let{position:A,width:D,height:N}=d(k);const $=n.parent(k),M=(n.children(k)??[]).filter(U=>!U.endsWith(YT));b=Math.min(b,A.x),x=Math.min(x,A.y);const j=r?X1(C.scopedViews(),U=>U.id!==r.id)?.id??null:null,L=r?.findNodeWithElement(C.id),Y=r&&!L?X1(C.ancestors(),U=>!!r.findNodeWithElement(U.id))?.id:null,O=L??(Y&&r?.findNodeWithElement(Y));return U1({id:k,parent:$??null,x:A.x,y:A.y,title:C.title,description:C.summary,technology:C.technology,tags:[...C.tags],links:null,color:O?.color??C.color,shape:L?.shape??C.shape,icon:L?.icon??C.icon??"none",modelRef:C.id,kind:C.kind,level:p(k),labelBBox:{x:A.x,y:A.y,width:D,height:N},style:Ud({...(L??O)?.style,...C.$element.style},["shape","color","icon"]),navigateTo:j,...M.length>0&&{depth:f(k)},children:M,width:D,height:N,column:R,ports:{in:g(k,"in",_),out:g(k,"out",T)}})});return{bounds:{x:Math.min(b,0),y:Math.min(x,0),width:n.graph().width??100,height:n.graph().height??100},nodes:w,edges:n.edges().reduce((k,C)=>{const _=n.edge(C),T=C.name;if(!T)return k;const{name:R,source:A,target:D,relationship:N,sourceHandle:$,targetHandle:M}=Lx(i,U=>U.name===T),j=N.title??"untitled",L=N.navigateTo?.id??null,Y=N.description??null,O=N.technology??null;return k.push({id:R,source:A,sourceHandle:$,target:D,targetHandle:M,label:j,color:N.color,...L&&{navigateTo:L},...Y&&{description:Y},...O&&{technology:O},points:_.points.map(U=>[U.x,U.y]),line:N.line,relationId:N.id,parent:null}),k},[])}}const WT=ye.raw({display:"inline-flex",alignItems:"center",padding:"[6px 2px 0 2px]","& .mantine-Text-root":{color:"mantine.colors.text/90",fontSize:"xs",fontWeight:500,lineHeight:"1.2"}}),fee=ye({paddingLeft:"1",gridColumn:1},WT),rXe=ye({gridColumn:2},WT),mee=ye({gridColumn:3,paddingRight:"1"},WT),gee="likec4-edge-label",nXe=Je(gee,ye({display:"grid",gridColumnStart:1,gridColumnEnd:4,borderBottom:"1px solid",borderBottomColor:"mantine.colors.defaultBorder",marginBottom:"0",padding:"[0 4px 5px 4px]",width:"100%","& .mantine-Text-root":{fontSize:"xxs",fontWeight:400,lineHeight:"xs",color:"mantine.colors.dimmed"}})),oXe=ye({display:"contents",[`&:last-child .${gee}`]:{borderBottom:"none",marginBottom:"0"},"& > *":{transition:"all 0.15s ease-in"},"&:is(:hover, [data-selected=true]) > *":{transition:"all 0.15s ease-out",cursor:"pointer",backgroundColor:"mantine.colors.defaultHover"}}),aXe=ye({display:"grid",gridTemplateColumns:"1fr 30px 1fr",gridAutoRows:"min-content max-content",gap:"0",alignItems:"stretch"});ye({display:"grid",gridTemplateColumns:"min-content 1fr",gridAutoRows:"min-content max-content",gap:"[10px 12px]",alignItems:"baseline",justifyItems:"start"});const iXe=ye({maxHeight:["70vh","calc(100cqh - 70px)"]}),lXe=({edge:e,view:r})=>{const n=VT(),o=E.useRef(null),a=r.nodes.find(s=>s.id===e.source),i=r.nodes.find(s=>s.id===e.target),l=r.edges.flatMap(s=>{const c=r.nodes.find(d=>d.id===s.source),u=r.nodes.find(d=>d.id===s.target);return c&&u?{id:s.id,source:c,target:u,label:s.label}:[]});return!a||!i||l.length===0?null:y.jsxs(mr,{position:"bottom-start",shadow:"md",keepMounted:!0,withinPortal:!1,closeOnClickOutside:!0,clickOutsideEvents:["pointerdown","mousedown","click"],onOpen:()=>{setTimeout(()=>{o.current?.querySelector(`[data-edge-id="${e.id}"]`)?.scrollIntoView({behavior:"instant",block:"nearest"})},100)},children:[y.jsx(fu,{children:y.jsxs(Zn,{size:"xs",variant:"default",fw:"500",style:{padding:"0.25rem 0.75rem"},rightSection:y.jsx(IT,{size:16}),children:[y.jsx(Se,{className:fee,maw:160,p:0,mod:{"likec4-color":a.color},children:y.jsx(wt,{component:"span",truncate:!0,children:a.title})}),y.jsx(ci,{color:"dark",variant:"transparent",size:"xs",children:y.jsx(ym,{style:{width:"80%"}})}),y.jsx(Se,{className:mee,maw:160,p:0,mod:{"likec4-color":i.color},children:y.jsx(wt,{component:"span",truncate:!0,children:i.title})})]})}),y.jsx(Gs,{p:0,miw:250,maw:400,children:y.jsx(ta,{className:iXe,scrollbars:"y",type:"never",viewportRef:o,children:y.jsx(Se,{className:aXe,p:"xs",maw:400,children:l.map(s=>y.jsxs("div",{className:oXe,"data-selected":s.id===e.id,onClick:c=>{c.stopPropagation(),n.navigateTo(s.id)},children:[y.jsx(Se,{className:fee,mod:{"edge-id":s.id,"likec4-color":s.source.color},children:y.jsx(wt,{component:"span",truncate:!0,children:s.source.title})}),y.jsx(Se,{className:rXe,children:y.jsx(ci,{color:"dark",variant:"transparent",size:"xs",children:y.jsx(ym,{style:{width:"80%"}})})}),y.jsx(Se,{className:mee,mod:{"likec4-color":s.target.color},children:y.jsx(wt,{component:"span",truncate:!0,children:s.target.title})}),y.jsx(Se,{className:nXe,children:y.jsx(wt,{component:"span",truncate:!0,children:s.label||"untitled"})})]},s.id))})})})]})},sXe=LT(e=>{const{enableNavigateTo:r}=wr(),{data:{navigateTo:n}}=e,[o,a,i]=kx(e),l=Wt();return y.jsxs(Ry,{...e,children:[y.jsx(Ay,{edgeProps:e,svgPath:o}),y.jsx(j2,{edgeProps:e,labelPosition:{x:a,y:i,translate:"translate(-50%, 0)"},style:{maxWidth:Math.abs(e.targetX-e.sourceX-100)},children:y.jsx(Ty,{edgeProps:e,children:r&&n&&y.jsx(B2,{...e,onClick:s=>{s.stopPropagation(),l.navigateTo(n)}})})})]})}),cXe=e=>{const{enableNavigateTo:r,enableVscode:n}=wr(),o=Wt(),a=F2(),i=[],{navigateTo:l,fqn:s}=e.data;return l&&r&&a!==l&&i.push({key:"navigate",icon:y.jsx(gi,{}),onClick:c=>{c.stopPropagation(),o.navigateTo(l)}}),s&&i.push({key:"relationships",icon:y.jsx(Ny,{}),onClick:c=>{c.stopPropagation(),o.openRelationshipsBrowser(s)}}),s&&n&&i.push({key:"goToSource",icon:y.jsx(fm,{}),onClick:c=>{c.stopPropagation(),o.openSource({element:s})}}),y.jsx(H2,{buttons:i,...e})};function uXe(e,r){return e.id===r.id&&ut(e.selected??!1,r.selected??!1)&&ut(e.dragging??!1,r.dragging??!1)&&ut(e.width??0,r.width??0)&&ut(e.height??0,r.height??0)&&ut(e.zIndex??0,r.zIndex??0)&&ut(e.data,r.data)}const yee=Symbol.for("isMemoized");function ic(e){if(e.hasOwnProperty(yee))return e;const r=E.memo(e,uXe);return r.displayName="Node",Object.defineProperty(r,yee,{enumerable:!1,writable:!1,value:!0}),r}const bee=e=>{const r=Wt();return y.jsx(FT,{...e,onClick:n=>{n.stopPropagation(),r.openElementDetails(e.data.fqn)}})},dXe=ic(e=>{const{enableElementTags:r}=wr();return y.jsxs(mm,{nodeProps:e,children:[y.jsx(gm,{...e}),y.jsx(ml,{...e}),r&&y.jsx(Ey,{...e}),y.jsx(bee,{...e}),y.jsx(cXe,{...e}),y.jsx(hXe,{...e})]})}),pXe=ic(e=>y.jsxs(Dy,{nodeProps:e,children:[y.jsx(bee,{...e}),y.jsx(Py,{...e}),y.jsx(fXe,{...e})]})),hXe=({data:{ports:e,height:r}})=>y.jsxs(y.Fragment,{children:[e.in.map((n,o)=>y.jsx(uo,{id:n,type:"target",position:tt.Left,style:{visibility:"hidden",top:`${15+(o+1)*((r-30)/(e.in.length+1))}px`}},n)),e.out.map((n,o)=>y.jsx(uo,{id:n,type:"source",position:tt.Right,style:{visibility:"hidden",top:`${15+(o+1)*((r-30)/(e.out.length+1))}px`}},n))]}),fXe=({data:e})=>y.jsxs(y.Fragment,{children:[e.ports.in.map((r,n)=>y.jsx(uo,{id:r,type:"target",position:tt.Left,style:{visibility:"hidden",top:`${20*(n+1)}px`}},r)),e.ports.out.map((r,n)=>y.jsx(uo,{id:r,type:"source",position:tt.Right,style:{visibility:"hidden",top:`${20*(n+1)}px`}},r))]}),mXe={element:dXe,compound:pXe},gXe={relationship:sXe};function yXe({actorRef:e}){const r=E.useRef(null);return r.current==null&&(r.current={defaultNodes:[],defaultEdges:[]}),y.jsx(dee.Provider,{value:e,children:y.jsx($x,{...r.current,children:y.jsx(dm,{id:e.sessionId,inherit:!1,children:y.jsxs(Pa,{children:[y.jsx(wXe,{},"xyflow"),y.jsx(vXe,{},"sync")]})})})})}const bXe=e=>({...e.context.subject,viewId:e.context.viewId}),vXe=E.memo(()=>{const e=UT(),r=wn(e,bXe,ut),n=Ho(),o=n.findView(r.viewId)??null,a=E.useMemo(()=>{let s;if("edgeId"in r&&Sa(r.edgeId)){nt(o,`view ${r.viewId} not found`);const c=mt(o.findEdge(r.edgeId),`edge ${r.edgeId} not found in ${r.viewId}`);s=ZGe([c.id],o)}else if(r.source&&r.target)s=QGe({source:n.element(r.source),target:n.element(r.target)});else return null;return tXe(s,o)},[r,o,n]),i=fr(),l=uf();return E.useEffect(()=>{l.viewportInitialized&&e.send({type:"xyflow.init",instance:l,store:i})},[i,l.viewportInitialized,e]),E.useEffect(()=>{a!==null&&e.send({type:"update.layoutData",data:a})},[a,e]),null}),xXe=({context:e})=>({initialized:e.initialized.xydata&&e.initialized.xyflow,nodes:e.xynodes,edges:e.xyedges}),wXe=E.memo(()=>{const e=VT(),{initialized:r,nodes:n,edges:o}=pee(xXe,ut);return y.jsxs(qC,{id:e.rootElementId,nodes:n,edges:o,className:Je(r?"initialized":"not-initialized","likec4-relationship-details"),nodeTypes:mXe,edgeTypes:gXe,onNodesChange:it(a=>{e.send({type:"xyflow.applyNodeChanges",changes:a})}),onEdgesChange:it(a=>{e.send({type:"xyflow.applyEdgeChanges",changes:a})}),fitViewPadding:.05,onNodeClick:it((a,i)=>{a.stopPropagation(),e.send({type:"xyflow.nodeClick",node:i})}),onEdgeClick:it((a,i)=>{a.stopPropagation(),e.send({type:"xyflow.edgeClick",edge:i})}),onPaneClick:it(()=>{e.send({type:"xyflow.paneClick"})}),onDoubleClick:it(()=>{e.send({type:"xyflow.paneDblClick"})}),onViewportResize:it(()=>{e.send({type:"xyflow.resized"})}),onEdgeMouseEnter:it((a,i)=>{i.data.hovered||e.send({type:"xyflow.edgeMouseEnter",edge:i})}),onEdgeMouseLeave:it((a,i)=>{i.data.hovered&&e.send({type:"xyflow.edgeMouseLeave",edge:i})}),onSelectionChange:it(a=>{e.send({type:"xyflow.selectionChange",...a})}),nodesDraggable:!1,fitView:!1,pannable:!0,zoomable:!0,children:[y.jsx(_Xe,{}),y.jsx(ou,{position:"top-right",children:y.jsx(or,{variant:"default",color:"gray",onClick:a=>{a.stopPropagation(),e.close()},children:y.jsx(Hf,{})})})]})}),kXe=({context:e})=>({subject:e.subject,viewId:e.viewId}),_Xe=E.memo(()=>{const{subject:e,viewId:r}=pee(kXe,ut),n=Ho().findView(r);if(!n||!n.isDiagram())return null;const o=[...n.edges()];let a="edgeId"in e&&Sa(e.edgeId)?o.find(i=>i.id===e.edgeId):Lx(o,i=>i.source.element?.id===e.source&&i.target.element?.id===e.target)||Lx(o,i=>(i.source.element?.id===e.source||qn(i.source.element?.id??"__",e.source??"__"))&&(i.target.element?.id===e.target||qn(i.target.element?.id??"__",e.target??"__")));return a?y.jsx(EXe,{edge:a.$edge,view:n.$view}):null}),EXe=({edge:e,view:r})=>{const n=VT(),o=e.id,[a,i,{history:l,current:s}]=YU(e.id);E.useEffect(()=>{a!==o&&i.set(o)},[o]),E.useEffect(()=>{a!==o&&n.navigateTo(a)},[a]);const c=s>0,u=s+1{d.stopPropagation(),i.back()},children:y.jsx(nee,{})})},"back"),u&&y.jsx(cl.div,{layout:!0,initial:{opacity:.05,transform:"translateX(5px)"},animate:{opacity:1,transform:"translateX(0)"},exit:{opacity:0,transform:"translateX(5px)"},children:y.jsx(or,{variant:"default",color:"gray",onClick:d=>{d.stopPropagation(),i.forward()},children:y.jsx(pp,{})})},"forward"),y.jsx(qr,{gap:"xs",wrap:"nowrap",ml:"sm",children:y.jsx(lXe,{edge:e,view:r})})]})})})},SXe=e=>e.context.overlays.map(r=>{switch(r.type){case"relationshipsBrowser":return e.children[r.id]?{type:r.type,actorRef:e.children[r.id]}:null;case"relationshipDetails":return e.children[r.id]?{type:r.type,actorRef:e.children[r.id]}:null;case"elementDetails":return e.children[r.id]?{type:r.type,actorRef:e.children[r.id]}:null;default:Xa(r)}}).filter(tU),CXe=(e,r)=>e.length===r.length&&e.every((n,o)=>n.actorRef===r[o].actorRef);function TXe({overlaysActorRef:e}){const r=OC(c=>c.domNode),n=E.useMemo(()=>r?.querySelector(".react-flow__renderer")??null,[r]),o=wn(e,SXe,CXe),a=ZZ()??!1,i=o.some(c=>c.type==="elementDetails");E.useEffect(()=>{!n||a||iqe(n,{opacity:i?.7:1,filter:i?"grayscale(1)":"grayscale(0)",transform:i?"perspective(400px) translateZ(-12px) translateY(3px)":"translateY(0)"},{duration:i?.35:.17})},[i,n]);const l=c=>{e.send({type:"close",actorId:c.id})},s=o.map((c,u)=>{switch(c.type){case"relationshipsBrowser":return y.jsx(My,{overlayLevel:u,onClose:()=>l(c.actorRef),children:y.jsx(oee,{actorRef:c.actorRef})},c.actorRef.sessionId);case"relationshipDetails":return y.jsx(My,{overlayLevel:u,onClose:()=>l(c.actorRef),children:y.jsx(yXe,{actorRef:c.actorRef})},c.actorRef.sessionId);case"elementDetails":return y.jsx(XGe,{actorRef:c.actorRef,onClose:()=>l(c.actorRef)},c.actorRef.sessionId);default:Xa(c)}});return y.jsx(hp.Overlays,{children:y.jsx(B7,{FallbackComponent:j7,onReset:()=>e.send({type:"close.all"}),children:y.jsx(dm,{children:y.jsx(Pa,{children:s})})})})}const[RXe,Su]=ri("SearchActorContext"),AXe=e=>e.context.searchValue;function NXe(){const e=Su(),r=wn(e,AXe),n=E.useCallback(o=>{e.send({type:"change.search",search:o})},[e]);return[r,n]}const DXe=e=>{const r=e.context.searchValue.trim().toLowerCase();return r.length>1?r:""};function GT(){const e=Su();return E.useDeferredValue(wn(e,DXe))}function PXe(){const e=Su();return E.useCallback(r=>{e.send({type:"change.search",search:r})},[e])}const $Xe=e=>e.context.pickViewFor;function MXe(){const e=Su();return wn(e,$Xe)}const XT=ye.raw({outline:"none",background:"mantine.colors.primary[8]",borderColor:"mantine.colors.primary[9]"}),Y2=".mantine-Tree-node:focus > .mantine-Tree-label &",OXe=ye.raw({display:"flex",width:"100%",background:"mantine.colors.body",rounded:"sm",padding:"[12px 8px 12px 14px]",minHeight:"60px",gap:"2",border:"1px solid",borderColor:"mantine.colors.defaultBorder",_hover:{...XT,borderColor:"mantine.colors.primary[9]",background:"mantine.colors.primary[8]/60"},_focus:XT,[Y2]:XT,_dark:{borderColor:"transparent",background:"mantine.colors.dark[6]/80"},_light:{background:"mantine.colors.white/80",_hover:{borderColor:"mantine.colors.primary[6]",backgroundColor:"mantine.colors.primary[5]"}}}),W2="likec4-focusable",G2={ref:"var(--likec4-icon-size, 24px)"},IXe=ye.raw({color:{base:"mantine.colors.dimmed",_light:"mantine.colors.gray[5]",_groupHover:"mantine.colors.primary[0]",_groupFocus:"mantine.colors.primary[0]"},[Y2]:{color:"mantine.colors.primary[0]"},flex:`0 0 ${G2.ref}`,height:G2.ref,width:G2.ref,display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"flex-start","--ti-size":G2.ref,"& svg, & img":{width:"100%",height:"auto",maxHeight:"100%",pointerEvents:"none"},"& img":{objectFit:"contain"},"&.likec4-shape-icon svg":{strokeWidth:1.5}}),LXe=ye.raw({fontSize:"16px",fontWeight:500,lineHeight:"1.1",":where([data-disabled]) &":{opacity:.4},color:{base:"mantine.colors.dark[1]",_light:"mantine.colors.gray[7]",_groupHover:{base:"mantine.colors.primary[1]",_light:"mantine.colors.white"},_groupFocus:{base:"mantine.colors.primary[1]",_light:"mantine.colors.white"}},[Y2]:{color:{base:"mantine.colors.primary[1]",_light:"mantine.colors.white"}}}),vee=ye.raw({color:{base:"mantine.colors.dimmed",_groupHover:{base:"mantine.colors.primary[1]",_light:"mantine.colors.primary[0]"},_groupFocus:"mantine.colors.primary[0]"},[Y2]:{color:"mantine.colors.primary[0]"}}),zXe=ye.raw(vee,{marginTop:"1",fontSize:"12px",lineHeight:"1.4",":where([data-disabled]) &":{opacity:.85}}),BXe=ye({width:"100%",height:"100%",border:"2px dashed",borderColor:"mantine.colors.defaultBorder",rounded:"md",display:"flex",justifyContent:"center",alignItems:"center",fontSize:"md",color:"mantine.colors.dimmed",padding:"md",paddingBlock:"xl"}),xee=Z8e({slots:["root","icon","title","description","descriptionColor"],className:"search-button",base:{root:OXe,icon:IXe,title:LXe,description:zXe,descriptionColor:vee}}),KT="@container likec4-tree (max-width: 450px)",jXe=ye({outline:"none",marginBottom:"2"}),FXe=ye(oG.raw({containerName:"likec4-tree"}),{containerType:"inline-size",height:"100%"}),HXe=ye({display:"flex",alignItems:"baseline",outline:"none !important",gap:"1"}),qXe=ye({marginTop:"2"}),UXe=ye({color:"mantine.colors.dimmed"}),VXe=ye({[KT]:{flexDirection:"column-reverse",alignItems:"flex-start",gap:"0.5"}}),YXe=ye({fontSize:"10px",lineHeight:"1.3",display:"block",fontWeight:500,whiteSpace:"nowrap",padding:"[1px 5px]",borderRadius:"4px",background:"mantine.colors.dark[9]/30",_light:{background:"mantine.colors.gray[3]/20"}}),WXe=ye({"--likec4-icon-size":"24px",[KT]:{"--likec4-icon-size":"18px"}}),GXe=ye({flex:0,fontSize:"10px",fontWeight:500,whiteSpace:"nowrap",lineHeight:"1.1",[KT]:{display:"none"}});function bi(e){e.stopPropagation(),e.preventDefault()}function wee(e){const r=e.getBoundingClientRect();return r.y+Math.floor(r.height/2)}function Oy(e){if(!e){console.error("moveFocusToSearchInput: from is null or undefined");return}const r=e.getRootNode();if(!_0(r.querySelector)){console.error("moveFocusToSearchInput: root.querySelector is not a function");return}let n=r.querySelector("[data-likec4-search-input]");if(n){const o=n.value.length;n.focus(),n.setSelectionRange(o,o)}}function X2(e){if(!e){console.error("focusToFirstFoundElement: from is null or undefined");return}const r=e.getRootNode();if(!_0(r.querySelector)){console.error("focusToFirstFoundElement: root.querySelector is not a function");return}r.querySelector(`[data-likec4-search] .${W2}`)?.focus()}function kee(e,r,n=`.${W2}`){if(!e)return console.error("queryAllFocusable: from is null or undefined"),[];const o=e.getRootNode();return _0(o.querySelectorAll)?[...o.querySelectorAll(`[data-likec4-search-${r}] ${n}`)]:(console.error("queryAllFocusable: root.querySelectorAll is not a function"),[])}const XXe="likec4-view-btn",KXe=Je(ye({flexWrap:"nowrap",display:"flex","&[data-disabled] .mantine-ThemeIcon-root":{opacity:.45}}),XXe);ye({marginTop:"1",fontSize:"13px",lineHeight:"1.4",":where(.likec4-view-btn[data-disabled]) &":{opacity:.85}});const _ee=()=>y.jsx(Ur,{className:BXe,children:"Nothing found"}),ZXe=E.memo(()=>{const e=E.useRef(null);let r=[...Ho().views()],n=GT();return n&&(n.startsWith("kind:")?r=[]:r=r.filter(o=>n.startsWith("#")?o.tags.some(a=>a.toLocaleLowerCase().includes(n.slice(1))):`${o.id} ${o.title} ${o.description.text}`.toLocaleLowerCase().includes(n))),y.jsxs(ra,{ref:e,renderRoot:o=>y.jsx(Qr,{layout:!0,...o}),gap:8,"data-likec4-search-views":!0,onKeyDown:o=>{if(o.key==="ArrowLeft"||o.key==="ArrowRight"){const a=o.target.getBoundingClientRect().y,i=kee(e.current,"elements",".likec4-element-button");let l=i.length>1?i.find((s,c,u)=>wee(s)>a||c===u.length-1):null;l??=pf(i),l&&(o.stopPropagation(),l.focus());return}},children:[r.length===0&&y.jsx(_ee,{}),r.length>0&&y.jsx(_w,{children:y.jsx(Pr,{"data-likec4-view":!0,tabIndex:-1,onFocus:o=>{o.stopPropagation(),Oy(e.current)}})}),r.map((o,a)=>y.jsx(Qr,{layoutId:`@view${o.id}`,children:y.jsx(ZT,{view:o,search:n,tabIndex:a===0?0:-1})},o.id))]})}),K2=xee();function ZT({className:e,view:r,loop:n=!1,search:o,...a}){const i=Su(),l=Wt(),s=F2(),c=r.id===s,u=()=>{i.send({type:"close"}),setTimeout(()=>{l.navigateTo(r.id)},100)};return y.jsxs(Pr,{...a,className:Je(K2.root,"group",W2,KXe,e),"data-likec4-view":r.id,...c&&{"data-disabled":!0},onClick:d=>{d.stopPropagation(),u()},onKeyDown:T0({siblingSelector:"[data-likec4-view]",parentSelector:"[data-likec4-search-views]",activateOnFocus:!1,loop:n,orientation:"vertical",onKeyDown:d=>{d.nativeEvent.code==="Space"&&(d.stopPropagation(),u())}}),children:[y.jsx(ci,{variant:"transparent",className:K2.icon,children:r.isDeploymentView()?y.jsx(qT,{stroke:1.8}):y.jsx(gi,{stroke:1.8})}),y.jsxs(Ur,{style:{flexGrow:1},children:[y.jsxs(qr,{gap:"xs",wrap:"nowrap",align:"center",children:[y.jsx(Ks,{component:"div",highlight:o,className:K2.title,children:r.title||"untitled"}),c&&y.jsx(Xs,{size:"xs",fz:9,radius:"sm",children:"current"})]}),y.jsx(Ks,{highlight:r.description.nonEmpty?o:"",component:"div",className:K2.description,lineClamp:1,children:r.description.text||"No description"})]})]})}const vm=xee(),QXe=E.memo(()=>{const e=Ho(),r=GT(),n=E.useMemo(()=>{const a=r.split(".");let i;iu(a)||a[0]==="kind:"?i=e.elements():i=Nd(e.elements(),u=>r.startsWith("kind:")?u.kind.toLocaleLowerCase().startsWith(r.slice(5)):r.startsWith("#")?u.tags.some(d=>d.toLocaleLowerCase().includes(r.slice(1))):(u.title+" "+u.id+" "+u.summary.text).toLocaleLowerCase().includes(r));const l={},{all:s,roots:c}=yn([...i],Vc,hf((u,d)=>{const p={label:d.title,value:d.id,element:d,searchTerms:a,children:[]};l[p.value]=p;const f=u.all.findLast(g=>qn(g.value,p.value));return f?(f.children.push(p),f.children.length>1&&f.children.sort(Cy)):u.roots.push(p),u.all.push(p),u},{all:[],roots:[]}));return{all:s,byid:l,roots:c.sort(Cy)}},[e,r]),o=Eee();return n.all.length===0?y.jsx(_ee,{}):y.jsx(eKe,{data:n,handleClick:o})}),JXe=()=>{};function eKe({data:{all:e,byid:r,roots:n},handleClick:o}){const a=Y0({multiple:!1});a.setHoveredNode=JXe,E.useEffect(()=>{a.collapseAllNodes();for(const l of e)l.children.length>0&&a.expand(l.value)},[e]);const i=it(l=>{const s=l.target,c=s.getAttribute("data-value"),u=!!c&&r[c];if(u){if(l.key==="ArrowUp"){c===n[0]?.value&&(bi(l),Oy(s));return}if(l.key==="ArrowRight"){if(u.children.length>0&&a.expandedState[c]===!1)return;const d=(l.target.querySelector(".mantine-Tree-label")??s).getBoundingClientRect().y,p=kee(s,"views");let f=p.length>1?p.find((g,b,x)=>wee(g)>d||b===x.length-1):null;f??=pf(p),f&&(bi(l),f.focus());return}if(l.key===" "||l.key==="Enter"){bi(l),o(u.element);return}}});return y.jsx(jf,{"data-likec4-search-elements":!0,allowRangeSelection:!1,clearSelectionOnOutsideClick:!0,selectOnClick:!1,tree:a,data:n,levelOffset:"lg",classNames:{root:FXe,node:Je(W2,jXe),label:HXe,subtree:qXe},onKeyDownCapture:i,renderNode:tKe})}function tKe({node:e,elementProps:r,hasChildren:n,expanded:o}){const{element:a,searchTerms:i}=e,l=pEe({element:{id:a.id,title:a.title,shape:a.shape,icon:a.icon},className:Je(vm.icon,WXe)}),s=[...a.views()],c=Eee(),u=`@tree.${e.value}`;return y.jsxs(Qr,{layoutId:u,...r,children:[y.jsx(or,{variant:"transparent",size:16,tabIndex:-1,className:Je(UXe),style:{visibility:n?"visible":"hidden"},children:y.jsx(pp,{stroke:3.5,style:{transition:"transform 150ms ease",transform:`rotate(${o?"90deg":"0"})`,width:"100%"}})}),y.jsxs(Pr,{component:fl,layout:!0,tabIndex:-1,"data-value":a.id,className:Je(vm.root,"group","likec4-element-button"),...s.length>0&&{onClick:d=>{(!n||o)&&(d.stopPropagation(),c(a))}},children:[l,y.jsxs(Se,{style:{flexGrow:1},children:[y.jsxs(qr,{gap:"xs",wrap:"nowrap",align:"center",className:VXe,children:[y.jsx(Ks,{component:"div",highlight:i,className:vm.title,children:e.label}),y.jsx(fo,{label:a.id,withinPortal:!1,fz:"xs",disabled:!a.id.includes("."),children:y.jsx(Ks,{component:"div",highlight:i,className:Je(YXe,vm.descriptionColor),children:g1(a.id)})})]}),y.jsx(Ks,{component:"div",highlight:i,className:vm.description,lineClamp:1,children:a.summary.text||"No description"})]}),y.jsx(wt,{component:"div",className:Je(GXe,vm.descriptionColor),fz:"xs",children:s.length===0?"No views":y.jsxs(y.Fragment,{children:[s.length," view",s.length>1?"s":""]})})]})]})}function Eee(){const e=Wt(),r=Su();return it(n=>{const o=[...n.views()];if(o.length===0)return;const a=zx(o);if(a){r.send({type:"close"}),a.id!==e.currentView.id&&setTimeout(()=>{e.navigateTo(a.id)},100);return}r.send({type:"pickview.open",elementFqn:n.id})})}const rKe=ye({border:"transparent",background:{base:"transparent",_focusWithin:{base:"mantine.colors.gray[4]/55 !important",_dark:"mantine.colors.dark[5]/55 !important"},_groupHover:{base:"mantine.colors.gray[3]/35",_dark:"mantine.colors.dark[5]/35"}}}),nKe=ye({position:"absolute",inset:"0",width:"100%",height:"100%",backgroundColor:"[rgb(34 34 34 / 0.7)]",zIndex:902,backdropFilter:"auto",backdropBlur:"10px",_light:{backgroundColor:"[rgb(255 255 255 / 0.6)]"}}),oKe=ye({position:"absolute",top:"[2rem]",left:"[50%]",width:"100%",maxWidth:"600px",minWidth:"200px",transform:"translateX(-50%)",zIndex:903}),See=ye({marginTop:"2","& + &":{marginTop:"[32px]"}});ye({height:["100%","100cqh"],"& .mantine-ScrollArea-viewport":{minHeight:"100%","& > div":{minHeight:"100%",height:"100%"}}});function aKe({elementFqn:e}){const r=Su(),n=Ho().element(e),o=[],a=[];for(const l of n.views())l.viewOf===n?o.push(l):a.push(l);const i=()=>{r.send({type:"pickview.close"})};return xf("keydown",l=>{try{l.key==="Escape"&&(l.stopPropagation(),l.preventDefault(),i())}catch(s){console.warn(s)}},{capture:!0}),y.jsxs(y.Fragment,{children:[y.jsx(Qr,{className:nKe,onClick:l=>{l.stopPropagation(),i()}},"pickview-backdrop"),y.jsx(Cw,{children:y.jsxs(Qr,{initial:{opacity:0,scale:.95,originY:0,translateX:"-50%",translateY:-20},animate:{opacity:1,scale:1,translateY:0},exit:{opacity:0,scale:.98,translateY:-20,transition:{duration:.1}},className:oKe,"data-likec4-search-views":!0,children:[y.jsxs(qr,{px:"sm",py:"md",justify:"space-between",children:[y.jsx(ep,{order:2,lh:1,children:"Select view"}),y.jsx(or,{size:"md",variant:"default",onClick:l=>{l.stopPropagation(),i()},children:y.jsx(Hf,{})})]}),y.jsxs(ta,{mah:"calc(100vh - 110px)",type:"never",children:[o.length>0&&y.jsxs(ra,{gap:"sm",px:"sm",className:See,children:[y.jsx(ep,{order:6,c:"dimmed",children:"scoped views of the element"}),o.map((l,s)=>y.jsx(ZT,{view:l,search:"",loop:!0,mod:{autofocus:s===0}},l.id))]}),a.length>0&&y.jsxs(ra,{gap:"sm",px:"sm",className:See,children:[y.jsx(ep,{order:6,c:"dimmed",children:"views including this element"}),a.map((l,s)=>y.jsx(ZT,{view:l,search:"",loop:!0,mod:{autofocus:s===0&&o.length===0}},l.id))]})]})]},"pickview")})]})}function iKe(){const e=E.useRef(null);let r=Ho().tagsSortedByUsage,n=PXe(),o=GT(),a=r.length;if(o.startsWith("#")){const l=o.slice(1);r=r.filter(({tag:s})=>s.toLocaleLowerCase().includes(l))}if(r.length===0)return null;const i=r.length!==a;return y.jsxs(xn,{ref:e,css:{gap:"md",paddingLeft:"[48px]",flexWrap:"nowrap"},children:[y.jsx(xn,{css:{gap:"1.5",flexWrap:"wrap",opacity:i?1:.3,grayscale:i?0:.9,filter:"auto",transition:"fast",_groupHover:{opacity:1,grayscale:0},_groupFocusWithin:{opacity:1,grayscale:0}},children:r.map(({tag:l})=>y.jsx(C2,{tag:l,className:ye({userSelect:"none",cursor:"pointer"}),onClick:s=>{s.stopPropagation(),n(`#${l}`),setTimeout(()=>{X2(e.current)},350)}},l))}),i&&y.jsx(Zn,{size:"compact-xs",variant:"light",onClick:l=>{l.stopPropagation(),n(""),Oy(e.current)},rightSection:y.jsx(Hf,{size:14}),children:"Clear"})]})}/** + */const _Xe=[["path",{d:"M12 4l-8 4l8 4l8 -4l-8 -4",key:"svg-0"}],["path",{d:"M4 12l8 4l8 -4",key:"svg-1"}],["path",{d:"M4 16l8 4l8 -4",key:"svg-2"}]],XT=xt("outline","stack-2","Stack2",_Xe),wee=qf.withProps({mb:8,labelPosition:"left",variant:"dashed"}),kee=no.withProps({color:"dark",fz:"xs",openDelay:400,closeDelay:150,label:"",children:null,offset:4}),_ee=pt.withProps({component:"div",fz:11,fw:500,c:"dimmed",lh:1}),qy=pt.withProps({component:"div",fz:"xs",c:"dimmed",className:XYe}),Em=24,EXe=["Properties","Relationships","Views","Structure","Deployments"];function SXe({viewId:e,fromNode:r,rectFromNode:n,fqn:o,onClose:a}){const[i,l]=S.useState(!1),s=KPe(),c=s.width||window.innerWidth||1200,u=s.height||window.innerHeight||800,[d,p]=VPe({key:"likec4:element-details:active-tab",defaultValue:"Properties"}),f=Yt(),g=jQ(),b=r?g.findNode(r):g.findNodeWithElement(o),x=g.$model.element(o),[w,k]=kn([...x.views()],No(Z=>Z.$view),bU(Z=>Z._type==="element"&&Z.viewOf===o));let C=b?.navigateTo?.$view??x.defaultView?.$view??null;C?.id===e&&(C=null);const _=Hx(x.links),T=ZVe(),R=(b?.$node.children?.length??0)>0,A=Math.min(700,c-Em*2),D=Math.min(650,u-Em*2),N=n?{x:n.x+(R?n.width-A/2:n.width/2),y:n.y+(R?0:n.height/2)}:{x:c/2,y:u/2},$=n?Math.min(n.width/A,n.height/D,.9):1,O=Math.round(Qi(N.x-A/2,{min:Em,max:c-A-Em})),j=Math.round(Qi(N.y-(R?0:60),{min:Em,max:u-D-Em})),L=Qi((N.x-O)/A,{min:.1,max:.9}),Y=Qi((N.y-j)/D,{min:.1,max:.9}),M=lQ(A),q=lQ(D);O2(()=>{M.set(A),q.set(D)},[A,D]);const z=S.useCallback((Z,B)=>{M.set(Math.max(M.get()+B.delta.x,320)),q.set(Math.max(q.get()+B.delta.y,300))},[]),H=S.useRef(null),U=nf(a),K=G3(()=>{U.current()},[],50),V=b?.$node.notation??null,X=W3({element:{id:o,title:x.title,icon:b?.icon??x.icon},className:FYe});return K3(()=>{H.current?.open||H.current?.showModal()},20),K3(()=>{l(!0)},220),y.jsx(dl.dialog,{ref:H,className:Je(zYe,O0.classNames.fullWidth),layout:!0,initial:{[D2]:"0px",[P2]:"5%"},animate:{[D2]:"3px",[P2]:"60%"},exit:{[D2]:"0px",[P2]:"0%",transition:{duration:.1}},onClick:Z=>{Z.stopPropagation(),Z.target?.nodeName?.toUpperCase()==="DIALOG"&&H.current?.close()},onDoubleClick:pn,onPointerDown:pn,onClose:Z=>{Z.stopPropagation(),K()},children:y.jsx(O0,{forwardProps:!0,removeScrollBar:!1,children:y.jsxs(dl.div,{layout:!0,layoutRoot:!0,drag:!0,dragControls:T,dragElastic:0,dragMomentum:!1,dragListener:!1,"data-likec4-color":b?.color??x.color,className:LYe,initial:{top:j,left:O,width:A,height:D,opacity:0,originX:L,originY:Y,scale:Math.max($,.65)},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9,translateY:-10,transition:{duration:.1}},style:{width:M,height:q},children:[y.jsxs("div",{className:BYe,onPointerDown:Z=>T.start(Z),children:[y.jsxs(Sn,{alignItems:"start",justify:"space-between",gap:"sm",mb:"sm",flexWrap:"nowrap",children:[y.jsxs(Sn,{alignItems:"start",gap:"sm",style:{cursor:"default"},flexWrap:"nowrap",children:[X,y.jsxs("div",{children:[y.jsx(pt,{component:"div",className:jYe,children:x.title}),V&&y.jsx(pt,{component:"div",c:"dimmed",fz:"sm",fw:500,lh:1.3,lineClamp:1,children:V})]})]}),y.jsx(lp,{size:"lg",onClick:Z=>{Z.stopPropagation(),K()}})]}),y.jsxs(Sn,{alignItems:"baseline",gap:"sm",flexWrap:"nowrap",children:[y.jsxs("div",{children:[y.jsx(_ee,{children:"kind"}),y.jsx(Qs,{radius:"sm",size:"sm",fw:600,color:"gray",style:{cursor:"pointer"},onClick:Z=>{Z.stopPropagation(),f.openSearch(`kind:${x.kind}`)},children:x.kind})]}),y.jsxs("div",{style:{flex:1},children:[y.jsx(_ee,{children:"tags"}),y.jsxs(Zs,{gap:4,flex:1,mt:6,wrap:"wrap",children:[x.tags.map(Z=>y.jsx(N2,{tag:Z,cursor:"pointer",onClick:B=>{B.stopPropagation(),f.openSearch(`#${Z}`)}},Z)),x.tags.length===0&&y.jsx(Qs,{radius:"sm",size:"sm",fw:600,color:"gray",children:"—"})]})]}),y.jsxs(Dw,{style:{alignSelf:"flex-start"},children:[_&&y.jsx(ir,{component:"a",href:_.url,target:"_blank",size:"lg",variant:"default",radius:"sm",children:y.jsx(vee,{stroke:1.6,style:{width:"65%"}})}),y.jsx(wGe,{feature:"Vscode",children:y.jsx(kee,{label:"Open source",children:y.jsx(ir,{size:"lg",variant:"default",radius:"sm",onClick:Z=>{Z.stopPropagation(),f.openSource({element:x.id})},children:y.jsx(xm,{stroke:1.8,style:{width:"62%"}})})})}),C&&y.jsx(kee,{label:"Open default view",children:y.jsx(ir,{size:"lg",variant:"default",radius:"sm",onClick:Z=>{Z.stopPropagation(),f.navigateTo(C.id,r??void 0)},children:y.jsx(vi,{style:{width:"70%"}})})})]})]})]}),y.jsx(HQ,{children:y.jsxs(up,{value:d,onChange:Z=>p(Z),variant:"none",classNames:{root:UYe,list:VYe,tab:YYe,panel:WYe},children:[y.jsx(ty,{children:EXe.map(Z=>y.jsx(Yf,{value:Z,children:Z},Z))}),y.jsx(ec,{value:"Properties",children:y.jsx(ss,{scrollbars:"y",type:"scroll",offsetScrollbars:!0,children:y.jsxs(Se,{className:GYe,pt:"xs",children:[x.hasSummary&&y.jsxs(y.Fragment,{children:[y.jsx(qy,{children:"summary"}),y.jsx(Cp,{value:x.summary})]}),y.jsxs(y.Fragment,{children:[y.jsx(qy,{children:"description"}),y.jsx(Cp,{value:x.description,emptyText:"no description"})]}),x.technology&&y.jsx(CXe,{title:"technology",children:x.technology}),x.links.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(qy,{children:"links"}),y.jsx(Sn,{gap:"xs",flexWrap:"wrap",children:x.links.map((Z,B)=>y.jsx(VC,{value:Z},B))})]}),x.$element.metadata&&y.jsx(TXe,{value:x.$element.metadata})]})})}),y.jsx(ec,{value:"Relationships",children:y.jsx(Ep,{overrides:{enableRelationshipBrowser:!1,enableNavigateTo:!1},children:i&&d==="Relationships"&&y.jsx(bXe,{element:x,node:b??null})})}),y.jsx(ec,{value:"Views",children:y.jsx(ss,{scrollbars:"y",type:"auto",children:y.jsxs(Ho,{gap:"lg",children:[w.length>0&&y.jsxs(Se,{children:[y.jsx(wee,{label:"views of the element (scoped)"}),y.jsx(Ho,{gap:"sm",children:w.map(Z=>y.jsx(Eee,{view:Z,onNavigateTo:B=>f.navigateTo(B,r??void 0)},Z.id))})]}),k.length>0&&y.jsxs(Se,{children:[y.jsx(wee,{label:"views including this element"}),y.jsx(Ho,{gap:"sm",children:k.map(Z=>y.jsx(Eee,{view:Z,onNavigateTo:B=>f.navigateTo(B,r??void 0)},Z.id))})]})]})})}),y.jsx(ec,{value:"Structure",children:y.jsx(ss,{scrollbars:"y",type:"auto",children:y.jsx(kXe,{element:x})})}),y.jsx(ec,{value:"Deployments",children:y.jsx(ss,{scrollbars:"y",type:"auto",children:y.jsx(pWe,{elementFqn:x.id})})})]})}),y.jsx(dl.div,{className:KYe,drag:!0,dragElastic:0,dragMomentum:!1,onDrag:z,dragConstraints:{top:0,left:0,right:0,bottom:0}})]})})})}const Eee=({view:e,onNavigateTo:r})=>y.jsx(Ar,{className:HYe,onClick:n=>r(e.id,n),children:y.jsxs(Wr,{gap:6,align:"start",wrap:"nowrap",children:[y.jsx(hi,{size:"sm",variant:"transparent",children:e._type==="deployment"?y.jsx(XT,{stroke:1.8}):y.jsx(vi,{stroke:1.8})}),y.jsx(Se,{children:y.jsx(pt,{component:"div",className:qYe,lineClamp:1,children:e.title||"untitled"})})]})});function CXe({title:e,emptyValue:r="undefined",children:n,style:o,...a}){return y.jsxs(y.Fragment,{children:[y.jsx(qy,{children:e}),y.jsx(pt,{component:"div",...hU(n)&&{c:"dimmed"},fz:"md",style:{whiteSpace:"preserve-breaks",userSelect:"all",...o},...a,children:n||r})]})}function TXe({value:e}){const r=WE(e).sort(([n],[o])=>n.localeCompare(o));return y.jsx(HQ,{children:y.jsxs(y.Fragment,{children:[y.jsx(qy,{style:{justifySelf:"end",textAlign:"right"},children:"metadata"}),y.jsx(Se,{className:me({display:"grid",gridTemplateColumns:"min-content 1fr",gridAutoRows:"min-content",gap:"[12px 16px]",alignItems:"baseline",justifyItems:"stretch"}),children:r.map(([n,o])=>y.jsx(eWe,{label:n,value:o},n))})]})})}function RXe({actorRef:e,onClose:r}){const n=Cn(e,ot(o=>({viewId:o.context.currentView.id,fromNode:o.context.initiatedFrom.node,rectFromNode:o.context.initiatedFrom.clientRect,fqn:o.context.subject})),Jn);return y.jsx(DC.Provider,{value:e,children:y.jsx(SXe,{onClose:r,...n})})}const W2="--_blur",G2="--_opacity",AXe="--_level",Uy=S.forwardRef(({onClose:e,className:r,classes:n,overlayLevel:o=0,children:a,fullscreen:i=!1,withBackdrop:l=!0,backdrop:s,openDelay:c=130,...u},d)=>{const[p,f]=S.useState(c===0),g=GU(p),b=S.useRef(null),x=S.useRef(!1),w=sQ()!==!0,k=S.useRef(e);k.current=e;const C=G3(()=>{x.current||(x.current=!0,k.current())},[],50);S.useLayoutEffect(()=>{b.current?.open||b.current?.showModal()},[]),K3(()=>{f(!0)},c>0?c:void 0);const _=aYe({fullscreen:i,withBackdrop:l});let T=o>0?"50%":"60%";return s?.opacity!==void 0&&(T=`${s.opacity*100}%`),y.jsx(dl.dialog,{ref:Mr(b,g,d),className:Je(n?.dialog,r,_,i&&O0.classNames.fullWidth),layout:!0,style:{[AXe]:o},...w?{initial:{[W2]:"0px",[G2]:"0%",scale:.95,originY:0,translateY:-20,opacity:0},animate:{[W2]:o>0?"4px":"8px",[G2]:T,scale:1,opacity:1,translateY:0,transition:{delay:.075}},exit:{opacity:0,scale:.98,translateY:-20,transition:{duration:.1},[W2]:"0px",[G2]:"0%"}}:{initial:{[W2]:"8px",[G2]:T}},onClick:R=>{if(R.stopPropagation(),R.target?.nodeName?.toUpperCase()==="DIALOG"){b.current?.close();return}},onCancel:R=>{R.preventDefault(),R.stopPropagation(),C()},onDoubleClick:pn,onPointerDown:pn,onClose:R=>{R.stopPropagation(),C()},...u,children:y.jsx(O0,{forwardProps:!0,children:y.jsx("div",{className:Je(n?.body,"likec4-overlay-body"),children:p&&y.jsx(y.Fragment,{children:a})})})})});Uy.displayName="Overlay";const X2=(e,r)=>e.size>2&&r.size!==e.size?new Set(tu([...F3(e).flatten(),...r])):e.size>1?new Set(tu([...e])):e;function NXe(e,r){const n=new Set,o=new Set,a=new Set,i={sources:new Set,targets:new Set},l=(s,c)=>{c==="source"?(n.add(s),i.sources.add(s)):(a.add(s),i.targets.add(s))};for(const s of e){const c=r.findEdge(s),u=c?[...c.relationships("model")]:[];if(!c||!Ao(u,1)||!c.source.hasElement()||!c.target.hasElement())continue;const d=c.source.element,p=c.target.element;l(d,"source"),l(p,"target");for(const f of u){if(o.add(f),f.source!==d){l(f.source,"source");for(const g of f.source.ancestors()){if(g===d)break;n.add(g)}}if(f.target!==p){l(f.target,"target");for(const g of f.target.ancestors()){if(g===p)break;a.add(g)}}}}return{sources:X2(n,i.sources),targets:X2(a,i.targets),relationships:o}}function DXe({source:e,target:r}){const n=new Set,o=new Set,a=new Set,i={sources:new Set,targets:new Set},l=(c,u)=>{u==="source"?(n.add(c),i.sources.add(c)):(a.add(c),i.targets.add(c))};e&&l(e,"source"),r&&l(r,"target");const[s]=k8e.findConnection(e,r,"directed");if(!s)return{sources:n,targets:a,relationships:o};for(const c of s.relations){const u=c.source,d=c.target;if(l(u,"source"),l(d,"target"),o.add(c),e!==u){nt(Gn(e,u),`${e.id} is not an ancestor of ${u.id}`);for(const p of u.ancestors()){if(p===e)break;n.add(p)}}if(r!==d){nt(Gn(r,d),`${r.id} is not an ancestor of ${d.id}`);for(const p of d.ancestors()){if(p===r)break;a.add(p)}}}return{sources:X2(n,i.sources),targets:X2(a,i.targets),relationships:o}}const See=S.createContext(null);function KT(){return bt(S.useContext(See),"No RelationshipDetailsActorContext")}function Cee(e,r=Jn){const n=ot(e),o=KT();return Cn(o,n,r)}function ZT(){const e=KT();return S.useMemo(()=>({actor:e,get rootElementId(){return`relationship-details-${e.sessionId.replaceAll(":","_")}`},getState:()=>e.getSnapshot().context,send:e.send,navigateTo:(...r)=>{r.length===1?e.send({type:"navigate.to",params:{edgeId:r[0]}}):e.send({type:"navigate.to",params:{source:r[0],target:r[1]}})},fitDiagram:()=>{e.send({type:"fitDiagram"})},close:()=>{e._parent?e._parent?.send({type:"close",actorId:e.id}):e.send({type:"close"})}}),[e])}const bl={dagre:{ranksep:60,nodesep:35,edgesep:25},edgeLabel:{width:220,height:14},nodeWidth:330,nodeHeight:180,compound:{labelHeight:2,paddingTop:50,paddingBottom:32}};function PXe(){const e=new j2.graphlib.Graph({directed:!0,compound:!0,multigraph:!0});return e.setGraph({...bl.dagre,rankdir:"LR"}),e.setDefaultEdgeLabel(()=>({...bl.edgeLabel})),e.setDefaultNodeLabel(()=>({})),e}const QT="-port";function Tee(e,r,n){const o=new po(i=>({id:`${e}-${i}`,portId:`${e}-${i}`})),a=F3(r);for(const i of a.sorted){const l=a.children(i).length>0,s=i.id,c=`${e}-${s}`,u=l?`${c}${QT}`:c;o.set(s,{id:c,portId:u}),n.setNode(c,{column:e,element:i,isCompound:l,portId:u,inPorts:[],outPorts:[],width:bl.nodeWidth,height:bl.nodeHeight}),l&&(n.setNode(u,{element:i,portId:u,isCompound:l,inPorts:[],outPorts:[],width:bl.nodeWidth-bl.dagre.ranksep,height:bl.compound.labelHeight}),n.setParent(u,c));const d=a.parent(i);d&&n.setParent(c,`${e}-${d.id}`)}return{...a,byId:i=>{const l=a.byId(i),s=o.get(l.id);return{element:l,graph:s}},graphNodes:o}}function $Xe(e){return j2.layout(e,{}),r=>{const n=e.node(r),{x:o,y:a,width:i,height:l}=n;return{position:{x:o-Math.round(i/2),y:a-Math.round(l/2)},width:i,height:l}}}function MXe(e,r){const n=PXe(),o=Tee("sources",e.sources,n),a=Tee("targets",e.targets,n),i=Array.from(e.relationships).map(k=>{const C=o.byId(k.source.id).graph,_=a.byId(k.target.id).graph,T=k.id;return n.node(C.id).outPorts.push(_.id),n.node(_.id).inPorts.push(C.id),n.setEdge(C.portId,_.portId,{...bl.edgeLabel},T),{name:T,source:C.id,sourceHandle:C.id+"_out"+(n.node(C.id).outPorts.length-1),target:_.id,targetHandle:_.id+"_in"+(n.node(_.id).inPorts.length-1),relationship:k}}),l=[...o.graphNodes.values(),...a.graphNodes.values()];for(const{id:k}of l){const C=n.node(k);if(C.isCompound)continue;const _=Math.max(n.inEdges(k)?.length??0,n.outEdges(k)?.length??0);_>3&&(C.height=C.height+(_-4)*14)}const s=n.edgeCount();if(s>5)for(const k of n.edges())n.setEdge(k,{...bl.edgeLabel,width:s>10?800:400});const c=$Xe(n),u=kn(l,vf(k=>k.id===k.portId),M0(k=>[k.id,c(k.id)]));function d(k){return u[k]??=kn(n.children(k)??[],vf(C=>!C.endsWith(QT)),No(C=>d(C)),wU(C=>{nt(C.length>0,`Node ${k} has no nested nodes`)}),wf((C,_)=>({minY:Math.min(C.minY,_.position.y),maxY:Math.max(C.maxY,_.position.y+_.height)}),{minY:1/0,maxY:-1/0}),({minY:C,maxY:_})=>{const{position:{x:T},width:R}=c(k);return C=C-bl.compound.paddingTop,_=_+bl.compound.paddingBottom,{position:{x:T,y:C},width:R,height:_-C}})}function p(k){const C=n.parent(k);return C?p(C)+1:0}function f(k){const C=n.children(k)??[];return C.length===0?0:1+Math.max(...C.map(f))}const g=(k,C,_)=>kn(_,No((T,R)=>({port:k+"_"+C+R,topY:d(T).position.y})),qx(Ra("topY")),No(Ra("port")));let b=0,x=0;const w=l.map(({id:k})=>{const{element:C,inPorts:_,outPorts:T,column:R}=n.node(k);let{position:A,width:D,height:N}=d(k);const $=n.parent(k),O=(n.children(k)??[]).filter(q=>!q.endsWith(QT));b=Math.min(b,A.x),x=Math.min(x,A.y);const j=r?a0(C.scopedViews(),q=>q.id!==r.id)?.id??null:null,L=r?.findNodeWithElement(C.id),Y=r&&!L?a0(C.ancestors(),q=>!!r.findNodeWithElement(q.id))?.id:null,M=L??(Y&&r?.findNodeWithElement(Y));return e0({id:k,parent:$??null,x:A.x,y:A.y,title:C.title,description:C.summary,technology:C.technology,tags:[...C.tags],links:null,color:M?.color??C.color,shape:L?.shape??C.shape,icon:L?.icon??C.icon??"none",modelRef:C.id,kind:C.kind,level:p(k),labelBBox:{x:A.x,y:A.y,width:D,height:N},style:tp({...(L??M)?.style,...C.$element.style},["shape","color","icon"]),navigateTo:j,...O.length>0&&{depth:f(k)},children:O,width:D,height:N,column:R,ports:{in:g(k,"in",_),out:g(k,"out",T)}})});return{bounds:{x:Math.min(b,0),y:Math.min(x,0),width:n.graph().width??100,height:n.graph().height??100},nodes:w,edges:n.edges().reduce((k,C)=>{const _=n.edge(C),T=C.name;if(!T)return k;const{name:R,source:A,target:D,relationship:N,sourceHandle:$,targetHandle:O}=jx(i,q=>q.name===T),j=N.title??"untitled",L=N.navigateTo?.id??null,Y=N.description??null,M=N.technology??null;return k.push({id:R,source:A,sourceHandle:$,target:D,targetHandle:O,label:j,color:N.color,...L&&{navigateTo:L},...Y&&{description:Y},...M&&{technology:M},points:_.points.map(q=>[q.x,q.y]),line:N.line,relationId:N.id,parent:null}),k},[])}}const JT=me.raw({display:"inline-flex",alignItems:"center",padding:"[6px 2px 0 2px]","& .mantine-Text-root":{color:"mantine.colors.text/90",fontSize:"xs",fontWeight:500,lineHeight:"1.2"}}),Ree=me({paddingLeft:"1",gridColumn:1},JT),OXe=me({gridColumn:2},JT),Aee=me({gridColumn:3,paddingRight:"1"},JT),Nee="likec4-edge-label",IXe=Je(Nee,me({display:"grid",gridColumnStart:1,gridColumnEnd:4,borderBottom:"1px solid",borderBottomColor:"mantine.colors.defaultBorder",marginBottom:"0",padding:"[0 4px 5px 4px]",width:"100%","& .mantine-Text-root":{fontSize:"xxs",fontWeight:400,lineHeight:"xs",color:"mantine.colors.dimmed"}})),zXe=me({display:"contents",[`&:last-child .${Nee}`]:{borderBottom:"none",marginBottom:"0"},"& > *":{transition:"all 0.15s ease-in"},"&:is(:hover, [data-selected=true]) > *":{transition:"all 0.15s ease-out",cursor:"pointer",backgroundColor:"mantine.colors.defaultHover"}}),LXe=me({display:"grid",gridTemplateColumns:"1fr 30px 1fr",gridAutoRows:"min-content max-content",gap:"0",alignItems:"stretch"});me({display:"grid",gridTemplateColumns:"min-content 1fr",gridAutoRows:"min-content max-content",gap:"[10px 12px]",alignItems:"baseline",justifyItems:"start"});const BXe=me({maxHeight:["70vh","calc(100cqh - 70px)"]}),jXe=({edge:e,view:r})=>{const n=ZT(),o=S.useRef(null),a=r.nodes.find(s=>s.id===e.source),i=r.nodes.find(s=>s.id===e.target),l=r.edges.flatMap(s=>{const c=r.nodes.find(d=>d.id===s.source),u=r.nodes.find(d=>d.id===s.target);return c&&u?{id:s.id,source:c,target:u,label:s.label}:[]});return!a||!i||l.length===0?null:y.jsxs(br,{position:"bottom-start",shadow:"md",keepMounted:!0,withinPortal:!1,closeOnClickOutside:!0,clickOutsideEvents:["pointerdown","mousedown","click"],onOpen:()=>{setTimeout(()=>{o.current?.querySelector(`[data-edge-id="${e.id}"]`)?.scrollIntoView({behavior:"instant",block:"nearest"})},100)},children:[y.jsx(Eu,{children:y.jsxs(ro,{size:"xs",variant:"default",fw:"500",style:{padding:"0.25rem 0.75rem"},rightSection:y.jsx(HT,{size:16}),children:[y.jsx(Se,{className:Ree,maw:160,p:0,mod:{"likec4-color":a.color},children:y.jsx(pt,{component:"span",truncate:!0,children:a.title})}),y.jsx(hi,{color:"dark",variant:"transparent",size:"xs",children:y.jsx(_m,{style:{width:"80%"}})}),y.jsx(Se,{className:Aee,maw:160,p:0,mod:{"likec4-color":i.color},children:y.jsx(pt,{component:"span",truncate:!0,children:i.title})})]})}),y.jsx(Ks,{p:0,miw:250,maw:400,children:y.jsx(na,{className:BXe,scrollbars:"y",type:"never",viewportRef:o,children:y.jsx(Se,{className:LXe,p:"xs",maw:400,children:l.map(s=>y.jsxs("div",{className:zXe,"data-selected":s.id===e.id,onClick:c=>{c.stopPropagation(),n.navigateTo(s.id)},children:[y.jsx(Se,{className:Ree,mod:{"edge-id":s.id,"likec4-color":s.source.color},children:y.jsx(pt,{component:"span",truncate:!0,children:s.source.title})}),y.jsx(Se,{className:OXe,children:y.jsx(hi,{color:"dark",variant:"transparent",size:"xs",children:y.jsx(_m,{style:{width:"80%"}})})}),y.jsx(Se,{className:Aee,mod:{"likec4-color":s.target.color},children:y.jsx(pt,{component:"span",truncate:!0,children:s.target.title})}),y.jsx(Se,{className:IXe,children:y.jsx(pt,{component:"span",truncate:!0,children:s.label||"untitled"})})]},s.id))})})})]})},FXe=qT(e=>{const{enableNavigateTo:r}=Er(),{data:{navigateTo:n}}=e,[o,a,i]=Sx(e),l=Yt();return y.jsxs(Ly,{...e,children:[y.jsx(By,{edgeProps:e,svgPath:o}),y.jsx(U2,{edgeProps:e,labelPosition:{x:a,y:i,translate:"translate(-50%, 0)"},style:{maxWidth:Math.abs(e.targetX-e.sourceX-100)},children:y.jsx(zy,{edgeProps:e,children:r&&n&&y.jsx(q2,{...e,onClick:s=>{s.stopPropagation(),l.navigateTo(n)}})})})]})}),HXe=e=>{const{enableNavigateTo:r,enableVscode:n}=Er(),o=Yt(),a=V2(),i=[],{navigateTo:l,fqn:s}=e.data;return l&&r&&a!==l&&i.push({key:"navigate",icon:y.jsx(vi,{}),onClick:c=>{c.stopPropagation(),o.navigateTo(l)}}),s&&i.push({key:"relationships",icon:y.jsx(jy,{}),onClick:c=>{c.stopPropagation(),o.openRelationshipsBrowser(s)}}),s&&n&&i.push({key:"goToSource",icon:y.jsx(xm,{}),onClick:c=>{c.stopPropagation(),o.openSource({element:s})}}),y.jsx(Y2,{buttons:i,...e})};function qXe(e,r){return e.id===r.id&&ut(e.selected??!1,r.selected??!1)&&ut(e.dragging??!1,r.dragging??!1)&&ut(e.width??0,r.width??0)&&ut(e.height??0,r.height??0)&&ut(e.zIndex??0,r.zIndex??0)&&ut(e.data,r.data)}const Dee=Symbol.for("isMemoized");function uc(e){if(e.hasOwnProperty(Dee))return e;const r=S.memo(e,qXe);return r.displayName="Node",Object.defineProperty(r,Dee,{enumerable:!1,writable:!1,value:!0}),r}const Pee=e=>{const r=Yt();return y.jsx(WT,{...e,onClick:n=>{n.stopPropagation(),r.openElementDetails(e.data.fqn)}})},UXe=uc(e=>{const{enableElementTags:r}=Er();return y.jsxs(wm,{nodeProps:e,children:[y.jsx(km,{...e}),y.jsx(yl,{...e}),r&&y.jsx(My,{...e}),y.jsx(Pee,{...e}),y.jsx(HXe,{...e}),y.jsx(YXe,{...e})]})}),VXe=uc(e=>y.jsxs(Fy,{nodeProps:e,children:[y.jsx(Pee,{...e}),y.jsx(Hy,{...e}),y.jsx(WXe,{...e})]})),YXe=({data:{ports:e,height:r}})=>y.jsxs(y.Fragment,{children:[e.in.map((n,o)=>y.jsx(fo,{id:n,type:"target",position:tt.Left,style:{visibility:"hidden",top:`${15+(o+1)*((r-30)/(e.in.length+1))}px`}},n)),e.out.map((n,o)=>y.jsx(fo,{id:n,type:"source",position:tt.Right,style:{visibility:"hidden",top:`${15+(o+1)*((r-30)/(e.out.length+1))}px`}},n))]}),WXe=({data:e})=>y.jsxs(y.Fragment,{children:[e.ports.in.map((r,n)=>y.jsx(fo,{id:r,type:"target",position:tt.Left,style:{visibility:"hidden",top:`${20*(n+1)}px`}},r)),e.ports.out.map((r,n)=>y.jsx(fo,{id:r,type:"source",position:tt.Right,style:{visibility:"hidden",top:`${20*(n+1)}px`}},r))]}),GXe={element:UXe,compound:VXe},XXe={relationship:FXe};function KXe({actorRef:e}){const r=S.useRef(null);return r.current==null&&(r.current={defaultNodes:[],defaultEdges:[]}),y.jsx(See.Provider,{value:e,children:y.jsx(Ix,{...r.current,children:y.jsx(ym,{id:e.sessionId,inherit:!1,children:y.jsxs(Oa,{children:[y.jsx(eKe,{},"xyflow"),y.jsx(QXe,{},"sync")]})})})})}const ZXe=e=>({...e.context.subject,viewId:e.context.viewId}),QXe=S.memo(()=>{const e=KT(),r=Cn(e,ZXe,ut),n=qo(),o=n.findView(r.viewId)??null,a=S.useMemo(()=>{let s;if("edgeId"in r&&Ta(r.edgeId)){nt(o,`view ${r.viewId} not found`);const c=bt(o.findEdge(r.edgeId),`edge ${r.edgeId} not found in ${r.viewId}`);s=NXe([c.id],o)}else if(r.source&&r.target)s=DXe({source:n.element(r.source),target:n.element(r.target)});else return null;return MXe(s,o)},[r,o,n]),i=yr(),l=bf();return S.useEffect(()=>{l.viewportInitialized&&e.send({type:"xyflow.init",instance:l,store:i})},[i,l.viewportInitialized,e]),S.useEffect(()=>{a!==null&&e.send({type:"update.layoutData",data:a})},[a,e]),null}),JXe=({context:e})=>({initialized:e.initialized.xydata&&e.initialized.xyflow,nodes:e.xynodes,edges:e.xyedges}),eKe=S.memo(()=>{const e=ZT(),{initialized:r,nodes:n,edges:o}=Cee(JXe,ut);return y.jsxs(XC,{id:e.rootElementId,nodes:n,edges:o,className:Je(r?"initialized":"not-initialized","likec4-relationship-details"),nodeTypes:GXe,edgeTypes:XXe,onNodesChange:ot(a=>{e.send({type:"xyflow.applyNodeChanges",changes:a})}),onEdgesChange:ot(a=>{e.send({type:"xyflow.applyEdgeChanges",changes:a})}),fitViewPadding:.05,onNodeClick:ot((a,i)=>{a.stopPropagation(),e.send({type:"xyflow.nodeClick",node:i})}),onEdgeClick:ot((a,i)=>{a.stopPropagation(),e.send({type:"xyflow.edgeClick",edge:i})}),onPaneClick:ot(()=>{e.send({type:"xyflow.paneClick"})}),onDoubleClick:ot(()=>{e.send({type:"xyflow.paneDblClick"})}),onViewportResize:ot(()=>{e.send({type:"xyflow.resized"})}),onEdgeMouseEnter:ot((a,i)=>{i.data.hovered||e.send({type:"xyflow.edgeMouseEnter",edge:i})}),onEdgeMouseLeave:ot((a,i)=>{i.data.hovered&&e.send({type:"xyflow.edgeMouseLeave",edge:i})}),onSelectionChange:ot(a=>{e.send({type:"xyflow.selectionChange",...a})}),nodesDraggable:!1,fitView:!1,pannable:!0,zoomable:!0,children:[y.jsx(rKe,{}),y.jsx(fu,{position:"top-right",children:y.jsx(ir,{variant:"default",color:"gray",onClick:a=>{a.stopPropagation(),e.close()},children:y.jsx(Xf,{})})})]})}),tKe=({context:e})=>({subject:e.subject,viewId:e.viewId}),rKe=S.memo(()=>{const{subject:e,viewId:r}=Cee(tKe,ut),n=qo().findView(r);if(!n||!n.isDiagram())return null;const o=[...n.edges()];let a="edgeId"in e&&Ta(e.edgeId)?o.find(i=>i.id===e.edgeId):jx(o,i=>i.source.element?.id===e.source&&i.target.element?.id===e.target)||jx(o,i=>(i.source.element?.id===e.source||Gn(i.source.element?.id??"__",e.source??"__"))&&(i.target.element?.id===e.target||Gn(i.target.element?.id??"__",e.target??"__")));return a?y.jsx(nKe,{edge:a.$edge,view:n.$view}):null}),nKe=({edge:e,view:r})=>{const n=ZT(),o=e.id,[a,i,{history:l,current:s}]=nV(e.id);S.useEffect(()=>{a!==o&&i.set(o)},[o]),S.useEffect(()=>{a!==o&&n.navigateTo(a)},[a]);const c=s>0,u=s+1{d.stopPropagation(),i.back()},children:y.jsx(yee,{})})},"back"),u&&y.jsx(dl.div,{layout:!0,initial:{opacity:.05,transform:"translateX(5px)"},animate:{opacity:1,transform:"translateX(0)"},exit:{opacity:0,transform:"translateX(5px)"},children:y.jsx(ir,{variant:"default",color:"gray",onClick:d=>{d.stopPropagation(),i.forward()},children:y.jsx(Mu,{})})},"forward"),y.jsx(Wr,{gap:"xs",wrap:"nowrap",ml:"sm",children:y.jsx(jXe,{edge:e,view:r})})]})})})},oKe=e=>e.context.overlays.map(r=>{switch(r.type){case"relationshipsBrowser":return e.children[r.id]?{type:r.type,actorRef:e.children[r.id]}:null;case"relationshipDetails":return e.children[r.id]?{type:r.type,actorRef:e.children[r.id]}:null;case"elementDetails":return e.children[r.id]?{type:r.type,actorRef:e.children[r.id]}:null;default:Ja(r)}}).filter(pU),aKe=(e,r)=>e.length===r.length&&e.every((n,o)=>n.actorRef===r[o].actorRef);function iKe({overlaysActorRef:e}){const r=FC(c=>c.domNode),n=S.useMemo(()=>r?.querySelector(".react-flow__renderer")??null,[r]),o=Cn(e,oKe,aKe),a=sQ()??!1,i=o.some(c=>c.type==="elementDetails");S.useEffect(()=>{!n||a||Iqe(n,{opacity:i?.7:1,filter:i?"grayscale(1)":"grayscale(0)",transform:i?"perspective(400px) translateZ(-12px) translateY(3px)":"translateY(0)"},{duration:i?.35:.17})},[i,n]);const l=c=>{e.send({type:"close",actorId:c.id})},s=o.map((c,u)=>{switch(c.type){case"relationshipsBrowser":return y.jsx(Uy,{overlayLevel:u,onClose:()=>l(c.actorRef),children:y.jsx(bee,{actorRef:c.actorRef})},c.actorRef.sessionId);case"relationshipDetails":return y.jsx(Uy,{overlayLevel:u,onClose:()=>l(c.actorRef),children:y.jsx(KXe,{actorRef:c.actorRef})},c.actorRef.sessionId);case"elementDetails":return y.jsx(RXe,{actorRef:c.actorRef,onClose:()=>l(c.actorRef)},c.actorRef.sessionId);default:Ja(c)}});return y.jsx(Ep.Overlays,{children:y.jsx(V7,{FallbackComponent:Y7,onReset:()=>e.send({type:"close.all"}),children:y.jsx(ym,{children:y.jsx(Oa,{children:s})})})})}const[lKe,Ou]=ii("SearchActorContext"),sKe=e=>e.context.searchValue;function cKe(){const e=Ou(),r=Cn(e,sKe),n=S.useCallback(o=>{e.send({type:"change.search",search:o})},[e]);return[r,n]}const uKe=e=>{const r=e.context.searchValue.trim().toLowerCase();return r.length>1?r:""};function eR(){const e=Ou();return S.useDeferredValue(Cn(e,uKe))}function dKe(){const e=Ou();return S.useCallback(r=>{e.send({type:"change.search",search:r})},[e])}const pKe=e=>e.context.pickViewFor;function hKe(){const e=Ou();return Cn(e,pKe)}const tR=me.raw({outline:"none",background:"mantine.colors.primary[8]",borderColor:"mantine.colors.primary[9]"}),K2=".mantine-Tree-node:focus > .mantine-Tree-label &",fKe=me.raw({display:"flex",width:"100%",background:"mantine.colors.body",rounded:"sm",padding:"[12px 8px 12px 14px]",minHeight:"60px",gap:"2",border:"1px solid",borderColor:"mantine.colors.defaultBorder",_hover:{...tR,borderColor:"mantine.colors.primary[9]",background:"mantine.colors.primary[8]/60"},_focus:tR,[K2]:tR,_dark:{borderColor:"transparent",background:"mantine.colors.dark[6]/80"},_light:{background:"mantine.colors.white/80",_hover:{borderColor:"mantine.colors.primary[6]",backgroundColor:"mantine.colors.primary[5]"}}}),Z2="likec4-focusable",Q2={ref:"var(--likec4-icon-size, 24px)"},mKe=me.raw({color:{base:"mantine.colors.dimmed",_light:"mantine.colors.gray[5]",_groupHover:"mantine.colors.primary[0]",_groupFocus:"mantine.colors.primary[0]"},[K2]:{color:"mantine.colors.primary[0]"},flex:`0 0 ${Q2.ref}`,height:Q2.ref,width:Q2.ref,display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"flex-start","--ti-size":Q2.ref,"& svg, & img":{width:"100%",height:"auto",maxHeight:"100%",pointerEvents:"none"},"& img":{objectFit:"contain"},"&.likec4-shape-icon svg":{strokeWidth:1.5}}),gKe=me.raw({fontSize:"16px",fontWeight:500,lineHeight:"1.1",":where([data-disabled]) &":{opacity:.4},color:{base:"mantine.colors.dark[1]",_light:"mantine.colors.gray[7]",_groupHover:{base:"mantine.colors.primary[1]",_light:"mantine.colors.white"},_groupFocus:{base:"mantine.colors.primary[1]",_light:"mantine.colors.white"}},[K2]:{color:{base:"mantine.colors.primary[1]",_light:"mantine.colors.white"}}}),$ee=me.raw({color:{base:"mantine.colors.dimmed",_groupHover:{base:"mantine.colors.primary[1]",_light:"mantine.colors.primary[0]"},_groupFocus:"mantine.colors.primary[0]"},[K2]:{color:"mantine.colors.primary[0]"}}),yKe=me.raw($ee,{marginTop:"1",fontSize:"12px",lineHeight:"1.4",":where([data-disabled]) &":{opacity:.85}}),bKe=me({width:"100%",height:"100%",border:"2px dashed",borderColor:"mantine.colors.defaultBorder",rounded:"md",display:"flex",justifyContent:"center",alignItems:"center",fontSize:"md",color:"mantine.colors.dimmed",padding:"md",paddingBlock:"xl"}),Mee=kEe({slots:["root","icon","title","description","descriptionColor"],className:"search-button",base:{root:fKe,icon:mKe,title:gKe,description:yKe,descriptionColor:$ee}}),rR="@container likec4-tree (max-width: 450px)",vKe=me({outline:"none",marginBottom:"2"}),xKe=me(mG.raw({containerName:"likec4-tree"}),{containerType:"inline-size",height:"100%"}),wKe=me({display:"flex",alignItems:"baseline",outline:"none !important",gap:"1"}),kKe=me({marginTop:"2"}),_Ke=me({color:"mantine.colors.dimmed"}),EKe=me({[rR]:{flexDirection:"column-reverse",alignItems:"flex-start",gap:"0.5"}}),SKe=me({fontSize:"10px",lineHeight:"1.3",display:"block",fontWeight:500,whiteSpace:"nowrap",padding:"[1px 5px]",borderRadius:"4px",background:"mantine.colors.dark[9]/30",_light:{background:"mantine.colors.gray[3]/20"}}),CKe=me({"--likec4-icon-size":"24px",[rR]:{"--likec4-icon-size":"18px"}}),TKe=me({flex:0,fontSize:"10px",fontWeight:500,whiteSpace:"nowrap",lineHeight:"1.1",[rR]:{display:"none"}});function wi(e){e.stopPropagation(),e.preventDefault()}function Oee(e){const r=e.getBoundingClientRect();return r.y+Math.floor(r.height/2)}function Vy(e){if(!e){console.error("moveFocusToSearchInput: from is null or undefined");return}const r=e.getRootNode();if(!$0(r.querySelector)){console.error("moveFocusToSearchInput: root.querySelector is not a function");return}let n=r.querySelector("[data-likec4-search-input]");if(n){const o=n.value.length;n.focus(),n.setSelectionRange(o,o)}}function J2(e){if(!e){console.error("focusToFirstFoundElement: from is null or undefined");return}const r=e.getRootNode();if(!$0(r.querySelector)){console.error("focusToFirstFoundElement: root.querySelector is not a function");return}r.querySelector(`[data-likec4-search] .${Z2}`)?.focus()}function Iee(e,r,n=`.${Z2}`){if(!e)return console.error("queryAllFocusable: from is null or undefined"),[];const o=e.getRootNode();return $0(o.querySelectorAll)?[...o.querySelectorAll(`[data-likec4-search-${r}] ${n}`)]:(console.error("queryAllFocusable: root.querySelectorAll is not a function"),[])}const RKe="likec4-view-btn",AKe=Je(me({flexWrap:"nowrap",display:"flex","&[data-disabled] .mantine-ThemeIcon-root":{opacity:.45}}),RKe);me({marginTop:"1",fontSize:"13px",lineHeight:"1.4",":where(.likec4-view-btn[data-disabled]) &":{opacity:.85}});const zee=()=>y.jsx(Gr,{className:bKe,children:"Nothing found"}),NKe=S.memo(()=>{const e=S.useRef(null);let r=[...qo().views()],n=eR();return n&&(n.startsWith("kind:")?r=[]:r=r.filter(o=>n.startsWith("#")?o.tags.some(a=>a.toLocaleLowerCase().includes(n.slice(1))):`${o.id} ${o.title} ${o.description.text}`.toLocaleLowerCase().includes(n))),y.jsxs(Ho,{ref:e,renderRoot:o=>y.jsx(nn,{layout:!0,...o}),gap:8,"data-likec4-search-views":!0,onKeyDown:o=>{if(o.key==="ArrowLeft"||o.key==="ArrowRight"){const a=o.target.getBoundingClientRect().y,i=Iee(e.current,"elements",".likec4-element-button");let l=i.length>1?i.find((s,c,u)=>Oee(s)>a||c===u.length-1):null;l??=xf(i),l&&(o.stopPropagation(),l.focus());return}},children:[r.length===0&&y.jsx(zee,{}),r.length>0&&y.jsx(Tw,{children:y.jsx(Ar,{"data-likec4-view":!0,tabIndex:-1,onFocus:o=>{o.stopPropagation(),Vy(e.current)}})}),r.map((o,a)=>y.jsx(nn,{layoutId:`@view${o.id}`,children:y.jsx(nR,{view:o,search:n,tabIndex:a===0?0:-1})},o.id))]})}),e4=Mee();function nR({className:e,view:r,loop:n=!1,search:o,...a}){const i=Ou(),l=Yt(),s=V2(),c=r.id===s,u=()=>{i.send({type:"close"}),setTimeout(()=>{l.navigateTo(r.id)},100)};return y.jsxs(Ar,{...a,className:Je(e4.root,"group",Z2,AKe,e),"data-likec4-view":r.id,...c&&{"data-disabled":!0},onClick:d=>{d.stopPropagation(),u()},onKeyDown:z0({siblingSelector:"[data-likec4-view]",parentSelector:"[data-likec4-search-views]",activateOnFocus:!1,loop:n,orientation:"vertical",onKeyDown:d=>{d.nativeEvent.code==="Space"&&(d.stopPropagation(),u())}}),children:[y.jsx(hi,{variant:"transparent",className:e4.icon,children:r.isDeploymentView()?y.jsx(XT,{stroke:1.8}):y.jsx(vi,{stroke:1.8})}),y.jsxs(Gr,{style:{flexGrow:1},children:[y.jsxs(Wr,{gap:"xs",wrap:"nowrap",align:"center",children:[y.jsx(Js,{component:"div",highlight:o,className:e4.title,children:r.title||"untitled"}),c&&y.jsx(Qs,{size:"xs",fz:9,radius:"sm",children:"current"})]}),y.jsx(Js,{highlight:r.description.nonEmpty?o:"",component:"div",className:e4.description,lineClamp:1,children:r.description.text||"No description"})]})]})}const Sm=Mee(),DKe=S.memo(()=>{const e=qo(),r=eR(),n=S.useMemo(()=>{const a=r.split(".");let i;gu(a)||a[0]==="kind:"?i=e.elements():i=Fd(e.elements(),u=>r.startsWith("kind:")?u.kind.toLocaleLowerCase().startsWith(r.slice(5)):r.startsWith("#")?u.tags.some(d=>d.toLocaleLowerCase().includes(r.slice(1))):(u.title+" "+u.id+" "+u.summary.text).toLocaleLowerCase().includes(r));const l={},{all:s,roots:c}=kn([...i],tu,wf((u,d)=>{const p={label:d.title,value:d.id,element:d,searchTerms:a,children:[]};l[p.value]=p;const f=u.all.findLast(g=>Gn(g.value,p.value));return f?(f.children.push(p),f.children.length>1&&f.children.sort(Iy)):u.roots.push(p),u.all.push(p),u},{all:[],roots:[]}));return{all:s,byid:l,roots:c.sort(Iy)}},[e,r]),o=Lee();return n.all.length===0?y.jsx(zee,{}):y.jsx($Ke,{data:n,handleClick:o})}),PKe=()=>{};function $Ke({data:{all:e,byid:r,roots:n},handleClick:o}){const a=ry({multiple:!1});a.setHoveredNode=PKe,S.useEffect(()=>{a.collapseAllNodes();for(const l of e)l.children.length>0&&a.expand(l.value)},[e]);const i=ot(l=>{const s=l.target,c=s.getAttribute("data-value"),u=!!c&&r[c];if(u){if(l.key==="ArrowUp"){c===n[0]?.value&&(wi(l),Vy(s));return}if(l.key==="ArrowRight"){if(u.children.length>0&&a.expandedState[c]===!1)return;const d=(l.target.querySelector(".mantine-Tree-label")??s).getBoundingClientRect().y,p=Iee(s,"views");let f=p.length>1?p.find((g,b,x)=>Oee(g)>d||b===x.length-1):null;f??=xf(p),f&&(wi(l),f.focus());return}if(l.key===" "||l.key==="Enter"){wi(l),o(u.element);return}}});return y.jsx(Wf,{"data-likec4-search-elements":!0,allowRangeSelection:!1,clearSelectionOnOutsideClick:!0,selectOnClick:!1,tree:a,data:n,levelOffset:"lg",classNames:{root:xKe,node:Je(Z2,vKe),label:wKe,subtree:kKe},onKeyDownCapture:i,renderNode:MKe})}function MKe({node:e,elementProps:r,hasChildren:n,expanded:o}){const{element:a,searchTerms:i}=e,l=zEe({element:{id:a.id,title:a.title,shape:a.shape,icon:a.icon},className:Je(Sm.icon,CKe)}),s=[...a.views()],c=Lee(),u=`@tree.${e.value}`;return y.jsxs(nn,{layoutId:u,...r,children:[y.jsx(ir,{variant:"transparent",size:16,tabIndex:-1,className:Je(_Ke),style:{visibility:n?"visible":"hidden"},children:y.jsx(Mu,{stroke:3.5,style:{transition:"transform 150ms ease",transform:`rotate(${o?"90deg":"0"})`,width:"100%"}})}),y.jsxs(Ar,{component:gl,layout:!0,tabIndex:-1,"data-value":a.id,className:Je(Sm.root,"group","likec4-element-button"),...s.length>0&&{onClick:d=>{(!n||o)&&(d.stopPropagation(),c(a))}},children:[l,y.jsxs(Se,{style:{flexGrow:1},children:[y.jsxs(Wr,{gap:"xs",wrap:"nowrap",align:"center",className:EKe,children:[y.jsx(Js,{component:"div",highlight:i,className:Sm.title,children:e.label}),y.jsx(no,{label:a.id,withinPortal:!1,fz:"xs",disabled:!a.id.includes("."),children:y.jsx(Js,{component:"div",highlight:i,className:Je(SKe,Sm.descriptionColor),children:C1(a.id)})})]}),y.jsx(Js,{component:"div",highlight:i,className:Sm.description,lineClamp:1,children:a.summary.text||"No description"})]}),y.jsx(pt,{component:"div",className:Je(TKe,Sm.descriptionColor),fz:"xs",children:s.length===0?"No views":y.jsxs(y.Fragment,{children:[s.length," view",s.length>1?"s":""]})})]})]})}function Lee(){const e=Yt(),r=Ou();return ot(n=>{const o=[...n.views()];if(o.length===0)return;const a=Hx(o);if(a){r.send({type:"close"}),a.id!==e.currentView.id&&setTimeout(()=>{e.navigateTo(a.id)},100);return}r.send({type:"pickview.open",elementFqn:n.id})})}const OKe=me({border:"transparent",background:{base:"transparent",_focusWithin:{base:"mantine.colors.gray[4]/55 !important",_dark:"mantine.colors.dark[5]/55 !important"},_groupHover:{base:"mantine.colors.gray[3]/35",_dark:"mantine.colors.dark[5]/35"}}}),IKe=me({position:"absolute",inset:"0",width:"100%",height:"100%",backgroundColor:"[rgb(34 34 34 / 0.7)]",zIndex:902,backdropFilter:"auto",backdropBlur:"10px",_light:{backgroundColor:"[rgb(255 255 255 / 0.6)]"}}),zKe=me({position:"absolute",top:"[2rem]",left:"[50%]",width:"100%",maxWidth:"600px",minWidth:"200px",transform:"translateX(-50%)",zIndex:903}),Bee=me({marginTop:"2","& + &":{marginTop:"[32px]"}});me({height:["100%","100cqh"],"& .mantine-ScrollArea-viewport":{minHeight:"100%","& > div":{minHeight:"100%",height:"100%"}}});function LKe({elementFqn:e}){const r=Ou(),n=qo().element(e),o=[],a=[];for(const l of n.views())l.viewOf===n?o.push(l):a.push(l);const i=()=>{r.send({type:"pickview.close"})};return Rf("keydown",l=>{try{l.key==="Escape"&&(l.stopPropagation(),l.preventDefault(),i())}catch(s){console.warn(s)}},{capture:!0}),y.jsxs(y.Fragment,{children:[y.jsx(nn,{className:IKe,onClick:l=>{l.stopPropagation(),i()}},"pickview-backdrop"),y.jsx(Nw,{children:y.jsxs(nn,{initial:{opacity:0,scale:.95,originY:0,translateX:"-50%",translateY:-20},animate:{opacity:1,scale:1,translateY:0},exit:{opacity:0,scale:.98,translateY:-20,transition:{duration:.1}},className:zKe,"data-likec4-search-views":!0,children:[y.jsxs(Wr,{px:"sm",py:"md",justify:"space-between",children:[y.jsx(dp,{order:2,lh:1,children:"Select view"}),y.jsx(ir,{size:"md",variant:"default",onClick:l=>{l.stopPropagation(),i()},children:y.jsx(Xf,{})})]}),y.jsxs(na,{mah:"calc(100vh - 110px)",type:"never",children:[o.length>0&&y.jsxs(Ho,{gap:"sm",px:"sm",className:Bee,children:[y.jsx(dp,{order:6,c:"dimmed",children:"scoped views of the element"}),o.map((l,s)=>y.jsx(nR,{view:l,search:"",loop:!0,mod:{autofocus:s===0}},l.id))]}),a.length>0&&y.jsxs(Ho,{gap:"sm",px:"sm",className:Bee,children:[y.jsx(dp,{order:6,c:"dimmed",children:"views including this element"}),a.map((l,s)=>y.jsx(nR,{view:l,search:"",loop:!0,mod:{autofocus:s===0&&o.length===0}},l.id))]})]})]},"pickview")})]})}function BKe(){const e=S.useRef(null);let r=qo().tagsSortedByUsage,n=dKe(),o=eR(),a=r.length;if(o.startsWith("#")){const l=o.slice(1);r=r.filter(({tag:s})=>s.toLocaleLowerCase().includes(l))}if(r.length===0)return null;const i=r.length!==a;return y.jsxs(Sn,{ref:e,css:{gap:"md",paddingLeft:"[48px]",flexWrap:"nowrap"},children:[y.jsx(Sn,{css:{gap:"1.5",flexWrap:"wrap",opacity:i?1:.3,grayscale:i?0:.9,filter:"auto",transition:"fast",_groupHover:{opacity:1,grayscale:0},_groupFocusWithin:{opacity:1,grayscale:0}},children:r.map(({tag:l})=>y.jsx(N2,{tag:l,className:me({userSelect:"none",cursor:"pointer"}),onClick:s=>{s.stopPropagation(),n(`#${l}`),setTimeout(()=>{J2(e.current)},350)}},l))}),i&&y.jsx(ro,{size:"compact-xs",variant:"light",onClick:l=>{l.stopPropagation(),n(""),Vy(e.current)},rightSection:y.jsx(Xf,{size:14}),children:"Clear"})]})}/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const lKe=[["path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M21 21l-6 -6",key:"svg-1"}]],QT=yt("outline","search","Search",lKe);function Cee(e){return e.match(/^(k|ki|kin|kind|kind:)$/)!=null}const sKe=["#","kind:"],cKe=E.memo(()=>{const e=Su(),r=Ho(),n=E.useRef(null),{ref:o,focused:a}=DPe(),[i,l]=NXe(),s=tW({scrollBehavior:"smooth",loop:!1});xf("keydown",d=>{try{!a&&(d.key==="Backspace"||d.key.startsWith("Arrow")||d.key.match(new RegExp("^\\p{L}$","u")))&&Oy(n.current)}catch(p){console.warn(p)}});let c=[],u=!1;switch(!0){case i.startsWith("#"):{const d=i.toLocaleLowerCase().slice(1),p=r.tags.filter(f=>f.toLocaleLowerCase().includes(d));p.length===0?(u=!1,c=[y.jsx(L0,{children:"No tags found"},"empty-tags")]):(u=r.tags.some(f=>f.toLocaleLowerCase()===d),c=p.map(f=>y.jsxs(z0,{value:`#${f}`,children:[y.jsx(wt,{component:"span",opacity:.5,mr:1,fz:"sm",children:"#"}),f]},f)));break}case i.startsWith("kind:"):case Cee(i):{const d=i.length>5?i.slice(5).toLocaleLowerCase():"";let p=VE(r.specification.elements);d&&(p=p.filter(f=>f.toLocaleLowerCase().includes(d))),p.length===0?(u=!1,c=[y.jsx(L0,{children:"No kinds found"},"empty-kinds")]):(u=p.some(f=>f.toLocaleLowerCase()===d),c=p.map(f=>y.jsxs(z0,{value:`kind:${f}`,children:[y.jsx(wt,{component:"span",opacity:.5,mr:1,fz:"sm",children:"kind:"}),f]},f)));break}}return y.jsxs(Kn,{onOptionSubmit:d=>{l(d),s.resetSelectedOption(),sKe.includes(d)||(s.closeDropdown(),setTimeout(()=>{X2(n.current)},350))},width:"max-content",position:"bottom-start",shadow:"md",offset:{mainAxis:4,crossAxis:50},store:s,withinPortal:!1,children:[y.jsx(c7,{children:y.jsx(Na,{ref:Nr(n,o),placeholder:"Search by title, description or start with # or kind:",autoFocus:!0,"data-autofocus":!0,"data-likec4-search-input":!0,tabIndex:0,classNames:{input:rKe},size:"lg",value:i,leftSection:y.jsx(QT,{style:{width:Ae(20)},stroke:2}),rightSection:y.jsx(Na.ClearButton,{onClick:d=>{d.stopPropagation();const p=e.getSnapshot().context.openedWithSearch;i===""||i===p?e.send({type:"close"}):l("")}}),rightSectionPointerEvents:"auto",onChange:d=>{l(d.currentTarget.value),s.openDropdown(),s.updateSelectedOptionIndex()},onClick:()=>s.openDropdown(),onFocus:()=>s.openDropdown(),onBlur:()=>s.closeDropdown(),onKeyDownCapture:d=>{if(d.key==="Tab"){switch(!0){case s.getSelectedOptionIndex()>=0:return s.clickSelectedOption(),bi(d);case c.length===1:return s.selectFirstOption()&&s.clickSelectedOption(),bi(d);case Cee(i):return l("kind:"),bi(d)}return}if(d.key==="Backspace"&&s.dropdownOpened){if(i==="kind:")return l(""),s.resetSelectedOption(),bi(d);if(i.startsWith("kind:")&&u)return l("kind:"),s.resetSelectedOption(),bi(d);if(i.startsWith("#")&&u)return l("#"),s.resetSelectedOption(),bi(d)}if(d.key==="Escape"&&s.dropdownOpened&&c.length>0){bi(d),s.closeDropdown();return}if(d.key==="ArrowUp"&&s.dropdownOpened&&i===""&&s.getSelectedOptionIndex()===0){s.closeDropdown(),bi(d);return}if(d.key==="ArrowDown"&&(!s.dropdownOpened||c.length===0||u||i===""&&s.getSelectedOptionIndex()===c.length-1)){s.closeDropdown(),bi(d),X2(n.current);return}}})}),y.jsx(Mw,{hidden:c.length===0,style:{minWidth:300},children:y.jsx(Ow,{children:y.jsx(ta,{mah:"min(322px, calc(100cqh - 50px))",type:"scroll",children:c})})})]})}),uKe=ye({backgroundColor:"[rgb(34 34 34 / var(--_opacity, 95%))]",_light:{backgroundColor:"[rgb(250 250 250 / var(--_opacity, 95%))]"},backdropFilter:"auto",backdropBlur:"var(--_blur, 10px)"}),dKe=ye({width:"100%",height:"100%",maxHeight:"100vh",overflow:"hidden",display:"flex",flexDirection:"column",justifyContent:"stretch",gap:"sm",paddingTop:"[20px]",paddingLeft:"md",paddingRight:"md",paddingBottom:"sm",background:"[transparent]"}),pKe=e=>!e.matches("inactive");function hKe({searchActorRef:e}){const r=wn(e,pKe),n=()=>{e.send({type:"open"})},o=it(()=>{e.send({type:"close"})});return RPe([["mod+k",n,{preventDefault:!0}],["mod+f",n,{preventDefault:!0}]]),y.jsx(RXe,{value:e,children:y.jsx(hp.Overlays,{children:y.jsx(B7,{FallbackComponent:j7,onReset:o,children:y.jsx(Pa,{children:r&&y.jsx(My,{fullscreen:!0,withBackdrop:!1,backdrop:{opacity:.9},classes:{dialog:uKe,body:dKe},openDelay:0,onClose:o,"data-likec4-search":"true",children:y.jsx(fKe,{searchActorRef:e})})})})})})}const Tee=ye({height:["100%","100cqh"],"& .mantine-ScrollArea-viewport":{minHeight:"100%","& > div":{minHeight:"100%",height:"100%"}}}),fKe=({searchActorRef:e})=>{const r=E.useRef(null),n=MXe();return W3(()=>{Sa(e.getSnapshot().context.openedWithSearch)&&X2(r.current)},150),y.jsxs(Ur,{ref:r,display:"contents",children:[y.jsx(qr,{className:"group",wrap:"nowrap",onClick:o=>{o.stopPropagation(),Oy(r.current)},children:y.jsxs(Ff,{flex:1,px:"sm",children:[y.jsx(cKe,{}),y.jsx(iKe,{})]})}),y.jsxs(j0,{children:[y.jsx(Zd,{span:6,children:y.jsx(ep,{component:"div",order:6,c:"dimmed",pl:"sm",children:"Elements"})}),y.jsx(Zd,{span:6,children:y.jsx(ep,{component:"div",order:6,c:"dimmed",pl:"sm",children:"Views"})})]}),y.jsxs(j0,{className:ye({containerName:"likec4-search-elements",containerType:"size",overflow:"hidden",flexGrow:1}),children:[y.jsx(Zd,{span:6,children:y.jsx(ol,{type:"scroll",className:Tee,pr:"xs",scrollbars:"y",children:y.jsx(Pa,{children:y.jsx(dm,{id:"likec4-search-elements",children:y.jsx(QXe,{})})})})}),y.jsx(Zd,{span:6,children:y.jsx(ol,{type:"scroll",className:Tee,pr:"xs",scrollbars:"y",children:y.jsx(Pa,{children:y.jsx(dm,{id:"likec4-search-views",children:y.jsx(ZXe,{})})})})})]}),n&&y.jsx(aKe,{elementFqn:n})]})};function mKe({children:e}){const r=E.useContext($7);if(!r)throw new Error("PortalToContainer must be used within RootContainer");return y.jsx(O0,{target:r.ref.current??`#${r.id}`,children:e})}const Ree={onChange:null,onNavigateTo:null,onNodeClick:null,onNodeContextMenu:null,onCanvasContextMenu:null,onEdgeClick:null,onEdgeContextMenu:null,onCanvasClick:null,onCanvasDblClick:null,onBurgerMenuClick:null,onOpenSource:null,onInitialized:null},JT=VE(Ree),Aee=E.createContext({...E0(JT,e=>[e,null]),handlersRef:{current:Ree}});function gKe({handlers:e,children:r}){const n=Xh(e),o=JT.map(i=>_0(e[i])),a=E.useMemo(()=>({...E0(JT,i=>n.current[i]?[i,(...l)=>n.current[i]?.(...l)]:[i,null]),handlersRef:n}),[n,...o]);return y.jsx(Aee.Provider,{value:a,children:r})}function lc(){return E.useContext(Aee)}const yKe=ec({delays:{"open timeout":({context:e})=>e.openTimeout,"close timeout":600,"long idle":1500},actions:{"update edgeId":et(({context:e,event:r})=>(qt(r,["xyedge.select","xyedge.mouseEnter"]),{edgeId:r.edgeId,edgeSelected:e.edgeSelected||r.type==="xyedge.select"})),"increase open timeout":et(()=>({openTimeout:800})),"decrease open timeout":et(()=>({openTimeout:300})),"reset edgeId":et({edgeId:null,edgeSelected:!1})},guards:{"edge was selected":({context:e})=>e.edgeSelected,"edge was hovered":({context:e})=>!e.edgeSelected}}).createMachine({id:"breadcrumbs",context:()=>({edgeId:null,edgeSelected:!1,openTimeout:800}),initial:"idle",on:{close:{target:"#idle",actions:["reset edgeId","increase open timeout"]}},states:{idle:{id:"idle",on:{"xyedge.mouseEnter":{target:"opening",actions:"update edgeId"},"xyedge.select":{target:"active",actions:"update edgeId"}},after:{"long idle":{actions:"increase open timeout"}}},opening:{on:{"xyedge.mouseLeave":{target:"idle"},"xyedge.select":{target:"active",actions:"update edgeId"}},after:{"open timeout":{actions:"decrease open timeout",target:"active"}}},active:{tags:["opened"],initial:"opened",exit:"reset edgeId",on:{"xyedge.unselect":{target:"idle",actions:"increase open timeout"},"xyedge.select":{actions:"update edgeId"}},states:{opened:{on:{"dropdown.mouseEnter":{target:"hovered"},"xyedge.mouseLeave":{guard:"edge was hovered",target:"closing"}}},hovered:{on:{"dropdown.mouseLeave":[{guard:"edge was selected",target:"opened"},{target:"closing"}]}},closing:{on:{"xyedge.mouseEnter":{guard:"edge was hovered",target:"opened",actions:"update edgeId"},"xyedge.select":{target:"opened",actions:"update edgeId"},"dropdown.mouseEnter":{target:"hovered"}},after:{"close timeout":{target:"#idle"}}}}}}}),bKe=yKe,Nee=ye({display:"block",fontSize:"xxs",fontWeight:500,whiteSpace:"nowrap",paddingX:"1",paddingY:"0.5",borderRadius:"[2px]",background:{_light:"var(--likec4-palette-fill)/90",_dark:"var(--likec4-palette-fill)/60"},lineHeight:"1",color:{_light:"var(--likec4-palette-hiContrast)",_dark:"var(--likec4-palette-loContrast)"}}),vKe=ye({whiteSpaceCollapse:"preserve-breaks",fontSize:"sm",lineHeight:"sm",userSelect:"all"});function xKe(e){let r=null;for(const n of e.xyedges)if(n.selected){if(r){r=null;break}r=n.data.id}return{viewId:e.view.id,selected:r}}const wKe=E.memo(()=>{const e=Ho(),r=nS(bKe),n=Wt(),{viewId:o,selected:a}=Da(xKe),i=wn(r,g=>g.hasTag("opened")?g.context.edgeId:null);il("navigateTo",()=>{r.send({type:"close"})}),il("edgeMouseEnter",({edge:g})=>{r.send({type:"xyedge.mouseEnter",edgeId:g.data.id})}),il("edgeMouseLeave",()=>{r.send({type:"xyedge.mouseLeave"})}),il("edgeEditingStarted",()=>{r.send({type:"close"})}),il("walkthroughStarted",()=>{r.send({type:"close"})}),E.useEffect(()=>{a?r.send({type:"xyedge.select",edgeId:a}):r.send({type:"xyedge.unselect"})},[a]);const l=E.useCallback(g=>{if(!i)return;r.send({type:"dropdown.mouseEnter"});const b=n.findEdge(i);b&&!b.data.hovered&&n.send({type:"xyflow.edgeMouseEnter",edge:b,event:g})},[r,n,i]),s=E.useCallback(g=>{if(!i)return;r.send({type:"dropdown.mouseLeave"});const b=n.findEdge(i);b?.data.hovered&&n.send({type:"xyflow.edgeMouseLeave",edge:b,event:g})},[r,n,i]),{diagramEdge:c,sourceNode:u,targetNode:d}=Da(g=>{const b=i?oS(g,i):null,x=b?Qf(g,b.source):null,w=b?Qf(g,b.target):null;return{diagramEdge:b,sourceNode:x,targetNode:w}},Gn,[i]);if(!c||!u||!d||iu(c.relations))return null;const[p,f]=yn(c.relations,Ro(g=>{try{return e.relationship(g)}catch(b){return console.error(`View is cached and likec4model missing relationship ${g} from ${u.id} -> ${d.id}`,b),null}}),df(Sa),lU(g=>g.source.id===u.id&&g.target.id===d.id));return p.length===0&&f.length===0?(console.warn("No relationships found diagram edge",{diagramEdge:c,sourceNode:u,targetNode:d}),null):y.jsx(mKe,{children:y.jsx(_Ke,{viewId:o,direct:p,nested:f,diagramEdge:c,sourceNode:u,targetNode:d,onMouseEnter:l,onMouseLeave:s})})}),kKe=(e,r)=>r?.querySelector(`.likec4-edge-label[data-edge-id="${e}"]`)??null,eR=8,_Ke=({viewId:e,diagramEdge:r,direct:n,nested:o,sourceNode:a,targetNode:i,onMouseEnter:l,onMouseLeave:s})=>{const c=E.useRef(null),{enableNavigateTo:u,enableVscode:d}=wr(),{onOpenSource:p}=lc(),f=wze(),[g,b]=E.useState(null);E.useLayoutEffect(()=>{b(kKe(r.id,f.current))},[r]),E.useEffect(()=>{const k=g,C=c.current;if(!k||!C)return;let _=!1;const T=mw(k,C,()=>{UV(k,C,{placement:"bottom-start",middleware:[jV(4),lOe({crossAxis:!0,padding:eR,allowedPlacements:["bottom-start","top-start","right-start","right-end","left-end"]}),FV({padding:eR,apply({availableHeight:R,availableWidth:A,elements:D}){_||Object.assign(D.floating.style,{maxWidth:`${Ki(yi(A),{min:200,max:400})}px`,maxHeight:`${Ki(yi(R),{min:0,max:500})}px`})}}),HV({padding:eR*2})]}).then(({x:R,y:A,middlewareData:D})=>{_||(C.style.transform=`translate(${yi(R)}px, ${yi(A)}px)`,C.style.visibility=D.hide?.referenceHidden?"hidden":"visible")})},{ancestorResize:!1,animationFrame:!0});return()=>{_=!0,T()}},[g]);const x=Wt(),w=E.useCallback((k,C)=>y.jsxs(E.Fragment,{children:[C>0&&y.jsx(If,{}),y.jsx(EKe,{viewId:e,relationship:k,sourceNode:a,targetNode:i,onNavigateTo:u?_=>{x.navigateTo(_)}:void 0,...p&&d&&{onOpenSource:()=>p({relation:k.id})}})]},k.id),[e,a,i,x,u,p,d]);return y.jsx(ta,{ref:c,onMouseEnter:l,onMouseLeave:s,type:"auto",scrollbars:"y",scrollbarSize:6,styles:{viewport:{overscrollBehavior:"contain",minWidth:180}},className:Je(ye({layerStyle:"likec4.dropdown",p:"0",pointerEvents:{base:"all",_whenPanning:"none"},position:"absolute",top:"0",left:"0",width:"max-content",cursor:"default"})),children:y.jsxs(Ff,{css:{gap:"3",padding:"4",paddingTop:"2"},children:[y.jsx(Zn,{variant:"default",color:"gray",size:"compact-xs",style:{alignSelf:"flex-start",fontWeight:500,"--button-fz":"var(--font-sizes-xxs)"},onClick:k=>{k.stopPropagation(),x.openRelationshipDetails(r.id)},children:"browse relationships"}),n.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(xm,{children:"DIRECT RELATIONSHIPS"}),n.map(w)]}),o.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(xm,{css:{mt:n.length>0?"2":"0"},children:"RESOLVED FROM NESTED"}),o.map(w)]})]})})},EKe=E.forwardRef(({viewId:e,relationship:r,sourceNode:n,targetNode:o,onNavigateTo:a,onOpenSource:i},l)=>{const s=Dee(r,"source",n),c=Dee(r,"target",o),u=a&&r.navigateTo?.id!==e?r.navigateTo?.id:void 0,d=r.links;return y.jsxs(Ff,{ref:l,className:lG({block:"2",inline:"2",paddingY:"2.5",paddingX:"2",gap:"1",rounded:"sm",backgroundColor:{_hover:{base:"mantine.colors.gray[1]",_dark:"mantine.colors.dark[5]/70"}}}),children:[y.jsx(xn,{gap:"0.5",children:y.jsxs(Qd,{openDelay:200,children:[y.jsx(Z2,{label:s.full,offset:2,position:"top-start",children:y.jsx(wt,{component:"div","data-likec4-color":n.color,className:Nee,children:s.short})}),y.jsx(ym,{stroke:2.5,size:"11px",opacity:.65}),y.jsx(Z2,{label:c.full,offset:2,position:"top-start",children:y.jsx(wt,{component:"div","data-likec4-color":o.color,className:Nee,children:c.short})}),u&&y.jsx(Z2,{label:"Open dynamic view",children:y.jsx(or,{size:"sm",radius:"sm",variant:"default",onClick:p=>{p.stopPropagation(),a?.(u)},style:{alignSelf:"flex-end"},role:"button",children:y.jsx(gi,{size:"80%",stroke:2})})}),i&&y.jsx(Z2,{label:"Open source",children:y.jsx(or,{size:"sm",radius:"sm",variant:"default",onClick:p=>{p.stopPropagation(),i()},role:"button",children:y.jsx(fm,{size:"80%",stroke:2})})})]})}),y.jsx(Ur,{className:vKe,children:r.title||"untitled"}),r.kind&&y.jsxs(xn,{gap:"2",children:[y.jsx(xm,{children:"kind"}),y.jsx(wt,{size:"xs",className:ye({userSelect:"all"}),children:r.kind})]}),r.technology&&y.jsxs(xn,{gap:"2",children:[y.jsx(xm,{children:"technology"}),y.jsx(wt,{size:"xs",className:ye({userSelect:"all"}),children:r.technology})]}),r.description.nonEmpty&&y.jsxs(y.Fragment,{children:[y.jsx(xm,{children:"description"}),y.jsx(Ur,{css:{paddingLeft:"2.5",py:"1.5",borderLeft:"2px dotted",borderLeftColor:{base:"mantine.colors.gray[3]",_dark:"mantine.colors.dark[4]"}},children:y.jsx(mp,{value:r.description,fontSize:"sm"})})]}),d.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(xm,{children:"links"}),y.jsx(xn,{gap:"1",flexWrap:"wrap",children:d.map(p=>y.jsx(BC,{size:"sm",value:p},p.url))})]})]})}),xm=Qs("div",{base:{display:"block",fontSize:"xxs",fontWeight:500,userSelect:"none",lineHeight:"sm",color:"mantine.colors.dimmed"}}),Z2=fo.withProps({color:"dark",fz:"xs",label:"",children:null,offset:8,withinPortal:!1});function Dee(e,r,n){const o=e.isDeploymentRelation()?n.id:n.modelRef||"",a=e[r].id,i=g1(o)+a.slice(o.length);return{full:a,short:i}}function wm(){const e=kze();return E.useMemo(()=>e?{portalProps:{target:e},withinPortal:!0}:{withinPortal:!1},[e])}const SKe=ec({delays:{"open timeout":500,"close timeout":350},actions:{"update activatedBy":et({activatedBy:({context:e,event:r})=>{switch(!0){case r.type.includes("click"):return"click";case r.type.includes("mouseEnter"):return"hover";default:return e.activatedBy}}}),"keep dropdown open":et({activatedBy:"click"}),"update selected folder":et(({event:e})=>e.type==="breadcrumbs.click.root"?{selectedFolder:""}:(qt(e,["breadcrumbs.click.folder","select.folder"]),{selectedFolder:e.folderPath})),"reset selected folder":et({selectedFolder:({context:e})=>e.viewModel.folder.path}),"update inputs":et(({context:e,event:r})=>{qt(r,"update.inputs");const n=r.inputs.viewModel.id!==e.viewModel.id;let o=e.selectedFolder;return r.inputs.viewModel.folder.path.startsWith(o)||(o=r.inputs.viewModel.folder.path),{viewModel:r.inputs.viewModel,selectedFolder:o,activatedBy:n?"hover":e.activatedBy}}),"reset search query":et({searchQuery:""}),"update search query":et(({event:e})=>(qt(e,"searchQuery.change"),{searchQuery:e.value??""})),"emit navigateTo":ui(({event:e})=>(qt(e,"select.view"),{type:"navigateTo",viewId:e.viewId}))},guards:{"was opened on hover":({context:e})=>e.activatedBy==="hover","has search query":({context:e})=>!iu(e.searchQuery),"search query is empty":({context:e})=>iu(e.searchQuery)}}).createMachine({id:"breadcrumbs",context:({input:e})=>({...e,breadcrumbs:[],activatedBy:"hover",selectedFolder:"",searchQuery:"",folderColumns:[]}),initial:"idle",entry:["update activatedBy","reset selected folder"],on:{"update.inputs":{actions:"update inputs"},"searchQuery.change":{actions:["update search query",ln({type:"searchQuery.changed"})]}},states:{idle:{id:"idle",on:{"breadcrumbs.mouseEnter.*":{target:"pending",actions:"update activatedBy"},"breadcrumbs.click.*":{target:"active",actions:"update activatedBy"}}},pending:{on:{"breadcrumbs.mouseEnter.*":{actions:"update activatedBy"},"breadcrumbs.mouseLeave.*":{target:"idle"},"breadcrumbs.click.*":{target:"active",actions:"update activatedBy"}},after:{"open timeout":{target:"active"}}},active:{tags:["active"],initial:"decide",on:{"dropdown.dismiss":{target:"#idle"},"breadcrumbs.mouseLeave":{guard:"was opened on hover",target:".closing"},"dropdown.mouseLeave":{guard:"was opened on hover",target:".closing"},"searchQuery.changed":{target:".decide"}},states:{decide:{always:[{guard:"has search query",target:"search"},{target:"opened"}]},opened:{on:{"searchQuery.changed":{guard:"has search query",actions:"keep dropdown open",target:"search"},"breadcrumbs.click.viewtitle":{actions:"reset selected folder"},"breadcrumbs.click.*":{actions:"update selected folder"},"select.folder":{actions:["keep dropdown open","update selected folder"]},"select.view":{actions:["emit navigateTo"]}}},search:{on:{"breadcrumbs.click.viewtitle":{actions:["reset search query","reset selected folder"],target:"opened"},"breadcrumbs.click.*":{actions:["reset search query","update selected folder"],target:"opened"},"select.view":{actions:["emit navigateTo"]}}},closing:{on:{"breadcrumbs.mouseEnter.*":{target:"decide"},"dropdown.mouseEnter":{target:"decide"}},after:{"close timeout":{target:"#idle"}}}}}}}),CKe=SKe,tR=E.createContext(null);tR.displayName="NavigationPanelActorSafeContext";const TKe=tR.Provider,rR=()=>{const e=E.useContext(tR);if(e===null)throw new Error("NavigationPanelActorRef is not found in the context");return e};function Pee(e,r=Gn){const n=rR();return wn(n,e,r)}function RKe(e,r=Gn){return Pee(n=>e(n.context),r)}function Iy(){const e=rR();return E.useMemo(()=>({actorRef:e,send:r=>e.send(r),selectFolder:r=>e.send({type:"select.folder",folderPath:r}),selectView:r=>e.send({type:"select.view",viewId:r}),isOpened:()=>e.getSnapshot().hasTag("active"),clearSearch:()=>e.send({type:"searchQuery.change",value:""}),closeDropdown:()=>e.send({type:"dropdown.dismiss"})}),[e])}const $ee=fo.withProps({color:"dark",fz:"xs",openDelay:600,closeDelay:120,label:"",children:null,offset:8,withinPortal:!1}),Mee=()=>y.jsx(ci,{variant:"transparent",size:16,className:ye({display:{base:"none","@/md":"flex"},color:{base:"mantine.colors.gray[5]",_dark:"mantine.colors.dark[3]"}}),children:y.jsx(pp,{})});Iw.withProps({separator:y.jsx(Mee,{}),separatorMargin:4});const gp=E.forwardRef(({variant:e="default",className:r,disabled:n=!1,...o},a)=>y.jsx(or,{size:"md",variant:"transparent",radius:"sm",component:fl,...!n&&{whileHover:{scale:1.085},whileTap:{scale:1,translateY:1}},disabled:n,...o,className:Je(r,RVe({variant:e})),ref:a})),Q2=J1({base:{fontSize:"sm",fontWeight:"500",transition:"fast",color:{base:"mantine.colors.text/90",_hover:"[var(--mantine-color-bright)]"}},variants:{truncate:{true:{truncate:!0}},dimmed:{true:{color:{base:"mantine.colors.dimmed",_hover:"mantine.colors.text"}}}}}),AKe=E.forwardRef((e,r)=>y.jsxs("svg",{ref:r,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 222 56",...e,children:[y.jsx("path",{fill:"#5E98AF",d:"M33.95 33.78V0H2.37A2.37 2.37 0 0 0 0 2.35V33.9h33.95v-.12ZM38.57 33.78H55.6v-14.6c0-1.3-1.06-2.35-2.36-2.35H38.57v16.95ZM33.95 38.37H17.04v14.6c0 1.29 1.06 2.35 2.36 2.35h14.67V38.37h-.12ZM38.57 38.37v16.95h14.67c1.3 0 2.36-1.06 2.36-2.36v-14.6H38.57Z"}),y.jsx("path",{className:ye({fill:"[#FCFBF7]",_light:{fill:"[#222221]"}}),d:"M71.61 12.08c-.06 3.61.3 29.95.23 31.87 0 1.8 0 3.6.06 5.41 0 .3.18.58.47.58 4.1.18 8.13-.17 12.22-.11 1.34.05 2.69 0 3.97 0 1.29-.06 1.4-.59 1.35-1.63-.06-1.63-.06-3.08-.06-4.65-.06-.82-.53-1.11-1.23-1.11-2.4.06-4.8-.06-7.19.06-.4.06-.82.06-1.23.06-.7-.06-.87-.24-.93-1v-.86c-.18-4.83.17-9.83.17-14.66-.06-4.07 0-7.73-.06-11.34 0-1.57 0-3.14-.05-4.65-.06-.93 0-1.92-.24-2.85-.11-.35-.29-.81-.7-.81h-5.5c-.93 0-1.22.64-1.28 1.57v4.12ZM103.81 35c-.17-6.63-.1-13.67-.05-20.24 0-2.04-.12-4.25-.12-6.28 0-2.21-.87-2.1-2.04-2.15-1.7-.06-2.46-.06-4.15-.06-1.11-.06-1.58.23-1.58 1.34 0 5.7-.18 21.8-.12 24.13.06 2.33.3 12.91.18 15.24-.06.81 0 1.62.06 2.44.05.29.23.58.7.58 1.93-.12 3.74-.12 5.67-.17.7-.06 1.28-.24 1.58-1 .05-.4-.12-11.04-.12-13.83Zm13.92 4.47c0-2.03-.3-7.56-.23-8.72 0-.17.11-.4.17-.4.12 0 .35.11.41.17 1.87 2.44 10.64 19.36 11.7 19.42.28.06.58.06.87.06 1.99-.12 3.74 0 5.73 0 2.04 0 .7-1.98.35-2.5-.53-.76-7.48-13.14-7.9-13.9-1.16-1.98-2.16-4.13-3.32-6.05-.12-.23-.24-.58-.18-.81.12-.7.3-1.34.59-1.98a93.18 93.18 0 0 1 4.55-8.14c1.88-2.97 2.93-4.83 4.45-7.5.35-.64.58-1.34.82-2.1.05-.29-.18-.58-.53-.58-1.11-.05-5.15 0-6.43 0-.59 0-1.17.12-1.46.64-.76 1.46-8.6 15.7-9.35 16.98-.06.12-.24.18-.41.18 0 0-.12-.18-.12-.3-.06-3.25.53-13.9.4-16.04-.05-1.28-.28-1.4-1.57-1.46-1.4-.05-3.33-.05-4.73-.05-1.3 0-1.4.7-1.58 1.62-.06.18-.06 5.64-.06 8.09 0 3.54-.3 25.76.11 32.8 0 .7.18 1.1.77 1.1 1.57-.12 3.91 0 5.49 0 1.11 0 1.29-.12 1.29-1.98 0-2.5.23-4.77.23-7.85 0-.23-.06-.46-.06-.7Zm25.66-1.4h-.06c0 1.46-.05 2.97 0 4.49.06 1.86.18 3.72.3 5.58 0 .64.17.81.76.93 1.22.29 2.4.35 3.62.35 3.16-.12 6.31.11 9.47 0 1.29-.06 1.87.06 3.16-.18 1.17-.23 1.58-.87 1.58-2.61-.12-1.1-.06-1.57-.06-2.91 0-1.92-1.35-2.56-2.52-2.5-.81.06-4.73-.06-6.31-.06-2.63.06-2.22.4-2.22-2.33 0-2.2.06-5.05.06-7.32 0-1.22.11-1.63 1.28-1.63h7.31c1.17.17 1.99-.64 1.99-1.86 0-1.22.12-1.28.12-2.5l-.18-1.75c-.12-.99-.47-1.33-1.46-1.33-.64 0-1.29.05-1.93.11-2.52.18-3.68-.17-6.14 0-.82 0-.93-.11-1-.87-.23-2.27 0-4.77.24-7.04.06-.93.3-1.1 1.17-1.16l8.24-.06c1.11-.11 1.46-.06 1.4-1.16-.11-1.69.06-3.43-.11-5.12-.12-.93-.41-1.1-1.46-1.1-1.76.05-2.17.05-3.92.17-1.75.06-8.77.06-10.46.06-2.46 0-2.63-.18-2.7 2.8-.1 2.32-.05 4.7-.05 7.09 0 4.07-.23 18.66-.12 21.92Zm47.76-24.82c.06-1.92 0-3.5 0-5.35 0-2.15-3.92-1.92-5.32-1.86a18.95 18.95 0 0 0-15.08 9.77c-.82 1.57-1.4 3.2-1.81 4.88a34 34 0 0 0-.59 12.15c.41 3.78 1.4 7.56 3.74 10.59 4.04 5.3 11.46 7.15 17.83 6.16.3-.06.59-.11.82-.29.18-.11.35-.35.35-.58l.18-3.31c.06-1.05 0-1 0-2.04 0-1.4-2.93-.35-4.74-.35-1.75 0-3.62-.06-5.2-.87-2.8-1.57-4.38-4.71-5.26-7.68-1-3.2-1.23-6.63-.64-9.88.7-4.25 2.74-9.13 7.25-10.59 2.57-.87 5.31-.58 7.89-.29.35.06.58-.17.58-.46Zm26.77 15.3c.06-2.5 0-14.84 0-18.38.06-.82 0-1.63-.11-2.45-.06-.99-.24-1.28-1.29-1.33h-4.44c-.82 0-1.35.4-1.82 1.27-1.34 3.2-10.75 24.02-12.15 26.58-.53.99-1 1.63-1 2.68v4.24c0 .76-.06 1.28 1.23 1.28l11.1-.06c1.47 0 1.47.3 1.47 1.1 0 .88-.12 4.9-.12 5.3 0 .58.12 1.16 1.23 1.16h5.08c1.23 0 1.23-.7 1.23-2.03.06-1.17-.06-3.5-.06-4.66 0-.93.18-.98 1.76-.98 1.22 0 1.75-.12 1.75-.88.06-1.57 0-2.67 0-4.42 0-1.04-.93-.98-2.92-.98-.65 0-.7-.18-.7-1.05-.12-1.8-.24-4.6-.24-6.4Zm-7.25-5.94c-.05.7-.11 10.82-.11 12.27-.06.81-.24 1.05-1 1.1-1.93.06-3.85.06-5.78.06-.47 0-.65-.4-.41-.87.23-.4 4.85-11.57 6.13-14.48.18-.17.24-.35.41-.52.18-.12.41-.18.59-.23.06 0 .23.29.23.46 0 .76-.06 1.51-.06 2.21Z"})]})),NKe=E.forwardRef((e,r)=>y.jsx("svg",{ref:r,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 56 56",...e,children:y.jsx("path",{fill:"#5E98AF",d:"M33.95 33.78V0H2.37A2.37 2.37 0 0 0 0 2.35V33.9h33.95v-.12ZM38.57 33.78H55.6v-14.6c0-1.3-1.06-2.35-2.36-2.35H38.57v16.95ZM33.95 38.37H17.04v14.6c0 1.29 1.06 2.35 2.36 2.35h14.67V38.37h-.12ZM38.57 38.37v16.95h14.67c1.3 0 2.36-1.06 2.36-2.36v-14.6H38.57Z"})})),DKe=()=>{const e=Iy(),{onBurgerMenuClick:r}=lc();return y.jsx(Qr,{layout:"position",children:y.jsxs(Pr,{onMouseEnter:()=>{e.send({type:"breadcrumbs.mouseEnter.root"})},onMouseLeave:()=>{e.send({type:"breadcrumbs.mouseLeave.root"})},onClick:n=>{n.stopPropagation(),r&&e.isOpened()&&setTimeout(()=>{r()},100),e.send({type:"breadcrumbs.click.root"})},className:Je("mantine-active",qo({padding:"0.5",width:{base:"[20px]","@/md":"[64px]"}})),children:[y.jsx(AKe,{className:ye({display:{base:"none","@/md":"block"}})}),y.jsx(NKe,{className:ye({display:{base:"block","@/md":"none"}})})]})})};/** + */const jKe=[["path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M21 21l-6 -6",key:"svg-1"}]],oR=xt("outline","search","Search",jKe);function jee(e){return e.match(/^(k|ki|kin|kind|kind:)$/)!=null}const FKe=["#","kind:"],HKe=S.memo(()=>{const e=Ou(),r=qo(),n=S.useRef(null),{ref:o,focused:a}=o$e(),[i,l]=cKe(),s=pW({scrollBehavior:"smooth",loop:!1});Rf("keydown",d=>{try{!a&&(d.key==="Backspace"||d.key.startsWith("Arrow")||d.key.match(new RegExp("^\\p{L}$","u")))&&Vy(n.current)}catch(p){console.warn(p)}});let c=[],u=!1;switch(!0){case i.startsWith("#"):{const d=i.toLocaleLowerCase().slice(1),p=r.tags.filter(f=>f.toLocaleLowerCase().includes(d));p.length===0?(u=!1,c=[y.jsx(W0,{children:"No tags found"},"empty-tags")]):(u=r.tags.some(f=>f.toLocaleLowerCase()===d),c=p.map(f=>y.jsxs(G0,{value:`#${f}`,children:[y.jsx(pt,{component:"span",opacity:.5,mr:1,fz:"sm",children:"#"}),f]},f)));break}case i.startsWith("kind:"):case jee(i):{const d=i.length>5?i.slice(5).toLocaleLowerCase():"";let p=ZE(r.specification.elements);d&&(p=p.filter(f=>f.toLocaleLowerCase().includes(d))),p.length===0?(u=!1,c=[y.jsx(W0,{children:"No kinds found"},"empty-kinds")]):(u=p.some(f=>f.toLocaleLowerCase()===d),c=p.map(f=>y.jsxs(G0,{value:`kind:${f}`,children:[y.jsx(pt,{component:"span",opacity:.5,mr:1,fz:"sm",children:"kind:"}),f]},f)));break}}return y.jsxs(to,{onOptionSubmit:d=>{l(d),s.resetSelectedOption(),FKe.includes(d)||(s.closeDropdown(),setTimeout(()=>{J2(n.current)},350))},width:"max-content",position:"bottom-start",shadow:"md",offset:{mainAxis:4,crossAxis:50},store:s,withinPortal:!1,children:[y.jsx(m7,{children:y.jsx(Pa,{ref:Mr(n,o),placeholder:"Search by title, description or start with # or kind:",autoFocus:!0,"data-autofocus":!0,"data-likec4-search-input":!0,tabIndex:0,classNames:{input:OKe},size:"lg",value:i,leftSection:y.jsx(oR,{style:{width:Ae(20)},stroke:2}),rightSection:y.jsx(Pa.ClearButton,{onClick:d=>{d.stopPropagation();const p=e.getSnapshot().context.openedWithSearch;i===""||i===p?e.send({type:"close"}):l("")}}),rightSectionPointerEvents:"auto",onChange:d=>{l(d.currentTarget.value),s.openDropdown(),s.updateSelectedOptionIndex()},onClick:()=>s.openDropdown(),onFocus:()=>s.openDropdown(),onBlur:()=>s.closeDropdown(),onKeyDownCapture:d=>{if(d.key==="Tab"){switch(!0){case s.getSelectedOptionIndex()>=0:return s.clickSelectedOption(),wi(d);case c.length===1:return s.selectFirstOption()&&s.clickSelectedOption(),wi(d);case jee(i):return l("kind:"),wi(d)}return}if(d.key==="Backspace"&&s.dropdownOpened){if(i==="kind:")return l(""),s.resetSelectedOption(),wi(d);if(i.startsWith("kind:")&&u)return l("kind:"),s.resetSelectedOption(),wi(d);if(i.startsWith("#")&&u)return l("#"),s.resetSelectedOption(),wi(d)}if(d.key==="Escape"&&s.dropdownOpened&&c.length>0){wi(d),s.closeDropdown();return}if(d.key==="ArrowUp"&&s.dropdownOpened&&i===""&&s.getSelectedOptionIndex()===0){s.closeDropdown(),wi(d);return}if(d.key==="ArrowDown"&&(!s.dropdownOpened||c.length===0||u||i===""&&s.getSelectedOptionIndex()===c.length-1)){s.closeDropdown(),wi(d),J2(n.current);return}}})}),y.jsx(Lw,{hidden:c.length===0,style:{minWidth:300},children:y.jsx(Bw,{children:y.jsx(na,{mah:"min(322px, calc(100cqh - 50px))",type:"scroll",children:c})})})]})}),qKe=me({backgroundColor:"[rgb(34 34 34 / var(--_opacity, 95%))]",_light:{backgroundColor:"[rgb(250 250 250 / var(--_opacity, 95%))]"},backdropFilter:"auto",backdropBlur:"var(--_blur, 10px)"}),UKe=me({width:"100%",height:"100%",maxHeight:"100vh",overflow:"hidden",display:"flex",flexDirection:"column",justifyContent:"stretch",gap:"sm",paddingTop:"[20px]",paddingLeft:"md",paddingRight:"md",paddingBottom:"sm",background:"[transparent]"}),VKe=e=>!e.matches("inactive");function YKe({searchActorRef:e}){const r=Cn(e,VKe),n=()=>{e.send({type:"open"})},o=ot(()=>{e.send({type:"close"})});return t$e([["mod+k",n,{preventDefault:!0}],["mod+f",n,{preventDefault:!0}]]),y.jsx(lKe,{value:e,children:y.jsx(Ep.Overlays,{children:y.jsx(V7,{FallbackComponent:Y7,onReset:o,children:y.jsx(Oa,{children:r&&y.jsx(Uy,{fullscreen:!0,withBackdrop:!1,backdrop:{opacity:.9},classes:{dialog:qKe,body:UKe},openDelay:0,onClose:o,"data-likec4-search":"true",children:y.jsx(WKe,{searchActorRef:e})})})})})})}const Fee=me({height:["100%","100cqh"],"& .mantine-ScrollArea-viewport":{minHeight:"100%","& > div":{minHeight:"100%",height:"100%"}}}),WKe=({searchActorRef:e})=>{const r=S.useRef(null),n=hKe();return K3(()=>{Ta(e.getSnapshot().context.openedWithSearch)&&J2(r.current)},150),y.jsxs(Gr,{ref:r,display:"contents",children:[y.jsx(Wr,{className:"group",wrap:"nowrap",onClick:o=>{o.stopPropagation(),Vy(r.current)},children:y.jsxs(Gf,{flex:1,px:"sm",children:[y.jsx(HKe,{}),y.jsx(BKe,{})]})}),y.jsxs(K0,{children:[y.jsx(sp,{span:6,children:y.jsx(dp,{component:"div",order:6,c:"dimmed",pl:"sm",children:"Elements"})}),y.jsx(sp,{span:6,children:y.jsx(dp,{component:"div",order:6,c:"dimmed",pl:"sm",children:"Views"})})]}),y.jsxs(K0,{className:me({containerName:"likec4-search-elements",containerType:"size",overflow:"hidden",flexGrow:1}),children:[y.jsx(sp,{span:6,children:y.jsx(ss,{type:"scroll",className:Fee,pr:"xs",scrollbars:"y",children:y.jsx(Oa,{children:y.jsx(ym,{id:"likec4-search-elements",children:y.jsx(DKe,{})})})})}),y.jsx(sp,{span:6,children:y.jsx(ss,{type:"scroll",className:Fee,pr:"xs",scrollbars:"y",children:y.jsx(Oa,{children:y.jsx(ym,{id:"likec4-search-views",children:y.jsx(NKe,{})})})})})]}),n&&y.jsx(LKe,{elementFqn:n})]})};function GKe({children:e}){const r=S.useContext(B7);if(!r)throw new Error("PortalToContainer must be used within RootContainer");return y.jsx(V0,{target:r.ref.current??`#${r.id}`,children:e})}const Hee={onChange:null,onNavigateTo:null,onNodeClick:null,onNodeContextMenu:null,onCanvasContextMenu:null,onEdgeClick:null,onEdgeContextMenu:null,onCanvasClick:null,onCanvasDblClick:null,onBurgerMenuClick:null,onOpenSource:null,onInitialized:null},aR=ZE(Hee),qee=S.createContext({...M0(aR,e=>[e,null]),handlersRef:{current:Hee}});function XKe({handlers:e,children:r}){const n=nf(e),o=aR.map(i=>$0(e[i])),a=S.useMemo(()=>({...M0(aR,i=>n.current[i]?[i,(...l)=>n.current[i]?.(...l)]:[i,null]),handlersRef:n}),[n,...o]);return y.jsx(qee.Provider,{value:a,children:r})}function dc(){return S.useContext(qee)}const KKe=oc({delays:{"open timeout":({context:e})=>e.openTimeout,"close timeout":600,"long idle":1500},actions:{"update edgeId":Qe(({context:e,event:r})=>(qt(r,["xyedge.select","xyedge.mouseEnter"]),{edgeId:r.edgeId,edgeSelected:e.edgeSelected||r.type==="xyedge.select"})),"increase open timeout":Qe(()=>({openTimeout:800})),"decrease open timeout":Qe(()=>({openTimeout:300})),"reset edgeId":Qe({edgeId:null,edgeSelected:!1})},guards:{"edge was selected":({context:e})=>e.edgeSelected,"edge was hovered":({context:e})=>!e.edgeSelected}}).createMachine({id:"breadcrumbs",context:()=>({edgeId:null,edgeSelected:!1,openTimeout:800}),initial:"idle",on:{close:{target:"#idle",actions:["reset edgeId","increase open timeout"]}},states:{idle:{id:"idle",on:{"xyedge.mouseEnter":{target:"opening",actions:"update edgeId"},"xyedge.select":{target:"active",actions:"update edgeId"}},after:{"long idle":{actions:"increase open timeout"}}},opening:{on:{"xyedge.mouseLeave":{target:"idle"},"xyedge.select":{target:"active",actions:"update edgeId"}},after:{"open timeout":{actions:"decrease open timeout",target:"active"}}},active:{tags:["opened"],initial:"opened",exit:"reset edgeId",on:{"xyedge.unselect":{target:"idle",actions:"increase open timeout"},"xyedge.select":{actions:"update edgeId"}},states:{opened:{on:{"dropdown.mouseEnter":{target:"hovered"},"xyedge.mouseLeave":{guard:"edge was hovered",target:"closing"}}},hovered:{on:{"dropdown.mouseLeave":[{guard:"edge was selected",target:"opened"},{target:"closing"}]}},closing:{on:{"xyedge.mouseEnter":{guard:"edge was hovered",target:"opened",actions:"update edgeId"},"xyedge.select":{target:"opened",actions:"update edgeId"},"dropdown.mouseEnter":{target:"hovered"}},after:{"close timeout":{target:"#idle"}}}}}}}),ZKe=KKe,Uee=me({display:"block",fontSize:"xxs",fontWeight:500,whiteSpace:"nowrap",paddingX:"1",paddingY:"0.5",borderRadius:"[2px]",background:{_light:"var(--likec4-palette-fill)/90",_dark:"var(--likec4-palette-fill)/60"},lineHeight:"1",color:{_light:"var(--likec4-palette-hiContrast)",_dark:"var(--likec4-palette-loContrast)"}}),QKe=me({whiteSpaceCollapse:"preserve-breaks",fontSize:"sm",lineHeight:"sm",userSelect:"all"});function JKe(e){let r=null;for(const n of e.xyedges)if(n.selected){if(r){r=null;break}r=n.data.id}return{viewId:e.view.id,selected:r}}const eZe=S.memo(()=>{const e=qo(),r=cS(ZKe),n=Yt(),{viewId:o,selected:a}=Ma(JKe),i=Cn(r,g=>g.hasTag("opened")?g.context.edgeId:null);sl("navigateTo",()=>{r.send({type:"close"})}),sl("edgeMouseEnter",({edge:g})=>{r.send({type:"xyedge.mouseEnter",edgeId:g.data.id})}),sl("edgeMouseLeave",()=>{r.send({type:"xyedge.mouseLeave"})}),sl("edgeEditingStarted",()=>{r.send({type:"close"})}),sl("walkthroughStarted",()=>{r.send({type:"close"})}),S.useEffect(()=>{a?r.send({type:"xyedge.select",edgeId:a}):r.send({type:"xyedge.unselect"})},[a]);const l=S.useCallback(g=>{if(!i)return;r.send({type:"dropdown.mouseEnter"});const b=n.findEdge(i);b&&!b.data.hovered&&n.send({type:"xyflow.edgeMouseEnter",edge:b,event:g})},[r,n,i]),s=S.useCallback(g=>{if(!i)return;r.send({type:"dropdown.mouseLeave"});const b=n.findEdge(i);b?.data.hovered&&n.send({type:"xyflow.edgeMouseLeave",edge:b,event:g})},[r,n,i]),{diagramEdge:c,sourceNode:u,targetNode:d}=Ma(g=>{const b=i?uS(g,i):null,x=b?om(g,b.source):null,w=b?om(g,b.target):null;return{diagramEdge:b,sourceNode:x,targetNode:w}},Jn,[i]);if(!c||!u||!d||gu(c.relations))return null;const[p,f]=kn(c.relations,No(g=>{try{return e.relationship(g)}catch(b){return console.error(`View is cached and likec4model missing relationship ${g} from ${u.id} -> ${d.id}`,b),null}}),vf(Ta),bU(g=>g.source.id===u.id&&g.target.id===d.id));return p.length===0&&f.length===0?(console.warn("No relationships found diagram edge",{diagramEdge:c,sourceNode:u,targetNode:d}),null):y.jsx(GKe,{children:y.jsx(rZe,{viewId:o,direct:p,nested:f,diagramEdge:c,sourceNode:u,targetNode:d,onMouseEnter:l,onMouseLeave:s})})}),tZe=(e,r)=>r?.querySelector(`.likec4-edge-label[data-edge-id="${e}"]`)??null,iR=8,rZe=({viewId:e,diagramEdge:r,direct:n,nested:o,sourceNode:a,targetNode:i,onMouseEnter:l,onMouseLeave:s})=>{const c=S.useRef(null),{enableNavigateTo:u,enableVscode:d}=Er(),{onOpenSource:p}=dc(),f=GLe(),[g,b]=S.useState(null);S.useLayoutEffect(()=>{b(tZe(r.id,f.current))},[r]),S.useEffect(()=>{const k=g,C=c.current;if(!k||!C)return;let _=!1;const T=vw(k,C,()=>{tY(k,C,{placement:"bottom-start",middleware:[ZV(4),MOe({crossAxis:!0,padding:iR,allowedPlacements:["bottom-start","top-start","right-start","right-end","left-end"]}),QV({padding:iR,apply({availableHeight:R,availableWidth:A,elements:D}){_||Object.assign(D.floating.style,{maxWidth:`${Qi(xi(A),{min:200,max:400})}px`,maxHeight:`${Qi(xi(R),{min:0,max:500})}px`})}}),JV({padding:iR*2})]}).then(({x:R,y:A,middlewareData:D})=>{_||(C.style.transform=`translate(${xi(R)}px, ${xi(A)}px)`,C.style.visibility=D.hide?.referenceHidden?"hidden":"visible")})},{ancestorResize:!1,animationFrame:!0});return()=>{_=!0,T()}},[g]);const x=Yt(),w=S.useCallback((k,C)=>y.jsxs(S.Fragment,{children:[C>0&&y.jsx(qf,{}),y.jsx(nZe,{viewId:e,relationship:k,sourceNode:a,targetNode:i,onNavigateTo:u?_=>{x.navigateTo(_)}:void 0,...p&&d&&{onOpenSource:()=>p({relation:k.id})}})]},k.id),[e,a,i,x,u,p,d]);return y.jsx(na,{ref:c,onMouseEnter:l,onMouseLeave:s,type:"auto",scrollbars:"y",scrollbarSize:6,styles:{viewport:{overscrollBehavior:"contain",minWidth:180}},className:Je(me({layerStyle:"likec4.dropdown",p:"0",pointerEvents:{base:"all",_whenPanning:"none"},position:"absolute",top:"0",left:"0",width:"max-content",cursor:"default"})),children:y.jsxs(Gf,{css:{gap:"3",padding:"4",paddingTop:"2"},children:[y.jsx(ro,{variant:"default",color:"gray",size:"compact-xs",style:{alignSelf:"flex-start",fontWeight:500,"--button-fz":"var(--font-sizes-xxs)"},onClick:k=>{k.stopPropagation(),x.openRelationshipDetails(r.id)},children:"browse relationships"}),n.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Cm,{children:"DIRECT RELATIONSHIPS"}),n.map(w)]}),o.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Cm,{css:{mt:n.length>0?"2":"0"},children:"RESOLVED FROM NESTED"}),o.map(w)]})]})})},nZe=S.forwardRef(({viewId:e,relationship:r,sourceNode:n,targetNode:o,onNavigateTo:a,onOpenSource:i},l)=>{const s=Vee(r,"source",n),c=Vee(r,"target",o),u=a&&r.navigateTo?.id!==e?r.navigateTo?.id:void 0,d=r.links;return y.jsxs(Gf,{ref:l,className:bG({block:"2",inline:"2",paddingY:"2.5",paddingX:"2",gap:"1",rounded:"sm",backgroundColor:{_hover:{base:"mantine.colors.gray[1]",_dark:"mantine.colors.dark[5]/70"}}}),children:[y.jsx(Sn,{gap:"0.5",children:y.jsxs(cp,{openDelay:200,children:[y.jsx(t4,{label:s.full,offset:2,position:"top-start",children:y.jsx(pt,{component:"div","data-likec4-color":n.color,className:Uee,children:s.short})}),y.jsx(_m,{stroke:2.5,size:"11px",opacity:.65}),y.jsx(t4,{label:c.full,offset:2,position:"top-start",children:y.jsx(pt,{component:"div","data-likec4-color":o.color,className:Uee,children:c.short})}),u&&y.jsx(t4,{label:"Open dynamic view",children:y.jsx(ir,{size:"sm",radius:"sm",variant:"default",onClick:p=>{p.stopPropagation(),a?.(u)},style:{alignSelf:"flex-end"},role:"button",children:y.jsx(vi,{size:"80%",stroke:2})})}),i&&y.jsx(t4,{label:"Open source",children:y.jsx(ir,{size:"sm",radius:"sm",variant:"default",onClick:p=>{p.stopPropagation(),i()},role:"button",children:y.jsx(xm,{size:"80%",stroke:2})})})]})}),y.jsx(Gr,{className:QKe,children:r.title||"untitled"}),r.kind&&y.jsxs(Sn,{gap:"2",children:[y.jsx(Cm,{children:"kind"}),y.jsx(pt,{size:"xs",className:me({userSelect:"all"}),children:r.kind})]}),r.technology&&y.jsxs(Sn,{gap:"2",children:[y.jsx(Cm,{children:"technology"}),y.jsx(pt,{size:"xs",className:me({userSelect:"all"}),children:r.technology})]}),r.description.nonEmpty&&y.jsxs(y.Fragment,{children:[y.jsx(Cm,{children:"description"}),y.jsx(Gr,{css:{paddingLeft:"2.5",py:"1.5",borderLeft:"2px dotted",borderLeftColor:{base:"mantine.colors.gray[3]",_dark:"mantine.colors.dark[4]"}},children:y.jsx(Cp,{value:r.description,fontSize:"sm"})})]}),d.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Cm,{children:"links"}),y.jsx(Sn,{gap:"1",flexWrap:"wrap",children:d.map(p=>y.jsx(VC,{size:"sm",value:p},p.url))})]})]})}),Cm=tc("div",{base:{display:"block",fontSize:"xxs",fontWeight:500,userSelect:"none",lineHeight:"sm",color:"mantine.colors.dimmed"}}),t4=no.withProps({color:"dark",fz:"xs",label:"",children:null,offset:8,withinPortal:!1});function Vee(e,r,n){const o=e.isDeploymentRelation()?n.id:n.modelRef||"",a=e[r].id,i=C1(o)+a.slice(o.length);return{full:a,short:i}}function Tm(){const e=XLe();return S.useMemo(()=>e?{portalProps:{target:e},withinPortal:!0}:{withinPortal:!1},[e])}const oZe=oc({delays:{"open timeout":500,"close timeout":350},actions:{"update activatedBy":Qe({activatedBy:({context:e,event:r})=>{switch(!0){case r.type.includes("click"):return"click";case r.type.includes("mouseEnter"):return"hover";default:return e.activatedBy}}}),"keep dropdown open":Qe({activatedBy:"click"}),"update selected folder":Qe(({event:e})=>e.type==="breadcrumbs.click.root"?{selectedFolder:""}:(qt(e,["breadcrumbs.click.folder","select.folder"]),{selectedFolder:e.folderPath})),"reset selected folder":Qe({selectedFolder:({context:e})=>e.viewModel.folder.path}),"update inputs":Qe(({context:e,event:r})=>{qt(r,"update.inputs");const n=r.inputs.viewModel.id!==e.viewModel.id;let o=e.selectedFolder;return r.inputs.viewModel.folder.path.startsWith(o)||(o=r.inputs.viewModel.folder.path),{viewModel:r.inputs.viewModel,selectedFolder:o,activatedBy:n?"hover":e.activatedBy}}),"reset search query":Qe({searchQuery:""}),"update search query":Qe(({event:e})=>(qt(e,"searchQuery.change"),{searchQuery:e.value??""})),"emit navigateTo":$a(({event:e})=>(qt(e,"select.view"),{type:"navigateTo",viewId:e.viewId}))},guards:{"was opened on hover":({context:e})=>e.activatedBy==="hover","has search query":({context:e})=>!gu(e.searchQuery),"search query is empty":({context:e})=>gu(e.searchQuery)}}).createMachine({id:"breadcrumbs",context:({input:e})=>({...e,breadcrumbs:[],activatedBy:"hover",selectedFolder:"",searchQuery:"",folderColumns:[]}),initial:"idle",entry:["update activatedBy","reset selected folder"],on:{"update.inputs":{actions:"update inputs"},"searchQuery.change":{actions:["update search query",Jr({type:"searchQuery.changed"})]}},states:{idle:{id:"idle",on:{"breadcrumbs.mouseEnter.*":{target:"pending",actions:"update activatedBy"},"breadcrumbs.click.*":{target:"active",actions:"update activatedBy"}}},pending:{on:{"breadcrumbs.mouseEnter.*":{actions:"update activatedBy"},"breadcrumbs.mouseLeave.*":{target:"idle"},"breadcrumbs.click.*":{target:"active",actions:"update activatedBy"}},after:{"open timeout":{target:"active"}}},active:{tags:["active"],initial:"decide",on:{"dropdown.dismiss":{target:"#idle"},"breadcrumbs.mouseLeave":{guard:"was opened on hover",target:".closing"},"dropdown.mouseLeave":{guard:"was opened on hover",target:".closing"},"searchQuery.changed":{target:".decide"}},states:{decide:{always:[{guard:"has search query",target:"search"},{target:"opened"}]},opened:{on:{"searchQuery.changed":{guard:"has search query",actions:"keep dropdown open",target:"search"},"breadcrumbs.click.viewtitle":{actions:"reset selected folder"},"breadcrumbs.click.*":{actions:"update selected folder"},"select.folder":{actions:["keep dropdown open","update selected folder"]},"select.view":{actions:["emit navigateTo"]}}},search:{on:{"breadcrumbs.click.viewtitle":{actions:["reset search query","reset selected folder"],target:"opened"},"breadcrumbs.click.*":{actions:["reset search query","update selected folder"],target:"opened"},"select.view":{actions:["emit navigateTo"]}}},closing:{on:{"breadcrumbs.mouseEnter.*":{target:"decide"},"dropdown.mouseEnter":{target:"decide"}},after:{"close timeout":{target:"#idle"}}}}}}}),aZe=oZe,lR=S.createContext(null);lR.displayName="NavigationPanelActorSafeContext";const iZe=lR.Provider,sR=()=>{const e=S.useContext(lR);if(e===null)throw new Error("NavigationPanelActorRef is not found in the context");return e};function Yee(e,r=Jn){const n=sR();return Cn(n,e,r)}function lZe(e,r=Jn){return Yee(n=>e(n.context),r)}function Yy(){const e=sR();return S.useMemo(()=>({actorRef:e,send:r=>e.send(r),selectFolder:r=>e.send({type:"select.folder",folderPath:r}),selectView:r=>e.send({type:"select.view",viewId:r}),isOpened:()=>e.getSnapshot().hasTag("active"),clearSearch:()=>e.send({type:"searchQuery.change",value:""}),closeDropdown:()=>e.send({type:"dropdown.dismiss"})}),[e])}const Wee=no.withProps({color:"dark",fz:"xs",openDelay:600,closeDelay:120,label:"",children:null,offset:8,withinPortal:!1}),Gee=()=>y.jsx(hi,{variant:"transparent",size:16,className:me({display:{base:"none","@/md":"flex"},color:{base:"mantine.colors.gray[5]",_dark:"mantine.colors.dark[3]"}}),children:y.jsx(Mu,{})});jw.withProps({separator:y.jsx(Gee,{}),separatorMargin:4});const Tp=S.forwardRef(({variant:e="default",className:r,disabled:n=!1,...o},a)=>y.jsx(ir,{size:"md",variant:"transparent",radius:"sm",component:gl,...!n&&{whileHover:{scale:1.085},whileTap:{scale:1,translateY:1}},disabled:n,...o,className:Je(r,oYe({variant:e})),ref:a})),r4=c0({base:{fontSize:"sm",fontWeight:"500",transition:"fast",color:{base:"mantine.colors.text/90",_hover:"[var(--mantine-color-bright)]"}},variants:{truncate:{true:{truncate:!0}},dimmed:{true:{color:{base:"mantine.colors.dimmed",_hover:"mantine.colors.text"}}}}}),sZe=S.forwardRef((e,r)=>y.jsxs("svg",{ref:r,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 222 56",...e,children:[y.jsx("path",{fill:"#5E98AF",d:"M33.95 33.78V0H2.37A2.37 2.37 0 0 0 0 2.35V33.9h33.95v-.12ZM38.57 33.78H55.6v-14.6c0-1.3-1.06-2.35-2.36-2.35H38.57v16.95ZM33.95 38.37H17.04v14.6c0 1.29 1.06 2.35 2.36 2.35h14.67V38.37h-.12ZM38.57 38.37v16.95h14.67c1.3 0 2.36-1.06 2.36-2.36v-14.6H38.57Z"}),y.jsx("path",{className:me({fill:"[#FCFBF7]",_light:{fill:"[#222221]"}}),d:"M71.61 12.08c-.06 3.61.3 29.95.23 31.87 0 1.8 0 3.6.06 5.41 0 .3.18.58.47.58 4.1.18 8.13-.17 12.22-.11 1.34.05 2.69 0 3.97 0 1.29-.06 1.4-.59 1.35-1.63-.06-1.63-.06-3.08-.06-4.65-.06-.82-.53-1.11-1.23-1.11-2.4.06-4.8-.06-7.19.06-.4.06-.82.06-1.23.06-.7-.06-.87-.24-.93-1v-.86c-.18-4.83.17-9.83.17-14.66-.06-4.07 0-7.73-.06-11.34 0-1.57 0-3.14-.05-4.65-.06-.93 0-1.92-.24-2.85-.11-.35-.29-.81-.7-.81h-5.5c-.93 0-1.22.64-1.28 1.57v4.12ZM103.81 35c-.17-6.63-.1-13.67-.05-20.24 0-2.04-.12-4.25-.12-6.28 0-2.21-.87-2.1-2.04-2.15-1.7-.06-2.46-.06-4.15-.06-1.11-.06-1.58.23-1.58 1.34 0 5.7-.18 21.8-.12 24.13.06 2.33.3 12.91.18 15.24-.06.81 0 1.62.06 2.44.05.29.23.58.7.58 1.93-.12 3.74-.12 5.67-.17.7-.06 1.28-.24 1.58-1 .05-.4-.12-11.04-.12-13.83Zm13.92 4.47c0-2.03-.3-7.56-.23-8.72 0-.17.11-.4.17-.4.12 0 .35.11.41.17 1.87 2.44 10.64 19.36 11.7 19.42.28.06.58.06.87.06 1.99-.12 3.74 0 5.73 0 2.04 0 .7-1.98.35-2.5-.53-.76-7.48-13.14-7.9-13.9-1.16-1.98-2.16-4.13-3.32-6.05-.12-.23-.24-.58-.18-.81.12-.7.3-1.34.59-1.98a93.18 93.18 0 0 1 4.55-8.14c1.88-2.97 2.93-4.83 4.45-7.5.35-.64.58-1.34.82-2.1.05-.29-.18-.58-.53-.58-1.11-.05-5.15 0-6.43 0-.59 0-1.17.12-1.46.64-.76 1.46-8.6 15.7-9.35 16.98-.06.12-.24.18-.41.18 0 0-.12-.18-.12-.3-.06-3.25.53-13.9.4-16.04-.05-1.28-.28-1.4-1.57-1.46-1.4-.05-3.33-.05-4.73-.05-1.3 0-1.4.7-1.58 1.62-.06.18-.06 5.64-.06 8.09 0 3.54-.3 25.76.11 32.8 0 .7.18 1.1.77 1.1 1.57-.12 3.91 0 5.49 0 1.11 0 1.29-.12 1.29-1.98 0-2.5.23-4.77.23-7.85 0-.23-.06-.46-.06-.7Zm25.66-1.4h-.06c0 1.46-.05 2.97 0 4.49.06 1.86.18 3.72.3 5.58 0 .64.17.81.76.93 1.22.29 2.4.35 3.62.35 3.16-.12 6.31.11 9.47 0 1.29-.06 1.87.06 3.16-.18 1.17-.23 1.58-.87 1.58-2.61-.12-1.1-.06-1.57-.06-2.91 0-1.92-1.35-2.56-2.52-2.5-.81.06-4.73-.06-6.31-.06-2.63.06-2.22.4-2.22-2.33 0-2.2.06-5.05.06-7.32 0-1.22.11-1.63 1.28-1.63h7.31c1.17.17 1.99-.64 1.99-1.86 0-1.22.12-1.28.12-2.5l-.18-1.75c-.12-.99-.47-1.33-1.46-1.33-.64 0-1.29.05-1.93.11-2.52.18-3.68-.17-6.14 0-.82 0-.93-.11-1-.87-.23-2.27 0-4.77.24-7.04.06-.93.3-1.1 1.17-1.16l8.24-.06c1.11-.11 1.46-.06 1.4-1.16-.11-1.69.06-3.43-.11-5.12-.12-.93-.41-1.1-1.46-1.1-1.76.05-2.17.05-3.92.17-1.75.06-8.77.06-10.46.06-2.46 0-2.63-.18-2.7 2.8-.1 2.32-.05 4.7-.05 7.09 0 4.07-.23 18.66-.12 21.92Zm47.76-24.82c.06-1.92 0-3.5 0-5.35 0-2.15-3.92-1.92-5.32-1.86a18.95 18.95 0 0 0-15.08 9.77c-.82 1.57-1.4 3.2-1.81 4.88a34 34 0 0 0-.59 12.15c.41 3.78 1.4 7.56 3.74 10.59 4.04 5.3 11.46 7.15 17.83 6.16.3-.06.59-.11.82-.29.18-.11.35-.35.35-.58l.18-3.31c.06-1.05 0-1 0-2.04 0-1.4-2.93-.35-4.74-.35-1.75 0-3.62-.06-5.2-.87-2.8-1.57-4.38-4.71-5.26-7.68-1-3.2-1.23-6.63-.64-9.88.7-4.25 2.74-9.13 7.25-10.59 2.57-.87 5.31-.58 7.89-.29.35.06.58-.17.58-.46Zm26.77 15.3c.06-2.5 0-14.84 0-18.38.06-.82 0-1.63-.11-2.45-.06-.99-.24-1.28-1.29-1.33h-4.44c-.82 0-1.35.4-1.82 1.27-1.34 3.2-10.75 24.02-12.15 26.58-.53.99-1 1.63-1 2.68v4.24c0 .76-.06 1.28 1.23 1.28l11.1-.06c1.47 0 1.47.3 1.47 1.1 0 .88-.12 4.9-.12 5.3 0 .58.12 1.16 1.23 1.16h5.08c1.23 0 1.23-.7 1.23-2.03.06-1.17-.06-3.5-.06-4.66 0-.93.18-.98 1.76-.98 1.22 0 1.75-.12 1.75-.88.06-1.57 0-2.67 0-4.42 0-1.04-.93-.98-2.92-.98-.65 0-.7-.18-.7-1.05-.12-1.8-.24-4.6-.24-6.4Zm-7.25-5.94c-.05.7-.11 10.82-.11 12.27-.06.81-.24 1.05-1 1.1-1.93.06-3.85.06-5.78.06-.47 0-.65-.4-.41-.87.23-.4 4.85-11.57 6.13-14.48.18-.17.24-.35.41-.52.18-.12.41-.18.59-.23.06 0 .23.29.23.46 0 .76-.06 1.51-.06 2.21Z"})]})),cZe=S.forwardRef((e,r)=>y.jsx("svg",{ref:r,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 56 56",...e,children:y.jsx("path",{fill:"#5E98AF",d:"M33.95 33.78V0H2.37A2.37 2.37 0 0 0 0 2.35V33.9h33.95v-.12ZM38.57 33.78H55.6v-14.6c0-1.3-1.06-2.35-2.36-2.35H38.57v16.95ZM33.95 38.37H17.04v14.6c0 1.29 1.06 2.35 2.36 2.35h14.67V38.37h-.12ZM38.57 38.37v16.95h14.67c1.3 0 2.36-1.06 2.36-2.36v-14.6H38.57Z"})})),uZe=()=>{const e=Yy(),{onBurgerMenuClick:r}=dc();return y.jsx(nn,{layout:"position",children:y.jsxs(Ar,{onMouseEnter:()=>{e.send({type:"breadcrumbs.mouseEnter.root"})},onMouseLeave:()=>{e.send({type:"breadcrumbs.mouseLeave.root"})},onClick:n=>{n.stopPropagation(),r&&e.isOpened()&&setTimeout(()=>{r()},100),e.send({type:"breadcrumbs.click.root"})},className:Je("mantine-active",Uo({padding:"0.5",width:{base:"[20px]","@/md":"[64px]"}})),children:[y.jsx(sZe,{className:me({display:{base:"none","@/md":"block"}})}),y.jsx(cZe,{className:me({display:{base:"block","@/md":"none"}})})]})})};/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const PKe=[["path",{d:"M5 12l14 0",key:"svg-0"}],["path",{d:"M5 12l6 6",key:"svg-1"}],["path",{d:"M5 12l6 -6",key:"svg-2"}]],$Ke=yt("outline","arrow-left","ArrowLeft",PKe),MKe=()=>{const e=Wt(),{hasStepBack:r,hasStepForward:n}=Da(o=>({hasStepBack:o.navigationHistory.currentIndex>0,hasStepForward:o.navigationHistory.currentIndex{o.stopPropagation(),e.navigate("back")},children:y.jsx($Ke,{size:14})}),y.jsx(gp,{disabled:!n,onClick:o=>{o.stopPropagation(),e.navigate("forward")},children:y.jsx(ym,{size:14})})]})};/** + */const dZe=[["path",{d:"M5 12l14 0",key:"svg-0"}],["path",{d:"M5 12l6 6",key:"svg-1"}],["path",{d:"M5 12l6 -6",key:"svg-2"}]],pZe=xt("outline","arrow-left","ArrowLeft",dZe),hZe=()=>{const e=Yt(),{hasStepBack:r,hasStepForward:n}=Ma(o=>({hasStepBack:o.navigationHistory.currentIndex>0,hasStepForward:o.navigationHistory.currentIndex{o.stopPropagation(),e.navigate("back")},children:y.jsx(pZe,{size:14})}),y.jsx(Tp,{disabled:!n,onClick:o=>{o.stopPropagation(),e.navigate("forward")},children:y.jsx(_m,{size:14})})]})};/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const OKe=[["path",{d:"M9 15l6 -6",key:"svg-0"}],["path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464",key:"svg-1"}],["path",{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463",key:"svg-2"}]],IKe=yt("outline","link","Link",OKe),LKe=({context:e})=>{const r=e.viewModel;return{id:r.id,title:r.titleOrUntitled,description:r.description,tags:r.tags,links:r.links}},zKe=e=>{const[r,n]=E.useState(!1),o=Pee(LKe),a=wm();return y.jsxs(mr,{position:"bottom-end",shadow:"xl",clickOutsideEvents:["pointerdown","mousedown","click"],offset:{mainAxis:4},opened:r,onChange:n,...a,...e,children:[y.jsx(BKe,{linksCount:o.links.length,onOpen:()=>n(!0)}),r&&y.jsx(jKe,{data:o,onClose:()=>n(!1)})]})},BKe=({linksCount:e,onOpen:r})=>y.jsx(mr.Target,{children:y.jsxs(Pr,{component:fl,layout:"position",whileTap:{scale:.95,translateY:1},onClick:n=>{n.stopPropagation(),r()},className:Je("group",qo({gap:"2",paddingInline:"2",paddingBlock:"1",rounded:"sm",userSelect:"none",cursor:"pointer",color:{base:"likec4.panel.action-icon.text",_hover:"likec4.panel.action-icon.text.hover"},backgroundColor:{_hover:"likec4.panel.action-icon.bg.hover"},display:{base:"none","@/xs":"flex"}}),""),children:[y.jsx(jT,{size:16,stroke:1.8}),e>0&&y.jsxs(xn,{gap:"[1px]",children:[y.jsx(IKe,{size:14,stroke:2}),y.jsx(Ur,{css:{fontSize:"11px",fontWeight:600,lineHeight:1,opacity:.8},children:e})]})]})}),Oee=Qs("div",{base:{fontSize:"xs",color:"mantine.colors.dimmed",fontWeight:500,userSelect:"none",mb:"xxs"}}),jKe=({data:{id:e,title:r,description:n,tags:o,links:a},onClose:i})=>{const l=Wt();return il("paneClick",i),il("nodeClick",i),y.jsxs(mr.Dropdown,{className:Je("nowheel nopan nodrag",G0({margin:"xs",layerStyle:"likec4.dropdown",gap:"md",padding:"md",paddingBottom:"lg",pointerEvents:"all",maxWidth:"calc(100cqw - 52px)",minWidth:"200px",maxHeight:"calc(100cqh - 100px)",width:"max-content",cursor:"default",overflow:"auto",overscrollBehavior:"contain","@/sm":{minWidth:400,maxWidth:550},"@/lg":{maxWidth:700}})),children:[y.jsxs("section",{children:[y.jsx(wt,{component:"div",fw:500,size:"xl",lh:"sm",children:r}),y.jsxs(xn,{alignItems:"flex-start",mt:"1",children:[y.jsx(FKe,{label:"id",value:e}),y.jsx(xn,{gap:"xs",flexWrap:"wrap",children:o.map(s=>y.jsx(C2,{tag:s,cursor:"pointer",onClick:c=>{c.stopPropagation(),l.openSearch(`#${s}`)}},s))})]})]}),a.length>0&&y.jsxs("section",{className:qo({alignItems:"baseline"}),children:[y.jsx(Oee,{children:"Links"}),y.jsx(xn,{gap:"xs",flexWrap:"wrap",children:a.map((s,c)=>y.jsx(BC,{value:s},`${c}-${s.url}`))})]}),n.isEmpty&&y.jsx(wt,{component:"div",fw:500,size:"xs",c:"dimmed",style:{userSelect:"none"},children:"No description"}),n.nonEmpty&&y.jsxs("section",{children:[y.jsx(Oee,{children:"Description"}),y.jsx(mp,{value:n,fontSize:"sm",emptyText:"No description",className:ye({userSelect:"all"})})]})]})},FKe=({label:e,value:r})=>y.jsxs(xn,{gap:"0.5",children:[y.jsx(HKe,{children:e}),y.jsx(Xs,{size:"sm",radius:"sm",variant:"light",color:"gray",tt:"none",fw:500,classNames:{root:ye({width:"max-content",overflow:"visible",px:"1",color:{_dark:"mantine.colors.gray[4]",_light:"mantine.colors.gray[8]"}}),label:ye({overflow:"visible"}),section:ye({opacity:.5,userSelect:"none",marginInlineEnd:"0.5"})},children:r})]}),HKe=Qs("div",{base:{color:"mantine.colors.dimmed",fontWeight:500,fontSize:"xxs",userSelect:"none"}}),qKe=()=>{const e=F2(),{enableVscode:r}=wr(),{onOpenSource:n}=lc();return r?y.jsx($ee,{label:"Open View Source",children:y.jsx(gp,{onClick:o=>{o.stopPropagation(),n?.({view:e})},children:y.jsx(fm,{style:{width:"60%",height:"60%"}})})}):null};/** + */const fZe=[["path",{d:"M9 15l6 -6",key:"svg-0"}],["path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464",key:"svg-1"}],["path",{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463",key:"svg-2"}]],mZe=xt("outline","link","Link",fZe),gZe=({context:e})=>{const r=e.viewModel;return{id:r.id,title:r.titleOrUntitled,description:r.description,tags:r.tags,links:r.links}},yZe=e=>{const[r,n]=S.useState(!1),o=Yee(gZe),a=Tm();return y.jsxs(br,{position:"bottom-end",shadow:"xl",clickOutsideEvents:["pointerdown","mousedown","click"],offset:{mainAxis:4},opened:r,onChange:n,...a,...e,children:[y.jsx(bZe,{linksCount:o.links.length,onOpen:()=>n(!0)}),r&&y.jsx(vZe,{data:o,onClose:()=>n(!1)})]})},bZe=({linksCount:e,onOpen:r})=>y.jsx(br.Target,{children:y.jsxs(Ar,{component:gl,layout:"position",whileTap:{scale:.95,translateY:1},onClick:n=>{n.stopPropagation(),r()},className:Je("group",Uo({gap:"2",paddingInline:"2",paddingBlock:"1",rounded:"sm",userSelect:"none",cursor:"pointer",color:{base:"likec4.panel.action-icon.text",_hover:"likec4.panel.action-icon.text.hover"},backgroundColor:{_hover:"likec4.panel.action-icon.bg.hover"},display:{base:"none","@/xs":"flex"}}),""),children:[y.jsx(YT,{size:16,stroke:1.8}),e>0&&y.jsxs(Sn,{gap:"[1px]",children:[y.jsx(mZe,{size:14,stroke:2}),y.jsx(Gr,{css:{fontSize:"11px",fontWeight:600,lineHeight:1,opacity:.8},children:e})]})]})}),Xee=tc("div",{base:{fontSize:"xs",color:"mantine.colors.dimmed",fontWeight:500,userSelect:"none",mb:"xxs"}}),vZe=({data:{id:e,title:r,description:n,tags:o,links:a},onClose:i})=>{const l=Yt();return sl("paneClick",i),sl("nodeClick",i),y.jsxs(br.Dropdown,{className:Je("nowheel nopan nodrag",oy({margin:"xs",layerStyle:"likec4.dropdown",gap:"md",padding:"md",paddingBottom:"lg",pointerEvents:"all",maxWidth:"calc(100cqw - 52px)",minWidth:"200px",maxHeight:"calc(100cqh - 100px)",width:"max-content",cursor:"default",overflow:"auto",overscrollBehavior:"contain","@/sm":{minWidth:400,maxWidth:550},"@/lg":{maxWidth:700}})),children:[y.jsxs("section",{children:[y.jsx(pt,{component:"div",fw:500,size:"xl",lh:"sm",children:r}),y.jsxs(Sn,{alignItems:"flex-start",mt:"1",children:[y.jsx(xZe,{label:"id",value:e}),y.jsx(Sn,{gap:"xs",flexWrap:"wrap",children:o.map(s=>y.jsx(N2,{tag:s,cursor:"pointer",onClick:c=>{c.stopPropagation(),l.openSearch(`#${s}`)}},s))})]})]}),a.length>0&&y.jsxs("section",{className:Uo({alignItems:"baseline"}),children:[y.jsx(Xee,{children:"Links"}),y.jsx(Sn,{gap:"xs",flexWrap:"wrap",children:a.map((s,c)=>y.jsx(VC,{value:s},`${c}-${s.url}`))})]}),n.isEmpty&&y.jsx(pt,{component:"div",fw:500,size:"xs",c:"dimmed",style:{userSelect:"none"},children:"No description"}),n.nonEmpty&&y.jsxs("section",{children:[y.jsx(Xee,{children:"Description"}),y.jsx(Cp,{value:n,fontSize:"sm",emptyText:"No description",className:me({userSelect:"all"})})]})]})},xZe=({label:e,value:r})=>y.jsxs(Sn,{gap:"0.5",children:[y.jsx(wZe,{children:e}),y.jsx(Qs,{size:"sm",radius:"sm",variant:"light",color:"gray",tt:"none",fw:500,classNames:{root:me({width:"max-content",overflow:"visible",px:"1",color:{_dark:"mantine.colors.gray[4]",_light:"mantine.colors.gray[8]"}}),label:me({overflow:"visible"}),section:me({opacity:.5,userSelect:"none",marginInlineEnd:"0.5"})},children:r})]}),wZe=tc("div",{base:{color:"mantine.colors.dimmed",fontWeight:500,fontSize:"xxs",userSelect:"none"}}),kZe=()=>{const e=V2(),{enableVscode:r}=Er(),{onOpenSource:n}=dc();return r?y.jsx(Wee,{label:"Open View Source",children:y.jsx(Tp,{onClick:o=>{o.stopPropagation(),n?.({view:e})},children:y.jsx(xm,{style:{width:"60%",height:"60%"}})})}):null};/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const UKe=[["path",{d:"M5 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-6z",key:"svg-0"}],["path",{d:"M11 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0",key:"svg-1"}],["path",{d:"M8 11v-4a4 4 0 1 1 8 0v4",key:"svg-2"}]],VKe=yt("outline","lock","Lock",UKe);/** + */const _Ze=[["path",{d:"M5 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-6z",key:"svg-0"}],["path",{d:"M11 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0",key:"svg-1"}],["path",{d:"M8 11v-4a4 4 0 1 1 8 0v4",key:"svg-2"}]],EZe=xt("outline","lock","Lock",_Ze);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const YKe=[["path",{d:"M3 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z",key:"svg-0"}],["path",{d:"M9 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0",key:"svg-1"}],["path",{d:"M13 11v-4a4 4 0 1 1 8 0v4",key:"svg-2"}]],WKe=yt("outline","lock-open-2","LockOpen2",YKe),GKe=e=>({visible:e.features.enableReadOnly!==!0,isReadOnly:e.toggledFeatures.enableReadOnly??e.features.enableReadOnly}),XKe=()=>{const{visible:e,isReadOnly:r}=Da(GKe),n=Wt();return e?y.jsxs(Pr,{component:fl,layout:"position",onClick:o=>{o.stopPropagation(),n.toggleFeature("ReadOnly")},whileTap:{translateY:1},className:Je("group",qo({gap:"0.5",paddingInline:"xxs",paddingBlock:"xxs",rounded:"sm",userSelect:"none",cursor:"pointer",color:{base:"likec4.panel.action-icon.text",_hover:"likec4.panel.action-icon.text.hover"},backgroundColor:{_hover:"likec4.panel.action-icon.bg.hover"}})),children:[r?y.jsx(VKe,{size:14,stroke:2}):y.jsx(WKe,{size:14,stroke:2}),r&&y.jsx(Qr,{className:ye({fontSize:"11px",fontWeight:600,lineHeight:1,opacity:.8}),children:"Unlock"})]}):null};/** + */const SZe=[["path",{d:"M3 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z",key:"svg-0"}],["path",{d:"M9 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0",key:"svg-1"}],["path",{d:"M13 11v-4a4 4 0 1 1 8 0v4",key:"svg-2"}]],CZe=xt("outline","lock-open-2","LockOpen2",SZe),TZe=e=>({visible:e.features.enableReadOnly!==!0,isReadOnly:e.toggledFeatures.enableReadOnly??e.features.enableReadOnly}),RZe=()=>{const{visible:e,isReadOnly:r}=Ma(TZe),n=Yt();return e?y.jsxs(Ar,{component:gl,layout:"position",onClick:o=>{o.stopPropagation(),n.toggleFeature("ReadOnly")},whileTap:{translateY:1},className:Je("group",Uo({gap:"0.5",paddingInline:"xxs",paddingBlock:"xxs",rounded:"sm",userSelect:"none",cursor:"pointer",color:{base:"likec4.panel.action-icon.text",_hover:"likec4.panel.action-icon.text.hover"},backgroundColor:{_hover:"likec4.panel.action-icon.bg.hover"}})),children:[r?y.jsx(EZe,{size:14,stroke:2}):y.jsx(CZe,{size:14,stroke:2}),r&&y.jsx(nn,{className:me({fontSize:"11px",fontWeight:600,lineHeight:1,opacity:.8}),children:"Unlock"})]}):null};/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const KKe=[["path",{d:"M6 4v16a1 1 0 0 0 1.524 .852l13 -8a1 1 0 0 0 0 -1.704l-13 -8a1 1 0 0 0 -1.524 .852z",key:"svg-0"}]],ZKe=yt("filled","player-play-filled","PlayerPlayFilled",KKe),Iee=E.forwardRef((e,r)=>y.jsx(Zn,{variant:"filled",size:"xs",fw:"500",...e,ref:r,component:fl,layoutId:"trigger-dynamic-walkthrough",className:ye({flexShrink:0})}));function QKe(){const e=Wt(),r=Iy();return y.jsx($ee,{label:"Start Dynamic View Walkthrough",children:y.jsx(Iee,{onClick:n=>{n.stopPropagation(),r.closeDropdown(),e.startWalkthrough()},size:"compact-xs",h:26,classNames:{label:ye({display:{base:"none","@/md":"[inherit]"}}),section:ye({marginInlineStart:{base:"0","@/md":"2"}})},rightSection:y.jsx(ZKe,{size:10}),children:"Start"})})}function JKe({value:e,onChange:r}){return y.jsx(Qr,{layout:"position",children:y.jsx(q0,{size:"xs",value:e,component:Qr,onChange:n=>{nt(n==="diagram"||n==="sequence","Invalid dynamic view variant"),r(n)},classNames:{label:ye({fontSize:"xxs"})},data:[{value:"diagram",label:"Diagram"},{value:"sequence",label:"Sequence"}]})})}function eZe(){const e=Da(n=>n.dynamicViewVariant),r=Wt();return y.jsxs(y.Fragment,{children:[y.jsx(JKe,{value:e,onChange:n=>{r.switchDynamicViewVariant(n)}},"dynamic-view-mode-switcher"),y.jsx(QKe,{},"trigger-dynamic-walkthrough")]})}function tZe(){const e=Wt(),r=of();return y.jsxs(Pr,{component:fl,layout:"position",onClick:n=>{n.stopPropagation(),e.openSearch()},whileTap:{scale:.95,translateY:1},className:Je("group",qo({gap:"xxs",paddingInline:"sm",paddingBlock:"xxs",rounded:"sm",userSelect:"none",cursor:"pointer",color:{base:"likec4.panel.action-icon.text",_hover:"likec4.panel.action-icon.text.hover"},backgroundColor:{base:"likec4.panel.action-icon.bg",_hover:"likec4.panel.action-icon.bg.hover"},display:{base:"none","@/md":"flex"}})),children:[y.jsx(QT,{size:14,stroke:2.5}),y.jsx(Ur,{css:{fontSize:"11px",fontWeight:600,lineHeight:1,opacity:.8,whiteSpace:"nowrap"},children:r?"⌘ + K":"Ctrl + K"})]})}const rZe=({context:e})=>{const r=e.viewModel.folder;return{folders:r.isRoot?[]:r.breadcrumbs.map(n=>({folderPath:n.path,title:n.title})),viewId:e.viewModel.id,viewTitle:e.viewModel.titleOrUntitled,isDynamicView:e.viewModel.isDynamicView()}},nZe=()=>{const e=Iy(),{enableSearch:r,enableNavigationButtons:n,enableDynamicViewWalkthrough:o}=wr(),{folders:a,viewTitle:i,isDynamicView:l}=wn(e.actorRef,rZe,ut),s=a.flatMap(({folderPath:u,title:d},p)=>[y.jsx(Pr,{component:fl,className:Je(Q2({dimmed:!0,truncate:!0}),"mantine-active",ye({userSelect:"none",maxWidth:"200px",display:{base:"none","@/md":"block"}})),title:d,onMouseEnter:()=>e.send({type:"breadcrumbs.mouseEnter.folder",folderPath:u}),onMouseLeave:()=>e.send({type:"breadcrumbs.mouseLeave.folder",folderPath:u}),onClick:f=>{f.stopPropagation(),e.send({type:"breadcrumbs.click.folder",folderPath:u})},children:d},u),y.jsx(Mee,{},`separator-${p}`)]),c=y.jsx(Pr,{component:fl,className:Je("mantine-active",Q2({truncate:!0}),ye({userSelect:"none"})),title:i,onMouseEnter:()=>e.send({type:"breadcrumbs.mouseEnter.viewtitle"}),onMouseLeave:()=>e.send({type:"breadcrumbs.mouseLeave.viewtitle"}),onClick:u=>{u.stopPropagation(),e.send({type:"breadcrumbs.click.viewtitle"})},children:i},"view-title");return y.jsxs(Pa,{propagate:!0,children:[y.jsx(DKe,{},"burger-button"),n&&y.jsx(MKe,{},"nav-buttons"),y.jsxs(Qr,{layout:"position",className:qo({gap:"1",flexShrink:1,flexGrow:1,overflow:"hidden"}),children:[s,c]},"breadcrumbs"),y.jsxs(Qr,{layout:"position",className:qo({gap:"0.5",flexGrow:0,_empty:{display:"none"}}),children:[y.jsx(zKe,{onOpen:()=>e.closeDropdown()}),y.jsx(qKe,{}),y.jsx(XKe,{})]},"actions"),o&&l&&y.jsx(eZe,{},"dynamic-view-controls"),r&&y.jsx(tZe,{},"search-control")]})},nR=E.forwardRef(({className:e,truncateLabel:r=!0,...n},o)=>y.jsx(S7,{...n,component:"button",classNames:FVe({truncateLabel:r}),className:Je("group","mantine-active",e),ref:o}));nR.displayName="NavigationLink";const oZe=E.createContext(null),aZe=[],iZe=()=>{},lZe={projects:aZe,onProjectChange:iZe};function sZe(){return E.useContext(oZe)??lZe}function cZe(){const e=E.useContext(W0);if(!e)throw new Error("No LikeC4ModelContext found");return e.projectId}/** + */const AZe=[["path",{d:"M6 4v16a1 1 0 0 0 1.524 .852l13 -8a1 1 0 0 0 0 -1.704l-13 -8a1 1 0 0 0 -1.524 .852z",key:"svg-0"}]],NZe=xt("filled","player-play-filled","PlayerPlayFilled",AZe),Kee=S.forwardRef((e,r)=>y.jsx(ro,{variant:"filled",size:"xs",fw:"500",...e,ref:r,component:gl,layoutId:"trigger-dynamic-walkthrough",className:me({flexShrink:0})}));function DZe(){const e=Yt(),r=Yy();return y.jsx(Wee,{label:"Start Dynamic View Walkthrough",children:y.jsx(Kee,{onClick:n=>{n.stopPropagation(),r.closeDropdown(),e.startWalkthrough()},size:"compact-xs",h:26,classNames:{label:me({display:{base:"none","@/md":"[inherit]"}}),section:me({marginInlineStart:{base:"0","@/md":"2"}})},rightSection:y.jsx(NZe,{size:10}),children:"Start"})})}function PZe({value:e,onChange:r}){return y.jsx(nn,{layout:"position",children:y.jsx(J0,{size:"xs",value:e,component:nn,onChange:n=>{nt(n==="diagram"||n==="sequence","Invalid dynamic view variant"),r(n)},classNames:{label:me({fontSize:"xxs"})},data:[{value:"diagram",label:"Diagram"},{value:"sequence",label:"Sequence"}]})})}function $Ze(){const e=Ma(n=>n.dynamicViewVariant),r=Yt();return y.jsxs(y.Fragment,{children:[y.jsx(PZe,{value:e,onChange:n=>{r.switchDynamicViewVariant(n)}},"dynamic-view-mode-switcher"),y.jsx(DZe,{},"trigger-dynamic-walkthrough")]})}function MZe(){const e=Yt(),r=hf();return y.jsxs(Ar,{component:gl,layout:"position",onClick:n=>{n.stopPropagation(),e.openSearch()},whileTap:{scale:.95,translateY:1},className:Je("group",Uo({gap:"xxs",paddingInline:"sm",paddingBlock:"xxs",rounded:"sm",userSelect:"none",cursor:"pointer",color:{base:"likec4.panel.action-icon.text",_hover:"likec4.panel.action-icon.text.hover"},backgroundColor:{base:"likec4.panel.action-icon.bg",_hover:"likec4.panel.action-icon.bg.hover"},display:{base:"none","@/md":"flex"}})),children:[y.jsx(oR,{size:14,stroke:2.5}),y.jsx(Gr,{css:{fontSize:"11px",fontWeight:600,lineHeight:1,opacity:.8,whiteSpace:"nowrap"},children:r?"⌘ + K":"Ctrl + K"})]})}const OZe=({context:e})=>{const r=e.viewModel.folder;return{folders:r.isRoot?[]:r.breadcrumbs.map(n=>({folderPath:n.path,title:n.title})),viewId:e.viewModel.id,viewTitle:e.viewModel.titleOrUntitled,isDynamicView:e.viewModel.isDynamicView()}},IZe=()=>{const e=Yy(),{enableSearch:r,enableNavigationButtons:n,enableDynamicViewWalkthrough:o}=Er(),{folders:a,viewTitle:i,isDynamicView:l}=Cn(e.actorRef,OZe,ut),s=a.flatMap(({folderPath:u,title:d},p)=>[y.jsx(Ar,{component:gl,className:Je(r4({dimmed:!0,truncate:!0}),"mantine-active",me({userSelect:"none",maxWidth:"200px",display:{base:"none","@/md":"block"}})),title:d,onMouseEnter:()=>e.send({type:"breadcrumbs.mouseEnter.folder",folderPath:u}),onMouseLeave:()=>e.send({type:"breadcrumbs.mouseLeave.folder",folderPath:u}),onClick:f=>{f.stopPropagation(),e.send({type:"breadcrumbs.click.folder",folderPath:u})},children:d},u),y.jsx(Gee,{},`separator-${p}`)]),c=y.jsx(Ar,{component:gl,className:Je("mantine-active",r4({truncate:!0}),me({userSelect:"none"})),title:i,onMouseEnter:()=>e.send({type:"breadcrumbs.mouseEnter.viewtitle"}),onMouseLeave:()=>e.send({type:"breadcrumbs.mouseLeave.viewtitle"}),onClick:u=>{u.stopPropagation(),e.send({type:"breadcrumbs.click.viewtitle"})},children:i},"view-title");return y.jsxs(Oa,{propagate:!0,children:[y.jsx(uZe,{},"burger-button"),n&&y.jsx(hZe,{},"nav-buttons"),y.jsxs(nn,{layout:"position",className:Uo({gap:"1",flexShrink:1,flexGrow:1,overflow:"hidden"}),children:[s,c]},"breadcrumbs"),y.jsxs(nn,{layout:"position",className:Uo({gap:"0.5",flexGrow:0,_empty:{display:"none"}}),children:[y.jsx(yZe,{onOpen:()=>e.closeDropdown()}),y.jsx(kZe,{}),y.jsx(RZe,{})]},"actions"),o&&l&&y.jsx($Ze,{},"dynamic-view-controls"),r&&y.jsx(MZe,{},"search-control")]})},cR=S.forwardRef(({className:e,truncateLabel:r=!0,...n},o)=>y.jsx(D7,{...n,component:"button",classNames:yYe({truncateLabel:r}),className:Je("group","mantine-active",e),ref:o}));cR.displayName="NavigationLink";const zZe=S.createContext(null),LZe=[],BZe=()=>{},jZe={projects:LZe,onProjectChange:BZe};function FZe(){return S.useContext(zZe)??jZe}function HZe(){const e=S.useContext(ny);if(!e)throw new Error("No LikeC4ModelContext found");return e.projectId}function qZe(e){const{projects:r,onProjectChange:n}=FZe(),o=HZe();return r.length<=1?null:y.jsxs(Sn,{gap:"0.5",alignItems:"baseline",children:[y.jsx(Gr,{css:{fontWeight:"400",fontSize:"xxs",color:"mantine.colors.dimmed",userSelect:"none"},children:"Project"}),y.jsxs(go,{withinPortal:!1,shadow:"md",position:"bottom-start",offset:{mainAxis:2},children:[y.jsx(Vw,{children:y.jsx(ro,{tabIndex:-1,autoFocus:!1,variant:"subtle",size:"compact-xs",color:"gray",classNames:{root:me({fontWeight:"400",fontSize:"xxs",height:"auto",lineHeight:1.1,color:{_light:"mantine.colors.gray[9]"}}),section:me({'&:is([data-position="right"])':{marginInlineStart:"1"}})},rightSection:y.jsx(FQ,{opacity:.5,size:12,stroke:1.5}),...e,children:o})}),y.jsx(Z0,{children:r.map(({id:a,title:i})=>y.jsx(Q0,{onClick:l=>{if(o===a){l.stopPropagation();return}n(a)},children:i??a},a))})]})]})}/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const uZe=[["path",{d:"M6 9l6 6l6 -6",key:"svg-0"}]],dZe=yt("outline","chevron-down","ChevronDown",uZe);function pZe(e){const{projects:r,onProjectChange:n}=sZe(),o=cZe();return r.length<=1?null:y.jsxs(xn,{gap:"0.5",alignItems:"baseline",children:[y.jsx(Ur,{css:{fontWeight:"400",fontSize:"xxs",color:"mantine.colors.dimmed",userSelect:"none"},children:"Project"}),y.jsxs(ho,{withinPortal:!1,shadow:"md",position:"bottom-start",offset:{mainAxis:2},children:[y.jsx(Fw,{children:y.jsx(Zn,{tabIndex:-1,autoFocus:!1,variant:"subtle",size:"compact-xs",color:"gray",classNames:{root:ye({fontWeight:"400",fontSize:"xxs",height:"auto",lineHeight:1.1,color:{_light:"mantine.colors.gray[9]"}}),section:ye({'&:is([data-position="right"])':{marginInlineStart:"1"}})},rightSection:y.jsx(dZe,{opacity:.5,size:12,stroke:1.5}),...e,children:o})}),y.jsx(F0,{children:r.map(({id:a,title:i})=>y.jsx(H0,{onClick:l=>{if(o===a){l.stopPropagation();return}n(a)},children:i??a},a))})]})]})}/** + */const UZe=[["path",{d:"M10.52 2.614a2.095 2.095 0 0 1 2.835 -.117l.126 .117l7.905 7.905c.777 .777 .816 2.013 .117 2.836l-.117 .126l-7.905 7.905a2.094 2.094 0 0 1 -2.836 .117l-.126 -.117l-7.907 -7.906a2.096 2.096 0 0 1 -.115 -2.835l.117 -.126l7.905 -7.905zm5.969 9.535l.01 -.116l-.003 -.12l-.016 -.114l-.03 -.11l-.044 -.112l-.052 -.098l-.076 -.105l-.07 -.081l-3.5 -3.5l-.095 -.083a1 1 0 0 0 -1.226 0l-.094 .083l-.083 .094a1 1 0 0 0 0 1.226l.083 .094l1.792 1.793h-5.085l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h5.085l-1.792 1.793l-.083 .094a1 1 0 0 0 1.403 1.403l.094 -.083l3.5 -3.5l.097 -.112l.05 -.074l.037 -.067l.05 -.112l.023 -.076l.025 -.117z",key:"svg-0"}]],VZe=xt("filled","direction-sign-filled","DirectionSignFilled",UZe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const hZe=[["path",{d:"M10.52 2.614a2.095 2.095 0 0 1 2.835 -.117l.126 .117l7.905 7.905c.777 .777 .816 2.013 .117 2.836l-.117 .126l-7.905 7.905a2.094 2.094 0 0 1 -2.836 .117l-.126 -.117l-7.907 -7.906a2.096 2.096 0 0 1 -.115 -2.835l.117 -.126l7.905 -7.905zm5.969 9.535l.01 -.116l-.003 -.12l-.016 -.114l-.03 -.11l-.044 -.112l-.052 -.098l-.076 -.105l-.07 -.081l-3.5 -3.5l-.095 -.083a1 1 0 0 0 -1.226 0l-.094 .083l-.083 .094a1 1 0 0 0 0 1.226l.083 .094l1.792 1.793h-5.085l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h5.085l-1.792 1.793l-.083 .094a1 1 0 0 0 1.403 1.403l.094 -.083l3.5 -3.5l.097 -.112l.05 -.074l.037 -.067l.05 -.112l.023 -.076l.025 -.117z",key:"svg-0"}]],fZe=yt("filled","direction-sign-filled","DirectionSignFilled",hZe);/** + */const YZe=[["path",{d:"M8.243 7.34l-6.38 .925l-.113 .023a1 1 0 0 0 -.44 1.684l4.622 4.499l-1.09 6.355l-.013 .11a1 1 0 0 0 1.464 .944l5.706 -3l5.693 3l.1 .046a1 1 0 0 0 1.352 -1.1l-1.091 -6.355l4.624 -4.5l.078 -.085a1 1 0 0 0 -.633 -1.62l-6.38 -.926l-2.852 -5.78a1 1 0 0 0 -1.794 0l-2.853 5.78z",key:"svg-0"}]],WZe=xt("filled","star-filled","StarFilled",YZe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const mZe=[["path",{d:"M8.243 7.34l-6.38 .925l-.113 .023a1 1 0 0 0 -.44 1.684l4.622 4.499l-1.09 6.355l-.013 .11a1 1 0 0 0 1.464 .944l5.706 -3l5.693 3l.1 .046a1 1 0 0 0 1.352 -1.1l-1.091 -6.355l4.624 -4.5l.078 -.085a1 1 0 0 0 -.633 -1.62l-6.38 -.926l-2.852 -5.78a1 1 0 0 0 -1.794 0l-2.853 5.78z",key:"svg-0"}]],gZe=yt("filled","star-filled","StarFilled",mZe);/** + */const GZe=[["path",{d:"M9 3a1 1 0 0 1 .608 .206l.1 .087l2.706 2.707h6.586a3 3 0 0 1 2.995 2.824l.005 .176v8a3 3 0 0 1 -2.824 2.995l-.176 .005h-14a3 3 0 0 1 -2.995 -2.824l-.005 -.176v-11a3 3 0 0 1 2.824 -2.995l.176 -.005h4z",key:"svg-0"}]],XZe=xt("filled","folder-filled","FolderFilled",GZe),Zee=z0({siblingSelector:"[data-likec4-focusable]",parentSelector:"[data-likec4-breadcrumbs-dropdown]",activateOnFocus:!1,loop:!0,orientation:"vertical"});function KZe(){const e=Yy(),r=Cn(e.actorRef,a=>a.context.searchQuery);sl("paneClick",()=>{e.closeDropdown()}),sl("nodeClick",()=>{e.closeDropdown()});const n=l$e(a=>{e.send({type:"searchQuery.change",value:a})},250),o=r.trim().length>=2;return y.jsxs(Ks,{className:Je("nowheel",oy({layerStyle:"likec4.dropdown",gap:"xs",pointerEvents:"all"})),"data-likec4-breadcrumbs-dropdown":!0,onMouseLeave:()=>e.send({type:"dropdown.mouseLeave"}),onMouseEnter:()=>e.send({type:"dropdown.mouseEnter"}),children:[y.jsx(qZe,{}),y.jsx(Sn,{gap:"xs",children:y.jsx(lQe,{value:r,onChange:n,"data-likec4-focusable":!0,onKeyDown:Zee})}),y.jsx(na,{scrollbars:"x",type:"auto",offsetScrollbars:"present",classNames:{root:me({maxWidth:["calc(100vw - 50px)","calc(100cqw - 50px)"]})},styles:{viewport:{overscrollBehavior:"none"}},children:o?y.jsx(QZe,{searchQuery:U3(r).toLowerCase()}):y.jsx(oQe,{})})]})}const ZZe=BI(Ea);function QZe({searchQuery:e}){const r=qo(),n=Yy(),o=e.includes(Ea),a=kn(r.views(),Fd(l=>o&&l.$view.title?U3(l.$view.title).toLowerCase().includes(e):l.id.toLowerCase().includes(e)||!!l.title?.toLowerCase().includes(e)),c8e(20),i0(),ADe((l,s)=>ZZe(l.folder.path,s.folder.path)));if(a.length===0)return y.jsx("div",{children:"no results"});const i=o?e.split(Ea):e;return y.jsx(na,{scrollbars:"xy",offsetScrollbars:!1,className:me({width:"100%",maxWidth:["calc(100vw - 250px)","calc(100cqw - 250px)"],maxHeight:["calc(100vh - 200px)","calc(100cqh - 200px)"]}),children:y.jsx(Gf,{gap:"0.5",children:a.map(l=>y.jsx(eQe,{view:l,highlight:i,onClick:s=>{s.stopPropagation(),n.selectView(l.id)},"data-likec4-focusable":!0,onKeyDown:Zee},l.id))})})}const JZe=Uo({gap:"xxs",rounded:"sm",px:"xs",py:"xxs",_hover:{backgroundColor:{base:"mantine.colors.gray[1]",_dark:"mantine.colors.dark[5]"}},_focus:{outline:"none",color:"mantine.colors.primary.lightColor!",backgroundColor:"mantine.colors.primary.lightHover!"}}),Qee=me({_groupFocus:{color:"[inherit!]",transition:"none"}});function eQe({view:e,highlight:r,...n}){const o=e.folder,a=ete[e.id==="index"?"index":e._type],i=y.jsx(Js,{component:"div",className:Je(Qee,r4({truncate:!0}),me({"& > mark":{backgroundColor:{base:"mantine.colors.yellow[2]/90",_dark:"mantine.colors.yellow[5]/80",_groupFocus:"[transparent]"},color:{_groupFocus:"[inherit!]"}}})),maw:350,highlight:r,children:e.title??e.id},e.id),l=Je(n.className,"group",JZe);if(o.isRoot)return y.jsxs(Ar,{...n,className:l,children:[a,i]});const s=o.breadcrumbs.map(c=>y.jsx(Js,{component:"div",className:Je(me({_groupHover:{color:"mantine.colors.dimmed"}}),Qee,r4({dimmed:!0,truncate:!0})),maw:170,highlight:GE(r)?r:[],children:c.title},c.path));return s.push(y.jsxs(Sn,{gap:"[4px]",children:[a,i]})),y.jsxs(Ar,{...n,className:l,children:[Jee,y.jsx(jw,{separator:y.jsx(Mu,{size:12,stroke:1.5}),separatorMargin:3,children:s})]})}const tQe=y.jsx(Mu,{size:12,stroke:1.5,className:"mantine-rotate-rtl"}),Jee=y.jsx(XZe,{size:16,className:me({opacity:{base:.3,_groupHover:.5,_groupActive:.5,_groupFocus:.5}})}),n4=me({opacity:{base:.3,_dark:.5,_groupHover:.8,_groupActive:.8,_groupFocus:.8}}),ete={index:y.jsx(WZe,{size:16,className:n4}),element:y.jsx(vi,{size:18,stroke:2,className:n4}),deployment:y.jsx(XT,{size:16,stroke:1.5,className:n4}),dynamic:y.jsx(VZe,{size:18,className:n4})},rQe=na.withProps({scrollbars:"y",className:me({maxHeight:["calc(100vh - 160px)","calc(100cqh - 160px)"]})});function tte(e,r){return{folderPath:e.path,items:[...e.folders.map(n=>({type:"folder",folderPath:n.path,title:n.title,selected:r.selectedFolder.startsWith(n.path)})),...e.views.map(n=>({type:"view",viewType:n.id==="index"?"index":n._type,viewId:n.id,title:n.title??n.id,description:n.description.nonEmpty&&n.description.text||null,selected:n.id===r.viewModel.id}))]}}const nQe=e=>{const r=e.viewModel.$model,n=[tte(r.rootViewFolder,e)],o=r.viewFolder(e.selectedFolder);if(!o.isRoot)for(const a of o.breadcrumbs)n.push(tte(a,e));return n};function oQe(){const e=lZe(nQe,ut);return y.jsx(Sn,{gap:"xs",alignItems:"stretch",children:e.flatMap((r,n)=>[n>0&&y.jsx(qf,{orientation:"vertical"},"divider"+n),y.jsx(aQe,{data:r,isLast:n==e.length-1},r.folderPath)])})}function aQe({data:e,isLast:r}){const n=S.useRef(null),o=sR(),a=i=>l=>{l.stopPropagation(),i.type==="folder"?o.send({type:"select.folder",folderPath:i.folderPath}):o.send({type:"select.view",viewId:i.viewId})};return HEe(()=>{r&&n.current&&n.current.scrollIntoView({inline:"nearest",behavior:"smooth"})}),y.jsx(Gr,{mb:"1",ref:n,children:y.jsx(rQe,{children:y.jsx(Gf,{gap:"0.5",children:e.items.map((i,l)=>y.jsx(iQe,{columnItem:i,onClick:a(i)},`${e.folderPath}/${i.type}/${l}`))})})})}function iQe({columnItem:e,...r}){switch(e.type){case"folder":return y.jsx(cR,{variant:"light",active:e.selected,label:e.title,leftSection:Jee,rightSection:tQe,maw:"300px",miw:"200px",...r},e.folderPath);case"view":return y.jsx(cR,{variant:"filled",active:e.selected,label:e.title,description:e.description,leftSection:ete[e.viewType],maw:"300px",miw:"200px",...r},e.viewId);default:Ja(e)}}function lQe({onKeyDown:e,...r}){const[n,o]=Ys({...r,finalValue:""});return y.jsx(Pa,{size:"xs",placeholder:"Search by title or id",variant:"unstyled",height:Ae(26),value:n,onKeyDown:e,onChange:a=>o(a.currentTarget.value),classNames:{wrapper:me({flexGrow:1,backgroundColor:{base:"mantine.colors.gray[1]",_dark:"mantine.colors.dark[5]/80",_hover:{base:"mantine.colors.gray[2]",_dark:"mantine.colors.dark[4]"},_focus:{base:"mantine.colors.gray[2]",_dark:"mantine.colors.dark[4]"}},rounded:"sm"}),input:me({_placeholder:{color:"mantine.colors.dimmed"},_focus:{outline:"none"}})},style:{"--input-fz":"var(--mantine-font-size-sm)"},leftSection:y.jsx(oR,{size:14}),rightSectionPointerEvents:"all",rightSectionWidth:"min-content",rightSection:!r.value||gu(r.value)?null:y.jsx(ro,{variant:"subtle",h:"100%",size:"compact-xs",color:"gray",onClick:a=>{a.stopPropagation(),o("")},children:"clear"})})}const sQe=tc("div",{base:{fontSize:"xs",color:"mantine.colors.dimmed",fontWeight:500,userSelect:"none",mb:"xxs"}});function cQe(e){const r=uDe(e.activeWalkthrough),n=r?e.xyedges.findIndex(o=>o.id===e.activeWalkthrough?.stepId):-1;return{isActive:r,isParallel:r&&Ta(e.activeWalkthrough?.parallelPrefix),hasNext:r&&n0,notes:r?e.xyedges[n]?.data?.notes??Zt.EMPTY:null}}const uQe=()=>{const{notes:e}=Ma(cQe);return!e||e.isEmpty?null:y.jsx(tc.div,{position:"relative",children:y.jsxs(na,{className:Je("nowheel nopan nodrag",oy({position:"absolute",layerStyle:"likec4.dropdown",gap:"sm",padding:"md",paddingTop:"xxs",pointerEvents:"all",maxWidth:"calc(100cqw - 32px)",minWidth:"calc(100cqw - 50px)",maxHeight:"calc(100cqh - 100px)",width:"max-content",cursor:"default",overflow:"auto",overscrollBehavior:"contain","@/sm":{minWidth:400,maxWidth:550},"@/lg":{maxWidth:700}})),type:"scroll",children:[y.jsx(sQe,{children:"Notes"}),y.jsx(Cp,{value:e,fontSize:"sm",emptyText:"No description",className:me({userSelect:"all"})})]})})},o4=no.withProps({color:"dark",fz:"xs",openDelay:600,closeDelay:120,label:"",children:null,offset:8,position:"right"});/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const yZe=[["path",{d:"M9 3a1 1 0 0 1 .608 .206l.1 .087l2.706 2.707h6.586a3 3 0 0 1 2.995 2.824l.005 .176v8a3 3 0 0 1 -2.824 2.995l-.176 .005h-14a3 3 0 0 1 -2.995 -2.824l-.005 -.176v-11a3 3 0 0 1 2.824 -2.995l.176 -.005h4z",key:"svg-0"}]],bZe=yt("filled","folder-filled","FolderFilled",yZe),Lee=T0({siblingSelector:"[data-likec4-focusable]",parentSelector:"[data-likec4-breadcrumbs-dropdown]",activateOnFocus:!1,loop:!0,orientation:"vertical"});function vZe(){const e=Iy(),r=wn(e.actorRef,a=>a.context.searchQuery);il("paneClick",()=>{e.closeDropdown()}),il("nodeClick",()=>{e.closeDropdown()});const n=MPe(a=>{e.send({type:"searchQuery.change",value:a})},250),o=r.trim().length>=2;return y.jsxs(Gs,{className:Je("nowheel",G0({layerStyle:"likec4.dropdown",gap:"xs",pointerEvents:"all"})),"data-likec4-breadcrumbs-dropdown":!0,onMouseLeave:()=>e.send({type:"dropdown.mouseLeave"}),onMouseEnter:()=>e.send({type:"dropdown.mouseEnter"}),children:[y.jsx(pZe,{}),y.jsx(xn,{gap:"xs",children:y.jsx(NZe,{value:r,onChange:n,"data-likec4-focusable":!0,onKeyDown:Lee})}),y.jsx(ta,{scrollbars:"x",type:"auto",offsetScrollbars:"present",classNames:{root:ye({maxWidth:["calc(100vw - 50px)","calc(100cqw - 50px)"]})},styles:{viewport:{overscrollBehavior:"none"}},children:o?y.jsx(wZe,{searchQuery:F3(r).toLowerCase()}):y.jsx(TZe,{})})]})}const xZe=NI(ka);function wZe({searchQuery:e}){const r=Ho(),n=Iy(),o=e.includes(ka),a=yn(r.views(),Nd(l=>o&&l.$view.title?F3(l.$view.title).toLowerCase().includes(e):l.id.toLowerCase().includes(e)||!!l.title?.toLowerCase().includes(e)),z_e(20),K1(),rDe((l,s)=>xZe(l.folder.path,s.folder.path)));if(a.length===0)return y.jsx("div",{children:"no results"});const i=o?e.split(ka):e;return y.jsx(ta,{scrollbars:"xy",offsetScrollbars:!1,className:ye({width:"100%",maxWidth:["calc(100vw - 250px)","calc(100cqw - 250px)"],maxHeight:["calc(100vh - 200px)","calc(100cqh - 200px)"]}),children:y.jsx(Ff,{gap:"0.5",children:a.map(l=>y.jsx(_Ze,{view:l,highlight:i,onClick:s=>{s.stopPropagation(),n.selectView(l.id)},"data-likec4-focusable":!0,onKeyDown:Lee},l.id))})})}const kZe=qo({gap:"xxs",rounded:"sm",px:"xs",py:"xxs",_hover:{backgroundColor:{base:"mantine.colors.gray[1]",_dark:"mantine.colors.dark[5]"}},_focus:{outline:"none",color:"mantine.colors.primary.lightColor!",backgroundColor:"mantine.colors.primary.lightHover!"}}),zee=ye({_groupFocus:{color:"[inherit!]",transition:"none"}});function _Ze({view:e,highlight:r,...n}){const o=e.folder,a=jee[e.id==="index"?"index":e._type],i=y.jsx(Ks,{component:"div",className:Je(zee,Q2({truncate:!0}),ye({"& > mark":{backgroundColor:{base:"mantine.colors.yellow[2]/90",_dark:"mantine.colors.yellow[5]/80",_groupFocus:"[transparent]"},color:{_groupFocus:"[inherit!]"}}})),maw:350,highlight:r,children:e.title??e.id},e.id),l=Je(n.className,"group",kZe);if(o.isRoot)return y.jsxs(Pr,{...n,className:l,children:[a,i]});const s=o.breadcrumbs.map(c=>y.jsx(Ks,{component:"div",className:Je(ye({_groupHover:{color:"mantine.colors.dimmed"}}),zee,Q2({dimmed:!0,truncate:!0})),maw:170,highlight:FE(r)?r:[],children:c.title},c.path));return s.push(y.jsxs(xn,{gap:"[4px]",children:[a,i]})),y.jsxs(Pr,{...n,className:l,children:[Bee,y.jsx(Iw,{separator:y.jsx(pp,{size:12,stroke:1.5}),separatorMargin:3,children:s})]})}const EZe=y.jsx(pp,{size:12,stroke:1.5,className:"mantine-rotate-rtl"}),Bee=y.jsx(bZe,{size:16,className:ye({opacity:{base:.3,_groupHover:.5,_groupActive:.5,_groupFocus:.5}})}),J2=ye({opacity:{base:.3,_dark:.5,_groupHover:.8,_groupActive:.8,_groupFocus:.8}}),jee={index:y.jsx(gZe,{size:16,className:J2}),element:y.jsx(gi,{size:18,stroke:2,className:J2}),deployment:y.jsx(qT,{size:16,stroke:1.5,className:J2}),dynamic:y.jsx(fZe,{size:18,className:J2})},SZe=ta.withProps({scrollbars:"y",className:ye({maxHeight:["calc(100vh - 160px)","calc(100cqh - 160px)"]})});function Fee(e,r){return{folderPath:e.path,items:[...e.folders.map(n=>({type:"folder",folderPath:n.path,title:n.title,selected:r.selectedFolder.startsWith(n.path)})),...e.views.map(n=>({type:"view",viewType:n.id==="index"?"index":n._type,viewId:n.id,title:n.title??n.id,description:n.description.nonEmpty&&n.description.text||null,selected:n.id===r.viewModel.id}))]}}const CZe=e=>{const r=e.viewModel.$model,n=[Fee(r.rootViewFolder,e)],o=r.viewFolder(e.selectedFolder);if(!o.isRoot)for(const a of o.breadcrumbs)n.push(Fee(a,e));return n};function TZe(){const e=RKe(CZe,ut);return y.jsx(xn,{gap:"xs",alignItems:"stretch",children:e.flatMap((r,n)=>[n>0&&y.jsx(If,{orientation:"vertical"},"divider"+n),y.jsx(RZe,{data:r,isLast:n==e.length-1},r.folderPath)])})}function RZe({data:e,isLast:r}){const n=E.useRef(null),o=rR(),a=i=>l=>{l.stopPropagation(),i.type==="folder"?o.send({type:"select.folder",folderPath:i.folderPath}):o.send({type:"select.view",viewId:i.viewId})};return yEe(()=>{r&&n.current&&n.current.scrollIntoView({inline:"nearest",behavior:"smooth"})}),y.jsx(Ur,{mb:"1",ref:n,children:y.jsx(SZe,{children:y.jsx(Ff,{gap:"0.5",children:e.items.map((i,l)=>y.jsx(AZe,{columnItem:i,onClick:a(i)},`${e.folderPath}/${i.type}/${l}`))})})})}function AZe({columnItem:e,...r}){switch(e.type){case"folder":return y.jsx(nR,{variant:"light",active:e.selected,label:e.title,leftSection:Bee,rightSection:EZe,maw:"300px",miw:"200px",...r},e.folderPath);case"view":return y.jsx(nR,{variant:"filled",active:e.selected,label:e.title,description:e.description,leftSection:jee[e.viewType],maw:"300px",miw:"200px",...r},e.viewId);default:Xa(e)}}function NZe({onKeyDown:e,...r}){const[n,o]=Us({...r,finalValue:""});return y.jsx(Na,{size:"xs",placeholder:"Search by title or id",variant:"unstyled",height:Ae(26),value:n,onKeyDown:e,onChange:a=>o(a.currentTarget.value),classNames:{wrapper:ye({flexGrow:1,backgroundColor:{base:"mantine.colors.gray[1]",_dark:"mantine.colors.dark[5]/80",_hover:{base:"mantine.colors.gray[2]",_dark:"mantine.colors.dark[4]"},_focus:{base:"mantine.colors.gray[2]",_dark:"mantine.colors.dark[4]"}},rounded:"sm"}),input:ye({_placeholder:{color:"mantine.colors.dimmed"},_focus:{outline:"none"}})},style:{"--input-fz":"var(--mantine-font-size-sm)"},leftSection:y.jsx(QT,{size:14}),rightSectionPointerEvents:"all",rightSectionWidth:"min-content",rightSection:!r.value||iu(r.value)?null:y.jsx(Zn,{variant:"subtle",h:"100%",size:"compact-xs",color:"gray",onClick:a=>{a.stopPropagation(),o("")},children:"clear"})})}const DZe=Qs("div",{base:{fontSize:"xs",color:"mantine.colors.dimmed",fontWeight:500,userSelect:"none",mb:"xxs"}});function PZe(e){const r=LNe(e.activeWalkthrough),n=r?e.xyedges.findIndex(o=>o.id===e.activeWalkthrough?.stepId):-1;return{isActive:r,isParallel:r&&Sa(e.activeWalkthrough?.parallelPrefix),hasNext:r&&n0,notes:r?e.xyedges[n]?.data?.notes??Kt.EMPTY:null}}const $Ze=()=>{const{notes:e}=Da(PZe);return!e||e.isEmpty?null:y.jsx(Qs.div,{position:"relative",children:y.jsxs(ta,{className:Je("nowheel nopan nodrag",G0({position:"absolute",layerStyle:"likec4.dropdown",gap:"sm",padding:"md",paddingTop:"xxs",pointerEvents:"all",maxWidth:"calc(100cqw - 32px)",minWidth:"calc(100cqw - 50px)",maxHeight:"calc(100cqh - 100px)",width:"max-content",cursor:"default",overflow:"auto",overscrollBehavior:"contain","@/sm":{minWidth:400,maxWidth:550},"@/lg":{maxWidth:700}})),type:"scroll",children:[y.jsx(DZe,{children:"Notes"}),y.jsx(mp,{value:e,fontSize:"sm",emptyText:"No description",className:ye({userSelect:"all"})})]})})},e4=fo.withProps({color:"dark",fz:"xs",openDelay:600,closeDelay:120,label:"",children:null,offset:8,position:"right"});/** + */const dQe=[["path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-0"}],["path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2",key:"svg-1"}],["path",{d:"M4 16v2a2 2 0 0 0 2 2h2",key:"svg-2"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v2",key:"svg-3"}],["path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2",key:"svg-4"}]],pQe=xt("outline","focus-centered","FocusCentered",dQe),hQe=()=>{const e=Yt();return y.jsx(o4,{label:"Center camera",children:y.jsx(Tp,{onClick:()=>e.fitDiagram(),children:y.jsx(pQe,{})})})};me({gap:"xxs",_empty:{display:"none"}}),me({top:"md",left:"md",margin:"0",pointerEvents:"none","& :where(button, .action-icon, [role='dialog'])":{pointerEvents:"all"},"& .action-icon":{"--ai-size":"2rem"},"& .tabler-icon":{width:"65%",height:"65%"},_reduceGraphics:{"& .action-icon":{"--ai-radius":"0px"}}}),me({shadow:{base:"md",_whenPanning:"none"}}),me({"& .tabler-icon":{width:"65%",height:"65%"}});const a4=me({flex:"1 1 40%",textAlign:"center",fontWeight:500,padding:"[4px 6px]",fontSize:"11px",zIndex:1}),fQe=me({background:"mantine.colors.gray[2]",borderRadius:"sm",border:"1px solid",borderColor:"mantine.colors.gray[4]",_dark:{background:"mantine.colors.dark[5]",borderColor:"mantine.colors.dark[4]"}}),mQe=me({position:"relative",borderRadius:"sm",background:"mantine.colors.gray[3]",boxShadow:"inset 1px 1px 3px 0px #00000024",_dark:{background:"mantine.colors.dark[7]"}}),gQe=me({position:"absolute",width:8,height:8,border:"2px solid",borderColor:"mantine.colors.gray[5]",borderRadius:3,transform:"translate(-50%, -50%)"});/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const MZe=[["path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-0"}],["path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2",key:"svg-1"}],["path",{d:"M4 16v2a2 2 0 0 0 2 2h2",key:"svg-2"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v2",key:"svg-3"}],["path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2",key:"svg-4"}]],OZe=yt("outline","focus-centered","FocusCentered",MZe),IZe=()=>{const e=Wt();return y.jsx(e4,{label:"Center camera",children:y.jsx(gp,{onClick:()=>e.fitDiagram(),children:y.jsx(OZe,{})})})};ye({gap:"xxs",_empty:{display:"none"}}),ye({top:"md",left:"md",margin:"0",pointerEvents:"none","& :where(button, .action-icon, [role='dialog'])":{pointerEvents:"all"},"& .action-icon":{"--ai-size":"2rem"},"& .tabler-icon":{width:"65%",height:"65%"},_reduceGraphics:{"& .action-icon":{"--ai-radius":"0px"}}}),ye({shadow:{base:"md",_whenPanning:"none"}}),ye({"& .tabler-icon":{width:"65%",height:"65%"}});const t4=ye({flex:"1 1 40%",textAlign:"center",fontWeight:500,padding:"[4px 6px]",fontSize:"11px",zIndex:1}),LZe=ye({background:"mantine.colors.gray[2]",borderRadius:"sm",border:"1px solid",borderColor:"mantine.colors.gray[4]",_dark:{background:"mantine.colors.dark[5]",borderColor:"mantine.colors.dark[4]"}}),zZe=ye({position:"relative",borderRadius:"sm",background:"mantine.colors.gray[3]",boxShadow:"inset 1px 1px 3px 0px #00000024",_dark:{background:"mantine.colors.dark[7]"}}),BZe=ye({position:"absolute",width:8,height:8,border:"2px solid",borderColor:"mantine.colors.gray[5]",borderRadius:3,transform:"translate(-50%, -50%)"});/** + */const yQe=[["path",{d:"M5 4h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-6a1 1 0 0 1 1 -1",key:"svg-0"}],["path",{d:"M5 16h4a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1",key:"svg-1"}],["path",{d:"M15 12h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-6a1 1 0 0 1 1 -1",key:"svg-2"}],["path",{d:"M15 4h4a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1",key:"svg-3"}]],bQe=xt("outline","layout-dashboard","LayoutDashboard",yQe),vQe=e=>({viewId:e.view.id,autoLayout:e.view.autoLayout}),xQe=()=>{const{onChange:e}=dc(),r=Yt(),[n,o]=S.useState(null),[a,i]=S.useState({}),{autoLayout:l,viewId:s}=Ma(vQe),{ref:c,hovered:u}=d9(),d=g=>b=>{a[g]=b,i(a)},p=g=>b=>{b.stopPropagation(),e?.({change:{op:"change-autolayout",layout:{...l,direction:g}}})},f=(g,b)=>{r.fitDiagram(),e?.({change:{op:"change-autolayout",layout:{...l,nodeSep:g,rankSep:b}}})};return y.jsxs(br,{position:"right-start",clickOutsideEvents:["pointerdown"],radius:"xs",shadow:"lg",offset:{mainAxis:10},children:[y.jsx(Eu,{children:y.jsx(o4,{label:"Change Auto Layout",children:y.jsx(Tp,{children:y.jsx(bQe,{})})})}),y.jsx(Ks,{className:"likec4-top-left-panel",p:8,pt:6,opacity:u?.6:1,children:y.jsxs(Se,{pos:"relative",ref:o,children:[y.jsx(Iw,{target:a[l.direction],parent:n,className:fQe}),y.jsx(Se,{mb:10,children:y.jsx(pt,{inline:!0,fz:"xs",c:"dimmed",fw:500,children:"Auto layout:"})}),y.jsxs(Zs,{gap:2,wrap:"wrap",justify:"stretch",maw:160,children:[y.jsx(Ar,{className:a4,ref:d("TB"),onClick:p("TB"),children:"Top-Bottom"}),y.jsx(Ar,{className:a4,ref:d("BT"),onClick:p("BT"),children:"Bottom-Top"}),y.jsx(Ar,{className:a4,ref:d("LR"),onClick:p("LR"),children:"Left-Right"}),y.jsx(Ar,{className:a4,ref:d("RL"),onClick:p("RL"),children:"Right-Left"})]}),y.jsx(Se,{my:10,children:y.jsx(pt,{inline:!0,fz:"xs",c:"dimmed",fw:500,children:"Spacing:"})}),y.jsx(wQe,{ref:c,isVertical:l.direction==="TB"||l.direction==="BT",nodeSep:l.nodeSep,rankSep:l.rankSep,onChange:f},s)]})})]})},Rm=400,wQe=S.forwardRef(({isVertical:e,nodeSep:r,rankSep:n,onChange:o},a)=>{e||([r,n]=[n,r]);const i=G3(({x:f,y:g})=>{e||([f,g]=[g,f]),o(Math.round(f*Rm),Math.round(g*Rm))},[o,e],250,2e3),[l,s]=Ys({defaultValue:YPe({x:(r??100)/Rm,y:(n??120)/Rm}),onChange:i}),{ref:c}=ZU(s);let u=Math.round(l.x*Rm),d=Math.round(l.y*Rm);e||([u,d]=[d,u]);const p=Mr(c,a);return y.jsxs(Se,{ref:p,className:mQe,pt:"100%",children:[y.jsx(Se,{className:gQe,style:{left:`${l.x*100}%`,top:`${l.y*100}%`}}),y.jsx(Se,{pos:"absolute",left:2,bottom:2,children:y.jsxs(pt,{component:"div",fz:8,c:"dimmed",fw:500,children:[d,", ",u]})})]})});/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const jZe=[["path",{d:"M5 4h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-6a1 1 0 0 1 1 -1",key:"svg-0"}],["path",{d:"M5 16h4a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1",key:"svg-1"}],["path",{d:"M15 12h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-6a1 1 0 0 1 1 -1",key:"svg-2"}],["path",{d:"M15 4h4a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1",key:"svg-3"}]],FZe=yt("outline","layout-dashboard","LayoutDashboard",jZe),HZe=e=>({viewId:e.view.id,autoLayout:e.view.autoLayout}),qZe=()=>{const{onChange:e}=lc(),r=Wt(),[n,o]=E.useState(null),[a,i]=E.useState({}),{autoLayout:l,viewId:s}=Da(HZe),{ref:c,hovered:u}=a9(),d=g=>b=>{a[g]=b,i(a)},p=g=>b=>{b.stopPropagation(),e?.({change:{op:"change-autolayout",layout:{...l,direction:g}}})},f=(g,b)=>{r.fitDiagram(),e?.({change:{op:"change-autolayout",layout:{...l,nodeSep:g,rankSep:b}}})};return y.jsxs(mr,{position:"right-start",clickOutsideEvents:["pointerdown"],radius:"xs",shadow:"lg",offset:{mainAxis:10},children:[y.jsx(fu,{children:y.jsx(e4,{label:"Change Auto Layout",children:y.jsx(gp,{children:y.jsx(FZe,{})})})}),y.jsx(Gs,{className:"likec4-top-left-panel",p:8,pt:6,opacity:u?.6:1,children:y.jsxs(Se,{pos:"relative",ref:o,children:[y.jsx(Pw,{target:a[l.direction],parent:n,className:LZe}),y.jsx(Se,{mb:10,children:y.jsx(wt,{inline:!0,fz:"xs",c:"dimmed",fw:500,children:"Auto layout:"})}),y.jsxs(Mf,{gap:2,wrap:"wrap",justify:"stretch",maw:160,children:[y.jsx(Pr,{className:t4,ref:d("TB"),onClick:p("TB"),children:"Top-Bottom"}),y.jsx(Pr,{className:t4,ref:d("BT"),onClick:p("BT"),children:"Bottom-Top"}),y.jsx(Pr,{className:t4,ref:d("LR"),onClick:p("LR"),children:"Left-Right"}),y.jsx(Pr,{className:t4,ref:d("RL"),onClick:p("RL"),children:"Right-Left"})]}),y.jsx(Se,{my:10,children:y.jsx(wt,{inline:!0,fz:"xs",c:"dimmed",fw:500,children:"Spacing:"})}),y.jsx(UZe,{ref:c,isVertical:l.direction==="TB"||l.direction==="BT",nodeSep:l.nodeSep,rankSep:l.rankSep,onChange:f},s)]})})]})},km=400,UZe=E.forwardRef(({isVertical:e,nodeSep:r,rankSep:n,onChange:o},a)=>{e||([r,n]=[n,r]);const i=V3(({x:f,y:g})=>{e||([f,g]=[g,f]),o(Math.round(f*km),Math.round(g*km))},[o,e],250,2e3),[l,s]=Us({defaultValue:vPe({x:(r??100)/km,y:(n??120)/km}),onChange:i}),{ref:c}=jU(s);let u=Math.round(l.x*km),d=Math.round(l.y*km);e||([u,d]=[d,u]);const p=Nr(c,a);return y.jsxs(Se,{ref:p,className:zZe,pt:"100%",children:[y.jsx(Se,{className:BZe,style:{left:`${l.x*100}%`,top:`${l.y*100}%`}}),y.jsx(Se,{pos:"absolute",left:2,bottom:2,children:y.jsxs(wt,{component:"div",fz:8,c:"dimmed",fw:500,children:[d,", ",u]})})]})});/** + */const kQe=[["path",{d:"M12 9v4",key:"svg-0"}],["path",{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]],rte=xt("outline","alert-triangle","AlertTriangle",kQe),_Qe=()=>{const e=Tm();return Ma(r=>r.view.hasLayoutDrift??!1)?y.jsxs(Uf,{position:"right-start",openDelay:200,closeDelay:100,...e,children:[y.jsx(S7,{children:y.jsx(ir,{color:"orange",c:"orange",className:me({bg:"mantine.colors.orange.light"}),children:y.jsx(rte,{})})}),y.jsx(_7,{p:"0",children:y.jsxs(Gw,{color:"orange",withBorder:!1,withCloseButton:!1,title:"Manual layout issues",children:[y.jsxs(pt,{mt:2,size:"sm",lh:"xs",children:["View contains new elements or their sizes have changed,",y.jsx("br",{}),"last manual layout can not be applied."]}),y.jsxs(pt,{mt:"xs",size:"sm",lh:"xs",children:["Update view predicates or remove ",y.jsx(qw,{children:"@likec4-generated"})]})]})})]}):null};/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const VZe=[["path",{d:"M12 9v4",key:"svg-0"}],["path",{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]],Hee=yt("outline","alert-triangle","AlertTriangle",VZe),YZe=()=>{const e=wm();return Da(r=>r.view.hasLayoutDrift??!1)?y.jsxs(Lf,{position:"right-start",openDelay:200,closeDelay:100,...e,children:[y.jsx(v7,{children:y.jsx(or,{color:"orange",c:"orange",className:ye({bg:"mantine.colors.orange.light"}),children:y.jsx(Hee,{})})}),y.jsx(y7,{p:"0",children:y.jsxs(Uw,{color:"orange",withBorder:!1,withCloseButton:!1,title:"Manual layout issues",children:[y.jsxs(wt,{mt:2,size:"sm",lh:"xs",children:["View contains new elements or their sizes have changed,",y.jsx("br",{}),"last manual layout can not be applied."]}),y.jsxs(wt,{mt:"xs",size:"sm",lh:"xs",children:["Update view predicates or remove ",y.jsx(Bw,{children:"@likec4-generated"})]})]})})]}):null};/** + */const EQe=[["path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z",key:"svg-0"}],["path",{d:"M10 4l4 16",key:"svg-1"}],["path",{d:"M12 12l-8 2",key:"svg-2"}]],SQe=xt("outline","layout-collage","LayoutCollage",EQe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const WZe=[["path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z",key:"svg-0"}],["path",{d:"M10 4l4 16",key:"svg-1"}],["path",{d:"M12 12l-8 2",key:"svg-2"}]],GZe=yt("outline","layout-collage","LayoutCollage",WZe);/** + */const CQe=[["path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z",key:"svg-0"}],["path",{d:"M4 12h8",key:"svg-1"}],["path",{d:"M12 15h8",key:"svg-2"}],["path",{d:"M12 9h8",key:"svg-3"}],["path",{d:"M12 4v16",key:"svg-4"}]],nte=xt("outline","layout-board-split","LayoutBoardSplit",CQe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const XZe=[["path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z",key:"svg-0"}],["path",{d:"M4 12h8",key:"svg-1"}],["path",{d:"M12 15h8",key:"svg-2"}],["path",{d:"M12 9h8",key:"svg-3"}],["path",{d:"M12 4v16",key:"svg-4"}]],qee=yt("outline","layout-board-split","LayoutBoardSplit",XZe);/** + */const TQe=[["path",{d:"M4 4l0 16",key:"svg-0"}],["path",{d:"M8 9m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z",key:"svg-1"}]],RQe=xt("outline","layout-align-left","LayoutAlignLeft",TQe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const KZe=[["path",{d:"M4 4l0 16",key:"svg-0"}],["path",{d:"M8 9m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z",key:"svg-1"}]],ZZe=yt("outline","layout-align-left","LayoutAlignLeft",KZe);/** + */const AQe=[["path",{d:"M12 4l0 5",key:"svg-0"}],["path",{d:"M12 15l0 5",key:"svg-1"}],["path",{d:"M6 9m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z",key:"svg-2"}]],NQe=xt("outline","layout-align-center","LayoutAlignCenter",AQe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const QZe=[["path",{d:"M12 4l0 5",key:"svg-0"}],["path",{d:"M12 15l0 5",key:"svg-1"}],["path",{d:"M6 9m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z",key:"svg-2"}]],JZe=yt("outline","layout-align-center","LayoutAlignCenter",QZe);/** + */const DQe=[["path",{d:"M20 4l0 16",key:"svg-0"}],["path",{d:"M4 9m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z",key:"svg-1"}]],PQe=xt("outline","layout-align-right","LayoutAlignRight",DQe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const eQe=[["path",{d:"M20 4l0 16",key:"svg-0"}],["path",{d:"M4 9m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z",key:"svg-1"}]],tQe=yt("outline","layout-align-right","LayoutAlignRight",eQe);/** + */const $Qe=[["path",{d:"M4 4l16 0",key:"svg-0"}],["path",{d:"M9 8m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z",key:"svg-1"}]],MQe=xt("outline","layout-align-top","LayoutAlignTop",$Qe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const rQe=[["path",{d:"M4 4l16 0",key:"svg-0"}],["path",{d:"M9 8m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z",key:"svg-1"}]],nQe=yt("outline","layout-align-top","LayoutAlignTop",rQe);/** + */const OQe=[["path",{d:"M4 12l5 0",key:"svg-0"}],["path",{d:"M15 12l5 0",key:"svg-1"}],["path",{d:"M9 6m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z",key:"svg-2"}]],IQe=xt("outline","layout-align-middle","LayoutAlignMiddle",OQe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const oQe=[["path",{d:"M4 12l5 0",key:"svg-0"}],["path",{d:"M15 12l5 0",key:"svg-1"}],["path",{d:"M9 6m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z",key:"svg-2"}]],aQe=yt("outline","layout-align-middle","LayoutAlignMiddle",oQe);/** + */const zQe=[["path",{d:"M4 20l16 0",key:"svg-0"}],["path",{d:"M9 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z",key:"svg-1"}]],LQe=xt("outline","layout-align-bottom","LayoutAlignBottom",zQe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const iQe=[["path",{d:"M4 20l16 0",key:"svg-0"}],["path",{d:"M9 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z",key:"svg-1"}]],lQe=yt("outline","layout-align-bottom","LayoutAlignBottom",iQe);/** + */const BQe=[["path",{d:"M6 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M18 5m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M12 19h4.5c.71 0 1.372 -.212 1.924 -.576m1.545 -2.459a3.5 3.5 0 0 0 -3.469 -3.965h-.499m-4 0h-3.501a3.5 3.5 0 0 1 -2.477 -5.972m2.477 -1.028h3.5",key:"svg-2"}],["path",{d:"M3 3l18 18",key:"svg-3"}]],jQe=xt("outline","route-off","RouteOff",BQe),pc=({label:e,icon:r,onClick:n})=>y.jsx(o4,{label:e,withinPortal:!1,position:"top",children:y.jsx(Tp,{classNames:{root:"action-icon",icon:me({"& > svg":{width:"70%",height:"70%"}})},onClick:n,children:r})}),FQe=e=>{const r=Yt(),n=Tm();return y.jsxs(br,{position:"right",offset:{mainAxis:12},clickOutsideEvents:["pointerdown"],...n,...e,children:[y.jsx(Eu,{children:y.jsx(o4,{label:"Manual layouting tools",children:y.jsx(Tp,{children:y.jsx(SQe,{})})})}),y.jsx(Ks,{className:Uo({gap:"0.5",layerStyle:"likec4.panel",padding:"1",pointerEvents:"all"}),children:y.jsxs(cp,{children:[y.jsx(pc,{label:"Align in columns",icon:y.jsx(nte,{}),onClick:o=>{o.stopPropagation(),r.align("Column")}}),y.jsx(pc,{label:"Align left",icon:y.jsx(RQe,{}),onClick:o=>{o.stopPropagation(),r.align("Left")}}),y.jsx(pc,{label:"Align center",icon:y.jsx(NQe,{}),onClick:o=>{o.stopPropagation(),r.align("Center")}}),y.jsx(pc,{label:"Align right",icon:y.jsx(PQe,{}),onClick:o=>{o.stopPropagation(),r.align("Right")}}),y.jsx(pc,{label:"Align in rows",icon:y.jsx(nte,{style:{transform:"rotate(90deg)"}}),onClick:o=>{o.stopPropagation(),r.align("Row")}}),y.jsx(pc,{label:"Align top",icon:y.jsx(MQe,{}),onClick:o=>{o.stopPropagation(),r.align("Top")}}),y.jsx(pc,{label:"Align middle",icon:y.jsx(IQe,{}),onClick:o=>{o.stopPropagation(),r.align("Middle")}}),y.jsx(pc,{label:"Align bottom",icon:y.jsx(LQe,{}),onClick:o=>{o.stopPropagation(),r.align("Bottom")}}),y.jsx(pc,{label:"Reset all control points",icon:y.jsx(jQe,{}),onClick:o=>{o.stopPropagation(),r.resetEdgeControlPoints()}})]})})]})};function HQe(){const{enableReadOnly:e}=Er();return y.jsx(Oa,{children:!e&&y.jsx(nn,{layout:"position",className:oy({gap:"xs",layerStyle:"likec4.panel",position:"relative",cursor:"pointer",padding:"xxs",pointerEvents:"all"}),initial:{opacity:0,translateX:-20},animate:{opacity:1,translateX:0},exit:{opacity:0,translateX:-20},children:y.jsxs(cp,{openDelay:600,closeDelay:120,children:[y.jsx(xQe,{}),y.jsx(FQe,{}),y.jsx(_Qe,{}),y.jsx(hQe,{})]})})})}/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const sQe=[["path",{d:"M6 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M18 5m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M12 19h4.5c.71 0 1.372 -.212 1.924 -.576m1.545 -2.459a3.5 3.5 0 0 0 -3.469 -3.965h-.499m-4 0h-3.501a3.5 3.5 0 0 1 -2.477 -5.972m2.477 -1.028h3.5",key:"svg-2"}],["path",{d:"M3 3l18 18",key:"svg-3"}]],cQe=yt("outline","route-off","RouteOff",sQe),sc=({label:e,icon:r,onClick:n})=>y.jsx(e4,{label:e,withinPortal:!1,position:"top",children:y.jsx(gp,{classNames:{root:"action-icon",icon:ye({"& > svg":{width:"70%",height:"70%"}})},onClick:n,children:r})}),uQe=e=>{const r=Wt(),n=wm();return y.jsxs(mr,{position:"right",offset:{mainAxis:12},clickOutsideEvents:["pointerdown"],...n,...e,children:[y.jsx(fu,{children:y.jsx(e4,{label:"Manual layouting tools",children:y.jsx(gp,{children:y.jsx(GZe,{})})})}),y.jsx(Gs,{className:qo({gap:"0.5",layerStyle:"likec4.panel",padding:"1",pointerEvents:"all"}),children:y.jsxs(Qd,{children:[y.jsx(sc,{label:"Align in columns",icon:y.jsx(qee,{}),onClick:o=>{o.stopPropagation(),r.align("Column")}}),y.jsx(sc,{label:"Align left",icon:y.jsx(ZZe,{}),onClick:o=>{o.stopPropagation(),r.align("Left")}}),y.jsx(sc,{label:"Align center",icon:y.jsx(JZe,{}),onClick:o=>{o.stopPropagation(),r.align("Center")}}),y.jsx(sc,{label:"Align right",icon:y.jsx(tQe,{}),onClick:o=>{o.stopPropagation(),r.align("Right")}}),y.jsx(sc,{label:"Align in rows",icon:y.jsx(qee,{style:{transform:"rotate(90deg)"}}),onClick:o=>{o.stopPropagation(),r.align("Row")}}),y.jsx(sc,{label:"Align top",icon:y.jsx(nQe,{}),onClick:o=>{o.stopPropagation(),r.align("Top")}}),y.jsx(sc,{label:"Align middle",icon:y.jsx(aQe,{}),onClick:o=>{o.stopPropagation(),r.align("Middle")}}),y.jsx(sc,{label:"Align bottom",icon:y.jsx(lQe,{}),onClick:o=>{o.stopPropagation(),r.align("Bottom")}}),y.jsx(sc,{label:"Reset all control points",icon:y.jsx(cQe,{}),onClick:o=>{o.stopPropagation(),r.resetEdgeControlPoints()}})]})})]})};function dQe(){const{enableReadOnly:e}=wr();return y.jsx(Pa,{children:!e&&y.jsx(Qr,{layout:"position",className:G0({gap:"xs",layerStyle:"likec4.panel",position:"relative",cursor:"pointer",padding:"xxs",pointerEvents:"all"}),initial:{opacity:0,translateX:-20},animate:{opacity:1,translateX:0},exit:{opacity:0,translateX:-20},children:y.jsxs(Qd,{openDelay:600,closeDelay:120,children:[y.jsx(qZe,{}),y.jsx(uQe,{}),y.jsx(YZe,{}),y.jsx(IZe,{})]})})})}/** + */const qQe=[["path",{d:"M17 4h-10a3 3 0 0 0 -3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3 -3v-10a3 3 0 0 0 -3 -3z",key:"svg-0"}]],UQe=xt("filled","player-stop-filled","PlayerStopFilled",qQe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const pQe=[["path",{d:"M17 4h-10a3 3 0 0 0 -3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3 -3v-10a3 3 0 0 0 -3 -3z",key:"svg-0"}]],hQe=yt("filled","player-stop-filled","PlayerStopFilled",pQe);/** + */const VQe=[["path",{d:"M19.496 4.136l-12 7a1 1 0 0 0 0 1.728l12 7a1 1 0 0 0 1.504 -.864v-14a1 1 0 0 0 -1.504 -.864z",key:"svg-0"}],["path",{d:"M4 4a1 1 0 0 1 .993 .883l.007 .117v14a1 1 0 0 1 -1.993 .117l-.007 -.117v-14a1 1 0 0 1 1 -1z",key:"svg-1"}]],YQe=xt("filled","player-skip-back-filled","PlayerSkipBackFilled",VQe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const fQe=[["path",{d:"M19.496 4.136l-12 7a1 1 0 0 0 0 1.728l12 7a1 1 0 0 0 1.504 -.864v-14a1 1 0 0 0 -1.504 -.864z",key:"svg-0"}],["path",{d:"M4 4a1 1 0 0 1 .993 .883l.007 .117v14a1 1 0 0 1 -1.993 .117l-.007 -.117v-14a1 1 0 0 1 1 -1z",key:"svg-1"}]],mQe=yt("filled","player-skip-back-filled","PlayerSkipBackFilled",fQe);/** - * @license @tabler/icons-react v3.35.0 - MIT - * - * This source code is licensed under the MIT license. - * See the LICENSE file in the root directory of this source tree. - */const gQe=[["path",{d:"M3 5v14a1 1 0 0 0 1.504 .864l12 -7a1 1 0 0 0 0 -1.728l-12 -7a1 1 0 0 0 -1.504 .864z",key:"svg-0"}],["path",{d:"M20 4a1 1 0 0 1 .993 .883l.007 .117v14a1 1 0 0 1 -1.993 .117l-.007 -.117v-14a1 1 0 0 1 1 -1z",key:"svg-1"}]],yQe=yt("filled","player-skip-forward-filled","PlayerSkipForwardFilled",gQe),Uee=Zn.withProps({component:fl,variant:"light",size:"xs",fw:"500"}),bQe=()=>{const{portalProps:e}=wm();return y.jsx(O0,{...e,children:y.jsx(Ur,{css:{position:"absolute",margin:"0",padding:"0",top:"0",left:"0",width:"100%",height:"100%",border:"2px solid",borderColor:"mantine.colors.orange[6]",pointerEvents:"none",md:{borderWidth:4}}})})};function vQe(){const e=Wt(),{isParallel:r,hasNext:n,hasPrevious:o,currentStep:a,totalSteps:i}=Da(l=>{const s=l.xyedges.findIndex(c=>c.id===l.activeWalkthrough?.stepId);return{isParallel:Sa(l.activeWalkthrough?.parallelPrefix),hasNext:s0,currentStep:s+1,totalSteps:l.xyedges.length}});return y.jsxs(Pa,{propagate:!0,children:[y.jsx(Iee,{variant:"light",size:"xs",color:"orange",mr:"sm",onClick:l=>{l.stopPropagation(),e.stopWalkthrough()},rightSection:y.jsx(hQe,{size:10}),children:"Stop"},"stop-walkthrough"),y.jsx(Uee,{disabled:!o,onClick:()=>e.walkthroughStep("previous"),leftSection:y.jsx(mQe,{size:10}),children:"Previous"},"prev"),y.jsx(Xs,{component:Qr,size:"md",radius:"sm",variant:r?"gradient":"transparent",gradient:{from:"red",to:"orange",deg:90},rightSection:y.jsx(Qr,{className:ye({fontSize:"xxs",display:r?"block":"none"}),children:"parallel"}),className:ye({alignItems:"baseline"}),children:y.jsxs(qWe,{children:[a," / ",i]})},"step-badge"),y.jsx(Uee,{disabled:!n,onClick:()=>e.walkthroughStep("next"),rightSection:y.jsx(yQe,{size:10}),children:"Next"},"next"),r&&y.jsx(bQe,{},"parallel-frame")]})}const Vee=E.memo(()=>{const e=Jf(),r=AQ(),n=nS(CKe,{input:{viewModel:r}});return E.useEffect(()=>{const o=n.on("navigateTo",a=>{e.getSnapshot().context.view.id!==a.viewId&&e.send({type:"navigate.to",viewId:a.viewId})});return()=>o.unsubscribe()},[n,e]),qj(()=>{n.send({type:"update.inputs",inputs:{viewModel:r}})},[r]),y.jsx(Ff,{css:{alignItems:"flex-start",pointerEvents:"none",position:"absolute",top:"0",left:"0",margin:"0",width:"100%",gap:"xxs",maxWidth:["calc(100vw)","calc(100cqw)"],"@/sm":{margin:"xs",gap:"xs",width:"max-content",maxWidth:["calc(100vw - 2 * {spacing.md})","calc(100cqw - 2 * {spacing.md})"]}},children:y.jsxs(TKe,{value:n,children:[y.jsx(xQe,{actor:n}),y.jsx(dQe,{}),y.jsx($Ze,{})]})})});Vee.displayName="NavigationPanel";const xQe=({actor:e})=>{const r=wn(e,o=>o.hasTag("active")),n=wm();return y.jsxs(mr,{offset:{mainAxis:4},opened:r,position:"bottom-start",trapFocus:!0,...n,clickOutsideEvents:["pointerdown","mousedown","click"],onDismiss:()=>e.send({type:"dropdown.dismiss"}),children:[y.jsx(wQe,{actor:e}),r&&y.jsx(vZe,{})]})},wQe=({actor:e})=>{const r=Da(n=>n.activeWalkthrough!==null);return y.jsx(dm,{children:y.jsx(fu,{children:y.jsx(Qr,{layout:!0,className:qo({layerStyle:"likec4.panel",position:"relative",gap:"xs",cursor:"pointer",paddingRight:"md",pointerEvents:"all",width:"100%"}),onMouseLeave:()=>e.send({type:"breadcrumbs.mouseLeave"}),children:y.jsx(Pa,{mode:"popLayout",children:r?y.jsx(vQe,{}):y.jsx(nZe,{})})})})})},oR=ye({position:"absolute",bottom:"0",right:"0",padding:"2",margin:"0",width:"min-content",height:"min-content"}),kQe=ye({"--ai-radius":"0px",_noReduceGraphics:{"--ai-radius":"{radii.md}"}}),_Qe=ye({cursor:"default",userSelect:"none",minWidth:200,maxWidth:"calc(100vw - 20px)",backgroundColor:"mantine.colors.body/80",sm:{minWidth:300,maxWidth:"65vw"},md:{maxWidth:"40vw"},_dark:{backgroundColor:"mantine.colors.dark[6]/80"}}),EQe=ye({padding:"xxs"}),SQe=ye({backgroundColor:"transparent",transition:"all 100ms ease-in",_hover:{transition:"all 120ms ease-out",backgroundColor:"mantine.colors.primary[2]/50"},_dark:{_hover:{backgroundColor:"mantine.colors.dark[3]/40"}}});ye({fill:"var(--likec4-palette-fill)",stroke:"var(--likec4-palette-stroke)",strokeWidth:1,overflow:"visible",width:"100%",height:"auto",filter:` + */const WQe=[["path",{d:"M3 5v14a1 1 0 0 0 1.504 .864l12 -7a1 1 0 0 0 0 -1.728l-12 -7a1 1 0 0 0 -1.504 .864z",key:"svg-0"}],["path",{d:"M20 4a1 1 0 0 1 .993 .883l.007 .117v14a1 1 0 0 1 -1.993 .117l-.007 -.117v-14a1 1 0 0 1 1 -1z",key:"svg-1"}]],GQe=xt("filled","player-skip-forward-filled","PlayerSkipForwardFilled",WQe),ote=ro.withProps({component:gl,variant:"light",size:"xs",fw:"500"}),XQe=()=>{const{portalProps:e}=Tm();return y.jsx(V0,{...e,children:y.jsx(Gr,{css:{position:"absolute",margin:"0",padding:"0",top:"0",left:"0",width:"100%",height:"100%",border:"2px solid",borderColor:"mantine.colors.orange[6]",pointerEvents:"none",md:{borderWidth:4}}})})};function KQe(){const e=Yt(),{isParallel:r,hasNext:n,hasPrevious:o,currentStep:a,totalSteps:i}=Ma(l=>{const s=l.xyedges.findIndex(c=>c.id===l.activeWalkthrough?.stepId);return{isParallel:Ta(l.activeWalkthrough?.parallelPrefix),hasNext:s0,currentStep:s+1,totalSteps:l.xyedges.length}});return y.jsxs(Oa,{propagate:!0,children:[y.jsx(Kee,{variant:"light",size:"xs",color:"orange",mr:"sm",onClick:l=>{l.stopPropagation(),e.stopWalkthrough()},rightSection:y.jsx(UQe,{size:10}),children:"Stop"},"stop-walkthrough"),y.jsx(ote,{disabled:!o,onClick:()=>e.walkthroughStep("previous"),leftSection:y.jsx(YQe,{size:10}),children:"Previous"},"prev"),y.jsx(Qs,{component:nn,size:"md",radius:"sm",variant:r?"gradient":"transparent",gradient:{from:"red",to:"orange",deg:90},rightSection:y.jsx(nn,{className:me({fontSize:"xxs",display:r?"block":"none"}),children:"parallel"}),className:me({alignItems:"baseline"}),children:y.jsxs(kGe,{children:[a," / ",i]})},"step-badge"),y.jsx(ote,{disabled:!n,onClick:()=>e.walkthroughStep("next"),rightSection:y.jsx(GQe,{size:10}),children:"Next"},"next"),r&&y.jsx(XQe,{},"parallel-frame")]})}const ate=S.memo(()=>{const e=am(),r=jQ(),n=cS(aZe,{input:{viewModel:r}});return S.useEffect(()=>{const o=n.on("navigateTo",a=>{e.getSnapshot().context.view.id!==a.viewId&&e.send({type:"navigate.to",viewId:a.viewId})});return()=>o.unsubscribe()},[n,e]),Qj(()=>{n.send({type:"update.inputs",inputs:{viewModel:r}})},[r]),y.jsx(Gf,{css:{alignItems:"flex-start",pointerEvents:"none",position:"absolute",top:"0",left:"0",margin:"0",width:"100%",gap:"xxs",maxWidth:["calc(100vw)","calc(100cqw)"],"@/sm":{margin:"xs",gap:"xs",width:"max-content",maxWidth:["calc(100vw - 2 * {spacing.md})","calc(100cqw - 2 * {spacing.md})"]}},children:y.jsxs(iZe,{value:n,children:[y.jsx(ZQe,{actor:n}),y.jsx(HQe,{}),y.jsx(uQe,{})]})})});ate.displayName="NavigationPanel";const ZQe=({actor:e})=>{const r=Cn(e,o=>o.hasTag("active")),n=Tm();return y.jsxs(br,{offset:{mainAxis:4},opened:r,position:"bottom-start",trapFocus:!0,...n,clickOutsideEvents:["pointerdown","mousedown","click"],onDismiss:()=>e.send({type:"dropdown.dismiss"}),children:[y.jsx(QQe,{actor:e}),r&&y.jsx(KZe,{})]})},QQe=({actor:e})=>{const r=Ma(n=>n.activeWalkthrough!==null);return y.jsx(ym,{children:y.jsx(Eu,{children:y.jsx(nn,{layout:!0,className:Uo({layerStyle:"likec4.panel",position:"relative",gap:"xs",cursor:"pointer",paddingRight:"md",pointerEvents:"all",width:"100%"}),onMouseLeave:()=>e.send({type:"breadcrumbs.mouseLeave"}),children:y.jsx(Oa,{mode:"popLayout",children:r?y.jsx(KQe,{}):y.jsx(IZe,{})})})})})},uR=me({position:"absolute",bottom:"0",right:"0",padding:"2",margin:"0",width:"min-content",height:"min-content"}),JQe=me({"--ai-radius":"0px",_noReduceGraphics:{"--ai-radius":"{radii.md}"}}),eJe=me({cursor:"default",userSelect:"none",minWidth:200,maxWidth:"calc(100vw - 20px)",backgroundColor:"mantine.colors.body/80",sm:{minWidth:300,maxWidth:"65vw"},md:{maxWidth:"40vw"},_dark:{backgroundColor:"mantine.colors.dark[6]/80"}}),tJe=me({padding:"xxs"}),rJe=me({backgroundColor:"transparent",transition:"all 100ms ease-in",_hover:{transition:"all 120ms ease-out",backgroundColor:"mantine.colors.primary[2]/50"},_dark:{_hover:{backgroundColor:"mantine.colors.dark[3]/40"}}});me({fill:"var(--likec4-palette-fill)",stroke:"var(--likec4-palette-stroke)",strokeWidth:1,overflow:"visible",width:"100%",height:"auto",filter:` drop-shadow(0 2px 3px rgb(0 0 0 / 22%)) drop-shadow(0 1px 8px rgb(0 0 0 / 10%)) - `});const CQe=ye({fontWeight:500,letterSpacing:"0.2px",paddingTop:"0",paddingBottom:"0",textTransform:"lowercase",transition:"all 150ms ease-in-out",cursor:"pointer","--badge-radius":"2px","--badge-fz":"9.5px","--badge-padding-x":"3px","--badge-height":"13.5px","--badge-lh":"1","--badge-bg":"var(--likec4-palette-fill)","--badge-color":"var(--likec4-palette-hiContrast)"});/** + `});const nJe=me({fontWeight:500,letterSpacing:"0.2px",paddingTop:"0",paddingBottom:"0",textTransform:"lowercase",transition:"all 150ms ease-in-out",cursor:"pointer","--badge-radius":"2px","--badge-fz":"9.5px","--badge-padding-x":"3px","--badge-height":"13.5px","--badge-lh":"1","--badge-bg":"var(--likec4-palette-fill)","--badge-color":"var(--likec4-palette-hiContrast)"});/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const TQe=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 16v.01",key:"svg-1"}],["path",{d:"M12 13a2 2 0 0 0 .914 -3.782a1.98 1.98 0 0 0 -2.414 .483",key:"svg-2"}]],RQe=yt("outline","help-circle","HelpCircle",TQe);/** + */const oJe=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 16v.01",key:"svg-1"}],["path",{d:"M12 13a2 2 0 0 0 .914 -3.782a1.98 1.98 0 0 0 -2.414 .483",key:"svg-2"}]],aJe=xt("outline","help-circle","HelpCircle",oJe);/** * @license @tabler/icons-react v3.35.0 - MIT * * This source code is licensed under the MIT license. * See the LICENSE file in the root directory of this source tree. - */const AQe=[["path",{d:"M7 7l10 10",key:"svg-0"}],["path",{d:"M17 8l0 9l-9 0",key:"svg-1"}]],NQe=yt("outline","arrow-down-right","ArrowDownRight",AQe),DQe=({value:e})=>{const{title:r,color:n="primary",shape:o="rectangle"}=e,[a,i]=E.useState(null),l=Wt(),s=300,c=200;return y.jsx(zw,{shadow:"none",px:"xs",py:"sm",className:Je(SQe),"data-likec4-color":n,onMouseEnter:()=>{i(null),l.highlightNotation(e)},onMouseLeave:()=>{i(null),l.unhighlightNotation()},children:y.jsxs(qr,{gap:"sm",align:"stretch",wrap:"nowrap",children:[y.jsx(Se,{flex:"0 0 70px",style:{position:"relative",width:70,height:lNe(70*(c/s),0)},children:y.jsx(gm,{data:{shape:o,width:s,height:c}})}),y.jsxs(ra,{gap:4,flex:1,children:[y.jsx(qr,{gap:4,flex:"0 0 auto",children:e.kinds.map(u=>y.jsx(Xs,{className:Je(CQe),onMouseEnter:()=>{i(u),l.highlightNotation(e,u)},onMouseLeave:()=>{i(null),l.highlightNotation(e)},opacity:tU(a)&&a!==u?.25:1,children:u},u))}),y.jsx(wt,{component:"div",fz:"sm",fw:500,lh:"1.25",style:{textWrap:"pretty"},children:r})]})]})})},PQe=e=>({id:e.view.id,notations:e.view.notation?.nodes??[],isVisible:!0}),$Qe=E.memo(()=>{const e=OC(c=>c.height),{id:r,notations:n,isVisible:o}=Da(PQe),[a,i]=yPe({key:"notation-webview-collapsed",defaultValue:!0}),l=n.length>0,s=wm();return y.jsxs(Pa,{children:[!l&&o&&y.jsx(cl.div,{initial:{opacity:.75,translateX:"50%"},animate:{opacity:1,translateX:0},exit:{translateX:"100%",opacity:.6},className:oR,children:y.jsx(fo,{label:"View has no notations",color:"orange",...s,children:y.jsx(ci,{size:"lg",variant:"light",color:"orange",radius:"md",children:y.jsx(Hee,{})})})},"empty"),l&&o&&a&&y.jsx(cl.div,{initial:{opacity:.75,translateX:"50%"},animate:{opacity:1,translateX:0},exit:{translateX:"100%",opacity:.6},className:oR,children:y.jsx(fo,{label:"Show notation",color:"dark",fz:"xs",...s,children:y.jsx(or,{size:"lg",variant:"default",color:"gray",className:kQe,onClick:()=>i(!1),children:y.jsx(RQe,{stroke:1.5})})})},"collapsed"),l&&o&&!a&&y.jsx(cl.div,{initial:{opacity:.75,scale:.2},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.25},className:Je("react-flow__panel",oR),style:{transformOrigin:"bottom right"},children:y.jsx(Nf,{radius:"sm",withBorder:!0,shadow:"lg",className:_Qe,children:y.jsxs(Jd,{defaultValue:"first",radius:"xs",children:[y.jsxs(V0,{children:[y.jsx(or,{size:"md",variant:"subtle",color:"gray",ml:2,style:{alignSelf:"center"},onClick:()=>i(!0),children:y.jsx(NQe,{stroke:2})}),y.jsx(Bf,{value:"first",fz:"xs",children:"Elements"}),y.jsx(Bf,{value:"second",fz:"xs",disabled:!0,children:"Relationships"})]}),y.jsx(Zs,{value:"first",className:EQe,hidden:a,children:y.jsx(ta,{viewportProps:{style:{maxHeight:`min(40vh, ${Math.max(e-60,50)}px)`}},children:y.jsx(ra,{gap:0,children:n.map((c,u)=>y.jsx(DQe,{value:c},u))})})})]})})},r)]})}),Yee=E.memo(()=>{const{enableControls:e,enableNotations:r,enableSearch:n,enableRelationshipDetails:o}=wr(),a=vEe(),i=UG(),l=vje();return y.jsxs(sG,{onReset:a,children:[e&&y.jsx(Tze,{children:y.jsx(Vee,{})}),i&&y.jsx(TXe,{overlaysActorRef:i}),r&&y.jsx($Qe,{}),n&&l&&y.jsx(hKe,{searchActorRef:l}),o&&y.jsx(wKe,{})]})});Yee.displayName="DiagramUI";function _m(e){return function(){return e}}const Wee=1e-12,aR=Math.PI,iR=2*aR,yp=1e-6,MQe=iR-yp;function Gee(e){this._+=e[0];for(let r=1,n=e.length;r=0))throw new Error(`invalid digits: ${e}`);if(r>15)return Gee;const n=10**r;return function(o){this._+=o[0];for(let a=1,i=o.length;ayp)if(!(Math.abs(p*c-u*d)>yp)||!i)this._append`L${this._x1=r},${this._y1=n}`;else{let g=o-l,b=a-s,x=c*c+u*u,w=g*g+b*b,k=Math.sqrt(x),C=Math.sqrt(f),_=i*Math.tan((aR-Math.acos((x+f-w)/(2*k*C)))/2),T=_/C,R=_/k;Math.abs(T-1)>yp&&this._append`L${r+T*d},${n+T*p}`,this._append`A${i},${i},0,0,${+(p*g>d*b)},${this._x1=r+R*c},${this._y1=n+R*u}`}}arc(r,n,o,a,i,l){if(r=+r,n=+n,o=+o,l=!!l,o<0)throw new Error(`negative radius: ${o}`);let s=o*Math.cos(a),c=o*Math.sin(a),u=r+s,d=n+c,p=1^l,f=l?a-i:i-a;this._x1===null?this._append`M${u},${d}`:(Math.abs(this._x1-u)>yp||Math.abs(this._y1-d)>yp)&&this._append`L${u},${d}`,o&&(f<0&&(f=f%iR+iR),f>MQe?this._append`A${o},${o},0,1,${p},${r-s},${n-c}A${o},${o},0,1,${p},${this._x1=u},${this._y1=d}`:f>yp&&this._append`A${o},${o},0,${+(f>=aR)},${p},${this._x1=r+o*Math.cos(i)},${this._y1=n+o*Math.sin(i)}`)}rect(r,n,o,a){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+n}h${o=+o}v${+a}h${-o}Z`}toString(){return this._}}function LQe(e){let r=3;return e.digits=function(n){if(!arguments.length)return r;if(n==null)r=null;else{const o=Math.floor(n);if(!(o>=0))throw new RangeError(`invalid digits: ${n}`);r=o}return e},()=>new IQe(r)}function zQe(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Xee(e){this._context=e}Xee.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;default:this._context.lineTo(e,r);break}}};function BQe(e){return new Xee(e)}function jQe(e){return e[0]}function FQe(e){return e[1]}function HQe(e,r){var n=_m(!0),o=null,a=BQe,i=null,l=LQe(s);e=typeof e=="function"?e:e===void 0?jQe:_m(e),r=typeof r=="function"?r:r===void 0?FQe:_m(r);function s(c){var u,d=(c=zQe(c)).length,p,f=!1,g;for(o==null&&(i=a(g=l())),u=0;u<=d;++u)!(uWee){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);o=(o*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,a=(a*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>Wee){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,d=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*u+e._x1*e._l23_2a-r*e._l12_2a)/d,l=(l*u+e._y1*e._l23_2a-n*e._l12_2a)/d}e._context.bezierCurveTo(o,a,i,l,e._x2,e._y2)}function Zee(e,r){this._context=e,this._alpha=r}Zee.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,r){if(e=+e,r=+r,this._point){var n=this._x2-e,o=this._y2-r;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;break;case 2:this._point=3;default:Kee(this,e,r);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=r}},(function e(r){function n(o){return r?new Zee(o,r):new sR(o,0)}return n.alpha=function(o){return e(+o)},n})(.5);function Qee(e,r){this._context=e,this._alpha=r}Qee.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,r){if(e=+e,r=+r,this._point){var n=this._x2-e,o=this._y2-r;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+o*o,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Kee(this,e,r);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=r}};const qQe=(function e(r){function n(o){return r?new Qee(o,r):new cR(o,0)}return n.alpha=function(o){return e(+o)},n})(.5);class ia{constructor(r,n){this.x=r,this.y=n}static create(r){return new ia(r.x,r.y)}static add(r,n){return{x:r.x+n.x,y:r.y+n.y}}static sub(r,n){return{x:r.x-n.x,y:r.y-n.y}}static mul(r,n){return{x:r.x*n,y:r.y*n}}static dot(r,n){return r.x*n.x+r.y*n.y}static cross(r,n){return new ia(r.y*n.x-r.x*n.y,r.x*n.y-r.y*n.x)}static setLength(r,n){return bp(r).setLength(n)}add(r){return new ia(this.x+r.x,this.y+r.y)}sub(r){return new ia(this.x-r.x,this.y-r.y)}mul(r){return new ia(this.x*r,this.y*r)}dot(r){return this.x*r.x+this.y*r.y}cross(r){return new ia(this.y*r.x-this.x*r.y,this.x*r.y-this.y*r.x)}abs(){return Math.sqrt(this.x*this.x+this.y*this.y)}setLength(r){return this.mul(r/this.abs())}}function bp(e){return ia.create(e)}const UQe=".react-flow__edge.selected",VQe=ye({overflow:"visible",position:"absolute",pointerEvents:"none",top:"0",left:"0",mixBlendMode:"normal"}),YQe=ye({fill:"var(--likec4-palette-relation-stroke)",stroke:"var(--likec4-palette-relation-stroke)",fillOpacity:.75,strokeWidth:1,cursor:"grab",pointerEvents:"auto",visibility:"hidden",_hover:{fillOpacity:1,stroke:"mantine.colors.primary.filledHover",strokeWidth:10,transition:"stroke 100ms ease-out, stroke-width 100ms ease-out"},[`:where(${UQe}, [data-likec4-hovered='true']) &`]:{visibility:"visible",transition:"fill-opacity 150ms ease-out, stroke 150ms ease-out, stroke-width 150ms ease-out",transitionDelay:"50ms",fillOpacity:1,strokeWidth:5}}),WQe=ye({cursor:"grabbing","& *":{cursor:"grabbing !important"},"& .react-flow__edge-interaction":{cursor:"grabbing !important"}});function GQe(e){const{width:r,height:n}=Wn(e),{x:o,y:a}=e.internals.positionAbsolute;return{x:o+r/2,y:a+n/2}}function r4(e,r,n=0){const o=GQe(e),{width:a,height:i}=Wn(e),l=new ia(r.x,r.y).sub(o),s=(n+(a||0)/2)/l.x,c=(n+(i||0)/2)/l.y,u=Math.min(Math.abs(s),Math.abs(c));return bp(l).mul(u).add(o)}const XQe=HQe().curve(qQe).x(e=>e.x).y(e=>e.y),KQe=LT(e=>{const[r,n]=E.useState(!1),o=IC(),a=HVe(),i=Wt(),{enableNavigateTo:l,enableEdgeEditing:s}=wr(),{id:c,source:u,sourceX:d,sourceY:p,target:f,targetX:g,targetY:b,selected:x=!1,data:{id:w,points:k,hovered:C=!1,active:_=!1,labelBBox:T,labelXY:R,...A},style:D={}}=e,N=l?A.navigateTo:void 0,$=mt(wQ(u),`source node ${u} not found`),M=mt(wQ(f),`target node ${f} not found`),j=Sa(A.controlPoints)||!_y($.internals.positionAbsolute,$.data)||!_y(M.internals.positionAbsolute,M.data);let L=A.controlPoints??SQ(e.data),Y;if(j){const W={x:d,y:p},X={x:g,y:b},Z=6,oe=A.dir==="back"?[X,r4(M,pf(L)??W,Z),...L,r4($,qd(L)??X,Z),W]:[W,r4($,pf(L)??X,Z),...L,r4(M,qd(L)??W,Z),X];Y=mt(XQe(oe))}else Y=tYe(k);let O=T?.x??0,U=T?.y??0;const[I,q]=E.useState({x:R?.x??O,y:R?.y??U}),V=E.useRef(null);E.useEffect(()=>{const W=V.current;if(!W)return;const X=W.getPointAtLength(W.getTotalLength()*.5),Z={x:yi(X.x),y:yi(X.y)};q(oe=>_y(oe,Z)?oe:Z)},[Y]),gEe(()=>{!T||T.x===I.x&&T.y===I.y||i.updateEdgeData(c,{labelXY:{x:I.x,y:I.y}})},[I],50,300),(j||r)&&(O=I.x,U=I.y);const G=(W,X,Z)=>{const{addSelectedEdges:oe}=o.getState();oe([c]);const ee=i.cancelSaveManualLayout();X.stopPropagation();let re=!1,pe={x:X.clientX,y:X.clientY};const Ce=be=>{const Oe={x:be.clientX,y:be.clientY};if(!_y(pe,Oe)){n(!0),re||(i.send({type:"xyflow.edgeEditingStarted",edge:e.data}),re=!0),pe=Oe;const{x:Xe,y:Ge}=a.screenToFlowPosition(pe,{snapToGrid:!1}),_t=L.slice();_t[W]={x:yi(Xe),y:yi(Ge)},i.updateEdgeData(c,{controlPoints:_t})}be.stopPropagation()},ce=be=>{Z.removeEventListener("pointermove",Ce,{capture:!0}),re&&be.stopPropagation(),(re||ee)&&i.scheduleSaveManualLayout(),n(!1)},de=be=>{be.stopPropagation(),be.preventDefault()};Z.addEventListener("pointermove",Ce,{capture:!0}),Z.addEventListener("pointerup",ce,{once:!0,capture:!0}),Z.addEventListener("click",de,{capture:!0,once:!0})},F=(W,X,Z)=>{if(L.length<=1)return;const oe=ee=>{const re=L.slice();re.splice(W,1),ee.stopPropagation(),setTimeout(()=>{i.updateEdgeData(c,{controlPoints:re}),i.scheduleSaveManualLayout()},10)};Z.addEventListener("pointerup",oe,{once:!0,capture:!0}),X.stopPropagation()},J=(W,X)=>{const{domNode:Z}=o.getState();if(!(!Z||X.pointerType!=="mouse"))switch(X.button){case 0:G(W,X,Z);break;case 2:F(W,X,Z);break}},Q=W=>{const{domNode:X}=o.getState();if(!X||W.pointerType!=="mouse"||W.button!==2)return;const Z=[new ia(d,p),...L.map(bp)||[],new ia(g,b)];let oe={x:W.clientX,y:W.clientY};const ee=bp(a.screenToFlowPosition(oe,{snapToGrid:!1}));let re=0,pe=1/0;for(let ce=0;ce{W.stopPropagation(),i.navigateTo(N)}})})})]}),s&&L.length>0&&(x||C||r)&&y.jsx(Mq,{children:y.jsx(Ry,{component:"svg",className:VQe,...e,style:{...D,zIndex:z},children:y.jsx("g",{onContextMenu:W=>{W.preventDefault(),W.stopPropagation()},children:L.map((W,X)=>y.jsx("circle",{onPointerDown:Z=>J(X,Z),className:Je("nodrag nopan",YQe),cx:Math.round(W.x),cy:Math.round(W.y),r:3},"controlPoints"+w+"#"+X))})})})]})}),n4=16;function ZQe(e){const r=Wt(),{navigateTo:n}=e.data,o=e.source===e.target,a=e.sourceX>e.targetX,[i]=_x({sourceX:e.sourceX,sourceY:e.sourceY,sourcePosition:e.sourcePosition,targetX:e.targetX,targetY:e.targetY,targetPosition:e.targetPosition,...o&&{offset:30,borderRadius:16}});let l=e.sourceX;switch(!0){case o:l=e.sourceX+24+n4;break;case a:l=e.sourceX-n4;break;default:l=e.sourceX+n4;break}return y.jsxs(Ry,{...e,children:[y.jsx(Ay,{edgeProps:e,svgPath:i}),y.jsx(j2,{edgeProps:e,labelPosition:{x:l,y:e.sourceY+(o?0:n4),translate:a?"translate(-100%, 0)":void 0},children:y.jsx(Ty,{edgeProps:e,children:n&&y.jsx(B2,{onClick:s=>{s.stopPropagation(),r.navigateTo(n)}})})})]})}const Jee=({extraButtons:e,...r})=>{const{enableNavigateTo:n,enableRelationshipBrowser:o}=wr(),a=Wt(),{navigateTo:i,modelFqn:l}=r.data;let s=E.useMemo(()=>{const c=[];return i&&n&&c.push({key:"navigate",icon:y.jsx(gi,{}),onClick:u=>{u.stopPropagation(),a.navigateTo(i,r.data.id)}}),o&&c.push({key:"relationships",icon:y.jsx(Ny,{}),onClick:u=>{u.stopPropagation(),a.openRelationshipsBrowser(l)}}),c},[n,o,a,l,i,r.data.id]);return e&&To(e,1)&&(s=[...s,...e]),y.jsx(H2,{...r,buttons:s})},QQe=({extraButtons:e,...r})=>{const{enableNavigateTo:n,enableRelationshipBrowser:o}=wr(),a=Wt(),{id:i,navigateTo:l,modelFqn:s}=r.data;let c=E.useMemo(()=>{const u=[];return l&&n&&u.push({key:"navigate",icon:y.jsx(gi,{}),onClick:d=>{d.stopPropagation(),a.navigateTo(l,i)}}),o&&s&&u.push({key:"relationships",icon:y.jsx(Ny,{}),onClick:d=>{d.stopPropagation(),a.openRelationshipsBrowser(s)}}),u},[n,o,a,s,l,i]);return e&&To(e,1)&&(c=[...c,...e]),y.jsx(H2,{...r,buttons:c})};function JQe({data:{hovered:e=!1},icon:r,onClick:n}){const o=t9(e,e?130:0)[0]&&e;return y.jsx(Qr,{initial:!1,animate:{scale:o?1.2:1,x:o?-1:0,y:o?-1:0},whileHover:{scale:1.4,x:-3,y:-1},className:"likec4-compound-navigation compound-action",whileTap:{scale:1},onClick:cn,children:y.jsx(or,{className:Je("nodrag nopan",YJ({delay:e&&!o}),E2({variant:"transparent"})),onClick:n,onDoubleClick:cn,children:r??y.jsx(gi,{stroke:2})})})}const ete=e=>{const{enableNavigateTo:r}=wr(),n=Wt(),{navigateTo:o}=e.data;return o&&r?y.jsx(JQe,{onClick:a=>{a.stopPropagation(),n.navigateTo(o,e.id)},...e}):null},tte=["primary","secondary","muted"],rte=fo.withProps({color:"dark",fz:"xs",openDelay:400,closeDelay:150,label:"",children:null,offset:4,withinPortal:!1});function o4(e,r){const{onChange:n}=lc(),o=Wt(),[a,i]=E.useState(null),l=it(c=>{if(c===null){nt(a,"originalColor is null"),i(null),o.updateNodeData(r.data.id,{color:a});return}i(u=>u??r.data.color),o.updateNodeData(r.data.id,{color:c})}),s=it(c=>{n?.({change:{op:"change-element-style",style:c,targets:[e]}});const{shape:u,color:d,...p}=c;o.updateNodeData(r.data.id,{...u&&{shape:u},...d&&{color:d},style:p})});return{elementColor:a??r.data.color,onColorPreview:l,onChange:s}}function a4({fqn:e}){const r=Wt();return y.jsx(rte,{label:"Browse relationships",children:y.jsx(or,{size:"sm",variant:"subtle",color:"gray",onClick:n=>{n.stopPropagation(),r.openRelationshipsBrowser(e)},children:y.jsx(Ny,{stroke:2,style:{width:"72%",height:"72%"}})})})}function i4(e){const{onOpenSource:r}=lc();return r?y.jsx(rte,{label:"Open source",children:y.jsx(or,{size:"sm",variant:"subtle",color:"gray",onClick:n=>{n.stopPropagation(),e.elementId?r?.({element:e.elementId}):e.deploymentId&&r?.({deployment:e.deploymentId})},children:y.jsx(fm,{stroke:1.8,style:{width:"70%"}})})}):null}function nte(){const e=E.useContext(W0);e||console.error("No LikeC4ModelContext found");const r=e?.$styles??TI.DEFAULT,[n,o]=E.useState(r);return E.useEffect(()=>{o(a=>a.equals(r)?a:r)},[r]),n}function l4({elementColor:e,elementOpacity:r,onColorPreview:n,isOpacityEditable:o=!1,onChange:a,...i}){const{theme:l}=nte();return y.jsxs(mr,{clickOutsideEvents:["pointerdown","mousedown","click"],position:"right-end",offset:2,withinPortal:!1,...i,children:[y.jsx(fu,{children:y.jsx(Zn,{variant:"subtle",color:"gray",size:"compact-xs",px:3,children:y.jsx(B0,{color:l.colors[e].elements.fill,size:14,withShadow:!0,style:{color:"#fff",cursor:"pointer"}})})}),y.jsxs(Gs,{p:"xs",children:[y.jsx(eJe,{theme:l,elementColor:e,onColorPreview:n,onChange:s=>a({color:s})}),o&&y.jsxs(y.Fragment,{children:[y.jsx(N7,{h:"xs"}),y.jsx(If,{label:"opacity",labelPosition:"left"}),y.jsx(N7,{h:"xs"}),y.jsx(tJe,{elementOpacity:r,onOpacityChange:s=>{a({opacity:s})}})]})]})]})}function eJe({theme:e,elementColor:r,onColorPreview:n,onChange:o}){const a=l=>s=>{s.stopPropagation(),n(null),r!==l&&o(l)},i=VE(e.colors).filter(l=>!tte.includes(l));return y.jsx(ra,{gap:2,onMouseLeave:()=>n(null),children:y.jsxs(Qd,{openDelay:1e3,closeDelay:300,children:[y.jsx(Mf,{maw:120,gap:"6",justify:"flex-start",align:"flex-start",direction:"row",wrap:"wrap",children:tte.map(l=>y.jsx(fo,{label:l,fz:"xs",color:"dark",offset:2,withinPortal:!1,transitionProps:{duration:140,transition:"slide-up"},children:y.jsx(B0,{color:e.colors[l].elements.fill,size:18,withShadow:!0,onMouseEnter:()=>n(l),onClick:a(l),style:{color:"#fff",cursor:"pointer"},children:r===l&&y.jsx(rW,{style:{width:Ae(10),height:Ae(10)}})})},l))}),y.jsx(Mf,{mt:"sm",maw:110,gap:"6",justify:"flex-start",align:"flex-start",direction:"row",wrap:"wrap",children:i.map(l=>y.jsx(fo,{label:l,fz:"xs",color:"dark",offset:2,transitionProps:{duration:140,transition:"slide-up"},children:y.jsx(B0,{color:e.colors[l].elements.fill,size:18,onMouseEnter:()=>n(l),onClick:a(l),style:{color:"#fff",cursor:"pointer"},children:r===l&&y.jsx(rW,{style:{width:Ae(10),height:Ae(10)}})})},l))})]})})}function tJe({elementOpacity:e=100,onOpacityChange:r}){const[n,o]=E.useState(e);return qj(()=>{o(e)},[e]),y.jsx(A7,{size:"sm",color:"dark",value:n,onChange:o,onChangeEnd:r})}const rJe=ye({color:"mantine.colors.dimmed",fontSize:"10px",fontWeight:600,maxWidth:"220px",cursor:"default",userSelect:"all",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}),nJe=()=>Da(e=>e.xynodes.filter(r=>r.selected).length);function s4({title:e,children:r,nodeProps:n,...o}){const a=nJe(),{selected:i=!1,dragging:l=!1,data:{hovered:s=!1}}=n,c=s&&a===0||i&&a===1;let u=150;c?i?u=100:u=1e3:a>0&&(u=50);const[d]=t9(c,u);return d?y.jsx(Bq,{isVisible:!l,offset:4,...o,children:y.jsx(Nf,{className:Je("nodrag","nopan"),px:5,pb:8,pt:4,radius:"sm",shadow:"xl",onDoubleClickCapture:cn,onPointerDown:cn,onClick:cn,onDoubleClick:cn,withBorder:!0,children:y.jsxs(ra,{gap:"6px",children:[y.jsx(Se,{px:"4px",children:y.jsx(wt,{className:rJe,children:e})}),y.jsx(qr,{gap:4,children:r})]})})}):null}function oJe(e){const{enableVscode:r,enableRelationshipBrowser:n}=wr(),{data:{style:o,modelFqn:a}}=e,{elementColor:i,onColorPreview:l,onChange:s}=o4(a,e),c=o?.opacity??100;return y.jsxs(s4,{nodeProps:e,title:a,align:"start",children:[y.jsx(l4,{elementColor:i,onColorPreview:l,isOpacityEditable:!0,elementOpacity:c,onChange:s,position:"left-start"}),y.jsx(ote,{elementBorderStyle:o?.border??(c<99?"dashed":"none"),onChange:s}),r&&y.jsx(i4,{elementId:a}),n&&y.jsx(a4,{fqn:a})]})}function aJe(e){const{enableVscode:r,enableRelationshipBrowser:n}=wr(),{data:{deploymentFqn:o,style:a,modelFqn:i}}=e,{elementColor:l,onColorPreview:s,onChange:c}=o4(o,e);return y.jsxs(s4,{nodeProps:e,title:o,align:"start",children:[y.jsx(l4,{elementColor:l,onColorPreview:s,isOpacityEditable:!0,elementOpacity:a?.opacity,onChange:c,position:"left-start"}),y.jsx(ote,{elementBorderStyle:a?.border,onChange:c}),r&&y.jsx(i4,{deploymentId:o}),n&&i&&y.jsx(a4,{fqn:i})]})}function ote({elementBorderStyle:e="dashed",onChange:r}){const[n,o]=E.useState(e);return E.useEffect(()=>{o(e)},[e]),y.jsx(Se,{children:y.jsx(q0,{size:"xs",fullWidth:!0,withItemsBorders:!1,value:n,onChange:a=>{const i=a;o(i),r({border:i})},styles:{label:{paddingTop:"0.5",paddingBottom:"0.5"}},data:[{label:"Solid",value:"solid"},{label:"Dashed",value:"dashed"},{label:"Dotted",value:"dotted"},{label:"None",value:"none"}]})})}function iJe(e){const{enableVscode:r,enableRelationshipBrowser:n}=wr(),{data:{shape:o,modelFqn:a}}=e,{elementColor:i,onColorPreview:l,onChange:s}=o4(a,e);return y.jsxs(s4,{nodeProps:e,title:a,align:"start",children:[y.jsx(ate,{elementShape:o,onChange:s}),y.jsx(l4,{elementColor:i,onColorPreview:l,onChange:s,position:"right-end"}),r&&y.jsx(i4,{elementId:a}),n&&y.jsx(a4,{fqn:a})]})}function lJe(e){const{enableVscode:r,enableRelationshipBrowser:n}=wr(),{data:{shape:o,deploymentFqn:a,modelFqn:i}}=e,{elementColor:l,onColorPreview:s,onChange:c}=o4(a,e);return y.jsxs(s4,{nodeProps:e,title:a,align:"start",children:[y.jsx(ate,{elementShape:o,onChange:c}),y.jsx(l4,{elementColor:l,onColorPreview:s,onChange:c,position:"right-end"}),r&&y.jsx(i4,{deploymentId:a}),n&&i&&y.jsx(a4,{fqn:i})]})}function ate({elementShape:e,onChange:r}){return y.jsxs(ho,{openDelay:300,closeDelay:450,floatingStrategy:"fixed",closeOnClickOutside:!0,clickOutsideEvents:["pointerdown","mousedown","click"],closeOnEscape:!0,closeOnItemClick:!1,position:"top-start",offset:2,styles:{item:{padding:"calc(var(--mantine-spacing-xs) / 1.5) var(--mantine-spacing-xs)"}},withinPortal:!1,children:[y.jsx(Fw,{children:y.jsx(Zn,{variant:"light",color:"gray",size:"compact-xs",rightSection:y.jsx(IT,{size:12}),children:e})}),y.jsx(F0,{onDoubleClick:cn,onClick:cn,children:Iye.map(n=>y.jsx(H0,{fz:12,fw:500,value:n,rightSection:e===n?y.jsx(TQ,{size:12}):void 0,onClick:o=>{o.stopPropagation(),r({shape:n})},children:n},n))})]})}const c4={top:"50%",left:"50%",right:"unset",bottom:"unset",visibility:"hidden",width:5,height:5,transform:"translate(-50%, -50%)"},Ly=()=>y.jsxs(y.Fragment,{children:[y.jsx(uo,{type:"target",position:tt.Top,style:c4}),y.jsx(uo,{type:"target",position:tt.Left,style:c4}),y.jsx(uo,{type:"source",position:tt.Right,style:c4}),y.jsx(uo,{type:"source",position:tt.Bottom,style:c4})]});function uR(e){const{enableElementDetails:r}=wr(),n=Wt(),o=e.data.modelFqn;return!r||!o?null:y.jsx(FT,{...e,onClick:a=>{a.stopPropagation(),n.openElementDetails(o,e.id)}})}function ite(e){const{enableElementDetails:r}=wr(),n=Wt(),o=e.data.modelFqn;return!r||!o?null:y.jsx(WJ,{...e,onClick:a=>{a.stopPropagation(),n.openElementDetails(o,e.id)}})}function sJe(e){const{enableElementTags:r,enableReadOnly:n}=wr();return y.jsxs(mm,{nodeProps:e,children:[y.jsx(gm,{...e}),y.jsx(ml,{...e}),r&&y.jsx(Ey,{...e}),y.jsx(Jee,{...e}),y.jsx(uR,{...e}),!n&&y.jsx(iJe,{...e}),y.jsx(Ly,{})]})}function cJe(e){const{enableElementTags:r,enableReadOnly:n}=wr();return y.jsxs(mm,{nodeProps:e,children:[y.jsx(gm,{...e}),y.jsx(ml,{...e}),r&&y.jsx(Ey,{...e}),y.jsx(QQe,{...e}),y.jsx(uR,{...e}),!n&&y.jsx(lJe,{...e}),y.jsx(Ly,{})]})}function uJe(e){const{enableElementDetails:r,enableReadOnly:n}=wr();return y.jsxs(Dy,{nodeProps:e,children:[y.jsx(Py,{...e}),y.jsx(ete,{...e}),r&&y.jsx(ite,{...e}),!n&&y.jsx(oJe,{...e}),y.jsx(Ly,{})]})}function dJe(e){const{enableElementDetails:r,enableReadOnly:n}=wr();return y.jsxs(Dy,{nodeProps:e,children:[y.jsx(Py,{...e}),y.jsx(ete,{...e}),r&&y.jsx(ite,{...e}),!n&&y.jsx(aJe,{...e}),y.jsx(Ly,{})]})}function pJe(e){return y.jsxs(Dy,{nodeProps:e,children:[y.jsx(Py,{...e}),y.jsx(Ly,{})]})}const hJe={left:tt.Left,right:tt.Right,top:tt.Top,bottom:tt.Bottom},fJe=({data:e,port:r})=>y.jsxs(y.Fragment,{children:[y.jsx(Ur,{"data-likec4-color":e.color,className:ye({position:"absolute",backgroundColor:"var(--likec4-palette-fill)",rounded:"xs",width:{base:"5px",_whenHovered:"7px",_whenSelected:"7px"},transition:"fast",translateX:"-1/2",translateY:"-1/2",translate:"auto"}),style:{top:r.cy,left:r.cx,height:r.height}}),y.jsx(uo,{id:r.id,type:r.type,position:hJe[r.position],style:{top:r.cy-3,left:r.cx-3,width:6,height:6,right:"unset",bottom:"unset",visibility:"hidden",transform:r.position==="left"?"translate(-150%, 0)":"translate(100%, 0)"}})]}),mJe=e=>Sa(e.modelFqn);function gJe(e){const r=e.data,{positionAbsoluteY:n,data:{viewHeight:o,hovered:a=!1,ports:i}}=e;return y.jsxs(y.Fragment,{children:[y.jsx(Ur,{"data-likec4-color":"gray",className:ye({position:"absolute",rounded:"xs",top:"1",pointerEvents:"none",transition:"fast",translateX:"-1/2",translate:"auto"}),style:{backgroundColor:"var(--likec4-palette-stroke)",opacity:a?.6:.4,left:"50%",width:a?3:2,height:o-n,zIndex:-1,pointerEvents:"none"}}),y.jsxs(mm,{nodeProps:e,children:[y.jsx(gm,{...e}),y.jsx(ml,{...e}),mJe(r)&&y.jsxs(y.Fragment,{children:[y.jsx(Jee,{...e,data:r}),y.jsx(uR,{...e,data:r})]})]}),i.map(l=>y.jsx(fJe,{port:l,data:e.data},l.id))]})}function yJe(e){return y.jsx(Ur,{"data-likec4-color":e.data.color,css:{width:"100%",height:"100%",border:"default",rounded:"sm",borderWidth:1,"--_color":{base:"var(--likec4-palette-stroke)",_dark:"[color-mix(in srgb, var(--likec4-palette-hiContrast) 40%, var(--likec4-palette-fill))]"},borderColor:"[var(--_color)/30]",backgroundColor:"var(--likec4-palette-fill)/15",pointerEvents:"none",paddingLeft:"2",paddingTop:"0.5",fontSize:"xs",fontWeight:"bold",letterSpacing:".75px",color:"[var(--_color)/75]"},children:"PARALLEL"})}const vp={ElementNode:sJe,DeploymentNode:cJe,CompoundElementNode:uJe,CompoundDeploymentNode:dJe,ViewGroupNode:pJe,SequenceActorNode:gJe,SequenceParallelArea:yJe},lte={RelationshipEdge:KQe,SequenceStepEdge:ZQe};class Em{static LeftPadding=40;static RightPadding=40;static TopPadding=55;static BottomPadding=40;id;minX=1/0;minY=1/0;maxX=-1/0;maxY=-1/0;get positionAbsolute(){return{x:this.minX,y:this.minY}}set positionAbsolute(r){const n=Math.round(r.x),o=Math.round(r.y);this.maxX+=n-this.minX,this.maxY+=o-this.minY,this.minX=n,this.minY=o}get dimensions(){return{width:this.maxX-this.minX,height:this.maxY-this.minY}}get position(){const r=this.positionAbsolute;if(!this.parent)return r;const n=this.parent.positionAbsolute;return{x:r.x-n.x,y:r.y-n.y}}constructor(r,n=null){this.id=r.id,this.positionAbsolute=n?{x:r.position.x+n.minX,y:r.position.y+n.minY}:r.position;const{width:o,height:a}=Wn(r);this.maxX=this.minX+Math.ceil(o),this.maxY=this.minY+Math.ceil(a),n&&n.children.push(this)}}class dR extends Em{constructor(r,n=null){super(r,n),this.parent=n}children=[]}class bJe extends Em{constructor(r,n=null){super(r,n),this.parent=n}}function ste(e,r){const{parentLookup:n,nodeLookup:o}=e.getState(),a=new Map,i=g=>{const b=[];let x=o.get(g)?.parentId,w;for(;x&&(w=o.get(x));)b.push(w.id),x=w.parentId;return b},l=new Set(r.flatMap(i)),s=[...o.values()].flatMap(g=>g.parentId?[]:{xynode:g,parent:null});for(;s.length>0;){const{xynode:g,parent:b}=s.shift();if(!r.includes(g.id)&&g.type!=="element"&&g.type!=="deployment"&&l.has(g.id)){const x=new dR(g,b);a.set(g.id,x),n.get(g.id)?.forEach(w=>{s.push({xynode:w,parent:x})})}else a.set(g.id,new bJe(g,b))}const c=[...a.values()];u(c);function u(g){for(const b of g){if(!(b instanceof dR))continue;u(b.children);const x={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};for(const w of b.children)x.minX=Math.min(x.minX,w.minX),x.minY=Math.min(x.minY,w.minY),x.maxX=Math.max(x.maxX,w.maxX),x.maxY=Math.max(x.maxY,w.maxY);b.minX=x.minX-Em.LeftPadding,b.minY=x.minY-Em.TopPadding,b.maxX=x.maxX+Em.RightPadding,b.maxY=x.maxY+Em.BottomPadding}}function d(){u(c),e.getState().triggerNodeChanges(c.reduce((g,b)=>(g.push({id:b.id,type:"position",dragging:!1,position:b.position,positionAbsolute:b.positionAbsolute}),b instanceof dR&&g.push({id:b.id,type:"dimensions",setAttributes:!0,dimensions:b.dimensions}),g),[]))}let p=null;function f(){c.length!==0&&(p??=requestAnimationFrame(()=>{p=null;const{nodeLookup:g}=e.getState();for(const b of r){const x=mt(a.get(b)),w=mt(g.get(b));x.positionAbsolute=w.internals.positionAbsolute}d()}))}return{rects:a,updateXYFlowNodes:d,onMove:f}}function vJe(){const e=IC(),r=Wt(),n=E.useRef(void 0);return E.useMemo(()=>{let o=!1;const a={x:0,y:0};let i=!1;return{onNodeDragStart:(l,s)=>{o=r.cancelSaveManualLayout();const{nodeLookup:c}=e.getState(),u=yn(Array.from(c.values()),df(d=>d.draggable!==!1&&(d.dragging===!0||d.id===s.id||d.selected===!0)));To(u,1)&&(n.current=ste(e,Ro(u,d=>d.id))),a.x=l.clientX,a.y=l.clientY,i=!1},onNodeDrag:l=>{i=Math.abs(l.clientX-a.x)>4||Math.abs(l.clientY-a.y)>4,n.current?.onMove()},onNodeDragStop:l=>{i=Math.abs(l.clientX-a.x)>4||Math.abs(l.clientY-a.y)>4,(o||i)&&r.scheduleSaveManualLayout(),n.current=void 0}}},[e,r])}const xJe={relationship:lte.RelationshipEdge,"seq-step":lte.SequenceStepEdge},Cu={element:ic(vp.ElementNode),deployment:ic(vp.DeploymentNode),"compound-element":ic(vp.CompoundElementNode),"compound-deployment":ic(vp.CompoundDeploymentNode),"view-group":ic(vp.ViewGroupNode),"seq-actor":ic(vp.SequenceActorNode),"seq-parallel":ic(vp.SequenceParallelArea)};function wJe(e){return!e||iu(e)?Cu:{element:e.element??Cu.element,deployment:e.deployment??Cu.deployment,"compound-element":e.compoundElement??Cu["compound-element"],"compound-deployment":e.compoundDeployment??Cu["compound-deployment"],"view-group":e.viewGroup??Cu["view-group"],"seq-actor":e.seqActor??Cu["seq-actor"],"seq-parallel":e.seqParallel??Cu["seq-parallel"]}}const kJe=e=>({initialized:e.initialized.xydata&&e.initialized.xyflow,nodes:e.xynodes,edges:e.xyedges,pannable:e.pannable,zoomable:e.zoomable,fitViewPadding:e.fitViewPadding,enableFitView:e.features.enableFitView,enableReadOnly:e.features.enableReadOnly||e.toggledFeatures.enableReadOnly||e.dynamicViewVariant==="sequence"&&e.view._type==="dynamic",...!e.features.enableFitView&&{viewport:{x:-Math.min(e.view.bounds.x,0),y:-Math.min(e.view.bounds.y,0),zoom:1}}}),_Je=(e,r)=>e.initialized===r.initialized&&e.pannable===r.pannable&&e.zoomable===r.zoomable&&e.enableFitView===r.enableFitView&&e.enableReadOnly===r.enableReadOnly&&ut(e.fitViewPadding,r.fitViewPadding)&&Gn(e.nodes,r.nodes)&&Gn(e.edges,r.edges)&&Gn(e.viewport??null,r.viewport??null);function EJe({background:e="dots",nodesDraggable:r=!1,nodesSelectable:n=!1,reactFlowProps:o={},children:a,renderNodes:i}){const l=Wt(),{initialized:s,nodes:c,edges:u,enableReadOnly:d,enableFitView:p,...f}=Da(kJe,_Je),{onNodeContextMenu:g,onCanvasContextMenu:b,onEdgeContextMenu:x,onNodeClick:w,onEdgeClick:k,onCanvasClick:C,onCanvasDblClick:_}=lc(),T=!d,R=_ze(),A=vJe(),D=Sze(),N=UU(()=>{D.set(!0)},R?120:400),$=vf(()=>{N.clear(),D.get()&&D.set(!1)},R?350:200),M=it(O=>{O&&(D.get()||N.start(),$())}),j=it((O,U)=>{N.clear(),l.send({type:"xyflow.viewportMoved",viewport:U,manually:!!O})}),L=it(()=>{l.send({type:"xyflow.resized"})}),Y=Uj(()=>wJe(i),[i],DQ);return D2(()=>{console.warn("renderNodes changed - this might degrade performance")},[Y]),y.jsx(qC,{nodes:c,edges:u,className:Je(s?"initialized":"not-initialized"),nodeTypes:Y,edgeTypes:xJe,onNodesChange:it(O=>{l.send({type:"xyflow.applyNodeChanges",changes:O})}),onEdgesChange:it(O=>{l.send({type:"xyflow.applyEdgeChanges",changes:O})}),background:s?e:"transparent",fitView:!1,onNodeClick:it((O,U)=>{O.stopPropagation(),l.send({type:"xyflow.nodeClick",node:U}),w?.(l.findDiagramNode(U.id),O)}),onEdgeClick:it((O,U)=>{O.stopPropagation(),l.send({type:"xyflow.edgeClick",edge:U}),k?.(l.findDiagramEdge(U.id),O)}),onPaneClick:it(O=>{O.stopPropagation(),l.send({type:"xyflow.paneClick"}),C?.(O)}),onDoubleClick:it(O=>{O.stopPropagation(),O.preventDefault(),l.send({type:"xyflow.paneDblClick"}),_?.(O)}),onNodeMouseEnter:it((O,U)=>{O.stopPropagation(),U.data.hovered||l.send({type:"xyflow.nodeMouseEnter",node:U})}),onNodeMouseLeave:it((O,U)=>{O.stopPropagation(),U.data.hovered&&l.send({type:"xyflow.nodeMouseLeave",node:U})}),onEdgeMouseEnter:it((O,U)=>{O.stopPropagation(),U.data.hovered||l.send({type:"xyflow.edgeMouseEnter",edge:U,event:O})}),onEdgeMouseLeave:it((O,U)=>{O.stopPropagation(),U.data.hovered&&l.send({type:"xyflow.edgeMouseLeave",edge:U,event:O})}),onMove:M,onMoveEnd:j,onInit:it(O=>{l.send({type:"xyflow.init",instance:O})}),onNodeContextMenu:it((O,U)=>{const I=mt(l.findDiagramNode(U.id),`diagramNode ${U.id} not found`);g?.(I,O)}),onEdgeContextMenu:it((O,U)=>{const I=mt(l.findDiagramEdge(U.id),`diagramEdge ${U.id} not found`);x?.(I,O)}),onPaneContextMenu:it(O=>{b?.(O)}),...p&&{onViewportResize:L},nodesDraggable:T&&r,nodesSelectable:n,edgesFocusable:!1,...T&&r&&A,...f,...o,children:a})}function SJe(e){const{view:r,nodesSelectable:n}=e,o=[],a=[],i=new Map,l=E_.from(r.nodes.reduce((p,f)=>(i.set(f.id,f),f.parent||p.push({node:f,parent:null}),p),[]));let s=p=>!0;if(e.where)try{const p=Ad(e.where);s=f=>p({...sU(f,["tags","kind"]),..."source"in f?{source:u(f.source)}:f,..."target"in f?{target:u(f.target)}:f})}catch(p){console.error("Error in where filter:",p)}const c="",u=p=>mt(i.get(p),`Node not found: ${p}`);let d;for(;d=l.dequeue();){const{node:p,parent:f}=d,g=To(p.children,1)||p.kind==vd;if(g)for(const R of p.children)l.enqueue({node:u(R),parent:p});const b={x:p.x,y:p.y};f&&(b.x-=f.x,b.y-=f.y);const x={id:c+p.id,selectable:n&&p.kind!==vd,focusable:n&&p.kind!==vd,deletable:!1,position:b,zIndex:g?dl.Compound:dl.Element,style:{width:p.width,height:p.height},initialWidth:p.width,initialHeight:p.height,hidden:p.kind!==vd&&!s(p),...f&&{parentId:c+f.id}},w={viewId:r.id,id:p.id,title:p.title,color:p.color,shape:p.shape,style:p.style,depth:p.depth??0,icon:p.icon??"none",tags:p.tags??null,x:p.x,y:p.y},k={viewId:r.id,id:p.id,title:p.title,technology:p.technology??null,description:Kt.from(p.description),height:p.height,width:p.width,level:p.level,color:p.color,shape:p.shape,style:p.style,icon:p.icon??null,tags:p.tags,x:p.x,y:p.y,isMultiple:p.style?.multiple??!1};if(p.kind===vd){o.push({...x,type:"view-group",data:{isViewGroup:!0,...w},dragHandle:".likec4-compound-title"});continue}const C=p.modelRef??null,_=p.deploymentRef??null;if(!C&&!_)throw console.error("Invalid node",p),new Error("Element should have either modelRef or deploymentRef");const T={navigateTo:p.navigateTo??null};switch(!0){case(g&&!!_):{o.push({...x,type:"compound-deployment",data:{...w,...T,deploymentFqn:_,modelFqn:C},dragHandle:".likec4-compound-title"});break}case g:{nt(!!C,"ModelRef expected"),o.push({...x,type:"compound-element",data:{...w,...T,modelFqn:C},dragHandle:".likec4-compound-title"});break}case!!_:{o.push({...x,type:"deployment",data:{...k,...T,deploymentFqn:_,modelFqn:C}});break}default:nt(!!C,"ModelRef expected"),o.push({...x,type:"element",data:{...k,...T,modelFqn:C}})}}for(const p of r.edges){const f=p.source,g=p.target,b=c+p.id;if(!To(p.points,2)){console.error("edge should have at least 2 points",p);continue}a.push({id:b,type:"relationship",source:c+f,target:c+g,zIndex:dl.Edge,selectable:n,hidden:!s(p),deletable:!1,data:{id:p.id,label:p.label,technology:p.technology,notes:Kt.from(p.notes),navigateTo:p.navigateTo,controlPoints:p.controlPoints??null,labelBBox:p.labelBBox??null,labelXY:p.labelBBox?{x:p.labelBBox.x,y:p.labelBBox.y}:null,points:p.points,color:p.color??"gray",line:p.line??"dashed",dir:p.dir??"forward",head:p.head??"normal",tail:p.tail??"none",astPath:p.astPath},interactionWidth:20})}return{bounds:r.bounds,xynodes:o,xyedges:a}}const cte={parallel:1,actor:10},u4={default:"gray",active:"amber"};function CJe(e){const{actors:r,steps:n,compounds:o,parallelAreas:a,bounds:i}=e.sequenceLayout,l=[],s=[],c=u=>mt(e.nodes.find(d=>d.id===u));for(const u of o)l.push(TJe(u,c(u.origin),e));for(const u of a)l.push(RJe(u,e));for(const u of r)l.push(AJe(u,c(u.id),i,e));for(const u of n){const d=e.edges.find(p=>p.id===u.id);if(!d)throw new Error(`Edge ${u.id} not found`);s.push(NJe(u,d))}return{bounds:i,xynodes:l,xyedges:s}}function TJe({id:e,x:r,y:n,width:o,height:a,depth:i},l,s){return{id:e,type:"view-group",data:{id:l.id,title:l.title,color:l.color??"gray",shape:l.shape,style:l.style,tags:l.tags,x:r,y:n,viewId:s.id,depth:i,isViewGroup:!0},position:{x:r,y:n},draggable:!1,selectable:!1,focusable:!1,style:{pointerEvents:"none"},width:o,initialWidth:o,height:a,initialHeight:a}}function RJe({parallelPrefix:e,x:r,y:n,width:o,height:a},i){return{id:`seq-parallel-${e}`,type:"seq-parallel",data:{id:`seq-parallel-${e}`,title:"PARALLEL",technology:null,color:u4.default,shape:"rectangle",style:{},tags:[],x:r,y:n,level:0,icon:null,width:o,height:a,description:Kt.EMPTY,viewId:i.id,parallelPrefix:e},zIndex:cte.parallel,position:{x:r,y:n},draggable:!1,deletable:!1,selectable:!1,focusable:!1,style:{pointerEvents:"none"},width:o,initialWidth:o,height:a,initialHeight:a}}function AJe({id:e,x:r,y:n,width:o,height:a,ports:i},l,s,c){return{id:e,type:"seq-actor",data:{id:l.id,x:r,y:n,level:0,icon:l.icon??null,isMultiple:l.style.multiple??!1,title:l.title,width:o,height:a,color:l.color,navigateTo:l.navigateTo??null,shape:l.shape,style:l.style,tags:l.tags,modelFqn:l.modelRef??null,technology:l.technology??null,description:Kt.from(l.description),viewHeight:s.height,viewId:c.id,ports:i},deletable:!1,selectable:!0,zIndex:cte.actor,position:{x:r,y:n},width:o,initialWidth:o,height:a,initialHeight:a}}function NJe({id:e,labelBBox:r,sourceHandle:n,targetHandle:o},a){return{id:e,type:"seq-step",data:{id:e,label:a.label,technology:a.technology,notes:Kt.from(a.notes),navigateTo:a.navigateTo,controlPoints:null,labelBBox:{x:0,y:0,width:r?.width??a.labelBBox?.width??32,height:r?.height??a.labelBBox?.height??32},labelXY:null,points:a.points,color:a.color,line:a.line,dir:"forward",head:a.head??"normal",tail:a.tail??"none",astPath:a.astPath},selectable:!0,focusable:!1,zIndex:20,interactionWidth:40,source:a.source,sourceHandle:n,target:a.target,targetHandle:o}}function DJe({dynamicViewVariant:e,...r}){const n=r.view,o=n._type==="dynamic",{bounds:a,xynodes:i,xyedges:l}=o&&e==="sequence"?CJe(n):SJe(r);return o&&n.variant!==e?{view:{...n,bounds:a,variant:e},xynodes:i,xyedges:l}:{view:a===n.bounds?n:{...n,bounds:a},xynodes:i,xyedges:l}}function ute(e,r){return r.map(n=>{const o=e.find(a=>a.id===n.id);return o&&ut(o.type,n.type)?ut(o.hidden??!1,n.hidden??!1)&&ut(o.source,n.source)&&ut(o.sourceHandle??null,n.sourceHandle??null)&&ut(o.target,n.target)&&ut(o.targetHandle??null,n.targetHandle??null)&&ut(o.zIndex??0,n.zIndex??0)&&ut(o.data,n.data)?o:{...Ud(o,["hidden","zIndex"]),...n,data:n.data}:n})}function dte(e,r){return HE(r)?ute(e,r):(r=e,n=>ute(n,r))}function pte(e,r){return r.map(n=>{const o=e.find(a=>a.id===n.id);if(o&&ut(o.type,n.type)){const{width:a,height:i}=Wn(o);return ut(a,n.initialWidth)&&ut(i,n.initialHeight)&&ut(o.parentId??null,n.parentId??null)&&ut(o.hidden??!1,n.hidden??!1)&&ut(o.zIndex??0,n.zIndex??0)&&ut(o.position,n.position)&&ut(o.data,n.data)?o:{...Ud(o,["measured","parentId","hidden","zIndex"]),...n,width:n.initialWidth,height:n.initialHeight,data:n.data}}return n})}function pR(e,r){return HE(r)?pte(e,r):(r=e,n=>pte(n,r))}const hR={top:"40px",bottom:"16px",left:"16px",right:"16px"};function hte(e){const r=[],n=[],o=new Map,a=E_.from(e.nodes.reduce((s,c)=>(o.set(c.id,c),c.parent||s.push({node:c,parent:null}),s),[])),i=s=>mt(o.get(s),`Node not found: ${s}`);let l;for(;l=a.dequeue();){const{node:s,parent:c}=l,u=To(s.children,1)||s.kind==vd;if(u)for(const x of s.children)a.enqueue({node:i(x),parent:s});const d={x:s.x,y:s.y};c&&(d.x-=c.x,d.y-=c.y);const p=s.id,f={id:p,draggable:!1,selectable:!0,focusable:!0,position:d,zIndex:u?dl.Compound:dl.Element,style:{width:s.width,height:s.height},initialWidth:s.width,initialHeight:s.height,...c&&{parentId:c.id}},g=s.modelRef??null,b={navigateTo:s.navigateTo??null};switch(!0){case s.kind===L2.Empty:{r.push({...f,type:"empty",data:{column:s.column}});break}case(u&&!!g):{r.push({...f,type:"compound",data:{id:p,column:s.column,title:s.title,color:s.color,shape:s.shape,style:s.style,depth:s.depth??0,icon:s.icon??"none",ports:s.ports,existsInCurrentView:s.existsInCurrentView,fqn:g,...b}});break}default:nt(g,"Element should have either modelRef or deploymentRef"),r.push({...f,type:"element",data:{id:p,column:s.column,fqn:g,title:s.title,technology:s.technology,description:s.description,height:s.height,width:s.width,color:s.color,shape:s.shape,icon:s.icon??"none",ports:s.ports,style:s.style,existsInCurrentView:s.existsInCurrentView,tags:s.tags,...b}})}}for(const s of e.edges){const c=s.source,u=s.target,d=s.id;if(!To(s.points,2)){console.error("edge should have at least 2 points",s);continue}if(!To(s.relations,1)){console.error("edge should have at least 1 relation",s);continue}n.push({id:d,type:"relationship",source:c,target:u,sourceHandle:s.sourceHandle,targetHandle:s.targetHandle,data:{sourceFqn:s.sourceFqn,targetFqn:s.targetFqn,relations:s.relations,color:s.color??"gray",label:s.label,navigateTo:s.navigateTo??null,line:s.line??"dashed",existsInCurrentView:s.existsInCurrentView},interactionWidth:20})}return{xynodes:r,xyedges:n}}const fte=e=>e.find(r=>r.data.column==="subjects"&&rU(r.parentId)),PJe=KBe(async({input:e,self:r,signal:n})=>{const{subjectId:o,navigateFromNode:a,xyflow:i,xystore:l,update:s}=e;let{nodes:c,width:u,height:d}=l.getState();const p=hte(s),f=()=>{const{nodes:N,edges:$}=l.getState();return{xynodes:pR(N,p.xynodes),xyedges:dte($,p.xyedges)}},g=mt(r._parent);let b=i.getZoom();const x=Math.max(b,1),w=tu(s.bounds,u,d,pl,x,hR),k=p.xynodes.find(N=>N.type!=="empty"&&N.data.column==="subjects"&&N.data.fqn===o)??fte(p.xynodes),C=fte(c),_=a?c.find(N=>N.id===a):c.find(N=>N.type!=="empty"&&N.data.column!=="subjects"&&N.data.fqn===o);if(!k||!_||k.type==="empty"||!C||k.data.fqn===C.data.fqn)return await i.setViewport(w),f();const T={x:k.position.x+(k.initialWidth??0)/2,y:k.position.y+(k.initialHeight??0)/2},R=i.getInternalNode(C.id),A=eYe(R),D=new Set;return c.forEach(N=>{if(N.id!==_.id){if(N.data.column==="subjects"){D.add(N.id);return}N.parentId&&(N.parentId===_.id||D.has(N.parentId))&&D.add(N.id)}}),c=pR(c,c.flatMap(N=>D.has(N.id)?[]:N.id!==_.id?{...N,data:{...N.data,dimmed:N.data.column==="subjects"?"immediate":!0}}:{...Ud(N,["parentId"]),position:{x:A.x-N.initialWidth/2,y:A.y-N.initialHeight/2},zIndex:dl.Max,hidden:!1,data:{...N.data,dimmed:!1}})),g.send({type:"update.xydata",xynodes:c,xyedges:[]}),await F_e(120),p.xynodes=p.xynodes.map(Jt.setDimmed(!1)),n.aborted||(await i.setCenter(A.x,A.y,{zoom:b,duration:300}),await i.setCenter(T.x,T.y,{zoom:b})),f()}),$Je=ec({actors:{layouter:PJe},guards:{hasViewId:({context:e})=>e.viewId!==null,isReady:({context:e})=>e.xyflow!==null&&e.xystore!==null&&e.layouted!==null,anotherSubject:({context:e,event:r})=>r.type==="update.view"?e.layouted?.subject!==r.layouted.subject:!1},actions:{"xyflow.init":et(({event:e})=>(qt(e,"xyflow.init"),{xyflow:e.instance,xystore:e.store})),"update.view":et(({event:e})=>(qt(e,"update.view"),{layouted:e.layouted,...hte(e.layouted)})),"xyflow:updateNodeInternals":({context:e})=>{nt(e.xystore,"xystore is not initialized");const{domNode:r,updateNodeInternals:n}=e.xystore.getState(),o=new Set(e.xyedges.flatMap(i=>[i.source,i.target]));if(o.size===0||!r)return;const a=new Map;for(const i of o){const l=r.querySelector(`.react-flow__node[data-id="${i}"]`);l&&a.set(i,{id:i,nodeElement:l,force:!0})}n(a,{triggerFitView:!1})},"xyflow:fitDiagram":({context:e},r)=>{let{duration:n,bounds:o}=r??{};n??=450;const{xyflow:a,xystore:i}=e;nt(a,"xyflow is not initialized"),nt(i,"xystore is not initialized"),o??=e.layouted?.bounds;const l=Math.max(a.getZoom(),1);if(o){const{width:s,height:c}=i.getState(),u=tu(o,s,c,pl,l,hR);a.setViewport(u,n>0?{duration:n}:void 0).catch(console.error)}else a.fitView({minZoom:pl,maxZoom:l,padding:hR,...n>0&&{duration:n}}).catch(console.error)},"xyflow.applyNodeChanges":et(({context:e,event:r})=>(qt(r,"xyflow.applyNodeChanges"),{xynodes:Rx(r.changes,e.xynodes)})),"xyflow.applyEdgeChanges":et(({context:e,event:r})=>(qt(r,"xyflow.applyEdgeChanges"),{xyedges:Ax(r.changes,e.xyedges)}))}}).createMachine({id:"relationships-browser",context:({input:e})=>({subject:e.subject,viewId:e.viewId,scope:e.viewId?e.scope:"global",closeable:e.closeable??!0,enableSelectSubject:e.enableSelectSubject??!0,enableChangeScope:e.enableChangeScope??!0,xyflow:null,xystore:null,layouted:null,navigateFromNode:null,xynodes:[],xyedges:[]}),initial:"initializing",on:{"xyflow.applyNodeChanges":{actions:"xyflow.applyNodeChanges"},"xyflow.applyEdgeChanges":{actions:"xyflow.applyEdgeChanges"}},states:{initializing:{on:{"xyflow.init":{actions:"xyflow.init",target:"isReady"},"update.view":{actions:"update.view",target:"isReady"},stop:"closed",close:"closed"}},isReady:{always:[{guard:"isReady",actions:[{type:"xyflow:fitDiagram",params:{duration:0}},ln({type:"xyflow.updateNodeInternals"},{delay:150})],target:"active"},{target:"initializing"}]},active:{initial:"idle",tags:["active"],on:{"xyflow.nodeClick":{actions:sn(({event:e,enqueue:r})=>{if("fqn"in e.node.data){const n=e.node.data.fqn;r.raise({type:"navigate.to",subject:n,fromNode:e.node.id})}})},"xyflow.edgeClick":{guard:"hasViewId",actions:sn(({event:e,context:r,system:n,enqueue:o})=>{(e.edge.selected||e.edge.data.relations.length>1)&&o.sendTo(tc(n).overlaysActorRef,{type:"open.relationshipDetails",viewId:r.viewId,source:e.edge.data.sourceFqn,target:e.edge.data.targetFqn})})},"navigate.to":{actions:[et({subject:({event:e})=>e.subject,viewId:({event:e,context:r})=>e.viewId??r.viewId??null,navigateFromNode:({event:e})=>e.fromNode??null})]},"xyflow.paneDblClick":{actions:"xyflow:fitDiagram"},"update.view":{actions:"update.view",target:".layouting"},"change.scope":{actions:et({scope:({event:e})=>e.scope})},"xyflow.updateNodeInternals":{actions:"xyflow:updateNodeInternals"},fitDiagram:{actions:{type:"xyflow:fitDiagram",params:Ca("event")}},"xyflow.resized":{actions:[oa("fitDiagram"),ln({type:"fitDiagram"},{id:"fitDiagram",delay:300})]},"xyflow.init":{actions:"xyflow.init"},"xyflow.unmount":{target:"initializing"},close:"closed"},states:{idle:{on:{"xyflow.edgeMouseEnter":{actions:[et({xyedges:({context:e,event:r})=>{const n=e.xyedges.some(o=>o.data.dimmed!==!1||o.selected);return e.xyedges.map(o=>o.id===r.edge.id?Jt.setData(o,{hovered:!0,dimmed:!1}):n&&!o.selected?Jt.setDimmed(o,"immediate"):o)}}),oa("undim.edges"),oa("dim.nonhovered.edges"),ln({type:"dim.nonhovered.edges"},{id:"dim.nonhovered.edges",delay:200})]},"xyflow.edgeMouseLeave":{actions:[et({xyedges:({context:e,event:r})=>e.xyedges.map(n=>n.id===r.edge.id?Jt.setHovered(n,!1):n)}),oa("dim.nonhovered.edges"),ln({type:"undim.edges"},{id:"undim.edges",delay:400})]},"dim.nonhovered.edges":{actions:et({xyedges:({context:e})=>e.xyedges.map(r=>r.data.hovered?r:Jt.setDimmed(r,r.data.dimmed==="immediate"?"immediate":!0))})},"undim.edges":{actions:et({xyedges:({context:e})=>e.xyedges.map(Jt.setDimmed(!1))})},"xyflow.selectionChange":{actions:sn(({event:e,context:r,enqueue:n})=>{e.edges.length===0&&r.xyedges.some(o=>o.data.dimmed)&&!r.xyedges.some(o=>o.data.hovered)&&n.raise({type:"undim.edges"})})}}},layouting:{invoke:{id:"layouter",src:"layouter",input:({context:e})=>({subjectId:e.subject,navigateFromNode:e.navigateFromNode,xyflow:mt(e.xyflow),xystore:mt(e.xystore),update:mt(e.layouted)}),onDone:{target:"idle",actions:sn(({enqueue:e,event:r})=>{e.assign({xynodes:r.output.xynodes,xyedges:r.output.xyedges,navigateFromNode:null}),e.raise({type:"fitDiagram",duration:200},{id:"fitDiagram",delay:50});for(let n=0;n<6;n++)e.raise({type:"xyflow.updateNodeInternals"},{delay:100+n*100})})}},on:{"update.xydata":{actions:et({xynodes:({event:e})=>e.xynodes,xyedges:({event:e})=>e.xyedges})},"xyflow.applyEdgeChanges":{},"xyflow.applyNodeChanges":{}}}}},closed:{id:"closed",type:"final"}},exit:et({xyflow:null,layouted:null,xystore:null,xyedges:[],xynodes:[]})}),mte=$Je,MJe=ec({actors:{relationshipsBrowserLogic:mte}}).createMachine({id:"element-details",context:({input:e})=>({...e,initiatedFrom:{node:e.initiatedFrom?.node??null,clientRect:e.initiatedFrom?.clientRect??null}}),initial:"active",states:{active:{entry:Vf("relationshipsBrowserLogic",{id:({self:e})=>`${e.id}-relationships`,input:({context:e})=>({subject:e.subject,viewId:e.currentView.id,scope:"view",enableSelectSubject:!1,enableChangeScope:!0,closeable:!1})}),exit:[is(({self:e})=>`${e.id}-relationships`,{type:"close"}),yu(({self:e})=>`${e.id}-relationships`)],on:{"change.subject":{actions:et({subject:({event:e})=>e.subject})},close:"closed"}},closed:{id:"closed",type:"final"}}}),OJe=MJe;function IJe(e){const r=[],n=[],o=new Map,a=E_.from(e.nodes.reduce((s,c)=>(o.set(c.id,c),c.parent||s.push({node:c,parent:null}),s),[])),i=s=>mt(o.get(s),`Node not found: ${s}`);let l;for(;l=a.dequeue();){const{node:s,parent:c}=l,u=To(s.children,1);if(u)for(const x of s.children)a.enqueue({node:i(x),parent:s});const d={x:s.x,y:s.y};c&&(d.x-=c.x,d.y-=c.y);const p=s.id,f={id:p,draggable:!1,selectable:!0,focusable:!0,deletable:!1,position:d,zIndex:u?dl.Compound:dl.Element,style:{width:s.width,height:s.height},initialWidth:s.width,initialHeight:s.height,...c&&{parentId:c.id}},g=s.modelRef,b={navigateTo:s.navigateTo??null};switch(!0){case u:{r.push({...f,type:"compound",data:{id:p,column:s.column,title:s.title,color:s.color,style:s.style,depth:s.depth??0,icon:s.icon??"none",ports:s.ports,fqn:g,...b}});break}default:r.push({...f,type:"element",data:{id:p,column:s.column,fqn:g,title:s.title,technology:s.technology,description:Kt.from(s.description),height:s.height,width:s.width,color:s.color,shape:s.shape,icon:s.icon??"none",ports:s.ports,style:s.style,tags:s.tags,...b}})}}for(const{source:s,target:c,relationId:u,label:d,technology:p,description:f,navigateTo:g=null,color:b="gray",line:x="dashed",...w}of e.edges){const k=w.id;n.push({id:k,type:"relationship",source:s,target:c,sourceHandle:w.sourceHandle,targetHandle:w.targetHandle,deletable:!1,data:{relationId:u,label:d,color:b,navigateTo:g,line:x,description:Kt.from(f),...p&&{technology:p}}})}return{xynodes:r,xyedges:n,bounds:e.bounds}}function gte(e){return"edgeId"in e?(nt(UE(e.edgeId),"edgeId is required"),{edgeId:e.edgeId}):{source:e.source,target:e.target}}const LJe=ec({actions:{"xyflow:fitDiagram":({context:e},r)=>{let{duration:n,bounds:o}=r??{};n??=450;const{xyflow:a,xystore:i}=e;nt(a,"xyflow is not initialized"),nt(i,"xystore is not initialized"),o??=e.bounds;const l=Math.max(a.getZoom(),1);if(o){const{width:s,height:c}=i.getState(),u=tu(o,s,c,pl,l,.1);a.setViewport(u,n>0?{duration:n}:void 0).catch(console.error)}else a.fitView({minZoom:pl,maxZoom:l,padding:.1,...n>0&&{duration:n}}).catch(console.error)},"xyflow:updateNodeInternals":({context:e})=>{nt(e.xystore,"xystore is not initialized");const{domNode:r,updateNodeInternals:n}=e.xystore.getState(),o=new Set(e.xyedges.flatMap(i=>[i.source,i.target]));if(o.size===0||!r)return;const a=new Map;for(const i of o){const l=r.querySelector(`.react-flow__node[data-id="${i}"]`);l&&a.set(i,{id:i,nodeElement:l,force:!0})}n(a,{triggerFitView:!1})},updateXYFlow:et(({context:e,event:r})=>{qt(r,"xyflow.init");let n=e.initialized;return n.xyflow||(n={...n,xyflow:!0}),{initialized:n,xyflow:r.instance,xystore:r.store}}),updateLayoutData:et(({context:e,event:r})=>{qt(r,"update.layoutData");const{xynodes:n,xyedges:o,bounds:a}=IJe(r.data);let i=e.initialized;return i.xydata||(i={...i,xydata:!0}),{initialized:i,xynodes:pR(e.xynodes,n),xyedges:dte(e.xyedges,o),bounds:Gn(e.bounds,a)?e.bounds:a}})},guards:{isReady:({context:e})=>e.initialized.xydata&&e.initialized.xyflow,"enable: navigate.to":()=>!0}}).createMachine({initial:"initializing",context:({input:e})=>({subject:gte(e),viewId:e.viewId,bounds:{x:0,y:0,width:200,height:200},initialized:{xydata:!1,xyflow:!1},xyflow:null,xystore:null,xynodes:[],xyedges:[]}),states:{initializing:{on:{"xyflow.init":{actions:"updateXYFlow",target:"isReady"},"update.layoutData":{actions:"updateLayoutData",target:"isReady"},close:{target:"closed"}}},isReady:{always:[{guard:"isReady",actions:[{type:"xyflow:fitDiagram",params:{duration:0}},ln({type:"xyflow.updateNodeInternals"},{delay:50})],target:"ready"},{target:"initializing"}]},ready:{on:{"xyflow.edgeMouseEnter":{actions:[et({xyedges:({context:e,event:r})=>{const n=e.xyedges.some(o=>o.data.dimmed===!0||o.data.dimmed==="immediate");return e.xyedges.map(o=>o.id===r.edge.id?Jt.setData(o,{hovered:!0,dimmed:!1}):n&&!o.selected?Jt.setDimmed(o,"immediate"):o)}}),oa("undim.edges"),oa("dim.nonhovered.edges"),ln({type:"dim.nonhovered.edges"},{id:"dim.nonhovered.edges",delay:100})]},"xyflow.edgeMouseLeave":{actions:[et({xyedges:({context:e,event:r})=>e.xyedges.map(n=>n.id===r.edge.id?Jt.setHovered(n,!1):n)}),oa("dim.nonhovered.edges"),ln({type:"undim.edges"},{id:"undim.edges",delay:400})]},"dim.nonhovered.edges":{actions:et({xyedges:({context:e})=>e.xyedges.map(r=>Jt.setDimmed(r,r.data.hovered!==!0))})},"undim.edges":{actions:et({xyedges:({context:e})=>e.xyedges.some(r=>r.selected===!0)?e.xyedges.map(r=>Jt.setDimmed(r,r.selected!==!0?r.data.dimmed||"immediate":!1)):e.xyedges.map(Jt.setDimmed(!1))})},"xyflow.selectionChange":{actions:sn(({event:e,context:r,enqueue:n})=>{e.edges.length===0&&r.xyedges.some(o=>o.data.dimmed)&&!r.xyedges.some(o=>o.data.hovered)&&n.raise({type:"undim.edges"})})},"update.layoutData":{actions:["updateLayoutData",oa("fitDiagram"),ln({type:"fitDiagram",duration:0},{id:"fitDiagram",delay:50}),ln({type:"xyflow.updateNodeInternals"},{delay:75})]},"xyflow.init":{actions:"updateXYFlow"},"xyflow.applyNodeChanges":{actions:et({xynodes:({context:e,event:r})=>Rx(r.changes,e.xynodes)})},"xyflow.applyEdgeChanges":{actions:et({xyedges:({context:e,event:r})=>Ax(r.changes,e.xyedges)})},"xyflow.paneDblClick":{actions:"xyflow:fitDiagram"},"navigate.to":{actions:et({subject:({event:e})=>gte(e.params),viewId:({context:e,event:r})=>r.params.viewId??e.viewId})},close:{target:"closed"}},exit:et({xyedges:[],xynodes:[],initialized:{xydata:!1,xyflow:!1},xyflow:null,xystore:null})},closed:{type:"final"}},on:{fitDiagram:{actions:{type:"xyflow:fitDiagram",params:Ca("event")}},"xyflow.resized":{actions:[oa("fitDiagram"),ln({type:"fitDiagram"},{id:"fitDiagram",delay:200})]},"xyflow.updateNodeInternals":{actions:"xyflow:updateNodeInternals"}}}),zJe=LJe,BJe=zG(({sendBack:e})=>{const r=o9([["Escape",n=>{n.stopPropagation(),e({type:"close"})},{preventDefault:!0}]]);return document.body.addEventListener("keydown",r,{capture:!0}),()=>{document.body.removeEventListener("keydown",r,{capture:!0})}}),jJe=ec({actors:{relationshipDetails:zJe,elementDetails:OJe,relationshipsBrowser:mte,hotkey:BJe},actions:{closeLastOverlay:sn(({context:e,enqueue:r})=>{if(e.overlays.length===0)return;const n=qd(e.overlays)?.id;n&&(r.sendTo(n,{type:"close"}),r.stopChild(n),r.assign({overlays:e.overlays.filter(o=>o.id!==n)}))}),closeSpecificOverlay:sn(({context:e,enqueue:r},n)=>{const o=e.overlays.find(a=>a.id===n.actorId)?.id;o&&(r.sendTo(o,{type:"close"}),r.stopChild(o),r.assign({overlays:e.overlays.filter(a=>a.id!==o)}))}),closeAllOverlays:sn(({context:e,enqueue:r})=>{for(const{id:n}of eDe(e.overlays))r.sendTo(n,{type:"close"}),r.stopChild(n);r.assign({overlays:[]})}),openElementDetails:sn(({context:e,enqueue:r,event:n})=>{if(qt(n,"open.elementDetails"),e.overlays.some(a=>a.type==="elementDetails"&&a.subject===n.subject))return;const o=`elementDetails-${e.seq}`;r.spawnChild("elementDetails",{id:o,input:n}),r.assign({seq:e.seq+1,overlays:[...e.overlays,{type:"elementDetails",id:o,subject:n.subject}]})}),openRelationshipDetails:sn(({context:e,enqueue:r,event:n})=>{qt(n,"open.relationshipDetails");const o=qd(e.overlays);if(o?.type==="relationshipDetails"){r.sendTo(o.id,{...n,type:"navigate.to"});return}const a=`relationshipDetails-${e.seq}`;r.spawnChild("relationshipDetails",{id:a,input:n}),r.assign({seq:e.seq+1,overlays:[...e.overlays,{type:"relationshipDetails",id:a}]})}),openRelationshipsBrowser:sn(({context:e,enqueue:r,event:n})=>{qt(n,"open.relationshipsBrowser");const o=qd(e.overlays);if(o?.type==="relationshipsBrowser"){r.sendTo(o.id,{type:"navigate.to",subject:n.subject,viewId:n.viewId});return}const a=`relationshipsBrowser-${e.seq}`;r.spawnChild("relationshipsBrowser",{id:a,input:n}),r.assign({seq:e.seq+1,overlays:[...e.overlays,{type:"relationshipsBrowser",id:a,subject:n.subject}]})}),listenToEsc:Vf("hotkey",{id:"hotkey"}),stopListeningToEsc:yu("hotkey")},guards:{"has overlays?":({context:e})=>e.overlays.length>0,"close specific overlay?":({context:e,event:r})=>(qt(r,"close"),UE(r.actorId)&&e.overlays.some(n=>n.id===r.actorId)),"last: is relationshipDetails?":({context:e})=>qd(e.overlays)?.type==="relationshipDetails","last: is relationshipsBrowser?":({context:e})=>qd(e.overlays)?.type==="relationshipsBrowser"}}).createMachine({id:"overlays",context:()=>({seq:1,overlays:[]}),initial:"idle",on:{"open.elementDetails":{actions:"openElementDetails",target:".active",reenter:!1},"open.relationshipDetails":{actions:"openRelationshipDetails",target:".active",reenter:!1},"open.relationshipsBrowser":{actions:"openRelationshipsBrowser",target:".active",reenter:!1}},states:{idle:{},active:{entry:"listenToEsc",exit:"stopListeningToEsc",on:{close:[{guard:"close specific overlay?",actions:{type:"closeSpecificOverlay",params:({event:e})=>({actorId:e.actorId})},target:"closing"},{actions:"closeLastOverlay",target:"closing"}],"close.all":{actions:["closeAllOverlays","stopListeningToEsc"],target:"idle"}}},closing:{always:[{guard:"has overlays?",target:"active"},{actions:"stopListeningToEsc",target:"idle"}]}},exit:["stopListeningToEsc","closeAllOverlays"]}),FJe=jJe,HJe=ec({actions:{"change searchValue":et({searchValue:({event:e,context:r})=>(qt(e,["change.search","open"]),e.search??r.searchValue)}),"reset pickViewFor":et({pickViewFor:()=>null})}}).createMachine({id:"search",context:{openedWithSearch:null,searchValue:"",pickViewFor:null},initial:"inactive",on:{close:{target:".inactive",actions:"reset pickViewFor"}},states:{inactive:{on:{open:{target:"opened",actions:[et({openedWithSearch:({event:e})=>e.search??null,searchValue:({event:e,context:r})=>e.search??r.searchValue})]}}},opened:{on:{open:{actions:"change searchValue"},"change.search":{actions:"change searchValue"},"pickview.open":{target:"pickView",actions:et({pickViewFor:({event:e})=>e.elementFqn})}}},pickView:{on:{"pickview.close":{target:"opened",actions:"reset pickViewFor"}}}}}),qJe=HJe;class yte{}class Sm extends yte{constructor(r,n,o){super(),this.getEdgePosition=r,this.computePosition=n,this.propertyToEdit=o}alignTo;computeLayout(r){this.alignTo=this.getEdgePosition(r)}applyPosition(r){return{[this.propertyToEdit]:this.computePosition(this.alignTo,r)}}}class UJe extends yte{layout=new Map;axisPreset;get primaryAxisCoord(){return this.axisPreset.primaryAxisCoord}get secondaryAxisCoord(){return this.axisPreset.secondaryAxisCoord}get primaryAxisDimension(){return this.axisPreset.primaryAxisDimension}get secondaryAxisDimension(){return this.axisPreset.secondaryAxisDimension}constructor(r){super(),this.axisPreset=r==="Column"?{primaryAxisDimension:"width",secondaryAxisDimension:"height",primaryAxisCoord:"x",secondaryAxisCoord:"y"}:{primaryAxisDimension:"height",secondaryAxisDimension:"width",primaryAxisCoord:"y",secondaryAxisCoord:"x"}}applyPosition(r){return this.layout?.get(r.id)??{}}computeLayout(r){const n=yn(r,Bx(i=>i[this.primaryAxisCoord])),o=this.getLayoutRect(n),a=this.getLayers(n);this.layout=this.buildLayout(a,o,n)}getLayoutRect(r){const n=Math.min(...r.map(l=>l.x)),o=Math.min(...r.map(l=>l.y)),a=Math.max(...r.map(l=>l.x+l.width)),i=Math.max(...r.map(l=>l.y+l.height));return{x:n,y:o,width:a-n,height:i-o}}getLayers(r){const n=[];let o=0,a=null;for(let i of r)if(a&&i[this.primaryAxisCoord]i.nodes.sort((l,s)=>l[this.secondaryAxisCoord]-s[this.secondaryAxisCoord])),n}buildLayout(r,n,o){const a=new Map(o.map(b=>[b.id,b])),i=[],l=r.reduce((b,x)=>b+x.primaryAxisSize,0),s=r.length>1?(n[this.primaryAxisDimension]-l)/(r.length-1):0,c=r.reduce((b,x,w)=>r[b].occupiedSpaceb+x.primaryAxisSize+s,n[this.primaryAxisCoord]),p=this.buildLayerLayout(u,n,d,a,null);u.layout=p,i.push(...p.nodePositions);let f=d+u.primaryAxisSize+s,g=u;for(let b=c+1;b=0;b--){const x=r[b];f-=x.primaryAxisSize+s,x.layout=this.buildLayerLayout(x,n,f,a,g),i.push(...x.layout.nodePositions),g=x.layout.refLayer??x}return new Map(i)}buildLayerLayout(r,n,o,a,i){let l=this.scoreLayout(this.spaceAround(r,n,o),a);if(r.nodes.length!=1){const s=this.scoreLayout(this.spaceBetween(r,n,o),a);l=s[0]=r.nodes.length){const s=this.scoreLayout(this.placeInGaps(r,o,i),a);l=s[0]=r.nodes.length){const s=this.scoreLayout(this.placeInCells(r,o,i),a);l=s[0]c[this.secondaryAxisCoord]))l.set(s.id,{[this.secondaryAxisCoord]:i,[this.primaryAxisCoord]:o}),i+=s[this.secondaryAxisDimension]+a;return{nodePositions:l,refLayer:null}}placeInGaps(r,n,o){const a=new Map,i=r.nodes,l=this.getGapsPositions(o);let s=0;for(let c=0,u=i[c];c{const i=n.get(o);return nt(i,`Could not find original rect for node ${o}`),[sU(i,["x","y"]),a]}),Ro(([o,a])=>Math.abs(o[this.secondaryAxisCoord]-a[this.secondaryAxisCoord])),hf((o,a)=>o+a,0)),r]}getGapsPositions(r){const n=[],{layout:o,nodes:a}=r;nt(o,"Layout of the layer must be computed before calling getGapsPositions");for(let i=1;iMath.min(...r.map(n=>n.x)),(r,n)=>Math.floor(r),"x");case"Top":return new Sm(r=>Math.min(...r.map(n=>n.y)),(r,n)=>Math.floor(r),"y");case"Right":return new Sm(r=>Math.max(...r.map(n=>n.x+n.width)),(r,n)=>Math.floor(r-n.width),"x");case"Bottom":return new Sm(r=>Math.max(...r.map(n=>n.y+n.height)),(r,n)=>Math.floor(r-n.height),"y");case"Center":return new Sm(r=>Math.min(...r.map(n=>n.x+n.width/2)),(r,n)=>Math.floor(r-n.width/2),"x");case"Middle":return new Sm(r=>Math.min(...r.map(n=>n.y+n.height/2)),(r,n)=>Math.floor(r-n.height/2),"y")}}function bte(e){const{width:r,height:n}=Wn(e);return{...e.internals.positionAbsolute,id:e.id,width:r,height:n}}function YJe(e){switch(e){case"Left":case"Right":case"Top":case"Bottom":case"Center":case"Middle":return VJe(e);case"Column":case"Row":return new UJe(e);default:Xa(e)}}function WJe(e){const{lastClickedNode:r}=e.context;return!r||r.id!==e.event.node.id?{id:e.event.node.id,clicks:1,timestamp:Date.now()}:{id:r.id,clicks:r.clicks+1,timestamp:Date.now()}}function vte({context:e,event:r}){qt(r,"update.view");const n=r.view,o=e.view.id===n.id,a=e.xynodes,i=r.xynodes.map(s=>{const c=a.find(u=>u.id===s.id);if(c){const{width:u,height:d}=Wn(c);return ut(c.type,s.type)&&ut(u,s.initialWidth)&&ut(d,s.initialHeight)&&ut(c.hidden??!1,s.hidden??!1)&&ut(c.position,s.position)&&ut(c.data,s.data)&&ut(c.parentId??null,s.parentId??null)?c:{...Ud(c,["measured","parentId"]),...s,width:s.initialWidth,height:s.initialHeight,data:{...c.data,...s.data}}}return s});let l=r.xyedges;if(o&&!n.hasLayoutDrift){const s=e.xyedges;l=r.xyedges.map(c=>{const u=s.find(d=>d.id===c.id);return u&&u.type===c.type?ut(u.hidden??!1,c.hidden??!1)&&ut(u.data,c.data)&&ut(u.source,c.source)&&ut(u.target,c.target)&&ut(u.sourceHandle,c.sourceHandle)&&ut(u.targetHandle,c.targetHandle)?u:{...Ud(u,["sourceHandle","targetHandle"]),...c,data:{...u.data,...c.data}}:c})}if(!o){for(const s of i)s.data={...s.data,dimmed:!1,hovered:!1};for(const s of l)s.data={...s.data,dimmed:!1,hovered:!1,active:!1}}return{xynodes:i,xyedges:l,view:n}}function GJe(e){const{xynodes:r,xyedges:n,focusedNode:o}=e.context;if(!o)return{};const a=new Set([o]),i=n.map(l=>l.source===o||l.target===o?(a.add(l.source),a.add(l.target),Jt.setData(l,{dimmed:!1,active:!0})):Jt.setData(l,{dimmed:!0,active:!1}));return{xynodes:r.map(l=>Jt.setDimmed(l,!a.has(l.id))),xyedges:i}}function xte({context:e,event:r}){qt(r,"update.view");let{navigationHistory:{currentIndex:n,history:o},lastOnNavigate:a,viewport:i}=e;const l=o[n];if(!l)return{navigationHistory:{currentIndex:0,history:[{viewId:r.view.id,fromNode:null,viewport:{...i}}]}};if(l.viewId!==r.view.id){if(!a){const s=n>0?mt(o[n-1]):null;if(s&&s.viewId===r.view.id)return{navigationHistory:{currentIndex:n-1,history:o},lastOnNavigate:{fromView:l.viewId,toView:s.viewId,fromNode:l.fromNode}};const c=n0,"Cannot navigate back");const o=n[r],a=n[r-1];return{navigationHistory:{currentIndex:r-1,history:n},lastOnNavigate:{fromView:o.viewId,toView:a.viewId,fromNode:o.fromNode}}}function KJe({context:e}){const{navigationHistory:{currentIndex:r,history:n}}=e;nt(r{if(n.id!==r.nodeId)return n;const o=aU(n.data,r.data);return ut(o,n.data)?n:{...n,data:o}})}}function QJe({context:e,event:r}){return qt(r,"update.edgeData"),{xyedges:e.xyedges.map(n=>{if(n.id!==r.edgeId)return n;const o=aU(n.data,r.data);return ut(o,n.data)?n:{...n,data:o}})}}function JJe({context:e}){const{xynodes:r}=e;function n(i,l){const s=bp({x:i.width||0,y:i.height||0});let c=bp(i.position).add(s.mul(.5)),u=i;do{const d=u.parentId&&l.find(p=>p.id==u.parentId);if(!d)break;u=d,c=c.add(d.position)}while(!0);return c}function o(i){const l=r.find(g=>g.id==i.source),s=r.find(g=>g.id==i.target);if(!l||!s)return[];const c=n(l,r),u=n(s,r);if(!c||!u)return[];if(l===s){const g=new ia(0,l.height||0).mul(-.5).add(c);return[g.add(new ia(-32,-80)),g.add(new ia(32,-80))]}const d=u.sub(c),p=a(l,c,d),f=a(s,u,d.mul(-1));return[p.add(f.sub(p).mul(.3))]}function a(i,l,s){const c=(i.width||0)/2/s.x,u=(i.height||0)/2/s.y,d=Math.min(Math.abs(c),Math.abs(u));return bp(s).mul(d).add(l)}return{xyedges:e.xyedges.map(i=>!i.data.controlPoints||iu(i.data.controlPoints)?i:{...i,data:{...i.data,controlPoints:o(i)}})}}function eet({context:e}){const{stepId:r,parallelPrefix:n}=mt(e.activeWalkthrough,"activeWalkthrough is null"),o=mt(e.xyedges.find(a=>a.id===r));return{xyedges:e.xyedges.map(a=>{const i=r===a.id||!!n&&a.id.startsWith(n);return Jt.setData(a,{active:i,dimmed:r!==a.id})}),xynodes:e.xynodes.map(a=>{const i=o.source!==a.id&&o.target!==a.id;return a.type==="seq-parallel"?Jt.setData(a,{color:n===a.data.parallelPrefix?u4.active:u4.default,dimmed:i}):Jt.setDimmed(a,i)})}}const tet=zG(({sendBack:e})=>{const r=o9([["Escape",o=>{o.stopPropagation(),e({type:"key.esc"})},{preventDefault:!0}]]),n=o9([["ArrowLeft",o=>{o.stopPropagation(),e({type:"key.arrow.left"})},{preventDefault:!0}],["ArrowRight",o=>{o.stopPropagation(),e({type:"key.arrow.right"})},{preventDefault:!0}]]);return document.body.addEventListener("keydown",r),document.body.addEventListener("keydown",n,{capture:!0}),()=>{document.body.removeEventListener("keydown",r),document.body.removeEventListener("keydown",n,{capture:!0})}}),fR="likec4:diagram:toggledFeatures",wte={read(){try{let e=sessionStorage.getItem(fR);return e?JSON.parse(e):null}catch(e){return console.error(`Error reading fromStorage ${fR}:`,e),null}},write(e){return sessionStorage.setItem(fR,JSON.stringify(XNe(e,eU))),e}},ret=ec({delays:{timeout:2e3},actions:{"trigger:OnChange":(e,r)=>{}},guards:{"same view":({context:e})=>e.parent.getSnapshot().context.view.id===e.viewId}}).createMachine({initial:"idle",context:({input:e})=>({...e}),states:{idle:{tags:"ready",on:{sync:{target:"pending"}}},paused:{tags:"pending",on:{sync:{target:"pending"}}},pending:{tags:"pending",on:{sync:{target:"pending",reenter:!0},cancel:{target:"paused"}},after:{timeout:[{guard:"same view",actions:{type:"trigger:OnChange",params:({context:e})=>({change:net(e.parent.getSnapshot().context)})},target:"synced"},{target:"stopped"}]}},synced:{tags:"ready",on:{sync:{target:"pending"}}},stopped:{entry:et({parent:null}),type:"final"}},on:{synced:{target:".synced"},stop:{target:".stopped"}}}),kte=ret;function net(e){const{view:r,xystore:n,xyflow:o}=e,{nodeLookup:a}=n.getState(),i=new Set;let l;const s=hf([...a.values()],(u,d)=>{const p=Wn(d);(!_y(d.internals.positionAbsolute,d.data)||d.initialWidth!==p.width||d.initialHeight!==p.height)&&i.add(d.id);const f=u[d.id]={isCompound:d.type!=="element"&&d.type!=="deployment",x:Math.floor(d.internals.positionAbsolute.x),y:Math.floor(d.internals.positionAbsolute.y),width:Math.ceil(p.width),height:Math.ceil(p.height)};return l=l?vx(l,f):f,u},{}),c=hf(o?.getEdges()??[],(u,{source:d,target:p,data:f})=>{let g=f.controlPoints??[];const b=i.has(d)||i.has(p);if(g.length===0&&b&&(g=SQ(f)),f.points.length===0&&g.length===0)return u;const x=u[f.id]={points:f.points};f.labelXY&&f.labelBBox&&(x.labelBBox={...f.labelBBox,...f.labelXY}),f.labelBBox&&(x.labelBBox??=f.labelBBox),To(g,1)&&(x.controlPoints=g);const w=[...f.points.map(_=>_[0]),...g.map(_=>_.x),...x.labelBBox?[x.labelBBox.x,x.labelBBox.x+x.labelBBox.width]:[]],k=[...f.points.map(_=>_[1]),...g.map(_=>_.y),...x.labelBBox?[x.labelBBox.y,x.labelBBox.y+x.labelBBox.height]:[]],C=f0({x:Math.floor(Math.min(...w)),y:Math.floor(Math.min(...k)),x2:Math.ceil(Math.max(...w)),y2:Math.ceil(Math.max(...k))});return l=l?vx(l,C):C,u},{});return l??=r.bounds,{op:"save-manual-layout",layout:{hash:r.hash,autoLayout:r.autoLayout,nodes:s,edges:c,...l}}}const oet=ec({actors:{syncManualLayoutActorLogic:kte,hotkeyActorLogic:tet,overlaysActorLogic:FJe,searchActorLogic:qJe},guards:{isReady:({context:e})=>e.initialized.xydata&&e.initialized.xyflow,"enabled: FitView":({context:e})=>e.features.enableFitView,"enabled: FocusMode":({context:e})=>e.features.enableFocusMode&&(e.view._type!=="dynamic"||e.dynamicViewVariant!=="sequence"),"enabled: Readonly":({context:e})=>e.features.enableReadOnly,"enabled: RelationshipDetails":({context:e})=>e.features.enableRelationshipDetails,"enabled: Search":({context:e})=>e.features.enableSearch,"enabled: ElementDetails":({context:e})=>e.features.enableElementDetails,"enabled: DynamicViewWalkthrough":({context:e})=>e.features.enableDynamicViewWalkthrough,"not readonly":({context:e})=>!e.features.enableReadOnly,"is dynamic view":({context:e})=>e.view._type==="dynamic","is another view":({context:e,event:r})=>{if(qt(r,["update.view","navigate.to"]),r.type==="update.view")return e.view.id!==r.view.id;if(r.type==="navigate.to")return e.view.id!==r.viewId;Xa(r.type)},"click: node has modelFqn":({event:e})=>(qt(e,"xyflow.nodeClick"),"modelFqn"in e.node.data),"click: selected node":({event:e})=>(qt(e,"xyflow.nodeClick"),e.node.selected===!0),"click: same node":({context:e,event:r})=>(qt(r,"xyflow.nodeClick"),e.lastClickedNode?.id===r.node.id),"click: focused node":({context:e,event:r})=>(qt(r,"xyflow.nodeClick"),e.focusedNode===r.node.id),"click: node has connections":({context:e,event:r})=>(qt(r,"xyflow.nodeClick"),e.xyedges.some(n=>n.source===r.node.id||n.target===r.node.id)),"click: selected edge":({event:e})=>(qt(e,"xyflow.edgeClick"),e.edge.selected===!0||e.edge.data.active===!0)},actions:{"trigger:NavigateTo":ui(({context:e})=>({type:"navigateTo",viewId:mt(e.lastOnNavigate,"Invalid state, lastOnNavigate is null").toView})),"assign lastClickedNode":et(({context:e,event:r})=>(qt(r,"xyflow.nodeClick"),{lastClickedNode:WJe({context:e,event:r})})),"assign: focusedNode":et(({event:e})=>{let r;switch(e.type){case"xyflow.nodeClick":r=e.node.data.id;break;case"focus.node":r=e.nodeId;break;default:throw new Error(`Unexpected event type: ${e.type} in action 'assign: focusedNode'`)}return{focusedNode:r}}),"reset lastClickedNode":et(()=>({lastClickedNode:null})),"open source of focused or last clicked node":sn(({context:e,enqueue:r})=>{const n=e.focusedNode??e.lastClickedNode?.id;if(!n||!e.features.enableVscode)return;const o=Qf(e,n);o&&(o.deploymentRef?r.raise({type:"open.source",deployment:o.deploymentRef}):o.modelRef&&r.raise({type:"open.source",element:o.modelRef}))}),"xyflow:fitDiagram":({context:e},r)=>{const{bounds:n=e.view.bounds,duration:o=450}=r??{},{width:a,height:i,panZoom:l,transform:s}=mt(e.xystore).getState(),c=Math.max(1,s[2]),u=tu(n,a,i,pl,c,e.fitViewPadding);u.x=Math.round(u.x),u.y=Math.round(u.y),l?.setViewport(u,o>0?{duration:o}:void 0).catch(console.error)},"xyflow:fitFocusedBounds":({context:e})=>{const r=!!e.activeWalkthrough&&e.dynamicViewVariant==="sequence",{bounds:n,duration:o=450}=r?fje({context:e}):pje({context:e}),{width:a,height:i,panZoom:l,transform:s}=mt(e.xystore).getState(),c=Math.max(1,s[2]),u=tu(n,a,i,pl,c,e.fitViewPadding);u.x=Math.round(u.x),u.y=Math.round(u.y),l?.setViewport(u,o>0?{duration:o}:void 0)},"xyflow:setViewportCenter":({context:e},r)=>{const{x:n,y:o}=r;nt(e.xyflow,"xyflow is not initialized");const a=e.xyflow.getZoom();e.xyflow.setCenter(Math.round(n),Math.round(o),{zoom:a})},"xyflow:setViewport":({context:e},r)=>{const{viewport:n,duration:o=350}=r;e.xystore?.getState().panZoom?.setViewport(n,o>0?{duration:o}:void 0)},"xyflow:alignNodeFromToAfterNavigate":({context:e},r)=>{const n=mt(e.xyflow,"xyflow is not initialized"),o=n.getInternalNode(r.fromNode);if(!o)return;const a=n.flowToScreenPosition({x:o.internals.positionAbsolute.x,y:o.internals.positionAbsolute.y}),i=n.flowToScreenPosition(r.toPosition),l={x:Math.round(a.x-i.x),y:Math.round(a.y-i.y)};e.xystore.getState().panBy(l)},"layout.align":({context:e},r)=>{const{mode:n}=r,o=mt(e.xystore,"xystore is not initialized"),{nodeLookup:a,parentLookup:i}=o.getState(),l=[...new Set(a.values().filter(d=>d.selected).map(d=>d.id)).difference(new Set(i.keys()))];if(!To(l,2)){console.warn("At least 2 nodes must be selected to align");return}const s=ste(o,l),c=YJe(n),u=l.map(d=>({node:mt(a.get(d)),rect:mt(s.rects.get(d))}));c.computeLayout(u.map(({node:d})=>bte(d)));for(const{rect:d,node:p}of u)d.positionAbsolute={...d.positionAbsolute,...c.applyPosition(bte(p))};s.updateXYFlowNodes()},"ensure overlays actor state":sn(({enqueue:e,context:{features:r},system:n})=>{const o=r.enableElementDetails||r.enableRelationshipDetails||r.enableRelationshipBrowser,a=tc(n).overlaysActorRef;if(o&&!a){e.spawnChild("overlaysActorLogic",{id:"overlays",systemId:"overlays"});return}!o&&a&&(e.sendTo(a,{type:"close.all"}),e.stopChild("overlays"))}),"ensure search actor state":sn(({enqueue:e,context:{features:{enableSearch:r}},system:n})=>{const o=tc(n).searchActorRef;if(r&&!o){e.spawnChild("searchActorLogic",{id:"search",systemId:"search"});return}!r&&o&&(e.sendTo(o,{type:"close"}),e.stopChild("search"))}),updateFeatures:et(({event:e})=>(qt(e,"update.features"),{features:{...e.features}})),updateInputs:et(({event:e})=>(qt(e,"update.inputs"),{...e.inputs})),closeSearch:is(({system:e})=>tc(e).searchActorRef,{type:"close"}),closeAllOverlays:is(({system:e})=>tc(e).overlaysActorRef,{type:"close.all"}),startSyncLayout:et(({context:e,spawn:r,self:n})=>({syncLayoutActorRef:r("syncManualLayoutActorLogic",{id:"syncLayout",input:{parent:n,viewId:e.view.id}})})),stopSyncLayout:sn(({context:e,enqueue:r})=>{r.sendTo(e.syncLayoutActorRef,{type:"stop"}),r.stopChild(e.syncLayoutActorRef),r.assign({syncLayoutActorRef:null})}),onNodeMouseEnter:et(({context:e},r)=>({xynodes:e.xynodes.map(n=>n.id===r.node.id?Jt.setHovered(n,!0):n)})),onNodeMouseLeave:et(({context:e},r)=>({xynodes:e.xynodes.map(n=>n.id===r.node.id?Jt.setHovered(n,!1):n)})),onEdgeMouseEnter:sn(({enqueue:e,context:r,event:n})=>{qt(n,"xyflow.edgeMouseEnter");let o=n.edge;e.assign({xyedges:r.xyedges.map(a=>a.id===n.edge.id?(o=Jt.setHovered(a,!0),o):a)}),e.emit({type:"edgeMouseEnter",edge:o,event:n.event})}),onEdgeMouseLeave:sn(({enqueue:e,context:r,event:n})=>{qt(n,"xyflow.edgeMouseLeave");let o=n.edge;e.assign({xyedges:r.xyedges.map(a=>a.id===n.edge.id?(o=Jt.setHovered(a,!1),o):a)}),e.emit({type:"edgeMouseLeave",edge:o,event:n.event})}),"focus on nodes and edges":et(GJe),"notations.highlight":et(({context:e},r)=>{const n=r.kind?[r.kind]:r.notation.kinds;return{xynodes:e.xynodes.map(o=>{const a=Qf(e,o.id);return a&&a.notation===r.notation.title&&a.shape===r.notation.shape&&a.color===r.notation.color&&n.includes(a.kind)?Jt.setDimmed(o,!1):Jt.setDimmed(o,"immediate")}),xyedges:e.xyedges.map(Jt.setDimmed("immediate"))}}),"tag.highlight":et(({context:e,event:r})=>(qt(r,"tag.highlight"),{xynodes:e.xynodes.map(n=>n.data.tags?.includes(r.tag)?Jt.setDimmed(n,!1):Jt.setDimmed(n,!0))})),"undim everything":et(({context:e})=>({xynodes:e.xynodes.map(Jt.setDimmed(!1)),xyedges:e.xyedges.map(Jt.setData({dimmed:!1,active:!1}))})),"update active walkthrough":et(eet),"open element details":is(({system:e})=>tc(e).overlaysActorRef,({context:e,event:r},n)=>{let o=null,a,i;if(n)i=n.fqn,a=n.fromNode??e.view.nodes.find(s=>s.modelRef===n.fqn)?.id;else if(r.type==="xyflow.nodeClick")nt("modelFqn"in r.node.data&&!!r.node.data.modelFqn,"No modelFqn in event node data"),i=r.node.data.modelFqn,a=r.node.data.id;else if(r.type==="open.elementDetails")i=r.fqn,a=r.fromNode;else{nt(e.lastClickedNode,"No last clicked node"),a=mt(e.lastClickedNode).id;const s=mt(e.xynodes.find(c=>c.id===a));nt("modelFqn"in s.data&&!!s.data.modelFqn,"No modelFqn in last clicked node"),i=s.data.modelFqn}const l=a?e.xystore.getState().nodeLookup.get(a):null;if(a&&l){const s=jd(l),c=e.xyflow.getZoom(),u={...e.xyflow.flowToScreenPosition(s),width:s.width*c,height:s.height*c};o={node:a,clientRect:u}}return{type:"open.elementDetails",subject:i,currentView:e.view,...o&&{initiatedFrom:o}}}),"emit: walkthroughStarted":ui(({context:e})=>{const r=e.xyedges.find(n=>n.id===e.activeWalkthrough?.stepId);return nt(r,"Invalid walkthrough state"),{type:"walkthroughStarted",edge:r}}),"emit: walkthroughStep":ui(({context:e})=>{const r=e.xyedges.find(n=>n.id===e.activeWalkthrough?.stepId);return nt(r,"Invalid walkthrough state"),{type:"walkthroughStep",edge:r}}),"emit: walkthroughStopped":ui(()=>({type:"walkthroughStopped"})),"emit: edgeEditingStarted":ui(({context:e,event:r})=>(qt(r,"xyflow.edgeEditingStarted"),{type:"edgeEditingStarted",edge:mt(e.xyedges.find(n=>n.id===r.edge.id),`Edge ${r.edge.id} not found`)})),"emit: paneClick":ui(()=>({type:"paneClick"})),"emit: nodeClick":ui(({context:e,event:r})=>(qt(r,"xyflow.nodeClick"),{type:"nodeClick",node:mt(Qf(e,r.node.id),`Node ${r.node.id} not found in diagram`),xynode:r.node})),"emit: edgeClick":ui(({context:e,event:r})=>(qt(r,"xyflow.edgeClick"),{type:"edgeClick",edge:mt(oS(e,r.edge.id),`Edge ${r.edge.id} not found in diagram`),xyedge:r.edge})),"emit: initialized":ui(({context:e})=>(nt(e.xyflow,"XYFlow instance not found"),{type:"initialized",instance:e.xyflow})),"emit: openSource":ui((e,r)=>({type:"openSource",params:r})),"assign: dynamicViewVariant":et(({event:e})=>(qt(e,"switch.dynamicViewVariant"),{dynamicViewVariant:e.variant}))}}).createMachine({initial:"initializing",context:({input:e})=>({...e,xyedges:[],xynodes:[],features:{...HJ},toggledFeatures:wte.read()??{enableReadOnly:!0},initialized:{xydata:!1,xyflow:!1},viewportChangedManually:!1,lastOnNavigate:null,lastClickedNode:null,focusedNode:null,activeElementDetails:null,viewportBeforeFocus:null,navigationHistory:{currentIndex:0,history:[]},viewport:{x:0,y:0,zoom:1},xyflow:null,syncLayoutActorRef:null,dynamicViewVariant:e.dynamicViewVariant??(e.view._type==="dynamic"?e.view.variant:"diagram")??"diagram",activeWalkthrough:null}),states:{initializing:{on:{"xyflow.init":{actions:et(({context:e,event:r})=>({initialized:{...e.initialized,xyflow:!0},xyflow:r.instance})),target:"isReady"},"update.view":{actions:et(({context:e,event:r})=>({initialized:{...e.initialized,xydata:!0},view:r.view,xynodes:r.xynodes,xyedges:r.xyedges})),target:"isReady"}}},isReady:{always:[{guard:"isReady",actions:[{type:"xyflow:fitDiagram",params:{duration:0}},et(({context:e})=>({navigationHistory:{currentIndex:0,history:[{viewId:e.view.id,fromNode:null,viewport:{...e.xyflow.getViewport()}}]}})),"startSyncLayout","emit: initialized"],target:"ready"},{target:"initializing"}]},ready:{initial:"idle",on:{"navigate.to":{guard:"is another view",actions:et({lastOnNavigate:({context:e,event:r})=>({fromView:e.view.id,toView:r.viewId,fromNode:r.fromNode??null})}),target:"#navigating"},"navigate.back":{guard:({context:e})=>e.navigationHistory.currentIndex>0,actions:et(XJe),target:"#navigating"},"navigate.forward":{guard:({context:e})=>e.navigationHistory.currentIndex({mode:e.mode})},ln({type:"saveManualLayout.schedule"})]},"layout.resetEdgeControlPoints":{guard:"not readonly",actions:[et(JJe),ln({type:"saveManualLayout.schedule"})]},"xyflow.resized":{guard:({context:e})=>e.features.enableFitView&&!e.viewportChangedManually,actions:[oa("fitDiagram"),ln({type:"fitDiagram"},{id:"fitDiagram",delay:200})]},"open.elementDetails":{guard:"enabled: ElementDetails",actions:"open element details"},"open.relationshipsBrowser":{actions:is(({system:e})=>tc(e).overlaysActorRef,({context:e,event:r})=>({type:"open.relationshipsBrowser",subject:r.fqn,viewId:e.view.id,scope:"view",closeable:!0,enableChangeScope:!0,enableSelectSubject:!0}))},"open.relationshipDetails":{actions:is(({system:e})=>tc(e).overlaysActorRef,({context:e,event:r})=>({type:"open.relationshipDetails",viewId:e.view.id,...r.params}))},"open.source":{actions:{type:"emit: openSource",params:Ca("event")}},"walkthrough.start":{guard:"is dynamic view",target:".walkthrough"},"toggle.feature":{actions:et({toggledFeatures:({context:e,event:r})=>wte.write({...e.toggledFeatures,[`enable${r.feature}`]:r.forceValue??!(e.toggledFeatures[`enable${r.feature}`]??e.features[`enable${r.feature}`])})})},"xyflow.nodeMouseEnter":{actions:{type:"onNodeMouseEnter",params:Ca("event")}},"xyflow.nodeMouseLeave":{actions:{type:"onNodeMouseLeave",params:Ca("event")}},"xyflow.edgeMouseEnter":{actions:"onEdgeMouseEnter"},"xyflow.edgeMouseLeave":{actions:"onEdgeMouseLeave"},"notations.highlight":{actions:{type:"notations.highlight",params:Ca("event")}},"notations.unhighlight":{actions:"undim everything"},"tag.highlight":{actions:"tag.highlight"},"tag.unhighlight":{actions:"undim everything"},"saveManualLayout.*":{guard:"not readonly",actions:is(e=>e.context.syncLayoutActorRef,({event:e})=>{if(e.type==="saveManualLayout.schedule")return{type:"sync"};if(e.type==="saveManualLayout.cancel")return{type:"cancel"};Xa(e)})},"open.search":{guard:"enabled: Search",actions:is(({system:e})=>tc(e).searchActorRef,({event:e})=>({type:"open",search:e.search}))}},exit:[oa("fitDiagram")],states:{idle:{id:"idle",on:{"xyflow.nodeClick":[{guard:Zw(["enabled: FocusMode","click: node has connections",_G(["click: same node","click: selected node"])]),actions:["assign lastClickedNode","assign: focusedNode","emit: nodeClick"],target:"focused"},{guard:Zw(["enabled: ElementDetails","click: node has modelFqn",_G(["click: same node","click: selected node"])]),actions:["assign lastClickedNode","open source of focused or last clicked node","open element details","emit: nodeClick"]},{actions:["assign lastClickedNode","open source of focused or last clicked node","emit: nodeClick"]}],"xyflow.paneClick":{actions:["reset lastClickedNode","emit: paneClick"]},"xyflow.paneDblClick":{actions:["reset lastClickedNode","xyflow:fitDiagram",{type:"emit: openSource",params:({context:e})=>({view:e.view.id})}]},"focus.node":{guard:"enabled: FocusMode",actions:"assign: focusedNode",target:"focused"},"xyflow.edgeClick":{guard:Zw(["is dynamic view","enabled: DynamicViewWalkthrough","click: selected edge"]),actions:[ln(({event:e})=>({type:"walkthrough.start",stepId:e.edge.id})),"emit: edgeClick"]}}},focused:{entry:["focus on nodes and edges",et(e=>({viewportBeforeFocus:{...e.context.viewport}})),"open source of focused or last clicked node",Vf("hotkeyActorLogic",{id:"hotkey"}),"xyflow:fitFocusedBounds"],exit:sn(({enqueue:e,context:r})=>{e.stopChild("hotkey"),r.viewportBeforeFocus?e({type:"xyflow:setViewport",params:{viewport:r.viewportBeforeFocus}}):e("xyflow:fitDiagram"),e("undim everything"),e.assign({viewportBeforeFocus:null,focusedNode:null})}),on:{"xyflow.nodeClick":[{guard:Zw(["click: focused node","click: node has modelFqn"]),actions:["open element details","emit: nodeClick"]},{guard:"click: focused node",actions:"emit: nodeClick",target:"#idle"},{actions:["assign lastClickedNode",ln(({event:e})=>({type:"focus.node",nodeId:e.node.id})),"emit: nodeClick"]}],"focus.node":{actions:["assign: focusedNode","focus on nodes and edges","open source of focused or last clicked node","xyflow:fitFocusedBounds"]},"key.esc":{target:"idle"},"xyflow.paneClick":{actions:["reset lastClickedNode","emit: paneClick"],target:"idle"},"notations.unhighlight":{actions:"focus on nodes and edges"},"tag.unhighlight":{actions:"focus on nodes and edges"}}},walkthrough:{entry:[Vf("hotkeyActorLogic",{id:"hotkey"}),et({viewportBeforeFocus:({context:e})=>e.viewport,activeWalkthrough:({context:e,event:r})=>{qt(r,"walkthrough.start");const n=r.stepId??pf(e.xyedges).id;return{stepId:n,parallelPrefix:P8(n)}}}),"update active walkthrough","xyflow:fitFocusedBounds","emit: walkthroughStarted"],exit:sn(({enqueue:e,context:r})=>{e.stopChild("hotkey"),r.viewportBeforeFocus?e({type:"xyflow:setViewport",params:{viewport:r.viewportBeforeFocus}}):e("xyflow:fitDiagram"),r.dynamicViewVariant==="sequence"&&r.activeWalkthrough?.parallelPrefix&&e.assign({xynodes:r.xynodes.map(n=>n.type==="seq-parallel"?Jt.setData(n,{color:u4.default}):n)}),e("undim everything"),e.assign({activeWalkthrough:null,viewportBeforeFocus:null}),e("emit: walkthroughStopped")}),on:{"key.esc":{target:"idle"},"key.arrow.left":{actions:ln({type:"walkthrough.step",direction:"previous"})},"key.arrow.right":{actions:ln({type:"walkthrough.step",direction:"next"})},"walkthrough.step":{actions:[et(({context:e,event:r})=>{const{stepId:n}=e.activeWalkthrough,o=e.xyedges.findIndex(l=>l.id===n),a=Ki(r.direction==="next"?o+1:o-1,{min:0,max:e.xyedges.length-1});if(a===o)return{};const i=e.xyedges[a].id;return{activeWalkthrough:{stepId:i,parallelPrefix:P8(i)}}}),"update active walkthrough","xyflow:fitFocusedBounds","emit: walkthroughStep"]},"xyflow.edgeClick":{actions:[et(({event:e,context:r})=>!v1(e.edge.id)||e.edge.id===r.activeWalkthrough?.stepId?{}:{activeWalkthrough:{stepId:e.edge.id,parallelPrefix:P8(e.edge.id)}}),"update active walkthrough","xyflow:fitFocusedBounds","emit: edgeClick","emit: walkthroughStep"]},"notations.unhighlight":{actions:"update active walkthrough"},"tag.unhighlight":{actions:"update active walkthrough"},"walkthrough.end":{target:"idle"},"xyflow.paneDblClick":{target:"idle"},"update.view":{guard:"is another view",actions:ln(({event:e})=>e,{delay:50}),target:"idle"}}}}},navigating:{id:"navigating",entry:["closeAllOverlays","closeSearch","stopSyncLayout","trigger:NavigateTo"],on:{"update.view":{actions:sn(({enqueue:e,context:r,event:n})=>{const{fromNode:o,toNode:a}=Ete(r,n);e(o&&a?{type:"xyflow:alignNodeFromToAfterNavigate",params:{fromNode:o.id,toPosition:{x:a.data.x,y:a.data.y}}}:{type:"xyflow:setViewportCenter",params:Qc.center(n.view.bounds)}),e.assign(xte),e.assign({...vte({context:r,event:n}),lastOnNavigate:null}),e("startSyncLayout"),e.raise({type:"fitDiagram"},{id:"fitDiagram",delay:25})}),target:"#idle"}}}},on:{"xyflow.paneClick":{actions:"emit: paneClick"},"xyflow.nodeClick":{actions:"emit: nodeClick"},"xyflow.edgeClick":{actions:"emit: edgeClick"},"xyflow.applyNodeChanges":{actions:et({xynodes:({context:e,event:r})=>Rx(r.changes,e.xynodes)})},"xyflow.applyEdgeChanges":{actions:et({xyedges:({context:e,event:r})=>Ax(r.changes,e.xyedges)})},"xyflow.viewportMoved":{actions:et({viewportChangedManually:(({event:e})=>e.manually),viewport:(({event:e})=>e.viewport)})},"xyflow.edgeEditingStarted":{actions:"emit: edgeEditingStarted"},fitDiagram:{guard:"enabled: FitView",actions:{type:"xyflow:fitDiagram",params:Ca("event")}},"update.nodeData":{actions:et(ZJe)},"update.edgeData":{actions:et(QJe)},"update.view":{actions:[et(xte),sn(({enqueue:e,event:r,check:n,context:o})=>{const a=n("is another view");if(a){e("closeAllOverlays"),e("closeSearch"),e("stopSyncLayout"),e.assign({focusedNode:null});const{fromNode:i,toNode:l}=Ete(o,r);i&&l?(e({type:"xyflow:alignNodeFromToAfterNavigate",params:{fromNode:i.id,toPosition:{x:l.data.x,y:l.data.y}}}),e.raise({type:"fitDiagram"},{id:"fitDiagram",delay:80})):(e({type:"xyflow:setViewportCenter",params:Qc.center(r.view.bounds)}),e.raise({type:"fitDiagram",duration:200},{id:"fitDiagram",delay:25}))}else{const i=r.view;i._type==="dynamic"&&o.view._type==="dynamic"&&i.variant!==o.view.variant&&e({type:"xyflow:setViewportCenter",params:Qc.center(i.bounds)})}e.assign({...vte({context:o,event:r}),lastOnNavigate:null}),a?e("startSyncLayout"):(e.sendTo(i=>i.context.syncLayoutActorRef,{type:"synced"}),o.viewportChangedManually||e.raise({type:"fitDiagram"},{id:"fitDiagram",delay:50}))})]},"update.inputs":{actions:"updateInputs"},"update.features":{actions:["updateFeatures","ensure overlays actor state","ensure search actor state"]},"switch.dynamicViewVariant":{actions:"assign: dynamicViewVariant"}},exit:["stopSyncLayout",oa("fitDiagram"),yu("hotkey"),yu("overlays"),yu("search"),et({xyflow:null,xystore:null,xyedges:[],xynodes:[],initialized:{xydata:!1,xyflow:!1},syncLayoutActorRef:null})]});function _te(e){switch(e.type){case"element":case"compound-element":case"seq-actor":return e.data.modelFqn;case"deployment":case"compound-deployment":return e.data.modelFqn??e.data.deploymentFqn;case"seq-parallel":case"view-group":return null;default:Xa(e)}}function Ete(e,r){const n=e.lastOnNavigate?.fromNode,o=n&&e.xynodes.find(l=>l.id===n),a=o&&_te(o),i=a&&r.xynodes.find(l=>_te(l)===a);return{fromNode:o,toNode:i}}const aet=oet,iet=e=>e.context.dynamicViewVariant;function set({view:e,zoomable:r,pannable:n,fitViewPadding:o,nodesSelectable:a,where:i,children:l,dynamicViewVariant:s}){const{handlersRef:c}=lc(),u=fr(),d=E.useRef(null);d.current||(d.current=aet.provide({actors:{syncManualLayoutActorLogic:kte.provide({actions:{"trigger:OnChange":((x,w)=>{c.current.onChange?.(w)})}})}}));const p=nS(d.current,{id:"diagram",systemId:"diagram",input:{xystore:u,view:e,zoomable:r,pannable:n,fitViewPadding:o,nodesSelectable:a,dynamicViewVariant:s}}),f=wr();jj(()=>{p.send({type:"update.features",features:f})},[f],Gn),E.useEffect(()=>{p.send({type:"update.inputs",inputs:{zoomable:r,pannable:n,fitViewPadding:o,nodesSelectable:a}})},[r,n,o,a]);const g=wn(p,iet),b=E.useMemo(()=>DJe({view:e,where:i,nodesSelectable:a,dynamicViewVariant:g}),[e,i,a,g]);return Hj(()=>{p.send({type:"update.view",...b})},[p,b]),D2(()=>{s&&p.send({type:"switch.dynamicViewVariant",variant:s})},[s]),y.jsxs(gje,{value:p,children:[y.jsx(sG,{children:y.jsx(uet,{actorRef:p,children:l})}),y.jsx(det,{actorRef:p})]})}const cet=e=>e.context.features.enableReadOnly||e.context.activeWalkthrough?{viewId:e.context.view.id,toggledFeatures:{...e.context.toggledFeatures,enableReadOnly:!0}}:{viewId:e.context.view.id,toggledFeatures:e.context.toggledFeatures};function uet({children:e,actorRef:r}){const{viewId:n,toggledFeatures:o}=wn(r,cet,ut),a=Ho().findView(n);return y.jsx(M7.Provider,{value:a,children:y.jsx(hp,{overrides:o,children:e})})}function det({actorRef:e}){const r=Wt(),{onNavigateTo:n,onOpenSource:o,handlersRef:a}=lc();il("openSource",({params:l})=>o?.(l)),il("navigateTo",({viewId:l})=>n?.(l));const i=E.useRef(!1);return E.useEffect(()=>{if(i.current)return;let l=e.on("initialized",({instance:s})=>{try{a.current.onInitialized?.({diagram:r,xyflow:s})}catch(c){console.error(c)}i.current=!0,l?.unsubscribe(),l=null});return()=>{l?.unsubscribe()}},[e,r]),null}const d4={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:e=>e>=255?255:e<0?0:e,g:e=>e>=255?255:e<0?0:e,b:e=>e>=255?255:e<0?0:e,h:e=>e%360,s:e=>e>=100?100:e<0?0:e,l:e=>e>=100?100:e<0?0:e,a:e=>e>=1?1:e<0?0:e},toLinear:e=>{const r=e/255;return e>.03928?Math.pow((r+.055)/1.055,2.4):r/12.92},hue2rgb:(e,r,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(r-e)*6*n:n<1/2?r:n<2/3?e+(r-e)*(2/3-n)*6:e),hsl2rgb:({h:e,s:r,l:n},o)=>{if(!r)return n*2.55;e/=360,r/=100,n/=100;const a=n<.5?n*(1+r):n+r-n*r,i=2*n-a;switch(o){case"r":return d4.hue2rgb(i,a,e+1/3)*255;case"g":return d4.hue2rgb(i,a,e)*255;case"b":return d4.hue2rgb(i,a,e-1/3)*255}},rgb2hsl:({r:e,g:r,b:n},o)=>{e/=255,r/=255,n/=255;const a=Math.max(e,r,n),i=Math.min(e,r,n),l=(a+i)/2;if(o==="l")return l*100;if(a===i)return 0;const s=a-i,c=l>.5?s/(2-a-i):s/(a+i);if(o==="s")return c*100;switch(a){case e:return((r-n)/s+(rr>n?Math.min(r,Math.max(n,e)):Math.min(n,Math.max(r,e)),round:e=>Math.round(e*1e10)/1e10},het={dec2hex:e=>{const r=Math.round(e).toString(16);return r.length>1?r:`0${r}`}},At={channel:d4,lang:pet,unit:het},Tu={};for(let e=0;e<=255;e++)Tu[e]=At.unit.dec2hex(e);const Po={ALL:0,RGB:1,HSL:2};class fet{constructor(){this.type=Po.ALL}get(){return this.type}set(r){if(this.type&&this.type!==r)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=r}reset(){this.type=Po.ALL}is(r){return this.type===r}}class met{constructor(r,n){this.color=n,this.changed=!1,this.data=r,this.type=new fet}set(r,n){return this.color=n,this.changed=!1,this.data=r,this.type.type=Po.ALL,this}_ensureHSL(){const r=this.data,{h:n,s:o,l:a}=r;n===void 0&&(r.h=At.channel.rgb2hsl(r,"h")),o===void 0&&(r.s=At.channel.rgb2hsl(r,"s")),a===void 0&&(r.l=At.channel.rgb2hsl(r,"l"))}_ensureRGB(){const r=this.data,{r:n,g:o,b:a}=r;n===void 0&&(r.r=At.channel.hsl2rgb(r,"r")),o===void 0&&(r.g=At.channel.hsl2rgb(r,"g")),a===void 0&&(r.b=At.channel.hsl2rgb(r,"b"))}get r(){const r=this.data,n=r.r;return!this.type.is(Po.HSL)&&n!==void 0?n:(this._ensureHSL(),At.channel.hsl2rgb(r,"r"))}get g(){const r=this.data,n=r.g;return!this.type.is(Po.HSL)&&n!==void 0?n:(this._ensureHSL(),At.channel.hsl2rgb(r,"g"))}get b(){const r=this.data,n=r.b;return!this.type.is(Po.HSL)&&n!==void 0?n:(this._ensureHSL(),At.channel.hsl2rgb(r,"b"))}get h(){const r=this.data,n=r.h;return!this.type.is(Po.RGB)&&n!==void 0?n:(this._ensureRGB(),At.channel.rgb2hsl(r,"h"))}get s(){const r=this.data,n=r.s;return!this.type.is(Po.RGB)&&n!==void 0?n:(this._ensureRGB(),At.channel.rgb2hsl(r,"s"))}get l(){const r=this.data,n=r.l;return!this.type.is(Po.RGB)&&n!==void 0?n:(this._ensureRGB(),At.channel.rgb2hsl(r,"l"))}get a(){return this.data.a}set r(r){this.type.set(Po.RGB),this.changed=!0,this.data.r=r}set g(r){this.type.set(Po.RGB),this.changed=!0,this.data.g=r}set b(r){this.type.set(Po.RGB),this.changed=!0,this.data.b=r}set h(r){this.type.set(Po.HSL),this.changed=!0,this.data.h=r}set s(r){this.type.set(Po.HSL),this.changed=!0,this.data.s=r}set l(r){this.type.set(Po.HSL),this.changed=!0,this.data.l=r}set a(r){this.changed=!0,this.data.a=r}}const p4=new met({r:0,g:0,b:0,a:0},"transparent"),Cm={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:e=>{if(e.charCodeAt(0)!==35)return;const r=e.match(Cm.re);if(!r)return;const n=r[1],o=parseInt(n,16),a=n.length,i=a%4===0,l=a>4,s=l?1:17,c=l?8:4,u=i?0:-1,d=l?255:15;return p4.set({r:(o>>c*(u+3)&d)*s,g:(o>>c*(u+2)&d)*s,b:(o>>c*(u+1)&d)*s,a:i?(o&d)*s/255:1},e)},stringify:e=>{const{r,g:n,b:o,a}=e;return a<1?`#${Tu[Math.round(r)]}${Tu[Math.round(n)]}${Tu[Math.round(o)]}${Tu[Math.round(a*255)]}`:`#${Tu[Math.round(r)]}${Tu[Math.round(n)]}${Tu[Math.round(o)]}`}},xp={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:e=>{const r=e.match(xp.hueRe);if(r){const[,n,o]=r;switch(o){case"grad":return At.channel.clamp.h(parseFloat(n)*.9);case"rad":return At.channel.clamp.h(parseFloat(n)*180/Math.PI);case"turn":return At.channel.clamp.h(parseFloat(n)*360)}}return At.channel.clamp.h(parseFloat(e))},parse:e=>{const r=e.charCodeAt(0);if(r!==104&&r!==72)return;const n=e.match(xp.re);if(!n)return;const[,o,a,i,l,s]=n;return p4.set({h:xp._hue2deg(o),s:At.channel.clamp.s(parseFloat(a)),l:At.channel.clamp.l(parseFloat(i)),a:l?At.channel.clamp.a(s?parseFloat(l)/100:parseFloat(l)):1},e)},stringify:e=>{const{h:r,s:n,l:o,a}=e;return a<1?`hsla(${At.lang.round(r)}, ${At.lang.round(n)}%, ${At.lang.round(o)}%, ${a})`:`hsl(${At.lang.round(r)}, ${At.lang.round(n)}%, ${At.lang.round(o)}%)`}},zy={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:e=>{e=e.toLowerCase();const r=zy.colors[e];if(r)return Cm.parse(r)},stringify:e=>{const r=Cm.stringify(e);for(const n in zy.colors)if(zy.colors[n]===r)return n}},By={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:e=>{const r=e.charCodeAt(0);if(r!==114&&r!==82)return;const n=e.match(By.re);if(!n)return;const[,o,a,i,l,s,c,u,d]=n;return p4.set({r:At.channel.clamp.r(a?parseFloat(o)*2.55:parseFloat(o)),g:At.channel.clamp.g(l?parseFloat(i)*2.55:parseFloat(i)),b:At.channel.clamp.b(c?parseFloat(s)*2.55:parseFloat(s)),a:u?At.channel.clamp.a(d?parseFloat(u)/100:parseFloat(u)):1},e)},stringify:e=>{const{r,g:n,b:o,a}=e;return a<1?`rgba(${At.lang.round(r)}, ${At.lang.round(n)}, ${At.lang.round(o)}, ${At.lang.round(a)})`:`rgb(${At.lang.round(r)}, ${At.lang.round(n)}, ${At.lang.round(o)})`}},yl={format:{keyword:zy,hex:Cm,rgb:By,rgba:By,hsl:xp,hsla:xp},parse:e=>{if(typeof e!="string")return e;const r=Cm.parse(e)||By.parse(e)||xp.parse(e)||zy.parse(e);if(r)return r;throw new Error(`Unsupported color format: "${e}"`)},stringify:e=>!e.changed&&e.color?e.color:e.type.is(Po.HSL)||e.data.r===void 0?xp.stringify(e):e.a<1||!Number.isInteger(e.r)||!Number.isInteger(e.g)||!Number.isInteger(e.b)?By.stringify(e):Cm.stringify(e)},Ste=(e,r)=>{const n=yl.parse(e);for(const o in r)n[o]=At.channel.clamp[o](r[o]);return yl.stringify(n)},get=(e,r,n=0,o=1)=>{if(typeof e!="number")return Ste(e,{a:r});const a=p4.set({r:At.channel.clamp.r(e),g:At.channel.clamp.g(r),b:At.channel.clamp.b(n),a:At.channel.clamp.a(o)});return yl.stringify(a)},Cte=e=>yl.format.hex.stringify(yl.parse(e)),Tte=e=>yl.format.rgba.stringify(yl.parse(e)),yet=(e,r)=>{const n=yl.parse(e),o={};for(const a in r)r[a]&&(o[a]=n[a]+r[a]);return Ste(e,o)},Rte=(e,r,n=50)=>{const{r:o,g:a,b:i,a:l}=yl.parse(e),{r:s,g:c,b:u,a:d}=yl.parse(r),p=n/100,f=p*2-1,g=l-d,b=((f*g===-1?f:(f+g)/(1+f*g))+1)/2,x=1-b,w=o*b+s*x,k=a*b+c*x,C=i*b+u*x,_=l*p+d*(1-p);return get(w,k,C,_)},Ate=(e,r)=>{const n=yl.parse(e),o={},a=(i,l,s)=>l>0?(s-i)*l/100:i*l/100;for(const i in r)o[i]=a(n[i],r[i],At.channel.max[i]);return yet(e,o)},Nte=e=>`[data-mantine-color-scheme="${e}"]`,Dte=Nte("dark"),bet=Nte("light"),vet=5,xet=(e,r,n,o)=>{const a=s=>Cte(Ate(s,{l:-22-5*o,s:-10-6*o})),i=s=>Cte(Ate(s,{l:-20-3*o,s:-3-6*o})),l=`:where(${e} [data-likec4-color="${r}"][data-compound-depth="${o}"])`;return` + */const iJe=[["path",{d:"M7 7l10 10",key:"svg-0"}],["path",{d:"M17 8l0 9l-9 0",key:"svg-1"}]],lJe=xt("outline","arrow-down-right","ArrowDownRight",iJe),sJe=({value:e})=>{const{title:r,color:n="primary",shape:o="rectangle"}=e,[a,i]=S.useState(null),l=Yt(),s=300,c=200;return y.jsx(Hw,{shadow:"none",px:"xs",py:"sm",className:Je(rJe),"data-likec4-color":n,onMouseEnter:()=>{i(null),l.highlightNotation(e)},onMouseLeave:()=>{i(null),l.unhighlightNotation()},children:y.jsxs(Wr,{gap:"sm",align:"stretch",wrap:"nowrap",children:[y.jsx(Se,{flex:"0 0 70px",style:{position:"relative",width:70,height:MNe(70*(c/s),0)},children:y.jsx(km,{data:{shape:o,width:s,height:c}})}),y.jsxs(Ho,{gap:4,flex:1,children:[y.jsx(Wr,{gap:4,flex:"0 0 auto",children:e.kinds.map(u=>y.jsx(Qs,{className:Je(nJe),onMouseEnter:()=>{i(u),l.highlightNotation(e,u)},onMouseLeave:()=>{i(null),l.highlightNotation(e)},opacity:pU(a)&&a!==u?.25:1,children:u},u))}),y.jsx(pt,{component:"div",fz:"sm",fw:500,lh:"1.25",style:{textWrap:"pretty"},children:r})]})]})})},cJe=e=>({id:e.view.id,notations:e.view.notation?.nodes??[]}),uJe=S.memo(()=>{const e=FC(s=>s.height),{id:r,notations:n}=Ma(cJe),[o,a]=UPe({key:"notation-webview-collapsed",defaultValue:!0}),i=n.length>0,l=Tm();return y.jsxs(Oa,{children:[!i&&y.jsx(dl.div,{initial:{opacity:.75,translateX:"50%"},animate:{opacity:1,translateX:0},exit:{translateX:"100%",opacity:.6},className:uR,children:y.jsx(no,{label:"View has no notations",color:"orange",...l,children:y.jsx(hi,{size:"lg",variant:"light",color:"orange",radius:"md",children:y.jsx(rte,{})})})},"empty"),i&&o&&y.jsx(dl.div,{initial:{opacity:.75,translateX:"50%"},animate:{opacity:1,translateX:0},exit:{translateX:"100%",opacity:.6},className:uR,children:y.jsx(no,{label:"Show notation",color:"dark",fz:"xs",...l,children:y.jsx(ir,{size:"lg",variant:"default",color:"gray",className:JQe,onClick:()=>a(!1),children:y.jsx(aJe,{stroke:1.5})})})},"collapsed"),i&&!o&&y.jsx(dl.div,{initial:{opacity:.75,scale:.2},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.25},className:Je("react-flow__panel",uR),style:{transformOrigin:"bottom right"},children:y.jsx(Lf,{radius:"sm",withBorder:!0,shadow:"lg",className:eJe,children:y.jsxs(up,{defaultValue:"first",radius:"xs",children:[y.jsxs(ty,{children:[y.jsx(ir,{size:"md",variant:"subtle",color:"gray",ml:2,style:{alignSelf:"center"},onClick:()=>a(!0),children:y.jsx(lJe,{stroke:2})}),y.jsx(Yf,{value:"first",fz:"xs",children:"Elements"}),y.jsx(Yf,{value:"second",fz:"xs",disabled:!0,children:"Relationships"})]}),y.jsx(ec,{value:"first",className:tJe,hidden:o,children:y.jsx(na,{viewportProps:{style:{maxHeight:`min(40vh, ${Math.max(e-60,50)}px)`}},children:y.jsx(Ho,{gap:0,children:n.map((s,c)=>y.jsx(sJe,{value:s},c))})})})]})})},r)]})}),ite=S.memo(()=>{const{enableControls:e,enableNotations:r,enableSearch:n,enableRelationshipDetails:o}=Er(),a=UEe(),i=tX(),l=Xje();return y.jsxs(vG,{onReset:a,children:[e&&y.jsx(eBe,{children:y.jsx(ate,{})}),i&&y.jsx(iKe,{overlaysActorRef:i}),r&&y.jsx(uJe,{}),n&&l&&y.jsx(YKe,{searchActorRef:l}),o&&y.jsx(eZe,{})]})});ite.displayName="DiagramUI";function Am(e){return function(){return e}}const lte=1e-12,dR=Math.PI,pR=2*dR,Rp=1e-6,dJe=pR-Rp;function ste(e){this._+=e[0];for(let r=1,n=e.length;r=0))throw new Error(`invalid digits: ${e}`);if(r>15)return ste;const n=10**r;return function(o){this._+=o[0];for(let a=1,i=o.length;aRp)if(!(Math.abs(p*c-u*d)>Rp)||!i)this._append`L${this._x1=r},${this._y1=n}`;else{let g=o-l,b=a-s,x=c*c+u*u,w=g*g+b*b,k=Math.sqrt(x),C=Math.sqrt(f),_=i*Math.tan((dR-Math.acos((x+f-w)/(2*k*C)))/2),T=_/C,R=_/k;Math.abs(T-1)>Rp&&this._append`L${r+T*d},${n+T*p}`,this._append`A${i},${i},0,0,${+(p*g>d*b)},${this._x1=r+R*c},${this._y1=n+R*u}`}}arc(r,n,o,a,i,l){if(r=+r,n=+n,o=+o,l=!!l,o<0)throw new Error(`negative radius: ${o}`);let s=o*Math.cos(a),c=o*Math.sin(a),u=r+s,d=n+c,p=1^l,f=l?a-i:i-a;this._x1===null?this._append`M${u},${d}`:(Math.abs(this._x1-u)>Rp||Math.abs(this._y1-d)>Rp)&&this._append`L${u},${d}`,o&&(f<0&&(f=f%pR+pR),f>dJe?this._append`A${o},${o},0,1,${p},${r-s},${n-c}A${o},${o},0,1,${p},${this._x1=u},${this._y1=d}`:f>Rp&&this._append`A${o},${o},0,${+(f>=dR)},${p},${this._x1=r+o*Math.cos(i)},${this._y1=n+o*Math.sin(i)}`)}rect(r,n,o,a){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+n}h${o=+o}v${+a}h${-o}Z`}toString(){return this._}}function fJe(e){let r=3;return e.digits=function(n){if(!arguments.length)return r;if(n==null)r=null;else{const o=Math.floor(n);if(!(o>=0))throw new RangeError(`invalid digits: ${n}`);r=o}return e},()=>new hJe(r)}function mJe(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function cte(e){this._context=e}cte.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;default:this._context.lineTo(e,r);break}}};function gJe(e){return new cte(e)}function yJe(e){return e[0]}function bJe(e){return e[1]}function vJe(e,r){var n=Am(!0),o=null,a=gJe,i=null,l=fJe(s);e=typeof e=="function"?e:e===void 0?yJe:Am(e),r=typeof r=="function"?r:r===void 0?bJe:Am(r);function s(c){var u,d=(c=mJe(c)).length,p,f=!1,g;for(o==null&&(i=a(g=l())),u=0;u<=d;++u)!(ulte){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);o=(o*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,a=(a*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>lte){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,d=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*u+e._x1*e._l23_2a-r*e._l12_2a)/d,l=(l*u+e._y1*e._l23_2a-n*e._l12_2a)/d}e._context.bezierCurveTo(o,a,i,l,e._x2,e._y2)}function dte(e,r){this._context=e,this._alpha=r}dte.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,r){if(e=+e,r=+r,this._point){var n=this._x2-e,o=this._y2-r;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;break;case 2:this._point=3;default:ute(this,e,r);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=r}},(function e(r){function n(o){return r?new dte(o,r):new fR(o,0)}return n.alpha=function(o){return e(+o)},n})(.5);function pte(e,r){this._context=e,this._alpha=r}pte.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,r){if(e=+e,r=+r,this._point){var n=this._x2-e,o=this._y2-r;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+o*o,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ute(this,e,r);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=r}};const xJe=(function e(r){function n(o){return r?new pte(o,r):new mR(o,0)}return n.alpha=function(o){return e(+o)},n})(.5);class ia{constructor(r,n){this.x=r,this.y=n}static create(r){return new ia(r.x,r.y)}static add(r,n){return{x:r.x+n.x,y:r.y+n.y}}static sub(r,n){return{x:r.x-n.x,y:r.y-n.y}}static mul(r,n){return{x:r.x*n,y:r.y*n}}static dot(r,n){return r.x*n.x+r.y*n.y}static cross(r,n){return new ia(r.y*n.x-r.x*n.y,r.x*n.y-r.y*n.x)}static setLength(r,n){return Ap(r).setLength(n)}add(r){return new ia(this.x+r.x,this.y+r.y)}sub(r){return new ia(this.x-r.x,this.y-r.y)}mul(r){return new ia(this.x*r,this.y*r)}dot(r){return this.x*r.x+this.y*r.y}cross(r){return new ia(this.y*r.x-this.x*r.y,this.x*r.y-this.y*r.x)}abs(){return Math.sqrt(this.x*this.x+this.y*this.y)}setLength(r){return this.mul(r/this.abs())}}function Ap(e){return ia.create(e)}const wJe=".react-flow__edge.selected",kJe=me({overflow:"visible",position:"absolute",pointerEvents:"none",top:"0",left:"0",mixBlendMode:"normal"}),_Je=me({fill:"var(--likec4-palette-relation-stroke)",stroke:"var(--likec4-palette-relation-stroke)",fillOpacity:.75,strokeWidth:1,cursor:"grab",pointerEvents:"auto",visibility:"hidden",_hover:{fillOpacity:1,stroke:"mantine.colors.primary.filledHover",strokeWidth:10,transition:"stroke 100ms ease-out, stroke-width 100ms ease-out"},[`:where(${wJe}, [data-likec4-hovered='true']) &`]:{visibility:"visible",transition:"fill-opacity 150ms ease-out, stroke 150ms ease-out, stroke-width 150ms ease-out",transitionDelay:"50ms",fillOpacity:1,strokeWidth:5}}),EJe=me({cursor:"grabbing","& *":{cursor:"grabbing !important"},"& .react-flow__edge-interaction":{cursor:"grabbing !important"}});function SJe(e){const{width:r,height:n}=Qn(e),{x:o,y:a}=e.internals.positionAbsolute;return{x:o+r/2,y:a+n/2}}function i4(e,r,n=0){const o=SJe(e),{width:a,height:i}=Qn(e),l=new ia(r.x,r.y).sub(o),s=(n+(a||0)/2)/l.x,c=(n+(i||0)/2)/l.y,u=Math.min(Math.abs(s),Math.abs(c));return Ap(l).mul(u).add(o)}const CJe=vJe().curve(xJe).x(e=>e.x).y(e=>e.y),TJe=qT(e=>{const[r,n]=S.useState(!1),o=HC(),a=bYe(),i=Yt(),{enableNavigateTo:l,enableEdgeEditing:s}=Er(),{id:c,source:u,sourceX:d,sourceY:p,target:f,targetX:g,targetY:b,selected:x=!1,data:{id:w,points:k,hovered:C=!1,active:_=!1,labelBBox:T,labelXY:R,...A},style:D={}}=e,N=l?A.navigateTo:void 0,$=bt(PQ(u),`source node ${u} not found`),O=bt(PQ(f),`target node ${f} not found`),j=Ta(A.controlPoints)||!$y($.internals.positionAbsolute,$.data)||!$y(O.internals.positionAbsolute,O.data);let L=A.controlPoints??IQ(e.data),Y;if(j){const W={x:d,y:p},Q={x:g,y:b},J=6,ne=A.dir==="back"?[Q,i4(O,xf(L)??W,J),...L,i4($,ep(L)??Q,J),W]:[W,i4($,xf(L)??Q,J),...L,i4(O,ep(L)??W,J),Q];Y=bt(CJe(ne))}else Y=DYe(k);let M=T?.x??0,q=T?.y??0;const[z,H]=S.useState({x:R?.x??M,y:R?.y??q}),U=S.useRef(null);S.useEffect(()=>{const W=U.current;if(!W)return;const Q=W.getPointAtLength(W.getTotalLength()*.5),J={x:xi(Q.x),y:xi(Q.y)};H(ne=>$y(ne,J)?ne:J)},[Y]),FEe(()=>{!T||T.x===z.x&&T.y===z.y||i.updateEdgeData(c,{labelXY:{x:z.x,y:z.y}})},[z],50,300),(j||r)&&(M=z.x,q=z.y);const K=(W,Q,J)=>{const{addSelectedEdges:ne}=o.getState();ne([c]);const te=i.cancelSaveManualLayout();Q.stopPropagation();let ee=!1,pe={x:Q.clientX,y:Q.clientY};const Te=xe=>{const De={x:xe.clientX,y:xe.clientY};if(!$y(pe,De)){n(!0),ee||(i.send({type:"xyflow.edgeEditingStarted",edge:e.data}),ee=!0),pe=De;const{x:Ge,y:et}=a.screenToFlowPosition(pe,{snapToGrid:!1}),ft=L.slice();ft[W]={x:xi(Ge),y:xi(et)},i.updateEdgeData(c,{controlPoints:ft})}xe.stopPropagation()},ce=xe=>{J.removeEventListener("pointermove",Te,{capture:!0}),ee&&xe.stopPropagation(),(ee||te)&&i.scheduleSaveManualLayout(),n(!1)},de=xe=>{xe.stopPropagation(),xe.preventDefault()};J.addEventListener("pointermove",Te,{capture:!0}),J.addEventListener("pointerup",ce,{once:!0,capture:!0}),J.addEventListener("click",de,{capture:!0,once:!0})},V=(W,Q,J)=>{if(L.length<=1)return;const ne=te=>{const ee=L.slice();ee.splice(W,1),te.stopPropagation(),setTimeout(()=>{i.updateEdgeData(c,{controlPoints:ee}),i.scheduleSaveManualLayout()},10)};J.addEventListener("pointerup",ne,{once:!0,capture:!0}),Q.stopPropagation()},X=(W,Q)=>{const{domNode:J}=o.getState();if(!(!J||Q.pointerType!=="mouse"))switch(Q.button){case 0:K(W,Q,J);break;case 2:V(W,Q,J);break}},Z=W=>{const{domNode:Q}=o.getState();if(!Q||W.pointerType!=="mouse"||W.button!==2)return;const J=[new ia(d,p),...L.map(Ap)||[],new ia(g,b)];let ne={x:W.clientX,y:W.clientY};const te=Ap(a.screenToFlowPosition(ne,{snapToGrid:!1}));let ee=0,pe=1/0;for(let ce=0;ce{W.stopPropagation(),i.navigateTo(N)}})})})]}),s&&L.length>0&&(x||C||r)&&y.jsx(Vq,{children:y.jsx(Ly,{component:"svg",className:kJe,...e,style:{...D,zIndex:B},children:y.jsx("g",{onContextMenu:W=>{W.preventDefault(),W.stopPropagation()},children:L.map((W,Q)=>y.jsx("circle",{onPointerDown:J=>X(Q,J),className:Je("nodrag nopan",_Je),cx:Math.round(W.x),cy:Math.round(W.y),r:3},"controlPoints"+w+"#"+Q))})})})]})}),l4=16;function RJe(e){const r=Yt(),{navigateTo:n}=e.data,o=e.source===e.target,a=e.sourceX>e.targetX,[i]=Cx({sourceX:e.sourceX,sourceY:e.sourceY,sourcePosition:e.sourcePosition,targetX:e.targetX,targetY:e.targetY,targetPosition:e.targetPosition,...o&&{offset:30,borderRadius:16}});let l=e.sourceX;switch(!0){case o:l=e.sourceX+24+l4;break;case a:l=e.sourceX-l4;break;default:l=e.sourceX+l4;break}return y.jsxs(Ly,{...e,children:[y.jsx(By,{edgeProps:e,svgPath:i}),y.jsx(U2,{edgeProps:e,labelPosition:{x:l,y:e.sourceY+(o?0:l4),translate:a?"translate(-100%, 0)":void 0},children:y.jsx(zy,{edgeProps:e,children:n&&y.jsx(q2,{onClick:s=>{s.stopPropagation(),r.navigateTo(n)}})})})]})}const hte=({extraButtons:e,...r})=>{const{enableNavigateTo:n,enableRelationshipBrowser:o}=Er(),a=Yt(),{navigateTo:i,modelFqn:l}=r.data;let s=S.useMemo(()=>{const c=[];return i&&n&&c.push({key:"navigate",icon:y.jsx(vi,{}),onClick:u=>{u.stopPropagation(),a.navigateTo(i,r.data.id)}}),o&&c.push({key:"relationships",icon:y.jsx(jy,{}),onClick:u=>{u.stopPropagation(),a.openRelationshipsBrowser(l)}}),c},[n,o,a,l,i,r.data.id]);return e&&Ao(e,1)&&(s=[...s,...e]),y.jsx(Y2,{...r,buttons:s})},AJe=({extraButtons:e,...r})=>{const{enableNavigateTo:n,enableRelationshipBrowser:o}=Er(),a=Yt(),{id:i,navigateTo:l,modelFqn:s}=r.data;let c=S.useMemo(()=>{const u=[];return l&&n&&u.push({key:"navigate",icon:y.jsx(vi,{}),onClick:d=>{d.stopPropagation(),a.navigateTo(l,i)}}),o&&s&&u.push({key:"relationships",icon:y.jsx(jy,{}),onClick:d=>{d.stopPropagation(),a.openRelationshipsBrowser(s)}}),u},[n,o,a,s,l,i]);return e&&Ao(e,1)&&(c=[...c,...e]),y.jsx(Y2,{...r,buttons:c})};function NJe({data:{hovered:e=!1},icon:r,onClick:n}){const o=l9(e,e?130:0)[0]&&e;return y.jsx(nn,{initial:!1,animate:{scale:o?1.2:1,x:o?-1:0,y:o?-1:0},whileHover:{scale:1.4,x:-3,y:-1},className:"likec4-compound-navigation compound-action",whileTap:{scale:1},onClick:pn,children:y.jsx(ir,{className:Je("nodrag nopan",iee({delay:e&&!o}),R2({variant:"transparent"})),onClick:n,onDoubleClick:pn,children:r??y.jsx(vi,{stroke:2})})})}const fte=e=>{const{enableNavigateTo:r}=Er(),n=Yt(),{navigateTo:o}=e.data;return o&&r?y.jsx(NJe,{onClick:a=>{a.stopPropagation(),n.navigateTo(o,e.id)},...e}):null},mte=["primary","secondary","muted"],gte=no.withProps({color:"dark",fz:"xs",openDelay:400,closeDelay:150,label:"",children:null,offset:4,withinPortal:!1});function s4(e,r){const{onChange:n}=dc(),o=Yt(),[a,i]=S.useState(null),l=ot(c=>{if(c===null){nt(a,"originalColor is null"),i(null),o.updateNodeData(r.data.id,{color:a});return}i(u=>u??r.data.color),o.updateNodeData(r.data.id,{color:c})}),s=ot(c=>{n?.({change:{op:"change-element-style",style:c,targets:[e]}});const{shape:u,color:d,...p}=c;o.updateNodeData(r.data.id,{...u&&{shape:u},...d&&{color:d},style:p})});return{elementColor:a??r.data.color,onColorPreview:l,onChange:s}}function c4({fqn:e}){const r=Yt();return y.jsx(gte,{label:"Browse relationships",children:y.jsx(ir,{size:"sm",variant:"subtle",color:"gray",onClick:n=>{n.stopPropagation(),r.openRelationshipsBrowser(e)},children:y.jsx(jy,{stroke:2,style:{width:"72%",height:"72%"}})})})}function u4(e){const{onOpenSource:r}=dc();return r?y.jsx(gte,{label:"Open source",children:y.jsx(ir,{size:"sm",variant:"subtle",color:"gray",onClick:n=>{n.stopPropagation(),e.elementId?r?.({element:e.elementId}):e.deploymentId&&r?.({deployment:e.deploymentId})},children:y.jsx(xm,{stroke:1.8,style:{width:"70%"}})})}):null}function yte(){const e=S.useContext(ny);e||console.error("No LikeC4ModelContext found");const r=e?.$styles??II.DEFAULT,[n,o]=S.useState(r);return S.useEffect(()=>{o(a=>a.equals(r)?a:r)},[r]),n}function d4({elementColor:e,elementOpacity:r,onColorPreview:n,isOpacityEditable:o=!1,onChange:a,...i}){const{theme:l}=yte();return y.jsxs(br,{clickOutsideEvents:["pointerdown","mousedown","click"],position:"right-end",offset:2,withinPortal:!1,...i,children:[y.jsx(Eu,{children:y.jsx(ro,{variant:"subtle",color:"gray",size:"compact-xs",px:3,children:y.jsx(X0,{color:l.colors[e].elements.fill,size:14,withShadow:!0,style:{color:"#fff",cursor:"pointer"}})})}),y.jsxs(Ks,{p:"xs",children:[y.jsx(DJe,{theme:l,elementColor:e,onColorPreview:n,onChange:s=>a({color:s})}),o&&y.jsxs(y.Fragment,{children:[y.jsx(I7,{h:"xs"}),y.jsx(qf,{label:"opacity",labelPosition:"left"}),y.jsx(I7,{h:"xs"}),y.jsx(PJe,{elementOpacity:r,onOpacityChange:s=>{a({opacity:s})}})]})]})]})}function DJe({theme:e,elementColor:r,onColorPreview:n,onChange:o}){const a=l=>s=>{s.stopPropagation(),n(null),r!==l&&o(l)},i=ZE(e.colors).filter(l=>!mte.includes(l));return y.jsx(Ho,{gap:2,onMouseLeave:()=>n(null),children:y.jsxs(cp,{openDelay:1e3,closeDelay:300,children:[y.jsx(Zs,{maw:120,gap:"6",justify:"flex-start",align:"flex-start",direction:"row",wrap:"wrap",children:mte.map(l=>y.jsx(no,{label:l,fz:"xs",color:"dark",offset:2,withinPortal:!1,transitionProps:{duration:140,transition:"slide-up"},children:y.jsx(X0,{color:e.colors[l].elements.fill,size:18,withShadow:!0,onMouseEnter:()=>n(l),onClick:a(l),style:{color:"#fff",cursor:"pointer"},children:r===l&&y.jsx(hW,{style:{width:Ae(10),height:Ae(10)}})})},l))}),y.jsx(Zs,{mt:"sm",maw:110,gap:"6",justify:"flex-start",align:"flex-start",direction:"row",wrap:"wrap",children:i.map(l=>y.jsx(no,{label:l,fz:"xs",color:"dark",offset:2,transitionProps:{duration:140,transition:"slide-up"},children:y.jsx(X0,{color:e.colors[l].elements.fill,size:18,onMouseEnter:()=>n(l),onClick:a(l),style:{color:"#fff",cursor:"pointer"},children:r===l&&y.jsx(hW,{style:{width:Ae(10),height:Ae(10)}})})},l))})]})})}function PJe({elementOpacity:e=100,onOpacityChange:r}){const[n,o]=S.useState(e);return Qj(()=>{o(e)},[e]),y.jsx(O7,{size:"sm",color:"dark",value:n,onChange:o,onChangeEnd:r})}const $Je=me({color:"mantine.colors.dimmed",fontSize:"10px",fontWeight:600,maxWidth:"220px",cursor:"default",userSelect:"all",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}),MJe=()=>Ma(e=>e.xynodes.filter(r=>r.selected).length);function p4({title:e,children:r,nodeProps:n,...o}){const a=MJe(),{selected:i=!1,dragging:l=!1,data:{hovered:s=!1}}=n,c=s&&a===0||i&&a===1;let u=150;c?i?u=100:u=1e3:a>0&&(u=50);const[d]=l9(c,u);return d?y.jsx(Kq,{isVisible:!l,offset:4,...o,children:y.jsx(Lf,{className:Je("nodrag","nopan"),px:5,pb:8,pt:4,radius:"sm",shadow:"xl",onDoubleClickCapture:pn,onPointerDown:pn,onClick:pn,onDoubleClick:pn,withBorder:!0,children:y.jsxs(Ho,{gap:"6px",children:[y.jsx(Se,{px:"4px",children:y.jsx(pt,{className:$Je,children:e})}),y.jsx(Wr,{gap:4,children:r})]})})}):null}function OJe(e){const{enableVscode:r,enableRelationshipBrowser:n}=Er(),{data:{style:o,modelFqn:a}}=e,{elementColor:i,onColorPreview:l,onChange:s}=s4(a,e),c=o?.opacity??100;return y.jsxs(p4,{nodeProps:e,title:a,align:"start",children:[y.jsx(d4,{elementColor:i,onColorPreview:l,isOpacityEditable:!0,elementOpacity:c,onChange:s,position:"left-start"}),y.jsx(bte,{elementBorderStyle:o?.border??(c<99?"dashed":"none"),onChange:s}),r&&y.jsx(u4,{elementId:a}),n&&y.jsx(c4,{fqn:a})]})}function IJe(e){const{enableVscode:r,enableRelationshipBrowser:n}=Er(),{data:{deploymentFqn:o,style:a,modelFqn:i}}=e,{elementColor:l,onColorPreview:s,onChange:c}=s4(o,e);return y.jsxs(p4,{nodeProps:e,title:o,align:"start",children:[y.jsx(d4,{elementColor:l,onColorPreview:s,isOpacityEditable:!0,elementOpacity:a?.opacity,onChange:c,position:"left-start"}),y.jsx(bte,{elementBorderStyle:a?.border,onChange:c}),r&&y.jsx(u4,{deploymentId:o}),n&&i&&y.jsx(c4,{fqn:i})]})}function bte({elementBorderStyle:e="dashed",onChange:r}){const[n,o]=S.useState(e);return S.useEffect(()=>{o(e)},[e]),y.jsx(Se,{children:y.jsx(J0,{size:"xs",fullWidth:!0,withItemsBorders:!1,value:n,onChange:a=>{const i=a;o(i),r({border:i})},styles:{label:{paddingTop:"0.5",paddingBottom:"0.5"}},data:[{label:"Solid",value:"solid"},{label:"Dashed",value:"dashed"},{label:"Dotted",value:"dotted"},{label:"None",value:"none"}]})})}function zJe(e){const{enableVscode:r,enableRelationshipBrowser:n}=Er(),{data:{shape:o,modelFqn:a}}=e,{elementColor:i,onColorPreview:l,onChange:s}=s4(a,e);return y.jsxs(p4,{nodeProps:e,title:a,align:"start",children:[y.jsx(vte,{elementShape:o,onChange:s}),y.jsx(d4,{elementColor:i,onColorPreview:l,onChange:s,position:"right-end"}),r&&y.jsx(u4,{elementId:a}),n&&y.jsx(c4,{fqn:a})]})}function LJe(e){const{enableVscode:r,enableRelationshipBrowser:n}=Er(),{data:{shape:o,deploymentFqn:a,modelFqn:i}}=e,{elementColor:l,onColorPreview:s,onChange:c}=s4(a,e);return y.jsxs(p4,{nodeProps:e,title:a,align:"start",children:[y.jsx(vte,{elementShape:o,onChange:c}),y.jsx(d4,{elementColor:l,onColorPreview:s,onChange:c,position:"right-end"}),r&&y.jsx(u4,{deploymentId:a}),n&&i&&y.jsx(c4,{fqn:i})]})}function vte({elementShape:e,onChange:r}){return y.jsxs(go,{openDelay:300,closeDelay:450,floatingStrategy:"fixed",closeOnClickOutside:!0,clickOutsideEvents:["pointerdown","mousedown","click"],closeOnEscape:!0,closeOnItemClick:!1,position:"top-start",offset:2,styles:{item:{padding:"calc(var(--mantine-spacing-xs) / 1.5) var(--mantine-spacing-xs)"}},withinPortal:!1,children:[y.jsx(Vw,{children:y.jsx(ro,{variant:"light",color:"gray",size:"compact-xs",rightSection:y.jsx(HT,{size:12}),children:e})}),y.jsx(Z0,{onDoubleClick:pn,onClick:pn,children:lbe.map(n=>y.jsx(Q0,{fz:12,fw:500,value:n,rightSection:e===n?y.jsx(LQ,{size:12}):void 0,onClick:o=>{o.stopPropagation(),r({shape:n})},children:n},n))})]})}const h4={top:"50%",left:"50%",right:"unset",bottom:"unset",visibility:"hidden",width:5,height:5,transform:"translate(-50%, -50%)"},Wy=()=>y.jsxs(y.Fragment,{children:[y.jsx(fo,{type:"target",position:tt.Top,style:h4}),y.jsx(fo,{type:"target",position:tt.Left,style:h4}),y.jsx(fo,{type:"source",position:tt.Right,style:h4}),y.jsx(fo,{type:"source",position:tt.Bottom,style:h4})]});function gR(e){const{enableElementDetails:r}=Er(),n=Yt(),o=e.data.modelFqn;return!r||!o?null:y.jsx(WT,{...e,onClick:a=>{a.stopPropagation(),n.openElementDetails(o,e.id)}})}function xte(e){const{enableElementDetails:r}=Er(),n=Yt(),o=e.data.modelFqn;return!r||!o?null:y.jsx(lee,{...e,onClick:a=>{a.stopPropagation(),n.openElementDetails(o,e.id)}})}function BJe(e){const{enableElementTags:r,enableReadOnly:n}=Er();return y.jsxs(wm,{nodeProps:e,children:[y.jsx(km,{...e}),y.jsx(yl,{...e}),r&&y.jsx(My,{...e}),y.jsx(hte,{...e}),y.jsx(gR,{...e}),!n&&y.jsx(zJe,{...e}),y.jsx(Wy,{})]})}function jJe(e){const{enableElementTags:r,enableReadOnly:n}=Er();return y.jsxs(wm,{nodeProps:e,children:[y.jsx(km,{...e}),y.jsx(yl,{...e}),r&&y.jsx(My,{...e}),y.jsx(AJe,{...e}),y.jsx(gR,{...e}),!n&&y.jsx(LJe,{...e}),y.jsx(Wy,{})]})}function FJe(e){const{enableElementDetails:r,enableReadOnly:n}=Er();return y.jsxs(Fy,{nodeProps:e,children:[y.jsx(Hy,{...e}),y.jsx(fte,{...e}),r&&y.jsx(xte,{...e}),!n&&y.jsx(OJe,{...e}),y.jsx(Wy,{})]})}function HJe(e){const{enableElementDetails:r,enableReadOnly:n}=Er();return y.jsxs(Fy,{nodeProps:e,children:[y.jsx(Hy,{...e}),y.jsx(fte,{...e}),r&&y.jsx(xte,{...e}),!n&&y.jsx(IJe,{...e}),y.jsx(Wy,{})]})}function qJe(e){return y.jsxs(Fy,{nodeProps:e,children:[y.jsx(Hy,{...e}),y.jsx(Wy,{})]})}const UJe={left:tt.Left,right:tt.Right,top:tt.Top,bottom:tt.Bottom},VJe=({data:e,port:r})=>y.jsxs(y.Fragment,{children:[y.jsx(Gr,{"data-likec4-color":e.color,className:me({position:"absolute",backgroundColor:"var(--likec4-palette-fill)",rounded:"xs",width:{base:"5px",_whenHovered:"7px",_whenSelected:"7px"},transition:"fast",translateX:"-1/2",translateY:"-1/2",translate:"auto"}),style:{top:r.cy,left:r.cx,height:r.height}}),y.jsx(fo,{id:r.id,type:r.type,position:UJe[r.position],style:{top:r.cy-3,left:r.cx-3,width:6,height:6,right:"unset",bottom:"unset",visibility:"hidden",transform:r.position==="left"?"translate(-150%, 0)":"translate(100%, 0)"}})]}),YJe=e=>Ta(e.modelFqn);function WJe(e){const r=e.data,{positionAbsoluteY:n,data:{viewHeight:o,hovered:a=!1,ports:i}}=e;return y.jsxs(y.Fragment,{children:[y.jsx(Gr,{"data-likec4-color":"gray",className:me({position:"absolute",rounded:"xs",top:"1",pointerEvents:"none",transition:"fast",translateX:"-1/2",translate:"auto"}),style:{backgroundColor:"var(--likec4-palette-stroke)",opacity:a?.6:.4,left:"50%",width:a?3:2,height:o-n,zIndex:-1,pointerEvents:"none"}}),y.jsxs(wm,{nodeProps:e,children:[y.jsx(km,{...e}),y.jsx(yl,{...e}),YJe(r)&&y.jsxs(y.Fragment,{children:[y.jsx(hte,{...e,data:r}),y.jsx(gR,{...e,data:r})]})]}),i.map(l=>y.jsx(VJe,{port:l,data:e.data},l.id))]})}function GJe(e){return y.jsx(Gr,{"data-likec4-color":e.data.color,css:{width:"100%",height:"100%",border:"default",rounded:"sm",borderWidth:1,"--_color":{base:"var(--likec4-palette-stroke)",_dark:"[color-mix(in srgb, var(--likec4-palette-hiContrast) 40%, var(--likec4-palette-fill))]"},borderColor:"[var(--_color)/30]",backgroundColor:"var(--likec4-palette-fill)/15",pointerEvents:"none",paddingLeft:"2",paddingTop:"0.5",fontSize:"xs",fontWeight:"bold",letterSpacing:".75px",color:"[var(--_color)/75]"},children:"PARALLEL"})}const Np={ElementNode:BJe,DeploymentNode:jJe,CompoundElementNode:FJe,CompoundDeploymentNode:HJe,ViewGroupNode:qJe,SequenceActorNode:WJe,SequenceParallelArea:GJe},wte={RelationshipEdge:TJe,SequenceStepEdge:RJe};class Nm{static LeftPadding=40;static RightPadding=40;static TopPadding=55;static BottomPadding=40;id;minX=1/0;minY=1/0;maxX=-1/0;maxY=-1/0;get positionAbsolute(){return{x:this.minX,y:this.minY}}set positionAbsolute(r){const n=Math.round(r.x),o=Math.round(r.y);this.maxX+=n-this.minX,this.maxY+=o-this.minY,this.minX=n,this.minY=o}get dimensions(){return{width:this.maxX-this.minX,height:this.maxY-this.minY}}get position(){const r=this.positionAbsolute;if(!this.parent)return r;const n=this.parent.positionAbsolute;return{x:r.x-n.x,y:r.y-n.y}}constructor(r,n=null){this.id=r.id,this.positionAbsolute=n?{x:r.position.x+n.minX,y:r.position.y+n.minY}:r.position;const{width:o,height:a}=Qn(r);this.maxX=this.minX+Math.ceil(o),this.maxY=this.minY+Math.ceil(a),n&&n.children.push(this)}}class yR extends Nm{constructor(r,n=null){super(r,n),this.parent=n}children=[]}class XJe extends Nm{constructor(r,n=null){super(r,n),this.parent=n}}function kte(e,r){const{parentLookup:n,nodeLookup:o}=e.getState(),a=new Map,i=g=>{const b=[];let x=o.get(g)?.parentId,w;for(;x&&(w=o.get(x));)b.push(w.id),x=w.parentId;return b},l=new Set(r.flatMap(i)),s=[...o.values()].flatMap(g=>g.parentId?[]:{xynode:g,parent:null});for(;s.length>0;){const{xynode:g,parent:b}=s.shift();if(!r.includes(g.id)&&g.type!=="element"&&g.type!=="deployment"&&l.has(g.id)){const x=new yR(g,b);a.set(g.id,x),n.get(g.id)?.forEach(w=>{s.push({xynode:w,parent:x})})}else a.set(g.id,new XJe(g,b))}const c=[...a.values()];u(c);function u(g){for(const b of g){if(!(b instanceof yR))continue;u(b.children);const x={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};for(const w of b.children)x.minX=Math.min(x.minX,w.minX),x.minY=Math.min(x.minY,w.minY),x.maxX=Math.max(x.maxX,w.maxX),x.maxY=Math.max(x.maxY,w.maxY);b.minX=x.minX-Nm.LeftPadding,b.minY=x.minY-Nm.TopPadding,b.maxX=x.maxX+Nm.RightPadding,b.maxY=x.maxY+Nm.BottomPadding}}function d(){u(c),e.getState().triggerNodeChanges(c.reduce((g,b)=>(g.push({id:b.id,type:"position",dragging:!1,position:b.position,positionAbsolute:b.positionAbsolute}),b instanceof yR&&g.push({id:b.id,type:"dimensions",setAttributes:!0,dimensions:b.dimensions}),g),[]))}let p=null;function f(){c.length!==0&&(p??=requestAnimationFrame(()=>{p=null;const{nodeLookup:g}=e.getState();for(const b of r){const x=bt(a.get(b)),w=bt(g.get(b));x.positionAbsolute=w.internals.positionAbsolute}d()}))}return{rects:a,updateXYFlowNodes:d,onMove:f}}function KJe(){const e=HC(),r=Yt(),n=S.useRef(void 0);return S.useMemo(()=>{let o=!1;const a={x:0,y:0};let i=!1;return{onNodeDragStart:(l,s)=>{o=r.cancelSaveManualLayout();const{nodeLookup:c}=e.getState(),u=kn(Array.from(c.values()),vf(d=>d.draggable!==!1&&(d.dragging===!0||d.id===s.id||d.selected===!0)));Ao(u,1)&&(n.current=kte(e,No(u,d=>d.id))),a.x=l.clientX,a.y=l.clientY,i=!1},onNodeDrag:l=>{i=Math.abs(l.clientX-a.x)>4||Math.abs(l.clientY-a.y)>4,n.current?.onMove()},onNodeDragStop:l=>{i=Math.abs(l.clientX-a.x)>4||Math.abs(l.clientY-a.y)>4,(o||i)&&r.scheduleSaveManualLayout(),n.current=void 0}}},[e,r])}const ZJe={relationship:wte.RelationshipEdge,"seq-step":wte.SequenceStepEdge},Iu={element:uc(Np.ElementNode),deployment:uc(Np.DeploymentNode),"compound-element":uc(Np.CompoundElementNode),"compound-deployment":uc(Np.CompoundDeploymentNode),"view-group":uc(Np.ViewGroupNode),"seq-actor":uc(Np.SequenceActorNode),"seq-parallel":uc(Np.SequenceParallelArea)};function QJe(e){return!e||gu(e)?Iu:{element:e.element??Iu.element,deployment:e.deployment??Iu.deployment,"compound-element":e.compoundElement??Iu["compound-element"],"compound-deployment":e.compoundDeployment??Iu["compound-deployment"],"view-group":e.viewGroup??Iu["view-group"],"seq-actor":e.seqActor??Iu["seq-actor"],"seq-parallel":e.seqParallel??Iu["seq-parallel"]}}const JJe=e=>({initialized:e.initialized.xydata&&e.initialized.xyflow,nodes:e.xynodes,edges:e.xyedges,pannable:e.pannable,zoomable:e.zoomable,fitViewPadding:e.fitViewPadding,enableFitView:e.features.enableFitView,enableReadOnly:e.features.enableReadOnly||e.toggledFeatures.enableReadOnly||e.dynamicViewVariant==="sequence"&&e.view._type==="dynamic",...!e.features.enableFitView&&{viewport:{x:-Math.min(e.view.bounds.x,0),y:-Math.min(e.view.bounds.y,0),zoom:1}}}),eet=(e,r)=>e.initialized===r.initialized&&e.pannable===r.pannable&&e.zoomable===r.zoomable&&e.enableFitView===r.enableFitView&&e.enableReadOnly===r.enableReadOnly&&ut(e.fitViewPadding,r.fitViewPadding)&&Jn(e.nodes,r.nodes)&&Jn(e.edges,r.edges)&&Jn(e.viewport??null,r.viewport??null);function tet({background:e="dots",nodesDraggable:r=!1,nodesSelectable:n=!1,reactFlowProps:o={},children:a,renderNodes:i}){const l=Yt(),{initialized:s,nodes:c,edges:u,enableReadOnly:d,enableFitView:p,...f}=Ma(JJe,eet),{onNodeContextMenu:g,onCanvasContextMenu:b,onEdgeContextMenu:x,onNodeClick:w,onEdgeClick:k,onCanvasClick:C,onCanvasDblClick:_}=dc(),T=!d,R=KLe(),A=KJe(),D=QLe(),N=tV(()=>{D.set(!0)},R?120:400),$=Tf(()=>{N.clear(),D.get()&&D.set(!1)},R?350:200),O=ot(M=>{M&&(D.get()||N.start(),$())}),j=ot((M,q)=>{N.clear(),l.send({type:"xyflow.viewportMoved",viewport:q,manually:!!M})}),L=ot(()=>{l.send({type:"xyflow.resized"})}),Y=Jj(()=>QJe(i),[i],VQ);return O2(()=>{console.warn("renderNodes changed - this might degrade performance")},[Y]),y.jsx(XC,{nodes:c,edges:u,className:Je(s?"initialized":"not-initialized"),nodeTypes:Y,edgeTypes:ZJe,onNodesChange:ot(M=>{l.send({type:"xyflow.applyNodeChanges",changes:M})}),onEdgesChange:ot(M=>{l.send({type:"xyflow.applyEdgeChanges",changes:M})}),background:s?e:"transparent",fitView:!1,onNodeClick:ot((M,q)=>{M.stopPropagation(),l.send({type:"xyflow.nodeClick",node:q}),w?.(l.findDiagramNode(q.id),M)}),onEdgeClick:ot((M,q)=>{M.stopPropagation(),l.send({type:"xyflow.edgeClick",edge:q}),k?.(l.findDiagramEdge(q.id),M)}),onPaneClick:ot(M=>{M.stopPropagation(),l.send({type:"xyflow.paneClick"}),C?.(M)}),onDoubleClick:ot(M=>{M.stopPropagation(),M.preventDefault(),l.send({type:"xyflow.paneDblClick"}),_?.(M)}),onNodeMouseEnter:ot((M,q)=>{M.stopPropagation(),q.data.hovered||l.send({type:"xyflow.nodeMouseEnter",node:q})}),onNodeMouseLeave:ot((M,q)=>{M.stopPropagation(),q.data.hovered&&l.send({type:"xyflow.nodeMouseLeave",node:q})}),onEdgeMouseEnter:ot((M,q)=>{M.stopPropagation(),q.data.hovered||l.send({type:"xyflow.edgeMouseEnter",edge:q,event:M})}),onEdgeMouseLeave:ot((M,q)=>{M.stopPropagation(),q.data.hovered&&l.send({type:"xyflow.edgeMouseLeave",edge:q,event:M})}),onMove:O,onMoveEnd:j,onInit:ot(M=>{l.send({type:"xyflow.init",instance:M})}),onNodeContextMenu:ot((M,q)=>{const z=bt(l.findDiagramNode(q.id),`diagramNode ${q.id} not found`);g?.(z,M)}),onEdgeContextMenu:ot((M,q)=>{const z=bt(l.findDiagramEdge(q.id),`diagramEdge ${q.id} not found`);x?.(z,M)}),onPaneContextMenu:ot(M=>{b?.(M)}),...p&&{onViewportResize:L},nodesDraggable:T&&r,nodesSelectable:n,edgesFocusable:!1,...T&&r&&A,...f,...o,children:a})}function ret(e){const{view:r,nodesSelectable:n}=e,o=[],a=[],i=new Map,l=D_.from(r.nodes.reduce((p,f)=>(i.set(f.id,f),f.parent||p.push({node:f,parent:null}),p),[]));let s=p=>!0;if(e.where)try{const p=jd(e.where);s=f=>p({...vU(f,["tags","kind"]),..."source"in f?{source:u(f.source)}:f,..."target"in f?{target:u(f.target)}:f})}catch(p){console.error("Error in where filter:",p)}const c="",u=p=>bt(i.get(p),`Node not found: ${p}`);let d;for(;d=l.dequeue();){const{node:p,parent:f}=d,g=Ao(p.children,1)||p.kind==Nd;if(g)for(const R of p.children)l.enqueue({node:u(R),parent:p});const b={x:p.x,y:p.y};f&&(b.x-=f.x,b.y-=f.y);const x={id:c+p.id,selectable:n&&p.kind!==Nd,focusable:n&&p.kind!==Nd,deletable:!1,position:b,zIndex:g?hl.Compound:hl.Element,style:{width:p.width,height:p.height},initialWidth:p.width,initialHeight:p.height,hidden:p.kind!==Nd&&!s(p),...f&&{parentId:c+f.id}},w={viewId:r.id,id:p.id,title:p.title,color:p.color,shape:p.shape,style:p.style,depth:p.depth??0,icon:p.icon??"none",tags:p.tags??null,x:p.x,y:p.y},k={viewId:r.id,id:p.id,title:p.title,technology:p.technology??null,description:Zt.from(p.description),height:p.height,width:p.width,level:p.level,color:p.color,shape:p.shape,style:p.style,icon:p.icon??null,tags:p.tags,x:p.x,y:p.y,isMultiple:p.style?.multiple??!1};if(p.kind===Nd){o.push({...x,type:"view-group",data:{isViewGroup:!0,...w},dragHandle:".likec4-compound-title"});continue}const C=p.modelRef??null,_=p.deploymentRef??null;if(!C&&!_)throw console.error("Invalid node",p),new Error("Element should have either modelRef or deploymentRef");const T={navigateTo:p.navigateTo??null};switch(!0){case(g&&!!_):{o.push({...x,type:"compound-deployment",data:{...w,...T,deploymentFqn:_,modelFqn:C},dragHandle:".likec4-compound-title"});break}case g:{nt(!!C,"ModelRef expected"),o.push({...x,type:"compound-element",data:{...w,...T,modelFqn:C},dragHandle:".likec4-compound-title"});break}case!!_:{o.push({...x,type:"deployment",data:{...k,...T,deploymentFqn:_,modelFqn:C}});break}default:nt(!!C,"ModelRef expected"),o.push({...x,type:"element",data:{...k,...T,modelFqn:C}})}}for(const p of r.edges){const f=p.source,g=p.target,b=c+p.id;if(!Ao(p.points,2)){console.error("edge should have at least 2 points",p);continue}a.push({id:b,type:"relationship",source:c+f,target:c+g,zIndex:hl.Edge,selectable:n,hidden:!s(p),deletable:!1,data:{id:p.id,label:p.label,technology:p.technology,notes:Zt.from(p.notes),navigateTo:p.navigateTo,controlPoints:p.controlPoints??null,labelBBox:p.labelBBox??null,labelXY:p.labelBBox?{x:p.labelBBox.x,y:p.labelBBox.y}:null,points:p.points,color:p.color??"gray",line:p.line??"dashed",dir:p.dir??"forward",head:p.head??"normal",tail:p.tail??"none",astPath:p.astPath},interactionWidth:20})}return{bounds:r.bounds,xynodes:o,xyedges:a}}const _te={parallel:1,actor:10},f4={default:"gray",active:"amber"};function net(e){const{actors:r,steps:n,compounds:o,parallelAreas:a,bounds:i}=e.sequenceLayout,l=[],s=[],c=u=>bt(e.nodes.find(d=>d.id===u));for(const u of o)l.push(oet(u,c(u.origin),e));for(const u of a)l.push(aet(u,e));for(const u of r)l.push(iet(u,c(u.id),i,e));for(const u of n){const d=e.edges.find(p=>p.id===u.id);if(!d)throw new Error(`Edge ${u.id} not found`);s.push(set(u,d))}return{bounds:i,xynodes:l,xyedges:s}}function oet({id:e,x:r,y:n,width:o,height:a,depth:i},l,s){return{id:e,type:"view-group",data:{id:l.id,title:l.title,color:l.color??"gray",shape:l.shape,style:l.style,tags:l.tags,x:r,y:n,viewId:s.id,depth:i,isViewGroup:!0},position:{x:r,y:n},draggable:!1,selectable:!1,focusable:!1,style:{pointerEvents:"none"},width:o,initialWidth:o,height:a,initialHeight:a}}function aet({parallelPrefix:e,x:r,y:n,width:o,height:a},i){return{id:`seq-parallel-${e}`,type:"seq-parallel",data:{id:`seq-parallel-${e}`,title:"PARALLEL",technology:null,color:f4.default,shape:"rectangle",style:{},tags:[],x:r,y:n,level:0,icon:null,width:o,height:a,description:Zt.EMPTY,viewId:i.id,parallelPrefix:e},zIndex:_te.parallel,position:{x:r,y:n},draggable:!1,deletable:!1,selectable:!1,focusable:!1,style:{pointerEvents:"none"},width:o,initialWidth:o,height:a,initialHeight:a}}function iet({id:e,x:r,y:n,width:o,height:a,ports:i},l,s,c){return{id:e,type:"seq-actor",data:{id:l.id,x:r,y:n,level:0,icon:l.icon??null,isMultiple:l.style.multiple??!1,title:l.title,width:o,height:a,color:l.color,navigateTo:l.navigateTo??null,shape:l.shape,style:l.style,tags:l.tags,modelFqn:l.modelRef??null,technology:l.technology??null,description:Zt.from(l.description),viewHeight:s.height,viewId:c.id,ports:i},deletable:!1,selectable:!0,zIndex:_te.actor,position:{x:r,y:n},width:o,initialWidth:o,height:a,initialHeight:a}}function set({id:e,labelBBox:r,sourceHandle:n,targetHandle:o},a){return{id:e,type:"seq-step",data:{id:e,label:a.label,technology:a.technology,notes:Zt.from(a.notes),navigateTo:a.navigateTo,controlPoints:null,labelBBox:{x:0,y:0,width:r?.width??a.labelBBox?.width??32,height:r?.height??a.labelBBox?.height??32},labelXY:null,points:a.points,color:a.color,line:a.line,dir:"forward",head:a.head??"normal",tail:a.tail??"none",astPath:a.astPath},selectable:!0,focusable:!1,zIndex:20,interactionWidth:40,source:a.source,sourceHandle:n,target:a.target,targetHandle:o}}function cet({dynamicViewVariant:e,...r}){const n=r.view,o=n._type==="dynamic",{bounds:a,xynodes:i,xyedges:l}=o&&e==="sequence"?net(n):ret(r);return o&&n.variant!==e?{view:{...n,bounds:a,variant:e},xynodes:i,xyedges:l}:{view:a===n.bounds?n:{...n,bounds:a},xynodes:i,xyedges:l}}function Ete(e,r){return r.map(n=>{const o=e.find(a=>a.id===n.id);return o&&ut(o.type,n.type)?ut(o.hidden??!1,n.hidden??!1)&&ut(o.source,n.source)&&ut(o.sourceHandle??null,n.sourceHandle??null)&&ut(o.target,n.target)&&ut(o.targetHandle??null,n.targetHandle??null)&&ut(o.zIndex??0,n.zIndex??0)&&ut(o.data,n.data)?o:{...tp(o,["hidden","zIndex"]),...n,data:n.data}:n})}function Ste(e,r){return Fx(r)?Ete(e,r):(r=e,n=>Ete(n,r))}function Cte(e,r){return r.map(n=>{const o=e.find(a=>a.id===n.id);if(o&&ut(o.type,n.type)){const{width:a,height:i}=Qn(o);return ut(a,n.initialWidth)&&ut(i,n.initialHeight)&&ut(o.parentId??null,n.parentId??null)&&ut(o.hidden??!1,n.hidden??!1)&&ut(o.zIndex??0,n.zIndex??0)&&ut(o.position,n.position)&&ut(o.data,n.data)?o:{...tp(o,["measured","parentId","hidden","zIndex"]),...n,width:n.initialWidth,height:n.initialHeight,data:n.data}}return n})}function bR(e,r){return Fx(r)?Cte(e,r):(r=e,n=>Cte(n,r))}const vR={top:"40px",bottom:"22px",left:"22px",right:"22px"};function Tte(e){const r=[],n=[],o=new Map,a=D_.from(e.nodes.reduce((s,c)=>(o.set(c.id,c),c.parent||s.push({node:c,parent:null}),s),[])),i=s=>bt(o.get(s),`Node not found: ${s}`);let l;for(;l=a.dequeue();){const{node:s,parent:c}=l,u=Ao(s.children,1)||s.kind==Nd;if(u)for(const x of s.children)a.enqueue({node:i(x),parent:s});const d={x:s.x,y:s.y};c&&(d.x-=c.x,d.y-=c.y);const p=s.id,f={id:p,draggable:!1,selectable:!0,focusable:!0,position:d,zIndex:u?hl.Compound:hl.Element,style:{width:s.width,height:s.height},initialWidth:s.width,initialHeight:s.height,...c&&{parentId:c.id}},g=s.modelRef??null,b={navigateTo:s.navigateTo??null};switch(!0){case s.kind===F2.Empty:{r.push({...f,type:"empty",data:{column:s.column}});break}case(u&&!!g):{r.push({...f,type:"compound",data:{id:p,column:s.column,title:s.title,color:s.color,shape:s.shape,style:s.style,depth:s.depth??0,icon:s.icon??"none",ports:s.ports,existsInCurrentView:s.existsInCurrentView,fqn:g,...b}});break}default:nt(g,"Element should have either modelRef or deploymentRef"),r.push({...f,type:"element",data:{id:p,column:s.column,fqn:g,title:s.title,technology:s.technology,description:s.description,height:s.height,width:s.width,color:s.color,shape:s.shape,icon:s.icon??"none",ports:s.ports,style:s.style,existsInCurrentView:s.existsInCurrentView,tags:s.tags,...b}})}}for(const s of e.edges){const c=s.source,u=s.target,d=s.id;if(!Ao(s.points,2)){console.error("edge should have at least 2 points",s);continue}if(!Ao(s.relations,1)){console.error("edge should have at least 1 relation",s);continue}n.push({id:d,type:"relationship",source:c,target:u,sourceHandle:s.sourceHandle,targetHandle:s.targetHandle,data:{sourceFqn:s.sourceFqn,targetFqn:s.targetFqn,relations:s.relations,color:s.color??"gray",label:s.label,navigateTo:s.navigateTo??null,line:s.line??"dashed",existsInCurrentView:s.existsInCurrentView},interactionWidth:20})}return{xynodes:r,xyedges:n}}const Rte=e=>e.find(r=>r.data.column==="subjects"&&hU(r.parentId)),uet=_je(async({input:e,self:r,signal:n})=>{const{subjectId:o,navigateFromNode:a,xyflow:i,xystore:l,update:s}=e;let{nodes:c,width:u,height:d}=l.getState();const p=Tte(s),f=()=>{const{nodes:N,edges:$}=l.getState();return{xynodes:bR(N,p.xynodes),xyedges:Ste($,p.xyedges)}},g=bt(r._parent);let b=i.getZoom();const x=Math.max(b,1),w=du(s.bounds,u,d,fl,x,vR),k=p.xynodes.find(N=>N.type!=="empty"&&N.data.column==="subjects"&&N.data.fqn===o)??Rte(p.xynodes),C=Rte(c),_=a?c.find(N=>N.id===a):c.find(N=>N.type!=="empty"&&N.data.column!=="subjects"&&N.data.fqn===o);if(!k||!_||k.type==="empty"||!C||k.data.fqn===C.data.fqn)return await i.setViewport(w),f();const T={x:k.position.x+(k.initialWidth??0)/2,y:k.position.y+(k.initialHeight??0)/2},R=i.getInternalNode(C.id),A=NYe(R),D=new Set;return c.forEach(N=>{if(N.id!==_.id){if(N.data.column==="subjects"){D.add(N.id);return}N.parentId&&(N.parentId===_.id||D.has(N.parentId))&&D.add(N.id)}}),c=bR(c,c.flatMap(N=>D.has(N.id)?[]:N.id!==_.id?{...N,data:{...N.data,dimmed:N.data.column==="subjects"?"immediate":!0}}:{...tp(N,["parentId"]),position:{x:A.x-N.initialWidth/2,y:A.y-N.initialHeight/2},zIndex:hl.Max,hidden:!1,data:{...N.data,dimmed:!1}})),g.send({type:"update.xydata",xynodes:c,xyedges:[]}),await p8e(120),p.xynodes=p.xynodes.map(tr.setDimmed(!1)),n.aborted||(await i.setCenter(A.x,A.y,{zoom:b,duration:300}),await i.setCenter(T.x,T.y,{zoom:b})),f()}),det=oc({actors:{layouter:uet},guards:{hasViewId:({context:e})=>e.viewId!==null,isReady:({context:e})=>e.xyflow!==null&&e.xystore!==null&&e.layouted!==null,anotherSubject:({context:e,event:r})=>r.type==="update.view"?e.layouted?.subject!==r.layouted.subject:!1},actions:{"xyflow.init":Qe(({event:e})=>(qt(e,"xyflow.init"),{xyflow:e.instance,xystore:e.store})),"update.view":Qe(({event:e})=>(qt(e,"update.view"),{layouted:e.layouted,...Tte(e.layouted)})),"xyflow:updateNodeInternals":({context:e})=>{nt(e.xystore,"xystore is not initialized");const{domNode:r,updateNodeInternals:n}=e.xystore.getState(),o=new Set(e.xyedges.flatMap(i=>[i.source,i.target]));if(o.size===0||!r)return;const a=new Map;for(const i of o){const l=r.querySelector(`.react-flow__node[data-id="${i}"]`);l&&a.set(i,{id:i,nodeElement:l,force:!0})}n(a,{triggerFitView:!1})},"xyflow:fitDiagram":({context:e},r)=>{let{duration:n,bounds:o}=r??{};n??=450;const{xyflow:a,xystore:i}=e;nt(a,"xyflow is not initialized"),nt(i,"xystore is not initialized"),o??=e.layouted?.bounds;const l=Math.max(a.getZoom(),1);if(o){const{width:s,height:c}=i.getState(),u=du(o,s,c,fl,l,vR);a.setViewport(u,n>0?{duration:n}:void 0).catch(console.error)}else a.fitView({minZoom:fl,maxZoom:l,padding:vR,...n>0&&{duration:n}}).catch(console.error)},"xyflow.applyNodeChanges":Qe(({context:e,event:r})=>(qt(r,"xyflow.applyNodeChanges"),{xynodes:Dx(r.changes,e.xynodes)})),"xyflow.applyEdgeChanges":Qe(({context:e,event:r})=>(qt(r,"xyflow.applyEdgeChanges"),{xyedges:Px(r.changes,e.xyedges)}))}}).createMachine({id:"relationships-browser",context:({input:e})=>({subject:e.subject,viewId:e.viewId,scope:e.viewId?e.scope:"global",closeable:e.closeable??!0,enableSelectSubject:e.enableSelectSubject??!0,enableChangeScope:e.enableChangeScope??!0,xyflow:null,xystore:null,layouted:null,navigateFromNode:null,xynodes:[],xyedges:[]}),initial:"initializing",on:{"xyflow.applyNodeChanges":{actions:"xyflow.applyNodeChanges"},"xyflow.applyEdgeChanges":{actions:"xyflow.applyEdgeChanges"}},states:{initializing:{on:{"xyflow.init":{actions:"xyflow.init",target:"isReady"},"update.view":{actions:"update.view",target:"isReady"},stop:"closed",close:"closed"}},isReady:{always:[{guard:"isReady",actions:[{type:"xyflow:fitDiagram",params:{duration:0}},Jr({type:"xyflow.updateNodeInternals"},{delay:150})],target:"active"},{target:"initializing"}]},active:{initial:"idle",tags:["active"],on:{"xyflow.nodeClick":{actions:en(({event:e,enqueue:r})=>{if("fqn"in e.node.data){const n=e.node.data.fqn;r.raise({type:"navigate.to",subject:n,fromNode:e.node.id})}})},"xyflow.edgeClick":{guard:"hasViewId",actions:en(({event:e,context:r,system:n,enqueue:o})=>{(e.edge.selected||e.edge.data.relations.length>1)&&o.sendTo(ac(n).overlaysActorRef,{type:"open.relationshipDetails",viewId:r.viewId,source:e.edge.data.sourceFqn,target:e.edge.data.targetFqn})})},"navigate.to":{actions:[Qe({subject:({event:e})=>e.subject,viewId:({event:e,context:r})=>e.viewId??r.viewId??null,navigateFromNode:({event:e})=>e.fromNode??null})]},"xyflow.paneDblClick":{actions:"xyflow:fitDiagram"},"update.view":{actions:"update.view",target:".layouting"},"change.scope":{actions:Qe({scope:({event:e})=>e.scope})},"xyflow.updateNodeInternals":{actions:"xyflow:updateNodeInternals"},fitDiagram:{actions:{type:"xyflow:fitDiagram",params:Ra("event")}},"xyflow.resized":{actions:[Vo("fitDiagram"),Jr({type:"fitDiagram"},{id:"fitDiagram",delay:300})]},"xyflow.init":{actions:"xyflow.init"},"xyflow.unmount":{target:"initializing"},close:"closed"},states:{idle:{on:{"xyflow.edgeMouseEnter":{actions:[Qe({xyedges:({context:e,event:r})=>{const n=e.xyedges.some(o=>o.data.dimmed!==!1||o.selected);return e.xyedges.map(o=>o.id===r.edge.id?tr.setData(o,{hovered:!0,dimmed:!1}):n&&!o.selected?tr.setDimmed(o,"immediate"):o)}}),Vo("undim.edges"),Vo("dim.nonhovered.edges"),Jr({type:"dim.nonhovered.edges"},{id:"dim.nonhovered.edges",delay:200})]},"xyflow.edgeMouseLeave":{actions:[Qe({xyedges:({context:e,event:r})=>e.xyedges.map(n=>n.id===r.edge.id?tr.setHovered(n,!1):n)}),Vo("dim.nonhovered.edges"),Jr({type:"undim.edges"},{id:"undim.edges",delay:400})]},"dim.nonhovered.edges":{actions:Qe({xyedges:({context:e})=>e.xyedges.map(r=>r.data.hovered?r:tr.setDimmed(r,r.data.dimmed==="immediate"?"immediate":!0))})},"undim.edges":{actions:Qe({xyedges:({context:e})=>e.xyedges.map(tr.setDimmed(!1))})},"xyflow.selectionChange":{actions:en(({event:e,context:r,enqueue:n})=>{e.edges.length===0&&r.xyedges.some(o=>o.data.dimmed)&&!r.xyedges.some(o=>o.data.hovered)&&n.raise({type:"undim.edges"})})}}},layouting:{invoke:{id:"layouter",src:"layouter",input:({context:e})=>({subjectId:e.subject,navigateFromNode:e.navigateFromNode,xyflow:bt(e.xyflow),xystore:bt(e.xystore),update:bt(e.layouted)}),onDone:{target:"idle",actions:en(({enqueue:e,event:r})=>{e.assign({xynodes:r.output.xynodes,xyedges:r.output.xyedges,navigateFromNode:null}),e.raise({type:"fitDiagram",duration:200},{id:"fitDiagram",delay:50});for(let n=0;n<6;n++)e.raise({type:"xyflow.updateNodeInternals"},{delay:100+n*100})})}},on:{"update.xydata":{actions:Qe({xynodes:({event:e})=>e.xynodes,xyedges:({event:e})=>e.xyedges})},"xyflow.applyEdgeChanges":{},"xyflow.applyNodeChanges":{}}}}},closed:{id:"closed",type:"final"}},exit:Qe({xyflow:null,layouted:null,xystore:null,xyedges:[],xynodes:[]})}),Ate=det,pet=oc({actors:{relationshipsBrowserLogic:Ate}}).createMachine({id:"element-details",context:({input:e})=>({...e,initiatedFrom:{node:e.initiatedFrom?.node??null,clientRect:e.initiatedFrom?.clientRect??null}}),initial:"active",states:{active:{entry:pp("relationshipsBrowserLogic",{id:({self:e})=>`${e.id}-relationships`,input:({context:e})=>({subject:e.subject,viewId:e.currentView.id,scope:"view",enableSelectSubject:!1,enableChangeScope:!0,closeable:!1})}),exit:[ll(({self:e})=>`${e.id}-relationships`,{type:"close"}),nc(({self:e})=>`${e.id}-relationships`)],on:{"change.subject":{actions:Qe({subject:({event:e})=>e.subject})},close:"closed"}},closed:{id:"closed",type:"final"}}}),het=pet;function fet(e){const r=[],n=[],o=new Map,a=D_.from(e.nodes.reduce((s,c)=>(o.set(c.id,c),c.parent||s.push({node:c,parent:null}),s),[])),i=s=>bt(o.get(s),`Node not found: ${s}`);let l;for(;l=a.dequeue();){const{node:s,parent:c}=l,u=Ao(s.children,1);if(u)for(const x of s.children)a.enqueue({node:i(x),parent:s});const d={x:s.x,y:s.y};c&&(d.x-=c.x,d.y-=c.y);const p=s.id,f={id:p,draggable:!1,selectable:!0,focusable:!0,deletable:!1,position:d,zIndex:u?hl.Compound:hl.Element,style:{width:s.width,height:s.height},initialWidth:s.width,initialHeight:s.height,...c&&{parentId:c.id}},g=s.modelRef,b={navigateTo:s.navigateTo??null};switch(!0){case u:{r.push({...f,type:"compound",data:{id:p,column:s.column,title:s.title,color:s.color,style:s.style,depth:s.depth??0,icon:s.icon??"none",ports:s.ports,fqn:g,...b}});break}default:r.push({...f,type:"element",data:{id:p,column:s.column,fqn:g,title:s.title,technology:s.technology,description:Zt.from(s.description),height:s.height,width:s.width,color:s.color,shape:s.shape,icon:s.icon??"none",ports:s.ports,style:s.style,tags:s.tags,...b}})}}for(const{source:s,target:c,relationId:u,label:d,technology:p,description:f,navigateTo:g=null,color:b="gray",line:x="dashed",...w}of e.edges){const k=w.id;n.push({id:k,type:"relationship",source:s,target:c,sourceHandle:w.sourceHandle,targetHandle:w.targetHandle,deletable:!1,data:{relationId:u,label:d,color:b,navigateTo:g,line:x,description:Zt.from(f),...p&&{technology:p}}})}return{xynodes:r,xyedges:n,bounds:e.bounds}}function Nte(e){return"edgeId"in e?(nt(KE(e.edgeId),"edgeId is required"),{edgeId:e.edgeId}):{source:e.source,target:e.target}}const Dte={x:"22px",y:"22px"},met=oc({actions:{"xyflow:fitDiagram":({context:e},r)=>{let{duration:n,bounds:o}=r??{};n??=450;const{xyflow:a,xystore:i}=e;nt(a,"xyflow is not initialized"),nt(i,"xystore is not initialized"),o??=e.bounds;const l=Math.max(a.getZoom(),1);if(o){const{width:s,height:c}=i.getState(),u=du(o,s,c,fl,l,Dte);a.setViewport(u,n>0?{duration:n}:void 0).catch(console.error)}else a.fitView({minZoom:fl,maxZoom:l,padding:Dte,...n>0&&{duration:n}}).catch(console.error)},"xyflow:updateNodeInternals":({context:e})=>{nt(e.xystore,"xystore is not initialized");const{domNode:r,updateNodeInternals:n}=e.xystore.getState(),o=new Set(e.xyedges.flatMap(i=>[i.source,i.target]));if(o.size===0||!r)return;const a=new Map;for(const i of o){const l=r.querySelector(`.react-flow__node[data-id="${i}"]`);l&&a.set(i,{id:i,nodeElement:l,force:!0})}n(a,{triggerFitView:!1})},updateXYFlow:Qe(({context:e,event:r})=>{qt(r,"xyflow.init");let n=e.initialized;return n.xyflow||(n={...n,xyflow:!0}),{initialized:n,xyflow:r.instance,xystore:r.store}}),updateLayoutData:Qe(({context:e,event:r})=>{qt(r,"update.layoutData");const{xynodes:n,xyedges:o,bounds:a}=fet(r.data);let i=e.initialized;return i.xydata||(i={...i,xydata:!0}),{initialized:i,xynodes:bR(e.xynodes,n),xyedges:Ste(e.xyedges,o),bounds:Jn(e.bounds,a)?e.bounds:a}})},guards:{isReady:({context:e})=>e.initialized.xydata&&e.initialized.xyflow,"enable: navigate.to":()=>!0}}).createMachine({initial:"initializing",context:({input:e})=>({subject:Nte(e),viewId:e.viewId,bounds:{x:0,y:0,width:200,height:200},initialized:{xydata:!1,xyflow:!1},xyflow:null,xystore:null,xynodes:[],xyedges:[]}),states:{initializing:{on:{"xyflow.init":{actions:"updateXYFlow",target:"isReady"},"update.layoutData":{actions:"updateLayoutData",target:"isReady"},close:{target:"closed"}}},isReady:{always:[{guard:"isReady",actions:[{type:"xyflow:fitDiagram",params:{duration:0}},Jr({type:"xyflow.updateNodeInternals"},{delay:50})],target:"ready"},{target:"initializing"}]},ready:{on:{"xyflow.edgeMouseEnter":{actions:[Qe({xyedges:({context:e,event:r})=>{const n=e.xyedges.some(o=>o.data.dimmed===!0||o.data.dimmed==="immediate");return e.xyedges.map(o=>o.id===r.edge.id?tr.setData(o,{hovered:!0,dimmed:!1}):n&&!o.selected?tr.setDimmed(o,"immediate"):o)}}),Vo("undim.edges"),Vo("dim.nonhovered.edges"),Jr({type:"dim.nonhovered.edges"},{id:"dim.nonhovered.edges",delay:100})]},"xyflow.edgeMouseLeave":{actions:[Qe({xyedges:({context:e,event:r})=>e.xyedges.map(n=>n.id===r.edge.id?tr.setHovered(n,!1):n)}),Vo("dim.nonhovered.edges"),Jr({type:"undim.edges"},{id:"undim.edges",delay:400})]},"dim.nonhovered.edges":{actions:Qe({xyedges:({context:e})=>e.xyedges.map(r=>tr.setDimmed(r,r.data.hovered!==!0))})},"undim.edges":{actions:Qe({xyedges:({context:e})=>e.xyedges.some(r=>r.selected===!0)?e.xyedges.map(r=>tr.setDimmed(r,r.selected!==!0?r.data.dimmed||"immediate":!1)):e.xyedges.map(tr.setDimmed(!1))})},"xyflow.selectionChange":{actions:en(({event:e,context:r,enqueue:n})=>{e.edges.length===0&&r.xyedges.some(o=>o.data.dimmed)&&!r.xyedges.some(o=>o.data.hovered)&&n.raise({type:"undim.edges"})})},"update.layoutData":{actions:["updateLayoutData",Vo("fitDiagram"),Jr({type:"fitDiagram",duration:0},{id:"fitDiagram",delay:50}),Jr({type:"xyflow.updateNodeInternals"},{delay:75})]},"xyflow.init":{actions:"updateXYFlow"},"xyflow.applyNodeChanges":{actions:Qe({xynodes:({context:e,event:r})=>Dx(r.changes,e.xynodes)})},"xyflow.applyEdgeChanges":{actions:Qe({xyedges:({context:e,event:r})=>Px(r.changes,e.xyedges)})},"xyflow.paneDblClick":{actions:"xyflow:fitDiagram"},"navigate.to":{actions:Qe({subject:({event:e})=>Nte(e.params),viewId:({context:e,event:r})=>r.params.viewId??e.viewId})},close:{target:"closed"}},exit:Qe({xyedges:[],xynodes:[],initialized:{xydata:!1,xyflow:!1},xyflow:null,xystore:null})},closed:{type:"final"}},on:{fitDiagram:{actions:{type:"xyflow:fitDiagram",params:Ra("event")}},"xyflow.resized":{actions:[Vo("fitDiagram"),Jr({type:"fitDiagram"},{id:"fitDiagram",delay:200})]},"xyflow.updateNodeInternals":{actions:"xyflow:updateNodeInternals"}}}),get=met,yet=XG(({sendBack:e})=>{const r=u9([["Escape",n=>{n.stopPropagation(),e({type:"close"})},{preventDefault:!0}]]);return document.body.addEventListener("keydown",r,{capture:!0}),()=>{document.body.removeEventListener("keydown",r,{capture:!0})}}),bet=oc({actors:{relationshipDetails:get,elementDetails:het,relationshipsBrowser:Ate,hotkey:yet},actions:{closeLastOverlay:en(({context:e,enqueue:r})=>{if(e.overlays.length===0)return;const n=ep(e.overlays)?.id;n&&(r.sendTo(n,{type:"close"}),r.stopChild(n),r.assign({overlays:e.overlays.filter(o=>o.id!==n)}))}),closeSpecificOverlay:en(({context:e,enqueue:r},n)=>{const o=e.overlays.find(a=>a.id===n.actorId)?.id;o&&(r.sendTo(o,{type:"close"}),r.stopChild(o),r.assign({overlays:e.overlays.filter(a=>a.id!==o)}))}),closeAllOverlays:en(({context:e,enqueue:r})=>{for(const{id:n}of TDe(e.overlays))r.sendTo(n,{type:"close"}),r.stopChild(n);r.assign({overlays:[]})}),openElementDetails:en(({context:e,enqueue:r,event:n})=>{if(qt(n,"open.elementDetails"),e.overlays.some(a=>a.type==="elementDetails"&&a.subject===n.subject))return;const o=`elementDetails-${e.seq}`;r.spawnChild("elementDetails",{id:o,input:n}),r.assign({seq:e.seq+1,overlays:[...e.overlays,{type:"elementDetails",id:o,subject:n.subject}]})}),openRelationshipDetails:en(({context:e,enqueue:r,event:n})=>{qt(n,"open.relationshipDetails");const o=ep(e.overlays);if(o?.type==="relationshipDetails"){r.sendTo(o.id,{...n,type:"navigate.to"});return}const a=`relationshipDetails-${e.seq}`;r.spawnChild("relationshipDetails",{id:a,input:n}),r.assign({seq:e.seq+1,overlays:[...e.overlays,{type:"relationshipDetails",id:a}]})}),openRelationshipsBrowser:en(({context:e,enqueue:r,event:n})=>{qt(n,"open.relationshipsBrowser");const o=ep(e.overlays);if(o?.type==="relationshipsBrowser"){r.sendTo(o.id,{type:"navigate.to",subject:n.subject,viewId:n.viewId});return}const a=`relationshipsBrowser-${e.seq}`;r.spawnChild("relationshipsBrowser",{id:a,input:n}),r.assign({seq:e.seq+1,overlays:[...e.overlays,{type:"relationshipsBrowser",id:a,subject:n.subject}]})}),listenToEsc:pp("hotkey",{id:"hotkey"}),stopListeningToEsc:nc("hotkey")},guards:{"has overlays?":({context:e})=>e.overlays.length>0,"close specific overlay?":({context:e,event:r})=>(qt(r,"close"),KE(r.actorId)&&e.overlays.some(n=>n.id===r.actorId)),"last: is relationshipDetails?":({context:e})=>ep(e.overlays)?.type==="relationshipDetails","last: is relationshipsBrowser?":({context:e})=>ep(e.overlays)?.type==="relationshipsBrowser"}}).createMachine({id:"overlays",context:()=>({seq:1,overlays:[]}),initial:"idle",on:{"open.elementDetails":{actions:"openElementDetails",target:".active",reenter:!1},"open.relationshipDetails":{actions:"openRelationshipDetails",target:".active",reenter:!1},"open.relationshipsBrowser":{actions:"openRelationshipsBrowser",target:".active",reenter:!1}},states:{idle:{},active:{entry:"listenToEsc",exit:"stopListeningToEsc",on:{close:[{guard:"close specific overlay?",actions:{type:"closeSpecificOverlay",params:({event:e})=>({actorId:e.actorId})},target:"closing"},{actions:"closeLastOverlay",target:"closing"}],"close.all":{actions:["closeAllOverlays","stopListeningToEsc"],target:"idle"}}},closing:{always:[{guard:"has overlays?",target:"active"},{actions:"stopListeningToEsc",target:"idle"}]}},exit:["stopListeningToEsc","closeAllOverlays"]}),vet=bet,xet=oc({actions:{"change searchValue":Qe({searchValue:({event:e,context:r})=>(qt(e,["change.search","open"]),e.search??r.searchValue)}),"reset pickViewFor":Qe({pickViewFor:()=>null})}}).createMachine({id:"search",context:{openedWithSearch:null,searchValue:"",pickViewFor:null},initial:"inactive",on:{close:{target:".inactive",actions:"reset pickViewFor"}},states:{inactive:{on:{open:{target:"opened",actions:[Qe({openedWithSearch:({event:e})=>e.search??null,searchValue:({event:e,context:r})=>e.search??r.searchValue})]}}},opened:{on:{open:{actions:"change searchValue"},"change.search":{actions:"change searchValue"},"pickview.open":{target:"pickView",actions:Qe({pickViewFor:({event:e})=>e.elementFqn})}}},pickView:{on:{"pickview.close":{target:"opened",actions:"reset pickViewFor"}}}}}),wet=xet;class Pte{}class Dm extends Pte{constructor(r,n,o){super(),this.getEdgePosition=r,this.computePosition=n,this.propertyToEdit=o}alignTo;computeLayout(r){this.alignTo=this.getEdgePosition(r)}applyPosition(r){return{[this.propertyToEdit]:this.computePosition(this.alignTo,r)}}}class ket extends Pte{layout=new Map;axisPreset;get primaryAxisCoord(){return this.axisPreset.primaryAxisCoord}get secondaryAxisCoord(){return this.axisPreset.secondaryAxisCoord}get primaryAxisDimension(){return this.axisPreset.primaryAxisDimension}get secondaryAxisDimension(){return this.axisPreset.secondaryAxisDimension}constructor(r){super(),this.axisPreset=r==="Column"?{primaryAxisDimension:"width",secondaryAxisDimension:"height",primaryAxisCoord:"x",secondaryAxisCoord:"y"}:{primaryAxisDimension:"height",secondaryAxisDimension:"width",primaryAxisCoord:"y",secondaryAxisCoord:"x"}}applyPosition(r){return this.layout?.get(r.id)??{}}computeLayout(r){const n=kn(r,qx(i=>i[this.primaryAxisCoord])),o=this.getLayoutRect(n),a=this.getLayers(n);this.layout=this.buildLayout(a,o,n)}getLayoutRect(r){const n=Math.min(...r.map(l=>l.x)),o=Math.min(...r.map(l=>l.y)),a=Math.max(...r.map(l=>l.x+l.width)),i=Math.max(...r.map(l=>l.y+l.height));return{x:n,y:o,width:a-n,height:i-o}}getLayers(r){const n=[];let o=0,a=null;for(let i of r)if(a&&i[this.primaryAxisCoord]i.nodes.sort((l,s)=>l[this.secondaryAxisCoord]-s[this.secondaryAxisCoord])),n}buildLayout(r,n,o){const a=new Map(o.map(b=>[b.id,b])),i=[],l=r.reduce((b,x)=>b+x.primaryAxisSize,0),s=r.length>1?(n[this.primaryAxisDimension]-l)/(r.length-1):0,c=r.reduce((b,x,w)=>r[b].occupiedSpaceb+x.primaryAxisSize+s,n[this.primaryAxisCoord]),p=this.buildLayerLayout(u,n,d,a,null);u.layout=p,i.push(...p.nodePositions);let f=d+u.primaryAxisSize+s,g=u;for(let b=c+1;b=0;b--){const x=r[b];f-=x.primaryAxisSize+s,x.layout=this.buildLayerLayout(x,n,f,a,g),i.push(...x.layout.nodePositions),g=x.layout.refLayer??x}return new Map(i)}buildLayerLayout(r,n,o,a,i){let l=this.scoreLayout(this.spaceAround(r,n,o),a);if(r.nodes.length!=1){const s=this.scoreLayout(this.spaceBetween(r,n,o),a);l=s[0]=r.nodes.length){const s=this.scoreLayout(this.placeInGaps(r,o,i),a);l=s[0]=r.nodes.length){const s=this.scoreLayout(this.placeInCells(r,o,i),a);l=s[0]c[this.secondaryAxisCoord]))l.set(s.id,{[this.secondaryAxisCoord]:i,[this.primaryAxisCoord]:o}),i+=s[this.secondaryAxisDimension]+a;return{nodePositions:l,refLayer:null}}placeInGaps(r,n,o){const a=new Map,i=r.nodes,l=this.getGapsPositions(o);let s=0;for(let c=0,u=i[c];c{const i=n.get(o);return nt(i,`Could not find original rect for node ${o}`),[vU(i,["x","y"]),a]}),No(([o,a])=>Math.abs(o[this.secondaryAxisCoord]-a[this.secondaryAxisCoord])),wf((o,a)=>o+a,0)),r]}getGapsPositions(r){const n=[],{layout:o,nodes:a}=r;nt(o,"Layout of the layer must be computed before calling getGapsPositions");for(let i=1;iMath.min(...r.map(n=>n.x)),(r,n)=>Math.floor(r),"x");case"Top":return new Dm(r=>Math.min(...r.map(n=>n.y)),(r,n)=>Math.floor(r),"y");case"Right":return new Dm(r=>Math.max(...r.map(n=>n.x+n.width)),(r,n)=>Math.floor(r-n.width),"x");case"Bottom":return new Dm(r=>Math.max(...r.map(n=>n.y+n.height)),(r,n)=>Math.floor(r-n.height),"y");case"Center":return new Dm(r=>Math.min(...r.map(n=>n.x+n.width/2)),(r,n)=>Math.floor(r-n.width/2),"x");case"Middle":return new Dm(r=>Math.min(...r.map(n=>n.y+n.height/2)),(r,n)=>Math.floor(r-n.height/2),"y")}}function $te(e){const{width:r,height:n}=Qn(e);return{...e.internals.positionAbsolute,id:e.id,width:r,height:n}}function Eet(e){switch(e){case"Left":case"Right":case"Top":case"Bottom":case"Center":case"Middle":return _et(e);case"Column":case"Row":return new ket(e);default:Ja(e)}}function Cet(e){const{lastClickedNode:r}=e.context;return!r||r.id!==e.event.node.id?{id:e.event.node.id,clicks:1,timestamp:Date.now()}:{id:r.id,clicks:r.clicks+1,timestamp:Date.now()}}function Mte({context:e,event:r}){qt(r,"update.view");const n=r.view,o=e.view.id===n.id,a=e.xynodes,i=r.xynodes.map(s=>{const c=a.find(u=>u.id===s.id);if(c){const{width:u,height:d}=Qn(c);return ut(c.type,s.type)&&ut(u,s.initialWidth)&&ut(d,s.initialHeight)&&ut(c.hidden??!1,s.hidden??!1)&&ut(c.position,s.position)&&ut(c.data,s.data)&&ut(c.parentId??null,s.parentId??null)?c:{...tp(c,["measured","parentId"]),...s,width:s.initialWidth,height:s.initialHeight,data:{...c.data,...s.data}}}return s});let l=r.xyedges;if(o&&!n.hasLayoutDrift){const s=e.xyedges;l=r.xyedges.map(c=>{const u=s.find(d=>d.id===c.id);return u&&u.type===c.type?ut(u.hidden??!1,c.hidden??!1)&&ut(u.data,c.data)&&ut(u.source,c.source)&&ut(u.target,c.target)&&ut(u.sourceHandle,c.sourceHandle)&&ut(u.targetHandle,c.targetHandle)?u:{...tp(u,["sourceHandle","targetHandle"]),...c,data:{...u.data,...c.data}}:c})}if(!o){for(const s of i)s.data={...s.data,dimmed:!1,hovered:!1};for(const s of l)s.data={...s.data,dimmed:!1,hovered:!1,active:!1}}return{xynodes:i,xyedges:l,view:n}}function Tet(e){const{xynodes:r,xyedges:n,focusedNode:o}=e.context;if(!o)return{};const a=new Set([o]),i=n.map(l=>l.source===o||l.target===o?(a.add(l.source),a.add(l.target),tr.setData(l,{dimmed:!1,active:!0})):tr.setData(l,{dimmed:!0,active:!1}));return{xynodes:r.map(l=>tr.setDimmed(l,!a.has(l.id))),xyedges:i}}function Ote({context:e,event:r}){qt(r,"update.view");let{navigationHistory:{currentIndex:n,history:o},lastOnNavigate:a,viewport:i}=e;const l=o[n];if(!l)return{navigationHistory:{currentIndex:0,history:[{viewId:r.view.id,fromNode:null,viewport:{...i}}]}};if(l.viewId!==r.view.id){if(!a){const s=n>0?bt(o[n-1]):null;if(s&&s.viewId===r.view.id)return{navigationHistory:{currentIndex:n-1,history:o},lastOnNavigate:{fromView:l.viewId,toView:s.viewId,fromNode:l.fromNode}};const c=n0,"Cannot navigate back");const o=n[r],a=n[r-1];return{navigationHistory:{currentIndex:r-1,history:n},lastOnNavigate:{fromView:o.viewId,toView:a.viewId,fromNode:o.fromNode}}}function Aet({context:e}){const{navigationHistory:{currentIndex:r,history:n}}=e;nt(r{if(n.id!==r.nodeId)return n;const o=gU(n.data,r.data);return ut(o,n.data)?n:{...n,data:o}})}}function Det({context:e,event:r}){return qt(r,"update.edgeData"),{xyedges:e.xyedges.map(n=>{if(n.id!==r.edgeId)return n;const o=gU(n.data,r.data);return ut(o,n.data)?n:{...n,data:o}})}}function Pet({context:e}){const{xynodes:r}=e;function n(i,l){const s=Ap({x:i.width||0,y:i.height||0});let c=Ap(i.position).add(s.mul(.5)),u=i;do{const d=u.parentId&&l.find(p=>p.id==u.parentId);if(!d)break;u=d,c=c.add(d.position)}while(!0);return c}function o(i){const l=r.find(g=>g.id==i.source),s=r.find(g=>g.id==i.target);if(!l||!s)return[];const c=n(l,r),u=n(s,r);if(!c||!u)return[];if(l===s){const g=new ia(0,l.height||0).mul(-.5).add(c);return[g.add(new ia(-32,-80)),g.add(new ia(32,-80))]}const d=u.sub(c),p=a(l,c,d),f=a(s,u,d.mul(-1));return[p.add(f.sub(p).mul(.3))]}function a(i,l,s){const c=(i.width||0)/2/s.x,u=(i.height||0)/2/s.y,d=Math.min(Math.abs(c),Math.abs(u));return Ap(s).mul(d).add(l)}return{xyedges:e.xyedges.map(i=>!i.data.controlPoints||gu(i.data.controlPoints)?i:{...i,data:{...i.data,controlPoints:o(i)}})}}function $et({context:e}){const{stepId:r,parallelPrefix:n}=bt(e.activeWalkthrough,"activeWalkthrough is null"),o=bt(e.xyedges.find(a=>a.id===r));return{xyedges:e.xyedges.map(a=>{const i=r===a.id||!!n&&a.id.startsWith(n);return tr.setData(a,{active:i,dimmed:r!==a.id})}),xynodes:e.xynodes.map(a=>{const i=o.source!==a.id&&o.target!==a.id;return a.type==="seq-parallel"?tr.setData(a,{color:n===a.data.parallelPrefix?f4.active:f4.default,dimmed:i}):tr.setDimmed(a,i)})}}const Met=XG(({sendBack:e})=>{const r=u9([["Escape",o=>{o.stopPropagation(),e({type:"key.esc"})},{preventDefault:!0}]]),n=u9([["ArrowLeft",o=>{o.stopPropagation(),e({type:"key.arrow.left"})},{preventDefault:!0}],["ArrowRight",o=>{o.stopPropagation(),e({type:"key.arrow.right"})},{preventDefault:!0}]]);return document.body.addEventListener("keydown",r),document.body.addEventListener("keydown",n,{capture:!0}),()=>{document.body.removeEventListener("keydown",r),document.body.removeEventListener("keydown",n,{capture:!0})}}),xR="likec4:diagram:toggledFeatures",Ite={read(){try{let e=sessionStorage.getItem(xR);return e?JSON.parse(e):null}catch(e){return console.error(`Error reading fromStorage ${xR}:`,e),null}},write(e){return sessionStorage.setItem(xR,JSON.stringify(kDe(e,dU))),e}},Oet=oc({delays:{timeout:2e3},actions:{"trigger:OnChange":(e,r)=>{}},guards:{"same view":({context:e})=>e.parent.getSnapshot().context.view.id===e.viewId}}).createMachine({initial:"idle",context:({input:e})=>({...e}),states:{idle:{tags:"ready",on:{sync:{target:"pending"}}},paused:{tags:"pending",on:{sync:{target:"pending"}}},pending:{tags:"pending",on:{sync:{target:"pending",reenter:!0},cancel:{target:"paused"}},after:{timeout:[{guard:"same view",actions:{type:"trigger:OnChange",params:({context:e})=>({change:Iet(e.parent.getSnapshot().context)})},target:"synced"},{target:"stopped"}]}},synced:{tags:"ready",on:{sync:{target:"pending"}}},stopped:{entry:Qe({parent:null}),type:"final"}},on:{synced:{target:".synced"},stop:{target:".stopped"}}}),zte=Oet;function Iet(e){const{view:r,xystore:n,xyflow:o}=e,{nodeLookup:a}=n.getState(),i=new Set;let l;const s=wf([...a.values()],(u,d)=>{const p=Qn(d);(!$y(d.internals.positionAbsolute,d.data)||d.initialWidth!==p.width||d.initialHeight!==p.height)&&i.add(d.id);const f=u[d.id]={isCompound:d.type!=="element"&&d.type!=="deployment",x:Math.floor(d.internals.positionAbsolute.x),y:Math.floor(d.internals.positionAbsolute.y),width:Math.ceil(p.width),height:Math.ceil(p.height)};return l=l?kx(l,f):f,u},{}),c=wf(o?.getEdges()??[],(u,{source:d,target:p,data:f})=>{let g=f.controlPoints??[];const b=i.has(d)||i.has(p);if(g.length===0&&b&&(g=IQ(f)),f.points.length===0&&g.length===0)return u;const x=u[f.id]={points:f.points};f.labelXY&&f.labelBBox&&(x.labelBBox={...f.labelBBox,...f.labelXY}),f.labelBBox&&(x.labelBBox??=f.labelBBox),Ao(g,1)&&(x.controlPoints=g);const w=[...f.points.map(_=>_[0]),...g.map(_=>_.x),...x.labelBBox?[x.labelBBox.x,x.labelBBox.x+x.labelBBox.width]:[]],k=[...f.points.map(_=>_[1]),...g.map(_=>_.y),...x.labelBBox?[x.labelBBox.y,x.labelBBox.y+x.labelBBox.height]:[]],C=E0({x:Math.floor(Math.min(...w)),y:Math.floor(Math.min(...k)),x2:Math.ceil(Math.max(...w)),y2:Math.ceil(Math.max(...k))});return l=l?kx(l,C):C,u},{});return l??=r.bounds,{op:"save-manual-layout",layout:{hash:r.hash,autoLayout:r.autoLayout,nodes:s,edges:c,...l}}}const zet=oc({actors:{syncManualLayoutActorLogic:zte,hotkeyActorLogic:Met,overlaysActorLogic:vet,searchActorLogic:wet},guards:{isReady:({context:e})=>e.initialized.xydata&&e.initialized.xyflow,"enabled: FitView":({context:e})=>e.features.enableFitView,"enabled: FocusMode":({context:e})=>e.features.enableFocusMode&&(e.view._type!=="dynamic"||e.dynamicViewVariant!=="sequence"),"enabled: Readonly":({context:e})=>e.features.enableReadOnly,"enabled: RelationshipDetails":({context:e})=>e.features.enableRelationshipDetails,"enabled: Search":({context:e})=>e.features.enableSearch,"enabled: ElementDetails":({context:e})=>e.features.enableElementDetails,"enabled: DynamicViewWalkthrough":({context:e})=>e.features.enableDynamicViewWalkthrough,"not readonly":({context:e})=>!e.features.enableReadOnly,"is dynamic view":({context:e})=>e.view._type==="dynamic","is another view":({context:e,event:r})=>{if(qt(r,["update.view","navigate.to"]),r.type==="update.view")return e.view.id!==r.view.id;if(r.type==="navigate.to")return e.view.id!==r.viewId;Ja(r.type)},"click: node has modelFqn":({event:e})=>(qt(e,"xyflow.nodeClick"),"modelFqn"in e.node.data),"click: selected node":({event:e})=>(qt(e,"xyflow.nodeClick"),e.node.selected===!0),"click: same node":({context:e,event:r})=>(qt(r,"xyflow.nodeClick"),e.lastClickedNode?.id===r.node.id),"click: focused node":({context:e,event:r})=>(qt(r,"xyflow.nodeClick"),e.focusedNode===r.node.id),"click: node has connections":({context:e,event:r})=>(qt(r,"xyflow.nodeClick"),e.xyedges.some(n=>n.source===r.node.id||n.target===r.node.id)),"click: selected edge":({event:e})=>(qt(e,"xyflow.edgeClick"),e.edge.selected===!0||e.edge.data.active===!0)},actions:{"trigger:NavigateTo":$a(({context:e})=>({type:"navigateTo",viewId:bt(e.lastOnNavigate,"Invalid state, lastOnNavigate is null").toView})),"assign lastClickedNode":Qe(({context:e,event:r})=>(qt(r,"xyflow.nodeClick"),{lastClickedNode:Cet({context:e,event:r})})),"assign: focusedNode":Qe(({event:e})=>{let r;switch(e.type){case"xyflow.nodeClick":r=e.node.data.id;break;case"focus.node":r=e.nodeId;break;default:throw new Error(`Unexpected event type: ${e.type} in action 'assign: focusedNode'`)}return{focusedNode:r}}),"reset lastClickedNode":Qe(()=>({lastClickedNode:null})),"open source of focused or last clicked node":en(({context:e,enqueue:r})=>{const n=e.focusedNode??e.lastClickedNode?.id;if(!n||!e.features.enableVscode)return;const o=om(e,n);o&&(o.deploymentRef?r.raise({type:"open.source",deployment:o.deploymentRef}):o.modelRef&&r.raise({type:"open.source",element:o.modelRef}))}),"xyflow:fitDiagram":({context:e},r)=>{const{bounds:n=e.view.bounds,duration:o=450}=r??{},{width:a,height:i,panZoom:l,transform:s}=bt(e.xystore).getState(),c=Math.max(1,s[2]),u=du(n,a,i,fl,c,e.fitViewPadding);u.x=Math.round(u.x),u.y=Math.round(u.y),l?.setViewport(u,o>0?{duration:o}:void 0).catch(console.error)},"xyflow:fitFocusedBounds":({context:e})=>{const r=!!e.activeWalkthrough&&e.dynamicViewVariant==="sequence",{bounds:n,duration:o=450}=r?Uje({context:e}):Hje({context:e}),{width:a,height:i,panZoom:l,transform:s}=bt(e.xystore).getState(),c=Math.max(1,s[2]),u=du(n,a,i,fl,c,e.fitViewPadding);u.x=Math.round(u.x),u.y=Math.round(u.y),l?.setViewport(u,o>0?{duration:o}:void 0)},"xyflow:setViewportCenter":({context:e},r)=>{const{x:n,y:o}=r;nt(e.xyflow,"xyflow is not initialized");const a=e.xyflow.getZoom();e.xyflow.setCenter(Math.round(n),Math.round(o),{zoom:a})},"xyflow:setViewport":({context:e},r)=>{const{viewport:n,duration:o=350}=r;e.xystore?.getState().panZoom?.setViewport(n,o>0?{duration:o}:void 0)},"xyflow:alignNodeFromToAfterNavigate":({context:e},r)=>{const n=bt(e.xyflow,"xyflow is not initialized"),o=n.getInternalNode(r.fromNode);if(!o)return;const a=n.flowToScreenPosition({x:o.internals.positionAbsolute.x,y:o.internals.positionAbsolute.y}),i=n.flowToScreenPosition(r.toPosition),l={x:Math.round(a.x-i.x),y:Math.round(a.y-i.y)};e.xystore.getState().panBy(l)},"layout.align":({context:e},r)=>{const{mode:n}=r,o=bt(e.xystore,"xystore is not initialized"),{nodeLookup:a,parentLookup:i}=o.getState(),l=[...new Set(a.values().filter(d=>d.selected).map(d=>d.id)).difference(new Set(i.keys()))];if(!Ao(l,2)){console.warn("At least 2 nodes must be selected to align");return}const s=kte(o,l),c=Eet(n),u=l.map(d=>({node:bt(a.get(d)),rect:bt(s.rects.get(d))}));c.computeLayout(u.map(({node:d})=>$te(d)));for(const{rect:d,node:p}of u)d.positionAbsolute={...d.positionAbsolute,...c.applyPosition($te(p))};s.updateXYFlowNodes()},"ensure overlays actor state":en(({enqueue:e,context:{features:r},system:n})=>{const o=r.enableElementDetails||r.enableRelationshipDetails||r.enableRelationshipBrowser,a=ac(n).overlaysActorRef;if(o&&!a){e.spawnChild("overlaysActorLogic",{id:"overlays",systemId:"overlays"});return}!o&&a&&(e.sendTo(a,{type:"close.all"}),e.stopChild("overlays"))}),"ensure search actor state":en(({enqueue:e,context:{features:{enableSearch:r}},system:n})=>{const o=ac(n).searchActorRef;if(r&&!o){e.spawnChild("searchActorLogic",{id:"search",systemId:"search"});return}!r&&o&&(e.sendTo(o,{type:"close"}),e.stopChild("search"))}),updateFeatures:Qe(({event:e})=>(qt(e,"update.features"),{features:{...e.features}})),updateInputs:Qe(({event:e})=>(qt(e,"update.inputs"),{...e.inputs})),closeSearch:ll(({system:e})=>ac(e).searchActorRef,{type:"close"}),closeAllOverlays:ll(({system:e})=>ac(e).overlaysActorRef,{type:"close.all"}),startSyncLayout:Qe(({context:e,spawn:r,self:n})=>({syncLayoutActorRef:r("syncManualLayoutActorLogic",{id:"syncLayout",input:{parent:n,viewId:e.view.id}})})),stopSyncLayout:en(({context:e,enqueue:r})=>{r.sendTo(e.syncLayoutActorRef,{type:"stop"}),r.stopChild(e.syncLayoutActorRef),r.assign({syncLayoutActorRef:null})}),onNodeMouseEnter:Qe(({context:e},r)=>({xynodes:e.xynodes.map(n=>n.id===r.node.id?tr.setHovered(n,!0):n)})),onNodeMouseLeave:Qe(({context:e},r)=>({xynodes:e.xynodes.map(n=>n.id===r.node.id?tr.setHovered(n,!1):n)})),onEdgeMouseEnter:en(({enqueue:e,context:r,event:n})=>{qt(n,"xyflow.edgeMouseEnter");let o=n.edge;e.assign({xyedges:r.xyedges.map(a=>a.id===n.edge.id?(o=tr.setHovered(a,!0),o):a)}),e.emit({type:"edgeMouseEnter",edge:o,event:n.event})}),onEdgeMouseLeave:en(({enqueue:e,context:r,event:n})=>{qt(n,"xyflow.edgeMouseLeave");let o=n.edge;e.assign({xyedges:r.xyedges.map(a=>a.id===n.edge.id?(o=tr.setHovered(a,!1),o):a)}),e.emit({type:"edgeMouseLeave",edge:o,event:n.event})}),"focus on nodes and edges":Qe(Tet),"notations.highlight":Qe(({context:e},r)=>{const n=r.kind?[r.kind]:r.notation.kinds;return{xynodes:e.xynodes.map(o=>{const a=om(e,o.id);return a&&a.notation===r.notation.title&&a.shape===r.notation.shape&&a.color===r.notation.color&&n.includes(a.kind)?tr.setDimmed(o,!1):tr.setDimmed(o,"immediate")}),xyedges:e.xyedges.map(tr.setDimmed("immediate"))}}),"tag.highlight":Qe(({context:e,event:r})=>(qt(r,"tag.highlight"),{xynodes:e.xynodes.map(n=>n.data.tags?.includes(r.tag)?tr.setDimmed(n,!1):tr.setDimmed(n,!0))})),"undim everything":Qe(({context:e})=>({xynodes:e.xynodes.map(tr.setDimmed(!1)),xyedges:e.xyedges.map(tr.setData({dimmed:!1,active:!1}))})),"update active walkthrough":Qe($et),"open element details":ll(({system:e})=>ac(e).overlaysActorRef,({context:e,event:r},n)=>{let o=null,a,i;if(n)i=n.fqn,a=n.fromNode??e.view.nodes.find(s=>s.modelRef===n.fqn)?.id;else if(r.type==="xyflow.nodeClick")nt("modelFqn"in r.node.data&&!!r.node.data.modelFqn,"No modelFqn in event node data"),i=r.node.data.modelFqn,a=r.node.data.id;else if(r.type==="open.elementDetails")i=r.fqn,a=r.fromNode;else{nt(e.lastClickedNode,"No last clicked node"),a=bt(e.lastClickedNode).id;const s=bt(e.xynodes.find(c=>c.id===a));nt("modelFqn"in s.data&&!!s.data.modelFqn,"No modelFqn in last clicked node"),i=s.data.modelFqn}const l=a?e.xystore.getState().nodeLookup.get(a):null;if(a&&l){const s=Zd(l),c=e.xyflow.getZoom(),u={...e.xyflow.flowToScreenPosition(s),width:s.width*c,height:s.height*c};o={node:a,clientRect:u}}return{type:"open.elementDetails",subject:i,currentView:e.view,...o&&{initiatedFrom:o}}}),"emit: walkthroughStarted":$a(({context:e})=>{const r=e.xyedges.find(n=>n.id===e.activeWalkthrough?.stepId);return nt(r,"Invalid walkthrough state"),{type:"walkthroughStarted",edge:r}}),"emit: walkthroughStep":$a(({context:e})=>{const r=e.xyedges.find(n=>n.id===e.activeWalkthrough?.stepId);return nt(r,"Invalid walkthrough state"),{type:"walkthroughStep",edge:r}}),"emit: walkthroughStopped":$a(()=>({type:"walkthroughStopped"})),"emit: edgeEditingStarted":$a(({context:e,event:r})=>(qt(r,"xyflow.edgeEditingStarted"),{type:"edgeEditingStarted",edge:bt(e.xyedges.find(n=>n.id===r.edge.id),`Edge ${r.edge.id} not found`)})),"emit: paneClick":$a(()=>({type:"paneClick"})),"emit: nodeClick":$a(({context:e,event:r})=>(qt(r,"xyflow.nodeClick"),{type:"nodeClick",node:bt(om(e,r.node.id),`Node ${r.node.id} not found in diagram`),xynode:r.node})),"emit: edgeClick":$a(({context:e,event:r})=>(qt(r,"xyflow.edgeClick"),{type:"edgeClick",edge:bt(uS(e,r.edge.id),`Edge ${r.edge.id} not found in diagram`),xyedge:r.edge})),"emit: initialized":$a(({context:e})=>(nt(e.xyflow,"XYFlow instance not found"),{type:"initialized",instance:e.xyflow})),"emit: openSource":$a((e,r)=>({type:"openSource",params:r})),"assign: dynamicViewVariant":Qe(({event:e})=>(qt(e,"switch.dynamicViewVariant"),{dynamicViewVariant:e.variant}))}}).createMachine({initial:"initializing",context:({input:e})=>({...e,xyedges:[],xynodes:[],features:{...ree},toggledFeatures:Ite.read()??{enableReadOnly:!0},initialized:{xydata:!1,xyflow:!1},viewportChangedManually:!1,lastOnNavigate:null,lastClickedNode:null,focusedNode:null,activeElementDetails:null,viewportBeforeFocus:null,navigationHistory:{currentIndex:0,history:[]},viewport:{x:0,y:0,zoom:1},xyflow:null,syncLayoutActorRef:null,dynamicViewVariant:e.dynamicViewVariant??(e.view._type==="dynamic"?e.view.variant:"diagram")??"diagram",activeWalkthrough:null}),states:{initializing:{on:{"xyflow.init":{actions:Qe(({context:e,event:r})=>({initialized:{...e.initialized,xyflow:!0},xyflow:r.instance})),target:"isReady"},"update.view":{actions:Qe(({context:e,event:r})=>({initialized:{...e.initialized,xydata:!0},view:r.view,xynodes:r.xynodes,xyedges:r.xyedges})),target:"isReady"}}},isReady:{always:[{guard:"isReady",actions:[{type:"xyflow:fitDiagram",params:{duration:0}},Qe(({context:e})=>({navigationHistory:{currentIndex:0,history:[{viewId:e.view.id,fromNode:null,viewport:{...e.xyflow.getViewport()}}]}})),"startSyncLayout","emit: initialized"],target:"ready"},{target:"initializing"}]},ready:{initial:"idle",on:{"navigate.to":{guard:"is another view",actions:Qe({lastOnNavigate:({context:e,event:r})=>({fromView:e.view.id,toView:r.viewId,fromNode:r.fromNode??null})}),target:"#navigating"},"navigate.back":{guard:({context:e})=>e.navigationHistory.currentIndex>0,actions:Qe(Ret),target:"#navigating"},"navigate.forward":{guard:({context:e})=>e.navigationHistory.currentIndex({mode:e.mode})},Jr({type:"saveManualLayout.schedule"})]},"layout.resetEdgeControlPoints":{guard:"not readonly",actions:[Qe(Pet),Jr({type:"saveManualLayout.schedule"})]},"xyflow.resized":{guard:({context:e})=>e.features.enableFitView&&!e.viewportChangedManually,actions:[Vo("fitDiagram"),Jr({type:"fitDiagram"},{id:"fitDiagram",delay:200})]},"open.elementDetails":{guard:"enabled: ElementDetails",actions:"open element details"},"open.relationshipsBrowser":{actions:ll(({system:e})=>ac(e).overlaysActorRef,({context:e,event:r})=>({type:"open.relationshipsBrowser",subject:r.fqn,viewId:e.view.id,scope:"view",closeable:!0,enableChangeScope:!0,enableSelectSubject:!0}))},"open.relationshipDetails":{actions:ll(({system:e})=>ac(e).overlaysActorRef,({context:e,event:r})=>({type:"open.relationshipDetails",viewId:e.view.id,...r.params}))},"open.source":{actions:{type:"emit: openSource",params:Ra("event")}},"walkthrough.start":{guard:"is dynamic view",target:".walkthrough"},"toggle.feature":{actions:Qe({toggledFeatures:({context:e,event:r})=>Ite.write({...e.toggledFeatures,[`enable${r.feature}`]:r.forceValue??!(e.toggledFeatures[`enable${r.feature}`]??e.features[`enable${r.feature}`])})})},"xyflow.nodeMouseEnter":{actions:{type:"onNodeMouseEnter",params:Ra("event")}},"xyflow.nodeMouseLeave":{actions:{type:"onNodeMouseLeave",params:Ra("event")}},"xyflow.edgeMouseEnter":{actions:"onEdgeMouseEnter"},"xyflow.edgeMouseLeave":{actions:"onEdgeMouseLeave"},"notations.highlight":{actions:{type:"notations.highlight",params:Ra("event")}},"notations.unhighlight":{actions:"undim everything"},"tag.highlight":{actions:"tag.highlight"},"tag.unhighlight":{actions:"undim everything"},"saveManualLayout.*":{guard:"not readonly",actions:ll(e=>e.context.syncLayoutActorRef,({event:e})=>{if(e.type==="saveManualLayout.schedule")return{type:"sync"};if(e.type==="saveManualLayout.cancel")return{type:"cancel"};Ja(e)})},"open.search":{guard:"enabled: Search",actions:ll(({system:e})=>ac(e).searchActorRef,({event:e})=>({type:"open",search:e.search}))}},exit:[Vo("fitDiagram")],states:{idle:{id:"idle",on:{"xyflow.nodeClick":[{guard:t2(["enabled: FocusMode","click: node has connections",MG(["click: same node","click: selected node"])]),actions:["assign lastClickedNode","assign: focusedNode","emit: nodeClick"],target:"focused"},{guard:t2(["enabled: ElementDetails","click: node has modelFqn",MG(["click: same node","click: selected node"])]),actions:["assign lastClickedNode","open source of focused or last clicked node","open element details","emit: nodeClick"]},{actions:["assign lastClickedNode","open source of focused or last clicked node","emit: nodeClick"]}],"xyflow.paneClick":{actions:["reset lastClickedNode","emit: paneClick"]},"xyflow.paneDblClick":{actions:["reset lastClickedNode","xyflow:fitDiagram",{type:"emit: openSource",params:({context:e})=>({view:e.view.id})}]},"focus.node":{guard:"enabled: FocusMode",actions:"assign: focusedNode",target:"focused"},"xyflow.edgeClick":{guard:t2(["is dynamic view","enabled: DynamicViewWalkthrough","click: selected edge"]),actions:[Jr(({event:e})=>({type:"walkthrough.start",stepId:e.edge.id})),"emit: edgeClick"]}}},focused:{entry:["focus on nodes and edges",Qe(e=>({viewportBeforeFocus:{...e.context.viewport}})),"open source of focused or last clicked node",pp("hotkeyActorLogic",{id:"hotkey"}),"xyflow:fitFocusedBounds"],exit:en(({enqueue:e,context:r})=>{e.stopChild("hotkey"),r.viewportBeforeFocus?e({type:"xyflow:setViewport",params:{viewport:r.viewportBeforeFocus}}):e("xyflow:fitDiagram"),e("undim everything"),e.assign({viewportBeforeFocus:null,focusedNode:null})}),on:{"xyflow.nodeClick":[{guard:t2(["click: focused node","click: node has modelFqn"]),actions:["open element details","emit: nodeClick"]},{guard:"click: focused node",actions:"emit: nodeClick",target:"#idle"},{actions:["assign lastClickedNode",Jr(({event:e})=>({type:"focus.node",nodeId:e.node.id})),"emit: nodeClick"]}],"focus.node":{actions:["assign: focusedNode","focus on nodes and edges","open source of focused or last clicked node","xyflow:fitFocusedBounds"]},"key.esc":{target:"idle"},"xyflow.paneClick":{actions:["reset lastClickedNode","emit: paneClick"],target:"idle"},"notations.unhighlight":{actions:"focus on nodes and edges"},"tag.unhighlight":{actions:"focus on nodes and edges"}}},walkthrough:{entry:[pp("hotkeyActorLogic",{id:"hotkey"}),Qe({viewportBeforeFocus:({context:e})=>e.viewport,activeWalkthrough:({context:e,event:r})=>{qt(r,"walkthrough.start");const n=r.stepId??xf(e.xyedges).id;return{stepId:n,parallelPrefix:B8(n)}}}),"update active walkthrough","xyflow:fitFocusedBounds","emit: walkthroughStarted"],exit:en(({enqueue:e,context:r})=>{e.stopChild("hotkey"),r.viewportBeforeFocus?e({type:"xyflow:setViewport",params:{viewport:r.viewportBeforeFocus}}):e("xyflow:fitDiagram"),r.dynamicViewVariant==="sequence"&&r.activeWalkthrough?.parallelPrefix&&e.assign({xynodes:r.xynodes.map(n=>n.type==="seq-parallel"?tr.setData(n,{color:f4.default}):n)}),e("undim everything"),e.assign({activeWalkthrough:null,viewportBeforeFocus:null}),e("emit: walkthroughStopped")}),on:{"key.esc":{target:"idle"},"key.arrow.left":{actions:Jr({type:"walkthrough.step",direction:"previous"})},"key.arrow.right":{actions:Jr({type:"walkthrough.step",direction:"next"})},"walkthrough.step":{actions:[Qe(({context:e,event:r})=>{const{stepId:n}=e.activeWalkthrough,o=e.xyedges.findIndex(l=>l.id===n),a=Qi(r.direction==="next"?o+1:o-1,{min:0,max:e.xyedges.length-1});if(a===o)return{};const i=e.xyedges[a].id;return{activeWalkthrough:{stepId:i,parallelPrefix:B8(i)}}}),"update active walkthrough","xyflow:fitFocusedBounds","emit: walkthroughStep"]},"xyflow.edgeClick":{actions:[Qe(({event:e,context:r})=>!A1(e.edge.id)||e.edge.id===r.activeWalkthrough?.stepId?{}:{activeWalkthrough:{stepId:e.edge.id,parallelPrefix:B8(e.edge.id)}}),"update active walkthrough","xyflow:fitFocusedBounds","emit: edgeClick","emit: walkthroughStep"]},"notations.unhighlight":{actions:"update active walkthrough"},"tag.unhighlight":{actions:"update active walkthrough"},"walkthrough.end":{target:"idle"},"xyflow.paneDblClick":{target:"idle"},"update.view":{guard:"is another view",actions:Jr(({event:e})=>e,{delay:50}),target:"idle"}}}}},navigating:{id:"navigating",entry:["closeAllOverlays","closeSearch","stopSyncLayout","trigger:NavigateTo"],on:{"update.view":{actions:en(({enqueue:e,context:r,event:n})=>{const{fromNode:o,toNode:a}=Bte(r,n);e(o&&a?{type:"xyflow:alignNodeFromToAfterNavigate",params:{fromNode:o.id,toPosition:{x:a.data.x,y:a.data.y}}}:{type:"xyflow:setViewportCenter",params:su.center(n.view.bounds)}),e.assign(Ote),e.assign({...Mte({context:r,event:n}),lastOnNavigate:null}),e("startSyncLayout"),e.raise({type:"fitDiagram"},{id:"fitDiagram",delay:25})}),target:"#idle"}}}},on:{"xyflow.paneClick":{actions:"emit: paneClick"},"xyflow.nodeClick":{actions:"emit: nodeClick"},"xyflow.edgeClick":{actions:"emit: edgeClick"},"xyflow.applyNodeChanges":{actions:Qe({xynodes:({context:e,event:r})=>Dx(r.changes,e.xynodes)})},"xyflow.applyEdgeChanges":{actions:Qe({xyedges:({context:e,event:r})=>Px(r.changes,e.xyedges)})},"xyflow.viewportMoved":{actions:Qe({viewportChangedManually:(({event:e})=>e.manually),viewport:(({event:e})=>e.viewport)})},"xyflow.edgeEditingStarted":{actions:"emit: edgeEditingStarted"},fitDiagram:{guard:"enabled: FitView",actions:{type:"xyflow:fitDiagram",params:Ra("event")}},"update.nodeData":{actions:Qe(Net)},"update.edgeData":{actions:Qe(Det)},"update.view":{actions:[Qe(Ote),en(({enqueue:e,event:r,check:n,context:o})=>{const a=n("is another view");if(a){e("closeAllOverlays"),e("closeSearch"),e("stopSyncLayout"),e.assign({focusedNode:null});const{fromNode:i,toNode:l}=Bte(o,r);i&&l?(e({type:"xyflow:alignNodeFromToAfterNavigate",params:{fromNode:i.id,toPosition:{x:l.data.x,y:l.data.y}}}),e.raise({type:"fitDiagram"},{id:"fitDiagram",delay:80})):(e({type:"xyflow:setViewportCenter",params:su.center(r.view.bounds)}),e.raise({type:"fitDiagram",duration:200},{id:"fitDiagram",delay:25}))}else{const i=r.view;i._type==="dynamic"&&o.view._type==="dynamic"&&i.variant!==o.view.variant&&e({type:"xyflow:setViewportCenter",params:su.center(i.bounds)})}e.assign({...Mte({context:o,event:r}),lastOnNavigate:null}),a?e("startSyncLayout"):(e.sendTo(i=>i.context.syncLayoutActorRef,{type:"synced"}),o.viewportChangedManually||e.raise({type:"fitDiagram"},{id:"fitDiagram",delay:50}))})]},"update.inputs":{actions:"updateInputs"},"update.features":{actions:["updateFeatures","ensure overlays actor state","ensure search actor state"]},"switch.dynamicViewVariant":{actions:"assign: dynamicViewVariant"}},exit:["stopSyncLayout",Vo("fitDiagram"),nc("hotkey"),nc("overlays"),nc("search"),Qe({xyflow:null,xystore:null,xyedges:[],xynodes:[],initialized:{xydata:!1,xyflow:!1},syncLayoutActorRef:null})]});function Lte(e){switch(e.type){case"element":case"compound-element":case"seq-actor":return e.data.modelFqn;case"deployment":case"compound-deployment":return e.data.modelFqn??e.data.deploymentFqn;case"seq-parallel":case"view-group":return null;default:Ja(e)}}function Bte(e,r){const n=e.lastOnNavigate?.fromNode,o=n&&e.xynodes.find(l=>l.id===n),a=o&&Lte(o),i=a&&r.xynodes.find(l=>Lte(l)===a);return{fromNode:o,toNode:i}}const Let=zet,Bet=e=>e.context.dynamicViewVariant;function jet({view:e,zoomable:r,pannable:n,fitViewPadding:o,nodesSelectable:a,where:i,children:l,dynamicViewVariant:s}){const{handlersRef:c}=dc(),u=yr(),d=S.useRef(null);d.current||(d.current=Let.provide({actors:{syncManualLayoutActorLogic:zte.provide({actions:{"trigger:OnChange":((x,w)=>{c.current.onChange?.(w)})}})}}));const p=cS(d.current,{id:"diagram",systemId:"diagram",input:{xystore:u,view:e,zoomable:r,pannable:n,fitViewPadding:o,nodesSelectable:a,dynamicViewVariant:s}}),f=Er();Xj(()=>{p.send({type:"update.features",features:f})},[f],Jn),S.useEffect(()=>{p.send({type:"update.inputs",inputs:{zoomable:r,pannable:n,fitViewPadding:o,nodesSelectable:a}})},[r,n,o,a]);const g=Cn(p,Bet),b=S.useMemo(()=>cet({view:e,where:i,nodesSelectable:a,dynamicViewVariant:g}),[e,i,a,g]);return Zj(()=>{p.send({type:"update.view",...b})},[p,b]),O2(()=>{s&&p.send({type:"switch.dynamicViewVariant",variant:s})},[s]),y.jsxs(Yje,{value:p,children:[y.jsx(vG,{children:y.jsx(Het,{actorRef:p,children:l})}),y.jsx(qet,{actorRef:p})]})}const Fet=e=>e.context.features.enableReadOnly||e.context.activeWalkthrough?{viewId:e.context.view.id,toggledFeatures:{...e.context.toggledFeatures,enableReadOnly:!0}}:{viewId:e.context.view.id,toggledFeatures:e.context.toggledFeatures};function Het({children:e,actorRef:r}){const{viewId:n,toggledFeatures:o}=Cn(r,Fet,ut),a=qo().findView(n);return y.jsx(j7.Provider,{value:a,children:y.jsx(Ep,{overrides:o,children:e})})}function qet({actorRef:e}){const r=Yt(),{onNavigateTo:n,onOpenSource:o,handlersRef:a}=dc();sl("openSource",({params:l})=>o?.(l)),sl("navigateTo",({viewId:l})=>n?.(l));const i=S.useRef(!1);return S.useEffect(()=>{if(i.current)return;let l=e.on("initialized",({instance:s})=>{try{a.current.onInitialized?.({diagram:r,xyflow:s})}catch(c){console.error(c)}i.current=!0,l?.unsubscribe(),l=null});return()=>{l?.unsubscribe()}},[e,r]),null}const m4={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:e=>e>=255?255:e<0?0:e,g:e=>e>=255?255:e<0?0:e,b:e=>e>=255?255:e<0?0:e,h:e=>e%360,s:e=>e>=100?100:e<0?0:e,l:e=>e>=100?100:e<0?0:e,a:e=>e>=1?1:e<0?0:e},toLinear:e=>{const r=e/255;return e>.03928?Math.pow((r+.055)/1.055,2.4):r/12.92},hue2rgb:(e,r,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(r-e)*6*n:n<1/2?r:n<2/3?e+(r-e)*(2/3-n)*6:e),hsl2rgb:({h:e,s:r,l:n},o)=>{if(!r)return n*2.55;e/=360,r/=100,n/=100;const a=n<.5?n*(1+r):n+r-n*r,i=2*n-a;switch(o){case"r":return m4.hue2rgb(i,a,e+1/3)*255;case"g":return m4.hue2rgb(i,a,e)*255;case"b":return m4.hue2rgb(i,a,e-1/3)*255}},rgb2hsl:({r:e,g:r,b:n},o)=>{e/=255,r/=255,n/=255;const a=Math.max(e,r,n),i=Math.min(e,r,n),l=(a+i)/2;if(o==="l")return l*100;if(a===i)return 0;const s=a-i,c=l>.5?s/(2-a-i):s/(a+i);if(o==="s")return c*100;switch(a){case e:return((r-n)/s+(rr>n?Math.min(r,Math.max(n,e)):Math.min(n,Math.max(r,e)),round:e=>Math.round(e*1e10)/1e10},Vet={dec2hex:e=>{const r=Math.round(e).toString(16);return r.length>1?r:`0${r}`}},Nt={channel:m4,lang:Uet,unit:Vet},zu={};for(let e=0;e<=255;e++)zu[e]=Nt.unit.dec2hex(e);const Mo={ALL:0,RGB:1,HSL:2};class Yet{constructor(){this.type=Mo.ALL}get(){return this.type}set(r){if(this.type&&this.type!==r)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=r}reset(){this.type=Mo.ALL}is(r){return this.type===r}}class Wet{constructor(r,n){this.color=n,this.changed=!1,this.data=r,this.type=new Yet}set(r,n){return this.color=n,this.changed=!1,this.data=r,this.type.type=Mo.ALL,this}_ensureHSL(){const r=this.data,{h:n,s:o,l:a}=r;n===void 0&&(r.h=Nt.channel.rgb2hsl(r,"h")),o===void 0&&(r.s=Nt.channel.rgb2hsl(r,"s")),a===void 0&&(r.l=Nt.channel.rgb2hsl(r,"l"))}_ensureRGB(){const r=this.data,{r:n,g:o,b:a}=r;n===void 0&&(r.r=Nt.channel.hsl2rgb(r,"r")),o===void 0&&(r.g=Nt.channel.hsl2rgb(r,"g")),a===void 0&&(r.b=Nt.channel.hsl2rgb(r,"b"))}get r(){const r=this.data,n=r.r;return!this.type.is(Mo.HSL)&&n!==void 0?n:(this._ensureHSL(),Nt.channel.hsl2rgb(r,"r"))}get g(){const r=this.data,n=r.g;return!this.type.is(Mo.HSL)&&n!==void 0?n:(this._ensureHSL(),Nt.channel.hsl2rgb(r,"g"))}get b(){const r=this.data,n=r.b;return!this.type.is(Mo.HSL)&&n!==void 0?n:(this._ensureHSL(),Nt.channel.hsl2rgb(r,"b"))}get h(){const r=this.data,n=r.h;return!this.type.is(Mo.RGB)&&n!==void 0?n:(this._ensureRGB(),Nt.channel.rgb2hsl(r,"h"))}get s(){const r=this.data,n=r.s;return!this.type.is(Mo.RGB)&&n!==void 0?n:(this._ensureRGB(),Nt.channel.rgb2hsl(r,"s"))}get l(){const r=this.data,n=r.l;return!this.type.is(Mo.RGB)&&n!==void 0?n:(this._ensureRGB(),Nt.channel.rgb2hsl(r,"l"))}get a(){return this.data.a}set r(r){this.type.set(Mo.RGB),this.changed=!0,this.data.r=r}set g(r){this.type.set(Mo.RGB),this.changed=!0,this.data.g=r}set b(r){this.type.set(Mo.RGB),this.changed=!0,this.data.b=r}set h(r){this.type.set(Mo.HSL),this.changed=!0,this.data.h=r}set s(r){this.type.set(Mo.HSL),this.changed=!0,this.data.s=r}set l(r){this.type.set(Mo.HSL),this.changed=!0,this.data.l=r}set a(r){this.changed=!0,this.data.a=r}}const g4=new Wet({r:0,g:0,b:0,a:0},"transparent"),Pm={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:e=>{if(e.charCodeAt(0)!==35)return;const r=e.match(Pm.re);if(!r)return;const n=r[1],o=parseInt(n,16),a=n.length,i=a%4===0,l=a>4,s=l?1:17,c=l?8:4,u=i?0:-1,d=l?255:15;return g4.set({r:(o>>c*(u+3)&d)*s,g:(o>>c*(u+2)&d)*s,b:(o>>c*(u+1)&d)*s,a:i?(o&d)*s/255:1},e)},stringify:e=>{const{r,g:n,b:o,a}=e;return a<1?`#${zu[Math.round(r)]}${zu[Math.round(n)]}${zu[Math.round(o)]}${zu[Math.round(a*255)]}`:`#${zu[Math.round(r)]}${zu[Math.round(n)]}${zu[Math.round(o)]}`}},Dp={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:e=>{const r=e.match(Dp.hueRe);if(r){const[,n,o]=r;switch(o){case"grad":return Nt.channel.clamp.h(parseFloat(n)*.9);case"rad":return Nt.channel.clamp.h(parseFloat(n)*180/Math.PI);case"turn":return Nt.channel.clamp.h(parseFloat(n)*360)}}return Nt.channel.clamp.h(parseFloat(e))},parse:e=>{const r=e.charCodeAt(0);if(r!==104&&r!==72)return;const n=e.match(Dp.re);if(!n)return;const[,o,a,i,l,s]=n;return g4.set({h:Dp._hue2deg(o),s:Nt.channel.clamp.s(parseFloat(a)),l:Nt.channel.clamp.l(parseFloat(i)),a:l?Nt.channel.clamp.a(s?parseFloat(l)/100:parseFloat(l)):1},e)},stringify:e=>{const{h:r,s:n,l:o,a}=e;return a<1?`hsla(${Nt.lang.round(r)}, ${Nt.lang.round(n)}%, ${Nt.lang.round(o)}%, ${a})`:`hsl(${Nt.lang.round(r)}, ${Nt.lang.round(n)}%, ${Nt.lang.round(o)}%)`}},Gy={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:e=>{e=e.toLowerCase();const r=Gy.colors[e];if(r)return Pm.parse(r)},stringify:e=>{const r=Pm.stringify(e);for(const n in Gy.colors)if(Gy.colors[n]===r)return n}},Xy={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:e=>{const r=e.charCodeAt(0);if(r!==114&&r!==82)return;const n=e.match(Xy.re);if(!n)return;const[,o,a,i,l,s,c,u,d]=n;return g4.set({r:Nt.channel.clamp.r(a?parseFloat(o)*2.55:parseFloat(o)),g:Nt.channel.clamp.g(l?parseFloat(i)*2.55:parseFloat(i)),b:Nt.channel.clamp.b(c?parseFloat(s)*2.55:parseFloat(s)),a:u?Nt.channel.clamp.a(d?parseFloat(u)/100:parseFloat(u)):1},e)},stringify:e=>{const{r,g:n,b:o,a}=e;return a<1?`rgba(${Nt.lang.round(r)}, ${Nt.lang.round(n)}, ${Nt.lang.round(o)}, ${Nt.lang.round(a)})`:`rgb(${Nt.lang.round(r)}, ${Nt.lang.round(n)}, ${Nt.lang.round(o)})`}},vl={format:{keyword:Gy,hex:Pm,rgb:Xy,rgba:Xy,hsl:Dp,hsla:Dp},parse:e=>{if(typeof e!="string")return e;const r=Pm.parse(e)||Xy.parse(e)||Dp.parse(e)||Gy.parse(e);if(r)return r;throw new Error(`Unsupported color format: "${e}"`)},stringify:e=>!e.changed&&e.color?e.color:e.type.is(Mo.HSL)||e.data.r===void 0?Dp.stringify(e):e.a<1||!Number.isInteger(e.r)||!Number.isInteger(e.g)||!Number.isInteger(e.b)?Xy.stringify(e):Pm.stringify(e)},jte=(e,r)=>{const n=vl.parse(e);for(const o in r)n[o]=Nt.channel.clamp[o](r[o]);return vl.stringify(n)},Get=(e,r,n=0,o=1)=>{if(typeof e!="number")return jte(e,{a:r});const a=g4.set({r:Nt.channel.clamp.r(e),g:Nt.channel.clamp.g(r),b:Nt.channel.clamp.b(n),a:Nt.channel.clamp.a(o)});return vl.stringify(a)},Fte=e=>vl.format.hex.stringify(vl.parse(e)),Hte=e=>vl.format.rgba.stringify(vl.parse(e)),Xet=(e,r)=>{const n=vl.parse(e),o={};for(const a in r)r[a]&&(o[a]=n[a]+r[a]);return jte(e,o)},qte=(e,r,n=50)=>{const{r:o,g:a,b:i,a:l}=vl.parse(e),{r:s,g:c,b:u,a:d}=vl.parse(r),p=n/100,f=p*2-1,g=l-d,b=((f*g===-1?f:(f+g)/(1+f*g))+1)/2,x=1-b,w=o*b+s*x,k=a*b+c*x,C=i*b+u*x,_=l*p+d*(1-p);return Get(w,k,C,_)},Ute=(e,r)=>{const n=vl.parse(e),o={},a=(i,l,s)=>l>0?(s-i)*l/100:i*l/100;for(const i in r)o[i]=a(n[i],r[i],Nt.channel.max[i]);return Xet(e,o)},Vte=e=>`[data-mantine-color-scheme="${e}"]`,Yte=Vte("dark"),Ket=Vte("light"),Zet=5,Qet=(e,r,n,o)=>{const a=s=>Fte(Ute(s,{l:-22-5*o,s:-10-6*o})),i=s=>Fte(Ute(s,{l:-20-3*o,s:-3-6*o})),l=`:where(${e} [data-likec4-color="${r}"][data-compound-depth="${o}"])`;return` ${l} { --likec4-palette-fill: ${i(n.elements.fill)}; --likec4-palette-stroke: ${i(n.elements.stroke)}; } -${Dte} ${l} { +${Yte} ${l} { --likec4-palette-fill: ${a(n.elements.fill)}; --likec4-palette-stroke: ${a(n.elements.stroke)}; } - `.trim()};function wet(e,r,n){const{elements:o,relationships:a}=n,i=`:where(${e} [data-likec4-color=${r}])`;return[` + `.trim()};function Jet(e,r,n){const{elements:o,relationships:a}=n,i=`:where(${e} [data-likec4-color=${r}])`;return[` ${i} { --likec4-palette-fill: ${o.fill}; --likec4-palette-stroke: ${o.stroke}; @@ -476,17 +478,17 @@ ${i} { --likec4-palette-relation-label: ${a.label}; --likec4-palette-relation-label-bg: ${a.labelBg}; } -${bet} ${i} { - --likec4-palette-relation-stroke-selected: ${Tte(Rte(a.line,"black",85))}; +${Ket} ${i} { + --likec4-palette-relation-stroke-selected: ${Hte(qte(a.line,"black",85))}; } -${Dte} ${i} { - --likec4-palette-relation-stroke-selected: ${Tte(Rte(a.line,"white",70))}; +${Yte} ${i} { + --likec4-palette-relation-stroke-selected: ${Hte(qte(a.line,"white",70))}; } - `.trim(),...ZNe(1,vet+1).map(l=>xet(e,r,n,l))].join(` -`)}function ket(e,r){return yn(r.colors,jE(),Ro(([n,o])=>wet(e,n,o)),oU(` -`))}const _et=E.memo(({id:e})=>{const r=`#${e}`,n=Yd()?.(),{theme:o}=nte(),a=ket(r,o);return y.jsx("style",{type:"text/css","data-likec4-colors":e,dangerouslySetInnerHTML:{__html:a},nonce:n})});function Pte(e,r){if(e._type==="dynamic")try{if(r??=e.variant,r==="sequence")return e.sequenceLayout.bounds}catch{}return e.bounds}function $te({children:e}){const r=E.useContext(Zx);return E.useEffect(()=>{r||console.warn("LikeC4Diagram must be a child of MantineProvider")},[]),r?y.jsx(y.Fragment,{children:e}):y.jsx(g9,{defaultColorScheme:"auto",children:e})}$te.displayName="EnsureMantine";const mR=({reducedMotion:e="user",children:r})=>{const n=Yd()?.();return y.jsx(wqe,{features:yVe,strict:!0,children:y.jsx(Eqe,{reducedMotion:e,...n&&{nonce:n},children:r})})};function Mte({onCanvasClick:e,onCanvasContextMenu:r,onCanvasDblClick:n,onEdgeClick:o,onChange:a,onEdgeContextMenu:i,onNavigateTo:l,onNodeClick:s,onNodeContextMenu:c,onOpenSource:u,onBurgerMenuClick:d,onInitialized:p,view:f,className:g,readonly:b=!0,controls:x=!b,fitView:w=!0,fitViewPadding:k=x?$2.withControls:$2.default,pannable:C=!0,zoomable:_=!0,background:T="dots",enableElementTags:R=!1,enableFocusMode:A=!1,enableElementDetails:D=!1,enableRelationshipDetails:N=!1,enableRelationshipBrowser:$=!1,nodesDraggable:M=!b,nodesSelectable:j=!b||A||!!l||!!s,showNotations:L=!0,showNavigationButtons:Y=!!l,enableDynamicViewWalkthrough:O=!1,dynamicViewVariant:U,enableSearch:I=!1,initialWidth:q,initialHeight:V,experimentalEdgeEditing:G=!b,reduceGraphics:F="auto",renderIcon:J,where:Q,reactFlowProps:z,renderNodes:W,children:X}){const Z=ZW(),oe=E.useRef(null),ee=Pte(f,U),re=Eet(k);oe.current==null&&(oe.current={defaultEdges:[],defaultNodes:[],initialWidth:q??ee.width,initialHeight:V??ee.height,initialFitViewOptions:{maxZoom:HC,minZoom:pl,padding:re},initialMaxZoom:HC,initialMinZoom:pl});const pe=F==="auto"?C&&(ee.width??1)*(ee.height??1)>6e6&&f.nodes.some(Ce=>Ce.children?.length>0):F;return y.jsx($te,{children:y.jsx(mR,{...pe&&{reducedMotion:"always"},children:y.jsx(uEe,{value:J??null,children:y.jsx(hp,{features:{enableFitView:w,enableReadOnly:b,enableFocusMode:A,enableNavigateTo:!!l,enableElementDetails:D,enableRelationshipDetails:N,enableRelationshipBrowser:$,enableSearch:I,enableNavigationButtons:Y&&!!l,enableDynamicViewWalkthrough:f._type==="dynamic"&&O,enableEdgeEditing:G,enableNotations:L,enableVscode:!!u,enableControls:x,enableElementTags:R},children:y.jsxs(gKe,{handlers:{onCanvasClick:e,onCanvasContextMenu:r,onCanvasDblClick:n,onEdgeClick:o,onChange:a,onEdgeContextMenu:i,onNavigateTo:l,onNodeClick:s,onNodeContextMenu:c,onOpenSource:u,onBurgerMenuClick:d,onInitialized:p},children:[y.jsx(_et,{id:Z}),y.jsx($ze,{rootSelector:`#${Z}`,children:y.jsx(Cze,{id:Z,className:g,reduceGraphics:pe,children:y.jsx($x,{fitView:w,...oe.current,children:y.jsxs(set,{view:f,zoomable:_,pannable:C,fitViewPadding:re,nodesSelectable:j,where:Q??null,dynamicViewVariant:U,children:[y.jsx(EJe,{nodesDraggable:M,nodesSelectable:j,background:T,reactFlowProps:z,renderNodes:W,children:X}),y.jsx(Yee,{})]})})})})]})})})})})}const Ote=e=>typeof e=="number"?`${e}px`:e;function Eet(e){return Uj(()=>qE(e)?qNe(e,Ote):Ote(e),[e],ut)}function Cet({children:e,likec4model:r}){return y.jsx(W0.Provider,{value:r,children:e})}const gR=({children:e})=>y.jsx("div",{style:{margin:"1rem 0"},children:y.jsx("div",{style:{margin:"0 auto",display:"inline-block",padding:"2rem",background:"rgba(250,82,82,.15)",color:"#ffa8a8"},children:e})}),Tet=({viewId:e})=>y.jsxs(gR,{children:["View ",y.jsx("code",{children:e})," not found"]}),Ret=e=>{throw new Error("LikeC4View is not available SSR")};var Ite={exports:{}},yR,Lte;function Aet(){if(Lte)return yR;Lte=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return yR=e,yR}var bR,zte;function Net(){if(zte)return bR;zte=1;var e=Aet();function r(){}function n(){}return n.resetWarningCache=r,bR=function(){function o(l,s,c,u,d,p){if(p!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}o.isRequired=o;function a(){return o}var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:a,element:o,elementType:o,instanceOf:a,node:o,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:r};return i.PropTypes=i,i},bR}var Bte;function Det(){return Bte||(Bte=1,Ite.exports=Net()()),Ite.exports}var Pet=Det();const bl=DE(Pet);var $et=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function jte(e,r){return e(r={exports:{}},r.exports),r.exports}var Met=jte((function(e){(function(r){var n=function(w,k,C){if(!c(k)||d(k)||p(k)||f(k)||s(k))return k;var _,T=0,R=0;if(u(k))for(_=[],R=k.length;Te.length)&&(r=e.length);for(var n=0,o=new Array(r);n=0||(a[n]=e[n]);return a},qte=function(e,r){if(e==null)return{};var n,o,a=jet(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a},Fet=E.createContext(null);function Ute(e){var r=e.children,n=r===void 0?"":r,o=qte(e,["children"]);return typeof n!="string"&&(n=Ret()),Xr.createElement("template",Hte({},o,{dangerouslySetInnerHTML:{__html:n}}))}function Vte(e){var r=e.root,n=e.children;return Bi.createPortal(n===void 0?null:n,r)}function Het(e){var r=E.forwardRef((function(n,o){var a,i,l=n.mode,s=l===void 0?"open":l,c=n.delegatesFocus,u=c!==void 0&&c,d=n.styleSheets,p=d===void 0?[]:d,f=n.ssr,g=f!==void 0&&f,b=n.children,x=qte(n,["mode","delegatesFocus","styleSheets","ssr","children"]),w=(i=E.useRef((a=o)&&a.current),E.useEffect((function(){a&&(a.current=i.current)}),[a]),i),k=E.useState(null),C=Bet(k,2),_=C[0],T=C[1],R="node_".concat(s).concat(u);return E.useLayoutEffect((function(){if(w.current)try{if(typeof o=="function"&&o(w.current),g){var A=w.current.shadowRoot;return void T(A)}var D=w.current.attachShadow({mode:s,delegatesFocus:u});p.length>0&&(D.adoptedStyleSheets=p),T(D)}catch(N){(function($){var M=$.error,j=$.styleSheets,L=$.root;switch(M.name){case"NotSupportedError":j.length>0&&(L.adoptedStyleSheets=j);break;default:throw M}})({error:N,styleSheets:p,root:_})}}),[o,w,p]),Xr.createElement(Xr.Fragment,null,Xr.createElement(e.tag,Hte({key:R,ref:w},x),(_||g)&&Xr.createElement(Fet.Provider,{value:_},g?Xr.createElement(Ute,{shadowroot:s,shadowrootmode:s},e.render({root:_,ssr:g,children:b})):Xr.createElement(Vte,{root:_},e.render({root:_,ssr:g,children:b})))))}));return r.propTypes={mode:bl.oneOf(["open","closed"]),delegatesFocus:bl.bool,styleSheets:bl.arrayOf(bl.instanceOf(globalThis.CSSStyleSheet)),ssr:bl.bool,children:bl.node},r}Ute.propTypes={children:bl.oneOfType([bl.string,bl.node])},Vte.propTypes={root:bl.object.isRequired,children:bl.node};var vR=new Map;function qet(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(o){return o.children};return new Proxy(e,{get:function(o,a){var i=Met(a,{separator:"-"}),l="".concat(r,"-").concat(i);return vR.has(l)||vR.set(l,Het({tag:i,render:n})),vR.get(l)}})}var Uet=qet();const Vet='@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-400-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-400-normal.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-500-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-500-normal.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-600-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-600-normal.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-400-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-400-normal.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-500-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-500-normal.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-600-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-600-normal.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-ext-400-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-ext-400-normal.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-ext-500-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-ext-500-normal.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-ext-600-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-ext-600-normal.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-ext-400-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-ext-400-normal.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-ext-500-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-ext-500-normal.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-ext-600-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-ext-600-normal.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}',Yte=`@layer reset,base,mantine,xyflow,tokens,recipes,utilities;@layer mantine{:root{color-scheme:var(--mantine-color-scheme)}*,*:before,*:after{box-sizing:border-box}input,button,textarea,select{font:inherit}button,select{text-transform:none}body{margin:0;font-family:var(--mantine-font-family);font-size:var(--mantine-font-size-md);line-height:var(--mantine-line-height);background-color:var(--mantine-color-body);color:var(--mantine-color-text);-webkit-font-smoothing:var(--mantine-webkit-font-smoothing);-moz-osx-font-smoothing:var(--mantine-moz-font-smoothing)}@media screen and (max-device-width: 31.25em){body{-webkit-text-size-adjust:100%}}@media (prefers-reduced-motion: reduce){[data-respect-reduced-motion] [data-reduce-motion]{transition:none;animation:none}}[data-mantine-color-scheme=light] .mantine-light-hidden,[data-mantine-color-scheme=dark] .mantine-dark-hidden{display:none}.mantine-focus-auto:focus-visible{outline:2px solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}.mantine-focus-always:focus{outline:2px solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}.mantine-focus-never:focus{outline:none}.mantine-active:active{transform:translateY(calc(.0625rem * var(--mantine-scale)))}fieldset:disabled .mantine-active:active{transform:none}:where([dir=rtl]) .mantine-rotate-rtl{transform:rotate(180deg)}:root{--mantine-z-index-app: 100;--mantine-z-index-modal: 200;--mantine-z-index-popover: 300;--mantine-z-index-overlay: 400;--mantine-z-index-max: 9999;--mantine-scale: 1;--mantine-cursor-type: default;--mantine-webkit-font-smoothing: antialiased;--mantine-moz-font-smoothing: grayscale;--mantine-color-white: #fff;--mantine-color-black: #000;--mantine-line-height: 1.55;--mantine-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;--mantine-font-family-monospace: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;--mantine-font-family-headings: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;--mantine-heading-font-weight: 700;--mantine-heading-text-wrap: wrap;--mantine-radius-default: calc(.25rem * var(--mantine-scale));--mantine-primary-color-filled: var(--mantine-color-blue-filled);--mantine-primary-color-filled-hover: var(--mantine-color-blue-filled-hover);--mantine-primary-color-light: var(--mantine-color-blue-light);--mantine-primary-color-light-hover: var(--mantine-color-blue-light-hover);--mantine-primary-color-light-color: var(--mantine-color-blue-light-color);--mantine-breakpoint-xs: 36em;--mantine-breakpoint-sm: 48em;--mantine-breakpoint-md: 62em;--mantine-breakpoint-lg: 75em;--mantine-breakpoint-xl: 88em;--mantine-spacing-xs: calc(.625rem * var(--mantine-scale));--mantine-spacing-sm: calc(.75rem * var(--mantine-scale));--mantine-spacing-md: calc(1rem * var(--mantine-scale));--mantine-spacing-lg: calc(1.25rem * var(--mantine-scale));--mantine-spacing-xl: calc(2rem * var(--mantine-scale));--mantine-font-size-xs: calc(.75rem * var(--mantine-scale));--mantine-font-size-sm: calc(.875rem * var(--mantine-scale));--mantine-font-size-md: calc(1rem * var(--mantine-scale));--mantine-font-size-lg: calc(1.125rem * var(--mantine-scale));--mantine-font-size-xl: calc(1.25rem * var(--mantine-scale));--mantine-line-height-xs: 1.4;--mantine-line-height-sm: 1.45;--mantine-line-height-md: 1.55;--mantine-line-height-lg: 1.6;--mantine-line-height-xl: 1.65;--mantine-shadow-xs: 0 calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale)) rgba(0, 0, 0, .05), 0 calc(.0625rem * var(--mantine-scale)) calc(.125rem * var(--mantine-scale)) rgba(0, 0, 0, .1);--mantine-shadow-sm: 0 calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale)) rgba(0, 0, 0, .05), rgba(0, 0, 0, .05) 0 calc(.625rem * var(--mantine-scale)) calc(.9375rem * var(--mantine-scale)) calc(-.3125rem * var(--mantine-scale)), rgba(0, 0, 0, .04) 0 calc(.4375rem * var(--mantine-scale)) calc(.4375rem * var(--mantine-scale)) calc(-.3125rem * var(--mantine-scale));--mantine-shadow-md: 0 calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale)) rgba(0, 0, 0, .05), rgba(0, 0, 0, .05) 0 calc(1.25rem * var(--mantine-scale)) calc(1.5625rem * var(--mantine-scale)) calc(-.3125rem * var(--mantine-scale)), rgba(0, 0, 0, .04) 0 calc(.625rem * var(--mantine-scale)) calc(.625rem * var(--mantine-scale)) calc(-.3125rem * var(--mantine-scale));--mantine-shadow-lg: 0 calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale)) rgba(0, 0, 0, .05), rgba(0, 0, 0, .05) 0 calc(1.75rem * var(--mantine-scale)) calc(1.4375rem * var(--mantine-scale)) calc(-.4375rem * var(--mantine-scale)), rgba(0, 0, 0, .04) 0 calc(.75rem * var(--mantine-scale)) calc(.75rem * var(--mantine-scale)) calc(-.4375rem * var(--mantine-scale));--mantine-shadow-xl: 0 calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale)) rgba(0, 0, 0, .05), rgba(0, 0, 0, .05) 0 calc(2.25rem * var(--mantine-scale)) calc(1.75rem * var(--mantine-scale)) calc(-.4375rem * var(--mantine-scale)), rgba(0, 0, 0, .04) 0 calc(1.0625rem * var(--mantine-scale)) calc(1.0625rem * var(--mantine-scale)) calc(-.4375rem * var(--mantine-scale));--mantine-radius-xs: calc(.125rem * var(--mantine-scale));--mantine-radius-sm: calc(.25rem * var(--mantine-scale));--mantine-radius-md: calc(.5rem * var(--mantine-scale));--mantine-radius-lg: calc(1rem * var(--mantine-scale));--mantine-radius-xl: calc(2rem * var(--mantine-scale));--mantine-primary-color-0: var(--mantine-color-blue-0);--mantine-primary-color-1: var(--mantine-color-blue-1);--mantine-primary-color-2: var(--mantine-color-blue-2);--mantine-primary-color-3: var(--mantine-color-blue-3);--mantine-primary-color-4: var(--mantine-color-blue-4);--mantine-primary-color-5: var(--mantine-color-blue-5);--mantine-primary-color-6: var(--mantine-color-blue-6);--mantine-primary-color-7: var(--mantine-color-blue-7);--mantine-primary-color-8: var(--mantine-color-blue-8);--mantine-primary-color-9: var(--mantine-color-blue-9);--mantine-color-dark-0: #c9c9c9;--mantine-color-dark-1: #b8b8b8;--mantine-color-dark-2: #828282;--mantine-color-dark-3: #696969;--mantine-color-dark-4: #424242;--mantine-color-dark-5: #3b3b3b;--mantine-color-dark-6: #2e2e2e;--mantine-color-dark-7: #242424;--mantine-color-dark-8: #1f1f1f;--mantine-color-dark-9: #141414;--mantine-color-gray-0: #f8f9fa;--mantine-color-gray-1: #f1f3f5;--mantine-color-gray-2: #e9ecef;--mantine-color-gray-3: #dee2e6;--mantine-color-gray-4: #ced4da;--mantine-color-gray-5: #adb5bd;--mantine-color-gray-6: #868e96;--mantine-color-gray-7: #495057;--mantine-color-gray-8: #343a40;--mantine-color-gray-9: #212529;--mantine-color-red-0: #fff5f5;--mantine-color-red-1: #ffe3e3;--mantine-color-red-2: #ffc9c9;--mantine-color-red-3: #ffa8a8;--mantine-color-red-4: #ff8787;--mantine-color-red-5: #ff6b6b;--mantine-color-red-6: #fa5252;--mantine-color-red-7: #f03e3e;--mantine-color-red-8: #e03131;--mantine-color-red-9: #c92a2a;--mantine-color-pink-0: #fff0f6;--mantine-color-pink-1: #ffdeeb;--mantine-color-pink-2: #fcc2d7;--mantine-color-pink-3: #faa2c1;--mantine-color-pink-4: #f783ac;--mantine-color-pink-5: #f06595;--mantine-color-pink-6: #e64980;--mantine-color-pink-7: #d6336c;--mantine-color-pink-8: #c2255c;--mantine-color-pink-9: #a61e4d;--mantine-color-grape-0: #f8f0fc;--mantine-color-grape-1: #f3d9fa;--mantine-color-grape-2: #eebefa;--mantine-color-grape-3: #e599f7;--mantine-color-grape-4: #da77f2;--mantine-color-grape-5: #cc5de8;--mantine-color-grape-6: #be4bdb;--mantine-color-grape-7: #ae3ec9;--mantine-color-grape-8: #9c36b5;--mantine-color-grape-9: #862e9c;--mantine-color-violet-0: #f3f0ff;--mantine-color-violet-1: #e5dbff;--mantine-color-violet-2: #d0bfff;--mantine-color-violet-3: #b197fc;--mantine-color-violet-4: #9775fa;--mantine-color-violet-5: #845ef7;--mantine-color-violet-6: #7950f2;--mantine-color-violet-7: #7048e8;--mantine-color-violet-8: #6741d9;--mantine-color-violet-9: #5f3dc4;--mantine-color-indigo-0: #edf2ff;--mantine-color-indigo-1: #dbe4ff;--mantine-color-indigo-2: #bac8ff;--mantine-color-indigo-3: #91a7ff;--mantine-color-indigo-4: #748ffc;--mantine-color-indigo-5: #5c7cfa;--mantine-color-indigo-6: #4c6ef5;--mantine-color-indigo-7: #4263eb;--mantine-color-indigo-8: #3b5bdb;--mantine-color-indigo-9: #364fc7;--mantine-color-blue-0: #e7f5ff;--mantine-color-blue-1: #d0ebff;--mantine-color-blue-2: #a5d8ff;--mantine-color-blue-3: #74c0fc;--mantine-color-blue-4: #4dabf7;--mantine-color-blue-5: #339af0;--mantine-color-blue-6: #228be6;--mantine-color-blue-7: #1c7ed6;--mantine-color-blue-8: #1971c2;--mantine-color-blue-9: #1864ab;--mantine-color-cyan-0: #e3fafc;--mantine-color-cyan-1: #c5f6fa;--mantine-color-cyan-2: #99e9f2;--mantine-color-cyan-3: #66d9e8;--mantine-color-cyan-4: #3bc9db;--mantine-color-cyan-5: #22b8cf;--mantine-color-cyan-6: #15aabf;--mantine-color-cyan-7: #1098ad;--mantine-color-cyan-8: #0c8599;--mantine-color-cyan-9: #0b7285;--mantine-color-teal-0: #e6fcf5;--mantine-color-teal-1: #c3fae8;--mantine-color-teal-2: #96f2d7;--mantine-color-teal-3: #63e6be;--mantine-color-teal-4: #38d9a9;--mantine-color-teal-5: #20c997;--mantine-color-teal-6: #12b886;--mantine-color-teal-7: #0ca678;--mantine-color-teal-8: #099268;--mantine-color-teal-9: #087f5b;--mantine-color-green-0: #ebfbee;--mantine-color-green-1: #d3f9d8;--mantine-color-green-2: #b2f2bb;--mantine-color-green-3: #8ce99a;--mantine-color-green-4: #69db7c;--mantine-color-green-5: #51cf66;--mantine-color-green-6: #40c057;--mantine-color-green-7: #37b24d;--mantine-color-green-8: #2f9e44;--mantine-color-green-9: #2b8a3e;--mantine-color-lime-0: #f4fce3;--mantine-color-lime-1: #e9fac8;--mantine-color-lime-2: #d8f5a2;--mantine-color-lime-3: #c0eb75;--mantine-color-lime-4: #a9e34b;--mantine-color-lime-5: #94d82d;--mantine-color-lime-6: #82c91e;--mantine-color-lime-7: #74b816;--mantine-color-lime-8: #66a80f;--mantine-color-lime-9: #5c940d;--mantine-color-yellow-0: #fff9db;--mantine-color-yellow-1: #fff3bf;--mantine-color-yellow-2: #ffec99;--mantine-color-yellow-3: #ffe066;--mantine-color-yellow-4: #ffd43b;--mantine-color-yellow-5: #fcc419;--mantine-color-yellow-6: #fab005;--mantine-color-yellow-7: #f59f00;--mantine-color-yellow-8: #f08c00;--mantine-color-yellow-9: #e67700;--mantine-color-orange-0: #fff4e6;--mantine-color-orange-1: #ffe8cc;--mantine-color-orange-2: #ffd8a8;--mantine-color-orange-3: #ffc078;--mantine-color-orange-4: #ffa94d;--mantine-color-orange-5: #ff922b;--mantine-color-orange-6: #fd7e14;--mantine-color-orange-7: #f76707;--mantine-color-orange-8: #e8590c;--mantine-color-orange-9: #d9480f;--mantine-h1-font-size: calc(2.125rem * var(--mantine-scale));--mantine-h1-line-height: 1.3;--mantine-h1-font-weight: 700;--mantine-h2-font-size: calc(1.625rem * var(--mantine-scale));--mantine-h2-line-height: 1.35;--mantine-h2-font-weight: 700;--mantine-h3-font-size: calc(1.375rem * var(--mantine-scale));--mantine-h3-line-height: 1.4;--mantine-h3-font-weight: 700;--mantine-h4-font-size: calc(1.125rem * var(--mantine-scale));--mantine-h4-line-height: 1.45;--mantine-h4-font-weight: 700;--mantine-h5-font-size: calc(1rem * var(--mantine-scale));--mantine-h5-line-height: 1.5;--mantine-h5-font-weight: 700;--mantine-h6-font-size: calc(.875rem * var(--mantine-scale));--mantine-h6-line-height: 1.5;--mantine-h6-font-weight: 700}:root[data-mantine-color-scheme=dark]{--mantine-color-scheme: dark;--mantine-primary-color-contrast: var(--mantine-color-white);--mantine-color-bright: var(--mantine-color-white);--mantine-color-text: var(--mantine-color-dark-0);--mantine-color-body: var(--mantine-color-dark-7);--mantine-color-error: var(--mantine-color-red-8);--mantine-color-placeholder: var(--mantine-color-dark-3);--mantine-color-anchor: var(--mantine-color-blue-4);--mantine-color-default: var(--mantine-color-dark-6);--mantine-color-default-hover: var(--mantine-color-dark-5);--mantine-color-default-color: var(--mantine-color-white);--mantine-color-default-border: var(--mantine-color-dark-4);--mantine-color-dimmed: var(--mantine-color-dark-2);--mantine-color-disabled: var(--mantine-color-dark-6);--mantine-color-disabled-color: var(--mantine-color-dark-3);--mantine-color-disabled-border: var(--mantine-color-dark-4);--mantine-color-dark-text: var(--mantine-color-dark-4);--mantine-color-dark-filled: var(--mantine-color-dark-8);--mantine-color-dark-filled-hover: var(--mantine-color-dark-9);--mantine-color-dark-light: rgba(46, 46, 46, .15);--mantine-color-dark-light-hover: rgba(46, 46, 46, .2);--mantine-color-dark-light-color: var(--mantine-color-dark-3);--mantine-color-dark-outline: var(--mantine-color-dark-4);--mantine-color-dark-outline-hover: rgba(66, 66, 66, .05);--mantine-color-gray-text: var(--mantine-color-gray-4);--mantine-color-gray-filled: var(--mantine-color-gray-8);--mantine-color-gray-filled-hover: var(--mantine-color-gray-9);--mantine-color-gray-light: rgba(134, 142, 150, .15);--mantine-color-gray-light-hover: rgba(134, 142, 150, .2);--mantine-color-gray-light-color: var(--mantine-color-gray-3);--mantine-color-gray-outline: var(--mantine-color-gray-4);--mantine-color-gray-outline-hover: rgba(206, 212, 218, .05);--mantine-color-red-text: var(--mantine-color-red-4);--mantine-color-red-filled: var(--mantine-color-red-8);--mantine-color-red-filled-hover: var(--mantine-color-red-9);--mantine-color-red-light: rgba(250, 82, 82, .15);--mantine-color-red-light-hover: rgba(250, 82, 82, .2);--mantine-color-red-light-color: var(--mantine-color-red-3);--mantine-color-red-outline: var(--mantine-color-red-4);--mantine-color-red-outline-hover: rgba(255, 135, 135, .05);--mantine-color-pink-text: var(--mantine-color-pink-4);--mantine-color-pink-filled: var(--mantine-color-pink-8);--mantine-color-pink-filled-hover: var(--mantine-color-pink-9);--mantine-color-pink-light: rgba(230, 73, 128, .15);--mantine-color-pink-light-hover: rgba(230, 73, 128, .2);--mantine-color-pink-light-color: var(--mantine-color-pink-3);--mantine-color-pink-outline: var(--mantine-color-pink-4);--mantine-color-pink-outline-hover: rgba(247, 131, 172, .05);--mantine-color-grape-text: var(--mantine-color-grape-4);--mantine-color-grape-filled: var(--mantine-color-grape-8);--mantine-color-grape-filled-hover: var(--mantine-color-grape-9);--mantine-color-grape-light: rgba(190, 75, 219, .15);--mantine-color-grape-light-hover: rgba(190, 75, 219, .2);--mantine-color-grape-light-color: var(--mantine-color-grape-3);--mantine-color-grape-outline: var(--mantine-color-grape-4);--mantine-color-grape-outline-hover: rgba(218, 119, 242, .05);--mantine-color-violet-text: var(--mantine-color-violet-4);--mantine-color-violet-filled: var(--mantine-color-violet-8);--mantine-color-violet-filled-hover: var(--mantine-color-violet-9);--mantine-color-violet-light: rgba(121, 80, 242, .15);--mantine-color-violet-light-hover: rgba(121, 80, 242, .2);--mantine-color-violet-light-color: var(--mantine-color-violet-3);--mantine-color-violet-outline: var(--mantine-color-violet-4);--mantine-color-violet-outline-hover: rgba(151, 117, 250, .05);--mantine-color-indigo-text: var(--mantine-color-indigo-4);--mantine-color-indigo-filled: var(--mantine-color-indigo-8);--mantine-color-indigo-filled-hover: var(--mantine-color-indigo-9);--mantine-color-indigo-light: rgba(76, 110, 245, .15);--mantine-color-indigo-light-hover: rgba(76, 110, 245, .2);--mantine-color-indigo-light-color: var(--mantine-color-indigo-3);--mantine-color-indigo-outline: var(--mantine-color-indigo-4);--mantine-color-indigo-outline-hover: rgba(116, 143, 252, .05);--mantine-color-blue-text: var(--mantine-color-blue-4);--mantine-color-blue-filled: var(--mantine-color-blue-8);--mantine-color-blue-filled-hover: var(--mantine-color-blue-9);--mantine-color-blue-light: rgba(34, 139, 230, .15);--mantine-color-blue-light-hover: rgba(34, 139, 230, .2);--mantine-color-blue-light-color: var(--mantine-color-blue-3);--mantine-color-blue-outline: var(--mantine-color-blue-4);--mantine-color-blue-outline-hover: rgba(77, 171, 247, .05);--mantine-color-cyan-text: var(--mantine-color-cyan-4);--mantine-color-cyan-filled: var(--mantine-color-cyan-8);--mantine-color-cyan-filled-hover: var(--mantine-color-cyan-9);--mantine-color-cyan-light: rgba(21, 170, 191, .15);--mantine-color-cyan-light-hover: rgba(21, 170, 191, .2);--mantine-color-cyan-light-color: var(--mantine-color-cyan-3);--mantine-color-cyan-outline: var(--mantine-color-cyan-4);--mantine-color-cyan-outline-hover: rgba(59, 201, 219, .05);--mantine-color-teal-text: var(--mantine-color-teal-4);--mantine-color-teal-filled: var(--mantine-color-teal-8);--mantine-color-teal-filled-hover: var(--mantine-color-teal-9);--mantine-color-teal-light: rgba(18, 184, 134, .15);--mantine-color-teal-light-hover: rgba(18, 184, 134, .2);--mantine-color-teal-light-color: var(--mantine-color-teal-3);--mantine-color-teal-outline: var(--mantine-color-teal-4);--mantine-color-teal-outline-hover: rgba(56, 217, 169, .05);--mantine-color-green-text: var(--mantine-color-green-4);--mantine-color-green-filled: var(--mantine-color-green-8);--mantine-color-green-filled-hover: var(--mantine-color-green-9);--mantine-color-green-light: rgba(64, 192, 87, .15);--mantine-color-green-light-hover: rgba(64, 192, 87, .2);--mantine-color-green-light-color: var(--mantine-color-green-3);--mantine-color-green-outline: var(--mantine-color-green-4);--mantine-color-green-outline-hover: rgba(105, 219, 124, .05);--mantine-color-lime-text: var(--mantine-color-lime-4);--mantine-color-lime-filled: var(--mantine-color-lime-8);--mantine-color-lime-filled-hover: var(--mantine-color-lime-9);--mantine-color-lime-light: rgba(130, 201, 30, .15);--mantine-color-lime-light-hover: rgba(130, 201, 30, .2);--mantine-color-lime-light-color: var(--mantine-color-lime-3);--mantine-color-lime-outline: var(--mantine-color-lime-4);--mantine-color-lime-outline-hover: rgba(169, 227, 75, .05);--mantine-color-yellow-text: var(--mantine-color-yellow-4);--mantine-color-yellow-filled: var(--mantine-color-yellow-8);--mantine-color-yellow-filled-hover: var(--mantine-color-yellow-9);--mantine-color-yellow-light: rgba(250, 176, 5, .15);--mantine-color-yellow-light-hover: rgba(250, 176, 5, .2);--mantine-color-yellow-light-color: var(--mantine-color-yellow-3);--mantine-color-yellow-outline: var(--mantine-color-yellow-4);--mantine-color-yellow-outline-hover: rgba(255, 212, 59, .05);--mantine-color-orange-text: var(--mantine-color-orange-4);--mantine-color-orange-filled: var(--mantine-color-orange-8);--mantine-color-orange-filled-hover: var(--mantine-color-orange-9);--mantine-color-orange-light: rgba(253, 126, 20, .15);--mantine-color-orange-light-hover: rgba(253, 126, 20, .2);--mantine-color-orange-light-color: var(--mantine-color-orange-3);--mantine-color-orange-outline: var(--mantine-color-orange-4);--mantine-color-orange-outline-hover: rgba(255, 169, 77, .05)}:root[data-mantine-color-scheme=light]{--mantine-color-scheme: light;--mantine-primary-color-contrast: var(--mantine-color-white);--mantine-color-bright: var(--mantine-color-black);--mantine-color-text: #000;--mantine-color-body: #fff;--mantine-color-error: var(--mantine-color-red-6);--mantine-color-placeholder: var(--mantine-color-gray-5);--mantine-color-anchor: var(--mantine-color-blue-6);--mantine-color-default: var(--mantine-color-white);--mantine-color-default-hover: var(--mantine-color-gray-0);--mantine-color-default-color: var(--mantine-color-black);--mantine-color-default-border: var(--mantine-color-gray-4);--mantine-color-dimmed: var(--mantine-color-gray-6);--mantine-color-disabled: var(--mantine-color-gray-2);--mantine-color-disabled-color: var(--mantine-color-gray-5);--mantine-color-disabled-border: var(--mantine-color-gray-3);--mantine-color-dark-text: var(--mantine-color-dark-filled);--mantine-color-dark-filled: var(--mantine-color-dark-6);--mantine-color-dark-filled-hover: var(--mantine-color-dark-7);--mantine-color-dark-light: rgba(46, 46, 46, .1);--mantine-color-dark-light-hover: rgba(46, 46, 46, .12);--mantine-color-dark-light-color: var(--mantine-color-dark-6);--mantine-color-dark-outline: var(--mantine-color-dark-6);--mantine-color-dark-outline-hover: rgba(46, 46, 46, .05);--mantine-color-gray-text: var(--mantine-color-gray-filled);--mantine-color-gray-filled: var(--mantine-color-gray-6);--mantine-color-gray-filled-hover: var(--mantine-color-gray-7);--mantine-color-gray-light: rgba(134, 142, 150, .1);--mantine-color-gray-light-hover: rgba(134, 142, 150, .12);--mantine-color-gray-light-color: var(--mantine-color-gray-6);--mantine-color-gray-outline: var(--mantine-color-gray-6);--mantine-color-gray-outline-hover: rgba(134, 142, 150, .05);--mantine-color-red-text: var(--mantine-color-red-filled);--mantine-color-red-filled: var(--mantine-color-red-6);--mantine-color-red-filled-hover: var(--mantine-color-red-7);--mantine-color-red-light: rgba(250, 82, 82, .1);--mantine-color-red-light-hover: rgba(250, 82, 82, .12);--mantine-color-red-light-color: var(--mantine-color-red-6);--mantine-color-red-outline: var(--mantine-color-red-6);--mantine-color-red-outline-hover: rgba(250, 82, 82, .05);--mantine-color-pink-text: var(--mantine-color-pink-filled);--mantine-color-pink-filled: var(--mantine-color-pink-6);--mantine-color-pink-filled-hover: var(--mantine-color-pink-7);--mantine-color-pink-light: rgba(230, 73, 128, .1);--mantine-color-pink-light-hover: rgba(230, 73, 128, .12);--mantine-color-pink-light-color: var(--mantine-color-pink-6);--mantine-color-pink-outline: var(--mantine-color-pink-6);--mantine-color-pink-outline-hover: rgba(230, 73, 128, .05);--mantine-color-grape-text: var(--mantine-color-grape-filled);--mantine-color-grape-filled: var(--mantine-color-grape-6);--mantine-color-grape-filled-hover: var(--mantine-color-grape-7);--mantine-color-grape-light: rgba(190, 75, 219, .1);--mantine-color-grape-light-hover: rgba(190, 75, 219, .12);--mantine-color-grape-light-color: var(--mantine-color-grape-6);--mantine-color-grape-outline: var(--mantine-color-grape-6);--mantine-color-grape-outline-hover: rgba(190, 75, 219, .05);--mantine-color-violet-text: var(--mantine-color-violet-filled);--mantine-color-violet-filled: var(--mantine-color-violet-6);--mantine-color-violet-filled-hover: var(--mantine-color-violet-7);--mantine-color-violet-light: rgba(121, 80, 242, .1);--mantine-color-violet-light-hover: rgba(121, 80, 242, .12);--mantine-color-violet-light-color: var(--mantine-color-violet-6);--mantine-color-violet-outline: var(--mantine-color-violet-6);--mantine-color-violet-outline-hover: rgba(121, 80, 242, .05);--mantine-color-indigo-text: var(--mantine-color-indigo-filled);--mantine-color-indigo-filled: var(--mantine-color-indigo-6);--mantine-color-indigo-filled-hover: var(--mantine-color-indigo-7);--mantine-color-indigo-light: rgba(76, 110, 245, .1);--mantine-color-indigo-light-hover: rgba(76, 110, 245, .12);--mantine-color-indigo-light-color: var(--mantine-color-indigo-6);--mantine-color-indigo-outline: var(--mantine-color-indigo-6);--mantine-color-indigo-outline-hover: rgba(76, 110, 245, .05);--mantine-color-blue-text: var(--mantine-color-blue-filled);--mantine-color-blue-filled: var(--mantine-color-blue-6);--mantine-color-blue-filled-hover: var(--mantine-color-blue-7);--mantine-color-blue-light: rgba(34, 139, 230, .1);--mantine-color-blue-light-hover: rgba(34, 139, 230, .12);--mantine-color-blue-light-color: var(--mantine-color-blue-6);--mantine-color-blue-outline: var(--mantine-color-blue-6);--mantine-color-blue-outline-hover: rgba(34, 139, 230, .05);--mantine-color-cyan-text: var(--mantine-color-cyan-filled);--mantine-color-cyan-filled: var(--mantine-color-cyan-6);--mantine-color-cyan-filled-hover: var(--mantine-color-cyan-7);--mantine-color-cyan-light: rgba(21, 170, 191, .1);--mantine-color-cyan-light-hover: rgba(21, 170, 191, .12);--mantine-color-cyan-light-color: var(--mantine-color-cyan-6);--mantine-color-cyan-outline: var(--mantine-color-cyan-6);--mantine-color-cyan-outline-hover: rgba(21, 170, 191, .05);--mantine-color-teal-text: var(--mantine-color-teal-filled);--mantine-color-teal-filled: var(--mantine-color-teal-6);--mantine-color-teal-filled-hover: var(--mantine-color-teal-7);--mantine-color-teal-light: rgba(18, 184, 134, .1);--mantine-color-teal-light-hover: rgba(18, 184, 134, .12);--mantine-color-teal-light-color: var(--mantine-color-teal-6);--mantine-color-teal-outline: var(--mantine-color-teal-6);--mantine-color-teal-outline-hover: rgba(18, 184, 134, .05);--mantine-color-green-text: var(--mantine-color-green-filled);--mantine-color-green-filled: var(--mantine-color-green-6);--mantine-color-green-filled-hover: var(--mantine-color-green-7);--mantine-color-green-light: rgba(64, 192, 87, .1);--mantine-color-green-light-hover: rgba(64, 192, 87, .12);--mantine-color-green-light-color: var(--mantine-color-green-6);--mantine-color-green-outline: var(--mantine-color-green-6);--mantine-color-green-outline-hover: rgba(64, 192, 87, .05);--mantine-color-lime-text: var(--mantine-color-lime-filled);--mantine-color-lime-filled: var(--mantine-color-lime-6);--mantine-color-lime-filled-hover: var(--mantine-color-lime-7);--mantine-color-lime-light: rgba(130, 201, 30, .1);--mantine-color-lime-light-hover: rgba(130, 201, 30, .12);--mantine-color-lime-light-color: var(--mantine-color-lime-6);--mantine-color-lime-outline: var(--mantine-color-lime-6);--mantine-color-lime-outline-hover: rgba(130, 201, 30, .05);--mantine-color-yellow-text: var(--mantine-color-yellow-filled);--mantine-color-yellow-filled: var(--mantine-color-yellow-6);--mantine-color-yellow-filled-hover: var(--mantine-color-yellow-7);--mantine-color-yellow-light: rgba(250, 176, 5, .1);--mantine-color-yellow-light-hover: rgba(250, 176, 5, .12);--mantine-color-yellow-light-color: var(--mantine-color-yellow-6);--mantine-color-yellow-outline: var(--mantine-color-yellow-6);--mantine-color-yellow-outline-hover: rgba(250, 176, 5, .05);--mantine-color-orange-text: var(--mantine-color-orange-filled);--mantine-color-orange-filled: var(--mantine-color-orange-6);--mantine-color-orange-filled-hover: var(--mantine-color-orange-7);--mantine-color-orange-light: rgba(253, 126, 20, .1);--mantine-color-orange-light-hover: rgba(253, 126, 20, .12);--mantine-color-orange-light-color: var(--mantine-color-orange-6);--mantine-color-orange-outline: var(--mantine-color-orange-6);--mantine-color-orange-outline-hover: rgba(253, 126, 20, .05)}.m_d57069b5{--scrollarea-scrollbar-size: calc(.75rem * var(--mantine-scale));position:relative;overflow:hidden}.m_d57069b5:where([data-autosize]) .m_b1336c6{min-width:min-content}.m_c0783ff9{scrollbar-width:none;overscroll-behavior:var(--scrollarea-over-scroll-behavior);-ms-overflow-style:none;-webkit-overflow-scrolling:touch;width:100%;height:100%}.m_c0783ff9::-webkit-scrollbar{display:none}.m_c0783ff9:where([data-scrollbars=xy],[data-scrollbars=y]):where([data-offset-scrollbars=xy],[data-offset-scrollbars=y],[data-offset-scrollbars=present]):where([data-vertical-hidden]){padding-inline-end:0;padding-inline-start:0}.m_c0783ff9:where([data-scrollbars=xy],[data-scrollbars=y]):where([data-offset-scrollbars=xy],[data-offset-scrollbars=y],[data-offset-scrollbars=present]):not([data-vertical-hidden]){padding-inline-end:var(--scrollarea-scrollbar-size);padding-inline-start:unset}.m_c0783ff9:where([data-scrollbars=xy],[data-scrollbars=x]):where([data-offset-scrollbars=xy],[data-offset-scrollbars=x],[data-offset-scrollbars=present]):where([data-horizontal-hidden]){padding-bottom:0}.m_c0783ff9:where([data-scrollbars=xy],[data-scrollbars=x]):where([data-offset-scrollbars=xy],[data-offset-scrollbars=x],[data-offset-scrollbars=present]):not([data-horizontal-hidden]){padding-bottom:var(--scrollarea-scrollbar-size)}.m_f8f631dd{min-width:100%;display:table}.m_c44ba933{user-select:none;touch-action:none;box-sizing:border-box;transition:background-color .15s ease,opacity .15s ease;padding:calc(var(--scrollarea-scrollbar-size) / 5);display:flex;background-color:transparent;flex-direction:row}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_c44ba933:hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=light]) .m_c44ba933:hover>.m_d8b5e363{background-color:#00000080}:where([data-mantine-color-scheme=dark]) .m_c44ba933:hover{background-color:var(--mantine-color-dark-8)}:where([data-mantine-color-scheme=dark]) .m_c44ba933:hover>.m_d8b5e363{background-color:#ffffff80}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_c44ba933:active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=light]) .m_c44ba933:active>.m_d8b5e363{background-color:#00000080}:where([data-mantine-color-scheme=dark]) .m_c44ba933:active{background-color:var(--mantine-color-dark-8)}:where([data-mantine-color-scheme=dark]) .m_c44ba933:active>.m_d8b5e363{background-color:#ffffff80}}.m_c44ba933:where([data-hidden],[data-state=hidden]){display:none}.m_c44ba933:where([data-orientation=vertical]){width:var(--scrollarea-scrollbar-size);top:0;bottom:var(--sa-corner-width);inset-inline-end:0}.m_c44ba933:where([data-orientation=horizontal]){height:var(--scrollarea-scrollbar-size);flex-direction:column;bottom:0;inset-inline-start:0;inset-inline-end:var(--sa-corner-width)}.m_d8b5e363{flex:1;border-radius:var(--scrollarea-scrollbar-size);position:relative;transition:background-color .15s ease;overflow:hidden;opacity:var(--thumb-opacity)}.m_d8b5e363:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-width:calc(2.75rem * var(--mantine-scale));min-height:calc(2.75rem * var(--mantine-scale))}:where([data-mantine-color-scheme=light]) .m_d8b5e363{background-color:#0006}:where([data-mantine-color-scheme=dark]) .m_d8b5e363{background-color:#fff6}.m_21657268{position:absolute;opacity:0;transition:opacity .15s ease;display:block;inset-inline-end:0;bottom:0}:where([data-mantine-color-scheme=light]) .m_21657268{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_21657268{background-color:var(--mantine-color-dark-8)}.m_21657268:where([data-hovered]){opacity:1}.m_21657268:where([data-hidden]){display:none}.m_b1336c6{min-width:100%}.m_87cf2631{background-color:transparent;cursor:pointer;border:0;padding:0;appearance:none;font-size:var(--mantine-font-size-md);text-align:left;text-decoration:none;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}:where([dir=rtl]) .m_87cf2631{text-align:right}.m_515a97f8{border:0;clip:rect(0 0 0 0);height:calc(.0625rem * var(--mantine-scale));width:calc(.0625rem * var(--mantine-scale));margin:calc(-.0625rem * var(--mantine-scale));overflow:hidden;padding:0;position:absolute;white-space:nowrap}.m_1b7284a3{--paper-radius: var(--mantine-radius-default);outline:0;-webkit-tap-highlight-color:transparent;display:block;touch-action:manipulation;text-decoration:none;border-radius:var(--paper-radius);box-shadow:var(--paper-shadow);background-color:var(--mantine-color-body)}[data-mantine-color-scheme=light] .m_1b7284a3{--paper-border-color: var(--mantine-color-gray-3)}[data-mantine-color-scheme=dark] .m_1b7284a3{--paper-border-color: var(--mantine-color-dark-4)}.m_1b7284a3:where([data-with-border]){border:calc(.0625rem * var(--mantine-scale)) solid var(--paper-border-color)}.m_9814e45f{inset:0;position:absolute;background:var(--overlay-bg, rgba(0, 0, 0, .6));-webkit-backdrop-filter:var(--overlay-filter);backdrop-filter:var(--overlay-filter);border-radius:var(--overlay-radius, 0);z-index:var(--overlay-z-index)}.m_9814e45f:where([data-fixed]){position:fixed}.m_9814e45f:where([data-center]){display:flex;align-items:center;justify-content:center}.m_38a85659{position:absolute;border:1px solid var(--popover-border-color);padding:var(--mantine-spacing-sm) var(--mantine-spacing-md);box-shadow:var(--popover-shadow, none);border-radius:var(--popover-radius, var(--mantine-radius-default))}.m_38a85659:where([data-fixed]){position:fixed}.m_38a85659:focus{outline:none}:where([data-mantine-color-scheme=light]) .m_38a85659{--popover-border-color: var(--mantine-color-gray-2);background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_38a85659{--popover-border-color: var(--mantine-color-dark-4);background-color:var(--mantine-color-dark-6)}.m_a31dc6c1{background-color:inherit;border:1px solid var(--popover-border-color);z-index:1}.m_3d7bc908{position:fixed;inset:0}.m_5ae2e3c{--loader-size-xs: calc(1.125rem * var(--mantine-scale));--loader-size-sm: calc(1.375rem * var(--mantine-scale));--loader-size-md: calc(2.25rem * var(--mantine-scale));--loader-size-lg: calc(2.75rem * var(--mantine-scale));--loader-size-xl: calc(3.625rem * var(--mantine-scale));--loader-size: var(--loader-size-md);--loader-color: var(--mantine-primary-color-filled)}@keyframes m_5d2b3b9d{0%{transform:scale(.6);opacity:0}50%,to{transform:scale(1)}}.m_7a2bd4cd{position:relative;width:var(--loader-size);height:var(--loader-size);display:flex;gap:calc(var(--loader-size) / 5)}.m_870bb79{flex:1;background:var(--loader-color);animation:m_5d2b3b9d 1.2s cubic-bezier(0,.5,.5,1) infinite;border-radius:calc(.125rem * var(--mantine-scale))}.m_870bb79:nth-of-type(1){animation-delay:-.24s}.m_870bb79:nth-of-type(2){animation-delay:-.12s}.m_870bb79:nth-of-type(3){animation-delay:0}@keyframes m_aac34a1{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.6);opacity:.5}}.m_4e3f22d7{display:flex;justify-content:center;align-items:center;gap:calc(var(--loader-size) / 10);position:relative;width:var(--loader-size);height:var(--loader-size)}.m_870c4af{width:calc(var(--loader-size) / 3 - var(--loader-size) / 15);height:calc(var(--loader-size) / 3 - var(--loader-size) / 15);border-radius:50%;background:var(--loader-color);animation:m_aac34a1 .8s infinite linear}.m_870c4af:nth-child(2){animation-delay:.4s}@keyframes m_f8e89c4b{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.m_b34414df{display:inline-block;width:var(--loader-size);height:var(--loader-size)}.m_b34414df:after{content:"";display:block;width:var(--loader-size);height:var(--loader-size);border-radius:calc(625rem * var(--mantine-scale));border-width:calc(var(--loader-size) / 8);border-style:solid;border-color:var(--loader-color) var(--loader-color) var(--loader-color) transparent;animation:m_f8e89c4b 1.2s linear infinite}.m_8d3f4000{--ai-size-xs: calc(1.125rem * var(--mantine-scale));--ai-size-sm: calc(1.375rem * var(--mantine-scale));--ai-size-md: calc(1.75rem * var(--mantine-scale));--ai-size-lg: calc(2.125rem * var(--mantine-scale));--ai-size-xl: calc(2.75rem * var(--mantine-scale));--ai-size-input-xs: calc(1.875rem * var(--mantine-scale));--ai-size-input-sm: calc(2.25rem * var(--mantine-scale));--ai-size-input-md: calc(2.625rem * var(--mantine-scale));--ai-size-input-lg: calc(3.125rem * var(--mantine-scale));--ai-size-input-xl: calc(3.75rem * var(--mantine-scale));--ai-size: var(--ai-size-md);--ai-color: var(--mantine-color-white);line-height:1;display:inline-flex;align-items:center;justify-content:center;position:relative;user-select:none;overflow:hidden;width:var(--ai-size);height:var(--ai-size);min-width:var(--ai-size);min-height:var(--ai-size);border-radius:var(--ai-radius, var(--mantine-radius-default));background:var(--ai-bg, var(--mantine-primary-color-filled));color:var(--ai-color, var(--mantine-color-white));border:var(--ai-bd, calc(.0625rem * var(--mantine-scale)) solid transparent);cursor:pointer}@media (hover: hover){.m_8d3f4000:hover:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--ai-hover, var(--mantine-primary-color-filled-hover));color:var(--ai-hover-color, var(--ai-color))}}@media (hover: none){.m_8d3f4000:active:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--ai-hover, var(--mantine-primary-color-filled-hover));color:var(--ai-hover-color, var(--ai-color))}}.m_8d3f4000[data-loading]{cursor:not-allowed}.m_8d3f4000[data-loading] .m_8d3afb97{opacity:0;transform:translateY(100%)}.m_8d3f4000:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])){cursor:not-allowed;border:calc(.0625rem * var(--mantine-scale)) solid transparent;color:var(--mantine-color-disabled-color);background-color:var(--mantine-color-disabled)}.m_8d3f4000:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])):active{transform:none}.m_302b9fb1{inset:calc(-.0625rem * var(--mantine-scale));position:absolute;border-radius:var(--ai-radius, var(--mantine-radius-default));display:flex;align-items:center;justify-content:center}:where([data-mantine-color-scheme=light]) .m_302b9fb1{background-color:#ffffff26}:where([data-mantine-color-scheme=dark]) .m_302b9fb1{background-color:#00000026}.m_1a0f1b21{--ai-border-width: calc(.0625rem * var(--mantine-scale));display:flex}.m_1a0f1b21 :where(*):focus{position:relative;z-index:1}.m_1a0f1b21[data-orientation=horizontal]{flex-direction:row}.m_1a0f1b21[data-orientation=horizontal] .m_8d3f4000:not(:only-child):first-child,.m_1a0f1b21[data-orientation=horizontal] .m_437b6484:not(:only-child):first-child{border-end-end-radius:0;border-start-end-radius:0;border-inline-end-width:calc(var(--ai-border-width) / 2)}.m_1a0f1b21[data-orientation=horizontal] .m_8d3f4000:not(:only-child):last-child,.m_1a0f1b21[data-orientation=horizontal] .m_437b6484:not(:only-child):last-child{border-end-start-radius:0;border-start-start-radius:0;border-inline-start-width:calc(var(--ai-border-width) / 2)}.m_1a0f1b21[data-orientation=horizontal] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child),.m_1a0f1b21[data-orientation=horizontal] .m_437b6484:not(:only-child):not(:first-child):not(:last-child){border-radius:0;border-inline-width:calc(var(--ai-border-width) / 2)}.m_1a0f1b21[data-orientation=vertical]{flex-direction:column}.m_1a0f1b21[data-orientation=vertical] .m_8d3f4000:not(:only-child):first-child,.m_1a0f1b21[data-orientation=vertical] .m_437b6484:not(:only-child):first-child{border-end-start-radius:0;border-end-end-radius:0;border-bottom-width:calc(var(--ai-border-width) / 2)}.m_1a0f1b21[data-orientation=vertical] .m_8d3f4000:not(:only-child):last-child,.m_1a0f1b21[data-orientation=vertical] .m_437b6484:not(:only-child):last-child{border-start-start-radius:0;border-start-end-radius:0;border-top-width:calc(var(--ai-border-width) / 2)}.m_1a0f1b21[data-orientation=vertical] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child),.m_1a0f1b21[data-orientation=vertical] .m_437b6484:not(:only-child):not(:first-child):not(:last-child){border-radius:0;border-bottom-width:calc(var(--ai-border-width) / 2);border-top-width:calc(var(--ai-border-width) / 2)}.m_8d3afb97{display:flex;align-items:center;justify-content:center;transition:transform .15s ease,opacity .1s ease;width:100%;height:100%}.m_437b6484{--section-height-xs: calc(1.125rem * var(--mantine-scale));--section-height-sm: calc(1.375rem * var(--mantine-scale));--section-height-md: calc(1.75rem * var(--mantine-scale));--section-height-lg: calc(2.125rem * var(--mantine-scale));--section-height-xl: calc(2.75rem * var(--mantine-scale));--section-height-input-xs: calc(1.875rem * var(--mantine-scale));--section-height-input-sm: calc(2.25rem * var(--mantine-scale));--section-height-input-md: calc(2.625rem * var(--mantine-scale));--section-height-input-lg: calc(3.125rem * var(--mantine-scale));--section-height-input-xl: calc(3.75rem * var(--mantine-scale));--section-padding-x-xs: calc(.375rem * var(--mantine-scale));--section-padding-x-sm: calc(.5rem * var(--mantine-scale));--section-padding-x-md: calc(.625rem * var(--mantine-scale));--section-padding-x-lg: calc(.75rem * var(--mantine-scale));--section-padding-x-xl: calc(1rem * var(--mantine-scale));--section-height: var(--section-height-sm);--section-padding-x: var(--section-padding-x-sm);--section-color: var(--mantine-color-white);font-weight:600;width:auto;border-radius:var(--section-radius, var(--mantine-radius-default));font-size:var(--section-fz, var(--mantine-font-size-sm));background:var(--section-bg, var(--mantine-primary-color-filled));border:var(--section-bd, calc(.0625rem * var(--mantine-scale)) solid transparent);color:var(--section-color, var(--mantine-color-white));height:var(--section-height, var(--section-height-sm));padding-inline:var(--section-padding-x, var(--section-padding-x-sm));vertical-align:middle;line-height:1;display:inline-flex;align-items:center;justify-content:center}.m_86a44da5{--cb-size-xs: calc(1.125rem * var(--mantine-scale));--cb-size-sm: calc(1.375rem * var(--mantine-scale));--cb-size-md: calc(1.75rem * var(--mantine-scale));--cb-size-lg: calc(2.125rem * var(--mantine-scale));--cb-size-xl: calc(2.75rem * var(--mantine-scale));--cb-size: var(--cb-size-md);--cb-icon-size: 70%;--cb-radius: var(--mantine-radius-default);line-height:1;display:inline-flex;align-items:center;justify-content:center;position:relative;user-select:none;width:var(--cb-size);height:var(--cb-size);min-width:var(--cb-size);min-height:var(--cb-size);border-radius:var(--cb-radius)}:where([data-mantine-color-scheme=light]) .m_86a44da5{color:var(--mantine-color-gray-7)}:where([data-mantine-color-scheme=dark]) .m_86a44da5{color:var(--mantine-color-dark-1)}.m_86a44da5[data-disabled],.m_86a44da5:disabled{cursor:not-allowed;opacity:.6}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_220c80f2:where(:not([data-disabled],:disabled)):hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_220c80f2:where(:not([data-disabled],:disabled)):hover{background-color:var(--mantine-color-dark-6)}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_220c80f2:where(:not([data-disabled],:disabled)):active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_220c80f2:where(:not([data-disabled],:disabled)):active{background-color:var(--mantine-color-dark-6)}}.m_4081bf90{display:flex;flex-direction:row;flex-wrap:var(--group-wrap, wrap);justify-content:var(--group-justify, flex-start);align-items:var(--group-align, center);gap:var(--group-gap, var(--mantine-spacing-md))}.m_4081bf90:where([data-grow])>*{flex-grow:1;max-width:var(--group-child-width)}.m_615af6c9{line-height:1;padding:0;margin:0;font-weight:400;font-size:var(--mantine-font-size-md)}.m_b5489c3c{display:flex;justify-content:space-between;align-items:center;padding:var(--mb-padding, var(--mantine-spacing-md));padding-inline-end:calc(var(--mb-padding, var(--mantine-spacing-md)) - calc(.3125rem * var(--mantine-scale)));position:sticky;top:0;background-color:var(--mantine-color-body);z-index:1000;min-height:calc(3.75rem * var(--mantine-scale));transition:padding-inline-end .1s}.m_60c222c7{position:fixed;width:100%;top:0;bottom:0;z-index:var(--mb-z-index);pointer-events:none}.m_fd1ab0aa{pointer-events:all;box-shadow:var(--mb-shadow, var(--mantine-shadow-xl))}.m_fd1ab0aa [data-mantine-scrollbar]{z-index:1001}[data-offset-scrollbars] .m_fd1ab0aa:has([data-mantine-scrollbar]) .m_b5489c3c{padding-inline-end:calc(var(--mb-padding, var(--mantine-spacing-md)) + calc(.3125rem * var(--mantine-scale)))}.m_606cb269{margin-inline-start:auto}.m_5df29311{padding:var(--mb-padding, var(--mantine-spacing-md));padding-top:var(--mb-padding, var(--mantine-spacing-md))}.m_5df29311:where(:not(:only-child)){padding-top:0}.m_6c018570{position:relative;margin-top:var(--input-margin-top, 0rem);margin-bottom:var(--input-margin-bottom, 0rem);--input-height-xs: calc(1.875rem * var(--mantine-scale));--input-height-sm: calc(2.25rem * var(--mantine-scale));--input-height-md: calc(2.625rem * var(--mantine-scale));--input-height-lg: calc(3.125rem * var(--mantine-scale));--input-height-xl: calc(3.75rem * var(--mantine-scale));--input-padding-y-xs: calc(.3125rem * var(--mantine-scale));--input-padding-y-sm: calc(.375rem * var(--mantine-scale));--input-padding-y-md: calc(.5rem * var(--mantine-scale));--input-padding-y-lg: calc(.625rem * var(--mantine-scale));--input-padding-y-xl: calc(.8125rem * var(--mantine-scale));--input-height: var(--input-height-sm);--input-radius: var(--mantine-radius-default);--input-cursor: text;--input-text-align: left;--input-line-height: calc(var(--input-height) - calc(.125rem * var(--mantine-scale)));--input-padding: calc(var(--input-height) / 3);--input-padding-inline-start: var(--input-padding);--input-padding-inline-end: var(--input-padding);--input-placeholder-color: var(--mantine-color-placeholder);--input-color: var(--mantine-color-text);--input-disabled-bg: var(--mantine-color-disabled);--input-disabled-color: var(--mantine-color-disabled-color);--input-left-section-size: var(--input-left-section-width, calc(var(--input-height) - calc(.125rem * var(--mantine-scale))));--input-right-section-size: var( --input-right-section-width, calc(var(--input-height) - calc(.125rem * var(--mantine-scale))) );--input-size: var(--input-height);--section-y: calc(.0625rem * var(--mantine-scale));--left-section-start: calc(.0625rem * var(--mantine-scale));--left-section-border-radius: var(--input-radius) 0 0 var(--input-radius);--right-section-end: calc(.0625rem * var(--mantine-scale));--right-section-border-radius: 0 var(--input-radius) var(--input-radius) 0}.m_6c018570[data-variant=unstyled]{--input-padding: 0;--input-padding-y: 0;--input-padding-inline-start: 0;--input-padding-inline-end: 0}.m_6c018570[data-pointer]{--input-cursor: pointer}.m_6c018570[data-multiline]{--input-padding-y-xs: calc(.28125rem * var(--mantine-scale));--input-padding-y-sm: calc(.34375rem * var(--mantine-scale));--input-padding-y-md: calc(.4375rem * var(--mantine-scale));--input-padding-y-lg: calc(.59375rem * var(--mantine-scale));--input-padding-y-xl: calc(.8125rem * var(--mantine-scale));--input-size: auto;--input-line-height: var(--mantine-line-height)}.m_6c018570[data-with-left-section]{--input-padding-inline-start: var(--input-left-section-size)}.m_6c018570[data-with-right-section]{--input-padding-inline-end: var(--input-right-section-size)}.m_6c018570[data-with-right-section]:has([data-combined-clear-section]){--input-padding-inline-end: calc(var(--input-right-section-size) * 1.55)}[data-mantine-color-scheme=light] .m_6c018570[data-variant=default]{--input-bd: var(--mantine-color-gray-4);--input-bg: var(--mantine-color-white);--input-bd-focus: var(--mantine-primary-color-filled)}[data-mantine-color-scheme=light] .m_6c018570[data-variant=filled]{--input-bd: transparent;--input-bg: var(--mantine-color-gray-1);--input-bd-focus: var(--mantine-primary-color-filled)}[data-mantine-color-scheme=light] .m_6c018570[data-variant=unstyled]{--input-bd: transparent;--input-bg: transparent;--input-bd-focus: transparent}[data-mantine-color-scheme=dark] .m_6c018570[data-variant=default]{--input-bd: var(--mantine-color-dark-4);--input-bg: var(--mantine-color-dark-6);--input-bd-focus: var(--mantine-primary-color-filled)}[data-mantine-color-scheme=dark] .m_6c018570[data-variant=filled]{--input-bd: transparent;--input-bg: var(--mantine-color-dark-5);--input-bd-focus: var(--mantine-primary-color-filled)}[data-mantine-color-scheme=dark] .m_6c018570[data-variant=unstyled]{--input-bd: transparent;--input-bg: transparent;--input-bd-focus: transparent}[data-mantine-color-scheme] .m_6c018570[data-error]:not([data-variant=unstyled]){--input-bd: var(--mantine-color-error)}[data-mantine-color-scheme] .m_6c018570[data-error]{--input-color: var(--mantine-color-error);--input-placeholder-color: var(--mantine-color-error);--input-section-color: var(--mantine-color-error)}:where([dir=rtl]) .m_6c018570{--input-text-align: right;--left-section-border-radius: 0 var(--input-radius) var(--input-radius) 0;--right-section-border-radius: var(--input-radius) 0 0 var(--input-radius)}.m_8fb7ebe7{-webkit-tap-highlight-color:transparent;appearance:none;resize:var(--input-resize, none);display:block;width:100%;transition:border-color .1s ease;text-align:var(--input-text-align);color:var(--input-color);border:calc(.0625rem * var(--mantine-scale)) solid var(--input-bd);background-color:var(--input-bg);font-family:var(--input-font-family, var(--mantine-font-family));height:var(--input-size);min-height:var(--input-height);line-height:var(--input-line-height);font-size:var(--_input-fz, var(--input-fz, var(--mantine-font-size-md)));border-radius:var(--input-radius);padding-inline-start:var(--input-padding-inline-start);padding-inline-end:var(--input-padding-inline-end);padding-top:var(--input-padding-y, 0rem);padding-bottom:var(--input-padding-y, 0rem);cursor:var(--input-cursor);overflow:var(--input-overflow)}.m_8fb7ebe7[data-no-overflow]{--input-overflow: hidden}.m_8fb7ebe7[data-monospace]{--input-font-family: var(--mantine-font-family-monospace);--_input-fz: calc(var(--input-fz) - calc(.125rem * var(--mantine-scale)))}.m_8fb7ebe7:focus,.m_8fb7ebe7:focus-within{outline:none;--input-bd: var(--input-bd-focus)}[data-error] .m_8fb7ebe7:focus,[data-error] .m_8fb7ebe7:focus-within{--input-bd: var(--mantine-color-error)}.m_8fb7ebe7::placeholder{color:var(--input-placeholder-color);opacity:1}.m_8fb7ebe7::-webkit-inner-spin-button,.m_8fb7ebe7::-webkit-outer-spin-button,.m_8fb7ebe7::-webkit-search-decoration,.m_8fb7ebe7::-webkit-search-cancel-button,.m_8fb7ebe7::-webkit-search-results-button,.m_8fb7ebe7::-webkit-search-results-decoration{appearance:none}.m_8fb7ebe7[type=number]{-moz-appearance:textfield}.m_8fb7ebe7:disabled,.m_8fb7ebe7[data-disabled]{cursor:not-allowed;opacity:.6;background-color:var(--input-disabled-bg);color:var(--input-disabled-color)}.m_8fb7ebe7:has(input:disabled){cursor:not-allowed;opacity:.6;background-color:var(--input-disabled-bg);color:var(--input-disabled-color)}.m_8fb7ebe7[readonly]{caret-color:transparent}.m_82577fc2{pointer-events:var(--section-pointer-events);position:absolute;z-index:1;inset-inline-start:var(--section-start);inset-inline-end:var(--section-end);bottom:var(--section-y);top:var(--section-y);display:flex;align-items:center;justify-content:center;width:var(--section-size);border-radius:var(--section-border-radius);color:var(--input-section-color, var(--mantine-color-dimmed))}.m_82577fc2[data-position=right]{--section-pointer-events: var(--input-right-section-pointer-events);--section-end: var(--right-section-end);--section-size: var(--input-right-section-size);--section-border-radius: var(--right-section-border-radius)}.m_82577fc2[data-position=right]:has([data-combined-clear-section]){--section-size: calc(var(--input-right-section-size) * 1.55)}.m_82577fc2[data-position=left]{--section-pointer-events: var(--input-left-section-pointer-events);--section-start: var(--left-section-start);--section-size: var(--input-left-section-size);--section-border-radius: var(--left-section-border-radius)}.m_88bacfd0{color:var(--input-placeholder-color, var(--mantine-color-placeholder))}[data-error] .m_88bacfd0{--input-placeholder-color: var(--input-color, var(--mantine-color-placeholder))}.m_46b77525{line-height:var(--mantine-line-height)}.m_8fdc1311{display:inline-block;font-weight:500;overflow-wrap:break-word;cursor:default;-webkit-tap-highlight-color:transparent;font-size:var(--input-label-size, var(--mantine-font-size-sm))}.m_78a94662{color:var(--input-asterisk-color, var(--mantine-color-error))}.m_8f816625,.m_fe47ce59{word-wrap:break-word;line-height:1.2;display:block;margin:0;padding:0}.m_8f816625{color:var(--mantine-color-error);font-size:var(--input-error-size, calc(var(--mantine-font-size-sm) - calc(.125rem * var(--mantine-scale))))}.m_fe47ce59{color:var(--mantine-color-dimmed);font-size:var(--input-description-size, calc(var(--mantine-font-size-sm) - calc(.125rem * var(--mantine-scale))))}.m_8bffd616{display:flex}.m_96b553a6{--transition-duration: .15s;top:0;left:0;position:absolute;z-index:0;transition-property:transform,width,height;transition-timing-function:ease;transition-duration:0ms}.m_96b553a6:where([data-initialized]){transition-duration:var(--transition-duration)}.m_96b553a6:where([data-hidden]){background-color:red;display:none}.m_9bdbb667{--accordion-radius: var(--mantine-radius-default)}.m_df78851f{overflow-wrap:break-word}.m_4ba554d4{padding:var(--mantine-spacing-md);padding-top:calc(var(--mantine-spacing-xs) / 2)}.m_8fa820a0{margin:0;padding:0}.m_4ba585b8{width:100%;display:flex;align-items:center;flex-direction:row-reverse;padding-inline:var(--mantine-spacing-md);opacity:1;cursor:pointer;background-color:transparent;color:var(--mantine-color-bright)}.m_4ba585b8:where([data-chevron-position=left]){flex-direction:row;padding-inline-start:0}.m_4ba585b8:where(:disabled,[data-disabled]){opacity:.4;cursor:not-allowed}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_6939a5e9:where(:not(:disabled,[data-disabled])):hover,:where([data-mantine-color-scheme=light]) .m_4271d21b:where(:not(:disabled,[data-disabled])):hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_6939a5e9:where(:not(:disabled,[data-disabled])):hover,:where([data-mantine-color-scheme=dark]) .m_4271d21b:where(:not(:disabled,[data-disabled])):hover{background-color:var(--mantine-color-dark-6)}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_6939a5e9:where(:not(:disabled,[data-disabled])):active,:where([data-mantine-color-scheme=light]) .m_4271d21b:where(:not(:disabled,[data-disabled])):active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_6939a5e9:where(:not(:disabled,[data-disabled])):active,:where([data-mantine-color-scheme=dark]) .m_4271d21b:where(:not(:disabled,[data-disabled])):active{background-color:var(--mantine-color-dark-6)}}.m_df3ffa0f{color:inherit;font-weight:400;flex:1;overflow:hidden;text-overflow:ellipsis;padding-top:var(--mantine-spacing-sm);padding-bottom:var(--mantine-spacing-sm)}.m_3f35ae96{display:flex;align-items:center;justify-content:flex-start;transition:transform var(--accordion-transition-duration, .2s) ease;width:var(--accordion-chevron-size, calc(.9375rem * var(--mantine-scale)));min-width:var(--accordion-chevron-size, calc(.9375rem * var(--mantine-scale)));transform:rotate(0)}.m_3f35ae96:where([data-rotate]){transform:rotate(180deg)}.m_3f35ae96:where([data-position=left]){margin-inline-end:var(--mantine-spacing-md);margin-inline-start:var(--mantine-spacing-md)}.m_9bd771fe{display:flex;align-items:center;justify-content:center;margin-inline-end:var(--mantine-spacing-sm)}.m_9bd771fe:where([data-chevron-position=left]){margin-inline-end:0;margin-inline-start:var(--mantine-spacing-lg)}:where([data-mantine-color-scheme=light]) .m_9bd7b098{--item-border-color: var(--mantine-color-gray-3);--item-filled-color: var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_9bd7b098{--item-border-color: var(--mantine-color-dark-4);--item-filled-color: var(--mantine-color-dark-6)}.m_fe19b709{border-bottom:1px solid var(--item-border-color)}.m_1f921b3b{border:1px solid var(--item-border-color);transition:background-color .15s ease}.m_1f921b3b:where([data-active]){background-color:var(--item-filled-color)}.m_1f921b3b:first-of-type{border-start-start-radius:var(--accordion-radius);border-start-end-radius:var(--accordion-radius)}.m_1f921b3b:first-of-type>[data-accordion-control]{border-start-start-radius:var(--accordion-radius);border-start-end-radius:var(--accordion-radius)}.m_1f921b3b:last-of-type{border-end-start-radius:var(--accordion-radius);border-end-end-radius:var(--accordion-radius)}.m_1f921b3b:last-of-type>[data-accordion-control]{border-end-start-radius:var(--accordion-radius);border-end-end-radius:var(--accordion-radius)}.m_1f921b3b+.m_1f921b3b{border-top:0}.m_2cdf939a{border-radius:var(--accordion-radius)}.m_2cdf939a:where([data-active]){background-color:var(--item-filled-color)}.m_9f59b069{background-color:var(--item-filled-color);border-radius:var(--accordion-radius);border:calc(.0625rem * var(--mantine-scale)) solid transparent;transition:background-color .15s ease}.m_9f59b069[data-active]{border-color:var(--item-border-color)}:where([data-mantine-color-scheme=light]) .m_9f59b069[data-active]{background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_9f59b069[data-active]{background-color:var(--mantine-color-dark-7)}.m_9f59b069+.m_9f59b069{margin-top:var(--mantine-spacing-md)}.m_7f854edf{position:fixed;z-index:var(--affix-z-index);inset-inline-start:var(--affix-left);inset-inline-end:var(--affix-right);top:var(--affix-top);bottom:var(--affix-bottom)}.m_66836ed3{--alert-radius: var(--mantine-radius-default);--alert-bg: var(--mantine-primary-color-light);--alert-bd: calc(.0625rem * var(--mantine-scale)) solid transparent;--alert-color: var(--mantine-primary-color-light-color);padding:var(--mantine-spacing-md) var(--mantine-spacing-md);border-radius:var(--alert-radius);position:relative;overflow:hidden;background-color:var(--alert-bg);border:var(--alert-bd);color:var(--alert-color)}.m_a5d60502{display:flex}.m_667c2793{flex:1;display:flex;flex-direction:column;gap:var(--mantine-spacing-xs)}.m_6a03f287{display:flex;align-items:center;justify-content:space-between;font-size:var(--mantine-font-size-sm);font-weight:700}.m_6a03f287:where([data-with-close-button]){padding-inline-end:var(--mantine-spacing-md)}.m_698f4f23{display:block;overflow:hidden;text-overflow:ellipsis}.m_667f2a6a{line-height:1;width:calc(1.25rem * var(--mantine-scale));height:calc(1.25rem * var(--mantine-scale));display:flex;align-items:center;justify-content:flex-start;margin-inline-end:var(--mantine-spacing-md);margin-top:calc(.0625rem * var(--mantine-scale))}.m_7fa78076{text-overflow:ellipsis;overflow:hidden;font-size:var(--mantine-font-size-sm)}:where([data-mantine-color-scheme=light]) .m_7fa78076{color:var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_7fa78076{color:var(--mantine-color-white)}.m_7fa78076:where([data-variant=filled]){color:var(--alert-color)}.m_7fa78076:where([data-variant=white]){color:var(--mantine-color-black)}.m_87f54839{width:calc(1.25rem * var(--mantine-scale));height:calc(1.25rem * var(--mantine-scale));color:var(--alert-color)}.m_b6d8b162{-webkit-tap-highlight-color:transparent;text-decoration:none;font-size:var(--text-fz, var(--mantine-font-size-md));line-height:var(--text-lh, var(--mantine-line-height-md));font-weight:400;margin:0;padding:0;color:var(--text-color)}.m_b6d8b162:where([data-truncate]){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m_b6d8b162:where([data-truncate=start]){direction:rtl;text-align:right}:where([dir=rtl]) .m_b6d8b162:where([data-truncate=start]){direction:ltr;text-align:left}.m_b6d8b162:where([data-variant=gradient]){background-image:var(--text-gradient);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.m_b6d8b162:where([data-line-clamp]){overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:var(--text-line-clamp);-webkit-box-orient:vertical}.m_b6d8b162:where([data-inherit]){line-height:inherit;font-weight:inherit;font-size:inherit}.m_b6d8b162:where([data-inline]){line-height:1}.m_849cf0da{color:var(--mantine-color-anchor);text-decoration:none;appearance:none;border:none;display:inline;padding:0;margin:0;background-color:transparent;cursor:pointer}@media (hover: hover){.m_849cf0da:where([data-underline=hover]):hover{text-decoration:underline}}@media (hover: none){.m_849cf0da:where([data-underline=hover]):active{text-decoration:underline}}.m_849cf0da:where([data-underline=not-hover]){text-decoration:underline}@media (hover: hover){.m_849cf0da:where([data-underline=not-hover]):hover{text-decoration:none}}@media (hover: none){.m_849cf0da:where([data-underline=not-hover]):active{text-decoration:none}}.m_849cf0da:where([data-underline=always]){text-decoration:underline}.m_849cf0da:where([data-variant=gradient]),.m_849cf0da:where([data-variant=gradient]):hover{text-decoration:none}.m_849cf0da:where([data-line-clamp]){display:-webkit-box}.m_48204f9b{width:var(--slider-size);height:var(--slider-size);position:relative;border-radius:100%;display:flex;align-items:center;justify-content:center;user-select:none}.m_48204f9b:focus-within{outline:2px solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}.m_48204f9b{--slider-size: calc(3.75rem * var(--mantine-scale));--thumb-size: calc(var(--slider-size) / 5)}:where([data-mantine-color-scheme=light]) .m_48204f9b{background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_48204f9b{background-color:var(--mantine-color-dark-5)}.m_bb9cdbad{position:absolute;inset:calc(.0625rem * var(--mantine-scale));border-radius:var(--slider-size);pointer-events:none}.m_481dd586{width:calc(.125rem * var(--mantine-scale));position:absolute;top:0;bottom:0;left:calc(50% - 1px);transform:rotate(var(--angle))}.m_481dd586:before{content:"";position:absolute;top:calc(var(--thumb-size) / 3);left:calc(.03125rem * var(--mantine-scale));width:calc(.0625rem * var(--mantine-scale));height:calc(var(--thumb-size) / 1.5);transform:translate(-50%,-50%)}:where([data-mantine-color-scheme=light]) .m_481dd586:before{background-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_481dd586:before{background-color:var(--mantine-color-dark-3)}.m_481dd586[data-label]:after{min-width:calc(1.125rem * var(--mantine-scale));text-align:center;content:attr(data-label);position:absolute;top:calc(-1.5rem * var(--mantine-scale));left:calc(-.4375rem * var(--mantine-scale));transform:rotate(calc(360deg - var(--angle)));font-size:var(--mantine-font-size-xs)}.m_bc02ba3d{position:absolute;inset-block:0;inset-inline-start:calc(50% - 1.5px);inset-inline-end:0;height:100%;width:calc(.1875rem * var(--mantine-scale));outline:none;pointer-events:none}.m_bc02ba3d:before{content:"";position:absolute;right:0;top:0;height:min(var(--thumb-size),calc(var(--slider-size) / 2));width:calc(.1875rem * var(--mantine-scale))}:where([data-mantine-color-scheme=light]) .m_bc02ba3d:before{background-color:var(--mantine-color-gray-7)}:where([data-mantine-color-scheme=dark]) .m_bc02ba3d:before{background-color:var(--mantine-color-dark-1)}.m_bb8e875b{font-size:var(--mantine-font-size-xs)}.m_89ab340[data-resizing]{--app-shell-transition-duration: 0ms !important}.m_89ab340[data-disabled]{--app-shell-header-offset: 0rem !important;--app-shell-navbar-offset: 0rem !important;--app-shell-aside-offset: 0rem !important;--app-shell-footer-offset: 0rem !important}[data-mantine-color-scheme=light] .m_89ab340{--app-shell-border-color: var(--mantine-color-gray-3)}[data-mantine-color-scheme=dark] .m_89ab340{--app-shell-border-color: var(--mantine-color-dark-4)}.m_45252eee,.m_9cdde9a,.m_3b16f56b,.m_8983817,.m_3840c879{transition-duration:var(--app-shell-transition-duration);transition-timing-function:var(--app-shell-transition-timing-function)}.m_45252eee,.m_9cdde9a{position:fixed;display:flex;flex-direction:column;top:var(--app-shell-header-offset, 0rem);height:calc(100dvh - var(--app-shell-header-offset, 0rem) - var(--app-shell-footer-offset, 0rem));background-color:var(--mantine-color-body);transition-property:transform,top,height}:where([data-layout=alt]) .m_45252eee,:where([data-layout=alt]) .m_9cdde9a{top:0rem;height:100dvh}.m_45252eee{inset-inline-start:0;width:var(--app-shell-navbar-width);transition-property:transform,top,height;transform:var(--app-shell-navbar-transform);z-index:var(--app-shell-navbar-z-index)}:where([dir=rtl]) .m_45252eee{transform:var(--app-shell-navbar-transform-rtl)}.m_45252eee:where([data-with-border]){border-inline-end:1px solid var(--app-shell-border-color)}.m_9cdde9a{inset-inline-end:0;width:var(--app-shell-aside-width);transform:var(--app-shell-aside-transform);z-index:var(--app-shell-aside-z-index)}:where([dir=rtl]) .m_9cdde9a{transform:var(--app-shell-aside-transform-rtl)}.m_9cdde9a:where([data-with-border]){border-inline-start:1px solid var(--app-shell-border-color)}.m_8983817{padding-inline-start:calc(var(--app-shell-navbar-offset, 0rem) + var(--app-shell-padding));padding-inline-end:calc(var(--app-shell-aside-offset, 0rem) + var(--app-shell-padding));padding-top:calc(var(--app-shell-header-offset, 0rem) + var(--app-shell-padding));padding-bottom:calc(var(--app-shell-footer-offset, 0rem) + var(--app-shell-padding));min-height:100dvh;transition-property:padding}.m_3b16f56b,.m_3840c879{position:fixed;inset-inline:0;transition-property:transform,left,right;background-color:var(--mantine-color-body)}:where([data-layout=alt]) .m_3b16f56b,:where([data-layout=alt]) .m_3840c879{inset-inline-start:var(--app-shell-navbar-offset, 0rem);inset-inline-end:var(--app-shell-aside-offset, 0rem)}.m_3b16f56b{top:0;height:var(--app-shell-header-height);background-color:var(--mantine-color-body);transform:var(--app-shell-header-transform);z-index:var(--app-shell-header-z-index)}.m_3b16f56b:where([data-with-border]){border-bottom:1px solid var(--app-shell-border-color)}.m_3840c879{bottom:0;height:calc(var(--app-shell-footer-height) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);transform:var(--app-shell-footer-transform);z-index:var(--app-shell-footer-z-index)}.m_3840c879:where([data-with-border]){border-top:1px solid var(--app-shell-border-color)}.m_6dcfc7c7{flex-grow:0}.m_6dcfc7c7:where([data-grow]){flex-grow:1}.m_71ac47fc{--ar-ratio: 1;max-width:100%}.m_71ac47fc>:where(*:not(style)){aspect-ratio:var(--ar-ratio);width:100%}.m_71ac47fc>:where(img,video){object-fit:cover}.m_88b62a41{--combobox-padding: calc(.25rem * var(--mantine-scale));padding:var(--combobox-padding)}.m_88b62a41:has([data-mantine-scrollbar]) .m_985517d8{max-width:calc(100% + var(--combobox-padding))}.m_88b62a41[data-composed]{padding-inline-end:0}.m_88b62a41[data-hidden]{display:none}.m_88b62a41,.m_b2821a6e{--combobox-option-padding-xs: calc(.25rem * var(--mantine-scale)) calc(.5rem * var(--mantine-scale));--combobox-option-padding-sm: calc(.375rem * var(--mantine-scale)) calc(.625rem * var(--mantine-scale));--combobox-option-padding-md: calc(.5rem * var(--mantine-scale)) calc(.75rem * var(--mantine-scale));--combobox-option-padding-lg: calc(.625rem * var(--mantine-scale)) calc(1rem * var(--mantine-scale));--combobox-option-padding-xl: calc(.875rem * var(--mantine-scale)) calc(1.25rem * var(--mantine-scale));--combobox-option-padding: var(--combobox-option-padding-sm)}.m_92253aa5{padding:var(--combobox-option-padding);font-size:var(--combobox-option-fz, var(--mantine-font-size-sm));border-radius:var(--mantine-radius-default);background-color:transparent;color:inherit;cursor:pointer;overflow-wrap:break-word}.m_92253aa5:where([data-combobox-selected]){background-color:var(--mantine-primary-color-filled);color:var(--mantine-color-white)}.m_92253aa5:where([data-combobox-disabled]){cursor:not-allowed;opacity:.35}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_92253aa5:hover:where(:not([data-combobox-selected],[data-combobox-disabled])){background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_92253aa5:hover:where(:not([data-combobox-selected],[data-combobox-disabled])){background-color:var(--mantine-color-dark-7)}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_92253aa5:active:where(:not([data-combobox-selected],[data-combobox-disabled])){background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_92253aa5:active:where(:not([data-combobox-selected],[data-combobox-disabled])){background-color:var(--mantine-color-dark-7)}}.m_985517d8{margin-inline:calc(var(--combobox-padding) * -1);margin-top:calc(var(--combobox-padding) * -1);width:calc(100% + var(--combobox-padding) * 2);border-top-width:0;border-inline-width:0;border-end-start-radius:0;border-end-end-radius:0;margin-bottom:var(--combobox-padding);position:relative}:where([data-mantine-color-scheme=light]) .m_985517d8,:where([data-mantine-color-scheme=light]) .m_985517d8:focus{border-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_985517d8,:where([data-mantine-color-scheme=dark]) .m_985517d8:focus{border-color:var(--mantine-color-dark-4)}:where([data-mantine-color-scheme=light]) .m_985517d8{background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_985517d8{background-color:var(--mantine-color-dark-7)}.m_2530cd1d{font-size:var(--combobox-option-fz, var(--mantine-font-size-sm));text-align:center;padding:var(--combobox-option-padding);color:var(--mantine-color-dimmed)}.m_858f94bd,.m_82b967cb{font-size:var(--combobox-option-fz, var(--mantine-font-size-sm));border:0 solid transparent;margin-inline:calc(var(--combobox-padding) * -1);padding:var(--combobox-option-padding)}:where([data-mantine-color-scheme=light]) .m_858f94bd,:where([data-mantine-color-scheme=light]) .m_82b967cb{border-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_858f94bd,:where([data-mantine-color-scheme=dark]) .m_82b967cb{border-color:var(--mantine-color-dark-4)}.m_82b967cb{border-top-width:calc(.0625rem * var(--mantine-scale));margin-top:var(--combobox-padding);margin-bottom:calc(var(--combobox-padding) * -1)}.m_858f94bd{border-bottom-width:calc(.0625rem * var(--mantine-scale));margin-bottom:var(--combobox-padding);margin-top:calc(var(--combobox-padding) * -1)}.m_254f3e4f:has(.m_2bb2e9e5:only-child){display:none}.m_2bb2e9e5{color:var(--mantine-color-dimmed);font-size:calc(var(--combobox-option-fz, var(--mantine-font-size-sm)) * .85);padding:var(--combobox-option-padding);font-weight:500;position:relative;display:flex;align-items:center}.m_2bb2e9e5:after{content:"";flex:1;inset-inline:0;height:calc(.0625rem * var(--mantine-scale));margin-inline-start:var(--mantine-spacing-xs)}:where([data-mantine-color-scheme=light]) .m_2bb2e9e5:after{background-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_2bb2e9e5:after{background-color:var(--mantine-color-dark-4)}.m_2bb2e9e5:only-child{display:none}.m_2943220b{--combobox-chevron-size-xs: calc(.875rem * var(--mantine-scale));--combobox-chevron-size-sm: calc(1.125rem * var(--mantine-scale));--combobox-chevron-size-md: calc(1.25rem * var(--mantine-scale));--combobox-chevron-size-lg: calc(1.5rem * var(--mantine-scale));--combobox-chevron-size-xl: calc(1.75rem * var(--mantine-scale));--combobox-chevron-size: var(--combobox-chevron-size-sm)}:where([data-mantine-color-scheme=light]) .m_2943220b{--_combobox-chevron-color: var(--combobox-chevron-color, var(--mantine-color-gray-6))}:where([data-mantine-color-scheme=dark]) .m_2943220b{--_combobox-chevron-color: var(--combobox-chevron-color, var(--mantine-color-dark-3))}.m_2943220b{width:var(--combobox-chevron-size);height:var(--combobox-chevron-size);color:var(--_combobox-chevron-color)}.m_2943220b:where([data-error]){color:var(--combobox-chevron-color, var(--mantine-color-error))}.m_390b5f4{display:flex;align-items:center;gap:calc(.5rem * var(--mantine-scale))}.m_390b5f4:where([data-reverse]){justify-content:space-between}.m_8ee53fc2{opacity:.4;width:.8em;min-width:.8em;height:.8em}:where([data-combobox-selected]) .m_8ee53fc2{opacity:1}.m_5f75b09e{--label-lh-xs: calc(1rem * var(--mantine-scale));--label-lh-sm: calc(1.25rem * var(--mantine-scale));--label-lh-md: calc(1.5rem * var(--mantine-scale));--label-lh-lg: calc(1.875rem * var(--mantine-scale));--label-lh-xl: calc(2.25rem * var(--mantine-scale));--label-lh: var(--label-lh-sm)}.m_5f75b09e[data-label-position=left]{--label-order: 1;--label-offset-end: var(--mantine-spacing-sm);--label-offset-start: 0}.m_5f75b09e[data-label-position=right]{--label-order: 2;--label-offset-end: 0;--label-offset-start: var(--mantine-spacing-sm)}.m_5f6e695e{-webkit-tap-highlight-color:transparent;display:flex}.m_d3ea56bb{--label-cursor: var(--mantine-cursor-type);-webkit-tap-highlight-color:transparent;display:inline-flex;flex-direction:column;font-size:var(--label-fz, var(--mantine-font-size-sm));line-height:var(--label-lh);cursor:var(--label-cursor);order:var(--label-order)}fieldset:disabled .m_d3ea56bb,.m_d3ea56bb[data-disabled]{--label-cursor: not-allowed}.m_8ee546b8{cursor:var(--label-cursor);color:inherit;padding-inline-start:var(--label-offset-start);padding-inline-end:var(--label-offset-end)}fieldset:disabled .m_8ee546b8,.m_8ee546b8:where([data-disabled]){color:var(--mantine-color-disabled-color)}.m_328f68c0,.m_8e8a99cc{margin-top:calc(var(--mantine-spacing-xs) / 2);padding-inline-start:var(--label-offset-start);padding-inline-end:var(--label-offset-end)}.m_26775b0a{--card-radius: var(--mantine-radius-default);display:block;width:100%;border-radius:var(--card-radius);cursor:pointer}.m_26775b0a :where(*){cursor:inherit}.m_26775b0a:where([data-with-border]){border:calc(.0625rem * var(--mantine-scale)) solid transparent}:where([data-mantine-color-scheme=light]) .m_26775b0a:where([data-with-border]){border-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_26775b0a:where([data-with-border]){border-color:var(--mantine-color-dark-4)}.m_5e5256ee{--checkbox-size-xs: calc(1rem * var(--mantine-scale));--checkbox-size-sm: calc(1.25rem * var(--mantine-scale));--checkbox-size-md: calc(1.5rem * var(--mantine-scale));--checkbox-size-lg: calc(1.875rem * var(--mantine-scale));--checkbox-size-xl: calc(2.25rem * var(--mantine-scale));--checkbox-size: var(--checkbox-size-sm);--checkbox-color: var(--mantine-primary-color-filled);--checkbox-icon-color: var(--mantine-color-white);position:relative;border:calc(.0625rem * var(--mantine-scale)) solid transparent;width:var(--checkbox-size);min-width:var(--checkbox-size);height:var(--checkbox-size);min-height:var(--checkbox-size);border-radius:var(--checkbox-radius, var(--mantine-radius-default));transition:border-color .1s ease,background-color .1s ease;cursor:var(--mantine-cursor-type);-webkit-tap-highlight-color:transparent;display:flex;align-items:center;justify-content:center}:where([data-mantine-color-scheme=light]) .m_5e5256ee{background-color:var(--mantine-color-white);border-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_5e5256ee{background-color:var(--mantine-color-dark-6);border-color:var(--mantine-color-dark-4)}.m_5e5256ee[data-indeterminate],.m_5e5256ee[data-checked]{background-color:var(--checkbox-color);border-color:var(--checkbox-color)}.m_5e5256ee[data-indeterminate]>.m_1b1c543a,.m_5e5256ee[data-checked]>.m_1b1c543a{opacity:1;transform:none;color:var(--checkbox-icon-color)}.m_5e5256ee[data-disabled]{cursor:not-allowed;border-color:var(--mantine-color-disabled-border);background-color:var(--mantine-color-disabled)}[data-mantine-color-scheme=light] .m_5e5256ee[data-disabled][data-checked]>.m_1b1c543a{color:var(--mantine-color-gray-5)}[data-mantine-color-scheme=dark] .m_5e5256ee[data-disabled][data-checked]>.m_1b1c543a{color:var(--mantine-color-dark-3)}.m_76e20374[data-indeterminate]:not([data-disabled]),.m_76e20374[data-checked]:not([data-disabled]){background-color:transparent;border-color:var(--checkbox-color)}.m_76e20374[data-indeterminate]:not([data-disabled])>.m_1b1c543a,.m_76e20374[data-checked]:not([data-disabled])>.m_1b1c543a{color:var(--checkbox-color);opacity:1;transform:none}.m_1b1c543a{display:block;width:60%;color:transparent;pointer-events:none;transform:translateY(calc(.3125rem * var(--mantine-scale))) scale(.5);opacity:1;transition:transform .1s ease,opacity .1s ease}.m_bf2d988c{--checkbox-size-xs: calc(1rem * var(--mantine-scale));--checkbox-size-sm: calc(1.25rem * var(--mantine-scale));--checkbox-size-md: calc(1.5rem * var(--mantine-scale));--checkbox-size-lg: calc(1.875rem * var(--mantine-scale));--checkbox-size-xl: calc(2.25rem * var(--mantine-scale));--checkbox-size: var(--checkbox-size-sm);--checkbox-color: var(--mantine-primary-color-filled);--checkbox-icon-color: var(--mantine-color-white)}.m_26062bec{position:relative;width:var(--checkbox-size);height:var(--checkbox-size);order:1}.m_26062bec:where([data-label-position=left]){order:2}.m_26063560{appearance:none;border:calc(.0625rem * var(--mantine-scale)) solid transparent;width:var(--checkbox-size);height:var(--checkbox-size);border-radius:var(--checkbox-radius, var(--mantine-radius-default));padding:0;display:block;margin:0;transition:border-color .1s ease,background-color .1s ease;cursor:var(--mantine-cursor-type);-webkit-tap-highlight-color:transparent}:where([data-mantine-color-scheme=light]) .m_26063560{background-color:var(--mantine-color-white);border-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_26063560{background-color:var(--mantine-color-dark-6);border-color:var(--mantine-color-dark-4)}.m_26063560:where([data-error]){border-color:var(--mantine-color-error)}.m_26063560[data-indeterminate],.m_26063560:checked{background-color:var(--checkbox-color);border-color:var(--checkbox-color)}.m_26063560[data-indeterminate]+.m_bf295423,.m_26063560:checked+.m_bf295423{opacity:1;transform:none}.m_26063560:disabled{cursor:not-allowed;border-color:var(--mantine-color-disabled-border);background-color:var(--mantine-color-disabled)}.m_26063560:disabled+.m_bf295423{color:var(--mantine-color-disabled-color)}.m_215c4542+.m_bf295423{color:var(--checkbox-color)}.m_215c4542[data-indeterminate]:not(:disabled),.m_215c4542:checked:not(:disabled){background-color:transparent;border-color:var(--checkbox-color)}.m_215c4542[data-indeterminate]:not(:disabled)+.m_bf295423,.m_215c4542:checked:not(:disabled)+.m_bf295423{color:var(--checkbox-color);opacity:1;transform:none}.m_bf295423{position:absolute;inset:0;width:60%;margin:auto;color:var(--checkbox-icon-color);pointer-events:none;transform:translateY(calc(.3125rem * var(--mantine-scale))) scale(.5);opacity:0;transition:transform .1s ease,opacity .1s ease}.m_11def92b{--ag-spacing: var(--mantine-spacing-sm);--ag-offset: calc(var(--ag-spacing) * -1);display:flex;padding-inline-start:var(--ag-spacing)}.m_f85678b6{--avatar-size-xs: calc(1rem * var(--mantine-scale));--avatar-size-sm: calc(1.625rem * var(--mantine-scale));--avatar-size-md: calc(2.375rem * var(--mantine-scale));--avatar-size-lg: calc(3.5rem * var(--mantine-scale));--avatar-size-xl: calc(5.25rem * var(--mantine-scale));--avatar-size: var(--avatar-size-md);--avatar-radius: calc(62.5rem * var(--mantine-scale));--avatar-bg: var(--mantine-color-gray-light);--avatar-bd: calc(.0625rem * var(--mantine-scale)) solid transparent;--avatar-color: var(--mantine-color-gray-light-color);--avatar-placeholder-fz: calc(var(--avatar-size) / 2.5);-webkit-tap-highlight-color:transparent;position:relative;display:block;user-select:none;overflow:hidden;border-radius:var(--avatar-radius);text-decoration:none;padding:0;width:var(--avatar-size);height:var(--avatar-size);min-width:var(--avatar-size)}.m_f85678b6:where([data-within-group]){margin-inline-start:var(--ag-offset);border:2px solid var(--mantine-color-body);background:var(--mantine-color-body)}.m_11f8ac07{object-fit:cover;width:100%;height:100%;display:block}.m_104cd71f{font-weight:700;display:flex;align-items:center;justify-content:center;width:100%;height:100%;user-select:none;border-radius:var(--avatar-radius);font-size:var(--avatar-placeholder-fz);background:var(--avatar-bg);border:var(--avatar-bd);color:var(--avatar-color)}.m_104cd71f>[data-avatar-placeholder-icon]{width:70%;height:70%}.m_2ce0de02{background-size:cover;background-position:center;display:block;width:100%;border:0;text-decoration:none;border-radius:var(--bi-radius, 0)}.m_347db0ec{--badge-height-xs: calc(1rem * var(--mantine-scale));--badge-height-sm: calc(1.125rem * var(--mantine-scale));--badge-height-md: calc(1.25rem * var(--mantine-scale));--badge-height-lg: calc(1.625rem * var(--mantine-scale));--badge-height-xl: calc(2rem * var(--mantine-scale));--badge-fz-xs: calc(.5625rem * var(--mantine-scale));--badge-fz-sm: calc(.625rem * var(--mantine-scale));--badge-fz-md: calc(.6875rem * var(--mantine-scale));--badge-fz-lg: calc(.8125rem * var(--mantine-scale));--badge-fz-xl: calc(1rem * var(--mantine-scale));--badge-padding-x-xs: calc(.375rem * var(--mantine-scale));--badge-padding-x-sm: calc(.5rem * var(--mantine-scale));--badge-padding-x-md: calc(.625rem * var(--mantine-scale));--badge-padding-x-lg: calc(.75rem * var(--mantine-scale));--badge-padding-x-xl: calc(1rem * var(--mantine-scale));--badge-height: var(--badge-height-md);--badge-fz: var(--badge-fz-md);--badge-padding-x: var(--badge-padding-x-md);--badge-radius: calc(62.5rem * var(--mantine-scale));--badge-lh: calc(var(--badge-height) - calc(.125rem * var(--mantine-scale)));--badge-color: var(--mantine-color-white);--badge-bg: var(--mantine-primary-color-filled);--badge-border-width: calc(.0625rem * var(--mantine-scale));--badge-bd: var(--badge-border-width) solid transparent;-webkit-tap-highlight-color:transparent;font-size:var(--badge-fz);border-radius:var(--badge-radius);height:var(--badge-height);line-height:var(--badge-lh);text-decoration:none;padding:0 var(--badge-padding-x);display:inline-grid;align-items:center;justify-content:center;width:fit-content;text-transform:uppercase;font-weight:700;letter-spacing:calc(.015625rem * var(--mantine-scale));cursor:default;text-overflow:ellipsis;overflow:hidden;color:var(--badge-color);background:var(--badge-bg);border:var(--badge-bd)}.m_347db0ec:where([data-with-left-section],[data-variant=dot]){grid-template-columns:auto 1fr}.m_347db0ec:where([data-with-right-section]){grid-template-columns:1fr auto}.m_347db0ec:where([data-with-left-section][data-with-right-section],[data-variant=dot][data-with-right-section]){grid-template-columns:auto 1fr auto}.m_347db0ec:where([data-block]){display:flex;width:100%}.m_347db0ec:where([data-circle]){padding-inline:calc(.125rem * var(--mantine-scale));display:flex;width:var(--badge-height)}.m_fbd81e3d{--badge-dot-size: calc(var(--badge-height) / 3.4)}:where([data-mantine-color-scheme=light]) .m_fbd81e3d{background-color:var(--mantine-color-white);border-color:var(--mantine-color-gray-4);color:var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_fbd81e3d{background-color:var(--mantine-color-dark-5);border-color:var(--mantine-color-dark-5);color:var(--mantine-color-white)}.m_fbd81e3d:before{content:"";display:block;width:var(--badge-dot-size);height:var(--badge-dot-size);border-radius:var(--badge-dot-size);background-color:var(--badge-dot-color);margin-inline-end:var(--badge-dot-size)}.m_5add502a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;cursor:inherit}.m_91fdda9b{--badge-section-margin: calc(var(--mantine-spacing-xs) / 2);display:inline-flex;justify-content:center;align-items:center;max-height:calc(var(--badge-height) - var(--badge-border-width) * 2)}.m_91fdda9b:where([data-position=left]){margin-inline-end:var(--badge-section-margin)}.m_91fdda9b:where([data-position=right]){margin-inline-start:var(--badge-section-margin)}.m_ddec01c0{--blockquote-border: 3px solid var(--bq-bd);position:relative;margin:0;border-inline-start:var(--blockquote-border);border-start-end-radius:var(--bq-radius);border-end-end-radius:var(--bq-radius);padding:var(--mantine-spacing-xl) calc(2.375rem * var(--mantine-scale))}:where([data-mantine-color-scheme=light]) .m_ddec01c0{background-color:var(--bq-bg-light)}:where([data-mantine-color-scheme=dark]) .m_ddec01c0{background-color:var(--bq-bg-dark)}.m_dde7bd57{--blockquote-icon-offset: calc(var(--bq-icon-size) / -2);position:absolute;color:var(--bq-bd);background-color:var(--mantine-color-body);display:flex;align-items:center;justify-content:center;top:var(--blockquote-icon-offset);inset-inline-start:var(--blockquote-icon-offset);width:var(--bq-icon-size);height:var(--bq-icon-size);border-radius:var(--bq-icon-size)}.m_dde51a35{display:block;margin-top:var(--mantine-spacing-md);opacity:.6;font-size:85%}.m_8b3717df{display:flex;align-items:center;flex-wrap:wrap}.m_f678d540{line-height:1;white-space:nowrap;-webkit-tap-highlight-color:transparent}.m_3b8f2208{margin-inline:var(--bc-separator-margin, var(--mantine-spacing-xs));line-height:1;display:flex;align-items:center;justify-content:center}:where([data-mantine-color-scheme=light]) .m_3b8f2208{color:var(--mantine-color-gray-7)}:where([data-mantine-color-scheme=dark]) .m_3b8f2208{color:var(--mantine-color-dark-2)}.m_fea6bf1a{--burger-size-xs: calc(.75rem * var(--mantine-scale));--burger-size-sm: calc(1.125rem * var(--mantine-scale));--burger-size-md: calc(1.5rem * var(--mantine-scale));--burger-size-lg: calc(2.125rem * var(--mantine-scale));--burger-size-xl: calc(2.625rem * var(--mantine-scale));--burger-size: var(--burger-size-md);--burger-line-size: calc(var(--burger-size) / 12);width:calc(var(--burger-size) + var(--mantine-spacing-xs));height:calc(var(--burger-size) + var(--mantine-spacing-xs));padding:calc(var(--mantine-spacing-xs) / 2);cursor:pointer}:where([data-mantine-color-scheme=light]) .m_fea6bf1a{--burger-color: var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_fea6bf1a{--burger-color: var(--mantine-color-white)}.m_d4fb9cad{position:relative;user-select:none}.m_d4fb9cad,.m_d4fb9cad:before,.m_d4fb9cad:after{display:block;width:var(--burger-size);height:var(--burger-line-size);background-color:var(--burger-color);outline:calc(.0625rem * var(--mantine-scale)) solid transparent;transition-property:background-color,transform;transition-duration:var(--burger-transition-duration, .3s);transition-timing-function:var(--burger-transition-timing-function, ease)}.m_d4fb9cad:before,.m_d4fb9cad:after{position:absolute;content:"";inset-inline-start:0}.m_d4fb9cad:before{top:calc(var(--burger-size) / -3)}.m_d4fb9cad:after{top:calc(var(--burger-size) / 3)}.m_d4fb9cad[data-opened]{background-color:transparent}.m_d4fb9cad[data-opened]:before{transform:translateY(calc(var(--burger-size) / 3)) rotate(45deg)}.m_d4fb9cad[data-opened]:after{transform:translateY(calc(var(--burger-size) / -3)) rotate(-45deg)}.m_77c9d27d{--button-height-xs: calc(1.875rem * var(--mantine-scale));--button-height-sm: calc(2.25rem * var(--mantine-scale));--button-height-md: calc(2.625rem * var(--mantine-scale));--button-height-lg: calc(3.125rem * var(--mantine-scale));--button-height-xl: calc(3.75rem * var(--mantine-scale));--button-height-compact-xs: calc(1.375rem * var(--mantine-scale));--button-height-compact-sm: calc(1.625rem * var(--mantine-scale));--button-height-compact-md: calc(1.875rem * var(--mantine-scale));--button-height-compact-lg: calc(2.125rem * var(--mantine-scale));--button-height-compact-xl: calc(2.5rem * var(--mantine-scale));--button-padding-x-xs: calc(.875rem * var(--mantine-scale));--button-padding-x-sm: calc(1.125rem * var(--mantine-scale));--button-padding-x-md: calc(1.375rem * var(--mantine-scale));--button-padding-x-lg: calc(1.625rem * var(--mantine-scale));--button-padding-x-xl: calc(2rem * var(--mantine-scale));--button-padding-x-compact-xs: calc(.4375rem * var(--mantine-scale));--button-padding-x-compact-sm: calc(.5rem * var(--mantine-scale));--button-padding-x-compact-md: calc(.625rem * var(--mantine-scale));--button-padding-x-compact-lg: calc(.75rem * var(--mantine-scale));--button-padding-x-compact-xl: calc(.875rem * var(--mantine-scale));--button-height: var(--button-height-sm);--button-padding-x: var(--button-padding-x-sm);--button-color: var(--mantine-color-white);user-select:none;font-weight:600;position:relative;line-height:1;text-align:center;overflow:hidden;width:auto;cursor:pointer;display:inline-block;border-radius:var(--button-radius, var(--mantine-radius-default));font-size:var(--button-fz, var(--mantine-font-size-sm));background:var(--button-bg, var(--mantine-primary-color-filled));border:var(--button-bd, calc(.0625rem * var(--mantine-scale)) solid transparent);color:var(--button-color, var(--mantine-color-white));height:var(--button-height, var(--button-height-sm));padding-inline:var(--button-padding-x, var(--button-padding-x-sm));vertical-align:middle}.m_77c9d27d:where([data-block]){display:block;width:100%}.m_77c9d27d:where([data-with-left-section]){padding-inline-start:calc(var(--button-padding-x) / 1.5)}.m_77c9d27d:where([data-with-right-section]){padding-inline-end:calc(var(--button-padding-x) / 1.5)}.m_77c9d27d:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])){cursor:not-allowed;border:calc(.0625rem * var(--mantine-scale)) solid transparent;transform:none;color:var(--mantine-color-disabled-color);background:var(--mantine-color-disabled)}.m_77c9d27d:before{content:"";pointer-events:none;position:absolute;inset:calc(-.0625rem * var(--mantine-scale));border-radius:var(--button-radius, var(--mantine-radius-default));transform:translateY(-100%);opacity:0;filter:blur(12px);transition:transform .15s ease,opacity .1s ease}:where([data-mantine-color-scheme=light]) .m_77c9d27d:before{background-color:#ffffff26}:where([data-mantine-color-scheme=dark]) .m_77c9d27d:before{background-color:#00000026}.m_77c9d27d:where([data-loading]){cursor:not-allowed;transform:none}.m_77c9d27d:where([data-loading]):before{transform:translateY(0);opacity:1}.m_77c9d27d:where([data-loading]) .m_80f1301b{opacity:0;transform:translateY(100%)}@media (hover: hover){.m_77c9d27d:hover:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--button-hover, var(--mantine-primary-color-filled-hover));color:var(--button-hover-color, var(--button-color))}}@media (hover: none){.m_77c9d27d:active:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--button-hover, var(--mantine-primary-color-filled-hover));color:var(--button-hover-color, var(--button-color))}}.m_80f1301b{display:flex;align-items:center;justify-content:var(--button-justify, center);height:100%;overflow:visible;transition:transform .15s ease,opacity .1s ease}.m_811560b9{white-space:nowrap;height:100%;overflow:hidden;display:flex;align-items:center;opacity:1}.m_811560b9:where([data-loading]){opacity:.2}.m_a74036a{display:flex;align-items:center}.m_a74036a:where([data-position=left]){margin-inline-end:var(--mantine-spacing-xs)}.m_a74036a:where([data-position=right]){margin-inline-start:var(--mantine-spacing-xs)}.m_a25b86ee{position:absolute;left:50%;top:50%}.m_80d6d844{--button-border-width: calc(.0625rem * var(--mantine-scale));display:flex}.m_80d6d844 :where(.m_77c9d27d):focus{position:relative;z-index:1}.m_80d6d844[data-orientation=horizontal]{flex-direction:row}.m_80d6d844[data-orientation=horizontal] .m_77c9d27d:not(:only-child):first-child,.m_80d6d844[data-orientation=horizontal] .m_70be2a01:not(:only-child):first-child{border-end-end-radius:0;border-start-end-radius:0;border-inline-end-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=horizontal] .m_77c9d27d:not(:only-child):last-child,.m_80d6d844[data-orientation=horizontal] .m_70be2a01:not(:only-child):last-child{border-end-start-radius:0;border-start-start-radius:0;border-inline-start-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=horizontal] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child),.m_80d6d844[data-orientation=horizontal] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child){border-radius:0;border-inline-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=vertical]{flex-direction:column}.m_80d6d844[data-orientation=vertical] .m_77c9d27d:not(:only-child):first-child,.m_80d6d844[data-orientation=vertical] .m_70be2a01:not(:only-child):first-child{border-end-start-radius:0;border-end-end-radius:0;border-bottom-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=vertical] .m_77c9d27d:not(:only-child):last-child,.m_80d6d844[data-orientation=vertical] .m_70be2a01:not(:only-child):last-child{border-start-start-radius:0;border-start-end-radius:0;border-top-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=vertical] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child),.m_80d6d844[data-orientation=vertical] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child){border-radius:0;border-bottom-width:calc(var(--button-border-width) / 2);border-top-width:calc(var(--button-border-width) / 2)}.m_70be2a01{--section-height-xs: calc(1.875rem * var(--mantine-scale));--section-height-sm: calc(2.25rem * var(--mantine-scale));--section-height-md: calc(2.625rem * var(--mantine-scale));--section-height-lg: calc(3.125rem * var(--mantine-scale));--section-height-xl: calc(3.75rem * var(--mantine-scale));--section-height-compact-xs: calc(1.375rem * var(--mantine-scale));--section-height-compact-sm: calc(1.625rem * var(--mantine-scale));--section-height-compact-md: calc(1.875rem * var(--mantine-scale));--section-height-compact-lg: calc(2.125rem * var(--mantine-scale));--section-height-compact-xl: calc(2.5rem * var(--mantine-scale));--section-padding-x-xs: calc(.875rem * var(--mantine-scale));--section-padding-x-sm: calc(1.125rem * var(--mantine-scale));--section-padding-x-md: calc(1.375rem * var(--mantine-scale));--section-padding-x-lg: calc(1.625rem * var(--mantine-scale));--section-padding-x-xl: calc(2rem * var(--mantine-scale));--section-padding-x-compact-xs: calc(.4375rem * var(--mantine-scale));--section-padding-x-compact-sm: calc(.5rem * var(--mantine-scale));--section-padding-x-compact-md: calc(.625rem * var(--mantine-scale));--section-padding-x-compact-lg: calc(.75rem * var(--mantine-scale));--section-padding-x-compact-xl: calc(.875rem * var(--mantine-scale));--section-height: var(--section-height-sm);--section-padding-x: var(--section-padding-x-sm);--section-color: var(--mantine-color-white);font-weight:600;width:auto;border-radius:var(--section-radius, var(--mantine-radius-default));font-size:var(--section-fz, var(--mantine-font-size-sm));background:var(--section-bg, var(--mantine-primary-color-filled));border:var(--section-bd, calc(.0625rem * var(--mantine-scale)) solid transparent);color:var(--section-color, var(--mantine-color-white));height:var(--section-height, var(--section-height-sm));padding-inline:var(--section-padding-x, var(--section-padding-x-sm));vertical-align:middle;line-height:1;display:inline-flex;align-items:center;justify-content:center}.m_e615b15f{--card-padding: var(--mantine-spacing-md);position:relative;overflow:hidden;display:flex;flex-direction:column;padding:var(--card-padding);color:var(--mantine-color-text)}:where([data-mantine-color-scheme=light]) .m_e615b15f{background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_e615b15f{background-color:var(--mantine-color-dark-6)}.m_599a2148{display:block;margin-inline:calc(var(--card-padding) * -1)}.m_599a2148:where(:first-child){margin-top:calc(var(--card-padding) * -1);border-top:none!important}.m_599a2148:where(:last-child){margin-bottom:calc(var(--card-padding) * -1);border-bottom:none!important}.m_599a2148:where([data-inherit-padding]){padding-inline:var(--card-padding)}.m_599a2148:where([data-with-border]){border-top:calc(.0625rem * var(--mantine-scale)) solid;border-bottom:calc(.0625rem * var(--mantine-scale)) solid}:where([data-mantine-color-scheme=light]) .m_599a2148{border-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_599a2148{border-color:var(--mantine-color-dark-4)}.m_599a2148+.m_599a2148{border-top:none!important}.m_4451eb3a{display:flex;align-items:center;justify-content:center}.m_4451eb3a:where([data-inline]){display:inline-flex}.m_f59ffda3{--chip-size-xs: calc(1.4375rem * var(--mantine-scale));--chip-size-sm: calc(1.75rem * var(--mantine-scale));--chip-size-md: calc(2rem * var(--mantine-scale));--chip-size-lg: calc(2.25rem * var(--mantine-scale));--chip-size-xl: calc(2.5rem * var(--mantine-scale));--chip-icon-size-xs: calc(.625rem * var(--mantine-scale));--chip-icon-size-sm: calc(.75rem * var(--mantine-scale));--chip-icon-size-md: calc(.875rem * var(--mantine-scale));--chip-icon-size-lg: calc(1rem * var(--mantine-scale));--chip-icon-size-xl: calc(1.125rem * var(--mantine-scale));--chip-padding-xs: calc(1rem * var(--mantine-scale));--chip-padding-sm: calc(1.25rem * var(--mantine-scale));--chip-padding-md: calc(1.5rem * var(--mantine-scale));--chip-padding-lg: calc(1.75rem * var(--mantine-scale));--chip-padding-xl: calc(2rem * var(--mantine-scale));--chip-checked-padding-xs: calc(.46875rem * var(--mantine-scale));--chip-checked-padding-sm: calc(.625rem * var(--mantine-scale));--chip-checked-padding-md: calc(.73125rem * var(--mantine-scale));--chip-checked-padding-lg: calc(.84375rem * var(--mantine-scale));--chip-checked-padding-xl: calc(.98125rem * var(--mantine-scale));--chip-spacing-xs: calc(.625rem * var(--mantine-scale));--chip-spacing-sm: calc(.75rem * var(--mantine-scale));--chip-spacing-md: calc(1rem * var(--mantine-scale));--chip-spacing-lg: calc(1.25rem * var(--mantine-scale));--chip-spacing-xl: calc(1.375rem * var(--mantine-scale));--chip-size: var(--chip-size-sm);--chip-icon-size: var(--chip-icon-size-sm);--chip-padding: var(--chip-padding-sm);--chip-spacing: var(--chip-spacing-sm);--chip-checked-padding: var(--chip-checked-padding-sm);--chip-bg: var(--mantine-primary-color-filled);--chip-hover: var(--mantine-primary-color-filled-hover);--chip-color: var(--mantine-color-white);--chip-bd: calc(.0625rem * var(--mantine-scale)) solid transparent}.m_be049a53{display:inline-flex;align-items:center;user-select:none;border-radius:var(--chip-radius, 1000rem);height:var(--chip-size);font-size:var(--chip-fz, var(--mantine-font-size-sm));line-height:calc(var(--chip-size) - calc(.125rem * var(--mantine-scale)));padding-inline:var(--chip-padding);cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent;border:calc(.0625rem * var(--mantine-scale)) solid transparent;color:var(--mantine-color-text)}.m_be049a53:where([data-checked]){padding:var(--chip-checked-padding)}.m_be049a53:where([data-disabled]){cursor:not-allowed;background-color:var(--mantine-color-disabled);color:var(--mantine-color-disabled-color)}:where([data-mantine-color-scheme=light]) .m_3904c1af:not([data-disabled]){background-color:var(--mantine-color-white);border:1px solid var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_3904c1af:not([data-disabled]){background-color:var(--mantine-color-dark-6);border:1px solid var(--mantine-color-dark-4)}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_3904c1af:not([data-disabled]):hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_3904c1af:not([data-disabled]):hover{background-color:var(--mantine-color-dark-5)}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_3904c1af:not([data-disabled]):active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_3904c1af:not([data-disabled]):active{background-color:var(--mantine-color-dark-5)}}.m_3904c1af:not([data-disabled]):where([data-checked]){--chip-icon-color: var(--chip-color);border:var(--chip-bd)}@media (hover: hover){.m_3904c1af:not([data-disabled]):where([data-checked]):hover{background-color:var(--chip-hover)}}@media (hover: none){.m_3904c1af:not([data-disabled]):where([data-checked]):active{background-color:var(--chip-hover)}}.m_fa109255:not([data-disabled]),.m_f7e165c3:not([data-disabled]){border:calc(.0625rem * var(--mantine-scale)) solid transparent;color:var(--mantine-color-text)}:where([data-mantine-color-scheme=light]) .m_fa109255:not([data-disabled]),:where([data-mantine-color-scheme=light]) .m_f7e165c3:not([data-disabled]){background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_fa109255:not([data-disabled]),:where([data-mantine-color-scheme=dark]) .m_f7e165c3:not([data-disabled]){background-color:var(--mantine-color-dark-5)}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_fa109255:not([data-disabled]):hover,:where([data-mantine-color-scheme=light]) .m_f7e165c3:not([data-disabled]):hover{background-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_fa109255:not([data-disabled]):hover,:where([data-mantine-color-scheme=dark]) .m_f7e165c3:not([data-disabled]):hover{background-color:var(--mantine-color-dark-4)}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_fa109255:not([data-disabled]):active,:where([data-mantine-color-scheme=light]) .m_f7e165c3:not([data-disabled]):active{background-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_fa109255:not([data-disabled]):active,:where([data-mantine-color-scheme=dark]) .m_f7e165c3:not([data-disabled]):active{background-color:var(--mantine-color-dark-4)}}.m_fa109255:not([data-disabled]):where([data-checked]),.m_f7e165c3:not([data-disabled]):where([data-checked]){--chip-icon-color: var(--chip-color);color:var(--chip-color);background-color:var(--chip-bg)}@media (hover: hover){.m_fa109255:not([data-disabled]):where([data-checked]):hover,.m_f7e165c3:not([data-disabled]):where([data-checked]):hover{background-color:var(--chip-hover)}}@media (hover: none){.m_fa109255:not([data-disabled]):where([data-checked]):active,.m_f7e165c3:not([data-disabled]):where([data-checked]):active{background-color:var(--chip-hover)}}.m_9ac86df9{width:calc(var(--chip-icon-size) + (var(--chip-spacing) / 1.5));max-width:calc(var(--chip-icon-size) + (var(--chip-spacing) / 1.5));height:var(--chip-icon-size);display:flex;align-items:center;overflow:hidden}.m_d6d72580{width:var(--chip-icon-size);height:var(--chip-icon-size);display:block;color:var(--chip-icon-color, inherit)}.m_bde07329{width:0;height:0;padding:0;opacity:0;margin:0}.m_bde07329:focus-visible+.m_be049a53{outline:2px solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}.m_b183c0a2{font-family:var(--mantine-font-family-monospace);line-height:var(--mantine-line-height);padding:2px calc(var(--mantine-spacing-xs) / 2);border-radius:var(--mantine-radius-sm);font-size:var(--mantine-font-size-xs);margin:0;overflow:auto}:where([data-mantine-color-scheme=light]) .m_b183c0a2{background-color:var(--code-bg, var(--mantine-color-gray-0))}:where([data-mantine-color-scheme=dark]) .m_b183c0a2{background-color:var(--code-bg, var(--mantine-color-dark-6))}.m_b183c0a2[data-block]{padding:var(--mantine-spacing-xs)}.m_de3d2490{--cs-size: calc(1.75rem * var(--mantine-scale));--cs-radius: calc(62.5rem * var(--mantine-scale));-webkit-tap-highlight-color:transparent;border:none;appearance:none;display:block;line-height:1;position:relative;width:var(--cs-size);height:var(--cs-size);min-width:var(--cs-size);min-height:var(--cs-size);border-radius:var(--cs-radius);color:inherit;text-decoration:none}[data-mantine-color-scheme=light] .m_de3d2490{--alpha-overlay-color: var(--mantine-color-gray-3);--alpha-overlay-bg: var(--mantine-color-white)}[data-mantine-color-scheme=dark] .m_de3d2490{--alpha-overlay-color: var(--mantine-color-dark-4);--alpha-overlay-bg: var(--mantine-color-dark-7)}.m_862f3d1b{position:absolute;inset:0;border-radius:var(--cs-radius)}.m_98ae7f22{position:absolute;inset:0;border-radius:var(--cs-radius);z-index:1;box-shadow:#0000001a 0 0 0 calc(.0625rem * var(--mantine-scale)) inset,#00000026 0 0 calc(.25rem * var(--mantine-scale)) inset}.m_95709ac0{position:absolute;inset:0;border-radius:var(--cs-radius);background-size:calc(.5rem * var(--mantine-scale)) calc(.5rem * var(--mantine-scale));background-position:0 0,0 calc(.25rem * var(--mantine-scale)),calc(.25rem * var(--mantine-scale)) calc(-.25rem * var(--mantine-scale)),calc(-.25rem * var(--mantine-scale)) 0;background-image:linear-gradient(45deg,var(--alpha-overlay-color) 25%,transparent 25%),linear-gradient(-45deg,var(--alpha-overlay-color) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--alpha-overlay-color) 75%),linear-gradient(-45deg,var(--alpha-overlay-bg) 75%,var(--alpha-overlay-color) 75%)}.m_93e74e3{position:absolute;inset:0;border-radius:var(--cs-radius);z-index:2;display:flex;align-items:center;justify-content:center}.m_fee9c77{--cp-width-xs: calc(11.25rem * var(--mantine-scale));--cp-width-sm: calc(12.5rem * var(--mantine-scale));--cp-width-md: calc(15rem * var(--mantine-scale));--cp-width-lg: calc(17.5rem * var(--mantine-scale));--cp-width-xl: calc(20rem * var(--mantine-scale));--cp-preview-size-xs: calc(1.625rem * var(--mantine-scale));--cp-preview-size-sm: calc(2.125rem * var(--mantine-scale));--cp-preview-size-md: calc(2.625rem * var(--mantine-scale));--cp-preview-size-lg: calc(3.125rem * var(--mantine-scale));--cp-preview-size-xl: calc(3.375rem * var(--mantine-scale));--cp-thumb-size-xs: calc(.5rem * var(--mantine-scale));--cp-thumb-size-sm: calc(.75rem * var(--mantine-scale));--cp-thumb-size-md: calc(1rem * var(--mantine-scale));--cp-thumb-size-lg: calc(1.25rem * var(--mantine-scale));--cp-thumb-size-xl: calc(1.375rem * var(--mantine-scale));--cp-saturation-height-xs: calc(6.25rem * var(--mantine-scale));--cp-saturation-height-sm: calc(6.875rem * var(--mantine-scale));--cp-saturation-height-md: calc(7.5rem * var(--mantine-scale));--cp-saturation-height-lg: calc(8.75rem * var(--mantine-scale));--cp-saturation-height-xl: calc(10rem * var(--mantine-scale));--cp-preview-size: var(--cp-preview-size-sm);--cp-thumb-size: var(--cp-thumb-size-sm);--cp-saturation-height: var(--cp-saturation-height-sm);--cp-width: var(--cp-width-sm);--cp-body-spacing: var(--mantine-spacing-sm);width:var(--cp-width);padding:calc(.0625rem * var(--mantine-scale))}.m_fee9c77:where([data-full-width]){width:100%}.m_9dddfbac{width:var(--cp-preview-size);height:var(--cp-preview-size)}.m_bffecc3e{display:flex;padding-top:calc(var(--cp-body-spacing) / 2)}.m_3283bb96{flex:1}.m_3283bb96:not(:only-child){margin-inline-end:var(--mantine-spacing-xs)}.m_40d572ba{overflow:hidden;position:absolute;box-shadow:0 0 1px #0009;border:2px solid var(--mantine-color-white);width:var(--cp-thumb-size);height:var(--cp-thumb-size);border-radius:var(--cp-thumb-size);left:calc(var(--thumb-x-offset) - var(--cp-thumb-size) / 2);top:calc(var(--thumb-y-offset) - var(--cp-thumb-size) / 2)}.m_d8ee6fd8{height:unset!important;width:unset!important;min-width:0!important;min-height:0!important;margin:calc(.125rem * var(--mantine-scale));cursor:pointer;padding-bottom:calc(var(--cp-swatch-size) - calc(.25rem * var(--mantine-scale)));flex:0 0 calc(var(--cp-swatch-size) - calc(.25rem * var(--mantine-scale)))}.m_5711e686{margin-top:calc(.3125rem * var(--mantine-scale));margin-inline:calc(-.125rem * var(--mantine-scale));display:flex;flex-wrap:wrap}.m_5711e686:only-child{margin-top:0}.m_202a296e{--cp-thumb-size-xs: calc(.5rem * var(--mantine-scale));--cp-thumb-size-sm: calc(.75rem * var(--mantine-scale));--cp-thumb-size-md: calc(1rem * var(--mantine-scale));--cp-thumb-size-lg: calc(1.25rem * var(--mantine-scale));--cp-thumb-size-xl: calc(1.375rem * var(--mantine-scale));-webkit-tap-highlight-color:transparent;position:relative;height:var(--cp-saturation-height);border-radius:var(--mantine-radius-sm);margin:calc(var(--cp-thumb-size) / 2)}.m_202a296e:where([data-focus-ring=auto]):focus:focus-visible .m_40d572ba{outline:2px solid var(--mantine-color-blue-filled)}.m_202a296e:where([data-focus-ring=always]):focus .m_40d572ba{outline:2px solid var(--mantine-color-blue-filled)}.m_11b3db02{position:absolute;border-radius:var(--mantine-radius-sm);inset:calc(var(--cp-thumb-size) * -1 / 2 - calc(.0625rem * var(--mantine-scale)))}.m_d856d47d{--cp-thumb-size-xs: calc(.5rem * var(--mantine-scale));--cp-thumb-size-sm: calc(.75rem * var(--mantine-scale));--cp-thumb-size-md: calc(1rem * var(--mantine-scale));--cp-thumb-size-lg: calc(1.25rem * var(--mantine-scale));--cp-thumb-size-xl: calc(1.375rem * var(--mantine-scale));--cp-thumb-size: var(--cp-thumb-size, calc(.75rem * var(--mantine-scale)));position:relative;height:calc(var(--cp-thumb-size) + calc(.125rem * var(--mantine-scale)));margin-inline:calc(var(--cp-thumb-size) / 2);outline:none}.m_d856d47d+.m_d856d47d{margin-top:calc(.375rem * var(--mantine-scale))}.m_d856d47d:where([data-focus-ring=auto]):focus:focus-visible .m_40d572ba{outline:2px solid var(--mantine-color-blue-filled)}.m_d856d47d:where([data-focus-ring=always]):focus .m_40d572ba{outline:2px solid var(--mantine-color-blue-filled)}:where([data-mantine-color-scheme=light]) .m_d856d47d{--slider-checkers: var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_d856d47d{--slider-checkers: var(--mantine-color-dark-4)}.m_8f327113{position:absolute;top:0;bottom:0;inset-inline:calc(var(--cp-thumb-size) * -1 / 2 - calc(.0625rem * var(--mantine-scale)));border-radius:10000rem}.m_b077c2bc{--ci-eye-dropper-icon-size-xs: calc(.875rem * var(--mantine-scale));--ci-eye-dropper-icon-size-sm: calc(1rem * var(--mantine-scale));--ci-eye-dropper-icon-size-md: calc(1.125rem * var(--mantine-scale));--ci-eye-dropper-icon-size-lg: calc(1.25rem * var(--mantine-scale));--ci-eye-dropper-icon-size-xl: calc(1.375rem * var(--mantine-scale));--ci-eye-dropper-icon-size: var(--ci-eye-dropper-icon-size-sm)}.m_c5ccdcab{--ci-preview-size-xs: calc(1rem * var(--mantine-scale));--ci-preview-size-sm: calc(1.125rem * var(--mantine-scale));--ci-preview-size-md: calc(1.375rem * var(--mantine-scale));--ci-preview-size-lg: calc(1.75rem * var(--mantine-scale));--ci-preview-size-xl: calc(2.25rem * var(--mantine-scale));--ci-preview-size: var(--ci-preview-size-sm)}.m_5ece2cd7{padding:calc(.5rem * var(--mantine-scale))}.m_7485cace{--container-size-xs: calc(33.75rem * var(--mantine-scale));--container-size-sm: calc(45rem * var(--mantine-scale));--container-size-md: calc(60rem * var(--mantine-scale));--container-size-lg: calc(71.25rem * var(--mantine-scale));--container-size-xl: calc(82.5rem * var(--mantine-scale));--container-size: var(--container-size-md)}.m_7485cace:where([data-strategy=block]){max-width:var(--container-size);padding-inline:var(--mantine-spacing-md);margin-inline:auto}.m_7485cace:where([data-strategy=block]):where([data-fluid]){max-width:100%}.m_7485cace:where([data-strategy=grid]){display:grid;grid-template-columns:1fr min(100%,var(--container-size)) 1fr;margin-inline:auto}.m_7485cace:where([data-strategy=grid])>*{grid-column:2}.m_7485cace:where([data-strategy=grid])>[data-breakout]{grid-column:1 / -1}.m_7485cace:where([data-strategy=grid])>[data-breakout]>[data-container]{max-width:var(--container-size);margin-inline:auto}.m_e2125a27{--dialog-size-xs: calc(10rem * var(--mantine-scale));--dialog-size-sm: calc(12.5rem * var(--mantine-scale));--dialog-size-md: calc(21.25rem * var(--mantine-scale));--dialog-size-lg: calc(25rem * var(--mantine-scale));--dialog-size-xl: calc(31.25rem * var(--mantine-scale));--dialog-size: var(--dialog-size-md);position:relative;width:var(--dialog-size);max-width:calc(100vw - var(--mantine-spacing-xl) * 2);min-height:calc(3.125rem * var(--mantine-scale))}.m_5abab665{position:absolute;top:calc(var(--mantine-spacing-md) / 2);inset-inline-end:calc(var(--mantine-spacing-md) / 2)}.m_3eebeb36{--divider-size-xs: calc(.0625rem * var(--mantine-scale));--divider-size-sm: calc(.125rem * var(--mantine-scale));--divider-size-md: calc(.1875rem * var(--mantine-scale));--divider-size-lg: calc(.25rem * var(--mantine-scale));--divider-size-xl: calc(.3125rem * var(--mantine-scale));--divider-size: var(--divider-size-xs)}:where([data-mantine-color-scheme=light]) .m_3eebeb36{--divider-color: var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_3eebeb36{--divider-color: var(--mantine-color-dark-4)}.m_3eebeb36:where([data-orientation=horizontal]){border-top:var(--divider-size) var(--divider-border-style, solid) var(--divider-color)}.m_3eebeb36:where([data-orientation=vertical]){border-inline-start:var(--divider-size) var(--divider-border-style, solid) var(--divider-color);height:auto;align-self:stretch}.m_3eebeb36:where([data-with-label]){border:0}.m_9e365f20{display:flex;align-items:center;font-size:var(--mantine-font-size-xs);color:var(--mantine-color-dimmed);white-space:nowrap}.m_9e365f20:where([data-position=left]):before{display:none}.m_9e365f20:where([data-position=right]):after{display:none}.m_9e365f20:before{content:"";flex:1;height:calc(.0625rem * var(--mantine-scale));border-top:var(--divider-size) var(--divider-border-style, solid) var(--divider-color);margin-inline-end:var(--mantine-spacing-xs)}.m_9e365f20:after{content:"";flex:1;height:calc(.0625rem * var(--mantine-scale));border-top:var(--divider-size) var(--divider-border-style, solid) var(--divider-color);margin-inline-start:var(--mantine-spacing-xs)}.m_f11b401e{--drawer-size-xs: calc(20rem * var(--mantine-scale));--drawer-size-sm: calc(23.75rem * var(--mantine-scale));--drawer-size-md: calc(27.5rem * var(--mantine-scale));--drawer-size-lg: calc(38.75rem * var(--mantine-scale));--drawer-size-xl: calc(48.75rem * var(--mantine-scale));--drawer-size: var(--drawer-size-md);--drawer-offset: 0rem}.m_5a7c2c9{z-index:1000}.m_b8a05bbd{flex:var(--drawer-flex, 0 0 var(--drawer-size));height:var(--drawer-height, calc(100% - var(--drawer-offset) * 2));margin:var(--drawer-offset);max-width:calc(100% - var(--drawer-offset) * 2);max-height:calc(100% - var(--drawer-offset) * 2);overflow-y:auto}.m_b8a05bbd[data-hidden]{opacity:0!important;pointer-events:none}.m_31cd769a{display:flex;justify-content:var(--drawer-justify, flex-start);align-items:var(--drawer-align, flex-start)}.m_e9408a47{padding:var(--mantine-spacing-lg);padding-top:var(--mantine-spacing-xs);border-radius:var(--fieldset-radius, var(--mantine-radius-default));min-inline-size:auto}.m_84c9523a{border:calc(.0625rem * var(--mantine-scale)) solid}:where([data-mantine-color-scheme=light]) .m_84c9523a{border-color:var(--mantine-color-gray-3);background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_84c9523a{border-color:var(--mantine-color-dark-4);background-color:var(--mantine-color-dark-7)}.m_ef274e49{border:calc(.0625rem * var(--mantine-scale)) solid}:where([data-mantine-color-scheme=light]) .m_ef274e49{border-color:var(--mantine-color-gray-3);background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_ef274e49{border-color:var(--mantine-color-dark-4);background-color:var(--mantine-color-dark-6)}.m_eda993d3{padding:0;border:0;border-radius:0}.m_90794832{font-size:var(--mantine-font-size-sm)}.m_74ca27fe{padding:0;margin-bottom:var(--mantine-spacing-sm)}.m_8478a6da{container:mantine-grid / inline-size}.m_410352e9{--grid-overflow: visible;--grid-margin: calc(var(--grid-gutter) / -2);--grid-col-padding: calc(var(--grid-gutter) / 2);overflow:var(--grid-overflow)}.m_dee7bd2f{width:calc(100% + var(--grid-gutter));display:flex;flex-wrap:wrap;justify-content:var(--grid-justify);align-items:var(--grid-align);margin:var(--grid-margin)}.m_96bdd299{--col-flex-grow: 0;--col-offset: 0rem;flex-shrink:0;order:var(--col-order);flex-basis:var(--col-flex-basis);width:var(--col-width);max-width:var(--col-max-width);flex-grow:var(--col-flex-grow);margin-inline-start:var(--col-offset);padding:var(--grid-col-padding)}.m_bcb3f3c2{color:var(--mantine-color-black)}:where([data-mantine-color-scheme=light]) .m_bcb3f3c2{background-color:var(--mark-bg-light)}:where([data-mantine-color-scheme=dark]) .m_bcb3f3c2{background-color:var(--mark-bg-dark)}.m_9e117634{display:block;object-fit:var(--image-object-fit, cover);width:100%;border-radius:var(--image-radius, 0)}@keyframes m_885901b1{0%{opacity:.6;transform:scale(0)}to{opacity:0;transform:scale(2.8)}}.m_e5262200{--indicator-size: calc(.625rem * var(--mantine-scale));--indicator-color: var(--mantine-primary-color-filled);position:relative;display:block}.m_e5262200:where([data-inline]){display:inline-block}.m_760d1fb1{position:absolute;top:var(--indicator-top);left:var(--indicator-left);right:var(--indicator-right);bottom:var(--indicator-bottom);transform:translate(var(--indicator-translate-x),var(--indicator-translate-y));min-width:var(--indicator-size);height:var(--indicator-size);border-radius:var(--indicator-radius, 1000rem);z-index:var(--indicator-z-index, 200);display:flex;align-items:center;justify-content:center;font-size:var(--mantine-font-size-xs);background-color:var(--indicator-color);color:var(--indicator-text-color, var(--mantine-color-white));white-space:nowrap}.m_760d1fb1:before{content:"";position:absolute;inset:0;background-color:var(--indicator-color);border-radius:var(--indicator-radius, 1000rem);z-index:-1}.m_760d1fb1:where([data-with-label]){padding-inline:calc(var(--mantine-spacing-xs) / 2)}.m_760d1fb1:where([data-with-border]){border:2px solid var(--mantine-color-body)}.m_760d1fb1[data-processing]:before{animation:m_885901b1 1s linear infinite}.m_dc6f14e2{--kbd-fz-xs: calc(.625rem * var(--mantine-scale));--kbd-fz-sm: calc(.75rem * var(--mantine-scale));--kbd-fz-md: calc(.875rem * var(--mantine-scale));--kbd-fz-lg: calc(1rem * var(--mantine-scale));--kbd-fz-xl: calc(1.25rem * var(--mantine-scale));--kbd-fz: var(--kbd-fz-sm);font-family:var(--mantine-font-family-monospace);line-height:var(--mantine-line-height);font-weight:700;font-size:var(--kbd-fz);border-radius:var(--mantine-radius-sm);border:calc(.0625rem * var(--mantine-scale)) solid;border-bottom-width:calc(.1875rem * var(--mantine-scale));unicode-bidi:embed;text-align:center;padding:.12em .45em}:where([data-mantine-color-scheme=light]) .m_dc6f14e2{border-color:var(--mantine-color-gray-3);color:var(--mantine-color-gray-7);background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_dc6f14e2{border-color:var(--mantine-color-dark-4);color:var(--mantine-color-dark-0);background-color:var(--mantine-color-dark-6)}.m_abbac491{--list-fz: var(--mantine-font-size-md);--list-lh: var(--mantine-line-height-md);list-style-position:inside;font-size:var(--list-fz);line-height:var(--list-lh);margin:0;padding:0}.m_abbac491:where([data-with-padding]){padding-inline-start:var(--mantine-spacing-md)}.m_abb6bec2{white-space:nowrap;line-height:var(--list-lh)}.m_abb6bec2:where([data-with-icon]){list-style:none}.m_abb6bec2:where([data-with-icon]) .m_75cd9f71{--li-direction: row;--li-align: center}.m_abb6bec2:where(:not(:first-of-type)){margin-top:var(--list-spacing, 0)}.m_abb6bec2:where([data-centered]){line-height:1}.m_75cd9f71{display:inline-flex;flex-direction:var(--li-direction, column);align-items:var(--li-align, flex-start);white-space:normal}.m_60f83e5b{display:inline-block;vertical-align:middle;margin-inline-end:var(--mantine-spacing-sm)}.m_6e45937b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;z-index:var(--lo-z-index)}.m_e8eb006c{position:relative;z-index:calc(var(--lo-z-index) + 1)}.m_df587f17{z-index:var(--lo-z-index)}.m_dc9b7c9f{padding:calc(.25rem * var(--mantine-scale))}.m_9bfac126{color:var(--mantine-color-dimmed);font-weight:500;font-size:var(--mantine-font-size-xs);padding:calc(var(--mantine-spacing-xs) / 2) var(--mantine-spacing-sm);cursor:default}.m_efdf90cb{margin-top:calc(.25rem * var(--mantine-scale));margin-bottom:calc(.25rem * var(--mantine-scale));border-top:calc(.0625rem * var(--mantine-scale)) solid}:where([data-mantine-color-scheme=light]) .m_efdf90cb{border-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_efdf90cb{border-color:var(--mantine-color-dark-4)}.m_99ac2aa1{font-size:var(--mantine-font-size-sm);width:100%;padding:calc(var(--mantine-spacing-xs) / 1.5) var(--mantine-spacing-sm);border-radius:var(--popover-radius, var(--mantine-radius-default));color:var(--menu-item-color, var(--mantine-color-text));display:flex;align-items:center;user-select:none}.m_99ac2aa1:where([data-disabled],:disabled){color:var(--mantine-color-disabled-color);opacity:.6;cursor:not-allowed}:where([data-mantine-color-scheme=light]) .m_99ac2aa1:where(:hover,:focus):where(:not(:disabled,[data-disabled])){background-color:var(--menu-item-hover, var(--mantine-color-gray-1))}:where([data-mantine-color-scheme=dark]) .m_99ac2aa1:where(:hover,:focus):where(:not(:disabled,[data-disabled])){background-color:var(--menu-item-hover, var(--mantine-color-dark-4))}.m_99ac2aa1:where([data-sub-menu-item]){padding-inline-end:calc(.3125rem * var(--mantine-scale))}.m_5476e0d3{flex:1}.m_8b75e504{display:flex;justify-content:center;align-items:center}.m_8b75e504:where([data-position=left]){margin-inline-end:var(--mantine-spacing-xs)}.m_8b75e504:where([data-position=right]){margin-inline-start:var(--mantine-spacing-xs)}.m_b85b0bed{transform:rotate(-90deg)}:where([dir=rtl]) .m_b85b0bed{transform:rotate(90deg)}.m_9df02822{--modal-size-xs: calc(20rem * var(--mantine-scale));--modal-size-sm: calc(23.75rem * var(--mantine-scale));--modal-size-md: calc(27.5rem * var(--mantine-scale));--modal-size-lg: calc(38.75rem * var(--mantine-scale));--modal-size-xl: calc(48.75rem * var(--mantine-scale));--modal-size: var(--modal-size-md);--modal-y-offset: 5dvh;--modal-x-offset: 5vw}.m_9df02822[data-full-screen]{--modal-border-radius: 0 !important}.m_9df02822[data-full-screen] .m_54c44539{--modal-content-flex: 0 0 100%;--modal-content-max-height: auto;--modal-content-height: 100dvh}.m_9df02822[data-full-screen] .m_1f958f16{--modal-inner-y-offset: 0;--modal-inner-x-offset: 0}.m_9df02822[data-centered] .m_1f958f16{--modal-inner-align: center}.m_d0e2b9cd{border-start-start-radius:var(--modal-radius, var(--mantine-radius-default));border-start-end-radius:var(--modal-radius, var(--mantine-radius-default))}.m_54c44539{flex:var(--modal-content-flex, 0 0 var(--modal-size));max-width:100%;max-height:var(--modal-content-max-height, calc(100dvh - var(--modal-y-offset) * 2));height:var(--modal-content-height, auto);overflow-y:auto}.m_54c44539[data-full-screen]{border-radius:0}.m_54c44539[data-hidden]{opacity:0!important;pointer-events:none}.m_1f958f16{display:flex;justify-content:center;align-items:var(--modal-inner-align, flex-start);padding-top:var(--modal-inner-y-offset, var(--modal-y-offset));padding-bottom:var(--modal-inner-y-offset, var(--modal-y-offset));padding-inline:var(--modal-inner-x-offset, var(--modal-x-offset))}.m_7cda1cd6{--pill-fz-xs: calc(.625rem * var(--mantine-scale));--pill-fz-sm: calc(.75rem * var(--mantine-scale));--pill-fz-md: calc(.875rem * var(--mantine-scale));--pill-fz-lg: calc(1rem * var(--mantine-scale));--pill-fz-xl: calc(1.125rem * var(--mantine-scale));--pill-height-xs: calc(1.125rem * var(--mantine-scale));--pill-height-sm: calc(1.375rem * var(--mantine-scale));--pill-height-md: calc(1.5625rem * var(--mantine-scale));--pill-height-lg: calc(1.75rem * var(--mantine-scale));--pill-height-xl: calc(2rem * var(--mantine-scale));--pill-fz: var(--pill-fz-sm);--pill-height: var(--pill-height-sm);font-size:var(--pill-fz);flex:0;height:var(--pill-height);padding-inline:.8em;display:inline-flex;align-items:center;border-radius:var(--pill-radius, 1000rem);line-height:1;white-space:nowrap;user-select:none;-webkit-user-select:none;max-width:100%}:where([data-mantine-color-scheme=dark]) .m_7cda1cd6{background-color:var(--mantine-color-dark-7);color:var(--mantine-color-dark-0)}:where([data-mantine-color-scheme=light]) .m_7cda1cd6{color:var(--mantine-color-black)}.m_7cda1cd6:where([data-with-remove]:not(:has(button:disabled))){padding-inline-end:0}.m_7cda1cd6:where([data-disabled],:has(button:disabled)){cursor:not-allowed}:where([data-mantine-color-scheme=light]) .m_44da308b{background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=light]) .m_44da308b:where([data-disabled],:has(button:disabled)){background-color:var(--mantine-color-disabled)}:where([data-mantine-color-scheme=light]) .m_e3a01f8{background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=light]) .m_e3a01f8:where([data-disabled],:has(button:disabled)){background-color:var(--mantine-color-disabled)}.m_1e0e6180{cursor:inherit;overflow:hidden;height:100%;line-height:var(--pill-height);text-overflow:ellipsis}.m_ae386778{color:inherit;font-size:inherit;height:100%;min-height:unset;min-width:2em;width:unset;border-radius:0;padding-inline-start:.1em;padding-inline-end:.3em;flex:0;border-end-end-radius:var(--pill-radius, 50%);border-start-end-radius:var(--pill-radius, 50%)}.m_7cda1cd6[data-disabled]>.m_ae386778,.m_ae386778:disabled{display:none;background-color:transparent;width:.8em;min-width:.8em;padding:0;cursor:not-allowed}.m_7cda1cd6[data-disabled]>.m_ae386778>svg,.m_ae386778:disabled>svg{display:none}.m_ae386778>svg{pointer-events:none}.m_1dcfd90b{--pg-gap-xs: calc(.375rem * var(--mantine-scale));--pg-gap-sm: calc(.5rem * var(--mantine-scale));--pg-gap-md: calc(.625rem * var(--mantine-scale));--pg-gap-lg: calc(.75rem * var(--mantine-scale));--pg-gap-xl: calc(.75rem * var(--mantine-scale));--pg-gap: var(--pg-gap-sm);display:flex;align-items:center;gap:var(--pg-gap);flex-wrap:wrap}.m_45c4369d{background-color:transparent;appearance:none;min-width:calc(6.25rem * var(--mantine-scale));flex:1;border:0;font-size:inherit;height:1.6em;color:inherit;padding:0}.m_45c4369d::placeholder{color:var(--input-placeholder-color);opacity:1}.m_45c4369d:where([data-type=hidden],[data-type=auto]){height:calc(.0625rem * var(--mantine-scale));width:calc(.0625rem * var(--mantine-scale));top:0;left:0;pointer-events:none;position:absolute;opacity:0}.m_45c4369d:focus{outline:none}.m_45c4369d:where([data-type=auto]:focus){height:1.6em;visibility:visible;opacity:1;position:static}.m_45c4369d:where([data-pointer]:not([data-disabled],:disabled)){cursor:pointer}.m_45c4369d:where([data-disabled],:disabled){cursor:not-allowed}.m_f0824112{--nl-bg: var(--mantine-primary-color-light);--nl-hover: var(--mantine-primary-color-light-hover);--nl-color: var(--mantine-primary-color-light-color);display:flex;align-items:center;width:100%;padding:8px var(--mantine-spacing-sm);user-select:none}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_f0824112:hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_f0824112:hover{background-color:var(--mantine-color-dark-6)}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_f0824112:active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_f0824112:active{background-color:var(--mantine-color-dark-6)}}.m_f0824112:where([data-disabled]){opacity:.4;pointer-events:none}.m_f0824112:where([data-active],[aria-current=page]){background-color:var(--nl-bg);color:var(--nl-color)}@media (hover: hover){.m_f0824112:where([data-active],[aria-current=page]):hover{background-color:var(--nl-hover)}}@media (hover: none){.m_f0824112:where([data-active],[aria-current=page]):active{background-color:var(--nl-hover)}}.m_f0824112:where([data-active],[aria-current=page]) .m_57492dcc{--description-opacity: .9;--description-color: var(--nl-color)}.m_690090b5{display:flex;align-items:center;justify-content:center;transition:transform .15s ease}.m_690090b5>svg{display:block}.m_690090b5:where([data-position=left]){margin-inline-end:var(--mantine-spacing-sm)}.m_690090b5:where([data-position=right]){margin-inline-start:var(--mantine-spacing-sm)}.m_690090b5:where([data-rotate]){transform:rotate(90deg)}.m_1f6ac4c4{font-size:var(--mantine-font-size-sm)}.m_f07af9d2{flex:1;overflow:hidden;text-overflow:ellipsis}.m_f07af9d2:where([data-no-wrap]){white-space:nowrap}.m_57492dcc{display:block;font-size:var(--mantine-font-size-xs);opacity:var(--description-opacity, 1);color:var(--description-color, var(--mantine-color-dimmed));overflow:hidden;text-overflow:ellipsis}:where([data-no-wrap]) .m_57492dcc{white-space:nowrap}.m_e17b862f{padding-inline-start:var(--nl-offset, var(--mantine-spacing-lg))}.m_1fd8a00b{transform:rotate(-90deg)}.m_a513464{--notification-radius: var(--mantine-radius-default);--notification-color: var(--mantine-primary-color-filled);overflow:hidden;box-sizing:border-box;position:relative;display:flex;align-items:center;padding-inline-start:calc(1.375rem * var(--mantine-scale));padding-inline-end:var(--mantine-spacing-xs);padding-top:var(--mantine-spacing-xs);padding-bottom:var(--mantine-spacing-xs);border-radius:var(--notification-radius);box-shadow:var(--mantine-shadow-lg)}.m_a513464:before{content:"";display:block;position:absolute;width:calc(.375rem * var(--mantine-scale));top:var(--notification-radius);bottom:var(--notification-radius);inset-inline-start:calc(.25rem * var(--mantine-scale));border-radius:var(--notification-radius);background-color:var(--notification-color)}:where([data-mantine-color-scheme=light]) .m_a513464{background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_a513464{background-color:var(--mantine-color-dark-6)}.m_a513464:where([data-with-icon]):before{display:none}:where([data-mantine-color-scheme=light]) .m_a513464:where([data-with-border]){border:1px solid var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_a513464:where([data-with-border]){border:1px solid var(--mantine-color-dark-4)}.m_a4ceffb{box-sizing:border-box;margin-inline-end:var(--mantine-spacing-md);width:calc(1.75rem * var(--mantine-scale));height:calc(1.75rem * var(--mantine-scale));border-radius:calc(1.75rem * var(--mantine-scale));display:flex;align-items:center;justify-content:center;background-color:var(--notification-color);color:var(--mantine-color-white)}.m_b0920b15{margin-inline-end:var(--mantine-spacing-md)}.m_a49ed24{flex:1;overflow:hidden;margin-inline-end:var(--mantine-spacing-xs)}.m_3feedf16{margin-bottom:calc(.125rem * var(--mantine-scale));overflow:hidden;text-overflow:ellipsis;font-size:var(--mantine-font-size-sm);line-height:var(--mantine-line-height-sm);font-weight:500}:where([data-mantine-color-scheme=light]) .m_3feedf16{color:var(--mantine-color-gray-9)}:where([data-mantine-color-scheme=dark]) .m_3feedf16{color:var(--mantine-color-white)}.m_3d733a3a{font-size:var(--mantine-font-size-sm);line-height:var(--mantine-line-height-sm);overflow:hidden;text-overflow:ellipsis}:where([data-mantine-color-scheme=light]) .m_3d733a3a{color:var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_3d733a3a{color:var(--mantine-color-dark-0)}:where([data-mantine-color-scheme=light]) .m_3d733a3a:where([data-with-title]){color:var(--mantine-color-gray-6)}:where([data-mantine-color-scheme=dark]) .m_3d733a3a:where([data-with-title]){color:var(--mantine-color-dark-2)}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_919a4d88:hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_919a4d88:hover{background-color:var(--mantine-color-dark-8)}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_919a4d88:active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_919a4d88:active{background-color:var(--mantine-color-dark-8)}}.m_e2f5cd4e{--ni-right-section-width-xs: calc(1.0625rem * var(--mantine-scale));--ni-right-section-width-sm: calc(1.5rem * var(--mantine-scale));--ni-right-section-width-md: calc(1.6875rem * var(--mantine-scale));--ni-right-section-width-lg: calc(1.9375rem * var(--mantine-scale));--ni-right-section-width-xl: calc(2.125rem * var(--mantine-scale))}.m_95e17d22{--ni-chevron-size-xs: calc(.625rem * var(--mantine-scale));--ni-chevron-size-sm: calc(.875rem * var(--mantine-scale));--ni-chevron-size-md: calc(1rem * var(--mantine-scale));--ni-chevron-size-lg: calc(1.125rem * var(--mantine-scale));--ni-chevron-size-xl: calc(1.25rem * var(--mantine-scale));--ni-chevron-size: var(--ni-chevron-size-sm);display:flex;flex-direction:column;width:100%;height:calc(var(--input-height) - calc(.125rem * var(--mantine-scale)));max-width:calc(var(--ni-chevron-size) * 1.7);margin-inline-start:auto}.m_80b4b171{--control-border: 1px solid var(--input-bd);--control-radius: calc(var(--input-radius) - calc(.0625rem * var(--mantine-scale)));flex:0 0 50%;width:100%;padding:0;height:calc(var(--input-height) / 2 - calc(.0625rem * var(--mantine-scale)));border-inline-start:var(--control-border);display:flex;align-items:center;justify-content:center;color:var(--mantine-color-text);background-color:transparent;cursor:pointer}.m_80b4b171:where(:disabled){background-color:transparent;cursor:not-allowed;opacity:.6;color:var(--mantine-color-disabled-color)}.m_e2f5cd4e[data-error] :where(.m_80b4b171){color:var(--mantine-color-error)}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_80b4b171:hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_80b4b171:hover{background-color:var(--mantine-color-dark-4)}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_80b4b171:active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_80b4b171:active{background-color:var(--mantine-color-dark-4)}}.m_80b4b171:where(:first-of-type){border-radius:0;border-start-end-radius:var(--control-radius)}.m_80b4b171:last-of-type{border-radius:0;border-end-end-radius:var(--control-radius)}.m_4addd315{--pagination-control-size-xs: calc(1.375rem * var(--mantine-scale));--pagination-control-size-sm: calc(1.625rem * var(--mantine-scale));--pagination-control-size-md: calc(2rem * var(--mantine-scale));--pagination-control-size-lg: calc(2.375rem * var(--mantine-scale));--pagination-control-size-xl: calc(2.75rem * var(--mantine-scale));--pagination-control-size: var(--pagination-control-size-md);--pagination-control-fz: var(--mantine-font-size-md);--pagination-active-bg: var(--mantine-primary-color-filled)}.m_326d024a{display:flex;align-items:center;justify-content:center;border:calc(.0625rem * var(--mantine-scale)) solid;cursor:pointer;color:var(--mantine-color-text);height:var(--pagination-control-size);min-width:var(--pagination-control-size);font-size:var(--pagination-control-fz);line-height:1;border-radius:var(--pagination-control-radius, var(--mantine-radius-default))}.m_326d024a:where([data-with-padding]){padding:calc(var(--pagination-control-size) / 4)}.m_326d024a:where(:disabled,[data-disabled]){cursor:not-allowed;opacity:.4}:where([data-mantine-color-scheme=light]) .m_326d024a{border-color:var(--mantine-color-gray-4);background-color:var(--mantine-color-white)}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_326d024a:hover:where(:not(:disabled,[data-disabled])){background-color:var(--mantine-color-gray-0)}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_326d024a:active:where(:not(:disabled,[data-disabled])){background-color:var(--mantine-color-gray-0)}}:where([data-mantine-color-scheme=dark]) .m_326d024a{border-color:var(--mantine-color-dark-4);background-color:var(--mantine-color-dark-6)}@media (hover: hover){:where([data-mantine-color-scheme=dark]) .m_326d024a:hover:where(:not(:disabled,[data-disabled])){background-color:var(--mantine-color-dark-5)}}@media (hover: none){:where([data-mantine-color-scheme=dark]) .m_326d024a:active:where(:not(:disabled,[data-disabled])){background-color:var(--mantine-color-dark-5)}}.m_326d024a:where([data-active]){background-color:var(--pagination-active-bg);border-color:var(--pagination-active-bg);color:var(--pagination-active-color, var(--mantine-color-white))}@media (hover: hover){.m_326d024a:where([data-active]):hover{background-color:var(--pagination-active-bg)}}@media (hover: none){.m_326d024a:where([data-active]):active{background-color:var(--pagination-active-bg)}}.m_4ad7767d{height:var(--pagination-control-size);min-width:var(--pagination-control-size);display:flex;align-items:center;justify-content:center;pointer-events:none}.m_f61ca620{--psi-button-size-xs: calc(1.375rem * var(--mantine-scale));--psi-button-size-sm: calc(1.625rem * var(--mantine-scale));--psi-button-size-md: calc(1.75rem * var(--mantine-scale));--psi-button-size-lg: calc(2rem * var(--mantine-scale));--psi-button-size-xl: calc(2.5rem * var(--mantine-scale));--psi-icon-size-xs: calc(.75rem * var(--mantine-scale));--psi-icon-size-sm: calc(.9375rem * var(--mantine-scale));--psi-icon-size-md: calc(1.0625rem * var(--mantine-scale));--psi-icon-size-lg: calc(1.1875rem * var(--mantine-scale));--psi-icon-size-xl: calc(1.3125rem * var(--mantine-scale));--psi-button-size: var(--psi-button-size-sm);--psi-icon-size: var(--psi-icon-size-sm)}.m_ccf8da4c{position:relative;overflow:hidden}.m_f2d85dd2{font-family:var(--mantine-font-family);background-color:transparent;border:0;padding-inline-end:var(--input-padding-inline-end);padding-inline-start:var(--input-padding-inline-start);position:absolute;inset:0;outline:0;font-size:inherit;line-height:var(--mantine-line-height);height:100%;width:100%;color:inherit}.m_ccf8da4c[data-disabled] .m_f2d85dd2,.m_f2d85dd2:disabled{cursor:not-allowed}.m_f2d85dd2::placeholder{color:var(--input-placeholder-color);opacity:1}.m_f2d85dd2::-ms-reveal{display:none}.m_b1072d44{width:var(--psi-button-size);height:var(--psi-button-size);min-width:var(--psi-button-size);min-height:var(--psi-button-size)}.m_b1072d44:disabled{display:none}.m_f1cb205a{--pin-input-size-xs: calc(1.875rem * var(--mantine-scale));--pin-input-size-sm: calc(2.25rem * var(--mantine-scale));--pin-input-size-md: calc(2.625rem * var(--mantine-scale));--pin-input-size-lg: calc(3.125rem * var(--mantine-scale));--pin-input-size-xl: calc(3.75rem * var(--mantine-scale));--pin-input-size: var(--pin-input-size-sm)}.m_cb288ead{width:var(--pin-input-size);height:var(--pin-input-size)}@keyframes m_81a374bd{0%{background-position:0 0}to{background-position:calc(2.5rem * var(--mantine-scale)) 0}}@keyframes m_e0fb7a86{0%{background-position:0 0}to{background-position:0 calc(2.5rem * var(--mantine-scale))}}.m_db6d6462{--progress-radius: var(--mantine-radius-default);--progress-size: var(--progress-size-md);--progress-size-xs: calc(.1875rem * var(--mantine-scale));--progress-size-sm: calc(.3125rem * var(--mantine-scale));--progress-size-md: calc(.5rem * var(--mantine-scale));--progress-size-lg: calc(.75rem * var(--mantine-scale));--progress-size-xl: calc(1rem * var(--mantine-scale));position:relative;height:var(--progress-size);border-radius:var(--progress-radius);overflow:hidden;display:flex}:where([data-mantine-color-scheme=light]) .m_db6d6462{background-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_db6d6462{background-color:var(--mantine-color-dark-4)}.m_db6d6462:where([data-orientation=vertical]){height:auto;width:var(--progress-size);flex-direction:column-reverse}.m_2242eb65{background-color:var(--progress-section-color);height:100%;width:var(--progress-section-size);display:flex;align-items:center;justify-content:center;overflow:hidden;background-size:calc(1.25rem * var(--mantine-scale)) calc(1.25rem * var(--mantine-scale));transition:width var(--progress-transition-duration, .1s) ease}.m_2242eb65:where([data-striped]){background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.m_2242eb65:where([data-animated]){animation:m_81a374bd 1s linear infinite}.m_2242eb65:where(:last-of-type){border-radius:0;border-start-end-radius:var(--progress-radius);border-end-end-radius:var(--progress-radius)}.m_2242eb65:where(:first-of-type){border-radius:0;border-start-start-radius:var(--progress-radius);border-end-start-radius:var(--progress-radius)}.m_db6d6462:where([data-orientation=vertical]) .m_2242eb65{width:100%;height:var(--progress-section-size);transition:height var(--progress-transition-duration, .1s) ease}.m_db6d6462:where([data-orientation=vertical]) .m_2242eb65:where([data-striped]){background-image:linear-gradient(135deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.m_db6d6462:where([data-orientation=vertical]) .m_2242eb65:where([data-animated]){animation:m_e0fb7a86 1s linear infinite}.m_db6d6462:where([data-orientation=vertical]) .m_2242eb65:where(:last-of-type){border-radius:0;border-start-start-radius:var(--progress-radius);border-start-end-radius:var(--progress-radius)}.m_db6d6462:where([data-orientation=vertical]) .m_2242eb65:where(:first-of-type){border-radius:0;border-end-start-radius:var(--progress-radius);border-end-end-radius:var(--progress-radius)}.m_91e40b74{color:var(--progress-label-color, var(--mantine-color-white));font-weight:700;user-select:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:min(calc(var(--progress-size) * .65),calc(1.125rem * var(--mantine-scale)));line-height:1;padding-inline:calc(.25rem * var(--mantine-scale))}.m_db6d6462:where([data-orientation=vertical]) .m_91e40b74{writing-mode:vertical-rl}.m_9dc8ae12{--card-radius: var(--mantine-radius-default);display:block;width:100%;border-radius:var(--card-radius);cursor:pointer}.m_9dc8ae12 :where(*){cursor:inherit}.m_9dc8ae12:where([data-with-border]){border:calc(.0625rem * var(--mantine-scale)) solid transparent}:where([data-mantine-color-scheme=light]) .m_9dc8ae12:where([data-with-border]){border-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_9dc8ae12:where([data-with-border]){border-color:var(--mantine-color-dark-4)}.m_717d7ff6{--radio-size-xs: calc(1rem * var(--mantine-scale));--radio-size-sm: calc(1.25rem * var(--mantine-scale));--radio-size-md: calc(1.5rem * var(--mantine-scale));--radio-size-lg: calc(1.875rem * var(--mantine-scale));--radio-size-xl: calc(2.25rem * var(--mantine-scale));--radio-icon-size-xs: calc(.375rem * var(--mantine-scale));--radio-icon-size-sm: calc(.5rem * var(--mantine-scale));--radio-icon-size-md: calc(.625rem * var(--mantine-scale));--radio-icon-size-lg: calc(.875rem * var(--mantine-scale));--radio-icon-size-xl: calc(1rem * var(--mantine-scale));--radio-icon-size: var(--radio-icon-size-sm);--radio-size: var(--radio-size-sm);--radio-color: var(--mantine-primary-color-filled);--radio-icon-color: var(--mantine-color-white);position:relative;border:calc(.0625rem * var(--mantine-scale)) solid transparent;width:var(--radio-size);min-width:var(--radio-size);height:var(--radio-size);min-height:var(--radio-size);border-radius:var(--radio-radius, 10000px);transition:border-color .1s ease,background-color .1s ease;cursor:var(--mantine-cursor-type);-webkit-tap-highlight-color:transparent;display:flex;align-items:center;justify-content:center}:where([data-mantine-color-scheme=light]) .m_717d7ff6{background-color:var(--mantine-color-white);border-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_717d7ff6{background-color:var(--mantine-color-dark-6);border-color:var(--mantine-color-dark-4)}.m_717d7ff6[data-indeterminate],.m_717d7ff6[data-checked]{background-color:var(--radio-color);border-color:var(--radio-color)}.m_717d7ff6[data-indeterminate]>.m_3e4da632,.m_717d7ff6[data-checked]>.m_3e4da632{opacity:1;transform:none;color:var(--radio-icon-color)}.m_717d7ff6[data-disabled]{cursor:not-allowed;background-color:var(--mantine-color-disabled);border-color:var(--mantine-color-disabled-border)}.m_717d7ff6[data-disabled][data-checked]>.m_3e4da632{color:var(--mantine-color-disabled-color)}.m_2980836c[data-indeterminate]:not([data-disabled]),.m_2980836c[data-checked]:not([data-disabled]){background-color:transparent;border-color:var(--radio-color)}.m_2980836c[data-indeterminate]:not([data-disabled])>.m_3e4da632,.m_2980836c[data-checked]:not([data-disabled])>.m_3e4da632{color:var(--radio-color);opacity:1;transform:none}.m_3e4da632{display:block;width:var(--radio-icon-size);height:var(--radio-icon-size);color:transparent;pointer-events:none;transform:translateY(calc(.3125rem * var(--mantine-scale))) scale(.5);opacity:1;transition:transform .1s ease,opacity .1s ease}.m_f3f1af94{--radio-size-xs: calc(1rem * var(--mantine-scale));--radio-size-sm: calc(1.25rem * var(--mantine-scale));--radio-size-md: calc(1.5rem * var(--mantine-scale));--radio-size-lg: calc(1.875rem * var(--mantine-scale));--radio-size-xl: calc(2.25rem * var(--mantine-scale));--radio-size: var(--radio-size-sm);--radio-icon-size-xs: calc(.375rem * var(--mantine-scale));--radio-icon-size-sm: calc(.5rem * var(--mantine-scale));--radio-icon-size-md: calc(.625rem * var(--mantine-scale));--radio-icon-size-lg: calc(.875rem * var(--mantine-scale));--radio-icon-size-xl: calc(1rem * var(--mantine-scale));--radio-icon-size: var(--radio-icon-size-sm);--radio-icon-color: var(--mantine-color-white)}.m_89c4f5e4{position:relative;width:var(--radio-size);height:var(--radio-size);order:1}.m_89c4f5e4:where([data-label-position=left]){order:2}.m_f3ed6b2b{color:var(--radio-icon-color);opacity:var(--radio-icon-opacity, 0);transform:var(--radio-icon-transform, scale(.2) translateY(calc(.625rem * var(--mantine-scale))));transition:opacity .1s ease,transform .2s ease;pointer-events:none;width:var(--radio-icon-size);height:var(--radio-icon-size);position:absolute;top:calc(50% - var(--radio-icon-size) / 2);left:calc(50% - var(--radio-icon-size) / 2)}.m_8a3dbb89{border:calc(.0625rem * var(--mantine-scale)) solid;position:relative;appearance:none;width:var(--radio-size);height:var(--radio-size);border-radius:var(--radio-radius, var(--radio-size));margin:0;display:flex;align-items:center;justify-content:center;transition-property:background-color,border-color;transition-timing-function:ease;transition-duration:.1s;cursor:var(--mantine-cursor-type);-webkit-tap-highlight-color:transparent}:where([data-mantine-color-scheme=light]) .m_8a3dbb89{background-color:var(--mantine-color-white);border-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_8a3dbb89{background-color:var(--mantine-color-dark-6);border-color:var(--mantine-color-dark-4)}.m_8a3dbb89:checked{background-color:var(--radio-color, var(--mantine-primary-color-filled));border-color:var(--radio-color, var(--mantine-primary-color-filled))}.m_8a3dbb89:checked+.m_f3ed6b2b{--radio-icon-opacity: 1;--radio-icon-transform: scale(1)}.m_8a3dbb89:disabled{cursor:not-allowed;background-color:var(--mantine-color-disabled);border-color:var(--mantine-color-disabled-border)}.m_8a3dbb89:disabled+.m_f3ed6b2b{--radio-icon-color: var(--mantine-color-disabled-color)}.m_8a3dbb89:where([data-error]){border-color:var(--mantine-color-error)}.m_1bfe9d39+.m_f3ed6b2b{--radio-icon-color: var(--radio-color)}.m_1bfe9d39:checked:not(:disabled){background-color:transparent;border-color:var(--radio-color)}.m_1bfe9d39:checked:not(:disabled)+.m_f3ed6b2b{--radio-icon-color: var(--radio-color);--radio-icon-opacity: 1;--radio-icon-transform: none}.m_f8d312f2{--rating-size-xs: calc(.875rem * var(--mantine-scale));--rating-size-sm: calc(1.125rem * var(--mantine-scale));--rating-size-md: calc(1.25rem * var(--mantine-scale));--rating-size-lg: calc(1.75rem * var(--mantine-scale));--rating-size-xl: calc(2rem * var(--mantine-scale));display:flex;width:max-content}.m_f8d312f2:where(:has(input:disabled)){pointer-events:none}.m_61734bb7{position:relative;transition:transform .1s ease}.m_61734bb7:where([data-active]){z-index:1;transform:scale(1.1)}.m_5662a89a{width:var(--rating-size);height:var(--rating-size);display:block}:where([data-mantine-color-scheme=light]) .m_5662a89a{fill:var(--mantine-color-gray-3);stroke:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_5662a89a{fill:var(--mantine-color-dark-3);stroke:var(--mantine-color-dark-3)}.m_5662a89a:where([data-filled]){fill:var(--rating-color);stroke:var(--rating-color)}.m_211007ba{height:0;width:0;position:absolute;overflow:hidden;white-space:nowrap;opacity:0;-webkit-tap-highlight-color:transparent}.m_211007ba:focus-visible+label{outline:2px solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}.m_21342ee4{display:block;cursor:pointer;position:absolute;top:0;left:0;z-index:var(--rating-item-z-index, 0);-webkit-tap-highlight-color:transparent}.m_21342ee4:where([data-read-only]){cursor:default}.m_21342ee4:where(:last-of-type){position:relative}.m_fae05d6a{clip-path:var(--rating-symbol-clip-path)}.m_1b3c8819{--tooltip-radius: var(--mantine-radius-default);position:absolute;padding:calc(var(--mantine-spacing-xs) / 2) var(--mantine-spacing-xs);pointer-events:none;font-size:var(--mantine-font-size-sm);white-space:nowrap;border-radius:var(--tooltip-radius)}:where([data-mantine-color-scheme=light]) .m_1b3c8819{background-color:var(--tooltip-bg, var(--mantine-color-gray-9));color:var(--tooltip-color, var(--mantine-color-white))}:where([data-mantine-color-scheme=dark]) .m_1b3c8819{background-color:var(--tooltip-bg, var(--mantine-color-gray-2));color:var(--tooltip-color, var(--mantine-color-black))}.m_1b3c8819:where([data-multiline]){white-space:normal}.m_1b3c8819:where([data-fixed]){position:fixed}.m_f898399f{background-color:inherit;border:0;z-index:1}.m_b32e4812{position:relative;width:var(--rp-size);height:var(--rp-size);min-width:var(--rp-size);min-height:var(--rp-size);--rp-transition-duration: 0ms}.m_d43b5134{width:var(--rp-size);height:var(--rp-size);min-width:var(--rp-size);min-height:var(--rp-size);transform:rotate(-90deg)}.m_b1ca1fbf{stroke:var(--curve-color, var(--rp-curve-root-color));transition:stroke-dashoffset var(--rp-transition-duration) ease,stroke-dasharray var(--rp-transition-duration) ease,stroke var(--rp-transition-duration)}[data-mantine-color-scheme=light] .m_b1ca1fbf{--rp-curve-root-color: var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .m_b1ca1fbf{--rp-curve-root-color: var(--mantine-color-dark-4)}.m_b23f9dc4{position:absolute;top:50%;transform:translateY(-50%);inset-inline:var(--rp-label-offset)}.m_cf365364{--sc-padding-xs: calc(.125rem * var(--mantine-scale)) calc(.375rem * var(--mantine-scale));--sc-padding-sm: calc(.1875rem * var(--mantine-scale)) calc(.625rem * var(--mantine-scale));--sc-padding-md: calc(.25rem * var(--mantine-scale)) calc(.875rem * var(--mantine-scale));--sc-padding-lg: calc(.4375rem * var(--mantine-scale)) calc(1rem * var(--mantine-scale));--sc-padding-xl: calc(.625rem * var(--mantine-scale)) calc(1.25rem * var(--mantine-scale));--sc-transition-duration: .2s;--sc-padding: var(--sc-padding-sm);--sc-transition-timing-function: ease;--sc-font-size: var(--mantine-font-size-sm);position:relative;display:inline-flex;flex-direction:row;width:auto;border-radius:var(--sc-radius, var(--mantine-radius-default));overflow:hidden;padding:calc(.25rem * var(--mantine-scale))}.m_cf365364:where([data-full-width]){display:flex}.m_cf365364:where([data-orientation=vertical]){display:flex;flex-direction:column;width:max-content}.m_cf365364:where([data-orientation=vertical]):where([data-full-width]){width:auto}:where([data-mantine-color-scheme=light]) .m_cf365364{background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_cf365364{background-color:var(--mantine-color-dark-8)}.m_9e182ccd{position:absolute;display:block;z-index:1;border-radius:var(--sc-radius, var(--mantine-radius-default))}:where([data-mantine-color-scheme=light]) .m_9e182ccd{box-shadow:var(--sc-shadow, none);background-color:var(--sc-color, var(--mantine-color-white))}:where([data-mantine-color-scheme=dark]) .m_9e182ccd{box-shadow:none;background-color:var(--sc-color, var(--mantine-color-dark-5))}.m_1738fcb2{-webkit-tap-highlight-color:transparent;font-weight:500;display:block;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;user-select:none;border-radius:var(--sc-radius, var(--mantine-radius-default));font-size:var(--sc-font-size);padding:var(--sc-padding);transition:color var(--sc-transition-duration) var(--sc-transition-timing-function);cursor:pointer;outline:var(--segmented-control-outline, none)}:where([data-mantine-color-scheme=light]) .m_1738fcb2{color:var(--mantine-color-gray-7)}:where([data-mantine-color-scheme=dark]) .m_1738fcb2{color:var(--mantine-color-dark-1)}.m_1738fcb2:where([data-read-only]){cursor:default}fieldset:disabled .m_1738fcb2,.m_1738fcb2:where([data-disabled]){cursor:not-allowed;color:var(--mantine-color-disabled-color)}:where([data-mantine-color-scheme=light]) .m_1738fcb2:where([data-active]){color:var(--sc-label-color, var(--mantine-color-black))}:where([data-mantine-color-scheme=dark]) .m_1738fcb2:where([data-active]){color:var(--sc-label-color, var(--mantine-color-white))}.m_cf365364:where([data-initialized]) .m_1738fcb2:where([data-active]):before{display:none}.m_1738fcb2:where([data-active]):before{content:"";inset:0;z-index:0;position:absolute;border-radius:var(--sc-radius, var(--mantine-radius-default))}:where([data-mantine-color-scheme=light]) .m_1738fcb2:where([data-active]):before{box-shadow:var(--sc-shadow, none);background-color:var(--sc-color, var(--mantine-color-white))}:where([data-mantine-color-scheme=dark]) .m_1738fcb2:where([data-active]):before{box-shadow:none;background-color:var(--sc-color, var(--mantine-color-dark-5))}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_1738fcb2:where(:not([data-disabled],[data-active],[data-read-only])):hover{color:var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_1738fcb2:where(:not([data-disabled],[data-active],[data-read-only])):hover{color:var(--mantine-color-white)}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_1738fcb2:where(:not([data-disabled],[data-active],[data-read-only])):active{color:var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_1738fcb2:where(:not([data-disabled],[data-active],[data-read-only])):active{color:var(--mantine-color-white)}}@media (hover: hover){fieldset:disabled .m_1738fcb2:hover{color:var(--mantine-color-disabled-color)!important}}@media (hover: none){fieldset:disabled .m_1738fcb2:active{color:var(--mantine-color-disabled-color)!important}}.m_1714d588{height:0;width:0;position:absolute;overflow:hidden;white-space:nowrap;opacity:0}.m_1714d588[data-focus-ring=auto]:focus:focus-visible+.m_1738fcb2{--segmented-control-outline: 2px solid var(--mantine-primary-color-filled)}.m_1714d588[data-focus-ring=always]:focus+.m_1738fcb2{--segmented-control-outline: 2px solid var(--mantine-primary-color-filled)}.m_69686b9b{position:relative;flex:1;z-index:2;transition:border-color var(--sc-transition-duration) var(--sc-transition-timing-function)}.m_cf365364[data-with-items-borders] :where(.m_69686b9b):before{content:"";position:absolute;top:0;bottom:0;inset-inline-start:0;background-color:var(--separator-color);width:calc(.0625rem * var(--mantine-scale));transition:background-color var(--sc-transition-duration) var(--sc-transition-timing-function)}.m_69686b9b[data-orientation=vertical]:before{top:0;inset-inline:0;bottom:auto;height:calc(.0625rem * var(--mantine-scale));width:auto}:where([data-mantine-color-scheme=light]) .m_69686b9b{--separator-color: var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_69686b9b{--separator-color: var(--mantine-color-dark-4)}.m_69686b9b:first-of-type:before{--separator-color: transparent}[data-mantine-color-scheme] .m_69686b9b[data-active]:before,[data-mantine-color-scheme] .m_69686b9b[data-active]+.m_69686b9b:before{--separator-color: transparent}.m_78882f40{position:relative;z-index:2}.m_fa528724{--scp-filled-segment-color: var(--mantine-primary-color-filled);--scp-transition-duration: 0ms;--scp-thickness: calc(.625rem * var(--mantine-scale))}:where([data-mantine-color-scheme=light]) .m_fa528724{--scp-empty-segment-color: var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_fa528724{--scp-empty-segment-color: var(--mantine-color-dark-4)}.m_fa528724{position:relative;width:fit-content}.m_62e9e7e2{display:block;transform:var(--scp-rotation);overflow:hidden}.m_c573fb6f{transition:stroke-dashoffset var(--scp-transition-duration) ease,stroke-dasharray var(--scp-transition-duration) ease,stroke var(--scp-transition-duration)}.m_4fa340f2{position:absolute;margin:0;padding:0;inset-inline:0;text-align:center;z-index:1}.m_4fa340f2:where([data-position=bottom]){bottom:0;padding-inline:calc(var(--scp-thickness) * 2)}.m_4fa340f2:where([data-position=bottom]):where([data-orientation=down]){bottom:auto;top:0}.m_4fa340f2:where([data-position=center]){top:50%;padding-inline:calc(var(--scp-thickness) * 3)}.m_925c2d2c{container:simple-grid / inline-size}.m_2415a157{display:grid;grid-template-columns:repeat(var(--sg-cols),minmax(0,1fr));gap:var(--sg-spacing-y) var(--sg-spacing-x)}@keyframes m_299c329c{0%,to{opacity:.4}50%{opacity:1}}.m_18320242{height:var(--skeleton-height, auto);width:var(--skeleton-width, 100%);border-radius:var(--skeleton-radius, var(--mantine-radius-default));position:relative;transform:translateZ(0);-webkit-transform:translateZ(0)}.m_18320242:where([data-animate]):after{animation:m_299c329c 1.5s linear infinite}.m_18320242:where([data-visible]){overflow:hidden}.m_18320242:where([data-visible]):before{position:absolute;content:"";inset:0;z-index:10;background-color:var(--mantine-color-body)}.m_18320242:where([data-visible]):after{position:absolute;content:"";inset:0;z-index:11}:where([data-mantine-color-scheme=light]) .m_18320242:where([data-visible]):after{background-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_18320242:where([data-visible]):after{background-color:var(--mantine-color-dark-4)}.m_dd36362e{--slider-size-xs: calc(.25rem * var(--mantine-scale));--slider-size-sm: calc(.375rem * var(--mantine-scale));--slider-size-md: calc(.5rem * var(--mantine-scale));--slider-size-lg: calc(.625rem * var(--mantine-scale));--slider-size-xl: calc(.75rem * var(--mantine-scale));--slider-size: var(--slider-size-md);--slider-radius: calc(62.5rem * var(--mantine-scale));--slider-color: var(--mantine-primary-color-filled);--slider-track-disabled-bg: var(--mantine-color-disabled);-webkit-tap-highlight-color:transparent;outline:none;height:calc(var(--slider-size) * 2);padding-inline:var(--slider-size);display:flex;flex-direction:column;align-items:center;touch-action:none;position:relative}[data-mantine-color-scheme=light] .m_dd36362e{--slider-track-bg: var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .m_dd36362e{--slider-track-bg: var(--mantine-color-dark-4)}.m_c9357328{position:absolute;top:calc(-2.25rem * var(--mantine-scale));font-size:var(--mantine-font-size-xs);color:var(--mantine-color-white);padding:calc(var(--mantine-spacing-xs) / 2);border-radius:var(--mantine-radius-sm);white-space:nowrap;pointer-events:none;user-select:none;touch-action:none}:where([data-mantine-color-scheme=light]) .m_c9357328{background-color:var(--mantine-color-gray-9)}:where([data-mantine-color-scheme=dark]) .m_c9357328{background-color:var(--mantine-color-dark-4)}.m_c9a9a60a{position:absolute;display:flex;height:var(--slider-thumb-size);width:var(--slider-thumb-size);border:calc(.25rem * var(--mantine-scale)) solid;transform:translate(-50%,-50%);top:50%;cursor:pointer;border-radius:var(--slider-radius);align-items:center;justify-content:center;transition:box-shadow .1s ease,transform .1s ease;z-index:3;user-select:none;touch-action:none;outline-offset:calc(.125rem * var(--mantine-scale));left:var(--slider-thumb-offset)}:where([dir=rtl]) .m_c9a9a60a{left:auto;right:calc(var(--slider-thumb-offset) - var(--slider-thumb-size))}fieldset:disabled .m_c9a9a60a,.m_c9a9a60a:where([data-disabled]){display:none}.m_c9a9a60a:where([data-dragging]){transform:translate(-50%,-50%) scale(1.05);box-shadow:var(--mantine-shadow-sm)}:where([data-mantine-color-scheme=light]) .m_c9a9a60a{color:var(--slider-color);border-color:var(--slider-color);background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_c9a9a60a{color:var(--mantine-color-white);border-color:var(--mantine-color-white);background-color:var(--slider-color)}.m_a8645c2{display:flex;align-items:center;width:100%;height:calc(var(--slider-size) * 2);cursor:pointer}fieldset:disabled .m_a8645c2,.m_a8645c2:where([data-disabled]){cursor:not-allowed}.m_c9ade57f{position:relative;width:100%;height:var(--slider-size)}.m_c9ade57f:where([data-inverted]:not([data-disabled])){--track-bg: var(--slider-color)}fieldset:disabled .m_c9ade57f:where([data-inverted]),.m_c9ade57f:where([data-inverted][data-disabled]){--track-bg: var(--slider-track-disabled-bg)}.m_c9ade57f:before{content:"";position:absolute;top:0;bottom:0;border-radius:var(--slider-radius);inset-inline:calc(var(--slider-size) * -1);background-color:var(--track-bg, var(--slider-track-bg));z-index:0}.m_38aeed47{position:absolute;z-index:1;top:0;bottom:0;background-color:var(--slider-color);border-radius:var(--slider-radius);width:var(--slider-bar-width);inset-inline-start:var(--slider-bar-offset)}.m_38aeed47:where([data-inverted]){background-color:var(--slider-track-bg)}fieldset:disabled .m_38aeed47:where(:not([data-inverted])),.m_38aeed47:where([data-disabled]:not([data-inverted])){background-color:var(--mantine-color-disabled-color)}.m_b7b0423a{position:absolute;inset-inline-start:calc(var(--mark-offset) - var(--slider-size) / 2);top:0;z-index:2;height:0;pointer-events:none}.m_dd33bc19{border:calc(.125rem * var(--mantine-scale)) solid;height:var(--slider-size);width:var(--slider-size);border-radius:calc(62.5rem * var(--mantine-scale));background-color:var(--mantine-color-white);pointer-events:none}:where([data-mantine-color-scheme=light]) .m_dd33bc19{border-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_dd33bc19{border-color:var(--mantine-color-dark-4)}.m_dd33bc19:where([data-filled]){border-color:var(--slider-color)}.m_dd33bc19:where([data-filled]):where([data-disabled]){border-color:var(--mantine-color-disabled-border)}.m_68c77a5b{transform:translate(calc(-50% + var(--slider-size) / 2),calc(var(--mantine-spacing-xs) / 2));font-size:var(--mantine-font-size-sm);white-space:nowrap;cursor:pointer;user-select:none}:where([data-mantine-color-scheme=light]) .m_68c77a5b{color:var(--mantine-color-gray-6)}:where([data-mantine-color-scheme=dark]) .m_68c77a5b{color:var(--mantine-color-dark-2)}.m_559cce2d{position:relative}.m_559cce2d:where([data-has-spoiler]){margin-bottom:calc(1.5rem * var(--mantine-scale))}.m_b912df4e{display:flex;flex-direction:column;overflow:hidden;transition:max-height var(--spoiler-transition-duration, .2s) ease}.m_b9131032{position:absolute;inset-inline-start:0;top:100%;height:calc(1.5rem * var(--mantine-scale))}.m_6d731127{display:flex;flex-direction:column;align-items:var(--stack-align, stretch);justify-content:var(--stack-justify, flex-start);gap:var(--stack-gap, var(--mantine-spacing-md))}.m_cbb4ea7e{--stepper-icon-size-xs: calc(2.125rem * var(--mantine-scale));--stepper-icon-size-sm: calc(2.25rem * var(--mantine-scale));--stepper-icon-size-md: calc(2.625rem * var(--mantine-scale));--stepper-icon-size-lg: calc(3rem * var(--mantine-scale));--stepper-icon-size-xl: calc(3.25rem * var(--mantine-scale));--stepper-icon-size: var(--stepper-icon-size-md);--stepper-color: var(--mantine-primary-color-filled);--stepper-content-padding: var(--mantine-spacing-md);--stepper-spacing: var(--mantine-spacing-md);--stepper-radius: calc(62.5rem * var(--mantine-scale));--stepper-fz: var(--mantine-font-size-md);--stepper-outline-thickness: calc(.125rem * var(--mantine-scale))}[data-mantine-color-scheme=light] .m_cbb4ea7e{--stepper-outline-color: var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .m_cbb4ea7e{--stepper-outline-color: var(--mantine-color-dark-5)}.m_aaf89d0b{display:flex;flex-wrap:nowrap;align-items:center}.m_aaf89d0b:where([data-wrap]){flex-wrap:wrap;gap:var(--mantine-spacing-md) 0}.m_aaf89d0b:where([data-orientation=vertical]){flex-direction:column}.m_aaf89d0b:where([data-orientation=vertical]):where([data-icon-position=left]){align-items:flex-start}.m_aaf89d0b:where([data-orientation=vertical]):where([data-icon-position=right]){align-items:flex-end}.m_aaf89d0b:where([data-orientation=horizontal]){flex-direction:row}.m_2a371ac9{transition:background-color .15s ease;flex:1;height:var(--stepper-outline-thickness);margin-inline:var(--mantine-spacing-md);background-color:var(--stepper-outline-color)}.m_2a371ac9:where([data-active]){background-color:var(--stepper-color)}.m_78da155d{padding-top:var(--stepper-content-padding)}.m_cbb57068{--step-color: var(--stepper-color);display:flex;cursor:default}.m_cbb57068:where([data-allow-click]){cursor:pointer}.m_cbb57068:where([data-icon-position=left]){flex-direction:row}.m_cbb57068:where([data-icon-position=right]){flex-direction:row-reverse}.m_f56b1e2c{align-items:center}.m_833edb7e{--separator-spacing: calc(var(--mantine-spacing-xs) / 2);justify-content:flex-start;min-height:calc(var(--stepper-icon-size) + var(--mantine-spacing-xl) + var(--separator-spacing));margin-top:var(--separator-spacing);overflow:hidden}.m_833edb7e:where(:first-of-type){margin-top:0}.m_833edb7e:where(:last-of-type){min-height:auto}.m_833edb7e:where(:last-of-type) .m_6496b3f3{display:none}.m_818e70b{position:relative}.m_6496b3f3{top:calc(var(--stepper-icon-size) + var(--separator-spacing));inset-inline-start:calc(var(--stepper-icon-size) / 2);height:100vh;position:absolute;border-inline-start:var(--stepper-outline-thickness) solid var(--stepper-outline-color)}.m_6496b3f3:where([data-active]){border-color:var(--stepper-color)}.m_1959ad01{height:var(--stepper-icon-size);width:var(--stepper-icon-size);min-height:var(--stepper-icon-size);min-width:var(--stepper-icon-size);border-radius:var(--stepper-radius);font-size:var(--stepper-fz);display:flex;align-items:center;justify-content:center;position:relative;font-weight:700;transition:background-color .15s ease,border-color .15s ease;border:var(--stepper-outline-thickness) solid var(--stepper-outline-color);background-color:var(--stepper-outline-color)}:where([data-mantine-color-scheme=light]) .m_1959ad01{color:var(--mantine-color-gray-7)}:where([data-mantine-color-scheme=dark]) .m_1959ad01{color:var(--mantine-color-dark-1)}.m_1959ad01:where([data-progress]){border-color:var(--step-color)}.m_1959ad01:where([data-completed]){color:var(--stepper-icon-color, var(--mantine-color-white));background-color:var(--step-color);border-color:var(--step-color)}.m_a79331dc{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--stepper-icon-color, var(--mantine-color-white))}.m_1956aa2a{display:flex;flex-direction:column}.m_1956aa2a:where([data-icon-position=left]){margin-inline-start:var(--mantine-spacing-sm)}.m_1956aa2a:where([data-icon-position=right]){text-align:right;margin-inline-end:var(--mantine-spacing-sm)}:where([dir=rtl]) .m_1956aa2a:where([data-icon-position=right]){text-align:left}.m_12051f6c{font-weight:500;font-size:var(--stepper-fz);line-height:1}.m_164eea74{margin-top:calc(var(--stepper-spacing) / 3);margin-bottom:calc(var(--stepper-spacing) / 3);font-size:calc(var(--stepper-fz) - calc(.125rem * var(--mantine-scale)));line-height:1;color:var(--mantine-color-dimmed)}.m_5f93f3bb{--switch-height-xs: calc(1rem * var(--mantine-scale));--switch-height-sm: calc(1.25rem * var(--mantine-scale));--switch-height-md: calc(1.5rem * var(--mantine-scale));--switch-height-lg: calc(1.875rem * var(--mantine-scale));--switch-height-xl: calc(2.25rem * var(--mantine-scale));--switch-width-xs: calc(2rem * var(--mantine-scale));--switch-width-sm: calc(2.375rem * var(--mantine-scale));--switch-width-md: calc(2.875rem * var(--mantine-scale));--switch-width-lg: calc(3.5rem * var(--mantine-scale));--switch-width-xl: calc(4.5rem * var(--mantine-scale));--switch-thumb-size-xs: calc(.75rem * var(--mantine-scale));--switch-thumb-size-sm: calc(.875rem * var(--mantine-scale));--switch-thumb-size-md: calc(1.125rem * var(--mantine-scale));--switch-thumb-size-lg: calc(1.375rem * var(--mantine-scale));--switch-thumb-size-xl: calc(1.75rem * var(--mantine-scale));--switch-label-font-size-xs: calc(.3125rem * var(--mantine-scale));--switch-label-font-size-sm: calc(.375rem * var(--mantine-scale));--switch-label-font-size-md: calc(.4375rem * var(--mantine-scale));--switch-label-font-size-lg: calc(.5625rem * var(--mantine-scale));--switch-label-font-size-xl: calc(.6875rem * var(--mantine-scale));--switch-track-label-padding-xs: calc(.125rem * var(--mantine-scale));--switch-track-label-padding-sm: calc(.15625rem * var(--mantine-scale));--switch-track-label-padding-md: calc(.1875rem * var(--mantine-scale));--switch-track-label-padding-lg: calc(.1875rem * var(--mantine-scale));--switch-track-label-padding-xl: calc(.21875rem * var(--mantine-scale));--switch-height: var(--switch-height-sm);--switch-width: var(--switch-width-sm);--switch-thumb-size: var(--switch-thumb-size-sm);--switch-label-font-size: var(--switch-label-font-size-sm);--switch-track-label-padding: var(--switch-track-label-padding-sm);--switch-radius: calc(62.5rem * var(--mantine-scale));--switch-color: var(--mantine-primary-color-filled);--switch-disabled-color: var(--mantine-color-disabled);position:relative}.m_926b4011{height:0;width:0;opacity:0;margin:0;padding:0;position:absolute;overflow:hidden;white-space:nowrap}.m_9307d992{-webkit-tap-highlight-color:transparent;cursor:var(--switch-cursor, var(--mantine-cursor-type));overflow:hidden;position:relative;border-radius:var(--switch-radius);background-color:var(--switch-bg);height:var(--switch-height);min-width:var(--switch-width);margin:0;transition:background-color .15s ease,border-color .15s ease;appearance:none;display:flex;align-items:center;font-size:var(--switch-label-font-size);font-weight:600;order:var(--switch-order, 1);user-select:none;z-index:0;line-height:0;color:var(--switch-text-color)}.m_9307d992:where([data-without-labels]){width:var(--switch-width)}.m_926b4011:focus-visible+.m_9307d992{outline:2px solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}.m_926b4011:checked+.m_9307d992{--switch-bg: var(--switch-color);--switch-text-color: var(--mantine-color-white)}.m_926b4011:disabled+.m_9307d992,.m_926b4011[data-disabled]+.m_9307d992{--switch-bg: var(--switch-disabled-color);--switch-cursor: not-allowed}[data-mantine-color-scheme=light] .m_9307d992{--switch-bg: var(--mantine-color-gray-3);--switch-text-color: var(--mantine-color-gray-6)}[data-mantine-color-scheme=dark] .m_9307d992{--switch-bg: var(--mantine-color-dark-5);--switch-text-color: var(--mantine-color-dark-1)}.m_9307d992[data-label-position=left]{--switch-order: 2}.m_93039a1d{position:absolute;z-index:1;border-radius:var(--switch-radius);display:flex;background-color:var(--switch-thumb-bg, var(--mantine-color-white));height:var(--switch-thumb-size);width:var(--switch-thumb-size);inset-inline-start:var(--switch-thumb-start, var(--switch-track-label-padding));transition:inset-inline-start .15s ease}.m_93039a1d:where([data-with-thumb-indicator]):before{content:"";width:40%;height:40%;background-color:var(--switch-bg);position:absolute;border-radius:var(--switch-radius);top:50%;left:50%;transform:translate(-50%,-50%)}.m_93039a1d>*{margin:auto}.m_926b4011:checked+*>.m_93039a1d{--switch-thumb-start: calc(100% - var(--switch-thumb-size) - var(--switch-track-label-padding))}.m_926b4011:disabled+*>.m_93039a1d,.m_926b4011[data-disabled]+*>.m_93039a1d{--switch-thumb-bg: var(--switch-thumb-bg-disabled)}[data-mantine-color-scheme=light] .m_93039a1d{--switch-thumb-bg-disabled: var(--mantine-color-gray-0)}[data-mantine-color-scheme=dark] .m_93039a1d{--switch-thumb-bg-disabled: var(--mantine-color-dark-3)}.m_8277e082{height:100%;display:grid;place-content:center;min-width:calc(var(--switch-width) - var(--switch-thumb-size));padding-inline:var(--switch-track-label-padding);margin-inline-start:calc(var(--switch-thumb-size) + var(--switch-track-label-padding));transition:margin .15s ease}.m_926b4011:checked+*>.m_8277e082{margin-inline-end:calc(var(--switch-thumb-size) + var(--switch-track-label-padding));margin-inline-start:0}.m_b23fa0ef{width:100%;border-collapse:collapse;border-spacing:0;line-height:var(--mantine-line-height);font-size:var(--mantine-font-size-sm);table-layout:var(--table-layout, auto);caption-side:var(--table-caption-side, bottom);border:none}:where([data-mantine-color-scheme=light]) .m_b23fa0ef{--table-hover-color: var(--mantine-color-gray-1);--table-striped-color: var(--mantine-color-gray-0);--table-border-color: var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_b23fa0ef{--table-hover-color: var(--mantine-color-dark-5);--table-striped-color: var(--mantine-color-dark-6);--table-border-color: var(--mantine-color-dark-4)}.m_b23fa0ef:where([data-with-table-border]){border:calc(.0625rem * var(--mantine-scale)) solid var(--table-border-color)}.m_b23fa0ef:where([data-tabular-nums]){font-variant-numeric:tabular-nums}.m_b23fa0ef:where([data-variant=vertical]) :where(.m_4e7aa4f3){font-weight:500}:where([data-mantine-color-scheme=light]) .m_b23fa0ef:where([data-variant=vertical]) :where(.m_4e7aa4f3){background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_b23fa0ef:where([data-variant=vertical]) :where(.m_4e7aa4f3){background-color:var(--mantine-color-dark-6)}.m_4e7aa4f3{text-align:left}:where([dir=rtl]) .m_4e7aa4f3{text-align:right}.m_4e7aa4fd{border-bottom:none;background-color:transparent}@media (hover: hover){.m_4e7aa4fd:hover:where([data-hover]){background-color:var(--tr-hover-bg)}}@media (hover: none){.m_4e7aa4fd:active:where([data-hover]){background-color:var(--tr-hover-bg)}}.m_4e7aa4fd:where([data-with-row-border]){border-bottom:calc(.0625rem * var(--mantine-scale)) solid var(--table-border-color)}.m_4e7aa4ef,.m_4e7aa4f3{padding:var(--table-vertical-spacing) var(--table-horizontal-spacing, var(--mantine-spacing-xs))}.m_4e7aa4ef:where([data-with-column-border]:not(:first-child)),.m_4e7aa4f3:where([data-with-column-border]:not(:first-child)){border-inline-start:calc(.0625rem * var(--mantine-scale)) solid var(--table-border-color)}.m_4e7aa4ef:where([data-with-column-border]:not(:last-child)),.m_4e7aa4f3:where([data-with-column-border]:not(:last-child)){border-inline-end:calc(.0625rem * var(--mantine-scale)) solid var(--table-border-color)}.m_b2404537>:where(tr):where([data-with-row-border]:last-of-type){border-bottom:none}.m_b2404537>:where(tr):where([data-striped=odd]:nth-of-type(odd)){background-color:var(--table-striped-color)}.m_b2404537>:where(tr):where([data-striped=even]:nth-of-type(2n)){background-color:var(--table-striped-color)}.m_b2404537>:where(tr)[data-hover]{--tr-hover-bg: var(--table-highlight-on-hover-color, var(--table-hover-color))}.m_b242d975{top:var(--table-sticky-header-offset, 0);z-index:3}.m_b242d975:where([data-sticky]){position:sticky}.m_b242d975:where([data-sticky]) :where(.m_4e7aa4f3){position:sticky;top:var(--table-sticky-header-offset, 0);background-color:var(--mantine-color-body)}:where([data-with-table-border]) .m_b242d975[data-sticky]{position:sticky;top:var(--table-sticky-header-offset, 0);z-index:4;border-top:none}:where([data-with-table-border]) .m_b242d975[data-sticky]:before{content:"";display:block;position:absolute;left:0;top:calc(-.03125rem * var(--mantine-scale));width:100%;height:calc(.0625rem * var(--mantine-scale));background-color:var(--table-border-color);z-index:5}:where([data-with-table-border]) .m_b242d975[data-sticky] .m_4e7aa4f3:first-child{border-top:none}.m_9e5a3ac7{color:var(--mantine-color-dimmed)}.m_9e5a3ac7:where([data-side=top]){margin-bottom:var(--mantine-spacing-xs)}.m_9e5a3ac7:where([data-side=bottom]){margin-top:var(--mantine-spacing-xs)}.m_a100c15{overflow-x:var(--table-overflow)}.m_62259741{min-width:var(--table-min-width);max-height:var(--table-max-height)}.m_bcaa9990{display:flex;flex-direction:column;--toc-depth-offset: .8em}.m_375a65ef{display:block;padding:.3em .8em;font-size:var(--toc-size, var(--mantine-font-size-md));border-radius:var(--toc-radius, var(--mantine-radius-default));padding-left:max(calc(var(--depth-offset) * var(--toc-depth-offset)),.8em)}@media (hover: hover){:where([data-mantine-color-scheme=light]) .m_375a65ef:where(:hover):where(:not([data-variant=none])){background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_375a65ef:where(:hover):where(:not([data-variant=none])){background-color:var(--mantine-color-dark-5)}}@media (hover: none){:where([data-mantine-color-scheme=light]) .m_375a65ef:where(:active):where(:not([data-variant=none])){background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_375a65ef:where(:active):where(:not([data-variant=none])){background-color:var(--mantine-color-dark-5)}}.m_375a65ef:where([data-active]){background-color:var(--toc-bg);color:var(--toc-color)}[data-mantine-color-scheme=light] .m_89d60db1{--tab-border-color: var(--mantine-color-gray-3)}[data-mantine-color-scheme=dark] .m_89d60db1{--tab-border-color: var(--mantine-color-dark-4)}.m_89d60db1{display:var(--tabs-display);flex-direction:var(--tabs-flex-direction);--tabs-list-direction: row;--tabs-panel-grow: unset;--tabs-display: block;--tabs-flex-direction: row;--tabs-list-border-width: 0;--tabs-list-border-size: 0 0 var(--tabs-list-border-width) 0;--tabs-list-gap: unset;--tabs-list-line-bottom: 0;--tabs-list-line-top: unset;--tabs-list-line-start: 0;--tabs-list-line-end: 0;--tab-radius: var(--tabs-radius) var(--tabs-radius) 0 0;--tab-border-width: 0 0 var(--tabs-list-border-width) 0}.m_89d60db1[data-inverted]{--tabs-list-line-bottom: unset;--tabs-list-line-top: 0;--tab-radius: 0 0 var(--tabs-radius) var(--tabs-radius);--tab-border-width: var(--tabs-list-border-width) 0 0 0}.m_89d60db1[data-inverted] .m_576c9d4:before{top:0;bottom:unset}.m_89d60db1[data-orientation=vertical]{--tabs-list-line-start: unset;--tabs-list-line-end: 0;--tabs-list-line-top: 0;--tabs-list-line-bottom: 0;--tabs-list-border-size: 0 var(--tabs-list-border-width) 0 0;--tab-border-width: 0 var(--tabs-list-border-width) 0 0;--tab-radius: var(--tabs-radius) 0 0 var(--tabs-radius);--tabs-list-direction: column;--tabs-panel-grow: 1;--tabs-display: flex}[dir=rtl] .m_89d60db1[data-orientation=vertical]{--tabs-list-border-size: 0 0 0 var(--tabs-list-border-width);--tab-border-width: 0 0 0 var(--tabs-list-border-width);--tab-radius: 0 var(--tabs-radius) var(--tabs-radius) 0}.m_89d60db1[data-orientation=vertical][data-placement=right]{--tabs-flex-direction: row-reverse;--tabs-list-line-start: 0;--tabs-list-line-end: unset;--tabs-list-border-size: 0 0 0 var(--tabs-list-border-width);--tab-border-width: 0 0 0 var(--tabs-list-border-width);--tab-radius: 0 var(--tabs-radius) var(--tabs-radius) 0}[dir=rtl] .m_89d60db1[data-orientation=vertical][data-placement=right]{--tabs-list-border-size: 0 var(--tabs-list-border-width) 0 0;--tab-border-width: 0 var(--tabs-list-border-width) 0 0;--tab-radius: var(--tabs-radius) 0 0 var(--tabs-radius)}.m_89d60db1[data-variant=default]{--tabs-list-border-width: calc(.125rem * var(--mantine-scale))}[data-mantine-color-scheme=light] .m_89d60db1[data-variant=default]{--tab-hover-color: var(--mantine-color-gray-0)}[data-mantine-color-scheme=dark] .m_89d60db1[data-variant=default]{--tab-hover-color: var(--mantine-color-dark-6)}.m_89d60db1[data-variant=outline]{--tabs-list-border-width: calc(.0625rem * var(--mantine-scale))}.m_89d60db1[data-variant=pills]{--tabs-list-gap: calc(var(--mantine-spacing-sm) / 2)}[data-mantine-color-scheme=light] .m_89d60db1[data-variant=pills]{--tab-hover-color: var(--mantine-color-gray-0)}[data-mantine-color-scheme=dark] .m_89d60db1[data-variant=pills]{--tab-hover-color: var(--mantine-color-dark-6)}.m_89d33d6d{display:flex;flex-wrap:wrap;justify-content:var(--tabs-justify, flex-start);flex-direction:var(--tabs-list-direction);gap:var(--tabs-list-gap)}.m_89d33d6d:where([data-grow]) .m_4ec4dce6{flex:1}.m_b0c91715{flex-grow:var(--tabs-panel-grow)}.m_4ec4dce6{position:relative;padding:var(--mantine-spacing-xs) var(--mantine-spacing-md);font-size:var(--mantine-font-size-sm);white-space:nowrap;z-index:0;display:flex;align-items:center;line-height:1;user-select:none}.m_4ec4dce6:where(:disabled,[data-disabled]){opacity:.5;cursor:not-allowed}.m_4ec4dce6:focus{z-index:1}.m_fc420b1f{display:flex;align-items:center;justify-content:center}.m_fc420b1f:where([data-position=left]:not(:only-child)){margin-inline-end:var(--mantine-spacing-xs)}.m_fc420b1f:where([data-position=right]:not(:only-child)){margin-inline-start:var(--mantine-spacing-xs)}.m_42bbd1ae{flex:1;text-align:center}.m_576c9d4{position:relative}.m_576c9d4:before{content:"";position:absolute;border:1px solid var(--tab-border-color);bottom:var(--tabs-list-line-bottom);inset-inline-start:var(--tabs-list-line-start);inset-inline-end:var(--tabs-list-line-end);top:var(--tabs-list-line-top)}.m_539e827b{border-radius:var(--tab-radius);border-width:var(--tab-border-width);border-style:solid;border-color:transparent;background-color:transparent}.m_539e827b:where([data-active]){border-color:var(--tabs-color)}@media (hover: hover){.m_539e827b:hover{background-color:var(--tab-hover-color)}.m_539e827b:hover:where(:not([data-active])){border-color:var(--tab-border-color)}}@media (hover: none){.m_539e827b:active{background-color:var(--tab-hover-color)}.m_539e827b:active:where(:not([data-active])){border-color:var(--tab-border-color)}}@media (hover: hover){.m_539e827b:disabled:hover,.m_539e827b[data-disabled]:hover{background-color:transparent}}@media (hover: none){.m_539e827b:disabled:active,.m_539e827b[data-disabled]:active{background-color:transparent}}.m_6772fbd5{position:relative}.m_6772fbd5:before{content:"";position:absolute;border-color:var(--tab-border-color);border-width:var(--tabs-list-border-size);border-style:solid;bottom:var(--tabs-list-line-bottom);inset-inline-start:var(--tabs-list-line-start);inset-inline-end:var(--tabs-list-line-end);top:var(--tabs-list-line-top)}.m_b59ab47c{border-top:calc(.0625rem * var(--mantine-scale)) solid transparent;border-bottom:calc(.0625rem * var(--mantine-scale)) solid transparent;border-right:calc(.0625rem * var(--mantine-scale)) solid transparent;border-left:calc(.0625rem * var(--mantine-scale)) solid transparent;border-top-color:var(--tab-border-top-color);border-bottom-color:var(--tab-border-bottom-color);border-radius:var(--tab-radius);position:relative;--tab-border-bottom-color: transparent;--tab-border-top-color: transparent;--tab-border-inline-end-color: transparent;--tab-border-inline-start-color: transparent}.m_b59ab47c:where([data-active]):before{content:"";position:absolute;background-color:var(--tab-border-color);bottom:var(--tab-before-bottom, calc(-.0625rem * var(--mantine-scale)));left:var(--tab-before-left, calc(-.0625rem * var(--mantine-scale)));right:var(--tab-before-right, auto);top:var(--tab-before-top, auto);width:calc(.0625rem * var(--mantine-scale));height:calc(.0625rem * var(--mantine-scale))}.m_b59ab47c:where([data-active]):after{content:"";position:absolute;background-color:var(--tab-border-color);bottom:var(--tab-after-bottom, calc(-.0625rem * var(--mantine-scale)));right:var(--tab-after-right, calc(-.0625rem * var(--mantine-scale)));left:var(--tab-after-left, auto);top:var(--tab-after-top, auto);width:calc(.0625rem * var(--mantine-scale));height:calc(.0625rem * var(--mantine-scale))}.m_b59ab47c:where([data-active]){border-top-color:var(--tab-border-top-color);border-bottom-color:var(--tab-border-bottom-color);border-inline-start-color:var(--tab-border-inline-start-color);border-inline-end-color:var(--tab-border-inline-end-color);--tab-border-top-color: var(--tab-border-color);--tab-border-inline-start-color: var(--tab-border-color);--tab-border-inline-end-color: var(--tab-border-color);--tab-border-bottom-color: var(--mantine-color-body)}.m_b59ab47c:where([data-active])[data-inverted]{--tab-border-bottom-color: var(--tab-border-color);--tab-border-top-color: var(--mantine-color-body);--tab-before-bottom: auto;--tab-before-top: calc(-.0625rem * var(--mantine-scale));--tab-after-bottom: auto;--tab-after-top: calc(-.0625rem * var(--mantine-scale))}.m_b59ab47c:where([data-active])[data-orientation=vertical][data-placement=left]{--tab-border-inline-end-color: var(--mantine-color-body);--tab-border-inline-start-color: var(--tab-border-color);--tab-border-bottom-color: var(--tab-border-color);--tab-before-right: calc(-.0625rem * var(--mantine-scale));--tab-before-left: auto;--tab-before-bottom: auto;--tab-before-top: calc(-.0625rem * var(--mantine-scale));--tab-after-left: auto;--tab-after-right: calc(-.0625rem * var(--mantine-scale))}[dir=rtl] .m_b59ab47c:where([data-active])[data-orientation=vertical][data-placement=left]{--tab-before-right: auto;--tab-before-left: calc(-.0625rem * var(--mantine-scale));--tab-after-left: calc(-.0625rem * var(--mantine-scale));--tab-after-right: auto}.m_b59ab47c:where([data-active])[data-orientation=vertical][data-placement=right]{--tab-border-inline-start-color: var(--mantine-color-body);--tab-border-inline-end-color: var(--tab-border-color);--tab-border-bottom-color: var(--tab-border-color);--tab-before-left: calc(-.0625rem * var(--mantine-scale));--tab-before-right: auto;--tab-before-bottom: auto;--tab-before-top: calc(-.0625rem * var(--mantine-scale));--tab-after-right: auto;--tab-after-left: calc(-.0625rem * var(--mantine-scale))}[dir=rtl] .m_b59ab47c:where([data-active])[data-orientation=vertical][data-placement=right]{--tab-before-left: auto;--tab-before-right: calc(-.0625rem * var(--mantine-scale));--tab-after-right: calc(-.0625rem * var(--mantine-scale));--tab-after-left: auto}.m_c3381914{border-radius:var(--tabs-radius);background-color:var(--tab-bg);color:var(--tab-color);--tab-bg: transparent;--tab-color: inherit}@media (hover: hover){.m_c3381914:not([data-disabled]):hover{--tab-bg: var(--tab-hover-color)}}@media (hover: none){.m_c3381914:not([data-disabled]):active{--tab-bg: var(--tab-hover-color)}}.m_c3381914[data-active][data-active]{--tab-bg: var(--tabs-color);--tab-color: var(--tabs-text-color, var(--mantine-color-white))}@media (hover: hover){.m_c3381914[data-active][data-active]:hover{--tab-bg: var(--tabs-color)}}@media (hover: none){.m_c3381914[data-active][data-active]:active{--tab-bg: var(--tabs-color)}}.m_7341320d{--ti-size-xs: calc(1.125rem * var(--mantine-scale));--ti-size-sm: calc(1.375rem * var(--mantine-scale));--ti-size-md: calc(1.75rem * var(--mantine-scale));--ti-size-lg: calc(2.125rem * var(--mantine-scale));--ti-size-xl: calc(2.75rem * var(--mantine-scale));--ti-size: var(--ti-size-md);line-height:1;display:inline-flex;align-items:center;justify-content:center;position:relative;user-select:none;width:var(--ti-size);height:var(--ti-size);min-width:var(--ti-size);min-height:var(--ti-size);border-radius:var(--ti-radius, var(--mantine-radius-default));background:var(--ti-bg, var(--mantine-primary-color-filled));color:var(--ti-color, var(--mantine-color-white));border:var(--ti-bd, 1px solid transparent)}.m_43657ece{--offset: calc(var(--tl-bullet-size) / 2 + var(--tl-line-width) / 2);--tl-bullet-size: calc(1.25rem * var(--mantine-scale));--tl-line-width: calc(.25rem * var(--mantine-scale));--tl-radius: calc(62.5rem * var(--mantine-scale));--tl-color: var(--mantine-primary-color-filled)}.m_43657ece:where([data-align=left]){padding-inline-start:var(--offset)}.m_43657ece:where([data-align=right]){padding-inline-end:var(--offset)}.m_2ebe8099{font-weight:500;line-height:1;margin-bottom:calc(var(--mantine-spacing-xs) / 2)}.m_436178ff{--item-border: var(--tl-line-width) var(--tli-border-style, solid) var(--item-border-color);position:relative;color:var(--mantine-color-text)}.m_436178ff:before{content:"";pointer-events:none;position:absolute;top:0;left:var(--timeline-line-left, 0);right:var(--timeline-line-right, 0);bottom:calc(var(--mantine-spacing-xl) * -1);border-inline-start:var(--item-border);display:var(--timeline-line-display, none)}.m_43657ece[data-align=left] .m_436178ff:before{--timeline-line-left: calc(var(--tl-line-width) * -1);--timeline-line-right: auto}[dir=rtl] .m_43657ece[data-align=left] .m_436178ff:before{--timeline-line-left: auto;--timeline-line-right: calc(var(--tl-line-width) * -1)}.m_43657ece[data-align=right] .m_436178ff:before{--timeline-line-left: auto;--timeline-line-right: calc(var(--tl-line-width) * -1)}[dir=rtl] .m_43657ece[data-align=right] .m_436178ff:before{--timeline-line-left: calc(var(--tl-line-width) * -1);--timeline-line-right: auto}.m_43657ece:where([data-align=left]) .m_436178ff{padding-inline-start:var(--offset);text-align:left}.m_43657ece:where([data-align=right]) .m_436178ff{padding-inline-end:var(--offset);text-align:right}:where([data-mantine-color-scheme=light]) .m_436178ff{--item-border-color: var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_436178ff{--item-border-color: var(--mantine-color-dark-4)}.m_436178ff:where([data-line-active]):before{border-color:var(--tli-color, var(--tl-color))}.m_436178ff:where(:not(:last-of-type)){--timeline-line-display: block}.m_436178ff:where(:not(:first-of-type)){margin-top:var(--mantine-spacing-xl)}.m_8affcee1{width:var(--tl-bullet-size);height:var(--tl-bullet-size);border-radius:var(--tli-radius, var(--tl-radius));border:var(--tl-line-width) solid;background-color:var(--mantine-color-body);position:absolute;top:0;display:flex;align-items:center;justify-content:center;color:var(--mantine-color-text)}:where([data-mantine-color-scheme=light]) .m_8affcee1{border-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_8affcee1{border-color:var(--mantine-color-dark-4)}.m_43657ece:where([data-align=left]) .m_8affcee1{left:calc((var(--tl-bullet-size) / 2 + var(--tl-line-width) / 2) * -1);right:auto}:where([dir=rtl]) .m_43657ece:where([data-align=left]) .m_8affcee1{left:auto;right:calc((var(--tl-bullet-size) / 2 + var(--tl-line-width) / 2) * -1)}.m_43657ece:where([data-align=right]) .m_8affcee1{left:auto;right:calc((var(--tl-bullet-size) / 2 + var(--tl-line-width) / 2) * -1)}:where([dir=rtl]) .m_43657ece:where([data-align=right]) .m_8affcee1{left:calc((var(--tl-bullet-size) / 2 + var(--tl-line-width) / 2) * -1);right:auto}.m_8affcee1:where([data-with-child]){border-width:var(--tl-line-width)}:where([data-mantine-color-scheme=light]) .m_8affcee1:where([data-with-child]){background-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_8affcee1:where([data-with-child]){background-color:var(--mantine-color-dark-4)}.m_8affcee1:where([data-active]){border-color:var(--tli-color, var(--tl-color));background-color:var(--mantine-color-white);color:var(--tl-icon-color, var(--mantine-color-white))}.m_8affcee1:where([data-active]):where([data-with-child]){background-color:var(--tli-color, var(--tl-color));color:var(--tl-icon-color, var(--mantine-color-white))}.m_43657ece:where([data-align=left]) .m_540e8f41{padding-inline-start:var(--offset);text-align:left}:where([dir=rtl]) .m_43657ece:where([data-align=left]) .m_540e8f41{text-align:right}.m_43657ece:where([data-align=right]) .m_540e8f41{padding-inline-end:var(--offset);text-align:right}:where([dir=rtl]) .m_43657ece:where([data-align=right]) .m_540e8f41{text-align:left}.m_8a5d1357{margin:0;font-weight:var(--title-fw);font-size:var(--title-fz);line-height:var(--title-lh);font-family:var(--mantine-font-family-headings);text-wrap:var(--title-text-wrap, var(--mantine-heading-text-wrap))}.m_8a5d1357:where([data-line-clamp]){overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:var(--title-line-clamp);-webkit-box-orient:vertical}.m_f698e191{--level-offset: var(--mantine-spacing-lg);margin:0;padding:0;user-select:none}.m_75f3ecf{margin:0;padding:0}.m_f6970eb1{cursor:pointer;list-style:none;margin:0;padding:0;outline:0}.m_f6970eb1:focus-visible>.m_dc283425{outline:2px solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}.m_dc283425{padding-inline-start:var(--label-offset)}:where([data-mantine-color-scheme=light]) .m_dc283425:where([data-selected]){background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_dc283425:where([data-selected]){background-color:var(--mantine-color-dark-5)}.m_d08caa0 :first-child{margin-top:0}.m_d08caa0 :last-child{margin-bottom:0}.m_d08caa0 :where(h1,h2,h3,h4,h5,h6){margin-bottom:var(--mantine-spacing-xs);text-wrap:var(--mantine-heading-text-wrap);font-family:var(--mantine-font-family-headings)}.m_d08caa0 :where(h1){margin-top:calc(1.5 * var(--mantine-spacing-xl));font-size:var(--mantine-h1-font-size);line-height:var(--mantine-h1-line-height);font-weight:var(--mantine-h1-font-weight)}.m_d08caa0 :where(h2){margin-top:var(--mantine-spacing-xl);font-size:var(--mantine-h2-font-size);line-height:var(--mantine-h2-line-height);font-weight:var(--mantine-h2-font-weight)}.m_d08caa0 :where(h3){margin-top:calc(.8 * var(--mantine-spacing-xl));font-size:var(--mantine-h3-font-size);line-height:var(--mantine-h3-line-height);font-weight:var(--mantine-h3-font-weight)}.m_d08caa0 :where(h4){margin-top:calc(.8 * var(--mantine-spacing-xl));font-size:var(--mantine-h4-font-size);line-height:var(--mantine-h4-line-height);font-weight:var(--mantine-h4-font-weight)}.m_d08caa0 :where(h5){margin-top:calc(.5 * var(--mantine-spacing-xl));font-size:var(--mantine-h5-font-size);line-height:var(--mantine-h5-line-height);font-weight:var(--mantine-h5-font-weight)}.m_d08caa0 :where(h6){margin-top:calc(.5 * var(--mantine-spacing-xl));font-size:var(--mantine-h6-font-size);line-height:var(--mantine-h6-line-height);font-weight:var(--mantine-h6-font-weight)}.m_d08caa0 :where(img){max-width:100%;margin-bottom:var(--mantine-spacing-xs)}.m_d08caa0 :where(p){margin-top:0;margin-bottom:var(--mantine-spacing-lg)}:where([data-mantine-color-scheme=light]) .m_d08caa0 :where(mark){background-color:var(--mantine-color-yellow-2);color:inherit}:where([data-mantine-color-scheme=dark]) .m_d08caa0 :where(mark){background-color:var(--mantine-color-yellow-5);color:var(--mantine-color-black)}.m_d08caa0 :where(a){color:var(--mantine-color-anchor);text-decoration:none}@media (hover: hover){.m_d08caa0 :where(a):hover{text-decoration:underline}}@media (hover: none){.m_d08caa0 :where(a):active{text-decoration:underline}}.m_d08caa0 :where(hr){margin-top:var(--mantine-spacing-md);margin-bottom:var(--mantine-spacing-md);border:0;border-top:calc(.0625rem * var(--mantine-scale)) solid}:where([data-mantine-color-scheme=light]) .m_d08caa0 :where(hr){border-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_d08caa0 :where(hr){border-color:var(--mantine-color-dark-3)}.m_d08caa0 :where(pre){padding:var(--mantine-spacing-xs);line-height:var(--mantine-line-height);margin:0;margin-top:var(--mantine-spacing-md);margin-bottom:var(--mantine-spacing-md);overflow-x:auto;font-family:var(--mantine-font-family-monospace);font-size:var(--mantine-font-size-xs);border-radius:var(--mantine-radius-sm)}:where([data-mantine-color-scheme=light]) .m_d08caa0 :where(pre){background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_d08caa0 :where(pre){background-color:var(--mantine-color-dark-8)}.m_d08caa0 :where(pre) :where(code){background-color:transparent;padding:0;border-radius:0;color:inherit;border:0}.m_d08caa0 :where(kbd){--kbd-fz: calc(.75rem * var(--mantine-scale));--kbd-padding: calc(.1875rem * var(--mantine-scale)) calc(.3125rem * var(--mantine-scale));font-family:var(--mantine-font-family-monospace);line-height:var(--mantine-line-height);font-weight:700;padding:var(--kbd-padding);font-size:var(--kbd-fz);border-radius:var(--mantine-radius-sm);border:calc(.0625rem * var(--mantine-scale)) solid;border-bottom-width:calc(.1875rem * var(--mantine-scale))}:where([data-mantine-color-scheme=light]) .m_d08caa0 :where(kbd){border-color:var(--mantine-color-gray-3);color:var(--mantine-color-gray-7);background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_d08caa0 :where(kbd){border-color:var(--mantine-color-dark-3);color:var(--mantine-color-dark-0);background-color:var(--mantine-color-dark-5)}.m_d08caa0 :where(code){line-height:var(--mantine-line-height);padding:calc(.0625rem * var(--mantine-scale)) calc(.3125rem * var(--mantine-scale));border-radius:var(--mantine-radius-sm);font-family:var(--mantine-font-family-monospace);font-size:var(--mantine-font-size-xs)}:where([data-mantine-color-scheme=light]) .m_d08caa0 :where(code){background-color:var(--mantine-color-gray-0);color:var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_d08caa0 :where(code){background-color:var(--mantine-color-dark-5);color:var(--mantine-color-white)}.m_d08caa0 :where(ul,ol):not([data-type=taskList]){margin-bottom:var(--mantine-spacing-md);padding-inline-start:var(--mantine-spacing-xl);list-style-position:outside}.m_d08caa0 :where(table){width:100%;border-collapse:collapse;caption-side:bottom;margin-bottom:var(--mantine-spacing-md)}:where([data-mantine-color-scheme=light]) .m_d08caa0 :where(table){--table-border-color: var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_d08caa0 :where(table){--table-border-color: var(--mantine-color-dark-4)}.m_d08caa0 :where(table) :where(caption){margin-top:var(--mantine-spacing-xs);font-size:var(--mantine-font-size-sm);color:var(--mantine-color-dimmed)}.m_d08caa0 :where(table) :where(th){text-align:left;font-weight:700;font-size:var(--mantine-font-size-sm);padding:var(--mantine-spacing-xs) var(--mantine-spacing-sm)}.m_d08caa0 :where(table) :where(thead th){border-bottom:calc(.0625rem * var(--mantine-scale)) solid;border-color:var(--table-border-color)}.m_d08caa0 :where(table) :where(tfoot th){border-top:calc(.0625rem * var(--mantine-scale)) solid;border-color:var(--table-border-color)}.m_d08caa0 :where(table) :where(td){padding:var(--mantine-spacing-xs) var(--mantine-spacing-sm);border-bottom:calc(.0625rem * var(--mantine-scale)) solid;border-color:var(--table-border-color);font-size:var(--mantine-font-size-sm)}.m_d08caa0 :where(table) :where(tr:last-of-type td){border-bottom:0}.m_d08caa0 :where(blockquote){font-size:var(--mantine-font-size-lg);line-height:var(--mantine-line-height);margin:var(--mantine-spacing-md) 0;border-radius:var(--mantine-radius-sm);padding:var(--mantine-spacing-md) var(--mantine-spacing-lg)}:where([data-mantine-color-scheme=light]) .m_d08caa0 :where(blockquote){background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_d08caa0 :where(blockquote){background-color:var(--mantine-color-dark-8)}}@layer xyflow{.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}}@layer base{:root{--made-with-panda: "🐼"}*,:before,:after,::backdrop{--blur: ;--brightness: ;--contrast: ;--grayscale: ;--hue-rotate: ;--invert: ;--saturate: ;--sepia: ;--drop-shadow: ;--backdrop-blur: ;--backdrop-brightness: ;--backdrop-contrast: ;--backdrop-grayscale: ;--backdrop-hue-rotate: ;--backdrop-invert: ;--backdrop-opacity: ;--backdrop-saturate: ;--backdrop-sepia: ;--gradient-from-position: ;--gradient-to-position: ;--gradient-via-position: ;--scroll-snap-strictness: proximity;--border-spacing-x: 0;--border-spacing-y: 0;--translate-x: 0;--translate-y: 0;--rotate: 0;--rotate-x: 0;--rotate-y: 0;--skew-x: 0;--skew-y: 0;--scale-x: 1;--scale-y: 1}:where(:root,:host){--likec4-app-font-default: "IBM Plex Sans",'ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'}:where([data-likec4-text-size=xs]){--likec4-text-size: var(--font-sizes-likec4-xs)}:where([data-likec4-text-size=sm]){--likec4-text-size: var(--font-sizes-likec4-sm)}:where([data-likec4-text-size=md]){--likec4-text-size: var(--font-sizes-likec4-md)}:where([data-likec4-text-size=lg]){--likec4-text-size: var(--font-sizes-likec4-lg)}:where([data-likec4-text-size=xl]){--likec4-text-size: var(--font-sizes-likec4-xl)}:where([data-likec4-spacing=xs]){--likec4-spacing: var(--spacing-likec4-xs)}:where([data-likec4-spacing=sm]){--likec4-spacing: var(--spacing-likec4-sm)}:where([data-likec4-spacing=md]){--likec4-spacing: var(--spacing-likec4-md)}:where([data-likec4-spacing=lg]){--likec4-spacing: var(--spacing-likec4-lg)}:where([data-likec4-spacing=xl]){--likec4-spacing: var(--spacing-likec4-xl)}.likec4-shadow-root{--mantine-font-family: var(--likec4-app-font, var(--likec4-app-font-default));--mantine-font-family-headings: var(--likec4-app-font, var(--likec4-app-font-default));display:contents}.likec4-shadow-root dialog{color:var(--mantine-color-text)}.likec4-edge-label-container{position:absolute;top:var(--spacing-0);left:var(--spacing-0);width:auto;height:auto}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-edge-label-container{display:none}:where([data-likec4-zoom-small=true]) .likec4-edge-label-container{display:none}.likec4-root{padding:var(--spacing-0);margin:var(--spacing-0);border:0px solid transparent;overflow:hidden;position:relative;container-name:likec4-root;container-type:size;width:100%;height:100%}.likec4-root .react-flow{--xy-background-color: var(--colors-likec4-background);--xy-background-pattern-color: var(--colors-likec4-background-pattern, var(--colors-likec4-background));contain:paint}.likec4-root .react-flow:is(.bg-transparent){--xy-background-color: transparent !important;background:var(--colors-transparent)!important}.likec4-root .react-flow:is(.not-initialized){opacity:0}.likec4-root .react-flow .react-flow__pane{-webkit-user-select:none;user-select:none}.likec4-root .react-flow :where(.react-flow__nodes,.react-flow__edges,.react-flow__edgelabel-renderer){display:contents}.likec4-root .react-flow .react-flow__node.draggable:has(.likec4-compound-node){cursor:default}.likec4-root :where(.react-flow__edge,.likec4-edge-container,.likec4-edge-label-container){--xy-edge-stroke-width: 3;--xy-edge-stroke: var(--likec4-palette-relation-stroke);--xy-edge-stroke-selected: var(--likec4-palette-relation-stroke-selected);--xy-edge-label-color: var(--likec4-palette-relation-label);--xy-edge-label-background-color: var(--likec4-palette-relation-label-bg)}[data-mantine-color-scheme=dark] .likec4-root :where(.react-flow__edge,.likec4-edge-container,.likec4-edge-label-container){--xy-edge-label-background-color: color-mix(in srgb, var(--likec4-palette-relation-label-bg) 50%, transparent)}[data-mantine-color-scheme=light] .likec4-root :where(.react-flow__edge,.likec4-edge-container,.likec4-edge-label-container){--xy-edge-label-color: color-mix(in srgb, var(--likec4-palette-relation-label), rgba(255 255 255 / .85) 40%);--xy-edge-label-background-color: color-mix(in srgb, var(--likec4-palette-relation-label-bg) 60%, transparent)}.likec4-root :where(.react-flow__edge,.likec4-edge-container,.likec4-edge-label-container):is([data-likec4-hovered=true],[data-edge-active=true]){--xy-edge-stroke-width: 4;--xy-edge-stroke: var(--likec4-palette-relation-stroke-selected)}.likec4-root :where(.react-flow__node,.react-flow__edge):has([data-likec4-dimmed]){opacity:.25}.likec4-root .likec4-edge-label-container:is([data-likec4-dimmed]){opacity:.25}.likec4-root:is([data-likec4-reduced-graphics]) .hide-on-reduced-graphics{display:none}.likec4-root :where(.relationships-browser,.likec4-relationship-details) .react-flow__attribution{display:none}.likec4-root .mantine-ActionIcon-icon .tabler-icon{width:75%;height:75%}.likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__node,.react-flow__edge):has([data-likec4-dimmed]){filter:grayscale(85%)}.likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__node,.react-flow__edge):has([data-likec4-dimmed=true]){--transition-prop: opacity, filter;transition-property:opacity,filter;--transition-easing: cubic-bezier(.5, 0, .2, 1);transition-timing-function:cubic-bezier(.5,0,.2,1);--transition-duration: .4s;transition-duration:.4s}.likec4-root:not([data-likec4-reduced-graphics]) .likec4-edge-label-container:is([data-likec4-dimmed]){filter:grayscale(85%)}.likec4-root:not([data-likec4-reduced-graphics]) .likec4-edge-label-container:is([data-likec4-dimmed=true]){--transition-prop: opacity, filter;transition-property:opacity,filter;--transition-easing: cubic-bezier(.5, 0, .2, 1);transition-timing-function:cubic-bezier(.5,0,.2,1);--transition-duration: .4s;transition-duration:.4s}[data-mantine-color-scheme=dark] .likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__edges,.react-flow__edgelabel-renderer)>:where(svg,.likec4-edge-label-container){mix-blend-mode:plus-lighter}[data-mantine-color-scheme=light] .likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__edges,.react-flow__edgelabel-renderer)>:where(svg,.likec4-edge-label-container){mix-blend-mode:screen}[data-mantine-color-scheme=light] .likec4-root:not([data-likec4-reduced-graphics]):has(.react-flow__node-seq-parallel) :where(.react-flow__edges>svg){mix-blend-mode:color-burn}[data-mantine-color-scheme=dark] .likec4-root:not([data-likec4-reduced-graphics]) .react-flow__node-seq-parallel{mix-blend-mode:luminosity}[data-mantine-color-scheme=light] .likec4-root:not([data-likec4-reduced-graphics]) .react-flow__node-seq-parallel{mix-blend-mode:color-burn}.likec4-static-view .react-flow .react-flow__attribution{display:none}:where(:root,:host){--likec4-text-size: 1.2rem;--likec4-palette-fill: #3b82f6;--likec4-palette-stroke: #2563eb;--likec4-palette-hiContrast: #eff6ff;--likec4-palette-loContrast: #bfdbfe;--likec4-palette-relation-stroke: #6E6E6E;--likec4-palette-relation-label: #C6C6C6;--likec4-palette-relation-label-bg: #18191b;--mantine-scale: 1;--likec4-palette-outline: var(--likec4-palette-loContrast);--likec4-spacing: ;--text-fz: ;--likec4-icon-size: }}@layer tokens{:where(:root,:host){--spacing-0: 0px;--spacing-1: 4px;--spacing-2: 8px;--spacing-3: 12px;--spacing-4: 16px;--spacing-5: 20px;--spacing-6: 24px;--spacing-7: 28px;--spacing-8: 32px;--spacing-9: 36px;--spacing-10: 40px;--spacing-likec4-xs: 8px;--spacing-likec4-sm: 10px;--spacing-likec4-md: 16px;--spacing-likec4-lg: 24px;--spacing-likec4-xl: 32px;--spacing-0\\.5: 2px;--spacing-1\\.5: 6px;--spacing-2\\.5: 10px;--spacing-3\\.5: 14px;--spacing-4\\.5: 18px;--spacing-xxs: calc(.5rem * var(--mantine-scale));--spacing-xs: calc(.625rem * var(--mantine-scale));--spacing-sm: calc(.75rem * var(--mantine-scale));--spacing-md: calc(1rem * var(--mantine-scale));--spacing-lg: calc(1.25rem * var(--mantine-scale));--spacing-xl: calc(2rem * var(--mantine-scale));--font-sizes-xxs: .625rem;--font-sizes-xs: calc(.75rem * var(--mantine-scale));--font-sizes-sm: calc(.875rem * var(--mantine-scale));--font-sizes-md: calc(1rem * var(--mantine-scale));--font-sizes-lg: calc(1.125rem * var(--mantine-scale));--font-sizes-xl: calc(1.25rem * var(--mantine-scale));--font-sizes-likec4-xs: .833rem;--font-sizes-likec4-sm: 1rem;--font-sizes-likec4-md: 1.2rem;--font-sizes-likec4-lg: 1.44rem;--font-sizes-likec4-xl: 1.73rem;--line-heights-1: 1;--line-heights-xs: 1.4;--line-heights-sm: 1.45;--line-heights-md: 1.55;--line-heights-lg: 1.6;--line-heights-xl: 1.65;--colors-mantine-colors-primary: var(--mantine-primary-color-6);--colors-mantine-colors-primary-filled: var(--mantine-primary-color-filled);--colors-mantine-colors-primary-filled-hover: var(--mantine-primary-color-filled-hover);--colors-mantine-colors-primary-light: var(--mantine-primary-color-light);--colors-mantine-colors-primary-light-hover: var(--mantine-primary-color-light-hover);--colors-mantine-colors-primary-light-color: var(--mantine-primary-color-light-color);--colors-mantine-colors-primary-outline: var(--mantine-primary-color-outline);--colors-mantine-colors-primary-outline-hover: var(--mantine-primary-color-outline-hover);--colors-mantine-colors-primary\\[0\\]: var(--mantine-primary-color-0);--colors-mantine-colors-primary\\[1\\]: var(--mantine-primary-color-1);--colors-mantine-colors-primary\\[2\\]: var(--mantine-primary-color-2);--colors-mantine-colors-primary\\[3\\]: var(--mantine-primary-color-3);--colors-mantine-colors-primary\\[4\\]: var(--mantine-primary-color-4);--colors-mantine-colors-primary\\[5\\]: var(--mantine-primary-color-5);--colors-mantine-colors-primary\\[6\\]: var(--mantine-primary-color-6);--colors-mantine-colors-primary\\[7\\]: var(--mantine-primary-color-7);--colors-mantine-colors-primary\\[8\\]: var(--mantine-primary-color-8);--colors-mantine-colors-primary\\[9\\]: var(--mantine-primary-color-9);--colors-mantine-colors-white: var(--mantine-color-white);--colors-mantine-colors-text: var(--mantine-color-text);--colors-mantine-colors-body: var(--mantine-color-body);--colors-mantine-colors-dimmed: var(--mantine-color-dimmed);--colors-mantine-colors-default-border: var(--mantine-color-default-border);--colors-mantine-colors-default-color: var(--mantine-color-default-color);--colors-mantine-colors-default-hover: var(--mantine-color-default-hover);--colors-mantine-colors-default: var(--mantine-color-default);--colors-mantine-colors-error: var(--mantine-color-error);--colors-mantine-colors-placeholder: var(--mantine-color-placeholder);--colors-mantine-colors-gray: var(--mantine-color-gray-6);--colors-mantine-colors-gray-filled: var(--mantine-color-gray-filled);--colors-mantine-colors-gray-filled-hover: var(--mantine-color-gray-filled-hover);--colors-mantine-colors-gray-light: var(--mantine-color-gray-light);--colors-mantine-colors-gray-light-hover: var(--mantine-color-gray-light-hover);--colors-mantine-colors-gray-light-color: var(--mantine-color-gray-light-color);--colors-mantine-colors-gray-outline: var(--mantine-color-gray-outline);--colors-mantine-colors-gray-outline-hover: var(--mantine-color-gray-outline-hover);--colors-mantine-colors-gray\\[0\\]: var(--mantine-color-gray-0);--colors-mantine-colors-gray\\[1\\]: var(--mantine-color-gray-1);--colors-mantine-colors-gray\\[2\\]: var(--mantine-color-gray-2);--colors-mantine-colors-gray\\[3\\]: var(--mantine-color-gray-3);--colors-mantine-colors-gray\\[4\\]: var(--mantine-color-gray-4);--colors-mantine-colors-gray\\[5\\]: var(--mantine-color-gray-5);--colors-mantine-colors-gray\\[6\\]: var(--mantine-color-gray-6);--colors-mantine-colors-gray\\[7\\]: var(--mantine-color-gray-7);--colors-mantine-colors-gray\\[8\\]: var(--mantine-color-gray-8);--colors-mantine-colors-gray\\[9\\]: var(--mantine-color-gray-9);--colors-mantine-colors-dark: var(--mantine-color-dark-6);--colors-mantine-colors-dark-filled: var(--mantine-color-dark-filled);--colors-mantine-colors-dark-filled-hover: var(--mantine-color-dark-filled-hover);--colors-mantine-colors-dark-light: var(--mantine-color-dark-light);--colors-mantine-colors-dark-light-hover: var(--mantine-color-dark-light-hover);--colors-mantine-colors-dark-light-color: var(--mantine-color-dark-light-color);--colors-mantine-colors-dark-outline: var(--mantine-color-dark-outline);--colors-mantine-colors-dark-outline-hover: var(--mantine-color-dark-outline-hover);--colors-mantine-colors-dark\\[0\\]: var(--mantine-color-dark-0);--colors-mantine-colors-dark\\[1\\]: var(--mantine-color-dark-1);--colors-mantine-colors-dark\\[2\\]: var(--mantine-color-dark-2);--colors-mantine-colors-dark\\[3\\]: var(--mantine-color-dark-3);--colors-mantine-colors-dark\\[4\\]: var(--mantine-color-dark-4);--colors-mantine-colors-dark\\[5\\]: var(--mantine-color-dark-5);--colors-mantine-colors-dark\\[6\\]: var(--mantine-color-dark-6);--colors-mantine-colors-dark\\[7\\]: var(--mantine-color-dark-7);--colors-mantine-colors-dark\\[8\\]: var(--mantine-color-dark-8);--colors-mantine-colors-dark\\[9\\]: var(--mantine-color-dark-9);--colors-mantine-colors-orange: var(--mantine-color-orange-6);--colors-mantine-colors-orange-filled: var(--mantine-color-orange-filled);--colors-mantine-colors-orange-filled-hover: var(--mantine-color-orange-filled-hover);--colors-mantine-colors-orange-light: var(--mantine-color-orange-light);--colors-mantine-colors-orange-light-hover: var(--mantine-color-orange-light-hover);--colors-mantine-colors-orange-light-color: var(--mantine-color-orange-light-color);--colors-mantine-colors-orange-outline: var(--mantine-color-orange-outline);--colors-mantine-colors-orange-outline-hover: var(--mantine-color-orange-outline-hover);--colors-mantine-colors-orange\\[0\\]: var(--mantine-color-orange-0);--colors-mantine-colors-orange\\[1\\]: var(--mantine-color-orange-1);--colors-mantine-colors-orange\\[2\\]: var(--mantine-color-orange-2);--colors-mantine-colors-orange\\[3\\]: var(--mantine-color-orange-3);--colors-mantine-colors-orange\\[4\\]: var(--mantine-color-orange-4);--colors-mantine-colors-orange\\[5\\]: var(--mantine-color-orange-5);--colors-mantine-colors-orange\\[6\\]: var(--mantine-color-orange-6);--colors-mantine-colors-orange\\[7\\]: var(--mantine-color-orange-7);--colors-mantine-colors-orange\\[8\\]: var(--mantine-color-orange-8);--colors-mantine-colors-orange\\[9\\]: var(--mantine-color-orange-9);--colors-mantine-colors-teal: var(--mantine-color-teal-6);--colors-mantine-colors-teal-filled: var(--mantine-color-teal-filled);--colors-mantine-colors-teal-filled-hover: var(--mantine-color-teal-filled-hover);--colors-mantine-colors-teal-light: var(--mantine-color-teal-light);--colors-mantine-colors-teal-light-hover: var(--mantine-color-teal-light-hover);--colors-mantine-colors-teal-light-color: var(--mantine-color-teal-light-color);--colors-mantine-colors-teal-outline: var(--mantine-color-teal-outline);--colors-mantine-colors-teal-outline-hover: var(--mantine-color-teal-outline-hover);--colors-mantine-colors-teal\\[0\\]: var(--mantine-color-teal-0);--colors-mantine-colors-teal\\[1\\]: var(--mantine-color-teal-1);--colors-mantine-colors-teal\\[2\\]: var(--mantine-color-teal-2);--colors-mantine-colors-teal\\[3\\]: var(--mantine-color-teal-3);--colors-mantine-colors-teal\\[4\\]: var(--mantine-color-teal-4);--colors-mantine-colors-teal\\[5\\]: var(--mantine-color-teal-5);--colors-mantine-colors-teal\\[6\\]: var(--mantine-color-teal-6);--colors-mantine-colors-teal\\[7\\]: var(--mantine-color-teal-7);--colors-mantine-colors-teal\\[8\\]: var(--mantine-color-teal-8);--colors-mantine-colors-teal\\[9\\]: var(--mantine-color-teal-9);--colors-mantine-colors-red: var(--mantine-color-red-6);--colors-mantine-colors-red-filled: var(--mantine-color-red-filled);--colors-mantine-colors-red-filled-hover: var(--mantine-color-red-filled-hover);--colors-mantine-colors-red-light: var(--mantine-color-red-light);--colors-mantine-colors-red-light-hover: var(--mantine-color-red-light-hover);--colors-mantine-colors-red-light-color: var(--mantine-color-red-light-color);--colors-mantine-colors-red-outline: var(--mantine-color-red-outline);--colors-mantine-colors-red-outline-hover: var(--mantine-color-red-outline-hover);--colors-mantine-colors-red\\[0\\]: var(--mantine-color-red-0);--colors-mantine-colors-red\\[1\\]: var(--mantine-color-red-1);--colors-mantine-colors-red\\[2\\]: var(--mantine-color-red-2);--colors-mantine-colors-red\\[3\\]: var(--mantine-color-red-3);--colors-mantine-colors-red\\[4\\]: var(--mantine-color-red-4);--colors-mantine-colors-red\\[5\\]: var(--mantine-color-red-5);--colors-mantine-colors-red\\[6\\]: var(--mantine-color-red-6);--colors-mantine-colors-red\\[7\\]: var(--mantine-color-red-7);--colors-mantine-colors-red\\[8\\]: var(--mantine-color-red-8);--colors-mantine-colors-red\\[9\\]: var(--mantine-color-red-9);--colors-mantine-colors-green: var(--mantine-color-green-6);--colors-mantine-colors-green-filled: var(--mantine-color-green-filled);--colors-mantine-colors-green-filled-hover: var(--mantine-color-green-filled-hover);--colors-mantine-colors-green-light: var(--mantine-color-green-light);--colors-mantine-colors-green-light-hover: var(--mantine-color-green-light-hover);--colors-mantine-colors-green-light-color: var(--mantine-color-green-light-color);--colors-mantine-colors-green-outline: var(--mantine-color-green-outline);--colors-mantine-colors-green-outline-hover: var(--mantine-color-green-outline-hover);--colors-mantine-colors-green\\[0\\]: var(--mantine-color-green-0);--colors-mantine-colors-green\\[1\\]: var(--mantine-color-green-1);--colors-mantine-colors-green\\[2\\]: var(--mantine-color-green-2);--colors-mantine-colors-green\\[3\\]: var(--mantine-color-green-3);--colors-mantine-colors-green\\[4\\]: var(--mantine-color-green-4);--colors-mantine-colors-green\\[5\\]: var(--mantine-color-green-5);--colors-mantine-colors-green\\[6\\]: var(--mantine-color-green-6);--colors-mantine-colors-green\\[7\\]: var(--mantine-color-green-7);--colors-mantine-colors-green\\[8\\]: var(--mantine-color-green-8);--colors-mantine-colors-green\\[9\\]: var(--mantine-color-green-9);--colors-mantine-colors-yellow: var(--mantine-color-yellow-6);--colors-mantine-colors-yellow-filled: var(--mantine-color-yellow-filled);--colors-mantine-colors-yellow-filled-hover: var(--mantine-color-yellow-filled-hover);--colors-mantine-colors-yellow-light: var(--mantine-color-yellow-light);--colors-mantine-colors-yellow-light-hover: var(--mantine-color-yellow-light-hover);--colors-mantine-colors-yellow-light-color: var(--mantine-color-yellow-light-color);--colors-mantine-colors-yellow-outline: var(--mantine-color-yellow-outline);--colors-mantine-colors-yellow-outline-hover: var(--mantine-color-yellow-outline-hover);--colors-mantine-colors-yellow\\[0\\]: var(--mantine-color-yellow-0);--colors-mantine-colors-yellow\\[1\\]: var(--mantine-color-yellow-1);--colors-mantine-colors-yellow\\[2\\]: var(--mantine-color-yellow-2);--colors-mantine-colors-yellow\\[3\\]: var(--mantine-color-yellow-3);--colors-mantine-colors-yellow\\[4\\]: var(--mantine-color-yellow-4);--colors-mantine-colors-yellow\\[5\\]: var(--mantine-color-yellow-5);--colors-mantine-colors-yellow\\[6\\]: var(--mantine-color-yellow-6);--colors-mantine-colors-yellow\\[7\\]: var(--mantine-color-yellow-7);--colors-mantine-colors-yellow\\[8\\]: var(--mantine-color-yellow-8);--colors-mantine-colors-yellow\\[9\\]: var(--mantine-color-yellow-9);--colors-transparent: transparent;--colors-none: none;--borders-none: none;--borders-transparent: 0px solid transparent;--borders-default: 1px solid var(--colors-mantine-colors-default-border);--radii-0: 0px;--radii-xs: .125rem;--radii-sm: .25rem;--radii-md: .5rem;--radii-lg: 1rem;--radii-xl: 2rem;--fonts-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--fonts-body: var(--likec4-app-font, var(--likec4-app-font-default));--fonts-likec4: var(--likec4-app-font, var(--likec4-app-font-default));--fonts-likec4-element: var(--likec4-element-font, var(--fonts-likec4));--fonts-likec4-compound: var(--likec4-compound-font, var(--fonts-likec4));--fonts-likec4-relation: var(--likec4-relation-font, var(--fonts-likec4));--easings-default: cubic-bezier(.4, 0, .2, 1);--easings-in: cubic-bezier(.4, 0, 1, 1);--easings-out: cubic-bezier(0, 0, .4, 1);--easings-in-out: cubic-bezier(.5, 0, .2, 1);--durations-fastest: 50ms;--durations-faster: .1s;--durations-fast: .13s;--durations-normal: .17s;--durations-slow: .3s;--durations-slower: .4s;--durations-slowest: .5s;--shadows-none: none;--shadows-xs: 0 1px 3px rgb(0 0 0/5%), 0 1px 2px rgb(0 0 0/10%);--shadows-sm: 0 1px 3px rgb(0 0 0/5%), 0 10px 15px -5px rgb(0 0 0/5%), 0 7px 7px -5px rgb(0 0 0/4%);--shadows-md: 0 1px 3px rgb(0 0 0/5%), 0 20px 25px -5px rgb(0 0 0/5%), 0 10px 10px -5px rgb(0 0 0/4%);--shadows-lg: 0 1px 3px rgb(0 0 0/5%), 0 28px 23px -7px rgb(0 0 0/5%), 0 12px 12px -7px rgb(0 0 0/4%);--shadows-xl: 0 1px 3px rgb(0 0 0/5%), 0 36px 28px -7px rgb(0 0 0/5%), 0 17px 17px -7px rgb(0 0 0/4%);--breakpoints-xs: 36em;--breakpoints-sm: 48em;--breakpoints-md: 62em;--breakpoints-lg: 75em;--breakpoints-xl: 88em;--sizes-breakpoint-xs: 36em;--sizes-breakpoint-sm: 48em;--sizes-breakpoint-md: 62em;--sizes-breakpoint-lg: 75em;--sizes-breakpoint-xl: 88em;--colors-amber-1: var(--colors-amber-light-1);--colors-amber-2: var(--colors-amber-light-2);--colors-amber-3: var(--colors-amber-light-3);--colors-amber-4: var(--colors-amber-light-4);--colors-amber-5: var(--colors-amber-light-5);--colors-amber-6: var(--colors-amber-light-6);--colors-amber-7: var(--colors-amber-light-7);--colors-amber-8: var(--colors-amber-light-8);--colors-amber-9: var(--colors-amber-light-9);--colors-amber-10: var(--colors-amber-light-10);--colors-amber-11: var(--colors-amber-light-11);--colors-amber-12: var(--colors-amber-light-12);--colors-amber-light-1: #fefdfb;--colors-amber-light-2: #fefbe9;--colors-amber-light-3: #fff7c2;--colors-amber-light-4: #ffee9c;--colors-amber-light-5: #fbe577;--colors-amber-light-6: #f3d673;--colors-amber-light-7: #e9c162;--colors-amber-light-8: #e2a336;--colors-amber-light-9: #ffc53d;--colors-amber-light-10: #ffba18;--colors-amber-light-11: #ab6400;--colors-amber-light-12: #4f3422;--colors-amber-light-a-1: #c0800004;--colors-amber-light-a-2: #f4d10016;--colors-amber-light-a-3: #ffde003d;--colors-amber-light-a-4: #ffd40063;--colors-amber-light-a-5: #f8cf0088;--colors-amber-light-a-6: #eab5008c;--colors-amber-light-a-7: #dc9b009d;--colors-amber-light-a-8: #da8a00c9;--colors-amber-light-a-9: #ffb300c2;--colors-amber-light-a-10: #ffb300e7;--colors-amber-light-a-11: #ab6400;--colors-amber-light-a-12: #341500dd;--colors-amber-light-p3-1: color(display-p3 .995 .992 .985);--colors-amber-light-p3-2: color(display-p3 .994 .986 .921);--colors-amber-light-p3-3: color(display-p3 .994 .969 .782);--colors-amber-light-p3-4: color(display-p3 .989 .937 .65);--colors-amber-light-p3-5: color(display-p3 .97 .902 .527);--colors-amber-light-p3-6: color(display-p3 .936 .844 .506);--colors-amber-light-p3-7: color(display-p3 .89 .762 .443);--colors-amber-light-p3-8: color(display-p3 .85 .65 .3);--colors-amber-light-p3-9: color(display-p3 1 .77 .26);--colors-amber-light-p3-10: color(display-p3 .959 .741 .274);--colors-amber-light-p3-11: color(display-p3 .64 .4 0);--colors-amber-light-p3-12: color(display-p3 .294 .208 .145);--colors-amber-light-p3-a-1: color(display-p3 .757 .514 .024 / .016);--colors-amber-light-p3-a-2: color(display-p3 .902 .804 .008 / .079);--colors-amber-light-p3-a-3: color(display-p3 .965 .859 .004 / .22);--colors-amber-light-p3-a-4: color(display-p3 .969 .82 .004 / .35);--colors-amber-light-p3-a-5: color(display-p3 .933 .796 .004 / .475);--colors-amber-light-p3-a-6: color(display-p3 .875 .682 .004 / .495);--colors-amber-light-p3-a-7: color(display-p3 .804 .573 0 / .557);--colors-amber-light-p3-a-8: color(display-p3 .788 .502 0 / .699);--colors-amber-light-p3-a-9: color(display-p3 1 .686 0 / .742);--colors-amber-light-p3-a-10: color(display-p3 .945 .643 0 / .726);--colors-amber-light-p3-a-11: color(display-p3 .64 .4 0);--colors-amber-light-p3-a-12: color(display-p3 .294 .208 .145);--colors-amber-dark-1: #16120c;--colors-amber-dark-2: #1d180f;--colors-amber-dark-3: #302008;--colors-amber-dark-4: #3f2700;--colors-amber-dark-5: #4d3000;--colors-amber-dark-6: #5c3d05;--colors-amber-dark-7: #714f19;--colors-amber-dark-8: #8f6424;--colors-amber-dark-9: #ffc53d;--colors-amber-dark-10: #ffd60a;--colors-amber-dark-11: #ffca16;--colors-amber-dark-12: #ffe7b3;--colors-amber-dark-a-1: #e63c0006;--colors-amber-dark-a-2: #fd9b000d;--colors-amber-dark-a-3: #fa820022;--colors-amber-dark-a-4: #fc820032;--colors-amber-dark-a-5: #fd8b0041;--colors-amber-dark-a-6: #fd9b0051;--colors-amber-dark-a-7: #ffab2567;--colors-amber-dark-a-8: #ffae3587;--colors-amber-dark-a-9: #ffc53d;--colors-amber-dark-a-10: #ffd60a;--colors-amber-dark-a-11: #ffca16;--colors-amber-dark-a-12: #ffe7b3;--colors-amber-dark-p3-1: color(display-p3 .082 .07 .05);--colors-amber-dark-p3-2: color(display-p3 .111 .094 .064);--colors-amber-dark-p3-3: color(display-p3 .178 .128 .049);--colors-amber-dark-p3-4: color(display-p3 .239 .156 0);--colors-amber-dark-p3-5: color(display-p3 .29 .193 0);--colors-amber-dark-p3-6: color(display-p3 .344 .245 .076);--colors-amber-dark-p3-7: color(display-p3 .422 .314 .141);--colors-amber-dark-p3-8: color(display-p3 .535 .399 .189);--colors-amber-dark-p3-9: color(display-p3 1 .77 .26);--colors-amber-dark-p3-10: color(display-p3 1 .87 .15);--colors-amber-dark-p3-11: color(display-p3 1 .8 .29);--colors-amber-dark-p3-12: color(display-p3 .984 .909 .726);--colors-amber-dark-p3-a-1: color(display-p3 .992 .298 0 / .017);--colors-amber-dark-p3-a-2: color(display-p3 .988 .651 0 / .047);--colors-amber-dark-p3-a-3: color(display-p3 1 .6 0 / .118);--colors-amber-dark-p3-a-4: color(display-p3 1 .557 0 / .185);--colors-amber-dark-p3-a-5: color(display-p3 1 .592 0 / .24);--colors-amber-dark-p3-a-6: color(display-p3 1 .659 .094 / .299);--colors-amber-dark-p3-a-7: color(display-p3 1 .714 .263 / .383);--colors-amber-dark-p3-a-8: color(display-p3 .996 .729 .306 / .5);--colors-amber-dark-p3-a-9: color(display-p3 1 .769 .259);--colors-amber-dark-p3-a-10: color(display-p3 1 .871 .149);--colors-amber-dark-p3-a-11: color(display-p3 1 .8 .29);--colors-amber-dark-p3-a-12: color(display-p3 .984 .909 .726);--colors-amber-a-1: var(--colors-amber-light-a-1);--colors-amber-a-2: var(--colors-amber-light-a-2);--colors-amber-a-3: var(--colors-amber-light-a-3);--colors-amber-a-4: var(--colors-amber-light-a-4);--colors-amber-a-5: var(--colors-amber-light-a-5);--colors-amber-a-6: var(--colors-amber-light-a-6);--colors-amber-a-7: var(--colors-amber-light-a-7);--colors-amber-a-8: var(--colors-amber-light-a-8);--colors-amber-a-9: var(--colors-amber-light-a-9);--colors-amber-a-10: var(--colors-amber-light-a-10);--colors-amber-a-11: var(--colors-amber-light-a-11);--colors-amber-a-12: var(--colors-amber-light-a-12);--colors-amber-p3-1: var(--colors-amber-light-p3-1);--colors-amber-p3-2: var(--colors-amber-light-p3-2);--colors-amber-p3-3: var(--colors-amber-light-p3-3);--colors-amber-p3-4: var(--colors-amber-light-p3-4);--colors-amber-p3-5: var(--colors-amber-light-p3-5);--colors-amber-p3-6: var(--colors-amber-light-p3-6);--colors-amber-p3-7: var(--colors-amber-light-p3-7);--colors-amber-p3-8: var(--colors-amber-light-p3-8);--colors-amber-p3-9: var(--colors-amber-light-p3-9);--colors-amber-p3-10: var(--colors-amber-light-p3-10);--colors-amber-p3-11: var(--colors-amber-light-p3-11);--colors-amber-p3-12: var(--colors-amber-light-p3-12);--colors-amber-p3-a-1: var(--colors-amber-light-p3-a-1);--colors-amber-p3-a-2: var(--colors-amber-light-p3-a-2);--colors-amber-p3-a-3: var(--colors-amber-light-p3-a-3);--colors-amber-p3-a-4: var(--colors-amber-light-p3-a-4);--colors-amber-p3-a-5: var(--colors-amber-light-p3-a-5);--colors-amber-p3-a-6: var(--colors-amber-light-p3-a-6);--colors-amber-p3-a-7: var(--colors-amber-light-p3-a-7);--colors-amber-p3-a-8: var(--colors-amber-light-p3-a-8);--colors-amber-p3-a-9: var(--colors-amber-light-p3-a-9);--colors-amber-p3-a-10: var(--colors-amber-light-p3-a-10);--colors-amber-p3-a-11: var(--colors-amber-light-p3-a-11);--colors-amber-p3-a-12: var(--colors-amber-light-p3-a-12);--colors-blue-1: var(--colors-blue-light-1);--colors-blue-2: var(--colors-blue-light-2);--colors-blue-3: var(--colors-blue-light-3);--colors-blue-4: var(--colors-blue-light-4);--colors-blue-5: var(--colors-blue-light-5);--colors-blue-6: var(--colors-blue-light-6);--colors-blue-7: var(--colors-blue-light-7);--colors-blue-8: var(--colors-blue-light-8);--colors-blue-9: var(--colors-blue-light-9);--colors-blue-10: var(--colors-blue-light-10);--colors-blue-11: var(--colors-blue-light-11);--colors-blue-12: var(--colors-blue-light-12);--colors-blue-light-1: #fbfdff;--colors-blue-light-2: #f4faff;--colors-blue-light-3: #e6f4fe;--colors-blue-light-4: #d5efff;--colors-blue-light-5: #c2e5ff;--colors-blue-light-6: #acd8fc;--colors-blue-light-7: #8ec8f6;--colors-blue-light-8: #5eb1ef;--colors-blue-light-9: #0090ff;--colors-blue-light-10: #0588f0;--colors-blue-light-11: #0d74ce;--colors-blue-light-12: #113264;--colors-blue-light-a-1: #0080ff04;--colors-blue-light-a-2: #008cff0b;--colors-blue-light-a-3: #008ff519;--colors-blue-light-a-4: #009eff2a;--colors-blue-light-a-5: #0093ff3d;--colors-blue-light-a-6: #0088f653;--colors-blue-light-a-7: #0083eb71;--colors-blue-light-a-8: #0084e6a1;--colors-blue-light-a-9: #0090ff;--colors-blue-light-a-10: #0086f0fa;--colors-blue-light-a-11: #006dcbf2;--colors-blue-light-a-12: #002359ee;--colors-blue-light-p3-1: color(display-p3 .986 .992 .999);--colors-blue-light-p3-2: color(display-p3 .96 .979 .998);--colors-blue-light-p3-3: color(display-p3 .912 .956 .991);--colors-blue-light-p3-4: color(display-p3 .853 .932 1);--colors-blue-light-p3-5: color(display-p3 .788 .894 .998);--colors-blue-light-p3-6: color(display-p3 .709 .843 .976);--colors-blue-light-p3-7: color(display-p3 .606 .777 .947);--colors-blue-light-p3-8: color(display-p3 .451 .688 .917);--colors-blue-light-p3-9: color(display-p3 .247 .556 .969);--colors-blue-light-p3-10: color(display-p3 .234 .523 .912);--colors-blue-light-p3-11: color(display-p3 .15 .44 .84);--colors-blue-light-p3-12: color(display-p3 .102 .193 .379);--colors-blue-light-p3-a-1: color(display-p3 .024 .514 1 / .016);--colors-blue-light-p3-a-2: color(display-p3 .024 .514 .906 / .04);--colors-blue-light-p3-a-3: color(display-p3 .012 .506 .914 / .087);--colors-blue-light-p3-a-4: color(display-p3 .008 .545 1 / .146);--colors-blue-light-p3-a-5: color(display-p3 .004 .502 .984 / .212);--colors-blue-light-p3-a-6: color(display-p3 .004 .463 .922 / .291);--colors-blue-light-p3-a-7: color(display-p3 .004 .431 .863 / .393);--colors-blue-light-p3-a-8: color(display-p3 0 .427 .851 / .55);--colors-blue-light-p3-a-9: color(display-p3 0 .412 .961 / .753);--colors-blue-light-p3-a-10: color(display-p3 0 .376 .886 / .765);--colors-blue-light-p3-a-11: color(display-p3 .15 .44 .84);--colors-blue-light-p3-a-12: color(display-p3 .102 .193 .379);--colors-blue-dark-1: #0d1520;--colors-blue-dark-2: #111927;--colors-blue-dark-3: #0d2847;--colors-blue-dark-4: #003362;--colors-blue-dark-5: #004074;--colors-blue-dark-6: #104d87;--colors-blue-dark-7: #205d9e;--colors-blue-dark-8: #2870bd;--colors-blue-dark-9: #0090ff;--colors-blue-dark-10: #3b9eff;--colors-blue-dark-11: #70b8ff;--colors-blue-dark-12: #c2e6ff;--colors-blue-dark-a-1: #004df211;--colors-blue-dark-a-2: #1166fb18;--colors-blue-dark-a-3: #0077ff3a;--colors-blue-dark-a-4: #0075ff57;--colors-blue-dark-a-5: #0081fd6b;--colors-blue-dark-a-6: #0f89fd7f;--colors-blue-dark-a-7: #2a91fe98;--colors-blue-dark-a-8: #3094feb9;--colors-blue-dark-a-9: #0090ff;--colors-blue-dark-a-10: #3b9eff;--colors-blue-dark-a-11: #70b8ff;--colors-blue-dark-a-12: #c2e6ff;--colors-blue-dark-p3-1: color(display-p3 .057 .081 .122);--colors-blue-dark-p3-2: color(display-p3 .072 .098 .147);--colors-blue-dark-p3-3: color(display-p3 .078 .154 .27);--colors-blue-dark-p3-4: color(display-p3 .033 .197 .37);--colors-blue-dark-p3-5: color(display-p3 .08 .245 .441);--colors-blue-dark-p3-6: color(display-p3 .14 .298 .511);--colors-blue-dark-p3-7: color(display-p3 .195 .361 .6);--colors-blue-dark-p3-8: color(display-p3 .239 .434 .72);--colors-blue-dark-p3-9: color(display-p3 .247 .556 .969);--colors-blue-dark-p3-10: color(display-p3 .344 .612 .973);--colors-blue-dark-p3-11: color(display-p3 .49 .72 1);--colors-blue-dark-p3-12: color(display-p3 .788 .898 .99);--colors-blue-dark-p3-a-1: color(display-p3 0 .333 1 / .059);--colors-blue-dark-p3-a-2: color(display-p3 .114 .435 .988 / .085);--colors-blue-dark-p3-a-3: color(display-p3 .122 .463 1 / .219);--colors-blue-dark-p3-a-4: color(display-p3 0 .467 1 / .324);--colors-blue-dark-p3-a-5: color(display-p3 .098 .51 1 / .4);--colors-blue-dark-p3-a-6: color(display-p3 .224 .557 1 / .475);--colors-blue-dark-p3-a-7: color(display-p3 .294 .584 1 / .572);--colors-blue-dark-p3-a-8: color(display-p3 .314 .592 1 / .702);--colors-blue-dark-p3-a-9: color(display-p3 .251 .573 .996 / .967);--colors-blue-dark-p3-a-10: color(display-p3 .357 .631 1 / .971);--colors-blue-dark-p3-a-11: color(display-p3 .49 .72 1);--colors-blue-dark-p3-a-12: color(display-p3 .788 .898 .99);--colors-blue-a-1: var(--colors-blue-light-a-1);--colors-blue-a-2: var(--colors-blue-light-a-2);--colors-blue-a-3: var(--colors-blue-light-a-3);--colors-blue-a-4: var(--colors-blue-light-a-4);--colors-blue-a-5: var(--colors-blue-light-a-5);--colors-blue-a-6: var(--colors-blue-light-a-6);--colors-blue-a-7: var(--colors-blue-light-a-7);--colors-blue-a-8: var(--colors-blue-light-a-8);--colors-blue-a-9: var(--colors-blue-light-a-9);--colors-blue-a-10: var(--colors-blue-light-a-10);--colors-blue-a-11: var(--colors-blue-light-a-11);--colors-blue-a-12: var(--colors-blue-light-a-12);--colors-blue-p3-1: var(--colors-blue-light-p3-1);--colors-blue-p3-2: var(--colors-blue-light-p3-2);--colors-blue-p3-3: var(--colors-blue-light-p3-3);--colors-blue-p3-4: var(--colors-blue-light-p3-4);--colors-blue-p3-5: var(--colors-blue-light-p3-5);--colors-blue-p3-6: var(--colors-blue-light-p3-6);--colors-blue-p3-7: var(--colors-blue-light-p3-7);--colors-blue-p3-8: var(--colors-blue-light-p3-8);--colors-blue-p3-9: var(--colors-blue-light-p3-9);--colors-blue-p3-10: var(--colors-blue-light-p3-10);--colors-blue-p3-11: var(--colors-blue-light-p3-11);--colors-blue-p3-12: var(--colors-blue-light-p3-12);--colors-blue-p3-a-1: var(--colors-blue-light-p3-a-1);--colors-blue-p3-a-2: var(--colors-blue-light-p3-a-2);--colors-blue-p3-a-3: var(--colors-blue-light-p3-a-3);--colors-blue-p3-a-4: var(--colors-blue-light-p3-a-4);--colors-blue-p3-a-5: var(--colors-blue-light-p3-a-5);--colors-blue-p3-a-6: var(--colors-blue-light-p3-a-6);--colors-blue-p3-a-7: var(--colors-blue-light-p3-a-7);--colors-blue-p3-a-8: var(--colors-blue-light-p3-a-8);--colors-blue-p3-a-9: var(--colors-blue-light-p3-a-9);--colors-blue-p3-a-10: var(--colors-blue-light-p3-a-10);--colors-blue-p3-a-11: var(--colors-blue-light-p3-a-11);--colors-blue-p3-a-12: var(--colors-blue-light-p3-a-12);--colors-crimson-1: var(--colors-crimson-light-1);--colors-crimson-2: var(--colors-crimson-light-2);--colors-crimson-3: var(--colors-crimson-light-3);--colors-crimson-4: var(--colors-crimson-light-4);--colors-crimson-5: var(--colors-crimson-light-5);--colors-crimson-6: var(--colors-crimson-light-6);--colors-crimson-7: var(--colors-crimson-light-7);--colors-crimson-8: var(--colors-crimson-light-8);--colors-crimson-9: var(--colors-crimson-light-9);--colors-crimson-10: var(--colors-crimson-light-10);--colors-crimson-11: var(--colors-crimson-light-11);--colors-crimson-12: var(--colors-crimson-light-12);--colors-crimson-light-1: #fffcfd;--colors-crimson-light-2: #fef7f9;--colors-crimson-light-3: #ffe9f0;--colors-crimson-light-4: #fedce7;--colors-crimson-light-5: #facedd;--colors-crimson-light-6: #f3bed1;--colors-crimson-light-7: #eaacc3;--colors-crimson-light-8: #e093b2;--colors-crimson-light-9: #e93d82;--colors-crimson-light-10: #df3478;--colors-crimson-light-11: #cb1d63;--colors-crimson-light-12: #621639;--colors-crimson-light-a-1: #ff005503;--colors-crimson-light-a-2: #e0004008;--colors-crimson-light-a-3: #ff005216;--colors-crimson-light-a-4: #f8005123;--colors-crimson-light-a-5: #e5004f31;--colors-crimson-light-a-6: #d0004b41;--colors-crimson-light-a-7: #bf004753;--colors-crimson-light-a-8: #b6004a6c;--colors-crimson-light-a-9: #e2005bc2;--colors-crimson-light-a-10: #d70056cb;--colors-crimson-light-a-11: #c4004fe2;--colors-crimson-light-a-12: #530026e9;--colors-crimson-light-p3-1: color(display-p3 .998 .989 .992);--colors-crimson-light-p3-2: color(display-p3 .991 .969 .976);--colors-crimson-light-p3-3: color(display-p3 .987 .917 .941);--colors-crimson-light-p3-4: color(display-p3 .975 .866 .904);--colors-crimson-light-p3-5: color(display-p3 .953 .813 .864);--colors-crimson-light-p3-6: color(display-p3 .921 .755 .817);--colors-crimson-light-p3-7: color(display-p3 .88 .683 .761);--colors-crimson-light-p3-8: color(display-p3 .834 .592 .694);--colors-crimson-light-p3-9: color(display-p3 .843 .298 .507);--colors-crimson-light-p3-10: color(display-p3 .807 .266 .468);--colors-crimson-light-p3-11: color(display-p3 .731 .195 .388);--colors-crimson-light-p3-12: color(display-p3 .352 .111 .221);--colors-crimson-light-p3-a-1: color(display-p3 .675 .024 .349 / .012);--colors-crimson-light-p3-a-2: color(display-p3 .757 .02 .267 / .032);--colors-crimson-light-p3-a-3: color(display-p3 .859 .008 .294 / .083);--colors-crimson-light-p3-a-4: color(display-p3 .827 .008 .298 / .134);--colors-crimson-light-p3-a-5: color(display-p3 .753 .008 .275 / .189);--colors-crimson-light-p3-a-6: color(display-p3 .682 .004 .247 / .244);--colors-crimson-light-p3-a-7: color(display-p3 .62 .004 .251 / .318);--colors-crimson-light-p3-a-8: color(display-p3 .6 .004 .251 / .408);--colors-crimson-light-p3-a-9: color(display-p3 .776 0 .298 / .702);--colors-crimson-light-p3-a-10: color(display-p3 .737 0 .275 / .734);--colors-crimson-light-p3-a-11: color(display-p3 .731 .195 .388);--colors-crimson-light-p3-a-12: color(display-p3 .352 .111 .221);--colors-crimson-dark-1: #191114;--colors-crimson-dark-2: #201318;--colors-crimson-dark-3: #381525;--colors-crimson-dark-4: #4d122f;--colors-crimson-dark-5: #5c1839;--colors-crimson-dark-6: #6d2545;--colors-crimson-dark-7: #873356;--colors-crimson-dark-8: #b0436e;--colors-crimson-dark-9: #e93d82;--colors-crimson-dark-10: #ee518a;--colors-crimson-dark-11: #ff92ad;--colors-crimson-dark-12: #fdd3e8;--colors-crimson-dark-a-1: #f4126709;--colors-crimson-dark-a-2: #f22f7a11;--colors-crimson-dark-a-3: #fe2a8b2a;--colors-crimson-dark-a-4: #fd158741;--colors-crimson-dark-a-5: #fd278f51;--colors-crimson-dark-a-6: #fe459763;--colors-crimson-dark-a-7: #fd559b7f;--colors-crimson-dark-a-8: #fe5b9bab;--colors-crimson-dark-a-9: #fe418de8;--colors-crimson-dark-a-10: #ff5693ed;--colors-crimson-dark-a-11: #ff92ad;--colors-crimson-dark-a-12: #ffd5eafd;--colors-crimson-dark-p3-1: color(display-p3 .093 .068 .078);--colors-crimson-dark-p3-2: color(display-p3 .117 .078 .095);--colors-crimson-dark-p3-3: color(display-p3 .203 .091 .143);--colors-crimson-dark-p3-4: color(display-p3 .277 .087 .182);--colors-crimson-dark-p3-5: color(display-p3 .332 .115 .22);--colors-crimson-dark-p3-6: color(display-p3 .394 .162 .268);--colors-crimson-dark-p3-7: color(display-p3 .489 .222 .336);--colors-crimson-dark-p3-8: color(display-p3 .638 .289 .429);--colors-crimson-dark-p3-9: color(display-p3 .843 .298 .507);--colors-crimson-dark-p3-10: color(display-p3 .864 .364 .539);--colors-crimson-dark-p3-11: color(display-p3 1 .56 .66);--colors-crimson-dark-p3-12: color(display-p3 .966 .834 .906);--colors-crimson-dark-p3-a-1: color(display-p3 .984 .071 .463 / .03);--colors-crimson-dark-p3-a-2: color(display-p3 .996 .282 .569 / .055);--colors-crimson-dark-p3-a-3: color(display-p3 .996 .227 .573 / .148);--colors-crimson-dark-p3-a-4: color(display-p3 1 .157 .569 / .227);--colors-crimson-dark-p3-a-5: color(display-p3 1 .231 .604 / .286);--colors-crimson-dark-p3-a-6: color(display-p3 1 .337 .643 / .349);--colors-crimson-dark-p3-a-7: color(display-p3 1 .416 .663 / .454);--colors-crimson-dark-p3-a-8: color(display-p3 .996 .427 .651 / .614);--colors-crimson-dark-p3-a-9: color(display-p3 1 .345 .596 / .832);--colors-crimson-dark-p3-a-10: color(display-p3 1 .42 .62 / .853);--colors-crimson-dark-p3-a-11: color(display-p3 1 .56 .66);--colors-crimson-dark-p3-a-12: color(display-p3 .966 .834 .906);--colors-crimson-a-1: var(--colors-crimson-light-a-1);--colors-crimson-a-2: var(--colors-crimson-light-a-2);--colors-crimson-a-3: var(--colors-crimson-light-a-3);--colors-crimson-a-4: var(--colors-crimson-light-a-4);--colors-crimson-a-5: var(--colors-crimson-light-a-5);--colors-crimson-a-6: var(--colors-crimson-light-a-6);--colors-crimson-a-7: var(--colors-crimson-light-a-7);--colors-crimson-a-8: var(--colors-crimson-light-a-8);--colors-crimson-a-9: var(--colors-crimson-light-a-9);--colors-crimson-a-10: var(--colors-crimson-light-a-10);--colors-crimson-a-11: var(--colors-crimson-light-a-11);--colors-crimson-a-12: var(--colors-crimson-light-a-12);--colors-crimson-p3-1: var(--colors-crimson-light-p3-1);--colors-crimson-p3-2: var(--colors-crimson-light-p3-2);--colors-crimson-p3-3: var(--colors-crimson-light-p3-3);--colors-crimson-p3-4: var(--colors-crimson-light-p3-4);--colors-crimson-p3-5: var(--colors-crimson-light-p3-5);--colors-crimson-p3-6: var(--colors-crimson-light-p3-6);--colors-crimson-p3-7: var(--colors-crimson-light-p3-7);--colors-crimson-p3-8: var(--colors-crimson-light-p3-8);--colors-crimson-p3-9: var(--colors-crimson-light-p3-9);--colors-crimson-p3-10: var(--colors-crimson-light-p3-10);--colors-crimson-p3-11: var(--colors-crimson-light-p3-11);--colors-crimson-p3-12: var(--colors-crimson-light-p3-12);--colors-crimson-p3-a-1: var(--colors-crimson-light-p3-a-1);--colors-crimson-p3-a-2: var(--colors-crimson-light-p3-a-2);--colors-crimson-p3-a-3: var(--colors-crimson-light-p3-a-3);--colors-crimson-p3-a-4: var(--colors-crimson-light-p3-a-4);--colors-crimson-p3-a-5: var(--colors-crimson-light-p3-a-5);--colors-crimson-p3-a-6: var(--colors-crimson-light-p3-a-6);--colors-crimson-p3-a-7: var(--colors-crimson-light-p3-a-7);--colors-crimson-p3-a-8: var(--colors-crimson-light-p3-a-8);--colors-crimson-p3-a-9: var(--colors-crimson-light-p3-a-9);--colors-crimson-p3-a-10: var(--colors-crimson-light-p3-a-10);--colors-crimson-p3-a-11: var(--colors-crimson-light-p3-a-11);--colors-crimson-p3-a-12: var(--colors-crimson-light-p3-a-12);--colors-grass-1: var(--colors-grass-light-1);--colors-grass-2: var(--colors-grass-light-2);--colors-grass-3: var(--colors-grass-light-3);--colors-grass-4: var(--colors-grass-light-4);--colors-grass-5: var(--colors-grass-light-5);--colors-grass-6: var(--colors-grass-light-6);--colors-grass-7: var(--colors-grass-light-7);--colors-grass-8: var(--colors-grass-light-8);--colors-grass-9: var(--colors-grass-light-9);--colors-grass-10: var(--colors-grass-light-10);--colors-grass-11: var(--colors-grass-light-11);--colors-grass-12: var(--colors-grass-light-12);--colors-grass-light-1: #fbfefb;--colors-grass-light-2: #f5fbf5;--colors-grass-light-3: #e9f6e9;--colors-grass-light-4: #daf1db;--colors-grass-light-5: #c9e8ca;--colors-grass-light-6: #b2ddb5;--colors-grass-light-7: #94ce9a;--colors-grass-light-8: #65ba74;--colors-grass-light-9: #46a758;--colors-grass-light-10: #3e9b4f;--colors-grass-light-11: #2a7e3b;--colors-grass-light-12: #203c25;--colors-grass-light-a-1: #00c00004;--colors-grass-light-a-2: #0099000a;--colors-grass-light-a-3: #00970016;--colors-grass-light-a-4: #009f0725;--colors-grass-light-a-5: #00930536;--colors-grass-light-a-6: #008f0a4d;--colors-grass-light-a-7: #018b0f6b;--colors-grass-light-a-8: #008d199a;--colors-grass-light-a-9: #008619b9;--colors-grass-light-a-10: #007b17c1;--colors-grass-light-a-11: #006514d5;--colors-grass-light-a-12: #002006df;--colors-grass-light-p3-1: color(display-p3 .986 .996 .985);--colors-grass-light-p3-2: color(display-p3 .966 .983 .964);--colors-grass-light-p3-3: color(display-p3 .923 .965 .917);--colors-grass-light-p3-4: color(display-p3 .872 .94 .865);--colors-grass-light-p3-5: color(display-p3 .811 .908 .802);--colors-grass-light-p3-6: color(display-p3 .733 .864 .724);--colors-grass-light-p3-7: color(display-p3 .628 .803 .622);--colors-grass-light-p3-8: color(display-p3 .477 .72 .482);--colors-grass-light-p3-9: color(display-p3 .38 .647 .378);--colors-grass-light-p3-10: color(display-p3 .344 .598 .342);--colors-grass-light-p3-11: color(display-p3 .263 .488 .261);--colors-grass-light-p3-12: color(display-p3 .151 .233 .153);--colors-grass-light-p3-a-1: color(display-p3 .024 .757 .024 / .016);--colors-grass-light-p3-a-2: color(display-p3 .024 .565 .024 / .036);--colors-grass-light-p3-a-3: color(display-p3 .059 .576 .008 / .083);--colors-grass-light-p3-a-4: color(display-p3 .035 .565 .008 / .134);--colors-grass-light-p3-a-5: color(display-p3 .047 .545 .008 / .197);--colors-grass-light-p3-a-6: color(display-p3 .031 .502 .004 / .275);--colors-grass-light-p3-a-7: color(display-p3 .012 .482 .004 / .377);--colors-grass-light-p3-a-8: color(display-p3 0 .467 .008 / .522);--colors-grass-light-p3-a-9: color(display-p3 .008 .435 0 / .624);--colors-grass-light-p3-a-10: color(display-p3 .008 .388 0 / .659);--colors-grass-light-p3-a-11: color(display-p3 .263 .488 .261);--colors-grass-light-p3-a-12: color(display-p3 .151 .233 .153);--colors-grass-dark-1: #0e1511;--colors-grass-dark-2: #141a15;--colors-grass-dark-3: #1b2a1e;--colors-grass-dark-4: #1d3a24;--colors-grass-dark-5: #25482d;--colors-grass-dark-6: #2d5736;--colors-grass-dark-7: #366740;--colors-grass-dark-8: #3e7949;--colors-grass-dark-9: #46a758;--colors-grass-dark-10: #53b365;--colors-grass-dark-11: #71d083;--colors-grass-dark-12: #c2f0c2;--colors-grass-dark-a-1: #00de1205;--colors-grass-dark-a-2: #5ef7780a;--colors-grass-dark-a-3: #70fe8c1b;--colors-grass-dark-a-4: #57ff802c;--colors-grass-dark-a-5: #68ff8b3b;--colors-grass-dark-a-6: #71ff8f4b;--colors-grass-dark-a-7: #77fd925d;--colors-grass-dark-a-8: #77fd9070;--colors-grass-dark-a-9: #65ff82a1;--colors-grass-dark-a-10: #72ff8dae;--colors-grass-dark-a-11: #89ff9fcd;--colors-grass-dark-a-12: #ceffceef;--colors-grass-dark-p3-1: color(display-p3 .062 .083 .067);--colors-grass-dark-p3-2: color(display-p3 .083 .103 .085);--colors-grass-dark-p3-3: color(display-p3 .118 .163 .122);--colors-grass-dark-p3-4: color(display-p3 .142 .225 .15);--colors-grass-dark-p3-5: color(display-p3 .178 .279 .186);--colors-grass-dark-p3-6: color(display-p3 .217 .337 .224);--colors-grass-dark-p3-7: color(display-p3 .258 .4 .264);--colors-grass-dark-p3-8: color(display-p3 .302 .47 .305);--colors-grass-dark-p3-9: color(display-p3 .38 .647 .378);--colors-grass-dark-p3-10: color(display-p3 .426 .694 .426);--colors-grass-dark-p3-11: color(display-p3 .535 .807 .542);--colors-grass-dark-p3-12: color(display-p3 .797 .936 .776);--colors-grass-dark-p3-a-1: color(display-p3 0 .992 .071 / .017);--colors-grass-dark-p3-a-2: color(display-p3 .482 .996 .584 / .038);--colors-grass-dark-p3-a-3: color(display-p3 .549 .992 .588 / .106);--colors-grass-dark-p3-a-4: color(display-p3 .51 .996 .557 / .169);--colors-grass-dark-p3-a-5: color(display-p3 .553 1 .588 / .227);--colors-grass-dark-p3-a-6: color(display-p3 .584 1 .608 / .29);--colors-grass-dark-p3-a-7: color(display-p3 .604 1 .616 / .358);--colors-grass-dark-p3-a-8: color(display-p3 .608 1 .62 / .433);--colors-grass-dark-p3-a-9: color(display-p3 .573 1 .569 / .622);--colors-grass-dark-p3-a-10: color(display-p3 .6 .996 .6 / .673);--colors-grass-dark-p3-a-11: color(display-p3 .535 .807 .542);--colors-grass-dark-p3-a-12: color(display-p3 .797 .936 .776);--colors-grass-a-1: var(--colors-grass-light-a-1);--colors-grass-a-2: var(--colors-grass-light-a-2);--colors-grass-a-3: var(--colors-grass-light-a-3);--colors-grass-a-4: var(--colors-grass-light-a-4);--colors-grass-a-5: var(--colors-grass-light-a-5);--colors-grass-a-6: var(--colors-grass-light-a-6);--colors-grass-a-7: var(--colors-grass-light-a-7);--colors-grass-a-8: var(--colors-grass-light-a-8);--colors-grass-a-9: var(--colors-grass-light-a-9);--colors-grass-a-10: var(--colors-grass-light-a-10);--colors-grass-a-11: var(--colors-grass-light-a-11);--colors-grass-a-12: var(--colors-grass-light-a-12);--colors-grass-p3-1: var(--colors-grass-light-p3-1);--colors-grass-p3-2: var(--colors-grass-light-p3-2);--colors-grass-p3-3: var(--colors-grass-light-p3-3);--colors-grass-p3-4: var(--colors-grass-light-p3-4);--colors-grass-p3-5: var(--colors-grass-light-p3-5);--colors-grass-p3-6: var(--colors-grass-light-p3-6);--colors-grass-p3-7: var(--colors-grass-light-p3-7);--colors-grass-p3-8: var(--colors-grass-light-p3-8);--colors-grass-p3-9: var(--colors-grass-light-p3-9);--colors-grass-p3-10: var(--colors-grass-light-p3-10);--colors-grass-p3-11: var(--colors-grass-light-p3-11);--colors-grass-p3-12: var(--colors-grass-light-p3-12);--colors-grass-p3-a-1: var(--colors-grass-light-p3-a-1);--colors-grass-p3-a-2: var(--colors-grass-light-p3-a-2);--colors-grass-p3-a-3: var(--colors-grass-light-p3-a-3);--colors-grass-p3-a-4: var(--colors-grass-light-p3-a-4);--colors-grass-p3-a-5: var(--colors-grass-light-p3-a-5);--colors-grass-p3-a-6: var(--colors-grass-light-p3-a-6);--colors-grass-p3-a-7: var(--colors-grass-light-p3-a-7);--colors-grass-p3-a-8: var(--colors-grass-light-p3-a-8);--colors-grass-p3-a-9: var(--colors-grass-light-p3-a-9);--colors-grass-p3-a-10: var(--colors-grass-light-p3-a-10);--colors-grass-p3-a-11: var(--colors-grass-light-p3-a-11);--colors-grass-p3-a-12: var(--colors-grass-light-p3-a-12);--colors-indigo-1: var(--colors-indigo-light-1);--colors-indigo-2: var(--colors-indigo-light-2);--colors-indigo-3: var(--colors-indigo-light-3);--colors-indigo-4: var(--colors-indigo-light-4);--colors-indigo-5: var(--colors-indigo-light-5);--colors-indigo-6: var(--colors-indigo-light-6);--colors-indigo-7: var(--colors-indigo-light-7);--colors-indigo-8: var(--colors-indigo-light-8);--colors-indigo-9: var(--colors-indigo-light-9);--colors-indigo-10: var(--colors-indigo-light-10);--colors-indigo-11: var(--colors-indigo-light-11);--colors-indigo-12: var(--colors-indigo-light-12);--colors-indigo-light-1: #fdfdfe;--colors-indigo-light-2: #f7f9ff;--colors-indigo-light-3: #edf2fe;--colors-indigo-light-4: #e1e9ff;--colors-indigo-light-5: #d2deff;--colors-indigo-light-6: #c1d0ff;--colors-indigo-light-7: #abbdf9;--colors-indigo-light-8: #8da4ef;--colors-indigo-light-9: #3e63dd;--colors-indigo-light-10: #3358d4;--colors-indigo-light-11: #3a5bc7;--colors-indigo-light-12: #1f2d5c;--colors-indigo-light-a-1: #00008002;--colors-indigo-light-a-2: #0040ff08;--colors-indigo-light-a-3: #0047f112;--colors-indigo-light-a-4: #0044ff1e;--colors-indigo-light-a-5: #0044ff2d;--colors-indigo-light-a-6: #003eff3e;--colors-indigo-light-a-7: #0037ed54;--colors-indigo-light-a-8: #0034dc72;--colors-indigo-light-a-9: #0031d2c1;--colors-indigo-light-a-10: #002ec9cc;--colors-indigo-light-a-11: #002bb7c5;--colors-indigo-light-a-12: #001046e0;--colors-indigo-light-p3-1: color(display-p3 .992 .992 .996);--colors-indigo-light-p3-2: color(display-p3 .971 .977 .998);--colors-indigo-light-p3-3: color(display-p3 .933 .948 .992);--colors-indigo-light-p3-4: color(display-p3 .885 .914 1);--colors-indigo-light-p3-5: color(display-p3 .831 .87 1);--colors-indigo-light-p3-6: color(display-p3 .767 .814 .995);--colors-indigo-light-p3-7: color(display-p3 .685 .74 .957);--colors-indigo-light-p3-8: color(display-p3 .569 .639 .916);--colors-indigo-light-p3-9: color(display-p3 .276 .384 .837);--colors-indigo-light-p3-10: color(display-p3 .234 .343 .801);--colors-indigo-light-p3-11: color(display-p3 .256 .354 .755);--colors-indigo-light-p3-12: color(display-p3 .133 .175 .348);--colors-indigo-light-p3-a-1: color(display-p3 .02 .02 .51 / .008);--colors-indigo-light-p3-a-2: color(display-p3 .024 .161 .863 / .028);--colors-indigo-light-p3-a-3: color(display-p3 .008 .239 .886 / .067);--colors-indigo-light-p3-a-4: color(display-p3 .004 .247 1 / .114);--colors-indigo-light-p3-a-5: color(display-p3 .004 .235 1 / .169);--colors-indigo-light-p3-a-6: color(display-p3 .004 .208 .984 / .232);--colors-indigo-light-p3-a-7: color(display-p3 .004 .176 .863 / .314);--colors-indigo-light-p3-a-8: color(display-p3 .004 .165 .812 / .432);--colors-indigo-light-p3-a-9: color(display-p3 0 .153 .773 / .726);--colors-indigo-light-p3-a-10: color(display-p3 0 .137 .737 / .765);--colors-indigo-light-p3-a-11: color(display-p3 .256 .354 .755);--colors-indigo-light-p3-a-12: color(display-p3 .133 .175 .348);--colors-indigo-dark-1: #11131f;--colors-indigo-dark-2: #141726;--colors-indigo-dark-3: #182449;--colors-indigo-dark-4: #1d2e62;--colors-indigo-dark-5: #253974;--colors-indigo-dark-6: #304384;--colors-indigo-dark-7: #3a4f97;--colors-indigo-dark-8: #435db1;--colors-indigo-dark-9: #3e63dd;--colors-indigo-dark-10: #5472e4;--colors-indigo-dark-11: #9eb1ff;--colors-indigo-dark-12: #d6e1ff;--colors-indigo-dark-a-1: #1133ff0f;--colors-indigo-dark-a-2: #3354fa17;--colors-indigo-dark-a-3: #2f62ff3c;--colors-indigo-dark-a-4: #3566ff57;--colors-indigo-dark-a-5: #4171fd6b;--colors-indigo-dark-a-6: #5178fd7c;--colors-indigo-dark-a-7: #5a7fff90;--colors-indigo-dark-a-8: #5b81feac;--colors-indigo-dark-a-9: #4671ffdb;--colors-indigo-dark-a-10: #5c7efee3;--colors-indigo-dark-a-11: #9eb1ff;--colors-indigo-dark-a-12: #d6e1ff;--colors-indigo-dark-p3-1: color(display-p3 .068 .074 .118);--colors-indigo-dark-p3-2: color(display-p3 .081 .089 .144);--colors-indigo-dark-p3-3: color(display-p3 .105 .141 .275);--colors-indigo-dark-p3-4: color(display-p3 .129 .18 .369);--colors-indigo-dark-p3-5: color(display-p3 .163 .22 .439);--colors-indigo-dark-p3-6: color(display-p3 .203 .262 .5);--colors-indigo-dark-p3-7: color(display-p3 .245 .309 .575);--colors-indigo-dark-p3-8: color(display-p3 .285 .362 .674);--colors-indigo-dark-p3-9: color(display-p3 .276 .384 .837);--colors-indigo-dark-p3-10: color(display-p3 .354 .445 .866);--colors-indigo-dark-p3-11: color(display-p3 .63 .69 1);--colors-indigo-dark-p3-12: color(display-p3 .848 .881 .99);--colors-indigo-dark-p3-a-1: color(display-p3 .071 .212 .996 / .055);--colors-indigo-dark-p3-a-2: color(display-p3 .251 .345 .988 / .085);--colors-indigo-dark-p3-a-3: color(display-p3 .243 .404 1 / .223);--colors-indigo-dark-p3-a-4: color(display-p3 .263 .42 1 / .324);--colors-indigo-dark-p3-a-5: color(display-p3 .314 .451 1 / .4);--colors-indigo-dark-p3-a-6: color(display-p3 .361 .49 1 / .467);--colors-indigo-dark-p3-a-7: color(display-p3 .388 .51 1 / .547);--colors-indigo-dark-p3-a-8: color(display-p3 .404 .518 1 / .652);--colors-indigo-dark-p3-a-9: color(display-p3 .318 .451 1 / .824);--colors-indigo-dark-p3-a-10: color(display-p3 .404 .506 1 / .858);--colors-indigo-dark-p3-a-11: color(display-p3 .63 .69 1);--colors-indigo-dark-p3-a-12: color(display-p3 .848 .881 .99);--colors-indigo-a-1: var(--colors-indigo-light-a-1);--colors-indigo-a-2: var(--colors-indigo-light-a-2);--colors-indigo-a-3: var(--colors-indigo-light-a-3);--colors-indigo-a-4: var(--colors-indigo-light-a-4);--colors-indigo-a-5: var(--colors-indigo-light-a-5);--colors-indigo-a-6: var(--colors-indigo-light-a-6);--colors-indigo-a-7: var(--colors-indigo-light-a-7);--colors-indigo-a-8: var(--colors-indigo-light-a-8);--colors-indigo-a-9: var(--colors-indigo-light-a-9);--colors-indigo-a-10: var(--colors-indigo-light-a-10);--colors-indigo-a-11: var(--colors-indigo-light-a-11);--colors-indigo-a-12: var(--colors-indigo-light-a-12);--colors-indigo-p3-1: var(--colors-indigo-light-p3-1);--colors-indigo-p3-2: var(--colors-indigo-light-p3-2);--colors-indigo-p3-3: var(--colors-indigo-light-p3-3);--colors-indigo-p3-4: var(--colors-indigo-light-p3-4);--colors-indigo-p3-5: var(--colors-indigo-light-p3-5);--colors-indigo-p3-6: var(--colors-indigo-light-p3-6);--colors-indigo-p3-7: var(--colors-indigo-light-p3-7);--colors-indigo-p3-8: var(--colors-indigo-light-p3-8);--colors-indigo-p3-9: var(--colors-indigo-light-p3-9);--colors-indigo-p3-10: var(--colors-indigo-light-p3-10);--colors-indigo-p3-11: var(--colors-indigo-light-p3-11);--colors-indigo-p3-12: var(--colors-indigo-light-p3-12);--colors-indigo-p3-a-1: var(--colors-indigo-light-p3-a-1);--colors-indigo-p3-a-2: var(--colors-indigo-light-p3-a-2);--colors-indigo-p3-a-3: var(--colors-indigo-light-p3-a-3);--colors-indigo-p3-a-4: var(--colors-indigo-light-p3-a-4);--colors-indigo-p3-a-5: var(--colors-indigo-light-p3-a-5);--colors-indigo-p3-a-6: var(--colors-indigo-light-p3-a-6);--colors-indigo-p3-a-7: var(--colors-indigo-light-p3-a-7);--colors-indigo-p3-a-8: var(--colors-indigo-light-p3-a-8);--colors-indigo-p3-a-9: var(--colors-indigo-light-p3-a-9);--colors-indigo-p3-a-10: var(--colors-indigo-light-p3-a-10);--colors-indigo-p3-a-11: var(--colors-indigo-light-p3-a-11);--colors-indigo-p3-a-12: var(--colors-indigo-light-p3-a-12);--colors-lime-1: var(--colors-lime-light-1);--colors-lime-2: var(--colors-lime-light-2);--colors-lime-3: var(--colors-lime-light-3);--colors-lime-4: var(--colors-lime-light-4);--colors-lime-5: var(--colors-lime-light-5);--colors-lime-6: var(--colors-lime-light-6);--colors-lime-7: var(--colors-lime-light-7);--colors-lime-8: var(--colors-lime-light-8);--colors-lime-9: var(--colors-lime-light-9);--colors-lime-10: var(--colors-lime-light-10);--colors-lime-11: var(--colors-lime-light-11);--colors-lime-12: var(--colors-lime-light-12);--colors-lime-light-1: #fcfdfa;--colors-lime-light-2: #f8faf3;--colors-lime-light-3: #eef6d6;--colors-lime-light-4: #e2f0bd;--colors-lime-light-5: #d3e7a6;--colors-lime-light-6: #c2da91;--colors-lime-light-7: #abc978;--colors-lime-light-8: #8db654;--colors-lime-light-9: #bdee63;--colors-lime-light-10: #b0e64c;--colors-lime-light-11: #5c7c2f;--colors-lime-light-12: #37401c;--colors-lime-light-a-1: #66990005;--colors-lime-light-a-2: #6b95000c;--colors-lime-light-a-3: #96c80029;--colors-lime-light-a-4: #8fc60042;--colors-lime-light-a-5: #81bb0059;--colors-lime-light-a-6: #72aa006e;--colors-lime-light-a-7: #61990087;--colors-lime-light-a-8: #559200ab;--colors-lime-light-a-9: #93e4009c;--colors-lime-light-a-10: #8fdc00b3;--colors-lime-light-a-11: #375f00d0;--colors-lime-light-a-12: #1e2900e3;--colors-lime-light-p3-1: color(display-p3 .989 .992 .981);--colors-lime-light-p3-2: color(display-p3 .975 .98 .954);--colors-lime-light-p3-3: color(display-p3 .939 .965 .851);--colors-lime-light-p3-4: color(display-p3 .896 .94 .76);--colors-lime-light-p3-5: color(display-p3 .843 .903 .678);--colors-lime-light-p3-6: color(display-p3 .778 .852 .599);--colors-lime-light-p3-7: color(display-p3 .694 .784 .508);--colors-lime-light-p3-8: color(display-p3 .585 .707 .378);--colors-lime-light-p3-9: color(display-p3 .78 .928 .466);--colors-lime-light-p3-10: color(display-p3 .734 .896 .397);--colors-lime-light-p3-11: color(display-p3 .386 .482 .227);--colors-lime-light-p3-12: color(display-p3 .222 .25 .128);--colors-lime-light-p3-a-1: color(display-p3 .412 .608 .02 / .02);--colors-lime-light-p3-a-2: color(display-p3 .514 .592 .024 / .048);--colors-lime-light-p3-a-3: color(display-p3 .584 .765 .008 / .15);--colors-lime-light-p3-a-4: color(display-p3 .561 .757 .004 / .24);--colors-lime-light-p3-a-5: color(display-p3 .514 .698 .004 / .322);--colors-lime-light-p3-a-6: color(display-p3 .443 .627 0 / .4);--colors-lime-light-p3-a-7: color(display-p3 .376 .561 .004 / .491);--colors-lime-light-p3-a-8: color(display-p3 .333 .529 0 / .624);--colors-lime-light-p3-a-9: color(display-p3 .588 .867 0 / .534);--colors-lime-light-p3-a-10: color(display-p3 .561 .827 0 / .604);--colors-lime-light-p3-a-11: color(display-p3 .386 .482 .227);--colors-lime-light-p3-a-12: color(display-p3 .222 .25 .128);--colors-lime-dark-1: #11130c;--colors-lime-dark-2: #151a10;--colors-lime-dark-3: #1f2917;--colors-lime-dark-4: #29371d;--colors-lime-dark-5: #334423;--colors-lime-dark-6: #3d522a;--colors-lime-dark-7: #496231;--colors-lime-dark-8: #577538;--colors-lime-dark-9: #bdee63;--colors-lime-dark-10: #d4ff70;--colors-lime-dark-11: #bde56c;--colors-lime-dark-12: #e3f7ba;--colors-lime-dark-a-1: #11bb0003;--colors-lime-dark-a-2: #78f7000a;--colors-lime-dark-a-3: #9bfd4c1a;--colors-lime-dark-a-4: #a7fe5c29;--colors-lime-dark-a-5: #affe6537;--colors-lime-dark-a-6: #b2fe6d46;--colors-lime-dark-a-7: #b6ff6f57;--colors-lime-dark-a-8: #b6fd6d6c;--colors-lime-dark-a-9: #caff69ed;--colors-lime-dark-a-10: #d4ff70;--colors-lime-dark-a-11: #d1fe77e4;--colors-lime-dark-a-12: #e9febff7;--colors-lime-dark-p3-1: color(display-p3 .067 .073 .048);--colors-lime-dark-p3-2: color(display-p3 .086 .1 .067);--colors-lime-dark-p3-3: color(display-p3 .13 .16 .099);--colors-lime-dark-p3-4: color(display-p3 .172 .214 .126);--colors-lime-dark-p3-5: color(display-p3 .213 .266 .153);--colors-lime-dark-p3-6: color(display-p3 .257 .321 .182);--colors-lime-dark-p3-7: color(display-p3 .307 .383 .215);--colors-lime-dark-p3-8: color(display-p3 .365 .456 .25);--colors-lime-dark-p3-9: color(display-p3 .78 .928 .466);--colors-lime-dark-p3-10: color(display-p3 .865 .995 .519);--colors-lime-dark-p3-11: color(display-p3 .771 .893 .485);--colors-lime-dark-p3-12: color(display-p3 .905 .966 .753);--colors-lime-dark-p3-a-1: color(display-p3 .067 .941 0 / .009);--colors-lime-dark-p3-a-2: color(display-p3 .584 .996 .071 / .038);--colors-lime-dark-p3-a-3: color(display-p3 .69 1 .38 / .101);--colors-lime-dark-p3-a-4: color(display-p3 .729 1 .435 / .16);--colors-lime-dark-p3-a-5: color(display-p3 .745 1 .471 / .215);--colors-lime-dark-p3-a-6: color(display-p3 .769 1 .482 / .274);--colors-lime-dark-p3-a-7: color(display-p3 .769 1 .506 / .341);--colors-lime-dark-p3-a-8: color(display-p3 .784 1 .51 / .416);--colors-lime-dark-p3-a-9: color(display-p3 .839 1 .502 / .925);--colors-lime-dark-p3-a-10: color(display-p3 .871 1 .522 / .996);--colors-lime-dark-p3-a-11: color(display-p3 .771 .893 .485);--colors-lime-dark-p3-a-12: color(display-p3 .905 .966 .753);--colors-lime-a-1: var(--colors-lime-light-a-1);--colors-lime-a-2: var(--colors-lime-light-a-2);--colors-lime-a-3: var(--colors-lime-light-a-3);--colors-lime-a-4: var(--colors-lime-light-a-4);--colors-lime-a-5: var(--colors-lime-light-a-5);--colors-lime-a-6: var(--colors-lime-light-a-6);--colors-lime-a-7: var(--colors-lime-light-a-7);--colors-lime-a-8: var(--colors-lime-light-a-8);--colors-lime-a-9: var(--colors-lime-light-a-9);--colors-lime-a-10: var(--colors-lime-light-a-10);--colors-lime-a-11: var(--colors-lime-light-a-11);--colors-lime-a-12: var(--colors-lime-light-a-12);--colors-lime-p3-1: var(--colors-lime-light-p3-1);--colors-lime-p3-2: var(--colors-lime-light-p3-2);--colors-lime-p3-3: var(--colors-lime-light-p3-3);--colors-lime-p3-4: var(--colors-lime-light-p3-4);--colors-lime-p3-5: var(--colors-lime-light-p3-5);--colors-lime-p3-6: var(--colors-lime-light-p3-6);--colors-lime-p3-7: var(--colors-lime-light-p3-7);--colors-lime-p3-8: var(--colors-lime-light-p3-8);--colors-lime-p3-9: var(--colors-lime-light-p3-9);--colors-lime-p3-10: var(--colors-lime-light-p3-10);--colors-lime-p3-11: var(--colors-lime-light-p3-11);--colors-lime-p3-12: var(--colors-lime-light-p3-12);--colors-lime-p3-a-1: var(--colors-lime-light-p3-a-1);--colors-lime-p3-a-2: var(--colors-lime-light-p3-a-2);--colors-lime-p3-a-3: var(--colors-lime-light-p3-a-3);--colors-lime-p3-a-4: var(--colors-lime-light-p3-a-4);--colors-lime-p3-a-5: var(--colors-lime-light-p3-a-5);--colors-lime-p3-a-6: var(--colors-lime-light-p3-a-6);--colors-lime-p3-a-7: var(--colors-lime-light-p3-a-7);--colors-lime-p3-a-8: var(--colors-lime-light-p3-a-8);--colors-lime-p3-a-9: var(--colors-lime-light-p3-a-9);--colors-lime-p3-a-10: var(--colors-lime-light-p3-a-10);--colors-lime-p3-a-11: var(--colors-lime-light-p3-a-11);--colors-lime-p3-a-12: var(--colors-lime-light-p3-a-12);--colors-orange-1: var(--colors-orange-light-1);--colors-orange-2: var(--colors-orange-light-2);--colors-orange-3: var(--colors-orange-light-3);--colors-orange-4: var(--colors-orange-light-4);--colors-orange-5: var(--colors-orange-light-5);--colors-orange-6: var(--colors-orange-light-6);--colors-orange-7: var(--colors-orange-light-7);--colors-orange-8: var(--colors-orange-light-8);--colors-orange-9: var(--colors-orange-light-9);--colors-orange-10: var(--colors-orange-light-10);--colors-orange-11: var(--colors-orange-light-11);--colors-orange-12: var(--colors-orange-light-12);--colors-orange-light-1: #fefcfb;--colors-orange-light-2: #fff7ed;--colors-orange-light-3: #ffefd6;--colors-orange-light-4: #ffdfb5;--colors-orange-light-5: #ffd19a;--colors-orange-light-6: #ffc182;--colors-orange-light-7: #f5ae73;--colors-orange-light-8: #ec9455;--colors-orange-light-9: #f76b15;--colors-orange-light-10: #ef5f00;--colors-orange-light-11: #cc4e00;--colors-orange-light-12: #582d1d;--colors-orange-light-a-1: #c0400004;--colors-orange-light-a-2: #ff8e0012;--colors-orange-light-a-3: #ff9c0029;--colors-orange-light-a-4: #ff91014a;--colors-orange-light-a-5: #ff8b0065;--colors-orange-light-a-6: #ff81007d;--colors-orange-light-a-7: #ed6c008c;--colors-orange-light-a-8: #e35f00aa;--colors-orange-light-a-9: #f65e00ea;--colors-orange-light-a-10: #ef5f00;--colors-orange-light-a-11: #cc4e00;--colors-orange-light-a-12: #431200e2;--colors-orange-light-p3-1: color(display-p3 .995 .988 .985);--colors-orange-light-p3-2: color(display-p3 .994 .968 .934);--colors-orange-light-p3-3: color(display-p3 .989 .938 .85);--colors-orange-light-p3-4: color(display-p3 1 .874 .687);--colors-orange-light-p3-5: color(display-p3 1 .821 .583);--colors-orange-light-p3-6: color(display-p3 .975 .767 .545);--colors-orange-light-p3-7: color(display-p3 .919 .693 .486);--colors-orange-light-p3-8: color(display-p3 .877 .597 .379);--colors-orange-light-p3-9: color(display-p3 .9 .45 .2);--colors-orange-light-p3-10: color(display-p3 .87 .409 .164);--colors-orange-light-p3-11: color(display-p3 .76 .34 0);--colors-orange-light-p3-12: color(display-p3 .323 .185 .127);--colors-orange-light-p3-a-1: color(display-p3 .757 .267 .024 / .016);--colors-orange-light-p3-a-2: color(display-p3 .886 .533 .008 / .067);--colors-orange-light-p3-a-3: color(display-p3 .922 .584 .008 / .15);--colors-orange-light-p3-a-4: color(display-p3 1 .604 .004 / .314);--colors-orange-light-p3-a-5: color(display-p3 1 .569 .004 / .416);--colors-orange-light-p3-a-6: color(display-p3 .949 .494 .004 / .455);--colors-orange-light-p3-a-7: color(display-p3 .839 .408 0 / .514);--colors-orange-light-p3-a-8: color(display-p3 .804 .349 0 / .62);--colors-orange-light-p3-a-9: color(display-p3 .878 .314 0 / .8);--colors-orange-light-p3-a-10: color(display-p3 .843 .29 0 / .836);--colors-orange-light-p3-a-11: color(display-p3 .76 .34 0);--colors-orange-light-p3-a-12: color(display-p3 .323 .185 .127);--colors-orange-dark-1: #17120e;--colors-orange-dark-2: #1e160f;--colors-orange-dark-3: #331e0b;--colors-orange-dark-4: #462100;--colors-orange-dark-5: #562800;--colors-orange-dark-6: #66350c;--colors-orange-dark-7: #7e451d;--colors-orange-dark-8: #a35829;--colors-orange-dark-9: #f76b15;--colors-orange-dark-10: #ff801f;--colors-orange-dark-11: #ffa057;--colors-orange-dark-12: #ffe0c2;--colors-orange-dark-a-1: #ec360007;--colors-orange-dark-a-2: #fe6d000e;--colors-orange-dark-a-3: #fb6a0025;--colors-orange-dark-a-4: #ff590039;--colors-orange-dark-a-5: #ff61004a;--colors-orange-dark-a-6: #fd75045c;--colors-orange-dark-a-7: #ff832c75;--colors-orange-dark-a-8: #fe84389d;--colors-orange-dark-a-9: #fe6d15f7;--colors-orange-dark-a-10: #ff801f;--colors-orange-dark-a-11: #ffa057;--colors-orange-dark-a-12: #ffe0c2;--colors-orange-dark-p3-1: color(display-p3 .088 .07 .057);--colors-orange-dark-p3-2: color(display-p3 .113 .089 .061);--colors-orange-dark-p3-3: color(display-p3 .189 .12 .056);--colors-orange-dark-p3-4: color(display-p3 .262 .132 0);--colors-orange-dark-p3-5: color(display-p3 .315 .168 .016);--colors-orange-dark-p3-6: color(display-p3 .376 .219 .088);--colors-orange-dark-p3-7: color(display-p3 .465 .283 .147);--colors-orange-dark-p3-8: color(display-p3 .601 .359 .201);--colors-orange-dark-p3-9: color(display-p3 .9 .45 .2);--colors-orange-dark-p3-10: color(display-p3 .98 .51 .23);--colors-orange-dark-p3-11: color(display-p3 1 .63 .38);--colors-orange-dark-p3-12: color(display-p3 .98 .883 .775);--colors-orange-dark-p3-a-1: color(display-p3 .961 .247 0 / .022);--colors-orange-dark-p3-a-2: color(display-p3 .992 .529 0 / .051);--colors-orange-dark-p3-a-3: color(display-p3 .996 .486 0 / .131);--colors-orange-dark-p3-a-4: color(display-p3 .996 .384 0 / .211);--colors-orange-dark-p3-a-5: color(display-p3 1 .455 0 / .265);--colors-orange-dark-p3-a-6: color(display-p3 1 .529 .129 / .332);--colors-orange-dark-p3-a-7: color(display-p3 1 .569 .251 / .429);--colors-orange-dark-p3-a-8: color(display-p3 1 .584 .302 / .572);--colors-orange-dark-p3-a-9: color(display-p3 1 .494 .216 / .895);--colors-orange-dark-p3-a-10: color(display-p3 1 .522 .235 / .979);--colors-orange-dark-p3-a-11: color(display-p3 1 .63 .38);--colors-orange-dark-p3-a-12: color(display-p3 .98 .883 .775);--colors-orange-a-1: var(--colors-orange-light-a-1);--colors-orange-a-2: var(--colors-orange-light-a-2);--colors-orange-a-3: var(--colors-orange-light-a-3);--colors-orange-a-4: var(--colors-orange-light-a-4);--colors-orange-a-5: var(--colors-orange-light-a-5);--colors-orange-a-6: var(--colors-orange-light-a-6);--colors-orange-a-7: var(--colors-orange-light-a-7);--colors-orange-a-8: var(--colors-orange-light-a-8);--colors-orange-a-9: var(--colors-orange-light-a-9);--colors-orange-a-10: var(--colors-orange-light-a-10);--colors-orange-a-11: var(--colors-orange-light-a-11);--colors-orange-a-12: var(--colors-orange-light-a-12);--colors-orange-p3-1: var(--colors-orange-light-p3-1);--colors-orange-p3-2: var(--colors-orange-light-p3-2);--colors-orange-p3-3: var(--colors-orange-light-p3-3);--colors-orange-p3-4: var(--colors-orange-light-p3-4);--colors-orange-p3-5: var(--colors-orange-light-p3-5);--colors-orange-p3-6: var(--colors-orange-light-p3-6);--colors-orange-p3-7: var(--colors-orange-light-p3-7);--colors-orange-p3-8: var(--colors-orange-light-p3-8);--colors-orange-p3-9: var(--colors-orange-light-p3-9);--colors-orange-p3-10: var(--colors-orange-light-p3-10);--colors-orange-p3-11: var(--colors-orange-light-p3-11);--colors-orange-p3-12: var(--colors-orange-light-p3-12);--colors-orange-p3-a-1: var(--colors-orange-light-p3-a-1);--colors-orange-p3-a-2: var(--colors-orange-light-p3-a-2);--colors-orange-p3-a-3: var(--colors-orange-light-p3-a-3);--colors-orange-p3-a-4: var(--colors-orange-light-p3-a-4);--colors-orange-p3-a-5: var(--colors-orange-light-p3-a-5);--colors-orange-p3-a-6: var(--colors-orange-light-p3-a-6);--colors-orange-p3-a-7: var(--colors-orange-light-p3-a-7);--colors-orange-p3-a-8: var(--colors-orange-light-p3-a-8);--colors-orange-p3-a-9: var(--colors-orange-light-p3-a-9);--colors-orange-p3-a-10: var(--colors-orange-light-p3-a-10);--colors-orange-p3-a-11: var(--colors-orange-light-p3-a-11);--colors-orange-p3-a-12: var(--colors-orange-light-p3-a-12);--colors-pink-1: var(--colors-pink-light-1);--colors-pink-2: var(--colors-pink-light-2);--colors-pink-3: var(--colors-pink-light-3);--colors-pink-4: var(--colors-pink-light-4);--colors-pink-5: var(--colors-pink-light-5);--colors-pink-6: var(--colors-pink-light-6);--colors-pink-7: var(--colors-pink-light-7);--colors-pink-8: var(--colors-pink-light-8);--colors-pink-9: var(--colors-pink-light-9);--colors-pink-10: var(--colors-pink-light-10);--colors-pink-11: var(--colors-pink-light-11);--colors-pink-12: var(--colors-pink-light-12);--colors-pink-light-1: #fffcfe;--colors-pink-light-2: #fef7fb;--colors-pink-light-3: #fee9f5;--colors-pink-light-4: #fbdcef;--colors-pink-light-5: #f6cee7;--colors-pink-light-6: #efbfdd;--colors-pink-light-7: #e7acd0;--colors-pink-light-8: #dd93c2;--colors-pink-light-9: #d6409f;--colors-pink-light-10: #cf3897;--colors-pink-light-11: #c2298a;--colors-pink-light-12: #651249;--colors-pink-light-a-1: #ff00aa03;--colors-pink-light-a-2: #e0008008;--colors-pink-light-a-3: #f4008c16;--colors-pink-light-a-4: #e2008b23;--colors-pink-light-a-5: #d1008331;--colors-pink-light-a-6: #c0007840;--colors-pink-light-a-7: #b6006f53;--colors-pink-light-a-8: #af006f6c;--colors-pink-light-a-9: #c8007fbf;--colors-pink-light-a-10: #c2007ac7;--colors-pink-light-a-11: #b60074d6;--colors-pink-light-a-12: #59003bed;--colors-pink-light-p3-1: color(display-p3 .998 .989 .996);--colors-pink-light-p3-2: color(display-p3 .992 .97 .985);--colors-pink-light-p3-3: color(display-p3 .981 .917 .96);--colors-pink-light-p3-4: color(display-p3 .963 .867 .932);--colors-pink-light-p3-5: color(display-p3 .939 .815 .899);--colors-pink-light-p3-6: color(display-p3 .907 .756 .859);--colors-pink-light-p3-7: color(display-p3 .869 .683 .81);--colors-pink-light-p3-8: color(display-p3 .825 .59 .751);--colors-pink-light-p3-9: color(display-p3 .775 .297 .61);--colors-pink-light-p3-10: color(display-p3 .748 .27 .581);--colors-pink-light-p3-11: color(display-p3 .698 .219 .528);--colors-pink-light-p3-12: color(display-p3 .363 .101 .279);--colors-pink-light-p3-a-1: color(display-p3 .675 .024 .675 / .012);--colors-pink-light-p3-a-2: color(display-p3 .757 .02 .51 / .032);--colors-pink-light-p3-a-3: color(display-p3 .765 .008 .529 / .083);--colors-pink-light-p3-a-4: color(display-p3 .737 .008 .506 / .134);--colors-pink-light-p3-a-5: color(display-p3 .663 .004 .451 / .185);--colors-pink-light-p3-a-6: color(display-p3 .616 .004 .424 / .244);--colors-pink-light-p3-a-7: color(display-p3 .596 .004 .412 / .318);--colors-pink-light-p3-a-8: color(display-p3 .573 .004 .404 / .412);--colors-pink-light-p3-a-9: color(display-p3 .682 0 .447 / .702);--colors-pink-light-p3-a-10: color(display-p3 .655 0 .424 / .73);--colors-pink-light-p3-a-11: color(display-p3 .698 .219 .528);--colors-pink-light-p3-a-12: color(display-p3 .363 .101 .279);--colors-pink-dark-1: #191117;--colors-pink-dark-2: #21121d;--colors-pink-dark-3: #37172f;--colors-pink-dark-4: #4b143d;--colors-pink-dark-5: #591c47;--colors-pink-dark-6: #692955;--colors-pink-dark-7: #833869;--colors-pink-dark-8: #a84885;--colors-pink-dark-9: #d6409f;--colors-pink-dark-10: #de51a8;--colors-pink-dark-11: #ff8dcc;--colors-pink-dark-12: #fdd1ea;--colors-pink-dark-a-1: #f412bc09;--colors-pink-dark-a-2: #f420bb12;--colors-pink-dark-a-3: #fe37cc29;--colors-pink-dark-a-4: #fc1ec43f;--colors-pink-dark-a-5: #fd35c24e;--colors-pink-dark-a-6: #fd51c75f;--colors-pink-dark-a-7: #fd62c87b;--colors-pink-dark-a-8: #ff68c8a2;--colors-pink-dark-a-9: #fe49bcd4;--colors-pink-dark-a-10: #ff5cc0dc;--colors-pink-dark-a-11: #ff8dcc;--colors-pink-dark-a-12: #ffd3ecfd;--colors-pink-dark-p3-1: color(display-p3 .093 .068 .089);--colors-pink-dark-p3-2: color(display-p3 .121 .073 .11);--colors-pink-dark-p3-3: color(display-p3 .198 .098 .179);--colors-pink-dark-p3-4: color(display-p3 .271 .095 .231);--colors-pink-dark-p3-5: color(display-p3 .32 .127 .273);--colors-pink-dark-p3-6: color(display-p3 .382 .177 .326);--colors-pink-dark-p3-7: color(display-p3 .477 .238 .405);--colors-pink-dark-p3-8: color(display-p3 .612 .304 .51);--colors-pink-dark-p3-9: color(display-p3 .775 .297 .61);--colors-pink-dark-p3-10: color(display-p3 .808 .356 .645);--colors-pink-dark-p3-11: color(display-p3 1 .535 .78);--colors-pink-dark-p3-12: color(display-p3 .964 .826 .912);--colors-pink-dark-p3-a-1: color(display-p3 .984 .071 .855 / .03);--colors-pink-dark-p3-a-2: color(display-p3 1 .2 .8 / .059);--colors-pink-dark-p3-a-3: color(display-p3 1 .294 .886 / .139);--colors-pink-dark-p3-a-4: color(display-p3 1 .192 .82 / .219);--colors-pink-dark-p3-a-5: color(display-p3 1 .282 .827 / .274);--colors-pink-dark-p3-a-6: color(display-p3 1 .396 .835 / .337);--colors-pink-dark-p3-a-7: color(display-p3 1 .459 .831 / .442);--colors-pink-dark-p3-a-8: color(display-p3 1 .478 .827 / .585);--colors-pink-dark-p3-a-9: color(display-p3 1 .373 .784 / .761);--colors-pink-dark-p3-a-10: color(display-p3 1 .435 .792 / .795);--colors-pink-dark-p3-a-11: color(display-p3 1 .535 .78);--colors-pink-dark-p3-a-12: color(display-p3 .964 .826 .912);--colors-pink-a-1: var(--colors-pink-light-a-1);--colors-pink-a-2: var(--colors-pink-light-a-2);--colors-pink-a-3: var(--colors-pink-light-a-3);--colors-pink-a-4: var(--colors-pink-light-a-4);--colors-pink-a-5: var(--colors-pink-light-a-5);--colors-pink-a-6: var(--colors-pink-light-a-6);--colors-pink-a-7: var(--colors-pink-light-a-7);--colors-pink-a-8: var(--colors-pink-light-a-8);--colors-pink-a-9: var(--colors-pink-light-a-9);--colors-pink-a-10: var(--colors-pink-light-a-10);--colors-pink-a-11: var(--colors-pink-light-a-11);--colors-pink-a-12: var(--colors-pink-light-a-12);--colors-pink-p3-1: var(--colors-pink-light-p3-1);--colors-pink-p3-2: var(--colors-pink-light-p3-2);--colors-pink-p3-3: var(--colors-pink-light-p3-3);--colors-pink-p3-4: var(--colors-pink-light-p3-4);--colors-pink-p3-5: var(--colors-pink-light-p3-5);--colors-pink-p3-6: var(--colors-pink-light-p3-6);--colors-pink-p3-7: var(--colors-pink-light-p3-7);--colors-pink-p3-8: var(--colors-pink-light-p3-8);--colors-pink-p3-9: var(--colors-pink-light-p3-9);--colors-pink-p3-10: var(--colors-pink-light-p3-10);--colors-pink-p3-11: var(--colors-pink-light-p3-11);--colors-pink-p3-12: var(--colors-pink-light-p3-12);--colors-pink-p3-a-1: var(--colors-pink-light-p3-a-1);--colors-pink-p3-a-2: var(--colors-pink-light-p3-a-2);--colors-pink-p3-a-3: var(--colors-pink-light-p3-a-3);--colors-pink-p3-a-4: var(--colors-pink-light-p3-a-4);--colors-pink-p3-a-5: var(--colors-pink-light-p3-a-5);--colors-pink-p3-a-6: var(--colors-pink-light-p3-a-6);--colors-pink-p3-a-7: var(--colors-pink-light-p3-a-7);--colors-pink-p3-a-8: var(--colors-pink-light-p3-a-8);--colors-pink-p3-a-9: var(--colors-pink-light-p3-a-9);--colors-pink-p3-a-10: var(--colors-pink-light-p3-a-10);--colors-pink-p3-a-11: var(--colors-pink-light-p3-a-11);--colors-pink-p3-a-12: var(--colors-pink-light-p3-a-12);--colors-purple-1: var(--colors-purple-light-1);--colors-purple-2: var(--colors-purple-light-2);--colors-purple-3: var(--colors-purple-light-3);--colors-purple-4: var(--colors-purple-light-4);--colors-purple-5: var(--colors-purple-light-5);--colors-purple-6: var(--colors-purple-light-6);--colors-purple-7: var(--colors-purple-light-7);--colors-purple-8: var(--colors-purple-light-8);--colors-purple-9: var(--colors-purple-light-9);--colors-purple-10: var(--colors-purple-light-10);--colors-purple-11: var(--colors-purple-light-11);--colors-purple-12: var(--colors-purple-light-12);--colors-purple-light-1: #fefcfe;--colors-purple-light-2: #fbf7fe;--colors-purple-light-3: #f7edfe;--colors-purple-light-4: #f2e2fc;--colors-purple-light-5: #ead5f9;--colors-purple-light-6: #e0c4f4;--colors-purple-light-7: #d1afec;--colors-purple-light-8: #be93e4;--colors-purple-light-9: #8e4ec6;--colors-purple-light-10: #8347b9;--colors-purple-light-11: #8145b5;--colors-purple-light-12: #402060;--colors-purple-light-a-1: #aa00aa03;--colors-purple-light-a-2: #8000e008;--colors-purple-light-a-3: #8e00f112;--colors-purple-light-a-4: #8d00e51d;--colors-purple-light-a-5: #8000db2a;--colors-purple-light-a-6: #7a01d03b;--colors-purple-light-a-7: #6d00c350;--colors-purple-light-a-8: #6600c06c;--colors-purple-light-a-9: #5c00adb1;--colors-purple-light-a-10: #53009eb8;--colors-purple-light-a-11: #52009aba;--colors-purple-light-a-12: #250049df;--colors-purple-light-p3-1: color(display-p3 .995 .988 .996);--colors-purple-light-p3-2: color(display-p3 .983 .971 .993);--colors-purple-light-p3-3: color(display-p3 .963 .931 .989);--colors-purple-light-p3-4: color(display-p3 .937 .888 .981);--colors-purple-light-p3-5: color(display-p3 .904 .837 .966);--colors-purple-light-p3-6: color(display-p3 .86 .774 .942);--colors-purple-light-p3-7: color(display-p3 .799 .69 .91);--colors-purple-light-p3-8: color(display-p3 .719 .583 .874);--colors-purple-light-p3-9: color(display-p3 .523 .318 .751);--colors-purple-light-p3-10: color(display-p3 .483 .289 .7);--colors-purple-light-p3-11: color(display-p3 .473 .281 .687);--colors-purple-light-p3-12: color(display-p3 .234 .132 .363);--colors-purple-light-p3-a-1: color(display-p3 .675 .024 .675 / .012);--colors-purple-light-p3-a-2: color(display-p3 .443 .024 .722 / .028);--colors-purple-light-p3-a-3: color(display-p3 .506 .008 .835 / .071);--colors-purple-light-p3-a-4: color(display-p3 .451 .004 .831 / .114);--colors-purple-light-p3-a-5: color(display-p3 .431 .004 .788 / .165);--colors-purple-light-p3-a-6: color(display-p3 .384 .004 .745 / .228);--colors-purple-light-p3-a-7: color(display-p3 .357 .004 .71 / .31);--colors-purple-light-p3-a-8: color(display-p3 .322 .004 .702 / .416);--colors-purple-light-p3-a-9: color(display-p3 .298 0 .639 / .683);--colors-purple-light-p3-a-10: color(display-p3 .271 0 .58 / .71);--colors-purple-light-p3-a-11: color(display-p3 .473 .281 .687);--colors-purple-light-p3-a-12: color(display-p3 .234 .132 .363);--colors-purple-dark-1: #18111b;--colors-purple-dark-2: #1e1523;--colors-purple-dark-3: #301c3b;--colors-purple-dark-4: #3d224e;--colors-purple-dark-5: #48295c;--colors-purple-dark-6: #54346b;--colors-purple-dark-7: #664282;--colors-purple-dark-8: #8457aa;--colors-purple-dark-9: #8e4ec6;--colors-purple-dark-10: #9a5cd0;--colors-purple-dark-11: #d19dff;--colors-purple-dark-12: #ecd9fa;--colors-purple-dark-a-1: #b412f90b;--colors-purple-dark-a-2: #b744f714;--colors-purple-dark-a-3: #c150ff2d;--colors-purple-dark-a-4: #bb53fd42;--colors-purple-dark-a-5: #be5cfd51;--colors-purple-dark-a-6: #c16dfd61;--colors-purple-dark-a-7: #c378fd7a;--colors-purple-dark-a-8: #c47effa4;--colors-purple-dark-a-9: #b661ffc2;--colors-purple-dark-a-10: #bc6fffcd;--colors-purple-dark-a-11: #d19dff;--colors-purple-dark-a-12: #f1ddfffa;--colors-purple-dark-p3-1: color(display-p3 .09 .068 .103);--colors-purple-dark-p3-2: color(display-p3 .113 .082 .134);--colors-purple-dark-p3-3: color(display-p3 .175 .112 .224);--colors-purple-dark-p3-4: color(display-p3 .224 .137 .297);--colors-purple-dark-p3-5: color(display-p3 .264 .167 .349);--colors-purple-dark-p3-6: color(display-p3 .311 .208 .406);--colors-purple-dark-p3-7: color(display-p3 .381 .266 .496);--colors-purple-dark-p3-8: color(display-p3 .49 .349 .649);--colors-purple-dark-p3-9: color(display-p3 .523 .318 .751);--colors-purple-dark-p3-10: color(display-p3 .57 .373 .791);--colors-purple-dark-p3-11: color(display-p3 .8 .62 1);--colors-purple-dark-p3-12: color(display-p3 .913 .854 .971);--colors-purple-dark-p3-a-1: color(display-p3 .686 .071 .996 / .038);--colors-purple-dark-p3-a-2: color(display-p3 .722 .286 .996 / .072);--colors-purple-dark-p3-a-3: color(display-p3 .718 .349 .996 / .169);--colors-purple-dark-p3-a-4: color(display-p3 .702 .353 1 / .248);--colors-purple-dark-p3-a-5: color(display-p3 .718 .404 1 / .303);--colors-purple-dark-p3-a-6: color(display-p3 .733 .455 1 / .366);--colors-purple-dark-p3-a-7: color(display-p3 .753 .506 1 / .458);--colors-purple-dark-p3-a-8: color(display-p3 .749 .522 1 / .622);--colors-purple-dark-p3-a-9: color(display-p3 .686 .408 1 / .736);--colors-purple-dark-p3-a-10: color(display-p3 .71 .459 1 / .778);--colors-purple-dark-p3-a-11: color(display-p3 .8 .62 1);--colors-purple-dark-p3-a-12: color(display-p3 .913 .854 .971);--colors-purple-a-1: var(--colors-purple-light-a-1);--colors-purple-a-2: var(--colors-purple-light-a-2);--colors-purple-a-3: var(--colors-purple-light-a-3);--colors-purple-a-4: var(--colors-purple-light-a-4);--colors-purple-a-5: var(--colors-purple-light-a-5);--colors-purple-a-6: var(--colors-purple-light-a-6);--colors-purple-a-7: var(--colors-purple-light-a-7);--colors-purple-a-8: var(--colors-purple-light-a-8);--colors-purple-a-9: var(--colors-purple-light-a-9);--colors-purple-a-10: var(--colors-purple-light-a-10);--colors-purple-a-11: var(--colors-purple-light-a-11);--colors-purple-a-12: var(--colors-purple-light-a-12);--colors-purple-p3-1: var(--colors-purple-light-p3-1);--colors-purple-p3-2: var(--colors-purple-light-p3-2);--colors-purple-p3-3: var(--colors-purple-light-p3-3);--colors-purple-p3-4: var(--colors-purple-light-p3-4);--colors-purple-p3-5: var(--colors-purple-light-p3-5);--colors-purple-p3-6: var(--colors-purple-light-p3-6);--colors-purple-p3-7: var(--colors-purple-light-p3-7);--colors-purple-p3-8: var(--colors-purple-light-p3-8);--colors-purple-p3-9: var(--colors-purple-light-p3-9);--colors-purple-p3-10: var(--colors-purple-light-p3-10);--colors-purple-p3-11: var(--colors-purple-light-p3-11);--colors-purple-p3-12: var(--colors-purple-light-p3-12);--colors-purple-p3-a-1: var(--colors-purple-light-p3-a-1);--colors-purple-p3-a-2: var(--colors-purple-light-p3-a-2);--colors-purple-p3-a-3: var(--colors-purple-light-p3-a-3);--colors-purple-p3-a-4: var(--colors-purple-light-p3-a-4);--colors-purple-p3-a-5: var(--colors-purple-light-p3-a-5);--colors-purple-p3-a-6: var(--colors-purple-light-p3-a-6);--colors-purple-p3-a-7: var(--colors-purple-light-p3-a-7);--colors-purple-p3-a-8: var(--colors-purple-light-p3-a-8);--colors-purple-p3-a-9: var(--colors-purple-light-p3-a-9);--colors-purple-p3-a-10: var(--colors-purple-light-p3-a-10);--colors-purple-p3-a-11: var(--colors-purple-light-p3-a-11);--colors-purple-p3-a-12: var(--colors-purple-light-p3-a-12);--colors-red-1: var(--colors-red-light-1);--colors-red-2: var(--colors-red-light-2);--colors-red-3: var(--colors-red-light-3);--colors-red-4: var(--colors-red-light-4);--colors-red-5: var(--colors-red-light-5);--colors-red-6: var(--colors-red-light-6);--colors-red-7: var(--colors-red-light-7);--colors-red-8: var(--colors-red-light-8);--colors-red-9: var(--colors-red-light-9);--colors-red-10: var(--colors-red-light-10);--colors-red-11: var(--colors-red-light-11);--colors-red-12: var(--colors-red-light-12);--colors-red-light-1: #fffcfc;--colors-red-light-2: #fff7f7;--colors-red-light-3: #feebec;--colors-red-light-4: #ffdbdc;--colors-red-light-5: #ffcdce;--colors-red-light-6: #fdbdbe;--colors-red-light-7: #f4a9aa;--colors-red-light-8: #eb8e90;--colors-red-light-9: #e5484d;--colors-red-light-10: #dc3e42;--colors-red-light-11: #ce2c31;--colors-red-light-12: #641723;--colors-red-light-a-1: #ff000003;--colors-red-light-a-2: #ff000008;--colors-red-light-a-3: #f3000d14;--colors-red-light-a-4: #ff000824;--colors-red-light-a-5: #ff000632;--colors-red-light-a-6: #f8000442;--colors-red-light-a-7: #df000356;--colors-red-light-a-8: #d2000571;--colors-red-light-a-9: #db0007b7;--colors-red-light-a-10: #d10005c1;--colors-red-light-a-11: #c40006d3;--colors-red-light-a-12: #55000de8;--colors-red-light-p3-1: color(display-p3 .998 .989 .988);--colors-red-light-p3-2: color(display-p3 .995 .971 .971);--colors-red-light-p3-3: color(display-p3 .985 .925 .925);--colors-red-light-p3-4: color(display-p3 .999 .866 .866);--colors-red-light-p3-5: color(display-p3 .984 .812 .811);--colors-red-light-p3-6: color(display-p3 .955 .751 .749);--colors-red-light-p3-7: color(display-p3 .915 .675 .672);--colors-red-light-p3-8: color(display-p3 .872 .575 .572);--colors-red-light-p3-9: color(display-p3 .83 .329 .324);--colors-red-light-p3-10: color(display-p3 .798 .294 .285);--colors-red-light-p3-11: color(display-p3 .744 .234 .222);--colors-red-light-p3-12: color(display-p3 .36 .115 .143);--colors-red-light-p3-a-1: color(display-p3 .675 .024 .024 / .012);--colors-red-light-p3-a-2: color(display-p3 .863 .024 .024 / .028);--colors-red-light-p3-a-3: color(display-p3 .792 .008 .008 / .075);--colors-red-light-p3-a-4: color(display-p3 1 .008 .008 / .134);--colors-red-light-p3-a-5: color(display-p3 .918 .008 .008 / .189);--colors-red-light-p3-a-6: color(display-p3 .831 .02 .004 / .251);--colors-red-light-p3-a-7: color(display-p3 .741 .016 .004 / .33);--colors-red-light-p3-a-8: color(display-p3 .698 .012 .004 / .428);--colors-red-light-p3-a-9: color(display-p3 .749 .008 0 / .675);--colors-red-light-p3-a-10: color(display-p3 .714 .012 0 / .714);--colors-red-light-p3-a-11: color(display-p3 .744 .234 .222);--colors-red-light-p3-a-12: color(display-p3 .36 .115 .143);--colors-red-dark-1: #191111;--colors-red-dark-2: #201314;--colors-red-dark-3: #3b1219;--colors-red-dark-4: #500f1c;--colors-red-dark-5: #611623;--colors-red-dark-6: #72232d;--colors-red-dark-7: #8c333a;--colors-red-dark-8: #b54548;--colors-red-dark-9: #e5484d;--colors-red-dark-10: #ec5d5e;--colors-red-dark-11: #ff9592;--colors-red-dark-12: #ffd1d9;--colors-red-dark-a-1: #f4121209;--colors-red-dark-a-2: #f22f3e11;--colors-red-dark-a-3: #ff173f2d;--colors-red-dark-a-4: #fe0a3b44;--colors-red-dark-a-5: #ff204756;--colors-red-dark-a-6: #ff3e5668;--colors-red-dark-a-7: #ff536184;--colors-red-dark-a-8: #ff5d61b0;--colors-red-dark-a-9: #fe4e54e4;--colors-red-dark-a-10: #ff6465eb;--colors-red-dark-a-11: #ff9592;--colors-red-dark-a-12: #ffd1d9;--colors-red-dark-p3-1: color(display-p3 .093 .068 .067);--colors-red-dark-p3-2: color(display-p3 .118 .077 .079);--colors-red-dark-p3-3: color(display-p3 .211 .081 .099);--colors-red-dark-p3-4: color(display-p3 .287 .079 .113);--colors-red-dark-p3-5: color(display-p3 .348 .11 .142);--colors-red-dark-p3-6: color(display-p3 .414 .16 .183);--colors-red-dark-p3-7: color(display-p3 .508 .224 .236);--colors-red-dark-p3-8: color(display-p3 .659 .298 .297);--colors-red-dark-p3-9: color(display-p3 .83 .329 .324);--colors-red-dark-p3-10: color(display-p3 .861 .403 .387);--colors-red-dark-p3-11: color(display-p3 1 .57 .55);--colors-red-dark-p3-12: color(display-p3 .971 .826 .852);--colors-red-dark-p3-a-1: color(display-p3 .984 .071 .071 / .03);--colors-red-dark-p3-a-2: color(display-p3 .996 .282 .282 / .055);--colors-red-dark-p3-a-3: color(display-p3 1 .169 .271 / .156);--colors-red-dark-p3-a-4: color(display-p3 1 .118 .267 / .236);--colors-red-dark-p3-a-5: color(display-p3 1 .212 .314 / .303);--colors-red-dark-p3-a-6: color(display-p3 1 .318 .38 / .374);--colors-red-dark-p3-a-7: color(display-p3 1 .4 .424 / .475);--colors-red-dark-p3-a-8: color(display-p3 1 .431 .431 / .635);--colors-red-dark-p3-a-9: color(display-p3 1 .388 .384 / .82);--colors-red-dark-p3-a-10: color(display-p3 1 .463 .447 / .853);--colors-red-dark-p3-a-11: color(display-p3 1 .57 .55);--colors-red-dark-p3-a-12: color(display-p3 .971 .826 .852);--colors-red-a-1: var(--colors-red-light-a-1);--colors-red-a-2: var(--colors-red-light-a-2);--colors-red-a-3: var(--colors-red-light-a-3);--colors-red-a-4: var(--colors-red-light-a-4);--colors-red-a-5: var(--colors-red-light-a-5);--colors-red-a-6: var(--colors-red-light-a-6);--colors-red-a-7: var(--colors-red-light-a-7);--colors-red-a-8: var(--colors-red-light-a-8);--colors-red-a-9: var(--colors-red-light-a-9);--colors-red-a-10: var(--colors-red-light-a-10);--colors-red-a-11: var(--colors-red-light-a-11);--colors-red-a-12: var(--colors-red-light-a-12);--colors-red-p3-1: var(--colors-red-light-p3-1);--colors-red-p3-2: var(--colors-red-light-p3-2);--colors-red-p3-3: var(--colors-red-light-p3-3);--colors-red-p3-4: var(--colors-red-light-p3-4);--colors-red-p3-5: var(--colors-red-light-p3-5);--colors-red-p3-6: var(--colors-red-light-p3-6);--colors-red-p3-7: var(--colors-red-light-p3-7);--colors-red-p3-8: var(--colors-red-light-p3-8);--colors-red-p3-9: var(--colors-red-light-p3-9);--colors-red-p3-10: var(--colors-red-light-p3-10);--colors-red-p3-11: var(--colors-red-light-p3-11);--colors-red-p3-12: var(--colors-red-light-p3-12);--colors-red-p3-a-1: var(--colors-red-light-p3-a-1);--colors-red-p3-a-2: var(--colors-red-light-p3-a-2);--colors-red-p3-a-3: var(--colors-red-light-p3-a-3);--colors-red-p3-a-4: var(--colors-red-light-p3-a-4);--colors-red-p3-a-5: var(--colors-red-light-p3-a-5);--colors-red-p3-a-6: var(--colors-red-light-p3-a-6);--colors-red-p3-a-7: var(--colors-red-light-p3-a-7);--colors-red-p3-a-8: var(--colors-red-light-p3-a-8);--colors-red-p3-a-9: var(--colors-red-light-p3-a-9);--colors-red-p3-a-10: var(--colors-red-light-p3-a-10);--colors-red-p3-a-11: var(--colors-red-light-p3-a-11);--colors-red-p3-a-12: var(--colors-red-light-p3-a-12);--colors-ruby-1: var(--colors-ruby-light-1);--colors-ruby-2: var(--colors-ruby-light-2);--colors-ruby-3: var(--colors-ruby-light-3);--colors-ruby-4: var(--colors-ruby-light-4);--colors-ruby-5: var(--colors-ruby-light-5);--colors-ruby-6: var(--colors-ruby-light-6);--colors-ruby-7: var(--colors-ruby-light-7);--colors-ruby-8: var(--colors-ruby-light-8);--colors-ruby-9: var(--colors-ruby-light-9);--colors-ruby-10: var(--colors-ruby-light-10);--colors-ruby-11: var(--colors-ruby-light-11);--colors-ruby-12: var(--colors-ruby-light-12);--colors-ruby-light-1: #fffcfd;--colors-ruby-light-2: #fff7f8;--colors-ruby-light-3: #feeaed;--colors-ruby-light-4: #ffdce1;--colors-ruby-light-5: #ffced6;--colors-ruby-light-6: #f8bfc8;--colors-ruby-light-7: #efacb8;--colors-ruby-light-8: #e592a3;--colors-ruby-light-9: #e54666;--colors-ruby-light-10: #dc3b5d;--colors-ruby-light-11: #ca244d;--colors-ruby-light-12: #64172b;--colors-ruby-light-a-1: #ff005503;--colors-ruby-light-a-2: #ff002008;--colors-ruby-light-a-3: #f3002515;--colors-ruby-light-a-4: #ff002523;--colors-ruby-light-a-5: #ff002a31;--colors-ruby-light-a-6: #e4002440;--colors-ruby-light-a-7: #ce002553;--colors-ruby-light-a-8: #c300286d;--colors-ruby-light-a-9: #db002cb9;--colors-ruby-light-a-10: #d2002cc4;--colors-ruby-light-a-11: #c10030db;--colors-ruby-light-a-12: #550016e8;--colors-ruby-light-p3-1: color(display-p3 .998 .989 .992);--colors-ruby-light-p3-2: color(display-p3 .995 .971 .974);--colors-ruby-light-p3-3: color(display-p3 .983 .92 .928);--colors-ruby-light-p3-4: color(display-p3 .987 .869 .885);--colors-ruby-light-p3-5: color(display-p3 .968 .817 .839);--colors-ruby-light-p3-6: color(display-p3 .937 .758 .786);--colors-ruby-light-p3-7: color(display-p3 .897 .685 .721);--colors-ruby-light-p3-8: color(display-p3 .851 .588 .639);--colors-ruby-light-p3-9: color(display-p3 .83 .323 .408);--colors-ruby-light-p3-10: color(display-p3 .795 .286 .375);--colors-ruby-light-p3-11: color(display-p3 .728 .211 .311);--colors-ruby-light-p3-12: color(display-p3 .36 .115 .171);--colors-ruby-light-p3-a-1: color(display-p3 .675 .024 .349 / .012);--colors-ruby-light-p3-a-2: color(display-p3 .863 .024 .024 / .028);--colors-ruby-light-p3-a-3: color(display-p3 .804 .008 .11 / .079);--colors-ruby-light-p3-a-4: color(display-p3 .91 .008 .125 / .13);--colors-ruby-light-p3-a-5: color(display-p3 .831 .004 .133 / .185);--colors-ruby-light-p3-a-6: color(display-p3 .745 .004 .118 / .244);--colors-ruby-light-p3-a-7: color(display-p3 .678 .004 .114 / .314);--colors-ruby-light-p3-a-8: color(display-p3 .639 .004 .125 / .412);--colors-ruby-light-p3-a-9: color(display-p3 .753 0 .129 / .679);--colors-ruby-light-p3-a-10: color(display-p3 .714 0 .125 / .714);--colors-ruby-light-p3-a-11: color(display-p3 .728 .211 .311);--colors-ruby-light-p3-a-12: color(display-p3 .36 .115 .171);--colors-ruby-dark-1: #191113;--colors-ruby-dark-2: #1e1517;--colors-ruby-dark-3: #3a141e;--colors-ruby-dark-4: #4e1325;--colors-ruby-dark-5: #5e1a2e;--colors-ruby-dark-6: #6f2539;--colors-ruby-dark-7: #883447;--colors-ruby-dark-8: #b3445a;--colors-ruby-dark-9: #e54666;--colors-ruby-dark-10: #ec5a72;--colors-ruby-dark-11: #ff949d;--colors-ruby-dark-12: #fed2e1;--colors-ruby-dark-a-1: #f4124a09;--colors-ruby-dark-a-2: #fe5a7f0e;--colors-ruby-dark-a-3: #ff235d2c;--colors-ruby-dark-a-4: #fd195e42;--colors-ruby-dark-a-5: #fe2d6b53;--colors-ruby-dark-a-6: #ff447665;--colors-ruby-dark-a-7: #ff577d80;--colors-ruby-dark-a-8: #ff5c7cae;--colors-ruby-dark-a-9: #fe4c70e4;--colors-ruby-dark-a-10: #ff617beb;--colors-ruby-dark-a-11: #ff949d;--colors-ruby-dark-a-12: #ffd3e2fe;--colors-ruby-dark-p3-1: color(display-p3 .093 .068 .074);--colors-ruby-dark-p3-2: color(display-p3 .113 .083 .089);--colors-ruby-dark-p3-3: color(display-p3 .208 .088 .117);--colors-ruby-dark-p3-4: color(display-p3 .279 .092 .147);--colors-ruby-dark-p3-5: color(display-p3 .337 .12 .18);--colors-ruby-dark-p3-6: color(display-p3 .401 .166 .223);--colors-ruby-dark-p3-7: color(display-p3 .495 .224 .281);--colors-ruby-dark-p3-8: color(display-p3 .652 .295 .359);--colors-ruby-dark-p3-9: color(display-p3 .83 .323 .408);--colors-ruby-dark-p3-10: color(display-p3 .857 .392 .455);--colors-ruby-dark-p3-11: color(display-p3 1 .57 .59);--colors-ruby-dark-p3-12: color(display-p3 .968 .83 .88);--colors-ruby-dark-p3-a-1: color(display-p3 .984 .071 .329 / .03);--colors-ruby-dark-p3-a-2: color(display-p3 .992 .376 .529 / .051);--colors-ruby-dark-p3-a-3: color(display-p3 .996 .196 .404 / .152);--colors-ruby-dark-p3-a-4: color(display-p3 1 .173 .416 / .227);--colors-ruby-dark-p3-a-5: color(display-p3 1 .259 .459 / .29);--colors-ruby-dark-p3-a-6: color(display-p3 1 .341 .506 / .358);--colors-ruby-dark-p3-a-7: color(display-p3 1 .412 .541 / .458);--colors-ruby-dark-p3-a-8: color(display-p3 1 .431 .537 / .627);--colors-ruby-dark-p3-a-9: color(display-p3 1 .376 .482 / .82);--colors-ruby-dark-p3-a-10: color(display-p3 1 .447 .522 / .849);--colors-ruby-dark-p3-a-11: color(display-p3 1 .57 .59);--colors-ruby-dark-p3-a-12: color(display-p3 .968 .83 .88);--colors-ruby-a-1: var(--colors-ruby-light-a-1);--colors-ruby-a-2: var(--colors-ruby-light-a-2);--colors-ruby-a-3: var(--colors-ruby-light-a-3);--colors-ruby-a-4: var(--colors-ruby-light-a-4);--colors-ruby-a-5: var(--colors-ruby-light-a-5);--colors-ruby-a-6: var(--colors-ruby-light-a-6);--colors-ruby-a-7: var(--colors-ruby-light-a-7);--colors-ruby-a-8: var(--colors-ruby-light-a-8);--colors-ruby-a-9: var(--colors-ruby-light-a-9);--colors-ruby-a-10: var(--colors-ruby-light-a-10);--colors-ruby-a-11: var(--colors-ruby-light-a-11);--colors-ruby-a-12: var(--colors-ruby-light-a-12);--colors-ruby-p3-1: var(--colors-ruby-light-p3-1);--colors-ruby-p3-2: var(--colors-ruby-light-p3-2);--colors-ruby-p3-3: var(--colors-ruby-light-p3-3);--colors-ruby-p3-4: var(--colors-ruby-light-p3-4);--colors-ruby-p3-5: var(--colors-ruby-light-p3-5);--colors-ruby-p3-6: var(--colors-ruby-light-p3-6);--colors-ruby-p3-7: var(--colors-ruby-light-p3-7);--colors-ruby-p3-8: var(--colors-ruby-light-p3-8);--colors-ruby-p3-9: var(--colors-ruby-light-p3-9);--colors-ruby-p3-10: var(--colors-ruby-light-p3-10);--colors-ruby-p3-11: var(--colors-ruby-light-p3-11);--colors-ruby-p3-12: var(--colors-ruby-light-p3-12);--colors-ruby-p3-a-1: var(--colors-ruby-light-p3-a-1);--colors-ruby-p3-a-2: var(--colors-ruby-light-p3-a-2);--colors-ruby-p3-a-3: var(--colors-ruby-light-p3-a-3);--colors-ruby-p3-a-4: var(--colors-ruby-light-p3-a-4);--colors-ruby-p3-a-5: var(--colors-ruby-light-p3-a-5);--colors-ruby-p3-a-6: var(--colors-ruby-light-p3-a-6);--colors-ruby-p3-a-7: var(--colors-ruby-light-p3-a-7);--colors-ruby-p3-a-8: var(--colors-ruby-light-p3-a-8);--colors-ruby-p3-a-9: var(--colors-ruby-light-p3-a-9);--colors-ruby-p3-a-10: var(--colors-ruby-light-p3-a-10);--colors-ruby-p3-a-11: var(--colors-ruby-light-p3-a-11);--colors-ruby-p3-a-12: var(--colors-ruby-light-p3-a-12);--colors-teal-1: var(--colors-teal-light-1);--colors-teal-2: var(--colors-teal-light-2);--colors-teal-3: var(--colors-teal-light-3);--colors-teal-4: var(--colors-teal-light-4);--colors-teal-5: var(--colors-teal-light-5);--colors-teal-6: var(--colors-teal-light-6);--colors-teal-7: var(--colors-teal-light-7);--colors-teal-8: var(--colors-teal-light-8);--colors-teal-9: var(--colors-teal-light-9);--colors-teal-10: var(--colors-teal-light-10);--colors-teal-11: var(--colors-teal-light-11);--colors-teal-12: var(--colors-teal-light-12);--colors-teal-light-1: #fafefd;--colors-teal-light-2: #f3fbf9;--colors-teal-light-3: #e0f8f3;--colors-teal-light-4: #ccf3ea;--colors-teal-light-5: #b8eae0;--colors-teal-light-6: #a1ded2;--colors-teal-light-7: #83cdc1;--colors-teal-light-8: #53b9ab;--colors-teal-light-9: #12a594;--colors-teal-light-10: #0d9b8a;--colors-teal-light-11: #008573;--colors-teal-light-12: #0d3d38;--colors-teal-light-a-1: #00cc9905;--colors-teal-light-a-2: #00aa800c;--colors-teal-light-a-3: #00c69d1f;--colors-teal-light-a-4: #00c39633;--colors-teal-light-a-5: #00b49047;--colors-teal-light-a-6: #00a6855e;--colors-teal-light-a-7: #0099807c;--colors-teal-light-a-8: #009783ac;--colors-teal-light-a-9: #009e8ced;--colors-teal-light-a-10: #009684f2;--colors-teal-light-a-11: #008573;--colors-teal-light-a-12: #00332df2;--colors-teal-light-p3-1: color(display-p3 .983 .996 .992);--colors-teal-light-p3-2: color(display-p3 .958 .983 .976);--colors-teal-light-p3-3: color(display-p3 .895 .971 .952);--colors-teal-light-p3-4: color(display-p3 .831 .949 .92);--colors-teal-light-p3-5: color(display-p3 .761 .914 .878);--colors-teal-light-p3-6: color(display-p3 .682 .864 .825);--colors-teal-light-p3-7: color(display-p3 .581 .798 .756);--colors-teal-light-p3-8: color(display-p3 .433 .716 .671);--colors-teal-light-p3-9: color(display-p3 .297 .637 .581);--colors-teal-light-p3-10: color(display-p3 .275 .599 .542);--colors-teal-light-p3-11: color(display-p3 .08 .5 .43);--colors-teal-light-p3-12: color(display-p3 .11 .235 .219);--colors-teal-light-p3-a-1: color(display-p3 .024 .757 .514 / .016);--colors-teal-light-p3-a-2: color(display-p3 .02 .647 .467 / .044);--colors-teal-light-p3-a-3: color(display-p3 .004 .741 .557 / .106);--colors-teal-light-p3-a-4: color(display-p3 .004 .702 .537 / .169);--colors-teal-light-p3-a-5: color(display-p3 .004 .643 .494 / .24);--colors-teal-light-p3-a-6: color(display-p3 .004 .569 .447 / .318);--colors-teal-light-p3-a-7: color(display-p3 .004 .518 .424 / .42);--colors-teal-light-p3-a-8: color(display-p3 0 .506 .424 / .569);--colors-teal-light-p3-a-9: color(display-p3 0 .482 .404 / .702);--colors-teal-light-p3-a-10: color(display-p3 0 .451 .369 / .726);--colors-teal-light-p3-a-11: color(display-p3 .08 .5 .43);--colors-teal-light-p3-a-12: color(display-p3 .11 .235 .219);--colors-teal-dark-1: #0d1514;--colors-teal-dark-2: #111c1b;--colors-teal-dark-3: #0d2d2a;--colors-teal-dark-4: #023b37;--colors-teal-dark-5: #084843;--colors-teal-dark-6: #145750;--colors-teal-dark-7: #1c6961;--colors-teal-dark-8: #207e73;--colors-teal-dark-9: #12a594;--colors-teal-dark-10: #0eb39e;--colors-teal-dark-11: #0bd8b6;--colors-teal-dark-12: #adf0dd;--colors-teal-dark-a-1: #00deab05;--colors-teal-dark-a-2: #12fbe60c;--colors-teal-dark-a-3: #00ffe61e;--colors-teal-dark-a-4: #00ffe92d;--colors-teal-dark-a-5: #00ffea3b;--colors-teal-dark-a-6: #1cffe84b;--colors-teal-dark-a-7: #2efde85f;--colors-teal-dark-a-8: #32ffe775;--colors-teal-dark-a-9: #13ffe49f;--colors-teal-dark-a-10: #0dffe0ae;--colors-teal-dark-a-11: #0afed5d6;--colors-teal-dark-a-12: #b8ffebef;--colors-teal-dark-p3-1: color(display-p3 .059 .083 .079);--colors-teal-dark-p3-2: color(display-p3 .075 .11 .107);--colors-teal-dark-p3-3: color(display-p3 .087 .175 .165);--colors-teal-dark-p3-4: color(display-p3 .087 .227 .214);--colors-teal-dark-p3-5: color(display-p3 .12 .277 .261);--colors-teal-dark-p3-6: color(display-p3 .162 .335 .314);--colors-teal-dark-p3-7: color(display-p3 .205 .406 .379);--colors-teal-dark-p3-8: color(display-p3 .245 .489 .453);--colors-teal-dark-p3-9: color(display-p3 .297 .637 .581);--colors-teal-dark-p3-10: color(display-p3 .319 .69 .62);--colors-teal-dark-p3-11: color(display-p3 .388 .835 .719);--colors-teal-dark-p3-12: color(display-p3 .734 .934 .87);--colors-teal-dark-p3-a-1: color(display-p3 0 .992 .761 / .017);--colors-teal-dark-p3-a-2: color(display-p3 .235 .988 .902 / .047);--colors-teal-dark-p3-a-3: color(display-p3 .235 1 .898 / .118);--colors-teal-dark-p3-a-4: color(display-p3 .18 .996 .929 / .173);--colors-teal-dark-p3-a-5: color(display-p3 .31 1 .933 / .227);--colors-teal-dark-p3-a-6: color(display-p3 .396 1 .933 / .286);--colors-teal-dark-p3-a-7: color(display-p3 .443 1 .925 / .366);--colors-teal-dark-p3-a-8: color(display-p3 .459 1 .925 / .454);--colors-teal-dark-p3-a-9: color(display-p3 .443 .996 .906 / .61);--colors-teal-dark-p3-a-10: color(display-p3 .439 .996 .89 / .669);--colors-teal-dark-p3-a-11: color(display-p3 .388 .835 .719);--colors-teal-dark-p3-a-12: color(display-p3 .734 .934 .87);--colors-teal-a-1: var(--colors-teal-light-a-1);--colors-teal-a-2: var(--colors-teal-light-a-2);--colors-teal-a-3: var(--colors-teal-light-a-3);--colors-teal-a-4: var(--colors-teal-light-a-4);--colors-teal-a-5: var(--colors-teal-light-a-5);--colors-teal-a-6: var(--colors-teal-light-a-6);--colors-teal-a-7: var(--colors-teal-light-a-7);--colors-teal-a-8: var(--colors-teal-light-a-8);--colors-teal-a-9: var(--colors-teal-light-a-9);--colors-teal-a-10: var(--colors-teal-light-a-10);--colors-teal-a-11: var(--colors-teal-light-a-11);--colors-teal-a-12: var(--colors-teal-light-a-12);--colors-teal-p3-1: var(--colors-teal-light-p3-1);--colors-teal-p3-2: var(--colors-teal-light-p3-2);--colors-teal-p3-3: var(--colors-teal-light-p3-3);--colors-teal-p3-4: var(--colors-teal-light-p3-4);--colors-teal-p3-5: var(--colors-teal-light-p3-5);--colors-teal-p3-6: var(--colors-teal-light-p3-6);--colors-teal-p3-7: var(--colors-teal-light-p3-7);--colors-teal-p3-8: var(--colors-teal-light-p3-8);--colors-teal-p3-9: var(--colors-teal-light-p3-9);--colors-teal-p3-10: var(--colors-teal-light-p3-10);--colors-teal-p3-11: var(--colors-teal-light-p3-11);--colors-teal-p3-12: var(--colors-teal-light-p3-12);--colors-teal-p3-a-1: var(--colors-teal-light-p3-a-1);--colors-teal-p3-a-2: var(--colors-teal-light-p3-a-2);--colors-teal-p3-a-3: var(--colors-teal-light-p3-a-3);--colors-teal-p3-a-4: var(--colors-teal-light-p3-a-4);--colors-teal-p3-a-5: var(--colors-teal-light-p3-a-5);--colors-teal-p3-a-6: var(--colors-teal-light-p3-a-6);--colors-teal-p3-a-7: var(--colors-teal-light-p3-a-7);--colors-teal-p3-a-8: var(--colors-teal-light-p3-a-8);--colors-teal-p3-a-9: var(--colors-teal-light-p3-a-9);--colors-teal-p3-a-10: var(--colors-teal-light-p3-a-10);--colors-teal-p3-a-11: var(--colors-teal-light-p3-a-11);--colors-teal-p3-a-12: var(--colors-teal-light-p3-a-12);--colors-tomato-1: var(--colors-tomato-light-1);--colors-tomato-2: var(--colors-tomato-light-2);--colors-tomato-3: var(--colors-tomato-light-3);--colors-tomato-4: var(--colors-tomato-light-4);--colors-tomato-5: var(--colors-tomato-light-5);--colors-tomato-6: var(--colors-tomato-light-6);--colors-tomato-7: var(--colors-tomato-light-7);--colors-tomato-8: var(--colors-tomato-light-8);--colors-tomato-9: var(--colors-tomato-light-9);--colors-tomato-10: var(--colors-tomato-light-10);--colors-tomato-11: var(--colors-tomato-light-11);--colors-tomato-12: var(--colors-tomato-light-12);--colors-tomato-light-1: #fffcfc;--colors-tomato-light-2: #fff8f7;--colors-tomato-light-3: #feebe7;--colors-tomato-light-4: #ffdcd3;--colors-tomato-light-5: #ffcdc2;--colors-tomato-light-6: #fdbdaf;--colors-tomato-light-7: #f5a898;--colors-tomato-light-8: #ec8e7b;--colors-tomato-light-9: #e54d2e;--colors-tomato-light-10: #dd4425;--colors-tomato-light-11: #d13415;--colors-tomato-light-12: #5c271f;--colors-tomato-light-a-1: #ff000003;--colors-tomato-light-a-2: #ff200008;--colors-tomato-light-a-3: #f52b0018;--colors-tomato-light-a-4: #ff35002c;--colors-tomato-light-a-5: #ff2e003d;--colors-tomato-light-a-6: #f92d0050;--colors-tomato-light-a-7: #e7280067;--colors-tomato-light-a-8: #db250084;--colors-tomato-light-a-9: #df2600d1;--colors-tomato-light-a-10: #d72400da;--colors-tomato-light-a-11: #cd2200ea;--colors-tomato-light-a-12: #460900e0;--colors-tomato-light-p3-1: color(display-p3 .998 .989 .988);--colors-tomato-light-p3-2: color(display-p3 .994 .974 .969);--colors-tomato-light-p3-3: color(display-p3 .985 .924 .909);--colors-tomato-light-p3-4: color(display-p3 .996 .868 .835);--colors-tomato-light-p3-5: color(display-p3 .98 .812 .77);--colors-tomato-light-p3-6: color(display-p3 .953 .75 .698);--colors-tomato-light-p3-7: color(display-p3 .917 .673 .611);--colors-tomato-light-p3-8: color(display-p3 .875 .575 .502);--colors-tomato-light-p3-9: color(display-p3 .831 .345 .231);--colors-tomato-light-p3-10: color(display-p3 .802 .313 .2);--colors-tomato-light-p3-11: color(display-p3 .755 .259 .152);--colors-tomato-light-p3-12: color(display-p3 .335 .165 .132);--colors-tomato-light-p3-a-1: color(display-p3 .675 .024 .024 / .012);--colors-tomato-light-p3-a-2: color(display-p3 .757 .145 .02 / .032);--colors-tomato-light-p3-a-3: color(display-p3 .831 .184 .012 / .091);--colors-tomato-light-p3-a-4: color(display-p3 .976 .192 .004 / .165);--colors-tomato-light-p3-a-5: color(display-p3 .918 .192 .004 / .232);--colors-tomato-light-p3-a-6: color(display-p3 .847 .173 .004 / .302);--colors-tomato-light-p3-a-7: color(display-p3 .788 .165 .004 / .389);--colors-tomato-light-p3-a-8: color(display-p3 .749 .153 .004 / .499);--colors-tomato-light-p3-a-9: color(display-p3 .78 .149 0 / .769);--colors-tomato-light-p3-a-10: color(display-p3 .757 .141 0 / .8);--colors-tomato-light-p3-a-11: color(display-p3 .755 .259 .152);--colors-tomato-light-p3-a-12: color(display-p3 .335 .165 .132);--colors-tomato-dark-1: #181111;--colors-tomato-dark-2: #1f1513;--colors-tomato-dark-3: #391714;--colors-tomato-dark-4: #4e1511;--colors-tomato-dark-5: #5e1c16;--colors-tomato-dark-6: #6e2920;--colors-tomato-dark-7: #853a2d;--colors-tomato-dark-8: #ac4d39;--colors-tomato-dark-9: #e54d2e;--colors-tomato-dark-10: #ec6142;--colors-tomato-dark-11: #ff977d;--colors-tomato-dark-12: #fbd3cb;--colors-tomato-dark-a-1: #f1121208;--colors-tomato-dark-a-2: #ff55330f;--colors-tomato-dark-a-3: #ff35232b;--colors-tomato-dark-a-4: #fd201142;--colors-tomato-dark-a-5: #fe332153;--colors-tomato-dark-a-6: #ff4f3864;--colors-tomato-dark-a-7: #fd644a7d;--colors-tomato-dark-a-8: #fe6d4ea7;--colors-tomato-dark-a-9: #fe5431e4;--colors-tomato-dark-a-10: #ff6847eb;--colors-tomato-dark-a-11: #ff977d;--colors-tomato-dark-a-12: #ffd6cefb;--colors-tomato-dark-p3-1: color(display-p3 .09 .068 .067);--colors-tomato-dark-p3-2: color(display-p3 .115 .084 .076);--colors-tomato-dark-p3-3: color(display-p3 .205 .097 .083);--colors-tomato-dark-p3-4: color(display-p3 .282 .099 .077);--colors-tomato-dark-p3-5: color(display-p3 .339 .129 .101);--colors-tomato-dark-p3-6: color(display-p3 .398 .179 .141);--colors-tomato-dark-p3-7: color(display-p3 .487 .245 .194);--colors-tomato-dark-p3-8: color(display-p3 .629 .322 .248);--colors-tomato-dark-p3-9: color(display-p3 .831 .345 .231);--colors-tomato-dark-p3-10: color(display-p3 .862 .415 .298);--colors-tomato-dark-p3-11: color(display-p3 1 .585 .455);--colors-tomato-dark-p3-12: color(display-p3 .959 .833 .802);--colors-tomato-dark-p3-a-1: color(display-p3 .973 .071 .071 / .026);--colors-tomato-dark-p3-a-2: color(display-p3 .992 .376 .224 / .051);--colors-tomato-dark-p3-a-3: color(display-p3 .996 .282 .176 / .148);--colors-tomato-dark-p3-a-4: color(display-p3 1 .204 .118 / .232);--colors-tomato-dark-p3-a-5: color(display-p3 1 .286 .192 / .29);--colors-tomato-dark-p3-a-6: color(display-p3 1 .392 .278 / .353);--colors-tomato-dark-p3-a-7: color(display-p3 1 .459 .349 / .45);--colors-tomato-dark-p3-a-8: color(display-p3 1 .49 .369 / .601);--colors-tomato-dark-p3-a-9: color(display-p3 1 .408 .267 / .82);--colors-tomato-dark-p3-a-10: color(display-p3 1 .478 .341 / .853);--colors-tomato-dark-p3-a-11: color(display-p3 1 .585 .455);--colors-tomato-dark-p3-a-12: color(display-p3 .959 .833 .802);--colors-tomato-a-1: var(--colors-tomato-light-a-1);--colors-tomato-a-2: var(--colors-tomato-light-a-2);--colors-tomato-a-3: var(--colors-tomato-light-a-3);--colors-tomato-a-4: var(--colors-tomato-light-a-4);--colors-tomato-a-5: var(--colors-tomato-light-a-5);--colors-tomato-a-6: var(--colors-tomato-light-a-6);--colors-tomato-a-7: var(--colors-tomato-light-a-7);--colors-tomato-a-8: var(--colors-tomato-light-a-8);--colors-tomato-a-9: var(--colors-tomato-light-a-9);--colors-tomato-a-10: var(--colors-tomato-light-a-10);--colors-tomato-a-11: var(--colors-tomato-light-a-11);--colors-tomato-a-12: var(--colors-tomato-light-a-12);--colors-tomato-p3-1: var(--colors-tomato-light-p3-1);--colors-tomato-p3-2: var(--colors-tomato-light-p3-2);--colors-tomato-p3-3: var(--colors-tomato-light-p3-3);--colors-tomato-p3-4: var(--colors-tomato-light-p3-4);--colors-tomato-p3-5: var(--colors-tomato-light-p3-5);--colors-tomato-p3-6: var(--colors-tomato-light-p3-6);--colors-tomato-p3-7: var(--colors-tomato-light-p3-7);--colors-tomato-p3-8: var(--colors-tomato-light-p3-8);--colors-tomato-p3-9: var(--colors-tomato-light-p3-9);--colors-tomato-p3-10: var(--colors-tomato-light-p3-10);--colors-tomato-p3-11: var(--colors-tomato-light-p3-11);--colors-tomato-p3-12: var(--colors-tomato-light-p3-12);--colors-tomato-p3-a-1: var(--colors-tomato-light-p3-a-1);--colors-tomato-p3-a-2: var(--colors-tomato-light-p3-a-2);--colors-tomato-p3-a-3: var(--colors-tomato-light-p3-a-3);--colors-tomato-p3-a-4: var(--colors-tomato-light-p3-a-4);--colors-tomato-p3-a-5: var(--colors-tomato-light-p3-a-5);--colors-tomato-p3-a-6: var(--colors-tomato-light-p3-a-6);--colors-tomato-p3-a-7: var(--colors-tomato-light-p3-a-7);--colors-tomato-p3-a-8: var(--colors-tomato-light-p3-a-8);--colors-tomato-p3-a-9: var(--colors-tomato-light-p3-a-9);--colors-tomato-p3-a-10: var(--colors-tomato-light-p3-a-10);--colors-tomato-p3-a-11: var(--colors-tomato-light-p3-a-11);--colors-tomato-p3-a-12: var(--colors-tomato-light-p3-a-12);--colors-violet-1: var(--colors-violet-light-1);--colors-violet-2: var(--colors-violet-light-2);--colors-violet-3: var(--colors-violet-light-3);--colors-violet-4: var(--colors-violet-light-4);--colors-violet-5: var(--colors-violet-light-5);--colors-violet-6: var(--colors-violet-light-6);--colors-violet-7: var(--colors-violet-light-7);--colors-violet-8: var(--colors-violet-light-8);--colors-violet-9: var(--colors-violet-light-9);--colors-violet-10: var(--colors-violet-light-10);--colors-violet-11: var(--colors-violet-light-11);--colors-violet-12: var(--colors-violet-light-12);--colors-violet-light-1: #fdfcfe;--colors-violet-light-2: #faf8ff;--colors-violet-light-3: #f4f0fe;--colors-violet-light-4: #ebe4ff;--colors-violet-light-5: #e1d9ff;--colors-violet-light-6: #d4cafe;--colors-violet-light-7: #c2b5f5;--colors-violet-light-8: #aa99ec;--colors-violet-light-9: #6e56cf;--colors-violet-light-10: #654dc4;--colors-violet-light-11: #6550b9;--colors-violet-light-12: #2f265f;--colors-violet-light-a-1: #5500aa03;--colors-violet-light-a-2: #4900ff07;--colors-violet-light-a-3: #4400ee0f;--colors-violet-light-a-4: #4300ff1b;--colors-violet-light-a-5: #3600ff26;--colors-violet-light-a-6: #3100fb35;--colors-violet-light-a-7: #2d01dd4a;--colors-violet-light-a-8: #2b00d066;--colors-violet-light-a-9: #2400b7a9;--colors-violet-light-a-10: #2300abb2;--colors-violet-light-a-11: #1f0099af;--colors-violet-light-a-12: #0b0043d9;--colors-violet-light-p3-1: color(display-p3 .991 .988 .995);--colors-violet-light-p3-2: color(display-p3 .978 .974 .998);--colors-violet-light-p3-3: color(display-p3 .953 .943 .993);--colors-violet-light-p3-4: color(display-p3 .916 .897 1);--colors-violet-light-p3-5: color(display-p3 .876 .851 1);--colors-violet-light-p3-6: color(display-p3 .825 .793 .981);--colors-violet-light-p3-7: color(display-p3 .752 .712 .943);--colors-violet-light-p3-8: color(display-p3 .654 .602 .902);--colors-violet-light-p3-9: color(display-p3 .417 .341 .784);--colors-violet-light-p3-10: color(display-p3 .381 .306 .741);--colors-violet-light-p3-11: color(display-p3 .383 .317 .702);--colors-violet-light-p3-12: color(display-p3 .179 .15 .359);--colors-violet-light-p3-a-1: color(display-p3 .349 .024 .675 / .012);--colors-violet-light-p3-a-2: color(display-p3 .161 .024 .863 / .028);--colors-violet-light-p3-a-3: color(display-p3 .204 .004 .871 / .059);--colors-violet-light-p3-a-4: color(display-p3 .196 .004 1 / .102);--colors-violet-light-p3-a-5: color(display-p3 .165 .008 1 / .15);--colors-violet-light-p3-a-6: color(display-p3 .153 .004 .906 / .208);--colors-violet-light-p3-a-7: color(display-p3 .141 .004 .796 / .287);--colors-violet-light-p3-a-8: color(display-p3 .133 .004 .753 / .397);--colors-violet-light-p3-a-9: color(display-p3 .114 0 .675 / .659);--colors-violet-light-p3-a-10: color(display-p3 .11 0 .627 / .695);--colors-violet-light-p3-a-11: color(display-p3 .383 .317 .702);--colors-violet-light-p3-a-12: color(display-p3 .179 .15 .359);--colors-violet-dark-1: #14121f;--colors-violet-dark-2: #1b1525;--colors-violet-dark-3: #291f43;--colors-violet-dark-4: #33255b;--colors-violet-dark-5: #3c2e69;--colors-violet-dark-6: #473876;--colors-violet-dark-7: #56468b;--colors-violet-dark-8: #6958ad;--colors-violet-dark-9: #6e56cf;--colors-violet-dark-10: #7d66d9;--colors-violet-dark-11: #baa7ff;--colors-violet-dark-12: #e2ddfe;--colors-violet-dark-a-1: #4422ff0f;--colors-violet-dark-a-2: #853ff916;--colors-violet-dark-a-3: #8354fe36;--colors-violet-dark-a-4: #7d51fd50;--colors-violet-dark-a-5: #845ffd5f;--colors-violet-dark-a-6: #8f6cfd6d;--colors-violet-dark-a-7: #9879ff83;--colors-violet-dark-a-8: #977dfea8;--colors-violet-dark-a-9: #8668ffcc;--colors-violet-dark-a-10: #9176fed7;--colors-violet-dark-a-11: #baa7ff;--colors-violet-dark-a-12: #e3defffe;--colors-violet-dark-p3-1: color(display-p3 .077 .071 .118);--colors-violet-dark-p3-2: color(display-p3 .101 .084 .141);--colors-violet-dark-p3-3: color(display-p3 .154 .123 .256);--colors-violet-dark-p3-4: color(display-p3 .191 .148 .345);--colors-violet-dark-p3-5: color(display-p3 .226 .182 .396);--colors-violet-dark-p3-6: color(display-p3 .269 .223 .449);--colors-violet-dark-p3-7: color(display-p3 .326 .277 .53);--colors-violet-dark-p3-8: color(display-p3 .399 .346 .656);--colors-violet-dark-p3-9: color(display-p3 .417 .341 .784);--colors-violet-dark-p3-10: color(display-p3 .477 .402 .823);--colors-violet-dark-p3-11: color(display-p3 .72 .65 1);--colors-violet-dark-p3-12: color(display-p3 .883 .867 .986);--colors-violet-dark-p3-a-1: color(display-p3 .282 .141 .996 / .055);--colors-violet-dark-p3-a-2: color(display-p3 .51 .263 1 / .08);--colors-violet-dark-p3-a-3: color(display-p3 .494 .337 .996 / .202);--colors-violet-dark-p3-a-4: color(display-p3 .49 .345 1 / .299);--colors-violet-dark-p3-a-5: color(display-p3 .525 .392 1 / .353);--colors-violet-dark-p3-a-6: color(display-p3 .569 .455 1 / .408);--colors-violet-dark-p3-a-7: color(display-p3 .588 .494 1 / .496);--colors-violet-dark-p3-a-8: color(display-p3 .596 .51 1 / .631);--colors-violet-dark-p3-a-9: color(display-p3 .522 .424 1 / .769);--colors-violet-dark-p3-a-10: color(display-p3 .576 .482 1 / .811);--colors-violet-dark-p3-a-11: color(display-p3 .72 .65 1);--colors-violet-dark-p3-a-12: color(display-p3 .883 .867 .986);--colors-violet-a-1: var(--colors-violet-light-a-1);--colors-violet-a-2: var(--colors-violet-light-a-2);--colors-violet-a-3: var(--colors-violet-light-a-3);--colors-violet-a-4: var(--colors-violet-light-a-4);--colors-violet-a-5: var(--colors-violet-light-a-5);--colors-violet-a-6: var(--colors-violet-light-a-6);--colors-violet-a-7: var(--colors-violet-light-a-7);--colors-violet-a-8: var(--colors-violet-light-a-8);--colors-violet-a-9: var(--colors-violet-light-a-9);--colors-violet-a-10: var(--colors-violet-light-a-10);--colors-violet-a-11: var(--colors-violet-light-a-11);--colors-violet-a-12: var(--colors-violet-light-a-12);--colors-violet-p3-1: var(--colors-violet-light-p3-1);--colors-violet-p3-2: var(--colors-violet-light-p3-2);--colors-violet-p3-3: var(--colors-violet-light-p3-3);--colors-violet-p3-4: var(--colors-violet-light-p3-4);--colors-violet-p3-5: var(--colors-violet-light-p3-5);--colors-violet-p3-6: var(--colors-violet-light-p3-6);--colors-violet-p3-7: var(--colors-violet-light-p3-7);--colors-violet-p3-8: var(--colors-violet-light-p3-8);--colors-violet-p3-9: var(--colors-violet-light-p3-9);--colors-violet-p3-10: var(--colors-violet-light-p3-10);--colors-violet-p3-11: var(--colors-violet-light-p3-11);--colors-violet-p3-12: var(--colors-violet-light-p3-12);--colors-violet-p3-a-1: var(--colors-violet-light-p3-a-1);--colors-violet-p3-a-2: var(--colors-violet-light-p3-a-2);--colors-violet-p3-a-3: var(--colors-violet-light-p3-a-3);--colors-violet-p3-a-4: var(--colors-violet-light-p3-a-4);--colors-violet-p3-a-5: var(--colors-violet-light-p3-a-5);--colors-violet-p3-a-6: var(--colors-violet-light-p3-a-6);--colors-violet-p3-a-7: var(--colors-violet-light-p3-a-7);--colors-violet-p3-a-8: var(--colors-violet-light-p3-a-8);--colors-violet-p3-a-9: var(--colors-violet-light-p3-a-9);--colors-violet-p3-a-10: var(--colors-violet-light-p3-a-10);--colors-violet-p3-a-11: var(--colors-violet-light-p3-a-11);--colors-violet-p3-a-12: var(--colors-violet-light-p3-a-12);--colors-yellow-1: var(--colors-yellow-light-1);--colors-yellow-2: var(--colors-yellow-light-2);--colors-yellow-3: var(--colors-yellow-light-3);--colors-yellow-4: var(--colors-yellow-light-4);--colors-yellow-5: var(--colors-yellow-light-5);--colors-yellow-6: var(--colors-yellow-light-6);--colors-yellow-7: var(--colors-yellow-light-7);--colors-yellow-8: var(--colors-yellow-light-8);--colors-yellow-9: var(--colors-yellow-light-9);--colors-yellow-10: var(--colors-yellow-light-10);--colors-yellow-11: var(--colors-yellow-light-11);--colors-yellow-12: var(--colors-yellow-light-12);--colors-yellow-light-1: #fdfdf9;--colors-yellow-light-2: #fefce9;--colors-yellow-light-3: #fffab8;--colors-yellow-light-4: #fff394;--colors-yellow-light-5: #ffe770;--colors-yellow-light-6: #f3d768;--colors-yellow-light-7: #e4c767;--colors-yellow-light-8: #d5ae39;--colors-yellow-light-9: #ffe629;--colors-yellow-light-10: #ffdc00;--colors-yellow-light-11: #9e6c00;--colors-yellow-light-12: #473b1f;--colors-yellow-light-a-1: #aaaa0006;--colors-yellow-light-a-2: #f4dd0016;--colors-yellow-light-a-3: #ffee0047;--colors-yellow-light-a-4: #ffe3016b;--colors-yellow-light-a-5: #ffd5008f;--colors-yellow-light-a-6: #ebbc0097;--colors-yellow-light-a-7: #d2a10098;--colors-yellow-light-a-8: #c99700c6;--colors-yellow-light-a-9: #ffe100d6;--colors-yellow-light-a-10: #ffdc00;--colors-yellow-light-a-11: #9e6c00;--colors-yellow-light-a-12: #2e2000e0;--colors-yellow-light-p3-1: color(display-p3 .992 .992 .978);--colors-yellow-light-p3-2: color(display-p3 .995 .99 .922);--colors-yellow-light-p3-3: color(display-p3 .997 .982 .749);--colors-yellow-light-p3-4: color(display-p3 .992 .953 .627);--colors-yellow-light-p3-5: color(display-p3 .984 .91 .51);--colors-yellow-light-p3-6: color(display-p3 .934 .847 .474);--colors-yellow-light-p3-7: color(display-p3 .876 .785 .46);--colors-yellow-light-p3-8: color(display-p3 .811 .689 .313);--colors-yellow-light-p3-9: color(display-p3 1 .92 .22);--colors-yellow-light-p3-10: color(display-p3 .977 .868 .291);--colors-yellow-light-p3-11: color(display-p3 .6 .44 0);--colors-yellow-light-p3-12: color(display-p3 .271 .233 .137);--colors-yellow-light-p3-a-1: color(display-p3 .675 .675 .024 / .024);--colors-yellow-light-p3-a-2: color(display-p3 .953 .855 .008 / .079);--colors-yellow-light-p3-a-3: color(display-p3 .988 .925 .004 / .251);--colors-yellow-light-p3-a-4: color(display-p3 .98 .875 .004 / .373);--colors-yellow-light-p3-a-5: color(display-p3 .969 .816 .004 / .491);--colors-yellow-light-p3-a-6: color(display-p3 .875 .71 0 / .526);--colors-yellow-light-p3-a-7: color(display-p3 .769 .604 0 / .542);--colors-yellow-light-p3-a-8: color(display-p3 .725 .549 0 / .687);--colors-yellow-light-p3-a-9: color(display-p3 1 .898 0 / .781);--colors-yellow-light-p3-a-10: color(display-p3 .969 .812 0 / .71);--colors-yellow-light-p3-a-11: color(display-p3 .6 .44 0);--colors-yellow-light-p3-a-12: color(display-p3 .271 .233 .137);--colors-yellow-dark-1: #14120b;--colors-yellow-dark-2: #1b180f;--colors-yellow-dark-3: #2d2305;--colors-yellow-dark-4: #362b00;--colors-yellow-dark-5: #433500;--colors-yellow-dark-6: #524202;--colors-yellow-dark-7: #665417;--colors-yellow-dark-8: #836a21;--colors-yellow-dark-9: #ffe629;--colors-yellow-dark-10: #ffff57;--colors-yellow-dark-11: #f5e147;--colors-yellow-dark-12: #f6eeb4;--colors-yellow-dark-a-1: #d1510004;--colors-yellow-dark-a-2: #f9b4000b;--colors-yellow-dark-a-3: #ffaa001e;--colors-yellow-dark-a-4: #fdb70028;--colors-yellow-dark-a-5: #febb0036;--colors-yellow-dark-a-6: #fec40046;--colors-yellow-dark-a-7: #fdcb225c;--colors-yellow-dark-a-8: #fdca327b;--colors-yellow-dark-a-9: #ffe629;--colors-yellow-dark-a-10: #ffff57;--colors-yellow-dark-a-11: #fee949f5;--colors-yellow-dark-a-12: #fef6baf6;--colors-yellow-dark-p3-1: color(display-p3 .078 .069 .047);--colors-yellow-dark-p3-2: color(display-p3 .103 .094 .063);--colors-yellow-dark-p3-3: color(display-p3 .168 .137 .039);--colors-yellow-dark-p3-4: color(display-p3 .209 .169 0);--colors-yellow-dark-p3-5: color(display-p3 .255 .209 0);--colors-yellow-dark-p3-6: color(display-p3 .31 .261 .07);--colors-yellow-dark-p3-7: color(display-p3 .389 .331 .135);--colors-yellow-dark-p3-8: color(display-p3 .497 .42 .182);--colors-yellow-dark-p3-9: color(display-p3 1 .92 .22);--colors-yellow-dark-p3-10: color(display-p3 1 1 .456);--colors-yellow-dark-p3-11: color(display-p3 .948 .885 .392);--colors-yellow-dark-p3-12: color(display-p3 .959 .934 .731);--colors-yellow-dark-p3-a-1: color(display-p3 .973 .369 0 / .013);--colors-yellow-dark-p3-a-2: color(display-p3 .996 .792 0 / .038);--colors-yellow-dark-p3-a-3: color(display-p3 .996 .71 0 / .11);--colors-yellow-dark-p3-a-4: color(display-p3 .996 .741 0 / .152);--colors-yellow-dark-p3-a-5: color(display-p3 .996 .765 0 / .202);--colors-yellow-dark-p3-a-6: color(display-p3 .996 .816 .082 / .261);--colors-yellow-dark-p3-a-7: color(display-p3 1 .831 .263 / .345);--colors-yellow-dark-p3-a-8: color(display-p3 1 .831 .314 / .463);--colors-yellow-dark-p3-a-9: color(display-p3 1 .922 .22);--colors-yellow-dark-p3-a-10: color(display-p3 1 1 .455);--colors-yellow-dark-p3-a-11: color(display-p3 .948 .885 .392);--colors-yellow-dark-p3-a-12: color(display-p3 .959 .934 .731);--colors-yellow-a-1: var(--colors-yellow-light-a-1);--colors-yellow-a-2: var(--colors-yellow-light-a-2);--colors-yellow-a-3: var(--colors-yellow-light-a-3);--colors-yellow-a-4: var(--colors-yellow-light-a-4);--colors-yellow-a-5: var(--colors-yellow-light-a-5);--colors-yellow-a-6: var(--colors-yellow-light-a-6);--colors-yellow-a-7: var(--colors-yellow-light-a-7);--colors-yellow-a-8: var(--colors-yellow-light-a-8);--colors-yellow-a-9: var(--colors-yellow-light-a-9);--colors-yellow-a-10: var(--colors-yellow-light-a-10);--colors-yellow-a-11: var(--colors-yellow-light-a-11);--colors-yellow-a-12: var(--colors-yellow-light-a-12);--colors-yellow-p3-1: var(--colors-yellow-light-p3-1);--colors-yellow-p3-2: var(--colors-yellow-light-p3-2);--colors-yellow-p3-3: var(--colors-yellow-light-p3-3);--colors-yellow-p3-4: var(--colors-yellow-light-p3-4);--colors-yellow-p3-5: var(--colors-yellow-light-p3-5);--colors-yellow-p3-6: var(--colors-yellow-light-p3-6);--colors-yellow-p3-7: var(--colors-yellow-light-p3-7);--colors-yellow-p3-8: var(--colors-yellow-light-p3-8);--colors-yellow-p3-9: var(--colors-yellow-light-p3-9);--colors-yellow-p3-10: var(--colors-yellow-light-p3-10);--colors-yellow-p3-11: var(--colors-yellow-light-p3-11);--colors-yellow-p3-12: var(--colors-yellow-light-p3-12);--colors-yellow-p3-a-1: var(--colors-yellow-light-p3-a-1);--colors-yellow-p3-a-2: var(--colors-yellow-light-p3-a-2);--colors-yellow-p3-a-3: var(--colors-yellow-light-p3-a-3);--colors-yellow-p3-a-4: var(--colors-yellow-light-p3-a-4);--colors-yellow-p3-a-5: var(--colors-yellow-light-p3-a-5);--colors-yellow-p3-a-6: var(--colors-yellow-light-p3-a-6);--colors-yellow-p3-a-7: var(--colors-yellow-light-p3-a-7);--colors-yellow-p3-a-8: var(--colors-yellow-light-p3-a-8);--colors-yellow-p3-a-9: var(--colors-yellow-light-p3-a-9);--colors-yellow-p3-a-10: var(--colors-yellow-light-p3-a-10);--colors-yellow-p3-a-11: var(--colors-yellow-light-p3-a-11);--colors-yellow-p3-a-12: var(--colors-yellow-light-p3-a-12);--colors-likec4-background: var(--mantine-color-body);--colors-likec4-tag-bg: var(--colors-tomato-9);--colors-likec4-tag-bg-hover: var(--colors-tomato-10);--colors-likec4-tag-border: var(--colors-tomato-8);--colors-likec4-tag-text: var(--colors-tomato-12);--colors-likec4-panel-bg: var(--colors-mantine-colors-body);--colors-likec4-panel-border: transparent;--colors-likec4-panel-action-icon-text: color-mix(in srgb, var(--mantine-color-text) 80%, transparent);--colors-likec4-panel-action-icon-text-hover: var(--mantine-color-bright);--colors-likec4-panel-action-icon-text-disabled: var(--mantine-color-dimmed);--colors-likec4-panel-action-icon-bg: var(--colors-mantine-colors-gray\\[1\\]);--colors-likec4-panel-action-icon-bg-hover: var(--colors-mantine-colors-gray\\[2\\]);--colors-likec4-dropdown-bg: #FFF;--colors-likec4-dropdown-border: var(--colors-likec4-panel-border);--colors-likec4-overlay-backdrop: rgb(34 34 34);--colors-likec4-overlay-body: var(--mantine-color-body);--colors-likec4-overlay-border: color-mix(in srgb, var(--colors-mantine-colors-default-border) 50%, transparent)}[data-mantine-color-scheme=dark]{--colors-amber-1: var(--colors-amber-dark-1);--colors-amber-2: var(--colors-amber-dark-2);--colors-amber-3: var(--colors-amber-dark-3);--colors-amber-4: var(--colors-amber-dark-4);--colors-amber-5: var(--colors-amber-dark-5);--colors-amber-6: var(--colors-amber-dark-6);--colors-amber-7: var(--colors-amber-dark-7);--colors-amber-8: var(--colors-amber-dark-8);--colors-amber-9: var(--colors-amber-dark-9);--colors-amber-10: var(--colors-amber-dark-10);--colors-amber-11: var(--colors-amber-dark-11);--colors-amber-12: var(--colors-amber-dark-12);--colors-amber-a-1: var(--colors-amber-dark-a-1);--colors-amber-a-2: var(--colors-amber-dark-a-2);--colors-amber-a-3: var(--colors-amber-dark-a-3);--colors-amber-a-4: var(--colors-amber-dark-a-4);--colors-amber-a-5: var(--colors-amber-dark-a-5);--colors-amber-a-6: var(--colors-amber-dark-a-6);--colors-amber-a-7: var(--colors-amber-dark-a-7);--colors-amber-a-8: var(--colors-amber-dark-a-8);--colors-amber-a-9: var(--colors-amber-dark-a-9);--colors-amber-a-10: var(--colors-amber-dark-a-10);--colors-amber-a-11: var(--colors-amber-dark-a-11);--colors-amber-a-12: var(--colors-amber-dark-a-12);--colors-amber-p3-1: var(--colors-amber-dark-p3-1);--colors-amber-p3-2: var(--colors-amber-dark-p3-2);--colors-amber-p3-3: var(--colors-amber-dark-p3-3);--colors-amber-p3-4: var(--colors-amber-dark-p3-4);--colors-amber-p3-5: var(--colors-amber-dark-p3-5);--colors-amber-p3-6: var(--colors-amber-dark-p3-6);--colors-amber-p3-7: var(--colors-amber-dark-p3-7);--colors-amber-p3-8: var(--colors-amber-dark-p3-8);--colors-amber-p3-9: var(--colors-amber-dark-p3-9);--colors-amber-p3-10: var(--colors-amber-dark-p3-10);--colors-amber-p3-11: var(--colors-amber-dark-p3-11);--colors-amber-p3-12: var(--colors-amber-dark-p3-12);--colors-amber-p3-a-1: var(--colors-amber-dark-p3-a-1);--colors-amber-p3-a-2: var(--colors-amber-dark-p3-a-2);--colors-amber-p3-a-3: var(--colors-amber-dark-p3-a-3);--colors-amber-p3-a-4: var(--colors-amber-dark-p3-a-4);--colors-amber-p3-a-5: var(--colors-amber-dark-p3-a-5);--colors-amber-p3-a-6: var(--colors-amber-dark-p3-a-6);--colors-amber-p3-a-7: var(--colors-amber-dark-p3-a-7);--colors-amber-p3-a-8: var(--colors-amber-dark-p3-a-8);--colors-amber-p3-a-9: var(--colors-amber-dark-p3-a-9);--colors-amber-p3-a-10: var(--colors-amber-dark-p3-a-10);--colors-amber-p3-a-11: var(--colors-amber-dark-p3-a-11);--colors-amber-p3-a-12: var(--colors-amber-dark-p3-a-12);--colors-blue-1: var(--colors-blue-dark-1);--colors-blue-2: var(--colors-blue-dark-2);--colors-blue-3: var(--colors-blue-dark-3);--colors-blue-4: var(--colors-blue-dark-4);--colors-blue-5: var(--colors-blue-dark-5);--colors-blue-6: var(--colors-blue-dark-6);--colors-blue-7: var(--colors-blue-dark-7);--colors-blue-8: var(--colors-blue-dark-8);--colors-blue-9: var(--colors-blue-dark-9);--colors-blue-10: var(--colors-blue-dark-10);--colors-blue-11: var(--colors-blue-dark-11);--colors-blue-12: var(--colors-blue-dark-12);--colors-blue-a-1: var(--colors-blue-dark-a-1);--colors-blue-a-2: var(--colors-blue-dark-a-2);--colors-blue-a-3: var(--colors-blue-dark-a-3);--colors-blue-a-4: var(--colors-blue-dark-a-4);--colors-blue-a-5: var(--colors-blue-dark-a-5);--colors-blue-a-6: var(--colors-blue-dark-a-6);--colors-blue-a-7: var(--colors-blue-dark-a-7);--colors-blue-a-8: var(--colors-blue-dark-a-8);--colors-blue-a-9: var(--colors-blue-dark-a-9);--colors-blue-a-10: var(--colors-blue-dark-a-10);--colors-blue-a-11: var(--colors-blue-dark-a-11);--colors-blue-a-12: var(--colors-blue-dark-a-12);--colors-blue-p3-1: var(--colors-blue-dark-p3-1);--colors-blue-p3-2: var(--colors-blue-dark-p3-2);--colors-blue-p3-3: var(--colors-blue-dark-p3-3);--colors-blue-p3-4: var(--colors-blue-dark-p3-4);--colors-blue-p3-5: var(--colors-blue-dark-p3-5);--colors-blue-p3-6: var(--colors-blue-dark-p3-6);--colors-blue-p3-7: var(--colors-blue-dark-p3-7);--colors-blue-p3-8: var(--colors-blue-dark-p3-8);--colors-blue-p3-9: var(--colors-blue-dark-p3-9);--colors-blue-p3-10: var(--colors-blue-dark-p3-10);--colors-blue-p3-11: var(--colors-blue-dark-p3-11);--colors-blue-p3-12: var(--colors-blue-dark-p3-12);--colors-blue-p3-a-1: var(--colors-blue-dark-p3-a-1);--colors-blue-p3-a-2: var(--colors-blue-dark-p3-a-2);--colors-blue-p3-a-3: var(--colors-blue-dark-p3-a-3);--colors-blue-p3-a-4: var(--colors-blue-dark-p3-a-4);--colors-blue-p3-a-5: var(--colors-blue-dark-p3-a-5);--colors-blue-p3-a-6: var(--colors-blue-dark-p3-a-6);--colors-blue-p3-a-7: var(--colors-blue-dark-p3-a-7);--colors-blue-p3-a-8: var(--colors-blue-dark-p3-a-8);--colors-blue-p3-a-9: var(--colors-blue-dark-p3-a-9);--colors-blue-p3-a-10: var(--colors-blue-dark-p3-a-10);--colors-blue-p3-a-11: var(--colors-blue-dark-p3-a-11);--colors-blue-p3-a-12: var(--colors-blue-dark-p3-a-12);--colors-crimson-1: var(--colors-crimson-dark-1);--colors-crimson-2: var(--colors-crimson-dark-2);--colors-crimson-3: var(--colors-crimson-dark-3);--colors-crimson-4: var(--colors-crimson-dark-4);--colors-crimson-5: var(--colors-crimson-dark-5);--colors-crimson-6: var(--colors-crimson-dark-6);--colors-crimson-7: var(--colors-crimson-dark-7);--colors-crimson-8: var(--colors-crimson-dark-8);--colors-crimson-9: var(--colors-crimson-dark-9);--colors-crimson-10: var(--colors-crimson-dark-10);--colors-crimson-11: var(--colors-crimson-dark-11);--colors-crimson-12: var(--colors-crimson-dark-12);--colors-crimson-a-1: var(--colors-crimson-dark-a-1);--colors-crimson-a-2: var(--colors-crimson-dark-a-2);--colors-crimson-a-3: var(--colors-crimson-dark-a-3);--colors-crimson-a-4: var(--colors-crimson-dark-a-4);--colors-crimson-a-5: var(--colors-crimson-dark-a-5);--colors-crimson-a-6: var(--colors-crimson-dark-a-6);--colors-crimson-a-7: var(--colors-crimson-dark-a-7);--colors-crimson-a-8: var(--colors-crimson-dark-a-8);--colors-crimson-a-9: var(--colors-crimson-dark-a-9);--colors-crimson-a-10: var(--colors-crimson-dark-a-10);--colors-crimson-a-11: var(--colors-crimson-dark-a-11);--colors-crimson-a-12: var(--colors-crimson-dark-a-12);--colors-crimson-p3-1: var(--colors-crimson-dark-p3-1);--colors-crimson-p3-2: var(--colors-crimson-dark-p3-2);--colors-crimson-p3-3: var(--colors-crimson-dark-p3-3);--colors-crimson-p3-4: var(--colors-crimson-dark-p3-4);--colors-crimson-p3-5: var(--colors-crimson-dark-p3-5);--colors-crimson-p3-6: var(--colors-crimson-dark-p3-6);--colors-crimson-p3-7: var(--colors-crimson-dark-p3-7);--colors-crimson-p3-8: var(--colors-crimson-dark-p3-8);--colors-crimson-p3-9: var(--colors-crimson-dark-p3-9);--colors-crimson-p3-10: var(--colors-crimson-dark-p3-10);--colors-crimson-p3-11: var(--colors-crimson-dark-p3-11);--colors-crimson-p3-12: var(--colors-crimson-dark-p3-12);--colors-crimson-p3-a-1: var(--colors-crimson-dark-p3-a-1);--colors-crimson-p3-a-2: var(--colors-crimson-dark-p3-a-2);--colors-crimson-p3-a-3: var(--colors-crimson-dark-p3-a-3);--colors-crimson-p3-a-4: var(--colors-crimson-dark-p3-a-4);--colors-crimson-p3-a-5: var(--colors-crimson-dark-p3-a-5);--colors-crimson-p3-a-6: var(--colors-crimson-dark-p3-a-6);--colors-crimson-p3-a-7: var(--colors-crimson-dark-p3-a-7);--colors-crimson-p3-a-8: var(--colors-crimson-dark-p3-a-8);--colors-crimson-p3-a-9: var(--colors-crimson-dark-p3-a-9);--colors-crimson-p3-a-10: var(--colors-crimson-dark-p3-a-10);--colors-crimson-p3-a-11: var(--colors-crimson-dark-p3-a-11);--colors-crimson-p3-a-12: var(--colors-crimson-dark-p3-a-12);--colors-grass-1: var(--colors-grass-dark-1);--colors-grass-2: var(--colors-grass-dark-2);--colors-grass-3: var(--colors-grass-dark-3);--colors-grass-4: var(--colors-grass-dark-4);--colors-grass-5: var(--colors-grass-dark-5);--colors-grass-6: var(--colors-grass-dark-6);--colors-grass-7: var(--colors-grass-dark-7);--colors-grass-8: var(--colors-grass-dark-8);--colors-grass-9: var(--colors-grass-dark-9);--colors-grass-10: var(--colors-grass-dark-10);--colors-grass-11: var(--colors-grass-dark-11);--colors-grass-12: var(--colors-grass-dark-12);--colors-grass-a-1: var(--colors-grass-dark-a-1);--colors-grass-a-2: var(--colors-grass-dark-a-2);--colors-grass-a-3: var(--colors-grass-dark-a-3);--colors-grass-a-4: var(--colors-grass-dark-a-4);--colors-grass-a-5: var(--colors-grass-dark-a-5);--colors-grass-a-6: var(--colors-grass-dark-a-6);--colors-grass-a-7: var(--colors-grass-dark-a-7);--colors-grass-a-8: var(--colors-grass-dark-a-8);--colors-grass-a-9: var(--colors-grass-dark-a-9);--colors-grass-a-10: var(--colors-grass-dark-a-10);--colors-grass-a-11: var(--colors-grass-dark-a-11);--colors-grass-a-12: var(--colors-grass-dark-a-12);--colors-grass-p3-1: var(--colors-grass-dark-p3-1);--colors-grass-p3-2: var(--colors-grass-dark-p3-2);--colors-grass-p3-3: var(--colors-grass-dark-p3-3);--colors-grass-p3-4: var(--colors-grass-dark-p3-4);--colors-grass-p3-5: var(--colors-grass-dark-p3-5);--colors-grass-p3-6: var(--colors-grass-dark-p3-6);--colors-grass-p3-7: var(--colors-grass-dark-p3-7);--colors-grass-p3-8: var(--colors-grass-dark-p3-8);--colors-grass-p3-9: var(--colors-grass-dark-p3-9);--colors-grass-p3-10: var(--colors-grass-dark-p3-10);--colors-grass-p3-11: var(--colors-grass-dark-p3-11);--colors-grass-p3-12: var(--colors-grass-dark-p3-12);--colors-grass-p3-a-1: var(--colors-grass-dark-p3-a-1);--colors-grass-p3-a-2: var(--colors-grass-dark-p3-a-2);--colors-grass-p3-a-3: var(--colors-grass-dark-p3-a-3);--colors-grass-p3-a-4: var(--colors-grass-dark-p3-a-4);--colors-grass-p3-a-5: var(--colors-grass-dark-p3-a-5);--colors-grass-p3-a-6: var(--colors-grass-dark-p3-a-6);--colors-grass-p3-a-7: var(--colors-grass-dark-p3-a-7);--colors-grass-p3-a-8: var(--colors-grass-dark-p3-a-8);--colors-grass-p3-a-9: var(--colors-grass-dark-p3-a-9);--colors-grass-p3-a-10: var(--colors-grass-dark-p3-a-10);--colors-grass-p3-a-11: var(--colors-grass-dark-p3-a-11);--colors-grass-p3-a-12: var(--colors-grass-dark-p3-a-12);--colors-indigo-1: var(--colors-indigo-dark-1);--colors-indigo-2: var(--colors-indigo-dark-2);--colors-indigo-3: var(--colors-indigo-dark-3);--colors-indigo-4: var(--colors-indigo-dark-4);--colors-indigo-5: var(--colors-indigo-dark-5);--colors-indigo-6: var(--colors-indigo-dark-6);--colors-indigo-7: var(--colors-indigo-dark-7);--colors-indigo-8: var(--colors-indigo-dark-8);--colors-indigo-9: var(--colors-indigo-dark-9);--colors-indigo-10: var(--colors-indigo-dark-10);--colors-indigo-11: var(--colors-indigo-dark-11);--colors-indigo-12: var(--colors-indigo-dark-12);--colors-indigo-a-1: var(--colors-indigo-dark-a-1);--colors-indigo-a-2: var(--colors-indigo-dark-a-2);--colors-indigo-a-3: var(--colors-indigo-dark-a-3);--colors-indigo-a-4: var(--colors-indigo-dark-a-4);--colors-indigo-a-5: var(--colors-indigo-dark-a-5);--colors-indigo-a-6: var(--colors-indigo-dark-a-6);--colors-indigo-a-7: var(--colors-indigo-dark-a-7);--colors-indigo-a-8: var(--colors-indigo-dark-a-8);--colors-indigo-a-9: var(--colors-indigo-dark-a-9);--colors-indigo-a-10: var(--colors-indigo-dark-a-10);--colors-indigo-a-11: var(--colors-indigo-dark-a-11);--colors-indigo-a-12: var(--colors-indigo-dark-a-12);--colors-indigo-p3-1: var(--colors-indigo-dark-p3-1);--colors-indigo-p3-2: var(--colors-indigo-dark-p3-2);--colors-indigo-p3-3: var(--colors-indigo-dark-p3-3);--colors-indigo-p3-4: var(--colors-indigo-dark-p3-4);--colors-indigo-p3-5: var(--colors-indigo-dark-p3-5);--colors-indigo-p3-6: var(--colors-indigo-dark-p3-6);--colors-indigo-p3-7: var(--colors-indigo-dark-p3-7);--colors-indigo-p3-8: var(--colors-indigo-dark-p3-8);--colors-indigo-p3-9: var(--colors-indigo-dark-p3-9);--colors-indigo-p3-10: var(--colors-indigo-dark-p3-10);--colors-indigo-p3-11: var(--colors-indigo-dark-p3-11);--colors-indigo-p3-12: var(--colors-indigo-dark-p3-12);--colors-indigo-p3-a-1: var(--colors-indigo-dark-p3-a-1);--colors-indigo-p3-a-2: var(--colors-indigo-dark-p3-a-2);--colors-indigo-p3-a-3: var(--colors-indigo-dark-p3-a-3);--colors-indigo-p3-a-4: var(--colors-indigo-dark-p3-a-4);--colors-indigo-p3-a-5: var(--colors-indigo-dark-p3-a-5);--colors-indigo-p3-a-6: var(--colors-indigo-dark-p3-a-6);--colors-indigo-p3-a-7: var(--colors-indigo-dark-p3-a-7);--colors-indigo-p3-a-8: var(--colors-indigo-dark-p3-a-8);--colors-indigo-p3-a-9: var(--colors-indigo-dark-p3-a-9);--colors-indigo-p3-a-10: var(--colors-indigo-dark-p3-a-10);--colors-indigo-p3-a-11: var(--colors-indigo-dark-p3-a-11);--colors-indigo-p3-a-12: var(--colors-indigo-dark-p3-a-12);--colors-lime-1: var(--colors-lime-dark-1);--colors-lime-2: var(--colors-lime-dark-2);--colors-lime-3: var(--colors-lime-dark-3);--colors-lime-4: var(--colors-lime-dark-4);--colors-lime-5: var(--colors-lime-dark-5);--colors-lime-6: var(--colors-lime-dark-6);--colors-lime-7: var(--colors-lime-dark-7);--colors-lime-8: var(--colors-lime-dark-8);--colors-lime-9: var(--colors-lime-dark-9);--colors-lime-10: var(--colors-lime-dark-10);--colors-lime-11: var(--colors-lime-dark-11);--colors-lime-12: var(--colors-lime-dark-12);--colors-lime-a-1: var(--colors-lime-dark-a-1);--colors-lime-a-2: var(--colors-lime-dark-a-2);--colors-lime-a-3: var(--colors-lime-dark-a-3);--colors-lime-a-4: var(--colors-lime-dark-a-4);--colors-lime-a-5: var(--colors-lime-dark-a-5);--colors-lime-a-6: var(--colors-lime-dark-a-6);--colors-lime-a-7: var(--colors-lime-dark-a-7);--colors-lime-a-8: var(--colors-lime-dark-a-8);--colors-lime-a-9: var(--colors-lime-dark-a-9);--colors-lime-a-10: var(--colors-lime-dark-a-10);--colors-lime-a-11: var(--colors-lime-dark-a-11);--colors-lime-a-12: var(--colors-lime-dark-a-12);--colors-lime-p3-1: var(--colors-lime-dark-p3-1);--colors-lime-p3-2: var(--colors-lime-dark-p3-2);--colors-lime-p3-3: var(--colors-lime-dark-p3-3);--colors-lime-p3-4: var(--colors-lime-dark-p3-4);--colors-lime-p3-5: var(--colors-lime-dark-p3-5);--colors-lime-p3-6: var(--colors-lime-dark-p3-6);--colors-lime-p3-7: var(--colors-lime-dark-p3-7);--colors-lime-p3-8: var(--colors-lime-dark-p3-8);--colors-lime-p3-9: var(--colors-lime-dark-p3-9);--colors-lime-p3-10: var(--colors-lime-dark-p3-10);--colors-lime-p3-11: var(--colors-lime-dark-p3-11);--colors-lime-p3-12: var(--colors-lime-dark-p3-12);--colors-lime-p3-a-1: var(--colors-lime-dark-p3-a-1);--colors-lime-p3-a-2: var(--colors-lime-dark-p3-a-2);--colors-lime-p3-a-3: var(--colors-lime-dark-p3-a-3);--colors-lime-p3-a-4: var(--colors-lime-dark-p3-a-4);--colors-lime-p3-a-5: var(--colors-lime-dark-p3-a-5);--colors-lime-p3-a-6: var(--colors-lime-dark-p3-a-6);--colors-lime-p3-a-7: var(--colors-lime-dark-p3-a-7);--colors-lime-p3-a-8: var(--colors-lime-dark-p3-a-8);--colors-lime-p3-a-9: var(--colors-lime-dark-p3-a-9);--colors-lime-p3-a-10: var(--colors-lime-dark-p3-a-10);--colors-lime-p3-a-11: var(--colors-lime-dark-p3-a-11);--colors-lime-p3-a-12: var(--colors-lime-dark-p3-a-12);--colors-orange-1: var(--colors-orange-dark-1);--colors-orange-2: var(--colors-orange-dark-2);--colors-orange-3: var(--colors-orange-dark-3);--colors-orange-4: var(--colors-orange-dark-4);--colors-orange-5: var(--colors-orange-dark-5);--colors-orange-6: var(--colors-orange-dark-6);--colors-orange-7: var(--colors-orange-dark-7);--colors-orange-8: var(--colors-orange-dark-8);--colors-orange-9: var(--colors-orange-dark-9);--colors-orange-10: var(--colors-orange-dark-10);--colors-orange-11: var(--colors-orange-dark-11);--colors-orange-12: var(--colors-orange-dark-12);--colors-orange-a-1: var(--colors-orange-dark-a-1);--colors-orange-a-2: var(--colors-orange-dark-a-2);--colors-orange-a-3: var(--colors-orange-dark-a-3);--colors-orange-a-4: var(--colors-orange-dark-a-4);--colors-orange-a-5: var(--colors-orange-dark-a-5);--colors-orange-a-6: var(--colors-orange-dark-a-6);--colors-orange-a-7: var(--colors-orange-dark-a-7);--colors-orange-a-8: var(--colors-orange-dark-a-8);--colors-orange-a-9: var(--colors-orange-dark-a-9);--colors-orange-a-10: var(--colors-orange-dark-a-10);--colors-orange-a-11: var(--colors-orange-dark-a-11);--colors-orange-a-12: var(--colors-orange-dark-a-12);--colors-orange-p3-1: var(--colors-orange-dark-p3-1);--colors-orange-p3-2: var(--colors-orange-dark-p3-2);--colors-orange-p3-3: var(--colors-orange-dark-p3-3);--colors-orange-p3-4: var(--colors-orange-dark-p3-4);--colors-orange-p3-5: var(--colors-orange-dark-p3-5);--colors-orange-p3-6: var(--colors-orange-dark-p3-6);--colors-orange-p3-7: var(--colors-orange-dark-p3-7);--colors-orange-p3-8: var(--colors-orange-dark-p3-8);--colors-orange-p3-9: var(--colors-orange-dark-p3-9);--colors-orange-p3-10: var(--colors-orange-dark-p3-10);--colors-orange-p3-11: var(--colors-orange-dark-p3-11);--colors-orange-p3-12: var(--colors-orange-dark-p3-12);--colors-orange-p3-a-1: var(--colors-orange-dark-p3-a-1);--colors-orange-p3-a-2: var(--colors-orange-dark-p3-a-2);--colors-orange-p3-a-3: var(--colors-orange-dark-p3-a-3);--colors-orange-p3-a-4: var(--colors-orange-dark-p3-a-4);--colors-orange-p3-a-5: var(--colors-orange-dark-p3-a-5);--colors-orange-p3-a-6: var(--colors-orange-dark-p3-a-6);--colors-orange-p3-a-7: var(--colors-orange-dark-p3-a-7);--colors-orange-p3-a-8: var(--colors-orange-dark-p3-a-8);--colors-orange-p3-a-9: var(--colors-orange-dark-p3-a-9);--colors-orange-p3-a-10: var(--colors-orange-dark-p3-a-10);--colors-orange-p3-a-11: var(--colors-orange-dark-p3-a-11);--colors-orange-p3-a-12: var(--colors-orange-dark-p3-a-12);--colors-pink-1: var(--colors-pink-dark-1);--colors-pink-2: var(--colors-pink-dark-2);--colors-pink-3: var(--colors-pink-dark-3);--colors-pink-4: var(--colors-pink-dark-4);--colors-pink-5: var(--colors-pink-dark-5);--colors-pink-6: var(--colors-pink-dark-6);--colors-pink-7: var(--colors-pink-dark-7);--colors-pink-8: var(--colors-pink-dark-8);--colors-pink-9: var(--colors-pink-dark-9);--colors-pink-10: var(--colors-pink-dark-10);--colors-pink-11: var(--colors-pink-dark-11);--colors-pink-12: var(--colors-pink-dark-12);--colors-pink-a-1: var(--colors-pink-dark-a-1);--colors-pink-a-2: var(--colors-pink-dark-a-2);--colors-pink-a-3: var(--colors-pink-dark-a-3);--colors-pink-a-4: var(--colors-pink-dark-a-4);--colors-pink-a-5: var(--colors-pink-dark-a-5);--colors-pink-a-6: var(--colors-pink-dark-a-6);--colors-pink-a-7: var(--colors-pink-dark-a-7);--colors-pink-a-8: var(--colors-pink-dark-a-8);--colors-pink-a-9: var(--colors-pink-dark-a-9);--colors-pink-a-10: var(--colors-pink-dark-a-10);--colors-pink-a-11: var(--colors-pink-dark-a-11);--colors-pink-a-12: var(--colors-pink-dark-a-12);--colors-pink-p3-1: var(--colors-pink-dark-p3-1);--colors-pink-p3-2: var(--colors-pink-dark-p3-2);--colors-pink-p3-3: var(--colors-pink-dark-p3-3);--colors-pink-p3-4: var(--colors-pink-dark-p3-4);--colors-pink-p3-5: var(--colors-pink-dark-p3-5);--colors-pink-p3-6: var(--colors-pink-dark-p3-6);--colors-pink-p3-7: var(--colors-pink-dark-p3-7);--colors-pink-p3-8: var(--colors-pink-dark-p3-8);--colors-pink-p3-9: var(--colors-pink-dark-p3-9);--colors-pink-p3-10: var(--colors-pink-dark-p3-10);--colors-pink-p3-11: var(--colors-pink-dark-p3-11);--colors-pink-p3-12: var(--colors-pink-dark-p3-12);--colors-pink-p3-a-1: var(--colors-pink-dark-p3-a-1);--colors-pink-p3-a-2: var(--colors-pink-dark-p3-a-2);--colors-pink-p3-a-3: var(--colors-pink-dark-p3-a-3);--colors-pink-p3-a-4: var(--colors-pink-dark-p3-a-4);--colors-pink-p3-a-5: var(--colors-pink-dark-p3-a-5);--colors-pink-p3-a-6: var(--colors-pink-dark-p3-a-6);--colors-pink-p3-a-7: var(--colors-pink-dark-p3-a-7);--colors-pink-p3-a-8: var(--colors-pink-dark-p3-a-8);--colors-pink-p3-a-9: var(--colors-pink-dark-p3-a-9);--colors-pink-p3-a-10: var(--colors-pink-dark-p3-a-10);--colors-pink-p3-a-11: var(--colors-pink-dark-p3-a-11);--colors-pink-p3-a-12: var(--colors-pink-dark-p3-a-12);--colors-purple-1: var(--colors-purple-dark-1);--colors-purple-2: var(--colors-purple-dark-2);--colors-purple-3: var(--colors-purple-dark-3);--colors-purple-4: var(--colors-purple-dark-4);--colors-purple-5: var(--colors-purple-dark-5);--colors-purple-6: var(--colors-purple-dark-6);--colors-purple-7: var(--colors-purple-dark-7);--colors-purple-8: var(--colors-purple-dark-8);--colors-purple-9: var(--colors-purple-dark-9);--colors-purple-10: var(--colors-purple-dark-10);--colors-purple-11: var(--colors-purple-dark-11);--colors-purple-12: var(--colors-purple-dark-12);--colors-purple-a-1: var(--colors-purple-dark-a-1);--colors-purple-a-2: var(--colors-purple-dark-a-2);--colors-purple-a-3: var(--colors-purple-dark-a-3);--colors-purple-a-4: var(--colors-purple-dark-a-4);--colors-purple-a-5: var(--colors-purple-dark-a-5);--colors-purple-a-6: var(--colors-purple-dark-a-6);--colors-purple-a-7: var(--colors-purple-dark-a-7);--colors-purple-a-8: var(--colors-purple-dark-a-8);--colors-purple-a-9: var(--colors-purple-dark-a-9);--colors-purple-a-10: var(--colors-purple-dark-a-10);--colors-purple-a-11: var(--colors-purple-dark-a-11);--colors-purple-a-12: var(--colors-purple-dark-a-12);--colors-purple-p3-1: var(--colors-purple-dark-p3-1);--colors-purple-p3-2: var(--colors-purple-dark-p3-2);--colors-purple-p3-3: var(--colors-purple-dark-p3-3);--colors-purple-p3-4: var(--colors-purple-dark-p3-4);--colors-purple-p3-5: var(--colors-purple-dark-p3-5);--colors-purple-p3-6: var(--colors-purple-dark-p3-6);--colors-purple-p3-7: var(--colors-purple-dark-p3-7);--colors-purple-p3-8: var(--colors-purple-dark-p3-8);--colors-purple-p3-9: var(--colors-purple-dark-p3-9);--colors-purple-p3-10: var(--colors-purple-dark-p3-10);--colors-purple-p3-11: var(--colors-purple-dark-p3-11);--colors-purple-p3-12: var(--colors-purple-dark-p3-12);--colors-purple-p3-a-1: var(--colors-purple-dark-p3-a-1);--colors-purple-p3-a-2: var(--colors-purple-dark-p3-a-2);--colors-purple-p3-a-3: var(--colors-purple-dark-p3-a-3);--colors-purple-p3-a-4: var(--colors-purple-dark-p3-a-4);--colors-purple-p3-a-5: var(--colors-purple-dark-p3-a-5);--colors-purple-p3-a-6: var(--colors-purple-dark-p3-a-6);--colors-purple-p3-a-7: var(--colors-purple-dark-p3-a-7);--colors-purple-p3-a-8: var(--colors-purple-dark-p3-a-8);--colors-purple-p3-a-9: var(--colors-purple-dark-p3-a-9);--colors-purple-p3-a-10: var(--colors-purple-dark-p3-a-10);--colors-purple-p3-a-11: var(--colors-purple-dark-p3-a-11);--colors-purple-p3-a-12: var(--colors-purple-dark-p3-a-12);--colors-red-1: var(--colors-red-dark-1);--colors-red-2: var(--colors-red-dark-2);--colors-red-3: var(--colors-red-dark-3);--colors-red-4: var(--colors-red-dark-4);--colors-red-5: var(--colors-red-dark-5);--colors-red-6: var(--colors-red-dark-6);--colors-red-7: var(--colors-red-dark-7);--colors-red-8: var(--colors-red-dark-8);--colors-red-9: var(--colors-red-dark-9);--colors-red-10: var(--colors-red-dark-10);--colors-red-11: var(--colors-red-dark-11);--colors-red-12: var(--colors-red-dark-12);--colors-red-a-1: var(--colors-red-dark-a-1);--colors-red-a-2: var(--colors-red-dark-a-2);--colors-red-a-3: var(--colors-red-dark-a-3);--colors-red-a-4: var(--colors-red-dark-a-4);--colors-red-a-5: var(--colors-red-dark-a-5);--colors-red-a-6: var(--colors-red-dark-a-6);--colors-red-a-7: var(--colors-red-dark-a-7);--colors-red-a-8: var(--colors-red-dark-a-8);--colors-red-a-9: var(--colors-red-dark-a-9);--colors-red-a-10: var(--colors-red-dark-a-10);--colors-red-a-11: var(--colors-red-dark-a-11);--colors-red-a-12: var(--colors-red-dark-a-12);--colors-red-p3-1: var(--colors-red-dark-p3-1);--colors-red-p3-2: var(--colors-red-dark-p3-2);--colors-red-p3-3: var(--colors-red-dark-p3-3);--colors-red-p3-4: var(--colors-red-dark-p3-4);--colors-red-p3-5: var(--colors-red-dark-p3-5);--colors-red-p3-6: var(--colors-red-dark-p3-6);--colors-red-p3-7: var(--colors-red-dark-p3-7);--colors-red-p3-8: var(--colors-red-dark-p3-8);--colors-red-p3-9: var(--colors-red-dark-p3-9);--colors-red-p3-10: var(--colors-red-dark-p3-10);--colors-red-p3-11: var(--colors-red-dark-p3-11);--colors-red-p3-12: var(--colors-red-dark-p3-12);--colors-red-p3-a-1: var(--colors-red-dark-p3-a-1);--colors-red-p3-a-2: var(--colors-red-dark-p3-a-2);--colors-red-p3-a-3: var(--colors-red-dark-p3-a-3);--colors-red-p3-a-4: var(--colors-red-dark-p3-a-4);--colors-red-p3-a-5: var(--colors-red-dark-p3-a-5);--colors-red-p3-a-6: var(--colors-red-dark-p3-a-6);--colors-red-p3-a-7: var(--colors-red-dark-p3-a-7);--colors-red-p3-a-8: var(--colors-red-dark-p3-a-8);--colors-red-p3-a-9: var(--colors-red-dark-p3-a-9);--colors-red-p3-a-10: var(--colors-red-dark-p3-a-10);--colors-red-p3-a-11: var(--colors-red-dark-p3-a-11);--colors-red-p3-a-12: var(--colors-red-dark-p3-a-12);--colors-ruby-1: var(--colors-ruby-dark-1);--colors-ruby-2: var(--colors-ruby-dark-2);--colors-ruby-3: var(--colors-ruby-dark-3);--colors-ruby-4: var(--colors-ruby-dark-4);--colors-ruby-5: var(--colors-ruby-dark-5);--colors-ruby-6: var(--colors-ruby-dark-6);--colors-ruby-7: var(--colors-ruby-dark-7);--colors-ruby-8: var(--colors-ruby-dark-8);--colors-ruby-9: var(--colors-ruby-dark-9);--colors-ruby-10: var(--colors-ruby-dark-10);--colors-ruby-11: var(--colors-ruby-dark-11);--colors-ruby-12: var(--colors-ruby-dark-12);--colors-ruby-a-1: var(--colors-ruby-dark-a-1);--colors-ruby-a-2: var(--colors-ruby-dark-a-2);--colors-ruby-a-3: var(--colors-ruby-dark-a-3);--colors-ruby-a-4: var(--colors-ruby-dark-a-4);--colors-ruby-a-5: var(--colors-ruby-dark-a-5);--colors-ruby-a-6: var(--colors-ruby-dark-a-6);--colors-ruby-a-7: var(--colors-ruby-dark-a-7);--colors-ruby-a-8: var(--colors-ruby-dark-a-8);--colors-ruby-a-9: var(--colors-ruby-dark-a-9);--colors-ruby-a-10: var(--colors-ruby-dark-a-10);--colors-ruby-a-11: var(--colors-ruby-dark-a-11);--colors-ruby-a-12: var(--colors-ruby-dark-a-12);--colors-ruby-p3-1: var(--colors-ruby-dark-p3-1);--colors-ruby-p3-2: var(--colors-ruby-dark-p3-2);--colors-ruby-p3-3: var(--colors-ruby-dark-p3-3);--colors-ruby-p3-4: var(--colors-ruby-dark-p3-4);--colors-ruby-p3-5: var(--colors-ruby-dark-p3-5);--colors-ruby-p3-6: var(--colors-ruby-dark-p3-6);--colors-ruby-p3-7: var(--colors-ruby-dark-p3-7);--colors-ruby-p3-8: var(--colors-ruby-dark-p3-8);--colors-ruby-p3-9: var(--colors-ruby-dark-p3-9);--colors-ruby-p3-10: var(--colors-ruby-dark-p3-10);--colors-ruby-p3-11: var(--colors-ruby-dark-p3-11);--colors-ruby-p3-12: var(--colors-ruby-dark-p3-12);--colors-ruby-p3-a-1: var(--colors-ruby-dark-p3-a-1);--colors-ruby-p3-a-2: var(--colors-ruby-dark-p3-a-2);--colors-ruby-p3-a-3: var(--colors-ruby-dark-p3-a-3);--colors-ruby-p3-a-4: var(--colors-ruby-dark-p3-a-4);--colors-ruby-p3-a-5: var(--colors-ruby-dark-p3-a-5);--colors-ruby-p3-a-6: var(--colors-ruby-dark-p3-a-6);--colors-ruby-p3-a-7: var(--colors-ruby-dark-p3-a-7);--colors-ruby-p3-a-8: var(--colors-ruby-dark-p3-a-8);--colors-ruby-p3-a-9: var(--colors-ruby-dark-p3-a-9);--colors-ruby-p3-a-10: var(--colors-ruby-dark-p3-a-10);--colors-ruby-p3-a-11: var(--colors-ruby-dark-p3-a-11);--colors-ruby-p3-a-12: var(--colors-ruby-dark-p3-a-12);--colors-teal-1: var(--colors-teal-dark-1);--colors-teal-2: var(--colors-teal-dark-2);--colors-teal-3: var(--colors-teal-dark-3);--colors-teal-4: var(--colors-teal-dark-4);--colors-teal-5: var(--colors-teal-dark-5);--colors-teal-6: var(--colors-teal-dark-6);--colors-teal-7: var(--colors-teal-dark-7);--colors-teal-8: var(--colors-teal-dark-8);--colors-teal-9: var(--colors-teal-dark-9);--colors-teal-10: var(--colors-teal-dark-10);--colors-teal-11: var(--colors-teal-dark-11);--colors-teal-12: var(--colors-teal-dark-12);--colors-teal-a-1: var(--colors-teal-dark-a-1);--colors-teal-a-2: var(--colors-teal-dark-a-2);--colors-teal-a-3: var(--colors-teal-dark-a-3);--colors-teal-a-4: var(--colors-teal-dark-a-4);--colors-teal-a-5: var(--colors-teal-dark-a-5);--colors-teal-a-6: var(--colors-teal-dark-a-6);--colors-teal-a-7: var(--colors-teal-dark-a-7);--colors-teal-a-8: var(--colors-teal-dark-a-8);--colors-teal-a-9: var(--colors-teal-dark-a-9);--colors-teal-a-10: var(--colors-teal-dark-a-10);--colors-teal-a-11: var(--colors-teal-dark-a-11);--colors-teal-a-12: var(--colors-teal-dark-a-12);--colors-teal-p3-1: var(--colors-teal-dark-p3-1);--colors-teal-p3-2: var(--colors-teal-dark-p3-2);--colors-teal-p3-3: var(--colors-teal-dark-p3-3);--colors-teal-p3-4: var(--colors-teal-dark-p3-4);--colors-teal-p3-5: var(--colors-teal-dark-p3-5);--colors-teal-p3-6: var(--colors-teal-dark-p3-6);--colors-teal-p3-7: var(--colors-teal-dark-p3-7);--colors-teal-p3-8: var(--colors-teal-dark-p3-8);--colors-teal-p3-9: var(--colors-teal-dark-p3-9);--colors-teal-p3-10: var(--colors-teal-dark-p3-10);--colors-teal-p3-11: var(--colors-teal-dark-p3-11);--colors-teal-p3-12: var(--colors-teal-dark-p3-12);--colors-teal-p3-a-1: var(--colors-teal-dark-p3-a-1);--colors-teal-p3-a-2: var(--colors-teal-dark-p3-a-2);--colors-teal-p3-a-3: var(--colors-teal-dark-p3-a-3);--colors-teal-p3-a-4: var(--colors-teal-dark-p3-a-4);--colors-teal-p3-a-5: var(--colors-teal-dark-p3-a-5);--colors-teal-p3-a-6: var(--colors-teal-dark-p3-a-6);--colors-teal-p3-a-7: var(--colors-teal-dark-p3-a-7);--colors-teal-p3-a-8: var(--colors-teal-dark-p3-a-8);--colors-teal-p3-a-9: var(--colors-teal-dark-p3-a-9);--colors-teal-p3-a-10: var(--colors-teal-dark-p3-a-10);--colors-teal-p3-a-11: var(--colors-teal-dark-p3-a-11);--colors-teal-p3-a-12: var(--colors-teal-dark-p3-a-12);--colors-tomato-1: var(--colors-tomato-dark-1);--colors-tomato-2: var(--colors-tomato-dark-2);--colors-tomato-3: var(--colors-tomato-dark-3);--colors-tomato-4: var(--colors-tomato-dark-4);--colors-tomato-5: var(--colors-tomato-dark-5);--colors-tomato-6: var(--colors-tomato-dark-6);--colors-tomato-7: var(--colors-tomato-dark-7);--colors-tomato-8: var(--colors-tomato-dark-8);--colors-tomato-9: var(--colors-tomato-dark-9);--colors-tomato-10: var(--colors-tomato-dark-10);--colors-tomato-11: var(--colors-tomato-dark-11);--colors-tomato-12: var(--colors-tomato-dark-12);--colors-tomato-a-1: var(--colors-tomato-dark-a-1);--colors-tomato-a-2: var(--colors-tomato-dark-a-2);--colors-tomato-a-3: var(--colors-tomato-dark-a-3);--colors-tomato-a-4: var(--colors-tomato-dark-a-4);--colors-tomato-a-5: var(--colors-tomato-dark-a-5);--colors-tomato-a-6: var(--colors-tomato-dark-a-6);--colors-tomato-a-7: var(--colors-tomato-dark-a-7);--colors-tomato-a-8: var(--colors-tomato-dark-a-8);--colors-tomato-a-9: var(--colors-tomato-dark-a-9);--colors-tomato-a-10: var(--colors-tomato-dark-a-10);--colors-tomato-a-11: var(--colors-tomato-dark-a-11);--colors-tomato-a-12: var(--colors-tomato-dark-a-12);--colors-tomato-p3-1: var(--colors-tomato-dark-p3-1);--colors-tomato-p3-2: var(--colors-tomato-dark-p3-2);--colors-tomato-p3-3: var(--colors-tomato-dark-p3-3);--colors-tomato-p3-4: var(--colors-tomato-dark-p3-4);--colors-tomato-p3-5: var(--colors-tomato-dark-p3-5);--colors-tomato-p3-6: var(--colors-tomato-dark-p3-6);--colors-tomato-p3-7: var(--colors-tomato-dark-p3-7);--colors-tomato-p3-8: var(--colors-tomato-dark-p3-8);--colors-tomato-p3-9: var(--colors-tomato-dark-p3-9);--colors-tomato-p3-10: var(--colors-tomato-dark-p3-10);--colors-tomato-p3-11: var(--colors-tomato-dark-p3-11);--colors-tomato-p3-12: var(--colors-tomato-dark-p3-12);--colors-tomato-p3-a-1: var(--colors-tomato-dark-p3-a-1);--colors-tomato-p3-a-2: var(--colors-tomato-dark-p3-a-2);--colors-tomato-p3-a-3: var(--colors-tomato-dark-p3-a-3);--colors-tomato-p3-a-4: var(--colors-tomato-dark-p3-a-4);--colors-tomato-p3-a-5: var(--colors-tomato-dark-p3-a-5);--colors-tomato-p3-a-6: var(--colors-tomato-dark-p3-a-6);--colors-tomato-p3-a-7: var(--colors-tomato-dark-p3-a-7);--colors-tomato-p3-a-8: var(--colors-tomato-dark-p3-a-8);--colors-tomato-p3-a-9: var(--colors-tomato-dark-p3-a-9);--colors-tomato-p3-a-10: var(--colors-tomato-dark-p3-a-10);--colors-tomato-p3-a-11: var(--colors-tomato-dark-p3-a-11);--colors-tomato-p3-a-12: var(--colors-tomato-dark-p3-a-12);--colors-violet-1: var(--colors-violet-dark-1);--colors-violet-2: var(--colors-violet-dark-2);--colors-violet-3: var(--colors-violet-dark-3);--colors-violet-4: var(--colors-violet-dark-4);--colors-violet-5: var(--colors-violet-dark-5);--colors-violet-6: var(--colors-violet-dark-6);--colors-violet-7: var(--colors-violet-dark-7);--colors-violet-8: var(--colors-violet-dark-8);--colors-violet-9: var(--colors-violet-dark-9);--colors-violet-10: var(--colors-violet-dark-10);--colors-violet-11: var(--colors-violet-dark-11);--colors-violet-12: var(--colors-violet-dark-12);--colors-violet-a-1: var(--colors-violet-dark-a-1);--colors-violet-a-2: var(--colors-violet-dark-a-2);--colors-violet-a-3: var(--colors-violet-dark-a-3);--colors-violet-a-4: var(--colors-violet-dark-a-4);--colors-violet-a-5: var(--colors-violet-dark-a-5);--colors-violet-a-6: var(--colors-violet-dark-a-6);--colors-violet-a-7: var(--colors-violet-dark-a-7);--colors-violet-a-8: var(--colors-violet-dark-a-8);--colors-violet-a-9: var(--colors-violet-dark-a-9);--colors-violet-a-10: var(--colors-violet-dark-a-10);--colors-violet-a-11: var(--colors-violet-dark-a-11);--colors-violet-a-12: var(--colors-violet-dark-a-12);--colors-violet-p3-1: var(--colors-violet-dark-p3-1);--colors-violet-p3-2: var(--colors-violet-dark-p3-2);--colors-violet-p3-3: var(--colors-violet-dark-p3-3);--colors-violet-p3-4: var(--colors-violet-dark-p3-4);--colors-violet-p3-5: var(--colors-violet-dark-p3-5);--colors-violet-p3-6: var(--colors-violet-dark-p3-6);--colors-violet-p3-7: var(--colors-violet-dark-p3-7);--colors-violet-p3-8: var(--colors-violet-dark-p3-8);--colors-violet-p3-9: var(--colors-violet-dark-p3-9);--colors-violet-p3-10: var(--colors-violet-dark-p3-10);--colors-violet-p3-11: var(--colors-violet-dark-p3-11);--colors-violet-p3-12: var(--colors-violet-dark-p3-12);--colors-violet-p3-a-1: var(--colors-violet-dark-p3-a-1);--colors-violet-p3-a-2: var(--colors-violet-dark-p3-a-2);--colors-violet-p3-a-3: var(--colors-violet-dark-p3-a-3);--colors-violet-p3-a-4: var(--colors-violet-dark-p3-a-4);--colors-violet-p3-a-5: var(--colors-violet-dark-p3-a-5);--colors-violet-p3-a-6: var(--colors-violet-dark-p3-a-6);--colors-violet-p3-a-7: var(--colors-violet-dark-p3-a-7);--colors-violet-p3-a-8: var(--colors-violet-dark-p3-a-8);--colors-violet-p3-a-9: var(--colors-violet-dark-p3-a-9);--colors-violet-p3-a-10: var(--colors-violet-dark-p3-a-10);--colors-violet-p3-a-11: var(--colors-violet-dark-p3-a-11);--colors-violet-p3-a-12: var(--colors-violet-dark-p3-a-12);--colors-yellow-1: var(--colors-yellow-dark-1);--colors-yellow-2: var(--colors-yellow-dark-2);--colors-yellow-3: var(--colors-yellow-dark-3);--colors-yellow-4: var(--colors-yellow-dark-4);--colors-yellow-5: var(--colors-yellow-dark-5);--colors-yellow-6: var(--colors-yellow-dark-6);--colors-yellow-7: var(--colors-yellow-dark-7);--colors-yellow-8: var(--colors-yellow-dark-8);--colors-yellow-9: var(--colors-yellow-dark-9);--colors-yellow-10: var(--colors-yellow-dark-10);--colors-yellow-11: var(--colors-yellow-dark-11);--colors-yellow-12: var(--colors-yellow-dark-12);--colors-yellow-a-1: var(--colors-yellow-dark-a-1);--colors-yellow-a-2: var(--colors-yellow-dark-a-2);--colors-yellow-a-3: var(--colors-yellow-dark-a-3);--colors-yellow-a-4: var(--colors-yellow-dark-a-4);--colors-yellow-a-5: var(--colors-yellow-dark-a-5);--colors-yellow-a-6: var(--colors-yellow-dark-a-6);--colors-yellow-a-7: var(--colors-yellow-dark-a-7);--colors-yellow-a-8: var(--colors-yellow-dark-a-8);--colors-yellow-a-9: var(--colors-yellow-dark-a-9);--colors-yellow-a-10: var(--colors-yellow-dark-a-10);--colors-yellow-a-11: var(--colors-yellow-dark-a-11);--colors-yellow-a-12: var(--colors-yellow-dark-a-12);--colors-yellow-p3-1: var(--colors-yellow-dark-p3-1);--colors-yellow-p3-2: var(--colors-yellow-dark-p3-2);--colors-yellow-p3-3: var(--colors-yellow-dark-p3-3);--colors-yellow-p3-4: var(--colors-yellow-dark-p3-4);--colors-yellow-p3-5: var(--colors-yellow-dark-p3-5);--colors-yellow-p3-6: var(--colors-yellow-dark-p3-6);--colors-yellow-p3-7: var(--colors-yellow-dark-p3-7);--colors-yellow-p3-8: var(--colors-yellow-dark-p3-8);--colors-yellow-p3-9: var(--colors-yellow-dark-p3-9);--colors-yellow-p3-10: var(--colors-yellow-dark-p3-10);--colors-yellow-p3-11: var(--colors-yellow-dark-p3-11);--colors-yellow-p3-12: var(--colors-yellow-dark-p3-12);--colors-yellow-p3-a-1: var(--colors-yellow-dark-p3-a-1);--colors-yellow-p3-a-2: var(--colors-yellow-dark-p3-a-2);--colors-yellow-p3-a-3: var(--colors-yellow-dark-p3-a-3);--colors-yellow-p3-a-4: var(--colors-yellow-dark-p3-a-4);--colors-yellow-p3-a-5: var(--colors-yellow-dark-p3-a-5);--colors-yellow-p3-a-6: var(--colors-yellow-dark-p3-a-6);--colors-yellow-p3-a-7: var(--colors-yellow-dark-p3-a-7);--colors-yellow-p3-a-8: var(--colors-yellow-dark-p3-a-8);--colors-yellow-p3-a-9: var(--colors-yellow-dark-p3-a-9);--colors-yellow-p3-a-10: var(--colors-yellow-dark-p3-a-10);--colors-yellow-p3-a-11: var(--colors-yellow-dark-p3-a-11);--colors-yellow-p3-a-12: var(--colors-yellow-dark-p3-a-12);--colors-likec4-background-pattern: color-mix(in srgb, var(--colors-mantine-colors-dark\\[4\\]) 70%, transparent);--colors-likec4-mix-color: white;--colors-likec4-panel-bg: var(--colors-mantine-colors-dark\\[6\\]);--colors-likec4-panel-action-icon-bg: color-mix(in srgb, var(--colors-mantine-colors-dark\\[7\\]) 70%, transparent);--colors-likec4-panel-action-icon-bg-hover: var(--colors-mantine-colors-dark\\[8\\]);--colors-likec4-dropdown-bg: var(--colors-mantine-colors-dark\\[6\\]) }[data-mantine-color-scheme=light]{--colors-likec4-background-pattern: var(--colors-mantine-colors-gray\\[4\\]);--colors-likec4-mix-color: black;--colors-likec4-panel-border: color-mix(in srgb, var(--colors-mantine-colors-default-border) 30%, transparent);--colors-likec4-overlay-backdrop: rgb(15 15 15) }@keyframes indicatorOpacity{0%{opacity:.9;stroke-opacity:.8}to{opacity:.6;stroke-opacity:.4}}@keyframes xyedgeAnimated{0%{stroke-dashoffset:36}to{stroke-dashoffset:0}}}@layer recipes{@layer _base{.likec4-overlay{--_blur: 0px;--_level: 0;--_offset: 0px;--_inset: calc((1 + var(--_level) * .75) * var(--_offset));--_opacity: 0%;--_border-radius: 0px;margin:var(--spacing-0);background:var(--colors-likec4-overlay-border);border:var(--borders-transparent);inset:var(--spacing-0);padding:var(--spacing-0);outline:var(--borders-none);border-radius:var(--_border-radius);box-sizing:border-box;position:fixed;box-shadow:var(--shadows-xl);width:100vw;height:100vh;max-width:100vw;max-height:100vh}.likec4-overlay::backdrop{cursor:zoom-out}.likec4-overlay .likec4-overlay-body{border:var(--borders-transparent);background:var(--colors-likec4-overlay-body);overflow:hidden;position:relative;container-name:likec4-dialog;container-type:size;width:100%;height:100%}.likec4-markdown-block{--text-fz: 1rem;--text-fz-sm: calc(var(--text-fz) * var(--mantine-scale, 1) / 1.125);--text-fz-md: calc(var(--text-fz) * var(--mantine-scale, 1));--typography-spacing: calc(.75 * var(--text-fz-md));--text-fw-headings: 600;font-size:var(--text-fz-md);line-height:var(--mantine-line-height)}[data-mantine-color-scheme=light] .likec4-markdown-block{--code-background: var(--mantine-color-gray-2);--code-color: var(--mantine-color-black)}[data-mantine-color-scheme=dark] .likec4-markdown-block{--code-background: var(--mantine-color-dark-8);--code-color: var(--mantine-color-white)}.likec4-markdown-block :where(hr){border:var(--borders-none);border-bottom:1px solid;margin-top:calc(var(--typography-spacing) / 2);margin-bottom:calc(var(--typography-spacing) / 2)}[data-mantine-color-scheme=light] .likec4-markdown-block :where(hr){border-color:var(--colors-mantine-colors-gray\\[3\\])}[data-mantine-color-scheme=dark] .likec4-markdown-block :where(hr){border-color:var(--colors-mantine-colors-dark\\[3\\])}.likec4-markdown-block :where(pre){margin:var(--spacing-0);padding-inline:var(--spacing-3);padding-block:var(--spacing-2);border-radius:var(--radii-sm);line-height:var(--mantine-line-height-xs);font-family:var(--mantine-font-family-monospace);font-size:var(--text-fz-sm);background-color:var(--code-background);color:var(--code-color);margin-top:var(--typography-spacing);margin-bottom:var(--typography-spacing);overflow-x:auto}.likec4-markdown-block :where(code){padding:1px 4px;border-radius:var(--radii-xs);line-height:var(--line-heights-1);font-family:var(--mantine-font-family-monospace);font-size:var(--text-fz-sm);background-color:var(--code-background);color:var(--code-color)}.likec4-markdown-block :where(pre code){padding:var(--spacing-0);border:0;border-radius:var(--radii-0);background-color:var(--colors-transparent);color:inherit}.likec4-markdown-block :where(blockquote){margin:var(--spacing-0);padding:var(--spacing-xs);border-radius:var(--mantine-radius-sm);font-size:var(--text-fz-md)}[data-mantine-color-scheme=light] .likec4-markdown-block :where(blockquote){background-color:var(--mantine-color-gray-1)}[data-mantine-color-scheme=dark] .likec4-markdown-block :where(blockquote){background-color:var(--mantine-color-dark-5)}.likec4-markdown-block :where(blockquote):not(:first-child){margin-top:var(--typography-spacing)}.likec4-markdown-block :where(h1,h2,h3,h4,h5,h6){text-wrap:var(--mantine-heading-text-wrap);line-height:1.5;font-family:var(--mantine-font-family-headings);margin-bottom:var(--typography-spacing)}.likec4-markdown-block :where(a){text-decoration:none;font-size:var(--text-fz-md);color:var(--mantine-color-anchor);font-weight:500}.likec4-markdown-block :where(a):is(:hover,[data-hover]){text-decoration:underline}.likec4-markdown-block :is(h1){font-size:calc(1.476 * var(--text-fz-md));font-weight:var(--text-fw-headings)}.likec4-markdown-block :is(h2){font-size:calc(1.383 * var(--text-fz-md));font-weight:var(--text-fw-headings)}.likec4-markdown-block :is(h3){font-size:calc(1.296 * var(--text-fz-md));font-weight:var(--text-fw-headings)}.likec4-markdown-block :is(h4){font-size:calc(1.215 * var(--text-fz-md));font-weight:var(--text-fw-headings)}.likec4-markdown-block :is(h5){font-size:calc(1.138 * var(--text-fz-md));font-weight:var(--text-fw-headings)}.likec4-markdown-block :is(h6){font-size:calc(1.067 * var(--text-fz-md));font-weight:var(--text-fw-headings)}.likec4-markdown-block :where(p){font-size:var(--text-fz-md);margin-top:var(--spacing-0);margin-bottom:var(--typography-spacing)}.likec4-markdown-block :where(strong){font-weight:500}.likec4-markdown-block :where(mark){font-size:var(--text-fz-md)}[data-mantine-color-scheme=light] .likec4-markdown-block :where(mark){background-color:var(--colors-mantine-colors-yellow\\[2\\]);color:inherit}[data-mantine-color-scheme=dark] .likec4-markdown-block :where(mark){background-color:var(--colors-mantine-colors-yellow\\[5\\]);color:var(--mantine-color-black)}.likec4-markdown-block :where(ul,ol):not([data-type=taskList]){padding-inline-start:var(--typography-spacing);list-style-position:inside;margin-bottom:var(--typography-spacing)}.likec4-markdown-block :where(table){border-collapse:collapse;caption-side:bottom;width:100%;margin-bottom:var(--typography-spacing)}[data-mantine-color-scheme=light] .likec4-markdown-block :where(table){--table-border-color: var(--mantine-color-gray-3)}[data-mantine-color-scheme=dark] .likec4-markdown-block :where(table){--table-border-color: var(--mantine-color-dark-4)}.likec4-markdown-block :where(table) :where(th){padding:var(--typography-spacing);text-align:left;font-weight:700;font-size:var(--text-fz-sm)}.likec4-markdown-block :where(table) :where(td){padding:var(--typography-spacing);border-bottom:1px solid;border-color:var(--table-border-color);font-size:var(--text-fz-sm)}.likec4-markdown-block :where(table) :where(thead th){border-bottom:1px solid;border-color:var(--table-border-color)}.likec4-markdown-block :where(table) :where(tfoot th){border-top:1px solid;border-color:var(--table-border-color)}.likec4-markdown-block :where(table) :where(tr:last-of-type td){border-bottom:0}.likec4-markdown-block :where(table) :where(caption){font-size:var(--text-fz-sm);color:var(--mantine-color-dimmed);margin-top:calc(.5 * var(--typography-spacing) + 1px)}.likec4-markdown-block :first-child{margin-top:var(--spacing-0)}.likec4-markdown-block :last-child{margin-bottom:var(--spacing-0)}.likec4-markdown-block :is(h1,h2,h3,h4,h5,h6):not(:first-child){margin-top:var(--typography-spacing)}.likec4-markdown-block :where(img){max-width:100%;margin-bottom:var(--typography-spacing)}.likec4-navigation-panel-icon{color:var(--colors-likec4-panel-action-icon-text)}.likec4-navigation-panel-icon:is(:disabled,[disabled],[data-disabled],[aria-disabled=true]){color:var(--colors-likec4-panel-action-icon-text-disabled);opacity:.5}.likec4-navigation-panel-icon:not(:is(:disabled,[disabled],[data-disabled])):is(:hover,[data-hover]){color:var(--colors-likec4-panel-action-icon-text-hover)}.action-btn{--actionbtn-color: var(--likec4-palette-loContrast);--actionbtn-color-hovered: var(--likec4-palette-loContrast);--actionbtn-color-hovered-btn: var(--likec4-palette-hiContrast);--actionbtn-bg-idle: color-mix(in srgb , var(--likec4-palette-fill), transparent 99%);--actionbtn-bg-hovered: color-mix(in srgb , var(--likec4-palette-fill) 65%, var(--likec4-palette-stroke));--actionbtn-bg-hovered-btn: color-mix(in srgb , var(--likec4-palette-fill) 50%, var(--likec4-palette-stroke));--ai-bg: var(--actionbtn-bg-idle);background:var(--ai-bg);pointer-events:all;cursor:pointer;color:var(--actionbtn-color);opacity:.75}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .action-btn{--ai-bg: var(--actionbtn-bg-hovered);opacity:1;color:var(--actionbtn-color-hovered)}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .action-btn{display:none}:where([data-likec4-zoom-small=true]) .action-btn{display:none}.action-btn *{pointer-events:none}.action-btn:is(:hover,[data-hover]){--ai-bg: var(--actionbtn-bg-hovered-btn);opacity:1;color:var(--actionbtn-color-hovered-btn)}.likec4-compound-node{--_border-width: 3px;--_border-radius: 6px;--_compound-transparency: 100%;--_border-transparency: 100%;--_indicator-spacing: calc(var(--_border-width) + 2px);--_compound-color: var(--likec4-palette-loContrast);padding:var(--spacing-0);margin:var(--spacing-0);border-style:solid;border-width:var(--_border-width);border-radius:var(--_border-radius);position:relative;pointer-events:none;background-clip:padding-box;-webkit-background-clip:padding-box;box-sizing:border-box;color:var(--_compound-color);width:100%;height:100%}[data-mantine-color-scheme=light] .likec4-compound-node{--likec4-palette-outline: color-mix(in srgb, var(--likec4-palette-stroke) 80%, var(--likec4-palette-hiContrast))}[data-mantine-color-scheme=dark] .likec4-compound-node{--likec4-palette-outline: color-mix(in srgb, var(--likec4-palette-stroke) 60%, var(--likec4-palette-hiContrast))}.likec4-compound-node:after{border-style:solid;border-width:calc(var(--_border-width) + 1px);border-radius:calc(var(--_border-radius) + 4px);border-color:var(--likec4-palette-outline);position:absolute;content:" ";pointer-events:none;display:none;animation-play-state:paused;top:calc(-1 * var(--_indicator-spacing));left:calc(-1 * var(--_indicator-spacing));width:calc(100% + 2 * var(--_indicator-spacing));height:calc(100% + 2 * var(--_indicator-spacing))}:where(.react-flow__node,.react-flow__edge):is(:focus-visible,:focus,:focus-within) .likec4-compound-node:after{display:block;animation-play-state:running}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-compound-node:after{display:block;animation-play-state:running}.likec4-root:is([data-likec4-diagram-panning=true]) .likec4-compound-node:after{animation-play-state:paused}.likec4-compound-node:has(.likec4-compound-navigation) .likec4-compound-title-container{padding-left:24px}.likec4-compound-node .action-btn{--actionbtn-color: var(--_compound-color);--actionbtn-color-hovered: var(--_compound-color);--actionbtn-color-hovered-btn: color-mix(in srgb, var(--_compound-color) 80%, #fff);opacity:.6}.likec4-root:not([data-likec4-reduced-graphics]) .likec4-compound-node .action-btn{transition:all var(--durations-fast) var(--easings-in-out)}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-compound-node .action-btn{opacity:.75}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-compound-node .action-btn{opacity:.75}.likec4-compound-node .action-btn:is(:hover,[data-hover]){opacity:1}.likec4-compound-node .likec4-compound-title-container{gap:var(--spacing-1\\.5);position:absolute;display:flex;align-items:center;left:var(--spacing-2\\.5);top:var(--spacing-0\\.5);right:30px;width:auto;min-height:30px}:where(.react-flow__node.draggable) .likec4-compound-node .likec4-compound-title-container{pointer-events:all;cursor:grab}.likec4-compound-node .likec4-compound-title{flex:1 1 0%;font-family:var(--fonts-likec4-compound);font-weight:600;font-size:15px;text-transform:uppercase;letter-spacing:.25px;line-height:var(--line-heights-1);color:var(--_compound-color)}.likec4-compound-node .likec4-compound-icon{flex:0 0 20px;display:flex;align-items:center;justify-content:center;mix-blend-mode:hard-light;height:20px;width:20px}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-compound-node .likec4-compound-icon{mix-blend-mode:normal}.likec4-compound-node .likec4-compound-icon svg,.likec4-compound-node .likec4-compound-icon img{pointer-events:none;filter:drop-shadow(0 0 3px rgb(0 0 0 / 12%)) drop-shadow(0 1px 8px rgb(0 0 0 / 8%)) drop-shadow(1px 1px 16px rgb(0 0 0 / 3%));width:100%;height:auto;max-height:100%}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-compound-node .likec4-compound-icon svg,.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-compound-node .likec4-compound-icon img{filter:none}.likec4-compound-node .likec4-compound-icon img{object-fit:contain}.likec4-compound-node .likec4-compound-navigation{position:absolute;top:var(--spacing-1);left:var(--spacing-0\\.5)}:where([data-likec4-zoom-small=true]) .likec4-compound-node .likec4-compound-navigation{display:none}.likec4-compound-node .likec4-compound-details{position:absolute;top:var(--spacing-0\\.5);right:var(--spacing-0\\.5)}:where([data-likec4-zoom-small=true]) .likec4-compound-node .likec4-compound-details{display:none}.likec4-edge-action-btn{--ai-bg: transparent;--ai-hover: color-mix(in srgb , var(--xy-edge-label-background-color), var(--colors-likec4-mix-color) 10%);--ai-size: var(--ai-size-sm);--ai-radius: var(--radii-sm);transition:all var(--durations-fast) var(--easings-in-out);pointer-events:all;color:var(--xy-edge-label-color);cursor:pointer;opacity:.75;translate:var(--translate-x) var(--translate-y)}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-edge-action-btn{--ai-bg: var(--xy-edge-label-background-color);opacity:1}.likec4-edge-action-btn .tabler-icon{stroke-width:2;width:80%;height:80%}.likec4-edge-action-btn:is(:hover,[data-hover]){--translate-y: 2px;scale:1.15}.likec4-edge-action-btn:is(:active,[data-active]){--translate-y: -1px;scale:.9}.likec4-element-node-data{margin:0 auto;flex:1 1 0%;overflow:hidden;gap:var(--spacing-3);position:relative;display:flex;align-items:center;justify-content:center;flex-direction:row;pointer-events:none;text-align:center;height:fit-content;width:fit-content;max-height:100%;max-width:100%;padding-top:var(--likec4-spacing);padding-bottom:var(--likec4-spacing);padding-left:calc(var(--likec4-spacing) + 8px);padding-right:calc(var(--likec4-spacing) + 8px)}:where([data-likec4-shape-size=xs]) .likec4-element-node-data{--likec4-icon-size: 24px}:where([data-likec4-shape-size=sm]) .likec4-element-node-data{--likec4-icon-size: 36px}:where([data-likec4-shape-size=md]) .likec4-element-node-data{--likec4-icon-size: 60px}:where([data-likec4-shape-size=lg]) .likec4-element-node-data{--likec4-icon-size: 82px;gap:var(--spacing-4)}:where([data-likec4-shape-size=xl]) .likec4-element-node-data{--likec4-icon-size: 90px;gap:var(--spacing-4)}.likec4-element-node-data:has([data-likec4-icon]){gap:var(--spacing-4);text-align:left}.likec4-element-node-data:has([data-likec4-icon]) .likec4-element-node-content{align-items:flex-start;min-width:calc(50% + var(--likec4-icon-size))}:where([data-likec4-shape=queue]) .likec4-element-node-data{padding-left:46px;padding-right:16px}:where([data-likec4-shape=mobile]) .likec4-element-node-data{padding-left:46px;padding-right:16px}:where([data-likec4-shape=cylinder]) .likec4-element-node-data{padding-top:30px}:where([data-likec4-shape=storage]) .likec4-element-node-data{padding-top:30px}:where([data-likec4-shape=browser]) .likec4-element-node-data{padding-top:32px;padding-bottom:28px}.likec4-element-node-data [data-likec4-icon]{flex:0 0 var(--likec4-icon-size, 48px);display:flex;align-self:flex-start;align-items:center;justify-content:center;mix-blend-mode:hard-light;height:var(--likec4-icon-size, 48px);width:var(--likec4-icon-size, 48px)}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-element-node-data [data-likec4-icon]{mix-blend-mode:normal}.likec4-element-node-data [data-likec4-icon] svg,.likec4-element-node-data [data-likec4-icon] img{pointer-events:none;filter:drop-shadow(0 0 3px rgb(0 0 0 / 12%));width:100%;height:auto;max-height:100%}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-element-node-data [data-likec4-icon] svg,.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-element-node-data [data-likec4-icon] img{filter:none}.likec4-element-node-data [data-likec4-icon] img{object-fit:contain}.likec4-element-node-data .likec4-element-node-content{flex:0 1 auto;overflow:hidden;gap:var(--spacing-2);display:flex;flex-direction:column;align-items:stretch;justify-content:center;flex-wrap:nowrap;height:fit-content;width:fit-content;max-height:100%;max-width:100%}.likec4-element-node-data .likec4-element-node-content:has([data-likec4-node-description]):has([data-likec4-node-technology]){gap:var(--spacing-1\\.5)}.likec4-element-node-data [data-likec4-node-title]{flex:0 0 auto;font-family:var(--likec4-element-font, var(--fonts-likec4));font-weight:500;font-size:var(--likec4-text-size);line-height:1.15;text-wrap-style:balance;white-space:preserve-breaks;text-align:var(__text-align);color:var(--likec4-palette-hiContrast)}.likec4-element-node-data [data-likec4-node-description]{overflow:hidden;flex-grow:0;flex-shrink:1;--text-fz: calc(var(--likec4-text-size) * .74);font-family:var(--likec4-element-font, var(--fonts-likec4));font-weight:400;font-size:calc(var(--likec4-text-size) * .74);line-height:1.3;text-wrap-style:pretty;color:var(--likec4-palette-loContrast);text-align:var(__text-align);text-overflow:ellipsis}:where([data-likec4-shape-size=xs]) .likec4-element-node-data [data-likec4-node-description]{display:none}:where([data-likec4-zoom-small=true]) .likec4-element-node-data [data-likec4-node-description]{display:none}.likec4-element-node-data [data-likec4-node-description] a{pointer-events:all}.likec4-element-node-data [data-likec4-node-technology]{flex:0 0 auto;text-wrap:balance;--text-fz: calc(var(--likec4-text-size) * .74);font-family:var(--likec4-element-font, var(--fonts-likec4));font-weight:400;font-size:calc(var(--likec4-text-size) * .635);line-height:1.125;text-wrap-style:pretty;color:var(--likec4-palette-loContrast);text-align:var(__text-align);opacity:.92}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-element-node-data [data-likec4-node-technology]{opacity:1}:where([data-likec4-shape-size=xs]) .likec4-element-node-data [data-likec4-node-technology]{display:none}:where([data-likec4-shape-size=sm]) .likec4-element-node-data [data-likec4-node-technology]{display:none}:where([data-likec4-zoom-small=true]) .likec4-element-node-data [data-likec4-node-technology]{display:none}.likec4-element-shape{overflow:visible;position:absolute;pointer-events:none;top:var(--spacing-0);left:var(--spacing-0);width:100%;height:100%}[data-mantine-color-scheme=light] .likec4-element-shape{--likec4-palette-outline: color-mix(in srgb, var(--likec4-palette-stroke) 60%, var(--likec4-palette-hiContrast))}[data-mantine-color-scheme=dark] .likec4-element-shape{--likec4-palette-outline: color-mix(in srgb, var(--likec4-palette-stroke) 30%, var(--likec4-palette-loContrast))}.likec4-element-shape .likec4-shape-outline{visibility:hidden;animation-play-state:paused;pointer-events:none}:where([data-likec4-zoom-small=true]) .likec4-element-shape .likec4-shape-outline{visibility:hidden}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-element-shape .likec4-shape-outline{visibility:visible;animation-play-state:running}:where(.react-flow__node,.react-flow__edge):is(:focus-visible,:focus,:focus-within) .likec4-element-shape .likec4-shape-outline{visibility:visible;animation-play-state:running}.group:is(:focus-visible,[data-focus-visible]) .likec4-element-shape .likec4-shape-outline{visibility:visible;animation-play-state:running}.likec4-root:is([data-likec4-diagram-panning=true]) .likec4-element-shape .likec4-shape-outline{animation-play-state:paused}.likec4-tag{transition:all var(--durations-fast) var(--easings-in-out);gap:1px;padding-inline:var(--spacing-1);padding-block:var(--spacing-0);pointer-events:all;display:inline-flex;align-items:center;justify-content:center;font-size:var(--font-sizes-xs);cursor:default;font-family:var(--fonts-likec4);font-weight:700;border:var(--borders-none);border-radius:3px;color:var(--colors-likec4-tag-text);background-color:var(--colors-likec4-tag-bg)}.likec4-tag:is(:hover,[data-hover]){background-color:var(--colors-likec4-tag-bg-hover)}.likec4-tag{white-space:nowrap;min-width:40px;width:min-content}@media screen and (min-width: 36rem){.likec4-element-node-data [data-likec4-icon] svg,.likec4-element-node-data [data-likec4-icon] img{filter:drop-shadow(0 1px 8px rgb(0 0 0 / 8%))}}@media screen and (min-width: 48rem){.likec4-element-node-data [data-likec4-icon] svg,.likec4-element-node-data [data-likec4-icon] img{filter:drop-shadow(1px 1px 16px rgb(0 0 0 / 3%))}}}.likec4-overlay--withBackdrop_true::backdrop{background:color-mix(in srgb,var(--colors-likec4-overlay-backdrop) var(--_opacity),transparent);backdrop-filter:blur(var(--_blur));-webkit-backdrop-filter:blur(var(--_blur))}.likec4-overlay--fullscreen_true{inset:var(--spacing-0);padding:var(--spacing-0)}.likec4-overlay--withBackdrop_false::backdrop{display:none}.likec4-markdown-block--value_plaintext :where(p){white-space:preserve-breaks}.likec4-markdown-block--uselikec4palette_true{--code-background: color-mix(in srgb , var(--likec4-palette-stroke) 70%, transparent);--code-color: var(--likec4-palette-loContrast);--typography-spacing: calc(.5 * var(--text-fz-md))}.likec4-markdown-block--uselikec4palette_true :where(blockquote){padding:var(--spacing-xxs);--mix-backgroundColor: color-mix(in srgb, var(--likec4-palette-stroke) 65%, transparent);background-color:var(--mix-backgroundColor, var(--likec4-palette-stroke))}.likec4-markdown-block--uselikec4palette_true :where(hr){--mix-borderColor: color-mix(in srgb, var(--likec4-palette-stroke) 85%, transparent);border-color:var(--mix-borderColor, var(--likec4-palette-stroke))}.likec4-markdown-block--uselikec4palette_true :where(a){--mix-color: color-mix(in srgb, var(--likec4-palette-fill) 45%, transparent);color:var(--mix-color, var(--likec4-palette-fill));mix-blend-mode:difference}.likec4-markdown-block--uselikec4palette_true :where(strong){color:color-mix(in srgb,var(--likec4-palette-hiContrast) 50%,var(--likec4-palette-loContrast))}.likec4-navigation-panel-icon--variant_default{background-color:var(--colors-transparent)}.likec4-navigation-panel-icon--variant_default:not(:is(:disabled,[disabled],[data-disabled])):is(:hover,[data-hover]){background-color:var(--colors-likec4-panel-action-icon-bg-hover)}.likec4-navigation-panel-icon--variant_filled{background-color:var(--colors-likec4-panel-action-icon-bg)}.likec4-navigation-panel-icon--variant_filled:not(:is(:disabled,[disabled],[data-disabled])):is(:hover,[data-hover]){background-color:var(--colors-likec4-panel-action-icon-bg-hover)}.action-btn--size_md{--ai-size: var(--ai-size-md)}.action-btn--radius_md{--ai-radius: var(--mantine-radius-md)}.action-btn--variant_transparent{--actionbtn-bg-hovered: var(--actionbtn-bg-idle)}.action-btn--variant_filled{box-shadow:1px 1px 3px 0 transparent}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .action-btn--variant_filled{box-shadow:1px 1px 3px #0003}.likec4-root:is([data-likec4-reduced-graphics]) .action-btn--variant_filled{box-shadow:var(--shadows-none)}.likec4-compound-node--borderStyle_dashed{border-style:dashed}.likec4-compound-node--borderStyle_none{--_indicator-spacing: calc(var(--_border-width) * 2);border-color:var(--colors-transparent)!important;background-clip:border-box!important;-webkit-background-clip:border-box!important}.likec4-compound-node--isTransparent_false{border-color:var(--likec4-palette-stroke);background-color:var(--likec4-palette-fill)}.likec4-root:not([data-likec4-reduced-graphics]) .likec4-compound-node--isTransparent_false{box-shadow:0 4px 10px .5px #0000001a,0 2px 2px -1px #0006}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-compound-node--isTransparent_false{box-shadow:var(--shadows-none)}.likec4-root:is([data-likec4-diagram-panning=true]) .likec4-compound-node--isTransparent_false{box-shadow:var(--shadows-none)!important}.likec4-compound-node--isTransparent_true{border-color:color-mix(in srgb,var(--likec4-palette-stroke) var(--_border-transparency),transparent);background-color:color-mix(in srgb,var(--likec4-palette-fill) var(--_compound-transparency),transparent)}.likec4-compound-node--inverseColor_true{--_compound-color: var(--likec4-palette-stroke)}[data-mantine-color-scheme=dark] .likec4-compound-node--inverseColor_true{--_compound-color: color-mix(in srgb, var(--likec4-palette-loContrast) 60%, var(--likec4-palette-fill))}[data-mantine-color-scheme=dark] .likec4-compound-node--inverseColor_true .action-btn{--actionbtn-color-hovered-btn: var(--likec4-palette-loContrast)}[data-mantine-color-scheme=light] .likec4-compound-node--inverseColor_true .action-btn{--actionbtn-color: var(--likec4-palette-stroke);--actionbtn-color-hovered: var(--likec4-palette-stroke);--actionbtn-color-hovered-btn: var(--likec4-palette-hiContrast);--actionbtn-bg-hovered: var(--likec4-palette-fill)/50;--actionbtn-bg-hovered-btn: var(--likec4-palette-fill)}.likec4-compound-node--borderStyle_solid{border-style:solid}.likec4-compound-node--borderStyle_dotted{border-style:dotted}.likec4-element-shape--shapetype_html{--likec4-outline-size: 4px;border-radius:6px;transition:background-color .12s linear,box-shadow .13s var(--easings-in-out);background-color:var(--likec4-palette-fill);box-shadow:0 2px 1px #00000036,0 1px 1px color-mix(in srgb,var(--likec4-palette-stroke) 40%,transparent),0 5px 3px #0000001a;transition-delay:0ms}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-element-shape--shapetype_html{transition:none}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-element-shape--shapetype_html{box-shadow:var(--shadows-none)}:where([data-likec4-zoom-small=true]) .likec4-element-shape--shapetype_html{box-shadow:var(--shadows-none)}.likec4-root:is([data-likec4-diagram-panning=true]) .likec4-element-shape--shapetype_html{box-shadow:var(--shadows-none)}[data-mantine-color-scheme=light] :where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-element-shape--shapetype_html{box-shadow:#26394df2 0 20px 30px -10px}[data-mantine-color-scheme=dark] :where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-element-shape--shapetype_html{box-shadow:#0a0b10e5 0 20px 30px -10px}.likec4-element-shape--shapetype_html .likec4-shape-multiple{border-radius:6px;transition:all var(--durations-fast) var(--easings-in-out);position:absolute;content:" ";background-color:var(--likec4-palette-fill);z-index:-1;filter:brightness(.5)!important;visibility:visible;top:16px;left:16px;width:calc(100% - 6px);height:calc(100% - 6px)}:where([data-likec4-zoom-small=true]) .likec4-element-shape--shapetype_html .likec4-shape-multiple{visibility:hidden}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-element-shape--shapetype_html .likec4-shape-multiple{visibility:hidden}:where(.react-flow__node,.react-flow__edge):is(:focus-visible,:focus,:focus-within) .likec4-element-shape--shapetype_html .likec4-shape-multiple{visibility:hidden}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-element-shape--shapetype_html .likec4-shape-multiple{visibility:hidden}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-element-shape--shapetype_html .likec4-shape-multiple{transform:translate(-14px,-14px)}.likec4-element-shape--shapetype_html .likec4-shape-outline{border-style:solid;border-width:var(--likec4-outline-size);border-radius:10px;border-color:var(--likec4-palette-outline);position:absolute;content:" ";animation-duration:1s;animation-iteration-count:infinite;animation-direction:alternate;animation-name:indicatorOpacity;top:calc(-1 * var(--likec4-outline-size));left:calc(-1 * var(--likec4-outline-size));width:calc(100% + 2 * var(--likec4-outline-size));height:calc(100% + 2 * var(--likec4-outline-size))}.likec4-element-shape--shapetype_svg{transition:fill .12s linear,filter .13s var(--easings-in-out);fill:var(--likec4-palette-fill);stroke:var(--likec4-palette-stroke);transition-delay:0ms;filter:drop-shadow(0 2px 1px rgba(0,0,0,.21)) drop-shadow(0 1px 1px color-mix(in srgb,var(--likec4-palette-stroke) 40%,transparent)) drop-shadow(0 5px 3px rgba(0,0,0,.1))}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-element-shape--shapetype_svg{filter:drop-shadow(0 2px 1px rgba(0,0,0,.12)) drop-shadow(0px 4px 2px rgba(0,0,0,.12)) drop-shadow(0px 8px 4px rgba(0,0,0,.12)) drop-shadow(0px 16px 8px rgba(0,0,0,.1)) drop-shadow(0px 32px 16px rgba(0,0,0,.09))}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-element-shape--shapetype_svg{filter:none}:where([data-likec4-zoom-small=true]) .likec4-element-shape--shapetype_svg{filter:none}.likec4-root:is([data-likec4-diagram-panning=true]) .likec4-element-shape--shapetype_svg{filter:none}.likec4-element-shape--shapetype_svg [data-likec4-fill=fill]{fill:var(--likec4-palette-fill)}.likec4-element-shape--shapetype_svg [data-likec4-fill=stroke]{fill:var(--likec4-palette-stroke)}.likec4-element-shape--shapetype_svg [data-likec4-fill=mix-stroke]{fill:color-mix(in srgb,var(--likec4-palette-stroke) 90%,var(--likec4-palette-fill))}.likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){transition:all var(--durations-fast) var(--easings-in-out);transform-origin:50% 50%;transform:translate(14px,14px) perspective(200px) translateZ(-4px);filter:brightness(.5)!important;stroke:var(--colors-none)}:where([data-likec4-shape=queue]) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){transform-origin:75% 25%}:where([data-likec4-shape=cylinder]) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){transform-origin:50% 100%}:where([data-likec4-shape=storage]) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){transform-origin:50% 100%}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){transform:translate(2px,2px) perspective(200px) translateZ(-4px)}:where([data-likec4-zoom-small=true]) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){display:none}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){display:none}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){display:none}:where(.react-flow__node,.react-flow__edge):is(:focus-visible,:focus,:focus-within) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){display:none}.likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]) [data-likec4-fill=mix-stroke]{fill:var(--likec4-palette-fill)}.likec4-element-shape--shapetype_svg .likec4-shape-outline{stroke:var(--likec4-palette-outline);fill:var(--colors-none);stroke-width:8;stroke-opacity:.8;animation-duration:1s;animation-iteration-count:infinite;animation-direction:alternate;animation-name:indicatorOpacity}.likec4-tag--autoTextColor_false>span{color:var(--colors-likec4-tag-text)}.likec4-tag--autoTextColor_false>span:first-child{opacity:.65}.likec4-tag--autoTextColor_true>span{background:inherit;color:var(--colors-transparent);filter:invert(1) grayscale(1) brightness(1.3) contrast(1000);background-clip:text;-webkit-background-clip:text;mix-blend-mode:plus-lighter}.hover\\:likec4-tag--autoTextColor_true:is(:hover,[data-hover])>span{background:inherit;color:var(--colors-transparent);filter:invert(1) grayscale(1) brightness(1.3) contrast(1000);background-clip:text;-webkit-background-clip:text;mix-blend-mode:plus-lighter}.hover\\:likec4-tag--autoTextColor_false:is(:hover,[data-hover])>span{color:var(--colors-likec4-tag-text)}.hover\\:likec4-tag--autoTextColor_false:is(:hover,[data-hover])>span:first-child{opacity:.65}@media screen and (min-width: 48rem){.likec4-overlay--fullscreen_false{--_border-radius: 6px;--_offset: 1rem;inset:var(--_inset) var(--_inset) var(--_offset) var(--_inset);padding:var(--spacing-1\\.5);border-radius:calc(var(--_border-radius) - 2px);width:calc(100vw - 2 * var(--_inset));height:calc(100vh - var(--_offset) - var(--_inset))}}@media screen and (min-width: 62rem){.likec4-overlay--fullscreen_false{--_offset: 1rem}}@media screen and (min-width: 75rem){.likec4-overlay--fullscreen_false{--_offset: 2rem}}@media screen and (min-width: 88rem){.likec4-overlay--fullscreen_false{--_offset: 4rem}}}@layer recipes.slots{@layer _base{.likec4-navlink__root{border-radius:var(--radii-sm);padding-inline:var(--spacing-xs);padding-block:var(--spacing-xxs)}.likec4-navlink__root:is(:hover,[data-hover]):not([data-active]){background-color:var(--colors-mantine-colors-gray\\[1\\])}[data-mantine-color-scheme=dark] .likec4-navlink__root:is(:hover,[data-hover]):not([data-active]){background-color:var(--colors-mantine-colors-dark\\[5\\])}.likec4-navlink__body{gap:var(--spacing-0\\.5);display:flex;flex-direction:column}.likec4-navlink__section:where([data-position=left]){margin-inline-end:var(--spacing-xxs)}.likec4-navlink__label{display:block;font-size:var(--font-sizes-sm);font-weight:500;line-height:1.2}.likec4-navlink__description{display:block;font-size:var(--font-sizes-xxs);line-height:1.2}.likec4-edge-label__root{background:var(--xy-edge-label-background-color);border:0px solid transparent;padding-block:var(--spacing-1);padding-inline:var(--spacing-1\\.5);gap:var(--spacing-0\\.5);border-radius:4px;pointer-events:all;font-family:var(--fonts-likec4-relation);display:flex;flex-direction:column;align-items:center;line-height:1.2;color:var(--xy-edge-label-color);width:max-content;max-width:100%}.likec4-edge-label__stepNumber{padding:var(--spacing-1);background:color-mix(in srgb,var(--likec4-palette-relation-label-bg),var(--colors-likec4-mix-color) 10%);flex:0 0 auto;align-self:stretch;font-weight:600;font-size:14px;text-align:center;font-variant-numeric:tabular-nums;min-width:22px;border-top-left-radius:4px;border-bottom-left-radius:4px}.likec4-edge-label__stepNumber:only-child{border-radius:4px;min-width:24px}[data-mantine-color-scheme=dark] :where([data-likec4-color=gray]) .likec4-edge-label__stepNumber{background:color-mix(in srgb,var(--likec4-palette-relation-label-bg),var(--colors-likec4-mix-color) 15%)}.likec4-edge-label__labelContents{display:contents}.likec4-edge-label__labelContents:is(:empty,[data-empty]){display:none!important}.likec4-edge-label__labelText{margin:var(--spacing-0);white-space-collapse:preserve-breaks;font-size:14px}.likec4-edge-label__labelTechnology{text-align:center;white-space-collapse:preserve-breaks;font-size:11px;line-height:var(--line-heights-1);opacity:.75}}.likec4-navlink__label--truncateLabel_true,.likec4-navlink__description--truncateLabel_true{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.likec4-edge-label__root--cursor_pointer{cursor:pointer}.likec4-edge-label__root--cursor_default{cursor:default}.likec4-edge-label__root--isStepEdge_true{padding:var(--spacing-0);gap:var(--spacing-1);flex-direction:row}.likec4-edge-label__labelContents--isStepEdge_true{gap:var(--spacing-0\\.5);display:flex;flex-direction:column;align-items:center;padding-top:var(--spacing-0\\.5);padding-right:var(--spacing-1);padding-bottom:var(--spacing-1)}.likec4-edge-label__labelText--isStepEdge_true{padding-block:var(--spacing-0\\.5);padding-right:var(--spacing-0\\.5)}}@layer utilities{@layer compositions{.layerStyle_likec4\\.panel{border:1px solid var(--colors-likec4-panel-border);padding-block:var(--spacing-1);padding-inline:var(--spacing-xs);border-radius:var(--radii-0);background-color:var(--colors-likec4-panel-bg)}.likec4-root:is([data-likec4-diagram-panning=true]) .layerStyle_likec4\\.panel{border-radius:var(--radii-0);box-shadow:var(--shadows-none)}.layerStyle_likec4\\.dropdown{padding:var(--spacing-xxs);border:1px solid var(--colors-likec4-dropdown-border);border-radius:var(--radii-md);background-color:var(--colors-likec4-dropdown-bg);box-shadow:var(--shadows-lg)}.likec4-root:is([data-likec4-diagram-panning=true]) .layerStyle_likec4\\.dropdown{border-radius:0;border-color:var(--colors-transparent);box-shadow:var(--shadows-none)}.layerStyle_likec4\\.tag{border:var(--borders-none);border-radius:3px;color:var(--colors-likec4-tag-text);background-color:var(--colors-likec4-tag-bg)}.layerStyle_likec4\\.tag:is(:hover,[data-hover]){background-color:var(--colors-likec4-tag-bg-hover)}.likec4-root:not([data-likec4-reduced-graphics]) .noReduceGraphics\\:animationStyle_xyedgeAnimated{animation-duration:.8s;animation-iteration-count:infinite;animation-timing-function:linear;animation-fill-mode:both;animation-name:xyedgeAnimated}@container (min-width: 40rem){.layerStyle_likec4\\.panel{padding:2xs;border-radius:var(--radii-md);box-shadow:var(--shadows-lg)}}}.--mantine-cursor-pointer_pointer{--mantine-cursor-pointer: pointer}.--thickness_1px{--thickness: 1px}.--bleed-x_token\\(spacing\\.2\\,_2\\){--bleed-x: var(--spacing-2, 2)}.--bleed-y_token\\(spacing\\.2\\,_2\\){--bleed-y: var(--spacing-2, 2)}.--text-fz_\\{fontSizes\\.sm\\}{--text-fz: var(--font-sizes-sm)}.--view-title-color_\\{colors\\.mantine\\.colors\\.dark\\[1\\]\\}{--view-title-color: var(--colors-mantine-colors-dark\\[1\\])}.--likec4-icon-size_24px{--likec4-icon-size: 24px}.--ti-size_var\\(--likec4-icon-size\\,_24px\\){--ti-size: var(--likec4-icon-size, 24px)}.--_color_var\\(--likec4-palette-stroke\\){--_color: var(--likec4-palette-stroke)}.--ai-radius_0px{--ai-radius: 0px}.--badge-radius_2px{--badge-radius: 2px}.--badge-fz_9\\.5px{--badge-fz: 9.5px}.--badge-padding-x_3px{--badge-padding-x: 3px}.--badge-height_13\\.5px{--badge-height: 13.5px}.--badge-lh_1{--badge-lh: 1}.--badge-bg_var\\(--likec4-palette-fill\\){--badge-bg: var(--likec4-palette-fill)}.--badge-color_var\\(--likec4-palette-hiContrast\\){--badge-color: var(--likec4-palette-hiContrast)}.bg_dots{background:dots}.bg_transparent{background:var(--colors-transparent)}.p_0{padding:var(--spacing-0)}.p_xl{padding:var(--spacing-xl)}.bd_1px_solid{border:1px solid}.bg_mantine\\.colors\\.default{background:var(--colors-mantine-colors-default)}.p_\\[4px_7px\\]{padding:4px 7px}.m_0{margin:var(--spacing-0)}.bg_\\[transparent\\]{background:var(--colors-transparent)}.p_1{padding:var(--spacing-1)}.p_4{padding:var(--spacing-4)}.p_0\\.5{padding:var(--spacing-0\\.5)}.m_xs{margin:var(--spacing-xs)}.p_md{padding:var(--spacing-md)}.p_8{padding:var(--spacing-8)}.p_xxs{padding:var(--spacing-xxs)}.bg_mantine\\.colors\\.orange\\.light{background:var(--colors-mantine-colors-orange-light)}.p_\\[4px_6px\\]{padding:4px 6px}.bg_mantine\\.colors\\.gray\\[2\\]{background:var(--colors-mantine-colors-gray\\[2\\])}.bg_mantine\\.colors\\.gray\\[3\\]{background:var(--colors-mantine-colors-gray\\[3\\])}.bd_2px_solid{border:2px solid}.inset_0{inset:var(--spacing-0)}.bd_transparent{border:var(--borders-transparent)}.bd_none{border:var(--borders-none)}.bg_mantine\\.colors\\.body{background:var(--colors-mantine-colors-body)}.p_\\[10px_8px\\]{padding:10px 8px}.bd_1px_dashed{border:1px dashed}.bg_mantine\\.colors\\.gray\\[1\\]{background:var(--colors-mantine-colors-gray\\[1\\])}.p_\\[6px_8px\\]{padding:6px 8px}.bd_3\\.5px_solid{border:3.5px solid}.p_\\[3px_6px\\]{padding:3px 6px}.bg_var\\(--likec4-palette-fill\\)\\/75{--mix-background: color-mix(in srgb, var(--likec4-palette-fill) 75%, transparent);background:var(--mix-background, var(--likec4-palette-fill))}.bd_1px_solid_\\{colors\\.mantine\\.colors\\.defaultBorder\\}{border:1px solid var(--colors-mantine-colors-default-border)}.p_\\[1px_5px\\]{padding:1px 5px}.bg_mantine\\.colors\\.dark\\[7\\]{background:var(--colors-mantine-colors-dark\\[7\\])}.p_\\[6px_2px_0_2px\\]{padding:6px 2px 0}.p_\\[0_4px_5px_4px\\]{padding:0 4px 5px}.p_xs{padding:var(--spacing-xs)}.bg_mantine\\.colors\\.dark\\[9\\]\\/30{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-dark\\[9\\]) 30%, transparent);background:var(--mix-background, var(--colors-mantine-colors-dark\\[9\\]))}.bg_mantine\\.colors\\.primary\\[8\\]{background:var(--colors-mantine-colors-primary\\[8\\])}.p_\\[12px_8px_12px_14px\\]{padding:12px 8px 12px 14px}.bd_2px_dashed{border:2px dashed}.bd_default{border:var(--borders-default)}.p_2{padding:var(--spacing-2)}.bd_3px_dashed{border:3px dashed}.gap_20{gap:20px}.gap_xs{gap:var(--spacing-xs)}.transition_fast{transition:all var(--durations-fast) var(--easings-in-out)}.td_none{text-decoration:none}.bdr_sm{border-radius:var(--radii-sm)}.bd-c_mantine\\.colors\\.defaultBorder{border-color:var(--colors-mantine-colors-default-border)}.flex_1{flex:1 1 0%}.gap_xxs{gap:var(--spacing-xxs)}.gap_sm{gap:var(--spacing-sm)}.gap_1{gap:var(--spacing-1)}.ov_hidden{overflow:hidden}.gap_0\\.5{gap:var(--spacing-0\\.5)}.gap_\\[4px\\]{gap:4px}.px_xs{padding-inline:var(--spacing-xs)}.py_xxs{padding-block:var(--spacing-xxs)}.px_sm{padding-inline:var(--spacing-sm)}.gap_8px{gap:8px}.gap_1\\.5{gap:var(--spacing-1\\.5)}.bdr_\\[4px\\]{border-radius:4px}.px_1\\.5{padding-inline:var(--spacing-1\\.5)}.gap_3{gap:var(--spacing-3)}.mx_calc\\(var\\(--bleed-x\\,_0\\)_\\*_-1\\){margin-inline:calc(var(--bleed-x, 0) * -1)}.my_calc\\(var\\(--bleed-y\\,_0\\)_\\*_-1\\){margin-block:calc(var(--bleed-y, 0) * -1)}.py_2\\.5{padding-block:var(--spacing-2\\.5)}.px_2{padding-inline:var(--spacing-2)}.gap_2{gap:var(--spacing-2)}.offset_2{offset:2px}.py_1\\.5{padding-block:var(--spacing-1\\.5)}.bd-l_2px_dotted{border-left:2px dotted}.px_1{padding-inline:var(--spacing-1)}.py_0\\.5{padding-block:var(--spacing-0\\.5)}.bdr_\\[2px\\]{border-radius:2px}.px_xxs{padding-inline:var(--spacing-xxs)}.py_1{padding-block:var(--spacing-1)}.gap_\\[1px\\]{gap:1px}.gap_md{gap:var(--spacing-md)}.ov_auto{overflow:auto}.ovs-b_contain{overscroll-behavior:contain}.ov_visible{overflow:visible}.my_10{margin-block:var(--spacing-10)}.flex_1_1_40\\%{flex:1 1 40%}.bd-c_mantine\\.colors\\.gray\\[4\\]{border-color:var(--colors-mantine-colors-gray\\[4\\])}.bd-c_mantine\\.colors\\.gray\\[5\\]{border-color:var(--colors-mantine-colors-gray\\[5\\])}.bdr_3{border-radius:3px}.bd-c_mantine\\.colors\\.orange\\[6\\]{border-color:var(--colors-mantine-colors-orange\\[6\\])}.tw_pretty{text-wrap:pretty}.gap_lg{gap:var(--spacing-lg)}.flex_0{flex:0}.flex_0_0_40px{flex:0 0 40px}.gap_\\[24px_20px\\]{gap:24px 20px}.bd-c_mantine\\.colors\\.dark\\[3\\]{border-color:var(--colors-mantine-colors-dark\\[3\\])}.bd-t_none{border-top:var(--borders-none)}.bd-l_none{border-left:var(--borders-none)}.bdr_2px{border-radius:2px}.gap_4{gap:var(--spacing-4)}.gap_6{gap:var(--spacing-6)}.gap_\\[4px_4px\\]{gap:4px 4px}.ovs-b_none{overscroll-behavior:none}.flex_1_1_100\\%{flex:1 1 100%}.offset_0{offset:0}.py_4{padding-block:var(--spacing-4)}.gap_8{gap:var(--spacing-8)}.px_md{padding-inline:var(--spacing-md)}.py_xs{padding-block:var(--spacing-xs)}.grid-c_1{grid-column:1}.grid-c_2{grid-column:2}.grid-c_3{grid-column:3}.bd-b_1px_solid{border-bottom:1px solid}.gap_0{gap:var(--spacing-0)}.gap_\\[10px_12px\\]{gap:10px 12px}.py_3{padding-block:var(--spacing-3)}.offset_4{offset:4px}.flex_1_0_auto{flex:1 0 auto}.ring_none{outline:var(--borders-none)}.ring_none\\!{outline:var(--borders-none)!important}.bdr_4px{border-radius:4px}.mx_auto{margin-inline:auto}.px_4{padding-inline:var(--spacing-4)}.py_md{padding-block:var(--spacing-md)}.bd-c_mantine\\.colors\\.primary\\[9\\]{border-color:var(--colors-mantine-colors-primary\\[9\\])}.flex_0_0_var\\(--likec4-icon-size\\,_24px\\){flex:0 0 var(--likec4-icon-size, 24px)}.bdr_md{border-radius:var(--radii-md)}.py_xl{padding-block:var(--spacing-xl)}.bd-w_1{border-width:1px}.bd-c_\\[var\\(--_color\\)\\/30\\]{--mix-borderColor: color-mix(in srgb, var(--_color) 30%, transparent);border-color:var(--mix-borderColor, var(--_color))}.bdr_xs{border-radius:var(--radii-xs)}.transition_all_100ms_ease-in{transition:all .1s ease-in}.transition_all_150ms_ease-in-out{transition:all .15s ease-in-out}.py_sm{padding-block:var(--spacing-sm)}.flex_0_0_auto{flex:0 0 auto}.flex_0_0_70px{flex:0 0 70px}.bd-w_3px{border-width:3px}.border-style_dashed{border-style:dashed}.px_3{padding-inline:var(--spacing-3)}.px_5{padding-inline:var(--spacing-5)}.gap_6px{gap:6px}.px_4px{padding-inline:4px}.cursor_pointer{cursor:pointer}.pos_absolute{position:absolute}.c_gray{color:gray}.bkdp_blur\\(5px\\){backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.z_1000{z-index:1000}.c_red{color:red}.c_teal{color:teal}.op_1{opacity:1}.op_0\\.45{opacity:.45}.flex-wrap_nowrap{flex-wrap:nowrap}.us_all{-webkit-user-select:all;user-select:all}.bg-c_transparent{background-color:var(--colors-transparent)}.stk_2\\.5{stroke:2.5px}.op_0\\.7{opacity:.7}.fill_\\[\\#FCFBF7\\]{fill:#fcfbf7}.bx-sh_xs{box-shadow:var(--shadows-xs)}.fs_sm{font-size:var(--font-sizes-sm)}.fw_500{font-weight:500}.c_mantine\\.colors\\.placeholder{color:var(--colors-mantine-colors-placeholder)}.fs_11px{font-size:11px}.fw_600{font-weight:600}.lh_1{line-height:var(--line-heights-1)}.stk_2{stroke:2px}.ai_flex-start{align-items:flex-start}.pointer-events_none{pointer-events:none}.d_flex{display:flex}.ai_stretch{align-items:stretch}.flex-d_column{flex-direction:column}.main-axis_4{main-axis:4px}.pos_bottom-start{position:bottom-start}.ai_center{align-items:center}.flex-d_row{flex-direction:row}.pos_relative{position:relative}.pointer-events_all{pointer-events:all}.us_none{-webkit-user-select:none;user-select:none}.d_none{display:none}.flex-sh_1{flex-shrink:1}.flex-g_1{flex-grow:1}.flex-g_0{flex-grow:0}.op_0\\.3{opacity:.3}.bg-c_mantine\\.colors\\.gray\\[1\\]{background-color:var(--colors-mantine-colors-gray\\[1\\])}.stk_1\\.5{stroke:1.5px}.bd-e-w_var\\(--thickness\\){border-inline-end-width:var(--thickness)}.c_mantine\\.colors\\.gray\\[5\\]{color:var(--colors-mantine-colors-gray\\[5\\])}.c_mantine\\.colors\\.text\\/90{--mix-color: color-mix(in srgb, var(--colors-mantine-colors-text) 90%, transparent);color:var(--mix-color, var(--colors-mantine-colors-text))}.trunc_true{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c_mantine\\.colors\\.dimmed{color:var(--colors-mantine-colors-dimmed)}.bg-c_\\[rgb\\(34_34_34_\\/_var\\(--_opacity\\,_95\\%\\)\\)\\]{background-color:rgb(34 34 34 / var(--_opacity, 95%))}.bkdp_auto{backdrop-filter:var(--backdrop-blur, ) var(--backdrop-brightness, ) var(--backdrop-contrast, ) var(--backdrop-grayscale, ) var(--backdrop-hue-rotate, ) var(--backdrop-invert, ) var(--backdrop-opacity, ) var(--backdrop-saturate, ) var(--backdrop-sepia, );-webkit-backdrop-filter:var(--backdrop-blur, ) var(--backdrop-brightness, ) var(--backdrop-contrast, ) var(--backdrop-grayscale, ) var(--backdrop-hue-rotate, ) var(--backdrop-invert, ) var(--backdrop-opacity, ) var(--backdrop-saturate, ) var(--backdrop-sepia, )}.bkdp-blur_var\\(--_blur\\,_10px\\){--backdrop-blur: blur(var(--_blur, 10px))}.jc_stretch{justify-content:stretch}.cq-n_likec4-search-elements{container-name:likec4-search-elements}.cq-t_size{container-type:size}.d_contents{display:contents}.d_grid{display:grid}.order_6{order:6}.stk_1\\.8{stroke:1.8px}.trunc_end{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trs-dur_normal{--transition-duration: var(--durations-normal);transition-duration:var(--durations-normal)}.trs-dly_0\\.2s{transition-delay:.2s}.fill_none{fill:var(--colors-none)}.stk-w_calc\\(var\\(--xy-edge-stroke-width\\)_\\+_2\\){stroke-width:calc(var(--xy-edge-stroke-width) + 2)}.stk-op_0\\.08{stroke-opacity:.08}.fill_\\[var\\(--xy-edge-stroke\\)\\]{fill:var(--xy-edge-stroke)}.stk_\\[var\\(--xy-edge-stroke\\)\\]{stroke:var(--xy-edge-stroke)}.stk-do_0{stroke-dashoffset:0}.jc_center{justify-content:center}.z_1{z-index:1}.ai_flex-end{align-items:flex-end}.justify-items_stretch{justify-items:stretch}.fs_lg{font-size:var(--font-sizes-lg)}.ai_baseline{align-items:baseline}.flex-wrap_wrap{flex-wrap:wrap}.translate_auto{translate:var(--translate-x) var(--translate-y)}.translate-x_\\[-8px\\]{--translate-x: -8px}.bd-be-w_var\\(--thickness\\){border-block-end-width:var(--thickness)}.cursor_default{cursor:default}.pos_top-start{position:top-start}.op_0\\.65{opacity:.65}.d_block{display:block}.fs_xxs{font-size:var(--font-sizes-xxs)}.lh_sm{line-height:var(--line-heights-sm)}.white-space_nowrap{white-space:nowrap}.white-space-collapse_preserve-breaks{white-space-collapse:preserve-breaks}.c_likec4\\.panel\\.action-icon\\.text{color:var(--colors-likec4-panel-action-icon-text)}.bg-c_likec4\\.panel\\.action-icon\\.bg{background-color:var(--colors-likec4-panel-action-icon-bg)}.op_0\\.8{opacity:.8}.pos_bottom-end{position:bottom-end}.bx-sh_xl{box-shadow:var(--shadows-xl)}.fs_xs{font-size:var(--font-sizes-xs)}.op_0\\.5{opacity:.5}.me_0\\.5{margin-inline-end:var(--spacing-0\\.5)}.fw_400{font-weight:400}.bx-sh_md{box-shadow:var(--shadows-md)}.main-axis_2{main-axis:2px}.lh_1\\.1{line-height:1.1}.pos_right-start{position:right-start}.bx-sh_lg{box-shadow:var(--shadows-lg)}.main-axis_10{main-axis:10px}.op_0\\.6{opacity:.6}.c_orange{color:orange}.pos_top{position:top}.pos_right{position:right}.main-axis_12{main-axis:12px}.ta_center{text-align:center}.bx-sh_inset_1px_1px_3px_0px_\\#00000024{box-shadow:inset 1px 1px 3px #00000024}.trf_translate\\(-50\\%\\,_-50\\%\\){transform:translate(-50%,-50%)}.flex-sh_0{flex-shrink:0}.ms_0{margin-inline-start:var(--spacing-0)}.z_9{z-index:9}.ta_left{text-align:left}.lh_1\\.25{line-height:1.25}.bx-s_border-box{box-sizing:border-box}.pos_fixed{position:fixed}.c_mantine\\.colors\\.text{color:var(--colors-mantine-colors-text)}.bg-c_mantine\\.colors\\.body{background-color:var(--colors-mantine-colors-body)}.bg-i_linear-gradient\\(180deg\\,_color-mix\\(in_srgb\\,_var\\(--likec4-palette-fill\\)_60\\%\\,_transparent\\)\\,_color-mix\\(in_srgb\\,_var\\(--likec4-palette-fill\\)_20\\%\\,_transparent\\)_8px\\,_color-mix\\(in_srgb\\,_var\\(--likec4-palette-fill\\)_14\\%\\,_transparent\\)_20px\\,_transparent_80px_\\)\\,_linear-gradient\\(180deg\\,_var\\(--likec4-palette-fill\\)\\,_var\\(--likec4-palette-fill\\)_4px\\,_transparent_4px\\){background-image:linear-gradient(180deg,color-mix(in srgb,var(--likec4-palette-fill) 60%,transparent),color-mix(in srgb,var(--likec4-palette-fill) 20%,transparent) 8px,color-mix(in srgb,var(--likec4-palette-fill) 14%,transparent) 20px,transparent 80px),linear-gradient(180deg,var(--likec4-palette-fill),var(--likec4-palette-fill) 4px,transparent 4px)}.cursor_move{cursor:move}.ff_likec4\\.element{font-family:var(--fonts-likec4-element)}.font-optical-sizing_auto{font-optical-sizing:auto}.font-style_normal{font-style:normal}.fs_24px{font-size:24px}.lh_xs{line-height:var(--line-heights-xs)}.as_flex-start{align-self:flex-start}.c_\\[var\\(--view-title-color\\,_\\{colors\\.mantine\\.colors\\.gray\\[7\\]\\}\\)\\]{color:var(--view-title-color, var(--colors-mantine-colors-gray\\[7\\]))}.fs_15px{font-size:15px}.lh_1\\.4{line-height:1.4}.c_mantine\\.colors\\.gray\\[7\\]{color:var(--colors-mantine-colors-gray\\[7\\])}.grid-tc_min-content_1fr{grid-template-columns:min-content 1fr}.grid-ar_min-content_max-content{grid-auto-rows:min-content max-content}.justify-self_end{justify-self:end}.ta_right{text-align:right}.cursor_se-resize{cursor:se-resize}.ai_start{align-items:start}.jc_space-between{justify-content:space-between}.stk_1\\.6{stroke:1.6px}.trs-prop_all{--transition-prop: all;transition-property:all}.trs-dur_fast{--transition-duration: var(--durations-fast);transition-duration:var(--durations-fast)}.trs-tmf_inOut{--transition-easing: var(--easings-in-out);transition-timing-function:var(--easings-in-out)}.c_mantine\\.colors\\.gray\\[8\\]{color:var(--colors-mantine-colors-gray\\[8\\])}.white-space_pre{white-space:pre}.ff_mono{font-family:var(--fonts-mono)}.ps_\\[16px\\]{padding-inline-start:16px}.pe_2\\.5{padding-inline-end:var(--spacing-2\\.5)}.stk_1\\.2{stroke:1.2px}.d_inline-block{display:inline-block}.lh_1\\.2{line-height:1.2}.c_var\\(--likec4-palette-hiContrast\\){color:var(--likec4-palette-hiContrast)}.fs_xl{font-size:var(--font-sizes-xl)}.c_mantine\\.colors\\.defaultColor{color:var(--colors-mantine-colors-default-color)}.bx-sh_none{box-shadow:var(--shadows-none)}.d_inline-flex{display:inline-flex}.pos_top-right{position:top-right}.pos_top-left{position:top-left}.grid-cs_1{grid-column-start:1}.grid-ce_4{grid-column-end:4}.grid-tc_1fr_30px_1fr{grid-template-columns:1fr 30px 1fr}.justify-items_start{justify-items:start}.c_dark{color:dark}.stk_3\\.5{stroke:3.5px}.cq-n_likec4-tree{container-name:likec4-tree}.cq-t_inline-size{container-type:inline-size}.fs_10px{font-size:10px}.lh_1\\.3{line-height:1.3}.order_2{order:2}.grayscale_0{--grayscale: grayscale(0)}.grayscale_0\\.9{--grayscale: grayscale(.9)}.filter_auto{filter:var(--blur, ) var(--brightness, ) var(--contrast, ) var(--grayscale, ) var(--hue-rotate, ) var(--invert, ) var(--saturate, ) var(--sepia, ) var(--drop-shadow, )}.cross-axis_50{cross-axis:50px}.sr_true{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fs_13px{font-size:13px}.fs_16px{font-size:16px}.c_mantine\\.colors\\.dark\\[1\\]{color:var(--colors-mantine-colors-dark\\[1\\])}.fs_12px{font-size:12px}.fs_md{font-size:var(--font-sizes-md)}.bg-c_\\[rgb\\(34_34_34_\\/_0\\.7\\)\\]{background-color:#222222b3}.z_902{z-index:902}.bkdp-blur_10px{--backdrop-blur: blur(10px)}.trf_translateX\\(-50\\%\\){transform:translate(-50%)}.z_903{z-index:903}.mix-bm_normal{mix-blend-mode:normal}.fill_var\\(--likec4-palette-relation-stroke\\){fill:var(--likec4-palette-relation-stroke)}.stk_var\\(--likec4-palette-relation-stroke\\){stroke:var(--likec4-palette-relation-stroke)}.fill-opacity_0\\.75{fill-opacity:.75}.stk-w_1{stroke-width:1}.cursor_grab{cursor:grab}.pointer-events_auto{pointer-events:auto}.vis_hidden{visibility:hidden}.cursor_grabbing{cursor:grabbing}.bg-c_var\\(--likec4-palette-fill\\)\\/15{--mix-backgroundColor: color-mix(in srgb, var(--likec4-palette-fill) 15%, transparent);background-color:var(--mix-backgroundColor, var(--likec4-palette-fill))}.fw_bold{font-weight:700}.ls_\\.75px{letter-spacing:.75px}.c_\\[var\\(--_color\\)\\/75\\]{--mix-color: color-mix(in srgb, var(--_color) 75%, transparent);color:var(--mix-color, var(--_color))}.bg-c_var\\(--likec4-palette-fill\\){background-color:var(--likec4-palette-fill)}.translate-x_-1\\/2{--translate-x: -50%}.translate-y_-1\\/2{--translate-y: -50%}.bg-c_mantine\\.colors\\.body\\/80{--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-body) 80%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-body))}.fill_var\\(--likec4-palette-fill\\){fill:var(--likec4-palette-fill)}.stk_var\\(--likec4-palette-stroke\\){stroke:var(--likec4-palette-stroke)}.filter_drop-shadow\\(0_2px_3px_rgb\\(0_0_0_\\/_22\\%\\)\\)_drop-shadow\\(0_1px_8px_rgb\\(0_0_0_\\/_10\\%\\)\\){filter:drop-shadow(0 2px 3px rgb(0 0 0 / 22%)) drop-shadow(0 1px 8px rgb(0 0 0 / 10%))}.ls_0\\.2px{letter-spacing:.2px}.tt_lowercase{text-transform:lowercase}.op_0\\.25{opacity:.25}.stk-w_5{stroke-width:5}.pos_right-end{position:right-end}.jc_flex-start{justify-content:flex-start}.pos_left-start{position:left-start}.tov_ellipsis{text-overflow:ellipsis}.top_1rem{top:1rem}.right_1rem{right:1rem}.top_0{top:var(--spacing-0)}.left_0{left:var(--spacing-0)}.w_100\\%{width:100%}.h_100\\%{height:100%}.mt_xl{margin-top:var(--spacing-xl)}.min-h_24{min-height:24px}.max-w_500{max-width:500px}.pr_0{padding-right:var(--spacing-0)}.h_12{height:12px}.w_12{width:12px}.h_30px{height:30px}.pl_sm{padding-left:var(--spacing-sm)}.pr_1{padding-right:var(--spacing-1)}.pr_2\\.5{padding-right:var(--spacing-2\\.5)}.max-w_calc\\(100vw\\){max-width:100vw}.pr_md{padding-right:var(--spacing-md)}.max-w_200px{max-width:200px}.max-w_calc\\(100vw_-_50px\\){max-width:calc(100vw - 50px)}.max-w_calc\\(100vw_-_250px\\){max-width:calc(100vw - 250px)}.max-h_calc\\(100vh_-_200px\\){max-height:calc(100vh - 200px)}.max-h_calc\\(100vh_-_160px\\){max-height:calc(100vh - 160px)}.mb_1{margin-bottom:var(--spacing-1)}.max-h_100vh{max-height:100vh}.pt_\\[20px\\]{padding-top:20px}.pl_md{padding-left:var(--spacing-md)}.pb_sm{padding-bottom:var(--spacing-sm)}.pr_xs{padding-right:var(--spacing-xs)}.lc_5{-webkit-line-clamp:5}.lc_5,.lc_2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical}.lc_2{-webkit-line-clamp:2}.lc_3{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.max-h_8rem{max-height:8rem}.top_0\\.5{top:var(--spacing-0\\.5)}.right_0\\.5{right:var(--spacing-0\\.5)}.bottom_0{bottom:var(--spacing-0)}.max-w_50{max-width:50px}.h_5{height:5px}.w_max-content{width:max-content}.pt_2{padding-top:var(--spacing-2)}.mt_2{margin-top:var(--spacing-2)}.mt_0{margin-top:var(--spacing-0)}.pl_2\\.5{padding-left:var(--spacing-2\\.5)}.bd-l-c_mantine\\.colors\\.gray\\[3\\]{border-left-color:var(--colors-mantine-colors-gray\\[3\\])}.w_\\[20px\\]{width:20px}.mt_1{margin-top:var(--spacing-1)}.mb_xxs{margin-bottom:var(--spacing-xxs)}.pb_lg{padding-bottom:var(--spacing-lg)}.max-w_calc\\(100cqw_-_52px\\){max-width:calc(100cqw - 52px)}.min-w_200px{min-width:200px}.max-h_calc\\(100cqh_-_100px\\){max-height:calc(100cqh - 100px)}.h_auto{height:auto}.pt_6{padding-top:var(--spacing-6)}.mb_10{margin-bottom:var(--spacing-10)}.pt_100\\%{padding-top:100%}.left_2{left:var(--spacing-2)}.bottom_2{bottom:var(--spacing-2)}.mt_xs{margin-top:var(--spacing-xs)}.top_md{top:var(--spacing-md)}.left_md{left:var(--spacing-md)}.w_8{width:8px}.h_8{height:8px}.mr_sm{margin-right:var(--spacing-sm)}.h_26{height:26px}.top_\\[1px\\]{top:1px}.right_\\[1px\\]{right:1px}.pt_xxs{padding-top:var(--spacing-xxs)}.max-w_calc\\(100cqw_-_32px\\){max-width:calc(100cqw - 32px)}.min-w_calc\\(100cqw_-_50px\\){min-width:calc(100cqw - 50px)}.w_100vw{width:100vw}.h_100vh{height:100vh}.max-w_100vw{max-width:100vw}.h_40px{height:40px}.w_40px{width:40px}.w_14px{width:14px}.h_14px{height:14px}.bottom_0\\.5{bottom:var(--spacing-0\\.5)}.mb_sm{margin-bottom:var(--spacing-sm)}.lc_1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.mt_6{margin-top:var(--spacing-6)}.pt_xs{padding-top:var(--spacing-xs)}.pr_xxs{padding-right:var(--spacing-xxs)}.mb_0{margin-bottom:var(--spacing-0)}.h_36px{height:36px}.min-w_24{min-width:24px}.mb_4{margin-bottom:var(--spacing-4)}.top_12{top:12px}.right_12{right:12px}.mt_sm{margin-top:var(--spacing-sm)}.ml_sm{margin-left:var(--spacing-sm)}.pl_1{padding-left:var(--spacing-1)}.bd-b-c_mantine\\.colors\\.defaultBorder{border-bottom-color:var(--colors-mantine-colors-default-border)}.max-h_70vh{max-height:70vh}.mb_2{margin-bottom:var(--spacing-2)}.max-w_8xl{max-width:8xl}.pl_\\[48px\\]{padding-left:48px}.mr_1{margin-right:var(--spacing-1)}.min-h_60px{min-height:60px}.h_var\\(--likec4-icon-size\\,_24px\\){height:var(--likec4-icon-size, 24px)}.w_var\\(--likec4-icon-size\\,_24px\\){width:var(--likec4-icon-size, 24px)}.top_\\[2rem\\]{top:2rem}.left_\\[50\\%\\]{left:50%}.max-w_600px{max-width:600px}.pl_2{padding-left:var(--spacing-2)}.pt_0\\.5{padding-top:var(--spacing-0\\.5)}.w_5px{width:5px}.top_1{top:var(--spacing-1)}.right_0{right:var(--spacing-0)}.w_min-content{width:min-content}.h_min-content{height:min-content}.min-w_200{min-width:200px}.max-w_calc\\(100vw_-_20px\\){max-width:calc(100vw - 20px)}.pt_0{padding-top:var(--spacing-0)}.pb_0{padding-bottom:var(--spacing-0)}.ml_2{margin-left:var(--spacing-2)}.h_xs{height:xs}.pb_8{padding-bottom:var(--spacing-8)}.pt_4{padding-top:var(--spacing-4)}.max-w_220px{max-width:220px}.\\[\\&_\\.action-icon\\]\\:--ai-size_2rem .action-icon{--ai-size: 2rem}[data-mantine-color-scheme=light] .light\\:--icon-color_\\{colors\\.mantine\\.colors\\.gray\\[6\\]\\}{--icon-color: var(--colors-mantine-colors-gray\\[6\\])}[data-mantine-color-scheme=light] .light\\:--view-title-color_\\{colors\\.mantine\\.colors\\.gray\\[7\\]\\}{--view-title-color: var(--colors-mantine-colors-gray\\[7\\])}.\\[\\&_\\.mantine-ThemeIcon-root\\]\\:--ti-size_22px .mantine-ThemeIcon-root{--ti-size: 22px}[data-mantine-color-scheme=dark] .dark\\:--_color_\\[color-mix\\(in_srgb\\,_var\\(--likec4-palette-hiContrast\\)_40\\%\\,_var\\(--likec4-palette-fill\\)\\)\\]{--_color: color-mix(in srgb, var(--likec4-palette-hiContrast) 40%, var(--likec4-palette-fill))}.likec4-root:not([data-likec4-reduced-graphics]) .noReduceGraphics\\:--ai-radius_\\{radii\\.md\\}{--ai-radius: var(--radii-md)}[data-mantine-color-scheme=light] .light\\:bg_mantine\\.colors\\.white{background:var(--colors-mantine-colors-white)}[data-mantine-color-scheme=dark] .dark\\:bg_mantine\\.colors\\.dark\\[6\\]{background:var(--colors-mantine-colors-dark\\[6\\])}.before\\:bg_\\[transparent\\]:before{background:var(--colors-transparent)}[data-mantine-color-scheme=light] .light\\:bg_var\\(--likec4-palette-fill\\)\\/90{--mix-background: color-mix(in srgb, var(--likec4-palette-fill) 90%, transparent);background:var(--mix-background, var(--likec4-palette-fill))}[data-mantine-color-scheme=dark] .dark\\:bg_var\\(--likec4-palette-fill\\)\\/60{--mix-background: color-mix(in srgb, var(--likec4-palette-fill) 60%, transparent);background:var(--mix-background, var(--likec4-palette-fill))}[data-mantine-color-scheme=dark] .dark\\:bg_mantine\\.colors\\.dark\\[5\\]{background:var(--colors-mantine-colors-dark\\[5\\])}[data-mantine-color-scheme=dark] .dark\\:bg_mantine\\.colors\\.dark\\[7\\]{background:var(--colors-mantine-colors-dark\\[7\\])}.\\[\\&\\[data-active\\]\\]\\:bg_mantine\\.colors\\.white[data-active]{background:var(--colors-mantine-colors-white)}[data-mantine-color-scheme=light] .light\\:bg_mantine\\.colors\\.gray\\[1\\]{background:var(--colors-mantine-colors-gray\\[1\\])}.\\[\\&\\[data-missing\\]\\]\\:bg_mantine\\.colors\\.orange\\[8\\]\\/15[data-missing]{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-orange\\[8\\]) 15%, transparent);background:var(--mix-background, var(--colors-mantine-colors-orange\\[8\\]))}.\\[\\&\\[data-missing\\]\\]\\:bg_mantine\\.colors\\.orange\\[8\\]\\/20[data-missing]{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-orange\\[8\\]) 20%, transparent);background:var(--mix-background, var(--colors-mantine-colors-orange\\[8\\]))}[data-mantine-color-scheme=light] .light\\:bg_mantine\\.colors\\.gray\\[3\\]\\/20{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-gray\\[3\\]) 20%, transparent);background:var(--mix-background, var(--colors-mantine-colors-gray\\[3\\]))}[data-mantine-color-scheme=dark] .dark\\:bg_mantine\\.colors\\.dark\\[6\\]\\/80{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-dark\\[6\\]) 80%, transparent);background:var(--mix-background, var(--colors-mantine-colors-dark\\[6\\]))}[data-mantine-color-scheme=light] .light\\:bg_mantine\\.colors\\.white\\/80{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-white) 80%, transparent);background:var(--mix-background, var(--colors-mantine-colors-white))}[data-mantine-color-scheme=light] .light\\:bd-c_mantine\\.colors\\.gray\\[4\\]{border-color:var(--colors-mantine-colors-gray\\[4\\])}[data-mantine-color-scheme=dark] .dark\\:bd-c_mantine\\.colors\\.dark\\[4\\]{border-color:var(--colors-mantine-colors-dark\\[4\\])}.likec4-root:is([data-likec4-diagram-panning=true]) .whenPanning\\:transition_none\\!{transition:none!important}[data-mantine-color-scheme=light] .light\\:bd-c_mantine\\.colors\\.gray\\[2\\]{border-color:var(--colors-mantine-colors-gray\\[2\\])}[data-mantine-color-scheme=dark] .dark\\:bd-c_mantine\\.colors\\.dark\\[7\\]{border-color:var(--colors-mantine-colors-dark\\[7\\])}.likec4-root:is([data-likec4-reduced-graphics]) .reduceGraphics\\:transition_none{transition:none}.likec4-root:not([data-likec4-reduced-graphics]) .noReduceGraphics\\:transition_stroke_130ms_ease-out\\,stroke-width_130ms_ease-out{transition:stroke .13s ease-out,stroke-width .13s ease-out}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:bdr_4{border-radius:4px}.\\[\\&_\\.mantine-ThemeIcon-root\\]\\:transition_fast .mantine-ThemeIcon-root{transition:all var(--durations-fast) var(--easings-in-out)}.\\[\\&_\\>_\\*\\]\\:transition_all_130ms_\\{easings\\.inOut\\}>*{transition:all .13s var(--easings-in-out)}.\\[\\&\\[data-active\\]\\]\\:transition_none[data-active]{transition:none}.\\[\\&_\\>_\\*\\]\\:transition_fast>*,.\\[\\&_\\.tabler-icon\\]\\:transition_fast .tabler-icon{transition:all var(--durations-fast) var(--easings-in-out)}.\\[\\&\\[data-missing\\]\\]\\:bd-c_mantine\\.colors\\.orange\\[5\\]\\/20[data-missing]{--mix-borderColor: color-mix(in srgb, var(--colors-mantine-colors-orange\\[5\\]) 20%, transparent);border-color:var(--mix-borderColor, var(--colors-mantine-colors-orange\\[5\\]))}[data-mantine-color-scheme=light] .light\\:bd-c_mantine\\.colors\\.gray\\[3\\]{border-color:var(--colors-mantine-colors-gray\\[3\\])}.\\[\\&\\:last-child_\\.likec4-edge-label\\]\\:bd-b_none:last-child .likec4-edge-label{border-bottom:var(--borders-none)}.\\[\\&_\\>_\\*\\]\\:transition_all_0\\.15s_ease-in>*{transition:all .15s ease-in}[data-mantine-color-scheme=dark] .dark\\:bd-c_transparent{border-color:var(--colors-transparent)}:where(.react-flow__edge.selected,[data-likec4-hovered=true]) .\\[\\:where\\(\\.react-flow__edge\\.selected\\,_\\[data-likec4-hovered\\=\\'true\\'\\]\\)_\\&\\]\\:transition_fill-opacity_150ms_ease-out\\,_stroke_150ms_ease-out\\,_stroke-width_150ms_ease-out{transition:fill-opacity .15s ease-out,stroke .15s ease-out,stroke-width .15s ease-out}.\\[\\&_\\:where\\(\\.likec4-diagram\\,_\\.likec4-compound-node\\,_\\.likec4-element-node\\)\\]\\:cursor_pointer :where(.likec4-diagram,.likec4-compound-node,.likec4-element-node){cursor:pointer}[data-mantine-color-scheme=dark] .dark\\:bg-c_\\[rgb\\(34_34_34_\\/_10\\%\\)\\]{background-color:#2222221a}[data-mantine-color-scheme=light] .light\\:bg-c_\\[rgb\\(15_15_15\\/_20\\%\\)\\]{background-color:#0f0f0f33}.\\[\\&\\:is\\(\\[data-position\\=\\"left\\"\\]\\)\\]\\:c_mantine\\.colors\\.dimmed:is([data-position=left]){color:var(--colors-mantine-colors-dimmed)}.\\[\\&\\:is\\(\\[data-position\\=\\"left\\"\\]\\)\\]\\:us_none:is([data-position=left]){-webkit-user-select:none;user-select:none}.\\[\\&\\:is\\(\\[data-position\\=\\"left\\"\\]\\)\\]\\:pointer-events_none:is([data-position=left]){pointer-events:none}[data-mantine-color-scheme=light] .light\\:fill_\\[\\#222221\\]{fill:#222221}.\\[\\&_\\.tabler-icon\\]\\:c_mantine\\.colors\\.text .tabler-icon{color:var(--colors-mantine-colors-text)}.likec4-root:is([data-likec4-diagram-panning=true]) .whenPanning\\:bx-sh_none\\!{box-shadow:var(--shadows-none)!important}[data-mantine-color-scheme=light] .light\\:c_mantine\\.colors\\.gray\\[7\\]{color:var(--colors-mantine-colors-gray\\[7\\])}[data-mantine-color-scheme=dark] .dark\\:c_mantine\\.colors\\.dark\\[0\\]{color:var(--colors-mantine-colors-dark\\[0\\])}[data-mantine-color-scheme=light] .light\\:bg-c_mantine\\.colors\\.gray\\[2\\]\\/70{--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-gray\\[2\\]) 70%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-gray\\[2\\]))}[data-mantine-color-scheme=dark] .dark\\:bg-c_mantine\\.colors\\.dark\\[8\\]\\/70{--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-dark\\[8\\]) 70%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-dark\\[8\\]))}.empty\\:d_none:is(:empty,[data-empty]){display:none}.\\[\\&_\\>_mark\\]\\:bg-c_mantine\\.colors\\.yellow\\[2\\]\\/90>mark{--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-yellow\\[2\\]) 90%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-yellow\\[2\\]))}[data-mantine-color-scheme=dark] .dark\\:op_0\\.5{opacity:.5}[data-mantine-color-scheme=dark] .dark\\:bg-c_mantine\\.colors\\.dark\\[5\\]\\/80{--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-dark\\[5\\]) 80%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-dark\\[5\\]))}.placeholder\\:c_mantine\\.colors\\.dimmed::placeholder,.placeholder\\:c_mantine\\.colors\\.dimmed[data-placeholder]{color:var(--colors-mantine-colors-dimmed)}[data-mantine-color-scheme=dark] .dark\\:c_mantine\\.colors\\.dark\\[3\\]{color:var(--colors-mantine-colors-dark\\[3\\])}[data-mantine-color-scheme=light] .light\\:bg-c_\\[rgb\\(250_250_250_\\/_var\\(--_opacity\\,_95\\%\\)\\)\\]{background-color:rgb(250 250 250 / var(--_opacity, 95%))}.likec4-root:not([data-likec4-reduced-graphics]) .noReduceGraphics\\:trs-prop_stroke-width\\,_stroke-opacity{--transition-prop: stroke-width, stroke-opacity;transition-property:stroke-width,stroke-opacity}.likec4-root:not([data-likec4-reduced-graphics]) .noReduceGraphics\\:trs-dur_fast{--transition-duration: var(--durations-fast);transition-duration:var(--durations-fast)}.likec4-root:not([data-likec4-reduced-graphics]) .noReduceGraphics\\:trs-tmf_inOut{--transition-easing: var(--easings-in-out);transition-timing-function:var(--easings-in-out)}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:trs-tmf_out{--transition-easing: var(--easings-out);transition-timing-function:var(--easings-out)}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:stk-w_calc\\(var\\(--xy-edge-stroke-width\\)_\\+_4\\){stroke-width:calc(var(--xy-edge-stroke-width) + 4)}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:stk-op_0\\.2{stroke-opacity:.2}:where(.react-flow__node,.react-flow__edge):is(.selected) .whenSelected\\:stk-w_calc\\(var\\(--xy-edge-stroke-width\\)_\\+_6\\){stroke-width:calc(var(--xy-edge-stroke-width) + 6)}:where(.react-flow__node,.react-flow__edge):is(.selected) .whenSelected\\:stk-op_0\\.25{stroke-opacity:.25}.likec4-root:not([data-likec4-reduced-graphics]) .noReduceGraphics\\:anim-ps_paused{animation-play-state:paused}:where([data-edge-dir=back]) .\\[\\:where\\(\\[data-edge-dir\\=\\'back\\'\\]\\)_\\&\\]\\:anim-dir_reverse{animation-direction:reverse}:where(.react-flow__node,.react-flow__edge):has([data-likec4-dimmed]) .whenDimmed\\:anim-ps_paused{animation-play-state:paused}:where([data-likec4-zoom-small=true]) .smallZoom\\:anim-n_none{animation-name:none}.likec4-root:is([data-likec4-diagram-panning=true]) .whenPanning\\:stk-dsh_none\\!{stroke-dasharray:none!important}.likec4-root:is([data-likec4-diagram-panning=true]) .whenPanning\\:anim-ps_paused{animation-play-state:paused}:where([data-likec4-zoom-small=true]) .smallZoom\\:d_none{display:none}.before\\:content_\\"_\\":before{content:" "}.before\\:pos_absolute:before{position:absolute}.before\\:pointer-events_all:before{pointer-events:all}:where(.react-flow__node.selectable:not(.dragging)) .\\[\\:where\\(\\.react-flow__node\\.selectable\\:not\\(\\.dragging\\)\\)_\\&\\]\\:cursor_pointer{cursor:pointer}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:trs-dly_\\.08s{transition-delay:.08s}.likec4-root:is([data-likec4-diagram-panning=true]) .whenPanning\\:pointer-events_none{pointer-events:none}[data-mantine-color-scheme=light] .light\\:c_var\\(--likec4-palette-hiContrast\\){color:var(--likec4-palette-hiContrast)}[data-mantine-color-scheme=dark] .dark\\:c_var\\(--likec4-palette-loContrast\\){color:var(--likec4-palette-loContrast)}[data-mantine-color-scheme=dark] .dark\\:c_mantine\\.colors\\.gray\\[4\\]{color:var(--colors-mantine-colors-gray\\[4\\])}[data-mantine-color-scheme=light] .light\\:c_mantine\\.colors\\.gray\\[8\\]{color:var(--colors-mantine-colors-gray\\[8\\])}[data-mantine-color-scheme=light] .light\\:c_mantine\\.colors\\.gray\\[9\\]{color:var(--colors-mantine-colors-gray\\[9\\])}.\\[\\&\\:is\\(\\[data-position\\=\\"right\\"\\]\\)\\]\\:ms_1:is([data-position=right]){margin-inline-start:var(--spacing-1)}.\\[\\&_\\:where\\(button\\,_\\.action-icon\\,_\\[role\\=\\'dialog\\'\\]\\)\\]\\:pointer-events_all :where(button,.action-icon,[role=dialog]){pointer-events:all}.likec4-root:is([data-likec4-diagram-panning=true]) .whenPanning\\:bx-sh_none{box-shadow:var(--shadows-none)}.backdrop\\:bkdp_auto::backdrop{backdrop-filter:var(--backdrop-blur, ) var(--backdrop-brightness, ) var(--backdrop-contrast, ) var(--backdrop-grayscale, ) var(--backdrop-hue-rotate, ) var(--backdrop-invert, ) var(--backdrop-opacity, ) var(--backdrop-saturate, ) var(--backdrop-sepia, );-webkit-backdrop-filter:var(--backdrop-blur, ) var(--backdrop-brightness, ) var(--backdrop-contrast, ) var(--backdrop-grayscale, ) var(--backdrop-hue-rotate, ) var(--backdrop-invert, ) var(--backdrop-opacity, ) var(--backdrop-saturate, ) var(--backdrop-sepia, )}.backdrop\\:bkdp-blur_var\\(--_blur\\)::backdrop{--backdrop-blur: blur(var(--_blur))}.backdrop\\:bg-c_\\[rgb\\(36_36_36_\\/_var\\(--_opacity\\,_5\\%\\)\\)\\]::backdrop{background-color:rgb(36 36 36 / var(--_opacity, 5%))}[data-mantine-color-scheme=dark] .dark\\:bg-c_mantine\\.colors\\.dark\\[6\\]{background-color:var(--colors-mantine-colors-dark\\[6\\])}.\\[\\&_\\.react-flow__attribution\\]\\:d_none .react-flow__attribution{display:none}[data-mantine-color-scheme=dark] .dark\\:mix-bm_hard-light{mix-blend-mode:hard-light}.\\[\\&_\\:where\\(svg\\,_img\\)\\]\\:pointer-events_none :where(svg,img){pointer-events:none}.\\[\\&_\\:where\\(svg\\,_img\\)\\]\\:filter_drop-shadow\\(0_0_3px_rgb\\(0_0_0_\\/_10\\%\\)\\)_drop-shadow\\(0_1px_8px_rgb\\(0_0_0_\\/_5\\%\\)\\)_drop-shadow\\(1px_1px_16px_rgb\\(0_0_0_\\/_2\\%\\)\\) :where(svg,img){filter:drop-shadow(0 0 3px rgb(0 0 0 / 10%)) drop-shadow(0 1px 8px rgb(0 0 0 / 5%)) drop-shadow(1px 1px 16px rgb(0 0 0 / 2%))}.\\[\\&_img\\]\\:obj-f_contain img{object-fit:contain}.\\[\\&_\\.mantine-ThemeIcon-root\\]\\:c_\\[var\\(--icon-color\\,_\\{colors\\.mantine\\.colors\\.dark\\[2\\]\\}\\)\\] .mantine-ThemeIcon-root{color:var(--icon-color, var(--colors-mantine-colors-dark\\[2\\]))}.\\[\\&\\[data-active\\]\\]\\:bx-sh_xs[data-active]{box-shadow:var(--shadows-xs)}.\\[\\&\\[data-active\\]\\]\\:c_mantine\\.colors\\.defaultColor[data-active]{color:var(--colors-mantine-colors-default-color)}[data-mantine-color-scheme=dark] .dark\\:c_mantine\\.colors\\.dark\\[1\\]{color:var(--colors-mantine-colors-dark\\[1\\])}[data-mantine-color-scheme=dark] .dark\\:c_mantine\\.colors\\.gray\\.lightColor{color:var(--colors-mantine-colors-gray-light-color)}.\\[\\&_\\.tabler-icon\\]\\:op_0\\.65 .tabler-icon{opacity:.65}.\\[\\&\\[data-missing\\]\\]\\:c_mantine\\.colors\\.orange\\[4\\][data-missing]{color:var(--colors-mantine-colors-orange\\[4\\])}.before\\:content_\\"scope\\:\\":before{content:"scope:"}.before\\:fs_xxs:before{font-size:var(--font-sizes-xxs)}.before\\:fw_500:before{font-weight:500}.before\\:lh_1:before{line-height:var(--line-heights-1)}.before\\:c_mantine\\.colors\\.dimmed:before{color:var(--colors-mantine-colors-dimmed)}.before\\:op_0\\.85:before{opacity:.85}.before\\:trf_translateY\\(-100\\%\\)_translateY\\(-2px\\):before{transform:translateY(-100%) translateY(-2px)}.\\[\\&\\[data-zero\\]\\]\\:c_mantine\\.colors\\.dimmed[data-zero]{color:var(--colors-mantine-colors-dimmed)}.\\[\\&_\\.mantine-Text-root\\]\\:c_mantine\\.colors\\.text\\/90 .mantine-Text-root{--mix-color: color-mix(in srgb, var(--colors-mantine-colors-text) 90%, transparent);color:var(--mix-color, var(--colors-mantine-colors-text))}.\\[\\&_\\.mantine-Text-root\\]\\:fs_xs .mantine-Text-root{font-size:var(--font-sizes-xs)}.\\[\\&_\\.mantine-Text-root\\]\\:fw_500 .mantine-Text-root{font-weight:500}.\\[\\&_\\.mantine-Text-root\\]\\:lh_1\\.2 .mantine-Text-root{line-height:1.2}.\\[\\&_\\.mantine-Text-root\\]\\:fs_xxs .mantine-Text-root{font-size:var(--font-sizes-xxs)}.\\[\\&_\\.mantine-Text-root\\]\\:fw_400 .mantine-Text-root{font-weight:400}.\\[\\&_\\.mantine-Text-root\\]\\:lh_xs .mantine-Text-root{line-height:var(--line-heights-xs)}.\\[\\&_\\.mantine-Text-root\\]\\:c_mantine\\.colors\\.dimmed .mantine-Text-root{color:var(--colors-mantine-colors-dimmed)}.\\[\\&\\[data-disabled\\]_\\.mantine-ThemeIcon-root\\]\\:op_0\\.45[data-disabled] .mantine-ThemeIcon-root{opacity:.45}:where(.likec4-view-btn[data-disabled]) .\\[\\:where\\(\\.likec4-view-btn\\[data-disabled\\]\\)_\\&\\]\\:op_0\\.85{opacity:.85}[data-mantine-color-scheme=light] .light\\:c_mantine\\.colors\\.gray\\[5\\]{color:var(--colors-mantine-colors-gray\\[5\\])}.\\[\\&_svg\\,_\\&_img\\]\\:pointer-events_none svg,.\\[\\&_svg\\,_\\&_img\\]\\:pointer-events_none img{pointer-events:none}.\\[\\&\\.likec4-shape-icon_svg\\]\\:stk-w_1\\.5.likec4-shape-icon svg{stroke-width:1.5}:where([data-disabled]) .\\[\\:where\\(\\[data-disabled\\]\\)_\\&\\]\\:op_0\\.4{opacity:.4}:where([data-disabled]) .\\[\\:where\\(\\[data-disabled\\]\\)_\\&\\]\\:op_0\\.85{opacity:.85}[data-mantine-color-scheme=light] .light\\:bg-c_\\[rgb\\(255_255_255_\\/_0\\.6\\)\\]{background-color:#fff9}:where(.react-flow__edge.selected,[data-likec4-hovered=true]) .\\[\\:where\\(\\.react-flow__edge\\.selected\\,_\\[data-likec4-hovered\\=\\'true\\'\\]\\)_\\&\\]\\:vis_visible{visibility:visible}:where(.react-flow__edge.selected,[data-likec4-hovered=true]) .\\[\\:where\\(\\.react-flow__edge\\.selected\\,_\\[data-likec4-hovered\\=\\'true\\'\\]\\)_\\&\\]\\:trs-dly_50ms{transition-delay:50ms}:where(.react-flow__edge.selected,[data-likec4-hovered=true]) .\\[\\:where\\(\\.react-flow__edge\\.selected\\,_\\[data-likec4-hovered\\=\\'true\\'\\]\\)_\\&\\]\\:fill-opacity_1{fill-opacity:1}:where(.react-flow__edge.selected,[data-likec4-hovered=true]) .\\[\\:where\\(\\.react-flow__edge\\.selected\\,_\\[data-likec4-hovered\\=\\'true\\'\\]\\)_\\&\\]\\:stk-w_5{stroke-width:5}.\\[\\&_\\*\\]\\:cursor_grabbing\\! *,.\\[\\&_\\.react-flow__edge-interaction\\]\\:cursor_grabbing\\! .react-flow__edge-interaction{cursor:grabbing!important}[data-mantine-color-scheme=dark] .dark\\:bg-c_mantine\\.colors\\.dark\\[6\\]\\/80{--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-dark\\[6\\]) 80%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-dark\\[6\\]))}.\\[\\&_\\.mantine-ScrollArea-viewport\\]\\:min-h_100\\% .mantine-ScrollArea-viewport{min-height:100%}:where([data-likec4-shape=browser]) .shapeBrowser\\:right_\\[5px\\]{right:5px}:where([data-likec4-shape=cylinder]) .shapeCylinder\\:top_\\[14px\\]{top:14px}:where([data-likec4-shape=storage]) .shapeStorage\\:top_\\[14px\\]{top:14px}:where([data-likec4-shape=queue]) .shapeQueue\\:top_\\[1px\\]{top:1px}:where([data-likec4-shape=queue]) .shapeQueue\\:right_3{right:var(--spacing-3)}.before\\:top_\\[calc\\(100\\%_-_4px\\)\\]:before{top:calc(100% - 4px)}.before\\:left_0:before{left:var(--spacing-0)}.before\\:w_100\\%:before{width:100%}.before\\:h_24px:before{height:24px}:where([data-likec4-shape=cylinder]) .shapeCylinder\\:bottom_\\[5px\\]{bottom:5px}:where([data-likec4-shape=storage]) .shapeStorage\\:bottom_\\[5px\\]{bottom:5px}:where([data-likec4-shape=queue]) .shapeQueue\\:bottom_0{bottom:var(--spacing-0)}:where([data-likec4-shape=queue]) .shapeQueue\\:pl_\\[14px\\]{padding-left:14px}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:h_12{height:12px}[data-mantine-color-scheme=dark] .dark\\:bd-l-c_mantine\\.colors\\.dark\\[4\\]{border-left-color:var(--colors-mantine-colors-dark\\[4\\])}.\\[\\&_\\>_svg\\]\\:w_70\\%>svg{width:70%}.\\[\\&_\\>_svg\\]\\:h_70\\%>svg{height:70%}.\\[\\&_\\.tabler-icon\\]\\:w_65\\% .tabler-icon{width:65%}.\\[\\&_\\.tabler-icon\\]\\:h_65\\% .tabler-icon{height:65%}.\\[\\&_\\:where\\(svg\\,_img\\)\\]\\:w_100\\% :where(svg,img){width:100%}.\\[\\&_\\:where\\(svg\\,_img\\)\\]\\:h_auto :where(svg,img){height:auto}.\\[\\&_\\:where\\(svg\\,_img\\)\\]\\:max-h_100\\% :where(svg,img){max-height:100%}.\\[\\&\\:not\\(\\:has\\(\\.mantine-ScrollArea-root\\)\\)\\]\\:pl_1:not(:has(.mantine-ScrollArea-root)){padding-left:var(--spacing-1)}.\\[\\&\\:not\\(\\:has\\(\\.mantine-ScrollArea-root\\)\\)\\]\\:pr_1:not(:has(.mantine-ScrollArea-root)){padding-right:var(--spacing-1)}.\\[\\&_\\.mantine-ScrollArea-root\\]\\:w_100\\% .mantine-ScrollArea-root{width:100%}.\\[\\&_\\.mantine-ScrollArea-root\\]\\:h_100\\% .mantine-ScrollArea-root{height:100%}.\\[\\&\\[data-level\\=\\'1\\'\\]\\]\\:mb_sm[data-level="1"]{margin-bottom:var(--spacing-sm)}.\\[\\&_\\.tabler-icon\\]\\:w_90\\% .tabler-icon{width:90%}.before\\:top_0:before{top:var(--spacing-0)}.before\\:left_2:before{left:var(--spacing-2)}.\\[\\&\\:last-child_\\.likec4-edge-label\\]\\:mb_0:last-child .likec4-edge-label{margin-bottom:var(--spacing-0)}.\\[\\&_svg\\,_\\&_img\\]\\:w_100\\% svg,.\\[\\&_svg\\,_\\&_img\\]\\:w_100\\% img{width:100%}.\\[\\&_svg\\,_\\&_img\\]\\:h_auto svg,.\\[\\&_svg\\,_\\&_img\\]\\:h_auto img{height:auto}.\\[\\&_svg\\,_\\&_img\\]\\:max-h_100\\% svg,.\\[\\&_svg\\,_\\&_img\\]\\:max-h_100\\% img{max-height:100%}:is(.\\[\\&_\\+_\\&\\]\\:mt_\\[32px\\])+:is(.\\[\\&_\\+_\\&\\]\\:mt_\\[32px\\]){margin-top:32px}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:w_7px{width:7px}:where(.react-flow__node,.react-flow__edge):is(.selected) .whenSelected\\:w_7px{width:7px}.focusWithin\\:bg_mantine\\.colors\\.gray\\[4\\]\\/55\\!:focus-within{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-gray\\[4\\]) 55%, transparent) !important;background:var(--mix-background, var(--colors-mantine-colors-gray\\[4\\]))!important}.group:focus-within .groupFocusWithin\\:op_1{opacity:1}.group:focus-within .groupFocusWithin\\:grayscale_0{--grayscale: grayscale(0)}.focus\\:bg_mantine\\.colors\\.primary\\[8\\]:is(:focus,[data-focus]){background:var(--colors-mantine-colors-primary\\[8\\])}.mantine-Tree-node:focus>.mantine-Tree-label .\\[\\.mantine-Tree-node\\:focus_\\>_\\.mantine-Tree-label_\\&\\]\\:bg_mantine\\.colors\\.primary\\[8\\]{background:var(--colors-mantine-colors-primary\\[8\\])}.group:is(:focus,[data-focus]) .groupFocus\\:transition_none{transition:none}.focus\\:ring_none:is(:focus,[data-focus]){outline:var(--borders-none)}.focusVisible\\:ring_none:is(:focus-visible,[data-focus-visible]){outline:var(--borders-none)}.focus\\:bd-c_mantine\\.colors\\.primary\\[9\\]:is(:focus,[data-focus]){border-color:var(--colors-mantine-colors-primary\\[9\\])}.mantine-Tree-node:focus>.mantine-Tree-label .\\[\\.mantine-Tree-node\\:focus_\\>_\\.mantine-Tree-label_\\&\\]\\:ring_none{outline:var(--borders-none)}.mantine-Tree-node:focus>.mantine-Tree-label .\\[\\.mantine-Tree-node\\:focus_\\>_\\.mantine-Tree-label_\\&\\]\\:bd-c_mantine\\.colors\\.primary\\[9\\]{border-color:var(--colors-mantine-colors-primary\\[9\\])}.group:is(:focus,[data-focus]) .groupFocus\\:c_\\[inherit\\]\\!{color:inherit!important}.group:is(:focus,[data-focus]) .groupFocus\\:op_0\\.5{opacity:.5}.group:is(:focus,[data-focus]) .groupFocus\\:op_0\\.8{opacity:.8}.focus\\:bg-c_mantine\\.colors\\.gray\\[2\\]:is(:focus,[data-focus]){background-color:var(--colors-mantine-colors-gray\\[2\\])}.focus\\:c_mantine\\.colors\\.primary\\.lightColor\\!:is(:focus,[data-focus]){color:var(--colors-mantine-colors-primary-light-color)!important}.focus\\:bg-c_mantine\\.colors\\.primary\\.lightHover\\!:is(:focus,[data-focus]){background-color:var(--colors-mantine-colors-primary-light-hover)!important}.group:is(:focus,[data-focus]) .groupFocus\\:c_mantine\\.colors\\.primary\\[0\\]{color:var(--colors-mantine-colors-primary\\[0\\])}.mantine-Tree-node:focus>.mantine-Tree-label .\\[\\.mantine-Tree-node\\:focus_\\>_\\.mantine-Tree-label_\\&\\]\\:c_mantine\\.colors\\.primary\\[0\\]{color:var(--colors-mantine-colors-primary\\[0\\])}.group:is(:focus,[data-focus]) .groupFocus\\:c_mantine\\.colors\\.primary\\[1\\]{color:var(--colors-mantine-colors-primary\\[1\\])}.mantine-Tree-node:focus>.mantine-Tree-label .\\[\\.mantine-Tree-node\\:focus_\\>_\\.mantine-Tree-label_\\&\\]\\:c_mantine\\.colors\\.primary\\[1\\]{color:var(--colors-mantine-colors-primary\\[1\\])}.hover\\:--icon-color_\\{colors\\.mantine\\.colors\\.dark\\[1\\]\\}:is(:hover,[data-hover]){--icon-color: var(--colors-mantine-colors-dark\\[1\\])}.hover\\:--view-title-color_\\{colors\\.mantine\\.colors\\.defaultColor\\}:is(:hover,[data-hover]){--view-title-color: var(--colors-mantine-colors-default-color)}.hover\\:bg_mantine\\.colors\\.defaultHover:is(:hover,[data-hover]){background:var(--colors-mantine-colors-default-hover)}.hover\\:bg_mantine\\.colors\\.gray\\[3\\]:is(:hover,[data-hover]){background:var(--colors-mantine-colors-gray\\[3\\])}.group:is(:hover,[data-hover]) .groupHover\\:bg_mantine\\.colors\\.defaultHover{background:var(--colors-mantine-colors-default-hover)}.hover\\:bg_mantine\\.colors\\.gray\\.lightHover:is(:hover,[data-hover]){background:var(--colors-mantine-colors-gray-light-hover)}.hover\\:bg_mantine\\.colors\\.primary\\[8\\]\\/60:is(:hover,[data-hover]){--mix-background: color-mix(in srgb, var(--colors-mantine-colors-primary\\[8\\]) 60%, transparent);background:var(--mix-background, var(--colors-mantine-colors-primary\\[8\\]))}.group:is(:hover,[data-hover]) .groupHover\\:bg_mantine\\.colors\\.gray\\[3\\]\\/35{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-gray\\[3\\]) 35%, transparent);background:var(--mix-background, var(--colors-mantine-colors-gray\\[3\\]))}.hover\\:td_underline:is(:hover,[data-hover]){text-decoration:underline}.hover\\:bd-c_mantine\\.colors\\.defaultBorder:is(:hover,[data-hover]){border-color:var(--colors-mantine-colors-default-border)}.hover\\:bd-w_4px:is(:hover,[data-hover]){border-width:4px}.hover\\:bd-c_mantine\\.colors\\.dark\\[1\\]:is(:hover,[data-hover]){border-color:var(--colors-mantine-colors-dark\\[1\\])}.hover\\:border-style_solid:is(:hover,[data-hover]){border-style:solid}.\\[\\&\\:is\\(\\:hover\\,_\\[data-selected\\=true\\]\\)_\\>_\\*\\]\\:transition_all_0\\.15s_ease-out:is(:hover,[data-selected=true])>*{transition:all .15s ease-out}.hover\\:ring_none:is(:hover,[data-hover]){outline:var(--borders-none)}.hover\\:bd-c_mantine\\.colors\\.primary\\[9\\]:is(:hover,[data-hover]){border-color:var(--colors-mantine-colors-primary\\[9\\])}.hover\\:transition_stroke_100ms_ease-out\\,_stroke-width_100ms_ease-out:is(:hover,[data-hover]){transition:stroke .1s ease-out,stroke-width .1s ease-out}.hover\\:transition_all_120ms_ease-out:is(:hover,[data-hover]){transition:all .12s ease-out}.hover\\:op_1:is(:hover,[data-hover]){opacity:1}.hover\\:bg-c_mantine\\.colors\\.gray\\[1\\]:is(:hover,[data-hover]){background-color:var(--colors-mantine-colors-gray\\[1\\])}.hover\\:bx-sh_sm:is(:hover,[data-hover]){box-shadow:var(--shadows-sm)}.group:is(:hover,[data-hover]) .groupHover\\:c_mantine\\.colors\\.dimmed{color:var(--colors-mantine-colors-dimmed)}.group:is(:hover,[data-hover]) .groupHover\\:op_0\\.5{opacity:.5}.group:is(:hover,[data-hover]) .groupHover\\:op_0\\.8{opacity:.8}.hover\\:bg-c_mantine\\.colors\\.gray\\[2\\]:is(:hover,[data-hover]){background-color:var(--colors-mantine-colors-gray\\[2\\])}.hover\\:c_\\[var\\(--mantine-color-bright\\)\\]:is(:hover,[data-hover]){color:var(--mantine-color-bright)}.hover\\:c_mantine\\.colors\\.text:is(:hover,[data-hover]){color:var(--colors-mantine-colors-text)}.hover\\:trs-dly_0s:is(:hover,[data-hover]){transition-delay:0s}.hover\\:c_likec4\\.panel\\.action-icon\\.text\\.hover:is(:hover,[data-hover]){color:var(--colors-likec4-panel-action-icon-text-hover)}.hover\\:bg-c_likec4\\.panel\\.action-icon\\.bg\\.hover:is(:hover,[data-hover]){background-color:var(--colors-likec4-panel-action-icon-bg-hover)}.\\[\\&\\:hover_\\>_\\*\\]\\:trs-tmf_out:hover>*{--transition-easing: var(--easings-out);transition-timing-function:var(--easings-out)}.\\[\\&\\:hover_\\>_\\*\\]\\:trf_translateX\\(1\\.6px\\):hover>*{transform:translate(1.6px)}.hover\\:trs-tmf_out:is(:hover,[data-hover]){--transition-easing: var(--easings-out);transition-timing-function:var(--easings-out)}.hover\\:c_mantine\\.colors\\.defaultColor:is(:hover,[data-hover]){color:var(--colors-mantine-colors-default-color)}.group:is(:hover,[data-hover]) .groupHover\\:trs-tmf_out{--transition-easing: var(--easings-out);transition-timing-function:var(--easings-out)}.group:is(:hover,[data-hover]) .groupHover\\:c_mantine\\.colors\\.defaultColor{color:var(--colors-mantine-colors-default-color)}.\\[\\&\\:is\\(\\:hover\\,_\\[data-selected\\=true\\]\\)_\\>_\\*\\]\\:cursor_pointer:is(:hover,[data-selected=true])>*{cursor:pointer}.\\[\\&\\:is\\(\\:hover\\,_\\[data-selected\\=true\\]\\)_\\>_\\*\\]\\:bg-c_mantine\\.colors\\.defaultHover:is(:hover,[data-selected=true])>*{background-color:var(--colors-mantine-colors-default-hover)}.hover\\:bg-c_mantine\\.colors\\.gray\\[0\\]:is(:hover,[data-hover]){background-color:var(--colors-mantine-colors-gray\\[0\\])}.group:is(:hover,[data-hover]) .groupHover\\:op_1{opacity:1}.group:is(:hover,[data-hover]) .groupHover\\:grayscale_0{--grayscale: grayscale(0)}.group:is(:hover,[data-hover]) .groupHover\\:c_mantine\\.colors\\.primary\\[0\\]{color:var(--colors-mantine-colors-primary\\[0\\])}.group:is(:hover,[data-hover]) .groupHover\\:c_mantine\\.colors\\.primary\\[1\\]{color:var(--colors-mantine-colors-primary\\[1\\])}.hover\\:fill-opacity_1:is(:hover,[data-hover]){fill-opacity:1}.hover\\:stk_mantine\\.colors\\.primary\\.filledHover:is(:hover,[data-hover]){stroke:var(--colors-mantine-colors-primary-filled-hover)}.hover\\:stk-w_10:is(:hover,[data-hover]){stroke-width:10}.hover\\:bg-c_mantine\\.colors\\.primary\\[2\\]\\/50:is(:hover,[data-hover]){--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-primary\\[2\\]) 50%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-primary\\[2\\]))}.group:is(:active,[data-active]) .groupActive\\:op_0\\.5{opacity:.5}.group:is(:active,[data-active]) .groupActive\\:op_0\\.8{opacity:.8}.likec4-root:is([data-likec4-reduced-graphics]) .reduceGraphics\\:\\[\\&_\\.action-icon\\]\\:--ai-radius_0px .action-icon{--ai-radius: 0px}[data-mantine-color-scheme=dark] .dark\\:\\[\\&\\:is\\(\\[data-active\\]\\)\\]\\:bg_mantine\\.colors\\.dark\\[5\\]:is([data-active]){background:var(--colors-mantine-colors-dark\\[5\\])}[data-mantine-color-scheme=light] .light\\:\\[\\&_\\.mantine-SegmentedControl-root\\]\\:bg_mantine\\.colors\\.gray\\[3\\] .mantine-SegmentedControl-root{background:var(--colors-mantine-colors-gray\\[3\\])}.group:is(:hover,[data-hover]) .\\[\\&\\:is\\(\\[data-position\\=\\"left\\"\\]\\)\\]\\:groupHover\\:c_\\[var\\(--badge-color\\)\\]:is([data-position=left]){color:var(--badge-color)}.group:is(:hover,[data-hover]) .\\[\\&\\:is\\(\\[data-position\\=\\"left\\"\\]\\)\\]\\:groupHover\\:op_0\\.7:is([data-position=left]){opacity:.7}[data-mantine-color-scheme=dark] .\\[\\&_\\>_mark\\]\\:dark\\:bg-c_mantine\\.colors\\.yellow\\[5\\]\\/80>mark{--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-yellow\\[5\\]) 80%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-yellow\\[5\\]))}.group:is(:focus,[data-focus]) .\\[\\&_\\>_mark\\]\\:groupFocus\\:bg-c_\\[transparent\\]>mark{background-color:var(--colors-transparent)}.group:is(:focus,[data-focus]) .\\[\\&_\\>_mark\\]\\:groupFocus\\:c_\\[inherit\\]\\!>mark{color:inherit!important}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) :where(.react-flow__node,.react-flow__edge):is(.selected) .whenSelected\\:whenHovered\\:stk-op_0\\.4{stroke-opacity:.4}.likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:noReduceGraphics\\:anim-ps_running{animation-play-state:running}.likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:noReduceGraphics\\:anim-dly_450ms{animation-delay:.45s}.likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__edge.selected,[data-edge-active=true],[data-edge-animated=true]) .\\[\\:where\\(\\.react-flow__edge\\.selected\\,_\\[data-edge-active\\=\\'true\\'\\]\\,_\\[data-edge-animated\\=\\'true\\'\\]\\)_\\&\\]\\:noReduceGraphics\\:anim-ps_running{animation-play-state:running}.likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__edge.selected,[data-edge-active=true],[data-edge-animated=true]) .\\[\\:where\\(\\.react-flow__edge\\.selected\\,_\\[data-edge-active\\=\\'true\\'\\]\\,_\\[data-edge-animated\\=\\'true\\'\\]\\)_\\&\\]\\:noReduceGraphics\\:anim-dly_0ms{animation-delay:0ms}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .reduceGraphicsOnPan\\:before\\:d_none:before{display:none}.\\[\\&_\\.mantine-ThemeIcon-root\\]\\:hover\\:c_mantine\\.colors\\.defaultColor .mantine-ThemeIcon-root:is(:hover,[data-hover]){color:var(--colors-mantine-colors-default-color)}[data-mantine-color-scheme=dark] .dark\\:\\[\\&\\:is\\(\\[data-active\\]\\)\\]\\:c_mantine\\.colors\\.white:is([data-active]){color:var(--colors-mantine-colors-white)}[data-mantine-color-scheme=light] .\\[\\&\\[data-missing\\]\\]\\:light\\:c_mantine\\.colors\\.orange\\[8\\][data-missing]{color:var(--colors-mantine-colors-orange\\[8\\])}.\\[\\&_\\.mantine-ScrollArea-viewport\\]\\:\\[\\&_\\>_div\\]\\:min-h_100\\% .mantine-ScrollArea-viewport>div{min-height:100%}.\\[\\&_\\.mantine-ScrollArea-viewport\\]\\:\\[\\&_\\>_div\\]\\:h_100\\% .mantine-ScrollArea-viewport>div{height:100%}.\\[\\&_\\.mantine-ScrollArea-root\\]\\:\\[\\&_\\>_div\\]\\:pl_1 .mantine-ScrollArea-root>div{padding-left:var(--spacing-1)}.\\[\\&_\\.mantine-ScrollArea-root\\]\\:\\[\\&_\\>_div\\]\\:pr_1 .mantine-ScrollArea-root>div{padding-right:var(--spacing-1)}[data-mantine-color-scheme=dark] .focusWithin\\:dark\\:bg_mantine\\.colors\\.dark\\[5\\]\\/55\\!:focus-within{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-dark\\[5\\]) 55%, transparent) !important;background:var(--mix-background, var(--colors-mantine-colors-dark\\[5\\]))!important}[data-mantine-color-scheme=dark] .focus\\:dark\\:bg-c_mantine\\.colors\\.dark\\[4\\]:is(:focus,[data-focus]){background-color:var(--colors-mantine-colors-dark\\[4\\])}[data-mantine-color-scheme=light] .group:is(:focus,[data-focus]) .groupFocus\\:light\\:c_mantine\\.colors\\.white{color:var(--colors-mantine-colors-white)}[data-mantine-color-scheme=light] .mantine-Tree-node:focus>.mantine-Tree-label .\\[\\.mantine-Tree-node\\:focus_\\>_\\.mantine-Tree-label_\\&\\]\\:light\\:c_mantine\\.colors\\.white{color:var(--colors-mantine-colors-white)}[data-mantine-color-scheme=light] .light\\:hover\\:--icon-color_\\{colors\\.mantine\\.colors\\.gray\\[7\\]\\}:is(:hover,[data-hover]){--icon-color: var(--colors-mantine-colors-gray\\[7\\])}[data-mantine-color-scheme=dark] .dark\\:hover\\:bg_mantine\\.colors\\.dark\\[6\\]:is(:hover,[data-hover]){background:var(--colors-mantine-colors-dark\\[6\\])}[data-mantine-color-scheme=dark] .group:is(:hover,[data-hover]) .groupHover\\:dark\\:bg_mantine\\.colors\\.dark\\[5\\]\\/35{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-dark\\[5\\]) 35%, transparent);background:var(--mix-background, var(--colors-mantine-colors-dark\\[5\\]))}[data-mantine-color-scheme=light] .light\\:hover\\:bd-c_mantine\\.colors\\.primary\\[6\\]:is(:hover,[data-hover]){border-color:var(--colors-mantine-colors-primary\\[6\\])}[data-mantine-color-scheme=dark] .hover\\:dark\\:bg-c_mantine\\.colors\\.dark\\[5\\]:is(:hover,[data-hover]){background-color:var(--colors-mantine-colors-dark\\[5\\])}[data-mantine-color-scheme=light] .group:is(:hover,[data-hover]) .groupHover\\:light\\:bg-c_mantine\\.colors\\.gray\\[2\\]{background-color:var(--colors-mantine-colors-gray\\[2\\])}[data-mantine-color-scheme=dark] .group:is(:hover,[data-hover]) .groupHover\\:dark\\:bg-c_mantine\\.colors\\.dark\\[8\\]{background-color:var(--colors-mantine-colors-dark\\[8\\])}[data-mantine-color-scheme=dark] .hover\\:dark\\:bg-c_mantine\\.colors\\.dark\\[4\\]:is(:hover,[data-hover]){background-color:var(--colors-mantine-colors-dark\\[4\\])}[data-mantine-color-scheme=dark] .hover\\:dark\\:bg-c_mantine\\.colors\\.dark\\[5\\]\\/70:is(:hover,[data-hover]){--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-dark\\[5\\]) 70%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-dark\\[5\\]))}[data-mantine-color-scheme=dark] .dark\\:hover\\:c_mantine\\.colors\\.white:is(:hover,[data-hover]){color:var(--colors-mantine-colors-white)}.hover\\:\\[\\&_\\>_\\:not\\(\\[data-no-transform\\]\\)\\]\\:trs-tmf_out:is(:hover,[data-hover])>:not([data-no-transform]){--transition-easing: var(--easings-out);transition-timing-function:var(--easings-out)}.hover\\:\\[\\&_\\>_\\:not\\(\\[data-no-transform\\]\\)\\]\\:trf_translateX\\(1px\\):is(:hover,[data-hover])>:not([data-no-transform]){transform:translate(1px)}.hover\\:\\[\\&_\\>_\\*\\]\\:trs-tmf_out:is(:hover,[data-hover])>*{--transition-easing: var(--easings-out);transition-timing-function:var(--easings-out)}.hover\\:\\[\\&_\\>_\\*\\]\\:trf_translateX\\(1px\\):is(:hover,[data-hover])>*{transform:translate(1px)}[data-mantine-color-scheme=dark] .hover\\:dark\\:bg-c_mantine\\.colors\\.defaultHover:is(:hover,[data-hover]){background-color:var(--colors-mantine-colors-default-hover)}[data-mantine-color-scheme=dark] .hover\\:dark\\:c_mantine\\.colors\\.white:is(:hover,[data-hover]){color:var(--colors-mantine-colors-white)}[data-mantine-color-scheme=light] .light\\:hover\\:bg-c_mantine\\.colors\\.primary\\[5\\]:is(:hover,[data-hover]){background-color:var(--colors-mantine-colors-primary\\[5\\])}[data-mantine-color-scheme=light] .group:is(:hover,[data-hover]) .groupHover\\:light\\:c_mantine\\.colors\\.white{color:var(--colors-mantine-colors-white)}[data-mantine-color-scheme=light] .group:is(:hover,[data-hover]) .groupHover\\:light\\:c_mantine\\.colors\\.primary\\[0\\]{color:var(--colors-mantine-colors-primary\\[0\\])}[data-mantine-color-scheme=dark] .dark\\:hover\\:bg-c_mantine\\.colors\\.dark\\[3\\]\\/40:is(:hover,[data-hover]){--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-dark\\[3\\]) 40%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-dark\\[3\\]))}@container (min-width: 24rem){.\\@\\/xs\\:d_flex{display:flex}}@media screen and (min-width: 36rem){.xs\\:max-w_calc\\(100cqw\\){max-width:100cqw}.xs\\:max-w_calc\\(100cqw_-_50px\\){max-width:calc(100cqw - 50px)}.xs\\:max-w_calc\\(100cqw_-_250px\\){max-width:calc(100cqw - 250px)}.xs\\:max-h_calc\\(100cqh_-_200px\\){max-height:calc(100cqh - 200px)}.xs\\:max-h_calc\\(100cqh_-_160px\\){max-height:calc(100cqh - 160px)}.xs\\:h_100cqh{height:100cqh}.xs\\:max-h_calc\\(100cqh_-_70px\\){max-height:calc(100cqh - 70px)}}@container (min-width: 40rem){.\\@\\/sm\\:m_xs{margin:var(--spacing-xs)}.\\@\\/sm\\:gap_xs{gap:var(--spacing-xs)}.\\@\\/sm\\:w_max-content{width:max-content}.\\@\\/sm\\:max-w_calc\\(100vw_-_2_\\*_\\{spacing\\.md\\}\\){max-width:calc(100vw - 2 * var(--spacing-md))}.\\@\\/sm\\:min-w_400{min-width:400px}.\\@\\/sm\\:max-w_550{max-width:550px}}@container (min-width: 40rem){@media screen and (min-width: 36rem){.\\@\\/sm\\:xs\\:max-w_calc\\(100cqw_-_2_\\*_\\{spacing\\.md\\}\\){max-width:calc(100cqw - 2 * var(--spacing-md))}}}@container (min-width: 48rem){.\\@\\/md\\:d_block{display:block}.\\@\\/md\\:d_flex{display:flex}.\\@\\/md\\:d_none{display:none}.\\@\\/md\\:d_\\[inherit\\]{display:inherit}.\\@\\/md\\:ms_2{margin-inline-start:var(--spacing-2)}.\\@\\/md\\:w_\\[64px\\]{width:64px}}@media screen and (min-width: 48rem){.sm\\:pr_\\[30px\\]{padding-right:30px}.sm\\:min-w_300{min-width:300px}.sm\\:max-w_65vw{max-width:65vw}}@media screen and (min-width: 62rem){.md\\:--text-fz_\\{fontSizes\\.md\\}{--text-fz: var(--font-sizes-md)}.md\\:bd-w_4{border-width:4px}.md\\:px_6{padding-inline:var(--spacing-6)}.md\\:pr_\\[50px\\]{padding-right:50px}.md\\:max-w_40vw{max-width:40vw}}@container (min-width: 64rem){.\\@\\/lg\\:max-w_700{max-width:700px}}@media screen and (min-width: 75rem){.lg\\:px_8{padding-inline:var(--spacing-8)}}@container likec4-tree (max-width: 450px){.\\[\\@container_likec4-tree_\\(max-width\\:_450px\\)\\]\\:--likec4-icon-size_18px{--likec4-icon-size: 18px}.\\[\\@container_likec4-tree_\\(max-width\\:_450px\\)\\]\\:gap_0\\.5{gap:var(--spacing-0\\.5)}.\\[\\@container_likec4-tree_\\(max-width\\:_450px\\)\\]\\:flex-d_column-reverse{flex-direction:column-reverse}.\\[\\@container_likec4-tree_\\(max-width\\:_450px\\)\\]\\:ai_flex-start{align-items:flex-start}.\\[\\@container_likec4-tree_\\(max-width\\:_450px\\)\\]\\:d_none{display:none}}}`,Yet={autoContrast:!0,primaryColor:"indigo",cursorType:"pointer",defaultRadius:"sm",fontFamily:"var(--likec4-app-font, var(--likec4-app-font-default))",headings:{fontWeight:"500",sizes:{h1:{fontWeight:"600"},h2:{fontWeight:"500"}}},components:{Portal:O0.extend({defaultProps:{reuseTargetNode:!0}})}};ye({cursor:"pointer","--mantine-cursor-pointer":"pointer","& :where(.likec4-diagram, .likec4-compound-node, .likec4-element-node)":{cursor:"pointer"}});function Wet(e,r){const[n,o]=E.useState([]);return Q8(()=>{if(e&&!document.querySelector("style[data-likec4-font]")){const a=document.createElement("style");a.setAttribute("type","text/css"),a.setAttribute("data-likec4-font",""),UE(r)&&a.setAttribute("nonce",r),_0(r)&&a.setAttribute("nonce",r()),a.appendChild(document.createTextNode(Vet)),document.head.appendChild(a)}},[e]),Q8(()=>{const a=new CSSStyleSheet;return a.replaceSync(Yte.replaceAll(":where(:root,:host)",".likec4-shadow-root").replaceAll(":root",".likec4-shadow-root").replaceAll(new RegExp("(?{a.replaceSync("")}},[Yte]),n}const Wte=()=>{try{const e=window.getComputedStyle(document.documentElement).colorScheme??"",r=pf(e.split(" "));if(r==="light"||r==="dark")return r}catch{}return null};function Get(e){const r=$U(),[n,o]=E.useState(Wte);return VU(vf(()=>o(Wte),100),{attributes:!0,childList:!1,subtree:!1},()=>document.documentElement),e??n??r}function Xet(e,r=!1){if(r===!1)return` + `.trim(),...EDe(1,Zet+1).map(l=>Qet(e,r,n,l))].join(` +`)}function ett(e,r){return kn(r.colors,WE(),No(([n,o])=>Jet(e,n,o)),mU(` +`))}const ttt=S.memo(({id:e})=>{const r=`#${e}`,n=np()?.(),{theme:o}=yte(),a=ett(r,o);return y.jsx("style",{type:"text/css","data-likec4-colors":e,dangerouslySetInnerHTML:{__html:a},nonce:n})});function Wte(e,r){if(e._type==="dynamic")try{if(r??=e.variant,r==="sequence")return e.sequenceLayout.bounds}catch{}return e.bounds}function Gte({children:e}){const r=S.useContext(tw);return S.useEffect(()=>{r||console.warn("LikeC4Diagram must be a child of MantineProvider")},[]),r?y.jsx(y.Fragment,{children:e}):y.jsx(k9,{defaultColorScheme:"auto",children:e})}Gte.displayName="EnsureMantine";const wR=({reducedMotion:e="user",children:r})=>{const n=np()?.();return y.jsx(Zqe,{features:WVe,strict:!0,children:y.jsx(eUe,{reducedMotion:e,...n&&{nonce:n},children:r})})};function Xte({onCanvasClick:e,onCanvasContextMenu:r,onCanvasDblClick:n,onEdgeClick:o,onChange:a,onEdgeContextMenu:i,onNavigateTo:l,onNodeClick:s,onNodeContextMenu:c,onOpenSource:u,onBurgerMenuClick:d,onInitialized:p,view:f,className:g,readonly:b=!0,controls:x=!b,fitView:w=!0,fitViewPadding:k=x?z2.withControls:z2.default,pannable:C=!0,zoomable:_=!0,background:T="dots",enableElementTags:R=!1,enableFocusMode:A=!1,enableElementDetails:D=!1,enableRelationshipDetails:N=!1,enableRelationshipBrowser:$=!1,nodesDraggable:O=!b,nodesSelectable:j=!b||A||!!l||!!s,enableNotations:L=!1,showNavigationButtons:Y=!!l,enableDynamicViewWalkthrough:M=!1,dynamicViewVariant:q,enableSearch:z=!1,initialWidth:H,initialHeight:U,experimentalEdgeEditing:K=!b,reduceGraphics:V="auto",renderIcon:X,where:Z,reactFlowProps:B,renderNodes:W,children:Q}){const J=sG(),ne=S.useRef(null),te=Wte(f,q),ee=rtt(k);ne.current==null&&(ne.current={defaultEdges:[],defaultNodes:[],initialWidth:H??te.width,initialHeight:U??te.height,initialFitViewOptions:{maxZoom:GC,minZoom:fl,padding:ee},initialMaxZoom:GC,initialMinZoom:fl});const pe=V==="auto"?C&&(te.width??1)*(te.height??1)>6e6&&f.nodes.some(Te=>Te.children?.length>0):V;return y.jsx(Gte,{children:y.jsx(wR,{...pe&&{reducedMotion:"always"},children:y.jsx(OEe,{value:X??null,children:y.jsx(Ep,{features:{enableFitView:w,enableReadOnly:b,enableFocusMode:A,enableNavigateTo:!!l,enableElementDetails:D,enableRelationshipDetails:N,enableRelationshipBrowser:$,enableSearch:z,enableNavigationButtons:Y&&!!l,enableDynamicViewWalkthrough:f._type==="dynamic"&&M,enableEdgeEditing:K,enableNotations:L,enableVscode:!!u,enableControls:x,enableElementTags:R},children:y.jsxs(XKe,{handlers:{onCanvasClick:e,onCanvasContextMenu:r,onCanvasDblClick:n,onEdgeClick:o,onChange:a,onEdgeContextMenu:i,onNavigateTo:l,onNodeClick:s,onNodeContextMenu:c,onOpenSource:u,onBurgerMenuClick:d,onInitialized:p},children:[y.jsx(ttt,{id:J}),y.jsx(iBe,{rootSelector:`#${J}`,children:y.jsx(JLe,{id:J,className:g,reduceGraphics:pe,children:y.jsx(Ix,{fitView:w,...ne.current,children:y.jsxs(jet,{view:f,zoomable:_,pannable:C,fitViewPadding:ee,nodesSelectable:j,where:Z??null,dynamicViewVariant:q,children:[y.jsx(tet,{nodesDraggable:O,nodesSelectable:j,background:T,reactFlowProps:B,renderNodes:W,children:Q}),y.jsx(ite,{})]})})})})]})})})})})}const Kte=e=>typeof e=="number"?`${e}px`:e;function rtt(e){return Jj(()=>XE(e)?gDe(e,Kte):Kte(e),[e],ut)}function ntt({children:e,likec4model:r}){return y.jsx(ny.Provider,{value:r,children:e})}const kR=({children:e})=>y.jsx("div",{style:{margin:"1rem 0"},children:y.jsx("div",{style:{margin:"0 auto",display:"inline-block",padding:"2rem",background:"rgba(250,82,82,.15)",color:"#ffa8a8"},children:e})}),ott=({viewId:e})=>y.jsxs(kR,{children:["View ",y.jsx("code",{children:e})," not found"]}),att=e=>{throw new Error("LikeC4View is not available SSR")};var Zte={exports:{}},_R,Qte;function itt(){if(Qte)return _R;Qte=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return _R=e,_R}var ER,Jte;function ltt(){if(Jte)return ER;Jte=1;var e=itt();function r(){}function n(){}return n.resetWarningCache=r,ER=function(){function o(l,s,c,u,d,p){if(p!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}o.isRequired=o;function a(){return o}var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:a,element:o,elementType:o,instanceOf:a,node:o,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:r};return i.PropTypes=i,i},ER}var ere;function stt(){return ere||(ere=1,Zte.exports=ltt()()),Zte.exports}var ctt=stt();const xl=LE(ctt);var utt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function tre(e,r){return e(r={exports:{}},r.exports),r.exports}var dtt=tre((function(e){(function(r){var n=function(w,k,C){if(!c(k)||d(k)||p(k)||f(k)||s(k))return k;var _,T=0,R=0;if(u(k))for(_=[],R=k.length;Te.length)&&(r=e.length);for(var n=0,o=new Array(r);n=0||(a[n]=e[n]);return a},ore=function(e,r){if(e==null)return{};var n,o,a=ytt(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a},btt=S.createContext(null);function are(e){var r=e.children,n=r===void 0?"":r,o=ore(e,["children"]);return typeof n!="string"&&(n=att()),Qr.createElement("template",nre({},o,{dangerouslySetInnerHTML:{__html:n}}))}function ire(e){var r=e.root,n=e.children;return Fi.createPortal(n===void 0?null:n,r)}function vtt(e){var r=S.forwardRef((function(n,o){var a,i,l=n.mode,s=l===void 0?"open":l,c=n.delegatesFocus,u=c!==void 0&&c,d=n.styleSheets,p=d===void 0?[]:d,f=n.ssr,g=f!==void 0&&f,b=n.children,x=ore(n,["mode","delegatesFocus","styleSheets","ssr","children"]),w=(i=S.useRef((a=o)&&a.current),S.useEffect((function(){a&&(a.current=i.current)}),[a]),i),k=S.useState(null),C=gtt(k,2),_=C[0],T=C[1],R="node_".concat(s).concat(u);return S.useLayoutEffect((function(){if(w.current)try{if(typeof o=="function"&&o(w.current),g){var A=w.current.shadowRoot;return void T(A)}var D=w.current.attachShadow({mode:s,delegatesFocus:u});p.length>0&&(D.adoptedStyleSheets=p),T(D)}catch(N){(function($){var O=$.error,j=$.styleSheets,L=$.root;switch(O.name){case"NotSupportedError":j.length>0&&(L.adoptedStyleSheets=j);break;default:throw O}})({error:N,styleSheets:p,root:_})}}),[o,w,p]),Qr.createElement(Qr.Fragment,null,Qr.createElement(e.tag,nre({key:R,ref:w},x),(_||g)&&Qr.createElement(btt.Provider,{value:_},g?Qr.createElement(are,{shadowroot:s,shadowrootmode:s},e.render({root:_,ssr:g,children:b})):Qr.createElement(ire,{root:_},e.render({root:_,ssr:g,children:b})))))}));return r.propTypes={mode:xl.oneOf(["open","closed"]),delegatesFocus:xl.bool,styleSheets:xl.arrayOf(xl.instanceOf(globalThis.CSSStyleSheet)),ssr:xl.bool,children:xl.node},r}are.propTypes={children:xl.oneOfType([xl.string,xl.node])},ire.propTypes={root:xl.object.isRequired,children:xl.node};var SR=new Map;function xtt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(o){return o.children};return new Proxy(e,{get:function(o,a){var i=dtt(a,{separator:"-"}),l="".concat(r,"-").concat(i);return SR.has(l)||SR.set(l,vtt({tag:i,render:n})),SR.get(l)}})}var wtt=xtt();const ktt='@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-400-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-400-normal.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-500-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-500-normal.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-600-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-600-normal.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-400-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-400-normal.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-500-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-500-normal.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-600-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-600-normal.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-ext-400-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-ext-400-normal.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-ext-500-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-ext-500-normal.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-ext-600-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/cyrillic-ext-600-normal.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:400;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-ext-400-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-ext-400-normal.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:500;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-ext-500-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-ext-500-normal.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-display:swap;font-weight:600;src:url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-ext-600-normal.woff2) format("woff2"),url(https://cdn.jsdelivr.net/fontsource/fonts/ibm-plex-sans@latest/latin-ext-600-normal.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}',lre=`@layer reset,base,mantine,xyflow,tokens,recipes,utilities;@layer mantine{:root{color-scheme:var(--mantine-color-scheme)}*,*:before,*:after{box-sizing:border-box}input,button,textarea,select{font:inherit}button,select{text-transform:none}body{margin:0;font-family:var(--mantine-font-family);font-size:var(--mantine-font-size-md);line-height:var(--mantine-line-height);background-color:var(--mantine-color-body);color:var(--mantine-color-text);-webkit-font-smoothing:var(--mantine-webkit-font-smoothing);-moz-osx-font-smoothing:var(--mantine-moz-font-smoothing)}@media screen and (max-device-width:31.25em){body{-webkit-text-size-adjust:100%}}@media(prefers-reduced-motion:reduce){[data-respect-reduced-motion] [data-reduce-motion]{transition:none;animation:none}}[data-mantine-color-scheme=light] .mantine-light-hidden,[data-mantine-color-scheme=dark] .mantine-dark-hidden{display:none}.mantine-focus-auto:focus-visible{outline:2px solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}.mantine-focus-always:focus{outline:2px solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}.mantine-focus-never:focus{outline:none}.mantine-active:active{transform:translateY(calc(.0625rem * var(--mantine-scale)))}fieldset:disabled .mantine-active:active{transform:none}:where([dir=rtl]) .mantine-rotate-rtl{transform:rotate(180deg)}:root{--mantine-z-index-app: 100;--mantine-z-index-modal: 200;--mantine-z-index-popover: 300;--mantine-z-index-overlay: 400;--mantine-z-index-max: 9999;--mantine-scale: 1;--mantine-cursor-type: default;--mantine-webkit-font-smoothing: antialiased;--mantine-moz-font-smoothing: grayscale;--mantine-color-white: #fff;--mantine-color-black: #000;--mantine-line-height: 1.55;--mantine-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;--mantine-font-family-monospace: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;--mantine-font-family-headings: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;--mantine-heading-font-weight: 700;--mantine-heading-text-wrap: wrap;--mantine-radius-default: calc(.25rem * var(--mantine-scale));--mantine-primary-color-filled: var(--mantine-color-blue-filled);--mantine-primary-color-filled-hover: var(--mantine-color-blue-filled-hover);--mantine-primary-color-light: var(--mantine-color-blue-light);--mantine-primary-color-light-hover: var(--mantine-color-blue-light-hover);--mantine-primary-color-light-color: var(--mantine-color-blue-light-color);--mantine-breakpoint-xs: 36em;--mantine-breakpoint-sm: 48em;--mantine-breakpoint-md: 62em;--mantine-breakpoint-lg: 75em;--mantine-breakpoint-xl: 88em;--mantine-spacing-xs: calc(.625rem * var(--mantine-scale));--mantine-spacing-sm: calc(.75rem * var(--mantine-scale));--mantine-spacing-md: calc(1rem * var(--mantine-scale));--mantine-spacing-lg: calc(1.25rem * var(--mantine-scale));--mantine-spacing-xl: calc(2rem * var(--mantine-scale));--mantine-font-size-xs: calc(.75rem * var(--mantine-scale));--mantine-font-size-sm: calc(.875rem * var(--mantine-scale));--mantine-font-size-md: calc(1rem * var(--mantine-scale));--mantine-font-size-lg: calc(1.125rem * var(--mantine-scale));--mantine-font-size-xl: calc(1.25rem * var(--mantine-scale));--mantine-line-height-xs: 1.4;--mantine-line-height-sm: 1.45;--mantine-line-height-md: 1.55;--mantine-line-height-lg: 1.6;--mantine-line-height-xl: 1.65;--mantine-shadow-xs: 0 calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale)) rgba(0, 0, 0, .05), 0 calc(.0625rem * var(--mantine-scale)) calc(.125rem * var(--mantine-scale)) rgba(0, 0, 0, .1);--mantine-shadow-sm: 0 calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale)) rgba(0, 0, 0, .05), rgba(0, 0, 0, .05) 0 calc(.625rem * var(--mantine-scale)) calc(.9375rem * var(--mantine-scale)) calc(-.3125rem * var(--mantine-scale)), rgba(0, 0, 0, .04) 0 calc(.4375rem * var(--mantine-scale)) calc(.4375rem * var(--mantine-scale)) calc(-.3125rem * var(--mantine-scale));--mantine-shadow-md: 0 calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale)) rgba(0, 0, 0, .05), rgba(0, 0, 0, .05) 0 calc(1.25rem * var(--mantine-scale)) calc(1.5625rem * var(--mantine-scale)) calc(-.3125rem * var(--mantine-scale)), rgba(0, 0, 0, .04) 0 calc(.625rem * var(--mantine-scale)) calc(.625rem * var(--mantine-scale)) calc(-.3125rem * var(--mantine-scale));--mantine-shadow-lg: 0 calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale)) rgba(0, 0, 0, .05), rgba(0, 0, 0, .05) 0 calc(1.75rem * var(--mantine-scale)) calc(1.4375rem * var(--mantine-scale)) calc(-.4375rem * var(--mantine-scale)), rgba(0, 0, 0, .04) 0 calc(.75rem * var(--mantine-scale)) calc(.75rem * var(--mantine-scale)) calc(-.4375rem * var(--mantine-scale));--mantine-shadow-xl: 0 calc(.0625rem * var(--mantine-scale)) calc(.1875rem * var(--mantine-scale)) rgba(0, 0, 0, .05), rgba(0, 0, 0, .05) 0 calc(2.25rem * var(--mantine-scale)) calc(1.75rem * var(--mantine-scale)) calc(-.4375rem * var(--mantine-scale)), rgba(0, 0, 0, .04) 0 calc(1.0625rem * var(--mantine-scale)) calc(1.0625rem * var(--mantine-scale)) calc(-.4375rem * var(--mantine-scale));--mantine-radius-xs: calc(.125rem * var(--mantine-scale));--mantine-radius-sm: calc(.25rem * var(--mantine-scale));--mantine-radius-md: calc(.5rem * var(--mantine-scale));--mantine-radius-lg: calc(1rem * var(--mantine-scale));--mantine-radius-xl: calc(2rem * var(--mantine-scale));--mantine-primary-color-0: var(--mantine-color-blue-0);--mantine-primary-color-1: var(--mantine-color-blue-1);--mantine-primary-color-2: var(--mantine-color-blue-2);--mantine-primary-color-3: var(--mantine-color-blue-3);--mantine-primary-color-4: var(--mantine-color-blue-4);--mantine-primary-color-5: var(--mantine-color-blue-5);--mantine-primary-color-6: var(--mantine-color-blue-6);--mantine-primary-color-7: var(--mantine-color-blue-7);--mantine-primary-color-8: var(--mantine-color-blue-8);--mantine-primary-color-9: var(--mantine-color-blue-9);--mantine-color-dark-0: #c9c9c9;--mantine-color-dark-1: #b8b8b8;--mantine-color-dark-2: #828282;--mantine-color-dark-3: #696969;--mantine-color-dark-4: #424242;--mantine-color-dark-5: #3b3b3b;--mantine-color-dark-6: #2e2e2e;--mantine-color-dark-7: #242424;--mantine-color-dark-8: #1f1f1f;--mantine-color-dark-9: #141414;--mantine-color-gray-0: #f8f9fa;--mantine-color-gray-1: #f1f3f5;--mantine-color-gray-2: #e9ecef;--mantine-color-gray-3: #dee2e6;--mantine-color-gray-4: #ced4da;--mantine-color-gray-5: #adb5bd;--mantine-color-gray-6: #868e96;--mantine-color-gray-7: #495057;--mantine-color-gray-8: #343a40;--mantine-color-gray-9: #212529;--mantine-color-red-0: #fff5f5;--mantine-color-red-1: #ffe3e3;--mantine-color-red-2: #ffc9c9;--mantine-color-red-3: #ffa8a8;--mantine-color-red-4: #ff8787;--mantine-color-red-5: #ff6b6b;--mantine-color-red-6: #fa5252;--mantine-color-red-7: #f03e3e;--mantine-color-red-8: #e03131;--mantine-color-red-9: #c92a2a;--mantine-color-pink-0: #fff0f6;--mantine-color-pink-1: #ffdeeb;--mantine-color-pink-2: #fcc2d7;--mantine-color-pink-3: #faa2c1;--mantine-color-pink-4: #f783ac;--mantine-color-pink-5: #f06595;--mantine-color-pink-6: #e64980;--mantine-color-pink-7: #d6336c;--mantine-color-pink-8: #c2255c;--mantine-color-pink-9: #a61e4d;--mantine-color-grape-0: #f8f0fc;--mantine-color-grape-1: #f3d9fa;--mantine-color-grape-2: #eebefa;--mantine-color-grape-3: #e599f7;--mantine-color-grape-4: #da77f2;--mantine-color-grape-5: #cc5de8;--mantine-color-grape-6: #be4bdb;--mantine-color-grape-7: #ae3ec9;--mantine-color-grape-8: #9c36b5;--mantine-color-grape-9: #862e9c;--mantine-color-violet-0: #f3f0ff;--mantine-color-violet-1: #e5dbff;--mantine-color-violet-2: #d0bfff;--mantine-color-violet-3: #b197fc;--mantine-color-violet-4: #9775fa;--mantine-color-violet-5: #845ef7;--mantine-color-violet-6: #7950f2;--mantine-color-violet-7: #7048e8;--mantine-color-violet-8: #6741d9;--mantine-color-violet-9: #5f3dc4;--mantine-color-indigo-0: #edf2ff;--mantine-color-indigo-1: #dbe4ff;--mantine-color-indigo-2: #bac8ff;--mantine-color-indigo-3: #91a7ff;--mantine-color-indigo-4: #748ffc;--mantine-color-indigo-5: #5c7cfa;--mantine-color-indigo-6: #4c6ef5;--mantine-color-indigo-7: #4263eb;--mantine-color-indigo-8: #3b5bdb;--mantine-color-indigo-9: #364fc7;--mantine-color-blue-0: #e7f5ff;--mantine-color-blue-1: #d0ebff;--mantine-color-blue-2: #a5d8ff;--mantine-color-blue-3: #74c0fc;--mantine-color-blue-4: #4dabf7;--mantine-color-blue-5: #339af0;--mantine-color-blue-6: #228be6;--mantine-color-blue-7: #1c7ed6;--mantine-color-blue-8: #1971c2;--mantine-color-blue-9: #1864ab;--mantine-color-cyan-0: #e3fafc;--mantine-color-cyan-1: #c5f6fa;--mantine-color-cyan-2: #99e9f2;--mantine-color-cyan-3: #66d9e8;--mantine-color-cyan-4: #3bc9db;--mantine-color-cyan-5: #22b8cf;--mantine-color-cyan-6: #15aabf;--mantine-color-cyan-7: #1098ad;--mantine-color-cyan-8: #0c8599;--mantine-color-cyan-9: #0b7285;--mantine-color-teal-0: #e6fcf5;--mantine-color-teal-1: #c3fae8;--mantine-color-teal-2: #96f2d7;--mantine-color-teal-3: #63e6be;--mantine-color-teal-4: #38d9a9;--mantine-color-teal-5: #20c997;--mantine-color-teal-6: #12b886;--mantine-color-teal-7: #0ca678;--mantine-color-teal-8: #099268;--mantine-color-teal-9: #087f5b;--mantine-color-green-0: #ebfbee;--mantine-color-green-1: #d3f9d8;--mantine-color-green-2: #b2f2bb;--mantine-color-green-3: #8ce99a;--mantine-color-green-4: #69db7c;--mantine-color-green-5: #51cf66;--mantine-color-green-6: #40c057;--mantine-color-green-7: #37b24d;--mantine-color-green-8: #2f9e44;--mantine-color-green-9: #2b8a3e;--mantine-color-lime-0: #f4fce3;--mantine-color-lime-1: #e9fac8;--mantine-color-lime-2: #d8f5a2;--mantine-color-lime-3: #c0eb75;--mantine-color-lime-4: #a9e34b;--mantine-color-lime-5: #94d82d;--mantine-color-lime-6: #82c91e;--mantine-color-lime-7: #74b816;--mantine-color-lime-8: #66a80f;--mantine-color-lime-9: #5c940d;--mantine-color-yellow-0: #fff9db;--mantine-color-yellow-1: #fff3bf;--mantine-color-yellow-2: #ffec99;--mantine-color-yellow-3: #ffe066;--mantine-color-yellow-4: #ffd43b;--mantine-color-yellow-5: #fcc419;--mantine-color-yellow-6: #fab005;--mantine-color-yellow-7: #f59f00;--mantine-color-yellow-8: #f08c00;--mantine-color-yellow-9: #e67700;--mantine-color-orange-0: #fff4e6;--mantine-color-orange-1: #ffe8cc;--mantine-color-orange-2: #ffd8a8;--mantine-color-orange-3: #ffc078;--mantine-color-orange-4: #ffa94d;--mantine-color-orange-5: #ff922b;--mantine-color-orange-6: #fd7e14;--mantine-color-orange-7: #f76707;--mantine-color-orange-8: #e8590c;--mantine-color-orange-9: #d9480f;--mantine-h1-font-size: calc(2.125rem * var(--mantine-scale));--mantine-h1-line-height: 1.3;--mantine-h1-font-weight: 700;--mantine-h2-font-size: calc(1.625rem * var(--mantine-scale));--mantine-h2-line-height: 1.35;--mantine-h2-font-weight: 700;--mantine-h3-font-size: calc(1.375rem * var(--mantine-scale));--mantine-h3-line-height: 1.4;--mantine-h3-font-weight: 700;--mantine-h4-font-size: calc(1.125rem * var(--mantine-scale));--mantine-h4-line-height: 1.45;--mantine-h4-font-weight: 700;--mantine-h5-font-size: calc(1rem * var(--mantine-scale));--mantine-h5-line-height: 1.5;--mantine-h5-font-weight: 700;--mantine-h6-font-size: calc(.875rem * var(--mantine-scale));--mantine-h6-line-height: 1.5;--mantine-h6-font-weight: 700}:root[data-mantine-color-scheme=dark]{--mantine-color-scheme: dark;--mantine-primary-color-contrast: var(--mantine-color-white);--mantine-color-bright: var(--mantine-color-white);--mantine-color-text: var(--mantine-color-dark-0);--mantine-color-body: var(--mantine-color-dark-7);--mantine-color-error: var(--mantine-color-red-8);--mantine-color-placeholder: var(--mantine-color-dark-3);--mantine-color-anchor: var(--mantine-color-blue-4);--mantine-color-default: var(--mantine-color-dark-6);--mantine-color-default-hover: var(--mantine-color-dark-5);--mantine-color-default-color: var(--mantine-color-white);--mantine-color-default-border: var(--mantine-color-dark-4);--mantine-color-dimmed: var(--mantine-color-dark-2);--mantine-color-disabled: var(--mantine-color-dark-6);--mantine-color-disabled-color: var(--mantine-color-dark-3);--mantine-color-disabled-border: var(--mantine-color-dark-4);--mantine-color-dark-text: var(--mantine-color-dark-4);--mantine-color-dark-filled: var(--mantine-color-dark-8);--mantine-color-dark-filled-hover: var(--mantine-color-dark-9);--mantine-color-dark-light: rgba(46, 46, 46, .15);--mantine-color-dark-light-hover: rgba(46, 46, 46, .2);--mantine-color-dark-light-color: var(--mantine-color-dark-3);--mantine-color-dark-outline: var(--mantine-color-dark-4);--mantine-color-dark-outline-hover: rgba(66, 66, 66, .05);--mantine-color-gray-text: var(--mantine-color-gray-4);--mantine-color-gray-filled: var(--mantine-color-gray-8);--mantine-color-gray-filled-hover: var(--mantine-color-gray-9);--mantine-color-gray-light: rgba(134, 142, 150, .15);--mantine-color-gray-light-hover: rgba(134, 142, 150, .2);--mantine-color-gray-light-color: var(--mantine-color-gray-3);--mantine-color-gray-outline: var(--mantine-color-gray-4);--mantine-color-gray-outline-hover: rgba(206, 212, 218, .05);--mantine-color-red-text: var(--mantine-color-red-4);--mantine-color-red-filled: var(--mantine-color-red-8);--mantine-color-red-filled-hover: var(--mantine-color-red-9);--mantine-color-red-light: rgba(250, 82, 82, .15);--mantine-color-red-light-hover: rgba(250, 82, 82, .2);--mantine-color-red-light-color: var(--mantine-color-red-3);--mantine-color-red-outline: var(--mantine-color-red-4);--mantine-color-red-outline-hover: rgba(255, 135, 135, .05);--mantine-color-pink-text: var(--mantine-color-pink-4);--mantine-color-pink-filled: var(--mantine-color-pink-8);--mantine-color-pink-filled-hover: var(--mantine-color-pink-9);--mantine-color-pink-light: rgba(230, 73, 128, .15);--mantine-color-pink-light-hover: rgba(230, 73, 128, .2);--mantine-color-pink-light-color: var(--mantine-color-pink-3);--mantine-color-pink-outline: var(--mantine-color-pink-4);--mantine-color-pink-outline-hover: rgba(247, 131, 172, .05);--mantine-color-grape-text: var(--mantine-color-grape-4);--mantine-color-grape-filled: var(--mantine-color-grape-8);--mantine-color-grape-filled-hover: var(--mantine-color-grape-9);--mantine-color-grape-light: rgba(190, 75, 219, .15);--mantine-color-grape-light-hover: rgba(190, 75, 219, .2);--mantine-color-grape-light-color: var(--mantine-color-grape-3);--mantine-color-grape-outline: var(--mantine-color-grape-4);--mantine-color-grape-outline-hover: rgba(218, 119, 242, .05);--mantine-color-violet-text: var(--mantine-color-violet-4);--mantine-color-violet-filled: var(--mantine-color-violet-8);--mantine-color-violet-filled-hover: var(--mantine-color-violet-9);--mantine-color-violet-light: rgba(121, 80, 242, .15);--mantine-color-violet-light-hover: rgba(121, 80, 242, .2);--mantine-color-violet-light-color: var(--mantine-color-violet-3);--mantine-color-violet-outline: var(--mantine-color-violet-4);--mantine-color-violet-outline-hover: rgba(151, 117, 250, .05);--mantine-color-indigo-text: var(--mantine-color-indigo-4);--mantine-color-indigo-filled: var(--mantine-color-indigo-8);--mantine-color-indigo-filled-hover: var(--mantine-color-indigo-9);--mantine-color-indigo-light: rgba(76, 110, 245, .15);--mantine-color-indigo-light-hover: rgba(76, 110, 245, .2);--mantine-color-indigo-light-color: var(--mantine-color-indigo-3);--mantine-color-indigo-outline: var(--mantine-color-indigo-4);--mantine-color-indigo-outline-hover: rgba(116, 143, 252, .05);--mantine-color-blue-text: var(--mantine-color-blue-4);--mantine-color-blue-filled: var(--mantine-color-blue-8);--mantine-color-blue-filled-hover: var(--mantine-color-blue-9);--mantine-color-blue-light: rgba(34, 139, 230, .15);--mantine-color-blue-light-hover: rgba(34, 139, 230, .2);--mantine-color-blue-light-color: var(--mantine-color-blue-3);--mantine-color-blue-outline: var(--mantine-color-blue-4);--mantine-color-blue-outline-hover: rgba(77, 171, 247, .05);--mantine-color-cyan-text: var(--mantine-color-cyan-4);--mantine-color-cyan-filled: var(--mantine-color-cyan-8);--mantine-color-cyan-filled-hover: var(--mantine-color-cyan-9);--mantine-color-cyan-light: rgba(21, 170, 191, .15);--mantine-color-cyan-light-hover: rgba(21, 170, 191, .2);--mantine-color-cyan-light-color: var(--mantine-color-cyan-3);--mantine-color-cyan-outline: var(--mantine-color-cyan-4);--mantine-color-cyan-outline-hover: rgba(59, 201, 219, .05);--mantine-color-teal-text: var(--mantine-color-teal-4);--mantine-color-teal-filled: var(--mantine-color-teal-8);--mantine-color-teal-filled-hover: var(--mantine-color-teal-9);--mantine-color-teal-light: rgba(18, 184, 134, .15);--mantine-color-teal-light-hover: rgba(18, 184, 134, .2);--mantine-color-teal-light-color: var(--mantine-color-teal-3);--mantine-color-teal-outline: var(--mantine-color-teal-4);--mantine-color-teal-outline-hover: rgba(56, 217, 169, .05);--mantine-color-green-text: var(--mantine-color-green-4);--mantine-color-green-filled: var(--mantine-color-green-8);--mantine-color-green-filled-hover: var(--mantine-color-green-9);--mantine-color-green-light: rgba(64, 192, 87, .15);--mantine-color-green-light-hover: rgba(64, 192, 87, .2);--mantine-color-green-light-color: var(--mantine-color-green-3);--mantine-color-green-outline: var(--mantine-color-green-4);--mantine-color-green-outline-hover: rgba(105, 219, 124, .05);--mantine-color-lime-text: var(--mantine-color-lime-4);--mantine-color-lime-filled: var(--mantine-color-lime-8);--mantine-color-lime-filled-hover: var(--mantine-color-lime-9);--mantine-color-lime-light: rgba(130, 201, 30, .15);--mantine-color-lime-light-hover: rgba(130, 201, 30, .2);--mantine-color-lime-light-color: var(--mantine-color-lime-3);--mantine-color-lime-outline: var(--mantine-color-lime-4);--mantine-color-lime-outline-hover: rgba(169, 227, 75, .05);--mantine-color-yellow-text: var(--mantine-color-yellow-4);--mantine-color-yellow-filled: var(--mantine-color-yellow-8);--mantine-color-yellow-filled-hover: var(--mantine-color-yellow-9);--mantine-color-yellow-light: rgba(250, 176, 5, .15);--mantine-color-yellow-light-hover: rgba(250, 176, 5, .2);--mantine-color-yellow-light-color: var(--mantine-color-yellow-3);--mantine-color-yellow-outline: var(--mantine-color-yellow-4);--mantine-color-yellow-outline-hover: rgba(255, 212, 59, .05);--mantine-color-orange-text: var(--mantine-color-orange-4);--mantine-color-orange-filled: var(--mantine-color-orange-8);--mantine-color-orange-filled-hover: var(--mantine-color-orange-9);--mantine-color-orange-light: rgba(253, 126, 20, .15);--mantine-color-orange-light-hover: rgba(253, 126, 20, .2);--mantine-color-orange-light-color: var(--mantine-color-orange-3);--mantine-color-orange-outline: var(--mantine-color-orange-4);--mantine-color-orange-outline-hover: rgba(255, 169, 77, .05)}:root[data-mantine-color-scheme=light]{--mantine-color-scheme: light;--mantine-primary-color-contrast: var(--mantine-color-white);--mantine-color-bright: var(--mantine-color-black);--mantine-color-text: #000;--mantine-color-body: #fff;--mantine-color-error: var(--mantine-color-red-6);--mantine-color-placeholder: var(--mantine-color-gray-5);--mantine-color-anchor: var(--mantine-color-blue-6);--mantine-color-default: var(--mantine-color-white);--mantine-color-default-hover: var(--mantine-color-gray-0);--mantine-color-default-color: var(--mantine-color-black);--mantine-color-default-border: var(--mantine-color-gray-4);--mantine-color-dimmed: var(--mantine-color-gray-6);--mantine-color-disabled: var(--mantine-color-gray-2);--mantine-color-disabled-color: var(--mantine-color-gray-5);--mantine-color-disabled-border: var(--mantine-color-gray-3);--mantine-color-dark-text: var(--mantine-color-dark-filled);--mantine-color-dark-filled: var(--mantine-color-dark-6);--mantine-color-dark-filled-hover: var(--mantine-color-dark-7);--mantine-color-dark-light: rgba(46, 46, 46, .1);--mantine-color-dark-light-hover: rgba(46, 46, 46, .12);--mantine-color-dark-light-color: var(--mantine-color-dark-6);--mantine-color-dark-outline: var(--mantine-color-dark-6);--mantine-color-dark-outline-hover: rgba(46, 46, 46, .05);--mantine-color-gray-text: var(--mantine-color-gray-filled);--mantine-color-gray-filled: var(--mantine-color-gray-6);--mantine-color-gray-filled-hover: var(--mantine-color-gray-7);--mantine-color-gray-light: rgba(134, 142, 150, .1);--mantine-color-gray-light-hover: rgba(134, 142, 150, .12);--mantine-color-gray-light-color: var(--mantine-color-gray-6);--mantine-color-gray-outline: var(--mantine-color-gray-6);--mantine-color-gray-outline-hover: rgba(134, 142, 150, .05);--mantine-color-red-text: var(--mantine-color-red-filled);--mantine-color-red-filled: var(--mantine-color-red-6);--mantine-color-red-filled-hover: var(--mantine-color-red-7);--mantine-color-red-light: rgba(250, 82, 82, .1);--mantine-color-red-light-hover: rgba(250, 82, 82, .12);--mantine-color-red-light-color: var(--mantine-color-red-6);--mantine-color-red-outline: var(--mantine-color-red-6);--mantine-color-red-outline-hover: rgba(250, 82, 82, .05);--mantine-color-pink-text: var(--mantine-color-pink-filled);--mantine-color-pink-filled: var(--mantine-color-pink-6);--mantine-color-pink-filled-hover: var(--mantine-color-pink-7);--mantine-color-pink-light: rgba(230, 73, 128, .1);--mantine-color-pink-light-hover: rgba(230, 73, 128, .12);--mantine-color-pink-light-color: var(--mantine-color-pink-6);--mantine-color-pink-outline: var(--mantine-color-pink-6);--mantine-color-pink-outline-hover: rgba(230, 73, 128, .05);--mantine-color-grape-text: var(--mantine-color-grape-filled);--mantine-color-grape-filled: var(--mantine-color-grape-6);--mantine-color-grape-filled-hover: var(--mantine-color-grape-7);--mantine-color-grape-light: rgba(190, 75, 219, .1);--mantine-color-grape-light-hover: rgba(190, 75, 219, .12);--mantine-color-grape-light-color: var(--mantine-color-grape-6);--mantine-color-grape-outline: var(--mantine-color-grape-6);--mantine-color-grape-outline-hover: rgba(190, 75, 219, .05);--mantine-color-violet-text: var(--mantine-color-violet-filled);--mantine-color-violet-filled: var(--mantine-color-violet-6);--mantine-color-violet-filled-hover: var(--mantine-color-violet-7);--mantine-color-violet-light: rgba(121, 80, 242, .1);--mantine-color-violet-light-hover: rgba(121, 80, 242, .12);--mantine-color-violet-light-color: var(--mantine-color-violet-6);--mantine-color-violet-outline: var(--mantine-color-violet-6);--mantine-color-violet-outline-hover: rgba(121, 80, 242, .05);--mantine-color-indigo-text: var(--mantine-color-indigo-filled);--mantine-color-indigo-filled: var(--mantine-color-indigo-6);--mantine-color-indigo-filled-hover: var(--mantine-color-indigo-7);--mantine-color-indigo-light: rgba(76, 110, 245, .1);--mantine-color-indigo-light-hover: rgba(76, 110, 245, .12);--mantine-color-indigo-light-color: var(--mantine-color-indigo-6);--mantine-color-indigo-outline: var(--mantine-color-indigo-6);--mantine-color-indigo-outline-hover: rgba(76, 110, 245, .05);--mantine-color-blue-text: var(--mantine-color-blue-filled);--mantine-color-blue-filled: var(--mantine-color-blue-6);--mantine-color-blue-filled-hover: var(--mantine-color-blue-7);--mantine-color-blue-light: rgba(34, 139, 230, .1);--mantine-color-blue-light-hover: rgba(34, 139, 230, .12);--mantine-color-blue-light-color: var(--mantine-color-blue-6);--mantine-color-blue-outline: var(--mantine-color-blue-6);--mantine-color-blue-outline-hover: rgba(34, 139, 230, .05);--mantine-color-cyan-text: var(--mantine-color-cyan-filled);--mantine-color-cyan-filled: var(--mantine-color-cyan-6);--mantine-color-cyan-filled-hover: var(--mantine-color-cyan-7);--mantine-color-cyan-light: rgba(21, 170, 191, .1);--mantine-color-cyan-light-hover: rgba(21, 170, 191, .12);--mantine-color-cyan-light-color: var(--mantine-color-cyan-6);--mantine-color-cyan-outline: var(--mantine-color-cyan-6);--mantine-color-cyan-outline-hover: rgba(21, 170, 191, .05);--mantine-color-teal-text: var(--mantine-color-teal-filled);--mantine-color-teal-filled: var(--mantine-color-teal-6);--mantine-color-teal-filled-hover: var(--mantine-color-teal-7);--mantine-color-teal-light: rgba(18, 184, 134, .1);--mantine-color-teal-light-hover: rgba(18, 184, 134, .12);--mantine-color-teal-light-color: var(--mantine-color-teal-6);--mantine-color-teal-outline: var(--mantine-color-teal-6);--mantine-color-teal-outline-hover: rgba(18, 184, 134, .05);--mantine-color-green-text: var(--mantine-color-green-filled);--mantine-color-green-filled: var(--mantine-color-green-6);--mantine-color-green-filled-hover: var(--mantine-color-green-7);--mantine-color-green-light: rgba(64, 192, 87, .1);--mantine-color-green-light-hover: rgba(64, 192, 87, .12);--mantine-color-green-light-color: var(--mantine-color-green-6);--mantine-color-green-outline: var(--mantine-color-green-6);--mantine-color-green-outline-hover: rgba(64, 192, 87, .05);--mantine-color-lime-text: var(--mantine-color-lime-filled);--mantine-color-lime-filled: var(--mantine-color-lime-6);--mantine-color-lime-filled-hover: var(--mantine-color-lime-7);--mantine-color-lime-light: rgba(130, 201, 30, .1);--mantine-color-lime-light-hover: rgba(130, 201, 30, .12);--mantine-color-lime-light-color: var(--mantine-color-lime-6);--mantine-color-lime-outline: var(--mantine-color-lime-6);--mantine-color-lime-outline-hover: rgba(130, 201, 30, .05);--mantine-color-yellow-text: var(--mantine-color-yellow-filled);--mantine-color-yellow-filled: var(--mantine-color-yellow-6);--mantine-color-yellow-filled-hover: var(--mantine-color-yellow-7);--mantine-color-yellow-light: rgba(250, 176, 5, .1);--mantine-color-yellow-light-hover: rgba(250, 176, 5, .12);--mantine-color-yellow-light-color: var(--mantine-color-yellow-6);--mantine-color-yellow-outline: var(--mantine-color-yellow-6);--mantine-color-yellow-outline-hover: rgba(250, 176, 5, .05);--mantine-color-orange-text: var(--mantine-color-orange-filled);--mantine-color-orange-filled: var(--mantine-color-orange-6);--mantine-color-orange-filled-hover: var(--mantine-color-orange-7);--mantine-color-orange-light: rgba(253, 126, 20, .1);--mantine-color-orange-light-hover: rgba(253, 126, 20, .12);--mantine-color-orange-light-color: var(--mantine-color-orange-6);--mantine-color-orange-outline: var(--mantine-color-orange-6);--mantine-color-orange-outline-hover: rgba(253, 126, 20, .05)}.m_d57069b5{--scrollarea-scrollbar-size: calc(.75rem * var(--mantine-scale));position:relative;overflow:hidden}.m_d57069b5:where([data-autosize]) .m_b1336c6{min-width:min-content}.m_c0783ff9{scrollbar-width:none;overscroll-behavior:var(--scrollarea-over-scroll-behavior);-ms-overflow-style:none;-webkit-overflow-scrolling:touch;width:100%;height:100%}.m_c0783ff9::-webkit-scrollbar{display:none}.m_c0783ff9:where([data-scrollbars=xy],[data-scrollbars=y]):where([data-offset-scrollbars=xy],[data-offset-scrollbars=y],[data-offset-scrollbars=present]):where([data-vertical-hidden]){padding-inline-end:0;padding-inline-start:0}.m_c0783ff9:where([data-scrollbars=xy],[data-scrollbars=y]):where([data-offset-scrollbars=xy],[data-offset-scrollbars=y],[data-offset-scrollbars=present]):not([data-vertical-hidden]){padding-inline-end:var(--scrollarea-scrollbar-size);padding-inline-start:unset}.m_c0783ff9:where([data-scrollbars=xy],[data-scrollbars=x]):where([data-offset-scrollbars=xy],[data-offset-scrollbars=x],[data-offset-scrollbars=present]):where([data-horizontal-hidden]){padding-bottom:0}.m_c0783ff9:where([data-scrollbars=xy],[data-scrollbars=x]):where([data-offset-scrollbars=xy],[data-offset-scrollbars=x],[data-offset-scrollbars=present]):not([data-horizontal-hidden]){padding-bottom:var(--scrollarea-scrollbar-size)}.m_f8f631dd{min-width:100%;display:table}.m_c44ba933{user-select:none;touch-action:none;box-sizing:border-box;transition:background-color .15s ease,opacity .15s ease;padding:calc(var(--scrollarea-scrollbar-size) / 5);display:flex;background-color:transparent;flex-direction:row}@media(hover:hover){:where([data-mantine-color-scheme=light]) .m_c44ba933:hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=light]) .m_c44ba933:hover>.m_d8b5e363{background-color:#00000080}:where([data-mantine-color-scheme=dark]) .m_c44ba933:hover{background-color:var(--mantine-color-dark-8)}:where([data-mantine-color-scheme=dark]) .m_c44ba933:hover>.m_d8b5e363{background-color:#ffffff80}}@media(hover:none){:where([data-mantine-color-scheme=light]) .m_c44ba933:active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=light]) .m_c44ba933:active>.m_d8b5e363{background-color:#00000080}:where([data-mantine-color-scheme=dark]) .m_c44ba933:active{background-color:var(--mantine-color-dark-8)}:where([data-mantine-color-scheme=dark]) .m_c44ba933:active>.m_d8b5e363{background-color:#ffffff80}}.m_c44ba933:where([data-hidden],[data-state=hidden]){display:none}.m_c44ba933:where([data-orientation=vertical]){width:var(--scrollarea-scrollbar-size);top:0;bottom:var(--sa-corner-width);inset-inline-end:0}.m_c44ba933:where([data-orientation=horizontal]){height:var(--scrollarea-scrollbar-size);flex-direction:column;bottom:0;inset-inline-start:0;inset-inline-end:var(--sa-corner-width)}.m_d8b5e363{flex:1;border-radius:var(--scrollarea-scrollbar-size);position:relative;transition:background-color .15s ease;overflow:hidden;opacity:var(--thumb-opacity)}.m_d8b5e363:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-width:calc(2.75rem * var(--mantine-scale));min-height:calc(2.75rem * var(--mantine-scale))}:where([data-mantine-color-scheme=light]) .m_d8b5e363{background-color:#0006}:where([data-mantine-color-scheme=dark]) .m_d8b5e363{background-color:#fff6}.m_21657268{position:absolute;opacity:0;transition:opacity .15s ease;display:block;inset-inline-end:0;bottom:0}:where([data-mantine-color-scheme=light]) .m_21657268{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_21657268{background-color:var(--mantine-color-dark-8)}.m_21657268:where([data-hovered]){opacity:1}.m_21657268:where([data-hidden]){display:none}.m_b1336c6{min-width:100%}.m_87cf2631{background-color:transparent;cursor:pointer;border:0;padding:0;appearance:none;font-size:var(--mantine-font-size-md);text-align:left;text-decoration:none;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}:where([dir=rtl]) .m_87cf2631{text-align:right}.m_515a97f8{border:0;clip:rect(0 0 0 0);height:calc(.0625rem * var(--mantine-scale));width:calc(.0625rem * var(--mantine-scale));margin:calc(-.0625rem * var(--mantine-scale));overflow:hidden;padding:0;position:absolute;white-space:nowrap}.m_1b7284a3{--paper-radius: var(--mantine-radius-default);outline:0;-webkit-tap-highlight-color:transparent;display:block;touch-action:manipulation;text-decoration:none;border-radius:var(--paper-radius);box-shadow:var(--paper-shadow);background-color:var(--mantine-color-body)}[data-mantine-color-scheme=light] .m_1b7284a3{--paper-border-color: var(--mantine-color-gray-3)}[data-mantine-color-scheme=dark] .m_1b7284a3{--paper-border-color: var(--mantine-color-dark-4)}.m_1b7284a3:where([data-with-border]){border:calc(.0625rem * var(--mantine-scale)) solid var(--paper-border-color)}.m_9814e45f{inset:0;position:absolute;background:var(--overlay-bg, rgba(0, 0, 0, .6));-webkit-backdrop-filter:var(--overlay-filter);backdrop-filter:var(--overlay-filter);border-radius:var(--overlay-radius, 0);z-index:var(--overlay-z-index)}.m_9814e45f:where([data-fixed]){position:fixed}.m_9814e45f:where([data-center]){display:flex;align-items:center;justify-content:center}.m_38a85659{position:absolute;border:1px solid var(--popover-border-color);padding:var(--mantine-spacing-sm) var(--mantine-spacing-md);box-shadow:var(--popover-shadow, none);border-radius:var(--popover-radius, var(--mantine-radius-default))}.m_38a85659:where([data-fixed]){position:fixed}.m_38a85659:focus{outline:none}:where([data-mantine-color-scheme=light]) .m_38a85659{--popover-border-color: var(--mantine-color-gray-2);background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_38a85659{--popover-border-color: var(--mantine-color-dark-4);background-color:var(--mantine-color-dark-6)}.m_a31dc6c1{background-color:inherit;border:1px solid var(--popover-border-color);z-index:1}.m_3d7bc908{position:fixed;inset:0}.m_5ae2e3c{--loader-size-xs: calc(1.125rem * var(--mantine-scale));--loader-size-sm: calc(1.375rem * var(--mantine-scale));--loader-size-md: calc(2.25rem * var(--mantine-scale));--loader-size-lg: calc(2.75rem * var(--mantine-scale));--loader-size-xl: calc(3.625rem * var(--mantine-scale));--loader-size: var(--loader-size-md);--loader-color: var(--mantine-primary-color-filled)}@keyframes m_5d2b3b9d{0%{transform:scale(.6);opacity:0}50%,to{transform:scale(1)}}.m_7a2bd4cd{position:relative;width:var(--loader-size);height:var(--loader-size);display:flex;gap:calc(var(--loader-size) / 5)}.m_870bb79{flex:1;background:var(--loader-color);animation:m_5d2b3b9d 1.2s cubic-bezier(0,.5,.5,1) infinite;border-radius:calc(.125rem * var(--mantine-scale))}.m_870bb79:nth-of-type(1){animation-delay:-.24s}.m_870bb79:nth-of-type(2){animation-delay:-.12s}.m_870bb79:nth-of-type(3){animation-delay:0}@keyframes m_aac34a1{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.6);opacity:.5}}.m_4e3f22d7{display:flex;justify-content:center;align-items:center;gap:calc(var(--loader-size) / 10);position:relative;width:var(--loader-size);height:var(--loader-size)}.m_870c4af{width:calc(var(--loader-size) / 3 - var(--loader-size) / 15);height:calc(var(--loader-size) / 3 - var(--loader-size) / 15);border-radius:50%;background:var(--loader-color);animation:m_aac34a1 .8s infinite linear}.m_870c4af:nth-child(2){animation-delay:.4s}@keyframes m_f8e89c4b{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.m_b34414df{display:inline-block;width:var(--loader-size);height:var(--loader-size)}.m_b34414df:after{content:"";display:block;width:var(--loader-size);height:var(--loader-size);border-radius:calc(625rem * var(--mantine-scale));border-width:calc(var(--loader-size) / 8);border-style:solid;border-color:var(--loader-color) var(--loader-color) var(--loader-color) transparent;animation:m_f8e89c4b 1.2s linear infinite}.m_8d3f4000{--ai-size-xs: calc(1.125rem * var(--mantine-scale));--ai-size-sm: calc(1.375rem * var(--mantine-scale));--ai-size-md: calc(1.75rem * var(--mantine-scale));--ai-size-lg: calc(2.125rem * var(--mantine-scale));--ai-size-xl: calc(2.75rem * var(--mantine-scale));--ai-size-input-xs: calc(1.875rem * var(--mantine-scale));--ai-size-input-sm: calc(2.25rem * var(--mantine-scale));--ai-size-input-md: calc(2.625rem * var(--mantine-scale));--ai-size-input-lg: calc(3.125rem * var(--mantine-scale));--ai-size-input-xl: calc(3.75rem * var(--mantine-scale));--ai-size: var(--ai-size-md);--ai-color: var(--mantine-color-white);line-height:1;display:inline-flex;align-items:center;justify-content:center;position:relative;user-select:none;overflow:hidden;width:var(--ai-size);height:var(--ai-size);min-width:var(--ai-size);min-height:var(--ai-size);border-radius:var(--ai-radius, var(--mantine-radius-default));background:var(--ai-bg, var(--mantine-primary-color-filled));color:var(--ai-color, var(--mantine-color-white));border:var(--ai-bd, calc(.0625rem * var(--mantine-scale)) solid transparent);cursor:pointer}@media(hover:hover){.m_8d3f4000:hover:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--ai-hover, var(--mantine-primary-color-filled-hover));color:var(--ai-hover-color, var(--ai-color))}}@media(hover:none){.m_8d3f4000:active:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--ai-hover, var(--mantine-primary-color-filled-hover));color:var(--ai-hover-color, var(--ai-color))}}.m_8d3f4000[data-loading]{cursor:not-allowed}.m_8d3f4000[data-loading] .m_8d3afb97{opacity:0;transform:translateY(100%)}.m_8d3f4000:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])){cursor:not-allowed;border:calc(.0625rem * var(--mantine-scale)) solid transparent;color:var(--mantine-color-disabled-color);background-color:var(--mantine-color-disabled)}.m_8d3f4000:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])):active{transform:none}.m_302b9fb1{inset:calc(-.0625rem * var(--mantine-scale));position:absolute;border-radius:var(--ai-radius, var(--mantine-radius-default));display:flex;align-items:center;justify-content:center}:where([data-mantine-color-scheme=light]) .m_302b9fb1{background-color:#ffffff26}:where([data-mantine-color-scheme=dark]) .m_302b9fb1{background-color:#00000026}.m_1a0f1b21{--ai-border-width: calc(.0625rem * var(--mantine-scale));display:flex}.m_1a0f1b21 :where(*):focus{position:relative;z-index:1}.m_1a0f1b21[data-orientation=horizontal]{flex-direction:row}.m_1a0f1b21[data-orientation=horizontal] .m_8d3f4000:not(:only-child):first-child,.m_1a0f1b21[data-orientation=horizontal] .m_437b6484:not(:only-child):first-child{border-end-end-radius:0;border-start-end-radius:0;border-inline-end-width:calc(var(--ai-border-width) / 2)}.m_1a0f1b21[data-orientation=horizontal] .m_8d3f4000:not(:only-child):last-child,.m_1a0f1b21[data-orientation=horizontal] .m_437b6484:not(:only-child):last-child{border-end-start-radius:0;border-start-start-radius:0;border-inline-start-width:calc(var(--ai-border-width) / 2)}.m_1a0f1b21[data-orientation=horizontal] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child),.m_1a0f1b21[data-orientation=horizontal] .m_437b6484:not(:only-child):not(:first-child):not(:last-child){border-radius:0;border-inline-width:calc(var(--ai-border-width) / 2)}.m_1a0f1b21[data-orientation=vertical]{flex-direction:column}.m_1a0f1b21[data-orientation=vertical] .m_8d3f4000:not(:only-child):first-child,.m_1a0f1b21[data-orientation=vertical] .m_437b6484:not(:only-child):first-child{border-end-start-radius:0;border-end-end-radius:0;border-bottom-width:calc(var(--ai-border-width) / 2)}.m_1a0f1b21[data-orientation=vertical] .m_8d3f4000:not(:only-child):last-child,.m_1a0f1b21[data-orientation=vertical] .m_437b6484:not(:only-child):last-child{border-start-start-radius:0;border-start-end-radius:0;border-top-width:calc(var(--ai-border-width) / 2)}.m_1a0f1b21[data-orientation=vertical] .m_8d3f4000:not(:only-child):not(:first-child):not(:last-child),.m_1a0f1b21[data-orientation=vertical] .m_437b6484:not(:only-child):not(:first-child):not(:last-child){border-radius:0;border-bottom-width:calc(var(--ai-border-width) / 2);border-top-width:calc(var(--ai-border-width) / 2)}.m_8d3afb97{display:flex;align-items:center;justify-content:center;transition:transform .15s ease,opacity .1s ease;width:100%;height:100%}.m_437b6484{--section-height-xs: calc(1.125rem * var(--mantine-scale));--section-height-sm: calc(1.375rem * var(--mantine-scale));--section-height-md: calc(1.75rem * var(--mantine-scale));--section-height-lg: calc(2.125rem * var(--mantine-scale));--section-height-xl: calc(2.75rem * var(--mantine-scale));--section-height-input-xs: calc(1.875rem * var(--mantine-scale));--section-height-input-sm: calc(2.25rem * var(--mantine-scale));--section-height-input-md: calc(2.625rem * var(--mantine-scale));--section-height-input-lg: calc(3.125rem * var(--mantine-scale));--section-height-input-xl: calc(3.75rem * var(--mantine-scale));--section-padding-x-xs: calc(.375rem * var(--mantine-scale));--section-padding-x-sm: calc(.5rem * var(--mantine-scale));--section-padding-x-md: calc(.625rem * var(--mantine-scale));--section-padding-x-lg: calc(.75rem * var(--mantine-scale));--section-padding-x-xl: calc(1rem * var(--mantine-scale));--section-height: var(--section-height-sm);--section-padding-x: var(--section-padding-x-sm);--section-color: var(--mantine-color-white);font-weight:600;width:auto;border-radius:var(--section-radius, var(--mantine-radius-default));font-size:var(--section-fz, var(--mantine-font-size-sm));background:var(--section-bg, var(--mantine-primary-color-filled));border:var(--section-bd, calc(.0625rem * var(--mantine-scale)) solid transparent);color:var(--section-color, var(--mantine-color-white));height:var(--section-height, var(--section-height-sm));padding-inline:var(--section-padding-x, var(--section-padding-x-sm));vertical-align:middle;line-height:1;display:inline-flex;align-items:center;justify-content:center}.m_86a44da5{--cb-size-xs: calc(1.125rem * var(--mantine-scale));--cb-size-sm: calc(1.375rem * var(--mantine-scale));--cb-size-md: calc(1.75rem * var(--mantine-scale));--cb-size-lg: calc(2.125rem * var(--mantine-scale));--cb-size-xl: calc(2.75rem * var(--mantine-scale));--cb-size: var(--cb-size-md);--cb-icon-size: 70%;--cb-radius: var(--mantine-radius-default);line-height:1;display:inline-flex;align-items:center;justify-content:center;position:relative;user-select:none;width:var(--cb-size);height:var(--cb-size);min-width:var(--cb-size);min-height:var(--cb-size);border-radius:var(--cb-radius)}:where([data-mantine-color-scheme=light]) .m_86a44da5{color:var(--mantine-color-gray-7)}:where([data-mantine-color-scheme=dark]) .m_86a44da5{color:var(--mantine-color-dark-1)}.m_86a44da5[data-disabled],.m_86a44da5:disabled{cursor:not-allowed;opacity:.6}@media(hover:hover){:where([data-mantine-color-scheme=light]) .m_220c80f2:where(:not([data-disabled],:disabled)):hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_220c80f2:where(:not([data-disabled],:disabled)):hover{background-color:var(--mantine-color-dark-6)}}@media(hover:none){:where([data-mantine-color-scheme=light]) .m_220c80f2:where(:not([data-disabled],:disabled)):active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_220c80f2:where(:not([data-disabled],:disabled)):active{background-color:var(--mantine-color-dark-6)}}.m_4081bf90{display:flex;flex-direction:row;flex-wrap:var(--group-wrap, wrap);justify-content:var(--group-justify, flex-start);align-items:var(--group-align, center);gap:var(--group-gap, var(--mantine-spacing-md))}.m_4081bf90:where([data-grow])>*{flex-grow:1;max-width:var(--group-child-width)}.m_615af6c9{line-height:1;padding:0;margin:0;font-weight:400;font-size:var(--mantine-font-size-md)}.m_b5489c3c{display:flex;justify-content:space-between;align-items:center;padding:var(--mb-padding, var(--mantine-spacing-md));padding-inline-end:calc(var(--mb-padding, var(--mantine-spacing-md)) - calc(.3125rem * var(--mantine-scale)));position:sticky;top:0;background-color:var(--mantine-color-body);z-index:1000;min-height:calc(3.75rem * var(--mantine-scale));transition:padding-inline-end .1s}.m_60c222c7{position:fixed;width:100%;top:0;bottom:0;z-index:var(--mb-z-index);pointer-events:none}.m_fd1ab0aa{pointer-events:all;box-shadow:var(--mb-shadow, var(--mantine-shadow-xl))}.m_fd1ab0aa [data-mantine-scrollbar]{z-index:1001}[data-offset-scrollbars] .m_fd1ab0aa:has([data-mantine-scrollbar]) .m_b5489c3c{padding-inline-end:calc(var(--mb-padding, var(--mantine-spacing-md)) + calc(.3125rem * var(--mantine-scale)))}.m_606cb269{margin-inline-start:auto}.m_5df29311{padding:var(--mb-padding, var(--mantine-spacing-md));padding-top:var(--mb-padding, var(--mantine-spacing-md))}.m_5df29311:where(:not(:only-child)){padding-top:0}.m_6c018570{position:relative;margin-top:var(--input-margin-top, 0rem);margin-bottom:var(--input-margin-bottom, 0rem);--input-height-xs: calc(1.875rem * var(--mantine-scale));--input-height-sm: calc(2.25rem * var(--mantine-scale));--input-height-md: calc(2.625rem * var(--mantine-scale));--input-height-lg: calc(3.125rem * var(--mantine-scale));--input-height-xl: calc(3.75rem * var(--mantine-scale));--input-padding-y-xs: calc(.3125rem * var(--mantine-scale));--input-padding-y-sm: calc(.375rem * var(--mantine-scale));--input-padding-y-md: calc(.5rem * var(--mantine-scale));--input-padding-y-lg: calc(.625rem * var(--mantine-scale));--input-padding-y-xl: calc(.8125rem * var(--mantine-scale));--input-height: var(--input-height-sm);--input-radius: var(--mantine-radius-default);--input-cursor: text;--input-text-align: left;--input-line-height: calc(var(--input-height) - calc(.125rem * var(--mantine-scale)));--input-padding: calc(var(--input-height) / 3);--input-padding-inline-start: var(--input-padding);--input-padding-inline-end: var(--input-padding);--input-placeholder-color: var(--mantine-color-placeholder);--input-color: var(--mantine-color-text);--input-disabled-bg: var(--mantine-color-disabled);--input-disabled-color: var(--mantine-color-disabled-color);--input-left-section-size: var(--input-left-section-width, calc(var(--input-height) - calc(.125rem * var(--mantine-scale))));--input-right-section-size: var( --input-right-section-width, calc(var(--input-height) - calc(.125rem * var(--mantine-scale))) );--input-size: var(--input-height);--section-y: calc(.0625rem * var(--mantine-scale));--left-section-start: calc(.0625rem * var(--mantine-scale));--left-section-border-radius: var(--input-radius) 0 0 var(--input-radius);--right-section-end: calc(.0625rem * var(--mantine-scale));--right-section-border-radius: 0 var(--input-radius) var(--input-radius) 0}.m_6c018570[data-variant=unstyled]{--input-padding: 0;--input-padding-y: 0;--input-padding-inline-start: 0;--input-padding-inline-end: 0}.m_6c018570[data-pointer]{--input-cursor: pointer}.m_6c018570[data-multiline]{--input-padding-y-xs: calc(.28125rem * var(--mantine-scale));--input-padding-y-sm: calc(.34375rem * var(--mantine-scale));--input-padding-y-md: calc(.4375rem * var(--mantine-scale));--input-padding-y-lg: calc(.59375rem * var(--mantine-scale));--input-padding-y-xl: calc(.8125rem * var(--mantine-scale));--input-size: auto;--input-line-height: var(--mantine-line-height)}.m_6c018570[data-with-left-section]{--input-padding-inline-start: var(--input-left-section-size)}.m_6c018570[data-with-right-section]{--input-padding-inline-end: var(--input-right-section-size)}.m_6c018570[data-size=xs] .m_6c018570[data-with-right-section]:has([data-combined-clear-section]){--input-padding-inline-end: calc(2.5625rem * var(--mantine-scale))}.m_6c018570[data-size=sm] .m_6c018570[data-with-right-section]:has([data-combined-clear-section]){--input-padding-inline-end: calc(3.125rem * var(--mantine-scale))}.m_6c018570[data-size=md] .m_6c018570[data-with-right-section]:has([data-combined-clear-section]){--input-padding-inline-end: calc(3.75rem * var(--mantine-scale))}.m_6c018570[data-size=lg] .m_6c018570[data-with-right-section]:has([data-combined-clear-section]){--input-padding-inline-end: calc(4.5rem * var(--mantine-scale))}.m_6c018570[data-size=xl] .m_6c018570[data-with-right-section]:has([data-combined-clear-section]){--input-padding-inline-end: calc(5.5625rem * var(--mantine-scale))}[data-mantine-color-scheme=light] .m_6c018570[data-variant=default]{--input-bd: var(--mantine-color-gray-4);--input-bg: var(--mantine-color-white);--input-bd-focus: var(--mantine-primary-color-filled)}[data-mantine-color-scheme=light] .m_6c018570[data-variant=filled]{--input-bd: transparent;--input-bg: var(--mantine-color-gray-1);--input-bd-focus: var(--mantine-primary-color-filled)}[data-mantine-color-scheme=light] .m_6c018570[data-variant=unstyled]{--input-bd: transparent;--input-bg: transparent;--input-bd-focus: transparent}[data-mantine-color-scheme=dark] .m_6c018570[data-variant=default]{--input-bd: var(--mantine-color-dark-4);--input-bg: var(--mantine-color-dark-6);--input-bd-focus: var(--mantine-primary-color-filled)}[data-mantine-color-scheme=dark] .m_6c018570[data-variant=filled]{--input-bd: transparent;--input-bg: var(--mantine-color-dark-5);--input-bd-focus: var(--mantine-primary-color-filled)}[data-mantine-color-scheme=dark] .m_6c018570[data-variant=unstyled]{--input-bd: transparent;--input-bg: transparent;--input-bd-focus: transparent}[data-mantine-color-scheme] .m_6c018570[data-error]:not([data-variant=unstyled]){--input-bd: var(--mantine-color-error)}[data-mantine-color-scheme] .m_6c018570[data-error]{--input-color: var(--mantine-color-error);--input-placeholder-color: var(--mantine-color-error);--input-section-color: var(--mantine-color-error)}:where([dir=rtl]) .m_6c018570{--input-text-align: right;--left-section-border-radius: 0 var(--input-radius) var(--input-radius) 0;--right-section-border-radius: var(--input-radius) 0 0 var(--input-radius)}.m_8fb7ebe7{-webkit-tap-highlight-color:transparent;appearance:none;resize:var(--input-resize, none);display:block;width:100%;transition:border-color .1s ease;text-align:var(--input-text-align);color:var(--input-color);border:calc(.0625rem * var(--mantine-scale)) solid var(--input-bd);background-color:var(--input-bg);font-family:var(--input-font-family, var(--mantine-font-family));height:var(--input-size);min-height:var(--input-height);line-height:var(--input-line-height);font-size:var(--_input-fz, var(--input-fz, var(--mantine-font-size-md)));border-radius:var(--input-radius);padding-inline-start:var(--input-padding-inline-start);padding-inline-end:var(--input-padding-inline-end);padding-top:var(--input-padding-y, 0rem);padding-bottom:var(--input-padding-y, 0rem);cursor:var(--input-cursor);overflow:var(--input-overflow)}.m_8fb7ebe7[data-no-overflow]{--input-overflow: hidden}.m_8fb7ebe7[data-monospace]{--input-font-family: var(--mantine-font-family-monospace);--_input-fz: calc(var(--input-fz) - calc(.125rem * var(--mantine-scale)))}.m_8fb7ebe7:focus,.m_8fb7ebe7:focus-within{outline:none;--input-bd: var(--input-bd-focus)}[data-error] .m_8fb7ebe7:focus,[data-error] .m_8fb7ebe7:focus-within{--input-bd: var(--mantine-color-error)}.m_8fb7ebe7::placeholder{color:var(--input-placeholder-color);opacity:1}.m_8fb7ebe7::-webkit-inner-spin-button,.m_8fb7ebe7::-webkit-outer-spin-button,.m_8fb7ebe7::-webkit-search-decoration,.m_8fb7ebe7::-webkit-search-cancel-button,.m_8fb7ebe7::-webkit-search-results-button,.m_8fb7ebe7::-webkit-search-results-decoration{appearance:none}.m_8fb7ebe7[type=number]{-moz-appearance:textfield}.m_8fb7ebe7:disabled,.m_8fb7ebe7[data-disabled]{cursor:not-allowed;opacity:.6;background-color:var(--input-disabled-bg);color:var(--input-disabled-color)}.m_8fb7ebe7:has(input:disabled){cursor:not-allowed;opacity:.6;background-color:var(--input-disabled-bg);color:var(--input-disabled-color)}.m_8fb7ebe7[readonly]{caret-color:transparent}.m_82577fc2{pointer-events:var(--section-pointer-events);position:absolute;z-index:1;inset-inline-start:var(--section-start);inset-inline-end:var(--section-end);bottom:var(--section-y);top:var(--section-y);display:flex;align-items:center;justify-content:center;width:var(--section-size);border-radius:var(--section-border-radius);color:var(--input-section-color, var(--mantine-color-dimmed))}.m_82577fc2[data-position=right]{--section-pointer-events: var(--input-right-section-pointer-events);--section-end: var(--right-section-end);--section-size: var(--input-right-section-size);--section-border-radius: var(--right-section-border-radius)}.m_6c018570[data-size=xs] .m_82577fc2[data-position=right]:has([data-combined-clear-section]){--section-size: calc(2.5625rem * var(--mantine-scale))}.m_6c018570[data-size=sm] .m_82577fc2[data-position=right]:has([data-combined-clear-section]){--section-size: calc(3.125rem * var(--mantine-scale))}.m_6c018570[data-size=md] .m_82577fc2[data-position=right]:has([data-combined-clear-section]){--section-size: calc(3.75rem * var(--mantine-scale))}.m_6c018570[data-size=lg] .m_82577fc2[data-position=right]:has([data-combined-clear-section]){--section-size: calc(4.5rem * var(--mantine-scale))}.m_6c018570[data-size=xl] .m_82577fc2[data-position=right]:has([data-combined-clear-section]){--section-size: calc(5.5625rem * var(--mantine-scale))}.m_82577fc2[data-position=left]{--section-pointer-events: var(--input-left-section-pointer-events);--section-start: var(--left-section-start);--section-size: var(--input-left-section-size);--section-border-radius: var(--left-section-border-radius)}.m_88bacfd0{color:var(--input-placeholder-color, var(--mantine-color-placeholder))}[data-error] .m_88bacfd0{--input-placeholder-color: var(--input-color, var(--mantine-color-placeholder))}.m_46b77525{line-height:var(--mantine-line-height)}.m_8fdc1311{display:inline-block;font-weight:500;overflow-wrap:break-word;cursor:default;-webkit-tap-highlight-color:transparent;font-size:var(--input-label-size, var(--mantine-font-size-sm))}.m_78a94662{color:var(--input-asterisk-color, var(--mantine-color-error))}.m_8f816625,.m_fe47ce59{word-wrap:break-word;line-height:1.2;display:block;margin:0;padding:0}.m_8f816625{color:var(--mantine-color-error);font-size:var(--input-error-size, calc(var(--mantine-font-size-sm) - calc(.125rem * var(--mantine-scale))))}.m_fe47ce59{color:var(--mantine-color-dimmed);font-size:var(--input-description-size, calc(var(--mantine-font-size-sm) - calc(.125rem * var(--mantine-scale))))}.m_8bffd616{display:flex}.m_96b553a6{--transition-duration: .15s;top:0;left:0;position:absolute;z-index:0;transition-property:transform,width,height;transition-timing-function:ease;transition-duration:0ms}.m_96b553a6:where([data-initialized]){transition-duration:var(--transition-duration)}.m_96b553a6:where([data-hidden]){background-color:red;display:none}.m_9bdbb667{--accordion-radius: var(--mantine-radius-default)}.m_df78851f{overflow-wrap:break-word}.m_4ba554d4{padding:var(--mantine-spacing-md);padding-top:calc(var(--mantine-spacing-xs) / 2)}.m_8fa820a0{margin:0;padding:0}.m_4ba585b8{width:100%;display:flex;align-items:center;flex-direction:row-reverse;padding-inline:var(--mantine-spacing-md);opacity:1;cursor:pointer;background-color:transparent;color:var(--mantine-color-bright)}.m_4ba585b8:where([data-chevron-position=left]){flex-direction:row;padding-inline-start:0}.m_4ba585b8:where(:disabled,[data-disabled]){opacity:.4;cursor:not-allowed}@media(hover:hover){:where([data-mantine-color-scheme=light]) .m_6939a5e9:where(:not(:disabled,[data-disabled])):hover,:where([data-mantine-color-scheme=light]) .m_4271d21b:where(:not(:disabled,[data-disabled])):hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_6939a5e9:where(:not(:disabled,[data-disabled])):hover,:where([data-mantine-color-scheme=dark]) .m_4271d21b:where(:not(:disabled,[data-disabled])):hover{background-color:var(--mantine-color-dark-6)}}@media(hover:none){:where([data-mantine-color-scheme=light]) .m_6939a5e9:where(:not(:disabled,[data-disabled])):active,:where([data-mantine-color-scheme=light]) .m_4271d21b:where(:not(:disabled,[data-disabled])):active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_6939a5e9:where(:not(:disabled,[data-disabled])):active,:where([data-mantine-color-scheme=dark]) .m_4271d21b:where(:not(:disabled,[data-disabled])):active{background-color:var(--mantine-color-dark-6)}}.m_df3ffa0f{color:inherit;font-weight:400;flex:1;overflow:hidden;text-overflow:ellipsis;padding-top:var(--mantine-spacing-sm);padding-bottom:var(--mantine-spacing-sm)}.m_3f35ae96{display:flex;align-items:center;justify-content:flex-start;transition:transform var(--accordion-transition-duration, .2s) ease;width:var(--accordion-chevron-size, calc(.9375rem * var(--mantine-scale)));min-width:var(--accordion-chevron-size, calc(.9375rem * var(--mantine-scale)));transform:rotate(0)}.m_3f35ae96:where([data-rotate]){transform:rotate(180deg)}.m_3f35ae96:where([data-position=left]){margin-inline-end:var(--mantine-spacing-md);margin-inline-start:var(--mantine-spacing-md)}.m_9bd771fe{display:flex;align-items:center;justify-content:center;margin-inline-end:var(--mantine-spacing-sm)}.m_9bd771fe:where([data-chevron-position=left]){margin-inline-end:0;margin-inline-start:var(--mantine-spacing-lg)}:where([data-mantine-color-scheme=light]) .m_9bd7b098{--item-border-color: var(--mantine-color-gray-3);--item-filled-color: var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_9bd7b098{--item-border-color: var(--mantine-color-dark-4);--item-filled-color: var(--mantine-color-dark-6)}.m_fe19b709{border-bottom:1px solid var(--item-border-color)}.m_1f921b3b{border:1px solid var(--item-border-color);transition:background-color .15s ease}.m_1f921b3b:where([data-active]){background-color:var(--item-filled-color)}.m_1f921b3b:first-of-type{border-start-start-radius:var(--accordion-radius);border-start-end-radius:var(--accordion-radius)}.m_1f921b3b:first-of-type>[data-accordion-control]{border-start-start-radius:var(--accordion-radius);border-start-end-radius:var(--accordion-radius)}.m_1f921b3b:last-of-type{border-end-start-radius:var(--accordion-radius);border-end-end-radius:var(--accordion-radius)}.m_1f921b3b:last-of-type>[data-accordion-control]{border-end-start-radius:var(--accordion-radius);border-end-end-radius:var(--accordion-radius)}.m_1f921b3b+.m_1f921b3b{border-top:0}.m_2cdf939a{border-radius:var(--accordion-radius)}.m_2cdf939a:where([data-active]){background-color:var(--item-filled-color)}.m_9f59b069{background-color:var(--item-filled-color);border-radius:var(--accordion-radius);border:calc(.0625rem * var(--mantine-scale)) solid transparent;transition:background-color .15s ease}.m_9f59b069[data-active]{border-color:var(--item-border-color)}:where([data-mantine-color-scheme=light]) .m_9f59b069[data-active]{background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_9f59b069[data-active]{background-color:var(--mantine-color-dark-7)}.m_9f59b069+.m_9f59b069{margin-top:var(--mantine-spacing-md)}.m_7f854edf{position:fixed;z-index:var(--affix-z-index);inset-inline-start:var(--affix-left);inset-inline-end:var(--affix-right);top:var(--affix-top);bottom:var(--affix-bottom)}.m_66836ed3{--alert-radius: var(--mantine-radius-default);--alert-bg: var(--mantine-primary-color-light);--alert-bd: calc(.0625rem * var(--mantine-scale)) solid transparent;--alert-color: var(--mantine-primary-color-light-color);padding:var(--mantine-spacing-md) var(--mantine-spacing-md);border-radius:var(--alert-radius);position:relative;overflow:hidden;background-color:var(--alert-bg);border:var(--alert-bd);color:var(--alert-color)}.m_a5d60502{display:flex}.m_667c2793{flex:1;display:flex;flex-direction:column;gap:var(--mantine-spacing-xs)}.m_6a03f287{display:flex;align-items:center;justify-content:space-between;font-size:var(--mantine-font-size-sm);font-weight:700}.m_6a03f287:where([data-with-close-button]){padding-inline-end:var(--mantine-spacing-md)}.m_698f4f23{display:block;overflow:hidden;text-overflow:ellipsis}.m_667f2a6a{line-height:1;width:calc(1.25rem * var(--mantine-scale));height:calc(1.25rem * var(--mantine-scale));display:flex;align-items:center;justify-content:flex-start;margin-inline-end:var(--mantine-spacing-md);margin-top:calc(.0625rem * var(--mantine-scale))}.m_7fa78076{text-overflow:ellipsis;overflow:hidden;font-size:var(--mantine-font-size-sm)}:where([data-mantine-color-scheme=light]) .m_7fa78076{color:var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_7fa78076{color:var(--mantine-color-white)}.m_7fa78076:where([data-variant=filled]){color:var(--alert-color)}.m_7fa78076:where([data-variant=white]){color:var(--mantine-color-black)}.m_87f54839{width:calc(1.25rem * var(--mantine-scale));height:calc(1.25rem * var(--mantine-scale));color:var(--alert-color)}.m_b6d8b162{-webkit-tap-highlight-color:transparent;text-decoration:none;font-size:var(--text-fz, var(--mantine-font-size-md));line-height:var(--text-lh, var(--mantine-line-height-md));font-weight:400;margin:0;padding:0;color:var(--text-color)}.m_b6d8b162:where([data-truncate]){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m_b6d8b162:where([data-truncate=start]){direction:rtl;text-align:right}:where([dir=rtl]) .m_b6d8b162:where([data-truncate=start]){direction:ltr;text-align:left}.m_b6d8b162:where([data-variant=gradient]){background-image:var(--text-gradient);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.m_b6d8b162:where([data-line-clamp]){overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:var(--text-line-clamp);-webkit-box-orient:vertical}.m_b6d8b162:where([data-inherit]){line-height:inherit;font-weight:inherit;font-size:inherit}.m_b6d8b162:where([data-inline]){line-height:1}.m_849cf0da{color:var(--mantine-color-anchor);text-decoration:none;appearance:none;border:none;display:inline;padding:0;margin:0;background-color:transparent;cursor:pointer}@media(hover:hover){.m_849cf0da:where([data-underline=hover]):hover{text-decoration:underline}}@media(hover:none){.m_849cf0da:where([data-underline=hover]):active{text-decoration:underline}}.m_849cf0da:where([data-underline=not-hover]){text-decoration:underline}@media(hover:hover){.m_849cf0da:where([data-underline=not-hover]):hover{text-decoration:none}}@media(hover:none){.m_849cf0da:where([data-underline=not-hover]):active{text-decoration:none}}.m_849cf0da:where([data-underline=always]){text-decoration:underline}.m_849cf0da:where([data-variant=gradient]),.m_849cf0da:where([data-variant=gradient]):hover{text-decoration:none}.m_849cf0da:where([data-line-clamp]){display:-webkit-box}.m_48204f9b{width:var(--slider-size);height:var(--slider-size);position:relative;border-radius:100%;display:flex;align-items:center;justify-content:center;user-select:none}.m_48204f9b:focus-within{outline:2px solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}.m_48204f9b{--slider-size: calc(3.75rem * var(--mantine-scale));--thumb-size: calc(var(--slider-size) / 5)}:where([data-mantine-color-scheme=light]) .m_48204f9b{background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_48204f9b{background-color:var(--mantine-color-dark-5)}.m_bb9cdbad{position:absolute;inset:calc(.0625rem * var(--mantine-scale));border-radius:var(--slider-size);pointer-events:none}.m_481dd586{width:calc(.125rem * var(--mantine-scale));position:absolute;top:0;bottom:0;left:calc(50% - 1px);transform:rotate(var(--angle))}.m_481dd586:before{content:"";position:absolute;top:calc(var(--thumb-size) / 3);left:calc(.03125rem * var(--mantine-scale));width:calc(.0625rem * var(--mantine-scale));height:calc(var(--thumb-size) / 1.5);transform:translate(-50%,-50%)}:where([data-mantine-color-scheme=light]) .m_481dd586:before{background-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_481dd586:before{background-color:var(--mantine-color-dark-3)}.m_481dd586[data-label]:after{min-width:calc(1.125rem * var(--mantine-scale));text-align:center;content:attr(data-label);position:absolute;top:calc(-1.5rem * var(--mantine-scale));left:calc(-.4375rem * var(--mantine-scale));transform:rotate(calc(360deg - var(--angle)));font-size:var(--mantine-font-size-xs)}.m_bc02ba3d{position:absolute;inset-block:0;inset-inline-start:calc(50% - 1.5px);inset-inline-end:0;height:100%;width:calc(.1875rem * var(--mantine-scale));outline:none;pointer-events:none}.m_bc02ba3d:before{content:"";position:absolute;right:0;top:0;height:min(var(--thumb-size),calc(var(--slider-size) / 2));width:calc(.1875rem * var(--mantine-scale))}:where([data-mantine-color-scheme=light]) .m_bc02ba3d:before{background-color:var(--mantine-color-gray-7)}:where([data-mantine-color-scheme=dark]) .m_bc02ba3d:before{background-color:var(--mantine-color-dark-1)}.m_bb8e875b{font-size:var(--mantine-font-size-xs)}.m_89ab340[data-resizing]{--app-shell-transition-duration: 0ms !important}.m_89ab340[data-disabled]{--app-shell-header-offset: 0rem !important;--app-shell-navbar-offset: 0rem !important;--app-shell-aside-offset: 0rem !important;--app-shell-footer-offset: 0rem !important}[data-mantine-color-scheme=light] .m_89ab340{--app-shell-border-color: var(--mantine-color-gray-3)}[data-mantine-color-scheme=dark] .m_89ab340{--app-shell-border-color: var(--mantine-color-dark-4)}.m_45252eee,.m_9cdde9a,.m_3b16f56b,.m_8983817,.m_3840c879{transition-duration:var(--app-shell-transition-duration);transition-timing-function:var(--app-shell-transition-timing-function)}.m_45252eee,.m_9cdde9a{position:fixed;display:flex;flex-direction:column;top:var(--app-shell-header-offset, 0rem);height:calc(100dvh - var(--app-shell-header-offset, 0rem) - var(--app-shell-footer-offset, 0rem));background-color:var(--mantine-color-body);transition-property:transform,top,height}:where([data-layout=alt]) .m_45252eee,:where([data-layout=alt]) .m_9cdde9a{top:0rem;height:100dvh}.m_45252eee{inset-inline-start:0;width:var(--app-shell-navbar-width);transition-property:transform,top,height;transform:var(--app-shell-navbar-transform);z-index:var(--app-shell-navbar-z-index)}:where([dir=rtl]) .m_45252eee{transform:var(--app-shell-navbar-transform-rtl)}.m_45252eee:where([data-with-border]){border-inline-end:1px solid var(--app-shell-border-color)}.m_9cdde9a{inset-inline-end:0;width:var(--app-shell-aside-width);transform:var(--app-shell-aside-transform);z-index:var(--app-shell-aside-z-index)}:where([dir=rtl]) .m_9cdde9a{transform:var(--app-shell-aside-transform-rtl)}.m_9cdde9a:where([data-with-border]){border-inline-start:1px solid var(--app-shell-border-color)}.m_8983817{padding-inline-start:calc(var(--app-shell-navbar-offset, 0rem) + var(--app-shell-padding));padding-inline-end:calc(var(--app-shell-aside-offset, 0rem) + var(--app-shell-padding));padding-top:calc(var(--app-shell-header-offset, 0rem) + var(--app-shell-padding));padding-bottom:calc(var(--app-shell-footer-offset, 0rem) + var(--app-shell-padding));min-height:100dvh;transition-property:padding}.m_3b16f56b,.m_3840c879{position:fixed;inset-inline:0;transition-property:transform,left,right;background-color:var(--mantine-color-body)}:where([data-layout=alt]) .m_3b16f56b,:where([data-layout=alt]) .m_3840c879{inset-inline-start:var(--app-shell-navbar-offset, 0rem);inset-inline-end:var(--app-shell-aside-offset, 0rem)}.m_3b16f56b{top:0;height:var(--app-shell-header-height);background-color:var(--mantine-color-body);transform:var(--app-shell-header-transform);z-index:var(--app-shell-header-z-index)}.m_3b16f56b:where([data-with-border]){border-bottom:1px solid var(--app-shell-border-color)}.m_3840c879{bottom:0;height:calc(var(--app-shell-footer-height) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);transform:var(--app-shell-footer-transform);z-index:var(--app-shell-footer-z-index)}.m_3840c879:where([data-with-border]){border-top:1px solid var(--app-shell-border-color)}.m_6dcfc7c7{flex-grow:0}.m_6dcfc7c7:where([data-grow]){flex-grow:1}.m_71ac47fc{--ar-ratio: 1;max-width:100%}.m_71ac47fc>:where(*:not(style)){aspect-ratio:var(--ar-ratio);width:100%}.m_71ac47fc>:where(img,video){object-fit:cover}.m_88b62a41{--combobox-padding: calc(.25rem * var(--mantine-scale));padding:var(--combobox-padding)}.m_88b62a41:has([data-mantine-scrollbar]) .m_985517d8{max-width:calc(100% + var(--combobox-padding))}.m_88b62a41[data-composed]{padding-inline-end:0}.m_88b62a41[data-hidden]{display:none}.m_88b62a41,.m_b2821a6e{--combobox-option-padding-xs: calc(.25rem * var(--mantine-scale)) calc(.5rem * var(--mantine-scale));--combobox-option-padding-sm: calc(.375rem * var(--mantine-scale)) calc(.625rem * var(--mantine-scale));--combobox-option-padding-md: calc(.5rem * var(--mantine-scale)) calc(.75rem * var(--mantine-scale));--combobox-option-padding-lg: calc(.625rem * var(--mantine-scale)) calc(1rem * var(--mantine-scale));--combobox-option-padding-xl: calc(.875rem * var(--mantine-scale)) calc(1.25rem * var(--mantine-scale));--combobox-option-padding: var(--combobox-option-padding-sm)}.m_92253aa5{padding:var(--combobox-option-padding);font-size:var(--combobox-option-fz, var(--mantine-font-size-sm));border-radius:var(--mantine-radius-default);background-color:transparent;color:inherit;cursor:pointer;overflow-wrap:break-word}.m_92253aa5:where([data-combobox-selected]){background-color:var(--mantine-primary-color-filled);color:var(--mantine-color-white)}.m_92253aa5:where([data-combobox-disabled]){cursor:not-allowed;opacity:.35}@media(hover:hover){:where([data-mantine-color-scheme=light]) .m_92253aa5:hover:where(:not([data-combobox-selected],[data-combobox-disabled])){background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_92253aa5:hover:where(:not([data-combobox-selected],[data-combobox-disabled])){background-color:var(--mantine-color-dark-7)}}@media(hover:none){:where([data-mantine-color-scheme=light]) .m_92253aa5:active:where(:not([data-combobox-selected],[data-combobox-disabled])){background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_92253aa5:active:where(:not([data-combobox-selected],[data-combobox-disabled])){background-color:var(--mantine-color-dark-7)}}.m_985517d8{margin-inline:calc(var(--combobox-padding) * -1);margin-top:calc(var(--combobox-padding) * -1);width:calc(100% + var(--combobox-padding) * 2);border-top-width:0;border-inline-width:0;border-end-start-radius:0;border-end-end-radius:0;margin-bottom:var(--combobox-padding);position:relative}:where([data-mantine-color-scheme=light]) .m_985517d8,:where([data-mantine-color-scheme=light]) .m_985517d8:focus{border-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_985517d8,:where([data-mantine-color-scheme=dark]) .m_985517d8:focus{border-color:var(--mantine-color-dark-4)}:where([data-mantine-color-scheme=light]) .m_985517d8{background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_985517d8{background-color:var(--mantine-color-dark-7)}.m_2530cd1d{font-size:var(--combobox-option-fz, var(--mantine-font-size-sm));text-align:center;padding:var(--combobox-option-padding);color:var(--mantine-color-dimmed)}.m_858f94bd,.m_82b967cb{font-size:var(--combobox-option-fz, var(--mantine-font-size-sm));border:0 solid transparent;margin-inline:calc(var(--combobox-padding) * -1);padding:var(--combobox-option-padding)}:where([data-mantine-color-scheme=light]) .m_858f94bd,:where([data-mantine-color-scheme=light]) .m_82b967cb{border-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_858f94bd,:where([data-mantine-color-scheme=dark]) .m_82b967cb{border-color:var(--mantine-color-dark-4)}.m_82b967cb{border-top-width:calc(.0625rem * var(--mantine-scale));margin-top:var(--combobox-padding);margin-bottom:calc(var(--combobox-padding) * -1)}.m_858f94bd{border-bottom-width:calc(.0625rem * var(--mantine-scale));margin-bottom:var(--combobox-padding);margin-top:calc(var(--combobox-padding) * -1)}.m_254f3e4f:has(.m_2bb2e9e5:only-child){display:none}.m_2bb2e9e5{color:var(--mantine-color-dimmed);font-size:calc(var(--combobox-option-fz, var(--mantine-font-size-sm)) * .85);padding:var(--combobox-option-padding);font-weight:500;position:relative;display:flex;align-items:center}.m_2bb2e9e5:after{content:"";flex:1;inset-inline:0;height:calc(.0625rem * var(--mantine-scale));margin-inline-start:var(--mantine-spacing-xs)}:where([data-mantine-color-scheme=light]) .m_2bb2e9e5:after{background-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_2bb2e9e5:after{background-color:var(--mantine-color-dark-4)}.m_2bb2e9e5:only-child{display:none}.m_2943220b{--combobox-chevron-size-xs: calc(.875rem * var(--mantine-scale));--combobox-chevron-size-sm: calc(1.125rem * var(--mantine-scale));--combobox-chevron-size-md: calc(1.25rem * var(--mantine-scale));--combobox-chevron-size-lg: calc(1.5rem * var(--mantine-scale));--combobox-chevron-size-xl: calc(1.75rem * var(--mantine-scale));--combobox-chevron-size: var(--combobox-chevron-size-sm)}:where([data-mantine-color-scheme=light]) .m_2943220b{--_combobox-chevron-color: var(--combobox-chevron-color, var(--mantine-color-gray-6))}:where([data-mantine-color-scheme=dark]) .m_2943220b{--_combobox-chevron-color: var(--combobox-chevron-color, var(--mantine-color-dark-3))}.m_2943220b{width:var(--combobox-chevron-size);height:var(--combobox-chevron-size);color:var(--_combobox-chevron-color)}.m_2943220b:where([data-error]){color:var(--combobox-chevron-color, var(--mantine-color-error))}.m_390b5f4{display:flex;align-items:center;gap:calc(.5rem * var(--mantine-scale))}.m_390b5f4:where([data-reverse]){justify-content:space-between}.m_8ee53fc2{opacity:.4;width:.8em;min-width:.8em;height:.8em}:where([data-combobox-selected]) .m_8ee53fc2{opacity:1}.m_5f75b09e{--label-lh-xs: calc(1rem * var(--mantine-scale));--label-lh-sm: calc(1.25rem * var(--mantine-scale));--label-lh-md: calc(1.5rem * var(--mantine-scale));--label-lh-lg: calc(1.875rem * var(--mantine-scale));--label-lh-xl: calc(2.25rem * var(--mantine-scale));--label-lh: var(--label-lh-sm)}.m_5f75b09e[data-label-position=left]{--label-order: 1;--label-offset-end: var(--mantine-spacing-sm);--label-offset-start: 0}.m_5f75b09e[data-label-position=right]{--label-order: 2;--label-offset-end: 0;--label-offset-start: var(--mantine-spacing-sm)}.m_5f6e695e{-webkit-tap-highlight-color:transparent;display:flex}.m_d3ea56bb{--label-cursor: var(--mantine-cursor-type);-webkit-tap-highlight-color:transparent;display:inline-flex;flex-direction:column;font-size:var(--label-fz, var(--mantine-font-size-sm));line-height:var(--label-lh);cursor:var(--label-cursor);order:var(--label-order)}fieldset:disabled .m_d3ea56bb,.m_d3ea56bb[data-disabled]{--label-cursor: not-allowed}.m_8ee546b8{cursor:var(--label-cursor);color:inherit;padding-inline-start:var(--label-offset-start);padding-inline-end:var(--label-offset-end)}fieldset:disabled .m_8ee546b8,.m_8ee546b8:where([data-disabled]){color:var(--mantine-color-disabled-color)}.m_328f68c0,.m_8e8a99cc{margin-top:calc(var(--mantine-spacing-xs) / 2);padding-inline-start:var(--label-offset-start);padding-inline-end:var(--label-offset-end)}.m_26775b0a{--card-radius: var(--mantine-radius-default);display:block;width:100%;border-radius:var(--card-radius);cursor:pointer}.m_26775b0a :where(*){cursor:inherit}.m_26775b0a:where([data-with-border]){border:calc(.0625rem * var(--mantine-scale)) solid transparent}:where([data-mantine-color-scheme=light]) .m_26775b0a:where([data-with-border]){border-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_26775b0a:where([data-with-border]){border-color:var(--mantine-color-dark-4)}.m_5e5256ee{--checkbox-size-xs: calc(1rem * var(--mantine-scale));--checkbox-size-sm: calc(1.25rem * var(--mantine-scale));--checkbox-size-md: calc(1.5rem * var(--mantine-scale));--checkbox-size-lg: calc(1.875rem * var(--mantine-scale));--checkbox-size-xl: calc(2.25rem * var(--mantine-scale));--checkbox-size: var(--checkbox-size-sm);--checkbox-color: var(--mantine-primary-color-filled)}.m_5e5256ee:where([data-variant=filled]){--checkbox-icon-color: var(--mantine-color-white)}.m_5e5256ee:where([data-variant=outline]){--checkbox-icon-color: var(--checkbox-color)}.m_5e5256ee{position:relative;border:calc(.0625rem * var(--mantine-scale)) solid transparent;width:var(--checkbox-size);min-width:var(--checkbox-size);height:var(--checkbox-size);min-height:var(--checkbox-size);border-radius:var(--checkbox-radius, var(--mantine-radius-default));transition:border-color .1s ease,background-color .1s ease;cursor:var(--mantine-cursor-type);-webkit-tap-highlight-color:transparent;display:flex;align-items:center;justify-content:center}:where([data-mantine-color-scheme=light]) .m_5e5256ee{background-color:var(--mantine-color-white);border-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_5e5256ee{background-color:var(--mantine-color-dark-6);border-color:var(--mantine-color-dark-4)}.m_5e5256ee[data-indeterminate],.m_5e5256ee[data-checked]{background-color:var(--checkbox-color);border-color:var(--checkbox-color)}.m_5e5256ee[data-indeterminate]>.m_1b1c543a,.m_5e5256ee[data-checked]>.m_1b1c543a{opacity:1;transform:none;color:var(--checkbox-icon-color)}.m_5e5256ee[data-disabled]{cursor:not-allowed;border-color:var(--mantine-color-disabled-border);background-color:var(--mantine-color-disabled)}[data-mantine-color-scheme=light] .m_5e5256ee[data-disabled][data-checked]>.m_1b1c543a{color:var(--mantine-color-gray-5)}[data-mantine-color-scheme=dark] .m_5e5256ee[data-disabled][data-checked]>.m_1b1c543a{color:var(--mantine-color-dark-3)}.m_76e20374[data-indeterminate]:not([data-disabled]),.m_76e20374[data-checked]:not([data-disabled]){background-color:transparent;border-color:var(--checkbox-color)}.m_76e20374[data-indeterminate]:not([data-disabled])>.m_1b1c543a,.m_76e20374[data-checked]:not([data-disabled])>.m_1b1c543a{color:var(--checkbox-icon-color);opacity:1;transform:none}.m_1b1c543a{display:block;width:60%;color:transparent;pointer-events:none;transform:translateY(calc(.3125rem * var(--mantine-scale))) scale(.5);opacity:1;transition:transform .1s ease,opacity .1s ease}.m_bf2d988c{--checkbox-size-xs: calc(1rem * var(--mantine-scale));--checkbox-size-sm: calc(1.25rem * var(--mantine-scale));--checkbox-size-md: calc(1.5rem * var(--mantine-scale));--checkbox-size-lg: calc(1.875rem * var(--mantine-scale));--checkbox-size-xl: calc(2.25rem * var(--mantine-scale));--checkbox-size: var(--checkbox-size-sm);--checkbox-color: var(--mantine-primary-color-filled)}.m_bf2d988c:where([data-variant=filled]){--checkbox-icon-color: var(--mantine-color-white)}.m_bf2d988c:where([data-variant=outline]){--checkbox-icon-color: var(--checkbox-color)}.m_26062bec{position:relative;width:var(--checkbox-size);height:var(--checkbox-size);order:1}.m_26062bec:where([data-label-position=left]){order:2}.m_26063560{appearance:none;border:calc(.0625rem * var(--mantine-scale)) solid transparent;width:var(--checkbox-size);height:var(--checkbox-size);border-radius:var(--checkbox-radius, var(--mantine-radius-default));padding:0;display:block;margin:0;transition:border-color .1s ease,background-color .1s ease;cursor:var(--mantine-cursor-type);-webkit-tap-highlight-color:transparent}:where([data-mantine-color-scheme=light]) .m_26063560{background-color:var(--mantine-color-white);border-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_26063560{background-color:var(--mantine-color-dark-6);border-color:var(--mantine-color-dark-4)}.m_26063560:where([data-error]){border-color:var(--mantine-color-error)}.m_26063560[data-indeterminate],.m_26063560:checked{background-color:var(--checkbox-color);border-color:var(--checkbox-color)}.m_26063560[data-indeterminate]+.m_bf295423,.m_26063560:checked+.m_bf295423{opacity:1;transform:none}.m_26063560:disabled{cursor:not-allowed;border-color:var(--mantine-color-disabled-border);background-color:var(--mantine-color-disabled)}.m_26063560:disabled+.m_bf295423{color:var(--mantine-color-disabled-color)}.m_215c4542+.m_bf295423{color:var(--checkbox-color)}.m_215c4542[data-indeterminate]:not(:disabled),.m_215c4542:checked:not(:disabled){background-color:transparent;border-color:var(--checkbox-color)}.m_215c4542[data-indeterminate]:not(:disabled)+.m_bf295423,.m_215c4542:checked:not(:disabled)+.m_bf295423{color:var(--checkbox-icon-color);opacity:1;transform:none}.m_bf295423{position:absolute;inset:0;width:60%;margin:auto;color:var(--checkbox-icon-color);pointer-events:none;transform:translateY(calc(.3125rem * var(--mantine-scale))) scale(.5);opacity:0;transition:transform .1s ease,opacity .1s ease}.m_11def92b{--ag-spacing: var(--mantine-spacing-sm);--ag-offset: calc(var(--ag-spacing) * -1);display:flex;padding-inline-start:var(--ag-spacing)}.m_f85678b6{--avatar-size-xs: calc(1rem * var(--mantine-scale));--avatar-size-sm: calc(1.625rem * var(--mantine-scale));--avatar-size-md: calc(2.375rem * var(--mantine-scale));--avatar-size-lg: calc(3.5rem * var(--mantine-scale));--avatar-size-xl: calc(5.25rem * var(--mantine-scale));--avatar-size: var(--avatar-size-md);--avatar-radius: calc(62.5rem * var(--mantine-scale));--avatar-bg: var(--mantine-color-gray-light);--avatar-bd: calc(.0625rem * var(--mantine-scale)) solid transparent;--avatar-color: var(--mantine-color-gray-light-color);--avatar-placeholder-fz: calc(var(--avatar-size) / 2.5);-webkit-tap-highlight-color:transparent;position:relative;display:block;user-select:none;overflow:hidden;border-radius:var(--avatar-radius);text-decoration:none;padding:0;width:var(--avatar-size);height:var(--avatar-size);min-width:var(--avatar-size)}.m_f85678b6:where([data-within-group]){margin-inline-start:var(--ag-offset);border:2px solid var(--mantine-color-body);background:var(--mantine-color-body)}.m_11f8ac07{object-fit:cover;width:100%;height:100%;display:block}.m_104cd71f{font-weight:700;display:flex;align-items:center;justify-content:center;width:100%;height:100%;user-select:none;border-radius:var(--avatar-radius);font-size:var(--avatar-placeholder-fz);background:var(--avatar-bg);border:var(--avatar-bd);color:var(--avatar-color)}.m_104cd71f>[data-avatar-placeholder-icon]{width:70%;height:70%}.m_2ce0de02{background-size:cover;background-position:center;display:block;width:100%;border:0;text-decoration:none;border-radius:var(--bi-radius, 0)}.m_347db0ec{--badge-height-xs: calc(1rem * var(--mantine-scale));--badge-height-sm: calc(1.125rem * var(--mantine-scale));--badge-height-md: calc(1.25rem * var(--mantine-scale));--badge-height-lg: calc(1.625rem * var(--mantine-scale));--badge-height-xl: calc(2rem * var(--mantine-scale));--badge-fz-xs: calc(.5625rem * var(--mantine-scale));--badge-fz-sm: calc(.625rem * var(--mantine-scale));--badge-fz-md: calc(.6875rem * var(--mantine-scale));--badge-fz-lg: calc(.8125rem * var(--mantine-scale));--badge-fz-xl: calc(1rem * var(--mantine-scale));--badge-padding-x-xs: calc(.375rem * var(--mantine-scale));--badge-padding-x-sm: calc(.5rem * var(--mantine-scale));--badge-padding-x-md: calc(.625rem * var(--mantine-scale));--badge-padding-x-lg: calc(.75rem * var(--mantine-scale));--badge-padding-x-xl: calc(1rem * var(--mantine-scale));--badge-height: var(--badge-height-md);--badge-fz: var(--badge-fz-md);--badge-padding-x: var(--badge-padding-x-md);--badge-radius: calc(62.5rem * var(--mantine-scale));--badge-lh: calc(var(--badge-height) - calc(.125rem * var(--mantine-scale)));--badge-color: var(--mantine-color-white);--badge-bg: var(--mantine-primary-color-filled);--badge-border-width: calc(.0625rem * var(--mantine-scale));--badge-bd: var(--badge-border-width) solid transparent;-webkit-tap-highlight-color:transparent;font-size:var(--badge-fz);border-radius:var(--badge-radius);height:var(--badge-height);line-height:var(--badge-lh);text-decoration:none;padding:0 var(--badge-padding-x);display:inline-grid;align-items:center;justify-content:center;width:fit-content;text-transform:uppercase;font-weight:700;letter-spacing:calc(.015625rem * var(--mantine-scale));cursor:default;text-overflow:ellipsis;overflow:hidden;color:var(--badge-color);background:var(--badge-bg);border:var(--badge-bd)}.m_347db0ec:where([data-with-left-section],[data-variant=dot]){grid-template-columns:auto 1fr}.m_347db0ec:where([data-with-right-section]){grid-template-columns:1fr auto}.m_347db0ec:where([data-with-left-section][data-with-right-section],[data-variant=dot][data-with-right-section]){grid-template-columns:auto 1fr auto}.m_347db0ec:where([data-block]){display:flex;width:100%}.m_347db0ec:where([data-circle]){padding-inline:calc(.125rem * var(--mantine-scale));display:flex;width:var(--badge-height)}.m_fbd81e3d{--badge-dot-size: calc(var(--badge-height) / 3.4)}:where([data-mantine-color-scheme=light]) .m_fbd81e3d{background-color:var(--mantine-color-white);border-color:var(--mantine-color-gray-4);color:var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_fbd81e3d{background-color:var(--mantine-color-dark-5);border-color:var(--mantine-color-dark-5);color:var(--mantine-color-white)}.m_fbd81e3d:before{content:"";display:block;width:var(--badge-dot-size);height:var(--badge-dot-size);border-radius:var(--badge-dot-size);background-color:var(--badge-dot-color);margin-inline-end:var(--badge-dot-size)}.m_5add502a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;cursor:inherit}.m_91fdda9b{--badge-section-margin: calc(var(--mantine-spacing-xs) / 2);display:inline-flex;justify-content:center;align-items:center;max-height:calc(var(--badge-height) - var(--badge-border-width) * 2)}.m_91fdda9b:where([data-position=left]){margin-inline-end:var(--badge-section-margin)}.m_91fdda9b:where([data-position=right]){margin-inline-start:var(--badge-section-margin)}.m_ddec01c0{--blockquote-border: 3px solid var(--bq-bd);position:relative;margin:0;border-inline-start:var(--blockquote-border);border-start-end-radius:var(--bq-radius);border-end-end-radius:var(--bq-radius);padding:var(--mantine-spacing-xl) calc(2.375rem * var(--mantine-scale))}:where([data-mantine-color-scheme=light]) .m_ddec01c0{background-color:var(--bq-bg-light)}:where([data-mantine-color-scheme=dark]) .m_ddec01c0{background-color:var(--bq-bg-dark)}.m_dde7bd57{--blockquote-icon-offset: calc(var(--bq-icon-size) / -2);position:absolute;color:var(--bq-bd);background-color:var(--mantine-color-body);display:flex;align-items:center;justify-content:center;top:var(--blockquote-icon-offset);inset-inline-start:var(--blockquote-icon-offset);width:var(--bq-icon-size);height:var(--bq-icon-size);border-radius:var(--bq-icon-size)}.m_dde51a35{display:block;margin-top:var(--mantine-spacing-md);opacity:.6;font-size:85%}.m_8b3717df{display:flex;align-items:center;flex-wrap:wrap}.m_f678d540{line-height:1;white-space:nowrap;-webkit-tap-highlight-color:transparent}.m_3b8f2208{margin-inline:var(--bc-separator-margin, var(--mantine-spacing-xs));line-height:1;display:flex;align-items:center;justify-content:center}:where([data-mantine-color-scheme=light]) .m_3b8f2208{color:var(--mantine-color-gray-7)}:where([data-mantine-color-scheme=dark]) .m_3b8f2208{color:var(--mantine-color-dark-2)}.m_fea6bf1a{--burger-size-xs: calc(.75rem * var(--mantine-scale));--burger-size-sm: calc(1.125rem * var(--mantine-scale));--burger-size-md: calc(1.5rem * var(--mantine-scale));--burger-size-lg: calc(2.125rem * var(--mantine-scale));--burger-size-xl: calc(2.625rem * var(--mantine-scale));--burger-size: var(--burger-size-md);--burger-line-size: calc(var(--burger-size) / 12);width:calc(var(--burger-size) + var(--mantine-spacing-xs));height:calc(var(--burger-size) + var(--mantine-spacing-xs));padding:calc(var(--mantine-spacing-xs) / 2);cursor:pointer}:where([data-mantine-color-scheme=light]) .m_fea6bf1a{--burger-color: var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_fea6bf1a{--burger-color: var(--mantine-color-white)}.m_d4fb9cad{position:relative;user-select:none}.m_d4fb9cad,.m_d4fb9cad:before,.m_d4fb9cad:after{display:block;width:var(--burger-size);height:var(--burger-line-size);background-color:var(--burger-color);outline:calc(.0625rem * var(--mantine-scale)) solid transparent;transition-property:background-color,transform;transition-duration:var(--burger-transition-duration, .3s);transition-timing-function:var(--burger-transition-timing-function, ease)}.m_d4fb9cad:before,.m_d4fb9cad:after{position:absolute;content:"";inset-inline-start:0}.m_d4fb9cad:before{top:calc(var(--burger-size) / -3)}.m_d4fb9cad:after{top:calc(var(--burger-size) / 3)}.m_d4fb9cad[data-opened]{background-color:transparent}.m_d4fb9cad[data-opened]:before{transform:translateY(calc(var(--burger-size) / 3)) rotate(45deg)}.m_d4fb9cad[data-opened]:after{transform:translateY(calc(var(--burger-size) / -3)) rotate(-45deg)}.m_77c9d27d{--button-height-xs: calc(1.875rem * var(--mantine-scale));--button-height-sm: calc(2.25rem * var(--mantine-scale));--button-height-md: calc(2.625rem * var(--mantine-scale));--button-height-lg: calc(3.125rem * var(--mantine-scale));--button-height-xl: calc(3.75rem * var(--mantine-scale));--button-height-compact-xs: calc(1.375rem * var(--mantine-scale));--button-height-compact-sm: calc(1.625rem * var(--mantine-scale));--button-height-compact-md: calc(1.875rem * var(--mantine-scale));--button-height-compact-lg: calc(2.125rem * var(--mantine-scale));--button-height-compact-xl: calc(2.5rem * var(--mantine-scale));--button-padding-x-xs: calc(.875rem * var(--mantine-scale));--button-padding-x-sm: calc(1.125rem * var(--mantine-scale));--button-padding-x-md: calc(1.375rem * var(--mantine-scale));--button-padding-x-lg: calc(1.625rem * var(--mantine-scale));--button-padding-x-xl: calc(2rem * var(--mantine-scale));--button-padding-x-compact-xs: calc(.4375rem * var(--mantine-scale));--button-padding-x-compact-sm: calc(.5rem * var(--mantine-scale));--button-padding-x-compact-md: calc(.625rem * var(--mantine-scale));--button-padding-x-compact-lg: calc(.75rem * var(--mantine-scale));--button-padding-x-compact-xl: calc(.875rem * var(--mantine-scale));--button-height: var(--button-height-sm);--button-padding-x: var(--button-padding-x-sm);--button-color: var(--mantine-color-white);user-select:none;font-weight:600;position:relative;line-height:1;text-align:center;overflow:hidden;width:auto;cursor:pointer;display:inline-block;border-radius:var(--button-radius, var(--mantine-radius-default));font-size:var(--button-fz, var(--mantine-font-size-sm));background:var(--button-bg, var(--mantine-primary-color-filled));border:var(--button-bd, calc(.0625rem * var(--mantine-scale)) solid transparent);color:var(--button-color, var(--mantine-color-white));height:var(--button-height, var(--button-height-sm));padding-inline:var(--button-padding-x, var(--button-padding-x-sm));vertical-align:middle}.m_77c9d27d:where([data-block]){display:block;width:100%}.m_77c9d27d:where([data-with-left-section]){padding-inline-start:calc(var(--button-padding-x) / 1.5)}.m_77c9d27d:where([data-with-right-section]){padding-inline-end:calc(var(--button-padding-x) / 1.5)}.m_77c9d27d:where(:disabled:not([data-loading]),[data-disabled]:not([data-loading])){cursor:not-allowed;border:calc(.0625rem * var(--mantine-scale)) solid transparent;transform:none;color:var(--mantine-color-disabled-color);background:var(--mantine-color-disabled)}.m_77c9d27d:before{content:"";pointer-events:none;position:absolute;inset:calc(-.0625rem * var(--mantine-scale));border-radius:var(--button-radius, var(--mantine-radius-default));transform:translateY(-100%);opacity:0;filter:blur(12px);transition:transform .15s ease,opacity .1s ease}:where([data-mantine-color-scheme=light]) .m_77c9d27d:before{background-color:#ffffff26}:where([data-mantine-color-scheme=dark]) .m_77c9d27d:before{background-color:#00000026}.m_77c9d27d:where([data-loading]){cursor:not-allowed;transform:none}.m_77c9d27d:where([data-loading]):before{transform:translateY(0);opacity:1}.m_77c9d27d:where([data-loading]) .m_80f1301b{opacity:0;transform:translateY(100%)}@media(hover:hover){.m_77c9d27d:hover:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--button-hover, var(--mantine-primary-color-filled-hover));color:var(--button-hover-color, var(--button-color))}}@media(hover:none){.m_77c9d27d:active:where(:not([data-loading],:disabled,[data-disabled])){background-color:var(--button-hover, var(--mantine-primary-color-filled-hover));color:var(--button-hover-color, var(--button-color))}}.m_80f1301b{display:flex;align-items:center;justify-content:var(--button-justify, center);height:100%;overflow:visible;transition:transform .15s ease,opacity .1s ease}.m_811560b9{white-space:nowrap;height:100%;overflow:hidden;display:flex;align-items:center;opacity:1}.m_811560b9:where([data-loading]){opacity:.2}.m_a74036a{display:flex;align-items:center}.m_a74036a:where([data-position=left]){margin-inline-end:var(--mantine-spacing-xs)}.m_a74036a:where([data-position=right]){margin-inline-start:var(--mantine-spacing-xs)}.m_a25b86ee{position:absolute;left:50%;top:50%}.m_80d6d844{--button-border-width: calc(.0625rem * var(--mantine-scale));display:flex}.m_80d6d844 :where(.m_77c9d27d):focus{position:relative;z-index:1}.m_80d6d844[data-orientation=horizontal]{flex-direction:row}.m_80d6d844[data-orientation=horizontal] .m_77c9d27d:not(:only-child):first-child,.m_80d6d844[data-orientation=horizontal] .m_70be2a01:not(:only-child):first-child{border-end-end-radius:0;border-start-end-radius:0;border-inline-end-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=horizontal] .m_77c9d27d:not(:only-child):last-child,.m_80d6d844[data-orientation=horizontal] .m_70be2a01:not(:only-child):last-child{border-end-start-radius:0;border-start-start-radius:0;border-inline-start-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=horizontal] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child),.m_80d6d844[data-orientation=horizontal] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child){border-radius:0;border-inline-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=vertical]{flex-direction:column}.m_80d6d844[data-orientation=vertical] .m_77c9d27d:not(:only-child):first-child,.m_80d6d844[data-orientation=vertical] .m_70be2a01:not(:only-child):first-child{border-end-start-radius:0;border-end-end-radius:0;border-bottom-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=vertical] .m_77c9d27d:not(:only-child):last-child,.m_80d6d844[data-orientation=vertical] .m_70be2a01:not(:only-child):last-child{border-start-start-radius:0;border-start-end-radius:0;border-top-width:calc(var(--button-border-width) / 2)}.m_80d6d844[data-orientation=vertical] .m_77c9d27d:not(:only-child):not(:first-child):not(:last-child),.m_80d6d844[data-orientation=vertical] .m_70be2a01:not(:only-child):not(:first-child):not(:last-child){border-radius:0;border-bottom-width:calc(var(--button-border-width) / 2);border-top-width:calc(var(--button-border-width) / 2)}.m_70be2a01{--section-height-xs: calc(1.875rem * var(--mantine-scale));--section-height-sm: calc(2.25rem * var(--mantine-scale));--section-height-md: calc(2.625rem * var(--mantine-scale));--section-height-lg: calc(3.125rem * var(--mantine-scale));--section-height-xl: calc(3.75rem * var(--mantine-scale));--section-height-compact-xs: calc(1.375rem * var(--mantine-scale));--section-height-compact-sm: calc(1.625rem * var(--mantine-scale));--section-height-compact-md: calc(1.875rem * var(--mantine-scale));--section-height-compact-lg: calc(2.125rem * var(--mantine-scale));--section-height-compact-xl: calc(2.5rem * var(--mantine-scale));--section-padding-x-xs: calc(.875rem * var(--mantine-scale));--section-padding-x-sm: calc(1.125rem * var(--mantine-scale));--section-padding-x-md: calc(1.375rem * var(--mantine-scale));--section-padding-x-lg: calc(1.625rem * var(--mantine-scale));--section-padding-x-xl: calc(2rem * var(--mantine-scale));--section-padding-x-compact-xs: calc(.4375rem * var(--mantine-scale));--section-padding-x-compact-sm: calc(.5rem * var(--mantine-scale));--section-padding-x-compact-md: calc(.625rem * var(--mantine-scale));--section-padding-x-compact-lg: calc(.75rem * var(--mantine-scale));--section-padding-x-compact-xl: calc(.875rem * var(--mantine-scale));--section-height: var(--section-height-sm);--section-padding-x: var(--section-padding-x-sm);--section-color: var(--mantine-color-white);font-weight:600;width:auto;border-radius:var(--section-radius, var(--mantine-radius-default));font-size:var(--section-fz, var(--mantine-font-size-sm));background:var(--section-bg, var(--mantine-primary-color-filled));border:var(--section-bd, calc(.0625rem * var(--mantine-scale)) solid transparent);color:var(--section-color, var(--mantine-color-white));height:var(--section-height, var(--section-height-sm));padding-inline:var(--section-padding-x, var(--section-padding-x-sm));vertical-align:middle;line-height:1;display:inline-flex;align-items:center;justify-content:center}.m_e615b15f{--card-padding: var(--mantine-spacing-md);position:relative;overflow:hidden;display:flex;flex-direction:column;padding:var(--card-padding);color:var(--mantine-color-text)}:where([data-mantine-color-scheme=light]) .m_e615b15f{background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_e615b15f{background-color:var(--mantine-color-dark-6)}.m_599a2148{display:block;margin-inline:calc(var(--card-padding) * -1)}.m_599a2148:where(:first-child){margin-top:calc(var(--card-padding) * -1);border-top:none!important}.m_599a2148:where(:last-child){margin-bottom:calc(var(--card-padding) * -1);border-bottom:none!important}.m_599a2148:where([data-inherit-padding]){padding-inline:var(--card-padding)}.m_599a2148:where([data-with-border]){border-top:calc(.0625rem * var(--mantine-scale)) solid;border-bottom:calc(.0625rem * var(--mantine-scale)) solid}:where([data-mantine-color-scheme=light]) .m_599a2148{border-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_599a2148{border-color:var(--mantine-color-dark-4)}.m_599a2148+.m_599a2148{border-top:none!important}.m_4451eb3a{display:flex;align-items:center;justify-content:center}.m_4451eb3a:where([data-inline]){display:inline-flex}.m_f59ffda3{--chip-size-xs: calc(1.4375rem * var(--mantine-scale));--chip-size-sm: calc(1.75rem * var(--mantine-scale));--chip-size-md: calc(2rem * var(--mantine-scale));--chip-size-lg: calc(2.25rem * var(--mantine-scale));--chip-size-xl: calc(2.5rem * var(--mantine-scale));--chip-icon-size-xs: calc(.625rem * var(--mantine-scale));--chip-icon-size-sm: calc(.75rem * var(--mantine-scale));--chip-icon-size-md: calc(.875rem * var(--mantine-scale));--chip-icon-size-lg: calc(1rem * var(--mantine-scale));--chip-icon-size-xl: calc(1.125rem * var(--mantine-scale));--chip-padding-xs: calc(1rem * var(--mantine-scale));--chip-padding-sm: calc(1.25rem * var(--mantine-scale));--chip-padding-md: calc(1.5rem * var(--mantine-scale));--chip-padding-lg: calc(1.75rem * var(--mantine-scale));--chip-padding-xl: calc(2rem * var(--mantine-scale));--chip-checked-padding-xs: calc(.46875rem * var(--mantine-scale));--chip-checked-padding-sm: calc(.625rem * var(--mantine-scale));--chip-checked-padding-md: calc(.73125rem * var(--mantine-scale));--chip-checked-padding-lg: calc(.84375rem * var(--mantine-scale));--chip-checked-padding-xl: calc(.98125rem * var(--mantine-scale));--chip-spacing-xs: calc(.625rem * var(--mantine-scale));--chip-spacing-sm: calc(.75rem * var(--mantine-scale));--chip-spacing-md: calc(1rem * var(--mantine-scale));--chip-spacing-lg: calc(1.25rem * var(--mantine-scale));--chip-spacing-xl: calc(1.375rem * var(--mantine-scale));--chip-size: var(--chip-size-sm);--chip-icon-size: var(--chip-icon-size-sm);--chip-padding: var(--chip-padding-sm);--chip-spacing: var(--chip-spacing-sm);--chip-checked-padding: var(--chip-checked-padding-sm);--chip-bg: var(--mantine-primary-color-filled);--chip-hover: var(--mantine-primary-color-filled-hover);--chip-color: var(--mantine-color-white);--chip-bd: calc(.0625rem * var(--mantine-scale)) solid transparent}.m_be049a53{display:inline-flex;align-items:center;user-select:none;border-radius:var(--chip-radius, 1000rem);height:var(--chip-size);font-size:var(--chip-fz, var(--mantine-font-size-sm));line-height:calc(var(--chip-size) - calc(.125rem * var(--mantine-scale)));padding-inline:var(--chip-padding);cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent;border:calc(.0625rem * var(--mantine-scale)) solid transparent;color:var(--mantine-color-text)}.m_be049a53:where([data-checked]){padding:var(--chip-checked-padding)}.m_be049a53:where([data-disabled]){cursor:not-allowed;background-color:var(--mantine-color-disabled);color:var(--mantine-color-disabled-color)}:where([data-mantine-color-scheme=light]) .m_3904c1af:not([data-disabled]){background-color:var(--mantine-color-white);border:1px solid var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_3904c1af:not([data-disabled]){background-color:var(--mantine-color-dark-6);border:1px solid var(--mantine-color-dark-4)}@media(hover:hover){:where([data-mantine-color-scheme=light]) .m_3904c1af:not([data-disabled]):hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_3904c1af:not([data-disabled]):hover{background-color:var(--mantine-color-dark-5)}}@media(hover:none){:where([data-mantine-color-scheme=light]) .m_3904c1af:not([data-disabled]):active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_3904c1af:not([data-disabled]):active{background-color:var(--mantine-color-dark-5)}}.m_3904c1af:not([data-disabled]):where([data-checked]){--chip-icon-color: var(--chip-color);border:var(--chip-bd)}@media(hover:hover){.m_3904c1af:not([data-disabled]):where([data-checked]):hover{background-color:var(--chip-hover)}}@media(hover:none){.m_3904c1af:not([data-disabled]):where([data-checked]):active{background-color:var(--chip-hover)}}.m_fa109255:not([data-disabled]),.m_f7e165c3:not([data-disabled]){border:calc(.0625rem * var(--mantine-scale)) solid transparent;color:var(--mantine-color-text)}:where([data-mantine-color-scheme=light]) .m_fa109255:not([data-disabled]),:where([data-mantine-color-scheme=light]) .m_f7e165c3:not([data-disabled]){background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_fa109255:not([data-disabled]),:where([data-mantine-color-scheme=dark]) .m_f7e165c3:not([data-disabled]){background-color:var(--mantine-color-dark-5)}@media(hover:hover){:where([data-mantine-color-scheme=light]) .m_fa109255:not([data-disabled]):hover,:where([data-mantine-color-scheme=light]) .m_f7e165c3:not([data-disabled]):hover{background-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_fa109255:not([data-disabled]):hover,:where([data-mantine-color-scheme=dark]) .m_f7e165c3:not([data-disabled]):hover{background-color:var(--mantine-color-dark-4)}}@media(hover:none){:where([data-mantine-color-scheme=light]) .m_fa109255:not([data-disabled]):active,:where([data-mantine-color-scheme=light]) .m_f7e165c3:not([data-disabled]):active{background-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_fa109255:not([data-disabled]):active,:where([data-mantine-color-scheme=dark]) .m_f7e165c3:not([data-disabled]):active{background-color:var(--mantine-color-dark-4)}}.m_fa109255:not([data-disabled]):where([data-checked]),.m_f7e165c3:not([data-disabled]):where([data-checked]){--chip-icon-color: var(--chip-color);color:var(--chip-color);background-color:var(--chip-bg)}@media(hover:hover){.m_fa109255:not([data-disabled]):where([data-checked]):hover,.m_f7e165c3:not([data-disabled]):where([data-checked]):hover{background-color:var(--chip-hover)}}@media(hover:none){.m_fa109255:not([data-disabled]):where([data-checked]):active,.m_f7e165c3:not([data-disabled]):where([data-checked]):active{background-color:var(--chip-hover)}}.m_9ac86df9{width:calc(var(--chip-icon-size) + (var(--chip-spacing) / 1.5));max-width:calc(var(--chip-icon-size) + (var(--chip-spacing) / 1.5));height:var(--chip-icon-size);display:flex;align-items:center;overflow:hidden}.m_d6d72580{width:var(--chip-icon-size);height:var(--chip-icon-size);display:block;color:var(--chip-icon-color, inherit)}.m_bde07329{width:0;height:0;padding:0;opacity:0;margin:0}.m_bde07329:focus-visible+.m_be049a53{outline:2px solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}.m_b183c0a2{font-family:var(--mantine-font-family-monospace);line-height:var(--mantine-line-height);padding:2px calc(var(--mantine-spacing-xs) / 2);border-radius:var(--mantine-radius-sm);font-size:var(--mantine-font-size-xs);margin:0;overflow:auto}:where([data-mantine-color-scheme=light]) .m_b183c0a2{background-color:var(--code-bg, var(--mantine-color-gray-0))}:where([data-mantine-color-scheme=dark]) .m_b183c0a2{background-color:var(--code-bg, var(--mantine-color-dark-6))}.m_b183c0a2[data-block]{padding:var(--mantine-spacing-xs)}.m_de3d2490{--cs-size: calc(1.75rem * var(--mantine-scale));--cs-radius: calc(62.5rem * var(--mantine-scale));-webkit-tap-highlight-color:transparent;border:none;appearance:none;display:block;line-height:1;position:relative;width:var(--cs-size);height:var(--cs-size);min-width:var(--cs-size);min-height:var(--cs-size);border-radius:var(--cs-radius);color:inherit;text-decoration:none}[data-mantine-color-scheme=light] .m_de3d2490{--alpha-overlay-color: var(--mantine-color-gray-3);--alpha-overlay-bg: var(--mantine-color-white)}[data-mantine-color-scheme=dark] .m_de3d2490{--alpha-overlay-color: var(--mantine-color-dark-4);--alpha-overlay-bg: var(--mantine-color-dark-7)}.m_862f3d1b{position:absolute;inset:0;border-radius:var(--cs-radius)}.m_98ae7f22{position:absolute;inset:0;border-radius:var(--cs-radius);z-index:1;box-shadow:#0000001a 0 0 0 calc(.0625rem * var(--mantine-scale)) inset,#00000026 0 0 calc(.25rem * var(--mantine-scale)) inset}.m_95709ac0{position:absolute;inset:0;border-radius:var(--cs-radius);background-size:calc(.5rem * var(--mantine-scale)) calc(.5rem * var(--mantine-scale));background-position:0 0,0 calc(.25rem * var(--mantine-scale)),calc(.25rem * var(--mantine-scale)) calc(-.25rem * var(--mantine-scale)),calc(-.25rem * var(--mantine-scale)) 0;background-image:linear-gradient(45deg,var(--alpha-overlay-color) 25%,transparent 25%),linear-gradient(-45deg,var(--alpha-overlay-color) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--alpha-overlay-color) 75%),linear-gradient(-45deg,var(--alpha-overlay-bg) 75%,var(--alpha-overlay-color) 75%)}.m_93e74e3{position:absolute;inset:0;border-radius:var(--cs-radius);z-index:2;display:flex;align-items:center;justify-content:center}.m_fee9c77{--cp-width-xs: calc(11.25rem * var(--mantine-scale));--cp-width-sm: calc(12.5rem * var(--mantine-scale));--cp-width-md: calc(15rem * var(--mantine-scale));--cp-width-lg: calc(17.5rem * var(--mantine-scale));--cp-width-xl: calc(20rem * var(--mantine-scale));--cp-preview-size-xs: calc(1.625rem * var(--mantine-scale));--cp-preview-size-sm: calc(2.125rem * var(--mantine-scale));--cp-preview-size-md: calc(2.625rem * var(--mantine-scale));--cp-preview-size-lg: calc(3.125rem * var(--mantine-scale));--cp-preview-size-xl: calc(3.375rem * var(--mantine-scale));--cp-thumb-size-xs: calc(.5rem * var(--mantine-scale));--cp-thumb-size-sm: calc(.75rem * var(--mantine-scale));--cp-thumb-size-md: calc(1rem * var(--mantine-scale));--cp-thumb-size-lg: calc(1.25rem * var(--mantine-scale));--cp-thumb-size-xl: calc(1.375rem * var(--mantine-scale));--cp-saturation-height-xs: calc(6.25rem * var(--mantine-scale));--cp-saturation-height-sm: calc(6.875rem * var(--mantine-scale));--cp-saturation-height-md: calc(7.5rem * var(--mantine-scale));--cp-saturation-height-lg: calc(8.75rem * var(--mantine-scale));--cp-saturation-height-xl: calc(10rem * var(--mantine-scale));--cp-preview-size: var(--cp-preview-size-sm);--cp-thumb-size: var(--cp-thumb-size-sm);--cp-saturation-height: var(--cp-saturation-height-sm);--cp-width: var(--cp-width-sm);--cp-body-spacing: var(--mantine-spacing-sm);width:var(--cp-width);padding:calc(.0625rem * var(--mantine-scale))}.m_fee9c77:where([data-full-width]){width:100%}.m_9dddfbac{width:var(--cp-preview-size);height:var(--cp-preview-size)}.m_bffecc3e{display:flex;padding-top:calc(var(--cp-body-spacing) / 2)}.m_3283bb96{flex:1}.m_3283bb96:not(:only-child){margin-inline-end:var(--mantine-spacing-xs)}.m_40d572ba{overflow:hidden;position:absolute;box-shadow:0 0 1px #0009;border:2px solid var(--mantine-color-white);width:var(--cp-thumb-size);height:var(--cp-thumb-size);border-radius:var(--cp-thumb-size);left:calc(var(--thumb-x-offset) - var(--cp-thumb-size) / 2);top:calc(var(--thumb-y-offset) - var(--cp-thumb-size) / 2)}.m_d8ee6fd8{height:unset!important;width:unset!important;min-width:0!important;min-height:0!important;margin:calc(.125rem * var(--mantine-scale));cursor:pointer;padding-bottom:calc(var(--cp-swatch-size) - calc(.25rem * var(--mantine-scale)));flex:0 0 calc(var(--cp-swatch-size) - calc(.25rem * var(--mantine-scale)))}.m_5711e686{margin-top:calc(.3125rem * var(--mantine-scale));margin-inline:calc(-.125rem * var(--mantine-scale));display:flex;flex-wrap:wrap}.m_5711e686:only-child{margin-top:0}.m_202a296e{--cp-thumb-size-xs: calc(.5rem * var(--mantine-scale));--cp-thumb-size-sm: calc(.75rem * var(--mantine-scale));--cp-thumb-size-md: calc(1rem * var(--mantine-scale));--cp-thumb-size-lg: calc(1.25rem * var(--mantine-scale));--cp-thumb-size-xl: calc(1.375rem * var(--mantine-scale));-webkit-tap-highlight-color:transparent;position:relative;height:var(--cp-saturation-height);border-radius:var(--mantine-radius-sm);margin:calc(var(--cp-thumb-size) / 2)}.m_202a296e:where([data-focus-ring=auto]):focus:focus-visible .m_40d572ba{outline:2px solid var(--mantine-color-blue-filled)}.m_202a296e:where([data-focus-ring=always]):focus .m_40d572ba{outline:2px solid var(--mantine-color-blue-filled)}.m_11b3db02{position:absolute;border-radius:var(--mantine-radius-sm);inset:calc(var(--cp-thumb-size) * -1 / 2 - calc(.0625rem * var(--mantine-scale)))}.m_d856d47d{--cp-thumb-size-xs: calc(.5rem * var(--mantine-scale));--cp-thumb-size-sm: calc(.75rem * var(--mantine-scale));--cp-thumb-size-md: calc(1rem * var(--mantine-scale));--cp-thumb-size-lg: calc(1.25rem * var(--mantine-scale));--cp-thumb-size-xl: calc(1.375rem * var(--mantine-scale));--cp-thumb-size: var(--cp-thumb-size, calc(.75rem * var(--mantine-scale)));position:relative;height:calc(var(--cp-thumb-size) + calc(.125rem * var(--mantine-scale)));margin-inline:calc(var(--cp-thumb-size) / 2);outline:none}.m_d856d47d+.m_d856d47d{margin-top:calc(.375rem * var(--mantine-scale))}.m_d856d47d:where([data-focus-ring=auto]):focus:focus-visible .m_40d572ba{outline:2px solid var(--mantine-color-blue-filled)}.m_d856d47d:where([data-focus-ring=always]):focus .m_40d572ba{outline:2px solid var(--mantine-color-blue-filled)}:where([data-mantine-color-scheme=light]) .m_d856d47d{--slider-checkers: var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_d856d47d{--slider-checkers: var(--mantine-color-dark-4)}.m_8f327113{position:absolute;top:0;bottom:0;inset-inline:calc(var(--cp-thumb-size) * -1 / 2 - calc(.0625rem * var(--mantine-scale)));border-radius:10000rem}.m_b077c2bc{--ci-eye-dropper-icon-size-xs: calc(.875rem * var(--mantine-scale));--ci-eye-dropper-icon-size-sm: calc(1rem * var(--mantine-scale));--ci-eye-dropper-icon-size-md: calc(1.125rem * var(--mantine-scale));--ci-eye-dropper-icon-size-lg: calc(1.25rem * var(--mantine-scale));--ci-eye-dropper-icon-size-xl: calc(1.375rem * var(--mantine-scale));--ci-eye-dropper-icon-size: var(--ci-eye-dropper-icon-size-sm)}.m_c5ccdcab{--ci-preview-size-xs: calc(1rem * var(--mantine-scale));--ci-preview-size-sm: calc(1.125rem * var(--mantine-scale));--ci-preview-size-md: calc(1.375rem * var(--mantine-scale));--ci-preview-size-lg: calc(1.75rem * var(--mantine-scale));--ci-preview-size-xl: calc(2.25rem * var(--mantine-scale));--ci-preview-size: var(--ci-preview-size-sm)}.m_5ece2cd7{padding:calc(.5rem * var(--mantine-scale))}.m_7485cace{--container-size-xs: calc(33.75rem * var(--mantine-scale));--container-size-sm: calc(45rem * var(--mantine-scale));--container-size-md: calc(60rem * var(--mantine-scale));--container-size-lg: calc(71.25rem * var(--mantine-scale));--container-size-xl: calc(82.5rem * var(--mantine-scale));--container-size: var(--container-size-md)}.m_7485cace:where([data-strategy=block]){max-width:var(--container-size);padding-inline:var(--mantine-spacing-md);margin-inline:auto}.m_7485cace:where([data-strategy=block]):where([data-fluid]){max-width:100%}.m_7485cace:where([data-strategy=grid]){display:grid;grid-template-columns:1fr min(100%,var(--container-size)) 1fr;margin-inline:auto}.m_7485cace:where([data-strategy=grid])>*{grid-column:2}.m_7485cace:where([data-strategy=grid])>[data-breakout]{grid-column:1 / -1}.m_7485cace:where([data-strategy=grid])>[data-breakout]>[data-container]{max-width:var(--container-size);margin-inline:auto}.m_e2125a27{--dialog-size-xs: calc(10rem * var(--mantine-scale));--dialog-size-sm: calc(12.5rem * var(--mantine-scale));--dialog-size-md: calc(21.25rem * var(--mantine-scale));--dialog-size-lg: calc(25rem * var(--mantine-scale));--dialog-size-xl: calc(31.25rem * var(--mantine-scale));--dialog-size: var(--dialog-size-md);position:relative;width:var(--dialog-size);max-width:calc(100vw - var(--mantine-spacing-xl) * 2);min-height:calc(3.125rem * var(--mantine-scale))}.m_5abab665{position:absolute;top:calc(var(--mantine-spacing-md) / 2);inset-inline-end:calc(var(--mantine-spacing-md) / 2)}.m_3eebeb36{--divider-size-xs: calc(.0625rem * var(--mantine-scale));--divider-size-sm: calc(.125rem * var(--mantine-scale));--divider-size-md: calc(.1875rem * var(--mantine-scale));--divider-size-lg: calc(.25rem * var(--mantine-scale));--divider-size-xl: calc(.3125rem * var(--mantine-scale));--divider-size: var(--divider-size-xs)}:where([data-mantine-color-scheme=light]) .m_3eebeb36{--divider-color: var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_3eebeb36{--divider-color: var(--mantine-color-dark-4)}.m_3eebeb36:where([data-orientation=horizontal]){border-top:var(--divider-size) var(--divider-border-style, solid) var(--divider-color)}.m_3eebeb36:where([data-orientation=vertical]){border-inline-start:var(--divider-size) var(--divider-border-style, solid) var(--divider-color);height:auto;align-self:stretch}.m_3eebeb36:where([data-with-label]){border:0}.m_9e365f20{display:flex;align-items:center;font-size:var(--mantine-font-size-xs);color:var(--mantine-color-dimmed);white-space:nowrap}.m_9e365f20:where([data-position=left]):before{display:none}.m_9e365f20:where([data-position=right]):after{display:none}.m_9e365f20:before{content:"";flex:1;height:calc(.0625rem * var(--mantine-scale));border-top:var(--divider-size) var(--divider-border-style, solid) var(--divider-color);margin-inline-end:var(--mantine-spacing-xs)}.m_9e365f20:after{content:"";flex:1;height:calc(.0625rem * var(--mantine-scale));border-top:var(--divider-size) var(--divider-border-style, solid) var(--divider-color);margin-inline-start:var(--mantine-spacing-xs)}.m_f11b401e{--drawer-size-xs: calc(20rem * var(--mantine-scale));--drawer-size-sm: calc(23.75rem * var(--mantine-scale));--drawer-size-md: calc(27.5rem * var(--mantine-scale));--drawer-size-lg: calc(38.75rem * var(--mantine-scale));--drawer-size-xl: calc(48.75rem * var(--mantine-scale));--drawer-size: var(--drawer-size-md);--drawer-offset: 0rem}.m_5a7c2c9{z-index:1000}.m_b8a05bbd{flex:var(--drawer-flex, 0 0 var(--drawer-size));height:var(--drawer-height, calc(100% - var(--drawer-offset) * 2));margin:var(--drawer-offset);max-width:calc(100% - var(--drawer-offset) * 2);max-height:calc(100% - var(--drawer-offset) * 2);overflow-y:auto}.m_b8a05bbd[data-hidden]{opacity:0!important;pointer-events:none}.m_31cd769a{display:flex;justify-content:var(--drawer-justify, flex-start);align-items:var(--drawer-align, flex-start)}.m_e9408a47{padding:var(--mantine-spacing-lg);padding-top:var(--mantine-spacing-xs);border-radius:var(--fieldset-radius, var(--mantine-radius-default));min-inline-size:auto}.m_84c9523a{border:calc(.0625rem * var(--mantine-scale)) solid}:where([data-mantine-color-scheme=light]) .m_84c9523a{border-color:var(--mantine-color-gray-3);background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_84c9523a{border-color:var(--mantine-color-dark-4);background-color:var(--mantine-color-dark-7)}.m_ef274e49{border:calc(.0625rem * var(--mantine-scale)) solid}:where([data-mantine-color-scheme=light]) .m_ef274e49{border-color:var(--mantine-color-gray-3);background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_ef274e49{border-color:var(--mantine-color-dark-4);background-color:var(--mantine-color-dark-6)}.m_eda993d3{padding:0;border:0;border-radius:0}.m_90794832{font-size:var(--mantine-font-size-sm)}.m_74ca27fe{padding:0;margin-bottom:var(--mantine-spacing-sm)}.m_8478a6da{container:mantine-grid / inline-size}.m_410352e9{--grid-overflow: visible;--grid-margin: calc(var(--grid-gutter) / -2);--grid-col-padding: calc(var(--grid-gutter) / 2);overflow:var(--grid-overflow)}.m_dee7bd2f{width:calc(100% + var(--grid-gutter));display:flex;flex-wrap:wrap;justify-content:var(--grid-justify);align-items:var(--grid-align);margin:var(--grid-margin)}.m_96bdd299{--col-flex-grow: 0;--col-offset: 0rem;flex-shrink:0;order:var(--col-order);flex-basis:var(--col-flex-basis);width:var(--col-width);max-width:var(--col-max-width);flex-grow:var(--col-flex-grow);margin-inline-start:var(--col-offset);padding:var(--grid-col-padding)}.m_bcb3f3c2{color:var(--mantine-color-black)}:where([data-mantine-color-scheme=light]) .m_bcb3f3c2{background-color:var(--mark-bg-light)}:where([data-mantine-color-scheme=dark]) .m_bcb3f3c2{background-color:var(--mark-bg-dark)}.m_9e117634{display:block;object-fit:var(--image-object-fit, cover);width:100%;border-radius:var(--image-radius, 0)}@keyframes m_885901b1{0%{opacity:.6;transform:scale(0)}to{opacity:0;transform:scale(2.8)}}.m_e5262200{--indicator-size: calc(.625rem * var(--mantine-scale));--indicator-color: var(--mantine-primary-color-filled);position:relative;display:block}.m_e5262200:where([data-inline]){display:inline-block}.m_760d1fb1{position:absolute;top:var(--indicator-top);left:var(--indicator-left);right:var(--indicator-right);bottom:var(--indicator-bottom);transform:translate(var(--indicator-translate-x),var(--indicator-translate-y));min-width:var(--indicator-size);height:var(--indicator-size);border-radius:var(--indicator-radius, 1000rem);z-index:var(--indicator-z-index, 200);display:flex;align-items:center;justify-content:center;font-size:var(--mantine-font-size-xs);background-color:var(--indicator-color);color:var(--indicator-text-color, var(--mantine-color-white));white-space:nowrap}.m_760d1fb1:before{content:"";position:absolute;inset:0;background-color:var(--indicator-color);border-radius:var(--indicator-radius, 1000rem);z-index:-1}.m_760d1fb1:where([data-with-label]){padding-inline:calc(var(--mantine-spacing-xs) / 2)}.m_760d1fb1:where([data-with-border]){border:2px solid var(--mantine-color-body)}.m_760d1fb1[data-processing]:before{animation:m_885901b1 1s linear infinite}.m_dc6f14e2{--kbd-fz-xs: calc(.625rem * var(--mantine-scale));--kbd-fz-sm: calc(.75rem * var(--mantine-scale));--kbd-fz-md: calc(.875rem * var(--mantine-scale));--kbd-fz-lg: calc(1rem * var(--mantine-scale));--kbd-fz-xl: calc(1.25rem * var(--mantine-scale));--kbd-fz: var(--kbd-fz-sm);font-family:var(--mantine-font-family-monospace);line-height:var(--mantine-line-height);font-weight:700;font-size:var(--kbd-fz);border-radius:var(--mantine-radius-sm);border:calc(.0625rem * var(--mantine-scale)) solid;border-bottom-width:calc(.1875rem * var(--mantine-scale));unicode-bidi:embed;text-align:center;padding:.12em .45em}:where([data-mantine-color-scheme=light]) .m_dc6f14e2{border-color:var(--mantine-color-gray-3);color:var(--mantine-color-gray-7);background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_dc6f14e2{border-color:var(--mantine-color-dark-4);color:var(--mantine-color-dark-0);background-color:var(--mantine-color-dark-6)}.m_abbac491{--list-fz: var(--mantine-font-size-md);--list-lh: var(--mantine-line-height-md);--list-marker-gap: var(--mantine-spacing-lg);list-style-position:outside;font-size:var(--list-fz);line-height:var(--list-lh);margin:0;padding:0;padding-inline-start:var(--list-marker-gap)}.m_abbac491:where([data-with-padding]){padding-inline-start:calc(var(--list-marker-gap) + var(--mantine-spacing-md))}.m_abb6bec2{white-space:normal;line-height:var(--list-lh)}.m_abb6bec2:where([data-with-icon]){list-style:none}.m_abb6bec2:where([data-with-icon]) .m_75cd9f71{--li-direction: row;--li-align: center}.m_abb6bec2:where(:not(:first-of-type)){margin-top:var(--list-spacing, 0)}.m_abb6bec2:where([data-centered]){line-height:1}.m_75cd9f71{display:inline-flex;flex-direction:var(--li-direction, column);align-items:var(--li-align, flex-start);white-space:normal}.m_60f83e5b{display:inline-block;vertical-align:middle;margin-inline-end:var(--mantine-spacing-sm)}.m_6e45937b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;z-index:var(--lo-z-index)}.m_e8eb006c{position:relative;z-index:calc(var(--lo-z-index) + 1)}.m_df587f17{z-index:var(--lo-z-index)}.m_dc9b7c9f{padding:calc(.25rem * var(--mantine-scale))}.m_9bfac126{color:var(--mantine-color-dimmed);font-weight:500;font-size:var(--mantine-font-size-xs);padding:calc(var(--mantine-spacing-xs) / 2) var(--mantine-spacing-sm);cursor:default}.m_efdf90cb{margin-top:calc(.25rem * var(--mantine-scale));margin-bottom:calc(.25rem * var(--mantine-scale));border-top:calc(.0625rem * var(--mantine-scale)) solid}:where([data-mantine-color-scheme=light]) .m_efdf90cb{border-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_efdf90cb{border-color:var(--mantine-color-dark-4)}.m_99ac2aa1{font-size:var(--mantine-font-size-sm);width:100%;padding:calc(var(--mantine-spacing-xs) / 1.5) var(--mantine-spacing-sm);border-radius:var(--popover-radius, var(--mantine-radius-default));color:var(--menu-item-color, var(--mantine-color-text));display:flex;align-items:center;user-select:none}.m_99ac2aa1:where([data-disabled],:disabled){color:var(--mantine-color-disabled-color);opacity:.6;cursor:not-allowed}:where([data-mantine-color-scheme=light]) .m_99ac2aa1:where(:hover,:focus):where(:not(:disabled,[data-disabled])){background-color:var(--menu-item-hover, var(--mantine-color-gray-1))}:where([data-mantine-color-scheme=dark]) .m_99ac2aa1:where(:hover,:focus):where(:not(:disabled,[data-disabled])){background-color:var(--menu-item-hover, var(--mantine-color-dark-4))}.m_99ac2aa1:where([data-sub-menu-item]){padding-inline-end:calc(.3125rem * var(--mantine-scale))}.m_5476e0d3{flex:1}.m_8b75e504{display:flex;justify-content:center;align-items:center}.m_8b75e504:where([data-position=left]){margin-inline-end:var(--mantine-spacing-xs)}.m_8b75e504:where([data-position=right]){margin-inline-start:var(--mantine-spacing-xs)}.m_b85b0bed{transform:rotate(-90deg)}:where([dir=rtl]) .m_b85b0bed{transform:rotate(90deg)}.m_9df02822{--modal-size-xs: calc(20rem * var(--mantine-scale));--modal-size-sm: calc(23.75rem * var(--mantine-scale));--modal-size-md: calc(27.5rem * var(--mantine-scale));--modal-size-lg: calc(38.75rem * var(--mantine-scale));--modal-size-xl: calc(48.75rem * var(--mantine-scale));--modal-size: var(--modal-size-md);--modal-y-offset: 5dvh;--modal-x-offset: 5vw}.m_9df02822[data-full-screen]{--modal-border-radius: 0 !important}.m_9df02822[data-full-screen] .m_54c44539{--modal-content-flex: 0 0 100%;--modal-content-max-height: auto;--modal-content-height: 100dvh}.m_9df02822[data-full-screen] .m_1f958f16{--modal-inner-y-offset: 0;--modal-inner-x-offset: 0}.m_9df02822[data-centered] .m_1f958f16{--modal-inner-align: center}.m_d0e2b9cd{border-start-start-radius:var(--modal-radius, var(--mantine-radius-default));border-start-end-radius:var(--modal-radius, var(--mantine-radius-default))}.m_54c44539{flex:var(--modal-content-flex, 0 0 var(--modal-size));max-width:100%;max-height:var(--modal-content-max-height, calc(100dvh - var(--modal-y-offset) * 2));height:var(--modal-content-height, auto);overflow-y:auto}.m_54c44539[data-full-screen]{border-radius:0}.m_54c44539[data-hidden]{opacity:0!important;pointer-events:none}.m_1f958f16{display:flex;justify-content:center;align-items:var(--modal-inner-align, flex-start);padding-top:var(--modal-inner-y-offset, var(--modal-y-offset));padding-bottom:var(--modal-inner-y-offset, var(--modal-y-offset));padding-inline:var(--modal-inner-x-offset, var(--modal-x-offset))}.m_7cda1cd6{--pill-fz-xs: calc(.625rem * var(--mantine-scale));--pill-fz-sm: calc(.75rem * var(--mantine-scale));--pill-fz-md: calc(.875rem * var(--mantine-scale));--pill-fz-lg: calc(1rem * var(--mantine-scale));--pill-fz-xl: calc(1.125rem * var(--mantine-scale));--pill-height-xs: calc(1.125rem * var(--mantine-scale));--pill-height-sm: calc(1.375rem * var(--mantine-scale));--pill-height-md: calc(1.5625rem * var(--mantine-scale));--pill-height-lg: calc(1.75rem * var(--mantine-scale));--pill-height-xl: calc(2rem * var(--mantine-scale));--pill-fz: var(--pill-fz-sm);--pill-height: var(--pill-height-sm);font-size:var(--pill-fz);flex:0;height:var(--pill-height);padding-inline:.8em;display:inline-flex;align-items:center;border-radius:var(--pill-radius, 1000rem);line-height:1;white-space:nowrap;user-select:none;-webkit-user-select:none;max-width:100%}:where([data-mantine-color-scheme=dark]) .m_7cda1cd6{background-color:var(--mantine-color-dark-7);color:var(--mantine-color-dark-0)}:where([data-mantine-color-scheme=light]) .m_7cda1cd6{color:var(--mantine-color-black)}.m_7cda1cd6:where([data-with-remove]:not(:has(button:disabled))){padding-inline-end:0}.m_7cda1cd6:where([data-disabled],:has(button:disabled)){cursor:not-allowed}:where([data-mantine-color-scheme=light]) .m_44da308b{background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=light]) .m_44da308b:where([data-disabled],:has(button:disabled)){background-color:var(--mantine-color-disabled)}:where([data-mantine-color-scheme=light]) .m_e3a01f8{background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=light]) .m_e3a01f8:where([data-disabled],:has(button:disabled)){background-color:var(--mantine-color-disabled)}.m_1e0e6180{cursor:inherit;overflow:hidden;height:100%;line-height:var(--pill-height);text-overflow:ellipsis}.m_ae386778{color:inherit;font-size:inherit;height:100%;min-height:unset;min-width:2em;width:unset;border-radius:0;padding-inline-start:.1em;padding-inline-end:.3em;flex:0;border-end-end-radius:var(--pill-radius, 50%);border-start-end-radius:var(--pill-radius, 50%)}.m_7cda1cd6[data-disabled]>.m_ae386778,.m_ae386778:disabled{display:none;background-color:transparent;width:.8em;min-width:.8em;padding:0;cursor:not-allowed}.m_7cda1cd6[data-disabled]>.m_ae386778>svg,.m_ae386778:disabled>svg{display:none}.m_ae386778>svg{pointer-events:none}.m_1dcfd90b{--pg-gap-xs: calc(.375rem * var(--mantine-scale));--pg-gap-sm: calc(.5rem * var(--mantine-scale));--pg-gap-md: calc(.625rem * var(--mantine-scale));--pg-gap-lg: calc(.75rem * var(--mantine-scale));--pg-gap-xl: calc(.75rem * var(--mantine-scale));--pg-gap: var(--pg-gap-sm);display:flex;align-items:center;gap:var(--pg-gap);flex-wrap:wrap}.m_45c4369d{background-color:transparent;appearance:none;min-width:calc(6.25rem * var(--mantine-scale));flex:1;border:0;font-size:inherit;height:1.6em;color:inherit;padding:0}.m_45c4369d::placeholder{color:var(--input-placeholder-color);opacity:1}.m_45c4369d:where([data-type=hidden],[data-type=auto]){height:calc(.0625rem * var(--mantine-scale));width:calc(.0625rem * var(--mantine-scale));top:0;left:0;pointer-events:none;position:absolute;opacity:0}.m_45c4369d:focus{outline:none}.m_45c4369d:where([data-type=auto]:focus){height:1.6em;visibility:visible;opacity:1;position:static}.m_45c4369d:where([data-pointer]:not([data-disabled],:disabled)){cursor:pointer}.m_45c4369d:where([data-disabled],:disabled){cursor:not-allowed}.m_f0824112{--nl-bg: var(--mantine-primary-color-light);--nl-hover: var(--mantine-primary-color-light-hover);--nl-color: var(--mantine-primary-color-light-color);display:flex;align-items:center;width:100%;padding:8px var(--mantine-spacing-sm);user-select:none}@media(hover:hover){:where([data-mantine-color-scheme=light]) .m_f0824112:hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_f0824112:hover{background-color:var(--mantine-color-dark-6)}}@media(hover:none){:where([data-mantine-color-scheme=light]) .m_f0824112:active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_f0824112:active{background-color:var(--mantine-color-dark-6)}}.m_f0824112:where([data-disabled]){opacity:.4;pointer-events:none}.m_f0824112:where([data-active],[aria-current=page]){background-color:var(--nl-bg);color:var(--nl-color)}@media(hover:hover){.m_f0824112:where([data-active],[aria-current=page]):hover{background-color:var(--nl-hover)}}@media(hover:none){.m_f0824112:where([data-active],[aria-current=page]):active{background-color:var(--nl-hover)}}.m_f0824112:where([data-active],[aria-current=page]) .m_57492dcc{--description-opacity: .9;--description-color: var(--nl-color)}.m_690090b5{display:flex;align-items:center;justify-content:center;transition:transform .15s ease}.m_690090b5>svg{display:block}.m_690090b5:where([data-position=left]){margin-inline-end:var(--mantine-spacing-sm)}.m_690090b5:where([data-position=right]){margin-inline-start:var(--mantine-spacing-sm)}.m_690090b5:where([data-rotate]){transform:rotate(90deg)}.m_1f6ac4c4{font-size:var(--mantine-font-size-sm)}.m_f07af9d2{flex:1;overflow:hidden;text-overflow:ellipsis}.m_f07af9d2:where([data-no-wrap]){white-space:nowrap}.m_57492dcc{display:block;font-size:var(--mantine-font-size-xs);opacity:var(--description-opacity, 1);color:var(--description-color, var(--mantine-color-dimmed));overflow:hidden;text-overflow:ellipsis}:where([data-no-wrap]) .m_57492dcc{white-space:nowrap}.m_e17b862f{padding-inline-start:var(--nl-offset, var(--mantine-spacing-lg))}.m_1fd8a00b{transform:rotate(-90deg)}.m_a513464{--notification-radius: var(--mantine-radius-default);--notification-color: var(--mantine-primary-color-filled);overflow:hidden;box-sizing:border-box;position:relative;display:flex;align-items:center;padding-inline-start:calc(1.375rem * var(--mantine-scale));padding-inline-end:var(--mantine-spacing-xs);padding-top:var(--mantine-spacing-xs);padding-bottom:var(--mantine-spacing-xs);border-radius:var(--notification-radius);box-shadow:var(--mantine-shadow-lg)}.m_a513464:before{content:"";display:block;position:absolute;width:calc(.375rem * var(--mantine-scale));top:var(--notification-radius);bottom:var(--notification-radius);inset-inline-start:calc(.25rem * var(--mantine-scale));border-radius:var(--notification-radius);background-color:var(--notification-color)}:where([data-mantine-color-scheme=light]) .m_a513464{background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_a513464{background-color:var(--mantine-color-dark-6)}.m_a513464:where([data-with-icon]):before{display:none}:where([data-mantine-color-scheme=light]) .m_a513464:where([data-with-border]){border:1px solid var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_a513464:where([data-with-border]){border:1px solid var(--mantine-color-dark-4)}.m_a4ceffb{box-sizing:border-box;margin-inline-end:var(--mantine-spacing-md);width:calc(1.75rem * var(--mantine-scale));height:calc(1.75rem * var(--mantine-scale));border-radius:calc(1.75rem * var(--mantine-scale));display:flex;align-items:center;justify-content:center;background-color:var(--notification-color);color:var(--mantine-color-white)}.m_b0920b15{margin-inline-end:var(--mantine-spacing-md)}.m_a49ed24{flex:1;overflow:hidden;margin-inline-end:var(--mantine-spacing-xs)}.m_3feedf16{margin-bottom:calc(.125rem * var(--mantine-scale));overflow:hidden;text-overflow:ellipsis;font-size:var(--mantine-font-size-sm);line-height:var(--mantine-line-height-sm);font-weight:500}:where([data-mantine-color-scheme=light]) .m_3feedf16{color:var(--mantine-color-gray-9)}:where([data-mantine-color-scheme=dark]) .m_3feedf16{color:var(--mantine-color-white)}.m_3d733a3a{font-size:var(--mantine-font-size-sm);line-height:var(--mantine-line-height-sm);overflow:hidden;text-overflow:ellipsis}:where([data-mantine-color-scheme=light]) .m_3d733a3a{color:var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_3d733a3a{color:var(--mantine-color-dark-0)}:where([data-mantine-color-scheme=light]) .m_3d733a3a:where([data-with-title]){color:var(--mantine-color-gray-6)}:where([data-mantine-color-scheme=dark]) .m_3d733a3a:where([data-with-title]){color:var(--mantine-color-dark-2)}@media(hover:hover){:where([data-mantine-color-scheme=light]) .m_919a4d88:hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_919a4d88:hover{background-color:var(--mantine-color-dark-8)}}@media(hover:none){:where([data-mantine-color-scheme=light]) .m_919a4d88:active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_919a4d88:active{background-color:var(--mantine-color-dark-8)}}.m_e2f5cd4e{--ni-right-section-width-xs: calc(1.0625rem * var(--mantine-scale));--ni-right-section-width-sm: calc(1.5rem * var(--mantine-scale));--ni-right-section-width-md: calc(1.6875rem * var(--mantine-scale));--ni-right-section-width-lg: calc(1.9375rem * var(--mantine-scale));--ni-right-section-width-xl: calc(2.125rem * var(--mantine-scale))}.m_95e17d22{--ni-chevron-size-xs: calc(.625rem * var(--mantine-scale));--ni-chevron-size-sm: calc(.875rem * var(--mantine-scale));--ni-chevron-size-md: calc(1rem * var(--mantine-scale));--ni-chevron-size-lg: calc(1.125rem * var(--mantine-scale));--ni-chevron-size-xl: calc(1.25rem * var(--mantine-scale));--ni-chevron-size: var(--ni-chevron-size-sm);display:flex;flex-direction:column;width:100%;height:calc(var(--input-height) - calc(.125rem * var(--mantine-scale)));max-width:calc(var(--ni-chevron-size) * 1.7);margin-inline-start:auto}.m_80b4b171{--control-border: 1px solid var(--input-bd);--control-radius: calc(var(--input-radius) - calc(.0625rem * var(--mantine-scale)));flex:0 0 50%;width:100%;padding:0;height:calc(var(--input-height) / 2 - calc(.0625rem * var(--mantine-scale)));border-inline-start:var(--control-border);display:flex;align-items:center;justify-content:center;color:var(--mantine-color-text);background-color:transparent;cursor:pointer}.m_80b4b171:where(:disabled){background-color:transparent;cursor:not-allowed;opacity:.6;color:var(--mantine-color-disabled-color)}.m_e2f5cd4e[data-error] :where(.m_80b4b171){color:var(--mantine-color-error)}@media(hover:hover){:where([data-mantine-color-scheme=light]) .m_80b4b171:hover{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_80b4b171:hover{background-color:var(--mantine-color-dark-4)}}@media(hover:none){:where([data-mantine-color-scheme=light]) .m_80b4b171:active{background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_80b4b171:active{background-color:var(--mantine-color-dark-4)}}.m_80b4b171:where(:first-of-type){border-radius:0;border-start-end-radius:var(--control-radius)}.m_80b4b171:last-of-type{border-radius:0;border-end-end-radius:var(--control-radius)}.m_4addd315{--pagination-control-size-xs: calc(1.375rem * var(--mantine-scale));--pagination-control-size-sm: calc(1.625rem * var(--mantine-scale));--pagination-control-size-md: calc(2rem * var(--mantine-scale));--pagination-control-size-lg: calc(2.375rem * var(--mantine-scale));--pagination-control-size-xl: calc(2.75rem * var(--mantine-scale));--pagination-control-size: var(--pagination-control-size-md);--pagination-control-fz: var(--mantine-font-size-md);--pagination-active-bg: var(--mantine-primary-color-filled)}.m_326d024a{display:flex;align-items:center;justify-content:center;border:calc(.0625rem * var(--mantine-scale)) solid;cursor:pointer;color:var(--mantine-color-text);height:var(--pagination-control-size);min-width:var(--pagination-control-size);font-size:var(--pagination-control-fz);line-height:1;border-radius:var(--pagination-control-radius, var(--mantine-radius-default))}.m_326d024a:where([data-with-padding]){padding:calc(var(--pagination-control-size) / 4)}.m_326d024a:where(:disabled,[data-disabled]){cursor:not-allowed;opacity:.4}:where([data-mantine-color-scheme=light]) .m_326d024a{border-color:var(--mantine-color-gray-4);background-color:var(--mantine-color-white)}@media(hover:hover){:where([data-mantine-color-scheme=light]) .m_326d024a:hover:where(:not(:disabled,[data-disabled])){background-color:var(--mantine-color-gray-0)}}@media(hover:none){:where([data-mantine-color-scheme=light]) .m_326d024a:active:where(:not(:disabled,[data-disabled])){background-color:var(--mantine-color-gray-0)}}:where([data-mantine-color-scheme=dark]) .m_326d024a{border-color:var(--mantine-color-dark-4);background-color:var(--mantine-color-dark-6)}@media(hover:hover){:where([data-mantine-color-scheme=dark]) .m_326d024a:hover:where(:not(:disabled,[data-disabled])){background-color:var(--mantine-color-dark-5)}}@media(hover:none){:where([data-mantine-color-scheme=dark]) .m_326d024a:active:where(:not(:disabled,[data-disabled])){background-color:var(--mantine-color-dark-5)}}.m_326d024a:where([data-active]){background-color:var(--pagination-active-bg);border-color:var(--pagination-active-bg);color:var(--pagination-active-color, var(--mantine-color-white))}@media(hover:hover){.m_326d024a:where([data-active]):hover{background-color:var(--pagination-active-bg)}}@media(hover:none){.m_326d024a:where([data-active]):active{background-color:var(--pagination-active-bg)}}.m_4ad7767d{height:var(--pagination-control-size);min-width:var(--pagination-control-size);display:flex;align-items:center;justify-content:center;pointer-events:none}.m_f61ca620{--psi-button-size-xs: calc(1.375rem * var(--mantine-scale));--psi-button-size-sm: calc(1.625rem * var(--mantine-scale));--psi-button-size-md: calc(1.75rem * var(--mantine-scale));--psi-button-size-lg: calc(2rem * var(--mantine-scale));--psi-button-size-xl: calc(2.5rem * var(--mantine-scale));--psi-icon-size-xs: calc(.75rem * var(--mantine-scale));--psi-icon-size-sm: calc(.9375rem * var(--mantine-scale));--psi-icon-size-md: calc(1.0625rem * var(--mantine-scale));--psi-icon-size-lg: calc(1.1875rem * var(--mantine-scale));--psi-icon-size-xl: calc(1.3125rem * var(--mantine-scale));--psi-button-size: var(--psi-button-size-sm);--psi-icon-size: var(--psi-icon-size-sm)}.m_ccf8da4c{position:relative;overflow:hidden}.m_f2d85dd2{font-family:var(--mantine-font-family);background-color:transparent;border:0;padding-inline-end:var(--input-padding-inline-end);padding-inline-start:var(--input-padding-inline-start);position:absolute;inset:0;outline:0;font-size:inherit;line-height:var(--mantine-line-height);height:100%;width:100%;color:inherit}.m_ccf8da4c[data-disabled] .m_f2d85dd2,.m_f2d85dd2:disabled{cursor:not-allowed}.m_f2d85dd2::placeholder{color:var(--input-placeholder-color);opacity:1}.m_f2d85dd2::-ms-reveal{display:none}.m_b1072d44{width:var(--psi-button-size);height:var(--psi-button-size);min-width:var(--psi-button-size);min-height:var(--psi-button-size)}.m_b1072d44:disabled{display:none}.m_f1cb205a{--pin-input-size-xs: calc(1.875rem * var(--mantine-scale));--pin-input-size-sm: calc(2.25rem * var(--mantine-scale));--pin-input-size-md: calc(2.625rem * var(--mantine-scale));--pin-input-size-lg: calc(3.125rem * var(--mantine-scale));--pin-input-size-xl: calc(3.75rem * var(--mantine-scale));--pin-input-size: var(--pin-input-size-sm)}.m_cb288ead{width:var(--pin-input-size);height:var(--pin-input-size)}@keyframes m_81a374bd{0%{background-position:0 0}to{background-position:calc(2.5rem * var(--mantine-scale)) 0}}@keyframes m_e0fb7a86{0%{background-position:0 0}to{background-position:0 calc(2.5rem * var(--mantine-scale))}}.m_db6d6462{--progress-radius: var(--mantine-radius-default);--progress-size: var(--progress-size-md);--progress-size-xs: calc(.1875rem * var(--mantine-scale));--progress-size-sm: calc(.3125rem * var(--mantine-scale));--progress-size-md: calc(.5rem * var(--mantine-scale));--progress-size-lg: calc(.75rem * var(--mantine-scale));--progress-size-xl: calc(1rem * var(--mantine-scale));position:relative;height:var(--progress-size);border-radius:var(--progress-radius);overflow:hidden;display:flex}:where([data-mantine-color-scheme=light]) .m_db6d6462{background-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_db6d6462{background-color:var(--mantine-color-dark-4)}.m_db6d6462:where([data-orientation=vertical]){height:auto;width:var(--progress-size);flex-direction:column-reverse}.m_2242eb65{background-color:var(--progress-section-color);height:100%;width:var(--progress-section-size);display:flex;align-items:center;justify-content:center;overflow:hidden;background-size:calc(1.25rem * var(--mantine-scale)) calc(1.25rem * var(--mantine-scale));transition:width var(--progress-transition-duration, .1s) ease}.m_2242eb65:where([data-striped]){background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.m_2242eb65:where([data-animated]){animation:m_81a374bd 1s linear infinite}.m_2242eb65:where(:last-of-type){border-radius:0;border-start-end-radius:var(--progress-radius);border-end-end-radius:var(--progress-radius)}.m_2242eb65:where(:first-of-type){border-radius:0;border-start-start-radius:var(--progress-radius);border-end-start-radius:var(--progress-radius)}.m_db6d6462:where([data-orientation=vertical]) .m_2242eb65{width:100%;height:var(--progress-section-size);transition:height var(--progress-transition-duration, .1s) ease}.m_db6d6462:where([data-orientation=vertical]) .m_2242eb65:where([data-striped]){background-image:linear-gradient(135deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.m_db6d6462:where([data-orientation=vertical]) .m_2242eb65:where([data-animated]){animation:m_e0fb7a86 1s linear infinite}.m_db6d6462:where([data-orientation=vertical]) .m_2242eb65:where(:last-of-type){border-radius:0;border-start-start-radius:var(--progress-radius);border-start-end-radius:var(--progress-radius)}.m_db6d6462:where([data-orientation=vertical]) .m_2242eb65:where(:first-of-type){border-radius:0;border-end-start-radius:var(--progress-radius);border-end-end-radius:var(--progress-radius)}.m_91e40b74{color:var(--progress-label-color, var(--mantine-color-white));font-weight:700;user-select:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:min(calc(var(--progress-size) * .65),calc(1.125rem * var(--mantine-scale)));line-height:1;padding-inline:calc(.25rem * var(--mantine-scale))}.m_db6d6462:where([data-orientation=vertical]) .m_91e40b74{writing-mode:vertical-rl}.m_9dc8ae12{--card-radius: var(--mantine-radius-default);display:block;width:100%;border-radius:var(--card-radius);cursor:pointer}.m_9dc8ae12 :where(*){cursor:inherit}.m_9dc8ae12:where([data-with-border]){border:calc(.0625rem * var(--mantine-scale)) solid transparent}:where([data-mantine-color-scheme=light]) .m_9dc8ae12:where([data-with-border]){border-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_9dc8ae12:where([data-with-border]){border-color:var(--mantine-color-dark-4)}.m_717d7ff6{--radio-size-xs: calc(1rem * var(--mantine-scale));--radio-size-sm: calc(1.25rem * var(--mantine-scale));--radio-size-md: calc(1.5rem * var(--mantine-scale));--radio-size-lg: calc(1.875rem * var(--mantine-scale));--radio-size-xl: calc(2.25rem * var(--mantine-scale));--radio-icon-size-xs: calc(.375rem * var(--mantine-scale));--radio-icon-size-sm: calc(.5rem * var(--mantine-scale));--radio-icon-size-md: calc(.625rem * var(--mantine-scale));--radio-icon-size-lg: calc(.875rem * var(--mantine-scale));--radio-icon-size-xl: calc(1rem * var(--mantine-scale));--radio-icon-size: var(--radio-icon-size-sm);--radio-size: var(--radio-size-sm);--radio-color: var(--mantine-primary-color-filled);--radio-icon-color: var(--mantine-color-white);position:relative;border:calc(.0625rem * var(--mantine-scale)) solid transparent;width:var(--radio-size);min-width:var(--radio-size);height:var(--radio-size);min-height:var(--radio-size);border-radius:var(--radio-radius, 10000px);transition:border-color .1s ease,background-color .1s ease;cursor:var(--mantine-cursor-type);-webkit-tap-highlight-color:transparent;display:flex;align-items:center;justify-content:center}:where([data-mantine-color-scheme=light]) .m_717d7ff6{background-color:var(--mantine-color-white);border-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_717d7ff6{background-color:var(--mantine-color-dark-6);border-color:var(--mantine-color-dark-4)}.m_717d7ff6[data-indeterminate],.m_717d7ff6[data-checked]{background-color:var(--radio-color);border-color:var(--radio-color)}.m_717d7ff6[data-indeterminate]>.m_3e4da632,.m_717d7ff6[data-checked]>.m_3e4da632{opacity:1;transform:none;color:var(--radio-icon-color)}.m_717d7ff6[data-disabled]{cursor:not-allowed;background-color:var(--mantine-color-disabled);border-color:var(--mantine-color-disabled-border)}.m_717d7ff6[data-disabled][data-checked]>.m_3e4da632{color:var(--mantine-color-disabled-color)}.m_2980836c[data-indeterminate]:not([data-disabled]),.m_2980836c[data-checked]:not([data-disabled]){background-color:transparent;border-color:var(--radio-color)}.m_2980836c[data-indeterminate]:not([data-disabled])>.m_3e4da632,.m_2980836c[data-checked]:not([data-disabled])>.m_3e4da632{color:var(--radio-color);opacity:1;transform:none}.m_3e4da632{display:block;width:var(--radio-icon-size);height:var(--radio-icon-size);color:transparent;pointer-events:none;transform:translateY(calc(.3125rem * var(--mantine-scale))) scale(.5);opacity:1;transition:transform .1s ease,opacity .1s ease}.m_f3f1af94{--radio-size-xs: calc(1rem * var(--mantine-scale));--radio-size-sm: calc(1.25rem * var(--mantine-scale));--radio-size-md: calc(1.5rem * var(--mantine-scale));--radio-size-lg: calc(1.875rem * var(--mantine-scale));--radio-size-xl: calc(2.25rem * var(--mantine-scale));--radio-size: var(--radio-size-sm);--radio-icon-size-xs: calc(.375rem * var(--mantine-scale));--radio-icon-size-sm: calc(.5rem * var(--mantine-scale));--radio-icon-size-md: calc(.625rem * var(--mantine-scale));--radio-icon-size-lg: calc(.875rem * var(--mantine-scale));--radio-icon-size-xl: calc(1rem * var(--mantine-scale));--radio-icon-size: var(--radio-icon-size-sm);--radio-icon-color: var(--mantine-color-white)}.m_89c4f5e4{position:relative;width:var(--radio-size);height:var(--radio-size);order:1}.m_89c4f5e4:where([data-label-position=left]){order:2}.m_f3ed6b2b{color:var(--radio-icon-color);opacity:var(--radio-icon-opacity, 0);transform:var(--radio-icon-transform, scale(.2) translateY(calc(.625rem * var(--mantine-scale))));transition:opacity .1s ease,transform .2s ease;pointer-events:none;width:var(--radio-icon-size);height:var(--radio-icon-size);position:absolute;top:calc(50% - var(--radio-icon-size) / 2);left:calc(50% - var(--radio-icon-size) / 2)}.m_8a3dbb89{border:calc(.0625rem * var(--mantine-scale)) solid;position:relative;appearance:none;width:var(--radio-size);height:var(--radio-size);border-radius:var(--radio-radius, var(--radio-size));margin:0;display:flex;align-items:center;justify-content:center;transition-property:background-color,border-color;transition-timing-function:ease;transition-duration:.1s;cursor:var(--mantine-cursor-type);-webkit-tap-highlight-color:transparent}:where([data-mantine-color-scheme=light]) .m_8a3dbb89{background-color:var(--mantine-color-white);border-color:var(--mantine-color-gray-4)}:where([data-mantine-color-scheme=dark]) .m_8a3dbb89{background-color:var(--mantine-color-dark-6);border-color:var(--mantine-color-dark-4)}.m_8a3dbb89:checked{background-color:var(--radio-color, var(--mantine-primary-color-filled));border-color:var(--radio-color, var(--mantine-primary-color-filled))}.m_8a3dbb89:checked+.m_f3ed6b2b{--radio-icon-opacity: 1;--radio-icon-transform: scale(1)}.m_8a3dbb89:disabled{cursor:not-allowed;background-color:var(--mantine-color-disabled);border-color:var(--mantine-color-disabled-border)}.m_8a3dbb89:disabled+.m_f3ed6b2b{--radio-icon-color: var(--mantine-color-disabled-color)}.m_8a3dbb89:where([data-error]){border-color:var(--mantine-color-error)}.m_1bfe9d39+.m_f3ed6b2b{--radio-icon-color: var(--radio-color)}.m_1bfe9d39:checked:not(:disabled){background-color:transparent;border-color:var(--radio-color)}.m_1bfe9d39:checked:not(:disabled)+.m_f3ed6b2b{--radio-icon-color: var(--radio-color);--radio-icon-opacity: 1;--radio-icon-transform: none}.m_f8d312f2{--rating-size-xs: calc(.875rem * var(--mantine-scale));--rating-size-sm: calc(1.125rem * var(--mantine-scale));--rating-size-md: calc(1.25rem * var(--mantine-scale));--rating-size-lg: calc(1.75rem * var(--mantine-scale));--rating-size-xl: calc(2rem * var(--mantine-scale));display:flex;width:max-content}.m_f8d312f2:where(:has(input:disabled)){pointer-events:none}.m_61734bb7{position:relative;transition:transform .1s ease}.m_61734bb7:where([data-active]){z-index:1;transform:scale(1.1)}.m_5662a89a{width:var(--rating-size);height:var(--rating-size);display:block}:where([data-mantine-color-scheme=light]) .m_5662a89a{fill:var(--mantine-color-gray-3);stroke:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_5662a89a{fill:var(--mantine-color-dark-3);stroke:var(--mantine-color-dark-3)}.m_5662a89a:where([data-filled]){fill:var(--rating-color);stroke:var(--rating-color)}.m_211007ba{height:0;width:0;position:absolute;overflow:hidden;white-space:nowrap;opacity:0;-webkit-tap-highlight-color:transparent}.m_211007ba:focus-visible+label{outline:2px solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}.m_21342ee4{display:block;cursor:pointer;position:absolute;top:0;left:0;z-index:var(--rating-item-z-index, 0);-webkit-tap-highlight-color:transparent}.m_21342ee4:where([data-read-only]){cursor:default}.m_21342ee4:where(:last-of-type){position:relative}.m_fae05d6a{clip-path:var(--rating-symbol-clip-path)}.m_1b3c8819{--tooltip-radius: var(--mantine-radius-default);position:absolute;padding:calc(var(--mantine-spacing-xs) / 2) var(--mantine-spacing-xs);pointer-events:none;font-size:var(--mantine-font-size-sm);white-space:nowrap;border-radius:var(--tooltip-radius)}:where([data-mantine-color-scheme=light]) .m_1b3c8819{background-color:var(--tooltip-bg, var(--mantine-color-gray-9));color:var(--tooltip-color, var(--mantine-color-white))}:where([data-mantine-color-scheme=dark]) .m_1b3c8819{background-color:var(--tooltip-bg, var(--mantine-color-gray-2));color:var(--tooltip-color, var(--mantine-color-black))}.m_1b3c8819:where([data-multiline]){white-space:normal}.m_1b3c8819:where([data-fixed]){position:fixed}.m_f898399f{background-color:inherit;border:0;z-index:1}.m_b32e4812{position:relative;width:var(--rp-size);height:var(--rp-size);min-width:var(--rp-size);min-height:var(--rp-size);--rp-transition-duration: 0ms}.m_d43b5134{width:var(--rp-size);height:var(--rp-size);min-width:var(--rp-size);min-height:var(--rp-size);transform:rotate(-90deg)}.m_b1ca1fbf{stroke:var(--curve-color, var(--rp-curve-root-color));transition:stroke-dashoffset var(--rp-transition-duration) ease,stroke-dasharray var(--rp-transition-duration) ease,stroke var(--rp-transition-duration)}[data-mantine-color-scheme=light] .m_b1ca1fbf{--rp-curve-root-color: var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .m_b1ca1fbf{--rp-curve-root-color: var(--mantine-color-dark-4)}.m_b23f9dc4{position:absolute;top:50%;transform:translateY(-50%);inset-inline:var(--rp-label-offset)}.m_cf365364{--sc-padding-xs: calc(.125rem * var(--mantine-scale)) calc(.375rem * var(--mantine-scale));--sc-padding-sm: calc(.1875rem * var(--mantine-scale)) calc(.625rem * var(--mantine-scale));--sc-padding-md: calc(.25rem * var(--mantine-scale)) calc(.875rem * var(--mantine-scale));--sc-padding-lg: calc(.4375rem * var(--mantine-scale)) calc(1rem * var(--mantine-scale));--sc-padding-xl: calc(.625rem * var(--mantine-scale)) calc(1.25rem * var(--mantine-scale));--sc-transition-duration: .2s;--sc-padding: var(--sc-padding-sm);--sc-transition-timing-function: ease;--sc-font-size: var(--mantine-font-size-sm);position:relative;display:inline-flex;flex-direction:row;width:auto;border-radius:var(--sc-radius, var(--mantine-radius-default));overflow:hidden;padding:calc(.25rem * var(--mantine-scale))}.m_cf365364:where([data-full-width]){display:flex}.m_cf365364:where([data-orientation=vertical]){display:flex;flex-direction:column;width:max-content}.m_cf365364:where([data-orientation=vertical]):where([data-full-width]){width:auto}:where([data-mantine-color-scheme=light]) .m_cf365364{background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_cf365364{background-color:var(--mantine-color-dark-8)}.m_9e182ccd{position:absolute;display:block;z-index:1;border-radius:var(--sc-radius, var(--mantine-radius-default))}:where([data-mantine-color-scheme=light]) .m_9e182ccd{box-shadow:var(--sc-shadow, none);background-color:var(--sc-color, var(--mantine-color-white))}:where([data-mantine-color-scheme=dark]) .m_9e182ccd{box-shadow:none;background-color:var(--sc-color, var(--mantine-color-dark-5))}.m_1738fcb2{-webkit-tap-highlight-color:transparent;font-weight:500;display:block;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;user-select:none;border-radius:var(--sc-radius, var(--mantine-radius-default));font-size:var(--sc-font-size);padding:var(--sc-padding);transition:color var(--sc-transition-duration) var(--sc-transition-timing-function);cursor:pointer;outline:var(--segmented-control-outline, none)}:where([data-mantine-color-scheme=light]) .m_1738fcb2{color:var(--mantine-color-gray-7)}:where([data-mantine-color-scheme=dark]) .m_1738fcb2{color:var(--mantine-color-dark-1)}.m_1738fcb2:where([data-read-only]){cursor:default}fieldset:disabled .m_1738fcb2,.m_1738fcb2:where([data-disabled]){cursor:not-allowed;color:var(--mantine-color-disabled-color)}:where([data-mantine-color-scheme=light]) .m_1738fcb2:where([data-active]){color:var(--sc-label-color, var(--mantine-color-black))}:where([data-mantine-color-scheme=dark]) .m_1738fcb2:where([data-active]){color:var(--sc-label-color, var(--mantine-color-white))}.m_cf365364:where([data-initialized]) .m_1738fcb2:where([data-active]):before{display:none}.m_1738fcb2:where([data-active]):before{content:"";inset:0;z-index:0;position:absolute;border-radius:var(--sc-radius, var(--mantine-radius-default))}:where([data-mantine-color-scheme=light]) .m_1738fcb2:where([data-active]):before{box-shadow:var(--sc-shadow, none);background-color:var(--sc-color, var(--mantine-color-white))}:where([data-mantine-color-scheme=dark]) .m_1738fcb2:where([data-active]):before{box-shadow:none;background-color:var(--sc-color, var(--mantine-color-dark-5))}@media(hover:hover){:where([data-mantine-color-scheme=light]) .m_1738fcb2:where(:not([data-disabled],[data-active],[data-read-only])):hover{color:var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_1738fcb2:where(:not([data-disabled],[data-active],[data-read-only])):hover{color:var(--mantine-color-white)}}@media(hover:none){:where([data-mantine-color-scheme=light]) .m_1738fcb2:where(:not([data-disabled],[data-active],[data-read-only])):active{color:var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_1738fcb2:where(:not([data-disabled],[data-active],[data-read-only])):active{color:var(--mantine-color-white)}}@media(hover:hover){fieldset:disabled .m_1738fcb2:hover{color:var(--mantine-color-disabled-color)!important}}@media(hover:none){fieldset:disabled .m_1738fcb2:active{color:var(--mantine-color-disabled-color)!important}}.m_1714d588{height:0;width:0;position:absolute;overflow:hidden;white-space:nowrap;opacity:0}.m_1714d588[data-focus-ring=auto]:focus:focus-visible+.m_1738fcb2{--segmented-control-outline: 2px solid var(--mantine-primary-color-filled)}.m_1714d588[data-focus-ring=always]:focus+.m_1738fcb2{--segmented-control-outline: 2px solid var(--mantine-primary-color-filled)}.m_69686b9b{position:relative;flex:1;z-index:2;transition:border-color var(--sc-transition-duration) var(--sc-transition-timing-function)}.m_cf365364[data-with-items-borders] :where(.m_69686b9b):before{content:"";position:absolute;top:0;bottom:0;inset-inline-start:0;background-color:var(--separator-color);width:calc(.0625rem * var(--mantine-scale));transition:background-color var(--sc-transition-duration) var(--sc-transition-timing-function)}.m_69686b9b[data-orientation=vertical]:before{top:0;inset-inline:0;bottom:auto;height:calc(.0625rem * var(--mantine-scale));width:auto}:where([data-mantine-color-scheme=light]) .m_69686b9b{--separator-color: var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_69686b9b{--separator-color: var(--mantine-color-dark-4)}.m_69686b9b:first-of-type:before{--separator-color: transparent}[data-mantine-color-scheme] .m_69686b9b[data-active]:before,[data-mantine-color-scheme] .m_69686b9b[data-active]+.m_69686b9b:before{--separator-color: transparent}.m_78882f40{position:relative;z-index:2}.m_fa528724{--scp-filled-segment-color: var(--mantine-primary-color-filled);--scp-transition-duration: 0ms;--scp-thickness: calc(.625rem * var(--mantine-scale))}:where([data-mantine-color-scheme=light]) .m_fa528724{--scp-empty-segment-color: var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_fa528724{--scp-empty-segment-color: var(--mantine-color-dark-4)}.m_fa528724{position:relative;width:fit-content}.m_62e9e7e2{display:block;transform:var(--scp-rotation);overflow:hidden}.m_c573fb6f{transition:stroke-dashoffset var(--scp-transition-duration) ease,stroke-dasharray var(--scp-transition-duration) ease,stroke var(--scp-transition-duration)}.m_4fa340f2{position:absolute;margin:0;padding:0;inset-inline:0;text-align:center;z-index:1}.m_4fa340f2:where([data-position=bottom]){bottom:0;padding-inline:calc(var(--scp-thickness) * 2)}.m_4fa340f2:where([data-position=bottom]):where([data-orientation=down]){bottom:auto;top:0}.m_4fa340f2:where([data-position=center]){top:50%;padding-inline:calc(var(--scp-thickness) * 3)}.m_925c2d2c{container:simple-grid / inline-size}.m_2415a157{display:grid;grid-template-columns:repeat(var(--sg-cols),minmax(0,1fr));gap:var(--sg-spacing-y) var(--sg-spacing-x)}@keyframes m_299c329c{0%,to{opacity:.4}50%{opacity:1}}.m_18320242{height:var(--skeleton-height, auto);width:var(--skeleton-width, 100%);border-radius:var(--skeleton-radius, var(--mantine-radius-default));position:relative;transform:translateZ(0);-webkit-transform:translateZ(0)}.m_18320242:where([data-animate]):after{animation:m_299c329c 1.5s linear infinite}.m_18320242:where([data-visible]){overflow:hidden}.m_18320242:where([data-visible]):before{position:absolute;content:"";inset:0;z-index:10;background-color:var(--mantine-color-body)}.m_18320242:where([data-visible]):after{position:absolute;content:"";inset:0;z-index:11}:where([data-mantine-color-scheme=light]) .m_18320242:where([data-visible]):after{background-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_18320242:where([data-visible]):after{background-color:var(--mantine-color-dark-4)}.m_dd36362e{--slider-size-xs: calc(.25rem * var(--mantine-scale));--slider-size-sm: calc(.375rem * var(--mantine-scale));--slider-size-md: calc(.5rem * var(--mantine-scale));--slider-size-lg: calc(.625rem * var(--mantine-scale));--slider-size-xl: calc(.75rem * var(--mantine-scale));--slider-size: var(--slider-size-md);--slider-radius: calc(62.5rem * var(--mantine-scale));--slider-color: var(--mantine-primary-color-filled);--slider-track-disabled-bg: var(--mantine-color-disabled);-webkit-tap-highlight-color:transparent;outline:none;height:calc(var(--slider-size) * 2);padding-inline:var(--slider-size);display:flex;flex-direction:column;align-items:center;touch-action:none;position:relative}[data-mantine-color-scheme=light] .m_dd36362e{--slider-track-bg: var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .m_dd36362e{--slider-track-bg: var(--mantine-color-dark-4)}.m_c9357328{position:absolute;top:calc(-2.25rem * var(--mantine-scale));font-size:var(--mantine-font-size-xs);color:var(--mantine-color-white);padding:calc(var(--mantine-spacing-xs) / 2);border-radius:var(--mantine-radius-sm);white-space:nowrap;pointer-events:none;user-select:none;touch-action:none}:where([data-mantine-color-scheme=light]) .m_c9357328{background-color:var(--mantine-color-gray-9)}:where([data-mantine-color-scheme=dark]) .m_c9357328{background-color:var(--mantine-color-dark-4)}.m_c9a9a60a{position:absolute;display:flex;height:var(--slider-thumb-size);width:var(--slider-thumb-size);border:calc(.25rem * var(--mantine-scale)) solid;transform:translate(-50%,-50%);top:50%;cursor:pointer;border-radius:var(--slider-radius);align-items:center;justify-content:center;transition:box-shadow .1s ease,transform .1s ease;z-index:3;user-select:none;touch-action:none;outline-offset:calc(.125rem * var(--mantine-scale));left:var(--slider-thumb-offset)}:where([dir=rtl]) .m_c9a9a60a{left:auto;right:calc(var(--slider-thumb-offset) - var(--slider-thumb-size))}fieldset:disabled .m_c9a9a60a,.m_c9a9a60a:where([data-disabled]){display:none}.m_c9a9a60a:where([data-dragging]){transform:translate(-50%,-50%) scale(1.05);box-shadow:var(--mantine-shadow-sm)}:where([data-mantine-color-scheme=light]) .m_c9a9a60a{color:var(--slider-color);border-color:var(--slider-color);background-color:var(--mantine-color-white)}:where([data-mantine-color-scheme=dark]) .m_c9a9a60a{color:var(--mantine-color-white);border-color:var(--mantine-color-white);background-color:var(--slider-color)}.m_a8645c2{display:flex;align-items:center;width:100%;height:calc(var(--slider-size) * 2);cursor:pointer}fieldset:disabled .m_a8645c2,.m_a8645c2:where([data-disabled]){cursor:not-allowed}.m_c9ade57f{position:relative;width:100%;height:var(--slider-size)}.m_c9ade57f:where([data-inverted]:not([data-disabled])){--track-bg: var(--slider-color)}fieldset:disabled .m_c9ade57f:where([data-inverted]),.m_c9ade57f:where([data-inverted][data-disabled]){--track-bg: var(--slider-track-disabled-bg)}.m_c9ade57f:before{content:"";position:absolute;top:0;bottom:0;border-radius:var(--slider-radius);inset-inline:calc(var(--slider-size) * -1);background-color:var(--track-bg, var(--slider-track-bg));z-index:0}.m_38aeed47{position:absolute;z-index:1;top:0;bottom:0;background-color:var(--slider-color);border-radius:var(--slider-radius);width:var(--slider-bar-width);inset-inline-start:var(--slider-bar-offset)}.m_38aeed47:where([data-inverted]){background-color:var(--slider-track-bg)}fieldset:disabled .m_38aeed47:where(:not([data-inverted])),.m_38aeed47:where([data-disabled]:not([data-inverted])){background-color:var(--mantine-color-disabled-color)}.m_b7b0423a{position:absolute;inset-inline-start:calc(var(--mark-offset) - var(--slider-size) / 2);top:0;z-index:2;height:0;pointer-events:none}.m_dd33bc19{border:calc(.125rem * var(--mantine-scale)) solid;height:var(--slider-size);width:var(--slider-size);border-radius:calc(62.5rem * var(--mantine-scale));background-color:var(--mantine-color-white);pointer-events:none}:where([data-mantine-color-scheme=light]) .m_dd33bc19{border-color:var(--mantine-color-gray-2)}:where([data-mantine-color-scheme=dark]) .m_dd33bc19{border-color:var(--mantine-color-dark-4)}.m_dd33bc19:where([data-filled]){border-color:var(--slider-color)}.m_dd33bc19:where([data-filled]):where([data-disabled]){border-color:var(--mantine-color-disabled-border)}.m_68c77a5b{transform:translate(calc(-50% + var(--slider-size) / 2),calc(var(--mantine-spacing-xs) / 2));font-size:var(--mantine-font-size-sm);white-space:nowrap;cursor:pointer;user-select:none}:where([data-mantine-color-scheme=light]) .m_68c77a5b{color:var(--mantine-color-gray-6)}:where([data-mantine-color-scheme=dark]) .m_68c77a5b{color:var(--mantine-color-dark-2)}.m_559cce2d{position:relative}.m_559cce2d:where([data-has-spoiler]){margin-bottom:calc(1.5rem * var(--mantine-scale))}.m_b912df4e{display:flex;flex-direction:column;overflow:hidden;transition:max-height var(--spoiler-transition-duration, .2s) ease}.m_b9131032{position:absolute;inset-inline-start:0;top:100%;height:calc(1.5rem * var(--mantine-scale))}.m_6d731127{display:flex;flex-direction:column;align-items:var(--stack-align, stretch);justify-content:var(--stack-justify, flex-start);gap:var(--stack-gap, var(--mantine-spacing-md))}.m_cbb4ea7e{--stepper-icon-size-xs: calc(2.125rem * var(--mantine-scale));--stepper-icon-size-sm: calc(2.25rem * var(--mantine-scale));--stepper-icon-size-md: calc(2.625rem * var(--mantine-scale));--stepper-icon-size-lg: calc(3rem * var(--mantine-scale));--stepper-icon-size-xl: calc(3.25rem * var(--mantine-scale));--stepper-icon-size: var(--stepper-icon-size-md);--stepper-color: var(--mantine-primary-color-filled);--stepper-content-padding: var(--mantine-spacing-md);--stepper-spacing: var(--mantine-spacing-md);--stepper-radius: calc(62.5rem * var(--mantine-scale));--stepper-fz: var(--mantine-font-size-md);--stepper-outline-thickness: calc(.125rem * var(--mantine-scale))}[data-mantine-color-scheme=light] .m_cbb4ea7e{--stepper-outline-color: var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .m_cbb4ea7e{--stepper-outline-color: var(--mantine-color-dark-5)}.m_aaf89d0b{display:flex;flex-wrap:nowrap;align-items:center}.m_aaf89d0b:where([data-wrap]){flex-wrap:wrap;gap:var(--mantine-spacing-md) 0}.m_aaf89d0b:where([data-orientation=vertical]){flex-direction:column}.m_aaf89d0b:where([data-orientation=vertical]):where([data-icon-position=left]){align-items:flex-start}.m_aaf89d0b:where([data-orientation=vertical]):where([data-icon-position=right]){align-items:flex-end}.m_aaf89d0b:where([data-orientation=horizontal]){flex-direction:row}.m_2a371ac9{transition:background-color .15s ease;flex:1;height:var(--stepper-outline-thickness);margin-inline:var(--mantine-spacing-md);background-color:var(--stepper-outline-color)}.m_2a371ac9:where([data-active]){background-color:var(--stepper-color)}.m_78da155d{padding-top:var(--stepper-content-padding)}.m_cbb57068{--step-color: var(--stepper-color);display:flex;cursor:default}.m_cbb57068:where([data-allow-click]){cursor:pointer}.m_cbb57068:where([data-icon-position=left]){flex-direction:row}.m_cbb57068:where([data-icon-position=right]){flex-direction:row-reverse}.m_f56b1e2c{align-items:center}.m_833edb7e{--separator-spacing: calc(var(--mantine-spacing-xs) / 2);justify-content:flex-start;min-height:calc(var(--stepper-icon-size) + var(--mantine-spacing-xl) + var(--separator-spacing));margin-top:var(--separator-spacing);overflow:hidden}.m_833edb7e:where(:first-of-type){margin-top:0}.m_833edb7e:where(:last-of-type){min-height:auto}.m_833edb7e:where(:last-of-type) .m_6496b3f3{display:none}.m_818e70b{position:relative}.m_6496b3f3{top:calc(var(--stepper-icon-size) + var(--separator-spacing));inset-inline-start:calc(var(--stepper-icon-size) / 2);height:100vh;position:absolute;border-inline-start:var(--stepper-outline-thickness) solid var(--stepper-outline-color)}.m_6496b3f3:where([data-active]){border-color:var(--stepper-color)}.m_1959ad01{height:var(--stepper-icon-size);width:var(--stepper-icon-size);min-height:var(--stepper-icon-size);min-width:var(--stepper-icon-size);border-radius:var(--stepper-radius);font-size:var(--stepper-fz);display:flex;align-items:center;justify-content:center;position:relative;font-weight:700;transition:background-color .15s ease,border-color .15s ease;border:var(--stepper-outline-thickness) solid var(--stepper-outline-color);background-color:var(--stepper-outline-color)}:where([data-mantine-color-scheme=light]) .m_1959ad01{color:var(--mantine-color-gray-7)}:where([data-mantine-color-scheme=dark]) .m_1959ad01{color:var(--mantine-color-dark-1)}.m_1959ad01:where([data-progress]){border-color:var(--step-color)}.m_1959ad01:where([data-completed]){color:var(--stepper-icon-color, var(--mantine-color-white));background-color:var(--step-color);border-color:var(--step-color)}.m_a79331dc{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--stepper-icon-color, var(--mantine-color-white))}.m_1956aa2a{display:flex;flex-direction:column}.m_1956aa2a:where([data-icon-position=left]){margin-inline-start:var(--mantine-spacing-sm)}.m_1956aa2a:where([data-icon-position=right]){text-align:right;margin-inline-end:var(--mantine-spacing-sm)}:where([dir=rtl]) .m_1956aa2a:where([data-icon-position=right]){text-align:left}.m_12051f6c{font-weight:500;font-size:var(--stepper-fz);line-height:1}.m_164eea74{margin-top:calc(var(--stepper-spacing) / 3);margin-bottom:calc(var(--stepper-spacing) / 3);font-size:calc(var(--stepper-fz) - calc(.125rem * var(--mantine-scale)));line-height:1;color:var(--mantine-color-dimmed)}.m_5f93f3bb{--switch-height-xs: calc(1rem * var(--mantine-scale));--switch-height-sm: calc(1.25rem * var(--mantine-scale));--switch-height-md: calc(1.5rem * var(--mantine-scale));--switch-height-lg: calc(1.875rem * var(--mantine-scale));--switch-height-xl: calc(2.25rem * var(--mantine-scale));--switch-width-xs: calc(2rem * var(--mantine-scale));--switch-width-sm: calc(2.375rem * var(--mantine-scale));--switch-width-md: calc(2.875rem * var(--mantine-scale));--switch-width-lg: calc(3.5rem * var(--mantine-scale));--switch-width-xl: calc(4.5rem * var(--mantine-scale));--switch-thumb-size-xs: calc(.75rem * var(--mantine-scale));--switch-thumb-size-sm: calc(.875rem * var(--mantine-scale));--switch-thumb-size-md: calc(1.125rem * var(--mantine-scale));--switch-thumb-size-lg: calc(1.375rem * var(--mantine-scale));--switch-thumb-size-xl: calc(1.75rem * var(--mantine-scale));--switch-label-font-size-xs: calc(.3125rem * var(--mantine-scale));--switch-label-font-size-sm: calc(.375rem * var(--mantine-scale));--switch-label-font-size-md: calc(.4375rem * var(--mantine-scale));--switch-label-font-size-lg: calc(.5625rem * var(--mantine-scale));--switch-label-font-size-xl: calc(.6875rem * var(--mantine-scale));--switch-track-label-padding-xs: calc(.125rem * var(--mantine-scale));--switch-track-label-padding-sm: calc(.15625rem * var(--mantine-scale));--switch-track-label-padding-md: calc(.1875rem * var(--mantine-scale));--switch-track-label-padding-lg: calc(.1875rem * var(--mantine-scale));--switch-track-label-padding-xl: calc(.21875rem * var(--mantine-scale));--switch-height: var(--switch-height-sm);--switch-width: var(--switch-width-sm);--switch-thumb-size: var(--switch-thumb-size-sm);--switch-label-font-size: var(--switch-label-font-size-sm);--switch-track-label-padding: var(--switch-track-label-padding-sm);--switch-radius: calc(62.5rem * var(--mantine-scale));--switch-color: var(--mantine-primary-color-filled);--switch-disabled-color: var(--mantine-color-disabled);position:relative}.m_926b4011{height:0;width:0;opacity:0;margin:0;padding:0;position:absolute;overflow:hidden;white-space:nowrap}.m_9307d992{-webkit-tap-highlight-color:transparent;cursor:var(--switch-cursor, var(--mantine-cursor-type));overflow:hidden;position:relative;border-radius:var(--switch-radius);background-color:var(--switch-bg);height:var(--switch-height);min-width:var(--switch-width);margin:0;transition:background-color .15s ease,border-color .15s ease;appearance:none;display:flex;align-items:center;font-size:var(--switch-label-font-size);font-weight:600;order:var(--switch-order, 1);user-select:none;z-index:0;line-height:0;color:var(--switch-text-color)}.m_9307d992:where([data-without-labels]){width:var(--switch-width)}.m_926b4011:focus-visible+.m_9307d992{outline:2px solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}.m_926b4011:checked+.m_9307d992{--switch-bg: var(--switch-color);--switch-text-color: var(--mantine-color-white)}.m_926b4011:disabled+.m_9307d992,.m_926b4011[data-disabled]+.m_9307d992{--switch-bg: var(--switch-disabled-color);--switch-cursor: not-allowed}[data-mantine-color-scheme=light] .m_9307d992{--switch-bg: var(--mantine-color-gray-3);--switch-text-color: var(--mantine-color-gray-6)}[data-mantine-color-scheme=dark] .m_9307d992{--switch-bg: var(--mantine-color-dark-5);--switch-text-color: var(--mantine-color-dark-1)}.m_9307d992[data-label-position=left]{--switch-order: 2}.m_93039a1d{position:absolute;z-index:1;border-radius:var(--switch-radius);display:flex;background-color:var(--switch-thumb-bg, var(--mantine-color-white));height:var(--switch-thumb-size);width:var(--switch-thumb-size);inset-inline-start:var(--switch-thumb-start, var(--switch-track-label-padding));transition:inset-inline-start .15s ease}.m_93039a1d:where([data-with-thumb-indicator]):before{content:"";width:40%;height:40%;background-color:var(--switch-bg);position:absolute;border-radius:var(--switch-radius);top:50%;left:50%;transform:translate(-50%,-50%)}.m_93039a1d>*{margin:auto}.m_926b4011:checked+*>.m_93039a1d{--switch-thumb-start: calc(100% - var(--switch-thumb-size) - var(--switch-track-label-padding))}.m_926b4011:disabled+*>.m_93039a1d,.m_926b4011[data-disabled]+*>.m_93039a1d{--switch-thumb-bg: var(--switch-thumb-bg-disabled)}[data-mantine-color-scheme=light] .m_93039a1d{--switch-thumb-bg-disabled: var(--mantine-color-gray-0)}[data-mantine-color-scheme=dark] .m_93039a1d{--switch-thumb-bg-disabled: var(--mantine-color-dark-3)}.m_8277e082{height:100%;display:grid;place-content:center;min-width:calc(var(--switch-width) - var(--switch-thumb-size));padding-inline:var(--switch-track-label-padding);margin-inline-start:calc(var(--switch-thumb-size) + var(--switch-track-label-padding));transition:margin .15s ease}.m_926b4011:checked+*>.m_8277e082{margin-inline-end:calc(var(--switch-thumb-size) + var(--switch-track-label-padding));margin-inline-start:0}.m_b23fa0ef{width:100%;border-collapse:collapse;border-spacing:0;line-height:var(--mantine-line-height);font-size:var(--mantine-font-size-sm);table-layout:var(--table-layout, auto);caption-side:var(--table-caption-side, bottom);border:none}:where([data-mantine-color-scheme=light]) .m_b23fa0ef{--table-hover-color: var(--mantine-color-gray-1);--table-striped-color: var(--mantine-color-gray-0);--table-border-color: var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_b23fa0ef{--table-hover-color: var(--mantine-color-dark-5);--table-striped-color: var(--mantine-color-dark-6);--table-border-color: var(--mantine-color-dark-4)}.m_b23fa0ef:where([data-with-table-border]){border:calc(.0625rem * var(--mantine-scale)) solid var(--table-border-color)}.m_b23fa0ef:where([data-tabular-nums]){font-variant-numeric:tabular-nums}.m_b23fa0ef:where([data-variant=vertical]) :where(.m_4e7aa4f3){font-weight:500}:where([data-mantine-color-scheme=light]) .m_b23fa0ef:where([data-variant=vertical]) :where(.m_4e7aa4f3){background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_b23fa0ef:where([data-variant=vertical]) :where(.m_4e7aa4f3){background-color:var(--mantine-color-dark-6)}.m_4e7aa4f3{text-align:left}:where([dir=rtl]) .m_4e7aa4f3{text-align:right}.m_4e7aa4fd{border-bottom:none;background-color:transparent}@media(hover:hover){.m_4e7aa4fd:hover:where([data-hover]){background-color:var(--tr-hover-bg)}}@media(hover:none){.m_4e7aa4fd:active:where([data-hover]){background-color:var(--tr-hover-bg)}}.m_4e7aa4fd:where([data-with-row-border]){border-bottom:calc(.0625rem * var(--mantine-scale)) solid var(--table-border-color)}.m_4e7aa4ef,.m_4e7aa4f3{padding:var(--table-vertical-spacing) var(--table-horizontal-spacing, var(--mantine-spacing-xs))}.m_4e7aa4ef:where([data-with-column-border]:not(:first-child)),.m_4e7aa4f3:where([data-with-column-border]:not(:first-child)){border-inline-start:calc(.0625rem * var(--mantine-scale)) solid var(--table-border-color)}.m_4e7aa4ef:where([data-with-column-border]:not(:last-child)),.m_4e7aa4f3:where([data-with-column-border]:not(:last-child)){border-inline-end:calc(.0625rem * var(--mantine-scale)) solid var(--table-border-color)}.m_b2404537>:where(tr):where([data-with-row-border]:last-of-type){border-bottom:none}.m_b2404537>:where(tr):where([data-striped=odd]:nth-of-type(odd)){background-color:var(--table-striped-color)}.m_b2404537>:where(tr):where([data-striped=even]:nth-of-type(2n)){background-color:var(--table-striped-color)}.m_b2404537>:where(tr)[data-hover]{--tr-hover-bg: var(--table-highlight-on-hover-color, var(--table-hover-color))}.m_b242d975{top:var(--table-sticky-header-offset, 0);z-index:3}.m_b242d975:where([data-sticky]){position:sticky}.m_b242d975:where([data-sticky]) :where(.m_4e7aa4f3){position:sticky;top:var(--table-sticky-header-offset, 0);background-color:var(--mantine-color-body)}:where([data-with-table-border]) .m_b242d975[data-sticky]{position:sticky;top:var(--table-sticky-header-offset, 0);z-index:4;border-top:none}:where([data-with-table-border]) .m_b242d975[data-sticky]:before{content:"";display:block;position:absolute;left:0;top:calc(-.03125rem * var(--mantine-scale));width:100%;height:calc(.0625rem * var(--mantine-scale));background-color:var(--table-border-color);z-index:5}:where([data-with-table-border]) .m_b242d975[data-sticky] .m_4e7aa4f3:first-child{border-top:none}.m_9e5a3ac7{color:var(--mantine-color-dimmed)}.m_9e5a3ac7:where([data-side=top]){margin-bottom:var(--mantine-spacing-xs)}.m_9e5a3ac7:where([data-side=bottom]){margin-top:var(--mantine-spacing-xs)}.m_a100c15{overflow-x:var(--table-overflow)}.m_62259741{min-width:var(--table-min-width);max-height:var(--table-max-height)}.m_bcaa9990{display:flex;flex-direction:column;--toc-depth-offset: .8em}.m_375a65ef{display:block;padding:.3em .8em;font-size:var(--toc-size, var(--mantine-font-size-md));border-radius:var(--toc-radius, var(--mantine-radius-default));padding-left:max(calc(var(--depth-offset) * var(--toc-depth-offset)),.8em)}@media(hover:hover){:where([data-mantine-color-scheme=light]) .m_375a65ef:where(:hover):where(:not([data-variant=none])){background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_375a65ef:where(:hover):where(:not([data-variant=none])){background-color:var(--mantine-color-dark-5)}}@media(hover:none){:where([data-mantine-color-scheme=light]) .m_375a65ef:where(:active):where(:not([data-variant=none])){background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_375a65ef:where(:active):where(:not([data-variant=none])){background-color:var(--mantine-color-dark-5)}}.m_375a65ef:where([data-active]){background-color:var(--toc-bg);color:var(--toc-color)}[data-mantine-color-scheme=light] .m_89d60db1{--tab-border-color: var(--mantine-color-gray-3)}[data-mantine-color-scheme=dark] .m_89d60db1{--tab-border-color: var(--mantine-color-dark-4)}.m_89d60db1{display:var(--tabs-display);flex-direction:var(--tabs-flex-direction);--tabs-list-direction: row;--tabs-panel-grow: unset;--tabs-display: block;--tabs-flex-direction: row;--tabs-list-border-width: 0;--tabs-list-border-size: 0 0 var(--tabs-list-border-width) 0;--tabs-list-gap: unset;--tabs-list-line-bottom: 0;--tabs-list-line-top: unset;--tabs-list-line-start: 0;--tabs-list-line-end: 0;--tab-radius: var(--tabs-radius) var(--tabs-radius) 0 0;--tab-border-width: 0 0 var(--tabs-list-border-width) 0}.m_89d60db1[data-inverted]{--tabs-list-line-bottom: unset;--tabs-list-line-top: 0;--tab-radius: 0 0 var(--tabs-radius) var(--tabs-radius);--tab-border-width: var(--tabs-list-border-width) 0 0 0}.m_89d60db1[data-inverted] .m_576c9d4:before{top:0;bottom:unset}.m_89d60db1[data-orientation=vertical]{--tabs-list-line-start: unset;--tabs-list-line-end: 0;--tabs-list-line-top: 0;--tabs-list-line-bottom: 0;--tabs-list-border-size: 0 var(--tabs-list-border-width) 0 0;--tab-border-width: 0 var(--tabs-list-border-width) 0 0;--tab-radius: var(--tabs-radius) 0 0 var(--tabs-radius);--tabs-list-direction: column;--tabs-panel-grow: 1;--tabs-display: flex}[dir=rtl] .m_89d60db1[data-orientation=vertical]{--tabs-list-border-size: 0 0 0 var(--tabs-list-border-width);--tab-border-width: 0 0 0 var(--tabs-list-border-width);--tab-radius: 0 var(--tabs-radius) var(--tabs-radius) 0}.m_89d60db1[data-orientation=vertical][data-placement=right]{--tabs-flex-direction: row-reverse;--tabs-list-line-start: 0;--tabs-list-line-end: unset;--tabs-list-border-size: 0 0 0 var(--tabs-list-border-width);--tab-border-width: 0 0 0 var(--tabs-list-border-width);--tab-radius: 0 var(--tabs-radius) var(--tabs-radius) 0}[dir=rtl] .m_89d60db1[data-orientation=vertical][data-placement=right]{--tabs-list-border-size: 0 var(--tabs-list-border-width) 0 0;--tab-border-width: 0 var(--tabs-list-border-width) 0 0;--tab-radius: var(--tabs-radius) 0 0 var(--tabs-radius)}.m_89d60db1[data-variant=default]{--tabs-list-border-width: calc(.125rem * var(--mantine-scale))}[data-mantine-color-scheme=light] .m_89d60db1[data-variant=default]{--tab-hover-color: var(--mantine-color-gray-0)}[data-mantine-color-scheme=dark] .m_89d60db1[data-variant=default]{--tab-hover-color: var(--mantine-color-dark-6)}.m_89d60db1[data-variant=outline]{--tabs-list-border-width: calc(.0625rem * var(--mantine-scale))}.m_89d60db1[data-variant=pills]{--tabs-list-gap: calc(var(--mantine-spacing-sm) / 2)}[data-mantine-color-scheme=light] .m_89d60db1[data-variant=pills]{--tab-hover-color: var(--mantine-color-gray-0)}[data-mantine-color-scheme=dark] .m_89d60db1[data-variant=pills]{--tab-hover-color: var(--mantine-color-dark-6)}.m_89d33d6d{display:flex;flex-wrap:wrap;justify-content:var(--tabs-justify, flex-start);flex-direction:var(--tabs-list-direction);gap:var(--tabs-list-gap)}.m_89d33d6d:where([data-grow]) .m_4ec4dce6{flex:1}.m_b0c91715{flex-grow:var(--tabs-panel-grow)}.m_4ec4dce6{position:relative;padding:var(--mantine-spacing-xs) var(--mantine-spacing-md);font-size:var(--mantine-font-size-sm);white-space:nowrap;z-index:0;display:flex;align-items:center;line-height:1;user-select:none}.m_4ec4dce6:where(:disabled,[data-disabled]){opacity:.5;cursor:not-allowed}.m_4ec4dce6:focus{z-index:1}.m_fc420b1f{display:flex;align-items:center;justify-content:center}.m_fc420b1f:where([data-position=left]:not(:only-child)){margin-inline-end:var(--mantine-spacing-xs)}.m_fc420b1f:where([data-position=right]:not(:only-child)){margin-inline-start:var(--mantine-spacing-xs)}.m_42bbd1ae{flex:1;text-align:center}.m_576c9d4{position:relative}.m_576c9d4:before{content:"";position:absolute;border:1px solid var(--tab-border-color);bottom:var(--tabs-list-line-bottom);inset-inline-start:var(--tabs-list-line-start);inset-inline-end:var(--tabs-list-line-end);top:var(--tabs-list-line-top)}.m_539e827b{border-radius:var(--tab-radius);border-width:var(--tab-border-width);border-style:solid;border-color:transparent;background-color:transparent}.m_539e827b:where([data-active]){border-color:var(--tabs-color)}@media(hover:hover){.m_539e827b:hover{background-color:var(--tab-hover-color)}.m_539e827b:hover:where(:not([data-active])){border-color:var(--tab-border-color)}}@media(hover:none){.m_539e827b:active{background-color:var(--tab-hover-color)}.m_539e827b:active:where(:not([data-active])){border-color:var(--tab-border-color)}}@media(hover:hover){.m_539e827b:disabled:hover,.m_539e827b[data-disabled]:hover{background-color:transparent}}@media(hover:none){.m_539e827b:disabled:active,.m_539e827b[data-disabled]:active{background-color:transparent}}.m_6772fbd5{position:relative}.m_6772fbd5:before{content:"";position:absolute;border-color:var(--tab-border-color);border-width:var(--tabs-list-border-size);border-style:solid;bottom:var(--tabs-list-line-bottom);inset-inline-start:var(--tabs-list-line-start);inset-inline-end:var(--tabs-list-line-end);top:var(--tabs-list-line-top)}.m_b59ab47c{border-top:calc(.0625rem * var(--mantine-scale)) solid transparent;border-bottom:calc(.0625rem * var(--mantine-scale)) solid transparent;border-right:calc(.0625rem * var(--mantine-scale)) solid transparent;border-left:calc(.0625rem * var(--mantine-scale)) solid transparent;border-top-color:var(--tab-border-top-color);border-bottom-color:var(--tab-border-bottom-color);border-radius:var(--tab-radius);position:relative;--tab-border-bottom-color: transparent;--tab-border-top-color: transparent;--tab-border-inline-end-color: transparent;--tab-border-inline-start-color: transparent}.m_b59ab47c:where([data-active]):before{content:"";position:absolute;background-color:var(--tab-border-color);bottom:var(--tab-before-bottom, calc(-.0625rem * var(--mantine-scale)));left:var(--tab-before-left, calc(-.0625rem * var(--mantine-scale)));right:var(--tab-before-right, auto);top:var(--tab-before-top, auto);width:calc(.0625rem * var(--mantine-scale));height:calc(.0625rem * var(--mantine-scale))}.m_b59ab47c:where([data-active]):after{content:"";position:absolute;background-color:var(--tab-border-color);bottom:var(--tab-after-bottom, calc(-.0625rem * var(--mantine-scale)));right:var(--tab-after-right, calc(-.0625rem * var(--mantine-scale)));left:var(--tab-after-left, auto);top:var(--tab-after-top, auto);width:calc(.0625rem * var(--mantine-scale));height:calc(.0625rem * var(--mantine-scale))}.m_b59ab47c:where([data-active]){border-top-color:var(--tab-border-top-color);border-bottom-color:var(--tab-border-bottom-color);border-inline-start-color:var(--tab-border-inline-start-color);border-inline-end-color:var(--tab-border-inline-end-color);--tab-border-top-color: var(--tab-border-color);--tab-border-inline-start-color: var(--tab-border-color);--tab-border-inline-end-color: var(--tab-border-color);--tab-border-bottom-color: var(--mantine-color-body)}.m_b59ab47c:where([data-active])[data-inverted]{--tab-border-bottom-color: var(--tab-border-color);--tab-border-top-color: var(--mantine-color-body);--tab-before-bottom: auto;--tab-before-top: calc(-.0625rem * var(--mantine-scale));--tab-after-bottom: auto;--tab-after-top: calc(-.0625rem * var(--mantine-scale))}.m_b59ab47c:where([data-active])[data-orientation=vertical][data-placement=left]{--tab-border-inline-end-color: var(--mantine-color-body);--tab-border-inline-start-color: var(--tab-border-color);--tab-border-bottom-color: var(--tab-border-color);--tab-before-right: calc(-.0625rem * var(--mantine-scale));--tab-before-left: auto;--tab-before-bottom: auto;--tab-before-top: calc(-.0625rem * var(--mantine-scale));--tab-after-left: auto;--tab-after-right: calc(-.0625rem * var(--mantine-scale))}[dir=rtl] .m_b59ab47c:where([data-active])[data-orientation=vertical][data-placement=left]{--tab-before-right: auto;--tab-before-left: calc(-.0625rem * var(--mantine-scale));--tab-after-left: calc(-.0625rem * var(--mantine-scale));--tab-after-right: auto}.m_b59ab47c:where([data-active])[data-orientation=vertical][data-placement=right]{--tab-border-inline-start-color: var(--mantine-color-body);--tab-border-inline-end-color: var(--tab-border-color);--tab-border-bottom-color: var(--tab-border-color);--tab-before-left: calc(-.0625rem * var(--mantine-scale));--tab-before-right: auto;--tab-before-bottom: auto;--tab-before-top: calc(-.0625rem * var(--mantine-scale));--tab-after-right: auto;--tab-after-left: calc(-.0625rem * var(--mantine-scale))}[dir=rtl] .m_b59ab47c:where([data-active])[data-orientation=vertical][data-placement=right]{--tab-before-left: auto;--tab-before-right: calc(-.0625rem * var(--mantine-scale));--tab-after-right: calc(-.0625rem * var(--mantine-scale));--tab-after-left: auto}.m_c3381914{border-radius:var(--tabs-radius);background-color:var(--tab-bg);color:var(--tab-color);--tab-bg: transparent;--tab-color: inherit}@media(hover:hover){.m_c3381914:not([data-disabled]):hover{--tab-bg: var(--tab-hover-color)}}@media(hover:none){.m_c3381914:not([data-disabled]):active{--tab-bg: var(--tab-hover-color)}}.m_c3381914[data-active][data-active]{--tab-bg: var(--tabs-color);--tab-color: var(--tabs-text-color, var(--mantine-color-white))}@media(hover:hover){.m_c3381914[data-active][data-active]:hover{--tab-bg: var(--tabs-color)}}@media(hover:none){.m_c3381914[data-active][data-active]:active{--tab-bg: var(--tabs-color)}}.m_7341320d{--ti-size-xs: calc(1.125rem * var(--mantine-scale));--ti-size-sm: calc(1.375rem * var(--mantine-scale));--ti-size-md: calc(1.75rem * var(--mantine-scale));--ti-size-lg: calc(2.125rem * var(--mantine-scale));--ti-size-xl: calc(2.75rem * var(--mantine-scale));--ti-size: var(--ti-size-md);line-height:1;display:inline-flex;align-items:center;justify-content:center;position:relative;user-select:none;width:var(--ti-size);height:var(--ti-size);min-width:var(--ti-size);min-height:var(--ti-size);border-radius:var(--ti-radius, var(--mantine-radius-default));background:var(--ti-bg, var(--mantine-primary-color-filled));color:var(--ti-color, var(--mantine-color-white));border:var(--ti-bd, 1px solid transparent)}.m_43657ece{--offset: calc(var(--tl-bullet-size) / 2 + var(--tl-line-width) / 2);--tl-bullet-size: calc(1.25rem * var(--mantine-scale));--tl-line-width: calc(.25rem * var(--mantine-scale));--tl-radius: calc(62.5rem * var(--mantine-scale));--tl-color: var(--mantine-primary-color-filled)}.m_43657ece:where([data-align=left]){padding-inline-start:var(--offset)}.m_43657ece:where([data-align=right]){padding-inline-end:var(--offset)}.m_2ebe8099{font-weight:500;line-height:1;margin-bottom:calc(var(--mantine-spacing-xs) / 2)}.m_436178ff{--item-border: var(--tl-line-width) var(--tli-border-style, solid) var(--item-border-color);position:relative;color:var(--mantine-color-text)}.m_436178ff:before{content:"";pointer-events:none;position:absolute;top:0;left:var(--timeline-line-left, 0);right:var(--timeline-line-right, 0);bottom:calc(var(--mantine-spacing-xl) * -1);border-inline-start:var(--item-border);display:var(--timeline-line-display, none)}.m_43657ece[data-align=left] .m_436178ff:before{--timeline-line-left: calc(var(--tl-line-width) * -1);--timeline-line-right: auto}[dir=rtl] .m_43657ece[data-align=left] .m_436178ff:before{--timeline-line-left: auto;--timeline-line-right: calc(var(--tl-line-width) * -1)}.m_43657ece[data-align=right] .m_436178ff:before{--timeline-line-left: auto;--timeline-line-right: calc(var(--tl-line-width) * -1)}[dir=rtl] .m_43657ece[data-align=right] .m_436178ff:before{--timeline-line-left: calc(var(--tl-line-width) * -1);--timeline-line-right: auto}.m_43657ece:where([data-align=left]) .m_436178ff{padding-inline-start:var(--offset);text-align:left}.m_43657ece:where([data-align=right]) .m_436178ff{padding-inline-end:var(--offset);text-align:right}:where([data-mantine-color-scheme=light]) .m_436178ff{--item-border-color: var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_436178ff{--item-border-color: var(--mantine-color-dark-4)}.m_436178ff:where([data-line-active]):before{border-color:var(--tli-color, var(--tl-color))}.m_436178ff:where(:not(:last-of-type)){--timeline-line-display: block}.m_436178ff:where(:not(:first-of-type)){margin-top:var(--mantine-spacing-xl)}.m_8affcee1{width:var(--tl-bullet-size);height:var(--tl-bullet-size);border-radius:var(--tli-radius, var(--tl-radius));border:var(--tl-line-width) solid;background-color:var(--mantine-color-body);position:absolute;top:0;display:flex;align-items:center;justify-content:center;color:var(--mantine-color-text)}:where([data-mantine-color-scheme=light]) .m_8affcee1{border-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_8affcee1{border-color:var(--mantine-color-dark-4)}.m_43657ece:where([data-align=left]) .m_8affcee1{left:calc((var(--tl-bullet-size) / 2 + var(--tl-line-width) / 2) * -1);right:auto}:where([dir=rtl]) .m_43657ece:where([data-align=left]) .m_8affcee1{left:auto;right:calc((var(--tl-bullet-size) / 2 + var(--tl-line-width) / 2) * -1)}.m_43657ece:where([data-align=right]) .m_8affcee1{left:auto;right:calc((var(--tl-bullet-size) / 2 + var(--tl-line-width) / 2) * -1)}:where([dir=rtl]) .m_43657ece:where([data-align=right]) .m_8affcee1{left:calc((var(--tl-bullet-size) / 2 + var(--tl-line-width) / 2) * -1);right:auto}.m_8affcee1:where([data-with-child]){border-width:var(--tl-line-width)}:where([data-mantine-color-scheme=light]) .m_8affcee1:where([data-with-child]){background-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_8affcee1:where([data-with-child]){background-color:var(--mantine-color-dark-4)}.m_8affcee1:where([data-active]){border-color:var(--tli-color, var(--tl-color));background-color:var(--mantine-color-white);color:var(--tl-icon-color, var(--mantine-color-white))}.m_8affcee1:where([data-active]):where([data-with-child]){background-color:var(--tli-color, var(--tl-color));color:var(--tl-icon-color, var(--mantine-color-white))}.m_43657ece:where([data-align=left]) .m_540e8f41{padding-inline-start:var(--offset);text-align:left}:where([dir=rtl]) .m_43657ece:where([data-align=left]) .m_540e8f41{text-align:right}.m_43657ece:where([data-align=right]) .m_540e8f41{padding-inline-end:var(--offset);text-align:right}:where([dir=rtl]) .m_43657ece:where([data-align=right]) .m_540e8f41{text-align:left}.m_8a5d1357{margin:0;font-weight:var(--title-fw);font-size:var(--title-fz);line-height:var(--title-lh);font-family:var(--mantine-font-family-headings);text-wrap:var(--title-text-wrap, var(--mantine-heading-text-wrap))}.m_8a5d1357:where([data-line-clamp]){overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:var(--title-line-clamp);-webkit-box-orient:vertical}.m_f698e191{--level-offset: var(--mantine-spacing-lg);margin:0;padding:0;user-select:none}.m_75f3ecf{margin:0;padding:0}.m_f6970eb1{cursor:pointer;list-style:none;margin:0;padding:0;outline:0}.m_f6970eb1:focus-visible>.m_dc283425{outline:2px solid var(--mantine-primary-color-filled);outline-offset:calc(.125rem * var(--mantine-scale))}.m_dc283425{padding-inline-start:var(--label-offset)}:where([data-mantine-color-scheme=light]) .m_dc283425:where([data-selected]){background-color:var(--mantine-color-gray-1)}:where([data-mantine-color-scheme=dark]) .m_dc283425:where([data-selected]){background-color:var(--mantine-color-dark-5)}.m_d08caa0 :first-child{margin-top:0}.m_d08caa0 :last-child{margin-bottom:0}.m_d08caa0 :where(h1,h2,h3,h4,h5,h6){margin-bottom:var(--mantine-spacing-xs);text-wrap:var(--mantine-heading-text-wrap);font-family:var(--mantine-font-family-headings)}.m_d08caa0 :where(h1){margin-top:calc(1.5 * var(--mantine-spacing-xl));font-size:var(--mantine-h1-font-size);line-height:var(--mantine-h1-line-height);font-weight:var(--mantine-h1-font-weight)}.m_d08caa0 :where(h2){margin-top:var(--mantine-spacing-xl);font-size:var(--mantine-h2-font-size);line-height:var(--mantine-h2-line-height);font-weight:var(--mantine-h2-font-weight)}.m_d08caa0 :where(h3){margin-top:calc(.8 * var(--mantine-spacing-xl));font-size:var(--mantine-h3-font-size);line-height:var(--mantine-h3-line-height);font-weight:var(--mantine-h3-font-weight)}.m_d08caa0 :where(h4){margin-top:calc(.8 * var(--mantine-spacing-xl));font-size:var(--mantine-h4-font-size);line-height:var(--mantine-h4-line-height);font-weight:var(--mantine-h4-font-weight)}.m_d08caa0 :where(h5){margin-top:calc(.5 * var(--mantine-spacing-xl));font-size:var(--mantine-h5-font-size);line-height:var(--mantine-h5-line-height);font-weight:var(--mantine-h5-font-weight)}.m_d08caa0 :where(h6){margin-top:calc(.5 * var(--mantine-spacing-xl));font-size:var(--mantine-h6-font-size);line-height:var(--mantine-h6-line-height);font-weight:var(--mantine-h6-font-weight)}.m_d08caa0 :where(img){max-width:100%;margin-bottom:var(--mantine-spacing-xs)}.m_d08caa0 :where(p){margin-top:0;margin-bottom:var(--mantine-spacing-lg)}:where([data-mantine-color-scheme=light]) .m_d08caa0 :where(mark){background-color:var(--mantine-color-yellow-2);color:inherit}:where([data-mantine-color-scheme=dark]) .m_d08caa0 :where(mark){background-color:var(--mantine-color-yellow-5);color:var(--mantine-color-black)}.m_d08caa0 :where(a){color:var(--mantine-color-anchor);text-decoration:none}@media(hover:hover){.m_d08caa0 :where(a):hover{text-decoration:underline}}@media(hover:none){.m_d08caa0 :where(a):active{text-decoration:underline}}.m_d08caa0 :where(hr){margin-top:var(--mantine-spacing-md);margin-bottom:var(--mantine-spacing-md);border:0;border-top:calc(.0625rem * var(--mantine-scale)) solid}:where([data-mantine-color-scheme=light]) .m_d08caa0 :where(hr){border-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_d08caa0 :where(hr){border-color:var(--mantine-color-dark-3)}.m_d08caa0 :where(pre){padding:var(--mantine-spacing-xs);line-height:var(--mantine-line-height);margin:0;margin-top:var(--mantine-spacing-md);margin-bottom:var(--mantine-spacing-md);overflow-x:auto;font-family:var(--mantine-font-family-monospace);font-size:var(--mantine-font-size-xs);border-radius:var(--mantine-radius-sm)}:where([data-mantine-color-scheme=light]) .m_d08caa0 :where(pre){background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_d08caa0 :where(pre){background-color:var(--mantine-color-dark-8)}.m_d08caa0 :where(pre) :where(code){background-color:transparent;padding:0;border-radius:0;color:inherit;border:0}.m_d08caa0 :where(kbd){--kbd-fz: calc(.75rem * var(--mantine-scale));--kbd-padding: calc(.1875rem * var(--mantine-scale)) calc(.3125rem * var(--mantine-scale));font-family:var(--mantine-font-family-monospace);line-height:var(--mantine-line-height);font-weight:700;padding:var(--kbd-padding);font-size:var(--kbd-fz);border-radius:var(--mantine-radius-sm);border:calc(.0625rem * var(--mantine-scale)) solid;border-bottom-width:calc(.1875rem * var(--mantine-scale))}:where([data-mantine-color-scheme=light]) .m_d08caa0 :where(kbd){border-color:var(--mantine-color-gray-3);color:var(--mantine-color-gray-7);background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_d08caa0 :where(kbd){border-color:var(--mantine-color-dark-3);color:var(--mantine-color-dark-0);background-color:var(--mantine-color-dark-5)}.m_d08caa0 :where(code){line-height:var(--mantine-line-height);padding:calc(.0625rem * var(--mantine-scale)) calc(.3125rem * var(--mantine-scale));border-radius:var(--mantine-radius-sm);font-family:var(--mantine-font-family-monospace);font-size:var(--mantine-font-size-xs)}:where([data-mantine-color-scheme=light]) .m_d08caa0 :where(code){background-color:var(--mantine-color-gray-0);color:var(--mantine-color-black)}:where([data-mantine-color-scheme=dark]) .m_d08caa0 :where(code){background-color:var(--mantine-color-dark-5);color:var(--mantine-color-white)}.m_d08caa0 :where(ul,ol):not([data-type=taskList]){margin-bottom:var(--mantine-spacing-md);padding-inline-start:var(--mantine-spacing-xl);list-style-position:outside}.m_d08caa0 :where(table){width:100%;border-collapse:collapse;caption-side:bottom;margin-bottom:var(--mantine-spacing-md)}:where([data-mantine-color-scheme=light]) .m_d08caa0 :where(table){--table-border-color: var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .m_d08caa0 :where(table){--table-border-color: var(--mantine-color-dark-4)}.m_d08caa0 :where(table) :where(caption){margin-top:var(--mantine-spacing-xs);font-size:var(--mantine-font-size-sm);color:var(--mantine-color-dimmed)}.m_d08caa0 :where(table) :where(th){text-align:left;font-weight:700;font-size:var(--mantine-font-size-sm);padding:var(--mantine-spacing-xs) var(--mantine-spacing-sm)}.m_d08caa0 :where(table) :where(thead th){border-bottom:calc(.0625rem * var(--mantine-scale)) solid;border-color:var(--table-border-color)}.m_d08caa0 :where(table) :where(tfoot th){border-top:calc(.0625rem * var(--mantine-scale)) solid;border-color:var(--table-border-color)}.m_d08caa0 :where(table) :where(td){padding:var(--mantine-spacing-xs) var(--mantine-spacing-sm);border-bottom:calc(.0625rem * var(--mantine-scale)) solid;border-color:var(--table-border-color);font-size:var(--mantine-font-size-sm)}.m_d08caa0 :where(table) :where(tr:last-of-type td){border-bottom:0}.m_d08caa0 :where(blockquote){font-size:var(--mantine-font-size-lg);line-height:var(--mantine-line-height);margin:var(--mantine-spacing-md) 0;border-radius:var(--mantine-radius-sm);padding:var(--mantine-spacing-md) var(--mantine-spacing-lg)}:where([data-mantine-color-scheme=light]) .m_d08caa0 :where(blockquote){background-color:var(--mantine-color-gray-0)}:where([data-mantine-color-scheme=dark]) .m_d08caa0 :where(blockquote){background-color:var(--mantine-color-dark-8)}}@layer xyflow{.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}}@layer base{:root{--made-with-panda: "🐼"}*,:before,:after,::backdrop{--blur: ;--brightness: ;--contrast: ;--grayscale: ;--hue-rotate: ;--invert: ;--saturate: ;--sepia: ;--drop-shadow: ;--backdrop-blur: ;--backdrop-brightness: ;--backdrop-contrast: ;--backdrop-grayscale: ;--backdrop-hue-rotate: ;--backdrop-invert: ;--backdrop-opacity: ;--backdrop-saturate: ;--backdrop-sepia: ;--gradient-from-position: ;--gradient-to-position: ;--gradient-via-position: ;--scroll-snap-strictness: proximity;--border-spacing-x: 0;--border-spacing-y: 0;--translate-x: 0;--translate-y: 0;--rotate: 0;--rotate-x: 0;--rotate-y: 0;--skew-x: 0;--skew-y: 0;--scale-x: 1;--scale-y: 1}:where(:root,:host){--likec4-app-font-default: "IBM Plex Sans",'ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'}:where([data-likec4-text-size=xs]){--likec4-text-size: var(--font-sizes-likec4-xs)}:where([data-likec4-text-size=sm]){--likec4-text-size: var(--font-sizes-likec4-sm)}:where([data-likec4-text-size=md]){--likec4-text-size: var(--font-sizes-likec4-md)}:where([data-likec4-text-size=lg]){--likec4-text-size: var(--font-sizes-likec4-lg)}:where([data-likec4-text-size=xl]){--likec4-text-size: var(--font-sizes-likec4-xl)}:where([data-likec4-spacing=xs]){--likec4-spacing: var(--spacing-likec4-xs)}:where([data-likec4-spacing=sm]){--likec4-spacing: var(--spacing-likec4-sm)}:where([data-likec4-spacing=md]){--likec4-spacing: var(--spacing-likec4-md)}:where([data-likec4-spacing=lg]){--likec4-spacing: var(--spacing-likec4-lg)}:where([data-likec4-spacing=xl]){--likec4-spacing: var(--spacing-likec4-xl)}.likec4-shadow-root{--mantine-font-family: var(--likec4-app-font, var(--likec4-app-font-default));--mantine-font-family-headings: var(--likec4-app-font, var(--likec4-app-font-default));display:contents}.likec4-shadow-root dialog{color:var(--mantine-color-text)}.likec4-edge-label-container{position:absolute;top:var(--spacing-0);left:var(--spacing-0);width:auto;height:auto}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-edge-label-container{display:none}:where([data-likec4-zoom-small=true]) .likec4-edge-label-container{display:none}.likec4-root{padding:var(--spacing-0);margin:var(--spacing-0);border:0px solid transparent;overflow:hidden;position:relative;container-name:likec4-root;container-type:size;width:100%;height:100%}.likec4-root .react-flow{--xy-background-color: var(--colors-likec4-background);--xy-background-pattern-color: var(--colors-likec4-background-pattern, var(--colors-likec4-background));contain:paint}.likec4-root .react-flow:is(.bg-transparent){--xy-background-color: transparent !important;background:var(--colors-transparent)!important}.likec4-root .react-flow:is(.not-initialized){opacity:0}.likec4-root .react-flow .react-flow__pane{-webkit-user-select:none;user-select:none}.likec4-root .react-flow :where(.react-flow__nodes,.react-flow__edges,.react-flow__edgelabel-renderer){display:contents}.likec4-root .react-flow .react-flow__node.draggable:has(.likec4-compound-node){cursor:default}.likec4-root :where(.react-flow__edge,.likec4-edge-container,.likec4-edge-label-container){--xy-edge-stroke-width: 3;--xy-edge-stroke: var(--likec4-palette-relation-stroke);--xy-edge-stroke-selected: var(--likec4-palette-relation-stroke-selected);--xy-edge-label-color: var(--likec4-palette-relation-label);--xy-edge-label-background-color: var(--likec4-palette-relation-label-bg)}[data-mantine-color-scheme=dark] .likec4-root :where(.react-flow__edge,.likec4-edge-container,.likec4-edge-label-container){--xy-edge-label-background-color: color-mix(in srgb, var(--likec4-palette-relation-label-bg) 50%, transparent)}[data-mantine-color-scheme=light] .likec4-root :where(.react-flow__edge,.likec4-edge-container,.likec4-edge-label-container){--xy-edge-label-color: color-mix(in srgb, var(--likec4-palette-relation-label), rgba(255 255 255 / .85) 40%);--xy-edge-label-background-color: color-mix(in srgb, var(--likec4-palette-relation-label-bg) 60%, transparent)}.likec4-root :where(.react-flow__edge,.likec4-edge-container,.likec4-edge-label-container):is([data-likec4-hovered=true],[data-edge-active=true]){--xy-edge-stroke-width: 4;--xy-edge-stroke: var(--likec4-palette-relation-stroke-selected)}.likec4-root :where(.react-flow__node,.react-flow__edge):has([data-likec4-dimmed]){opacity:.25}.likec4-root .likec4-edge-label-container:is([data-likec4-dimmed]){opacity:.25}.likec4-root:is([data-likec4-reduced-graphics]) .hide-on-reduced-graphics{display:none}.likec4-root :where(.relationships-browser,.likec4-relationship-details) .react-flow__attribution{display:none}.likec4-root .mantine-ActionIcon-icon .tabler-icon{width:75%;height:75%}.likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__node,.react-flow__edge):has([data-likec4-dimmed]){filter:grayscale(85%)}.likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__node,.react-flow__edge):has([data-likec4-dimmed=true]){--transition-prop: opacity, filter;transition-property:opacity,filter;--transition-easing: cubic-bezier(.5, 0, .2, 1);transition-timing-function:cubic-bezier(.5,0,.2,1);--transition-duration: .4s;transition-duration:.4s}.likec4-root:not([data-likec4-reduced-graphics]) .likec4-edge-label-container:is([data-likec4-dimmed]){filter:grayscale(85%)}.likec4-root:not([data-likec4-reduced-graphics]) .likec4-edge-label-container:is([data-likec4-dimmed=true]){--transition-prop: opacity, filter;transition-property:opacity,filter;--transition-easing: cubic-bezier(.5, 0, .2, 1);transition-timing-function:cubic-bezier(.5,0,.2,1);--transition-duration: .4s;transition-duration:.4s}[data-mantine-color-scheme=dark] .likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__edges,.react-flow__edgelabel-renderer)>:where(svg,.likec4-edge-label-container){mix-blend-mode:plus-lighter}[data-mantine-color-scheme=light] .likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__edges,.react-flow__edgelabel-renderer)>:where(svg,.likec4-edge-label-container){mix-blend-mode:screen}[data-mantine-color-scheme=light] .likec4-root:not([data-likec4-reduced-graphics]):has(.react-flow__node-seq-parallel) :where(.react-flow__edges>svg){mix-blend-mode:color-burn}[data-mantine-color-scheme=dark] .likec4-root:not([data-likec4-reduced-graphics]) .react-flow__node-seq-parallel{mix-blend-mode:luminosity}[data-mantine-color-scheme=light] .likec4-root:not([data-likec4-reduced-graphics]) .react-flow__node-seq-parallel{mix-blend-mode:color-burn}.likec4-static-view .react-flow .react-flow__attribution{display:none}:where(:root,:host){--likec4-text-size: 1.2rem;--likec4-palette-fill: #3b82f6;--likec4-palette-stroke: #2563eb;--likec4-palette-hiContrast: #eff6ff;--likec4-palette-loContrast: #bfdbfe;--likec4-palette-relation-stroke: #6E6E6E;--likec4-palette-relation-label: #C6C6C6;--likec4-palette-relation-label-bg: #18191b;--mantine-scale: 1;--likec4-palette-outline: var(--likec4-palette-loContrast);--likec4-spacing: ;--text-fz: ;--likec4-icon-size: }}@layer tokens{:where(:root,:host){--spacing-0: 0px;--spacing-1: 4px;--spacing-2: 8px;--spacing-3: 12px;--spacing-4: 16px;--spacing-5: 20px;--spacing-6: 24px;--spacing-7: 28px;--spacing-8: 32px;--spacing-9: 36px;--spacing-10: 40px;--spacing-likec4-xs: 8px;--spacing-likec4-sm: 10px;--spacing-likec4-md: 16px;--spacing-likec4-lg: 24px;--spacing-likec4-xl: 32px;--spacing-0\\.5: 2px;--spacing-1\\.5: 6px;--spacing-2\\.5: 10px;--spacing-3\\.5: 14px;--spacing-4\\.5: 18px;--spacing-xxs: calc(.5rem * var(--mantine-scale));--spacing-xs: calc(.625rem * var(--mantine-scale));--spacing-sm: calc(.75rem * var(--mantine-scale));--spacing-md: calc(1rem * var(--mantine-scale));--spacing-lg: calc(1.25rem * var(--mantine-scale));--spacing-xl: calc(2rem * var(--mantine-scale));--font-sizes-xxs: .625rem;--font-sizes-xs: calc(.75rem * var(--mantine-scale));--font-sizes-sm: calc(.875rem * var(--mantine-scale));--font-sizes-md: calc(1rem * var(--mantine-scale));--font-sizes-lg: calc(1.125rem * var(--mantine-scale));--font-sizes-xl: calc(1.25rem * var(--mantine-scale));--font-sizes-likec4-xs: .833rem;--font-sizes-likec4-sm: 1rem;--font-sizes-likec4-md: 1.2rem;--font-sizes-likec4-lg: 1.44rem;--font-sizes-likec4-xl: 1.73rem;--line-heights-1: 1;--line-heights-xs: 1.4;--line-heights-sm: 1.45;--line-heights-md: 1.55;--line-heights-lg: 1.6;--line-heights-xl: 1.65;--colors-mantine-colors-primary: var(--mantine-primary-color-6);--colors-mantine-colors-primary-filled: var(--mantine-primary-color-filled);--colors-mantine-colors-primary-filled-hover: var(--mantine-primary-color-filled-hover);--colors-mantine-colors-primary-light: var(--mantine-primary-color-light);--colors-mantine-colors-primary-light-hover: var(--mantine-primary-color-light-hover);--colors-mantine-colors-primary-light-color: var(--mantine-primary-color-light-color);--colors-mantine-colors-primary-outline: var(--mantine-primary-color-outline);--colors-mantine-colors-primary-outline-hover: var(--mantine-primary-color-outline-hover);--colors-mantine-colors-primary\\[0\\]: var(--mantine-primary-color-0);--colors-mantine-colors-primary\\[1\\]: var(--mantine-primary-color-1);--colors-mantine-colors-primary\\[2\\]: var(--mantine-primary-color-2);--colors-mantine-colors-primary\\[3\\]: var(--mantine-primary-color-3);--colors-mantine-colors-primary\\[4\\]: var(--mantine-primary-color-4);--colors-mantine-colors-primary\\[5\\]: var(--mantine-primary-color-5);--colors-mantine-colors-primary\\[6\\]: var(--mantine-primary-color-6);--colors-mantine-colors-primary\\[7\\]: var(--mantine-primary-color-7);--colors-mantine-colors-primary\\[8\\]: var(--mantine-primary-color-8);--colors-mantine-colors-primary\\[9\\]: var(--mantine-primary-color-9);--colors-mantine-colors-white: var(--mantine-color-white);--colors-mantine-colors-text: var(--mantine-color-text);--colors-mantine-colors-body: var(--mantine-color-body);--colors-mantine-colors-dimmed: var(--mantine-color-dimmed);--colors-mantine-colors-default-border: var(--mantine-color-default-border);--colors-mantine-colors-default-color: var(--mantine-color-default-color);--colors-mantine-colors-default-hover: var(--mantine-color-default-hover);--colors-mantine-colors-default: var(--mantine-color-default);--colors-mantine-colors-error: var(--mantine-color-error);--colors-mantine-colors-placeholder: var(--mantine-color-placeholder);--colors-mantine-colors-gray: var(--mantine-color-gray-6);--colors-mantine-colors-gray-filled: var(--mantine-color-gray-filled);--colors-mantine-colors-gray-filled-hover: var(--mantine-color-gray-filled-hover);--colors-mantine-colors-gray-light: var(--mantine-color-gray-light);--colors-mantine-colors-gray-light-hover: var(--mantine-color-gray-light-hover);--colors-mantine-colors-gray-light-color: var(--mantine-color-gray-light-color);--colors-mantine-colors-gray-outline: var(--mantine-color-gray-outline);--colors-mantine-colors-gray-outline-hover: var(--mantine-color-gray-outline-hover);--colors-mantine-colors-gray\\[0\\]: var(--mantine-color-gray-0);--colors-mantine-colors-gray\\[1\\]: var(--mantine-color-gray-1);--colors-mantine-colors-gray\\[2\\]: var(--mantine-color-gray-2);--colors-mantine-colors-gray\\[3\\]: var(--mantine-color-gray-3);--colors-mantine-colors-gray\\[4\\]: var(--mantine-color-gray-4);--colors-mantine-colors-gray\\[5\\]: var(--mantine-color-gray-5);--colors-mantine-colors-gray\\[6\\]: var(--mantine-color-gray-6);--colors-mantine-colors-gray\\[7\\]: var(--mantine-color-gray-7);--colors-mantine-colors-gray\\[8\\]: var(--mantine-color-gray-8);--colors-mantine-colors-gray\\[9\\]: var(--mantine-color-gray-9);--colors-mantine-colors-dark: var(--mantine-color-dark-6);--colors-mantine-colors-dark-filled: var(--mantine-color-dark-filled);--colors-mantine-colors-dark-filled-hover: var(--mantine-color-dark-filled-hover);--colors-mantine-colors-dark-light: var(--mantine-color-dark-light);--colors-mantine-colors-dark-light-hover: var(--mantine-color-dark-light-hover);--colors-mantine-colors-dark-light-color: var(--mantine-color-dark-light-color);--colors-mantine-colors-dark-outline: var(--mantine-color-dark-outline);--colors-mantine-colors-dark-outline-hover: var(--mantine-color-dark-outline-hover);--colors-mantine-colors-dark\\[0\\]: var(--mantine-color-dark-0);--colors-mantine-colors-dark\\[1\\]: var(--mantine-color-dark-1);--colors-mantine-colors-dark\\[2\\]: var(--mantine-color-dark-2);--colors-mantine-colors-dark\\[3\\]: var(--mantine-color-dark-3);--colors-mantine-colors-dark\\[4\\]: var(--mantine-color-dark-4);--colors-mantine-colors-dark\\[5\\]: var(--mantine-color-dark-5);--colors-mantine-colors-dark\\[6\\]: var(--mantine-color-dark-6);--colors-mantine-colors-dark\\[7\\]: var(--mantine-color-dark-7);--colors-mantine-colors-dark\\[8\\]: var(--mantine-color-dark-8);--colors-mantine-colors-dark\\[9\\]: var(--mantine-color-dark-9);--colors-mantine-colors-orange: var(--mantine-color-orange-6);--colors-mantine-colors-orange-filled: var(--mantine-color-orange-filled);--colors-mantine-colors-orange-filled-hover: var(--mantine-color-orange-filled-hover);--colors-mantine-colors-orange-light: var(--mantine-color-orange-light);--colors-mantine-colors-orange-light-hover: var(--mantine-color-orange-light-hover);--colors-mantine-colors-orange-light-color: var(--mantine-color-orange-light-color);--colors-mantine-colors-orange-outline: var(--mantine-color-orange-outline);--colors-mantine-colors-orange-outline-hover: var(--mantine-color-orange-outline-hover);--colors-mantine-colors-orange\\[0\\]: var(--mantine-color-orange-0);--colors-mantine-colors-orange\\[1\\]: var(--mantine-color-orange-1);--colors-mantine-colors-orange\\[2\\]: var(--mantine-color-orange-2);--colors-mantine-colors-orange\\[3\\]: var(--mantine-color-orange-3);--colors-mantine-colors-orange\\[4\\]: var(--mantine-color-orange-4);--colors-mantine-colors-orange\\[5\\]: var(--mantine-color-orange-5);--colors-mantine-colors-orange\\[6\\]: var(--mantine-color-orange-6);--colors-mantine-colors-orange\\[7\\]: var(--mantine-color-orange-7);--colors-mantine-colors-orange\\[8\\]: var(--mantine-color-orange-8);--colors-mantine-colors-orange\\[9\\]: var(--mantine-color-orange-9);--colors-mantine-colors-teal: var(--mantine-color-teal-6);--colors-mantine-colors-teal-filled: var(--mantine-color-teal-filled);--colors-mantine-colors-teal-filled-hover: var(--mantine-color-teal-filled-hover);--colors-mantine-colors-teal-light: var(--mantine-color-teal-light);--colors-mantine-colors-teal-light-hover: var(--mantine-color-teal-light-hover);--colors-mantine-colors-teal-light-color: var(--mantine-color-teal-light-color);--colors-mantine-colors-teal-outline: var(--mantine-color-teal-outline);--colors-mantine-colors-teal-outline-hover: var(--mantine-color-teal-outline-hover);--colors-mantine-colors-teal\\[0\\]: var(--mantine-color-teal-0);--colors-mantine-colors-teal\\[1\\]: var(--mantine-color-teal-1);--colors-mantine-colors-teal\\[2\\]: var(--mantine-color-teal-2);--colors-mantine-colors-teal\\[3\\]: var(--mantine-color-teal-3);--colors-mantine-colors-teal\\[4\\]: var(--mantine-color-teal-4);--colors-mantine-colors-teal\\[5\\]: var(--mantine-color-teal-5);--colors-mantine-colors-teal\\[6\\]: var(--mantine-color-teal-6);--colors-mantine-colors-teal\\[7\\]: var(--mantine-color-teal-7);--colors-mantine-colors-teal\\[8\\]: var(--mantine-color-teal-8);--colors-mantine-colors-teal\\[9\\]: var(--mantine-color-teal-9);--colors-mantine-colors-red: var(--mantine-color-red-6);--colors-mantine-colors-red-filled: var(--mantine-color-red-filled);--colors-mantine-colors-red-filled-hover: var(--mantine-color-red-filled-hover);--colors-mantine-colors-red-light: var(--mantine-color-red-light);--colors-mantine-colors-red-light-hover: var(--mantine-color-red-light-hover);--colors-mantine-colors-red-light-color: var(--mantine-color-red-light-color);--colors-mantine-colors-red-outline: var(--mantine-color-red-outline);--colors-mantine-colors-red-outline-hover: var(--mantine-color-red-outline-hover);--colors-mantine-colors-red\\[0\\]: var(--mantine-color-red-0);--colors-mantine-colors-red\\[1\\]: var(--mantine-color-red-1);--colors-mantine-colors-red\\[2\\]: var(--mantine-color-red-2);--colors-mantine-colors-red\\[3\\]: var(--mantine-color-red-3);--colors-mantine-colors-red\\[4\\]: var(--mantine-color-red-4);--colors-mantine-colors-red\\[5\\]: var(--mantine-color-red-5);--colors-mantine-colors-red\\[6\\]: var(--mantine-color-red-6);--colors-mantine-colors-red\\[7\\]: var(--mantine-color-red-7);--colors-mantine-colors-red\\[8\\]: var(--mantine-color-red-8);--colors-mantine-colors-red\\[9\\]: var(--mantine-color-red-9);--colors-mantine-colors-green: var(--mantine-color-green-6);--colors-mantine-colors-green-filled: var(--mantine-color-green-filled);--colors-mantine-colors-green-filled-hover: var(--mantine-color-green-filled-hover);--colors-mantine-colors-green-light: var(--mantine-color-green-light);--colors-mantine-colors-green-light-hover: var(--mantine-color-green-light-hover);--colors-mantine-colors-green-light-color: var(--mantine-color-green-light-color);--colors-mantine-colors-green-outline: var(--mantine-color-green-outline);--colors-mantine-colors-green-outline-hover: var(--mantine-color-green-outline-hover);--colors-mantine-colors-green\\[0\\]: var(--mantine-color-green-0);--colors-mantine-colors-green\\[1\\]: var(--mantine-color-green-1);--colors-mantine-colors-green\\[2\\]: var(--mantine-color-green-2);--colors-mantine-colors-green\\[3\\]: var(--mantine-color-green-3);--colors-mantine-colors-green\\[4\\]: var(--mantine-color-green-4);--colors-mantine-colors-green\\[5\\]: var(--mantine-color-green-5);--colors-mantine-colors-green\\[6\\]: var(--mantine-color-green-6);--colors-mantine-colors-green\\[7\\]: var(--mantine-color-green-7);--colors-mantine-colors-green\\[8\\]: var(--mantine-color-green-8);--colors-mantine-colors-green\\[9\\]: var(--mantine-color-green-9);--colors-mantine-colors-yellow: var(--mantine-color-yellow-6);--colors-mantine-colors-yellow-filled: var(--mantine-color-yellow-filled);--colors-mantine-colors-yellow-filled-hover: var(--mantine-color-yellow-filled-hover);--colors-mantine-colors-yellow-light: var(--mantine-color-yellow-light);--colors-mantine-colors-yellow-light-hover: var(--mantine-color-yellow-light-hover);--colors-mantine-colors-yellow-light-color: var(--mantine-color-yellow-light-color);--colors-mantine-colors-yellow-outline: var(--mantine-color-yellow-outline);--colors-mantine-colors-yellow-outline-hover: var(--mantine-color-yellow-outline-hover);--colors-mantine-colors-yellow\\[0\\]: var(--mantine-color-yellow-0);--colors-mantine-colors-yellow\\[1\\]: var(--mantine-color-yellow-1);--colors-mantine-colors-yellow\\[2\\]: var(--mantine-color-yellow-2);--colors-mantine-colors-yellow\\[3\\]: var(--mantine-color-yellow-3);--colors-mantine-colors-yellow\\[4\\]: var(--mantine-color-yellow-4);--colors-mantine-colors-yellow\\[5\\]: var(--mantine-color-yellow-5);--colors-mantine-colors-yellow\\[6\\]: var(--mantine-color-yellow-6);--colors-mantine-colors-yellow\\[7\\]: var(--mantine-color-yellow-7);--colors-mantine-colors-yellow\\[8\\]: var(--mantine-color-yellow-8);--colors-mantine-colors-yellow\\[9\\]: var(--mantine-color-yellow-9);--colors-transparent: transparent;--colors-none: none;--borders-none: none;--borders-transparent: 0px solid transparent;--borders-default: 1px solid var(--colors-mantine-colors-default-border);--radii-0: 0px;--radii-xs: .125rem;--radii-sm: .25rem;--radii-md: .5rem;--radii-lg: 1rem;--radii-xl: 2rem;--fonts-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--fonts-body: var(--likec4-app-font, var(--likec4-app-font-default));--fonts-likec4: var(--likec4-app-font, var(--likec4-app-font-default));--fonts-likec4-element: var(--likec4-element-font, var(--fonts-likec4));--fonts-likec4-compound: var(--likec4-compound-font, var(--fonts-likec4));--fonts-likec4-relation: var(--likec4-relation-font, var(--fonts-likec4));--easings-default: cubic-bezier(.4, 0, .2, 1);--easings-in: cubic-bezier(.4, 0, 1, 1);--easings-out: cubic-bezier(0, 0, .4, 1);--easings-in-out: cubic-bezier(.5, 0, .2, 1);--durations-fastest: 50ms;--durations-faster: .1s;--durations-fast: .13s;--durations-normal: .17s;--durations-slow: .3s;--durations-slower: .4s;--durations-slowest: .5s;--shadows-none: none;--shadows-xs: 0 1px 3px rgb(0 0 0/5%), 0 1px 2px rgb(0 0 0/10%);--shadows-sm: 0 1px 3px rgb(0 0 0/5%), 0 10px 15px -5px rgb(0 0 0/5%), 0 7px 7px -5px rgb(0 0 0/4%);--shadows-md: 0 1px 3px rgb(0 0 0/5%), 0 20px 25px -5px rgb(0 0 0/5%), 0 10px 10px -5px rgb(0 0 0/4%);--shadows-lg: 0 1px 3px rgb(0 0 0/5%), 0 28px 23px -7px rgb(0 0 0/5%), 0 12px 12px -7px rgb(0 0 0/4%);--shadows-xl: 0 1px 3px rgb(0 0 0/5%), 0 36px 28px -7px rgb(0 0 0/5%), 0 17px 17px -7px rgb(0 0 0/4%);--breakpoints-xs: 36em;--breakpoints-sm: 48em;--breakpoints-md: 62em;--breakpoints-lg: 75em;--breakpoints-xl: 88em;--sizes-breakpoint-xs: 36em;--sizes-breakpoint-sm: 48em;--sizes-breakpoint-md: 62em;--sizes-breakpoint-lg: 75em;--sizes-breakpoint-xl: 88em;--colors-amber-1: var(--colors-amber-light-1);--colors-amber-2: var(--colors-amber-light-2);--colors-amber-3: var(--colors-amber-light-3);--colors-amber-4: var(--colors-amber-light-4);--colors-amber-5: var(--colors-amber-light-5);--colors-amber-6: var(--colors-amber-light-6);--colors-amber-7: var(--colors-amber-light-7);--colors-amber-8: var(--colors-amber-light-8);--colors-amber-9: var(--colors-amber-light-9);--colors-amber-10: var(--colors-amber-light-10);--colors-amber-11: var(--colors-amber-light-11);--colors-amber-12: var(--colors-amber-light-12);--colors-amber-light-1: #fefdfb;--colors-amber-light-2: #fefbe9;--colors-amber-light-3: #fff7c2;--colors-amber-light-4: #ffee9c;--colors-amber-light-5: #fbe577;--colors-amber-light-6: #f3d673;--colors-amber-light-7: #e9c162;--colors-amber-light-8: #e2a336;--colors-amber-light-9: #ffc53d;--colors-amber-light-10: #ffba18;--colors-amber-light-11: #ab6400;--colors-amber-light-12: #4f3422;--colors-amber-light-a-1: #c0800004;--colors-amber-light-a-2: #f4d10016;--colors-amber-light-a-3: #ffde003d;--colors-amber-light-a-4: #ffd40063;--colors-amber-light-a-5: #f8cf0088;--colors-amber-light-a-6: #eab5008c;--colors-amber-light-a-7: #dc9b009d;--colors-amber-light-a-8: #da8a00c9;--colors-amber-light-a-9: #ffb300c2;--colors-amber-light-a-10: #ffb300e7;--colors-amber-light-a-11: #ab6400;--colors-amber-light-a-12: #341500dd;--colors-amber-light-p3-1: color(display-p3 .995 .992 .985);--colors-amber-light-p3-2: color(display-p3 .994 .986 .921);--colors-amber-light-p3-3: color(display-p3 .994 .969 .782);--colors-amber-light-p3-4: color(display-p3 .989 .937 .65);--colors-amber-light-p3-5: color(display-p3 .97 .902 .527);--colors-amber-light-p3-6: color(display-p3 .936 .844 .506);--colors-amber-light-p3-7: color(display-p3 .89 .762 .443);--colors-amber-light-p3-8: color(display-p3 .85 .65 .3);--colors-amber-light-p3-9: color(display-p3 1 .77 .26);--colors-amber-light-p3-10: color(display-p3 .959 .741 .274);--colors-amber-light-p3-11: color(display-p3 .64 .4 0);--colors-amber-light-p3-12: color(display-p3 .294 .208 .145);--colors-amber-light-p3-a-1: color(display-p3 .757 .514 .024 / .016);--colors-amber-light-p3-a-2: color(display-p3 .902 .804 .008 / .079);--colors-amber-light-p3-a-3: color(display-p3 .965 .859 .004 / .22);--colors-amber-light-p3-a-4: color(display-p3 .969 .82 .004 / .35);--colors-amber-light-p3-a-5: color(display-p3 .933 .796 .004 / .475);--colors-amber-light-p3-a-6: color(display-p3 .875 .682 .004 / .495);--colors-amber-light-p3-a-7: color(display-p3 .804 .573 0 / .557);--colors-amber-light-p3-a-8: color(display-p3 .788 .502 0 / .699);--colors-amber-light-p3-a-9: color(display-p3 1 .686 0 / .742);--colors-amber-light-p3-a-10: color(display-p3 .945 .643 0 / .726);--colors-amber-light-p3-a-11: color(display-p3 .64 .4 0);--colors-amber-light-p3-a-12: color(display-p3 .294 .208 .145);--colors-amber-dark-1: #16120c;--colors-amber-dark-2: #1d180f;--colors-amber-dark-3: #302008;--colors-amber-dark-4: #3f2700;--colors-amber-dark-5: #4d3000;--colors-amber-dark-6: #5c3d05;--colors-amber-dark-7: #714f19;--colors-amber-dark-8: #8f6424;--colors-amber-dark-9: #ffc53d;--colors-amber-dark-10: #ffd60a;--colors-amber-dark-11: #ffca16;--colors-amber-dark-12: #ffe7b3;--colors-amber-dark-a-1: #e63c0006;--colors-amber-dark-a-2: #fd9b000d;--colors-amber-dark-a-3: #fa820022;--colors-amber-dark-a-4: #fc820032;--colors-amber-dark-a-5: #fd8b0041;--colors-amber-dark-a-6: #fd9b0051;--colors-amber-dark-a-7: #ffab2567;--colors-amber-dark-a-8: #ffae3587;--colors-amber-dark-a-9: #ffc53d;--colors-amber-dark-a-10: #ffd60a;--colors-amber-dark-a-11: #ffca16;--colors-amber-dark-a-12: #ffe7b3;--colors-amber-dark-p3-1: color(display-p3 .082 .07 .05);--colors-amber-dark-p3-2: color(display-p3 .111 .094 .064);--colors-amber-dark-p3-3: color(display-p3 .178 .128 .049);--colors-amber-dark-p3-4: color(display-p3 .239 .156 0);--colors-amber-dark-p3-5: color(display-p3 .29 .193 0);--colors-amber-dark-p3-6: color(display-p3 .344 .245 .076);--colors-amber-dark-p3-7: color(display-p3 .422 .314 .141);--colors-amber-dark-p3-8: color(display-p3 .535 .399 .189);--colors-amber-dark-p3-9: color(display-p3 1 .77 .26);--colors-amber-dark-p3-10: color(display-p3 1 .87 .15);--colors-amber-dark-p3-11: color(display-p3 1 .8 .29);--colors-amber-dark-p3-12: color(display-p3 .984 .909 .726);--colors-amber-dark-p3-a-1: color(display-p3 .992 .298 0 / .017);--colors-amber-dark-p3-a-2: color(display-p3 .988 .651 0 / .047);--colors-amber-dark-p3-a-3: color(display-p3 1 .6 0 / .118);--colors-amber-dark-p3-a-4: color(display-p3 1 .557 0 / .185);--colors-amber-dark-p3-a-5: color(display-p3 1 .592 0 / .24);--colors-amber-dark-p3-a-6: color(display-p3 1 .659 .094 / .299);--colors-amber-dark-p3-a-7: color(display-p3 1 .714 .263 / .383);--colors-amber-dark-p3-a-8: color(display-p3 .996 .729 .306 / .5);--colors-amber-dark-p3-a-9: color(display-p3 1 .769 .259);--colors-amber-dark-p3-a-10: color(display-p3 1 .871 .149);--colors-amber-dark-p3-a-11: color(display-p3 1 .8 .29);--colors-amber-dark-p3-a-12: color(display-p3 .984 .909 .726);--colors-amber-a-1: var(--colors-amber-light-a-1);--colors-amber-a-2: var(--colors-amber-light-a-2);--colors-amber-a-3: var(--colors-amber-light-a-3);--colors-amber-a-4: var(--colors-amber-light-a-4);--colors-amber-a-5: var(--colors-amber-light-a-5);--colors-amber-a-6: var(--colors-amber-light-a-6);--colors-amber-a-7: var(--colors-amber-light-a-7);--colors-amber-a-8: var(--colors-amber-light-a-8);--colors-amber-a-9: var(--colors-amber-light-a-9);--colors-amber-a-10: var(--colors-amber-light-a-10);--colors-amber-a-11: var(--colors-amber-light-a-11);--colors-amber-a-12: var(--colors-amber-light-a-12);--colors-amber-p3-1: var(--colors-amber-light-p3-1);--colors-amber-p3-2: var(--colors-amber-light-p3-2);--colors-amber-p3-3: var(--colors-amber-light-p3-3);--colors-amber-p3-4: var(--colors-amber-light-p3-4);--colors-amber-p3-5: var(--colors-amber-light-p3-5);--colors-amber-p3-6: var(--colors-amber-light-p3-6);--colors-amber-p3-7: var(--colors-amber-light-p3-7);--colors-amber-p3-8: var(--colors-amber-light-p3-8);--colors-amber-p3-9: var(--colors-amber-light-p3-9);--colors-amber-p3-10: var(--colors-amber-light-p3-10);--colors-amber-p3-11: var(--colors-amber-light-p3-11);--colors-amber-p3-12: var(--colors-amber-light-p3-12);--colors-amber-p3-a-1: var(--colors-amber-light-p3-a-1);--colors-amber-p3-a-2: var(--colors-amber-light-p3-a-2);--colors-amber-p3-a-3: var(--colors-amber-light-p3-a-3);--colors-amber-p3-a-4: var(--colors-amber-light-p3-a-4);--colors-amber-p3-a-5: var(--colors-amber-light-p3-a-5);--colors-amber-p3-a-6: var(--colors-amber-light-p3-a-6);--colors-amber-p3-a-7: var(--colors-amber-light-p3-a-7);--colors-amber-p3-a-8: var(--colors-amber-light-p3-a-8);--colors-amber-p3-a-9: var(--colors-amber-light-p3-a-9);--colors-amber-p3-a-10: var(--colors-amber-light-p3-a-10);--colors-amber-p3-a-11: var(--colors-amber-light-p3-a-11);--colors-amber-p3-a-12: var(--colors-amber-light-p3-a-12);--colors-blue-1: var(--colors-blue-light-1);--colors-blue-2: var(--colors-blue-light-2);--colors-blue-3: var(--colors-blue-light-3);--colors-blue-4: var(--colors-blue-light-4);--colors-blue-5: var(--colors-blue-light-5);--colors-blue-6: var(--colors-blue-light-6);--colors-blue-7: var(--colors-blue-light-7);--colors-blue-8: var(--colors-blue-light-8);--colors-blue-9: var(--colors-blue-light-9);--colors-blue-10: var(--colors-blue-light-10);--colors-blue-11: var(--colors-blue-light-11);--colors-blue-12: var(--colors-blue-light-12);--colors-blue-light-1: #fbfdff;--colors-blue-light-2: #f4faff;--colors-blue-light-3: #e6f4fe;--colors-blue-light-4: #d5efff;--colors-blue-light-5: #c2e5ff;--colors-blue-light-6: #acd8fc;--colors-blue-light-7: #8ec8f6;--colors-blue-light-8: #5eb1ef;--colors-blue-light-9: #0090ff;--colors-blue-light-10: #0588f0;--colors-blue-light-11: #0d74ce;--colors-blue-light-12: #113264;--colors-blue-light-a-1: #0080ff04;--colors-blue-light-a-2: #008cff0b;--colors-blue-light-a-3: #008ff519;--colors-blue-light-a-4: #009eff2a;--colors-blue-light-a-5: #0093ff3d;--colors-blue-light-a-6: #0088f653;--colors-blue-light-a-7: #0083eb71;--colors-blue-light-a-8: #0084e6a1;--colors-blue-light-a-9: #0090ff;--colors-blue-light-a-10: #0086f0fa;--colors-blue-light-a-11: #006dcbf2;--colors-blue-light-a-12: #002359ee;--colors-blue-light-p3-1: color(display-p3 .986 .992 .999);--colors-blue-light-p3-2: color(display-p3 .96 .979 .998);--colors-blue-light-p3-3: color(display-p3 .912 .956 .991);--colors-blue-light-p3-4: color(display-p3 .853 .932 1);--colors-blue-light-p3-5: color(display-p3 .788 .894 .998);--colors-blue-light-p3-6: color(display-p3 .709 .843 .976);--colors-blue-light-p3-7: color(display-p3 .606 .777 .947);--colors-blue-light-p3-8: color(display-p3 .451 .688 .917);--colors-blue-light-p3-9: color(display-p3 .247 .556 .969);--colors-blue-light-p3-10: color(display-p3 .234 .523 .912);--colors-blue-light-p3-11: color(display-p3 .15 .44 .84);--colors-blue-light-p3-12: color(display-p3 .102 .193 .379);--colors-blue-light-p3-a-1: color(display-p3 .024 .514 1 / .016);--colors-blue-light-p3-a-2: color(display-p3 .024 .514 .906 / .04);--colors-blue-light-p3-a-3: color(display-p3 .012 .506 .914 / .087);--colors-blue-light-p3-a-4: color(display-p3 .008 .545 1 / .146);--colors-blue-light-p3-a-5: color(display-p3 .004 .502 .984 / .212);--colors-blue-light-p3-a-6: color(display-p3 .004 .463 .922 / .291);--colors-blue-light-p3-a-7: color(display-p3 .004 .431 .863 / .393);--colors-blue-light-p3-a-8: color(display-p3 0 .427 .851 / .55);--colors-blue-light-p3-a-9: color(display-p3 0 .412 .961 / .753);--colors-blue-light-p3-a-10: color(display-p3 0 .376 .886 / .765);--colors-blue-light-p3-a-11: color(display-p3 .15 .44 .84);--colors-blue-light-p3-a-12: color(display-p3 .102 .193 .379);--colors-blue-dark-1: #0d1520;--colors-blue-dark-2: #111927;--colors-blue-dark-3: #0d2847;--colors-blue-dark-4: #003362;--colors-blue-dark-5: #004074;--colors-blue-dark-6: #104d87;--colors-blue-dark-7: #205d9e;--colors-blue-dark-8: #2870bd;--colors-blue-dark-9: #0090ff;--colors-blue-dark-10: #3b9eff;--colors-blue-dark-11: #70b8ff;--colors-blue-dark-12: #c2e6ff;--colors-blue-dark-a-1: #004df211;--colors-blue-dark-a-2: #1166fb18;--colors-blue-dark-a-3: #0077ff3a;--colors-blue-dark-a-4: #0075ff57;--colors-blue-dark-a-5: #0081fd6b;--colors-blue-dark-a-6: #0f89fd7f;--colors-blue-dark-a-7: #2a91fe98;--colors-blue-dark-a-8: #3094feb9;--colors-blue-dark-a-9: #0090ff;--colors-blue-dark-a-10: #3b9eff;--colors-blue-dark-a-11: #70b8ff;--colors-blue-dark-a-12: #c2e6ff;--colors-blue-dark-p3-1: color(display-p3 .057 .081 .122);--colors-blue-dark-p3-2: color(display-p3 .072 .098 .147);--colors-blue-dark-p3-3: color(display-p3 .078 .154 .27);--colors-blue-dark-p3-4: color(display-p3 .033 .197 .37);--colors-blue-dark-p3-5: color(display-p3 .08 .245 .441);--colors-blue-dark-p3-6: color(display-p3 .14 .298 .511);--colors-blue-dark-p3-7: color(display-p3 .195 .361 .6);--colors-blue-dark-p3-8: color(display-p3 .239 .434 .72);--colors-blue-dark-p3-9: color(display-p3 .247 .556 .969);--colors-blue-dark-p3-10: color(display-p3 .344 .612 .973);--colors-blue-dark-p3-11: color(display-p3 .49 .72 1);--colors-blue-dark-p3-12: color(display-p3 .788 .898 .99);--colors-blue-dark-p3-a-1: color(display-p3 0 .333 1 / .059);--colors-blue-dark-p3-a-2: color(display-p3 .114 .435 .988 / .085);--colors-blue-dark-p3-a-3: color(display-p3 .122 .463 1 / .219);--colors-blue-dark-p3-a-4: color(display-p3 0 .467 1 / .324);--colors-blue-dark-p3-a-5: color(display-p3 .098 .51 1 / .4);--colors-blue-dark-p3-a-6: color(display-p3 .224 .557 1 / .475);--colors-blue-dark-p3-a-7: color(display-p3 .294 .584 1 / .572);--colors-blue-dark-p3-a-8: color(display-p3 .314 .592 1 / .702);--colors-blue-dark-p3-a-9: color(display-p3 .251 .573 .996 / .967);--colors-blue-dark-p3-a-10: color(display-p3 .357 .631 1 / .971);--colors-blue-dark-p3-a-11: color(display-p3 .49 .72 1);--colors-blue-dark-p3-a-12: color(display-p3 .788 .898 .99);--colors-blue-a-1: var(--colors-blue-light-a-1);--colors-blue-a-2: var(--colors-blue-light-a-2);--colors-blue-a-3: var(--colors-blue-light-a-3);--colors-blue-a-4: var(--colors-blue-light-a-4);--colors-blue-a-5: var(--colors-blue-light-a-5);--colors-blue-a-6: var(--colors-blue-light-a-6);--colors-blue-a-7: var(--colors-blue-light-a-7);--colors-blue-a-8: var(--colors-blue-light-a-8);--colors-blue-a-9: var(--colors-blue-light-a-9);--colors-blue-a-10: var(--colors-blue-light-a-10);--colors-blue-a-11: var(--colors-blue-light-a-11);--colors-blue-a-12: var(--colors-blue-light-a-12);--colors-blue-p3-1: var(--colors-blue-light-p3-1);--colors-blue-p3-2: var(--colors-blue-light-p3-2);--colors-blue-p3-3: var(--colors-blue-light-p3-3);--colors-blue-p3-4: var(--colors-blue-light-p3-4);--colors-blue-p3-5: var(--colors-blue-light-p3-5);--colors-blue-p3-6: var(--colors-blue-light-p3-6);--colors-blue-p3-7: var(--colors-blue-light-p3-7);--colors-blue-p3-8: var(--colors-blue-light-p3-8);--colors-blue-p3-9: var(--colors-blue-light-p3-9);--colors-blue-p3-10: var(--colors-blue-light-p3-10);--colors-blue-p3-11: var(--colors-blue-light-p3-11);--colors-blue-p3-12: var(--colors-blue-light-p3-12);--colors-blue-p3-a-1: var(--colors-blue-light-p3-a-1);--colors-blue-p3-a-2: var(--colors-blue-light-p3-a-2);--colors-blue-p3-a-3: var(--colors-blue-light-p3-a-3);--colors-blue-p3-a-4: var(--colors-blue-light-p3-a-4);--colors-blue-p3-a-5: var(--colors-blue-light-p3-a-5);--colors-blue-p3-a-6: var(--colors-blue-light-p3-a-6);--colors-blue-p3-a-7: var(--colors-blue-light-p3-a-7);--colors-blue-p3-a-8: var(--colors-blue-light-p3-a-8);--colors-blue-p3-a-9: var(--colors-blue-light-p3-a-9);--colors-blue-p3-a-10: var(--colors-blue-light-p3-a-10);--colors-blue-p3-a-11: var(--colors-blue-light-p3-a-11);--colors-blue-p3-a-12: var(--colors-blue-light-p3-a-12);--colors-crimson-1: var(--colors-crimson-light-1);--colors-crimson-2: var(--colors-crimson-light-2);--colors-crimson-3: var(--colors-crimson-light-3);--colors-crimson-4: var(--colors-crimson-light-4);--colors-crimson-5: var(--colors-crimson-light-5);--colors-crimson-6: var(--colors-crimson-light-6);--colors-crimson-7: var(--colors-crimson-light-7);--colors-crimson-8: var(--colors-crimson-light-8);--colors-crimson-9: var(--colors-crimson-light-9);--colors-crimson-10: var(--colors-crimson-light-10);--colors-crimson-11: var(--colors-crimson-light-11);--colors-crimson-12: var(--colors-crimson-light-12);--colors-crimson-light-1: #fffcfd;--colors-crimson-light-2: #fef7f9;--colors-crimson-light-3: #ffe9f0;--colors-crimson-light-4: #fedce7;--colors-crimson-light-5: #facedd;--colors-crimson-light-6: #f3bed1;--colors-crimson-light-7: #eaacc3;--colors-crimson-light-8: #e093b2;--colors-crimson-light-9: #e93d82;--colors-crimson-light-10: #df3478;--colors-crimson-light-11: #cb1d63;--colors-crimson-light-12: #621639;--colors-crimson-light-a-1: #ff005503;--colors-crimson-light-a-2: #e0004008;--colors-crimson-light-a-3: #ff005216;--colors-crimson-light-a-4: #f8005123;--colors-crimson-light-a-5: #e5004f31;--colors-crimson-light-a-6: #d0004b41;--colors-crimson-light-a-7: #bf004753;--colors-crimson-light-a-8: #b6004a6c;--colors-crimson-light-a-9: #e2005bc2;--colors-crimson-light-a-10: #d70056cb;--colors-crimson-light-a-11: #c4004fe2;--colors-crimson-light-a-12: #530026e9;--colors-crimson-light-p3-1: color(display-p3 .998 .989 .992);--colors-crimson-light-p3-2: color(display-p3 .991 .969 .976);--colors-crimson-light-p3-3: color(display-p3 .987 .917 .941);--colors-crimson-light-p3-4: color(display-p3 .975 .866 .904);--colors-crimson-light-p3-5: color(display-p3 .953 .813 .864);--colors-crimson-light-p3-6: color(display-p3 .921 .755 .817);--colors-crimson-light-p3-7: color(display-p3 .88 .683 .761);--colors-crimson-light-p3-8: color(display-p3 .834 .592 .694);--colors-crimson-light-p3-9: color(display-p3 .843 .298 .507);--colors-crimson-light-p3-10: color(display-p3 .807 .266 .468);--colors-crimson-light-p3-11: color(display-p3 .731 .195 .388);--colors-crimson-light-p3-12: color(display-p3 .352 .111 .221);--colors-crimson-light-p3-a-1: color(display-p3 .675 .024 .349 / .012);--colors-crimson-light-p3-a-2: color(display-p3 .757 .02 .267 / .032);--colors-crimson-light-p3-a-3: color(display-p3 .859 .008 .294 / .083);--colors-crimson-light-p3-a-4: color(display-p3 .827 .008 .298 / .134);--colors-crimson-light-p3-a-5: color(display-p3 .753 .008 .275 / .189);--colors-crimson-light-p3-a-6: color(display-p3 .682 .004 .247 / .244);--colors-crimson-light-p3-a-7: color(display-p3 .62 .004 .251 / .318);--colors-crimson-light-p3-a-8: color(display-p3 .6 .004 .251 / .408);--colors-crimson-light-p3-a-9: color(display-p3 .776 0 .298 / .702);--colors-crimson-light-p3-a-10: color(display-p3 .737 0 .275 / .734);--colors-crimson-light-p3-a-11: color(display-p3 .731 .195 .388);--colors-crimson-light-p3-a-12: color(display-p3 .352 .111 .221);--colors-crimson-dark-1: #191114;--colors-crimson-dark-2: #201318;--colors-crimson-dark-3: #381525;--colors-crimson-dark-4: #4d122f;--colors-crimson-dark-5: #5c1839;--colors-crimson-dark-6: #6d2545;--colors-crimson-dark-7: #873356;--colors-crimson-dark-8: #b0436e;--colors-crimson-dark-9: #e93d82;--colors-crimson-dark-10: #ee518a;--colors-crimson-dark-11: #ff92ad;--colors-crimson-dark-12: #fdd3e8;--colors-crimson-dark-a-1: #f4126709;--colors-crimson-dark-a-2: #f22f7a11;--colors-crimson-dark-a-3: #fe2a8b2a;--colors-crimson-dark-a-4: #fd158741;--colors-crimson-dark-a-5: #fd278f51;--colors-crimson-dark-a-6: #fe459763;--colors-crimson-dark-a-7: #fd559b7f;--colors-crimson-dark-a-8: #fe5b9bab;--colors-crimson-dark-a-9: #fe418de8;--colors-crimson-dark-a-10: #ff5693ed;--colors-crimson-dark-a-11: #ff92ad;--colors-crimson-dark-a-12: #ffd5eafd;--colors-crimson-dark-p3-1: color(display-p3 .093 .068 .078);--colors-crimson-dark-p3-2: color(display-p3 .117 .078 .095);--colors-crimson-dark-p3-3: color(display-p3 .203 .091 .143);--colors-crimson-dark-p3-4: color(display-p3 .277 .087 .182);--colors-crimson-dark-p3-5: color(display-p3 .332 .115 .22);--colors-crimson-dark-p3-6: color(display-p3 .394 .162 .268);--colors-crimson-dark-p3-7: color(display-p3 .489 .222 .336);--colors-crimson-dark-p3-8: color(display-p3 .638 .289 .429);--colors-crimson-dark-p3-9: color(display-p3 .843 .298 .507);--colors-crimson-dark-p3-10: color(display-p3 .864 .364 .539);--colors-crimson-dark-p3-11: color(display-p3 1 .56 .66);--colors-crimson-dark-p3-12: color(display-p3 .966 .834 .906);--colors-crimson-dark-p3-a-1: color(display-p3 .984 .071 .463 / .03);--colors-crimson-dark-p3-a-2: color(display-p3 .996 .282 .569 / .055);--colors-crimson-dark-p3-a-3: color(display-p3 .996 .227 .573 / .148);--colors-crimson-dark-p3-a-4: color(display-p3 1 .157 .569 / .227);--colors-crimson-dark-p3-a-5: color(display-p3 1 .231 .604 / .286);--colors-crimson-dark-p3-a-6: color(display-p3 1 .337 .643 / .349);--colors-crimson-dark-p3-a-7: color(display-p3 1 .416 .663 / .454);--colors-crimson-dark-p3-a-8: color(display-p3 .996 .427 .651 / .614);--colors-crimson-dark-p3-a-9: color(display-p3 1 .345 .596 / .832);--colors-crimson-dark-p3-a-10: color(display-p3 1 .42 .62 / .853);--colors-crimson-dark-p3-a-11: color(display-p3 1 .56 .66);--colors-crimson-dark-p3-a-12: color(display-p3 .966 .834 .906);--colors-crimson-a-1: var(--colors-crimson-light-a-1);--colors-crimson-a-2: var(--colors-crimson-light-a-2);--colors-crimson-a-3: var(--colors-crimson-light-a-3);--colors-crimson-a-4: var(--colors-crimson-light-a-4);--colors-crimson-a-5: var(--colors-crimson-light-a-5);--colors-crimson-a-6: var(--colors-crimson-light-a-6);--colors-crimson-a-7: var(--colors-crimson-light-a-7);--colors-crimson-a-8: var(--colors-crimson-light-a-8);--colors-crimson-a-9: var(--colors-crimson-light-a-9);--colors-crimson-a-10: var(--colors-crimson-light-a-10);--colors-crimson-a-11: var(--colors-crimson-light-a-11);--colors-crimson-a-12: var(--colors-crimson-light-a-12);--colors-crimson-p3-1: var(--colors-crimson-light-p3-1);--colors-crimson-p3-2: var(--colors-crimson-light-p3-2);--colors-crimson-p3-3: var(--colors-crimson-light-p3-3);--colors-crimson-p3-4: var(--colors-crimson-light-p3-4);--colors-crimson-p3-5: var(--colors-crimson-light-p3-5);--colors-crimson-p3-6: var(--colors-crimson-light-p3-6);--colors-crimson-p3-7: var(--colors-crimson-light-p3-7);--colors-crimson-p3-8: var(--colors-crimson-light-p3-8);--colors-crimson-p3-9: var(--colors-crimson-light-p3-9);--colors-crimson-p3-10: var(--colors-crimson-light-p3-10);--colors-crimson-p3-11: var(--colors-crimson-light-p3-11);--colors-crimson-p3-12: var(--colors-crimson-light-p3-12);--colors-crimson-p3-a-1: var(--colors-crimson-light-p3-a-1);--colors-crimson-p3-a-2: var(--colors-crimson-light-p3-a-2);--colors-crimson-p3-a-3: var(--colors-crimson-light-p3-a-3);--colors-crimson-p3-a-4: var(--colors-crimson-light-p3-a-4);--colors-crimson-p3-a-5: var(--colors-crimson-light-p3-a-5);--colors-crimson-p3-a-6: var(--colors-crimson-light-p3-a-6);--colors-crimson-p3-a-7: var(--colors-crimson-light-p3-a-7);--colors-crimson-p3-a-8: var(--colors-crimson-light-p3-a-8);--colors-crimson-p3-a-9: var(--colors-crimson-light-p3-a-9);--colors-crimson-p3-a-10: var(--colors-crimson-light-p3-a-10);--colors-crimson-p3-a-11: var(--colors-crimson-light-p3-a-11);--colors-crimson-p3-a-12: var(--colors-crimson-light-p3-a-12);--colors-grass-1: var(--colors-grass-light-1);--colors-grass-2: var(--colors-grass-light-2);--colors-grass-3: var(--colors-grass-light-3);--colors-grass-4: var(--colors-grass-light-4);--colors-grass-5: var(--colors-grass-light-5);--colors-grass-6: var(--colors-grass-light-6);--colors-grass-7: var(--colors-grass-light-7);--colors-grass-8: var(--colors-grass-light-8);--colors-grass-9: var(--colors-grass-light-9);--colors-grass-10: var(--colors-grass-light-10);--colors-grass-11: var(--colors-grass-light-11);--colors-grass-12: var(--colors-grass-light-12);--colors-grass-light-1: #fbfefb;--colors-grass-light-2: #f5fbf5;--colors-grass-light-3: #e9f6e9;--colors-grass-light-4: #daf1db;--colors-grass-light-5: #c9e8ca;--colors-grass-light-6: #b2ddb5;--colors-grass-light-7: #94ce9a;--colors-grass-light-8: #65ba74;--colors-grass-light-9: #46a758;--colors-grass-light-10: #3e9b4f;--colors-grass-light-11: #2a7e3b;--colors-grass-light-12: #203c25;--colors-grass-light-a-1: #00c00004;--colors-grass-light-a-2: #0099000a;--colors-grass-light-a-3: #00970016;--colors-grass-light-a-4: #009f0725;--colors-grass-light-a-5: #00930536;--colors-grass-light-a-6: #008f0a4d;--colors-grass-light-a-7: #018b0f6b;--colors-grass-light-a-8: #008d199a;--colors-grass-light-a-9: #008619b9;--colors-grass-light-a-10: #007b17c1;--colors-grass-light-a-11: #006514d5;--colors-grass-light-a-12: #002006df;--colors-grass-light-p3-1: color(display-p3 .986 .996 .985);--colors-grass-light-p3-2: color(display-p3 .966 .983 .964);--colors-grass-light-p3-3: color(display-p3 .923 .965 .917);--colors-grass-light-p3-4: color(display-p3 .872 .94 .865);--colors-grass-light-p3-5: color(display-p3 .811 .908 .802);--colors-grass-light-p3-6: color(display-p3 .733 .864 .724);--colors-grass-light-p3-7: color(display-p3 .628 .803 .622);--colors-grass-light-p3-8: color(display-p3 .477 .72 .482);--colors-grass-light-p3-9: color(display-p3 .38 .647 .378);--colors-grass-light-p3-10: color(display-p3 .344 .598 .342);--colors-grass-light-p3-11: color(display-p3 .263 .488 .261);--colors-grass-light-p3-12: color(display-p3 .151 .233 .153);--colors-grass-light-p3-a-1: color(display-p3 .024 .757 .024 / .016);--colors-grass-light-p3-a-2: color(display-p3 .024 .565 .024 / .036);--colors-grass-light-p3-a-3: color(display-p3 .059 .576 .008 / .083);--colors-grass-light-p3-a-4: color(display-p3 .035 .565 .008 / .134);--colors-grass-light-p3-a-5: color(display-p3 .047 .545 .008 / .197);--colors-grass-light-p3-a-6: color(display-p3 .031 .502 .004 / .275);--colors-grass-light-p3-a-7: color(display-p3 .012 .482 .004 / .377);--colors-grass-light-p3-a-8: color(display-p3 0 .467 .008 / .522);--colors-grass-light-p3-a-9: color(display-p3 .008 .435 0 / .624);--colors-grass-light-p3-a-10: color(display-p3 .008 .388 0 / .659);--colors-grass-light-p3-a-11: color(display-p3 .263 .488 .261);--colors-grass-light-p3-a-12: color(display-p3 .151 .233 .153);--colors-grass-dark-1: #0e1511;--colors-grass-dark-2: #141a15;--colors-grass-dark-3: #1b2a1e;--colors-grass-dark-4: #1d3a24;--colors-grass-dark-5: #25482d;--colors-grass-dark-6: #2d5736;--colors-grass-dark-7: #366740;--colors-grass-dark-8: #3e7949;--colors-grass-dark-9: #46a758;--colors-grass-dark-10: #53b365;--colors-grass-dark-11: #71d083;--colors-grass-dark-12: #c2f0c2;--colors-grass-dark-a-1: #00de1205;--colors-grass-dark-a-2: #5ef7780a;--colors-grass-dark-a-3: #70fe8c1b;--colors-grass-dark-a-4: #57ff802c;--colors-grass-dark-a-5: #68ff8b3b;--colors-grass-dark-a-6: #71ff8f4b;--colors-grass-dark-a-7: #77fd925d;--colors-grass-dark-a-8: #77fd9070;--colors-grass-dark-a-9: #65ff82a1;--colors-grass-dark-a-10: #72ff8dae;--colors-grass-dark-a-11: #89ff9fcd;--colors-grass-dark-a-12: #ceffceef;--colors-grass-dark-p3-1: color(display-p3 .062 .083 .067);--colors-grass-dark-p3-2: color(display-p3 .083 .103 .085);--colors-grass-dark-p3-3: color(display-p3 .118 .163 .122);--colors-grass-dark-p3-4: color(display-p3 .142 .225 .15);--colors-grass-dark-p3-5: color(display-p3 .178 .279 .186);--colors-grass-dark-p3-6: color(display-p3 .217 .337 .224);--colors-grass-dark-p3-7: color(display-p3 .258 .4 .264);--colors-grass-dark-p3-8: color(display-p3 .302 .47 .305);--colors-grass-dark-p3-9: color(display-p3 .38 .647 .378);--colors-grass-dark-p3-10: color(display-p3 .426 .694 .426);--colors-grass-dark-p3-11: color(display-p3 .535 .807 .542);--colors-grass-dark-p3-12: color(display-p3 .797 .936 .776);--colors-grass-dark-p3-a-1: color(display-p3 0 .992 .071 / .017);--colors-grass-dark-p3-a-2: color(display-p3 .482 .996 .584 / .038);--colors-grass-dark-p3-a-3: color(display-p3 .549 .992 .588 / .106);--colors-grass-dark-p3-a-4: color(display-p3 .51 .996 .557 / .169);--colors-grass-dark-p3-a-5: color(display-p3 .553 1 .588 / .227);--colors-grass-dark-p3-a-6: color(display-p3 .584 1 .608 / .29);--colors-grass-dark-p3-a-7: color(display-p3 .604 1 .616 / .358);--colors-grass-dark-p3-a-8: color(display-p3 .608 1 .62 / .433);--colors-grass-dark-p3-a-9: color(display-p3 .573 1 .569 / .622);--colors-grass-dark-p3-a-10: color(display-p3 .6 .996 .6 / .673);--colors-grass-dark-p3-a-11: color(display-p3 .535 .807 .542);--colors-grass-dark-p3-a-12: color(display-p3 .797 .936 .776);--colors-grass-a-1: var(--colors-grass-light-a-1);--colors-grass-a-2: var(--colors-grass-light-a-2);--colors-grass-a-3: var(--colors-grass-light-a-3);--colors-grass-a-4: var(--colors-grass-light-a-4);--colors-grass-a-5: var(--colors-grass-light-a-5);--colors-grass-a-6: var(--colors-grass-light-a-6);--colors-grass-a-7: var(--colors-grass-light-a-7);--colors-grass-a-8: var(--colors-grass-light-a-8);--colors-grass-a-9: var(--colors-grass-light-a-9);--colors-grass-a-10: var(--colors-grass-light-a-10);--colors-grass-a-11: var(--colors-grass-light-a-11);--colors-grass-a-12: var(--colors-grass-light-a-12);--colors-grass-p3-1: var(--colors-grass-light-p3-1);--colors-grass-p3-2: var(--colors-grass-light-p3-2);--colors-grass-p3-3: var(--colors-grass-light-p3-3);--colors-grass-p3-4: var(--colors-grass-light-p3-4);--colors-grass-p3-5: var(--colors-grass-light-p3-5);--colors-grass-p3-6: var(--colors-grass-light-p3-6);--colors-grass-p3-7: var(--colors-grass-light-p3-7);--colors-grass-p3-8: var(--colors-grass-light-p3-8);--colors-grass-p3-9: var(--colors-grass-light-p3-9);--colors-grass-p3-10: var(--colors-grass-light-p3-10);--colors-grass-p3-11: var(--colors-grass-light-p3-11);--colors-grass-p3-12: var(--colors-grass-light-p3-12);--colors-grass-p3-a-1: var(--colors-grass-light-p3-a-1);--colors-grass-p3-a-2: var(--colors-grass-light-p3-a-2);--colors-grass-p3-a-3: var(--colors-grass-light-p3-a-3);--colors-grass-p3-a-4: var(--colors-grass-light-p3-a-4);--colors-grass-p3-a-5: var(--colors-grass-light-p3-a-5);--colors-grass-p3-a-6: var(--colors-grass-light-p3-a-6);--colors-grass-p3-a-7: var(--colors-grass-light-p3-a-7);--colors-grass-p3-a-8: var(--colors-grass-light-p3-a-8);--colors-grass-p3-a-9: var(--colors-grass-light-p3-a-9);--colors-grass-p3-a-10: var(--colors-grass-light-p3-a-10);--colors-grass-p3-a-11: var(--colors-grass-light-p3-a-11);--colors-grass-p3-a-12: var(--colors-grass-light-p3-a-12);--colors-indigo-1: var(--colors-indigo-light-1);--colors-indigo-2: var(--colors-indigo-light-2);--colors-indigo-3: var(--colors-indigo-light-3);--colors-indigo-4: var(--colors-indigo-light-4);--colors-indigo-5: var(--colors-indigo-light-5);--colors-indigo-6: var(--colors-indigo-light-6);--colors-indigo-7: var(--colors-indigo-light-7);--colors-indigo-8: var(--colors-indigo-light-8);--colors-indigo-9: var(--colors-indigo-light-9);--colors-indigo-10: var(--colors-indigo-light-10);--colors-indigo-11: var(--colors-indigo-light-11);--colors-indigo-12: var(--colors-indigo-light-12);--colors-indigo-light-1: #fdfdfe;--colors-indigo-light-2: #f7f9ff;--colors-indigo-light-3: #edf2fe;--colors-indigo-light-4: #e1e9ff;--colors-indigo-light-5: #d2deff;--colors-indigo-light-6: #c1d0ff;--colors-indigo-light-7: #abbdf9;--colors-indigo-light-8: #8da4ef;--colors-indigo-light-9: #3e63dd;--colors-indigo-light-10: #3358d4;--colors-indigo-light-11: #3a5bc7;--colors-indigo-light-12: #1f2d5c;--colors-indigo-light-a-1: #00008002;--colors-indigo-light-a-2: #0040ff08;--colors-indigo-light-a-3: #0047f112;--colors-indigo-light-a-4: #0044ff1e;--colors-indigo-light-a-5: #0044ff2d;--colors-indigo-light-a-6: #003eff3e;--colors-indigo-light-a-7: #0037ed54;--colors-indigo-light-a-8: #0034dc72;--colors-indigo-light-a-9: #0031d2c1;--colors-indigo-light-a-10: #002ec9cc;--colors-indigo-light-a-11: #002bb7c5;--colors-indigo-light-a-12: #001046e0;--colors-indigo-light-p3-1: color(display-p3 .992 .992 .996);--colors-indigo-light-p3-2: color(display-p3 .971 .977 .998);--colors-indigo-light-p3-3: color(display-p3 .933 .948 .992);--colors-indigo-light-p3-4: color(display-p3 .885 .914 1);--colors-indigo-light-p3-5: color(display-p3 .831 .87 1);--colors-indigo-light-p3-6: color(display-p3 .767 .814 .995);--colors-indigo-light-p3-7: color(display-p3 .685 .74 .957);--colors-indigo-light-p3-8: color(display-p3 .569 .639 .916);--colors-indigo-light-p3-9: color(display-p3 .276 .384 .837);--colors-indigo-light-p3-10: color(display-p3 .234 .343 .801);--colors-indigo-light-p3-11: color(display-p3 .256 .354 .755);--colors-indigo-light-p3-12: color(display-p3 .133 .175 .348);--colors-indigo-light-p3-a-1: color(display-p3 .02 .02 .51 / .008);--colors-indigo-light-p3-a-2: color(display-p3 .024 .161 .863 / .028);--colors-indigo-light-p3-a-3: color(display-p3 .008 .239 .886 / .067);--colors-indigo-light-p3-a-4: color(display-p3 .004 .247 1 / .114);--colors-indigo-light-p3-a-5: color(display-p3 .004 .235 1 / .169);--colors-indigo-light-p3-a-6: color(display-p3 .004 .208 .984 / .232);--colors-indigo-light-p3-a-7: color(display-p3 .004 .176 .863 / .314);--colors-indigo-light-p3-a-8: color(display-p3 .004 .165 .812 / .432);--colors-indigo-light-p3-a-9: color(display-p3 0 .153 .773 / .726);--colors-indigo-light-p3-a-10: color(display-p3 0 .137 .737 / .765);--colors-indigo-light-p3-a-11: color(display-p3 .256 .354 .755);--colors-indigo-light-p3-a-12: color(display-p3 .133 .175 .348);--colors-indigo-dark-1: #11131f;--colors-indigo-dark-2: #141726;--colors-indigo-dark-3: #182449;--colors-indigo-dark-4: #1d2e62;--colors-indigo-dark-5: #253974;--colors-indigo-dark-6: #304384;--colors-indigo-dark-7: #3a4f97;--colors-indigo-dark-8: #435db1;--colors-indigo-dark-9: #3e63dd;--colors-indigo-dark-10: #5472e4;--colors-indigo-dark-11: #9eb1ff;--colors-indigo-dark-12: #d6e1ff;--colors-indigo-dark-a-1: #1133ff0f;--colors-indigo-dark-a-2: #3354fa17;--colors-indigo-dark-a-3: #2f62ff3c;--colors-indigo-dark-a-4: #3566ff57;--colors-indigo-dark-a-5: #4171fd6b;--colors-indigo-dark-a-6: #5178fd7c;--colors-indigo-dark-a-7: #5a7fff90;--colors-indigo-dark-a-8: #5b81feac;--colors-indigo-dark-a-9: #4671ffdb;--colors-indigo-dark-a-10: #5c7efee3;--colors-indigo-dark-a-11: #9eb1ff;--colors-indigo-dark-a-12: #d6e1ff;--colors-indigo-dark-p3-1: color(display-p3 .068 .074 .118);--colors-indigo-dark-p3-2: color(display-p3 .081 .089 .144);--colors-indigo-dark-p3-3: color(display-p3 .105 .141 .275);--colors-indigo-dark-p3-4: color(display-p3 .129 .18 .369);--colors-indigo-dark-p3-5: color(display-p3 .163 .22 .439);--colors-indigo-dark-p3-6: color(display-p3 .203 .262 .5);--colors-indigo-dark-p3-7: color(display-p3 .245 .309 .575);--colors-indigo-dark-p3-8: color(display-p3 .285 .362 .674);--colors-indigo-dark-p3-9: color(display-p3 .276 .384 .837);--colors-indigo-dark-p3-10: color(display-p3 .354 .445 .866);--colors-indigo-dark-p3-11: color(display-p3 .63 .69 1);--colors-indigo-dark-p3-12: color(display-p3 .848 .881 .99);--colors-indigo-dark-p3-a-1: color(display-p3 .071 .212 .996 / .055);--colors-indigo-dark-p3-a-2: color(display-p3 .251 .345 .988 / .085);--colors-indigo-dark-p3-a-3: color(display-p3 .243 .404 1 / .223);--colors-indigo-dark-p3-a-4: color(display-p3 .263 .42 1 / .324);--colors-indigo-dark-p3-a-5: color(display-p3 .314 .451 1 / .4);--colors-indigo-dark-p3-a-6: color(display-p3 .361 .49 1 / .467);--colors-indigo-dark-p3-a-7: color(display-p3 .388 .51 1 / .547);--colors-indigo-dark-p3-a-8: color(display-p3 .404 .518 1 / .652);--colors-indigo-dark-p3-a-9: color(display-p3 .318 .451 1 / .824);--colors-indigo-dark-p3-a-10: color(display-p3 .404 .506 1 / .858);--colors-indigo-dark-p3-a-11: color(display-p3 .63 .69 1);--colors-indigo-dark-p3-a-12: color(display-p3 .848 .881 .99);--colors-indigo-a-1: var(--colors-indigo-light-a-1);--colors-indigo-a-2: var(--colors-indigo-light-a-2);--colors-indigo-a-3: var(--colors-indigo-light-a-3);--colors-indigo-a-4: var(--colors-indigo-light-a-4);--colors-indigo-a-5: var(--colors-indigo-light-a-5);--colors-indigo-a-6: var(--colors-indigo-light-a-6);--colors-indigo-a-7: var(--colors-indigo-light-a-7);--colors-indigo-a-8: var(--colors-indigo-light-a-8);--colors-indigo-a-9: var(--colors-indigo-light-a-9);--colors-indigo-a-10: var(--colors-indigo-light-a-10);--colors-indigo-a-11: var(--colors-indigo-light-a-11);--colors-indigo-a-12: var(--colors-indigo-light-a-12);--colors-indigo-p3-1: var(--colors-indigo-light-p3-1);--colors-indigo-p3-2: var(--colors-indigo-light-p3-2);--colors-indigo-p3-3: var(--colors-indigo-light-p3-3);--colors-indigo-p3-4: var(--colors-indigo-light-p3-4);--colors-indigo-p3-5: var(--colors-indigo-light-p3-5);--colors-indigo-p3-6: var(--colors-indigo-light-p3-6);--colors-indigo-p3-7: var(--colors-indigo-light-p3-7);--colors-indigo-p3-8: var(--colors-indigo-light-p3-8);--colors-indigo-p3-9: var(--colors-indigo-light-p3-9);--colors-indigo-p3-10: var(--colors-indigo-light-p3-10);--colors-indigo-p3-11: var(--colors-indigo-light-p3-11);--colors-indigo-p3-12: var(--colors-indigo-light-p3-12);--colors-indigo-p3-a-1: var(--colors-indigo-light-p3-a-1);--colors-indigo-p3-a-2: var(--colors-indigo-light-p3-a-2);--colors-indigo-p3-a-3: var(--colors-indigo-light-p3-a-3);--colors-indigo-p3-a-4: var(--colors-indigo-light-p3-a-4);--colors-indigo-p3-a-5: var(--colors-indigo-light-p3-a-5);--colors-indigo-p3-a-6: var(--colors-indigo-light-p3-a-6);--colors-indigo-p3-a-7: var(--colors-indigo-light-p3-a-7);--colors-indigo-p3-a-8: var(--colors-indigo-light-p3-a-8);--colors-indigo-p3-a-9: var(--colors-indigo-light-p3-a-9);--colors-indigo-p3-a-10: var(--colors-indigo-light-p3-a-10);--colors-indigo-p3-a-11: var(--colors-indigo-light-p3-a-11);--colors-indigo-p3-a-12: var(--colors-indigo-light-p3-a-12);--colors-lime-1: var(--colors-lime-light-1);--colors-lime-2: var(--colors-lime-light-2);--colors-lime-3: var(--colors-lime-light-3);--colors-lime-4: var(--colors-lime-light-4);--colors-lime-5: var(--colors-lime-light-5);--colors-lime-6: var(--colors-lime-light-6);--colors-lime-7: var(--colors-lime-light-7);--colors-lime-8: var(--colors-lime-light-8);--colors-lime-9: var(--colors-lime-light-9);--colors-lime-10: var(--colors-lime-light-10);--colors-lime-11: var(--colors-lime-light-11);--colors-lime-12: var(--colors-lime-light-12);--colors-lime-light-1: #fcfdfa;--colors-lime-light-2: #f8faf3;--colors-lime-light-3: #eef6d6;--colors-lime-light-4: #e2f0bd;--colors-lime-light-5: #d3e7a6;--colors-lime-light-6: #c2da91;--colors-lime-light-7: #abc978;--colors-lime-light-8: #8db654;--colors-lime-light-9: #bdee63;--colors-lime-light-10: #b0e64c;--colors-lime-light-11: #5c7c2f;--colors-lime-light-12: #37401c;--colors-lime-light-a-1: #66990005;--colors-lime-light-a-2: #6b95000c;--colors-lime-light-a-3: #96c80029;--colors-lime-light-a-4: #8fc60042;--colors-lime-light-a-5: #81bb0059;--colors-lime-light-a-6: #72aa006e;--colors-lime-light-a-7: #61990087;--colors-lime-light-a-8: #559200ab;--colors-lime-light-a-9: #93e4009c;--colors-lime-light-a-10: #8fdc00b3;--colors-lime-light-a-11: #375f00d0;--colors-lime-light-a-12: #1e2900e3;--colors-lime-light-p3-1: color(display-p3 .989 .992 .981);--colors-lime-light-p3-2: color(display-p3 .975 .98 .954);--colors-lime-light-p3-3: color(display-p3 .939 .965 .851);--colors-lime-light-p3-4: color(display-p3 .896 .94 .76);--colors-lime-light-p3-5: color(display-p3 .843 .903 .678);--colors-lime-light-p3-6: color(display-p3 .778 .852 .599);--colors-lime-light-p3-7: color(display-p3 .694 .784 .508);--colors-lime-light-p3-8: color(display-p3 .585 .707 .378);--colors-lime-light-p3-9: color(display-p3 .78 .928 .466);--colors-lime-light-p3-10: color(display-p3 .734 .896 .397);--colors-lime-light-p3-11: color(display-p3 .386 .482 .227);--colors-lime-light-p3-12: color(display-p3 .222 .25 .128);--colors-lime-light-p3-a-1: color(display-p3 .412 .608 .02 / .02);--colors-lime-light-p3-a-2: color(display-p3 .514 .592 .024 / .048);--colors-lime-light-p3-a-3: color(display-p3 .584 .765 .008 / .15);--colors-lime-light-p3-a-4: color(display-p3 .561 .757 .004 / .24);--colors-lime-light-p3-a-5: color(display-p3 .514 .698 .004 / .322);--colors-lime-light-p3-a-6: color(display-p3 .443 .627 0 / .4);--colors-lime-light-p3-a-7: color(display-p3 .376 .561 .004 / .491);--colors-lime-light-p3-a-8: color(display-p3 .333 .529 0 / .624);--colors-lime-light-p3-a-9: color(display-p3 .588 .867 0 / .534);--colors-lime-light-p3-a-10: color(display-p3 .561 .827 0 / .604);--colors-lime-light-p3-a-11: color(display-p3 .386 .482 .227);--colors-lime-light-p3-a-12: color(display-p3 .222 .25 .128);--colors-lime-dark-1: #11130c;--colors-lime-dark-2: #151a10;--colors-lime-dark-3: #1f2917;--colors-lime-dark-4: #29371d;--colors-lime-dark-5: #334423;--colors-lime-dark-6: #3d522a;--colors-lime-dark-7: #496231;--colors-lime-dark-8: #577538;--colors-lime-dark-9: #bdee63;--colors-lime-dark-10: #d4ff70;--colors-lime-dark-11: #bde56c;--colors-lime-dark-12: #e3f7ba;--colors-lime-dark-a-1: #11bb0003;--colors-lime-dark-a-2: #78f7000a;--colors-lime-dark-a-3: #9bfd4c1a;--colors-lime-dark-a-4: #a7fe5c29;--colors-lime-dark-a-5: #affe6537;--colors-lime-dark-a-6: #b2fe6d46;--colors-lime-dark-a-7: #b6ff6f57;--colors-lime-dark-a-8: #b6fd6d6c;--colors-lime-dark-a-9: #caff69ed;--colors-lime-dark-a-10: #d4ff70;--colors-lime-dark-a-11: #d1fe77e4;--colors-lime-dark-a-12: #e9febff7;--colors-lime-dark-p3-1: color(display-p3 .067 .073 .048);--colors-lime-dark-p3-2: color(display-p3 .086 .1 .067);--colors-lime-dark-p3-3: color(display-p3 .13 .16 .099);--colors-lime-dark-p3-4: color(display-p3 .172 .214 .126);--colors-lime-dark-p3-5: color(display-p3 .213 .266 .153);--colors-lime-dark-p3-6: color(display-p3 .257 .321 .182);--colors-lime-dark-p3-7: color(display-p3 .307 .383 .215);--colors-lime-dark-p3-8: color(display-p3 .365 .456 .25);--colors-lime-dark-p3-9: color(display-p3 .78 .928 .466);--colors-lime-dark-p3-10: color(display-p3 .865 .995 .519);--colors-lime-dark-p3-11: color(display-p3 .771 .893 .485);--colors-lime-dark-p3-12: color(display-p3 .905 .966 .753);--colors-lime-dark-p3-a-1: color(display-p3 .067 .941 0 / .009);--colors-lime-dark-p3-a-2: color(display-p3 .584 .996 .071 / .038);--colors-lime-dark-p3-a-3: color(display-p3 .69 1 .38 / .101);--colors-lime-dark-p3-a-4: color(display-p3 .729 1 .435 / .16);--colors-lime-dark-p3-a-5: color(display-p3 .745 1 .471 / .215);--colors-lime-dark-p3-a-6: color(display-p3 .769 1 .482 / .274);--colors-lime-dark-p3-a-7: color(display-p3 .769 1 .506 / .341);--colors-lime-dark-p3-a-8: color(display-p3 .784 1 .51 / .416);--colors-lime-dark-p3-a-9: color(display-p3 .839 1 .502 / .925);--colors-lime-dark-p3-a-10: color(display-p3 .871 1 .522 / .996);--colors-lime-dark-p3-a-11: color(display-p3 .771 .893 .485);--colors-lime-dark-p3-a-12: color(display-p3 .905 .966 .753);--colors-lime-a-1: var(--colors-lime-light-a-1);--colors-lime-a-2: var(--colors-lime-light-a-2);--colors-lime-a-3: var(--colors-lime-light-a-3);--colors-lime-a-4: var(--colors-lime-light-a-4);--colors-lime-a-5: var(--colors-lime-light-a-5);--colors-lime-a-6: var(--colors-lime-light-a-6);--colors-lime-a-7: var(--colors-lime-light-a-7);--colors-lime-a-8: var(--colors-lime-light-a-8);--colors-lime-a-9: var(--colors-lime-light-a-9);--colors-lime-a-10: var(--colors-lime-light-a-10);--colors-lime-a-11: var(--colors-lime-light-a-11);--colors-lime-a-12: var(--colors-lime-light-a-12);--colors-lime-p3-1: var(--colors-lime-light-p3-1);--colors-lime-p3-2: var(--colors-lime-light-p3-2);--colors-lime-p3-3: var(--colors-lime-light-p3-3);--colors-lime-p3-4: var(--colors-lime-light-p3-4);--colors-lime-p3-5: var(--colors-lime-light-p3-5);--colors-lime-p3-6: var(--colors-lime-light-p3-6);--colors-lime-p3-7: var(--colors-lime-light-p3-7);--colors-lime-p3-8: var(--colors-lime-light-p3-8);--colors-lime-p3-9: var(--colors-lime-light-p3-9);--colors-lime-p3-10: var(--colors-lime-light-p3-10);--colors-lime-p3-11: var(--colors-lime-light-p3-11);--colors-lime-p3-12: var(--colors-lime-light-p3-12);--colors-lime-p3-a-1: var(--colors-lime-light-p3-a-1);--colors-lime-p3-a-2: var(--colors-lime-light-p3-a-2);--colors-lime-p3-a-3: var(--colors-lime-light-p3-a-3);--colors-lime-p3-a-4: var(--colors-lime-light-p3-a-4);--colors-lime-p3-a-5: var(--colors-lime-light-p3-a-5);--colors-lime-p3-a-6: var(--colors-lime-light-p3-a-6);--colors-lime-p3-a-7: var(--colors-lime-light-p3-a-7);--colors-lime-p3-a-8: var(--colors-lime-light-p3-a-8);--colors-lime-p3-a-9: var(--colors-lime-light-p3-a-9);--colors-lime-p3-a-10: var(--colors-lime-light-p3-a-10);--colors-lime-p3-a-11: var(--colors-lime-light-p3-a-11);--colors-lime-p3-a-12: var(--colors-lime-light-p3-a-12);--colors-orange-1: var(--colors-orange-light-1);--colors-orange-2: var(--colors-orange-light-2);--colors-orange-3: var(--colors-orange-light-3);--colors-orange-4: var(--colors-orange-light-4);--colors-orange-5: var(--colors-orange-light-5);--colors-orange-6: var(--colors-orange-light-6);--colors-orange-7: var(--colors-orange-light-7);--colors-orange-8: var(--colors-orange-light-8);--colors-orange-9: var(--colors-orange-light-9);--colors-orange-10: var(--colors-orange-light-10);--colors-orange-11: var(--colors-orange-light-11);--colors-orange-12: var(--colors-orange-light-12);--colors-orange-light-1: #fefcfb;--colors-orange-light-2: #fff7ed;--colors-orange-light-3: #ffefd6;--colors-orange-light-4: #ffdfb5;--colors-orange-light-5: #ffd19a;--colors-orange-light-6: #ffc182;--colors-orange-light-7: #f5ae73;--colors-orange-light-8: #ec9455;--colors-orange-light-9: #f76b15;--colors-orange-light-10: #ef5f00;--colors-orange-light-11: #cc4e00;--colors-orange-light-12: #582d1d;--colors-orange-light-a-1: #c0400004;--colors-orange-light-a-2: #ff8e0012;--colors-orange-light-a-3: #ff9c0029;--colors-orange-light-a-4: #ff91014a;--colors-orange-light-a-5: #ff8b0065;--colors-orange-light-a-6: #ff81007d;--colors-orange-light-a-7: #ed6c008c;--colors-orange-light-a-8: #e35f00aa;--colors-orange-light-a-9: #f65e00ea;--colors-orange-light-a-10: #ef5f00;--colors-orange-light-a-11: #cc4e00;--colors-orange-light-a-12: #431200e2;--colors-orange-light-p3-1: color(display-p3 .995 .988 .985);--colors-orange-light-p3-2: color(display-p3 .994 .968 .934);--colors-orange-light-p3-3: color(display-p3 .989 .938 .85);--colors-orange-light-p3-4: color(display-p3 1 .874 .687);--colors-orange-light-p3-5: color(display-p3 1 .821 .583);--colors-orange-light-p3-6: color(display-p3 .975 .767 .545);--colors-orange-light-p3-7: color(display-p3 .919 .693 .486);--colors-orange-light-p3-8: color(display-p3 .877 .597 .379);--colors-orange-light-p3-9: color(display-p3 .9 .45 .2);--colors-orange-light-p3-10: color(display-p3 .87 .409 .164);--colors-orange-light-p3-11: color(display-p3 .76 .34 0);--colors-orange-light-p3-12: color(display-p3 .323 .185 .127);--colors-orange-light-p3-a-1: color(display-p3 .757 .267 .024 / .016);--colors-orange-light-p3-a-2: color(display-p3 .886 .533 .008 / .067);--colors-orange-light-p3-a-3: color(display-p3 .922 .584 .008 / .15);--colors-orange-light-p3-a-4: color(display-p3 1 .604 .004 / .314);--colors-orange-light-p3-a-5: color(display-p3 1 .569 .004 / .416);--colors-orange-light-p3-a-6: color(display-p3 .949 .494 .004 / .455);--colors-orange-light-p3-a-7: color(display-p3 .839 .408 0 / .514);--colors-orange-light-p3-a-8: color(display-p3 .804 .349 0 / .62);--colors-orange-light-p3-a-9: color(display-p3 .878 .314 0 / .8);--colors-orange-light-p3-a-10: color(display-p3 .843 .29 0 / .836);--colors-orange-light-p3-a-11: color(display-p3 .76 .34 0);--colors-orange-light-p3-a-12: color(display-p3 .323 .185 .127);--colors-orange-dark-1: #17120e;--colors-orange-dark-2: #1e160f;--colors-orange-dark-3: #331e0b;--colors-orange-dark-4: #462100;--colors-orange-dark-5: #562800;--colors-orange-dark-6: #66350c;--colors-orange-dark-7: #7e451d;--colors-orange-dark-8: #a35829;--colors-orange-dark-9: #f76b15;--colors-orange-dark-10: #ff801f;--colors-orange-dark-11: #ffa057;--colors-orange-dark-12: #ffe0c2;--colors-orange-dark-a-1: #ec360007;--colors-orange-dark-a-2: #fe6d000e;--colors-orange-dark-a-3: #fb6a0025;--colors-orange-dark-a-4: #ff590039;--colors-orange-dark-a-5: #ff61004a;--colors-orange-dark-a-6: #fd75045c;--colors-orange-dark-a-7: #ff832c75;--colors-orange-dark-a-8: #fe84389d;--colors-orange-dark-a-9: #fe6d15f7;--colors-orange-dark-a-10: #ff801f;--colors-orange-dark-a-11: #ffa057;--colors-orange-dark-a-12: #ffe0c2;--colors-orange-dark-p3-1: color(display-p3 .088 .07 .057);--colors-orange-dark-p3-2: color(display-p3 .113 .089 .061);--colors-orange-dark-p3-3: color(display-p3 .189 .12 .056);--colors-orange-dark-p3-4: color(display-p3 .262 .132 0);--colors-orange-dark-p3-5: color(display-p3 .315 .168 .016);--colors-orange-dark-p3-6: color(display-p3 .376 .219 .088);--colors-orange-dark-p3-7: color(display-p3 .465 .283 .147);--colors-orange-dark-p3-8: color(display-p3 .601 .359 .201);--colors-orange-dark-p3-9: color(display-p3 .9 .45 .2);--colors-orange-dark-p3-10: color(display-p3 .98 .51 .23);--colors-orange-dark-p3-11: color(display-p3 1 .63 .38);--colors-orange-dark-p3-12: color(display-p3 .98 .883 .775);--colors-orange-dark-p3-a-1: color(display-p3 .961 .247 0 / .022);--colors-orange-dark-p3-a-2: color(display-p3 .992 .529 0 / .051);--colors-orange-dark-p3-a-3: color(display-p3 .996 .486 0 / .131);--colors-orange-dark-p3-a-4: color(display-p3 .996 .384 0 / .211);--colors-orange-dark-p3-a-5: color(display-p3 1 .455 0 / .265);--colors-orange-dark-p3-a-6: color(display-p3 1 .529 .129 / .332);--colors-orange-dark-p3-a-7: color(display-p3 1 .569 .251 / .429);--colors-orange-dark-p3-a-8: color(display-p3 1 .584 .302 / .572);--colors-orange-dark-p3-a-9: color(display-p3 1 .494 .216 / .895);--colors-orange-dark-p3-a-10: color(display-p3 1 .522 .235 / .979);--colors-orange-dark-p3-a-11: color(display-p3 1 .63 .38);--colors-orange-dark-p3-a-12: color(display-p3 .98 .883 .775);--colors-orange-a-1: var(--colors-orange-light-a-1);--colors-orange-a-2: var(--colors-orange-light-a-2);--colors-orange-a-3: var(--colors-orange-light-a-3);--colors-orange-a-4: var(--colors-orange-light-a-4);--colors-orange-a-5: var(--colors-orange-light-a-5);--colors-orange-a-6: var(--colors-orange-light-a-6);--colors-orange-a-7: var(--colors-orange-light-a-7);--colors-orange-a-8: var(--colors-orange-light-a-8);--colors-orange-a-9: var(--colors-orange-light-a-9);--colors-orange-a-10: var(--colors-orange-light-a-10);--colors-orange-a-11: var(--colors-orange-light-a-11);--colors-orange-a-12: var(--colors-orange-light-a-12);--colors-orange-p3-1: var(--colors-orange-light-p3-1);--colors-orange-p3-2: var(--colors-orange-light-p3-2);--colors-orange-p3-3: var(--colors-orange-light-p3-3);--colors-orange-p3-4: var(--colors-orange-light-p3-4);--colors-orange-p3-5: var(--colors-orange-light-p3-5);--colors-orange-p3-6: var(--colors-orange-light-p3-6);--colors-orange-p3-7: var(--colors-orange-light-p3-7);--colors-orange-p3-8: var(--colors-orange-light-p3-8);--colors-orange-p3-9: var(--colors-orange-light-p3-9);--colors-orange-p3-10: var(--colors-orange-light-p3-10);--colors-orange-p3-11: var(--colors-orange-light-p3-11);--colors-orange-p3-12: var(--colors-orange-light-p3-12);--colors-orange-p3-a-1: var(--colors-orange-light-p3-a-1);--colors-orange-p3-a-2: var(--colors-orange-light-p3-a-2);--colors-orange-p3-a-3: var(--colors-orange-light-p3-a-3);--colors-orange-p3-a-4: var(--colors-orange-light-p3-a-4);--colors-orange-p3-a-5: var(--colors-orange-light-p3-a-5);--colors-orange-p3-a-6: var(--colors-orange-light-p3-a-6);--colors-orange-p3-a-7: var(--colors-orange-light-p3-a-7);--colors-orange-p3-a-8: var(--colors-orange-light-p3-a-8);--colors-orange-p3-a-9: var(--colors-orange-light-p3-a-9);--colors-orange-p3-a-10: var(--colors-orange-light-p3-a-10);--colors-orange-p3-a-11: var(--colors-orange-light-p3-a-11);--colors-orange-p3-a-12: var(--colors-orange-light-p3-a-12);--colors-pink-1: var(--colors-pink-light-1);--colors-pink-2: var(--colors-pink-light-2);--colors-pink-3: var(--colors-pink-light-3);--colors-pink-4: var(--colors-pink-light-4);--colors-pink-5: var(--colors-pink-light-5);--colors-pink-6: var(--colors-pink-light-6);--colors-pink-7: var(--colors-pink-light-7);--colors-pink-8: var(--colors-pink-light-8);--colors-pink-9: var(--colors-pink-light-9);--colors-pink-10: var(--colors-pink-light-10);--colors-pink-11: var(--colors-pink-light-11);--colors-pink-12: var(--colors-pink-light-12);--colors-pink-light-1: #fffcfe;--colors-pink-light-2: #fef7fb;--colors-pink-light-3: #fee9f5;--colors-pink-light-4: #fbdcef;--colors-pink-light-5: #f6cee7;--colors-pink-light-6: #efbfdd;--colors-pink-light-7: #e7acd0;--colors-pink-light-8: #dd93c2;--colors-pink-light-9: #d6409f;--colors-pink-light-10: #cf3897;--colors-pink-light-11: #c2298a;--colors-pink-light-12: #651249;--colors-pink-light-a-1: #ff00aa03;--colors-pink-light-a-2: #e0008008;--colors-pink-light-a-3: #f4008c16;--colors-pink-light-a-4: #e2008b23;--colors-pink-light-a-5: #d1008331;--colors-pink-light-a-6: #c0007840;--colors-pink-light-a-7: #b6006f53;--colors-pink-light-a-8: #af006f6c;--colors-pink-light-a-9: #c8007fbf;--colors-pink-light-a-10: #c2007ac7;--colors-pink-light-a-11: #b60074d6;--colors-pink-light-a-12: #59003bed;--colors-pink-light-p3-1: color(display-p3 .998 .989 .996);--colors-pink-light-p3-2: color(display-p3 .992 .97 .985);--colors-pink-light-p3-3: color(display-p3 .981 .917 .96);--colors-pink-light-p3-4: color(display-p3 .963 .867 .932);--colors-pink-light-p3-5: color(display-p3 .939 .815 .899);--colors-pink-light-p3-6: color(display-p3 .907 .756 .859);--colors-pink-light-p3-7: color(display-p3 .869 .683 .81);--colors-pink-light-p3-8: color(display-p3 .825 .59 .751);--colors-pink-light-p3-9: color(display-p3 .775 .297 .61);--colors-pink-light-p3-10: color(display-p3 .748 .27 .581);--colors-pink-light-p3-11: color(display-p3 .698 .219 .528);--colors-pink-light-p3-12: color(display-p3 .363 .101 .279);--colors-pink-light-p3-a-1: color(display-p3 .675 .024 .675 / .012);--colors-pink-light-p3-a-2: color(display-p3 .757 .02 .51 / .032);--colors-pink-light-p3-a-3: color(display-p3 .765 .008 .529 / .083);--colors-pink-light-p3-a-4: color(display-p3 .737 .008 .506 / .134);--colors-pink-light-p3-a-5: color(display-p3 .663 .004 .451 / .185);--colors-pink-light-p3-a-6: color(display-p3 .616 .004 .424 / .244);--colors-pink-light-p3-a-7: color(display-p3 .596 .004 .412 / .318);--colors-pink-light-p3-a-8: color(display-p3 .573 .004 .404 / .412);--colors-pink-light-p3-a-9: color(display-p3 .682 0 .447 / .702);--colors-pink-light-p3-a-10: color(display-p3 .655 0 .424 / .73);--colors-pink-light-p3-a-11: color(display-p3 .698 .219 .528);--colors-pink-light-p3-a-12: color(display-p3 .363 .101 .279);--colors-pink-dark-1: #191117;--colors-pink-dark-2: #21121d;--colors-pink-dark-3: #37172f;--colors-pink-dark-4: #4b143d;--colors-pink-dark-5: #591c47;--colors-pink-dark-6: #692955;--colors-pink-dark-7: #833869;--colors-pink-dark-8: #a84885;--colors-pink-dark-9: #d6409f;--colors-pink-dark-10: #de51a8;--colors-pink-dark-11: #ff8dcc;--colors-pink-dark-12: #fdd1ea;--colors-pink-dark-a-1: #f412bc09;--colors-pink-dark-a-2: #f420bb12;--colors-pink-dark-a-3: #fe37cc29;--colors-pink-dark-a-4: #fc1ec43f;--colors-pink-dark-a-5: #fd35c24e;--colors-pink-dark-a-6: #fd51c75f;--colors-pink-dark-a-7: #fd62c87b;--colors-pink-dark-a-8: #ff68c8a2;--colors-pink-dark-a-9: #fe49bcd4;--colors-pink-dark-a-10: #ff5cc0dc;--colors-pink-dark-a-11: #ff8dcc;--colors-pink-dark-a-12: #ffd3ecfd;--colors-pink-dark-p3-1: color(display-p3 .093 .068 .089);--colors-pink-dark-p3-2: color(display-p3 .121 .073 .11);--colors-pink-dark-p3-3: color(display-p3 .198 .098 .179);--colors-pink-dark-p3-4: color(display-p3 .271 .095 .231);--colors-pink-dark-p3-5: color(display-p3 .32 .127 .273);--colors-pink-dark-p3-6: color(display-p3 .382 .177 .326);--colors-pink-dark-p3-7: color(display-p3 .477 .238 .405);--colors-pink-dark-p3-8: color(display-p3 .612 .304 .51);--colors-pink-dark-p3-9: color(display-p3 .775 .297 .61);--colors-pink-dark-p3-10: color(display-p3 .808 .356 .645);--colors-pink-dark-p3-11: color(display-p3 1 .535 .78);--colors-pink-dark-p3-12: color(display-p3 .964 .826 .912);--colors-pink-dark-p3-a-1: color(display-p3 .984 .071 .855 / .03);--colors-pink-dark-p3-a-2: color(display-p3 1 .2 .8 / .059);--colors-pink-dark-p3-a-3: color(display-p3 1 .294 .886 / .139);--colors-pink-dark-p3-a-4: color(display-p3 1 .192 .82 / .219);--colors-pink-dark-p3-a-5: color(display-p3 1 .282 .827 / .274);--colors-pink-dark-p3-a-6: color(display-p3 1 .396 .835 / .337);--colors-pink-dark-p3-a-7: color(display-p3 1 .459 .831 / .442);--colors-pink-dark-p3-a-8: color(display-p3 1 .478 .827 / .585);--colors-pink-dark-p3-a-9: color(display-p3 1 .373 .784 / .761);--colors-pink-dark-p3-a-10: color(display-p3 1 .435 .792 / .795);--colors-pink-dark-p3-a-11: color(display-p3 1 .535 .78);--colors-pink-dark-p3-a-12: color(display-p3 .964 .826 .912);--colors-pink-a-1: var(--colors-pink-light-a-1);--colors-pink-a-2: var(--colors-pink-light-a-2);--colors-pink-a-3: var(--colors-pink-light-a-3);--colors-pink-a-4: var(--colors-pink-light-a-4);--colors-pink-a-5: var(--colors-pink-light-a-5);--colors-pink-a-6: var(--colors-pink-light-a-6);--colors-pink-a-7: var(--colors-pink-light-a-7);--colors-pink-a-8: var(--colors-pink-light-a-8);--colors-pink-a-9: var(--colors-pink-light-a-9);--colors-pink-a-10: var(--colors-pink-light-a-10);--colors-pink-a-11: var(--colors-pink-light-a-11);--colors-pink-a-12: var(--colors-pink-light-a-12);--colors-pink-p3-1: var(--colors-pink-light-p3-1);--colors-pink-p3-2: var(--colors-pink-light-p3-2);--colors-pink-p3-3: var(--colors-pink-light-p3-3);--colors-pink-p3-4: var(--colors-pink-light-p3-4);--colors-pink-p3-5: var(--colors-pink-light-p3-5);--colors-pink-p3-6: var(--colors-pink-light-p3-6);--colors-pink-p3-7: var(--colors-pink-light-p3-7);--colors-pink-p3-8: var(--colors-pink-light-p3-8);--colors-pink-p3-9: var(--colors-pink-light-p3-9);--colors-pink-p3-10: var(--colors-pink-light-p3-10);--colors-pink-p3-11: var(--colors-pink-light-p3-11);--colors-pink-p3-12: var(--colors-pink-light-p3-12);--colors-pink-p3-a-1: var(--colors-pink-light-p3-a-1);--colors-pink-p3-a-2: var(--colors-pink-light-p3-a-2);--colors-pink-p3-a-3: var(--colors-pink-light-p3-a-3);--colors-pink-p3-a-4: var(--colors-pink-light-p3-a-4);--colors-pink-p3-a-5: var(--colors-pink-light-p3-a-5);--colors-pink-p3-a-6: var(--colors-pink-light-p3-a-6);--colors-pink-p3-a-7: var(--colors-pink-light-p3-a-7);--colors-pink-p3-a-8: var(--colors-pink-light-p3-a-8);--colors-pink-p3-a-9: var(--colors-pink-light-p3-a-9);--colors-pink-p3-a-10: var(--colors-pink-light-p3-a-10);--colors-pink-p3-a-11: var(--colors-pink-light-p3-a-11);--colors-pink-p3-a-12: var(--colors-pink-light-p3-a-12);--colors-purple-1: var(--colors-purple-light-1);--colors-purple-2: var(--colors-purple-light-2);--colors-purple-3: var(--colors-purple-light-3);--colors-purple-4: var(--colors-purple-light-4);--colors-purple-5: var(--colors-purple-light-5);--colors-purple-6: var(--colors-purple-light-6);--colors-purple-7: var(--colors-purple-light-7);--colors-purple-8: var(--colors-purple-light-8);--colors-purple-9: var(--colors-purple-light-9);--colors-purple-10: var(--colors-purple-light-10);--colors-purple-11: var(--colors-purple-light-11);--colors-purple-12: var(--colors-purple-light-12);--colors-purple-light-1: #fefcfe;--colors-purple-light-2: #fbf7fe;--colors-purple-light-3: #f7edfe;--colors-purple-light-4: #f2e2fc;--colors-purple-light-5: #ead5f9;--colors-purple-light-6: #e0c4f4;--colors-purple-light-7: #d1afec;--colors-purple-light-8: #be93e4;--colors-purple-light-9: #8e4ec6;--colors-purple-light-10: #8347b9;--colors-purple-light-11: #8145b5;--colors-purple-light-12: #402060;--colors-purple-light-a-1: #aa00aa03;--colors-purple-light-a-2: #8000e008;--colors-purple-light-a-3: #8e00f112;--colors-purple-light-a-4: #8d00e51d;--colors-purple-light-a-5: #8000db2a;--colors-purple-light-a-6: #7a01d03b;--colors-purple-light-a-7: #6d00c350;--colors-purple-light-a-8: #6600c06c;--colors-purple-light-a-9: #5c00adb1;--colors-purple-light-a-10: #53009eb8;--colors-purple-light-a-11: #52009aba;--colors-purple-light-a-12: #250049df;--colors-purple-light-p3-1: color(display-p3 .995 .988 .996);--colors-purple-light-p3-2: color(display-p3 .983 .971 .993);--colors-purple-light-p3-3: color(display-p3 .963 .931 .989);--colors-purple-light-p3-4: color(display-p3 .937 .888 .981);--colors-purple-light-p3-5: color(display-p3 .904 .837 .966);--colors-purple-light-p3-6: color(display-p3 .86 .774 .942);--colors-purple-light-p3-7: color(display-p3 .799 .69 .91);--colors-purple-light-p3-8: color(display-p3 .719 .583 .874);--colors-purple-light-p3-9: color(display-p3 .523 .318 .751);--colors-purple-light-p3-10: color(display-p3 .483 .289 .7);--colors-purple-light-p3-11: color(display-p3 .473 .281 .687);--colors-purple-light-p3-12: color(display-p3 .234 .132 .363);--colors-purple-light-p3-a-1: color(display-p3 .675 .024 .675 / .012);--colors-purple-light-p3-a-2: color(display-p3 .443 .024 .722 / .028);--colors-purple-light-p3-a-3: color(display-p3 .506 .008 .835 / .071);--colors-purple-light-p3-a-4: color(display-p3 .451 .004 .831 / .114);--colors-purple-light-p3-a-5: color(display-p3 .431 .004 .788 / .165);--colors-purple-light-p3-a-6: color(display-p3 .384 .004 .745 / .228);--colors-purple-light-p3-a-7: color(display-p3 .357 .004 .71 / .31);--colors-purple-light-p3-a-8: color(display-p3 .322 .004 .702 / .416);--colors-purple-light-p3-a-9: color(display-p3 .298 0 .639 / .683);--colors-purple-light-p3-a-10: color(display-p3 .271 0 .58 / .71);--colors-purple-light-p3-a-11: color(display-p3 .473 .281 .687);--colors-purple-light-p3-a-12: color(display-p3 .234 .132 .363);--colors-purple-dark-1: #18111b;--colors-purple-dark-2: #1e1523;--colors-purple-dark-3: #301c3b;--colors-purple-dark-4: #3d224e;--colors-purple-dark-5: #48295c;--colors-purple-dark-6: #54346b;--colors-purple-dark-7: #664282;--colors-purple-dark-8: #8457aa;--colors-purple-dark-9: #8e4ec6;--colors-purple-dark-10: #9a5cd0;--colors-purple-dark-11: #d19dff;--colors-purple-dark-12: #ecd9fa;--colors-purple-dark-a-1: #b412f90b;--colors-purple-dark-a-2: #b744f714;--colors-purple-dark-a-3: #c150ff2d;--colors-purple-dark-a-4: #bb53fd42;--colors-purple-dark-a-5: #be5cfd51;--colors-purple-dark-a-6: #c16dfd61;--colors-purple-dark-a-7: #c378fd7a;--colors-purple-dark-a-8: #c47effa4;--colors-purple-dark-a-9: #b661ffc2;--colors-purple-dark-a-10: #bc6fffcd;--colors-purple-dark-a-11: #d19dff;--colors-purple-dark-a-12: #f1ddfffa;--colors-purple-dark-p3-1: color(display-p3 .09 .068 .103);--colors-purple-dark-p3-2: color(display-p3 .113 .082 .134);--colors-purple-dark-p3-3: color(display-p3 .175 .112 .224);--colors-purple-dark-p3-4: color(display-p3 .224 .137 .297);--colors-purple-dark-p3-5: color(display-p3 .264 .167 .349);--colors-purple-dark-p3-6: color(display-p3 .311 .208 .406);--colors-purple-dark-p3-7: color(display-p3 .381 .266 .496);--colors-purple-dark-p3-8: color(display-p3 .49 .349 .649);--colors-purple-dark-p3-9: color(display-p3 .523 .318 .751);--colors-purple-dark-p3-10: color(display-p3 .57 .373 .791);--colors-purple-dark-p3-11: color(display-p3 .8 .62 1);--colors-purple-dark-p3-12: color(display-p3 .913 .854 .971);--colors-purple-dark-p3-a-1: color(display-p3 .686 .071 .996 / .038);--colors-purple-dark-p3-a-2: color(display-p3 .722 .286 .996 / .072);--colors-purple-dark-p3-a-3: color(display-p3 .718 .349 .996 / .169);--colors-purple-dark-p3-a-4: color(display-p3 .702 .353 1 / .248);--colors-purple-dark-p3-a-5: color(display-p3 .718 .404 1 / .303);--colors-purple-dark-p3-a-6: color(display-p3 .733 .455 1 / .366);--colors-purple-dark-p3-a-7: color(display-p3 .753 .506 1 / .458);--colors-purple-dark-p3-a-8: color(display-p3 .749 .522 1 / .622);--colors-purple-dark-p3-a-9: color(display-p3 .686 .408 1 / .736);--colors-purple-dark-p3-a-10: color(display-p3 .71 .459 1 / .778);--colors-purple-dark-p3-a-11: color(display-p3 .8 .62 1);--colors-purple-dark-p3-a-12: color(display-p3 .913 .854 .971);--colors-purple-a-1: var(--colors-purple-light-a-1);--colors-purple-a-2: var(--colors-purple-light-a-2);--colors-purple-a-3: var(--colors-purple-light-a-3);--colors-purple-a-4: var(--colors-purple-light-a-4);--colors-purple-a-5: var(--colors-purple-light-a-5);--colors-purple-a-6: var(--colors-purple-light-a-6);--colors-purple-a-7: var(--colors-purple-light-a-7);--colors-purple-a-8: var(--colors-purple-light-a-8);--colors-purple-a-9: var(--colors-purple-light-a-9);--colors-purple-a-10: var(--colors-purple-light-a-10);--colors-purple-a-11: var(--colors-purple-light-a-11);--colors-purple-a-12: var(--colors-purple-light-a-12);--colors-purple-p3-1: var(--colors-purple-light-p3-1);--colors-purple-p3-2: var(--colors-purple-light-p3-2);--colors-purple-p3-3: var(--colors-purple-light-p3-3);--colors-purple-p3-4: var(--colors-purple-light-p3-4);--colors-purple-p3-5: var(--colors-purple-light-p3-5);--colors-purple-p3-6: var(--colors-purple-light-p3-6);--colors-purple-p3-7: var(--colors-purple-light-p3-7);--colors-purple-p3-8: var(--colors-purple-light-p3-8);--colors-purple-p3-9: var(--colors-purple-light-p3-9);--colors-purple-p3-10: var(--colors-purple-light-p3-10);--colors-purple-p3-11: var(--colors-purple-light-p3-11);--colors-purple-p3-12: var(--colors-purple-light-p3-12);--colors-purple-p3-a-1: var(--colors-purple-light-p3-a-1);--colors-purple-p3-a-2: var(--colors-purple-light-p3-a-2);--colors-purple-p3-a-3: var(--colors-purple-light-p3-a-3);--colors-purple-p3-a-4: var(--colors-purple-light-p3-a-4);--colors-purple-p3-a-5: var(--colors-purple-light-p3-a-5);--colors-purple-p3-a-6: var(--colors-purple-light-p3-a-6);--colors-purple-p3-a-7: var(--colors-purple-light-p3-a-7);--colors-purple-p3-a-8: var(--colors-purple-light-p3-a-8);--colors-purple-p3-a-9: var(--colors-purple-light-p3-a-9);--colors-purple-p3-a-10: var(--colors-purple-light-p3-a-10);--colors-purple-p3-a-11: var(--colors-purple-light-p3-a-11);--colors-purple-p3-a-12: var(--colors-purple-light-p3-a-12);--colors-red-1: var(--colors-red-light-1);--colors-red-2: var(--colors-red-light-2);--colors-red-3: var(--colors-red-light-3);--colors-red-4: var(--colors-red-light-4);--colors-red-5: var(--colors-red-light-5);--colors-red-6: var(--colors-red-light-6);--colors-red-7: var(--colors-red-light-7);--colors-red-8: var(--colors-red-light-8);--colors-red-9: var(--colors-red-light-9);--colors-red-10: var(--colors-red-light-10);--colors-red-11: var(--colors-red-light-11);--colors-red-12: var(--colors-red-light-12);--colors-red-light-1: #fffcfc;--colors-red-light-2: #fff7f7;--colors-red-light-3: #feebec;--colors-red-light-4: #ffdbdc;--colors-red-light-5: #ffcdce;--colors-red-light-6: #fdbdbe;--colors-red-light-7: #f4a9aa;--colors-red-light-8: #eb8e90;--colors-red-light-9: #e5484d;--colors-red-light-10: #dc3e42;--colors-red-light-11: #ce2c31;--colors-red-light-12: #641723;--colors-red-light-a-1: #ff000003;--colors-red-light-a-2: #ff000008;--colors-red-light-a-3: #f3000d14;--colors-red-light-a-4: #ff000824;--colors-red-light-a-5: #ff000632;--colors-red-light-a-6: #f8000442;--colors-red-light-a-7: #df000356;--colors-red-light-a-8: #d2000571;--colors-red-light-a-9: #db0007b7;--colors-red-light-a-10: #d10005c1;--colors-red-light-a-11: #c40006d3;--colors-red-light-a-12: #55000de8;--colors-red-light-p3-1: color(display-p3 .998 .989 .988);--colors-red-light-p3-2: color(display-p3 .995 .971 .971);--colors-red-light-p3-3: color(display-p3 .985 .925 .925);--colors-red-light-p3-4: color(display-p3 .999 .866 .866);--colors-red-light-p3-5: color(display-p3 .984 .812 .811);--colors-red-light-p3-6: color(display-p3 .955 .751 .749);--colors-red-light-p3-7: color(display-p3 .915 .675 .672);--colors-red-light-p3-8: color(display-p3 .872 .575 .572);--colors-red-light-p3-9: color(display-p3 .83 .329 .324);--colors-red-light-p3-10: color(display-p3 .798 .294 .285);--colors-red-light-p3-11: color(display-p3 .744 .234 .222);--colors-red-light-p3-12: color(display-p3 .36 .115 .143);--colors-red-light-p3-a-1: color(display-p3 .675 .024 .024 / .012);--colors-red-light-p3-a-2: color(display-p3 .863 .024 .024 / .028);--colors-red-light-p3-a-3: color(display-p3 .792 .008 .008 / .075);--colors-red-light-p3-a-4: color(display-p3 1 .008 .008 / .134);--colors-red-light-p3-a-5: color(display-p3 .918 .008 .008 / .189);--colors-red-light-p3-a-6: color(display-p3 .831 .02 .004 / .251);--colors-red-light-p3-a-7: color(display-p3 .741 .016 .004 / .33);--colors-red-light-p3-a-8: color(display-p3 .698 .012 .004 / .428);--colors-red-light-p3-a-9: color(display-p3 .749 .008 0 / .675);--colors-red-light-p3-a-10: color(display-p3 .714 .012 0 / .714);--colors-red-light-p3-a-11: color(display-p3 .744 .234 .222);--colors-red-light-p3-a-12: color(display-p3 .36 .115 .143);--colors-red-dark-1: #191111;--colors-red-dark-2: #201314;--colors-red-dark-3: #3b1219;--colors-red-dark-4: #500f1c;--colors-red-dark-5: #611623;--colors-red-dark-6: #72232d;--colors-red-dark-7: #8c333a;--colors-red-dark-8: #b54548;--colors-red-dark-9: #e5484d;--colors-red-dark-10: #ec5d5e;--colors-red-dark-11: #ff9592;--colors-red-dark-12: #ffd1d9;--colors-red-dark-a-1: #f4121209;--colors-red-dark-a-2: #f22f3e11;--colors-red-dark-a-3: #ff173f2d;--colors-red-dark-a-4: #fe0a3b44;--colors-red-dark-a-5: #ff204756;--colors-red-dark-a-6: #ff3e5668;--colors-red-dark-a-7: #ff536184;--colors-red-dark-a-8: #ff5d61b0;--colors-red-dark-a-9: #fe4e54e4;--colors-red-dark-a-10: #ff6465eb;--colors-red-dark-a-11: #ff9592;--colors-red-dark-a-12: #ffd1d9;--colors-red-dark-p3-1: color(display-p3 .093 .068 .067);--colors-red-dark-p3-2: color(display-p3 .118 .077 .079);--colors-red-dark-p3-3: color(display-p3 .211 .081 .099);--colors-red-dark-p3-4: color(display-p3 .287 .079 .113);--colors-red-dark-p3-5: color(display-p3 .348 .11 .142);--colors-red-dark-p3-6: color(display-p3 .414 .16 .183);--colors-red-dark-p3-7: color(display-p3 .508 .224 .236);--colors-red-dark-p3-8: color(display-p3 .659 .298 .297);--colors-red-dark-p3-9: color(display-p3 .83 .329 .324);--colors-red-dark-p3-10: color(display-p3 .861 .403 .387);--colors-red-dark-p3-11: color(display-p3 1 .57 .55);--colors-red-dark-p3-12: color(display-p3 .971 .826 .852);--colors-red-dark-p3-a-1: color(display-p3 .984 .071 .071 / .03);--colors-red-dark-p3-a-2: color(display-p3 .996 .282 .282 / .055);--colors-red-dark-p3-a-3: color(display-p3 1 .169 .271 / .156);--colors-red-dark-p3-a-4: color(display-p3 1 .118 .267 / .236);--colors-red-dark-p3-a-5: color(display-p3 1 .212 .314 / .303);--colors-red-dark-p3-a-6: color(display-p3 1 .318 .38 / .374);--colors-red-dark-p3-a-7: color(display-p3 1 .4 .424 / .475);--colors-red-dark-p3-a-8: color(display-p3 1 .431 .431 / .635);--colors-red-dark-p3-a-9: color(display-p3 1 .388 .384 / .82);--colors-red-dark-p3-a-10: color(display-p3 1 .463 .447 / .853);--colors-red-dark-p3-a-11: color(display-p3 1 .57 .55);--colors-red-dark-p3-a-12: color(display-p3 .971 .826 .852);--colors-red-a-1: var(--colors-red-light-a-1);--colors-red-a-2: var(--colors-red-light-a-2);--colors-red-a-3: var(--colors-red-light-a-3);--colors-red-a-4: var(--colors-red-light-a-4);--colors-red-a-5: var(--colors-red-light-a-5);--colors-red-a-6: var(--colors-red-light-a-6);--colors-red-a-7: var(--colors-red-light-a-7);--colors-red-a-8: var(--colors-red-light-a-8);--colors-red-a-9: var(--colors-red-light-a-9);--colors-red-a-10: var(--colors-red-light-a-10);--colors-red-a-11: var(--colors-red-light-a-11);--colors-red-a-12: var(--colors-red-light-a-12);--colors-red-p3-1: var(--colors-red-light-p3-1);--colors-red-p3-2: var(--colors-red-light-p3-2);--colors-red-p3-3: var(--colors-red-light-p3-3);--colors-red-p3-4: var(--colors-red-light-p3-4);--colors-red-p3-5: var(--colors-red-light-p3-5);--colors-red-p3-6: var(--colors-red-light-p3-6);--colors-red-p3-7: var(--colors-red-light-p3-7);--colors-red-p3-8: var(--colors-red-light-p3-8);--colors-red-p3-9: var(--colors-red-light-p3-9);--colors-red-p3-10: var(--colors-red-light-p3-10);--colors-red-p3-11: var(--colors-red-light-p3-11);--colors-red-p3-12: var(--colors-red-light-p3-12);--colors-red-p3-a-1: var(--colors-red-light-p3-a-1);--colors-red-p3-a-2: var(--colors-red-light-p3-a-2);--colors-red-p3-a-3: var(--colors-red-light-p3-a-3);--colors-red-p3-a-4: var(--colors-red-light-p3-a-4);--colors-red-p3-a-5: var(--colors-red-light-p3-a-5);--colors-red-p3-a-6: var(--colors-red-light-p3-a-6);--colors-red-p3-a-7: var(--colors-red-light-p3-a-7);--colors-red-p3-a-8: var(--colors-red-light-p3-a-8);--colors-red-p3-a-9: var(--colors-red-light-p3-a-9);--colors-red-p3-a-10: var(--colors-red-light-p3-a-10);--colors-red-p3-a-11: var(--colors-red-light-p3-a-11);--colors-red-p3-a-12: var(--colors-red-light-p3-a-12);--colors-ruby-1: var(--colors-ruby-light-1);--colors-ruby-2: var(--colors-ruby-light-2);--colors-ruby-3: var(--colors-ruby-light-3);--colors-ruby-4: var(--colors-ruby-light-4);--colors-ruby-5: var(--colors-ruby-light-5);--colors-ruby-6: var(--colors-ruby-light-6);--colors-ruby-7: var(--colors-ruby-light-7);--colors-ruby-8: var(--colors-ruby-light-8);--colors-ruby-9: var(--colors-ruby-light-9);--colors-ruby-10: var(--colors-ruby-light-10);--colors-ruby-11: var(--colors-ruby-light-11);--colors-ruby-12: var(--colors-ruby-light-12);--colors-ruby-light-1: #fffcfd;--colors-ruby-light-2: #fff7f8;--colors-ruby-light-3: #feeaed;--colors-ruby-light-4: #ffdce1;--colors-ruby-light-5: #ffced6;--colors-ruby-light-6: #f8bfc8;--colors-ruby-light-7: #efacb8;--colors-ruby-light-8: #e592a3;--colors-ruby-light-9: #e54666;--colors-ruby-light-10: #dc3b5d;--colors-ruby-light-11: #ca244d;--colors-ruby-light-12: #64172b;--colors-ruby-light-a-1: #ff005503;--colors-ruby-light-a-2: #ff002008;--colors-ruby-light-a-3: #f3002515;--colors-ruby-light-a-4: #ff002523;--colors-ruby-light-a-5: #ff002a31;--colors-ruby-light-a-6: #e4002440;--colors-ruby-light-a-7: #ce002553;--colors-ruby-light-a-8: #c300286d;--colors-ruby-light-a-9: #db002cb9;--colors-ruby-light-a-10: #d2002cc4;--colors-ruby-light-a-11: #c10030db;--colors-ruby-light-a-12: #550016e8;--colors-ruby-light-p3-1: color(display-p3 .998 .989 .992);--colors-ruby-light-p3-2: color(display-p3 .995 .971 .974);--colors-ruby-light-p3-3: color(display-p3 .983 .92 .928);--colors-ruby-light-p3-4: color(display-p3 .987 .869 .885);--colors-ruby-light-p3-5: color(display-p3 .968 .817 .839);--colors-ruby-light-p3-6: color(display-p3 .937 .758 .786);--colors-ruby-light-p3-7: color(display-p3 .897 .685 .721);--colors-ruby-light-p3-8: color(display-p3 .851 .588 .639);--colors-ruby-light-p3-9: color(display-p3 .83 .323 .408);--colors-ruby-light-p3-10: color(display-p3 .795 .286 .375);--colors-ruby-light-p3-11: color(display-p3 .728 .211 .311);--colors-ruby-light-p3-12: color(display-p3 .36 .115 .171);--colors-ruby-light-p3-a-1: color(display-p3 .675 .024 .349 / .012);--colors-ruby-light-p3-a-2: color(display-p3 .863 .024 .024 / .028);--colors-ruby-light-p3-a-3: color(display-p3 .804 .008 .11 / .079);--colors-ruby-light-p3-a-4: color(display-p3 .91 .008 .125 / .13);--colors-ruby-light-p3-a-5: color(display-p3 .831 .004 .133 / .185);--colors-ruby-light-p3-a-6: color(display-p3 .745 .004 .118 / .244);--colors-ruby-light-p3-a-7: color(display-p3 .678 .004 .114 / .314);--colors-ruby-light-p3-a-8: color(display-p3 .639 .004 .125 / .412);--colors-ruby-light-p3-a-9: color(display-p3 .753 0 .129 / .679);--colors-ruby-light-p3-a-10: color(display-p3 .714 0 .125 / .714);--colors-ruby-light-p3-a-11: color(display-p3 .728 .211 .311);--colors-ruby-light-p3-a-12: color(display-p3 .36 .115 .171);--colors-ruby-dark-1: #191113;--colors-ruby-dark-2: #1e1517;--colors-ruby-dark-3: #3a141e;--colors-ruby-dark-4: #4e1325;--colors-ruby-dark-5: #5e1a2e;--colors-ruby-dark-6: #6f2539;--colors-ruby-dark-7: #883447;--colors-ruby-dark-8: #b3445a;--colors-ruby-dark-9: #e54666;--colors-ruby-dark-10: #ec5a72;--colors-ruby-dark-11: #ff949d;--colors-ruby-dark-12: #fed2e1;--colors-ruby-dark-a-1: #f4124a09;--colors-ruby-dark-a-2: #fe5a7f0e;--colors-ruby-dark-a-3: #ff235d2c;--colors-ruby-dark-a-4: #fd195e42;--colors-ruby-dark-a-5: #fe2d6b53;--colors-ruby-dark-a-6: #ff447665;--colors-ruby-dark-a-7: #ff577d80;--colors-ruby-dark-a-8: #ff5c7cae;--colors-ruby-dark-a-9: #fe4c70e4;--colors-ruby-dark-a-10: #ff617beb;--colors-ruby-dark-a-11: #ff949d;--colors-ruby-dark-a-12: #ffd3e2fe;--colors-ruby-dark-p3-1: color(display-p3 .093 .068 .074);--colors-ruby-dark-p3-2: color(display-p3 .113 .083 .089);--colors-ruby-dark-p3-3: color(display-p3 .208 .088 .117);--colors-ruby-dark-p3-4: color(display-p3 .279 .092 .147);--colors-ruby-dark-p3-5: color(display-p3 .337 .12 .18);--colors-ruby-dark-p3-6: color(display-p3 .401 .166 .223);--colors-ruby-dark-p3-7: color(display-p3 .495 .224 .281);--colors-ruby-dark-p3-8: color(display-p3 .652 .295 .359);--colors-ruby-dark-p3-9: color(display-p3 .83 .323 .408);--colors-ruby-dark-p3-10: color(display-p3 .857 .392 .455);--colors-ruby-dark-p3-11: color(display-p3 1 .57 .59);--colors-ruby-dark-p3-12: color(display-p3 .968 .83 .88);--colors-ruby-dark-p3-a-1: color(display-p3 .984 .071 .329 / .03);--colors-ruby-dark-p3-a-2: color(display-p3 .992 .376 .529 / .051);--colors-ruby-dark-p3-a-3: color(display-p3 .996 .196 .404 / .152);--colors-ruby-dark-p3-a-4: color(display-p3 1 .173 .416 / .227);--colors-ruby-dark-p3-a-5: color(display-p3 1 .259 .459 / .29);--colors-ruby-dark-p3-a-6: color(display-p3 1 .341 .506 / .358);--colors-ruby-dark-p3-a-7: color(display-p3 1 .412 .541 / .458);--colors-ruby-dark-p3-a-8: color(display-p3 1 .431 .537 / .627);--colors-ruby-dark-p3-a-9: color(display-p3 1 .376 .482 / .82);--colors-ruby-dark-p3-a-10: color(display-p3 1 .447 .522 / .849);--colors-ruby-dark-p3-a-11: color(display-p3 1 .57 .59);--colors-ruby-dark-p3-a-12: color(display-p3 .968 .83 .88);--colors-ruby-a-1: var(--colors-ruby-light-a-1);--colors-ruby-a-2: var(--colors-ruby-light-a-2);--colors-ruby-a-3: var(--colors-ruby-light-a-3);--colors-ruby-a-4: var(--colors-ruby-light-a-4);--colors-ruby-a-5: var(--colors-ruby-light-a-5);--colors-ruby-a-6: var(--colors-ruby-light-a-6);--colors-ruby-a-7: var(--colors-ruby-light-a-7);--colors-ruby-a-8: var(--colors-ruby-light-a-8);--colors-ruby-a-9: var(--colors-ruby-light-a-9);--colors-ruby-a-10: var(--colors-ruby-light-a-10);--colors-ruby-a-11: var(--colors-ruby-light-a-11);--colors-ruby-a-12: var(--colors-ruby-light-a-12);--colors-ruby-p3-1: var(--colors-ruby-light-p3-1);--colors-ruby-p3-2: var(--colors-ruby-light-p3-2);--colors-ruby-p3-3: var(--colors-ruby-light-p3-3);--colors-ruby-p3-4: var(--colors-ruby-light-p3-4);--colors-ruby-p3-5: var(--colors-ruby-light-p3-5);--colors-ruby-p3-6: var(--colors-ruby-light-p3-6);--colors-ruby-p3-7: var(--colors-ruby-light-p3-7);--colors-ruby-p3-8: var(--colors-ruby-light-p3-8);--colors-ruby-p3-9: var(--colors-ruby-light-p3-9);--colors-ruby-p3-10: var(--colors-ruby-light-p3-10);--colors-ruby-p3-11: var(--colors-ruby-light-p3-11);--colors-ruby-p3-12: var(--colors-ruby-light-p3-12);--colors-ruby-p3-a-1: var(--colors-ruby-light-p3-a-1);--colors-ruby-p3-a-2: var(--colors-ruby-light-p3-a-2);--colors-ruby-p3-a-3: var(--colors-ruby-light-p3-a-3);--colors-ruby-p3-a-4: var(--colors-ruby-light-p3-a-4);--colors-ruby-p3-a-5: var(--colors-ruby-light-p3-a-5);--colors-ruby-p3-a-6: var(--colors-ruby-light-p3-a-6);--colors-ruby-p3-a-7: var(--colors-ruby-light-p3-a-7);--colors-ruby-p3-a-8: var(--colors-ruby-light-p3-a-8);--colors-ruby-p3-a-9: var(--colors-ruby-light-p3-a-9);--colors-ruby-p3-a-10: var(--colors-ruby-light-p3-a-10);--colors-ruby-p3-a-11: var(--colors-ruby-light-p3-a-11);--colors-ruby-p3-a-12: var(--colors-ruby-light-p3-a-12);--colors-teal-1: var(--colors-teal-light-1);--colors-teal-2: var(--colors-teal-light-2);--colors-teal-3: var(--colors-teal-light-3);--colors-teal-4: var(--colors-teal-light-4);--colors-teal-5: var(--colors-teal-light-5);--colors-teal-6: var(--colors-teal-light-6);--colors-teal-7: var(--colors-teal-light-7);--colors-teal-8: var(--colors-teal-light-8);--colors-teal-9: var(--colors-teal-light-9);--colors-teal-10: var(--colors-teal-light-10);--colors-teal-11: var(--colors-teal-light-11);--colors-teal-12: var(--colors-teal-light-12);--colors-teal-light-1: #fafefd;--colors-teal-light-2: #f3fbf9;--colors-teal-light-3: #e0f8f3;--colors-teal-light-4: #ccf3ea;--colors-teal-light-5: #b8eae0;--colors-teal-light-6: #a1ded2;--colors-teal-light-7: #83cdc1;--colors-teal-light-8: #53b9ab;--colors-teal-light-9: #12a594;--colors-teal-light-10: #0d9b8a;--colors-teal-light-11: #008573;--colors-teal-light-12: #0d3d38;--colors-teal-light-a-1: #00cc9905;--colors-teal-light-a-2: #00aa800c;--colors-teal-light-a-3: #00c69d1f;--colors-teal-light-a-4: #00c39633;--colors-teal-light-a-5: #00b49047;--colors-teal-light-a-6: #00a6855e;--colors-teal-light-a-7: #0099807c;--colors-teal-light-a-8: #009783ac;--colors-teal-light-a-9: #009e8ced;--colors-teal-light-a-10: #009684f2;--colors-teal-light-a-11: #008573;--colors-teal-light-a-12: #00332df2;--colors-teal-light-p3-1: color(display-p3 .983 .996 .992);--colors-teal-light-p3-2: color(display-p3 .958 .983 .976);--colors-teal-light-p3-3: color(display-p3 .895 .971 .952);--colors-teal-light-p3-4: color(display-p3 .831 .949 .92);--colors-teal-light-p3-5: color(display-p3 .761 .914 .878);--colors-teal-light-p3-6: color(display-p3 .682 .864 .825);--colors-teal-light-p3-7: color(display-p3 .581 .798 .756);--colors-teal-light-p3-8: color(display-p3 .433 .716 .671);--colors-teal-light-p3-9: color(display-p3 .297 .637 .581);--colors-teal-light-p3-10: color(display-p3 .275 .599 .542);--colors-teal-light-p3-11: color(display-p3 .08 .5 .43);--colors-teal-light-p3-12: color(display-p3 .11 .235 .219);--colors-teal-light-p3-a-1: color(display-p3 .024 .757 .514 / .016);--colors-teal-light-p3-a-2: color(display-p3 .02 .647 .467 / .044);--colors-teal-light-p3-a-3: color(display-p3 .004 .741 .557 / .106);--colors-teal-light-p3-a-4: color(display-p3 .004 .702 .537 / .169);--colors-teal-light-p3-a-5: color(display-p3 .004 .643 .494 / .24);--colors-teal-light-p3-a-6: color(display-p3 .004 .569 .447 / .318);--colors-teal-light-p3-a-7: color(display-p3 .004 .518 .424 / .42);--colors-teal-light-p3-a-8: color(display-p3 0 .506 .424 / .569);--colors-teal-light-p3-a-9: color(display-p3 0 .482 .404 / .702);--colors-teal-light-p3-a-10: color(display-p3 0 .451 .369 / .726);--colors-teal-light-p3-a-11: color(display-p3 .08 .5 .43);--colors-teal-light-p3-a-12: color(display-p3 .11 .235 .219);--colors-teal-dark-1: #0d1514;--colors-teal-dark-2: #111c1b;--colors-teal-dark-3: #0d2d2a;--colors-teal-dark-4: #023b37;--colors-teal-dark-5: #084843;--colors-teal-dark-6: #145750;--colors-teal-dark-7: #1c6961;--colors-teal-dark-8: #207e73;--colors-teal-dark-9: #12a594;--colors-teal-dark-10: #0eb39e;--colors-teal-dark-11: #0bd8b6;--colors-teal-dark-12: #adf0dd;--colors-teal-dark-a-1: #00deab05;--colors-teal-dark-a-2: #12fbe60c;--colors-teal-dark-a-3: #00ffe61e;--colors-teal-dark-a-4: #00ffe92d;--colors-teal-dark-a-5: #00ffea3b;--colors-teal-dark-a-6: #1cffe84b;--colors-teal-dark-a-7: #2efde85f;--colors-teal-dark-a-8: #32ffe775;--colors-teal-dark-a-9: #13ffe49f;--colors-teal-dark-a-10: #0dffe0ae;--colors-teal-dark-a-11: #0afed5d6;--colors-teal-dark-a-12: #b8ffebef;--colors-teal-dark-p3-1: color(display-p3 .059 .083 .079);--colors-teal-dark-p3-2: color(display-p3 .075 .11 .107);--colors-teal-dark-p3-3: color(display-p3 .087 .175 .165);--colors-teal-dark-p3-4: color(display-p3 .087 .227 .214);--colors-teal-dark-p3-5: color(display-p3 .12 .277 .261);--colors-teal-dark-p3-6: color(display-p3 .162 .335 .314);--colors-teal-dark-p3-7: color(display-p3 .205 .406 .379);--colors-teal-dark-p3-8: color(display-p3 .245 .489 .453);--colors-teal-dark-p3-9: color(display-p3 .297 .637 .581);--colors-teal-dark-p3-10: color(display-p3 .319 .69 .62);--colors-teal-dark-p3-11: color(display-p3 .388 .835 .719);--colors-teal-dark-p3-12: color(display-p3 .734 .934 .87);--colors-teal-dark-p3-a-1: color(display-p3 0 .992 .761 / .017);--colors-teal-dark-p3-a-2: color(display-p3 .235 .988 .902 / .047);--colors-teal-dark-p3-a-3: color(display-p3 .235 1 .898 / .118);--colors-teal-dark-p3-a-4: color(display-p3 .18 .996 .929 / .173);--colors-teal-dark-p3-a-5: color(display-p3 .31 1 .933 / .227);--colors-teal-dark-p3-a-6: color(display-p3 .396 1 .933 / .286);--colors-teal-dark-p3-a-7: color(display-p3 .443 1 .925 / .366);--colors-teal-dark-p3-a-8: color(display-p3 .459 1 .925 / .454);--colors-teal-dark-p3-a-9: color(display-p3 .443 .996 .906 / .61);--colors-teal-dark-p3-a-10: color(display-p3 .439 .996 .89 / .669);--colors-teal-dark-p3-a-11: color(display-p3 .388 .835 .719);--colors-teal-dark-p3-a-12: color(display-p3 .734 .934 .87);--colors-teal-a-1: var(--colors-teal-light-a-1);--colors-teal-a-2: var(--colors-teal-light-a-2);--colors-teal-a-3: var(--colors-teal-light-a-3);--colors-teal-a-4: var(--colors-teal-light-a-4);--colors-teal-a-5: var(--colors-teal-light-a-5);--colors-teal-a-6: var(--colors-teal-light-a-6);--colors-teal-a-7: var(--colors-teal-light-a-7);--colors-teal-a-8: var(--colors-teal-light-a-8);--colors-teal-a-9: var(--colors-teal-light-a-9);--colors-teal-a-10: var(--colors-teal-light-a-10);--colors-teal-a-11: var(--colors-teal-light-a-11);--colors-teal-a-12: var(--colors-teal-light-a-12);--colors-teal-p3-1: var(--colors-teal-light-p3-1);--colors-teal-p3-2: var(--colors-teal-light-p3-2);--colors-teal-p3-3: var(--colors-teal-light-p3-3);--colors-teal-p3-4: var(--colors-teal-light-p3-4);--colors-teal-p3-5: var(--colors-teal-light-p3-5);--colors-teal-p3-6: var(--colors-teal-light-p3-6);--colors-teal-p3-7: var(--colors-teal-light-p3-7);--colors-teal-p3-8: var(--colors-teal-light-p3-8);--colors-teal-p3-9: var(--colors-teal-light-p3-9);--colors-teal-p3-10: var(--colors-teal-light-p3-10);--colors-teal-p3-11: var(--colors-teal-light-p3-11);--colors-teal-p3-12: var(--colors-teal-light-p3-12);--colors-teal-p3-a-1: var(--colors-teal-light-p3-a-1);--colors-teal-p3-a-2: var(--colors-teal-light-p3-a-2);--colors-teal-p3-a-3: var(--colors-teal-light-p3-a-3);--colors-teal-p3-a-4: var(--colors-teal-light-p3-a-4);--colors-teal-p3-a-5: var(--colors-teal-light-p3-a-5);--colors-teal-p3-a-6: var(--colors-teal-light-p3-a-6);--colors-teal-p3-a-7: var(--colors-teal-light-p3-a-7);--colors-teal-p3-a-8: var(--colors-teal-light-p3-a-8);--colors-teal-p3-a-9: var(--colors-teal-light-p3-a-9);--colors-teal-p3-a-10: var(--colors-teal-light-p3-a-10);--colors-teal-p3-a-11: var(--colors-teal-light-p3-a-11);--colors-teal-p3-a-12: var(--colors-teal-light-p3-a-12);--colors-tomato-1: var(--colors-tomato-light-1);--colors-tomato-2: var(--colors-tomato-light-2);--colors-tomato-3: var(--colors-tomato-light-3);--colors-tomato-4: var(--colors-tomato-light-4);--colors-tomato-5: var(--colors-tomato-light-5);--colors-tomato-6: var(--colors-tomato-light-6);--colors-tomato-7: var(--colors-tomato-light-7);--colors-tomato-8: var(--colors-tomato-light-8);--colors-tomato-9: var(--colors-tomato-light-9);--colors-tomato-10: var(--colors-tomato-light-10);--colors-tomato-11: var(--colors-tomato-light-11);--colors-tomato-12: var(--colors-tomato-light-12);--colors-tomato-light-1: #fffcfc;--colors-tomato-light-2: #fff8f7;--colors-tomato-light-3: #feebe7;--colors-tomato-light-4: #ffdcd3;--colors-tomato-light-5: #ffcdc2;--colors-tomato-light-6: #fdbdaf;--colors-tomato-light-7: #f5a898;--colors-tomato-light-8: #ec8e7b;--colors-tomato-light-9: #e54d2e;--colors-tomato-light-10: #dd4425;--colors-tomato-light-11: #d13415;--colors-tomato-light-12: #5c271f;--colors-tomato-light-a-1: #ff000003;--colors-tomato-light-a-2: #ff200008;--colors-tomato-light-a-3: #f52b0018;--colors-tomato-light-a-4: #ff35002c;--colors-tomato-light-a-5: #ff2e003d;--colors-tomato-light-a-6: #f92d0050;--colors-tomato-light-a-7: #e7280067;--colors-tomato-light-a-8: #db250084;--colors-tomato-light-a-9: #df2600d1;--colors-tomato-light-a-10: #d72400da;--colors-tomato-light-a-11: #cd2200ea;--colors-tomato-light-a-12: #460900e0;--colors-tomato-light-p3-1: color(display-p3 .998 .989 .988);--colors-tomato-light-p3-2: color(display-p3 .994 .974 .969);--colors-tomato-light-p3-3: color(display-p3 .985 .924 .909);--colors-tomato-light-p3-4: color(display-p3 .996 .868 .835);--colors-tomato-light-p3-5: color(display-p3 .98 .812 .77);--colors-tomato-light-p3-6: color(display-p3 .953 .75 .698);--colors-tomato-light-p3-7: color(display-p3 .917 .673 .611);--colors-tomato-light-p3-8: color(display-p3 .875 .575 .502);--colors-tomato-light-p3-9: color(display-p3 .831 .345 .231);--colors-tomato-light-p3-10: color(display-p3 .802 .313 .2);--colors-tomato-light-p3-11: color(display-p3 .755 .259 .152);--colors-tomato-light-p3-12: color(display-p3 .335 .165 .132);--colors-tomato-light-p3-a-1: color(display-p3 .675 .024 .024 / .012);--colors-tomato-light-p3-a-2: color(display-p3 .757 .145 .02 / .032);--colors-tomato-light-p3-a-3: color(display-p3 .831 .184 .012 / .091);--colors-tomato-light-p3-a-4: color(display-p3 .976 .192 .004 / .165);--colors-tomato-light-p3-a-5: color(display-p3 .918 .192 .004 / .232);--colors-tomato-light-p3-a-6: color(display-p3 .847 .173 .004 / .302);--colors-tomato-light-p3-a-7: color(display-p3 .788 .165 .004 / .389);--colors-tomato-light-p3-a-8: color(display-p3 .749 .153 .004 / .499);--colors-tomato-light-p3-a-9: color(display-p3 .78 .149 0 / .769);--colors-tomato-light-p3-a-10: color(display-p3 .757 .141 0 / .8);--colors-tomato-light-p3-a-11: color(display-p3 .755 .259 .152);--colors-tomato-light-p3-a-12: color(display-p3 .335 .165 .132);--colors-tomato-dark-1: #181111;--colors-tomato-dark-2: #1f1513;--colors-tomato-dark-3: #391714;--colors-tomato-dark-4: #4e1511;--colors-tomato-dark-5: #5e1c16;--colors-tomato-dark-6: #6e2920;--colors-tomato-dark-7: #853a2d;--colors-tomato-dark-8: #ac4d39;--colors-tomato-dark-9: #e54d2e;--colors-tomato-dark-10: #ec6142;--colors-tomato-dark-11: #ff977d;--colors-tomato-dark-12: #fbd3cb;--colors-tomato-dark-a-1: #f1121208;--colors-tomato-dark-a-2: #ff55330f;--colors-tomato-dark-a-3: #ff35232b;--colors-tomato-dark-a-4: #fd201142;--colors-tomato-dark-a-5: #fe332153;--colors-tomato-dark-a-6: #ff4f3864;--colors-tomato-dark-a-7: #fd644a7d;--colors-tomato-dark-a-8: #fe6d4ea7;--colors-tomato-dark-a-9: #fe5431e4;--colors-tomato-dark-a-10: #ff6847eb;--colors-tomato-dark-a-11: #ff977d;--colors-tomato-dark-a-12: #ffd6cefb;--colors-tomato-dark-p3-1: color(display-p3 .09 .068 .067);--colors-tomato-dark-p3-2: color(display-p3 .115 .084 .076);--colors-tomato-dark-p3-3: color(display-p3 .205 .097 .083);--colors-tomato-dark-p3-4: color(display-p3 .282 .099 .077);--colors-tomato-dark-p3-5: color(display-p3 .339 .129 .101);--colors-tomato-dark-p3-6: color(display-p3 .398 .179 .141);--colors-tomato-dark-p3-7: color(display-p3 .487 .245 .194);--colors-tomato-dark-p3-8: color(display-p3 .629 .322 .248);--colors-tomato-dark-p3-9: color(display-p3 .831 .345 .231);--colors-tomato-dark-p3-10: color(display-p3 .862 .415 .298);--colors-tomato-dark-p3-11: color(display-p3 1 .585 .455);--colors-tomato-dark-p3-12: color(display-p3 .959 .833 .802);--colors-tomato-dark-p3-a-1: color(display-p3 .973 .071 .071 / .026);--colors-tomato-dark-p3-a-2: color(display-p3 .992 .376 .224 / .051);--colors-tomato-dark-p3-a-3: color(display-p3 .996 .282 .176 / .148);--colors-tomato-dark-p3-a-4: color(display-p3 1 .204 .118 / .232);--colors-tomato-dark-p3-a-5: color(display-p3 1 .286 .192 / .29);--colors-tomato-dark-p3-a-6: color(display-p3 1 .392 .278 / .353);--colors-tomato-dark-p3-a-7: color(display-p3 1 .459 .349 / .45);--colors-tomato-dark-p3-a-8: color(display-p3 1 .49 .369 / .601);--colors-tomato-dark-p3-a-9: color(display-p3 1 .408 .267 / .82);--colors-tomato-dark-p3-a-10: color(display-p3 1 .478 .341 / .853);--colors-tomato-dark-p3-a-11: color(display-p3 1 .585 .455);--colors-tomato-dark-p3-a-12: color(display-p3 .959 .833 .802);--colors-tomato-a-1: var(--colors-tomato-light-a-1);--colors-tomato-a-2: var(--colors-tomato-light-a-2);--colors-tomato-a-3: var(--colors-tomato-light-a-3);--colors-tomato-a-4: var(--colors-tomato-light-a-4);--colors-tomato-a-5: var(--colors-tomato-light-a-5);--colors-tomato-a-6: var(--colors-tomato-light-a-6);--colors-tomato-a-7: var(--colors-tomato-light-a-7);--colors-tomato-a-8: var(--colors-tomato-light-a-8);--colors-tomato-a-9: var(--colors-tomato-light-a-9);--colors-tomato-a-10: var(--colors-tomato-light-a-10);--colors-tomato-a-11: var(--colors-tomato-light-a-11);--colors-tomato-a-12: var(--colors-tomato-light-a-12);--colors-tomato-p3-1: var(--colors-tomato-light-p3-1);--colors-tomato-p3-2: var(--colors-tomato-light-p3-2);--colors-tomato-p3-3: var(--colors-tomato-light-p3-3);--colors-tomato-p3-4: var(--colors-tomato-light-p3-4);--colors-tomato-p3-5: var(--colors-tomato-light-p3-5);--colors-tomato-p3-6: var(--colors-tomato-light-p3-6);--colors-tomato-p3-7: var(--colors-tomato-light-p3-7);--colors-tomato-p3-8: var(--colors-tomato-light-p3-8);--colors-tomato-p3-9: var(--colors-tomato-light-p3-9);--colors-tomato-p3-10: var(--colors-tomato-light-p3-10);--colors-tomato-p3-11: var(--colors-tomato-light-p3-11);--colors-tomato-p3-12: var(--colors-tomato-light-p3-12);--colors-tomato-p3-a-1: var(--colors-tomato-light-p3-a-1);--colors-tomato-p3-a-2: var(--colors-tomato-light-p3-a-2);--colors-tomato-p3-a-3: var(--colors-tomato-light-p3-a-3);--colors-tomato-p3-a-4: var(--colors-tomato-light-p3-a-4);--colors-tomato-p3-a-5: var(--colors-tomato-light-p3-a-5);--colors-tomato-p3-a-6: var(--colors-tomato-light-p3-a-6);--colors-tomato-p3-a-7: var(--colors-tomato-light-p3-a-7);--colors-tomato-p3-a-8: var(--colors-tomato-light-p3-a-8);--colors-tomato-p3-a-9: var(--colors-tomato-light-p3-a-9);--colors-tomato-p3-a-10: var(--colors-tomato-light-p3-a-10);--colors-tomato-p3-a-11: var(--colors-tomato-light-p3-a-11);--colors-tomato-p3-a-12: var(--colors-tomato-light-p3-a-12);--colors-violet-1: var(--colors-violet-light-1);--colors-violet-2: var(--colors-violet-light-2);--colors-violet-3: var(--colors-violet-light-3);--colors-violet-4: var(--colors-violet-light-4);--colors-violet-5: var(--colors-violet-light-5);--colors-violet-6: var(--colors-violet-light-6);--colors-violet-7: var(--colors-violet-light-7);--colors-violet-8: var(--colors-violet-light-8);--colors-violet-9: var(--colors-violet-light-9);--colors-violet-10: var(--colors-violet-light-10);--colors-violet-11: var(--colors-violet-light-11);--colors-violet-12: var(--colors-violet-light-12);--colors-violet-light-1: #fdfcfe;--colors-violet-light-2: #faf8ff;--colors-violet-light-3: #f4f0fe;--colors-violet-light-4: #ebe4ff;--colors-violet-light-5: #e1d9ff;--colors-violet-light-6: #d4cafe;--colors-violet-light-7: #c2b5f5;--colors-violet-light-8: #aa99ec;--colors-violet-light-9: #6e56cf;--colors-violet-light-10: #654dc4;--colors-violet-light-11: #6550b9;--colors-violet-light-12: #2f265f;--colors-violet-light-a-1: #5500aa03;--colors-violet-light-a-2: #4900ff07;--colors-violet-light-a-3: #4400ee0f;--colors-violet-light-a-4: #4300ff1b;--colors-violet-light-a-5: #3600ff26;--colors-violet-light-a-6: #3100fb35;--colors-violet-light-a-7: #2d01dd4a;--colors-violet-light-a-8: #2b00d066;--colors-violet-light-a-9: #2400b7a9;--colors-violet-light-a-10: #2300abb2;--colors-violet-light-a-11: #1f0099af;--colors-violet-light-a-12: #0b0043d9;--colors-violet-light-p3-1: color(display-p3 .991 .988 .995);--colors-violet-light-p3-2: color(display-p3 .978 .974 .998);--colors-violet-light-p3-3: color(display-p3 .953 .943 .993);--colors-violet-light-p3-4: color(display-p3 .916 .897 1);--colors-violet-light-p3-5: color(display-p3 .876 .851 1);--colors-violet-light-p3-6: color(display-p3 .825 .793 .981);--colors-violet-light-p3-7: color(display-p3 .752 .712 .943);--colors-violet-light-p3-8: color(display-p3 .654 .602 .902);--colors-violet-light-p3-9: color(display-p3 .417 .341 .784);--colors-violet-light-p3-10: color(display-p3 .381 .306 .741);--colors-violet-light-p3-11: color(display-p3 .383 .317 .702);--colors-violet-light-p3-12: color(display-p3 .179 .15 .359);--colors-violet-light-p3-a-1: color(display-p3 .349 .024 .675 / .012);--colors-violet-light-p3-a-2: color(display-p3 .161 .024 .863 / .028);--colors-violet-light-p3-a-3: color(display-p3 .204 .004 .871 / .059);--colors-violet-light-p3-a-4: color(display-p3 .196 .004 1 / .102);--colors-violet-light-p3-a-5: color(display-p3 .165 .008 1 / .15);--colors-violet-light-p3-a-6: color(display-p3 .153 .004 .906 / .208);--colors-violet-light-p3-a-7: color(display-p3 .141 .004 .796 / .287);--colors-violet-light-p3-a-8: color(display-p3 .133 .004 .753 / .397);--colors-violet-light-p3-a-9: color(display-p3 .114 0 .675 / .659);--colors-violet-light-p3-a-10: color(display-p3 .11 0 .627 / .695);--colors-violet-light-p3-a-11: color(display-p3 .383 .317 .702);--colors-violet-light-p3-a-12: color(display-p3 .179 .15 .359);--colors-violet-dark-1: #14121f;--colors-violet-dark-2: #1b1525;--colors-violet-dark-3: #291f43;--colors-violet-dark-4: #33255b;--colors-violet-dark-5: #3c2e69;--colors-violet-dark-6: #473876;--colors-violet-dark-7: #56468b;--colors-violet-dark-8: #6958ad;--colors-violet-dark-9: #6e56cf;--colors-violet-dark-10: #7d66d9;--colors-violet-dark-11: #baa7ff;--colors-violet-dark-12: #e2ddfe;--colors-violet-dark-a-1: #4422ff0f;--colors-violet-dark-a-2: #853ff916;--colors-violet-dark-a-3: #8354fe36;--colors-violet-dark-a-4: #7d51fd50;--colors-violet-dark-a-5: #845ffd5f;--colors-violet-dark-a-6: #8f6cfd6d;--colors-violet-dark-a-7: #9879ff83;--colors-violet-dark-a-8: #977dfea8;--colors-violet-dark-a-9: #8668ffcc;--colors-violet-dark-a-10: #9176fed7;--colors-violet-dark-a-11: #baa7ff;--colors-violet-dark-a-12: #e3defffe;--colors-violet-dark-p3-1: color(display-p3 .077 .071 .118);--colors-violet-dark-p3-2: color(display-p3 .101 .084 .141);--colors-violet-dark-p3-3: color(display-p3 .154 .123 .256);--colors-violet-dark-p3-4: color(display-p3 .191 .148 .345);--colors-violet-dark-p3-5: color(display-p3 .226 .182 .396);--colors-violet-dark-p3-6: color(display-p3 .269 .223 .449);--colors-violet-dark-p3-7: color(display-p3 .326 .277 .53);--colors-violet-dark-p3-8: color(display-p3 .399 .346 .656);--colors-violet-dark-p3-9: color(display-p3 .417 .341 .784);--colors-violet-dark-p3-10: color(display-p3 .477 .402 .823);--colors-violet-dark-p3-11: color(display-p3 .72 .65 1);--colors-violet-dark-p3-12: color(display-p3 .883 .867 .986);--colors-violet-dark-p3-a-1: color(display-p3 .282 .141 .996 / .055);--colors-violet-dark-p3-a-2: color(display-p3 .51 .263 1 / .08);--colors-violet-dark-p3-a-3: color(display-p3 .494 .337 .996 / .202);--colors-violet-dark-p3-a-4: color(display-p3 .49 .345 1 / .299);--colors-violet-dark-p3-a-5: color(display-p3 .525 .392 1 / .353);--colors-violet-dark-p3-a-6: color(display-p3 .569 .455 1 / .408);--colors-violet-dark-p3-a-7: color(display-p3 .588 .494 1 / .496);--colors-violet-dark-p3-a-8: color(display-p3 .596 .51 1 / .631);--colors-violet-dark-p3-a-9: color(display-p3 .522 .424 1 / .769);--colors-violet-dark-p3-a-10: color(display-p3 .576 .482 1 / .811);--colors-violet-dark-p3-a-11: color(display-p3 .72 .65 1);--colors-violet-dark-p3-a-12: color(display-p3 .883 .867 .986);--colors-violet-a-1: var(--colors-violet-light-a-1);--colors-violet-a-2: var(--colors-violet-light-a-2);--colors-violet-a-3: var(--colors-violet-light-a-3);--colors-violet-a-4: var(--colors-violet-light-a-4);--colors-violet-a-5: var(--colors-violet-light-a-5);--colors-violet-a-6: var(--colors-violet-light-a-6);--colors-violet-a-7: var(--colors-violet-light-a-7);--colors-violet-a-8: var(--colors-violet-light-a-8);--colors-violet-a-9: var(--colors-violet-light-a-9);--colors-violet-a-10: var(--colors-violet-light-a-10);--colors-violet-a-11: var(--colors-violet-light-a-11);--colors-violet-a-12: var(--colors-violet-light-a-12);--colors-violet-p3-1: var(--colors-violet-light-p3-1);--colors-violet-p3-2: var(--colors-violet-light-p3-2);--colors-violet-p3-3: var(--colors-violet-light-p3-3);--colors-violet-p3-4: var(--colors-violet-light-p3-4);--colors-violet-p3-5: var(--colors-violet-light-p3-5);--colors-violet-p3-6: var(--colors-violet-light-p3-6);--colors-violet-p3-7: var(--colors-violet-light-p3-7);--colors-violet-p3-8: var(--colors-violet-light-p3-8);--colors-violet-p3-9: var(--colors-violet-light-p3-9);--colors-violet-p3-10: var(--colors-violet-light-p3-10);--colors-violet-p3-11: var(--colors-violet-light-p3-11);--colors-violet-p3-12: var(--colors-violet-light-p3-12);--colors-violet-p3-a-1: var(--colors-violet-light-p3-a-1);--colors-violet-p3-a-2: var(--colors-violet-light-p3-a-2);--colors-violet-p3-a-3: var(--colors-violet-light-p3-a-3);--colors-violet-p3-a-4: var(--colors-violet-light-p3-a-4);--colors-violet-p3-a-5: var(--colors-violet-light-p3-a-5);--colors-violet-p3-a-6: var(--colors-violet-light-p3-a-6);--colors-violet-p3-a-7: var(--colors-violet-light-p3-a-7);--colors-violet-p3-a-8: var(--colors-violet-light-p3-a-8);--colors-violet-p3-a-9: var(--colors-violet-light-p3-a-9);--colors-violet-p3-a-10: var(--colors-violet-light-p3-a-10);--colors-violet-p3-a-11: var(--colors-violet-light-p3-a-11);--colors-violet-p3-a-12: var(--colors-violet-light-p3-a-12);--colors-yellow-1: var(--colors-yellow-light-1);--colors-yellow-2: var(--colors-yellow-light-2);--colors-yellow-3: var(--colors-yellow-light-3);--colors-yellow-4: var(--colors-yellow-light-4);--colors-yellow-5: var(--colors-yellow-light-5);--colors-yellow-6: var(--colors-yellow-light-6);--colors-yellow-7: var(--colors-yellow-light-7);--colors-yellow-8: var(--colors-yellow-light-8);--colors-yellow-9: var(--colors-yellow-light-9);--colors-yellow-10: var(--colors-yellow-light-10);--colors-yellow-11: var(--colors-yellow-light-11);--colors-yellow-12: var(--colors-yellow-light-12);--colors-yellow-light-1: #fdfdf9;--colors-yellow-light-2: #fefce9;--colors-yellow-light-3: #fffab8;--colors-yellow-light-4: #fff394;--colors-yellow-light-5: #ffe770;--colors-yellow-light-6: #f3d768;--colors-yellow-light-7: #e4c767;--colors-yellow-light-8: #d5ae39;--colors-yellow-light-9: #ffe629;--colors-yellow-light-10: #ffdc00;--colors-yellow-light-11: #9e6c00;--colors-yellow-light-12: #473b1f;--colors-yellow-light-a-1: #aaaa0006;--colors-yellow-light-a-2: #f4dd0016;--colors-yellow-light-a-3: #ffee0047;--colors-yellow-light-a-4: #ffe3016b;--colors-yellow-light-a-5: #ffd5008f;--colors-yellow-light-a-6: #ebbc0097;--colors-yellow-light-a-7: #d2a10098;--colors-yellow-light-a-8: #c99700c6;--colors-yellow-light-a-9: #ffe100d6;--colors-yellow-light-a-10: #ffdc00;--colors-yellow-light-a-11: #9e6c00;--colors-yellow-light-a-12: #2e2000e0;--colors-yellow-light-p3-1: color(display-p3 .992 .992 .978);--colors-yellow-light-p3-2: color(display-p3 .995 .99 .922);--colors-yellow-light-p3-3: color(display-p3 .997 .982 .749);--colors-yellow-light-p3-4: color(display-p3 .992 .953 .627);--colors-yellow-light-p3-5: color(display-p3 .984 .91 .51);--colors-yellow-light-p3-6: color(display-p3 .934 .847 .474);--colors-yellow-light-p3-7: color(display-p3 .876 .785 .46);--colors-yellow-light-p3-8: color(display-p3 .811 .689 .313);--colors-yellow-light-p3-9: color(display-p3 1 .92 .22);--colors-yellow-light-p3-10: color(display-p3 .977 .868 .291);--colors-yellow-light-p3-11: color(display-p3 .6 .44 0);--colors-yellow-light-p3-12: color(display-p3 .271 .233 .137);--colors-yellow-light-p3-a-1: color(display-p3 .675 .675 .024 / .024);--colors-yellow-light-p3-a-2: color(display-p3 .953 .855 .008 / .079);--colors-yellow-light-p3-a-3: color(display-p3 .988 .925 .004 / .251);--colors-yellow-light-p3-a-4: color(display-p3 .98 .875 .004 / .373);--colors-yellow-light-p3-a-5: color(display-p3 .969 .816 .004 / .491);--colors-yellow-light-p3-a-6: color(display-p3 .875 .71 0 / .526);--colors-yellow-light-p3-a-7: color(display-p3 .769 .604 0 / .542);--colors-yellow-light-p3-a-8: color(display-p3 .725 .549 0 / .687);--colors-yellow-light-p3-a-9: color(display-p3 1 .898 0 / .781);--colors-yellow-light-p3-a-10: color(display-p3 .969 .812 0 / .71);--colors-yellow-light-p3-a-11: color(display-p3 .6 .44 0);--colors-yellow-light-p3-a-12: color(display-p3 .271 .233 .137);--colors-yellow-dark-1: #14120b;--colors-yellow-dark-2: #1b180f;--colors-yellow-dark-3: #2d2305;--colors-yellow-dark-4: #362b00;--colors-yellow-dark-5: #433500;--colors-yellow-dark-6: #524202;--colors-yellow-dark-7: #665417;--colors-yellow-dark-8: #836a21;--colors-yellow-dark-9: #ffe629;--colors-yellow-dark-10: #ffff57;--colors-yellow-dark-11: #f5e147;--colors-yellow-dark-12: #f6eeb4;--colors-yellow-dark-a-1: #d1510004;--colors-yellow-dark-a-2: #f9b4000b;--colors-yellow-dark-a-3: #ffaa001e;--colors-yellow-dark-a-4: #fdb70028;--colors-yellow-dark-a-5: #febb0036;--colors-yellow-dark-a-6: #fec40046;--colors-yellow-dark-a-7: #fdcb225c;--colors-yellow-dark-a-8: #fdca327b;--colors-yellow-dark-a-9: #ffe629;--colors-yellow-dark-a-10: #ffff57;--colors-yellow-dark-a-11: #fee949f5;--colors-yellow-dark-a-12: #fef6baf6;--colors-yellow-dark-p3-1: color(display-p3 .078 .069 .047);--colors-yellow-dark-p3-2: color(display-p3 .103 .094 .063);--colors-yellow-dark-p3-3: color(display-p3 .168 .137 .039);--colors-yellow-dark-p3-4: color(display-p3 .209 .169 0);--colors-yellow-dark-p3-5: color(display-p3 .255 .209 0);--colors-yellow-dark-p3-6: color(display-p3 .31 .261 .07);--colors-yellow-dark-p3-7: color(display-p3 .389 .331 .135);--colors-yellow-dark-p3-8: color(display-p3 .497 .42 .182);--colors-yellow-dark-p3-9: color(display-p3 1 .92 .22);--colors-yellow-dark-p3-10: color(display-p3 1 1 .456);--colors-yellow-dark-p3-11: color(display-p3 .948 .885 .392);--colors-yellow-dark-p3-12: color(display-p3 .959 .934 .731);--colors-yellow-dark-p3-a-1: color(display-p3 .973 .369 0 / .013);--colors-yellow-dark-p3-a-2: color(display-p3 .996 .792 0 / .038);--colors-yellow-dark-p3-a-3: color(display-p3 .996 .71 0 / .11);--colors-yellow-dark-p3-a-4: color(display-p3 .996 .741 0 / .152);--colors-yellow-dark-p3-a-5: color(display-p3 .996 .765 0 / .202);--colors-yellow-dark-p3-a-6: color(display-p3 .996 .816 .082 / .261);--colors-yellow-dark-p3-a-7: color(display-p3 1 .831 .263 / .345);--colors-yellow-dark-p3-a-8: color(display-p3 1 .831 .314 / .463);--colors-yellow-dark-p3-a-9: color(display-p3 1 .922 .22);--colors-yellow-dark-p3-a-10: color(display-p3 1 1 .455);--colors-yellow-dark-p3-a-11: color(display-p3 .948 .885 .392);--colors-yellow-dark-p3-a-12: color(display-p3 .959 .934 .731);--colors-yellow-a-1: var(--colors-yellow-light-a-1);--colors-yellow-a-2: var(--colors-yellow-light-a-2);--colors-yellow-a-3: var(--colors-yellow-light-a-3);--colors-yellow-a-4: var(--colors-yellow-light-a-4);--colors-yellow-a-5: var(--colors-yellow-light-a-5);--colors-yellow-a-6: var(--colors-yellow-light-a-6);--colors-yellow-a-7: var(--colors-yellow-light-a-7);--colors-yellow-a-8: var(--colors-yellow-light-a-8);--colors-yellow-a-9: var(--colors-yellow-light-a-9);--colors-yellow-a-10: var(--colors-yellow-light-a-10);--colors-yellow-a-11: var(--colors-yellow-light-a-11);--colors-yellow-a-12: var(--colors-yellow-light-a-12);--colors-yellow-p3-1: var(--colors-yellow-light-p3-1);--colors-yellow-p3-2: var(--colors-yellow-light-p3-2);--colors-yellow-p3-3: var(--colors-yellow-light-p3-3);--colors-yellow-p3-4: var(--colors-yellow-light-p3-4);--colors-yellow-p3-5: var(--colors-yellow-light-p3-5);--colors-yellow-p3-6: var(--colors-yellow-light-p3-6);--colors-yellow-p3-7: var(--colors-yellow-light-p3-7);--colors-yellow-p3-8: var(--colors-yellow-light-p3-8);--colors-yellow-p3-9: var(--colors-yellow-light-p3-9);--colors-yellow-p3-10: var(--colors-yellow-light-p3-10);--colors-yellow-p3-11: var(--colors-yellow-light-p3-11);--colors-yellow-p3-12: var(--colors-yellow-light-p3-12);--colors-yellow-p3-a-1: var(--colors-yellow-light-p3-a-1);--colors-yellow-p3-a-2: var(--colors-yellow-light-p3-a-2);--colors-yellow-p3-a-3: var(--colors-yellow-light-p3-a-3);--colors-yellow-p3-a-4: var(--colors-yellow-light-p3-a-4);--colors-yellow-p3-a-5: var(--colors-yellow-light-p3-a-5);--colors-yellow-p3-a-6: var(--colors-yellow-light-p3-a-6);--colors-yellow-p3-a-7: var(--colors-yellow-light-p3-a-7);--colors-yellow-p3-a-8: var(--colors-yellow-light-p3-a-8);--colors-yellow-p3-a-9: var(--colors-yellow-light-p3-a-9);--colors-yellow-p3-a-10: var(--colors-yellow-light-p3-a-10);--colors-yellow-p3-a-11: var(--colors-yellow-light-p3-a-11);--colors-yellow-p3-a-12: var(--colors-yellow-light-p3-a-12);--colors-likec4-background: var(--mantine-color-body);--colors-likec4-tag-bg: var(--colors-tomato-9);--colors-likec4-tag-bg-hover: var(--colors-tomato-10);--colors-likec4-tag-border: var(--colors-tomato-8);--colors-likec4-tag-text: var(--colors-tomato-12);--colors-likec4-panel-bg: var(--colors-mantine-colors-body);--colors-likec4-panel-border: transparent;--colors-likec4-panel-action-icon-text: color-mix(in srgb, var(--mantine-color-text) 80%, transparent);--colors-likec4-panel-action-icon-text-hover: var(--mantine-color-bright);--colors-likec4-panel-action-icon-text-disabled: var(--mantine-color-dimmed);--colors-likec4-panel-action-icon-bg: var(--colors-mantine-colors-gray\\[1\\]);--colors-likec4-panel-action-icon-bg-hover: var(--colors-mantine-colors-gray\\[2\\]);--colors-likec4-dropdown-bg: #FFF;--colors-likec4-dropdown-border: var(--colors-likec4-panel-border);--colors-likec4-overlay-backdrop: rgb(34 34 34);--colors-likec4-overlay-body: var(--mantine-color-body);--colors-likec4-overlay-border: color-mix(in srgb, var(--colors-mantine-colors-default-border) 50%, transparent)}[data-mantine-color-scheme=dark]{--colors-amber-1: var(--colors-amber-dark-1);--colors-amber-2: var(--colors-amber-dark-2);--colors-amber-3: var(--colors-amber-dark-3);--colors-amber-4: var(--colors-amber-dark-4);--colors-amber-5: var(--colors-amber-dark-5);--colors-amber-6: var(--colors-amber-dark-6);--colors-amber-7: var(--colors-amber-dark-7);--colors-amber-8: var(--colors-amber-dark-8);--colors-amber-9: var(--colors-amber-dark-9);--colors-amber-10: var(--colors-amber-dark-10);--colors-amber-11: var(--colors-amber-dark-11);--colors-amber-12: var(--colors-amber-dark-12);--colors-amber-a-1: var(--colors-amber-dark-a-1);--colors-amber-a-2: var(--colors-amber-dark-a-2);--colors-amber-a-3: var(--colors-amber-dark-a-3);--colors-amber-a-4: var(--colors-amber-dark-a-4);--colors-amber-a-5: var(--colors-amber-dark-a-5);--colors-amber-a-6: var(--colors-amber-dark-a-6);--colors-amber-a-7: var(--colors-amber-dark-a-7);--colors-amber-a-8: var(--colors-amber-dark-a-8);--colors-amber-a-9: var(--colors-amber-dark-a-9);--colors-amber-a-10: var(--colors-amber-dark-a-10);--colors-amber-a-11: var(--colors-amber-dark-a-11);--colors-amber-a-12: var(--colors-amber-dark-a-12);--colors-amber-p3-1: var(--colors-amber-dark-p3-1);--colors-amber-p3-2: var(--colors-amber-dark-p3-2);--colors-amber-p3-3: var(--colors-amber-dark-p3-3);--colors-amber-p3-4: var(--colors-amber-dark-p3-4);--colors-amber-p3-5: var(--colors-amber-dark-p3-5);--colors-amber-p3-6: var(--colors-amber-dark-p3-6);--colors-amber-p3-7: var(--colors-amber-dark-p3-7);--colors-amber-p3-8: var(--colors-amber-dark-p3-8);--colors-amber-p3-9: var(--colors-amber-dark-p3-9);--colors-amber-p3-10: var(--colors-amber-dark-p3-10);--colors-amber-p3-11: var(--colors-amber-dark-p3-11);--colors-amber-p3-12: var(--colors-amber-dark-p3-12);--colors-amber-p3-a-1: var(--colors-amber-dark-p3-a-1);--colors-amber-p3-a-2: var(--colors-amber-dark-p3-a-2);--colors-amber-p3-a-3: var(--colors-amber-dark-p3-a-3);--colors-amber-p3-a-4: var(--colors-amber-dark-p3-a-4);--colors-amber-p3-a-5: var(--colors-amber-dark-p3-a-5);--colors-amber-p3-a-6: var(--colors-amber-dark-p3-a-6);--colors-amber-p3-a-7: var(--colors-amber-dark-p3-a-7);--colors-amber-p3-a-8: var(--colors-amber-dark-p3-a-8);--colors-amber-p3-a-9: var(--colors-amber-dark-p3-a-9);--colors-amber-p3-a-10: var(--colors-amber-dark-p3-a-10);--colors-amber-p3-a-11: var(--colors-amber-dark-p3-a-11);--colors-amber-p3-a-12: var(--colors-amber-dark-p3-a-12);--colors-blue-1: var(--colors-blue-dark-1);--colors-blue-2: var(--colors-blue-dark-2);--colors-blue-3: var(--colors-blue-dark-3);--colors-blue-4: var(--colors-blue-dark-4);--colors-blue-5: var(--colors-blue-dark-5);--colors-blue-6: var(--colors-blue-dark-6);--colors-blue-7: var(--colors-blue-dark-7);--colors-blue-8: var(--colors-blue-dark-8);--colors-blue-9: var(--colors-blue-dark-9);--colors-blue-10: var(--colors-blue-dark-10);--colors-blue-11: var(--colors-blue-dark-11);--colors-blue-12: var(--colors-blue-dark-12);--colors-blue-a-1: var(--colors-blue-dark-a-1);--colors-blue-a-2: var(--colors-blue-dark-a-2);--colors-blue-a-3: var(--colors-blue-dark-a-3);--colors-blue-a-4: var(--colors-blue-dark-a-4);--colors-blue-a-5: var(--colors-blue-dark-a-5);--colors-blue-a-6: var(--colors-blue-dark-a-6);--colors-blue-a-7: var(--colors-blue-dark-a-7);--colors-blue-a-8: var(--colors-blue-dark-a-8);--colors-blue-a-9: var(--colors-blue-dark-a-9);--colors-blue-a-10: var(--colors-blue-dark-a-10);--colors-blue-a-11: var(--colors-blue-dark-a-11);--colors-blue-a-12: var(--colors-blue-dark-a-12);--colors-blue-p3-1: var(--colors-blue-dark-p3-1);--colors-blue-p3-2: var(--colors-blue-dark-p3-2);--colors-blue-p3-3: var(--colors-blue-dark-p3-3);--colors-blue-p3-4: var(--colors-blue-dark-p3-4);--colors-blue-p3-5: var(--colors-blue-dark-p3-5);--colors-blue-p3-6: var(--colors-blue-dark-p3-6);--colors-blue-p3-7: var(--colors-blue-dark-p3-7);--colors-blue-p3-8: var(--colors-blue-dark-p3-8);--colors-blue-p3-9: var(--colors-blue-dark-p3-9);--colors-blue-p3-10: var(--colors-blue-dark-p3-10);--colors-blue-p3-11: var(--colors-blue-dark-p3-11);--colors-blue-p3-12: var(--colors-blue-dark-p3-12);--colors-blue-p3-a-1: var(--colors-blue-dark-p3-a-1);--colors-blue-p3-a-2: var(--colors-blue-dark-p3-a-2);--colors-blue-p3-a-3: var(--colors-blue-dark-p3-a-3);--colors-blue-p3-a-4: var(--colors-blue-dark-p3-a-4);--colors-blue-p3-a-5: var(--colors-blue-dark-p3-a-5);--colors-blue-p3-a-6: var(--colors-blue-dark-p3-a-6);--colors-blue-p3-a-7: var(--colors-blue-dark-p3-a-7);--colors-blue-p3-a-8: var(--colors-blue-dark-p3-a-8);--colors-blue-p3-a-9: var(--colors-blue-dark-p3-a-9);--colors-blue-p3-a-10: var(--colors-blue-dark-p3-a-10);--colors-blue-p3-a-11: var(--colors-blue-dark-p3-a-11);--colors-blue-p3-a-12: var(--colors-blue-dark-p3-a-12);--colors-crimson-1: var(--colors-crimson-dark-1);--colors-crimson-2: var(--colors-crimson-dark-2);--colors-crimson-3: var(--colors-crimson-dark-3);--colors-crimson-4: var(--colors-crimson-dark-4);--colors-crimson-5: var(--colors-crimson-dark-5);--colors-crimson-6: var(--colors-crimson-dark-6);--colors-crimson-7: var(--colors-crimson-dark-7);--colors-crimson-8: var(--colors-crimson-dark-8);--colors-crimson-9: var(--colors-crimson-dark-9);--colors-crimson-10: var(--colors-crimson-dark-10);--colors-crimson-11: var(--colors-crimson-dark-11);--colors-crimson-12: var(--colors-crimson-dark-12);--colors-crimson-a-1: var(--colors-crimson-dark-a-1);--colors-crimson-a-2: var(--colors-crimson-dark-a-2);--colors-crimson-a-3: var(--colors-crimson-dark-a-3);--colors-crimson-a-4: var(--colors-crimson-dark-a-4);--colors-crimson-a-5: var(--colors-crimson-dark-a-5);--colors-crimson-a-6: var(--colors-crimson-dark-a-6);--colors-crimson-a-7: var(--colors-crimson-dark-a-7);--colors-crimson-a-8: var(--colors-crimson-dark-a-8);--colors-crimson-a-9: var(--colors-crimson-dark-a-9);--colors-crimson-a-10: var(--colors-crimson-dark-a-10);--colors-crimson-a-11: var(--colors-crimson-dark-a-11);--colors-crimson-a-12: var(--colors-crimson-dark-a-12);--colors-crimson-p3-1: var(--colors-crimson-dark-p3-1);--colors-crimson-p3-2: var(--colors-crimson-dark-p3-2);--colors-crimson-p3-3: var(--colors-crimson-dark-p3-3);--colors-crimson-p3-4: var(--colors-crimson-dark-p3-4);--colors-crimson-p3-5: var(--colors-crimson-dark-p3-5);--colors-crimson-p3-6: var(--colors-crimson-dark-p3-6);--colors-crimson-p3-7: var(--colors-crimson-dark-p3-7);--colors-crimson-p3-8: var(--colors-crimson-dark-p3-8);--colors-crimson-p3-9: var(--colors-crimson-dark-p3-9);--colors-crimson-p3-10: var(--colors-crimson-dark-p3-10);--colors-crimson-p3-11: var(--colors-crimson-dark-p3-11);--colors-crimson-p3-12: var(--colors-crimson-dark-p3-12);--colors-crimson-p3-a-1: var(--colors-crimson-dark-p3-a-1);--colors-crimson-p3-a-2: var(--colors-crimson-dark-p3-a-2);--colors-crimson-p3-a-3: var(--colors-crimson-dark-p3-a-3);--colors-crimson-p3-a-4: var(--colors-crimson-dark-p3-a-4);--colors-crimson-p3-a-5: var(--colors-crimson-dark-p3-a-5);--colors-crimson-p3-a-6: var(--colors-crimson-dark-p3-a-6);--colors-crimson-p3-a-7: var(--colors-crimson-dark-p3-a-7);--colors-crimson-p3-a-8: var(--colors-crimson-dark-p3-a-8);--colors-crimson-p3-a-9: var(--colors-crimson-dark-p3-a-9);--colors-crimson-p3-a-10: var(--colors-crimson-dark-p3-a-10);--colors-crimson-p3-a-11: var(--colors-crimson-dark-p3-a-11);--colors-crimson-p3-a-12: var(--colors-crimson-dark-p3-a-12);--colors-grass-1: var(--colors-grass-dark-1);--colors-grass-2: var(--colors-grass-dark-2);--colors-grass-3: var(--colors-grass-dark-3);--colors-grass-4: var(--colors-grass-dark-4);--colors-grass-5: var(--colors-grass-dark-5);--colors-grass-6: var(--colors-grass-dark-6);--colors-grass-7: var(--colors-grass-dark-7);--colors-grass-8: var(--colors-grass-dark-8);--colors-grass-9: var(--colors-grass-dark-9);--colors-grass-10: var(--colors-grass-dark-10);--colors-grass-11: var(--colors-grass-dark-11);--colors-grass-12: var(--colors-grass-dark-12);--colors-grass-a-1: var(--colors-grass-dark-a-1);--colors-grass-a-2: var(--colors-grass-dark-a-2);--colors-grass-a-3: var(--colors-grass-dark-a-3);--colors-grass-a-4: var(--colors-grass-dark-a-4);--colors-grass-a-5: var(--colors-grass-dark-a-5);--colors-grass-a-6: var(--colors-grass-dark-a-6);--colors-grass-a-7: var(--colors-grass-dark-a-7);--colors-grass-a-8: var(--colors-grass-dark-a-8);--colors-grass-a-9: var(--colors-grass-dark-a-9);--colors-grass-a-10: var(--colors-grass-dark-a-10);--colors-grass-a-11: var(--colors-grass-dark-a-11);--colors-grass-a-12: var(--colors-grass-dark-a-12);--colors-grass-p3-1: var(--colors-grass-dark-p3-1);--colors-grass-p3-2: var(--colors-grass-dark-p3-2);--colors-grass-p3-3: var(--colors-grass-dark-p3-3);--colors-grass-p3-4: var(--colors-grass-dark-p3-4);--colors-grass-p3-5: var(--colors-grass-dark-p3-5);--colors-grass-p3-6: var(--colors-grass-dark-p3-6);--colors-grass-p3-7: var(--colors-grass-dark-p3-7);--colors-grass-p3-8: var(--colors-grass-dark-p3-8);--colors-grass-p3-9: var(--colors-grass-dark-p3-9);--colors-grass-p3-10: var(--colors-grass-dark-p3-10);--colors-grass-p3-11: var(--colors-grass-dark-p3-11);--colors-grass-p3-12: var(--colors-grass-dark-p3-12);--colors-grass-p3-a-1: var(--colors-grass-dark-p3-a-1);--colors-grass-p3-a-2: var(--colors-grass-dark-p3-a-2);--colors-grass-p3-a-3: var(--colors-grass-dark-p3-a-3);--colors-grass-p3-a-4: var(--colors-grass-dark-p3-a-4);--colors-grass-p3-a-5: var(--colors-grass-dark-p3-a-5);--colors-grass-p3-a-6: var(--colors-grass-dark-p3-a-6);--colors-grass-p3-a-7: var(--colors-grass-dark-p3-a-7);--colors-grass-p3-a-8: var(--colors-grass-dark-p3-a-8);--colors-grass-p3-a-9: var(--colors-grass-dark-p3-a-9);--colors-grass-p3-a-10: var(--colors-grass-dark-p3-a-10);--colors-grass-p3-a-11: var(--colors-grass-dark-p3-a-11);--colors-grass-p3-a-12: var(--colors-grass-dark-p3-a-12);--colors-indigo-1: var(--colors-indigo-dark-1);--colors-indigo-2: var(--colors-indigo-dark-2);--colors-indigo-3: var(--colors-indigo-dark-3);--colors-indigo-4: var(--colors-indigo-dark-4);--colors-indigo-5: var(--colors-indigo-dark-5);--colors-indigo-6: var(--colors-indigo-dark-6);--colors-indigo-7: var(--colors-indigo-dark-7);--colors-indigo-8: var(--colors-indigo-dark-8);--colors-indigo-9: var(--colors-indigo-dark-9);--colors-indigo-10: var(--colors-indigo-dark-10);--colors-indigo-11: var(--colors-indigo-dark-11);--colors-indigo-12: var(--colors-indigo-dark-12);--colors-indigo-a-1: var(--colors-indigo-dark-a-1);--colors-indigo-a-2: var(--colors-indigo-dark-a-2);--colors-indigo-a-3: var(--colors-indigo-dark-a-3);--colors-indigo-a-4: var(--colors-indigo-dark-a-4);--colors-indigo-a-5: var(--colors-indigo-dark-a-5);--colors-indigo-a-6: var(--colors-indigo-dark-a-6);--colors-indigo-a-7: var(--colors-indigo-dark-a-7);--colors-indigo-a-8: var(--colors-indigo-dark-a-8);--colors-indigo-a-9: var(--colors-indigo-dark-a-9);--colors-indigo-a-10: var(--colors-indigo-dark-a-10);--colors-indigo-a-11: var(--colors-indigo-dark-a-11);--colors-indigo-a-12: var(--colors-indigo-dark-a-12);--colors-indigo-p3-1: var(--colors-indigo-dark-p3-1);--colors-indigo-p3-2: var(--colors-indigo-dark-p3-2);--colors-indigo-p3-3: var(--colors-indigo-dark-p3-3);--colors-indigo-p3-4: var(--colors-indigo-dark-p3-4);--colors-indigo-p3-5: var(--colors-indigo-dark-p3-5);--colors-indigo-p3-6: var(--colors-indigo-dark-p3-6);--colors-indigo-p3-7: var(--colors-indigo-dark-p3-7);--colors-indigo-p3-8: var(--colors-indigo-dark-p3-8);--colors-indigo-p3-9: var(--colors-indigo-dark-p3-9);--colors-indigo-p3-10: var(--colors-indigo-dark-p3-10);--colors-indigo-p3-11: var(--colors-indigo-dark-p3-11);--colors-indigo-p3-12: var(--colors-indigo-dark-p3-12);--colors-indigo-p3-a-1: var(--colors-indigo-dark-p3-a-1);--colors-indigo-p3-a-2: var(--colors-indigo-dark-p3-a-2);--colors-indigo-p3-a-3: var(--colors-indigo-dark-p3-a-3);--colors-indigo-p3-a-4: var(--colors-indigo-dark-p3-a-4);--colors-indigo-p3-a-5: var(--colors-indigo-dark-p3-a-5);--colors-indigo-p3-a-6: var(--colors-indigo-dark-p3-a-6);--colors-indigo-p3-a-7: var(--colors-indigo-dark-p3-a-7);--colors-indigo-p3-a-8: var(--colors-indigo-dark-p3-a-8);--colors-indigo-p3-a-9: var(--colors-indigo-dark-p3-a-9);--colors-indigo-p3-a-10: var(--colors-indigo-dark-p3-a-10);--colors-indigo-p3-a-11: var(--colors-indigo-dark-p3-a-11);--colors-indigo-p3-a-12: var(--colors-indigo-dark-p3-a-12);--colors-lime-1: var(--colors-lime-dark-1);--colors-lime-2: var(--colors-lime-dark-2);--colors-lime-3: var(--colors-lime-dark-3);--colors-lime-4: var(--colors-lime-dark-4);--colors-lime-5: var(--colors-lime-dark-5);--colors-lime-6: var(--colors-lime-dark-6);--colors-lime-7: var(--colors-lime-dark-7);--colors-lime-8: var(--colors-lime-dark-8);--colors-lime-9: var(--colors-lime-dark-9);--colors-lime-10: var(--colors-lime-dark-10);--colors-lime-11: var(--colors-lime-dark-11);--colors-lime-12: var(--colors-lime-dark-12);--colors-lime-a-1: var(--colors-lime-dark-a-1);--colors-lime-a-2: var(--colors-lime-dark-a-2);--colors-lime-a-3: var(--colors-lime-dark-a-3);--colors-lime-a-4: var(--colors-lime-dark-a-4);--colors-lime-a-5: var(--colors-lime-dark-a-5);--colors-lime-a-6: var(--colors-lime-dark-a-6);--colors-lime-a-7: var(--colors-lime-dark-a-7);--colors-lime-a-8: var(--colors-lime-dark-a-8);--colors-lime-a-9: var(--colors-lime-dark-a-9);--colors-lime-a-10: var(--colors-lime-dark-a-10);--colors-lime-a-11: var(--colors-lime-dark-a-11);--colors-lime-a-12: var(--colors-lime-dark-a-12);--colors-lime-p3-1: var(--colors-lime-dark-p3-1);--colors-lime-p3-2: var(--colors-lime-dark-p3-2);--colors-lime-p3-3: var(--colors-lime-dark-p3-3);--colors-lime-p3-4: var(--colors-lime-dark-p3-4);--colors-lime-p3-5: var(--colors-lime-dark-p3-5);--colors-lime-p3-6: var(--colors-lime-dark-p3-6);--colors-lime-p3-7: var(--colors-lime-dark-p3-7);--colors-lime-p3-8: var(--colors-lime-dark-p3-8);--colors-lime-p3-9: var(--colors-lime-dark-p3-9);--colors-lime-p3-10: var(--colors-lime-dark-p3-10);--colors-lime-p3-11: var(--colors-lime-dark-p3-11);--colors-lime-p3-12: var(--colors-lime-dark-p3-12);--colors-lime-p3-a-1: var(--colors-lime-dark-p3-a-1);--colors-lime-p3-a-2: var(--colors-lime-dark-p3-a-2);--colors-lime-p3-a-3: var(--colors-lime-dark-p3-a-3);--colors-lime-p3-a-4: var(--colors-lime-dark-p3-a-4);--colors-lime-p3-a-5: var(--colors-lime-dark-p3-a-5);--colors-lime-p3-a-6: var(--colors-lime-dark-p3-a-6);--colors-lime-p3-a-7: var(--colors-lime-dark-p3-a-7);--colors-lime-p3-a-8: var(--colors-lime-dark-p3-a-8);--colors-lime-p3-a-9: var(--colors-lime-dark-p3-a-9);--colors-lime-p3-a-10: var(--colors-lime-dark-p3-a-10);--colors-lime-p3-a-11: var(--colors-lime-dark-p3-a-11);--colors-lime-p3-a-12: var(--colors-lime-dark-p3-a-12);--colors-orange-1: var(--colors-orange-dark-1);--colors-orange-2: var(--colors-orange-dark-2);--colors-orange-3: var(--colors-orange-dark-3);--colors-orange-4: var(--colors-orange-dark-4);--colors-orange-5: var(--colors-orange-dark-5);--colors-orange-6: var(--colors-orange-dark-6);--colors-orange-7: var(--colors-orange-dark-7);--colors-orange-8: var(--colors-orange-dark-8);--colors-orange-9: var(--colors-orange-dark-9);--colors-orange-10: var(--colors-orange-dark-10);--colors-orange-11: var(--colors-orange-dark-11);--colors-orange-12: var(--colors-orange-dark-12);--colors-orange-a-1: var(--colors-orange-dark-a-1);--colors-orange-a-2: var(--colors-orange-dark-a-2);--colors-orange-a-3: var(--colors-orange-dark-a-3);--colors-orange-a-4: var(--colors-orange-dark-a-4);--colors-orange-a-5: var(--colors-orange-dark-a-5);--colors-orange-a-6: var(--colors-orange-dark-a-6);--colors-orange-a-7: var(--colors-orange-dark-a-7);--colors-orange-a-8: var(--colors-orange-dark-a-8);--colors-orange-a-9: var(--colors-orange-dark-a-9);--colors-orange-a-10: var(--colors-orange-dark-a-10);--colors-orange-a-11: var(--colors-orange-dark-a-11);--colors-orange-a-12: var(--colors-orange-dark-a-12);--colors-orange-p3-1: var(--colors-orange-dark-p3-1);--colors-orange-p3-2: var(--colors-orange-dark-p3-2);--colors-orange-p3-3: var(--colors-orange-dark-p3-3);--colors-orange-p3-4: var(--colors-orange-dark-p3-4);--colors-orange-p3-5: var(--colors-orange-dark-p3-5);--colors-orange-p3-6: var(--colors-orange-dark-p3-6);--colors-orange-p3-7: var(--colors-orange-dark-p3-7);--colors-orange-p3-8: var(--colors-orange-dark-p3-8);--colors-orange-p3-9: var(--colors-orange-dark-p3-9);--colors-orange-p3-10: var(--colors-orange-dark-p3-10);--colors-orange-p3-11: var(--colors-orange-dark-p3-11);--colors-orange-p3-12: var(--colors-orange-dark-p3-12);--colors-orange-p3-a-1: var(--colors-orange-dark-p3-a-1);--colors-orange-p3-a-2: var(--colors-orange-dark-p3-a-2);--colors-orange-p3-a-3: var(--colors-orange-dark-p3-a-3);--colors-orange-p3-a-4: var(--colors-orange-dark-p3-a-4);--colors-orange-p3-a-5: var(--colors-orange-dark-p3-a-5);--colors-orange-p3-a-6: var(--colors-orange-dark-p3-a-6);--colors-orange-p3-a-7: var(--colors-orange-dark-p3-a-7);--colors-orange-p3-a-8: var(--colors-orange-dark-p3-a-8);--colors-orange-p3-a-9: var(--colors-orange-dark-p3-a-9);--colors-orange-p3-a-10: var(--colors-orange-dark-p3-a-10);--colors-orange-p3-a-11: var(--colors-orange-dark-p3-a-11);--colors-orange-p3-a-12: var(--colors-orange-dark-p3-a-12);--colors-pink-1: var(--colors-pink-dark-1);--colors-pink-2: var(--colors-pink-dark-2);--colors-pink-3: var(--colors-pink-dark-3);--colors-pink-4: var(--colors-pink-dark-4);--colors-pink-5: var(--colors-pink-dark-5);--colors-pink-6: var(--colors-pink-dark-6);--colors-pink-7: var(--colors-pink-dark-7);--colors-pink-8: var(--colors-pink-dark-8);--colors-pink-9: var(--colors-pink-dark-9);--colors-pink-10: var(--colors-pink-dark-10);--colors-pink-11: var(--colors-pink-dark-11);--colors-pink-12: var(--colors-pink-dark-12);--colors-pink-a-1: var(--colors-pink-dark-a-1);--colors-pink-a-2: var(--colors-pink-dark-a-2);--colors-pink-a-3: var(--colors-pink-dark-a-3);--colors-pink-a-4: var(--colors-pink-dark-a-4);--colors-pink-a-5: var(--colors-pink-dark-a-5);--colors-pink-a-6: var(--colors-pink-dark-a-6);--colors-pink-a-7: var(--colors-pink-dark-a-7);--colors-pink-a-8: var(--colors-pink-dark-a-8);--colors-pink-a-9: var(--colors-pink-dark-a-9);--colors-pink-a-10: var(--colors-pink-dark-a-10);--colors-pink-a-11: var(--colors-pink-dark-a-11);--colors-pink-a-12: var(--colors-pink-dark-a-12);--colors-pink-p3-1: var(--colors-pink-dark-p3-1);--colors-pink-p3-2: var(--colors-pink-dark-p3-2);--colors-pink-p3-3: var(--colors-pink-dark-p3-3);--colors-pink-p3-4: var(--colors-pink-dark-p3-4);--colors-pink-p3-5: var(--colors-pink-dark-p3-5);--colors-pink-p3-6: var(--colors-pink-dark-p3-6);--colors-pink-p3-7: var(--colors-pink-dark-p3-7);--colors-pink-p3-8: var(--colors-pink-dark-p3-8);--colors-pink-p3-9: var(--colors-pink-dark-p3-9);--colors-pink-p3-10: var(--colors-pink-dark-p3-10);--colors-pink-p3-11: var(--colors-pink-dark-p3-11);--colors-pink-p3-12: var(--colors-pink-dark-p3-12);--colors-pink-p3-a-1: var(--colors-pink-dark-p3-a-1);--colors-pink-p3-a-2: var(--colors-pink-dark-p3-a-2);--colors-pink-p3-a-3: var(--colors-pink-dark-p3-a-3);--colors-pink-p3-a-4: var(--colors-pink-dark-p3-a-4);--colors-pink-p3-a-5: var(--colors-pink-dark-p3-a-5);--colors-pink-p3-a-6: var(--colors-pink-dark-p3-a-6);--colors-pink-p3-a-7: var(--colors-pink-dark-p3-a-7);--colors-pink-p3-a-8: var(--colors-pink-dark-p3-a-8);--colors-pink-p3-a-9: var(--colors-pink-dark-p3-a-9);--colors-pink-p3-a-10: var(--colors-pink-dark-p3-a-10);--colors-pink-p3-a-11: var(--colors-pink-dark-p3-a-11);--colors-pink-p3-a-12: var(--colors-pink-dark-p3-a-12);--colors-purple-1: var(--colors-purple-dark-1);--colors-purple-2: var(--colors-purple-dark-2);--colors-purple-3: var(--colors-purple-dark-3);--colors-purple-4: var(--colors-purple-dark-4);--colors-purple-5: var(--colors-purple-dark-5);--colors-purple-6: var(--colors-purple-dark-6);--colors-purple-7: var(--colors-purple-dark-7);--colors-purple-8: var(--colors-purple-dark-8);--colors-purple-9: var(--colors-purple-dark-9);--colors-purple-10: var(--colors-purple-dark-10);--colors-purple-11: var(--colors-purple-dark-11);--colors-purple-12: var(--colors-purple-dark-12);--colors-purple-a-1: var(--colors-purple-dark-a-1);--colors-purple-a-2: var(--colors-purple-dark-a-2);--colors-purple-a-3: var(--colors-purple-dark-a-3);--colors-purple-a-4: var(--colors-purple-dark-a-4);--colors-purple-a-5: var(--colors-purple-dark-a-5);--colors-purple-a-6: var(--colors-purple-dark-a-6);--colors-purple-a-7: var(--colors-purple-dark-a-7);--colors-purple-a-8: var(--colors-purple-dark-a-8);--colors-purple-a-9: var(--colors-purple-dark-a-9);--colors-purple-a-10: var(--colors-purple-dark-a-10);--colors-purple-a-11: var(--colors-purple-dark-a-11);--colors-purple-a-12: var(--colors-purple-dark-a-12);--colors-purple-p3-1: var(--colors-purple-dark-p3-1);--colors-purple-p3-2: var(--colors-purple-dark-p3-2);--colors-purple-p3-3: var(--colors-purple-dark-p3-3);--colors-purple-p3-4: var(--colors-purple-dark-p3-4);--colors-purple-p3-5: var(--colors-purple-dark-p3-5);--colors-purple-p3-6: var(--colors-purple-dark-p3-6);--colors-purple-p3-7: var(--colors-purple-dark-p3-7);--colors-purple-p3-8: var(--colors-purple-dark-p3-8);--colors-purple-p3-9: var(--colors-purple-dark-p3-9);--colors-purple-p3-10: var(--colors-purple-dark-p3-10);--colors-purple-p3-11: var(--colors-purple-dark-p3-11);--colors-purple-p3-12: var(--colors-purple-dark-p3-12);--colors-purple-p3-a-1: var(--colors-purple-dark-p3-a-1);--colors-purple-p3-a-2: var(--colors-purple-dark-p3-a-2);--colors-purple-p3-a-3: var(--colors-purple-dark-p3-a-3);--colors-purple-p3-a-4: var(--colors-purple-dark-p3-a-4);--colors-purple-p3-a-5: var(--colors-purple-dark-p3-a-5);--colors-purple-p3-a-6: var(--colors-purple-dark-p3-a-6);--colors-purple-p3-a-7: var(--colors-purple-dark-p3-a-7);--colors-purple-p3-a-8: var(--colors-purple-dark-p3-a-8);--colors-purple-p3-a-9: var(--colors-purple-dark-p3-a-9);--colors-purple-p3-a-10: var(--colors-purple-dark-p3-a-10);--colors-purple-p3-a-11: var(--colors-purple-dark-p3-a-11);--colors-purple-p3-a-12: var(--colors-purple-dark-p3-a-12);--colors-red-1: var(--colors-red-dark-1);--colors-red-2: var(--colors-red-dark-2);--colors-red-3: var(--colors-red-dark-3);--colors-red-4: var(--colors-red-dark-4);--colors-red-5: var(--colors-red-dark-5);--colors-red-6: var(--colors-red-dark-6);--colors-red-7: var(--colors-red-dark-7);--colors-red-8: var(--colors-red-dark-8);--colors-red-9: var(--colors-red-dark-9);--colors-red-10: var(--colors-red-dark-10);--colors-red-11: var(--colors-red-dark-11);--colors-red-12: var(--colors-red-dark-12);--colors-red-a-1: var(--colors-red-dark-a-1);--colors-red-a-2: var(--colors-red-dark-a-2);--colors-red-a-3: var(--colors-red-dark-a-3);--colors-red-a-4: var(--colors-red-dark-a-4);--colors-red-a-5: var(--colors-red-dark-a-5);--colors-red-a-6: var(--colors-red-dark-a-6);--colors-red-a-7: var(--colors-red-dark-a-7);--colors-red-a-8: var(--colors-red-dark-a-8);--colors-red-a-9: var(--colors-red-dark-a-9);--colors-red-a-10: var(--colors-red-dark-a-10);--colors-red-a-11: var(--colors-red-dark-a-11);--colors-red-a-12: var(--colors-red-dark-a-12);--colors-red-p3-1: var(--colors-red-dark-p3-1);--colors-red-p3-2: var(--colors-red-dark-p3-2);--colors-red-p3-3: var(--colors-red-dark-p3-3);--colors-red-p3-4: var(--colors-red-dark-p3-4);--colors-red-p3-5: var(--colors-red-dark-p3-5);--colors-red-p3-6: var(--colors-red-dark-p3-6);--colors-red-p3-7: var(--colors-red-dark-p3-7);--colors-red-p3-8: var(--colors-red-dark-p3-8);--colors-red-p3-9: var(--colors-red-dark-p3-9);--colors-red-p3-10: var(--colors-red-dark-p3-10);--colors-red-p3-11: var(--colors-red-dark-p3-11);--colors-red-p3-12: var(--colors-red-dark-p3-12);--colors-red-p3-a-1: var(--colors-red-dark-p3-a-1);--colors-red-p3-a-2: var(--colors-red-dark-p3-a-2);--colors-red-p3-a-3: var(--colors-red-dark-p3-a-3);--colors-red-p3-a-4: var(--colors-red-dark-p3-a-4);--colors-red-p3-a-5: var(--colors-red-dark-p3-a-5);--colors-red-p3-a-6: var(--colors-red-dark-p3-a-6);--colors-red-p3-a-7: var(--colors-red-dark-p3-a-7);--colors-red-p3-a-8: var(--colors-red-dark-p3-a-8);--colors-red-p3-a-9: var(--colors-red-dark-p3-a-9);--colors-red-p3-a-10: var(--colors-red-dark-p3-a-10);--colors-red-p3-a-11: var(--colors-red-dark-p3-a-11);--colors-red-p3-a-12: var(--colors-red-dark-p3-a-12);--colors-ruby-1: var(--colors-ruby-dark-1);--colors-ruby-2: var(--colors-ruby-dark-2);--colors-ruby-3: var(--colors-ruby-dark-3);--colors-ruby-4: var(--colors-ruby-dark-4);--colors-ruby-5: var(--colors-ruby-dark-5);--colors-ruby-6: var(--colors-ruby-dark-6);--colors-ruby-7: var(--colors-ruby-dark-7);--colors-ruby-8: var(--colors-ruby-dark-8);--colors-ruby-9: var(--colors-ruby-dark-9);--colors-ruby-10: var(--colors-ruby-dark-10);--colors-ruby-11: var(--colors-ruby-dark-11);--colors-ruby-12: var(--colors-ruby-dark-12);--colors-ruby-a-1: var(--colors-ruby-dark-a-1);--colors-ruby-a-2: var(--colors-ruby-dark-a-2);--colors-ruby-a-3: var(--colors-ruby-dark-a-3);--colors-ruby-a-4: var(--colors-ruby-dark-a-4);--colors-ruby-a-5: var(--colors-ruby-dark-a-5);--colors-ruby-a-6: var(--colors-ruby-dark-a-6);--colors-ruby-a-7: var(--colors-ruby-dark-a-7);--colors-ruby-a-8: var(--colors-ruby-dark-a-8);--colors-ruby-a-9: var(--colors-ruby-dark-a-9);--colors-ruby-a-10: var(--colors-ruby-dark-a-10);--colors-ruby-a-11: var(--colors-ruby-dark-a-11);--colors-ruby-a-12: var(--colors-ruby-dark-a-12);--colors-ruby-p3-1: var(--colors-ruby-dark-p3-1);--colors-ruby-p3-2: var(--colors-ruby-dark-p3-2);--colors-ruby-p3-3: var(--colors-ruby-dark-p3-3);--colors-ruby-p3-4: var(--colors-ruby-dark-p3-4);--colors-ruby-p3-5: var(--colors-ruby-dark-p3-5);--colors-ruby-p3-6: var(--colors-ruby-dark-p3-6);--colors-ruby-p3-7: var(--colors-ruby-dark-p3-7);--colors-ruby-p3-8: var(--colors-ruby-dark-p3-8);--colors-ruby-p3-9: var(--colors-ruby-dark-p3-9);--colors-ruby-p3-10: var(--colors-ruby-dark-p3-10);--colors-ruby-p3-11: var(--colors-ruby-dark-p3-11);--colors-ruby-p3-12: var(--colors-ruby-dark-p3-12);--colors-ruby-p3-a-1: var(--colors-ruby-dark-p3-a-1);--colors-ruby-p3-a-2: var(--colors-ruby-dark-p3-a-2);--colors-ruby-p3-a-3: var(--colors-ruby-dark-p3-a-3);--colors-ruby-p3-a-4: var(--colors-ruby-dark-p3-a-4);--colors-ruby-p3-a-5: var(--colors-ruby-dark-p3-a-5);--colors-ruby-p3-a-6: var(--colors-ruby-dark-p3-a-6);--colors-ruby-p3-a-7: var(--colors-ruby-dark-p3-a-7);--colors-ruby-p3-a-8: var(--colors-ruby-dark-p3-a-8);--colors-ruby-p3-a-9: var(--colors-ruby-dark-p3-a-9);--colors-ruby-p3-a-10: var(--colors-ruby-dark-p3-a-10);--colors-ruby-p3-a-11: var(--colors-ruby-dark-p3-a-11);--colors-ruby-p3-a-12: var(--colors-ruby-dark-p3-a-12);--colors-teal-1: var(--colors-teal-dark-1);--colors-teal-2: var(--colors-teal-dark-2);--colors-teal-3: var(--colors-teal-dark-3);--colors-teal-4: var(--colors-teal-dark-4);--colors-teal-5: var(--colors-teal-dark-5);--colors-teal-6: var(--colors-teal-dark-6);--colors-teal-7: var(--colors-teal-dark-7);--colors-teal-8: var(--colors-teal-dark-8);--colors-teal-9: var(--colors-teal-dark-9);--colors-teal-10: var(--colors-teal-dark-10);--colors-teal-11: var(--colors-teal-dark-11);--colors-teal-12: var(--colors-teal-dark-12);--colors-teal-a-1: var(--colors-teal-dark-a-1);--colors-teal-a-2: var(--colors-teal-dark-a-2);--colors-teal-a-3: var(--colors-teal-dark-a-3);--colors-teal-a-4: var(--colors-teal-dark-a-4);--colors-teal-a-5: var(--colors-teal-dark-a-5);--colors-teal-a-6: var(--colors-teal-dark-a-6);--colors-teal-a-7: var(--colors-teal-dark-a-7);--colors-teal-a-8: var(--colors-teal-dark-a-8);--colors-teal-a-9: var(--colors-teal-dark-a-9);--colors-teal-a-10: var(--colors-teal-dark-a-10);--colors-teal-a-11: var(--colors-teal-dark-a-11);--colors-teal-a-12: var(--colors-teal-dark-a-12);--colors-teal-p3-1: var(--colors-teal-dark-p3-1);--colors-teal-p3-2: var(--colors-teal-dark-p3-2);--colors-teal-p3-3: var(--colors-teal-dark-p3-3);--colors-teal-p3-4: var(--colors-teal-dark-p3-4);--colors-teal-p3-5: var(--colors-teal-dark-p3-5);--colors-teal-p3-6: var(--colors-teal-dark-p3-6);--colors-teal-p3-7: var(--colors-teal-dark-p3-7);--colors-teal-p3-8: var(--colors-teal-dark-p3-8);--colors-teal-p3-9: var(--colors-teal-dark-p3-9);--colors-teal-p3-10: var(--colors-teal-dark-p3-10);--colors-teal-p3-11: var(--colors-teal-dark-p3-11);--colors-teal-p3-12: var(--colors-teal-dark-p3-12);--colors-teal-p3-a-1: var(--colors-teal-dark-p3-a-1);--colors-teal-p3-a-2: var(--colors-teal-dark-p3-a-2);--colors-teal-p3-a-3: var(--colors-teal-dark-p3-a-3);--colors-teal-p3-a-4: var(--colors-teal-dark-p3-a-4);--colors-teal-p3-a-5: var(--colors-teal-dark-p3-a-5);--colors-teal-p3-a-6: var(--colors-teal-dark-p3-a-6);--colors-teal-p3-a-7: var(--colors-teal-dark-p3-a-7);--colors-teal-p3-a-8: var(--colors-teal-dark-p3-a-8);--colors-teal-p3-a-9: var(--colors-teal-dark-p3-a-9);--colors-teal-p3-a-10: var(--colors-teal-dark-p3-a-10);--colors-teal-p3-a-11: var(--colors-teal-dark-p3-a-11);--colors-teal-p3-a-12: var(--colors-teal-dark-p3-a-12);--colors-tomato-1: var(--colors-tomato-dark-1);--colors-tomato-2: var(--colors-tomato-dark-2);--colors-tomato-3: var(--colors-tomato-dark-3);--colors-tomato-4: var(--colors-tomato-dark-4);--colors-tomato-5: var(--colors-tomato-dark-5);--colors-tomato-6: var(--colors-tomato-dark-6);--colors-tomato-7: var(--colors-tomato-dark-7);--colors-tomato-8: var(--colors-tomato-dark-8);--colors-tomato-9: var(--colors-tomato-dark-9);--colors-tomato-10: var(--colors-tomato-dark-10);--colors-tomato-11: var(--colors-tomato-dark-11);--colors-tomato-12: var(--colors-tomato-dark-12);--colors-tomato-a-1: var(--colors-tomato-dark-a-1);--colors-tomato-a-2: var(--colors-tomato-dark-a-2);--colors-tomato-a-3: var(--colors-tomato-dark-a-3);--colors-tomato-a-4: var(--colors-tomato-dark-a-4);--colors-tomato-a-5: var(--colors-tomato-dark-a-5);--colors-tomato-a-6: var(--colors-tomato-dark-a-6);--colors-tomato-a-7: var(--colors-tomato-dark-a-7);--colors-tomato-a-8: var(--colors-tomato-dark-a-8);--colors-tomato-a-9: var(--colors-tomato-dark-a-9);--colors-tomato-a-10: var(--colors-tomato-dark-a-10);--colors-tomato-a-11: var(--colors-tomato-dark-a-11);--colors-tomato-a-12: var(--colors-tomato-dark-a-12);--colors-tomato-p3-1: var(--colors-tomato-dark-p3-1);--colors-tomato-p3-2: var(--colors-tomato-dark-p3-2);--colors-tomato-p3-3: var(--colors-tomato-dark-p3-3);--colors-tomato-p3-4: var(--colors-tomato-dark-p3-4);--colors-tomato-p3-5: var(--colors-tomato-dark-p3-5);--colors-tomato-p3-6: var(--colors-tomato-dark-p3-6);--colors-tomato-p3-7: var(--colors-tomato-dark-p3-7);--colors-tomato-p3-8: var(--colors-tomato-dark-p3-8);--colors-tomato-p3-9: var(--colors-tomato-dark-p3-9);--colors-tomato-p3-10: var(--colors-tomato-dark-p3-10);--colors-tomato-p3-11: var(--colors-tomato-dark-p3-11);--colors-tomato-p3-12: var(--colors-tomato-dark-p3-12);--colors-tomato-p3-a-1: var(--colors-tomato-dark-p3-a-1);--colors-tomato-p3-a-2: var(--colors-tomato-dark-p3-a-2);--colors-tomato-p3-a-3: var(--colors-tomato-dark-p3-a-3);--colors-tomato-p3-a-4: var(--colors-tomato-dark-p3-a-4);--colors-tomato-p3-a-5: var(--colors-tomato-dark-p3-a-5);--colors-tomato-p3-a-6: var(--colors-tomato-dark-p3-a-6);--colors-tomato-p3-a-7: var(--colors-tomato-dark-p3-a-7);--colors-tomato-p3-a-8: var(--colors-tomato-dark-p3-a-8);--colors-tomato-p3-a-9: var(--colors-tomato-dark-p3-a-9);--colors-tomato-p3-a-10: var(--colors-tomato-dark-p3-a-10);--colors-tomato-p3-a-11: var(--colors-tomato-dark-p3-a-11);--colors-tomato-p3-a-12: var(--colors-tomato-dark-p3-a-12);--colors-violet-1: var(--colors-violet-dark-1);--colors-violet-2: var(--colors-violet-dark-2);--colors-violet-3: var(--colors-violet-dark-3);--colors-violet-4: var(--colors-violet-dark-4);--colors-violet-5: var(--colors-violet-dark-5);--colors-violet-6: var(--colors-violet-dark-6);--colors-violet-7: var(--colors-violet-dark-7);--colors-violet-8: var(--colors-violet-dark-8);--colors-violet-9: var(--colors-violet-dark-9);--colors-violet-10: var(--colors-violet-dark-10);--colors-violet-11: var(--colors-violet-dark-11);--colors-violet-12: var(--colors-violet-dark-12);--colors-violet-a-1: var(--colors-violet-dark-a-1);--colors-violet-a-2: var(--colors-violet-dark-a-2);--colors-violet-a-3: var(--colors-violet-dark-a-3);--colors-violet-a-4: var(--colors-violet-dark-a-4);--colors-violet-a-5: var(--colors-violet-dark-a-5);--colors-violet-a-6: var(--colors-violet-dark-a-6);--colors-violet-a-7: var(--colors-violet-dark-a-7);--colors-violet-a-8: var(--colors-violet-dark-a-8);--colors-violet-a-9: var(--colors-violet-dark-a-9);--colors-violet-a-10: var(--colors-violet-dark-a-10);--colors-violet-a-11: var(--colors-violet-dark-a-11);--colors-violet-a-12: var(--colors-violet-dark-a-12);--colors-violet-p3-1: var(--colors-violet-dark-p3-1);--colors-violet-p3-2: var(--colors-violet-dark-p3-2);--colors-violet-p3-3: var(--colors-violet-dark-p3-3);--colors-violet-p3-4: var(--colors-violet-dark-p3-4);--colors-violet-p3-5: var(--colors-violet-dark-p3-5);--colors-violet-p3-6: var(--colors-violet-dark-p3-6);--colors-violet-p3-7: var(--colors-violet-dark-p3-7);--colors-violet-p3-8: var(--colors-violet-dark-p3-8);--colors-violet-p3-9: var(--colors-violet-dark-p3-9);--colors-violet-p3-10: var(--colors-violet-dark-p3-10);--colors-violet-p3-11: var(--colors-violet-dark-p3-11);--colors-violet-p3-12: var(--colors-violet-dark-p3-12);--colors-violet-p3-a-1: var(--colors-violet-dark-p3-a-1);--colors-violet-p3-a-2: var(--colors-violet-dark-p3-a-2);--colors-violet-p3-a-3: var(--colors-violet-dark-p3-a-3);--colors-violet-p3-a-4: var(--colors-violet-dark-p3-a-4);--colors-violet-p3-a-5: var(--colors-violet-dark-p3-a-5);--colors-violet-p3-a-6: var(--colors-violet-dark-p3-a-6);--colors-violet-p3-a-7: var(--colors-violet-dark-p3-a-7);--colors-violet-p3-a-8: var(--colors-violet-dark-p3-a-8);--colors-violet-p3-a-9: var(--colors-violet-dark-p3-a-9);--colors-violet-p3-a-10: var(--colors-violet-dark-p3-a-10);--colors-violet-p3-a-11: var(--colors-violet-dark-p3-a-11);--colors-violet-p3-a-12: var(--colors-violet-dark-p3-a-12);--colors-yellow-1: var(--colors-yellow-dark-1);--colors-yellow-2: var(--colors-yellow-dark-2);--colors-yellow-3: var(--colors-yellow-dark-3);--colors-yellow-4: var(--colors-yellow-dark-4);--colors-yellow-5: var(--colors-yellow-dark-5);--colors-yellow-6: var(--colors-yellow-dark-6);--colors-yellow-7: var(--colors-yellow-dark-7);--colors-yellow-8: var(--colors-yellow-dark-8);--colors-yellow-9: var(--colors-yellow-dark-9);--colors-yellow-10: var(--colors-yellow-dark-10);--colors-yellow-11: var(--colors-yellow-dark-11);--colors-yellow-12: var(--colors-yellow-dark-12);--colors-yellow-a-1: var(--colors-yellow-dark-a-1);--colors-yellow-a-2: var(--colors-yellow-dark-a-2);--colors-yellow-a-3: var(--colors-yellow-dark-a-3);--colors-yellow-a-4: var(--colors-yellow-dark-a-4);--colors-yellow-a-5: var(--colors-yellow-dark-a-5);--colors-yellow-a-6: var(--colors-yellow-dark-a-6);--colors-yellow-a-7: var(--colors-yellow-dark-a-7);--colors-yellow-a-8: var(--colors-yellow-dark-a-8);--colors-yellow-a-9: var(--colors-yellow-dark-a-9);--colors-yellow-a-10: var(--colors-yellow-dark-a-10);--colors-yellow-a-11: var(--colors-yellow-dark-a-11);--colors-yellow-a-12: var(--colors-yellow-dark-a-12);--colors-yellow-p3-1: var(--colors-yellow-dark-p3-1);--colors-yellow-p3-2: var(--colors-yellow-dark-p3-2);--colors-yellow-p3-3: var(--colors-yellow-dark-p3-3);--colors-yellow-p3-4: var(--colors-yellow-dark-p3-4);--colors-yellow-p3-5: var(--colors-yellow-dark-p3-5);--colors-yellow-p3-6: var(--colors-yellow-dark-p3-6);--colors-yellow-p3-7: var(--colors-yellow-dark-p3-7);--colors-yellow-p3-8: var(--colors-yellow-dark-p3-8);--colors-yellow-p3-9: var(--colors-yellow-dark-p3-9);--colors-yellow-p3-10: var(--colors-yellow-dark-p3-10);--colors-yellow-p3-11: var(--colors-yellow-dark-p3-11);--colors-yellow-p3-12: var(--colors-yellow-dark-p3-12);--colors-yellow-p3-a-1: var(--colors-yellow-dark-p3-a-1);--colors-yellow-p3-a-2: var(--colors-yellow-dark-p3-a-2);--colors-yellow-p3-a-3: var(--colors-yellow-dark-p3-a-3);--colors-yellow-p3-a-4: var(--colors-yellow-dark-p3-a-4);--colors-yellow-p3-a-5: var(--colors-yellow-dark-p3-a-5);--colors-yellow-p3-a-6: var(--colors-yellow-dark-p3-a-6);--colors-yellow-p3-a-7: var(--colors-yellow-dark-p3-a-7);--colors-yellow-p3-a-8: var(--colors-yellow-dark-p3-a-8);--colors-yellow-p3-a-9: var(--colors-yellow-dark-p3-a-9);--colors-yellow-p3-a-10: var(--colors-yellow-dark-p3-a-10);--colors-yellow-p3-a-11: var(--colors-yellow-dark-p3-a-11);--colors-yellow-p3-a-12: var(--colors-yellow-dark-p3-a-12);--colors-likec4-background-pattern: color-mix(in srgb, var(--colors-mantine-colors-dark\\[4\\]) 70%, transparent);--colors-likec4-mix-color: white;--colors-likec4-panel-bg: var(--colors-mantine-colors-dark\\[6\\]);--colors-likec4-panel-action-icon-bg: color-mix(in srgb, var(--colors-mantine-colors-dark\\[7\\]) 70%, transparent);--colors-likec4-panel-action-icon-bg-hover: var(--colors-mantine-colors-dark\\[8\\]);--colors-likec4-dropdown-bg: var(--colors-mantine-colors-dark\\[6\\]) }[data-mantine-color-scheme=light]{--colors-likec4-background-pattern: var(--colors-mantine-colors-gray\\[4\\]);--colors-likec4-mix-color: black;--colors-likec4-panel-border: color-mix(in srgb, var(--colors-mantine-colors-default-border) 30%, transparent);--colors-likec4-overlay-backdrop: rgb(15 15 15) }@keyframes indicatorOpacity{0%{opacity:.9;stroke-opacity:.8}to{opacity:.6;stroke-opacity:.4}}@keyframes xyedgeAnimated{0%{stroke-dashoffset:36}to{stroke-dashoffset:0}}}@layer recipes{@layer _base{.likec4-overlay{--_blur: 0px;--_level: 0;--_offset: 0px;--_inset: calc((1 + var(--_level) * .75) * var(--_offset));--_opacity: 0%;--_border-radius: 0px;margin:var(--spacing-0);background:var(--colors-likec4-overlay-border);border:var(--borders-transparent);inset:var(--spacing-0);padding:var(--spacing-0);outline:var(--borders-none);border-radius:var(--_border-radius);box-sizing:border-box;position:fixed;box-shadow:var(--shadows-xl);width:100vw;height:100vh;max-width:100vw;max-height:100vh}.likec4-overlay::backdrop{cursor:zoom-out}.likec4-overlay .likec4-overlay-body{border:var(--borders-transparent);background:var(--colors-likec4-overlay-body);overflow:hidden;position:relative;container-name:likec4-dialog;container-type:size;width:100%;height:100%}.likec4-markdown-block{--text-fz: 1rem;--text-fz-sm: calc(var(--text-fz) * var(--mantine-scale, 1) / 1.125);--text-fz-md: calc(var(--text-fz) * var(--mantine-scale, 1));--typography-spacing: calc(.75 * var(--text-fz-md));--text-fw-headings: 600;font-size:var(--text-fz-md);line-height:var(--mantine-line-height)}[data-mantine-color-scheme=light] .likec4-markdown-block{--code-background: var(--mantine-color-gray-2);--code-color: var(--mantine-color-black)}[data-mantine-color-scheme=dark] .likec4-markdown-block{--code-background: var(--mantine-color-dark-8);--code-color: var(--mantine-color-white)}.likec4-markdown-block :where(hr){border:var(--borders-none);border-bottom:1px solid;margin-top:calc(var(--typography-spacing) / 2);margin-bottom:calc(var(--typography-spacing) / 2)}[data-mantine-color-scheme=light] .likec4-markdown-block :where(hr){border-color:var(--colors-mantine-colors-gray\\[3\\])}[data-mantine-color-scheme=dark] .likec4-markdown-block :where(hr){border-color:var(--colors-mantine-colors-dark\\[3\\])}.likec4-markdown-block :where(pre){margin:var(--spacing-0);padding-inline:var(--spacing-3);padding-block:var(--spacing-2);border-radius:var(--radii-sm);line-height:var(--mantine-line-height-xs);font-family:var(--mantine-font-family-monospace);font-size:var(--text-fz-sm);background-color:var(--code-background);color:var(--code-color);margin-top:var(--typography-spacing);margin-bottom:var(--typography-spacing);overflow-x:auto}.likec4-markdown-block :where(code){padding:1px 4px;border-radius:var(--radii-xs);line-height:var(--line-heights-1);font-family:var(--mantine-font-family-monospace);font-size:var(--text-fz-sm);background-color:var(--code-background);color:var(--code-color)}.likec4-markdown-block :where(pre code){padding:var(--spacing-0);border:0;border-radius:var(--radii-0);background-color:var(--colors-transparent);color:inherit}.likec4-markdown-block :where(blockquote){margin:var(--spacing-0);padding:var(--spacing-xs);border-radius:var(--mantine-radius-sm);font-size:var(--text-fz-md)}[data-mantine-color-scheme=light] .likec4-markdown-block :where(blockquote){background-color:var(--mantine-color-gray-1)}[data-mantine-color-scheme=dark] .likec4-markdown-block :where(blockquote){background-color:var(--mantine-color-dark-5)}.likec4-markdown-block :where(blockquote):not(:first-child){margin-top:var(--typography-spacing)}.likec4-markdown-block :where(h1,h2,h3,h4,h5,h6){text-wrap:var(--mantine-heading-text-wrap);line-height:1.5;font-family:var(--mantine-font-family-headings);margin-bottom:var(--typography-spacing)}.likec4-markdown-block :where(a){text-decoration:none;font-size:var(--text-fz-md);color:var(--mantine-color-anchor);font-weight:500}.likec4-markdown-block :where(a):is(:hover,[data-hover]){text-decoration:underline}.likec4-markdown-block :is(h1){font-size:calc(1.476 * var(--text-fz-md));font-weight:var(--text-fw-headings)}.likec4-markdown-block :is(h2){font-size:calc(1.383 * var(--text-fz-md));font-weight:var(--text-fw-headings)}.likec4-markdown-block :is(h3){font-size:calc(1.296 * var(--text-fz-md));font-weight:var(--text-fw-headings)}.likec4-markdown-block :is(h4){font-size:calc(1.215 * var(--text-fz-md));font-weight:var(--text-fw-headings)}.likec4-markdown-block :is(h5){font-size:calc(1.138 * var(--text-fz-md));font-weight:var(--text-fw-headings)}.likec4-markdown-block :is(h6){font-size:calc(1.067 * var(--text-fz-md));font-weight:var(--text-fw-headings)}.likec4-markdown-block :where(p){font-size:var(--text-fz-md);margin-top:var(--spacing-0);margin-bottom:var(--typography-spacing)}.likec4-markdown-block :where(strong){font-weight:500}.likec4-markdown-block :where(mark){font-size:var(--text-fz-md)}[data-mantine-color-scheme=light] .likec4-markdown-block :where(mark){background-color:var(--colors-mantine-colors-yellow\\[2\\]);color:inherit}[data-mantine-color-scheme=dark] .likec4-markdown-block :where(mark){background-color:var(--colors-mantine-colors-yellow\\[5\\]);color:var(--mantine-color-black)}.likec4-markdown-block :where(ul,ol):not([data-type=taskList]){padding-inline-start:var(--typography-spacing);list-style-position:inside;margin-bottom:var(--typography-spacing)}.likec4-markdown-block :where(table){border-collapse:collapse;caption-side:bottom;width:100%;margin-bottom:var(--typography-spacing)}[data-mantine-color-scheme=light] .likec4-markdown-block :where(table){--table-border-color: var(--mantine-color-gray-3)}[data-mantine-color-scheme=dark] .likec4-markdown-block :where(table){--table-border-color: var(--mantine-color-dark-4)}.likec4-markdown-block :where(table) :where(th){padding:var(--typography-spacing);text-align:left;font-weight:700;font-size:var(--text-fz-sm)}.likec4-markdown-block :where(table) :where(td){padding:var(--typography-spacing);border-bottom:1px solid;border-color:var(--table-border-color);font-size:var(--text-fz-sm)}.likec4-markdown-block :where(table) :where(thead th){border-bottom:1px solid;border-color:var(--table-border-color)}.likec4-markdown-block :where(table) :where(tfoot th){border-top:1px solid;border-color:var(--table-border-color)}.likec4-markdown-block :where(table) :where(tr:last-of-type td){border-bottom:0}.likec4-markdown-block :where(table) :where(caption){font-size:var(--text-fz-sm);color:var(--mantine-color-dimmed);margin-top:calc(.5 * var(--typography-spacing) + 1px)}.likec4-markdown-block :first-child{margin-top:var(--spacing-0)}.likec4-markdown-block :last-child{margin-bottom:var(--spacing-0)}.likec4-markdown-block :is(h1,h2,h3,h4,h5,h6):not(:first-child){margin-top:var(--typography-spacing)}.likec4-markdown-block :where(img){max-width:100%;margin-bottom:var(--typography-spacing)}.likec4-navigation-panel-icon{color:var(--colors-likec4-panel-action-icon-text)}.likec4-navigation-panel-icon:is(:disabled,[disabled],[data-disabled],[aria-disabled=true]){color:var(--colors-likec4-panel-action-icon-text-disabled);opacity:.5}.likec4-navigation-panel-icon:not(:is(:disabled,[disabled],[data-disabled])):is(:hover,[data-hover]){color:var(--colors-likec4-panel-action-icon-text-hover)}.action-btn{--actionbtn-color: var(--likec4-palette-loContrast);--actionbtn-color-hovered: var(--likec4-palette-loContrast);--actionbtn-color-hovered-btn: var(--likec4-palette-hiContrast);--actionbtn-bg-idle: color-mix(in srgb , var(--likec4-palette-fill), transparent 99%);--actionbtn-bg-hovered: color-mix(in srgb , var(--likec4-palette-fill) 65%, var(--likec4-palette-stroke));--actionbtn-bg-hovered-btn: color-mix(in srgb , var(--likec4-palette-fill) 50%, var(--likec4-palette-stroke));--ai-bg: var(--actionbtn-bg-idle);background:var(--ai-bg);pointer-events:all;cursor:pointer;color:var(--actionbtn-color);opacity:.75}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .action-btn{--ai-bg: var(--actionbtn-bg-hovered);opacity:1;color:var(--actionbtn-color-hovered)}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .action-btn{display:none}:where([data-likec4-zoom-small=true]) .action-btn{display:none}.action-btn *{pointer-events:none}.action-btn:is(:hover,[data-hover]){--ai-bg: var(--actionbtn-bg-hovered-btn);opacity:1;color:var(--actionbtn-color-hovered-btn)}.likec4-compound-node{--_border-width: 3px;--_border-radius: 6px;--_compound-transparency: 100%;--_border-transparency: 100%;--_indicator-spacing: calc(var(--_border-width) + 2px);--_compound-color: var(--likec4-palette-loContrast);padding:var(--spacing-0);margin:var(--spacing-0);border-style:solid;border-width:var(--_border-width);border-radius:var(--_border-radius);position:relative;pointer-events:none;background-clip:padding-box;-webkit-background-clip:padding-box;box-sizing:border-box;color:var(--_compound-color);width:100%;height:100%}[data-mantine-color-scheme=light] .likec4-compound-node{--likec4-palette-outline: color-mix(in srgb, var(--likec4-palette-stroke) 80%, var(--likec4-palette-hiContrast))}[data-mantine-color-scheme=dark] .likec4-compound-node{--likec4-palette-outline: color-mix(in srgb, var(--likec4-palette-stroke) 60%, var(--likec4-palette-hiContrast))}.likec4-compound-node:after{border-style:solid;border-width:calc(var(--_border-width) + 1px);border-radius:calc(var(--_border-radius) + 4px);border-color:var(--likec4-palette-outline);position:absolute;content:" ";pointer-events:none;display:none;animation-play-state:paused;top:calc(-1 * var(--_indicator-spacing));left:calc(-1 * var(--_indicator-spacing));width:calc(100% + 2 * var(--_indicator-spacing));height:calc(100% + 2 * var(--_indicator-spacing))}:where(.react-flow__node,.react-flow__edge):is(:focus-visible,:focus,:focus-within) .likec4-compound-node:after{display:block;animation-play-state:running}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-compound-node:after{display:block;animation-play-state:running}.likec4-root:is([data-likec4-diagram-panning=true]) .likec4-compound-node:after{animation-play-state:paused}.likec4-compound-node:has(.likec4-compound-navigation) .likec4-compound-title-container{padding-left:24px}.likec4-compound-node .action-btn{--actionbtn-color: var(--_compound-color);--actionbtn-color-hovered: var(--_compound-color);--actionbtn-color-hovered-btn: color-mix(in srgb, var(--_compound-color) 80%, #fff);opacity:.6}.likec4-root:not([data-likec4-reduced-graphics]) .likec4-compound-node .action-btn{transition:all var(--durations-fast) var(--easings-in-out)}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-compound-node .action-btn{opacity:.75}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-compound-node .action-btn{opacity:.75}.likec4-compound-node .action-btn:is(:hover,[data-hover]){opacity:1}.likec4-compound-node .likec4-compound-title-container{gap:var(--spacing-1\\.5);position:absolute;display:flex;align-items:center;left:var(--spacing-2\\.5);top:var(--spacing-0\\.5);right:30px;width:auto;min-height:30px}:where(.react-flow__node.draggable) .likec4-compound-node .likec4-compound-title-container{pointer-events:all;cursor:grab}.likec4-compound-node .likec4-compound-title{flex:1 1 0%;font-family:var(--fonts-likec4-compound);font-weight:600;font-size:15px;text-transform:uppercase;letter-spacing:.25px;line-height:var(--line-heights-1);color:var(--_compound-color)}.likec4-compound-node .likec4-compound-icon{flex:0 0 20px;display:flex;align-items:center;justify-content:center;mix-blend-mode:hard-light;height:20px;width:20px}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-compound-node .likec4-compound-icon{mix-blend-mode:normal}.likec4-compound-node .likec4-compound-icon svg,.likec4-compound-node .likec4-compound-icon img{pointer-events:none;filter:drop-shadow(0 0 3px rgb(0 0 0 / 12%)) drop-shadow(0 1px 8px rgb(0 0 0 / 8%)) drop-shadow(1px 1px 16px rgb(0 0 0 / 3%));width:100%;height:auto;max-height:100%}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-compound-node .likec4-compound-icon svg,.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-compound-node .likec4-compound-icon img{filter:none}.likec4-compound-node .likec4-compound-icon img{object-fit:contain}.likec4-compound-node .likec4-compound-navigation{position:absolute;top:var(--spacing-1);left:var(--spacing-0\\.5)}:where([data-likec4-zoom-small=true]) .likec4-compound-node .likec4-compound-navigation{display:none}.likec4-compound-node .likec4-compound-details{position:absolute;top:var(--spacing-0\\.5);right:var(--spacing-0\\.5)}:where([data-likec4-zoom-small=true]) .likec4-compound-node .likec4-compound-details{display:none}.likec4-edge-action-btn{--ai-bg: transparent;--ai-hover: color-mix(in srgb , var(--xy-edge-label-background-color), var(--colors-likec4-mix-color) 10%);--ai-size: var(--ai-size-sm);--ai-radius: var(--radii-sm);transition:all var(--durations-fast) var(--easings-in-out);pointer-events:all;color:var(--xy-edge-label-color);cursor:pointer;opacity:.75;translate:var(--translate-x) var(--translate-y)}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-edge-action-btn{--ai-bg: var(--xy-edge-label-background-color);opacity:1}.likec4-edge-action-btn .tabler-icon{stroke-width:2;width:80%;height:80%}.likec4-edge-action-btn:is(:hover,[data-hover]){--translate-y: 2px;scale:1.15}.likec4-edge-action-btn:is(:active,[data-active]){--translate-y: -1px;scale:.9}.likec4-element-node-data{margin:0 auto;flex:1 1 0%;overflow:hidden;gap:var(--spacing-3);position:relative;display:flex;align-items:center;justify-content:center;flex-direction:row;pointer-events:none;text-align:center;height:fit-content;width:fit-content;max-height:100%;max-width:100%;padding-top:var(--likec4-spacing);padding-bottom:var(--likec4-spacing);padding-left:calc(var(--likec4-spacing) + 8px);padding-right:calc(var(--likec4-spacing) + 8px)}:where([data-likec4-shape-size=xs]) .likec4-element-node-data{--likec4-icon-size: 24px}:where([data-likec4-shape-size=sm]) .likec4-element-node-data{--likec4-icon-size: 36px}:where([data-likec4-shape-size=md]) .likec4-element-node-data{--likec4-icon-size: 60px}:where([data-likec4-shape-size=lg]) .likec4-element-node-data{--likec4-icon-size: 82px;gap:var(--spacing-4)}:where([data-likec4-shape-size=xl]) .likec4-element-node-data{--likec4-icon-size: 90px;gap:var(--spacing-4)}.likec4-element-node-data:has([data-likec4-icon]){gap:var(--spacing-4);text-align:left}.likec4-element-node-data:has([data-likec4-icon]) .likec4-element-node-content{align-items:flex-start;min-width:calc(50% + var(--likec4-icon-size))}:where([data-likec4-shape=queue]) .likec4-element-node-data{padding-left:46px;padding-right:16px}:where([data-likec4-shape=mobile]) .likec4-element-node-data{padding-left:46px;padding-right:16px}:where([data-likec4-shape=cylinder]) .likec4-element-node-data{padding-top:30px}:where([data-likec4-shape=storage]) .likec4-element-node-data{padding-top:30px}:where([data-likec4-shape=browser]) .likec4-element-node-data{padding-top:32px;padding-bottom:28px}.likec4-element-node-data [data-likec4-icon]{flex:0 0 var(--likec4-icon-size, 48px);display:flex;align-self:flex-start;align-items:center;justify-content:center;mix-blend-mode:hard-light;height:var(--likec4-icon-size, 48px);width:var(--likec4-icon-size, 48px)}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-element-node-data [data-likec4-icon]{mix-blend-mode:normal}.likec4-element-node-data [data-likec4-icon] svg,.likec4-element-node-data [data-likec4-icon] img{pointer-events:none;filter:drop-shadow(0 0 3px rgb(0 0 0 / 12%));width:100%;height:auto;max-height:100%}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-element-node-data [data-likec4-icon] svg,.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-element-node-data [data-likec4-icon] img{filter:none}.likec4-element-node-data [data-likec4-icon] img{object-fit:contain}.likec4-element-node-data .likec4-element-node-content{flex:0 1 auto;overflow:hidden;gap:var(--spacing-2);display:flex;flex-direction:column;align-items:stretch;justify-content:center;flex-wrap:nowrap;height:fit-content;width:fit-content;max-height:100%;max-width:100%}.likec4-element-node-data .likec4-element-node-content:has([data-likec4-node-description]):has([data-likec4-node-technology]){gap:var(--spacing-1\\.5)}.likec4-element-node-data [data-likec4-node-title]{flex:0 0 auto;font-family:var(--likec4-element-font, var(--fonts-likec4));font-weight:500;font-size:var(--likec4-text-size);line-height:1.15;text-wrap-style:balance;white-space:preserve-breaks;text-align:var(__text-align);color:var(--likec4-palette-hiContrast)}.likec4-element-node-data [data-likec4-node-description]{overflow:hidden;flex-grow:0;flex-shrink:1;--text-fz: calc(var(--likec4-text-size) * .74);font-family:var(--likec4-element-font, var(--fonts-likec4));font-weight:400;font-size:calc(var(--likec4-text-size) * .74);line-height:1.3;text-wrap-style:pretty;color:var(--likec4-palette-loContrast);text-align:var(__text-align);text-overflow:ellipsis}:where([data-likec4-shape-size=xs]) .likec4-element-node-data [data-likec4-node-description]{display:none}:where([data-likec4-zoom-small=true]) .likec4-element-node-data [data-likec4-node-description]{display:none}.likec4-element-node-data [data-likec4-node-description] a{pointer-events:all}.likec4-element-node-data [data-likec4-node-technology]{flex:0 0 auto;text-wrap:balance;--text-fz: calc(var(--likec4-text-size) * .74);font-family:var(--likec4-element-font, var(--fonts-likec4));font-weight:400;font-size:calc(var(--likec4-text-size) * .635);line-height:1.125;text-wrap-style:pretty;color:var(--likec4-palette-loContrast);text-align:var(__text-align);opacity:.92}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-element-node-data [data-likec4-node-technology]{opacity:1}:where([data-likec4-shape-size=xs]) .likec4-element-node-data [data-likec4-node-technology]{display:none}:where([data-likec4-shape-size=sm]) .likec4-element-node-data [data-likec4-node-technology]{display:none}:where([data-likec4-zoom-small=true]) .likec4-element-node-data [data-likec4-node-technology]{display:none}.likec4-element-shape{overflow:visible;position:absolute;pointer-events:none;top:var(--spacing-0);left:var(--spacing-0);width:100%;height:100%}[data-mantine-color-scheme=light] .likec4-element-shape{--likec4-palette-outline: color-mix(in srgb, var(--likec4-palette-stroke) 60%, var(--likec4-palette-hiContrast))}[data-mantine-color-scheme=dark] .likec4-element-shape{--likec4-palette-outline: color-mix(in srgb, var(--likec4-palette-stroke) 30%, var(--likec4-palette-loContrast))}.likec4-element-shape .likec4-shape-outline{visibility:hidden;animation-play-state:paused;pointer-events:none}:where([data-likec4-zoom-small=true]) .likec4-element-shape .likec4-shape-outline{visibility:hidden}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-element-shape .likec4-shape-outline{visibility:visible;animation-play-state:running}:where(.react-flow__node,.react-flow__edge):is(:focus-visible,:focus,:focus-within) .likec4-element-shape .likec4-shape-outline{visibility:visible;animation-play-state:running}.group:is(:focus-visible,[data-focus-visible]) .likec4-element-shape .likec4-shape-outline{visibility:visible;animation-play-state:running}.likec4-root:is([data-likec4-diagram-panning=true]) .likec4-element-shape .likec4-shape-outline{animation-play-state:paused}.likec4-tag{transition:all var(--durations-fast) var(--easings-in-out);gap:1px;padding-inline:var(--spacing-1);padding-block:var(--spacing-0);pointer-events:all;display:inline-flex;align-items:center;justify-content:center;font-size:var(--font-sizes-xs);cursor:default;font-family:var(--fonts-likec4);font-weight:700;border:var(--borders-none);border-radius:3px;color:var(--colors-likec4-tag-text);background-color:var(--colors-likec4-tag-bg)}.likec4-tag:is(:hover,[data-hover]){background-color:var(--colors-likec4-tag-bg-hover)}.likec4-tag{white-space:nowrap;min-width:40px;width:min-content}@media screen and (min-width:36rem){.likec4-element-node-data [data-likec4-icon] svg,.likec4-element-node-data [data-likec4-icon] img{filter:drop-shadow(0 1px 8px rgb(0 0 0 / 8%))}}@media screen and (min-width:48rem){.likec4-element-node-data [data-likec4-icon] svg,.likec4-element-node-data [data-likec4-icon] img{filter:drop-shadow(1px 1px 16px rgb(0 0 0 / 3%))}}}.likec4-overlay--withBackdrop_true::backdrop{background:color-mix(in srgb,var(--colors-likec4-overlay-backdrop) var(--_opacity),transparent);backdrop-filter:blur(var(--_blur));-webkit-backdrop-filter:blur(var(--_blur))}.likec4-overlay--fullscreen_true{inset:var(--spacing-0);padding:var(--spacing-0)}.likec4-overlay--withBackdrop_false::backdrop{display:none}.likec4-markdown-block--value_plaintext :where(p){white-space:preserve-breaks}.likec4-markdown-block--uselikec4palette_true{--code-background: color-mix(in srgb , var(--likec4-palette-stroke) 70%, transparent);--code-color: var(--likec4-palette-loContrast);--typography-spacing: calc(.5 * var(--text-fz-md))}.likec4-markdown-block--uselikec4palette_true :where(blockquote){padding:var(--spacing-xxs);--mix-backgroundColor: color-mix(in srgb, var(--likec4-palette-stroke) 65%, transparent);background-color:var(--mix-backgroundColor, var(--likec4-palette-stroke))}.likec4-markdown-block--uselikec4palette_true :where(hr){--mix-borderColor: color-mix(in srgb, var(--likec4-palette-stroke) 85%, transparent);border-color:var(--mix-borderColor, var(--likec4-palette-stroke))}.likec4-markdown-block--uselikec4palette_true :where(a){--mix-color: color-mix(in srgb, var(--likec4-palette-fill) 45%, transparent);color:var(--mix-color, var(--likec4-palette-fill));mix-blend-mode:difference}.likec4-markdown-block--uselikec4palette_true :where(strong){color:color-mix(in srgb,var(--likec4-palette-hiContrast) 50%,var(--likec4-palette-loContrast))}.likec4-navigation-panel-icon--variant_default{background-color:var(--colors-transparent)}.likec4-navigation-panel-icon--variant_default:not(:is(:disabled,[disabled],[data-disabled])):is(:hover,[data-hover]){background-color:var(--colors-likec4-panel-action-icon-bg-hover)}.likec4-navigation-panel-icon--variant_filled{background-color:var(--colors-likec4-panel-action-icon-bg)}.likec4-navigation-panel-icon--variant_filled:not(:is(:disabled,[disabled],[data-disabled])):is(:hover,[data-hover]){background-color:var(--colors-likec4-panel-action-icon-bg-hover)}.action-btn--size_md{--ai-size: var(--ai-size-md)}.action-btn--radius_md{--ai-radius: var(--mantine-radius-md)}.action-btn--variant_transparent{--actionbtn-bg-hovered: var(--actionbtn-bg-idle)}.action-btn--variant_filled{box-shadow:1px 1px 3px 0 transparent}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .action-btn--variant_filled{box-shadow:1px 1px 3px #0003}.likec4-root:is([data-likec4-reduced-graphics]) .action-btn--variant_filled{box-shadow:var(--shadows-none)}.likec4-compound-node--borderStyle_dashed{border-style:dashed}.likec4-compound-node--borderStyle_none{--_indicator-spacing: calc(var(--_border-width) * 2);border-color:var(--colors-transparent)!important;background-clip:border-box!important;-webkit-background-clip:border-box!important}.likec4-compound-node--isTransparent_false{border-color:var(--likec4-palette-stroke);background-color:var(--likec4-palette-fill)}.likec4-root:not([data-likec4-reduced-graphics]) .likec4-compound-node--isTransparent_false{box-shadow:0 4px 10px .5px #0000001a,0 2px 2px -1px #0006}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-compound-node--isTransparent_false{box-shadow:var(--shadows-none)}.likec4-root:is([data-likec4-diagram-panning=true]) .likec4-compound-node--isTransparent_false{box-shadow:var(--shadows-none)!important}.likec4-compound-node--isTransparent_true{border-color:color-mix(in srgb,var(--likec4-palette-stroke) var(--_border-transparency),transparent);background-color:color-mix(in srgb,var(--likec4-palette-fill) var(--_compound-transparency),transparent)}.likec4-compound-node--inverseColor_true{--_compound-color: var(--likec4-palette-stroke)}[data-mantine-color-scheme=dark] .likec4-compound-node--inverseColor_true{--_compound-color: color-mix(in srgb, var(--likec4-palette-loContrast) 60%, var(--likec4-palette-fill))}[data-mantine-color-scheme=dark] .likec4-compound-node--inverseColor_true .action-btn{--actionbtn-color-hovered-btn: var(--likec4-palette-loContrast)}[data-mantine-color-scheme=light] .likec4-compound-node--inverseColor_true .action-btn{--actionbtn-color: var(--likec4-palette-stroke);--actionbtn-color-hovered: var(--likec4-palette-stroke);--actionbtn-color-hovered-btn: var(--likec4-palette-hiContrast);--actionbtn-bg-hovered: var(--likec4-palette-fill)/50;--actionbtn-bg-hovered-btn: var(--likec4-palette-fill)}.likec4-compound-node--borderStyle_solid{border-style:solid}.likec4-compound-node--borderStyle_dotted{border-style:dotted}.likec4-element-shape--shapetype_html{--likec4-outline-size: 4px;border-radius:6px;transition:background-color .12s linear,box-shadow .13s var(--easings-in-out);background-color:var(--likec4-palette-fill);box-shadow:0 2px 1px #00000036,0 1px 1px color-mix(in srgb,var(--likec4-palette-stroke) 40%,transparent),0 5px 3px #0000001a;transition-delay:0ms}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-element-shape--shapetype_html{transition:none}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-element-shape--shapetype_html{box-shadow:var(--shadows-none)}:where([data-likec4-zoom-small=true]) .likec4-element-shape--shapetype_html{box-shadow:var(--shadows-none)}.likec4-root:is([data-likec4-diagram-panning=true]) .likec4-element-shape--shapetype_html{box-shadow:var(--shadows-none)}[data-mantine-color-scheme=light] :where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-element-shape--shapetype_html{box-shadow:#26394df2 0 20px 30px -10px}[data-mantine-color-scheme=dark] :where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-element-shape--shapetype_html{box-shadow:#0a0b10e5 0 20px 30px -10px}.likec4-element-shape--shapetype_html .likec4-shape-multiple{border-radius:6px;transition:all var(--durations-fast) var(--easings-in-out);position:absolute;content:" ";background-color:var(--likec4-palette-fill);z-index:-1;filter:brightness(.5)!important;visibility:visible;top:16px;left:16px;width:calc(100% - 6px);height:calc(100% - 6px)}:where([data-likec4-zoom-small=true]) .likec4-element-shape--shapetype_html .likec4-shape-multiple{visibility:hidden}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-element-shape--shapetype_html .likec4-shape-multiple{visibility:hidden}:where(.react-flow__node,.react-flow__edge):is(:focus-visible,:focus,:focus-within) .likec4-element-shape--shapetype_html .likec4-shape-multiple{visibility:hidden}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-element-shape--shapetype_html .likec4-shape-multiple{visibility:hidden}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-element-shape--shapetype_html .likec4-shape-multiple{transform:translate(-14px,-14px)}.likec4-element-shape--shapetype_html .likec4-shape-outline{border-style:solid;border-width:var(--likec4-outline-size);border-radius:10px;border-color:var(--likec4-palette-outline);position:absolute;content:" ";animation-duration:1s;animation-iteration-count:infinite;animation-direction:alternate;animation-name:indicatorOpacity;top:calc(-1 * var(--likec4-outline-size));left:calc(-1 * var(--likec4-outline-size));width:calc(100% + 2 * var(--likec4-outline-size));height:calc(100% + 2 * var(--likec4-outline-size))}.likec4-element-shape--shapetype_svg{transition:fill .12s linear,filter .13s var(--easings-in-out);fill:var(--likec4-palette-fill);stroke:var(--likec4-palette-stroke);transition-delay:0ms;filter:drop-shadow(0 2px 1px rgba(0,0,0,.21)) drop-shadow(0 1px 1px color-mix(in srgb,var(--likec4-palette-stroke) 40%,transparent)) drop-shadow(0 5px 3px rgba(0,0,0,.1))}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-element-shape--shapetype_svg{filter:drop-shadow(0 2px 1px rgba(0,0,0,.12)) drop-shadow(0px 4px 2px rgba(0,0,0,.12)) drop-shadow(0px 8px 4px rgba(0,0,0,.12)) drop-shadow(0px 16px 8px rgba(0,0,0,.1)) drop-shadow(0px 32px 16px rgba(0,0,0,.09))}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-element-shape--shapetype_svg{filter:none}:where([data-likec4-zoom-small=true]) .likec4-element-shape--shapetype_svg{filter:none}.likec4-root:is([data-likec4-diagram-panning=true]) .likec4-element-shape--shapetype_svg{filter:none}.likec4-element-shape--shapetype_svg [data-likec4-fill=fill]{fill:var(--likec4-palette-fill)}.likec4-element-shape--shapetype_svg [data-likec4-fill=stroke]{fill:var(--likec4-palette-stroke)}.likec4-element-shape--shapetype_svg [data-likec4-fill=mix-stroke]{fill:color-mix(in srgb,var(--likec4-palette-stroke) 90%,var(--likec4-palette-fill))}.likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){transition:all var(--durations-fast) var(--easings-in-out);transform-origin:50% 50%;transform:translate(14px,14px) perspective(200px) translateZ(-4px);filter:brightness(.5)!important;stroke:var(--colors-none)}:where([data-likec4-shape=queue]) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){transform-origin:75% 25%}:where([data-likec4-shape=cylinder]) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){transform-origin:50% 100%}:where([data-likec4-shape=storage]) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){transform-origin:50% 100%}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){transform:translate(2px,2px) perspective(200px) translateZ(-4px)}:where([data-likec4-zoom-small=true]) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){display:none}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){display:none}:where(.react-flow__node,.react-flow__edge):is(.selected) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){display:none}:where(.react-flow__node,.react-flow__edge):is(:focus-visible,:focus,:focus-within) .likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]){display:none}.likec4-element-shape--shapetype_svg:is([data-likec4-shape-multiple=true]) [data-likec4-fill=mix-stroke]{fill:var(--likec4-palette-fill)}.likec4-element-shape--shapetype_svg .likec4-shape-outline{stroke:var(--likec4-palette-outline);fill:var(--colors-none);stroke-width:8;stroke-opacity:.8;animation-duration:1s;animation-iteration-count:infinite;animation-direction:alternate;animation-name:indicatorOpacity}.likec4-tag--autoTextColor_false>span{color:var(--colors-likec4-tag-text)}.likec4-tag--autoTextColor_false>span:first-child{opacity:.65}.likec4-tag--autoTextColor_true>span{background:inherit;color:var(--colors-transparent);filter:invert(1) grayscale(1) brightness(1.3) contrast(1000);background-clip:text;-webkit-background-clip:text;mix-blend-mode:plus-lighter}.hover\\:likec4-tag--autoTextColor_true:is(:hover,[data-hover])>span{background:inherit;color:var(--colors-transparent);filter:invert(1) grayscale(1) brightness(1.3) contrast(1000);background-clip:text;-webkit-background-clip:text;mix-blend-mode:plus-lighter}.hover\\:likec4-tag--autoTextColor_false:is(:hover,[data-hover])>span{color:var(--colors-likec4-tag-text)}.hover\\:likec4-tag--autoTextColor_false:is(:hover,[data-hover])>span:first-child{opacity:.65}@media screen and (min-width:48rem){.likec4-overlay--fullscreen_false{--_border-radius: 6px;--_offset: 1rem;inset:var(--_inset) var(--_inset) var(--_offset) var(--_inset);padding:var(--spacing-1\\.5);border-radius:calc(var(--_border-radius) - 2px);width:calc(100vw - 2 * var(--_inset));height:calc(100vh - var(--_offset) - var(--_inset))}}@media screen and (min-width:62rem){.likec4-overlay--fullscreen_false{--_offset: 1rem}}@media screen and (min-width:75rem){.likec4-overlay--fullscreen_false{--_offset: 2rem}}@media screen and (min-width:88rem){.likec4-overlay--fullscreen_false{--_offset: 4rem}}}@layer recipes.slots{@layer _base{.likec4-navlink__root{border-radius:var(--radii-sm);padding-inline:var(--spacing-xs);padding-block:var(--spacing-xxs)}.likec4-navlink__root:is(:hover,[data-hover]):not([data-active]){background-color:var(--colors-mantine-colors-gray\\[1\\])}[data-mantine-color-scheme=dark] .likec4-navlink__root:is(:hover,[data-hover]):not([data-active]){background-color:var(--colors-mantine-colors-dark\\[5\\])}.likec4-navlink__body{gap:var(--spacing-0\\.5);display:flex;flex-direction:column}.likec4-navlink__section:where([data-position=left]){margin-inline-end:var(--spacing-xxs)}.likec4-navlink__label{display:block;font-size:var(--font-sizes-sm);font-weight:500;line-height:1.2}.likec4-navlink__description{display:block;font-size:var(--font-sizes-xxs);line-height:1.2}.likec4-edge-label__root{background:var(--xy-edge-label-background-color);border:0px solid transparent;padding-block:var(--spacing-1);padding-inline:var(--spacing-1\\.5);gap:var(--spacing-0\\.5);border-radius:4px;pointer-events:all;font-family:var(--fonts-likec4-relation);display:flex;flex-direction:column;align-items:center;line-height:1.2;color:var(--xy-edge-label-color);width:max-content;max-width:100%}.likec4-edge-label__stepNumber{padding:var(--spacing-1);background:color-mix(in srgb,var(--likec4-palette-relation-label-bg),var(--colors-likec4-mix-color) 10%);flex:0 0 auto;align-self:stretch;font-weight:600;font-size:14px;text-align:center;font-variant-numeric:tabular-nums;min-width:22px;border-top-left-radius:4px;border-bottom-left-radius:4px}.likec4-edge-label__stepNumber:only-child{border-radius:4px;min-width:24px}[data-mantine-color-scheme=dark] :where([data-likec4-color=gray]) .likec4-edge-label__stepNumber{background:color-mix(in srgb,var(--likec4-palette-relation-label-bg),var(--colors-likec4-mix-color) 15%)}.likec4-edge-label__labelContents{display:contents}.likec4-edge-label__labelContents:is(:empty,[data-empty]){display:none!important}.likec4-edge-label__labelText{margin:var(--spacing-0);white-space-collapse:preserve-breaks;font-size:14px}.likec4-edge-label__labelTechnology{text-align:center;white-space-collapse:preserve-breaks;font-size:11px;line-height:var(--line-heights-1);opacity:.75}}.likec4-navlink__label--truncateLabel_true,.likec4-navlink__description--truncateLabel_true{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.likec4-edge-label__root--cursor_pointer{cursor:pointer}.likec4-edge-label__root--cursor_default{cursor:default}.likec4-edge-label__root--isStepEdge_true{padding:var(--spacing-0);gap:var(--spacing-1);flex-direction:row}.likec4-edge-label__labelContents--isStepEdge_true{gap:var(--spacing-0\\.5);display:flex;flex-direction:column;align-items:center;padding-top:var(--spacing-0\\.5);padding-right:var(--spacing-1);padding-bottom:var(--spacing-1)}.likec4-edge-label__labelText--isStepEdge_true{padding-block:var(--spacing-0\\.5);padding-right:var(--spacing-0\\.5)}}@layer utilities{@layer compositions{.layerStyle_likec4\\.panel{border:1px solid var(--colors-likec4-panel-border);padding-block:var(--spacing-1);padding-inline:var(--spacing-xs);border-radius:var(--radii-0);background-color:var(--colors-likec4-panel-bg)}.likec4-root:is([data-likec4-diagram-panning=true]) .layerStyle_likec4\\.panel{border-radius:var(--radii-0);box-shadow:var(--shadows-none)}.layerStyle_likec4\\.dropdown{padding:var(--spacing-xxs);border:1px solid var(--colors-likec4-dropdown-border);border-radius:var(--radii-md);background-color:var(--colors-likec4-dropdown-bg);box-shadow:var(--shadows-lg)}.likec4-root:is([data-likec4-diagram-panning=true]) .layerStyle_likec4\\.dropdown{border-radius:0;border-color:var(--colors-transparent);box-shadow:var(--shadows-none)}.layerStyle_likec4\\.tag{border:var(--borders-none);border-radius:3px;color:var(--colors-likec4-tag-text);background-color:var(--colors-likec4-tag-bg)}.layerStyle_likec4\\.tag:is(:hover,[data-hover]){background-color:var(--colors-likec4-tag-bg-hover)}.likec4-root:not([data-likec4-reduced-graphics]) .noReduceGraphics\\:animationStyle_xyedgeAnimated{animation-duration:.8s;animation-iteration-count:infinite;animation-timing-function:linear;animation-fill-mode:both;animation-name:xyedgeAnimated}@container (min-width: 40rem){.layerStyle_likec4\\.panel{padding:2xs;border-radius:var(--radii-md);box-shadow:var(--shadows-lg)}}}.--mantine-cursor-pointer_pointer{--mantine-cursor-pointer: pointer}.--thickness_1px{--thickness: 1px}.--bleed-x_token\\(spacing\\.2\\,_2\\){--bleed-x: var(--spacing-2, 2)}.--bleed-y_token\\(spacing\\.2\\,_2\\){--bleed-y: var(--spacing-2, 2)}.--text-fz_\\{fontSizes\\.sm\\}{--text-fz: var(--font-sizes-sm)}.--view-title-color_\\{colors\\.mantine\\.colors\\.dark\\[1\\]\\}{--view-title-color: var(--colors-mantine-colors-dark\\[1\\])}.--likec4-icon-size_24px{--likec4-icon-size: 24px}.--ti-size_var\\(--likec4-icon-size\\,_24px\\){--ti-size: var(--likec4-icon-size, 24px)}.--_color_var\\(--likec4-palette-stroke\\){--_color: var(--likec4-palette-stroke)}.--ai-radius_0px{--ai-radius: 0px}.--badge-radius_2px{--badge-radius: 2px}.--badge-fz_9\\.5px{--badge-fz: 9.5px}.--badge-padding-x_3px{--badge-padding-x: 3px}.--badge-height_13\\.5px{--badge-height: 13.5px}.--badge-lh_1{--badge-lh: 1}.--badge-bg_var\\(--likec4-palette-fill\\){--badge-bg: var(--likec4-palette-fill)}.--badge-color_var\\(--likec4-palette-hiContrast\\){--badge-color: var(--likec4-palette-hiContrast)}.bg_dots{background:dots}.bg_transparent{background:var(--colors-transparent)}.p_0{padding:var(--spacing-0)}.p_xl{padding:var(--spacing-xl)}.bd_1px_solid{border:1px solid}.bg_mantine\\.colors\\.default{background:var(--colors-mantine-colors-default)}.p_\\[4px_7px\\]{padding:4px 7px}.m_0{margin:var(--spacing-0)}.bg_\\[transparent\\]{background:var(--colors-transparent)}.p_1{padding:var(--spacing-1)}.p_4{padding:var(--spacing-4)}.p_0\\.5{padding:var(--spacing-0\\.5)}.m_xs{margin:var(--spacing-xs)}.p_md{padding:var(--spacing-md)}.p_8{padding:var(--spacing-8)}.p_xxs{padding:var(--spacing-xxs)}.bg_mantine\\.colors\\.orange\\.light{background:var(--colors-mantine-colors-orange-light)}.p_\\[4px_6px\\]{padding:4px 6px}.bg_mantine\\.colors\\.gray\\[2\\]{background:var(--colors-mantine-colors-gray\\[2\\])}.bg_mantine\\.colors\\.gray\\[3\\]{background:var(--colors-mantine-colors-gray\\[3\\])}.bd_2px_solid{border:2px solid}.inset_0{inset:var(--spacing-0)}.bd_transparent{border:var(--borders-transparent)}.bd_none{border:var(--borders-none)}.bg_mantine\\.colors\\.body{background:var(--colors-mantine-colors-body)}.p_\\[10px_8px\\]{padding:10px 8px}.bd_1px_dashed{border:1px dashed}.bg_mantine\\.colors\\.gray\\[1\\]{background:var(--colors-mantine-colors-gray\\[1\\])}.p_\\[6px_8px\\]{padding:6px 8px}.bd_3\\.5px_solid{border:3.5px solid}.p_xs{padding:var(--spacing-xs)}.p_\\[4px_8px\\]{padding:4px 8px}.p_\\[1px_4px\\]{padding:1px 4px}.p_\\[3px_6px\\]{padding:3px 6px}.bg_var\\(--likec4-palette-fill\\)\\/75{--mix-background: color-mix(in srgb, var(--likec4-palette-fill) 75%, transparent);background:var(--mix-background, var(--likec4-palette-fill))}.bd_1px_solid_\\{colors\\.mantine\\.colors\\.defaultBorder\\}{border:1px solid var(--colors-mantine-colors-default-border)}.p_\\[1px_5px\\]{padding:1px 5px}.bg_mantine\\.colors\\.dark\\[7\\]{background:var(--colors-mantine-colors-dark\\[7\\])}.p_\\[6px_2px_0_2px\\]{padding:6px 2px 0}.p_\\[0_4px_5px_4px\\]{padding:0 4px 5px}.bg_mantine\\.colors\\.dark\\[9\\]\\/30{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-dark\\[9\\]) 30%, transparent);background:var(--mix-background, var(--colors-mantine-colors-dark\\[9\\]))}.bg_mantine\\.colors\\.primary\\[8\\]{background:var(--colors-mantine-colors-primary\\[8\\])}.p_\\[12px_8px_12px_14px\\]{padding:12px 8px 12px 14px}.bd_2px_dashed{border:2px dashed}.bd_default{border:var(--borders-default)}.p_2{padding:var(--spacing-2)}.bd_3px_dashed{border:3px dashed}.gap_20{gap:20px}.gap_xs{gap:var(--spacing-xs)}.transition_fast{transition:all var(--durations-fast) var(--easings-in-out)}.td_none{text-decoration:none}.bdr_sm{border-radius:var(--radii-sm)}.bd-c_mantine\\.colors\\.defaultBorder{border-color:var(--colors-mantine-colors-default-border)}.flex_1{flex:1 1 0%}.gap_xxs{gap:var(--spacing-xxs)}.gap_sm{gap:var(--spacing-sm)}.gap_1{gap:var(--spacing-1)}.ov_hidden{overflow:hidden}.gap_0\\.5{gap:var(--spacing-0\\.5)}.gap_\\[4px\\]{gap:4px}.px_xs{padding-inline:var(--spacing-xs)}.py_xxs{padding-block:var(--spacing-xxs)}.px_sm{padding-inline:var(--spacing-sm)}.gap_8px{gap:8px}.gap_1\\.5{gap:var(--spacing-1\\.5)}.bdr_\\[4px\\]{border-radius:4px}.px_1\\.5{padding-inline:var(--spacing-1\\.5)}.gap_3{gap:var(--spacing-3)}.mx_calc\\(var\\(--bleed-x\\,_0\\)_\\*_-1\\){margin-inline:calc(var(--bleed-x, 0) * -1)}.my_calc\\(var\\(--bleed-y\\,_0\\)_\\*_-1\\){margin-block:calc(var(--bleed-y, 0) * -1)}.py_2\\.5{padding-block:var(--spacing-2\\.5)}.px_2{padding-inline:var(--spacing-2)}.gap_2{gap:var(--spacing-2)}.offset_2{offset:2px}.py_1\\.5{padding-block:var(--spacing-1\\.5)}.bd-l_2px_dotted{border-left:2px dotted}.px_1{padding-inline:var(--spacing-1)}.py_0\\.5{padding-block:var(--spacing-0\\.5)}.bdr_\\[2px\\]{border-radius:2px}.px_xxs{padding-inline:var(--spacing-xxs)}.py_1{padding-block:var(--spacing-1)}.gap_\\[1px\\]{gap:1px}.gap_md{gap:var(--spacing-md)}.ov_auto{overflow:auto}.ovs-b_contain{overscroll-behavior:contain}.ov_visible{overflow:visible}.my_10{margin-block:var(--spacing-10)}.flex_1_1_40\\%{flex:1 1 40%}.bd-c_mantine\\.colors\\.gray\\[4\\]{border-color:var(--colors-mantine-colors-gray\\[4\\])}.bd-c_mantine\\.colors\\.gray\\[5\\]{border-color:var(--colors-mantine-colors-gray\\[5\\])}.bdr_3{border-radius:3px}.bd-c_mantine\\.colors\\.orange\\[6\\]{border-color:var(--colors-mantine-colors-orange\\[6\\])}.tw_pretty{text-wrap:pretty}.gap_lg{gap:var(--spacing-lg)}.flex_0{flex:0}.flex_0_0_40px{flex:0 0 40px}.gap_\\[24px_20px\\]{gap:24px 20px}.bd-c_mantine\\.colors\\.dark\\[3\\]{border-color:var(--colors-mantine-colors-dark\\[3\\])}.bd-t_none{border-top:var(--borders-none)}.bd-l_none{border-left:var(--borders-none)}.bdr_2px{border-radius:2px}.gap_4{gap:var(--spacing-4)}.gap_6{gap:var(--spacing-6)}.gap_\\[12px_16px\\]{gap:12px 16px}.bd-c_mantine\\.colors\\.gray\\[3\\]{border-color:var(--colors-mantine-colors-gray\\[3\\])}.flex_0_1_auto{flex:0 1 auto}.transition_all_150ms_ease{transition:all .15s ease}.bdr_xs{border-radius:var(--radii-xs)}.flex_1_1_100\\%{flex:1 1 100%}.offset_0{offset:0}.py_4{padding-block:var(--spacing-4)}.gap_8{gap:var(--spacing-8)}.px_md{padding-inline:var(--spacing-md)}.py_xs{padding-block:var(--spacing-xs)}.grid-c_1{grid-column:1}.grid-c_2{grid-column:2}.grid-c_3{grid-column:3}.bd-b_1px_solid{border-bottom:1px solid}.gap_0{gap:var(--spacing-0)}.gap_\\[10px_12px\\]{gap:10px 12px}.py_3{padding-block:var(--spacing-3)}.offset_4{offset:4px}.flex_1_0_auto{flex:1 0 auto}.ring_none{outline:var(--borders-none)}.ring_none\\!{outline:var(--borders-none)!important}.bdr_4px{border-radius:4px}.mx_auto{margin-inline:auto}.px_4{padding-inline:var(--spacing-4)}.py_md{padding-block:var(--spacing-md)}.bd-c_mantine\\.colors\\.primary\\[9\\]{border-color:var(--colors-mantine-colors-primary\\[9\\])}.flex_0_0_var\\(--likec4-icon-size\\,_24px\\){flex:0 0 var(--likec4-icon-size, 24px)}.bdr_md{border-radius:var(--radii-md)}.py_xl{padding-block:var(--spacing-xl)}.bd-w_1{border-width:1px}.bd-c_\\[var\\(--_color\\)\\/30\\]{--mix-borderColor: color-mix(in srgb, var(--_color) 30%, transparent);border-color:var(--mix-borderColor, var(--_color))}.transition_all_100ms_ease-in{transition:all .1s ease-in}.transition_all_150ms_ease-in-out{transition:all .15s ease-in-out}.py_sm{padding-block:var(--spacing-sm)}.flex_0_0_auto{flex:0 0 auto}.flex_0_0_70px{flex:0 0 70px}.bd-w_3px{border-width:3px}.border-style_dashed{border-style:dashed}.px_3{padding-inline:var(--spacing-3)}.px_5{padding-inline:var(--spacing-5)}.gap_6px{gap:6px}.px_4px{padding-inline:4px}.cursor_pointer{cursor:pointer}.pos_absolute{position:absolute}.c_gray{color:gray}.bkdp_blur\\(5px\\){backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.z_1000{z-index:1000}.c_red{color:red}.c_teal{color:teal}.op_1{opacity:1}.op_0\\.45{opacity:.45}.flex-wrap_nowrap{flex-wrap:nowrap}.us_all{-webkit-user-select:all;user-select:all}.bg-c_transparent{background-color:var(--colors-transparent)}.stk_2\\.5{stroke:2.5px}.op_0\\.7{opacity:.7}.fill_\\[\\#FCFBF7\\]{fill:#fcfbf7}.bx-sh_xs{box-shadow:var(--shadows-xs)}.fs_sm{font-size:var(--font-sizes-sm)}.fw_500{font-weight:500}.c_mantine\\.colors\\.placeholder{color:var(--colors-mantine-colors-placeholder)}.fs_11px{font-size:11px}.fw_600{font-weight:600}.lh_1{line-height:var(--line-heights-1)}.stk_2{stroke:2px}.ai_flex-start{align-items:flex-start}.pointer-events_none{pointer-events:none}.d_flex{display:flex}.ai_stretch{align-items:stretch}.flex-d_column{flex-direction:column}.main-axis_4{main-axis:4px}.pos_bottom-start{position:bottom-start}.ai_center{align-items:center}.flex-d_row{flex-direction:row}.pos_relative{position:relative}.pointer-events_all{pointer-events:all}.us_none{-webkit-user-select:none;user-select:none}.d_none{display:none}.flex-sh_1{flex-shrink:1}.flex-g_1{flex-grow:1}.flex-g_0{flex-grow:0}.op_0\\.3{opacity:.3}.bg-c_mantine\\.colors\\.gray\\[1\\]{background-color:var(--colors-mantine-colors-gray\\[1\\])}.stk_1\\.5{stroke:1.5px}.bd-e-w_var\\(--thickness\\){border-inline-end-width:var(--thickness)}.c_mantine\\.colors\\.gray\\[5\\]{color:var(--colors-mantine-colors-gray\\[5\\])}.c_mantine\\.colors\\.text\\/90{--mix-color: color-mix(in srgb, var(--colors-mantine-colors-text) 90%, transparent);color:var(--mix-color, var(--colors-mantine-colors-text))}.trunc_true{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c_mantine\\.colors\\.dimmed{color:var(--colors-mantine-colors-dimmed)}.bg-c_\\[rgb\\(34_34_34_\\/_var\\(--_opacity\\,_95\\%\\)\\)\\]{background-color:rgb(34 34 34 / var(--_opacity, 95%))}.bkdp_auto{backdrop-filter:var(--backdrop-blur, ) var(--backdrop-brightness, ) var(--backdrop-contrast, ) var(--backdrop-grayscale, ) var(--backdrop-hue-rotate, ) var(--backdrop-invert, ) var(--backdrop-opacity, ) var(--backdrop-saturate, ) var(--backdrop-sepia, );-webkit-backdrop-filter:var(--backdrop-blur, ) var(--backdrop-brightness, ) var(--backdrop-contrast, ) var(--backdrop-grayscale, ) var(--backdrop-hue-rotate, ) var(--backdrop-invert, ) var(--backdrop-opacity, ) var(--backdrop-saturate, ) var(--backdrop-sepia, )}.bkdp-blur_var\\(--_blur\\,_10px\\){--backdrop-blur: blur(var(--_blur, 10px))}.jc_stretch{justify-content:stretch}.cq-n_likec4-search-elements{container-name:likec4-search-elements}.cq-t_size{container-type:size}.d_contents{display:contents}.d_grid{display:grid}.order_6{order:6}.stk_1\\.8{stroke:1.8px}.trunc_end{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trs-dur_normal{--transition-duration: var(--durations-normal);transition-duration:var(--durations-normal)}.trs-dly_0\\.2s{transition-delay:.2s}.fill_none{fill:var(--colors-none)}.stk-w_calc\\(var\\(--xy-edge-stroke-width\\)_\\+_2\\){stroke-width:calc(var(--xy-edge-stroke-width) + 2)}.stk-op_0\\.08{stroke-opacity:.08}.fill_\\[var\\(--xy-edge-stroke\\)\\]{fill:var(--xy-edge-stroke)}.stk_\\[var\\(--xy-edge-stroke\\)\\]{stroke:var(--xy-edge-stroke)}.stk-do_0{stroke-dashoffset:0}.jc_center{justify-content:center}.z_1{z-index:1}.ai_flex-end{align-items:flex-end}.justify-items_stretch{justify-items:stretch}.fs_lg{font-size:var(--font-sizes-lg)}.ai_baseline{align-items:baseline}.flex-wrap_wrap{flex-wrap:wrap}.translate_auto{translate:var(--translate-x) var(--translate-y)}.translate-x_\\[-8px\\]{--translate-x: -8px}.bd-be-w_var\\(--thickness\\){border-block-end-width:var(--thickness)}.cursor_default{cursor:default}.pos_top-start{position:top-start}.op_0\\.65{opacity:.65}.d_block{display:block}.fs_xxs{font-size:var(--font-sizes-xxs)}.lh_sm{line-height:var(--line-heights-sm)}.white-space_nowrap{white-space:nowrap}.white-space-collapse_preserve-breaks{white-space-collapse:preserve-breaks}.c_likec4\\.panel\\.action-icon\\.text{color:var(--colors-likec4-panel-action-icon-text)}.bg-c_likec4\\.panel\\.action-icon\\.bg{background-color:var(--colors-likec4-panel-action-icon-bg)}.op_0\\.8{opacity:.8}.pos_bottom-end{position:bottom-end}.bx-sh_xl{box-shadow:var(--shadows-xl)}.fs_xs{font-size:var(--font-sizes-xs)}.op_0\\.5{opacity:.5}.me_0\\.5{margin-inline-end:var(--spacing-0\\.5)}.fw_400{font-weight:400}.bx-sh_md{box-shadow:var(--shadows-md)}.main-axis_2{main-axis:2px}.lh_1\\.1{line-height:1.1}.pos_right-start{position:right-start}.bx-sh_lg{box-shadow:var(--shadows-lg)}.main-axis_10{main-axis:10px}.op_0\\.6{opacity:.6}.c_orange{color:orange}.pos_top{position:top}.pos_right{position:right}.main-axis_12{main-axis:12px}.ta_center{text-align:center}.bx-sh_inset_1px_1px_3px_0px_\\#00000024{box-shadow:inset 1px 1px 3px #00000024}.trf_translate\\(-50\\%\\,_-50\\%\\){transform:translate(-50%,-50%)}.flex-sh_0{flex-shrink:0}.ms_0{margin-inline-start:var(--spacing-0)}.z_9{z-index:9}.ta_left{text-align:left}.lh_1\\.25{line-height:1.25}.bx-s_border-box{box-sizing:border-box}.pos_fixed{position:fixed}.c_mantine\\.colors\\.text{color:var(--colors-mantine-colors-text)}.bg-c_mantine\\.colors\\.body{background-color:var(--colors-mantine-colors-body)}.bg-i_linear-gradient\\(180deg\\,_color-mix\\(in_srgb\\,_var\\(--likec4-palette-fill\\)_60\\%\\,_transparent\\)\\,_color-mix\\(in_srgb\\,_var\\(--likec4-palette-fill\\)_20\\%\\,_transparent\\)_8px\\,_color-mix\\(in_srgb\\,_var\\(--likec4-palette-fill\\)_14\\%\\,_transparent\\)_20px\\,_transparent_80px_\\)\\,_linear-gradient\\(180deg\\,_var\\(--likec4-palette-fill\\)\\,_var\\(--likec4-palette-fill\\)_4px\\,_transparent_4px\\){background-image:linear-gradient(180deg,color-mix(in srgb,var(--likec4-palette-fill) 60%,transparent),color-mix(in srgb,var(--likec4-palette-fill) 20%,transparent) 8px,color-mix(in srgb,var(--likec4-palette-fill) 14%,transparent) 20px,transparent 80px),linear-gradient(180deg,var(--likec4-palette-fill),var(--likec4-palette-fill) 4px,transparent 4px)}.cursor_move{cursor:move}.ff_likec4\\.element{font-family:var(--fonts-likec4-element)}.font-optical-sizing_auto{font-optical-sizing:auto}.font-style_normal{font-style:normal}.fs_24px{font-size:24px}.lh_xs{line-height:var(--line-heights-xs)}.as_flex-start{align-self:flex-start}.c_\\[var\\(--view-title-color\\,_\\{colors\\.mantine\\.colors\\.gray\\[7\\]\\}\\)\\]{color:var(--view-title-color, var(--colors-mantine-colors-gray\\[7\\]))}.fs_15px{font-size:15px}.lh_1\\.4{line-height:1.4}.c_mantine\\.colors\\.gray\\[7\\]{color:var(--colors-mantine-colors-gray\\[7\\])}.grid-tc_min-content_1fr{grid-template-columns:min-content 1fr}.grid-ar_min-content_max-content{grid-auto-rows:min-content max-content}.justify-self_end{justify-self:end}.ta_right{text-align:right}.cursor_se-resize{cursor:se-resize}.ai_start{align-items:start}.jc_space-between{justify-content:space-between}.stk_1\\.6{stroke:1.6px}.grid-ar_min-content{grid-auto-rows:min-content}.white-space_pre-wrap{white-space:pre-wrap}.tov_unset{text-overflow:unset}.tov_ellipsis{text-overflow:ellipsis}.wb_break-word{word-break:break-word}.wb_normal{word-break:normal}.bg-c_mantine\\.colors\\.white{background-color:var(--colors-mantine-colors-white)}.jc_flex-end{justify-content:flex-end}.c_mantine\\.colors\\.gray\\[6\\]{color:var(--colors-mantine-colors-gray\\[6\\])}.fw_700{font-weight:700}.justify-self_stretch{justify-self:stretch}.as_start{align-self:start}.ps_\\[16px\\]{padding-inline-start:16px}.pe_2\\.5{padding-inline-end:var(--spacing-2\\.5)}.stk_1\\.2{stroke:1.2px}.d_inline-block{display:inline-block}.lh_1\\.2{line-height:1.2}.c_var\\(--likec4-palette-hiContrast\\){color:var(--likec4-palette-hiContrast)}.fs_xl{font-size:var(--font-sizes-xl)}.c_mantine\\.colors\\.defaultColor{color:var(--colors-mantine-colors-default-color)}.bx-sh_none{box-shadow:var(--shadows-none)}.d_inline-flex{display:inline-flex}.pos_top-right{position:top-right}.pos_top-left{position:top-left}.grid-cs_1{grid-column-start:1}.grid-ce_4{grid-column-end:4}.grid-tc_1fr_30px_1fr{grid-template-columns:1fr 30px 1fr}.justify-items_start{justify-items:start}.c_dark{color:dark}.stk_3\\.5{stroke:3.5px}.cq-n_likec4-tree{container-name:likec4-tree}.cq-t_inline-size{container-type:inline-size}.fs_10px{font-size:10px}.lh_1\\.3{line-height:1.3}.order_2{order:2}.grayscale_0{--grayscale: grayscale(0)}.grayscale_0\\.9{--grayscale: grayscale(.9)}.filter_auto{filter:var(--blur, ) var(--brightness, ) var(--contrast, ) var(--grayscale, ) var(--hue-rotate, ) var(--invert, ) var(--saturate, ) var(--sepia, ) var(--drop-shadow, )}.cross-axis_50{cross-axis:50px}.sr_true{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fs_13px{font-size:13px}.fs_16px{font-size:16px}.c_mantine\\.colors\\.dark\\[1\\]{color:var(--colors-mantine-colors-dark\\[1\\])}.fs_12px{font-size:12px}.fs_md{font-size:var(--font-sizes-md)}.bg-c_\\[rgb\\(34_34_34_\\/_0\\.7\\)\\]{background-color:#222222b3}.z_902{z-index:902}.bkdp-blur_10px{--backdrop-blur: blur(10px)}.trf_translateX\\(-50\\%\\){transform:translate(-50%)}.z_903{z-index:903}.mix-bm_normal{mix-blend-mode:normal}.fill_var\\(--likec4-palette-relation-stroke\\){fill:var(--likec4-palette-relation-stroke)}.stk_var\\(--likec4-palette-relation-stroke\\){stroke:var(--likec4-palette-relation-stroke)}.fill-opacity_0\\.75{fill-opacity:.75}.stk-w_1{stroke-width:1}.cursor_grab{cursor:grab}.pointer-events_auto{pointer-events:auto}.vis_hidden{visibility:hidden}.cursor_grabbing{cursor:grabbing}.bg-c_var\\(--likec4-palette-fill\\)\\/15{--mix-backgroundColor: color-mix(in srgb, var(--likec4-palette-fill) 15%, transparent);background-color:var(--mix-backgroundColor, var(--likec4-palette-fill))}.fw_bold{font-weight:700}.ls_\\.75px{letter-spacing:.75px}.c_\\[var\\(--_color\\)\\/75\\]{--mix-color: color-mix(in srgb, var(--_color) 75%, transparent);color:var(--mix-color, var(--_color))}.bg-c_var\\(--likec4-palette-fill\\){background-color:var(--likec4-palette-fill)}.translate-x_-1\\/2{--translate-x: -50%}.translate-y_-1\\/2{--translate-y: -50%}.bg-c_mantine\\.colors\\.body\\/80{--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-body) 80%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-body))}.fill_var\\(--likec4-palette-fill\\){fill:var(--likec4-palette-fill)}.stk_var\\(--likec4-palette-stroke\\){stroke:var(--likec4-palette-stroke)}.filter_drop-shadow\\(0_2px_3px_rgb\\(0_0_0_\\/_22\\%\\)\\)_drop-shadow\\(0_1px_8px_rgb\\(0_0_0_\\/_10\\%\\)\\){filter:drop-shadow(0 2px 3px rgb(0 0 0 / 22%)) drop-shadow(0 1px 8px rgb(0 0 0 / 10%))}.ls_0\\.2px{letter-spacing:.2px}.tt_lowercase{text-transform:lowercase}.op_0\\.25{opacity:.25}.stk-w_5{stroke-width:5}.pos_right-end{position:right-end}.jc_flex-start{justify-content:flex-start}.pos_left-start{position:left-start}.top_1rem{top:1rem}.right_1rem{right:1rem}.top_0{top:var(--spacing-0)}.left_0{left:var(--spacing-0)}.w_100\\%{width:100%}.h_100\\%{height:100%}.mt_xl{margin-top:var(--spacing-xl)}.min-h_24{min-height:24px}.max-w_500{max-width:500px}.pr_0{padding-right:var(--spacing-0)}.h_12{height:12px}.w_12{width:12px}.h_30px{height:30px}.pl_sm{padding-left:var(--spacing-sm)}.pr_1{padding-right:var(--spacing-1)}.pr_2\\.5{padding-right:var(--spacing-2\\.5)}.max-w_calc\\(100vw\\){max-width:100vw}.pr_md{padding-right:var(--spacing-md)}.max-w_200px{max-width:200px}.max-w_calc\\(100vw_-_50px\\){max-width:calc(100vw - 50px)}.max-w_calc\\(100vw_-_250px\\){max-width:calc(100vw - 250px)}.max-h_calc\\(100vh_-_200px\\){max-height:calc(100vh - 200px)}.max-h_calc\\(100vh_-_160px\\){max-height:calc(100vh - 160px)}.mb_1{margin-bottom:var(--spacing-1)}.max-h_100vh{max-height:100vh}.pt_\\[20px\\]{padding-top:20px}.pl_md{padding-left:var(--spacing-md)}.pb_sm{padding-bottom:var(--spacing-sm)}.pr_xs{padding-right:var(--spacing-xs)}.lc_5{-webkit-line-clamp:5}.lc_5,.lc_2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical}.lc_2{-webkit-line-clamp:2}.lc_3{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.max-h_8rem{max-height:8rem}.top_0\\.5{top:var(--spacing-0\\.5)}.right_0\\.5{right:var(--spacing-0\\.5)}.bottom_0{bottom:var(--spacing-0)}.max-w_50{max-width:50px}.h_5{height:5px}.w_max-content{width:max-content}.pt_2{padding-top:var(--spacing-2)}.mt_2{margin-top:var(--spacing-2)}.mt_0{margin-top:var(--spacing-0)}.pl_2\\.5{padding-left:var(--spacing-2\\.5)}.bd-l-c_mantine\\.colors\\.gray\\[3\\]{border-left-color:var(--colors-mantine-colors-gray\\[3\\])}.w_\\[20px\\]{width:20px}.mt_1{margin-top:var(--spacing-1)}.mb_xxs{margin-bottom:var(--spacing-xxs)}.pb_lg{padding-bottom:var(--spacing-lg)}.max-w_calc\\(100cqw_-_52px\\){max-width:calc(100cqw - 52px)}.min-w_200px{min-width:200px}.max-h_calc\\(100cqh_-_100px\\){max-height:calc(100cqh - 100px)}.h_auto{height:auto}.pt_6{padding-top:var(--spacing-6)}.mb_10{margin-bottom:var(--spacing-10)}.pt_100\\%{padding-top:100%}.left_2{left:var(--spacing-2)}.bottom_2{bottom:var(--spacing-2)}.mt_xs{margin-top:var(--spacing-xs)}.top_md{top:var(--spacing-md)}.left_md{left:var(--spacing-md)}.w_8{width:8px}.h_8{height:8px}.mr_sm{margin-right:var(--spacing-sm)}.h_26{height:26px}.top_\\[1px\\]{top:1px}.right_\\[1px\\]{right:1px}.pt_xxs{padding-top:var(--spacing-xxs)}.max-w_calc\\(100cqw_-_32px\\){max-width:calc(100cqw - 32px)}.min-w_calc\\(100cqw_-_50px\\){min-width:calc(100cqw - 50px)}.w_100vw{width:100vw}.h_100vh{height:100vh}.max-w_100vw{max-width:100vw}.h_40px{height:40px}.w_40px{width:40px}.w_14px{width:14px}.h_14px{height:14px}.bottom_0\\.5{bottom:var(--spacing-0\\.5)}.mb_sm{margin-bottom:var(--spacing-sm)}.lc_1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.mt_6{margin-top:var(--spacing-6)}.pt_xs{padding-top:var(--spacing-xs)}.w_300{width:300px}.min-w_0{min-width:0}.min-h_32px{min-height:32px}.max-w_min\\(200px\\,_100\\%\\){max-width:min(200px,100%)}.min-w_60px{min-width:60px}.mb_0{margin-bottom:var(--spacing-0)}.h_36px{height:36px}.min-w_24{min-width:24px}.mb_4{margin-bottom:var(--spacing-4)}.top_12{top:12px}.right_12{right:12px}.mt_sm{margin-top:var(--spacing-sm)}.ml_sm{margin-left:var(--spacing-sm)}.pl_1{padding-left:var(--spacing-1)}.bd-b-c_mantine\\.colors\\.defaultBorder{border-bottom-color:var(--colors-mantine-colors-default-border)}.max-h_70vh{max-height:70vh}.mb_2{margin-bottom:var(--spacing-2)}.max-w_8xl{max-width:8xl}.pl_\\[48px\\]{padding-left:48px}.mr_1{margin-right:var(--spacing-1)}.min-h_60px{min-height:60px}.h_var\\(--likec4-icon-size\\,_24px\\){height:var(--likec4-icon-size, 24px)}.w_var\\(--likec4-icon-size\\,_24px\\){width:var(--likec4-icon-size, 24px)}.top_\\[2rem\\]{top:2rem}.left_\\[50\\%\\]{left:50%}.max-w_600px{max-width:600px}.pl_2{padding-left:var(--spacing-2)}.pt_0\\.5{padding-top:var(--spacing-0\\.5)}.w_5px{width:5px}.top_1{top:var(--spacing-1)}.right_0{right:var(--spacing-0)}.w_min-content{width:min-content}.h_min-content{height:min-content}.min-w_200{min-width:200px}.max-w_calc\\(100vw_-_20px\\){max-width:calc(100vw - 20px)}.pt_0{padding-top:var(--spacing-0)}.pb_0{padding-bottom:var(--spacing-0)}.ml_2{margin-left:var(--spacing-2)}.h_xs{height:xs}.pb_8{padding-bottom:var(--spacing-8)}.pt_4{padding-top:var(--spacing-4)}.max-w_220px{max-width:220px}.\\[\\&_\\.action-icon\\]\\:--ai-size_2rem .action-icon{--ai-size: 2rem}[data-mantine-color-scheme=light] .light\\:--icon-color_\\{colors\\.mantine\\.colors\\.gray\\[6\\]\\}{--icon-color: var(--colors-mantine-colors-gray\\[6\\])}[data-mantine-color-scheme=light] .light\\:--view-title-color_\\{colors\\.mantine\\.colors\\.gray\\[7\\]\\}{--view-title-color: var(--colors-mantine-colors-gray\\[7\\])}.\\[\\&_\\.mantine-ThemeIcon-root\\]\\:--ti-size_22px .mantine-ThemeIcon-root{--ti-size: 22px}[data-mantine-color-scheme=dark] .dark\\:--_color_\\[color-mix\\(in_srgb\\,_var\\(--likec4-palette-hiContrast\\)_40\\%\\,_var\\(--likec4-palette-fill\\)\\)\\]{--_color: color-mix(in srgb, var(--likec4-palette-hiContrast) 40%, var(--likec4-palette-fill))}.likec4-root:not([data-likec4-reduced-graphics]) .noReduceGraphics\\:--ai-radius_\\{radii\\.md\\}{--ai-radius: var(--radii-md)}[data-mantine-color-scheme=light] .light\\:bg_mantine\\.colors\\.white{background:var(--colors-mantine-colors-white)}[data-mantine-color-scheme=dark] .dark\\:bg_mantine\\.colors\\.dark\\[6\\]{background:var(--colors-mantine-colors-dark\\[6\\])}.before\\:bg_\\[transparent\\]:before{background:var(--colors-transparent)}[data-mantine-color-scheme=light] .light\\:bg_var\\(--likec4-palette-fill\\)\\/90{--mix-background: color-mix(in srgb, var(--likec4-palette-fill) 90%, transparent);background:var(--mix-background, var(--likec4-palette-fill))}[data-mantine-color-scheme=dark] .dark\\:bg_var\\(--likec4-palette-fill\\)\\/60{--mix-background: color-mix(in srgb, var(--likec4-palette-fill) 60%, transparent);background:var(--mix-background, var(--likec4-palette-fill))}[data-mantine-color-scheme=dark] .dark\\:bg_mantine\\.colors\\.dark\\[5\\]{background:var(--colors-mantine-colors-dark\\[5\\])}[data-mantine-color-scheme=dark] .dark\\:bg_mantine\\.colors\\.dark\\[7\\]{background:var(--colors-mantine-colors-dark\\[7\\])}.\\[\\&\\[data-active\\]\\]\\:bg_mantine\\.colors\\.white[data-active]{background:var(--colors-mantine-colors-white)}[data-mantine-color-scheme=light] .light\\:bg_mantine\\.colors\\.gray\\[1\\]{background:var(--colors-mantine-colors-gray\\[1\\])}.\\[\\&\\[data-missing\\]\\]\\:bg_mantine\\.colors\\.orange\\[8\\]\\/15[data-missing]{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-orange\\[8\\]) 15%, transparent);background:var(--mix-background, var(--colors-mantine-colors-orange\\[8\\]))}.\\[\\&\\[data-missing\\]\\]\\:bg_mantine\\.colors\\.orange\\[8\\]\\/20[data-missing]{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-orange\\[8\\]) 20%, transparent);background:var(--mix-background, var(--colors-mantine-colors-orange\\[8\\]))}[data-mantine-color-scheme=light] .light\\:bg_mantine\\.colors\\.gray\\[3\\]\\/20{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-gray\\[3\\]) 20%, transparent);background:var(--mix-background, var(--colors-mantine-colors-gray\\[3\\]))}[data-mantine-color-scheme=dark] .dark\\:bg_mantine\\.colors\\.dark\\[6\\]\\/80{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-dark\\[6\\]) 80%, transparent);background:var(--mix-background, var(--colors-mantine-colors-dark\\[6\\]))}[data-mantine-color-scheme=light] .light\\:bg_mantine\\.colors\\.white\\/80{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-white) 80%, transparent);background:var(--mix-background, var(--colors-mantine-colors-white))}[data-mantine-color-scheme=light] .light\\:bd-c_mantine\\.colors\\.gray\\[4\\]{border-color:var(--colors-mantine-colors-gray\\[4\\])}[data-mantine-color-scheme=dark] .dark\\:bd-c_mantine\\.colors\\.dark\\[4\\]{border-color:var(--colors-mantine-colors-dark\\[4\\])}.likec4-root:is([data-likec4-diagram-panning=true]) .whenPanning\\:transition_none\\!{transition:none!important}[data-mantine-color-scheme=light] .light\\:bd-c_mantine\\.colors\\.gray\\[2\\]{border-color:var(--colors-mantine-colors-gray\\[2\\])}[data-mantine-color-scheme=dark] .dark\\:bd-c_mantine\\.colors\\.dark\\[7\\]{border-color:var(--colors-mantine-colors-dark\\[7\\])}.likec4-root:is([data-likec4-reduced-graphics]) .reduceGraphics\\:transition_none{transition:none}.likec4-root:not([data-likec4-reduced-graphics]) .noReduceGraphics\\:transition_stroke_130ms_ease-out\\,stroke-width_130ms_ease-out{transition:stroke .13s ease-out,stroke-width .13s ease-out}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:bdr_4{border-radius:4px}.\\[\\&_\\.mantine-ThemeIcon-root\\]\\:transition_fast .mantine-ThemeIcon-root{transition:all var(--durations-fast) var(--easings-in-out)}.\\[\\&_\\>_\\*\\]\\:transition_all_130ms_\\{easings\\.inOut\\}>*{transition:all .13s var(--easings-in-out)}.\\[\\&\\[data-active\\]\\]\\:transition_none[data-active]{transition:none}.\\[\\&_\\>_\\*\\]\\:transition_fast>*,.\\[\\&_\\.tabler-icon\\]\\:transition_fast .tabler-icon{transition:all var(--durations-fast) var(--easings-in-out)}.\\[\\&\\[data-missing\\]\\]\\:bd-c_mantine\\.colors\\.orange\\[5\\]\\/20[data-missing]{--mix-borderColor: color-mix(in srgb, var(--colors-mantine-colors-orange\\[5\\]) 20%, transparent);border-color:var(--mix-borderColor, var(--colors-mantine-colors-orange\\[5\\]))}[data-mantine-color-scheme=light] .light\\:bd-c_mantine\\.colors\\.gray\\[3\\]{border-color:var(--colors-mantine-colors-gray\\[3\\])}.\\[\\&\\:last-child_\\.likec4-edge-label\\]\\:bd-b_none:last-child .likec4-edge-label{border-bottom:var(--borders-none)}.\\[\\&_\\>_\\*\\]\\:transition_all_0\\.15s_ease-in>*{transition:all .15s ease-in}[data-mantine-color-scheme=dark] .dark\\:bd-c_transparent{border-color:var(--colors-transparent)}:where(.react-flow__edge.selected,[data-likec4-hovered=true]) .\\[\\:where\\(\\.react-flow__edge\\.selected\\,_\\[data-likec4-hovered\\=\\'true\\'\\]\\)_\\&\\]\\:transition_fill-opacity_150ms_ease-out\\,_stroke_150ms_ease-out\\,_stroke-width_150ms_ease-out{transition:fill-opacity .15s ease-out,stroke .15s ease-out,stroke-width .15s ease-out}.\\[\\&_\\:where\\(\\.likec4-diagram\\,_\\.likec4-compound-node\\,_\\.likec4-element-node\\)\\]\\:cursor_pointer :where(.likec4-diagram,.likec4-compound-node,.likec4-element-node){cursor:pointer}[data-mantine-color-scheme=dark] .dark\\:bg-c_\\[rgb\\(34_34_34_\\/_10\\%\\)\\]{background-color:#2222221a}[data-mantine-color-scheme=light] .light\\:bg-c_\\[rgb\\(15_15_15\\/_20\\%\\)\\]{background-color:#0f0f0f33}.\\[\\&\\:is\\(\\[data-position\\=\\"left\\"\\]\\)\\]\\:c_mantine\\.colors\\.dimmed:is([data-position=left]){color:var(--colors-mantine-colors-dimmed)}.\\[\\&\\:is\\(\\[data-position\\=\\"left\\"\\]\\)\\]\\:us_none:is([data-position=left]){-webkit-user-select:none;user-select:none}.\\[\\&\\:is\\(\\[data-position\\=\\"left\\"\\]\\)\\]\\:pointer-events_none:is([data-position=left]){pointer-events:none}[data-mantine-color-scheme=light] .light\\:fill_\\[\\#222221\\]{fill:#222221}.\\[\\&_\\.tabler-icon\\]\\:c_mantine\\.colors\\.text .tabler-icon{color:var(--colors-mantine-colors-text)}.likec4-root:is([data-likec4-diagram-panning=true]) .whenPanning\\:bx-sh_none\\!{box-shadow:var(--shadows-none)!important}[data-mantine-color-scheme=light] .light\\:c_mantine\\.colors\\.gray\\[7\\]{color:var(--colors-mantine-colors-gray\\[7\\])}[data-mantine-color-scheme=dark] .dark\\:c_mantine\\.colors\\.dark\\[0\\]{color:var(--colors-mantine-colors-dark\\[0\\])}[data-mantine-color-scheme=light] .light\\:bg-c_mantine\\.colors\\.gray\\[2\\]\\/70{--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-gray\\[2\\]) 70%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-gray\\[2\\]))}[data-mantine-color-scheme=dark] .dark\\:bg-c_mantine\\.colors\\.dark\\[8\\]\\/70{--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-dark\\[8\\]) 70%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-dark\\[8\\]))}.empty\\:d_none:is(:empty,[data-empty]){display:none}.\\[\\&_\\>_mark\\]\\:bg-c_mantine\\.colors\\.yellow\\[2\\]\\/90>mark{--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-yellow\\[2\\]) 90%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-yellow\\[2\\]))}[data-mantine-color-scheme=dark] .dark\\:op_0\\.5{opacity:.5}[data-mantine-color-scheme=dark] .dark\\:bg-c_mantine\\.colors\\.dark\\[5\\]\\/80{--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-dark\\[5\\]) 80%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-dark\\[5\\]))}.placeholder\\:c_mantine\\.colors\\.dimmed::placeholder,.placeholder\\:c_mantine\\.colors\\.dimmed[data-placeholder]{color:var(--colors-mantine-colors-dimmed)}[data-mantine-color-scheme=dark] .dark\\:c_mantine\\.colors\\.dark\\[3\\]{color:var(--colors-mantine-colors-dark\\[3\\])}[data-mantine-color-scheme=light] .light\\:bg-c_\\[rgb\\(250_250_250_\\/_var\\(--_opacity\\,_95\\%\\)\\)\\]{background-color:rgb(250 250 250 / var(--_opacity, 95%))}.likec4-root:not([data-likec4-reduced-graphics]) .noReduceGraphics\\:trs-prop_stroke-width\\,_stroke-opacity{--transition-prop: stroke-width, stroke-opacity;transition-property:stroke-width,stroke-opacity}.likec4-root:not([data-likec4-reduced-graphics]) .noReduceGraphics\\:trs-dur_fast{--transition-duration: var(--durations-fast);transition-duration:var(--durations-fast)}.likec4-root:not([data-likec4-reduced-graphics]) .noReduceGraphics\\:trs-tmf_inOut{--transition-easing: var(--easings-in-out);transition-timing-function:var(--easings-in-out)}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:trs-tmf_out{--transition-easing: var(--easings-out);transition-timing-function:var(--easings-out)}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:stk-w_calc\\(var\\(--xy-edge-stroke-width\\)_\\+_4\\){stroke-width:calc(var(--xy-edge-stroke-width) + 4)}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:stk-op_0\\.2{stroke-opacity:.2}:where(.react-flow__node,.react-flow__edge):is(.selected) .whenSelected\\:stk-w_calc\\(var\\(--xy-edge-stroke-width\\)_\\+_6\\){stroke-width:calc(var(--xy-edge-stroke-width) + 6)}:where(.react-flow__node,.react-flow__edge):is(.selected) .whenSelected\\:stk-op_0\\.25{stroke-opacity:.25}.likec4-root:not([data-likec4-reduced-graphics]) .noReduceGraphics\\:anim-ps_paused{animation-play-state:paused}:where([data-edge-dir=back]) .\\[\\:where\\(\\[data-edge-dir\\=\\'back\\'\\]\\)_\\&\\]\\:anim-dir_reverse{animation-direction:reverse}:where(.react-flow__node,.react-flow__edge):has([data-likec4-dimmed]) .whenDimmed\\:anim-ps_paused{animation-play-state:paused}:where([data-likec4-zoom-small=true]) .smallZoom\\:anim-n_none{animation-name:none}.likec4-root:is([data-likec4-diagram-panning=true]) .whenPanning\\:stk-dsh_none\\!{stroke-dasharray:none!important}.likec4-root:is([data-likec4-diagram-panning=true]) .whenPanning\\:anim-ps_paused{animation-play-state:paused}:where([data-likec4-zoom-small=true]) .smallZoom\\:d_none{display:none}.before\\:content_\\"_\\":before{content:" "}.before\\:pos_absolute:before{position:absolute}.before\\:pointer-events_all:before{pointer-events:all}:where(.react-flow__node.selectable:not(.dragging)) .\\[\\:where\\(\\.react-flow__node\\.selectable\\:not\\(\\.dragging\\)\\)_\\&\\]\\:cursor_pointer{cursor:pointer}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:trs-dly_\\.08s{transition-delay:.08s}.likec4-root:is([data-likec4-diagram-panning=true]) .whenPanning\\:pointer-events_none{pointer-events:none}[data-mantine-color-scheme=light] .light\\:c_var\\(--likec4-palette-hiContrast\\){color:var(--likec4-palette-hiContrast)}[data-mantine-color-scheme=dark] .dark\\:c_var\\(--likec4-palette-loContrast\\){color:var(--likec4-palette-loContrast)}[data-mantine-color-scheme=dark] .dark\\:c_mantine\\.colors\\.gray\\[4\\]{color:var(--colors-mantine-colors-gray\\[4\\])}[data-mantine-color-scheme=light] .light\\:c_mantine\\.colors\\.gray\\[8\\]{color:var(--colors-mantine-colors-gray\\[8\\])}[data-mantine-color-scheme=light] .light\\:c_mantine\\.colors\\.gray\\[9\\]{color:var(--colors-mantine-colors-gray\\[9\\])}.\\[\\&\\:is\\(\\[data-position\\=\\"right\\"\\]\\)\\]\\:ms_1:is([data-position=right]){margin-inline-start:var(--spacing-1)}.\\[\\&_\\:where\\(button\\,_\\.action-icon\\,_\\[role\\=\\'dialog\\'\\]\\)\\]\\:pointer-events_all :where(button,.action-icon,[role=dialog]){pointer-events:all}.likec4-root:is([data-likec4-diagram-panning=true]) .whenPanning\\:bx-sh_none{box-shadow:var(--shadows-none)}.backdrop\\:bkdp_auto::backdrop{backdrop-filter:var(--backdrop-blur, ) var(--backdrop-brightness, ) var(--backdrop-contrast, ) var(--backdrop-grayscale, ) var(--backdrop-hue-rotate, ) var(--backdrop-invert, ) var(--backdrop-opacity, ) var(--backdrop-saturate, ) var(--backdrop-sepia, );-webkit-backdrop-filter:var(--backdrop-blur, ) var(--backdrop-brightness, ) var(--backdrop-contrast, ) var(--backdrop-grayscale, ) var(--backdrop-hue-rotate, ) var(--backdrop-invert, ) var(--backdrop-opacity, ) var(--backdrop-saturate, ) var(--backdrop-sepia, )}.backdrop\\:bkdp-blur_var\\(--_blur\\)::backdrop{--backdrop-blur: blur(var(--_blur))}.backdrop\\:bg-c_\\[rgb\\(36_36_36_\\/_var\\(--_opacity\\,_5\\%\\)\\)\\]::backdrop{background-color:rgb(36 36 36 / var(--_opacity, 5%))}[data-mantine-color-scheme=dark] .dark\\:bg-c_mantine\\.colors\\.dark\\[6\\]{background-color:var(--colors-mantine-colors-dark\\[6\\])}.\\[\\&_\\.react-flow__attribution\\]\\:d_none .react-flow__attribution{display:none}[data-mantine-color-scheme=dark] .dark\\:mix-bm_hard-light{mix-blend-mode:hard-light}.\\[\\&_\\:where\\(svg\\,_img\\)\\]\\:pointer-events_none :where(svg,img){pointer-events:none}.\\[\\&_\\:where\\(svg\\,_img\\)\\]\\:filter_drop-shadow\\(0_0_3px_rgb\\(0_0_0_\\/_10\\%\\)\\)_drop-shadow\\(0_1px_8px_rgb\\(0_0_0_\\/_5\\%\\)\\)_drop-shadow\\(1px_1px_16px_rgb\\(0_0_0_\\/_2\\%\\)\\) :where(svg,img){filter:drop-shadow(0 0 3px rgb(0 0 0 / 10%)) drop-shadow(0 1px 8px rgb(0 0 0 / 5%)) drop-shadow(1px 1px 16px rgb(0 0 0 / 2%))}.\\[\\&_img\\]\\:obj-f_contain img{object-fit:contain}.\\[\\&_\\.mantine-ThemeIcon-root\\]\\:c_\\[var\\(--icon-color\\,_\\{colors\\.mantine\\.colors\\.dark\\[2\\]\\}\\)\\] .mantine-ThemeIcon-root{color:var(--icon-color, var(--colors-mantine-colors-dark\\[2\\]))}.\\[\\&\\[data-active\\]\\]\\:bx-sh_xs[data-active]{box-shadow:var(--shadows-xs)}.\\[\\&\\[data-active\\]\\]\\:c_mantine\\.colors\\.defaultColor[data-active]{color:var(--colors-mantine-colors-default-color)}[data-mantine-color-scheme=dark] .dark\\:c_mantine\\.colors\\.dark\\[1\\]{color:var(--colors-mantine-colors-dark\\[1\\])}[data-mantine-color-scheme=dark] .dark\\:bg-c_mantine\\.colors\\.dark\\[9\\]{background-color:var(--colors-mantine-colors-dark\\[9\\])}[data-mantine-color-scheme=dark] .dark\\:c_mantine\\.colors\\.text{color:var(--colors-mantine-colors-text)}[data-mantine-color-scheme=dark] .dark\\:c_mantine\\.colors\\.dark\\[2\\]{color:var(--colors-mantine-colors-dark\\[2\\])}[data-mantine-color-scheme=dark] .dark\\:c_mantine\\.colors\\.gray\\.lightColor{color:var(--colors-mantine-colors-gray-light-color)}.\\[\\&_\\.tabler-icon\\]\\:op_0\\.65 .tabler-icon{opacity:.65}.\\[\\&\\[data-missing\\]\\]\\:c_mantine\\.colors\\.orange\\[4\\][data-missing]{color:var(--colors-mantine-colors-orange\\[4\\])}.before\\:content_\\"scope\\:\\":before{content:"scope:"}.before\\:fs_xxs:before{font-size:var(--font-sizes-xxs)}.before\\:fw_500:before{font-weight:500}.before\\:lh_1:before{line-height:var(--line-heights-1)}.before\\:c_mantine\\.colors\\.dimmed:before{color:var(--colors-mantine-colors-dimmed)}.before\\:op_0\\.85:before{opacity:.85}.before\\:trf_translateY\\(-100\\%\\)_translateY\\(-2px\\):before{transform:translateY(-100%) translateY(-2px)}.\\[\\&\\[data-zero\\]\\]\\:c_mantine\\.colors\\.dimmed[data-zero]{color:var(--colors-mantine-colors-dimmed)}.\\[\\&_\\.mantine-Text-root\\]\\:c_mantine\\.colors\\.text\\/90 .mantine-Text-root{--mix-color: color-mix(in srgb, var(--colors-mantine-colors-text) 90%, transparent);color:var(--mix-color, var(--colors-mantine-colors-text))}.\\[\\&_\\.mantine-Text-root\\]\\:fs_xs .mantine-Text-root{font-size:var(--font-sizes-xs)}.\\[\\&_\\.mantine-Text-root\\]\\:fw_500 .mantine-Text-root{font-weight:500}.\\[\\&_\\.mantine-Text-root\\]\\:lh_1\\.2 .mantine-Text-root{line-height:1.2}.\\[\\&_\\.mantine-Text-root\\]\\:fs_xxs .mantine-Text-root{font-size:var(--font-sizes-xxs)}.\\[\\&_\\.mantine-Text-root\\]\\:fw_400 .mantine-Text-root{font-weight:400}.\\[\\&_\\.mantine-Text-root\\]\\:lh_xs .mantine-Text-root{line-height:var(--line-heights-xs)}.\\[\\&_\\.mantine-Text-root\\]\\:c_mantine\\.colors\\.dimmed .mantine-Text-root{color:var(--colors-mantine-colors-dimmed)}.\\[\\&\\[data-disabled\\]_\\.mantine-ThemeIcon-root\\]\\:op_0\\.45[data-disabled] .mantine-ThemeIcon-root{opacity:.45}:where(.likec4-view-btn[data-disabled]) .\\[\\:where\\(\\.likec4-view-btn\\[data-disabled\\]\\)_\\&\\]\\:op_0\\.85{opacity:.85}[data-mantine-color-scheme=light] .light\\:c_mantine\\.colors\\.gray\\[5\\]{color:var(--colors-mantine-colors-gray\\[5\\])}.\\[\\&_svg\\,_\\&_img\\]\\:pointer-events_none svg,.\\[\\&_svg\\,_\\&_img\\]\\:pointer-events_none img{pointer-events:none}.\\[\\&\\.likec4-shape-icon_svg\\]\\:stk-w_1\\.5.likec4-shape-icon svg{stroke-width:1.5}:where([data-disabled]) .\\[\\:where\\(\\[data-disabled\\]\\)_\\&\\]\\:op_0\\.4{opacity:.4}:where([data-disabled]) .\\[\\:where\\(\\[data-disabled\\]\\)_\\&\\]\\:op_0\\.85{opacity:.85}[data-mantine-color-scheme=light] .light\\:bg-c_\\[rgb\\(255_255_255_\\/_0\\.6\\)\\]{background-color:#fff9}:where(.react-flow__edge.selected,[data-likec4-hovered=true]) .\\[\\:where\\(\\.react-flow__edge\\.selected\\,_\\[data-likec4-hovered\\=\\'true\\'\\]\\)_\\&\\]\\:vis_visible{visibility:visible}:where(.react-flow__edge.selected,[data-likec4-hovered=true]) .\\[\\:where\\(\\.react-flow__edge\\.selected\\,_\\[data-likec4-hovered\\=\\'true\\'\\]\\)_\\&\\]\\:trs-dly_50ms{transition-delay:50ms}:where(.react-flow__edge.selected,[data-likec4-hovered=true]) .\\[\\:where\\(\\.react-flow__edge\\.selected\\,_\\[data-likec4-hovered\\=\\'true\\'\\]\\)_\\&\\]\\:fill-opacity_1{fill-opacity:1}:where(.react-flow__edge.selected,[data-likec4-hovered=true]) .\\[\\:where\\(\\.react-flow__edge\\.selected\\,_\\[data-likec4-hovered\\=\\'true\\'\\]\\)_\\&\\]\\:stk-w_5{stroke-width:5}.\\[\\&_\\*\\]\\:cursor_grabbing\\! *,.\\[\\&_\\.react-flow__edge-interaction\\]\\:cursor_grabbing\\! .react-flow__edge-interaction{cursor:grabbing!important}[data-mantine-color-scheme=dark] .dark\\:bg-c_mantine\\.colors\\.dark\\[6\\]\\/80{--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-dark\\[6\\]) 80%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-dark\\[6\\]))}.\\[\\&_\\.mantine-ScrollArea-viewport\\]\\:min-h_100\\% .mantine-ScrollArea-viewport{min-height:100%}:where([data-likec4-shape=browser]) .shapeBrowser\\:right_\\[5px\\]{right:5px}:where([data-likec4-shape=cylinder]) .shapeCylinder\\:top_\\[14px\\]{top:14px}:where([data-likec4-shape=storage]) .shapeStorage\\:top_\\[14px\\]{top:14px}:where([data-likec4-shape=queue]) .shapeQueue\\:top_\\[1px\\]{top:1px}:where([data-likec4-shape=queue]) .shapeQueue\\:right_3{right:var(--spacing-3)}.before\\:top_\\[calc\\(100\\%_-_4px\\)\\]:before{top:calc(100% - 4px)}.before\\:left_0:before{left:var(--spacing-0)}.before\\:w_100\\%:before{width:100%}.before\\:h_24px:before{height:24px}:where([data-likec4-shape=cylinder]) .shapeCylinder\\:bottom_\\[5px\\]{bottom:5px}:where([data-likec4-shape=storage]) .shapeStorage\\:bottom_\\[5px\\]{bottom:5px}:where([data-likec4-shape=queue]) .shapeQueue\\:bottom_0{bottom:var(--spacing-0)}:where([data-likec4-shape=queue]) .shapeQueue\\:pl_\\[14px\\]{padding-left:14px}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:h_12{height:12px}[data-mantine-color-scheme=dark] .dark\\:bd-l-c_mantine\\.colors\\.dark\\[4\\]{border-left-color:var(--colors-mantine-colors-dark\\[4\\])}.\\[\\&_\\>_svg\\]\\:w_70\\%>svg{width:70%}.\\[\\&_\\>_svg\\]\\:h_70\\%>svg{height:70%}.\\[\\&_\\.tabler-icon\\]\\:w_65\\% .tabler-icon{width:65%}.\\[\\&_\\.tabler-icon\\]\\:h_65\\% .tabler-icon{height:65%}.\\[\\&_\\:where\\(svg\\,_img\\)\\]\\:w_100\\% :where(svg,img){width:100%}.\\[\\&_\\:where\\(svg\\,_img\\)\\]\\:h_auto :where(svg,img){height:auto}.\\[\\&_\\:where\\(svg\\,_img\\)\\]\\:max-h_100\\% :where(svg,img){max-height:100%}.\\[\\&\\:not\\(\\:has\\(\\.mantine-ScrollArea-root\\)\\)\\]\\:pl_1:not(:has(.mantine-ScrollArea-root)){padding-left:var(--spacing-1)}.\\[\\&\\:not\\(\\:has\\(\\.mantine-ScrollArea-root\\)\\)\\]\\:pr_1:not(:has(.mantine-ScrollArea-root)){padding-right:var(--spacing-1)}.\\[\\&_\\.mantine-ScrollArea-root\\]\\:w_100\\% .mantine-ScrollArea-root{width:100%}.\\[\\&_\\.mantine-ScrollArea-root\\]\\:h_100\\% .mantine-ScrollArea-root{height:100%}.\\[\\&\\[data-level\\=\\'1\\'\\]\\]\\:mb_sm[data-level="1"]{margin-bottom:var(--spacing-sm)}.\\[\\&_\\.tabler-icon\\]\\:w_90\\% .tabler-icon{width:90%}.before\\:top_0:before{top:var(--spacing-0)}.before\\:left_2:before{left:var(--spacing-2)}.\\[\\&\\:last-child_\\.likec4-edge-label\\]\\:mb_0:last-child .likec4-edge-label{margin-bottom:var(--spacing-0)}.\\[\\&_svg\\,_\\&_img\\]\\:w_100\\% svg,.\\[\\&_svg\\,_\\&_img\\]\\:w_100\\% img{width:100%}.\\[\\&_svg\\,_\\&_img\\]\\:h_auto svg,.\\[\\&_svg\\,_\\&_img\\]\\:h_auto img{height:auto}.\\[\\&_svg\\,_\\&_img\\]\\:max-h_100\\% svg,.\\[\\&_svg\\,_\\&_img\\]\\:max-h_100\\% img{max-height:100%}:is(.\\[\\&_\\+_\\&\\]\\:mt_\\[32px\\])+:is(.\\[\\&_\\+_\\&\\]\\:mt_\\[32px\\]){margin-top:32px}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:w_7px{width:7px}:where(.react-flow__node,.react-flow__edge):is(.selected) .whenSelected\\:w_7px{width:7px}.focusWithin\\:bg_mantine\\.colors\\.gray\\[4\\]\\/55\\!:focus-within{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-gray\\[4\\]) 55%, transparent) !important;background:var(--mix-background, var(--colors-mantine-colors-gray\\[4\\]))!important}.group:focus-within .groupFocusWithin\\:op_1{opacity:1}.group:focus-within .groupFocusWithin\\:grayscale_0{--grayscale: grayscale(0)}.focus\\:bg_mantine\\.colors\\.primary\\[8\\]:is(:focus,[data-focus]){background:var(--colors-mantine-colors-primary\\[8\\])}.mantine-Tree-node:focus>.mantine-Tree-label .\\[\\.mantine-Tree-node\\:focus_\\>_\\.mantine-Tree-label_\\&\\]\\:bg_mantine\\.colors\\.primary\\[8\\]{background:var(--colors-mantine-colors-primary\\[8\\])}.group:is(:focus,[data-focus]) .groupFocus\\:transition_none{transition:none}.focus\\:ring_none:is(:focus,[data-focus]){outline:var(--borders-none)}.focusVisible\\:ring_none:is(:focus-visible,[data-focus-visible]){outline:var(--borders-none)}.focus\\:bd-c_mantine\\.colors\\.primary\\[9\\]:is(:focus,[data-focus]){border-color:var(--colors-mantine-colors-primary\\[9\\])}.mantine-Tree-node:focus>.mantine-Tree-label .\\[\\.mantine-Tree-node\\:focus_\\>_\\.mantine-Tree-label_\\&\\]\\:ring_none{outline:var(--borders-none)}.mantine-Tree-node:focus>.mantine-Tree-label .\\[\\.mantine-Tree-node\\:focus_\\>_\\.mantine-Tree-label_\\&\\]\\:bd-c_mantine\\.colors\\.primary\\[9\\]{border-color:var(--colors-mantine-colors-primary\\[9\\])}.group:is(:focus,[data-focus]) .groupFocus\\:c_\\[inherit\\]\\!{color:inherit!important}.group:is(:focus,[data-focus]) .groupFocus\\:op_0\\.5{opacity:.5}.group:is(:focus,[data-focus]) .groupFocus\\:op_0\\.8{opacity:.8}.focus\\:bg-c_mantine\\.colors\\.gray\\[2\\]:is(:focus,[data-focus]){background-color:var(--colors-mantine-colors-gray\\[2\\])}.focus\\:c_mantine\\.colors\\.primary\\.lightColor\\!:is(:focus,[data-focus]){color:var(--colors-mantine-colors-primary-light-color)!important}.focus\\:bg-c_mantine\\.colors\\.primary\\.lightHover\\!:is(:focus,[data-focus]){background-color:var(--colors-mantine-colors-primary-light-hover)!important}.group:is(:focus,[data-focus]) .groupFocus\\:c_mantine\\.colors\\.primary\\[0\\]{color:var(--colors-mantine-colors-primary\\[0\\])}.mantine-Tree-node:focus>.mantine-Tree-label .\\[\\.mantine-Tree-node\\:focus_\\>_\\.mantine-Tree-label_\\&\\]\\:c_mantine\\.colors\\.primary\\[0\\]{color:var(--colors-mantine-colors-primary\\[0\\])}.group:is(:focus,[data-focus]) .groupFocus\\:c_mantine\\.colors\\.primary\\[1\\]{color:var(--colors-mantine-colors-primary\\[1\\])}.mantine-Tree-node:focus>.mantine-Tree-label .\\[\\.mantine-Tree-node\\:focus_\\>_\\.mantine-Tree-label_\\&\\]\\:c_mantine\\.colors\\.primary\\[1\\]{color:var(--colors-mantine-colors-primary\\[1\\])}.hover\\:--icon-color_\\{colors\\.mantine\\.colors\\.dark\\[1\\]\\}:is(:hover,[data-hover]){--icon-color: var(--colors-mantine-colors-dark\\[1\\])}.hover\\:--view-title-color_\\{colors\\.mantine\\.colors\\.defaultColor\\}:is(:hover,[data-hover]){--view-title-color: var(--colors-mantine-colors-default-color)}.hover\\:bg_mantine\\.colors\\.defaultHover:is(:hover,[data-hover]){background:var(--colors-mantine-colors-default-hover)}.hover\\:bg_mantine\\.colors\\.gray\\[3\\]:is(:hover,[data-hover]){background:var(--colors-mantine-colors-gray\\[3\\])}.hover\\:bg_mantine\\.colors\\.gray\\.lightHover:is(:hover,[data-hover]){background:var(--colors-mantine-colors-gray-light-hover)}.hover\\:bg_mantine\\.colors\\.primary\\[8\\]\\/60:is(:hover,[data-hover]){--mix-background: color-mix(in srgb, var(--colors-mantine-colors-primary\\[8\\]) 60%, transparent);background:var(--mix-background, var(--colors-mantine-colors-primary\\[8\\]))}.group:is(:hover,[data-hover]) .groupHover\\:bg_mantine\\.colors\\.gray\\[3\\]\\/35{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-gray\\[3\\]) 35%, transparent);background:var(--mix-background, var(--colors-mantine-colors-gray\\[3\\]))}.hover\\:td_underline:is(:hover,[data-hover]){text-decoration:underline}.hover\\:bd-c_mantine\\.colors\\.defaultBorder:is(:hover,[data-hover]){border-color:var(--colors-mantine-colors-default-border)}.hover\\:bd-w_4px:is(:hover,[data-hover]){border-width:4px}.hover\\:bd-c_mantine\\.colors\\.dark\\[1\\]:is(:hover,[data-hover]){border-color:var(--colors-mantine-colors-dark\\[1\\])}.hover\\:border-style_solid:is(:hover,[data-hover]){border-style:solid}.\\[\\&\\:is\\(\\:hover\\,_\\[data-selected\\=true\\]\\)_\\>_\\*\\]\\:transition_all_0\\.15s_ease-out:is(:hover,[data-selected=true])>*{transition:all .15s ease-out}.hover\\:ring_none:is(:hover,[data-hover]){outline:var(--borders-none)}.hover\\:bd-c_mantine\\.colors\\.primary\\[9\\]:is(:hover,[data-hover]){border-color:var(--colors-mantine-colors-primary\\[9\\])}.hover\\:transition_stroke_100ms_ease-out\\,_stroke-width_100ms_ease-out:is(:hover,[data-hover]){transition:stroke .1s ease-out,stroke-width .1s ease-out}.hover\\:transition_all_120ms_ease-out:is(:hover,[data-hover]){transition:all .12s ease-out}.hover\\:op_1:is(:hover,[data-hover]){opacity:1}.hover\\:bg-c_mantine\\.colors\\.gray\\[1\\]:is(:hover,[data-hover]){background-color:var(--colors-mantine-colors-gray\\[1\\])}.hover\\:bx-sh_sm:is(:hover,[data-hover]){box-shadow:var(--shadows-sm)}.group:is(:hover,[data-hover]) .groupHover\\:c_mantine\\.colors\\.dimmed{color:var(--colors-mantine-colors-dimmed)}.group:is(:hover,[data-hover]) .groupHover\\:op_0\\.5{opacity:.5}.group:is(:hover,[data-hover]) .groupHover\\:op_0\\.8{opacity:.8}.hover\\:bg-c_mantine\\.colors\\.gray\\[2\\]:is(:hover,[data-hover]){background-color:var(--colors-mantine-colors-gray\\[2\\])}.hover\\:c_\\[var\\(--mantine-color-bright\\)\\]:is(:hover,[data-hover]){color:var(--mantine-color-bright)}.hover\\:c_mantine\\.colors\\.text:is(:hover,[data-hover]){color:var(--colors-mantine-colors-text)}.hover\\:trs-dly_0s:is(:hover,[data-hover]){transition-delay:0s}.hover\\:c_likec4\\.panel\\.action-icon\\.text\\.hover:is(:hover,[data-hover]){color:var(--colors-likec4-panel-action-icon-text-hover)}.hover\\:bg-c_likec4\\.panel\\.action-icon\\.bg\\.hover:is(:hover,[data-hover]){background-color:var(--colors-likec4-panel-action-icon-bg-hover)}.\\[\\&\\:hover_\\>_\\*\\]\\:trs-tmf_out:hover>*{--transition-easing: var(--easings-out);transition-timing-function:var(--easings-out)}.\\[\\&\\:hover_\\>_\\*\\]\\:trf_translateX\\(1\\.6px\\):hover>*{transform:translate(1.6px)}.hover\\:trs-tmf_out:is(:hover,[data-hover]){--transition-easing: var(--easings-out);transition-timing-function:var(--easings-out)}.hover\\:c_mantine\\.colors\\.defaultColor:is(:hover,[data-hover]){color:var(--colors-mantine-colors-default-color)}.hover\\:c_mantine\\.colors\\.primary\\[6\\]:is(:hover,[data-hover]){color:var(--colors-mantine-colors-primary\\[6\\])}.\\[\\&\\:is\\(\\:hover\\,_\\[data-selected\\=true\\]\\)_\\>_\\*\\]\\:cursor_pointer:is(:hover,[data-selected=true])>*{cursor:pointer}.\\[\\&\\:is\\(\\:hover\\,_\\[data-selected\\=true\\]\\)_\\>_\\*\\]\\:bg-c_mantine\\.colors\\.defaultHover:is(:hover,[data-selected=true])>*{background-color:var(--colors-mantine-colors-default-hover)}.hover\\:bg-c_mantine\\.colors\\.gray\\[0\\]:is(:hover,[data-hover]){background-color:var(--colors-mantine-colors-gray\\[0\\])}.group:is(:hover,[data-hover]) .groupHover\\:op_1{opacity:1}.group:is(:hover,[data-hover]) .groupHover\\:grayscale_0{--grayscale: grayscale(0)}.group:is(:hover,[data-hover]) .groupHover\\:c_mantine\\.colors\\.primary\\[0\\]{color:var(--colors-mantine-colors-primary\\[0\\])}.group:is(:hover,[data-hover]) .groupHover\\:c_mantine\\.colors\\.primary\\[1\\]{color:var(--colors-mantine-colors-primary\\[1\\])}.hover\\:fill-opacity_1:is(:hover,[data-hover]){fill-opacity:1}.hover\\:stk_mantine\\.colors\\.primary\\.filledHover:is(:hover,[data-hover]){stroke:var(--colors-mantine-colors-primary-filled-hover)}.hover\\:stk-w_10:is(:hover,[data-hover]){stroke-width:10}.hover\\:bg-c_mantine\\.colors\\.primary\\[2\\]\\/50:is(:hover,[data-hover]){--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-primary\\[2\\]) 50%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-primary\\[2\\]))}.group:is(:active,[data-active]) .groupActive\\:op_0\\.5{opacity:.5}.group:is(:active,[data-active]) .groupActive\\:op_0\\.8{opacity:.8}.likec4-root:is([data-likec4-reduced-graphics]) .reduceGraphics\\:\\[\\&_\\.action-icon\\]\\:--ai-radius_0px .action-icon{--ai-radius: 0px}[data-mantine-color-scheme=dark] .dark\\:\\[\\&\\:is\\(\\[data-active\\]\\)\\]\\:bg_mantine\\.colors\\.dark\\[5\\]:is([data-active]){background:var(--colors-mantine-colors-dark\\[5\\])}[data-mantine-color-scheme=light] .light\\:\\[\\&_\\.mantine-SegmentedControl-root\\]\\:bg_mantine\\.colors\\.gray\\[3\\] .mantine-SegmentedControl-root{background:var(--colors-mantine-colors-gray\\[3\\])}.group:is(:hover,[data-hover]) .\\[\\&\\:is\\(\\[data-position\\=\\"left\\"\\]\\)\\]\\:groupHover\\:c_\\[var\\(--badge-color\\)\\]:is([data-position=left]){color:var(--badge-color)}.group:is(:hover,[data-hover]) .\\[\\&\\:is\\(\\[data-position\\=\\"left\\"\\]\\)\\]\\:groupHover\\:op_0\\.7:is([data-position=left]){opacity:.7}[data-mantine-color-scheme=dark] .\\[\\&_\\>_mark\\]\\:dark\\:bg-c_mantine\\.colors\\.yellow\\[5\\]\\/80>mark{--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-yellow\\[5\\]) 80%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-yellow\\[5\\]))}.group:is(:focus,[data-focus]) .\\[\\&_\\>_mark\\]\\:groupFocus\\:bg-c_\\[transparent\\]>mark{background-color:var(--colors-transparent)}.group:is(:focus,[data-focus]) .\\[\\&_\\>_mark\\]\\:groupFocus\\:c_\\[inherit\\]\\!>mark{color:inherit!important}:where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) :where(.react-flow__node,.react-flow__edge):is(.selected) .whenSelected\\:whenHovered\\:stk-op_0\\.4{stroke-opacity:.4}.likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:noReduceGraphics\\:anim-ps_running{animation-play-state:running}.likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__node,.react-flow__edge):has([data-likec4-hovered=true]) .whenHovered\\:noReduceGraphics\\:anim-dly_450ms{animation-delay:.45s}.likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__edge.selected,[data-edge-active=true],[data-edge-animated=true]) .\\[\\:where\\(\\.react-flow__edge\\.selected\\,_\\[data-edge-active\\=\\'true\\'\\]\\,_\\[data-edge-animated\\=\\'true\\'\\]\\)_\\&\\]\\:noReduceGraphics\\:anim-ps_running{animation-play-state:running}.likec4-root:not([data-likec4-reduced-graphics]) :where(.react-flow__edge.selected,[data-edge-active=true],[data-edge-animated=true]) .\\[\\:where\\(\\.react-flow__edge\\.selected\\,_\\[data-edge-active\\=\\'true\\'\\]\\,_\\[data-edge-animated\\=\\'true\\'\\]\\)_\\&\\]\\:noReduceGraphics\\:anim-dly_0ms{animation-delay:0ms}.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning=true]) .reduceGraphicsOnPan\\:before\\:d_none:before{display:none}.\\[\\&_\\.mantine-ThemeIcon-root\\]\\:hover\\:c_mantine\\.colors\\.defaultColor .mantine-ThemeIcon-root:is(:hover,[data-hover]){color:var(--colors-mantine-colors-default-color)}[data-mantine-color-scheme=dark] .dark\\:\\[\\&\\:is\\(\\[data-active\\]\\)\\]\\:c_mantine\\.colors\\.white:is([data-active]){color:var(--colors-mantine-colors-white)}[data-mantine-color-scheme=light] .\\[\\&\\[data-missing\\]\\]\\:light\\:c_mantine\\.colors\\.orange\\[8\\][data-missing]{color:var(--colors-mantine-colors-orange\\[8\\])}.\\[\\&_\\.mantine-ScrollArea-viewport\\]\\:\\[\\&_\\>_div\\]\\:min-h_100\\% .mantine-ScrollArea-viewport>div{min-height:100%}.\\[\\&_\\.mantine-ScrollArea-viewport\\]\\:\\[\\&_\\>_div\\]\\:h_100\\% .mantine-ScrollArea-viewport>div{height:100%}.\\[\\&_\\.mantine-ScrollArea-root\\]\\:\\[\\&_\\>_div\\]\\:pl_1 .mantine-ScrollArea-root>div{padding-left:var(--spacing-1)}.\\[\\&_\\.mantine-ScrollArea-root\\]\\:\\[\\&_\\>_div\\]\\:pr_1 .mantine-ScrollArea-root>div{padding-right:var(--spacing-1)}[data-mantine-color-scheme=dark] .focusWithin\\:dark\\:bg_mantine\\.colors\\.dark\\[5\\]\\/55\\!:focus-within{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-dark\\[5\\]) 55%, transparent) !important;background:var(--mix-background, var(--colors-mantine-colors-dark\\[5\\]))!important}[data-mantine-color-scheme=dark] .focus\\:dark\\:bg-c_mantine\\.colors\\.dark\\[4\\]:is(:focus,[data-focus]){background-color:var(--colors-mantine-colors-dark\\[4\\])}[data-mantine-color-scheme=light] .group:is(:focus,[data-focus]) .groupFocus\\:light\\:c_mantine\\.colors\\.white{color:var(--colors-mantine-colors-white)}[data-mantine-color-scheme=light] .mantine-Tree-node:focus>.mantine-Tree-label .\\[\\.mantine-Tree-node\\:focus_\\>_\\.mantine-Tree-label_\\&\\]\\:light\\:c_mantine\\.colors\\.white{color:var(--colors-mantine-colors-white)}[data-mantine-color-scheme=light] .light\\:hover\\:--icon-color_\\{colors\\.mantine\\.colors\\.gray\\[7\\]\\}:is(:hover,[data-hover]){--icon-color: var(--colors-mantine-colors-gray\\[7\\])}[data-mantine-color-scheme=dark] .dark\\:hover\\:bg_mantine\\.colors\\.dark\\[6\\]:is(:hover,[data-hover]){background:var(--colors-mantine-colors-dark\\[6\\])}[data-mantine-color-scheme=dark] .group:is(:hover,[data-hover]) .groupHover\\:dark\\:bg_mantine\\.colors\\.dark\\[5\\]\\/35{--mix-background: color-mix(in srgb, var(--colors-mantine-colors-dark\\[5\\]) 35%, transparent);background:var(--mix-background, var(--colors-mantine-colors-dark\\[5\\]))}[data-mantine-color-scheme=light] .light\\:hover\\:bd-c_mantine\\.colors\\.primary\\[6\\]:is(:hover,[data-hover]){border-color:var(--colors-mantine-colors-primary\\[6\\])}[data-mantine-color-scheme=dark] .hover\\:dark\\:bg-c_mantine\\.colors\\.dark\\[5\\]:is(:hover,[data-hover]){background-color:var(--colors-mantine-colors-dark\\[5\\])}[data-mantine-color-scheme=light] .group:is(:hover,[data-hover]) .groupHover\\:light\\:bg-c_mantine\\.colors\\.gray\\[2\\]{background-color:var(--colors-mantine-colors-gray\\[2\\])}[data-mantine-color-scheme=dark] .group:is(:hover,[data-hover]) .groupHover\\:dark\\:bg-c_mantine\\.colors\\.dark\\[8\\]{background-color:var(--colors-mantine-colors-dark\\[8\\])}[data-mantine-color-scheme=dark] .hover\\:dark\\:bg-c_mantine\\.colors\\.dark\\[4\\]:is(:hover,[data-hover]){background-color:var(--colors-mantine-colors-dark\\[4\\])}[data-mantine-color-scheme=dark] .hover\\:dark\\:bg-c_mantine\\.colors\\.dark\\[5\\]\\/70:is(:hover,[data-hover]){--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-dark\\[5\\]) 70%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-dark\\[5\\]))}[data-mantine-color-scheme=dark] .dark\\:hover\\:c_mantine\\.colors\\.white:is(:hover,[data-hover]){color:var(--colors-mantine-colors-white)}[data-mantine-color-scheme=dark] .hover\\:dark\\:bg-c_mantine\\.colors\\.dark\\[7\\]:is(:hover,[data-hover]){background-color:var(--colors-mantine-colors-dark\\[7\\])}[data-mantine-color-scheme=dark] .hover\\:dark\\:c_mantine\\.colors\\.primary\\[4\\]:is(:hover,[data-hover]){color:var(--colors-mantine-colors-primary\\[4\\])}.hover\\:\\[\\&_\\>_\\:not\\(\\[data-no-transform\\]\\)\\]\\:trs-tmf_out:is(:hover,[data-hover])>:not([data-no-transform]){--transition-easing: var(--easings-out);transition-timing-function:var(--easings-out)}.hover\\:\\[\\&_\\>_\\:not\\(\\[data-no-transform\\]\\)\\]\\:trf_translateX\\(1px\\):is(:hover,[data-hover])>:not([data-no-transform]){transform:translate(1px)}.hover\\:\\[\\&_\\>_\\*\\]\\:trs-tmf_out:is(:hover,[data-hover])>*{--transition-easing: var(--easings-out);transition-timing-function:var(--easings-out)}.hover\\:\\[\\&_\\>_\\*\\]\\:trf_translateX\\(1px\\):is(:hover,[data-hover])>*{transform:translate(1px)}[data-mantine-color-scheme=dark] .hover\\:dark\\:bg-c_mantine\\.colors\\.defaultHover:is(:hover,[data-hover]){background-color:var(--colors-mantine-colors-default-hover)}[data-mantine-color-scheme=dark] .hover\\:dark\\:c_mantine\\.colors\\.white:is(:hover,[data-hover]){color:var(--colors-mantine-colors-white)}[data-mantine-color-scheme=light] .light\\:hover\\:bg-c_mantine\\.colors\\.primary\\[5\\]:is(:hover,[data-hover]){background-color:var(--colors-mantine-colors-primary\\[5\\])}[data-mantine-color-scheme=light] .group:is(:hover,[data-hover]) .groupHover\\:light\\:c_mantine\\.colors\\.white{color:var(--colors-mantine-colors-white)}[data-mantine-color-scheme=light] .group:is(:hover,[data-hover]) .groupHover\\:light\\:c_mantine\\.colors\\.primary\\[0\\]{color:var(--colors-mantine-colors-primary\\[0\\])}[data-mantine-color-scheme=dark] .dark\\:hover\\:bg-c_mantine\\.colors\\.dark\\[3\\]\\/40:is(:hover,[data-hover]){--mix-backgroundColor: color-mix(in srgb, var(--colors-mantine-colors-dark\\[3\\]) 40%, transparent);background-color:var(--mix-backgroundColor, var(--colors-mantine-colors-dark\\[3\\]))}@container (min-width: 24rem){.\\@\\/xs\\:d_flex{display:flex}}@media screen and (min-width:36rem){.xs\\:max-w_calc\\(100cqw\\){max-width:100cqw}.xs\\:max-w_calc\\(100cqw_-_50px\\){max-width:calc(100cqw - 50px)}.xs\\:max-w_calc\\(100cqw_-_250px\\){max-width:calc(100cqw - 250px)}.xs\\:max-h_calc\\(100cqh_-_200px\\){max-height:calc(100cqh - 200px)}.xs\\:max-h_calc\\(100cqh_-_160px\\){max-height:calc(100cqh - 160px)}.xs\\:h_100cqh{height:100cqh}.xs\\:max-h_calc\\(100cqh_-_70px\\){max-height:calc(100cqh - 70px)}}@container (min-width: 40rem){.\\@\\/sm\\:m_xs{margin:var(--spacing-xs)}.\\@\\/sm\\:gap_xs{gap:var(--spacing-xs)}.\\@\\/sm\\:w_max-content{width:max-content}.\\@\\/sm\\:max-w_calc\\(100vw_-_2_\\*_\\{spacing\\.md\\}\\){max-width:calc(100vw - 2 * var(--spacing-md))}.\\@\\/sm\\:min-w_400{min-width:400px}.\\@\\/sm\\:max-w_550{max-width:550px}}@container (min-width: 40rem){@media screen and (min-width:36rem){.\\@\\/sm\\:xs\\:max-w_calc\\(100cqw_-_2_\\*_\\{spacing\\.md\\}\\){max-width:calc(100cqw - 2 * var(--spacing-md))}}}@container (min-width: 48rem){.\\@\\/md\\:d_block{display:block}.\\@\\/md\\:d_flex{display:flex}.\\@\\/md\\:d_none{display:none}.\\@\\/md\\:d_\\[inherit\\]{display:inherit}.\\@\\/md\\:ms_2{margin-inline-start:var(--spacing-2)}.\\@\\/md\\:w_\\[64px\\]{width:64px}}@media screen and (min-width:48rem){.sm\\:pr_\\[30px\\]{padding-right:30px}.sm\\:min-w_300{min-width:300px}.sm\\:max-w_65vw{max-width:65vw}}@media screen and (min-width:62rem){.md\\:--text-fz_\\{fontSizes\\.md\\}{--text-fz: var(--font-sizes-md)}.md\\:bd-w_4{border-width:4px}.md\\:px_6{padding-inline:var(--spacing-6)}.md\\:pr_\\[50px\\]{padding-right:50px}.md\\:max-w_40vw{max-width:40vw}}@container (min-width: 64rem){.\\@\\/lg\\:max-w_700{max-width:700px}}@media screen and (min-width:75rem){.lg\\:px_8{padding-inline:var(--spacing-8)}}@container likec4-tree (max-width: 450px){.\\[\\@container_likec4-tree_\\(max-width\\:_450px\\)\\]\\:--likec4-icon-size_18px{--likec4-icon-size: 18px}.\\[\\@container_likec4-tree_\\(max-width\\:_450px\\)\\]\\:gap_0\\.5{gap:var(--spacing-0\\.5)}.\\[\\@container_likec4-tree_\\(max-width\\:_450px\\)\\]\\:flex-d_column-reverse{flex-direction:column-reverse}.\\[\\@container_likec4-tree_\\(max-width\\:_450px\\)\\]\\:ai_flex-start{align-items:flex-start}.\\[\\@container_likec4-tree_\\(max-width\\:_450px\\)\\]\\:d_none{display:none}}}`,_tt={autoContrast:!0,primaryColor:"indigo",cursorType:"pointer",defaultRadius:"sm",fontFamily:"var(--likec4-app-font, var(--likec4-app-font-default))",headings:{fontWeight:"500",sizes:{h1:{fontWeight:"600"},h2:{fontWeight:"500"}}},components:{Portal:V0.extend({defaultProps:{reuseTargetNode:!0}})}};me({cursor:"pointer","--mantine-cursor-pointer":"pointer","& :where(.likec4-diagram, .likec4-compound-node, .likec4-element-node)":{cursor:"pointer"}});function Ett(e,r){const[n,o]=S.useState([]);return aE(()=>{if(e&&!document.querySelector("style[data-likec4-font]")){const a=document.createElement("style");a.setAttribute("type","text/css"),a.setAttribute("data-likec4-font",""),KE(r)&&a.setAttribute("nonce",r),$0(r)&&a.setAttribute("nonce",r()),a.appendChild(document.createTextNode(ktt)),document.head.appendChild(a)}},[e]),aE(()=>{const a=new CSSStyleSheet;return a.replaceSync(lre.replaceAll(":where(:root,:host)",".likec4-shadow-root").replaceAll(":root",".likec4-shadow-root").replaceAll(new RegExp("(?{a.replaceSync("")}},[lre]),n}const sre=()=>{try{const e=window.getComputedStyle(document.documentElement).colorScheme??"",r=xf(e.split(" "));if(r==="light"||r==="dark")return r}catch{}return null};function Stt(e){const r=UU(),[n,o]=S.useState(sre);return rV(Tf(()=>o(sre),100),{attributes:!0,childList:!1,subtree:!1},()=>document.documentElement),e??n??r}const Ctt=wtt.div;function Ttt(e,r=!1){if(r===!1)return` :where([data-likec4-instance="${e}"]) { display: block; box-sizing: border-box; @@ -518,16 +520,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${a?"min-width: 80px;":"min-height: 80px;"} max-height: min(100%, var(--likec4-view-max-height, ${Math.ceil(o)}px)); } -`.trim()}const Ket=Uet.div;function Zet({children:e,theme:r=Yet,injectFontCss:n=!0,styleNonce:o,colorScheme:a,keepAspectRatio:i=!1,...l}){const s=Get(a),c=ZW(),u=Xet(c,i),d=E.useRef(null),p=Wet(n,o),f=E.useCallback(()=>d.current??void 0,[d]);let g,b;return HE(o)&&(typeof o=="string"?(b=o,g=()=>o):typeof o=="function"&&(b=o(),g=o)),y.jsxs(y.Fragment,{children:[y.jsx("style",{type:"text/css",nonce:b,dangerouslySetInnerHTML:{__html:u}}),y.jsx(Ket,{ssr:!1,...l,styleSheets:p,"data-likec4-instance":c,children:y.jsx("div",{ref:d,"data-mantine-color-scheme":s,className:"likec4-shadow-root",children:y.jsx(g9,{...a&&{forceColorScheme:a},defaultColorScheme:s,getRootElement:f,...g&&{getStyleNonce:g},cssVariablesSelector:".likec4-shadow-root",theme:r,children:y.jsx(mR,{children:e})})})})]})}const Qet=ye({cursor:"pointer","--mantine-cursor-pointer":"pointer","& :where(.likec4-diagram, .likec4-compound-node, .likec4-element-node)":{cursor:"pointer"}});function Jet({viewId:e,className:r,pannable:n=!1,zoomable:o=!1,keepAspectRatio:a=!0,colorScheme:i,injectFontCss:l=!0,controls:s=!1,background:c="transparent",browser:u=!0,showNavigationButtons:d=!1,showNotations:p,enableFocusMode:f=!1,enableDynamicViewWalkthrough:g=!1,enableElementDetails:b=!1,enableRelationshipDetails:x=!1,enableRelationshipBrowser:w=x,reduceGraphics:k="auto",mantineTheme:C,styleNonce:_,style:T,reactFlowProps:R,renderNodes:A,children:D,...N}){const $=Rze(),[M,j]=E.useState(null),L=it(()=>{j(e)});if(!$)return y.jsx(gR,{children:"LikeC4Model not found. Make sure you provided LikeC4ModelProvider."});const Y=$.findView(e)?.$view;if(!Y)return y.jsx(Tet,{viewId:e});if(Y._stage!=="layouted")return y.jsxs(gR,{children:['LikeC4 View "$',e,'" is not layouted. Make sure you have LikeC4ModelProvider with layouted model.']});const O=M?$.findView(M)?.$view:null,U=(Y.notation?.nodes??[]).length>0;p??=U;const I=u!==!1,q=eU(u)?{}:u,V=Pte(Y,N.dynamicViewVariant);return y.jsx(Zet,{injectFontCss:l,theme:C,colorScheme:i,styleNonce:_,keepAspectRatio:a?V:!1,className:Je("likec4-view",r),style:T,children:y.jsxs(mR,{children:[y.jsx(Mte,{view:Y,readonly:!0,pannable:n,zoomable:o,background:c,fitView:!0,fitViewPadding:$2.default,showNotations:p,enableDynamicViewWalkthrough:g,showNavigationButtons:d,experimentalEdgeEditing:!1,enableFocusMode:f,enableRelationshipDetails:x,enableElementDetails:b,enableRelationshipBrowser:w,enableElementTags:!1,controls:s,nodesDraggable:!1,reduceGraphics:k,className:Je("likec4-static-view",I&&Qet),enableSearch:!1,...I&&{onCanvasClick:L,onNodeClick:L},reactFlowProps:R,renderNodes:A,children:D,...N}),O&&y.jsxs(My,{openDelay:0,onClose:()=>j(null),children:[y.jsx(Mte,{view:O,pannable:!0,zoomable:!0,background:"dots",onNavigateTo:j,showNavigationButtons:!0,enableDynamicViewWalkthrough:!0,enableFocusMode:!0,enableRelationshipBrowser:!0,enableElementDetails:!0,enableRelationshipDetails:!0,enableSearch:!0,enableElementTags:!0,controls:!0,readonly:!0,fitView:!0,...N,fitViewPadding:$2.withControls,...q,showNotations:q.showNotations??p,renderNodes:A}),y.jsx(Se,{pos:"absolute",top:"1rem",right:"1rem",children:y.jsx(or,{variant:"default",color:"gray",onClick:G=>{G.stopPropagation(),j(null)},children:y.jsx(Hf,{})})})]})]})})}var ett=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:[y.jsx("path",{fill:"#343741",d:"M4 64c0 5.535.777 10.879 2.098 16H84c8.836 0 16-7.164 16-16s-7.164-16-16-16H6.098A63.7 63.7 0 0 0 4 64"}),y.jsx("path",{fill:"#fec514",d:"M111.695 30.648A61.5 61.5 0 0 0 117.922 24C106.188 9.379 88.199 0 68 0 42.715 0 20.957 14.71 10.574 36H98.04a20.12 20.12 0 0 0 13.652-5.352"}),y.jsx("path",{fill:"#00bfb3",d:"M98.04 92H10.577C20.961 113.29 42.715 128 68 128c20.2 0 38.188-9.383 49.922-24a61 61 0 0 0-6.227-6.648A20.13 20.13 0 0 0 98.04 92"})]}),ttt=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:y.jsx("path",{fill:"#F34F29",d:"M124.737 58.378 69.621 3.264c-3.172-3.174-8.32-3.174-11.497 0L46.68 14.71l14.518 14.518c3.375-1.139 7.243-.375 9.932 2.314 2.703 2.706 3.461 6.607 2.294 9.993l13.992 13.993c3.385-1.167 7.292-.413 9.994 2.295 3.78 3.777 3.78 9.9 0 13.679a9.673 9.673 0 0 1-13.683 0 9.68 9.68 0 0 1-2.105-10.521L68.574 47.933l-.002 34.341a9.7 9.7 0 0 1 2.559 1.828c3.778 3.777 3.778 9.898 0 13.683-3.779 3.777-9.904 3.777-13.679 0-3.778-3.784-3.778-9.905 0-13.683a9.7 9.7 0 0 1 3.167-2.11V47.333a9.6 9.6 0 0 1-3.167-2.111c-2.862-2.86-3.551-7.06-2.083-10.576L41.056 20.333 3.264 58.123a8.133 8.133 0 0 0 0 11.5l55.117 55.114c3.174 3.174 8.32 3.174 11.499 0l54.858-54.858a8.135 8.135 0 0 0-.001-11.501"})}),rtt=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:y.jsxs("g",{fill:"#181616",children:[y.jsx("path",{fillRule:"evenodd",d:"M64 5.103c-33.347 0-60.388 27.035-60.388 60.388 0 26.682 17.303 49.317 41.297 57.303 3.017.56 4.125-1.31 4.125-2.905 0-1.44-.056-6.197-.082-11.243-16.8 3.653-20.345-7.125-20.345-7.125-2.747-6.98-6.705-8.836-6.705-8.836-5.48-3.748.413-3.67.413-3.67 6.063.425 9.257 6.223 9.257 6.223 5.386 9.23 14.127 6.562 17.573 5.02.542-3.903 2.107-6.568 3.834-8.076-13.413-1.525-27.514-6.704-27.514-29.843 0-6.593 2.36-11.98 6.223-16.21-.628-1.52-2.695-7.662.584-15.98 0 0 5.07-1.623 16.61 6.19C53.7 35 58.867 34.327 64 34.304c5.13.023 10.3.694 15.127 2.033 11.526-7.813 16.59-6.19 16.59-6.19 3.287 8.317 1.22 14.46.593 15.98 3.872 4.23 6.215 9.617 6.215 16.21 0 23.194-14.127 28.3-27.574 29.796 2.167 1.874 4.097 5.55 4.097 11.183 0 8.08-.07 14.583-.07 16.572 0 1.607 1.088 3.49 4.148 2.897 23.98-7.994 41.263-30.622 41.263-57.294C124.388 32.14 97.35 5.104 64 5.104z",clipRule:"evenodd"}),y.jsx("path",{d:"M26.484 91.806c-.133.3-.605.39-1.035.185-.44-.196-.685-.605-.543-.906.13-.31.603-.395 1.04-.188.44.197.69.61.537.91zm2.446 2.729c-.287.267-.85.143-1.232-.28-.396-.42-.47-.983-.177-1.254.298-.266.844-.14 1.24.28.394.426.472.984.17 1.255zm2.382 3.477c-.37.258-.976.017-1.35-.52-.37-.538-.37-1.183.01-1.44.373-.258.97-.025 1.35.507.368.545.368 1.19-.01 1.452zm3.261 3.361c-.33.365-1.036.267-1.552-.23-.527-.487-.674-1.18-.343-1.544.336-.366 1.045-.264 1.564.23.527.486.686 1.18.333 1.543zm4.5 1.951c-.147.473-.825.688-1.51.486-.683-.207-1.13-.76-.99-1.238.14-.477.823-.7 1.512-.485.683.206 1.13.756.988 1.237m4.943.361c.017.498-.563.91-1.28.92-.723.017-1.308-.387-1.315-.877 0-.503.568-.91 1.29-.924.717-.013 1.306.387 1.306.88zm4.598-.782c.086.485-.413.984-1.126 1.117-.7.13-1.35-.172-1.44-.653-.086-.498.422-.997 1.122-1.126.714-.123 1.354.17 1.444.663zm0 0"})]})}),ntt=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 128 128",...e,children:[y.jsx("defs",{children:y.jsx("path",{id:"Go_svg__a",d:"M18.8 1h90.5v126H18.8z"})}),y.jsx("clipPath",{id:"Go_svg__b",children:y.jsx("use",{xlinkHref:"#Go_svg__a",overflow:"visible"})}),y.jsx("path",{fill:"#F6D2A2",fillRule:"evenodd",d:"M21.1 68.7c.2 3.5 3.7 1.9 5.3.8 1.5-1.1 2-.2 2.1-2.3.1-1.4.2-2.7.2-4.1-2.3-.2-4.8.3-6.7 1.7-.9.7-2.8 3-.9 3.9",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M23 71.2c-.7 0-2-.3-2.2-2.3-.6-.4-.8-.9-.8-1.2-.1-1.2 1.2-2.6 1.9-3.1 1.6-1.2 3.7-1.8 5.9-1.8h1.3v.3c.1 1.1 0 2.2-.1 3.2 0 .3 0 .6-.1.9-.1 1.5-.4 1.7-1.1 2-.3.1-.6.2-1.1.6-.5.3-2.2 1.4-3.7 1.4m4.8-7.8c-2.1 0-4 .6-5.5 1.7-.7.5-1.7 1.7-1.6 2.5 0 .3.2.6.6.8l.2.1v.2c.1 1.6.9 1.8 1.5 1.8 1 0 2.4-.7 3.3-1.3.6-.4 1-.5 1.3-.6.5-.2.6-.2.7-1.4 0-.3 0-.6.1-.9.1-.9.1-1.9.1-2.8-.3-.1-.5-.1-.7-.1",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#C6B198",fillRule:"evenodd",d:"M21.1 68.7c.5-.2 1.1-.3 1.4-.8",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M21.1 69c-.1 0-.3-.1-.3-.2-.1-.2 0-.4.2-.4.1 0 .2-.1.2-.1.4-.2.8-.3 1-.6.1-.1.3-.2.5-.1.1.1.2.3.1.5-.4.5-.9.7-1.3.8l-.2.1z",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#6AD7E5",fillRule:"evenodd",d:"M29.3 26.4c-13.6-3.8-3.5-21.1 7.4-14z",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"m29.5 26.8-.3-.1c-7-2-6.9-7-6.7-8.5.5-3.8 4.1-7.8 8.9-7.8 1.9 0 3.7.6 5.5 1.8l.3.2zm1.9-15.7c-4.5 0-7.8 3.7-8.3 7.2-.5 3.6 1.7 6.4 6 7.7l7.1-13.5c-1.5-.9-3.1-1.4-4.8-1.4",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#6AD7E5",fillRule:"evenodd",d:"M89.6 11.1c10.7-7.5 20.5 9.5 8 13.8z",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M97.5 25.3 89.2 11l.3-.2c1.9-1.3 3.8-2 5.7-2 4.6 0 7.9 3.8 8.6 7.5.3 1.5.6 6.6-6 8.8zm-7.4-14 7.7 13.3c3.9-1.4 5.9-4.4 5.3-8-.6-3.4-3.7-6.9-7.9-6.9-1.7-.1-3.4.4-5.1 1.6",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#F6D2A2",fillRule:"evenodd",d:"M92 112.3c2.7 1.7 7.7 6.8 3.6 9.3-3.9 3.6-6.1-4-9.6-5 1.5-2 3.4-3.9 6-4.3",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M93.5 122.9c-1.6 0-3-1.6-4.2-3.1-1.1-1.2-2.2-2.5-3.4-2.9l-.5-.1.3-.4c1.2-1.7 3.2-3.9 6.2-4.4h.1l.1.1c1.7 1.1 5.4 4.2 5.3 7.1 0 1.1-.6 2-1.7 2.7-.7.7-1.4 1-2.2 1m-7-6.5c1.2.5 2.2 1.8 3.2 2.9 1.2 1.5 2.4 2.8 3.7 2.8q.9 0 1.8-.9h.1c.9-.6 1.4-1.3 1.4-2.2 0-2.3-2.9-5.2-4.9-6.5-1.8.5-3.6 1.7-5.3 3.9m9.1 5.5c-.1 0-.2-.1-.3-.2-.2-.4-.4-.9-.5-1.3-.3-.8-.6-1.6-1.2-2.2-.1-.1-.1-.3 0-.5.1-.1.3-.1.5 0 .7.7 1.1 1.6 1.4 2.5l.5 1.2c.1.2 0 .4-.1.5z",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#F6D2A2",fillRule:"evenodd",d:"M43.2 118.1c-3.2.5-5 3.4-7.7 4.9-2.5 1.5-3.5-.5-3.7-.9-.4-.2-.4.2-1-.4-2.3-3.7 2.4-6.4 4.9-8.2 3.5-.8 5.7 2.2 7.5 4.6",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M33.8 123.8c-1.3 0-2-1.1-2.2-1.5h-.1c-.3 0-.5-.1-.9-.5v-.1c-2.2-3.5 1.6-6.2 4.1-8l.9-.6h.2c.4-.1.7-.1 1.1-.1 3 0 4.9 2.6 6.5 4.7l.5.7-.6.1c-1.9.3-3.3 1.5-4.7 2.7-.9.8-1.8 1.5-2.8 2.1-.8.3-1.4.5-2 .5m-2.2-2.1c.1 0 .2 0 .4.1h.1l.1.1c.2.3.7 1.2 1.7 1.2.5 0 1-.2 1.5-.5 1-.5 1.9-1.3 2.7-2 1.3-1.1 2.7-2.3 4.5-2.8-1.5-2-3.3-4.2-5.8-4.2-.3 0-.6 0-.9.1l-.8.6c-2.6 1.8-5.8 4.1-3.9 7.1.1.2.2.3.4.3m.2.7c-.2 0-.4-.2-.3-.4.1-1 .6-1.7 1.1-2.5.3-.4.5-.8.7-1.2.1-.2.3-.2.4-.2.2.1.2.3.2.4-.2.5-.5.9-.8 1.3-.5.7-.9 1.3-1 2.1 0 .4-.1.5-.3.5",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fillRule:"evenodd",d:"M29.9 21.7c-1.8-.9-3.1-2.2-2-4.3 1-1.9 2.9-1.7 4.7-.8zm64.9-1.8c1.8-.9 3.1-2.2 2-4.3-1-1.9-2.9-1.7-4.7-.8z",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{fill:"#F6D2A2",fillRule:"evenodd",d:"M107.1 68.2c-.2 3.5-3.7 1.9-5.3.8-1.5-1.1-2-.2-2.1-2.3-.1-1.4-.2-2.7-.2-4.1 2.3-.2 4.8.3 6.7 1.7 1 .8 2.8 3 .9 3.9",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M105.3 70.7c-1.5 0-3.2-1.1-3.7-1.4s-.8-.5-1.1-.6c-.8-.3-1-.5-1.1-2 0-.3 0-.6-.1-.9-.1-1-.2-2.1-.1-3.2v-.3h1.3c2.2 0 4.3.6 5.9 1.8.7.5 2 1.9 1.9 3.1 0 .4-.2.9-.8 1.2-.2 2-1.5 2.3-2.2 2.3M99.8 63c0 .9 0 1.9.1 2.8 0 .3 0 .6.1.9.1 1.2.2 1.2.7 1.4.3.1.7.3 1.3.6.9.6 2.3 1.3 3.3 1.3.6 0 1.4-.2 1.5-1.8V68l.2-.1c.4-.2.6-.4.6-.8.1-.8-.9-2-1.6-2.5-1.5-1.1-3.5-1.7-5.5-1.7-.2.1-.4.1-.7.1",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#C6B198",fillRule:"evenodd",d:"M107.1 68.2c-.5-.2-1.1-.3-1.4-.8",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M107.1 68.6h-.1l-.2-.1c-.5-.2-1-.3-1.3-.8-.1-.1-.1-.4.1-.5.1-.1.4-.1.5.1.2.3.6.4 1 .6.1 0 .2.1.2.1.2.1.3.3.2.4s-.3.2-.4.2",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#6AD7E5",fillRule:"evenodd",d:"M62.8 4c13.6 0 26.3 1.9 33 15 6 14.6 3.8 30.4 4.8 45.9.8 13.3 2.5 28.6-3.6 40.9-6.5 12.9-22.7 16.2-36 15.7-10.5-.4-23.1-3.8-29.1-13.4-6.9-11.2-3.7-27.9-3.2-40.4.6-14.8-4-29.7.9-44.1C34.5 8.5 48.1 5.1 62.8 4",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M63.3 121.9h-2.5c-4.1-.1-10.3-.8-16.4-3.3-5.9-2.4-10.2-5.8-13-10.3-5.6-9.1-4.6-21.6-3.7-32.7.2-2.8.4-5.4.5-7.9.2-5.2-.2-10.6-.7-15.7-.8-9.4-1.6-19.1 1.5-28.5 2.4-7 6.7-12 13.2-15.2 5.1-2.5 11.4-3.9 20.4-4.6C76 3.6 89.3 5.5 96 18.8c4.4 10.7 4.4 22.2 4.5 33.3 0 4.2 0 8.5.3 12.7.1 1.3.2 2.6.2 3.9.8 12.2 1.7 26-3.9 37.2-2.8 5.7-7.7 9.9-14.4 12.6-5.4 2.2-12.2 3.4-19.4 3.4M62.8 4.3c-14.1 1.1-27.9 4.2-33 19.4-3.1 9.3-2.3 18.9-1.5 28.2.4 5.2.9 10.5.7 15.8-.1 2.5-.3 5.1-.5 7.9-.9 11-1.9 23.4 3.6 32.3 2.3 3.7 9.7 12.5 28.8 13.2h2.5c22.1 0 30.3-9.8 33.3-15.6 5.5-11 4.6-24.8 3.9-36.9-.1-1.3-.2-2.6-.2-3.9-.2-4.2-.3-8.5-.3-12.7-.1-11-.1-22.5-4.4-33.1C92.7 13 88.2 9 82 6.7c-6.4-2.1-13.6-2.4-19.2-2.4",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#fff",fillRule:"evenodd",d:"M65.2 22.2c2.4 14.2 25.6 10.4 22.3-3.9-3-12.8-23.1-9.2-22.3 3.9",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M76.2 31.5c-4.5 0-10.2-2.4-11.4-9.2-.2-3.2.8-6.1 2.9-8.3 2.3-2.5 5.8-3.9 9.4-3.9 4.2 0 9.2 2.2 10.6 8.3.8 3.4.2 6.4-1.7 8.8-2.1 2.6-5.8 4.3-9.8 4.3m-10.7-9.3q.75 4.2 3.9 6.6c1.8 1.4 4.3 2.1 6.8 2.1 3.7 0 7.3-1.6 9.3-4.1 1.8-2.2 2.3-5.1 1.6-8.3-1.3-5.7-6-7.7-10-7.7-3.4 0-6.7 1.4-8.9 3.7-1.9 2-2.9 4.7-2.7 7.7",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#fff",fillRule:"evenodd",d:"M37.5 24.5c3.2 12.3 22.9 9.2 22.2-3.2-.9-14.8-25.3-12-22.2 3.2",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M48 32.7c-4.3 0-9.3-2.1-10.9-8.1-.7-3.5 0-6.7 2-9.1 2.2-2.7 5.8-4.3 9.7-4.3 5.2 0 10.7 3.1 11.1 10.1.2 2.9-.7 5.5-2.7 7.6-2.1 2.3-5.6 3.8-9.2 3.8m.8-20.8c-3.7 0-7.1 1.5-9.2 4-1.9 2.3-2.5 5.2-1.8 8.5C39.2 30 44 32 48 32c3.4 0 6.7-1.3 8.8-3.6 1.8-1.9 2.7-4.4 2.5-7.1-.2-4.3-3.1-9.4-10.5-9.4",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#fff",fillRule:"evenodd",d:"M68 39.2c0 1.8.4 3.9.1 5.9-.5.9-1.4 1-2.2 1.3-1.1-.2-2-.9-2.5-1.9-.3-2.2.1-4.4.2-6.6z",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M65.9 46.8c-1.3-.2-2.3-1-2.8-2.1-.2-1.6-.1-3.1 0-4.6.1-.7.1-1.4.1-2.1v-.4l5.1 1.6v.2c0 .6.1 1.2.1 1.9.1 1.3.2 2.7 0 4v.1c-.4.8-1.1 1-1.8 1.3-.2-.1-.4 0-.7.1m-2.2-2.4c.4.9 1.2 1.5 2.1 1.7.2-.1.4-.1.5-.2.6-.2 1.1-.4 1.4-.9.2-1.2.1-2.5 0-3.8 0-.6-.1-1.2-.1-1.7l-3.8-1.2c0 .6-.1 1.2-.1 1.7-.1 1.6-.2 3 0 4.4",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fillRule:"evenodd",d:"M46.3 22.5c0 2-1.5 3.6-3.3 3.6s-3.3-1.6-3.3-3.6 1.5-3.6 3.3-3.6 3.3 1.6 3.3 3.6",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{fill:"#fff",fillRule:"evenodd",d:"M45.2 23.3c0 .5-.4.9-.8.9s-.8-.4-.8-.9.4-.9.8-.9c.5 0 .8.4.8.9",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{fillRule:"evenodd",d:"M74.2 21.6c0 2-1.5 3.6-3.3 3.6s-3.3-1.6-3.3-3.6 1.5-3.6 3.3-3.6 3.3 1.6 3.3 3.6",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{fill:"#fff",fillRule:"evenodd",d:"M73.2 22.4c0 .5-.3.9-.8.9-.4 0-.8-.4-.8-.9s.3-.9.8-.9c.4 0 .8.4.8.9M58.4 39c-1.5 3.5.8 10.6 4.8 5.4-.3-2.2.1-4.4.2-6.6z",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M60.5 46.6c-.7 0-1.4-.4-1.9-1.2-1.1-1.6-1.3-4.6-.5-6.5l.1-.2 5.5-1.4v.4l-.1 2.2c-.1 1.5-.2 2.9 0 4.4v.1l-.1.1q-1.5 2.1-3 2.1m-1.8-7.3c-.6 1.7-.4 4.4.5 5.7.4.6.8.9 1.3.9.7 0 1.5-.6 2.3-1.6-.2-1.5-.1-3 .1-4.4l.1-1.7z",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#F6D2A2",fillRule:"evenodd",d:"M58.9 32.2c-2.7.2-4.9 3.5-3.5 6 1.9 3.4 6-.3 8.6 0 3 .1 5.4 3.2 7.8.6 2.7-2.9-1.2-5.7-4.1-7z",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{fill:"#231F20",d:"M69.7 40.2c-.9 0-1.8-.4-2.7-.8s-1.9-.8-3-.8h-.3c-.8 0-1.7.3-2.7.7-1.1.4-2.2.7-3.2.7-1.2 0-2.1-.5-2.7-1.6-.7-1.2-.6-2.6.1-3.9.8-1.5 2.2-2.4 3.7-2.6l8.9-.4h.1c2.2.9 4.7 2.6 5.2 4.6.2 1-.1 2-.9 2.9s-1.6 1.2-2.5 1.2M64.1 38c1.1 0 2.2.5 3.2.9.9.4 1.7.7 2.5.7.7 0 1.3-.3 1.9-.9.7-.7.9-1.5.8-2.3-.4-1.7-2.8-3.3-4.7-4.1l-8.7.4c-1.3.1-2.5 1-3.2 2.2-.6 1.1-.6 2.3-.1 3.3.5.9 1.1 1.3 2.1 1.3.9 0 1.9-.4 2.9-.7 1.1-.4 2-.7 3-.7 0-.2.1-.2.3-.1",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fillRule:"evenodd",d:"M58.6 32.1c-.2-4.7 8.8-5.3 9.8-1.4 1.1 4-9.4 4.9-9.8 1.4",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"})]}),ott=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:[y.jsxs("linearGradient",{id:"Grafana_svg__a",x1:45.842,x2:45.842,y1:89.57,y2:8.802,gradientTransform:"translate(-.23 28.462)scale(1.4011)",gradientUnits:"userSpaceOnUse",children:[y.jsx("stop",{offset:0,stopColor:"#fcee1f"}),y.jsx("stop",{offset:1,stopColor:"#f15b2a"})]}),y.jsx("path",{fill:"url(#Grafana_svg__a)",d:"M120.8 56.9q-.3-3.15-1.2-7.2c-.9-4.05-1.8-5.5-3.2-8.6-1.5-3-3.4-6.2-5.9-9.1-1-1.2-2.1-2.3-3.2-3.5 1.8-6.9-2.1-13-2.1-13-6.7-.4-10.9 2.1-12.4 3.2-.2-.1-.6-.2-.8-.3-1.1-.4-2.3-.9-3.5-1.3-1.2-.3-2.4-.8-3.6-1-1.2-.3-2.5-.6-3.9-.8-.2 0-.4-.1-.7-.1C77.5 6 69.1 2 69.1 2c-9.6 6.2-11.4 14.4-11.4 14.4s0 .2-.1.4c-.6.1-1 .3-1.5.4-.7.2-1.4.4-2.1.8l-2.1.9c-1.4.7-2.8 1.3-4.2 2.1-1.3.8-2.6 1.5-3.9 2.4-.2-.1-.3-.2-.3-.2-12.9-5-24.3 1-24.3 1-1 13.8 5.2 22.3 6.4 23.9-.3.9-.6 1.7-.9 2.5q-1.5 4.65-2.1 9.6c-.1.4-.1 1-.2 1.4C10.5 67.5 7 79.6 7 79.6 16.9 91 28.5 91.7 28.5 91.7c1.4 2.6 3.2 5.2 5.1 7.5.8 1 1.7 1.9 2.5 2.9-3.6 10.3.6 19 .6 19 11.1.4 18.4-4.8 19.9-6.1 1.1.3 2.2.7 3.3 1 3.4.9 6.9 1.4 10.3 1.5h4.5c5.2 7.5 14.4 8.5 14.4 8.5 6.5-6.9 6.9-13.6 6.9-15.2v-.6c1.3-1 2.6-2 4-3.1 2.6-2.3 4.8-5.1 6.8-7.9.2-.2.3-.6.6-.8 7.4.4 12.5-4.6 12.5-4.6-1.2-7.7-5.6-11.4-6.5-12.1l-.1-.1-.1-.1-.1-.1c0-.4.1-.9.1-1.4.1-.9.1-1.7.1-2.5v-3.3c0-.2 0-.4-.1-.7l-.1-.7-.1-.7c-.1-.9-.3-1.7-.4-2.5-.8-3.3-2.1-6.5-3.7-9.2-1.8-2.9-3.9-5.3-6.3-7.5-2.4-2.1-5.1-3.9-7.9-5.1-2.9-1.3-5.7-2.1-8.7-2.4-1.4-.2-3-.2-4.4-.2h-2.3c-.8.1-1.5.2-2.2.3-3 .6-5.7 1.7-8.1 3.1s-4.5 3.3-6.3 5.4-3.1 4.3-4 6.7c-.9 2.3-1.4 4.8-1.5 7.2v2.6c0 .3 0 .6.1.9.1 1.2.3 2.3.7 3.4.7 2.2 1.7 4.2 3 5.9s2.8 3.1 4.4 4.2c1.7 1.1 3.3 1.9 5.1 2.4s3.4.8 5 .7h2.3c.2 0 .4-.1.6-.1s.3-.1.6-.1c.3-.1.8-.2 1.1-.3.7-.2 1.3-.6 2-.8.7-.3 1.2-.7 1.7-1 .1-.1.3-.2.4-.3.6-.4.7-1.2.2-1.8-.4-.4-1.1-.6-1.7-.3-.1.1-.2.1-.4.2-.4.2-1 .4-1.4.6-.6.1-1.1.3-1.7.4-.3 0-.6.1-.9.1h-1.8s-.1 0 0 0h-.7c-.1 0-.3 0-.4-.1-1.2-.2-2.5-.6-3.7-1.1-1.2-.6-2.4-1.3-3.4-2.3-1.1-1-2-2.1-2.8-3.4s-1.2-2.8-1.4-4.2c-.1-.8-.2-1.5-.1-2.3v-.7c0 .1 0 0 0 0V70c0-.4.1-.8.2-1.2.6-3.3 2.2-6.5 4.7-8.9.7-.7 1.3-1.2 2.1-1.7.8-.6 1.5-1 2.3-1.3s1.7-.7 2.5-.9c.9-.2 1.8-.4 2.6-.4.4 0 .9-.1 1.3-.1h.8c.1 0 0 0 0 0h.4c1 .1 2 .2 2.9.4 1.9.4 3.7 1.1 5.5 2.1 3.5 2 6.5 5 8.3 8.6.9 1.8 1.5 3.7 1.9 5.8.1.6.1 1 .2 1.5v2.7c0 .6-.1 1.1-.1 1.7-.1.6-.1 1.1-.2 1.7s-.2 1.1-.3 1.7c-.2 1.1-.7 2.1-1 3.2-.8 2.1-1.9 4.1-3.2 5.8-2.6 3.6-6.3 6.6-10.3 8.5-2.1.9-4.2 1.7-6.4 2q-1.65.3-3.3.3h-1.6c.1 0 0 0 0 0h-.1c-.6 0-1.2 0-1.8-.1-2.4-.2-4.7-.7-7-1.3-2.3-.7-4.5-1.5-6.6-2.6-4.2-2.2-7.9-5.4-10.9-9-1.4-1.9-2.8-3.9-3.9-5.9s-1.9-4.3-2.5-6.5c-.7-2.2-1-4.5-1.1-6.8v-3.5c0-1.1.1-2.3.3-3.5.1-1.2.3-2.3.6-3.5.2-1.2.6-2.3.9-3.5.7-2.3 1.4-4.5 2.4-6.6 2-4.2 4.5-7.9 7.5-10.9.8-.8 1.5-1.4 2.4-2.1.3-.3 1.1-1 2-1.5s1.8-1.1 2.8-1.5c.4-.2.9-.4 1.4-.7.2-.1.4-.2.8-.3.2-.1.4-.2.8-.3 1-.4 2-.8 3-1.1.2-.1.6-.1.8-.2s.6-.1.8-.2c.6-.1 1-.2 1.5-.4.2-.1.6-.1.8-.2.2 0 .6-.1.8-.1s.6-.1.8-.1l.4-.1.4-.1c.2 0 .6-.1.8-.1.3 0 .6-.1.9-.1.2 0 .7-.1.9-.1s.3 0 .6-.1h.7c.3 0 .6 0 .9-.1h.4s.1 0 0 0h4.1c2 .1 4 .3 5.8.7 3.7.7 7.4 1.9 10.6 3.5 3.2 1.5 6.2 3.5 8.6 5.6.1.1.3.2.4.4.1.1.3.2.4.4.3.2.6.6.9.8s.6.6.9.8c.2.3.6.6.8.9 1.1 1.1 2.1 2.3 3 3.4 1.8 2.3 3.2 4.6 4.3 6.8.1.1.1.2.2.4.1.1.1.2.2.4s.2.6.4.8c.1.2.2.6.3.8s.2.6.3.8c.4 1 .8 2 1.1 3 .6 1.5.9 2.9 1.2 4 .1.4.6.8 1 .8.6 0 .9-.4.9-1-.3-1.7-.3-3.1-.4-4.8"})]}),att=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:[y.jsx("path",{fill:"#0074BD",d:"M47.617 98.12s-4.767 2.774 3.397 3.71c9.892 1.13 14.947.968 25.845-1.092 0 0 2.871 1.795 6.873 3.351-24.439 10.47-55.308-.607-36.115-5.969m-2.988-13.665s-5.348 3.959 2.823 4.805c10.567 1.091 18.91 1.18 33.354-1.6 0 0 1.993 2.025 5.132 3.131-29.542 8.64-62.446.68-41.309-6.336"}),y.jsx("path",{fill:"#EA2D2E",d:"M69.802 61.271c6.025 6.935-1.58 13.17-1.58 13.17s15.289-7.891 8.269-17.777c-6.559-9.215-11.587-13.792 15.635-29.58 0 .001-42.731 10.67-22.324 34.187"}),y.jsx("path",{fill:"#0074BD",d:"M102.123 108.229s3.529 2.91-3.888 5.159c-14.102 4.272-58.706 5.56-71.094.171-4.451-1.938 3.899-4.625 6.526-5.192 2.739-.593 4.303-.485 4.303-.485-4.953-3.487-32.013 6.85-13.743 9.815 49.821 8.076 90.817-3.637 77.896-9.468M49.912 70.294s-22.686 5.389-8.033 7.348c6.188.828 18.518.638 30.011-.326 9.39-.789 18.813-2.474 18.813-2.474s-3.308 1.419-5.704 3.053c-23.042 6.061-67.544 3.238-54.731-2.958 10.832-5.239 19.644-4.643 19.644-4.643m40.697 22.747c23.421-12.167 12.591-23.86 5.032-22.285-1.848.385-2.677.72-2.677.72s.688-1.079 2-1.543c14.953-5.255 26.451 15.503-4.823 23.725 0-.002.359-.327.468-.617"}),y.jsx("path",{fill:"#EA2D2E",d:"M76.491 1.587S89.459 14.563 64.188 34.51c-20.266 16.006-4.621 25.13-.007 35.559-11.831-10.673-20.509-20.07-14.688-28.815C58.041 28.42 81.722 22.195 76.491 1.587"}),y.jsx("path",{fill:"#0074BD",d:"M52.214 126.021c22.476 1.437 57-.8 57.817-11.436 0 0-1.571 4.032-18.577 7.231-19.186 3.612-42.854 3.191-56.887.874 0 .001 2.875 2.381 17.647 3.331"})]}),itt=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:y.jsxs("g",{fill:"#486bb3",children:[y.jsx("path",{d:"M56.484 55.098c.37.27.82.43 1.31.43 1.2 0 2.18-.95 2.23-2.13l.05-.03.75-13.26c-.9.11-1.8.26-2.7.46-4.93 1.12-9.2 3.55-12.54 6.83l10.87 7.71zm-1.45 19.43a2.22 2.22 0 0 0-2.58-1.69l-.02-.03-13.05 2.21a26.15 26.15 0 0 0 10.51 13.15l5.06-12.22-.04-.05c.17-.42.23-.89.12-1.37m-4.34-9.41c.44-.12.85-.38 1.16-.76.75-.94.62-2.29-.28-3.07l.01-.05-9.93-8.88a26.07 26.07 0 0 0-3.7 16.48l12.73-3.67zm9.64 3.9 3.66 1.76 3.66-1.75.9-3.95-2.53-3.16h-4.06l-2.54 3.16zm7.6-15.67c.02.46.18.91.49 1.29.75.94 2.1 1.11 3.06.41l.04.02 10.8-7.66c-4.08-3.99-9.4-6.6-15.15-7.3l.75 13.24zm7.58 19.43c-.17-.03-.34-.05-.51-.04-.29.01-.58.09-.85.22a2.23 2.23 0 0 0-1.08 2.89l-.02.02 5.11 12.34c4.93-3.14 8.61-7.83 10.54-13.24l-13.16-2.23zm-9.56 6.54a2.25 2.25 0 0 0-2.04-1.17c-.77.03-1.5.46-1.89 1.18h-.01l-6.42 11.6a26.16 26.16 0 0 0 14.27.73c.88-.2 1.74-.44 2.57-.72l-6.43-11.63h-.05z"}),y.jsx("path",{d:"m124.544 76.788-10.44-45.33a8.01 8.01 0 0 0-4.37-5.43l-42.24-20.18a8.16 8.16 0 0 0-3.92-.78 8.2 8.2 0 0 0-3.1.78l-42.24 20.18a8.06 8.06 0 0 0-4.37 5.43l-10.41 45.34a7.92 7.92 0 0 0 1.1 6.14c.14.22.3.43.46.64l29.24 36.35a8.09 8.09 0 0 0 6.32 3.01l46.89-.01c2.46 0 4.78-1.11 6.32-3.01l29.23-36.36a7.98 7.98 0 0 0 1.53-6.77m-16.07-.55c-.31 1.35-1.76 2.17-3.26 1.85-.01 0-.03 0-.04-.01-.02 0-.03-.01-.05-.02-.21-.05-.47-.09-.65-.14-.86-.23-1.49-.58-2.27-.88-1.67-.6-3.06-1.1-4.41-1.3-.69-.05-1.04.27-1.42.52-.18-.04-.75-.14-1.08-.19-2.42 7.61-7.58 14.21-14.57 18.33.12.29.33.91.42 1.02-.16.43-.4.83-.19 1.49.49 1.27 1.28 2.52 2.24 4.01.46.69.94 1.22 1.36 2.02.1.19.23.48.33.68.65 1.39.17 2.99-1.08 3.59-1.26.61-2.82-.03-3.5-1.43-.1-.2-.23-.46-.31-.65-.36-.82-.48-1.52-.73-2.32-.57-1.68-1.05-3.07-1.73-4.25-.39-.57-.86-.64-1.29-.78-.08-.14-.38-.69-.54-.97-1.4.53-2.84.97-4.34 1.31-6.56 1.49-13.13.89-18.99-1.37l-.57 1.04c-.43.11-.84.23-1.09.53-.92 1.1-1.29 2.86-1.96 4.54-.25.79-.37 1.5-.73 2.32-.08.19-.22.45-.31.64v.01l-.01.01c-.67 1.39-2.23 2.03-3.49 1.43-1.25-.6-1.72-2.2-1.08-3.59.1-.2.22-.49.32-.68.42-.79.89-1.33 1.36-2.02.96-1.5 1.8-2.84 2.29-4.11.12-.42-.06-1-.22-1.43l.46-1.1c-6.73-3.99-12.04-10.34-14.58-18.21l-1.1.19c-.3-.17-.89-.56-1.45-.51-1.35.2-2.74.7-4.41 1.3-.78.3-1.4.64-2.27.87-.18.05-.44.1-.65.15-.02 0-.03.01-.05.02-.01 0-.03 0-.04.01-1.5.32-2.95-.5-3.26-1.85s.65-2.72 2.14-3.08c.01 0 .03-.01.04-.01s.01 0 .02-.01c.21-.05.48-.12.68-.16.88-.17 1.6-.13 2.43-.19 1.77-.19 3.23-.34 4.53-.75.41-.17.81-.74 1.09-1.1l1.06-.31c-1.19-8.22.82-16.28 5.16-22.81l-.81-.72c-.05-.32-.12-1.04-.51-1.46-.99-.93-2.25-1.71-3.76-2.64-.72-.42-1.38-.69-2.1-1.23-.15-.11-.36-.29-.52-.42-.01-.01-.03-.02-.04-.03-1.21-.97-1.49-2.64-.62-3.73.49-.61 1.24-.92 2.01-.89.6.02 1.23.24 1.76.66.17.14.41.32.56.45.68.58 1.09 1.16 1.66 1.77 1.25 1.27 2.28 2.32 3.41 3.08.59.35 1.05.21 1.5.15.15.11.63.46.91.65 4.3-4.57 9.96-7.95 16.52-9.44 1.53-.35 3.05-.58 4.57-.7l.06-1.07c.34-.33.71-.79.82-1.31.11-1.36-.07-2.82-.28-4.59-.12-.82-.31-1.51-.35-2.4-.01-.18 0-.44.01-.65 0-.02-.01-.05-.01-.07 0-1.55 1.13-2.81 2.53-2.81s2.53 1.26 2.53 2.81c0 .22.01.52.01.72-.03.89-.23 1.58-.35 2.4-.21 1.76-.4 3.23-.29 4.59.1.68.5.95.83 1.26.01.18.04.79.06 1.13 8.04.71 15.5 4.39 20.99 10.14l.96-.69c.33.02 1.04.12 1.53-.17 1.13-.76 2.16-1.82 3.41-3.08.57-.61.99-1.18 1.67-1.77.15-.13.39-.31.56-.45 1.21-.97 2.9-.86 3.77.23s.59 2.76-.62 3.73c-.17.14-.39.33-.56.45-.72.53-1.38.8-2.1 1.23-1.51.93-2.77 1.71-3.76 2.64-.47.5-.43.98-.48 1.43-.14.13-.63.57-.9.8a32.8 32.8 0 0 1 4.74 10.95c.92 3.99 1.06 7.97.53 11.8l1.02.3c.18.26.56.89 1.09 1.1 1.3.41 2.76.56 4.53.75.83.07 1.55.03 2.43.19.21.04.52.12.73.17 1.5.37 2.45 1.74 2.14 3.09"}),y.jsx("path",{d:"m86.274 52.358-9.88 8.84.01.03c-.34.3-.6.7-.71 1.18-.27 1.17.44 2.33 1.58 2.65l.01.05 12.79 3.68c.27-2.76.11-5.62-.55-8.48-.66-2.89-1.77-5.56-3.25-7.95"})]})}),ltt=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:y.jsx("path",{fill:"#090",d:"M24.5 50.5c-1.5 0-2.5 1.2-2.5 2.7v14.1l-15.9-16c-.8-.8-2.2-1-3.2-.6S1 52.1 1 53.2v20.7c0 1.5 1.5 2.7 3 2.7s3-1.2 3-2.7V59.8l16.1 16c.5.5 1.2.8 1.9.8.3 0 .4-.1.7-.2 1-.4 1.3-1.4 1.3-2.5V53.3c0-1.5-1-2.8-2.5-2.8m19.7 11.8c-1.4 0-2.7 1.4-2.7 2.8s1.3 2.8 2.7 2.8l6.6.4-1.5 3.7h-8.5l-4.2-7.9 4.3-8.1H50l2.1 4h5.5L54 52.1l-.8-1.1H37.6l-.7 1.2L31 62.5l-.7 1.3.7 1.3 5.8 10.3.8 1.6h15.1l.7-1.7 4.3-9 1.9-4.3h-4.4zM65 50.5c-1.4 0-3 1.3-3 2.7V60h6v-6.7c0-1.5-1.6-2.8-3-2.8m30.4.3c-1-.4-2.4-.2-3.1.6L76 67.4V53.3c0-1.5-1-2.7-2.5-2.7S71 51.8 71 53.3V74c0 1.1.7 2.1 1.7 2.5.3.1.7.2 1 .2.7 0 1.6-.3 2.1-.8l16.2-16V74c0 1.5 1 2.7 2.5 2.7S97 75.5 97 74V53.3c0-1.1-.6-2.1-1.6-2.5m21.8 12.8 8.4-8.4c1.1-1.1 1.1-2.8 0-3.8-1.1-1.1-2.8-1.1-3.8 0l-8.4 8.4-8.4-8.4c-1.1-1.1-2.8-1.1-3.8 0-1.1 1.1-1.1 2.8 0 3.8l8.4 8.4-8.4 8.4c-1.1 1.1-1.1 2.8 0 3.8.5.5 1.2.8 1.9.8s1.4-.3 1.9-.8l8.4-8.4 8.4 8.4c.5.5 1.2.8 1.9.8s1.4-.3 1.9-.8c1.1-1.1 1.1-2.8 0-3.8zM62 73.9c0 1.4 1.5 2.7 3 2.7 1.4 0 3-1.3 3-2.7V62h-6z"})}),stt=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:[y.jsx("path",{d:"M93.809 92.112c.785-6.533.55-7.492 5.416-6.433l1.235.108c3.742.17 8.637-.602 11.513-1.938 6.191-2.873 9.861-7.668 3.758-6.409-13.924 2.873-14.881-1.842-14.881-1.842 14.703-21.815 20.849-49.508 15.543-56.287-14.47-18.489-39.517-9.746-39.936-9.52l-.134.025c-2.751-.571-5.83-.912-9.289-.968-6.301-.104-11.082 1.652-14.709 4.402 0 0-44.683-18.409-42.604 23.151.442 8.841 12.672 66.898 27.26 49.362 5.332-6.412 10.484-11.834 10.484-11.834 2.558 1.699 5.622 2.567 8.834 2.255l.249-.212c-.078.796-.044 1.575.099 2.497-3.757 4.199-2.653 4.936-10.166 6.482-7.602 1.566-3.136 4.355-.221 5.084 3.535.884 11.712 2.136 17.238-5.598l-.22.882c1.474 1.18 1.375 8.477 1.583 13.69.209 5.214.558 10.079 1.621 12.948s2.317 10.256 12.191 8.14c8.252-1.764 14.561-4.309 15.136-27.985"}),y.jsx("path",{d:"M75.458 125.256c-4.367 0-7.211-1.689-8.938-3.32-2.607-2.46-3.641-5.629-4.259-7.522l-.267-.79c-1.244-3.358-1.666-8.193-1.916-14.419-.038-.935-.064-1.898-.093-2.919-.021-.747-.047-1.684-.085-2.664a18.8 18.8 0 0 1-4.962 1.568c-3.079.526-6.389.356-9.84-.507-2.435-.609-4.965-1.871-6.407-3.82-4.203 3.681-8.212 3.182-10.396 2.453-3.853-1.285-7.301-4.896-10.542-11.037-2.309-4.375-4.542-10.075-6.638-16.943-3.65-11.96-5.969-24.557-6.175-28.693C4.292 23.698 7.777 14.44 15.296 9.129 27.157.751 45.128 5.678 51.68 7.915c4.402-2.653 9.581-3.944 15.433-3.851 3.143.051 6.136.327 8.916.823 2.9-.912 8.628-2.221 15.185-2.139 12.081.144 22.092 4.852 28.949 13.615 4.894 6.252 2.474 19.381.597 26.651-2.642 10.226-7.271 21.102-12.957 30.57 1.544.011 3.781-.174 6.961-.831 6.274-1.295 8.109 2.069 8.607 3.575 1.995 6.042-6.677 10.608-9.382 11.864-3.466 1.609-9.117 2.589-13.745 2.377l-.202-.013-1.216-.107-.12 1.014-.116.991c-.311 11.999-2.025 19.598-5.552 24.619-3.697 5.264-8.835 6.739-13.361 7.709-1.544.33-2.947.474-4.219.474m-9.19-43.671c2.819 2.256 3.066 6.501 3.287 14.434.028.99.054 1.927.089 2.802.106 2.65.355 8.855 1.327 11.477.137.371.26.747.39 1.146 1.083 3.316 1.626 4.979 6.309 3.978 3.931-.843 5.952-1.599 7.534-3.851 2.299-3.274 3.585-9.86 3.821-19.575l4.783.116-4.75-.57.14-1.186c.455-3.91.783-6.734 3.396-8.602 2.097-1.498 4.486-1.353 6.389-1.01-2.091-1.58-2.669-3.433-2.823-4.193l-.399-1.965 1.121-1.663c6.457-9.58 11.781-21.354 14.609-32.304 2.906-11.251 2.02-17.226 1.134-18.356-11.729-14.987-32.068-8.799-34.192-8.097l-.359.194-1.8.335-.922-.191c-2.542-.528-5.366-.82-8.393-.869-4.756-.08-8.593 1.044-11.739 3.431l-2.183 1.655-2.533-1.043c-5.412-2.213-21.308-6.662-29.696-.721-4.656 3.298-6.777 9.76-6.305 19.207.156 3.119 2.275 14.926 5.771 26.377 4.831 15.825 9.221 21.082 11.054 21.693.32.108 1.15-.537 1.976-1.529a271 271 0 0 1 10.694-12.07l2.77-2.915 3.349 2.225c1.35.897 2.839 1.406 4.368 1.502l7.987-6.812-1.157 11.808c-.026.265-.039.626.065 1.296l.348 2.238-1.51 1.688-.174.196 4.388 2.025z"}),y.jsx("path",{fill:"#336791",d:"M115.731 77.44c-13.925 2.873-14.882-1.842-14.882-1.842 14.703-21.816 20.849-49.51 15.545-56.287C101.924.823 76.875 9.566 76.457 9.793l-.135.024c-2.751-.571-5.83-.911-9.291-.967-6.301-.103-11.08 1.652-14.707 4.402 0 0-44.684-18.408-42.606 23.151.442 8.842 12.672 66.899 27.26 49.363 5.332-6.412 10.483-11.834 10.483-11.834 2.559 1.699 5.622 2.567 8.833 2.255l.25-.212c-.078.796-.042 1.575.1 2.497-3.758 4.199-2.654 4.936-10.167 6.482-7.602 1.566-3.136 4.355-.22 5.084 3.534.884 11.712 2.136 17.237-5.598l-.221.882c1.473 1.18 2.507 7.672 2.334 13.557s-.29 9.926.871 13.082c1.16 3.156 2.316 10.256 12.192 8.14 8.252-1.768 12.528-6.351 13.124-13.995.422-5.435 1.377-4.631 1.438-9.49l.767-2.3c.884-7.367.14-9.743 5.225-8.638l1.235.108c3.742.17 8.639-.602 11.514-1.938 6.19-2.871 9.861-7.667 3.758-6.408"}),y.jsx("path",{fill:"#fff",d:"M75.957 122.307c-8.232 0-10.84-6.519-11.907-9.185-1.562-3.907-1.899-19.069-1.551-31.503a1.59 1.59 0 0 1 1.64-1.55 1.594 1.594 0 0 1 1.55 1.639c-.401 14.341.168 27.337 1.324 30.229 1.804 4.509 4.54 8.453 12.275 6.796 7.343-1.575 10.093-4.359 11.318-11.46.94-5.449 2.799-20.951 3.028-24.01a1.593 1.593 0 0 1 1.71-1.472 1.597 1.597 0 0 1 1.472 1.71c-.239 3.185-2.089 18.657-3.065 24.315-1.446 8.387-5.185 12.191-13.794 14.037-1.463.313-2.792.453-4 .454M31.321 90.466a6.7 6.7 0 0 1-2.116-.35c-5.347-1.784-10.44-10.492-15.138-25.885-3.576-11.717-5.842-23.947-6.041-27.922-.589-11.784 2.445-20.121 9.02-24.778 13.007-9.216 34.888-.44 35.813-.062a1.596 1.596 0 0 1-1.207 2.955c-.211-.086-21.193-8.492-32.768-.285-5.622 3.986-8.203 11.392-7.672 22.011.167 3.349 2.284 15.285 5.906 27.149 4.194 13.742 8.967 22.413 13.096 23.79.648.216 2.62.873 5.439-2.517A245 245 0 0 1 45.88 73.046a1.596 1.596 0 0 1 2.304 2.208c-.048.05-4.847 5.067-10.077 11.359-2.477 2.979-4.851 3.853-6.786 3.853m69.429-13.445a1.596 1.596 0 0 1-1.322-2.487c14.863-22.055 20.08-48.704 15.612-54.414-5.624-7.186-13.565-10.939-23.604-11.156-7.433-.16-13.341 1.738-14.307 2.069l-.243.099c-.971.305-1.716-.227-1.997-.849a1.6 1.6 0 0 1 .631-2.025c.046-.027.192-.089.429-.176l-.021.006.021-.007c1.641-.601 7.639-2.4 15.068-2.315 11.108.118 20.284 4.401 26.534 12.388 2.957 3.779 2.964 12.485.019 23.887-3.002 11.625-8.651 24.118-15.497 34.277-.306.457-.81.703-1.323.703m.76 10.21c-2.538 0-4.813-.358-6.175-1.174-1.4-.839-1.667-1.979-1.702-2.584-.382-6.71 3.32-7.878 5.208-8.411-.263-.398-.637-.866-1.024-1.349-1.101-1.376-2.609-3.26-3.771-6.078-.182-.44-.752-1.463-1.412-2.648-3.579-6.418-11.026-19.773-6.242-26.612 2.214-3.165 6.623-4.411 13.119-3.716C97.6 28.837 88.5 10.625 66.907 10.271c-6.494-.108-11.82 1.889-15.822 5.93-8.96 9.049-8.636 25.422-8.631 25.586a1.595 1.595 0 1 1-3.19.084c-.02-.727-.354-17.909 9.554-27.916C53.455 9.272 59.559 6.96 66.96 7.081c13.814.227 22.706 7.25 27.732 13.101 5.479 6.377 8.165 13.411 8.386 15.759.165 1.746-1.088 2.095-1.341 2.147l-.576.013c-6.375-1.021-10.465-.312-12.156 2.104-3.639 5.201 3.406 17.834 6.414 23.229.768 1.376 1.322 2.371 1.576 2.985.988 2.396 2.277 4.006 3.312 5.3.911 1.138 1.7 2.125 1.982 3.283.131.23 1.99 2.98 13.021.703 2.765-.57 4.423-.083 4.93 1.45.997 3.015-4.597 6.532-7.694 7.97-2.775 1.29-7.204 2.106-11.036 2.106m-4.696-4.021c.35.353 2.101.962 5.727.806 3.224-.138 6.624-.839 8.664-1.786 2.609-1.212 4.351-2.567 5.253-3.492l-.5.092c-7.053 1.456-12.042 1.262-14.828-.577a6 6 0 0 1-.54-.401c-.302.119-.581.197-.78.253-1.58.443-3.214.902-2.996 5.105m-45.562 8.915c-1.752 0-3.596-.239-5.479-.71-1.951-.488-5.24-1.957-5.19-4.37.057-2.707 3.994-3.519 5.476-3.824 5.354-1.103 5.703-1.545 7.376-3.67.488-.619 1.095-1.39 1.923-2.314 1.229-1.376 2.572-2.073 3.992-2.073.989 0 1.8.335 2.336.558 1.708.708 3.133 2.42 3.719 4.467.529 1.847.276 3.625-.71 5.006-3.237 4.533-7.886 6.93-13.443 6.93m-7.222-4.943c.481.372 1.445.869 2.518 1.137 1.631.408 3.213.615 4.705.615 4.546 0 8.196-1.882 10.847-5.594.553-.774.387-1.757.239-2.274-.31-1.083-1.08-2.068-1.873-2.397-.43-.178-.787-.314-1.115-.314-.176 0-.712 0-1.614 1.009a41 41 0 0 0-1.794 2.162c-2.084 2.646-3.039 3.544-9.239 4.821-1.513.31-2.289.626-2.674.835m12.269-7.36a1.596 1.596 0 0 1-1.575-1.354 8 8 0 0 1-.08-.799c-4.064-.076-7.985-1.82-10.962-4.926-3.764-3.927-5.477-9.368-4.699-14.927.845-6.037.529-11.366.359-14.229-.047-.796-.081-1.371-.079-1.769.003-.505.013-1.844 4.489-4.113 1.592-.807 4.784-2.215 8.271-2.576 5.777-.597 9.585 1.976 10.725 7.246 3.077 14.228.244 20.521-1.825 25.117-.385.856-.749 1.664-1.04 2.447l-.257.69c-1.093 2.931-2.038 5.463-1.748 7.354a1.595 1.595 0 0 1-1.335 1.819zM42.464 42.26l.062 1.139c.176 2.974.504 8.508-.384 14.86-.641 4.585.759 9.06 3.843 12.276 2.437 2.542 5.644 3.945 8.94 3.945h.068c.369-1.555.982-3.197 1.642-4.966l.255-.686c.329-.884.714-1.74 1.122-2.646 1.991-4.424 4.47-9.931 1.615-23.132-.565-2.615-1.936-4.128-4.189-4.627-4.628-1.022-11.525 2.459-12.974 3.837m9.63-.677c-.08.564 1.033 2.07 2.485 2.271 1.449.203 2.689-.975 2.768-1.539s-1.033-1.186-2.485-1.388-2.691.092-2.768.656m2.818 2.826-.407-.028c-.9-.125-1.81-.692-2.433-1.518-.219-.29-.576-.852-.505-1.354.101-.736.999-1.177 2.4-1.177.313 0 .639.023.967.069.766.106 1.477.327 2.002.62.91.508.977 1.075.936 1.368-.112.813-1.405 2.02-2.96 2.02m-2.289-2.732c.045.348.907 1.496 2.029 1.651l.261.018c1.036 0 1.81-.815 1.901-1.082-.096-.182-.762-.634-2.025-.81a6 6 0 0 0-.821-.059c-.812 0-1.243.183-1.345.282m43.605-1.245c.079.564-1.033 2.07-2.484 2.272-1.45.202-2.691-.975-2.771-1.539-.076-.564 1.036-1.187 2.486-1.388 1.45-.203 2.689.092 2.769.655m-2.819 2.56c-1.396 0-2.601-1.086-2.7-1.791-.115-.846 1.278-1.489 2.712-1.688.316-.044.629-.066.93-.066 1.238 0 2.058.363 2.14.949.053.379-.238.964-.739 1.492-.331.347-1.026.948-1.973 1.079zm.943-3.013q-.416 0-.856.061c-1.441.201-2.301.779-2.259 1.089.048.341.968 1.332 2.173 1.332l.297-.021c.787-.109 1.378-.623 1.66-.919.443-.465.619-.903.598-1.052-.028-.198-.56-.49-1.613-.49m3.965 32.843a1.594 1.594 0 0 1-1.324-2.483c3.398-5.075 2.776-10.25 2.175-15.255-.257-2.132-.521-4.337-.453-6.453.07-2.177.347-3.973.614-5.71.317-2.058.617-4.002.493-6.31a1.595 1.595 0 1 1 3.186-.172c.142 2.638-.197 4.838-.525 6.967-.253 1.643-.515 3.342-.578 5.327-.061 1.874.178 3.864.431 5.97.64 5.322 1.365 11.354-2.691 17.411a1.6 1.6 0 0 1-1.328.708"})]}),ctt=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:y.jsx("path",{fill:"#e75225",d:"M63.66 2.477c33.477.007 60.957 27.296 60.914 60.5-.043 33.703-27.41 60.617-61.613 60.593-33.441-.023-60.477-27.343-60.453-61.086C2.53 29.488 30.066 2.47 63.66 2.477m-18.504 21.25c.766 3.777.024 7.3-1.113 10.765-.785 2.399-1.871 4.711-2.52 7.145-1.07 4.008-2.28 8.039-2.726 12.136-.64 5.895 1.676 11.086 5.64 16.25l-18.222-3.835c.031.574 0 .792.062.976 1.727 5.074 4.766 9.348 8.172 13.379.36.426 1.18.644 1.79.644 18.167.036 36.335.032 54.503.008.563 0 1.317-.105 1.66-.468 3.895-4.094 6.871-8.758 8.735-14.63l-19.29 3.778c1.274-2.496 2.723-4.688 3.56-7.098 2.855-8.242 1.671-16.21-2.427-23.726-3.289-6.031-6.324-12.035-4.683-19.305-3.473 3.434-4.809 7.8-5.656 12.3-.832 4.434-1.325 8.93-1.97 13.43-.093-.136-.21-.238-.23-.355a13 13 0 0 1-.168-1.422c-.394-7.367-1.832-14.465-4.87-21.246-1.786-3.988-3.758-8.07-1.915-12.832-1.246.66-2.375 1.313-3.183 2.246-2.41 2.785-3.407 6.13-3.664 9.793-.22 3.13-.52 6.274-1.102 9.352-.61 3.234-1.574 6.402-3.75 9.375-.875-6.348-.973-12.63-6.633-16.66M92 86.75H35.016v9.898H92zm-45.684 15.016c-.046 8.242 8.348 14.382 18.723 13.937 8.602-.371 16.211-7.137 15.559-13.937zm0 0"})}),utt=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:y.jsxs("g",{fill:"#61DAFB",children:[y.jsx("circle",{cx:64,cy:64,r:11.4}),y.jsx("path",{d:"M107.3 45.2c-2.2-.8-4.5-1.6-6.9-2.3.6-2.4 1.1-4.8 1.5-7.1 2.1-13.2-.2-22.5-6.6-26.1-1.9-1.1-4-1.6-6.4-1.6-7 0-15.9 5.2-24.9 13.9-9-8.7-17.9-13.9-24.9-13.9-2.4 0-4.5.5-6.4 1.6-6.4 3.7-8.7 13-6.6 26.1.4 2.3.9 4.7 1.5 7.1-2.4.7-4.7 1.4-6.9 2.3C8.2 50 1.4 56.6 1.4 64s6.9 14 19.3 18.8c2.2.8 4.5 1.6 6.9 2.3-.6 2.4-1.1 4.8-1.5 7.1-2.1 13.2.2 22.5 6.6 26.1 1.9 1.1 4 1.6 6.4 1.6 7.1 0 16-5.2 24.9-13.9 9 8.7 17.9 13.9 24.9 13.9 2.4 0 4.5-.5 6.4-1.6 6.4-3.7 8.7-13 6.6-26.1-.4-2.3-.9-4.7-1.5-7.1 2.4-.7 4.7-1.4 6.9-2.3 12.5-4.8 19.3-11.4 19.3-18.8s-6.8-14-19.3-18.8M92.5 14.7c4.1 2.4 5.5 9.8 3.8 20.3-.3 2.1-.8 4.3-1.4 6.6-5.2-1.2-10.7-2-16.5-2.5-3.4-4.8-6.9-9.1-10.4-13 7.4-7.3 14.9-12.3 21-12.3 1.3 0 2.5.3 3.5.9M81.3 74c-1.8 3.2-3.9 6.4-6.1 9.6-3.7.3-7.4.4-11.2.4-3.9 0-7.6-.1-11.2-.4q-3.3-4.8-6-9.6c-1.9-3.3-3.7-6.7-5.3-10 1.6-3.3 3.4-6.7 5.3-10 1.8-3.2 3.9-6.4 6.1-9.6 3.7-.3 7.4-.4 11.2-.4 3.9 0 7.6.1 11.2.4q3.3 4.8 6 9.6c1.9 3.3 3.7 6.7 5.3 10-1.7 3.3-3.4 6.6-5.3 10m8.3-3.3c1.5 3.5 2.7 6.9 3.8 10.3-3.4.8-7 1.4-10.8 1.9 1.2-1.9 2.5-3.9 3.6-6 1.2-2.1 2.3-4.2 3.4-6.2M64 97.8c-2.4-2.6-4.7-5.4-6.9-8.3 2.3.1 4.6.2 6.9.2s4.6-.1 6.9-.2c-2.2 2.9-4.5 5.7-6.9 8.3m-18.6-15c-3.8-.5-7.4-1.1-10.8-1.9 1.1-3.3 2.3-6.8 3.8-10.3 1.1 2 2.2 4.1 3.4 6.1 1.2 2.2 2.4 4.1 3.6 6.1m-7-25.5c-1.5-3.5-2.7-6.9-3.8-10.3 3.4-.8 7-1.4 10.8-1.9-1.2 1.9-2.5 3.9-3.6 6-1.2 2.1-2.3 4.2-3.4 6.2M64 30.2c2.4 2.6 4.7 5.4 6.9 8.3-2.3-.1-4.6-.2-6.9-.2s-4.6.1-6.9.2c2.2-2.9 4.5-5.7 6.9-8.3m22.2 21-3.6-6c3.8.5 7.4 1.1 10.8 1.9-1.1 3.3-2.3 6.8-3.8 10.3-1.1-2.1-2.2-4.2-3.4-6.2M31.7 35c-1.7-10.5-.3-17.9 3.8-20.3 1-.6 2.2-.9 3.5-.9 6 0 13.5 4.9 21 12.3-3.5 3.8-7 8.2-10.4 13-5.8.5-11.3 1.4-16.5 2.5-.6-2.3-1-4.5-1.4-6.6M7 64c0-4.7 5.7-9.7 15.7-13.4 2-.8 4.2-1.5 6.4-2.1 1.6 5 3.6 10.3 6 15.6-2.4 5.3-4.5 10.5-6 15.5C15.3 75.6 7 69.6 7 64m28.5 49.3c-4.1-2.4-5.5-9.8-3.8-20.3.3-2.1.8-4.3 1.4-6.6 5.2 1.2 10.7 2 16.5 2.5 3.4 4.8 6.9 9.1 10.4 13-7.4 7.3-14.9 12.3-21 12.3-1.3 0-2.5-.3-3.5-.9M96.3 93c1.7 10.5.3 17.9-3.8 20.3-1 .6-2.2.9-3.5.9-6 0-13.5-4.9-21-12.3 3.5-3.8 7-8.2 10.4-13 5.8-.5 11.3-1.4 16.5-2.5.6 2.3 1 4.5 1.4 6.6m9-15.6c-2 .8-4.2 1.5-6.4 2.1-1.6-5-3.6-10.3-6-15.6 2.4-5.3 4.5-10.5 6-15.5 13.8 4 22.1 10 22.1 15.6 0 4.7-5.8 9.7-15.7 13.4"})]})}),dtt=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:[y.jsx("path",{fill:"#A41E11",d:"M121.8 93.1c-6.7 3.5-41.4 17.7-48.8 21.6s-11.5 3.8-17.3 1S13 98.1 6.3 94.9c-3.3-1.6-5-2.9-5-4.2V78s48-10.5 55.8-13.2c7.8-2.8 10.4-2.9 17-.5s46.1 9.5 52.6 11.9v12.5c0 1.3-1.5 2.7-4.9 4.4"}),y.jsx("path",{fill:"#D82C20",d:"M121.8 80.5C115.1 84 80.4 98.2 73 102.1s-11.5 3.8-17.3 1S13 85.4 6.3 82.2C-.3 79-.5 76.8 6 74.3c6.5-2.6 43.2-17 51-19.7 7.8-2.8 10.4-2.9 17-.5s41.1 16.1 47.6 18.5c6.7 2.4 6.9 4.4.2 7.9"}),y.jsx("path",{fill:"#A41E11",d:"M121.8 72.5C115.1 76 80.4 90.2 73 94.1c-7.4 3.8-11.5 3.8-17.3 1S13 77.4 6.3 74.2c-3.3-1.6-5-2.9-5-4.2V57.3s48-10.5 55.8-13.2c7.8-2.8 10.4-2.9 17-.5s46.1 9.5 52.6 11.9V68c0 1.3-1.5 2.7-4.9 4.5"}),y.jsx("path",{fill:"#D82C20",d:"M121.8 59.8c-6.7 3.5-41.4 17.7-48.8 21.6-7.4 3.8-11.5 3.8-17.3 1S13 64.7 6.3 61.5s-6.8-5.4-.3-7.9c6.5-2.6 43.2-17 51-19.7 7.8-2.8 10.4-2.9 17-.5s41.1 16.1 47.6 18.5c6.7 2.4 6.9 4.4.2 7.9"}),y.jsx("path",{fill:"#A41E11",d:"M121.8 51c-6.7 3.5-41.4 17.7-48.8 21.6-7.4 3.8-11.5 3.8-17.3 1C49.9 70.9 13 56 6.3 52.8c-3.3-1.6-5.1-2.9-5.1-4.2V35.9s48-10.5 55.8-13.2c7.8-2.8 10.4-2.9 17-.5s46.1 9.5 52.6 11.9v12.5c.1 1.3-1.4 2.6-4.8 4.4"}),y.jsx("path",{fill:"#D82C20",d:"M121.8 38.3C115.1 41.8 80.4 56 73 59.9c-7.4 3.8-11.5 3.8-17.3 1S13 43.3 6.3 40.1s-6.8-5.4-.3-7.9c6.5-2.6 43.2-17 51-19.7 7.8-2.8 10.4-2.9 17-.5s41.1 16.1 47.6 18.5c6.7 2.4 6.9 4.4.2 7.8"}),y.jsx("path",{fill:"#fff",d:"m80.4 26.1-10.8 1.2-2.5 5.8-3.9-6.5-12.5-1.1 9.3-3.4-2.8-5.2 8.8 3.4 8.2-2.7L72 23zM66.5 54.5l-20.3-8.4 29.1-4.4z"}),y.jsx("ellipse",{cx:38.4,cy:35.4,fill:"#fff",rx:15.5,ry:6}),y.jsx("path",{fill:"#7A0C00",d:"m93.3 27.7 17.2 6.8-17.2 6.8z"}),y.jsx("path",{fill:"#AD2115",d:"m74.3 35.3 19-7.6v13.6l-1.9.8z"})]}),ptt=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:y.jsx("path",{fill:"#e15919",d:"M57.646.004c-2.269.064-4.51 1.143-6.384 3.223-1.03 1.146-1.905 2.51-2.63 3.855-1.89 3.54-2.262 7.547-2.962 11.43l-3.852 21.81c-.148.856-.532 1.21-1.3 1.455l-28.268 8.98c-2.06.673-4.125 1.543-5.947 2.7-5.558 3.53-6.38 9.338-2.207 14.438 1.842 2.256 4.216 3.843 6.85 4.996l17.603 7.843c.147.08.304.132.463.162l3.717 2.682s-3.7 40.948 3.246 43.781c-.061-.01-.41-.082-.41-.082s.704.761 2.603.537c1.454.27 1.262.226.074-.01 2.583-.334 7.337-2.497 15.578-10.784a47 47 0 0 0 1.776-1.676l17.8-19.217 4.163 1.465c.15.207.367.34.714.443l19.823 6.031c2.709.836 5.389 1.448 8.277 1.026 5.156-.755 8.951-5 8.9-10.192-.02-2.28-.82-4.339-1.87-6.324l-13.128-24.898c-.418-.787-.405-1.296.196-2l22.054-25.922c1.428-1.703 2.717-3.529 3.465-5.645 1.643-4.67-.482-8.382-5.33-9.289-2.229-.398-4.427-.188-6.6.385l-31.597 8.395c-.93.25-1.39.075-1.895-.772l-12.9-21.434c-.975-1.615-2.14-3.194-3.477-4.527C62.212.89 59.915-.059 57.646.004m.944 19.736c.51.358.768.727 1.01 1.125l13.88 23.13c.382.628.725.85 1.485.648l24.443-6.497 5.885-1.54c-.087.493-.302.79-.537 1.068l-20.16 23.672c-.57.688-.623 1.17-.194 1.976l12.743 24.16.585 1.237-.015.02-22.727-6.264-.006-.018-4.298-1.205-25.493 28.256 4.663-37.15-4.184-1.82.008-.007-23.674-9.4c.454-.413.86-.585 1.285-.717l28.777-9.096c.676-.21 1.061-.47 1.125-1.242l.403-2.355 3.875-21.807 1.12-6.174z"})}),htt=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:[y.jsx("path",{fill:"#85ea2d",d:"M63.999 124.945c-33.607 0-60.95-27.34-60.95-60.949C3.05 30.388 30.392 3.048 64 3.048s60.95 27.342 60.95 60.95c0 33.607-27.343 60.946-60.95 60.946z"}),y.jsx("path",{fill:"#173647",d:"M40.3 43.311c-.198 2.19.072 4.454-.073 6.668-.173 2.217-.444 4.407-.888 6.596-.615 3.126-2.56 5.489-5.24 7.458 5.218 3.396 5.807 8.662 6.152 14.003.172 2.88.098 5.785.394 8.638.221 2.215 1.082 2.782 3.372 2.854.935.025 1.894 0 2.978 0v6.842c-6.768 1.156-12.354-.762-13.734-6.496a39.3 39.3 0 0 1-.836-6.4c-.148-2.287.097-4.577-.074-6.864-.492-6.277-1.305-8.393-7.308-8.689v-7.8c.441-.1.86-.174 1.302-.223 3.298-.172 4.701-1.182 5.414-4.43a37.5 37.5 0 0 0 .616-5.536c.247-3.569.148-7.21.763-10.754.86-5.094 4.01-7.556 9.254-7.852 1.476-.074 2.978 0 4.676 0v6.99c-.714.05-1.33.147-1.969.147-4.258-.148-4.48 1.304-4.8 4.848zm8.195 16.193h-.099c-2.462-.123-4.578 1.796-4.702 4.258-.122 2.485 1.797 4.603 4.259 4.724h.295c2.436.148 4.527-1.724 4.676-4.16v-.245c.05-2.486-1.944-4.527-4.43-4.577zm15.43 0c-2.386-.074-4.38 1.796-4.454 4.159 0 .149 0 .271.024.418 0 2.684 1.821 4.406 4.578 4.406 2.707 0 4.406-1.772 4.406-4.553-.025-2.682-1.823-4.455-4.554-4.43m15.801 0a4.596 4.596 0 0 0-4.676 4.454 4.515 4.515 0 0 0 4.528 4.528h.05c2.264.394 4.553-1.796 4.701-4.429.122-2.437-2.092-4.553-4.604-4.553Zm21.682.369c-2.855-.123-4.284-1.083-4.996-3.79a27.4 27.4 0 0 1-.811-5.292c-.198-3.298-.174-6.62-.395-9.918-.516-7.826-6.177-10.557-14.397-9.205v6.792c1.304 0 2.313 0 3.322.025 1.748.024 3.077.69 3.249 2.634.172 1.772.172 3.568.344 5.365.346 3.57.542 7.187 1.157 10.706.542 2.904 2.536 5.07 5.02 6.841-4.355 2.929-5.636 7.113-5.857 11.814-.122 3.223-.196 6.472-.368 9.721-.148 2.953-1.181 3.913-4.16 3.987-.835.024-1.648.098-2.583.148v6.964c1.748 0 3.347.1 4.946 0 4.971-.295 7.974-2.706 8.96-7.531.417-2.658.662-5.34.737-8.023.171-2.46.148-4.946.394-7.382.369-3.815 2.116-5.389 5.93-5.636a5 5 0 0 0 1.06-.245v-7.801c-.64-.074-1.084-.148-1.552-.173zM64 6.1c31.977 0 57.9 25.92 57.9 57.898 0 31.977-25.923 57.899-57.9 57.899-31.976 0-57.898-25.922-57.898-57.9C6.102 32.023 32.024 6.101 64 6.101m0-6.1C28.71 0 0 28.71 0 64c0 35.288 28.71 63.998 64 63.998s64-28.71 64-64S99.289.002 64 .002Z"})]});const ftt={"tech:elasticsearch":ett,"tech:git":ttt,"tech:github":rtt,"tech:go":ntt,"tech:grafana":ott,"tech:java":att,"tech:kubernetes":itt,"tech:nginx":ltt,"tech:postgresql":stt,"tech:prometheus":ctt,"tech:react":utt,"tech:redis":dtt,"tech:spark":ptt,"tech:swagger":htt};function mtt(e){const r=ftt[e.node.icon??""];return r?y.jsx(r,e):null}function gtt(e,r,n){let o=a=>e(a,...r);return n===void 0?o:Object.assign(o,{lazy:n,lazyArgs:r})}function Gte(e,r,n){let o=e.length-r.length;if(o===0)return e(...r);if(o===1)return gtt(e,r,n);throw Error("Wrong number of arguments")}function ytt(...e){return Gte(btt,e)}function btt(e,r){let n={};for(let[o,a]of Object.entries(e))n[o]=r(a,o,e);return n}function Xte(...e){return Gte(jy,e)}function jy(e,r){if(e===r||Object.is(e,r))return!0;if(typeof e!="object"||typeof r!="object"||e===null||r===null||Object.getPrototypeOf(e)!==Object.getPrototypeOf(r))return!1;if(Array.isArray(e))return vtt(e,r);if(e instanceof Map)return xtt(e,r);if(e instanceof Set)return wtt(e,r);if(e instanceof Date)return e.getTime()===r.getTime();if(e instanceof RegExp)return e.toString()===r.toString();if(Object.keys(e).length!==Object.keys(r).length)return!1;for(let[n,o]of Object.entries(e))if(!(n in r)||!jy(o,r[n]))return!1;return!0}function vtt(e,r){if(e.length!==r.length)return!1;for(let[n,o]of e.entries())if(!jy(o,r[n]))return!1;return!0}function xtt(e,r){if(e.size!==r.size)return!1;for(let[n,o]of e.entries())if(!r.has(n)||!jy(o,r.get(n)))return!1;return!0}function wtt(e,r){if(e.size!==r.size)return!1;let n=[...r];for(let o of e){let a=!1;for(let[i,l]of n.entries())if(jy(o,l)){a=!0,n.splice(i,1);break}if(!a)return!1}return!0}let vl=[],Ru=0;const h4=4;let f4=0,Kte=e=>{let r=[],n={get(){return n.lc||n.listen(()=>{})(),n.value},lc:0,listen(o){return n.lc=r.push(o),()=>{for(let i=Ru+h4;i(e.events=e.events||{},e.events[n+g4]||(e.events[n+g4]=o(a=>{e.events[n].reduceRight((i,l)=>(l(i),i),{shared:{},...a})})),e.events[n]=e.events[n]||[],e.events[n].push(r),()=>{let a=e.events[n],i=a.indexOf(r);a.splice(i,1),a.length||(delete e.events[n],e.events[n+g4](),delete e.events[n+g4])}),Ett=1e3,Stt=(e,r)=>_tt(e,n=>{let o=r(n);o&&e.events[m4].push(o)},ktt,n=>{let o=e.listen;e.listen=(...i)=>(!e.lc&&!e.active&&(e.active=!0,n()),o(...i));let a=e.off;return e.events[m4]=[],e.off=()=>{a(),setTimeout(()=>{if(e.active&&!e.lc){e.active=!1;for(let i of e.events[m4])i();e.events[m4]=[]}},Ett)},()=>{e.listen=o,e.off=a}}),Ctt=(e,r,n)=>{Array.isArray(e)||(e=[e]);let o,a,i=()=>{if(a===f4)return;a=f4;let u=e.map(d=>d.get());if(!o||u.some((d,p)=>d!==o[p])){o=u;let d=r(...u);d&&d.then&&d.t?d.then(p=>{o===u&&l.set(p)}):(l.set(d),a=f4)}},l=Kte(void 0),s=l.get;l.get=()=>(i(),s());let c=i;return Stt(l,()=>{let u=e.map(d=>d.listen(c));return i(),()=>{for(let d of u)d()}}),l},Zte=(e,r)=>Ctt(e,r);function Ttt(e,r,n){let o=new Set(r).add(void 0);return e.listen((a,i,l)=>{o.has(l)&&n(a,i,l)})}let xR=(e,r)=>n=>{e.current!==n&&(e.current=n,r())};function Qte(e,{keys:r,deps:n=[e,r]}={}){let o=E.useRef();o.current=e.get();let a=E.useCallback(l=>(xR(o,l)(e.value),r?.length>0?Ttt(e,r,xR(o,l)):e.listen(xR(o,l))),n),i=()=>o.current;return E.useSyncExternalStore(a,i,i)}const Rtt=e=>{const r=Zte(e,s=>Dd.create(s));function n(s){const c=e.get();if(Xte(c,s))return;const u={...s,views:ytt(s.views,d=>{const p=c.views[d.id];return Xte(p,d)?p:d})};e.set(u)}const o=Zte(e,s=>Object.values(s.views));function a(){return Qte(r)}function i(){return Qte(o)}function l(s){const[c,u]=E.useState(e.value?.views[s]??null);return E.useEffect(()=>e.subscribe(d=>{u(d.views[s]??null)}),[s]),c}return{updateModel:n,$likec4model:r,useLikeC4Model:a,useLikeC4Views:i,useLikeC4View:l}},Att=Kte({_stage:"layouted",projectId:"architecture",project:{id:"architecture",title:"architecture"},specification:{tags:{internal:{color:"tomato"}},elements:{actor:{style:{shape:"person",color:"green"}},person:{style:{shape:"person",color:"green"}},component:{style:{}},container:{style:{opacity:20}},internalComponent:{style:{color:"muted",opacity:15}},schema:{style:{}},step:{style:{}},system:{style:{}},workflow:{style:{}},tool:{style:{}},process:{style:{}},repository:{style:{shape:"storage"}}},relationships:{},deployments:{cloud:{style:{}},environment:{style:{}},computeressource:{style:{}},paas:{style:{}},kubernetes:{style:{}},cluster:{style:{}},namespace:{style:{}}},customColors:{}},elements:{edfbuilder_workflow:{style:{},title:"EDFbuilder",kind:"workflow",id:"edfbuilder_workflow"},argocdworkflow:{style:{},title:"EDP ArgoCD Setup Workflow",kind:"workflow",id:"argocdworkflow"},edpworkflow:{style:{},title:"EDP Infrastructure Setup Workflow",kind:"workflow",id:"edpworkflow"},applicationspecification:{style:{},description:{txt:"The application specification describes the application and its components. It is used to generate the application and its components."},title:"application-specification",kind:"component",id:"applicationspecification"},forgejoRunner:{style:{},description:{txt:"A runner is a service that runs jobs triggered by Forgejo. A runner can have different technical implementations like a container or a VM."},title:"Forgejo Runner",kind:"component",id:"forgejoRunner"},forgejoRunnerWorker:{style:{},description:{txt:"A worker is a service that runs a job invoked by a runner. A worker typically is a container."},title:"Forgejo Runner Worker",kind:"component",id:"forgejoRunnerWorker"},promtail:{style:{},description:{txt:"Log shipper agent for Loki"},title:"Promtail",kind:"component",id:"promtail"},edfbuilder:{style:{shape:"rectangle",icon:"tech:go"},technology:"Golang",description:{txt:"EDP Foundry Builder"},title:"edfbuilder",kind:"component",id:"edfbuilder"},elasticsearch:{style:{opacity:20,icon:"tech:elasticsearch"},technology:"Elasticsearch",description:{txt:`Elasticsearch is a distributed, RESTful search and analytics engine capable of +`.trim()}function Rtt({children:e,theme:r=_tt,injectFontCss:n=!0,styleNonce:o,colorScheme:a,keepAspectRatio:i=!1,...l}){const s=Stt(a),c=sG(),u=Ttt(c,i),d=S.useRef(null),p=Ett(n,o),f=S.useCallback(()=>d.current??void 0,[d]),g=ot(()=>{if(Fx(o)){if(typeof o=="string")return o;if(typeof o=="function")return o()}return""});let b=Fx(o)?g():void 0;return y.jsxs(y.Fragment,{children:[y.jsx("style",{type:"text/css",nonce:b,dangerouslySetInnerHTML:{__html:u}}),y.jsx(Ctt,{ssr:!1,...l,styleSheets:p,"data-likec4-instance":c,children:y.jsx("div",{ref:d,"data-mantine-color-scheme":s,className:"likec4-shadow-root",children:y.jsx(k9,{...a&&{forceColorScheme:a},defaultColorScheme:s,getRootElement:f,...!!b&&{getStyleNonce:g},cssVariablesSelector:".likec4-shadow-root",theme:r,children:y.jsx(wR,{children:e})})})})]})}const Att=me({cursor:"pointer","--mantine-cursor-pointer":"pointer","& :where(.likec4-diagram, .likec4-compound-node, .likec4-element-node)":{cursor:"pointer"}});function Ntt({viewId:e,className:r,pannable:n=!1,zoomable:o=!1,keepAspectRatio:a=!0,colorScheme:i,injectFontCss:l=!0,controls:s=!1,background:c="transparent",browser:u=!0,showNavigationButtons:d=!1,enableNotations:p,enableFocusMode:f=!1,enableDynamicViewWalkthrough:g=!1,enableElementDetails:b=!1,enableRelationshipDetails:x=!1,enableRelationshipBrowser:w=x,reduceGraphics:k="auto",mantineTheme:C,styleNonce:_,style:T,reactFlowProps:R,renderNodes:A,children:D,...N}){const $=tBe(),[O,j]=S.useState(null),L=ot(()=>{j(e)});if(!$)return y.jsx(kR,{children:"LikeC4Model not found. Make sure you provided LikeC4ModelProvider."});const Y=$.findView(e)?.$view;if(!Y)return y.jsx(ott,{viewId:e});if(Y._stage!=="layouted")return y.jsxs(kR,{children:['LikeC4 View "$',e,'" is not layouted. Make sure you have LikeC4ModelProvider with layouted model.']});const M=O?$.findView(O)?.$view:null,q=!!p&&(Y.notation?.nodes?.length??0)>0,z=(M?.notation?.nodes?.length??0)>0,H=u!==!1,U=dU(u)?{}:u,K=Wte(Y,N.dynamicViewVariant);return y.jsx(Rtt,{injectFontCss:l,theme:C,colorScheme:i,styleNonce:_,keepAspectRatio:a?K:!1,className:Je("likec4-view",r),style:T,children:y.jsxs(wR,{children:[y.jsx(Xte,{view:Y,readonly:!0,pannable:n,zoomable:o,background:c,fitView:!0,fitViewPadding:z2.default,enableNotations:q,enableDynamicViewWalkthrough:g,showNavigationButtons:d,experimentalEdgeEditing:!1,enableFocusMode:f,enableRelationshipDetails:x,enableElementDetails:b,enableRelationshipBrowser:w,enableElementTags:!1,controls:s,nodesDraggable:!1,reduceGraphics:k,className:Je("likec4-static-view",H&&Att),enableSearch:!1,...H&&{onCanvasClick:L,onNodeClick:L},reactFlowProps:R,renderNodes:A,children:D,...N}),M&&y.jsxs(Uy,{openDelay:0,onClose:()=>j(null),children:[y.jsx(Xte,{view:M,pannable:!0,zoomable:!0,background:"dots",onNavigateTo:j,showNavigationButtons:!0,enableDynamicViewWalkthrough:!0,enableFocusMode:!0,enableRelationshipBrowser:!0,enableElementDetails:!0,enableRelationshipDetails:!0,enableSearch:!0,enableElementTags:!0,controls:!0,readonly:!0,nodesDraggable:!1,fitView:!0,...N,fitViewPadding:z2.withControls,...U,enableNotations:z&&(U.enableNotations??!0),renderNodes:A}),y.jsx(Se,{pos:"absolute",top:"1rem",right:"1rem",children:y.jsx(ir,{variant:"default",color:"gray",onClick:V=>{V.stopPropagation(),j(null)},children:y.jsx(Xf,{})})})]})]})})}var Dtt=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:[y.jsx("path",{fill:"#343741",d:"M4 64c0 5.535.777 10.879 2.098 16H84c8.836 0 16-7.164 16-16s-7.164-16-16-16H6.098A63.7 63.7 0 0 0 4 64"}),y.jsx("path",{fill:"#fec514",d:"M111.695 30.648A61.5 61.5 0 0 0 117.922 24C106.188 9.379 88.199 0 68 0 42.715 0 20.957 14.71 10.574 36H98.04a20.12 20.12 0 0 0 13.652-5.352"}),y.jsx("path",{fill:"#00bfb3",d:"M98.04 92H10.577C20.961 113.29 42.715 128 68 128c20.2 0 38.188-9.383 49.922-24a61 61 0 0 0-6.227-6.648A20.13 20.13 0 0 0 98.04 92"})]}),Ptt=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:y.jsx("path",{fill:"#F34F29",d:"M124.737 58.378 69.621 3.264c-3.172-3.174-8.32-3.174-11.497 0L46.68 14.71l14.518 14.518c3.375-1.139 7.243-.375 9.932 2.314 2.703 2.706 3.461 6.607 2.294 9.993l13.992 13.993c3.385-1.167 7.292-.413 9.994 2.295 3.78 3.777 3.78 9.9 0 13.679a9.673 9.673 0 0 1-13.683 0 9.68 9.68 0 0 1-2.105-10.521L68.574 47.933l-.002 34.341a9.7 9.7 0 0 1 2.559 1.828c3.778 3.777 3.778 9.898 0 13.683-3.779 3.777-9.904 3.777-13.679 0-3.778-3.784-3.778-9.905 0-13.683a9.7 9.7 0 0 1 3.167-2.11V47.333a9.6 9.6 0 0 1-3.167-2.111c-2.862-2.86-3.551-7.06-2.083-10.576L41.056 20.333 3.264 58.123a8.133 8.133 0 0 0 0 11.5l55.117 55.114c3.174 3.174 8.32 3.174 11.499 0l54.858-54.858a8.135 8.135 0 0 0-.001-11.501"})}),$tt=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:y.jsxs("g",{fill:"#181616",children:[y.jsx("path",{fillRule:"evenodd",d:"M64 5.103c-33.347 0-60.388 27.035-60.388 60.388 0 26.682 17.303 49.317 41.297 57.303 3.017.56 4.125-1.31 4.125-2.905 0-1.44-.056-6.197-.082-11.243-16.8 3.653-20.345-7.125-20.345-7.125-2.747-6.98-6.705-8.836-6.705-8.836-5.48-3.748.413-3.67.413-3.67 6.063.425 9.257 6.223 9.257 6.223 5.386 9.23 14.127 6.562 17.573 5.02.542-3.903 2.107-6.568 3.834-8.076-13.413-1.525-27.514-6.704-27.514-29.843 0-6.593 2.36-11.98 6.223-16.21-.628-1.52-2.695-7.662.584-15.98 0 0 5.07-1.623 16.61 6.19C53.7 35 58.867 34.327 64 34.304c5.13.023 10.3.694 15.127 2.033 11.526-7.813 16.59-6.19 16.59-6.19 3.287 8.317 1.22 14.46.593 15.98 3.872 4.23 6.215 9.617 6.215 16.21 0 23.194-14.127 28.3-27.574 29.796 2.167 1.874 4.097 5.55 4.097 11.183 0 8.08-.07 14.583-.07 16.572 0 1.607 1.088 3.49 4.148 2.897 23.98-7.994 41.263-30.622 41.263-57.294C124.388 32.14 97.35 5.104 64 5.104z",clipRule:"evenodd"}),y.jsx("path",{d:"M26.484 91.806c-.133.3-.605.39-1.035.185-.44-.196-.685-.605-.543-.906.13-.31.603-.395 1.04-.188.44.197.69.61.537.91zm2.446 2.729c-.287.267-.85.143-1.232-.28-.396-.42-.47-.983-.177-1.254.298-.266.844-.14 1.24.28.394.426.472.984.17 1.255zm2.382 3.477c-.37.258-.976.017-1.35-.52-.37-.538-.37-1.183.01-1.44.373-.258.97-.025 1.35.507.368.545.368 1.19-.01 1.452zm3.261 3.361c-.33.365-1.036.267-1.552-.23-.527-.487-.674-1.18-.343-1.544.336-.366 1.045-.264 1.564.23.527.486.686 1.18.333 1.543zm4.5 1.951c-.147.473-.825.688-1.51.486-.683-.207-1.13-.76-.99-1.238.14-.477.823-.7 1.512-.485.683.206 1.13.756.988 1.237m4.943.361c.017.498-.563.91-1.28.92-.723.017-1.308-.387-1.315-.877 0-.503.568-.91 1.29-.924.717-.013 1.306.387 1.306.88zm4.598-.782c.086.485-.413.984-1.126 1.117-.7.13-1.35-.172-1.44-.653-.086-.498.422-.997 1.122-1.126.714-.123 1.354.17 1.444.663zm0 0"})]})}),Mtt=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 128 128",...e,children:[y.jsx("defs",{children:y.jsx("path",{id:"Go_svg__a",d:"M18.8 1h90.5v126H18.8z"})}),y.jsx("clipPath",{id:"Go_svg__b",children:y.jsx("use",{xlinkHref:"#Go_svg__a",overflow:"visible"})}),y.jsx("path",{fill:"#F6D2A2",fillRule:"evenodd",d:"M21.1 68.7c.2 3.5 3.7 1.9 5.3.8 1.5-1.1 2-.2 2.1-2.3.1-1.4.2-2.7.2-4.1-2.3-.2-4.8.3-6.7 1.7-.9.7-2.8 3-.9 3.9",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M23 71.2c-.7 0-2-.3-2.2-2.3-.6-.4-.8-.9-.8-1.2-.1-1.2 1.2-2.6 1.9-3.1 1.6-1.2 3.7-1.8 5.9-1.8h1.3v.3c.1 1.1 0 2.2-.1 3.2 0 .3 0 .6-.1.9-.1 1.5-.4 1.7-1.1 2-.3.1-.6.2-1.1.6-.5.3-2.2 1.4-3.7 1.4m4.8-7.8c-2.1 0-4 .6-5.5 1.7-.7.5-1.7 1.7-1.6 2.5 0 .3.2.6.6.8l.2.1v.2c.1 1.6.9 1.8 1.5 1.8 1 0 2.4-.7 3.3-1.3.6-.4 1-.5 1.3-.6.5-.2.6-.2.7-1.4 0-.3 0-.6.1-.9.1-.9.1-1.9.1-2.8-.3-.1-.5-.1-.7-.1",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#C6B198",fillRule:"evenodd",d:"M21.1 68.7c.5-.2 1.1-.3 1.4-.8",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M21.1 69c-.1 0-.3-.1-.3-.2-.1-.2 0-.4.2-.4.1 0 .2-.1.2-.1.4-.2.8-.3 1-.6.1-.1.3-.2.5-.1.1.1.2.3.1.5-.4.5-.9.7-1.3.8l-.2.1z",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#6AD7E5",fillRule:"evenodd",d:"M29.3 26.4c-13.6-3.8-3.5-21.1 7.4-14z",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"m29.5 26.8-.3-.1c-7-2-6.9-7-6.7-8.5.5-3.8 4.1-7.8 8.9-7.8 1.9 0 3.7.6 5.5 1.8l.3.2zm1.9-15.7c-4.5 0-7.8 3.7-8.3 7.2-.5 3.6 1.7 6.4 6 7.7l7.1-13.5c-1.5-.9-3.1-1.4-4.8-1.4",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#6AD7E5",fillRule:"evenodd",d:"M89.6 11.1c10.7-7.5 20.5 9.5 8 13.8z",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M97.5 25.3 89.2 11l.3-.2c1.9-1.3 3.8-2 5.7-2 4.6 0 7.9 3.8 8.6 7.5.3 1.5.6 6.6-6 8.8zm-7.4-14 7.7 13.3c3.9-1.4 5.9-4.4 5.3-8-.6-3.4-3.7-6.9-7.9-6.9-1.7-.1-3.4.4-5.1 1.6",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#F6D2A2",fillRule:"evenodd",d:"M92 112.3c2.7 1.7 7.7 6.8 3.6 9.3-3.9 3.6-6.1-4-9.6-5 1.5-2 3.4-3.9 6-4.3",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M93.5 122.9c-1.6 0-3-1.6-4.2-3.1-1.1-1.2-2.2-2.5-3.4-2.9l-.5-.1.3-.4c1.2-1.7 3.2-3.9 6.2-4.4h.1l.1.1c1.7 1.1 5.4 4.2 5.3 7.1 0 1.1-.6 2-1.7 2.7-.7.7-1.4 1-2.2 1m-7-6.5c1.2.5 2.2 1.8 3.2 2.9 1.2 1.5 2.4 2.8 3.7 2.8q.9 0 1.8-.9h.1c.9-.6 1.4-1.3 1.4-2.2 0-2.3-2.9-5.2-4.9-6.5-1.8.5-3.6 1.7-5.3 3.9m9.1 5.5c-.1 0-.2-.1-.3-.2-.2-.4-.4-.9-.5-1.3-.3-.8-.6-1.6-1.2-2.2-.1-.1-.1-.3 0-.5.1-.1.3-.1.5 0 .7.7 1.1 1.6 1.4 2.5l.5 1.2c.1.2 0 .4-.1.5z",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#F6D2A2",fillRule:"evenodd",d:"M43.2 118.1c-3.2.5-5 3.4-7.7 4.9-2.5 1.5-3.5-.5-3.7-.9-.4-.2-.4.2-1-.4-2.3-3.7 2.4-6.4 4.9-8.2 3.5-.8 5.7 2.2 7.5 4.6",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M33.8 123.8c-1.3 0-2-1.1-2.2-1.5h-.1c-.3 0-.5-.1-.9-.5v-.1c-2.2-3.5 1.6-6.2 4.1-8l.9-.6h.2c.4-.1.7-.1 1.1-.1 3 0 4.9 2.6 6.5 4.7l.5.7-.6.1c-1.9.3-3.3 1.5-4.7 2.7-.9.8-1.8 1.5-2.8 2.1-.8.3-1.4.5-2 .5m-2.2-2.1c.1 0 .2 0 .4.1h.1l.1.1c.2.3.7 1.2 1.7 1.2.5 0 1-.2 1.5-.5 1-.5 1.9-1.3 2.7-2 1.3-1.1 2.7-2.3 4.5-2.8-1.5-2-3.3-4.2-5.8-4.2-.3 0-.6 0-.9.1l-.8.6c-2.6 1.8-5.8 4.1-3.9 7.1.1.2.2.3.4.3m.2.7c-.2 0-.4-.2-.3-.4.1-1 .6-1.7 1.1-2.5.3-.4.5-.8.7-1.2.1-.2.3-.2.4-.2.2.1.2.3.2.4-.2.5-.5.9-.8 1.3-.5.7-.9 1.3-1 2.1 0 .4-.1.5-.3.5",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fillRule:"evenodd",d:"M29.9 21.7c-1.8-.9-3.1-2.2-2-4.3 1-1.9 2.9-1.7 4.7-.8zm64.9-1.8c1.8-.9 3.1-2.2 2-4.3-1-1.9-2.9-1.7-4.7-.8z",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{fill:"#F6D2A2",fillRule:"evenodd",d:"M107.1 68.2c-.2 3.5-3.7 1.9-5.3.8-1.5-1.1-2-.2-2.1-2.3-.1-1.4-.2-2.7-.2-4.1 2.3-.2 4.8.3 6.7 1.7 1 .8 2.8 3 .9 3.9",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M105.3 70.7c-1.5 0-3.2-1.1-3.7-1.4s-.8-.5-1.1-.6c-.8-.3-1-.5-1.1-2 0-.3 0-.6-.1-.9-.1-1-.2-2.1-.1-3.2v-.3h1.3c2.2 0 4.3.6 5.9 1.8.7.5 2 1.9 1.9 3.1 0 .4-.2.9-.8 1.2-.2 2-1.5 2.3-2.2 2.3M99.8 63c0 .9 0 1.9.1 2.8 0 .3 0 .6.1.9.1 1.2.2 1.2.7 1.4.3.1.7.3 1.3.6.9.6 2.3 1.3 3.3 1.3.6 0 1.4-.2 1.5-1.8V68l.2-.1c.4-.2.6-.4.6-.8.1-.8-.9-2-1.6-2.5-1.5-1.1-3.5-1.7-5.5-1.7-.2.1-.4.1-.7.1",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#C6B198",fillRule:"evenodd",d:"M107.1 68.2c-.5-.2-1.1-.3-1.4-.8",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M107.1 68.6h-.1l-.2-.1c-.5-.2-1-.3-1.3-.8-.1-.1-.1-.4.1-.5.1-.1.4-.1.5.1.2.3.6.4 1 .6.1 0 .2.1.2.1.2.1.3.3.2.4s-.3.2-.4.2",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#6AD7E5",fillRule:"evenodd",d:"M62.8 4c13.6 0 26.3 1.9 33 15 6 14.6 3.8 30.4 4.8 45.9.8 13.3 2.5 28.6-3.6 40.9-6.5 12.9-22.7 16.2-36 15.7-10.5-.4-23.1-3.8-29.1-13.4-6.9-11.2-3.7-27.9-3.2-40.4.6-14.8-4-29.7.9-44.1C34.5 8.5 48.1 5.1 62.8 4",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M63.3 121.9h-2.5c-4.1-.1-10.3-.8-16.4-3.3-5.9-2.4-10.2-5.8-13-10.3-5.6-9.1-4.6-21.6-3.7-32.7.2-2.8.4-5.4.5-7.9.2-5.2-.2-10.6-.7-15.7-.8-9.4-1.6-19.1 1.5-28.5 2.4-7 6.7-12 13.2-15.2 5.1-2.5 11.4-3.9 20.4-4.6C76 3.6 89.3 5.5 96 18.8c4.4 10.7 4.4 22.2 4.5 33.3 0 4.2 0 8.5.3 12.7.1 1.3.2 2.6.2 3.9.8 12.2 1.7 26-3.9 37.2-2.8 5.7-7.7 9.9-14.4 12.6-5.4 2.2-12.2 3.4-19.4 3.4M62.8 4.3c-14.1 1.1-27.9 4.2-33 19.4-3.1 9.3-2.3 18.9-1.5 28.2.4 5.2.9 10.5.7 15.8-.1 2.5-.3 5.1-.5 7.9-.9 11-1.9 23.4 3.6 32.3 2.3 3.7 9.7 12.5 28.8 13.2h2.5c22.1 0 30.3-9.8 33.3-15.6 5.5-11 4.6-24.8 3.9-36.9-.1-1.3-.2-2.6-.2-3.9-.2-4.2-.3-8.5-.3-12.7-.1-11-.1-22.5-4.4-33.1C92.7 13 88.2 9 82 6.7c-6.4-2.1-13.6-2.4-19.2-2.4",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#fff",fillRule:"evenodd",d:"M65.2 22.2c2.4 14.2 25.6 10.4 22.3-3.9-3-12.8-23.1-9.2-22.3 3.9",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M76.2 31.5c-4.5 0-10.2-2.4-11.4-9.2-.2-3.2.8-6.1 2.9-8.3 2.3-2.5 5.8-3.9 9.4-3.9 4.2 0 9.2 2.2 10.6 8.3.8 3.4.2 6.4-1.7 8.8-2.1 2.6-5.8 4.3-9.8 4.3m-10.7-9.3q.75 4.2 3.9 6.6c1.8 1.4 4.3 2.1 6.8 2.1 3.7 0 7.3-1.6 9.3-4.1 1.8-2.2 2.3-5.1 1.6-8.3-1.3-5.7-6-7.7-10-7.7-3.4 0-6.7 1.4-8.9 3.7-1.9 2-2.9 4.7-2.7 7.7",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#fff",fillRule:"evenodd",d:"M37.5 24.5c3.2 12.3 22.9 9.2 22.2-3.2-.9-14.8-25.3-12-22.2 3.2",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M48 32.7c-4.3 0-9.3-2.1-10.9-8.1-.7-3.5 0-6.7 2-9.1 2.2-2.7 5.8-4.3 9.7-4.3 5.2 0 10.7 3.1 11.1 10.1.2 2.9-.7 5.5-2.7 7.6-2.1 2.3-5.6 3.8-9.2 3.8m.8-20.8c-3.7 0-7.1 1.5-9.2 4-1.9 2.3-2.5 5.2-1.8 8.5C39.2 30 44 32 48 32c3.4 0 6.7-1.3 8.8-3.6 1.8-1.9 2.7-4.4 2.5-7.1-.2-4.3-3.1-9.4-10.5-9.4",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#fff",fillRule:"evenodd",d:"M68 39.2c0 1.8.4 3.9.1 5.9-.5.9-1.4 1-2.2 1.3-1.1-.2-2-.9-2.5-1.9-.3-2.2.1-4.4.2-6.6z",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M65.9 46.8c-1.3-.2-2.3-1-2.8-2.1-.2-1.6-.1-3.1 0-4.6.1-.7.1-1.4.1-2.1v-.4l5.1 1.6v.2c0 .6.1 1.2.1 1.9.1 1.3.2 2.7 0 4v.1c-.4.8-1.1 1-1.8 1.3-.2-.1-.4 0-.7.1m-2.2-2.4c.4.9 1.2 1.5 2.1 1.7.2-.1.4-.1.5-.2.6-.2 1.1-.4 1.4-.9.2-1.2.1-2.5 0-3.8 0-.6-.1-1.2-.1-1.7l-3.8-1.2c0 .6-.1 1.2-.1 1.7-.1 1.6-.2 3 0 4.4",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fillRule:"evenodd",d:"M46.3 22.5c0 2-1.5 3.6-3.3 3.6s-3.3-1.6-3.3-3.6 1.5-3.6 3.3-3.6 3.3 1.6 3.3 3.6",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{fill:"#fff",fillRule:"evenodd",d:"M45.2 23.3c0 .5-.4.9-.8.9s-.8-.4-.8-.9.4-.9.8-.9c.5 0 .8.4.8.9",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{fillRule:"evenodd",d:"M74.2 21.6c0 2-1.5 3.6-3.3 3.6s-3.3-1.6-3.3-3.6 1.5-3.6 3.3-3.6 3.3 1.6 3.3 3.6",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{fill:"#fff",fillRule:"evenodd",d:"M73.2 22.4c0 .5-.3.9-.8.9-.4 0-.8-.4-.8-.9s.3-.9.8-.9c.4 0 .8.4.8.9M58.4 39c-1.5 3.5.8 10.6 4.8 5.4-.3-2.2.1-4.4.2-6.6z",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{d:"M60.5 46.6c-.7 0-1.4-.4-1.9-1.2-1.1-1.6-1.3-4.6-.5-6.5l.1-.2 5.5-1.4v.4l-.1 2.2c-.1 1.5-.2 2.9 0 4.4v.1l-.1.1q-1.5 2.1-3 2.1m-1.8-7.3c-.6 1.7-.4 4.4.5 5.7.4.6.8.9 1.3.9.7 0 1.5-.6 2.3-1.6-.2-1.5-.1-3 .1-4.4l.1-1.7z",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fill:"#F6D2A2",fillRule:"evenodd",d:"M58.9 32.2c-2.7.2-4.9 3.5-3.5 6 1.9 3.4 6-.3 8.6 0 3 .1 5.4 3.2 7.8.6 2.7-2.9-1.2-5.7-4.1-7z",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"}),y.jsx("path",{fill:"#231F20",d:"M69.7 40.2c-.9 0-1.8-.4-2.7-.8s-1.9-.8-3-.8h-.3c-.8 0-1.7.3-2.7.7-1.1.4-2.2.7-3.2.7-1.2 0-2.1-.5-2.7-1.6-.7-1.2-.6-2.6.1-3.9.8-1.5 2.2-2.4 3.7-2.6l8.9-.4h.1c2.2.9 4.7 2.6 5.2 4.6.2 1-.1 2-.9 2.9s-1.6 1.2-2.5 1.2M64.1 38c1.1 0 2.2.5 3.2.9.9.4 1.7.7 2.5.7.7 0 1.3-.3 1.9-.9.7-.7.9-1.5.8-2.3-.4-1.7-2.8-3.3-4.7-4.1l-8.7.4c-1.3.1-2.5 1-3.2 2.2-.6 1.1-.6 2.3-.1 3.3.5.9 1.1 1.3 2.1 1.3.9 0 1.9-.4 2.9-.7 1.1-.4 2-.7 3-.7 0-.2.1-.2.3-.1",clipPath:"url(#Go_svg__b)"}),y.jsx("path",{fillRule:"evenodd",d:"M58.6 32.1c-.2-4.7 8.8-5.3 9.8-1.4 1.1 4-9.4 4.9-9.8 1.4",clipPath:"url(#Go_svg__b)",clipRule:"evenodd"})]}),Ott=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:[y.jsxs("linearGradient",{id:"Grafana_svg__a",x1:45.842,x2:45.842,y1:89.57,y2:8.802,gradientTransform:"translate(-.23 28.462)scale(1.4011)",gradientUnits:"userSpaceOnUse",children:[y.jsx("stop",{offset:0,stopColor:"#fcee1f"}),y.jsx("stop",{offset:1,stopColor:"#f15b2a"})]}),y.jsx("path",{fill:"url(#Grafana_svg__a)",d:"M120.8 56.9q-.3-3.15-1.2-7.2c-.9-4.05-1.8-5.5-3.2-8.6-1.5-3-3.4-6.2-5.9-9.1-1-1.2-2.1-2.3-3.2-3.5 1.8-6.9-2.1-13-2.1-13-6.7-.4-10.9 2.1-12.4 3.2-.2-.1-.6-.2-.8-.3-1.1-.4-2.3-.9-3.5-1.3-1.2-.3-2.4-.8-3.6-1-1.2-.3-2.5-.6-3.9-.8-.2 0-.4-.1-.7-.1C77.5 6 69.1 2 69.1 2c-9.6 6.2-11.4 14.4-11.4 14.4s0 .2-.1.4c-.6.1-1 .3-1.5.4-.7.2-1.4.4-2.1.8l-2.1.9c-1.4.7-2.8 1.3-4.2 2.1-1.3.8-2.6 1.5-3.9 2.4-.2-.1-.3-.2-.3-.2-12.9-5-24.3 1-24.3 1-1 13.8 5.2 22.3 6.4 23.9-.3.9-.6 1.7-.9 2.5q-1.5 4.65-2.1 9.6c-.1.4-.1 1-.2 1.4C10.5 67.5 7 79.6 7 79.6 16.9 91 28.5 91.7 28.5 91.7c1.4 2.6 3.2 5.2 5.1 7.5.8 1 1.7 1.9 2.5 2.9-3.6 10.3.6 19 .6 19 11.1.4 18.4-4.8 19.9-6.1 1.1.3 2.2.7 3.3 1 3.4.9 6.9 1.4 10.3 1.5h4.5c5.2 7.5 14.4 8.5 14.4 8.5 6.5-6.9 6.9-13.6 6.9-15.2v-.6c1.3-1 2.6-2 4-3.1 2.6-2.3 4.8-5.1 6.8-7.9.2-.2.3-.6.6-.8 7.4.4 12.5-4.6 12.5-4.6-1.2-7.7-5.6-11.4-6.5-12.1l-.1-.1-.1-.1-.1-.1c0-.4.1-.9.1-1.4.1-.9.1-1.7.1-2.5v-3.3c0-.2 0-.4-.1-.7l-.1-.7-.1-.7c-.1-.9-.3-1.7-.4-2.5-.8-3.3-2.1-6.5-3.7-9.2-1.8-2.9-3.9-5.3-6.3-7.5-2.4-2.1-5.1-3.9-7.9-5.1-2.9-1.3-5.7-2.1-8.7-2.4-1.4-.2-3-.2-4.4-.2h-2.3c-.8.1-1.5.2-2.2.3-3 .6-5.7 1.7-8.1 3.1s-4.5 3.3-6.3 5.4-3.1 4.3-4 6.7c-.9 2.3-1.4 4.8-1.5 7.2v2.6c0 .3 0 .6.1.9.1 1.2.3 2.3.7 3.4.7 2.2 1.7 4.2 3 5.9s2.8 3.1 4.4 4.2c1.7 1.1 3.3 1.9 5.1 2.4s3.4.8 5 .7h2.3c.2 0 .4-.1.6-.1s.3-.1.6-.1c.3-.1.8-.2 1.1-.3.7-.2 1.3-.6 2-.8.7-.3 1.2-.7 1.7-1 .1-.1.3-.2.4-.3.6-.4.7-1.2.2-1.8-.4-.4-1.1-.6-1.7-.3-.1.1-.2.1-.4.2-.4.2-1 .4-1.4.6-.6.1-1.1.3-1.7.4-.3 0-.6.1-.9.1h-1.8s-.1 0 0 0h-.7c-.1 0-.3 0-.4-.1-1.2-.2-2.5-.6-3.7-1.1-1.2-.6-2.4-1.3-3.4-2.3-1.1-1-2-2.1-2.8-3.4s-1.2-2.8-1.4-4.2c-.1-.8-.2-1.5-.1-2.3v-.7c0 .1 0 0 0 0V70c0-.4.1-.8.2-1.2.6-3.3 2.2-6.5 4.7-8.9.7-.7 1.3-1.2 2.1-1.7.8-.6 1.5-1 2.3-1.3s1.7-.7 2.5-.9c.9-.2 1.8-.4 2.6-.4.4 0 .9-.1 1.3-.1h.8c.1 0 0 0 0 0h.4c1 .1 2 .2 2.9.4 1.9.4 3.7 1.1 5.5 2.1 3.5 2 6.5 5 8.3 8.6.9 1.8 1.5 3.7 1.9 5.8.1.6.1 1 .2 1.5v2.7c0 .6-.1 1.1-.1 1.7-.1.6-.1 1.1-.2 1.7s-.2 1.1-.3 1.7c-.2 1.1-.7 2.1-1 3.2-.8 2.1-1.9 4.1-3.2 5.8-2.6 3.6-6.3 6.6-10.3 8.5-2.1.9-4.2 1.7-6.4 2q-1.65.3-3.3.3h-1.6c.1 0 0 0 0 0h-.1c-.6 0-1.2 0-1.8-.1-2.4-.2-4.7-.7-7-1.3-2.3-.7-4.5-1.5-6.6-2.6-4.2-2.2-7.9-5.4-10.9-9-1.4-1.9-2.8-3.9-3.9-5.9s-1.9-4.3-2.5-6.5c-.7-2.2-1-4.5-1.1-6.8v-3.5c0-1.1.1-2.3.3-3.5.1-1.2.3-2.3.6-3.5.2-1.2.6-2.3.9-3.5.7-2.3 1.4-4.5 2.4-6.6 2-4.2 4.5-7.9 7.5-10.9.8-.8 1.5-1.4 2.4-2.1.3-.3 1.1-1 2-1.5s1.8-1.1 2.8-1.5c.4-.2.9-.4 1.4-.7.2-.1.4-.2.8-.3.2-.1.4-.2.8-.3 1-.4 2-.8 3-1.1.2-.1.6-.1.8-.2s.6-.1.8-.2c.6-.1 1-.2 1.5-.4.2-.1.6-.1.8-.2.2 0 .6-.1.8-.1s.6-.1.8-.1l.4-.1.4-.1c.2 0 .6-.1.8-.1.3 0 .6-.1.9-.1.2 0 .7-.1.9-.1s.3 0 .6-.1h.7c.3 0 .6 0 .9-.1h.4s.1 0 0 0h4.1c2 .1 4 .3 5.8.7 3.7.7 7.4 1.9 10.6 3.5 3.2 1.5 6.2 3.5 8.6 5.6.1.1.3.2.4.4.1.1.3.2.4.4.3.2.6.6.9.8s.6.6.9.8c.2.3.6.6.8.9 1.1 1.1 2.1 2.3 3 3.4 1.8 2.3 3.2 4.6 4.3 6.8.1.1.1.2.2.4.1.1.1.2.2.4s.2.6.4.8c.1.2.2.6.3.8s.2.6.3.8c.4 1 .8 2 1.1 3 .6 1.5.9 2.9 1.2 4 .1.4.6.8 1 .8.6 0 .9-.4.9-1-.3-1.7-.3-3.1-.4-4.8"})]}),Itt=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:[y.jsx("path",{fill:"#0074BD",d:"M47.617 98.12s-4.767 2.774 3.397 3.71c9.892 1.13 14.947.968 25.845-1.092 0 0 2.871 1.795 6.873 3.351-24.439 10.47-55.308-.607-36.115-5.969m-2.988-13.665s-5.348 3.959 2.823 4.805c10.567 1.091 18.91 1.18 33.354-1.6 0 0 1.993 2.025 5.132 3.131-29.542 8.64-62.446.68-41.309-6.336"}),y.jsx("path",{fill:"#EA2D2E",d:"M69.802 61.271c6.025 6.935-1.58 13.17-1.58 13.17s15.289-7.891 8.269-17.777c-6.559-9.215-11.587-13.792 15.635-29.58 0 .001-42.731 10.67-22.324 34.187"}),y.jsx("path",{fill:"#0074BD",d:"M102.123 108.229s3.529 2.91-3.888 5.159c-14.102 4.272-58.706 5.56-71.094.171-4.451-1.938 3.899-4.625 6.526-5.192 2.739-.593 4.303-.485 4.303-.485-4.953-3.487-32.013 6.85-13.743 9.815 49.821 8.076 90.817-3.637 77.896-9.468M49.912 70.294s-22.686 5.389-8.033 7.348c6.188.828 18.518.638 30.011-.326 9.39-.789 18.813-2.474 18.813-2.474s-3.308 1.419-5.704 3.053c-23.042 6.061-67.544 3.238-54.731-2.958 10.832-5.239 19.644-4.643 19.644-4.643m40.697 22.747c23.421-12.167 12.591-23.86 5.032-22.285-1.848.385-2.677.72-2.677.72s.688-1.079 2-1.543c14.953-5.255 26.451 15.503-4.823 23.725 0-.002.359-.327.468-.617"}),y.jsx("path",{fill:"#EA2D2E",d:"M76.491 1.587S89.459 14.563 64.188 34.51c-20.266 16.006-4.621 25.13-.007 35.559-11.831-10.673-20.509-20.07-14.688-28.815C58.041 28.42 81.722 22.195 76.491 1.587"}),y.jsx("path",{fill:"#0074BD",d:"M52.214 126.021c22.476 1.437 57-.8 57.817-11.436 0 0-1.571 4.032-18.577 7.231-19.186 3.612-42.854 3.191-56.887.874 0 .001 2.875 2.381 17.647 3.331"})]}),ztt=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:y.jsxs("g",{fill:"#486bb3",children:[y.jsx("path",{d:"M56.484 55.098c.37.27.82.43 1.31.43 1.2 0 2.18-.95 2.23-2.13l.05-.03.75-13.26c-.9.11-1.8.26-2.7.46-4.93 1.12-9.2 3.55-12.54 6.83l10.87 7.71zm-1.45 19.43a2.22 2.22 0 0 0-2.58-1.69l-.02-.03-13.05 2.21a26.15 26.15 0 0 0 10.51 13.15l5.06-12.22-.04-.05c.17-.42.23-.89.12-1.37m-4.34-9.41c.44-.12.85-.38 1.16-.76.75-.94.62-2.29-.28-3.07l.01-.05-9.93-8.88a26.07 26.07 0 0 0-3.7 16.48l12.73-3.67zm9.64 3.9 3.66 1.76 3.66-1.75.9-3.95-2.53-3.16h-4.06l-2.54 3.16zm7.6-15.67c.02.46.18.91.49 1.29.75.94 2.1 1.11 3.06.41l.04.02 10.8-7.66c-4.08-3.99-9.4-6.6-15.15-7.3l.75 13.24zm7.58 19.43c-.17-.03-.34-.05-.51-.04-.29.01-.58.09-.85.22a2.23 2.23 0 0 0-1.08 2.89l-.02.02 5.11 12.34c4.93-3.14 8.61-7.83 10.54-13.24l-13.16-2.23zm-9.56 6.54a2.25 2.25 0 0 0-2.04-1.17c-.77.03-1.5.46-1.89 1.18h-.01l-6.42 11.6a26.16 26.16 0 0 0 14.27.73c.88-.2 1.74-.44 2.57-.72l-6.43-11.63h-.05z"}),y.jsx("path",{d:"m124.544 76.788-10.44-45.33a8.01 8.01 0 0 0-4.37-5.43l-42.24-20.18a8.16 8.16 0 0 0-3.92-.78 8.2 8.2 0 0 0-3.1.78l-42.24 20.18a8.06 8.06 0 0 0-4.37 5.43l-10.41 45.34a7.92 7.92 0 0 0 1.1 6.14c.14.22.3.43.46.64l29.24 36.35a8.09 8.09 0 0 0 6.32 3.01l46.89-.01c2.46 0 4.78-1.11 6.32-3.01l29.23-36.36a7.98 7.98 0 0 0 1.53-6.77m-16.07-.55c-.31 1.35-1.76 2.17-3.26 1.85-.01 0-.03 0-.04-.01-.02 0-.03-.01-.05-.02-.21-.05-.47-.09-.65-.14-.86-.23-1.49-.58-2.27-.88-1.67-.6-3.06-1.1-4.41-1.3-.69-.05-1.04.27-1.42.52-.18-.04-.75-.14-1.08-.19-2.42 7.61-7.58 14.21-14.57 18.33.12.29.33.91.42 1.02-.16.43-.4.83-.19 1.49.49 1.27 1.28 2.52 2.24 4.01.46.69.94 1.22 1.36 2.02.1.19.23.48.33.68.65 1.39.17 2.99-1.08 3.59-1.26.61-2.82-.03-3.5-1.43-.1-.2-.23-.46-.31-.65-.36-.82-.48-1.52-.73-2.32-.57-1.68-1.05-3.07-1.73-4.25-.39-.57-.86-.64-1.29-.78-.08-.14-.38-.69-.54-.97-1.4.53-2.84.97-4.34 1.31-6.56 1.49-13.13.89-18.99-1.37l-.57 1.04c-.43.11-.84.23-1.09.53-.92 1.1-1.29 2.86-1.96 4.54-.25.79-.37 1.5-.73 2.32-.08.19-.22.45-.31.64v.01l-.01.01c-.67 1.39-2.23 2.03-3.49 1.43-1.25-.6-1.72-2.2-1.08-3.59.1-.2.22-.49.32-.68.42-.79.89-1.33 1.36-2.02.96-1.5 1.8-2.84 2.29-4.11.12-.42-.06-1-.22-1.43l.46-1.1c-6.73-3.99-12.04-10.34-14.58-18.21l-1.1.19c-.3-.17-.89-.56-1.45-.51-1.35.2-2.74.7-4.41 1.3-.78.3-1.4.64-2.27.87-.18.05-.44.1-.65.15-.02 0-.03.01-.05.02-.01 0-.03 0-.04.01-1.5.32-2.95-.5-3.26-1.85s.65-2.72 2.14-3.08c.01 0 .03-.01.04-.01s.01 0 .02-.01c.21-.05.48-.12.68-.16.88-.17 1.6-.13 2.43-.19 1.77-.19 3.23-.34 4.53-.75.41-.17.81-.74 1.09-1.1l1.06-.31c-1.19-8.22.82-16.28 5.16-22.81l-.81-.72c-.05-.32-.12-1.04-.51-1.46-.99-.93-2.25-1.71-3.76-2.64-.72-.42-1.38-.69-2.1-1.23-.15-.11-.36-.29-.52-.42-.01-.01-.03-.02-.04-.03-1.21-.97-1.49-2.64-.62-3.73.49-.61 1.24-.92 2.01-.89.6.02 1.23.24 1.76.66.17.14.41.32.56.45.68.58 1.09 1.16 1.66 1.77 1.25 1.27 2.28 2.32 3.41 3.08.59.35 1.05.21 1.5.15.15.11.63.46.91.65 4.3-4.57 9.96-7.95 16.52-9.44 1.53-.35 3.05-.58 4.57-.7l.06-1.07c.34-.33.71-.79.82-1.31.11-1.36-.07-2.82-.28-4.59-.12-.82-.31-1.51-.35-2.4-.01-.18 0-.44.01-.65 0-.02-.01-.05-.01-.07 0-1.55 1.13-2.81 2.53-2.81s2.53 1.26 2.53 2.81c0 .22.01.52.01.72-.03.89-.23 1.58-.35 2.4-.21 1.76-.4 3.23-.29 4.59.1.68.5.95.83 1.26.01.18.04.79.06 1.13 8.04.71 15.5 4.39 20.99 10.14l.96-.69c.33.02 1.04.12 1.53-.17 1.13-.76 2.16-1.82 3.41-3.08.57-.61.99-1.18 1.67-1.77.15-.13.39-.31.56-.45 1.21-.97 2.9-.86 3.77.23s.59 2.76-.62 3.73c-.17.14-.39.33-.56.45-.72.53-1.38.8-2.1 1.23-1.51.93-2.77 1.71-3.76 2.64-.47.5-.43.98-.48 1.43-.14.13-.63.57-.9.8a32.8 32.8 0 0 1 4.74 10.95c.92 3.99 1.06 7.97.53 11.8l1.02.3c.18.26.56.89 1.09 1.1 1.3.41 2.76.56 4.53.75.83.07 1.55.03 2.43.19.21.04.52.12.73.17 1.5.37 2.45 1.74 2.14 3.09"}),y.jsx("path",{d:"m86.274 52.358-9.88 8.84.01.03c-.34.3-.6.7-.71 1.18-.27 1.17.44 2.33 1.58 2.65l.01.05 12.79 3.68c.27-2.76.11-5.62-.55-8.48-.66-2.89-1.77-5.56-3.25-7.95"})]})}),Ltt=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:y.jsx("path",{fill:"#090",d:"M24.5 50.5c-1.5 0-2.5 1.2-2.5 2.7v14.1l-15.9-16c-.8-.8-2.2-1-3.2-.6S1 52.1 1 53.2v20.7c0 1.5 1.5 2.7 3 2.7s3-1.2 3-2.7V59.8l16.1 16c.5.5 1.2.8 1.9.8.3 0 .4-.1.7-.2 1-.4 1.3-1.4 1.3-2.5V53.3c0-1.5-1-2.8-2.5-2.8m19.7 11.8c-1.4 0-2.7 1.4-2.7 2.8s1.3 2.8 2.7 2.8l6.6.4-1.5 3.7h-8.5l-4.2-7.9 4.3-8.1H50l2.1 4h5.5L54 52.1l-.8-1.1H37.6l-.7 1.2L31 62.5l-.7 1.3.7 1.3 5.8 10.3.8 1.6h15.1l.7-1.7 4.3-9 1.9-4.3h-4.4zM65 50.5c-1.4 0-3 1.3-3 2.7V60h6v-6.7c0-1.5-1.6-2.8-3-2.8m30.4.3c-1-.4-2.4-.2-3.1.6L76 67.4V53.3c0-1.5-1-2.7-2.5-2.7S71 51.8 71 53.3V74c0 1.1.7 2.1 1.7 2.5.3.1.7.2 1 .2.7 0 1.6-.3 2.1-.8l16.2-16V74c0 1.5 1 2.7 2.5 2.7S97 75.5 97 74V53.3c0-1.1-.6-2.1-1.6-2.5m21.8 12.8 8.4-8.4c1.1-1.1 1.1-2.8 0-3.8-1.1-1.1-2.8-1.1-3.8 0l-8.4 8.4-8.4-8.4c-1.1-1.1-2.8-1.1-3.8 0-1.1 1.1-1.1 2.8 0 3.8l8.4 8.4-8.4 8.4c-1.1 1.1-1.1 2.8 0 3.8.5.5 1.2.8 1.9.8s1.4-.3 1.9-.8l8.4-8.4 8.4 8.4c.5.5 1.2.8 1.9.8s1.4-.3 1.9-.8c1.1-1.1 1.1-2.8 0-3.8zM62 73.9c0 1.4 1.5 2.7 3 2.7 1.4 0 3-1.3 3-2.7V62h-6z"})}),Btt=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:[y.jsx("path",{d:"M93.809 92.112c.785-6.533.55-7.492 5.416-6.433l1.235.108c3.742.17 8.637-.602 11.513-1.938 6.191-2.873 9.861-7.668 3.758-6.409-13.924 2.873-14.881-1.842-14.881-1.842 14.703-21.815 20.849-49.508 15.543-56.287-14.47-18.489-39.517-9.746-39.936-9.52l-.134.025c-2.751-.571-5.83-.912-9.289-.968-6.301-.104-11.082 1.652-14.709 4.402 0 0-44.683-18.409-42.604 23.151.442 8.841 12.672 66.898 27.26 49.362 5.332-6.412 10.484-11.834 10.484-11.834 2.558 1.699 5.622 2.567 8.834 2.255l.249-.212c-.078.796-.044 1.575.099 2.497-3.757 4.199-2.653 4.936-10.166 6.482-7.602 1.566-3.136 4.355-.221 5.084 3.535.884 11.712 2.136 17.238-5.598l-.22.882c1.474 1.18 1.375 8.477 1.583 13.69.209 5.214.558 10.079 1.621 12.948s2.317 10.256 12.191 8.14c8.252-1.764 14.561-4.309 15.136-27.985"}),y.jsx("path",{d:"M75.458 125.256c-4.367 0-7.211-1.689-8.938-3.32-2.607-2.46-3.641-5.629-4.259-7.522l-.267-.79c-1.244-3.358-1.666-8.193-1.916-14.419-.038-.935-.064-1.898-.093-2.919-.021-.747-.047-1.684-.085-2.664a18.8 18.8 0 0 1-4.962 1.568c-3.079.526-6.389.356-9.84-.507-2.435-.609-4.965-1.871-6.407-3.82-4.203 3.681-8.212 3.182-10.396 2.453-3.853-1.285-7.301-4.896-10.542-11.037-2.309-4.375-4.542-10.075-6.638-16.943-3.65-11.96-5.969-24.557-6.175-28.693C4.292 23.698 7.777 14.44 15.296 9.129 27.157.751 45.128 5.678 51.68 7.915c4.402-2.653 9.581-3.944 15.433-3.851 3.143.051 6.136.327 8.916.823 2.9-.912 8.628-2.221 15.185-2.139 12.081.144 22.092 4.852 28.949 13.615 4.894 6.252 2.474 19.381.597 26.651-2.642 10.226-7.271 21.102-12.957 30.57 1.544.011 3.781-.174 6.961-.831 6.274-1.295 8.109 2.069 8.607 3.575 1.995 6.042-6.677 10.608-9.382 11.864-3.466 1.609-9.117 2.589-13.745 2.377l-.202-.013-1.216-.107-.12 1.014-.116.991c-.311 11.999-2.025 19.598-5.552 24.619-3.697 5.264-8.835 6.739-13.361 7.709-1.544.33-2.947.474-4.219.474m-9.19-43.671c2.819 2.256 3.066 6.501 3.287 14.434.028.99.054 1.927.089 2.802.106 2.65.355 8.855 1.327 11.477.137.371.26.747.39 1.146 1.083 3.316 1.626 4.979 6.309 3.978 3.931-.843 5.952-1.599 7.534-3.851 2.299-3.274 3.585-9.86 3.821-19.575l4.783.116-4.75-.57.14-1.186c.455-3.91.783-6.734 3.396-8.602 2.097-1.498 4.486-1.353 6.389-1.01-2.091-1.58-2.669-3.433-2.823-4.193l-.399-1.965 1.121-1.663c6.457-9.58 11.781-21.354 14.609-32.304 2.906-11.251 2.02-17.226 1.134-18.356-11.729-14.987-32.068-8.799-34.192-8.097l-.359.194-1.8.335-.922-.191c-2.542-.528-5.366-.82-8.393-.869-4.756-.08-8.593 1.044-11.739 3.431l-2.183 1.655-2.533-1.043c-5.412-2.213-21.308-6.662-29.696-.721-4.656 3.298-6.777 9.76-6.305 19.207.156 3.119 2.275 14.926 5.771 26.377 4.831 15.825 9.221 21.082 11.054 21.693.32.108 1.15-.537 1.976-1.529a271 271 0 0 1 10.694-12.07l2.77-2.915 3.349 2.225c1.35.897 2.839 1.406 4.368 1.502l7.987-6.812-1.157 11.808c-.026.265-.039.626.065 1.296l.348 2.238-1.51 1.688-.174.196 4.388 2.025z"}),y.jsx("path",{fill:"#336791",d:"M115.731 77.44c-13.925 2.873-14.882-1.842-14.882-1.842 14.703-21.816 20.849-49.51 15.545-56.287C101.924.823 76.875 9.566 76.457 9.793l-.135.024c-2.751-.571-5.83-.911-9.291-.967-6.301-.103-11.08 1.652-14.707 4.402 0 0-44.684-18.408-42.606 23.151.442 8.842 12.672 66.899 27.26 49.363 5.332-6.412 10.483-11.834 10.483-11.834 2.559 1.699 5.622 2.567 8.833 2.255l.25-.212c-.078.796-.042 1.575.1 2.497-3.758 4.199-2.654 4.936-10.167 6.482-7.602 1.566-3.136 4.355-.22 5.084 3.534.884 11.712 2.136 17.237-5.598l-.221.882c1.473 1.18 2.507 7.672 2.334 13.557s-.29 9.926.871 13.082c1.16 3.156 2.316 10.256 12.192 8.14 8.252-1.768 12.528-6.351 13.124-13.995.422-5.435 1.377-4.631 1.438-9.49l.767-2.3c.884-7.367.14-9.743 5.225-8.638l1.235.108c3.742.17 8.639-.602 11.514-1.938 6.19-2.871 9.861-7.667 3.758-6.408"}),y.jsx("path",{fill:"#fff",d:"M75.957 122.307c-8.232 0-10.84-6.519-11.907-9.185-1.562-3.907-1.899-19.069-1.551-31.503a1.59 1.59 0 0 1 1.64-1.55 1.594 1.594 0 0 1 1.55 1.639c-.401 14.341.168 27.337 1.324 30.229 1.804 4.509 4.54 8.453 12.275 6.796 7.343-1.575 10.093-4.359 11.318-11.46.94-5.449 2.799-20.951 3.028-24.01a1.593 1.593 0 0 1 1.71-1.472 1.597 1.597 0 0 1 1.472 1.71c-.239 3.185-2.089 18.657-3.065 24.315-1.446 8.387-5.185 12.191-13.794 14.037-1.463.313-2.792.453-4 .454M31.321 90.466a6.7 6.7 0 0 1-2.116-.35c-5.347-1.784-10.44-10.492-15.138-25.885-3.576-11.717-5.842-23.947-6.041-27.922-.589-11.784 2.445-20.121 9.02-24.778 13.007-9.216 34.888-.44 35.813-.062a1.596 1.596 0 0 1-1.207 2.955c-.211-.086-21.193-8.492-32.768-.285-5.622 3.986-8.203 11.392-7.672 22.011.167 3.349 2.284 15.285 5.906 27.149 4.194 13.742 8.967 22.413 13.096 23.79.648.216 2.62.873 5.439-2.517A245 245 0 0 1 45.88 73.046a1.596 1.596 0 0 1 2.304 2.208c-.048.05-4.847 5.067-10.077 11.359-2.477 2.979-4.851 3.853-6.786 3.853m69.429-13.445a1.596 1.596 0 0 1-1.322-2.487c14.863-22.055 20.08-48.704 15.612-54.414-5.624-7.186-13.565-10.939-23.604-11.156-7.433-.16-13.341 1.738-14.307 2.069l-.243.099c-.971.305-1.716-.227-1.997-.849a1.6 1.6 0 0 1 .631-2.025c.046-.027.192-.089.429-.176l-.021.006.021-.007c1.641-.601 7.639-2.4 15.068-2.315 11.108.118 20.284 4.401 26.534 12.388 2.957 3.779 2.964 12.485.019 23.887-3.002 11.625-8.651 24.118-15.497 34.277-.306.457-.81.703-1.323.703m.76 10.21c-2.538 0-4.813-.358-6.175-1.174-1.4-.839-1.667-1.979-1.702-2.584-.382-6.71 3.32-7.878 5.208-8.411-.263-.398-.637-.866-1.024-1.349-1.101-1.376-2.609-3.26-3.771-6.078-.182-.44-.752-1.463-1.412-2.648-3.579-6.418-11.026-19.773-6.242-26.612 2.214-3.165 6.623-4.411 13.119-3.716C97.6 28.837 88.5 10.625 66.907 10.271c-6.494-.108-11.82 1.889-15.822 5.93-8.96 9.049-8.636 25.422-8.631 25.586a1.595 1.595 0 1 1-3.19.084c-.02-.727-.354-17.909 9.554-27.916C53.455 9.272 59.559 6.96 66.96 7.081c13.814.227 22.706 7.25 27.732 13.101 5.479 6.377 8.165 13.411 8.386 15.759.165 1.746-1.088 2.095-1.341 2.147l-.576.013c-6.375-1.021-10.465-.312-12.156 2.104-3.639 5.201 3.406 17.834 6.414 23.229.768 1.376 1.322 2.371 1.576 2.985.988 2.396 2.277 4.006 3.312 5.3.911 1.138 1.7 2.125 1.982 3.283.131.23 1.99 2.98 13.021.703 2.765-.57 4.423-.083 4.93 1.45.997 3.015-4.597 6.532-7.694 7.97-2.775 1.29-7.204 2.106-11.036 2.106m-4.696-4.021c.35.353 2.101.962 5.727.806 3.224-.138 6.624-.839 8.664-1.786 2.609-1.212 4.351-2.567 5.253-3.492l-.5.092c-7.053 1.456-12.042 1.262-14.828-.577a6 6 0 0 1-.54-.401c-.302.119-.581.197-.78.253-1.58.443-3.214.902-2.996 5.105m-45.562 8.915c-1.752 0-3.596-.239-5.479-.71-1.951-.488-5.24-1.957-5.19-4.37.057-2.707 3.994-3.519 5.476-3.824 5.354-1.103 5.703-1.545 7.376-3.67.488-.619 1.095-1.39 1.923-2.314 1.229-1.376 2.572-2.073 3.992-2.073.989 0 1.8.335 2.336.558 1.708.708 3.133 2.42 3.719 4.467.529 1.847.276 3.625-.71 5.006-3.237 4.533-7.886 6.93-13.443 6.93m-7.222-4.943c.481.372 1.445.869 2.518 1.137 1.631.408 3.213.615 4.705.615 4.546 0 8.196-1.882 10.847-5.594.553-.774.387-1.757.239-2.274-.31-1.083-1.08-2.068-1.873-2.397-.43-.178-.787-.314-1.115-.314-.176 0-.712 0-1.614 1.009a41 41 0 0 0-1.794 2.162c-2.084 2.646-3.039 3.544-9.239 4.821-1.513.31-2.289.626-2.674.835m12.269-7.36a1.596 1.596 0 0 1-1.575-1.354 8 8 0 0 1-.08-.799c-4.064-.076-7.985-1.82-10.962-4.926-3.764-3.927-5.477-9.368-4.699-14.927.845-6.037.529-11.366.359-14.229-.047-.796-.081-1.371-.079-1.769.003-.505.013-1.844 4.489-4.113 1.592-.807 4.784-2.215 8.271-2.576 5.777-.597 9.585 1.976 10.725 7.246 3.077 14.228.244 20.521-1.825 25.117-.385.856-.749 1.664-1.04 2.447l-.257.69c-1.093 2.931-2.038 5.463-1.748 7.354a1.595 1.595 0 0 1-1.335 1.819zM42.464 42.26l.062 1.139c.176 2.974.504 8.508-.384 14.86-.641 4.585.759 9.06 3.843 12.276 2.437 2.542 5.644 3.945 8.94 3.945h.068c.369-1.555.982-3.197 1.642-4.966l.255-.686c.329-.884.714-1.74 1.122-2.646 1.991-4.424 4.47-9.931 1.615-23.132-.565-2.615-1.936-4.128-4.189-4.627-4.628-1.022-11.525 2.459-12.974 3.837m9.63-.677c-.08.564 1.033 2.07 2.485 2.271 1.449.203 2.689-.975 2.768-1.539s-1.033-1.186-2.485-1.388-2.691.092-2.768.656m2.818 2.826-.407-.028c-.9-.125-1.81-.692-2.433-1.518-.219-.29-.576-.852-.505-1.354.101-.736.999-1.177 2.4-1.177.313 0 .639.023.967.069.766.106 1.477.327 2.002.62.91.508.977 1.075.936 1.368-.112.813-1.405 2.02-2.96 2.02m-2.289-2.732c.045.348.907 1.496 2.029 1.651l.261.018c1.036 0 1.81-.815 1.901-1.082-.096-.182-.762-.634-2.025-.81a6 6 0 0 0-.821-.059c-.812 0-1.243.183-1.345.282m43.605-1.245c.079.564-1.033 2.07-2.484 2.272-1.45.202-2.691-.975-2.771-1.539-.076-.564 1.036-1.187 2.486-1.388 1.45-.203 2.689.092 2.769.655m-2.819 2.56c-1.396 0-2.601-1.086-2.7-1.791-.115-.846 1.278-1.489 2.712-1.688.316-.044.629-.066.93-.066 1.238 0 2.058.363 2.14.949.053.379-.238.964-.739 1.492-.331.347-1.026.948-1.973 1.079zm.943-3.013q-.416 0-.856.061c-1.441.201-2.301.779-2.259 1.089.048.341.968 1.332 2.173 1.332l.297-.021c.787-.109 1.378-.623 1.66-.919.443-.465.619-.903.598-1.052-.028-.198-.56-.49-1.613-.49m3.965 32.843a1.594 1.594 0 0 1-1.324-2.483c3.398-5.075 2.776-10.25 2.175-15.255-.257-2.132-.521-4.337-.453-6.453.07-2.177.347-3.973.614-5.71.317-2.058.617-4.002.493-6.31a1.595 1.595 0 1 1 3.186-.172c.142 2.638-.197 4.838-.525 6.967-.253 1.643-.515 3.342-.578 5.327-.061 1.874.178 3.864.431 5.97.64 5.322 1.365 11.354-2.691 17.411a1.6 1.6 0 0 1-1.328.708"})]}),jtt=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:y.jsx("path",{fill:"#e75225",d:"M63.66 2.477c33.477.007 60.957 27.296 60.914 60.5-.043 33.703-27.41 60.617-61.613 60.593-33.441-.023-60.477-27.343-60.453-61.086C2.53 29.488 30.066 2.47 63.66 2.477m-18.504 21.25c.766 3.777.024 7.3-1.113 10.765-.785 2.399-1.871 4.711-2.52 7.145-1.07 4.008-2.28 8.039-2.726 12.136-.64 5.895 1.676 11.086 5.64 16.25l-18.222-3.835c.031.574 0 .792.062.976 1.727 5.074 4.766 9.348 8.172 13.379.36.426 1.18.644 1.79.644 18.167.036 36.335.032 54.503.008.563 0 1.317-.105 1.66-.468 3.895-4.094 6.871-8.758 8.735-14.63l-19.29 3.778c1.274-2.496 2.723-4.688 3.56-7.098 2.855-8.242 1.671-16.21-2.427-23.726-3.289-6.031-6.324-12.035-4.683-19.305-3.473 3.434-4.809 7.8-5.656 12.3-.832 4.434-1.325 8.93-1.97 13.43-.093-.136-.21-.238-.23-.355a13 13 0 0 1-.168-1.422c-.394-7.367-1.832-14.465-4.87-21.246-1.786-3.988-3.758-8.07-1.915-12.832-1.246.66-2.375 1.313-3.183 2.246-2.41 2.785-3.407 6.13-3.664 9.793-.22 3.13-.52 6.274-1.102 9.352-.61 3.234-1.574 6.402-3.75 9.375-.875-6.348-.973-12.63-6.633-16.66M92 86.75H35.016v9.898H92zm-45.684 15.016c-.046 8.242 8.348 14.382 18.723 13.937 8.602-.371 16.211-7.137 15.559-13.937zm0 0"})}),Ftt=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:y.jsxs("g",{fill:"#61DAFB",children:[y.jsx("circle",{cx:64,cy:64,r:11.4}),y.jsx("path",{d:"M107.3 45.2c-2.2-.8-4.5-1.6-6.9-2.3.6-2.4 1.1-4.8 1.5-7.1 2.1-13.2-.2-22.5-6.6-26.1-1.9-1.1-4-1.6-6.4-1.6-7 0-15.9 5.2-24.9 13.9-9-8.7-17.9-13.9-24.9-13.9-2.4 0-4.5.5-6.4 1.6-6.4 3.7-8.7 13-6.6 26.1.4 2.3.9 4.7 1.5 7.1-2.4.7-4.7 1.4-6.9 2.3C8.2 50 1.4 56.6 1.4 64s6.9 14 19.3 18.8c2.2.8 4.5 1.6 6.9 2.3-.6 2.4-1.1 4.8-1.5 7.1-2.1 13.2.2 22.5 6.6 26.1 1.9 1.1 4 1.6 6.4 1.6 7.1 0 16-5.2 24.9-13.9 9 8.7 17.9 13.9 24.9 13.9 2.4 0 4.5-.5 6.4-1.6 6.4-3.7 8.7-13 6.6-26.1-.4-2.3-.9-4.7-1.5-7.1 2.4-.7 4.7-1.4 6.9-2.3 12.5-4.8 19.3-11.4 19.3-18.8s-6.8-14-19.3-18.8M92.5 14.7c4.1 2.4 5.5 9.8 3.8 20.3-.3 2.1-.8 4.3-1.4 6.6-5.2-1.2-10.7-2-16.5-2.5-3.4-4.8-6.9-9.1-10.4-13 7.4-7.3 14.9-12.3 21-12.3 1.3 0 2.5.3 3.5.9M81.3 74c-1.8 3.2-3.9 6.4-6.1 9.6-3.7.3-7.4.4-11.2.4-3.9 0-7.6-.1-11.2-.4q-3.3-4.8-6-9.6c-1.9-3.3-3.7-6.7-5.3-10 1.6-3.3 3.4-6.7 5.3-10 1.8-3.2 3.9-6.4 6.1-9.6 3.7-.3 7.4-.4 11.2-.4 3.9 0 7.6.1 11.2.4q3.3 4.8 6 9.6c1.9 3.3 3.7 6.7 5.3 10-1.7 3.3-3.4 6.6-5.3 10m8.3-3.3c1.5 3.5 2.7 6.9 3.8 10.3-3.4.8-7 1.4-10.8 1.9 1.2-1.9 2.5-3.9 3.6-6 1.2-2.1 2.3-4.2 3.4-6.2M64 97.8c-2.4-2.6-4.7-5.4-6.9-8.3 2.3.1 4.6.2 6.9.2s4.6-.1 6.9-.2c-2.2 2.9-4.5 5.7-6.9 8.3m-18.6-15c-3.8-.5-7.4-1.1-10.8-1.9 1.1-3.3 2.3-6.8 3.8-10.3 1.1 2 2.2 4.1 3.4 6.1 1.2 2.2 2.4 4.1 3.6 6.1m-7-25.5c-1.5-3.5-2.7-6.9-3.8-10.3 3.4-.8 7-1.4 10.8-1.9-1.2 1.9-2.5 3.9-3.6 6-1.2 2.1-2.3 4.2-3.4 6.2M64 30.2c2.4 2.6 4.7 5.4 6.9 8.3-2.3-.1-4.6-.2-6.9-.2s-4.6.1-6.9.2c2.2-2.9 4.5-5.7 6.9-8.3m22.2 21-3.6-6c3.8.5 7.4 1.1 10.8 1.9-1.1 3.3-2.3 6.8-3.8 10.3-1.1-2.1-2.2-4.2-3.4-6.2M31.7 35c-1.7-10.5-.3-17.9 3.8-20.3 1-.6 2.2-.9 3.5-.9 6 0 13.5 4.9 21 12.3-3.5 3.8-7 8.2-10.4 13-5.8.5-11.3 1.4-16.5 2.5-.6-2.3-1-4.5-1.4-6.6M7 64c0-4.7 5.7-9.7 15.7-13.4 2-.8 4.2-1.5 6.4-2.1 1.6 5 3.6 10.3 6 15.6-2.4 5.3-4.5 10.5-6 15.5C15.3 75.6 7 69.6 7 64m28.5 49.3c-4.1-2.4-5.5-9.8-3.8-20.3.3-2.1.8-4.3 1.4-6.6 5.2 1.2 10.7 2 16.5 2.5 3.4 4.8 6.9 9.1 10.4 13-7.4 7.3-14.9 12.3-21 12.3-1.3 0-2.5-.3-3.5-.9M96.3 93c1.7 10.5.3 17.9-3.8 20.3-1 .6-2.2.9-3.5.9-6 0-13.5-4.9-21-12.3 3.5-3.8 7-8.2 10.4-13 5.8-.5 11.3-1.4 16.5-2.5.6 2.3 1 4.5 1.4 6.6m9-15.6c-2 .8-4.2 1.5-6.4 2.1-1.6-5-3.6-10.3-6-15.6 2.4-5.3 4.5-10.5 6-15.5 13.8 4 22.1 10 22.1 15.6 0 4.7-5.8 9.7-15.7 13.4"})]})}),Htt=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:[y.jsx("path",{fill:"#A41E11",d:"M121.8 93.1c-6.7 3.5-41.4 17.7-48.8 21.6s-11.5 3.8-17.3 1S13 98.1 6.3 94.9c-3.3-1.6-5-2.9-5-4.2V78s48-10.5 55.8-13.2c7.8-2.8 10.4-2.9 17-.5s46.1 9.5 52.6 11.9v12.5c0 1.3-1.5 2.7-4.9 4.4"}),y.jsx("path",{fill:"#D82C20",d:"M121.8 80.5C115.1 84 80.4 98.2 73 102.1s-11.5 3.8-17.3 1S13 85.4 6.3 82.2C-.3 79-.5 76.8 6 74.3c6.5-2.6 43.2-17 51-19.7 7.8-2.8 10.4-2.9 17-.5s41.1 16.1 47.6 18.5c6.7 2.4 6.9 4.4.2 7.9"}),y.jsx("path",{fill:"#A41E11",d:"M121.8 72.5C115.1 76 80.4 90.2 73 94.1c-7.4 3.8-11.5 3.8-17.3 1S13 77.4 6.3 74.2c-3.3-1.6-5-2.9-5-4.2V57.3s48-10.5 55.8-13.2c7.8-2.8 10.4-2.9 17-.5s46.1 9.5 52.6 11.9V68c0 1.3-1.5 2.7-4.9 4.5"}),y.jsx("path",{fill:"#D82C20",d:"M121.8 59.8c-6.7 3.5-41.4 17.7-48.8 21.6-7.4 3.8-11.5 3.8-17.3 1S13 64.7 6.3 61.5s-6.8-5.4-.3-7.9c6.5-2.6 43.2-17 51-19.7 7.8-2.8 10.4-2.9 17-.5s41.1 16.1 47.6 18.5c6.7 2.4 6.9 4.4.2 7.9"}),y.jsx("path",{fill:"#A41E11",d:"M121.8 51c-6.7 3.5-41.4 17.7-48.8 21.6-7.4 3.8-11.5 3.8-17.3 1C49.9 70.9 13 56 6.3 52.8c-3.3-1.6-5.1-2.9-5.1-4.2V35.9s48-10.5 55.8-13.2c7.8-2.8 10.4-2.9 17-.5s46.1 9.5 52.6 11.9v12.5c.1 1.3-1.4 2.6-4.8 4.4"}),y.jsx("path",{fill:"#D82C20",d:"M121.8 38.3C115.1 41.8 80.4 56 73 59.9c-7.4 3.8-11.5 3.8-17.3 1S13 43.3 6.3 40.1s-6.8-5.4-.3-7.9c6.5-2.6 43.2-17 51-19.7 7.8-2.8 10.4-2.9 17-.5s41.1 16.1 47.6 18.5c6.7 2.4 6.9 4.4.2 7.8"}),y.jsx("path",{fill:"#fff",d:"m80.4 26.1-10.8 1.2-2.5 5.8-3.9-6.5-12.5-1.1 9.3-3.4-2.8-5.2 8.8 3.4 8.2-2.7L72 23zM66.5 54.5l-20.3-8.4 29.1-4.4z"}),y.jsx("ellipse",{cx:38.4,cy:35.4,fill:"#fff",rx:15.5,ry:6}),y.jsx("path",{fill:"#7A0C00",d:"m93.3 27.7 17.2 6.8-17.2 6.8z"}),y.jsx("path",{fill:"#AD2115",d:"m74.3 35.3 19-7.6v13.6l-1.9.8z"})]}),qtt=e=>y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:y.jsx("path",{fill:"#e15919",d:"M57.646.004c-2.269.064-4.51 1.143-6.384 3.223-1.03 1.146-1.905 2.51-2.63 3.855-1.89 3.54-2.262 7.547-2.962 11.43l-3.852 21.81c-.148.856-.532 1.21-1.3 1.455l-28.268 8.98c-2.06.673-4.125 1.543-5.947 2.7-5.558 3.53-6.38 9.338-2.207 14.438 1.842 2.256 4.216 3.843 6.85 4.996l17.603 7.843c.147.08.304.132.463.162l3.717 2.682s-3.7 40.948 3.246 43.781c-.061-.01-.41-.082-.41-.082s.704.761 2.603.537c1.454.27 1.262.226.074-.01 2.583-.334 7.337-2.497 15.578-10.784a47 47 0 0 0 1.776-1.676l17.8-19.217 4.163 1.465c.15.207.367.34.714.443l19.823 6.031c2.709.836 5.389 1.448 8.277 1.026 5.156-.755 8.951-5 8.9-10.192-.02-2.28-.82-4.339-1.87-6.324l-13.128-24.898c-.418-.787-.405-1.296.196-2l22.054-25.922c1.428-1.703 2.717-3.529 3.465-5.645 1.643-4.67-.482-8.382-5.33-9.289-2.229-.398-4.427-.188-6.6.385l-31.597 8.395c-.93.25-1.39.075-1.895-.772l-12.9-21.434c-.975-1.615-2.14-3.194-3.477-4.527C62.212.89 59.915-.059 57.646.004m.944 19.736c.51.358.768.727 1.01 1.125l13.88 23.13c.382.628.725.85 1.485.648l24.443-6.497 5.885-1.54c-.087.493-.302.79-.537 1.068l-20.16 23.672c-.57.688-.623 1.17-.194 1.976l12.743 24.16.585 1.237-.015.02-22.727-6.264-.006-.018-4.298-1.205-25.493 28.256 4.663-37.15-4.184-1.82.008-.007-23.674-9.4c.454-.413.86-.585 1.285-.717l28.777-9.096c.676-.21 1.061-.47 1.125-1.242l.403-2.355 3.875-21.807 1.12-6.174z"})}),Utt=e=>y.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",...e,children:[y.jsx("path",{fill:"#85ea2d",d:"M63.999 124.945c-33.607 0-60.95-27.34-60.95-60.949C3.05 30.388 30.392 3.048 64 3.048s60.95 27.342 60.95 60.95c0 33.607-27.343 60.946-60.95 60.946z"}),y.jsx("path",{fill:"#173647",d:"M40.3 43.311c-.198 2.19.072 4.454-.073 6.668-.173 2.217-.444 4.407-.888 6.596-.615 3.126-2.56 5.489-5.24 7.458 5.218 3.396 5.807 8.662 6.152 14.003.172 2.88.098 5.785.394 8.638.221 2.215 1.082 2.782 3.372 2.854.935.025 1.894 0 2.978 0v6.842c-6.768 1.156-12.354-.762-13.734-6.496a39.3 39.3 0 0 1-.836-6.4c-.148-2.287.097-4.577-.074-6.864-.492-6.277-1.305-8.393-7.308-8.689v-7.8c.441-.1.86-.174 1.302-.223 3.298-.172 4.701-1.182 5.414-4.43a37.5 37.5 0 0 0 .616-5.536c.247-3.569.148-7.21.763-10.754.86-5.094 4.01-7.556 9.254-7.852 1.476-.074 2.978 0 4.676 0v6.99c-.714.05-1.33.147-1.969.147-4.258-.148-4.48 1.304-4.8 4.848zm8.195 16.193h-.099c-2.462-.123-4.578 1.796-4.702 4.258-.122 2.485 1.797 4.603 4.259 4.724h.295c2.436.148 4.527-1.724 4.676-4.16v-.245c.05-2.486-1.944-4.527-4.43-4.577zm15.43 0c-2.386-.074-4.38 1.796-4.454 4.159 0 .149 0 .271.024.418 0 2.684 1.821 4.406 4.578 4.406 2.707 0 4.406-1.772 4.406-4.553-.025-2.682-1.823-4.455-4.554-4.43m15.801 0a4.596 4.596 0 0 0-4.676 4.454 4.515 4.515 0 0 0 4.528 4.528h.05c2.264.394 4.553-1.796 4.701-4.429.122-2.437-2.092-4.553-4.604-4.553Zm21.682.369c-2.855-.123-4.284-1.083-4.996-3.79a27.4 27.4 0 0 1-.811-5.292c-.198-3.298-.174-6.62-.395-9.918-.516-7.826-6.177-10.557-14.397-9.205v6.792c1.304 0 2.313 0 3.322.025 1.748.024 3.077.69 3.249 2.634.172 1.772.172 3.568.344 5.365.346 3.57.542 7.187 1.157 10.706.542 2.904 2.536 5.07 5.02 6.841-4.355 2.929-5.636 7.113-5.857 11.814-.122 3.223-.196 6.472-.368 9.721-.148 2.953-1.181 3.913-4.16 3.987-.835.024-1.648.098-2.583.148v6.964c1.748 0 3.347.1 4.946 0 4.971-.295 7.974-2.706 8.96-7.531.417-2.658.662-5.34.737-8.023.171-2.46.148-4.946.394-7.382.369-3.815 2.116-5.389 5.93-5.636a5 5 0 0 0 1.06-.245v-7.801c-.64-.074-1.084-.148-1.552-.173zM64 6.1c31.977 0 57.9 25.92 57.9 57.898 0 31.977-25.923 57.899-57.9 57.899-31.976 0-57.898-25.922-57.898-57.9C6.102 32.023 32.024 6.101 64 6.101m0-6.1C28.71 0 0 28.71 0 64c0 35.288 28.71 63.998 64 63.998s64-28.71 64-64S99.289.002 64 .002Z"})]});const Vtt={"tech:elasticsearch":Dtt,"tech:git":Ptt,"tech:github":$tt,"tech:go":Mtt,"tech:grafana":Ott,"tech:java":Itt,"tech:kubernetes":ztt,"tech:nginx":Ltt,"tech:postgresql":Btt,"tech:prometheus":jtt,"tech:react":Ftt,"tech:redis":Htt,"tech:spark":qtt,"tech:swagger":Utt};function Ytt(e){const r=Vtt[e.node.icon??""];return r?y.jsx(r,e):null}function Wtt(e,r,n){let o=a=>e(a,...r);return n===void 0?o:Object.assign(o,{lazy:n,lazyArgs:r})}function cre(e,r,n){let o=e.length-r.length;if(o===0)return e(...r);if(o===1)return Wtt(e,r,n);throw Error("Wrong number of arguments")}function Gtt(...e){return cre(Xtt,e)}function Xtt(e,r){let n={};for(let[o,a]of Object.entries(e))n[o]=r(a,o,e);return n}function ure(...e){return cre(Ky,e)}function Ky(e,r){if(e===r||Object.is(e,r))return!0;if(typeof e!="object"||typeof r!="object"||e===null||r===null||Object.getPrototypeOf(e)!==Object.getPrototypeOf(r))return!1;if(Array.isArray(e))return Ktt(e,r);if(e instanceof Map)return Ztt(e,r);if(e instanceof Set)return Qtt(e,r);if(e instanceof Date)return e.getTime()===r.getTime();if(e instanceof RegExp)return e.toString()===r.toString();if(Object.keys(e).length!==Object.keys(r).length)return!1;for(let[n,o]of Object.entries(e))if(!(n in r)||!Ky(o,r[n]))return!1;return!0}function Ktt(e,r){if(e.length!==r.length)return!1;for(let[n,o]of e.entries())if(!Ky(o,r[n]))return!1;return!0}function Ztt(e,r){if(e.size!==r.size)return!1;for(let[n,o]of e.entries())if(!r.has(n)||!Ky(o,r.get(n)))return!1;return!0}function Qtt(e,r){if(e.size!==r.size)return!1;let n=[...r];for(let o of e){let a=!1;for(let[i,l]of n.entries())if(Ky(o,l)){a=!0,n.splice(i,1);break}if(!a)return!1}return!0}let wl=[],Lu=0;const y4=4;let b4=0,dre=e=>{let r=[],n={get(){return n.lc||n.listen(()=>{})(),n.value},lc:0,listen(o){return n.lc=r.push(o),()=>{for(let i=Lu+y4;i(e.events=e.events||{},e.events[n+x4]||(e.events[n+x4]=o(a=>{e.events[n].reduceRight((i,l)=>(l(i),i),{shared:{},...a})})),e.events[n]=e.events[n]||[],e.events[n].push(r),()=>{let a=e.events[n],i=a.indexOf(r);a.splice(i,1),a.length||(delete e.events[n],e.events[n+x4](),delete e.events[n+x4])}),trt=1e3,rrt=(e,r)=>ert(e,n=>{let o=r(n);o&&e.events[v4].push(o)},Jtt,n=>{let o=e.listen;e.listen=(...i)=>(!e.lc&&!e.active&&(e.active=!0,n()),o(...i));let a=e.off;return e.events[v4]=[],e.off=()=>{a(),setTimeout(()=>{if(e.active&&!e.lc){e.active=!1;for(let i of e.events[v4])i();e.events[v4]=[]}},trt)},()=>{e.listen=o,e.off=a}}),nrt=(e,r,n)=>{Array.isArray(e)||(e=[e]);let o,a,i=()=>{if(a===b4)return;a=b4;let u=e.map(d=>d.get());if(!o||u.some((d,p)=>d!==o[p])){o=u;let d=r(...u);d&&d.then&&d.t?d.then(p=>{o===u&&l.set(p)}):(l.set(d),a=b4)}},l=dre(void 0),s=l.get;l.get=()=>(i(),s());let c=i;return rrt(l,()=>{let u=e.map(d=>d.listen(c));return i(),()=>{for(let d of u)d()}}),l},pre=(e,r)=>nrt(e,r);function ort(e,r,n){let o=new Set(r).add(void 0);return e.listen((a,i,l)=>{o.has(l)&&n(a,i,l)})}let CR=(e,r)=>n=>{e.current!==n&&(e.current=n,r())};function hre(e,{keys:r,deps:n=[e,r]}={}){let o=S.useRef();o.current=e.get();let a=S.useCallback(l=>(CR(o,l)(e.value),r?.length>0?ort(e,r,CR(o,l)):e.listen(CR(o,l))),n),i=()=>o.current;return S.useSyncExternalStore(a,i,i)}const art=e=>{const r=pre(e,s=>Hd.create(s));function n(s){const c=e.get();if(ure(c,s))return;const u={...s,views:Gtt(s.views,d=>{const p=c.views[d.id];return ure(p,d)?p:d})};e.set(u)}const o=pre(e,s=>Object.values(s.views));function a(){return hre(r)}function i(){return hre(o)}function l(s){const[c,u]=S.useState(e.value?.views[s]??null);return S.useEffect(()=>e.subscribe(d=>{u(d.views[s]??null)}),[s]),c}return{updateModel:n,$likec4model:r,useLikeC4Model:a,useLikeC4Views:i,useLikeC4View:l}},irt=dre({_stage:"layouted",projectId:"architecture",project:{id:"architecture",title:"architecture"},specification:{tags:{internal:{color:"tomato"}},elements:{actor:{style:{shape:"person",color:"green"}},person:{style:{shape:"person",color:"green"}},component:{style:{}},container:{style:{opacity:20}},internalComponent:{style:{color:"muted",opacity:15}},schema:{style:{}},step:{style:{}},system:{style:{}},workflow:{style:{}},tool:{style:{}},process:{style:{}},repository:{style:{shape:"storage"}},myperson:{style:{}},mysystem:{style:{}}},relationships:{},deployments:{cloud:{style:{}},environment:{style:{}},computeressource:{style:{}},paas:{style:{}},kubernetes:{style:{}},cluster:{style:{}},namespace:{style:{}}},customColors:{}},elements:{edfbuilder_workflow:{style:{},title:"EDFbuilder",kind:"workflow",id:"edfbuilder_workflow"},argocdworkflow:{style:{},title:"EDP ArgoCD Setup Workflow",kind:"workflow",id:"argocdworkflow"},edpworkflow:{style:{},title:"EDP Infrastructure Setup Workflow",kind:"workflow",id:"edpworkflow"},applicationspecification:{style:{},description:{txt:"The application specification describes the application and its components. It is used to generate the application and its components."},title:"application-specification",kind:"component",id:"applicationspecification"},forgejoRunner:{style:{},description:{txt:"A runner is a service that runs jobs triggered by Forgejo. A runner can have different technical implementations like a container or a VM."},title:"Forgejo Runner",kind:"component",id:"forgejoRunner"},forgejoRunnerWorker:{style:{},description:{txt:"A worker is a service that runs a job invoked by a runner. A worker typically is a container."},title:"Forgejo Runner Worker",kind:"component",id:"forgejoRunnerWorker"},promtail:{style:{},description:{txt:"Log shipper agent for Loki"},title:"Promtail",kind:"component",id:"promtail"},edfbuilder:{style:{shape:"rectangle",icon:"tech:go"},technology:"Golang",description:{txt:"EDP Foundry Builder"},title:"edfbuilder",kind:"component",id:"edfbuilder"},elasticsearch:{style:{opacity:20,icon:"tech:elasticsearch"},technology:"Elasticsearch",description:{txt:`Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. It centrally stores your data so you can discover the expected and uncover the unexpected.`},title:"Elasticsearch",kind:"container",id:"elasticsearch"},objectstorage:{style:{opacity:20},technology:"S3 Object Storage",description:{txt:"s3 Object Storage"},title:"s3 Object Storage",kind:"container",id:"objectstorage"},postgres:{style:{opacity:20,icon:"tech:postgresql"},technology:"PostgreSQL",description:{txt:`PostgreSQL is a powerful, open source object-relational database system. It has more than 15 years of active development and a proven architecture that has earned it a strong reputation for reliability, data integrity, -and correctness.`},title:"PostgreSQL",kind:"container",id:"postgres"},redis:{style:{opacity:20,icon:"tech:redis"},technology:"Redis",description:{txt:"Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker."},title:"Redis",kind:"container",id:"redis"},developer:{style:{shape:"person",color:"green"},description:{txt:"The regular user of the platform"},title:"Developer",kind:"actor",id:"developer"},platformdeveloper:{style:{shape:"person",color:"gray"},description:{txt:"The EDP engineer"},title:"Platform Developer",kind:"actor",id:"platformdeveloper"},otherProductLifecycleRoles:{style:{shape:"person",color:"green"},description:{txt:"Coworking roles in the outer loop"},title:"Reviewer, Tester, Auditors, Operators",kind:"actor",id:"otherProductLifecycleRoles"},customers:{style:{shape:"person",color:"amber"},description:{txt:"Consumers of your Application"},title:"End Customers",kind:"actor",id:"customers"},cloud:{style:{},technology:"IaaS/PaaS",description:{txt:"Cloud environments"},title:"Cloud",kind:"system",id:"cloud"},enterprise:{style:{},description:{txt:"The customers' enterprise systems"},title:"Customers' Enterprise Systems",kind:"system",id:"enterprise"},edf:{style:{icon:"tech:kubernetes"},technology:"Kubernetes",description:{txt:"EDP Foundry is a platform for building and deploying EDPs tenantwise."},title:"EDF",kind:"system",id:"edf"},edp:{style:{icon:"tech:kubernetes"},technology:"Kubernetes",description:{txt:"EDP Edge Development Platform"},title:"EDP",kind:"system",id:"edp"},localbox:{style:{},technology:"Linux/Windows/Mac",description:{txt:"A local development system"},title:"localbox",kind:"system",id:"localbox"},documentor:{style:{shape:"person",color:"green"},technology:"Hugo, Markdown, LikeC4",description:{txt:"Content creator and maintainer of the developer platform documentation"},title:"Documentor",kind:"person",id:"documentor"},docPlatform:{style:{},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},title:"Documentation Platform",kind:"system",id:"docPlatform"},cicdPipeline:{style:{},description:{txt:"Automated testing and deployment pipeline"},title:"CI/CD Pipeline",kind:"system",id:"cicdPipeline"},deploymentEnv:{style:{},description:{txt:"Edge deployment infrastructure"},title:"Deployment Environment",kind:"system",id:"deploymentEnv"},"edfbuilder_workflow.runEDP":{style:{opacity:25},title:"Run edpbuilder script",kind:"step",id:"edfbuilder_workflow.runEDP"},"edfbuilder_workflow.applyEDFBuilder":{style:{opacity:15},title:"Applies EDFbuilder resource (and triggers creation)",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder"},"applicationspecification.application_gitrepo":{style:{icon:"tech:git"},technology:"Git",description:{txt:"Git Application Repository"},title:"Git App Repo",kind:"component",id:"applicationspecification.application_gitrepo"},"applicationspecification.applicationspec_gitrepo":{style:{icon:"tech:git"},technology:"Git",description:{txt:"Git Application Specification Repository"},title:"Git AppSpec Repo",kind:"component",id:"applicationspecification.applicationspec_gitrepo"},"edp.api":{style:{opacity:20,icon:"tech:swagger"},description:{txt:"API for the EDP platform"},title:"API",kind:"container",id:"edp.api"},"edp.argoCD":{style:{opacity:20},description:{txt:"GitOps Service"},title:"ArgoCD",kind:"container",id:"edp.argoCD"},"edp.ui":{style:{opacity:20},description:{txt:"Developer Portal"},title:"Backstage",kind:"container",id:"edp.ui"},"edp.crossplane":{style:{opacity:20},tags:["internal"],description:{txt:"Declarative management of ressources"},title:"Crossplane",kind:"container",id:"edp.crossplane"},"edp.externalSecrets":{style:{opacity:20},tags:["internal"],description:{txt:"Provider to access externally stored Kubernetes secrets"},title:"external-secrets",kind:"container",id:"edp.externalSecrets"},"edp.forgejo":{style:{opacity:20,icon:"tech:go"},technology:"Golang",description:{txt:`Fully managed DevOps Platform +and correctness.`},title:"PostgreSQL",kind:"container",id:"postgres"},redis:{style:{opacity:20,icon:"tech:redis"},technology:"Redis",description:{txt:"Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker."},title:"Redis",kind:"container",id:"redis"},developer:{style:{shape:"person",color:"green"},description:{txt:"The regular user of the platform"},title:"Developer",kind:"actor",id:"developer"},platformdeveloper:{style:{shape:"person",color:"gray"},description:{txt:"The EDP engineer"},title:"Platform Developer",kind:"actor",id:"platformdeveloper"},otherProductLifecycleRoles:{style:{shape:"person",color:"green"},description:{txt:"Coworking roles in the outer loop"},title:"Reviewer, Tester, Auditors, Operators",kind:"actor",id:"otherProductLifecycleRoles"},customers:{style:{shape:"person",color:"amber"},description:{txt:"Consumers of your Application"},title:"End Customers",kind:"actor",id:"customers"},cloud:{style:{},technology:"IaaS/PaaS",description:{txt:"Cloud environments"},title:"Cloud",kind:"system",id:"cloud"},enterprise:{style:{},description:{txt:"The customers' enterprise systems"},title:"Customers' Enterprise Systems",kind:"system",id:"enterprise"},edf:{style:{icon:"tech:kubernetes"},technology:"Kubernetes",description:{txt:"EDP Foundry is a platform for building and deploying EDPs tenantwise."},title:"EDF",kind:"system",id:"edf"},edp:{style:{icon:"tech:kubernetes"},technology:"Kubernetes",description:{txt:"EDP Edge Development Platform"},title:"EDP",kind:"system",id:"edp"},localbox:{style:{},technology:"Linux/Windows/Mac",description:{txt:"A local development system"},title:"localbox",kind:"system",id:"localbox"},documentor:{style:{shape:"person",color:"green"},technology:"Hugo, Markdown, LikeC4",description:{txt:"Content creator and maintainer of the developer platform documentation"},title:"Documentor",kind:"person",id:"documentor"},docPlatform:{style:{},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},title:"Documentation Platform",kind:"system",id:"docPlatform"},cicdPipeline:{style:{},description:{txt:"Automated testing and deployment pipeline"},title:"CI/CD Pipeline",kind:"system",id:"cicdPipeline"},deploymentEnv:{style:{},description:{txt:"Edge deployment infrastructure"},title:"Deployment Environment",kind:"system",id:"deploymentEnv"},customer:{style:{},description:{txt:"End user of the platform"},title:"Customer",kind:"myperson",id:"customer"},mySystem:{style:{},description:{txt:"Example system component"},title:"My System",kind:"mysystem",id:"mySystem"},"edfbuilder_workflow.runEDP":{style:{opacity:25},title:"Run edpbuilder script",kind:"step",id:"edfbuilder_workflow.runEDP"},"edfbuilder_workflow.applyEDFBuilder":{style:{opacity:15},title:"Applies EDFbuilder resource (and triggers creation)",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder"},"applicationspecification.application_gitrepo":{style:{icon:"tech:git"},technology:"Git",description:{txt:"Git Application Repository"},title:"Git App Repo",kind:"component",id:"applicationspecification.application_gitrepo"},"applicationspecification.applicationspec_gitrepo":{style:{icon:"tech:git"},technology:"Git",description:{txt:"Git Application Specification Repository"},title:"Git AppSpec Repo",kind:"component",id:"applicationspecification.applicationspec_gitrepo"},"edp.api":{style:{opacity:20,icon:"tech:swagger"},description:{txt:"API for the EDP platform"},title:"API",kind:"container",id:"edp.api"},"edp.argoCD":{style:{opacity:20},description:{txt:"GitOps Service"},title:"ArgoCD",kind:"container",id:"edp.argoCD"},"edp.ui":{style:{opacity:20},description:{txt:"Developer Portal"},title:"Backstage",kind:"container",id:"edp.ui"},"edp.crossplane":{style:{opacity:20},tags:["internal"],description:{txt:"Declarative management of ressources"},title:"Crossplane",kind:"container",id:"edp.crossplane"},"edp.externalSecrets":{style:{opacity:20},tags:["internal"],description:{txt:"Provider to access externally stored Kubernetes secrets"},title:"external-secrets",kind:"container",id:"edp.externalSecrets"},"edp.forgejo":{style:{opacity:20,icon:"tech:go"},technology:"Golang",description:{txt:`Fully managed DevOps Platform offering capabilities like code version controling collaboration and ticketing -and security scanning`},title:"Forgejo",kind:"container",id:"edp.forgejo"},"edp.forgejoActions":{style:{icon:"tech:go"},technology:"Golang",description:{txt:"Continuous Integration like Github Actions"},title:"Forgejo Actions",kind:"component",id:"edp.forgejoActions"},"edp.imageregistry":{style:{icon:"tech:go"},technology:"Golang",description:{txt:"Container Image Registry"},title:"Forgejo OCI Image Registry",kind:"component",id:"edp.imageregistry"},"edp.forgejogit":{style:{icon:"tech:git"},title:"ForgejoGit",kind:"component",id:"edp.forgejogit"},"edp.grafana":{style:{opacity:20,icon:"tech:grafana"},description:{txt:"Data visualization and monitoring"},title:"Grafana",kind:"container",id:"edp.grafana"},"edp.ingressNginx":{style:{opacity:20},tags:["internal"],description:{txt:"Ingress Controller for incoming http(s) traffic"},title:"Ingress",kind:"container",id:"edp.ingressNginx"},"edp.keycloak":{style:{opacity:20},description:{txt:"Single Sign On for all EDP products"},title:"Keycloak",kind:"container",id:"edp.keycloak"},"edp.kyverno":{style:{opacity:20},tags:["internal"],description:{txt:"Policy-as-Code"},title:"Kyverno",kind:"container",id:"edp.kyverno"},"edp.loki":{style:{opacity:20},description:{txt:"Log aggregation system"},title:"Loki",kind:"container",id:"edp.loki"},"edp.mailhog":{style:{opacity:20},description:{txt:"Web and API based SMTP testing"},title:"Mailhog",kind:"container",id:"edp.mailhog"},"edp.minio":{style:{opacity:20},description:{txt:"S3 compatible blob storage"},title:"Minio",kind:"container",id:"edp.minio"},"edp.monitoring":{style:{opacity:20},description:{txt:"Observability system to monitor deployed components"},title:"Monitoring",kind:"container",id:"edp.monitoring"},"edp.openbao":{style:{opacity:20},description:{txt:"Secure secret storage"},title:"OpenBao",kind:"container",id:"edp.openbao"},"edp.prometheus":{style:{opacity:20,icon:"tech:prometheus"},description:{txt:"Monitoring and alerting toolkit"},title:"Prometheus",kind:"container",id:"edp.prometheus"},"edp.spark":{style:{opacity:20},tags:["internal"],description:{txt:"Allows running Spark applications on K8s"},title:"Spark",kind:"container",id:"edp.spark"},"edp.velero":{style:{opacity:20},tags:["internal"],description:{txt:"Backup Kubernetes resources"},title:"Velero",kind:"container",id:"edp.velero"},"cloud.application":{style:{color:"primary"},technology:"DSL",description:{txt:"An application description"},title:"application",kind:"schema",id:"cloud.application"},"edp.application":{style:{color:"primary"},technology:"DSL",description:{txt:"An application description"},title:"application",kind:"schema",id:"edp.application"},"edp.testApp":{style:{opacity:20},description:{txt:"Testapp to validate deployments"},title:"Fibonacci",kind:"container",id:"edp.testApp"},"localbox.application":{style:{color:"primary"},technology:"DSL",description:{txt:"An application description"},title:"application",kind:"schema",id:"localbox.application"},"localbox.git":{style:{icon:"tech:git"},technology:"Git",description:{txt:"local git"},title:"git",kind:"component",id:"localbox.git"},"docPlatform.hugoSite":{style:{},technology:"Hugo Extended, Docsy",description:{txt:"Static site generator based on Hugo with Docsy theme"},title:"Hugo Site",kind:"component",id:"docPlatform.hugoSite"},"docPlatform.contentRepo":{style:{shape:"storage"},technology:"Git, Markdown",description:{txt:"Markdown files, images, and configuration"},title:"Content Repository",kind:"repository",id:"docPlatform.contentRepo"},"docPlatform.likec4Integration":{style:{},technology:"LikeC4, Web Components",description:{txt:"Architecture diagram visualization embedded in documentation"},title:"LikeC4 Integration",kind:"component",id:"docPlatform.likec4Integration"},"docPlatform.taskfile":{style:{},technology:"Task (go-task)",description:{txt:"Task automation for local development, build, and testing"},title:"Taskfile",kind:"tool",id:"docPlatform.taskfile"},"docPlatform.devServer":{style:{},technology:"Hugo Server",description:{txt:"Local Hugo server with hot reload for content development"},title:"Development Server",kind:"process",id:"docPlatform.devServer"},"cicdPipeline.githubActions":{style:{},technology:"GitHub Actions",description:{txt:"Automated testing workflow on push/PR"},title:"GitHub Actions",kind:"process",id:"cicdPipeline.githubActions"},"cicdPipeline.containerBuild":{style:{},technology:"Docker",description:{txt:"OCI/Docker image creation with Hugo site"},title:"Container Build",kind:"process",id:"cicdPipeline.containerBuild"},"deploymentEnv.edgeConnect":{style:{},technology:"EdgeConnect",description:{txt:"Edge deployment orchestration platform"},title:"Edge Connect",kind:"system",id:"deploymentEnv.edgeConnect"},"deploymentEnv.k8sCluster":{style:{},technology:"Kubernetes",description:{txt:"K8s cluster on edge cloudlet (Munich)"},title:"Kubernetes Cluster",kind:"system",id:"deploymentEnv.k8sCluster"},"edfbuilder_workflow.runEDP.createCrossplaneNS":{style:{},title:"Create Crossplane namespace",kind:"step",id:"edfbuilder_workflow.runEDP.createCrossplaneNS"},"edfbuilder_workflow.runEDP.installCrossplaneHelm":{style:{},title:"Install Crossplane Helm Chart",kind:"step",id:"edfbuilder_workflow.runEDP.installCrossplaneHelm"},"edfbuilder_workflow.runEDP.installCrossplaneFunctionsAndProviders":{style:{},title:"Install Crossplane Functions and Providers",kind:"step",id:"edfbuilder_workflow.runEDP.installCrossplaneFunctionsAndProviders"},"edfbuilder_workflow.runEDP.waitForCrossplaneFunctionsAndProviders":{style:{},title:"Wait for Crossplane Functions and Providers to become available",kind:"step",id:"edfbuilder_workflow.runEDP.waitForCrossplaneFunctionsAndProviders"},"edfbuilder_workflow.runEDP.setupCrossplaneServiceAccount":{style:{},title:"Apply cluster-admin role to crossplane shell provider service account",kind:"step",id:"edfbuilder_workflow.runEDP.setupCrossplaneServiceAccount"},"edfbuilder_workflow.runEDP.createArgoCdNS":{style:{},title:"Create ArgoCD namespace",kind:"step",id:"edfbuilder_workflow.runEDP.createArgoCdNS"},"edfbuilder_workflow.runEDP.createGiteaNS":{style:{},title:"Create Gitea namespace",kind:"step",id:"edfbuilder_workflow.runEDP.createGiteaNS"},"edfbuilder_workflow.runEDP.createArgoCdTlsCert":{style:{},title:"Create TLS Cert for Argo",kind:"step",id:"edfbuilder_workflow.runEDP.createArgoCdTlsCert"},"edfbuilder_workflow.runEDP.createGiteaTlsCert":{style:{},title:"Create TLS Cert for Forgejo",kind:"step",id:"edfbuilder_workflow.runEDP.createGiteaTlsCert"},"edfbuilder_workflow.runEDP.createEDFBuilderDefinition":{style:{},title:"Create EDFbuilder crossplane definition (defines API)",kind:"step",id:"edfbuilder_workflow.runEDP.createEDFBuilderDefinition"},"edfbuilder_workflow.runEDP.createEDFBuilderComposition":{style:{},title:"Create EDFbuilder crossplane composition (defines what happens when EDFbuilder is applied)",kind:"step",id:"edfbuilder_workflow.runEDP.createEDFBuilderComposition"},"edfbuilder_workflow.applyEDFBuilder.setEnvVars":{style:{},title:"Set required environment variables",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.setEnvVars"},"edfbuilder_workflow.applyEDFBuilder.readWriteKubeConf":{style:{},title:"Make kube.conf write/readbale",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.readWriteKubeConf"},"edfbuilder_workflow.applyEDFBuilder.setWorkDir":{style:{},title:"Set workdir to /tmp/rundir",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.setWorkDir"},"edfbuilder_workflow.applyEDFBuilder.cloneStacksRepo":{style:{},title:"Clone steps repo and checkout desired branch",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.cloneStacksRepo"},"edfbuilder_workflow.applyEDFBuilder.hydrateStacksWithValues":{style:{},title:"Hydrate Stacks with values",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.hydrateStacksWithValues"},"edfbuilder_workflow.applyEDFBuilder.createNamespaces":{style:{},title:"Create all required namespaces",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.createNamespaces"},"edfbuilder_workflow.applyEDFBuilder.createGiteaAdminPass":{style:{},title:"Create Admin Password for Forgejo",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.createGiteaAdminPass"},"edfbuilder_workflow.applyEDFBuilder.createGrafanaPass":{style:{},title:"Create Grafana Admin Password",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.createGrafanaPass"},"edfbuilder_workflow.applyEDFBuilder.applyServiceMonitorCRD":{style:{},title:"Apply ServiceMonitor CRDs for Prometheus",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.applyServiceMonitorCRD"},"edfbuilder_workflow.applyEDFBuilder.cloneIngressNginxChart":{style:{},title:"Git clone ingress-nginx helm chart",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.cloneIngressNginxChart"},"edfbuilder_workflow.applyEDFBuilder.isntallIngressNginx":{style:{},title:"Install ingress-nginx from cloned chart",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.isntallIngressNginx"},"edfbuilder_workflow.applyEDFBuilder.waitForIngress":{style:{},title:"Wait till ingress-nginx is ready",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.waitForIngress"},"edfbuilder_workflow.applyEDFBuilder.cloneArgoCDHelm":{style:{},title:"Git clone ArgoCD Helm Chart",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.cloneArgoCDHelm"},"edfbuilder_workflow.applyEDFBuilder.installArgoCD":{style:{},title:"Install ArgoCD Helm Chart",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.installArgoCD"},"edfbuilder_workflow.applyEDFBuilder.installArgoCDIngress":{style:{},title:"Install ingress for ArgoCD",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.installArgoCDIngress"},"edfbuilder_workflow.applyEDFBuilder.cloneForgejoHelmChart":{style:{},title:"Git clone Forgejo Helm Chart",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.cloneForgejoHelmChart"},"edfbuilder_workflow.applyEDFBuilder.installForgejo":{style:{},title:"Install Forgejo Helm Chart",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.installForgejo"},"edfbuilder_workflow.applyEDFBuilder.installForgejoIngress":{style:{},title:"Install ingress for Forgejo",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.installForgejoIngress"},"edfbuilder_workflow.applyEDFBuilder.waitForArgoCD":{style:{},title:"Wait till ArgoCD is available",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.waitForArgoCD"},"edfbuilder_workflow.applyEDFBuilder.waitForForgejo":{style:{},title:"Wait till Forgejo is available",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.waitForForgejo"},"edfbuilder_workflow.applyEDFBuilder.createForgejoUser":{style:{},title:"Create technical user for Forgejo",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.createForgejoUser"},"edfbuilder_workflow.applyEDFBuilder.createForgejoRepo":{style:{},title:"Create repository for EDP state in Forgejo",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.createForgejoRepo"},"edfbuilder_workflow.applyEDFBuilder.installForgejoRunner":{style:{},title:"Install Forgejo Runner deployment",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.installForgejoRunner"},"edfbuilder_workflow.applyEDFBuilder.registerForgejoRunner":{style:{},title:"Create registration token secret for runner",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.registerForgejoRunner"},"edfbuilder_workflow.applyEDFBuilder.configGitIdentity":{style:{},title:"Configure Git identity",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.configGitIdentity"},"edfbuilder_workflow.applyEDFBuilder.configCrossplaneArgoCDProvider":{style:{},title:"Configure Crossplane ArgoCD provider",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.configCrossplaneArgoCDProvider"},"edfbuilder_workflow.applyEDFBuilder.configCrossplaneKindProvider":{style:{},title:"Configure Crossplane Kind provider",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.configCrossplaneKindProvider"},"edfbuilder_workflow.applyEDFBuilder.uploadStacksToForgjo":{style:{},title:"Git push hydrated stacks to Forgejo isntance",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.uploadStacksToForgjo"},"edfbuilder_workflow.applyEDFBuilder.configArgoDockerRegistry":{style:{},title:"Configure Docker Registry for Argo Workflows",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.configArgoDockerRegistry"},"edfbuilder_workflow.applyEDFBuilder.createPackagesForgejoUser":{style:{},title:"Create packages user and token in Forgejo (unused?)",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.createPackagesForgejoUser"},"edfbuilder_workflow.applyEDFBuilder.installArgoCDStacks":{style:{},title:"Apply all selected ArgoCD stacks",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.installArgoCDStacks"},"edfbuilder_workflow.applyEDFBuilder.cleanup":{style:{},title:"Cleanup work folder and unset all env vars",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.cleanup"},"edp.argoCD.argocdServer":{style:{},title:"ArgoCD Server",kind:"component",id:"edp.argoCD.argocdServer"},"edp.argoCD.argocdAppController":{style:{},title:"ApplicationController",kind:"component",id:"edp.argoCD.argocdAppController"},"edp.argoCD.argocdAppSetController":{style:{},title:"ApplicationSeetController",kind:"component",id:"edp.argoCD.argocdAppSetController"},"edp.argoCD.argocdRedis":{style:{icon:"tech:redis"},technology:"Redis",title:"Redis",kind:"component",id:"edp.argoCD.argocdRedis"},"edp.argoCD.argocdRepoServer":{style:{},title:"Repo Server",kind:"component",id:"edp.argoCD.argocdRepoServer"},"edp.ui.backstage":{style:{icon:"tech:react",shape:"browser"},title:"Backstage",kind:"component",id:"edp.ui.backstage"},"edp.ui.database":{style:{shape:"storage",icon:"tech:postgresql"},technology:"Postgresql",title:"Database",kind:"component",id:"edp.ui.database"},"edp.crossplane.crossplane":{style:{},title:"Crossplane",kind:"component",id:"edp.crossplane.crossplane"},"edp.crossplane.crossplaneFunction":{style:{},title:"Function Patch and Transform",kind:"component",id:"edp.crossplane.crossplaneFunction"},"edp.crossplane.crossplaneRbacManager":{style:{},title:"RBAC Manager",kind:"component",id:"edp.crossplane.crossplaneRbacManager"},"edp.crossplane.providerArgoCD":{style:{},title:"ArgoCD Provider",kind:"component",id:"edp.crossplane.providerArgoCD"},"edp.crossplane.providerKind":{style:{},title:"Kind Provider",kind:"component",id:"edp.crossplane.providerKind"},"edp.crossplane.providerShell":{style:{},title:"Shell Provider",kind:"component",id:"edp.crossplane.providerShell"},"edp.externalSecrets.externalSecrets":{style:{},title:"external-secrets controller",kind:"component",id:"edp.externalSecrets.externalSecrets"},"edp.externalSecrets.certController":{style:{},title:"cert-controller",kind:"component",id:"edp.externalSecrets.certController"},"edp.externalSecrets.webhook":{style:{},title:"webhook",kind:"component",id:"edp.externalSecrets.webhook"},"edp.forgejo.forgejocollaboration":{style:{icon:"tech:github"},title:"Collaboration",kind:"component",id:"edp.forgejo.forgejocollaboration"},"edp.forgejo.forgejoproject":{style:{icon:"tech:github"},title:"Project Mgmt",kind:"component",id:"edp.forgejo.forgejoproject"},"edp.ingressNginx.ingressNginx":{style:{icon:"tech:nginx"},technology:"Nginx",title:"ingress-nginx",kind:"component",id:"edp.ingressNginx.ingressNginx"},"edp.keycloak.keycloak":{style:{icon:"tech:java"},technology:"Java",title:"Keycloak",kind:"component",id:"edp.keycloak.keycloak"},"edp.keycloak.keycloakDB":{style:{shape:"storage",icon:"tech:postgresql"},technology:"Postgresql",title:"Database",kind:"component",id:"edp.keycloak.keycloakDB"},"edp.mailhog.mailhog":{style:{icon:"tech:go"},technology:"Golang",title:"Mailhog",kind:"component",id:"edp.mailhog.mailhog"},"edp.minio.minio":{style:{shape:"storage"},technology:"Minio",title:"S3 Blob Storage",kind:"component",id:"edp.minio.minio"},"edp.monitoring.alloy":{style:{icon:"tech:grafana",multiple:!0},description:{txt:"Open Telemetry Collector"},title:"Alloy",kind:"component",id:"edp.monitoring.alloy"},"edp.monitoring.loki":{style:{opacity:20,icon:"tech:grafana"},description:{txt:"Log aggregation system"},title:"Loki",kind:"container",id:"edp.monitoring.loki"},"edp.openbao.openbao":{style:{shape:"storage"},technology:"Openbao",title:"Openbao",kind:"component",id:"edp.openbao.openbao"},"edp.openbao.agentInjector":{style:{},title:"Agent Injector",kind:"component",id:"edp.openbao.agentInjector"},"edp.spark.sparkoperator":{style:{icon:"tech:spark"},technology:"Spark",title:"Spark Operator",kind:"component",id:"edp.spark.sparkoperator"},"edp.velero.velero":{style:{},title:"Velero",kind:"component",id:"edp.velero.velero"},"edp.testApp.fibonacci":{style:{icon:"tech:go"},technology:"Golang",title:"Fibonacci",kind:"component",id:"edp.testApp.fibonacci"},"docPlatform.contentRepo.contentPages":{style:{},technology:"Markdown",description:{txt:"Documentation pages in Markdown format"},title:"Content Pages",kind:"component",id:"docPlatform.contentRepo.contentPages"},"docPlatform.contentRepo.archModels":{style:{},technology:"LikeC4 DSL",description:{txt:"LikeC4 architecture models and views"},title:"Architecture Models",kind:"component",id:"docPlatform.contentRepo.archModels"},"docPlatform.contentRepo.assets":{style:{},technology:"CSS, JavaScript",description:{txt:"CSS, JavaScript, images, fonts"},title:"Static Assets",kind:"component",id:"docPlatform.contentRepo.assets"},"cicdPipeline.githubActions.testBuild":{style:{},technology:"Hugo",description:{txt:"Hugo build validation"},title:"Build Test",kind:"component",id:"cicdPipeline.githubActions.testBuild"},"cicdPipeline.githubActions.testMarkdown":{style:{},technology:"markdownlint",description:{txt:"Markdown syntax and style checking"},title:"Markdown Lint",kind:"component",id:"cicdPipeline.githubActions.testMarkdown"},"cicdPipeline.githubActions.testHtml":{style:{},technology:"htmlvalidate",description:{txt:"Generated HTML validation"},title:"HTML Validation",kind:"component",id:"cicdPipeline.githubActions.testHtml"},"cicdPipeline.githubActions.testLinks":{style:{},technology:"htmltest",description:{txt:"Broken link detection"},title:"Link Checker",kind:"component",id:"cicdPipeline.githubActions.testLinks"},"deploymentEnv.k8sCluster.docService":{style:{},technology:"K8s Service",description:{txt:"LoadBalancer service exposing docs on port 80"},title:"Documentation Service",kind:"component",id:"deploymentEnv.k8sCluster.docService"},"deploymentEnv.k8sCluster.docDeployment":{style:{},technology:"K8s Deployment, Nginx",description:{txt:"Pod running Hugo-generated static site"},title:"Documentation Deployment",kind:"component",id:"deploymentEnv.k8sCluster.docDeployment"},"edp.monitoring.loki.queryFrontend":{style:{},title:"Query Frontend",kind:"component",id:"edp.monitoring.loki.queryFrontend"},"edp.monitoring.loki.distributor":{style:{},title:"Distributor",kind:"component",id:"edp.monitoring.loki.distributor"},"edp.monitoring.loki.gateway":{style:{},title:"Gateway",kind:"component",id:"edp.monitoring.loki.gateway"},"edp.monitoring.loki.ingestor":{style:{},title:"Ingestor",kind:"component",id:"edp.monitoring.loki.ingestor"},"edp.monitoring.loki.querier":{style:{},title:"Querier",kind:"component",id:"edp.monitoring.loki.querier"}},relations:{zgprrj:{title:"",source:{model:"edfbuilder_workflow.runEDP.createCrossplaneNS"},target:{model:"edfbuilder_workflow.runEDP.installCrossplaneHelm"},id:"zgprrj"},hkqe1q:{title:"",source:{model:"edfbuilder_workflow.runEDP.installCrossplaneHelm"},target:{model:"edfbuilder_workflow.runEDP.installCrossplaneFunctionsAndProviders"},id:"hkqe1q"},"7hhs3w":{title:"",source:{model:"edfbuilder_workflow.runEDP.installCrossplaneFunctionsAndProviders"},target:{model:"edfbuilder_workflow.runEDP.waitForCrossplaneFunctionsAndProviders"},id:"7hhs3w"},xjeqlb:{title:"",source:{model:"edfbuilder_workflow.runEDP.waitForCrossplaneFunctionsAndProviders"},target:{model:"edfbuilder_workflow.runEDP.setupCrossplaneServiceAccount"},id:"xjeqlb"},"1nhvr49":{title:"",source:{model:"edfbuilder_workflow.runEDP.setupCrossplaneServiceAccount"},target:{model:"edfbuilder_workflow.runEDP.createArgoCdNS"},id:"1nhvr49"},i203to:{title:"",source:{model:"edfbuilder_workflow.runEDP.createArgoCdNS"},target:{model:"edfbuilder_workflow.runEDP.createGiteaNS"},id:"i203to"},"1b9cczp":{title:"",source:{model:"edfbuilder_workflow.runEDP.createGiteaNS"},target:{model:"edfbuilder_workflow.runEDP.createArgoCdTlsCert"},id:"1b9cczp"},i514he:{title:"",source:{model:"edfbuilder_workflow.runEDP.createArgoCdTlsCert"},target:{model:"edfbuilder_workflow.runEDP.createGiteaTlsCert"},id:"i514he"},"13ashxq":{title:"",source:{model:"edfbuilder_workflow.runEDP.createGiteaTlsCert"},target:{model:"edfbuilder_workflow.runEDP.createEDFBuilderDefinition"},id:"13ashxq"},"14kigg4":{title:"",source:{model:"edfbuilder_workflow.runEDP.createEDFBuilderDefinition"},target:{model:"edfbuilder_workflow.runEDP.createEDFBuilderComposition"},id:"14kigg4"},"1y9fees":{title:"",source:{model:"edfbuilder_workflow.runEDP.createEDFBuilderComposition"},target:{model:"edfbuilder_workflow.applyEDFBuilder"},id:"1y9fees"},"1pfgmn3":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.setEnvVars"},target:{model:"edfbuilder_workflow.applyEDFBuilder.readWriteKubeConf"},id:"1pfgmn3"},"11gwuq3":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.readWriteKubeConf"},target:{model:"edfbuilder_workflow.applyEDFBuilder.setWorkDir"},id:"11gwuq3"},"1ddvozk":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.setWorkDir"},target:{model:"edfbuilder_workflow.applyEDFBuilder.cloneStacksRepo"},id:"1ddvozk"},c4bphp:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.cloneStacksRepo"},target:{model:"edfbuilder_workflow.applyEDFBuilder.hydrateStacksWithValues"},id:"c4bphp"},"22u12c":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.hydrateStacksWithValues"},target:{model:"edfbuilder_workflow.applyEDFBuilder.createNamespaces"},id:"22u12c"},"1veymj5":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.createNamespaces"},target:{model:"edfbuilder_workflow.applyEDFBuilder.createGiteaAdminPass"},id:"1veymj5"},"1bx48yr":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.createGiteaAdminPass"},target:{model:"edfbuilder_workflow.applyEDFBuilder.createGrafanaPass"},id:"1bx48yr"},pbq0ly:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.createGrafanaPass"},target:{model:"edfbuilder_workflow.applyEDFBuilder.applyServiceMonitorCRD"},id:"pbq0ly"},"1tj029j":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.applyServiceMonitorCRD"},target:{model:"edfbuilder_workflow.applyEDFBuilder.cloneIngressNginxChart"},id:"1tj029j"},ukdpc6:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.cloneIngressNginxChart"},target:{model:"edfbuilder_workflow.applyEDFBuilder.isntallIngressNginx"},id:"ukdpc6"},tm63b8:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.isntallIngressNginx"},target:{model:"edfbuilder_workflow.applyEDFBuilder.waitForIngress"},id:"tm63b8"},mnqt5q:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.waitForIngress"},target:{model:"edfbuilder_workflow.applyEDFBuilder.cloneArgoCDHelm"},id:"mnqt5q"},c3zfur:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.cloneArgoCDHelm"},target:{model:"edfbuilder_workflow.applyEDFBuilder.installArgoCD"},id:"c3zfur"},"157ptzn":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.installArgoCD"},target:{model:"edfbuilder_workflow.applyEDFBuilder.installArgoCDIngress"},id:"157ptzn"},"8kcuka":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.installArgoCDIngress"},target:{model:"edfbuilder_workflow.applyEDFBuilder.cloneForgejoHelmChart"},id:"8kcuka"},"5sub2k":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.cloneForgejoHelmChart"},target:{model:"edfbuilder_workflow.applyEDFBuilder.installForgejo"},id:"5sub2k"},z8qrfi:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.installForgejo"},target:{model:"edfbuilder_workflow.applyEDFBuilder.installForgejoIngress"},id:"z8qrfi"},"1dqe9ri":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.installForgejoIngress"},target:{model:"edfbuilder_workflow.applyEDFBuilder.waitForArgoCD"},id:"1dqe9ri"},"12iu5vk":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.waitForArgoCD"},target:{model:"edfbuilder_workflow.applyEDFBuilder.waitForForgejo"},id:"12iu5vk"},"1xhuuis":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.waitForForgejo"},target:{model:"edfbuilder_workflow.applyEDFBuilder.createForgejoUser"},id:"1xhuuis"},vhezff:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.createForgejoUser"},target:{model:"edfbuilder_workflow.applyEDFBuilder.createForgejoRepo"},id:"vhezff"},"1dow3tq":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.createForgejoRepo"},target:{model:"edfbuilder_workflow.applyEDFBuilder.installForgejoRunner"},id:"1dow3tq"},"1k46mx8":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.installForgejoRunner"},target:{model:"edfbuilder_workflow.applyEDFBuilder.registerForgejoRunner"},id:"1k46mx8"},f5bybq:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.registerForgejoRunner"},target:{model:"edfbuilder_workflow.applyEDFBuilder.configGitIdentity"},id:"f5bybq"},"8g1uqn":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.configGitIdentity"},target:{model:"edfbuilder_workflow.applyEDFBuilder.configCrossplaneArgoCDProvider"},id:"8g1uqn"},"9c504z":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.configCrossplaneArgoCDProvider"},target:{model:"edfbuilder_workflow.applyEDFBuilder.configCrossplaneKindProvider"},id:"9c504z"},"19gp6kf":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.configCrossplaneKindProvider"},target:{model:"edfbuilder_workflow.applyEDFBuilder.uploadStacksToForgjo"},id:"19gp6kf"},h55zvp:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.uploadStacksToForgjo"},target:{model:"edfbuilder_workflow.applyEDFBuilder.configArgoDockerRegistry"},id:"h55zvp"},"1b7dj03":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.configArgoDockerRegistry"},target:{model:"edfbuilder_workflow.applyEDFBuilder.createPackagesForgejoUser"},id:"1b7dj03"},"1bk65oi":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.createPackagesForgejoUser"},target:{model:"edfbuilder_workflow.applyEDFBuilder.installArgoCDStacks"},id:"1bk65oi"},rsncrl:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.installArgoCDStacks"},target:{model:"edfbuilder_workflow.applyEDFBuilder.cleanup"},id:"rsncrl"},"18dtot7":{title:"register",source:{model:"forgejoRunner"},target:{model:"edp.forgejoActions"},id:"18dtot7"},"1oxlsu0":{title:"boots one",source:{model:"edfbuilder"},target:{model:"edf"},id:"1oxlsu0"},s1l7g7:{title:"runs",source:{model:"platformdeveloper"},target:{model:"edfbuilder"},id:"s1l7g7"},yfhhi5:{title:"read/write",source:{model:"edp.argoCD.argocdServer"},target:{model:"edp.argoCD.argocdRedis"},id:"yfhhi5"},iullhy:{title:"read/write",source:{model:"edp.argoCD.argocdRepoServer"},target:{model:"edp.argoCD.argocdRedis"},id:"iullhy"},"10vkxaf":{title:"read/write",source:{model:"edp.argoCD.argocdAppController"},target:{model:"edp.argoCD.argocdRedis"},id:"10vkxaf"},i8z0mi:{title:"read/write",source:{model:"edp.argoCD.argocdAppSetController"},target:{model:"edp.argoCD.argocdRedis"},id:"i8z0mi"},"6mupa0":{title:"Syncs git repo",source:{model:"edp.argoCD.argocdRepoServer"},target:{model:"edp.forgejogit"},id:"6mupa0"},c23sak:{title:"reads/writes",source:{model:"edp.ui.backstage"},target:{model:"edp.ui.database"},id:"c23sak"},"1pbc22f":{title:"runs workflows",source:{model:"edp.forgejoActions"},target:{model:"forgejoRunner"},id:"1pbc22f"},"13uvtiq":{title:"get metrics and alerts",source:{model:"edp.grafana"},target:{model:"edp.prometheus"},id:"13uvtiq"},"1n1utzc":{title:"get logs",source:{model:"edp.grafana"},target:{model:"edp.loki"},id:"1n1utzc"},"123efwn":{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.forgejo"},id:"123efwn"},h3rut2:{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.keycloak.keycloak"},id:"h3rut2"},"1p30hav":{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.openbao.openbao"},id:"1p30hav"},"1yssos5":{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.argoCD.argocdServer"},id:"1yssos5"},v8c8aq:{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.ui.backstage"},id:"v8c8aq"},fe65w2:{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.minio.minio"},id:"fe65w2"},"1jvab2g":{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.monitoring.alloy"},id:"1jvab2g"},fs60l7:{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.monitoring.loki.queryFrontend"},id:"fs60l7"},"1i5f8um":{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.testApp.fibonacci"},id:"1i5f8um"},ofdedh:{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.mailhog.mailhog"},id:"ofdedh"},"18zxrhs":{title:"reads/writes",source:{model:"edp.keycloak.keycloak"},target:{model:"edp.keycloak.keycloakDB"},id:"18zxrhs"},"11ollyi":{title:"pushes logs",source:{model:"edp.monitoring.alloy"},target:{model:"edp.monitoring.loki.distributor"},id:"11ollyi"},"1mazt1x":{title:"store backups",source:{model:"edp.velero.velero"},target:{model:"edp.minio.minio"},id:"1mazt1x"},"5hkplj":{title:"inner loop development",source:{model:"developer"},target:{model:"localbox"},id:"5hkplj"},"1pp73vj":{title:"outer loop development",source:{model:"developer"},target:{model:"edp"},id:"1pp73vj"},yk9zv2:{title:"manages project",source:{model:"developer"},target:{model:"edp.ui"},id:"yk9zv2"},"12036hb":{title:"manages code",source:{model:"developer"},target:{model:"edp.forgejo"},id:"12036hb"},jpl8ll:{title:"authenticates",source:{model:"developer"},target:{model:"edp.keycloak"},id:"jpl8ll"},"1ghp31l":{title:"manages deployments",source:{model:"developer"},target:{model:"edp.argoCD"},id:"1ghp31l"},"1xiorre":{title:"monitors",source:{model:"developer"},target:{model:"edp.grafana"},id:"1xiorre"},"1woleh6":{title:"create and maintain apps",source:{model:"developer"},target:{model:"edp.ui.backstage"},id:"1woleh6"},"177bm2y":{title:"pushes and pull images",source:{model:"developer"},target:{model:"edp.imageregistry"},id:"177bm2y"},"1l9a3pd":{title:"uses API",source:{model:"developer"},target:{model:"edp.api"},id:"1l9a3pd"},"1uzzn9j":{title:"uses git",source:{model:"developer"},target:{model:"edp.forgejogit"},id:"1uzzn9j"},lb4xas:{title:"act according to responibility",source:{model:"otherProductLifecycleRoles"},target:{model:"edp"},id:"lb4xas"},"1g2ebwc":{title:"uses your app",source:{model:"customers"},target:{model:"cloud"},id:"1g2ebwc"},nc44l9:{title:"app specific dependencies",source:{model:"enterprise"},target:{model:"cloud"},id:"nc44l9"},wsm3kf:{title:"builds many",source:{model:"edf"},target:{model:"edp"},id:"wsm3kf"},v8v12:{title:"develops EDP and EDF",source:{model:"platformdeveloper"},target:{model:"edf"},id:"v8v12"},"615gvx":{title:"integrates",source:{model:"edp"},target:{model:"enterprise"},id:"615gvx"},gerdx4:{title:"deploys and observes",source:{model:"edp"},target:{model:"cloud"},id:"gerdx4"},wvo8i:{title:"",source:{model:"edp"},target:{model:"localbox"},id:"wvo8i"},"1mp9fps":{title:"inner-outer-loop synchronization",source:{model:"localbox"},target:{model:"edp"},id:"1mp9fps"},"1abvxlh":{title:"company integration",source:{model:"localbox"},target:{model:"enterprise"},id:"1abvxlh"},"1ouysrh":{title:"writes documentation",description:{txt:"Creates and updates Markdown content"},source:{model:"documentor"},target:{model:"docPlatform.contentRepo.contentPages"},id:"1ouysrh"},fmzkfl:{title:"creates architecture models",description:{txt:"Defines C4 models with LikeC4 DSL"},source:{model:"documentor"},target:{model:"docPlatform.contentRepo.archModels"},id:"fmzkfl"},"1iop8z6":{title:"executes local tasks",description:{txt:"task serve, task build, task test"},source:{model:"documentor"},target:{model:"docPlatform.taskfile"},id:"1iop8z6"},"1h50i3u":{title:"starts",description:{txt:"task serve"},source:{model:"docPlatform.taskfile"},target:{model:"docPlatform.devServer"},id:"1h50i3u"},dg5rzk:{title:"renders",description:{txt:"Live reload on content changes"},source:{model:"docPlatform.devServer"},target:{model:"docPlatform.hugoSite"},id:"dg5rzk"},"1qbbmxu":{title:"reads content from",description:{txt:"Processes Markdown and templates"},source:{model:"docPlatform.hugoSite"},target:{model:"docPlatform.contentRepo"},id:"1qbbmxu"},"1oh42mx":{title:"integrates",description:{txt:"Embeds architecture diagrams"},source:{model:"docPlatform.hugoSite"},target:{model:"docPlatform.likec4Integration"},id:"1oh42mx"},"1a8c499":{title:"visualizes",description:{txt:"Renders C4 models as interactive diagrams"},source:{model:"docPlatform.likec4Integration"},target:{model:"docPlatform.contentRepo.archModels"},id:"1a8c499"},"1dzhdhu":{title:"can run locally",description:{txt:"task test:build"},source:{model:"docPlatform.taskfile"},target:{model:"cicdPipeline.githubActions.testBuild"},id:"1dzhdhu"},"14ls3qa":{title:"can run locally",description:{txt:"task test:markdown"},source:{model:"docPlatform.taskfile"},target:{model:"cicdPipeline.githubActions.testMarkdown"},id:"14ls3qa"},htx1q7:{title:"can run locally",description:{txt:"task test:html"},source:{model:"docPlatform.taskfile"},target:{model:"cicdPipeline.githubActions.testHtml"},id:"htx1q7"},"1vqq9gw":{title:"can run locally",description:{txt:"task test:links"},source:{model:"docPlatform.taskfile"},target:{model:"cicdPipeline.githubActions.testLinks"},id:"1vqq9gw"},"8hsu7m":{title:"triggers on push/PR",description:{txt:"Webhook on main branch"},source:{model:"docPlatform.contentRepo"},target:{model:"cicdPipeline.githubActions"},id:"8hsu7m"},omluoy:{title:"builds",description:{txt:"hugo --gc --minify"},source:{model:"cicdPipeline.githubActions.testBuild"},target:{model:"docPlatform.hugoSite"},id:"omluoy"},"11hmyp0":{title:"validates",description:{txt:"Lints Markdown files"},source:{model:"cicdPipeline.githubActions.testMarkdown"},target:{model:"docPlatform.contentRepo.contentPages"},id:"11hmyp0"},"1bziuh3":{title:"validates output",description:{txt:"Checks generated HTML"},source:{model:"cicdPipeline.githubActions.testHtml"},target:{model:"docPlatform.hugoSite"},id:"1bziuh3"},"9nq85f":{title:"checks links in",description:{txt:"Detects broken links"},source:{model:"cicdPipeline.githubActions.testLinks"},target:{model:"docPlatform.hugoSite"},id:"9nq85f"},"1knexmm":{title:"triggers on success",description:{txt:"Builds Docker image with Hugo output"},source:{model:"cicdPipeline.githubActions"},target:{model:"cicdPipeline.containerBuild"},id:"1knexmm"},"1nifn":{title:"packages",description:{txt:"public/ directory served by Nginx"},source:{model:"cicdPipeline.containerBuild"},target:{model:"docPlatform.hugoSite"},id:"1nifn"},"1hae5vm":{title:"pushes image to",description:{txt:"Tagged container image"},source:{model:"cicdPipeline.containerBuild"},target:{model:"deploymentEnv.edgeConnect"},id:"1hae5vm"},"3gelf9":{title:"deploys to",description:{txt:"Via edgeconnectdeployment.yaml"},source:{model:"deploymentEnv.edgeConnect"},target:{model:"deploymentEnv.k8sCluster"},id:"3gelf9"},"164u7gn":{title:"exposed by",description:{txt:"Port 80"},source:{model:"deploymentEnv.k8sCluster.docDeployment"},target:{model:"deploymentEnv.k8sCluster.docService"},id:"164u7gn"},otinu1:{title:"views published docs",description:{txt:"HTTPS access to live documentation"},source:{model:"documentor"},target:{model:"deploymentEnv.k8sCluster.docService"},id:"otinu1"}},globals:{predicates:{},dynamicPredicates:{},styles:{text_large:[{targets:[{wildcard:!0}],style:{size:"xl"}}]}},views:{overview:{_type:"element",tags:null,links:null,viewOf:"docPlatform",_stage:"layouted",sourcePath:"models/doc-platform/documentation-platform.c4",description:{txt:"High-level overview of the Hugo-based documentation platform for documentors"},title:"Documentation Platform Overview",id:"overview",autoLayout:{direction:"TB"},hash:"ee38e18e93593defec5a01081b1c1cb8614e9734",bounds:{x:0,y:0,width:1362,height:1851},nodes:[{id:"documentor",parent:null,level:0,children:[],inEdges:[],outEdges:["1it4ty8","1xegqy"],title:"Documentor",modelRef:"documentor",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"Content creator and maintainer of the developer platform documentation"},tags:[],technology:"Hugo, Markdown, LikeC4",kind:"person",x:788,y:0,width:320,height:180,labelBBox:{x:34,y:44,width:252,height:85}},{id:"cicdPipeline",parent:null,level:0,children:[],inEdges:["11swhvh","1yjnj9z"],outEdges:["1y7uioy","zvvnul"],title:"CI/CD Pipeline",modelRef:"cicdPipeline",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Automated testing and deployment pipeline"},tags:[],kind:"system",navigateTo:"cicdPipeline",x:841,y:1300,width:327,height:180,labelBBox:{x:18,y:63,width:292,height:48}},{id:"docPlatform",parent:null,level:0,children:["docPlatform.taskfile","docPlatform.devServer","docPlatform.hugoSite","docPlatform.likec4Integration","docPlatform.contentRepo"],inEdges:["1it4ty8","1xegqy","1y7uioy","zvvnul"],outEdges:["11swhvh","1yjnj9z"],title:"Documentation Platform",modelRef:"docPlatform",shape:"rectangle",color:"blue",style:{opacity:15,size:"md"},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},tags:[],kind:"system",depth:1,navigateTo:"localDevelopment",x:8,y:271,width:763,height:1572,labelBBox:{x:6,y:0,width:166,height:15}},{id:"docPlatform.taskfile",parent:"docPlatform",level:1,children:[],inEdges:["1xegqy"],outEdges:["1055tf","1yjnj9z"],title:"Taskfile",modelRef:"docPlatform.taskfile",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Task automation for local development, build, and testing"},tags:[],technology:"Task (go-task)",kind:"tool",x:389,y:332,width:341,height:180,labelBBox:{x:18,y:44,width:306,height:85}},{id:"docPlatform.devServer",parent:"docPlatform",level:1,children:[],inEdges:["1055tf"],outEdges:["zrlo7a"],title:"Development Server",modelRef:"docPlatform.devServer",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Local Hugo server with hot reload for content development"},tags:[],technology:"Hugo Server",kind:"process",x:391,y:655,width:338,height:180,labelBBox:{x:18,y:44,width:303,height:85}},{id:"docPlatform.hugoSite",parent:"docPlatform",level:1,children:[],inEdges:["1y7uioy","zrlo7a"],outEdges:["blbbud","o4y09i"],title:"Hugo Site",modelRef:"docPlatform.hugoSite",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Static site generator based on Hugo with Docsy theme"},tags:[],technology:"Hugo Extended, Docsy",kind:"component",x:400,y:978,width:320,height:180,labelBBox:{x:23,y:44,width:274,height:85}},{id:"docPlatform.likec4Integration",parent:"docPlatform",level:1,children:[],inEdges:["o4y09i"],outEdges:["ga3up5"],title:"LikeC4 Integration",modelRef:"docPlatform.likec4Integration",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Architecture diagram visualization embedded in documentation"},tags:[],technology:"LikeC4, Web Components",kind:"component",x:48,y:1300,width:339,height:180,labelBBox:{x:18,y:45,width:303,height:85}},{id:"docPlatform.contentRepo",parent:"docPlatform",level:1,children:[],inEdges:["1it4ty8","zvvnul","blbbud","ga3up5"],outEdges:["11swhvh"],title:"Content Repository",modelRef:"docPlatform.contentRepo",shape:"storage",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Markdown files, images, and configuration"},tags:[],technology:"Git, Markdown",kind:"repository",x:411,y:1623,width:320,height:180,labelBBox:{x:18,y:53,width:284,height:68}}],edges:[{id:"1it4ty8",source:"documentor",target:"docPlatform.contentRepo",label:"[...]",dotpos:"e,732.09,1678.6 1107.9,153.46 1214.5,206.72 1335,294.84 1335,421 1335,421 1335,421 1335,1391.4 1335,1519.2 967.26,1624.1 742.04,1676.3",points:[[1108,153],[1214,207],[1335,295],[1335,421],[1335,421],[1335,421],[1335,1391],[1335,1519],[967,1624],[742,1676]],labelBBox:{x:1336,y:893,width:25,height:18},parent:null,relations:["1ouysrh","fmzkfl"],color:"gray",line:"dashed",head:"normal"},{id:"1xegqy",source:"documentor",target:"docPlatform.taskfile",label:"executes local tasks",description:{txt:"task serve, task build, task test"},dotpos:"e,664.34,332.26 843.51,179.87 790.56,224.9 726.22,279.62 672.23,325.55",points:[[844,180],[791,225],[726,280],[672,326]],labelBBox:{x:767,y:240,width:129,height:18},parent:null,relations:["1iop8z6"],color:"gray",line:"dashed",head:"normal"},{id:"1y7uioy",source:"cicdPipeline",target:"docPlatform.hugoSite",label:"[...]",dotpos:"e,683.37,1157.5 881.78,1300.6 822.72,1258 751.91,1207 691.78,1163.6",points:[[882,1301],[823,1258],[752,1207],[692,1164]],labelBBox:{x:797,y:1216,width:25,height:18},parent:null,relations:["omluoy","1bziuh3","9nq85f","1nifn"],color:"gray",line:"dashed",head:"normal"},{id:"zvvnul",source:"cicdPipeline",target:"docPlatform.contentRepo",label:"validates",description:{txt:"Lints Markdown files"},dotpos:"e,732.04,1649.5 948.79,1480.2 927.52,1509.2 901.5,1539.8 873,1563.2 833.88,1595.3 786.7,1622.7 741.38,1644.9",points:[[949,1480],[928,1509],[902,1540],[873,1563],[834,1595],[787,1623],[741,1645]],labelBBox:{x:896,y:1540,width:59,height:18},parent:null,relations:["11hmyp0"],color:"gray",line:"dashed",head:"normal"},{id:"blbbud",source:"docPlatform.hugoSite",target:"docPlatform.contentRepo",label:"reads content from",description:{txt:"Processes Markdown and templates"},dotpos:"e,569.46,1622.2 561.52,1157.4 563.55,1276.5 567.16,1487.3 569.29,1611.9",points:[[562,1157],[564,1276],[567,1487],[569,1612]],labelBBox:{x:568,y:1379,width:121,height:18},parent:"docPlatform",relations:["1qbbmxu"],color:"gray",line:"dashed",head:"normal"},{id:"o4y09i",source:"docPlatform.hugoSite",target:"docPlatform.likec4Integration",label:"integrates",description:{txt:"Embeds architecture diagrams"},dotpos:"e,312.7,1300.6 465.19,1157.5 420.15,1199.8 366.26,1250.3 320.3,1293.4",points:[[465,1158],[420,1200],[366,1250],[320,1293]],labelBBox:{x:400,y:1217,width:65,height:18},parent:"docPlatform",relations:["1oh42mx"],color:"gray",line:"dashed",head:"normal"},{id:"zrlo7a",source:"docPlatform.devServer",target:"docPlatform.hugoSite",label:"renders",description:{txt:"Live reload on content changes"},dotpos:"e,560,977.77 560,834.73 560,875.93 560,925.04 560,967.43",points:[[560,835],[560,876],[560,925],[560,967]],labelBBox:{x:561,y:894,width:51,height:18},parent:"docPlatform",relations:["dg5rzk"],color:"gray",line:"dashed",head:"normal"},{id:"ga3up5",source:"docPlatform.likec4Integration",target:"docPlatform.contentRepo",label:"visualizes",description:{txt:"Renders C4 models as interactive diagrams"},dotpos:"e,473.25,1623.4 315.86,1480.3 362.44,1522.7 418.21,1573.3 465.7,1616.5",points:[[316,1480],[362,1523],[418,1573],[466,1617]],labelBBox:{x:406,y:1540,width:65,height:18},parent:"docPlatform",relations:["1a8c499"],color:"gray",line:"dashed",head:"normal"},{id:"1055tf",source:"docPlatform.taskfile",target:"docPlatform.devServer",label:"starts",description:{txt:"task serve"},dotpos:"e,560,654.97 560,511.93 560,553.13 560,602.24 560,644.63",points:[[560,512],[560,553],[560,602],[560,645]],labelBBox:{x:561,y:572,width:38,height:18},parent:"docPlatform",relations:["1h50i3u"],color:"gray",line:"dashed",head:"normal"},{id:"11swhvh",source:"docPlatform.contentRepo",target:"cicdPipeline",label:"triggers on push/PR",description:{txt:"Webhook on main branch"},dotpos:"e,841.2,1461.8 635.57,1622.6 658.89,1594.1 686.79,1563.9 716.27,1540.4 751.16,1512.6 792.06,1487.8 831.91,1466.7",points:[[636,1623],[659,1594],[687,1564],[716,1540],[751,1513],[792,1488],[832,1467]],labelBBox:{x:717,y:1540,width:128,height:18},parent:null,relations:["8hsu7m"],color:"gray",line:"dashed",head:"normal"},{id:"1yjnj9z",source:"docPlatform.taskfile",target:"cicdPipeline",label:"can run locally",dotpos:"e,992.23,1300.6 665.66,511.91 707.55,551.89 753.01,601.94 784,654.8 905.77,862.51 965.77,1143.2 990.51,1290.2",points:[[666,512],[708,552],[753,602],[784,655],[906,863],[966,1143],[991,1290]],labelBBox:{x:899,y:894,width:93,height:18},parent:null,relations:["1dzhdhu","14ls3qa","htx1q7","1vqq9gw"],color:"gray",line:"dashed",head:"normal"}]},localDevelopment:{_type:"element",tags:null,links:null,viewOf:"docPlatform",_stage:"layouted",sourcePath:"models/doc-platform/documentation-platform.c4",description:{txt:"How a documentor works locally with the documentation"},title:"Local Development Workflow",id:"localDevelopment",autoLayout:{direction:"TB"},hash:"26dc23444be44f6f2c03474a6c59133abd4e74b2",bounds:{x:0,y:0,width:1138,height:1851},nodes:[{id:"documentor",parent:null,level:0,children:[],inEdges:[],outEdges:["1xegqy"],title:"Documentor",modelRef:"documentor",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"Content creator and maintainer of the developer platform documentation"},tags:[],technology:"Hugo, Markdown, LikeC4",kind:"person",x:371,y:0,width:320,height:180,labelBBox:{x:34,y:44,width:252,height:85}},{id:"docPlatform",parent:null,level:0,children:["docPlatform.contentRepo","docPlatform.taskfile","docPlatform.devServer","docPlatform.hugoSite","docPlatform.likec4Integration"],inEdges:["1y7uioy","1xegqy"],outEdges:["11swhvh","1yjnj9z"],title:"Documentation Platform",modelRef:"docPlatform",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},tags:[],kind:"system",depth:1,navigateTo:"overview",x:8,y:271,width:762,height:1572,labelBBox:{x:6,y:0,width:166,height:15}},{id:"docPlatform.contentRepo",parent:"docPlatform",level:1,children:[],inEdges:["blbbud","ga3up5"],outEdges:["11swhvh"],title:"Content Repository",modelRef:"docPlatform.contentRepo",shape:"storage",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Markdown files, images, and configuration"},tags:[],technology:"Git, Markdown",kind:"repository",x:400,y:1623,width:320,height:180,labelBBox:{x:18,y:53,width:284,height:68}},{id:"docPlatform.taskfile",parent:"docPlatform",level:1,children:[],inEdges:["1xegqy"],outEdges:["1yjnj9z","1055tf"],title:"Taskfile",modelRef:"docPlatform.taskfile",shape:"rectangle",color:"amber",style:{opacity:15,size:"md"},description:{txt:"Task automation for local development, build, and testing"},tags:[],technology:"Task (go-task)",kind:"tool",x:360,y:332,width:341,height:180,labelBBox:{x:18,y:44,width:306,height:85}},{id:"cicdPipeline",parent:null,level:0,children:[],inEdges:["11swhvh","1yjnj9z"],outEdges:["1y7uioy"],title:"CI/CD Pipeline",modelRef:"cicdPipeline",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Automated testing and deployment pipeline"},tags:[],kind:"system",navigateTo:"cicdPipeline",x:810,y:655,width:327,height:180,labelBBox:{x:18,y:63,width:292,height:47}},{id:"docPlatform.devServer",parent:"docPlatform",level:1,children:[],inEdges:["1055tf"],outEdges:["zrlo7a"],title:"Development Server",modelRef:"docPlatform.devServer",shape:"rectangle",color:"amber",style:{opacity:15,size:"md"},description:{txt:"Local Hugo server with hot reload for content development"},tags:[],technology:"Hugo Server",kind:"process",x:362,y:655,width:338,height:180,labelBBox:{x:18,y:44,width:303,height:85}},{id:"docPlatform.hugoSite",parent:"docPlatform",level:1,children:[],inEdges:["1y7uioy","zrlo7a"],outEdges:["blbbud","o4y09i"],title:"Hugo Site",modelRef:"docPlatform.hugoSite",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Static site generator based on Hugo with Docsy theme"},tags:[],technology:"Hugo Extended, Docsy",kind:"component",x:371,y:978,width:320,height:180,labelBBox:{x:23,y:44,width:274,height:85}},{id:"docPlatform.likec4Integration",parent:"docPlatform",level:1,children:[],inEdges:["o4y09i"],outEdges:["ga3up5"],title:"LikeC4 Integration",modelRef:"docPlatform.likec4Integration",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Architecture diagram visualization embedded in documentation"},tags:[],technology:"LikeC4, Web Components",kind:"component",x:390,y:1300,width:339,height:180,labelBBox:{x:18,y:45,width:303,height:85}}],edges:[{id:"11swhvh",source:"docPlatform.contentRepo",target:"cicdPipeline",label:"triggers on push/PR",description:{txt:"Webhook on main branch"},dotpos:"e,965.98,834.65 666.92,1624.2 709.24,1584.3 754.89,1534.1 785,1480.4 901.46,1272.8 947.69,992.03 964.8,845",points:[[667,1624],[709,1584],[755,1534],[785,1480],[901,1273],[948,992],[965,845]],labelBBox:{x:891,y:1217,width:128,height:18},parent:null,relations:["8hsu7m"],color:"gray",line:"dashed",head:"normal"},{id:"1y7uioy",source:"cicdPipeline",target:"docPlatform.hugoSite",label:"[...]",dotpos:"e,653.67,977.77 851.19,834.73 792.37,877.33 721.89,928.37 662.04,971.71",points:[[851,835],[792,877],[722,928],[662,972]],labelBBox:{x:767,y:893,width:25,height:18},parent:null,relations:["omluoy","1bziuh3","9nq85f","1nifn"],color:"gray",line:"dashed",head:"normal"},{id:"blbbud",source:"docPlatform.hugoSite",target:"docPlatform.contentRepo",label:"reads content from",description:{txt:"Processes Markdown and templates"},dotpos:"e,399.21,1647.6 371.15,1143.6 309.79,1181.3 246.35,1233.5 212.28,1300.4 175.97,1371.7 174.53,1409.9 212.28,1480.4 250.61,1552 321.93,1605.3 390.06,1642.7",points:[[371,1144],[310,1181],[246,1233],[212,1300],[176,1372],[175,1410],[212,1480],[251,1552],[322,1605],[390,1643]],labelBBox:{x:213,y:1379,width:121,height:18},parent:"docPlatform",relations:["1qbbmxu"],color:"gray",line:"dashed",head:"normal"},{id:"o4y09i",source:"docPlatform.hugoSite",target:"docPlatform.likec4Integration",label:"integrates",description:{txt:"Embeds architecture diagrams"},dotpos:"e,551.97,1300.6 539.04,1157.5 542.76,1198.7 547.2,1247.8 551.04,1290.2",points:[[539,1158],[543,1199],[547,1248],[551,1290]],labelBBox:{x:547,y:1217,width:65,height:18},parent:"docPlatform",relations:["1oh42mx"],color:"gray",line:"dashed",head:"normal"},{id:"ga3up5",source:"docPlatform.likec4Integration",target:"docPlatform.contentRepo",label:"visualizes",description:{txt:"Renders C4 models as interactive diagrams"},dotpos:"e,560,1622.3 560,1480.3 560,1521.2 560,1569.8 560,1612",points:[[560,1480],[560,1521],[560,1570],[560,1612]],labelBBox:{x:561,y:1540,width:65,height:18},parent:"docPlatform",relations:["1a8c499"],color:"gray",line:"dashed",head:"normal"},{id:"1xegqy",source:"documentor",target:"docPlatform.taskfile",label:"executes local tasks",description:{txt:"task serve, task build, task test"},dotpos:"e,531,332.26 531,179.87 531,223.7 531,276.72 531,321.86",points:[[531,180],[531,224],[531,277],[531,322]],labelBBox:{x:532,y:240,width:129,height:18},parent:null,relations:["1iop8z6"],color:"gray",line:"dashed",head:"normal"},{id:"1yjnj9z",source:"docPlatform.taskfile",target:"cicdPipeline",label:"can run locally",dotpos:"e,851.33,654.97 653.81,511.93 712.63,554.53 783.11,605.57 842.96,648.91",points:[[654,512],[713,555],[783,606],[843,649]],labelBBox:{x:767,y:572,width:93,height:18},parent:null,relations:["1dzhdhu","14ls3qa","htx1q7","1vqq9gw"],color:"gray",line:"dashed",head:"normal"},{id:"1055tf",source:"docPlatform.taskfile",target:"docPlatform.devServer",label:"starts",description:{txt:"task serve"},dotpos:"e,531,654.97 531,511.93 531,553.13 531,602.24 531,644.63",points:[[531,512],[531,553],[531,602],[531,645]],labelBBox:{x:532,y:572,width:38,height:18},parent:"docPlatform",relations:["1h50i3u"],color:"gray",line:"dashed",head:"normal"},{id:"zrlo7a",source:"docPlatform.devServer",target:"docPlatform.hugoSite",label:"renders",description:{txt:"Live reload on content changes"},dotpos:"e,531,977.77 531,834.73 531,875.93 531,925.04 531,967.43",points:[[531,835],[531,876],[531,925],[531,967]],labelBBox:{x:532,y:894,width:51,height:18},parent:"docPlatform",relations:["dg5rzk"],color:"gray",line:"dashed",head:"normal"}]},cicdPipeline:{_type:"element",tags:null,links:null,viewOf:"cicdPipeline",_stage:"layouted",sourcePath:"models/doc-platform/documentation-platform.c4",description:{txt:"Automated testing and container build process"},title:"CI/CD Pipeline",id:"cicdPipeline",autoLayout:{direction:"TB"},hash:"150f9cc9e37c97380e3d5645a52229bf2e7cc7ae",bounds:{x:0,y:0,width:994,height:629},nodes:[{id:"cicdPipeline",parent:null,level:0,children:["cicdPipeline.githubActions","cicdPipeline.containerBuild"],inEdges:["cptcjf"],outEdges:["q5uigr","z85qw4","1n4aj6l"],title:"CI/CD Pipeline",modelRef:"cicdPipeline",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Automated testing and deployment pipeline"},tags:[],kind:"system",depth:1,x:29,y:8,width:957,height:281,labelBBox:{x:6,y:0,width:87,height:15}},{id:"cicdPipeline.githubActions",parent:"cicdPipeline",level:1,children:[],inEdges:["cptcjf"],outEdges:["hh1y8j","q5uigr","z85qw4"],title:"GitHub Actions",modelRef:"cicdPipeline.githubActions",shape:"rectangle",color:"blue",style:{opacity:15,size:"md"},description:{txt:"Automated testing workflow on push/PR"},tags:[],technology:"GitHub Actions",kind:"process",navigateTo:"testingCapabilities",x:69,y:69,width:320,height:180,labelBBox:{x:25,y:53,width:270,height:68}},{id:"cicdPipeline.containerBuild",parent:"cicdPipeline",level:1,children:[],inEdges:["hh1y8j"],outEdges:["1n4aj6l"],title:"Container Build",modelRef:"cicdPipeline.containerBuild",shape:"rectangle",color:"indigo",style:{opacity:15,size:"md"},description:{txt:"OCI/Docker image creation with Hugo site"},tags:[],technology:"Docker",kind:"process",x:626,y:69,width:320,height:180,labelBBox:{x:18,y:53,width:283,height:68}},{id:"docPlatform",parent:null,level:0,children:["docPlatform.hugoSite","docPlatform.contentRepo"],inEdges:["q5uigr","z85qw4","1n4aj6l"],outEdges:["cptcjf"],title:"Documentation Platform",modelRef:"docPlatform",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},tags:[],kind:"system",depth:1,navigateTo:"overview",x:8,y:340,width:953,height:281,labelBBox:{x:6,y:0,width:166,height:15}},{id:"docPlatform.hugoSite",parent:"docPlatform",level:1,children:[],inEdges:["z85qw4","1n4aj6l"],outEdges:["blbbud"],title:"Hugo Site",modelRef:"docPlatform.hugoSite",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Static site generator based on Hugo with Docsy theme"},tags:[],technology:"Hugo Extended, Docsy",kind:"component",x:601,y:401,width:320,height:180,labelBBox:{x:23,y:44,width:274,height:86}},{id:"docPlatform.contentRepo",parent:"docPlatform",level:1,children:[],inEdges:["q5uigr","blbbud"],outEdges:["cptcjf"],title:"Content Repository",modelRef:"docPlatform.contentRepo",shape:"storage",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Markdown files, images, and configuration"},tags:[],technology:"Git, Markdown",kind:"repository",x:48,y:401,width:320,height:180,labelBBox:{x:18,y:53,width:284,height:68}}],edges:[{id:"hh1y8j",source:"cicdPipeline.githubActions",target:"cicdPipeline.containerBuild",label:"triggers on success",description:{txt:"Builds Docker image with Hugo output"},dotpos:"e,626.08,159.2 388.99,159.2 460.05,159.2 543.78,159.2 615.98,159.2",points:[[389,159],[460,159],[544,159],[616,159]],labelBBox:{x:445,y:133,width:125,height:18},parent:"cicdPipeline",relations:["1knexmm"],color:"gray",line:"dashed",head:"normal"},{id:"q5uigr",source:"cicdPipeline.githubActions",target:"docPlatform.contentRepo",label:"validates",description:{txt:"Lints Markdown files"},dotpos:"e,76.672,404.78 94.421,249.05 76.739,266.78 61.164,286.91 50.745,309.2 36.065,340.6 47.577,370.73 69.795,397.09",points:[[94,249],[77,267],[61,287],[51,309],[36,341],[48,371],[70,397]],labelBBox:{x:52,y:309,width:59,height:18},parent:null,relations:["11hmyp0"],color:"gray",line:"dashed",head:"normal"},{id:"cptcjf",source:"docPlatform.contentRepo",target:"cicdPipeline.githubActions",label:"triggers on push/PR",description:{txt:"Webhook on main branch"},dotpos:"e,223.34,249.07 213.72,400.31 216.5,356.69 219.84,304.17 222.69,259.39",points:[[214,400],[217,357],[220,304],[223,259]],labelBBox:{x:220,y:309,width:128,height:18},parent:null,relations:["8hsu7m"],color:"gray",line:"dashed",head:"normal"},{id:"z85qw4",source:"cicdPipeline.githubActions",target:"docPlatform.hugoSite",label:"[...]",dotpos:"e,617.94,401.46 372.27,249.07 445.61,294.56 534.9,349.95 609.39,396.16",points:[[372,249],[446,295],[535,350],[609,396]],labelBBox:{x:496,y:308,width:25,height:18},parent:null,relations:["omluoy","1bziuh3","9nq85f"],color:"gray",line:"dashed",head:"normal"},{id:"1n4aj6l",source:"cicdPipeline.containerBuild",target:"docPlatform.hugoSite",label:"packages",description:{txt:"public/ directory served by Nginx"},dotpos:"e,767.72,401.46 779.27,249.07 775.95,292.9 771.93,345.92 768.51,391.06",points:[[779,249],[776,293],[772,346],[769,391]],labelBBox:{x:775,y:309,width:64,height:18},parent:null,relations:["1nifn"],color:"gray",line:"dashed",head:"normal"},{id:"blbbud",source:"docPlatform.hugoSite",target:"docPlatform.contentRepo",label:"reads content from",description:{txt:"Processes Markdown and templates"},dotpos:"e,369.07,491.2 601.07,491.2 531.6,491.2 450.12,491.2 379.42,491.2",points:[[601,491],[532,491],[450,491],[379,491]],labelBBox:{x:424,y:465,width:121,height:18},parent:"docPlatform",relations:["1qbbmxu"],color:"gray",line:"dashed",head:"normal"}]},deploymentFlow:{_type:"element",tags:null,links:null,_stage:"layouted",sourcePath:"models/doc-platform/documentation-platform.c4",description:{txt:"How the documentation is deployed to the edge infrastructure"},title:"Deployment to Edge Environment",id:"deploymentFlow",autoLayout:{direction:"TB"},hash:"5bb560fa035a478934e873c7566be1fce391f63d",bounds:{x:0,y:0,width:790,height:605},nodes:[{id:"cicdPipeline",parent:null,level:0,children:["cicdPipeline.containerBuild"],inEdges:[],outEdges:["l7mlxp"],title:"CI/CD Pipeline",modelRef:"cicdPipeline",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Automated testing and deployment pipeline"},tags:[],kind:"system",depth:1,navigateTo:"cicdPipeline",x:8,y:8,width:384,height:265,labelBBox:{x:6,y:0,width:87,height:15}},{id:"cicdPipeline.containerBuild",parent:"cicdPipeline",level:1,children:[],inEdges:[],outEdges:["l7mlxp"],title:"Container Build",modelRef:"cicdPipeline.containerBuild",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"OCI/Docker image creation with Hugo site"},tags:[],technology:"Docker",kind:"process",x:40,y:61,width:320,height:180,labelBBox:{x:18,y:53,width:283,height:68}},{id:"deploymentEnv",parent:null,level:0,children:["deploymentEnv.edgeConnect"],inEdges:["l7mlxp"],outEdges:[],title:"Deployment Environment",modelRef:"deploymentEnv",shape:"rectangle",color:"muted",style:{opacity:15,size:"md"},description:{txt:"Edge deployment infrastructure"},tags:[],kind:"system",depth:1,x:8,y:332,width:384,height:265,labelBBox:{x:6,y:0,width:165,height:15}},{id:"deploymentEnv.edgeConnect",parent:"deploymentEnv",level:1,children:[],inEdges:["l7mlxp"],outEdges:[],title:"Edge Connect",modelRef:"deploymentEnv.edgeConnect",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Edge deployment orchestration platform"},tags:[],technology:"EdgeConnect",kind:"system",x:40,y:385,width:320,height:180,labelBBox:{x:25,y:53,width:270,height:68}},{id:"documentor",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Documentor",modelRef:"documentor",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"Content creator and maintainer of the developer platform documentation"},tags:[],technology:"Hugo, Markdown, LikeC4",kind:"person",x:470,y:61,width:320,height:180,labelBBox:{x:34,y:44,width:252,height:86}}],edges:[{id:"l7mlxp",source:"cicdPipeline.containerBuild",target:"deploymentEnv.edgeConnect",label:"pushes image to",description:{txt:"Tagged container image"},dotpos:"e,200,385.37 200,241.04 200,282.57 200,332.18 200,374.94",points:[[200,241],[200,283],[200,332],[200,375]],labelBBox:{x:201,y:301,width:107,height:18},parent:null,relations:["1hae5vm"],color:"gray",line:"dashed",head:"normal"}]},fullWorkflow:{_type:"element",tags:null,links:null,_stage:"layouted",sourcePath:"models/doc-platform/documentation-platform.c4",description:{txt:"End-to-end view from content creation to published documentation"},title:"Complete Documentor Workflow",id:"fullWorkflow",autoLayout:{direction:"TB"},hash:"8631ea7a85e08fb10985eb22fbc25cff5a7ccc8d",bounds:{x:0,y:0,width:1364,height:1224},nodes:[{id:"documentor",parent:null,level:0,children:[],inEdges:[],outEdges:["1it4ty8","1xegqy","tvlbdk"],title:"Documentor",modelRef:"documentor",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"Content creator and maintainer of the developer platform documentation"},tags:[],technology:"Hugo, Markdown, LikeC4",kind:"person",x:563,y:0,width:320,height:180,labelBBox:{x:34,y:44,width:252,height:85}},{id:"docPlatform",parent:null,level:0,children:["docPlatform.contentRepo","docPlatform.taskfile"],inEdges:["1it4ty8","1xegqy","q5uigr"],outEdges:["cptcjf","1r2t3dd"],title:"Documentation Platform",modelRef:"docPlatform",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},tags:[],kind:"system",depth:1,navigateTo:"overview",x:82,y:271,width:852,height:281,labelBBox:{x:6,y:0,width:166,height:15}},{id:"docPlatform.contentRepo",parent:"docPlatform",level:1,children:[],inEdges:["1it4ty8","q5uigr"],outEdges:["cptcjf"],title:"Content Repository",modelRef:"docPlatform.contentRepo",shape:"storage",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Markdown files, images, and configuration"},tags:[],technology:"Git, Markdown",kind:"repository",x:122,y:332,width:320,height:180,labelBBox:{x:18,y:53,width:284,height:67}},{id:"docPlatform.taskfile",parent:"docPlatform",level:1,children:[],inEdges:["1xegqy"],outEdges:["1r2t3dd"],title:"Taskfile",modelRef:"docPlatform.taskfile",shape:"rectangle",color:"amber",style:{opacity:15,size:"md"},description:{txt:"Task automation for local development, build, and testing"},tags:[],technology:"Task (go-task)",kind:"tool",x:552,y:332,width:341,height:180,labelBBox:{x:18,y:44,width:306,height:85}},{id:"cicdPipeline",parent:null,level:0,children:["cicdPipeline.githubActions","cicdPipeline.containerBuild"],inEdges:["cptcjf","1r2t3dd"],outEdges:["q5uigr","l7mlxp"],title:"CI/CD Pipeline",modelRef:"cicdPipeline",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Automated testing and deployment pipeline"},tags:[],kind:"system",depth:1,navigateTo:"cicdPipeline",x:8,y:603,width:957,height:281,labelBBox:{x:6,y:0,width:87,height:15}},{id:"cicdPipeline.githubActions",parent:"cicdPipeline",level:1,children:[],inEdges:["cptcjf","1r2t3dd"],outEdges:["q5uigr","hh1y8j"],title:"GitHub Actions",modelRef:"cicdPipeline.githubActions",shape:"rectangle",color:"blue",style:{opacity:15,size:"md"},description:{txt:"Automated testing workflow on push/PR"},tags:[],technology:"GitHub Actions",kind:"process",navigateTo:"testingCapabilities",x:48,y:664,width:320,height:180,labelBBox:{x:25,y:53,width:270,height:67}},{id:"cicdPipeline.containerBuild",parent:"cicdPipeline",level:1,children:[],inEdges:["hh1y8j"],outEdges:["l7mlxp"],title:"Container Build",modelRef:"cicdPipeline.containerBuild",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"OCI/Docker image creation with Hugo site"},tags:[],technology:"Docker",kind:"process",x:605,y:664,width:320,height:180,labelBBox:{x:18,y:53,width:283,height:67}},{id:"deploymentEnv",parent:null,level:0,children:["deploymentEnv.edgeConnect","deploymentEnv.k8sCluster"],inEdges:["l7mlxp","tvlbdk"],outEdges:[],title:"Deployment Environment",modelRef:"deploymentEnv",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Edge deployment infrastructure"},tags:[],kind:"system",depth:1,x:456,y:935,width:900,height:281,labelBBox:{x:6,y:0,width:165,height:15}},{id:"deploymentEnv.edgeConnect",parent:"deploymentEnv",level:1,children:[],inEdges:["l7mlxp"],outEdges:["11aayil"],title:"Edge Connect",modelRef:"deploymentEnv.edgeConnect",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Edge deployment orchestration platform"},tags:[],technology:"EdgeConnect",kind:"system",x:496,y:996,width:320,height:180,labelBBox:{x:25,y:53,width:270,height:67}},{id:"deploymentEnv.k8sCluster",parent:"deploymentEnv",level:1,children:[],inEdges:["tvlbdk","11aayil"],outEdges:[],title:"Kubernetes Cluster",modelRef:"deploymentEnv.k8sCluster",shape:"rectangle",color:"secondary",style:{opacity:15,size:"md"},description:{txt:"K8s cluster on edge cloudlet (Munich)"},tags:[],technology:"Kubernetes",kind:"system",x:996,y:996,width:320,height:180,labelBBox:{x:33,y:53,width:255,height:67}}],edges:[{id:"1it4ty8",source:"documentor",target:"docPlatform.contentRepo",label:"[...]",dotpos:"e,398.3,333.97 604.24,179.87 543.08,225.63 468.55,281.41 406.57,327.78",points:[[604,180],[543,226],[469,281],[407,328]],labelBBox:{x:517,y:239,width:25,height:18},parent:null,relations:["1ouysrh","fmzkfl"],color:"gray",line:"dashed",head:"normal"},{id:"1xegqy",source:"documentor",target:"docPlatform.taskfile",label:"executes local tasks",description:{txt:"task serve, task build, task test"},dotpos:"e,723,332.26 723,179.87 723,223.7 723,276.72 723,321.86",points:[[723,180],[723,224],[723,277],[723,322]],labelBBox:{x:724,y:240,width:129,height:18},parent:null,relations:["1iop8z6"],color:"gray",line:"dashed",head:"normal"},{id:"cptcjf",source:"docPlatform.contentRepo",target:"cicdPipeline.githubActions",label:"triggers on push/PR",description:{txt:"Webhook on main branch"},dotpos:"e,227.93,664.14 261.88,512.74 252.07,556.48 240.25,609.2 230.18,654.09",points:[[262,513],[252,556],[240,609],[230,654]],labelBBox:{x:248,y:572,width:128,height:18},parent:null,relations:["8hsu7m"],color:"gray",line:"dashed",head:"normal"},{id:"1r2t3dd",source:"docPlatform.taskfile",target:"cicdPipeline.githubActions",label:"can run locally",dotpos:"e,346.49,664.26 584.31,511.87 513.46,557.27 427.23,612.52 355.2,658.68",points:[[584,512],[513,557],[427,613],[355,659]],labelBBox:{x:482,y:572,width:93,height:18},parent:null,relations:["1dzhdhu","14ls3qa","htx1q7","1vqq9gw"],color:"gray",line:"dashed",head:"normal"},{id:"q5uigr",source:"cicdPipeline.githubActions",target:"docPlatform.contentRepo",label:"validates",description:{txt:"Lints Markdown files"},dotpos:"e,190.36,512.35 160.53,664.25 150.58,634.62 145.95,601.61 156.75,572 163.3,554.02 173.08,536.7 184.34,520.64",points:[[161,664],[151,635],[146,602],[157,572],[163,554],[173,537],[184,521]],labelBBox:{x:158,y:572,width:59,height:18},parent:null,relations:["11hmyp0"],color:"gray",line:"dashed",head:"normal"},{id:"hh1y8j",source:"cicdPipeline.githubActions",target:"cicdPipeline.containerBuild",label:"triggers on success",description:{txt:"Builds Docker image with Hugo output"},dotpos:"e,605.08,754 367.99,754 439.05,754 522.78,754 594.98,754",points:[[368,754],[439,754],[523,754],[595,754]],labelBBox:{x:424,y:728,width:125,height:18},parent:"cicdPipeline",relations:["1knexmm"],color:"gray",line:"dashed",head:"normal"},{id:"l7mlxp",source:"cicdPipeline.containerBuild",target:"deploymentEnv.edgeConnect",label:"pushes image to",description:{txt:"Tagged container image"},dotpos:"e,685.31,996.26 735.65,843.87 721.11,887.89 703.51,941.16 688.56,986.43",points:[[736,844],[721,888],[704,941],[689,986]],labelBBox:{x:715,y:904,width:107,height:18},parent:null,relations:["1hae5vm"],color:"gray",line:"dashed",head:"normal"},{id:"tvlbdk",source:"documentor",target:"deploymentEnv.k8sCluster",label:"views published docs",description:{txt:"HTTPS access to live documentation"},dotpos:"e,1153.9,996.01 873.63,179.94 906.57,205.58 938.32,236.13 961,270.8 1108.8,496.63 1144.8,823.18 1153.4,985.55",points:[[874,180],[907,206],[938,236],[961,271],[1109,497],[1145,823],[1153,986]],labelBBox:{x:1096,y:572,width:136,height:18},parent:null,relations:["otinu1"],color:"gray",line:"dashed",head:"normal"},{id:"11aayil",source:"deploymentEnv.edgeConnect",target:"deploymentEnv.k8sCluster",label:"deploys to",description:{txt:"Via edgeconnectdeployment.yaml"},dotpos:"e,996,1086 815.92,1086 870.12,1086 930.84,1086 985.81,1086",points:[[816,1086],[870,1086],[931,1086],[986,1086]],labelBBox:{x:872,y:1060,width:68,height:18},parent:"deploymentEnv",relations:["3gelf9"],color:"gray",line:"dashed",head:"normal"}]},testingCapabilities:{_type:"element",tags:null,links:null,viewOf:"cicdPipeline.githubActions",_stage:"layouted",sourcePath:"models/doc-platform/documentation-platform.c4",description:{txt:"All automated tests that ensure documentation quality"},title:"Testing Capabilities",id:"testingCapabilities",autoLayout:{direction:"TB"},hash:"76ca10e2d3f66b60e0e770ed653c00e8c3dff101",bounds:{x:0,y:0,width:1845,height:629},nodes:[{id:"docPlatform",parent:null,level:0,children:["docPlatform.taskfile","docPlatform.hugoSite","docPlatform.contentRepo.contentPages"],inEdges:["4wakcq","ln4mn5","iktojz","1lhijkz"],outEdges:["1eaxawv","hv4xce","efibas","1e3oxi2"],title:"Documentation Platform",modelRef:"docPlatform",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},tags:[],kind:"system",depth:1,navigateTo:"overview",x:553,y:8,width:1284,height:281,labelBBox:{x:6,y:0,width:166,height:15}},{id:"docPlatform.taskfile",parent:"docPlatform",level:1,children:[],inEdges:[],outEdges:["1eaxawv","hv4xce","efibas","1e3oxi2"],title:"Taskfile",modelRef:"docPlatform.taskfile",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Task automation for local development, build, and testing"},tags:[],technology:"Task (go-task)",kind:"tool",x:1023,y:69,width:341,height:180,labelBBox:{x:18,y:44,width:306,height:86}},{id:"cicdPipeline.githubActions",parent:null,level:0,children:["cicdPipeline.githubActions.testBuild","cicdPipeline.githubActions.testHtml","cicdPipeline.githubActions.testLinks","cicdPipeline.githubActions.testMarkdown"],inEdges:["1eaxawv","hv4xce","efibas","1e3oxi2"],outEdges:["4wakcq","ln4mn5","iktojz","1lhijkz"],title:"GitHub Actions",modelRef:"cicdPipeline.githubActions",shape:"rectangle",color:"blue",style:{opacity:15,size:"md"},description:{txt:"Automated testing workflow on push/PR"},tags:[],technology:"GitHub Actions",kind:"process",depth:1,x:8,y:340,width:1690,height:281,labelBBox:{x:6,y:0,width:99,height:15}},{id:"cicdPipeline.githubActions.testBuild",parent:"cicdPipeline.githubActions",level:1,children:[],inEdges:["1eaxawv"],outEdges:["4wakcq"],title:"Build Test",modelRef:"cicdPipeline.githubActions.testBuild",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Hugo build validation"},tags:[],technology:"Hugo",kind:"component",x:48,y:401,width:320,height:180,labelBBox:{x:88,y:53,width:143,height:68}},{id:"cicdPipeline.githubActions.testHtml",parent:"cicdPipeline.githubActions",level:1,children:[],inEdges:["efibas"],outEdges:["ln4mn5"],title:"HTML Validation",modelRef:"cicdPipeline.githubActions.testHtml",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Generated HTML validation"},tags:[],technology:"htmlvalidate",kind:"component",x:908,y:401,width:320,height:180,labelBBox:{x:66,y:53,width:187,height:68}},{id:"cicdPipeline.githubActions.testLinks",parent:"cicdPipeline.githubActions",level:1,children:[],inEdges:["1e3oxi2"],outEdges:["iktojz"],title:"Link Checker",modelRef:"cicdPipeline.githubActions.testLinks",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Broken link detection"},tags:[],technology:"htmltest",kind:"component",x:478,y:401,width:320,height:180,labelBBox:{x:88,y:53,width:143,height:68}},{id:"cicdPipeline.githubActions.testMarkdown",parent:"cicdPipeline.githubActions",level:1,children:[],inEdges:["hv4xce"],outEdges:["1lhijkz"],title:"Markdown Lint",modelRef:"cicdPipeline.githubActions.testMarkdown",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Markdown syntax and style checking"},tags:[],technology:"markdownlint",kind:"component",x:1338,y:401,width:320,height:180,labelBBox:{x:36,y:53,width:248,height:68}},{id:"docPlatform.hugoSite",parent:"docPlatform",level:1,children:[],inEdges:["4wakcq","ln4mn5","iktojz"],outEdges:[],title:"Hugo Site",modelRef:"docPlatform.hugoSite",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Static site generator based on Hugo with Docsy theme"},tags:[],technology:"Hugo Extended, Docsy",kind:"component",x:593,y:69,width:320,height:180,labelBBox:{x:23,y:44,width:274,height:86}},{id:"docPlatform.contentRepo.contentPages",parent:"docPlatform",level:1,children:[],inEdges:["1lhijkz"],outEdges:[],title:"Content Pages",modelRef:"docPlatform.contentRepo.contentPages",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Documentation pages in Markdown format"},tags:[],technology:"Markdown",kind:"component",x:1475,y:69,width:321,height:180,labelBBox:{x:18,y:53,width:286,height:68}}],edges:[{id:"4wakcq",source:"cicdPipeline.githubActions.testBuild",target:"docPlatform.hugoSite",label:"builds",description:{txt:"hugo --gc --minify"},dotpos:"e,593.29,180.37 172.86,401.65 166.12,369.69 166.42,335.14 186.42,309.2 234.84,246.41 434.45,204.83 583.12,181.92",points:[[173,402],[166,370],[166,335],[186,309],[235,246],[434,205],[583,182]],labelBBox:{x:187,y:309,width:41,height:18},parent:null,relations:["omluoy"],color:"gray",line:"dashed",head:"normal"},{id:"ln4mn5",source:"cicdPipeline.githubActions.testHtml",target:"docPlatform.hugoSite",label:"validates output",description:{txt:"Checks generated HTML"},dotpos:"e,837.83,249.07 983.29,401.46 940.59,356.72 888.73,302.39 845.05,256.63",points:[[983,401],[941,357],[889,302],[845,257]],labelBBox:{x:912,y:309,width:102,height:18},parent:null,relations:["1bziuh3"],color:"gray",line:"dashed",head:"normal"},{id:"iktojz",source:"cicdPipeline.githubActions.testLinks",target:"docPlatform.hugoSite",label:"checks links in",description:{txt:"Detects broken links"},dotpos:"e,600.41,249.07 562.94,401.33 546.97,371.84 538.84,338.95 553.75,309.2 563.56,289.61 577.31,271.93 593.05,256.17",points:[[563,401],[547,372],[539,339],[554,309],[564,290],[577,272],[593,256]],labelBBox:{x:555,y:309,width:94,height:18},parent:null,relations:["9nq85f"],color:"gray",line:"dashed",head:"normal"},{id:"1lhijkz",source:"cicdPipeline.githubActions.testMarkdown",target:"docPlatform.contentRepo.contentPages",label:"validates",description:{txt:"Lints Markdown files"},dotpos:"e,1598.8,249.07 1535.1,401.46 1553.5,357.37 1575.9,303.96 1594.8,258.62",points:[[1535,401],[1554,357],[1576,304],[1595,259]],labelBBox:{x:1572,y:309,width:59,height:18},parent:null,relations:["11hmyp0"],color:"gray",line:"dashed",head:"normal"},{id:"1eaxawv",source:"docPlatform.taskfile",target:"cicdPipeline.githubActions.testBuild",label:"can run locally",description:{txt:"task test:build"},dotpos:"e,288.07,401.25 1062.5,249.2 1032.6,265.39 1000.2,280.03 968,289.2 851.77,322.34 537.34,265.89 424.51,309.2 376.79,327.52 332.01,360.97 295.69,394.17",points:[[1062,249],[1033,265],[1e3,280],[968,289],[852,322],[537,266],[425,309],[377,328],[332,361],[296,394]],labelBBox:{x:426,y:309,width:93,height:18},parent:null,relations:["1dzhdhu"],color:"gray",line:"dashed",head:"normal"},{id:"hv4xce",source:"docPlatform.taskfile",target:"cicdPipeline.githubActions.testMarkdown",label:"can run locally",description:{txt:"task test:markdown"},dotpos:"e,1416.3,401.46 1275.9,249.07 1317.1,293.82 1367.1,348.15 1409.3,393.9",points:[[1276,249],[1317,294],[1367,348],[1409,394]],labelBBox:{x:1347,y:309,width:93,height:18},parent:null,relations:["14ls3qa"],color:"gray",line:"dashed",head:"normal"},{id:"efibas",source:"docPlatform.taskfile",target:"cicdPipeline.githubActions.testHtml",label:"can run locally",description:{txt:"task test:html"},dotpos:"e,1101.9,401.46 1160.1,249.07 1143.3,293.09 1122.9,346.36 1105.6,391.63",points:[[1160,249],[1143,293],[1123,346],[1106,392]],labelBBox:{x:1136,y:309,width:93,height:18},parent:null,relations:["htx1q7"],color:"gray",line:"dashed",head:"normal"},{id:"1e3oxi2",source:"docPlatform.taskfile",target:"cicdPipeline.githubActions.testLinks",label:"can run locally",description:{txt:"task test:links"},dotpos:"e,685.67,401.5 1058.9,249.19 1029.9,264.85 998.74,279.29 968,289.2 887.4,315.19 852.51,268.01 778.51,309.2 743.41,328.74 714.14,361.02 691.56,392.96",points:[[1059,249],[1030,265],[999,279],[968,289],[887,315],[853,268],[779,309],[743,329],[714,361],[692,393]],labelBBox:{x:780,y:309,width:93,height:18},parent:null,relations:["1vqq9gw"],color:"gray",line:"dashed",head:"normal"}]},index:{_type:"deployment",tags:null,links:null,_stage:"layouted",sourcePath:"views/deployment/kind/kind.c4",description:null,title:"Local Kind Deployment",id:"index",autoLayout:{direction:"TB"},hash:"2567bb136f9a38fc393b5cf518bffb4ed976b0ed",bounds:{x:0,y:0,width:13187,height:1755},nodes:[{id:"local",parent:null,level:0,children:["local.ingressNginx","local.velero","local.crossplane","local.externalSecrets","local.monitoring","local.backstage","local.argocd","local.gitea","local.keycloak","local.openbao","local.fibonacci","local.mailhog","local.minio","local.spark.sparkoperator"],inEdges:[],outEdges:[],deploymentRef:"local",title:"Local kind-cluster",kind:"environment",technology:"Kind",color:"primary",shape:"rectangle",icon:"tech:kubernetes",description:{txt:"Local kind-cluster environment for EDP, typically run by edpbuilder"},tags:[],style:{opacity:15,size:"md"},depth:2,x:2267,y:8,width:10912,height:1102,labelBBox:{x:6,y:0,width:127,height:15}},{id:"otc-faas",parent:null,level:0,children:[],inEdges:[],outEdges:[],deploymentRef:"otc-faas",title:"OTC prototype FaaS",kind:"cloud",technology:"OTC",color:"primary",shape:"rectangle",description:{txt:"OTC environments for Prototype faaS."},tags:[],style:{opacity:15,size:"md"},x:0,y:150,width:320,height:180,labelBBox:{x:30,y:54,width:259,height:67}},{id:"edge",parent:null,level:0,children:[],inEdges:[],outEdges:[],deploymentRef:"edge",title:"Edge Cloud",kind:"cloud",technology:"Edge",color:"primary",shape:"rectangle",description:{txt:"Edge environments for distributed workloads."},tags:[],style:{opacity:15,size:"md"},x:450,y:150,width:340,height:180,labelBBox:{x:18,y:54,width:304,height:67}},{id:"otc-edpFoundry",parent:null,level:0,children:["otc-edpFoundry.forgejoRunnerInfrastructure","otc-edpFoundry.cce","otc-edpFoundry.workflowSetupEDPInfrastructure","otc-edpFoundry.workflowSetupArgoCDInfrastructure"],inEdges:[],outEdges:["r3wxut","1sng0q0","e3benz"],deploymentRef:"otc-edpFoundry",title:"OTC EDP Foundry Central Service clusters",kind:"cloud",technology:"OTC",color:"primary",shape:"rectangle",description:{txt:`OTC environments for the central EDP Foundry services. This is kubernetes clusters and other infrastructure like nodes and vms, and optionally platform services. All is set up by IaC terraform and edpbuilder. +and security scanning`},title:"Forgejo",kind:"container",id:"edp.forgejo"},"edp.forgejoActions":{style:{icon:"tech:go"},technology:"Golang",description:{txt:"Continuous Integration like Github Actions"},title:"Forgejo Actions",kind:"component",id:"edp.forgejoActions"},"edp.imageregistry":{style:{icon:"tech:go"},technology:"Golang",description:{txt:"Container Image Registry"},title:"Forgejo OCI Image Registry",kind:"component",id:"edp.imageregistry"},"edp.forgejogit":{style:{icon:"tech:git"},title:"ForgejoGit",kind:"component",id:"edp.forgejogit"},"edp.grafana":{style:{opacity:20,icon:"tech:grafana"},description:{txt:"Data visualization and monitoring"},title:"Grafana",kind:"container",id:"edp.grafana"},"edp.ingressNginx":{style:{opacity:20},tags:["internal"],description:{txt:"Ingress Controller for incoming http(s) traffic"},title:"Ingress",kind:"container",id:"edp.ingressNginx"},"edp.keycloak":{style:{opacity:20},description:{txt:"Single Sign On for all EDP products"},title:"Keycloak",kind:"container",id:"edp.keycloak"},"edp.kyverno":{style:{opacity:20},tags:["internal"],description:{txt:"Policy-as-Code"},title:"Kyverno",kind:"container",id:"edp.kyverno"},"edp.loki":{style:{opacity:20},description:{txt:"Log aggregation system"},title:"Loki",kind:"container",id:"edp.loki"},"edp.mailhog":{style:{opacity:20},description:{txt:"Web and API based SMTP testing"},title:"Mailhog",kind:"container",id:"edp.mailhog"},"edp.minio":{style:{opacity:20},description:{txt:"S3 compatible blob storage"},title:"Minio",kind:"container",id:"edp.minio"},"edp.monitoring":{style:{opacity:20},description:{txt:"Observability system to monitor deployed components"},title:"Monitoring",kind:"container",id:"edp.monitoring"},"edp.openbao":{style:{opacity:20},description:{txt:"Secure secret storage"},title:"OpenBao",kind:"container",id:"edp.openbao"},"edp.prometheus":{style:{opacity:20,icon:"tech:prometheus"},description:{txt:"Monitoring and alerting toolkit"},title:"Prometheus",kind:"container",id:"edp.prometheus"},"edp.spark":{style:{opacity:20},tags:["internal"],description:{txt:"Allows running Spark applications on K8s"},title:"Spark",kind:"container",id:"edp.spark"},"edp.velero":{style:{opacity:20},tags:["internal"],description:{txt:"Backup Kubernetes resources"},title:"Velero",kind:"container",id:"edp.velero"},"cloud.application":{style:{color:"primary"},technology:"DSL",description:{txt:"An application description"},title:"application",kind:"schema",id:"cloud.application"},"edp.application":{style:{color:"primary"},technology:"DSL",description:{txt:"An application description"},title:"application",kind:"schema",id:"edp.application"},"edp.testApp":{style:{opacity:20},description:{txt:"Testapp to validate deployments"},title:"Fibonacci",kind:"container",id:"edp.testApp"},"localbox.application":{style:{color:"primary"},technology:"DSL",description:{txt:"An application description"},title:"application",kind:"schema",id:"localbox.application"},"localbox.git":{style:{icon:"tech:git"},technology:"Git",description:{txt:"local git"},title:"git",kind:"component",id:"localbox.git"},"docPlatform.hugoSite":{style:{},technology:"Hugo Extended, Docsy",description:{txt:"Static site generator based on Hugo with Docsy theme"},title:"Hugo Site",kind:"component",id:"docPlatform.hugoSite"},"docPlatform.contentRepo":{style:{shape:"storage"},technology:"Git, Markdown",description:{txt:"Markdown files, images, and configuration"},title:"Content Repository",kind:"repository",id:"docPlatform.contentRepo"},"docPlatform.likec4Integration":{style:{},technology:"LikeC4, Web Components",description:{txt:"Architecture diagram visualization embedded in documentation"},title:"LikeC4 Integration",kind:"component",id:"docPlatform.likec4Integration"},"docPlatform.taskfile":{style:{},technology:"Task (go-task)",description:{txt:"Task automation for local development, build, and testing"},title:"Taskfile",kind:"tool",id:"docPlatform.taskfile"},"docPlatform.devServer":{style:{},technology:"Hugo Server",description:{txt:"Local Hugo server with hot reload for content development"},title:"Development Server",kind:"process",id:"docPlatform.devServer"},"cicdPipeline.githubActions":{style:{},technology:"GitHub Actions",description:{txt:"Automated testing workflow on push/PR"},title:"GitHub Actions",kind:"process",id:"cicdPipeline.githubActions"},"cicdPipeline.containerBuild":{style:{},technology:"Docker",description:{txt:"OCI/Docker image creation with Hugo site"},title:"Container Build",kind:"process",id:"cicdPipeline.containerBuild"},"deploymentEnv.edgeConnect":{style:{},technology:"EdgeConnect",description:{txt:"Edge deployment orchestration platform"},title:"Edge Connect",kind:"system",id:"deploymentEnv.edgeConnect"},"deploymentEnv.k8sCluster":{style:{},technology:"Kubernetes",description:{txt:"K8s cluster on edge cloudlet (Munich)"},title:"Kubernetes Cluster",kind:"system",id:"deploymentEnv.k8sCluster"},"edfbuilder_workflow.runEDP.createCrossplaneNS":{style:{},title:"Create Crossplane namespace",kind:"step",id:"edfbuilder_workflow.runEDP.createCrossplaneNS"},"edfbuilder_workflow.runEDP.installCrossplaneHelm":{style:{},title:"Install Crossplane Helm Chart",kind:"step",id:"edfbuilder_workflow.runEDP.installCrossplaneHelm"},"edfbuilder_workflow.runEDP.installCrossplaneFunctionsAndProviders":{style:{},title:"Install Crossplane Functions and Providers",kind:"step",id:"edfbuilder_workflow.runEDP.installCrossplaneFunctionsAndProviders"},"edfbuilder_workflow.runEDP.waitForCrossplaneFunctionsAndProviders":{style:{},title:"Wait for Crossplane Functions and Providers to become available",kind:"step",id:"edfbuilder_workflow.runEDP.waitForCrossplaneFunctionsAndProviders"},"edfbuilder_workflow.runEDP.setupCrossplaneServiceAccount":{style:{},title:"Apply cluster-admin role to crossplane shell provider service account",kind:"step",id:"edfbuilder_workflow.runEDP.setupCrossplaneServiceAccount"},"edfbuilder_workflow.runEDP.createArgoCdNS":{style:{},title:"Create ArgoCD namespace",kind:"step",id:"edfbuilder_workflow.runEDP.createArgoCdNS"},"edfbuilder_workflow.runEDP.createGiteaNS":{style:{},title:"Create Gitea namespace",kind:"step",id:"edfbuilder_workflow.runEDP.createGiteaNS"},"edfbuilder_workflow.runEDP.createArgoCdTlsCert":{style:{},title:"Create TLS Cert for Argo",kind:"step",id:"edfbuilder_workflow.runEDP.createArgoCdTlsCert"},"edfbuilder_workflow.runEDP.createGiteaTlsCert":{style:{},title:"Create TLS Cert for Forgejo",kind:"step",id:"edfbuilder_workflow.runEDP.createGiteaTlsCert"},"edfbuilder_workflow.runEDP.createEDFBuilderDefinition":{style:{},title:"Create EDFbuilder crossplane definition (defines API)",kind:"step",id:"edfbuilder_workflow.runEDP.createEDFBuilderDefinition"},"edfbuilder_workflow.runEDP.createEDFBuilderComposition":{style:{},title:"Create EDFbuilder crossplane composition (defines what happens when EDFbuilder is applied)",kind:"step",id:"edfbuilder_workflow.runEDP.createEDFBuilderComposition"},"edfbuilder_workflow.applyEDFBuilder.setEnvVars":{style:{},title:"Set required environment variables",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.setEnvVars"},"edfbuilder_workflow.applyEDFBuilder.readWriteKubeConf":{style:{},title:"Make kube.conf write/readbale",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.readWriteKubeConf"},"edfbuilder_workflow.applyEDFBuilder.setWorkDir":{style:{},title:"Set workdir to /tmp/rundir",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.setWorkDir"},"edfbuilder_workflow.applyEDFBuilder.cloneStacksRepo":{style:{},title:"Clone steps repo and checkout desired branch",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.cloneStacksRepo"},"edfbuilder_workflow.applyEDFBuilder.hydrateStacksWithValues":{style:{},title:"Hydrate Stacks with values",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.hydrateStacksWithValues"},"edfbuilder_workflow.applyEDFBuilder.createNamespaces":{style:{},title:"Create all required namespaces",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.createNamespaces"},"edfbuilder_workflow.applyEDFBuilder.createGiteaAdminPass":{style:{},title:"Create Admin Password for Forgejo",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.createGiteaAdminPass"},"edfbuilder_workflow.applyEDFBuilder.createGrafanaPass":{style:{},title:"Create Grafana Admin Password",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.createGrafanaPass"},"edfbuilder_workflow.applyEDFBuilder.applyServiceMonitorCRD":{style:{},title:"Apply ServiceMonitor CRDs for Prometheus",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.applyServiceMonitorCRD"},"edfbuilder_workflow.applyEDFBuilder.cloneIngressNginxChart":{style:{},title:"Git clone ingress-nginx helm chart",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.cloneIngressNginxChart"},"edfbuilder_workflow.applyEDFBuilder.isntallIngressNginx":{style:{},title:"Install ingress-nginx from cloned chart",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.isntallIngressNginx"},"edfbuilder_workflow.applyEDFBuilder.waitForIngress":{style:{},title:"Wait till ingress-nginx is ready",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.waitForIngress"},"edfbuilder_workflow.applyEDFBuilder.cloneArgoCDHelm":{style:{},title:"Git clone ArgoCD Helm Chart",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.cloneArgoCDHelm"},"edfbuilder_workflow.applyEDFBuilder.installArgoCD":{style:{},title:"Install ArgoCD Helm Chart",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.installArgoCD"},"edfbuilder_workflow.applyEDFBuilder.installArgoCDIngress":{style:{},title:"Install ingress for ArgoCD",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.installArgoCDIngress"},"edfbuilder_workflow.applyEDFBuilder.cloneForgejoHelmChart":{style:{},title:"Git clone Forgejo Helm Chart",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.cloneForgejoHelmChart"},"edfbuilder_workflow.applyEDFBuilder.installForgejo":{style:{},title:"Install Forgejo Helm Chart",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.installForgejo"},"edfbuilder_workflow.applyEDFBuilder.installForgejoIngress":{style:{},title:"Install ingress for Forgejo",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.installForgejoIngress"},"edfbuilder_workflow.applyEDFBuilder.waitForArgoCD":{style:{},title:"Wait till ArgoCD is available",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.waitForArgoCD"},"edfbuilder_workflow.applyEDFBuilder.waitForForgejo":{style:{},title:"Wait till Forgejo is available",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.waitForForgejo"},"edfbuilder_workflow.applyEDFBuilder.createForgejoUser":{style:{},title:"Create technical user for Forgejo",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.createForgejoUser"},"edfbuilder_workflow.applyEDFBuilder.createForgejoRepo":{style:{},title:"Create repository for EDP state in Forgejo",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.createForgejoRepo"},"edfbuilder_workflow.applyEDFBuilder.installForgejoRunner":{style:{},title:"Install Forgejo Runner deployment",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.installForgejoRunner"},"edfbuilder_workflow.applyEDFBuilder.registerForgejoRunner":{style:{},title:"Create registration token secret for runner",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.registerForgejoRunner"},"edfbuilder_workflow.applyEDFBuilder.configGitIdentity":{style:{},title:"Configure Git identity",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.configGitIdentity"},"edfbuilder_workflow.applyEDFBuilder.configCrossplaneArgoCDProvider":{style:{},title:"Configure Crossplane ArgoCD provider",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.configCrossplaneArgoCDProvider"},"edfbuilder_workflow.applyEDFBuilder.configCrossplaneKindProvider":{style:{},title:"Configure Crossplane Kind provider",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.configCrossplaneKindProvider"},"edfbuilder_workflow.applyEDFBuilder.uploadStacksToForgjo":{style:{},title:"Git push hydrated stacks to Forgejo isntance",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.uploadStacksToForgjo"},"edfbuilder_workflow.applyEDFBuilder.configArgoDockerRegistry":{style:{},title:"Configure Docker Registry for Argo Workflows",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.configArgoDockerRegistry"},"edfbuilder_workflow.applyEDFBuilder.createPackagesForgejoUser":{style:{},title:"Create packages user and token in Forgejo (unused?)",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.createPackagesForgejoUser"},"edfbuilder_workflow.applyEDFBuilder.installArgoCDStacks":{style:{},title:"Apply all selected ArgoCD stacks",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.installArgoCDStacks"},"edfbuilder_workflow.applyEDFBuilder.cleanup":{style:{},title:"Cleanup work folder and unset all env vars",kind:"step",id:"edfbuilder_workflow.applyEDFBuilder.cleanup"},"edp.argoCD.argocdServer":{style:{},title:"ArgoCD Server",kind:"component",id:"edp.argoCD.argocdServer"},"edp.argoCD.argocdAppController":{style:{},title:"ApplicationController",kind:"component",id:"edp.argoCD.argocdAppController"},"edp.argoCD.argocdAppSetController":{style:{},title:"ApplicationSeetController",kind:"component",id:"edp.argoCD.argocdAppSetController"},"edp.argoCD.argocdRedis":{style:{icon:"tech:redis"},technology:"Redis",title:"Redis",kind:"component",id:"edp.argoCD.argocdRedis"},"edp.argoCD.argocdRepoServer":{style:{},title:"Repo Server",kind:"component",id:"edp.argoCD.argocdRepoServer"},"edp.ui.backstage":{style:{icon:"tech:react",shape:"browser"},title:"Backstage",kind:"component",id:"edp.ui.backstage"},"edp.ui.database":{style:{shape:"storage",icon:"tech:postgresql"},technology:"Postgresql",title:"Database",kind:"component",id:"edp.ui.database"},"edp.crossplane.crossplane":{style:{},title:"Crossplane",kind:"component",id:"edp.crossplane.crossplane"},"edp.crossplane.crossplaneFunction":{style:{},title:"Function Patch and Transform",kind:"component",id:"edp.crossplane.crossplaneFunction"},"edp.crossplane.crossplaneRbacManager":{style:{},title:"RBAC Manager",kind:"component",id:"edp.crossplane.crossplaneRbacManager"},"edp.crossplane.providerArgoCD":{style:{},title:"ArgoCD Provider",kind:"component",id:"edp.crossplane.providerArgoCD"},"edp.crossplane.providerKind":{style:{},title:"Kind Provider",kind:"component",id:"edp.crossplane.providerKind"},"edp.crossplane.providerShell":{style:{},title:"Shell Provider",kind:"component",id:"edp.crossplane.providerShell"},"edp.externalSecrets.externalSecrets":{style:{},title:"external-secrets controller",kind:"component",id:"edp.externalSecrets.externalSecrets"},"edp.externalSecrets.certController":{style:{},title:"cert-controller",kind:"component",id:"edp.externalSecrets.certController"},"edp.externalSecrets.webhook":{style:{},title:"webhook",kind:"component",id:"edp.externalSecrets.webhook"},"edp.forgejo.forgejocollaboration":{style:{icon:"tech:github"},title:"Collaboration",kind:"component",id:"edp.forgejo.forgejocollaboration"},"edp.forgejo.forgejoproject":{style:{icon:"tech:github"},title:"Project Mgmt",kind:"component",id:"edp.forgejo.forgejoproject"},"edp.ingressNginx.ingressNginx":{style:{icon:"tech:nginx"},technology:"Nginx",title:"ingress-nginx",kind:"component",id:"edp.ingressNginx.ingressNginx"},"edp.keycloak.keycloak":{style:{icon:"tech:java"},technology:"Java",title:"Keycloak",kind:"component",id:"edp.keycloak.keycloak"},"edp.keycloak.keycloakDB":{style:{shape:"storage",icon:"tech:postgresql"},technology:"Postgresql",title:"Database",kind:"component",id:"edp.keycloak.keycloakDB"},"edp.mailhog.mailhog":{style:{icon:"tech:go"},technology:"Golang",title:"Mailhog",kind:"component",id:"edp.mailhog.mailhog"},"edp.minio.minio":{style:{shape:"storage"},technology:"Minio",title:"S3 Blob Storage",kind:"component",id:"edp.minio.minio"},"edp.monitoring.alloy":{style:{icon:"tech:grafana",multiple:!0},description:{txt:"Open Telemetry Collector"},title:"Alloy",kind:"component",id:"edp.monitoring.alloy"},"edp.monitoring.loki":{style:{opacity:20,icon:"tech:grafana"},description:{txt:"Log aggregation system"},title:"Loki",kind:"container",id:"edp.monitoring.loki"},"edp.openbao.openbao":{style:{shape:"storage"},technology:"Openbao",title:"Openbao",kind:"component",id:"edp.openbao.openbao"},"edp.openbao.agentInjector":{style:{},title:"Agent Injector",kind:"component",id:"edp.openbao.agentInjector"},"edp.spark.sparkoperator":{style:{icon:"tech:spark"},technology:"Spark",title:"Spark Operator",kind:"component",id:"edp.spark.sparkoperator"},"edp.velero.velero":{style:{},title:"Velero",kind:"component",id:"edp.velero.velero"},"edp.testApp.fibonacci":{style:{icon:"tech:go"},technology:"Golang",title:"Fibonacci",kind:"component",id:"edp.testApp.fibonacci"},"docPlatform.contentRepo.contentPages":{style:{},technology:"Markdown",description:{txt:"Documentation pages in Markdown format"},title:"Content Pages",kind:"component",id:"docPlatform.contentRepo.contentPages"},"docPlatform.contentRepo.archModels":{style:{},technology:"LikeC4 DSL",description:{txt:"LikeC4 architecture models and views"},title:"Architecture Models",kind:"component",id:"docPlatform.contentRepo.archModels"},"docPlatform.contentRepo.assets":{style:{},technology:"CSS, JavaScript",description:{txt:"CSS, JavaScript, images, fonts"},title:"Static Assets",kind:"component",id:"docPlatform.contentRepo.assets"},"cicdPipeline.githubActions.testBuild":{style:{},technology:"Hugo",description:{txt:"Hugo build validation"},title:"Build Test",kind:"component",id:"cicdPipeline.githubActions.testBuild"},"cicdPipeline.githubActions.testMarkdown":{style:{},technology:"markdownlint",description:{txt:"Markdown syntax and style checking"},title:"Markdown Lint",kind:"component",id:"cicdPipeline.githubActions.testMarkdown"},"cicdPipeline.githubActions.testHtml":{style:{},technology:"htmlvalidate",description:{txt:"Generated HTML validation"},title:"HTML Validation",kind:"component",id:"cicdPipeline.githubActions.testHtml"},"cicdPipeline.githubActions.testLinks":{style:{},technology:"htmltest",description:{txt:"Broken link detection"},title:"Link Checker",kind:"component",id:"cicdPipeline.githubActions.testLinks"},"deploymentEnv.k8sCluster.docService":{style:{},technology:"K8s Service",description:{txt:"LoadBalancer service exposing docs on port 80"},title:"Documentation Service",kind:"component",id:"deploymentEnv.k8sCluster.docService"},"deploymentEnv.k8sCluster.docDeployment":{style:{},technology:"K8s Deployment, Nginx",description:{txt:"Pod running Hugo-generated static site"},title:"Documentation Deployment",kind:"component",id:"deploymentEnv.k8sCluster.docDeployment"},"edp.monitoring.loki.queryFrontend":{style:{},title:"Query Frontend",kind:"component",id:"edp.monitoring.loki.queryFrontend"},"edp.monitoring.loki.distributor":{style:{},title:"Distributor",kind:"component",id:"edp.monitoring.loki.distributor"},"edp.monitoring.loki.gateway":{style:{},title:"Gateway",kind:"component",id:"edp.monitoring.loki.gateway"},"edp.monitoring.loki.ingestor":{style:{},title:"Ingestor",kind:"component",id:"edp.monitoring.loki.ingestor"},"edp.monitoring.loki.querier":{style:{},title:"Querier",kind:"component",id:"edp.monitoring.loki.querier"}},relations:{zgprrj:{title:"",source:{model:"edfbuilder_workflow.runEDP.createCrossplaneNS"},target:{model:"edfbuilder_workflow.runEDP.installCrossplaneHelm"},id:"zgprrj"},hkqe1q:{title:"",source:{model:"edfbuilder_workflow.runEDP.installCrossplaneHelm"},target:{model:"edfbuilder_workflow.runEDP.installCrossplaneFunctionsAndProviders"},id:"hkqe1q"},"7hhs3w":{title:"",source:{model:"edfbuilder_workflow.runEDP.installCrossplaneFunctionsAndProviders"},target:{model:"edfbuilder_workflow.runEDP.waitForCrossplaneFunctionsAndProviders"},id:"7hhs3w"},xjeqlb:{title:"",source:{model:"edfbuilder_workflow.runEDP.waitForCrossplaneFunctionsAndProviders"},target:{model:"edfbuilder_workflow.runEDP.setupCrossplaneServiceAccount"},id:"xjeqlb"},"1nhvr49":{title:"",source:{model:"edfbuilder_workflow.runEDP.setupCrossplaneServiceAccount"},target:{model:"edfbuilder_workflow.runEDP.createArgoCdNS"},id:"1nhvr49"},i203to:{title:"",source:{model:"edfbuilder_workflow.runEDP.createArgoCdNS"},target:{model:"edfbuilder_workflow.runEDP.createGiteaNS"},id:"i203to"},"1b9cczp":{title:"",source:{model:"edfbuilder_workflow.runEDP.createGiteaNS"},target:{model:"edfbuilder_workflow.runEDP.createArgoCdTlsCert"},id:"1b9cczp"},i514he:{title:"",source:{model:"edfbuilder_workflow.runEDP.createArgoCdTlsCert"},target:{model:"edfbuilder_workflow.runEDP.createGiteaTlsCert"},id:"i514he"},"13ashxq":{title:"",source:{model:"edfbuilder_workflow.runEDP.createGiteaTlsCert"},target:{model:"edfbuilder_workflow.runEDP.createEDFBuilderDefinition"},id:"13ashxq"},"14kigg4":{title:"",source:{model:"edfbuilder_workflow.runEDP.createEDFBuilderDefinition"},target:{model:"edfbuilder_workflow.runEDP.createEDFBuilderComposition"},id:"14kigg4"},"1y9fees":{title:"",source:{model:"edfbuilder_workflow.runEDP.createEDFBuilderComposition"},target:{model:"edfbuilder_workflow.applyEDFBuilder"},id:"1y9fees"},"1pfgmn3":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.setEnvVars"},target:{model:"edfbuilder_workflow.applyEDFBuilder.readWriteKubeConf"},id:"1pfgmn3"},"11gwuq3":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.readWriteKubeConf"},target:{model:"edfbuilder_workflow.applyEDFBuilder.setWorkDir"},id:"11gwuq3"},"1ddvozk":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.setWorkDir"},target:{model:"edfbuilder_workflow.applyEDFBuilder.cloneStacksRepo"},id:"1ddvozk"},c4bphp:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.cloneStacksRepo"},target:{model:"edfbuilder_workflow.applyEDFBuilder.hydrateStacksWithValues"},id:"c4bphp"},"22u12c":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.hydrateStacksWithValues"},target:{model:"edfbuilder_workflow.applyEDFBuilder.createNamespaces"},id:"22u12c"},"1veymj5":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.createNamespaces"},target:{model:"edfbuilder_workflow.applyEDFBuilder.createGiteaAdminPass"},id:"1veymj5"},"1bx48yr":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.createGiteaAdminPass"},target:{model:"edfbuilder_workflow.applyEDFBuilder.createGrafanaPass"},id:"1bx48yr"},pbq0ly:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.createGrafanaPass"},target:{model:"edfbuilder_workflow.applyEDFBuilder.applyServiceMonitorCRD"},id:"pbq0ly"},"1tj029j":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.applyServiceMonitorCRD"},target:{model:"edfbuilder_workflow.applyEDFBuilder.cloneIngressNginxChart"},id:"1tj029j"},ukdpc6:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.cloneIngressNginxChart"},target:{model:"edfbuilder_workflow.applyEDFBuilder.isntallIngressNginx"},id:"ukdpc6"},tm63b8:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.isntallIngressNginx"},target:{model:"edfbuilder_workflow.applyEDFBuilder.waitForIngress"},id:"tm63b8"},mnqt5q:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.waitForIngress"},target:{model:"edfbuilder_workflow.applyEDFBuilder.cloneArgoCDHelm"},id:"mnqt5q"},c3zfur:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.cloneArgoCDHelm"},target:{model:"edfbuilder_workflow.applyEDFBuilder.installArgoCD"},id:"c3zfur"},"157ptzn":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.installArgoCD"},target:{model:"edfbuilder_workflow.applyEDFBuilder.installArgoCDIngress"},id:"157ptzn"},"8kcuka":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.installArgoCDIngress"},target:{model:"edfbuilder_workflow.applyEDFBuilder.cloneForgejoHelmChart"},id:"8kcuka"},"5sub2k":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.cloneForgejoHelmChart"},target:{model:"edfbuilder_workflow.applyEDFBuilder.installForgejo"},id:"5sub2k"},z8qrfi:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.installForgejo"},target:{model:"edfbuilder_workflow.applyEDFBuilder.installForgejoIngress"},id:"z8qrfi"},"1dqe9ri":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.installForgejoIngress"},target:{model:"edfbuilder_workflow.applyEDFBuilder.waitForArgoCD"},id:"1dqe9ri"},"12iu5vk":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.waitForArgoCD"},target:{model:"edfbuilder_workflow.applyEDFBuilder.waitForForgejo"},id:"12iu5vk"},"1xhuuis":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.waitForForgejo"},target:{model:"edfbuilder_workflow.applyEDFBuilder.createForgejoUser"},id:"1xhuuis"},vhezff:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.createForgejoUser"},target:{model:"edfbuilder_workflow.applyEDFBuilder.createForgejoRepo"},id:"vhezff"},"1dow3tq":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.createForgejoRepo"},target:{model:"edfbuilder_workflow.applyEDFBuilder.installForgejoRunner"},id:"1dow3tq"},"1k46mx8":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.installForgejoRunner"},target:{model:"edfbuilder_workflow.applyEDFBuilder.registerForgejoRunner"},id:"1k46mx8"},f5bybq:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.registerForgejoRunner"},target:{model:"edfbuilder_workflow.applyEDFBuilder.configGitIdentity"},id:"f5bybq"},"8g1uqn":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.configGitIdentity"},target:{model:"edfbuilder_workflow.applyEDFBuilder.configCrossplaneArgoCDProvider"},id:"8g1uqn"},"9c504z":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.configCrossplaneArgoCDProvider"},target:{model:"edfbuilder_workflow.applyEDFBuilder.configCrossplaneKindProvider"},id:"9c504z"},"19gp6kf":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.configCrossplaneKindProvider"},target:{model:"edfbuilder_workflow.applyEDFBuilder.uploadStacksToForgjo"},id:"19gp6kf"},h55zvp:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.uploadStacksToForgjo"},target:{model:"edfbuilder_workflow.applyEDFBuilder.configArgoDockerRegistry"},id:"h55zvp"},"1b7dj03":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.configArgoDockerRegistry"},target:{model:"edfbuilder_workflow.applyEDFBuilder.createPackagesForgejoUser"},id:"1b7dj03"},"1bk65oi":{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.createPackagesForgejoUser"},target:{model:"edfbuilder_workflow.applyEDFBuilder.installArgoCDStacks"},id:"1bk65oi"},rsncrl:{title:"",source:{model:"edfbuilder_workflow.applyEDFBuilder.installArgoCDStacks"},target:{model:"edfbuilder_workflow.applyEDFBuilder.cleanup"},id:"rsncrl"},"18dtot7":{title:"register",source:{model:"forgejoRunner"},target:{model:"edp.forgejoActions"},id:"18dtot7"},"1oxlsu0":{title:"boots one",source:{model:"edfbuilder"},target:{model:"edf"},id:"1oxlsu0"},s1l7g7:{title:"runs",source:{model:"platformdeveloper"},target:{model:"edfbuilder"},id:"s1l7g7"},yfhhi5:{title:"read/write",source:{model:"edp.argoCD.argocdServer"},target:{model:"edp.argoCD.argocdRedis"},id:"yfhhi5"},iullhy:{title:"read/write",source:{model:"edp.argoCD.argocdRepoServer"},target:{model:"edp.argoCD.argocdRedis"},id:"iullhy"},"10vkxaf":{title:"read/write",source:{model:"edp.argoCD.argocdAppController"},target:{model:"edp.argoCD.argocdRedis"},id:"10vkxaf"},i8z0mi:{title:"read/write",source:{model:"edp.argoCD.argocdAppSetController"},target:{model:"edp.argoCD.argocdRedis"},id:"i8z0mi"},"6mupa0":{title:"Syncs git repo",source:{model:"edp.argoCD.argocdRepoServer"},target:{model:"edp.forgejogit"},id:"6mupa0"},c23sak:{title:"reads/writes",source:{model:"edp.ui.backstage"},target:{model:"edp.ui.database"},id:"c23sak"},"1pbc22f":{title:"runs workflows",source:{model:"edp.forgejoActions"},target:{model:"forgejoRunner"},id:"1pbc22f"},"13uvtiq":{title:"get metrics and alerts",source:{model:"edp.grafana"},target:{model:"edp.prometheus"},id:"13uvtiq"},"1n1utzc":{title:"get logs",source:{model:"edp.grafana"},target:{model:"edp.loki"},id:"1n1utzc"},"123efwn":{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.forgejo"},id:"123efwn"},h3rut2:{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.keycloak.keycloak"},id:"h3rut2"},"1p30hav":{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.openbao.openbao"},id:"1p30hav"},"1yssos5":{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.argoCD.argocdServer"},id:"1yssos5"},v8c8aq:{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.ui.backstage"},id:"v8c8aq"},fe65w2:{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.minio.minio"},id:"fe65w2"},"1jvab2g":{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.monitoring.alloy"},id:"1jvab2g"},fs60l7:{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.monitoring.loki.queryFrontend"},id:"fs60l7"},"1i5f8um":{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.testApp.fibonacci"},id:"1i5f8um"},ofdedh:{title:"https",source:{model:"edp.ingressNginx.ingressNginx"},target:{model:"edp.mailhog.mailhog"},id:"ofdedh"},"18zxrhs":{title:"reads/writes",source:{model:"edp.keycloak.keycloak"},target:{model:"edp.keycloak.keycloakDB"},id:"18zxrhs"},"11ollyi":{title:"pushes logs",source:{model:"edp.monitoring.alloy"},target:{model:"edp.monitoring.loki.distributor"},id:"11ollyi"},"1mazt1x":{title:"store backups",source:{model:"edp.velero.velero"},target:{model:"edp.minio.minio"},id:"1mazt1x"},"5hkplj":{title:"inner loop development",source:{model:"developer"},target:{model:"localbox"},id:"5hkplj"},"1pp73vj":{title:"outer loop development",source:{model:"developer"},target:{model:"edp"},id:"1pp73vj"},yk9zv2:{title:"manages project",source:{model:"developer"},target:{model:"edp.ui"},id:"yk9zv2"},"12036hb":{title:"manages code",source:{model:"developer"},target:{model:"edp.forgejo"},id:"12036hb"},jpl8ll:{title:"authenticates",source:{model:"developer"},target:{model:"edp.keycloak"},id:"jpl8ll"},"1ghp31l":{title:"manages deployments",source:{model:"developer"},target:{model:"edp.argoCD"},id:"1ghp31l"},"1xiorre":{title:"monitors",source:{model:"developer"},target:{model:"edp.grafana"},id:"1xiorre"},"1woleh6":{title:"create and maintain apps",source:{model:"developer"},target:{model:"edp.ui.backstage"},id:"1woleh6"},"177bm2y":{title:"pushes and pull images",source:{model:"developer"},target:{model:"edp.imageregistry"},id:"177bm2y"},"1l9a3pd":{title:"uses API",source:{model:"developer"},target:{model:"edp.api"},id:"1l9a3pd"},"1uzzn9j":{title:"uses git",source:{model:"developer"},target:{model:"edp.forgejogit"},id:"1uzzn9j"},lb4xas:{title:"act according to responibility",source:{model:"otherProductLifecycleRoles"},target:{model:"edp"},id:"lb4xas"},"1g2ebwc":{title:"uses your app",source:{model:"customers"},target:{model:"cloud"},id:"1g2ebwc"},nc44l9:{title:"app specific dependencies",source:{model:"enterprise"},target:{model:"cloud"},id:"nc44l9"},wsm3kf:{title:"builds many",source:{model:"edf"},target:{model:"edp"},id:"wsm3kf"},v8v12:{title:"develops EDP and EDF",source:{model:"platformdeveloper"},target:{model:"edf"},id:"v8v12"},"615gvx":{title:"integrates",source:{model:"edp"},target:{model:"enterprise"},id:"615gvx"},gerdx4:{title:"deploys and observes",source:{model:"edp"},target:{model:"cloud"},id:"gerdx4"},wvo8i:{title:"",source:{model:"edp"},target:{model:"localbox"},id:"wvo8i"},"1mp9fps":{title:"inner-outer-loop synchronization",source:{model:"localbox"},target:{model:"edp"},id:"1mp9fps"},"1abvxlh":{title:"company integration",source:{model:"localbox"},target:{model:"enterprise"},id:"1abvxlh"},"1ouysrh":{title:"writes documentation",description:{txt:"Creates and updates Markdown content"},source:{model:"documentor"},target:{model:"docPlatform.contentRepo.contentPages"},id:"1ouysrh"},fmzkfl:{title:"creates architecture models",description:{txt:"Defines C4 models with LikeC4 DSL"},source:{model:"documentor"},target:{model:"docPlatform.contentRepo.archModels"},id:"fmzkfl"},"1iop8z6":{title:"executes local tasks",description:{txt:"task serve, task build, task test"},source:{model:"documentor"},target:{model:"docPlatform.taskfile"},id:"1iop8z6"},"1h50i3u":{title:"starts",description:{txt:"task serve"},source:{model:"docPlatform.taskfile"},target:{model:"docPlatform.devServer"},id:"1h50i3u"},dg5rzk:{title:"renders",description:{txt:"Live reload on content changes"},source:{model:"docPlatform.devServer"},target:{model:"docPlatform.hugoSite"},id:"dg5rzk"},"1qbbmxu":{title:"reads content from",description:{txt:"Processes Markdown and templates"},source:{model:"docPlatform.hugoSite"},target:{model:"docPlatform.contentRepo"},id:"1qbbmxu"},"1oh42mx":{title:"integrates",description:{txt:"Embeds architecture diagrams"},source:{model:"docPlatform.hugoSite"},target:{model:"docPlatform.likec4Integration"},id:"1oh42mx"},"1a8c499":{title:"visualizes",description:{txt:"Renders C4 models as interactive diagrams"},source:{model:"docPlatform.likec4Integration"},target:{model:"docPlatform.contentRepo.archModels"},id:"1a8c499"},"1dzhdhu":{title:"can run locally",description:{txt:"task test:build"},source:{model:"docPlatform.taskfile"},target:{model:"cicdPipeline.githubActions.testBuild"},id:"1dzhdhu"},"14ls3qa":{title:"can run locally",description:{txt:"task test:markdown"},source:{model:"docPlatform.taskfile"},target:{model:"cicdPipeline.githubActions.testMarkdown"},id:"14ls3qa"},htx1q7:{title:"can run locally",description:{txt:"task test:html"},source:{model:"docPlatform.taskfile"},target:{model:"cicdPipeline.githubActions.testHtml"},id:"htx1q7"},"1vqq9gw":{title:"can run locally",description:{txt:"task test:links"},source:{model:"docPlatform.taskfile"},target:{model:"cicdPipeline.githubActions.testLinks"},id:"1vqq9gw"},"8hsu7m":{title:"triggers on push/PR",description:{txt:"Webhook on main branch"},source:{model:"docPlatform.contentRepo"},target:{model:"cicdPipeline.githubActions"},id:"8hsu7m"},omluoy:{title:"builds",description:{txt:"hugo --gc --minify"},source:{model:"cicdPipeline.githubActions.testBuild"},target:{model:"docPlatform.hugoSite"},id:"omluoy"},"11hmyp0":{title:"validates",description:{txt:"Lints Markdown files"},source:{model:"cicdPipeline.githubActions.testMarkdown"},target:{model:"docPlatform.contentRepo.contentPages"},id:"11hmyp0"},"1bziuh3":{title:"validates output",description:{txt:"Checks generated HTML"},source:{model:"cicdPipeline.githubActions.testHtml"},target:{model:"docPlatform.hugoSite"},id:"1bziuh3"},"9nq85f":{title:"checks links in",description:{txt:"Detects broken links"},source:{model:"cicdPipeline.githubActions.testLinks"},target:{model:"docPlatform.hugoSite"},id:"9nq85f"},"1knexmm":{title:"triggers on success",description:{txt:"Builds Docker image with Hugo output"},source:{model:"cicdPipeline.githubActions"},target:{model:"cicdPipeline.containerBuild"},id:"1knexmm"},"1nifn":{title:"packages",description:{txt:"public/ directory served by Nginx"},source:{model:"cicdPipeline.containerBuild"},target:{model:"docPlatform.hugoSite"},id:"1nifn"},"1hae5vm":{title:"pushes image to",description:{txt:"Tagged container image"},source:{model:"cicdPipeline.containerBuild"},target:{model:"deploymentEnv.edgeConnect"},id:"1hae5vm"},"3gelf9":{title:"deploys to",description:{txt:"Via edgeconnectdeployment.yaml"},source:{model:"deploymentEnv.edgeConnect"},target:{model:"deploymentEnv.k8sCluster"},id:"3gelf9"},"164u7gn":{title:"exposed by",description:{txt:"Port 80"},source:{model:"deploymentEnv.k8sCluster.docDeployment"},target:{model:"deploymentEnv.k8sCluster.docService"},id:"164u7gn"},otinu1:{title:"views published docs",description:{txt:"HTTPS access to live documentation"},source:{model:"documentor"},target:{model:"deploymentEnv.k8sCluster.docService"},id:"otinu1"},"1yvgyrn":{title:"uses",source:{model:"customer"},target:{model:"mySystem"},id:"1yvgyrn"}},globals:{predicates:{},dynamicPredicates:{},styles:{text_large:[{targets:[{wildcard:!0}],style:{size:"xl"}}]}},views:{overview:{_type:"element",tags:null,links:null,viewOf:"docPlatform",_stage:"layouted",sourcePath:"models/doc-platform/documentation-platform.c4",description:{txt:"High-level overview of the Hugo-based documentation platform for documentors"},title:"Documentation Platform Overview",id:"overview",autoLayout:{direction:"TB"},hash:"ee38e18e93593defec5a01081b1c1cb8614e9734",bounds:{x:0,y:0,width:1362,height:1851},nodes:[{id:"documentor",parent:null,level:0,children:[],inEdges:[],outEdges:["1it4ty8","1xegqy"],title:"Documentor",modelRef:"documentor",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"Content creator and maintainer of the developer platform documentation"},tags:[],technology:"Hugo, Markdown, LikeC4",kind:"person",x:788,y:0,width:320,height:180,labelBBox:{x:34,y:44,width:252,height:85}},{id:"cicdPipeline",parent:null,level:0,children:[],inEdges:["11swhvh","1yjnj9z"],outEdges:["1y7uioy","zvvnul"],title:"CI/CD Pipeline",modelRef:"cicdPipeline",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Automated testing and deployment pipeline"},tags:[],kind:"system",navigateTo:"cicdPipeline",x:841,y:1300,width:327,height:180,labelBBox:{x:18,y:63,width:292,height:48}},{id:"docPlatform",parent:null,level:0,children:["docPlatform.taskfile","docPlatform.devServer","docPlatform.hugoSite","docPlatform.likec4Integration","docPlatform.contentRepo"],inEdges:["1it4ty8","1xegqy","1y7uioy","zvvnul"],outEdges:["11swhvh","1yjnj9z"],title:"Documentation Platform",modelRef:"docPlatform",shape:"rectangle",color:"blue",style:{opacity:15,size:"md"},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},tags:[],kind:"system",depth:1,navigateTo:"localDevelopment",x:8,y:271,width:763,height:1572,labelBBox:{x:6,y:0,width:166,height:15}},{id:"docPlatform.taskfile",parent:"docPlatform",level:1,children:[],inEdges:["1xegqy"],outEdges:["1055tf","1yjnj9z"],title:"Taskfile",modelRef:"docPlatform.taskfile",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Task automation for local development, build, and testing"},tags:[],technology:"Task (go-task)",kind:"tool",x:389,y:332,width:341,height:180,labelBBox:{x:18,y:44,width:306,height:85}},{id:"docPlatform.devServer",parent:"docPlatform",level:1,children:[],inEdges:["1055tf"],outEdges:["zrlo7a"],title:"Development Server",modelRef:"docPlatform.devServer",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Local Hugo server with hot reload for content development"},tags:[],technology:"Hugo Server",kind:"process",x:391,y:655,width:338,height:180,labelBBox:{x:18,y:44,width:303,height:85}},{id:"docPlatform.hugoSite",parent:"docPlatform",level:1,children:[],inEdges:["1y7uioy","zrlo7a"],outEdges:["blbbud","o4y09i"],title:"Hugo Site",modelRef:"docPlatform.hugoSite",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Static site generator based on Hugo with Docsy theme"},tags:[],technology:"Hugo Extended, Docsy",kind:"component",x:400,y:978,width:320,height:180,labelBBox:{x:23,y:44,width:274,height:85}},{id:"docPlatform.likec4Integration",parent:"docPlatform",level:1,children:[],inEdges:["o4y09i"],outEdges:["ga3up5"],title:"LikeC4 Integration",modelRef:"docPlatform.likec4Integration",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Architecture diagram visualization embedded in documentation"},tags:[],technology:"LikeC4, Web Components",kind:"component",x:48,y:1300,width:339,height:180,labelBBox:{x:18,y:45,width:303,height:85}},{id:"docPlatform.contentRepo",parent:"docPlatform",level:1,children:[],inEdges:["1it4ty8","zvvnul","blbbud","ga3up5"],outEdges:["11swhvh"],title:"Content Repository",modelRef:"docPlatform.contentRepo",shape:"storage",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Markdown files, images, and configuration"},tags:[],technology:"Git, Markdown",kind:"repository",x:411,y:1623,width:320,height:180,labelBBox:{x:18,y:53,width:284,height:68}}],edges:[{id:"1it4ty8",source:"documentor",target:"docPlatform.contentRepo",label:"[...]",dotpos:"e,732.09,1678.6 1107.9,153.46 1214.5,206.72 1335,294.84 1335,421 1335,421 1335,421 1335,1391.4 1335,1519.2 967.26,1624.1 742.04,1676.3",points:[[1108,153],[1214,207],[1335,295],[1335,421],[1335,421],[1335,421],[1335,1391],[1335,1519],[967,1624],[742,1676]],labelBBox:{x:1336,y:893,width:25,height:18},parent:null,relations:["1ouysrh","fmzkfl"],color:"gray",line:"dashed",head:"normal"},{id:"1xegqy",source:"documentor",target:"docPlatform.taskfile",label:"executes local tasks",description:{txt:"task serve, task build, task test"},dotpos:"e,664.34,332.26 843.51,179.87 790.56,224.9 726.22,279.62 672.23,325.55",points:[[844,180],[791,225],[726,280],[672,326]],labelBBox:{x:767,y:240,width:129,height:18},parent:null,relations:["1iop8z6"],color:"gray",line:"dashed",head:"normal"},{id:"1y7uioy",source:"cicdPipeline",target:"docPlatform.hugoSite",label:"[...]",dotpos:"e,683.37,1157.5 881.78,1300.6 822.72,1258 751.91,1207 691.78,1163.6",points:[[882,1301],[823,1258],[752,1207],[692,1164]],labelBBox:{x:797,y:1216,width:25,height:18},parent:null,relations:["omluoy","1bziuh3","9nq85f","1nifn"],color:"gray",line:"dashed",head:"normal"},{id:"zvvnul",source:"cicdPipeline",target:"docPlatform.contentRepo",label:"validates",description:{txt:"Lints Markdown files"},dotpos:"e,732.04,1649.5 948.79,1480.2 927.52,1509.2 901.5,1539.8 873,1563.2 833.88,1595.3 786.7,1622.7 741.38,1644.9",points:[[949,1480],[928,1509],[902,1540],[873,1563],[834,1595],[787,1623],[741,1645]],labelBBox:{x:896,y:1540,width:59,height:18},parent:null,relations:["11hmyp0"],color:"gray",line:"dashed",head:"normal"},{id:"blbbud",source:"docPlatform.hugoSite",target:"docPlatform.contentRepo",label:"reads content from",description:{txt:"Processes Markdown and templates"},dotpos:"e,569.46,1622.2 561.52,1157.4 563.55,1276.5 567.16,1487.3 569.29,1611.9",points:[[562,1157],[564,1276],[567,1487],[569,1612]],labelBBox:{x:568,y:1379,width:121,height:18},parent:"docPlatform",relations:["1qbbmxu"],color:"gray",line:"dashed",head:"normal"},{id:"o4y09i",source:"docPlatform.hugoSite",target:"docPlatform.likec4Integration",label:"integrates",description:{txt:"Embeds architecture diagrams"},dotpos:"e,312.7,1300.6 465.19,1157.5 420.15,1199.8 366.26,1250.3 320.3,1293.4",points:[[465,1158],[420,1200],[366,1250],[320,1293]],labelBBox:{x:400,y:1217,width:65,height:18},parent:"docPlatform",relations:["1oh42mx"],color:"gray",line:"dashed",head:"normal"},{id:"zrlo7a",source:"docPlatform.devServer",target:"docPlatform.hugoSite",label:"renders",description:{txt:"Live reload on content changes"},dotpos:"e,560,977.77 560,834.73 560,875.93 560,925.04 560,967.43",points:[[560,835],[560,876],[560,925],[560,967]],labelBBox:{x:561,y:894,width:51,height:18},parent:"docPlatform",relations:["dg5rzk"],color:"gray",line:"dashed",head:"normal"},{id:"ga3up5",source:"docPlatform.likec4Integration",target:"docPlatform.contentRepo",label:"visualizes",description:{txt:"Renders C4 models as interactive diagrams"},dotpos:"e,473.25,1623.4 315.86,1480.3 362.44,1522.7 418.21,1573.3 465.7,1616.5",points:[[316,1480],[362,1523],[418,1573],[466,1617]],labelBBox:{x:406,y:1540,width:65,height:18},parent:"docPlatform",relations:["1a8c499"],color:"gray",line:"dashed",head:"normal"},{id:"1055tf",source:"docPlatform.taskfile",target:"docPlatform.devServer",label:"starts",description:{txt:"task serve"},dotpos:"e,560,654.97 560,511.93 560,553.13 560,602.24 560,644.63",points:[[560,512],[560,553],[560,602],[560,645]],labelBBox:{x:561,y:572,width:38,height:18},parent:"docPlatform",relations:["1h50i3u"],color:"gray",line:"dashed",head:"normal"},{id:"11swhvh",source:"docPlatform.contentRepo",target:"cicdPipeline",label:"triggers on push/PR",description:{txt:"Webhook on main branch"},dotpos:"e,841.2,1461.8 635.57,1622.6 658.89,1594.1 686.79,1563.9 716.27,1540.4 751.16,1512.6 792.06,1487.8 831.91,1466.7",points:[[636,1623],[659,1594],[687,1564],[716,1540],[751,1513],[792,1488],[832,1467]],labelBBox:{x:717,y:1540,width:128,height:18},parent:null,relations:["8hsu7m"],color:"gray",line:"dashed",head:"normal"},{id:"1yjnj9z",source:"docPlatform.taskfile",target:"cicdPipeline",label:"can run locally",dotpos:"e,992.23,1300.6 665.66,511.91 707.55,551.89 753.01,601.94 784,654.8 905.77,862.51 965.77,1143.2 990.51,1290.2",points:[[666,512],[708,552],[753,602],[784,655],[906,863],[966,1143],[991,1290]],labelBBox:{x:899,y:894,width:93,height:18},parent:null,relations:["1dzhdhu","14ls3qa","htx1q7","1vqq9gw"],color:"gray",line:"dashed",head:"normal"}]},localDevelopment:{_type:"element",tags:null,links:null,viewOf:"docPlatform",_stage:"layouted",sourcePath:"models/doc-platform/documentation-platform.c4",description:{txt:"How a documentor works locally with the documentation"},title:"Local Development Workflow",id:"localDevelopment",autoLayout:{direction:"TB"},hash:"26dc23444be44f6f2c03474a6c59133abd4e74b2",bounds:{x:0,y:0,width:1138,height:1851},nodes:[{id:"documentor",parent:null,level:0,children:[],inEdges:[],outEdges:["1xegqy"],title:"Documentor",modelRef:"documentor",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"Content creator and maintainer of the developer platform documentation"},tags:[],technology:"Hugo, Markdown, LikeC4",kind:"person",x:371,y:0,width:320,height:180,labelBBox:{x:34,y:44,width:252,height:85}},{id:"docPlatform",parent:null,level:0,children:["docPlatform.contentRepo","docPlatform.taskfile","docPlatform.devServer","docPlatform.hugoSite","docPlatform.likec4Integration"],inEdges:["1y7uioy","1xegqy"],outEdges:["11swhvh","1yjnj9z"],title:"Documentation Platform",modelRef:"docPlatform",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},tags:[],kind:"system",depth:1,navigateTo:"overview",x:8,y:271,width:762,height:1572,labelBBox:{x:6,y:0,width:166,height:15}},{id:"docPlatform.contentRepo",parent:"docPlatform",level:1,children:[],inEdges:["blbbud","ga3up5"],outEdges:["11swhvh"],title:"Content Repository",modelRef:"docPlatform.contentRepo",shape:"storage",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Markdown files, images, and configuration"},tags:[],technology:"Git, Markdown",kind:"repository",x:400,y:1623,width:320,height:180,labelBBox:{x:18,y:53,width:284,height:68}},{id:"docPlatform.taskfile",parent:"docPlatform",level:1,children:[],inEdges:["1xegqy"],outEdges:["1yjnj9z","1055tf"],title:"Taskfile",modelRef:"docPlatform.taskfile",shape:"rectangle",color:"amber",style:{opacity:15,size:"md"},description:{txt:"Task automation for local development, build, and testing"},tags:[],technology:"Task (go-task)",kind:"tool",x:360,y:332,width:341,height:180,labelBBox:{x:18,y:44,width:306,height:85}},{id:"cicdPipeline",parent:null,level:0,children:[],inEdges:["11swhvh","1yjnj9z"],outEdges:["1y7uioy"],title:"CI/CD Pipeline",modelRef:"cicdPipeline",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Automated testing and deployment pipeline"},tags:[],kind:"system",navigateTo:"cicdPipeline",x:810,y:655,width:327,height:180,labelBBox:{x:18,y:63,width:292,height:47}},{id:"docPlatform.devServer",parent:"docPlatform",level:1,children:[],inEdges:["1055tf"],outEdges:["zrlo7a"],title:"Development Server",modelRef:"docPlatform.devServer",shape:"rectangle",color:"amber",style:{opacity:15,size:"md"},description:{txt:"Local Hugo server with hot reload for content development"},tags:[],technology:"Hugo Server",kind:"process",x:362,y:655,width:338,height:180,labelBBox:{x:18,y:44,width:303,height:85}},{id:"docPlatform.hugoSite",parent:"docPlatform",level:1,children:[],inEdges:["1y7uioy","zrlo7a"],outEdges:["blbbud","o4y09i"],title:"Hugo Site",modelRef:"docPlatform.hugoSite",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Static site generator based on Hugo with Docsy theme"},tags:[],technology:"Hugo Extended, Docsy",kind:"component",x:371,y:978,width:320,height:180,labelBBox:{x:23,y:44,width:274,height:85}},{id:"docPlatform.likec4Integration",parent:"docPlatform",level:1,children:[],inEdges:["o4y09i"],outEdges:["ga3up5"],title:"LikeC4 Integration",modelRef:"docPlatform.likec4Integration",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Architecture diagram visualization embedded in documentation"},tags:[],technology:"LikeC4, Web Components",kind:"component",x:390,y:1300,width:339,height:180,labelBBox:{x:18,y:45,width:303,height:85}}],edges:[{id:"11swhvh",source:"docPlatform.contentRepo",target:"cicdPipeline",label:"triggers on push/PR",description:{txt:"Webhook on main branch"},dotpos:"e,965.98,834.65 666.92,1624.2 709.24,1584.3 754.89,1534.1 785,1480.4 901.46,1272.8 947.69,992.03 964.8,845",points:[[667,1624],[709,1584],[755,1534],[785,1480],[901,1273],[948,992],[965,845]],labelBBox:{x:891,y:1217,width:128,height:18},parent:null,relations:["8hsu7m"],color:"gray",line:"dashed",head:"normal"},{id:"1y7uioy",source:"cicdPipeline",target:"docPlatform.hugoSite",label:"[...]",dotpos:"e,653.67,977.77 851.19,834.73 792.37,877.33 721.89,928.37 662.04,971.71",points:[[851,835],[792,877],[722,928],[662,972]],labelBBox:{x:767,y:893,width:25,height:18},parent:null,relations:["omluoy","1bziuh3","9nq85f","1nifn"],color:"gray",line:"dashed",head:"normal"},{id:"blbbud",source:"docPlatform.hugoSite",target:"docPlatform.contentRepo",label:"reads content from",description:{txt:"Processes Markdown and templates"},dotpos:"e,399.21,1647.6 371.15,1143.6 309.79,1181.3 246.35,1233.5 212.28,1300.4 175.97,1371.7 174.53,1409.9 212.28,1480.4 250.61,1552 321.93,1605.3 390.06,1642.7",points:[[371,1144],[310,1181],[246,1233],[212,1300],[176,1372],[175,1410],[212,1480],[251,1552],[322,1605],[390,1643]],labelBBox:{x:213,y:1379,width:121,height:18},parent:"docPlatform",relations:["1qbbmxu"],color:"gray",line:"dashed",head:"normal"},{id:"o4y09i",source:"docPlatform.hugoSite",target:"docPlatform.likec4Integration",label:"integrates",description:{txt:"Embeds architecture diagrams"},dotpos:"e,551.97,1300.6 539.04,1157.5 542.76,1198.7 547.2,1247.8 551.04,1290.2",points:[[539,1158],[543,1199],[547,1248],[551,1290]],labelBBox:{x:547,y:1217,width:65,height:18},parent:"docPlatform",relations:["1oh42mx"],color:"gray",line:"dashed",head:"normal"},{id:"ga3up5",source:"docPlatform.likec4Integration",target:"docPlatform.contentRepo",label:"visualizes",description:{txt:"Renders C4 models as interactive diagrams"},dotpos:"e,560,1622.3 560,1480.3 560,1521.2 560,1569.8 560,1612",points:[[560,1480],[560,1521],[560,1570],[560,1612]],labelBBox:{x:561,y:1540,width:65,height:18},parent:"docPlatform",relations:["1a8c499"],color:"gray",line:"dashed",head:"normal"},{id:"1xegqy",source:"documentor",target:"docPlatform.taskfile",label:"executes local tasks",description:{txt:"task serve, task build, task test"},dotpos:"e,531,332.26 531,179.87 531,223.7 531,276.72 531,321.86",points:[[531,180],[531,224],[531,277],[531,322]],labelBBox:{x:532,y:240,width:129,height:18},parent:null,relations:["1iop8z6"],color:"gray",line:"dashed",head:"normal"},{id:"1yjnj9z",source:"docPlatform.taskfile",target:"cicdPipeline",label:"can run locally",dotpos:"e,851.33,654.97 653.81,511.93 712.63,554.53 783.11,605.57 842.96,648.91",points:[[654,512],[713,555],[783,606],[843,649]],labelBBox:{x:767,y:572,width:93,height:18},parent:null,relations:["1dzhdhu","14ls3qa","htx1q7","1vqq9gw"],color:"gray",line:"dashed",head:"normal"},{id:"1055tf",source:"docPlatform.taskfile",target:"docPlatform.devServer",label:"starts",description:{txt:"task serve"},dotpos:"e,531,654.97 531,511.93 531,553.13 531,602.24 531,644.63",points:[[531,512],[531,553],[531,602],[531,645]],labelBBox:{x:532,y:572,width:38,height:18},parent:"docPlatform",relations:["1h50i3u"],color:"gray",line:"dashed",head:"normal"},{id:"zrlo7a",source:"docPlatform.devServer",target:"docPlatform.hugoSite",label:"renders",description:{txt:"Live reload on content changes"},dotpos:"e,531,977.77 531,834.73 531,875.93 531,925.04 531,967.43",points:[[531,835],[531,876],[531,925],[531,967]],labelBBox:{x:532,y:894,width:51,height:18},parent:"docPlatform",relations:["dg5rzk"],color:"gray",line:"dashed",head:"normal"}]},cicdPipeline:{_type:"element",tags:null,links:null,viewOf:"cicdPipeline",_stage:"layouted",sourcePath:"models/doc-platform/documentation-platform.c4",description:{txt:"Automated testing and container build process"},title:"CI/CD Pipeline",id:"cicdPipeline",autoLayout:{direction:"TB"},hash:"150f9cc9e37c97380e3d5645a52229bf2e7cc7ae",bounds:{x:0,y:0,width:994,height:629},nodes:[{id:"cicdPipeline",parent:null,level:0,children:["cicdPipeline.githubActions","cicdPipeline.containerBuild"],inEdges:["cptcjf"],outEdges:["q5uigr","z85qw4","1n4aj6l"],title:"CI/CD Pipeline",modelRef:"cicdPipeline",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Automated testing and deployment pipeline"},tags:[],kind:"system",depth:1,x:29,y:8,width:957,height:281,labelBBox:{x:6,y:0,width:87,height:15}},{id:"cicdPipeline.githubActions",parent:"cicdPipeline",level:1,children:[],inEdges:["cptcjf"],outEdges:["hh1y8j","q5uigr","z85qw4"],title:"GitHub Actions",modelRef:"cicdPipeline.githubActions",shape:"rectangle",color:"blue",style:{opacity:15,size:"md"},description:{txt:"Automated testing workflow on push/PR"},tags:[],technology:"GitHub Actions",kind:"process",navigateTo:"testingCapabilities",x:69,y:69,width:320,height:180,labelBBox:{x:25,y:53,width:270,height:68}},{id:"cicdPipeline.containerBuild",parent:"cicdPipeline",level:1,children:[],inEdges:["hh1y8j"],outEdges:["1n4aj6l"],title:"Container Build",modelRef:"cicdPipeline.containerBuild",shape:"rectangle",color:"indigo",style:{opacity:15,size:"md"},description:{txt:"OCI/Docker image creation with Hugo site"},tags:[],technology:"Docker",kind:"process",x:626,y:69,width:320,height:180,labelBBox:{x:18,y:53,width:283,height:68}},{id:"docPlatform",parent:null,level:0,children:["docPlatform.hugoSite","docPlatform.contentRepo"],inEdges:["q5uigr","z85qw4","1n4aj6l"],outEdges:["cptcjf"],title:"Documentation Platform",modelRef:"docPlatform",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},tags:[],kind:"system",depth:1,navigateTo:"overview",x:8,y:340,width:953,height:281,labelBBox:{x:6,y:0,width:166,height:15}},{id:"docPlatform.hugoSite",parent:"docPlatform",level:1,children:[],inEdges:["z85qw4","1n4aj6l"],outEdges:["blbbud"],title:"Hugo Site",modelRef:"docPlatform.hugoSite",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Static site generator based on Hugo with Docsy theme"},tags:[],technology:"Hugo Extended, Docsy",kind:"component",x:601,y:401,width:320,height:180,labelBBox:{x:23,y:44,width:274,height:86}},{id:"docPlatform.contentRepo",parent:"docPlatform",level:1,children:[],inEdges:["q5uigr","blbbud"],outEdges:["cptcjf"],title:"Content Repository",modelRef:"docPlatform.contentRepo",shape:"storage",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Markdown files, images, and configuration"},tags:[],technology:"Git, Markdown",kind:"repository",x:48,y:401,width:320,height:180,labelBBox:{x:18,y:53,width:284,height:68}}],edges:[{id:"hh1y8j",source:"cicdPipeline.githubActions",target:"cicdPipeline.containerBuild",label:"triggers on success",description:{txt:"Builds Docker image with Hugo output"},dotpos:"e,626.08,159.2 388.99,159.2 460.05,159.2 543.78,159.2 615.98,159.2",points:[[389,159],[460,159],[544,159],[616,159]],labelBBox:{x:445,y:133,width:125,height:18},parent:"cicdPipeline",relations:["1knexmm"],color:"gray",line:"dashed",head:"normal"},{id:"q5uigr",source:"cicdPipeline.githubActions",target:"docPlatform.contentRepo",label:"validates",description:{txt:"Lints Markdown files"},dotpos:"e,76.672,404.78 94.421,249.05 76.739,266.78 61.164,286.91 50.745,309.2 36.065,340.6 47.577,370.73 69.795,397.09",points:[[94,249],[77,267],[61,287],[51,309],[36,341],[48,371],[70,397]],labelBBox:{x:52,y:309,width:59,height:18},parent:null,relations:["11hmyp0"],color:"gray",line:"dashed",head:"normal"},{id:"cptcjf",source:"docPlatform.contentRepo",target:"cicdPipeline.githubActions",label:"triggers on push/PR",description:{txt:"Webhook on main branch"},dotpos:"e,223.34,249.07 213.72,400.31 216.5,356.69 219.84,304.17 222.69,259.39",points:[[214,400],[217,357],[220,304],[223,259]],labelBBox:{x:220,y:309,width:128,height:18},parent:null,relations:["8hsu7m"],color:"gray",line:"dashed",head:"normal"},{id:"z85qw4",source:"cicdPipeline.githubActions",target:"docPlatform.hugoSite",label:"[...]",dotpos:"e,617.94,401.46 372.27,249.07 445.61,294.56 534.9,349.95 609.39,396.16",points:[[372,249],[446,295],[535,350],[609,396]],labelBBox:{x:496,y:308,width:25,height:18},parent:null,relations:["omluoy","1bziuh3","9nq85f"],color:"gray",line:"dashed",head:"normal"},{id:"1n4aj6l",source:"cicdPipeline.containerBuild",target:"docPlatform.hugoSite",label:"packages",description:{txt:"public/ directory served by Nginx"},dotpos:"e,767.72,401.46 779.27,249.07 775.95,292.9 771.93,345.92 768.51,391.06",points:[[779,249],[776,293],[772,346],[769,391]],labelBBox:{x:775,y:309,width:64,height:18},parent:null,relations:["1nifn"],color:"gray",line:"dashed",head:"normal"},{id:"blbbud",source:"docPlatform.hugoSite",target:"docPlatform.contentRepo",label:"reads content from",description:{txt:"Processes Markdown and templates"},dotpos:"e,369.07,491.2 601.07,491.2 531.6,491.2 450.12,491.2 379.42,491.2",points:[[601,491],[532,491],[450,491],[379,491]],labelBBox:{x:424,y:465,width:121,height:18},parent:"docPlatform",relations:["1qbbmxu"],color:"gray",line:"dashed",head:"normal"}]},deploymentFlow:{_type:"element",tags:null,links:null,_stage:"layouted",sourcePath:"models/doc-platform/documentation-platform.c4",description:{txt:"How the documentation is deployed to the edge infrastructure"},title:"Deployment to Edge Environment",id:"deploymentFlow",autoLayout:{direction:"TB"},hash:"5bb560fa035a478934e873c7566be1fce391f63d",bounds:{x:0,y:0,width:790,height:605},nodes:[{id:"cicdPipeline",parent:null,level:0,children:["cicdPipeline.containerBuild"],inEdges:[],outEdges:["l7mlxp"],title:"CI/CD Pipeline",modelRef:"cicdPipeline",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Automated testing and deployment pipeline"},tags:[],kind:"system",depth:1,navigateTo:"cicdPipeline",x:8,y:8,width:384,height:265,labelBBox:{x:6,y:0,width:87,height:15}},{id:"cicdPipeline.containerBuild",parent:"cicdPipeline",level:1,children:[],inEdges:[],outEdges:["l7mlxp"],title:"Container Build",modelRef:"cicdPipeline.containerBuild",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"OCI/Docker image creation with Hugo site"},tags:[],technology:"Docker",kind:"process",x:40,y:61,width:320,height:180,labelBBox:{x:18,y:53,width:283,height:68}},{id:"deploymentEnv",parent:null,level:0,children:["deploymentEnv.edgeConnect"],inEdges:["l7mlxp"],outEdges:[],title:"Deployment Environment",modelRef:"deploymentEnv",shape:"rectangle",color:"muted",style:{opacity:15,size:"md"},description:{txt:"Edge deployment infrastructure"},tags:[],kind:"system",depth:1,x:8,y:332,width:384,height:265,labelBBox:{x:6,y:0,width:165,height:15}},{id:"deploymentEnv.edgeConnect",parent:"deploymentEnv",level:1,children:[],inEdges:["l7mlxp"],outEdges:[],title:"Edge Connect",modelRef:"deploymentEnv.edgeConnect",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Edge deployment orchestration platform"},tags:[],technology:"EdgeConnect",kind:"system",x:40,y:385,width:320,height:180,labelBBox:{x:25,y:53,width:270,height:68}},{id:"documentor",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Documentor",modelRef:"documentor",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"Content creator and maintainer of the developer platform documentation"},tags:[],technology:"Hugo, Markdown, LikeC4",kind:"person",x:470,y:61,width:320,height:180,labelBBox:{x:34,y:44,width:252,height:86}}],edges:[{id:"l7mlxp",source:"cicdPipeline.containerBuild",target:"deploymentEnv.edgeConnect",label:"pushes image to",description:{txt:"Tagged container image"},dotpos:"e,200,385.37 200,241.04 200,282.57 200,332.18 200,374.94",points:[[200,241],[200,283],[200,332],[200,375]],labelBBox:{x:201,y:301,width:107,height:18},parent:null,relations:["1hae5vm"],color:"gray",line:"dashed",head:"normal"}]},fullWorkflow:{_type:"element",tags:null,links:null,_stage:"layouted",sourcePath:"models/doc-platform/documentation-platform.c4",description:{txt:"End-to-end view from content creation to published documentation"},title:"Complete Documentor Workflow",id:"fullWorkflow",autoLayout:{direction:"TB"},hash:"8631ea7a85e08fb10985eb22fbc25cff5a7ccc8d",bounds:{x:0,y:0,width:1364,height:1224},nodes:[{id:"documentor",parent:null,level:0,children:[],inEdges:[],outEdges:["1it4ty8","1xegqy","tvlbdk"],title:"Documentor",modelRef:"documentor",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"Content creator and maintainer of the developer platform documentation"},tags:[],technology:"Hugo, Markdown, LikeC4",kind:"person",x:563,y:0,width:320,height:180,labelBBox:{x:34,y:44,width:252,height:85}},{id:"docPlatform",parent:null,level:0,children:["docPlatform.contentRepo","docPlatform.taskfile"],inEdges:["1it4ty8","1xegqy","q5uigr"],outEdges:["cptcjf","1r2t3dd"],title:"Documentation Platform",modelRef:"docPlatform",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},tags:[],kind:"system",depth:1,navigateTo:"overview",x:82,y:271,width:852,height:281,labelBBox:{x:6,y:0,width:166,height:15}},{id:"docPlatform.contentRepo",parent:"docPlatform",level:1,children:[],inEdges:["1it4ty8","q5uigr"],outEdges:["cptcjf"],title:"Content Repository",modelRef:"docPlatform.contentRepo",shape:"storage",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Markdown files, images, and configuration"},tags:[],technology:"Git, Markdown",kind:"repository",x:122,y:332,width:320,height:180,labelBBox:{x:18,y:53,width:284,height:67}},{id:"docPlatform.taskfile",parent:"docPlatform",level:1,children:[],inEdges:["1xegqy"],outEdges:["1r2t3dd"],title:"Taskfile",modelRef:"docPlatform.taskfile",shape:"rectangle",color:"amber",style:{opacity:15,size:"md"},description:{txt:"Task automation for local development, build, and testing"},tags:[],technology:"Task (go-task)",kind:"tool",x:552,y:332,width:341,height:180,labelBBox:{x:18,y:44,width:306,height:85}},{id:"cicdPipeline",parent:null,level:0,children:["cicdPipeline.githubActions","cicdPipeline.containerBuild"],inEdges:["cptcjf","1r2t3dd"],outEdges:["q5uigr","l7mlxp"],title:"CI/CD Pipeline",modelRef:"cicdPipeline",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Automated testing and deployment pipeline"},tags:[],kind:"system",depth:1,navigateTo:"cicdPipeline",x:8,y:603,width:957,height:281,labelBBox:{x:6,y:0,width:87,height:15}},{id:"cicdPipeline.githubActions",parent:"cicdPipeline",level:1,children:[],inEdges:["cptcjf","1r2t3dd"],outEdges:["q5uigr","hh1y8j"],title:"GitHub Actions",modelRef:"cicdPipeline.githubActions",shape:"rectangle",color:"blue",style:{opacity:15,size:"md"},description:{txt:"Automated testing workflow on push/PR"},tags:[],technology:"GitHub Actions",kind:"process",navigateTo:"testingCapabilities",x:48,y:664,width:320,height:180,labelBBox:{x:25,y:53,width:270,height:67}},{id:"cicdPipeline.containerBuild",parent:"cicdPipeline",level:1,children:[],inEdges:["hh1y8j"],outEdges:["l7mlxp"],title:"Container Build",modelRef:"cicdPipeline.containerBuild",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"OCI/Docker image creation with Hugo site"},tags:[],technology:"Docker",kind:"process",x:605,y:664,width:320,height:180,labelBBox:{x:18,y:53,width:283,height:67}},{id:"deploymentEnv",parent:null,level:0,children:["deploymentEnv.edgeConnect","deploymentEnv.k8sCluster"],inEdges:["l7mlxp","tvlbdk"],outEdges:[],title:"Deployment Environment",modelRef:"deploymentEnv",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Edge deployment infrastructure"},tags:[],kind:"system",depth:1,x:456,y:935,width:900,height:281,labelBBox:{x:6,y:0,width:165,height:15}},{id:"deploymentEnv.edgeConnect",parent:"deploymentEnv",level:1,children:[],inEdges:["l7mlxp"],outEdges:["11aayil"],title:"Edge Connect",modelRef:"deploymentEnv.edgeConnect",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Edge deployment orchestration platform"},tags:[],technology:"EdgeConnect",kind:"system",x:496,y:996,width:320,height:180,labelBBox:{x:25,y:53,width:270,height:67}},{id:"deploymentEnv.k8sCluster",parent:"deploymentEnv",level:1,children:[],inEdges:["tvlbdk","11aayil"],outEdges:[],title:"Kubernetes Cluster",modelRef:"deploymentEnv.k8sCluster",shape:"rectangle",color:"secondary",style:{opacity:15,size:"md"},description:{txt:"K8s cluster on edge cloudlet (Munich)"},tags:[],technology:"Kubernetes",kind:"system",x:996,y:996,width:320,height:180,labelBBox:{x:33,y:53,width:255,height:67}}],edges:[{id:"1it4ty8",source:"documentor",target:"docPlatform.contentRepo",label:"[...]",dotpos:"e,398.3,333.97 604.24,179.87 543.08,225.63 468.55,281.41 406.57,327.78",points:[[604,180],[543,226],[469,281],[407,328]],labelBBox:{x:517,y:239,width:25,height:18},parent:null,relations:["1ouysrh","fmzkfl"],color:"gray",line:"dashed",head:"normal"},{id:"1xegqy",source:"documentor",target:"docPlatform.taskfile",label:"executes local tasks",description:{txt:"task serve, task build, task test"},dotpos:"e,723,332.26 723,179.87 723,223.7 723,276.72 723,321.86",points:[[723,180],[723,224],[723,277],[723,322]],labelBBox:{x:724,y:240,width:129,height:18},parent:null,relations:["1iop8z6"],color:"gray",line:"dashed",head:"normal"},{id:"cptcjf",source:"docPlatform.contentRepo",target:"cicdPipeline.githubActions",label:"triggers on push/PR",description:{txt:"Webhook on main branch"},dotpos:"e,227.93,664.14 261.88,512.74 252.07,556.48 240.25,609.2 230.18,654.09",points:[[262,513],[252,556],[240,609],[230,654]],labelBBox:{x:248,y:572,width:128,height:18},parent:null,relations:["8hsu7m"],color:"gray",line:"dashed",head:"normal"},{id:"1r2t3dd",source:"docPlatform.taskfile",target:"cicdPipeline.githubActions",label:"can run locally",dotpos:"e,346.49,664.26 584.31,511.87 513.46,557.27 427.23,612.52 355.2,658.68",points:[[584,512],[513,557],[427,613],[355,659]],labelBBox:{x:482,y:572,width:93,height:18},parent:null,relations:["1dzhdhu","14ls3qa","htx1q7","1vqq9gw"],color:"gray",line:"dashed",head:"normal"},{id:"q5uigr",source:"cicdPipeline.githubActions",target:"docPlatform.contentRepo",label:"validates",description:{txt:"Lints Markdown files"},dotpos:"e,190.36,512.35 160.53,664.25 150.58,634.62 145.95,601.61 156.75,572 163.3,554.02 173.08,536.7 184.34,520.64",points:[[161,664],[151,635],[146,602],[157,572],[163,554],[173,537],[184,521]],labelBBox:{x:158,y:572,width:59,height:18},parent:null,relations:["11hmyp0"],color:"gray",line:"dashed",head:"normal"},{id:"hh1y8j",source:"cicdPipeline.githubActions",target:"cicdPipeline.containerBuild",label:"triggers on success",description:{txt:"Builds Docker image with Hugo output"},dotpos:"e,605.08,754 367.99,754 439.05,754 522.78,754 594.98,754",points:[[368,754],[439,754],[523,754],[595,754]],labelBBox:{x:424,y:728,width:125,height:18},parent:"cicdPipeline",relations:["1knexmm"],color:"gray",line:"dashed",head:"normal"},{id:"l7mlxp",source:"cicdPipeline.containerBuild",target:"deploymentEnv.edgeConnect",label:"pushes image to",description:{txt:"Tagged container image"},dotpos:"e,685.31,996.26 735.65,843.87 721.11,887.89 703.51,941.16 688.56,986.43",points:[[736,844],[721,888],[704,941],[689,986]],labelBBox:{x:715,y:904,width:107,height:18},parent:null,relations:["1hae5vm"],color:"gray",line:"dashed",head:"normal"},{id:"tvlbdk",source:"documentor",target:"deploymentEnv.k8sCluster",label:"views published docs",description:{txt:"HTTPS access to live documentation"},dotpos:"e,1153.9,996.01 873.63,179.94 906.57,205.58 938.32,236.13 961,270.8 1108.8,496.63 1144.8,823.18 1153.4,985.55",points:[[874,180],[907,206],[938,236],[961,271],[1109,497],[1145,823],[1153,986]],labelBBox:{x:1096,y:572,width:136,height:18},parent:null,relations:["otinu1"],color:"gray",line:"dashed",head:"normal"},{id:"11aayil",source:"deploymentEnv.edgeConnect",target:"deploymentEnv.k8sCluster",label:"deploys to",description:{txt:"Via edgeconnectdeployment.yaml"},dotpos:"e,996,1086 815.92,1086 870.12,1086 930.84,1086 985.81,1086",points:[[816,1086],[870,1086],[931,1086],[986,1086]],labelBBox:{x:872,y:1060,width:68,height:18},parent:"deploymentEnv",relations:["3gelf9"],color:"gray",line:"dashed",head:"normal"}]},testingCapabilities:{_type:"element",tags:null,links:null,viewOf:"cicdPipeline.githubActions",_stage:"layouted",sourcePath:"models/doc-platform/documentation-platform.c4",description:{txt:"All automated tests that ensure documentation quality"},title:"Testing Capabilities",id:"testingCapabilities",autoLayout:{direction:"TB"},hash:"76ca10e2d3f66b60e0e770ed653c00e8c3dff101",bounds:{x:0,y:0,width:1845,height:629},nodes:[{id:"docPlatform",parent:null,level:0,children:["docPlatform.taskfile","docPlatform.hugoSite","docPlatform.contentRepo.contentPages"],inEdges:["4wakcq","ln4mn5","iktojz","1lhijkz"],outEdges:["1eaxawv","hv4xce","efibas","1e3oxi2"],title:"Documentation Platform",modelRef:"docPlatform",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},tags:[],kind:"system",depth:1,navigateTo:"overview",x:553,y:8,width:1284,height:281,labelBBox:{x:6,y:0,width:166,height:15}},{id:"docPlatform.taskfile",parent:"docPlatform",level:1,children:[],inEdges:[],outEdges:["1eaxawv","hv4xce","efibas","1e3oxi2"],title:"Taskfile",modelRef:"docPlatform.taskfile",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Task automation for local development, build, and testing"},tags:[],technology:"Task (go-task)",kind:"tool",x:1023,y:69,width:341,height:180,labelBBox:{x:18,y:44,width:306,height:86}},{id:"cicdPipeline.githubActions",parent:null,level:0,children:["cicdPipeline.githubActions.testBuild","cicdPipeline.githubActions.testHtml","cicdPipeline.githubActions.testLinks","cicdPipeline.githubActions.testMarkdown"],inEdges:["1eaxawv","hv4xce","efibas","1e3oxi2"],outEdges:["4wakcq","ln4mn5","iktojz","1lhijkz"],title:"GitHub Actions",modelRef:"cicdPipeline.githubActions",shape:"rectangle",color:"blue",style:{opacity:15,size:"md"},description:{txt:"Automated testing workflow on push/PR"},tags:[],technology:"GitHub Actions",kind:"process",depth:1,x:8,y:340,width:1690,height:281,labelBBox:{x:6,y:0,width:99,height:15}},{id:"cicdPipeline.githubActions.testBuild",parent:"cicdPipeline.githubActions",level:1,children:[],inEdges:["1eaxawv"],outEdges:["4wakcq"],title:"Build Test",modelRef:"cicdPipeline.githubActions.testBuild",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Hugo build validation"},tags:[],technology:"Hugo",kind:"component",x:48,y:401,width:320,height:180,labelBBox:{x:88,y:53,width:143,height:68}},{id:"cicdPipeline.githubActions.testHtml",parent:"cicdPipeline.githubActions",level:1,children:[],inEdges:["efibas"],outEdges:["ln4mn5"],title:"HTML Validation",modelRef:"cicdPipeline.githubActions.testHtml",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Generated HTML validation"},tags:[],technology:"htmlvalidate",kind:"component",x:908,y:401,width:320,height:180,labelBBox:{x:66,y:53,width:187,height:68}},{id:"cicdPipeline.githubActions.testLinks",parent:"cicdPipeline.githubActions",level:1,children:[],inEdges:["1e3oxi2"],outEdges:["iktojz"],title:"Link Checker",modelRef:"cicdPipeline.githubActions.testLinks",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Broken link detection"},tags:[],technology:"htmltest",kind:"component",x:478,y:401,width:320,height:180,labelBBox:{x:88,y:53,width:143,height:68}},{id:"cicdPipeline.githubActions.testMarkdown",parent:"cicdPipeline.githubActions",level:1,children:[],inEdges:["hv4xce"],outEdges:["1lhijkz"],title:"Markdown Lint",modelRef:"cicdPipeline.githubActions.testMarkdown",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Markdown syntax and style checking"},tags:[],technology:"markdownlint",kind:"component",x:1338,y:401,width:320,height:180,labelBBox:{x:36,y:53,width:248,height:68}},{id:"docPlatform.hugoSite",parent:"docPlatform",level:1,children:[],inEdges:["4wakcq","ln4mn5","iktojz"],outEdges:[],title:"Hugo Site",modelRef:"docPlatform.hugoSite",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Static site generator based on Hugo with Docsy theme"},tags:[],technology:"Hugo Extended, Docsy",kind:"component",x:593,y:69,width:320,height:180,labelBBox:{x:23,y:44,width:274,height:86}},{id:"docPlatform.contentRepo.contentPages",parent:"docPlatform",level:1,children:[],inEdges:["1lhijkz"],outEdges:[],title:"Content Pages",modelRef:"docPlatform.contentRepo.contentPages",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Documentation pages in Markdown format"},tags:[],technology:"Markdown",kind:"component",x:1475,y:69,width:321,height:180,labelBBox:{x:18,y:53,width:286,height:68}}],edges:[{id:"4wakcq",source:"cicdPipeline.githubActions.testBuild",target:"docPlatform.hugoSite",label:"builds",description:{txt:"hugo --gc --minify"},dotpos:"e,593.29,180.37 172.86,401.65 166.12,369.69 166.42,335.14 186.42,309.2 234.84,246.41 434.45,204.83 583.12,181.92",points:[[173,402],[166,370],[166,335],[186,309],[235,246],[434,205],[583,182]],labelBBox:{x:187,y:309,width:41,height:18},parent:null,relations:["omluoy"],color:"gray",line:"dashed",head:"normal"},{id:"ln4mn5",source:"cicdPipeline.githubActions.testHtml",target:"docPlatform.hugoSite",label:"validates output",description:{txt:"Checks generated HTML"},dotpos:"e,837.83,249.07 983.29,401.46 940.59,356.72 888.73,302.39 845.05,256.63",points:[[983,401],[941,357],[889,302],[845,257]],labelBBox:{x:912,y:309,width:102,height:18},parent:null,relations:["1bziuh3"],color:"gray",line:"dashed",head:"normal"},{id:"iktojz",source:"cicdPipeline.githubActions.testLinks",target:"docPlatform.hugoSite",label:"checks links in",description:{txt:"Detects broken links"},dotpos:"e,600.41,249.07 562.94,401.33 546.97,371.84 538.84,338.95 553.75,309.2 563.56,289.61 577.31,271.93 593.05,256.17",points:[[563,401],[547,372],[539,339],[554,309],[564,290],[577,272],[593,256]],labelBBox:{x:555,y:309,width:94,height:18},parent:null,relations:["9nq85f"],color:"gray",line:"dashed",head:"normal"},{id:"1lhijkz",source:"cicdPipeline.githubActions.testMarkdown",target:"docPlatform.contentRepo.contentPages",label:"validates",description:{txt:"Lints Markdown files"},dotpos:"e,1598.8,249.07 1535.1,401.46 1553.5,357.37 1575.9,303.96 1594.8,258.62",points:[[1535,401],[1554,357],[1576,304],[1595,259]],labelBBox:{x:1572,y:309,width:59,height:18},parent:null,relations:["11hmyp0"],color:"gray",line:"dashed",head:"normal"},{id:"1eaxawv",source:"docPlatform.taskfile",target:"cicdPipeline.githubActions.testBuild",label:"can run locally",description:{txt:"task test:build"},dotpos:"e,288.07,401.25 1062.5,249.2 1032.6,265.39 1000.2,280.03 968,289.2 851.77,322.34 537.34,265.89 424.51,309.2 376.79,327.52 332.01,360.97 295.69,394.17",points:[[1062,249],[1033,265],[1e3,280],[968,289],[852,322],[537,266],[425,309],[377,328],[332,361],[296,394]],labelBBox:{x:426,y:309,width:93,height:18},parent:null,relations:["1dzhdhu"],color:"gray",line:"dashed",head:"normal"},{id:"hv4xce",source:"docPlatform.taskfile",target:"cicdPipeline.githubActions.testMarkdown",label:"can run locally",description:{txt:"task test:markdown"},dotpos:"e,1416.3,401.46 1275.9,249.07 1317.1,293.82 1367.1,348.15 1409.3,393.9",points:[[1276,249],[1317,294],[1367,348],[1409,394]],labelBBox:{x:1347,y:309,width:93,height:18},parent:null,relations:["14ls3qa"],color:"gray",line:"dashed",head:"normal"},{id:"efibas",source:"docPlatform.taskfile",target:"cicdPipeline.githubActions.testHtml",label:"can run locally",description:{txt:"task test:html"},dotpos:"e,1101.9,401.46 1160.1,249.07 1143.3,293.09 1122.9,346.36 1105.6,391.63",points:[[1160,249],[1143,293],[1123,346],[1106,392]],labelBBox:{x:1136,y:309,width:93,height:18},parent:null,relations:["htx1q7"],color:"gray",line:"dashed",head:"normal"},{id:"1e3oxi2",source:"docPlatform.taskfile",target:"cicdPipeline.githubActions.testLinks",label:"can run locally",description:{txt:"task test:links"},dotpos:"e,685.67,401.5 1058.9,249.19 1029.9,264.85 998.74,279.29 968,289.2 887.4,315.19 852.51,268.01 778.51,309.2 743.41,328.74 714.14,361.02 691.56,392.96",points:[[1059,249],[1030,265],[999,279],[968,289],[887,315],[853,268],[779,309],[743,329],[714,361],[692,393]],labelBBox:{x:780,y:309,width:93,height:18},parent:null,relations:["1vqq9gw"],color:"gray",line:"dashed",head:"normal"}]},index:{_type:"deployment",tags:null,links:null,_stage:"layouted",sourcePath:"views/deployment/kind/kind.c4",description:null,title:"Local Kind Deployment",id:"index",autoLayout:{direction:"TB"},hash:"2567bb136f9a38fc393b5cf518bffb4ed976b0ed",bounds:{x:0,y:0,width:13187,height:1755},nodes:[{id:"local",parent:null,level:0,children:["local.ingressNginx","local.velero","local.crossplane","local.externalSecrets","local.monitoring","local.backstage","local.argocd","local.gitea","local.keycloak","local.openbao","local.fibonacci","local.mailhog","local.minio","local.spark.sparkoperator"],inEdges:[],outEdges:[],deploymentRef:"local",title:"Local kind-cluster",kind:"environment",technology:"Kind",color:"primary",shape:"rectangle",icon:"tech:kubernetes",description:{txt:"Local kind-cluster environment for EDP, typically run by edpbuilder"},tags:[],style:{opacity:15,size:"md"},depth:2,x:2267,y:8,width:10912,height:1102,labelBBox:{x:6,y:0,width:127,height:15}},{id:"otc-faas",parent:null,level:0,children:[],inEdges:[],outEdges:[],deploymentRef:"otc-faas",title:"OTC prototype FaaS",kind:"cloud",technology:"OTC",color:"primary",shape:"rectangle",description:{txt:"OTC environments for Prototype faaS."},tags:[],style:{opacity:15,size:"md"},x:0,y:150,width:320,height:180,labelBBox:{x:30,y:54,width:259,height:67}},{id:"edge",parent:null,level:0,children:[],inEdges:[],outEdges:[],deploymentRef:"edge",title:"Edge Cloud",kind:"cloud",technology:"Edge",color:"primary",shape:"rectangle",description:{txt:"Edge environments for distributed workloads."},tags:[],style:{opacity:15,size:"md"},x:450,y:150,width:340,height:180,labelBBox:{x:18,y:54,width:304,height:67}},{id:"otc-edpFoundry",parent:null,level:0,children:["otc-edpFoundry.forgejoRunnerInfrastructure","otc-edpFoundry.cce","otc-edpFoundry.workflowSetupEDPInfrastructure","otc-edpFoundry.workflowSetupArgoCDInfrastructure"],inEdges:[],outEdges:["r3wxut","1sng0q0","e3benz"],deploymentRef:"otc-edpFoundry",title:"OTC EDP Foundry Central Service clusters",kind:"cloud",technology:"OTC",color:"primary",shape:"rectangle",description:{txt:`OTC environments for the central EDP Foundry services. This is kubernetes clusters and other infrastructure like nodes and vms, and optionally platform services. All is set up by IaC terraform and edpbuilder. A tenant is a folder in Foundry-Config-Forgejo. On merge triggers reconciliation to EDP. Optionally we will have a WebUI/API/CLI`},tags:[],style:{opacity:15,size:"md"},depth:1,x:855,y:79,width:870,height:981,labelBBox:{x:6,y:0,width:280,height:15}},{id:"local.ingressNginx",parent:"local",level:1,children:["local.ingressNginx.ingressNginx"],inEdges:[],outEdges:["15juth8","p2br4p","o229dq","2vnvvg","4ix58c","1hr2s5j","1nksp5g","m2japo","4drflo","ihlgsc"],deploymentRef:"local.ingressNginx",title:"ingress-nginx",kind:"namespace",color:"primary",shape:"rectangle",modelRef:"edp.ingressNginx.ingressNginx",icon:"tech:nginx",tags:[],style:{opacity:15,size:"md"},depth:1,x:4970,y:97,width:384,height:265,labelBBox:{x:6,y:0,width:92,height:15}},{id:"local.velero",parent:"local",level:1,children:["local.velero.velero"],inEdges:[],outEdges:["3znaik"],deploymentRef:"local.velero",title:"Velero",kind:"namespace",color:"primary",shape:"rectangle",modelRef:"edp.velero.velero",tags:[],style:{opacity:15,size:"md"},depth:1,x:8255,y:97,width:384,height:265,labelBBox:{x:6,y:0,width:49,height:15}},{id:"otc-edpFoundry.forgejoRunnerInfrastructure",parent:"otc-edpFoundry",level:1,children:[],inEdges:[],outEdges:["109g3jm"],deploymentRef:"otc-edpFoundry.forgejoRunnerInfrastructure",title:"EDP ForgejoRunner infrastructure",kind:"computeressource",color:"primary",shape:"rectangle",modelRef:"forgejoRunner",description:{txt:"Infrastructure for Forgejo runners like pods, vms, lxds, etc"},tags:[],style:{opacity:15,size:"md"},x:920,y:150,width:342,height:180,labelBBox:{x:18,y:54,width:306,height:66}},{id:"local.crossplane",parent:"local",level:1,children:["local.crossplane.crossplane","local.crossplane.crossplaneFunction","local.crossplane.crossplaneRbacManager","local.crossplane.providerArgoCD","local.crossplane.providerKind","local.crossplane.providerShell"],inEdges:[],outEdges:[],deploymentRef:"local.crossplane",title:"crossplane-system",kind:"namespace",color:"primary",shape:"rectangle",tags:[],style:{opacity:15,size:"md"},depth:1,x:8689,y:79,width:2670,height:301,labelBBox:{x:6,y:0,width:129,height:15}},{id:"local.crossplane.crossplane",parent:"local.crossplane",level:2,children:[],inEdges:[],outEdges:[],kind:"instance",title:"Crossplane",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.crossplane.crossplane",modelRef:"edp.crossplane.crossplane",x:8739,y:150,width:320,height:180,labelBBox:{x:107,y:74,width:105,height:24}},{id:"local.crossplane.crossplaneFunction",parent:"local.crossplane",level:2,children:[],inEdges:[],outEdges:[],kind:"instance",title:"Function Patch and Transform",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.crossplane.crossplaneFunction",modelRef:"edp.crossplane.crossplaneFunction",x:9189,y:150,width:320,height:180,labelBBox:{x:24,y:74,width:273,height:24}},{id:"local.crossplane.crossplaneRbacManager",parent:"local.crossplane",level:2,children:[],inEdges:[],outEdges:[],kind:"instance",title:"RBAC Manager",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.crossplane.crossplaneRbacManager",modelRef:"edp.crossplane.crossplaneRbacManager",x:9639,y:150,width:320,height:180,labelBBox:{x:88,y:74,width:144,height:24}},{id:"local.crossplane.providerArgoCD",parent:"local.crossplane",level:2,children:[],inEdges:[],outEdges:[],kind:"instance",title:"ArgoCD Provider",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.crossplane.providerArgoCD",modelRef:"edp.crossplane.providerArgoCD",x:10089,y:150,width:320,height:180,labelBBox:{x:82,y:74,width:155,height:24}},{id:"local.crossplane.providerKind",parent:"local.crossplane",level:2,children:[],inEdges:[],outEdges:[],kind:"instance",title:"Kind Provider",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.crossplane.providerKind",modelRef:"edp.crossplane.providerKind",x:10539,y:150,width:320,height:180,labelBBox:{x:98,y:74,width:124,height:24}},{id:"local.crossplane.providerShell",parent:"local.crossplane",level:2,children:[],inEdges:[],outEdges:[],kind:"instance",title:"Shell Provider",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.crossplane.providerShell",modelRef:"edp.crossplane.providerShell",x:10989,y:150,width:320,height:180,labelBBox:{x:96,y:74,width:129,height:24}},{id:"local.externalSecrets",parent:"local",level:1,children:["local.externalSecrets.certController","local.externalSecrets.externalSecrets","local.externalSecrets.webhook"],inEdges:[],outEdges:[],deploymentRef:"local.externalSecrets",title:"external-secrets",kind:"namespace",color:"primary",shape:"rectangle",tags:[],style:{opacity:15,size:"md"},depth:1,x:11409,y:79,width:1320,height:301,labelBBox:{x:6,y:0,width:119,height:15}},{id:"local.externalSecrets.certController",parent:"local.externalSecrets",level:2,children:[],inEdges:[],outEdges:[],kind:"instance",title:"cert-controller",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.externalSecrets.certController",modelRef:"edp.externalSecrets.certController",x:11459,y:150,width:320,height:180,labelBBox:{x:97,y:74,width:126,height:24}},{id:"local.externalSecrets.externalSecrets",parent:"local.externalSecrets",level:2,children:[],inEdges:[],outEdges:[],kind:"instance",title:"external-secrets controller",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.externalSecrets.externalSecrets",modelRef:"edp.externalSecrets.externalSecrets",x:11909,y:150,width:320,height:180,labelBBox:{x:43,y:74,width:234,height:24}},{id:"local.externalSecrets.webhook",parent:"local.externalSecrets",level:2,children:[],inEdges:[],outEdges:[],kind:"instance",title:"webhook",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.externalSecrets.webhook",modelRef:"edp.externalSecrets.webhook",x:12359,y:150,width:320,height:180,labelBBox:{x:118,y:74,width:84,height:24}},{id:"local.monitoring",parent:"local",level:1,children:["local.monitoring.gateway","local.monitoring.ingestor","local.monitoring.querier","local.monitoring.alloy","local.monitoring.queryFrontend","local.monitoring.distributor"],inEdges:["1hr2s5j","1nksp5g"],outEdges:[],deploymentRef:"local.monitoring",title:"monitoring",kind:"namespace",color:"primary",shape:"rectangle",tags:[],style:{opacity:15,size:"md"},depth:1,x:2787,y:79,width:1320,height:981,labelBBox:{x:6,y:0,width:75,height:15}},{id:"local.monitoring.gateway",parent:"local.monitoring",level:2,children:[],inEdges:[],outEdges:[],kind:"instance",title:"Gateway",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.monitoring.gateway",modelRef:"edp.monitoring.loki.gateway",x:2837,y:150,width:320,height:180,labelBBox:{x:119,y:74,width:83,height:24}},{id:"local.monitoring.ingestor",parent:"local.monitoring",level:2,children:[],inEdges:[],outEdges:[],kind:"instance",title:"Ingestor",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.monitoring.ingestor",modelRef:"edp.monitoring.loki.ingestor",x:3287,y:150,width:320,height:180,labelBBox:{x:122,y:74,width:76,height:24}},{id:"local.monitoring.querier",parent:"local.monitoring",level:2,children:[],inEdges:[],outEdges:[],kind:"instance",title:"Querier",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.monitoring.querier",modelRef:"edp.monitoring.loki.querier",x:3737,y:150,width:320,height:180,labelBBox:{x:125,y:74,width:71,height:24}},{id:"local.ingressNginx.ingressNginx",parent:"local.ingressNginx",level:2,children:[],inEdges:[],outEdges:["15juth8","p2br4p","o229dq","2vnvvg","4ix58c","1hr2s5j","1nksp5g","m2japo","4drflo","ihlgsc"],kind:"instance",title:"ingress-nginx",technology:"Nginx",tags:[],icon:"tech:nginx",color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.ingressNginx.ingressNginx",modelRef:"edp.ingressNginx.ingressNginx",x:5002,y:150,width:320,height:180,labelBBox:{x:85,y:65,width:181,height:45}},{id:"local.velero.velero",parent:"local.velero",level:2,children:[],inEdges:[],outEdges:["3znaik"],kind:"instance",title:"Velero",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.velero.velero",modelRef:"edp.velero.velero",x:8287,y:150,width:320,height:180,labelBBox:{x:129,y:74,width:62,height:24}},{id:"otc-edpFoundry.cce",parent:"otc-edpFoundry",level:1,children:[],inEdges:["109g3jm"],outEdges:["llfvob","fil3na"],deploymentRef:"otc-edpFoundry.cce",title:"OTC CCE",kind:"kubernetes",technology:"Kubernetes",color:"primary",shape:"rectangle",icon:"tech:kubernetes",description:{txt:"OTC Container Cluster Engine"},tags:[],style:{opacity:15,size:"md"},x:927,y:497,width:327,height:180,labelBBox:{x:46,y:54,width:266,height:67}},{id:"local.backstage",parent:"local",level:1,children:["local.backstage.backstage","local.backstage.database"],inEdges:["15juth8"],outEdges:[],deploymentRef:"local.backstage",title:"backstage",kind:"namespace",color:"primary",shape:"rectangle",tags:[],style:{opacity:15,size:"md"},depth:1,x:5041,y:426,width:420,height:634,labelBBox:{x:6,y:0,width:74,height:15}},{id:"local.argocd",parent:"local",level:1,children:["local.argocd.argocdAppController","local.argocd.argocdAppSetController","local.argocd.argocdRepoServer","local.argocd.argocdServer","local.argocd.argocdRedis"],inEdges:["p2br4p"],outEdges:[],deploymentRef:"local.argocd",title:"argocd",kind:"namespace",color:"primary",shape:"rectangle",tags:[],style:{opacity:15,size:"md"},depth:1,x:5511,y:426,width:1770,height:634,labelBBox:{x:6,y:0,width:53,height:15}},{id:"local.gitea",parent:"local",level:1,children:["local.gitea.forgejo"],inEdges:["o229dq"],outEdges:[],deploymentRef:"local.gitea",title:"gitea",kind:"namespace",color:"primary",shape:"rectangle",tags:[],style:{opacity:15,size:"md"},depth:1,x:7331,y:444,width:404,height:265,labelBBox:{x:6,y:0,width:38,height:15}},{id:"local.keycloak",parent:"local",level:1,children:["local.keycloak.keycloak","local.keycloak.keycloakDB"],inEdges:["2vnvvg"],outEdges:[],deploymentRef:"local.keycloak",title:"keycloak",kind:"namespace",color:"primary",shape:"rectangle",tags:[],style:{opacity:15,size:"md"},depth:1,x:2317,y:426,width:420,height:634,labelBBox:{x:6,y:0,width:66,height:15}},{id:"local.openbao",parent:"local",level:1,children:["local.openbao.openbao","local.openbao.agentInjector"],inEdges:["m2japo"],outEdges:[],deploymentRef:"local.openbao",title:"openbao",kind:"namespace",color:"primary",shape:"rectangle",tags:[],style:{opacity:15,size:"md"},depth:1,x:7785,y:79,width:420,height:648,labelBBox:{x:6,y:0,width:60,height:15}},{id:"local.fibonacci",parent:"local",level:1,children:["local.fibonacci.fibonacci"],inEdges:["4drflo"],outEdges:[],deploymentRef:"local.fibonacci",title:"fibonacci-app",kind:"namespace",color:"primary",shape:"rectangle",modelRef:"edp.testApp.fibonacci",icon:"tech:go",tags:[],style:{opacity:15,size:"md"},depth:1,x:4157,y:444,width:384,height:265,labelBBox:{x:6,y:0,width:91,height:15}},{id:"local.mailhog",parent:"local",level:1,children:["local.mailhog.mailhog"],inEdges:["ihlgsc"],outEdges:[],deploymentRef:"local.mailhog",title:"Mailhog",kind:"namespace",color:"primary",shape:"rectangle",modelRef:"edp.mailhog.mailhog",icon:"tech:go",tags:[],style:{opacity:15,size:"md"},depth:1,x:4607,y:444,width:384,height:265,labelBBox:{x:6,y:0,width:56,height:15}},{id:"local.minio",parent:"local",level:1,children:["local.minio.minio"],inEdges:["3znaik","4ix58c"],outEdges:[],deploymentRef:"local.minio",title:"minio-backup",kind:"namespace",color:"primary",shape:"storage",modelRef:"edp.minio.minio",tags:[],style:{opacity:15,size:"md"},depth:1,x:8255,y:444,width:384,height:265,labelBBox:{x:6,y:0,width:86,height:15}},{id:"otc-edpFoundry.workflowSetupEDPInfrastructure",parent:"otc-edpFoundry",level:1,children:[],inEdges:["llfvob"],outEdges:["r3wxut","e3benz"],deploymentRef:"otc-edpFoundry.workflowSetupEDPInfrastructure",title:"EDP infrastructure Workflow",kind:"computeressource",color:"primary",shape:"rectangle",description:{txt:"EDP infrastructure Workflow"},tags:[],style:{opacity:15,size:"md"},x:905,y:830,width:320,height:180,labelBBox:{x:32,y:63,width:255,height:48}},{id:"otc-edpFoundry.workflowSetupArgoCDInfrastructure",parent:"otc-edpFoundry",level:1,children:[],inEdges:["fil3na"],outEdges:["1sng0q0"],deploymentRef:"otc-edpFoundry.workflowSetupArgoCDInfrastructure",title:"EDP ArgoCD Workflow",kind:"computeressource",color:"primary",shape:"rectangle",description:{txt:"EDP Setup ArgoCD Workflow"},tags:[],style:{opacity:15,size:"md"},x:1355,y:830,width:320,height:180,labelBBox:{x:55,y:63,width:210,height:48}},{id:"local.backstage.backstage",parent:"local.backstage",level:2,children:[],inEdges:["15juth8"],outEdges:["19kg5y"],kind:"instance",title:"Backstage",tags:[],icon:"tech:react",color:"primary",shape:"browser",style:{opacity:15,size:"md"},deploymentRef:"local.backstage.backstage",modelRef:"edp.ui.backstage",x:5091,y:497,width:320,height:180,labelBBox:{x:97,y:74,width:156,height:24}},{id:"local.argocd.argocdAppController",parent:"local.argocd",level:2,children:[],inEdges:[],outEdges:["1gfgfhk"],kind:"instance",title:"ApplicationController",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.argocd.argocdAppController",modelRef:"edp.argoCD.argocdAppController",x:5561,y:497,width:320,height:180,labelBBox:{x:66,y:74,width:189,height:24}},{id:"local.argocd.argocdAppSetController",parent:"local.argocd",level:2,children:[],inEdges:[],outEdges:["qfu5xm"],kind:"instance",title:"ApplicationSeetController",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.argocd.argocdAppSetController",modelRef:"edp.argoCD.argocdAppSetController",x:6011,y:497,width:320,height:180,labelBBox:{x:45,y:74,width:230,height:24}},{id:"local.argocd.argocdRepoServer",parent:"local.argocd",level:2,children:[],inEdges:[],outEdges:["g7xnzs"],kind:"instance",title:"Repo Server",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.argocd.argocdRepoServer",modelRef:"edp.argoCD.argocdRepoServer",x:6461,y:497,width:320,height:180,labelBBox:{x:102,y:74,width:116,height:24}},{id:"local.argocd.argocdServer",parent:"local.argocd",level:2,children:[],inEdges:["p2br4p"],outEdges:["fon3rk"],kind:"instance",title:"ArgoCD Server",tags:[],color:"primary",shape:"rectangle",style:{opacity:15,size:"md"},deploymentRef:"local.argocd.argocdServer",modelRef:"edp.argoCD.argocdServer",x:6911,y:497,width:320,height:180,labelBBox:{x:90,y:74,width:140,height:24}},{id:"local.gitea.forgejo",parent:"local.gitea",level:2,children:[],inEdges:["o229dq"],outEdges:[],kind:"instance",title:"Forgejo",description:{txt:`Fully managed DevOps Platform @@ -588,22 +590,22 @@ and security scanning`},tags:[],technology:"Golang",kind:"container",depth:1,x:8 offering capabilities like code version controling collaboration and ticketing -and security scanning`},tags:[],technology:"Golang",kind:"container",navigateTo:"forgejo",x:860,y:384,width:340,height:180,labelBBox:{x:46,y:17,width:278,height:139}},{id:"edp.keycloak",parent:null,level:0,children:[],inEdges:["dh7ut5"],outEdges:[],title:"Keycloak",modelRef:"edp.keycloak",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Single Sign On for all EDP products"},tags:[],kind:"container",navigateTo:"keycloak",x:1310,y:384,width:320,height:180,labelBBox:{x:39,y:63,width:242,height:48}},{id:"edp.mailhog",parent:null,level:0,children:[],inEdges:["1bv0wod"],outEdges:[],title:"Mailhog",modelRef:"edp.mailhog",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Web and API based SMTP testing"},tags:[],kind:"container",navigateTo:"mailhog",x:1740,y:384,width:320,height:180,labelBBox:{x:44,y:63,width:232,height:48}},{id:"edp.minio",parent:null,level:0,children:[],inEdges:["68hu20"],outEdges:[],title:"Minio",modelRef:"edp.minio",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"S3 compatible blob storage"},tags:[],kind:"container",navigateTo:"minio",x:2170,y:384,width:320,height:180,labelBBox:{x:67,y:63,width:186,height:48}},{id:"edp.monitoring",parent:null,level:0,children:[],inEdges:["nx2xew"],outEdges:[],title:"Monitoring",modelRef:"edp.monitoring",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Observability system to monitor deployed components"},tags:[],kind:"container",navigateTo:"monitoring",x:2600,y:384,width:320,height:180,labelBBox:{x:21,y:54,width:278,height:66}},{id:"edp.openbao",parent:null,level:0,children:[],inEdges:["momp7g"],outEdges:[],title:"OpenBao",modelRef:"edp.openbao",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Secure secret storage"},tags:[],kind:"container",x:3030,y:384,width:320,height:180,labelBBox:{x:85,y:63,width:151,height:48}},{id:"edp.testApp",parent:null,level:0,children:[],inEdges:["8cmkj7"],outEdges:[],title:"Fibonacci",modelRef:"edp.testApp",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Testapp to validate deployments"},tags:[],kind:"container",navigateTo:"testapp",x:3460,y:384,width:320,height:180,labelBBox:{x:50,y:63,width:220,height:48}}],edges:[{id:"1poylyw",source:"edp.ingressNginx.ingressNginx",target:"edp.argoCD",label:"https",dotpos:"e,319.96,401.87 1740.1,163.73 1459.5,186.77 861.79,248.41 375.02,384 360.03,388.17 344.69,393.11 329.44,398.47",points:[[1740,164],[1459,187],[862,248],[375,384],[360,388],[345,393],[329,398]],labelBBox:{x:704,y:301,width:34,height:18},parent:null,relations:["1yssos5"],color:"gray",line:"dashed",head:"normal"},{id:"llqgvs",source:"edp.ingressNginx.ingressNginx",target:"edp.ui",label:"https",dotpos:"e,749.97,403.03 1740.4,176.52 1525.1,211.47 1131,282.97 805.02,384 790.08,388.63 774.74,393.9 759.47,399.5",points:[[1740,177],[1525,211],[1131,283],[805,384],[790,389],[775,394],[759,400]],labelBBox:{x:1102,y:301,width:34,height:18},parent:null,relations:["v8c8aq"],color:"gray",line:"dashed",head:"normal"},{id:"75xltk",source:"edp.ingressNginx.ingressNginx",target:"edp.forgejo",label:"https",dotpos:"e,1200.3,405 1740.1,208.08 1609.3,254.18 1419.6,321.88 1255,384 1240.3,389.56 1225.1,395.4 1209.8,401.31",points:[[1740,208],[1609,254],[1420,322],[1255,384],[1240,390],[1225,395],[1210,401]],labelBBox:{x:1468,y:301,width:34,height:18},parent:null,relations:["123efwn"],color:"gray",line:"dashed",head:"normal"},{id:"dh7ut5",source:"edp.ingressNginx.ingressNginx",target:"edp.keycloak",label:"https",dotpos:"e,1589.1,384.17 1780.8,241.13 1723.7,283.73 1655.3,334.77 1597.2,378.11",points:[[1781,241],[1724,284],[1655,335],[1597,378]],labelBBox:{x:1699,y:301,width:34,height:18},parent:null,relations:["h3rut2"],color:"gray",line:"dashed",head:"normal"},{id:"1bv0wod",source:"edp.ingressNginx.ingressNginx",target:"edp.mailhog",label:"https",dotpos:"e,1900,384.17 1900,241.13 1900,282.33 1900,331.44 1900,373.83",points:[[1900,241],[1900,282],[1900,331],[1900,374]],labelBBox:{x:1901,y:301,width:34,height:18},parent:null,relations:["ofdedh"],color:"gray",line:"dashed",head:"normal"},{id:"68hu20",source:"edp.ingressNginx.ingressNginx",target:"edp.minio",label:"https",dotpos:"e,2211,384.17 2019.2,241.13 2076.3,283.73 2144.7,334.77 2202.8,378.11",points:[[2019,241],[2076,284],[2145,335],[2203,378]],labelBBox:{x:2129,y:301,width:34,height:18},parent:null,relations:["fe65w2"],color:"gray",line:"dashed",head:"normal"},{id:"nx2xew",source:"edp.ingressNginx.ingressNginx",target:"edp.monitoring",label:"https",dotpos:"e,2600.1,405.82 2059.8,207.26 2190.8,252.97 2380.8,320.52 2545,384 2559.8,389.73 2575.2,395.8 2590.5,401.97",points:[[2060,207],[2191,253],[2381,321],[2545,384],[2560,390],[2575,396],[2591,402]],labelBBox:{x:2370,y:301,width:34,height:18},parent:null,relations:["1jvab2g","fs60l7"],color:"gray",line:"dashed",head:"normal"},{id:"momp7g",source:"edp.ingressNginx.ingressNginx",target:"edp.openbao",label:"https",dotpos:"e,3030,403.09 2059.9,177.4 2271.9,212.91 2656.5,284.63 2975,384 2990,388.66 3005.3,393.94 3020.6,399.56",points:[[2060,177],[2272,213],[2657,285],[2975,384],[2990,389],[3005,394],[3021,400]],labelBBox:{x:2744,y:301,width:34,height:18},parent:null,relations:["1p30hav"],color:"gray",line:"dashed",head:"normal"},{id:"8cmkj7",source:"edp.ingressNginx.ingressNginx",target:"edp.testApp",label:"https",dotpos:"e,3460.1,401.91 2060,164.18 2337.9,187.76 2925.9,250.03 3405,384 3420,388.19 3435.3,393.13 3450.6,398.51",points:[[2060,164],[2338,188],[2926,250],[3405,384],[3420,388],[3435,393],[3451,399]],labelBBox:{x:3165,y:301,width:34,height:18},parent:null,relations:["1i5f8um"],color:"gray",line:"dashed",head:"normal"}]},testapp:{_type:"element",tags:null,links:null,viewOf:"edp.testApp",_stage:"layouted",sourcePath:"views/edp/edp.c4",description:null,title:"Fibonacci",id:"testapp",autoLayout:{direction:"TB"},hash:"d8f40f5cfab10e6e91c79feeef6be3240922c723",bounds:{x:0,y:0,width:400,height:544},nodes:[{id:"edp.ingressNginx",parent:null,level:0,children:[],inEdges:[],outEdges:["1tefjx2"],title:"Ingress",modelRef:"edp.ingressNginx",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Ingress Controller for incoming http(s) traffic"},tags:["internal"],kind:"container",navigateTo:"ingressNginx",x:40,y:0,width:320,height:180,labelBBox:{x:33,y:54,width:255,height:66}},{id:"edp.testApp",parent:null,level:0,children:["edp.testApp.fibonacci"],inEdges:["1tefjx2"],outEdges:[],title:"Fibonacci",modelRef:"edp.testApp",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Testapp to validate deployments"},tags:[],kind:"container",depth:1,x:8,y:271,width:384,height:265,labelBBox:{x:6,y:0,width:65,height:15}},{id:"edp.testApp.fibonacci",parent:"edp.testApp",level:1,children:[],inEdges:["1tefjx2"],outEdges:[],title:"Fibonacci",modelRef:"edp.testApp.fibonacci",shape:"rectangle",color:"primary",icon:"tech:go",style:{opacity:15,size:"md"},tags:[],technology:"Golang",kind:"component",x:40,y:324,width:320,height:180,labelBBox:{x:101,y:64,width:148,height:46}}],edges:[{id:"1tefjx2",source:"edp.ingressNginx",target:"edp.testApp.fibonacci",label:"https",dotpos:"e,200,324.17 200,179.84 200,221.37 200,270.98 200,313.74",points:[[200,180],[200,221],[200,271],[200,314]],labelBBox:{x:201,y:240,width:34,height:18},parent:null,relations:["1i5f8um"],color:"gray",line:"dashed",head:"normal"}]},mailhog:{_type:"element",tags:null,links:null,viewOf:"edp.mailhog",_stage:"layouted",sourcePath:"views/edp/edp.c4",description:null,title:"Mailhog",id:"mailhog",autoLayout:{direction:"TB"},hash:"b9e703c2ceb2b2a400194d90ac7caa94525ac068",bounds:{x:0,y:0,width:400,height:544},nodes:[{id:"edp.ingressNginx",parent:null,level:0,children:[],inEdges:[],outEdges:["axipfp"],title:"Ingress",modelRef:"edp.ingressNginx",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Ingress Controller for incoming http(s) traffic"},tags:["internal"],kind:"container",navigateTo:"ingressNginx",x:40,y:0,width:320,height:180,labelBBox:{x:33,y:54,width:255,height:66}},{id:"edp.mailhog",parent:null,level:0,children:["edp.mailhog.mailhog"],inEdges:["axipfp"],outEdges:[],title:"Mailhog",modelRef:"edp.mailhog",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Web and API based SMTP testing"},tags:[],kind:"container",depth:1,x:8,y:271,width:384,height:265,labelBBox:{x:6,y:0,width:56,height:15}},{id:"edp.mailhog.mailhog",parent:"edp.mailhog",level:1,children:[],inEdges:["axipfp"],outEdges:[],title:"Mailhog",modelRef:"edp.mailhog.mailhog",shape:"rectangle",color:"primary",icon:"tech:go",style:{opacity:15,size:"md"},tags:[],technology:"Golang",kind:"component",x:40,y:324,width:320,height:180,labelBBox:{x:109,y:64,width:132,height:46}}],edges:[{id:"axipfp",source:"edp.ingressNginx",target:"edp.mailhog.mailhog",label:"https",dotpos:"e,200,324.17 200,179.84 200,221.37 200,270.98 200,313.74",points:[[200,180],[200,221],[200,271],[200,314]],labelBBox:{x:201,y:240,width:34,height:18},parent:null,relations:["ofdedh"],color:"gray",line:"dashed",head:"normal"}]},spark:{_type:"element",tags:null,links:null,viewOf:"edp.spark",_stage:"layouted",sourcePath:"views/edp/edp.c4",description:null,title:"Spark",id:"spark",autoLayout:{direction:"TB"},hash:"1ec41779bad408405a96c4063aa06b24ec2aace8",bounds:{x:0,y:0,width:400,height:281},nodes:[{id:"edp.spark",parent:null,level:0,children:["edp.spark.sparkoperator"],inEdges:[],outEdges:[],title:"Spark",modelRef:"edp.spark",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Allows running Spark applications on K8s"},tags:["internal"],kind:"container",depth:1,x:8,y:8,width:384,height:265,labelBBox:{x:6,y:0,width:43,height:15}},{id:"edp.spark.sparkoperator",parent:"edp.spark",level:1,children:[],inEdges:[],outEdges:[],title:"Spark Operator",modelRef:"edp.spark.sparkoperator",shape:"rectangle",color:"primary",icon:"tech:spark",style:{opacity:15,size:"md"},tags:[],technology:"Spark",kind:"component",x:40,y:61,width:320,height:180,labelBBox:{x:76,y:64,width:198,height:46}}],edges:[]},argoCD:{_type:"element",tags:null,links:null,viewOf:"edp.argoCD",_stage:"layouted",sourcePath:"views/edp/edp.c4",description:null,title:"ArgoCD",id:"argoCD",autoLayout:{direction:"TB"},hash:"53d798ca0a34dbe3ebf9b43318a151943ecaec33",bounds:{x:0,y:0,width:2058,height:883},nodes:[{id:"edp.ingressNginx",parent:null,level:0,children:[],inEdges:[],outEdges:["ce0h9c"],title:"Ingress",modelRef:"edp.ingressNginx",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Ingress Controller for incoming http(s) traffic"},tags:["internal"],kind:"container",navigateTo:"ingressNginx",x:48,y:0,width:320,height:180,labelBBox:{x:33,y:54,width:255,height:66}},{id:"edp.argoCD",parent:null,level:0,children:["edp.argoCD.argocdServer","edp.argoCD.argocdAppController","edp.argoCD.argocdAppSetController","edp.argoCD.argocdRepoServer","edp.argoCD.argocdRedis"],inEdges:["ce0h9c"],outEdges:["1e5s57z"],title:"ArgoCD",modelRef:"edp.argoCD",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"GitOps Service"},tags:[],kind:"container",depth:1,x:8,y:271,width:1690,height:604,labelBBox:{x:6,y:0,width:53,height:15}},{id:"edp.argoCD.argocdServer",parent:"edp.argoCD",level:1,children:[],inEdges:["ce0h9c"],outEdges:["124uc06"],title:"ArgoCD Server",modelRef:"edp.argoCD.argocdServer",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},tags:[],kind:"component",x:48,y:332,width:320,height:180,labelBBox:{x:90,y:74,width:140,height:24}},{id:"edp.argoCD.argocdAppController",parent:"edp.argoCD",level:1,children:[],inEdges:[],outEdges:["doh0se"],title:"ApplicationController",modelRef:"edp.argoCD.argocdAppController",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},tags:[],kind:"component",x:478,y:332,width:320,height:180,labelBBox:{x:66,y:74,width:189,height:24}},{id:"edp.argoCD.argocdAppSetController",parent:"edp.argoCD",level:1,children:[],inEdges:[],outEdges:["ekc7mk"],title:"ApplicationSeetController",modelRef:"edp.argoCD.argocdAppSetController",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},tags:[],kind:"component",x:908,y:332,width:320,height:180,labelBBox:{x:45,y:74,width:230,height:24}},{id:"edp.argoCD.argocdRepoServer",parent:"edp.argoCD",level:1,children:[],inEdges:[],outEdges:["173l3xq","1e5s57z"],title:"Repo Server",modelRef:"edp.argoCD.argocdRepoServer",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},tags:[],kind:"component",x:1338,y:332,width:320,height:180,labelBBox:{x:102,y:74,width:116,height:24}},{id:"edp.argoCD.argocdRedis",parent:"edp.argoCD",level:1,children:[],inEdges:["124uc06","doh0se","ekc7mk","173l3xq"],outEdges:[],title:"Redis",modelRef:"edp.argoCD.argocdRedis",shape:"rectangle",color:"primary",icon:"tech:redis",style:{opacity:15,size:"md"},tags:[],technology:"Redis",kind:"component",x:693,y:655,width:320,height:180,labelBBox:{x:118,y:64,width:114,height:46}},{id:"edp.forgejogit",parent:null,level:0,children:[],inEdges:["1e5s57z"],outEdges:[],title:"ForgejoGit",modelRef:"edp.forgejogit",shape:"rectangle",color:"primary",icon:"tech:git",style:{opacity:15,size:"md"},tags:[],kind:"component",x:1738,y:655,width:320,height:180,labelBBox:{x:97,y:74,width:156,height:24}}],edges:[{id:"ce0h9c",source:"edp.ingressNginx",target:"edp.argoCD.argocdServer",label:"https",dotpos:"e,208,332.26 208,179.87 208,223.7 208,276.72 208,321.86",points:[[208,180],[208,224],[208,277],[208,322]],labelBBox:{x:209,y:240,width:34,height:18},parent:null,relations:["1yssos5"],color:"gray",line:"dashed",head:"normal"},{id:"124uc06",source:"edp.argoCD.argocdServer",target:"edp.argoCD.argocdRedis",label:"read/write",dotpos:"e,693.08,664.26 367.85,502.5 463.9,550.27 586.02,611.01 683.7,659.6",points:[[368,503],[464,550],[586,611],[684,660]],labelBBox:{x:551,y:572,width:65,height:18},parent:"edp.argoCD",relations:["yfhhi5"],color:"gray",line:"dashed",head:"normal"},{id:"doh0se",source:"edp.argoCD.argocdAppController",target:"edp.argoCD.argocdRedis",label:"read/write",dotpos:"e,782.56,654.82 687.71,511.63 703.62,538.73 721.74,568.36 739.53,594.8 751,611.84 763.71,629.54 776.36,646.54",points:[[688,512],[704,539],[722,568],[740,595],[751,612],[764,630],[776,647]],labelBBox:{x:741,y:572,width:65,height:18},parent:"edp.argoCD",relations:["10vkxaf"],color:"gray",line:"dashed",head:"normal"},{id:"ekc7mk",source:"edp.argoCD.argocdAppSetController",target:"edp.argoCD.argocdRedis",label:"read/write",dotpos:"e,912.53,654.97 1008.4,511.93 980.43,553.66 947.04,603.49 918.38,646.24",points:[[1008,512],[980,554],[947,603],[918,646]],labelBBox:{x:968,y:572,width:65,height:18},parent:"edp.argoCD",relations:["i8z0mi"],color:"gray",line:"dashed",head:"normal"},{id:"173l3xq",source:"edp.argoCD.argocdRepoServer",target:"edp.argoCD.argocdRedis",label:"read/write",dotpos:"e,1012.9,664.26 1338.1,502.5 1242.1,550.27 1120,611.01 1022.3,659.6",points:[[1338,503],[1242,550],[1120,611],[1022,660]],labelBBox:{x:1196,y:572,width:65,height:18},parent:"edp.argoCD",relations:["iullhy"],color:"gray",line:"dashed",head:"normal"},{id:"1e5s57z",source:"edp.argoCD.argocdRepoServer",target:"edp.forgejogit",label:"Syncs git repo",dotpos:"e,1787.2,654.97 1608.9,511.93 1661.9,554.44 1725.4,605.36 1779.3,648.64",points:[[1609,512],[1662,554],[1725,605],[1779,649]],labelBBox:{x:1711,y:572,width:93,height:18},parent:null,relations:["6mupa0"],color:"gray",line:"dashed",head:"normal"}]},idp:{_type:"element",tags:null,links:null,viewOf:"edp",_stage:"layouted",sourcePath:"views/edp/edp-as-idp.c4",description:null,title:"EDP as IDP",id:"idp",autoLayout:{direction:"TB"},hash:"d1e4c998ee263bce5b2572834b6a9a7b6d6391f5",bounds:{x:-784,y:-470,width:6725,height:2278},nodes:[{id:"developer",parent:null,level:0,children:[],inEdges:[],outEdges:["1w9cpb2","1y3lcyj","1agven9","1nv0w41","3nxrq7","bfgapq"],title:"Developer",modelRef:"developer",shape:"person",color:"green",style:{opacity:25,size:"xl"},description:{txt:"The regular user of the platform"},tags:[],kind:"actor",x:-784,y:-301,width:520,height:290,labelBBox:{x:111,y:108,width:298,height:64}},{id:"@gr1",parent:null,kind:"@group",title:"EDP",color:"primary",shape:"rectangle",children:["@gr2","@gr5","@gr6","@gr7"],inEdges:["1w9cpb2","1y3lcyj","1agven9","1nv0w41","3nxrq7","bfgapq"],outEdges:[],level:0,depth:3,tags:[],style:{border:"dashed",opacity:15},x:29,y:-451,width:2412,height:2259,labelBBox:{x:6,y:0,width:27,height:15}},{id:"@gr2",parent:"@gr1",kind:"@group",title:"Developer Control Plane",color:"primary",shape:"rectangle",children:["@gr3","@gr4"],inEdges:["1w9cpb2","1y3lcyj","1agven9"],outEdges:[],level:0,depth:2,tags:[],style:{border:"dashed",opacity:15},x:69,y:-401,width:2332,height:890,labelBBox:{x:6,y:0,width:170,height:15}},{id:"@gr3",parent:"@gr2",kind:"@group",title:"Frontend",color:"primary",shape:"rectangle",children:["edp.ui.backstage","edp.api"],inEdges:["1w9cpb2","1y3lcyj"],outEdges:[],level:0,depth:1,tags:[],style:{border:"dashed",opacity:15},x:110,y:-351,width:2246,height:384,labelBBox:{x:6,y:0,width:65,height:15}},{id:"@gr4",parent:"@gr2",kind:"@group",title:"Version Control",color:"primary",shape:"rectangle",children:["applicationspecification.application_gitrepo","applicationspecification.applicationspec_gitrepo","edp.forgejogit"],inEdges:["1agven9"],outEdges:[],level:0,depth:1,tags:[],style:{border:"dashed",opacity:15},x:109,y:59,width:2252,height:390,labelBBox:{x:6,y:0,width:111,height:15}},{id:"@gr5",parent:"@gr1",kind:"@group",title:"Integration & Delivery Plane",color:"primary",shape:"rectangle",children:["forgejoRunner","edp.imageregistry","edp.argoCD"],inEdges:["1nv0w41"],outEdges:[],level:0,depth:1,tags:[],style:{border:"dashed",opacity:15},x:925,y:542,width:1456,height:773,labelBBox:{x:6,y:0,width:189,height:15}},{id:"@gr6",parent:"@gr1",kind:"@group",title:"Monitoring Plane",color:"primary",shape:"rectangle",children:["edp.monitoring","edp.grafana"],inEdges:["3nxrq7"],outEdges:[],level:0,depth:1,tags:[],style:{border:"dashed",opacity:15},x:117,y:963,width:2262,height:388,labelBBox:{x:6,y:0,width:116,height:15}},{id:"@gr7",parent:"@gr1",kind:"@group",title:"Security Plane",color:"primary",shape:"rectangle",children:["edp.keycloak","edp.kyverno","edp.externalSecrets","edp.openbao"],inEdges:["bfgapq"],outEdges:[],level:0,depth:1,tags:[],style:{border:"dashed",opacity:15},x:116,y:1382,width:2266,height:386,labelBBox:{x:6,y:0,width:100,height:15}},{id:"edp.ui.backstage",parent:"@gr3",level:1,children:[],inEdges:["1w9cpb2"],outEdges:[],title:"Backstage",modelRef:"edp.ui.backstage",shape:"browser",color:"primary",icon:"tech:react",style:{opacity:25,size:"xl"},tags:[],kind:"component",x:150,y:-301,width:520,height:290,labelBBox:{x:179,y:123,width:192,height:32}},{id:"edp.api",parent:"@gr3",level:1,children:[],inEdges:["1y3lcyj"],outEdges:[],title:"API",modelRef:"edp.api",shape:"rectangle",color:"primary",icon:"tech:swagger",style:{opacity:25,size:"xl"},description:{txt:"API for the EDP platform"},tags:[],kind:"container",x:1796,y:-297,width:520,height:290,labelBBox:{x:129,y:108,width:292,height:64}},{id:"applicationspecification.application_gitrepo",parent:"@gr4",level:1,children:[],inEdges:[],outEdges:[],title:"Git App Repo",modelRef:"applicationspecification.application_gitrepo",shape:"rectangle",color:"primary",icon:"tech:git",style:{opacity:25,size:"xl"},description:{txt:"Git Application Repository"},tags:[],technology:"Git",kind:"component",x:958,y:119,width:520,height:290,labelBBox:{x:123,y:96,width:304,height:89}},{id:"applicationspecification.applicationspec_gitrepo",parent:"@gr4",level:1,children:[],inEdges:[],outEdges:[],title:"Git AppSpec Repo",modelRef:"applicationspecification.applicationspec_gitrepo",shape:"rectangle",color:"primary",icon:"tech:git",style:{opacity:25,size:"xl"},description:{txt:"Git Application Specification Repository"},tags:[],technology:"Git",kind:"component",x:1801,y:119,width:520,height:290,labelBBox:{x:114,y:83,width:322,height:114}},{id:"edp.forgejogit",parent:"@gr4",level:1,children:[],inEdges:["1agven9"],outEdges:[],title:"ForgejoGit",modelRef:"edp.forgejogit",shape:"rectangle",color:"primary",icon:"tech:git",style:{opacity:25,size:"xl"},tags:[],kind:"component",x:149,y:109,width:520,height:290,labelBBox:{x:179,y:123,width:192,height:32}},{id:"forgejoRunner",parent:"@gr5",level:1,children:[],inEdges:[],outEdges:[],title:"Forgejo Runner",modelRef:"forgejoRunner",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"A runner is a service that runs jobs triggered by Forgejo. A runner can have different technical implementations like a container or a VM."},tags:[],kind:"component",x:965,y:985,width:520,height:290,labelBBox:{x:69,y:71,width:382,height:139}},{id:"edp.imageregistry",parent:"@gr5",level:1,children:[],inEdges:["1nv0w41"],outEdges:[],title:"Forgejo OCI Image Registry",modelRef:"edp.imageregistry",shape:"rectangle",color:"primary",icon:"tech:go",style:{opacity:25,size:"xl"},description:{txt:"Container Image Registry"},tags:[],technology:"Golang",kind:"component",x:965,y:595,width:522,height:290,labelBBox:{x:70,y:96,width:410,height:89}},{id:"edp.argoCD",parent:"@gr5",level:1,children:[],inEdges:[],outEdges:[],title:"ArgoCD",modelRef:"edp.argoCD",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"GitOps Service"},tags:[],kind:"container",navigateTo:"argoCD",x:1821,y:592,width:520,height:290,labelBBox:{x:187,y:108,width:145,height:64}},{id:"edp.monitoring",parent:"@gr6",level:1,children:[],inEdges:[],outEdges:[],title:"Monitoring",modelRef:"edp.monitoring",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"Observability system to monitor deployed components"},tags:[],kind:"container",navigateTo:"monitoring",x:1819,y:1021,width:520,height:290,labelBBox:{x:66,y:96,width:388,height:88}},{id:"edp.grafana",parent:"@gr6",level:1,children:[],inEdges:["3nxrq7"],outEdges:[],title:"Grafana",modelRef:"edp.grafana",shape:"rectangle",color:"primary",icon:"tech:grafana",style:{opacity:25,size:"xl"},description:{txt:"Data visualization and monitoring"},tags:[],kind:"container",x:157,y:1013,width:520,height:290,labelBBox:{x:89,y:108,width:372,height:64}},{id:"edp.keycloak",parent:"@gr7",level:1,children:[],inEdges:["bfgapq"],outEdges:[],title:"Keycloak",modelRef:"edp.keycloak",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"Single Sign On for all EDP products"},tags:[],kind:"container",navigateTo:"keycloak",x:156,y:1438,width:520,height:290,labelBBox:{x:92,y:108,width:337,height:64}},{id:"edp.kyverno",parent:"@gr7",level:1,children:[],inEdges:[],outEdges:[],title:"Kyverno",modelRef:"edp.kyverno",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"Policy-as-Code"},tags:["internal"],kind:"container",x:1267,y:1433,width:520,height:290,labelBBox:{x:187,y:108,width:146,height:64}},{id:"edp.externalSecrets",parent:"@gr7",level:1,children:[],inEdges:[],outEdges:[],title:"external-secrets",modelRef:"edp.externalSecrets",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"Provider to access externally stored Kubernetes secrets"},tags:["internal"],kind:"container",navigateTo:"externalSecrets",x:1822,y:1432,width:520,height:290,labelBBox:{x:92,y:96,width:337,height:88}},{id:"edp.openbao",parent:"@gr7",level:1,children:[],inEdges:[],outEdges:[],title:"OpenBao",modelRef:"edp.openbao",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"Secure secret storage"},tags:[],kind:"container",x:711,y:1437,width:520,height:290,labelBBox:{x:155,y:108,width:209,height:64}}],edges:[{id:"1w9cpb2",source:"developer",target:"edp.ui.backstage",label:"create and maintain apps",dotpos:"e,1840.8,633.87 5888.3,380.18 5537.3,435.39 4891.5,528.84 4336,564.42 4303.2,566.51 2004.4,563.02 1973,572.42 1930.6,585.1 1888.5,605.48 1849.6,628.59",points:[[5890,380],[5539,435],[4893,529],[4338,564],[4305,567],[2004,563],[1973,572],[1931,585],[1888,605],[1850,629]],labelBBox:{x:-57,y:-156,width:161,height:18},parent:null,relations:["1woleh6"],color:"gray",line:"dashed",head:"normal",controlPoints:[{x:-139.8,y:-156}]},{id:"1y3lcyj",source:"developer",target:"edp.api",label:"uses API",dotpos:"e,2494.7,633.74 5888.2,397.27 5631.2,453.06 5225.9,532.44 4870,564.42 4839.2,567.19 2670.9,564.31 2641,572.42 2594.4,585.07 2547.6,605.53 2504,628.75",points:[[5890,397],[5633,453],[5228,532],[4872,564],[4841,567],[2671,564],[2641,572],[2594,585],[2548,606],[2504,629]],labelBBox:{x:775,y:-442,width:60,height:18},parent:null,relations:["1l9a3pd"],color:"gray",line:"dashed",head:"normal",controlPoints:[{x:1165,y:-470}]},{id:"1agven9",source:"developer",target:"edp.forgejogit",label:"uses git",dotpos:"e,1199.9,633.62 5888.4,368.77 5435.9,421.39 4472.9,525.91 3656,564.42 3623.7,565.94 1361.9,563.12 1331,572.42 1288.9,585.06 1247.2,605.35 1208.6,628.36",points:[[5890,369],[5438,421],[4474,526],[3657,564],[3625,566],[1362,563],[1331,572],[1289,585],[1247,605],[1209,628]],labelBBox:{x:-73,y:103,width:52,height:18},parent:null,relations:["1uzzn9j"],color:"gray",line:"dashed",head:"normal",controlPoints:[{x:-141.45616438356166,y:77.2}]},{id:"1nv0w41",source:"developer",target:"edp.imageregistry",label:"pushes and pull images",dotpos:"e,3790,633.69 5888.3,438.36 5749.8,486.81 5575.2,539.64 5414,564.42 5373,570.72 3960.7,560.44 3921,572.42 3878.9,585.1 3837.2,605.41 3798.7,628.42",points:[[5890,438],[5752,487],[5577,540],[5416,564],[5375,571],[3963,560],[3923,572],[3881,585],[3839,605],[3800,628]],labelBBox:{x:205,y:439,width:151,height:18},parent:null,relations:["177bm2y"],color:"gray",line:"dashed",head:"normal",controlPoints:[{x:-191,y:271}]},{id:"3nxrq7",source:"developer",target:"edp.grafana",label:"monitors",dotpos:"e,3150,633.65 5888.1,415.01 5693.7,468.76 5420.3,535.68 5175,564.42 5122.7,570.54 3331.4,557.26 3281,572.42 3238.9,585.08 3197.2,605.37 3158.6,628.38",points:[[5890,415],[5696,469],[5422,536],[5177,564],[5125,571],[3331,557],[3281,572],[3239,585],[3197,605],[3159,628]],labelBBox:{x:-213,y:553,width:58,height:18},parent:null,relations:["1xiorre"],color:"gray",line:"dashed",head:"normal",controlPoints:[{x:-11,y:920}]},{id:"bfgapq",source:"developer",target:"edp.keycloak",label:"authenticates",dotpos:"e,5717.2,633.79 5938.9,481.38 5870.6,528.36 5794.5,580.63 5725.6,628.03",points:[[5941,481],[5873,528],[5797,581],[5728,628]],labelBBox:{x:-273,y:789,width:87,height:18},parent:null,relations:["jpl8ll"],color:"gray",line:"dashed",head:"normal",controlPoints:[{x:-75,y:1296}]}],hasLayoutDrift:!0},edporchestrator:{_type:"element",tags:null,links:null,viewOf:"edp",_stage:"layouted",sourcePath:"views/edp/edp-as-orchestrator.c4",description:null,title:"EDP as Orchestrator",id:"edporchestrator",autoLayout:{direction:"TB"},hash:"3b527fd6f99efa02fc730d4569c0a0ccc75b4ef3",bounds:{x:-236,y:14,width:1338,height:1005},nodes:[{id:"@gr1",parent:null,kind:"@group",title:"EDP",color:"primary",shape:"rectangle",children:["@gr2","@gr3","@gr4","@gr5","@gr6"],inEdges:[],outEdges:[],level:0,depth:2,tags:[],style:{border:"dashed",opacity:15},x:-236,y:19,width:1340,height:1001,labelBBox:{x:6,y:0,width:27,height:15}},{id:"@gr2",parent:"@gr1",kind:"@group",title:"Developer Control Plane",color:"primary",shape:"rectangle",children:[],inEdges:[],outEdges:[],level:0,depth:0,tags:[],style:{border:"dashed",opacity:15},x:48,y:69,width:320,height:180,labelBBox:{x:49,y:74,width:222,height:24}},{id:"@gr3",parent:"@gr1",kind:"@group",title:"Integration & Delivery Plane",color:"primary",shape:"rectangle",children:[],inEdges:[],outEdges:[],level:0,depth:0,tags:[],style:{border:"dashed",opacity:15},x:478,y:69,width:320,height:180,labelBBox:{x:34,y:74,width:252,height:24}},{id:"@gr4",parent:"@gr1",kind:"@group",title:"Monitoring Plane",color:"primary",shape:"rectangle",children:[],inEdges:[],outEdges:[],level:0,depth:0,tags:[],style:{border:"dashed",opacity:15},x:48,y:369,width:320,height:180,labelBBox:{x:83,y:74,width:154,height:24}},{id:"@gr5",parent:"@gr1",kind:"@group",title:"Security Plane",color:"primary",shape:"rectangle",children:[],inEdges:[],outEdges:[],level:0,depth:0,tags:[],style:{border:"dashed",opacity:15},x:478,y:369,width:320,height:180,labelBBox:{x:94,y:74,width:133,height:24}},{id:"@gr6",parent:"@gr1",kind:"@group",title:"Backend",color:"primary",shape:"rectangle",children:["edp.argoCD","edp.crossplane"],inEdges:[],outEdges:[],level:0,depth:1,tags:[],style:{border:"dashed",opacity:15},x:-196,y:599,width:1260,height:381,labelBBox:{x:6,y:0,width:59,height:15}},{id:"edp.argoCD",parent:"@gr6",level:1,children:[],inEdges:[],outEdges:[],title:"ArgoCD",modelRef:"edp.argoCD",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"Declarative management of platform tools"},tags:[],kind:"container",isCustomized:!0,navigateTo:"argoCD",x:-156,y:649,width:520,height:290,labelBBox:{x:64,y:109,width:393,height:63}},{id:"edp.crossplane",parent:"@gr6",level:1,children:[],inEdges:[],outEdges:[],title:"Crossplane",modelRef:"edp.crossplane",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"Declarative management of ressources"},tags:["internal"],kind:"container",navigateTo:"crossplane",x:504,y:650,width:520,height:290,labelBBox:{x:75,y:109,width:369,height:63}}],edges:[],hasLayoutDrift:!0},"application-transition":{_type:"element",tags:null,links:null,_stage:"layouted",sourcePath:"views/high-level-concept/application-transition.c4",description:null,title:"application-transistion",id:"application-transition",autoLayout:{direction:"TB"},hash:"024761d9274cbfc35558ae3606770e2c3e3afd0f",bounds:{x:0,y:0,width:1032,height:934},nodes:[{id:"@gr1",parent:null,kind:"@group",title:"developer-scope",color:"green",shape:"rectangle",children:["@gr2","@gr3","developer","otherProductLifecycleRoles"],inEdges:[],outEdges:["17brhnu"],level:0,depth:3,tags:[],style:{border:"none",opacity:20},x:8,y:8,width:1016,height:645,labelBBox:{x:6,y:0,width:114,height:15}},{id:"@gr2",parent:"@gr1",kind:"@group",title:"Devops inner-loop",color:"gray",shape:"rectangle",children:["localbox"],inEdges:["zjg544","6szgsj"],outEdges:["1uo6k6b"],level:0,depth:2,tags:[],style:{border:"none",opacity:30},x:48,y:263,width:448,height:350,labelBBox:{x:6,y:0,width:122,height:15}},{id:"@gr3",parent:"@gr1",kind:"@group",title:"Devops outer-loop",color:"gray",shape:"rectangle",children:["edp"],inEdges:["1okgiq5","1wupl5x","1uo6k6b"],outEdges:["17brhnu","6szgsj"],level:0,depth:2,tags:[],style:{border:"none",opacity:30},x:536,y:263,width:448,height:350,labelBBox:{x:6,y:0,width:126,height:15}},{id:"cloud",parent:null,level:0,children:["cloud.application"],inEdges:["17brhnu"],outEdges:[],title:"Cloud",modelRef:"cloud",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Cloud environments"},tags:[],technology:"IaaS/PaaS",kind:"system",depth:1,x:568,y:661,width:384,height:265,labelBBox:{x:6,y:0,width:43,height:15}},{id:"cloud.application",parent:"cloud",level:1,children:[],inEdges:[],outEdges:[],title:"application",modelRef:"cloud.application",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"An application description"},tags:[],technology:"DSL",kind:"schema",x:600,y:714,width:320,height:180,labelBBox:{x:73,y:54,width:175,height:67}},{id:"developer",parent:"@gr1",level:1,children:[],inEdges:[],outEdges:["zjg544","1okgiq5"],title:"Developer",modelRef:"developer",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"The regular user of the platform"},tags:[],kind:"actor",x:127,y:69,width:320,height:180,labelBBox:{x:53,y:63,width:214,height:48}},{id:"otherProductLifecycleRoles",parent:"@gr1",level:1,children:[],inEdges:[],outEdges:["1wupl5x"],title:"Reviewer, Tester, Auditors, Operators",modelRef:"otherProductLifecycleRoles",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"Coworking roles in the outer loop"},tags:[],kind:"actor",x:572,y:69,width:375,height:180,labelBBox:{x:18,y:63,width:340,height:48}},{id:"localbox",parent:"@gr2",level:1,children:["localbox.application"],inEdges:["zjg544","6szgsj"],outEdges:["1uo6k6b"],title:"localbox",modelRef:"localbox",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"A local development system"},tags:[],technology:"Linux/Windows/Mac",kind:"system",depth:1,x:80,y:316,width:384,height:265,labelBBox:{x:6,y:0,width:66,height:15}},{id:"localbox.application",parent:"localbox",level:2,children:[],inEdges:[],outEdges:[],title:"application",modelRef:"localbox.application",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"An application description"},tags:[],technology:"DSL",kind:"schema",x:112,y:369,width:320,height:180,labelBBox:{x:73,y:53,width:175,height:68}},{id:"edp",parent:"@gr3",level:1,children:["edp.application"],inEdges:["1okgiq5","1wupl5x","1uo6k6b"],outEdges:["17brhnu","6szgsj"],title:"EDP",modelRef:"edp",shape:"rectangle",color:"primary",icon:"tech:kubernetes",style:{opacity:15,size:"md"},description:{txt:"EDP Edge Development Platform"},tags:[],technology:"Kubernetes",kind:"system",depth:1,navigateTo:"edp",x:568,y:316,width:384,height:265,labelBBox:{x:6,y:0,width:27,height:15}},{id:"edp.application",parent:"edp",level:2,children:[],inEdges:[],outEdges:[],title:"application",modelRef:"edp.application",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"An application description"},tags:[],technology:"DSL",kind:"schema",x:600,y:369,width:320,height:180,labelBBox:{x:73,y:53,width:175,height:68}}],edges:[{id:"zjg544",source:"developer",target:"localbox",label:"inner loop development",dotpos:"e,279.16,316 282.54,248.8 281.64,266.75 280.66,286.09 279.68,305.53",points:[[283,249],[282,267],[281,286],[280,306]],labelBBox:{x:130,y:282,width:150,height:18},parent:"@gr1",relations:["5hkplj"],color:"gray",line:"dashed",head:"normal"},{id:"1okgiq5",source:"developer",target:"edp",label:"outer loop development",dotpos:"e,572.31,316 446.79,237.41 461.91,245.66 476.86,254.19 491,262.8 515.03,277.44 539.66,293.58 563.79,310.14",points:[[447,237],[462,246],[477,254],[491,263],[515,277],[540,294],[564,310]],labelBBox:{x:360,y:252,width:150,height:18},parent:"@gr1",relations:["1pp73vj","yk9zv2","12036hb","jpl8ll","1ghp31l","1xiorre","1woleh6","177bm2y","1l9a3pd","1uzzn9j"],color:"gray",line:"dashed",head:"normal"},{id:"1wupl5x",source:"otherProductLifecycleRoles",target:"edp",label:"act according to responibility",dotpos:"e,760,316 760,248.8 760,266.75 760,286.09 760,305.53",points:[[760,249],[760,267],[760,286],[760,306]],labelBBox:{x:578,y:282,width:181,height:18},parent:"@gr1",relations:["lb4xas"],color:"gray",line:"dashed",head:"normal"},{id:"1uo6k6b",source:"localbox",target:"edp",label:"inner-outer-loop synchronization",dotpos:"e,568,459.2 464,459.2 495.2,459.2 526.41,459.2 557.62,459.2",points:[[464,459],[495,459],[526,459],[558,459]],labelBBox:{x:414,y:459,width:204,height:18},parent:"@gr1",relations:["1mp9fps"],color:"gray",line:"dashed",head:"normal"},{id:"17brhnu",source:"edp",target:"cloud",label:"deploys and observes",dotpos:"e,760,661.2 760,581.2 760,603.74 760,627.57 760,650.92",points:[[760,581],[760,604],[760,628],[760,651]],labelBBox:{x:619,y:598,width:140,height:18},parent:null,relations:["gerdx4"],color:"gray",line:"dashed",head:"normal"},{id:"6szgsj",source:"edp",target:"localbox",label:null,dotpos:"e,464,459.2 568,459.2 536.79,459.2 505.57,459.2 474.36,459.2",points:[[568,459],[537,459],[506,459],[474,459]],labelBBox:null,parent:"@gr1",relations:["wvo8i"],color:"gray",line:"dashed",head:"normal"}]},landscape:{_type:"element",tags:null,links:null,_stage:"layouted",sourcePath:"views/high-level-concept/platform-context/developer-landscape.c4",description:null,title:"Developer Landscape View",id:"landscape",autoLayout:{direction:"LR",nodeSep:100,rankSep:100},hash:"66b801a2ed640c3a6f0eab5db32a9746ced71379",bounds:{x:0,y:0,width:3254,height:2009},nodes:[{id:"applicationspecification",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"application-specification",modelRef:"applicationspecification",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"The application specification describes the application and its components. It is used to generate the application and its components."},tags:[],kind:"component",x:0,y:810,width:338,height:180,labelBBox:{x:18,y:45,width:303,height:84}},{id:"forgejoRunnerWorker",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Forgejo Runner Worker",modelRef:"forgejoRunnerWorker",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"A worker is a service that runs a job invoked by a runner. A worker typically is a container."},tags:[],kind:"component",x:482,y:810,width:333,height:180,labelBBox:{x:18,y:45,width:297,height:84}},{id:"promtail",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Promtail",modelRef:"promtail",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Log shipper agent for Loki"},tags:[],kind:"component",x:1092,y:810,width:320,height:180,labelBBox:{x:72,y:63,width:177,height:48}},{id:"elasticsearch",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Elasticsearch",modelRef:"elasticsearch",shape:"rectangle",color:"primary",icon:"tech:elasticsearch",style:{opacity:20,size:"md"},description:{txt:`Elasticsearch is a distributed, RESTful search and analytics engine capable of +and security scanning`},tags:[],technology:"Golang",kind:"container",navigateTo:"forgejo",x:860,y:384,width:340,height:180,labelBBox:{x:46,y:17,width:278,height:139}},{id:"edp.keycloak",parent:null,level:0,children:[],inEdges:["dh7ut5"],outEdges:[],title:"Keycloak",modelRef:"edp.keycloak",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Single Sign On for all EDP products"},tags:[],kind:"container",navigateTo:"keycloak",x:1310,y:384,width:320,height:180,labelBBox:{x:39,y:63,width:242,height:48}},{id:"edp.mailhog",parent:null,level:0,children:[],inEdges:["1bv0wod"],outEdges:[],title:"Mailhog",modelRef:"edp.mailhog",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Web and API based SMTP testing"},tags:[],kind:"container",navigateTo:"mailhog",x:1740,y:384,width:320,height:180,labelBBox:{x:44,y:63,width:232,height:48}},{id:"edp.minio",parent:null,level:0,children:[],inEdges:["68hu20"],outEdges:[],title:"Minio",modelRef:"edp.minio",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"S3 compatible blob storage"},tags:[],kind:"container",navigateTo:"minio",x:2170,y:384,width:320,height:180,labelBBox:{x:67,y:63,width:186,height:48}},{id:"edp.monitoring",parent:null,level:0,children:[],inEdges:["nx2xew"],outEdges:[],title:"Monitoring",modelRef:"edp.monitoring",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Observability system to monitor deployed components"},tags:[],kind:"container",navigateTo:"monitoring",x:2600,y:384,width:320,height:180,labelBBox:{x:21,y:54,width:278,height:66}},{id:"edp.openbao",parent:null,level:0,children:[],inEdges:["momp7g"],outEdges:[],title:"OpenBao",modelRef:"edp.openbao",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Secure secret storage"},tags:[],kind:"container",x:3030,y:384,width:320,height:180,labelBBox:{x:85,y:63,width:151,height:48}},{id:"edp.testApp",parent:null,level:0,children:[],inEdges:["8cmkj7"],outEdges:[],title:"Fibonacci",modelRef:"edp.testApp",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Testapp to validate deployments"},tags:[],kind:"container",navigateTo:"testapp",x:3460,y:384,width:320,height:180,labelBBox:{x:50,y:63,width:220,height:48}}],edges:[{id:"1poylyw",source:"edp.ingressNginx.ingressNginx",target:"edp.argoCD",label:"https",dotpos:"e,319.96,401.87 1740.1,163.73 1459.5,186.77 861.79,248.41 375.02,384 360.03,388.17 344.69,393.11 329.44,398.47",points:[[1740,164],[1459,187],[862,248],[375,384],[360,388],[345,393],[329,398]],labelBBox:{x:704,y:301,width:34,height:18},parent:null,relations:["1yssos5"],color:"gray",line:"dashed",head:"normal"},{id:"llqgvs",source:"edp.ingressNginx.ingressNginx",target:"edp.ui",label:"https",dotpos:"e,749.97,403.03 1740.4,176.52 1525.1,211.47 1131,282.97 805.02,384 790.08,388.63 774.74,393.9 759.47,399.5",points:[[1740,177],[1525,211],[1131,283],[805,384],[790,389],[775,394],[759,400]],labelBBox:{x:1102,y:301,width:34,height:18},parent:null,relations:["v8c8aq"],color:"gray",line:"dashed",head:"normal"},{id:"75xltk",source:"edp.ingressNginx.ingressNginx",target:"edp.forgejo",label:"https",dotpos:"e,1200.3,405 1740.1,208.08 1609.3,254.18 1419.6,321.88 1255,384 1240.3,389.56 1225.1,395.4 1209.8,401.31",points:[[1740,208],[1609,254],[1420,322],[1255,384],[1240,390],[1225,395],[1210,401]],labelBBox:{x:1468,y:301,width:34,height:18},parent:null,relations:["123efwn"],color:"gray",line:"dashed",head:"normal"},{id:"dh7ut5",source:"edp.ingressNginx.ingressNginx",target:"edp.keycloak",label:"https",dotpos:"e,1589.1,384.17 1780.8,241.13 1723.7,283.73 1655.3,334.77 1597.2,378.11",points:[[1781,241],[1724,284],[1655,335],[1597,378]],labelBBox:{x:1699,y:301,width:34,height:18},parent:null,relations:["h3rut2"],color:"gray",line:"dashed",head:"normal"},{id:"1bv0wod",source:"edp.ingressNginx.ingressNginx",target:"edp.mailhog",label:"https",dotpos:"e,1900,384.17 1900,241.13 1900,282.33 1900,331.44 1900,373.83",points:[[1900,241],[1900,282],[1900,331],[1900,374]],labelBBox:{x:1901,y:301,width:34,height:18},parent:null,relations:["ofdedh"],color:"gray",line:"dashed",head:"normal"},{id:"68hu20",source:"edp.ingressNginx.ingressNginx",target:"edp.minio",label:"https",dotpos:"e,2211,384.17 2019.2,241.13 2076.3,283.73 2144.7,334.77 2202.8,378.11",points:[[2019,241],[2076,284],[2145,335],[2203,378]],labelBBox:{x:2129,y:301,width:34,height:18},parent:null,relations:["fe65w2"],color:"gray",line:"dashed",head:"normal"},{id:"nx2xew",source:"edp.ingressNginx.ingressNginx",target:"edp.monitoring",label:"https",dotpos:"e,2600.1,405.82 2059.8,207.26 2190.8,252.97 2380.8,320.52 2545,384 2559.8,389.73 2575.2,395.8 2590.5,401.97",points:[[2060,207],[2191,253],[2381,321],[2545,384],[2560,390],[2575,396],[2591,402]],labelBBox:{x:2370,y:301,width:34,height:18},parent:null,relations:["1jvab2g","fs60l7"],color:"gray",line:"dashed",head:"normal"},{id:"momp7g",source:"edp.ingressNginx.ingressNginx",target:"edp.openbao",label:"https",dotpos:"e,3030,403.09 2059.9,177.4 2271.9,212.91 2656.5,284.63 2975,384 2990,388.66 3005.3,393.94 3020.6,399.56",points:[[2060,177],[2272,213],[2657,285],[2975,384],[2990,389],[3005,394],[3021,400]],labelBBox:{x:2744,y:301,width:34,height:18},parent:null,relations:["1p30hav"],color:"gray",line:"dashed",head:"normal"},{id:"8cmkj7",source:"edp.ingressNginx.ingressNginx",target:"edp.testApp",label:"https",dotpos:"e,3460.1,401.91 2060,164.18 2337.9,187.76 2925.9,250.03 3405,384 3420,388.19 3435.3,393.13 3450.6,398.51",points:[[2060,164],[2338,188],[2926,250],[3405,384],[3420,388],[3435,393],[3451,399]],labelBBox:{x:3165,y:301,width:34,height:18},parent:null,relations:["1i5f8um"],color:"gray",line:"dashed",head:"normal"}]},testapp:{_type:"element",tags:null,links:null,viewOf:"edp.testApp",_stage:"layouted",sourcePath:"views/edp/edp.c4",description:null,title:"Fibonacci",id:"testapp",autoLayout:{direction:"TB"},hash:"d8f40f5cfab10e6e91c79feeef6be3240922c723",bounds:{x:0,y:0,width:400,height:544},nodes:[{id:"edp.ingressNginx",parent:null,level:0,children:[],inEdges:[],outEdges:["1tefjx2"],title:"Ingress",modelRef:"edp.ingressNginx",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Ingress Controller for incoming http(s) traffic"},tags:["internal"],kind:"container",navigateTo:"ingressNginx",x:40,y:0,width:320,height:180,labelBBox:{x:33,y:54,width:255,height:66}},{id:"edp.testApp",parent:null,level:0,children:["edp.testApp.fibonacci"],inEdges:["1tefjx2"],outEdges:[],title:"Fibonacci",modelRef:"edp.testApp",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Testapp to validate deployments"},tags:[],kind:"container",depth:1,x:8,y:271,width:384,height:265,labelBBox:{x:6,y:0,width:65,height:15}},{id:"edp.testApp.fibonacci",parent:"edp.testApp",level:1,children:[],inEdges:["1tefjx2"],outEdges:[],title:"Fibonacci",modelRef:"edp.testApp.fibonacci",shape:"rectangle",color:"primary",icon:"tech:go",style:{opacity:15,size:"md"},tags:[],technology:"Golang",kind:"component",x:40,y:324,width:320,height:180,labelBBox:{x:101,y:64,width:148,height:46}}],edges:[{id:"1tefjx2",source:"edp.ingressNginx",target:"edp.testApp.fibonacci",label:"https",dotpos:"e,200,324.17 200,179.84 200,221.37 200,270.98 200,313.74",points:[[200,180],[200,221],[200,271],[200,314]],labelBBox:{x:201,y:240,width:34,height:18},parent:null,relations:["1i5f8um"],color:"gray",line:"dashed",head:"normal"}]},mailhog:{_type:"element",tags:null,links:null,viewOf:"edp.mailhog",_stage:"layouted",sourcePath:"views/edp/edp.c4",description:null,title:"Mailhog",id:"mailhog",autoLayout:{direction:"TB"},hash:"b9e703c2ceb2b2a400194d90ac7caa94525ac068",bounds:{x:0,y:0,width:400,height:544},nodes:[{id:"edp.ingressNginx",parent:null,level:0,children:[],inEdges:[],outEdges:["axipfp"],title:"Ingress",modelRef:"edp.ingressNginx",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Ingress Controller for incoming http(s) traffic"},tags:["internal"],kind:"container",navigateTo:"ingressNginx",x:40,y:0,width:320,height:180,labelBBox:{x:33,y:54,width:255,height:66}},{id:"edp.mailhog",parent:null,level:0,children:["edp.mailhog.mailhog"],inEdges:["axipfp"],outEdges:[],title:"Mailhog",modelRef:"edp.mailhog",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Web and API based SMTP testing"},tags:[],kind:"container",depth:1,x:8,y:271,width:384,height:265,labelBBox:{x:6,y:0,width:56,height:15}},{id:"edp.mailhog.mailhog",parent:"edp.mailhog",level:1,children:[],inEdges:["axipfp"],outEdges:[],title:"Mailhog",modelRef:"edp.mailhog.mailhog",shape:"rectangle",color:"primary",icon:"tech:go",style:{opacity:15,size:"md"},tags:[],technology:"Golang",kind:"component",x:40,y:324,width:320,height:180,labelBBox:{x:109,y:64,width:132,height:46}}],edges:[{id:"axipfp",source:"edp.ingressNginx",target:"edp.mailhog.mailhog",label:"https",dotpos:"e,200,324.17 200,179.84 200,221.37 200,270.98 200,313.74",points:[[200,180],[200,221],[200,271],[200,314]],labelBBox:{x:201,y:240,width:34,height:18},parent:null,relations:["ofdedh"],color:"gray",line:"dashed",head:"normal"}]},spark:{_type:"element",tags:null,links:null,viewOf:"edp.spark",_stage:"layouted",sourcePath:"views/edp/edp.c4",description:null,title:"Spark",id:"spark",autoLayout:{direction:"TB"},hash:"1ec41779bad408405a96c4063aa06b24ec2aace8",bounds:{x:0,y:0,width:400,height:281},nodes:[{id:"edp.spark",parent:null,level:0,children:["edp.spark.sparkoperator"],inEdges:[],outEdges:[],title:"Spark",modelRef:"edp.spark",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Allows running Spark applications on K8s"},tags:["internal"],kind:"container",depth:1,x:8,y:8,width:384,height:265,labelBBox:{x:6,y:0,width:43,height:15}},{id:"edp.spark.sparkoperator",parent:"edp.spark",level:1,children:[],inEdges:[],outEdges:[],title:"Spark Operator",modelRef:"edp.spark.sparkoperator",shape:"rectangle",color:"primary",icon:"tech:spark",style:{opacity:15,size:"md"},tags:[],technology:"Spark",kind:"component",x:40,y:61,width:320,height:180,labelBBox:{x:76,y:64,width:198,height:46}}],edges:[]},argoCD:{_type:"element",tags:null,links:null,viewOf:"edp.argoCD",_stage:"layouted",sourcePath:"views/edp/edp.c4",description:null,title:"ArgoCD",id:"argoCD",autoLayout:{direction:"TB"},hash:"53d798ca0a34dbe3ebf9b43318a151943ecaec33",bounds:{x:0,y:0,width:2058,height:883},nodes:[{id:"edp.ingressNginx",parent:null,level:0,children:[],inEdges:[],outEdges:["ce0h9c"],title:"Ingress",modelRef:"edp.ingressNginx",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"Ingress Controller for incoming http(s) traffic"},tags:["internal"],kind:"container",navigateTo:"ingressNginx",x:48,y:0,width:320,height:180,labelBBox:{x:33,y:54,width:255,height:66}},{id:"edp.argoCD",parent:null,level:0,children:["edp.argoCD.argocdServer","edp.argoCD.argocdAppController","edp.argoCD.argocdAppSetController","edp.argoCD.argocdRepoServer","edp.argoCD.argocdRedis"],inEdges:["ce0h9c"],outEdges:["1e5s57z"],title:"ArgoCD",modelRef:"edp.argoCD",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"GitOps Service"},tags:[],kind:"container",depth:1,x:8,y:271,width:1690,height:604,labelBBox:{x:6,y:0,width:53,height:15}},{id:"edp.argoCD.argocdServer",parent:"edp.argoCD",level:1,children:[],inEdges:["ce0h9c"],outEdges:["124uc06"],title:"ArgoCD Server",modelRef:"edp.argoCD.argocdServer",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},tags:[],kind:"component",x:48,y:332,width:320,height:180,labelBBox:{x:90,y:74,width:140,height:24}},{id:"edp.argoCD.argocdAppController",parent:"edp.argoCD",level:1,children:[],inEdges:[],outEdges:["doh0se"],title:"ApplicationController",modelRef:"edp.argoCD.argocdAppController",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},tags:[],kind:"component",x:478,y:332,width:320,height:180,labelBBox:{x:66,y:74,width:189,height:24}},{id:"edp.argoCD.argocdAppSetController",parent:"edp.argoCD",level:1,children:[],inEdges:[],outEdges:["ekc7mk"],title:"ApplicationSeetController",modelRef:"edp.argoCD.argocdAppSetController",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},tags:[],kind:"component",x:908,y:332,width:320,height:180,labelBBox:{x:45,y:74,width:230,height:24}},{id:"edp.argoCD.argocdRepoServer",parent:"edp.argoCD",level:1,children:[],inEdges:[],outEdges:["173l3xq","1e5s57z"],title:"Repo Server",modelRef:"edp.argoCD.argocdRepoServer",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},tags:[],kind:"component",x:1338,y:332,width:320,height:180,labelBBox:{x:102,y:74,width:116,height:24}},{id:"edp.argoCD.argocdRedis",parent:"edp.argoCD",level:1,children:[],inEdges:["124uc06","doh0se","ekc7mk","173l3xq"],outEdges:[],title:"Redis",modelRef:"edp.argoCD.argocdRedis",shape:"rectangle",color:"primary",icon:"tech:redis",style:{opacity:15,size:"md"},tags:[],technology:"Redis",kind:"component",x:693,y:655,width:320,height:180,labelBBox:{x:118,y:64,width:114,height:46}},{id:"edp.forgejogit",parent:null,level:0,children:[],inEdges:["1e5s57z"],outEdges:[],title:"ForgejoGit",modelRef:"edp.forgejogit",shape:"rectangle",color:"primary",icon:"tech:git",style:{opacity:15,size:"md"},tags:[],kind:"component",x:1738,y:655,width:320,height:180,labelBBox:{x:97,y:74,width:156,height:24}}],edges:[{id:"ce0h9c",source:"edp.ingressNginx",target:"edp.argoCD.argocdServer",label:"https",dotpos:"e,208,332.26 208,179.87 208,223.7 208,276.72 208,321.86",points:[[208,180],[208,224],[208,277],[208,322]],labelBBox:{x:209,y:240,width:34,height:18},parent:null,relations:["1yssos5"],color:"gray",line:"dashed",head:"normal"},{id:"124uc06",source:"edp.argoCD.argocdServer",target:"edp.argoCD.argocdRedis",label:"read/write",dotpos:"e,693.08,664.26 367.85,502.5 463.9,550.27 586.02,611.01 683.7,659.6",points:[[368,503],[464,550],[586,611],[684,660]],labelBBox:{x:551,y:572,width:65,height:18},parent:"edp.argoCD",relations:["yfhhi5"],color:"gray",line:"dashed",head:"normal"},{id:"doh0se",source:"edp.argoCD.argocdAppController",target:"edp.argoCD.argocdRedis",label:"read/write",dotpos:"e,782.56,654.82 687.71,511.63 703.62,538.73 721.74,568.36 739.53,594.8 751,611.84 763.71,629.54 776.36,646.54",points:[[688,512],[704,539],[722,568],[740,595],[751,612],[764,630],[776,647]],labelBBox:{x:741,y:572,width:65,height:18},parent:"edp.argoCD",relations:["10vkxaf"],color:"gray",line:"dashed",head:"normal"},{id:"ekc7mk",source:"edp.argoCD.argocdAppSetController",target:"edp.argoCD.argocdRedis",label:"read/write",dotpos:"e,912.53,654.97 1008.4,511.93 980.43,553.66 947.04,603.49 918.38,646.24",points:[[1008,512],[980,554],[947,603],[918,646]],labelBBox:{x:968,y:572,width:65,height:18},parent:"edp.argoCD",relations:["i8z0mi"],color:"gray",line:"dashed",head:"normal"},{id:"173l3xq",source:"edp.argoCD.argocdRepoServer",target:"edp.argoCD.argocdRedis",label:"read/write",dotpos:"e,1012.9,664.26 1338.1,502.5 1242.1,550.27 1120,611.01 1022.3,659.6",points:[[1338,503],[1242,550],[1120,611],[1022,660]],labelBBox:{x:1196,y:572,width:65,height:18},parent:"edp.argoCD",relations:["iullhy"],color:"gray",line:"dashed",head:"normal"},{id:"1e5s57z",source:"edp.argoCD.argocdRepoServer",target:"edp.forgejogit",label:"Syncs git repo",dotpos:"e,1787.2,654.97 1608.9,511.93 1661.9,554.44 1725.4,605.36 1779.3,648.64",points:[[1609,512],[1662,554],[1725,605],[1779,649]],labelBBox:{x:1711,y:572,width:93,height:18},parent:null,relations:["6mupa0"],color:"gray",line:"dashed",head:"normal"}]},idp:{_type:"element",tags:null,links:null,viewOf:"edp",_stage:"layouted",sourcePath:"views/edp/edp-as-idp.c4",description:null,title:"EDP as IDP",id:"idp",autoLayout:{direction:"TB"},hash:"d1e4c998ee263bce5b2572834b6a9a7b6d6391f5",bounds:{x:-784,y:-470,width:6725,height:2278},nodes:[{id:"developer",parent:null,level:0,children:[],inEdges:[],outEdges:["1w9cpb2","1y3lcyj","1agven9","1nv0w41","3nxrq7","bfgapq"],title:"Developer",modelRef:"developer",shape:"person",color:"green",style:{opacity:25,size:"xl"},description:{txt:"The regular user of the platform"},tags:[],kind:"actor",x:-784,y:-301,width:520,height:290,labelBBox:{x:111,y:108,width:298,height:64}},{id:"@gr1",parent:null,kind:"@group",title:"EDP",color:"primary",shape:"rectangle",children:["@gr2","@gr5","@gr6","@gr7"],inEdges:["1w9cpb2","1y3lcyj","1agven9","1nv0w41","3nxrq7","bfgapq"],outEdges:[],level:0,depth:3,tags:[],style:{border:"dashed",opacity:15},x:29,y:-451,width:2412,height:2259,labelBBox:{x:6,y:0,width:27,height:15}},{id:"@gr2",parent:"@gr1",kind:"@group",title:"Developer Control Plane",color:"primary",shape:"rectangle",children:["@gr3","@gr4"],inEdges:["1w9cpb2","1y3lcyj","1agven9"],outEdges:[],level:0,depth:2,tags:[],style:{border:"dashed",opacity:15},x:69,y:-401,width:2332,height:890,labelBBox:{x:6,y:0,width:170,height:15}},{id:"@gr3",parent:"@gr2",kind:"@group",title:"Frontend",color:"primary",shape:"rectangle",children:["edp.ui.backstage","edp.api"],inEdges:["1w9cpb2","1y3lcyj"],outEdges:[],level:0,depth:1,tags:[],style:{border:"dashed",opacity:15},x:110,y:-351,width:2246,height:384,labelBBox:{x:6,y:0,width:65,height:15}},{id:"@gr4",parent:"@gr2",kind:"@group",title:"Version Control",color:"primary",shape:"rectangle",children:["applicationspecification.application_gitrepo","applicationspecification.applicationspec_gitrepo","edp.forgejogit"],inEdges:["1agven9"],outEdges:[],level:0,depth:1,tags:[],style:{border:"dashed",opacity:15},x:109,y:59,width:2252,height:390,labelBBox:{x:6,y:0,width:111,height:15}},{id:"@gr5",parent:"@gr1",kind:"@group",title:"Integration & Delivery Plane",color:"primary",shape:"rectangle",children:["forgejoRunner","edp.imageregistry","edp.argoCD"],inEdges:["1nv0w41"],outEdges:[],level:0,depth:1,tags:[],style:{border:"dashed",opacity:15},x:925,y:542,width:1456,height:773,labelBBox:{x:6,y:0,width:189,height:15}},{id:"@gr6",parent:"@gr1",kind:"@group",title:"Monitoring Plane",color:"primary",shape:"rectangle",children:["edp.monitoring","edp.grafana"],inEdges:["3nxrq7"],outEdges:[],level:0,depth:1,tags:[],style:{border:"dashed",opacity:15},x:117,y:963,width:2262,height:388,labelBBox:{x:6,y:0,width:116,height:15}},{id:"@gr7",parent:"@gr1",kind:"@group",title:"Security Plane",color:"primary",shape:"rectangle",children:["edp.keycloak","edp.kyverno","edp.externalSecrets","edp.openbao"],inEdges:["bfgapq"],outEdges:[],level:0,depth:1,tags:[],style:{border:"dashed",opacity:15},x:116,y:1382,width:2266,height:386,labelBBox:{x:6,y:0,width:100,height:15}},{id:"edp.ui.backstage",parent:"@gr3",level:1,children:[],inEdges:["1w9cpb2"],outEdges:[],title:"Backstage",modelRef:"edp.ui.backstage",shape:"browser",color:"primary",icon:"tech:react",style:{opacity:25,size:"xl"},tags:[],kind:"component",x:150,y:-301,width:520,height:290,labelBBox:{x:179,y:123,width:192,height:32}},{id:"edp.api",parent:"@gr3",level:1,children:[],inEdges:["1y3lcyj"],outEdges:[],title:"API",modelRef:"edp.api",shape:"rectangle",color:"primary",icon:"tech:swagger",style:{opacity:25,size:"xl"},description:{txt:"API for the EDP platform"},tags:[],kind:"container",x:1796,y:-297,width:520,height:290,labelBBox:{x:129,y:108,width:292,height:64}},{id:"applicationspecification.application_gitrepo",parent:"@gr4",level:1,children:[],inEdges:[],outEdges:[],title:"Git App Repo",modelRef:"applicationspecification.application_gitrepo",shape:"rectangle",color:"primary",icon:"tech:git",style:{opacity:25,size:"xl"},description:{txt:"Git Application Repository"},tags:[],technology:"Git",kind:"component",x:958,y:119,width:520,height:290,labelBBox:{x:123,y:96,width:304,height:89}},{id:"applicationspecification.applicationspec_gitrepo",parent:"@gr4",level:1,children:[],inEdges:[],outEdges:[],title:"Git AppSpec Repo",modelRef:"applicationspecification.applicationspec_gitrepo",shape:"rectangle",color:"primary",icon:"tech:git",style:{opacity:25,size:"xl"},description:{txt:"Git Application Specification Repository"},tags:[],technology:"Git",kind:"component",x:1801,y:119,width:520,height:290,labelBBox:{x:114,y:83,width:322,height:114}},{id:"edp.forgejogit",parent:"@gr4",level:1,children:[],inEdges:["1agven9"],outEdges:[],title:"ForgejoGit",modelRef:"edp.forgejogit",shape:"rectangle",color:"primary",icon:"tech:git",style:{opacity:25,size:"xl"},tags:[],kind:"component",x:149,y:109,width:520,height:290,labelBBox:{x:179,y:123,width:192,height:32}},{id:"forgejoRunner",parent:"@gr5",level:1,children:[],inEdges:[],outEdges:[],title:"Forgejo Runner",modelRef:"forgejoRunner",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"A runner is a service that runs jobs triggered by Forgejo. A runner can have different technical implementations like a container or a VM."},tags:[],kind:"component",x:965,y:985,width:520,height:290,labelBBox:{x:69,y:71,width:382,height:139}},{id:"edp.imageregistry",parent:"@gr5",level:1,children:[],inEdges:["1nv0w41"],outEdges:[],title:"Forgejo OCI Image Registry",modelRef:"edp.imageregistry",shape:"rectangle",color:"primary",icon:"tech:go",style:{opacity:25,size:"xl"},description:{txt:"Container Image Registry"},tags:[],technology:"Golang",kind:"component",x:965,y:595,width:522,height:290,labelBBox:{x:70,y:96,width:410,height:89}},{id:"edp.argoCD",parent:"@gr5",level:1,children:[],inEdges:[],outEdges:[],title:"ArgoCD",modelRef:"edp.argoCD",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"GitOps Service"},tags:[],kind:"container",navigateTo:"argoCD",x:1821,y:592,width:520,height:290,labelBBox:{x:187,y:108,width:145,height:64}},{id:"edp.monitoring",parent:"@gr6",level:1,children:[],inEdges:[],outEdges:[],title:"Monitoring",modelRef:"edp.monitoring",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"Observability system to monitor deployed components"},tags:[],kind:"container",navigateTo:"monitoring",x:1819,y:1021,width:520,height:290,labelBBox:{x:66,y:96,width:388,height:88}},{id:"edp.grafana",parent:"@gr6",level:1,children:[],inEdges:["3nxrq7"],outEdges:[],title:"Grafana",modelRef:"edp.grafana",shape:"rectangle",color:"primary",icon:"tech:grafana",style:{opacity:25,size:"xl"},description:{txt:"Data visualization and monitoring"},tags:[],kind:"container",x:157,y:1013,width:520,height:290,labelBBox:{x:89,y:108,width:372,height:64}},{id:"edp.keycloak",parent:"@gr7",level:1,children:[],inEdges:["bfgapq"],outEdges:[],title:"Keycloak",modelRef:"edp.keycloak",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"Single Sign On for all EDP products"},tags:[],kind:"container",navigateTo:"keycloak",x:156,y:1438,width:520,height:290,labelBBox:{x:92,y:108,width:337,height:64}},{id:"edp.kyverno",parent:"@gr7",level:1,children:[],inEdges:[],outEdges:[],title:"Kyverno",modelRef:"edp.kyverno",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"Policy-as-Code"},tags:["internal"],kind:"container",x:1267,y:1433,width:520,height:290,labelBBox:{x:187,y:108,width:146,height:64}},{id:"edp.externalSecrets",parent:"@gr7",level:1,children:[],inEdges:[],outEdges:[],title:"external-secrets",modelRef:"edp.externalSecrets",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"Provider to access externally stored Kubernetes secrets"},tags:["internal"],kind:"container",navigateTo:"externalSecrets",x:1822,y:1432,width:520,height:290,labelBBox:{x:92,y:96,width:337,height:88}},{id:"edp.openbao",parent:"@gr7",level:1,children:[],inEdges:[],outEdges:[],title:"OpenBao",modelRef:"edp.openbao",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"Secure secret storage"},tags:[],kind:"container",x:711,y:1437,width:520,height:290,labelBBox:{x:155,y:108,width:209,height:64}}],edges:[{id:"1w9cpb2",source:"developer",target:"edp.ui.backstage",label:"create and maintain apps",dotpos:"e,1840.8,633.87 5888.3,380.18 5537.3,435.39 4891.5,528.84 4336,564.42 4303.2,566.51 2004.4,563.02 1973,572.42 1930.6,585.1 1888.5,605.48 1849.6,628.59",points:[[5890,380],[5539,435],[4893,529],[4338,564],[4305,567],[2004,563],[1973,572],[1931,585],[1888,605],[1850,629]],labelBBox:{x:-57,y:-156,width:161,height:18},parent:null,relations:["1woleh6"],color:"gray",line:"dashed",head:"normal",controlPoints:[{x:-139.8,y:-156}]},{id:"1y3lcyj",source:"developer",target:"edp.api",label:"uses API",dotpos:"e,2494.7,633.74 5888.2,397.27 5631.2,453.06 5225.9,532.44 4870,564.42 4839.2,567.19 2670.9,564.31 2641,572.42 2594.4,585.07 2547.6,605.53 2504,628.75",points:[[5890,397],[5633,453],[5228,532],[4872,564],[4841,567],[2671,564],[2641,572],[2594,585],[2548,606],[2504,629]],labelBBox:{x:775,y:-442,width:60,height:18},parent:null,relations:["1l9a3pd"],color:"gray",line:"dashed",head:"normal",controlPoints:[{x:1165,y:-470}]},{id:"1agven9",source:"developer",target:"edp.forgejogit",label:"uses git",dotpos:"e,1199.9,633.62 5888.4,368.77 5435.9,421.39 4472.9,525.91 3656,564.42 3623.7,565.94 1361.9,563.12 1331,572.42 1288.9,585.06 1247.2,605.35 1208.6,628.36",points:[[5890,369],[5438,421],[4474,526],[3657,564],[3625,566],[1362,563],[1331,572],[1289,585],[1247,605],[1209,628]],labelBBox:{x:-73,y:103,width:52,height:18},parent:null,relations:["1uzzn9j"],color:"gray",line:"dashed",head:"normal",controlPoints:[{x:-141.45616438356166,y:77.2}]},{id:"1nv0w41",source:"developer",target:"edp.imageregistry",label:"pushes and pull images",dotpos:"e,3790,633.69 5888.3,438.36 5749.8,486.81 5575.2,539.64 5414,564.42 5373,570.72 3960.7,560.44 3921,572.42 3878.9,585.1 3837.2,605.41 3798.7,628.42",points:[[5890,438],[5752,487],[5577,540],[5416,564],[5375,571],[3963,560],[3923,572],[3881,585],[3839,605],[3800,628]],labelBBox:{x:205,y:439,width:151,height:18},parent:null,relations:["177bm2y"],color:"gray",line:"dashed",head:"normal",controlPoints:[{x:-191,y:271}]},{id:"3nxrq7",source:"developer",target:"edp.grafana",label:"monitors",dotpos:"e,3150,633.65 5888.1,415.01 5693.7,468.76 5420.3,535.68 5175,564.42 5122.7,570.54 3331.4,557.26 3281,572.42 3238.9,585.08 3197.2,605.37 3158.6,628.38",points:[[5890,415],[5696,469],[5422,536],[5177,564],[5125,571],[3331,557],[3281,572],[3239,585],[3197,605],[3159,628]],labelBBox:{x:-213,y:553,width:58,height:18},parent:null,relations:["1xiorre"],color:"gray",line:"dashed",head:"normal",controlPoints:[{x:-11,y:920}]},{id:"bfgapq",source:"developer",target:"edp.keycloak",label:"authenticates",dotpos:"e,5717.2,633.79 5938.9,481.38 5870.6,528.36 5794.5,580.63 5725.6,628.03",points:[[5941,481],[5873,528],[5797,581],[5728,628]],labelBBox:{x:-273,y:789,width:87,height:18},parent:null,relations:["jpl8ll"],color:"gray",line:"dashed",head:"normal",controlPoints:[{x:-75,y:1296}]}],hasLayoutDrift:!0},edporchestrator:{_type:"element",tags:null,links:null,viewOf:"edp",_stage:"layouted",sourcePath:"views/edp/edp-as-orchestrator.c4",description:null,title:"EDP as Orchestrator",id:"edporchestrator",autoLayout:{direction:"TB"},hash:"3b527fd6f99efa02fc730d4569c0a0ccc75b4ef3",bounds:{x:-236,y:14,width:1338,height:1005},nodes:[{id:"@gr1",parent:null,kind:"@group",title:"EDP",color:"primary",shape:"rectangle",children:["@gr2","@gr3","@gr4","@gr5","@gr6"],inEdges:[],outEdges:[],level:0,depth:2,tags:[],style:{border:"dashed",opacity:15},x:-236,y:19,width:1340,height:1001,labelBBox:{x:6,y:0,width:27,height:15}},{id:"@gr2",parent:"@gr1",kind:"@group",title:"Developer Control Plane",color:"primary",shape:"rectangle",children:[],inEdges:[],outEdges:[],level:0,depth:0,tags:[],style:{border:"dashed",opacity:15},x:48,y:69,width:320,height:180,labelBBox:{x:49,y:74,width:222,height:24}},{id:"@gr3",parent:"@gr1",kind:"@group",title:"Integration & Delivery Plane",color:"primary",shape:"rectangle",children:[],inEdges:[],outEdges:[],level:0,depth:0,tags:[],style:{border:"dashed",opacity:15},x:478,y:69,width:320,height:180,labelBBox:{x:34,y:74,width:252,height:24}},{id:"@gr4",parent:"@gr1",kind:"@group",title:"Monitoring Plane",color:"primary",shape:"rectangle",children:[],inEdges:[],outEdges:[],level:0,depth:0,tags:[],style:{border:"dashed",opacity:15},x:48,y:369,width:320,height:180,labelBBox:{x:83,y:74,width:154,height:24}},{id:"@gr5",parent:"@gr1",kind:"@group",title:"Security Plane",color:"primary",shape:"rectangle",children:[],inEdges:[],outEdges:[],level:0,depth:0,tags:[],style:{border:"dashed",opacity:15},x:478,y:369,width:320,height:180,labelBBox:{x:94,y:74,width:133,height:24}},{id:"@gr6",parent:"@gr1",kind:"@group",title:"Backend",color:"primary",shape:"rectangle",children:["edp.argoCD","edp.crossplane"],inEdges:[],outEdges:[],level:0,depth:1,tags:[],style:{border:"dashed",opacity:15},x:-196,y:599,width:1260,height:381,labelBBox:{x:6,y:0,width:59,height:15}},{id:"edp.argoCD",parent:"@gr6",level:1,children:[],inEdges:[],outEdges:[],title:"ArgoCD",modelRef:"edp.argoCD",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"Declarative management of platform tools"},tags:[],kind:"container",isCustomized:!0,navigateTo:"argoCD",x:-156,y:649,width:520,height:290,labelBBox:{x:64,y:109,width:393,height:63}},{id:"edp.crossplane",parent:"@gr6",level:1,children:[],inEdges:[],outEdges:[],title:"Crossplane",modelRef:"edp.crossplane",shape:"rectangle",color:"primary",style:{opacity:25,size:"xl"},description:{txt:"Declarative management of ressources"},tags:["internal"],kind:"container",navigateTo:"crossplane",x:504,y:650,width:520,height:290,labelBBox:{x:75,y:109,width:369,height:63}}],edges:[],hasLayoutDrift:!0},"application-transition":{_type:"element",tags:null,links:null,_stage:"layouted",sourcePath:"views/high-level-concept/application-transition.c4",description:null,title:"application-transistion",id:"application-transition",autoLayout:{direction:"TB"},hash:"024761d9274cbfc35558ae3606770e2c3e3afd0f",bounds:{x:0,y:0,width:1032,height:934},nodes:[{id:"@gr1",parent:null,kind:"@group",title:"developer-scope",color:"green",shape:"rectangle",children:["@gr2","@gr3","developer","otherProductLifecycleRoles"],inEdges:[],outEdges:["17brhnu"],level:0,depth:3,tags:[],style:{border:"none",opacity:20},x:8,y:8,width:1016,height:645,labelBBox:{x:6,y:0,width:114,height:15}},{id:"@gr2",parent:"@gr1",kind:"@group",title:"Devops inner-loop",color:"gray",shape:"rectangle",children:["localbox"],inEdges:["zjg544","6szgsj"],outEdges:["1uo6k6b"],level:0,depth:2,tags:[],style:{border:"none",opacity:30},x:48,y:263,width:448,height:350,labelBBox:{x:6,y:0,width:122,height:15}},{id:"@gr3",parent:"@gr1",kind:"@group",title:"Devops outer-loop",color:"gray",shape:"rectangle",children:["edp"],inEdges:["1okgiq5","1wupl5x","1uo6k6b"],outEdges:["17brhnu","6szgsj"],level:0,depth:2,tags:[],style:{border:"none",opacity:30},x:536,y:263,width:448,height:350,labelBBox:{x:6,y:0,width:126,height:15}},{id:"cloud",parent:null,level:0,children:["cloud.application"],inEdges:["17brhnu"],outEdges:[],title:"Cloud",modelRef:"cloud",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Cloud environments"},tags:[],technology:"IaaS/PaaS",kind:"system",depth:1,x:568,y:661,width:384,height:265,labelBBox:{x:6,y:0,width:43,height:15}},{id:"cloud.application",parent:"cloud",level:1,children:[],inEdges:[],outEdges:[],title:"application",modelRef:"cloud.application",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"An application description"},tags:[],technology:"DSL",kind:"schema",x:600,y:714,width:320,height:180,labelBBox:{x:73,y:54,width:175,height:67}},{id:"developer",parent:"@gr1",level:1,children:[],inEdges:[],outEdges:["zjg544","1okgiq5"],title:"Developer",modelRef:"developer",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"The regular user of the platform"},tags:[],kind:"actor",x:127,y:69,width:320,height:180,labelBBox:{x:53,y:63,width:214,height:48}},{id:"otherProductLifecycleRoles",parent:"@gr1",level:1,children:[],inEdges:[],outEdges:["1wupl5x"],title:"Reviewer, Tester, Auditors, Operators",modelRef:"otherProductLifecycleRoles",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"Coworking roles in the outer loop"},tags:[],kind:"actor",x:572,y:69,width:375,height:180,labelBBox:{x:18,y:63,width:340,height:48}},{id:"localbox",parent:"@gr2",level:1,children:["localbox.application"],inEdges:["zjg544","6szgsj"],outEdges:["1uo6k6b"],title:"localbox",modelRef:"localbox",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"A local development system"},tags:[],technology:"Linux/Windows/Mac",kind:"system",depth:1,x:80,y:316,width:384,height:265,labelBBox:{x:6,y:0,width:66,height:15}},{id:"localbox.application",parent:"localbox",level:2,children:[],inEdges:[],outEdges:[],title:"application",modelRef:"localbox.application",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"An application description"},tags:[],technology:"DSL",kind:"schema",x:112,y:369,width:320,height:180,labelBBox:{x:73,y:53,width:175,height:68}},{id:"edp",parent:"@gr3",level:1,children:["edp.application"],inEdges:["1okgiq5","1wupl5x","1uo6k6b"],outEdges:["17brhnu","6szgsj"],title:"EDP",modelRef:"edp",shape:"rectangle",color:"primary",icon:"tech:kubernetes",style:{opacity:15,size:"md"},description:{txt:"EDP Edge Development Platform"},tags:[],technology:"Kubernetes",kind:"system",depth:1,navigateTo:"edp",x:568,y:316,width:384,height:265,labelBBox:{x:6,y:0,width:27,height:15}},{id:"edp.application",parent:"edp",level:2,children:[],inEdges:[],outEdges:[],title:"application",modelRef:"edp.application",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"An application description"},tags:[],technology:"DSL",kind:"schema",x:600,y:369,width:320,height:180,labelBBox:{x:73,y:53,width:175,height:68}}],edges:[{id:"zjg544",source:"developer",target:"localbox",label:"inner loop development",dotpos:"e,279.16,316 282.54,248.8 281.64,266.75 280.66,286.09 279.68,305.53",points:[[283,249],[282,267],[281,286],[280,306]],labelBBox:{x:130,y:282,width:150,height:18},parent:"@gr1",relations:["5hkplj"],color:"gray",line:"dashed",head:"normal"},{id:"1okgiq5",source:"developer",target:"edp",label:"outer loop development",dotpos:"e,572.31,316 446.79,237.41 461.91,245.66 476.86,254.19 491,262.8 515.03,277.44 539.66,293.58 563.79,310.14",points:[[447,237],[462,246],[477,254],[491,263],[515,277],[540,294],[564,310]],labelBBox:{x:360,y:252,width:150,height:18},parent:"@gr1",relations:["1pp73vj","yk9zv2","12036hb","jpl8ll","1ghp31l","1xiorre","1woleh6","177bm2y","1l9a3pd","1uzzn9j"],color:"gray",line:"dashed",head:"normal"},{id:"1wupl5x",source:"otherProductLifecycleRoles",target:"edp",label:"act according to responibility",dotpos:"e,760,316 760,248.8 760,266.75 760,286.09 760,305.53",points:[[760,249],[760,267],[760,286],[760,306]],labelBBox:{x:578,y:282,width:181,height:18},parent:"@gr1",relations:["lb4xas"],color:"gray",line:"dashed",head:"normal"},{id:"1uo6k6b",source:"localbox",target:"edp",label:"inner-outer-loop synchronization",dotpos:"e,568,459.2 464,459.2 495.2,459.2 526.41,459.2 557.62,459.2",points:[[464,459],[495,459],[526,459],[558,459]],labelBBox:{x:414,y:459,width:204,height:18},parent:"@gr1",relations:["1mp9fps"],color:"gray",line:"dashed",head:"normal"},{id:"17brhnu",source:"edp",target:"cloud",label:"deploys and observes",dotpos:"e,760,661.2 760,581.2 760,603.74 760,627.57 760,650.92",points:[[760,581],[760,604],[760,628],[760,651]],labelBBox:{x:619,y:598,width:140,height:18},parent:null,relations:["gerdx4"],color:"gray",line:"dashed",head:"normal"},{id:"6szgsj",source:"edp",target:"localbox",label:null,dotpos:"e,464,459.2 568,459.2 536.79,459.2 505.57,459.2 474.36,459.2",points:[[568,459],[537,459],[506,459],[474,459]],labelBBox:null,parent:"@gr1",relations:["wvo8i"],color:"gray",line:"dashed",head:"normal"}]},landscape:{_type:"element",tags:null,links:null,_stage:"layouted",sourcePath:"views/high-level-concept/platform-context/developer-landscape.c4",description:null,title:"Developer Landscape View",id:"landscape",autoLayout:{direction:"LR",nodeSep:100,rankSep:100},hash:"233c7192f76cf722e6ae5f3151321dfbf018bef7",bounds:{x:0,y:0,width:3257,height:2291},nodes:[{id:"applicationspecification",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"application-specification",modelRef:"applicationspecification",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"The application specification describes the application and its components. It is used to generate the application and its components."},tags:[],kind:"component",x:0,y:1092,width:338,height:180,labelBBox:{x:18,y:45,width:303,height:84}},{id:"forgejoRunnerWorker",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Forgejo Runner Worker",modelRef:"forgejoRunnerWorker",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"A worker is a service that runs a job invoked by a runner. A worker typically is a container."},tags:[],kind:"component",x:484,y:1092,width:333,height:180,labelBBox:{x:19,y:45,width:297,height:84}},{id:"promtail",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Promtail",modelRef:"promtail",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Log shipper agent for Loki"},tags:[],kind:"component",x:1095,y:1092,width:320,height:180,labelBBox:{x:71,y:63,width:177,height:48}},{id:"elasticsearch",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Elasticsearch",modelRef:"elasticsearch",shape:"rectangle",color:"primary",icon:"tech:elasticsearch",style:{opacity:20,size:"md"},description:{txt:`Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. It centrally stores your data so you can -discover the expected and uncover the unexpected.`},tags:[],technology:"Elasticsearch",kind:"container",x:1723,y:810,width:370,height:180,labelBBox:{x:46,y:17,width:308,height:139}},{id:"objectstorage",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"s3 Object Storage",modelRef:"objectstorage",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"s3 Object Storage"},tags:[],technology:"S3 Object Storage",kind:"container",x:9,y:530,width:320,height:180,labelBBox:{x:78,y:53,width:164,height:67}},{id:"postgres",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"PostgreSQL",modelRef:"postgres",shape:"rectangle",color:"primary",icon:"tech:postgresql",style:{opacity:20,size:"md"},description:{txt:`PostgreSQL is a powerful, open source object-relational database system. +discover the expected and uncover the unexpected.`},tags:[],technology:"Elasticsearch",kind:"container",x:1725,y:1092,width:370,height:180,labelBBox:{x:46,y:17,width:308,height:139}},{id:"objectstorage",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"s3 Object Storage",modelRef:"objectstorage",shape:"rectangle",color:"primary",style:{opacity:20,size:"md"},description:{txt:"s3 Object Storage"},tags:[],technology:"S3 Object Storage",kind:"container",x:9,y:812,width:320,height:180,labelBBox:{x:78,y:53,width:164,height:67}},{id:"postgres",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"PostgreSQL",modelRef:"postgres",shape:"rectangle",color:"primary",icon:"tech:postgresql",style:{opacity:20,size:"md"},description:{txt:`PostgreSQL is a powerful, open source object-relational database system. It has more than 15 years of active development and a proven architecture that has earned it a strong reputation for reliability, data integrity, -and correctness.`},tags:[],technology:"PostgreSQL",kind:"container",x:472,y:530,width:354,height:180,labelBBox:{x:46,y:17,width:292,height:139}},{id:"redis",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Redis",modelRef:"redis",shape:"rectangle",color:"primary",icon:"tech:redis",style:{opacity:20,size:"md"},description:{txt:"Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker."},tags:[],technology:"Redis",kind:"container",x:1072,y:530,width:359,height:180,labelBBox:{x:47,y:26,width:297,height:121}},{id:"platformdeveloper",parent:null,level:0,children:[],inEdges:[],outEdges:["mox1r9","x7to90"],title:"Platform Developer",modelRef:"platformdeveloper",shape:"person",color:"gray",style:{opacity:15,size:"md"},description:{txt:"The EDP engineer"},tags:[],kind:"actor",x:9,y:1829,width:320,height:180,labelBBox:{x:73,y:63,width:175,height:48}},{id:"customers",parent:null,level:0,children:[],inEdges:[],outEdges:["8fboq4"],title:"End Customers",modelRef:"customers",shape:"person",color:"amber",style:{opacity:15,size:"md"},description:{txt:"Consumers of your Application"},tags:[],kind:"actor",x:2343,y:935,width:320,height:180,labelBBox:{x:56,y:63,width:208,height:48}},{id:"documentor",parent:null,level:0,children:[],inEdges:[],outEdges:["1ndqohb","1t1nq4"],title:"Documentor",modelRef:"documentor",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"Content creator and maintainer of the developer platform documentation"},tags:[],technology:"Hugo, Markdown, LikeC4",kind:"person",x:9,y:192,width:320,height:180,labelBBox:{x:34,y:44,width:252,height:85}},{id:"forgejoRunner",parent:null,level:0,children:[],inEdges:["5mpoyf"],outEdges:["1lyfj4n"],title:"Forgejo Runner",modelRef:"forgejoRunner",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"A runner is a service that runs jobs triggered by Forgejo. A runner can have different technical implementations like a container or a VM."},tags:[],kind:"component",x:2343,y:1718,width:320,height:180,labelBBox:{x:23,y:36,width:274,height:102}},{id:"edfbuilder",parent:null,level:0,children:[],inEdges:["mox1r9"],outEdges:["lnq8uj"],title:"edfbuilder",modelRef:"edfbuilder",shape:"rectangle",color:"primary",icon:"tech:go",style:{opacity:15,size:"md"},description:{txt:"EDP Foundry Builder"},tags:[],technology:"Golang",kind:"component",navigateTo:"edpbuilderworkflow",x:489,y:1709,width:320,height:180,labelBBox:{x:74,y:53,width:203,height:67}},{id:"docPlatform",parent:null,level:0,children:[],inEdges:["1ndqohb","8lbghe"],outEdges:["jw1mqa"],title:"Documentation Platform",modelRef:"docPlatform",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},tags:[],kind:"system",navigateTo:"overview",x:489,y:0,width:320,height:180,labelBBox:{x:25,y:54,width:271,height:66}},{id:"edf",parent:null,level:0,children:[],inEdges:["lnq8uj","x7to90"],outEdges:["109bf6k"],title:"EDF",modelRef:"edf",shape:"rectangle",color:"primary",icon:"tech:kubernetes",style:{opacity:15,size:"md"},description:{txt:"EDP Foundry is a platform for building and deploying EDPs tenantwise."},tags:[],technology:"Kubernetes",kind:"system",x:1091,y:1816,width:321,height:180,labelBBox:{x:47,y:35,width:259,height:103}},{id:"cicdPipeline",parent:null,level:0,children:[],inEdges:["jw1mqa"],outEdges:["8lbghe","1d6ysxt"],title:"CI/CD Pipeline",modelRef:"cicdPipeline",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Automated testing and deployment pipeline"},tags:[],kind:"system",navigateTo:"cicdPipeline",x:1088,y:0,width:327,height:180,labelBBox:{x:18,y:63,width:292,height:48}},{id:"@gr1",parent:null,kind:"@group",title:"developer-scope",color:"green",shape:"rectangle",children:["developer","otherProductLifecycleRoles","@gr2","@gr3"],inEdges:["1lyfj4n","109bf6k"],outEdges:["1tbee2v","5mpoyf","17brhnu","35ru8e"],level:0,depth:2,tags:[],style:{border:"none",opacity:20},x:1024,y:1030,width:1129,height:746,labelBBox:{x:6,y:0,width:114,height:15}},{id:"deploymentEnv",parent:null,level:0,children:[],inEdges:["1t1nq4","1d6ysxt"],outEdges:[],title:"Deployment Environment",modelRef:"deploymentEnv",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Edge deployment infrastructure"},tags:[],kind:"system",x:1748,y:142,width:320,height:180,labelBBox:{x:46,y:63,width:229,height:48}},{id:"developer",parent:"@gr1",level:1,children:[],inEdges:[],outEdges:["zjg544","1okgiq5"],title:"Developer",modelRef:"developer",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"The regular user of the platform"},tags:[],kind:"actor",x:1092,y:1194,width:320,height:180,labelBBox:{x:53,y:63,width:214,height:48}},{id:"otherProductLifecycleRoles",parent:"@gr1",level:1,children:[],inEdges:[],outEdges:["1wupl5x"],title:"Reviewer, Tester, Auditors, Operators",modelRef:"otherProductLifecycleRoles",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"Coworking roles in the outer loop"},tags:[],kind:"actor",x:1064,y:1524,width:375,height:180,labelBBox:{x:18,y:63,width:340,height:48}},{id:"@gr2",parent:"@gr1",kind:"@group",title:"Devops inner-loop",color:"gray",shape:"rectangle",children:["localbox"],inEdges:["zjg544","6szgsj"],outEdges:["1tbee2v","1uo6k6b"],level:0,depth:1,tags:[],style:{border:"none",opacity:30},x:1716,y:1091,width:384,height:265,labelBBox:{x:6,y:0,width:122,height:15}},{id:"localbox",parent:"@gr2",level:1,children:[],inEdges:["zjg544","6szgsj"],outEdges:["1tbee2v","1uo6k6b"],title:"localbox",modelRef:"localbox",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"A local development system"},tags:[],technology:"Linux/Windows/Mac",kind:"system",x:1748,y:1144,width:320,height:180,labelBBox:{x:65,y:53,width:191,height:67}},{id:"@gr3",parent:"@gr1",kind:"@group",title:"Devops outer-loop",color:"gray",shape:"rectangle",children:["edp"],inEdges:["1lyfj4n","109bf6k","1okgiq5","1wupl5x","1uo6k6b"],outEdges:["5mpoyf","17brhnu","35ru8e","6szgsj"],level:0,depth:1,tags:[],style:{border:"none",opacity:30},x:1703,y:1471,width:410,height:265,labelBBox:{x:6,y:0,width:126,height:15}},{id:"edp",parent:"@gr3",level:1,children:[],inEdges:["1lyfj4n","109bf6k","1okgiq5","1wupl5x","1uo6k6b"],outEdges:["5mpoyf","17brhnu","35ru8e","6szgsj"],title:"EDP",modelRef:"edp",shape:"rectangle",color:"primary",icon:"tech:kubernetes",style:{opacity:15,size:"md"},description:{txt:"EDP Edge Development Platform"},tags:[],technology:"Kubernetes",kind:"system",navigateTo:"edp",x:1735,y:1524,width:346,height:180,labelBBox:{x:46,y:53,width:284,height:67}},{id:"enterprise",parent:null,level:0,children:[],inEdges:["1tbee2v","35ru8e"],outEdges:["iwd51q"],title:"Customers' Enterprise Systems",modelRef:"enterprise",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"The customers' enterprise systems"},tags:[],kind:"system",x:2343,y:1215,width:320,height:180,labelBBox:{x:19,y:63,width:283,height:48}},{id:"cloud",parent:null,level:0,children:[],inEdges:["8fboq4","iwd51q","17brhnu"],outEdges:[],title:"Cloud",modelRef:"cloud",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Cloud environments"},tags:[],technology:"IaaS/PaaS",kind:"system",x:2934,y:1215,width:320,height:180,labelBBox:{x:92,y:53,width:137,height:67}}],edges:[{id:"lnq8uj",source:"edfbuilder",target:"edf",label:"boots one",dotpos:"e,1091.7,1877.6 808.78,1827.3 892.7,1842.2 995.77,1860.5 1081.3,1875.7",points:[[809,1827],[893,1842],[996,1861],[1081,1876]],labelBBox:{x:913,y:1817,width:66,height:18},parent:null,relations:["1oxlsu0"],color:"gray",line:"dashed",head:"normal"},{id:"mox1r9",source:"platformdeveloper",target:"edfbuilder",label:"runs",dotpos:"e,489.02,1838.9 329.05,1879.1 377.18,1867 430.23,1853.7 479,1841.5",points:[[329,1879],[377,1867],[430,1854],[479,1841]],labelBBox:{x:390,y:1836,width:31,height:18},parent:null,relations:["s1l7g7"],color:"gray",line:"dashed",head:"normal"},{id:"x7to90",source:"platformdeveloper",target:"edf",label:"develops EDP and EDF",dotpos:"e,1091.5,1932 329.12,1945.8 375.04,1952.4 425.33,1958.5 471.88,1961.8 628.93,1972.9 669.02,1972.1 826.13,1961.8 910.47,1956.3 1003.6,1944.7 1081.2,1933.5",points:[[329,1946],[375,1952],[425,1959],[472,1962],[629,1973],[669,1972],[826,1962],[910,1956],[1004,1945],[1081,1933]],labelBBox:{x:573,y:1939,width:152,height:18},parent:null,relations:["v8v12"],color:"gray",line:"dashed",head:"normal"},{id:"8fboq4",source:"customers",target:"cloud",label:"uses your app",dotpos:"e,2934.4,1229.4 2663.4,1100.6 2744.3,1139.1 2842.8,1185.9 2925,1225",points:[[2663,1101],[2744,1139],[2843,1186],[2925,1225]],labelBBox:{x:2753,y:1108,width:92,height:18},parent:null,relations:["1g2ebwc"],color:"gray",line:"dashed",head:"normal"},{id:"iwd51q",source:"enterprise",target:"cloud",label:"app specific dependencies",dotpos:"e,2934.4,1305 2663.4,1305 2744,1305 2842,1305 2924,1305",points:[[2663,1305],[2744,1305],[2842,1305],[2924,1305]],labelBBox:{x:2714,y:1282,width:169,height:18},parent:null,relations:["nc44l9"],color:"gray",line:"dashed",head:"normal"},{id:"1ndqohb",source:"documentor",target:"docPlatform",label:"[...]",dotpos:"e,489.02,153.9 329.05,218.2 377.28,198.81 430.45,177.45 479.31,157.81",points:[[329,218],[377,199],[430,177],[479,158]],labelBBox:{x:393,y:162,width:25,height:18},parent:null,relations:["1ouysrh","fmzkfl","1iop8z6"],color:"gray",line:"dashed",head:"normal"},{id:"1t1nq4",source:"documentor",target:"deploymentEnv",label:"views published docs",description:{txt:"HTTPS access to live documentation"},dotpos:"e,1747.9,236.58 329.04,277.43 655.96,268.02 1401.9,246.54 1737.6,236.87",points:[[329,277],[656,268],[1402,247],[1738,237]],labelBBox:{x:877,y:235,width:136,height:18},parent:null,relations:["otinu1"],color:"gray",line:"dashed",head:"normal"},{id:"jw1mqa",source:"docPlatform",target:"cicdPipeline",label:"[...]",dotpos:"e,1088.5,90 808.78,90 891.7,90 993.3,90 1078.2,90",points:[[809,90],[892,90],[993,90],[1078,90]],labelBBox:{x:933,y:66,width:25,height:18},parent:null,relations:["1dzhdhu","14ls3qa","htx1q7","1vqq9gw","8hsu7m"],color:"gray",line:"dashed",head:"normal"},{id:"8lbghe",source:"cicdPipeline",target:"docPlatform",label:"[...]",dotpos:"e,809.02,127.94 1088.5,127.27 1063.8,131.64 1038.5,135.39 1014.4,137.8 953.26,143.91 937.26,144.19 876.13,137.8 857.61,135.86 838.37,133.06 819.29,129.76",points:[[1089,127],[1064,132],[1039,135],[1014,138],[953,144],[937,144],[876,138],[858,136],[838,133],[819,130]],labelBBox:{x:933,y:114,width:25,height:18},parent:null,relations:["omluoy","11hmyp0","1bziuh3","9nq85f","1nifn"],color:"gray",line:"dashed",head:"normal"},{id:"1d6ysxt",source:"cicdPipeline",target:"deploymentEnv",label:"pushes image to",description:{txt:"Tagged container image"},dotpos:"e,1748.1,197.49 1416.1,125.37 1514.2,146.68 1638.8,173.76 1738,195.29",points:[[1416,125],[1514,147],[1639,174],[1738,195]],labelBBox:{x:1528,y:121,width:107,height:18},parent:null,relations:["1hae5vm"],color:"gray",line:"dashed",head:"normal"},{id:"zjg544",source:"developer",target:"localbox",label:"inner loop development",dotpos:"e,1748.1,1246.2 1412,1271.9 1510.6,1264.3 1637.3,1254.6 1737.8,1246.9",points:[[1412,1272],[1511,1264],[1637,1255],[1738,1247]],labelBBox:{x:1507,y:1230,width:150,height:18},parent:"@gr1",relations:["5hkplj"],color:"gray",line:"dashed",head:"normal"},{id:"1tbee2v",source:"localbox",target:"enterprise",label:"company integration",dotpos:"e,2343.5,1286 2067.6,1253 2149.5,1262.8 2249.6,1274.8 2333.1,1284.8",points:[[2068,1253],[2150,1263],[2250,1275],[2333,1285]],labelBBox:{x:2162,y:1241,width:130,height:18},parent:null,relations:["1abvxlh"],color:"gray",line:"dashed",head:"normal"},{id:"1lyfj4n",source:"forgejoRunner",target:"edp",label:"register",dotpos:"e,2021.4,1703.8 2343.7,1809.9 2285,1806.5 2218.9,1797.7 2161.3,1777.8 2115.4,1762 2069.6,1736.1 2029.8,1709.5",points:[[2344,1810],[2285,1806],[2219,1798],[2161,1778],[2115,1762],[2070,1736],[2030,1709]],labelBBox:{x:2202,y:1755,width:51,height:18},parent:null,relations:["18dtot7"],color:"gray",line:"dashed",head:"normal"},{id:"109bf6k",source:"edf",target:"edp",label:"builds many",dotpos:"e,1828.8,1703.7 1413,1895 1494.1,1884.4 1592.4,1863.9 1672.9,1823.8 1728.3,1796.2 1780.5,1751.9 1821.5,1711",points:[[1413,1895],[1494,1884],[1592,1864],[1673,1824],[1728,1796],[1781,1752],[1822,1711]],labelBBox:{x:1542,y:1801,width:79,height:18},parent:null,relations:["wsm3kf"],color:"gray",line:"dashed",head:"normal"},{id:"1okgiq5",source:"developer",target:"edp",label:"outer loop development",dotpos:"e,1734.6,1527 1412,1364.1 1506.6,1411.9 1627,1472.7 1725.4,1522.4",points:[[1412,1364],[1507,1412],[1627,1473],[1725,1522]],labelBBox:{x:1506,y:1387,width:150,height:18},parent:"@gr1",relations:["1pp73vj","yk9zv2","12036hb","jpl8ll","1ghp31l","1xiorre","1woleh6","177bm2y","1l9a3pd","1uzzn9j"],color:"gray",line:"dashed",head:"normal"},{id:"1wupl5x",source:"otherProductLifecycleRoles",target:"edp",label:"act according to responibility",dotpos:"e,1734.7,1614 1440.2,1614 1529.4,1614 1635.7,1614 1724.3,1614",points:[[1440,1614],[1529,1614],[1636,1614],[1724,1614]],labelBBox:{x:1491,y:1591,width:181,height:18},parent:"@gr1",relations:["lb4xas"],color:"gray",line:"dashed",head:"normal"},{id:"1uo6k6b",source:"localbox",target:"edp",label:"inner-outer-loop synchronization",dotpos:"e,1907.9,1524.4 1907.9,1324 1907.9,1381.1 1907.9,1455 1907.9,1514",points:[[1908,1324],[1908,1381],[1908,1455],[1908,1514]],labelBBox:{x:1792,y:1412,width:204,height:18},parent:"@gr1",relations:["1mp9fps"],color:"gray",line:"dashed",head:"normal"},{id:"5mpoyf",source:"edp",target:"forgejoRunner",label:"runs workflows",dotpos:"e,2343.4,1751 2081.1,1666.2 2147.6,1686.8 2224.2,1711 2293.3,1734 2306.4,1738.4 2319.9,1742.9 2333.5,1747.6",points:[[2081,1666],[2148,1687],[2224,1711],[2293,1734],[2306,1738],[2320,1743],[2334,1748]],labelBBox:{x:2179,y:1670,width:97,height:18},parent:null,relations:["1pbc22f"],color:"gray",line:"dashed",head:"normal"},{id:"17brhnu",source:"edp",target:"cloud",label:"deploys and observes",dotpos:"e,2934.5,1372.6 2080.9,1589.2 2235.1,1565 2466.7,1523.6 2663.4,1467.8 2751.3,1442.8 2846.6,1407.7 2925,1376.4",points:[[2081,1589],[2235,1565],[2467,1524],[2663,1468],[2751,1443],[2847,1408],[2925,1376]],labelBBox:{x:2433,y:1445,width:140,height:18},parent:null,relations:["gerdx4"],color:"gray",line:"dashed",head:"normal"},{id:"35ru8e",source:"edp",target:"enterprise",label:"integrates",dotpos:"e,2343.4,1376.4 2057.1,1524.1 2091,1504.4 2127.1,1484 2161.3,1466 2216.8,1436.7 2278.6,1406.7 2334.2,1380.7",points:[[2057,1524],[2091,1504],[2127,1484],[2161,1466],[2217,1437],[2279,1407],[2334,1381]],labelBBox:{x:2195,y:1378,width:65,height:18},parent:null,relations:["615gvx"],color:"gray",line:"dashed",head:"normal"},{id:"6szgsj",source:"edp",target:"localbox",label:null,dotpos:"e,1907.9,1323.8 1907.9,1524.2 1907.9,1460.8 1907.9,1397.4 1907.9,1334",points:[[1908,1524],[1908,1461],[1908,1397],[1908,1334]],labelBBox:null,parent:"@gr1",relations:["wvo8i"],color:"gray",line:"dashed",head:"normal"}]},"developer-landscape-with-foundry":{_type:"element",tags:null,links:null,_stage:"layouted",sourcePath:"views/high-level-concept/platform-context/developer-landscape-with-foundry.c4",description:null,title:"Developer Landscape View (with Foundry)",id:"developer-landscape-with-foundry",autoLayout:{direction:"LR",nodeSep:100,rankSep:100},hash:"db1ab2ca9c27120b84803fa873d31f10380e5692",bounds:{x:0,y:0,width:4330,height:2726},nodes:[{id:"applicationspecification",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"application-specification",modelRef:"applicationspecification",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"The application specification describes the application and its components. It is used to generate the application and its components."},tags:[],kind:"component",x:0,y:1044,width:520,height:290,labelBBox:{x:49,y:84,width:422,height:113}},{id:"forgejoRunnerWorker",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Forgejo Runner Worker",modelRef:"forgejoRunnerWorker",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"A worker is a service that runs a job invoked by a runner. A worker typically is a container."},tags:[],kind:"component",x:653,y:1044,width:520,height:290,labelBBox:{x:53,y:84,width:415,height:113}},{id:"promtail",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Promtail",modelRef:"promtail",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"Log shipper agent for Loki"},tags:[],kind:"component",x:1423,y:1044,width:520,height:290,labelBBox:{x:136,y:109,width:247,height:63}},{id:"elasticsearch",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Elasticsearch",modelRef:"elasticsearch",shape:"rectangle",color:"primary",icon:"tech:elasticsearch",style:{opacity:20,size:"xl"},description:{txt:`Elasticsearch is a distributed, RESTful search and analytics engine capable of +and correctness.`},tags:[],technology:"PostgreSQL",kind:"container",x:474,y:812,width:354,height:180,labelBBox:{x:46,y:17,width:292,height:139}},{id:"redis",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Redis",modelRef:"redis",shape:"rectangle",color:"primary",icon:"tech:redis",style:{opacity:20,size:"md"},description:{txt:"Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker."},tags:[],technology:"Redis",kind:"container",x:1075,y:812,width:359,height:180,labelBBox:{x:46,y:26,width:297,height:121}},{id:"platformdeveloper",parent:null,level:0,children:[],inEdges:[],outEdges:["mox1r9","x7to90"],title:"Platform Developer",modelRef:"platformdeveloper",shape:"person",color:"gray",style:{opacity:15,size:"md"},description:{txt:"The EDP engineer"},tags:[],kind:"actor",x:9,y:2111,width:320,height:180,labelBBox:{x:73,y:63,width:175,height:48}},{id:"customers",parent:null,level:0,children:[],inEdges:[],outEdges:["8fboq4"],title:"End Customers",modelRef:"customers",shape:"person",color:"amber",style:{opacity:15,size:"md"},description:{txt:"Consumers of your Application"},tags:[],kind:"actor",x:2346,y:1217,width:320,height:180,labelBBox:{x:56,y:63,width:208,height:48}},{id:"documentor",parent:null,level:0,children:[],inEdges:[],outEdges:["1ndqohb","1t1nq4"],title:"Documentor",modelRef:"documentor",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"Content creator and maintainer of the developer platform documentation"},tags:[],technology:"Hugo, Markdown, LikeC4",kind:"person",x:9,y:381,width:320,height:180,labelBBox:{x:34,y:44,width:252,height:85}},{id:"customer",parent:null,level:0,children:[],inEdges:[],outEdges:["n2nq9r"],title:"Customer",modelRef:"customer",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"End user of the platform"},tags:[],kind:"myperson",x:9,y:0,width:320,height:180,labelBBox:{x:78,y:63,width:164,height:48}},{id:"forgejoRunner",parent:null,level:0,children:[],inEdges:["5mpoyf"],outEdges:["1lyfj4n"],title:"Forgejo Runner",modelRef:"forgejoRunner",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"A runner is a service that runs jobs triggered by Forgejo. A runner can have different technical implementations like a container or a VM."},tags:[],kind:"component",x:2346,y:2e3,width:320,height:180,labelBBox:{x:23,y:36,width:274,height:102}},{id:"edfbuilder",parent:null,level:0,children:[],inEdges:["mox1r9"],outEdges:["lnq8uj"],title:"edfbuilder",modelRef:"edfbuilder",shape:"rectangle",color:"primary",icon:"tech:go",style:{opacity:15,size:"md"},description:{txt:"EDP Foundry Builder"},tags:[],technology:"Golang",kind:"component",navigateTo:"edpbuilderworkflow",x:491,y:1991,width:320,height:180,labelBBox:{x:74,y:53,width:203,height:67}},{id:"docPlatform",parent:null,level:0,children:[],inEdges:["1ndqohb","8lbghe"],outEdges:["jw1mqa"],title:"Documentation Platform",modelRef:"docPlatform",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},tags:[],kind:"system",navigateTo:"overview",x:491,y:330,width:320,height:180,labelBBox:{x:25,y:54,width:271,height:66}},{id:"mySystem",parent:null,level:0,children:[],inEdges:["n2nq9r"],outEdges:[],title:"My System",modelRef:"mySystem",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Example system component"},tags:[],kind:"mysystem",x:491,y:0,width:320,height:180,labelBBox:{x:64,y:63,width:192,height:48}},{id:"edf",parent:null,level:0,children:[],inEdges:["lnq8uj","x7to90"],outEdges:["109bf6k"],title:"EDF",modelRef:"edf",shape:"rectangle",color:"primary",icon:"tech:kubernetes",style:{opacity:15,size:"md"},description:{txt:"EDP Foundry is a platform for building and deploying EDPs tenantwise."},tags:[],technology:"Kubernetes",kind:"system",x:1094,y:2098,width:321,height:180,labelBBox:{x:46,y:35,width:260,height:103}},{id:"cicdPipeline",parent:null,level:0,children:[],inEdges:["jw1mqa"],outEdges:["8lbghe","1d6ysxt"],title:"CI/CD Pipeline",modelRef:"cicdPipeline",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Automated testing and deployment pipeline"},tags:[],kind:"system",navigateTo:"cicdPipeline",x:1091,y:330,width:327,height:180,labelBBox:{x:18,y:63,width:292,height:48}},{id:"@gr1",parent:null,kind:"@group",title:"developer-scope",color:"green",shape:"rectangle",children:["developer","otherProductLifecycleRoles","@gr2","@gr3"],inEdges:["1lyfj4n","109bf6k"],outEdges:["1tbee2v","5mpoyf","17brhnu","35ru8e"],level:0,depth:2,tags:[],style:{border:"none",opacity:20},x:1027,y:1312,width:1129,height:746,labelBBox:{x:6,y:0,width:114,height:15}},{id:"deploymentEnv",parent:null,level:0,children:[],inEdges:["1t1nq4","1d6ysxt"],outEdges:[],title:"Deployment Environment",modelRef:"deploymentEnv",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Edge deployment infrastructure"},tags:[],kind:"system",x:1750,y:472,width:320,height:180,labelBBox:{x:46,y:63,width:229,height:48}},{id:"developer",parent:"@gr1",level:1,children:[],inEdges:[],outEdges:["zjg544","1okgiq5"],title:"Developer",modelRef:"developer",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"The regular user of the platform"},tags:[],kind:"actor",x:1095,y:1476,width:320,height:180,labelBBox:{x:53,y:63,width:214,height:48}},{id:"otherProductLifecycleRoles",parent:"@gr1",level:1,children:[],inEdges:[],outEdges:["1wupl5x"],title:"Reviewer, Tester, Auditors, Operators",modelRef:"otherProductLifecycleRoles",shape:"person",color:"green",style:{opacity:15,size:"md"},description:{txt:"Coworking roles in the outer loop"},tags:[],kind:"actor",x:1067,y:1806,width:375,height:180,labelBBox:{x:18,y:63,width:340,height:48}},{id:"@gr2",parent:"@gr1",kind:"@group",title:"Devops inner-loop",color:"gray",shape:"rectangle",children:["localbox"],inEdges:["zjg544","6szgsj"],outEdges:["1tbee2v","1uo6k6b"],level:0,depth:1,tags:[],style:{border:"none",opacity:30},x:1718,y:1373,width:384,height:265,labelBBox:{x:6,y:0,width:122,height:15}},{id:"localbox",parent:"@gr2",level:1,children:[],inEdges:["zjg544","6szgsj"],outEdges:["1tbee2v","1uo6k6b"],title:"localbox",modelRef:"localbox",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"A local development system"},tags:[],technology:"Linux/Windows/Mac",kind:"system",x:1750,y:1426,width:320,height:180,labelBBox:{x:65,y:53,width:191,height:67}},{id:"@gr3",parent:"@gr1",kind:"@group",title:"Devops outer-loop",color:"gray",shape:"rectangle",children:["edp"],inEdges:["1lyfj4n","109bf6k","1okgiq5","1wupl5x","1uo6k6b"],outEdges:["5mpoyf","17brhnu","35ru8e","6szgsj"],level:0,depth:1,tags:[],style:{border:"none",opacity:30},x:1705,y:1753,width:411,height:265,labelBBox:{x:6,y:0,width:126,height:15}},{id:"edp",parent:"@gr3",level:1,children:[],inEdges:["1lyfj4n","109bf6k","1okgiq5","1wupl5x","1uo6k6b"],outEdges:["5mpoyf","17brhnu","35ru8e","6szgsj"],title:"EDP",modelRef:"edp",shape:"rectangle",color:"primary",icon:"tech:kubernetes",style:{opacity:15,size:"md"},description:{txt:"EDP Edge Development Platform"},tags:[],technology:"Kubernetes",kind:"system",navigateTo:"edp",x:1737,y:1806,width:346,height:180,labelBBox:{x:46,y:53,width:285,height:67}},{id:"enterprise",parent:null,level:0,children:[],inEdges:["1tbee2v","35ru8e"],outEdges:["iwd51q"],title:"Customers' Enterprise Systems",modelRef:"enterprise",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"The customers' enterprise systems"},tags:[],kind:"system",x:2346,y:1497,width:320,height:180,labelBBox:{x:18,y:63,width:283,height:48}},{id:"cloud",parent:null,level:0,children:[],inEdges:["8fboq4","iwd51q","17brhnu"],outEdges:[],title:"Cloud",modelRef:"cloud",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Cloud environments"},tags:[],technology:"IaaS/PaaS",kind:"system",x:2937,y:1497,width:320,height:180,labelBBox:{x:91,y:53,width:137,height:67}}],edges:[{id:"lnq8uj",source:"edfbuilder",target:"edf",label:"boots one",dotpos:"e,1094,2159.6 811.12,2109.3 895.04,2124.2 998.1,2142.5 1083.6,2157.7",points:[[811,2109],[895,2124],[998,2143],[1084,2158]],labelBBox:{x:915,y:2099,width:66,height:18},parent:null,relations:["1oxlsu0"],color:"gray",line:"dashed",head:"normal"},{id:"mox1r9",source:"platformdeveloper",target:"edfbuilder",label:"runs",dotpos:"e,491.39,2120.7 329.16,2161.3 377.94,2149.1 431.8,2135.6 481.24,2123.3",points:[[329,2161],[378,2149],[432,2136],[481,2123]],labelBBox:{x:391,y:2118,width:31,height:18},parent:null,relations:["s1l7g7"],color:"gray",line:"dashed",head:"normal"},{id:"x7to90",source:"platformdeveloper",target:"edf",label:"develops EDP and EDF",dotpos:"e,1093.9,2214 329.18,2227.6 375.77,2234.3 426.92,2240.5 474.22,2243.8 631.28,2254.8 671.36,2254.1 828.47,2243.8 912.81,2238.3 1006,2226.7 1083.5,2215.5",points:[[329,2228],[376,2234],[427,2240],[474,2244],[631,2255],[671,2254],[828,2244],[913,2238],[1006,2227],[1084,2215]],labelBBox:{x:575,y:2221,width:152,height:18},parent:null,relations:["v8v12"],color:"gray",line:"dashed",head:"normal"},{id:"8fboq4",source:"customers",target:"cloud",label:"uses your app",dotpos:"e,2936.8,1511.4 2665.7,1382.6 2746.7,1421.1 2845.1,1467.9 2927.4,1507",points:[[2666,1383],[2747,1421],[2845,1468],[2927,1507]],labelBBox:{x:2755,y:1390,width:92,height:18},parent:null,relations:["1g2ebwc"],color:"gray",line:"dashed",head:"normal"},{id:"iwd51q",source:"enterprise",target:"cloud",label:"app specific dependencies",dotpos:"e,2936.8,1587 2665.7,1587 2746.4,1587 2844.3,1587 2926.3,1587",points:[[2666,1587],[2746,1587],[2844,1587],[2926,1587]],labelBBox:{x:2717,y:1564,width:169,height:18},parent:null,relations:["nc44l9"],color:"gray",line:"dashed",head:"normal"},{id:"1ndqohb",source:"documentor",target:"docPlatform",label:"[...]",dotpos:"e,491.39,436.89 329.16,454.12 377.84,448.95 431.57,443.24 480.93,438",points:[[329,454],[378,449],[432,443],[481,438]],labelBBox:{x:394,y:421,width:25,height:18},parent:null,relations:["1ouysrh","fmzkfl","1iop8z6"],color:"gray",line:"dashed",head:"normal"},{id:"1t1nq4",source:"documentor",target:"deploymentEnv",label:"views published docs",description:{txt:"HTTPS access to live documentation"},dotpos:"e,1750.3,576.36 329.31,526.76 375.46,540.43 426.34,553.1 474.22,560 927.81,625.38 1470.5,597.83 1740,577.15",points:[[329,527],[375,540],[426,553],[474,560],[928,625],[1470,598],[1740,577]],labelBBox:{x:879,y:573,width:136,height:18},parent:null,relations:["otinu1"],color:"gray",line:"dashed",head:"normal"},{id:"jw1mqa",source:"docPlatform",target:"cicdPipeline",label:"[...]",dotpos:"e,1090.8,420 811.12,420 894.04,420 995.64,420 1080.6,420",points:[[811,420],[894,420],[996,420],[1081,420]],labelBBox:{x:935,y:396,width:25,height:18},parent:null,relations:["1dzhdhu","14ls3qa","htx1q7","1vqq9gw","8hsu7m"],color:"gray",line:"dashed",head:"normal"},{id:"8lbghe",source:"cicdPipeline",target:"docPlatform",label:"[...]",dotpos:"e,811.35,457.94 1090.9,457.27 1066.2,461.64 1040.9,465.39 1016.8,467.8 955.6,473.91 939.6,474.19 878.47,467.8 859.95,465.86 840.71,463.06 821.62,459.76",points:[[1091,457],[1066,462],[1041,465],[1017,468],[956,474],[940,474],[878,468],[860,466],[841,463],[822,460]],labelBBox:{x:935,y:444,width:25,height:18},parent:null,relations:["omluoy","11hmyp0","1bziuh3","9nq85f","1nifn"],color:"gray",line:"dashed",head:"normal"},{id:"1d6ysxt",source:"cicdPipeline",target:"deploymentEnv",label:"pushes image to",description:{txt:"Tagged container image"},dotpos:"e,1750.4,527.49 1418.5,455.37 1516.5,476.68 1641.2,503.76 1740.3,525.29",points:[[1418,455],[1517,477],[1641,504],[1740,525]],labelBBox:{x:1531,y:451,width:107,height:18},parent:null,relations:["1hae5vm"],color:"gray",line:"dashed",head:"normal"},{id:"n2nq9r",source:"customer",target:"mySystem",label:"uses",dotpos:"e,491.39,90 329.16,90 377.84,90 431.57,90 480.93,90",points:[[329,90],[378,90],[432,90],[481,90]],labelBBox:{x:390,y:67,width:34,height:18},parent:null,relations:["1yvgyrn"],color:"gray",line:"dashed",head:"normal"},{id:"zjg544",source:"developer",target:"localbox",label:"inner loop development",dotpos:"e,1750.4,1528.2 1414.3,1553.9 1512.9,1546.3 1639.6,1536.6 1740.2,1528.9",points:[[1414,1554],[1513,1546],[1640,1537],[1740,1529]],labelBBox:{x:1509,y:1512,width:150,height:18},parent:"@gr1",relations:["5hkplj"],color:"gray",line:"dashed",head:"normal"},{id:"1tbee2v",source:"localbox",target:"enterprise",label:"company integration",dotpos:"e,2345.8,1568 2069.9,1535 2151.9,1544.8 2252,1556.8 2335.4,1566.8",points:[[2070,1535],[2152,1545],[2252,1557],[2335,1567]],labelBBox:{x:2165,y:1523,width:130,height:18},parent:null,relations:["1abvxlh"],color:"gray",line:"dashed",head:"normal"},{id:"1lyfj4n",source:"forgejoRunner",target:"edp",label:"register",dotpos:"e,2023.8,1985.8 2346,2091.9 2287.4,2088.5 2221.2,2079.7 2163.6,2059.8 2117.7,2044 2071.9,2018.1 2032.2,1991.5",points:[[2346,2092],[2287,2088],[2221,2080],[2164,2060],[2118,2044],[2072,2018],[2032,1991]],labelBBox:{x:2204,y:2037,width:51,height:18},parent:null,relations:["18dtot7"],color:"gray",line:"dashed",head:"normal"},{id:"109bf6k",source:"edf",target:"edp",label:"builds many",dotpos:"e,1831.2,1985.7 1415.3,2177 1496.5,2166.4 1594.7,2145.9 1675.2,2105.8 1730.6,2078.2 1782.9,2033.9 1823.9,1993",points:[[1415,2177],[1496,2166],[1595,2146],[1675,2106],[1731,2078],[1783,2034],[1824,1993]],labelBBox:{x:1545,y:2083,width:79,height:18},parent:null,relations:["wsm3kf"],color:"gray",line:"dashed",head:"normal"},{id:"1okgiq5",source:"developer",target:"edp",label:"outer loop development",dotpos:"e,1736.9,1809 1414.3,1646.1 1508.9,1693.9 1629.4,1754.7 1727.8,1804.4",points:[[1414,1646],[1509,1694],[1629,1755],[1728,1804]],labelBBox:{x:1509,y:1669,width:150,height:18},parent:"@gr1",relations:["1pp73vj","yk9zv2","12036hb","jpl8ll","1ghp31l","1xiorre","1woleh6","177bm2y","1l9a3pd","1uzzn9j"],color:"gray",line:"dashed",head:"normal"},{id:"1wupl5x",source:"otherProductLifecycleRoles",target:"edp",label:"act according to responibility",dotpos:"e,1737.1,1896 1442.5,1896 1531.7,1896 1638,1896 1726.6,1896",points:[[1443,1896],[1532,1896],[1638,1896],[1727,1896]],labelBBox:{x:1494,y:1873,width:181,height:18},parent:"@gr1",relations:["lb4xas"],color:"gray",line:"dashed",head:"normal"},{id:"1uo6k6b",source:"localbox",target:"edp",label:"inner-outer-loop synchronization",dotpos:"e,1910.2,1806.4 1910.2,1606 1910.2,1663.1 1910.2,1737 1910.2,1796",points:[[1910,1606],[1910,1663],[1910,1737],[1910,1796]],labelBBox:{x:1794,y:1694,width:204,height:18},parent:"@gr1",relations:["1mp9fps"],color:"gray",line:"dashed",head:"normal"},{id:"5mpoyf",source:"edp",target:"forgejoRunner",label:"runs workflows",dotpos:"e,2345.7,2033 2083.4,1948.2 2149.9,1968.8 2226.5,1993 2295.7,2016 2308.8,2020.4 2322.3,2024.9 2335.8,2029.6",points:[[2083,1948],[2150,1969],[2227,1993],[2296,2016],[2309,2020],[2322,2025],[2336,2030]],labelBBox:{x:2181,y:1952,width:97,height:18},parent:null,relations:["1pbc22f"],color:"gray",line:"dashed",head:"normal"},{id:"17brhnu",source:"edp",target:"cloud",label:"deploys and observes",dotpos:"e,2936.9,1654.6 2083.2,1871.2 2237.5,1847 2469,1805.6 2665.7,1749.8 2753.6,1724.8 2848.9,1689.7 2927.4,1658.4",points:[[2083,1871],[2237,1847],[2469,1806],[2666,1750],[2754,1725],[2849,1690],[2927,1658]],labelBBox:{x:2436,y:1727,width:140,height:18},parent:null,relations:["gerdx4"],color:"gray",line:"dashed",head:"normal"},{id:"35ru8e",source:"edp",target:"enterprise",label:"integrates",dotpos:"e,2345.8,1658.4 2059.5,1806.1 2093.4,1786.4 2129.5,1766 2163.6,1748 2219.2,1718.7 2281,1688.7 2336.5,1662.7",points:[[2059,1806],[2093,1786],[2129,1766],[2164,1748],[2219,1719],[2281,1689],[2337,1663]],labelBBox:{x:2197,y:1660,width:65,height:18},parent:null,relations:["615gvx"],color:"gray",line:"dashed",head:"normal"},{id:"6szgsj",source:"edp",target:"localbox",label:null,dotpos:"e,1910.2,1605.8 1910.2,1806.2 1910.2,1742.8 1910.2,1679.4 1910.2,1616",points:[[1910,1806],[1910,1743],[1910,1679],[1910,1616]],labelBBox:null,parent:"@gr1",relations:["wvo8i"],color:"gray",line:"dashed",head:"normal"}]},"developer-landscape-with-foundry":{_type:"element",tags:null,links:null,_stage:"layouted",sourcePath:"views/high-level-concept/platform-context/developer-landscape-with-foundry.c4",description:null,title:"Developer Landscape View (with Foundry)",id:"developer-landscape-with-foundry",autoLayout:{direction:"LR",nodeSep:100,rankSep:100},hash:"e0253be4232dfb197548959f4ad1b1219b161d2d",bounds:{x:0,y:0,width:4332,height:3026},nodes:[{id:"applicationspecification",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"application-specification",modelRef:"applicationspecification",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"The application specification describes the application and its components. It is used to generate the application and its components."},tags:[],kind:"component",x:0,y:1372,width:520,height:290,labelBBox:{x:49,y:84,width:422,height:113}},{id:"forgejoRunnerWorker",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Forgejo Runner Worker",modelRef:"forgejoRunnerWorker",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"A worker is a service that runs a job invoked by a runner. A worker typically is a container."},tags:[],kind:"component",x:656,y:1372,width:520,height:290,labelBBox:{x:52,y:84,width:415,height:113}},{id:"promtail",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Promtail",modelRef:"promtail",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"Log shipper agent for Loki"},tags:[],kind:"component",x:1425,y:1372,width:520,height:290,labelBBox:{x:137,y:109,width:247,height:63}},{id:"elasticsearch",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Elasticsearch",modelRef:"elasticsearch",shape:"rectangle",color:"primary",icon:"tech:elasticsearch",style:{opacity:20,size:"xl"},description:{txt:`Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. It centrally stores your data so you can -discover the expected and uncover the unexpected.`},tags:[],technology:"Elasticsearch",kind:"container",x:2236,y:1044,width:520,height:290,labelBBox:{x:72,y:46,width:407,height:189}},{id:"objectstorage",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"s3 Object Storage",modelRef:"objectstorage",shape:"rectangle",color:"primary",style:{opacity:20,size:"xl"},description:{txt:"s3 Object Storage"},tags:[],technology:"S3 Object Storage",kind:"container",x:0,y:654,width:520,height:290,labelBBox:{x:146,y:96,width:228,height:89}},{id:"postgres",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"PostgreSQL",modelRef:"postgres",shape:"rectangle",color:"primary",icon:"tech:postgresql",style:{opacity:20,size:"xl"},description:{txt:`PostgreSQL is a powerful, open source object-relational database system. +discover the expected and uncover the unexpected.`},tags:[],technology:"Elasticsearch",kind:"container",x:2239,y:1372,width:520,height:290,labelBBox:{x:72,y:46,width:406,height:189}},{id:"objectstorage",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"s3 Object Storage",modelRef:"objectstorage",shape:"rectangle",color:"primary",style:{opacity:20,size:"xl"},description:{txt:"s3 Object Storage"},tags:[],technology:"S3 Object Storage",kind:"container",x:0,y:982,width:520,height:290,labelBBox:{x:146,y:96,width:228,height:89}},{id:"postgres",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"PostgreSQL",modelRef:"postgres",shape:"rectangle",color:"primary",icon:"tech:postgresql",style:{opacity:20,size:"xl"},description:{txt:`PostgreSQL is a powerful, open source object-relational database system. It has more than 15 years of active development and a proven architecture that has earned it a strong reputation for reliability, data integrity, -and correctness.`},tags:[],technology:"PostgreSQL",kind:"container",x:653,y:654,width:520,height:290,labelBBox:{x:83,y:46,width:384,height:189}},{id:"redis",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Redis",modelRef:"redis",shape:"rectangle",color:"primary",icon:"tech:redis",style:{opacity:20,size:"xl"},description:{txt:"Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker."},tags:[],technology:"Redis",kind:"container",x:1423,y:654,width:520,height:290,labelBBox:{x:79,y:58,width:391,height:165}},{id:"platformdeveloper",parent:null,level:0,children:[],inEdges:[],outEdges:["mox1r9","x7to90"],title:"Platform Developer",modelRef:"platformdeveloper",shape:"person",color:"gray",style:{opacity:15,size:"xl"},description:{txt:"The EDP engineer"},tags:[],kind:"actor",x:0,y:2436,width:520,height:290,labelBBox:{x:138,y:109,width:244,height:63}},{id:"customers",parent:null,level:0,children:[],inEdges:[],outEdges:["8fboq4"],title:"End Customers",modelRef:"customers",shape:"person",color:"amber",style:{opacity:15,size:"xl"},description:{txt:"Consumers of your Application"},tags:[],kind:"actor",x:3019,y:1114,width:520,height:290,labelBBox:{x:114,y:109,width:290,height:63}},{id:"documentor",parent:null,level:0,children:[],inEdges:[],outEdges:["1ndqohb","1t1nq4"],title:"Documentor",modelRef:"documentor",shape:"person",color:"green",style:{opacity:15,size:"xl"},description:{txt:"Content creator and maintainer of the developer platform documentation"},tags:[],technology:"Hugo, Markdown, LikeC4",kind:"person",x:0,y:233,width:520,height:290,labelBBox:{x:84,y:83,width:352,height:115}},{id:"forgejoRunner",parent:null,level:0,children:[],inEdges:["5mpoyf"],outEdges:["1lyfj4n"],title:"Forgejo Runner",modelRef:"forgejoRunner",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"A runner is a service that runs jobs triggered by Forgejo. A runner can have different technical implementations like a container or a VM."},tags:[],kind:"component",x:3019,y:2117,width:520,height:290,labelBBox:{x:68,y:71,width:382,height:139}},{id:"edfbuilder",parent:null,level:0,children:[],inEdges:["mox1r9"],outEdges:["lnq8uj"],title:"edfbuilder",modelRef:"edfbuilder",shape:"rectangle",color:"primary",icon:"tech:go",style:{opacity:15,size:"xl"},description:{txt:"EDP Foundry Builder"},tags:[],technology:"Golang",kind:"component",navigateTo:"edpbuilderworkflow",x:653,y:2246,width:520,height:290,labelBBox:{x:146,y:96,width:259,height:89}},{id:"docPlatform",parent:null,level:0,children:[],inEdges:["1ndqohb","8lbghe"],outEdges:["jw1mqa"],title:"Documentation Platform",modelRef:"docPlatform",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},tags:[],kind:"system",navigateTo:"overview",x:653,y:0,width:520,height:290,labelBBox:{x:72,y:96,width:378,height:89}},{id:"edf",parent:null,level:0,children:[],inEdges:["lnq8uj","x7to90"],outEdges:["109bf6k"],title:"EDF",modelRef:"edf",shape:"rectangle",color:"primary",icon:"tech:kubernetes",style:{opacity:15,size:"xl"},description:{txt:"EDP Foundry is a platform for building and deploying EDPs tenantwise."},tags:[],technology:"Kubernetes",kind:"system",x:1423,y:2380,width:520,height:290,labelBBox:{x:105,y:71,width:339,height:139}},{id:"cicdPipeline",parent:null,level:0,children:[],inEdges:["jw1mqa"],outEdges:["8lbghe","1d6ysxt"],title:"CI/CD Pipeline",modelRef:"cicdPipeline",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"Automated testing and deployment pipeline"},tags:[],kind:"system",navigateTo:"cicdPipeline",x:1423,y:0,width:520,height:290,labelBBox:{x:56,y:109,width:407,height:63}},{id:"@gr1",parent:null,kind:"@group",title:"developer-scope",color:"green",shape:"rectangle",children:["developer","otherProductLifecycleRoles","@gr2","@gr3"],inEdges:["1lyfj4n","109bf6k"],outEdges:["1tbee2v","5mpoyf","17brhnu","35ru8e"],level:0,depth:2,tags:[],style:{border:"none",opacity:20},x:1372,y:1374,width:1456,height:966,labelBBox:{x:6,y:0,width:114,height:15}},{id:"deploymentEnv",parent:null,level:0,children:[],inEdges:["1t1nq4","1d6ysxt"],outEdges:[],title:"Deployment Environment",modelRef:"deploymentEnv",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"Edge deployment infrastructure"},tags:[],kind:"system",x:2236,y:183,width:520,height:290,labelBBox:{x:101,y:109,width:318,height:63}},{id:"developer",parent:"@gr1",level:1,children:[],inEdges:[],outEdges:["zjg544","1okgiq5"],title:"Developer",modelRef:"developer",shape:"person",color:"green",style:{opacity:15,size:"xl"},description:{txt:"The regular user of the platform"},tags:[],kind:"actor",x:1423,y:1538,width:520,height:290,labelBBox:{x:111,y:109,width:298,height:63}},{id:"otherProductLifecycleRoles",parent:"@gr1",level:1,children:[],inEdges:[],outEdges:["1wupl5x"],title:"Reviewer, Tester, Auditors, Operators",modelRef:"otherProductLifecycleRoles",shape:"person",color:"green",style:{opacity:15,size:"xl"},description:{txt:"Coworking roles in the outer loop"},tags:[],kind:"actor",x:1412,y:1978,width:542,height:290,labelBBox:{x:34,y:109,width:474,height:63}},{id:"@gr2",parent:"@gr1",kind:"@group",title:"Devops inner-loop",color:"gray",shape:"rectangle",children:["localbox"],inEdges:["zjg544","6szgsj"],outEdges:["1tbee2v","1uo6k6b"],level:0,depth:1,tags:[],style:{border:"none",opacity:30},x:2204,y:1435,width:584,height:375,labelBBox:{x:6,y:0,width:122,height:15}},{id:"localbox",parent:"@gr2",level:1,children:[],inEdges:["zjg544","6szgsj"],outEdges:["1tbee2v","1uo6k6b"],title:"localbox",modelRef:"localbox",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"A local development system"},tags:[],technology:"Linux/Windows/Mac",kind:"system",x:2236,y:1488,width:520,height:290,labelBBox:{x:128,y:96,width:265,height:89}},{id:"@gr3",parent:"@gr1",kind:"@group",title:"Devops outer-loop",color:"gray",shape:"rectangle",children:["edp"],inEdges:["1lyfj4n","109bf6k","1okgiq5","1wupl5x","1uo6k6b"],outEdges:["5mpoyf","17brhnu","35ru8e","6szgsj"],level:0,depth:1,tags:[],style:{border:"none",opacity:30},x:2204,y:1925,width:584,height:375,labelBBox:{x:6,y:0,width:126,height:15}},{id:"edp",parent:"@gr3",level:1,children:[],inEdges:["1lyfj4n","109bf6k","1okgiq5","1wupl5x","1uo6k6b"],outEdges:["5mpoyf","17brhnu","35ru8e","6szgsj"],title:"EDP",modelRef:"edp",shape:"rectangle",color:"primary",icon:"tech:kubernetes",style:{opacity:15,size:"xl"},description:{txt:"EDP Edge Development Platform"},tags:[],technology:"Kubernetes",kind:"system",navigateTo:"edp",x:2236,y:1978,width:520,height:290,labelBBox:{x:89,y:96,width:373,height:89}},{id:"enterprise",parent:null,level:0,children:[],inEdges:["1tbee2v","35ru8e"],outEdges:["iwd51q"],title:"Customers' Enterprise Systems",modelRef:"enterprise",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"The customers' enterprise systems"},tags:[],kind:"system",x:3019,y:1504,width:520,height:290,labelBBox:{x:62,y:109,width:395,height:63}},{id:"cloud",parent:null,level:0,children:[],inEdges:["8fboq4","iwd51q","17brhnu"],outEdges:[],title:"Cloud",modelRef:"cloud",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"Cloud environments"},tags:[],technology:"IaaS/PaaS",kind:"system",x:3810,y:1504,width:520,height:290,labelBBox:{x:164,y:96,width:191,height:89}}],edges:[{id:"lnq8uj",source:"edfbuilder",target:"edf",label:"boots one",dotpos:"e,1422.9,2479.8 1173.3,2436.2 1250.5,2449.7 1335.2,2464.5 1413,2478.1",points:[[1173,2436],[1250,2450],[1335,2465],[1413,2478]],labelBBox:{x:1260,y:2423,width:66,height:18},parent:null,relations:["1oxlsu0"],color:"gray",line:"dashed",head:"normal"},{id:"mox1r9",source:"platformdeveloper",target:"edfbuilder",label:"runs",dotpos:"e,653.31,2466.6 519.84,2505.5 560.42,2493.7 602.44,2481.4 643.24,2469.5",points:[[520,2506],[560,2494],[602,2481],[643,2470]],labelBBox:{x:571,y:2463,width:31,height:18},parent:null,relations:["s1l7g7"],color:"gray",line:"dashed",head:"normal"},{id:"x7to90",source:"platformdeveloper",target:"edf",label:"develops EDP and EDF",dotpos:"e,1422.8,2576.1 519.89,2602 564.36,2604.8 610.14,2607.3 653.29,2608.8 884.28,2617 942.98,2627.7 1173.3,2608.8 1251.4,2602.4 1335.5,2590.6 1412.5,2577.8",points:[[520,2602],[564,2605],[610,2607],[653,2609],[884,2617],[943,2628],[1173,2609],[1251,2602],[1336,2591],[1412,2578]],labelBBox:{x:837,y:2586,width:152,height:18},parent:null,relations:["v8v12"],color:"gray",line:"dashed",head:"normal"},{id:"8fboq4",source:"customers",target:"cloud",label:"uses your app",dotpos:"e,3809.6,1521 3538.4,1387 3622.4,1428.5 3715.7,1474.6 3800.4,1516.5",points:[[3538,1387],[3622,1428],[3716,1475],[3800,1516]],labelBBox:{x:3628,y:1396,width:92,height:18},parent:null,relations:["1g2ebwc"],color:"gray",line:"dashed",head:"normal"},{id:"iwd51q",source:"enterprise",target:"cloud",label:"app specific dependencies",dotpos:"e,3809.6,1649 3538.4,1649 3622,1649 3714.8,1649 3799.1,1649",points:[[3538,1649],[3622,1649],[3715,1649],[3799,1649]],labelBBox:{x:3590,y:1626,width:169,height:18},parent:null,relations:["nc44l9"],color:"gray",line:"dashed",head:"normal"},{id:"1ndqohb",source:"documentor",target:"docPlatform",label:"[...]",dotpos:"e,653.31,237.67 519.84,285.42 560.5,270.87 602.62,255.8 643.5,241.18",points:[[520,285],[561,271],[603,256],[644,241]],labelBBox:{x:574,y:237,width:25,height:18},parent:null,relations:["1ouysrh","fmzkfl","1iop8z6"],color:"gray",line:"dashed",head:"normal"},{id:"1t1nq4",source:"documentor",target:"deploymentEnv",label:"views published docs",description:{txt:"HTTPS access to live documentation"},dotpos:"e,2236.7,333.8 519.79,372.22 946.34,362.67 1792.9,343.73 2226.2,334.03",points:[[520,372],[946,363],[1793,344],[2226,334]],labelBBox:{x:1224,y:330,width:136,height:18},parent:null,relations:["otinu1"],color:"gray",line:"dashed",head:"normal"},{id:"jw1mqa",source:"docPlatform",target:"cicdPipeline",label:"[...]",dotpos:"e,1422.9,145.01 1173.3,145.01 1250.3,145.01 1334.9,145.01 1412.5,145.01",points:[[1173,145],[1250,145],[1335,145],[1413,145]],labelBBox:{x:1280,y:121,width:25,height:18},parent:null,relations:["1dzhdhu","14ls3qa","htx1q7","1vqq9gw","8hsu7m"],color:"gray",line:"dashed",head:"normal"},{id:"8lbghe",source:"cicdPipeline",target:"docPlatform",label:"[...]",dotpos:"e,1173.2,188.03 1422.8,188.41 1357.8,194.8 1288.1,197.78 1223.3,192.81 1210.3,191.8 1197,190.57 1183.5,189.15",points:[[1423,188],[1358,195],[1288,198],[1223,193],[1210,192],[1197,191],[1184,189]],labelBBox:{x:1280,y:169,width:25,height:18},parent:null,relations:["omluoy","11hmyp0","1bziuh3","9nq85f","1nifn"],color:"gray",line:"dashed",head:"normal"},{id:"1d6ysxt",source:"cicdPipeline",target:"deploymentEnv",label:"pushes image to",description:{txt:"Tagged container image"},dotpos:"e,2236.5,269.65 1942.4,203.35 2033,223.77 2134.9,246.74 2226.3,267.34",points:[[1942,203],[2033,224],[2135,247],[2226,267]],labelBBox:{x:2042,y:194,width:107,height:18},parent:null,relations:["1hae5vm"],color:"gray",line:"dashed",head:"normal"},{id:"zjg544",source:"developer",target:"localbox",label:"inner loop development",dotpos:"e,2236.5,1649 1942.4,1667.1 2033,1661.5 2134.9,1655.2 2226.3,1649.6",points:[[1942,1667],[2033,1661],[2135,1655],[2226,1650]],labelBBox:{x:2020,y:1629,width:150,height:18},parent:"@gr1",relations:["5hkplj"],color:"gray",line:"dashed",head:"normal"},{id:"1tbee2v",source:"localbox",target:"enterprise",label:"company integration",dotpos:"e,3018.7,1643.7 2756.3,1638.3 2837.2,1640 2926.6,1641.8 3008.2,1643.5",points:[[2756,1638],[2837,1640],[2927,1642],[3008,1643]],labelBBox:{x:2837,y:1617,width:130,height:18},parent:null,relations:["1abvxlh"],color:"gray",line:"dashed",head:"normal"},{id:"1lyfj4n",source:"forgejoRunner",target:"edp",label:"register",dotpos:"e,2756.1,2249.3 3018.5,2287.4 2958.2,2287.9 2894.7,2284 2836.4,2271.8 2813,2266.9 2789.3,2260.3 2765.8,2252.6",points:[[3018,2287],[2958,2288],[2895,2284],[2836,2272],[2813,2267],[2789,2260],[2766,2253]],labelBBox:{x:2877,y:2249,width:51,height:18},parent:null,relations:["18dtot7"],color:"gray",line:"dashed",head:"normal"},{id:"109bf6k",source:"edf",target:"edp",label:"builds many",dotpos:"e,2353.2,2267.8 1942.5,2477.6 2023.5,2456.7 2111.2,2427.6 2186.3,2387.8 2242.6,2357.9 2297.6,2316.2 2345.3,2274.8",points:[[1943,2478],[2023,2457],[2111,2428],[2186,2388],[2243,2358],[2298,2316],[2345,2275]],labelBBox:{x:2056,y:2365,width:79,height:18},parent:null,relations:["wsm3kf"],color:"gray",line:"dashed",head:"normal"},{id:"1okgiq5",source:"developer",target:"edp",label:"outer loop development",dotpos:"e,2236.5,1982.7 1942.4,1823.3 2033.4,1872.6 2135.7,1928 2227.4,1977.7",points:[[1942,1823],[2033,1873],[2136,1928],[2227,1978]],labelBBox:{x:2020,y:1834,width:150,height:18},parent:"@gr1",relations:["1pp73vj","yk9zv2","12036hb","jpl8ll","1ghp31l","1xiorre","1woleh6","177bm2y","1l9a3pd","1uzzn9j"],color:"gray",line:"dashed",head:"normal"},{id:"1wupl5x",source:"otherProductLifecycleRoles",target:"edp",label:"act according to responibility",dotpos:"e,2236.4,2123 1953.7,2123 2041.3,2123 2138.5,2123 2226,2123",points:[[1954,2123],[2041,2123],[2138,2123],[2226,2123]],labelBBox:{x:2005,y:2100,width:181,height:18},parent:"@gr1",relations:["lb4xas"],color:"gray",line:"dashed",head:"normal"},{id:"1uo6k6b",source:"localbox",target:"edp",label:"inner-outer-loop synchronization",dotpos:"e,2496.3,1978.3 2496.3,1777.8 2496.3,1837.6 2496.3,1907 2496.3,1967.8",points:[[2496,1778],[2496,1838],[2496,1907],[2496,1968]],labelBBox:{x:2380,y:1866,width:204,height:18},parent:"@gr1",relations:["1mp9fps"],color:"gray",line:"dashed",head:"normal"},{id:"5mpoyf",source:"edp",target:"forgejoRunner",label:"runs workflows",dotpos:"e,3018.7,2215.9 2756.3,2169.1 2837.4,2183.6 2927,2199.6 3008.7,2214.1",points:[[2756,2169],[2837,2184],[2927,2200],[3009,2214]],labelBBox:{x:2854,y:2161,width:97,height:18},parent:null,relations:["1pbc22f"],color:"gray",line:"dashed",head:"normal"},{id:"17brhnu",source:"edp",target:"cloud",label:"deploys and observes",dotpos:"e,3809.6,1764.4 2756.3,2070.5 2968.8,2024.8 3276.3,1952.4 3538.5,1866.8 3624.9,1838.6 3717.1,1802.8 3800,1768.4",points:[[2756,2071],[2969,2025],[3276,1952],[3539,1867],[3625,1839],[3717,1803],[3800,1768]],labelBBox:{x:3208,y:1844,width:140,height:18},parent:null,relations:["gerdx4"],color:"gray",line:"dashed",head:"normal"},{id:"35ru8e",source:"edp",target:"enterprise",label:"integrates",dotpos:"e,3018.7,1765.3 2673.9,1978.3 2724.9,1939.4 2781.6,1898.8 2836.4,1865 2890.8,1831.4 2951.2,1799 3009.4,1769.9",points:[[2674,1978],[2725,1939],[2782,1899],[2836,1865],[2891,1831],[2951,1799],[3009,1770]],labelBBox:{x:2870,y:1769,width:65,height:18},parent:null,relations:["615gvx"],color:"gray",line:"dashed",head:"normal"},{id:"6szgsj",source:"edp",target:"localbox",label:null,dotpos:"e,2496.3,1777.9 2496.3,1978 2496.3,1914.7 2496.3,1851.4 2496.3,1788",points:[[2496,1978],[2496,1915],[2496,1851],[2496,1788]],labelBBox:null,parent:"@gr1",relations:["wvo8i"],color:"gray",line:"dashed",head:"normal"}]}},deployments:{elements:{local:{style:{icon:"tech:kubernetes"},kind:"environment",description:{txt:"Local kind-cluster environment for EDP, typically run by edpbuilder"},technology:"Kind",title:"Local kind-cluster",id:"local"},"otc-edp-per-tenant":{style:{},kind:"cloud",description:{txt:`OTC environment for EDP. EDP is the environment a customer gets from us. +and correctness.`},tags:[],technology:"PostgreSQL",kind:"container",x:656,y:982,width:520,height:290,labelBBox:{x:83,y:46,width:384,height:189}},{id:"redis",parent:null,level:0,children:[],inEdges:[],outEdges:[],title:"Redis",modelRef:"redis",shape:"rectangle",color:"primary",icon:"tech:redis",style:{opacity:20,size:"xl"},description:{txt:"Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker."},tags:[],technology:"Redis",kind:"container",x:1425,y:982,width:520,height:290,labelBBox:{x:79,y:58,width:392,height:165}},{id:"platformdeveloper",parent:null,level:0,children:[],inEdges:[],outEdges:["mox1r9","x7to90"],title:"Platform Developer",modelRef:"platformdeveloper",shape:"person",color:"gray",style:{opacity:15,size:"xl"},description:{txt:"The EDP engineer"},tags:[],kind:"actor",x:0,y:2736,width:520,height:290,labelBBox:{x:138,y:109,width:244,height:63}},{id:"customers",parent:null,level:0,children:[],inEdges:[],outEdges:["8fboq4"],title:"End Customers",modelRef:"customers",shape:"person",color:"amber",style:{opacity:15,size:"xl"},description:{txt:"Consumers of your Application"},tags:[],kind:"actor",x:3021,y:1442,width:520,height:290,labelBBox:{x:115,y:109,width:290,height:63}},{id:"documentor",parent:null,level:0,children:[],inEdges:[],outEdges:["1ndqohb","1t1nq4"],title:"Documentor",modelRef:"documentor",shape:"person",color:"green",style:{opacity:15,size:"xl"},description:{txt:"Content creator and maintainer of the developer platform documentation"},tags:[],technology:"Hugo, Markdown, LikeC4",kind:"person",x:0,y:541,width:520,height:290,labelBBox:{x:84,y:83,width:352,height:115}},{id:"customer",parent:null,level:0,children:[],inEdges:[],outEdges:["n2nq9r"],title:"Customer",modelRef:"customer",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"End user of the platform"},tags:[],kind:"myperson",x:0,y:0,width:520,height:290,labelBBox:{x:146,y:109,width:228,height:63}},{id:"forgejoRunner",parent:null,level:0,children:[],inEdges:["5mpoyf"],outEdges:["1lyfj4n"],title:"Forgejo Runner",modelRef:"forgejoRunner",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"A runner is a service that runs jobs triggered by Forgejo. A runner can have different technical implementations like a container or a VM."},tags:[],kind:"component",x:3021,y:2445,width:520,height:290,labelBBox:{x:69,y:71,width:382,height:139}},{id:"edfbuilder",parent:null,level:0,children:[],inEdges:["mox1r9"],outEdges:["lnq8uj"],title:"edfbuilder",modelRef:"edfbuilder",shape:"rectangle",color:"primary",icon:"tech:go",style:{opacity:15,size:"xl"},description:{txt:"EDP Foundry Builder"},tags:[],technology:"Golang",kind:"component",navigateTo:"edpbuilderworkflow",x:656,y:2574,width:520,height:290,labelBBox:{x:145,y:96,width:259,height:89}},{id:"docPlatform",parent:null,level:0,children:[],inEdges:["1ndqohb","8lbghe"],outEdges:["jw1mqa"],title:"Documentation Platform",modelRef:"docPlatform",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"Hugo-based documentation system with integrated architecture visualization"},tags:[],kind:"system",navigateTo:"overview",x:656,y:390,width:520,height:290,labelBBox:{x:71,y:96,width:378,height:89}},{id:"mySystem",parent:null,level:0,children:[],inEdges:["n2nq9r"],outEdges:[],title:"My System",modelRef:"mySystem",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"Example system component"},tags:[],kind:"mysystem",x:656,y:0,width:520,height:290,labelBBox:{x:126,y:109,width:268,height:63}},{id:"edf",parent:null,level:0,children:[],inEdges:["lnq8uj","x7to90"],outEdges:["109bf6k"],title:"EDF",modelRef:"edf",shape:"rectangle",color:"primary",icon:"tech:kubernetes",style:{opacity:15,size:"xl"},description:{txt:"EDP Foundry is a platform for building and deploying EDPs tenantwise."},tags:[],technology:"Kubernetes",kind:"system",x:1425,y:2708,width:520,height:290,labelBBox:{x:106,y:71,width:338,height:139}},{id:"cicdPipeline",parent:null,level:0,children:[],inEdges:["jw1mqa"],outEdges:["8lbghe","1d6ysxt"],title:"CI/CD Pipeline",modelRef:"cicdPipeline",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"Automated testing and deployment pipeline"},tags:[],kind:"system",navigateTo:"cicdPipeline",x:1425,y:390,width:520,height:290,labelBBox:{x:57,y:109,width:407,height:63}},{id:"@gr1",parent:null,kind:"@group",title:"developer-scope",color:"green",shape:"rectangle",children:["developer","otherProductLifecycleRoles","@gr2","@gr3"],inEdges:["1lyfj4n","109bf6k"],outEdges:["1tbee2v","5mpoyf","17brhnu","35ru8e"],level:0,depth:2,tags:[],style:{border:"none",opacity:20},x:1374,y:1702,width:1457,height:966,labelBBox:{x:6,y:0,width:114,height:15}},{id:"deploymentEnv",parent:null,level:0,children:[],inEdges:["1t1nq4","1d6ysxt"],outEdges:[],title:"Deployment Environment",modelRef:"deploymentEnv",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"Edge deployment infrastructure"},tags:[],kind:"system",x:2239,y:573,width:520,height:290,labelBBox:{x:100,y:109,width:318,height:63}},{id:"developer",parent:"@gr1",level:1,children:[],inEdges:[],outEdges:["zjg544","1okgiq5"],title:"Developer",modelRef:"developer",shape:"person",color:"green",style:{opacity:15,size:"xl"},description:{txt:"The regular user of the platform"},tags:[],kind:"actor",x:1425,y:1866,width:520,height:290,labelBBox:{x:111,y:109,width:298,height:63}},{id:"otherProductLifecycleRoles",parent:"@gr1",level:1,children:[],inEdges:[],outEdges:["1wupl5x"],title:"Reviewer, Tester, Auditors, Operators",modelRef:"otherProductLifecycleRoles",shape:"person",color:"green",style:{opacity:15,size:"xl"},description:{txt:"Coworking roles in the outer loop"},tags:[],kind:"actor",x:1414,y:2306,width:542,height:290,labelBBox:{x:34,y:109,width:474,height:63}},{id:"@gr2",parent:"@gr1",kind:"@group",title:"Devops inner-loop",color:"gray",shape:"rectangle",children:["localbox"],inEdges:["zjg544","6szgsj"],outEdges:["1tbee2v","1uo6k6b"],level:0,depth:1,tags:[],style:{border:"none",opacity:30},x:2207,y:1763,width:584,height:375,labelBBox:{x:6,y:0,width:122,height:15}},{id:"localbox",parent:"@gr2",level:1,children:[],inEdges:["zjg544","6szgsj"],outEdges:["1tbee2v","1uo6k6b"],title:"localbox",modelRef:"localbox",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"A local development system"},tags:[],technology:"Linux/Windows/Mac",kind:"system",x:2239,y:1816,width:520,height:290,labelBBox:{x:127,y:96,width:265,height:89}},{id:"@gr3",parent:"@gr1",kind:"@group",title:"Devops outer-loop",color:"gray",shape:"rectangle",children:["edp"],inEdges:["1lyfj4n","109bf6k","1okgiq5","1wupl5x","1uo6k6b"],outEdges:["5mpoyf","17brhnu","35ru8e","6szgsj"],level:0,depth:1,tags:[],style:{border:"none",opacity:30},x:2207,y:2253,width:584,height:375,labelBBox:{x:6,y:0,width:126,height:15}},{id:"edp",parent:"@gr3",level:1,children:[],inEdges:["1lyfj4n","109bf6k","1okgiq5","1wupl5x","1uo6k6b"],outEdges:["5mpoyf","17brhnu","35ru8e","6szgsj"],title:"EDP",modelRef:"edp",shape:"rectangle",color:"primary",icon:"tech:kubernetes",style:{opacity:15,size:"xl"},description:{txt:"EDP Edge Development Platform"},tags:[],technology:"Kubernetes",kind:"system",navigateTo:"edp",x:2239,y:2306,width:520,height:290,labelBBox:{x:88,y:96,width:374,height:89}},{id:"enterprise",parent:null,level:0,children:[],inEdges:["1tbee2v","35ru8e"],outEdges:["iwd51q"],title:"Customers' Enterprise Systems",modelRef:"enterprise",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"The customers' enterprise systems"},tags:[],kind:"system",x:3021,y:1832,width:520,height:290,labelBBox:{x:62,y:109,width:395,height:63}},{id:"cloud",parent:null,level:0,children:[],inEdges:["8fboq4","iwd51q","17brhnu"],outEdges:[],title:"Cloud",modelRef:"cloud",shape:"rectangle",color:"primary",style:{opacity:15,size:"xl"},description:{txt:"Cloud environments"},tags:[],technology:"IaaS/PaaS",kind:"system",x:3812,y:1832,width:520,height:290,labelBBox:{x:164,y:96,width:191,height:89}}],edges:[{id:"lnq8uj",source:"edfbuilder",target:"edf",label:"boots one",dotpos:"e,1425.3,2807.8 1175.6,2764.2 1252.8,2777.7 1337.5,2792.5 1415.3,2806.1",points:[[1176,2764],[1253,2778],[1338,2793],[1415,2806]],labelBBox:{x:1262,y:2751,width:66,height:18},parent:null,relations:["1oxlsu0"],color:"gray",line:"dashed",head:"normal"},{id:"mox1r9",source:"platformdeveloper",target:"edfbuilder",label:"runs",dotpos:"e,655.88,2783.1 519.83,2816.9 561.26,2806.6 604.23,2795.9 645.89,2785.6",points:[[520,2817],[561,2807],[604,2796],[646,2786]],labelBBox:{x:572,y:2777,width:31,height:18},parent:null,relations:["s1l7g7"],color:"gray",line:"dashed",head:"normal"},{id:"x7to90",source:"platformdeveloper",target:"edf",label:"develops EDP and EDF",dotpos:"e,1425.1,2904.1 519.96,2922.9 565.07,2928.7 611.63,2933.7 655.63,2936.8 886.19,2953 945.32,2955.7 1175.7,2936.8 1253.7,2930.4 1337.9,2918.6 1414.8,2905.8",points:[[520,2923],[565,2929],[612,2934],[656,2937],[886,2953],[945,2956],[1176,2937],[1254,2930],[1338,2919],[1415,2906]],labelBBox:{x:840,y:2914,width:152,height:18},parent:null,relations:["v8v12"],color:"gray",line:"dashed",head:"normal"},{id:"8fboq4",source:"customers",target:"cloud",label:"uses your app",dotpos:"e,3811.9,1849 3540.7,1715 3624.7,1756.5 3718.1,1802.6 3802.7,1844.5",points:[[3541,1715],[3625,1756],[3718,1803],[3803,1844]],labelBBox:{x:3630,y:1724,width:92,height:18},parent:null,relations:["1g2ebwc"],color:"gray",line:"dashed",head:"normal"},{id:"iwd51q",source:"enterprise",target:"cloud",label:"app specific dependencies",dotpos:"e,3811.9,1977 3540.7,1977 3624.3,1977 3717.1,1977 3801.4,1977",points:[[3541,1977],[3624,1977],[3717,1977],[3801,1977]],labelBBox:{x:3592,y:1954,width:169,height:18},parent:null,relations:["nc44l9"],color:"gray",line:"dashed",head:"normal"},{id:"1ndqohb",source:"documentor",target:"docPlatform",label:"[...]",dotpos:"e,655.88,594.79 519.83,626.22 561.26,616.65 604.23,606.72 645.89,597.1",points:[[520,626],[561,617],[604,607],[646,597]],labelBBox:{x:575,y:586,width:25,height:18},parent:null,relations:["1ouysrh","fmzkfl","1iop8z6"],color:"gray",line:"dashed",head:"normal"},{id:"1t1nq4",source:"documentor",target:"deploymentEnv",label:"views published docs",description:{txt:"HTTPS access to live documentation"},dotpos:"e,2238.7,724.91 519.91,719.03 565.08,723.6 611.67,727.56 655.63,730.01 1232.7,762.08 1378.1,736.41 1956,730.01 2044.7,729.03 2141.5,727.14 2228.4,725.15",points:[[520,719],[565,724],[612,728],[656,730],[1233,762],[1378,736],[1956,730],[2045,729],[2141,727],[2228,725]],labelBBox:{x:1227,y:720,width:136,height:18},parent:null,relations:["otinu1"],color:"gray",line:"dashed",head:"normal"},{id:"jw1mqa",source:"docPlatform",target:"cicdPipeline",label:"[...]",dotpos:"e,1425.3,535.01 1175.6,535.01 1252.7,535.01 1337.2,535.01 1414.8,535.01",points:[[1176,535],[1253,535],[1337,535],[1415,535]],labelBBox:{x:1282,y:511,width:25,height:18},parent:null,relations:["1dzhdhu","14ls3qa","htx1q7","1vqq9gw","8hsu7m"],color:"gray",line:"dashed",head:"normal"},{id:"8lbghe",source:"cicdPipeline",target:"docPlatform",label:"[...]",dotpos:"e,1175.6,578.03 1425.2,578.41 1360.1,584.8 1290.4,587.78 1225.7,582.81 1212.6,581.8 1199.3,580.57 1185.9,579.15",points:[[1425,578],[1360,585],[1290,588],[1226,583],[1213,582],[1199,581],[1186,579]],labelBBox:{x:1282,y:559,width:25,height:18},parent:null,relations:["omluoy","11hmyp0","1bziuh3","9nq85f","1nifn"],color:"gray",line:"dashed",head:"normal"},{id:"1d6ysxt",source:"cicdPipeline",target:"deploymentEnv",label:"pushes image to",description:{txt:"Tagged container image"},dotpos:"e,2238.8,659.65 1944.8,593.35 2035.3,613.77 2137.2,636.74 2228.6,657.34",points:[[1945,593],[2035,614],[2137,637],[2229,657]],labelBBox:{x:2044,y:584,width:107,height:18},parent:null,relations:["1hae5vm"],color:"gray",line:"dashed",head:"normal"},{id:"n2nq9r",source:"customer",target:"mySystem",label:"uses",dotpos:"e,655.88,145.01 519.83,145.01 561.09,145.01 603.86,145.01 645.36,145.01",points:[[520,145],[561,145],[604,145],[645,145]],labelBBox:{x:571,y:122,width:34,height:18},parent:null,relations:["1yvgyrn"],color:"gray",line:"dashed",head:"normal"},{id:"zjg544",source:"developer",target:"localbox",label:"inner loop development",dotpos:"e,2238.8,1977 1944.8,1995.1 2035.3,1989.5 2137.2,1983.2 2228.6,1977.6",points:[[1945,1995],[2035,1989],[2137,1983],[2229,1978]],labelBBox:{x:2023,y:1957,width:150,height:18},parent:"@gr1",relations:["5hkplj"],color:"gray",line:"dashed",head:"normal"},{id:"1tbee2v",source:"localbox",target:"enterprise",label:"company integration",dotpos:"e,3021,1971.7 2758.6,1966.3 2839.5,1968 2929,1969.8 3010.6,1971.5",points:[[2759,1966],[2840,1968],[2929,1970],[3011,1971]],labelBBox:{x:2840,y:1945,width:130,height:18},parent:null,relations:["1abvxlh"],color:"gray",line:"dashed",head:"normal"},{id:"1lyfj4n",source:"forgejoRunner",target:"edp",label:"register",dotpos:"e,2758.5,2577.3 3020.8,2615.4 2960.6,2615.9 2897,2612 2838.7,2599.8 2815.3,2594.9 2791.6,2588.3 2768.2,2580.6",points:[[3021,2615],[2961,2616],[2897,2612],[2839,2600],[2815,2595],[2792,2588],[2768,2581]],labelBBox:{x:2879,y:2577,width:51,height:18},parent:null,relations:["18dtot7"],color:"gray",line:"dashed",head:"normal"},{id:"109bf6k",source:"edf",target:"edp",label:"builds many",dotpos:"e,2355.5,2595.8 1944.9,2805.6 2025.8,2784.7 2113.5,2755.6 2188.7,2715.8 2245,2685.9 2300,2644.2 2347.6,2602.8",points:[[1945,2806],[2026,2785],[2114,2756],[2189,2716],[2245,2686],[2300,2644],[2348,2603]],labelBBox:{x:2058,y:2693,width:79,height:18},parent:null,relations:["wsm3kf"],color:"gray",line:"dashed",head:"normal"},{id:"1okgiq5",source:"developer",target:"edp",label:"outer loop development",dotpos:"e,2238.8,2310.7 1944.8,2151.3 2035.7,2200.6 2138,2256 2229.7,2305.7",points:[[1945,2151],[2036,2201],[2138,2256],[2230,2306]],labelBBox:{x:2022,y:2162,width:150,height:18},parent:"@gr1",relations:["1pp73vj","yk9zv2","12036hb","jpl8ll","1ghp31l","1xiorre","1woleh6","177bm2y","1l9a3pd","1uzzn9j"],color:"gray",line:"dashed",head:"normal"},{id:"1wupl5x",source:"otherProductLifecycleRoles",target:"edp",label:"act according to responibility",dotpos:"e,2238.7,2451 1956,2451 2043.6,2451 2140.8,2451 2228.4,2451",points:[[1956,2451],[2044,2451],[2141,2451],[2228,2451]],labelBBox:{x:2007,y:2428,width:181,height:18},parent:"@gr1",relations:["lb4xas"],color:"gray",line:"dashed",head:"normal"},{id:"1uo6k6b",source:"localbox",target:"edp",label:"inner-outer-loop synchronization",dotpos:"e,2498.7,2306.3 2498.7,2105.8 2498.7,2165.6 2498.7,2235 2498.7,2295.8",points:[[2499,2106],[2499,2166],[2499,2235],[2499,2296]],labelBBox:{x:2382,y:2194,width:204,height:18},parent:"@gr1",relations:["1mp9fps"],color:"gray",line:"dashed",head:"normal"},{id:"5mpoyf",source:"edp",target:"forgejoRunner",label:"runs workflows",dotpos:"e,3021,2543.9 2758.6,2497.1 2839.7,2511.6 2929.3,2527.6 3011.1,2542.1",points:[[2759,2497],[2840,2512],[2929,2528],[3011,2542]],labelBBox:{x:2856,y:2489,width:97,height:18},parent:null,relations:["1pbc22f"],color:"gray",line:"dashed",head:"normal"},{id:"17brhnu",source:"edp",target:"cloud",label:"deploys and observes",dotpos:"e,3811.9,2092.4 2758.6,2398.5 2971.1,2352.8 3278.6,2280.4 3540.8,2194.8 3627.2,2166.6 3719.5,2130.8 3802.4,2096.4",points:[[2759,2399],[2971,2353],[3279,2280],[3541,2195],[3627,2167],[3719,2131],[3802,2096]],labelBBox:{x:3211,y:2172,width:140,height:18},parent:null,relations:["gerdx4"],color:"gray",line:"dashed",head:"normal"},{id:"35ru8e",source:"edp",target:"enterprise",label:"integrates",dotpos:"e,3021,2093.3 2676.3,2306.3 2727.3,2267.4 2783.9,2226.8 2838.7,2193 2893.1,2159.4 2953.5,2127 3011.7,2097.9",points:[[2676,2306],[2727,2267],[2784,2227],[2839,2193],[2893,2159],[2954,2127],[3012,2098]],labelBBox:{x:2872,y:2097,width:65,height:18},parent:null,relations:["615gvx"],color:"gray",line:"dashed",head:"normal"},{id:"6szgsj",source:"edp",target:"localbox",label:null,dotpos:"e,2498.7,2105.9 2498.7,2306 2498.7,2242.7 2498.7,2179.4 2498.7,2116",points:[[2499,2306],[2499,2243],[2499,2179],[2499,2116]],labelBBox:null,parent:"@gr1",relations:["wvo8i"],color:"gray",line:"dashed",head:"normal"}]},myCustomView:{_type:"element",tags:null,links:null,_stage:"layouted",sourcePath:"views/my-view.c4",description:null,title:"My Custom Architecture View",id:"myCustomView",autoLayout:{direction:"TB"},hash:"e3a3d8b9a3fa1f044cdf8feda3b3f5fc136b46bb",bounds:{x:0,y:0,width:320,height:503},nodes:[{id:"customer",parent:null,level:0,children:[],inEdges:[],outEdges:["n2nq9r"],title:"Customer",modelRef:"customer",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"End user of the platform"},tags:[],kind:"myperson",x:0,y:0,width:320,height:180,labelBBox:{x:78,y:63,width:164,height:48}},{id:"mySystem",parent:null,level:0,children:[],inEdges:["n2nq9r"],outEdges:[],title:"My System",modelRef:"mySystem",shape:"rectangle",color:"primary",style:{opacity:15,size:"md"},description:{txt:"Example system component"},tags:[],kind:"mysystem",x:0,y:323,width:320,height:180,labelBBox:{x:64,y:63,width:192,height:47}}],edges:[{id:"n2nq9r",source:"customer",target:"mySystem",label:"uses",dotpos:"e,160.02,322.97 160.02,179.93 160.02,221.13 160.02,270.24 160.02,312.63",points:[[160,180],[160,221],[160,270],[160,313]],labelBBox:{x:161,y:240,width:34,height:18},parent:null,relations:["1yvgyrn"],color:"gray",line:"dashed",head:"normal"}]}},deployments:{elements:{local:{style:{icon:"tech:kubernetes"},kind:"environment",description:{txt:"Local kind-cluster environment for EDP, typically run by edpbuilder"},technology:"Kind",title:"Local kind-cluster",id:"local"},"otc-edp-per-tenant":{style:{},kind:"cloud",description:{txt:`OTC environment for EDP. EDP is the environment a customer gets from us. This is kubernetes clusters and other infrastructure like nodes and vms, and platform services. All is set up by IaC-pipelines in the Foundry.`},technology:"OTC",title:"OTC EDP per tenant cluster",id:"otc-edp-per-tenant"},"otc-faas":{style:{},kind:"cloud",description:{txt:"OTC environments for Prototype faaS."},technology:"OTC",title:"OTC prototype FaaS",id:"otc-faas"},edge:{style:{},kind:"cloud",description:{txt:"Edge environments for distributed workloads."},technology:"Edge",title:"Edge Cloud",id:"edge"},"otc-edpFoundry":{style:{},kind:"cloud",description:{txt:`OTC environments for the central EDP Foundry services. This is kubernetes clusters and other infrastructure like nodes and vms, and optionally platform services. All is set up by IaC terraform and edpbuilder. A tenant is a folder in Foundry-Config-Forgejo. On merge triggers reconciliation to EDP. -Optionally we will have a WebUI/API/CLI`},technology:"OTC",title:"OTC EDP Foundry Central Service clusters",id:"otc-edpFoundry"},"local.backstage":{style:{},kind:"namespace",title:"backstage",id:"local.backstage"},"local.argocd":{style:{},kind:"namespace",title:"argocd",id:"local.argocd"},"local.gitea":{style:{},kind:"namespace",title:"gitea",id:"local.gitea"},"local.keycloak":{style:{},kind:"namespace",title:"keycloak",id:"local.keycloak"},"local.crossplane":{style:{},kind:"namespace",title:"crossplane-system",id:"local.crossplane"},"local.externalSecrets":{style:{},kind:"namespace",title:"external-secrets",id:"local.externalSecrets"},"local.velero":{style:{},kind:"namespace",title:"velero",id:"local.velero"},"local.minio":{style:{},kind:"namespace",title:"minio-backup",id:"local.minio"},"local.monitoring":{style:{},kind:"namespace",title:"monitoring",id:"local.monitoring"},"local.ingressNginx":{style:{},kind:"namespace",title:"ingress-nginx",id:"local.ingressNginx"},"local.openbao":{style:{},kind:"namespace",title:"openbao",id:"local.openbao"},"local.fibonacci":{style:{},kind:"namespace",title:"fibonacci-app",id:"local.fibonacci"},"local.mailhog":{style:{},kind:"namespace",title:"mailhog",id:"local.mailhog"},"local.spark":{style:{},kind:"namespace",title:"spark",id:"local.spark"},"otc-edp-per-tenant.cce":{style:{icon:"tech:kubernetes"},kind:"kubernetes",description:{txt:"OTC Container Cluster Engine"},technology:"Kubernetes",title:"OTC CCE",id:"otc-edp-per-tenant.cce"},"otc-edp-per-tenant.cloudServices":{style:{},kind:"paas",description:{txt:"EDP Cloud Services"},technology:"Cloud Services",title:"EDP Cloud Services",id:"otc-edp-per-tenant.cloudServices"},"otc-edp-per-tenant.forgejoRunnerInfrastructure":{style:{},kind:"computeressource",description:{txt:"Infrastructure for Forgejo runners like pods, vms, lxds, etc"},title:"EDP ForgejoRunner infrastructure",id:"otc-edp-per-tenant.forgejoRunnerInfrastructure"},"otc-faas.dev":{style:{},kind:"environment",description:{txt:"*.t09.de"},technology:"OTC",title:"tenant Dev",id:"otc-faas.dev"},"otc-faas.prod":{style:{},kind:"environment",description:{txt:"*.buildth.ing"},technology:"OTC",title:"Tenant Prod",id:"otc-faas.prod"},"edge.edge-dev":{style:{},kind:"environment",description:{txt:"Edge development environment"},technology:"Edge",title:"Edge Dev",id:"edge.edge-dev"},"edge.edge-prod":{style:{},kind:"environment",description:{txt:"Edge production environment"},technology:"Edge",title:"Edge Prod",id:"edge.edge-prod"},"otc-edpFoundry.cce":{style:{icon:"tech:kubernetes"},kind:"kubernetes",description:{txt:"OTC Container Cluster Engine"},technology:"Kubernetes",title:"OTC CCE",id:"otc-edpFoundry.cce"},"otc-edpFoundry.workflowSetupEDPInfrastructure":{style:{},kind:"computeressource",description:{txt:"EDP infrastructure Workflow"},title:"EDP infrastructure Workflow",id:"otc-edpFoundry.workflowSetupEDPInfrastructure"},"otc-edpFoundry.workflowSetupArgoCDInfrastructure":{style:{},kind:"computeressource",description:{txt:"EDP Setup ArgoCD Workflow"},title:"EDP ArgoCD Workflow",id:"otc-edpFoundry.workflowSetupArgoCDInfrastructure"},"otc-edpFoundry.forgejoRunnerInfrastructure":{style:{},kind:"computeressource",description:{txt:"Infrastructure for Forgejo runners like pods, vms, lxds, etc"},title:"EDP ForgejoRunner infrastructure",id:"otc-edpFoundry.forgejoRunnerInfrastructure"},"local.backstage.backstage":{id:"local.backstage.backstage",element:"edp.ui.backstage",style:{}},"local.backstage.database":{id:"local.backstage.database",element:"edp.ui.database",style:{}},"local.argocd.argocdAppController":{id:"local.argocd.argocdAppController",element:"edp.argoCD.argocdAppController",style:{}},"local.argocd.argocdAppSetController":{id:"local.argocd.argocdAppSetController",element:"edp.argoCD.argocdAppSetController",style:{}},"local.argocd.argocdRedis":{id:"local.argocd.argocdRedis",element:"edp.argoCD.argocdRedis",style:{}},"local.argocd.argocdRepoServer":{id:"local.argocd.argocdRepoServer",element:"edp.argoCD.argocdRepoServer",style:{}},"local.argocd.argocdServer":{id:"local.argocd.argocdServer",element:"edp.argoCD.argocdServer",style:{}},"local.gitea.forgejo":{id:"local.gitea.forgejo",element:"edp.forgejo",style:{}},"local.gitea.forgejoRunner":{id:"local.gitea.forgejoRunner",element:"forgejoRunner",style:{}},"local.keycloak.keycloak":{id:"local.keycloak.keycloak",element:"edp.keycloak.keycloak",style:{}},"local.keycloak.keycloakDB":{id:"local.keycloak.keycloakDB",element:"edp.keycloak.keycloakDB",style:{}},"local.crossplane.crossplane":{id:"local.crossplane.crossplane",element:"edp.crossplane.crossplane",style:{}},"local.crossplane.crossplaneFunction":{id:"local.crossplane.crossplaneFunction",element:"edp.crossplane.crossplaneFunction",style:{}},"local.crossplane.crossplaneRbacManager":{id:"local.crossplane.crossplaneRbacManager",element:"edp.crossplane.crossplaneRbacManager",style:{}},"local.crossplane.providerArgoCD":{id:"local.crossplane.providerArgoCD",element:"edp.crossplane.providerArgoCD",style:{}},"local.crossplane.providerKind":{id:"local.crossplane.providerKind",element:"edp.crossplane.providerKind",style:{}},"local.crossplane.providerShell":{id:"local.crossplane.providerShell",element:"edp.crossplane.providerShell",style:{}},"local.externalSecrets.certController":{id:"local.externalSecrets.certController",element:"edp.externalSecrets.certController",style:{}},"local.externalSecrets.externalSecrets":{id:"local.externalSecrets.externalSecrets",element:"edp.externalSecrets.externalSecrets",style:{}},"local.externalSecrets.webhook":{id:"local.externalSecrets.webhook",element:"edp.externalSecrets.webhook",style:{}},"local.velero.velero":{id:"local.velero.velero",element:"edp.velero.velero",style:{}},"local.minio.minio":{id:"local.minio.minio",element:"edp.minio.minio",style:{}},"local.monitoring.alloy":{id:"local.monitoring.alloy",element:"edp.monitoring.alloy",style:{}},"local.monitoring.distributor":{id:"local.monitoring.distributor",element:"edp.monitoring.loki.distributor",style:{}},"local.monitoring.gateway":{id:"local.monitoring.gateway",element:"edp.monitoring.loki.gateway",style:{}},"local.monitoring.ingestor":{id:"local.monitoring.ingestor",element:"edp.monitoring.loki.ingestor",style:{}},"local.monitoring.querier":{id:"local.monitoring.querier",element:"edp.monitoring.loki.querier",style:{}},"local.monitoring.queryFrontend":{id:"local.monitoring.queryFrontend",element:"edp.monitoring.loki.queryFrontend",style:{}},"local.ingressNginx.ingressNginx":{id:"local.ingressNginx.ingressNginx",element:"edp.ingressNginx.ingressNginx",style:{}},"local.openbao.openbao":{id:"local.openbao.openbao",element:"edp.openbao.openbao",style:{}},"local.openbao.agentInjector":{id:"local.openbao.agentInjector",element:"edp.openbao.agentInjector",style:{}},"local.fibonacci.fibonacci":{id:"local.fibonacci.fibonacci",element:"edp.testApp.fibonacci",style:{}},"local.mailhog.mailhog":{id:"local.mailhog.mailhog",element:"edp.mailhog.mailhog",style:{}},"local.spark.sparkoperator":{id:"local.spark.sparkoperator",element:"edp.spark.sparkoperator",style:{}},"otc-edp-per-tenant.cce.edp":{style:{},kind:"cluster",title:"EDP",id:"otc-edp-per-tenant.cce.edp"},"otc-edp-per-tenant.cloudServices.postgres":{id:"otc-edp-per-tenant.cloudServices.postgres",element:"postgres",style:{}},"otc-edp-per-tenant.cloudServices.redis":{id:"otc-edp-per-tenant.cloudServices.redis",element:"redis",style:{}},"otc-edp-per-tenant.cloudServices.objectstorage":{id:"otc-edp-per-tenant.cloudServices.objectstorage",element:"objectstorage",style:{}},"otc-edp-per-tenant.cloudServices.elasticsearch":{id:"otc-edp-per-tenant.cloudServices.elasticsearch",element:"elasticsearch",style:{}},"otc-edp-per-tenant.forgejoRunnerInfrastructure.forgejoRunner":{id:"otc-edp-per-tenant.forgejoRunnerInfrastructure.forgejoRunner",element:"forgejoRunner",style:{}},"otc-faas.dev.cce":{style:{icon:"tech:kubernetes"},kind:"kubernetes",description:{txt:"*.t09.de"},technology:"Kubernetes",title:"Central Forgejo",id:"otc-faas.dev.cce"},"otc-faas.dev.cloudServices":{style:{},kind:"paas",description:{txt:"EDP Cloud Services (Postgres, Redis, etc."},technology:"Cloud Services",title:"EDP Cloud Services",id:"otc-faas.dev.cloudServices"},"otc-faas.dev.observability":{style:{icon:"tech:kubernetes"},kind:"kubernetes",description:{txt:"*.t09.de"},technology:"Kubernetes",title:"Observability",id:"otc-faas.dev.observability"},"otc-faas.prod.cce":{style:{icon:"tech:kubernetes"},kind:"kubernetes",description:{txt:"*.buildth.ing"},technology:"Kubernetes",title:"Central Forgejo",id:"otc-faas.prod.cce"},"otc-faas.prod.cloudServices":{style:{},kind:"paas",description:{txt:"EDP Cloud Services (Postgres, Redis, etc."},technology:"Cloud Services",title:"EDP Cloud Services",id:"otc-faas.prod.cloudServices"},"otc-faas.prod.observability":{style:{icon:"tech:kubernetes"},kind:"kubernetes",description:{txt:"*.buildth.ing"},technology:"Kubernetes",title:"Observability",id:"otc-faas.prod.observability"},"otc-edpFoundry.cce.internalServices":{style:{},kind:"cluster",title:"EDP Foundry Internal Services",id:"otc-edpFoundry.cce.internalServices"},"otc-edpFoundry.cce.centralObservability":{style:{},kind:"cluster",title:"EDP Foundry Central Observability",id:"otc-edpFoundry.cce.centralObservability"},"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunner":{id:"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunner",element:"forgejoRunner",style:{}},"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunnerWorker":{id:"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunnerWorker",element:"forgejoRunnerWorker",style:{}},"otc-edpFoundry.workflowSetupEDPInfrastructure.edpworkflow":{id:"otc-edpFoundry.workflowSetupEDPInfrastructure.edpworkflow",element:"edpworkflow",style:{}},"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunner":{id:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunner",element:"forgejoRunner",style:{}},"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunnerWorker":{id:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunnerWorker",element:"forgejoRunnerWorker",style:{}},"otc-edpFoundry.workflowSetupArgoCDInfrastructure.edpworkflow":{id:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.edpworkflow",element:"edpworkflow",style:{}},"otc-edpFoundry.forgejoRunnerInfrastructure.forgejoRunner":{id:"otc-edpFoundry.forgejoRunnerInfrastructure.forgejoRunner",element:"forgejoRunner",style:{}},"otc-edp-per-tenant.cce.edp.argoCD":{id:"otc-edp-per-tenant.cce.edp.argoCD",element:"edp.argoCD",style:{}},"otc-edp-per-tenant.cce.edp.forgejoRunner":{id:"otc-edp-per-tenant.cce.edp.forgejoRunner",element:"forgejoRunner",style:{}},"otc-edp-per-tenant.cce.edp.forgejo":{id:"otc-edp-per-tenant.cce.edp.forgejo",element:"edp.forgejo",style:{}},"otc-edp-per-tenant.cce.edp.externalSecrets":{id:"otc-edp-per-tenant.cce.edp.externalSecrets",element:"edp.externalSecrets",style:{}},"otc-edp-per-tenant.cce.edp.ingressNginx":{id:"otc-edp-per-tenant.cce.edp.ingressNginx",element:"edp.ingressNginx",style:{}},"otc-faas.dev.cce.edp":{style:{},kind:"cluster",description:{txt:"t09.de"},title:"Forgejo Dev for platform team",id:"otc-faas.dev.cce.edp"},"otc-faas.prod.cce.edp":{style:{},kind:"cluster",title:"Forgejo for all EDP-tenants",id:"otc-faas.prod.cce.edp"},"otc-edpFoundry.cce.internalServices.argoCD":{id:"otc-edpFoundry.cce.internalServices.argoCD",element:"edp.argoCD",style:{}},"otc-edpFoundry.cce.internalServices.forgejo":{id:"otc-edpFoundry.cce.internalServices.forgejo",element:"edp.forgejo",style:{}},"otc-edpFoundry.cce.internalServices.externalSecrets":{id:"otc-edpFoundry.cce.internalServices.externalSecrets",element:"edp.externalSecrets",style:{}},"otc-edpFoundry.cce.internalServices.openbao":{id:"otc-edpFoundry.cce.internalServices.openbao",element:"edp.openbao",style:{}},"otc-edpFoundry.cce.internalServices.ingressNginx":{id:"otc-edpFoundry.cce.internalServices.ingressNginx",element:"edp.ingressNginx",style:{}},"otc-edpFoundry.cce.centralObservability.grafana":{id:"otc-edpFoundry.cce.centralObservability.grafana",element:"edp.grafana",style:{}},"otc-edpFoundry.cce.centralObservability.prometheus":{id:"otc-edpFoundry.cce.centralObservability.prometheus",element:"edp.prometheus",style:{}},"otc-edpFoundry.cce.centralObservability.loki":{id:"otc-edpFoundry.cce.centralObservability.loki",element:"edp.loki",style:{}},"otc-faas.dev.cce.edp.forgejo":{id:"otc-faas.dev.cce.edp.forgejo",element:"edp.forgejo",style:{}},"otc-faas.prod.cce.edp.forgejo":{id:"otc-faas.prod.cce.edp.forgejo",element:"edp.forgejo",title:"Forgejo for all EDP-tenants",description:{txt:"buildth.ing"},style:{}}},relations:{g9oj4f:{title:"registers",source:{deployment:"otc-edp-per-tenant.forgejoRunnerInfrastructure.forgejoRunner"},target:{deployment:"otc-edp-per-tenant.cce.edp.forgejo"},id:"g9oj4f"},"1fzhjm9":{source:{deployment:"otc-edp-per-tenant.cce.edp.forgejo"},target:{deployment:"otc-edp-per-tenant.cloudServices.elasticsearch"},id:"1fzhjm9"},"15njmlz":{source:{deployment:"otc-edp-per-tenant.cce.edp.forgejo"},target:{deployment:"otc-edp-per-tenant.cloudServices.objectstorage"},id:"15njmlz"},hks76r:{source:{deployment:"otc-edp-per-tenant.cce.edp.forgejo"},target:{deployment:"otc-edp-per-tenant.cloudServices.postgres"},id:"hks76r"},"1w18ve8":{source:{deployment:"otc-edp-per-tenant.cce.edp.forgejo"},target:{deployment:"otc-edp-per-tenant.cloudServices.redis"},id:"1w18ve8"},dz2rdn:{source:{deployment:"otc-faas.dev.cce.edp.forgejo"},target:{deployment:"otc-faas.dev.cloudServices"},id:"dz2rdn"},"2shw6y":{source:{deployment:"otc-faas.prod.cce.edp.forgejo"},target:{deployment:"otc-faas.prod.cloudServices"},id:"2shw6y"},"7kqly3":{title:"runs",source:{deployment:"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunner"},target:{deployment:"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunnerWorker"},id:"7kqly3"},"12hf1w4":{title:"executes",source:{deployment:"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunnerWorker"},target:{deployment:"otc-edpFoundry.workflowSetupEDPInfrastructure.edpworkflow"},id:"12hf1w4"},uk77s5:{title:"deploys edp to otc.cce",source:{deployment:"otc-edpFoundry.workflowSetupEDPInfrastructure.edpworkflow"},target:{deployment:"otc-edp-per-tenant.cce.edp"},id:"uk77s5"},"1pfc6bl":{title:"deploys edp to otc.paas",source:{deployment:"otc-edpFoundry.workflowSetupEDPInfrastructure.edpworkflow"},target:{deployment:"otc-edp-per-tenant.cloudServices"},id:"1pfc6bl"},hqie0:{title:"runs",source:{deployment:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunner"},target:{deployment:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunnerWorker"},id:"hqie0"},"1j16hqv":{title:"executes",source:{deployment:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunnerWorker"},target:{deployment:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.edpworkflow"},id:"1j16hqv"},jde35l:{source:{deployment:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.edpworkflow"},target:{deployment:"otc-edp-per-tenant.cce.edp.argoCD"},id:"jde35l"},"1umzqdy":{title:"registers",source:{deployment:"otc-edpFoundry.forgejoRunnerInfrastructure.forgejoRunner"},target:{deployment:"otc-edpFoundry.cce.internalServices.forgejo"},id:"1umzqdy"},dola40:{title:"invokes",source:{deployment:"otc-edpFoundry.cce.internalServices.forgejo"},target:{deployment:"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunner"},id:"dola40"},"1f5y9gc":{title:"invokes",source:{deployment:"otc-edpFoundry.cce.internalServices.forgejo"},target:{deployment:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunner"},id:"1f5y9gc"}}},imports:{}}),{useLikeC4Model:Ntt}=Rtt(Att);function Dtt({children:e}){const r=Ntt();return y.jsx(Cet,{likec4model:r,children:e})}function Ptt(e){return y.jsx(Dtt,{children:y.jsx(Jet,{renderIcon:mtt,...e})})}var wR={exports:{}},Fy={},kR={exports:{}},_R={};/** +Optionally we will have a WebUI/API/CLI`},technology:"OTC",title:"OTC EDP Foundry Central Service clusters",id:"otc-edpFoundry"},"local.backstage":{style:{},kind:"namespace",title:"backstage",id:"local.backstage"},"local.argocd":{style:{},kind:"namespace",title:"argocd",id:"local.argocd"},"local.gitea":{style:{},kind:"namespace",title:"gitea",id:"local.gitea"},"local.keycloak":{style:{},kind:"namespace",title:"keycloak",id:"local.keycloak"},"local.crossplane":{style:{},kind:"namespace",title:"crossplane-system",id:"local.crossplane"},"local.externalSecrets":{style:{},kind:"namespace",title:"external-secrets",id:"local.externalSecrets"},"local.velero":{style:{},kind:"namespace",title:"velero",id:"local.velero"},"local.minio":{style:{},kind:"namespace",title:"minio-backup",id:"local.minio"},"local.monitoring":{style:{},kind:"namespace",title:"monitoring",id:"local.monitoring"},"local.ingressNginx":{style:{},kind:"namespace",title:"ingress-nginx",id:"local.ingressNginx"},"local.openbao":{style:{},kind:"namespace",title:"openbao",id:"local.openbao"},"local.fibonacci":{style:{},kind:"namespace",title:"fibonacci-app",id:"local.fibonacci"},"local.mailhog":{style:{},kind:"namespace",title:"mailhog",id:"local.mailhog"},"local.spark":{style:{},kind:"namespace",title:"spark",id:"local.spark"},"otc-edp-per-tenant.cce":{style:{icon:"tech:kubernetes"},kind:"kubernetes",description:{txt:"OTC Container Cluster Engine"},technology:"Kubernetes",title:"OTC CCE",id:"otc-edp-per-tenant.cce"},"otc-edp-per-tenant.cloudServices":{style:{},kind:"paas",description:{txt:"EDP Cloud Services"},technology:"Cloud Services",title:"EDP Cloud Services",id:"otc-edp-per-tenant.cloudServices"},"otc-edp-per-tenant.forgejoRunnerInfrastructure":{style:{},kind:"computeressource",description:{txt:"Infrastructure for Forgejo runners like pods, vms, lxds, etc"},title:"EDP ForgejoRunner infrastructure",id:"otc-edp-per-tenant.forgejoRunnerInfrastructure"},"otc-faas.dev":{style:{},kind:"environment",description:{txt:"*.t09.de"},technology:"OTC",title:"tenant Dev",id:"otc-faas.dev"},"otc-faas.prod":{style:{},kind:"environment",description:{txt:"*.buildth.ing"},technology:"OTC",title:"Tenant Prod",id:"otc-faas.prod"},"edge.edge-dev":{style:{},kind:"environment",description:{txt:"Edge development environment"},technology:"Edge",title:"Edge Dev",id:"edge.edge-dev"},"edge.edge-prod":{style:{},kind:"environment",description:{txt:"Edge production environment"},technology:"Edge",title:"Edge Prod",id:"edge.edge-prod"},"otc-edpFoundry.cce":{style:{icon:"tech:kubernetes"},kind:"kubernetes",description:{txt:"OTC Container Cluster Engine"},technology:"Kubernetes",title:"OTC CCE",id:"otc-edpFoundry.cce"},"otc-edpFoundry.workflowSetupEDPInfrastructure":{style:{},kind:"computeressource",description:{txt:"EDP infrastructure Workflow"},title:"EDP infrastructure Workflow",id:"otc-edpFoundry.workflowSetupEDPInfrastructure"},"otc-edpFoundry.workflowSetupArgoCDInfrastructure":{style:{},kind:"computeressource",description:{txt:"EDP Setup ArgoCD Workflow"},title:"EDP ArgoCD Workflow",id:"otc-edpFoundry.workflowSetupArgoCDInfrastructure"},"otc-edpFoundry.forgejoRunnerInfrastructure":{style:{},kind:"computeressource",description:{txt:"Infrastructure for Forgejo runners like pods, vms, lxds, etc"},title:"EDP ForgejoRunner infrastructure",id:"otc-edpFoundry.forgejoRunnerInfrastructure"},"local.backstage.backstage":{id:"local.backstage.backstage",element:"edp.ui.backstage",style:{}},"local.backstage.database":{id:"local.backstage.database",element:"edp.ui.database",style:{}},"local.argocd.argocdAppController":{id:"local.argocd.argocdAppController",element:"edp.argoCD.argocdAppController",style:{}},"local.argocd.argocdAppSetController":{id:"local.argocd.argocdAppSetController",element:"edp.argoCD.argocdAppSetController",style:{}},"local.argocd.argocdRedis":{id:"local.argocd.argocdRedis",element:"edp.argoCD.argocdRedis",style:{}},"local.argocd.argocdRepoServer":{id:"local.argocd.argocdRepoServer",element:"edp.argoCD.argocdRepoServer",style:{}},"local.argocd.argocdServer":{id:"local.argocd.argocdServer",element:"edp.argoCD.argocdServer",style:{}},"local.gitea.forgejo":{id:"local.gitea.forgejo",element:"edp.forgejo",style:{}},"local.gitea.forgejoRunner":{id:"local.gitea.forgejoRunner",element:"forgejoRunner",style:{}},"local.keycloak.keycloak":{id:"local.keycloak.keycloak",element:"edp.keycloak.keycloak",style:{}},"local.keycloak.keycloakDB":{id:"local.keycloak.keycloakDB",element:"edp.keycloak.keycloakDB",style:{}},"local.crossplane.crossplane":{id:"local.crossplane.crossplane",element:"edp.crossplane.crossplane",style:{}},"local.crossplane.crossplaneFunction":{id:"local.crossplane.crossplaneFunction",element:"edp.crossplane.crossplaneFunction",style:{}},"local.crossplane.crossplaneRbacManager":{id:"local.crossplane.crossplaneRbacManager",element:"edp.crossplane.crossplaneRbacManager",style:{}},"local.crossplane.providerArgoCD":{id:"local.crossplane.providerArgoCD",element:"edp.crossplane.providerArgoCD",style:{}},"local.crossplane.providerKind":{id:"local.crossplane.providerKind",element:"edp.crossplane.providerKind",style:{}},"local.crossplane.providerShell":{id:"local.crossplane.providerShell",element:"edp.crossplane.providerShell",style:{}},"local.externalSecrets.certController":{id:"local.externalSecrets.certController",element:"edp.externalSecrets.certController",style:{}},"local.externalSecrets.externalSecrets":{id:"local.externalSecrets.externalSecrets",element:"edp.externalSecrets.externalSecrets",style:{}},"local.externalSecrets.webhook":{id:"local.externalSecrets.webhook",element:"edp.externalSecrets.webhook",style:{}},"local.velero.velero":{id:"local.velero.velero",element:"edp.velero.velero",style:{}},"local.minio.minio":{id:"local.minio.minio",element:"edp.minio.minio",style:{}},"local.monitoring.alloy":{id:"local.monitoring.alloy",element:"edp.monitoring.alloy",style:{}},"local.monitoring.distributor":{id:"local.monitoring.distributor",element:"edp.monitoring.loki.distributor",style:{}},"local.monitoring.gateway":{id:"local.monitoring.gateway",element:"edp.monitoring.loki.gateway",style:{}},"local.monitoring.ingestor":{id:"local.monitoring.ingestor",element:"edp.monitoring.loki.ingestor",style:{}},"local.monitoring.querier":{id:"local.monitoring.querier",element:"edp.monitoring.loki.querier",style:{}},"local.monitoring.queryFrontend":{id:"local.monitoring.queryFrontend",element:"edp.monitoring.loki.queryFrontend",style:{}},"local.ingressNginx.ingressNginx":{id:"local.ingressNginx.ingressNginx",element:"edp.ingressNginx.ingressNginx",style:{}},"local.openbao.openbao":{id:"local.openbao.openbao",element:"edp.openbao.openbao",style:{}},"local.openbao.agentInjector":{id:"local.openbao.agentInjector",element:"edp.openbao.agentInjector",style:{}},"local.fibonacci.fibonacci":{id:"local.fibonacci.fibonacci",element:"edp.testApp.fibonacci",style:{}},"local.mailhog.mailhog":{id:"local.mailhog.mailhog",element:"edp.mailhog.mailhog",style:{}},"local.spark.sparkoperator":{id:"local.spark.sparkoperator",element:"edp.spark.sparkoperator",style:{}},"otc-edp-per-tenant.cce.edp":{style:{},kind:"cluster",title:"EDP",id:"otc-edp-per-tenant.cce.edp"},"otc-edp-per-tenant.cloudServices.postgres":{id:"otc-edp-per-tenant.cloudServices.postgres",element:"postgres",style:{}},"otc-edp-per-tenant.cloudServices.redis":{id:"otc-edp-per-tenant.cloudServices.redis",element:"redis",style:{}},"otc-edp-per-tenant.cloudServices.objectstorage":{id:"otc-edp-per-tenant.cloudServices.objectstorage",element:"objectstorage",style:{}},"otc-edp-per-tenant.cloudServices.elasticsearch":{id:"otc-edp-per-tenant.cloudServices.elasticsearch",element:"elasticsearch",style:{}},"otc-edp-per-tenant.forgejoRunnerInfrastructure.forgejoRunner":{id:"otc-edp-per-tenant.forgejoRunnerInfrastructure.forgejoRunner",element:"forgejoRunner",style:{}},"otc-faas.dev.cce":{style:{icon:"tech:kubernetes"},kind:"kubernetes",description:{txt:"*.t09.de"},technology:"Kubernetes",title:"Central Forgejo",id:"otc-faas.dev.cce"},"otc-faas.dev.cloudServices":{style:{},kind:"paas",description:{txt:"EDP Cloud Services (Postgres, Redis, etc."},technology:"Cloud Services",title:"EDP Cloud Services",id:"otc-faas.dev.cloudServices"},"otc-faas.dev.observability":{style:{icon:"tech:kubernetes"},kind:"kubernetes",description:{txt:"*.t09.de"},technology:"Kubernetes",title:"Observability",id:"otc-faas.dev.observability"},"otc-faas.prod.cce":{style:{icon:"tech:kubernetes"},kind:"kubernetes",description:{txt:"*.buildth.ing"},technology:"Kubernetes",title:"Central Forgejo",id:"otc-faas.prod.cce"},"otc-faas.prod.cloudServices":{style:{},kind:"paas",description:{txt:"EDP Cloud Services (Postgres, Redis, etc."},technology:"Cloud Services",title:"EDP Cloud Services",id:"otc-faas.prod.cloudServices"},"otc-faas.prod.observability":{style:{icon:"tech:kubernetes"},kind:"kubernetes",description:{txt:"*.buildth.ing"},technology:"Kubernetes",title:"Observability",id:"otc-faas.prod.observability"},"otc-edpFoundry.cce.internalServices":{style:{},kind:"cluster",title:"EDP Foundry Internal Services",id:"otc-edpFoundry.cce.internalServices"},"otc-edpFoundry.cce.centralObservability":{style:{},kind:"cluster",title:"EDP Foundry Central Observability",id:"otc-edpFoundry.cce.centralObservability"},"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunner":{id:"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunner",element:"forgejoRunner",style:{}},"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunnerWorker":{id:"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunnerWorker",element:"forgejoRunnerWorker",style:{}},"otc-edpFoundry.workflowSetupEDPInfrastructure.edpworkflow":{id:"otc-edpFoundry.workflowSetupEDPInfrastructure.edpworkflow",element:"edpworkflow",style:{}},"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunner":{id:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunner",element:"forgejoRunner",style:{}},"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunnerWorker":{id:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunnerWorker",element:"forgejoRunnerWorker",style:{}},"otc-edpFoundry.workflowSetupArgoCDInfrastructure.edpworkflow":{id:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.edpworkflow",element:"edpworkflow",style:{}},"otc-edpFoundry.forgejoRunnerInfrastructure.forgejoRunner":{id:"otc-edpFoundry.forgejoRunnerInfrastructure.forgejoRunner",element:"forgejoRunner",style:{}},"otc-edp-per-tenant.cce.edp.argoCD":{id:"otc-edp-per-tenant.cce.edp.argoCD",element:"edp.argoCD",style:{}},"otc-edp-per-tenant.cce.edp.forgejoRunner":{id:"otc-edp-per-tenant.cce.edp.forgejoRunner",element:"forgejoRunner",style:{}},"otc-edp-per-tenant.cce.edp.forgejo":{id:"otc-edp-per-tenant.cce.edp.forgejo",element:"edp.forgejo",style:{}},"otc-edp-per-tenant.cce.edp.externalSecrets":{id:"otc-edp-per-tenant.cce.edp.externalSecrets",element:"edp.externalSecrets",style:{}},"otc-edp-per-tenant.cce.edp.ingressNginx":{id:"otc-edp-per-tenant.cce.edp.ingressNginx",element:"edp.ingressNginx",style:{}},"otc-faas.dev.cce.edp":{style:{},kind:"cluster",description:{txt:"t09.de"},title:"Forgejo Dev for platform team",id:"otc-faas.dev.cce.edp"},"otc-faas.prod.cce.edp":{style:{},kind:"cluster",title:"Forgejo for all EDP-tenants",id:"otc-faas.prod.cce.edp"},"otc-edpFoundry.cce.internalServices.argoCD":{id:"otc-edpFoundry.cce.internalServices.argoCD",element:"edp.argoCD",style:{}},"otc-edpFoundry.cce.internalServices.forgejo":{id:"otc-edpFoundry.cce.internalServices.forgejo",element:"edp.forgejo",style:{}},"otc-edpFoundry.cce.internalServices.externalSecrets":{id:"otc-edpFoundry.cce.internalServices.externalSecrets",element:"edp.externalSecrets",style:{}},"otc-edpFoundry.cce.internalServices.openbao":{id:"otc-edpFoundry.cce.internalServices.openbao",element:"edp.openbao",style:{}},"otc-edpFoundry.cce.internalServices.ingressNginx":{id:"otc-edpFoundry.cce.internalServices.ingressNginx",element:"edp.ingressNginx",style:{}},"otc-edpFoundry.cce.centralObservability.grafana":{id:"otc-edpFoundry.cce.centralObservability.grafana",element:"edp.grafana",style:{}},"otc-edpFoundry.cce.centralObservability.prometheus":{id:"otc-edpFoundry.cce.centralObservability.prometheus",element:"edp.prometheus",style:{}},"otc-edpFoundry.cce.centralObservability.loki":{id:"otc-edpFoundry.cce.centralObservability.loki",element:"edp.loki",style:{}},"otc-faas.dev.cce.edp.forgejo":{id:"otc-faas.dev.cce.edp.forgejo",element:"edp.forgejo",style:{}},"otc-faas.prod.cce.edp.forgejo":{id:"otc-faas.prod.cce.edp.forgejo",element:"edp.forgejo",title:"Forgejo for all EDP-tenants",description:{txt:"buildth.ing"},style:{}}},relations:{g9oj4f:{title:"registers",source:{deployment:"otc-edp-per-tenant.forgejoRunnerInfrastructure.forgejoRunner"},target:{deployment:"otc-edp-per-tenant.cce.edp.forgejo"},id:"g9oj4f"},"1fzhjm9":{source:{deployment:"otc-edp-per-tenant.cce.edp.forgejo"},target:{deployment:"otc-edp-per-tenant.cloudServices.elasticsearch"},id:"1fzhjm9"},"15njmlz":{source:{deployment:"otc-edp-per-tenant.cce.edp.forgejo"},target:{deployment:"otc-edp-per-tenant.cloudServices.objectstorage"},id:"15njmlz"},hks76r:{source:{deployment:"otc-edp-per-tenant.cce.edp.forgejo"},target:{deployment:"otc-edp-per-tenant.cloudServices.postgres"},id:"hks76r"},"1w18ve8":{source:{deployment:"otc-edp-per-tenant.cce.edp.forgejo"},target:{deployment:"otc-edp-per-tenant.cloudServices.redis"},id:"1w18ve8"},dz2rdn:{source:{deployment:"otc-faas.dev.cce.edp.forgejo"},target:{deployment:"otc-faas.dev.cloudServices"},id:"dz2rdn"},"2shw6y":{source:{deployment:"otc-faas.prod.cce.edp.forgejo"},target:{deployment:"otc-faas.prod.cloudServices"},id:"2shw6y"},"7kqly3":{title:"runs",source:{deployment:"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunner"},target:{deployment:"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunnerWorker"},id:"7kqly3"},"12hf1w4":{title:"executes",source:{deployment:"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunnerWorker"},target:{deployment:"otc-edpFoundry.workflowSetupEDPInfrastructure.edpworkflow"},id:"12hf1w4"},uk77s5:{title:"deploys edp to otc.cce",source:{deployment:"otc-edpFoundry.workflowSetupEDPInfrastructure.edpworkflow"},target:{deployment:"otc-edp-per-tenant.cce.edp"},id:"uk77s5"},"1pfc6bl":{title:"deploys edp to otc.paas",source:{deployment:"otc-edpFoundry.workflowSetupEDPInfrastructure.edpworkflow"},target:{deployment:"otc-edp-per-tenant.cloudServices"},id:"1pfc6bl"},hqie0:{title:"runs",source:{deployment:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunner"},target:{deployment:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunnerWorker"},id:"hqie0"},"1j16hqv":{title:"executes",source:{deployment:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunnerWorker"},target:{deployment:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.edpworkflow"},id:"1j16hqv"},jde35l:{source:{deployment:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.edpworkflow"},target:{deployment:"otc-edp-per-tenant.cce.edp.argoCD"},id:"jde35l"},"1umzqdy":{title:"registers",source:{deployment:"otc-edpFoundry.forgejoRunnerInfrastructure.forgejoRunner"},target:{deployment:"otc-edpFoundry.cce.internalServices.forgejo"},id:"1umzqdy"},dola40:{title:"invokes",source:{deployment:"otc-edpFoundry.cce.internalServices.forgejo"},target:{deployment:"otc-edpFoundry.workflowSetupEDPInfrastructure.forgejoRunner"},id:"dola40"},"1f5y9gc":{title:"invokes",source:{deployment:"otc-edpFoundry.cce.internalServices.forgejo"},target:{deployment:"otc-edpFoundry.workflowSetupArgoCDInfrastructure.forgejoRunner"},id:"1f5y9gc"}}},imports:{}}),{useLikeC4Model:lrt}=art(irt);function srt({children:e}){const r=lrt();return y.jsx(ntt,{likec4model:r,children:e})}function crt(e){return y.jsx(srt,{children:y.jsx(Ntt,{renderIcon:Ytt,...e})})}var TR={exports:{}},Zy={},RR={exports:{}},AR={};/** * @license React * scheduler.production.js * @@ -611,7 +613,7 @@ Optionally we will have a WebUI/API/CLI`},technology:"OTC",title:"OTC EDP Foundr * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. -*/var Jte;function $tt(){return Jte||(Jte=1,(function(e){function r(I,q){var V=I.length;I.push(q);e:for(;0>>1,F=I[G];if(0>>1;Ga(z,V))Wa(X,z)?(I[G]=X,I[W]=V,G=W):(I[G]=z,I[Q]=V,G=Q);else if(Wa(X,V))I[G]=X,I[W]=V,G=W;else break e}}return q}function a(I,q){var V=I.sortIndex-q.sortIndex;return V!==0?V:I.id-q.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var c=[],u=[],d=1,p=null,f=3,g=!1,b=!1,x=!1,w=!1,k=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function T(I){for(var q=n(u);q!==null;){if(q.callback===null)o(u);else if(q.startTime<=I)o(u),q.sortIndex=q.expirationTime,r(c,q);else break;q=n(u)}}function R(I){if(x=!1,T(I),!b)if(n(c)!==null)b=!0,A||(A=!0,L());else{var q=n(u);q!==null&&U(R,q.startTime-I)}}var A=!1,D=-1,N=5,$=-1;function M(){return w?!0:!(e.unstable_now()-$I&&M());){var G=p.callback;if(typeof G=="function"){p.callback=null,f=p.priorityLevel;var F=G(p.expirationTime<=I);if(I=e.unstable_now(),typeof F=="function"){p.callback=F,T(I),q=!0;break t}p===n(c)&&o(c),T(I)}else o(c);p=n(c)}if(p!==null)q=!0;else{var J=n(u);J!==null&&U(R,J.startTime-I),q=!1}}break e}finally{p=null,f=V,g=!1}q=void 0}}finally{q?L():A=!1}}}var L;if(typeof _=="function")L=function(){_(j)};else if(typeof MessageChannel<"u"){var Y=new MessageChannel,O=Y.port2;Y.port1.onmessage=j,L=function(){O.postMessage(null)}}else L=function(){k(j,0)};function U(I,q){D=k(function(){I(e.unstable_now())},q)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(I){I.callback=null},e.unstable_forceFrameRate=function(I){0>I||125G?(I.sortIndex=V,r(u,I),n(c)===null&&I===n(u)&&(x?(C(D),D=-1):x=!0,U(R,V-G))):(I.sortIndex=F,r(c,I),b||g||(b=!0,A||(A=!0,L()))),I},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(I){var q=f;return function(){var V=f;f=q;try{return I.apply(this,arguments)}finally{f=V}}}})(_R)),_R}var ere;function Mtt(){return ere||(ere=1,kR.exports=$tt()),kR.exports}/** +*/var fre;function urt(){return fre||(fre=1,(function(e){function r(z,H){var U=z.length;z.push(H);e:for(;0>>1,V=z[K];if(0>>1;Ka(B,U))Wa(Q,B)?(z[K]=Q,z[W]=U,K=W):(z[K]=B,z[Z]=U,K=Z);else if(Wa(Q,U))z[K]=Q,z[W]=U,K=W;else break e}}return H}function a(z,H){var U=z.sortIndex-H.sortIndex;return U!==0?U:z.id-H.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var c=[],u=[],d=1,p=null,f=3,g=!1,b=!1,x=!1,w=!1,k=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function T(z){for(var H=n(u);H!==null;){if(H.callback===null)o(u);else if(H.startTime<=z)o(u),H.sortIndex=H.expirationTime,r(c,H);else break;H=n(u)}}function R(z){if(x=!1,T(z),!b)if(n(c)!==null)b=!0,A||(A=!0,L());else{var H=n(u);H!==null&&q(R,H.startTime-z)}}var A=!1,D=-1,N=5,$=-1;function O(){return w?!0:!(e.unstable_now()-$z&&O());){var K=p.callback;if(typeof K=="function"){p.callback=null,f=p.priorityLevel;var V=K(p.expirationTime<=z);if(z=e.unstable_now(),typeof V=="function"){p.callback=V,T(z),H=!0;break t}p===n(c)&&o(c),T(z)}else o(c);p=n(c)}if(p!==null)H=!0;else{var X=n(u);X!==null&&q(R,X.startTime-z),H=!1}}break e}finally{p=null,f=U,g=!1}H=void 0}}finally{H?L():A=!1}}}var L;if(typeof _=="function")L=function(){_(j)};else if(typeof MessageChannel<"u"){var Y=new MessageChannel,M=Y.port2;Y.port1.onmessage=j,L=function(){M.postMessage(null)}}else L=function(){k(j,0)};function q(z,H){D=k(function(){z(e.unstable_now())},H)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_forceFrameRate=function(z){0>z||125K?(z.sortIndex=U,r(u,z),n(c)===null&&z===n(u)&&(x?(C(D),D=-1):x=!0,q(R,U-K))):(z.sortIndex=V,r(c,z),b||g||(b=!0,A||(A=!0,L()))),z},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(z){var H=f;return function(){var U=f;f=H;try{return z.apply(this,arguments)}finally{f=U}}}})(AR)),AR}var mre;function drt(){return mre||(mre=1,RR.exports=urt()),RR.exports}/** * @license React * react-dom-client.production.js * @@ -619,20 +621,20 @@ Optionally we will have a WebUI/API/CLI`},technology:"OTC",title:"OTC EDP Foundr * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. -*/var tre;function Ott(){if(tre)return Fy;tre=1;var e=Mtt(),r=U6(),n=CO();function o(h){var m="https://react.dev/errors/"+h;if(1F||(h.current=G[F],G[F]=null,F--)}function z(h,m){F++,G[F]=h.current,h.current=m}var W=J(null),X=J(null),Z=J(null),oe=J(null);function ee(h,m){switch(z(Z,m),z(X,h),z(W,null),m.nodeType){case 9:case 11:h=(h=m.documentElement)&&(h=h.namespaceURI)?Gge(h):0;break;default:if(h=m.tagName,m=m.namespaceURI)m=Gge(m),h=Xge(m,h);else switch(h){case"svg":h=1;break;case"math":h=2;break;default:h=0}}Q(W),z(W,h)}function re(){Q(W),Q(X),Q(Z)}function pe(h){h.memoizedState!==null&&z(oe,h);var m=W.current,v=Xge(m,h.type);m!==v&&(z(X,h),z(W,v))}function Ce(h){X.current===h&&(Q(W),Q(X)),oe.current===h&&(Q(oe),Bv._currentValue=V)}var ce=Object.prototype.hasOwnProperty,de=e.unstable_scheduleCallback,be=e.unstable_cancelCallback,Oe=e.unstable_shouldYield,Xe=e.unstable_requestPaint,Ge=e.unstable_now,_t=e.unstable_getCurrentPriorityLevel,Qe=e.unstable_ImmediatePriority,St=e.unstable_UserBlockingPriority,Ke=e.unstable_NormalPriority,We=e.unstable_LowPriority,st=e.unstable_IdlePriority,Et=e.log,Pn=e.unstable_setDisableYieldValue,_e=null,we=null;function rt(h){if(typeof Et=="function"&&Pn(h),we&&typeof we.setStrictMode=="function")try{we.setStrictMode(_e,h)}catch{}}var at=Math.clz32?Math.clz32:Pt,Dt=Math.log,Wr=Math.LN2;function Pt(h){return h>>>=0,h===0?32:31-(Dt(h)/Wr|0)|0}var Tr=256,vo=4194304;function $n(h){var m=h&42;if(m!==0)return m;switch(h&-h){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return h&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return h&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return h}}function Fr(h,m,v){var S=h.pendingLanes;if(S===0)return 0;var P=0,B=h.suspendedLanes,K=h.pingedLanes;h=h.warmLanes;var te=S&134217727;return te!==0?(S=te&~B,S!==0?P=$n(S):(K&=te,K!==0?P=$n(K):v||(v=te&~h,v!==0&&(P=$n(v))))):(te=S&~B,te!==0?P=$n(te):K!==0?P=$n(K):v||(v=S&~h,v!==0&&(P=$n(v)))),P===0?0:m!==0&&m!==P&&(m&B)===0&&(B=P&-P,v=m&-m,B>=v||B===32&&(v&4194048)!==0)?m:P}function no(h,m){return(h.pendingLanes&~(h.suspendedLanes&~h.pingedLanes)&m)===0}function ur(h,m){switch(h){case 1:case 2:case 4:case 8:case 64:return m+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return m+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ha(){var h=Tr;return Tr<<=1,(Tr&4194048)===0&&(Tr=256),h}function _s(){var h=vo;return vo<<=1,(vo&62914560)===0&&(vo=4194304),h}function Qp(h){for(var m=[],v=0;31>v;v++)m.push(h);return m}function Cc(h,m){h.pendingLanes|=m,m!==268435456&&(h.suspendedLanes=0,h.pingedLanes=0,h.warmLanes=0)}function qb(h,m,v,S,P,B){var K=h.pendingLanes;h.pendingLanes=v,h.suspendedLanes=0,h.pingedLanes=0,h.warmLanes=0,h.expiredLanes&=v,h.entangledLanes&=v,h.errorRecoveryDisabledLanes&=v,h.shellSuspendCounter=0;var te=h.entanglements,se=h.expirationTimes,ge=h.hiddenUpdates;for(v=K&~v;0V||(h.current=K[V],K[V]=null,V--)}function B(h,m){V++,K[V]=h.current,h.current=m}var W=X(null),Q=X(null),J=X(null),ne=X(null);function te(h,m){switch(B(J,m),B(Q,h),B(W,null),m.nodeType){case 9:case 11:h=(h=m.documentElement)&&(h=h.namespaceURI)?f1e(h):0;break;default:if(h=m.tagName,m=m.namespaceURI)m=f1e(m),h=m1e(m,h);else switch(h){case"svg":h=1;break;case"math":h=2;break;default:h=0}}Z(W),B(W,h)}function ee(){Z(W),Z(Q),Z(J)}function pe(h){h.memoizedState!==null&&B(ne,h);var m=W.current,v=m1e(m,h.type);m!==v&&(B(Q,h),B(W,v))}function Te(h){Q.current===h&&(Z(W),Z(Q)),ne.current===h&&(Z(ne),qv._currentValue=U)}var ce,de;function xe(h){if(ce===void 0)try{throw Error()}catch(v){var m=v.stack.trim().match(/\n( *(at )?)/);ce=m&&m[1]||"",de=-1)":-1P||se[S]!==ge[P]){var Te=` -`+se[S].replace(" at new "," at ");return h.displayName&&Te.includes("")&&(Te=Te.replace("",h.displayName)),Te}while(1<=S&&0<=P);break}}}finally{oh=!1,Error.prepareStackTrace=v}return(v=h?h.displayName||h.name:"")?Ni(v):""}function Xb(h){switch(h.tag){case 26:case 27:case 5:return Ni(h.type);case 16:return Ni("Lazy");case 13:return Ni("Suspense");case 19:return Ni("SuspenseList");case 0:case 15:return ah(h.type,!1);case 11:return ah(h.type.render,!1);case 1:return ah(h.type,!0);case 31:return Ni("Activity");default:return""}}function Pg(h){try{var m="";do m+=Xb(h),h=h.return;while(h);return m}catch(v){return` -Error generating stack: `+v.message+` -`+v.stack}}function Lo(h){switch(typeof h){case"bigint":case"boolean":case"number":case"string":case"undefined":return h;case"object":return h;default:return""}}function $g(h){var m=h.type;return(h=h.nodeName)&&h.toLowerCase()==="input"&&(m==="checkbox"||m==="radio")}function Kb(h){var m=$g(h)?"checked":"value",v=Object.getOwnPropertyDescriptor(h.constructor.prototype,m),S=""+h[m];if(!h.hasOwnProperty(m)&&typeof v<"u"&&typeof v.get=="function"&&typeof v.set=="function"){var P=v.get,B=v.set;return Object.defineProperty(h,m,{configurable:!0,get:function(){return P.call(this)},set:function(K){S=""+K,B.call(this,K)}}),Object.defineProperty(h,m,{enumerable:v.enumerable}),{getValue:function(){return S},setValue:function(K){S=""+K},stopTracking:function(){h._valueTracker=null,delete h[m]}}}}function Yu(h){h._valueTracker||(h._valueTracker=Kb(h))}function Wu(h){if(!h)return!1;var m=h._valueTracker;if(!m)return!0;var v=m.getValue(),S="";return h&&(S=$g(h)?h.checked?"true":"false":h.value),h=S,h!==v?(m.setValue(h),!0):!1}function Gu(h){if(h=h||(typeof document<"u"?document:void 0),typeof h>"u")return null;try{return h.activeElement||h.body}catch{return h.body}}var Zb=/[\n"\\]/g;function zo(h){return h.replace(Zb,function(m){return"\\"+m.charCodeAt(0).toString(16)+" "})}function jl(h,m,v,S,P,B,K,te){h.name="",K!=null&&typeof K!="function"&&typeof K!="symbol"&&typeof K!="boolean"?h.type=K:h.removeAttribute("type"),m!=null?K==="number"?(m===0&&h.value===""||h.value!=m)&&(h.value=""+Lo(m)):h.value!==""+Lo(m)&&(h.value=""+Lo(m)):K!=="submit"&&K!=="reset"||h.removeAttribute("value"),m!=null?ih(h,K,Lo(m)):v!=null?ih(h,K,Lo(v)):S!=null&&h.removeAttribute("value"),P==null&&B!=null&&(h.defaultChecked=!!B),P!=null&&(h.checked=P&&typeof P!="function"&&typeof P!="symbol"),te!=null&&typeof te!="function"&&typeof te!="symbol"&&typeof te!="boolean"?h.name=""+Lo(te):h.removeAttribute("name")}function Mg(h,m,v,S,P,B,K,te){if(B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"&&(h.type=B),m!=null||v!=null){if(!(B!=="submit"&&B!=="reset"||m!=null))return;v=v!=null?""+Lo(v):"",m=m!=null?""+Lo(m):v,te||m===h.value||(h.value=m),h.defaultValue=m}S=S??P,S=typeof S!="function"&&typeof S!="symbol"&&!!S,h.checked=te?h.checked:!!S,h.defaultChecked=!!S,K!=null&&typeof K!="function"&&typeof K!="symbol"&&typeof K!="boolean"&&(h.name=K)}function ih(h,m,v){m==="number"&&Gu(h.ownerDocument)===h||h.defaultValue===""+v||(h.defaultValue=""+v)}function Di(h,m,v,S){if(h=h.options,m){m={};for(var P=0;P"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),w$=!1;if(Rc)try{var Jb={};Object.defineProperty(Jb,"passive",{get:function(){w$=!0}}),window.addEventListener("test",Jb,Jb),window.removeEventListener("test",Jb,Jb)}catch{w$=!1}var Xu=null,k$=null,Ik=null;function Qhe(){if(Ik)return Ik;var h,m=k$,v=m.length,S,P="value"in Xu?Xu.value:Xu.textContent,B=P.length;for(h=0;h=rv),ofe=" ",afe=!1;function ife(h,m){switch(h){case"keyup":return M5t.indexOf(m.keyCode)!==-1;case"keydown":return m.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lfe(h){return h=h.detail,typeof h=="object"&&"data"in h?h.data:null}var zg=!1;function I5t(h,m){switch(h){case"compositionend":return lfe(m);case"keypress":return m.which!==32?null:(afe=!0,ofe);case"textInput":return h=m.data,h===ofe&&afe?null:h;default:return null}}function L5t(h,m){if(zg)return h==="compositionend"||!T$&&ife(h,m)?(h=Qhe(),Ik=k$=Xu=null,zg=!1,h):null;switch(h){case"paste":return null;case"keypress":if(!(m.ctrlKey||m.altKey||m.metaKey)||m.ctrlKey&&m.altKey){if(m.char&&1=m)return{node:v,offset:m-h};h=S}e:{for(;v;){if(v.nextSibling){v=v.nextSibling;break e}v=v.parentNode}v=void 0}v=mfe(v)}}function yfe(h,m){return h&&m?h===m?!0:h&&h.nodeType===3?!1:m&&m.nodeType===3?yfe(h,m.parentNode):"contains"in h?h.contains(m):h.compareDocumentPosition?!!(h.compareDocumentPosition(m)&16):!1:!1}function bfe(h){h=h!=null&&h.ownerDocument!=null&&h.ownerDocument.defaultView!=null?h.ownerDocument.defaultView:window;for(var m=Gu(h.document);m instanceof h.HTMLIFrameElement;){try{var v=typeof m.contentWindow.location.href=="string"}catch{v=!1}if(v)h=m.contentWindow;else break;m=Gu(h.document)}return m}function N$(h){var m=h&&h.nodeName&&h.nodeName.toLowerCase();return m&&(m==="input"&&(h.type==="text"||h.type==="search"||h.type==="tel"||h.type==="url"||h.type==="password")||m==="textarea"||h.contentEditable==="true")}var V5t=Rc&&"documentMode"in document&&11>=document.documentMode,Bg=null,D$=null,iv=null,P$=!1;function vfe(h,m,v){var S=v.window===v?v.document:v.nodeType===9?v:v.ownerDocument;P$||Bg==null||Bg!==Gu(S)||(S=Bg,"selectionStart"in S&&N$(S)?S={start:S.selectionStart,end:S.selectionEnd}:(S=(S.ownerDocument&&S.ownerDocument.defaultView||window).getSelection(),S={anchorNode:S.anchorNode,anchorOffset:S.anchorOffset,focusNode:S.focusNode,focusOffset:S.focusOffset}),iv&&av(iv,S)||(iv=S,S=C6(D$,"onSelect"),0>=K,P-=K,Nc=1<<32-at(m)+P|v<B?B:8;var K=I.T,te={};I.T=te,yM(h,!1,m,v);try{var se=P(),ge=I.S;if(ge!==null&&ge(te,se),se!==null&&typeof se=="object"&&typeof se.then=="function"){var Te=ekt(se,S);wv(h,m,Te,Wa(h))}else wv(h,m,S,Wa(h))}catch(Ne){wv(h,m,{then:function(){},status:"rejected",reason:Ne},Wa())}finally{q.p=B,I.T=K}}function akt(){}function mM(h,m,v,S){if(h.tag!==5)throw Error(o(476));var P=xme(h).queue;vme(h,P,m,V,v===null?akt:function(){return wme(h),v(S)})}function xme(h){var m=h.memoizedState;if(m!==null)return m;m={memoizedState:V,baseState:V,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mc,lastRenderedState:V},next:null};var v={};return m.next={memoizedState:v,baseState:v,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mc,lastRenderedState:v},next:null},h.memoizedState=m,h=h.alternate,h!==null&&(h.memoizedState=m),m}function wme(h){var m=xme(h).next.queue;wv(h,m,{},Wa())}function gM(){return Bo(Bv)}function kme(){return In().memoizedState}function _me(){return In().memoizedState}function ikt(h){for(var m=h.return;m!==null;){switch(m.tag){case 24:case 3:var v=Wa();h=Qu(v);var S=Ju(m,h,v);S!==null&&(Ga(S,m,v),mv(S,m,v)),m={cache:Y$()},h.payload=m;return}m=m.return}}function lkt(h,m,v){var S=Wa();v={lane:S,revertLane:0,action:v,hasEagerState:!1,eagerState:null,next:null},i6(h)?Sme(m,v):(v=I$(h,m,v,S),v!==null&&(Ga(v,h,S),Cme(v,m,S)))}function Eme(h,m,v){var S=Wa();wv(h,m,v,S)}function wv(h,m,v,S){var P={lane:S,revertLane:0,action:v,hasEagerState:!1,eagerState:null,next:null};if(i6(h))Sme(m,P);else{var B=h.alternate;if(h.lanes===0&&(B===null||B.lanes===0)&&(B=m.lastRenderedReducer,B!==null))try{var K=m.lastRenderedState,te=B(K,v);if(P.hasEagerState=!0,P.eagerState=te,Ha(te,K))return qk(h,m,P,0),Rr===null&&Hk(),!1}catch{}finally{}if(v=I$(h,m,P,S),v!==null)return Ga(v,h,S),Cme(v,m,S),!0}return!1}function yM(h,m,v,S){if(S={lane:2,revertLane:XM(),action:S,hasEagerState:!1,eagerState:null,next:null},i6(h)){if(m)throw Error(o(479))}else m=I$(h,v,S,2),m!==null&&Ga(m,h,2)}function i6(h){var m=h.alternate;return h===jt||m!==null&&m===jt}function Sme(h,m){Xg=e6=!0;var v=h.pending;v===null?m.next=m:(m.next=v.next,v.next=m),h.pending=m}function Cme(h,m,v){if((v&4194048)!==0){var S=m.lanes;S&=h.pendingLanes,v|=S,m.lanes=v,Hu(h,v)}}var l6={readContext:Bo,use:r6,useCallback:dn,useContext:dn,useEffect:dn,useImperativeHandle:dn,useLayoutEffect:dn,useInsertionEffect:dn,useMemo:dn,useReducer:dn,useRef:dn,useState:dn,useDebugValue:dn,useDeferredValue:dn,useTransition:dn,useSyncExternalStore:dn,useId:dn,useHostTransitionStatus:dn,useFormState:dn,useActionState:dn,useOptimistic:dn,useMemoCache:dn,useCacheRefresh:dn},Tme={readContext:Bo,use:r6,useCallback:function(h,m){return ma().memoizedState=[h,m===void 0?null:m],h},useContext:Bo,useEffect:ume,useImperativeHandle:function(h,m,v){v=v!=null?v.concat([h]):null,a6(4194308,4,fme.bind(null,m,h),v)},useLayoutEffect:function(h,m){return a6(4194308,4,h,m)},useInsertionEffect:function(h,m){a6(4,2,h,m)},useMemo:function(h,m){var v=ma();m=m===void 0?null:m;var S=h();if(bh){rt(!0);try{h()}finally{rt(!1)}}return v.memoizedState=[S,m],S},useReducer:function(h,m,v){var S=ma();if(v!==void 0){var P=v(m);if(bh){rt(!0);try{v(m)}finally{rt(!1)}}}else P=m;return S.memoizedState=S.baseState=P,h={pending:null,lanes:0,dispatch:null,lastRenderedReducer:h,lastRenderedState:P},S.queue=h,h=h.dispatch=lkt.bind(null,jt,h),[S.memoizedState,h]},useRef:function(h){var m=ma();return h={current:h},m.memoizedState=h},useState:function(h){h=dM(h);var m=h.queue,v=Eme.bind(null,jt,m);return m.dispatch=v,[h.memoizedState,v]},useDebugValue:hM,useDeferredValue:function(h,m){var v=ma();return fM(v,h,m)},useTransition:function(){var h=dM(!1);return h=vme.bind(null,jt,h.queue,!0,!1),ma().memoizedState=h,[!1,h]},useSyncExternalStore:function(h,m,v){var S=jt,P=ma();if(ir){if(v===void 0)throw Error(o(407));v=v()}else{if(v=m(),Rr===null)throw Error(o(349));(rr&124)!==0||Gfe(S,m,v)}P.memoizedState=v;var B={value:v,getSnapshot:m};return P.queue=B,ume(Kfe.bind(null,S,B,h),[h]),S.flags|=2048,Zg(9,o6(),Xfe.bind(null,S,B,v,m),null),v},useId:function(){var h=ma(),m=Rr.identifierPrefix;if(ir){var v=Dc,S=Nc;v=(S&~(1<<32-at(S)-1)).toString(32)+v,m="«"+m+"R"+v,v=t6++,0gt?(lo=ct,ct=null):lo=ct.sibling;var ar=ve(he,ct,fe[gt],Re);if(ar===null){ct===null&&(ct=lo);break}h&&ct&&ar.alternate===null&&m(he,ct),ue=B(ar,ue,gt),Vt===null?ot=ar:Vt.sibling=ar,Vt=ar,ct=lo}if(gt===fe.length)return v(he,ct),ir&&ph(he,gt),ot;if(ct===null){for(;gtgt?(lo=ct,ct=null):lo=ct.sibling;var gd=ve(he,ct,ar.value,Re);if(gd===null){ct===null&&(ct=lo);break}h&&ct&&gd.alternate===null&&m(he,ct),ue=B(gd,ue,gt),Vt===null?ot=gd:Vt.sibling=gd,Vt=gd,ct=lo}if(ar.done)return v(he,ct),ir&&ph(he,gt),ot;if(ct===null){for(;!ar.done;gt++,ar=fe.next())ar=Ne(he,ar.value,Re),ar!==null&&(ue=B(ar,ue,gt),Vt===null?ot=ar:Vt.sibling=ar,Vt=ar);return ir&&ph(he,gt),ot}for(ct=S(ct);!ar.done;gt++,ar=fe.next())ar=ke(ct,he,gt,ar.value,Re),ar!==null&&(h&&ar.alternate!==null&&ct.delete(ar.key===null?gt:ar.key),ue=B(ar,ue,gt),Vt===null?ot=ar:Vt.sibling=ar,Vt=ar);return h&&ct.forEach(function(c6t){return m(he,c6t)}),ir&&ph(he,gt),ot}function vr(he,ue,fe,Re){if(typeof fe=="object"&&fe!==null&&fe.type===b&&fe.key===null&&(fe=fe.props.children),typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case f:e:{for(var ot=fe.key;ue!==null;){if(ue.key===ot){if(ot=fe.type,ot===b){if(ue.tag===7){v(he,ue.sibling),Re=P(ue,fe.props.children),Re.return=he,he=Re;break e}}else if(ue.elementType===ot||typeof ot=="object"&&ot!==null&&ot.$$typeof===N&&Ame(ot)===ue.type){v(he,ue.sibling),Re=P(ue,fe.props),_v(Re,fe),Re.return=he,he=Re;break e}v(he,ue);break}else m(he,ue);ue=ue.sibling}fe.type===b?(Re=uh(fe.props.children,he.mode,Re,fe.key),Re.return=he,he=Re):(Re=Vk(fe.type,fe.key,fe.props,null,he.mode,Re),_v(Re,fe),Re.return=he,he=Re)}return K(he);case g:e:{for(ot=fe.key;ue!==null;){if(ue.key===ot)if(ue.tag===4&&ue.stateNode.containerInfo===fe.containerInfo&&ue.stateNode.implementation===fe.implementation){v(he,ue.sibling),Re=P(ue,fe.children||[]),Re.return=he,he=Re;break e}else{v(he,ue);break}else m(he,ue);ue=ue.sibling}Re=B$(fe,he.mode,Re),Re.return=he,he=Re}return K(he);case N:return ot=fe._init,fe=ot(fe._payload),vr(he,ue,fe,Re)}if(U(fe))return xt(he,ue,fe,Re);if(L(fe)){if(ot=L(fe),typeof ot!="function")throw Error(o(150));return fe=ot.call(fe),ft(he,ue,fe,Re)}if(typeof fe.then=="function")return vr(he,ue,s6(fe),Re);if(fe.$$typeof===_)return vr(he,ue,Xk(he,fe),Re);c6(he,fe)}return typeof fe=="string"&&fe!==""||typeof fe=="number"||typeof fe=="bigint"?(fe=""+fe,ue!==null&&ue.tag===6?(v(he,ue.sibling),Re=P(ue,fe),Re.return=he,he=Re):(v(he,ue),Re=z$(fe,he.mode,Re),Re.return=he,he=Re),K(he)):v(he,ue)}return function(he,ue,fe,Re){try{kv=0;var ot=vr(he,ue,fe,Re);return Qg=null,ot}catch(ct){if(ct===hv||ct===Zk)throw ct;var Vt=qa(29,ct,null,he.mode);return Vt.lanes=Re,Vt.return=he,Vt}finally{}}}var Jg=Nme(!0),Dme=Nme(!1),Ii=J(null),Rs=null;function td(h){var m=h.alternate;z(Hn,Hn.current&1),z(Ii,h),Rs===null&&(m===null||Gg.current!==null||m.memoizedState!==null)&&(Rs=h)}function Pme(h){if(h.tag===22){if(z(Hn,Hn.current),z(Ii,h),Rs===null){var m=h.alternate;m!==null&&m.memoizedState!==null&&(Rs=h)}}else rd()}function rd(){z(Hn,Hn.current),z(Ii,Ii.current)}function Oc(h){Q(Ii),Rs===h&&(Rs=null),Q(Hn)}var Hn=J(0);function u6(h){for(var m=h;m!==null;){if(m.tag===13){var v=m.memoizedState;if(v!==null&&(v=v.dehydrated,v===null||v.data==="$?"||lO(v)))return m}else if(m.tag===19&&m.memoizedProps.revealOrder!==void 0){if((m.flags&128)!==0)return m}else if(m.child!==null){m.child.return=m,m=m.child;continue}if(m===h)break;for(;m.sibling===null;){if(m.return===null||m.return===h)return null;m=m.return}m.sibling.return=m.return,m=m.sibling}return null}function bM(h,m,v,S){m=h.memoizedState,v=v(S,m),v=v==null?m:d({},m,v),h.memoizedState=v,h.lanes===0&&(h.updateQueue.baseState=v)}var vM={enqueueSetState:function(h,m,v){h=h._reactInternals;var S=Wa(),P=Qu(S);P.payload=m,v!=null&&(P.callback=v),m=Ju(h,P,S),m!==null&&(Ga(m,h,S),mv(m,h,S))},enqueueReplaceState:function(h,m,v){h=h._reactInternals;var S=Wa(),P=Qu(S);P.tag=1,P.payload=m,v!=null&&(P.callback=v),m=Ju(h,P,S),m!==null&&(Ga(m,h,S),mv(m,h,S))},enqueueForceUpdate:function(h,m){h=h._reactInternals;var v=Wa(),S=Qu(v);S.tag=2,m!=null&&(S.callback=m),m=Ju(h,S,v),m!==null&&(Ga(m,h,v),mv(m,h,v))}};function $me(h,m,v,S,P,B,K){return h=h.stateNode,typeof h.shouldComponentUpdate=="function"?h.shouldComponentUpdate(S,B,K):m.prototype&&m.prototype.isPureReactComponent?!av(v,S)||!av(P,B):!0}function Mme(h,m,v,S){h=m.state,typeof m.componentWillReceiveProps=="function"&&m.componentWillReceiveProps(v,S),typeof m.UNSAFE_componentWillReceiveProps=="function"&&m.UNSAFE_componentWillReceiveProps(v,S),m.state!==h&&vM.enqueueReplaceState(m,m.state,null)}function vh(h,m){var v=m;if("ref"in m){v={};for(var S in m)S!=="ref"&&(v[S]=m[S])}if(h=h.defaultProps){v===m&&(v=d({},v));for(var P in h)v[P]===void 0&&(v[P]=h[P])}return v}var d6=typeof reportError=="function"?reportError:function(h){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var m=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h),error:h});if(!window.dispatchEvent(m))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",h);return}console.error(h)};function Ome(h){d6(h)}function Ime(h){console.error(h)}function Lme(h){d6(h)}function p6(h,m){try{var v=h.onUncaughtError;v(m.value,{componentStack:m.stack})}catch(S){setTimeout(function(){throw S})}}function zme(h,m,v){try{var S=h.onCaughtError;S(v.value,{componentStack:v.stack,errorBoundary:m.tag===1?m.stateNode:null})}catch(P){setTimeout(function(){throw P})}}function xM(h,m,v){return v=Qu(v),v.tag=3,v.payload={element:null},v.callback=function(){p6(h,m)},v}function Bme(h){return h=Qu(h),h.tag=3,h}function jme(h,m,v,S){var P=v.type.getDerivedStateFromError;if(typeof P=="function"){var B=S.value;h.payload=function(){return P(B)},h.callback=function(){zme(m,v,S)}}var K=v.stateNode;K!==null&&typeof K.componentDidCatch=="function"&&(h.callback=function(){zme(m,v,S),typeof P!="function"&&(sd===null?sd=new Set([this]):sd.add(this));var te=S.stack;this.componentDidCatch(S.value,{componentStack:te!==null?te:""})})}function ckt(h,m,v,S,P){if(v.flags|=32768,S!==null&&typeof S=="object"&&typeof S.then=="function"){if(m=v.alternate,m!==null&&uv(m,v,P,!0),v=Ii.current,v!==null){switch(v.tag){case 13:return Rs===null?UM():v.alternate===null&&nn===0&&(nn=3),v.flags&=-257,v.flags|=65536,v.lanes=P,S===X$?v.flags|=16384:(m=v.updateQueue,m===null?v.updateQueue=new Set([S]):m.add(S),YM(h,S,P)),!1;case 22:return v.flags|=65536,S===X$?v.flags|=16384:(m=v.updateQueue,m===null?(m={transitions:null,markerInstances:null,retryQueue:new Set([S])},v.updateQueue=m):(v=m.retryQueue,v===null?m.retryQueue=new Set([S]):v.add(S)),YM(h,S,P)),!1}throw Error(o(435,v.tag))}return YM(h,S,P),UM(),!1}if(ir)return m=Ii.current,m!==null?((m.flags&65536)===0&&(m.flags|=256),m.flags|=65536,m.lanes=P,S!==H$&&(h=Error(o(422),{cause:S}),cv(Pi(h,v)))):(S!==H$&&(m=Error(o(423),{cause:S}),cv(Pi(m,v))),h=h.current.alternate,h.flags|=65536,P&=-P,h.lanes|=P,S=Pi(S,v),P=xM(h.stateNode,S,P),Q$(h,P),nn!==4&&(nn=2)),!1;var B=Error(o(520),{cause:S});if(B=Pi(B,v),Nv===null?Nv=[B]:Nv.push(B),nn!==4&&(nn=2),m===null)return!0;S=Pi(S,v),v=m;do{switch(v.tag){case 3:return v.flags|=65536,h=P&-P,v.lanes|=h,h=xM(v.stateNode,S,h),Q$(v,h),!1;case 1:if(m=v.type,B=v.stateNode,(v.flags&128)===0&&(typeof m.getDerivedStateFromError=="function"||B!==null&&typeof B.componentDidCatch=="function"&&(sd===null||!sd.has(B))))return v.flags|=65536,P&=-P,v.lanes|=P,P=Bme(P),jme(P,h,v,S),Q$(v,P),!1}v=v.return}while(v!==null);return!1}var Fme=Error(o(461)),ao=!1;function xo(h,m,v,S){m.child=h===null?Dme(m,null,v,S):Jg(m,h.child,v,S)}function Hme(h,m,v,S,P){v=v.render;var B=m.ref;if("ref"in S){var K={};for(var te in S)te!=="ref"&&(K[te]=S[te])}else K=S;return gh(m),S=nM(h,m,v,K,B,P),te=oM(),h!==null&&!ao?(aM(h,m,P),Ic(h,m,P)):(ir&&te&&j$(m),m.flags|=1,xo(h,m,S,P),m.child)}function qme(h,m,v,S,P){if(h===null){var B=v.type;return typeof B=="function"&&!L$(B)&&B.defaultProps===void 0&&v.compare===null?(m.tag=15,m.type=B,Ume(h,m,B,S,P)):(h=Vk(v.type,null,S,m,m.mode,P),h.ref=m.ref,h.return=m,m.child=h)}if(B=h.child,!RM(h,P)){var K=B.memoizedProps;if(v=v.compare,v=v!==null?v:av,v(K,S)&&h.ref===m.ref)return Ic(h,m,P)}return m.flags|=1,h=Ac(B,S),h.ref=m.ref,h.return=m,m.child=h}function Ume(h,m,v,S,P){if(h!==null){var B=h.memoizedProps;if(av(B,S)&&h.ref===m.ref)if(ao=!1,m.pendingProps=S=B,RM(h,P))(h.flags&131072)!==0&&(ao=!0);else return m.lanes=h.lanes,Ic(h,m,P)}return wM(h,m,v,S,P)}function Vme(h,m,v){var S=m.pendingProps,P=S.children,B=h!==null?h.memoizedState:null;if(S.mode==="hidden"){if((m.flags&128)!==0){if(S=B!==null?B.baseLanes|v:v,h!==null){for(P=m.child=h.child,B=0;P!==null;)B=B|P.lanes|P.childLanes,P=P.sibling;m.childLanes=B&~S}else m.childLanes=0,m.child=null;return Yme(h,m,S,v)}if((v&536870912)!==0)m.memoizedState={baseLanes:0,cachePool:null},h!==null&&Kk(m,B!==null?B.cachePool:null),B!==null?Ufe(m,B):eM(),Pme(m);else return m.lanes=m.childLanes=536870912,Yme(h,m,B!==null?B.baseLanes|v:v,v)}else B!==null?(Kk(m,B.cachePool),Ufe(m,B),rd(),m.memoizedState=null):(h!==null&&Kk(m,null),eM(),rd());return xo(h,m,P,v),m.child}function Yme(h,m,v,S){var P=G$();return P=P===null?null:{parent:Fn._currentValue,pool:P},m.memoizedState={baseLanes:v,cachePool:P},h!==null&&Kk(m,null),eM(),Pme(m),h!==null&&uv(h,m,S,!0),null}function h6(h,m){var v=m.ref;if(v===null)h!==null&&h.ref!==null&&(m.flags|=4194816);else{if(typeof v!="function"&&typeof v!="object")throw Error(o(284));(h===null||h.ref!==v)&&(m.flags|=4194816)}}function wM(h,m,v,S,P){return gh(m),v=nM(h,m,v,S,void 0,P),S=oM(),h!==null&&!ao?(aM(h,m,P),Ic(h,m,P)):(ir&&S&&j$(m),m.flags|=1,xo(h,m,v,P),m.child)}function Wme(h,m,v,S,P,B){return gh(m),m.updateQueue=null,v=Yfe(m,S,v,P),Vfe(h),S=oM(),h!==null&&!ao?(aM(h,m,B),Ic(h,m,B)):(ir&&S&&j$(m),m.flags|=1,xo(h,m,v,B),m.child)}function Gme(h,m,v,S,P){if(gh(m),m.stateNode===null){var B=qg,K=v.contextType;typeof K=="object"&&K!==null&&(B=Bo(K)),B=new v(S,B),m.memoizedState=B.state!==null&&B.state!==void 0?B.state:null,B.updater=vM,m.stateNode=B,B._reactInternals=m,B=m.stateNode,B.props=S,B.state=m.memoizedState,B.refs={},K$(m),K=v.contextType,B.context=typeof K=="object"&&K!==null?Bo(K):qg,B.state=m.memoizedState,K=v.getDerivedStateFromProps,typeof K=="function"&&(bM(m,v,K,S),B.state=m.memoizedState),typeof v.getDerivedStateFromProps=="function"||typeof B.getSnapshotBeforeUpdate=="function"||typeof B.UNSAFE_componentWillMount!="function"&&typeof B.componentWillMount!="function"||(K=B.state,typeof B.componentWillMount=="function"&&B.componentWillMount(),typeof B.UNSAFE_componentWillMount=="function"&&B.UNSAFE_componentWillMount(),K!==B.state&&vM.enqueueReplaceState(B,B.state,null),yv(m,S,B,P),gv(),B.state=m.memoizedState),typeof B.componentDidMount=="function"&&(m.flags|=4194308),S=!0}else if(h===null){B=m.stateNode;var te=m.memoizedProps,se=vh(v,te);B.props=se;var ge=B.context,Te=v.contextType;K=qg,typeof Te=="object"&&Te!==null&&(K=Bo(Te));var Ne=v.getDerivedStateFromProps;Te=typeof Ne=="function"||typeof B.getSnapshotBeforeUpdate=="function",te=m.pendingProps!==te,Te||typeof B.UNSAFE_componentWillReceiveProps!="function"&&typeof B.componentWillReceiveProps!="function"||(te||ge!==K)&&Mme(m,B,S,K),Zu=!1;var ve=m.memoizedState;B.state=ve,yv(m,S,B,P),gv(),ge=m.memoizedState,te||ve!==ge||Zu?(typeof Ne=="function"&&(bM(m,v,Ne,S),ge=m.memoizedState),(se=Zu||$me(m,v,se,S,ve,ge,K))?(Te||typeof B.UNSAFE_componentWillMount!="function"&&typeof B.componentWillMount!="function"||(typeof B.componentWillMount=="function"&&B.componentWillMount(),typeof B.UNSAFE_componentWillMount=="function"&&B.UNSAFE_componentWillMount()),typeof B.componentDidMount=="function"&&(m.flags|=4194308)):(typeof B.componentDidMount=="function"&&(m.flags|=4194308),m.memoizedProps=S,m.memoizedState=ge),B.props=S,B.state=ge,B.context=K,S=se):(typeof B.componentDidMount=="function"&&(m.flags|=4194308),S=!1)}else{B=m.stateNode,Z$(h,m),K=m.memoizedProps,Te=vh(v,K),B.props=Te,Ne=m.pendingProps,ve=B.context,ge=v.contextType,se=qg,typeof ge=="object"&&ge!==null&&(se=Bo(ge)),te=v.getDerivedStateFromProps,(ge=typeof te=="function"||typeof B.getSnapshotBeforeUpdate=="function")||typeof B.UNSAFE_componentWillReceiveProps!="function"&&typeof B.componentWillReceiveProps!="function"||(K!==Ne||ve!==se)&&Mme(m,B,S,se),Zu=!1,ve=m.memoizedState,B.state=ve,yv(m,S,B,P),gv();var ke=m.memoizedState;K!==Ne||ve!==ke||Zu||h!==null&&h.dependencies!==null&&Gk(h.dependencies)?(typeof te=="function"&&(bM(m,v,te,S),ke=m.memoizedState),(Te=Zu||$me(m,v,Te,S,ve,ke,se)||h!==null&&h.dependencies!==null&&Gk(h.dependencies))?(ge||typeof B.UNSAFE_componentWillUpdate!="function"&&typeof B.componentWillUpdate!="function"||(typeof B.componentWillUpdate=="function"&&B.componentWillUpdate(S,ke,se),typeof B.UNSAFE_componentWillUpdate=="function"&&B.UNSAFE_componentWillUpdate(S,ke,se)),typeof B.componentDidUpdate=="function"&&(m.flags|=4),typeof B.getSnapshotBeforeUpdate=="function"&&(m.flags|=1024)):(typeof B.componentDidUpdate!="function"||K===h.memoizedProps&&ve===h.memoizedState||(m.flags|=4),typeof B.getSnapshotBeforeUpdate!="function"||K===h.memoizedProps&&ve===h.memoizedState||(m.flags|=1024),m.memoizedProps=S,m.memoizedState=ke),B.props=S,B.state=ke,B.context=se,S=Te):(typeof B.componentDidUpdate!="function"||K===h.memoizedProps&&ve===h.memoizedState||(m.flags|=4),typeof B.getSnapshotBeforeUpdate!="function"||K===h.memoizedProps&&ve===h.memoizedState||(m.flags|=1024),S=!1)}return B=S,h6(h,m),S=(m.flags&128)!==0,B||S?(B=m.stateNode,v=S&&typeof v.getDerivedStateFromError!="function"?null:B.render(),m.flags|=1,h!==null&&S?(m.child=Jg(m,h.child,null,P),m.child=Jg(m,null,v,P)):xo(h,m,v,P),m.memoizedState=B.state,h=m.child):h=Ic(h,m,P),h}function Xme(h,m,v,S){return sv(),m.flags|=256,xo(h,m,v,S),m.child}var kM={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function _M(h){return{baseLanes:h,cachePool:Ife()}}function EM(h,m,v){return h=h!==null?h.childLanes&~v:0,m&&(h|=Li),h}function Kme(h,m,v){var S=m.pendingProps,P=!1,B=(m.flags&128)!==0,K;if((K=B)||(K=h!==null&&h.memoizedState===null?!1:(Hn.current&2)!==0),K&&(P=!0,m.flags&=-129),K=(m.flags&32)!==0,m.flags&=-33,h===null){if(ir){if(P?td(m):rd(),ir){var te=rn,se;if(se=te){e:{for(se=te,te=Ts;se.nodeType!==8;){if(!te){te=null;break e}if(se=ql(se.nextSibling),se===null){te=null;break e}}te=se}te!==null?(m.memoizedState={dehydrated:te,treeContext:dh!==null?{id:Nc,overflow:Dc}:null,retryLane:536870912,hydrationErrors:null},se=qa(18,null,null,0),se.stateNode=te,se.return=m,m.child=se,Wo=m,rn=null,se=!0):se=!1}se||fh(m)}if(te=m.memoizedState,te!==null&&(te=te.dehydrated,te!==null))return lO(te)?m.lanes=32:m.lanes=536870912,null;Oc(m)}return te=S.children,S=S.fallback,P?(rd(),P=m.mode,te=f6({mode:"hidden",children:te},P),S=uh(S,P,v,null),te.return=m,S.return=m,te.sibling=S,m.child=te,P=m.child,P.memoizedState=_M(v),P.childLanes=EM(h,K,v),m.memoizedState=kM,S):(td(m),SM(m,te))}if(se=h.memoizedState,se!==null&&(te=se.dehydrated,te!==null)){if(B)m.flags&256?(td(m),m.flags&=-257,m=CM(h,m,v)):m.memoizedState!==null?(rd(),m.child=h.child,m.flags|=128,m=null):(rd(),P=S.fallback,te=m.mode,S=f6({mode:"visible",children:S.children},te),P=uh(P,te,v,null),P.flags|=2,S.return=m,P.return=m,S.sibling=P,m.child=S,Jg(m,h.child,null,v),S=m.child,S.memoizedState=_M(v),S.childLanes=EM(h,K,v),m.memoizedState=kM,m=P);else if(td(m),lO(te)){if(K=te.nextSibling&&te.nextSibling.dataset,K)var ge=K.dgst;K=ge,S=Error(o(419)),S.stack="",S.digest=K,cv({value:S,source:null,stack:null}),m=CM(h,m,v)}else if(ao||uv(h,m,v,!1),K=(v&h.childLanes)!==0,ao||K){if(K=Rr,K!==null&&(S=v&-v,S=(S&42)!==0?1:Jp(S),S=(S&(K.suspendedLanes|v))!==0?0:S,S!==0&&S!==se.retryLane))throw se.retryLane=S,Hg(h,S),Ga(K,h,S),Fme;te.data==="$?"||UM(),m=CM(h,m,v)}else te.data==="$?"?(m.flags|=192,m.child=h.child,m=null):(h=se.treeContext,rn=ql(te.nextSibling),Wo=m,ir=!0,hh=null,Ts=!1,h!==null&&(Mi[Oi++]=Nc,Mi[Oi++]=Dc,Mi[Oi++]=dh,Nc=h.id,Dc=h.overflow,dh=m),m=SM(m,S.children),m.flags|=4096);return m}return P?(rd(),P=S.fallback,te=m.mode,se=h.child,ge=se.sibling,S=Ac(se,{mode:"hidden",children:S.children}),S.subtreeFlags=se.subtreeFlags&65011712,ge!==null?P=Ac(ge,P):(P=uh(P,te,v,null),P.flags|=2),P.return=m,S.return=m,S.sibling=P,m.child=S,S=P,P=m.child,te=h.child.memoizedState,te===null?te=_M(v):(se=te.cachePool,se!==null?(ge=Fn._currentValue,se=se.parent!==ge?{parent:ge,pool:ge}:se):se=Ife(),te={baseLanes:te.baseLanes|v,cachePool:se}),P.memoizedState=te,P.childLanes=EM(h,K,v),m.memoizedState=kM,S):(td(m),v=h.child,h=v.sibling,v=Ac(v,{mode:"visible",children:S.children}),v.return=m,v.sibling=null,h!==null&&(K=m.deletions,K===null?(m.deletions=[h],m.flags|=16):K.push(h)),m.child=v,m.memoizedState=null,v)}function SM(h,m){return m=f6({mode:"visible",children:m},h.mode),m.return=h,h.child=m}function f6(h,m){return h=qa(22,h,null,m),h.lanes=0,h.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},h}function CM(h,m,v){return Jg(m,h.child,null,v),h=SM(m,m.pendingProps.children),h.flags|=2,m.memoizedState=null,h}function Zme(h,m,v){h.lanes|=m;var S=h.alternate;S!==null&&(S.lanes|=m),U$(h.return,m,v)}function TM(h,m,v,S,P){var B=h.memoizedState;B===null?h.memoizedState={isBackwards:m,rendering:null,renderingStartTime:0,last:S,tail:v,tailMode:P}:(B.isBackwards=m,B.rendering=null,B.renderingStartTime=0,B.last=S,B.tail=v,B.tailMode=P)}function Qme(h,m,v){var S=m.pendingProps,P=S.revealOrder,B=S.tail;if(xo(h,m,S.children,v),S=Hn.current,(S&2)!==0)S=S&1|2,m.flags|=128;else{if(h!==null&&(h.flags&128)!==0)e:for(h=m.child;h!==null;){if(h.tag===13)h.memoizedState!==null&&Zme(h,v,m);else if(h.tag===19)Zme(h,v,m);else if(h.child!==null){h.child.return=h,h=h.child;continue}if(h===m)break e;for(;h.sibling===null;){if(h.return===null||h.return===m)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}S&=1}switch(z(Hn,S),P){case"forwards":for(v=m.child,P=null;v!==null;)h=v.alternate,h!==null&&u6(h)===null&&(P=v),v=v.sibling;v=P,v===null?(P=m.child,m.child=null):(P=v.sibling,v.sibling=null),TM(m,!1,P,v,B);break;case"backwards":for(v=null,P=m.child,m.child=null;P!==null;){if(h=P.alternate,h!==null&&u6(h)===null){m.child=P;break}h=P.sibling,P.sibling=v,v=P,P=h}TM(m,!0,v,null,B);break;case"together":TM(m,!1,null,null,void 0);break;default:m.memoizedState=null}return m.child}function Ic(h,m,v){if(h!==null&&(m.dependencies=h.dependencies),ld|=m.lanes,(v&m.childLanes)===0)if(h!==null){if(uv(h,m,v,!1),(v&m.childLanes)===0)return null}else return null;if(h!==null&&m.child!==h.child)throw Error(o(153));if(m.child!==null){for(h=m.child,v=Ac(h,h.pendingProps),m.child=v,v.return=m;h.sibling!==null;)h=h.sibling,v=v.sibling=Ac(h,h.pendingProps),v.return=m;v.sibling=null}return m.child}function RM(h,m){return(h.lanes&m)!==0?!0:(h=h.dependencies,!!(h!==null&&Gk(h)))}function ukt(h,m,v){switch(m.tag){case 3:ee(m,m.stateNode.containerInfo),Ku(m,Fn,h.memoizedState.cache),sv();break;case 27:case 5:pe(m);break;case 4:ee(m,m.stateNode.containerInfo);break;case 10:Ku(m,m.type,m.memoizedProps.value);break;case 13:var S=m.memoizedState;if(S!==null)return S.dehydrated!==null?(td(m),m.flags|=128,null):(v&m.child.childLanes)!==0?Kme(h,m,v):(td(m),h=Ic(h,m,v),h!==null?h.sibling:null);td(m);break;case 19:var P=(h.flags&128)!==0;if(S=(v&m.childLanes)!==0,S||(uv(h,m,v,!1),S=(v&m.childLanes)!==0),P){if(S)return Qme(h,m,v);m.flags|=128}if(P=m.memoizedState,P!==null&&(P.rendering=null,P.tail=null,P.lastEffect=null),z(Hn,Hn.current),S)break;return null;case 22:case 23:return m.lanes=0,Vme(h,m,v);case 24:Ku(m,Fn,h.memoizedState.cache)}return Ic(h,m,v)}function Jme(h,m,v){if(h!==null)if(h.memoizedProps!==m.pendingProps)ao=!0;else{if(!RM(h,v)&&(m.flags&128)===0)return ao=!1,ukt(h,m,v);ao=(h.flags&131072)!==0}else ao=!1,ir&&(m.flags&1048576)!==0&&Afe(m,Wk,m.index);switch(m.lanes=0,m.tag){case 16:e:{h=m.pendingProps;var S=m.elementType,P=S._init;if(S=P(S._payload),m.type=S,typeof S=="function")L$(S)?(h=vh(S,h),m.tag=1,m=Gme(null,m,S,h,v)):(m.tag=0,m=wM(null,m,S,h,v));else{if(S!=null){if(P=S.$$typeof,P===T){m.tag=11,m=Hme(null,m,S,h,v);break e}else if(P===D){m.tag=14,m=qme(null,m,S,h,v);break e}}throw m=O(S)||S,Error(o(306,m,""))}}return m;case 0:return wM(h,m,m.type,m.pendingProps,v);case 1:return S=m.type,P=vh(S,m.pendingProps),Gme(h,m,S,P,v);case 3:e:{if(ee(m,m.stateNode.containerInfo),h===null)throw Error(o(387));S=m.pendingProps;var B=m.memoizedState;P=B.element,Z$(h,m),yv(m,S,null,v);var K=m.memoizedState;if(S=K.cache,Ku(m,Fn,S),S!==B.cache&&V$(m,[Fn],v,!0),gv(),S=K.element,B.isDehydrated)if(B={element:S,isDehydrated:!1,cache:K.cache},m.updateQueue.baseState=B,m.memoizedState=B,m.flags&256){m=Xme(h,m,S,v);break e}else if(S!==P){P=Pi(Error(o(424)),m),cv(P),m=Xme(h,m,S,v);break e}else{switch(h=m.stateNode.containerInfo,h.nodeType){case 9:h=h.body;break;default:h=h.nodeName==="HTML"?h.ownerDocument.body:h}for(rn=ql(h.firstChild),Wo=m,ir=!0,hh=null,Ts=!0,v=Dme(m,null,S,v),m.child=v;v;)v.flags=v.flags&-3|4096,v=v.sibling}else{if(sv(),S===P){m=Ic(h,m,v);break e}xo(h,m,S,v)}m=m.child}return m;case 26:return h6(h,m),h===null?(v=n1e(m.type,null,m.pendingProps,null))?m.memoizedState=v:ir||(v=m.type,h=m.pendingProps,S=R6(Z.current).createElement(v),S[Mn]=m,S[oo]=h,ko(S,v,h),tn(S),m.stateNode=S):m.memoizedState=n1e(m.type,h.memoizedProps,m.pendingProps,h.memoizedState),null;case 27:return pe(m),h===null&&ir&&(S=m.stateNode=e1e(m.type,m.pendingProps,Z.current),Wo=m,Ts=!0,P=rn,dd(m.type)?(sO=P,rn=ql(S.firstChild)):rn=P),xo(h,m,m.pendingProps.children,v),h6(h,m),h===null&&(m.flags|=4194304),m.child;case 5:return h===null&&ir&&((P=S=rn)&&(S=zkt(S,m.type,m.pendingProps,Ts),S!==null?(m.stateNode=S,Wo=m,rn=ql(S.firstChild),Ts=!1,P=!0):P=!1),P||fh(m)),pe(m),P=m.type,B=m.pendingProps,K=h!==null?h.memoizedProps:null,S=B.children,oO(P,B)?S=null:K!==null&&oO(P,K)&&(m.flags|=32),m.memoizedState!==null&&(P=nM(h,m,rkt,null,null,v),Bv._currentValue=P),h6(h,m),xo(h,m,S,v),m.child;case 6:return h===null&&ir&&((h=v=rn)&&(v=Bkt(v,m.pendingProps,Ts),v!==null?(m.stateNode=v,Wo=m,rn=null,h=!0):h=!1),h||fh(m)),null;case 13:return Kme(h,m,v);case 4:return ee(m,m.stateNode.containerInfo),S=m.pendingProps,h===null?m.child=Jg(m,null,S,v):xo(h,m,S,v),m.child;case 11:return Hme(h,m,m.type,m.pendingProps,v);case 7:return xo(h,m,m.pendingProps,v),m.child;case 8:return xo(h,m,m.pendingProps.children,v),m.child;case 12:return xo(h,m,m.pendingProps.children,v),m.child;case 10:return S=m.pendingProps,Ku(m,m.type,S.value),xo(h,m,S.children,v),m.child;case 9:return P=m.type._context,S=m.pendingProps.children,gh(m),P=Bo(P),S=S(P),m.flags|=1,xo(h,m,S,v),m.child;case 14:return qme(h,m,m.type,m.pendingProps,v);case 15:return Ume(h,m,m.type,m.pendingProps,v);case 19:return Qme(h,m,v);case 31:return S=m.pendingProps,v=m.mode,S={mode:S.mode,children:S.children},h===null?(v=f6(S,v),v.ref=m.ref,m.child=v,v.return=m,m=v):(v=Ac(h.child,S),v.ref=m.ref,m.child=v,v.return=m,m=v),m;case 22:return Vme(h,m,v);case 24:return gh(m),S=Bo(Fn),h===null?(P=G$(),P===null&&(P=Rr,B=Y$(),P.pooledCache=B,B.refCount++,B!==null&&(P.pooledCacheLanes|=v),P=B),m.memoizedState={parent:S,cache:P},K$(m),Ku(m,Fn,P)):((h.lanes&v)!==0&&(Z$(h,m),yv(m,null,null,v),gv()),P=h.memoizedState,B=m.memoizedState,P.parent!==S?(P={parent:S,cache:S},m.memoizedState=P,m.lanes===0&&(m.memoizedState=m.updateQueue.baseState=P),Ku(m,Fn,S)):(S=B.cache,Ku(m,Fn,S),S!==P.cache&&V$(m,[Fn],v,!0))),xo(h,m,m.pendingProps.children,v),m.child;case 29:throw m.pendingProps}throw Error(o(156,m.tag))}function Lc(h){h.flags|=4}function ege(h,m){if(m.type!=="stylesheet"||(m.state.loading&4)!==0)h.flags&=-16777217;else if(h.flags|=16777216,!s1e(m)){if(m=Ii.current,m!==null&&((rr&4194048)===rr?Rs!==null:(rr&62914560)!==rr&&(rr&536870912)===0||m!==Rs))throw fv=X$,Lfe;h.flags|=8192}}function m6(h,m){m!==null&&(h.flags|=4),h.flags&16384&&(m=h.tag!==22?_s():536870912,h.lanes|=m,n1|=m)}function Ev(h,m){if(!ir)switch(h.tailMode){case"hidden":m=h.tail;for(var v=null;m!==null;)m.alternate!==null&&(v=m),m=m.sibling;v===null?h.tail=null:v.sibling=null;break;case"collapsed":v=h.tail;for(var S=null;v!==null;)v.alternate!==null&&(S=v),v=v.sibling;S===null?m||h.tail===null?h.tail=null:h.tail.sibling=null:S.sibling=null}}function Gr(h){var m=h.alternate!==null&&h.alternate.child===h.child,v=0,S=0;if(m)for(var P=h.child;P!==null;)v|=P.lanes|P.childLanes,S|=P.subtreeFlags&65011712,S|=P.flags&65011712,P.return=h,P=P.sibling;else for(P=h.child;P!==null;)v|=P.lanes|P.childLanes,S|=P.subtreeFlags,S|=P.flags,P.return=h,P=P.sibling;return h.subtreeFlags|=S,h.childLanes=v,m}function dkt(h,m,v){var S=m.pendingProps;switch(F$(m),m.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gr(m),null;case 1:return Gr(m),null;case 3:return v=m.stateNode,S=null,h!==null&&(S=h.memoizedState.cache),m.memoizedState.cache!==S&&(m.flags|=2048),$c(Fn),re(),v.pendingContext&&(v.context=v.pendingContext,v.pendingContext=null),(h===null||h.child===null)&&(lv(m)?Lc(m):h===null||h.memoizedState.isDehydrated&&(m.flags&256)===0||(m.flags|=1024,Pfe())),Gr(m),null;case 26:return v=m.memoizedState,h===null?(Lc(m),v!==null?(Gr(m),ege(m,v)):(Gr(m),m.flags&=-16777217)):v?v!==h.memoizedState?(Lc(m),Gr(m),ege(m,v)):(Gr(m),m.flags&=-16777217):(h.memoizedProps!==S&&Lc(m),Gr(m),m.flags&=-16777217),null;case 27:Ce(m),v=Z.current;var P=m.type;if(h!==null&&m.stateNode!=null)h.memoizedProps!==S&&Lc(m);else{if(!S){if(m.stateNode===null)throw Error(o(166));return Gr(m),null}h=W.current,lv(m)?Nfe(m):(h=e1e(P,S,v),m.stateNode=h,Lc(m))}return Gr(m),null;case 5:if(Ce(m),v=m.type,h!==null&&m.stateNode!=null)h.memoizedProps!==S&&Lc(m);else{if(!S){if(m.stateNode===null)throw Error(o(166));return Gr(m),null}if(h=W.current,lv(m))Nfe(m);else{switch(P=R6(Z.current),h){case 1:h=P.createElementNS("http://www.w3.org/2000/svg",v);break;case 2:h=P.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;default:switch(v){case"svg":h=P.createElementNS("http://www.w3.org/2000/svg",v);break;case"math":h=P.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;case"script":h=P.createElement("div"),h.innerHTML="