From 1fc03134ca0ee202f967013ef88e1e01dfb2445d Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 08:23:40 -0400 Subject: [PATCH 01/21] docs: add VSCode extension design spec Design for integrating hana-cli into VSCode as a native extension with embedded Express server, custom editors for HANA artifacts, and the full Vue UI surfaced as webview panels. --- .../2026-05-17-vscode-extension-design.md | 338 ++++++++++++++++++ 1 file changed, 338 insertions(+) create mode 100644 docs/superpowers/specs/2026-05-17-vscode-extension-design.md diff --git a/docs/superpowers/specs/2026-05-17-vscode-extension-design.md b/docs/superpowers/specs/2026-05-17-vscode-extension-design.md new file mode 100644 index 00000000..d8f9f02a --- /dev/null +++ b/docs/superpowers/specs/2026-05-17-vscode-extension-design.md @@ -0,0 +1,338 @@ +# VSCode Extension for hana-cli + +**Date:** 2026-05-17 +**Status:** Draft +**Author:** Thomas Jung + Claude + +## Summary + +A VSCode extension that surfaces hana-cli's Vue Web UI inside VSCode as native webviews, registers custom editors for HANA design-time artifacts (`.hdbcalculationview`, `.hdbtable`, `.hdbview`, etc.), and provides the full hana-cli tools experience as an editor panel — all powered by an embedded Express server running in-process on the extension host. + +## Goals + +1. Open `.hdbcalculationview` files in a visual graph editor natively in VSCode +2. Provide rich read-only inspectors for HANA artifacts (tables, views, procedures, functions) +3. Surface all 30+ hana-cli UI views inside VSCode without requiring a browser +4. Work in all VSCode environments: Desktop, SSH Remote, Containers, BAS, Codespaces +5. Maximize code reuse — the Vue app and Express REST APIs remain the single source of truth + +## Non-Goals + +- Replacing the standalone `hana-cli ui` browser experience (it continues to work independently) +- Reimplementing views in VSCode-native tree views or custom UI (we embed the Vue app) +- Supporting VSCode Web (browser-only VSCode) — requires workspace extension host + +## Architecture + +### Integration Model: Hybrid Direct Webview + Embedded Server + +``` +┌─────────────────────────────────────────────────────────────────┐ +│ VSCode Extension Host (local or remote) │ +│ │ +│ ┌──────────────────┐ ┌─────────────────────────────┐ │ +│ │ Extension Core │ │ Embedded Express Server │ │ +│ │ │ │ (started on activation) │ │ +│ │ • Activation │ │ │ │ +│ │ • Server mgmt │◄─────►│ • /hana/* REST APIs │ │ +│ │ • Connection │ │ • /websockets (WS) │ │ +│ │ • Commands │ │ • File I/O (calcview) │ │ +│ │ • Custom Editor │ │ │ │ +│ └────────┬─────────┘ └──────────────┬──────────────┘ │ +│ │ │ │ +│ │ acquireVsCodeApi() │ fetch() │ +│ │ postMessage │ │ +│ ▼ ▼ │ +│ ┌─────────────────────────────────────────────────────────┐ │ +│ │ VSCode Webview (Vue App) │ │ +│ │ │ │ +│ │ ┌─────────────┐ ┌──────────────┐ ┌──────────────┐ │ │ +│ │ │ Calc View │ │ Artifact │ │ All Other │ │ │ +│ │ │ Editor │ │ Inspectors │ │ Views │ │ │ +│ │ │ (Custom │ │ (Table,View, │ │ (30+ pages) │ │ │ +│ │ │ Editor) │ │ Proc, Func) │ │ │ │ │ +│ │ └─────────────┘ └──────────────┘ └──────────────┘ │ │ +│ └─────────────────────────────────────────────────────────┘ │ +└─────────────────────────────────────────────────────────────────┘ + │ + │ HANA Client (hdb driver) + ▼ + ┌─────────────────┐ + │ SAP HANA DB │ + └─────────────────┘ +``` + +### Key Architectural Decisions + +| Decision | Choice | Rationale | +|----------|--------|-----------| +| Server model | In-process Express (not child process) | No PATH issues, no version mismatch, shares extension host Node.js | +| Webview loading | Direct bundle (not iframe) | Native VSCode CSP, theme sync, acquireVsCodeApi() access | +| Build strategy | Dual Vite target | Standalone web + webview bundle from same source | +| File I/O (calc view) | CustomEditorProvider via postMessage | VSCode owns file lifecycle (dirty, save, revert, backup) | +| File I/O (inspectors) | CustomReadonlyEditorProvider | Parse artifact → query HANA via embedded server | +| Remote support | `extensionKind: ["workspace"]` | Extension runs where files are (remote host) | +| Connection resolution | CAP-first with fallback chain | Matches primary audience (CAP developers) | + +## Directory Structure + +``` +vscode-extension/ +├── src/ +│ ├── extension.ts # activate/deactivate, register providers +│ ├── server/ +│ │ ├── lifecycle.ts # Start/stop embedded Express server +│ │ └── port.ts # Random port allocation + discovery +│ ├── connection/ +│ │ ├── resolver.ts # CAP-first connection detection +│ │ ├── manager.ts # VSCode SecretStorage fallback +│ │ └── statusBar.ts # Connection status indicator +│ ├── editors/ +│ │ ├── calcViewEditor.ts # CustomEditorProvider for .hdbcalculationview +│ │ ├── artifactInspector.ts # CustomReadonlyEditorProvider for .hdbtable, etc. +│ │ └── toolsPanel.ts # Full UI panel provider +│ ├── webview/ +│ │ ├── bridge.ts # postMessage protocol (extension ↔ Vue) +│ │ └── htmlProvider.ts # Generate webview HTML with nonces, URIs +│ └── commands.ts # VSCode command palette entries +├── package.json # Extension manifest +├── tsconfig.json +└── esbuild.config.mjs # Bundle for distribution +``` + +## Custom Editors + +### Calculation View Editor (Read/Write) + +Registered as the default editor for `.hdbcalculationview` files. Users double-click a calc view file and get the visual graph editor. + +**File lifecycle:** + +1. **Open:** VSCode calls `resolveCustomEditor(document, webviewPanel)`. Extension reads file content via `document.getText()`, creates webview, sends `{ type: 'fileContent', xml }`. Vue parses XML and renders the graph. +2. **Edit:** Mutations in the canvas fire `{ type: 'dirty', value: true }`. Extension marks document dirty. Undo/redo stays in Vue's command-pattern composable. +3. **Save (Ctrl+S):** VSCode calls `saveCustomDocument()`. Extension sends `{ type: 'requestSave' }` → Vue serializes model to XML → sends `{ type: 'save', xml }` → extension writes via `workspace.fs.writeFile()`. +4. **Revert:** Extension re-reads file from disk, re-sends `fileContent` to webview. +5. **Backup:** Extension implements `backupCustomDocument()` for hot exit / crash recovery. + +**Escape hatch:** Right-click → "Open With" → "Text Editor" for raw XML editing. + +### Artifact Inspectors (Read-Only) + +| File Extension | View | Provider | +|---|---|---| +| `.hdbtable`, `.hdbmigrationtable` | Inspect Table | `CustomReadonlyEditorProvider` | +| `.hdbview` | Inspect View | `CustomReadonlyEditorProvider` | +| `.hdbprocedure` | Inspect Procedure | `CustomReadonlyEditorProvider` | +| `.hdbfunction` | Inspect Function | `CustomReadonlyEditorProvider` | +| `.hdbsynonym` | Synonym Viewer | `CustomReadonlyEditorProvider` | +| `.hdbrole` | Role Viewer | `CustomReadonlyEditorProvider` | +| `.hdbsequence` | Sequence Viewer | `CustomReadonlyEditorProvider` | + +**Flow:** Open file → parse artifact name/schema → query HANA via embedded server REST API → display live metadata (columns, indexes, size, dependencies). + +**When no connection:** Shows "Connect to HANA to view live metadata" prompt with a connection action button. + +## Full UI Panel + +- **Activation:** Activity bar icon, command palette (`HANA: Open hana-cli Tools`), or keyboard shortcut +- **Behavior:** Opens as an editor tab (not sidebar). Vue app's internal navigation handles routing. +- **State:** `retainContextWhenHidden: true` preserves state across tab switches +- **Deep linking:** VSCode commands navigate to specific views within the panel + +## Connection Management + +### Resolution Order + +``` +1. CAP project detection + ├── Workspace has package.json with @sap/cds? + ├── Run `cds env get requires.db.credentials` + └── Or parse .cdsrc-private.json + +2. Workspace file detection (existing hana-cli fallback) + ├── default-env.json (workspace root or parent) + ├── .env with VCAP_SERVICES + └── default-env-admin.json + +3. VSCode-managed connections (fallback) + ├── Stored in VSCode SecretStorage + ├── Managed via "HANA: Add Connection" command + └── Displayed in status bar +``` + +### UX + +- **Status bar:** `$(database) HANA: HXE @ localhost:39015` or `$(warning) HANA: Not Connected` +- **Click status bar:** Quick pick → switch, add, edit, test connection +- **Multi-connection:** Per-workspace-folder resolution, active connection shown in status bar + +## Webview Integration + +### Environment Adapter Pattern + +```typescript +// app/vue/src/adapters/environment.ts +export interface EnvironmentAdapter { + getApiBaseUrl(): string + getWebSocketUrl(): string + notifyDirtyState(dirty: boolean): void + requestSave(): void + getTheme(): 'light' | 'dark' +} + +// Implementations: +// - BrowserAdapter (standalone web, uses window.location.origin) +// - VSCodeAdapter (postMessage bridge, port from extension) +``` + +### Dual-Target Vite Build + +``` +app/vue/ +├── vite.config.ts # Standalone: base '/ui/', dev server proxy +├── vite.config.vscode.ts # Webview: base '', inline assets, no proxy +``` + +Webview build differences: +- `base: ''` (relative paths) +- Assets referenced via placeholder tokens → replaced with `webviewUri`s by `htmlProvider.ts` +- Entry includes `acquireVsCodeApi()` initialization +- API base URL injected via postMessage from extension + +### Message Bridge Protocol + +| Direction | Message | Purpose | +|-----------|---------|---------| +| ext → webview | `{ type: 'serverReady', port }` | Webview discovers API endpoint | +| ext → webview | `{ type: 'themeChanged', theme }` | Theme synchronization | +| ext → webview | `{ type: 'fileContent', xml }` | Custom editor file data | +| ext → webview | `{ type: 'requestSave' }` | Trigger serialization | +| ext → webview | `{ type: 'openArtifact', kind, name, schema }` | Inspector target | +| webview → ext | `{ type: 'dirty', value }` | Unsaved changes indicator | +| webview → ext | `{ type: 'save', xml }` | Serialized content for save | +| webview → ext | `{ type: 'showMessage', level, text }` | Native VSCode notifications | +| webview → ext | `{ type: 'openFile', path }` | Request to open file in editor | + +## Server Lifecycle + +1. Extension activates when workspace contains `.hdbcalculationview`, `.hdbtable`, `default-env.json`, or CAP project markers +2. On first webview/editor open, extension starts Express server in-process on random available port bound to `127.0.0.1` +3. Server port communicated to webviews via `postMessage` +4. Server shuts down on extension deactivation or when last webview closes (30s grace period) +5. In remote environments, server and webview are co-located on extension host — no port forwarding needed + +## Commands & Context Menus + +### Command Palette + +| Command | Action | +|---------|--------| +| `HANA: Open hana-cli Tools` | Full UI panel | +| `HANA: New Query Editor` | Deep-link to query view | +| `HANA: Show Tables` | Deep-link to tables view | +| `HANA: Show Views` | Deep-link to views view | +| `HANA: System Info` | Deep-link to system info | +| `HANA: Add Connection` | Connection manager | +| `HANA: Import Data` | Import wizard | + +### Context Menus + +- Right-click `.hdbtable` → "HANA: Inspect Table" +- Right-click `.hdbcalculationview` → "HANA: Open in Calc View Editor" +- Right-click `.csv` → "HANA: Import to Table" + +## Build Pipeline & Distribution + +### Build Chain + +``` +npm run build:vscode + ├─ 1. Build Vue app for webview (vite.config.vscode.ts → app/vue/dist-vscode/) + ├─ 2. Compile extension TypeScript (tsc → vscode-extension/out/) + ├─ 3. Bundle with esbuild (out/ + deps → vscode-extension/dist/extension.js) + └─ 4. Package with vsce (dist/ + dist-vscode/ → hana-cli-x.x.x.vsix) +``` + +### Bundle Contents (.vsix) + +- `dist/extension.js` — esbuild-bundled extension (includes Express, routes, utils, hdb driver) +- `dist-vscode/` — Vue app built for webview +- `_i18n/` — Localization bundles +- `package.json` — Extension manifest + +### Distribution Channels + +1. **VSCode Marketplace** — Public, searchable, auto-updates (stable releases) +2. **GitHub Releases** — `.vsix` attached to releases (pre-release + stable) +3. **CLI installer** — `hana-cli vscode install` command + +### CLI Installer Command + +```bash +hana-cli vscode install # Install extension via `code --install-extension` +hana-cli vscode uninstall # Remove extension +hana-cli vscode status # Check installed version +``` + +Behavior: +- Detects `code` / `codium` CLI in PATH +- Downloads latest `.vsix` from GitHub Releases (or uses bundled copy if running from npm install) +- Supports `--insiders` flag for VSCode Insiders +- Provides manual instructions if `code` CLI unavailable + +### CI/CD + +GitHub Actions workflow on tag push: +- Build `.vsix` on Windows/macOS/Linux +- Run extension tests with `@vscode/test-electron` +- Publish to Marketplace (stable tags) +- Attach `.vsix` to GitHub Release + +## Testing Strategy + +| Layer | Tool | Scope | +|-------|------|-------| +| Extension unit | `@vscode/test-electron` + Mocha | Activation, server lifecycle, connection resolver, commands | +| Webview (Vue) | Existing Vitest suite | Components, adapter layer, message bridge (mocked) | +| End-to-end | `@vscode/test-electron` | Open artifact → verify webview renders → simulate save | +| Server (unchanged) | Existing `npm test` | All REST APIs, CLI commands | + +## Extension Manifest Highlights + +```jsonc +{ + "name": "hana-cli", + "displayName": "hana-cli Tools for SAP HANA", + "publisher": "SAP-samples", + "engines": { "vscode": "^1.85.0" }, + "extensionKind": ["workspace"], + "activationEvents": [ + "workspaceContains:**/*.hdbcalculationview", + "workspaceContains:**/*.hdbtable", + "workspaceContains:**/default-env.json", + "workspaceContains:**/.cdsrc-private.json" + ], + "capabilities": { + "untrustedWorkspaces": { "supported": false } + } +} +``` + +## Risks & Mitigations + +| Risk | Impact | Mitigation | +|------|--------|------------| +| `.vsix` bundle size (Express + all deps) | Large download, slow install | esbuild tree-shaking, exclude dev-only code | +| Port conflicts in shared environments | Server fails to start | Random port + retry with backoff | +| hdb driver platform compatibility | Extension fails on some OS | hdb is pure JS — no native modules | +| Webview memory (30+ views retained) | High memory usage | Lazy-load routes, dispose idle webviews | +| CSP restrictions for fetch to localhost | API calls blocked | Webview CSP includes `connect-src http://localhost:*` | +| Theme mismatch (UI5 vs VSCode) | Visual inconsistency | Map VSCode CSS variables to UI5 theme params | + +## Future Considerations + +- **Tree view for schema browsing** — Native VSCode tree view as lightweight alternative to full panel +- **Notebook integration** — HANA SQL notebooks using VSCode's notebook API +- **Code lens** — Show record counts, last-modified on `.hdbtable` files inline +- **Diagnostics** — Lint `.hdbcalculationview` XML for common errors +- **MCP bridge** — Connect the extension's server to the MCP protocol for AI tool integration within VSCode From 0b2de231d34bb0054667c0499b98f6c08fbe1f79 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 08:38:08 -0400 Subject: [PATCH 02/21] docs: add VSCode extension implementation plan 15-task implementation plan covering extension scaffold, server lifecycle, webview integration, custom editors, connection management, CLI installer, build pipeline, and CI/CD. --- .../plans/2026-05-17-vscode-extension.md | 1128 +++++++++++++++++ 1 file changed, 1128 insertions(+) create mode 100644 docs/superpowers/plans/2026-05-17-vscode-extension.md diff --git a/docs/superpowers/plans/2026-05-17-vscode-extension.md b/docs/superpowers/plans/2026-05-17-vscode-extension.md new file mode 100644 index 00000000..8101a912 --- /dev/null +++ b/docs/superpowers/plans/2026-05-17-vscode-extension.md @@ -0,0 +1,1128 @@ +# VSCode Extension Implementation Plan + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. + +**Goal:** Create a VSCode extension that embeds hana-cli's Vue Web UI as native webviews, registers custom editors for HANA artifacts, and provides a full tools panel — powered by an in-process Express server. + +**Architecture:** The extension starts an Express server in-process on activation. Vue webviews load from a dedicated Vite build and communicate with the extension via `acquireVsCodeApi().postMessage()`. Data flows from webview → extension → embedded server → HANA. A `CustomEditorProvider` handles `.hdbcalculationview` files (read/write), and `CustomReadonlyEditorProvider` handles other artifact types. + +**Tech Stack:** TypeScript, VSCode Extension API, Express 5, Vue 3, Vite 6, esbuild, UI5 Web Components + +**Spec:** `docs/superpowers/specs/2026-05-17-vscode-extension-design.md` + +--- + +## File Structure + +``` +vscode-extension/ +├── src/ +│ ├── extension.ts # Activate/deactivate, register all providers +│ ├── server/ +│ │ ├── lifecycle.ts # Start/stop Express server in-process +│ │ └── port.ts # Find available port with retry +│ ├── connection/ +│ │ ├── resolver.ts # CAP-first → workspace files → SecretStorage +│ │ ├── manager.ts # CRUD for stored connections (SecretStorage) +│ │ └── statusBar.ts # Status bar item + quick pick +│ ├── editors/ +│ │ ├── calcViewEditor.ts # CustomEditorProvider (.hdbcalculationview) +│ │ ├── artifactInspector.ts # CustomReadonlyEditorProvider (table/view/proc/func) +│ │ └── toolsPanel.ts # Full UI webview panel +│ ├── webview/ +│ │ ├── bridge.ts # Typed postMessage protocol +│ │ └── htmlProvider.ts # Generate webview HTML (nonces, URIs, CSP) +│ └── commands.ts # All command handlers +├── package.json # Extension manifest (contributes, activation) +├── tsconfig.json # TypeScript config +├── esbuild.config.mjs # Production bundle config +└── test/ + ├── suite/ + │ ├── extension.test.ts # Activation tests + │ ├── server.test.ts # Server lifecycle tests + │ └── connection.test.ts # Connection resolver tests + └── runTests.ts # Test runner entry + +app/vue/ +├── src/ +│ ├── adapters/ +│ │ ├── environment.ts # EnvironmentAdapter interface +│ │ ├── browserAdapter.ts # Standalone web implementation +│ │ └── vscodeAdapter.ts # VSCode webview implementation +│ └── main.ts # Updated to initialize adapter +├── vite.config.ts # Existing (unchanged) +└── vite.config.vscode.ts # NEW: Webview build config + +bin/ +└── vscode.js # NEW: `hana-cli vscode` CLI command +``` + +--- + +## Task 1: Extension Scaffold & Package Manifest + +**Files:** +- Create: `vscode-extension/package.json` +- Create: `vscode-extension/tsconfig.json` +- Create: `vscode-extension/src/extension.ts` +- Create: `vscode-extension/.vscodeignore` + +- [ ] **Step 1: Create extension package.json** + +```json +{ + "name": "hana-cli", + "displayName": "hana-cli Tools for SAP HANA", + "description": "Visual editors and database tools for SAP HANA powered by hana-cli", + "version": "0.1.0", + "publisher": "SAP-samples", + "engines": { "vscode": "^1.85.0" }, + "extensionKind": ["workspace"], + "categories": ["Other", "Visualization"], + "keywords": ["SAP", "HANA", "database", "calculation view", "CAP"], + "activationEvents": [ + "workspaceContains:**/*.hdbcalculationview", + "workspaceContains:**/*.hdbtable", + "workspaceContains:**/default-env.json", + "workspaceContains:**/.cdsrc-private.json" + ], + "main": "./dist/extension.js", + "capabilities": { + "untrustedWorkspaces": { "supported": false } + }, + "contributes": { + "commands": [ + { "command": "hana-cli.openTools", "title": "HANA: Open hana-cli Tools" }, + { "command": "hana-cli.openQuery", "title": "HANA: New Query Editor" }, + { "command": "hana-cli.showTables", "title": "HANA: Show Tables" }, + { "command": "hana-cli.showViews", "title": "HANA: Show Views" }, + { "command": "hana-cli.systemInfo", "title": "HANA: System Info" }, + { "command": "hana-cli.addConnection", "title": "HANA: Add Connection" }, + { "command": "hana-cli.importData", "title": "HANA: Import Data" } + ], + "customEditors": [ + { + "viewType": "hana-cli.calcViewEditor", + "displayName": "Calculation View Editor", + "selector": [{ "filenamePattern": "*.hdbcalculationview" }], + "priority": "default" + }, + { + "viewType": "hana-cli.tableInspector", + "displayName": "HANA Table Inspector", + "selector": [ + { "filenamePattern": "*.hdbtable" }, + { "filenamePattern": "*.hdbmigrationtable" } + ], + "priority": "default" + }, + { + "viewType": "hana-cli.viewInspector", + "displayName": "HANA View Inspector", + "selector": [{ "filenamePattern": "*.hdbview" }], + "priority": "default" + }, + { + "viewType": "hana-cli.procedureInspector", + "displayName": "HANA Procedure Inspector", + "selector": [{ "filenamePattern": "*.hdbprocedure" }], + "priority": "default" + }, + { + "viewType": "hana-cli.functionInspector", + "displayName": "HANA Function Inspector", + "selector": [{ "filenamePattern": "*.hdbfunction" }], + "priority": "default" + }, + { + "viewType": "hana-cli.synonymInspector", + "displayName": "HANA Synonym Inspector", + "selector": [{ "filenamePattern": "*.hdbsynonym" }], + "priority": "default" + }, + { + "viewType": "hana-cli.roleInspector", + "displayName": "HANA Role Inspector", + "selector": [{ "filenamePattern": "*.hdbrole" }], + "priority": "default" + }, + { + "viewType": "hana-cli.sequenceInspector", + "displayName": "HANA Sequence Inspector", + "selector": [{ "filenamePattern": "*.hdbsequence" }], + "priority": "default" + } + ], + "menus": { + "explorer/context": [ + { + "command": "hana-cli.openTools", + "when": "resourceExtname == .hdbtable || resourceExtname == .hdbview", + "group": "hana-cli" + } + ] + } + }, + "scripts": { + "compile": "tsc -p ./", + "bundle": "node esbuild.config.mjs", + "package": "vsce package", + "test": "node ./test/runTests.ts" + }, + "devDependencies": { + "@types/vscode": "^1.85.0", + "@vscode/test-electron": "^2.3.0", + "@vscode/vsce": "^2.22.0", + "esbuild": "^0.20.0", + "typescript": "^5.7.0" + } +} +``` + +- [ ] **Step 2: Create tsconfig.json** + +```json +{ + "compilerOptions": { + "target": "ES2022", + "module": "NodeNext", + "moduleResolution": "NodeNext", + "lib": ["ES2022"], + "outDir": "./out", + "rootDir": "./src", + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "declaration": true, + "sourceMap": true, + "types": ["node"] + }, + "include": ["src/**/*"], + "exclude": ["node_modules", "out", "dist", "test"] +} +``` + +- [ ] **Step 3: Create minimal extension.ts (activation only)** + +```typescript +import * as vscode from 'vscode' + +export function activate(context: vscode.ExtensionContext) { + console.log('hana-cli extension activated') +} + +export function deactivate() {} +``` + +- [ ] **Step 4: Create .vscodeignore** + +``` +src/** +test/** +out/** +node_modules/** +.gitignore +tsconfig.json +esbuild.config.mjs +``` + +- [ ] **Step 5: Install dependencies and verify compilation** + +Run: `cd vscode-extension && npm install && npx tsc --noEmit` +Expected: Clean compilation, no errors + +- [ ] **Step 6: Commit** + +```bash +git add vscode-extension/ +git commit -m "feat(vscode): scaffold extension with package manifest and activation" +``` + +--- + +## Task 2: Port Discovery & Server Lifecycle + +**Files:** +- Create: `vscode-extension/src/server/port.ts` +- Create: `vscode-extension/src/server/lifecycle.ts` +- Create: `vscode-extension/src/server/routes.ts` +- Modify: `vscode-extension/src/extension.ts` + +**Important: Static route imports.** The routes must be statically imported (not dynamically discovered via glob) so that esbuild can bundle them into `dist/extension.js`. When packaged as a `.vsix`, there is no filesystem access to `../routes/`. All route modules are imported in a dedicated `routes.ts` barrel file. + +- [ ] **Step 1: Create port.ts — find available port** + +```typescript +import * as net from 'net' + +export function findAvailablePort(startPort = 40000, maxRetries = 10): Promise { + return new Promise((resolve, reject) => { + let attempts = 0 + function tryPort(port: number) { + const server = net.createServer() + server.unref() + server.on('error', () => { + attempts++ + if (attempts >= maxRetries) { + reject(new Error(`No available port found after ${maxRetries} attempts`)) + } else { + tryPort(port + 1) + } + }) + server.listen(port, '127.0.0.1', () => { + server.close(() => resolve(port)) + }) + } + tryPort(startPort + Math.floor(Math.random() * 1000)) + }) +} +``` + +- [ ] **Step 2: Create routes.ts — static barrel of all route modules** + +This file statically imports every route module from `../../routes/` so esbuild can trace and bundle them. Each route exports `route(app, server)`. + +```typescript +// Static imports — esbuild traces these into the bundle +import * as staticRoutes from '../../routes/static.js' +import * as hanaList from '../../routes/hanaList.js' +import * as hanaInspect from '../../routes/hanaInspect.js' +import * as hanaAnalytics from '../../routes/hanaAnalytics.js' +import * as calcView from '../../routes/calcView.js' +import * as webSocket from '../../routes/webSocket.js' +import * as swagger from '../../routes/swagger.js' +import * as index from '../../routes/index.js' +import * as excel from '../../routes/excel.js' +import * as docs from '../../routes/docs.js' +// ... add all route modules + +import type { Express } from 'express' +import type { Server } from 'http' + +const allRoutes = [ + staticRoutes, hanaList, hanaInspect, hanaAnalytics, + calcView, webSocket, swagger, index, excel, docs +] + +export function registerAllRoutes(app: Express, server: Server): void { + for (const routeModule of allRoutes) { + routeModule.route(app, server) + } +} +``` + +**Note:** During implementation, enumerate the actual files in `routes/` and import them all. This is the key design difference from the standalone CLI which uses dynamic glob — the extension needs static imports for bundleability. + +- [ ] **Step 3: Create lifecycle.ts — start/stop Express server in-process** + +```typescript +import * as vscode from 'vscode' +import * as http from 'http' +import express from 'express' +import { findAvailablePort } from './port.js' +import { registerAllRoutes } from './routes.js' + +let server: http.Server | null = null +let currentPort: number | null = null +let shutdownTimer: ReturnType | null = null + +export function getPort(): number | null { + return currentPort +} + +export function isRunning(): boolean { + return server !== null && server.listening +} + +export async function startServer(_context: vscode.ExtensionContext): Promise { + if (isRunning()) return currentPort! + + cancelShutdownTimer() + + const port = await findAvailablePort() + + const app = express() + app.set('x-powered-by', false) + app.disable('etag') + + server = http.createServer() + + // Register all routes via static barrel (bundled by esbuild) + registerAllRoutes(app, server) + + server.on('request', app) + + return new Promise((resolve, reject) => { + server!.listen(port, '127.0.0.1', () => { + currentPort = port + resolve(port) + }) + server!.on('error', reject) + }) +} + +export async function stopServer(): Promise { + cancelShutdownTimer() + if (server) { + return new Promise((resolve) => { + server!.close(() => { + server = null + currentPort = null + resolve() + }) + }) + } +} + +export function scheduleShutdown(delayMs = 30000): void { + cancelShutdownTimer() + shutdownTimer = setTimeout(() => stopServer(), delayMs) +} + +function cancelShutdownTimer(): void { + if (shutdownTimer) { + clearTimeout(shutdownTimer) + shutdownTimer = null + } +} +``` + +- [ ] **Step 3: Update extension.ts to manage server lifecycle** + +```typescript +import * as vscode from 'vscode' +import { startServer, stopServer } from './server/lifecycle.js' +import { scheduleShutdown } from './server/lifecycle.js' + +let activeWebviewCount = 0 + +export function activate(context: vscode.ExtensionContext) { + context.subscriptions.push({ + dispose: () => stopServer() + }) +} + +export async function ensureServer(context: vscode.ExtensionContext): Promise { + return startServer(context) +} + +export function trackWebviewOpen(): void { + activeWebviewCount++ +} + +export function trackWebviewClose(): void { + activeWebviewCount-- + if (activeWebviewCount <= 0) { + activeWebviewCount = 0 + scheduleShutdown() + } +} + +export function deactivate() { + return stopServer() +} +``` + +- [ ] **Step 4: Verify compilation** + +Run: `cd vscode-extension && npx tsc --noEmit` +Expected: Clean compilation + +- [ ] **Step 5: Commit** + +```bash +git add vscode-extension/src/server/ vscode-extension/src/extension.ts +git commit -m "feat(vscode): add server lifecycle with port discovery and graceful shutdown" +``` + +--- + +## Task 3: Webview HTML Provider & Message Bridge + +**Files:** +- Create: `vscode-extension/src/webview/htmlProvider.ts` +- Create: `vscode-extension/src/webview/bridge.ts` + +- [ ] **Step 1: Create bridge.ts — typed message protocol** + +```typescript +// Messages from extension to webview +export type ExtToWebviewMessage = + | { type: 'serverReady'; port: number } + | { type: 'themeChanged'; theme: 'light' | 'dark' } + | { type: 'fileContent'; xml: string } + | { type: 'requestSave' } + | { type: 'openArtifact'; kind: string; name: string; schema: string } + | { type: 'navigate'; route: string } + +// Messages from webview to extension +export type WebviewToExtMessage = + | { type: 'dirty'; value: boolean } + | { type: 'save'; xml: string } + | { type: 'showMessage'; level: 'info' | 'warning' | 'error'; text: string } + | { type: 'openFile'; path: string } + | { type: 'ready' } +``` + +- [ ] **Step 2: Create htmlProvider.ts — generate webview HTML with security** + +```typescript +import * as vscode from 'vscode' +import * as crypto from 'crypto' + +export function getWebviewContent( + webview: vscode.Webview, + extensionUri: vscode.Uri, + options: { route?: string; port?: number } = {} +): string { + const nonce = crypto.randomBytes(16).toString('hex') + + // Path to the Vue webview build + const distPath = vscode.Uri.joinPath(extensionUri, '..', 'app', 'vue', 'dist-vscode') + const scriptUri = webview.asWebviewUri(vscode.Uri.joinPath(distPath, 'assets', 'index.js')) + const styleUri = webview.asWebviewUri(vscode.Uri.joinPath(distPath, 'assets', 'index.css')) + + const csp = [ + `default-src 'none'`, + `style-src ${webview.cspSource} 'unsafe-inline'`, + `script-src 'nonce-${nonce}'`, + `font-src ${webview.cspSource}`, + `img-src ${webview.cspSource} data:`, + `connect-src http://localhost:*`, + ].join('; ') + + return ` + + + + + + + hana-cli Tools + + +
+ + + +` +} + +export function getWebviewOptions(extensionUri: vscode.Uri): vscode.WebviewOptions { + const distPath = vscode.Uri.joinPath(extensionUri, '..', 'app', 'vue', 'dist-vscode') + return { + enableScripts: true, + localResourceRoots: [distPath] + } +} +``` + +- [ ] **Step 3: Verify compilation** + +Run: `cd vscode-extension && npx tsc --noEmit` +Expected: Clean compilation + +- [ ] **Step 4: Commit** + +```bash +git add vscode-extension/src/webview/ +git commit -m "feat(vscode): add webview HTML provider with CSP and typed message bridge" +``` + +--- + +## Task 4: Vue Environment Adapter Pattern + +**Files:** +- Create: `app/vue/src/adapters/environment.ts` +- Create: `app/vue/src/adapters/browserAdapter.ts` +- Create: `app/vue/src/adapters/vscodeAdapter.ts` +- Modify: `app/vue/src/composables/useHanaApi.ts` +- Modify: `app/vue/src/main.ts` + +- [ ] **Step 1: Create environment.ts — adapter interface** + +```typescript +export interface EnvironmentAdapter { + getApiBaseUrl(): string + getWebSocketUrl(): string + notifyDirtyState(dirty: boolean): void + requestSave(): void + getTheme(): 'light' | 'dark' + onMessage(handler: (msg: any) => void): void + postMessage(msg: any): void + isVSCode(): boolean +} + +let currentAdapter: EnvironmentAdapter | null = null + +export function setAdapter(adapter: EnvironmentAdapter): void { + currentAdapter = adapter +} + +export function getAdapter(): EnvironmentAdapter { + if (!currentAdapter) throw new Error('Environment adapter not initialized') + return currentAdapter +} +``` + +- [ ] **Step 2: Create browserAdapter.ts — standalone web (existing behavior)** + +```typescript +import type { EnvironmentAdapter } from './environment' + +export class BrowserAdapter implements EnvironmentAdapter { + getApiBaseUrl(): string { + return window.location.origin + } + + getWebSocketUrl(): string { + const protocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:' + return `${protocol}//${window.location.host}/websockets` + } + + notifyDirtyState(_dirty: boolean): void {} + requestSave(): void {} + + getTheme(): 'light' | 'dark' { + const saved = localStorage.getItem('hana-cli-theme') + if (saved === 'sap_horizon_dark') return 'dark' + if (saved && saved !== 'auto') return 'light' + return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light' + } + + onMessage(_handler: (msg: any) => void): void {} + postMessage(_msg: any): void {} + + isVSCode(): boolean { + return false + } +} +``` + +- [ ] **Step 3: Create vscodeAdapter.ts — webview implementation** + +```typescript +import type { EnvironmentAdapter } from './environment' + +declare function acquireVsCodeApi(): { + postMessage(msg: any): void + getState(): any + setState(state: any): void +} + +export class VSCodeAdapter implements EnvironmentAdapter { + private vscode = acquireVsCodeApi() + private port: number = 0 + private theme: 'light' | 'dark' = 'light' + private messageHandlers: Array<(msg: any) => void> = [] + + constructor() { + this.port = (window as any).__HANA_CLI_PORT__ || 0 + this.theme = document.body.classList.contains('vscode-dark') ? 'dark' : 'light' + + window.addEventListener('message', (event) => { + const msg = event.data + if (msg.type === 'serverReady') this.port = msg.port + if (msg.type === 'themeChanged') this.theme = msg.theme + for (const handler of this.messageHandlers) handler(msg) + }) + + this.vscode.postMessage({ type: 'ready' }) + } + + getApiBaseUrl(): string { + return `http://localhost:${this.port}` + } + + getWebSocketUrl(): string { + return `ws://localhost:${this.port}/websockets` + } + + notifyDirtyState(dirty: boolean): void { + this.vscode.postMessage({ type: 'dirty', value: dirty }) + } + + requestSave(): void {} + + getTheme(): 'light' | 'dark' { + return this.theme + } + + onMessage(handler: (msg: any) => void): void { + this.messageHandlers.push(handler) + } + + postMessage(msg: any): void { + this.vscode.postMessage(msg) + } + + isVSCode(): boolean { + return true + } +} +``` + +- [ ] **Step 4: Modify useHanaApi.ts to use adapter for base URL** + +Update `app/vue/src/composables/useHanaApi.ts` to prepend the adapter's API base URL to all fetch calls. The key change: wrap `fetch()` calls with `${baseUrl()}` prefix where `baseUrl()` calls `getAdapter().getApiBaseUrl()` (returns `''` for browser mode via a try/catch fallback). + +- [ ] **Step 5: Modify main.ts to initialize adapter before app mount** + +Insert adapter initialization before `createApp()`: +```typescript +import { setAdapter } from './adapters/environment' +import { BrowserAdapter } from './adapters/browserAdapter' +import { VSCodeAdapter } from './adapters/vscodeAdapter' + +if ((window as any).__VSCODE__) { + setAdapter(new VSCodeAdapter()) +} else { + setAdapter(new BrowserAdapter()) +} +``` + +- [ ] **Step 6: Run existing Vue tests to verify no regression** + +Run: `cd app/vue && npm run test` +Expected: All existing tests pass + +- [ ] **Step 7: Commit** + +```bash +git add app/vue/src/adapters/ app/vue/src/composables/useHanaApi.ts app/vue/src/main.ts +git commit -m "feat(vue): add environment adapter pattern for VSCode/browser dual-target" +``` + +--- + +## Task 5: Dual-Target Vite Build + +**Files:** +- Create: `app/vue/vite.config.vscode.ts` +- Modify: `app/vue/package.json` (add `build:vscode` script) + +- [ ] **Step 1: Create vite.config.vscode.ts** + +```typescript +import { defineConfig } from 'vite' +import vue from '@vitejs/plugin-vue' + +export default defineConfig({ + plugins: [ + vue({ + template: { + compilerOptions: { + isCustomElement: tag => tag.startsWith('ui5-') + } + } + }) + ], + base: '', + build: { + outDir: 'dist-vscode', + emptyOutDir: true, + rollupOptions: { + output: { + entryFileNames: 'assets/index.js', + chunkFileNames: 'assets/[name].js', + assetFileNames: 'assets/[name].[ext]' + } + } + } +}) +``` + +- [ ] **Step 2: Add build:vscode script to app/vue/package.json** + +Add to scripts: `"build:vscode": "vue-tsc --noEmit && vite build --config vite.config.vscode.ts"` + +- [ ] **Step 3: Test the webview build** + +Run: `cd app/vue && npm run build:vscode` +Expected: Build succeeds, output in `app/vue/dist-vscode/` with `assets/index.js`, `assets/index.css` + +- [ ] **Step 4: Verify standalone build still works** + +Run: `cd app/vue && npm run build` +Expected: Build succeeds, output in `app/vue/dist/` (unchanged behavior) + +- [ ] **Step 5: Add dist-vscode/ to .gitignore** + +- [ ] **Step 6: Commit** + +```bash +git add app/vue/vite.config.vscode.ts app/vue/package.json .gitignore +git commit -m "feat(vue): add dual-target Vite build for VSCode webview output" +``` + +--- + +## Task 6: Full UI Panel (Tools Panel) + +**Files:** +- Create: `vscode-extension/src/editors/toolsPanel.ts` +- Modify: `vscode-extension/src/extension.ts` + +- [ ] **Step 1: Create toolsPanel.ts** + +Implements `registerToolsPanel(context)` that registers commands (`hana-cli.openTools`, `hana-cli.openQuery`, `hana-cli.showTables`, `hana-cli.showViews`, `hana-cli.systemInfo`, `hana-cli.importData`) which open a `WebviewPanel` with `retainContextWhenHidden: true`. Deep-link commands send `{ type: 'navigate', route }` to existing panel or create new one. + +Message handler processes `showMessage` and `openFile` from webview. + +- [ ] **Step 2: Wire tools panel into extension.ts activate()** + +- [ ] **Step 3: Verify compilation** + +Run: `cd vscode-extension && npx tsc --noEmit` +Expected: Clean compilation + +- [ ] **Step 4: Commit** + +```bash +git add vscode-extension/src/editors/toolsPanel.ts vscode-extension/src/extension.ts +git commit -m "feat(vscode): add full UI tools panel with deep-link navigation commands" +``` + +--- + +## Task 7: Calc View Custom Editor Provider + +**Files:** +- Create: `vscode-extension/src/editors/calcViewEditor.ts` +- Modify: `vscode-extension/src/extension.ts` + +- [ ] **Step 1: Create calcViewEditor.ts** + +Implements `CalcViewEditorProvider` with `CustomEditorProvider`: +- `openCustomDocument()` — reads file via `workspace.fs.readFile` +- `resolveCustomEditor()` — creates webview, sends `fileContent` on `ready` message +- `saveCustomDocument()` — writes `document.content` via `workspace.fs.writeFile` +- `revertCustomDocument()` — re-reads from disk, re-sends to webview +- `backupCustomDocument()` — persists to backup URI for hot exit + +Handles messages: `ready` → send XML, `dirty` → fire edit event, `save` → update content. + +Static `register()` method creates and registers the provider with `retainContextWhenHidden: true`. + +- [ ] **Step 2: Register in extension.ts activate()** + +- [ ] **Step 3: Verify compilation** + +Run: `cd vscode-extension && npx tsc --noEmit` +Expected: Clean compilation + +- [ ] **Step 4: Commit** + +```bash +git add vscode-extension/src/editors/calcViewEditor.ts vscode-extension/src/extension.ts +git commit -m "feat(vscode): add CustomEditorProvider for .hdbcalculationview files" +``` + +--- + +## Task 8: Artifact Inspectors (Read-Only Custom Editors) + +**Files:** +- Create: `vscode-extension/src/editors/artifactInspector.ts` +- Modify: `vscode-extension/src/extension.ts` + +- [ ] **Step 1: Create artifactInspector.ts** + +Implements `ArtifactInspectorProvider` with `CustomReadonlyEditorProvider`. Configurable via an `ArtifactConfig` array mapping viewType → route → artifactKind: +- `tableInspector` → `/inspectTable` → `table` +- `viewInspector` → `/inspectView` → `view` +- `procedureInspector` → `/inspectProcedure` → `procedure` +- `functionInspector` → `/inspectFunction` → `function` +- `synonymInspector` → `/inspectSynonym` → `synonym` +- `roleInspector` → `/inspectRole` → `role` +- `sequenceInspector` → `/inspectSequence` → `sequence` + +Static `registerAll(context)` registers all providers. On `ready` message, sends `openArtifact` with the artifact name parsed from the filename (strip extension). + +- [ ] **Step 2: Register all inspectors in extension.ts** + +- [ ] **Step 3: Verify compilation** + +Run: `cd vscode-extension && npx tsc --noEmit` +Expected: Clean compilation + +- [ ] **Step 4: Commit** + +```bash +git add vscode-extension/src/editors/artifactInspector.ts vscode-extension/src/extension.ts +git commit -m "feat(vscode): add read-only custom editor providers for HANA artifacts" +``` + +--- + +## Task 9: Connection Resolver (CAP-First) + +**Files:** +- Create: `vscode-extension/src/connection/resolver.ts` +- Create: `vscode-extension/src/connection/manager.ts` +- Create: `vscode-extension/src/connection/statusBar.ts` +- Modify: `vscode-extension/src/server/lifecycle.ts` (inject connection into Express) +- Modify: `vscode-extension/src/extension.ts` + +**Important: Connection propagation.** The existing Express routes in `routes/*.js` read credentials from `utils/base.js` which in turn reads from `default-env.json` or environment variables. When running in-process, we bridge the resolved connection by writing a temporary `default-env.json` to a workspace-scoped temp directory and setting `process.env.VCAP_SERVICES` before starting the server. This way routes use their existing credential resolution path without modification. + +- [ ] **Step 1: Create resolver.ts** + +Implements `resolveConnection(workspaceFolder)` with 3-step resolution: +1. CAP: Check `package.json` for `@sap/cds`, parse `.cdsrc-private.json` credentials +2. Workspace files: Parse `default-env.json` for `VCAP_SERVICES.hana` credentials +3. Returns `null` if none found (triggers VSCode SecretStorage fallback) + +Returns `HanaConnection` interface: `{ host, port, user, password, useTLS, schema, source }` + +- [ ] **Step 2: Create manager.ts — VSCode SecretStorage CRUD** + +`ConnectionManager` class wraps `vscode.SecretStorage` with `getAll()`, `save(name, conn)`, `remove(name)` methods. Storage key: `hana-cli.connections`. + +- [ ] **Step 3: Create statusBar.ts** + +`createConnectionStatusBar()` creates a `StatusBarItem` (left-aligned). `updateStatus(conn)` sets text to `$(database) HANA: user@host:port` or `$(warning) HANA: Not Connected`. + +- [ ] **Step 4: Add connection injection to server lifecycle** + +Update `lifecycle.ts` `startServer()` to accept an optional `HanaConnection` parameter. Before starting Express, set `process.env.VCAP_SERVICES` with the resolved credentials in the format the existing routes expect: + +```typescript +export function injectConnection(conn: HanaConnection): void { + process.env.VCAP_SERVICES = JSON.stringify({ + hana: [{ + credentials: { + host: conn.host, + port: String(conn.port), + user: conn.user, + password: conn.password, + encrypt: conn.useTLS !== false, + schema: conn.schema || '' + } + }] + }) +} +``` + +Call this before `registerAllRoutes()` in `startServer()`. + +- [ ] **Step 5: Register connection commands and status bar in extension.ts** + +Register `hana-cli.addConnection` command with input prompts for host/port/user/password. Auto-resolve connection on activation using `resolveConnection()`. On success, call `injectConnection()` and `updateStatus()`. Show status bar. + +- [ ] **Step 5: Verify compilation** + +Run: `cd vscode-extension && npx tsc --noEmit` +Expected: Clean compilation + +- [ ] **Step 6: Commit** + +```bash +git add vscode-extension/src/connection/ +git commit -m "feat(vscode): add CAP-first connection resolver with status bar and SecretStorage" +``` + +--- + +## Task 10: CLI Installer Command (`hana-cli vscode`) + +**Files:** +- Create: `bin/vscode.js` +- Modify: `bin/commandMap.js` (add vscode command) +- Modify: `_i18n/messages_en.properties` (add i18n key) + +Reference: `.github/instructions/cli-command-development.instructions.md` + +- [ ] **Step 1: Create bin/vscode.js** + +Uses `execFileSync` (not `exec` — avoids shell injection) to run `code --install-extension`, `code --uninstall-extension`, or `code --list-extensions --show-versions`. Detects `code`/`codium`/`code-insiders` in PATH. Supports `--insiders` flag. Falls back to instructions if CLI not found. Looks for bundled `.vsix` in `../vscode-extension/` directory. + +- [ ] **Step 2: Add i18n key** + +Add to `_i18n/messages_en.properties`: +``` +vscode=Manage the hana-cli VSCode extension (install, uninstall, status) +``` + +- [ ] **Step 3: Register in commandMap.js** + +Add the vscode command following the existing registration pattern. + +- [ ] **Step 4: Test the command** + +Run: `node bin/cli.js vscode status` +Expected: Shows whether extension is installed (or "not installed") + +- [ ] **Step 5: Commit** + +```bash +git add bin/vscode.js _i18n/messages_en.properties bin/commandMap.js +git commit -m "feat(cli): add 'hana-cli vscode' command for extension install/uninstall/status" +``` + +--- + +## Task 11: esbuild Bundle Configuration + +**Files:** +- Create: `vscode-extension/esbuild.config.mjs` +- Modify: `vscode-extension/package.json` (refine scripts) + +- [ ] **Step 1: Create esbuild.config.mjs** + +Note: Because `routes.ts` statically imports all route modules, esbuild traces and bundles them automatically. No special plugin needed. + +```javascript +import * as esbuild from 'esbuild' + +const production = process.argv.includes('--production') + +await esbuild.build({ + entryPoints: ['./out/extension.js'], + bundle: true, + outfile: './dist/extension.js', + external: ['vscode'], + format: 'cjs', + platform: 'node', + target: 'node20', + sourcemap: !production, + minify: production, + treeShaking: true, +}) +``` + +- [ ] **Step 2: Update package.json scripts** + +```json +"bundle": "npm run compile && node esbuild.config.mjs --production", +"bundle:dev": "npm run compile && node esbuild.config.mjs", +"package": "npm run bundle && vsce package" +``` + +- [ ] **Step 3: Test the bundle** + +Run: `cd vscode-extension && npm run bundle:dev` +Expected: `dist/extension.js` created + +- [ ] **Step 4: Commit** + +```bash +git add vscode-extension/esbuild.config.mjs vscode-extension/package.json +git commit -m "feat(vscode): add esbuild configuration for production bundling" +``` + +--- + +## Task 12: Root Build Script & Integration + +**Files:** +- Modify: `package.json` (root — add `build:vscode` script) + +- [ ] **Step 1: Add build:vscode to root package.json scripts** + +```json +"build:vscode": "cd app/vue && npm run build:vscode && cd ../../vscode-extension && npm run bundle" +``` + +- [ ] **Step 2: Run the full build** + +Run: `npm run build:vscode` +Expected: Vue webview build + extension bundle both succeed + +- [ ] **Step 3: Test packaging** + +Run: `cd vscode-extension && npx vsce package --no-dependencies` +Expected: `hana-cli-0.1.0.vsix` created + +- [ ] **Step 4: Commit** + +```bash +git add package.json +git commit -m "feat: add root build:vscode script for full extension build pipeline" +``` + +--- + +## Task 13: Extension Integration Test Scaffold + +**Files:** +- Create: `vscode-extension/test/runTests.ts` +- Create: `vscode-extension/test/suite/index.ts` +- Create: `vscode-extension/test/suite/extension.test.ts` + +- [ ] **Step 1: Create test runner and suite index** + +Standard `@vscode/test-electron` runner that discovers and runs Mocha tests from `test/suite/`. + +- [ ] **Step 2: Create activation test** + +Tests that the extension is present and all expected commands are registered. + +- [ ] **Step 3: Verify tests compile** + +Run: `cd vscode-extension && npx tsc -p ./` +Expected: Compiles cleanly + +- [ ] **Step 4: Commit** + +```bash +git add vscode-extension/test/ +git commit -m "test(vscode): add extension integration test scaffold with activation tests" +``` + +--- + +## Task 14: End-to-End Smoke Test + +**Files:** +- Create: `vscode-extension/test/suite/calcViewEditor.test.ts` + +- [ ] **Step 1: Create calc view editor smoke test** + +Creates a temp `.hdbcalculationview` file with minimal XML, opens it with `vscode.openWith` using the custom editor viewType, verifies a tab opens for the file. + +- [ ] **Step 2: Commit** + +```bash +git add vscode-extension/test/suite/calcViewEditor.test.ts +git commit -m "test(vscode): add end-to-end smoke test for calc view custom editor" +``` + +--- + +## Task 15: GitHub Actions CI Workflow + +**Files:** +- Create: `.github/workflows/vscode-extension.yml` + +- [ ] **Step 1: Create CI workflow** + +Matrix build on ubuntu/windows/macos × Node 20/22. Steps: install deps, build Vue webview, compile extension, bundle, package VSIX, upload artifact. Release job on `vscode-v*` tags creates GitHub Release with `.vsix`. + +- [ ] **Step 2: Commit** + +```bash +git add .github/workflows/vscode-extension.yml +git commit -m "ci: add GitHub Actions workflow for VSCode extension build and release" +``` + +--- + +## Summary & Verification + +After completing all tasks, verify the full flow: + +1. **Build:** `npm run build:vscode` produces `app/vue/dist-vscode/` + `vscode-extension/dist/extension.js` +2. **Package:** `cd vscode-extension && npx vsce package` produces `.vsix` +3. **Install:** `code --install-extension hana-cli-0.1.0.vsix` +4. **Test activation:** Open a workspace with `.hdbcalculationview` files +5. **Test calc view:** Double-click a `.hdbcalculationview` → visual editor renders +6. **Test panel:** `Ctrl+Shift+P` → "HANA: Open hana-cli Tools" → full UI loads +7. **Test CLI:** `hana-cli vscode status` → shows installed version From 19b9757800991985cd3887c6252e47d6b88e8956 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 08:44:12 -0400 Subject: [PATCH 03/21] feat(vscode): scaffold extension with package manifest and activation --- vscode-extension/.vscodeignore | 7 + vscode-extension/package-lock.json | 3283 ++++++++++++++++++++++++++++ vscode-extension/package.json | 107 + vscode-extension/src/extension.ts | 7 + vscode-extension/tsconfig.json | 20 + 5 files changed, 3424 insertions(+) create mode 100644 vscode-extension/.vscodeignore create mode 100644 vscode-extension/package-lock.json create mode 100644 vscode-extension/package.json create mode 100644 vscode-extension/src/extension.ts create mode 100644 vscode-extension/tsconfig.json diff --git a/vscode-extension/.vscodeignore b/vscode-extension/.vscodeignore new file mode 100644 index 00000000..230f04fd --- /dev/null +++ b/vscode-extension/.vscodeignore @@ -0,0 +1,7 @@ +src/** +test/** +out/** +node_modules/** +.gitignore +tsconfig.json +esbuild.config.mjs diff --git a/vscode-extension/package-lock.json b/vscode-extension/package-lock.json new file mode 100644 index 00000000..cc2b5488 --- /dev/null +++ b/vscode-extension/package-lock.json @@ -0,0 +1,3283 @@ +{ + "name": "hana-cli", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "hana-cli", + "version": "0.1.0", + "devDependencies": { + "@types/vscode": "^1.85.0", + "@vscode/test-electron": "^2.3.0", + "@vscode/vsce": "^2.22.0", + "esbuild": "^0.20.0", + "typescript": "^5.7.0" + }, + "engines": { + "vscode": "^1.85.0" + } + }, + "node_modules/@azure/abort-controller": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.1.2.tgz", + "integrity": "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@azure/core-auth": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.10.1.tgz", + "integrity": "sha512-ykRMW8PjVAn+RS6ww5cmK9U2CyH9p4Q88YJwvUslfuMmN98w/2rdGRLPqJYObapBCdzBVeDgYWdJnFPFb7qzpg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@azure/core-util": "^1.13.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-client": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@azure/core-client/-/core-client-1.10.1.tgz", + "integrity": "sha512-Nh5PhEOeY6PrnxNPsEHRr9eimxLwgLlpmguQaHKBinFYA/RU9+kOYVOQqOrTsCL+KSxrLLl1gD8Dk5BFW/7l/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@azure/core-auth": "^1.10.0", + "@azure/core-rest-pipeline": "^1.22.0", + "@azure/core-tracing": "^1.3.0", + "@azure/core-util": "^1.13.0", + "@azure/logger": "^1.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-rest-pipeline": { + "version": "1.23.0", + "resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.23.0.tgz", + "integrity": "sha512-Evs1INHo+jUjwHi1T6SG6Ua/LHOQBCLuKEEE6efIpt4ZOoNonaT1kP32GoOcdNDbfqsD2445CPri3MubBy5DEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@azure/core-auth": "^1.10.0", + "@azure/core-tracing": "^1.3.0", + "@azure/core-util": "^1.13.0", + "@azure/logger": "^1.3.0", + "@typespec/ts-http-runtime": "^0.3.4", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-tracing": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.3.1.tgz", + "integrity": "sha512-9MWKevR7Hz8kNzzPLfX4EAtGM2b8mr50HPDBvio96bURP/9C+HjdH3sBlLSNNrvRAr5/k/svoH457gB5IKpmwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-util": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.13.1.tgz", + "integrity": "sha512-XPArKLzsvl0Hf0CaGyKHUyVgF7oDnhKoP85Xv6M4StF/1AhfORhZudHtOyf2s+FcbuQ9dPRAjB8J2KvRRMUK2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@typespec/ts-http-runtime": "^0.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/identity": { + "version": "4.13.1", + "resolved": "https://registry.npmjs.org/@azure/identity/-/identity-4.13.1.tgz", + "integrity": "sha512-5C/2WD5Vb1lHnZS16dNQRPMjN6oV/Upba+C9nBIs15PmOi6A3ZGs4Lr2u60zw4S04gi+u3cEXiqTVP7M4Pz3kw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.0.0", + "@azure/core-auth": "^1.9.0", + "@azure/core-client": "^1.9.2", + "@azure/core-rest-pipeline": "^1.17.0", + "@azure/core-tracing": "^1.0.0", + "@azure/core-util": "^1.11.0", + "@azure/logger": "^1.0.0", + "@azure/msal-browser": "^5.5.0", + "@azure/msal-node": "^5.1.0", + "open": "^10.1.0", + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/logger": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@azure/logger/-/logger-1.3.0.tgz", + "integrity": "sha512-fCqPIfOcLE+CGqGPd66c8bZpwAji98tZ4JI9i/mlTNTlsIWslCfpg48s/ypyLxZTump5sypjrKn2/kY7q8oAbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typespec/ts-http-runtime": "^0.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/msal-browser": { + "version": "5.10.1", + "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-5.10.1.tgz", + "integrity": "sha512-hTbvOi9Ko2Jvn+G/fSmjzHf9WbNcf/o3epMtbeGx/pMwMrVAbi6OgCJVeCfsAb8IybSRpaCSc4EDRlYAhgngUQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/msal-common": "16.6.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@azure/msal-common": { + "version": "16.6.1", + "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-16.6.1.tgz", + "integrity": "sha512-VxKdEtUwDuLD0F1hOQP7kye0YadZxFJfv37Em440geEf/w9uggKnHpRrqwZJOdxmPUOdhZ9kyRtKuAJW8wUcRg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@azure/msal-node": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/@azure/msal-node/-/msal-node-5.2.1.tgz", + "integrity": "sha512-tmQiQ2HvtzaeLqYGy3BemiPOSGPY4wCy1IW5zDWITKSs/s35WEd7Zij/hCxvUdAOzj6U3qnyaGbYXY91ortFEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/msal-common": "16.6.1", + "jsonwebtoken": "^9.0.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.20.2.tgz", + "integrity": "sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.20.2.tgz", + "integrity": "sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.20.2.tgz", + "integrity": "sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.20.2.tgz", + "integrity": "sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.20.2.tgz", + "integrity": "sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.20.2.tgz", + "integrity": "sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.20.2.tgz", + "integrity": "sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.20.2.tgz", + "integrity": "sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.20.2.tgz", + "integrity": "sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.20.2.tgz", + "integrity": "sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.20.2.tgz", + "integrity": "sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.20.2.tgz", + "integrity": "sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.20.2.tgz", + "integrity": "sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.20.2.tgz", + "integrity": "sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.20.2.tgz", + "integrity": "sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.20.2.tgz", + "integrity": "sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.20.2.tgz", + "integrity": "sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.20.2.tgz", + "integrity": "sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.20.2.tgz", + "integrity": "sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.20.2.tgz", + "integrity": "sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.20.2.tgz", + "integrity": "sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.20.2.tgz", + "integrity": "sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.20.2.tgz", + "integrity": "sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@types/vscode": { + "version": "1.120.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.120.0.tgz", + "integrity": "sha512-feaT4Rst+FkTch5zz/ZbNCxoIvo55YU80Be2kiL7OJcod4+CUYf2lUBPdIJzozNnSEMq1VRTGrWEcCGFB3fBmA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@typespec/ts-http-runtime": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@typespec/ts-http-runtime/-/ts-http-runtime-0.3.5.tgz", + "integrity": "sha512-yURCknZhvywvQItHMMmFSo+fq5arCUIyz/CVk7jD89MSai7dkaX8ufjCWp3NttLojoTVbcE72ri+be/TnEbMHw==", + "dev": true, + "license": "MIT", + "dependencies": { + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@vscode/test-electron": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@vscode/test-electron/-/test-electron-2.5.2.tgz", + "integrity": "sha512-8ukpxv4wYe0iWMRQU18jhzJOHkeGKbnw7xWRX3Zw1WJA4cEKbHcmmLPdPrPtL6rhDcrlCZN+xKRpv09n4gRHYg==", + "dev": true, + "license": "MIT", + "dependencies": { + "http-proxy-agent": "^7.0.2", + "https-proxy-agent": "^7.0.5", + "jszip": "^3.10.1", + "ora": "^8.1.0", + "semver": "^7.6.2" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@vscode/vsce": { + "version": "2.32.0", + "resolved": "https://registry.npmjs.org/@vscode/vsce/-/vsce-2.32.0.tgz", + "integrity": "sha512-3EFJfsgrSftIqt3EtdRcAygy/OJ3hstyI1cDmIgkU9CFZW5C+3djr6mfosndCUqcVYuyjmxOK1xmFp/Bq7+NIg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@azure/identity": "^4.1.0", + "@vscode/vsce-sign": "^2.0.0", + "azure-devops-node-api": "^12.5.0", + "chalk": "^2.4.2", + "cheerio": "^1.0.0-rc.9", + "cockatiel": "^3.1.2", + "commander": "^6.2.1", + "form-data": "^4.0.0", + "glob": "^7.0.6", + "hosted-git-info": "^4.0.2", + "jsonc-parser": "^3.2.0", + "leven": "^3.1.0", + "markdown-it": "^12.3.2", + "mime": "^1.3.4", + "minimatch": "^3.0.3", + "parse-semver": "^1.1.1", + "read": "^1.0.7", + "semver": "^7.5.2", + "tmp": "^0.2.1", + "typed-rest-client": "^1.8.4", + "url-join": "^4.0.1", + "xml2js": "^0.5.0", + "yauzl": "^2.3.1", + "yazl": "^2.2.2" + }, + "bin": { + "vsce": "vsce" + }, + "engines": { + "node": ">= 16" + }, + "optionalDependencies": { + "keytar": "^7.7.0" + } + }, + "node_modules/@vscode/vsce-sign": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign/-/vsce-sign-2.0.9.tgz", + "integrity": "sha512-8IvaRvtFyzUnGGl3f5+1Cnor3LqaUWvhaUjAYO8Y39OUYlOf3cRd+dowuQYLpZcP3uwSG+mURwjEBOSq4SOJ0g==", + "dev": true, + "hasInstallScript": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optionalDependencies": { + "@vscode/vsce-sign-alpine-arm64": "2.0.6", + "@vscode/vsce-sign-alpine-x64": "2.0.6", + "@vscode/vsce-sign-darwin-arm64": "2.0.6", + "@vscode/vsce-sign-darwin-x64": "2.0.6", + "@vscode/vsce-sign-linux-arm": "2.0.6", + "@vscode/vsce-sign-linux-arm64": "2.0.6", + "@vscode/vsce-sign-linux-x64": "2.0.6", + "@vscode/vsce-sign-win32-arm64": "2.0.6", + "@vscode/vsce-sign-win32-x64": "2.0.6" + } + }, + "node_modules/@vscode/vsce-sign-alpine-arm64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-alpine-arm64/-/vsce-sign-alpine-arm64-2.0.6.tgz", + "integrity": "sha512-wKkJBsvKF+f0GfsUuGT0tSW0kZL87QggEiqNqK6/8hvqsXvpx8OsTEc3mnE1kejkh5r+qUyQ7PtF8jZYN0mo8Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "alpine" + ] + }, + "node_modules/@vscode/vsce-sign-alpine-x64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-alpine-x64/-/vsce-sign-alpine-x64-2.0.6.tgz", + "integrity": "sha512-YoAGlmdK39vKi9jA18i4ufBbd95OqGJxRvF3n6ZbCyziwy3O+JgOpIUPxv5tjeO6gQfx29qBivQ8ZZTUF2Ba0w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "alpine" + ] + }, + "node_modules/@vscode/vsce-sign-darwin-arm64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-darwin-arm64/-/vsce-sign-darwin-arm64-2.0.6.tgz", + "integrity": "sha512-5HMHaJRIQuozm/XQIiJiA0W9uhdblwwl2ZNDSSAeXGO9YhB9MH5C4KIHOmvyjUnKy4UCuiP43VKpIxW1VWP4tQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@vscode/vsce-sign-darwin-x64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-darwin-x64/-/vsce-sign-darwin-x64-2.0.6.tgz", + "integrity": "sha512-25GsUbTAiNfHSuRItoQafXOIpxlYj+IXb4/qarrXu7kmbH94jlm5sdWSCKrrREs8+GsXF1b+l3OB7VJy5jsykw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@vscode/vsce-sign-linux-arm": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-linux-arm/-/vsce-sign-linux-arm-2.0.6.tgz", + "integrity": "sha512-UndEc2Xlq4HsuMPnwu7420uqceXjs4yb5W8E2/UkaHBB9OWCwMd3/bRe/1eLe3D8kPpxzcaeTyXiK3RdzS/1CA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@vscode/vsce-sign-linux-arm64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-linux-arm64/-/vsce-sign-linux-arm64-2.0.6.tgz", + "integrity": "sha512-cfb1qK7lygtMa4NUl2582nP7aliLYuDEVpAbXJMkDq1qE+olIw/es+C8j1LJwvcRq1I2yWGtSn3EkDp9Dq5FdA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@vscode/vsce-sign-linux-x64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-linux-x64/-/vsce-sign-linux-x64-2.0.6.tgz", + "integrity": "sha512-/olerl1A4sOqdP+hjvJ1sbQjKN07Y3DVnxO4gnbn/ahtQvFrdhUi0G1VsZXDNjfqmXw57DmPi5ASnj/8PGZhAA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@vscode/vsce-sign-win32-arm64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-win32-arm64/-/vsce-sign-win32-arm64-2.0.6.tgz", + "integrity": "sha512-ivM/MiGIY0PJNZBoGtlRBM/xDpwbdlCWomUWuLmIxbi1Cxe/1nooYrEQoaHD8ojVRgzdQEUzMsRbyF5cJJgYOg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@vscode/vsce-sign-win32-x64": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@vscode/vsce-sign-win32-x64/-/vsce-sign-win32-x64-2.0.6.tgz", + "integrity": "sha512-mgth9Kvze+u8CruYMmhHw6Zgy3GRX2S+Ed5oSokDEK5vPEwGGKnmuXua9tmFhomeAnhgJnL4DCna3TiNuGrBTQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "SEE LICENSE IN LICENSE.txt", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, + "node_modules/ansi-regex": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/azure-devops-node-api": { + "version": "12.5.0", + "resolved": "https://registry.npmjs.org/azure-devops-node-api/-/azure-devops-node-api-12.5.0.tgz", + "integrity": "sha512-R5eFskGvOm3U/GzeAuxRkUsAl0hrAwGgWn6zAd2KrZmrEhWZVqLew4OOupbQlXUuojUzpGtq62SmdhJ06N88og==", + "dev": true, + "license": "MIT", + "dependencies": { + "tunnel": "0.0.6", + "typed-rest-client": "^1.8.4" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/bl/node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", + "dev": true, + "license": "ISC" + }, + "node_modules/brace-expansion": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz", + "integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/bundle-name": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.0.tgz", + "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "run-applescript": "^7.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/cheerio": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.2.0.tgz", + "integrity": "sha512-WDrybc/gKFpTYQutKIK6UvfcuxijIZfMfXaYm8NMsPQxSYvf+13fXUJ4rztGGbJcBQ/GF55gvrZ0Bc0bj/mqvg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cheerio-select": "^2.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.3", + "domutils": "^3.2.2", + "encoding-sniffer": "^0.2.1", + "htmlparser2": "^10.1.0", + "parse5": "^7.3.0", + "parse5-htmlparser2-tree-adapter": "^7.1.0", + "parse5-parser-stream": "^7.1.2", + "undici": "^7.19.0", + "whatwg-mimetype": "^4.0.0" + }, + "engines": { + "node": ">=20.18.1" + }, + "funding": { + "url": "https://github.com/cheeriojs/cheerio?sponsor=1" + } + }, + "node_modules/cheerio-select": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cheerio-select/-/cheerio-select-2.1.0.tgz", + "integrity": "sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-select": "^5.1.0", + "css-what": "^6.1.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true, + "license": "ISC", + "optional": true + }, + "node_modules/cli-cursor": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", + "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", + "dev": true, + "license": "MIT", + "dependencies": { + "restore-cursor": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-spinners": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", + "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cockatiel": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/cockatiel/-/cockatiel-3.2.1.tgz", + "integrity": "sha512-gfrHV6ZPkquExvMh9IOkKsBzNDk6sDuZ6DdBGUBkvFnTCqCxzpuq48RySgP0AnaqQkw2zynOFj9yly6T1Q2G5Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true, + "license": "MIT" + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/commander": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", + "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/css-select": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.2.2.tgz", + "integrity": "sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/css-what": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.2.2.tgz", + "integrity": "sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decompress-response": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", + "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "mimic-response": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/default-browser": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.5.0.tgz", + "integrity": "sha512-H9LMLr5zwIbSxrmvikGuI/5KGhZ8E2zH3stkMgM5LpOWDutGM2JZaj460Udnf1a+946zc7YBgrqEWwbk7zHvGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "bundle-name": "^4.1.0", + "default-browser-id": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/default-browser-id": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.1.tgz", + "integrity": "sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-lazy-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/dom-serializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", + "dev": true, + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "node_modules/domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/domutils": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz", + "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "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==", + "dev": true, + "license": "MIT" + }, + "node_modules/encoding-sniffer": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/encoding-sniffer/-/encoding-sniffer-0.2.1.tgz", + "integrity": "sha512-5gvq20T6vfpekVtqrYQsSCFZ1wEg5+wW0/QaZMWkFr6BqD3NfKs0rLCx4rrVlSWJeZb5NBJgVLswK/w2MWU+Gw==", + "dev": true, + "license": "MIT", + "dependencies": { + "iconv-lite": "^0.6.3", + "whatwg-encoding": "^3.1.1" + }, + "funding": { + "url": "https://github.com/fb55/encoding-sniffer?sponsor=1" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz", + "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/esbuild": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.20.2.tgz", + "integrity": "sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.20.2", + "@esbuild/android-arm": "0.20.2", + "@esbuild/android-arm64": "0.20.2", + "@esbuild/android-x64": "0.20.2", + "@esbuild/darwin-arm64": "0.20.2", + "@esbuild/darwin-x64": "0.20.2", + "@esbuild/freebsd-arm64": "0.20.2", + "@esbuild/freebsd-x64": "0.20.2", + "@esbuild/linux-arm": "0.20.2", + "@esbuild/linux-arm64": "0.20.2", + "@esbuild/linux-ia32": "0.20.2", + "@esbuild/linux-loong64": "0.20.2", + "@esbuild/linux-mips64el": "0.20.2", + "@esbuild/linux-ppc64": "0.20.2", + "@esbuild/linux-riscv64": "0.20.2", + "@esbuild/linux-s390x": "0.20.2", + "@esbuild/linux-x64": "0.20.2", + "@esbuild/netbsd-x64": "0.20.2", + "@esbuild/openbsd-x64": "0.20.2", + "@esbuild/sunos-x64": "0.20.2", + "@esbuild/win32-arm64": "0.20.2", + "@esbuild/win32-ia32": "0.20.2", + "@esbuild/win32-x64": "0.20.2" + } + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/expand-template": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", + "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", + "dev": true, + "license": "(MIT OR WTFPL)", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "pend": "~1.2.0" + } + }, + "node_modules/form-data": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", + "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true, + "license": "ISC" + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-east-asian-width": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.6.0.tgz", + "integrity": "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/github-from-package": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", + "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.3.tgz", + "integrity": "sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hosted-git-info": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", + "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/htmlparser2": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.1.0.tgz", + "integrity": "sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==", + "dev": true, + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.2.2", + "entities": "^7.0.1" + } + }, + "node_modules/htmlparser2/node_modules/entities": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz", + "integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause", + "optional": true + }, + "node_modules/immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "dev": true, + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true, + "license": "ISC", + "optional": true + }, + "node_modules/is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^3.0.0" + }, + "bin": { + "is-inside-container": "cli.js" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-interactive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", + "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-unicode-supported": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-wsl": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.1.tgz", + "integrity": "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-inside-container": "^1.0.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsonc-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz", + "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsonwebtoken": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.3.tgz", + "integrity": "sha512-MT/xP0CrubFRNLNKvxJ2BYfy53Zkm++5bX9dtuPbqAeQpTVe0MQTFhao8+Cp//EmJp244xt6Drw/GVEGCUj40g==", + "dev": true, + "license": "MIT", + "dependencies": { + "jws": "^4.0.1", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "node_modules/jszip": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz", + "integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==", + "dev": true, + "license": "(MIT OR GPL-3.0-or-later)", + "dependencies": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "setimmediate": "^1.0.5" + } + }, + "node_modules/jwa": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz", + "integrity": "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-equal-constant-time": "^1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.1.tgz", + "integrity": "sha512-EKI/M/yqPncGUUh44xz0PxSidXFr/+r0pA70+gIYhjv+et7yxM+s29Y+VGDkovRofQem0fs7Uvf4+YmAdyRduA==", + "dev": true, + "license": "MIT", + "dependencies": { + "jwa": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/keytar": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/keytar/-/keytar-7.9.0.tgz", + "integrity": "sha512-VPD8mtVtm5JNtA2AErl6Chp06JBfy7diFQ7TQQhdpWOl6MrCRB+eRbvAZUsbGQS9kiMq0coJsy0W0vHpDCkWsQ==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "node-addon-api": "^4.3.0", + "prebuild-install": "^7.0.1" + } + }, + "node_modules/leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/lie": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "immediate": "~3.0.5" + } + }, + "node_modules/linkify-it": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-3.0.3.tgz", + "integrity": "sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "uc.micro": "^1.0.1" + } + }, + "node_modules/lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", + "dev": true, + "license": "MIT" + }, + "node_modules/log-symbols": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-6.0.0.tgz", + "integrity": "sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^5.3.0", + "is-unicode-supported": "^1.3.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-symbols/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==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/is-unicode-supported": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", + "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/markdown-it": { + "version": "12.3.2", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.3.2.tgz", + "integrity": "sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1", + "entities": "~2.1.0", + "linkify-it": "^3.0.1", + "mdurl": "^1.0.1", + "uc.micro": "^1.0.5" + }, + "bin": { + "markdown-it": "bin/markdown-it.js" + } + }, + "node_modules/markdown-it/node_modules/entities": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz", + "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==", + "dev": true, + "license": "BSD-2-Clause", + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/mdurl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", + "integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==", + "dev": true, + "license": "MIT" + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mimic-function": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", + "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mimic-response": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", + "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/minimatch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "license": "MIT", + "optional": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/mkdirp-classic": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", + "dev": true, + "license": "MIT", + "optional": true + }, + "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==", + "dev": true, + "license": "MIT" + }, + "node_modules/mute-stream": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", + "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "dev": true, + "license": "ISC" + }, + "node_modules/napi-build-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz", + "integrity": "sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/node-abi": { + "version": "3.92.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.92.0.tgz", + "integrity": "sha512-KdHvFWZjEKDf0cakgFjebl371GPsISX2oZHcuyKqM7DtogIsHrqKeLTo8wBHxaXRAQlY2PsPlZmfo+9ZCxEREQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/node-addon-api": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz", + "integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", + "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-function": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/open": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/open/-/open-10.2.0.tgz", + "integrity": "sha512-YgBpdJHPyQ2UE5x+hlSXcnejzAvD0b22U2OuAP+8OnlJT+PjWPxtgmGqKKc+RgTM63U9gN0YzrYc71R2WT/hTA==", + "dev": true, + "license": "MIT", + "dependencies": { + "default-browser": "^5.2.1", + "define-lazy-prop": "^3.0.0", + "is-inside-container": "^1.0.0", + "wsl-utils": "^0.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/ora/-/ora-8.2.0.tgz", + "integrity": "sha512-weP+BZ8MVNnlCm8c0Qdc1WSWq4Qn7I+9CJGm7Qali6g44e/PUzbjNqJX5NJ9ljlNMosfJvg1fKEGILklK9cwnw==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^5.3.0", + "cli-cursor": "^5.0.0", + "cli-spinners": "^2.9.2", + "is-interactive": "^2.0.0", + "is-unicode-supported": "^2.0.0", + "log-symbols": "^6.0.0", + "stdin-discarder": "^0.2.2", + "string-width": "^7.2.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora/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==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", + "dev": true, + "license": "(MIT AND Zlib)" + }, + "node_modules/parse-semver": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/parse-semver/-/parse-semver-1.1.1.tgz", + "integrity": "sha512-Eg1OuNntBMH0ojvEKSrvDSnwLmvVuUOSdylH/pSCPNMIspLlweJyIWXCE+k/5hm3cj/EBUYwmWkjhBALNP4LXQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^5.1.0" + } + }, + "node_modules/parse-semver/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/parse5": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", + "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "entities": "^6.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5-htmlparser2-tree-adapter": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.1.0.tgz", + "integrity": "sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "domhandler": "^5.0.3", + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5-parser-stream": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/parse5-parser-stream/-/parse5-parser-stream-7.1.2.tgz", + "integrity": "sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow==", + "dev": true, + "license": "MIT", + "dependencies": { + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5/node_modules/entities": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", + "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", + "dev": true, + "license": "MIT" + }, + "node_modules/prebuild-install": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz", + "integrity": "sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==", + "deprecated": "No longer maintained. Please contact the author of the relevant native addon; alternatives are available.", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "detect-libc": "^2.0.0", + "expand-template": "^2.0.3", + "github-from-package": "0.0.0", + "minimist": "^1.2.3", + "mkdirp-classic": "^0.5.3", + "napi-build-utils": "^2.0.0", + "node-abi": "^3.3.0", + "pump": "^3.0.0", + "rc": "^1.2.7", + "simple-get": "^4.0.0", + "tar-fs": "^2.0.0", + "tunnel-agent": "^0.6.0" + }, + "bin": { + "prebuild-install": "bin.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true, + "license": "MIT" + }, + "node_modules/pump": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz", + "integrity": "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/qs": { + "version": "6.15.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.2.tgz", + "integrity": "sha512-Rzq0KEyX/w/tEybncDgdkZrJgVUsUMk3xjh3t5bv3S1HTAtg+uOYt72+ZfwiQwKdysThkTBdL/rTi6HDmX9Ddw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", + "optional": true, + "dependencies": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "bin": { + "rc": "cli.js" + } + }, + "node_modules/read": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz", + "integrity": "sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "mute-stream": "~0.0.4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/restore-cursor": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", + "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", + "dev": true, + "license": "MIT", + "dependencies": { + "onetime": "^7.0.0", + "signal-exit": "^4.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/run-applescript": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.1.0.tgz", + "integrity": "sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, + "license": "MIT" + }, + "node_modules/sax": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.6.0.tgz", + "integrity": "sha512-6R3J5M4AcbtLUdZmRv2SygeVaM7IhrLXu9BmnOGmmACak8fiUtOsYNWUS4uK7upbmHIBbLBeFeI//477BKLBzA==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=11.0.0" + } + }, + "node_modules/semver": { + "version": "7.8.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.0.tgz", + "integrity": "sha512-AcM7dV/5ul4EekoQ29Agm5vri8JNqRyj39o0qpX6vDF2GZrtutZl5RwgD1XnZjiTAfncsJhMI48QQH3sN87YNA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", + "dev": true, + "license": "MIT" + }, + "node_modules/side-channel": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz", + "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/simple-concat": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", + "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true + }, + "node_modules/simple-get": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", + "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "decompress-response": "^6.0.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "node_modules/stdin-discarder": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.2.2.tgz", + "integrity": "sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/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==", + "dev": true, + "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.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.2.2" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/tar-fs": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.4.tgz", + "integrity": "sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.1.4" + } + }, + "node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tar-stream/node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/tmp": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.5.tgz", + "integrity": "sha512-voyz6MApa1rQGUxT3E+BK7/ROe8itEx7vD8/HEvt4xwXucvQ5G5oeEiHkmHZJuBO21RpOf+YYm9MOivj709jow==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.14" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD" + }, + "node_modules/tunnel": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", + "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6.11 <=0.7.0 || >=0.7.3" + } + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/typed-rest-client": { + "version": "1.8.11", + "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.8.11.tgz", + "integrity": "sha512-5UvfMpd1oelmUPRbbaVnq+rHP7ng2cE4qoQkQeAqxRL6PklkxsM0g32/HL0yfvruK6ojQ5x8EE+HF4YV6DtuCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "qs": "^6.9.1", + "tunnel": "0.0.6", + "underscore": "^1.12.1" + } + }, + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/uc.micro": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", + "dev": true, + "license": "MIT" + }, + "node_modules/underscore": { + "version": "1.13.8", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.8.tgz", + "integrity": "sha512-DXtD3ZtEQzc7M8m4cXotyHR+FAS18C64asBYY5vqZexfYryNNnDc02W4hKg3rdQuqOYas1jkseX0+nZXjTXnvQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/undici": { + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-7.25.0.tgz", + "integrity": "sha512-xXnp4kTyor2Zq+J1FfPI6Eq3ew5h6Vl0F/8d9XU5zZQf1tX9s2Su1/3PiMmUANFULpmksxkClamIZcaUqryHsQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20.18.1" + } + }, + "node_modules/url-join": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz", + "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==", + "dev": true, + "license": "MIT" + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true, + "license": "MIT" + }, + "node_modules/whatwg-encoding": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz", + "integrity": "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==", + "deprecated": "Use @exodus/bytes instead for a more spec-conformant and faster implementation", + "dev": true, + "license": "MIT", + "dependencies": { + "iconv-lite": "0.6.3" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/whatwg-mimetype": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz", + "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/wsl-utils": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/wsl-utils/-/wsl-utils-0.1.0.tgz", + "integrity": "sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-wsl": "^3.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/xml2js": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", + "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/xmlbuilder": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", + "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, + "node_modules/yazl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/yazl/-/yazl-2.5.1.tgz", + "integrity": "sha512-phENi2PLiHnHb6QBVot+dJnaAZ0xosj7p3fWl+znIjBDlnMI2PsZCJZ306BPTFOaHf5qdDEI8x5qFrSOBN5vrw==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-crc32": "~0.2.3" + } + } + } +} diff --git a/vscode-extension/package.json b/vscode-extension/package.json new file mode 100644 index 00000000..c702cb30 --- /dev/null +++ b/vscode-extension/package.json @@ -0,0 +1,107 @@ +{ + "name": "hana-cli", + "displayName": "hana-cli Tools for SAP HANA", + "description": "Visual editors and database tools for SAP HANA powered by hana-cli", + "version": "0.1.0", + "publisher": "SAP-samples", + "engines": { "vscode": "^1.85.0" }, + "extensionKind": ["workspace"], + "categories": ["Other", "Visualization"], + "keywords": ["SAP", "HANA", "database", "calculation view", "CAP"], + "activationEvents": [ + "workspaceContains:**/*.hdbcalculationview", + "workspaceContains:**/*.hdbtable", + "workspaceContains:**/default-env.json", + "workspaceContains:**/.cdsrc-private.json" + ], + "main": "./dist/extension.js", + "capabilities": { + "untrustedWorkspaces": { "supported": false } + }, + "contributes": { + "commands": [ + { "command": "hana-cli.openTools", "title": "HANA: Open hana-cli Tools" }, + { "command": "hana-cli.openQuery", "title": "HANA: New Query Editor" }, + { "command": "hana-cli.showTables", "title": "HANA: Show Tables" }, + { "command": "hana-cli.showViews", "title": "HANA: Show Views" }, + { "command": "hana-cli.systemInfo", "title": "HANA: System Info" }, + { "command": "hana-cli.addConnection", "title": "HANA: Add Connection" }, + { "command": "hana-cli.importData", "title": "HANA: Import Data" } + ], + "customEditors": [ + { + "viewType": "hana-cli.calcViewEditor", + "displayName": "Calculation View Editor", + "selector": [{ "filenamePattern": "*.hdbcalculationview" }], + "priority": "default" + }, + { + "viewType": "hana-cli.tableInspector", + "displayName": "HANA Table Inspector", + "selector": [ + { "filenamePattern": "*.hdbtable" }, + { "filenamePattern": "*.hdbmigrationtable" } + ], + "priority": "default" + }, + { + "viewType": "hana-cli.viewInspector", + "displayName": "HANA View Inspector", + "selector": [{ "filenamePattern": "*.hdbview" }], + "priority": "default" + }, + { + "viewType": "hana-cli.procedureInspector", + "displayName": "HANA Procedure Inspector", + "selector": [{ "filenamePattern": "*.hdbprocedure" }], + "priority": "default" + }, + { + "viewType": "hana-cli.functionInspector", + "displayName": "HANA Function Inspector", + "selector": [{ "filenamePattern": "*.hdbfunction" }], + "priority": "default" + }, + { + "viewType": "hana-cli.synonymInspector", + "displayName": "HANA Synonym Inspector", + "selector": [{ "filenamePattern": "*.hdbsynonym" }], + "priority": "default" + }, + { + "viewType": "hana-cli.roleInspector", + "displayName": "HANA Role Inspector", + "selector": [{ "filenamePattern": "*.hdbrole" }], + "priority": "default" + }, + { + "viewType": "hana-cli.sequenceInspector", + "displayName": "HANA Sequence Inspector", + "selector": [{ "filenamePattern": "*.hdbsequence" }], + "priority": "default" + } + ], + "menus": { + "explorer/context": [ + { + "command": "hana-cli.openTools", + "when": "resourceExtname == .hdbtable || resourceExtname == .hdbview", + "group": "hana-cli" + } + ] + } + }, + "scripts": { + "compile": "tsc -p ./", + "bundle": "node esbuild.config.mjs", + "package": "vsce package", + "test": "node ./test/runTests.ts" + }, + "devDependencies": { + "@types/vscode": "^1.85.0", + "@vscode/test-electron": "^2.3.0", + "@vscode/vsce": "^2.22.0", + "esbuild": "^0.20.0", + "typescript": "^5.7.0" + } +} diff --git a/vscode-extension/src/extension.ts b/vscode-extension/src/extension.ts new file mode 100644 index 00000000..3539ee26 --- /dev/null +++ b/vscode-extension/src/extension.ts @@ -0,0 +1,7 @@ +import * as vscode from 'vscode' + +export function activate(context: vscode.ExtensionContext) { + console.log('hana-cli extension activated') +} + +export function deactivate() {} diff --git a/vscode-extension/tsconfig.json b/vscode-extension/tsconfig.json new file mode 100644 index 00000000..0b0ebf74 --- /dev/null +++ b/vscode-extension/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "NodeNext", + "moduleResolution": "NodeNext", + "lib": ["ES2022"], + "outDir": "./out", + "rootDir": "./src", + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "declaration": true, + "sourceMap": true, + "types": ["node"] + }, + "include": ["src/**/*"], + "exclude": ["node_modules", "out", "dist", "test"] +} From e86d1981b2fe615b18983bf346a21f8cb8d963c4 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 08:53:18 -0400 Subject: [PATCH 04/21] chore(vscode): exclude package-lock.json from VSIX bundle --- vscode-extension/.vscodeignore | 1 + 1 file changed, 1 insertion(+) diff --git a/vscode-extension/.vscodeignore b/vscode-extension/.vscodeignore index 230f04fd..d660363c 100644 --- a/vscode-extension/.vscodeignore +++ b/vscode-extension/.vscodeignore @@ -5,3 +5,4 @@ node_modules/** .gitignore tsconfig.json esbuild.config.mjs +package-lock.json From 6010ce319a33e05d739584c2c251bb3d33ea9264 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 08:56:33 -0400 Subject: [PATCH 05/21] feat(vscode): add server lifecycle with port discovery and graceful shutdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implements the embedded Express server that powers data operations for Vue webviews. Routes are statically imported via a barrel file so esbuild can bundle them into the extension — no dynamic filesystem discovery needed in the packaged .vsix. --- vscode-extension/package-lock.json | 762 +++++++++++++++++++++++ vscode-extension/package.json | 113 +++- vscode-extension/src/extension.ts | 27 +- vscode-extension/src/server/lifecycle.ts | 69 ++ vscode-extension/src/server/port.ts | 23 + vscode-extension/src/server/routes.ts | 46 ++ 6 files changed, 1017 insertions(+), 23 deletions(-) create mode 100644 vscode-extension/src/server/lifecycle.ts create mode 100644 vscode-extension/src/server/port.ts create mode 100644 vscode-extension/src/server/routes.ts diff --git a/vscode-extension/package-lock.json b/vscode-extension/package-lock.json index cc2b5488..42583036 100644 --- a/vscode-extension/package-lock.json +++ b/vscode-extension/package-lock.json @@ -8,10 +8,13 @@ "name": "hana-cli", "version": "0.1.0", "devDependencies": { + "@types/express": "^5.0.6", + "@types/node": "^25.8.0", "@types/vscode": "^1.85.0", "@vscode/test-electron": "^2.3.0", "@vscode/vsce": "^2.22.0", "esbuild": "^0.20.0", + "express": "^5.2.1", "typescript": "^5.7.0" }, "engines": { @@ -577,6 +580,104 @@ "node": ">=12" } }, + "node_modules/@types/body-parser": { + "version": "1.19.6", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.6.tgz", + "integrity": "sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "node_modules/@types/connect": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", + "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/express": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/@types/express/-/express-5.0.6.tgz", + "integrity": "sha512-sKYVuV7Sv9fbPIt/442koC7+IIwK5olP1KWeD88e/idgoJqDm3JV/YUiPwkoKK92ylff2MGxSz1CSjsXelx0YA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^5.0.0", + "@types/serve-static": "^2" + } + }, + "node_modules/@types/express-serve-static-core": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.1.1.tgz", + "integrity": "sha512-v4zIMr/cX7/d2BpAEX3KNKL/JrT1s43s96lLvvdTmza1oEvDudCqK9aF/djc/SWgy8Yh0h30TZx5VpzqFCxk5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, + "node_modules/@types/http-errors": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.5.tgz", + "integrity": "sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "25.8.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-25.8.0.tgz", + "integrity": "sha512-TCFSk8IZh+iLX1xtksoBVtdmgL+1IX0fC9BeU4QqFSuNdN/K+HUlhqOzEmSYYpZUVsLYcPqc9KX+60iDuninSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": ">=7.24.0 <7.24.7" + } + }, + "node_modules/@types/qs": { + "version": "6.15.1", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.15.1.tgz", + "integrity": "sha512-GZHUBZR9hckSUhrxmp1nG6NwdpM9fCunJwyThLW1X3AyHgd9IlHb6VANpQQqDr2o/qQp6McZ3y/IA2rVzKzSbw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/range-parser": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", + "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/send": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@types/send/-/send-1.2.1.tgz", + "integrity": "sha512-arsCikDvlU99zl1g69TcAB3mzZPpxgw0UQnaHeC1Nwb015xp8bknZv5rIfri9xTOcMuaVgvabfIRA7PSZVuZIQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/serve-static": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-2.2.0.tgz", + "integrity": "sha512-8mam4H1NHLtu7nmtalF7eyBH14QyOASmcxHhSfEoRyr0nP/YdoesEtU+uSRvMe96TW/HPTtkoKqQLl53N7UXMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-errors": "*", + "@types/node": "*" + } + }, "node_modules/@types/vscode": { "version": "1.120.0", "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.120.0.tgz", @@ -803,6 +904,47 @@ "win32" ] }, + "node_modules/accepts": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", + "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "^3.0.0", + "negotiator": "^1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/accepts/node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/accepts/node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/agent-base": { "version": "7.1.4", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", @@ -922,6 +1064,48 @@ "node": ">= 6" } }, + "node_modules/body-parser": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.2.tgz", + "integrity": "sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "^3.1.2", + "content-type": "^1.0.5", + "debug": "^4.4.3", + "http-errors": "^2.0.0", + "iconv-lite": "^0.7.0", + "on-finished": "^2.4.1", + "qs": "^6.14.1", + "raw-body": "^3.0.1", + "type-is": "^2.0.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/body-parser/node_modules/iconv-lite": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.2.tgz", + "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/boolbase": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", @@ -999,6 +1183,16 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/call-bind-apply-helpers": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", @@ -1183,6 +1377,50 @@ "dev": true, "license": "MIT" }, + "node_modules/content-disposition": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.1.0.tgz", + "integrity": "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", + "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.6.0" + } + }, "node_modules/core-util-is": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", @@ -1319,6 +1557,16 @@ "node": ">=0.4.0" } }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/detect-libc": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", @@ -1414,6 +1662,13 @@ "safe-buffer": "^5.0.1" } }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "dev": true, + "license": "MIT" + }, "node_modules/emoji-regex": { "version": "10.6.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", @@ -1421,6 +1676,16 @@ "dev": true, "license": "MIT" }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/encoding-sniffer": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/encoding-sniffer/-/encoding-sniffer-0.2.1.tgz", @@ -1547,6 +1812,13 @@ "@esbuild/win32-x64": "0.20.2" } }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "dev": true, + "license": "MIT" + }, "node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", @@ -1557,6 +1829,16 @@ "node": ">=0.8.0" } }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/expand-template": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", @@ -1568,6 +1850,77 @@ "node": ">=6" } }, + "node_modules/express": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz", + "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "^2.0.0", + "body-parser": "^2.2.1", + "content-disposition": "^1.0.0", + "content-type": "^1.0.5", + "cookie": "^0.7.1", + "cookie-signature": "^1.2.1", + "debug": "^4.4.0", + "depd": "^2.0.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "finalhandler": "^2.1.0", + "fresh": "^2.0.0", + "http-errors": "^2.0.0", + "merge-descriptors": "^2.0.0", + "mime-types": "^3.0.0", + "on-finished": "^2.4.1", + "once": "^1.4.0", + "parseurl": "^1.3.3", + "proxy-addr": "^2.0.7", + "qs": "^6.14.0", + "range-parser": "^1.2.1", + "router": "^2.2.0", + "send": "^1.1.0", + "serve-static": "^2.2.0", + "statuses": "^2.0.1", + "type-is": "^2.0.1", + "vary": "^1.1.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/express/node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express/node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/fd-slicer": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", @@ -1578,6 +1931,28 @@ "pend": "~1.2.0" } }, + "node_modules/finalhandler": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz", + "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "on-finished": "^2.4.1", + "parseurl": "^1.3.3", + "statuses": "^2.0.1" + }, + "engines": { + "node": ">= 18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/form-data": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", @@ -1595,6 +1970,26 @@ "node": ">= 6" } }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", + "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/fs-constants": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", @@ -1813,6 +2208,27 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, + "node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/http-proxy-agent": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", @@ -1910,6 +2326,16 @@ "license": "ISC", "optional": true }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, "node_modules/is-docker": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", @@ -1958,6 +2384,13 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/is-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", + "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", + "dev": true, + "license": "MIT" + }, "node_modules/is-unicode-supported": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", @@ -2252,6 +2685,29 @@ "dev": true, "license": "MIT" }, + "node_modules/media-typer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz", + "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/merge-descriptors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", + "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/mime": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", @@ -2369,6 +2825,16 @@ "license": "MIT", "optional": true }, + "node_modules/negotiator": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", + "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/node-abi": { "version": "3.92.0", "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.92.0.tgz", @@ -2417,6 +2883,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -2579,6 +3058,16 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", @@ -2589,6 +3078,17 @@ "node": ">=0.10.0" } }, + "node_modules/path-to-regexp": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", + "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/pend": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", @@ -2632,6 +3132,20 @@ "dev": true, "license": "MIT" }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/pump": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz", @@ -2660,6 +3174,49 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz", + "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.7.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/raw-body/node_modules/iconv-lite": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.2.tgz", + "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/rc": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", @@ -2730,6 +3287,23 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/router": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz", + "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "depd": "^2.0.0", + "is-promise": "^4.0.0", + "parseurl": "^1.3.3", + "path-to-regexp": "^8.0.0" + }, + "engines": { + "node": ">= 18" + } + }, "node_modules/run-applescript": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.1.0.tgz", @@ -2794,6 +3368,80 @@ "node": ">=10" } }, + "node_modules/send": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", + "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.4.3", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "fresh": "^2.0.0", + "http-errors": "^2.0.1", + "mime-types": "^3.0.2", + "ms": "^2.1.3", + "on-finished": "^2.4.1", + "range-parser": "^1.2.1", + "statuses": "^2.0.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/send/node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/send/node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/serve-static": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz", + "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "parseurl": "^1.3.3", + "send": "^1.2.0" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/setimmediate": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", @@ -2801,6 +3449,13 @@ "dev": true, "license": "MIT" }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "dev": true, + "license": "ISC" + }, "node_modules/side-channel": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", @@ -2939,6 +3594,16 @@ "simple-concat": "^1.0.0" } }, + "node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/stdin-discarder": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.2.2.tgz", @@ -3085,6 +3750,16 @@ "node": ">=14.14" } }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, "node_modules/tslib": { "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", @@ -3116,6 +3791,66 @@ "node": "*" } }, + "node_modules/type-is": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz", + "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==", + "dev": true, + "license": "MIT", + "dependencies": { + "content-type": "^2.0.0", + "media-typer": "^1.1.0", + "mime-types": "^3.0.0" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/type-is/node_modules/content-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz", + "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/type-is/node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/type-is/node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/typed-rest-client": { "version": "1.8.11", "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-1.8.11.tgz", @@ -3166,6 +3901,23 @@ "node": ">=20.18.1" } }, + "node_modules/undici-types": { + "version": "7.24.6", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz", + "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==", + "dev": true, + "license": "MIT" + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/url-join": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz", @@ -3180,6 +3932,16 @@ "dev": true, "license": "MIT" }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/whatwg-encoding": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz", diff --git a/vscode-extension/package.json b/vscode-extension/package.json index c702cb30..ba626dd8 100644 --- a/vscode-extension/package.json +++ b/vscode-extension/package.json @@ -4,10 +4,23 @@ "description": "Visual editors and database tools for SAP HANA powered by hana-cli", "version": "0.1.0", "publisher": "SAP-samples", - "engines": { "vscode": "^1.85.0" }, - "extensionKind": ["workspace"], - "categories": ["Other", "Visualization"], - "keywords": ["SAP", "HANA", "database", "calculation view", "CAP"], + "engines": { + "vscode": "^1.85.0" + }, + "extensionKind": [ + "workspace" + ], + "categories": [ + "Other", + "Visualization" + ], + "keywords": [ + "SAP", + "HANA", + "database", + "calculation view", + "CAP" + ], "activationEvents": [ "workspaceContains:**/*.hdbcalculationview", "workspaceContains:**/*.hdbtable", @@ -16,68 +29,123 @@ ], "main": "./dist/extension.js", "capabilities": { - "untrustedWorkspaces": { "supported": false } + "untrustedWorkspaces": { + "supported": false + } }, "contributes": { "commands": [ - { "command": "hana-cli.openTools", "title": "HANA: Open hana-cli Tools" }, - { "command": "hana-cli.openQuery", "title": "HANA: New Query Editor" }, - { "command": "hana-cli.showTables", "title": "HANA: Show Tables" }, - { "command": "hana-cli.showViews", "title": "HANA: Show Views" }, - { "command": "hana-cli.systemInfo", "title": "HANA: System Info" }, - { "command": "hana-cli.addConnection", "title": "HANA: Add Connection" }, - { "command": "hana-cli.importData", "title": "HANA: Import Data" } + { + "command": "hana-cli.openTools", + "title": "HANA: Open hana-cli Tools" + }, + { + "command": "hana-cli.openQuery", + "title": "HANA: New Query Editor" + }, + { + "command": "hana-cli.showTables", + "title": "HANA: Show Tables" + }, + { + "command": "hana-cli.showViews", + "title": "HANA: Show Views" + }, + { + "command": "hana-cli.systemInfo", + "title": "HANA: System Info" + }, + { + "command": "hana-cli.addConnection", + "title": "HANA: Add Connection" + }, + { + "command": "hana-cli.importData", + "title": "HANA: Import Data" + } ], "customEditors": [ { "viewType": "hana-cli.calcViewEditor", "displayName": "Calculation View Editor", - "selector": [{ "filenamePattern": "*.hdbcalculationview" }], + "selector": [ + { + "filenamePattern": "*.hdbcalculationview" + } + ], "priority": "default" }, { "viewType": "hana-cli.tableInspector", "displayName": "HANA Table Inspector", "selector": [ - { "filenamePattern": "*.hdbtable" }, - { "filenamePattern": "*.hdbmigrationtable" } + { + "filenamePattern": "*.hdbtable" + }, + { + "filenamePattern": "*.hdbmigrationtable" + } ], "priority": "default" }, { "viewType": "hana-cli.viewInspector", "displayName": "HANA View Inspector", - "selector": [{ "filenamePattern": "*.hdbview" }], + "selector": [ + { + "filenamePattern": "*.hdbview" + } + ], "priority": "default" }, { "viewType": "hana-cli.procedureInspector", "displayName": "HANA Procedure Inspector", - "selector": [{ "filenamePattern": "*.hdbprocedure" }], + "selector": [ + { + "filenamePattern": "*.hdbprocedure" + } + ], "priority": "default" }, { "viewType": "hana-cli.functionInspector", "displayName": "HANA Function Inspector", - "selector": [{ "filenamePattern": "*.hdbfunction" }], + "selector": [ + { + "filenamePattern": "*.hdbfunction" + } + ], "priority": "default" }, { "viewType": "hana-cli.synonymInspector", "displayName": "HANA Synonym Inspector", - "selector": [{ "filenamePattern": "*.hdbsynonym" }], + "selector": [ + { + "filenamePattern": "*.hdbsynonym" + } + ], "priority": "default" }, { "viewType": "hana-cli.roleInspector", "displayName": "HANA Role Inspector", - "selector": [{ "filenamePattern": "*.hdbrole" }], + "selector": [ + { + "filenamePattern": "*.hdbrole" + } + ], "priority": "default" }, { "viewType": "hana-cli.sequenceInspector", "displayName": "HANA Sequence Inspector", - "selector": [{ "filenamePattern": "*.hdbsequence" }], + "selector": [ + { + "filenamePattern": "*.hdbsequence" + } + ], "priority": "default" } ], @@ -98,10 +166,13 @@ "test": "node ./test/runTests.ts" }, "devDependencies": { + "@types/express": "^5.0.6", + "@types/node": "^25.8.0", "@types/vscode": "^1.85.0", "@vscode/test-electron": "^2.3.0", "@vscode/vsce": "^2.22.0", "esbuild": "^0.20.0", + "express": "^5.2.1", "typescript": "^5.7.0" } } diff --git a/vscode-extension/src/extension.ts b/vscode-extension/src/extension.ts index 3539ee26..23cb15ef 100644 --- a/vscode-extension/src/extension.ts +++ b/vscode-extension/src/extension.ts @@ -1,7 +1,30 @@ import * as vscode from 'vscode' +import { startServer, stopServer, scheduleShutdown } from './server/lifecycle.js' + +let activeWebviewCount = 0 export function activate(context: vscode.ExtensionContext) { - console.log('hana-cli extension activated') + context.subscriptions.push({ + dispose: () => stopServer() + }) +} + +export async function ensureServer(context: vscode.ExtensionContext): Promise { + return startServer(context) +} + +export function trackWebviewOpen(): void { + activeWebviewCount++ +} + +export function trackWebviewClose(): void { + activeWebviewCount-- + if (activeWebviewCount <= 0) { + activeWebviewCount = 0 + scheduleShutdown() + } } -export function deactivate() {} +export function deactivate() { + return stopServer() +} diff --git a/vscode-extension/src/server/lifecycle.ts b/vscode-extension/src/server/lifecycle.ts new file mode 100644 index 00000000..d84e08d6 --- /dev/null +++ b/vscode-extension/src/server/lifecycle.ts @@ -0,0 +1,69 @@ +import * as vscode from 'vscode' +import * as http from 'http' +import express from 'express' +import { findAvailablePort } from './port.js' +import { registerAllRoutes } from './routes.js' + +let server: http.Server | null = null +let currentPort: number | null = null +let shutdownTimer: ReturnType | null = null + +export function getPort(): number | null { + return currentPort +} + +export function isRunning(): boolean { + return server !== null && server.listening +} + +export async function startServer(_context: vscode.ExtensionContext): Promise { + if (isRunning()) return currentPort! + + cancelShutdownTimer() + + const port = await findAvailablePort() + + const app = express() + app.set('x-powered-by', false) + app.disable('etag') + + server = http.createServer() + + // Register all routes via static barrel (bundled by esbuild) + registerAllRoutes(app, server) + + server.on('request', app) + + return new Promise((resolve, reject) => { + server!.listen(port, '127.0.0.1', () => { + currentPort = port + resolve(port) + }) + server!.on('error', reject) + }) +} + +export async function stopServer(): Promise { + cancelShutdownTimer() + if (server) { + return new Promise((resolve) => { + server!.close(() => { + server = null + currentPort = null + resolve() + }) + }) + } +} + +export function scheduleShutdown(delayMs = 30000): void { + cancelShutdownTimer() + shutdownTimer = setTimeout(() => stopServer(), delayMs) +} + +function cancelShutdownTimer(): void { + if (shutdownTimer) { + clearTimeout(shutdownTimer) + shutdownTimer = null + } +} diff --git a/vscode-extension/src/server/port.ts b/vscode-extension/src/server/port.ts new file mode 100644 index 00000000..71ada12e --- /dev/null +++ b/vscode-extension/src/server/port.ts @@ -0,0 +1,23 @@ +import * as net from 'net' + +export function findAvailablePort(startPort = 40000, maxRetries = 10): Promise { + return new Promise((resolve, reject) => { + let attempts = 0 + function tryPort(port: number) { + const server = net.createServer() + server.unref() + server.on('error', () => { + attempts++ + if (attempts >= maxRetries) { + reject(new Error(`No available port found after ${maxRetries} attempts`)) + } else { + tryPort(port + 1) + } + }) + server.listen(port, '127.0.0.1', () => { + server.close(() => resolve(port)) + }) + } + tryPort(startPort + Math.floor(Math.random() * 1000)) + }) +} diff --git a/vscode-extension/src/server/routes.ts b/vscode-extension/src/server/routes.ts new file mode 100644 index 00000000..f1f2b495 --- /dev/null +++ b/vscode-extension/src/server/routes.ts @@ -0,0 +1,46 @@ +// Static imports — esbuild traces these into the bundle +// @ts-ignore — JS route modules without type declarations +import * as btpLogin from '../../routes/btpLogin.js' +// @ts-ignore +import * as calcView from '../../routes/calcView.js' +// @ts-ignore +import * as cfLogin from '../../routes/cfLogin.js' +// @ts-ignore +import * as docs from '../../routes/docs.js' +// @ts-ignore +import * as excel from '../../routes/excel.js' +// @ts-ignore +import * as hanaAnalytics from '../../routes/hanaAnalytics.js' +// @ts-ignore +import * as hanaInspect from '../../routes/hanaInspect.js' +// @ts-ignore +import * as hanaList from '../../routes/hanaList.js' +// @ts-ignore +import * as hanaQueryPlan from '../../routes/hanaQueryPlan.js' +// @ts-ignore +import * as index from '../../routes/index.js' +// @ts-ignore +import * as staticRoutes from '../../routes/static.js' +// @ts-ignore +import * as swagger from '../../routes/swagger.js' +// @ts-ignore +import * as webSocket from '../../routes/webSocket.js' + +import type { Express } from 'express' +import type { Server } from 'http' + +interface RouteModule { + route(app: Express, server: Server): void +} + +const allRoutes: RouteModule[] = [ + btpLogin, calcView, cfLogin, docs, excel, + hanaAnalytics, hanaInspect, hanaList, hanaQueryPlan, + index, staticRoutes, swagger, webSocket +] + +export function registerAllRoutes(app: Express, server: Server): void { + for (const routeModule of allRoutes) { + routeModule.route(app, server) + } +} From 369684c3daa0643fe0efb1f74a155c5876de9624 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 09:04:31 -0400 Subject: [PATCH 06/21] fix(vscode): move express to dependencies and guard concurrent server starts --- vscode-extension/package.json | 4 +++- vscode-extension/src/server/lifecycle.ts | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/vscode-extension/package.json b/vscode-extension/package.json index ba626dd8..66a7a624 100644 --- a/vscode-extension/package.json +++ b/vscode-extension/package.json @@ -165,6 +165,9 @@ "package": "vsce package", "test": "node ./test/runTests.ts" }, + "dependencies": { + "express": "^5.2.1" + }, "devDependencies": { "@types/express": "^5.0.6", "@types/node": "^25.8.0", @@ -172,7 +175,6 @@ "@vscode/test-electron": "^2.3.0", "@vscode/vsce": "^2.22.0", "esbuild": "^0.20.0", - "express": "^5.2.1", "typescript": "^5.7.0" } } diff --git a/vscode-extension/src/server/lifecycle.ts b/vscode-extension/src/server/lifecycle.ts index d84e08d6..73c18635 100644 --- a/vscode-extension/src/server/lifecycle.ts +++ b/vscode-extension/src/server/lifecycle.ts @@ -7,6 +7,7 @@ import { registerAllRoutes } from './routes.js' let server: http.Server | null = null let currentPort: number | null = null let shutdownTimer: ReturnType | null = null +let startPromise: Promise | null = null export function getPort(): number | null { return currentPort @@ -18,7 +19,13 @@ export function isRunning(): boolean { export async function startServer(_context: vscode.ExtensionContext): Promise { if (isRunning()) return currentPort! + if (startPromise) return startPromise + startPromise = doStart().finally(() => { startPromise = null }) + return startPromise +} + +async function doStart(): Promise { cancelShutdownTimer() const port = await findAvailablePort() @@ -59,6 +66,7 @@ export async function stopServer(): Promise { export function scheduleShutdown(delayMs = 30000): void { cancelShutdownTimer() shutdownTimer = setTimeout(() => stopServer(), delayMs) + shutdownTimer.unref() } function cancelShutdownTimer(): void { From 6caceb4266efec6f714d9301057cec7ca30ca98e Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 09:06:06 -0400 Subject: [PATCH 07/21] feat(vscode): add webview HTML provider with CSP and typed message bridge --- vscode-extension/src/webview/bridge.ts | 16 ++++++ vscode-extension/src/webview/htmlProvider.ts | 52 ++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 vscode-extension/src/webview/bridge.ts create mode 100644 vscode-extension/src/webview/htmlProvider.ts diff --git a/vscode-extension/src/webview/bridge.ts b/vscode-extension/src/webview/bridge.ts new file mode 100644 index 00000000..eae346bf --- /dev/null +++ b/vscode-extension/src/webview/bridge.ts @@ -0,0 +1,16 @@ +// Messages from extension to webview +export type ExtToWebviewMessage = + | { type: 'serverReady'; port: number } + | { type: 'themeChanged'; theme: 'light' | 'dark' } + | { type: 'fileContent'; xml: string } + | { type: 'requestSave' } + | { type: 'openArtifact'; kind: string; name: string; schema: string } + | { type: 'navigate'; route: string } + +// Messages from webview to extension +export type WebviewToExtMessage = + | { type: 'dirty'; value: boolean } + | { type: 'save'; xml: string } + | { type: 'showMessage'; level: 'info' | 'warning' | 'error'; text: string } + | { type: 'openFile'; path: string } + | { type: 'ready' } diff --git a/vscode-extension/src/webview/htmlProvider.ts b/vscode-extension/src/webview/htmlProvider.ts new file mode 100644 index 00000000..879d66ea --- /dev/null +++ b/vscode-extension/src/webview/htmlProvider.ts @@ -0,0 +1,52 @@ +import * as vscode from 'vscode' +import * as crypto from 'crypto' + +export function getWebviewContent( + webview: vscode.Webview, + extensionUri: vscode.Uri, + options: { route?: string; port?: number } = {} +): string { + const nonce = crypto.randomBytes(16).toString('hex') + + // Path to the Vue webview build + const distPath = vscode.Uri.joinPath(extensionUri, '..', 'app', 'vue', 'dist-vscode') + const scriptUri = webview.asWebviewUri(vscode.Uri.joinPath(distPath, 'assets', 'index.js')) + const styleUri = webview.asWebviewUri(vscode.Uri.joinPath(distPath, 'assets', 'index.css')) + + const csp = [ + `default-src 'none'`, + `style-src ${webview.cspSource} 'unsafe-inline'`, + `script-src 'nonce-${nonce}'`, + `font-src ${webview.cspSource}`, + `img-src ${webview.cspSource} data:`, + `connect-src http://localhost:*`, + ].join('; ') + + return ` + + + + + + + hana-cli Tools + + +
+ + + +` +} + +export function getWebviewOptions(extensionUri: vscode.Uri): vscode.WebviewOptions { + const distPath = vscode.Uri.joinPath(extensionUri, '..', 'app', 'vue', 'dist-vscode') + return { + enableScripts: true, + localResourceRoots: [distPath] + } +} From 81eb7e5122875cdc11c154830c9e07db65c031a5 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 09:09:21 -0400 Subject: [PATCH 08/21] feat(vue): add environment adapter pattern for VSCode/browser dual-target --- app/vue/src/adapters/browserAdapter.ts | 29 +++++++++++++ app/vue/src/adapters/environment.ts | 21 ++++++++++ app/vue/src/adapters/vscodeAdapter.ts | 58 ++++++++++++++++++++++++++ app/vue/src/composables/useHanaApi.ts | 15 +++++-- app/vue/src/main.ts | 10 +++++ 5 files changed, 130 insertions(+), 3 deletions(-) create mode 100644 app/vue/src/adapters/browserAdapter.ts create mode 100644 app/vue/src/adapters/environment.ts create mode 100644 app/vue/src/adapters/vscodeAdapter.ts diff --git a/app/vue/src/adapters/browserAdapter.ts b/app/vue/src/adapters/browserAdapter.ts new file mode 100644 index 00000000..6b36250a --- /dev/null +++ b/app/vue/src/adapters/browserAdapter.ts @@ -0,0 +1,29 @@ +import type { EnvironmentAdapter } from './environment' + +export class BrowserAdapter implements EnvironmentAdapter { + getApiBaseUrl(): string { + return window.location.origin + } + + getWebSocketUrl(): string { + const protocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:' + return `${protocol}//${window.location.host}/websockets` + } + + notifyDirtyState(_dirty: boolean): void {} + requestSave(): void {} + + getTheme(): 'light' | 'dark' { + const saved = localStorage.getItem('hana-cli-theme') + if (saved === 'sap_horizon_dark') return 'dark' + if (saved && saved !== 'auto') return 'light' + return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light' + } + + onMessage(_handler: (msg: any) => void): void {} + postMessage(_msg: any): void {} + + isVSCode(): boolean { + return false + } +} diff --git a/app/vue/src/adapters/environment.ts b/app/vue/src/adapters/environment.ts new file mode 100644 index 00000000..34753fe6 --- /dev/null +++ b/app/vue/src/adapters/environment.ts @@ -0,0 +1,21 @@ +export interface EnvironmentAdapter { + getApiBaseUrl(): string + getWebSocketUrl(): string + notifyDirtyState(dirty: boolean): void + requestSave(): void + getTheme(): 'light' | 'dark' + onMessage(handler: (msg: any) => void): void + postMessage(msg: any): void + isVSCode(): boolean +} + +let currentAdapter: EnvironmentAdapter | null = null + +export function setAdapter(adapter: EnvironmentAdapter): void { + currentAdapter = adapter +} + +export function getAdapter(): EnvironmentAdapter { + if (!currentAdapter) throw new Error('Environment adapter not initialized') + return currentAdapter +} diff --git a/app/vue/src/adapters/vscodeAdapter.ts b/app/vue/src/adapters/vscodeAdapter.ts new file mode 100644 index 00000000..104d0846 --- /dev/null +++ b/app/vue/src/adapters/vscodeAdapter.ts @@ -0,0 +1,58 @@ +import type { EnvironmentAdapter } from './environment' + +declare function acquireVsCodeApi(): { + postMessage(msg: any): void + getState(): any + setState(state: any): void +} + +export class VSCodeAdapter implements EnvironmentAdapter { + private vscode = acquireVsCodeApi() + private port: number = 0 + private theme: 'light' | 'dark' = 'light' + private messageHandlers: Array<(msg: any) => void> = [] + + constructor() { + this.port = (window as any).__HANA_CLI_PORT__ || 0 + this.theme = document.body.classList.contains('vscode-dark') ? 'dark' : 'light' + + window.addEventListener('message', (event) => { + const msg = event.data + if (msg.type === 'serverReady') this.port = msg.port + if (msg.type === 'themeChanged') this.theme = msg.theme + for (const handler of this.messageHandlers) handler(msg) + }) + + this.vscode.postMessage({ type: 'ready' }) + } + + getApiBaseUrl(): string { + return `http://localhost:${this.port}` + } + + getWebSocketUrl(): string { + return `ws://localhost:${this.port}/websockets` + } + + notifyDirtyState(dirty: boolean): void { + this.vscode.postMessage({ type: 'dirty', value: dirty }) + } + + requestSave(): void {} + + getTheme(): 'light' | 'dark' { + return this.theme + } + + onMessage(handler: (msg: any) => void): void { + this.messageHandlers.push(handler) + } + + postMessage(msg: any): void { + this.vscode.postMessage(msg) + } + + isVSCode(): boolean { + return true + } +} diff --git a/app/vue/src/composables/useHanaApi.ts b/app/vue/src/composables/useHanaApi.ts index d0be300a..d535983d 100644 --- a/app/vue/src/composables/useHanaApi.ts +++ b/app/vue/src/composables/useHanaApi.ts @@ -1,5 +1,14 @@ +import { getAdapter } from '../adapters/environment' import { useGlobalSettings } from './useGlobalSettings' +function baseUrl(): string { + try { + return getAdapter().getApiBaseUrl() + } catch { + return '' + } +} + async function extractErrorMessage(res: Response): Promise { try { const body = await res.json() @@ -18,12 +27,12 @@ export function useHanaApi() { async function execute(command: string, params: Record = {}): Promise { const merged = { ...getApiParams(), ...params } - await fetch('/', { + await fetch(`${baseUrl()}/`, { method: 'PUT', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(merged) }) - const res = await fetch(`/hana/${command}`) + const res = await fetch(`${baseUrl()}/hana/${command}`) if (!res.ok) { const detail = await extractErrorMessage(res) throw new Error(detail) @@ -32,7 +41,7 @@ export function useHanaApi() { } async function fetchDirect(path: string): Promise { - const res = await fetch(path) + const res = await fetch(`${baseUrl()}${path}`) if (!res.ok) { const detail = await extractErrorMessage(res) throw new Error(detail) diff --git a/app/vue/src/main.ts b/app/vue/src/main.ts index dcacb3ba..35e6bea4 100644 --- a/app/vue/src/main.ts +++ b/app/vue/src/main.ts @@ -24,6 +24,16 @@ function getInitialTheme(): string { setTheme(getInitialTheme()) +import { setAdapter } from './adapters/environment' +import { BrowserAdapter } from './adapters/browserAdapter' +import { VSCodeAdapter } from './adapters/vscodeAdapter' + +if ((window as any).__VSCODE__) { + setAdapter(new VSCodeAdapter()) +} else { + setAdapter(new BrowserAdapter()) +} + const app = createApp(App) app.use(router) app.mount('#app') From fe87174d802952f4b047481c5475213774ecaadd Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 09:12:06 -0400 Subject: [PATCH 09/21] feat(vue): add dual-target Vite build for VSCode webview output --- .gitignore | 4 ++++ app/vue/package.json | 1 + app/vue/vite.config.vscode.ts | 26 ++++++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 app/vue/vite.config.vscode.ts diff --git a/.gitignore b/.gitignore index deaa009a..1fbf42dc 100644 --- a/.gitignore +++ b/.gitignore @@ -93,6 +93,10 @@ test-output.txt # Interactive mode state .interactive-state.json +# Vue build outputs +app/vue/dist/ +app/vue/dist-vscode/ + # Claude Code .claude/ .mcp.json diff --git a/app/vue/package.json b/app/vue/package.json index fb10307b..07242f85 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -7,6 +7,7 @@ "dev": "vite", "build": "vue-tsc --noEmit && vite build", "preview": "vite preview", + "build:vscode": "vue-tsc --noEmit && vite build --config vite.config.vscode.ts", "test": "vitest run", "test:watch": "vitest" }, diff --git a/app/vue/vite.config.vscode.ts b/app/vue/vite.config.vscode.ts new file mode 100644 index 00000000..e8320dda --- /dev/null +++ b/app/vue/vite.config.vscode.ts @@ -0,0 +1,26 @@ +import { defineConfig } from 'vite' +import vue from '@vitejs/plugin-vue' + +export default defineConfig({ + plugins: [ + vue({ + template: { + compilerOptions: { + isCustomElement: tag => tag.startsWith('ui5-') + } + } + }) + ], + base: '', + build: { + outDir: 'dist-vscode', + emptyOutDir: true, + rollupOptions: { + output: { + entryFileNames: 'assets/index.js', + chunkFileNames: 'assets/[name].js', + assetFileNames: 'assets/[name].[ext]' + } + } + } +}) From 85d5d88ad8306e04e6f241892973c0ae6a6d1e4f Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 09:13:55 -0400 Subject: [PATCH 10/21] feat(vscode): add full UI tools panel with deep-link navigation commands --- vscode-extension/src/editors/toolsPanel.ts | 90 ++++++++++++++++++++++ vscode-extension/src/extension.ts | 3 + 2 files changed, 93 insertions(+) create mode 100644 vscode-extension/src/editors/toolsPanel.ts diff --git a/vscode-extension/src/editors/toolsPanel.ts b/vscode-extension/src/editors/toolsPanel.ts new file mode 100644 index 00000000..3d8afaee --- /dev/null +++ b/vscode-extension/src/editors/toolsPanel.ts @@ -0,0 +1,90 @@ +import * as vscode from 'vscode' +import { getWebviewContent, getWebviewOptions } from '../webview/htmlProvider.js' +import { ensureServer, trackWebviewOpen, trackWebviewClose } from '../extension.js' + +const ROUTE_MAP: Record = { + 'hana-cli.openTools': '/', + 'hana-cli.openQuery': '/queryConsole', + 'hana-cli.showTables': '/tables', + 'hana-cli.showViews': '/views', + 'hana-cli.systemInfo': '/systemInfo', + 'hana-cli.importData': '/import', +} + +let currentPanel: vscode.WebviewPanel | undefined + +export function registerToolsPanel(context: vscode.ExtensionContext): void { + for (const commandId of Object.keys(ROUTE_MAP)) { + const disposable = vscode.commands.registerCommand(commandId, async () => { + const route = ROUTE_MAP[commandId] + const port = await ensureServer(context) + + if (currentPanel) { + currentPanel.reveal(vscode.ViewColumn.One) + currentPanel.webview.postMessage({ type: 'navigate', route }) + return + } + + const panel = vscode.window.createWebviewPanel( + 'hana-cli.toolsPanel', + 'hana-cli Tools', + vscode.ViewColumn.One, + { + ...getWebviewOptions(context.extensionUri), + retainContextWhenHidden: true, + } + ) + + currentPanel = panel + trackWebviewOpen() + + panel.webview.html = getWebviewContent(panel.webview, context.extensionUri, { + route, + port, + }) + + panel.webview.onDidReceiveMessage( + (message: { type: string; level?: string; text?: string; path?: string }) => { + switch (message.type) { + case 'showMessage': { + const text = message.text || '' + switch (message.level) { + case 'warning': + vscode.window.showWarningMessage(text) + break + case 'error': + vscode.window.showErrorMessage(text) + break + default: + vscode.window.showInformationMessage(text) + } + break + } + case 'openFile': { + if (message.path) { + const uri = vscode.Uri.file(message.path) + vscode.workspace.openTextDocument(uri).then((doc) => { + vscode.window.showTextDocument(doc) + }) + } + break + } + } + }, + undefined, + context.subscriptions + ) + + panel.onDidDispose( + () => { + currentPanel = undefined + trackWebviewClose() + }, + undefined, + context.subscriptions + ) + }) + + context.subscriptions.push(disposable) + } +} diff --git a/vscode-extension/src/extension.ts b/vscode-extension/src/extension.ts index 23cb15ef..6583f47b 100644 --- a/vscode-extension/src/extension.ts +++ b/vscode-extension/src/extension.ts @@ -1,5 +1,6 @@ import * as vscode from 'vscode' import { startServer, stopServer, scheduleShutdown } from './server/lifecycle.js' +import { registerToolsPanel } from './editors/toolsPanel.js' let activeWebviewCount = 0 @@ -7,6 +8,8 @@ export function activate(context: vscode.ExtensionContext) { context.subscriptions.push({ dispose: () => stopServer() }) + + registerToolsPanel(context) } export async function ensureServer(context: vscode.ExtensionContext): Promise { From 34cbb17e3bae0fe211229a9716a8c2da661a3843 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 09:15:46 -0400 Subject: [PATCH 11/21] feat(vscode): add CustomEditorProvider for .hdbcalculationview files --- .../src/editors/calcViewEditor.ts | 204 ++++++++++++++++++ vscode-extension/src/extension.ts | 2 + 2 files changed, 206 insertions(+) create mode 100644 vscode-extension/src/editors/calcViewEditor.ts diff --git a/vscode-extension/src/editors/calcViewEditor.ts b/vscode-extension/src/editors/calcViewEditor.ts new file mode 100644 index 00000000..be5cecf4 --- /dev/null +++ b/vscode-extension/src/editors/calcViewEditor.ts @@ -0,0 +1,204 @@ +import * as vscode from 'vscode' +import { getWebviewContent, getWebviewOptions } from '../webview/htmlProvider.js' +import { ensureServer, trackWebviewOpen, trackWebviewClose } from '../extension.js' + +/** + * Custom document representing an .hdbcalculationview file. + */ +class CalcViewDocument implements vscode.CustomDocument { + readonly uri: vscode.Uri + private _content: string + private _version = 0 + + private readonly _onDidChange = new vscode.EventEmitter() + /** Fired to signal the document is dirty. */ + readonly onDidChange = this._onDidChange.event + + constructor(uri: vscode.Uri, content: string) { + this.uri = uri + this._content = content + } + + get content(): string { + return this._content + } + + set content(value: string) { + this._content = value + this._version++ + } + + get version(): number { + return this._version + } + + markDirty(): void { + this._onDidChange.fire() + } + + dispose(): void { + this._onDidChange.dispose() + } +} + +/** + * CustomEditorProvider for .hdbcalculationview files. + * Opens the Vue-based calc view graph editor in a webview. + */ +export class CalcViewEditorProvider implements vscode.CustomEditorProvider { + private static readonly viewType = 'hana-cli.calcViewEditor' + + private readonly _context: vscode.ExtensionContext + private readonly _webviews = new Map() + + private readonly _onDidChangeCustomDocument = new vscode.EventEmitter< + vscode.CustomDocumentContentChangeEvent + >() + readonly onDidChangeCustomDocument = this._onDidChangeCustomDocument.event + + constructor(context: vscode.ExtensionContext) { + this._context = context + } + + /** + * Register the custom editor provider with VSCode. + */ + static register(context: vscode.ExtensionContext): void { + const provider = new CalcViewEditorProvider(context) + const registration = vscode.window.registerCustomEditorProvider( + CalcViewEditorProvider.viewType, + provider, + { + webviewOptions: { retainContextWhenHidden: true }, + } + ) + context.subscriptions.push(registration) + } + + // --- CustomEditorProvider implementation --- + + async openCustomDocument( + uri: vscode.Uri, + _openContext: vscode.CustomDocumentOpenContext, + _token: vscode.CancellationToken + ): Promise { + const fileData = await vscode.workspace.fs.readFile(uri) + const content = Buffer.from(fileData).toString('utf-8') + const document = new CalcViewDocument(uri, content) + + // When the document fires its change event, propagate to VSCode + document.onDidChange(() => { + this._onDidChangeCustomDocument.fire({ document }) + }) + + return document + } + + async resolveCustomEditor( + document: CalcViewDocument, + webviewPanel: vscode.WebviewPanel, + _token: vscode.CancellationToken + ): Promise { + const key = document.uri.toString() + this._webviews.set(key, webviewPanel) + trackWebviewOpen() + + webviewPanel.webview.options = { + ...getWebviewOptions(this._context.extensionUri), + enableScripts: true, + } + + const port = await ensureServer(this._context) + + webviewPanel.webview.html = getWebviewContent(webviewPanel.webview, this._context.extensionUri, { + route: '/calcView', + port, + }) + + // Listen for messages from the webview + webviewPanel.webview.onDidReceiveMessage( + (message: { type: string; xml?: string }) => { + switch (message.type) { + case 'ready': + webviewPanel.webview.postMessage({ + type: 'fileContent', + xml: document.content, + }) + webviewPanel.webview.postMessage({ + type: 'serverReady', + port, + }) + break + + case 'dirty': + document.markDirty() + break + + case 'save': + if (message.xml !== undefined) { + document.content = message.xml + } + break + } + }, + undefined, + [] + ) + + webviewPanel.onDidDispose(() => { + this._webviews.delete(key) + trackWebviewClose() + }) + } + + async saveCustomDocument( + document: CalcViewDocument, + _cancellation: vscode.CancellationToken + ): Promise { + const data = Buffer.from(document.content, 'utf-8') + await vscode.workspace.fs.writeFile(document.uri, data) + } + + async saveCustomDocumentAs( + document: CalcViewDocument, + destination: vscode.Uri, + _cancellation: vscode.CancellationToken + ): Promise { + const data = Buffer.from(document.content, 'utf-8') + await vscode.workspace.fs.writeFile(destination, data) + } + + async revertCustomDocument( + document: CalcViewDocument, + _cancellation: vscode.CancellationToken + ): Promise { + const fileData = await vscode.workspace.fs.readFile(document.uri) + document.content = Buffer.from(fileData).toString('utf-8') + + // Re-send content to the webview if it's still open + const panel = this._webviews.get(document.uri.toString()) + if (panel) { + panel.webview.postMessage({ + type: 'fileContent', + xml: document.content, + }) + } + } + + async backupCustomDocument( + document: CalcViewDocument, + context: vscode.CustomDocumentBackupContext, + _cancellation: vscode.CancellationToken + ): Promise { + const data = Buffer.from(document.content, 'utf-8') + await vscode.workspace.fs.writeFile(context.destination, data) + return { + id: context.destination.toString(), + delete: () => { + vscode.workspace.fs.delete(context.destination).then(undefined, () => { + // Ignore delete errors for backup cleanup + }) + }, + } + } +} diff --git a/vscode-extension/src/extension.ts b/vscode-extension/src/extension.ts index 6583f47b..72ea23ad 100644 --- a/vscode-extension/src/extension.ts +++ b/vscode-extension/src/extension.ts @@ -1,6 +1,7 @@ import * as vscode from 'vscode' import { startServer, stopServer, scheduleShutdown } from './server/lifecycle.js' import { registerToolsPanel } from './editors/toolsPanel.js' +import { CalcViewEditorProvider } from './editors/calcViewEditor.js' let activeWebviewCount = 0 @@ -10,6 +11,7 @@ export function activate(context: vscode.ExtensionContext) { }) registerToolsPanel(context) + CalcViewEditorProvider.register(context) } export async function ensureServer(context: vscode.ExtensionContext): Promise { From ccfc4bf831ae63fe0d1c7ae54fc53f5c9311e5e3 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 09:17:32 -0400 Subject: [PATCH 12/21] feat(vscode): add read-only custom editor providers for HANA artifacts --- .../src/editors/artifactInspector.ts | 143 ++++++++++++++++++ vscode-extension/src/extension.ts | 2 + 2 files changed, 145 insertions(+) create mode 100644 vscode-extension/src/editors/artifactInspector.ts diff --git a/vscode-extension/src/editors/artifactInspector.ts b/vscode-extension/src/editors/artifactInspector.ts new file mode 100644 index 00000000..8f463aa5 --- /dev/null +++ b/vscode-extension/src/editors/artifactInspector.ts @@ -0,0 +1,143 @@ +import * as vscode from 'vscode' +import * as path from 'path' +import { getWebviewContent, getWebviewOptions } from '../webview/htmlProvider.js' +import { ensureServer, trackWebviewOpen, trackWebviewClose } from '../extension.js' + +interface ArtifactConfig { + viewType: string + route: string + kind: string +} + +const ARTIFACT_CONFIGS: ArtifactConfig[] = [ + { viewType: 'hana-cli.tableInspector', route: '/inspectTable', kind: 'table' }, + { viewType: 'hana-cli.viewInspector', route: '/inspectView', kind: 'view' }, + { viewType: 'hana-cli.procedureInspector', route: '/inspectProcedure', kind: 'procedure' }, + { viewType: 'hana-cli.functionInspector', route: '/inspectFunction', kind: 'function' }, + { viewType: 'hana-cli.synonymInspector', route: '/inspectSynonym', kind: 'synonym' }, + { viewType: 'hana-cli.roleInspector', route: '/inspectRole', kind: 'role' }, + { viewType: 'hana-cli.sequenceInspector', route: '/inspectSequence', kind: 'sequence' }, +] + +/** + * Read-only custom editor provider for HANA artifact inspection. + * Opens a webview that displays live metadata from the HANA database + * for the artifact whose name is derived from the opened file. + */ +class ArtifactInspectorProvider implements vscode.CustomReadonlyEditorProvider { + private readonly _context: vscode.ExtensionContext + private readonly _config: ArtifactConfig + + constructor(context: vscode.ExtensionContext, config: ArtifactConfig) { + this._context = context + this._config = config + } + + /** + * Register providers for all artifact types. + */ + static registerAll(context: vscode.ExtensionContext): void { + for (const config of ARTIFACT_CONFIGS) { + const provider = new ArtifactInspectorProvider(context, config) + const registration = vscode.window.registerCustomEditorProvider( + config.viewType, + provider, + { + webviewOptions: { retainContextWhenHidden: true }, + } + ) + context.subscriptions.push(registration) + } + } + + // --- CustomReadonlyEditorProvider implementation --- + + async openCustomDocument( + uri: vscode.Uri, + _openContext: vscode.CustomDocumentOpenContext, + _token: vscode.CancellationToken + ): Promise { + return { uri, dispose() {} } + } + + async resolveCustomEditor( + document: vscode.CustomDocument, + webviewPanel: vscode.WebviewPanel, + _token: vscode.CancellationToken + ): Promise { + trackWebviewOpen() + + webviewPanel.webview.options = { + ...getWebviewOptions(this._context.extensionUri), + enableScripts: true, + } + + const port = await ensureServer(this._context) + + webviewPanel.webview.html = getWebviewContent(webviewPanel.webview, this._context.extensionUri, { + route: this._config.route, + port, + }) + + // Parse artifact name from the filename (strip extension) + const filename = path.basename(document.uri.fsPath) + const dotIndex = filename.lastIndexOf('.') + const name = dotIndex > 0 ? filename.substring(0, dotIndex) : filename + + webviewPanel.webview.onDidReceiveMessage( + (message: { type: string; level?: string; text?: string; path?: string }) => { + switch (message.type) { + case 'ready': + webviewPanel.webview.postMessage({ + type: 'openArtifact', + kind: this._config.kind, + name, + schema: '', + }) + webviewPanel.webview.postMessage({ + type: 'serverReady', + port, + }) + break + + case 'showMessage': { + const text = message.text || '' + switch (message.level) { + case 'warning': + vscode.window.showWarningMessage(text) + break + case 'error': + vscode.window.showErrorMessage(text) + break + default: + vscode.window.showInformationMessage(text) + } + break + } + + case 'openFile': { + if (message.path) { + const uri = vscode.Uri.file(message.path) + vscode.workspace.openTextDocument(uri).then((doc) => { + vscode.window.showTextDocument(doc) + }) + } + break + } + } + }, + undefined, + this._context.subscriptions + ) + + webviewPanel.onDidDispose( + () => { + trackWebviewClose() + }, + undefined, + this._context.subscriptions + ) + } +} + +export { ArtifactInspectorProvider } diff --git a/vscode-extension/src/extension.ts b/vscode-extension/src/extension.ts index 72ea23ad..890d3cc1 100644 --- a/vscode-extension/src/extension.ts +++ b/vscode-extension/src/extension.ts @@ -2,6 +2,7 @@ import * as vscode from 'vscode' import { startServer, stopServer, scheduleShutdown } from './server/lifecycle.js' import { registerToolsPanel } from './editors/toolsPanel.js' import { CalcViewEditorProvider } from './editors/calcViewEditor.js' +import { ArtifactInspectorProvider } from './editors/artifactInspector.js' let activeWebviewCount = 0 @@ -12,6 +13,7 @@ export function activate(context: vscode.ExtensionContext) { registerToolsPanel(context) CalcViewEditorProvider.register(context) + ArtifactInspectorProvider.registerAll(context) } export async function ensureServer(context: vscode.ExtensionContext): Promise { From 0695af196b6cfa5f96ce275b48e948e87085d2f7 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 09:22:16 -0400 Subject: [PATCH 13/21] feat(vscode): add CAP-first connection resolver with status bar and SecretStorage --- vscode-extension/src/connection/manager.ts | 34 +++++++ vscode-extension/src/connection/resolver.ts | 94 ++++++++++++++++++++ vscode-extension/src/connection/statusBar.ts | 32 +++++++ vscode-extension/src/extension.ts | 81 ++++++++++++++++- vscode-extension/src/server/lifecycle.ts | 26 +++++- 5 files changed, 262 insertions(+), 5 deletions(-) create mode 100644 vscode-extension/src/connection/manager.ts create mode 100644 vscode-extension/src/connection/resolver.ts create mode 100644 vscode-extension/src/connection/statusBar.ts diff --git a/vscode-extension/src/connection/manager.ts b/vscode-extension/src/connection/manager.ts new file mode 100644 index 00000000..d56e1490 --- /dev/null +++ b/vscode-extension/src/connection/manager.ts @@ -0,0 +1,34 @@ +import * as vscode from 'vscode' +import type { HanaConnection } from './resolver.js' + +const STORAGE_KEY = 'hana-cli.connections' + +/** + * Manages HANA connections stored in VSCode SecretStorage. + * Provides CRUD operations for named connections. + */ +export class ConnectionManager { + constructor(private secrets: vscode.SecretStorage) {} + + async getAll(): Promise> { + const raw = await this.secrets.get(STORAGE_KEY) + if (!raw) return {} + try { + return JSON.parse(raw) as Record + } catch { + return {} + } + } + + async save(name: string, conn: HanaConnection): Promise { + const all = await this.getAll() + all[name] = conn + await this.secrets.store(STORAGE_KEY, JSON.stringify(all)) + } + + async remove(name: string): Promise { + const all = await this.getAll() + delete all[name] + await this.secrets.store(STORAGE_KEY, JSON.stringify(all)) + } +} diff --git a/vscode-extension/src/connection/resolver.ts b/vscode-extension/src/connection/resolver.ts new file mode 100644 index 00000000..d9884a38 --- /dev/null +++ b/vscode-extension/src/connection/resolver.ts @@ -0,0 +1,94 @@ +import * as vscode from 'vscode' + +export interface HanaConnection { + host: string + port: number + user: string + password: string + useTLS: boolean + schema: string + source: 'cap' | 'default-env' | 'secretStorage' +} + +/** + * Resolves a HANA connection from workspace files using a 3-step strategy: + * 1. CAP: .cdsrc-private.json credentials (if @sap/cds is a project dependency) + * 2. Workspace: default-env.json VCAP_SERVICES + * 3. Returns null (caller should fall back to SecretStorage) + */ +export async function resolveConnection( + workspaceFolder: vscode.WorkspaceFolder +): Promise { + const conn = await resolveFromCAP(workspaceFolder) ?? await resolveFromDefaultEnv(workspaceFolder) + return conn +} + +async function resolveFromCAP( + workspaceFolder: vscode.WorkspaceFolder +): Promise { + try { + // Check if this is a CAP project + const packageJsonUri = vscode.Uri.joinPath(workspaceFolder.uri, 'package.json') + const packageJsonData = await vscode.workspace.fs.readFile(packageJsonUri) + const packageJson = JSON.parse(Buffer.from(packageJsonData).toString('utf-8')) + + const deps = { ...packageJson.dependencies, ...packageJson.devDependencies } + if (!deps['@sap/cds'] && !deps['@sap/cds-dk']) { + return null + } + + // Parse .cdsrc-private.json for credentials + const cdsrcUri = vscode.Uri.joinPath(workspaceFolder.uri, '.cdsrc-private.json') + const cdsrcData = await vscode.workspace.fs.readFile(cdsrcUri) + const cdsrc = JSON.parse(Buffer.from(cdsrcData).toString('utf-8')) + + const creds = cdsrc?.requires?.db?.credentials + ?? cdsrc?.requires?.['hana']?.credentials + ?? cdsrc?.requires?.db?.binding?.credentials + if (!creds || !creds.host) { + return null + } + + return { + host: creds.host, + port: Number(creds.port) || 443, + user: creds.user || creds.hdi_user || '', + password: creds.password || creds.hdi_password || '', + useTLS: creds.encrypt !== false, + schema: creds.schema || '', + source: 'cap' + } + } catch { + // File not found or parse error — not a CAP project or no credentials + return null + } +} + +async function resolveFromDefaultEnv( + workspaceFolder: vscode.WorkspaceFolder +): Promise { + try { + const defaultEnvUri = vscode.Uri.joinPath(workspaceFolder.uri, 'default-env.json') + const data = await vscode.workspace.fs.readFile(defaultEnvUri) + const env = JSON.parse(Buffer.from(data).toString('utf-8')) + + const hanaServices = env?.VCAP_SERVICES?.hana ?? env?.VCAP_SERVICES?.['hana-cloud'] ?? [] + const creds = hanaServices[0]?.credentials + if (!creds || !creds.host) { + return null + } + + return { + host: creds.host, + port: Number(creds.port) || 443, + user: creds.user || creds.hdi_user || '', + password: creds.password || creds.hdi_password || '', + useTLS: creds.encrypt !== false, + schema: creds.schema || '', + source: 'default-env' + } + } catch { + // File not found or parse error + return null + } +} diff --git a/vscode-extension/src/connection/statusBar.ts b/vscode-extension/src/connection/statusBar.ts new file mode 100644 index 00000000..f0423057 --- /dev/null +++ b/vscode-extension/src/connection/statusBar.ts @@ -0,0 +1,32 @@ +import * as vscode from 'vscode' +import type { HanaConnection } from './resolver.js' + +/** + * Creates a status bar item that shows the current HANA connection state. + */ +export function createConnectionStatusBar(): vscode.StatusBarItem { + const statusBar = vscode.window.createStatusBarItem( + vscode.StatusBarAlignment.Left, + 100 + ) + statusBar.command = 'hana-cli.addConnection' + updateStatus(statusBar, null) + statusBar.show() + return statusBar +} + +/** + * Updates the status bar item text based on the current connection. + */ +export function updateStatus( + statusBar: vscode.StatusBarItem, + conn: HanaConnection | null +): void { + if (conn) { + statusBar.text = `$(database) HANA: ${conn.user}@${conn.host}:${conn.port}` + statusBar.tooltip = `Connected via ${conn.source} | Schema: ${conn.schema || '(default)'}` + } else { + statusBar.text = '$(warning) HANA: Not Connected' + statusBar.tooltip = 'Click to add a HANA connection' + } +} diff --git a/vscode-extension/src/extension.ts b/vscode-extension/src/extension.ts index 890d3cc1..d9819c97 100644 --- a/vscode-extension/src/extension.ts +++ b/vscode-extension/src/extension.ts @@ -1,23 +1,100 @@ import * as vscode from 'vscode' -import { startServer, stopServer, scheduleShutdown } from './server/lifecycle.js' +import { startServer, stopServer, scheduleShutdown, injectConnection } from './server/lifecycle.js' import { registerToolsPanel } from './editors/toolsPanel.js' import { CalcViewEditorProvider } from './editors/calcViewEditor.js' import { ArtifactInspectorProvider } from './editors/artifactInspector.js' +import { resolveConnection, type HanaConnection } from './connection/resolver.js' +import { ConnectionManager } from './connection/manager.js' +import { createConnectionStatusBar, updateStatus } from './connection/statusBar.js' let activeWebviewCount = 0 +let currentConnection: HanaConnection | null = null export function activate(context: vscode.ExtensionContext) { context.subscriptions.push({ dispose: () => stopServer() }) + // Create connection status bar + const statusBar = createConnectionStatusBar() + context.subscriptions.push(statusBar) + + // Connection manager for SecretStorage + const connManager = new ConnectionManager(context.secrets) + + // Auto-resolve connection on activation + const folders = vscode.workspace.workspaceFolders + if (folders && folders.length > 0) { + resolveConnection(folders[0]).then((conn) => { + if (conn) { + currentConnection = conn + injectConnection(conn) + updateStatus(statusBar, conn) + } + }) + } + + // Register addConnection command + context.subscriptions.push( + vscode.commands.registerCommand('hana-cli.addConnection', async () => { + const host = await vscode.window.showInputBox({ + prompt: 'HANA Host', + placeHolder: 'e.g. my-hana.hanacloud.ondemand.com' + }) + if (!host) return + + const portStr = await vscode.window.showInputBox({ + prompt: 'HANA Port', + placeHolder: '443', + value: '443' + }) + if (!portStr) return + + const user = await vscode.window.showInputBox({ + prompt: 'Database User', + placeHolder: 'e.g. DBADMIN' + }) + if (!user) return + + const password = await vscode.window.showInputBox({ + prompt: 'Password', + password: true + }) + if (!password) return + + const schema = await vscode.window.showInputBox({ + prompt: 'Schema (optional)', + placeHolder: 'Leave empty for default' + }) ?? '' + + const conn: HanaConnection = { + host, + port: Number(portStr) || 443, + user, + password, + useTLS: true, + schema, + source: 'secretStorage' + } + + const name = `${user}@${host}:${portStr}` + await connManager.save(name, conn) + + currentConnection = conn + injectConnection(conn) + updateStatus(statusBar, conn) + + vscode.window.showInformationMessage(`Connected to HANA: ${name}`) + }) + ) + registerToolsPanel(context) CalcViewEditorProvider.register(context) ArtifactInspectorProvider.registerAll(context) } export async function ensureServer(context: vscode.ExtensionContext): Promise { - return startServer(context) + return startServer(context, currentConnection ?? undefined) } export function trackWebviewOpen(): void { diff --git a/vscode-extension/src/server/lifecycle.ts b/vscode-extension/src/server/lifecycle.ts index 73c18635..5444bce6 100644 --- a/vscode-extension/src/server/lifecycle.ts +++ b/vscode-extension/src/server/lifecycle.ts @@ -3,6 +3,7 @@ import * as http from 'http' import express from 'express' import { findAvailablePort } from './port.js' import { registerAllRoutes } from './routes.js' +import type { HanaConnection } from '../connection/resolver.js' let server: http.Server | null = null let currentPort: number | null = null @@ -17,17 +18,21 @@ export function isRunning(): boolean { return server !== null && server.listening } -export async function startServer(_context: vscode.ExtensionContext): Promise { +export async function startServer(_context: vscode.ExtensionContext, conn?: HanaConnection): Promise { if (isRunning()) return currentPort! if (startPromise) return startPromise - startPromise = doStart().finally(() => { startPromise = null }) + startPromise = doStart(conn).finally(() => { startPromise = null }) return startPromise } -async function doStart(): Promise { +async function doStart(conn?: HanaConnection): Promise { cancelShutdownTimer() + if (conn) { + injectConnection(conn) + } + const port = await findAvailablePort() const app = express() @@ -75,3 +80,18 @@ function cancelShutdownTimer(): void { shutdownTimer = null } } + +export function injectConnection(conn: HanaConnection): void { + process.env.VCAP_SERVICES = JSON.stringify({ + hana: [{ + credentials: { + host: conn.host, + port: String(conn.port), + user: conn.user, + password: conn.password, + encrypt: conn.useTLS !== false, + schema: conn.schema || '' + } + }] + }) +} From f04574fede6cfcf8674201e336a5699f407cf949 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 09:29:28 -0400 Subject: [PATCH 14/21] feat(cli): add 'hana-cli vscode' command for extension install/uninstall/status Adds a new CLI command to manage the hana-cli VSCode extension directly from the terminal. Supports install (from local .vsix or marketplace), uninstall, and status checking. Detects code/codium/code-insiders CLI with cross-platform Windows .cmd wrapper support via cmd.exe invocation. --- _i18n/messages.properties | 3 +- bin/commandMap.js | 3 + bin/vscode.js | 184 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 189 insertions(+), 1 deletion(-) create mode 100644 bin/vscode.js diff --git a/_i18n/messages.properties b/_i18n/messages.properties index 19a33c27..993aa210 100644 --- a/_i18n/messages.properties +++ b/_i18n/messages.properties @@ -1641,4 +1641,5 @@ mcpServerStatusNotFound=config not found rowsAffected=Rows affected: {0} stmtExecutedNoResultSet=Statement executed successfully (no result set). mcpServerStatusBuildHint=MCP server is not built. Build it first: -didYouMeanMultipleOptions=Did you mean one of these?\n --{0} \ No newline at end of file +didYouMeanMultipleOptions=Did you mean one of these?\n --{0} +vscode=Manage the hana-cli VSCode extension (install, uninstall, status) \ No newline at end of file diff --git a/bin/commandMap.js b/bin/commandMap.js index 99aeea34..9dc57b14 100644 --- a/bin/commandMap.js +++ b/bin/commandMap.js @@ -358,6 +358,9 @@ export const commandMap = { 'version': './version.js', 'views': './views.js', 'v': './views.js', + 'vscode': './vscode.js', + 'code': './vscode.js', + 'extension': './vscode.js', 'xsaServices': './xsaServices.js', 'xsa': './xsaServices.js', 'xsaSvc': './xsaServices.js', diff --git a/bin/vscode.js b/bin/vscode.js new file mode 100644 index 00000000..a382e462 --- /dev/null +++ b/bin/vscode.js @@ -0,0 +1,184 @@ +// @ts-check +import * as baseLite from '../utils/base-lite.js' +import { buildDocEpilogue } from '../utils/doc-linker.js' +import { execFileSync } from 'child_process' +import { existsSync, readdirSync } from 'fs' +import { fileURLToPath } from 'url' +import { dirname, join } from 'path' + +const __filename = fileURLToPath(import.meta.url) +const __dirname = dirname(__filename) + +const EXTENSION_ID = 'SAP-samples.hana-cli' +const VSIX_DIR = join(__dirname, '..', 'vscode-extension') +const IS_WINDOWS = process.platform === 'win32' + +export const command = 'vscode [action]' +export const aliases = ['code', 'extension'] +export const describe = baseLite.bundle.getText("vscode") +export const builder = (yargs) => yargs.options(baseLite.getBuilder({ + insiders: { + type: 'boolean', + default: false, + desc: 'Use code-insiders instead of code' + } +}, false)) + .positional('action', { + describe: 'Action to perform', + choices: ['install', 'uninstall', 'status'], + default: 'status' + }) + .example('hana-cli vscode status', 'Check if the extension is installed') + .example('hana-cli vscode install', 'Install the extension from local .vsix or show marketplace instructions') + .example('hana-cli vscode uninstall', 'Uninstall the extension') + .epilog(buildDocEpilogue('vscode', 'developer-tools', [])) + +export let inputPrompts = {} + +/** + * Execute a command safely using execFileSync. + * On Windows, VS Code ships as .cmd scripts which require cmd.exe to run. + * We invoke cmd.exe /c to avoid shell injection while + * supporting .cmd wrappers. Arguments are passed as an array (no string concat). + * @param {string} cmd - The command name (e.g., 'code') + * @param {string[]} args - Command arguments + * @param {object} [options] - execFileSync options + * @returns {string} + */ +function runCmd(cmd, args, options = {}) { + const opts = { encoding: 'utf-8', stdio: 'pipe', timeout: 30000, ...options } + if (IS_WINDOWS) { + // On Windows, invoke via cmd.exe /c to support .cmd wrappers + return /** @type {string} */ (execFileSync( + process.env.ComSpec || 'cmd.exe', + ['/c', cmd, ...args], + opts + )) + } + return /** @type {string} */ (execFileSync(cmd, args, opts)) +} + +/** + * Detect the VS Code CLI executable. + * Tries: code-insiders (if --insiders), code, codium, code-insiders + * @param {boolean} preferInsiders + * @returns {string|null} + */ +function detectCodeCli(preferInsiders) { + const candidates = preferInsiders + ? ['code-insiders', 'code', 'codium'] + : ['code', 'codium', 'code-insiders'] + + for (const candidate of candidates) { + try { + runCmd(candidate, ['--version'], { timeout: 10000 }) + return candidate + } catch { + // not found or not working, try next + } + } + return null +} + +/** + * Find a .vsix file in the vscode-extension directory. + * @returns {string|null} + */ +function findVsix() { + if (!existsSync(VSIX_DIR)) return null + const files = readdirSync(VSIX_DIR) + const vsix = files.find(f => f.endsWith('.vsix')) + return vsix ? join(VSIX_DIR, vsix) : null +} + +export function handler(argv) { + const action = argv.action || 'status' + const codeCli = detectCodeCli(argv.insiders) + + if (!codeCli) { + console.log('Could not find VS Code CLI (code, codium, or code-insiders) in PATH.') + console.log('') + console.log('Manual instructions:') + console.log(' 1. Open VS Code') + console.log(' 2. Go to Extensions (Ctrl+Shift+X)') + console.log(` 3. Search for "${EXTENSION_ID}"`) + console.log(' 4. Click Install') + console.log('') + console.log('Or install the VS Code CLI:') + console.log(' VS Code > Command Palette > "Shell Command: Install \'code\' command in PATH"') + return + } + + switch (action) { + case 'install': + installExtension(codeCli) + break + case 'uninstall': + uninstallExtension(codeCli) + break + case 'status': + checkStatus(codeCli) + break + } +} + +/** + * Install the extension from a local .vsix or show marketplace instructions. + * @param {string} codeCli + */ +function installExtension(codeCli) { + const vsixPath = findVsix() + if (vsixPath) { + console.log(`Installing extension from: ${vsixPath}`) + try { + const output = runCmd(codeCli, ['--install-extension', vsixPath]) + console.log(output.trim()) + console.log('Extension installed successfully.') + } catch (err) { + console.error(`Failed to install extension: ${err.message}`) + } + } else { + console.log('No local .vsix file found in vscode-extension/ directory.') + console.log('') + console.log('To install from the marketplace:') + console.log(` ${codeCli} --install-extension ${EXTENSION_ID}`) + console.log('') + console.log('Or build the .vsix locally:') + console.log(' cd vscode-extension && npm install && npx vsce package') + } +} + +/** + * Uninstall the extension. + * @param {string} codeCli + */ +function uninstallExtension(codeCli) { + console.log(`Uninstalling extension: ${EXTENSION_ID}`) + try { + const output = runCmd(codeCli, ['--uninstall-extension', EXTENSION_ID]) + console.log(output.trim()) + console.log('Extension uninstalled successfully.') + } catch (err) { + console.error(`Failed to uninstall extension: ${err.message}`) + } +} + +/** + * Check if the extension is installed. + * @param {string} codeCli + */ +function checkStatus(codeCli) { + try { + const output = runCmd(codeCli, ['--list-extensions', '--show-versions']) + const lines = output.split('\n') + const match = lines.find(line => line.toLowerCase().includes('hana-cli')) + if (match) { + console.log(`Extension installed: ${match.trim()}`) + } else { + console.log('Extension is not installed.') + console.log(` To install: hana-cli vscode install`) + } + } catch (err) { + console.error(`Failed to check extension status: ${err.message}`) + } +} From bff2cd5e0a5199fde11bfd08bb82e92bfa0a6cc8 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 09:34:45 -0400 Subject: [PATCH 15/21] feat(vscode): add esbuild configuration for production bundling Two-stage build: TypeScript compiles to out/, then esbuild bundles into a single dist/extension.js for the .vsix package. Includes a resolve plugin to map parent-project route imports and externals for optional dependencies not needed in the extension runtime. --- vscode-extension/esbuild.config.mjs | 50 +++++++++++++++++++++++++++++ vscode-extension/package.json | 5 +-- 2 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 vscode-extension/esbuild.config.mjs diff --git a/vscode-extension/esbuild.config.mjs b/vscode-extension/esbuild.config.mjs new file mode 100644 index 00000000..0127b67c --- /dev/null +++ b/vscode-extension/esbuild.config.mjs @@ -0,0 +1,50 @@ +import * as esbuild from 'esbuild' +import path from 'path' +import { fileURLToPath } from 'url' + +const __dirname = path.dirname(fileURLToPath(import.meta.url)) +const production = process.argv.includes('--production') + +// The route modules in src/server/routes.ts import from '../../routes/*.js' +// which TypeScript preserves as-is (@ts-ignore). From the compiled location +// (out/server/), these paths don't resolve correctly. This plugin redirects +// them to the actual project root routes/ directory. +const resolveRoutesPlugin = { + name: 'resolve-parent-routes', + setup(build) { + build.onResolve({ filter: /^\.\.\/\.\.\/routes\// }, (args) => { + const routeFile = args.path.replace('../../routes/', '') + return { path: path.resolve(__dirname, '..', 'routes', routeFile) } + }) + }, +} + +await esbuild.build({ + entryPoints: ['./out/extension.js'], + bundle: true, + outfile: './dist/extension.js', + external: [ + 'vscode', + // Optional/dynamic dependencies from the parent project's node_modules + // that are not needed at runtime in the VS Code extension context + 'sqlite3', + '@cap-js/cds-test', + '@sap-cloud-sdk/connectivity', + '@sap-cloud-sdk/http-client', + '@sap-cloud-sdk/http-client/package.json', + 'tar', + // terminal-kit has a README file without extension that esbuild + // cannot parse; it's only used for CLI interactive mode + 'terminal-kit', + ], + format: 'cjs', + platform: 'node', + target: 'node20', + sourcemap: !production, + minify: production, + treeShaking: true, + plugins: [resolveRoutesPlugin], + // Treat non-JS files (like README) that get pulled in as empty + loader: { '.README': 'empty' }, + logLevel: 'warning', +}) diff --git a/vscode-extension/package.json b/vscode-extension/package.json index 66a7a624..a0805c22 100644 --- a/vscode-extension/package.json +++ b/vscode-extension/package.json @@ -161,8 +161,9 @@ }, "scripts": { "compile": "tsc -p ./", - "bundle": "node esbuild.config.mjs", - "package": "vsce package", + "bundle": "npm run compile && node esbuild.config.mjs --production", + "bundle:dev": "npm run compile && node esbuild.config.mjs", + "package": "npm run bundle && vsce package", "test": "node ./test/runTests.ts" }, "dependencies": { From 9e93c072a2dbe549ce6d4d56aba74b26de69bc59 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 09:37:16 -0400 Subject: [PATCH 16/21] feat: add root build:vscode script for full extension build pipeline --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 52028ed1..9b150c44 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "release:prepare": "node scripts/prepare-release.js", "release:notes": "node scripts/extract-release-notes.js", "build:vue": "cd app/vue && npm run build", + "build:vscode": "cd app/vue && npm run build:vscode && cd ../../vscode-extension && npm run bundle", "prepack": "npm run build:vue" }, "repository": { From d6072a2027207a8035aa697a717d80bb57b71eeb Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 09:37:46 -0400 Subject: [PATCH 17/21] chore(vscode): add .gitignore for build artifacts --- vscode-extension/.gitignore | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 vscode-extension/.gitignore diff --git a/vscode-extension/.gitignore b/vscode-extension/.gitignore new file mode 100644 index 00000000..2ad0b9d8 --- /dev/null +++ b/vscode-extension/.gitignore @@ -0,0 +1,3 @@ +out/ +dist/ +*.vsix From 30ac145e6cc33dd4003f8e53df0daf9268ebb501 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 09:43:56 -0400 Subject: [PATCH 18/21] test(vscode): add extension integration test scaffold with activation tests Add @vscode/test-electron test runner, Mocha-based suite discoverer, and initial activation tests that verify the extension is present and all commands are registered. Uses a separate tsconfig.test.json to compile test files without affecting the main build output structure. --- vscode-extension/package-lock.json | 1419 ++++++++++++++++- vscode-extension/package.json | 6 +- vscode-extension/test/runTests.ts | 19 + vscode-extension/test/suite/extension.test.ts | 25 + vscode-extension/test/suite/index.ts | 21 + vscode-extension/tsconfig.test.json | 10 + 6 files changed, 1411 insertions(+), 89 deletions(-) create mode 100644 vscode-extension/test/runTests.ts create mode 100644 vscode-extension/test/suite/extension.test.ts create mode 100644 vscode-extension/test/suite/index.ts create mode 100644 vscode-extension/tsconfig.test.json diff --git a/vscode-extension/package-lock.json b/vscode-extension/package-lock.json index 42583036..22f8580d 100644 --- a/vscode-extension/package-lock.json +++ b/vscode-extension/package-lock.json @@ -7,14 +7,19 @@ "": { "name": "hana-cli", "version": "0.1.0", + "dependencies": { + "express": "^5.2.1" + }, "devDependencies": { "@types/express": "^5.0.6", + "@types/mocha": "^10.0.0", "@types/node": "^25.8.0", "@types/vscode": "^1.85.0", "@vscode/test-electron": "^2.3.0", "@vscode/vsce": "^2.22.0", "esbuild": "^0.20.0", - "express": "^5.2.1", + "glob": "^11.0.0", + "mocha": "^11.0.0", "typescript": "^5.7.0" }, "engines": { @@ -580,6 +585,27 @@ "node": ">=12" } }, + "node_modules/@isaacs/cliui": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-9.0.0.tgz", + "integrity": "sha512-AokJm4tuBHillT+FpMtxQ60n8ObyXBatq7jD2/JA9dxbDDokKQm8KMht5ibGzLVU9IJDIKK4TPKgMHEYMn3lMg==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, "node_modules/@types/body-parser": { "version": "1.19.6", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.6.tgz", @@ -633,6 +659,13 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/mocha": { + "version": "10.0.10", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.10.tgz", + "integrity": "sha512-xPyYSz1cMPnJQhl0CLMH68j3gprKZaTjG3s5Vi+fDgx+uhG9NOXwbVt52eFS8ECyXhyKcjDLCBEqBExKuiZb7Q==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/node": { "version": "25.8.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-25.8.0.tgz", @@ -904,11 +937,32 @@ "win32" ] }, + "node_modules/@vscode/vsce/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/accepts": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", - "dev": true, "license": "MIT", "dependencies": { "mime-types": "^3.0.0", @@ -922,7 +976,6 @@ "version": "1.54.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -932,7 +985,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", - "dev": true, "license": "MIT", "dependencies": { "mime-db": "^1.54.0" @@ -1068,7 +1120,6 @@ "version": "2.2.2", "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.2.tgz", "integrity": "sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==", - "dev": true, "license": "MIT", "dependencies": { "bytes": "^3.1.2", @@ -1093,7 +1144,6 @@ "version": "0.7.2", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.2.tgz", "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==", - "dev": true, "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" @@ -1124,6 +1174,13 @@ "concat-map": "0.0.1" } }, + "node_modules/browser-stdout": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", + "dev": true, + "license": "ISC" + }, "node_modules/buffer": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", @@ -1187,7 +1244,6 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.8" @@ -1197,7 +1253,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", - "dev": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -1211,7 +1266,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", - "dev": true, "license": "MIT", "dependencies": { "call-bind-apply-helpers": "^1.0.2", @@ -1224,6 +1278,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", @@ -1283,6 +1350,22 @@ "url": "https://github.com/sponsors/fb55" } }, + "node_modules/chokidar": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", + "dev": true, + "license": "MIT", + "dependencies": { + "readdirp": "^4.0.1" + }, + "engines": { + "node": ">= 14.16.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/chownr": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", @@ -1320,6 +1403,66 @@ "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==", + "dev": true, + "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==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/cliui/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/cockatiel": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/cockatiel/-/cockatiel-3.2.1.tgz", @@ -1381,7 +1524,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.1.0.tgz", "integrity": "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g==", - "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -1395,7 +1537,6 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -1405,7 +1546,6 @@ "version": "0.7.2", "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -1415,7 +1555,6 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", - "dev": true, "license": "MIT", "engines": { "node": ">=6.6.0" @@ -1428,6 +1567,21 @@ "dev": true, "license": "MIT" }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/css-select": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.2.2.tgz", @@ -1462,7 +1616,6 @@ "version": "4.4.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "dev": true, "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -1476,6 +1629,19 @@ } } }, + "node_modules/decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/decompress-response": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", @@ -1561,7 +1727,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.8" @@ -1578,6 +1743,16 @@ "node": ">=8" } }, + "node_modules/diff": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz", + "integrity": "sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, "node_modules/dom-serializer": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", @@ -1641,7 +1816,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", - "dev": true, "license": "MIT", "dependencies": { "call-bind-apply-helpers": "^1.0.1", @@ -1652,6 +1826,13 @@ "node": ">= 0.4" } }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true, + "license": "MIT" + }, "node_modules/ecdsa-sig-formatter": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", @@ -1666,7 +1847,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", - "dev": true, "license": "MIT" }, "node_modules/emoji-regex": { @@ -1680,7 +1860,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.8" @@ -1728,7 +1907,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -1738,7 +1916,6 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -1748,7 +1925,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", - "dev": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0" @@ -1812,11 +1988,20 @@ "@esbuild/win32-x64": "0.20.2" } }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/escape-html": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", - "dev": true, "license": "MIT" }, "node_modules/escape-string-regexp": { @@ -1833,7 +2018,6 @@ "version": "1.8.1", "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -1854,7 +2038,6 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz", "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==", - "dev": true, "license": "MIT", "dependencies": { "accepts": "^2.0.0", @@ -1898,7 +2081,6 @@ "version": "1.54.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -1908,7 +2090,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", - "dev": true, "license": "MIT", "dependencies": { "mime-db": "^1.54.0" @@ -1935,7 +2116,6 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz", "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==", - "dev": true, "license": "MIT", "dependencies": { "debug": "^4.4.0", @@ -1953,6 +2133,50 @@ "url": "https://opencollective.com/express" } }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "license": "BSD-3-Clause", + "bin": { + "flat": "cli.js" + } + }, + "node_modules/foreground-child": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.6", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/form-data": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", @@ -1974,7 +2198,6 @@ "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -1984,7 +2207,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.8" @@ -2009,12 +2231,21 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, + "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==", + "dev": true, + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, "node_modules/get-east-asian-width": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.6.0.tgz", @@ -2032,7 +2263,6 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", - "dev": true, "license": "MIT", "dependencies": { "call-bind-apply-helpers": "^1.0.2", @@ -2057,7 +2287,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", - "dev": true, "license": "MIT", "dependencies": { "dunder-proto": "^1.0.1", @@ -2076,22 +2305,64 @@ "optional": true }, "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-11.1.0.tgz", + "integrity": "sha512-vuNwKSaKiqm7g0THUBu2x7ckSs3XJLXE+2ssL7/MfTGPLLcrJQ/4Uq1CjPTtO5cCIiRxqvN6Twy1qOwhL0Xjcw==", "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", "dev": true, - "license": "ISC", + "license": "BlueOak-1.0.0", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.3.1", + "jackspeak": "^4.1.1", + "minimatch": "^10.1.1", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^2.0.0" + }, + "bin": { + "glob": "dist/esm/bin.mjs" }, "engines": { - "node": "*" + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/glob/node_modules/brace-expansion": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz", + "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/glob/node_modules/minimatch": { + "version": "10.2.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", + "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.5" + }, + "engines": { + "node": "18 || 20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -2101,7 +2372,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -2124,7 +2394,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -2153,7 +2422,6 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.3.tgz", "integrity": "sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==", - "dev": true, "license": "MIT", "dependencies": { "function-bind": "^1.1.2" @@ -2162,6 +2430,16 @@ "node": ">= 0.4" } }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true, + "license": "MIT", + "bin": { + "he": "bin/he" + } + }, "node_modules/hosted-git-info": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", @@ -2212,7 +2490,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", - "dev": true, "license": "MIT", "dependencies": { "depd": "~2.0.0", @@ -2315,7 +2592,6 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true, "license": "ISC" }, "node_modules/ini": { @@ -2330,7 +2606,6 @@ "version": "1.9.1", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.10" @@ -2352,6 +2627,16 @@ "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==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/is-inside-container": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", @@ -2384,11 +2669,30 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-promise": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", - "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", + "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", "license": "MIT" }, "node_modules/is-unicode-supported": { @@ -2427,6 +2731,42 @@ "dev": true, "license": "MIT" }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/jackspeak": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.2.3.tgz", + "integrity": "sha512-ykkVRwrYvFm1nb2AJfKKYPr0emF6IiXDYUaFx4Zn9ZuIH7MrzEZ3sD5RlqGXNRpHtvUHJyOnCEFxOlNDtGo7wg==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^9.0.0" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/js-yaml": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, "node_modules/jsonc-parser": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz", @@ -2536,6 +2876,22 @@ "uc.micro": "^1.0.1" } }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/lodash.includes": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", @@ -2672,7 +3028,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -2689,7 +3044,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz", "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.8" @@ -2699,7 +3053,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", - "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -2795,6 +3148,16 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/minipass": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, "node_modules/mkdirp-classic": { "version": "0.5.3", "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", @@ -2803,11 +3166,357 @@ "license": "MIT", "optional": true }, + "node_modules/mocha": { + "version": "11.7.5", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-11.7.5.tgz", + "integrity": "sha512-mTT6RgopEYABzXWFx+GcJ+ZQ32kp4fMf0xvpZIIfSq9Z8lC/++MtcCnQ9t5FP2veYEP95FIYSvW+U9fV4xrlig==", + "dev": true, + "license": "MIT", + "dependencies": { + "browser-stdout": "^1.3.1", + "chokidar": "^4.0.1", + "debug": "^4.3.5", + "diff": "^7.0.0", + "escape-string-regexp": "^4.0.0", + "find-up": "^5.0.0", + "glob": "^10.4.5", + "he": "^1.2.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "log-symbols": "^4.1.0", + "minimatch": "^9.0.5", + "ms": "^2.1.3", + "picocolors": "^1.1.1", + "serialize-javascript": "^6.0.2", + "strip-json-comments": "^3.1.1", + "supports-color": "^8.1.1", + "workerpool": "^9.2.0", + "yargs": "^17.7.2", + "yargs-parser": "^21.1.1", + "yargs-unparser": "^2.0.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha.js" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/mocha/node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/mocha/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==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/mocha/node_modules/brace-expansion": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.0.tgz", + "integrity": "sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/mocha/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/mocha/node_modules/chalk/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/mocha/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==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/mocha/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==", + "dev": true, + "license": "MIT" + }, + "node_modules/mocha/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true, + "license": "MIT" + }, + "node_modules/mocha/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/glob": { + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/mocha/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/mocha/node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/mocha/node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/mocha/node_modules/minimatch": { + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.2" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/mocha/node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/mocha/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/mocha/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/mocha/node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, "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==", - "dev": true, "license": "MIT" }, "node_modules/mute-stream": { @@ -2829,7 +3538,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -2874,7 +3582,6 @@ "version": "1.13.4", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -2887,7 +3594,6 @@ "version": "2.4.1", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", - "dev": true, "license": "MIT", "dependencies": { "ee-first": "1.1.1" @@ -2900,7 +3606,6 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, "license": "ISC", "dependencies": { "wrappy": "1" @@ -2978,6 +3683,45 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true, + "license": "BlueOak-1.0.0" + }, "node_modules/pako": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", @@ -3062,12 +3806,21 @@ "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.8" } }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", @@ -3078,11 +3831,47 @@ "node": ">=0.10.0" } }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-scurry": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz", + "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "11.3.6", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.3.6.tgz", + "integrity": "sha512-Gf/KoL3C/MlI7Bt0PGI9I+TeTC/I6r/csU58N4BSNc4lppLBeKsOdFYkK+dX0ABDUMJNfCHTyPpzwwO21Awd3A==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, "node_modules/path-to-regexp": { "version": "8.4.2", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==", - "dev": true, "license": "MIT", "funding": { "type": "opencollective", @@ -3096,6 +3885,13 @@ "dev": true, "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==", + "dev": true, + "license": "ISC" + }, "node_modules/prebuild-install": { "version": "7.1.3", "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz", @@ -3136,7 +3932,6 @@ "version": "2.0.7", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "dev": true, "license": "MIT", "dependencies": { "forwarded": "0.2.0", @@ -3162,7 +3957,6 @@ "version": "6.15.2", "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.2.tgz", "integrity": "sha512-Rzq0KEyX/w/tEybncDgdkZrJgVUsUMk3xjh3t5bv3S1HTAtg+uOYt72+ZfwiQwKdysThkTBdL/rTi6HDmX9Ddw==", - "dev": true, "license": "BSD-3-Clause", "dependencies": { "side-channel": "^1.1.0" @@ -3174,11 +3968,20 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, "node_modules/range-parser": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -3188,7 +3991,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz", "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==", - "dev": true, "license": "MIT", "dependencies": { "bytes": "~3.1.2", @@ -3204,7 +4006,6 @@ "version": "0.7.2", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.2.tgz", "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==", - "dev": true, "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" @@ -3270,6 +4071,30 @@ "dev": true, "license": "MIT" }, + "node_modules/readdirp": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.18.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, + "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==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/restore-cursor": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", @@ -3291,7 +4116,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz", "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==", - "dev": true, "license": "MIT", "dependencies": { "debug": "^4.4.0", @@ -3342,7 +4166,6 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true, "license": "MIT" }, "node_modules/sax": { @@ -3372,7 +4195,6 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==", - "dev": true, "license": "MIT", "dependencies": { "debug": "^4.4.3", @@ -3399,7 +4221,6 @@ "version": "1.54.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -3409,7 +4230,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", - "dev": true, "license": "MIT", "dependencies": { "mime-db": "^1.54.0" @@ -3422,11 +4242,20 @@ "url": "https://opencollective.com/express" } }, + "node_modules/serialize-javascript": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "randombytes": "^2.1.0" + } + }, "node_modules/serve-static": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz", "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==", - "dev": true, "license": "MIT", "dependencies": { "encodeurl": "^2.0.0", @@ -3453,14 +4282,35 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", - "dev": true, "license": "ISC" }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/side-channel": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", - "dev": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -3480,7 +4330,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz", "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==", - "dev": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -3497,7 +4346,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", - "dev": true, "license": "MIT", "dependencies": { "call-bound": "^1.0.2", @@ -3516,7 +4364,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", - "dev": true, "license": "MIT", "dependencies": { "call-bound": "^1.0.2", @@ -3598,7 +4445,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.8" @@ -3652,6 +4498,52 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/string-width-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-ansi": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", @@ -3668,6 +4560,30 @@ "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/strip-json-comments": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", @@ -3754,7 +4670,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", - "dev": true, "license": "MIT", "engines": { "node": ">=0.6" @@ -3795,7 +4710,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz", "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==", - "dev": true, "license": "MIT", "dependencies": { "content-type": "^2.0.0", @@ -3814,7 +4728,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz", "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -3828,7 +4741,6 @@ "version": "1.54.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -3838,7 +4750,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", - "dev": true, "license": "MIT", "dependencies": { "mime-db": "^1.54.0" @@ -3912,7 +4823,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.8" @@ -3936,7 +4846,6 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.8" @@ -3966,11 +4875,232 @@ "node": ">=18" } }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/workerpool": { + "version": "9.3.4", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-9.3.4.tgz", + "integrity": "sha512-TmPRQYYSAnnDiEB0P/Ytip7bFGvqnSU6I2BcuSw7Hx+JSg/DsUi5ebYfc8GYaSdpuvOcEs6dXxPurOYpe9QFwg==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/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==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/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==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/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==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi/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==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true, "license": "ISC" }, "node_modules/wsl-utils": { @@ -4013,6 +5143,16 @@ "node": ">=4.0" } }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", @@ -4020,6 +5160,96 @@ "dev": true, "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==", + "dev": true, + "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==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", + "dev": true, + "license": "MIT", + "dependencies": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/yargs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/yauzl": { "version": "2.10.0", "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", @@ -4040,6 +5270,19 @@ "dependencies": { "buffer-crc32": "~0.2.3" } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } } } } diff --git a/vscode-extension/package.json b/vscode-extension/package.json index a0805c22..fbcea485 100644 --- a/vscode-extension/package.json +++ b/vscode-extension/package.json @@ -164,18 +164,22 @@ "bundle": "npm run compile && node esbuild.config.mjs --production", "bundle:dev": "npm run compile && node esbuild.config.mjs", "package": "npm run bundle && vsce package", - "test": "node ./test/runTests.ts" + "pretest": "tsc -p tsconfig.test.json", + "test": "node ./out/test/runTests.js" }, "dependencies": { "express": "^5.2.1" }, "devDependencies": { "@types/express": "^5.0.6", + "@types/mocha": "^10.0.0", "@types/node": "^25.8.0", "@types/vscode": "^1.85.0", "@vscode/test-electron": "^2.3.0", "@vscode/vsce": "^2.22.0", "esbuild": "^0.20.0", + "glob": "^11.0.0", + "mocha": "^11.0.0", "typescript": "^5.7.0" } } diff --git a/vscode-extension/test/runTests.ts b/vscode-extension/test/runTests.ts new file mode 100644 index 00000000..c3558520 --- /dev/null +++ b/vscode-extension/test/runTests.ts @@ -0,0 +1,19 @@ +import * as path from 'path' +import { runTests } from '@vscode/test-electron' + +async function main() { + try { + const extensionDevelopmentPath = path.resolve(__dirname, '..') + const extensionTestsPath = path.resolve(__dirname, './suite/index') + + await runTests({ + extensionDevelopmentPath, + extensionTestsPath, + }) + } catch (err) { + console.error('Failed to run tests:', err) + process.exit(1) + } +} + +main() diff --git a/vscode-extension/test/suite/extension.test.ts b/vscode-extension/test/suite/extension.test.ts new file mode 100644 index 00000000..cd1209e7 --- /dev/null +++ b/vscode-extension/test/suite/extension.test.ts @@ -0,0 +1,25 @@ +import * as assert from 'assert' +import * as vscode from 'vscode' + +suite('Extension Activation', () => { + test('Extension should be present', () => { + const ext = vscode.extensions.getExtension('SAP-samples.hana-cli') + assert.ok(ext, 'Extension not found') + }) + + test('All commands should be registered', async () => { + const commands = await vscode.commands.getCommands(true) + const expected = [ + 'hana-cli.openTools', + 'hana-cli.openQuery', + 'hana-cli.showTables', + 'hana-cli.showViews', + 'hana-cli.systemInfo', + 'hana-cli.addConnection', + 'hana-cli.importData', + ] + for (const cmd of expected) { + assert.ok(commands.includes(cmd), `Command ${cmd} not registered`) + } + }) +}) diff --git a/vscode-extension/test/suite/index.ts b/vscode-extension/test/suite/index.ts new file mode 100644 index 00000000..876fee27 --- /dev/null +++ b/vscode-extension/test/suite/index.ts @@ -0,0 +1,21 @@ +import * as path from 'path' +import Mocha from 'mocha' +import { glob } from 'glob' + +export async function run(): Promise { + const mocha = new Mocha({ ui: 'bdd', color: true, timeout: 10000 }) + const testsRoot = path.resolve(__dirname) + + const files = await glob('**/*.test.js', { cwd: testsRoot }) + files.forEach(f => mocha.addFile(path.resolve(testsRoot, f))) + + return new Promise((resolve, reject) => { + mocha.run(failures => { + if (failures > 0) { + reject(new Error(`${failures} tests failed`)) + } else { + resolve() + } + }) + }) +} diff --git a/vscode-extension/tsconfig.test.json b/vscode-extension/tsconfig.test.json new file mode 100644 index 00000000..96fd1c0e --- /dev/null +++ b/vscode-extension/tsconfig.test.json @@ -0,0 +1,10 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "rootDir": ".", + "outDir": "./out", + "types": ["node", "mocha"] + }, + "include": ["src/**/*", "test/**/*"], + "exclude": ["node_modules", "out", "dist"] +} From 0ce3c68d5c0f8b82ff2d5eea84e748e30e6f1b68 Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 09:45:18 -0400 Subject: [PATCH 19/21] test(vscode): add end-to-end smoke test for calc view custom editor --- .../test/suite/calcViewEditor.test.ts | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 vscode-extension/test/suite/calcViewEditor.test.ts diff --git a/vscode-extension/test/suite/calcViewEditor.test.ts b/vscode-extension/test/suite/calcViewEditor.test.ts new file mode 100644 index 00000000..d2d03305 --- /dev/null +++ b/vscode-extension/test/suite/calcViewEditor.test.ts @@ -0,0 +1,43 @@ +import * as assert from 'assert' +import * as vscode from 'vscode' +import * as path from 'path' +import * as fs from 'fs' +import * as os from 'os' + +suite('Calc View Editor', () => { + let tempDir: string + let testFile: vscode.Uri + + suiteSetup(async () => { + tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'hana-cli-test-')) + const filePath = path.join(tempDir, 'TEST_VIEW.hdbcalculationview') + fs.writeFileSync(filePath, ` + + + +`) + testFile = vscode.Uri.file(filePath) + }) + + suiteTeardown(() => { + if (tempDir) fs.rmSync(tempDir, { recursive: true, force: true }) + }) + + test('Should open .hdbcalculationview in custom editor', async () => { + await vscode.commands.executeCommand('vscode.openWith', testFile, 'hana-cli.calcViewEditor') + + // Wait for the editor tab to appear + await new Promise(resolve => setTimeout(resolve, 1000)) + + const tabs = vscode.window.tabGroups.all.flatMap(g => g.tabs) + const calcViewTab = tabs.find(t => { + if (t.input instanceof vscode.TabInputCustom) { + return t.input.viewType === 'hana-cli.calcViewEditor' + } + return false + }) + + assert.ok(calcViewTab, 'Custom editor tab not found for .hdbcalculationview') + }) +}) From 845d5e186c9a0e296698d2467a0a5f9c9085238f Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 09:46:18 -0400 Subject: [PATCH 20/21] ci: add GitHub Actions workflow for VSCode extension build and release --- .github/workflows/vscode-extension.yml | 56 ++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .github/workflows/vscode-extension.yml diff --git a/.github/workflows/vscode-extension.yml b/.github/workflows/vscode-extension.yml new file mode 100644 index 00000000..c81595c6 --- /dev/null +++ b/.github/workflows/vscode-extension.yml @@ -0,0 +1,56 @@ +name: VSCode Extension + +on: + push: + branches: [main, 'feature/vscode-extension'] + paths: + - 'vscode-extension/**' + - 'app/vue/**' + - 'routes/**' + - 'utils/**' + - '.github/workflows/vscode-extension.yml' + tags: + - 'vscode-v*' + pull_request: + paths: + - 'vscode-extension/**' + - 'app/vue/**' + +jobs: + build: + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + node: [20, 22] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} + - run: npm ci + - run: cd app/vue && npm ci + - run: cd vscode-extension && npm ci + - run: cd app/vue && npm run build:vscode + - run: cd vscode-extension && npm run compile + - run: cd vscode-extension && npm run bundle + - run: cd vscode-extension && npx vsce package --no-dependencies + - uses: actions/upload-artifact@v4 + if: matrix.os == 'ubuntu-latest' && matrix.node == 22 + with: + name: vsix + path: vscode-extension/*.vsix + + release: + needs: build + if: startsWith(github.ref, 'refs/tags/vscode-v') + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: actions/download-artifact@v4 + with: + name: vsix + - uses: softprops/action-gh-release@v2 + with: + files: '*.vsix' From 7129b6f81c36f4c90a4980234fb4cfe7bfb06cbf Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Sun, 17 May 2026 13:40:08 -0400 Subject: [PATCH 21/21] fix(vscode): resolve webview rendering issues across all editors - Switch all editors to ensureServer-first pattern (eliminates port=0 race condition) - Fix route paths to kebab-case matching Vue router (inspect-table, calc-view-editor, etc.) - Add chromeless flag to custom editors (hides shell/nav in artifact inspectors and calc view) - Add CORS middleware for webview-to-localhost fetch requests - Use HANA_CLI_* env vars for connection injection (avoids VCAP_SERVICES deletion) - Add base layout CSS (height:100%, flex column) matching Vue app's index.html - Enhance esbuild config with route bundling plugins for VSCode-specific build - Improve connection resolver with CAP binding support and status bar feedback - Remove stale app/vue/dist hashed assets (replaced by new Vite build output) --- app/vue/dist/assets/Analytics-CYfZe0D5.js | 56 ----- app/vue/dist/assets/BtpInfo-7Qe2D5PE.js | 1 - app/vue/dist/assets/BtpLogin-CwDnNSRL.js | 1 - app/vue/dist/assets/BtpSubs-DsVotqLu.js | 1 - app/vue/dist/assets/BtpTarget-CDKMIQnW.js | 4 - app/vue/dist/assets/CFLogin-0rk55Wup.js | 1 - .../dist/assets/CalcViewBrowser-C71_shNN.js | 1 - .../dist/assets/CalcViewEditor-CzAB2IbK.js | 134 ----------- app/vue/dist/assets/CallProcedure-DYjC5NuE.js | 1 - app/vue/dist/assets/CardHeader-D25i9-9b.js | 3 - app/vue/dist/assets/Certificates-bkc6AR9l.js | 1 - app/vue/dist/assets/CodeBlock-D3rHmyOE.js | 3 - app/vue/dist/assets/Containers-CcHwV0dp.js | 1 - app/vue/dist/assets/DataTypes-BZRO6j6k.js | 1 - .../dist/assets/DynamicTableView-BgX-JfYu.js | 1 - app/vue/dist/assets/FeatureUsage-bZ5aaT8-.js | 1 - app/vue/dist/assets/Features-BG3a2Uss.js | 1 - app/vue/dist/assets/Functions-Cr04G6mI.js | 1 - app/vue/dist/assets/HDI-B7q5VoWN.js | 1 - app/vue/dist/assets/Home-DMTy4qPD.js | 1 - app/vue/dist/assets/Import-Gk_asnr8.js | 1 - app/vue/dist/assets/Indexes-DoFx7jlP.js | 1 - .../dist/assets/InputSuggestions-CaWTjySl.js | 1 - .../dist/assets/InspectFunction-Bu6vDTzz.js | 1 - app/vue/dist/assets/InspectTable-DDrRTst1.js | 1 - app/vue/dist/assets/InspectView-BEGlOYWn.js | 1 - app/vue/dist/assets/Link-CUU7QKFS.js | 2 - .../assets/ListItemBaseTemplate-fB6cyhUP.js | 1 - ...StandardExpandableTextTemplate-C2dmZvS-.js | 3 - app/vue/dist/assets/MassConvert-D2zgg1Rc.js | 1 - app/vue/dist/assets/MessageStrip-st-aaDs2.js | 2 - app/vue/dist/assets/Option-yBqY0LHt.js | 5 - app/vue/dist/assets/PlanTree-COnYDYSm.js | 1 - app/vue/dist/assets/Procedures-CmOVdYLB.js | 1 - app/vue/dist/assets/QueryEditor-qtET-3r5.js | 3 - app/vue/dist/assets/QuerySimple-C8wahTIQ.js | 1 - .../dist/assets/ResultDiffView-tnZBCDxM.js | 1 - app/vue/dist/assets/SBSS-B4KSKNna.js | 1 - .../dist/assets/SchemaInstances-NxsfHyDf.js | 1 - app/vue/dist/assets/Schemas-DZ4WTNDF.js | 1 - app/vue/dist/assets/SecureStore-D65uFtAs.js | 1 - .../dist/assets/SegmentedButton-D0FpyF_g.js | 3 - app/vue/dist/assets/SmartTable-BtBFwGU3.js | 98 -------- app/vue/dist/assets/SqlEditor-COm8qPqK.js | 1 - .../dist/assets/SuggestionItem-D5k7H1pi.js | 2 - app/vue/dist/assets/SystemInfo-Cqu87Mxw.js | 1 - app/vue/dist/assets/Tab-DXA6J-WP.js | 5 - .../dist/assets/TableHeaderRow-BwRbRfkI.js | 8 - app/vue/dist/assets/Tables-Bx-YmA4X.js | 1 - app/vue/dist/assets/UPS-BHdZI8-4.js | 1 - app/vue/dist/assets/Users-D_QoKJJv.js | 1 - app/vue/dist/assets/Version-CyOhYK1C.js | 1 - app/vue/dist/assets/Views-DcJvStTZ.js | 1 - app/vue/dist/assets/index-Cmc-xxmd.js | 196 --------------- app/vue/dist/assets/index-tIVfSlto.js | 11 - app/vue/dist/assets/splitpanes-BHRpRnq4.js | 1 - .../assets/useCalcViewFileApi-De0S2Did.js | 30 --- .../dist/assets/useCurrentSchema-BqWYAHf6.js | 1 - .../dist/assets/useDynamicTable-DVsAdjXE.js | 2 - app/vue/dist/assets/useSmartTable-WzAaSsKz.js | 2 - app/vue/dist/index.html | 2 +- vscode-extension/.gitignore | 1 + vscode-extension/esbuild.config.mjs | 126 +++++++++- vscode-extension/package.json | 9 +- vscode-extension/src/connection/resolver.ts | 224 ++++++++++++++++-- vscode-extension/src/connection/statusBar.ts | 40 +++- .../src/editors/artifactInspector.ts | 34 ++- .../src/editors/calcViewEditor.ts | 3 +- vscode-extension/src/editors/toolsPanel.ts | 59 ++++- vscode-extension/src/extension.ts | 153 ++++++------ vscode-extension/src/server/lifecycle.ts | 42 +++- vscode-extension/src/webview/htmlProvider.ts | 40 +++- 72 files changed, 575 insertions(+), 770 deletions(-) delete mode 100644 app/vue/dist/assets/Analytics-CYfZe0D5.js delete mode 100644 app/vue/dist/assets/BtpInfo-7Qe2D5PE.js delete mode 100644 app/vue/dist/assets/BtpLogin-CwDnNSRL.js delete mode 100644 app/vue/dist/assets/BtpSubs-DsVotqLu.js delete mode 100644 app/vue/dist/assets/BtpTarget-CDKMIQnW.js delete mode 100644 app/vue/dist/assets/CFLogin-0rk55Wup.js delete mode 100644 app/vue/dist/assets/CalcViewBrowser-C71_shNN.js delete mode 100644 app/vue/dist/assets/CalcViewEditor-CzAB2IbK.js delete mode 100644 app/vue/dist/assets/CallProcedure-DYjC5NuE.js delete mode 100644 app/vue/dist/assets/CardHeader-D25i9-9b.js delete mode 100644 app/vue/dist/assets/Certificates-bkc6AR9l.js delete mode 100644 app/vue/dist/assets/CodeBlock-D3rHmyOE.js delete mode 100644 app/vue/dist/assets/Containers-CcHwV0dp.js delete mode 100644 app/vue/dist/assets/DataTypes-BZRO6j6k.js delete mode 100644 app/vue/dist/assets/DynamicTableView-BgX-JfYu.js delete mode 100644 app/vue/dist/assets/FeatureUsage-bZ5aaT8-.js delete mode 100644 app/vue/dist/assets/Features-BG3a2Uss.js delete mode 100644 app/vue/dist/assets/Functions-Cr04G6mI.js delete mode 100644 app/vue/dist/assets/HDI-B7q5VoWN.js delete mode 100644 app/vue/dist/assets/Home-DMTy4qPD.js delete mode 100644 app/vue/dist/assets/Import-Gk_asnr8.js delete mode 100644 app/vue/dist/assets/Indexes-DoFx7jlP.js delete mode 100644 app/vue/dist/assets/InputSuggestions-CaWTjySl.js delete mode 100644 app/vue/dist/assets/InspectFunction-Bu6vDTzz.js delete mode 100644 app/vue/dist/assets/InspectTable-DDrRTst1.js delete mode 100644 app/vue/dist/assets/InspectView-BEGlOYWn.js delete mode 100644 app/vue/dist/assets/Link-CUU7QKFS.js delete mode 100644 app/vue/dist/assets/ListItemBaseTemplate-fB6cyhUP.js delete mode 100644 app/vue/dist/assets/ListItemStandardExpandableTextTemplate-C2dmZvS-.js delete mode 100644 app/vue/dist/assets/MassConvert-D2zgg1Rc.js delete mode 100644 app/vue/dist/assets/MessageStrip-st-aaDs2.js delete mode 100644 app/vue/dist/assets/Option-yBqY0LHt.js delete mode 100644 app/vue/dist/assets/PlanTree-COnYDYSm.js delete mode 100644 app/vue/dist/assets/Procedures-CmOVdYLB.js delete mode 100644 app/vue/dist/assets/QueryEditor-qtET-3r5.js delete mode 100644 app/vue/dist/assets/QuerySimple-C8wahTIQ.js delete mode 100644 app/vue/dist/assets/ResultDiffView-tnZBCDxM.js delete mode 100644 app/vue/dist/assets/SBSS-B4KSKNna.js delete mode 100644 app/vue/dist/assets/SchemaInstances-NxsfHyDf.js delete mode 100644 app/vue/dist/assets/Schemas-DZ4WTNDF.js delete mode 100644 app/vue/dist/assets/SecureStore-D65uFtAs.js delete mode 100644 app/vue/dist/assets/SegmentedButton-D0FpyF_g.js delete mode 100644 app/vue/dist/assets/SmartTable-BtBFwGU3.js delete mode 100644 app/vue/dist/assets/SqlEditor-COm8qPqK.js delete mode 100644 app/vue/dist/assets/SuggestionItem-D5k7H1pi.js delete mode 100644 app/vue/dist/assets/SystemInfo-Cqu87Mxw.js delete mode 100644 app/vue/dist/assets/Tab-DXA6J-WP.js delete mode 100644 app/vue/dist/assets/TableHeaderRow-BwRbRfkI.js delete mode 100644 app/vue/dist/assets/Tables-Bx-YmA4X.js delete mode 100644 app/vue/dist/assets/UPS-BHdZI8-4.js delete mode 100644 app/vue/dist/assets/Users-D_QoKJJv.js delete mode 100644 app/vue/dist/assets/Version-CyOhYK1C.js delete mode 100644 app/vue/dist/assets/Views-DcJvStTZ.js delete mode 100644 app/vue/dist/assets/index-Cmc-xxmd.js delete mode 100644 app/vue/dist/assets/index-tIVfSlto.js delete mode 100644 app/vue/dist/assets/splitpanes-BHRpRnq4.js delete mode 100644 app/vue/dist/assets/useCalcViewFileApi-De0S2Did.js delete mode 100644 app/vue/dist/assets/useCurrentSchema-BqWYAHf6.js delete mode 100644 app/vue/dist/assets/useDynamicTable-DVsAdjXE.js delete mode 100644 app/vue/dist/assets/useSmartTable-WzAaSsKz.js diff --git a/app/vue/dist/assets/Analytics-CYfZe0D5.js b/app/vue/dist/assets/Analytics-CYfZe0D5.js deleted file mode 100644 index 49de81bd..00000000 --- a/app/vue/dist/assets/Analytics-CYfZe0D5.js +++ /dev/null @@ -1,56 +0,0 @@ -import{d2 as Ui,bh as Yi,cA as ut,cW as gb,bx as ge,cr as et,bl as rt,bi as Q,t as ke,cB as Ee,cU as q,b8 as xe,ch as Za,cN as ne,bk as ye,co as yc,cn as mb,bp as Vt,cj as yb,bj as Iy,d3 as _b,d5 as fu,d1 as hu}from"./index-Cmc-xxmd.js";import"./Tab-DXA6J-WP.js";import"./SuggestionItem-D5k7H1pi.js";import"./Option-yBqY0LHt.js";import{u as Sb,a as cu}from"./useCurrentSchema-BqWYAHf6.js";import{Q as bb}from"./QueryEditor-qtET-3r5.js";import"./slideUp-BU4b7UJI.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./splitpanes-BHRpRnq4.js";import"./SegmentedButton-D0FpyF_g.js";const xb=new Set(["DATE","TIME","TIMESTAMP","SECONDDATE"]);function wb(r){return xb.has(r.toUpperCase())}function Tb(r,t){const e=r.length,n=t.length;if(e===0)return n===1?"kpi":(n>1,"bar");if(e===1&&wb(r[0].dataType)&&n>=1)return"line";if(e>=2&&n>=2)return"scatter";if(e===2&&n===1)return"heatmap";if(e===1&&n>=2)return"groupedBar";if(e===1&&n===1){const i=r[0].distinctCount;return i!==void 0&&i<=5?"pie":"bar"}return"bar"}function _c(){const r=ut(""),t=ut(""),e=ut("table"),n=ut([]),i=ut([]),a=ut([]),o=ut("bar"),s=ut(!1),l=ut(void 0),u=ut(100),f=Yi(()=>Tb(n.value,i.value)),h=Yi(()=>({schema:r.value,object:t.value,objectType:e.value,dimensions:n.value,measures:i.value,filters:a.value,chartType:o.value,orderBy:l.value,limit:u.value}));Ui([n,i],()=>{s.value||(o.value=f.value)},{deep:!0});function c(w){n.value.some(T=>T.column===w.column)||(n.value=[...n.value,w])}function v(w){n.value=n.value.filter(T=>T.column!==w)}function d(w){i.value.some(T=>T.column===w.column)||(i.value=[...i.value,w])}function p(w){i.value=i.value.filter(T=>T.column!==w)}function m(w){a.value=[...a.value,w]}function g(w){a.value=a.value.filter(T=>T.column!==w)}function y(w){a.value=a.value.filter((T,D)=>D!==w)}function _(){a.value=[]}function S(){n.value=[],i.value=[],a.value=[],o.value="bar",s.value=!1,l.value=void 0,u.value=100}function x(w){o.value=w,s.value=!0}function b(w){r.value=w.schema,t.value=w.object,e.value=w.objectType,S()}return{schema:r,object:t,objectType:e,dimensions:n,measures:i,filters:a,chartType:o,orderBy:l,limit:u,suggestedChartType:f,config:h,addDimension:c,removeDimension:v,addMeasure:d,removeMeasure:p,addFilter:m,removeFilter:g,removeFilterAtIndex:y,clearFilters:_,setChartType:x,clearAll:S,setDataSource:b}}const Cb=1e4;function Sc(){const r=ut([]),t=ut(null),e=ut(!1),n=ut(!0),{execute:i}=gb();async function a(l,u){var f,h;e.value=!0;try{const c=await i("inspectTable-ui",{schema:l,table:u}),v=c.fields||c.columns||[];r.value=v.map(p=>{const m=p.LENGTH??p.length,g={column:p.COLUMN_NAME||p.column_name||"",dataType:p.DATA_TYPE_NAME||p.data_type_name||"",nullable:(p.IS_NULLABLE||"")==="TRUE"};return m!=null&&(g.length=Number(m)),g});const d=((f=c.TABLE_SIZE)==null?void 0:f.RECORD_COUNT)??((h=c.basic)==null?void 0:h.RECORD_COUNT)??null;t.value=d!==null?Number(d):null,n.value=t.value===null||t.value>Cb}finally{e.value=!1}}async function o(l){const u=await fetch("/hana/analytics-ui",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(!u.ok){let f=`${u.status} ${u.statusText}`;try{const h=await u.json();h.error&&(f=h.error)}catch{}throw new Error(f)}return u.json()}function s(){r.value=[],t.value=null,e.value=!1,n.value=!0}return{columns:r,rowCount:t,loading:e,useServerAggregation:n,loadMetadata:a,fetchAggregated:o,clear:s}}const Mb={class:"data-source-picker"},Db={class:"picker-row"},Ab=["value"],Lb=["text"],Ib=["placeholder","value"],Pb=["text"],Rb=ge({__name:"DataSourcePicker",emits:["select"],setup(r,{emit:t}){const e=t,{resolvedSchema:n}=Sb(),i=ut(""),a=ut(""),o=ut("table"),s=cu("schemas-ui","SCHEMA_NAME"),l=cu("tables-ui","TABLE_NAME"),u=cu("views-ui","VIEW_NAME");s.load(),Ui(n,h=>{h&&!i.value&&(i.value=h)},{immediate:!0}),Ui([i,o],()=>{a.value="",i.value&&(o.value==="table"?l.load({schema:i.value}):u.load({schema:i.value}))});function f(h){var v,d,p,m;const c=((d=(v=h.detail)==null?void 0:v.item)==null?void 0:d.text)||((m=(p=h.detail)==null?void 0:p.item)==null?void 0:m.textContent)||a.value;a.value=c,c&&e("select",i.value,c,o.value)}return(h,c)=>(et(),rt("div",Mb,[Q("div",Db,[Q("ui5-input",{class:"schema-input",placeholder:"Schema",value:i.value,"show-suggestions":"",onInput:c[0]||(c[0]=v=>i.value=v.target.value),onSelectionChange:c[1]||(c[1]=v=>{var d,p,m,g;return i.value=((p=(d=v.detail)==null?void 0:d.item)==null?void 0:p.text)||((g=(m=v.detail)==null?void 0:m.item)==null?void 0:g.textContent)||i.value})},[(et(!0),rt(ke,null,Ee(q(s).items.value,v=>(et(),rt("ui5-suggestion-item",{key:v,text:v},null,8,Lb))),128))],40,Ab),Q("ui5-select",{class:"type-select",onChange:c[2]||(c[2]=v=>o.value=v.detail.selectedOption.dataset.value)},[...c[4]||(c[4]=[Q("ui5-option",{"data-value":"table",selected:""},"Table",-1),Q("ui5-option",{"data-value":"view"},"View",-1)])],32)]),Q("ui5-input",{class:"object-input",placeholder:`Search ${o.value}s...`,value:a.value,"show-suggestions":"",onInput:c[3]||(c[3]=v=>a.value=v.target.value),onSelectionChange:f},[(et(!0),rt(ke,null,Ee(o.value==="table"?q(l).items.value:q(u).items.value,v=>(et(),rt("ui5-suggestion-item",{key:v,text:v},null,8,Pb))),128))],40,Ib)]))}}),Py=xe(Rb,[["__scopeId","data-v-49623184"]]),kb=new Set(["INTEGER","INT","BIGINT","SMALLINT","TINYINT","DECIMAL","DOUBLE","REAL","FLOAT","SMALLDECIMAL"]);function Eb(){const r=ut(null),t=ut(null);function e(u){return kb.has(u.toUpperCase())}function n(u,f){r.value=u,f.dataTransfer&&(f.dataTransfer.effectAllowed="move",f.dataTransfer.setData("text/plain",u.column))}function i(u,f){f.preventDefault(),f.dataTransfer&&(f.dataTransfer.dropEffect="move"),t.value=u}function a(){t.value=null}function o(u){const f=r.value;if(!f)return l(),null;const h=e(f.dataType)?"SUM":"COUNT",c={column:f,zone:u,defaultAggregation:h};return l(),c}function s(){l()}function l(){r.value=null,t.value=null}return{draggedColumn:r,dragOverZone:t,startDrag:n,dragOver:i,dragLeave:a,drop:o,endDrag:s,isNumericType:e}}const Ob={class:"drag-drop-config"},Bb={class:"column-source"},Nb={class:"column-list"},zb=["onDragstart"],Vb={class:"col-name"},Fb={class:"col-dtype"},Hb={class:"drop-zones"},Gb=["onClick"],Wb={key:0,class:"zone-hint"},Ub=["onChange"],Yb=["data-value","selected"],$b=["onClick"],Zb={key:0,class:"zone-hint"},Xb=ge({__name:"DragDropConfig",props:{columns:{},dimensions:{},measures:{}},emits:["addDimension","removeDimension","addMeasure","removeMeasure","updateAggregation"],setup(r,{emit:t}){const e=r,n=t,{dragOverZone:i,startDrag:a,dragOver:o,dragLeave:s,drop:l,endDrag:u,isNumericType:f}=Eb(),h=Yi(()=>e.columns.filter(d=>!e.dimensions.find(p=>p.column===d.column)&&!e.measures.find(p=>p.column===d.column)));function c(d){d.preventDefault();const p=l("dimensions");p&&n("addDimension",{column:p.column.column,dataType:p.column.dataType})}function v(d){d.preventDefault();const p=l("measures");p&&n("addMeasure",{column:p.column.column,aggregation:p.defaultAggregation})}return(d,p)=>(et(),rt("div",Ob,[Q("div",Bb,[p[5]||(p[5]=Q("h4",null,"Columns",-1)),Q("div",Nb,[(et(!0),rt(ke,null,Ee(h.value,m=>(et(),rt("div",{key:m.column,class:"column-item",draggable:"true",onDragstart:g=>q(a)(m,g),onDragend:p[0]||(p[0]=(...g)=>q(u)&&q(u)(...g))},[Q("span",{class:Za(["col-type",{numeric:q(f)(m.dataType)}])},ne(q(f)(m.dataType)?"#":"A"),3),Q("span",Vb,ne(m.column),1),Q("span",Fb,ne(m.dataType),1)],40,zb))),128))])]),Q("div",Hb,[Q("div",{class:Za(["drop-zone dimensions-zone",{"drag-over":q(i)==="dimensions"}]),onDragover:p[1]||(p[1]=m=>q(o)("dimensions",m)),onDragleave:p[2]||(p[2]=(...m)=>q(s)&&q(s)(...m)),onDrop:c},[p[6]||(p[6]=Q("h4",null,"Dimensions (Group By)",-1)),(et(!0),rt(ke,null,Ee(r.dimensions,m=>(et(),rt("div",{key:m.column,class:"zone-item"},[Q("span",null,ne(m.column),1),Q("ui5-button",{icon:"decline",design:"Transparent",onClick:g=>n("removeDimension",m.column)},null,8,Gb)]))),128)),r.dimensions.length===0?(et(),rt("p",Wb,"Drop columns here")):ye("",!0)],34),Q("div",{class:Za(["drop-zone measures-zone",{"drag-over":q(i)==="measures"}]),onDragover:p[3]||(p[3]=m=>q(o)("measures",m)),onDragleave:p[4]||(p[4]=(...m)=>q(s)&&q(s)(...m)),onDrop:v},[p[7]||(p[7]=Q("h4",null,"Measures (Aggregate)",-1)),(et(!0),rt(ke,null,Ee(r.measures,m=>(et(),rt("div",{key:m.column,class:"zone-item"},[Q("span",null,ne(m.column),1),Q("ui5-select",{class:"agg-select",onChange:g=>n("updateAggregation",m.column,g.detail.selectedOption.dataset.value)},[(et(),rt(ke,null,Ee(["SUM","AVG","COUNT","MIN","MAX"],g=>Q("ui5-option",{key:g,"data-value":g,selected:m.aggregation===g},ne(g),9,Yb)),64))],40,Ub),Q("ui5-button",{icon:"decline",design:"Transparent",onClick:g=>n("removeMeasure",m.column)},null,8,$b)]))),128)),r.measures.length===0?(et(),rt("p",Zb,"Drop numeric columns here")):ye("",!0)],34)])]))}}),Ry=xe(Xb,[["__scopeId","data-v-fe89c52a"]]),qb={class:"filter-bar"},Kb=["onClick"],Qb={class:"filter-form"},Jb=["data-value"],jb=["data-value"],tx=["value"],ex=ge({__name:"FilterBar",props:{filters:{},columns:{}},emits:["addFilter","removeFilter","clearAll"],setup(r,{emit:t}){const e=t,n=ut(null),i=ut(""),a=ut("="),o=ut(""),s=["=","!=",">","<",">=","<=","IN","LIKE","BETWEEN"];function l(f){const h=n.value;h&&(h.opener=f.target,h.open=!0)}function u(){i.value&&o.value&&(e("addFilter",{column:i.value,operator:a.value,value:o.value}),i.value="",a.value="=",o.value="",n.value&&(n.value.open=!1))}return(f,h)=>(et(),rt("div",qb,[(et(!0),rt(ke,null,Ee(r.filters,(c,v)=>(et(),rt("div",{key:`${c.column}_${c.operator}_${c.value}`,class:"filter-chip"},[Q("span",null,ne(c.column)+" "+ne(c.operator)+" "+ne(c.value),1),Q("ui5-button",{icon:"decline",design:"Transparent",onClick:d=>e("removeFilter",v)},null,8,Kb)]))),128)),Q("ui5-button",{icon:"add",design:"Transparent",tooltip:"Add filter",onClick:l}),r.filters.length>0?(et(),rt("ui5-button",{key:0,design:"Transparent",onClick:h[0]||(h[0]=c=>e("clearAll"))},"Clear all")):ye("",!0),Q("ui5-popover",{ref_key:"popoverRef",ref:n,"header-text":"Add Filter",placement:"Bottom"},[Q("div",Qb,[Q("ui5-select",{class:"filter-col",onChange:h[1]||(h[1]=c=>{var v,d;return i.value=((d=(v=c.detail.selectedOption)==null?void 0:v.dataset)==null?void 0:d.value)||""})},[h[4]||(h[4]=Q("ui5-option",{"data-value":""},"Column...",-1)),(et(!0),rt(ke,null,Ee(r.columns,c=>(et(),rt("ui5-option",{key:c.column,"data-value":c.column},ne(c.column),9,Jb))),128))],32),Q("ui5-select",{class:"filter-op",onChange:h[2]||(h[2]=c=>{var v,d;return a.value=((d=(v=c.detail.selectedOption)==null?void 0:v.dataset)==null?void 0:d.value)||"="})},[(et(),rt(ke,null,Ee(s,c=>Q("ui5-option",{key:c,"data-value":c},ne(c),9,jb)),64))],32),Q("ui5-input",{class:"filter-val",placeholder:"Value",value:o.value,onInput:h[3]||(h[3]=c=>o.value=c.target.value)},null,40,tx),Q("ui5-button",{design:"Emphasized",onClick:u},"Add")])],512)]))}}),rx=xe(ex,[["__scopeId","data-v-29f3c046"]]);/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var Uf=function(r,t){return Uf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])},Uf(r,t)};function O(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Uf(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var nx=(function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r})(),ix=(function(){function r(){this.browser=new nx,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return r})(),ot=new ix;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(ot.wxa=!0,ot.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?ot.worker=!0:!ot.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(ot.node=!0,ot.svgSupported=!0):ax(navigator.userAgent,ot);function ax(r,t){var e=t.browser,n=r.match(/Firefox\/([\d.]+)/),i=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),a=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);n&&(e.firefox=!0,e.version=n[1]),i&&(e.ie=!0,e.version=i[1]),a&&(e.edge=!0,e.version=a[1],e.newEdge=+a[1].split(".")[0]>18),o&&(e.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,t.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11);var s=t.domSupported=typeof document<"u";if(s){var l=document.documentElement.style;t.transform3dSupported=(e.ie&&"transition"in l||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in l)&&!("OTransition"in l),t.transformSupported=t.transform3dSupported||e.ie&&+e.version>=9}}var bc=12,ox="sans-serif",sn=bc+"px "+ox,sx=20,lx=100,ux="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function fx(r){var t={};if(typeof JSON>"u")return t;for(var e=0;e=0)s=o*e.length;else for(var l=0;l>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",i[u]+":0",n[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),r.appendChild(o),e.push(o)}return t.clearMarkers=function(){C(e,function(f){f.parentNode&&f.parentNode.removeChild(f)})},e}function Nx(r,t,e){for(var n=e?"invTrans":"trans",i=t[n],a=t.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var f=r[u].getBoundingClientRect(),h=2*u,c=f.left,v=f.top;o.push(c,v),l=l&&a&&c===a[h]&&v===a[h+1],s.push(r[u].offsetLeft,r[u].offsetTop)}return l&&i?i:(t.srcCoords=o,t[n]=e?jv(s,o):jv(o,s))}function Vy(r){return r.nodeName.toUpperCase()==="CANVAS"}var zx=/([&<>"'])/g,Vx={"&":"&","<":"<",">":">",'"':""","'":"'"};function oe(r){return r==null?"":(r+"").replace(zx,function(t,e){return Vx[e]})}var Fx=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,gu=[],Hx=ot.browser.firefox&&+ot.browser.version.split(".")[0]<39;function Qf(r,t,e,n){return e=e||{},n?td(r,t,e):Hx&&t.layerX!=null&&t.layerX!==t.offsetX?(e.zrX=t.layerX,e.zrY=t.layerY):t.offsetX!=null?(e.zrX=t.offsetX,e.zrY=t.offsetY):td(r,t,e),e}function td(r,t,e){if(ot.domSupported&&r.getBoundingClientRect){var n=t.clientX,i=t.clientY;if(Vy(r)){var a=r.getBoundingClientRect();e.zrX=n-a.left,e.zrY=i-a.top;return}else if(Kf(gu,r,n,i)){e.zrX=gu[0],e.zrY=gu[1];return}}e.zrX=e.zrY=0}function Dc(r){return r||window.event}function Me(r,t,e){if(t=Dc(t),t.zrX!=null)return t;var n=t.type,i=n&&n.indexOf("touch")>=0;if(i){var o=n!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&Qf(r,o,t,e)}else{Qf(r,t,t,e);var a=Gx(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&Fx.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function Gx(r){var t=r.wheelDelta;if(t)return t;var e=r.deltaX,n=r.deltaY;if(e==null||n==null)return t;var i=Math.abs(n!==0?n:e),a=n>0?-1:n<0?1:e>0?-1:1;return 3*i*a}function Jf(r,t,e,n){r.addEventListener(t,e,n)}function Wx(r,t,e,n){r.removeEventListener(t,e,n)}var Er=function(r){r.preventDefault(),r.stopPropagation(),r.cancelBubble=!0};function ed(r){return r.which===2||r.which===3}var Ux=(function(){function r(){this._track=[]}return r.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var a={points:[],touches:[],target:e,event:t},o=0,s=i.length;o1&&n&&n.length>1){var a=rd(n)/rd(i);!isFinite(a)&&(a=1),t.pinchScale=a;var o=Yx(n);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:r[0].target,event:t}}}}};function Rr(){return[1,0,0,1,0,0]}function Ac(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function Fy(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4],r[5]=t[5],r}function qa(r,t,e){var n=t[0]*e[0]+t[2]*e[1],i=t[1]*e[0]+t[3]*e[1],a=t[0]*e[2]+t[2]*e[3],o=t[1]*e[2]+t[3]*e[3],s=t[0]*e[4]+t[2]*e[5]+t[4],l=t[1]*e[4]+t[3]*e[5]+t[5];return r[0]=n,r[1]=i,r[2]=a,r[3]=o,r[4]=s,r[5]=l,r}function jf(r,t,e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4]+e[0],r[5]=t[5]+e[1],r}function Lc(r,t,e,n){n===void 0&&(n=[0,0]);var i=t[0],a=t[2],o=t[4],s=t[1],l=t[3],u=t[5],f=Math.sin(e),h=Math.cos(e);return r[0]=i*h+s*f,r[1]=-i*f+s*h,r[2]=a*h+l*f,r[3]=-a*f+h*l,r[4]=h*(o-n[0])+f*(u-n[1])+n[0],r[5]=h*(u-n[1])-f*(o-n[0])+n[1],r}function $x(r,t,e){var n=e[0],i=e[1];return r[0]=t[0]*n,r[1]=t[1]*i,r[2]=t[2]*n,r[3]=t[3]*i,r[4]=t[4]*n,r[5]=t[5]*i,r}function Ro(r,t){var e=t[0],n=t[2],i=t[4],a=t[1],o=t[3],s=t[5],l=e*o-a*n;return l?(l=1/l,r[0]=o*l,r[1]=-a*l,r[2]=-n*l,r[3]=e*l,r[4]=(n*s-o*i)*l,r[5]=(a*i-e*s)*l,r):null}var at=(function(){function r(t,e){this.x=t||0,this.y=e||0}return r.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(t,e){return this.x=t,this.y=e,this},r.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},r.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},r.prototype.scale=function(t){this.x*=t,this.y*=t},r.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},r.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},r.prototype.dot=function(t){return this.x*t.x+this.y*t.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},r.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},r.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},r.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},r.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},r.set=function(t,e,n){t.x=e,t.y=n},r.copy=function(t,e){t.x=e.x,t.y=e.y},r.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},r.lenSquare=function(t){return t.x*t.x+t.y*t.y},r.dot=function(t,e){return t.x*e.x+t.y*e.y},r.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},r.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},r.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},r.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},r.lerp=function(t,e,n,i){var a=1-i;t.x=a*e.x+i*n.x,t.y=a*e.y+i*n.y},r})(),Fn=Math.min,Oi=Math.max,th=Math.abs,nd=["x","y"],Zx=["width","height"],dn=new at,pn=new at,gn=new at,mn=new at,me=Hy(),za=me.minTv,eh=me.maxTv,Ka=[0,0],st=(function(){function r(t,e,n,i){r.set(this,t,e,n,i)}return r.set=function(t,e,n,i,a){return i<0&&(e=e+i,i=-i),a<0&&(n=n+a,a=-a),t.x=e,t.y=n,t.width=i,t.height=a,t},r.prototype.union=function(t){var e=Fn(t.x,this.x),n=Fn(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Oi(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Oi(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},r.prototype.applyTransform=function(t){r.applyTransform(this,this,t)},r.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,a=Rr();return jf(a,a,[-e.x,-e.y]),$x(a,a,[n,i]),jf(a,a,[t.x,t.y]),a},r.prototype.intersect=function(t,e,n){return r.intersect(this,t,e,n)},r.intersect=function(t,e,n,i){n&&at.set(n,0,0);var a=i&&i.outIntersectRect||null,o=i&&i.clamp;if(a&&(a.x=a.y=a.width=a.height=NaN),!t||!e)return!1;t instanceof r||(t=r.set(Xx,t.x,t.y,t.width,t.height)),e instanceof r||(e=r.set(qx,e.x,e.y,e.width,e.height));var s=!!n;me.reset(i,s);var l=me.touchThreshold,u=t.x+l,f=t.x+t.width-l,h=t.y+l,c=t.y+t.height-l,v=e.x+l,d=e.x+e.width-l,p=e.y+l,m=e.y+e.height-l;if(u>f||h>c||v>d||p>m)return!1;var g=!(f=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},r.prototype.contain=function(t,e){return r.contain(this,t,e)},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(t){r.copy(this,t)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return this.width===0||this.height===0},r.create=function(t){return new r(t.x,t.y,t.width,t.height)},r.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},r.applyTransform=function(t,e,n){if(!n){t!==e&&r.copy(t,e);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],a=n[3],o=n[4],s=n[5];t.x=e.x*i+o,t.y=e.y*a+s,t.width=e.width*i,t.height=e.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}dn.x=gn.x=e.x,dn.y=mn.y=e.y,pn.x=mn.x=e.x+e.width,pn.y=gn.y=e.y+e.height,dn.transform(n),mn.transform(n),pn.transform(n),gn.transform(n),t.x=Fn(dn.x,pn.x,gn.x,mn.x),t.y=Fn(dn.y,pn.y,gn.y,mn.y);var l=Oi(dn.x,pn.x,gn.x,mn.x),u=Oi(dn.y,pn.y,gn.y,mn.y);t.width=l-t.x,t.height=u-t.y},r})(),Xx=new st(0,0,0,0),qx=new st(0,0,0,0);function id(r,t,e,n,i,a,o,s){var l=th(t-e),u=th(n-r),f=Fn(l,u),h=nd[i],c=nd[1-i],v=Zx[i];t=u||!me.bidirectional)&&(za[h]=-u,za[c]=0,me.useDir&&me.calcDirMTV())))}function Hy(){var r=0,t=new at,e=new at,n={minTv:new at,maxTv:new at,useDir:!1,dirMinTv:new at,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(a,o){n.touchThreshold=0,a&&a.touchThreshold!=null&&(n.touchThreshold=Oi(0,a.touchThreshold)),n.negativeSize=!1,o&&(n.minTv.set(1/0,1/0),n.maxTv.set(0,0),n.useDir=!1,a&&a.direction!=null&&(n.useDir=!0,n.dirMinTv.copy(n.minTv),e.copy(n.minTv),r=a.direction,n.bidirectional=a.bidirectional==null||!!a.bidirectional,n.bidirectional||t.set(Math.cos(r),Math.sin(r))))},calcDirMTV:function(){var a=n.minTv,o=n.dirMinTv,s=a.y*a.y+a.x*a.x,l=Math.sin(r),u=Math.cos(r),f=l*a.y+u*a.x;if(i(f)){i(a.x)&&i(a.y)&&o.set(0,0);return}if(e.x=s*u/f,e.y=s*l/f,i(e.x)&&i(e.y)){o.set(0,0);return}(n.bidirectional||t.dot(e)>0)&&e.len()=0;h--){var c=a[h];c!==i&&!c.ignore&&!c.ignoreCoarsePointer&&(!c.parent||!c.parent.ignoreCoarsePointer)&&(yu.copy(c.getBoundingRect()),c.transform&&yu.applyTransform(c.transform),yu.intersect(f)&&s.push(c))}if(s.length)for(var v=4,d=Math.PI/12,p=Math.PI*2,m=0;m4)return;this._downPoint=null}this.dispatchToElement(a,r,t)}});function tw(r,t,e){if(r[r.rectHover?"rectContain":"contain"](t,e)){for(var n=r,i=void 0,a=!1;n;){if(n.ignoreClip&&(a=!0),!a){var o=n.getClipPath();if(o&&!o.contain(t,e))return!1}n.silent&&(i=!0);var s=n.__hostTarget;n=s?n.ignoreHostSilent?null:s:n.parent}return i?Gy:!0}return!1}function ad(r,t,e,n,i){for(var a=r.length-1;a>=0;a--){var o=r[a],s=void 0;if(o!==i&&!o.ignore&&(s=tw(o,e,n))&&(!t.topTarget&&(t.topTarget=o),s!==Gy)){t.target=o;break}}}function Uy(r,t,e){var n=r.painter;return t<0||t>n.getWidth()||e<0||e>n.getHeight()}var Yy=32,da=7;function ew(r){for(var t=0;r>=Yy;)t|=r&1,r>>=1;return r+t}function od(r,t,e,n){var i=t+1;if(i===e)return 1;if(n(r[i++],r[t])<0){for(;i=0;)i++;return i-t}function rw(r,t,e){for(e--;t>>1,i(a,r[l])<0?s=l:o=l+1;var u=n-o;switch(u){case 3:r[o+3]=r[o+2];case 2:r[o+2]=r[o+1];case 1:r[o+1]=r[o];break;default:for(;u>0;)r[o+u]=r[o+u-1],u--}r[o]=a}}function _u(r,t,e,n,i,a){var o=0,s=0,l=1;if(a(r,t[e+i])>0){for(s=n-i;l0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}else{for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}for(o++;o>>1);a(r,t[e+f])>0?o=f+1:l=f}return l}function Su(r,t,e,n,i,a){var o=0,s=0,l=1;if(a(r,t[e+i])<0){for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}else{for(s=n-i;l=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}for(o++;o>>1);a(r,t[e+f])<0?l=f:o=f+1}return l}function nw(r,t){var e=da,n,i,a=0,o=[];n=[],i=[];function s(v,d){n[a]=v,i[a]=d,a+=1}function l(){for(;a>1;){var v=a-2;if(v>=1&&i[v-1]<=i[v]+i[v+1]||v>=2&&i[v-2]<=i[v]+i[v-1])i[v-1]i[v+1])break;f(v)}}function u(){for(;a>1;){var v=a-2;v>0&&i[v-1]=da||w>=da);if(T)break;x<0&&(x=0),x+=2}if(e=x,e<1&&(e=1),d===1){for(g=0;g=0;g--)r[b+g]=r[x+g];r[S]=o[_];return}for(var w=e;;){var T=0,D=0,A=!1;do if(t(o[_],r[y])<0){if(r[S--]=r[y--],T++,D=0,--d===0){A=!0;break}}else if(r[S--]=o[_--],D++,T=0,--m===1){A=!0;break}while((T|D)=0;g--)r[b+g]=r[x+g];if(d===0){A=!0;break}}if(r[S--]=o[_--],--m===1){A=!0;break}if(D=m-_u(r[y],o,0,m,m-1,t),D!==0){for(S-=D,_-=D,m-=D,b=S+1,x=_+1,g=0;g=da||D>=da);if(A)break;w<0&&(w=0),w+=2}if(e=w,e<1&&(e=1),m===1){for(S-=d,y-=d,b=S+1,x=y+1,g=d-1;g>=0;g--)r[b+g]=r[x+g];r[S]=o[_]}else{if(m===0)throw new Error;for(x=S-(m-1),g=0;gs&&(l=s),sd(r,e,e+l,e+a,t),a=l}o.pushRun(e,a),o.mergeRuns(),i-=a,e+=a}while(i!==0);o.forceMergeRuns()}}var _e=1,Va=2,Pi=4,ld=!1;function bu(){ld||(ld=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function ud(r,t){return r.zlevel===t.zlevel?r.z===t.z?r.z2-t.z2:r.z-t.z:r.zlevel-t.zlevel}var iw=(function(){function r(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=ud}return r.prototype.traverse=function(t,e){for(var n=0;n=0&&this._roots.splice(i,1)},r.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},r.prototype.getRoots=function(){return this._roots},r.prototype.dispose=function(){this._displayList=null,this._roots=null},r})(),Qs;Qs=ot.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};var Qa={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return .5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return r===0?0:Math.pow(1024,r-1)},exponentialOut:function(r){return r===1?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return r===0?0:r===1?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(-Math.pow(2,-10*(r-1))+2)},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var t,e=.1,n=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=n/4):t=n*Math.asin(1/e)/(2*Math.PI),-(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/n)))},elasticOut:function(r){var t,e=.1,n=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=n/4):t=n*Math.asin(1/e)/(2*Math.PI),e*Math.pow(2,-10*r)*Math.sin((r-t)*(2*Math.PI)/n)+1)},elasticInOut:function(r){var t,e=.1,n=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=n/4):t=n*Math.asin(1/e)/(2*Math.PI),(r*=2)<1?-.5*(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/n)):e*Math.pow(2,-10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/n)*.5+1)},backIn:function(r){var t=1.70158;return r*r*((t+1)*r-t)},backOut:function(r){var t=1.70158;return--r*r*((t+1)*r+t)+1},backInOut:function(r){var t=2.5949095;return(r*=2)<1?.5*(r*r*((t+1)*r-t)):.5*((r-=2)*r*((t+1)*r+t)+2)},bounceIn:function(r){return 1-Qa.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?Qa.bounceIn(r*2)*.5:Qa.bounceOut(r*2-1)*.5+.5}},Go=Math.pow,rn=Math.sqrt,Js=1e-8,$y=1e-4,fd=rn(3),Wo=1/3,ur=aa(),Le=aa(),Hi=aa();function qr(r){return r>-Js&&rJs||r<-Js}function Ut(r,t,e,n,i){var a=1-i;return a*a*(a*r+3*i*t)+i*i*(i*n+3*a*e)}function hd(r,t,e,n,i){var a=1-i;return 3*(((t-r)*a+2*(e-t)*i)*a+(n-e)*i*i)}function js(r,t,e,n,i,a){var o=n+3*(t-e)-r,s=3*(e-t*2+r),l=3*(t-r),u=r-i,f=s*s-3*o*l,h=s*l-9*o*u,c=l*l-3*s*u,v=0;if(qr(f)&&qr(h))if(qr(s))a[0]=0;else{var d=-l/s;d>=0&&d<=1&&(a[v++]=d)}else{var p=h*h-4*f*c;if(qr(p)){var m=h/f,d=-s/o+m,g=-m/2;d>=0&&d<=1&&(a[v++]=d),g>=0&&g<=1&&(a[v++]=g)}else if(p>0){var y=rn(p),_=f*s+1.5*o*(-h+y),S=f*s+1.5*o*(-h-y);_<0?_=-Go(-_,Wo):_=Go(_,Wo),S<0?S=-Go(-S,Wo):S=Go(S,Wo);var d=(-s-(_+S))/(3*o);d>=0&&d<=1&&(a[v++]=d)}else{var x=(2*f*s-3*o*h)/(2*rn(f*f*f)),b=Math.acos(x)/3,w=rn(f),T=Math.cos(b),d=(-s-2*w*T)/(3*o),g=(-s+w*(T+fd*Math.sin(b)))/(3*o),D=(-s+w*(T-fd*Math.sin(b)))/(3*o);d>=0&&d<=1&&(a[v++]=d),g>=0&&g<=1&&(a[v++]=g),D>=0&&D<=1&&(a[v++]=D)}}return v}function Xy(r,t,e,n,i){var a=6*e-12*t+6*r,o=9*t+3*n-3*r-9*e,s=3*t-3*r,l=0;if(qr(o)){if(Zy(a)){var u=-s/a;u>=0&&u<=1&&(i[l++]=u)}}else{var f=a*a-4*o*s;if(qr(f))i[0]=-a/(2*o);else if(f>0){var h=rn(f),u=(-a+h)/(2*o),c=(-a-h)/(2*o);u>=0&&u<=1&&(i[l++]=u),c>=0&&c<=1&&(i[l++]=c)}}return l}function tl(r,t,e,n,i,a){var o=(t-r)*i+r,s=(e-t)*i+t,l=(n-e)*i+e,u=(s-o)*i+o,f=(l-s)*i+s,h=(f-u)*i+u;a[0]=r,a[1]=o,a[2]=u,a[3]=h,a[4]=h,a[5]=f,a[6]=l,a[7]=n}function aw(r,t,e,n,i,a,o,s,l,u,f){var h,c=.005,v=1/0,d,p,m,g;ur[0]=l,ur[1]=u;for(var y=0;y<1;y+=.05)Le[0]=Ut(r,e,i,o,y),Le[1]=Ut(t,n,a,s,y),m=Fi(ur,Le),m=0&&m=0&&u<=1&&(i[l++]=u)}}else{var f=o*o-4*a*s;if(qr(f)){var u=-o/(2*a);u>=0&&u<=1&&(i[l++]=u)}else if(f>0){var h=rn(f),u=(-o+h)/(2*a),c=(-o-h)/(2*a);u>=0&&u<=1&&(i[l++]=u),c>=0&&c<=1&&(i[l++]=c)}}return l}function qy(r,t,e){var n=r+e-2*t;return n===0?.5:(r-t)/n}function el(r,t,e,n,i){var a=(t-r)*n+r,o=(e-t)*n+t,s=(o-a)*n+a;i[0]=r,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=e}function lw(r,t,e,n,i,a,o,s,l){var u,f=.005,h=1/0;ur[0]=o,ur[1]=s;for(var c=0;c<1;c+=.05){Le[0]=se(r,e,i,c),Le[1]=se(t,n,a,c);var v=Fi(ur,Le);v=0&&v=1?1:js(0,n,a,1,l,s)&&Ut(0,i,o,1,s[0])}}}var hw=(function(){function r(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Kt,this.ondestroy=t.ondestroy||Kt,this.onrestart=t.onrestart||Kt,t.easing&&this.setEasing(t.easing)}return r.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var n=this._life,i=t-this._startTime-this._pausedTime,a=i/n;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,s=o?o(a):a;if(this.onframe(s),a===1)if(this.loop){var l=i%n;this._startTime=t-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(t){this.easing=t,this.easingFunc=tt(t)?t:Qa[t]||Ky(t)},r})(),Qy=(function(){function r(t){this.value=t}return r})(),cw=(function(){function r(){this._len=0}return r.prototype.insert=function(t){var e=new Qy(t);return this.insertEntry(e),e},r.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},r.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r})(),Zi=(function(){function r(t){this._list=new cw,this._maxSize=10,this._map={},this._maxSize=t}return r.prototype.put=function(t,e){var n=this._list,i=this._map,a=null;if(i[t]==null){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete i[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new Qy(e),s.key=t,n.insertEntry(s),i[t]=s}return a},r.prototype.get=function(t){var e=this._map[t],n=this._list;if(e!=null)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r})(),vd={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function qe(r){return r=Math.round(r),r<0?0:r>255?255:r}function vw(r){return r=Math.round(r),r<0?0:r>360?360:r}function uo(r){return r<0?0:r>1?1:r}function xu(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?qe(parseFloat(t)/100*255):qe(parseInt(t,10))}function $n(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?uo(parseFloat(t)/100):uo(parseFloat(t))}function wu(r,t,e){return e<0?e+=1:e>1&&(e-=1),e*6<1?r+(t-r)*e*6:e*2<1?t:e*3<2?r+(t-r)*(2/3-e)*6:r}function Kr(r,t,e){return r+(t-r)*e}function Ce(r,t,e,n,i){return r[0]=t,r[1]=e,r[2]=n,r[3]=i,r}function rh(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r}var Jy=new Zi(20),Uo=null;function vi(r,t){Uo&&rh(Uo,t),Uo=Jy.put(r,Uo||t.slice())}function Be(r,t){if(r){t=t||[];var e=Jy.get(r);if(e)return rh(t,e);r=r+"";var n=r.replace(/ /g,"").toLowerCase();if(n in vd)return rh(t,vd[n]),vi(r,t),t;var i=n.length;if(n.charAt(0)==="#"){if(i===4||i===5){var a=parseInt(n.slice(1,4),16);if(!(a>=0&&a<=4095)){Ce(t,0,0,0,1);return}return Ce(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,i===5?parseInt(n.slice(4),16)/15:1),vi(r,t),t}else if(i===7||i===9){var a=parseInt(n.slice(1,7),16);if(!(a>=0&&a<=16777215)){Ce(t,0,0,0,1);return}return Ce(t,(a&16711680)>>16,(a&65280)>>8,a&255,i===9?parseInt(n.slice(7),16)/255:1),vi(r,t),t}return}var o=n.indexOf("("),s=n.indexOf(")");if(o!==-1&&s+1===i){var l=n.substr(0,o),u=n.substr(o+1,s-(o+1)).split(","),f=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?Ce(t,+u[0],+u[1],+u[2],1):Ce(t,0,0,0,1);f=$n(u.pop());case"rgb":if(u.length>=3)return Ce(t,xu(u[0]),xu(u[1]),xu(u[2]),u.length===3?f:$n(u[3])),vi(r,t),t;Ce(t,0,0,0,1);return;case"hsla":if(u.length!==4){Ce(t,0,0,0,1);return}return u[3]=$n(u[3]),nh(u,t),vi(r,t),t;case"hsl":if(u.length!==3){Ce(t,0,0,0,1);return}return nh(u,t),vi(r,t),t;default:return}}Ce(t,0,0,0,1)}}function nh(r,t){var e=(parseFloat(r[0])%360+360)%360/360,n=$n(r[1]),i=$n(r[2]),a=i<=.5?i*(n+1):i+n-i*n,o=i*2-a;return t=t||[],Ce(t,qe(wu(o,a,e+1/3)*255),qe(wu(o,a,e)*255),qe(wu(o,a,e-1/3)*255),1),r.length===4&&(t[3]=r[3]),t}function dw(r){if(r){var t=r[0]/255,e=r[1]/255,n=r[2]/255,i=Math.min(t,e,n),a=Math.max(t,e,n),o=a-i,s=(a+i)/2,l,u;if(o===0)l=0,u=0;else{s<.5?u=o/(a+i):u=o/(2-a-i);var f=((a-t)/6+o/2)/o,h=((a-e)/6+o/2)/o,c=((a-n)/6+o/2)/o;t===a?l=c-h:e===a?l=1/3+f-c:n===a&&(l=2/3+h-f),l<0&&(l+=1),l>1&&(l-=1)}var v=[l*360,u,s];return r[3]!=null&&v.push(r[3]),v}}function dd(r,t){var e=Be(r);if(e){for(var n=0;n<3;n++)e[n]=e[n]*(1-t)|0,e[n]>255?e[n]=255:e[n]<0&&(e[n]=0);return kr(e,e.length===4?"rgba":"rgb")}}function Tu(r,t,e){if(!(!(t&&t.length)||!(r>=0&&r<=1))){e=e||[];var n=r*(t.length-1),i=Math.floor(n),a=Math.ceil(n),o=t[i],s=t[a],l=n-i;return e[0]=qe(Kr(o[0],s[0],l)),e[1]=qe(Kr(o[1],s[1],l)),e[2]=qe(Kr(o[2],s[2],l)),e[3]=uo(Kr(o[3],s[3],l)),e}}function pw(r,t,e){if(!(!(t&&t.length)||!(r>=0&&r<=1))){var n=r*(t.length-1),i=Math.floor(n),a=Math.ceil(n),o=Be(t[i]),s=Be(t[a]),l=n-i,u=kr([qe(Kr(o[0],s[0],l)),qe(Kr(o[1],s[1],l)),qe(Kr(o[2],s[2],l)),uo(Kr(o[3],s[3],l))],"rgba");return e?{color:u,leftIndex:i,rightIndex:a,value:n}:u}}function Gi(r,t,e,n){var i=Be(r);if(r)return i=dw(i),t!=null&&(i[0]=vw(tt(t)?t(i[0]):t)),e!=null&&(i[1]=$n(tt(e)?e(i[1]):e)),n!=null&&(i[2]=$n(tt(n)?n(i[2]):n)),kr(nh(i),"rgba")}function gw(r,t){var e=Be(r);if(e&&t!=null)return e[3]=uo(t),kr(e,"rgba")}function kr(r,t){if(!(!r||!r.length)){var e=r[0]+","+r[1]+","+r[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(e+=","+r[3]),t+"("+e+")"}}function rl(r,t){var e=Be(r);return e?(.299*e[0]+.587*e[1]+.114*e[2])*e[3]/255+(1-e[3])*t:0}var pd=new Zi(100);function gd(r){if(Z(r)){var t=pd.get(r);return t||(t=dd(r,-.1),pd.put(r,t)),t}else if(Nl(r)){var e=z({},r);return e.colorStops=Y(r.colorStops,function(n){return{offset:n.offset,color:dd(n.color,-.1)}}),e}return r}function mw(r){return r.type==="linear"}function yw(r){return r.type==="radial"}(function(){return ot.hasGlobalWindow&&tt(window.btoa)?function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof Buffer<"u"?function(r){return Buffer.from(r).toString("base64")}:function(r){return null}})();var ih=Array.prototype.slice;function Dr(r,t,e){return(t-r)*e+r}function Cu(r,t,e,n){for(var i=t.length,a=0;an?t:r,a=Math.min(e,n),o=i[a-1]||{color:[0,0,0,0],offset:0},s=a;so;if(s)n.length=o;else for(var l=a;l=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,a=i.length,o=!1,s=yd,l=e;if(ce(e)){var u=xw(e);s=u,(u===1&&!bt(e[0])||u===2&&!bt(e[0][0]))&&(o=!0)}else if(bt(e)&&!en(e))s=$o;else if(Z(e))if(!isNaN(+e))s=$o;else{var f=Be(e);f&&(l=f,s=Fa)}else if(Nl(e)){var h=z({},l);h.colorStops=Y(e.colorStops,function(v){return{offset:v.offset,color:Be(v.color)}}),mw(e)?s=ah:yw(e)&&(s=oh),l=h}a===0?this.valType=s:(s!==this.valType||s===yd)&&(o=!0),this.discrete=this.discrete||o;var c={time:t,value:l,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=tt(n)?n:Qa[n]||Ky(n)),i.push(c),c},r.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(p,m){return p.time-m.time});for(var i=this.valType,a=n.length,o=n[a-1],s=this.discrete,l=Zo(i),u=_d(i),f=0;f=0&&!(o[f].percent<=e);f--);f=c(f,s-2)}else{for(f=h;fe);f++);f=c(f-1,s-2)}d=o[f+1],v=o[f]}if(v&&d){this._lastFr=f,this._lastFrP=e;var m=d.percent-v.percent,g=m===0?1:c((e-v.percent)/m,1);d.easingFunc&&(g=d.easingFunc(g));var y=n?this._additiveValue:u?pa:t[l];if((Zo(a)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)t[l]=g<1?v.rawValue:d.rawValue;else if(Zo(a))a===Ns?Cu(y,v[i],d[i],g):_w(y,v[i],d[i],g);else if(_d(a)){var _=v[i],S=d[i],x=a===ah;t[l]={type:x?"linear":"radial",x:Dr(_.x,S.x,g),y:Dr(_.y,S.y,g),colorStops:Y(_.colorStops,function(w,T){var D=S.colorStops[T];return{offset:Dr(w.offset,D.offset,g),color:Bs(Cu([],w.color,D.color,g))}}),global:S.global},x?(t[l].x2=Dr(_.x2,S.x2,g),t[l].y2=Dr(_.y2,S.y2,g)):t[l].r=Dr(_.r,S.r,g)}else if(u)Cu(y,v[i],d[i],g),n||(t[l]=Bs(y));else{var b=Dr(v[i],d[i],g);n?this._additiveValue=b:t[l]=b}n&&this._addToTarget(t)}}},r.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;e===$o?t[n]=t[n]+i:e===Fa?(Be(t[n],pa),Yo(pa,pa,i,1),t[n]=Bs(pa)):e===Ns?Yo(t[n],t[n],i,1):e===jy&&md(t[n],t[n],i,1)},r})(),Ic=(function(){function r(t,e,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i){Tc("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=n}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(t){this._target=t},r.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,Dt(e),n)},r.prototype.whenWithKeys=function(t,e,n,i){for(var a=this._tracks,o=0;o0&&l.addKeyframe(0,Os(u),i),this._trackKeys.push(s)}l.addKeyframe(t,Os(e[s]),i)}return this._maxTime=Math.max(this._maxTime,t),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,a=0;a1){var s=o.pop();a.addKeyframe(s.time,t[i]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},r})();function Bi(){return new Date().getTime()}var Tw=(function(r){O(t,r);function t(e){var n=r.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var n=e.getClip();n&&this.addClip(n)},t.prototype.removeClip=function(e){if(e.animation){var n=e.prev,i=e.next;n?n.next=i:this._head=i,i?i.prev=n:this._tail=n,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var n=e.getClip();n&&this.removeClip(n),e.animation=null},t.prototype.update=function(e){for(var n=Bi()-this._pausedTime,i=n-this._time,a=this._head;a;){var o=a.next,s=a.step(n,i);s&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=n,e||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0;function n(){e._running&&(Qs(n),!e._paused&&e.update())}Qs(n)},t.prototype.start=function(){this._running||(this._time=Bi(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Bi(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Bi()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var e=this._head;e;){var n=e.next;e.prev=e.next=e.animation=null,e=n}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(e,n){n=n||{},this.start();var i=new Ic(e,n.loop);return this.addAnimator(i),i},t})(He),Cw=300,Mu=ot.domSupported,Du=(function(){var r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],e={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=Y(r,function(i){var a=i.replace("mouse","pointer");return e.hasOwnProperty(a)?a:i});return{mouse:r,touch:t,pointer:n}})(),Sd={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},bd=!1;function sh(r){var t=r.pointerType;return t==="pen"||t==="touch"}function Mw(r){r.touching=!0,r.touchTimer!=null&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)}function Au(r){r&&(r.zrByTouch=!0)}function Dw(r,t){return Me(r.dom,new Aw(r,t),!0)}function t0(r,t){for(var e=t,n=!1;e&&e.nodeType!==9&&!(n=e.domBelongToZr||e!==t&&e===r.painterRoot);)e=e.parentNode;return n}var Aw=(function(){function r(t,e){this.stopPropagation=Kt,this.stopImmediatePropagation=Kt,this.preventDefault=Kt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return r})(),Ye={mousedown:function(r){r=Me(this.dom,r),this.__mayPointerCapture=[r.zrX,r.zrY],this.trigger("mousedown",r)},mousemove:function(r){r=Me(this.dom,r);var t=this.__mayPointerCapture;t&&(r.zrX!==t[0]||r.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",r)},mouseup:function(r){r=Me(this.dom,r),this.__togglePointerCapture(!1),this.trigger("mouseup",r)},mouseout:function(r){r=Me(this.dom,r);var t=r.toElement||r.relatedTarget;t0(this,t)||(this.__pointerCapturing&&(r.zrEventControl="no_globalout"),this.trigger("mouseout",r))},wheel:function(r){bd=!0,r=Me(this.dom,r),this.trigger("mousewheel",r)},mousewheel:function(r){bd||(r=Me(this.dom,r),this.trigger("mousewheel",r))},touchstart:function(r){r=Me(this.dom,r),Au(r),this.__lastTouchMoment=new Date,this.handler.processGesture(r,"start"),Ye.mousemove.call(this,r),Ye.mousedown.call(this,r)},touchmove:function(r){r=Me(this.dom,r),Au(r),this.handler.processGesture(r,"change"),Ye.mousemove.call(this,r)},touchend:function(r){r=Me(this.dom,r),Au(r),this.handler.processGesture(r,"end"),Ye.mouseup.call(this,r),+new Date-+this.__lastTouchMomentTd||r<-Td}var _n=[],di=[],Iu=Rr(),Pu=Math.abs,Pc=(function(){function r(){}return r.prototype.getLocalTransform=function(t){return r.getLocalTransform(this,t)},r.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},r.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},r.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},r.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},r.prototype.needLocalTransform=function(){return yn(this.rotation)||yn(this.x)||yn(this.y)||yn(this.scaleX-1)||yn(this.scaleY-1)||yn(this.skewX)||yn(this.skewY)},r.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;if(!(e||t)){n&&(wd(n),this.invTransform=null);return}n=n||Rr(),e?this.getLocalTransform(n):wd(n),t&&(e?qa(n,t,n):Fy(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},r.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(e!=null&&e!==1){this.getGlobalScale(_n);var n=_n[0]<0?-1:1,i=_n[1]<0?-1:1,a=((_n[0]-n)*e+n)/_n[0]||0,o=((_n[1]-i)*e+i)/_n[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||Rr(),Ro(this.invTransform,t)},r.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},r.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),a=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(a),e=Math.sqrt(e),this.skewX=a,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},r.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||Rr(),qa(di,t.invTransform,e),e=di);var n=this.originX,i=this.originY;(n||i)&&(Iu[4]=n,Iu[5]=i,qa(di,e,Iu),di[4]-=n,di[5]-=i,e=di),this.setLocalTransform(e)}},r.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},r.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&Oe(n,n,i),n},r.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&Oe(n,n,i),n},r.prototype.getLineScale=function(){var t=this.transform;return t&&Pu(t[0]-1)>1e-10&&Pu(t[3]-1)>1e-10?Math.sqrt(Pu(t[0]*t[3]-t[2]*t[1])):1},r.prototype.copyTransform=function(t){ch(this,t)},r.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,f=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,v=t.skewY?Math.tan(-t.skewY):0;if(n||i||s||l){var d=n+s,p=i+l;e[4]=-d*a-c*p*o,e[5]=-p*o-v*d*a}else e[4]=e[5]=0;return e[0]=a,e[3]=o,e[1]=v*a,e[2]=c*o,u&&Lc(e,e,u),e[4]+=n+f,e[5]+=i+h,e},r.initDefaultProps=(function(){var t=r.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0})(),r})(),fo=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function ch(r,t){for(var e=0;e=Cd)){r=r||sn;for(var t=[],e=+new Date,n=0;n<=127;n++)t[n]=Qe.measureText(String.fromCharCode(n),r).width;var i=+new Date-e;return i>16?Ru=Cd:i>2&&Ru++,t}}var Ru=0,Cd=5;function r0(r,t){return r.asciiWidthMapTried||(r.asciiWidthMap=kw(r.font),r.asciiWidthMapTried=!0),0<=t&&t<=127?r.asciiWidthMap!=null?r.asciiWidthMap[t]:r.asciiCharWidth:r.stWideCharWidth}function pr(r,t){var e=r.strWidthCache,n=e.get(t);return n==null&&(n=Qe.measureText(t,r.font).width,e.put(t,n)),n}function Md(r,t,e,n){var i=pr(dr(t),r),a=Vl(t),o=Xi(0,i,e),s=Zn(0,a,n),l=new st(o,s,i,a);return l}function Rc(r,t,e,n){var i=((r||"")+"").split(` -`),a=i.length;if(a===1)return Md(i[0],t,e,n);for(var o=new st(0,0,0,0),s=0;s=0?parseFloat(r)/100*t:parseFloat(r):r}function il(r,t,e){var n=t.position||"inside",i=t.distance!=null?t.distance:5,a=e.height,o=e.width,s=a/2,l=e.x,u=e.y,f="left",h="top";if(n instanceof Array)l+=mr(n[0],e.width),u+=mr(n[1],e.height),f=null,h=null;else switch(n){case"left":l-=i,u+=s,f="right",h="middle";break;case"right":l+=i+o,u+=s,h="middle";break;case"top":l+=o/2,u-=i,f="center",h="bottom";break;case"bottom":l+=o/2,u+=a+i,f="center";break;case"inside":l+=o/2,u+=s,f="center",h="middle";break;case"insideLeft":l+=i,u+=s,h="middle";break;case"insideRight":l+=o-i,u+=s,f="right",h="middle";break;case"insideTop":l+=o/2,u+=i,f="center";break;case"insideBottom":l+=o/2,u+=a-i,f="center",h="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=o-i,u+=i,f="right";break;case"insideBottomLeft":l+=i,u+=a-i,h="bottom";break;case"insideBottomRight":l+=o-i,u+=a-i,f="right",h="bottom";break}return r=r||{},r.x=l,r.y=u,r.align=f,r.verticalAlign=h,r}var ku="__zr_normal__",Eu=fo.concat(["ignore"]),Ew=ln(fo,function(r,t){return r[t]=!0,r},{ignore:!1}),pi={},Ow=new st(0,0,0,0),qo=[],Fl=(function(){function r(t){this.id=Oy(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return r.prototype._init=function(t){this.attr(t)},r.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},r.prototype.beforeUpdate=function(){},r.prototype.afterUpdate=function(){},r.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},r.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=e.innerTransformable,o=void 0,s=void 0,l=!1;a.parent=i?this:null;var u=!1;a.copyTransform(e);var f=n.position!=null,h=n.autoOverflowArea,c=void 0;if((h||f)&&(c=Ow,n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform)),f){this.calculateTextPosition?this.calculateTextPosition(pi,n,c):il(pi,n,c),a.x=pi.x,a.y=pi.y,o=pi.align,s=pi.verticalAlign;var v=n.origin;if(v&&n.rotation!=null){var d=void 0,p=void 0;v==="center"?(d=c.width*.5,p=c.height*.5):(d=mr(v[0],c.width),p=mr(v[1],c.height)),u=!0,a.originX=-a.x+d+(i?0:c.x),a.originY=-a.y+p+(i?0:c.y)}}n.rotation!=null&&(a.rotation=n.rotation);var m=n.offset;m&&(a.x+=m[0],a.y+=m[1],u||(a.originX=-m[0],a.originY=-m[1]));var g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(h){var y=g.overflowRect=g.overflowRect||new st(0,0,0,0);a.getLocalTransform(qo),Ro(qo,qo),st.copy(y,c),y.applyTransform(qo)}else g.overflowRect=null;var _=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,S=void 0,x=void 0,b=void 0;_&&this.canBeInsideText()?(S=n.insideFill,x=n.insideStroke,(S==null||S==="auto")&&(S=this.getInsideTextFill()),(x==null||x==="auto")&&(x=this.getInsideTextStroke(S),b=!0)):(S=n.outsideFill,x=n.outsideStroke,(S==null||S==="auto")&&(S=this.getOutsideFill()),(x==null||x==="auto")&&(x=this.getOutsideStroke(S),b=!0)),S=S||"#000",(S!==g.fill||x!==g.stroke||b!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=S,g.stroke=x,g.autoStroke=b,g.align=o,g.verticalAlign=s,e.setDefaultTextStyle(g)),e.__dirty|=_e,l&&e.dirtyStyle(!0)}},r.prototype.canBeInsideText=function(){return!0},r.prototype.getInsideTextFill=function(){return"#fff"},r.prototype.getInsideTextStroke=function(t){return"#000"},r.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?hh:fh},r.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n=typeof e=="string"&&Be(e);n||(n=[255,255,255,1]);for(var i=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(a?0:255)*(1-i);return n[3]=1,kr(n,"rgba")},r.prototype.traverse=function(t,e){},r.prototype.attrKV=function(t,e){t==="textConfig"?this.setTextConfig(e):t==="textContent"?this.setTextContent(e):t==="clipPath"?this.setClipPath(e):t==="extra"?(this.extra=this.extra||{},z(this.extra,e)):this[t]=e},r.prototype.hide=function(){this.ignore=!0,this.markRedraw()},r.prototype.show=function(){this.ignore=!1,this.markRedraw()},r.prototype.attr=function(t,e){if(typeof t=="string")this.attrKV(t,e);else if(X(t))for(var n=t,i=Dt(n),a=0;a0},r.prototype.getState=function(t){return this.states[t]},r.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},r.prototype.clearStates=function(t){this.useState(ku,!1,t)},r.prototype.useState=function(t,e,n,i){var a=t===ku,o=this.hasState();if(!(!o&&a)){var s=this.currentStates,l=this.stateTransition;if(!(ht(s,t)>=0&&(e||s.length===1))){var u;if(this.stateProxy&&!a&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!a){Tc("State "+t+" not exists.");return}a||this.saveCurrentToNormalState(u);var f=!!(u&&u.hoverLayer||i);f&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,e,!n&&!this.__inHover&&l&&l.duration>0,l);var h=this._textContent,c=this._textGuide;return h&&h.useState(t,e,n,f),c&&c.useState(t,e,n,f),a?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~_e),u}}},r.prototype.useStates=function(t,e,n){if(!t.length)this.clearStates();else{var i=[],a=this.currentStates,o=t.length,s=o===a.length;if(s){for(var l=0;l0,d);var p=this._textContent,m=this._textGuide;p&&p.useStates(t,e,c),m&&m.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~_e)}},r.prototype.isSilent=function(){for(var t=this;t;){if(t.silent)return!0;var e=t.__hostTarget;t=e?t.ignoreHostSilent?null:e:t.parent}return!1},r.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},r.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),a=ht(i,t),o=ht(i,e)>=0;a>=0?o?i.splice(a,1):i[a]=e:n&&!o&&i.push(e),this.useStates(i)},r.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},r.prototype._mergeStates=function(t){for(var e={},n,i=0;i=0&&a.splice(o,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},r.prototype.updateDuringAnimation=function(t){this.markRedraw()},r.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,a=[],o=0;o0&&e.during&&a[0].during(function(d,p){e.during(p)});for(var c=0;c0||i.force&&!o.length){var T=void 0,D=void 0,A=void 0;if(s){D={},c&&(T={});for(var S=0;S<_;S++){var g=p[S];D[g]=e[g],c?T[g]=n[g]:e[g]=n[g]}}else if(c){A={};for(var S=0;S<_;S++){var g=p[S];A[g]=Os(e[g]),Nw(e,n,g)}}var x=new Ic(e,!1,!1,h?Ot(d,function(I){return I.targetName===t}):null);x.targetName=t,i.scope&&(x.scope=i.scope),c&&T&&x.whenWithKeys(0,T,p),A&&x.whenWithKeys(0,A,p),x.whenWithKeys(u??500,s?D:n,p).delay(f||0),r.addAnimator(x,t),o.push(x)}}var xt=(function(r){O(t,r);function t(e){var n=r.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var n=this._children,i=0;i=0&&(i.splice(a,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,n){var i=ht(this._children,e);return i>=0&&this.replaceAt(n,i),this},t.prototype.replaceAt=function(e,n){var i=this._children,a=i[n];if(e&&e!==this&&e.parent!==this&&e!==a){i[n]=e,a.parent=null;var o=this.__zr;o&&a.removeSelfFromZr(o),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var n=this.__zr;n&&n!==e.__zr&&e.addSelfToZr(n),n&&n.refresh()},t.prototype.remove=function(e){var n=this.__zr,i=this._children,a=ht(i,e);return a<0?this:(i.splice(a,1),e.parent=null,n&&e.removeSelfFromZr(n),n&&n.refresh(),this)},t.prototype.removeAll=function(){for(var e=this._children,n=this.__zr,i=0;i0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},r.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},r.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},r.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},r.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},r.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},r.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},r.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},r.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},r.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},r.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},r.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e0){if(r<=i)return o;if(r>=a)return s}else{if(r>=i)return o;if(r<=a)return s}else{if(r===i)return o;if(r===a)return s}return(r-i)/l*u+o}var Mt=Yw;function Yw(r,t,e){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return vh(r,t,e)}function vh(r,t,e){return Z(r)?Uw(r).match(/%$/)?parseFloat(r)/100*t+(e||0):parseFloat(r):r==null?NaN:+r}function Yt(r,t,e){return t==null&&(t=10),t=Math.min(Math.max(0,t),a0),r=(+r).toFixed(t),e?r:+r}function Hn(r){return r.sort(function(t,e){return t-e}),r}function Lr(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var t=1,e=0;e<15;e++,t*=10)if(Math.round(r*t)/t===r)return e}return $w(r)}function $w(r){var t=r.toString().toLowerCase(),e=t.indexOf("e"),n=e>0?+t.slice(e+1):0,i=e>0?e:t.length,a=t.indexOf("."),o=a<0?0:i-1-a;return Math.max(0,o-n)}function o0(r,t){var e=Math.log,n=Math.LN10,i=Math.floor(e(r[1]-r[0])/n),a=Math.round(e(cr(t[1]-t[0]))/n),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function Zw(r,t){var e=ln(r,function(v,d){return v+(isNaN(d)?0:d)},0);if(e===0)return[];for(var n=Math.pow(10,t),i=Y(r,function(v){return(isNaN(v)?0:v)/e*n*100}),a=n*100,o=Y(i,function(v){return Math.floor(v)}),s=ln(o,function(v,d){return v+d},0),l=Y(i,function(v,d){return v-o[d]});su&&(u=l[h],f=h);++o[f],l[f]=0,++s}return Y(o,function(v){return v/n})}function Xw(r,t){var e=Math.max(Lr(r),Lr(t)),n=r+t;return e>a0?n:Yt(n,e)}function s0(r){var t=Math.PI*2;return(r%t+t)%t}function al(r){return r>-Ad&&r=10&&t++,t}function l0(r,t){var e=kc(r),n=Math.pow(10,e),i=r/n,a;return i<1.5?a=1:i<2.5?a=2:i<4?a=3:i<7?a=5:a=10,r=a*n,e>=-20?+r.toFixed(e<0?-e:0):r}function Ld(r){r.sort(function(l,u){return s(l,u,0)?-1:1});for(var t=-1/0,e=1,n=0;n=0||a&&ht(a,l)<0)){var u=n.getShallow(l,t);u!=null&&(o[r[s][0]]=u)}}return o}}var MT=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],DT=vo(MT),AT=(function(){function r(){}return r.prototype.getAreaStyle=function(t,e){return DT(this,t,e)},r})(),ph=new Zi(50);function LT(r){if(typeof r=="string"){var t=ph.get(r);return t&&t.image}else return r}function y0(r,t,e,n,i){if(r)if(typeof r=="string"){if(t&&t.__zrImageSrc===r||!e)return t;var a=ph.get(r),o={hostEl:e,cb:n,cbPayload:i};return a?(t=a.image,!Gl(t)&&a.pending.push(o)):(t=Qe.loadImage(r,kd,kd),t.__zrImageSrc=r,ph.put(r,t.__cachedImgObj={image:t,pending:[o]})),t}else return r;else return t}function kd(){var r=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=s;u++)l-=s;var f=pr(o,e);return f>l&&(e="",f=0),l=r-f,i.ellipsis=e,i.ellipsisWidth=f,i.contentWidth=l,i.containerWidth=r,i}function S0(r,t,e){var n=e.containerWidth,i=e.contentWidth,a=e.fontMeasureInfo;if(!n){r.textLine="",r.isTruncated=!1;return}var o=pr(a,t);if(o<=n){r.textLine=t,r.isTruncated=!1;return}for(var s=0;;s++){if(o<=i||s>=e.maxIterations){t+=e.ellipsis;break}var l=s===0?PT(t,i,a):o>0?Math.floor(t.length*i/o):0;t=t.substr(0,l),o=pr(a,t)}t===""&&(t=e.placeholder),r.textLine=t,r.isTruncated=!0}function PT(r,t,e){for(var n=0,i=0,a=r.length;im&&v){var _=Math.floor(m/c);d=d||g.length>_,g=g.slice(0,_),y=g.length*c}if(i&&f&&p!=null)for(var S=_0(p,u,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),x={},b=0;bd&&zu(a,o.substring(d,m),t,v),zu(a,p[2],t,v,p[1]),d=Nu.lastIndex}dh){var N=a.lines.length;I>0?(D.tokens=D.tokens.slice(0,I),w(D,M,A),a.lines=a.lines.slice(0,T+1)):a.lines=a.lines.slice(0,T),a.isTruncated=a.isTruncated||a.lines.length0&&d+n.accumWidth>n.width&&(f=t.split(` -`),u=!0),n.accumWidth=d}else{var p=b0(t,l,n.width,n.breakAll,n.accumWidth);n.accumWidth=p.accumWidth+v,h=p.linesWidths,f=p.lines}}f||(f=t.split(` -`));for(var m=dr(l),g=0;g=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var NT=ln(",&?/;] ".split(""),function(r,t){return r[t]=!0,r},{});function zT(r){return BT(r)?!!NT[r]:!0}function b0(r,t,e,n,i){for(var a=[],o=[],s="",l="",u=0,f=0,h=dr(t),c=0;ce:i+f+d>e){f?(s||l)&&(p?(s||(s=l,l="",u=0,f=u),a.push(s),o.push(f-u),l+=v,u+=d,s="",f=u):(l&&(s+=l,l="",u=0),a.push(s),o.push(f),s=v,f=d)):p?(a.push(l),o.push(u),l=v,u=d):(a.push(v),o.push(d));continue}f+=d,p?(l+=v,u+=d):(l&&(s+=l,l="",u=0),s+=v)}return l&&(s+=l),s&&(a.push(s),o.push(f)),a.length===1&&(f+=i),{accumWidth:f,lines:a,linesWidths:o}}function Od(r,t,e,n,i,a){if(r.baseX=e,r.baseY=n,r.outerWidth=r.outerHeight=null,!!t){var o=t.width*2,s=t.height*2;st.set(Bd,Xi(e,o,i),Zn(n,s,a),o,s),st.intersect(t,Bd,null,Nd);var l=Nd.outIntersectRect;r.outerWidth=l.width,r.outerHeight=l.height,r.baseX=Xi(l.x,l.width,i,!0),r.baseY=Zn(l.y,l.height,a,!0)}}var Bd=new st(0,0,0,0),Nd={outIntersectRect:{},clamp:!0};function Nc(r){return r!=null?r+="":r=""}function VT(r){var t=Nc(r.text),e=r.font,n=pr(dr(e),t),i=Vl(e);return gh(r,n,i,null)}function gh(r,t,e,n){var i=new st(Xi(r.x||0,t,r.textAlign),Zn(r.y||0,e,r.textBaseline),t,e),a=n??(x0(r)?r.lineWidth:0);return a>0&&(i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a),i}function x0(r){var t=r.stroke;return t!=null&&t!=="none"&&r.lineWidth>0}var mh="__zr_style_"+Math.round(Math.random()*10),Xn={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Wl={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Xn[mh]=!0;var zd=["z","z2","invisible"],FT=["invisible"],Eo=(function(r){O(t,r);function t(e){return r.call(this,e)||this}return t.prototype._init=function(e){for(var n=Dt(e),i=0;i1e-4){s[0]=r-e,s[1]=t-n,l[0]=r+e,l[1]=t+n;return}if(Ko[0]=Gu(i)*e+r,Ko[1]=Hu(i)*n+t,Qo[0]=Gu(a)*e+r,Qo[1]=Hu(a)*n+t,u(s,Ko,Qo),f(l,Ko,Qo),i=i%bn,i<0&&(i=i+bn),a=a%bn,a<0&&(a=a+bn),i>a&&!o?a+=bn:ii&&(Jo[0]=Gu(v)*e+r,Jo[1]=Hu(v)*n+t,u(s,Jo,s),f(l,Jo,l))}var yt={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},xn=[],wn=[],nr=[],Nr=[],ir=[],ar=[],Wu=Math.min,Uu=Math.max,Tn=Math.cos,Cn=Math.sin,xr=Math.abs,yh=Math.PI,$r=yh*2,Yu=typeof Float32Array<"u",ga=[];function $u(r){var t=Math.round(r/yh*1e8)/1e8;return t%2*yh}function w0(r,t){var e=$u(r[0]);e<0&&(e+=$r);var n=e-r[0],i=r[1];i+=n,!t&&i-e>=$r?i=e+$r:t&&e-i>=$r?i=e-$r:!t&&e>i?i=e+($r-$u(e-i)):t&&e0&&(this._ux=xr(n/nl/t)||0,this._uy=xr(n/nl/e)||0)},r.prototype.setDPR=function(t){this.dpr=t},r.prototype.setContext=function(t){this._ctx=t},r.prototype.getContext=function(){return this._ctx},r.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},r.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},r.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(yt.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},r.prototype.lineTo=function(t,e){var n=xr(t-this._xi),i=xr(e-this._yi),a=n>this._ux||i>this._uy;if(this.addData(yt.L,t,e),this._ctx&&a&&this._ctx.lineTo(t,e),a)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},r.prototype.bezierCurveTo=function(t,e,n,i,a,o){return this._drawPendingPt(),this.addData(yt.C,t,e,n,i,a,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,a,o),this._xi=a,this._yi=o,this},r.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(yt.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},r.prototype.arc=function(t,e,n,i,a,o){this._drawPendingPt(),ga[0]=i,ga[1]=a,w0(ga,o),i=ga[0],a=ga[1];var s=a-i;return this.addData(yt.A,t,e,n,n,i,s,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,a,o),this._xi=Tn(a)*n+t,this._yi=Cn(a)*n+e,this},r.prototype.arcTo=function(t,e,n,i,a){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,a),this},r.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(yt.R,t,e,n,i),this},r.prototype.closePath=function(){this._drawPendingPt(),this.addData(yt.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},r.prototype.fill=function(t){t&&t.fill(),this.toStatic()},r.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},r.prototype.len=function(){return this._len},r.prototype.setData=function(t){if(this._saveData){var e=t.length;!(this.data&&this.data.length===e)&&Yu&&(this.data=new Float32Array(e));for(var n=0;n0&&o))for(var s=0;sf.length&&(this._expandData(),f=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},r.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},r.prototype.getBoundingRect=function(){nr[0]=nr[1]=ir[0]=ir[1]=Number.MAX_VALUE,Nr[0]=Nr[1]=ar[0]=ar[1]=-Number.MAX_VALUE;var t=this.data,e=0,n=0,i=0,a=0,o;for(o=0;on||xr(_)>i||c===e-1)&&(p=Math.sqrt(y*y+_*_),a=m,o=g);break}case yt.C:{var S=t[c++],x=t[c++],m=t[c++],g=t[c++],b=t[c++],w=t[c++];p=ow(a,o,S,x,m,g,b,w,10),a=b,o=w;break}case yt.Q:{var S=t[c++],x=t[c++],m=t[c++],g=t[c++];p=uw(a,o,S,x,m,g,10),a=m,o=g;break}case yt.A:var T=t[c++],D=t[c++],A=t[c++],M=t[c++],I=t[c++],L=t[c++],P=L+I;c+=1,d&&(s=Tn(I)*A+T,l=Cn(I)*M+D),p=Uu(A,M)*Wu($r,Math.abs(L)),a=Tn(P)*A+T,o=Cn(P)*M+D;break;case yt.R:{s=a=t[c++],l=o=t[c++];var R=t[c++],k=t[c++];p=R*2+k*2;break}case yt.Z:{var y=s-a,_=l-o;p=Math.sqrt(y*y+_*_),a=s,o=l;break}}p>=0&&(u[h++]=p,f+=p)}return this._pathLen=f,f},r.prototype.rebuildPath=function(t,e){var n=this.data,i=this._ux,a=this._uy,o=this._len,s,l,u,f,h,c,v=e<1,d,p,m=0,g=0,y,_=0,S,x;if(!(v&&(this._pathSegLen||this._calculateLength(),d=this._pathSegLen,p=this._pathLen,y=e*p,!y)))t:for(var b=0;b0&&(t.lineTo(S,x),_=0),w){case yt.M:s=u=n[b++],l=f=n[b++],t.moveTo(u,f);break;case yt.L:{h=n[b++],c=n[b++];var D=xr(h-u),A=xr(c-f);if(D>i||A>a){if(v){var M=d[g++];if(m+M>y){var I=(y-m)/M;t.lineTo(u*(1-I)+h*I,f*(1-I)+c*I);break t}m+=M}t.lineTo(h,c),u=h,f=c,_=0}else{var L=D*D+A*A;L>_&&(S=h,x=c,_=L)}break}case yt.C:{var P=n[b++],R=n[b++],k=n[b++],W=n[b++],E=n[b++],N=n[b++];if(v){var M=d[g++];if(m+M>y){var I=(y-m)/M;tl(u,P,k,E,I,xn),tl(f,R,W,N,I,wn),t.bezierCurveTo(xn[1],wn[1],xn[2],wn[2],xn[3],wn[3]);break t}m+=M}t.bezierCurveTo(P,R,k,W,E,N),u=E,f=N;break}case yt.Q:{var P=n[b++],R=n[b++],k=n[b++],W=n[b++];if(v){var M=d[g++];if(m+M>y){var I=(y-m)/M;el(u,P,k,I,xn),el(f,R,W,I,wn),t.quadraticCurveTo(xn[1],wn[1],xn[2],wn[2]);break t}m+=M}t.quadraticCurveTo(P,R,k,W),u=k,f=W;break}case yt.A:var F=n[b++],H=n[b++],V=n[b++],K=n[b++],ft=n[b++],St=n[b++],Ft=n[b++],te=!n[b++],$t=V>K?V:K,Ht=xr(V-K)>.001,Rt=ft+St,it=!1;if(v){var M=d[g++];m+M>y&&(Rt=ft+St*(y-m)/M,it=!0),m+=M}if(Ht&&t.ellipse?t.ellipse(F,H,V,K,Ft,ft,Rt,te):t.arc(F,H,$t,ft,Rt,te),it)break t;T&&(s=Tn(ft)*V+F,l=Cn(ft)*K+H),u=Tn(Rt)*V+F,f=Cn(Rt)*K+H;break;case yt.R:s=u=n[b],l=f=n[b+1],h=n[b++],c=n[b++];var ct=n[b++],rr=n[b++];if(v){var M=d[g++];if(m+M>y){var Bt=y-m;t.moveTo(h,c),t.lineTo(h+Wu(Bt,ct),c),Bt-=ct,Bt>0&&t.lineTo(h+ct,c+Wu(Bt,rr)),Bt-=rr,Bt>0&&t.lineTo(h+Uu(ct-Bt,0),c+rr),Bt-=ct,Bt>0&&t.lineTo(h,c+Uu(rr-Bt,0));break t}m+=M}t.rect(h,c,ct,rr);break;case yt.Z:if(v){var M=d[g++];if(m+M>y){var I=(y-m)/M;t.lineTo(u*(1-I)+s*I,f*(1-I)+l*I);break t}m+=M}t.closePath(),u=s,f=l}}},r.prototype.clone=function(){var t=new r,e=this.data;return t.data=e.slice?e.slice():Array.prototype.slice.call(e),t._len=this._len,t},r.prototype.canSave=function(){return!!this._saveData},r.CMD=yt,r.initDefaultProps=(function(){var t=r.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0})(),r})();function gi(r,t,e,n,i,a,o){if(i===0)return!1;var s=i,l=0,u=r;if(o>t+s&&o>n+s||or+s&&a>e+s||at+h&&f>n+h&&f>a+h&&f>s+h||fr+h&&u>e+h&&u>i+h&&u>o+h||ut+u&&l>n+u&&l>a+u||lr+u&&s>e+u&&s>i+u||se||f+ui&&(i+=ma);var c=Math.atan2(l,s);return c<0&&(c+=ma),c>=n&&c<=i||c+ma>=n&&c+ma<=i}function Mn(r,t,e,n,i,a){if(a>t&&a>n||ai?s:0}var zr=ei.CMD,Dn=Math.PI*2,XT=1e-4;function qT(r,t){return Math.abs(r-t)t&&u>n&&u>a&&u>s||u1&&KT(),v=Ut(t,n,a,s,Ae[0]),c>1&&(d=Ut(t,n,a,s,Ae[1]))),c===2?mt&&s>n&&s>a||s=0&&u<=1){for(var f=0,h=se(t,n,a,u),c=0;ce||s<-e)return 0;var l=Math.sqrt(e*e-s*s);ee[0]=-l,ee[1]=l;var u=Math.abs(n-i);if(u<1e-4)return 0;if(u>=Dn-1e-4){n=0,i=Dn;var f=a?1:-1;return o>=ee[0]+r&&o<=ee[1]+r?f:0}if(n>i){var h=n;n=i,i=h}n<0&&(n+=Dn,i+=Dn);for(var c=0,v=0;v<2;v++){var d=ee[v];if(d+r>o){var p=Math.atan2(s,d),f=a?1:-1;p<0&&(p=Dn+p),(p>=n&&p<=i||p+Dn>=n&&p+Dn<=i)&&(p>Math.PI/2&&p1&&(e||(s+=Mn(l,u,f,h,n,i))),m&&(l=a[d],u=a[d+1],f=l,h=u),p){case zr.M:f=a[d++],h=a[d++],l=f,u=h;break;case zr.L:if(e){if(gi(l,u,a[d],a[d+1],t,n,i))return!0}else s+=Mn(l,u,a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case zr.C:if(e){if(YT(l,u,a[d++],a[d++],a[d++],a[d++],a[d],a[d+1],t,n,i))return!0}else s+=QT(l,u,a[d++],a[d++],a[d++],a[d++],a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case zr.Q:if(e){if($T(l,u,a[d++],a[d++],a[d],a[d+1],t,n,i))return!0}else s+=JT(l,u,a[d++],a[d++],a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case zr.A:var g=a[d++],y=a[d++],_=a[d++],S=a[d++],x=a[d++],b=a[d++];d+=1;var w=!!(1-a[d++]);c=Math.cos(x)*_+g,v=Math.sin(x)*S+y,m?(f=c,h=v):s+=Mn(l,u,c,v,n,i);var T=(n-g)*S/_+g;if(e){if(ZT(g,y,S,x,x+b,w,t,T,i))return!0}else s+=jT(g,y,S,x,x+b,w,T,i);l=Math.cos(x+b)*_+g,u=Math.sin(x+b)*S+y;break;case zr.R:f=l=a[d++],h=u=a[d++];var D=a[d++],A=a[d++];if(c=f+D,v=h+A,e){if(gi(f,h,c,h,t,n,i)||gi(c,h,c,v,t,n,i)||gi(c,v,f,v,t,n,i)||gi(f,v,f,h,t,n,i))return!0}else s+=Mn(c,h,c,v,n,i),s+=Mn(f,v,f,h,n,i);break;case zr.Z:if(e){if(gi(l,u,f,h,t,n,i))return!0}else s+=Mn(l,u,f,h,n,i);l=f,u=h;break}}return!e&&!qT(u,h)&&(s+=Mn(l,u,f,h,n,i)||0),s!==0}function tC(r,t,e){return T0(r,0,!1,t,e)}function eC(r,t,e,n){return T0(r,t,!0,e,n)}var C0=dt({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Xn),rC={style:dt({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Wl.style)},Zu=fo.concat(["invisible","culling","z","z2","zlevel","parent"]),_t=(function(r){O(t,r);function t(e){return r.call(this,e)||this}return t.prototype.update=function(){var e=this;r.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(l){e.buildPath(l,e.shape)}),i.silent=!0;var a=i.style;for(var o in n)a[o]!==n[o]&&(a[o]=n[o]);a.fill=n.fill?n.decal:null,a.decal=null,a.shadowColor=null,n.strokeFirst&&(a.stroke=null);for(var s=0;s.5?fh:n>.2?Rw:hh}else if(e)return hh}return fh},t.prototype.getInsideTextStroke=function(e){var n=this.style.fill;if(Z(n)){var i=this.__zr,a=!!(i&&i.isDarkMode()),o=rl(e,0)0))},t.prototype.hasFill=function(){var e=this.style,n=e.fill;return n!=null&&n!=="none"},t.prototype.getBoundingRect=function(){var e=this._rect,n=this.style,i=!e;if(i){var a=!1;this.path||(a=!0,this.createPathProxy());var o=this.path;(a||this.__dirty&Pi)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),e=o.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||i){s.copy(e);var l=n.strokeNoScale?this.getLineScale():1,u=n.lineWidth;if(!this.hasFill()){var f=this.strokeContainThreshold;u=Math.max(u,f??4)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return e},t.prototype.contain=function(e,n){var i=this.transformCoordToLocal(e,n),a=this.getBoundingRect(),o=this.style;if(e=i[0],n=i[1],a.contain(e,n)){var s=this.path;if(this.hasStroke()){var l=o.lineWidth,u=o.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),eC(s,l/u,e,n)))return!0}if(this.hasFill())return tC(s,e,n)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=Pi,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){e==="style"?this.dirtyStyle():e==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(e,n){e==="shape"?this.setShape(n):r.prototype.attrKV.call(this,e,n)},t.prototype.setShape=function(e,n){var i=this.shape;return i||(i=this.shape={}),typeof e=="string"?i[e]=n:z(i,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&Pi)},t.prototype.createStyle=function(e){return zl(C0,e)},t.prototype._innerSaveToNormal=function(e){r.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=z({},this.shape))},t.prototype._applyStateObj=function(e,n,i,a,o,s){r.prototype._applyStateObj.call(this,e,n,i,a,o,s);var l=!(n&&a),u;if(n&&n.shape?o?a?u=n.shape:(u=z({},i.shape),z(u,n.shape)):(u=z({},a?this.shape:i.shape),z(u,n.shape)):l&&(u=i.shape),u)if(o){this.shape=z({},this.shape);for(var f={},h=Dt(u),c=0;ci&&(h=s+l,s*=i/h,l*=i/h),u+f>i&&(h=u+f,u*=i/h,f*=i/h),l+u>a&&(h=l+u,l*=a/h,u*=a/h),s+f>a&&(h=s+f,s*=a/h,f*=a/h),r.moveTo(e+s,n),r.lineTo(e+i-l,n),l!==0&&r.arc(e+i-l,n+l,l,-Math.PI/2,0),r.lineTo(e+i,n+a-u),u!==0&&r.arc(e+i-u,n+a-u,u,0,Math.PI/2),r.lineTo(e+f,n+a),f!==0&&r.arc(e+f,n+a-f,f,Math.PI/2,Math.PI),r.lineTo(e,n+s),s!==0&&r.arc(e+s,n+s,s,Math.PI,Math.PI*1.5)}var Ni=Math.round;function M0(r,t,e){if(t){var n=t.x1,i=t.x2,a=t.y1,o=t.y2;r.x1=n,r.x2=i,r.y1=a,r.y2=o;var s=e&&e.lineWidth;return s&&(Ni(n*2)===Ni(i*2)&&(r.x1=r.x2=Gn(n,s,!0)),Ni(a*2)===Ni(o*2)&&(r.y1=r.y2=Gn(a,s,!0))),r}}function D0(r,t,e){if(t){var n=t.x,i=t.y,a=t.width,o=t.height;r.x=n,r.y=i,r.width=a,r.height=o;var s=e&&e.lineWidth;return s&&(r.x=Gn(n,s,!0),r.y=Gn(i,s,!0),r.width=Math.max(Gn(n+a,s,!1)-r.x,a===0?0:1),r.height=Math.max(Gn(i+o,s,!1)-r.y,o===0?0:1)),r}}function Gn(r,t,e){if(!t)return r;var n=Ni(r*2);return(n+Ni(t))%2===0?n/2:(n+(e?1:-1))/2}var lC=(function(){function r(){this.x=0,this.y=0,this.width=0,this.height=0}return r})(),uC={},gt=(function(r){O(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new lC},t.prototype.buildPath=function(e,n){var i,a,o,s;if(this.subPixelOptimize){var l=D0(uC,n,this.style);i=l.x,a=l.y,o=l.width,s=l.height,l.r=n.r,n=l}else i=n.x,a=n.y,o=n.width,s=n.height;n.r?sC(e,n):e.rect(i,a,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t})(_t);gt.prototype.type="rect";var Wd={fill:"#000"},Ud=2,or={},fC={style:dt({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Wl.style)},At=(function(r){O(t,r);function t(e){var n=r.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Wd,n.attr(e),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){r.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e0,I=0;I=0&&(P=b[L],P.align==="right");)this._placeToken(P,e,T,g,I,"right",_),D-=P.width,I-=P.width,L--;for(M+=(f-(M-m)-(y-I)-D)/2;A<=L;)P=b[A],this._placeToken(P,e,T,g,M+P.width/2,"center",_),M+=P.width,A++;g+=T}},t.prototype._placeToken=function(e,n,i,a,o,s,l){var u=n.rich[e.styleName]||{};u.text=e.text;var f=e.verticalAlign,h=a+i/2;f==="top"?h=a+e.height/2:f==="bottom"&&(h=a+i-e.height/2);var c=!e.isLineHolder&&Xu(u);c&&this._renderBackground(u,n,s==="right"?o-e.width:s==="center"?o-e.width/2:o,h-e.height/2,e.width,e.height);var v=!!u.backgroundColor,d=e.textPadding;d&&(o=Kd(o,s,d),h-=e.height/2-d[0]-e.innerHeight/2);var p=this._getOrCreateChild(sl),m=p.createStyle();p.useStyle(m);var g=this._defaultStyle,y=!1,_=0,S=!1,x=qd("fill"in u?u.fill:"fill"in n?n.fill:(y=!0,g.fill)),b=Xd("stroke"in u?u.stroke:"stroke"in n?n.stroke:!v&&!l&&(!g.autoStroke||y)?(_=Ud,S=!0,g.stroke):null),w=u.textShadowBlur>0||n.textShadowBlur>0;m.text=e.text,m.x=o,m.y=h,w&&(m.shadowBlur=u.textShadowBlur||n.textShadowBlur||0,m.shadowColor=u.textShadowColor||n.textShadowColor||"transparent",m.shadowOffsetX=u.textShadowOffsetX||n.textShadowOffsetX||0,m.shadowOffsetY=u.textShadowOffsetY||n.textShadowOffsetY||0),m.textAlign=s,m.textBaseline="middle",m.font=e.font||sn,m.opacity=Yn(u.opacity,n.opacity,1),$d(m,u),b&&(m.lineWidth=Yn(u.lineWidth,n.lineWidth,_),m.lineDash=j(u.lineDash,n.lineDash),m.lineDashOffset=n.lineDashOffset||0,m.stroke=b),x&&(m.fill=x),p.setBoundingRect(gh(m,e.contentWidth,e.contentHeight,S?0:null))},t.prototype._renderBackground=function(e,n,i,a,o,s){var l=e.backgroundColor,u=e.borderWidth,f=e.borderColor,h=l&&l.image,c=l&&!h,v=e.borderRadius,d=this,p,m;if(c||e.lineHeight||u&&f){p=this._getOrCreateChild(gt),p.useStyle(p.createStyle()),p.style.fill=null;var g=p.shape;g.x=i,g.y=a,g.width=o,g.height=s,g.r=v,p.dirtyShape()}if(c){var y=p.style;y.fill=l||null,y.fillOpacity=j(e.fillOpacity,1)}else if(h){m=this._getOrCreateChild(_r),m.onload=function(){d.dirtyStyle()};var _=m.style;_.image=l.image,_.x=i,_.y=a,_.width=o,_.height=s}if(u&&f){var y=p.style;y.lineWidth=u,y.stroke=f,y.strokeOpacity=j(e.strokeOpacity,1),y.lineDash=e.borderDash,y.lineDashOffset=e.borderDashOffset||0,p.strokeContainThreshold=0,p.hasFill()&&p.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var S=(p||m).style;S.shadowBlur=e.shadowBlur||0,S.shadowColor=e.shadowColor||"transparent",S.shadowOffsetX=e.shadowOffsetX||0,S.shadowOffsetY=e.shadowOffsetY||0,S.opacity=Yn(e.opacity,n.opacity,1)},t.makeFont=function(e){var n="";return dC(e)&&(n=[e.fontStyle,e.fontWeight,vC(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),n&&hr(n)||e.textFont||e.font},t})(Eo),hC={left:!0,right:1,center:1},cC={top:1,bottom:1,middle:1},Yd=["fontStyle","fontWeight","fontSize","fontFamily"];function vC(r){return typeof r=="string"&&(r.indexOf("px")!==-1||r.indexOf("rem")!==-1||r.indexOf("em")!==-1)?r:isNaN(+r)?bc+"px":r+"px"}function $d(r,t){for(var e=0;e=0,a=!1;if(r instanceof _t){var o=A0(r),s=i&&o.selectFill||o.normalFill,l=i&&o.selectStroke||o.normalStroke;if(mi(s)||mi(l)){n=n||{};var u=n.style||{};u.fill==="inherit"?(a=!0,n=z({},n),u=z({},u),u.fill=s):!mi(u.fill)&&mi(s)?(a=!0,n=z({},n),u=z({},u),u.fill=gd(s)):!mi(u.stroke)&&mi(l)&&(a||(n=z({},n),u=z({},u)),u.stroke=gd(l)),n.style=u}}if(n&&n.z2==null){a||(n=z({},n));var f=r.z2EmphasisLift;n.z2=r.z2+(f??mC)}return n}function wC(r,t,e){if(e&&e.z2==null){e=z({},e);var n=r.z2SelectLift;e.z2=r.z2+(n??yC)}return e}function TC(r,t,e){var n=ht(r.currentStates,t)>=0,i=r.style.opacity,a=n?null:bC(r,["opacity"],t,{opacity:1});e=e||{};var o=e.style||{};return o.opacity==null&&(e=z({},e),o=z({opacity:n?i:a.opacity*.1},o),e.style=o),e}function qu(r,t){var e=this.states[r];if(this.style){if(r==="emphasis")return xC(this,r,t,e);if(r==="blur")return TC(this,r,e);if(r==="select")return wC(this,r,e)}return e}function CC(r){r.stateProxy=qu;var t=r.getTextContent(),e=r.getTextGuideLine();t&&(t.stateProxy=qu),e&&(e.stateProxy=qu)}function rp(r,t){!O0(r,t)&&!r.__highByOuter&&Or(r,L0)}function np(r,t){!O0(r,t)&&!r.__highByOuter&&Or(r,I0)}function qi(r,t){r.__highByOuter|=1<<(t||0),Or(r,L0)}function Ki(r,t){!(r.__highByOuter&=~(1<<(t||0)))&&Or(r,I0)}function MC(r){Or(r,Hc)}function R0(r){Or(r,P0)}function k0(r){Or(r,_C)}function E0(r){Or(r,SC)}function O0(r,t){return r.__highDownSilentOnTouch&&t.zrByTouch}function B0(r){var t=r.getModel(),e=[],n=[];t.eachComponent(function(i,a){var o=zc(a),s=i==="series",l=s?r.getViewOfSeriesModel(a):r.getViewOfComponentModel(a);!s&&n.push(l),o.isBlured&&(l.group.traverse(function(u){P0(u)}),s&&e.push(a)),o.isBlured=!1}),C(n,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(e,!1,t)})}function Sh(r,t,e,n){var i=n.getModel();e=e||"coordinateSystem";function a(u,f){for(var h=0;h0){var s={dataIndex:o,seriesIndex:e.seriesIndex};a!=null&&(s.dataType=a),t.push(s)}})}),t}function hl(r,t,e){Wc(r,!0),Or(r,CC),kC(r,t,e)}function RC(r){Wc(r,!1)}function Qi(r,t,e,n){n?RC(r):hl(r,t,e)}function kC(r,t,e){var n=vt(r);t!=null?(n.focus=t,n.blurScope=e):n.focus&&(n.focus=null)}var ap=["emphasis","blur","select"],EC={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function cl(r,t,e,n){e=e||"itemStyle";for(var i=0;i1&&(o*=Ku(d),s*=Ku(d));var p=(i===a?-1:1)*Ku((o*o*(s*s)-o*o*(v*v)-s*s*(c*c))/(o*o*(v*v)+s*s*(c*c)))||0,m=p*o*v/s,g=p*-s*c/o,y=(r+e)/2+es(h)*m-ts(h)*g,_=(t+n)/2+ts(h)*m+es(h)*g,S=up([1,0],[(c-m)/o,(v-g)/s]),x=[(c-m)/o,(v-g)/s],b=[(-1*c-m)/o,(-1*v-g)/s],w=up(x,b);if(Th(x,b)<=-1&&(w=ya),Th(x,b)>=1&&(w=0),w<0){var T=Math.round(w/ya*1e6)/1e6;w=ya*2+T%2*ya}f.addData(u,y,_,o,s,S,w,h,a)}var FC=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,HC=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function GC(r){var t=new ei;if(!r)return t;var e=0,n=0,i=e,a=n,o,s=ei.CMD,l=r.match(FC);if(!l)return t;for(var u=0;uP*P+R*R&&(T=A,D=M),{cx:T,cy:D,x0:-f,y0:-h,x1:T*(i/x-1),y1:D*(i/x-1)}}function KC(r){var t;if(G(r)){var e=r.length;if(!e)return r;e===1?t=[r[0],r[0],0,0]:e===2?t=[r[0],r[0],r[1],r[1]]:e===3?t=r.concat(r[2]):t=r}else t=[r,r,r,r];return t}function QC(r,t){var e,n=Ha(t.r,0),i=Ha(t.r0||0,0),a=n>0,o=i>0;if(!(!a&&!o)){if(a||(n=i,i=0),i>n){var s=n;n=i,i=s}var l=t.startAngle,u=t.endAngle;if(!(isNaN(l)||isNaN(u))){var f=t.cx,h=t.cy,c=!!t.clockwise,v=hp(u-l),d=v>Qu&&v%Qu;if(d>Ue&&(v=d),!(n>Ue))r.moveTo(f,h);else if(v>Qu-Ue)r.moveTo(f+n*_i(l),h+n*An(l)),r.arc(f,h,n,l,u,!c),i>Ue&&(r.moveTo(f+i*_i(u),h+i*An(u)),r.arc(f,h,i,u,l,c));else{var p=void 0,m=void 0,g=void 0,y=void 0,_=void 0,S=void 0,x=void 0,b=void 0,w=void 0,T=void 0,D=void 0,A=void 0,M=void 0,I=void 0,L=void 0,P=void 0,R=n*_i(l),k=n*An(l),W=i*_i(u),E=i*An(u),N=v>Ue;if(N){var F=t.cornerRadius;F&&(e=KC(F),p=e[0],m=e[1],g=e[2],y=e[3]);var H=hp(n-i)/2;if(_=sr(H,g),S=sr(H,y),x=sr(H,p),b=sr(H,m),D=w=Ha(_,S),A=T=Ha(x,b),(w>Ue||T>Ue)&&(M=n*_i(u),I=n*An(u),L=i*_i(l),P=i*An(l),vUe){var Ht=sr(g,D),Rt=sr(y,D),it=rs(L,P,R,k,n,Ht,c),ct=rs(M,I,W,E,n,Rt,c);r.moveTo(f+it.cx+it.x0,h+it.cy+it.y0),D0&&r.arc(f+it.cx,h+it.cy,Ht,Zt(it.y0,it.x0),Zt(it.y1,it.x1),!c),r.arc(f,h,n,Zt(it.cy+it.y1,it.cx+it.x1),Zt(ct.cy+ct.y1,ct.cx+ct.x1),!c),Rt>0&&r.arc(f+ct.cx,h+ct.cy,Rt,Zt(ct.y1,ct.x1),Zt(ct.y0,ct.x0),!c))}else r.moveTo(f+R,h+k),r.arc(f,h,n,l,u,!c);if(!(i>Ue)||!N)r.lineTo(f+W,h+E);else if(A>Ue){var Ht=sr(p,A),Rt=sr(m,A),it=rs(W,E,M,I,i,-Rt,c),ct=rs(R,k,L,P,i,-Ht,c);r.lineTo(f+it.cx+it.x0,h+it.cy+it.y0),A0&&r.arc(f+it.cx,h+it.cy,Rt,Zt(it.y0,it.x0),Zt(it.y1,it.x1),!c),r.arc(f,h,i,Zt(it.cy+it.y1,it.cx+it.x1),Zt(ct.cy+ct.y1,ct.cx+ct.x1),c),Ht>0&&r.arc(f+ct.cx,h+ct.cy,Ht,Zt(ct.y1,ct.x1),Zt(ct.y0,ct.x0),!c))}else r.lineTo(f+W,h+E),r.arc(f,h,i,u,l,c)}r.closePath()}}}var JC=(function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return r})(),cn=(function(r){O(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new JC},t.prototype.buildPath=function(e,n){QC(e,n)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t})(_t);cn.prototype.type="sector";var jC=(function(){function r(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return r})(),Yc=(function(r){O(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new jC},t.prototype.buildPath=function(e,n){var i=n.cx,a=n.cy,o=Math.PI*2;e.moveTo(i+n.r,a),e.arc(i,a,n.r,0,o,!1),e.moveTo(i+n.r0,a),e.arc(i,a,n.r0,0,o,!0)},t})(_t);Yc.prototype.type="ring";function tM(r,t,e,n){var i=[],a=[],o=[],s=[],l,u,f,h;if(n){f=[1/0,1/0],h=[-1/0,-1/0];for(var c=0,v=r.length;c=2){if(n){var a=tM(i,n,e,t.smoothConstraint);r.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;s<(e?o:o-1);s++){var l=a[s*2],u=a[s*2+1],f=i[(s+1)%o];r.bezierCurveTo(l[0],l[1],u[0],u[1],f[0],f[1])}}else{r.moveTo(i[0][0],i[0][1]);for(var s=1,h=i.length;sIn[1]){if(a=!1,zt.negativeSize||n)return a;var l=ns(In[0]-Ln[1]),u=ns(Ln[0]-In[1]);Ju(l,u)>as.len()&&(l=u||!zt.bidirectional)&&(at.scale(is,s,-u*i),zt.useDir&&zt.calcDirMTV()))}}return a},r.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],a=this._origin,o=e[0].dot(i)+a[t],s=o,l=o,u=1;u0){var h=f.duration,c=f.delay,v=f.easing,d={duration:h,delay:c||0,easing:v,done:a,force:!!a||!!o,setToFinal:!u,scope:r,during:o};s?t.animateFrom(e,d):t.animateTo(e,d)}else t.stopAnimation(),!s&&t.attr(e),o&&o(1),a&&a()}function ie(r,t,e,n,i,a){Xc("update",r,t,e,n,i,a)}function Ne(r,t,e,n,i,a){Xc("enter",r,t,e,n,i,a)}function eo(r){if(!r.__zr)return!0;for(var t=0;tcr(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function dp(r){return!r.isGroup}function bM(r){return r.shape!=null}function Z0(r,t,e){if(!r||!t)return;function n(o){var s={};return o.traverse(function(l){dp(l)&&l.anid&&(s[l.anid]=l)}),s}function i(o){var s={x:o.x,y:o.y,rotation:o.rotation};return bM(o)&&(s.shape=J(o.shape)),s}var a=n(r);t.traverse(function(o){if(dp(o)&&o.anid){var s=a[o.anid];if(s){var l=i(o);o.attr(i(s)),ie(o,l,e,vt(o).dataIndex)}}})}function X0(r,t){return Y(r,function(e){var n=e[0];n=Se(n,t.x),n=ho(n,t.x+t.width);var i=e[1];return i=Se(i,t.y),i=ho(i,t.y+t.height),[n,i]})}function xM(r,t){var e=Se(r.x,t.x),n=ho(r.x+r.width,t.x+t.width),i=Se(r.y,t.y),a=ho(r.y+r.height,t.y+t.height);if(n>=e&&a>=i)return{x:e,y:i,width:n-e,height:a-i}}function Kl(r,t,e){var n=z({rectHover:!0},t),i=n.style={strokeNoScale:!0};if(e=e||{x:-1,y:-1,width:2,height:2},r)return r.indexOf("image://")===0?(i.image=r.slice(8),dt(i,e),new _r(n)):Kc(r.replace("path://",""),n,e,"center")}function wM(r,t,e,n,i){for(var a=0,o=i[i.length-1];a1)return!1;var m=ju(v,d,f,h)/c;return!(m<0||m>1)}function ju(r,t,e,n){return r*n-e*t}function TM(r){return r<=1e-6&&r>=-1e-6}function dl(r,t,e,n,i){return t==null||(bt(t)?Tt[0]=Tt[1]=Tt[2]=Tt[3]=t:(Tt[0]=t[0],Tt[1]=t[1],Tt[2]=t[2],Tt[3]=t[3]),n&&(Tt[0]=Se(0,Tt[0]),Tt[1]=Se(0,Tt[1]),Tt[2]=Se(0,Tt[2]),Tt[3]=Se(0,Tt[3])),e&&(Tt[0]=-Tt[0],Tt[1]=-Tt[1],Tt[2]=-Tt[2],Tt[3]=-Tt[3]),pp(r,Tt,"x","width",3,1,i&&i[0]||0),pp(r,Tt,"y","height",0,2,i&&i[1]||0)),r}var Tt=[0,0,0,0];function pp(r,t,e,n,i,a,o){var s=t[a]+t[i],l=r[n];r[n]+=s,o=Se(0,ho(o,l)),r[n]=0?-t[i]:t[a]>=0?l+t[a]:cr(s)>1e-8?(l-o)*t[i]/s:0):r[e]-=t[i]}function Oo(r){var t=r.itemTooltipOption,e=r.componentModel,n=r.itemName,i=Z(t)?{formatter:t}:t,a=e.mainType,o=e.componentIndex,s={componentType:a,name:n,$vars:["name"]};s[a+"Index"]=o;var l=r.formatterParamsExtra;l&&C(Dt(l),function(f){Xe(s,f)||(s[f]=l[f],s.$vars.push(f))});var u=vt(r.el);u.componentMainType=a,u.componentIndex=o,u.tooltipConfig={name:n,option:dt({content:n,encodeHTMLContent:!0,formatterParams:s},i)}}function Mh(r,t){var e;r.isGroup&&(e=t(r)),e||r.traverse(t)}function Bo(r,t){if(r)if(G(r))for(var e=0;et&&(t=o),ot&&(e=t=0),{min:e,max:t}}function K0(r,t,e){Q0(r,t,e,-1/0)}function Q0(r,t,e,n){if(r.ignoreModelZ)return n;var i=r.getTextContent(),a=r.getTextGuideLine(),o=r.isGroup;if(o)for(var s=r.childrenRef(),l=0;l=0&&s.push(l)}),s}}function fa(r,t){return lt(lt({},r,!0),t,!0)}const FM={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},HM={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var pl="ZH",jc="EN",Wi=jc,Hs={},tv={},e_=ot.domSupported?(function(){var r=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Wi).toUpperCase();return r.indexOf(pl)>-1?pl:Wi})():Wi;function r_(r,t){r=r.toUpperCase(),tv[r]=new Lt(t),Hs[r]=t}function GM(r){if(Z(r)){var t=Hs[r.toUpperCase()]||{};return r===pl||r===jc?J(t):lt(J(t),J(Hs[Wi]),!1)}else return lt(J(r),J(Hs[Wi]),!1)}function WM(r){return tv[r]}function UM(){return tv[Wi]}r_(jc,FM);r_(pl,HM);var YM=null;function gl(){return YM}var ev=1e3,rv=ev*60,no=rv*60,Re=no*24,xp=Re*365,$M={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},Gs={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},ZM="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}",ss="{yyyy}-{MM}-{dd}",wp={year:"{yyyy}",month:"{yyyy}-{MM}",day:ss,hour:ss+" "+Gs.hour,minute:ss+" "+Gs.minute,second:ss+" "+Gs.second,millisecond:ZM},Qn=["year","month","day","hour","minute","second","millisecond"],XM=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function qM(r){return!Z(r)&&!tt(r)?KM(r):r}function KM(r){r=r||{};var t={},e=!0;return C(Qn,function(n){e&&(e=r[n]==null)}),C(Qn,function(n,i){var a=r[n];t[n]={};for(var o=null,s=i;s>=0;s--){var l=Qn[s],u=X(a)&&!G(a)?a[l]:a,f=void 0;G(u)?(f=u.slice(),o=f[0]||""):Z(u)?(o=u,f=[o]):(o==null?o=Gs[n]:$M[l].test(o)||(o=t[l][l][0]+" "+o),f=[o],e&&(f[1]="{primary|"+o+"}")),t[n][l]=f}}),t}function Vr(r,t){return r+="","0000".substr(0,t-r.length)+r}function io(r){switch(r){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return r}}function QM(r){return r===io(r)}function JM(r){switch(r){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function jl(r,t,e,n){var i=oa(r),a=i[n_(e)](),o=i[nv(e)]()+1,s=Math.floor((o-1)/3)+1,l=i[iv(e)](),u=i["get"+(e?"UTC":"")+"Day"](),f=i[av(e)](),h=(f-1)%12+1,c=i[ov(e)](),v=i[sv(e)](),d=i[lv(e)](),p=f>=12?"pm":"am",m=p.toUpperCase(),g=n instanceof Lt?n:WM(n||e_)||UM(),y=g.getModel("time"),_=y.get("month"),S=y.get("monthAbbr"),x=y.get("dayOfWeek"),b=y.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,p+"").replace(/{A}/g,m+"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,Vr(a%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,_[o-1]).replace(/{MMM}/g,S[o-1]).replace(/{MM}/g,Vr(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,Vr(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,x[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Vr(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,Vr(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,Vr(c,2)).replace(/{m}/g,c+"").replace(/{ss}/g,Vr(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,Vr(d,3)).replace(/{S}/g,d+"")}function jM(r,t,e,n,i){var a=null;if(Z(e))a=e;else if(tt(e)){var o={time:r.time,level:r.time.level},s=gl();s&&s.makeAxisLabelFormatterParamBreak(o,r.break),a=e(r.value,t,o)}else{var l=r.time;if(l){var u=e[l.lowerTimeUnit][l.upperTimeUnit];a=u[Math.min(l.level,u.length-1)]||""}else{var f=ml(r.value,i);a=e[f][f][0]}}return jl(new Date(r.value),a,i,n)}function ml(r,t){var e=oa(r),n=e[nv(t)]()+1,i=e[iv(t)](),a=e[av(t)](),o=e[ov(t)](),s=e[sv(t)](),l=e[lv(t)](),u=l===0,f=u&&s===0,h=f&&o===0,c=h&&a===0,v=c&&i===1,d=v&&n===1;return d?"year":v?"month":c?"day":h?"hour":f?"minute":u?"second":"millisecond"}function Dh(r,t,e){switch(t){case"year":r[i_(e)](0);case"month":r[a_(e)](1);case"day":r[o_(e)](0);case"hour":r[s_(e)](0);case"minute":r[l_(e)](0);case"second":r[u_(e)](0)}return r}function n_(r){return r?"getUTCFullYear":"getFullYear"}function nv(r){return r?"getUTCMonth":"getMonth"}function iv(r){return r?"getUTCDate":"getDate"}function av(r){return r?"getUTCHours":"getHours"}function ov(r){return r?"getUTCMinutes":"getMinutes"}function sv(r){return r?"getUTCSeconds":"getSeconds"}function lv(r){return r?"getUTCMilliseconds":"getMilliseconds"}function tD(r){return r?"setUTCFullYear":"setFullYear"}function i_(r){return r?"setUTCMonth":"setMonth"}function a_(r){return r?"setUTCDate":"setDate"}function o_(r){return r?"setUTCHours":"setHours"}function s_(r){return r?"setUTCMinutes":"setMinutes"}function l_(r){return r?"setUTCSeconds":"setSeconds"}function u_(r){return r?"setUTCMilliseconds":"setMilliseconds"}function f_(r){if(!Qw(r))return Z(r)?r:"-";var t=(r+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function h_(r,t){return r=(r||"").toLowerCase().replace(/-(.)/g,function(e,n){return n.toUpperCase()}),t&&r&&(r=r.charAt(0).toUpperCase()+r.slice(1)),r}var zo=Mc;function Ah(r,t,e){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(f){return f&&hr(f)?f:"-"}function a(f){return!!(f!=null&&!isNaN(f)&&isFinite(f))}var o=t==="time",s=r instanceof Date;if(o||s){var l=o?oa(r):r;if(isNaN(+l)){if(s)return"-"}else return jl(l,n,e)}if(t==="ordinal")return Yf(r)?i(r):bt(r)&&a(r)?r+"":"-";var u=ol(r);return a(u)?f_(u):Yf(r)?i(r):typeof r=="boolean"?r+"":"-"}var Tp=["a","b","c","d","e","f","g"],rf=function(r,t){return"{"+r+(t??"")+"}"};function c_(r,t,e){G(t)||(t=[t]);var n=t.length;if(!n)return"";for(var i=t[0].$vars||[],a=0;a':'';var o=e.markerId||"markerX";return{renderMode:a,content:"{"+o+"|} ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function ni(r,t){return t=t||"transparent",Z(r)?r:X(r)&&r.colorStops&&(r.colorStops[0]||{}).color||t}function Cp(r,t){if(t==="_blank"||t==="blank"){var e=window.open();e.opener=null,e.location.href=r}else window.open(r,t)}var Ws={},nf={},tu=(function(){function r(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return r.prototype.create=function(t,e){this._nonSeriesBoxMasterList=n(Ws),this._normalMasterList=n(nf);function n(i,a){var o=[];return C(i,function(s,l){var u=s.create(t,e);o=o.concat(u||[])}),o}},r.prototype.update=function(t,e){C(this._normalMasterList,function(n){n.update&&n.update(t,e)})},r.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},r.register=function(t,e){if(t==="matrix"||t==="calendar"){Ws[t]=e;return}nf[t]=e},r.get=function(t){return nf[t]||Ws[t]},r})();function rD(r){return!!Ws[r]}var Lh={coord:1,coord2:2};function nD(r){v_.set(r.fullType,{getCoord2:void 0}).getCoord2=r.getCoord2}var v_=nt();function iD(r){var t=r.getShallow("coord",!0),e=Lh.coord;if(t==null){var n=v_.get(r.type);n&&n.getCoord2&&(e=Lh.coord2,t=n.getCoord2(r))}return{coord:t,from:e}}var Ar={none:0,dataCoordSys:1,boxCoordSys:2};function aD(r,t){var e=r.getShallow("coordinateSystem"),n=r.getShallow("coordinateSystemUsage",!0),i=Ar.none;if(e){var a=r.mainType==="series";n==null&&(n=a?"data":"box"),n==="data"?(i=Ar.dataCoordSys,a||(i=Ar.none)):n==="box"&&(i=Ar.boxCoordSys,!a&&!rD(e)&&(i=Ar.none))}return{coordSysType:e,kind:i}}function oD(r){var t=r.targetModel,e=r.coordSysType,n=r.coordSysProvider,i=r.isDefaultDataCoordSys,a=aD(t),o=a.kind,s=a.coordSysType;if(i&&o!==Ar.dataCoordSys&&(o=Ar.dataCoordSys,s=e),o===Ar.none||s!==e)return!1;var l=n(e,t);return l?(o===Ar.dataCoordSys?t.coordinateSystem=l:t.boxCoordinateSystem=l,!0):!1}var Us=C,sD=["left","right","top","bottom","width","height"],ls=[["width","left","right"],["height","top","bottom"]];function uv(r,t,e,n,i){var a=0,o=0;n==null&&(n=1/0),i==null&&(i=1/0);var s=0;t.eachChild(function(l,u){var f=l.getBoundingRect(),h=t.childAt(u+1),c=h&&h.getBoundingRect(),v,d;if(r==="horizontal"){var p=f.width+(c?-c.x+f.x:0);v=a+p,v>n||l.newline?(a=0,v=p,o+=s+e,s=f.height):s=Math.max(s,f.height)}else{var m=f.height+(c?-c.y+f.y:0);d=o+m,d>i||l.newline?(a+=s+e,o=0,d=m,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),r==="horizontal"?a=v+e:o=d+e)})}var Jn=uv;pt(uv,"vertical");pt(uv,"horizontal");function lD(r,t){return{left:r.getShallow("left",t),top:r.getShallow("top",t),right:r.getShallow("right",t),bottom:r.getShallow("bottom",t),width:r.getShallow("width",t),height:r.getShallow("height",t)}}function uD(r,t){var e=li(r,t,{enableLayoutOnlyByCenter:!0}),n=r.getBoxLayoutParams(),i,a;if(e.type===Ga.point)a=e.refPoint,i=Ve(n,{width:t.getWidth(),height:t.getHeight()});else{var o=r.get("center"),s=G(o)?o:[o,o];i=Ve(n,e.refContainer),a=e.boxCoordFrom===Lh.coord2?e.refPoint:[Mt(s[0],i.width)+i.x,Mt(s[1],i.height)+i.y]}return{viewRect:i,center:a}}function fD(r,t){var e=uD(r,t),n=e.viewRect,i=e.center,a=r.get("radius");G(a)||(a=[0,a]);var o=Mt(n.width,t.getWidth()),s=Mt(n.height,t.getHeight()),l=Math.min(o,s),u=Mt(a[0],l/2),f=Mt(a[1],l/2);return{cx:i[0],cy:i[1],r0:u,r:f,viewRect:n}}function Ve(r,t,e){e=zo(e||0);var n=t.width,i=t.height,a=Mt(r.left,n),o=Mt(r.top,i),s=Mt(r.right,n),l=Mt(r.bottom,i),u=Mt(r.width,n),f=Mt(r.height,i),h=e[2]+e[0],c=e[1]+e[3],v=r.aspect;switch(isNaN(u)&&(u=n-s-c-a),isNaN(f)&&(f=i-l-h-o),v!=null&&(isNaN(u)&&isNaN(f)&&(v>n/i?u=n*.8:f=i*.8),isNaN(u)&&(u=v*f),isNaN(f)&&(f=u/v)),isNaN(a)&&(a=n-s-u-c),isNaN(o)&&(o=i-l-f-h),r.left||r.right){case"center":a=n/2-u/2-e[3];break;case"right":a=n-u-c;break}switch(r.top||r.bottom){case"middle":case"center":o=i/2-f/2-e[0];break;case"bottom":o=i-f-h;break}a=a||0,o=o||0,isNaN(u)&&(u=n-c-a-(s||0)),isNaN(f)&&(f=i-h-o-(l||0));var d=new st((t.x||0)+a+e[3],(t.y||0)+o+e[0],u,f);return d.margin=e,d}var Ga={rect:1,point:2};function li(r,t,e){var n,i,a,o=r.boxCoordinateSystem,s;if(o){var l=iD(r),u=l.coord,f=l.from;if(o.dataToLayout){a=Ga.rect,s=f;var h=o.dataToLayout(u);n=h.contentRect||h.rect}else e&&e.enableLayoutOnlyByCenter&&o.dataToPoint&&(a=Ga.point,s=f,i=o.dataToPoint(u))}return a==null&&(a=Ga.rect),a===Ga.rect&&(n||(n={x:0,y:0,width:t.getWidth(),height:t.getHeight()}),i=[n.x+n.width/2,n.y+n.height/2]),{type:a,refContainer:n,refPoint:i,boxCoordFrom:s}}function d_(r,t,e,n,i,a){a=a||r,a.x=r.x,a.y=r.y;var o;if(o=r.getBoundingRect(),r.needLocalTransform()){var s=r.getLocalTransform();o=o.clone(),o.applyTransform(s)}var l=Ve(dt({width:o.width,height:o.height},t),e,n),u=l.x-o.x,f=l.y-o.y;return a.x+=u,a.y+=f,a===r&&r.markRedraw(),!0}function yo(r){var t=r.layoutMode||r.constructor.layoutMode;return X(t)?t:t?{type:t}:null}function fn(r,t,e){var n=e&&e.ignoreSize;!G(n)&&(n=[n,n]);var i=o(ls[0],0),a=o(ls[1],1);l(ls[0],r,i),l(ls[1],r,a);function o(u,f){var h={},c=0,v={},d=0,p=2;if(Us(u,function(y){v[y]=r[y]}),Us(u,function(y){Xe(t,y)&&(h[y]=v[y]=t[y]),s(h,y)&&c++,s(v,y)&&d++}),n[f])return s(t,u[1])?v[u[2]]=null:s(t,u[2])&&(v[u[1]]=null),v;if(d===p||!c)return v;if(c>=p)return h;for(var m=0;m=0;l--)s=lt(s,i[l],!0);n.defaultOption=s}return n.defaultOption},t.prototype.getReferringComponents=function(e,n){var i=e+"Index",a=e+"Id";return sa(this.ecModel,e,{index:this.get(i,!0),id:this.get(a,!0)},n)},t.prototype.getBoxLayoutParams=function(){return lD(this,!1)},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=(function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0})(),t})(Lt);m0(mt,Lt);Hl(mt);zM(mt);VM(mt,vD);function vD(r){var t=[];return C(mt.getClassesByMainType(r),function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])}),t=Y(t,function(e){return vr(e).main}),r!=="dataset"&&ht(t,"dataset")<=0&&t.unshift("dataset"),t}var B={color:{},darkColor:{},size:{}},It=B.color={theme:["#5070dd","#b6d634","#505372","#ff994d","#0ca8df","#ffd10a","#fb628b","#785db0","#3fbe95"],neutral00:"#fff",neutral05:"#f4f7fd",neutral10:"#e8ebf0",neutral15:"#dbdee4",neutral20:"#cfd2d7",neutral25:"#c3c5cb",neutral30:"#b7b9be",neutral35:"#aaacb2",neutral40:"#9ea0a5",neutral45:"#929399",neutral50:"#86878c",neutral55:"#797b7f",neutral60:"#6d6e73",neutral65:"#616266",neutral70:"#54555a",neutral75:"#48494d",neutral80:"#3c3c41",neutral85:"#303034",neutral90:"#232328",neutral95:"#17171b",neutral99:"#000",accent05:"#eff1f9",accent10:"#e0e4f2",accent15:"#d0d6ec",accent20:"#c0c9e6",accent25:"#b1bbdf",accent30:"#a1aed9",accent35:"#91a0d3",accent40:"#8292cc",accent45:"#7285c6",accent50:"#6578ba",accent55:"#5c6da9",accent60:"#536298",accent65:"#4a5787",accent70:"#404c76",accent75:"#374165",accent80:"#2e3654",accent85:"#252b43",accent90:"#1b2032",accent95:"#121521",transparent:"rgba(0,0,0,0)",highlight:"rgba(255,231,130,0.8)"};z(It,{primary:It.neutral80,secondary:It.neutral70,tertiary:It.neutral60,quaternary:It.neutral50,disabled:It.neutral20,border:It.neutral30,borderTint:It.neutral20,borderShade:It.neutral40,background:It.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:It.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:It.neutral70,axisLineTint:It.neutral40,axisTick:It.neutral70,axisTickMinor:It.neutral60,axisLabel:It.neutral70,axisSplitLine:It.neutral15,axisMinorSplitLine:It.neutral05});for(var Pn in It)if(It.hasOwnProperty(Pn)){var Mp=It[Pn];Pn==="theme"?B.darkColor.theme=It.theme.slice():Pn==="highlight"?B.darkColor.highlight="rgba(255,231,130,0.4)":Pn.indexOf("accent")===0?B.darkColor[Pn]=Gi(Mp,null,function(r){return r*.5},function(r){return Math.min(1,1.3-r)}):B.darkColor[Pn]=Gi(Mp,null,function(r){return r*.9},function(r){return 1-Math.pow(r,1.5)})}B.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50};var p_="";typeof navigator<"u"&&(p_=navigator.platform||"");var Si="rgba(0, 0, 0, 0.2)",g_=B.color.theme[0],dD=Gi(g_,null,null,.9);const pD={darkMode:"auto",colorBy:"series",color:B.color.theme,gradientColor:[dD,g_],aria:{decal:{decals:[{color:Si,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Si,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Si,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Si,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Si,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Si,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:p_.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var m_=nt(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),we="original",jt="arrayRows",Ge="objectRows",er="keyedColumns",an="typedArray",y_="unknown",gr="column",ui="row",Gt={Must:1,Might:2,Not:3},__=wt();function gD(r){__(r).datasetMap=nt()}function mD(r,t,e){var n={},i=fv(t);if(!i||!r)return n;var a=[],o=[],s=t.ecModel,l=__(s).datasetMap,u=i.uid+"_"+e.seriesLayoutBy,f,h;r=r.slice(),C(r,function(p,m){var g=X(p)?p:r[m]={name:p};g.type==="ordinal"&&f==null&&(f=m,h=d(g)),n[g.name]=[]});var c=l.get(u)||l.set(u,{categoryWayDim:h,valueWayDim:0});C(r,function(p,m){var g=p.name,y=d(p);if(f==null){var _=c.valueWayDim;v(n[g],_,y),v(o,_,y),c.valueWayDim+=y}else if(f===m)v(n[g],0,y),v(a,0,y);else{var _=c.categoryWayDim;v(n[g],_,y),v(o,_,y),c.categoryWayDim+=y}});function v(p,m,g){for(var y=0;yt)return r[n];return r[e-1]}function wD(r,t,e,n,i,a,o){a=a||r;var s=t(a),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var f=o==null||!n?e:xD(n,o);if(f=f||e,!(!f||!f.length)){var h=f[l];return i&&(u[i]=h),s.paletteIdx=(l+1)%f.length,h}}function TD(r,t){t(r).paletteIdx=0,t(r).paletteNameMap={}}var us,_a,Ap,Lp="\0_ec_inner",CD=1,cv=(function(r){O(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e,n,i,a,o,s){a=a||{},this.option=null,this._theme=new Lt(a),this._locale=new Lt(o),this._optionManager=s},t.prototype.setOption=function(e,n,i){var a=Rp(n);this._optionManager.setOption(e,i,a),this._resetOption(null,a)},t.prototype.resetOption=function(e,n){return this._resetOption(e,Rp(n))},t.prototype._resetOption=function(e,n){var i=!1,a=this._optionManager;if(!e||e==="recreate"){var o=a.mountOption(e==="recreate");!this.option||e==="recreate"?Ap(this,o):(this.restoreData(),this._mergeOption(o,n)),i=!0}if((e==="timeline"||e==="media")&&this.restoreData(),!e||e==="recreate"||e==="timeline"){var s=a.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,n))}if(!e||e==="recreate"||e==="media"){var l=a.getMediaOption(this);l.length&&C(l,function(u){i=!0,this._mergeOption(u,n)},this)}return i},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,n){var i=this.option,a=this._componentsMap,o=this._componentsCount,s=[],l=nt(),u=n&&n.replaceMergeMainTypeMap;gD(this),C(e,function(h,c){h!=null&&(mt.hasClass(c)?c&&(s.push(c),l.set(c,!0)):i[c]=i[c]==null?J(h):lt(i[c],h,!0))}),u&&u.each(function(h,c){mt.hasClass(c)&&!l.get(c)&&(s.push(c),l.set(c,!0))}),mt.topologicalTravel(s,mt.getAllClassMainTypes(),f,this);function f(h){var c=bD(this,h,Qt(e[h])),v=a.get(h),d=v?u&&u.get(h)?"replaceMerge":"normalMerge":"replaceAll",p=rT(v,c,d);fT(p,h,mt),i[h]=null,a.set(h,null),o.set(h,0);var m=[],g=[],y=0,_;C(p,function(S,x){var b=S.existing,w=S.newOption;if(!w)b&&(b.mergeOption({},this),b.optionUpdated({},!1));else{var T=h==="series",D=mt.getClass(h,S.keyInfo.subType,!T);if(!D)return;if(h==="tooltip"){if(_)return;_=!0}if(b&&b.constructor===D)b.name=S.keyInfo.name,b.mergeOption(w,this),b.optionUpdated(w,!1);else{var A=z({componentIndex:x},S.keyInfo);b=new D(w,this,this,A),z(b,A),S.brandNew&&(b.__requireNewView=!0),b.init(w,this,this),b.optionUpdated(null,!0)}}b?(m.push(b.option),g.push(b),y++):(m.push(void 0),g.push(void 0))},this),i[h]=m,a.set(h,g),o.set(h,y),h==="series"&&us(this)}this._seriesIndices||us(this)},t.prototype.getOption=function(){var e=J(this.option);return C(e,function(n,i){if(mt.hasClass(i)){for(var a=Qt(n),o=a.length,s=!1,l=o-1;l>=0;l--)a[l]&&!co(a[l])?s=!0:(a[l]=null,!s&&o--);a.length=o,e[i]=a}}),delete e[Lp],e},t.prototype.setTheme=function(e){this._theme=new Lt(e),this._resetOption("recreate",null)},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,n){var i=this._componentsMap.get(e);if(i){var a=i[n||0];if(a)return a;if(n==null){for(var o=0;o=t:e==="max"?r<=t:r===t}function ED(r,t){return r.join(",")===t.join(",")}var We=C,_o=X,kp=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function af(r){var t=r&&r.itemStyle;if(t)for(var e=0,n=kp.length;e0?e[o-1].seriesModel:null)}),WD(e)}})}function WD(r){C(r,function(t,e){var n=[],i=[NaN,NaN],a=[t.stackResultDimension,t.stackedOverDimension],o=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";o.modify(a,function(u,f,h){var c=o.get(t.stackedDimension,h);if(isNaN(c))return i;var v,d;s?d=o.getRawIndex(h):v=o.get(t.stackedByDimension,h);for(var p=NaN,m=e-1;m>=0;m--){var g=r[m];if(s||(d=g.data.rawIndexOf(g.stackedByDimension,v)),d>=0){var y=g.data.getByRawIndex(g.stackResultDimension,d);if(l==="all"||l==="positive"&&y>0||l==="negative"&&y<0||l==="samesign"&&c>=0&&y>0||l==="samesign"&&c<=0&&y<0){c=Xw(c,y),p=y;break}}}return n[0]=c,n[1]=p,n})})}var eu=(function(){function r(t){this.data=t.data||(t.sourceFormat===er?{}:[]),this.sourceFormat=t.sourceFormat||y_,this.seriesLayoutBy=t.seriesLayoutBy||gr,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;np&&(p=_)}v[0]=d,v[1]=p}},i=function(){return this._data?this._data.length/this._dimSize:0};Fp=(t={},t[jt+"_"+gr]={pure:!0,appendData:a},t[jt+"_"+ui]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[Ge]={pure:!0,appendData:a},t[er]={pure:!0,appendData:function(o){var s=this._data;C(o,function(l,u){for(var f=s[u]||(s[u]=[]),h=0;h<(l||[]).length;h++)f.push(l[h])})}},t[we]={appendData:a},t[an]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function a(o){for(var s=0;s=0&&(p=o.interpolatedValue[m])}return p!=null?p+"":""})}},r.prototype.getRawValue=function(t,e){return ji(this.getData(e),t)},r.prototype.formatTooltip=function(t,e,n){},r})();function Up(r){var t,e;return X(r)?r.type&&(e=r):t=r,{text:t,frag:e}}function ao(r){return new JD(r)}var JD=(function(){function r(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return r.prototype.perform=function(t){var e=this._upstream,n=t&&t.skip;if(this._dirty&&e){var i=this.context;i.data=i.outputData=e.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!n&&(a=this._plan(this.context));var o=f(this._modBy),s=this._modDataCount||0,l=f(t&&t.modBy),u=t&&t.modDataCount||0;(o!==l||s!==u)&&(a="reset");function f(y){return!(y>=1)&&(y=1),y}var h;(this._dirty||a==="reset")&&(this._dirty=!1,h=this._doReset(n)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(e?this._dueEnd=e._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var v=this._dueIndex,d=Math.min(c!=null?this._dueIndex+c:1/0,this._dueEnd);if(!n&&(h||v1&&n>0?s:o}};return a;function o(){return t=r?null:li?-this._resultLT:0},r})(),tA=(function(){function r(){}return r.prototype.getRawData=function(){throw new Error("not supported")},r.prototype.getRawDataItem=function(t){throw new Error("not supported")},r.prototype.cloneRawData=function(){},r.prototype.getDimensionInfo=function(t){},r.prototype.cloneAllDimensionInfo=function(){},r.prototype.count=function(){},r.prototype.retrieveValue=function(t,e){},r.prototype.retrieveValueFromItem=function(t,e){},r.prototype.convertValue=function(t,e){return Ys(t,e)},r})();function eA(r,t){var e=new tA,n=r.data,i=e.sourceFormat=r.sourceFormat,a=r.startIndex,o="";r.seriesLayoutBy!==gr&&le(o);var s=[],l={},u=r.dimensionsDefine;if(u)C(u,function(p,m){var g=p.name,y={index:m,name:g,displayName:p.displayName};if(s.push(y),g!=null){var _="";Xe(l,g)&&le(_),l[g]=y}});else for(var f=0;f65535?uA:fA}function xi(){return[1/0,-1/0]}function hA(r){var t=r.constructor;return t===Array?r.slice():new t(r)}function Zp(r,t,e,n,i){var a=E_[e||"float"];if(i){var o=r[t],s=o&&o.length;if(s!==n){for(var l=new a(n),u=0;um[1]&&(m[1]=p)}return this._rawCount=this._count=l,{start:s,end:l}},r.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,a=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=Y(o,function(y){return y.property}),f=0;fg[1]&&(g[1]=m)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(n!=null&&nt)a=o-1;else return o}return-1},r.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var a=0;a=h&&y<=c||isNaN(y))&&(l[u++]=p),p++}d=!0}else if(a===2){for(var m=v[i[0]],_=v[i[1]],S=t[i[1]][0],x=t[i[1]][1],g=0;g=h&&y<=c||isNaN(y))&&(b>=S&&b<=x||isNaN(b))&&(l[u++]=p),p++}d=!0}}if(!d)if(a===1)for(var g=0;g=h&&y<=c||isNaN(y))&&(l[u++]=w)}else for(var g=0;gt[A][1])&&(T=!1)}T&&(l[u++]=e.getRawIndex(g))}return ug[1]&&(g[1]=m)}}}},r.prototype.lttbDownSample=function(t,e){var n=this.clone([t],!0),i=n._chunks,a=i[t],o=this.count(),s=0,l=Math.floor(1/e),u=this.getRawIndex(0),f,h,c,v=new(bi(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));v[s++]=u;for(var d=1;df&&(f=h,c=S)}M>0&&Ms&&(p=s-f);for(var m=0;md&&(d=y,v=f+m)}var _=this.getRawIndex(h),S=this.getRawIndex(v);hf-d&&(l=f-d,s.length=l);for(var p=0;ph[1]&&(h[1]=g),c[v++]=y}return a._count=v,a._indices=c,a._updateGetRawIdx(),a},r.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,a=0,o=this.count();al&&(l=h)}return o=[s,l],this._extent[t]=o,o},r.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,a=0;a=0?this._indices[t]:-1},r.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},r.internalField=(function(){function t(e,n,i,a){return Ys(e[a],this._dimensions[a])}lf={arrayRows:t,objectRows:function(e,n,i,a){return Ys(e[n],this._dimensions[a])},keyedColumns:t,original:function(e,n,i,a){var o=e&&(e.value==null?e:e.value);return Ys(o instanceof Array?o[a]:o,this._dimensions[a])},typedArray:function(e,n,i,a){return e[a]}}})(),r})(),cA=(function(){function r(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return r.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},r.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},r.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},r.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},r.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,e=this._getUpstreamSourceManagers(),n=!!e.length,i,a;if(hs(t)){var o=t,s=void 0,l=void 0,u=void 0;if(n){var f=e[0];f.prepareSource(),u=f.getSource(),s=u.data,l=u.sourceFormat,a=[f._getVersionSign()]}else s=o.get("data",!0),l=ve(s)?an:we,a=[];var h=this._getSourceMetaRawOption()||{},c=u&&u.metaRawOption||{},v=j(h.seriesLayoutBy,c.seriesLayoutBy)||null,d=j(h.sourceHeader,c.sourceHeader),p=j(h.dimensions,c.dimensions),m=v!==c.seriesLayoutBy||!!d!=!!c.sourceHeader||p;i=m?[Ph(s,{seriesLayoutBy:v,sourceHeader:d,dimensions:p},l)]:[]}else{var g=t;if(n){var y=this._applyTransform(e);i=y.sourceList,a=y.upstreamSignList}else{var _=g.get("source",!0);i=[Ph(_,this._getSourceMetaRawOption(),null)],a=[]}}this._setLocalSource(i,a)},r.prototype._applyTransform=function(t){var e=this._sourceHost,n=e.get("transform",!0),i=e.get("fromTransformResult",!0);if(i!=null){var a="";t.length!==1&&Xp(a)}var o,s=[],l=[];return C(t,function(u){u.prepareSource();var f=u.getSource(i||0),h="";i!=null&&!f&&Xp(h),s.push(f),l.push(u._getVersionSign())}),n?o=sA(n,s,{datasetIndex:e.componentIndex}):i!=null&&(o=[UD(s[0])]),{sourceList:o,upstreamSignList:l}},r.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e1||e>0&&!r.noHeader;return C(r.blocks,function(i){var a=z_(i);a>=t&&(t=a+ +(n&&(!a||kh(i)&&!i.noHeader)))}),t}return 0}function gA(r,t,e,n){var i=t.noHeader,a=yA(z_(t)),o=[],s=t.blocks||[];Je(!s||G(s)),s=s||[];var l=r.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Xe(u,l)){var f=new jD(u[l],null);s.sort(function(p,m){return f.evaluate(p.sortParam,m.sortParam)})}else l==="seriesDesc"&&s.reverse()}C(s,function(p,m){var g=t.valueFormatter,y=N_(p)(g?z(z({},r),{valueFormatter:g}):r,p,m>0?a.html:0,n);y!=null&&o.push(y)});var h=r.renderMode==="richText"?o.join(a.richText):Eh(n,o.join(""),i?e:a.html);if(i)return h;var c=Ah(t.header,"ordinal",r.useUTC),v=B_(n,r.renderMode).nameStyle,d=O_(n);return r.renderMode==="richText"?V_(r,c,v)+a.richText+h:Eh(n,'
'+oe(c)+"
"+h,e)}function mA(r,t,e,n){var i=r.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=r.useUTC,f=t.valueFormatter||r.valueFormatter||function(S){return S=G(S)?S:[S],Y(S,function(x,b){return Ah(x,G(v)?v[b]:v,u)})};if(!(a&&o)){var h=s?"":r.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||B.color.secondary,i),c=a?"":Ah(l,"ordinal",u),v=t.valueType,d=o?[]:f(t.value,t.dataIndex),p=!s||!a,m=!s&&a,g=B_(n,i),y=g.nameStyle,_=g.valueStyle;return i==="richText"?(s?"":h)+(a?"":V_(r,c,y))+(o?"":bA(r,d,p,m,_)):Eh(n,(s?"":h)+(a?"":_A(c,!s,y))+(o?"":SA(d,p,m,_)),e)}}function qp(r,t,e,n,i,a){if(r){var o=N_(r),s={useUTC:i,renderMode:e,orderMode:n,markupStyleCreator:t,valueFormatter:r.valueFormatter};return o(s,r,0,a)}}function yA(r){return{html:dA[r],richText:pA[r]}}function Eh(r,t,e){var n='
',i="margin: "+e+"px 0 0",a=O_(r);return'
'+t+n+"
"}function _A(r,t,e){var n=t?"margin-left:2px":"";return''+oe(r)+""}function SA(r,t,e,n){var i=e?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return r=G(r)?r:[r],''+Y(r,function(o){return oe(o)}).join("  ")+""}function V_(r,t,e){return r.markupStyleCreator.wrapRichTextStyle(t,e)}function bA(r,t,e,n,i){var a=[i],o=n?10:20;return e&&a.push({padding:[0,0,0,o],align:"right"}),r.markupStyleCreator.wrapRichTextStyle(G(t)?t.join(" "):t,a)}function xA(r,t){var e=r.getData().getItemVisual(t,"style"),n=e[r.visualDrawType];return ni(n)}function F_(r,t){var e=r.get("padding");return e??(t==="richText"?[8,10]:10)}var uf=(function(){function r(){this.richTextStyles={},this._nextStyleNameId=u0()}return r.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},r.prototype.makeTooltipMarker=function(t,e,n){var i=n==="richText"?this._generateStyleName():null,a=eD({color:e,type:t,renderMode:n,markerId:i});return Z(a)?a:(this.richTextStyles[i]=a.style,a.content)},r.prototype.wrapRichTextStyle=function(t,e){var n={};G(e)?C(e,function(a){return z(n,a)}):z(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},r})();function wA(r){var t=r.series,e=r.dataIndex,n=r.multipleSeries,i=t.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(e),l=G(s),u=xA(t,e),f,h,c,v;if(o>1||l&&!o){var d=TA(s,t,e,a,u);f=d.inlineValues,h=d.inlineValueTypes,c=d.blocks,v=d.inlineValues[0]}else if(o){var p=i.getDimensionInfo(a[0]);v=f=ji(i,e,a[0]),h=p.type}else v=f=l?s[0]:s;var m=Ec(t),g=m&&t.name||"",y=i.getName(e),_=n?g:y;return So("section",{header:g,noHeader:n||!m,sortParam:v,blocks:[So("nameValue",{markerType:"item",markerColor:u,name:_,noName:!hr(_),value:f,valueType:h,dataIndex:e})].concat(c||[])})}function TA(r,t,e,n,i){var a=t.getData(),o=ln(r,function(h,c,v){var d=a.getDimensionInfo(v);return h=h||d&&d.tooltip!==!1&&d.displayName!=null},!1),s=[],l=[],u=[];n.length?C(n,function(h){f(ji(a,e,h),h)}):C(r,f);function f(h,c){var v=a.getDimensionInfo(c);!v||v.otherDims.tooltip===!1||(o?u.push(So("nameValue",{markerType:"subItem",markerColor:i,name:v.displayName,value:h,valueType:v.type})):(s.push(h),l.push(v.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var Fr=wt();function cs(r,t){return r.getName(t)||r.getId(t)}var CA="__universalTransitionEnabled",be=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return t.prototype.init=function(e,n,i){this.seriesIndex=this.componentIndex,this.dataTask=ao({count:DA,reset:AA}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,i);var a=Fr(this).sourceManager=new cA(this);a.prepareSource();var o=this.getInitialData(e,i);Qp(o,this),this.dataTask.context.data=o,Fr(this).dataBeforeProcessed=o,Kp(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(e,n){var i=yo(this),a=i?ha(e):{},o=this.subType;mt.hasClass(o)&&(o+="Series"),lt(e,n.getTheme().get(this.subType)),lt(e,this.getDefaultOption()),dh(e,"label",["show"]),this.fillDataTextStyle(e.data),i&&fn(e,a,i)},t.prototype.mergeOption=function(e,n){e=lt(this.option,e,!0),this.fillDataTextStyle(e.data);var i=yo(this);i&&fn(this.option,e,i);var a=Fr(this).sourceManager;a.dirty(),a.prepareSource();var o=this.getInitialData(e,n);Qp(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,Fr(this).dataBeforeProcessed=o,Kp(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(e){if(e&&!ve(e))for(var n=["show"],i=0;i=0&&c<0)&&(h=y,c=g,v=0),g===c&&(f[v++]=p))}),f.length=v,f},t.prototype.formatTooltip=function(e,n,i){return wA({series:this,dataIndex:e,multipleSeries:n})},t.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(ot.node&&!(e&&e.ssr))return!1;var n=this.getShallow("animation");return n&&this.getData().count()>this.getShallow("animationThreshold")&&(n=!1),!!n},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,n,i){var a=this.ecModel,o=hv.prototype.getColorFromPalette.call(this,e,n,i);return o||(o=a.getColorFromPalette(e,n,i)),o},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,n){this._innerSelect(this.getData(n),e)},t.prototype.unselect=function(e,n){var i=this.option.selectedMap;if(i){var a=this.option.selectedMode,o=this.getData(n);if(a==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&i.push(o)}return i},t.prototype.isSelected=function(e,n){var i=this.option.selectedMap;if(!i)return!1;var a=this.getData(n);return(i==="all"||i[cs(a,e)])&&!a.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[CA])return!0;var e=this.option.universalTransition;return e?e===!0?!0:e&&e.enabled:!1},t.prototype._innerSelect=function(e,n){var i,a,o=this.option,s=o.selectedMode,l=n.length;if(!(!s||!l)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){X(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,f=0;f0&&this._innerSelect(e,n)}},t.registerClass=function(e){return mt.registerClass(e)},t.protoInitialize=(function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"})(),t})(mt);yr(be,QD);yr(be,hv);m0(be,mt);function Kp(r){var t=r.name;Ec(r)||(r.name=MA(r)||t)}function MA(r){var t=r.getRawData(),e=t.mapDimensionsAll("seriesName"),n=[];return C(e,function(i){var a=t.getDimensionInfo(i);a.displayName&&n.push(a.displayName)}),n.join(" ")}function DA(r){return r.model.getRawData().count()}function AA(r){var t=r.model;return t.setData(t.getRawData().cloneShallow()),LA}function LA(r,t){t.outputData&&r.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function Qp(r,t){C(Tx(r.CHANGABLE_METHODS,r.DOWNSAMPLE_METHODS),function(e){r.wrapMethod(e,pt(IA,t))})}function IA(r,t){var e=Oh(r);return e&&e.setOutputEnd((t||this).count()),t}function Oh(r){var t=(r.ecModel||{}).scheduler,e=t&&t.getPipeline(r.uid);if(e){var n=e.currentTask;if(n){var i=n.agentStubMap;i&&(n=i.get(r.uid))}return n}}var de=(function(){function r(){this.group=new xt,this.uid=No("viewComponent")}return r.prototype.init=function(t,e){},r.prototype.render=function(t,e,n,i){},r.prototype.dispose=function(t,e){},r.prototype.updateView=function(t,e,n,i){},r.prototype.updateLayout=function(t,e,n,i){},r.prototype.updateVisual=function(t,e,n,i){},r.prototype.toggleBlurSeries=function(t,e,n){},r.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},r})();Bc(de);Hl(de);function gv(){var r=wt();return function(t){var e=r(t),n=t.pipelineContext,i=!!e.large,a=!!e.progressiveRender,o=e.large=!!(n&&n.large),s=e.progressiveRender=!!(n&&n.progressiveRender);return(i!==o||a!==s)&&"reset"}}var H_=wt(),PA=gv(),he=(function(){function r(){this.group=new xt,this.uid=No("viewChart"),this.renderTask=ao({plan:RA,reset:kA}),this.renderTask.context={view:this}}return r.prototype.init=function(t,e){},r.prototype.render=function(t,e,n,i){},r.prototype.highlight=function(t,e,n,i){var a=t.getData(i&&i.dataType);a&&jp(a,i,"emphasis")},r.prototype.downplay=function(t,e,n,i){var a=t.getData(i&&i.dataType);a&&jp(a,i,"normal")},r.prototype.remove=function(t,e){this.group.removeAll()},r.prototype.dispose=function(t,e){},r.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},r.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},r.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},r.prototype.eachRendered=function(t){Bo(this.group,t)},r.markUpdateMethod=function(t,e){H_(t).updateMethod=e},r.protoInitialize=(function(){var t=r.prototype;t.type="chart"})(),r})();function Jp(r,t,e){r&&xh(r)&&(t==="emphasis"?qi:Ki)(r,e)}function jp(r,t,e){var n=ti(r,t),i=t&&t.highlightKey!=null?OC(t.highlightKey):null;n!=null?C(Qt(n),function(a){Jp(r.getItemGraphicEl(a),e,i)}):r.eachItemGraphicEl(function(a){Jp(a,e,i)})}Bc(he);Hl(he);function RA(r){return PA(r.model)}function kA(r){var t=r.model,e=r.ecModel,n=r.api,i=r.payload,a=t.pipelineContext.progressiveRender,o=r.view,s=i&&H_(i).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return l!=="render"&&o[l](t,e,n,i),EA[l]}var EA={incrementalPrepareRender:{progress:function(r,t){t.view.incrementalRender(r,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(r,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},yl="\0__throttleOriginMethod",tg="\0__throttleRate",eg="\0__throttleType";function mv(r,t,e){var n,i=0,a=0,o=null,s,l,u,f;t=t||0;function h(){a=new Date().getTime(),o=null,r.apply(l,u||[])}var c=function(){for(var v=[],d=0;d=0?h():o=setTimeout(h,-s),i=n};return c.clear=function(){o&&(clearTimeout(o),o=null)},c.debounceNextCall=function(v){f=v},c}function nu(r,t,e,n){var i=r[t];if(i){var a=i[yl]||i,o=i[eg],s=i[tg];if(s!==e||o!==n){if(e==null||!n)return r[t]=a;i=r[t]=mv(a,e,n==="debounce"),i[yl]=a,i[eg]=n,i[tg]=e}return i}}function _l(r,t){var e=r[t];e&&e[yl]&&(e.clear&&e.clear(),r[t]=e[yl])}var rg=wt(),ng={itemStyle:vo(t_,!0),lineStyle:vo(j0,!0)},OA={lineStyle:"stroke",itemStyle:"fill"};function G_(r,t){var e=r.visualStyleMapper||ng[t];return e||(console.warn("Unknown style type '"+t+"'."),ng.itemStyle)}function W_(r,t){var e=r.visualDrawType||OA[t];return e||(console.warn("Unknown style type '"+t+"'."),"fill")}var BA={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){var e=r.getData(),n=r.visualStyleAccessPath||"itemStyle",i=r.getModel(n),a=G_(r,n),o=a(i),s=i.getShallow("decal");s&&(e.setVisual("decal",s),s.dirty=!0);var l=W_(r,n),u=o[l],f=tt(u)?u:null,h=o.fill==="auto"||o.stroke==="auto";if(!o[l]||f||h){var c=r.getColorFromPalette(r.name,null,t.getSeriesCount());o[l]||(o[l]=c,e.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||tt(o.fill)?c:o.fill,o.stroke=o.stroke==="auto"||tt(o.stroke)?c:o.stroke}if(e.setVisual("style",o),e.setVisual("drawType",l),!t.isSeriesFiltered(r)&&f)return e.setVisual("colorFromPalette",!1),{dataEach:function(v,d){var p=r.getDataParams(d),m=z({},o);m[l]=f(p),v.setItemVisual(d,"style",m)}}}},ba=new Lt,NA={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){if(!(r.ignoreStyleOnData||t.isSeriesFiltered(r))){var e=r.getData(),n=r.visualStyleAccessPath||"itemStyle",i=G_(r,n),a=e.getVisual("drawType");return{dataEach:e.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[n]){ba.option=l[n];var u=i(ba),f=o.ensureUniqueItemVisual(s,"style");z(f,u),ba.option.decal&&(o.setItemVisual(s,"decal",ba.option.decal),ba.option.decal.dirty=!0),a in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},zA={performRawSeries:!0,overallReset:function(r){var t=nt();r.eachSeries(function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var i=e.type+"-"+n,a=t.get(i);a||(a={},t.set(i,a)),rg(e).scope=a}}),r.eachSeries(function(e){if(!(e.isColorBySeries()||r.isSeriesFiltered(e))){var n=e.getRawData(),i={},a=e.getData(),o=rg(e).scope,s=e.visualStyleAccessPath||"itemStyle",l=W_(e,s);a.each(function(u){var f=a.getRawIndex(u);i[f]=u}),n.each(function(u){var f=i[u],h=a.getItemVisual(f,"colorFromPalette");if(h){var c=a.ensureUniqueItemVisual(f,"style"),v=n.getName(u)||u+"",d=n.count();c[l]=e.getColorFromPalette(v,o,d)}})}})}},vs=Math.PI;function VA(r,t){t=t||{},dt(t,{text:"loading",textColor:B.color.primary,fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255,255,255,0.8)",showSpinner:!0,color:B.color.theme[0],spinnerRadius:10,lineWidth:5,zlevel:0});var e=new xt,n=new gt({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});e.add(n);var i=new At({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new gt({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});e.add(a);var o;return t.showSpinner&&(o=new Xl({shape:{startAngle:-vs/2,endAngle:-vs/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:vs*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:vs*3/2}).delay(300).start("circularInOut"),e.add(o)),e.resize=function(){var s=i.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,u=(r.getWidth()-l*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:l),f=r.getHeight()/2;t.showSpinner&&o.setShape({cx:u,cy:f}),a.setShape({x:u-l,y:f-l,width:l*2,height:l*2}),n.setShape({x:0,y:0,width:r.getWidth(),height:r.getHeight()})},e.resize(),e}var U_=(function(){function r(t,e,n,i){this._stageTaskMap=nt(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return r.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(n){var i=n.overallTask;i&&i.dirty()})},r.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,a=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=a?n.step:null,s=i&&i.modDataCount,l=s!=null?Math.ceil(s/o):null;return{step:o,modBy:l,modDataCount:s}}},r.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},r.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData(),a=i.count(),o=n.progressiveEnabled&&e.incrementalPrepareRender&&a>=n.threshold,s=t.get("large")&&a>=t.get("largeThreshold"),l=t.get("progressiveChunkMode")==="mod"?a:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:l,large:s}},r.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=nt();t.eachSeries(function(i){var a=i.getProgressive(),o=i.uid;n.set(o,{id:o,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:a&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),e._pipe(i,i.dataTask)})},r.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;C(this._allHandlers,function(i){var a=t.get(i.uid)||t.set(i.uid,{}),o="";Je(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,a,e,n),i.overallReset&&this._createOverallStageTask(i,a,e,n)},this)},r.prototype.prepareView=function(t,e,n,i){var a=t.renderTask,o=a.context;o.model=e,o.ecModel=n,o.api=i,a.__block=!t.incrementalPrepareRender,this._pipe(e,a)},r.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},r.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},r.prototype._performStageTasks=function(t,e,n,i){i=i||{};var a=!1,o=this;C(t,function(l,u){if(!(i.visualType&&i.visualType!==l.visualType)){var f=o._stageTaskMap.get(l.uid),h=f.seriesTaskMap,c=f.overallTask;if(c){var v,d=c.agentStubMap;d.each(function(m){s(i,m)&&(m.dirty(),v=!0)}),v&&c.dirty(),o.updatePayload(c,n);var p=o.getPerformArgs(c,i.block);d.each(function(m){m.perform(p)}),c.perform(p)&&(a=!0)}else h&&h.each(function(m,g){s(i,m)&&m.dirty();var y=o.getPerformArgs(m,i.block);y.skip=!l.performRawSeries&&e.isSeriesFiltered(m.context.model),o.updatePayload(m,n),m.perform(y)&&(a=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=a||this.unfinished},r.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(n){e=n.dataTask.perform()||e}),this.unfinished=e||this.unfinished},r.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},r.prototype.updatePayload=function(t,e){e!=="remain"&&(t.context.payload=e)},r.prototype._createSeriesStageTask=function(t,e,n,i){var a=this,o=e.seriesTaskMap,s=e.seriesTaskMap=nt(),l=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?n.eachRawSeries(f):l?n.eachRawSeriesByType(l,f):u&&u(n,i).each(f);function f(h){var c=h.uid,v=s.set(c,o&&o.get(c)||ao({plan:UA,reset:YA,count:ZA}));v.context={model:h,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:a},a._pipe(h,v)}},r.prototype._createOverallStageTask=function(t,e,n,i){var a=this,o=e.overallTask=e.overallTask||ao({reset:FA});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:a};var s=o.agentStubMap,l=o.agentStubMap=nt(),u=t.seriesType,f=t.getTargetSeries,h=!0,c=!1,v="";Je(!t.createOnAllSeries,v),u?n.eachRawSeriesByType(u,d):f?f(n,i).each(d):(h=!1,C(n.getSeries(),d));function d(p){var m=p.uid,g=l.set(m,s&&s.get(m)||(c=!0,ao({reset:HA,onDirty:WA})));g.context={model:p,overallProgress:h},g.agent=o,g.__block=h,a._pipe(p,g)}c&&o.dirty()},r.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},r.wrapStageHandler=function(t,e){return tt(t)&&(t={overallReset:t,seriesType:XA(t)}),t.uid=No("stageHandler"),e&&(t.visualType=e),t},r})();function FA(r){r.overallReset(r.ecModel,r.api,r.payload)}function HA(r){return r.overallProgress&&GA}function GA(){this.agent.dirty(),this.getDownstream().dirty()}function WA(){this.agent&&this.agent.dirty()}function UA(r){return r.plan?r.plan(r.model,r.ecModel,r.api,r.payload):null}function YA(r){r.useClearVisual&&r.data.clearAllVisual();var t=r.resetDefines=Qt(r.reset(r.model,r.ecModel,r.api,r.payload));return t.length>1?Y(t,function(e,n){return Y_(n)}):$A}var $A=Y_(0);function Y_(r){return function(t,e){var n=e.data,i=e.resetDefines[r];if(i&&i.dataEach)for(var a=t.start;a0&&v===u.length-c.length){var d=u.slice(0,v);d!=="data"&&(e.mainType=d,e[c.toLowerCase()]=l,f=!0)}}s.hasOwnProperty(u)&&(n[u]=l,f=!0),f||(i[u]=l)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},r.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,a=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return f(l,o,"mainType")&&f(l,o,"subType")&&f(l,o,"index","componentIndex")&&f(l,o,"name")&&f(l,o,"id")&&f(u,a,"name")&&f(u,a,"dataIndex")&&f(u,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,i,a));function f(h,c,v,d){return h[v]==null||c[d||v]===h[v]}},r.prototype.afterTrigger=function(){this.eventInfo=null},r})(),Bh=["symbol","symbolSize","symbolRotate","symbolOffset"],ag=Bh.concat(["symbolKeepAspect"]),QA={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){var e=r.getData();if(r.legendIcon&&e.setVisual("legendIcon",r.legendIcon),!r.hasSymbolVisual)return;for(var n={},i={},a=!1,o=0;o=0&&Wn(l)?l:.5;var u=r.createRadialGradient(o,s,0,o,s,l);return u}function Nh(r,t,e){for(var n=t.type==="radial"?pL(r,t,e):dL(r,t,e),i=t.colorStops,a=0;a0)?null:r==="dashed"?[4*t,2*t]:r==="dotted"?[t]:bt(r)?[r]:G(r)?r:null}function J_(r){var t=r.style,e=t.lineDash&&t.lineWidth>0&&mL(t.lineDash,t.lineWidth),n=t.lineDashOffset;if(e){var i=t.strokeNoScale&&r.getLineScale?r.getLineScale():1;i&&i!==1&&(e=Y(e,function(a){return a/i}),n/=i)}return[e,n]}var yL=new ei(!0);function xl(r){var t=r.stroke;return!(t==null||t==="none"||!(r.lineWidth>0))}function og(r){return typeof r=="string"&&r!=="none"}function wl(r){var t=r.fill;return t!=null&&t!=="none"}function sg(r,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var e=r.globalAlpha;r.globalAlpha=t.fillOpacity*t.opacity,r.fill(),r.globalAlpha=e}else r.fill()}function lg(r,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var e=r.globalAlpha;r.globalAlpha=t.strokeOpacity*t.opacity,r.stroke(),r.globalAlpha=e}else r.stroke()}function zh(r,t,e){var n=y0(t.image,t.__image,e);if(Gl(n)){var i=r.createPattern(n,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*Cx),a.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(a)}return i}}function _L(r,t,e,n){var i,a=xl(e),o=wl(e),s=e.strokePercent,l=s<1,u=!t.path;(!t.silent||l)&&u&&t.createPathProxy();var f=t.path||yL,h=t.__dirty;if(!n){var c=e.fill,v=e.stroke,d=o&&!!c.colorStops,p=a&&!!v.colorStops,m=o&&!!c.image,g=a&&!!v.image,y=void 0,_=void 0,S=void 0,x=void 0,b=void 0;(d||p)&&(b=t.getBoundingRect()),d&&(y=h?Nh(r,c,b):t.__canvasFillGradient,t.__canvasFillGradient=y),p&&(_=h?Nh(r,v,b):t.__canvasStrokeGradient,t.__canvasStrokeGradient=_),m&&(S=h||!t.__canvasFillPattern?zh(r,c,t):t.__canvasFillPattern,t.__canvasFillPattern=S),g&&(x=h||!t.__canvasStrokePattern?zh(r,v,t):t.__canvasStrokePattern,t.__canvasStrokePattern=x),d?r.fillStyle=y:m&&(S?r.fillStyle=S:o=!1),p?r.strokeStyle=_:g&&(x?r.strokeStyle=x:a=!1)}var w=t.getGlobalScale();f.setScale(w[0],w[1],t.segmentIgnoreThreshold);var T,D;r.setLineDash&&e.lineDash&&(i=J_(t),T=i[0],D=i[1]);var A=!0;(u||h&Pi)&&(f.setDPR(r.dpr),l?f.setContext(null):(f.setContext(r),A=!1),f.reset(),t.buildPath(f,t.shape,n),f.toStatic(),t.pathUpdated()),A&&f.rebuildPath(r,l?s:1),T&&(r.setLineDash(T),r.lineDashOffset=D),n||(e.strokeFirst?(a&&lg(r,e),o&&sg(r,e)):(o&&sg(r,e),a&&lg(r,e))),T&&r.setLineDash([])}function SL(r,t,e){var n=t.__image=y0(e.image,t.__image,t,t.onload);if(!(!n||!Gl(n))){var i=e.x||0,a=e.y||0,o=t.getWidth(),s=t.getHeight(),l=n.width/n.height;if(o==null&&s!=null?o=s*l:s==null&&o!=null?s=o/l:o==null&&s==null&&(o=n.width,s=n.height),e.sWidth&&e.sHeight){var u=e.sx||0,f=e.sy||0;r.drawImage(n,u,f,e.sWidth,e.sHeight,i,a,o,s)}else if(e.sx&&e.sy){var u=e.sx,f=e.sy,h=o-u,c=s-f;r.drawImage(n,u,f,h,c,i,a,o,s)}else r.drawImage(n,i,a,o,s)}}function bL(r,t,e){var n,i=e.text;if(i!=null&&(i+=""),i){r.font=e.font||sn,r.textAlign=e.textAlign,r.textBaseline=e.textBaseline;var a=void 0,o=void 0;r.setLineDash&&e.lineDash&&(n=J_(t),a=n[0],o=n[1]),a&&(r.setLineDash(a),r.lineDashOffset=o),e.strokeFirst?(xl(e)&&r.strokeText(i,e.x,e.y),wl(e)&&r.fillText(i,e.x,e.y)):(wl(e)&&r.fillText(i,e.x,e.y),xl(e)&&r.strokeText(i,e.x,e.y)),a&&r.setLineDash([])}}var ug=["shadowBlur","shadowOffsetX","shadowOffsetY"],fg=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function j_(r,t,e,n,i){var a=!1;if(!n&&(e=e||{},t===e))return!1;if(n||t.opacity!==e.opacity){ue(r,i),a=!0;var o=Math.max(Math.min(t.opacity,1),0);r.globalAlpha=isNaN(o)?Xn.opacity:o}(n||t.blend!==e.blend)&&(a||(ue(r,i),a=!0),r.globalCompositeOperation=t.blend||Xn.blend);for(var s=0;s0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,n,i){if(!this[Et]){if(this._disposed){this.id;return}var a,o,s;if(X(n)&&(i=n.lazyUpdate,a=n.silent,o=n.replaceMerge,s=n.transition,n=n.notMerge),this[Et]=!0,Mi(this),!this._model||n){var l=new ID(this._api),u=this._theme,f=this._model=new cv;f.scheduler=this._scheduler,f.ssr=this._ssr,f.init(null,null,null,u,this._locale,l)}this._model.setOption(e,{replaceMerge:o},Wh);var h={seriesTransition:s,optionChanged:!0};if(i)this[Nt]={silent:a,updateParams:h},this[Et]=!1,this.getZr().wakeUp();else{try{Bn(this),Tr.update.call(this,null,h)}catch(c){throw this[Nt]=null,this[Et]=!1,c}this._ssr||this._zr.flush(),this[Nt]=null,this[Et]=!1,Ti.call(this,a),Ci.call(this,a)}}},t.prototype.setTheme=function(e,n){if(!this[Et]){if(this._disposed){this.id;return}var i=this._model;if(i){var a=n&&n.silent,o=null;this[Nt]&&(a==null&&(a=this[Nt].silent),o=this[Nt].updateParams,this[Nt]=null),this[Et]=!0,Mi(this);try{this._updateTheme(e),i.setTheme(this._theme),Bn(this),Tr.update.call(this,{type:"setTheme"},o)}catch(s){throw this[Et]=!1,s}this[Et]=!1,Ti.call(this,a),Ci.call(this,a)}}},t.prototype._updateTheme=function(e){Z(e)&&(e=g1[e]),e&&(e=J(e),e&&T_(e,!0),this._theme=e)},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||ot.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){e=e||{};var n=this._zr.painter;return n.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){e=e||{};var n=this._zr.painter;return n.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){var e=this._zr,n=e.storage.getDisplayList();return C(n,function(i){i.stopAnimation(null,!0)}),e.painter.toDataURL()},t.prototype.getDataURL=function(e){if(this._disposed){this.id;return}e=e||{};var n=e.excludeComponents,i=this._model,a=[],o=this;C(n,function(l){i.eachComponent({mainType:l},function(u){var f=o._componentsMap[u.__viewId];f.group.ignore||(a.push(f),f.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return C(a,function(l){l.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(e){if(this._disposed){this.id;return}var n=e.type==="svg",i=this.group,a=Math.min,o=Math.max,s=1/0;if(Cg[i]){var l=s,u=s,f=-s,h=-s,c=[],v=e&&e.pixelRatio||this.getDevicePixelRatio();C(oo,function(_,S){if(_.group===i){var x=n?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(J(e)),b=_.getDom().getBoundingClientRect();l=a(b.left,l),u=a(b.top,u),f=o(b.right,f),h=o(b.bottom,h),c.push({dom:x,left:b.left,top:b.top})}}),l*=v,u*=v,f*=v,h*=v;var d=f-l,p=h-u,m=Qe.createCanvas(),g=Dd(m,{renderer:n?"svg":"canvas"});if(g.resize({width:d,height:p}),n){var y="";return C(c,function(_){var S=_.left-l,x=_.top-u;y+=''+_.dom+""}),g.painter.getSvgRoot().innerHTML=y,e.connectedBackgroundColor&&g.painter.setBackgroundColor(e.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}else return e.connectedBackgroundColor&&g.add(new gt({shape:{x:0,y:0,width:d,height:p},style:{fill:e.connectedBackgroundColor}})),C(c,function(_){var S=new _r({style:{x:_.left*v-l,y:_.top*v-u,image:_.dom}});g.add(S)}),g.refreshImmediately(),m.toDataURL("image/"+(e&&e.type||"png"))}else return this.getDataURL(e)},t.prototype.convertToPixel=function(e,n,i){return ys(this,"convertToPixel",e,n,i)},t.prototype.convertToLayout=function(e,n,i){return ys(this,"convertToLayout",e,n,i)},t.prototype.convertFromPixel=function(e,n,i){return ys(this,"convertFromPixel",e,n,i)},t.prototype.containPixel=function(e,n){if(this._disposed){this.id;return}var i=this._model,a,o=ja(i,e);return C(o,function(s,l){l.indexOf("Models")>=0&&C(s,function(u){var f=u.coordinateSystem;if(f&&f.containPoint)a=a||!!f.containPoint(n);else if(l==="seriesModels"){var h=this._chartsMap[u.__viewId];h&&h.containPoint&&(a=a||h.containPoint(n,u))}},this)},this),!!a},t.prototype.getVisual=function(e,n){var i=this._model,a=ja(i,e,{defaultMainType:"series"}),o=a.seriesModel,s=o.getData(),l=a.hasOwnProperty("dataIndexInside")?a.dataIndexInside:a.hasOwnProperty("dataIndex")?s.indexOfRawIndex(a.dataIndex):null;return l!=null?q_(s,l,n):K_(s,n)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;C($L,function(i){var a=function(o){var s=e.getModel(),l=o.target,u,f=i==="globalout";if(f?u={}:l&&Vi(l,function(p){var m=vt(p);if(m&&m.dataIndex!=null){var g=m.dataModel||s.getSeriesByIndex(m.seriesIndex);return u=g&&g.getDataParams(m.dataIndex,m.dataType,l)||{},!0}else if(m.eventData)return u=z({},m.eventData),!0},!0),u){var h=u.componentType,c=u.componentIndex;(h==="markLine"||h==="markPoint"||h==="markArea")&&(h="series",c=u.seriesIndex);var v=h&&c!=null&&s.getComponent(h,c),d=v&&e[v.mainType==="series"?"_chartsMap":"_componentsMap"][v.__viewId];u.event=o,u.type=i,e._$eventProcessor.eventInfo={targetEl:l,packedEvent:u,model:v,view:d},e.trigger(i,u)}};a.zrEventfulCallAtLast=!0,e._zr.on(i,a,e)});var n=this._messageCenter;C(Hh,function(i,a){n.on(a,function(o){e.trigger(a,o)})}),eL(n,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var e=this.getDom();e&&p0(this.getDom(),Sv,"");var n=this,i=n._api,a=n._model;C(n._componentsViews,function(o){o.dispose(a,i)}),C(n._chartsViews,function(o){o.dispose(a,i)}),n._zr.dispose(),n._dom=n._model=n._chartsMap=n._componentsMap=n._chartsViews=n._componentsViews=n._scheduler=n._api=n._zr=n._throttledZrFlush=n._theme=n._coordSysMgr=n._messageCenter=null,delete oo[n.id]},t.prototype.resize=function(e){if(!this[Et]){if(this._disposed){this.id;return}this._zr.resize(e);var n=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!n){var i=n.resetOption("media"),a=e&&e.silent;this[Nt]&&(a==null&&(a=this[Nt].silent),i=!0,this[Nt]=null),this[Et]=!0,Mi(this);try{i&&Bn(this),Tr.update.call(this,{type:"resize",animation:z({duration:0},e&&e.animation)})}catch(o){throw this[Et]=!1,o}this[Et]=!1,Ti.call(this,a),Ci.call(this,a)}}},t.prototype.showLoading=function(e,n){if(this._disposed){this.id;return}if(X(e)&&(n=e,e=""),e=e||"default",this.hideLoading(),!!Uh[e]){var i=Uh[e](this._api,n),a=this._zr;this._loadingFX=i,a.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(e){var n=z({},e);return n.type=Fh[e.type],n},t.prototype.dispatchAction=function(e,n){if(this._disposed){this.id;return}if(X(n)||(n={silent:!!n}),!!Tl[e.type]&&this._model){if(this[Et]){this._pendingActions.push(e);return}var i=n.silent;pf.call(this,e,i);var a=n.flush;a?this._zr.flush():a!==!1&&ot.browser.weChat&&this._throttledZrFlush(),Ti.call(this,i),Ci.call(this,i)}},t.prototype.updateLabelLayout=function(){$e.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed){this.id;return}var n=e.seriesIndex,i=this.getModel(),a=i.getSeriesByIndex(n);a.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=(function(){Bn=function(h){var c=h._scheduler;c.restorePipelines(h._model),c.prepareStageTasks(),vf(h,!0),vf(h,!1),c.plan()},vf=function(h,c){for(var v=h._model,d=h._scheduler,p=c?h._componentsViews:h._chartsViews,m=c?h._componentsMap:h._chartsMap,g=h._zr,y=h._api,_=0;_c.get("hoverLayerThreshold")&&!ot.node&&!ot.worker&&c.eachSeries(function(m){if(!m.preventUsingHoverLayer){var g=h._chartsMap[m.__viewId];g.__alive&&g.eachRendered(function(y){y.states.emphasis&&(y.states.emphasis.hoverLayer=!0)})}})}function s(h,c){var v=h.get("blendMode")||null;c.eachRendered(function(d){d.isGroup||(d.style.blend=v)})}function l(h,c){if(!h.preventAutoZ){var v=mo(h);c.eachRendered(function(d){return K0(d,v.z,v.zlevel),!0})}}function u(h,c){c.eachRendered(function(v){if(!eo(v)){var d=v.getTextContent(),p=v.getTextGuideLine();v.stateTransition&&(v.stateTransition=null),d&&d.stateTransition&&(d.stateTransition=null),p&&p.stateTransition&&(p.stateTransition=null),v.hasState()?(v.prevStates=v.currentStates,v.clearStates()):v.prevStates&&(v.prevStates=null)}})}function f(h,c){var v=h.getModel("stateAnimation"),d=h.isAnimationEnabled(),p=v.get("duration"),m=p>0?{duration:p,delay:v.get("delay"),easing:v.get("easing")}:null;c.eachRendered(function(g){if(g.states&&g.states.emphasis){if(eo(g))return;if(g instanceof _t&&BC(g),g.__dirty){var y=g.prevStates;y&&g.useStates(y)}if(d){g.stateTransition=m;var _=g.getTextContent(),S=g.getTextGuideLine();_&&(_.stateTransition=m),S&&(S.stateTransition=m)}g.__dirty&&a(g)}})}wg=function(h){return new((function(c){O(v,c);function v(){return c!==null&&c.apply(this,arguments)||this}return v.prototype.getCoordinateSystems=function(){return h._coordSysMgr.getCoordinateSystems()},v.prototype.getComponentByElement=function(d){for(;d;){var p=d.__ecComponentInfo;if(p!=null)return h._model.getComponent(p.mainType,p.index);d=d.parent}},v.prototype.enterEmphasis=function(d,p){qi(d,p),Te(h)},v.prototype.leaveEmphasis=function(d,p){Ki(d,p),Te(h)},v.prototype.enterBlur=function(d){MC(d),Te(h)},v.prototype.leaveBlur=function(d){R0(d),Te(h)},v.prototype.enterSelect=function(d){k0(d),Te(h)},v.prototype.leaveSelect=function(d){E0(d),Te(h)},v.prototype.getModel=function(){return h.getModel()},v.prototype.getViewOfComponentModel=function(d){return h.getViewOfComponentModel(d)},v.prototype.getViewOfSeriesModel=function(d){return h.getViewOfSeriesModel(d)},v.prototype.getMainProcessVersion=function(){return h[gs]},v})(x_))(h)},d1=function(h){function c(v,d){for(var p=0;p=0)){Mg.push(e);var a=U_.wrapStageHandler(e,i);a.__prio=t,a.__raw=e,r.push(a)}}function S1(r,t){Uh[r]=t}function t2(r,t,e){var n=PL("registerMap");n&&n(r,t,e)}var e2=oA;fi(yv,BA);fi(iu,NA);fi(iu,zA);fi(yv,QA);fi(iu,JA);fi(l1,LL);y1(T_);_1(EL,GD);S1("default",VA);Sr({type:qn,event:qn,update:qn},Kt);Sr({type:Fs,event:Fs,update:Fs},Kt);Sr({type:ul,event:Fc,update:ul,action:Kt,refineEvent:wv,publishNonRefinedEvent:!0});Sr({type:_h,event:Fc,update:_h,action:Kt,refineEvent:wv,publishNonRefinedEvent:!0});Sr({type:fl,event:Fc,update:fl,action:Kt,refineEvent:wv,publishNonRefinedEvent:!0});function wv(r,t,e,n){return{eventContent:{selected:PC(e),isFromClick:t.isFromClick||!1}}}m1("default",{});m1("dark",X_);function wa(r){return r==null?0:r.length||1}function Dg(r){return r}var Tv=(function(){function r(t,e,n,i,a,o){this._old=t,this._new=e,this._oldKeyGetter=n||Dg,this._newKeyGetter=i||Dg,this.context=a,this._diffModeMultiple=o==="multiple"}return r.prototype.add=function(t){return this._add=t,this},r.prototype.update=function(t){return this._update=t,this},r.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},r.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},r.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},r.prototype.remove=function(t){return this._remove=t,this},r.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},r.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),a=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,a,"_newKeyGetter");for(var o=0;o1){var f=l.shift();l.length===1&&(n[s]=l[0]),this._update&&this._update(f,o)}else u===1?(n[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(a,n)},r.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},a=[],o=[];this._initIndexMap(t,n,a,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var s=0;s1&&c===1)this._updateManyToOne&&this._updateManyToOne(f,u),i[l]=null;else if(h===1&&c>1)this._updateOneToMany&&this._updateOneToMany(f,u),i[l]=null;else if(h===1&&c===1)this._update&&this._update(f,u),i[l]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(f,u),i[l]=null;else if(h>1)for(var v=0;v1)for(var s=0;s30}var Ta=X,Hr=Y,l2=typeof Int32Array>"u"?Array:Int32Array,u2="e\0\0",Ag=-1,f2=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],h2=["_approximateExtent"],Lg,Ss,Ca,Ma,yf,Da,_f,M1=(function(){function r(t,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var n,i=!1;x1(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var a={},o=[],s={},l=!1,u={},f=0;f=e)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var a=this._nameList,o=this._idList,s=i.getSource().sourceFormat,l=s===we;if(l&&!i.pure)for(var u=[],f=t;f0},r.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var a=i[e];return a==null&&(a=this.getVisual(e),G(a)?a=a.slice():Ta(a)&&(a=z({},a)),i[e]=a),a},r.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,Ta(e)?z(i,e):i[e]=n},r.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},r.prototype.setLayout=function(t,e){Ta(t)?z(this._layout,t):this._layout[t]=e},r.prototype.getLayout=function(t){return this._layout[t]},r.prototype.getItemLayout=function(t){return this._itemLayouts[t]},r.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?z(this._itemLayouts[t]||{},e):e},r.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},r.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;gC(n,this.dataType,t,e),this._graphicEls[t]=e},r.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},r.prototype.eachItemGraphicEl=function(t,e){C(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},r.prototype.cloneShallow=function(t){return t||(t=new r(this._schema?this._schema:Hr(this.dimensions,this._getDimInfo,this),this.hostModel)),yf(t,this),t._store=this._store,t},r.prototype.wrapMethod=function(t,e){var n=this[t];tt(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=n.apply(this,arguments);return e.apply(this,[i].concat(Cc(arguments)))})},r.internalField=(function(){Lg=function(t){var e=t._invertedIndicesMap;C(e,function(n,i){var a=t._dimInfos[i],o=a.ordinalMeta,s=t._store;if(o){n=e[i]=new l2(o.categories.length);for(var l=0;l1&&(l+="__ec__"+f),i[e]=l}}})(),r})();function D1(r,t){vv(r)||(r=C_(r)),t=t||{};var e=t.coordDimensions||[],n=t.dimensionsDefine||r.dimensionsDefine||[],i=nt(),a=[],o=v2(r,e,n,t.dimensionsCount),s=t.canOmitUnusedDimensions&&C1(o),l=n===r.dimensionsDefine,u=l?T1(r):w1(n),f=t.encodeDefine;!f&&t.encodeDefaulter&&(f=t.encodeDefaulter(r,o));for(var h=nt(f),c=new k_(o),v=0;v0&&(n.name=i+(a-1)),a++,t.set(i,a)}}function v2(r,t,e,n){var i=Math.max(r.dimensionsDetectedCount||1,t.length,e.length,n||0);return C(t,function(a){var o;X(a)&&(o=a.dimsDef)&&(i=Math.max(i,o.length))}),i}function d2(r,t,e){if(e||t.hasKey(r)){for(var n=0;t.hasKey(r+n);)n++;r+=n}return t.set(r,!0),r}var p2=(function(){function r(t){this.coordSysDims=[],this.axisMap=nt(),this.categoryAxisMap=nt(),this.coordSysName=t}return r})();function g2(r){var t=r.get("coordinateSystem"),e=new p2(t),n=m2[t];if(n)return n(r,e,e.axisMap,e.categoryAxisMap),e}var m2={cartesian2d:function(r,t,e,n){var i=r.getReferringComponents("xAxis",qt).models[0],a=r.getReferringComponents("yAxis",qt).models[0];t.coordSysDims=["x","y"],e.set("x",i),e.set("y",a),Di(i)&&(n.set("x",i),t.firstCategoryDimIndex=0),Di(a)&&(n.set("y",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(r,t,e,n){var i=r.getReferringComponents("singleAxis",qt).models[0];t.coordSysDims=["single"],e.set("single",i),Di(i)&&(n.set("single",i),t.firstCategoryDimIndex=0)},polar:function(r,t,e,n){var i=r.getReferringComponents("polar",qt).models[0],a=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],e.set("radius",a),e.set("angle",o),Di(a)&&(n.set("radius",a),t.firstCategoryDimIndex=0),Di(o)&&(n.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(r,t,e,n){t.coordSysDims=["lng","lat"]},parallel:function(r,t,e,n){var i=r.ecModel,a=i.getComponent("parallel",r.get("parallelIndex")),o=t.coordSysDims=a.dimensions.slice();C(a.parallelAxisIndex,function(s,l){var u=i.getComponent("parallelAxis",s),f=o[l];e.set(f,u),Di(u)&&(n.set(f,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=l))})},matrix:function(r,t,e,n){var i=r.getReferringComponents("matrix",qt).models[0];t.coordSysDims=["x","y"];var a=i.getDimensionModel("x"),o=i.getDimensionModel("y");e.set("x",a),e.set("y",o),n.set("x",a),n.set("y",o)}};function Di(r){return r.get("type")==="category"}function y2(r,t,e){e=e||{};var n=e.byIndex,i=e.stackedCoordDimension,a,o,s;_2(t)?a=t:(o=t.schema,a=o.dimensions,s=t.store);var l=!!(r&&r.get("stack")),u,f,h,c;if(C(a,function(y,_){Z(y)&&(a[_]=y={name:y}),l&&!y.isExtraCoord&&(!n&&!u&&y.ordinalMeta&&(u=y),!f&&y.type!=="ordinal"&&y.type!=="time"&&(!i||i===y.coordDim)&&(f=y))}),f&&!n&&!u&&(n=!0),f){h="__\0ecstackresult_"+r.id,c="__\0ecstackedover_"+r.id,u&&(u.createInvertedIndices=!0);var v=f.coordDim,d=f.type,p=0;C(a,function(y){y.coordDim===v&&p++});var m={name:h,coordDim:v,coordDimIndex:p,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},g={name:c,coordDim:c,coordDimIndex:p+1,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};o?(s&&(m.storeDimIndex=s.ensureCalculationDimension(c,d),g.storeDimIndex=s.ensureCalculationDimension(h,d)),o.appendCalculationDimension(m),o.appendCalculationDimension(g)):(a.push(m),a.push(g))}return{stackedDimension:f&&f.name,stackedByDimension:u&&u.name,isStackedByIndex:n,stackedOverDimension:c,stackResultDimension:h}}function _2(r){return!x1(r.schema)}function ta(r,t){return!!t&&t===r.getCalculationInfo("stackedDimension")}function S2(r,t){return ta(r,t)?r.getCalculationInfo("stackResultDimension"):t}function b2(r,t){var e=r.get("coordinateSystem"),n=tu.get(e),i;return t&&t.coordSysDims&&(i=Y(t.coordSysDims,function(a){var o={name:a},s=t.axisMap.get(a);if(s){var l=s.get("type");o.type=i2(l)}return o})),i||(i=n&&(n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice())||["x","y"]),i}function x2(r,t,e){var n,i;return e&&C(r,function(a,o){var s=a.coordDim,l=e.categoryAxisMap.get(s);l&&(n==null&&(n=o),a.ordinalMeta=l.getOrdinalMeta(),t&&(a.createInvertedIndices=!0)),a.otherDims.itemName!=null&&(i=!0)}),!i&&n!=null&&(r[n].otherDims.itemName=0),n}function Vo(r,t,e){e=e||{};var n=t.getSourceManager(),i,a=!1;i=n.getSource(),a=i.sourceFormat===we;var o=g2(t),s=b2(t,o),l=e.useEncodeDefaulter,u=tt(l)?l:l?pt(mD,s,t):null,f={coordDimensions:s,generateCoord:e.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!a},h=D1(i,f),c=x2(h.dimensions,e.createInvertedIndices,o),v=a?null:n.getSharedDataStore(h),d=y2(t,{schema:h,store:v}),p=new M1(h,t);p.setCalculationInfo(d);var m=c!=null&&w2(i)?function(g,y,_,S){return S===c?_:this.defaultDimValueGetter(g,y,_,S)}:null;return p.hasItemOption=!1,p.initData(a?i:v,null,m),p}function w2(r){if(r.sourceFormat===we){var t=T2(r.data||[]);return!G(ko(t))}}function T2(r){for(var t=0;ti&&(o=a.interval=i);var s=a.intervalPrecision=wo(o),l=a.niceTickExtent=[Yt(Math.ceil(r[0]/o)*o,s),Yt(Math.floor(r[1]/o)*o,s)];return M2(l,r),a}function Sf(r){var t=Math.pow(10,kc(r)),e=r/t;return e?e===2?e=3:e===3?e=5:e*=2:e=1,Yt(e*t)}function wo(r){return Lr(r)+2}function Ig(r,t,e){r[t]=Math.max(Math.min(r[t],e[1]),e[0])}function M2(r,t){!isFinite(r[0])&&(r[0]=t[0]),!isFinite(r[1])&&(r[1]=t[1]),Ig(r,0,t),Ig(r,1,t),r[0]>r[1]&&(r[0]=r[1])}function Cv(r,t){return r>=t[0]&&r<=t[1]}var D2=(function(){function r(){this.normalize=Pg,this.scale=Rg}return r.prototype.updateMethods=function(t){t.hasBreaks()?(this.normalize=$(t.normalize,t),this.scale=$(t.scale,t)):(this.normalize=Pg,this.scale=Rg)},r})();function Pg(r,t){return t[1]===t[0]?.5:(r-t[0])/(t[1]-t[0])}function Rg(r,t){return r*(t[1]-t[0])+t[0]}function $h(r,t,e){var n=Math.log(r);return[Math.log(e?t[0]:Math.max(0,t[0]))/n,Math.log(e?t[1]:Math.max(0,t[1]))/n]}var vn=(function(){function r(t){this._calculator=new D2,this._setting=t||{},this._extent=[1/0,-1/0]}return r.prototype.getSetting=function(t){return this._setting[t]},r.prototype._innerUnionExtent=function(t){var e=this._extent;this._innerSetExtent(t[0]e[1]?t[1]:e[1])},r.prototype.unionExtentFromData=function(t,e){this._innerUnionExtent(t.getApproximateExtent(e))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(t,e){this._innerSetExtent(t,e)},r.prototype._innerSetExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e),this._brkCtx&&this._brkCtx.update(n)},r.prototype.setBreaksFromOption=function(t){},r.prototype._innerSetBreak=function(t){this._brkCtx&&(this._brkCtx.setBreaks(t),this._calculator.updateMethods(this._brkCtx),this._brkCtx.update(this._extent))},r.prototype._innerGetBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},r.prototype.hasBreaks=function(){return this._brkCtx?this._brkCtx.hasBreaks():!1},r.prototype._getExtentSpanWithBreaks=function(){return this._brkCtx&&this._brkCtx.hasBreaks()?this._brkCtx.getExtentSpan():this._extent[1]-this._extent[0]},r.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(t){this._isBlank=t},r})();Hl(vn);var A2=0,Zh=(function(){function r(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++A2,this._onCollect=t.onCollect}return r.createByAxisModel=function(t){var e=t.option,n=e.data,i=n&&Y(n,L2);return new r({categories:i,needCollect:!i,deduplication:e.dedplication!==!1})},r.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},r.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!Z(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,this._onCollect&&this._onCollect(t,e),e;var i=this._getOrCreateMap();return e=i.get(t),e==null&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e),this._onCollect&&this._onCollect(t,e)):e=NaN),e},r.prototype._getOrCreateMap=function(){return this._map||(this._map=nt(this.categories))},r})();function L2(r){return X(r)&&r.value!=null?r.value:r+""}var A1=(function(r){O(t,r);function t(e){var n=r.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new Zh({})),G(i)&&(i=new Zh({categories:Y(i,function(a){return X(a)?a.value:a})})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return t.prototype.parse=function(e){return e==null?NaN:Z(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return Cv(e,this._extent)&&e>=0&&e=0&&e=0&&e=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t})(vn);vn.registerClass(A1);var Gr=Yt,ea=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return t.prototype.parse=function(e){return e==null||e===""?NaN:Number(e)},t.prototype.contain=function(e){return Cv(e,this._extent)},t.prototype.normalize=function(e){return this._calculator.normalize(e,this._extent)},t.prototype.scale=function(e){return this._calculator.scale(e,this._extent)},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=wo(e)},t.prototype.getTicks=function(e){e=e||{};var n=this._interval,i=this._extent,a=this._niceExtent,o=this._intervalPrecision,s=gl(),l=[];if(!n)return l;e.breakTicks;var u=1e4;i[0]=0&&(h=Gr(h+c*n,o))}if(l.length>0&&h===l[l.length-1].value)break;if(l.length>u)return[]}var v=l.length?l[l.length-1].value:a[1];return i[1]>v&&(e.expandToNicedExtent?l.push({value:Gr(v+n,o)}):l.push({value:i[1]})),e.breakTicks,l},t.prototype.getMinorTicks=function(e){for(var n=this.getTicks({expandToNicedExtent:!0}),i=[],a=this.getExtent(),o=1;oa[0]&&d0&&(a=a===null?s:Math.min(a,s))}e[n]=a}}return e}function R1(r){var t=R2(r),e=[];return C(r,function(n){var i=n.coordinateSystem,a=i.getBaseAxis(),o=a.getExtent(),s;if(a.type==="category")s=a.getBandWidth();else if(a.type==="value"||a.type==="time"){var l=a.dim+"_"+a.index,u=t[l],f=Math.abs(o[1]-o[0]),h=a.scale.getExtent(),c=Math.abs(h[1]-h[0]);s=u?f/c*u:f}else{var v=n.getData();s=Math.abs(o[1]-o[0])/v.count()}var d=Mt(n.get("barWidth"),s),p=Mt(n.get("barMaxWidth"),s),m=Mt(n.get("barMinWidth")||(E1(n)?.5:1),s),g=n.get("barGap"),y=n.get("barCategoryGap"),_=n.get("defaultBarGap");e.push({bandWidth:s,barWidth:d,barMaxWidth:p,barMinWidth:m,barGap:g,barCategoryGap:y,defaultBarGap:_,axisKey:Mv(a),stackId:I1(n)})}),k2(e)}function k2(r){var t={};C(r,function(n,i){var a=n.axisKey,o=n.bandWidth,s=t[a]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:n.defaultBarGap||0,stacks:{}},l=s.stacks;t[a]=s;var u=n.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var f=n.barWidth;f&&!l[u].width&&(l[u].width=f,f=Math.min(s.remainedWidth,f),s.remainedWidth-=f);var h=n.barMaxWidth;h&&(l[u].maxWidth=h);var c=n.barMinWidth;c&&(l[u].minWidth=c);var v=n.barGap;v!=null&&(s.gap=v);var d=n.barCategoryGap;d!=null&&(s.categoryGap=d)});var e={};return C(t,function(n,i){e[i]={};var a=n.stacks,o=n.bandWidth,s=n.categoryGap;if(s==null){var l=Dt(a).length;s=Math.max(35-l*4,15)+"%"}var u=Mt(s,o),f=Mt(n.gap,1),h=n.remainedWidth,c=n.autoWidthCount,v=(h-u)/(c+(c-1)*f);v=Math.max(v,0),C(a,function(g){var y=g.maxWidth,_=g.minWidth;if(g.width){var S=g.width;y&&(S=Math.min(S,y)),_&&(S=Math.max(S,_)),g.width=S,h-=S+f*S,c--}else{var S=v;y&&yS&&(S=_),S!==v&&(g.width=S,h-=S+f*S,c--)}}),v=(h-u)/(c+(c-1)*f),v=Math.max(v,0);var d=0,p;C(a,function(g,y){g.width||(g.width=v),p=g,d+=g.width*(1+f)}),p&&(d-=p.width*f);var m=-d/2;C(a,function(g,y){e[i][y]=e[i][y]||{bandWidth:o,offset:m,width:g.width},m+=g.width*(1+f)})}),e}function E2(r,t,e){if(r&&t){var n=r[Mv(t)];return n}}function O2(r,t){var e=P1(r,t),n=R1(e);C(e,function(i){var a=i.getData(),o=i.coordinateSystem,s=o.getBaseAxis(),l=I1(i),u=n[Mv(s)][l],f=u.offset,h=u.width;a.setLayout({bandWidth:u.bandWidth,offset:f,size:h})})}function B2(r){return{seriesType:r,plan:gv(),reset:function(t){if(k1(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),a=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(a.dim)),s=e.getDimensionIndex(e.mapDimension(i.dim)),l=t.get("showBackground",!0),u=e.mapDimension(a.dim),f=e.getCalculationInfo("stackResultDimension"),h=ta(e,u)&&!!e.getCalculationInfo("stackedOnSeries"),c=a.isHorizontal(),v=N2(i,a),d=E1(t),p=t.get("barMinHeight")||0,m=f&&e.getDimensionIndex(f),g=e.getLayout("size"),y=e.getLayout("offset");return{progress:function(_,S){for(var x=_.count,b=d&&Ir(x*3),w=d&&l&&Ir(x*3),T=d&&Ir(x),D=n.master.getRect(),A=c?D.width:D.height,M,I=S.getStore(),L=0;(M=_.next())!=null;){var P=I.get(h?m:o,M),R=I.get(s,M),k=v,W=void 0;h&&(W=+P-I.get(o,M));var E=void 0,N=void 0,F=void 0,H=void 0;if(c){var V=n.dataToPoint([P,R]);if(h){var K=n.dataToPoint([W,R]);k=K[0]}E=k,N=V[1]+y,F=V[0]-k,H=g,Math.abs(F)0?e:1:e))}var z2=function(r,t,e,n){for(;e>>1;r[i][1]i&&(this._approxInterval=i);var o=bs.length,s=Math.min(z2(bs,this._approxInterval,0,o),o-1);this._interval=bs[s][1],this._intervalPrecision=wo(this._interval),this._minLevelUnit=bs[Math.max(s-1,0)][0]},t.prototype.parse=function(e){return bt(e)?e:+oa(e)},t.prototype.contain=function(e){return Cv(e,this._extent)},t.prototype.normalize=function(e){return this._calculator.normalize(e,this._extent)},t.prototype.scale=function(e){return this._calculator.scale(e,this._extent)},t.type="time",t})(ea),bs=[["second",ev],["minute",rv],["hour",no],["quarter-day",no*6],["half-day",no*12],["day",Re*1.2],["half-week",Re*3.5],["week",Re*7],["month",Re*31],["quarter",Re*95],["half-year",xp/2],["year",xp]];function V2(r,t,e,n){return Dh(new Date(t),r,n).getTime()===Dh(new Date(e),r,n).getTime()}function F2(r,t){return r/=Re,r>16?16:r>7.5?7:r>3.5?4:r>1.5?2:1}function H2(r){var t=30*Re;return r/=t,r>6?6:r>3?3:r>2?2:1}function G2(r){return r/=no,r>12?12:r>6?6:r>3.5?4:r>2?2:1}function kg(r,t){return r/=t?rv:ev,r>30?30:r>20?20:r>15?15:r>10?10:r>5?5:r>2?2:1}function W2(r){return l0(r)}function U2(r,t,e){var n=Math.max(0,ht(Qn,t)-1);return Dh(new Date(r),Qn[n],e).getTime()}function Y2(r,t){var e=new Date(0);e[r](1);var n=e.getTime();e[r](1+t);var i=e.getTime()-n;return function(a,o){return Math.max(0,Math.round((o-a)/i))}}function $2(r,t,e,n,i,a){var o=1e4,s=XM,l=0;function u(L,P,R,k,W,E,N){for(var F=Y2(W,L),H=P,V=new Date(H);Ho));)if(V[W](V[k]()+L),H=V.getTime(),a){var K=a.calcNiceTickMultiple(H,F);K>0&&(V[W](V[k]()+K*L),H=V.getTime())}N.push({value:H,notAdd:!0})}function f(L,P,R){var k=[],W=!P.length;if(!V2(io(L),n[0],n[1],e)){W&&(P=[{value:U2(n[0],L,e)},{value:n[1]}]);for(var E=0;E=n[0]&&N<=n[1]&&u(H,N,F,V,K,ft,k),L==="year"&&R.length>1&&E===0&&R.unshift({value:R[0].value-H})}}for(var E=0;E=n[0]&&S<=n[1]&&v++)}var x=i/t;if(v>x*1.5&&d>x/1.5||(h.push(y),v>x||r===s[p]))break}c=[]}}}for(var b=Ot(Y(h,function(L){return Ot(L,function(P){return P.value>=n[0]&&P.value<=n[1]&&!P.notAdd})}),function(L){return L.length>0}),w=[],T=b.length-1,p=0;p0;)a*=10;var s=[Xh(X2(n[0]/a)*a),Xh(Z2(n[1]/a)*a)];this._interval=a,this._intervalPrecision=wo(a),this._niceExtent=s}},t.prototype.calcNiceExtent=function(e){r.prototype.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.contain=function(e){return e=ws(e)/ws(this.base),r.prototype.contain.call(this,e)},t.prototype.normalize=function(e){return e=ws(e)/ws(this.base),r.prototype.normalize.call(this,e)},t.prototype.scale=function(e){return e=r.prototype.scale.call(this,e),xs(this.base,e)},t.prototype.setBreaksFromOption=function(e){},t.type="log",t})(ea);function bf(r,t){return Xh(r,Lr(t))}vn.registerClass(B1);var q2=(function(){function r(t,e,n){this._prepareParams(t,e,n)}return r.prototype._prepareParams=function(t,e,n){n[1]0&&l>0&&!u&&(s=0),s<0&&l<0&&!f&&(l=0));var c=this._determinedMin,v=this._determinedMax;return c!=null&&(s=c,u=!0),v!=null&&(l=v,f=!0),{min:s,max:l,minFixed:u,maxFixed:f,isBlank:h}},r.prototype.modifyDataMinMax=function(t,e){this[Q2[t]]=e},r.prototype.setDeterminedMinMax=function(t,e){var n=K2[t];this[n]=e},r.prototype.freeze=function(){this.frozen=!0},r})(),K2={min:"_determinedMin",max:"_determinedMax"},Q2={min:"_dataMin",max:"_dataMax"};function N1(r,t,e){var n=r.rawExtentInfo;return n||(n=new q2(r,t,e),r.rawExtentInfo=n,n)}function Ts(r,t){return t==null?null:en(t)?NaN:r.parse(t)}function z1(r,t){var e=r.type,n=N1(r,t,r.getExtent()).calculate();r.setBlank(n.isBlank);var i=n.min,a=n.max,o=t.ecModel;if(o&&e==="time"){var s=P1("bar",o),l=!1;if(C(s,function(h){l=l||h.getBaseAxis()===t.axis}),l){var u=R1(s),f=J2(i,a,t,u);i=f.min,a=f.max}}return{extent:[i,a],fixMin:n.minFixed,fixMax:n.maxFixed}}function J2(r,t,e,n){var i=e.axis.getExtent(),a=Math.abs(i[1]-i[0]),o=E2(n,e.axis);if(o===void 0)return{min:r,max:t};var s=1/0;C(o,function(v){s=Math.min(v.offset,s)});var l=-1/0;C(o,function(v){l=Math.max(v.offset+v.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,f=t-r,h=1-(s+l)/a,c=f/h-f;return t+=c*(l/u),r-=c*(s/u),{min:r,max:t}}function Eg(r,t){var e=t,n=z1(r,e),i=n.extent,a=e.get("splitNumber");r instanceof B1&&(r.base=e.get("logBase"));var o=r.type,s=e.get("interval"),l=o==="interval"||o==="time";r.setBreaksFromOption(H1(e)),r.setExtent(i[0],i[1]),r.calcNiceExtent({splitNumber:a,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:l?e.get("minInterval"):null,maxInterval:l?e.get("maxInterval"):null}),s!=null&&r.setInterval&&r.setInterval(s)}function j2(r,t){if(t=t||r.get("type"),t)switch(t){case"category":return new A1({ordinalMeta:r.getOrdinalMeta?r.getOrdinalMeta():r.getCategories(),extent:[1/0,-1/0]});case"time":return new O1({locale:r.ecModel.getLocaleModel(),useUTC:r.ecModel.get("useUTC")});default:return new(vn.getClass(t)||ea)}}function tI(r){var t=r.scale.getExtent(),e=t[0],n=t[1];return!(e>0&&n>0||e<0&&n<0)}function Fo(r){var t=r.getLabelModel().get("formatter");if(r.type==="time"){var e=qM(t);return function(i,a){return r.scale.getFormattedLabel(i,a,e)}}else{if(Z(t))return function(i){var a=r.scale.getLabel(i),o=t.replace("{value}",a??"");return o};if(tt(t)){if(r.type==="category")return function(i,a){return t(Ml(r,i),i.value-r.scale.getExtent()[0],null)};var n=gl();return function(i,a){var o=null;return n&&(o=n.makeAxisLabelFormatterParamBreak(o,i.break)),t(Ml(r,i),a,o)}}else return function(i){return r.scale.getLabel(i)}}}function Ml(r,t){return r.type==="category"?r.scale.getLabel(t):t.value}function Dv(r){var t=r.get("interval");return t??"auto"}function V1(r){return r.type==="category"&&Dv(r.getLabelModel())===0}function F1(r,t){var e={};return C(r.mapDimensionsAll(t),function(n){e[S2(r,n)]=!0}),Dt(e)}function eI(r,t,e){t&&C(F1(t,e),function(n){var i=t.getApproximateExtent(n);i[0]r[1]&&(r[1]=i[1])})}function ra(r){return r==="middle"||r==="center"}function To(r){return r.getShallow("show")}function H1(r){var t=r.get("breaks",!0);t==null}var rI=(function(){function r(){}return r.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},r.prototype.getCoordSysModel=function(){},r})(),Og=[],nI={registerPreprocessor:y1,registerProcessor:_1,registerPostInit:KL,registerPostUpdate:QL,registerUpdateLifecycle:bv,registerAction:Sr,registerCoordinateSystem:JL,registerLayout:jL,registerVisual:fi,registerTransform:e2,registerLoading:S1,registerMap:t2,registerImpl:IL,PRIORITY:WL,ComponentModel:mt,ComponentView:de,SeriesModel:be,ChartView:he,registerComponentModel:function(r){mt.registerClass(r)},registerComponentView:function(r){de.registerClass(r)},registerSeriesModel:function(r){be.registerClass(r)},registerChartView:function(r){he.registerClass(r)},registerCustomSeries:function(r,t){},registerSubTypeDefaulter:function(r,t){mt.registerSubTypeDefaulter(r,t)},registerPainter:function(r,t){Ww(r,t)}};function pe(r){if(G(r)){C(r,function(t){pe(t)});return}ht(Og,r)>=0||(Og.push(r),tt(r)&&(r={install:r}),r.install(nI))}var iI=wt(),so=wt(),je={estimate:1,determine:2};function Dl(r){return{out:{noPxChangeTryDetermine:[]},kind:r}}function G1(r,t){var e=Y(t,function(n){return r.scale.parse(n)});return r.type==="time"&&e.length>0&&(e.sort(),e.unshift(e[0]),e.push(e[e.length-1])),e}function aI(r,t){var e=r.getLabelModel().get("customValues");if(e){var n=Fo(r),i=r.scale.getExtent(),a=G1(r,e),o=Ot(a,function(s){return s>=i[0]&&s<=i[1]});return{labels:Y(o,function(s){var l={value:s};return{formattedLabel:n(l),rawLabel:r.scale.getLabel(l),tickValue:s,time:void 0,break:void 0}})}}return r.type==="category"?sI(r,t):uI(r)}function oI(r,t,e){var n=r.getTickModel().get("customValues");if(n){var i=r.scale.getExtent(),a=G1(r,n);return{ticks:Ot(a,function(o){return o>=i[0]&&o<=i[1]})}}return r.type==="category"?lI(r,t):{ticks:Y(r.scale.getTicks(e),function(o){return o.value})}}function sI(r,t){var e=r.getLabelModel(),n=W1(r,e,t);return!e.get("show")||r.scale.isBlank()?{labels:[]}:n}function W1(r,t,e){var n=hI(r),i=Dv(t),a=e.kind===je.estimate;if(!a){var o=Y1(n,i);if(o)return o}var s,l;tt(i)?s=X1(r,i):(l=i==="auto"?cI(r,e):i,s=Z1(r,l));var u={labels:s,labelCategoryInterval:l};return a?e.out.noPxChangeTryDetermine.push(function(){return qh(n,i,u),!0}):qh(n,i,u),u}function lI(r,t){var e=fI(r),n=Dv(t),i=Y1(e,n);if(i)return i;var a,o;if((!t.get("show")||r.scale.isBlank())&&(a=[]),tt(n))a=X1(r,n,!0);else if(n==="auto"){var s=W1(r,r.getLabelModel(),Dl(je.determine));o=s.labelCategoryInterval,a=Y(s.labels,function(l){return l.tickValue})}else o=n,a=Z1(r,o,!0);return qh(e,n,{ticks:a,tickCategoryInterval:o})}function uI(r){var t=r.scale.getTicks(),e=Fo(r);return{labels:Y(t,function(n,i){return{formattedLabel:e(n,i),rawLabel:r.scale.getLabel(n),tickValue:n.value,time:n.time,break:n.break}})}}var fI=U1("axisTick"),hI=U1("axisLabel");function U1(r){return function(e){return so(e)[r]||(so(e)[r]={list:[]})}}function Y1(r,t){for(var e=0;ef&&(u=Math.max(1,Math.floor(l/f)));for(var h=s[0],c=r.dataToCoord(h+1)-r.dataToCoord(h),v=Math.abs(c*Math.cos(a)),d=Math.abs(c*Math.sin(a)),p=0,m=0;h<=s[1];h+=u){var g=0,y=0,_=Rc(i({value:h}),n.font,"center","top");g=_.width*1.3,y=_.height*1.3,p=Math.max(p,g,7),m=Math.max(m,y,7)}var S=p/v,x=m/d;isNaN(S)&&(S=1/0),isNaN(x)&&(x=1/0);var b=Math.max(0,Math.floor(Math.min(S,x)));if(e===je.estimate)return t.out.noPxChangeTryDetermine.push($(dI,null,r,b,l)),b;var w=$1(r,b,l);return w??b}function dI(r,t,e){return $1(r,t,e)==null}function $1(r,t,e){var n=iI(r.model),i=r.getExtent(),a=n.lastAutoInterval,o=n.lastTickCount;if(a!=null&&o!=null&&Math.abs(a-t)<=1&&Math.abs(o-e)<=1&&a>t&&n.axisExtent0===i[0]&&n.axisExtent1===i[1])return a;n.lastTickCount=e,n.lastAutoInterval=t,n.axisExtent0=i[0],n.axisExtent1=i[1]}function pI(r){var t=r.getLabelModel();return{axisRotate:r.getRotate?r.getRotate():r.isHorizontal&&!r.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function Z1(r,t,e){var n=Fo(r),i=r.scale,a=i.getExtent(),o=r.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=a[0],f=i.count();u!==0&&l>1&&f/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=V1(r),c=o.get("showMinLabel")||h,v=o.get("showMaxLabel")||h;c&&u!==a[0]&&p(a[0]);for(var d=u;d<=a[1];d+=l)p(d);v&&d-l!==a[1]&&p(a[1]);function p(m){var g={value:m};s.push(e?m:{formattedLabel:n(g),rawLabel:i.getLabel(g),tickValue:m,time:void 0,break:void 0})}return s}function X1(r,t,e){var n=r.scale,i=Fo(r),a=[];return C(n.getTicks(),function(o){var s=n.getLabel(o),l=o.value;t(o.value,s)&&a.push(e?l:{formattedLabel:i(o),rawLabel:s,tickValue:l,time:void 0,break:void 0})}),a}var Bg=[0,1],gI=(function(){function r(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return r.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},r.prototype.containData=function(t){return this.scale.contain(this.scale.parse(t))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.getPixelPrecision=function(t){return o0(t||this.scale.getExtent(),this._extent)},r.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},r.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(i.parse(t)),this.onBand&&i.type==="ordinal"&&(n=n.slice(),Ng(n,i.count())),Ct(t,Bg,n,e)},r.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(n=n.slice(),Ng(n,i.count()));var a=Ct(t,n,Bg,e);return this.scale.scale(a)},r.prototype.pointToData=function(t,e){},r.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=oI(this,e,{breakTicks:t.breakTicks,pruneByBreak:t.pruneByBreak}),i=n.ticks,a=Y(i,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=e.get("alignWithLabel");return mI(this,a,o,t.clamp),a},r.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),i=Y(n,function(a){return Y(a,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return i},r.prototype.getViewLabels=function(t){return t=t||Dl(je.determine),aI(this,t).labels},r.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},r.prototype.getTickModel=function(){return this.model.getModel("axisTick")},r.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);n===0&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},r.prototype.calculateCategoryInterval=function(t){return t=t||Dl(je.determine),vI(this,t)},r})();function Ng(r,t){var e=r[1]-r[0],n=t,i=e/n/2;r[0]+=i,r[1]-=i}function mI(r,t,e,n){var i=t.length;if(!r.onBand||e||!i)return;var a=r.getExtent(),o,s;if(i===1)t[0].coord=a[0],t[0].onBand=!0,o=t[1]={coord:a[1],tickValue:t[0].tickValue,onBand:!0};else{var l=t[i-1].tickValue-t[0].tickValue,u=(t[i-1].coord-t[0].coord)/l;C(t,function(v){v.coord-=u/2,v.onBand=!0});var f=r.scale.getExtent();s=1+f[1]-t[i-1].tickValue,o={coord:t[i-1].coord+u*s,tickValue:f[1]+1,onBand:!0},t.push(o)}var h=a[0]>a[1];c(t[0].coord,a[0])&&(n?t[0].coord=a[0]:t.shift()),n&&c(a[0],t[0].coord)&&t.unshift({coord:a[0],onBand:!0}),c(a[1],o.coord)&&(n?o.coord=a[1]:t.pop()),n&&c(o.coord,a[1])&&t.push({coord:a[1],onBand:!0});function c(v,d){return v=Yt(v),d=Yt(d),h?v>d:v0){t=t/180*Math.PI,Qr.fromArray(r[0]),Pt.fromArray(r[1]),Wt.fromArray(r[2]),at.sub(Jr,Qr,Pt),at.sub(fr,Wt,Pt);var e=Jr.len(),n=fr.len();if(!(e<.001||n<.001)){Jr.scale(1/e),fr.scale(1/n);var i=Jr.dot(fr),a=Math.cos(t);if(a1&&at.copy(re,Wt),re.toArray(r[1])}}}}function _I(r,t,e){if(e<=180&&e>0){e=e/180*Math.PI,Qr.fromArray(r[0]),Pt.fromArray(r[1]),Wt.fromArray(r[2]),at.sub(Jr,Pt,Qr),at.sub(fr,Wt,Pt);var n=Jr.len(),i=fr.len();if(!(n<.001||i<.001)){Jr.scale(1/n),fr.scale(1/i);var a=Jr.dot(t),o=Math.cos(e);if(a=l)at.copy(re,Wt);else{re.scaleAndAdd(fr,s/Math.tan(Math.PI/2-f));var h=Wt.x!==Pt.x?(re.x-Pt.x)/(Wt.x-Pt.x):(re.y-Pt.y)/(Wt.y-Pt.y);if(isNaN(h))return;h<0?at.copy(re,Pt):h>1&&at.copy(re,Wt)}re.toArray(r[1])}}}}function xf(r,t,e,n){var i=e==="normal",a=i?r:r.ensureState(e);a.ignore=t;var o=n.get("smooth");o&&o===!0&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=n.getModel("lineStyle").getLineStyle();i?r.useStyle(s):a.style=s}function SI(r,t){var e=t.smooth,n=t.points;if(n)if(r.moveTo(n[0][0],n[0][1]),e>0&&n.length>=3){var i=Xf(n[0],n[1]),a=Xf(n[1],n[2]);if(!i||!a){r.lineTo(n[1][0],n[1][1]),r.lineTo(n[2][0],n[2][1]);return}var o=Math.min(i,a)*e,s=du([],n[1],n[0],o/i),l=du([],n[1],n[2],o/a),u=du([],s,l,.5);r.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),r.bezierCurveTo(l[0],l[1],l[0],l[1],n[2][0],n[2][1])}else for(var f=1;f0){S(A*D,0,a);var M=A+w;M<0&&x(-M*D,1)}else x(-w*D,1)}}function S(w,T,D){w!==0&&(f=!0);for(var A=T;A0)for(var M=0;M0;M--){var R=D[M-1]*P;S(-R,M,a)}}}function b(w){var T=w<0?-1:1;w=Math.abs(w);for(var D=Math.ceil(w/(a-1)),A=0;A0?S(D,0,A+1):S(-D,a-A-1,a),w-=D,w<=0)return}return f}function DI(r){var t=[];r.sort(function(u,f){return(f.suggestIgnore?1:0)-(u.suggestIgnore?1:0)||f.priority-u.priority});function e(u){if(!u.ignore){var f=u.ensureState("emphasis");f.ignore==null&&(f.ignore=!1)}u.ignore=!0}for(var n=0;n-1&&(u.style.stroke=u.style.fill,u.style.fill=B.color.neutral00,u.style.lineWidth=2),n},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:6,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t})(be);function Lv(r,t){var e=r.mapDimensionsAll("defaultedLabel"),n=e.length;if(n===1){var i=ji(r,t,e[0]);return i!=null?i+"":null}else if(n){for(var a=[],o=0;o=0&&n.push(t[a])}return n.join(" ")}var Iv=(function(r){O(t,r);function t(e,n,i,a){var o=r.call(this)||this;return o.updateData(e,n,i,a),o}return t.prototype._createSymbol=function(e,n,i,a,o,s){this.removeAll();var l=Fe(e,-1,-1,2,2,null,s);l.attr({z2:j(o,100),culling:!0,scaleX:a[0]/2,scaleY:a[1]/2}),l.drift=LI,this._symbolType=e,this.add(l)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){qi(this.childAt(0))},t.prototype.downplay=function(){Ki(this.childAt(0))},t.prototype.setZ=function(e,n){var i=this.childAt(0);i.zlevel=e,i.z=n},t.prototype.setDraggable=function(e,n){var i=this.childAt(0);i.draggable=e,i.cursor=!n&&e?"move":i.cursor},t.prototype.updateData=function(e,n,i,a){this.silent=!1;var o=e.getItemVisual(n,"symbol")||"circle",s=e.hostModel,l=t.getSymbolSize(e,n),u=t.getSymbolZ2(e,n),f=o!==this._symbolType,h=a&&a.disableAnimation;if(f){var c=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,e,n,l,u,c)}else{var v=this.childAt(0);v.silent=!1;var d={scaleX:l[0]/2,scaleY:l[1]/2};h?v.attr(d):ie(v,d,s,n),qc(v)}if(this._updateCommon(e,n,l,i,a),f){var v=this.childAt(0);if(!h){var d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:v.style.opacity}};v.scaleX=v.scaleY=0,v.style.opacity=0,Ne(v,d,s,n)}}h&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,n,i,a,o){var s=this.childAt(0),l=e.hostModel,u,f,h,c,v,d,p,m,g;if(a&&(u=a.emphasisItemStyle,f=a.blurItemStyle,h=a.selectItemStyle,c=a.focus,v=a.blurScope,p=a.labelStatesModels,m=a.hoverScale,g=a.cursorStyle,d=a.emphasisDisabled),!a||e.hasItemOption){var y=a&&a.itemModel?a.itemModel:e.getItemModel(n),_=y.getModel("emphasis");u=_.getModel("itemStyle").getItemStyle(),h=y.getModel(["select","itemStyle"]).getItemStyle(),f=y.getModel(["blur","itemStyle"]).getItemStyle(),c=_.get("focus"),v=_.get("blurScope"),d=_.get("disabled"),p=ri(y),m=_.getShallow("scale"),g=y.getShallow("cursor")}var S=e.getItemVisual(n,"symbolRotate");s.attr("rotation",(S||0)*Math.PI/180||0);var x=Q_(e.getItemVisual(n,"symbolOffset"),i);x&&(s.x=x[0],s.y=x[1]),g&&s.attr("cursor",g);var b=e.getItemVisual(n,"style"),w=b.fill;if(s instanceof _r){var T=s.style;s.useStyle(z({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},b))}else s.__isEmptyBrush?s.useStyle(z({},b)):s.useStyle(b),s.style.decal=null,s.setColor(w,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var D=e.getItemVisual(n,"liftZ"),A=this._z2;D!=null?A==null&&(this._z2=s.z2,s.z2+=D):A!=null&&(s.z2=A,this._z2=null);var M=o&&o.useNameLabel;ua(s,p,{labelFetcher:l,labelDataIndex:n,defaultText:I,inheritColor:w,defaultOpacity:b.opacity});function I(R){return M?e.getName(R):Lv(e,R)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var L=s.ensureState("emphasis");L.style=u,s.ensureState("select").style=h,s.ensureState("blur").style=f;var P=m==null||m===!0?Math.max(1.1,3/this._sizeY):isFinite(m)&&m>0?+m:1;L.scaleX=this._sizeX*P,L.scaleY=this._sizeY*P,this.setSymbolScale(1),Qi(this,c,v,d)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,n,i){var a=this.childAt(0),o=vt(this).dataIndex,s=i&&i.animation;if(this.silent=a.silent=!0,i&&i.fadeLabel){var l=a.getTextContent();l&&vl(l,{style:{opacity:0}},n,{dataIndex:o,removeOpt:s,cb:function(){a.removeTextContent()}})}else a.removeTextContent();vl(a,{style:{opacity:0},scaleX:0,scaleY:0},n,{dataIndex:o,cb:e,removeOpt:s})},t.getSymbolSize=function(e,n){return vL(e.getItemVisual(n,"symbolSize"))},t.getSymbolZ2=function(e,n){return e.getItemVisual(n,"z2")},t})(xt);function LI(r,t){this.parent.drift(r,t)}function Tf(r,t,e,n){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(n.isIgnore&&n.isIgnore(e))&&!(n.clipShape&&!n.clipShape.contain(t[0],t[1]))&&r.getItemVisual(e,"symbol")!=="none"}function Hg(r){return r!=null&&!X(r)&&(r={isIgnore:r}),r||{}}function Gg(r){var t=r.hostModel,e=t.getModel("emphasis");return{emphasisItemStyle:e.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:e.get("focus"),blurScope:e.get("blurScope"),emphasisDisabled:e.get("disabled"),hoverScale:e.get("scale"),labelStatesModels:ri(t),cursorStyle:t.get("cursor")}}var tS=(function(){function r(t){this.group=new xt,this._SymbolCtor=t||Iv}return r.prototype.updateData=function(t,e){this._progressiveEls=null,e=Hg(e);var n=this.group,i=t.hostModel,a=this._data,o=this._SymbolCtor,s=e.disableAnimation,l=Gg(t),u={disableAnimation:s},f=e.getSymbolPoint||function(h){return t.getItemLayout(h)};a||n.removeAll(),t.diff(a).add(function(h){var c=f(h);if(Tf(t,c,h,e)){var v=new o(t,h,l,u);v.setPosition(c),t.setItemGraphicEl(h,v),n.add(v)}}).update(function(h,c){var v=a.getItemGraphicEl(c),d=f(h);if(!Tf(t,d,h,e)){n.remove(v);return}var p=t.getItemVisual(h,"symbol")||"circle",m=v&&v.getSymbolType&&v.getSymbolType();if(!v||m&&m!==p)n.remove(v),v=new o(t,h,l,u),v.setPosition(d);else{v.updateData(t,h,l,u);var g={x:d[0],y:d[1]};s?v.attr(g):ie(v,g,i)}n.add(v),t.setItemGraphicEl(h,v)}).remove(function(h){var c=a.getItemGraphicEl(h);c&&c.fadeOut(function(){n.remove(c)},i)}).execute(),this._getSymbolPoint=f,this._data=t},r.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(n,i){var a=t._getSymbolPoint(i);n.setPosition(a),n.markRedraw()})},r.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=Gg(t),this._data=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(t,e,n){this._progressiveEls=[],n=Hg(n);function i(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var a=t.start;a0?e=n[0]:n[1]<0&&(e=n[1]),e}function rS(r,t,e,n){var i=NaN;r.stacked&&(i=e.get(e.getCalculationInfo("stackedOverDimension"),n)),isNaN(i)&&(i=r.valueStart);var a=r.baseDataOffset,o=[];return o[a]=e.get(r.baseDim,n),o[1-a]=i,t.dataToPoint(o)}function PI(r,t){var e=[];return t.diff(r).add(function(n){e.push({cmd:"+",idx:n})}).update(function(n,i){e.push({cmd:"=",idx:i,idx1:n})}).remove(function(n){e.push({cmd:"-",idx:n})}).execute(),e}function RI(r,t,e,n,i,a,o,s){for(var l=PI(r,t),u=[],f=[],h=[],c=[],v=[],d=[],p=[],m=eS(i,t,o),g=r.getLayout("points")||[],y=t.getLayout("points")||[],_=0;_=i||p<0)break;if(jn(g,y)){if(l){p+=a;continue}break}if(p===e)r[a>0?"moveTo":"lineTo"](g,y),h=g,c=y;else{var _=g-u,S=y-f;if(_*_+S*S<.5){p+=a;continue}if(o>0){for(var x=p+a,b=t[x*2],w=t[x*2+1];b===g&&w===y&&m=n||jn(b,w))v=g,d=y;else{A=b-u,M=w-f;var P=g-u,R=b-g,k=y-f,W=w-y,E=void 0,N=void 0;if(s==="x"){E=Math.abs(P),N=Math.abs(R);var F=A>0?1:-1;v=g-F*E*o,d=y,I=g+F*N*o,L=y}else if(s==="y"){E=Math.abs(k),N=Math.abs(W);var H=M>0?1:-1;v=g,d=y-H*E*o,I=g,L=y+H*N*o}else E=Math.sqrt(P*P+k*k),N=Math.sqrt(R*R+W*W),D=N/(N+E),v=g-A*o*(1-D),d=y-M*o*(1-D),I=g+A*o*D,L=y+M*o*D,I=Wr(I,Ur(b,g)),L=Wr(L,Ur(w,y)),I=Ur(I,Wr(b,g)),L=Ur(L,Wr(w,y)),A=I-g,M=L-y,v=g-A*E/N,d=y-M*E/N,v=Wr(v,Ur(u,g)),d=Wr(d,Ur(f,y)),v=Ur(v,Wr(u,g)),d=Ur(d,Wr(f,y)),A=g-v,M=y-d,I=g+A*N/E,L=y+M*N/E}r.bezierCurveTo(h,c,v,d,g,y),h=I,c=L}else r.lineTo(g,y)}u=g,f=y,p+=a}return m}var nS=(function(){function r(){this.smooth=0,this.smoothConstraint=!0}return r})(),kI=(function(r){O(t,r);function t(e){var n=r.call(this,e)||this;return n.type="ec-polyline",n}return t.prototype.getDefaultStyle=function(){return{stroke:B.color.neutral99,fill:null}},t.prototype.getDefaultShape=function(){return new nS},t.prototype.buildPath=function(e,n){var i=n.points,a=0,o=i.length/2;if(n.connectNulls){for(;o>0&&jn(i[o*2-2],i[o*2-1]);o--);for(;a=0){var S=u?(d-l)*_+l:(v-s)*_+s;return u?[e,S]:[S,e]}s=v,l=d;break;case o.C:v=a[h++],d=a[h++],p=a[h++],m=a[h++],g=a[h++],y=a[h++];var x=u?js(s,v,p,g,e,f):js(l,d,m,y,e,f);if(x>0)for(var b=0;b=0){var S=u?Ut(l,d,m,y,w):Ut(s,v,p,g,w);return u?[e,S]:[S,e]}}s=g,l=y;break}}},t})(_t),EI=(function(r){O(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t})(nS),OI=(function(r){O(t,r);function t(e){var n=r.call(this,e)||this;return n.type="ec-polygon",n}return t.prototype.getDefaultShape=function(){return new EI},t.prototype.buildPath=function(e,n){var i=n.points,a=n.stackedOnPoints,o=0,s=i.length/2,l=n.smoothMonotone;if(n.connectNulls){for(;s>0&&jn(i[s*2-2],i[s*2-1]);s--);for(;ot){a?e.push(o(a,l,t)):i&&e.push(o(i,l,0),o(i,l,t));break}else i&&(e.push(o(i,l,0)),i=null),e.push(l),a=l}return e}function VI(r,t,e){var n=r.getVisual("visualMeta");if(!(!n||!n.length||!r.count())&&t.type==="cartesian2d"){for(var i,a,o=n.length-1;o>=0;o--){var s=r.getDimensionInfo(n[o].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){a=n[o];break}}if(a){var l=t.getAxis(i),u=Y(a.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),f=u.length,h=a.outerColors.slice();f&&u[0].coord>u[f-1].coord&&(u.reverse(),h.reverse());var c=zI(u,i==="x"?e.getWidth():e.getHeight()),v=c.length;if(!v&&f)return u[0].coord<0?h[1]?h[1]:u[f-1].color:h[0]?h[0]:u[0].color;var d=10,p=c[0].coord-d,m=c[v-1].coord+d,g=m-p;if(g<.001)return"transparent";C(c,function(_){_.offset=(_.coord-p)/g}),c.push({offset:v?c[v-1].offset:.5,color:h[1]||"transparent"}),c.unshift({offset:v?c[0].offset:.5,color:h[0]||"transparent"});var y=new Zc(0,0,0,0,c,!0);return y[i]=p,y[i+"2"]=m,y}}}function FI(r,t,e){var n=r.get("showAllSymbol"),i=n==="auto";if(!(n&&!i)){var a=e.getAxesByScale("ordinal")[0];if(a&&!(i&&HI(a,t))){var o=t.mapDimension(a.dim),s={};return C(a.getViewLabels(),function(l){var u=a.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(o,l))}}}}function HI(r,t){var e=r.getExtent(),n=Math.abs(e[1]-e[0])/r.scale.count();isNaN(n)&&(n=0);for(var i=t.count(),a=Math.max(1,Math.round(i/5)),o=0;on)return!1;return!0}function GI(r,t){return isNaN(r)||isNaN(t)}function WI(r){for(var t=r.length/2;t>0&&GI(r[t*2-2],r[t*2-1]);t--);return t-1}function Zg(r,t){return[r[t*2],r[t*2+1]]}function UI(r,t,e){for(var n=r.length/2,i=e==="x"?0:1,a,o,s=0,l=-1,u=0;u=t||a>=t&&o<=t){l=u;break}s=u,a=o}return{range:[s,l],t:(t-a)/(o-a)}}function oS(r){if(r.get(["endLabel","show"]))return!0;for(var t=0;t0&&e.get(["emphasis","lineStyle","width"])==="bolder"){var N=d.getState("emphasis").style;N.lineWidth=+d.style.lineWidth+1}vt(d).seriesIndex=e.seriesIndex,Qi(d,k,W,E);var F=$g(e.get("smooth")),H=e.get("smoothMonotone");if(d.setShape({smooth:F,smoothMonotone:H,connectNulls:w}),p){var V=s.getCalculationInfo("stackedOnSeries"),K=0;p.useStyle(dt(u.getAreaStyle(),{fill:I,opacity:.7,lineJoin:"bevel",decal:s.getVisual("style").decal})),V&&(K=$g(V.get("smooth"))),p.setShape({smooth:F,stackedOnSmooth:K,smoothMonotone:H,connectNulls:w}),cl(p,e,"areaStyle"),vt(p).seriesIndex=e.seriesIndex,Qi(p,k,W,E)}var ft=this._changePolyState;s.eachItemGraphicEl(function(St){St&&(St.onHoverStateChange=ft)}),this._polyline.onHoverStateChange=ft,this._data=s,this._coordSys=a,this._stackedOnPoints=x,this._points=f,this._step=A,this._valueOrigin=_,e.get("triggerLineEvent")&&(this.packEventData(e,d),p&&this.packEventData(e,p))},t.prototype.packEventData=function(e,n){vt(n).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,n,i,a){var o=e.getData(),s=ti(o,a);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=o.getLayout("points"),u=o.getItemGraphicEl(s);if(!u){var f=l[s*2],h=l[s*2+1];if(isNaN(f)||isNaN(h)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(f,h))return;var c=e.get("zlevel")||0,v=e.get("z")||0;u=new Iv(o,s),u.x=f,u.y=h,u.setZ(c,v);var d=u.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=v,d.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else he.prototype.highlight.call(this,e,n,i,a)},t.prototype.downplay=function(e,n,i,a){var o=e.getData(),s=ti(o,a);if(this._changePolyState("normal"),s!=null&&s>=0){var l=o.getItemGraphicEl(s);l&&(l.__temp?(o.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else he.prototype.downplay.call(this,e,n,i,a)},t.prototype._changePolyState=function(e){var n=this._polygon;ep(this._polyline,e),n&&ep(n,e)},t.prototype._newPolyline=function(e){var n=this._polyline;return n&&this._lineGroup.remove(n),n=new kI({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(n),this._polyline=n,n},t.prototype._newPolygon=function(e,n){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new OI({shape:{points:e,stackedOnPoints:n},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(e,n,i){var a,o,s=n.getBaseAxis(),l=s.inverse;n.type==="cartesian2d"?(a=s.isHorizontal(),o=!1):n.type==="polar"&&(a=s.dim==="angle",o=!0);var u=e.hostModel,f=u.get("animationDuration");tt(f)&&(f=f(null));var h=u.get("animationDelay")||0,c=tt(h)?h(null):h;e.eachItemGraphicEl(function(v,d){var p=v;if(p){var m=[v.x,v.y],g=void 0,y=void 0,_=void 0;if(i)if(o){var S=i,x=n.pointToCoord(m);a?(g=S.startAngle,y=S.endAngle,_=-x[1]/180*Math.PI):(g=S.r0,y=S.r,_=x[0])}else{var b=i;a?(g=b.x,y=b.x+b.width,_=v.x):(g=b.y+b.height,y=b.y,_=v.y)}var w=y===g?0:(_-g)/(y-g);l&&(w=1-w);var T=tt(h)?h(d):f*w+c,D=p.getSymbolPath(),A=D.getTextContent();p.attr({scaleX:0,scaleY:0}),p.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:T}),A&&A.animateFrom({style:{opacity:0}},{duration:300,delay:T}),D.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(e,n,i){var a=e.getModel("endLabel");if(oS(e)){var o=e.getData(),s=this._polyline,l=o.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new At({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var f=WI(l);f>=0&&(ua(s,ri(e,"endLabel"),{inheritColor:i,labelFetcher:e,labelDataIndex:f,defaultText:function(h,c,v){return v!=null?j1(o,v):Lv(o,h)},enableTextSetter:!0},YI(a,n)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,n,i,a,o,s,l){var u=this._endLabel,f=this._polyline;if(u){e<1&&a.originalX==null&&(a.originalX=u.x,a.originalY=u.y);var h=i.getLayout("points"),c=i.hostModel,v=c.get("connectNulls"),d=s.get("precision"),p=s.get("distance")||0,m=l.getBaseAxis(),g=m.isHorizontal(),y=m.inverse,_=n.shape,S=y?g?_.x:_.y+_.height:g?_.x+_.width:_.y,x=(g?p:0)*(y?-1:1),b=(g?0:-p)*(y?-1:1),w=g?"x":"y",T=UI(h,S,w),D=T.range,A=D[1]-D[0],M=void 0;if(A>=1){if(A>1&&!v){var I=Zg(h,D[0]);u.attr({x:I[0]+x,y:I[1]+b}),o&&(M=c.getRawValue(D[0]))}else{var I=f.getPointOn(S,w);I&&u.attr({x:I[0]+x,y:I[1]+b});var L=c.getRawValue(D[0]),P=c.getRawValue(D[1]);o&&(M=mT(i,d,L,P,T.t))}a.lastFrameIndex=D[0]}else{var R=e===1||a.lastFrameIndex>0?D[0]:0,I=Zg(h,R);o&&(M=c.getRawValue(R)),u.attr({x:I[0]+x,y:I[1]+b})}if(o){var k=Jl(u);typeof k.setLabelText=="function"&&k.setLabelText(M)}}},t.prototype._doUpdateAnimation=function(e,n,i,a,o,s,l){var u=this._polyline,f=this._polygon,h=e.hostModel,c=RI(this._data,e,this._stackedOnPoints,n,this._coordSys,i,this._valueOrigin),v=c.current,d=c.stackedOnCurrent,p=c.next,m=c.stackedOnNext;if(o&&(d=Yr(c.stackedOnCurrent,c.current,i,o,l),v=Yr(c.current,null,i,o,l),m=Yr(c.stackedOnNext,c.next,i,o,l),p=Yr(c.next,null,i,o,l)),Yg(v,p)>3e3||f&&Yg(d,m)>3e3){u.stopAnimation(),u.setShape({points:p}),f&&(f.stopAnimation(),f.setShape({points:p,stackedOnPoints:m}));return}u.shape.__points=c.current,u.shape.points=v;var g={shape:{points:p}};c.current!==v&&(g.shape.__points=c.next),u.stopAnimation(),ie(u,g,h),f&&(f.setShape({points:v,stackedOnPoints:d}),f.stopAnimation(),ie(f,{shape:{stackedOnPoints:m}},h),u.shape.points!==f.shape.points&&(f.shape.points=u.shape.points));for(var y=[],_=c.status,S=0;S<_.length;S++){var x=_[S].cmd;if(x==="="){var b=e.getItemGraphicEl(_[S].idx1);b&&y.push({el:b,ptIdx:S})}}u.animators&&u.animators.length&&u.animators[0].during(function(){f&&f.dirtyShape();for(var w=u.shape.__points,T=0;Tt&&(t=r[e]);return isFinite(t)?t:NaN},min:function(r){for(var t=1/0,e=0;e10&&o.type==="cartesian2d"&&a){var l=o.getBaseAxis(),u=o.getOtherAxis(l),f=l.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(f[1]-f[0])*(h||1),v=Math.round(s/c);if(isFinite(v)&&v>1){a==="lttb"?t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/v)):a==="minmax"&&t.setData(i.minmaxDownSample(i.mapDimension(u.dim),1/v));var d=void 0;Z(a)?d=ZI[a]:tt(a)&&(d=a),d&&t.setData(i.downSample(i.mapDimension(u.dim),1/v,d,XI))}}}}}function qI(r){r.registerChartView($I),r.registerSeriesModel(AI),r.registerLayout(Pv("line",!0)),r.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,sS("line"))}var Qh=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,n){return Vo(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,n,i){var a=this.coordinateSystem;if(a&&a.clampData){var o=a.clampData(e),s=a.dataToPoint(o);if(i)C(a.getAxes(),function(c,v){if(c.type==="category"&&n!=null){var d=c.getTicksCoords(),p=c.getTickModel().get("alignWithLabel"),m=o[v],g=n[v]==="x1"||n[v]==="y1";if(g&&!p&&(m+=1),d.length<2)return;if(d.length===2){s[v]=c.toGlobalCoord(c.getExtent()[g?1:0]);return}for(var y=void 0,_=void 0,S=1,x=0;xm){_=(b+y)/2;break}x===1&&(S=w-d[0].tickValue)}_==null&&(y?y&&(_=d[d.length-1].coord):_=d[0].coord),s[v]=c.toGlobalCoord(_)}});else{var l=this.getData(),u=l.getLayout("offset"),f=l.getLayout("size"),h=a.getBaseAxis().isHorizontal()?0:1;s[h]+=u+f/2}return s}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",defaultBarGap:"10%"},t})(be);be.registerClass(Qh);var KI=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(){return Vo(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),n=this.get("largeThreshold");return n>e&&(e=n),e},t.prototype.brushSelector=function(e,n,i){return i.rect(n.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=fa(Qh.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:B.color.primary,borderWidth:2}},realtimeSort:!1}),t})(Qh),QI=(function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return r})(),Xg=(function(r){O(t,r);function t(e){var n=r.call(this,e)||this;return n.type="sausage",n}return t.prototype.getDefaultShape=function(){return new QI},t.prototype.buildPath=function(e,n){var i=n.cx,a=n.cy,o=Math.max(n.r0||0,0),s=Math.max(n.r,0),l=(s-o)*.5,u=o+l,f=n.startAngle,h=n.endAngle,c=n.clockwise,v=Math.PI*2,d=c?h-fMath.PI/2&&fs)return!0;s=h}return!1},t.prototype._isOrderDifferentInView=function(e,n){for(var i=n.scale,a=i.getExtent(),o=Math.max(0,a[0]),s=Math.min(a[1],i.getOrdinalMeta().categories.length-1);o<=s;++o)if(e.ordinalNumbers[o]!==i.getRawOrdinalNumber(o))return!0},t.prototype._updateSortWithinSameData=function(e,n,i,a){if(this._isOrderChangedWithinSameData(e,n,i)){var o=this._dataSort(e,i,n);this._isOrderDifferentInView(o,i)&&(this._removeOnRenderedListener(a),a.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:o}))}},t.prototype._dispatchInitSort=function(e,n,i){var a=n.baseAxis,o=this._dataSort(e,a,function(s){return e.get(e.mapDimension(n.otherAxis.dim),s)});i.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",isInitSort:!0,axisId:a.index,sortInfo:o})},t.prototype.remove=function(e,n){this._clear(this._model),this._removeOnRenderedListener(n)},t.prototype.dispose=function(e,n){this._removeOnRenderedListener(n)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var n=this.group,i=this._data;e&&e.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(a){ro(a,e,vt(a).dataIndex)})):n.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t})(he),qg={cartesian2d:function(r,t){var e=t.width<0?-1:1,n=t.height<0?-1:1;e<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height);var i=r.x+r.width,a=r.y+r.height,o=Mf(t.x,r.x),s=Df(t.x+t.width,i),l=Mf(t.y,r.y),u=Df(t.y+t.height,a),f=si?s:o,t.y=h&&l>a?u:l,t.width=f?0:s-o,t.height=h?0:u-l,e<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height),f||h},polar:function(r,t){var e=t.r0<=t.r?1:-1;if(e<0){var n=t.r;t.r=t.r0,t.r0=n}var i=Df(t.r,r.r),a=Mf(t.r0,r.r0);t.r=i,t.r0=a;var o=i-a<0;if(e<0){var n=t.r;t.r=t.r0,t.r0=n}return o}},Kg={cartesian2d:function(r,t,e,n,i,a,o,s,l){var u=new gt({shape:z({},n),z2:1});if(u.__dataIndex=e,u.name="item",a){var f=u.shape,h=i?"height":"width";f[h]=0}return u},polar:function(r,t,e,n,i,a,o,s,l){var u=!i&&l?Xg:cn,f=new u({shape:n,z2:1});f.name="item";var h=lS(i);if(f.calculateTextPosition=JI(h,{isRoundCap:u===Xg}),a){var c=f.shape,v=i?"r":"endAngle",d={};c[v]=i?n.r0:n.startAngle,d[v]=n[v],(s?ie:Ne)(f,{shape:d},a)}return f}};function rP(r,t){var e=r.get("realtimeSort",!0),n=t.getBaseAxis();if(e&&n.type==="category"&&t.type==="cartesian2d")return{baseAxis:n,otherAxis:t.getOtherAxis(n)}}function Qg(r,t,e,n,i,a,o,s){var l,u;a?(u={x:n.x,width:n.width},l={y:n.y,height:n.height}):(u={y:n.y,height:n.height},l={x:n.x,width:n.width}),s||(o?ie:Ne)(e,{shape:l},t,i,null);var f=t?r.baseAxis.model:null;(o?ie:Ne)(e,{shape:u},f,i)}function Jg(r,t){for(var e=0;e0?1:-1,o=n.height>0?1:-1;return{x:n.x+a*i/2,y:n.y+o*i/2,width:n.width-a*i,height:n.height-o*i}},polar:function(r,t,e){var n=r.getItemLayout(t);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}}};function aP(r){return r.startAngle!=null&&r.endAngle!=null&&r.startAngle===r.endAngle}function lS(r){return(function(t){var e=t?"Arc":"Angle";return function(n){switch(n){case"start":case"insideStart":case"end":case"insideEnd":return n+e;default:return n}}})(r)}function tm(r,t,e,n,i,a,o,s){var l=t.getItemVisual(e,"style");if(s){if(!a.get("roundCap")){var f=r.shape,h=Ua(n.getModel("itemStyle"),f,!0);z(f,h),r.setShape(f)}}else{var u=n.get(["itemStyle","borderRadius"])||0;r.setShape("r",u)}r.useStyle(l);var c=n.getShallow("cursor");c&&r.attr("cursor",c);var v=s?o?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":o?i.height>=0?"bottom":"top":i.width>=0?"right":"left",d=ri(n);ua(r,d,{labelFetcher:a,labelDataIndex:e,defaultText:Lv(a.getData(),e),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:v});var p=r.getTextContent();if(s&&p){var m=n.get(["label","position"]);r.textConfig.inside=m==="middle"?!0:null,jI(r,m==="outside"?v:m,lS(o),n.get(["label","rotate"]))}IM(p,d,a.getRawValue(e),function(y){return j1(t,y)});var g=n.getModel(["emphasis"]);Qi(r,g.get("focus"),g.get("blurScope"),g.get("disabled")),cl(r,n),aP(i)&&(r.style.fill="none",r.style.stroke="none",C(r.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function oP(r,t){var e=r.get(["itemStyle","borderColor"]);if(!e||e==="none")return 0;var n=r.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),a=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(n,i,a)}var sP=(function(){function r(){}return r})(),em=(function(r){O(t,r);function t(e){var n=r.call(this,e)||this;return n.type="largeBar",n}return t.prototype.getDefaultShape=function(){return new sP},t.prototype.buildPath=function(e,n){for(var i=n.points,a=this.baseDimIdx,o=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,f=0;f=0?e:null},30,!1);function lP(r,t,e){for(var n=r.baseDimIdx,i=1-n,a=r.shape.points,o=r.largeDataIndices,s=[],l=[],u=r.barWidth,f=0,h=a.length/3;f=s[0]&&t<=s[0]+l[0]&&e>=s[1]&&e<=s[1]+l[1])return o[f]}return-1}function uS(r,t,e){if(Co(e,"cartesian2d")){var n=t,i=e.getArea();return{x:r?n.x:i.x,y:r?i.y:n.y,width:r?n.width:i.width,height:r?i.height:n.height}}else{var i=e.getArea(),a=t;return{cx:i.cx,cy:i.cy,r0:r?i.r0:a.r0,r:r?i.r:a.r,startAngle:r?a.startAngle:0,endAngle:r?a.endAngle:Math.PI*2}}}function uP(r,t,e){var n=r.type==="polar"?cn:gt;return new n({shape:uS(t,e,r),silent:!0,z2:0})}function fP(r){r.registerChartView(eP),r.registerSeriesModel(KI),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,pt(O2,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,B2("bar")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,sS("bar")),r.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(i){t.sortInfo&&i.axis.setCategorySortInfo(t.sortInfo)})})}var im=Math.PI*2,As=Math.PI/180;function hP(r,t,e){t.eachSeriesByType(r,function(n){var i=n.getData(),a=i.mapDimension("value"),o=fD(n,e),s=o.cx,l=o.cy,u=o.r,f=o.r0,h=o.viewRect,c=-n.get("startAngle")*As,v=n.get("endAngle"),d=n.get("padAngle")*As;v=v==="auto"?c-im:-v*As;var p=n.get("minAngle")*As,m=p+d,g=0;i.each(a,function(W){!isNaN(W)&&g++});var y=i.getSum(a),_=Math.PI/(y||g)*2,S=n.get("clockwise"),x=n.get("roseType"),b=n.get("stillShowZeroSum"),w=i.getDataExtent(a);w[0]=0;var T=S?1:-1,D=[c,v],A=T*d/2;w0(D,!S),c=D[0],v=D[1];var M=fS(n);M.startAngle=c,M.endAngle=v,M.clockwise=S,M.cx=s,M.cy=l,M.r=u,M.r0=f;var I=Math.abs(v-c),L=I,P=0,R=c;if(i.setLayout({viewRect:h,r:u}),i.each(a,function(W,E){var N;if(isNaN(W)){i.setItemLayout(E,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:S,cx:s,cy:l,r0:f,r:x?NaN:u});return}x!=="area"?N=y===0&&b?_:W*_:N=I/g,NN?(H=R+T*N/2,V=H):(H=R+A,V=F-A),i.setItemLayout(E,{angle:N,startAngle:H,endAngle:V,clockwise:S,cx:s,cy:l,r0:f,r:x?Ct(W,w,[f,u]):u}),R=F}),Le?g:m,x=Math.abs(_.label.y-e);if(x>=S.maxY){var b=_.label.x-t-_.len2*i,w=n+_.len,T=Math.abs(b)r.unconstrainedWidth?null:c:null;n.setStyle("width",v)}cS(a,n)}}}function cS(r,t){om.rect=r,J1(om,t,pP)}var pP={minMarginForce:[null,0,null,0],marginDefault:[1,0,1,0]},om={};function Af(r){return r.position==="center"}function gP(r){var t=r.getData(),e=[],n,i,a=!1,o=(r.get("minShowLabelAngle")||0)*vP,s=t.getLayout("viewRect"),l=t.getLayout("r"),u=s.width,f=s.x,h=s.y,c=s.height;function v(b){b.ignore=!0}function d(b){if(!b.ignore)return!0;for(var w in b.states)if(b.states[w].ignore===!1)return!0;return!1}t.each(function(b){var w=t.getItemGraphicEl(b),T=w.shape,D=w.getTextContent(),A=w.getTextGuideLine(),M=t.getItemModel(b),I=M.getModel("label"),L=I.get("position")||M.get(["emphasis","label","position"]),P=I.get("distanceToLabelLine"),R=I.get("alignTo"),k=Mt(I.get("edgeDistance"),u),W=I.get("bleedMargin");W==null&&(W=Math.min(u,c)>200?10:2);var E=M.getModel("labelLine"),N=E.get("length");N=Mt(N,u);var F=E.get("length2");if(F=Mt(F,u),Math.abs(T.endAngle-T.startAngle)0?"right":"left":V>0?"left":"right"}var Br=Math.PI,br=0,ca=I.get("rotate");if(bt(ca))br=ca*(Br/180);else if(L==="center")br=0;else if(ca==="radial"||ca===!0){var db=V<0?-H+Br:-H;br=db}else if(ca==="tangential"&&L!=="outside"&&L!=="outer"){var hi=Math.atan2(V,K);hi<0&&(hi=Br*2+hi);var pb=K>0;pb&&(hi=Br+hi),br=hi-Br}if(a=!!br,D.x=ft,D.y=St,D.rotation=br,D.setStyle({verticalAlign:"middle"}),$t){D.setStyle({align:te});var uu=D.states.select;uu&&(uu.x+=D.x,uu.y+=D.y)}else{var lu=new st(0,0,0,0);cS(lu,D),e.push({label:D,labelLine:A,position:L,len:N,len2:F,minTurnAngle:E.get("minTurnAngle"),maxSurfaceAngle:E.get("maxSurfaceAngle"),surfaceNormal:new at(V,K),linePoints:Ft,textAlign:te,labelDistance:P,labelAlignTo:R,edgeDistance:k,bleedMargin:W,rect:lu,unconstrainedWidth:lu.width,labelStyleWidth:D.style.width})}w.setTextConfig({inside:$t})}}),!a&&r.get("avoidLabelOverlap")&&dP(e,n,i,l,u,c,f,h);for(var p=0;p0){for(var f=o.getItemLayout(0),h=1;isNaN(f&&f.startAngle)&&h=a.r0}},t.type="pie",t})(he);function _P(r,t,e){t=G(t)&&{coordDimensions:t}||z({encodeDefine:r.getEncode()},t);var n=r.getSource(),i=D1(n,t).dimensions,a=new M1(i,r);return a.initData(n,e),a}var SP=(function(){function r(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return r.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},r.prototype.containName=function(t){var e=this._getRawData();return e.indexOfName(t)>=0},r.prototype.indexOfName=function(t){var e=this._getDataWithEncodedVisual();return e.indexOfName(t)},r.prototype.getItemVisual=function(t,e){var n=this._getDataWithEncodedVisual();return n.getItemVisual(t,e)},r})(),bP=wt(),vS=(function(r){O(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new SP($(this.getData,this),$(this.getRawData,this)),this._defaultLabelLine(e)},t.prototype.mergeOption=function(){r.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return _P(this,{coordDimensions:["value"],encodeDefaulter:pt(yD,this)})},t.prototype.getDataParams=function(e){var n=this.getData(),i=bP(n),a=i.seats;if(!a){var o=[];n.each(n.mapDimension("value"),function(l){o.push(l)}),a=i.seats=Zw(o,n.hostModel.get("percentPrecision"))}var s=r.prototype.getDataParams.call(this,e);return s.percent=a[e]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(e){dh(e,"labelLine",["show"]);var n=e.labelLine,i=e.emphasis.labelLine;n.show=n.show&&e.label.show,i.show=i.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"50%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,coordinateSystemUsage:"box",left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:30,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t})(be);nD({fullType:vS.type,getCoord2:function(r){return r.getShallow("center")}});function xP(r){return{seriesType:r,reset:function(t,e){var n=t.getData();n.filterSelf(function(i){var a=n.mapDimension("value"),o=n.get(a,i);return!(bt(o)&&!isNaN(o)&&o<0)})}}}function wP(r){r.registerChartView(yP),r.registerSeriesModel(vS),tL("pie",r.registerAction),r.registerLayout(pt(hP,"pie")),r.registerProcessor(cP("pie")),r.registerProcessor(xP("pie"))}var TP=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e,n){return Vo(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return e??(this.option.large?5e3:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return e??(this.option.large?1e4:this.get("progressiveThreshold"))},t.prototype.brushSelector=function(e,n,i){return i.point(n.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar","matrix"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:B.color.primary}},universalTransition:{divideShape:"clone"}},t})(be),dS=4,CP=(function(){function r(){}return r})(),MP=(function(r){O(t,r);function t(e){var n=r.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return t.prototype.getDefaultShape=function(){return new CP},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,n){var i=n.points,a=n.size,o=this.symbolProxy,s=o.shape,l=e.getContext?e.getContext():e,u=l&&a[0]=0;u--){var f=u*2,h=a[f]-s/2,c=a[f+1]-l/2;if(e>=h&&n>=c&&e<=h+s&&n<=c+l)return u}return-1},t.prototype.contain=function(e,n){var i=this.transformCoordToLocal(e,n),a=this.getBoundingRect();if(e=i[0],n=i[1],a.contain(e,n)){var o=this.hoverDataIdx=this.findDataIndex(e,n);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var n=this.shape,i=n.points,a=n.size,o=a[0],s=a[1],l=1/0,u=1/0,f=-1/0,h=-1/0,c=0;c=0&&(u.dataIndex=h+(t.startIndex||0))})},r.prototype.remove=function(){this._clear()},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r})(),AP=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){var a=e.getData(),o=this._updateSymbolDraw(a,e);o.updateData(a,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,n,i){var a=e.getData(),o=this._updateSymbolDraw(a,e);o.incrementalPrepareUpdate(a),this._finished=!1},t.prototype.incrementalRender=function(e,n,i){this._symbolDraw.incrementalUpdate(e,n.getData(),{clipShape:this._getClipShape(n)}),this._finished=e.end===n.getData().count()},t.prototype.updateTransform=function(e,n,i){var a=e.getData();if(this.group.dirty(),!this._finished||a.count()>1e4)return{update:!0};var o=Pv("").reset(e,n,i);o.progress&&o.progress({start:0,end:a.count(),count:a.count()},a),this._symbolDraw.updateLayout(a)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){if(e.get("clip",!0)){var n=e.coordinateSystem;return n&&n.getArea&&n.getArea(.1)}},t.prototype._updateSymbolDraw=function(e,n){var i=this._symbolDraw,a=n.pipelineContext,o=a.large;return(!i||o!==this._isLargeDraw)&&(i&&i.remove(),i=this._symbolDraw=o?new DP:new tS,this._isLargeDraw=o,this.group.removeAll()),this.group.add(i.group),i},t.prototype.remove=function(e,n){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t})(he),pS={left:0,right:0,top:0,bottom:0},Pl=["25%","25%"],LP=(function(r){O(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.mergeDefaultAndTheme=function(e,n){var i=ha(e.outerBounds);r.prototype.mergeDefaultAndTheme.apply(this,arguments),i&&e.outerBounds&&fn(e.outerBounds,i)},t.prototype.mergeOption=function(e,n){r.prototype.mergeOption.apply(this,arguments),this.option.outerBounds&&e.outerBounds&&fn(this.option.outerBounds,e.outerBounds)},t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"15%",top:65,right:"10%",bottom:80,containLabel:!1,outerBoundsMode:"auto",outerBounds:pS,outerBoundsContain:"all",outerBoundsClampWidth:Pl[0],outerBoundsClampHeight:Pl[1],backgroundColor:B.color.transparent,borderWidth:1,borderColor:B.color.neutral30},t})(mt),Jh=(function(r){O(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",qt).models[0]},t.type="cartesian2dAxis",t})(mt);yr(Jh,rI);var gS={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:B.color.axisLine,width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15],breakLine:!0},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12,color:B.color.axisLabel,textMargin:[0,3]},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:B.color.axisSplitLine,width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:[B.color.backgroundTint,B.color.backgroundTransparent]}},breakArea:{show:!0,itemStyle:{color:B.color.neutral00,borderColor:B.color.border,borderWidth:1,borderType:[3,3],opacity:.6},zigzagAmplitude:4,zigzagMinSpan:4,zigzagMaxSpan:20,zigzagZ:100,expandOnClick:!0},breakLabelLayout:{moveOverlap:"auto"}},IP=lt({boundaryGap:!0,deduplication:null,jitter:0,jitterOverlap:!0,jitterMargin:2,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto",show:"auto"},axisLabel:{interval:"auto"}},gS),Rv=lt({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:B.color.axisMinorSplitLine,width:1}}},gS),PP=lt({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},Rv),RP=dt({logBase:10},Rv);const kP={category:IP,value:Rv,time:PP,log:RP};var EP={value:1,category:1,time:1,log:1},OP=null;function BP(){return OP}function sm(r,t,e,n){C(EP,function(i,a){var o=lt(lt({},kP[a],!0),n,!0),s=(function(l){O(u,l);function u(){var f=l!==null&&l.apply(this,arguments)||this;return f.type=t+"Axis."+a,f}return u.prototype.mergeDefaultAndTheme=function(f,h){var c=yo(this),v=c?ha(f):{},d=h.getTheme();lt(f,d.get(a+"Axis")),lt(f,this.getDefaultOption()),f.type=lm(f),c&&fn(f,v,c)},u.prototype.optionUpdated=function(){var f=this.option;f.type==="category"&&(this.__ordinalMeta=Zh.createByAxisModel(this))},u.prototype.getCategories=function(f){var h=this.option;if(h.type==="category")return f?h.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.prototype.updateAxisBreaks=function(f){return{breaks:[]}},u.type=t+"Axis."+a,u.defaultOption=o,u})(e);r.registerComponentModel(s)}),r.registerSubTypeDefaulter(t+"Axis",lm)}function lm(r){return r.type||(r.data?"category":"value")}var NP=(function(){function r(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return r.prototype.getAxis=function(t){return this._axes[t]},r.prototype.getAxes=function(){return Y(this._dimList,function(t){return this._axes[t]},this)},r.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Ot(this.getAxes(),function(e){return e.scale.type===t})},r.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},r})(),jh=["x","y"];function um(r){return(r.type==="interval"||r.type==="time")&&!r.hasBreaks()}var zP=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=jh,e}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,n=this.getAxis("y").scale;if(!(!um(e)||!um(n))){var i=e.getExtent(),a=n.getExtent(),o=this.dataToPoint([i[0],a[0]]),s=this.dataToPoint([i[1],a[1]]),l=i[1]-i[0],u=a[1]-a[0];if(!(!l||!u)){var f=(s[0]-o[0])/l,h=(s[1]-o[1])/u,c=o[0]-i[0]*f,v=o[1]-a[0]*h,d=this._transform=[f,0,0,h,c,v];this._invTransform=Ro([],d)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var n=this.getAxis("x"),i=this.getAxis("y");return n.contain(n.toLocalCoord(e[0]))&&i.contain(i.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,n){var i=this.dataToPoint(e),a=this.dataToPoint(n),o=this.getArea(),s=new st(i[0],i[1],a[0]-i[0],a[1]-i[1]);return o.intersect(s)},t.prototype.dataToPoint=function(e,n,i){i=i||[];var a=e[0],o=e[1];if(this._transform&&a!=null&&isFinite(a)&&o!=null&&isFinite(o))return Oe(i,e,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return i[0]=s.toGlobalCoord(s.dataToCoord(a,n)),i[1]=l.toGlobalCoord(l.dataToCoord(o,n)),i},t.prototype.clampData=function(e,n){var i=this.getAxis("x").scale,a=this.getAxis("y").scale,o=i.getExtent(),s=a.getExtent(),l=i.parse(e[0]),u=a.parse(e[1]);return n=n||[],n[0]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),n[1]=Math.min(Math.max(Math.min(s[0],s[1]),u),Math.max(s[0],s[1])),n},t.prototype.pointToData=function(e,n,i){if(i=i||[],this._invTransform)return Oe(i,e,this._invTransform);var a=this.getAxis("x"),o=this.getAxis("y");return i[0]=a.coordToData(a.toLocalCoord(e[0]),n),i[1]=o.coordToData(o.toLocalCoord(e[1]),n),i},t.prototype.getOtherAxis=function(e){return this.getAxis(e.dim==="x"?"y":"x")},t.prototype.getArea=function(e){e=e||0;var n=this.getAxis("x").getGlobalExtent(),i=this.getAxis("y").getGlobalExtent(),a=Math.min(n[0],n[1])-e,o=Math.min(i[0],i[1])-e,s=Math.max(n[0],n[1])-a+e,l=Math.max(i[0],i[1])-o+e;return new st(a,o,s,l)},t})(NP),VP=(function(r){O(t,r);function t(e,n,i,a,o){var s=r.call(this,e,n,i)||this;return s.index=0,s.type=a||"value",s.position=o||"bottom",s}return t.prototype.isHorizontal=function(){var e=this.position;return e==="top"||e==="bottom"},t.prototype.getGlobalExtent=function(e){var n=this.getExtent();return n[0]=this.toGlobalCoord(n[0]),n[1]=this.toGlobalCoord(n[1]),e&&n[0]>n[1]&&n.reverse(),n},t.prototype.pointToData=function(e,n){return this.coordToData(this.toLocalCoord(e[this.dim==="x"?0:1]),n)},t.prototype.setCategorySortInfo=function(e){if(this.type!=="category")return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t})(gI),FP="expandAxisBreak",jr=Math.PI,HP=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],GP=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],Mo=wt(),mS=wt(),yS=(function(){function r(t){this.recordMap={},this.resolveAxisNameOverlap=t}return r.prototype.ensureRecord=function(t){var e=t.axis.dim,n=t.componentIndex,i=this.recordMap,a=i[e]||(i[e]=[]);return a[n]||(a[n]={ready:{}})},r})();function WP(r,t,e,n){var i=e.axis,a=t.ensureRecord(e),o=[],s,l=kv(r.axisName)&&ra(r.nameLocation);C(n,function(d){var p=hn(d);if(!(!p||p.label.ignore)){o.push(p);var m=a.transGroup;l&&(m.transform?Ro(Aa,m.transform):Ac(Aa),p.transform&&qa(Aa,Aa,p.transform),st.copy(Ls,p.localRect),Ls.applyTransform(Aa),s?s.union(Ls):st.copy(s=new st(0,0,0,0),Ls))}});var u=Math.abs(a.dirVec.x)>.1?"x":"y",f=a.transGroup[u];if(o.sort(function(d,p){return Math.abs(d.label[u]-f)-Math.abs(p.label[u]-f)}),l&&s){var h=i.getExtent(),c=Math.min(h[0],h[1]),v=Math.max(h[0],h[1])-c;s.union(new st(c,0,v,1))}a.stOccupiedRect=s,a.labelInfoList=o}var Aa=Rr(),Ls=new st(0,0,0,0),_S=function(r,t,e,n,i,a){if(ra(r.nameLocation)){var o=a.stOccupiedRect;o&&SS(TI({},o,a.transGroup.transform),n,i)}else bS(a.labelInfoList,a.dirVec,n,i)};function SS(r,t,e){var n=new at;Av(r,t,n,{direction:Math.atan2(e.y,e.x),bidirectional:!1,touchThreshold:.05})&&CI(t,n)}function bS(r,t,e,n){for(var i=at.dot(n,t)>=0,a=0,o=r.length;a0?"top":"bottom",a="center"):al(i-jr)?(o=n>0?"bottom":"top",a="center"):(o="middle",i>0&&i0?"right":"left":a=n>0?"left":"right"),{rotation:i,textAlign:a,textVerticalAlign:o}},r.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},r.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},r})(),UP=["axisLine","axisTickLabelEstimate","axisTickLabelDetermine","axisName"],YP={axisLine:function(r,t,e,n,i,a,o){var s=n.get(["axisLine","show"]);if(s==="auto"&&(s=!0,r.raw.axisLineAutoShow!=null&&(s=!!r.raw.axisLineAutoShow)),!!s){var l=n.axis.getExtent(),u=a.transform,f=[l[0],0],h=[l[1],0],c=f[0]>h[0];u&&(Oe(f,f,u),Oe(h,h,u));var v=z({lineCap:"round"},n.getModel(["axisLine","lineStyle"]).getLineStyle()),d={strokeContainThreshold:r.raw.strokeContainThreshold||5,silent:!0,z2:1,style:v};if(n.get(["axisLine","breakLine"])&&n.axis.scale.hasBreaks())BP().buildAxisBreakLine(n,i,a,d);else{var p=new un(z({shape:{x1:f[0],y1:f[1],x2:h[0],y2:h[1]}},d));po(p.shape,p.style.lineWidth),p.anid="line",i.add(p)}var m=n.get(["axisLine","symbol"]);if(m!=null){var g=n.get(["axisLine","symbolSize"]);Z(m)&&(m=[m,m]),(Z(g)||bt(g))&&(g=[g,g]);var y=Q_(n.get(["axisLine","symbolOffset"])||0,g),_=g[0],S=g[1];C([{rotate:r.rotation+Math.PI/2,offset:y[0],r:0},{rotate:r.rotation-Math.PI/2,offset:y[1],r:Math.sqrt((f[0]-h[0])*(f[0]-h[0])+(f[1]-h[1])*(f[1]-h[1]))}],function(x,b){if(m[b]!=="none"&&m[b]!=null){var w=Fe(m[b],-_/2,-S/2,_,S,v.stroke,!0),T=x.r+x.offset,D=c?h:f;w.attr({rotation:x.rotate,x:D[0]+T*Math.cos(r.rotation),y:D[1]-T*Math.sin(r.rotation),silent:!0,z2:11}),i.add(w)}})}}},axisTickLabelEstimate:function(r,t,e,n,i,a,o,s){var l=hm(t,i,s);l&&fm(r,t,e,n,i,a,o,je.estimate)},axisTickLabelDetermine:function(r,t,e,n,i,a,o,s){var l=hm(t,i,s);l&&fm(r,t,e,n,i,a,o,je.determine);var u=qP(r,i,a,n);XP(r,t.labelLayoutList,u),KP(r,i,a,n,r.tickDirection)},axisName:function(r,t,e,n,i,a,o,s){var l=e.ensureRecord(n);t.nameEl&&(i.remove(t.nameEl),t.nameEl=l.nameLayout=l.nameLocation=null);var u=r.axisName;if(kv(u)){var f=r.nameLocation,h=r.nameDirection,c=n.getModel("nameTextStyle"),v=n.get("nameGap")||0,d=n.axis.getExtent(),p=n.axis.inverse?-1:1,m=new at(0,0),g=new at(0,0);f==="start"?(m.x=d[0]-p*v,g.x=-p):f==="end"?(m.x=d[1]+p*v,g.x=p):(m.x=(d[0]+d[1])/2,m.y=r.labelOffset+h*v,g.y=h);var y=Rr();g.transform(Lc(y,y,r.rotation));var _=n.get("nameRotate");_!=null&&(_=_*jr/180);var S,x;ra(f)?S=on.innerTextLayout(r.rotation,_??r.rotation,h):(S=$P(r.rotation,f,_||0,d),x=r.raw.axisNameAvailableWidth,x!=null&&(x=Math.abs(x/Math.sin(S.rotation)),!isFinite(x)&&(x=null)));var b=c.getFont(),w=n.get("nameTruncate",!0)||{},T=w.ellipsis,D=lo(r.raw.nameTruncateMaxWidth,w.maxWidth,x),A=s.nameMarginLevel||0,M=new At({x:m.x,y:m.y,rotation:S.rotation,silent:on.isLabelSilent(n),style:fe(c,{text:u,font:b,overflow:"truncate",width:D,ellipsis:T,fill:c.getTextColor()||n.get(["axisLine","lineStyle","color"]),align:c.get("align")||S.textAlign,verticalAlign:c.get("verticalAlign")||S.textVerticalAlign}),z2:1});if(Oo({el:M,componentModel:n,itemName:u}),M.__fullText=u,M.anid="name",n.get("triggerEvent")){var I=on.makeAxisEventDataBase(n);I.targetType="axisName",I.name=u,vt(M).eventData=I}a.add(M),M.updateTransform(),t.nameEl=M;var L=l.nameLayout=hn({label:M,priority:M.z2,defaultAttr:{ignore:M.ignore},marginDefault:ra(f)?HP[A]:GP[A]});if(l.nameLocation=f,i.add(M),M.decomposeTransform(),r.shouldNameMoveOverlap&&L){var P=e.ensureRecord(n);e.resolveAxisNameOverlap(r,e,n,L,g,P)}}}};function fm(r,t,e,n,i,a,o,s){wS(t)||QP(r,t,i,s,n,o);var l=t.labelLayoutList;JP(r,n,l,a),r.rotation;var u=r.optionHideOverlap;ZP(n,l,u),u&&DI(Ot(l,function(f){return f&&!f.label.ignore})),WP(r,e,n,l)}function $P(r,t,e,n){var i=s0(e-r),a,o,s=n[0]>n[1],l=t==="start"&&!s||t!=="start"&&s;return al(i-jr/2)?(o=l?"bottom":"top",a="center"):al(i-jr*1.5)?(o=l?"top":"bottom",a="center"):(o="middle",ijr/2?a=l?"left":"right":a=l?"right":"left"),{rotation:i,textAlign:a,textVerticalAlign:o}}function ZP(r,t,e){if(V1(r.axis))return;function n(s,l,u){var f=hn(t[l]),h=hn(t[u]);if(!(!f||!h)){if(s===!1||f.suggestIgnore){Ya(f.label);return}if(h.suggestIgnore){Ya(h.label);return}var c=.1;if(!e){var v=[0,0,0,0];f=Vg({marginForce:v},f),h=Vg({marginForce:v},h)}Av(f,h,null,{touchThreshold:c})&&Ya(s?h.label:f.label)}}var i=r.get(["axisLabel","showMinLabel"]),a=r.get(["axisLabel","showMaxLabel"]),o=t.length;n(i,0,1),n(a,o-1,o-2)}function XP(r,t,e){r.showMinorTicks||C(t,function(n){if(n&&n.label.ignore)for(var i=0;iu[0]&&isFinite(d)&&isFinite(u[0]);)v=Sf(v),d=u[1]-v*o;else{var m=r.getTicks().length-1;m>o&&(v=Sf(v));var g=v*o;p=Math.ceil(u[1]/v)*v,d=Yt(p-g),d<0&&u[0]>=0?(d=0,p=Yt(g)):p>0&&u[1]<=0&&(p=0,d=-Yt(g))}var y=(i[0].value-a[0].value)/s,_=(i[o].value-a[o].value)/s;n.setExtent.call(r,d+v*y,p+v*_),n.setInterval.call(r,v),(y||_)&&n.setNiceExtent.call(r,d+v,p-v)}var vm=[[3,1],[0,2]],aR=(function(){function r(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=jh,this._initCartesian(t,e,n),this.model=t}return r.prototype.getRect=function(){return this._rect},r.prototype.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model);function i(o){var s,l=Dt(o),u=l.length;if(u){for(var f=[],h=u-1;h>=0;h--){var c=+l[h],v=o[c],d=v.model,p=v.scale;Yh(p)&&d.get("alignTicks")&&d.get("interval")==null?f.push(v):(Eg(p,d),Yh(p)&&(s=v))}f.length&&(s||(s=f.pop(),Eg(s.scale,s.model)),C(f,function(m){iR(m.scale,m.model,s.scale)}))}}i(n.x),i(n.y);var a={};C(n.x,function(o){dm(n,"y",o,a)}),C(n.y,function(o){dm(n,"x",o,a)}),this.resize(this.model,e)},r.prototype.resize=function(t,e,n){var i=li(t,e),a=this._rect=Ve(t.getBoxLayoutParams(),i.refContainer),o=this._axesMap,s=this._coordsList,l=t.get("containLabel");if(TS(o,a),!n){var u=sR(a,s,o,l,e),f=void 0;if(l)f=mm(a.clone(),"axisLabel",null,a,o,u,i);else{var h=lR(t,a,i),c=h.outerBoundsRect,v=h.parsedOuterBoundsContain,d=h.outerBoundsClamp;c&&(f=mm(c,v,d,a,o,u,i))}CS(a,o,je.determine,null,f,i)}C(this._coordsList,function(p){p.calcAffineTransform()})},r.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(n!=null)return n[e||0]},r.prototype.getAxes=function(){return this._axesList.slice()},r.prototype.getCartesian=function(t,e){if(t!=null&&e!=null){var n="x"+t+"y"+e;return this._coordsMap[n]}X(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,a=this._coordsList;i0})==null;return dl(n,s,!0,!0,e),TS(i,n),l;function u(c){C(i[Xr[c]],function(v){if(To(v.model)){var d=a.ensureRecord(v.model),p=d.labelInfoList;if(p)for(var m=0;m0&&!en(v)&&v>1e-4&&(c/=v),c}}function sR(r,t,e,n,i){var a=new yS(uR);return C(e,function(o){return C(o,function(s){if(To(s.model)){var l=!n;s.axisBuilder=rR(r,t,s.model,i,a,l)}})}),a}function CS(r,t,e,n,i,a){var o=e===je.determine;C(t,function(u){return C(u,function(f){To(f.model)&&(nR(f.axisBuilder,r,f.model),f.axisBuilder.build(o?{axisTickLabelDetermine:!0}:{axisTickLabelEstimate:!0},{noPxChange:i}))})});var s={x:0,y:0};l(0),l(1);function l(u){s[Xr[1-u]]=r[Ji[u]]<=a.refContainer[Ji[u]]*.5?0:1-u===1?2:1}C(t,function(u,f){return C(u,function(h){To(h.model)&&((n==="all"||o)&&h.axisBuilder.build({axisName:!0},{nameMarginLevel:s[f]}),o&&h.axisBuilder.build({axisLine:!0}))})})}function lR(r,t,e){var n,i=r.get("outerBoundsMode",!0);i==="same"?n=t.clone():(i==null||i==="auto")&&(n=Ve(r.get("outerBounds",!0)||pS,e.refContainer));var a=r.get("outerBoundsContain",!0),o;a==null||a==="auto"||ht(["all","axisLabel"],a)<0?o="all":o=a;var s=[vh(j(r.get("outerBoundsClampWidth",!0),Pl[0]),t.width),vh(j(r.get("outerBoundsClampHeight",!0),Pl[1]),t.height)];return{outerBoundsRect:n,parsedOuterBoundsContain:o,outerBoundsClamp:s}}var uR=function(r,t,e,n,i,a){var o=e.axis.dim==="x"?"y":"x";_S(r,t,e,n,i,a),ra(r.nameLocation)||C(t.recordMap[o],function(s){s&&s.labelInfoList&&s.dirVec&&bS(s.labelInfoList,s.dirVec,n,i)})};function fR(r,t){var e={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return hR(e,r,t),e.seriesInvolved&&vR(e,r),e}function hR(r,t,e){var n=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),a=i.get("link",!0)||[],o=[];C(e.getCoordinateSystems(),function(s){if(!s.axisPointerEnabled)return;var l=Do(s.model),u=r.coordSysAxesInfo[l]={};r.coordSysMap[l]=s;var f=s.model,h=f.getModel("tooltip",n);if(C(s.getAxes(),pt(p,!1,null)),s.getTooltipAxes&&n&&h.get("show")){var c=h.get("trigger")==="axis",v=h.get(["axisPointer","type"])==="cross",d=s.getTooltipAxes(h.get(["axisPointer","axis"]));(c||v)&&C(d.baseAxes,pt(p,v?"cross":!0,c)),v&&C(d.otherAxes,pt(p,"cross",!1))}function p(m,g,y){var _=y.model.getModel("axisPointer",i),S=_.get("show");if(!(!S||S==="auto"&&!m&&!ec(_))){g==null&&(g=_.get("triggerTooltip")),_=m?cR(y,h,i,t,m,g):_;var x=_.get("snap"),b=_.get("triggerEmphasis"),w=Do(y.model),T=g||x||y.type==="category",D=r.axesInfo[w]={key:w,axis:y,coordSys:s,axisPointerModel:_,triggerTooltip:g,triggerEmphasis:b,involveSeries:T,snap:x,useHandle:ec(_),seriesModels:[],linkGroup:null};u[w]=D,r.seriesInvolved=r.seriesInvolved||T;var A=dR(a,y);if(A!=null){var M=o[A]||(o[A]={axesInfo:{}});M.axesInfo[w]=D,M.mapper=a[A].mapper,D.linkGroup=M}}}})}function cR(r,t,e,n,i,a){var o=t.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],l={};C(s,function(c){l[c]=J(o.get(c))}),l.snap=r.type!=="category"&&!!a,o.get("type")==="cross"&&(l.type="line");var u=l.label||(l.label={});if(u.show==null&&(u.show=!1),i==="cross"){var f=o.get(["label","show"]);if(u.show=f??!0,!a){var h=l.lineStyle=o.get("crossStyle");h&&dt(u,h.textStyle)}}return r.model.getModel("axisPointer",new Lt(l,e,n))}function vR(r,t){t.eachSeries(function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),a=e.get(["tooltip","show"],!0);!n||!n.model||i==="none"||i===!1||i==="item"||a===!1||e.get(["axisPointer","show"],!0)===!1||C(r.coordSysAxesInfo[Do(n.model)],function(o){var s=o.axis;n.getAxis(s.dim)===s&&(o.seriesModels.push(e),o.seriesDataCount==null&&(o.seriesDataCount=0),o.seriesDataCount+=e.getData().count())})})}function dR(r,t){for(var e=t.model,n=t.dim,i=0;i=0||r===t}function pR(r){var t=Ev(r);if(t){var e=t.axisPointerModel,n=t.axis.scale,i=e.option,a=e.get("status"),o=e.get("value");o!=null&&(o=n.parse(o));var s=ec(e);a==null&&(i.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(o==null||o>l[1])&&(o=l[1]),o3?1.4:o>1?1.2:1.1,f=a>0?u:1/u;this._checkTriggerMoveZoom(this,"zoom","zoomOnMouseWheel",e,{scale:f,originX:s,originY:l,isAvailableBehavior:null})}if(i){var h=Math.abs(a),c=(a>0?1:-1)*(h>3?.4:h>1?.15:.05);this._checkTriggerMoveZoom(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:c,originX:s,originY:l,isAvailableBehavior:null})}}}},t.prototype._pinchHandler=function(e){if(!(Sm(this._zr,"globalPan")||La(e))){var n=e.pinchScale>1?1.1:1/1.1;this._checkTriggerMoveZoom(this,"zoom",null,e,{scale:n,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},t.prototype._checkTriggerMoveZoom=function(e,n,i,a,o){e._checkPointer(a,o.originX,o.originY)&&(Er(a.event),a.__ecRoamConsumed=!0,bm(e,n,i,a,o))},t})(He);function La(r){return r.__ecRoamConsumed}var AR=wt();function au(r){var t=AR(r);return t.roam=t.roam||{},t.uniform=t.uniform||{},t}function Ia(r,t,e,n){for(var i=au(r),a=i.roam,o=a[t]=a[t]||[],s=0;s=0;a--)n[a]==null&&(delete e[t[a]],t.pop())}function Pf(r,t){var e=r.visual,n=[];X(e)?Ao(e,function(a){n.push(a)}):e!=null&&n.push(e);var i={color:1,symbol:1};!t&&n.length===1&&!i.hasOwnProperty(r.type)&&(n[1]=n[0]),PS(r,n)}function Is(r){return{applyVisual:function(t,e,n){var i=this.mapValueToVisual(t);n("color",r(e("color"),i))},_normalizedToVisual:nc([0,1])}}function xm(r){var t=this.option.visual;return t[Math.round(Ct(r,[0,1],[0,t.length-1],!0))]||{}}function Ra(r){return function(t,e,n){n(r,this.mapValueToVisual(t))}}function $a(r){var t=this.option.visual;return t[this.option.loop&&r!==kl?r%t.length:r]}function zn(){return this.option.visual[0]}function nc(r){return{linear:function(t){return Ct(t,r,this.option.visual,!0)},category:$a,piecewise:function(t,e){var n=ic.call(this,e);return n==null&&(n=Ct(t,r,this.option.visual,!0)),n},fixed:zn}}function ic(r){var t=this.option,e=t.pieceList;if(t.hasSpecialVisual){var n=Jt.findPieceIndex(r,e),i=e[n];if(i&&i.visual)return i.visual[this.type]}}function PS(r,t){return r.visual=t,r.type==="color"&&(r.parsedVisual=Y(t,function(e){var n=Be(e);return n||[0,0,0,1]})),t}var ER={linear:function(r){return Ct(r,this.option.dataExtent,[0,1],!0)},piecewise:function(r){var t=this.option.pieceList,e=Jt.findPieceIndex(r,t,!0);if(e!=null)return Ct(e,[0,t.length-1],[0,1],!0)},category:function(r){var t=this.option.categories?this.option.categoryMap[r]:r;return t??kl},fixed:Kt};function Ps(r,t,e){return r?t<=e:ta&&(t[1-n]=t[n]+h.sign*a),t}function Rf(r,t){var e=r[t]-r[1-t];return{span:Math.abs(e),sign:e>0?-1:e<0?1:t?-1:1}}function Ai(r,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,r))}var ai=!0,Lo=Math.min,na=Math.max,OR=Math.pow,BR=1e4,NR=6,zR=6,wm="globalPan",VR={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},FR={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},Tm={brushStyle:{lineWidth:2,stroke:B.color.backgroundTint,fill:B.color.borderTint},transformable:!0,brushMode:"single",removeOnClick:!1},HR=0,GR=(function(r){O(t,r);function t(e){var n=r.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new xt,n._uid="brushController_"+HR++,C(qR,function(i,a){this._handlers[a]=$(i,this)},n),n}return t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var n=this._zr;this._enableGlobalPan||TR(n,wm,this._uid),C(this._handlers,function(i,a){n.on(a,i)}),this._brushType=e.brushType,this._brushOption=lt(J(Tm),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;CR(e,wm,this._uid),C(this._handlers,function(n,i){e.off(i,n)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var n=this._panels={};C(e,function(i){n[i.panelId]=J(i)})}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var n=this.group;return this._zr.add(n),n.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=n.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=Y(e,function(c){return lt(J(Tm),c,!0)});var n="\0-brush-index-",i=this._covers,a=this._covers=[],o=this,s=this._creatingCover;return new Tv(i,e,u,l).add(f).update(f).remove(h).execute(),this;function l(c,v){return(c.id!=null?c.id:n+v)+"-"+c.brushType}function u(c,v){return l(c.__brushOption,v)}function f(c,v){var d=e[c];if(v!=null&&i[v]===s)a[c]=i[v];else{var p=a[c]=v!=null?(i[v].__brushOption=d,i[v]):kS(o,RS(o,d));Bv(o,p)}}function h(c){i[c]!==s&&o.group.remove(i[c])}},t.prototype.unmount=function(){return this.enableBrush(!1),ac(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t})(He);function RS(r,t){var e=ou[t.brushType].createCover(r,t);return e.__brushOption=t,OS(e,t),r.group.add(e),e}function kS(r,t){var e=Nv(t);return e.endCreating&&(e.endCreating(r,t),OS(t,t.__brushOption)),t}function ES(r,t){var e=t.__brushOption;Nv(t).updateCoverShape(r,t,e.range,e)}function OS(r,t){var e=t.z;e==null&&(e=BR),r.traverse(function(n){n.z=e,n.z2=e})}function Bv(r,t){Nv(t).updateCommon(r,t),ES(r,t)}function Nv(r){return ou[r.__brushOption.brushType]}function zv(r,t,e){var n=r._panels;if(!n)return ai;var i,a=r._transform;return C(n,function(o){o.isTargetByCursor(t,e,a)&&(i=o)}),i}function BS(r,t){var e=r._panels;if(!e)return ai;var n=t.__brushOption.panelId;return n!=null?e[n]:ai}function ac(r){var t=r._covers,e=t.length;return C(t,function(n){r.group.remove(n)},r),t.length=0,!!e}function oi(r,t){var e=Y(r._covers,function(n){var i=n.__brushOption,a=J(i.range);return{brushType:i.brushType,panelId:i.panelId,range:a}});r.trigger("brush",{areas:e,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function WR(r){var t=r._track;if(!t.length)return!1;var e=t[t.length-1],n=t[0],i=e[0]-n[0],a=e[1]-n[1],o=OR(i*i+a*a,.5);return o>NR}function NS(r){var t=r.length-1;return t<0&&(t=0),[r[0],r[t]]}function zS(r,t,e,n){var i=new xt;return i.add(new gt({name:"main",style:Vv(e),silent:!0,draggable:!0,cursor:"move",drift:pt(Cm,r,t,i,["n","s","w","e"]),ondragend:pt(oi,t,{isEnd:!0})})),C(n,function(a){i.add(new gt({name:a.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:pt(Cm,r,t,i,a),ondragend:pt(oi,t,{isEnd:!0})}))}),i}function VS(r,t,e,n){var i=n.brushStyle.lineWidth||0,a=na(i,zR),o=e[0][0],s=e[1][0],l=o-i/2,u=s-i/2,f=e[0][1],h=e[1][1],c=f-a+i/2,v=h-a+i/2,d=f-o,p=h-s,m=d+i,g=p+i;Mr(r,t,"main",o,s,d,p),n.transformable&&(Mr(r,t,"w",l,u,a,g),Mr(r,t,"e",c,u,a,g),Mr(r,t,"n",l,u,m,a),Mr(r,t,"s",l,v,m,a),Mr(r,t,"nw",l,u,a,a),Mr(r,t,"ne",c,u,a,a),Mr(r,t,"sw",l,v,a,a),Mr(r,t,"se",c,v,a,a))}function oc(r,t){var e=t.__brushOption,n=e.transformable,i=t.childAt(0);i.useStyle(Vv(e)),i.attr({silent:!n,cursor:n?"move":"default"}),C([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(a){var o=t.childOfName(a.join("")),s=a.length===1?sc(r,a[0]):YR(r,a);o&&o.attr({silent:!n,invisible:!n,cursor:n?FR[s]+"-resize":null})})}function Mr(r,t,e,n,i,a,o){var s=t.childOfName(e);s&&s.setShape(ZR(Fv(r,t,[[n,i],[n+a,i+o]])))}function Vv(r){return dt({strokeNoScale:!0},r.brushStyle)}function FS(r,t,e,n){var i=[Lo(r,e),Lo(t,n)],a=[na(r,e),na(t,n)];return[[i[0],a[0]],[i[1],a[1]]]}function UR(r){return Kn(r.group)}function sc(r,t){var e={w:"left",e:"right",n:"top",s:"bottom"},n={left:"w",right:"e",top:"n",bottom:"s"},i=ql(e[t],UR(r));return n[i]}function YR(r,t){var e=[sc(r,t[0]),sc(r,t[1])];return(e[0]==="e"||e[0]==="w")&&e.reverse(),e.join("")}function Cm(r,t,e,n,i,a){var o=e.__brushOption,s=r.toRectRange(o.range),l=HS(t,i,a);C(n,function(u){var f=VR[u];s[f[0]][f[1]]+=l[f[0]]}),o.range=r.fromRectRange(FS(s[0][0],s[1][0],s[0][1],s[1][1])),Bv(t,e),oi(t,{isEnd:!1})}function $R(r,t,e,n){var i=t.__brushOption.range,a=HS(r,e,n);C(i,function(o){o[0]+=a[0],o[1]+=a[1]}),Bv(r,t),oi(r,{isEnd:!1})}function HS(r,t,e){var n=r.group,i=n.transformCoordToLocal(t,e),a=n.transformCoordToLocal(0,0);return[i[0]-a[0],i[1]-a[1]]}function Fv(r,t,e){var n=BS(r,t);return n&&n!==ai?n.clipPath(e,r._transform):J(e)}function ZR(r){var t=Lo(r[0][0],r[1][0]),e=Lo(r[0][1],r[1][1]),n=na(r[0][0],r[1][0]),i=na(r[0][1],r[1][1]);return{x:t,y:e,width:n-t,height:i-e}}function XR(r,t,e){if(!(!r._brushType||KR(r,t.offsetX,t.offsetY))){var n=r._zr,i=r._covers,a=zv(r,t,e);if(!r._dragging)for(var o=0;on.getWidth()||e<0||e>n.getHeight()}var ou={lineX:Am(0),lineY:Am(1),rect:{createCover:function(r,t){function e(n){return n}return zS({toRectRange:e,fromRectRange:e},r,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(r){var t=NS(r);return FS(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(r,t,e,n){VS(r,t,e,n)},updateCommon:oc,contain:uc},polygon:{createCover:function(r,t){var e=new xt;return e.add(new si({name:"main",style:Vv(t),silent:!0})),e},getCreatingRange:function(r){return r},endCreating:function(r,t){t.remove(t.childAt(0)),t.add(new la({name:"main",draggable:!0,drift:pt($R,r,t),ondragend:pt(oi,r,{isEnd:!0})}))},updateCoverShape:function(r,t,e,n){t.childAt(0).setShape({points:Fv(r,t,e)})},updateCommon:oc,contain:uc}};function Am(r){return{createCover:function(t,e){return zS({toRectRange:function(n){var i=[n,[0,100]];return r&&i.reverse(),i},fromRectRange:function(n){return n[r]}},t,e,[[["w"],["e"]],[["n"],["s"]]][r])},getCreatingRange:function(t){var e=NS(t),n=Lo(e[0][r],e[1][r]),i=na(e[0][r],e[1][r]);return[n,i]},updateCoverShape:function(t,e,n,i){var a,o=BS(t,e);if(o!==ai&&o.getLinearBrushOtherExtent)a=o.getLinearBrushOtherExtent(r);else{var s=t._zr;a=[0,[s.getWidth(),s.getHeight()][1-r]]}var l=[n,a];r&&l.reverse(),VS(t,e,l,i)},updateCommon:oc,contain:uc}}function QR(r){return r=Hv(r),function(t){return X0(t,r)}}function JR(r,t){return r=Hv(r),function(e){var n=t??e,i=n?r.width:r.height,a=n?r.x:r.y;return[a,a+(i||0)]}}function jR(r,t,e){var n=Hv(r);return function(i,a){return n.contain(a[0],a[1])&&!IS(i,t,e)}}function Hv(r){return st.create(r)}var tk=256,ek=(function(){function r(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=Qe.createCanvas();this.canvas=t}return r.prototype.update=function(t,e,n,i,a,o){var s=this._getBrush(),l=this._getGradient(a,"inRange"),u=this._getGradient(a,"outOfRange"),f=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),v=t.length;h.width=e,h.height=n;for(var d=0;d0){var I=o(_)?l:u;_>0&&(_=_*A+T),x[b++]=I[M],x[b++]=I[M+1],x[b++]=I[M+2],x[b++]=I[M+3]*_*256}else b+=4}return c.putImageData(S,0,0),h},r.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=Qe.createCanvas()),e=this.pointSize+this.blurSize,n=e*2;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor=B.color.neutral99,i.beginPath(),i.arc(-e,e,this.pointSize,0,Math.PI*2,!0),i.closePath(),i.fill(),t},r.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(256*4)),a=[0,0,0,0],o=0,s=0;s<256;s++)t[e](s/255,!0,a),i[o++]=a[0],i[o++]=a[1],i[o++]=a[2],i[o++]=a[3];return i},r})();function rk(r,t,e){var n=r[1]-r[0];t=Y(t,function(o){return{interval:[(o.interval[0]-r[0])/n,(o.interval[1]-r[0])/n]}});var i=t.length,a=0;return function(o){var s;for(s=a;s=0;s--){var l=t[s].interval;if(l[0]<=o&&o<=l[1]){a=s;break}}return s>=0&&s=t[0]&&n<=t[1]}}function Lm(r){var t=r.dimensions;return t[0]==="lng"&&t[1]==="lat"}var ik=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){var a;n.eachComponent("visualMap",function(s){s.eachTargetSeries(function(l){l===e&&(a=s)})}),this._progressiveEls=null,this.group.removeAll();var o=e.coordinateSystem;o.type==="cartesian2d"||o.type==="calendar"||o.type==="matrix"?this._renderOnGridLike(e,i,0,e.getData().count()):Lm(o)&&this._renderOnGeo(o,e,a,i)},t.prototype.incrementalPrepareRender=function(e,n,i){this.group.removeAll()},t.prototype.incrementalRender=function(e,n,i,a){var o=n.coordinateSystem;o&&(Lm(o)?this.render(n,i,a):(this._progressiveEls=[],this._renderOnGridLike(n,a,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){Bo(this._progressiveEls||this.group,e)},t.prototype._renderOnGridLike=function(e,n,i,a,o){var s=e.coordinateSystem,l=Co(s,"cartesian2d"),u=Co(s,"matrix"),f,h,c,v;if(l){var d=s.getAxis("x"),p=s.getAxis("y");f=d.getBandWidth()+.5,h=p.getBandWidth()+.5,c=d.scale.getExtent(),v=p.scale.getExtent()}for(var m=this.group,g=e.getData(),y=e.getModel(["emphasis","itemStyle"]).getItemStyle(),_=e.getModel(["blur","itemStyle"]).getItemStyle(),S=e.getModel(["select","itemStyle"]).getItemStyle(),x=e.get(["itemStyle","borderRadius"]),b=ri(e),w=e.getModel("emphasis"),T=w.get("focus"),D=w.get("blurScope"),A=w.get("disabled"),M=l||u?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],I=i;Ic[1]||kv[1])continue;var W=s.dataToPoint([R,k]);L=new gt({shape:{x:W[0]-f/2,y:W[1]-h/2,width:f,height:h},style:P})}else if(u){var E=s.dataToLayout([g.get(M[0],I),g.get(M[1],I)]).rect;if(en(E.x))continue;L=new gt({z2:1,shape:E,style:P})}else{if(isNaN(g.get(M[1],I)))continue;var N=s.dataToLayout([g.get(M[0],I)]),E=N.contentRect||N.rect;if(en(E.x)||en(E.y))continue;L=new gt({z2:1,shape:E,style:P})}if(g.hasItemOption){var F=g.getItemModel(I),H=F.getModel("emphasis");y=H.getModel("itemStyle").getItemStyle(),_=F.getModel(["blur","itemStyle"]).getItemStyle(),S=F.getModel(["select","itemStyle"]).getItemStyle(),x=F.get(["itemStyle","borderRadius"]),T=H.get("focus"),D=H.get("blurScope"),A=H.get("disabled"),b=ri(F)}L.shape.r=x;var V=e.getRawValue(I),K="-";V&&V[2]!=null&&(K=V[2]+""),ua(L,b,{labelFetcher:e,labelDataIndex:I,defaultOpacity:P.opacity,defaultText:K}),L.ensureState("emphasis").style=y,L.ensureState("blur").style=_,L.ensureState("select").style=S,Qi(L,T,D,A),L.incremental=o,o&&(L.states.emphasis.hoverLayer=!0),m.add(L),g.setItemGraphicEl(I,L),this._progressiveEls&&this._progressiveEls.push(L)}},t.prototype._renderOnGeo=function(e,n,i,a){var o=i.targetVisuals.inRange,s=i.targetVisuals.outOfRange,l=n.getData(),u=this._hmLayer||this._hmLayer||new ek;u.blurSize=n.get("blurSize"),u.pointSize=n.get("pointSize"),u.minOpacity=n.get("minOpacity"),u.maxOpacity=n.get("maxOpacity");var f=e.getViewRect().clone(),h=e.getRoamTransform();f.applyTransform(h);var c=Math.max(f.x,0),v=Math.max(f.y,0),d=Math.min(f.width+f.x,a.getWidth()),p=Math.min(f.height+f.y,a.getHeight()),m=d-c,g=p-v,y=[l.mapDimension("lng"),l.mapDimension("lat"),l.mapDimension("value")],_=l.mapArray(y,function(w,T,D){var A=e.dataToPoint([w,T]);return A[0]-=c,A[1]-=v,A.push(D),A}),S=i.getExtent(),x=i.type==="visualMap.continuous"?nk(S,i.option.range):rk(S,i.getPieceList(),i.option.selected);u.update(_,m,g,o.color.getNormalizer(),{inRange:o.color.getColorMapper(),outOfRange:s.color.getColorMapper()},x);var b=new _r({style:{width:m,height:g,x:c,y:v,image:u.canvas},silent:!0});this.group.add(b)},t.type="heatmap",t})(he),ak=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,n){return Vo(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=tu.get(this.get("coordinateSystem"));if(e&&e.dimensions)return e.dimensions[0]==="lng"&&e.dimensions[1]==="lat"},t.type="series.heatmap",t.dependencies=["grid","geo","calendar","matrix"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:B.color.primary}}},t})(be);function ok(r){r.registerChartView(ik),r.registerSeriesModel(ak)}var Vn=wt(),Im=J,kf=$,sk=(function(){function r(){this._dragging=!1,this.animationThreshold=15}return r.prototype.render=function(t,e,n,i){var a=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,!(!i&&this._lastValue===a&&this._lastStatus===o)){this._lastValue=a,this._lastStatus=o;var s=this._group,l=this._handle;if(!o||o==="hide"){s&&s.hide(),l&&l.hide();return}s&&s.show(),l&&l.show();var u={};this.makeElOption(u,a,t,e,n);var f=u.graphicKey;f!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=f;var h=this._moveAnimation=this.determineAnimation(t,e);if(!s)s=this._group=new xt,this.createPointerEl(s,u,t,e),this.createLabelEl(s,u,t,e),n.getZr().add(s);else{var c=pt(Pm,e,h);this.updatePointerEl(s,u,c),this.updateLabelEl(s,u,c,e)}km(s,e,!0),this._renderHandle(a)}},r.prototype.remove=function(t){this.clear(t)},r.prototype.dispose=function(t){this.clear(t)},r.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,a=i.type==="category",o=e.get("snap");if(!o&&!a)return!1;if(n==="auto"||n==null){var s=this.animationThreshold;if(a&&i.getBandWidth()>s)return!0;if(o){var l=Ev(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return n===!0},r.prototype.makeElOption=function(t,e,n,i,a){},r.prototype.createPointerEl=function(t,e,n,i){var a=e.pointer;if(a){var o=Vn(t).pointerEl=new MM[a.type](Im(e.pointer));t.add(o)}},r.prototype.createLabelEl=function(t,e,n,i){if(e.label){var a=Vn(t).labelEl=new At(Im(e.label));t.add(a),Rm(a,i)}},r.prototype.updatePointerEl=function(t,e,n){var i=Vn(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},r.prototype.updateLabelEl=function(t,e,n,i){var a=Vn(t).labelEl;a&&(a.setStyle(e.label.style),n(a,{x:e.label.x,y:e.label.y}),Rm(a,i))},r.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var e=this._axisPointerModel,n=this._api.getZr(),i=this._handle,a=e.getModel("handle"),o=e.get("status");if(!a.get("show")||!o||o==="hide"){i&&n.remove(i),this._handle=null;return}var s;this._handle||(s=!0,i=this._handle=Kl(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){Er(u.event)},onmousedown:kf(this._onHandleDragMove,this,0,0),drift:kf(this._onHandleDragMove,this),ondragend:kf(this._onHandleDragEnd,this)}),n.add(i)),km(i,e,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=a.get("size");G(l)||(l=[l,l]),i.scaleX=l[0]/2,i.scaleY=l[1]/2,nu(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},r.prototype._moveHandleToValue=function(t,e){Pm(this._axisPointerModel,!e&&this._moveAnimation,this._handle,Ef(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},r.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(Ef(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(Ef(i)),Vn(n).lastProp=null,this._doDispatchAxisPointer()}},r.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},r.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},r.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),_l(this,"_doDispatchAxisPointer")},r.prototype.doClear=function(){},r.prototype.buildLabel=function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}},r})();function Pm(r,t,e,n){WS(Vn(e).lastProp,n)||(Vn(e).lastProp=n,t?ie(e,n,r):(e.stopAnimation(),e.attr(n)))}function WS(r,t){if(X(r)&&X(t)){var e=!0;return C(t,function(n,i){e=e&&WS(r[i],n)}),!!e}else return r===t}function Rm(r,t){r[t.get(["label","show"])?"show":"hide"]()}function Ef(r){return{x:r.x||0,y:r.y||0,rotation:r.rotation||0}}function km(r,t,e){var n=t.get("z"),i=t.get("zlevel");r&&r.traverse(function(a){a.type!=="group"&&(n!=null&&(a.z=n),i!=null&&(a.zlevel=i),a.silent=e)})}function lk(r){var t=r.get("type"),e=r.getModel(t+"Style"),n;return t==="line"?(n=e.getLineStyle(),n.fill=null):t==="shadow"&&(n=e.getAreaStyle(),n.stroke=null),n}function uk(r,t,e,n,i){var a=e.get("value"),o=US(a,t.axis,t.ecModel,e.get("seriesDataIndices"),{precision:e.get(["label","precision"]),formatter:e.get(["label","formatter"])}),s=e.getModel("label"),l=zo(s.get("padding")||0),u=s.getFont(),f=Rc(o,u),h=i.position,c=f.width+l[1]+l[3],v=f.height+l[0]+l[2],d=i.align;d==="right"&&(h[0]-=c),d==="center"&&(h[0]-=c/2);var p=i.verticalAlign;p==="bottom"&&(h[1]-=v),p==="middle"&&(h[1]-=v/2),fk(h,c,v,n);var m=s.get("backgroundColor");(!m||m==="auto")&&(m=t.get(["axisLine","lineStyle","color"])),r.label={x:h[0],y:h[1],style:fe(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:m}),z2:10}}function fk(r,t,e,n){var i=n.getWidth(),a=n.getHeight();r[0]=Math.min(r[0]+t,i)-t,r[1]=Math.min(r[1]+e,a)-e,r[0]=Math.max(r[0],0),r[1]=Math.max(r[1],0)}function US(r,t,e,n,i){r=t.scale.parse(r);var a=t.scale.getLabel({value:r},{precision:i.precision}),o=i.formatter;if(o){var s={value:Ml(t,{value:r}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};C(n,function(l){var u=e.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,h=u&&u.getDataParams(f);h&&s.seriesData.push(h)}),Z(o)?a=o.replace("{value}",a):tt(o)&&(a=o(s))}return a}function YS(r,t,e){var n=Rr();return Lc(n,n,e.rotation),jf(n,n,e.position),nn([r.dataToCoord(t),(e.labelOffset||0)+(e.labelDirection||1)*(e.labelMargin||0)],n)}function hk(r,t,e,n,i,a){var o=on.innerTextLayout(e.rotation,0,e.labelDirection);e.labelMargin=i.get(["label","margin"]),uk(t,n,i,a,{position:YS(n.axis,r,e),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function ck(r,t,e){return e=e||0,{x1:r[e],y1:r[1-e],x2:t[e],y2:t[1-e]}}function vk(r,t,e){return e=e||0,{x:r[e],y:r[1-e],width:t[e],height:t[1-e]}}var dk=(function(r){O(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,n,i,a,o){var s=i.axis,l=s.grid,u=a.get("type"),f=Em(l,s).getOtherAxis(s).getGlobalExtent(),h=s.toGlobalCoord(s.dataToCoord(n,!0));if(u&&u!=="none"){var c=lk(a),v=pk[u](s,h,f);v.style=c,e.graphicKey=v.type,e.pointer=v}var d=Rl(l.getRect(),i);hk(n,e,d,i,a,o)},t.prototype.getHandleTransform=function(e,n,i){var a=Rl(n.axis.grid.getRect(),n,{labelInside:!1});a.labelMargin=i.get(["handle","margin"]);var o=YS(n.axis,e,a);return{x:o[0],y:o[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,n,i,a){var o=i.axis,s=o.grid,l=o.getGlobalExtent(!0),u=Em(s,o).getOtherAxis(o).getGlobalExtent(),f=o.dim==="x"?0:1,h=[e.x,e.y];h[f]+=n[f],h[f]=Math.min(l[1],h[f]),h[f]=Math.max(l[0],h[f]);var c=(u[1]+u[0])/2,v=[c,c];v[f]=h[f];var d=[{verticalAlign:"middle"},{align:"center"}];return{x:h[0],y:h[1],rotation:e.rotation,cursorPoint:v,tooltipOption:d[f]}},t})(sk);function Em(r,t){var e={};return e[t.dim+"AxisIndex"]=t.index,r.getCartesian(e)}var pk={line:function(r,t,e){var n=ck([t,e[0]],[t,e[1]],Om(r));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(r,t,e){var n=Math.max(1,r.getBandWidth()),i=e[1]-e[0];return{type:"Rect",shape:vk([t-n/2,e[0]],[n,i],Om(r))}}};function Om(r){return r.dim==="x"?0:1}var gk=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:B.color.border,width:1,type:"dashed"},shadowStyle:{color:B.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:B.color.neutral00,padding:[5,7,5,7],backgroundColor:B.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:B.color.accent40,throttle:40}},t})(mt),Pr=wt(),mk=C;function $S(r,t,e){if(!ot.node){var n=t.getZr();Pr(n).records||(Pr(n).records={}),yk(n,t);var i=Pr(n).records[r]||(Pr(n).records[r]={});i.handler=e}}function yk(r,t){if(Pr(r).initialized)return;Pr(r).initialized=!0,e("click",pt(Bm,"click")),e("mousemove",pt(Bm,"mousemove")),e("globalout",Sk);function e(n,i){r.on(n,function(a){var o=bk(t);mk(Pr(r).records,function(s){s&&i(s,a,o.dispatchAction)}),_k(o.pendings,t)})}}function _k(r,t){var e=r.showTip.length,n=r.hideTip.length,i;e?i=r.showTip[e-1]:n&&(i=r.hideTip[n-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function Sk(r,t,e){r.handler("leave",null,e)}function Bm(r,t,e,n){t.handler(r,e,n)}function bk(r){var t={showTip:[],hideTip:[]},e=function(n){var i=t[n.type];i?i.push(n):(n.dispatchAction=e,r.dispatchAction(n))};return{dispatchAction:e,pendings:t}}function fc(r,t){if(!ot.node){var e=t.getZr(),n=(Pr(e).records||{})[r];n&&(Pr(e).records[r]=null)}}var xk=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){var a=n.getComponent("tooltip"),o=e.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";$S("axisPointer",i,function(s,l,u){o!=="none"&&(s==="leave"||o.indexOf(s)>=0)&&u({type:"updateAxisPointer",currTrigger:s,x:l&&l.offsetX,y:l&&l.offsetY})})},t.prototype.remove=function(e,n){fc("axisPointer",n)},t.prototype.dispose=function(e,n){fc("axisPointer",n)},t.type="axisPointer",t})(de);function ZS(r,t){var e=[],n=r.seriesIndex,i;if(n==null||!(i=t.getSeriesByIndex(n)))return{point:[]};var a=i.getData(),o=ti(a,r);if(o==null||o<0||G(o))return{point:[]};var s=a.getItemGraphicEl(o),l=i.coordinateSystem;if(i.getTooltipPosition)e=i.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(r.isStacked){var u=l.getBaseAxis(),f=l.getOtherAxis(u),h=f.dim,c=u.dim,v=h==="x"||h==="radius"?1:0,d=a.mapDimension(c),p=[];p[v]=a.get(d,o),p[1-v]=a.get(a.getCalculationInfo("stackResultDimension"),o),e=l.dataToPoint(p)||[]}else e=l.dataToPoint(a.getValues(Y(l.dimensions,function(g){return a.mapDimension(g)}),o))||[];else if(s){var m=s.getBoundingRect().clone();m.applyTransform(s.transform),e=[m.x+m.width/2,m.y+m.height/2]}return{point:e,el:s}}var Nm=wt();function wk(r,t,e){var n=r.currTrigger,i=[r.x,r.y],a=r,o=r.dispatchAction||$(e.dispatchAction,e),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){Xs(i)&&(i=ZS({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var l=Xs(i),u=a.axesInfo,f=s.axesInfo,h=n==="leave"||Xs(i),c={},v={},d={list:[],map:{}},p={showPointer:pt(Ck,v),showTooltip:pt(Mk,d)};C(s.coordSysMap,function(g,y){var _=l||g.containPoint(i);C(s.coordSysAxesInfo[y],function(S,x){var b=S.axis,w=Ik(u,S);if(!h&&_&&(!u||w)){var T=w&&w.value;T==null&&!l&&(T=b.pointToData(i)),T!=null&&zm(S,T,p,!1,c)}})});var m={};return C(f,function(g,y){var _=g.linkGroup;_&&!v[y]&&C(_.axesInfo,function(S,x){var b=v[x];if(S!==g&&b){var w=b.value;_.mapper&&(w=g.axis.scale.parse(_.mapper(w,Vm(S),Vm(g)))),m[g.key]=w}})}),C(m,function(g,y){zm(f[y],g,p,!0,c)}),Dk(v,f,c),Ak(d,i,r,o),Lk(f,o,e),c}}function zm(r,t,e,n,i){var a=r.axis;if(!(a.scale.isBlank()||!a.containData(t))){if(!r.involveSeries){e.showPointer(r,t);return}var o=Tk(t,r),s=o.payloadBatch,l=o.snapToValue;s[0]&&i.seriesIndex==null&&z(i,s[0]),!n&&r.snap&&a.containData(l)&&l!=null&&(t=l),e.showPointer(r,t,s),e.showTooltip(r,o,l)}}function Tk(r,t){var e=t.axis,n=e.dim,i=r,a=[],o=Number.MAX_VALUE,s=-1;return C(t.seriesModels,function(l,u){var f=l.getData().mapDimensionsAll(n),h,c;if(l.getAxisTooltipData){var v=l.getAxisTooltipData(f,r,e);c=v.dataIndices,h=v.nestestValue}else{if(c=l.indicesOfNearest(n,f[0],r,e.type==="category"?.5:null),!c.length)return;h=l.getData().get(f[0],c[0])}if(!(h==null||!isFinite(h))){var d=r-h,p=Math.abs(d);p<=o&&((p=0&&s<0)&&(o=p,s=d,i=h,a.length=0),C(c,function(m){a.push({seriesIndex:l.seriesIndex,dataIndexInside:m,dataIndex:l.getData().getRawIndex(m)})}))}}),{payloadBatch:a,snapToValue:i}}function Ck(r,t,e,n){r[t.key]={value:e,payloadBatch:n}}function Mk(r,t,e,n){var i=e.payloadBatch,a=t.axis,o=a.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!i.length)){var l=t.coordSys.model,u=Do(l),f=r.map[u];f||(f=r.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},r.list.push(f)),f.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function Dk(r,t,e){var n=e.axesInfo=[];C(t,function(i,a){var o=i.axisPointerModel.option,s=r[a];s?(!i.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!i.useHandle&&(o.status="hide"),o.status==="show"&&n.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:o.value})})}function Ak(r,t,e,n){if(Xs(t)||!r.list.length){n({type:"hideTip"});return}var i=((r.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:e.tooltipOption,position:e.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:r.list})}function Lk(r,t,e){var n=e.getZr(),i="axisPointerLastHighlights",a=Nm(n)[i]||{},o=Nm(n)[i]={};C(r,function(u,f){var h=u.axisPointerModel.option;h.status==="show"&&u.triggerEmphasis&&C(h.seriesDataIndices,function(c){var v=c.seriesIndex+" | "+c.dataIndex;o[v]=c})});var s=[],l=[];C(a,function(u,f){!o[f]&&l.push(u)}),C(o,function(u,f){!a[f]&&s.push(u)}),l.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function Ik(r,t){for(var e=0;e<(r||[]).length;e++){var n=r[e];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function Vm(r){var t=r.axis.model,e={},n=e.axisDim=r.axis.dim;return e.axisIndex=e[n+"AxisIndex"]=t.componentIndex,e.axisName=e[n+"AxisName"]=t.name,e.axisId=e[n+"AxisId"]=t.id,e}function Xs(r){return!r||r[0]==null||isNaN(r[0])||r[1]==null||isNaN(r[1])}function XS(r){MS.registerAxisPointerClass("CartesianAxisPointer",dk),r.registerComponentModel(gk),r.registerComponentView(xk),r.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!G(e)&&(t.axisPointer.link=[e])}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=fR(t,e)}),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},wk)}function Pk(r){pe(LS),pe(XS)}var Fm=["x","y","radius","angle","single"],Rk=["cartesian2d","polar","singleAxis"];function kk(r){var t=r.get("coordinateSystem");return ht(Rk,t)>=0}function tn(r){return r+"Axis"}function Ek(r,t){var e=nt(),n=[],i=nt();r.eachComponent({mainType:"dataZoom",query:t},function(f){i.get(f.uid)||s(f)});var a;do a=!1,r.eachComponent("dataZoom",o);while(a);function o(f){!i.get(f.uid)&&l(f)&&(s(f),a=!0)}function s(f){i.set(f.uid,!0),n.push(f),u(f)}function l(f){var h=!1;return f.eachTargetAxis(function(c,v){var d=e.get(c);d&&d[v]&&(h=!0)}),h}function u(f){f.eachTargetAxis(function(h,c){(e.get(h)||e.set(h,[]))[c]=!0})}return n}function qS(r){var t=r.ecModel,e={infoList:[],infoMap:nt()};return r.eachTargetAxis(function(n,i){var a=t.getComponent(tn(n),i);if(a){var o=a.getCoordSysModel();if(o){var s=o.uid,l=e.infoMap.get(s);l||(l={model:o,axisModels:[]},e.infoList.push(l),e.infoMap.set(s,l)),l.axisModels.push(a)}}}),e}var Of=(function(){function r(){this.indexList=[],this.indexMap=[]}return r.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},r})(),Io=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._autoThrottle=!0,e._noTarget=!0,e._rangePropMode=["percent","percent"],e}return t.prototype.init=function(e,n,i){var a=Hm(e);this.settledOption=a,this.mergeDefaultAndTheme(e,i),this._doInit(a)},t.prototype.mergeOption=function(e){var n=Hm(e);lt(this.option,e,!0),lt(this.settledOption,n,!0),this._doInit(n)},t.prototype._doInit=function(e){var n=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var i=this.settledOption;C([["start","startValue"],["end","endValue"]],function(a,o){this._rangePropMode[o]==="value"&&(n[a[0]]=i[a[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),n=this._targetAxisInfoMap=nt(),i=this._fillSpecifiedTargetAxis(n);i?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(n,this._orient)),this._noTarget=!0,n.each(function(a){a.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(e){var n=!1;return C(Fm,function(i){var a=this.getReferringComponents(tn(i),dT);if(a.specified){n=!0;var o=new Of;C(a.models,function(s){o.add(s.componentIndex)}),e.set(i,o)}},this),n},t.prototype._fillAutoTargetAxisByOrient=function(e,n){var i=this.ecModel,a=!0;if(a){var o=n==="vertical"?"y":"x",s=i.findComponents({mainType:o+"Axis"});l(s,o)}if(a){var s=i.findComponents({mainType:"singleAxis",filter:function(f){return f.get("orient",!0)===n}});l(s,"single")}function l(u,f){var h=u[0];if(h){var c=new Of;if(c.add(h.componentIndex),e.set(f,c),a=!1,f==="x"||f==="y"){var v=h.getReferringComponents("grid",qt).models[0];v&&C(u,function(d){h.componentIndex!==d.componentIndex&&v===d.getReferringComponents("grid",qt).models[0]&&c.add(d.componentIndex)})}}}a&&C(Fm,function(u){if(a){var f=i.findComponents({mainType:tn(u),filter:function(c){return c.get("type",!0)==="category"}});if(f[0]){var h=new Of;h.add(f[0].componentIndex),e.set(u,h),a=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis(function(n){!e&&(e=n)},this),e==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var n=this.ecModel.option;this.option.throttle=n.animation&&n.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var n=this._rangePropMode,i=this.get("rangeMode");C([["start","startValue"],["end","endValue"]],function(a,o){var s=e[a[0]]!=null,l=e[a[1]]!=null;s&&!l?n[o]="percent":!s&&l?n[o]="value":i?n[o]=i[o]:s&&(n[o]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis(function(n,i){e==null&&(e=this.ecModel.getComponent(tn(n),i))},this),e},t.prototype.eachTargetAxis=function(e,n){this._targetAxisInfoMap.each(function(i,a){C(i.indexList,function(o){e.call(n,a,o)})})},t.prototype.getAxisProxy=function(e,n){var i=this.getAxisModel(e,n);if(i)return i.__dzAxisProxy},t.prototype.getAxisModel=function(e,n){var i=this._targetAxisInfoMap.get(e);if(i&&i.indexMap[n])return this.ecModel.getComponent(tn(e),n)},t.prototype.setRawRange=function(e){var n=this.option,i=this.settledOption;C([["start","startValue"],["end","endValue"]],function(a){(e[a[0]]!=null||e[a[1]]!=null)&&(n[a[0]]=i[a[0]]=e[a[0]],n[a[1]]=i[a[1]]=e[a[1]])},this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var n=this.option;C(["start","startValue","end","endValue"],function(i){n[i]=e[i]})},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,n){if(e==null&&n==null){var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()}else return this.getAxisProxy(e,n).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var n,i=this._targetAxisInfoMap.keys(),a=0;ao[1];if(_&&!S&&!x)return!0;_&&(m=!0),S&&(d=!0),x&&(p=!0)}return m&&d&&p})}else Ri(f,function(v){if(a==="empty")l.setData(u=u.map(v,function(p){return s(p)?p:NaN}));else{var d={};d[v]=o,u.selectRange(d)}});Ri(f,function(v){u.setApproximateExtent(o,v)})}});function s(l){return l>=o[0]&&l<=o[1]}},r.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;Ri(["min","max"],function(i){var a=e.get(i+"Span"),o=e.get(i+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?a=Ct(n[0]+o,n,[0,100],!0):a!=null&&(o=Ct(a,[0,100],n,!0)-n[0]),t[i+"Span"]=a,t[i+"ValueSpan"]=o},this)},r.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=o0(n,[0,500]);i=Math.min(i,20);var a=t.axis.scale.rawExtentInfo;e[0]!==0&&a.setDeterminedMinMax("min",+n[0].toFixed(i)),e[1]!==100&&a.setDeterminedMinMax("max",+n[1].toFixed(i)),a.freeze()}},r})();function zk(r,t,e){var n=[1/0,-1/0];Ri(e,function(o){eI(n,o.getData(),t)});var i=r.getAxisModel(),a=N1(i.axis.scale,i,n).calculate();return[a.min,a.max]}var Vk={getTargetSeries:function(r){function t(i){r.eachComponent("dataZoom",function(a){a.eachTargetAxis(function(o,s){var l=r.getComponent(tn(o),s);i(o,s,l,a)})})}t(function(i,a,o,s){o.__dzAxisProxy=null});var e=[];t(function(i,a,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new Nk(i,a,s,r),e.push(o.__dzAxisProxy))});var n=nt();return C(e,function(i){C(i.getTargetSeriesModels(),function(a){n.set(a.uid,a)})}),n},overallReset:function(r,t){r.eachComponent("dataZoom",function(e){e.eachTargetAxis(function(n,i){e.getAxisProxy(n,i).reset(e)}),e.eachTargetAxis(function(n,i){e.getAxisProxy(n,i).filterData(e,t)})}),r.eachComponent("dataZoom",function(e){var n=e.findRepresentativeAxisProxy();if(n){var i=n.getDataPercentWindow(),a=n.getDataValueWindow();e.setCalculatedRange({start:i[0],end:i[1],startValue:a[0],endValue:a[1]})}})}};function Fk(r){r.registerAction("dataZoom",function(t,e){var n=Ek(e,t);C(n,function(i){i.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var Wm=!1;function Wv(r){Wm||(Wm=!0,r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,Vk),Fk(r),r.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function Hk(r){r.registerComponentModel(Ok),r.registerComponentView(Bk),Wv(r)}var Ze=(function(){function r(){}return r})(),KS={};function ka(r,t){KS[r]=t}function QS(r){return KS[r]}var Gk=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(){r.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;C(this.option.feature,function(n,i){var a=QS(i);a&&(a.getDefaultOption&&(a.defaultOption=a.getDefaultOption(e)),lt(n,a.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:B.color.border,borderRadius:0,borderWidth:0,padding:B.size.m,itemSize:15,itemGap:B.size.s,showTitle:!0,iconStyle:{borderColor:B.color.accent50,color:"none"},emphasis:{iconStyle:{borderColor:B.color.accent50}},tooltip:{show:!1,position:"bottom"}},t})(mt);function JS(r,t){var e=zo(t.get("padding")),n=t.getItemStyle(["color","opacity"]);n.fill=t.get("backgroundColor");var i=new gt({shape:{x:r.x-e[3],y:r.y-e[0],width:r.width+e[1]+e[3],height:r.height+e[0]+e[2],r:t.get("borderRadius")},style:n,silent:!0,z2:-1});return i}var Wk=(function(r){O(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,n,i,a){var o=this.group;if(o.removeAll(),!e.get("show"))return;var s=+e.get("itemSize"),l=e.get("orient")==="vertical",u=e.get("feature")||{},f=this._features||(this._features={}),h=[];C(u,function(y,_){h.push(_)}),new Tv(this._featureNames||[],h).add(c).update(c).remove(pt(c,null)).execute(),this._featureNames=h;function c(y,_){var S=h[y],x=h[_],b=u[S],w=new Lt(b,e,e.ecModel),T;if(a&&a.newTitle!=null&&a.featureName===S&&(b.title=a.newTitle),S&&!x){if(Uk(S))T={onclick:w.option.onclick,featureName:S};else{var D=QS(S);if(!D)return;T=new D}f[S]=T}else if(T=f[x],!T)return;T.uid=No("toolbox-feature"),T.model=w,T.ecModel=n,T.api=i;var A=T instanceof Ze;if(!S&&x){A&&T.dispose&&T.dispose(n,i);return}if(!w.get("show")||A&&T.unusable){A&&T.remove&&T.remove(n,i);return}v(w,T,S),w.setIconStatus=function(M,I){var L=this.option,P=this.iconPaths;L.iconStatus=L.iconStatus||{},L.iconStatus[M]=I,P[M]&&(I==="emphasis"?qi:Ki)(P[M])},T instanceof Ze&&T.render&&T.render(w,n,i,a)}function v(y,_,S){var x=y.getModel("iconStyle"),b=y.getModel(["emphasis","iconStyle"]),w=_ instanceof Ze&&_.getIcons?_.getIcons():y.get("icon"),T=y.get("title")||{},D,A;Z(w)?(D={},D[S]=w):D=w,Z(T)?(A={},A[S]=T):A=T;var M=y.iconPaths={};C(D,function(I,L){var P=Kl(I,{},{x:-s/2,y:-s/2,width:s,height:s});P.setStyle(x.getItemStyle());var R=P.ensureState("emphasis");R.style=b.getItemStyle();var k=new At({style:{text:A[L],align:b.get("textAlign"),borderRadius:b.get("textBorderRadius"),padding:b.get("textPadding"),fill:null,font:J0({fontStyle:b.get("textFontStyle"),fontFamily:b.get("textFontFamily"),fontSize:b.get("textFontSize"),fontWeight:b.get("textFontWeight")},n)},ignore:!0});P.setTextContent(k),Oo({el:P,componentModel:e,itemName:L,formatterParamsExtra:{title:A[L]}}),P.__title=A[L],P.on("mouseover",function(){var W=b.getItemStyle(),E=l?e.get("right")==null&&e.get("left")!=="right"?"right":"left":e.get("bottom")==null&&e.get("top")!=="bottom"?"bottom":"top";k.setStyle({fill:b.get("textFill")||W.fill||W.stroke||B.color.neutral99,backgroundColor:b.get("textBackgroundColor")}),P.setTextConfig({position:b.get("textPosition")||E}),k.ignore=!e.get("showTitle"),i.enterEmphasis(this)}).on("mouseout",function(){y.get(["iconStatus",L])!=="emphasis"&&i.leaveEmphasis(this),k.hide()}),(y.get(["iconStatus",L])==="emphasis"?qi:Ki)(P),o.add(P),P.on("click",$(_.onclick,_,n,i,L)),M[L]=P})}var d=li(e,i).refContainer,p=e.getBoxLayoutParams(),m=e.get("padding"),g=Ve(p,d,m);Jn(e.get("orient"),o,e.get("itemGap"),g.width,g.height),d_(o,p,d,m),o.add(JS(o.getBoundingRect(),e)),l||o.eachChild(function(y){var _=y.__title,S=y.ensureState("emphasis"),x=S.textConfig||(S.textConfig={}),b=y.getTextContent(),w=b&&b.ensureState("emphasis");if(w&&!tt(w)&&_){var T=w.style||(w.style={}),D=Rc(_,At.makeFont(T)),A=y.x+o.x,M=y.y+o.y+s,I=!1;M+D.height>i.getHeight()&&(x.position="top",I=!0);var L=I?-5-D.height:s+10;A+D.width/2>i.getWidth()?(x.position=["100%",L],T.align="right"):A-D.width/2<0&&(x.position=[0,L],T.align="left")}})},t.prototype.updateView=function(e,n,i,a){C(this._features,function(o){o instanceof Ze&&o.updateView&&o.updateView(o.model,n,i,a)})},t.prototype.remove=function(e,n){C(this._features,function(i){i instanceof Ze&&i.remove&&i.remove(e,n)}),this.group.removeAll()},t.prototype.dispose=function(e,n){C(this._features,function(i){i instanceof Ze&&i.dispose&&i.dispose(e,n)})},t.type="toolbox",t})(de);function Uk(r){return r.indexOf("my")===0}var Yk=(function(r){O(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,n){var i=this.model,a=i.get("name")||e.get("title.0.text")||"echarts",o=n.getZr().painter.getType()==="svg",s=o?"svg":i.get("type",!0)||"png",l=n.getConnectedDataURL({type:s,backgroundColor:i.get("backgroundColor",!0)||e.get("backgroundColor")||B.color.neutral00,connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")}),u=ot.browser;if(typeof MouseEvent=="function"&&(u.newEdge||!u.ie&&!u.edge)){var f=document.createElement("a");f.download=a+"."+s,f.target="_blank",f.href=l;var h=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});f.dispatchEvent(h)}else if(window.navigator.msSaveOrOpenBlob||o){var c=l.split(","),v=c[0].indexOf("base64")>-1,d=o?decodeURIComponent(c[1]):c[1];v&&(d=window.atob(d));var p=a+"."+s;if(window.navigator.msSaveOrOpenBlob){for(var m=d.length,g=new Uint8Array(m);m--;)g[m]=d.charCodeAt(m);var y=new Blob([g]);window.navigator.msSaveOrOpenBlob(y,p)}else{var _=document.createElement("iframe");document.body.appendChild(_);var S=_.contentWindow,x=S.document;x.open("image/svg+xml","replace"),x.write(d),x.close(),S.focus(),x.execCommand("SaveAs",!0,p),document.body.removeChild(_)}}else{var b=i.get("lang"),w='',T=window.open();T.document.write(w),T.document.title=a}},t.getDefaultOption=function(e){var n={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:B.color.neutral00,name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return n},t})(Ze),Um="__ec_magicType_stack__",$k=[["line","bar"],["stack"]],Zk=(function(r){O(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getIcons=function(){var e=this.model,n=e.get("icon"),i={};return C(e.get("type"),function(a){n[a]&&(i[a]=n[a])}),i},t.getDefaultOption=function(e){var n={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return n},t.prototype.onclick=function(e,n,i){var a=this.model,o=a.get(["seriesIndex",i]);if(Ym[i]){var s={series:[]},l=function(h){var c=h.subType,v=h.id,d=Ym[i](c,v,h,a);d&&(dt(d,h.option),s.series.push(d));var p=h.coordinateSystem;if(p&&p.type==="cartesian2d"&&(i==="line"||i==="bar")){var m=p.getAxesByScale("ordinal")[0];if(m){var g=m.dim,y=g+"Axis",_=h.getReferringComponents(y,qt).models[0],S=_.componentIndex;s[y]=s[y]||[];for(var x=0;x<=S;x++)s[y][S]=s[y][S]||{};s[y][S].boundaryGap=i==="bar"}}};C($k,function(h){ht(h,i)>=0&&C(h,function(c){a.setIconStatus(c,"normal")})}),a.setIconStatus(i,"emphasis"),e.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},l);var u,f=i;i==="stack"&&(u=lt({stack:a.option.title.tiled,tiled:a.option.title.stack},a.option.title),a.get(["iconStatus",i])!=="emphasis"&&(f="tiled")),n.dispatchAction({type:"changeMagicType",currentType:f,newOption:s,newTitle:u,featureName:"magicType"})}},t})(Ze),Ym={line:function(r,t,e,n){if(r==="bar")return lt({id:t,type:"line",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},n.get(["option","line"])||{},!0)},bar:function(r,t,e,n){if(r==="line")return lt({id:t,type:"bar",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},n.get(["option","bar"])||{},!0)},stack:function(r,t,e,n){var i=e.get("stack")===Um;if(r==="line"||r==="bar")return n.setIconStatus("stack",i?"normal":"emphasis"),lt({id:t,stack:i?"":Um},n.get(["option","stack"])||{},!0)}};Sr({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(r,t){t.mergeOption(r.newOption)});var su=new Array(60).join("-"),ia=" ";function Xk(r){var t={},e=[],n=[];return r.eachRawSeries(function(i){var a=i.coordinateSystem;if(a&&(a.type==="cartesian2d"||a.type==="polar")){var o=a.getBaseAxis();if(o.type==="category"){var s=o.dim+"_"+o.index;t[s]||(t[s]={categoryAxis:o,valueAxis:a.getOtherAxis(o),series:[]},n.push({axisDim:o.dim,axisIndex:o.index})),t[s].series.push(i)}else e.push(i)}else e.push(i)}),{seriesGroupByCategoryAxis:t,other:e,meta:n}}function qk(r){var t=[];return C(r,function(e,n){var i=e.categoryAxis,a=e.valueAxis,o=a.dim,s=[" "].concat(Y(e.series,function(v){return v.name})),l=[i.model.getCategories()];C(e.series,function(v){var d=v.getRawData();l.push(v.getRawData().mapArray(d.mapDimension(o),function(p){return p}))});for(var u=[s.join(ia)],f=0;f=0)return!0}var hc=new RegExp("["+ia+"]+","g");function jk(r){for(var t=r.split(/\n+/g),e=El(t.shift()).split(hc),n=[],i=Y(e,function(l){return{name:l,data:[]}}),a=0;a=0;a--){var o=e[a];if(o[i])break}if(a<0){var s=r.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(s){var l=s.getPercentRange();e[0][i]={dataZoomId:i,start:l[0],end:l[1]}}}}),e.push(t)}function aE(r){var t=Uv(r),e=t[t.length-1];t.length>1&&t.pop();var n={};return jS(e,function(i,a){for(var o=t.length-1;o>=0;o--)if(i=t[o][a],i){n[a]=i;break}}),n}function oE(r){tb(r).snapshots=null}function sE(r){return Uv(r).length}function Uv(r){var t=tb(r);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var lE=(function(r){O(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,n){oE(e),n.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){var n={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])};return n},t})(Ze);Sr({type:"restore",event:"restore",update:"prepareAndUpdate"},function(r,t){t.resetOption("recreate")});var uE=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],eb=(function(){function r(t,e,n){var i=this;this._targetInfoList=[];var a=$m(e,t);C(fE,function(o,s){(!n||!n.include||ht(n.include,s)>=0)&&o(a,i._targetInfoList)})}return r.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(n,i,a){if((n.coordRanges||(n.coordRanges=[])).push(i),!n.coordRange){n.coordRange=i;var o=Bf[n.brushType](0,a,i);n.__rangeOffset={offset:Km[n.brushType](o.values,n.range,[1,1]),xyMinMax:o.xyMinMax}}}),t},r.prototype.matchOutputRanges=function(t,e,n){C(t,function(i){var a=this.findTargetInfo(i,e);a&&a!==!0&&C(a.coordSyses,function(o){var s=Bf[i.brushType](1,o,i.range,!0);n(i,s.values,o,e)})},this)},r.prototype.setInputRanges=function(t,e){C(t,function(n){var i=this.findTargetInfo(n,e);if(n.range=n.range||[],i&&i!==!0){n.panelId=i.panelId;var a=Bf[n.brushType](0,i.coordSys,n.coordRange),o=n.__rangeOffset;n.range=o?Km[n.brushType](a.values,o.offset,hE(a.xyMinMax,o.xyMinMax)):a.values}},this)},r.prototype.makePanelOpts=function(t,e){return Y(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:QR(i),isTargetByCursor:jR(i,t,n.coordSysModel),getLinearBrushOtherExtent:JR(i)}})},r.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return i===!0||i&&ht(i.coordSyses,e.coordinateSystem)>=0},r.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=$m(e,t),a=0;ar[1]&&r.reverse(),r}function $m(r,t){return ja(r,t,{includeMainTypes:uE})}var fE={grid:function(r,t){var e=r.xAxisModels,n=r.yAxisModels,i=r.gridModels,a=nt(),o={},s={};!e&&!n&&!i||(C(e,function(l){var u=l.axis.grid.model;a.set(u.id,u),o[u.id]=!0}),C(n,function(l){var u=l.axis.grid.model;a.set(u.id,u),s[u.id]=!0}),C(i,function(l){a.set(l.id,l),o[l.id]=!0,s[l.id]=!0}),a.each(function(l){var u=l.coordinateSystem,f=[];C(u.getCartesians(),function(h,c){(ht(e,h.getAxis("x").model)>=0||ht(n,h.getAxis("y").model)>=0)&&f.push(h)}),t.push({panelId:"grid--"+l.id,gridModel:l,coordSysModel:l,coordSys:f[0],coordSyses:f,getPanelRect:Xm.grid,xAxisDeclared:o[l.id],yAxisDeclared:s[l.id]})}))},geo:function(r,t){C(r.geoModels,function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:Xm.geo})})}},Zm=[function(r,t){var e=r.xAxisModel,n=r.yAxisModel,i=r.gridModel;return!i&&e&&(i=e.axis.grid.model),!i&&n&&(i=n.axis.grid.model),i&&i===t.gridModel},function(r,t){var e=r.geoModel;return e&&e===t.geoModel}],Xm={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var r=this.coordSys,t=r.getBoundingRect().clone();return t.applyTransform(Kn(r)),t}},Bf={lineX:pt(qm,0),lineY:pt(qm,1),rect:function(r,t,e,n){var i=r?t.pointToData([e[0][0],e[1][0]],n):t.dataToPoint([e[0][0],e[1][0]],n),a=r?t.pointToData([e[0][1],e[1][1]],n):t.dataToPoint([e[0][1],e[1][1]],n),o=[cc([i[0],a[0]]),cc([i[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(r,t,e,n){var i=[[1/0,-1/0],[1/0,-1/0]],a=Y(e,function(o){var s=r?t.pointToData(o,n):t.dataToPoint(o,n);return i[0][0]=Math.min(i[0][0],s[0]),i[1][0]=Math.min(i[1][0],s[1]),i[0][1]=Math.max(i[0][1],s[0]),i[1][1]=Math.max(i[1][1],s[1]),s});return{values:a,xyMinMax:i}}};function qm(r,t,e,n){var i=e.getAxis(["x","y"][r]),a=cc(Y([0,1],function(s){return t?i.coordToData(i.toLocalCoord(n[s]),!0):i.toGlobalCoord(i.dataToCoord(n[s]))})),o=[];return o[r]=a,o[1-r]=[NaN,NaN],{values:a,xyMinMax:o}}var Km={lineX:pt(Qm,0),lineY:pt(Qm,1),rect:function(r,t,e){return[[r[0][0]-e[0]*t[0][0],r[0][1]-e[0]*t[0][1]],[r[1][0]-e[1]*t[1][0],r[1][1]-e[1]*t[1][1]]]},polygon:function(r,t,e){return Y(r,function(n,i){return[n[0]-e[0]*t[i][0],n[1]-e[1]*t[i][1]]})}};function Qm(r,t,e,n){return[t[0]-n[r]*e[0],t[1]-n[r]*e[1]]}function hE(r,t){var e=Jm(r),n=Jm(t),i=[e[0]/n[0],e[1]/n[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function Jm(r){return r?[r[0][1]-r[0][0],r[1][1]-r[1][0]]:[NaN,NaN]}var vc=C,cE=uT("toolbox-dataZoom_"),vE=(function(r){O(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,n,i,a){this._brushController||(this._brushController=new GR(i.getZr()),this._brushController.on("brush",$(this._onBrush,this)).mount()),gE(e,n,this,a,i),pE(e,n)},t.prototype.onclick=function(e,n,i){dE[i].call(this)},t.prototype.remove=function(e,n){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,n){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var n=e.areas;if(!e.isEnd||!n.length)return;var i={},a=this.ecModel;this._brushController.updateCovers([]);var o=new eb(Yv(this.model),a,{include:["grid"]});o.matchOutputRanges(n,a,function(u,f,h){if(h.type==="cartesian2d"){var c=u.brushType;c==="rect"?(s("x",h,f[0]),s("y",h,f[1])):s({lineX:"x",lineY:"y"}[c],h,f)}}),iE(a,i),this._dispatchZoomAction(i);function s(u,f,h){var c=f.getAxis(u),v=c.model,d=l(u,v,a),p=d.findRepresentativeAxisProxy(v).getMinMaxSpan();(p.minValueSpan!=null||p.maxValueSpan!=null)&&(h=ii(0,h.slice(),c.scale.getExtent(),0,p.minValueSpan,p.maxValueSpan)),d&&(i[d.id]={dataZoomId:d.id,startValue:h[0],endValue:h[1]})}function l(u,f,h){var c;return h.eachComponent({mainType:"dataZoom",subType:"select"},function(v){var d=v.getAxisModel(u,f.componentIndex);d&&(c=v)}),c}},t.prototype._dispatchZoomAction=function(e){var n=[];vc(e,function(i,a){n.push(J(i))}),n.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:n})},t.getDefaultOption=function(e){var n={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:B.color.backgroundTint}};return n},t})(Ze),dE={zoom:function(){var r=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:r})},back:function(){this._dispatchZoomAction(aE(this.ecModel))}};function Yv(r){var t={xAxisIndex:r.get("xAxisIndex",!0),yAxisIndex:r.get("yAxisIndex",!0),xAxisId:r.get("xAxisId",!0),yAxisId:r.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function pE(r,t){r.setIconStatus("back",sE(t)>1?"emphasis":"normal")}function gE(r,t,e,n,i){var a=e._isZoomActive;n&&n.type==="takeGlobalCursor"&&(a=n.key==="dataZoomSelect"?n.dataZoomSelectActive:!1),e._isZoomActive=a,r.setIconStatus("zoom",a?"emphasis":"normal");var o=new eb(Yv(r),t,{include:["grid"]}),s=o.makePanelOpts(i,function(l){return l.xAxisDeclared&&!l.yAxisDeclared?"lineX":!l.xAxisDeclared&&l.yAxisDeclared?"lineY":"rect"});e._brushController.setPanels(s).enableBrush(a&&s.length?{brushType:"auto",brushStyle:r.getModel("brushStyle").getItemStyle()}:!1)}SD("dataZoom",function(r){var t=r.getComponent("toolbox",0),e=["feature","dataZoom"];if(!t||t.get(e)==null)return;var n=t.getModel(e),i=[],a=Yv(n),o=ja(r,a);vc(o.xAxisModels,function(l){return s(l,"xAxis","xAxisIndex")}),vc(o.yAxisModels,function(l){return s(l,"yAxis","yAxisIndex")});function s(l,u,f){var h=l.componentIndex,c={type:"select",$fromToolbox:!0,filterMode:n.get("filterMode",!0)||"filter",id:cE+u+h};c[f]=h,i.push(c)}return i});function mE(r){r.registerComponentModel(Gk),r.registerComponentView(Wk),ka("saveAsImage",Yk),ka("magicType",Zk),ka("dataView",rE),ka("dataZoom",vE),ka("restore",lE),pe(Hk)}var yE=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:B.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:B.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:B.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:B.color.tertiary,fontSize:14}},t})(mt);function rb(r){var t=r.get("confine");return t!=null?!!t:r.get("renderMode")==="richText"}function nb(r){if(ot.domSupported){for(var t=document.documentElement.style,e=0,n=r.length;e-1?(s+="top:50%",l+="translateY(-50%) rotate("+(u=a==="left"?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(u=a==="top"?225:45)+"deg)");var f=u*Math.PI/180,h=o+i,c=h*Math.abs(Math.cos(f))+h*Math.abs(Math.sin(f)),v=Math.round(((c-Math.SQRT2*i)/2+Math.SQRT2*i-(c-h)/2)*100)/100;s+=";"+a+":-"+v+"px";var d=t+" solid "+i+"px;",p=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",s+";"+l+";","border-bottom:"+d,"border-right:"+d,"background-color:"+n+";"];return'
'}function CE(r,t,e){var n="cubic-bezier(0.23,1,0.32,1)",i="",a="";return e&&(i=" "+r/2+"s "+n,a="opacity"+i+",visibility"+i),t||(i=" "+r+"s "+n,a+=(a.length?",":"")+(ot.transformSupported?""+$v+i:",left"+i+",top"+i)),bE+":"+a}function jm(r,t,e){var n=r.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!ot.transformSupported)return e?"top:"+i+";left:"+n+";":[["top",i],["left",n]];var a=ot.transform3dSupported,o="translate"+(a?"3d":"")+"("+n+","+i+(a?",0":"")+")";return e?"top:0;left:0;"+$v+":"+o+";":[["top",0],["left",0],[ib,o]]}function ME(r){var t=[],e=r.get("fontSize"),n=r.getTextColor();n&&t.push("color:"+n),t.push("font:"+r.getFont());var i=j(r.get("lineHeight"),Math.round(e*3/2));e&&t.push("line-height:"+i+"px");var a=r.get("textShadowColor"),o=r.get("textShadowBlur")||0,s=r.get("textShadowOffsetX")||0,l=r.get("textShadowOffsetY")||0;return a&&o&&t.push("text-shadow:"+s+"px "+l+"px "+o+"px "+a),C(["decoration","align"],function(u){var f=r.get(u);f&&t.push("text-"+u+":"+f)}),t.join(";")}function DE(r,t,e,n){var i=[],a=r.get("transitionDuration"),o=r.get("backgroundColor"),s=r.get("shadowBlur"),l=r.get("shadowColor"),u=r.get("shadowOffsetX"),f=r.get("shadowOffsetY"),h=r.getModel("textStyle"),c=F_(r,"html"),v=u+"px "+f+"px "+s+"px "+l;return i.push("box-shadow:"+v),t&&a>0&&i.push(CE(a,e,n)),o&&i.push("background-color:"+o),C(["width","color","radius"],function(d){var p="border-"+d,m=h_(p),g=r.get(m);g!=null&&i.push(p+":"+g+(d==="color"?"":"px"))}),i.push(ME(h)),c!=null&&i.push("padding:"+zo(c).join("px ")+"px"),i.join(";")+";"}function ty(r,t,e,n,i){var a=t&&t.painter;if(e){var o=a&&a.getViewportRoot();o&&Ex(r,o,e,n,i)}else{r[0]=n,r[1]=i;var s=a&&a.getViewportRootOffset();s&&(r[0]+=s.offsetLeft,r[1]+=s.offsetTop)}r[2]=r[0]/t.getWidth(),r[3]=r[1]/t.getHeight()}var AE=(function(){function r(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,ot.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),a=e.appendTo,o=a&&(Z(a)?document.querySelector(a):$i(a)?a:tt(a)&&a(t.getDom()));ty(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var s=this;n.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},n.onmousemove=function(l){if(l=l||window.event,!s._enterable){var u=i.handler,f=i.painter.getViewportRoot();Me(f,l,!0),u.dispatch("mousemove",l)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return r.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),n=SE(e,"position"),i=e.style;i.position!=="absolute"&&n!=="absolute"&&(i.position="relative")}var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this._enableDisplayTransition=t.get("displayTransition")&&t.get("transitionDuration")>0,this.el.className=t.get("className")||""},r.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,a=this._styleCoord;n.innerHTML?i.cssText=xE+DE(t,!this._firstShow,this._longHide,this._enableDisplayTransition)+jm(a[0],a[1],!0)+("border-color:"+ni(e)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},r.prototype.setContent=function(t,e,n,i,a){var o=this.el;if(t==null){o.innerHTML="";return}var s="";if(Z(a)&&n.get("trigger")==="item"&&!rb(n)&&(s=TE(n,i,a)),Z(t))o.innerHTML=t+s;else if(t){o.innerHTML="",G(t)||(t=[t]);for(var l=0;l=0?this._tryShow(a,o):i==="leave"&&this._hide(o))},this))},t.prototype._keepShow=function(){var e=this._tooltipModel,n=this._ecModel,i=this._api,a=e.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&a!=="none"&&a!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&o.manuallyShowTip(e,n,i,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(e,n,i,a){if(!(a.from===this.uid||ot.node||!i.getDom())){var o=ny(a,i);this._ticket="";var s=a.dataByCoordSys,l=OE(a,n,i);if(l){var u=l.el.getBoundingRect().clone();u.applyTransform(l.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:l.el,position:a.position,positionDefault:"bottom"},o)}else if(a.tooltip&&a.x!=null&&a.y!=null){var f=IE;f.x=a.x,f.y=a.y,f.update(),vt(f).tooltipConfig={name:null,option:a.tooltip},this._tryShow({offsetX:a.x,offsetY:a.y,target:f},o)}else if(s)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:s,tooltipOption:a.tooltipOption},o);else if(a.seriesIndex!=null){if(this._manuallyAxisShowTip(e,n,i,a))return;var h=ZS(a,n),c=h.point[0],v=h.point[1];c!=null&&v!=null&&this._tryShow({offsetX:c,offsetY:v,target:h.el,position:a.position,positionDefault:"bottom"},o)}else a.x!=null&&a.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:i.getZr().findHover(a.x,a.y).target},o))}},t.prototype.manuallyHideTip=function(e,n,i,a){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,a.from!==this.uid&&this._hide(ny(a,i))},t.prototype._manuallyAxisShowTip=function(e,n,i,a){var o=a.seriesIndex,s=a.dataIndex,l=n.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||s==null||l==null)){var u=n.getSeriesByIndex(o);if(u){var f=u.getData(),h=Ea([f.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(h.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:a.position}),!0}}},t.prototype._tryShow=function(e,n){var i=e.target,a=this._tooltipModel;if(a){this._lastX=e.offsetX,this._lastY=e.offsetY;var o=e.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,e);else if(i){var s=vt(i);if(s.ssrType==="legend")return;this._lastDataByCoordSys=null;var l,u;Vi(i,function(f){if(f.tooltipDisabled)return l=u=null,!0;l||u||(vt(f).dataIndex!=null?l=f:vt(f).tooltipConfig!=null&&(u=f))},!0),l?this._showSeriesItemTooltip(e,l,n):u?this._showComponentItemTooltip(e,u,n):this._hide(n)}else this._lastDataByCoordSys=null,this._hide(n)}},t.prototype._showOrMove=function(e,n){var i=e.get("showDelay");n=$(n,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(n,i):n()},t.prototype._showAxisTooltip=function(e,n){var i=this._ecModel,a=this._tooltipModel,o=[n.offsetX,n.offsetY],s=Ea([n.tooltipOption],a),l=this._renderMode,u=[],f=So("section",{blocks:[],noHeader:!0}),h=[],c=new uf;C(e,function(y){C(y.dataByAxis,function(_){var S=i.getComponent(_.axisDim+"Axis",_.axisIndex),x=_.value;if(!(!S||x==null)){var b=US(x,S.axis,i,_.seriesDataIndices,_.valueLabelOpt),w=So("section",{header:b,noHeader:!hr(b),sortBlocks:!0,blocks:[]});f.blocks.push(w),C(_.seriesDataIndices,function(T){var D=i.getSeriesByIndex(T.seriesIndex),A=T.dataIndexInside,M=D.getDataParams(A);if(!(M.dataIndex<0)){M.axisDim=_.axisDim,M.axisIndex=_.axisIndex,M.axisType=_.axisType,M.axisId=_.axisId,M.axisValue=Ml(S.axis,{value:x}),M.axisValueLabel=b,M.marker=c.makeTooltipMarker("item",ni(M.color),l);var I=Up(D.formatTooltip(A,!0,null)),L=I.frag;if(L){var P=Ea([D],a).get("valueFormatter");w.blocks.push(P?z({valueFormatter:P},L):L)}I.text&&h.push(I.text),u.push(M)}})}})}),f.blocks.reverse(),h.reverse();var v=n.position,d=s.get("order"),p=qp(f,c,l,d,i.get("useUTC"),s.get("textStyle"));p&&h.unshift(p);var m=l==="richText"?` - -`:"
",g=h.join(m);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(e,u)?this._updatePosition(s,v,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,g,u,Math.random()+"",o[0],o[1],v,null,c)})},t.prototype._showSeriesItemTooltip=function(e,n,i){var a=this._ecModel,o=vt(n),s=o.seriesIndex,l=a.getSeriesByIndex(s),u=o.dataModel||l,f=o.dataIndex,h=o.dataType,c=u.getData(h),v=this._renderMode,d=e.positionDefault,p=Ea([c.getItemModel(f),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),m=p.get("trigger");if(!(m!=null&&m!=="item")){var g=u.getDataParams(f,h),y=new uf;g.marker=y.makeTooltipMarker("item",ni(g.color),v);var _=Up(u.formatTooltip(f,!1,h)),S=p.get("order"),x=p.get("valueFormatter"),b=_.frag,w=b?qp(x?z({valueFormatter:x},b):b,y,v,S,a.get("useUTC"),p.get("textStyle")):_.text,T="item_"+u.name+"_"+f;this._showOrMove(p,function(){this._showTooltipContent(p,w,g,T,e.offsetX,e.offsetY,e.position,e.target,y)}),i({type:"showTip",dataIndexInside:f,dataIndex:c.getRawIndex(f),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,n,i){var a=this._renderMode==="html",o=vt(n),s=o.tooltipConfig,l=s.option||{},u=l.encodeHTMLContent;if(Z(l)){var f=l;l={content:f,formatter:f},u=!0}u&&a&&l.content&&(l=J(l),l.content=oe(l.content));var h=[l],c=this._ecModel.getComponent(o.componentMainType,o.componentIndex);c&&h.push(c),h.push({formatter:l.content});var v=e.positionDefault,d=Ea(h,this._tooltipModel,v?{position:v}:null),p=d.get("content"),m=Math.random()+"",g=new uf;this._showOrMove(d,function(){var y=J(d.get("formatterParams")||{});this._showTooltipContent(d,p,y,m,e.offsetX,e.offsetY,e.position,n,g)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,n,i,a,o,s,l,u,f){if(this._ticket="",!(!e.get("showContent")||!e.get("show"))){var h=this._tooltipContent;h.setEnterable(e.get("enterable"));var c=e.get("formatter");l=l||e.get("position");var v=n,d=this._getNearestPoint([o,s],i,e.get("trigger"),e.get("borderColor"),e.get("defaultBorderColor",!0)),p=d.color;if(c)if(Z(c)){var m=e.ecModel.get("useUTC"),g=G(i)?i[0]:i,y=g&&g.axisType&&g.axisType.indexOf("time")>=0;v=c,y&&(v=jl(g.axisValue,v,m)),v=c_(v,i,!0)}else if(tt(c)){var _=$(function(S,x){S===this._ticket&&(h.setContent(x,f,e,p,l),this._updatePosition(e,l,o,s,h,i,u))},this);this._ticket=a,v=c(i,a,_)}else v=c;h.setContent(v,f,e,p,l),h.show(e,p),this._updatePosition(e,l,o,s,h,i,u)}},t.prototype._getNearestPoint=function(e,n,i,a,o){if(i==="axis"||G(n))return{color:a||o};if(!G(n))return{color:a||n.color||n.borderColor}},t.prototype._updatePosition=function(e,n,i,a,o,s,l){var u=this._api.getWidth(),f=this._api.getHeight();n=n||e.get("position");var h=o.getSize(),c=e.get("align"),v=e.get("verticalAlign"),d=l&&l.getBoundingRect().clone();if(l&&d.applyTransform(l.transform),tt(n)&&(n=n([i,a],s,o.el,d,{viewSize:[u,f],contentSize:h.slice()})),G(n))i=Mt(n[0],u),a=Mt(n[1],f);else if(X(n)){var p=n;p.width=h[0],p.height=h[1];var m=Ve(p,{width:u,height:f});i=m.x,a=m.y,c=null,v=null}else if(Z(n)&&l){var g=EE(n,d,h,e.get("borderWidth"));i=g[0],a=g[1]}else{var g=RE(i,a,o,u,f,c?null:20,v?null:20);i=g[0],a=g[1]}if(c&&(i-=iy(c)?h[0]/2:c==="right"?h[0]:0),v&&(a-=iy(v)?h[1]/2:v==="bottom"?h[1]:0),rb(e)){var g=kE(i,a,o,u,f);i=g[0],a=g[1]}o.moveTo(i,a)},t.prototype._updateContentNotChangedOnAxis=function(e,n){var i=this._lastDataByCoordSys,a=this._cbParamsList,o=!!i&&i.length===e.length;return o&&C(i,function(s,l){var u=s.dataByAxis||[],f=e[l]||{},h=f.dataByAxis||[];o=o&&u.length===h.length,o&&C(u,function(c,v){var d=h[v]||{},p=c.seriesDataIndices||[],m=d.seriesDataIndices||[];o=o&&c.value===d.value&&c.axisType===d.axisType&&c.axisId===d.axisId&&p.length===m.length,o&&C(p,function(g,y){var _=m[y];o=o&&g.seriesIndex===_.seriesIndex&&g.dataIndex===_.dataIndex}),a&&C(c.seriesDataIndices,function(g){var y=g.seriesIndex,_=n[y],S=a[y];_&&S&&S.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=n,!!o},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,n){ot.node||!n.getDom()||(_l(this,"_updatePosition"),this._tooltipContent.dispose(),fc("itemTooltip",n))},t.type="tooltip",t})(de);function Ea(r,t,e){var n=t.ecModel,i;e?(i=new Lt(e,n,n),i=new Lt(t.option,i,n)):i=t;for(var a=r.length-1;a>=0;a--){var o=r[a];o&&(o instanceof Lt&&(o=o.get("tooltip",!0)),Z(o)&&(o={formatter:o}),o&&(i=new Lt(o,i,n)))}return i}function ny(r,t){return r.dispatchAction||$(t.dispatchAction,t)}function RE(r,t,e,n,i,a,o){var s=e.getSize(),l=s[0],u=s[1];return a!=null&&(r+l+a+2>n?r-=l+a:r+=a),o!=null&&(t+u+o>i?t-=u+o:t+=o),[r,t]}function kE(r,t,e,n,i){var a=e.getSize(),o=a[0],s=a[1];return r=Math.min(r+o,n)-o,t=Math.min(t+s,i)-s,r=Math.max(r,0),t=Math.max(t,0),[r,t]}function EE(r,t,e,n){var i=e[0],a=e[1],o=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=t.width,f=t.height;switch(r){case"inside":s=t.x+u/2-i/2,l=t.y+f/2-a/2;break;case"top":s=t.x+u/2-i/2,l=t.y-a-o;break;case"bottom":s=t.x+u/2-i/2,l=t.y+f+o;break;case"left":s=t.x-i-o,l=t.y+f/2-a/2;break;case"right":s=t.x+u+o,l=t.y+f/2-a/2}return[s,l]}function iy(r){return r==="center"||r==="middle"}function OE(r,t,e){var n=Oc(r).queryOptionMap,i=n.keys()[0];if(!(!i||i==="series")){var a=sa(t,i,n.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),o=a.models[0];if(o){var s=e.getViewOfComponentModel(o),l;if(s.group.traverse(function(u){var f=vt(u).tooltipConfig;if(f&&f.name===r.name)return l=u,!0}),l)return{componentMainType:i,componentIndex:o.componentIndex,el:l}}}}function BE(r){pe(XS),r.registerComponentModel(yE),r.registerComponentView(PE),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Kt),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Kt)}var ay=C;function oy(r){if(r){for(var t in r)if(r.hasOwnProperty(t))return!0}}function sy(r,t,e){var n={};return ay(t,function(a){var o=n[a]=i();ay(r[a],function(s,l){if(Jt.isValidType(l)){var u={type:l,visual:s};e&&e(u,a),o[l]=new Jt(u),l==="opacity"&&(u=J(u),u.type="colorAlpha",o.__hidden.__alphaForOpacity=new Jt(u))}})}),n;function i(){var a=function(){};a.prototype.__hidden=a.prototype;var o=new a;return o}}function NE(r,t,e){var n;C(e,function(i){t.hasOwnProperty(i)&&oy(t[i])&&(n=!0)}),n&&C(e,function(i){t.hasOwnProperty(i)&&oy(t[i])?r[i]=J(t[i]):delete r[i]})}function zE(r,t,e,n){var i={};return C(r,function(a){var o=Jt.prepareVisualTypes(t[a]);i[a]=o}),{progress:function(o,s){var l;n!=null&&(l=s.getDimensionIndex(n));function u(x){return q_(s,h,x)}function f(x,b){jA(s,h,x,b)}for(var h,c=s.getStore();(h=o.next())!=null;){var v=s.getRawDataItem(h);if(!(v&&v.visualMap===!1))for(var d=n!=null?c.get(l,h):h,p=e(d),m=t[p],g=i[p],y=0,_=g.length;y<_;y++){var S=g[y];m[S]&&m[S].applyVisual(d,u,f)}}}}}var VE=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}return t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:"center",top:B.size.m,backgroundColor:B.color.transparent,borderColor:B.color.primary,borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:B.color.primary},subtextStyle:{fontSize:12,color:B.color.quaternary}},t})(mt),FE=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,i){if(this.group.removeAll(),!!e.get("show")){var a=this.group,o=e.getModel("textStyle"),s=e.getModel("subtextStyle"),l=e.get("textAlign"),u=j(e.get("textBaseline"),e.get("textVerticalAlign")),f=new At({style:fe(o,{text:e.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),h=f.getBoundingRect(),c=e.get("subtext"),v=new At({style:fe(s,{text:c,fill:s.getTextColor(),y:h.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=e.get("link"),p=e.get("sublink"),m=e.get("triggerEvent",!0);f.silent=!d&&!m,v.silent=!p&&!m,d&&f.on("click",function(){Cp(d,"_"+e.get("target"))}),p&&v.on("click",function(){Cp(p,"_"+e.get("subtarget"))}),vt(f).eventData=vt(v).eventData=m?{componentType:"title",componentIndex:e.componentIndex}:null,a.add(f),c&&a.add(v);var g=a.getBoundingRect(),y=e.getBoxLayoutParams();y.width=g.width,y.height=g.height;var _=li(e,i),S=Ve(y,_.refContainer,e.get("padding"));l||(l=e.get("left")||e.get("right"),l==="middle"&&(l="center"),l==="right"?S.x+=S.width:l==="center"&&(S.x+=S.width/2)),u||(u=e.get("top")||e.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?S.y+=S.height:u==="middle"&&(S.y+=S.height/2),u=u||"top"),a.x=S.x,a.y=S.y,a.markRedraw();var x={align:l,verticalAlign:u};f.setStyle(x),v.setStyle(x),g=a.getBoundingRect();var b=S.margin,w=e.getItemStyle(["color","opacity"]);w.fill=e.get("backgroundColor");var T=new gt({shape:{x:g.x-b[3],y:g.y-b[0],width:g.width+b[1]+b[3],height:g.height+b[0]+b[2],r:e.get("borderRadius")},style:w,subPixelOptimize:!0,silent:!0});a.add(T)}},t.type="title",t})(de);function HE(r){r.registerComponentModel(VE),r.registerComponentView(FE)}var GE=function(r,t){if(t==="all")return{type:"all",title:r.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:r.getLocaleModel().get(["legend","selector","inverse"])}},dc=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}return t.prototype.init=function(e,n,i){this.mergeDefaultAndTheme(e,i),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(e,n){r.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},t.prototype._updateSelector=function(e){var n=e.selector,i=this.ecModel;n===!0&&(n=e.selector=["all","inverse"]),G(n)&&C(n,function(a,o){Z(a)&&(a={type:a}),n[o]=lt(a,GE(i,a.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&this.get("selectedMode")==="single"){for(var n=!1,i=0;i=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",bottom:B.size.m,align:"auto",backgroundColor:B.color.transparent,borderColor:B.color.border,borderRadius:0,borderWidth:0,padding:5,itemGap:8,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:B.color.disabled,inactiveBorderColor:B.color.disabled,inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:B.color.disabled,inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:B.color.secondary},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:B.color.tertiary,borderWidth:1,borderColor:B.color.border},emphasis:{selectorLabel:{show:!0,color:B.color.quaternary}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1},triggerEvent:!1},t})(mt),Li=pt,pc=C,Rs=xt,ob=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.newlineDisabled=!1,e}return t.prototype.init=function(){this.group.add(this._contentGroup=new Rs),this.group.add(this._selectorGroup=new Rs),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,n,i){var a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!e.get("show",!0)){var o=e.get("align"),s=e.get("orient");(!o||o==="auto")&&(o=e.get("left")==="right"&&s==="vertical"?"right":"left");var l=e.get("selector",!0),u=e.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(o,e,n,i,l,s,u);var f=li(e,i).refContainer,h=e.getBoxLayoutParams(),c=e.get("padding"),v=Ve(h,f,c),d=this.layoutInner(e,o,v,a,l,u),p=Ve(dt({width:d.width,height:d.height},h),f,c);this.group.x=p.x-d.x,this.group.y=p.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=JS(d,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,n,i,a,o,s,l){var u=this.getContentGroup(),f=nt(),h=n.get("selectedMode"),c=n.get("triggerEvent"),v=[];i.eachRawSeries(function(d){!d.get("legendHoverLink")&&v.push(d.id)}),pc(n.getData(),function(d,p){var m=this,g=d.get("name");if(!this.newlineDisabled&&(g===""||g===` -`)){var y=new Rs;y.newline=!0,u.add(y);return}var _=i.getSeriesByName(g)[0];if(!f.get(g))if(_){var S=_.getData(),x=S.getVisual("legendLineStyle")||{},b=S.getVisual("legendIcon"),w=S.getVisual("style"),T=this._createItem(_,g,p,d,n,e,x,w,b,h,a);T.on("click",Li(ly,g,null,a,v)).on("mouseover",Li(gc,_.name,null,a,v)).on("mouseout",Li(mc,_.name,null,a,v)),i.ssr&&T.eachChild(function(D){var A=vt(D);A.seriesIndex=_.seriesIndex,A.dataIndex=p,A.ssrType="legend"}),c&&T.eachChild(function(D){m.packEventData(D,n,_,p,g)}),f.set(g,!0)}else i.eachRawSeries(function(D){var A=this;if(!f.get(g)&&D.legendVisualProvider){var M=D.legendVisualProvider;if(!M.containName(g))return;var I=M.indexOfName(g),L=M.getItemVisual(I,"style"),P=M.getItemVisual(I,"legendIcon"),R=Be(L.fill);R&&R[3]===0&&(R[3]=.2,L=z(z({},L),{fill:kr(R,"rgba")}));var k=this._createItem(D,g,p,d,n,e,{},L,P,h,a);k.on("click",Li(ly,null,g,a,v)).on("mouseover",Li(gc,null,g,a,v)).on("mouseout",Li(mc,null,g,a,v)),i.ssr&&k.eachChild(function(W){var E=vt(W);E.seriesIndex=D.seriesIndex,E.dataIndex=p,E.ssrType="legend"}),c&&k.eachChild(function(W){A.packEventData(W,n,D,p,g)}),f.set(g,!0)}},this)},this),o&&this._createSelector(o,n,a,s,l)},t.prototype.packEventData=function(e,n,i,a,o){var s={componentType:"legend",componentIndex:n.componentIndex,dataIndex:a,value:o,seriesIndex:i.seriesIndex};vt(e).eventData=s},t.prototype._createSelector=function(e,n,i,a,o){var s=this.getSelectorGroup();pc(e,function(u){var f=u.type,h=new At({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:f==="all"?"legendAllSelect":"legendInverseSelect",legendId:n.id})}});s.add(h);var c=n.getModel("selectorLabel"),v=n.getModel(["emphasis","selectorLabel"]);ua(h,{normal:c,emphasis:v},{defaultText:u.title}),hl(h)})},t.prototype._createItem=function(e,n,i,a,o,s,l,u,f,h,c){var v=e.visualDrawType,d=o.get("itemWidth"),p=o.get("itemHeight"),m=o.isSelected(n),g=a.get("symbolRotate"),y=a.get("symbolKeepAspect"),_=a.get("icon");f=_||f||"roundRect";var S=WE(f,a,l,u,v,m,c),x=new Rs,b=a.getModel("textStyle");if(tt(e.getLegendIcon)&&(!_||_==="inherit"))x.add(e.getLegendIcon({itemWidth:d,itemHeight:p,icon:f,iconRotate:g,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:y}));else{var w=_==="inherit"&&e.getData().getVisual("symbol")?g==="inherit"?e.getData().getVisual("symbolRotate"):g:0;x.add(UE({itemWidth:d,itemHeight:p,icon:f,iconRotate:w,itemStyle:S.itemStyle,symbolKeepAspect:y}))}var T=s==="left"?d+5:-5,D=s,A=o.get("formatter"),M=n;Z(A)&&A?M=A.replace("{name}",n??""):tt(A)&&(M=A(n));var I=m?b.getTextColor():a.get("inactiveColor");x.add(new At({style:fe(b,{text:M,x:T,y:p/2,fill:I,align:D,verticalAlign:"middle"},{inheritColor:I})}));var L=new gt({shape:x.getBoundingRect(),style:{fill:"transparent"}}),P=a.getModel("tooltip");return P.get("show")&&Oo({el:L,componentModel:o,itemName:n,itemTooltipOption:P.option}),x.add(L),x.eachChild(function(R){R.silent=!0}),L.silent=!h,this.getContentGroup().add(x),hl(x),x.__legendDataIndex=i,x},t.prototype.layoutInner=function(e,n,i,a,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Jn(e.get("orient"),l,e.get("itemGap"),i.width,i.height);var f=l.getBoundingRect(),h=[-f.x,-f.y];if(u.markRedraw(),l.markRedraw(),o){Jn("horizontal",u,e.get("selectorItemGap",!0));var c=u.getBoundingRect(),v=[-c.x,-c.y],d=e.get("selectorButtonGap",!0),p=e.getOrient().index,m=p===0?"width":"height",g=p===0?"height":"width",y=p===0?"y":"x";s==="end"?v[p]+=f[m]+d:h[p]+=c[m]+d,v[1-p]+=f[g]/2-c[g]/2,u.x=v[0],u.y=v[1],l.x=h[0],l.y=h[1];var _={x:0,y:0};return _[m]=f[m]+d+c[m],_[g]=Math.max(f[g],c[g]),_[y]=Math.min(0,c[y]+v[1-p]),_}else return l.x=h[0],l.y=h[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t})(de);function WE(r,t,e,n,i,a,o){function s(m,g){m.lineWidth==="auto"&&(m.lineWidth=g.lineWidth>0?2:0),pc(m,function(y,_){m[_]==="inherit"&&(m[_]=g[_])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),f=r.lastIndexOf("empty",0)===0?"fill":"stroke",h=l.getShallow("decal");u.decal=!h||h==="inherit"?n.decal:Vh(h,o),u.fill==="inherit"&&(u.fill=n[i]),u.stroke==="inherit"&&(u.stroke=n[f]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?n:e).opacity),s(u,n);var c=t.getModel("lineStyle"),v=c.getLineStyle();if(s(v,e),u.fill==="auto"&&(u.fill=n.fill),u.stroke==="auto"&&(u.stroke=n.fill),v.stroke==="auto"&&(v.stroke=n.fill),!a){var d=t.get("inactiveBorderWidth"),p=u[f];u.lineWidth=d==="auto"?n.lineWidth>0&&p?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),v.stroke=c.get("inactiveColor"),v.lineWidth=c.get("inactiveWidth")}return{itemStyle:u,lineStyle:v}}function UE(r){var t=r.icon||"roundRect",e=Fe(t,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill,r.symbolKeepAspect);return e.setStyle(r.itemStyle),e.rotation=(r.iconRotate||0)*Math.PI/180,e.setOrigin([r.itemWidth/2,r.itemHeight/2]),t.indexOf("empty")>-1&&(e.style.stroke=e.style.fill,e.style.fill=B.color.neutral00,e.style.lineWidth=2),e}function ly(r,t,e,n){mc(r,t,e,n),e.dispatchAction({type:"legendToggleSelect",name:r??t}),gc(r,t,e,n)}function sb(r){for(var t=r.getZr().storage.getDisplayList(),e,n=0,i=t.length;ni[o],m=[-v.x,-v.y];n||(m[a]=f[u]);var g=[0,0],y=[-d.x,-d.y],_=j(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(p){var S=e.get("pageButtonPosition",!0);S==="end"?y[a]+=i[o]-d[o]:g[a]+=d[o]+_}y[1-a]+=v[s]/2-d[s]/2,f.setPosition(m),h.setPosition(g),c.setPosition(y);var x={x:0,y:0};if(x[o]=p?i[o]:v[o],x[s]=Math.max(v[s],d[s]),x[l]=Math.min(0,d[l]+y[1-a]),h.__rectSize=i[o],p){var b={x:0,y:0};b[o]=Math.max(i[o]-d[o]-_,0),b[s]=x[s],h.setClipPath(new gt({shape:b})),h.__rectSize=b[o]}else c.eachChild(function(T){T.attr({invisible:!0,silent:!0})});var w=this._getPageInfo(e);return w.pageIndex!=null&&ie(f,{x:w.contentPosition[0],y:w.contentPosition[1]},p?e:null),this._updatePageInfoView(e,w),x},t.prototype._pageGo=function(e,n,i){var a=this._getPageInfo(n)[e];a!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:n.id})},t.prototype._updatePageInfoView=function(e,n){var i=this._controllerGroup;C(["pagePrev","pageNext"],function(f){var h=f+"DataIndex",c=n[h]!=null,v=i.childOfName(f);v&&(v.setStyle("fill",c?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),v.cursor=c?"pointer":"default")});var a=i.childOfName("pageText"),o=e.get("pageFormatter"),s=n.pageIndex,l=s!=null?s+1:0,u=n.pageCount;a&&o&&a.setStyle("text",Z(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):o({current:l,total:u}))},t.prototype._getPageInfo=function(e){var n=e.get("scrollDataIndex",!0),i=this.getContentGroup(),a=this._containerGroup.__rectSize,o=e.getOrient().index,s=Nf[o],l=zf[o],u=this._findTargetItemIndex(n),f=i.children(),h=f[u],c=f.length,v=c?1:0,d={contentPosition:[i.x,i.y],pageCount:v,pageIndex:v-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return d;var p=S(h);d.contentPosition[o]=-p.s;for(var m=u+1,g=p,y=p,_=null;m<=c;++m)_=S(f[m]),(!_&&y.e>g.s+a||_&&!x(_,g.s))&&(y.i>g.i?g=y:g=_,g&&(d.pageNextDataIndex==null&&(d.pageNextDataIndex=g.i),++d.pageCount)),y=_;for(var m=u-1,g=p,y=p,_=null;m>=-1;--m)_=S(f[m]),(!_||!x(y,_.s))&&g.i=w&&b.s<=w+a}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var n,i=this.getContentGroup(),a;return i.eachChild(function(o,s){var l=o.__legendDataIndex;a==null&&l!=null&&(a=s),l===e&&(n=s)}),n??a},t.type="legend.scroll",t})(ob);function qE(r){r.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;n!=null&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(n)})})}function KE(r){pe(lb),r.registerComponentModel(ZE),r.registerComponentView(XE),qE(r)}function QE(r){pe(lb),pe(KE)}var JE=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.inside",t.defaultOption=fa(Io.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t})(Io),Zv=wt();function jE(r,t,e){Zv(r).coordSysRecordMap.each(function(n){var i=n.dataZoomInfoMap.get(t.uid);i&&(i.getRange=e)})}function tO(r,t){for(var e=Zv(r).coordSysRecordMap,n=e.keys(),i=0;ia[i+n]&&(n=u),o=o&&l.get("preventDefaultMouseMove",!0)}),{controlType:n,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o,api:e,zInfo:{component:t.model},triggerInfo:{roamTrigger:null,isInSelf:t.containsPoint}}}}function aO(r){r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,function(t,e){var n=Zv(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=nt());i.each(function(a){a.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(a){var o=qS(a);C(o.infoList,function(s){var l=s.model.uid,u=i.get(l)||i.set(l,eO(e,s.model)),f=u.dataZoomInfoMap||(u.dataZoomInfoMap=nt());f.set(a.uid,{dzReferCoordSysInfo:s,model:a,getRange:null})})}),i.each(function(a){var o=a.controller,s,l=a.dataZoomInfoMap;if(l){var u=l.keys()[0];u!=null&&(s=l.get(u))}if(!s){ub(i,a);return}var f=iO(l,a,e);o.enable(f.controlType,f.opt),nu(a,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var oO=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return t.prototype.render=function(e,n,i){if(r.prototype.render.apply(this,arguments),e.noTarget()){this._clear();return}this.range=e.getPercentRange(),jE(i,e,{pan:$(Vf.pan,this),zoom:$(Vf.zoom,this),scrollMove:$(Vf.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){tO(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t})(Gv),Vf={zoom:function(r,t,e,n){var i=this.range,a=i.slice(),o=r.axisModels[0];if(o){var s=Ff[t](null,[n.originX,n.originY],o,e,r),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(a[1]-a[0])+a[0],u=Math.max(1/n.scale,0);a[0]=(a[0]-l)*u+l,a[1]=(a[1]-l)*u+l;var f=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(ii(0,a,[0,100],0,f.minSpan,f.maxSpan),this.range=a,i[0]!==a[0]||i[1]!==a[1])return a}},pan:cy(function(r,t,e,n,i,a){var o=Ff[n]([a.oldX,a.oldY],[a.newX,a.newY],t,i,e);return o.signal*(r[1]-r[0])*o.pixel/o.pixelLength}),scrollMove:cy(function(r,t,e,n,i,a){var o=Ff[n]([0,0],[a.scrollDelta,a.scrollDelta],t,i,e);return o.signal*(r[1]-r[0])*a.scrollDelta})};function cy(r){return function(t,e,n,i){var a=this.range,o=a.slice(),s=t.axisModels[0];if(s){var l=r(o,s,t,e,n,i);if(ii(l,o,[0,100],"all"),this.range=o,a[0]!==o[0]||a[1]!==o[1])return o}}}var Ff={grid:function(r,t,e,n,i){var a=e.axis,o={},s=i.model.coordinateSystem.getRect();return r=r||[0,0],a.dim==="x"?(o.pixel=t[0]-r[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=t[1]-r[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(r,t,e,n,i){var a=e.axis,o={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return r=r?s.pointToCoord(r):[0,0],t=s.pointToCoord(t),e.mainType==="radiusAxis"?(o.pixel=t[0]-r[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=a.inverse?1:-1):(o.pixel=t[1]-r[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=a.inverse?-1:1),o},singleAxis:function(r,t,e,n,i){var a=e.axis,o=i.model.coordinateSystem.getRect(),s={};return r=r||[0,0],a.orient==="horizontal"?(s.pixel=t[0]-r[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=t[1]-r[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}};function sO(r){Wv(r),r.registerComponentModel(JE),r.registerComponentView(oO),aO(r)}var lO=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=fa(Io.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:B.color.accent10,borderRadius:0,backgroundColor:B.color.transparent,dataBackground:{lineStyle:{color:B.color.accent30,width:.5},areaStyle:{color:B.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:B.color.accent40,width:.5},areaStyle:{color:B.color.accent20,opacity:.3}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:B.color.neutral00,borderColor:B.color.accent20},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:B.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:B.color.tertiary},brushSelect:!0,brushStyle:{color:B.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:B.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15}),t})(Io),Ba=gt,uO=1,Hf=30,fO=7,Na="horizontal",vy="vertical",hO=5,cO=["line","bar","candlestick","scatter"],vO={easing:"cubicOut",duration:100,delay:0},dO=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._displayables={},e}return t.prototype.init=function(e,n){this.api=n,this._onBrush=$(this._onBrush,this),this._onBrushEnd=$(this._onBrushEnd,this)},t.prototype.render=function(e,n,i,a){if(r.prototype.render.apply(this,arguments),nu(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),e.get("show")===!1){this.group.removeAll();return}if(e.noTarget()){this._clear(),this.group.removeAll();return}(!a||a.type!=="dataZoom"||a.from!==this.uid)&&this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){_l(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var n=this._displayables.sliderGroup=new xt;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(n),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,n=this.api,i=e.get("brushSelect"),a=i?fO:0,o=li(e,n).refContainer,s=this._findCoordRect(),l=e.get("defaultLocationEdgeGap",!0)||0,u=this._orient===Na?{right:o.width-s.x-s.width,top:o.height-Hf-l-a,width:s.width,height:Hf}:{right:l,top:s.y,width:Hf,height:s.height},f=ha(e.option);C(["right","top","width","height"],function(c){f[c]==="ph"&&(f[c]=u[c])});var h=Ve(f,o);this._location={x:h.x,y:h.y},this._size=[h.width,h.height],this._orient===vy&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,n=this._location,i=this._orient,a=this.dataZoomModel.getFirstTargetAxisModel(),o=a&&a.get("inverse"),s=this._displayables.sliderGroup,l=(this._dataShadowInfo||{}).otherAxisInverse;s.attr(i===Na&&!o?{scaleY:l?1:-1,scaleX:1}:i===Na&&o?{scaleY:l?1:-1,scaleX:-1}:i===vy&&!o?{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2});var u=e.getBoundingRect([s]);e.x=n.x-u.x,e.y=n.y-u.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,n=this._size,i=this._displayables.sliderGroup,a=e.get("brushSelect");i.add(new Ba({silent:!0,shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var o=new Ba({shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:"transparent"},z2:0,onclick:$(this._onClickPanel,this)}),s=this.api.getZr();a?(o.on("mousedown",this._onBrushStart,this),o.cursor="crosshair",s.on("mousemove",this._onBrush),s.on("mouseup",this._onBrushEnd)):(s.off("mousemove",this._onBrush),s.off("mouseup",this._onBrushEnd)),i.add(o)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!e)return;var n=this._size,i=this._shadowSize||[],a=e.series,o=a.getRawData(),s=a.getShadowDim&&a.getShadowDim(),l=s&&o.getDimensionInfo(s)?a.getShadowDim():e.otherDim;if(l==null)return;var u=this._shadowPolygonPts,f=this._shadowPolylinePts;if(o!==this._shadowData||l!==this._shadowDim||n[0]!==i[0]||n[1]!==i[1]){var h=o.getDataExtent(e.thisDim),c=o.getDataExtent(l),v=(c[1]-c[0])*.3;c=[c[0]-v,c[1]+v];var d=[0,n[1]],p=[0,n[0]],m=[[n[0],0],[0,0]],g=[],y=p[1]/Math.max(1,o.count()-1),_=n[0]/(h[1]-h[0]),S=e.thisAxis.type==="time",x=-y,b=Math.round(o.count()/n[0]),w;o.each([e.thisDim,l],function(I,L,P){if(b>0&&P%b){S||(x+=y);return}x=S?(+I-h[0])*_:x+y;var R=L==null||isNaN(L)||L==="",k=R?0:Ct(L,c,d,!0);R&&!w&&P?(m.push([m[m.length-1][0],0]),g.push([g[g.length-1][0],0])):!R&&w&&(m.push([x,0]),g.push([x,0])),R||(m.push([x,k]),g.push([x,k])),w=R}),u=this._shadowPolygonPts=m,f=this._shadowPolylinePts=g}this._shadowData=o,this._shadowDim=l,this._shadowSize=[n[0],n[1]];var T=this.dataZoomModel;function D(I){var L=T.getModel(I?"selectedDataBackground":"dataBackground"),P=new xt,R=new la({shape:{points:u},segmentIgnoreThreshold:1,style:L.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),k=new si({shape:{points:f},segmentIgnoreThreshold:1,style:L.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return P.add(R),P.add(k),P}for(var A=0;A<3;A++){var M=D(A===1);this._displayables.sliderGroup.add(M),this._displayables.dataShadowSegs.push(M)}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,n=e.get("showDataShadow");if(n!==!1){var i,a=this.ecModel;return e.eachTargetAxis(function(o,s){var l=e.getAxisProxy(o,s).getTargetSeriesModels();C(l,function(u){if(!i&&!(n!==!0&&ht(cO,u.get("type"))<0)){var f=a.getComponent(tn(o),s).axis,h=pO(o),c,v=u.coordinateSystem;h!=null&&v.getOtherAxis&&(c=v.getOtherAxis(f).inverse),h=u.getData().mapDimension(h);var d=u.getData().mapDimension(o);i={thisAxis:f,series:u,thisDim:d,otherDim:h,otherAxisInverse:c}}},this)},this),i}},t.prototype._renderHandle=function(){var e=this.group,n=this._displayables,i=n.handles=[null,null],a=n.handleLabels=[null,null],o=this._displayables.sliderGroup,s=this._size,l=this.dataZoomModel,u=this.api,f=l.get("borderRadius")||0,h=l.get("brushSelect"),c=n.filler=new Ba({silent:h,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});o.add(c),o.add(new Ba({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:s[0],height:s[1],r:f},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:uO,fill:B.color.transparent}})),C([0,1],function(_){var S=l.get("handleIcon");!bl[S]&&S.indexOf("path://")<0&&S.indexOf("image://")<0&&(S="path://"+S);var x=Fe(S,-1,0,2,2,null,!0);x.attr({cursor:gO(this._orient),draggable:!0,drift:$(this._onDragMove,this,_),ondragend:$(this._onDragEnd,this),onmouseover:$(this._showDataInfo,this,!0),onmouseout:$(this._showDataInfo,this,!1),z2:5});var b=x.getBoundingRect(),w=l.get("handleSize");this._handleHeight=Mt(w,this._size[1]),this._handleWidth=b.width/b.height*this._handleHeight,x.setStyle(l.getModel("handleStyle").getItemStyle()),x.style.strokeNoScale=!0,x.rectHover=!0,x.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),hl(x);var T=l.get("handleColor");T!=null&&(x.style.fill=T),o.add(i[_]=x);var D=l.getModel("textStyle"),A=l.get("handleLabel")||{},M=A.show||!1;e.add(a[_]=new At({silent:!0,invisible:!M,style:fe(D,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:D.getTextColor(),font:D.getFont()}),z2:10}))},this);var v=c;if(h){var d=Mt(l.get("moveHandleSize"),s[1]),p=n.moveHandle=new gt({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:d}}),m=d*.8,g=n.moveHandleIcon=Fe(l.get("moveHandleIcon"),-m/2,-m/2,m,m,B.color.neutral00,!0);g.silent=!0,g.y=s[1]+d/2-.5,p.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(s[1]/2,Math.max(d,10));v=n.moveZone=new gt({invisible:!0,shape:{y:s[1]-y,height:d+y}}),v.on("mouseover",function(){u.enterEmphasis(p)}).on("mouseout",function(){u.leaveEmphasis(p)}),o.add(p),o.add(g),o.add(v)}v.attr({draggable:!0,cursor:"default",drift:$(this._onDragMove,this,"all"),ondragstart:$(this._showDataInfo,this,!0),ondragend:$(this._onDragEnd,this),onmouseover:$(this._showDataInfo,this,!0),onmouseout:$(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),n=this._getViewExtent();this._handleEnds=[Ct(e[0],[0,100],n,!0),Ct(e[1],[0,100],n,!0)]},t.prototype._updateInterval=function(e,n){var i=this.dataZoomModel,a=this._handleEnds,o=this._getViewExtent(),s=i.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];ii(n,a,o,i.get("zoomLock")?"all":e,s.minSpan!=null?Ct(s.minSpan,l,o,!0):null,s.maxSpan!=null?Ct(s.maxSpan,l,o,!0):null);var u=this._range,f=this._range=Hn([Ct(a[0],o,l,!0),Ct(a[1],o,l,!0)]);return!u||u[0]!==f[0]||u[1]!==f[1]},t.prototype._updateView=function(e){var n=this._displayables,i=this._handleEnds,a=Hn(i.slice()),o=this._size;C([0,1],function(v){var d=n.handles[v],p=this._handleHeight;d.attr({scaleX:p/2,scaleY:p/2,x:i[v]+(v?-1:1),y:o[1]/2-p/2})},this),n.filler.setShape({x:a[0],y:0,width:a[1]-a[0],height:o[1]});var s={x:a[0],width:a[1]-a[0]};n.moveHandle&&(n.moveHandle.setShape(s),n.moveZone.setShape(s),n.moveZone.getBoundingRect(),n.moveHandleIcon&&n.moveHandleIcon.attr("x",s.x+s.width/2));for(var l=n.dataShadowSegs,u=[0,a[0],a[1],o[0]],f=0;fn[0]||i[1]<0||i[1]>n[1])){var a=this._handleEnds,o=(a[0]+a[1])/2,s=this._updateInterval("all",i[0]-o);this._updateView(),s&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var n=e.offsetX,i=e.offsetY;this._brushStart=new at(n,i),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var n=this._displayables.brushRect;if(this._brushing=!1,!!n){n.attr("ignore",!0);var i=n.shape,a=+new Date;if(!(a-this._brushStartTime<200&&Math.abs(i.width)<5)){var o=this._getViewExtent(),s=[0,100],l=this._handleEnds=[i.x,i.x+i.width],u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();ii(0,l,o,0,u.minSpan!=null?Ct(u.minSpan,s,o,!0):null,u.maxSpan!=null?Ct(u.maxSpan,s,o,!0):null),this._range=Hn([Ct(l[0],o,s,!0),Ct(l[1],o,s,!0)]),this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(Er(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,n){var i=this._displayables,a=this.dataZoomModel,o=i.brushRect;o||(o=i.brushRect=new Ba({silent:!0,style:a.getModel("brushStyle").getItemStyle()}),i.sliderGroup.add(o)),o.attr("ignore",!1);var s=this._brushStart,l=this._displayables.sliderGroup,u=l.transformCoordToLocal(e,n),f=l.transformCoordToLocal(s.x,s.y),h=this._size;u[0]=Math.max(Math.min(h[0],u[0]),0),o.setShape({x:f[0],y:0,width:u[0]-f[0],height:h[1]})},t.prototype._dispatchZoomAction=function(e){var n=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?vO:null,start:n[0],end:n[1]})},t.prototype._findCoordRect=function(){var e,n=qS(this.dataZoomModel).infoList;if(!e&&n.length){var i=n[0].model.coordinateSystem;e=i.getRect&&i.getRect()}if(!e){var a=this.api.getWidth(),o=this.api.getHeight();e={x:a*.2,y:o*.2,width:a*.6,height:o*.6}}return e},t.type="dataZoom.slider",t})(Gv);function pO(r){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[r]}function gO(r){return r==="vertical"?"ns-resize":"ew-resize"}function mO(r){r.registerComponentModel(lO),r.registerComponentView(dO),Wv(r)}function yO(r){pe(sO),pe(mO)}var fb={get:function(r,t,e){var n=J((_O[r]||{})[t]);return e&&G(n)?n[n.length-1]:n}},_O={color:{active:["#006edd","#e0ffff"],inactive:[B.color.transparent]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},dy=Jt.mapVisual,SO=Jt.eachVisual,bO=G,py=C,xO=Hn,wO=Ct,Ol=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.stateList=["inRange","outOfRange"],e.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],e.layoutMode={type:"box",ignoreSize:!0},e.dataBound=[-1/0,1/0],e.targetVisuals={},e.controllerVisuals={},e}return t.prototype.init=function(e,n,i){this.mergeDefaultAndTheme(e,i)},t.prototype.optionUpdated=function(e,n){var i=this.option;!n&&NE(i,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var n=this.stateList;e=$(e,this),this.controllerVisuals=sy(this.option.controller,n,e),this.targetVisuals=sy(this.option.target,n,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesId,n=this.option.seriesIndex;n==null&&e==null&&(n="all");var i=sa(this.ecModel,"series",{index:n,id:e},{useDefault:!1,enableAll:!0,enableNone:!1}).models;return Y(i,function(a){return a.componentIndex})},t.prototype.eachTargetSeries=function(e,n){C(this.getTargetSeriesIndices(),function(i){var a=this.ecModel.getSeriesByIndex(i);a&&e.call(n,a)},this)},t.prototype.isTargetSeries=function(e){var n=!1;return this.eachTargetSeries(function(i){i===e&&(n=!0)}),n},t.prototype.formatValueText=function(e,n,i){var a=this.option,o=a.precision,s=this.dataBound,l=a.formatter,u;i=i||["<",">"],G(e)&&(e=e.slice(),u=!0);var f=n?e:u?[h(e[0]),h(e[1])]:h(e);if(Z(l))return l.replace("{value}",u?f[0]:f).replace("{value2}",u?f[1]:f);if(tt(l))return u?l(e[0],e[1]):l(e);if(u)return e[0]===s[0]?i[0]+" "+f[1]:e[1]===s[1]?i[1]+" "+f[0]:f[0]+" - "+f[1];return f;function h(c){return c===s[0]?"min":c===s[1]?"max":(+c).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var e=this.option,n=xO([e.min,e.max]);this._dataExtent=n},t.prototype.getDataDimensionIndex=function(e){var n=this.option.dimension;if(n!=null)return e.getDimensionIndex(n);for(var i=e.dimensions,a=i.length-1;a>=0;a--){var o=i[a],s=e.getDimensionInfo(o);if(!s.isCalculationCoord)return s.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,n=this.option,i={inRange:n.inRange,outOfRange:n.outOfRange},a=n.target||(n.target={}),o=n.controller||(n.controller={});lt(a,i),lt(o,i);var s=this.isCategory();l.call(this,a),l.call(this,o),u.call(this,a,"inRange","outOfRange"),f.call(this,o);function l(h){bO(n.color)&&!h.inRange&&(h.inRange={color:n.color.slice().reverse()}),h.inRange=h.inRange||{color:e.get("gradientColor")}}function u(h,c,v){var d=h[c],p=h[v];d&&!p&&(p=h[v]={},py(d,function(m,g){if(Jt.isValidType(g)){var y=fb.get(g,"inactive",s);y!=null&&(p[g]=y,g==="color"&&!p.hasOwnProperty("opacity")&&!p.hasOwnProperty("colorAlpha")&&(p.opacity=[0,0]))}}))}function f(h){var c=(h.inRange||{}).symbol||(h.outOfRange||{}).symbol,v=(h.inRange||{}).symbolSize||(h.outOfRange||{}).symbolSize,d=this.get("inactiveColor"),p=this.getItemSymbol(),m=p||"roundRect";py(this.stateList,function(g){var y=this.itemSize,_=h[g];_||(_=h[g]={color:s?d:[d]}),_.symbol==null&&(_.symbol=c&&J(c)||(s?m:[m])),_.symbolSize==null&&(_.symbolSize=v&&J(v)||(s?y[0]:[y[0],y[0]])),_.symbol=dy(_.symbol,function(b){return b==="none"?m:b});var S=_.symbolSize;if(S!=null){var x=-1/0;SO(S,function(b){b>x&&(x=b)}),_.symbolSize=dy(S,function(b){return wO(b,[0,x],[0,y[0]],!0)})}},this)}},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:B.color.transparent,borderColor:B.color.borderTint,contentColor:B.color.theme[0],inactiveColor:B.color.disabled,borderWidth:0,padding:B.size.m,textGap:10,precision:0,textStyle:{color:B.color.secondary}},t})(mt),gy=[20,140],TO=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(e,n){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(i){i.mappingMethod="linear",i.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){r.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(e[0]==null||isNaN(e[0]))&&(e[0]=gy[0]),(e[1]==null||isNaN(e[1]))&&(e[1]=gy[1])},t.prototype._resetRange=function(){var e=this.getExtent(),n=this.option.range;!n||n.auto?(e.auto=1,this.option.range=e):G(n)&&(n[0]>n[1]&&n.reverse(),n[0]=Math.max(n[0],e[0]),n[1]=Math.min(n[1],e[1]))},t.prototype.completeVisualOption=function(){r.prototype.completeVisualOption.apply(this,arguments),C(this.stateList,function(e){var n=this.option.controller[e].symbolSize;n&&n[0]!==n[1]&&(n[0]=n[1]/3)},this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),n=Hn((this.get("range")||[]).slice());return n[0]>e[1]&&(n[0]=e[1]),n[1]>e[1]&&(n[1]=e[1]),n[0]=i[1]||e<=n[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var n=[];return this.eachTargetSeries(function(i){var a=[],o=i.getData();o.each(this.getDataDimensionIndex(o),function(s,l){e[0]<=s&&s<=e[1]&&a.push(l)},this),n.push({seriesId:i.id,dataIndex:a})},this),n},t.prototype.getVisualMeta=function(e){var n=my(this,"outOfRange",this.getExtent()),i=my(this,"inRange",this.option.range.slice()),a=[];function o(v,d){a.push({value:v,color:e(v,d)})}for(var s=0,l=0,u=i.length,f=n.length;le[1])break;a.push({color:this.getControllerVisual(l,"color",n),offset:s/i})}return a.push({color:this.getControllerVisual(e[1],"color",n),offset:1}),a},t.prototype._createBarPoints=function(e,n){var i=this.visualMapModel.itemSize;return[[i[0]-n[0],e[0]],[i[0],e[0]],[i[0],e[1]],[i[0]-n[1],e[1]]]},t.prototype._createBarGroup=function(e){var n=this._orient,i=this.visualMapModel.get("inverse");return new xt(n==="horizontal"&&!i?{scaleX:e==="bottom"?1:-1,rotation:Math.PI/2}:n==="horizontal"&&i?{scaleX:e==="bottom"?-1:1,rotation:-Math.PI/2}:n==="vertical"&&!i?{scaleX:e==="left"?1:-1,scaleY:-1}:{scaleX:e==="left"?1:-1})},t.prototype._updateHandle=function(e,n){if(this._useHandle){var i=this._shapes,a=this.visualMapModel,o=i.handleThumbs,s=i.handleLabels,l=a.itemSize,u=a.getExtent(),f=this._applyTransform("left",i.mainGroup);CO([0,1],function(h){var c=o[h];c.setStyle("fill",n.handlesColor[h]),c.y=e[h];var v=lr(e[h],[0,l[1]],u,!0),d=this.getControllerVisual(v,"symbolSize");c.scaleX=c.scaleY=d/l[0],c.x=l[0]-d/2;var p=nn(i.handleLabelPoints[h],Kn(c,this.group));if(this._orient==="horizontal"){var m=f==="left"||f==="top"?(l[0]-d)/2:(l[0]-d)/-2;p[1]+=m}s[h].setStyle({x:p[0],y:p[1],text:a.formatValueText(this._dataInterval[h]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",i.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(e,n,i,a){var o=this.visualMapModel,s=o.getExtent(),l=o.itemSize,u=[0,l[1]],f=this._shapes,h=f.indicator;if(h){h.attr("invisible",!1);var c={convertOpacityToAlpha:!0},v=this.getControllerVisual(e,"color",c),d=this.getControllerVisual(e,"symbolSize"),p=lr(e,s,u,!0),m=l[0]-d/2,g={x:h.x,y:h.y};h.y=p,h.x=m;var y=nn(f.indicatorLabelPoint,Kn(h,this.group)),_=f.indicatorLabel;_.attr("invisible",!1);var S=this._applyTransform("left",f.mainGroup),x=this._orient,b=x==="horizontal";_.setStyle({text:(i||"")+o.formatValueText(n),verticalAlign:b?S:"middle",align:b?"center":S});var w={x:m,y:p,style:{fill:v}},T={style:{x:y[0],y:y[1]}};if(o.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var D={duration:100,easing:"cubicInOut",additive:!0};h.x=g.x,h.y=g.y,h.animateTo(w,D),_.animateTo(T,D)}else h.attr(w),_.attr(T);this._firstShowIndicator=!1;var A=this._shapes.handleLabels;if(A)for(var M=0;Mo[1]&&(h[1]=1/0),n&&(h[0]===-1/0?this._showIndicator(f,h[1],"< ",l):h[1]===1/0?this._showIndicator(f,h[0],"> ",l):this._showIndicator(f,f,"≈ ",l));var c=this._hoverLinkDataIndices,v=[];(n||by(i))&&(v=this._hoverLinkDataIndices=i.findTargetDataIndices(h));var d=cT(c,v);this._dispatchHighDown("downplay",qs(d[0],i)),this._dispatchHighDown("highlight",qs(d[1],i))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var n;if(Vi(e.target,function(l){var u=vt(l);if(u.dataIndex!=null)return n=u,!0},!0),!!n){var i=this.ecModel.getSeriesByIndex(n.seriesIndex),a=this.visualMapModel;if(a.isTargetSeries(i)){var o=i.getData(n.dataType),s=o.getStore().get(a.getDataDimensionIndex(o),n.dataIndex);isNaN(s)||this._showIndicator(s,s)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var n=this._shapes.handleLabels;if(n)for(var i=0;i=0&&(a.dimension=o,n.push(a))}}),r.getData().setVisual("visualMeta",n)}}];function kO(r,t,e,n){for(var i=t.targetVisuals[n],a=Jt.prepareVisualTypes(i),o={color:K_(r.getData(),"color")},s=0,l=a.length;s0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),r.registerAction(IO,PO),C(RO,function(t){r.registerVisual(r.PRIORITY.VISUAL.COMPONENT,t)}),r.registerPreprocessor(EO))}function OO(r){r.registerComponentModel(TO),r.registerComponentView(AO),vb(r)}var BO=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._pieceList=[],e}return t.prototype.optionUpdated=function(e,n){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],NO[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var a=this.option.categories;this.resetVisual(function(o,s){i==="categories"?(o.mappingMethod="category",o.categories=J(a)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=Y(this._pieceList,function(l){return l=J(l),s!=="inRange"&&(l.visual=null),l}))})},t.prototype.completeVisualOption=function(){var e=this.option,n={},i=Jt.listVisualTypes(),a=this.isCategory();C(e.pieces,function(s){C(i,function(l){s.hasOwnProperty(l)&&(n[l]=1)})}),C(n,function(s,l){var u=!1;C(this.stateList,function(f){u=u||o(e,f,l)||o(e.target,f,l)},this),!u&&C(this.stateList,function(f){(e[f]||(e[f]={}))[l]=fb.get(l,f==="inRange"?"active":"inactive",a)})},this);function o(s,l,u){return s&&s[l]&&s[l].hasOwnProperty(u)}r.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,n){var i=this.option,a=this._pieceList,o=(n?i:e).selected||{};if(i.selected=o,C(a,function(l,u){var f=this.getSelectedMapKey(l);o.hasOwnProperty(f)||(o[f]=!0)},this),i.selectedMode==="single"){var s=!1;C(a,function(l,u){var f=this.getSelectedMapKey(l);o[f]&&(s?o[f]=!1:s=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(e){return this._mode==="categories"?e.value+"":e.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(e){this.option.selected=J(e)},t.prototype.getValueState=function(e){var n=Jt.findPieceIndex(e,this._pieceList);return n!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[n])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var n=[],i=this._pieceList;return this.eachTargetSeries(function(a){var o=[],s=a.getData();s.each(this.getDataDimensionIndex(s),function(l,u){var f=Jt.findPieceIndex(l,i);f===e&&o.push(u)},this),n.push({seriesId:a.id,dataIndex:o})},this),n},t.prototype.getRepresentValue=function(e){var n;if(this.isCategory())n=e.value;else if(e.value!=null)n=e.value;else{var i=e.interval||[];n=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return n},t.prototype.getVisualMeta=function(e){if(this.isCategory())return;var n=[],i=["",""],a=this;function o(f,h){var c=a.getRepresentValue({interval:f});h||(h=a.getValueState(c));var v=e(c,h);f[0]===-1/0?i[0]=v:f[1]===1/0?i[1]=v:n.push({value:f[0],color:v},{value:f[1],color:v})}var s=this._pieceList.slice();if(!s.length)s.push({interval:[-1/0,1/0]});else{var l=s[0].interval[0];l!==-1/0&&s.unshift({interval:[-1/0,l]}),l=s[s.length-1].interval[1],l!==1/0&&s.push({interval:[l,1/0]})}var u=-1/0;return C(s,function(f){var h=f.interval;h&&(h[0]>u&&o([u,h[0]],"outOfRange"),o(h.slice()),u=h[1])},this),{stops:n,outerColors:i}},t.type="visualMap.piecewise",t.defaultOption=fa(Ol.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t})(Ol),NO={splitNumber:function(r){var t=this.option,e=Math.min(t.precision,20),n=this.getExtent(),i=t.splitNumber;i=Math.max(parseInt(i,10),1),t.splitNumber=i;for(var a=(n[1]-n[0])/i;+a.toFixed(e)!==a&&e<5;)e++;t.precision=e,a=+a.toFixed(e),t.minOpen&&r.push({interval:[-1/0,n[0]],close:[0,0]});for(var o=0,s=n[0];o","≥"][n[0]]];e.text=e.text||this.formatValueText(e.value!=null?e.value:e.interval,!1,i)},this)}};function Cy(r,t){var e=r.inverse;(r.orient==="vertical"?!e:e)&&t.reverse()}var zO=(function(r){O(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.doRender=function(){var e=this.group;e.removeAll();var n=this.visualMapModel,i=n.get("textGap"),a=n.textStyleModel,o=this._getItemAlign(),s=n.itemSize,l=this._getViewData(),u=l.endsText,f=lo(n.get("showLabel",!0),!u),h=!n.get("selectedMode");u&&this._renderEndsText(e,u[0],s,f,o),C(l.viewPieceList,function(c){var v=c.piece,d=new xt;d.onclick=$(this._onItemClick,this,v),this._enableHoverLink(d,c.indexInModelPieceList);var p=n.getRepresentValue(v);if(this._createItemSymbol(d,p,[0,0,s[0],s[1]],h),f){var m=this.visualMapModel.getValueState(p),g=a.get("align")||o;d.add(new At({style:fe(a,{x:g==="right"?-i:s[0]+i,y:s[1]/2,text:v.text,verticalAlign:a.get("verticalAlign")||"middle",align:g,opacity:j(a.get("opacity"),m==="outOfRange"?.5:1)}),silent:h}))}e.add(d)},this),u&&this._renderEndsText(e,u[1],s,f,o),Jn(n.get("orient"),e,n.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,n){var i=this;e.on("mouseover",function(){return a("highlight")}).on("mouseout",function(){return a("downplay")});var a=function(o){var s=i.visualMapModel;s.option.hoverLink&&i.api.dispatchAction({type:o,batch:qs(s.findTargetDataIndices(n),s)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,n=e.option;if(n.orient==="vertical")return cb(e,this.api,e.itemSize);var i=n.align;return(!i||i==="auto")&&(i="left"),i},t.prototype._renderEndsText=function(e,n,i,a,o){if(n){var s=new xt,l=this.visualMapModel.textStyleModel;s.add(new At({style:fe(l,{x:a?o==="right"?i[0]:0:i[0]/2,y:i[1]/2,verticalAlign:"middle",align:a?o:"center",text:n})})),e.add(s)}},t.prototype._getViewData=function(){var e=this.visualMapModel,n=Y(e.getPieceList(),function(s,l){return{piece:s,indexInModelPieceList:l}}),i=e.get("text"),a=e.get("orient"),o=e.get("inverse");return(a==="horizontal"?o:!o)?n.reverse():i&&(i=i.slice().reverse()),{viewPieceList:n,endsText:i}},t.prototype._createItemSymbol=function(e,n,i,a){var o=Fe(this.getControllerVisual(n,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(n,"color"));o.silent=a,e.add(o)},t.prototype._onItemClick=function(e){var n=this.visualMapModel,i=n.option,a=i.selectedMode;if(a){var o=J(i.selected),s=n.getSelectedMapKey(e);a==="single"||a===!0?(o[s]=!0,C(o,function(l,u){o[u]=u===s})):o[s]=!o[s],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}},t.type="visualMap.piecewise",t})(hb);function VO(r){r.registerComponentModel(BO),r.registerComponentView(zO),vb(r)}function FO(r){pe(OO),pe(VO)}function My(r,t,e){var n=Qe.createCanvas(),i=t.getWidth(),a=t.getHeight(),o=n.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=i+"px",o.height=a+"px",n.setAttribute("data-zr-dom-id",r)),n.width=i*e,n.height=a*e,n}var Wf=(function(r){O(t,r);function t(e,n,i){var a=r.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.incremental=!1,a.zlevel=0,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__used=!1,a.__drawIndex=0,a.__startIndex=0,a.__endIndex=0,a.__prevStartIndex=null,a.__prevEndIndex=null;var o;i=i||nl,typeof e=="string"?o=My(e,n,i):X(e)&&(o=e,e=o.id),a.id=e,a.dom=o;var s=o.style;return s&&(zy(o),o.onselectstart=function(){return!1},s.padding="0",s.margin="0",s.borderWidth="0"),a.painter=n,a.dpr=i,a}return t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=My("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),e!==1&&this.ctxBack.scale(e,e)},t.prototype.createRepaintRects=function(e,n,i,a){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var o=[],s=this.maxRepaintRectCount,l=!1,u=new st(0,0,0,0);function f(y){if(!(!y.isFinite()||y.isZero()))if(o.length===0){var _=new st(0,0,0,0);_.copy(y),o.push(_)}else{for(var S=!1,x=1/0,b=0,w=0;w=s)}}for(var h=this.__startIndex;h15)break}}P.prevElClipPaths&&g.restore()};if(y)if(y.length===0)T=m.__endIndex;else for(var A=v.dpr,M=0;M0&&t>i[0]){for(l=0;lt);l++);s=n[i[l]]}if(i.splice(l+1,0,t),n[t]=e,!e.virtual)if(s){var u=s.dom;u.nextSibling?o.insertBefore(e.dom,u.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},r.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?ks:0),this._needsManuallyCompositing),f.__builtin__||Tc("ZLevel "+u+" has been used by unkown layer "+f.id),f!==a&&(f.__used=!0,f.__startIndex!==l&&(f.__dirty=!0),f.__startIndex=l,f.incremental?f.__drawIndex=-1:f.__drawIndex=l,e(l),a=f),i.__dirty&_e&&!i.__inHover&&(f.__dirty=!0,f.incremental&&f.__drawIndex<0&&(f.__drawIndex=l))}e(l),this.eachBuiltinLayer(function(h,c){!h.__used&&h.getElementCount()>0&&(h.__dirty=!0,h.__startIndex=h.__endIndex=h.__drawIndex=0),h.__dirty&&h.__drawIndex<0&&(h.__drawIndex=h.__startIndex)})},r.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},r.prototype._clearLayer=function(t){t.clear()},r.prototype.setBackgroundColor=function(t){this._backgroundColor=t,C(this._layers,function(e){e.setUnpainted()})},r.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?lt(n[t],e,!0):n[t]=e;for(var i=0;iString(s[n]??"")),o=r.data.map(s=>s[i]??0);return{tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"4%",bottom:"10%",containLabel:!0},dataZoom:[{type:"inside",start:0,end:100},{type:"slider",start:0,end:100}],xAxis:{type:"category",data:a,axisLabel:{rotate:30}},yAxis:{type:"value"},series:[{type:"bar",data:o,name:e[0]??""}]}}function $O(r,t,e){const n=t[0]?r.columns.indexOf(t[0]):0,i=r.data.map(o=>String(o[n]??"")),a=e.map(o=>{const s=r.columns.indexOf(o);return{type:"bar",name:o,data:r.data.map(l=>l[s]??0)}});return{tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{show:!0},grid:{left:"3%",right:"4%",bottom:"10%",containLabel:!0},dataZoom:[{type:"inside",start:0,end:100},{type:"slider",start:0,end:100}],xAxis:{type:"category",data:i,axisLabel:{rotate:30}},yAxis:{type:"value"},series:a}}function ZO(r,t,e){const n=t[0]?r.columns.indexOf(t[0]):0,i=r.data.map(o=>String(o[n]??"")),a=e.map(o=>{const s=r.columns.indexOf(o);return{type:"line",name:o,smooth:!0,data:r.data.map(l=>l[s]??0)}});return{tooltip:{trigger:"axis"},legend:{show:e.length>1},grid:{left:"3%",right:"4%",bottom:"10%",containLabel:!0},dataZoom:[{type:"inside",start:0,end:100},{type:"slider",start:0,end:100}],xAxis:{type:"category",data:i},yAxis:{type:"value"},series:a}}function XO(r,t,e){const n=t[0]?r.columns.indexOf(t[0]):0,i=e[0]?r.columns.indexOf(e[0]):1,a=r.data.map(o=>({name:String(o[n]??""),value:o[i]??0}));return{tooltip:{trigger:"item",formatter:"{a}
{b}: {c} ({d}%)"},legend:{orient:"vertical",left:"left"},series:[{type:"pie",name:e[0]??"",radius:["40%","70%"],data:a,emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0,0,0,0.5)"}}}]}}function qO(r,t,e){const n=e[0]?r.columns.indexOf(e[0]):0,i=e[1]?r.columns.indexOf(e[1]):1,a=r.data.map(o=>[o[n]??0,o[i]??0]);return{tooltip:{trigger:"item"},grid:{left:"3%",right:"4%",bottom:"10%",containLabel:!0},xAxis:{type:"value",name:e[0]??""},yAxis:{type:"value",name:e[1]??""},series:[{type:"scatter",data:a,name:`${e[0]} vs ${e[1]}`}]}}function KO(r,t,e){var o;const n=e[0]??r.columns[0]??"",i=n?r.columns.indexOf(n):0,a=((o=r.data[0])==null?void 0:o[i])??0;return{title:[{text:String(a),textStyle:{fontSize:48,fontWeight:"bold"},left:"center",top:"center"},{text:n,textStyle:{fontSize:16,color:"#666"},left:"center",top:"65%"}],series:[]}}function QO(r,t,e){const n=t[0]?r.columns.indexOf(t[0]):0,i=t[1]?r.columns.indexOf(t[1]):1,a=e[0]?r.columns.indexOf(e[0]):2,o=[...new Set(r.data.map(c=>String(c[n]??"")))],s=[...new Set(r.data.map(c=>String(c[i]??"")))],l=r.data.map(c=>[o.indexOf(String(c[n]??"")),s.indexOf(String(c[i]??"")),c[a]??0]),u=r.data.map(c=>Number(c[a]??0)),f=Math.min(...u),h=Math.max(...u);return{tooltip:{position:"top"},grid:{left:"3%",right:"10%",bottom:"10%",containLabel:!0},xAxis:{type:"category",data:o,splitArea:{show:!0}},yAxis:{type:"category",data:s,splitArea:{show:!0}},visualMap:{min:f,max:h,calculable:!0,orient:"horizontal",left:"center",bottom:"0%"},series:[{type:"heatmap",data:l,name:e[0]??"",label:{show:!1},emphasis:{itemStyle:{shadowBlur:10,shadowColor:"rgba(0,0,0,0.5)"}}}]}}function JO(r,t,e,n){switch(r){case"bar":return Ay(t,e,n);case"groupedBar":return $O(t,e,n);case"line":return ZO(t,e,n);case"pie":return XO(t,e,n);case"scatter":return qO(t,e,n);case"kpi":return KO(t,e,n);case"heatmap":return QO(t,e,n);default:return Ay(t,e,n)}}function jO(r){const t=ut(null),e=ut(!1),n=[];function i(){if(!(!r.value||t.value)){t.value=XL(r.value);for(const h of n)t.value.on("click",h)}}function a(h,c,v,d){if(t.value||i(),!t.value)return;const p=JO(h,c,v,d);t.value.setOption(p,!0)}function o(){var h;(h=t.value)==null||h.resize()}function s(h){t.value?t.value.on("click",h):n.push(h)}function l(h){var c;(c=t.value)==null||c.on("brushSelected",h)}function u(){var h;(h=t.value)==null||h.dispose(),t.value=null}const f=()=>o();return yc(()=>{i(),window.addEventListener("resize",f)}),mb(()=>{window.removeEventListener("resize",f),u()}),{chart:t,loading:e,render:a,resize:o,onChartClick:s,onBrushSelected:l,dispose:u}}const tB=ge({__name:"ChartRenderer",props:{chartType:{},data:{},dimensions:{},measures:{}},emits:["chartClick"],setup(r,{emit:t}){const e=r,n=t,i=ut(null),{render:a,onChartClick:o}=jO(i);function s(){e.data&&a(e.chartType,e.data,e.dimensions,e.measures)}return yc(()=>{s(),o(l=>n("chartClick",l))}),Ui(()=>[e.chartType,e.data,e.dimensions,e.measures],()=>s(),{deep:!0}),(l,u)=>(et(),rt("div",{ref_key:"containerRef",ref:i,class:"chart-renderer"},null,512))}}),Xv=xe(tB,[["__scopeId","data-v-89a52437"]]),eB={class:"chart-type-switcher"},rB=["icon","tooltip","pressed","onClick"],nB=ge({__name:"ChartTypeSwitcher",props:{modelValue:{},suggested:{}},emits:["update:modelValue"],setup(r,{emit:t}){const e=r,n=t,i=[{type:"bar",icon:"vertical-bar-chart",label:"Bar"},{type:"groupedBar",icon:"horizontal-bar-chart",label:"Grouped Bar"},{type:"line",icon:"line-chart",label:"Line"},{type:"pie",icon:"donut-chart",label:"Pie"},{type:"scatter",icon:"scatter-chart",label:"Scatter"},{type:"heatmap",icon:"heatmap-chart",label:"Heatmap"},{type:"kpi",icon:"kpi-corporate-performance",label:"KPI"}];function a(o){e.modelValue!==o&&n("update:modelValue",o)}return(o,s)=>(et(),rt("div",eB,[(et(),rt(ke,null,Ee(i,l=>Q("ui5-toggle-button",{key:l.type,icon:l.icon,tooltip:l.label,pressed:r.modelValue===l.type,class:Za({"is-suggested":r.suggested===l.type}),design:"Transparent",onClick:u=>a(l.type)},ne(l.label),11,rB)),64))]))}}),qv=xe(nB,[["__scopeId","data-v-f09c1717"]]),iB=["color-scheme"],aB=ge({__name:"AggregationBadge",props:{aggregated:{type:Boolean},totalRows:{},resultRows:{}},setup(r){const t=r;function e(a){return a>=1e3?`${Math.round(a/1e3)}K`:String(a)}const n=Yi(()=>t.aggregated?"8":"6"),i=Yi(()=>{if(t.aggregated){const o=t.totalRows!=null?e(t.totalRows):"?",s=t.resultRows!=null?String(t.resultRows):"?";return`Aggregated (${o} → ${s})`}return`Raw data (${t.totalRows!=null?e(t.totalRows):"?"} rows)`});return(a,o)=>(et(),rt("ui5-tag",{"color-scheme":n.value},ne(i.value),9,iB))}}),oB={class:"explore-tab"},sB={class:"explore-content"},lB={class:"config-panel"},uB={class:"chart-panel"},fB={class:"chart-toolbar"},hB=ge({__name:"ExploreTab",setup(r){const t=_c(),e=Sc(),n=ut(null);async function i(v,d,p){t.setDataSource({schema:v,object:d,objectType:p}),await e.loadMetadata(v,d)}async function a(){if(t.dimensions.value.length===0&&t.measures.value.length===0){n.value=null;return}try{const v=await e.fetchAggregated(t.config.value);n.value={columns:v.columns,data:v.data}}catch{n.value=null}}Ui(()=>[t.dimensions.value,t.measures.value,t.filters.value],a,{deep:!0});function o(v){t.addDimension(v)}function s(v){t.removeDimension(v)}function l(v){t.addMeasure(v)}function u(v){t.removeMeasure(v)}function f(v,d){const p=t.measures.value.find(m=>m.column===v);p&&(p.aggregation=d)}function h(v){t.addFilter(v)}function c(v){t.removeFilterAtIndex(v)}return(v,d)=>{var p;return et(),rt("div",oB,[Vt(rx,{filters:q(t).filters.value,columns:q(e).columns.value,onAddFilter:h,onRemoveFilter:c,onClearAll:q(t).clearFilters},null,8,["filters","columns","onClearAll"]),Q("div",sB,[Q("div",lB,[Vt(Py,{onSelect:i}),Vt(Ry,{columns:q(e).columns.value,dimensions:q(t).dimensions.value,measures:q(t).measures.value,onAddDimension:o,onRemoveDimension:s,onAddMeasure:l,onRemoveMeasure:u,onUpdateAggregation:f},null,8,["columns","dimensions","measures"])]),Q("div",uB,[Q("div",fB,[Vt(qv,{"model-value":q(t).chartType.value,suggested:q(t).suggestedChartType.value,"onUpdate:modelValue":q(t).setChartType},null,8,["model-value","suggested","onUpdate:modelValue"]),Vt(aB,{aggregated:q(e).useServerAggregation.value,"total-rows":q(e).rowCount.value,"result-rows":(p=n.value)==null?void 0:p.data.length},null,8,["aggregated","total-rows","result-rows"])]),Vt(Xv,{"chart-type":q(t).chartType.value,data:n.value,dimensions:q(t).dimensions.value.map(m=>m.column),measures:q(t).measures.value.map(m=>`${m.aggregation}_${m.column}`)},null,8,["chart-type","data","dimensions","measures"])])])])}}}),cB=xe(hB,[["__scopeId","data-v-4fe70e45"]]),vB={class:"sql-tab"},dB={key:0,class:"chart-section"},pB=ge({__name:"SqlTab",setup(r){const t=_c(),e=ut(null),n=ut(!1),i=ut(null);function a(s){i.value=s}function o(){if(!i.value)return;n.value=!0;const s=i.value.columns;e.value={columns:s,data:i.value.rows.map(l=>s.map(u=>l[u]))},s.length>=2&&(t.clearAll(),t.addDimension({column:s[0],dataType:"NVARCHAR"}),t.addMeasure({column:s[1],aggregation:"SUM"}))}return(s,l)=>(et(),rt("div",vB,[Q("div",{class:Za(["editor-section",{"with-chart":n.value}])},[Vt(bb,{onResults:a}),i.value?(et(),rt("ui5-button",{key:0,class:"visualize-btn",design:"Emphasized",icon:"chart-table-view",onClick:o}," Visualize ")):ye("",!0)],2),n.value?(et(),rt("div",dB,[Vt(qv,{modelValue:q(t).chartType.value,"onUpdate:modelValue":l[0]||(l[0]=u=>q(t).chartType.value=u),suggested:q(t).suggestedChartType.value},null,8,["modelValue","suggested"]),Vt(Xv,{"chart-type":q(t).chartType.value,data:e.value,dimensions:q(t).dimensions.value.map(u=>u.column),measures:q(t).measures.value.map(u=>u.column)},null,8,["chart-type","data","dimensions","measures"])])):ye("",!0)]))}}),gB=xe(pB,[["__scopeId","data-v-c9bd1876"]]),mB={class:"dashboard-toolbar"},yB=["data-id","selected"],_B=ge({__name:"DashboardToolbar",props:{dashboards:{},activeDashboard:{}},emits:["create","select","save","remove","exportDash","importDash","addChart"],setup(r,{emit:t}){const e=t,n=ut(null);function i(){var o;(o=n.value)==null||o.click()}function a(o){var l;const s=(l=o.target.files)==null?void 0:l[0];if(s){const u=new FileReader;u.onload=()=>e("importDash",u.result),u.readAsText(s)}}return(o,s)=>(et(),rt("div",mB,[r.dashboards.length>0?(et(),rt("ui5-select",{key:0,onChange:s[0]||(s[0]=l=>{var u,f;return e("select",((f=(u=l.detail.selectedOption)==null?void 0:u.dataset)==null?void 0:f.id)||"")})},[(et(!0),rt(ke,null,Ee(r.dashboards,l=>{var u;return et(),rt("ui5-option",{key:l.id,"data-id":l.id,selected:l.id===((u=r.activeDashboard)==null?void 0:u.id)},ne(l.name),9,yB)}),128))],32)):ye("",!0),Q("ui5-button",{icon:"add",onClick:s[1]||(s[1]=l=>e("create",`Dashboard ${r.dashboards.length+1}`))},"New"),r.activeDashboard?(et(),rt("ui5-button",{key:1,icon:"add-activity",design:"Emphasized",onClick:s[2]||(s[2]=l=>e("addChart"))},"Add Chart")):ye("",!0),r.activeDashboard?(et(),rt("ui5-button",{key:2,icon:"save",onClick:s[3]||(s[3]=l=>e("save"))},"Save")):ye("",!0),r.activeDashboard?(et(),rt("ui5-button",{key:3,icon:"download",onClick:s[4]||(s[4]=l=>e("exportDash"))},"Export")):ye("",!0),Q("ui5-button",{icon:"upload",onClick:i},"Import"),r.activeDashboard?(et(),rt("ui5-button",{key:4,icon:"delete",design:"Negative",onClick:s[5]||(s[5]=l=>e("remove",r.activeDashboard.id))},"Delete")):ye("",!0),Q("input",{ref_key:"fileInput",ref:n,type:"file",accept:".json",style:{display:"none"},onChange:a},null,544)]))}}),SB=xe(_B,[["__scopeId","data-v-af3a393a"]]),bB={class:"chart-tile"},xB={class:"tile-header"},wB={class:"tile-title"},TB=ge({__name:"ChartTile",props:{config:{},crossFilters:{}},emits:["chartClick","remove"],setup(r,{emit:t}){const e=r,n=t,i=Sc(),a=ut(null);async function o(){try{const s={...e.config,filters:[...e.config.filters,...e.crossFilters||[]]},l=await i.fetchAggregated(s);a.value={columns:l.columns,data:l.data}}catch{a.value=null}}return yc(o),Ui(()=>e.crossFilters,o,{deep:!0}),(s,l)=>(et(),rt("div",bB,[Q("div",xB,[Q("span",wB,ne(r.config.object),1),Q("ui5-button",{icon:"decline",design:"Transparent",onClick:l[0]||(l[0]=u=>n("remove"))})]),Vt(Xv,{"chart-type":r.config.chartType,data:a.value,dimensions:r.config.dimensions.map(u=>u.column),measures:r.config.measures.map(u=>`${u.aggregation}_${u.column}`),onChartClick:l[1]||(l[1]=u=>n("chartClick",u))},null,8,["chart-type","data","dimensions","measures"])]))}}),CB=xe(TB,[["__scopeId","data-v-05aa1592"]]),MB={class:"dashboard-grid"},DB={key:0,class:"empty-state"},AB=ge({__name:"DashboardGrid",props:{tiles:{},crossFiltersFn:{type:Function}},emits:["removeTile","chartClick"],setup(r,{emit:t}){const e=t;return(n,i)=>(et(),rt("div",MB,[(et(!0),rt(ke,null,Ee(r.tiles,a=>{var o;return et(),rt("div",{key:a.id,class:"grid-cell",style:yb({gridColumn:`${a.position.x+1} / span ${a.position.w}`,gridRow:`${a.position.y+1} / span ${a.position.h}`})},[Vt(CB,{config:a.config,"cross-filters":(o=r.crossFiltersFn)==null?void 0:o.call(r,a.id),onRemove:s=>e("removeTile",a.id),onChartClick:s=>e("chartClick",a.id,s)},null,8,["config","cross-filters","onRemove","onChartClick"])],4)}),128)),r.tiles.length===0?(et(),rt("div",DB,[...i[0]||(i[0]=[Q("p",null,'No charts yet. Click "Add Chart" to get started.',-1)])])):ye("",!0)]))}}),LB=xe(AB,[["__scopeId","data-v-ee79cc24"]]),IB={class:"modal-content"},PB={slot:"footer"},RB={design:"Footer"},kB=["disabled"],EB=ge({__name:"AddChartModal",emits:["confirm","cancel"],setup(r,{expose:t,emit:e}){const n=e,i=_c(),a=Sc(),o=ut(null);async function s(f,h,c){i.setDataSource({schema:f,object:h,objectType:c}),await a.loadMetadata(f,h)}function l(){n("confirm",i.config.value),o.value&&(o.value.open=!1)}function u(){o.value&&(o.value.open=!0)}return t({show:u}),(f,h)=>(et(),rt("ui5-dialog",{ref_key:"dialogRef",ref:o,"header-text":"Add Chart"},[Q("div",IB,[Vt(Py,{onSelect:s}),q(a).columns.value.length>0?(et(),Iy(Ry,{key:0,columns:q(a).columns.value,dimensions:q(i).dimensions.value,measures:q(i).measures.value,onAddDimension:h[0]||(h[0]=c=>q(i).addDimension(c)),onRemoveDimension:h[1]||(h[1]=c=>q(i).removeDimension(c)),onAddMeasure:h[2]||(h[2]=c=>q(i).addMeasure(c)),onRemoveMeasure:h[3]||(h[3]=c=>q(i).removeMeasure(c)),onUpdateAggregation:h[4]||(h[4]=(c,v)=>{const d=q(i).measures.value.find(p=>p.column===c);d&&(d.aggregation=v)})},null,8,["columns","dimensions","measures"])):ye("",!0),Vt(qv,{modelValue:q(i).chartType.value,"onUpdate:modelValue":h[5]||(h[5]=c=>q(i).chartType.value=c),suggested:q(i).suggestedChartType.value},null,8,["modelValue","suggested"])]),Q("div",PB,[Q("ui5-bar",RB,[Q("ui5-button",{slot:"endContent",design:"Emphasized",onClick:l,disabled:q(i).measures.value.length===0},"Add",8,kB),Q("ui5-button",{slot:"endContent",onClick:h[6]||(h[6]=c=>{n("cancel"),o.value&&(o.value.open=!1)})},"Cancel")])])],512))}}),OB=xe(EB,[["__scopeId","data-v-393739a2"]]),Ly="hana-cli-dashboards";function BB(){const r=ut([]),t=ut(null);function e(){try{const f=localStorage.getItem(Ly);r.value=f?JSON.parse(f):[]}catch{r.value=[]}}function n(){localStorage.setItem(Ly,JSON.stringify(r.value))}function i(f){const h={id:crypto.randomUUID(),name:f,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString(),globalFilters:[],tiles:[]};return r.value.push(h),t.value=h,n(),h}function a(){if(t.value){t.value.updatedAt=new Date().toISOString();const f=r.value.findIndex(h=>h.id===t.value.id);f>=0&&(r.value[f]=t.value),n()}}function o(f){var h;r.value=r.value.filter(c=>c.id!==f),((h=t.value)==null?void 0:h.id)===f&&(t.value=null),n()}function s(f){return JSON.stringify(f,null,2)}function l(f){try{const h=JSON.parse(f);if(!h||typeof h.name!="string"||!Array.isArray(h.tiles))return null;for(const v of h.tiles)if(!v.config||!v.position)return null;const c=h;return c.id=crypto.randomUUID(),c.updatedAt=new Date().toISOString(),r.value.push(c),n(),c}catch{return null}}function u(f){t.value=r.value.find(h=>h.id===f)||null}return e(),{dashboards:r,activeDashboard:t,create:i,save:a,remove:o,exportDashboard:s,importDashboard:l,setActive:u,loadAll:e}}function NB(){const r=ut([]);function t(o){const s=r.value.length>0?Math.max(...r.value.map(u=>u.y+u.h)):0,l={id:o,x:0,y:s,w:6,h:1};return r.value.push(l),l}function e(o){r.value=r.value.filter(s=>s.id!==o)}function n(o,s,l){const u=r.value.find(f=>f.id===o);u&&(u.w=Math.max(3,Math.min(12,s)),u.h=Math.max(1,l))}function i(o,s,l){const u=r.value.find(f=>f.id===o);u&&(u.x=Math.max(0,Math.min(12-u.w,s)),u.y=Math.max(0,l))}function a(o){r.value=o}return{tiles:r,addTile:t,removeTile:e,resizeTile:n,moveTile:i,setTiles:a}}function zB(){const r=ut([]);function t(a,o,s){r.value=r.value.filter(l=>l.sourceTileId!==a),r.value.push({sourceTileId:a,filter:{column:o,operator:"=",value:s}})}function e(){r.value=[]}function n(a){return r.value.filter(o=>o.sourceTileId!==a).map(o=>o.filter)}const i=Yi(()=>r.value.length>0);return{crossFilters:r,addCrossFilter:t,clearCrossFilters:e,getFiltersForTile:n,hasCrossFilters:i}}const VB={class:"dashboard-tab"},FB={key:2,class:"no-dashboard"},HB=ge({__name:"DashboardTab",setup(r){const t=BB(),e=NB(),n=zB(),i=ut(null);_b(()=>{t.activeDashboard.value&&e.setTiles(t.activeDashboard.value.tiles.map(h=>h.position))});function a(){var h;(h=i.value)==null||h.show()}function o(h){if(!t.activeDashboard.value)return;const c=crypto.randomUUID(),v=e.addTile(c),d={id:c,position:v,config:h};t.activeDashboard.value.tiles.push(d),t.save()}function s(h){t.activeDashboard.value&&(t.activeDashboard.value.tiles=t.activeDashboard.value.tiles.filter(c=>c.id!==h),e.removeTile(h),t.save())}function l(){if(!t.activeDashboard.value)return;const h=t.exportDashboard(t.activeDashboard.value),c=new Blob([h],{type:"application/json"}),v=URL.createObjectURL(c),d=document.createElement("a");d.href=v,d.download=`${t.activeDashboard.value.name}.json`,d.click(),URL.revokeObjectURL(v)}function u(h){t.importDashboard(h)}function f(h,c){c.name&&n.addCrossFilter(h,c.seriesName||"value",c.name)}return(h,c)=>(et(),rt("div",VB,[Vt(SB,{dashboards:q(t).dashboards.value,"active-dashboard":q(t).activeDashboard.value,onCreate:c[0]||(c[0]=v=>q(t).create(v)),onSelect:c[1]||(c[1]=v=>q(t).setActive(v)),onSave:q(t).save,onRemove:c[2]||(c[2]=v=>q(t).remove(v)),onExportDash:l,onImportDash:u,onAddChart:a},null,8,["dashboards","active-dashboard","onSave"]),q(n).hasCrossFilters.value?(et(),rt("ui5-button",{key:0,design:"Transparent",icon:"clear-filter",onClick:c[3]||(c[3]=v=>q(n).clearCrossFilters())}," Clear cross-filters ")):ye("",!0),q(t).activeDashboard.value?(et(),Iy(LB,{key:1,tiles:q(t).activeDashboard.value.tiles,"cross-filters-fn":q(n).getFiltersForTile,onRemoveTile:s,onChartClick:f},null,8,["tiles","cross-filters-fn"])):(et(),rt("div",FB,[...c[4]||(c[4]=[Q("p",null,"Select or create a dashboard to get started.",-1)])])),Vt(OB,{ref_key:"addChartRef",ref:i,onConfirm:o},null,512)]))}}),GB=xe(HB,[["__scopeId","data-v-f361d9b7"]]),WB={class:"analytics-view"},UB={class:"tab-content"},YB=ge({__name:"Analytics",setup(r){const t=ut("explore");function e(n){var a,o,s;const i=(s=(o=(a=n.detail)==null?void 0:a.tab)==null?void 0:o.dataset)==null?void 0:s.key;i&&(t.value=i)}return(n,i)=>(et(),rt("div",WB,[Q("ui5-tabcontainer",{onTabSelect:e},[...i[0]||(i[0]=[Q("ui5-tab",{"data-key":"explore",text:"Explore",icon:"chart-table-view",selected:""},null,-1),Q("ui5-tab",{"data-key":"sql",text:"SQL",icon:"syntax"},null,-1),Q("ui5-tab",{"data-key":"dashboard",text:"Dashboard",icon:"business-objects-experience"},null,-1)])],32),Q("div",UB,[fu(Vt(cB,null,null,512),[[hu,t.value==="explore"]]),fu(Vt(gB,null,null,512),[[hu,t.value==="sql"]]),fu(Vt(GB,null,null,512),[[hu,t.value==="dashboard"]])])]))}}),aN=xe(YB,[["__scopeId","data-v-a79f99bd"]]);export{aN as default}; diff --git a/app/vue/dist/assets/BtpInfo-7Qe2D5PE.js b/app/vue/dist/assets/BtpInfo-7Qe2D5PE.js deleted file mode 100644 index 3a9c0895..00000000 --- a/app/vue/dist/assets/BtpInfo-7Qe2D5PE.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as m,co as v,bl as e,bi as c,cN as b,cU as g,bk as h,t as y,cB as B,c_ as k,cA as r,bh as x,cW as I,cr as s,b8 as w}from"./index-Cmc-xxmd.js";import"./CardHeader-D25i9-9b.js";import"./Link-CUU7QKFS.js";const C={class:"btp-info-view"},L={key:0,active:"",size:"Medium",class:"loading"},N={key:1,class:"error"},S={key:2,class:"info-cards"},D=["title-text","subtitle-text"],j=m({__name:"BtpInfo",setup(z){const{fetchDirect:d}=I(),p=k(),i=r(!1),n=r(""),l=r({}),f=x(()=>{const t=n.value.toLowerCase();return t.includes("unknown session")||t.includes("authorization failed")||t.includes("btp cli target")||t.includes("no btp cli")||t.includes("not logged in")||t.includes("unexpected end of json")});async function _(){i.value=!0,n.value="";try{const t=await d("/hana/btpInfo");l.value=t||{}}catch(t){n.value=t.message}finally{i.value=!1}}return v(_),(t,o)=>(s(),e("div",C,[o[1]||(o[1]=c("ui5-title",{level:"H3"},"BTP Information",-1)),i.value?(s(),e("ui5-busy-indicator",L)):n.value?(s(),e("div",N,[c("p",null,b(n.value),1),f.value?(s(),e("ui5-link",{key:0,onClick:o[0]||(o[0]=a=>g(p).push({name:"btpLogin"}))},"Go to BTP Login")):h("",!0)])):(s(),e("div",S,[(s(!0),e(y,null,B(l.value,(a,u)=>(s(),e("ui5-card",{key:u,class:"info-card"},[c("ui5-card-header",{slot:"header","title-text":String(u),"subtitle-text":typeof a=="object"?JSON.stringify(a):String(a)},null,8,D)]))),128))]))]))}}),M=w(j,[["__scopeId","data-v-c5260c33"]]);export{M as default}; diff --git a/app/vue/dist/assets/BtpLogin-CwDnNSRL.js b/app/vue/dist/assets/BtpLogin-CwDnNSRL.js deleted file mode 100644 index 3a2837ec..00000000 --- a/app/vue/dist/assets/BtpLogin-CwDnNSRL.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as R,co as q,bl as u,bi as t,t as A,cN as r,cB as G,bk as S,cA as a,bh as w,cR as T,cW as W,cr as i,b8 as $}from"./index-Cmc-xxmd.js";import"./MessageStrip-st-aaDs2.js";import"./SegmentedButton-D0FpyF_g.js";import"./Option-yBqY0LHt.js";import"./ListItemBaseTemplate-fB6cyhUP.js";const F={class:"btp-login-view"},J={key:0,active:"",size:"Medium",class:"loading"},M={key:0,design:"Positive","hide-close-button":""},V={key:1,design:"Warning","hide-close-button":""},K={key:2,design:"Warning","hide-close-button":""},Q={key:3,class:"form-card"},X={class:"form-field"},Y=["disabled"],Z=["value","selected"],ee=["disabled"],te={class:"mode-toggle"},se=["pressed"],le=["pressed"],oe={key:4,class:"form-card"},ae={class:"form-grid"},ue={class:"form-field"},ie=["value"],ne={class:"form-field"},de=["value"],re={class:"form-field"},ve=["value"],ce=["disabled"],ge={key:5,class:"form-card"},pe={class:"form-grid"},be={class:"form-field"},fe=["value"],me={class:"form-field"},he=["value"],ye={class:"form-field"},_e=["value"],Se={class:"form-field"},we=["value"],Ce={class:"form-field"},ke=["value"],Pe=["disabled"],Te={key:6,design:"Negative","hide-close-button":""},Le={key:7,design:"Positive","hide-close-button":""},Be={class:"action-bar"},Ie=["disabled"],Oe=R({__name:"BtpLogin",setup(Ne){const{fetchDirect:L}=W(),v=a("sso"),C=a(!1),c=a(!1),n=a(""),d=a(""),o=a({loggedIn:!1}),p=a("https://cli.btp.cloud.sap"),b=a(""),h=a(""),m=a(""),f=a(""),y=a([]),g=a(""),k=a(!1),P=a(!1),x=w(()=>o.value.loggedIn),j=w(()=>!!g.value&&!P.value),E=w(()=>!c.value),H=w(()=>!!h.value&&!!m.value&&!c.value);async function B(){C.value=!0,n.value="";try{o.value=await L("/hana/btp-status"),o.value.loggedIn&&await I()}catch(l){n.value=l.message}finally{C.value=!1}}async function I(){k.value=!0;try{y.value=await L("/hana/btp-subaccounts")}catch{}finally{k.value=!1}}function U(l){var e,s,_,N;g.value=((s=(e=l.detail)==null?void 0:e.selectedOption)==null?void 0:s.value)||((N=(_=l.detail)==null?void 0:_.selectedOption)==null?void 0:N.textContent)||""}async function z(){P.value=!0,n.value="",d.value="";try{const e=await(await fetch("/hana/btp-set-target",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({subaccount:g.value})})).json();if(e.success){o.value=e.status;const s=y.value.find(_=>_.guid===g.value);d.value=`Target set: ${(s==null?void 0:s.displayName)||g.value}`,T.show("BTP target set successfully")}else n.value=e.message||"Failed to set target"}catch(l){n.value=l.message}finally{P.value=!1}}async function O(){c.value=!0,n.value="",d.value="";try{const l={mode:v.value};p.value&&(l.url=p.value),b.value&&(l.subdomain=b.value),f.value&&(l.idp=f.value),v.value==="password"&&(l.user=h.value,l.password=m.value);const s=await(await fetch("/hana/btp-login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)})).json();s.success?(d.value="Successfully logged in to BTP",s.status&&(o.value=s.status),m.value="",T.show("BTP Login successful"),o.value.loggedIn&&await I()):n.value=s.message||"Login failed"}catch(l){n.value=l.message||"Login failed"}finally{c.value=!1}}async function D(){c.value=!0,n.value="",d.value="";try{(await(await fetch("/hana/btp-logout",{method:"POST"})).json()).success&&(o.value={loggedIn:!1},y.value=[],g.value="",d.value="Logged out from BTP",T.show("BTP Logout successful"))}catch(l){n.value=l.message}finally{c.value=!1}}return q(B),(l,e)=>(i(),u("div",F,[e[24]||(e[24]=t("ui5-title",{level:"H3"},"BTP Login",-1)),C.value?(i(),u("ui5-busy-indicator",J)):(i(),u(A,{key:1},[o.value.loggedIn&&o.value.subAccount?(i(),u("ui5-message-strip",M," Logged in as "+r(o.value.user)+" — GA: "+r(o.value.globalAccount)+", Subaccount: "+r(o.value.subAccount),1)):o.value.loggedIn?(i(),u("ui5-message-strip",V," Logged in as "+r(o.value.user)+" — No subaccount targeted. Please select below. ",1)):(i(),u("ui5-message-strip",K," Not logged in to BTP ")),x.value?(i(),u("div",Q,[e[12]||(e[12]=t("ui5-title",{level:"H5"},"Subaccount Target",-1)),t("div",X,[e[11]||(e[11]=t("ui5-label",{required:""},"Subaccount",-1)),t("ui5-select",{onChange:U,disabled:k.value},[e[10]||(e[10]=t("ui5-option",{value:""},"-- Select --",-1)),(i(!0),u(A,null,G(y.value,s=>(i(),u("ui5-option",{key:s.guid,value:s.guid,selected:s.guid===g.value||s.guid===o.value.subAccountId},r(s.displayName)+" ("+r(s.region)+")",9,Z))),128))],40,Y)]),t("ui5-button",{design:"Emphasized",icon:"target-group",disabled:!j.value,onClick:z},"Set Target",8,ee)])):S("",!0),t("div",te,[t("ui5-segmented-button",null,[t("ui5-segmented-button-item",{pressed:v.value==="sso",onClick:e[0]||(e[0]=s=>v.value="sso")},"SSO (Browser)",8,se),t("ui5-segmented-button-item",{pressed:v.value==="password",onClick:e[1]||(e[1]=s=>v.value="password")},"Username / Password",8,le)])]),v.value==="sso"?(i(),u("div",oe,[e[16]||(e[16]=t("ui5-title",{level:"H5"},"SSO Login",-1)),e[17]||(e[17]=t("ui5-message-strip",{design:"Information","hide-close-button":""}," A browser window will open for authentication. Complete the login there and return here. ",-1)),t("div",ae,[t("div",ue,[e[13]||(e[13]=t("ui5-label",null,"Server URL",-1)),t("ui5-input",{value:p.value,onChange:e[2]||(e[2]=s=>p.value=s.target.value),placeholder:"https://cli.btp.cloud.sap"},null,40,ie)]),t("div",ne,[e[14]||(e[14]=t("ui5-label",null,"Global Account Subdomain",-1)),t("ui5-input",{value:b.value,onChange:e[3]||(e[3]=s=>b.value=s.target.value),placeholder:"(optional)"},null,40,de)]),t("div",re,[e[15]||(e[15]=t("ui5-label",null,"Custom IDP",-1)),t("ui5-input",{value:f.value,onChange:e[4]||(e[4]=s=>f.value=s.target.value),placeholder:"(optional, origin key)"},null,40,ve)])]),t("ui5-button",{design:"Emphasized",icon:"log",disabled:!E.value,onClick:O},"Login with SSO",8,ce)])):(i(),u("div",ge,[e[23]||(e[23]=t("ui5-title",{level:"H5"},"Username / Password Login",-1)),t("div",pe,[t("div",be,[e[18]||(e[18]=t("ui5-label",null,"Server URL",-1)),t("ui5-input",{value:p.value,onChange:e[5]||(e[5]=s=>p.value=s.target.value),placeholder:"https://cli.btp.cloud.sap"},null,40,fe)]),t("div",me,[e[19]||(e[19]=t("ui5-label",null,"Global Account Subdomain",-1)),t("ui5-input",{value:b.value,onChange:e[6]||(e[6]=s=>b.value=s.target.value),placeholder:"(optional)"},null,40,he)]),t("div",ye,[e[20]||(e[20]=t("ui5-label",{required:""},"Username (Email)",-1)),t("ui5-input",{value:h.value,onChange:e[7]||(e[7]=s=>h.value=s.target.value),placeholder:"user@example.com"},null,40,_e)]),t("div",Se,[e[21]||(e[21]=t("ui5-label",{required:""},"Password",-1)),t("ui5-input",{type:"Password",value:m.value,onChange:e[8]||(e[8]=s=>m.value=s.target.value)},null,40,we)]),t("div",Ce,[e[22]||(e[22]=t("ui5-label",null,"Custom IDP",-1)),t("ui5-input",{value:f.value,onChange:e[9]||(e[9]=s=>f.value=s.target.value),placeholder:"(optional, origin key)"},null,40,ke)])]),t("ui5-button",{design:"Emphasized",icon:"log",disabled:!H.value,onClick:O},"Log In",8,Pe)])),n.value?(i(),u("ui5-message-strip",Te,r(n.value),1)):S("",!0),d.value?(i(),u("ui5-message-strip",Le,r(d.value),1)):S("",!0),t("div",Be,[t("ui5-button",{design:"Transparent",icon:"refresh",onClick:B},"Refresh Status"),o.value.loggedIn?(i(),u("ui5-button",{key:0,design:"Negative",icon:"log",disabled:c.value,onClick:D},"Log Out",8,Ie)):S("",!0)])],64))]))}}),Ue=$(Oe,[["__scopeId","data-v-0e99168e"]]);export{Ue as default}; diff --git a/app/vue/dist/assets/BtpSubs-DsVotqLu.js b/app/vue/dist/assets/BtpSubs-DsVotqLu.js deleted file mode 100644 index 7c01265f..00000000 --- a/app/vue/dist/assets/BtpSubs-DsVotqLu.js +++ /dev/null @@ -1 +0,0 @@ -import{D as t}from"./DynamicTableView-BgX-JfYu.js";import{bx as i,bj as o,cr as r}from"./index-Cmc-xxmd.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const S=i({__name:"BtpSubs",setup(p){return(e,m)=>(r(),o(t,{title:"BTP Subscriptions",endpoint:"btpSubs-ui",filters:[],"show-limit":!1,"link-column":"SubscriptionUrl"}))}});export{S as default}; diff --git a/app/vue/dist/assets/BtpTarget-CDKMIQnW.js b/app/vue/dist/assets/BtpTarget-CDKMIQnW.js deleted file mode 100644 index f01470c4..00000000 --- a/app/vue/dist/assets/BtpTarget-CDKMIQnW.js +++ /dev/null @@ -1,4 +0,0 @@ -import{b_ as B,Z as _e,bZ as c,x as $,ce as be,cf as ve,u as K,bB as L,bv as W,bu as U,cG as s,br as D,bN as de,c5 as N,T as ce,d9 as S,c1 as v,aT as ye,ai as xe,D as Te,aU as Ie,aV as we,b6 as Be,d8 as te,aY as ie,cF as oe,R as Le,m as De,am as ue,l as Ne,S as Ae,cw as Ce,cx as Re,bO as Ee,da as ke,g as Oe,cJ as ne,cT as Se,c2 as He,bd as re,A as se,c6 as Pe,ag as Fe,bx as $e,co as je,bl as _,bi as R,cN as H,bk as P,cU as ze,t as G,cB as ae,c_ as Me,cA as w,bh as Ge,cW as qe,cr as b,cR as Ke,b8 as We}from"./index-Cmc-xxmd.js";import"./MessageStrip-st-aaDs2.js";import{u as Ue,b as Ve}from"./slideUp-BU4b7UJI.js";import"./Link-CUU7QKFS.js";const Xe={listItemPreContent:Je,listItemContent:Ye,imageBegin:Qe,iconBegin:et};function V(r){const e={...Xe,...r};return B("div",{children:[_e.call(this,e),Ze.call(this)]})}function Je(){return c("div",{class:"ui5-li-tree-toggle-box",style:this.styles.preContent,children:this.showToggleButton&&c($,{part:"toggle-icon",class:"ui5-li-tree-toggle-icon",name:this.expanded?be:ve,showTooltip:!0,accessibleName:this.iconAccessibleName,onClick:this._toggleClick})})}function Ze(){if(this.expanded)return c("ul",{role:"group",id:`${this._id}-subtree`,class:"ui5-tree-li-subtree",children:c("slot",{})})}function Ye(){}function Qe(){if(this.hasImage)return c("div",{class:"ui5-tree-item-image",children:c("slot",{name:"image"})})}function et(){return this.icon?c($,{part:"icon",name:this.icon,class:"ui5-li-icon"}):c(K,{})}L("@ui5/webcomponents-theming","sap_horizon",async()=>W);L("@ui5/webcomponents","sap_horizon",async()=>U,"host");const X=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:block;position:relative}.ui5-li-tree-text-wrapper{flex:auto}.ui5-li-root-tree{padding-inline-start:0}:host(:not([level="1"])) .ui5-li-root{border-color:var(--sapList_AlternatingBackground)}:host([_toggle-button-end][selected]:not([level="1"])) .ui5-li-root{border-bottom:var(--ui5-listitem-selected-border-bottom)}:host([_toggle-button-end]) .ui5-li-root-tree:hover,:host([_selection-mode]:not([_selection-mode="None"],[_selection-mode="Delete"],[active])) .ui5-li-root-tree:hover{cursor:pointer}:host([_toggle-button-end]:not([selected])) .ui5-li-root-tree:hover,:host(:not([_selection-mode="None"]):not([_selection-mode="Delete"]):not([active]):not([selected])) .ui5-li-root-tree:hover{background:var(--sapList_Hover_Background)}:host(:not([level="1"]):not([active]):not([selected])) .ui5-li-root-tree{background:var(--sapList_AlternatingBackground)}:host([_toggle-button-end]:not([level="1"])) .ui5-li-root-tree{background:var(--ui5-listitem-background-color)}:host([_toggle-button-end][selected]:not([level="1"])) .ui5-li-root-tree{background:var(--sapList_SelectionBackgroundColor)}:host(:not([_selection-mode="None"]):not([_selection-mode="Delete"]):not([active])[selected]) .ui5-li-root-tree:hover{background-color:var(--sapList_Hover_SelectionBackground)}:host([_has-image]){height:unset}::slotted([ui5-avatar][slot="image"]){min-width:var(--_ui5_avatar_fontsize_XS);min-height:var(--_ui5_avatar_fontsize_XS)}.ui5-li-tree-toggle-box{min-width:var(--_ui5-tree-toggle-box-width);min-height:var(--_ui5-tree-toggle-box-height);display:flex;align-items:center;justify-content:center;flex-shrink:0}.ui5-li-tree-toggle-icon{display:flex;align-items:center;justify-content:center;width:var(--_ui5-tree-toggle-box-width);height:var(--_ui5-tree-toggle-box-height);color:var(--sapContent_IconColor);cursor:pointer}.ui5-li-tree-toggle-icon::part(root){width:var(--_ui5-tree-toggle-icon-size);height:var(--_ui5-tree-toggle-icon-size)}:host([actionable]) .ui5-li-tree-toggle-icon{color:var(--sapButton_TextColor)}:host([active][actionable]) .ui5-li-tree-toggle-icon{color:var(--sapList_Active_TextColor)}:host{height:unset}.ui5-li-root{height:var(--_ui5_list_item_base_height)}:host([selected]){background:unset}:host([selected]) .ui5-li-root{background:var(--sapList_SelectionBackgroundColor)}:host([has-border]){border-bottom:unset}:host([has-border]) .ui5-li-root{border-bottom:var(--ui5-listitem-border-bottom)}:host(:not([focused])[selected][has-border]){border-bottom:unset}:host(:not([focused])[selected][has-border]) .ui5-li-root{border-bottom:var(--ui5-listitem-selected-border-bottom)}:host([focused][selected]){border-bottom:unset}:host([focused][selected]) .ui5-li-root{border-bottom:var(--ui5-listitem-focused-selected-border-bottom)}.ui5-tree-li-subtree{margin:0;padding:0;list-style:none}:host([focused][active]) .ui5-li-root-tree{background:var(--sapList_Active_Background)}:host([focused][active]) .ui5-li-root-tree .ui5-li-tree-toggle-icon,:host([focused][active]) .ui5-li-root-tree .ui5-li-title,:host([focused][active]) .ui5-li-root-tree .ui5-li-additional-text{color:var(--sapList_Active_TextColor)} -`;var g=function(r,e,t,o){var n=arguments.length,i=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,o);else for(var l=r.length-1;l>=0;l--)(a=r[l])&&(i=(n<3?a(i):n>3?a(e,t,i):a(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i},E;let h=E=class extends ce{constructor(){super(...arguments),this.level=1,this.showToggleButton=!1,this.expanded=!1,this.movable=!1,this.hasChildren=!1,this.additionalTextState="None",this.forcedSetsize=1,this.forcedPosinset=1,this._fixed=!1,this._hasImage=!1}onBeforeRendering(){this.showToggleButton=this.requiresToggleButton,this._hasImage=this.hasImage}get classes(){const e=super.classes;return e.main["ui5-li-root-tree"]=!0,e}get styles(){return{preContent:{"padding-inline-start":`calc(var(--_ui5-tree-indent-step) * ${this.effectiveLevel})`}}}get requiresToggleButton(){return this._fixed?!1:this.hasChildren||this.items.length>0}get effectiveLevel(){return this.level-1}get hasParent(){return this.level>1}get hasImage(){return!!this.image.length}get _toggleIconName(){return this.expanded?"navigation-down-arrow":"navigation-right-arrow"}get _ariaLabel(){return E.i18nBundle.getText(ye)}get _accInfo(){const e={role:"treeitem",ariaExpanded:this.showToggleButton?this.expanded:void 0,ariaLevel:this.level,posinset:this.forcedPosinset,setsize:this.forcedSetsize,ariaSelectedText:this.ariaSelectedText,listItemAriaLabel:this.accessibleName?void 0:this._ariaLabel,ariaOwns:this.expanded?`${this._id}-subtree`:void 0,ariaHaspopup:this.accessibilityAttributes.hasPopup};return{...super._accInfo,...e}}get isTreeItem(){return!0}toggle(){this.expanded=!this.expanded}_toggleClick(e){e.stopPropagation(),this.fireDecoratorEvent("toggle",{item:this})}_onkeydown(e){super._onkeydown(e),!this._fixed&&this.showToggleButton&&xe(e)&&(this.expanded?this.fireDecoratorEvent("step-in",{item:this}):this.fireDecoratorEvent("toggle",{item:this})),!this._fixed&&Te(e)&&(this.expanded?this.fireDecoratorEvent("toggle",{item:this}):this.hasParent&&this.fireDecoratorEvent("step-out",{item:this}))}get iconAccessibleName(){return this.expanded?E.i18nBundle.getText(Ie):E.i18nBundle.getText(we)}};g([s({type:Number})],h.prototype,"level",void 0);g([s()],h.prototype,"icon",void 0);g([s({type:Boolean})],h.prototype,"showToggleButton",void 0);g([s({type:Boolean})],h.prototype,"expanded",void 0);g([s({type:Boolean})],h.prototype,"movable",void 0);g([s({type:Boolean})],h.prototype,"indeterminate",void 0);g([s({type:Boolean})],h.prototype,"hasChildren",void 0);g([s()],h.prototype,"additionalTextState",void 0);g([s()],h.prototype,"accessibleName",void 0);g([s({type:Number,noAttribute:!0})],h.prototype,"forcedSetsize",void 0);g([s({type:Number,noAttribute:!0})],h.prototype,"forcedPosinset",void 0);g([s({type:Boolean})],h.prototype,"_fixed",void 0);g([s({type:Boolean})],h.prototype,"_hasImage",void 0);g([D({type:HTMLElement,invalidateOnChildChange:{properties:!1,slots:["default"]},default:!0})],h.prototype,"items",void 0);g([D()],h.prototype,"image",void 0);g([de("@ui5/webcomponents")],h,"i18nBundle",void 0);h=E=g([N({languageAware:!0,renderer:S,template:V,styles:[ce.styles,X]}),v("toggle",{bubbles:!0}),v("step-in",{bubbles:!0}),v("step-out",{bubbles:!0})],h);const z=h,tt={listItemContent:ot};function it(r){const e={...tt,...r};return V.call(this,e)}function ot(){return B(K,{children:[c("div",{class:"ui5-li-text-wrapper",children:!!this._showTitle&&B("div",{part:"title",class:"ui5-li-title",children:[" ",this.text]})}),this.additionalText&&c("span",{part:"additional-text",class:"ui5-li-additional-text",children:this.additionalText})]})}var J=function(r,e,t,o){var n=arguments.length,i=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,o);else for(var l=r.length-1;l>=0;l--)(a=r[l])&&(i=(n<3?a(i):n>3?a(e,t,i):a(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i};let k=class extends z{get _showTitle(){var e;return(e=this.text)==null?void 0:e.length}};J([s()],k.prototype,"text",void 0);J([s()],k.prototype,"additionalText",void 0);k=J([N({renderer:S,tag:"ui5-tree-item",template:it,styles:[z.styles,X]})],k);k.define();const nt={listItemContent:st};function rt(r){const e={...nt,...r};return V.call(this,e)}function st(){return c("div",{class:"ui5-li-tree-text-wrapper",children:c("slot",{name:"content",slot:"content"})})}var Z=function(r,e,t,o){var n=arguments.length,i=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,o);else for(var l=r.length-1;l>=0;l--)(a=r[l])&&(i=(n<3?a(i):n>3?a(e,t,i):a(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i};let O=class extends z{constructor(){super(...arguments),this.hideSelectionElement=!1}_onkeydown(e){var n;if(Be(e)&&((n=this.content)!=null&&n.some(i=>i.contains(e.target)))){e.stopPropagation();return}const t=te(e)||ie(e),o=this.matches(":focus");!t&&!o&&!oe(e)||super._onkeydown(e)}_onkeyup(e){const t=te(e)||ie(e),o=this.matches(":focus");!t&&!o&&!oe(e)||super._onkeyup(e)}get placeSelectionElementBefore(){return!this.hideSelectionElement&&super.placeSelectionElementBefore}get placeSelectionElementAfter(){return!this.hideSelectionElement&&super.placeSelectionElementAfter}};Z([s({type:Boolean})],O.prototype,"hideSelectionElement",void 0);Z([D()],O.prototype,"content",void 0);O=Z([N({renderer:S,tag:"ui5-tree-item-custom",template:rt,styles:[z.styles,X]})],O);O.define();var at=function(r,e,t,o){var n=arguments.length,i=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,o);else for(var l=r.length-1;l>=0;l--)(a=r[l])&&(i=(n<3?a(i):n>3?a(e,t,i):a(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i};let j=class extends Le{getItems(e=!1){const t=this.getSlottedNodes("items"),o=[];return t.length===1&&t[0].hasAttribute("ui5-drop-indicator")||he(t,o,e),o}getItemsForProcessing(){return this.getItems(!0)}};j=at([N("ui5-tree-list")],j);const he=(r,e,t=!1)=>{r.forEach(o=>{e.push(o),(o.expanded||t)&&o.items&&he(o.items,e,t)})};j.define();const lt=j;function dt(){return B(lt,{class:"ui5-tree-root",selectionMode:this.selectionMode,headerText:this.headerText,footerText:this.footerText,noDataText:this.noDataText,accessibleRole:this._role,accessibleName:this.accessibleName,accessibleNameRef:this.accessibleNameRef,accessibleDescription:this.accessibleDescription,accessibleDescriptionRef:this.accessibleDescriptionRef,onDragEnter:this._ondragenter,onDragOver:this._ondragover,onDrop:this._ondrop,onDragLeave:this._ondragleave,onItemClick:this._onListItemClick,onItemDelete:this._onListItemDelete,onItemFocused:this._onListItemFocus,onSelectionChange:this._onListSelectionChange,onMouseOver:this._onListItemMouseOver,onMouseOut:this._onListItemMouseOut,"onui5-toggle":this._onListItemToggle,"onui5-step-in":this._onListItemStepIn,"onui5-step-out":this._onListItemStepOut,children:[this._hasHeader&&c("slot",{name:"header",slot:"header"}),c("slot",{}),c(De,{orientation:"Horizontal",ownerReference:this})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>W);L("@ui5/webcomponents","sap_horizon",async()=>U,"host");const ct=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:block;width:100%}.ui5-tree-root{height:100%;width:100%} -`;var T=function(r,e,t,o){var n=arguments.length,i=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,o);else for(var l=r.length-1;l>=0;l--)(a=r[l])&&(i=(n<3?a(i):n>3?a(e,t,i):a(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i};let y=class extends ue{constructor(){super(),this.selectionMode="None",this._dragAndDropHandler=new Ne(this,{getItems:this._getItems.bind(this),getDropIndicator:()=>this.dropIndicatorDOM,transformElement:this._transformElement.bind(this),validateDraggedElement:this._validateDraggedElement.bind(this),filterPlacements:this._filterPlacements.bind(this)})}onBeforeRendering(){this._prepareTreeItems()}onAfterRendering(){this.shadowRoot.querySelector("[ui5-tree-list]").onBeforeRendering()}get dropIndicatorDOM(){return this.shadowRoot.querySelector("[ui5-drop-indicator]")}get list(){return this.getDomRef()}get _role(){return Ae.Tree}get _hasHeader(){return!!this.header.length}_ondragenter(e){this._dragAndDropHandler.ondragenter(e)}_ondragleave(e){this._dragAndDropHandler.ondragleave(e)}_ondragover(e){this._dragAndDropHandler.ondragover(e)}_ondrop(e){this._dragAndDropHandler.ondrop(e)}_onListItemStepIn(e){const t=e.detail.item;if(t.items.length>0){const o=t.items[0],n=this._getListItemForTreeItem(o);n&&this.list.focusItem(n)}}_onListItemStepOut(e){const t=e.detail.item;if(t.parentElement!==this){const o=t.parentElement,n=this._getListItemForTreeItem(o);n&&this.list.focusItem(n)}}_onListItemToggle(e){const t=e.detail.item;!this.fireDecoratorEvent("item-toggle",{item:t})||t.toggle()}_onListItemClick(e){const t=e.detail.item;this.fireDecoratorEvent("item-click",{item:t})||e.preventDefault()}_onListItemDelete(e){const t=e.detail.item;this.fireDecoratorEvent("item-delete",{item:t})}_onListItemFocus(e){const t=e.detail.item;this.fireDecoratorEvent("item-focus",{item:t})}_onListItemMouseOver(e){const t=e.target;le(t)&&this.fireDecoratorEvent("item-mouseover",{item:t})}_onListItemMouseOut(e){const t=e.target;le(t)&&this.fireDecoratorEvent("item-mouseout",{item:t})}_onListSelectionChange(e){if(!e.detail||!e.detail.previouslySelectedItems||!e.detail.selectedItems)return;const t=e.detail.previouslySelectedItems,o=e.detail.selectedItems,n=e.detail.targetItem;t.forEach(i=>{i.selected=!1}),o.forEach(i=>{i.selected=!0}),this.fireDecoratorEvent("selection-change",{previouslySelectedItems:t,selectedItems:o,targetItem:n})}_prepareTreeItems(){this.walk((e,t,o)=>{const n=e.parentNode,i=n&&n.children.length||this.items.length;e.setAttribute("level",t.toString()),e.forcedSetsize=i,e.forcedPosinset=o+1})}_getListItemForTreeItem(e){return this.getItems().find(t=>t===e)}getItems(){return this.list.getItems()}focusItemByIndex(e){const t=this.getItems()[e];t&&this.list.focusItem(t)}walk(e){pe(this,1,e)}_getItems(){const e=[];return this.walk(t=>{e.push(t.shadowRoot.querySelector("li"))}),e}_transformElement(e){return e.getRootNode().host}_validateDraggedElement(e,t){return!e.contains(t)}_filterPlacements(e,t,o){return o===t?e.filter(n=>n!==Ce.On):e}};T([s()],y.prototype,"selectionMode",void 0);T([s()],y.prototype,"noDataText",void 0);T([s()],y.prototype,"headerText",void 0);T([s()],y.prototype,"footerText",void 0);T([s()],y.prototype,"accessibleName",void 0);T([s()],y.prototype,"accessibleNameRef",void 0);T([s()],y.prototype,"accessibleDescription",void 0);T([s()],y.prototype,"accessibleDescriptionRef",void 0);T([D({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],y.prototype,"items",void 0);T([D()],y.prototype,"header",void 0);y=T([N({tag:"ui5-tree",renderer:S,styles:ct,template:dt}),v("item-toggle",{bubbles:!0,cancelable:!0}),v("item-mouseover",{bubbles:!0}),v("item-mouseout",{bubbles:!0}),v("item-click",{bubbles:!0,cancelable:!0}),v("item-delete",{bubbles:!0}),v("item-focus",{bubbles:!0}),v("selection-change",{bubbles:!0}),v("move",{bubbles:!0}),v("move-over",{bubbles:!0,cancelable:!0})],y);const le=Re("isTreeItem"),pe=(r,e,t)=>{r.items.forEach((o,n)=>{t(o,e,n),o.items.length>0&&pe(o,e+1,t)})};y.define();let F;Ee(()=>{F=void 0});const ut=()=>(F===void 0&&(F=ke()),F);function ht(){return c(K,{children:B("div",{class:"ui5-panel-root",role:this.accRole,"aria-label":this.effectiveAccessibleName,"aria-labelledby":this.fixedPanelAriaLabelledbyReference,children:[this.hasHeaderOrHeaderText&&c("div",{class:{"ui5-panel-heading-wrapper":!0,"ui5-panel-heading-wrapper-sticky":this.stickyHeader},role:this.headingWrapperRole,"aria-level":this.headingWrapperAriaLevel,children:B("div",{onClick:this._headerClick,onKeyDown:this._headerKeyDown,onKeyUp:this._headerKeyUp,onTouchStart:this._isMobile,onFocusOut:this._headerFocusOut,class:"ui5-panel-header",tabindex:this.headerTabIndex,role:this.accInfo.role,"aria-expanded":this.accInfo.ariaExpanded,"aria-controls":this.accInfo.ariaControls,"aria-labelledby":this.accInfo.ariaLabelledby,part:"header",children:[!this.fixed&&c("div",{class:"ui5-panel-header-button-root",children:this._hasHeader?c(Oe,{design:"Transparent",class:"ui5-panel-header-button ui5-panel-header-button-with-icon",onClick:this._toggleButtonClick,accessibilityAttributes:this.accInfo.button.accessibilityAttributes,tooltip:this.accInfo.button.title,accessibleName:this.accInfo.button.ariaLabelButton,children:c("div",{class:"ui5-panel-header-icon-wrapper",children:c($,{class:{"ui5-panel-header-icon":!0,"ui5-panel-header-button-animated":!this.shouldNotAnimate},name:ne})})}):c($,{class:{"ui5-panel-header-button":!0,"ui5-panel-header-icon":!0,"ui5-panel-header-button-animated":!this.shouldNotAnimate},name:ne,showTooltip:!0,accessibleName:this.toggleButtonTitle})}),this._hasHeader?c("slot",{name:"header"}):c("div",{id:`${this._id}-header-title`,class:"ui5-panel-header-title",children:this.headerText})]})}),c("div",{class:"ui5-panel-content",id:`${this._id}-content`,tabindex:-1,style:{display:this._contentExpanded?"block":"none"},part:"content",children:c("slot",{})})]})})}L("@ui5/webcomponents-theming","sap_horizon",async()=>W);L("@ui5/webcomponents","sap_horizon",async()=>U,"host");const pt=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:block}:host{font-family:var(--sapFontFamily);background-color:var(--sapGroup_TitleBackground);border-radius:var(--_ui5_panel_border_radius)}:host(:not([collapsed])){border-bottom:var(--_ui5_panel_border_bottom)}:host([fixed]) .ui5-panel-header{padding-left:1rem}.ui5-panel-header{min-height:var(--_ui5_panel_header_height);width:100%;position:relative;display:flex;justify-content:flex-start;align-items:center;outline:none;box-sizing:border-box;padding-right:var(--_ui5_panel_header_padding_right);font-family:var(--sapFontHeaderFamily);font-size:var(--sapGroup_Title_FontSize);font-weight:400;color:var(--sapGroup_TitleTextColor)}.ui5-panel-header-icon{color:var(--_ui5_panel_icon_color)}.ui5-panel-header-button-animated{transition:transform .4s ease-out}:host(:not([_has-header]):not([fixed])) .ui5-panel-header{cursor:pointer}:host(:not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{content:"";position:absolute;pointer-events:none;z-index:2;border:var(--_ui5_panel_focus_border);border-radius:var(--_ui5_panel_border_radius);top:var(--_ui5_panel_focus_offset);bottom:var(--_ui5_panel_focus_bottom_offset);left:var(--_ui5_panel_focus_offset);right:var(--_ui5_panel_focus_offset)}:host(:not([collapsed]):not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{border-radius:var(--_ui5_panel_border_radius_expanded)}:host([_touched]:not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{display:none}:host(:not([collapsed])) .ui5-panel-header-button:not(.ui5-panel-header-button-with-icon),:host(:not([collapsed])) .ui5-panel-header-icon-wrapper [ui5-icon]{transform:var(--_ui5_panel_toggle_btn_rotation)}:host([fixed]) .ui5-panel-header-title{width:100%}.ui5-panel-heading-wrapper.ui5-panel-heading-wrapper-sticky{position:sticky;top:0;background-color:var(--_ui5_panel_header_background_color);z-index:100;border-radius:var(--_ui5_panel_border_radius)}.ui5-panel-header-title{width:calc(100% - var(--_ui5_panel_button_root_width));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-panel-content{padding:var(--_ui5_panel_content_padding);background-color:var(--sapGroup_ContentBackground);outline:none;border-bottom-left-radius:var(--_ui5_panel_border_radius);border-bottom-right-radius:var(--_ui5_panel_border_radius);overflow:auto}.ui5-panel-header-button-root{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:var(--_ui5_panel_button_root_width);height:var(--_ui5_panel_button_root_height);padding:var(--_ui5_panel_header_button_wrapper_padding);box-sizing:border-box}:host([fixed]:not([collapsed]):not([_has-header])) .ui5-panel-header,:host([collapsed]) .ui5-panel-header{border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor)}:host([collapsed]) .ui5-panel-header{border-bottom-left-radius:var(--_ui5_panel_border_radius);border-bottom-right-radius:var(--_ui5_panel_border_radius)}:host(:not([fixed]):not([collapsed])) .ui5-panel-header{border-bottom:var(--_ui5_panel_default_header_border)}[ui5-button].ui5-panel-header-button{display:flex;justify-content:center;align-items:center;min-width:initial;height:100%;width:100%}.ui5-panel-header-icon-wrapper{display:flex;justify-content:center;align-items:center}.ui5-panel-header-icon-wrapper,.ui5-panel-header-icon-wrapper .ui5-panel-header-icon{color:inherit}.ui5-panel-header-icon-wrapper,[ui5-button].ui5-panel-header-button-with-icon [ui5-icon]{pointer-events:none}.ui5-panel-root{height:100%;display:flex;flex-direction:column} -`;var f=function(r,e,t,o){var n=arguments.length,i=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,o);else for(var l=r.length-1;l>=0;l--)(a=r[l])&&(i=(n<3?a(i):n>3?a(e,t,i):a(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i},q;let p=q=class extends ue{constructor(){super(...arguments),this.fixed=!1,this.collapsed=!1,this.noAnimation=!1,this.accessibleRole="Form",this.headerLevel="H2",this.stickyHeader=!1,this.useAccessibleNameForToggleButton=!1,this._hasHeader=!1,this._contentExpanded=!1,this._animationRunning=!1,this._pendingToggle=!1,this._touched=!1}onBeforeRendering(){this._animationRunning||(this._contentExpanded=!this.collapsed),this._hasHeader=!!this.header.length}shouldToggle(e){return this.header.length?e.classList.contains("ui5-panel-header-button"):!0}get shouldNotAnimate(){return this.noAnimation||ut()===Se.None}_isMobile(){He()&&(this._touched=!0)}_headerFocusOut(){this._touched=!1}_headerClick(e){this.shouldToggle(e.target)&&this._toggleOpen()}_toggleButtonClick(e){e.detail.originalEvent.x===0&&e.detail.originalEvent.y===0&&e.stopImmediatePropagation()}_headerKeyDown(e){this.shouldToggle(e.target)&&(re(e)&&this._toggleOpen(),se(e)&&(e.preventDefault(),this._pendingToggle=!0),Pe(e)&&this._pendingToggle&&(e.preventDefault(),this._pendingToggle=!1))}_headerKeyUp(e){this.shouldToggle(e.target)&&(re(e)&&e.preventDefault(),se(e)&&(this._pendingToggle&&this._toggleOpen(),this._pendingToggle=!1))}_toggleOpen(){if(this.fixed)return;if(this.collapsed=!this.collapsed,this.shouldNotAnimate){this.fireDecoratorEvent("toggle");return}this._animationRunning=!0;const e=this.getDomRef().querySelectorAll(".ui5-panel-content"),t=[];[].forEach.call(e,o=>{this.collapsed?t.push(Ue(o).promise()):t.push(Ve(o).promise())}),Promise.all(t).then(()=>{this._animationRunning=!1,this._contentExpanded=!this.collapsed,this.fireDecoratorEvent("toggle")})}_headerOnTarget(e){return e.classList.contains("sapMPanelWrappingDiv")}get toggleButtonTitle(){return q.i18nBundle.getText(Fe)}get expanded(){return!this.collapsed}get accRole(){return this.accessibleRole.toLowerCase()}get effectiveAccessibleName(){return typeof this.accessibleName=="string"&&this.accessibleName.length?this.accessibleName:void 0}get accInfo(){return{button:{accessibilityAttributes:{expanded:this.expanded},title:this.toggleButtonTitle,ariaLabelButton:!this.nonFocusableButton&&this.useAccessibleNameForToggleButton?this.effectiveAccessibleName:void 0},ariaExpanded:this.nonFixedInternalHeader?this.expanded:void 0,ariaControls:this.nonFixedInternalHeader?`${this._id}-content`:void 0,ariaLabelledby:this.nonFocusableButton?this.ariaLabelledbyReference:void 0,role:this.nonFixedInternalHeader?"button":void 0}}get ariaLabelledbyReference(){return this.nonFocusableButton&&this.headerText&&!this.fixed?`${this._id}-header-title`:void 0}get fixedPanelAriaLabelledbyReference(){return this.fixed&&!this.effectiveAccessibleName?`${this._id}-header-title`:void 0}get headerAriaLevel(){return Number.parseInt(this.headerLevel.slice(1))}get headerTabIndex(){return this.header.length||this.fixed?-1:0}get headingWrapperAriaLevel(){return this._hasHeader?void 0:this.headerAriaLevel}get headingWrapperRole(){return this._hasHeader?void 0:"heading"}get nonFixedInternalHeader(){return!this._hasHeader&&!this.fixed}get hasHeaderOrHeaderText(){return this._hasHeader||this.headerText}get nonFocusableButton(){return!this.header.length}};f([s()],p.prototype,"headerText",void 0);f([s({type:Boolean})],p.prototype,"fixed",void 0);f([s({type:Boolean})],p.prototype,"collapsed",void 0);f([s({type:Boolean})],p.prototype,"noAnimation",void 0);f([s()],p.prototype,"accessibleRole",void 0);f([s()],p.prototype,"headerLevel",void 0);f([s()],p.prototype,"accessibleName",void 0);f([s({type:Boolean})],p.prototype,"stickyHeader",void 0);f([s({type:Boolean})],p.prototype,"useAccessibleNameForToggleButton",void 0);f([s({type:Boolean})],p.prototype,"_hasHeader",void 0);f([s({type:Boolean,noAttribute:!0})],p.prototype,"_contentExpanded",void 0);f([s({type:Boolean,noAttribute:!0})],p.prototype,"_animationRunning",void 0);f([s({type:Boolean,noAttribute:!0})],p.prototype,"_pendingToggle",void 0);f([s({type:Boolean})],p.prototype,"_touched",void 0);f([D()],p.prototype,"header",void 0);f([de("@ui5/webcomponents")],p,"i18nBundle",void 0);p=q=f([N({tag:"ui5-panel",fastNavigation:!0,languageAware:!0,renderer:S,template:ht,styles:pt}),v("toggle",{bubbles:!0})],p);p.define();const gt={class:"btp-target-view"},ft={key:0,design:"Information","hide-close-button":""},mt={key:1,active:"",size:"Medium",class:"loading"},_t={key:2,class:"error"},bt={design:"Negative","hide-close-button":""},vt={key:3,class:"success"},yt={design:"Positive","hide-close-button":""},xt=["header-text"],Tt=["text","data-guid","additional-text"],It=["text","has-children"],wt=["text","icon","data-guid","additional-text"],Bt=$e({__name:"BtpTarget",setup(r){const{fetchDirect:e}=qe(),t=Me(),o=w(!1),n=w(""),i=w(""),a=w(null),l=w(null),I=w(null),ge=Ge(()=>{const d=n.value.toLowerCase();return d.includes("unknown session")||d.includes("authorization failed")||d.includes("btp cli target")||d.includes("no btp cli")||d.includes("not logged in")||d.includes("unexpected end of json")});async function M(){o.value=!0,n.value="";try{const d=await e("/hana/btp-ui");a.value=d.globalAccount||null,l.value=d.hierarchy||null,I.value=d.currentTarget||null}catch(d){n.value=d.message}finally{o.value=!1}}async function fe(d){n.value="",i.value="";try{const u=await(await fetch("/hana/btp-ui/setTarget",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({subaccount:d})})).json();u.success?(i.value=`Target set to: ${d}`,I.value={guid:d,displayName:d},Ke.show(`Target set to ${d}`),await M()):n.value=u.message||"Failed to set target"}catch(m){n.value=m.message}}function Y(d){if(!d)return[];const m=[];if(d.subaccounts)for(const u of d.subaccounts)m.push({displayName:u.displayName||u.guid,guid:u.guid,type:"subaccount"});if(d.children)for(const u of d.children)u.directoryType?m.push({displayName:u.displayName||u.guid,type:"directory",children:Y(u)}):m.push({displayName:u.displayName||u.guid,guid:u.guid,type:"subaccount"});return m}function me(d){var A;const m=d.detail,u=m==null?void 0:m.item,x=(A=u==null?void 0:u.dataset)==null?void 0:A.guid;x&&fe(x)}return je(M),(d,m)=>{var u;return b(),_("div",gt,[m[1]||(m[1]=R("ui5-title",{level:"H3"},"BTP Subaccount Target",-1)),I.value?(b(),_("ui5-message-strip",ft," Current target: "+H(I.value.displayName)+" ("+H(I.value.guid)+") ",1)):P("",!0),o.value?(b(),_("ui5-busy-indicator",mt)):n.value?(b(),_("div",_t,[R("ui5-message-strip",bt,H(n.value),1),ge.value?(b(),_("ui5-link",{key:0,onClick:m[0]||(m[0]=x=>ze(t).push({name:"btpLogin"}))},"Go to BTP Login")):P("",!0)])):i.value?(b(),_("div",vt,[R("ui5-message-strip",yt,H(i.value),1)])):P("",!0),l.value?(b(),_("ui5-panel",{key:4,"header-text":((u=a.value)==null?void 0:u.displayName)||"Global Account","accessible-role":"Region"},[R("ui5-tree",{onItemClick:me},[(b(!0),_(G,null,ae(Y(l.value),x=>{var A,Q;return b(),_(G,{key:x.displayName},[x.type==="subaccount"?(b(),_("ui5-tree-item",{key:0,text:x.displayName,icon:"it-system","data-guid":x.guid,"additional-text":x.guid===((A=I.value)==null?void 0:A.guid)?"(current)":""},null,8,Tt)):(b(),_("ui5-tree-item",{key:1,text:x.displayName,icon:"open-folder","has-children":(((Q=x.children)==null?void 0:Q.length)??0)>0},[(b(!0),_(G,null,ae(x.children,C=>{var ee;return b(),_("ui5-tree-item",{key:C.displayName,text:C.displayName,icon:C.type==="subaccount"?"it-system":"open-folder","data-guid":C.guid,"additional-text":C.guid===((ee=I.value)==null?void 0:ee.guid)?"(current)":""},null,8,wt)}),128))],8,It))],64)}),128))],32)],8,xt)):P("",!0),R("ui5-button",{design:"Transparent",icon:"refresh",onClick:M},"Refresh")])}}}),Ht=We(Bt,[["__scopeId","data-v-12b37921"]]);export{Ht as default}; diff --git a/app/vue/dist/assets/CFLogin-0rk55Wup.js b/app/vue/dist/assets/CFLogin-0rk55Wup.js deleted file mode 100644 index d5a39b62..00000000 --- a/app/vue/dist/assets/CFLogin-0rk55Wup.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as Z,co as ee,bl as n,bi as s,t as q,cN as v,cB as B,bk as L,cA as o,bh as E,cR as N,cW as se,cr as i,b8 as ae}from"./index-Cmc-xxmd.js";import"./MessageStrip-st-aaDs2.js";import"./SegmentedButton-D0FpyF_g.js";import"./Link-CUU7QKFS.js";import"./Option-yBqY0LHt.js";import"./ListItemBaseTemplate-fB6cyhUP.js";const te={class:"cf-login-view"},le={key:0,active:"",size:"Medium",class:"loading"},oe={key:0,design:"Positive","hide-close-button":""},ne={key:1,design:"Warning","hide-close-button":""},ie={key:2,design:"Warning","hide-close-button":""},ue={key:3,class:"form-card"},de={class:"form-grid"},ve={class:"form-field"},re=["disabled"],ce=["value","selected"],ge={class:"form-field"},pe=["disabled"],fe=["value","selected"],me=["disabled"],he={class:"mode-toggle"},ye=["pressed"],be=["pressed"],_e={key:4,class:"form-card"},Se={class:"form-field"},Ce=["value"],we={class:"form-field"},ke={key:1,class:"hint"},Oe={class:"form-field"},Pe=["value"],Le=["disabled"],Ee={key:5,class:"form-card"},Ie={class:"form-grid"},Te={class:"form-field full-width"},Fe=["value"],Ue={class:"form-field"},qe=["value"],Ne={class:"form-field"},xe=["value"],ze={class:"form-field"},$e=["value"],je={class:"form-field"},Ae=["value"],He=["disabled"],Be={key:6,design:"Negative","hide-close-button":""},De={key:7,design:"Positive","hide-close-button":""},Re={class:"action-bar"},We=["disabled"],Je=Z({__name:"CFLogin",setup(Me){const{fetchDirect:y}=se(),p=o("sso"),I=o(!1),f=o(!1),d=o(""),r=o(""),l=o({loggedIn:!1}),h=o(""),u=o(""),b=o(""),k=o(""),_=o(""),O=o(""),P=o(""),m=o([]),S=o([]),c=o(""),g=o(""),T=o(!1),F=o(!1),U=o(!1),D=E(()=>l.value.loggedIn),R=E(()=>!!c.value&&!!g.value&&!U.value),W=E(()=>!!u.value&&!!b.value&&!f.value),J=E(()=>!!u.value&&!!k.value&&!!_.value&&!f.value);async function x(){I.value=!0,d.value="";try{l.value=await y("/hana/cf-status"),l.value.apiEndpoint&&!u.value&&(u.value=l.value.apiEndpoint);const t=await y("/hana/cf-sso-url");h.value=t.ssoUrl||"",t.apiEndpoint&&!u.value&&(u.value=t.apiEndpoint),l.value.loggedIn&&await z()}catch(t){d.value=t.message}finally{I.value=!1}}async function z(){T.value=!0;try{m.value=await y("/hana/cf-orgs"),m.value.length===1&&(c.value=m.value[0].name,await $(m.value[0].guid))}catch{}finally{T.value=!1}}async function $(t){F.value=!0;try{const e=t?`?orgGuid=${t}`:"";S.value=await y(`/hana/cf-spaces${e}`),S.value.length===1&&(g.value=S.value[0].name)}catch{}finally{F.value=!1}}function M(t){var C,w,A,H;const e=((w=(C=t.detail)==null?void 0:C.selectedOption)==null?void 0:w.value)||((H=(A=t.detail)==null?void 0:A.selectedOption)==null?void 0:H.textContent)||"";c.value=e,g.value="";const a=m.value.find(Y=>Y.name===e);a&&$(a.guid)}function V(t){var e,a,C,w;g.value=((a=(e=t.detail)==null?void 0:e.selectedOption)==null?void 0:a.value)||((w=(C=t.detail)==null?void 0:C.selectedOption)==null?void 0:w.textContent)||""}async function G(){U.value=!0,d.value="",r.value="";try{const e=await(await fetch("/hana/cf-target",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({org:c.value,space:g.value})})).json();e.success?(l.value=e.status,r.value=`Target set: Org: ${c.value}, Space: ${g.value}`,N.show("CF target set successfully")):d.value=e.message||"Failed to set target"}catch(t){d.value=t.message}finally{U.value=!1}}async function K(){if(u.value)try{const t=await y(`/hana/cf-sso-url?api=${encodeURIComponent(u.value)}`);h.value=t.ssoUrl||""}catch{}}async function j(){f.value=!0,d.value="",r.value="";try{const t={mode:p.value,apiEndpoint:u.value};p.value==="sso"?t.passcode=b.value:(t.username=k.value,t.password=_.value,O.value&&(t.org=O.value),P.value&&(t.space=P.value));const a=await(await fetch("/hana/cf-login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})).json();a.success?(r.value="Successfully logged in to Cloud Foundry",a.status&&(l.value=a.status),b.value="",_.value="",N.show("CF Login successful"),l.value.loggedIn&&(!l.value.org||!l.value.space)&&await z()):d.value=a.message||"Login failed"}catch(t){d.value=t.message||"Login failed"}finally{f.value=!1}}function Q(){h.value&&window.open(h.value,"_blank")}async function X(){f.value=!0,d.value="",r.value="";try{(await(await fetch("/hana/cf-logout",{method:"POST"})).json()).success&&(l.value={loggedIn:!1},m.value=[],S.value=[],c.value="",g.value="",r.value="Logged out from Cloud Foundry",N.show("CF Logout successful"))}catch(t){d.value=t.message}finally{f.value=!1}}return ee(x),(t,e)=>(i(),n("div",te,[e[24]||(e[24]=s("ui5-title",{level:"H3"},"Cloud Foundry Login",-1)),I.value?(i(),n("ui5-busy-indicator",le)):(i(),n(q,{key:1},[l.value.loggedIn&&l.value.org&&l.value.space?(i(),n("ui5-message-strip",oe," Logged in to "+v(l.value.apiEndpoint)+" — Org: "+v(l.value.org)+", Space: "+v(l.value.space),1)):l.value.loggedIn?(i(),n("ui5-message-strip",ne," Logged in to "+v(l.value.apiEndpoint)+" — Org and Space not set. Please select below. ",1)):(i(),n("ui5-message-strip",ie," Not logged in to Cloud Foundry ")),D.value?(i(),n("div",ue,[e[13]||(e[13]=s("ui5-title",{level:"H5"},"Organization & Space Target",-1)),s("div",de,[s("div",ve,[e[10]||(e[10]=s("ui5-label",{required:""},"Organization",-1)),s("ui5-select",{onChange:M,disabled:T.value},[e[9]||(e[9]=s("ui5-option",{value:""},"-- Select --",-1)),(i(!0),n(q,null,B(m.value,a=>(i(),n("ui5-option",{key:a.guid,value:a.name,selected:a.name===c.value},v(a.name),9,ce))),128))],40,re)]),s("div",ge,[e[12]||(e[12]=s("ui5-label",{required:""},"Space",-1)),s("ui5-select",{onChange:V,disabled:F.value||!c.value},[e[11]||(e[11]=s("ui5-option",{value:""},"-- Select --",-1)),(i(!0),n(q,null,B(S.value,a=>(i(),n("ui5-option",{key:a.guid,value:a.name,selected:a.name===g.value},v(a.name),9,fe))),128))],40,pe)])]),s("ui5-button",{design:"Emphasized",icon:"target-group",disabled:!R.value,onClick:G},"Set Target",8,me)])):L("",!0),s("div",he,[s("ui5-segmented-button",null,[s("ui5-segmented-button-item",{pressed:p.value==="sso",onClick:e[0]||(e[0]=a=>p.value="sso")},"SSO Passcode",8,ye),s("ui5-segmented-button-item",{pressed:p.value==="password",onClick:e[1]||(e[1]=a=>p.value="password")},"Username / Password",8,be)])]),p.value==="sso"?(i(),n("div",_e,[e[17]||(e[17]=s("ui5-title",{level:"H5"},"SSO Passcode Login",-1)),s("div",Se,[e[14]||(e[14]=s("ui5-label",{required:""},"API Endpoint",-1)),s("ui5-input",{value:u.value,onChange:e[2]||(e[2]=a=>{u.value=a.target.value,K()}),placeholder:"https://api.cf.us10.hana.ondemand.com"},null,40,Ce)]),s("div",we,[e[15]||(e[15]=s("ui5-label",null,"Step 1: Get your one-time passcode",-1)),h.value?(i(),n("ui5-link",{key:0,onClick:Q}," Open Passcode Page ("+v(h.value)+") ",1)):(i(),n("span",ke,"Enter API endpoint to generate SSO URL"))]),s("div",Oe,[e[16]||(e[16]=s("ui5-label",{required:""},"Step 2: Paste the passcode",-1)),s("ui5-input",{value:b.value,onChange:e[3]||(e[3]=a=>b.value=a.target.value),placeholder:"One-time passcode from browser"},null,40,Pe)]),s("ui5-button",{design:"Emphasized",icon:"log",disabled:!W.value,onClick:j},"Log In",8,Le)])):(i(),n("div",Ee,[e[23]||(e[23]=s("ui5-title",{level:"H5"},"Username / Password Login",-1)),s("div",Ie,[s("div",Te,[e[18]||(e[18]=s("ui5-label",{required:""},"API Endpoint",-1)),s("ui5-input",{value:u.value,onChange:e[4]||(e[4]=a=>u.value=a.target.value),placeholder:"https://api.cf.us10.hana.ondemand.com"},null,40,Fe)]),s("div",Ue,[e[19]||(e[19]=s("ui5-label",{required:""},"Username (Email)",-1)),s("ui5-input",{value:k.value,onChange:e[5]||(e[5]=a=>k.value=a.target.value),placeholder:"user@example.com"},null,40,qe)]),s("div",Ne,[e[20]||(e[20]=s("ui5-label",{required:""},"Password",-1)),s("ui5-input",{type:"Password",value:_.value,onChange:e[6]||(e[6]=a=>_.value=a.target.value)},null,40,xe)]),s("div",ze,[e[21]||(e[21]=s("ui5-label",null,"Organization",-1)),s("ui5-input",{value:O.value,onChange:e[7]||(e[7]=a=>O.value=a.target.value),placeholder:"(optional)"},null,40,$e)]),s("div",je,[e[22]||(e[22]=s("ui5-label",null,"Space",-1)),s("ui5-input",{value:P.value,onChange:e[8]||(e[8]=a=>P.value=a.target.value),placeholder:"(optional)"},null,40,Ae)])]),s("ui5-button",{design:"Emphasized",icon:"log",disabled:!J.value,onClick:j},"Log In",8,He)])),d.value?(i(),n("ui5-message-strip",Be,v(d.value),1)):L("",!0),r.value?(i(),n("ui5-message-strip",De,v(r.value),1)):L("",!0),s("div",Re,[s("ui5-button",{design:"Transparent",icon:"refresh",onClick:x},"Refresh Status"),l.value.loggedIn?(i(),n("ui5-button",{key:0,design:"Negative",icon:"log",disabled:f.value,onClick:X},"Log Out",8,We)):L("",!0)])],64))]))}}),Ze=ae(Je,[["__scopeId","data-v-3854a0f6"]]);export{Ze as default}; diff --git a/app/vue/dist/assets/CalcViewBrowser-C71_shNN.js b/app/vue/dist/assets/CalcViewBrowser-C71_shNN.js deleted file mode 100644 index 40617f64..00000000 --- a/app/vue/dist/assets/CalcViewBrowser-C71_shNN.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as R,cA as c,co as F,bl as l,bi as s,bk as _,cN as u,t as h,bn as B,cB as E,bh as N,c_ as z,cr as o,b8 as x}from"./index-Cmc-xxmd.js";import{u as L}from"./useCalcViewFileApi-De0S2Did.js";import"./SegmentedButton-D0FpyF_g.js";const D={class:"calc-view-browser"},H={class:"browser-header"},O={class:"header-actions"},q={key:0,class:"controls"},W=["value"],$=["value"],K={key:1,class:"controls"},T=["value"],J={key:2,active:"",size:"Medium",class:"loader"},Q={key:3,class:"error-banner"},Y={key:0,class:"empty-state"},G={key:1,class:"empty-state"},U={key:2,class:"file-table"},X=["onClick"],Z={class:"col-name"},ee={class:"col-path"},te={class:"col-modified"},ae={class:"col-size"},se={key:0,class:"empty-state"},le={key:1,class:"file-table"},oe=["onClick"],ne={class:"col-name"},ie={class:"col-path"},k="calcview-project-path",ce=R({__name:"CalcViewBrowser",setup(ue){const b=z(),{listProjectFiles:A,listRuntimeViews:S}=L(),i=c("project"),n=c(localStorage.getItem(k)||""),p=c([]),m=c([]),v=c(!1),r=c(""),d=c(""),w=N(()=>{const a=d.value.toLowerCase();return a?p.value.filter(e=>e.name.toLowerCase().includes(a)):p.value}),C=N(()=>{const a=d.value.toLowerCase();return a?m.value.filter(e=>(e.SCENARIO_NAME||e.VIEW_NAME||"").toLowerCase().includes(a)):m.value});async function y(){if(n.value){v.value=!0,r.value="";try{localStorage.setItem(k,n.value),p.value=await A(n.value)}catch(a){r.value=a.message||"Failed to list files",p.value=[]}finally{v.value=!1}}}async function V(){v.value=!0,r.value="";try{m.value=await S()}catch(a){r.value=a.message||"Failed to list runtime views",m.value=[]}finally{v.value=!1}}function M(a){var t,f;const e=(t=a.detail)==null?void 0:t.selectedItems;e&&e.length>0&&((f=e[0].textContent)==null?void 0:f.trim())==="HANA Runtime"?(i.value="runtime",V()):(i.value="project",n.value&&y())}function g(a){b.push({name:"calcViewEditor",query:{file:a}})}function I(){b.push({name:"calcViewEditor",query:{new:"true",dir:n.value}})}function j(a){return a?new Date(a).toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric",hour:"2-digit",minute:"2-digit"}):""}function P(a){return a<1024?`${a} B`:`${(a/1024).toFixed(1)} KB`}return F(()=>{n.value&&y()}),(a,e)=>(o(),l("div",D,[s("div",H,[e[4]||(e[4]=s("ui5-title",{level:"H3"},"Calculation Views",-1)),s("div",O,[s("ui5-segmented-button",{onSelectionChange:M},[...e[3]||(e[3]=[s("ui5-segmented-button-item",{selected:""},"Project Files",-1),s("ui5-segmented-button-item",null,"HANA Runtime",-1)])],32),i.value==="project"?(o(),l("ui5-button",{key:0,design:"Emphasized",onClick:I},"Create New")):_("",!0)])]),i.value==="project"?(o(),l("div",q,[s("ui5-input",{class:"path-input",placeholder:"Project directory path (e.g. D:\\projects\\myapp\\db\\src)",value:n.value,onChange:e[0]||(e[0]=t=>{n.value=t.target.value,y()})},null,40,W),s("ui5-input",{class:"search-input",placeholder:"Search by name...",value:d.value,onInput:e[1]||(e[1]=t=>d.value=t.target.value)},null,40,$)])):_("",!0),i.value==="runtime"?(o(),l("div",K,[s("ui5-input",{class:"search-input full-width",placeholder:"Search runtime views...",value:d.value,onInput:e[2]||(e[2]=t=>d.value=t.target.value)},null,40,T)])):_("",!0),v.value?(o(),l("ui5-busy-indicator",J)):r.value?(o(),l("div",Q,u(r.value),1)):i.value==="project"?(o(),l(h,{key:4},[n.value?w.value.length===0?(o(),l("div",G," No .hdbcalculationview files found. ")):(o(),l("div",U,[e[5]||(e[5]=B('
NamePathModifiedSize
',1)),(o(!0),l(h,null,E(w.value,t=>(o(),l("div",{key:t.filePath,class:"table-row",onClick:f=>g(t.filePath)},[s("span",Z,u(t.name),1),s("span",ee,u(t.filePath),1),s("span",te,u(j(t.lastModified)),1),s("span",ae,u(P(t.size)),1)],8,X))),128))])):(o(),l("div",Y," Enter a project directory path to browse calculation view files. "))],64)):i.value==="runtime"?(o(),l(h,{key:5},[C.value.length===0?(o(),l("div",se," No runtime calculation views found. ")):(o(),l("div",le,[e[6]||(e[6]=s("div",{class:"table-header"},[s("span",{class:"col-name"},"Scenario Name"),s("span",{class:"col-path"},"Schema")],-1)),(o(!0),l(h,null,E(C.value,t=>(o(),l("div",{key:t.SCENARIO_NAME||t.VIEW_NAME,class:"table-row",onClick:f=>g(t.SCENARIO_NAME||t.VIEW_NAME)},[s("span",ne,u(t.SCENARIO_NAME||t.VIEW_NAME),1),s("span",ie,u(t.SCHEMA_NAME||""),1)],8,oe))),128))]))],64)):_("",!0)]))}}),pe=x(ce,[["__scopeId","data-v-cbfcffc6"]]);export{pe as default}; diff --git a/app/vue/dist/assets/CalcViewEditor-CzAB2IbK.js b/app/vue/dist/assets/CalcViewEditor-CzAB2IbK.js deleted file mode 100644 index 2d5e63fe..00000000 --- a/app/vue/dist/assets/CalcViewEditor-CzAB2IbK.js +++ /dev/null @@ -1,134 +0,0 @@ -var LJn=Object.defineProperty;var FJn=(f,h,g)=>h in f?LJn(f,h,{enumerable:!0,configurable:!0,writable:!0,value:g}):f[h]=g;var Ni=(f,h,g)=>FJn(f,typeof h!="symbol"?h+"":h,g);import{bh as Ai,cA as cr,cS as wpe,cH as pm,bx as Kr,c$ as U1n,cq as V1n,cr as xn,bl as Hn,bp as Cr,d4 as gs,cC as Df,cU as ut,bM as qo,co as N3,ch as Q1,bm as RJn,cO as xo,d2 as No,bV as o7,bz as X1n,cm as BJn,bi as Me,t as vc,cB as po,cj as bh,cg as j3,cn as K1n,bW as JJn,bj as Ff,bk as Kc,cN as Bi,cV as b2e,c9 as wP,bH as JT,bI as W1n,cp as uX,cu as t7,cQ as mu,cE as Uk,bo as GJn,cy as HJn,bX as g2e,cP as zJn,bq as qJn,cz as UJn,c8 as oX,cD as Y1n,d3 as VJn,ci as sb,b8 as bf,bK as Mg,d7 as w2e,bn as Q1n,cW as XJn,cZ as KJn,c_ as WJn}from"./index-Cmc-xxmd.js";import{P as YJn,g as ppe}from"./splitpanes-BHRpRnq4.js";import{c as Idn,g as QJn}from"./_commonjsHelpers-Cpj98o6Y.js";import{u as ZJn,g as eGn}from"./useCalcViewFileApi-De0S2Did.js";import"./Tab-DXA6J-WP.js";import"./Option-yBqY0LHt.js";import{V as Z1n}from"./index-tIVfSlto.js";import"./SegmentedButton-D0FpyF_g.js";import"./slideUp-BU4b7UJI.js";import"./ListItemBaseTemplate-fB6cyhUP.js";const pX={join:{type:"join",label:"Join",icon:"⊕",themeVariable:"--sapChart_OrderedColor_1",maxInputs:2,canBeLeaf:!1},nonEquiJoin:{type:"nonEquiJoin",label:"Non Equi Join",icon:"⊗",themeVariable:"--sapChart_OrderedColor_2",maxInputs:2,canBeLeaf:!1},union:{type:"union",label:"Union",icon:"⊎",themeVariable:"--sapChart_OrderedColor_3",maxInputs:1/0,canBeLeaf:!1},minus:{type:"minus",label:"Minus",icon:"⊖",themeVariable:"--sapChart_OrderedColor_4",maxInputs:2,canBeLeaf:!1},intersect:{type:"intersect",label:"Intersect",icon:"⊓",themeVariable:"--sapChart_OrderedColor_5",maxInputs:2,canBeLeaf:!1},projection:{type:"projection",label:"Projection",icon:"▦",themeVariable:"--sapChart_OrderedColor_6",maxInputs:1,canBeLeaf:!0},aggregation:{type:"aggregation",label:"Aggregation",icon:"Σ",themeVariable:"--sapChart_OrderedColor_7",maxInputs:1,canBeLeaf:!0},rank:{type:"rank",label:"Rank",icon:"⧗",themeVariable:"--sapChart_OrderedColor_8",maxInputs:1,canBeLeaf:!1},tableFunction:{type:"tableFunction",label:"Table Function",icon:"ƒ",themeVariable:"--sapChart_OrderedColor_9",maxInputs:0,canBeLeaf:!0},hierarchyFunction:{type:"hierarchyFunction",label:"Hierarchy Function",icon:"⊹",themeVariable:"--sapChart_OrderedColor_10",maxInputs:1,canBeLeaf:!1}};function nGn(){const f=cr([]),h=cr(-1),g=cr(-1),k=Ai(()=>h.value>=0),E=Ai(()=>h.valueh.value!==g.value);function m(F){f.value=f.value.slice(0,h.value+1),f.value.push(F),h.value++,F.execute()}function _(){k.value&&(f.value[h.value].undo(),h.value--)}function N(){E.value&&(h.value++,f.value[h.value].execute())}function L(){g.value=h.value}return{commands:f,pointer:h,canUndo:k,canRedo:E,isDirty:A,push:m,undo:_,redo:N,markSaved:L}}class tGn{constructor(h,g,k){Ni(this,"type","addNode");Ni(this,"description");this.model=h,this.node=g,this.position=k,this.description=`Add ${g.id}`}execute(){this.model.value.calculationViews.push(this.node),this.model.value.layout.shapes.push({modelObjectName:this.node.id,modelObjectNameSpace:"CalculationView",expanded:!0,upperLeftCorner:{...this.position}})}undo(){this.model.value.calculationViews=this.model.value.calculationViews.filter(h=>h.id!==this.node.id),this.model.value.layout.shapes=this.model.value.layout.shapes.filter(h=>h.modelObjectName!==this.node.id)}}class iGn{constructor(h,g){Ni(this,"type","removeNode");Ni(this,"description");Ni(this,"removedNode",null);Ni(this,"removedNodeIndex",-1);Ni(this,"removedShape",null);Ni(this,"removedShapeIndex",-1);Ni(this,"removedInputs",[]);this.model=h,this.nodeId=g,this.description=`Remove ${g}`}execute(){const h=this.model.value.calculationViews.findIndex(k=>k.id===this.nodeId);if(h===-1)return;this.removedNodeIndex=h,this.removedNode=this.model.value.calculationViews[h],this.model.value.calculationViews.splice(h,1);const g=this.model.value.layout.shapes.findIndex(k=>k.modelObjectName===this.nodeId);g!==-1&&(this.removedShapeIndex=g,this.removedShape=this.model.value.layout.shapes[g],this.model.value.layout.shapes.splice(g,1)),this.removedInputs=[];for(const k of this.model.value.calculationViews){const E=k.inputs.findIndex(A=>A.node===this.nodeId);E!==-1&&(this.removedInputs.push({nodeId:k.id,input:k.inputs[E]}),k.inputs.splice(E,1))}}undo(){this.removedNode&&this.model.value.calculationViews.splice(this.removedNodeIndex,0,this.removedNode),this.removedShape&&this.model.value.layout.shapes.splice(this.removedShapeIndex,0,this.removedShape);for(const{nodeId:h,input:g}of this.removedInputs){const k=this.model.value.calculationViews.find(E=>E.id===h);k&&k.inputs.push(g)}}}class rGn{constructor(h,g,k){Ni(this,"type","connectNodes");Ni(this,"description");this.model=h,this.sourceId=g,this.targetId=k,this.description=`Connect ${g} → ${k}`}execute(){const h=this.model.value.calculationViews.find(g=>g.id===this.targetId);h&&!h.inputs.some(g=>g.node===this.sourceId)&&h.inputs.push({name:this.sourceId,node:this.sourceId})}undo(){const h=this.model.value.calculationViews.find(g=>g.id===this.targetId);h&&(h.inputs=h.inputs.filter(g=>g.node!==this.sourceId))}}class cGn{constructor(h,g,k){Ni(this,"type","disconnectNodes");Ni(this,"description");Ni(this,"removedInput",null);this.model=h,this.sourceId=g,this.targetId=k,this.description=`Disconnect ${g} → ${k}`}execute(){const h=this.model.value.calculationViews.find(g=>g.id===this.targetId);if(h){const g=h.inputs.findIndex(k=>k.node===this.sourceId);g!==-1&&(this.removedInput=h.inputs[g],h.inputs.splice(g,1))}}undo(){if(this.removedInput){const h=this.model.value.calculationViews.find(g=>g.id===this.targetId);h&&h.inputs.push(this.removedInput)}}}class e0n{constructor(h,g,k){Ni(this,"type","mapColumn");Ni(this,"description");this.model=h,this.nodeId=g,this.column=k,this.description=`Map column ${k.name}`}execute(){const h=this.model.value.calculationViews.find(g=>g.id===this.nodeId);h&&h.outputColumns.push({...this.column})}undo(){const h=this.model.value.calculationViews.find(g=>g.id===this.nodeId);h&&(h.outputColumns=h.outputColumns.filter(g=>g.id!==this.column.id))}}class uGn{constructor(h,g,k){Ni(this,"type","unmapColumn");Ni(this,"description");Ni(this,"removedColumn",null);this.model=h,this.nodeId=g,this.columnId=k,this.description=`Unmap column ${k}`}execute(){const h=this.model.value.calculationViews.find(g=>g.id===this.nodeId);if(h){const g=h.outputColumns.findIndex(k=>k.id===this.columnId);g!==-1&&(this.removedColumn=h.outputColumns[g],h.outputColumns.splice(g,1))}}undo(){if(this.removedColumn){const h=this.model.value.calculationViews.find(g=>g.id===this.nodeId);h&&h.outputColumns.push(this.removedColumn)}}}class oGn{constructor(h,g,k){Ni(this,"type","addJoinCondition");Ni(this,"description");this.model=h,this.nodeId=g,this.condition=k,this.description=`Add join condition ${k.leftColumn} ${k.operator} ${k.rightColumn}`}execute(){var g;const h=this.model.value.calculationViews.find(k=>k.id===this.nodeId);(g=h==null?void 0:h.joinConfig)==null||g.conditions.push(this.condition)}undo(){var g;const h=this.model.value.calculationViews.find(k=>k.id===this.nodeId);(g=h==null?void 0:h.joinConfig)==null||g.conditions.pop()}}class sGn{constructor(h,g,k){Ni(this,"type","removeJoinCondition");Ni(this,"description");Ni(this,"removed",null);this.model=h,this.nodeId=g,this.index=k,this.description=`Remove join condition at index ${k}`}execute(){const h=this.model.value.calculationViews.find(g=>g.id===this.nodeId);h!=null&&h.joinConfig&&(this.removed=h.joinConfig.conditions.splice(this.index,1)[0]??null)}undo(){var h;if(this.removed){const g=this.model.value.calculationViews.find(k=>k.id===this.nodeId);(h=g==null?void 0:g.joinConfig)==null||h.conditions.splice(this.index,0,this.removed)}}}class n0n{constructor(h,g){Ni(this,"type","batch");Ni(this,"description");this.commands=h,this.description=g??`Batch (${h.length} operations)`}execute(){for(const h of this.commands)h.execute()}undo(){for(let h=this.commands.length-1;h>=0;h--)this.commands[h].undo()}}class lGn{constructor(h,g,k){Ni(this,"type","addCalculatedColumn");Ni(this,"description");this.model=h,this.nodeId=g,this.column=k,this.description=`Add calculated column ${k.id} to ${g}`}execute(){const h=this.model.value.calculationViews.find(g=>g.id===this.nodeId);h&&h.calculatedColumns.push(this.column)}undo(){const h=this.model.value.calculationViews.find(g=>g.id===this.nodeId);if(h){const g=h.calculatedColumns.findIndex(k=>k.id===this.column.id);g>=0&&h.calculatedColumns.splice(g,1)}}}class fGn{constructor(h,g,k){Ni(this,"type","removeCalculatedColumn");Ni(this,"description");Ni(this,"column");Ni(this,"removedIndex",-1);this.model=h,this.nodeId=g,this.column={id:"",name:"",dataType:"",expression:""},this.description=`Remove calculated column ${k} from ${g}`;const E=h.value.calculationViews.find(A=>A.id===g);if(E){const A=E.calculatedColumns.findIndex(m=>m.id===k);A>=0&&(this.column={...E.calculatedColumns[A]},this.removedIndex=A)}}execute(){const h=this.model.value.calculationViews.find(g=>g.id===this.nodeId);if(h){const g=h.calculatedColumns.findIndex(k=>k.id===this.column.id);g>=0&&h.calculatedColumns.splice(g,1)}}undo(){const h=this.model.value.calculationViews.find(g=>g.id===this.nodeId);h&&h.calculatedColumns.splice(this.removedIndex,0,this.column)}}class aGn{constructor(h,g,k,E){Ni(this,"type","updateCalculatedColumn");Ni(this,"description");Ni(this,"previous",{});this.model=h,this.nodeId=g,this.columnId=k,this.updates=E,this.description=`Update calculated column ${k}`;const A=h.value.calculationViews.find(m=>m.id===g);if(A){const m=A.calculatedColumns.find(_=>_.id===k);if(m)for(const _ of Object.keys(E))this.previous[_]=m[_]}}execute(){const h=this.model.value.calculationViews.find(g=>g.id===this.nodeId);if(h){const g=h.calculatedColumns.find(k=>k.id===this.columnId);g&&Object.assign(g,this.updates)}}undo(){const h=this.model.value.calculationViews.find(g=>g.id===this.nodeId);if(h){const g=h.calculatedColumns.find(k=>k.id===this.columnId);g&&Object.assign(g,this.previous)}}}class hGn{constructor(h,g,k){Ni(this,"type","setFilterExpression");Ni(this,"description");Ni(this,"previousExpression");this.model=h,this.nodeId=g,this.newExpression=k,this.description=`Set filter on ${g}`;const E=h.value.calculationViews.find(A=>A.id===g);this.previousExpression=E==null?void 0:E.filterExpression}execute(){const h=this.model.value.calculationViews.find(g=>g.id===this.nodeId);h&&(h.filterExpression=this.newExpression)}undo(){const h=this.model.value.calculationViews.find(g=>g.id===this.nodeId);h&&(h.filterExpression=this.previousExpression)}}class dGn{constructor(h,g){Ni(this,"type","addVariable");Ni(this,"description");this.model=h,this.variable=g,this.description=`Add variable ${g.id}`}execute(){this.model.value.localVariables.push(this.variable)}undo(){const h=this.model.value.localVariables.findIndex(g=>g.id===this.variable.id);h>=0&&this.model.value.localVariables.splice(h,1)}}class bGn{constructor(h,g){Ni(this,"type","removeVariable");Ni(this,"description");Ni(this,"variable");Ni(this,"removedIndex",-1);this.model=h,this.variable={id:"",name:"",dataType:""},this.description=`Remove variable ${g}`;const k=h.value.localVariables.findIndex(E=>E.id===g);k>=0&&(this.variable={...h.value.localVariables[k]},this.removedIndex=k)}execute(){const h=this.model.value.localVariables.findIndex(g=>g.id===this.variable.id);h>=0&&this.model.value.localVariables.splice(h,1)}undo(){this.model.value.localVariables.splice(this.removedIndex,0,this.variable)}}class gGn{constructor(h,g,k){Ni(this,"type","updateVariable");Ni(this,"description");Ni(this,"previous",{});this.model=h,this.variableId=g,this.updates=k,this.description=`Update variable ${g}`;const E=h.value.localVariables.find(A=>A.id===g);if(E)for(const A of Object.keys(k))this.previous[A]=E[A]}execute(){const h=this.model.value.localVariables.find(g=>g.id===this.variableId);h&&Object.assign(h,this.updates)}undo(){const h=this.model.value.localVariables.find(g=>g.id===this.variableId);h&&Object.assign(h,this.previous)}}class wGn{constructor(h,g){Ni(this,"type","addHierarchy");Ni(this,"description");this.model=h,this.hierarchy=g,this.description=`Add hierarchy ${g.id}`}execute(){this.model.value.logicalModel.hierarchies.push(this.hierarchy)}undo(){this.model.value.logicalModel.hierarchies=this.model.value.logicalModel.hierarchies.filter(h=>h.id!==this.hierarchy.id)}}class pGn{constructor(h,g){Ni(this,"type","removeHierarchy");Ni(this,"description");Ni(this,"removed",null);Ni(this,"removedIndex",-1);this.model=h,this.hierarchyId=g,this.description=`Remove hierarchy ${g}`}execute(){this.removedIndex=this.model.value.logicalModel.hierarchies.findIndex(h=>h.id===this.hierarchyId),this.removedIndex>=0&&(this.removed=this.model.value.logicalModel.hierarchies[this.removedIndex],this.model.value.logicalModel.hierarchies.splice(this.removedIndex,1))}undo(){this.removed&&this.removedIndex>=0&&this.model.value.logicalModel.hierarchies.splice(this.removedIndex,0,this.removed)}}class mGn{constructor(h,g){Ni(this,"type","addRestrictedMeasure");Ni(this,"description");this.model=h,this.measure=g,this.description=`Add restricted measure ${g.id}`}execute(){this.model.value.logicalModel.restrictedMeasures.push(this.measure)}undo(){this.model.value.logicalModel.restrictedMeasures=this.model.value.logicalModel.restrictedMeasures.filter(h=>h.id!==this.measure.id)}}class vGn{constructor(h,g){Ni(this,"type","removeRestrictedMeasure");Ni(this,"description");Ni(this,"removed",null);Ni(this,"removedIndex",-1);this.model=h,this.measureId=g,this.description=`Remove restricted measure ${g}`}execute(){this.removedIndex=this.model.value.logicalModel.restrictedMeasures.findIndex(h=>h.id===this.measureId),this.removedIndex>=0&&(this.removed=this.model.value.logicalModel.restrictedMeasures[this.removedIndex],this.model.value.logicalModel.restrictedMeasures.splice(this.removedIndex,1))}undo(){this.removed&&this.removedIndex>=0&&this.model.value.logicalModel.restrictedMeasures.splice(this.removedIndex,0,this.removed)}}class yGn{constructor(h,g,k,E){Ni(this,"type","updateColumnProperties");Ni(this,"description");Ni(this,"oldProps",{});this.model=h,this.collectionKey=g,this.columnId=k,this.updates=E,this.description=`Update ${k} properties`}execute(){const h=this.model.value.logicalModel[this.collectionKey].find(g=>g.id===this.columnId);if(h){this.oldProps={};for(const g of Object.keys(this.updates))this.oldProps[g]=h[g],h[g]=this.updates[g]}}undo(){const h=this.model.value.logicalModel[this.collectionKey].find(g=>g.id===this.columnId);if(h)for(const g of Object.keys(this.oldProps))h[g]=this.oldProps[g]}}class kGn{constructor(h,g,k){Ni(this,"type","renameNode");Ni(this,"description");this.model=h,this.oldId=g,this.newId=k,this.description=`Rename ${g} to ${k}`}execute(){const h=this.model.value.calculationViews.find(k=>k.id===this.oldId);h&&(h.id=this.newId);const g=this.model.value.layout.shapes.find(k=>k.modelObjectName===this.oldId);g&&(g.modelObjectName=this.newId);for(const k of this.model.value.calculationViews)for(const E of k.inputs)E.node===this.oldId&&(E.node=this.newId);this.model.value.outputNodeId===this.oldId&&(this.model.value.outputNodeId=this.newId)}undo(){const h=this.model.value.calculationViews.find(k=>k.id===this.newId);h&&(h.id=this.oldId);const g=this.model.value.layout.shapes.find(k=>k.modelObjectName===this.newId);g&&(g.modelObjectName=this.oldId);for(const k of this.model.value.calculationViews)for(const E of k.inputs)E.node===this.newId&&(E.node=this.oldId);this.model.value.outputNodeId===this.newId&&(this.model.value.outputNodeId=this.oldId)}}class t0n{constructor(h,g,k){Ni(this,"type","moveNode");Ni(this,"description");Ni(this,"previousPosition");this.model=h,this.nodeId=g,this.newPosition=k,this.description=`Move ${g}`;const E=g==="__semantics__"?"Output":g,A=h.value.layout.shapes.find(m=>m.modelObjectName===E);this.previousPosition=A?{...A.upperLeftCorner}:{x:0,y:0}}execute(){const h=this.nodeId==="__semantics__"?"Output":this.nodeId,g=this.model.value.layout.shapes.find(k=>k.modelObjectName===h);g&&(g.upperLeftCorner.x=this.newPosition.x,g.upperLeftCorner.y=this.newPosition.y)}undo(){const h=this.nodeId==="__semantics__"?"Output":this.nodeId,g=this.model.value.layout.shapes.find(k=>k.modelObjectName===h);g&&(g.upperLeftCorner.x=this.previousPosition.x,g.upperLeftCorner.y=this.previousPosition.y)}}function EGn(){const f=cr(null),h=nGn(),g=Ai(()=>{if(!f.value)return[];const Ne=[],q=f.value.layout.shapes.find(ce=>ce.modelObjectName==="Output");Ne.push({id:"__semantics__",type:"semantics",position:{x:(q==null?void 0:q.upperLeftCorner.x)??200,y:(q==null?void 0:q.upperLeftCorner.y)??50},data:{label:"Semantics",dataCategory:f.value.dataCategory,attributeCount:f.value.logicalModel.attributes.length,measureCount:f.value.logicalModel.baseMeasures.length}});for(const ce of f.value.calculationViews){const cn=f.value.layout.shapes.find(yn=>yn.modelObjectName===ce.id),Se=pX[ce.type];Ne.push({id:ce.id,type:ce.type,position:{x:(cn==null?void 0:cn.upperLeftCorner.x)??200,y:(cn==null?void 0:cn.upperLeftCorner.y)??300},data:{label:ce.id,nodeType:ce.type,typeDef:Se,columnCount:ce.outputColumns.length,inputCount:ce.inputs.length}})}return Ne}),k=Ai(()=>{if(!f.value)return[];const Ne=[],q=f.value.calculationViews.map(ce=>ce.id);for(const ce of f.value.calculationViews){f.value.calculationViews.some(Se=>Se.inputs.some(yn=>yn.node===ce.id))||Ne.push({id:`e-${ce.id}-semantics`,source:ce.id,target:"__semantics__",type:"dataFlow"});for(const Se of ce.inputs)q.includes(Se.node)&&Ne.push({id:`e-${Se.node}-${ce.id}`,source:Se.node,target:ce.id,type:"dataFlow"})}return Ne});function E(Ne){f.value=Ne}function A(Ne){if(!f.value)return`${Ne}_1`;const ce=pX[Ne].label.replace(/\s/g,"_"),cn=f.value.calculationViews.filter(Se=>Se.id.startsWith(ce));return`${ce}_${cn.length+1}`}function m(Ne,q){if(!f.value)return;const ce=f,Se={id:A(Ne),type:Ne,inputs:[],outputColumns:[],calculatedColumns:[],...Ne==="join"||Ne==="nonEquiJoin"?{joinConfig:{joinType:"inner",cardinality:"1..1",conditions:[]}}:{},...Ne==="rank"?{rankConfig:{orderBy:[],thresholdType:"top",count:10}}:{}};h.push(new tGn(ce,Se,q))}function _(Ne){f.value&&h.push(new iGn(f,Ne))}function N(Ne,q){f.value&&h.push(new rGn(f,Ne,q))}function L(Ne,q){f.value&&h.push(new cGn(f,Ne,q))}function F(Ne,q){f.value&&h.push(new e0n(f,Ne,q))}function U(Ne,q){f.value&&h.push(new uGn(f,Ne,q))}function z(Ne,q){f.value&&h.push(new oGn(f,Ne,q))}function W(Ne,q){f.value&&h.push(new sGn(f,Ne,q))}function ge(Ne,q){f.value&&h.push(new lGn(f,Ne,q))}function V(Ne,q){f.value&&h.push(new fGn(f,Ne,q))}function ve(Ne,q,ce){f.value&&h.push(new aGn(f,Ne,q,ce))}function te(Ne,q){f.value&&h.push(new hGn(f,Ne,q))}function _e(Ne){f.value&&h.push(new dGn(f,Ne))}function we(Ne){f.value&&h.push(new bGn(f,Ne))}function Ve(Ne,q){f.value&&h.push(new gGn(f,Ne,q))}function Bn(Ne){f.value&&h.push(new wGn(f,Ne))}function Qn(Ne){f.value&&h.push(new pGn(f,Ne))}function mt(Ne){f.value&&h.push(new mGn(f,Ne))}function Dt(Ne){f.value&&h.push(new vGn(f,Ne))}function hi(Ne,q,ce){f.value&&h.push(new yGn(f,Ne,q,ce))}function Gt(Ne,q){f.value&&h.push(new kGn(f,Ne,q))}function Vt(Ne,q){f.value&&h.push(new t0n(f,Ne,q))}return{model:f,undoRedo:h,vueFlowNodes:g,vueFlowEdges:k,loadModel:E,addNode:m,removeNode:_,connectNodes:N,disconnectNodes:L,mapColumn:F,unmapColumn:U,addJoinCondition:z,removeJoinCondition:W,addCalculatedColumn:ge,removeCalculatedColumn:V,updateCalculatedColumn:ve,setFilterExpression:te,addVariable:_e,removeVariable:we,updateVariable:Ve,addHierarchy:Bn,removeHierarchy:Qn,addRestrictedMeasure:mt,removeRestrictedMeasure:Dt,updateColumnProperties:hi,renameNode:Gt,moveNode:Vt}}function CGn(){const f=pm([]),h=pm(null),g=Ai(()=>f.value.find(_=>_.id===h.value)??null);function k(_,N){const L=N?f.value.find(W=>W.filePath===N):null;if(L)return h.value=L.id,L;const F=`tab_${Date.now()}`,U=EGn(),z={id:F,title:_,filePath:N,editor:U};return f.value.push(z),wpe(f),h.value=F,z}function E(_){const N=f.value.find(F=>F.id===_);if(!N)return!0;if(N.editor.undoRedo.isDirty.value)return!1;const L=f.value.findIndex(F=>F.id===_);return f.value.splice(L,1),wpe(f),h.value===_&&(h.value=f.value.length>0?f.value[Math.min(L,f.value.length-1)].id:null),!0}function A(_){const N=f.value.findIndex(L=>L.id===_);N<0||(f.value.splice(N,1),wpe(f),h.value===_&&(h.value=f.value.length>0?f.value[Math.min(N,f.value.length-1)].id:null))}function m(_,N){const L=f.value.find(F=>F.id===_);L&&(L.filePath=N)}return{tabs:f,activeTabId:h,activeTab:g,openTab:k,closeTab:E,forceCloseTab:A,updateTabFilePath:m}}const i0n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",AGn=i0n+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",TGn="["+i0n+"]["+AGn+"]*",MGn=new RegExp("^"+TGn+"$");function r0n(f,h){const g=[];let k=h.exec(f);for(;k;){const E=[];E.startIndex=h.lastIndex-k[0].length;const A=k.length;for(let m=0;m"u")};function SGn(f){return typeof f<"u"}const p2e=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],u0n=["__proto__","constructor","prototype"],_Gn={allowBooleanAttributes:!1,unpairedTags:[]};function jGn(f,h){h=Object.assign({},_Gn,h);const g=[];let k=!1,E=!1;f[0]==="\uFEFF"&&(f=f.substr(1));for(let A=0;A"&&f[A]!==" "&&f[A]!==" "&&f[A]!==` -`&&f[A]!=="\r";A++)N+=f[A];if(N=N.trim(),N[N.length-1]==="/"&&(N=N.substring(0,N.length-1),A--),!LGn(N)){let U;return N.trim().length===0?U="Invalid space after '<'.":U="Tag '"+N+"' is an invalid name.",df("InvalidTag",U,Gd(f,A))}const L=NGn(f,A);if(L===!1)return df("InvalidAttr","Attributes for '"+N+"' have open quote.",Gd(f,A));let F=L.value;if(A=L.index,F[F.length-1]==="/"){const U=A-F.length;F=F.substring(0,F.length-1);const z=Pdn(F,h);if(z===!0)k=!0;else return df(z.err.code,z.err.msg,Gd(f,U+z.err.line))}else if(_)if(L.tagClosed){if(F.trim().length>0)return df("InvalidTag","Closing tag '"+N+"' can't have attributes or invalid starting.",Gd(f,m));if(g.length===0)return df("InvalidTag","Closing tag '"+N+"' has not been opened.",Gd(f,m));{const U=g.pop();if(N!==U.tagName){let z=Gd(f,U.tagStartPos);return df("InvalidTag","Expected closing tag '"+U.tagName+"' (opened in line "+z.line+", col "+z.col+") instead of closing tag '"+N+"'.",Gd(f,m))}g.length==0&&(E=!0)}}else return df("InvalidTag","Closing tag '"+N+"' doesn't have proper closing.",Gd(f,A));else{const U=Pdn(F,h);if(U!==!0)return df(U.err.code,U.err.msg,Gd(f,A-F.length+U.err.line));if(E===!0)return df("InvalidXml","Multiple possible root nodes found.",Gd(f,A));h.unpairedTags.indexOf(N)!==-1||g.push({tagName:N,tagStartPos:m}),k=!0}for(A++;A0)return df("InvalidXml","Invalid '"+JSON.stringify(g.map(A=>A.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return df("InvalidXml","Start tag expected.",1);return!0}function $dn(f){return f===" "||f===" "||f===` -`||f==="\r"}function Ndn(f,h){const g=h;for(;h5&&k==="xml")return df("InvalidXml","XML declaration allowed only at the start of the document.",Gd(f,h));if(f[h]=="?"&&f[h+1]==">"){h++;break}else continue}return h}function xdn(f,h){if(f.length>h+5&&f[h+1]==="-"&&f[h+2]==="-"){for(h+=3;h"){h+=2;break}}else if(f.length>h+8&&f[h+1]==="D"&&f[h+2]==="O"&&f[h+3]==="C"&&f[h+4]==="T"&&f[h+5]==="Y"&&f[h+6]==="P"&&f[h+7]==="E"){let g=1;for(h+=8;h"&&(g--,g===0))break}else if(f.length>h+9&&f[h+1]==="["&&f[h+2]==="C"&&f[h+3]==="D"&&f[h+4]==="A"&&f[h+5]==="T"&&f[h+6]==="A"&&f[h+7]==="["){for(h+=8;h"){h+=2;break}}return h}const IGn='"',$Gn="'";function NGn(f,h){let g="",k="",E=!1;for(;h"&&k===""){E=!0;break}g+=f[h]}return k!==""?!1:{value:g,index:h,tagClosed:E}}const xGn=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Pdn(f,h){const g=r0n(f,xGn),k={};for(let E=0;E",lt:"<",quot:'"'},RGn={nbsp:" ",copy:"©",reg:"®",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"«",raquo:"»",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"¶",sect:"§",deg:"°",frac12:"½",frac14:"¼",frac34:"¾"},BGn=new Set("!?\\\\/[]$%{}^&*()<>|+");function Odn(f){if(f[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${f}"`);for(const h of f)if(BGn.has(h))throw new Error(`[EntityReplacer] Invalid character '${h}' in entity name: "${f}"`);return f}function mpe(...f){const h=Object.create(null);for(const g of f)if(g)for(const k of Object.keys(g)){const E=g[k];if(typeof E=="string")h[k]=E;else if(E&&typeof E=="object"&&E.val!==void 0){const A=E.val;typeof A=="string"&&(h[k]=A)}}return h}const Wk="external",mX="base",Rpe="all";function JGn(f){return!f||f===Wk?new Set([Wk]):f===Rpe?new Set([Rpe]):f===mX?new Set([mX]):Array.isArray(f)?new Set(f):new Set([Wk])}const K1=Object.freeze({allow:0,leave:1,remove:2,throw:3}),GGn=new Set([9,10,13]);function HGn(f){if(!f)return{xmlVersion:1,onLevel:K1.allow,nullLevel:K1.remove};const h=f.xmlVersion===1.1?1.1:1,g=K1[f.onNCR]??K1.allow,k=K1[f.nullNCR]??K1.remove,E=Math.max(k,K1.remove);return{xmlVersion:h,onLevel:g,nullLevel:E}}class zGn{constructor(h={}){this._limit=h.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof h.postCheck=="function"?h.postCheck:k=>k,this._limitTiers=JGn(this._limit.applyLimitsTo??Wk),this._numericAllowed=h.numericAllowed??!0,this._baseMap=mpe(o0n,h.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(h.remove&&Array.isArray(h.remove)?h.remove:[]),this._leaveSet=new Set(h.leave&&Array.isArray(h.leave)?h.leave:[]);const g=HGn(h.ncr);this._ncrXmlVersion=g.xmlVersion,this._ncrOnLevel=g.onLevel,this._ncrNullLevel=g.nullLevel}setExternalEntities(h){if(h)for(const g of Object.keys(h))Odn(g);this._externalMap=mpe(h)}addExternalEntity(h,g){Odn(h),typeof g=="string"&&g.indexOf("&")===-1&&(this._externalMap[h]=g)}addInputEntities(h){this._totalExpansions=0,this._expandedLength=0,this._inputMap=mpe(h)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(h){this._ncrXmlVersion=h===1.1?1.1:1}decode(h){if(typeof h!="string"||h.length===0)return h;const g=h,k=[],E=h.length;let A=0,m=0;const _=this._maxTotalExpansions>0,N=this._maxExpandedLength>0,L=_||N;for(;m=E||h.charCodeAt(U)!==59){m++;continue}const z=h.slice(m+1,U);if(z.length===0){m++;continue}let W,ge;if(this._removeSet.has(z))W="",ge===void 0&&(ge=Wk);else if(this._leaveSet.has(z)){m++;continue}else if(z.charCodeAt(0)===35){const V=this._resolveNCR(z);if(V===void 0){m++;continue}W=V,ge=mX}else{const V=this._resolveName(z);W=V==null?void 0:V.value,ge=V==null?void 0:V.tier}if(W===void 0){m++;continue}if(m>A&&k.push(h.slice(A,m)),k.push(W),A=U+1,m=A,L&&this._tierCounts(ge)){if(_&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(N){const V=W.length-(z.length+2);if(V>0&&(this._expandedLength+=V,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}A=55296&&h<=57343||this._ncrXmlVersion===1&&h>=1&&h<=31&&!GGn.has(h)?K1.remove:-1}_applyNCRAction(h,g,k){switch(h){case K1.allow:return String.fromCodePoint(k);case K1.remove:return"";case K1.leave:return;case K1.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${g}; (U+${k.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(k)}}_resolveNCR(h){const g=h.charCodeAt(1);let k;if(g===120||g===88?k=parseInt(h.slice(2),16):k=parseInt(h.slice(1),10),Number.isNaN(k)||k<0||k>1114111)return;const E=this._classifyNCR(k);if(!this._numericAllowed&&Ep2e.includes(f)?"__"+f:f,qGn={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(f,h){return h},attributeValueProcessor:function(f,h){return h},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(f,h,g){return f},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:s0n};function UGn(f,h){if(typeof f!="string")return;const g=f.toLowerCase();if(p2e.some(k=>g===k.toLowerCase()))throw new Error(`[SECURITY] Invalid ${h}: "${f}" is a reserved JavaScript keyword that could cause prototype pollution`);if(u0n.some(k=>g===k.toLowerCase()))throw new Error(`[SECURITY] Invalid ${h}: "${f}" is a reserved JavaScript keyword that could cause prototype pollution`)}function l0n(f,h){return typeof f=="boolean"?{enabled:f,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:typeof f=="object"&&f!==null?{enabled:f.enabled!==!1,maxEntitySize:Math.max(1,f.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,f.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,f.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,f.maxExpandedLength??1e5),maxEntityCount:Math.max(1,f.maxEntityCount??1e3),allowedTags:f.allowedTags??null,tagFilter:f.tagFilter??null,appliesTo:f.appliesTo??"all"}:l0n(!0)}const VGn=function(f){const h=Object.assign({},qGn,f),g=[{value:h.attributeNamePrefix,name:"attributeNamePrefix"},{value:h.attributesGroupName,name:"attributesGroupName"},{value:h.textNodeName,name:"textNodeName"},{value:h.cdataPropName,name:"cdataPropName"},{value:h.commentPropName,name:"commentPropName"}];for(const{value:k,name:E}of g)k&&UGn(k,E);return h.onDangerousProperty===null&&(h.onDangerousProperty=s0n),h.processEntities=l0n(h.processEntities,h.htmlEntities),h.unpairedTagsSet=new Set(h.unpairedTags),h.stopNodes&&Array.isArray(h.stopNodes)&&(h.stopNodes=h.stopNodes.map(k=>typeof k=="string"&&k.startsWith("*.")?".."+k.substring(2):k)),h};let vX;typeof Symbol!="function"?vX="@@xmlMetadata":vX=Symbol("XML Node Metadata");class j4{constructor(h){this.tagname=h,this.child=[],this[":@"]=Object.create(null)}add(h,g){h==="__proto__"&&(h="#__proto__"),this.child.push({[h]:g})}addChild(h,g){h.tagname==="__proto__"&&(h.tagname="#__proto__"),h[":@"]&&Object.keys(h[":@"]).length>0?this.child.push({[h.tagname]:h.child,":@":h[":@"]}):this.child.push({[h.tagname]:h.child}),g!==void 0&&(this.child[this.child.length-1][vX]={startIndex:g})}static getMetaDataSymbol(){return vX}}const f0n=":A-Za-z_À-ÖØ-öø-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",XGn=f0n+"\\-\\.\\d·̀-ͯ‿-⁀",a0n=":A-Za-z_À-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",KGn=a0n+"\\-\\.\\d·̀-ͯ҇‿-⁀",h0n=(f,h,g="")=>{const k=f.replace(":",""),E=h.replace(":",""),A=`[${k}][${E}]*`;return{name:new RegExp(`^[${f}][${h}]*$`,g),ncName:new RegExp(`^${A}$`,g),qName:new RegExp(`^${A}(?::${A})?$`,g),nmToken:new RegExp(`^[${h}]+$`,g),nmTokens:new RegExp(`^[${h}]+(?:\\s+[${h}]+)*$`,g)}},WGn=h0n(f0n,XGn),YGn=h0n(a0n,KGn,"u"),QGn=(f="1.0")=>f==="1.1"?YGn:WGn,DX=(f,{xmlVersion:h="1.0"}={})=>QGn(h).qName.test(f);class ZGn{constructor(h,g){this.suppressValidationErr=!h,this.options=h,this.xmlVersion=g||1}setXmlVersion(h=1){this.xmlVersion=h}readDocType(h,g){const k=Object.create(null);let E=0;if(h[g+3]==="O"&&h[g+4]==="C"&&h[g+5]==="T"&&h[g+6]==="Y"&&h[g+7]==="P"&&h[g+8]==="E"){g=g+9;let A=1,m=!1,_=!1,N="";for(;g=this.options.maxEntityCount)throw new Error(`Entity count (${E+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);k[L]=F,E++}}else if(m&&zk(h,"!ELEMENT",g)){g+=8;const{index:L}=this.readElementExp(h,g+1);g=L}else if(m&&zk(h,"!ATTLIST",g))g+=8;else if(m&&zk(h,"!NOTATION",g)){g+=9;const{index:L}=this.readNotationExp(h,g+1,this.suppressValidationErr);g=L}else if(zk(h,"!--",g))_=!0;else throw new Error("Invalid DOCTYPE");A++,N=""}else if(h[g]===">"){if(_?h[g-1]==="-"&&h[g-2]==="-"&&(_=!1,A--):A--,A===0)break}else h[g]==="["?m=!0:N+=h[g];if(A!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:k,i:g}}readEntityExp(h,g){g=X1(h,g);const k=g;for(;gthis.options.maxEntitySize)throw new Error(`Entity "${E}" size (${A.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return g--,[E,A,g]}readNotationExp(h,g){g=X1(h,g);const k=g;for(;g{for(;h1||A.length===1&&!_))return f;{const N=Number(g),L=String(N);if(N===0)return N;if(L.search(/[eE]/)!==-1)return h.eNotation?N:f;if(g.indexOf(".")!==-1)return L==="0"||L===m||L===`${E}${m}`?N:f;let F=A?m:g;return A?F===L||E+F===L?N:f:F===L||F===E+L?N:f}}else return f}}else return lHn(f,Number(g),h)}const uHn=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function oHn(f,h,g){if(!g.eNotation)return f;const k=h.match(uHn);if(k){let E=k[1]||"";const A=k[3].indexOf("e")===-1?"E":"e",m=k[2],_=E?f[m.length+1]===A:f[m.length]===A;return m.length>1&&_?f:m.length===1&&(k[3].startsWith(`.${A}`)||k[3][0]===A)?Number(h):m.length>0?g.leadingZeros&&!_?(h=(k[1]||"")+k[3],Number(h)):f:Number(h)}else return f}function sHn(f){return f&&f.indexOf(".")!==-1&&(f=f.replace(/0+$/,""),f==="."?f="0":f[0]==="."?f="0"+f:f[f.length-1]==="."&&(f=f.substring(0,f.length-1))),f}function vpe(f,h){const g=f.trim();if((h===2||h===8)&&(f=g.substring(2)),parseInt)return parseInt(f,h);if(Number.parseInt)return Number.parseInt(f,h);if(window&&window.parseInt)return window.parseInt(f,h);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}function lHn(f,h,g){const k=h===1/0;switch(g.infinity.toLowerCase()){case"null":return null;case"infinity":return h;case"string":return k?"Infinity":"-Infinity";case"original":default:return f}}function fHn(f){return typeof f=="function"?f:Array.isArray(f)?h=>{for(const g of f)if(typeof g=="string"&&h===g||g instanceof RegExp&&g.test(h))return!0}:()=>!1}class xT{constructor(h,g={},k){this.pattern=h,this.separator=g.separator||".",this.segments=this._parse(h),this.data=k,this._hasDeepWildcard=this.segments.some(E=>E.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(E=>E.attrName!==void 0),this._hasPositionSelector=this.segments.some(E=>E.position!==void 0)}_parse(h){const g=[];let k=0,E="";for(;k0?h[h.length-1].tag:void 0}getCurrentNamespace(){const h=this._matcher.path;return h.length>0?h[h.length-1].namespace:void 0}getAttrValue(h){var k;const g=this._matcher.path;if(g.length!==0)return(k=g[g.length-1].values)==null?void 0:k[h]}hasAttr(h){const g=this._matcher.path;if(g.length===0)return!1;const k=g[g.length-1];return k.values!==void 0&&h in k.values}getPosition(){const h=this._matcher.path;return h.length===0?-1:h[h.length-1].position??0}getCounter(){const h=this._matcher.path;return h.length===0?-1:h[h.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(h,g=!0){return this._matcher.toString(h,g)}toArray(){return this._matcher.path.map(h=>h.tag)}matches(h){return this._matcher.matches(h)}matchesAny(h){return h.matchesAny(this._matcher)}}class m2e{constructor(h={}){this.separator=h.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new hHn(this)}push(h,g=null,k=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);const E=this.path.length;this.siblingStacks[E]||(this.siblingStacks[E]=new Map);const A=this.siblingStacks[E],m=k?`${k}:${h}`:h,_=A.get(m)||0;let N=0;for(const F of A.values())N+=F;A.set(m,_+1);const L={tag:h,position:N,counter:_};k!=null&&(L.namespace=k),g!=null&&(L.values=g),this.path.push(L)}pop(){if(this.path.length===0)return;this._pathStringCache=null;const h=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),h}updateCurrent(h){if(this.path.length>0){const g=this.path[this.path.length-1];h!=null&&(g.values=h)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(h){var g;if(this.path.length!==0)return(g=this.path[this.path.length-1].values)==null?void 0:g[h]}hasAttr(h){if(this.path.length===0)return!1;const g=this.path[this.path.length-1];return g.values!==void 0&&h in g.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(h,g=!0){const k=h||this.separator;if(k===this.separator&&g===!0){if(this._pathStringCache!==null)return this._pathStringCache;const A=this.path.map(m=>m.namespace?`${m.namespace}:${m.tag}`:m.tag).join(k);return this._pathStringCache=A,A}return this.path.map(A=>g&&A.namespace?`${A.namespace}:${A.tag}`:A.tag).join(k)}toArray(){return this.path.map(h=>h.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(h){const g=h.segments;return g.length===0?!1:h.hasDeepWildcard()?this._matchWithDeepWildcard(g):this._matchSimple(g)}_matchSimple(h){if(this.path.length!==h.length)return!1;for(let g=0;g=0&&g>=0;){const E=h[k];if(E.type==="deep-wildcard"){if(k--,k<0)return!0;const A=h[k];let m=!1;for(let _=g;_>=0;_--)if(this._matchSegment(A,this.path[_],_===this.path.length-1)){g=_-1,k--,m=!0;break}if(!m)return!1}else{if(!this._matchSegment(E,this.path[g],g===this.path.length-1))return!1;g--,k--}}return k<0}_matchSegment(h,g,k){if(h.tag!=="*"&&h.tag!==g.tag||h.namespace!==void 0&&h.namespace!=="*"&&h.namespace!==g.namespace||h.attrName!==void 0&&(!k||!g.values||!(h.attrName in g.values)||h.attrValue!==void 0&&String(g.values[h.attrName])!==String(h.attrValue)))return!1;if(h.position!==void 0){if(!k)return!1;const E=g.counter??0;if(h.position==="first"&&E!==0)return!1;if(h.position==="odd"&&E%2!==1)return!1;if(h.position==="even"&&E%2!==0)return!1;if(h.position==="nth"&&E!==h.positionValue)return!1}return!0}matchesAny(h){return h.matchesAny(this)}snapshot(){return{path:this.path.map(h=>({...h})),siblingStacks:this.siblingStacks.map(h=>new Map(h))}}restore(h){this._pathStringCache=null,this.path=h.path.map(g=>({...g})),this.siblingStacks=h.siblingStacks.map(g=>new Map(g))}readOnly(){return this._view}}function dHn(f,h){if(!f)return{};const g=h.attributesGroupName?f[h.attributesGroupName]:f;if(!g)return{};const k={};for(const E in g)if(E.startsWith(h.attributeNamePrefix)){const A=E.substring(h.attributeNamePrefix.length);k[A]=g[E]}else k[E]=g[E];return k}function bHn(f){if(!f||typeof f!="string")return;const h=f.indexOf(":");if(h!==-1&&h>0){const g=f.substring(0,h);if(g!=="xmlns")return g}}class gHn{constructor(h,g){this.options=h,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=yHn,this.parseTextData=wHn,this.resolveNameSpace=pHn,this.buildAttributesMap=vHn,this.isItStopNode=AHn,this.replaceEntitiesValue=EHn,this.readStopNodeData=SHn,this.saveTextToParentTag=CHn,this.addChild=kHn,this.ignoreAttributesFn=fHn(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let k={...o0n};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?k=this.options.htmlEntities:this.options.htmlEntities===!0&&(k={...RGn,...FGn}),this.entityDecoder=new zGn({namedEntities:{...k,...g},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new m2e,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new aHn;const E=this.options.stopNodes;if(E&&E.length>0){for(let A=0;A0)){m||(f=this.replaceEntitiesValue(f,h,g));const N=_.jPath?g.toString():g,L=_.tagValueProcessor(h,f,N,E,A);return L==null?f:typeof L!=typeof f||L!==f?L:_.trimValues||f.trim()===f?Jpe(f,_.parseTagValue,_.numberParseOptions):f}}function pHn(f){if(this.options.removeNSPrefix){const h=f.split(":"),g=f.charAt(0)==="/"?"/":"";if(h[0]==="xmlns")return"";h.length===2&&(f=g+h[1])}return f}const mHn=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function vHn(f,h,g,k=!1){const E=this.options;if(k===!0||E.ignoreAttributes!==!0&&typeof f=="string"){const A=r0n(f,mHn),m=A.length,_={},N=new Array(m);let L=!1;const F={};for(let W=0;W",_,"Closing Tag is not closed.");let U=f.substring(_+2,F).trim();if(E.removeNSPrefix){const W=U.indexOf(":");W!==-1&&(U=U.substr(W+1))}U=ype(E.transformTagName,U,"",E).tagName,g&&(k=this.saveTextToParentTag(k,g,this.readonlyMatcher));const z=this.matcher.getCurrentTag();if(U&&E.unpairedTagsSet.has(U))throw new Error(`Unpaired tag can not be used as closing tag: `);z&&E.unpairedTagsSet.has(z)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,g=this.tagsNodeStack.pop(),k="",_=F}else if(L===63){let F=Bpe(f,_,!1,"?>");if(!F)throw new Error("Pi Tag is not closed.");k=this.saveTextToParentTag(k,g,this.readonlyMatcher);const U=this.buildAttributesMap(F.tagExp,this.matcher,F.tagName,!0);if(U){const z=U[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(z)||1),A.setXmlVersion(Number(z)||1)}if(!(E.ignoreDeclaration&&F.tagName==="?xml"||E.ignorePiTags)){const z=new j4(F.tagName);z.add(E.textNodeName,""),F.tagName!==F.tagExp&&F.attrExpPresent&&E.ignoreAttributes!==!0&&(z[":@"]=U),this.addChild(g,z,this.readonlyMatcher,_)}_=F.closeIndex+1}else if(L===33&&f.charCodeAt(_+2)===45&&f.charCodeAt(_+3)===45){const F=_T(f,"-->",_+4,"Comment is not closed.");if(E.commentPropName){const U=f.substring(_+4,F-2);k=this.saveTextToParentTag(k,g,this.readonlyMatcher),g.add(E.commentPropName,[{[E.textNodeName]:U}])}_=F}else if(L===33&&f.charCodeAt(_+2)===68){const F=A.readDocType(f,_);this.entityDecoder.addInputEntities(F.entities),_=F.i}else if(L===33&&f.charCodeAt(_+2)===91){const F=_T(f,"]]>",_,"CDATA is not closed.")-2,U=f.substring(_+9,F);k=this.saveTextToParentTag(k,g,this.readonlyMatcher);let z=this.parseTextData(U,g.tagname,this.readonlyMatcher,!0,!1,!0,!0);z==null&&(z=""),E.cdataPropName?g.add(E.cdataPropName,[{[E.textNodeName]:U}]):g.add(E.textNodeName,z),_=F+2}else{let F=Bpe(f,_,E.removeNSPrefix);if(!F){const Bn=f.substring(Math.max(0,_-50),Math.min(m,_+50));throw new Error(`readTagExp returned undefined at position ${_}. Context: "${Bn}"`)}let U=F.tagName;const z=F.rawTagName;let W=F.tagExp,ge=F.attrExpPresent,V=F.closeIndex;if({tagName:U,tagExp:W}=ype(E.transformTagName,U,W,E),E.strictReservedNames&&(U===E.commentPropName||U===E.cdataPropName||U===E.textNodeName||U===E.attributesGroupName))throw new Error(`Invalid tag name: ${U}`);g&&k&&g.tagname!=="!xml"&&(k=this.saveTextToParentTag(k,g,this.readonlyMatcher,!1));const ve=g;ve&&E.unpairedTagsSet.has(ve.tagname)&&(g=this.tagsNodeStack.pop(),this.matcher.pop());let te=!1;W.length>0&&W.lastIndexOf("/")===W.length-1&&(te=!0,U[U.length-1]==="/"?(U=U.substr(0,U.length-1),W=U):W=W.substr(0,W.length-1),ge=U!==W);let _e=null,we;we=bHn(z),U!==h.tagname&&this.matcher.push(U,{},we),U!==W&&ge&&(_e=this.buildAttributesMap(W,this.matcher,U),_e&&dHn(_e,E)),U!==h.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());const Ve=_;if(this.isCurrentNodeStopNode){let Bn="";if(te)_=F.closeIndex;else if(E.unpairedTagsSet.has(U))_=F.closeIndex;else{const mt=this.readStopNodeData(f,z,V+1);if(!mt)throw new Error(`Unexpected end of ${z}`);_=mt.i,Bn=mt.tagContent}const Qn=new j4(U);_e&&(Qn[":@"]=_e),Qn.add(E.textNodeName,Bn),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(g,Qn,this.readonlyMatcher,Ve)}else{if(te){({tagName:U,tagExp:W}=ype(E.transformTagName,U,W,E));const Bn=new j4(U);_e&&(Bn[":@"]=_e),this.addChild(g,Bn,this.readonlyMatcher,Ve),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(E.unpairedTagsSet.has(U)){const Bn=new j4(U);_e&&(Bn[":@"]=_e),this.addChild(g,Bn,this.readonlyMatcher,Ve),this.matcher.pop(),this.isCurrentNodeStopNode=!1,_=F.closeIndex;continue}else{const Bn=new j4(U);if(this.tagsNodeStack.length>E.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(g),_e&&(Bn[":@"]=_e),this.addChild(g,Bn,this.readonlyMatcher,Ve),g=Bn}k="",_=V}}}else k+=f[_];return h.child};function kHn(f,h,g,k){this.options.captureMetaData||(k=void 0);const E=this.options.jPath?g.toString():g,A=this.options.updateTag(h.tagname,E,h[":@"]);A===!1||(typeof A=="string"&&(h.tagname=A),f.addChild(h,k))}function EHn(f,h,g){const k=this.options.processEntities;if(!k||!k.enabled)return f;if(k.allowedTags){const E=this.options.jPath?g.toString():g;if(!(Array.isArray(k.allowedTags)?k.allowedTags.includes(h):k.allowedTags(h,E)))return f}if(k.tagFilter){const E=this.options.jPath?g.toString():g;if(!k.tagFilter(h,E))return f}return this.entityDecoder.decode(f)}function CHn(f,h,g,k){return f&&(k===void 0&&(k=h.child.length===0),f=this.parseTextData(f,h.tagname,g,!1,h[":@"]?Object.keys(h[":@"]).length!==0:!1,k),f!==void 0&&f!==""&&h.add(this.options.textNodeName,f),f=""),f}function AHn(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}function THn(f,h,g=">"){let k=0;const E=f.length,A=g.charCodeAt(0),m=g.length>1?g.charCodeAt(1):-1;let _="",N=h;for(let L=h;L",g,`${h} is not closed`);if(f.substring(g+2,_).trim()===h&&(E--,E===0))return{tagContent:f.substring(k,g),i:_};g=_}else if(m===63)g=_T(f,"?>",g+1,"StopNode is not closed.");else if(m===33&&f.charCodeAt(g+2)===45&&f.charCodeAt(g+3)===45)g=_T(f,"-->",g+3,"StopNode is not closed.");else if(m===33&&f.charCodeAt(g+2)===91)g=_T(f,"]]>",g,"StopNode is not closed.")-2;else{const _=Bpe(f,g,!1);_&&((_&&_.tagName)===h&&_.tagExp[_.tagExp.length-1]!=="/"&&E++,g=_.closeIndex)}}}function Jpe(f,h,g){if(h&&typeof f=="string"){const k=f.trim();return k==="true"?!0:k==="false"?!1:cHn(f,g)}else return SGn(f)?f:""}function ype(f,h,g,k){if(f){const E=f(h);g===h&&(g=E),h=E}return h=d0n(h,k),{tagName:h,tagExp:g}}function d0n(f,h){if(u0n.includes(f))throw new Error(`[SECURITY] Invalid name: "${f}" is a reserved JavaScript keyword that could cause prototype pollution`);return p2e.includes(f)?h.onDangerousProperty(f):f}const kpe=j4.getMetaDataSymbol();function _Hn(f,h){if(!f||typeof f!="object")return{};if(!h)return f;const g={};for(const k in f)if(k.startsWith(h)){const E=k.substring(h.length);g[E]=f[k]}else g[k]=f[k];return g}function jHn(f,h,g,k){return b0n(f,h,g,k)}function b0n(f,h,g,k){let E;const A={};for(let m=0;m0&&(A[h.textNodeName]=E):E!==void 0&&(A[h.textNodeName]=E),A}function IHn(f){const h=Object.keys(f);for(let g=0;g/g,"]]]]>")}function PT(f){return String(f).replace(/"/g,""").replace(/'/g,"'")}const PHn=` -`;function OHn(f,h){if(!Array.isArray(f)||f.length===0)return"1.0";const g=f[0];if(v2e(g)==="?xml"){const E=g[":@"];if(E){const A=h.attributeNamePrefix+"version";if(E[A])return E[A]}}return"1.0"}function p0n(f,h,g,k,E){return!g.sanitizeName||DX(f,{xmlVersion:E})?f:g.sanitizeName(f,{isAttribute:h,matcher:k.readOnly()})}function DHn(f,h){let g="";h.format&&(g=PHn);const k=[];if(h.stopNodes&&Array.isArray(h.stopNodes))for(let m=0;mh.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(f)){if(f!=null){let N=f.toString();return N=Gpe(N,h),N}return""}for(let N=0;N`,_=!1,k.pop();continue}else if(z===h.commentPropName){const we=L[F][0][h.textNodeName],Ve=g0n(we);m+=g+``,_=!0,k.pop();continue}else if(z[0]==="?"){const we=Ddn(L[":@"],h,ge,k,A);m+=(z==="?xml"?"":g)+`<${z}${we}?>`,_=!0,k.pop();continue}let V=g;V!==""&&(V+=h.indentBy);const ve=Ddn(L[":@"],h,ge,k,A),te=g+`<${z}${ve}`;let _e;ge?_e=v0n(L[F],h):_e=m0n(L[F],h,V,k,E,A),h.unpairedTags.indexOf(z)!==-1?h.suppressUnpairedNode?m+=te+">":m+=te+"/>":(!_e||_e.length===0)&&h.suppressEmptyNode?m+=te+"/>":_e&&_e.endsWith(">")?m+=te+`>${_e}${g}`:(m+=te+">",_e&&g!==""&&(_e.includes("/>")||_e.includes("`),_=!0,k.pop()}return m}function LHn(f,h){if(!f||h.ignoreAttributes)return null;const g={};let k=!1;for(let E in f){if(!Object.prototype.hasOwnProperty.call(f,E))continue;const A=E.startsWith(h.attributeNamePrefix)?E.substr(h.attributeNamePrefix.length):E;g[A]=PT(f[E]),k=!0}return k?g:null}function v0n(f,h){if(!Array.isArray(f))return f!=null?f.toString():"";let g="";for(let k=0;k`:g+=`<${A}${m}>${_}`}}}return g}function FHn(f,h){let g="";if(f&&!h.ignoreAttributes)for(let k in f){if(!Object.prototype.hasOwnProperty.call(f,k))continue;let E=f[k];E===!0&&h.suppressBooleanAttributes?g+=` ${k.substr(h.attributeNamePrefix.length)}`:g+=` ${k.substr(h.attributeNamePrefix.length)}="${PT(E)}"`}return g}function v2e(f){const h=Object.keys(f);for(let g=0;g0&&h.processEntities)for(let g=0;g{for(const g of f)if(typeof g=="string"&&h===g||g instanceof RegExp&&g.test(h))return!0}:()=>!1}const JHn={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(f,h){return h},attributeValueProcessor:function(f,h){return h},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function _g(f){if(this.options=Object.assign({},JHn,f),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(h=>typeof h=="string"&&h.startsWith("*.")?".."+h.substring(2):h)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let h=0;h -`,this.newLine=` -`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function GHn(f,h){const g=f["?xml"];if(g&&typeof g=="object"){if(h.attributesGroupName&&g[h.attributesGroupName]){const E=g[h.attributesGroupName][h.attributeNamePrefix+"version"];if(E)return E}const k=g[h.attributeNamePrefix+"version"];if(k)return k}return"1.0"}function Epe(f,h,g,k,E){return!g.sanitizeName||DX(f,{xmlVersion:E})?f:g.sanitizeName(f,{isAttribute:h,matcher:k.readOnly()})}_g.prototype.build=function(f){if(this.options.preserveOrder)return DHn(f,this.options);{Array.isArray(f)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(f={[this.options.arrayNodeName]:f});const h=new m2e,g=GHn(f,this.options);return this.j2x(f,0,h,g).val}};_g.prototype.j2x=function(f,h,g,k){let E="",A="";if(this.options.maxNestedTags&&g.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");const m=this.options.jPath?g.toString():g,_=this.checkStopNode(g);for(let N in f){if(!Object.prototype.hasOwnProperty.call(f,N))continue;const F=N===this.options.textNodeName||N===this.options.cdataPropName||N===this.options.commentPropName||this.options.attributesGroupName&&N===this.options.attributesGroupName||this.isAttribute(N)||N[0]==="?"?N:Epe(N,!1,this.options,g,k);if(typeof f[N]>"u")this.isAttribute(N)&&(A+="");else if(f[N]===null)this.isAttribute(N)||F===this.options.cdataPropName||F===this.options.commentPropName?A+="":F[0]==="?"?A+=this.indentate(h)+"<"+F+"?"+this.tagEndChar:A+=this.indentate(h)+"<"+F+"/"+this.tagEndChar;else if(f[N]instanceof Date)A+=this.buildTextValNode(f[N],F,"",h,g);else if(typeof f[N]!="object"){const U=this.isAttribute(N);if(U&&!this.ignoreAttributesFn(U,m)){const z=Epe(U,!0,this.options,g,k);E+=this.buildAttrPairStr(z,""+f[N],_)}else if(!U)if(N===this.options.textNodeName){let z=this.options.tagValueProcessor(N,""+f[N]);A+=this.replaceEntitiesValue(z)}else{g.push(F);const z=this.checkStopNode(g);if(g.pop(),z){const W=""+f[N];W===""?A+=this.indentate(h)+"<"+F+this.closeTag(F)+this.tagEndChar:A+=this.indentate(h)+"<"+F+">"+W+""u"))if(V===null)F[0]==="?"?A+=this.indentate(h)+"<"+F+"?"+this.tagEndChar:A+=this.indentate(h)+"<"+F+"/"+this.tagEndChar;else if(typeof V=="object")if(this.options.oneListGroup){g.push(F);const ve=this.j2x(V,h+1,g,k);g.pop(),z+=ve.val,this.options.attributesGroupName&&V.hasOwnProperty(this.options.attributesGroupName)&&(W+=ve.attrStr)}else z+=this.processTextOrObjNode(V,F,h,g,k);else if(this.options.oneListGroup){let ve=this.options.tagValueProcessor(F,V);ve=this.replaceEntitiesValue(ve),z+=ve}else{g.push(F);const ve=this.checkStopNode(g);if(g.pop(),ve){const te=""+V;te===""?z+=this.indentate(h)+"<"+F+this.closeTag(F)+this.tagEndChar:z+=this.indentate(h)+"<"+F+">"+te+"${E}`;else if(typeof E=="object"&&E!==null){const A=this.buildRawContent(E),m=this.buildAttributesForStopNode(E);A===""?h+=`<${g}${m}/>`:h+=`<${g}${m}>${A}`}}else if(typeof k=="object"&&k!==null){const E=this.buildRawContent(k),A=this.buildAttributesForStopNode(k);E===""?h+=`<${g}${A}/>`:h+=`<${g}${A}>${E}`}else h+=`<${g}>${k}`}return h};_g.prototype.buildAttributesForStopNode=function(f){if(!f||typeof f!="object")return"";let h="";if(this.options.attributesGroupName&&f[this.options.attributesGroupName]){const g=f[this.options.attributesGroupName];for(let k in g){if(!Object.prototype.hasOwnProperty.call(g,k))continue;const E=k.startsWith(this.options.attributeNamePrefix)?k.substring(this.options.attributeNamePrefix.length):k,A=g[k];A===!0&&this.options.suppressBooleanAttributes?h+=" "+E:h+=" "+E+'="'+A+'"'}}else for(let g in f){if(!Object.prototype.hasOwnProperty.call(f,g))continue;const k=this.isAttribute(g);if(k){const E=f[g];E===!0&&this.options.suppressBooleanAttributes?h+=" "+k:h+=" "+k+'="'+E+'"'}}return h};_g.prototype.buildObjectNode=function(f,h,g,k){if(f==="")return h[0]==="?"?this.indentate(k)+"<"+h+g+"?"+this.tagEndChar:this.indentate(k)+"<"+h+g+this.closeTag(h)+this.tagEndChar;if(h[0]==="?")return this.indentate(k)+"<"+h+g+"?"+this.tagEndChar;{let E=""+f+E:this.options.commentPropName!==!1&&h===this.options.commentPropName&&A.length===0?this.indentate(k)+``+this.newLine:this.indentate(k)+"<"+h+g+A+this.tagEndChar+f+this.indentate(k)+E}};_g.prototype.closeTag=function(f){let h="";return this.options.unpairedTags.indexOf(f)!==-1?this.options.suppressUnpairedNode||(h="/"):this.options.suppressEmptyNode?h="/":h=`>`+this.newLine}else if(this.options.commentPropName!==!1&&h===this.options.commentPropName){const A=g0n(f);return this.indentate(k)+``+this.newLine}else{if(h[0]==="?")return this.indentate(k)+"<"+h+g+"?"+this.tagEndChar;{let A=this.options.tagValueProcessor(h,f);return A=this.replaceEntitiesValue(A),A===""?this.indentate(k)+"<"+h+g+this.closeTag(h)+this.tagEndChar:this.indentate(k)+"<"+h+g+">"+A+"0&&this.options.processEntities)for(let h=0;h["DataSource","calculationView","viewAttribute","input","mapping","attribute","measure","shape","localVariable","variableMapping","calculatedAttribute","calculatedMeasure","restrictedMeasure","joinAttribute","calculatedViewAttribute","level","hierarchy","valueFilter"].includes(f)});function Cpe(f){var k;const g=UHn.parse(f)["Calculation:scenario"];return{id:g["@_id"],description:VHn(g.descriptions),dataCategory:g["@_dataCategory"]||"DEFAULT",applyPrivilegeType:g["@_applyPrivilegeType"]||"NONE",dataSources:XHn(g.dataSources),calculationViews:WHn(g.calculationViews),logicalModel:tzn(g.logicalModel),localVariables:azn(g.localVariables),variableMappings:hzn(g.variableMappings),layout:dzn(g.layout),_unknownElements:[],outputNodeId:((k=g.logicalModel)==null?void 0:k["@_id"])||void 0}}function VHn(f){return f&&f["@_defaultDescription"]||""}function XHn(f){return!f||!f.DataSource?[]:(Array.isArray(f.DataSource)?f.DataSource:[f.DataSource]).map(g=>({id:g["@_id"],type:KHn(g),schemaName:g["@_schemaName"],objectName:g.resourceUri||g["@_id"],columns:[]}))}function KHn(f){const h=f["@_type"];return h==="calculationView"?"calculationView":h==="view"?"view":"table"}function WHn(f){return!f||!f.calculationView?[]:(Array.isArray(f.calculationView)?f.calculationView:[f.calculationView]).map(YHn)}function YHn(f){var k;const h=QHn(f),g={id:f["@_id"],type:h,inputs:ZHn(f.input),outputColumns:ezn(f.viewAttributes),calculatedColumns:nzn(f.calculatedViewAttributes),filterExpression:((k=f.filter)==null?void 0:k.formula)||void 0};return(h==="join"||h==="nonEquiJoin")&&(g.joinConfig=bzn(f)),g}function QHn(f){const h=f["@_xsi:type"]||"";return h.includes("NonEquiJoinView")?"nonEquiJoin":h.includes("JoinView")?"join":h.includes("UnionView")?"union":h.includes("MinusView")?"minus":h.includes("IntersectView")?"intersect":h.includes("ProjectionView")?"projection":h.includes("AggregationView")?"aggregation":h.includes("RankView")?"rank":h.includes("TableFunctionView")?"tableFunction":h.includes("HierarchyFunctionView")?"hierarchyFunction":"projection"}function ZHn(f){return f?(Array.isArray(f)?f:[f]).map(g=>({name:g["@_name"]||g["@_node"]||"",node:g["@_node"]||""})):[]}function ezn(f){return!f||!f.viewAttribute?[]:(Array.isArray(f.viewAttribute)?f.viewAttribute:[f.viewAttribute]).map(g=>({id:g["@_id"],name:g["@_id"],dataType:g["@_datatype"]||"",semanticType:g["@_semanticType"],aggregationType:g["@_aggregationType"]}))}function nzn(f){return!f||!f.calculatedViewAttribute?[]:(Array.isArray(f.calculatedViewAttribute)?f.calculatedViewAttribute:[f.calculatedViewAttribute]).map(g=>({id:g["@_id"],name:g["@_id"],dataType:g["@_datatype"]||"NVARCHAR",expression:g.formula||"",aggregationType:g["@_aggregationType"]}))}function tzn(f){return f?{attributes:izn(f.attributes),calculatedAttributes:czn(f.calculatedAttributes),baseMeasures:rzn(f.baseMeasures),calculatedMeasures:uzn(f.calculatedMeasures),restrictedMeasures:ozn(f.restrictedMeasures),hierarchies:lzn(f.hierarchies)}:{attributes:[],calculatedAttributes:[],baseMeasures:[],calculatedMeasures:[],restrictedMeasures:[],hierarchies:[]}}function izn(f){return!f||!f.attribute?[]:(Array.isArray(f.attribute)?f.attribute:[f.attribute]).map(g=>{var k;return{id:g["@_id"],name:g["@_id"],dataType:g["@_datatype"]||"",label:((k=g.descriptions)==null?void 0:k["@_defaultDescription"])||"",semanticType:"attribute",hidden:g["@_hidden"]==="true"}})}function rzn(f){return!f||!f.measure?[]:(Array.isArray(f.measure)?f.measure:[f.measure]).map(g=>{var k;return{id:g["@_id"],name:g["@_id"],dataType:g["@_datatype"]||"",label:((k=g.descriptions)==null?void 0:k["@_defaultDescription"])||"",semanticType:"measure",aggregationType:g["@_aggregationType"]||"sum",hidden:g["@_hidden"]==="true"}})}function czn(f){return!f||!f.calculatedAttribute?[]:x4(f.calculatedAttribute).map(g=>{var k;return{id:g["@_id"],name:g["@_id"],dataType:g["@_datatype"]||"NVARCHAR",expression:g.formula||"",aggregationType:g["@_aggregationType"],label:((k=g.descriptions)==null?void 0:k["@_defaultDescription"])||""}})}function uzn(f){return!f||!f.calculatedMeasure?[]:x4(f.calculatedMeasure).map(g=>{var k;return{id:g["@_id"],name:g["@_id"],dataType:g["@_datatype"]||"DECIMAL",expression:g.formula||"",aggregationType:g["@_aggregationType"]||"sum",label:((k=g.descriptions)==null?void 0:k["@_defaultDescription"])||""}})}function ozn(f){return!f||!f.restrictedMeasure?[]:x4(f.restrictedMeasure).map(g=>{var k;return{id:g["@_id"],name:g["@_id"],baseMeasure:g["@_baseMeasure"]||"",label:((k=g.descriptions)==null?void 0:k["@_defaultDescription"])||"",restriction:szn(g.restriction)}})}function szn(f){return f?x4(f.filter).map(g=>{var E;const k=x4(g.valueFilter);return{attributeName:g["@_attributeName"]||"",operator:((E=k[0])==null?void 0:E["@_operator"])||"=",values:k.map(A=>A["@_value"]||"")}}):[]}function lzn(f){return!f||!f.hierarchy?[]:x4(f.hierarchy).map(g=>{var k;return{id:g["@_id"],name:((k=g.descriptions)==null?void 0:k["@_defaultDescription"])||g["@_id"],type:g["@_type"]||"leveled",levels:fzn(g.levels),parentColumn:g.parentColumn||void 0,childColumn:g.childColumn||void 0}})}function fzn(f){return!f||!f.level?void 0:x4(f.level).map(g=>({name:g["@_name"]||"",column:g["@_column"]||"",ordinal:parseInt(g["@_ordinal"]||"0",10)}))}function azn(f){return!f||!f.localVariable?[]:(Array.isArray(f.localVariable)?f.localVariable:[f.localVariable]).map(g=>({id:g["@_id"],name:g["@_id"],dataType:g["@_datatype"]||"NVARCHAR",defaultValue:g["@_defaultValue"],mandatory:g["@_mandatory"]==="true"}))}function hzn(f){return!f||!f.variableMapping?[]:(Array.isArray(f.variableMapping)?f.variableMapping:[f.variableMapping]).map(g=>({sourceVariable:g["@_dataSource"]||"",targetVariable:g["@_target"]||"",nodeId:g["@_node"]||""}))}function dzn(f){return!f||!f.shapes||!f.shapes.shape?{shapes:[]}:{shapes:(Array.isArray(f.shapes.shape)?f.shapes.shape:[f.shapes.shape]).map(g=>{var k,E;return{modelObjectName:g["@_modelObjectName"],modelObjectNameSpace:g["@_modelObjectNameSpace"]||"",expanded:g["@_expanded"]!=="false",upperLeftCorner:{x:parseInt(((k=g.upperLeftCorner)==null?void 0:k["@_x"])||"0",10),y:parseInt(((E=g.upperLeftCorner)==null?void 0:E["@_y"])||"0",10)}}})}}function bzn(f){const h=f["@_joinType"]||"inner",g=f["@_cardinality"]||"C1_1",k=gzn(g),A=x4(f.joinAttribute).map(m=>({leftColumn:typeof m=="string"?m:m["@_name"]||"",rightColumn:typeof m=="string"?m:m["@_name"]||"",operator:"="}));return{joinType:h,cardinality:k,conditions:A}}function gzn(f){return{C1_1:"1..1",C1_N:"1..N",CN_1:"N..1",CN_M:"N..M"}[f]||"1..1"}function x4(f){return f?Array.isArray(f)?f:[f]:[]}const wzn=new _g({ignoreAttributes:!1,attributeNamePrefix:"@_",format:!0,indentBy:" ",suppressEmptyNode:!1});function Ldn(f){const h={"@_xmlns:Calculation":"http://www.sap.com/ndb/BiModelCalculation.ecore","@_id":f.id,"@_applyPrivilegeType":f.applyPrivilegeType,"@_dataCategory":f.dataCategory,descriptions:{"@_defaultDescription":f.description},localVariables:pzn(f),variableMappings:mzn(f),dataSources:vzn(f.dataSources),calculationViews:yzn(f.calculationViews),logicalModel:{"@_id":f.outputNodeId||"",...Azn(f.logicalModel)},layout:Mzn(f)},g={"?xml":{"@_version":"1.0","@_encoding":"UTF-8"},"Calculation:scenario":h};return wzn.build(g)}function pzn(f){return f.localVariables.length===0?"":{localVariable:f.localVariables.map(h=>({"@_id":h.id,"@_datatype":h.dataType,...h.mandatory?{"@_mandatory":"true"}:{},...h.defaultValue!==void 0?{"@_defaultValue":h.defaultValue}:{}}))}}function mzn(f){return f.variableMappings.length===0?"":{variableMapping:f.variableMappings.map(h=>({"@_dataSource":h.sourceVariable,"@_target":h.targetVariable,"@_node":h.nodeId}))}}function vzn(f){return f.length===0?"":{DataSource:f.map(h=>({"@_id":h.id,...h.type!=="table"?{"@_type":h.type}:{},resourceUri:h.objectName}))}}function yzn(f){return f.length===0?"":{calculationView:f.map(kzn)}}function kzn(f){return{"@_xsi:type":Czn(f.type),"@_xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","@_id":f.id,...f.joinConfig?{"@_joinType":f.joinConfig.joinType,"@_cardinality":Ezn(f.joinConfig.cardinality)}:{},viewAttributes:{viewAttribute:f.outputColumns.map(k=>({"@_id":k.id}))},...f.calculatedColumns.length>0?{calculatedViewAttributes:{calculatedViewAttribute:f.calculatedColumns.map(k=>({"@_id":k.id,"@_datatype":k.dataType,"@_expressionLanguage":"SQL",formula:k.expression}))}}:{calculatedViewAttributes:""},input:f.inputs.map(k=>({"@_node":k.node,mapping:f.outputColumns.map(E=>({"@_xsi:type":"Calculation:AttributeMapping","@_target":E.id,"@_source":E.id}))})),...f.filterExpression?{filter:{formula:f.filterExpression}}:{},...f.joinConfig&&f.joinConfig.conditions.length>0?{joinAttribute:f.joinConfig.conditions.map(k=>({"@_name":k.leftColumn}))}:{}}}function Ezn(f){return{"1..1":"C1_1","1..N":"C1_N","N..1":"CN_1","N..M":"CN_M"}[f]||"C1_1"}function Czn(f){return{projection:"Calculation:ProjectionView",aggregation:"Calculation:AggregationView",join:"Calculation:JoinView",nonEquiJoin:"Calculation:NonEquiJoinView",union:"Calculation:UnionView",minus:"Calculation:MinusView",intersect:"Calculation:IntersectView",rank:"Calculation:RankView",tableFunction:"Calculation:TableFunctionView",hierarchyFunction:"Calculation:HierarchyFunctionView"}[f]||"Calculation:ProjectionView"}function Azn(f){return{attributes:f.attributes.length>0?{attribute:f.attributes.map(h=>({"@_id":h.id,"@_attributeHierarchyActive":"false","@_displayAttribute":"false",...h.hidden?{"@_hidden":"true"}:{},descriptions:h.label?{"@_defaultDescription":h.label}:void 0,keyMapping:{"@_columnObjectName":"","@_columnName":h.id}}))}:"",calculatedAttributes:f.calculatedAttributes.length>0?{calculatedAttribute:f.calculatedAttributes.map(h=>({"@_id":h.id,"@_datatype":h.dataType,"@_expressionLanguage":"SQL",formula:h.expression,descriptions:h.label?{"@_defaultDescription":h.label}:void 0}))}:"",baseMeasures:f.baseMeasures.length>0?{measure:f.baseMeasures.map(h=>({"@_id":h.id,"@_aggregationType":h.aggregationType||"sum",...h.hidden?{"@_hidden":"true"}:{},descriptions:h.label?{"@_defaultDescription":h.label}:void 0,measureMapping:{"@_columnObjectName":"","@_columnName":h.id}}))}:"",calculatedMeasures:f.calculatedMeasures.length>0?{calculatedMeasure:f.calculatedMeasures.map(h=>({"@_id":h.id,"@_datatype":h.dataType,"@_aggregationType":h.aggregationType||"sum","@_expressionLanguage":"SQL",formula:h.expression,descriptions:h.label?{"@_defaultDescription":h.label}:void 0}))}:"",restrictedMeasures:f.restrictedMeasures.length>0?{restrictedMeasure:f.restrictedMeasures.map(h=>({"@_id":h.id,"@_baseMeasure":h.baseMeasure,descriptions:h.label?{"@_defaultDescription":h.label}:void 0,restriction:{filter:h.restriction.map(g=>({"@_attributeName":g.attributeName,valueFilter:g.values.map(k=>({"@_operator":g.operator,"@_value":k}))}))}}))}:"",hierarchies:Tzn(f.hierarchies)}}function Tzn(f){return f.length===0?"":{hierarchy:f.map(h=>({"@_id":h.id,"@_type":h.type,descriptions:{"@_defaultDescription":h.name},...h.type==="leveled"&&h.levels?{levels:{level:h.levels.map(g=>({"@_name":g.name,"@_column":g.column,"@_ordinal":String(g.ordinal)}))}}:{},...h.type==="parentChild"?{parentColumn:h.parentColumn,childColumn:h.childColumn}:{}}))}}function Mzn(f){return{shapes:{shape:f.layout.shapes.map(h=>({"@_expanded":h.expanded?"true":"false","@_modelObjectName":h.modelObjectName,"@_modelObjectNameSpace":h.modelObjectNameSpace,upperLeftCorner:{"@_x":String(h.upperLeftCorner.x),"@_y":String(h.upperLeftCorner.y)}}))}}}function qV(f){throw new Error('Could not dynamically require "'+f+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ape={exports:{}},Fdn;function Szn(){return Fdn||(Fdn=1,(function(f,h){(function(g){f.exports=g()})(function(){return(function(){function g(k,E,A){function m(L,F){if(!E[L]){if(!k[L]){var U=typeof qV=="function"&&qV;if(!F&&U)return U(L,!0);if(_)return _(L,!0);var z=new Error("Cannot find module '"+L+"'");throw z.code="MODULE_NOT_FOUND",z}var W=E[L]={exports:{}};k[L][0].call(W.exports,function(ge){var V=k[L][1][ge];return m(V||ge)},W,W.exports,g,k,E,A)}return E[L].exports}for(var _=typeof qV=="function"&&qV,N=0;N0&&arguments[0]!==void 0?arguments[0]:{},V=ge.defaultLayoutOptions,ve=V===void 0?{}:V,te=ge.algorithms,_e=te===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:te,we=ge.workerFactory,Ve=ge.workerUrl;if(m(this,z),this.defaultLayoutOptions=ve,this.initialized=!1,typeof Ve>"u"&&typeof we>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Bn=we;typeof Ve<"u"&&typeof we>"u"&&(Bn=function(Dt){return new Worker(Dt)});var Qn=Bn(Ve);if(typeof Qn.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new U(Qn),this.worker.postMessage({cmd:"register",algorithms:_e}).then(function(mt){return W.initialized=!0}).catch(console.err)}return N(z,[{key:"layout",value:function(ge){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ve=V.layoutOptions,te=ve===void 0?this.defaultLayoutOptions:ve,_e=V.logging,we=_e===void 0?!1:_e,Ve=V.measureExecutionTime,Bn=Ve===void 0?!1:Ve;return ge?this.worker.postMessage({cmd:"layout",graph:ge,layoutOptions:te,options:{logging:we,measureExecutionTime:Bn}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker&&this.worker.terminate()}}])})();var U=(function(){function z(W){var ge=this;if(m(this,z),W===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=W,this.worker.onmessage=function(V){setTimeout(function(){ge.receive(ge,V)},0)}}return N(z,[{key:"postMessage",value:function(ge){var V=this.id||0;this.id=V+1,ge.id=V;var ve=this;return new Promise(function(te,_e){ve.resolvers[V]=function(we,Ve){we?(ve.convertGwtStyleError(we),_e(we)):te(Ve)},ve.worker.postMessage(ge)})}},{key:"receive",value:function(ge,V){var ve=V.data,te=ge.resolvers[ve.id];te&&(delete ge.resolvers[ve.id],ve.error?te(ve.error):te(null,ve.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(ge){if(ge){var V=ge.__java$exception;V&&(V.cause&&V.cause.backingJsObject&&(ge.cause=V.cause.backingJsObject,this.convertGwtStyleError(ge.cause)),delete ge.__java$exception)}}}])})()},{}],2:[function(g,k,E){(function(A){(function(){var m;typeof window<"u"?m=window:typeof A<"u"?m=A:typeof self<"u"&&(m=self);var _;function N(){}function L(){}function F(){}function U(){}function z(){}function W(){}function ge(){}function V(){}function ve(){}function te(){}function _e(){}function we(){}function Ve(){}function Bn(){}function Qn(){}function mt(){}function Dt(){}function hi(){}function Gt(){}function Vt(){}function Ne(){}function q(){}function ce(){}function cn(){}function Se(){}function yn(){}function sn(){}function Ln(){}function An(){}function lt(){}function ii(){}function ki(){}function Li(){}function Xt(){}function ni(){}function an(){}function Zn(){}function gr(){}function yr(){}function Lr(){}function Lt(){}function Kn(){}function Ee(){}function xe(){}function en(){}function Pn(){}function wn(){}function pi(){}function mi(){}function Yt(){}function Ji(){}function Ir(){}function Jc(){}function _u(){}function jg(){}function Z1(){}function OP(){}function DP(){}function LP(){}function B2e(){}function J2e(){}function G2e(){}function H2e(){}function z2e(){}function q2e(){}function U2e(){}function V2e(){}function X2e(){}function K2e(){}function W2e(){}function Y2e(){}function Q2e(){}function Z2e(){}function eme(){}function nme(){}function tme(){}function ime(){}function rme(){}function cme(){}function GT(){}function YX(){}function ume(){}function FP(){}function ome(){}function sme(){}function lme(){}function QX(){}function fme(){}function ame(){}function hme(){}function dme(){}function bme(){}function gme(){}function wme(){}function pme(){}function mme(){}function vme(){}function yme(){}function kme(){}function Eme(){}function Cme(){}function RP(){}function Ame(){}function Tme(){}function Mme(){}function Sme(){}function _me(){}function jme(){}function ZX(){}function eK(){}function Ime(){}function $me(){}function Nme(){}function xme(){}function Pme(){}function Ome(){}function Dme(){}function Lme(){}function Fme(){}function Rme(){}function Bme(){}function Jme(){}function Gme(){}function Hme(){}function zme(){}function qme(){}function Ume(){}function Vme(){}function Xme(){}function Kme(){}function Wme(){}function Yme(){}function Qme(){}function Zme(){}function eve(){}function nve(){}function tve(){}function ive(){}function rve(){}function cve(){}function uve(){}function ove(){}function sve(){}function lve(){}function fve(){}function ave(){}function hve(){}function dve(){}function bve(){}function gve(){}function wve(){}function pve(){}function mve(){}function vve(){}function yve(){}function kve(){}function Eve(){}function Cve(){}function Ave(){}function Tve(){}function Mve(){}function Sve(){}function _ve(){}function jve(){}function Ive(){}function $ve(){}function Nve(){}function xve(){}function Pve(){}function Ove(){}function Dve(){}function Lve(){}function Fve(){}function Rve(){}function Bve(){}function Jve(){}function Gve(){}function Hve(){}function zve(){}function qve(){}function Uve(){}function Vve(){}function Xve(){}function Kve(){}function Wve(){}function Yve(){}function Qve(){}function Zve(){}function e3e(){}function n3e(){}function t3e(){}function i3e(){}function r3e(){}function c3e(){}function u3e(){}function o3e(){}function s3e(){}function l3e(){}function f3e(){}function a3e(){}function h3e(){}function d3e(){}function b3e(){}function g3e(){}function w3e(){}function p3e(){}function m3e(){}function v3e(){}function y3e(){}function k3e(){}function nK(){}function E3e(){}function C3e(){}function A3e(){}function T3e(){}function M3e(){}function S3e(){}function _3e(){}function j3e(){}function I3e(){}function $3e(){}function N3e(){}function x3e(){}function P3e(){}function O3e(){}function D3e(){}function L3e(){}function F3e(){}function R3e(){}function B3e(){}function J3e(){}function G3e(){}function H3e(){}function z3e(){}function q3e(){}function U3e(){}function V3e(){}function X3e(){}function K3e(){}function W3e(){}function Y3e(){}function Q3e(){}function Z3e(){}function e5e(){}function n5e(){}function t5e(){}function i5e(){}function r5e(){}function c5e(){}function u5e(){}function o5e(){}function s5e(){}function l5e(){}function f5e(){}function a5e(){}function h5e(){}function d5e(){}function b5e(){}function g5e(){}function w5e(){}function p5e(){}function m5e(){}function v5e(){}function y5e(){}function k5e(){}function E5e(){}function C5e(){}function A5e(){}function T5e(){}function M5e(){}function S5e(){}function _5e(){}function j5e(){}function I5e(){}function $5e(){}function N5e(){}function x5e(){}function P5e(){}function O5e(){}function D5e(){}function L5e(){}function F5e(){}function R5e(){}function B5e(){}function J5e(){}function G5e(){}function H5e(){}function tK(){}function z5e(){}function q5e(){}function U5e(){}function V5e(){}function X5e(){}function K5e(){}function W5e(){}function Y5e(){}function Q5e(){}function HT(){}function zT(){}function Z5e(){}function iK(){}function eye(){}function nye(){}function tye(){}function iye(){}function rye(){}function cye(){}function rK(){}function cK(){}function uye(){}function uK(){}function oK(){}function oye(){}function sye(){}function s7(){}function lye(){}function fye(){}function aye(){}function hye(){}function dye(){}function bye(){}function gye(){}function wye(){}function pye(){}function mye(){}function vye(){}function yye(){}function kye(){}function Eye(){}function Cye(){}function Aye(){}function Tye(){}function Mye(){}function Sye(){}function _ye(){}function jye(){}function Iye(){}function $ye(){}function Nye(){}function sK(){}function xye(){}function Pye(){}function Oye(){}function Dye(){}function Lye(){}function Fye(){}function Rye(){}function Bye(){}function Jye(){}function Gye(){}function Hye(){}function zye(){}function qye(){}function Uye(){}function Vye(){}function Xye(){}function Kye(){}function Wye(){}function Yye(){}function Qye(){}function Zye(){}function e4e(){}function n4e(){}function t4e(){}function i4e(){}function r4e(){}function c4e(){}function u4e(){}function o4e(){}function s4e(){}function l4e(){}function f4e(){}function a4e(){}function h4e(){}function d4e(){}function b4e(){}function g4e(){}function w4e(){}function p4e(){}function m4e(){}function v4e(){}function y4e(){}function k4e(){}function E4e(){}function C4e(){}function A4e(){}function T4e(){}function M4e(){}function S4e(){}function _4e(){}function j4e(){}function I4e(){}function $4e(){}function N4e(){}function x4e(){}function P4e(){}function O4e(){}function D4e(){}function L4e(){}function F4e(){}function R4e(){}function B4e(){}function J4e(){}function G4e(){}function H4e(){}function z4e(){}function q4e(){}function Zbn(){}function U4e(){}function V4e(){}function X4e(){}function K4e(){}function W4e(){}function Y4e(){}function Q4e(){}function Z4e(){}function e6e(){}function n6e(){}function t6e(){}function i6e(){}function r6e(){}function c6e(){}function u6e(){}function o6e(){}function s6e(){}function l6e(){}function f6e(){}function a6e(){}function h6e(){}function d6e(){}function b6e(){}function g6e(){}function w6e(){}function p6e(){}function m6e(){}function v6e(){}function y6e(){}function k6e(){}function E6e(){}function C6e(){}function A6e(){}function T6e(){}function BP(){}function JP(){}function M6e(){}function GP(){}function S6e(){}function _6e(){}function j6e(){}function I6e(){}function $6e(){}function N6e(){}function x6e(){}function P6e(){}function O6e(){}function D6e(){}function lK(){}function L6e(){}function egn(){}function F6e(){}function R6e(){}function B6e(){}function J6e(){}function G6e(){}function H6e(){}function z6e(){}function q6e(){}function ab(){}function U6e(){}function Em(){}function fK(){}function V6e(){}function X6e(){}function K6e(){}function W6e(){}function Y6e(){}function Q6e(){}function Z6e(){}function e9e(){}function n9e(){}function t9e(){}function i9e(){}function r9e(){}function c9e(){}function u9e(){}function o9e(){}function s9e(){}function l9e(){}function f9e(){}function a9e(){}function h9e(){}function Pe(){}function d9e(){}function b9e(){}function g9e(){}function w9e(){}function p9e(){}function m9e(){}function v9e(){}function y9e(){}function k9e(){}function E9e(){}function C9e(){}function HP(){}function A9e(){}function T9e(){}function zP(){}function M9e(){}function S9e(){}function _9e(){}function qP(){}function qT(){}function UT(){}function j9e(){}function aK(){}function I9e(){}function $9e(){}function VT(){}function N9e(){}function x9e(){}function P9e(){}function XT(){}function O9e(){}function D9e(){}function L9e(){}function F9e(){}function KT(){}function R9e(){}function hK(){}function B9e(){}function UP(){}function dK(){}function J9e(){}function G9e(){}function H9e(){}function z9e(){}function ngn(){}function q9e(){}function U9e(){}function V9e(){}function X9e(){}function K9e(){}function W9e(){}function Y9e(){}function Q9e(){}function Z9e(){}function e8e(){}function x3(){}function VP(){}function n8e(){}function t8e(){}function i8e(){}function r8e(){}function c8e(){}function u8e(){}function o8e(){}function s8e(){}function l8e(){}function f8e(){}function a8e(){}function h8e(){}function d8e(){}function b8e(){}function g8e(){}function w8e(){}function p8e(){}function m8e(){}function v8e(){}function y8e(){}function k8e(){}function E8e(){}function C8e(){}function A8e(){}function T8e(){}function M8e(){}function S8e(){}function _8e(){}function j8e(){}function I8e(){}function $8e(){}function N8e(){}function x8e(){}function P8e(){}function O8e(){}function D8e(){}function L8e(){}function F8e(){}function R8e(){}function B8e(){}function J8e(){}function G8e(){}function H8e(){}function z8e(){}function q8e(){}function U8e(){}function V8e(){}function X8e(){}function K8e(){}function W8e(){}function Y8e(){}function Q8e(){}function Z8e(){}function eke(){}function nke(){}function tke(){}function ike(){}function rke(){}function cke(){}function uke(){}function oke(){}function ske(){}function lke(){}function fke(){}function ake(){}function hke(){}function dke(){}function bke(){}function gke(){}function wke(){}function pke(){}function mke(){}function vke(){}function yke(){}function kke(){}function Eke(){}function Cke(){}function Ake(){}function Tke(){}function Mke(){}function Ske(){}function _ke(){}function jke(){}function Ike(){}function $ke(){}function Nke(){}function xke(){}function Pke(){}function Oke(){}function Dke(){}function Lke(){}function Fke(){}function Rke(){}function Bke(){}function Jke(){}function Gke(){}function Hke(){}function zke(){}function qke(){}function Uke(){}function Vke(){}function bK(){}function Xke(){}function Kke(){}function XP(){H4()}function Wke(){wre()}function Yke(){Ql()}function Qke(){Mie()}function Zke(){tC()}function e7e(){W7()}function n7e(){C7()}function t7e(){E7()}function i7e(){A_e()}function r7e(){av()}function c7e(){ZLe()}function u7e(){$5()}function o7e(){b1()}function s7e(){Sne()}function l7e(){HOe()}function f7e(){Mne()}function a7e(){qOe()}function h7e(){zOe()}function d7e(){UOe()}function b7e(){$Fe()}function g7e(){VOe()}function w7e(){EBe()}function p7e(){ye()}function m7e(){CM()}function v7e(){yBe()}function y7e(){kBe()}function k7e(){qDe()}function E7e(){kue()}function C7e(){CBe()}function A7e(){KOe()}function T7e(){lv()}function M7e(){OGe()}function S7e(){Ih()}function _7e(){Vre()}function j7e(){oC()}function I7e(){qBe()}function $7e(){Nce()}function N7e(){Aze()}function x7e(){XOe()}function P7e(){VXe()}function O7e(){au()}function D7e(){Qf()}function L7e(){Hce()}function F7e(){g1()}function R7e(){_B()}function B7e(){LR()}function J7e(){__()}function gK(){St()}function G7e(){Kj()}function H7e(){lj()}function z7e(){tie()}function wK(){wI()}function pK(){DF()}function gf(){jNe()}function q7e(){Uce()}function mK(e){gn(e)}function U7e(e){this.a=e}function WT(e){this.a=e}function V7e(e){this.a=e}function X7e(e){this.a=e}function K7e(e){this.a=e}function vK(e){this.a=e}function yK(e){this.a=e}function W7e(e){this.a=e}function KP(e){this.a=e}function Y7e(e){this.a=e}function Q7e(e){this.a=e}function Z7e(e){this.a=e}function eEe(e){this.a=e}function nEe(e){this.c=e}function tEe(e){this.a=e}function WP(e){this.a=e}function iEe(e){this.a=e}function rEe(e){this.a=e}function cEe(e){this.a=e}function YP(e){this.a=e}function uEe(e){this.a=e}function oEe(e){this.a=e}function QP(e){this.a=e}function sEe(e){this.a=e}function ZP(e){this.a=e}function lEe(e){this.a=e}function fEe(e){this.a=e}function aEe(e){this.a=e}function hEe(e){this.a=e}function dEe(e){this.a=e}function bEe(e){this.a=e}function gEe(e){this.a=e}function wEe(e){this.a=e}function pEe(e){this.a=e}function mEe(e){this.a=e}function vEe(e){this.a=e}function yEe(e){this.a=e}function kEe(e){this.a=e}function EEe(e){this.a=e}function kK(e){this.a=e}function EK(e){this.a=e}function YT(e){this.a=e}function l7(e){this.a=e}function CK(e){this.b=e}function e0(){this.a=[]}function CEe(e,n){e.a=n}function tgn(e,n){e.a=n}function ign(e,n){e.b=n}function rgn(e,n){e.c=n}function cgn(e,n){e.c=n}function ugn(e,n){e.d=n}function ogn(e,n){e.d=n}function gh(e,n){e.k=n}function AK(e,n){e.j=n}function sgn(e,n){e.c=n}function TK(e,n){e.c=n}function MK(e,n){e.a=n}function lgn(e,n){e.a=n}function fgn(e,n){e.f=n}function agn(e,n){e.a=n}function hgn(e,n){e.b=n}function eO(e,n){e.d=n}function QT(e,n){e.i=n}function SK(e,n){e.o=n}function dgn(e,n){e.r=n}function bgn(e,n){e.a=n}function ggn(e,n){e.b=n}function AEe(e,n){e.e=n}function wgn(e,n){e.f=n}function _K(e,n){e.g=n}function pgn(e,n){e.e=n}function mgn(e,n){e.f=n}function vgn(e,n){e.f=n}function nO(e,n){e.a=n}function tO(e,n){e.b=n}function ygn(e,n){e.n=n}function kgn(e,n){e.a=n}function Egn(e,n){e.c=n}function Cgn(e,n){e.c=n}function Agn(e,n){e.c=n}function Tgn(e,n){e.a=n}function Mgn(e,n){e.a=n}function Sgn(e,n){e.d=n}function _gn(e,n){e.d=n}function jgn(e,n){e.e=n}function Ign(e,n){e.e=n}function $gn(e,n){e.g=n}function Ngn(e,n){e.f=n}function xgn(e,n){e.j=n}function Pgn(e,n){e.a=n}function Ogn(e,n){e.a=n}function Dgn(e,n){e.b=n}function TEe(e){e.b=e.a}function MEe(e){e.c=e.d.d}function jK(e){this.a=e}function wh(e){this.a=e}function ZT(e){this.a=e}function IK(e){this.a=e}function f7(e){this.a=e}function a7(e){this.a=e}function SEe(e){this.a=e}function $K(e){this.a=e}function NK(e){this.a=e}function Ig(e){this.a=e}function iO(e){this.a=e}function ph(e){this.a=e}function $g(e){this.a=e}function _Ee(e){this.a=e}function rO(e){this.b=e}function P3(e){this.b=e}function Np(e){this.b=e}function D4(e){this.d=e}function At(e){this.a=e}function jEe(e){this.a=e}function xK(e){this.a=e}function IEe(e){this.a=e}function $Ee(e){this.a=e}function PK(e){this.a=e}function OK(e){this.a=e}function cO(e){this.c=e}function $(e){this.c=e}function NEe(e){this.c=e}function DK(e){this.a=e}function LK(e){this.a=e}function FK(e){this.a=e}function RK(e){this.a=e}function O3(e){this.a=e}function xEe(e){this.a=e}function PEe(e){this.a=e}function D3(e){this.a=e}function OEe(e){this.a=e}function DEe(e){this.a=e}function LEe(e){this.a=e}function FEe(e){this.a=e}function REe(e){this.a=e}function BEe(e){this.a=e}function JEe(e){this.a=e}function GEe(e){this.a=e}function HEe(e){this.a=e}function zEe(e){this.a=e}function qEe(e){this.a=e}function L4(e){this.a=e}function UEe(e){this.a=e}function VEe(e){this.a=e}function eM(e){this.a=e}function XEe(e){this.a=e}function KEe(e){this.a=e}function BK(e){this.a=e}function WEe(e){this.a=e}function YEe(e){this.a=e}function QEe(e){this.a=e}function JK(e){this.a=e}function GK(e){this.a=e}function HK(e){this.a=e}function F4(e){this.a=e}function L3(e){this.a=e}function ZEe(e){this.a=e}function Cm(e){this.a=e}function zK(e){this.a=e}function eCe(e){this.a=e}function nCe(e){this.a=e}function tCe(e){this.a=e}function iCe(e){this.a=e}function rCe(e){this.a=e}function cCe(e){this.a=e}function uCe(e){this.a=e}function oCe(e){this.a=e}function sCe(e){this.a=e}function lCe(e){this.a=e}function fCe(e){this.a=e}function qK(e){this.a=e}function aCe(e){this.a=e}function hCe(e){this.a=e}function dCe(e){this.a=e}function bCe(e){this.a=e}function gCe(e){this.a=e}function wCe(e){this.a=e}function pCe(e){this.a=e}function mCe(e){this.a=e}function vCe(e){this.a=e}function yCe(e){this.a=e}function kCe(e){this.a=e}function ECe(e){this.a=e}function CCe(e){this.a=e}function ACe(e){this.a=e}function TCe(e){this.a=e}function MCe(e){this.a=e}function SCe(e){this.a=e}function _Ce(e){this.a=e}function jCe(e){this.a=e}function ICe(e){this.a=e}function $Ce(e){this.a=e}function NCe(e){this.a=e}function xCe(e){this.a=e}function PCe(e){this.a=e}function OCe(e){this.a=e}function DCe(e){this.a=e}function LCe(e){this.a=e}function FCe(e){this.a=e}function RCe(e){this.a=e}function BCe(e){this.a=e}function JCe(e){this.a=e}function GCe(e){this.a=e}function HCe(e){this.a=e}function zCe(e){this.a=e}function qCe(e){this.a=e}function UCe(e){this.a=e}function VCe(e){this.b=e}function XCe(e){this.a=e}function KCe(e){this.a=e}function WCe(e){this.a=e}function YCe(e){this.a=e}function QCe(e){this.a=e}function ZCe(e){this.a=e}function eAe(e){this.c=e}function nAe(e){this.a=e}function tAe(e){this.a=e}function iAe(e){this.a=e}function rAe(e){this.a=e}function cAe(e){this.a=e}function uAe(e){this.a=e}function oAe(e){this.a=e}function sAe(e){this.a=e}function lAe(e){this.a=e}function fAe(e){this.a=e}function aAe(e){this.a=e}function hAe(e){this.a=e}function dAe(e){this.a=e}function bAe(e){this.a=e}function gAe(e){this.a=e}function wAe(e){this.a=e}function pAe(e){this.a=e}function mAe(e){this.a=e}function vAe(e){this.a=e}function yAe(e){this.a=e}function kAe(e){this.a=e}function EAe(e){this.a=e}function CAe(e){this.a=e}function AAe(e){this.a=e}function TAe(e){this.a=e}function MAe(e){this.a=e}function SAe(e){this.a=e}function mh(e){this.a=e}function xp(e){this.a=e}function _Ae(e){this.a=e}function jAe(e){this.a=e}function IAe(e){this.a=e}function $Ae(e){this.a=e}function NAe(e){this.a=e}function xAe(e){this.a=e}function PAe(e){this.a=e}function OAe(e){this.a=e}function DAe(e){this.a=e}function LAe(e){this.a=e}function FAe(e){this.a=e}function RAe(e){this.a=e}function BAe(e){this.a=e}function JAe(e){this.a=e}function GAe(e){this.a=e}function HAe(e){this.a=e}function zAe(e){this.a=e}function qAe(e){this.a=e}function UAe(e){this.a=e}function VAe(e){this.a=e}function XAe(e){this.a=e}function KAe(e){this.a=e}function WAe(e){this.a=e}function YAe(e){this.a=e}function QAe(e){this.a=e}function ZAe(e){this.a=e}function nM(e){this.a=e}function eTe(e){this.f=e}function nTe(e){this.a=e}function tTe(e){this.a=e}function iTe(e){this.a=e}function rTe(e){this.a=e}function cTe(e){this.a=e}function uTe(e){this.a=e}function oTe(e){this.a=e}function sTe(e){this.a=e}function lTe(e){this.a=e}function fTe(e){this.a=e}function aTe(e){this.a=e}function hTe(e){this.a=e}function dTe(e){this.a=e}function bTe(e){this.a=e}function gTe(e){this.a=e}function wTe(e){this.a=e}function pTe(e){this.a=e}function mTe(e){this.a=e}function vTe(e){this.a=e}function yTe(e){this.a=e}function kTe(e){this.a=e}function ETe(e){this.a=e}function CTe(e){this.a=e}function ATe(e){this.a=e}function TTe(e){this.a=e}function MTe(e){this.a=e}function STe(e){this.a=e}function uO(e){this.a=e}function UK(e){this.a=e}function ui(e){this.b=e}function _Te(e){this.a=e}function jTe(e){this.a=e}function ITe(e){this.a=e}function $Te(e){this.a=e}function NTe(e){this.a=e}function xTe(e){this.a=e}function PTe(e){this.a=e}function OTe(e){this.b=e}function DTe(e){this.a=e}function h7(e){this.a=e}function LTe(e){this.a=e}function FTe(e){this.a=e}function tM(e){this.a=e}function iM(e){this.a=e}function VK(e){this.c=e}function rM(e){this.e=e}function cM(e){this.e=e}function oO(e){this.a=e}function RTe(e){this.d=e}function BTe(e){this.a=e}function XK(e){this.a=e}function KK(e){this.a=e}function hb(e){this.e=e}function Lgn(){this.a=0}function me(){ED(this)}function Wn(){Au(this)}function sO(){IPe(this)}function JTe(){}function db(){this.c=Rwe}function GTe(e,n){e.b+=n}function Fgn(e,n){n.Wb(e)}function Rgn(e){return e.a}function Bgn(e){return e.a}function Jgn(e){return e.a}function Ggn(e){return e.a}function Hgn(e){return e.a}function x(e){return e.e}function zgn(){return null}function qgn(){return null}function Ugn(e){throw x(e)}function Am(e){this.a=at(e)}function HTe(){this.a=this}function n0(){o$e.call(this)}function Vgn(e){e.b.Mf(e.e)}function zTe(e){e.b=new TO}function R4(e,n){e.b=n-e.b}function B4(e,n){e.a=n-e.a}function qTe(e,n){n.gd(e.a)}function Xgn(e,n){mr(n,e)}function Tn(e,n){e.push(n)}function UTe(e,n){e.sort(n)}function Kgn(e,n,t){e.Wd(t,n)}function d7(e,n){e.e=n,n.b=e}function Wgn(){_W(),mBn()}function VTe(e){d5(),YH.je(e)}function WK(){n0.call(this)}function lO(){n0.call(this)}function YK(){o$e.call(this)}function XTe(){n0.call(this)}function Xs(){n0.call(this)}function KTe(){n0.call(this)}function b7(){n0.call(this)}function Po(){n0.call(this)}function Tm(){n0.call(this)}function bt(){n0.call(this)}function Wc(){n0.call(this)}function WTe(){n0.call(this)}function uM(){this.Bb|=256}function YTe(){this.b=new uIe}function QK(){QK=q,new Wn}function Ng(e,n){e.length=n}function oM(e,n){pe(e.a,n)}function Ygn(e,n){mre(e.c,n)}function Qgn(e,n){ir(e.b,n)}function F3(e,n){Wt(e.e,n)}function Zgn(e,n){Oj(e.a,n)}function ewn(e,n){fR(e.a,n)}function Mm(e){Zj(e.c,e.b)}function nwn(e,n){e.kc().Nb(n)}function ZK(e){this.a=aAn(e)}function tr(){this.a=new Wn}function QTe(){this.a=new Wn}function sM(){this.a=new me}function fO(){this.a=new me}function eW(){this.a=new me}function t0(){this.a=new HLe}function aO(){this.a=new p_e}function nW(){this.a=new xOe}function tW(){this.a=new Z$e}function pl(){this.a=new J2e}function iW(){this.a=new YX}function ZTe(){this.a=new hDe}function eMe(){this.a=new me}function nMe(){this.a=new me}function rW(){this.a=new me}function tMe(){this.a=new me}function iMe(){this.d=new me}function rMe(){this.a=new tr}function cMe(){this.a=new Wn}function uMe(){this.b=new Wn}function oMe(){this.b=new me}function cW(){this.e=new me}function sMe(){this.a=new o7e}function lMe(){this.d=new me}function J4(){JTe.call(this)}function hO(){J4.call(this)}function Sm(){JTe.call(this)}function uW(){Sm.call(this)}function fMe(){WK.call(this)}function lM(){sM.call(this)}function aMe(){pS.call(this)}function hMe(){rW.call(this)}function dMe(){me.call(this)}function bMe(){fOe.call(this)}function gMe(){fOe.call(this)}function wMe(){fW.call(this)}function pMe(){fW.call(this)}function mMe(){fW.call(this)}function vMe(){aW.call(this)}function G4(){_9e.call(this)}function oW(){_9e.call(this)}function ts(){fi.call(this)}function yMe(){PMe.call(this)}function kMe(){PMe.call(this)}function EMe(){Wn.call(this)}function CMe(){Wn.call(this)}function AMe(){Wn.call(this)}function dO(){wBe.call(this)}function TMe(){tr.call(this)}function MMe(){uM.call(this)}function bO(){VY.call(this)}function sW(){Wn.call(this)}function gO(){VY.call(this)}function wO(){Wn.call(this)}function SMe(){Wn.call(this)}function lW(){KT.call(this)}function _Me(){lW.call(this)}function jMe(){KT.call(this)}function IMe(){bK.call(this)}function fW(){this.a=new tr}function $Me(){this.a=new Wn}function NMe(){this.a=new me}function xMe(){this.j=new me}function aW(){this.a=new Wn}function _m(){this.a=new fi}function PMe(){this.a=new O9e}function hW(){this.a=new m6e}function OMe(){this.a=new NSe}function H4(){H4=q,HH=new L}function pO(){pO=q,zH=new LMe}function mO(){mO=q,qH=new DMe}function DMe(){QP.call(this,"")}function LMe(){QP.call(this,"")}function FMe(e){URe.call(this,e)}function RMe(e){URe.call(this,e)}function dW(e){vK.call(this,e)}function bW(e){qSe.call(this,e)}function twn(e){qSe.call(this,e)}function iwn(e){bW.call(this,e)}function rwn(e){bW.call(this,e)}function cwn(e){bW.call(this,e)}function BMe(e){eF.call(this,e)}function JMe(e){eF.call(this,e)}function GMe(e){zIe.call(this,e)}function HMe(e){OW.call(this,e)}function z4(e){yM.call(this,e)}function gW(e){yM.call(this,e)}function zMe(e){yM.call(this,e)}function Yc(e){Fxe.call(this,e)}function qMe(e){Yc.call(this,e)}function jm(){l7.call(this,{})}function vO(e){W3(),this.a=e}function UMe(e){e.b=null,e.c=0}function uwn(e,n){e.e=n,UVe(e,n)}function own(e,n){e.a=n,vIn(e)}function yO(e,n,t){e.a[n.g]=t}function swn(e,n,t){BSn(t,e,n)}function lwn(e,n){Bmn(n.i,e.n)}function VMe(e,n){eCn(e).Ad(n)}function fwn(e,n){return e*e/n}function XMe(e,n){return e.g-n.g}function awn(e,n){e.a.ec().Kc(n)}function hwn(e){return new YT(e)}function dwn(e){return new nw(e)}function KMe(){KMe=q,ofe=new N}function wW(){wW=q,sfe=new Bn}function fM(){fM=q,p8=new Dt}function aM(){aM=q,VH=new HIe}function WMe(){WMe=q,Xnn=new Gt}function hM(e){Hne(),this.a=e}function kO(e){rL(),this.f=e}function Hd(e){rL(),this.f=e}function YMe(e){_Ne(),this.a=e}function dM(e){Yc.call(this,e)}function Yu(e){Yc.call(this,e)}function QMe(e){Yc.call(this,e)}function EO(e){Fxe.call(this,e)}function R3(e){Yc.call(this,e)}function Mn(e){Yc.call(this,e)}function Nc(e){Yc.call(this,e)}function ZMe(e){Yc.call(this,e)}function Im(e){Yc.call(this,e)}function Qh(e){Yc.call(this,e)}function su(e){gn(e),this.a=e}function q4(e){TZ(e,e.length)}function pW(e){return A0(e),e}function xg(e){return!!e&&e.b}function bwn(e){return!!e&&e.k}function gwn(e){return!!e&&e.j}function U4(e){return e.b==e.c}function Ie(e){return gn(e),e}function X(e){return gn(e),e}function g7(e){return gn(e),e}function mW(e){return gn(e),e}function wwn(e){return gn(e),e}function wa(e){Yc.call(this,e)}function Zh(e){Yc.call(this,e)}function $m(e){Yc.call(this,e)}function CO(e){Yc.call(this,e)}function yt(e){Yc.call(this,e)}function AO(e){nQ.call(this,e,0)}function TO(){hee.call(this,12,3)}function MO(){this.a=wt(at(ro))}function eSe(){throw x(new bt)}function vW(){throw x(new bt)}function nSe(){throw x(new bt)}function pwn(){throw x(new bt)}function mwn(){throw x(new bt)}function vwn(){throw x(new bt)}function bM(){bM=q,d5()}function ed(){a7.call(this,"")}function V4(){a7.call(this,"")}function zd(){a7.call(this,"")}function Nm(){a7.call(this,"")}function yW(e){Yu.call(this,e)}function kW(e){Yu.call(this,e)}function pa(e){Mn.call(this,e)}function B3(e){P3.call(this,e)}function tSe(e){B3.call(this,e)}function SO(e){aS.call(this,e)}function ywn(e,n,t){e.c.Cf(n,t)}function kwn(e,n,t){n.Ad(e.a[t])}function Ewn(e,n,t){n.Ne(e.a[t])}function Cwn(e,n){return e.a-n.a}function Awn(e,n){return e.a-n.a}function Twn(e,n){return e.a-n.a}function gM(e,n){return bF(e,n)}function O(e,n){return ROe(e,n)}function Mwn(e,n){return n in e.a}function iSe(e){return e.a?e.b:0}function Swn(e){return e.a?e.b:0}function rSe(e,n){return e.f=n,e}function _wn(e,n){return e.b=n,e}function cSe(e,n){return e.c=n,e}function jwn(e,n){return e.g=n,e}function EW(e,n){return e.a=n,e}function CW(e,n){return e.f=n,e}function Iwn(e,n){return e.f=n,e}function AW(e,n){return e.e=n,e}function $wn(e,n){return e.k=n,e}function TW(e,n){return e.a=n,e}function Nwn(e,n){return e.e=n,e}function xwn(e,n){e.b=new oc(n)}function uSe(e,n){e._d(n),n.$d(e)}function Pwn(e,n){js(),n.n.a+=e}function Own(e,n){b1(),eu(n,e)}function MW(e){GPe.call(this,e)}function oSe(e){GPe.call(this,e)}function sSe(){xY.call(this,"")}function lSe(){this.b=0,this.a=0}function fSe(){fSe=q,otn=d_n()}function Pg(e,n){return e.b=n,e}function wM(e,n){return e.a=n,e}function Og(e,n){return e.c=n,e}function Dg(e,n){return e.d=n,e}function Lg(e,n){return e.e=n,e}function SW(e,n){return e.f=n,e}function X4(e,n){return e.a=n,e}function J3(e,n){return e.b=n,e}function G3(e,n){return e.c=n,e}function De(e,n){return e.c=n,e}function Ke(e,n){return e.b=n,e}function Le(e,n){return e.d=n,e}function Fe(e,n){return e.e=n,e}function Dwn(e,n){return e.f=n,e}function Re(e,n){return e.g=n,e}function Be(e,n){return e.a=n,e}function Je(e,n){return e.i=n,e}function Ge(e,n){return e.j=n,e}function Lwn(e,n){return n.pg(e)}function Fwn(e,n){return e.b-n.b}function Rwn(e,n){return e.g-n.g}function Bwn(e,n){return e.s-n.s}function Jwn(e,n){return e?0:n-1}function aSe(e,n){return e?0:n-1}function Gwn(e,n){return e?n-1:0}function hSe(e,n){return e.k=n,e}function Hwn(e,n){return e.j=n,e}function Gr(){this.a=0,this.b=0}function pM(e){JD.call(this,e)}function qd(e){Nb.call(this,e)}function dSe(e){$L.call(this,e)}function bSe(e){$L.call(this,e)}function gSe(){gSe=q,jr=P_n()}function Ud(){Ud=q,whn=ASn()}function _W(){_W=q,tb=X6()}function H3(){H3=q,Fwe=TSn()}function wSe(){wSe=q,edn=MSn()}function jW(){jW=q,Cu=wIn()}function wf(e){return e.e&&e.e()}function pSe(e,n){return e.c._b(n)}function mSe(e,n){return wGe(e.b,n)}function vSe(e,n){return gpn(e.a,n)}function ySe(e,n){e.b=0,aw(e,n)}function zwn(e,n){e.c=n,e.b=!0}function Pp(e,n){return e.a+=n,e}function _O(e,n){return e.a+=n,e}function nd(e,n){return e.a+=n,e}function bb(e,n){return e.a+=n,e}function i0(e){return kh(e),e.o}function IW(e){CWe(),$Bn(this,e)}function kSe(){throw x(new bt)}function ESe(){throw x(new bt)}function CSe(){throw x(new bt)}function ASe(){throw x(new bt)}function TSe(){throw x(new bt)}function MSe(){throw x(new bt)}function mM(e){this.a=new Pm(e)}function td(e){this.a=new lL(e)}function Op(e,n){for(;e.Pe(n););}function $W(e,n){for(;e.zd(n););}function qwn(e,n,t){X5n(e.a,n,t)}function NW(e,n,t){e.splice(n,t)}function Uwn(e,n){return SLn(n,e)}function xW(e,n){return e.d[n.p]}function w7(e){return e.b!=e.d.c}function SSe(e){return e.l|e.m<<22}function jO(e){return e?e.d:null}function Vwn(e){return e?e.g:null}function Xwn(e){return e?e.i:null}function _Se(e,n){return Xxn(e,n)}function z3(e){return Zd(e),e.a}function jSe(e){e.c?sXe(e):lXe(e)}function ISe(){this.b=new S9(q1e)}function $Se(){this.b=new S9(UU)}function NSe(){this.b=new S9(UU)}function xSe(){this.a=new S9(M0e)}function PSe(){this.a=new S9(W0e)}function vM(e){this.a=0,this.b=e}function OSe(){throw x(new bt)}function DSe(){throw x(new bt)}function LSe(){throw x(new bt)}function FSe(){throw x(new bt)}function RSe(){throw x(new bt)}function BSe(){throw x(new bt)}function JSe(){throw x(new bt)}function GSe(){throw x(new bt)}function HSe(){throw x(new bt)}function zSe(){throw x(new bt)}function Kwn(){throw x(new Wc)}function Wwn(){throw x(new Wc)}function p7(e){this.a=new h_e(e)}function q3(e,n){this.e=e,this.d=n}function PW(e,n){this.b=e,this.c=n}function qSe(e){zY(e.dc()),this.c=e}function m7(e,n){Xp.call(this,e,n)}function U3(e,n){m7.call(this,e,n)}function USe(e,n){this.a=e,this.b=n}function VSe(e,n){this.a=e,this.b=n}function XSe(e,n){this.a=e,this.b=n}function KSe(e,n){this.a=e,this.b=n}function WSe(e,n){this.a=e,this.b=n}function YSe(e,n){this.a=e,this.b=n}function QSe(e,n){this.a=e,this.b=n}function ZSe(e,n){this.b=e,this.a=n}function e_e(e,n){this.b=e,this.a=n}function gb(e,n){this.g=e,this.i=n}function n_e(e,n){this.a=e,this.b=n}function t_e(e,n){this.b=e,this.a=n}function i_e(e,n){this.a=e,this.b=n}function r_e(e,n){this.b=e,this.a=n}function yM(e){this.b=u(at(e),50)}function kM(e){this.b=u(at(e),92)}function ft(e,n){this.f=e,this.g=n}function IO(e,n){this.a=e,this.b=n}function c_e(e,n){this.a=e,this.f=n}function u_e(e){this.a=u(at(e),16)}function OW(e){this.a=u(at(e),16)}function o_e(e,n){this.b=e,this.c=n}function s_e(e){this.a=u(at(e),92)}function Ywn(e,n){this.a=e,this.b=n}function l_e(e,n){this.a=e,this.b=n}function f_e(e,n){return Ju(e.b,n)}function a_e(e,n){return e>n&&n0}function LO(e,n){return zu(e,n)<0}function $_e(e,n){return tL(e.a,n)}function ppn(e,n){POe.call(this,e,n)}function qW(e){AL(),Njn.call(this,e)}function UW(e){AL(),qW.call(this,e)}function VW(e){ZD(),zIe.call(this,e)}function XW(e,n){Mxe(e,e.length,n)}function A7(e,n){nPe(e,e.length,n)}function i6(e,n){return e.a.get(n)}function N_e(e,n){return Ju(e.e,n)}function KW(e){return gn(e),!1}function x_e(){return fSe(),new otn}function T7(e){return qn(e.a),e.b}function P_e(e,n){this.b=e,this.a=n}function IM(e,n){this.d=e,this.e=n}function O_e(e,n){this.a=e,this.b=n}function D_e(e,n){this.a=e,this.b=n}function L_e(e,n){this.a=e,this.b=n}function F_e(e,n){this.a=e,this.b=n}function R_e(e,n){this.b=e,this.a=n}function Om(e,n){this.a=e,this.b=n}function $M(e,n){ft.call(this,e,n)}function FO(e,n){ft.call(this,e,n)}function RO(e,n){ft.call(this,e,n)}function BO(e,n){ft.call(this,e,n)}function JO(e,n){ft.call(this,e,n)}function NM(e,n){ft.call(this,e,n)}function xM(e){nn.call(this,e,21)}function B_e(e,n){this.b=e,this.a=n}function WW(e,n){this.b=e,this.a=n}function YW(e,n){this.b=e,this.a=n}function QW(e,n){ft.call(this,e,n)}function GO(e,n){ft.call(this,e,n)}function M7(e,n){ft.call(this,e,n)}function ZW(e,n){this.b=e,this.a=n}function K3(e,n){this.c=e,this.d=n}function PM(e,n){ft.call(this,e,n)}function OM(e,n){ft.call(this,e,n)}function J_e(e,n){this.e=e,this.d=n}function Dm(e,n){ft.call(this,e,n)}function G_e(e,n){this.a=e,this.b=n}function eY(e,n){ft.call(this,e,n)}function ur(e,n){ft.call(this,e,n)}function DM(e,n){ft.call(this,e,n)}function r6(e,n,t){e.splice(n,0,t)}function mpn(e,n,t){e.Mb(t)&&n.Ad(t)}function vpn(e,n,t){n.Ne(e.a.We(t))}function ypn(e,n,t){n.Bd(e.a.Xe(t))}function kpn(e,n,t){n.Ad(e.a.Kb(t))}function Epn(e,n){return Do(e.c,n)}function Cpn(e,n){return Do(e.e,n)}function H_e(e,n){this.a=e,this.b=n}function z_e(e,n){this.a=e,this.b=n}function q_e(e,n){this.a=e,this.b=n}function U_e(e,n){this.a=e,this.b=n}function V_e(e,n){this.a=e,this.b=n}function X_e(e,n){this.a=e,this.b=n}function K_e(e,n){this.a=e,this.b=n}function W_e(e,n){this.a=e,this.b=n}function Y_e(e,n){this.b=e,this.a=n}function Q_e(e,n){this.b=e,this.a=n}function Z_e(e,n){this.b=e,this.a=n}function eje(e,n){this.b=n,this.c=e}function LM(e,n){ft.call(this,e,n)}function S7(e,n){ft.call(this,e,n)}function nY(e,n){ft.call(this,e,n)}function c6(e,n){ft.call(this,e,n)}function FM(e,n){ft.call(this,e,n)}function HO(e,n){ft.call(this,e,n)}function zO(e,n){ft.call(this,e,n)}function u6(e,n){ft.call(this,e,n)}function o6(e,n){ft.call(this,e,n)}function tY(e,n){ft.call(this,e,n)}function Dp(e,n){ft.call(this,e,n)}function qO(e,n){ft.call(this,e,n)}function s6(e,n){ft.call(this,e,n)}function iY(e,n){ft.call(this,e,n)}function Bg(e,n){ft.call(this,e,n)}function UO(e,n){ft.call(this,e,n)}function VO(e,n){ft.call(this,e,n)}function XO(e,n){ft.call(this,e,n)}function rY(e,n){ft.call(this,e,n)}function _7(e,n){ft.call(this,e,n)}function cY(e,n){ft.call(this,e,n)}function Lp(e,n){ft.call(this,e,n)}function KO(e,n){ft.call(this,e,n)}function RM(e,n){ft.call(this,e,n)}function j7(e,n){ft.call(this,e,n)}function Jg(e,n){ft.call(this,e,n)}function BM(e,n){ft.call(this,e,n)}function uY(e,n){ft.call(this,e,n)}function WO(e,n){ft.call(this,e,n)}function YO(e,n){ft.call(this,e,n)}function QO(e,n){ft.call(this,e,n)}function ZO(e,n){ft.call(this,e,n)}function eD(e,n){ft.call(this,e,n)}function nD(e,n){ft.call(this,e,n)}function JM(e,n){ft.call(this,e,n)}function nje(e,n){this.b=e,this.a=n}function oY(e,n){ft.call(this,e,n)}function tje(e,n){this.a=e,this.b=n}function ije(e,n){this.a=e,this.b=n}function rje(e,n){this.a=e,this.b=n}function sY(e,n){ft.call(this,e,n)}function lY(e,n){ft.call(this,e,n)}function cje(e,n){this.a=e,this.b=n}function Apn(e,n){return t5(),n!=e}function tD(e){return A$n(e,e.c),e}function Tpn(e){m.clearTimeout(e)}function fY(e,n){ft.call(this,e,n)}function aY(e,n){ft.call(this,e,n)}function uje(e,n){this.a=e,this.b=n}function oje(e,n){this.a=e,this.b=n}function sje(e,n){this.b=e,this.d=n}function lje(e,n){this.a=e,this.b=n}function fje(e,n){this.b=e,this.a=n}function GM(e,n){ft.call(this,e,n)}function wb(e,n){ft.call(this,e,n)}function iD(e,n){ft.call(this,e,n)}function HM(e,n){ft.call(this,e,n)}function hY(e,n){ft.call(this,e,n)}function aje(e,n){this.b=e,this.a=n}function hje(e,n){this.b=e,this.a=n}function dje(e,n){this.b=e,this.a=n}function bje(e,n){this.b=e,this.a=n}function dY(e,n){ft.call(this,e,n)}function I7(e,n){ft.call(this,e,n)}function bY(e,n){ft.call(this,e,n)}function rD(e,n){ft.call(this,e,n)}function zM(e,n){ft.call(this,e,n)}function cD(e,n){ft.call(this,e,n)}function uD(e,n){ft.call(this,e,n)}function qM(e,n){ft.call(this,e,n)}function oD(e,n){ft.call(this,e,n)}function gY(e,n){ft.call(this,e,n)}function sD(e,n){ft.call(this,e,n)}function lD(e,n){ft.call(this,e,n)}function $7(e,n){ft.call(this,e,n)}function fD(e,n){ft.call(this,e,n)}function wY(e,n){ft.call(this,e,n)}function N7(e,n){ft.call(this,e,n)}function pY(e,n){ft.call(this,e,n)}function mY(e,n){this.a=e,this.b=n}function gje(e,n){this.a=e,this.b=n}function wje(e,n){this.a=e,this.b=n}function pje(){yS(),this.a=new CQ}function mje(){lI(),this.a=new tr}function vje(){BL(),this.b=new tr}function yje(){fee(),bZ.call(this)}function kje(){lee(),lOe.call(this)}function Eje(){lee(),lOe.call(this)}function x7(e,n){ft.call(this,e,n)}function Lm(e,n){ft.call(this,e,n)}function l6(e,n){ft.call(this,e,n)}function f6(e,n){ft.call(this,e,n)}function P7(e,n){ft.call(this,e,n)}function UM(e,n){ft.call(this,e,n)}function aD(e,n){ft.call(this,e,n)}function VM(e,n){ft.call(this,e,n)}function a6(e,n){ft.call(this,e,n)}function hD(e,n){ft.call(this,e,n)}function XM(e,n){ft.call(this,e,n)}function Fp(e,n){ft.call(this,e,n)}function O7(e,n){ft.call(this,e,n)}function h6(e,n){ft.call(this,e,n)}function d6(e,n){ft.call(this,e,n)}function dD(e,n){ft.call(this,e,n)}function D7(e,n){ft.call(this,e,n)}function KM(e,n){ft.call(this,e,n)}function Rp(e,n){ft.call(this,e,n)}function bD(e,n){ft.call(this,e,n)}function gD(e,n){ft.call(this,e,n)}function WM(e,n){ft.call(this,e,n)}function he(e,n){this.a=e,this.b=n}function Cje(e,n){this.a=e,this.b=n}function Aje(e,n){this.a=e,this.b=n}function Tje(e,n){this.a=e,this.b=n}function Mje(e,n){this.a=e,this.b=n}function Sje(e,n){this.a=e,this.b=n}function _je(e,n){this.a=e,this.b=n}function hc(e,n){this.a=e,this.b=n}function jje(e,n){this.a=e,this.b=n}function Ije(e,n){this.a=e,this.b=n}function $je(e,n){this.a=e,this.b=n}function Nje(e,n){this.a=e,this.b=n}function xje(e,n){this.a=e,this.b=n}function Pje(e,n){this.a=e,this.b=n}function Oje(e,n){this.b=e,this.a=n}function Dje(e,n){this.b=e,this.a=n}function Lje(e,n){this.b=e,this.a=n}function Fje(e,n){this.b=e,this.a=n}function Rje(e,n){this.a=e,this.b=n}function Bje(e,n){this.a=e,this.b=n}function Jje(e,n){this.a=e,this.b=n}function Gje(e,n){this.a=e,this.b=n}function Hje(e,n){this.f=e,this.c=n}function vY(e,n){this.i=e,this.g=n}function YM(e,n){ft.call(this,e,n)}function Fm(e,n){ft.call(this,e,n)}function QM(e,n){this.a=e,this.b=n}function zje(e,n){this.a=e,this.b=n}function yY(e,n){this.d=e,this.e=n}function qje(e,n){this.a=e,this.b=n}function Uje(e,n){this.a=e,this.b=n}function Vje(e,n){this.d=e,this.b=n}function Xje(e,n){this.e=e,this.a=n}function kY(e,n){e.i=null,K_(e,n)}function Mpn(e,n){e&&Pt(mT,e,n)}function Kje(e,n){return vR(e.a,n)}function EY(e,n){return Do(e.g,n)}function Spn(e,n){return Do(n.b,e)}function _pn(e,n){return-e.b.$e(n)}function ZM(e){return WE(e.c,e.b)}function jpn(e,n){Hkn(new Jn(e),n)}function Ipn(e,n,t){zze(n,dB(e,t))}function $pn(e,n,t){zze(n,dB(e,t))}function Wje(e,n){Nkn(e.a,u(n,12))}function Yje(e,n){this.a=e,this.b=n}function L7(e,n){this.b=e,this.c=n}function Kd(e,n){return e.Pd().Xb(n)}function eS(e,n){return tEn(e.Jc(),n)}function Qc(e){return e?e.kd():null}function Z(e){return e??null}function Gg(e){return typeof e===jv}function Hg(e){return typeof e===Cue}function $r(e){return typeof e===cJ}function b6(e,n){return zu(e,n)==0}function nS(e,n){return zu(e,n)>=0}function g6(e,n){return zu(e,n)!=0}function CY(e,n){return e.a+=""+n,e}function Npn(e){return""+(gn(e),e)}function Qje(e){return ls(e),e.d.gc()}function AY(e){return tn(e,0),null}function tS(e){return M6(e==null),e}function w6(e,n){return e.a+=""+n,e}function _c(e,n){return e.a+=""+n,e}function p6(e,n){return e.a+=""+n,e}function Ru(e,n){return e.a+=""+n,e}function _t(e,n){return e.a+=""+n,e}function Zje(e,n){e.q.setTime(m0(n))}function eIe(e,n){kZ.call(this,e,n)}function nIe(e,n){kZ.call(this,e,n)}function iS(e,n){kZ.call(this,e,n)}function uc(e,n){Fi(e,n,e.c.b,e.c)}function Bp(e,n){Fi(e,n,e.a,e.a.a)}function xpn(e,n){return e.j[n.p]==2}function tIe(e,n){return e.a=n.g+1,e}function pf(e){return e.a=0,e.b=0,e}function iIe(e){Au(this),W6(this,e)}function rIe(){this.b=0,this.a=!1}function cIe(){this.b=0,this.a=!1}function uIe(){this.b=new Pm(bw(12))}function oIe(){oIe=q,Qtn=dt(SR())}function sIe(){sIe=q,urn=dt(LVe())}function lIe(){lIe=q,Qsn=dt(iJe())}function TY(){TY=q,QK(),lfe=new Wn}function Ppn(e){return at(e),new m6(e)}function fIe(e,n){return Z(e)===Z(n)}function rS(e){return e<10?"0"+e:""+e}function aIe(e){return so(e.l,e.m,e.h)}function qc(e){return typeof e===Cue}function wD(e,n){return kl(e.a,0,n)}function Rm(e){return nc((gn(e),e))}function Opn(e){return nc((gn(e),e))}function Dpn(e,n){return oi(e.a,n.a)}function MY(e,n){return Bu(e.a,n.a)}function Lpn(e,n){return Zxe(e.a,n.a)}function ma(e,n){return e.indexOf(n)}function SY(e,n){m5(e,0,e.length,n)}function Ft(e,n){SM(),Pt(Vx,e,n)}function Xe(e,n){Ti.call(this,e,n)}function pD(e,n){Kg.call(this,e,n)}function Jp(e,n){vY.call(this,e,n)}function hIe(e,n){G7.call(this,e,n)}function mD(e,n){M5.call(this,e,n)}function Ja(){PK.call(this,new i1)}function dIe(){DS.call(this,0,0,0,0)}function _Y(e){return nu(e.b.b,e,0)}function bIe(e,n){return Bu(e.g,n.g)}function Fpn(e){return e==sg||e==Hw}function Rpn(e){return e==sg||e==Gw}function Bpn(e,n){return Bu(e.g,n.g)}function Jpn(e,n){return js(),n.a+=e}function Gpn(e,n){return js(),n.a+=e}function Hpn(e,n){return js(),n.c+=e}function zpn(e,n){return pe(e.c,n),e}function gIe(e,n){return pe(e.a,n),n}function jY(e,n){return Os(e.a,n),e}function wIe(e){this.a=x_e(),this.b=e}function pIe(e){this.a=x_e(),this.b=e}function oc(e){this.a=e.a,this.b=e.b}function m6(e){this.a=e,XP.call(this)}function mIe(e){this.a=e,XP.call(this)}function ws(e){return e.sh()&&e.th()}function Gp(e){return e!=aa&&e!=J1}function vh(e){return e==Rc||e==zc}function Hp(e){return e==hl||e==la}function vIe(e){return e==Y2||e==W2}function cS(e){return Os(new Qi,e)}function yIe(e){return TL(u(e,125))}function qpn(e,n){return oi(n.f,e.f)}function kIe(e,n){return new M5(n,e)}function Upn(e,n){return new M5(n,e)}function Ks(e,n,t){os(e,n),ss(e,t)}function vD(e,n,t){B_(e,n),J_(e,t)}function pb(e,n,t){Pb(e,n),xb(e,t)}function F7(e,n,t){i2(e,n),r2(e,t)}function R7(e,n,t){c2(e,n),u2(e,t)}function yD(e,n){x5(e,n),E5(e,e.D)}function kD(e){Hje.call(this,e,!0)}function Bm(){Hl.call(this,0,0,0,0)}function EIe(){$M.call(this,"Head",1)}function CIe(){$M.call(this,"Tail",3)}function AIe(e,n,t){hQ.call(this,e,n,t)}function mb(e){DS.call(this,e,e,e,e)}function Wd(e){Sa(),sEn.call(this,e)}function TIe(e){no(e.Qf(),new VEe(e))}function zp(e){return e!=null?vi(e):0}function Vpn(e,n){return fw(n,Hf(e))}function Xpn(e,n){return fw(n,Hf(e))}function Kpn(e,n){return e[e.length]=n}function Wpn(e,n){return e[e.length]=n}function Ypn(e,n){return U_(yL(e.f),n)}function Qpn(e,n){return U_(yL(e.n),n)}function Zpn(e,n){return U_(yL(e.p),n)}function IY(e){return o5n(e.b.Jc(),e.a)}function e2n(e){return e==null?0:vi(e)}function ED(e){e.c=ee(vr,hn,1,0,5,1)}function MIe(e,n,t){Ki(e.c[n.g],n.g,t)}function n2n(e,n,t){u(e.c,72).Ei(n,t)}function t2n(e,n,t){Ks(t,t.i+e,t.j+n)}function Hr(e,n){Ti.call(this,e.b,n)}function i2n(e,n){rt($u(e.a),iDe(n))}function r2n(e,n){rt(us(e.a),rDe(n))}function c2n(e,n){ra||(e.b=n)}function CD(e,n,t){return Ki(e,n,t),t}function gt(){gt=q,new SIe,new me}function SIe(){new Wn,new Wn,new Wn}function u2n(){throw x(new Qh(Nnn))}function o2n(){throw x(new Qh(Nnn))}function s2n(){throw x(new Qh(xnn))}function l2n(){throw x(new Qh(xnn))}function _Ie(){_Ie=q,cU=new a9(kV)}function Bf(){Bf=q,m.Math.log(2)}function Ws(){Ws=q,dh=(S_e(),Ehn)}function v6(e){Kt(),hb.call(this,e)}function jIe(e){this.a=e,UQ.call(this,e)}function AD(e){this.a=e,kM.call(this,e)}function TD(e){this.a=e,kM.call(this,e)}function kr(e,n){nL(e.c,e.c.length,n)}function Zc(e){return e.an?1:0}function NY(e,n){return zu(e,n)>0?e:n}function so(e,n,t){return{l:e,m:n,h:t}}function f2n(e,n){e.a!=null&&Wje(n,e.a)}function a2n(e){tc(e,null),Fr(e,null)}function h2n(e,n,t){return Pt(e.g,t,n)}function d2n(e,n){at(n),Wp(e).Ic(new _e)}function $Ie(){Lie(),this.a=new S9(cae)}function uS(e){this.b=e,this.a=new me}function NIe(e){this.b=new cme,this.a=e}function xY(e){AQ.call(this),this.a=e}function xIe(e){eee.call(this),this.b=e}function PIe(){$M.call(this,"Range",2)}function oS(e){e.j=ee(Efe,be,324,0,0,1)}function OIe(e){e.a=new Xt,e.c=new Xt}function DIe(e){e.a=new Wn,e.e=new Wn}function PY(e){return new he(e.c,e.d)}function b2n(e){return new he(e.c,e.d)}function sc(e){return new he(e.a,e.b)}function g2n(e,n){return Pt(e.a,n.a,n)}function w2n(e,n,t){return Pt(e.k,t,n)}function qp(e,n,t){return iie(n,t,e.c)}function OY(e,n){return Y(kn(e.i,n))}function DY(e,n){return Y(kn(e.j,n))}function LIe(e,n){return WFn(e.a,n,null)}function y6(e,n){return uFn(e.c,e.b,n)}function J(e,n){return e!=null&&$R(e,n)}function FIe(e,n){tt(e),e.Fc(u(n,16))}function p2n(e,n,t){e.c._c(n,u(t,136))}function m2n(e,n,t){e.c.Si(n,u(t,136))}function v2n(e,n,t){return XFn(e,n,t),t}function y2n(e,n){return Is(),n.n.b+=e}function MD(e,n){return LEn(e.Jc(),n)!=-1}function k2n(e,n){return new h$e(e.Jc(),n)}function sS(e){return e.Ob()?e.Pb():null}function RIe(e){return Aa(e,0,e.length)}function BIe(e){GL(e,null),HL(e,null)}function JIe(){G7.call(this,null,null)}function GIe(){bS.call(this,null,null)}function HIe(){ft.call(this,"INSTANCE",0)}function Up(){this.a=ee(vr,hn,1,8,5,1)}function LY(e){this.a=e,Wn.call(this)}function zIe(e){this.a=(un(),new B3(e))}function E2n(e){this.b=(un(),new cO(e))}function W3(){W3=q,Nfe=new vO(null)}function FY(){FY=q,FY(),ftn=new Zn}function pe(e,n){return Tn(e.c,n),!0}function qIe(e,n){e.c&&(cZ(n),kOe(n))}function C2n(e,n){e.q.setHours(n),N9(e,n)}function RY(e,n){return e.a.Ac(n)!=null}function SD(e,n){return e.a.Ac(n)!=null}function Jf(e,n){return e.a[n.c.p][n.p]}function A2n(e,n){return e.e[n.c.p][n.p]}function T2n(e,n){return e.c[n.c.p][n.p]}function _D(e,n,t){return e.a[n.g][t.g]}function M2n(e,n){return e.j[n.p]=NNn(n)}function Jm(e,n){return e.a*n.a+e.b*n.b}function S2n(e,n){return e.a=e}function N2n(e,n,t){return t?n!=0:n!=e-1}function UIe(e,n,t){e.a=n^1502,e.b=t^DJ}function x2n(e,n,t){return e.a=n,e.b=t,e}function yh(e,n){return e.a*=n,e.b*=n,e}function k6(e,n,t){return Ki(e.g,n,t),t}function P2n(e,n,t,i){Ki(e.a[n.g],t.g,i)}function fr(e,n,t){eE.call(this,e,n,t)}function lS(e,n,t){fr.call(this,e,n,t)}function Oo(e,n,t){fr.call(this,e,n,t)}function VIe(e,n,t){lS.call(this,e,n,t)}function BY(e,n,t){eE.call(this,e,n,t)}function Vp(e,n,t){eE.call(this,e,n,t)}function XIe(e,n,t){TS.call(this,e,n,t)}function JY(e,n,t){TS.call(this,e,n,t)}function KIe(e,n,t){JY.call(this,e,n,t)}function WIe(e,n,t){BY.call(this,e,n,t)}function Yd(e){this.c=e,this.a=this.c.a}function Jn(e){this.i=e,this.f=this.i.j}function Xp(e,n){this.a=e,kM.call(this,n)}function YIe(e,n){this.a=e,AO.call(this,n)}function QIe(e,n){this.a=e,AO.call(this,n)}function ZIe(e,n){this.a=e,AO.call(this,n)}function GY(e){this.a=e,nEe.call(this,e.d)}function e$e(e){e.b.Qb(),--e.d.f.d,FS(e.d)}function n$e(e){e.a=u(_n(e.b.a,4),129)}function t$e(e){e.a=u(_n(e.b.a,4),129)}function O2n(e){oE(e,cen),rI(e,qRn(e))}function HY(e,n){return hAn(e,new zd,n).a}function D2n(e){return w7(e.a)?tDe(e):null}function i$e(e){QP.call(this,u(at(e),35))}function r$e(e){QP.call(this,u(at(e),35))}function zY(e){if(!e)throw x(new b7)}function qY(e){if(!e)throw x(new Po)}function $n(e,n){return at(n),new a$e(e,n)}function c$e(e,n){return new Xqe(e.a,e.b,n)}function L2n(e){return e.l+e.m*xv+e.h*x0}function F2n(e){return e==null?null:e.name}function UY(e,n,t){return e.indexOf(n,t)}function fS(e,n){return e.lastIndexOf(n)}function E6(e){return e==null?Ao:Vc(e)}function pn(){pn=q,S1=!1,Jy=!0}function u$e(){u$e=q,PO(),Yhn=new q7e}function VY(){this.Bb|=256,this.Bb|=512}function o$e(){oS(this),ZS(this),this.he()}function aS(e){P3.call(this,e),this.a=e}function XY(e){Np.call(this,e),this.a=e}function KY(e){B3.call(this,e),this.a=e}function vl(e){a7.call(this,(gn(e),e))}function _s(e){a7.call(this,(gn(e),e))}function jD(e){PK.call(this,new Yee(e))}function s$e(e){this.a=e,rO.call(this,e)}function WY(e,n){this.a=n,AO.call(this,e)}function l$e(e,n){this.a=n,eF.call(this,e)}function f$e(e,n){this.a=e,eF.call(this,n)}function a$e(e,n){this.a=n,yM.call(this,e)}function h$e(e,n){this.a=n,yM.call(this,e)}function YY(e){aO.call(this),ic(this,e)}function ps(e){return qn(e.a!=null),e.a}function d$e(e,n){return pe(n.a,e.a),e.a}function b$e(e,n){return pe(n.b,e.a),e.a}function vb(e,n){return pe(n.a,e.a),e.a}function B7(e,n,t){return BF(e,n,n,t),e}function hS(e,n){return++e.b,pe(e.a,n)}function QY(e,n){return++e.b,yo(e.a,n)}function R2n(e,n){return oi(e.c.d,n.c.d)}function B2n(e,n){return oi(e.c.c,n.c.c)}function J2n(e,n){return oi(e.n.a,n.n.a)}function mo(e,n){return u(ri(e.b,n),16)}function G2n(e,n){return e.n.b=(gn(n),n)}function H2n(e,n){return e.n.b=(gn(n),n)}function Do(e,n){return!!n&&e.b[n.g]==n}function C6(e){return Zc(e.a)||Zc(e.b)}function z2n(e,n){return oi(e.e.b,n.e.b)}function q2n(e,n){return oi(e.e.a,n.e.a)}function U2n(e,n,t){return ZDe(e,n,t,e.b)}function ZY(e,n,t){return ZDe(e,n,t,e.c)}function V2n(e){return js(),!!e&&!e.dc()}function g$e(){Q4(),this.b=new jCe(this)}function dS(){dS=q,G$=new Ti(VYe,0)}function Gm(e){this.d=e,Jn.call(this,e)}function Hm(e){this.c=e,Jn.call(this,e)}function J7(e){this.c=e,Gm.call(this,e)}function eQ(e,n){hie.call(this,e,n,null)}function zm(e){return e.a!=null?e.a:null}function yb(e){return e.$H||(e.$H=++bJn)}function cd(e){var n;n=e.a,e.a=e.b,e.b=n}function G7(e,n){t6(),this.a=e,this.b=n}function bS(e,n){rd(),this.b=e,this.c=n}function gS(e,n){rL(),this.f=n,this.d=e}function nQ(e,n){Jee(n,e),this.c=e,this.b=n}function X2n(e,n){return oL(e.c).Kd().Xb(n)}function ID(e,n){return new wNe(e,e.gc(),n)}function K2n(e){return aM(),ht((WOe(),Jnn),e)}function W2n(e){return new ow(3,e)}function Ga(e){return Ps(e,Nw),new eo(e)}function w$e(e){return d5(),parseInt(e)||-1}function Y3(e,n,t){return UY(e,Eo(n),t)}function tQ(e,n,t){u(TE(e,n),22).Ec(t)}function Y2n(e,n,t){fR(e.a,t),Oj(e.a,n)}function Q3(e,n,t){var i;i=e.dd(n),i.Rb(t)}function p$e(e,n,t,i){vZ.call(this,e,n,t,i)}function m$e(e){XQ.call(this,e,null,null)}function $D(e){Fg(),this.b=e,this.a=!0}function v$e(e){EM(),this.b=e,this.a=!0}function y$e(e){if(!e)throw x(new Xs)}function iQ(e){if(!e)throw x(new b7)}function Q2n(e){if(!e)throw x(new lO)}function qn(e){if(!e)throw x(new Wc)}function zg(e){if(!e)throw x(new Po)}function k$e(e){e.d=new m$e(e),e.e=new Wn}function Z3(e){return qn(e.b!=0),e.a.a.c}function Jl(e){return qn(e.b!=0),e.c.b.c}function Z2n(e,n){return BF(e,n,n+1,""),e}function E$e(e){iJ(),zTe(this),this.Df(e)}function C$e(e){this.c=e,this.a=1,this.b=1}function H7(e){J(e,161)&&u(e,161).mi()}function A$e(e){return e.b=u(KZ(e.a),45)}function qg(e,n){return u(Uf(e.a,n),35)}function Zt(e,n){return!!e.q&&Ju(e.q,n)}function emn(e,n){return e>0?n/(e*e):n*100}function nmn(e,n){return e>0?n*n/e:n*n*100}function tmn(e){return e.f!=null?e.f:""+e.g}function ND(e){return e.f!=null?e.f:""+e.g}function imn(e){return Ih(),e.e.a+e.f.a/2}function rmn(e){return Ih(),e.e.b+e.f.b/2}function cmn(e,n,t){return Ih(),t.e.b-e*n}function umn(e,n,t){return Ih(),t.e.a-e*n}function omn(e,n,t){return AM(),t.Lg(e,n)}function smn(e,n){return b1(),Qe(e,n.e,n)}function lmn(e,n,t){return pe(n,XGe(e,t))}function fmn(e,n,t){__(),e.nf(n)&&t.Ad(e)}function Ug(e,n,t){return e.a+=n,e.b+=t,e}function T$e(e,n,t){return e.a-=n,e.b-=t,e}function rQ(e,n){return e.a=n.a,e.b=n.b,e}function wS(e){return e.a=-e.a,e.b=-e.b,e}function M$e(e){this.c=e,os(e,0),ss(e,0)}function S$e(e){fi.call(this),K6(this,e)}function _$e(){ft.call(this,"GROW_TREE",0)}function ms(e,n,t){Fo.call(this,e,n,t,2)}function j$e(e,n){rd(),cQ.call(this,e,n)}function cQ(e,n){rd(),bS.call(this,e,n)}function I$e(e,n){rd(),bS.call(this,e,n)}function $$e(e,n){t6(),G7.call(this,e,n)}function xD(e,n){Ws(),PS.call(this,e,n)}function N$e(e,n){Ws(),xD.call(this,e,n)}function uQ(e,n){Ws(),xD.call(this,e,n)}function x$e(e,n){Ws(),uQ.call(this,e,n)}function oQ(e,n){Ws(),PS.call(this,e,n)}function P$e(e,n){Ws(),oQ.call(this,e,n)}function O$e(e,n){Ws(),PS.call(this,e,n)}function amn(e,n){return e.c.Ec(u(n,136))}function hmn(e,n){return u(kn(e.e,n),26)}function dmn(e,n){return u(kn(e.e,n),26)}function sQ(e,n,t){return yI(SE(e,n),t)}function bmn(e,n,t){return n.xl(e.e,e.c,t)}function gmn(e,n,t){return n.yl(e.e,e.c,t)}function PD(e,n){return f1(e.e,u(n,52))}function wmn(e,n,t){s9($u(e.a),n,iDe(t))}function pmn(e,n,t){s9(us(e.a),n,rDe(t))}function D$e(e,n){return gn(e),e+BD(n)}function mmn(e){return e==null?null:Vc(e)}function vmn(e){return e==null?null:Vc(e)}function ymn(e){return e==null?null:Gjn(e)}function kmn(e){return e==null?null:DRn(e)}function kh(e){e.o==null&&oNn(e)}function je(e){return M6(e==null||Gg(e)),e}function Y(e){return M6(e==null||Hg(e)),e}function wt(e){return M6(e==null||$r(e)),e}function Emn(e,n){return RR(e,n),new SPe(e,n)}function z7(e,n){this.c=e,q3.call(this,e,n)}function A6(e,n){this.a=e,z7.call(this,e,n)}function Cmn(e,n){this.d=e,MEe(this),this.b=n}function lQ(){wBe.call(this),this.Bb|=dc}function L$e(){this.a=new jb,this.b=new jb}function fQ(e){this.q=new m.Date(m0(e))}function Kp(){Kp=q,em=new ui("root")}function e5(){e5=q,yT=new yMe,new kMe}function Vg(){Vg=q,Rfe=ze((As(),nb))}function Amn(e,n){n.a?_$n(e,n):SD(e.a,n.b)}function F$e(e,n){ra||pe(e.a,n)}function Tmn(e,n){return C7(),T5(n.d.i,e)}function Mmn(e,n){return av(),new xXe(n,e)}function Smn(e,n,t){return e.Le(n,t)<=0?t:n}function _mn(e,n,t){return e.Le(n,t)<=0?n:t}function jmn(e,n){return u(Uf(e.b,n),144)}function Imn(e,n){return u(Uf(e.c,n),233)}function OD(e){return u(Te(e.a,e.b),295)}function R$e(e){return new he(e.c,e.d+e.a)}function B$e(e){return gn(e),e?1231:1237}function J$e(e){return Is(),vIe(u(e,203))}function aQ(e,n){return u(kn(e.b,n),278)}function G$e(e,n,t){++e.j,e.oj(n,e.Xi(n,t))}function q7(e,n,t){++e.j,e.rj(),lF(e,n,t)}function hQ(e,n,t){T_.call(this,e,n,t,null)}function H$e(e,n,t){T_.call(this,e,n,t,null)}function dQ(e,n){fF.call(this,e),this.a=n}function bQ(e,n){fF.call(this,e),this.a=n}function Ti(e,n){ui.call(this,e),this.a=n}function gQ(e,n){VK.call(this,e),this.a=n}function DD(e,n){VK.call(this,e),this.a=n}function z$e(e,n){this.c=e,Nb.call(this,n)}function q$e(e,n){this.a=e,OTe.call(this,n)}function U7(e,n){this.a=e,OTe.call(this,n)}function wQ(e,n,t){return t=Fs(e,n,3,t),t}function pQ(e,n,t){return t=Fs(e,n,6,t),t}function mQ(e,n,t){return t=Fs(e,n,9,t),t}function va(e,n){return oE(n,Gue),e.f=n,e}function vQ(e,n){return(n&zt)%e.d.length}function U$e(e,n,t){return tue(e.c,e.b,n,t)}function $mn(e,n,t){return e.apply(n,t)}function V$e(e,n,t){var i;i=e.dd(n),i.Rb(t)}function X$e(e,n,t){return e.a+=Aa(n,0,t),e}function V7(e){return!e.a&&(e.a=new Vt),e.a}function yQ(e,n){var t;return t=e.e,e.e=n,t}function kQ(e,n){var t;return t=n,!!e.De(t)}function u0(e,n){return pn(),e==n?0:e?1:-1}function Xg(e,n){e.a._c(e.b,n),++e.b,e.c=-1}function Nmn(e,n){var t;t=e[OJ],t.call(e,n)}function xmn(e,n){var t;t=e[OJ],t.call(e,n)}function Pmn(e,n,t){r0(),CEe(e,n.Te(e.a,t))}function EQ(e,n,t){return Qm(e,u(n,23),t)}function Gl(e,n){return gM(new Array(n),e)}function Omn(e){return vt(f0(e,32))^vt(e)}function LD(e){return String.fromCharCode(e)}function Dmn(e){return e==null?null:e.message}function FD(e){this.a=(un(),new iO(at(e)))}function K$e(e){this.a=(Ps(e,Nw),new eo(e))}function W$e(e){this.a=(Ps(e,Nw),new eo(e))}function Y$e(){this.a=new me,this.b=new me}function Q$e(){this.a=new YX,this.b=new YTe}function CQ(){this.b=new i1,this.a=new i1}function Z$e(){this.b=new Gr,this.c=new me}function AQ(){this.n=new Gr,this.o=new Gr}function pS(){this.n=new Sm,this.i=new Bm}function eNe(){this.b=new tr,this.a=new tr}function nNe(){this.a=new me,this.d=new me}function tNe(){this.a=new m7e,this.b=new W5e}function iNe(){this.b=new ISe,this.a=new o4e}function rNe(){this.b=new Wn,this.a=new Wn}function cNe(){pS.call(this),this.a=new Gr}function TQ(e,n,t,i){DS.call(this,e,n,t,i)}function Lmn(e,n){return e.n.a=(gn(n),n+10)}function Fmn(e,n){return e.n.a=(gn(n),n+10)}function Rmn(e,n){return C7(),!T5(n.d.i,e)}function uNe(e){Au(e.e),e.d.b=e.d,e.d.a=e.d}function X7(e){e.b?X7(e.b):e.f.c.yc(e.e,e.d)}function Bmn(e,n){vh(e.f)?Z$n(e,n):q_n(e,n)}function oNe(e,n,t){t!=null&&V_(n,GR(e,t))}function sNe(e,n,t){t!=null&&X_(n,GR(e,t))}function qm(e,n,t,i){oe.call(this,e,n,t,i)}function MQ(e,n,t,i){oe.call(this,e,n,t,i)}function lNe(e,n,t,i){MQ.call(this,e,n,t,i)}function fNe(e,n,t,i){zS.call(this,e,n,t,i)}function RD(e,n,t,i){zS.call(this,e,n,t,i)}function aNe(e,n,t,i){RD.call(this,e,n,t,i)}function SQ(e,n,t,i){zS.call(this,e,n,t,i)}function dn(e,n,t,i){SQ.call(this,e,n,t,i)}function _Q(e,n,t,i){RD.call(this,e,n,t,i)}function hNe(e,n,t,i){_Q.call(this,e,n,t,i)}function dNe(e,n,t,i){CZ.call(this,e,n,t,i)}function Kg(e,n){Yu.call(this,s8+e+F0+n)}function Jmn(e,n){return n==e||X5(iI(n),e)}function jQ(e,n){return e.hk().ti().oi(e,n)}function IQ(e,n){return e.hk().ti().qi(e,n)}function Gmn(e,n){return e.e=u(e.d.Kb(n),162)}function bNe(e,n){return Pt(e.a,n,"")==null}function gNe(e,n){return gn(e),Z(e)===Z(n)}function Ye(e,n){return gn(e),Z(e)===Z(n)}function $Q(e,n,t){return e.lastIndexOf(n,t)}function wNe(e,n,t){this.a=e,nQ.call(this,n,t)}function pNe(e){this.c=e,iS.call(this,NC,0)}function mNe(e,n,t){this.c=n,this.b=t,this.a=e}function ei(e,n){return e.a+=n.a,e.b+=n.b,e}function Ar(e,n){return e.a-=n.a,e.b-=n.b,e}function Hmn(e){return Ng(e.j.c,0),e.a=-1,e}function zmn(e,n){var t;return t=n.ni(e.a),t}function NQ(e,n,t){return t=Fs(e,n,11,t),t}function qmn(e,n,t){return oi(e[n.a],e[t.a])}function Umn(e,n){return Bu(e.a.d.p,n.a.d.p)}function Vmn(e,n){return Bu(n.a.d.p,e.a.d.p)}function Xmn(e,n){return oi(e.c-e.s,n.c-n.s)}function Kmn(e,n){return oi(e.b.e.a,n.b.e.a)}function Wmn(e,n){return oi(e.c.e.a,n.c.e.a)}function Ymn(e,n){return ie(n,(ye(),IA),e)}function Qmn(e,n){return e.b.zd(new D_e(e,n))}function Zmn(e,n){return e.b.zd(new L_e(e,n))}function vNe(e,n){return e.b.zd(new F_e(e,n))}function yNe(e,n){return J(n,16)&&dXe(e.c,n)}function kNe(e){return e.c?nu(e.c.a,e,0):-1}function evn(e){return e<100?null:new qd(e)}function Um(e){return e==eb||e==ah||e==Fu}function nvn(e,n,t){return u(e.c,72).Uk(n,t)}function mS(e,n,t){return u(e.c,72).Vk(n,t)}function tvn(e,n,t){return bmn(e,u(n,344),t)}function xQ(e,n,t){return gmn(e,u(n,344),t)}function ivn(e,n,t){return eqe(e,u(n,344),t)}function ENe(e,n,t){return ijn(e,u(n,344),t)}function T6(e,n){return n==null?null:ww(e.b,n)}function rvn(e,n){ra||n&&(e.d=n)}function PQ(e,n){if(!e)throw x(new Mn(n))}function n5(e){if(!e)throw x(new Nc(Aue))}function BD(e){return Hg(e)?(gn(e),e):e.se()}function vS(e){return!isNaN(e)&&!isFinite(e)}function JD(e){OIe(this),ys(this),ic(this,e)}function Uo(e){ED(this),WQ(this.c,0,e.Nc())}function K7(e){t5(),this.d=e,this.a=new Up}function CNe(e,n,t){this.d=e,this.b=t,this.a=n}function Ys(e,n,t){this.a=e,this.b=n,this.c=t}function ANe(e,n,t){this.a=e,this.b=n,this.c=t}function OQ(e,n){this.c=e,bL.call(this,e,n)}function TNe(e,n){a5n.call(this,e,e.length,n)}function GD(e,n){if(e!=n)throw x(new Xs)}function MNe(e){this.a=e,id(),vu(Date.now())}function SNe(e){is(e.a),Xee(e.c,e.b),e.b=null}function HD(){HD=q,$fe=new ni,stn=new an}function zD(e){var n;return n=new U2e,n.e=e,n}function cvn(e,n,t){return r0(),e.a.Wd(n,t),n}function DQ(e,n,t){this.b=e,this.c=n,this.a=t}function LQ(e){var n;return n=new iMe,n.b=e,n}function uvn(e){return Cf(),ht((CFe(),Ttn),e)}function ovn(e){return v5(),ht((LFe(),atn),e)}function svn(e){return il(),ht((EFe(),ptn),e)}function lvn(e){return Xo(),ht((AFe(),Stn),e)}function fvn(e){return ko(),ht((TFe(),jtn),e)}function avn(e){return TI(),ht((oIe(),Qtn),e)}function hvn(e){return Db(),ht((GFe(),ein),e)}function dvn(e){return j5(),ht((HFe(),zin),e)}function bvn(e){return O_(),ht((jLe(),lin),e)}function gvn(e){return q6(),ht((kFe(),Oin),e)}function wvn(e){return Pr(),ht(($Re(),Rin),e)}function pvn(e){return mv(),ht((JFe(),Win),e)}function mvn(e){return En(),ht((ZBe(),ern),e)}function vvn(e){return A5(),ht((ILe(),crn),e)}function qD(e){DS.call(this,e.d,e.c,e.a,e.b)}function FQ(e){DS.call(this,e.d,e.c,e.a,e.b)}function yvn(e){return Br(),ht((sIe(),urn),e)}function _Ne(){_Ne=q,Shn=ee(vr,hn,1,0,5,1)}function jNe(){jNe=q,qhn=ee(vr,hn,1,0,5,1)}function RQ(){RQ=q,Uhn=ee(vr,hn,1,0,5,1)}function W7(){W7=q,X$=new Cve,K$=new Ave}function yS(){yS=q,arn=new Yve,frn=new Qve}function js(){js=q,wrn=new u5e,prn=new o5e}function kvn(e){return Ob(),ht((cFe(),Srn),e)}function Evn(e){return Kl(),ht((VFe(),yrn),e)}function Cvn(e){return kw(),ht((TRe(),Ern),e)}function Avn(e){return aI(),ht((tJe(),_rn),e)}function Tvn(e){return Ev(),ht((cBe(),jrn),e)}function Mvn(e){return S_(),ht((hLe(),Irn),e)}function Svn(e){return f9(),ht((KFe(),$rn),e)}function _vn(e){return H_(),ht((eFe(),Nrn),e)}function jvn(e){return bC(),ht((sJe(),xrn),e)}function Ivn(e){return IE(),ht((dLe(),Prn),e)}function $vn(e){return C0(),ht((nFe(),Drn),e)}function Nvn(e){return Wj(),ht((rBe(),Lrn),e)}function xvn(e){return AE(),ht((bLe(),Frn),e)}function Pvn(e){return uC(),ht((tBe(),Rrn),e)}function Ovn(e){return W5(),ht((iBe(),Brn),e)}function Dvn(e){return kc(),ht((TJe(),Jrn),e)}function Lvn(e){return _5(),ht((tFe(),Grn),e)}function Fvn(e){return o1(),ht((iFe(),Hrn),e)}function Rvn(e){return _h(),ht((rFe(),qrn),e)}function Bvn(e){return b_(),ht((gLe(),Urn),e)}function Jvn(e){return Es(),ht((SRe(),Xrn),e)}function Gvn(e){return p_(),ht((wLe(),Krn),e)}function Hvn(e){return wC(),ht((lJe(),Don),e)}function zvn(e){return r9(),ht((uFe(),Lon),e)}function qvn(e){return yw(),ht((qFe(),Fon),e)}function Uvn(e){return b9(),ht((MRe(),Ron),e)}function Vvn(e){return p1(),ht((AJe(),Bon),e)}function Xvn(e){return Oh(),ht((UFe(),Jon),e)}function Kvn(e){return ME(),ht((pLe(),Gon),e)}function Wvn(e){return yc(),ht((oFe(),zon),e)}function Yvn(e){return rj(),ht((sFe(),qon),e)}function Qvn(e){return i9(),ht((lFe(),Uon),e)}function Zvn(e){return P5(),ht((fFe(),Von),e)}function e3n(e){return G_(),ht((aFe(),Xon),e)}function n3n(e){return cj(),ht((hFe(),Kon),e)}function t3n(e){return oj(),ht((BFe(),lrn),e)}function i3n(e){return T0(),ht((zFe(),bsn),e)}function r3n(e,n){return gn(e),e+(gn(n),n)}function c3n(e){return H6(),ht((mLe(),vsn),e)}function u3n(e){return ya(),ht((yLe(),Msn),e)}function o3n(e){return Gf(),ht((vLe(),_sn),e)}function s3n(e){return yf(),ht((kLe(),Hsn),e)}function t5(){t5=q,H1e=(ke(),In),tx=Dn}function l3n(e){return Ib(),ht((ELe(),Wsn),e)}function f3n(e){return kv(),ht((QFe(),Ysn),e)}function a3n(e){return I9(),ht((lIe(),Qsn),e)}function h3n(e){return t9(),ht((dFe(),Zsn),e)}function d3n(e){return n9(),ht((XFe(),Eln),e)}function b3n(e){return d_(),ht((CLe(),Cln),e)}function g3n(e){return W_(),ht((ALe(),_ln),e)}function w3n(e){return qj(),ht((_Re(),Iln),e)}function p3n(e){return j_(),ht((TLe(),$ln),e)}function m3n(e){return HE(),ht((bFe(),Nln),e)}function v3n(e){return Lj(),ht((YFe(),Qln),e)}function y3n(e){return ij(),ht((gFe(),Zln),e)}function k3n(e){return Aj(),ht((wFe(),efn),e)}function E3n(e){return Vj(),ht((WFe(),tfn),e)}function C3n(e){return vj(),ht((yFe(),cfn),e)}function A3n(e){return!e.e&&(e.e=new me),e.e}function kS(e,n,t){this.e=n,this.b=e,this.d=t}function INe(e,n,t){this.a=e,this.b=n,this.c=t}function $Ne(e,n,t){this.a=e,this.b=n,this.c=t}function BQ(e,n,t){this.a=e,this.b=n,this.c=t}function NNe(e,n,t){this.a=e,this.b=n,this.c=t}function xNe(e,n,t){this.a=e,this.c=n,this.b=t}function ES(e,n,t){this.b=e,this.a=n,this.c=t}function PNe(e,n,t){this.b=e,this.a=n,this.c=t}function UD(e,n){this.c=e,this.a=n,this.b=n-e}function T3n(e){return bj(),ht((mFe(),jfn),e)}function M3n(e){return MM(),ht((HDe(),Ofn),e)}function S3n(e){return mE(),ht((SLe(),Dfn),e)}function _3n(e){return sC(),ht((IRe(),Lfn),e)}function j3n(e){return TM(),ht((GDe(),xfn),e)}function I3n(e){return M9(),ht((jRe(),$fn),e)}function $3n(e){return XE(),ht((vFe(),Nfn),e)}function N3n(e){return k_(),ht((MLe(),Sfn),e)}function x3n(e){return I_(),ht((pFe(),_fn),e)}function P3n(e){return Z4(),ht((zDe(),Zfn),e)}function O3n(e){return LE(),ht((_Le(),ean),e)}function D3n(e){return Ma(),ht((xRe(),uan),e)}function L3n(e){return I0(),ht((eJe(),san),e)}function F3n(e){return Ph(),ht((eRe(),zan),e)}function R3n(e){return ar(),ht((NRe(),Jan),e)}function B3n(e){return D5(),ht((ZFe(),Gan),e)}function J3n(e){return Vf(),ht((MFe(),Han),e)}function G3n(e){return Wa(),ht((QRe(),lan),e)}function H3n(e){return j0(),ht((ZRe(),gan),e)}function z3n(e){return Tw(),ht((aJe(),Wan),e)}function q3n(e){return a2(),ht((PRe(),Yan),e)}function U3n(e){return xr(),ht((nBe(),Qan),e)}function V3n(e){return Ko(),ht((eBe(),Zan),e)}function X3n(e){return Ds(),ht((nRe(),Kan),e)}function K3n(e){return Xj(),ht((YRe(),qan),e)}function W3n(e){return xh(),ht((_Fe(),Van),e)}function Y3n(e){return m_(),ht((tRe(),lhn),e)}function Q3n(e){return as(),ht((fJe(),ohn),e)}function Z3n(e){return gv(),ht((SFe(),shn),e)}function e5n(e){return ke(),ht((ORe(),ehn),e)}function n5n(e){return V6(),ht((jFe(),chn),e)}function t5n(e){return As(),ht((iRe(),uhn),e)}function i5n(e){return yj(),ht((rRe(),fhn),e)}function r5n(e){return sj(),ht((cRe(),dhn),e)}function c5n(e){return Q5(),ht((nJe(),Mhn),e)}function ONe(e,n,t){Ws(),tee.call(this,e,n,t)}function VD(e,n,t){Ws(),LZ.call(this,e,n,t)}function DNe(e,n,t){Ws(),VD.call(this,e,n,t)}function JQ(e,n,t){Ws(),VD.call(this,e,n,t)}function LNe(e,n,t){Ws(),JQ.call(this,e,n,t)}function FNe(e,n,t){Ws(),GQ.call(this,e,n,t)}function GQ(e,n,t){Ws(),LZ.call(this,e,n,t)}function HQ(e,n,t){Ws(),LZ.call(this,e,n,t)}function RNe(e,n,t){Ws(),HQ.call(this,e,n,t)}function BNe(e,n,t){this.a=e,this.c=n,this.b=t}function JNe(e,n,t){this.a=e,this.b=n,this.c=t}function zQ(e,n,t){this.a=e,this.b=n,this.c=t}function qQ(e,n,t){this.a=e,this.b=n,this.c=t}function XD(e,n,t){this.a=e,this.b=n,this.c=t}function GNe(e,n,t){this.a=e,this.b=n,this.c=t}function ud(e,n,t){this.e=e,this.a=n,this.c=t}function UQ(e){this.d=e,MEe(this),this.b=Q5n(e.d)}function VQ(e,n){Ywn.call(this,e,pj(new su(n)))}function Y7(e,n){return at(e),at(n),new VSe(e,n)}function Vm(e,n){return at(e),at(n),new ZNe(e,n)}function u5n(e,n){return at(e),at(n),new exe(e,n)}function o5n(e,n){return at(e),at(n),new r_e(e,n)}function KD(e){return qn(e.b!=0),el(e,e.a.a)}function s5n(e){return qn(e.b!=0),el(e,e.c.b)}function l5n(e){return!e.c&&(e.c=new x3),e.c}function Q7(e){var n;return n=new fi,xF(n,e),n}function HNe(e){var n;return n=new aO,xF(n,e),n}function f5n(e){var n;return n=new tr,kF(n,e),n}function i5(e){var n;return n=new me,kF(n,e),n}function u(e,n){return M6(e==null||$R(e,n)),e}function a5n(e,n,t){Gxe.call(this,n,t),this.a=e}function zNe(e,n){this.c=e,this.b=n,this.a=!1}function qNe(){this.a=";,;",this.b="",this.c=""}function UNe(e,n,t){this.b=e,eIe.call(this,n,t)}function XQ(e,n,t){this.c=e,IM.call(this,n,t)}function KQ(e,n,t){K3.call(this,e,n),this.b=t}function WQ(e,n,t){Gre(t,0,e,n,t.length,!1)}function Ha(e,n,t,i,r){e.b=n,e.c=t,e.d=i,e.a=r}function YQ(e,n,t,i,r){e.d=n,e.c=t,e.a=i,e.b=r}function h5n(e,n){n&&(e.b=n,e.a=(Zd(n),n.a))}function Z7(e,n){if(!e)throw x(new Mn(n))}function Xm(e,n){if(!e)throw x(new Nc(n))}function QQ(e,n){if(!e)throw x(new QMe(n))}function d5n(e,n){return CM(),Bu(e.d.p,n.d.p)}function b5n(e,n){return Ih(),oi(e.e.b,n.e.b)}function g5n(e,n){return Ih(),oi(e.e.a,n.e.a)}function w5n(e,n){return Bu(cxe(e.d),cxe(n.d))}function CS(e,n){return n&&KS(e,n.d)?n:null}function p5n(e,n){return n==(ke(),In)?e.c:e.d}function m5n(e){return new he(e.c+e.b,e.d+e.a)}function VNe(e){return e!=null&&!wR(e,$k,Nk)}function v5n(e,n){return(jGe(e)<<4|jGe(n))&hr}function XNe(e,n,t,i,r){e.c=n,e.d=t,e.b=i,e.a=r}function ZQ(e){var n,t;n=e.b,t=e.c,e.b=t,e.c=n}function eZ(e){var n,t;t=e.d,n=e.a,e.d=n,e.a=t}function y5n(e,n){var t;return t=e.c,Ine(e,n),t}function nZ(e,n){return n<0?e.g=-1:e.g=n,e}function AS(e,n){return a7n(e),e.a*=n,e.b*=n,e}function eE(e,n,t){yY.call(this,e,n),this.c=t}function TS(e,n,t){yY.call(this,e,n),this.c=t}function tZ(e){RQ(),KT.call(this),this._h(e)}function KNe(){w5(),Nyn.call(this,(Vd(),Ol))}function WNe(e){return Kt(),new za(0,e)}function YNe(){YNe=q,FV=(un(),new iO(xH))}function MS(){MS=q,new gie((mO(),qH),(pO(),zH))}function QNe(){this.b=X(Y(Ae((Ql(),wz))))}function WD(e){this.b=e,this.a=s0(this.b.a).Md()}function ZNe(e,n){this.b=e,this.a=n,XP.call(this)}function exe(e,n){this.a=e,this.b=n,XP.call(this)}function nxe(e,n,t){this.a=e,Jp.call(this,n,t)}function txe(e,n,t){this.a=e,Jp.call(this,n,t)}function r5(e,n,t){var i;i=new nw(t),Ul(e,n,i)}function iZ(e,n,t){var i;return i=e[n],e[n]=t,i}function SS(e){var n;return n=e.slice(),bF(n,e)}function _S(e){var n;return n=e.n,e.a.b+n.d+n.a}function ixe(e){var n;return n=e.n,e.e.b+n.d+n.a}function rZ(e){var n;return n=e.n,e.e.a+n.b+n.c}function cZ(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function jt(e,n){return Fi(e,n,e.c.b,e.c),!0}function k5n(e){return e.a?e.a:ML(e)}function M6(e){if(!e)throw x(new R3(null))}function kb(e,n){return m9(e,new K3(n.a,n.b))}function E5n(e){return!Qr(e)&&e.c.i.c==e.d.i.c}function C5n(e,n){return e.c=n)throw x(new fMe)}function Au(e){e.f=new wIe(e),e.i=new pIe(e),++e.g}function GS(e){this.b=new eo(11),this.a=(Sb(),e)}function lL(e){this.b=null,this.a=(Sb(),e||jfe)}function kZ(e,n){this.e=e,this.d=(n&64)!=0?n|ja:n}function Gxe(e,n){this.c=0,this.d=e,this.b=n|64|ja}function Hxe(e){this.a=HHe(e.a),this.b=new Uo(e.b)}function od(e,n,t,i){var r;r=e.i,r.i=n,r.a=t,r.b=i}function EZ(e){var n;for(n=e;n.f;)n=n.f;return n}function cyn(e){return e.e?qee(e.e):null}function I6(e){return Ko(),!e.Gc(Vh)&&!e.Gc(G1)}function zxe(e,n,t){return ny(),RF(e,n)&&RF(e,t)}function qxe(e,n,t){return ZWe(e,u(n,12),u(t,12))}function fL(e,n){return n.Sh()?f1(e.b,u(n,52)):n}function HS(e){return new he(e.c+e.b/2,e.d+e.a/2)}function uyn(e,n,t){n.of(t,X(Y(kn(e.b,t)))*e.a)}function oyn(e,n){n.Tg("General 'Rotator",1),ERn(e)}function Mr(e,n,t,i,r){hF.call(this,e,n,t,i,r,-1)}function $6(e,n,t,i,r){EE.call(this,e,n,t,i,r,-1)}function oe(e,n,t,i){fr.call(this,e,n,t),this.b=i}function zS(e,n,t,i){eE.call(this,e,n,t),this.b=i}function Uxe(e){Hje.call(this,e,!1),this.a=!1}function Vxe(){gD.call(this,"LOOKAHEAD_LAYOUT",1)}function Xxe(){gD.call(this,"LAYOUT_NEXT_LEVEL",3)}function Kxe(e){this.b=e,Gm.call(this,e),n$e(this)}function Wxe(e){this.b=e,J7.call(this,e),t$e(this)}function Yxe(e,n){this.b=e,nEe.call(this,e.b),this.a=n}function Zg(e,n,t){this.a=e,qm.call(this,n,t,5,6)}function CZ(e,n,t,i){this.b=e,fr.call(this,n,t,i)}function a0(e,n,t){Sa(),this.e=e,this.d=n,this.a=t}function Ur(e,n){for(gn(n);e.Ob();)n.Ad(e.Pb())}function qS(e,n){return Kt(),new FZ(e,n,0)}function aL(e,n){return Kt(),new FZ(6,e,n)}function syn(e,n){return Ye(e.substr(0,n.length),n)}function Ju(e,n){return $r(n)?xL(e,n):!!xc(e.f,n)}function lyn(e){return so(~e.l&hs,~e.m&hs,~e.h&Fh)}function hL(e){return typeof e===_C||typeof e===uJ}function Ua(e){return new Sn(new WY(e.a.length,e.a))}function dL(e){return new Ze(null,pyn(e,e.length))}function Qxe(e){if(!e)throw x(new Wc);return e.d}function Ym(e){var n;return n=e9(e),qn(n!=null),n}function fyn(e){var n;return n=YCn(e),qn(n!=null),n}function u5(e,n){var t;return t=e.a.gc(),Jee(n,t),t-n}function ir(e,n){var t;return t=e.a.yc(n,e),t==null}function tE(e,n){return e.a.yc(n,(pn(),S1))==null}function ayn(e,n){return e>0?m.Math.log(e/n):-100}function AZ(e,n){return n?ic(e,n):!1}function Qm(e,n,t){return Xl(e.a,n),iZ(e.b,n.g,t)}function hyn(e,n,t){c5(t,e.a.c.length),Ns(e.a,t,n)}function Q(e,n,t,i){YJe(n,t,e.length),dyn(e,n,t,i)}function dyn(e,n,t,i){var r;for(r=n;r0?1:0}function x6(e){return e.e==0?e:new a0(-e.e,e.d,e.a)}function gyn(e){return e==Ri?lA:e==Tr?"-INF":""+e}function wyn(e){return e==Ri?lA:e==Tr?"-INF":""+e}function pyn(e,n){return o7n(n,e.length),new lxe(e,n)}function ePe(e,n,t,i,r){for(;n=e.g}function EL(e,n,t){var i;return i=NF(e,n,t),_ce(e,i)}function hPe(e,n){var t;t=console[e],t.call(console,n)}function Zm(e,n){var t;t=e.a.length,lw(e,t),WL(e,t,n)}function dPe(e,n){var t;++e.j,t=e.Cj(),e.pj(e.Xi(t,n))}function CL(e,n){for(gn(n);e.c=e?new FW:$7n(e-1)}function yl(e){if(e==null)throw x(new Tm);return e}function gn(e){if(e==null)throw x(new Tm);return e}function Dyn(e){return!e.a&&(e.a=new fr(H1,e,4)),e.a}function Tb(e){return!e.d&&(e.d=new fr(Sc,e,1)),e.d}function Lyn(e){if(e.p!=3)throw x(new Po);return e.e}function Fyn(e){if(e.p!=4)throw x(new Po);return e.e}function Ryn(e){if(e.p!=6)throw x(new Po);return e.f}function Byn(e){if(e.p!=3)throw x(new Po);return e.j}function Jyn(e){if(e.p!=4)throw x(new Po);return e.j}function Gyn(e){if(e.p!=6)throw x(new Po);return e.k}function Qi(){xMe.call(this),Ng(this.j.c,0),this.a=-1}function CPe(){ft.call(this,"DELAUNAY_TRIANGULATION",0)}function Hyn(){return aM(),D(O(Bnn,1),ae,537,0,[VH])}function zyn(e,n,t){return dv(),t.Kg(e,u(n.jd(),147))}function qyn(e,n){rt((!e.a&&(e.a=new U7(e,e)),e.a),n)}function BZ(e,n){e.c<0||e.b.b=0?e.hi(t):xre(e,n)}function l5(e,n){var t;return t=kL("",e),t.n=n,t.i=1,t}function Mb(e){return e.c==-2&&Agn(e,ujn(e.g,e.b)),e.c}function JZ(e){return!e.b&&(e.b=new tM(new wO)),e.b}function APe(e,n){return MS(),new gie(new r$e(e),new i$e(n))}function Vyn(e){return Ps(e,fJ),D_(lc(lc(5,e),e/10|0))}function AL(){AL=q,Hnn=new UW(D(O(J0,1),MI,45,0,[]))}function TPe(){fre.call(this,B0,(wSe(),edn)),aFn(this)}function MPe(){fre.call(this,Ml,(H3(),Fwe)),vLn(this)}function SPe(e,n){E2n.call(this,N7n(at(e),at(n))),this.a=n}function GZ(e,n,t,i){gb.call(this,e,n),this.d=t,this.a=i}function WS(e,n,t,i){gb.call(this,e,t),this.a=n,this.f=i}function _Pe(e,n){this.b=e,bL.call(this,e,n),n$e(this)}function jPe(e,n){this.b=e,OQ.call(this,e,n),t$e(this)}function L6(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function IPe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function f5(e){return!e.a&&(e.a=new tSe(e.c.vc())),e.a}function $Pe(e){return!e.b&&(e.b=new B3(e.c.ec())),e.b}function NPe(e){return!e.d&&(e.d=new P3(e.c.Bc())),e.d}function Va(e,n){for(;n-- >0;)e=e<<1|(e<0?1:0);return e}function xPe(e,n){var t;return t=new ju(e),Tn(n.c,t),t}function Xyn(e,n){uL(u(n.b,68),e),no(n.a,new BK(e))}function PPe(e,n){e.u.Gc((Ko(),Vh))&&t$n(e,n),ikn(e,n)}function Iu(e,n){return Z(e)===Z(n)||e!=null&&Qt(e,n)}function Pt(e,n,t){return $r(n)?Pc(e,n,t):Co(e.f,n,t)}function HZ(e){return un(),e?e.Me():(Sb(),Sb(),Ife)}function Kyn(){return TM(),D(O(Abe,1),ae,477,0,[VU])}function Wyn(){return MM(),D(O(Pfn,1),ae,546,0,[XU])}function Yyn(){return Z4(),D(O(qbe,1),ae,527,0,[XA])}function jc(e,n){return tL(e.a,n)?e.b[u(n,23).g]:null}function Qyn(e){return String.fromCharCode.apply(null,e)}function Wr(e,n){return Nn(n,e.length),e.charCodeAt(n)}function rE(e){return e.j.c.length=0,UZ(e.c),Hmn(e.a),e}function a5(e){return e.e==Fy&&Ign(e,yTn(e.g,e.b)),e.e}function cE(e){return e.f==Fy&&Ngn(e,lSn(e.g,e.b)),e.f}function Zyn(e){return!e.b&&(e.b=new dn(et,e,4,7)),e.b}function zZ(e){return!e.c&&(e.c=new dn(et,e,5,8)),e.c}function qZ(e){return!e.c&&(e.c=new oe(bs,e,9,9)),e.c}function TL(e){return!e.n&&(e.n=new oe(ou,e,1,7)),e.n}function Wp(e){var n;return n=e.b,!n&&(e.b=n=new W7e(e)),n}function UZ(e){var n;for(n=e.Jc();n.Ob();)n.Pb(),n.Qb()}function e4n(e,n,t){var i;i=u(e.d.Kb(t),162),i&&i.Nb(n)}function n4n(e,n){return new oOe(u(at(e),51),u(at(n),51))}function qt(e,n){return a1(e),new Ze(e,new rne(n,e.a))}function Zu(e,n){return a1(e),new Ze(e,new zee(n,e.a))}function tw(e,n){return a1(e),new dQ(e,new XLe(n,e.a))}function YS(e,n){return a1(e),new bQ(e,new KLe(n,e.a))}function OPe(e,n){Bte(e,X($h(n,"x")),X($h(n,"y")))}function DPe(e,n){Bte(e,X($h(n,"x")),X($h(n,"y")))}function t4n(e,n){return RW(),oi((gn(e),e),(gn(n),n))}function i4n(e,n){return oi(e.d.c+e.d.b/2,n.d.c+n.d.b/2)}function r4n(e,n){return oi(e.g.c+e.g.b/2,n.g.c+n.g.b/2)}function c4n(e){return e!=null&&K4(Xx,e.toLowerCase())}function u4n(e){js();var n;n=u(e.g,9),n.n.a=e.d.c+n.d.b}function ML(e){var n;return n=P7n(e),n||null}function Bt(e,n,t,i){return XBe(e,n,t,!1),dj(e,i),e}function o4n(e,n,t){dLn(e.a,t),NEn(t),R$n(e.b,t),PLn(n,t)}function ev(e,n,t,i){ft.call(this,e,n),this.a=t,this.b=i}function QS(e,n,t,i){this.a=e,this.c=n,this.b=t,this.d=i}function VZ(e,n,t,i){this.c=e,this.b=n,this.a=t,this.d=i}function LPe(e,n,t,i){this.c=e,this.b=n,this.d=t,this.a=i}function SL(e,n,t,i){this.a=e,this.e=n,this.d=t,this.c=i}function FPe(e,n,t,i){this.a=e,this.d=n,this.c=t,this.b=i}function Hl(e,n,t,i){this.c=e,this.d=n,this.b=t,this.a=i}function _L(e,n,t){this.a=Iue,this.d=e,this.b=n,this.c=t}function XZ(e,n){this.b=e,this.c=n,this.a=new xm(this.b)}function RPe(e,n){this.d=(gn(e),e),this.a=16449,this.c=n}function BPe(e,n,t,i){HJe.call(this,e,t,i,!1),this.f=n}function jL(e,n,t){var i,r;return i=pue(e),r=n.qi(t,i),r}function Ch(e){var n,t;return t=(n=new db,n),k5(t,e),t}function IL(e){var n,t;return t=(n=new db,n),dre(t,e),t}function JPe(e){return!e.b&&(e.b=new oe(lr,e,12,3)),e.b}function GPe(e){this.a=new me,this.e=ee(pt,be,54,e,0,2)}function $L(e){this.f=e,this.c=this.f.e,e.f>0&&Fze(this)}function HPe(e,n,t,i){this.a=e,this.c=n,this.d=t,this.b=i}function zPe(e,n,t,i){this.a=e,this.b=n,this.d=t,this.c=i}function qPe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function UPe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function d0(e,n,t,i){this.e=e,this.a=n,this.c=t,this.d=i}function VPe(e,n,t,i){Ws(),VLe.call(this,n,t,i),this.a=e}function XPe(e,n,t,i){Ws(),VLe.call(this,n,t,i),this.a=e}function KPe(e,n){this.a=e,Cmn.call(this,e,u(e.d,16).dd(n))}function s4n(e,n){return oi(Lo(e)*vs(e),Lo(n)*vs(n))}function l4n(e,n){return oi(Lo(e)*vs(e),Lo(n)*vs(n))}function nv(e){var n;return n=e.f,n||(e.f=new q3(e,e.c))}function un(){un=q,bc=new Se,rh=new sn,F$=new Ln}function Sb(){Sb=q,jfe=new lt,tz=new lt,Ife=new ii}function h5(e){if(ls(e.d),e.d.d!=e.c)throw x(new Xs)}function ys(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function KZ(e){return qn(e.b0?ql(e):new me}function ZS(e){return e.n&&(e.e!==dYe&&e.he(),e.j=null),e}function WZ(e,n){return e.b=n.b,e.c=n.c,e.d=n.d,e.a=n.a,e}function a4n(e,n,t){return pe(e.a,(RR(n,t),new gb(n,t))),e}function h4n(e,n){return u(M(e,(se(),Zv)),16).Ec(n),n}function d4n(e,n){return Qe(e,u(M(n,(ye(),Zw)),15),n)}function b4n(e){return zb(e)&&Ie(je(fe(e,(ye(),U0))))}function g4n(e,n,t){return Q4(),pAn(u(kn(e.e,n),516),t)}function w4n(e,n,t){e.i=0,e.e=0,n!=t&&RJe(e,n,t)}function p4n(e,n,t){e.i=0,e.e=0,n!=t&&BJe(e,n,t)}function WPe(e,n,t,i){this.b=e,this.c=i,iS.call(this,n,t)}function YPe(e,n){this.g=e,this.d=D(O(uh,1),Ed,9,0,[n])}function QPe(e,n){e.d&&!e.d.a&&(GTe(e.d,n),QPe(e.d,n))}function ZPe(e,n){e.e&&!e.e.a&&(GTe(e.e,n),ZPe(e.e,n))}function eOe(e,n){return f2(e.j,n.s,n.c)+f2(n.e,e.s,e.c)}function m4n(e,n){return-oi(Lo(e)*vs(e),Lo(n)*vs(n))}function v4n(e){return u(e.jd(),147).Og()+":"+Vc(e.kd())}function nOe(){sB(this,new wK),this.wb=(Qd(),vn),H3()}function tOe(e){this.b=new pye,this.a=e,m.Math.random()}function iOe(e){this.b=new me,wr(this.b,this.b),this.a=e}function YZ(e,n){new fi,this.a=new ts,this.b=e,this.c=n}function rOe(){Yc.call(this,"There is no more element.")}function y4n(e){bM(),m.setTimeout(function(){throw e},0)}function k4n(e){e.Tg("No crossing minimization",1),e.Ug()}function E4n(e,n){return ks(e),ks(n),XMe(u(e,23),u(n,23))}function b0(e,n,t){var i,r;i=BD(t),r=new YT(i),Ul(e,n,r)}function NL(e,n,t,i,r,c){EE.call(this,e,n,t,i,r,c?-2:-1)}function cOe(e,n,t,i){yY.call(this,n,t),this.b=e,this.a=i}function QZ(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function e_(e){return!e.a&&(e.a=new oe(Et,e,10,11)),e.a}function ci(e){return!e.q&&(e.q=new oe(Pl,e,11,10)),e.q}function ue(e){return!e.s&&(e.s=new oe(Io,e,21,17)),e.s}function uOe(e){return M6(e==null||hL(e)&&e.Rm!==Ne),e}function n_(e,n){if(e==null)throw x(new Im(n));return e}function oOe(e,n){iwn.call(this,new lL(e)),this.a=e,this.b=n}function xL(e,n){return n==null?!!xc(e.f,null):q5n(e.i,n)}function PL(e){return J(e,18)?new Yg(u(e,18)):f5n(e.Jc())}function t_(e){return un(),J(e,59)?new SO(e):new aS(e)}function C4n(e){return at(e),eze(new Sn($n(e.a.Jc(),new V)))}function A4n(e){return new YIe(e,e.e.Pd().gc()*e.c.Pd().gc())}function T4n(e){return new QIe(e,e.e.Pd().gc()*e.c.Pd().gc())}function ZZ(e){return e&&e.hashCode?e.hashCode():yb(e)}function M4n(e){e&&r_(e,e.ge())}function S4n(e,n){var t;return t=RY(e.a,n),t&&(n.d=null),t}function sOe(e,n,t){return e.f?e.f.cf(n,t):!1}function uE(e,n,t,i){Ki(e.c[n.g],t.g,i),Ki(e.c[t.g],n.g,i)}function OL(e,n,t,i){Ki(e.c[n.g],n.g,t),Ki(e.b[n.g],n.g,i)}function _4n(e,n,t){return X(Y(t.a))<=e&&X(Y(t.b))>=n}function lOe(){this.d=new fi,this.b=new Wn,this.c=new me}function fOe(){this.b=new tr,this.d=new fi,this.e=new lM}function eee(){this.c=new Gr,this.d=new Gr,this.e=new Gr}function _b(){this.a=new ts,this.b=(Ps(3,Nw),new eo(3))}function aOe(e){this.c=e,this.b=new td(u(at(new H2e),51))}function hOe(e){this.c=e,this.b=new td(u(at(new wme),51))}function dOe(e){this.b=e,this.a=new td(u(at(new rme),51))}function sd(e,n){this.e=e,this.a=vr,this.b=jXe(n),this.c=n}function i_(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function bOe(e,n,t,i,r,c){this.a=e,SF.call(this,n,t,i,r,c)}function gOe(e,n,t,i,r,c){this.a=e,SF.call(this,n,t,i,r,c)}function e1(e,n,t,i,r,c,o){return new ZL(e.e,n,t,i,r,c,o)}function j4n(e,n,t){return t>=0&&Ye(e.substr(t,n.length),n)}function wOe(e,n){return J(n,147)&&Ye(e.b,u(n,147).Og())}function I4n(e,n){return e.a?n.Dh().Jc():u(n.Dh(),72).Gi()}function pOe(e,n){var t;return t=e.b.Oc(n),fLe(t,e.b.gc()),t}function oE(e,n){if(e==null)throw x(new Im(n));return e}function Gc(e){return e.u||(rs(e),e.u=new q$e(e,e)),e.u}function vo(e){var n;return n=u(_n(e,16),29),n||e.fi()}function r_(e,n){var t;return t=i0(e.Pm),n==null?t:t+": "+n}function kl(e,n,t){return zr(n,t,e.length),e.substr(n,t-n)}function mOe(e,n){pS.call(this),wne(this),this.a=e,this.c=n}function vOe(){gD.call(this,"FIXED_INTEGER_RATIO_BOXES",2)}function $4n(){return S_(),D(O(ihe,1),ae,422,0,[the,Gz])}function N4n(){return IE(),D(O(hhe,1),ae,419,0,[vN,ahe])}function x4n(){return AE(),D(O(ghe,1),ae,476,0,[bhe,kN])}function P4n(){return b_(),D(O(jhe,1),ae,420,0,[lq,_he])}function O4n(){return p_(),D(O(Hhe,1),ae,423,0,[vq,mq])}function D4n(){return ME(),D(O(I1e,1),ae,421,0,[Yq,Qq])}function L4n(){return H6(),D(O(msn,1),ae,518,0,[ek,Z8])}function F4n(){return Gf(),D(O(Ssn,1),ae,508,0,[Y0,ua])}function R4n(){return ya(),D(O(Tsn,1),ae,509,0,[mg,jd])}function B4n(){return yf(),D(O(Gsn,1),ae,515,0,[op,O1])}function J4n(){return Ib(),D(O(Ksn,1),ae,454,0,[D1,Q2])}function G4n(){return d_(),D(O(T0e,1),ae,425,0,[yU,A0e])}function H4n(){return W_(),D(O(M0e,1),ae,487,0,[ax,nm])}function z4n(){return j_(),D(O(_0e,1),ae,426,0,[S0e,MU])}function q4n(){return O_(),D(O(Hfe,1),ae,424,0,[bz,H$])}function U4n(){return A5(),D(O(rrn,1),ae,502,0,[pA,Sz])}function V4n(){return k_(),D(O(pbe,1),ae,478,0,[HU,wbe])}function X4n(){return mE(),D(O(Tbe,1),ae,428,0,[KU,Ex])}function K4n(){return LE(),D(O(Vbe,1),ae,427,0,[Ax,Ube])}function c_(e,n,t,i){return t>=0?e.Rh(n,t,i):e.zh(null,t,i)}function sE(e){return e.b.b==0?e.a.uf():KD(e.b)}function W4n(e){if(e.p!=5)throw x(new Po);return vt(e.f)}function Y4n(e){if(e.p!=5)throw x(new Po);return vt(e.k)}function nee(e){return Z(e.a)===Z((DF(),OV))&&cFn(e),e.a}function yOe(e,n){bgn(this,new he(e.a,e.b)),ggn(this,Q7(n))}function jb(){rwn.call(this,new Pm(bw(12))),zY(!0),this.a=2}function DL(e,n,t){Kt(),hb.call(this,e),this.b=n,this.a=t}function tee(e,n,t){Ws(),rM.call(this,n),this.a=e,this.b=t}function Q4n(e,n){var t=WH[e.charCodeAt(0)];return t??e}function u_(e,n){return n_(e,"set1"),n_(n,"set2"),new l_e(e,n)}function o_(e,n){return sLe(n),v7n(e,ee(pt,Ot,30,n,15,1),n)}function Z4n(e,n){e.b=n,e.c>0&&e.b>0&&(e.g=xS(e.c,e.b,e.a))}function e6n(e,n){e.c=n,e.c>0&&e.b>0&&(e.g=xS(e.c,e.b,e.a))}function kOe(e){var n;n=e.c.d.b,e.b=n,e.a=e.c.d,n.a=e.c.d.b=e}function EOe(e){return e.b==0?null:(qn(e.b!=0),el(e,e.a.a))}function Gu(e,n){return n==null?Qc(xc(e.f,null)):i6(e.i,n)}function COe(e,n,t,i,r){return new fB(e,(v5(),uz),n,t,i,r)}function LL(e,n,t,i){var r;r=new cNe,n.a[t.g]=r,Qm(e.b,i,r)}function AOe(e,n){var t,i;return t=n,i=new gr,fWe(e,t,i),i.d}function n6n(e,n){var t;return t=d7n(e.f,n),ei(wS(t),e.f.d)}function lE(e){var n;S7n(e.a),TIe(e.a),n=new eM(e.a),Kte(n)}function t6n(e,n){mXe(e,!0),no(e.e.Pf(),new DQ(e,!0,n))}function i6n(e,n){return Ih(),u(M(n,(au(),Ba)),15).a==e}function nc(e){return Math.max(Math.min(e,zt),-2147483648)|0}function TOe(e){pS.call(this),wne(this),this.a=e,this.c=!0}function iee(e,n,t){this.a=new me,this.e=e,this.f=n,this.c=t}function s_(e,n,t){this.c=new me,this.e=e,this.f=n,this.b=t}function MOe(e,n,t){this.i=new me,this.b=e,this.g=n,this.a=t}function SOe(e){this.a=u(at(e),277),this.b=(un(),new KY(e))}function d5(){d5=q;var e,n;n=!eTn(),e=new mt,YH=n?new Qn:e}function ree(){ree=q,ytn=new Z1,Etn=new dZ,ktn=new G2e}function ya(){ya=q,mg=new sY(Ov,0),jd=new sY(Pv,1)}function Gf(){Gf=q,Y0=new lY(GJ,0),ua=new lY("UP",1)}function Ib(){Ib=q,D1=new aY(Pv,0),Q2=new aY(Ov,1)}function Yp(e,n,t){l_(),e&&Pt(NV,e,n),e&&Pt(mT,e,t)}function cee(e,n,t){var i;i=e.Fh(n),i>=0?e.$h(i,t):sce(e,n,t)}function _Oe(e,n){var t;for(at(n),t=e.a;t;t=t.c)n.Wd(t.g,t.i)}function fE(e,n){var t;t=e.q.getHours(),e.q.setDate(n),N9(e,t)}function jOe(e){var n;return n=new mM(bw(e.length)),ute(n,e),n}function r6n(e){function n(){}return n.prototype=e||{},new n}function c6n(e,n){return bJe(e,n)?(bBe(e),!0):!1}function Ah(e,n){if(n==null)throw x(new Tm);return cTn(e,n)}function u6n(e){if(e.ye())return null;var n=e.n;return N$[n]}function iw(e){return e.Db>>16!=3?null:u(e.Cb,26)}function Hf(e){return e.Db>>16!=9?null:u(e.Cb,26)}function IOe(e){return e.Db>>16!=6?null:u(e.Cb,85)}function $Oe(e,n){var t;return t=e.Fh(n),t>=0?e.Th(t):wB(e,n)}function FL(e,n,t){var i;i=PJe(e,n,t),e.b=new Q_(i.c.length)}function NOe(e){this.a=e,this.b=ee(gsn,be,2005,e.e.length,0,2)}function xOe(){this.a=new Ja,this.e=new tr,this.g=0,this.i=0}function POe(e,n){oS(this),this.f=n,this.g=e,ZS(this),this.he()}function OOe(e,n){return e.b+=n.b,e.c+=n.c,e.d+=n.d,e.a+=n.a,e}function uee(e){var n;return n=e.d,n=e._i(e.f),rt(e,n),n.Ob()}function DOe(e,n){var t;return t=new lZ(n),hqe(t,e),new Uo(t)}function o6n(e){if(e.p!=0)throw x(new Po);return g6(e.f,0)}function s6n(e){if(e.p!=0)throw x(new Po);return g6(e.k,0)}function LOe(e){return e.Db>>16!=7?null:u(e.Cb,241)}function oee(e){return e.Db>>16!=7?null:u(e.Cb,174)}function FOe(e){return e.Db>>16!=3?null:u(e.Cb,158)}function b5(e){return e.Db>>16!=6?null:u(e.Cb,241)}function Ii(e){return e.Db>>16!=11?null:u(e.Cb,26)}function rw(e){return e.Db>>16!=17?null:u(e.Cb,29)}function F6(e,n,t,i,r,c){return new jh(e.e,n,e.Jj(),t,i,r,c)}function Pc(e,n,t){return n==null?Co(e.f,null,t):Lb(e.i,n,t)}function RL(e,n){return m.Math.abs(e)0}function see(e){var n;return a1(e),n=new tr,qt(e,new BEe(n))}function ROe(e,n){var t=e.a=e.a||[];return t[n]||(t[n]=e.te(n))}function d6n(e,n){var t;t=e.q.getHours(),e.q.setMonth(n),N9(e,t)}function tc(e,n){e.c&&yo(e.c.g,e),e.c=n,e.c&&pe(e.c.g,e)}function Er(e,n){e.c&&yo(e.c.a,e),e.c=n,e.c&&pe(e.c.a,e)}function Fr(e,n){e.d&&yo(e.d.e,e),e.d=n,e.d&&pe(e.d.e,e)}function eu(e,n){e.i&&yo(e.i.j,e),e.i=n,e.i&&pe(e.i.j,e)}function BOe(e,n,t){this.a=n,this.c=e,this.b=(at(t),new Uo(t))}function JOe(e,n,t){this.a=n,this.c=e,this.b=(at(t),new Uo(t))}function GOe(e,n){this.a=e,this.c=sc(this.a),this.b=new i_(n)}function cw(e,n){if(e<0||e>n)throw x(new Yu(Rue+e+Bue+n))}function HOe(){HOe=q,nsn=Qu(new Qi,(Pr(),Tc),(Br(),Xv))}function lee(){lee=q,tsn=Qu(new Qi,(Pr(),Tc),(Br(),Xv))}function zOe(){zOe=q,Won=Qu(new Qi,(Pr(),Tc),(Br(),Xv))}function qOe(){qOe=q,Yon=Qu(new Qi,(Pr(),Tc),(Br(),Xv))}function UOe(){UOe=q,Qon=Qu(new Qi,(Pr(),Tc),(Br(),Xv))}function fee(){fee=q,Zon=Qu(new Qi,(Pr(),Tc),(Br(),Xv))}function VOe(){VOe=q,ysn=Tt(new Qi,(Pr(),Tc),(Br(),M8))}function Is(){Is=q,Csn=Tt(new Qi,(Pr(),Tc),(Br(),M8))}function XOe(){XOe=q,Asn=Tt(new Qi,(Pr(),Tc),(Br(),M8))}function BL(){BL=q,jsn=Tt(new Qi,(Pr(),Tc),(Br(),M8))}function KOe(){KOe=q,Aln=Qu(new Qi,(kv(),tk),(I9(),V1e))}function WOe(){WOe=q,Jnn=dt((aM(),D(O(Bnn,1),ae,537,0,[VH])))}function l_(){l_=q,NV=new Wn,mT=new Wn,Mpn(utn,new x9e)}function b6n(e,n){var t,i;t=n.c,i=t!=null,i&&Zm(e,new nw(n.c))}function YOe(e,n){$yn(e,e.b,e.c),u(e.b.b,68),n&&u(n.b,68).b}function f_(e,n){J(e.Cb,184)&&(u(e.Cb,184).tb=null),to(e,n)}function JL(e,n){J(e.Cb,88)&&Aw(rs(u(e.Cb,88)),4),to(e,n)}function g6n(e,n){Rte(e,n),J(e.Cb,88)&&Aw(rs(u(e.Cb,88)),2)}function w6n(e,n){return oi(u(e.c,65).c.e.b,u(n.c,65).c.e.b)}function p6n(e,n){return oi(u(e.c,65).c.e.a,u(n.c,65).c.e.a)}function Hu(e,n){return pc(),yF(n)?new IS(n,e):new L7(n,e)}function GL(e,n){e.a&&yo(e.a.k,e),e.a=n,e.a&&pe(e.a.k,e)}function HL(e,n){e.b&&yo(e.b.f,e),e.b=n,e.b&&pe(e.b.f,e)}function n1(e,n,t){MGe(n,t,e.gc()),this.c=e,this.a=n,this.b=t-n}function tv(e){this.c=new fi,this.b=e.b,this.d=e.c,this.a=e.a}function zL(e){this.a=m.Math.cos(e),this.b=m.Math.sin(e)}function g0(e,n,t,i){this.c=e,this.d=i,GL(this,n),HL(this,t)}function nn(e,n){this.b=(gn(e),e),this.a=(n&xw)==0?n|64|ja:n}function m6n(e,n){UIe(e,vt(Nr(Eb(n,24),II)),vt(Nr(n,II)))}function aE(e){return Sa(),zu(e,0)>=0?h1(e):x6(h1(ad(e)))}function v6n(){return il(),D(O(Mo,1),ae,130,0,[Dfe,To,Lfe])}function QOe(e,n,t){return new fB(e,(v5(),cz),null,!1,n,t)}function ZOe(e,n,t){return new fB(e,(v5(),oz),n,t,null,!1)}function eDe(e,n,t){var i;MGe(n,t,e.c.length),i=t-n,NW(e.c,n,i)}function nDe(e,n){var t;return t=u(ww(nv(e.a),n),18),t?t.gc():0}function aee(e){var n;return a1(e),n=(Sb(),Sb(),tz),L_(e,n)}function tDe(e){for(var n;;)if(n=e.Pb(),!e.Ob())return n}function iDe(e){var n,t;return t=(H3(),n=new db,n),k5(t,e),t}function rDe(e){var n,t;return t=(H3(),n=new db,n),k5(t,e),t}function Qp(e){return Q4(),J(e.g,9)?u(e.g,9):null}function y6n(){return Ob(),D(O(xz,1),ae,368,0,[fg,I1,lg])}function k6n(){return H_(),D(O(she,1),ae,350,0,[ohe,mN,Hz])}function E6n(){return C0(),D(O(Orn,1),ae,449,0,[Yz,Yy,B2])}function C6n(){return _5(),D(O(oq,1),ae,302,0,[cq,uq,EA])}function A6n(){return o1(),D(O(sq,1),ae,329,0,[CA,She,Xw])}function T6n(){return _h(),D(O(zrn,1),ae,315,0,[AA,G2,Kv])}function M6n(){return r9(),D(O(y1e,1),ae,352,0,[zq,v1e,WN])}function S6n(){return yc(),D(O(Hon,1),ae,452,0,[W8,Qo,oo])}function _6n(){return rj(),D(O(x1e,1),ae,381,0,[$1e,Zq,N1e])}function j6n(){return i9(),D(O(P1e,1),ae,348,0,[nU,eU,LA])}function I6n(){return P5(),D(O(D1e,1),ae,349,0,[tU,O1e,Y8])}function $6n(){return G_(),D(O(R1e,1),ae,351,0,[F1e,iU,L1e])}function N6n(){return cj(),D(O(B1e,1),ae,382,0,[rU,l4,up])}function x6n(){return q6(),D(O(rae,1),ae,384,0,[mz,pz,vz])}function P6n(){return Cf(),D(O(Jw,1),ae,237,0,[bu,uo,gu])}function O6n(){return Xo(),D(O(Mtn,1),ae,461,0,[La,_1,ef])}function D6n(){return ko(),D(O(_tn,1),ae,462,0,[jf,j1,nf])}function L6n(){return t9(),D(O(i0e,1),ae,385,0,[t0e,oU,BA])}function F6n(){return HE(),D(O($0e,1),ae,386,0,[hx,j0e,I0e])}function R6n(){return vj(),D(O(Z0e,1),ae,387,0,[Q0e,RU,Y0e])}function B6n(){return ij(),D(O(K0e,1),ae,303,0,[$U,X0e,V0e])}function J6n(){return Aj(),D(O(W0e,1),ae,436,0,[ok,gx,NU])}function G6n(){return bj(),D(O(Cbe,1),ae,430,0,[kbe,Ebe,qU])}function H6n(){return XE(),D(O(UU,1),ae,435,0,[vx,yx,kx])}function z6n(){return I_(),D(O(ybe,1),ae,429,0,[zU,vbe,mbe])}function q6n(){return Vf(),D(O(zge,1),ae,279,0,[p4,gp,m4])}function U6n(){return xh(),D(O(twe,1),ae,347,0,[xx,xd,Ek])}function V6n(){return V6(),D(O(swe,1),ae,300,0,[lT,CV,owe])}function X6n(){return gv(),D(O(awe,1),ae,281,0,[fwe,pp,Rx])}function zf(e){return tu(D(O(_r,1),be,8,0,[e.i.n,e.n,e.a]))}function K6n(e,n,t){var i;i=new oc(t.d),ei(i,e),Bte(n,i.a,i.b)}function cDe(e,n,t){var i;i=new Gye,i.b=n,i.a=t,++n.b,pe(e.d,i)}function W6n(e,n,t){var i;return i=O9(e,n,!1),i.b<=n&&i.a<=t}function Y6n(e){if(e.p!=2)throw x(new Po);return vt(e.f)&hr}function Q6n(e){if(e.p!=2)throw x(new Po);return vt(e.k)&hr}function tn(e,n){if(e<0||e>=n)throw x(new Yu(Rue+e+Bue+n))}function Nn(e,n){if(e<0||e>=n)throw x(new yW(Rue+e+Bue+n))}function Z6n(e){return e.Db>>16!=6?null:u(vB(e),241)}function uDe(e,n){var t,i;return i=u5(e,n),t=e.a.dd(i),new o_e(e,t)}function e9n(e,n){var t;return t=(gn(e),e).g,iQ(!!t),gn(n),t(n)}function n9n(e){return e.a==(w5(),Qx)&&Mgn(e,$Pn(e.g,e.b)),e.a}function iv(e){return e.d==(w5(),Qx)&&_gn(e,jDn(e.g,e.b)),e.d}function hee(e,n){twn.call(this,new Pm(bw(e))),Ps(n,oYe),this.a=n}function oDe(e,n,t){hb.call(this,25),this.b=e,this.a=n,this.c=t}function $s(e){Kt(),hb.call(this,e),this.c=!1,this.a=!1}function sDe(e,n){a0.call(this,1,2,D(O(pt,1),Ot,30,15,[e,n]))}function Nr(e,n){return u1(eyn(qc(e)?El(e):e,qc(n)?El(n):n))}function ka(e,n){return u1(nyn(qc(e)?El(e):e,qc(n)?El(n):n))}function qL(e,n){return u1(tyn(qc(e)?El(e):e,qc(n)?El(n):n))}function dee(e,n){return Sxe(e.a,n)?iZ(e.b,u(n,23).g,null):null}function w0(e){return at(e),J(e,18)?new Uo(u(e,18)):i5(e.Jc())}function UL(e){$S(),this.a=(un(),J(e,59)?new SO(e):new aS(e))}function t9n(e){var n;return n=u(SS(e.b),10),new Ys(e.a,n,e.c)}function i9n(e,n){var t;t=X(Y(e.a.mf((St(),jx)))),xWe(e,n,t)}function r9n(e,n){return U6(),e.c==n.c?oi(n.d,e.d):oi(e.c,n.c)}function c9n(e,n){return U6(),e.c==n.c?oi(e.d,n.d):oi(e.c,n.c)}function u9n(e,n){return U6(),e.c==n.c?oi(e.d,n.d):oi(n.c,e.c)}function o9n(e,n){return U6(),e.c==n.c?oi(n.d,e.d):oi(n.c,e.c)}function s9n(e,n){e.b=e.b|n.b,e.c=e.c|n.c,e.d=e.d|n.d,e.a=e.a|n.a}function I(e){return qn(e.ai?1:0}function fDe(e,n){var t,i;return t=gF(n),i=t,u(kn(e.c,i),15).a}function VL(e,n,t){var i;i=e.d[n.p],e.d[n.p]=e.d[t.p],e.d[t.p]=i}function h9n(e,n,t){var i;e.n&&n&&t&&(i=new T9e,pe(e.e,i))}function XL(e,n){if(ir(e.a,n),n.d)throw x(new Yc($Ye));n.d=e}function wee(e,n){this.a=new me,this.d=new me,this.f=e,this.c=n}function aDe(){dv(),this.b=new Wn,this.a=new Wn,this.c=new me}function hDe(){this.c=new $Ie,this.a=new zLe,this.b=new uMe,C_e()}function dDe(e,n,t){this.d=e,this.j=n,this.e=t,this.o=-1,this.p=3}function bDe(e,n,t){this.d=e,this.k=n,this.f=t,this.o=-1,this.p=5}function gDe(e,n,t,i,r,c){pne.call(this,e,n,t,i,r),c&&(this.o=-2)}function wDe(e,n,t,i,r,c){mne.call(this,e,n,t,i,r),c&&(this.o=-2)}function pDe(e,n,t,i,r,c){Nee.call(this,e,n,t,i,r),c&&(this.o=-2)}function mDe(e,n,t,i,r,c){kne.call(this,e,n,t,i,r),c&&(this.o=-2)}function vDe(e,n,t,i,r,c){xee.call(this,e,n,t,i,r),c&&(this.o=-2)}function yDe(e,n,t,i,r,c){vne.call(this,e,n,t,i,r),c&&(this.o=-2)}function kDe(e,n,t,i,r,c){yne.call(this,e,n,t,i,r),c&&(this.o=-2)}function EDe(e,n,t,i,r,c){Pee.call(this,e,n,t,i,r),c&&(this.o=-2)}function CDe(e,n,t,i){rM.call(this,t),this.b=e,this.c=n,this.d=i}function ADe(e,n){this.f=e,this.a=(w5(),Yx),this.c=Yx,this.b=n}function TDe(e,n){this.g=e,this.d=(w5(),Qx),this.a=Qx,this.b=n}function pee(e,n){!e.c&&(e.c=new Xi(e,0)),vI(e.c,(li(),Pk),n)}function d9n(e,n){return lNn(e,n,J(n,103)&&(u(n,19).Bb&dc)!=0)}function b9n(e,n){return Zxe(vu(e.q.getTime()),vu(n.q.getTime()))}function MDe(e){return QD(e.e.Pd().gc()*e.c.Pd().gc(),16,new Z7e(e))}function g9n(e){return!!e.u&&$u(e.u.a).i!=0&&!(e.n&&OR(e.n))}function w9n(e){return!!e.a&&us(e.a.a).i!=0&&!(e.b&&DR(e.b))}function mee(e,n){return n==0?!!e.o&&e.o.f!=0:jR(e,n)}function SDe(e){return qn(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function R6(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function _De(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function Rr(e,n){this.a=e,D4.call(this,e),cw(n,e.gc()),this.b=n}function jDe(e){this.a=ee(vr,hn,1,tte(m.Math.max(8,e))<<1,5,1)}function IDe(e){OF.call(this,e,(v5(),rz),null,!1,null,!1)}function $De(e,n){var t;return t=1-n,e.a[t]=Y_(e.a[t],t),Y_(e,n)}function NDe(e,n){var t,i;return i=Nr(e,Ec),t=qa(n,32),ka(t,i)}function p9n(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Gc(t)}function xDe(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Kc(t)}function PDe(e,n,t){var i;i=(at(e),new Uo(e)),YMn(new BOe(i,n,t))}function dE(e,n,t){var i;i=(at(e),new Uo(e)),QMn(new JOe(i,n,t))}function m9n(e,n,t){e.a=n,e.c=t,e.b.a.$b(),ys(e.d),Ng(e.e.a.c,0)}function ODe(e,n){var t;e.e=new hW,t=Mw(n),kr(t,e.c),uXe(e,t,0)}function v9n(e,n){return new XD(n,T$e(sc(n.e),e,e),(pn(),!0))}function y9n(e,n){return lv(),u(M(n,(au(),Z2)),15).a>=e.gc()}function k9n(e){return Is(),!Qr(e)&&!(!Qr(e)&&e.c.i.c==e.d.i.c)}function Ea(e){return u(Xf(e,ee(zy,Ay,17,e.c.length,0,1)),323)}function E9n(e){GGe((!e.a&&(e.a=new oe(Et,e,10,11)),e.a),new C6e)}function vee(){var e,n,t;return n=(t=(e=new db,e),t),pe(Xwe,n),n}function lu(e,n,t,i,r,c){return XBe(e,n,t,c),$te(e,i),Nte(e,r),e}function DDe(e,n,t,i){return e.a+=""+kl(n==null?Ao:Vc(n),t,i),e}function bE(e,n){if(e<0||e>=n)throw x(new Yu(OIn(e,n)));return e}function LDe(e,n,t){if(e<0||nt)throw x(new Yu(tIn(e,n,t)))}function de(e,n,t,i){var r;r=new fK,r.a=n,r.b=t,r.c=i,jt(e.b,r)}function Oi(e,n,t,i){var r;r=new fK,r.a=n,r.b=t,r.c=i,jt(e.a,r)}function C9n(e,n,t){var i;i=ATn();try{return $mn(e,n,t)}finally{B8n(i)}}function m0(e){var n;return qc(e)?(n=e,n==-0?0:n):Lkn(e)}function FDe(e,n){return J(n,45)?JR(e.a,u(n,45)):!1}function RDe(e,n){return J(n,45)?JR(e.a,u(n,45)):!1}function BDe(e,n){return J(n,45)?JR(e.a,u(n,45)):!1}function A9n(e,n){return e.a<=e.b?(n.Bd(e.a++),!0):!1}function T9n(e){return Wp(e).dc()?!1:(d2n(e,new we),!0)}function yee(e){var n;return Zd(e),n=new ki,Op(e.a,new LEe(n)),n}function a_(e){var n;return Zd(e),n=new Li,Op(e.a,new FEe(n)),n}function M9n(e){if(!("stack"in e))try{throw e}catch{}return e}function h_(e){return new eo((Ps(e,fJ),D_(lc(lc(5,e),e/10|0))))}function JDe(e){return u(Xf(e,ee(nrn,cQe,12,e.c.length,0,1)),2004)}function S9n(e){return QD(e.e.Pd().gc()*e.c.Pd().gc(),273,new Q7e(e))}function GDe(){GDe=q,xfn=dt((TM(),D(O(Abe,1),ae,477,0,[VU])))}function HDe(){HDe=q,Ofn=dt((MM(),D(O(Pfn,1),ae,546,0,[XU])))}function zDe(){zDe=q,Zfn=dt((Z4(),D(O(qbe,1),ae,527,0,[XA])))}function qDe(){qDe=q,G1e=APe(le(1),le(4)),J1e=APe(le(1),le(2))}function d_(){d_=q,yU=new hY("DFS",0),A0e=new hY("BFS",1)}function b_(){b_=q,lq=new rY(py,0),_he=new rY("TOP_LEFT",1)}function kee(e,n,t){this.d=new QCe(this),this.e=e,this.i=n,this.f=t}function Eee(e,n,t,i){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1}function _9n(e,n,t){e.d&&yo(e.d.e,e),e.d=n,e.d&&o0(e.d.e,t,e)}function j9n(e,n,t){var i;return i=H5(t),dI(e.n,i,n),dI(e.o,n,t),n}function g5(e,n){var t,i;return t=lw(e,n),i=null,t&&(i=t.qe()),i}function B6(e,n){var t,i;return t=Ah(e,n),i=null,t&&(i=t.qe()),i}function $b(e,n){var t,i;return t=Ah(e,n),i=null,t&&(i=t.ne()),i}function Th(e,n){var t,i;return t=Ah(e,n),i=null,t&&(i=yre(t)),i}function J6(e,n){yBn(n,e),ZQ(e.d),ZQ(u(M(e,(ye(),HN)),213))}function KL(e,n){kBn(n,e),eZ(e.d),eZ(u(M(e,(ye(),HN)),213))}function t1(e,n){gn(n),e.b=e.b-1&e.a.length-1,Ki(e.a,e.b,n),pze(e)}function Cee(e,n){gn(n),Ki(e.a,e.c,n),e.c=e.c+1&e.a.length-1,pze(e)}function it(e){return qn(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function UDe(e){if(e.e.g!=e.b)throw x(new Xs);return!!e.c&&e.d>0}function uw(e){return J(e,18)?u(e,18).dc():!e.Jc().Ob()}function I9n(e){return new nn(b7n(u(e.a.kd(),18).gc(),e.a.jd()),16)}function VDe(e){var n;n=e.Dh(),this.a=J(n,72)?u(n,72).Gi():n.Jc()}function Aee(e,n){var t;return t=u(Uf(e.b,n),66),!t&&(t=new fi),t}function $9n(e,n){var t;t=n.a,tc(t,n.c.d),Fr(t,n.d.d),hw(t.a,e.n)}function XDe(e,n,t,i){return J(t,59)?new p$e(e,n,t,i):new vZ(e,n,t,i)}function N9n(){return Kl(),D(O(vrn,1),ae,413,0,[Uw,Uy,Vy,Nz])}function x9n(){return Db(),D(O(Ztn,1),ae,409,0,[dA,hA,hz,dz])}function P9n(){return j5(),D(O(Hin,1),ae,408,0,[sg,Hw,Gw,O2])}function O9n(){return v5(),D(O(R$,1),ae,309,0,[rz,cz,uz,oz])}function D9n(){return mv(),D(O(sae,1),ae,383,0,[A8,oae,Az,Tz])}function L9n(){return oj(),D(O(srn,1),ae,367,0,[$z,hN,dN,mA])}function F9n(){return f9(),D(O(uhe,1),ae,301,0,[_8,rhe,yA,che])}function R9n(){return yw(),D(O(Uq,1),ae,203,0,[YN,qq,Y2,W2])}function B9n(){return Oh(),D(O(j1e,1),ae,269,0,[P1,_1e,Kq,Wq])}function J9n(){return T0(),D(O(dsn,1),ae,404,0,[FA,Q8,nx,ex])}function G9n(e){var n;return e.j==(ke(),Xn)&&(n=XUe(e),Do(n,Dn))}function H9n(){return kv(),D(O(q1e,1),ae,398,0,[cx,nk,tk,ik])}function KDe(e,n){return u(ps(Qg(u(ri(e.k,n),16).Mc(),L2)),113)}function WDe(e,n){return u(ps(Wm(u(ri(e.k,n),16).Mc(),L2)),113)}function z9n(e,n){return Jm(new he(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)}function q9n(){return Vj(),D(O(nfn,1),ae,401,0,[DU,xU,OU,PU])}function U9n(){return Lj(),D(O(U0e,1),ae,354,0,[IU,z0e,q0e,H0e])}function V9n(){return n9(),D(O(C0e,1),ae,353,0,[vU,fx,mU,pU])}function X9n(){return D5(),D(O(Hge,1),ae,278,0,[iT,Nx,Jge,Gge])}function K9n(){return Ph(),D(O(kV,1),ae,222,0,[yV,rT,v4,g3])}function W9n(){return Ds(),D(O(Xan,1),ae,292,0,[uT,lh,R1,cT])}function Y9n(){return m_(),D(O(bT,1),ae,288,0,[hwe,bwe,TV,dwe])}function Q9n(){return As(),D(O(Sk,1),ae,380,0,[aT,nb,fT,wp])}function Z9n(){return yj(),D(O(mwe,1),ae,326,0,[MV,gwe,pwe,wwe])}function e8n(){return sj(),D(O(hhn,1),ae,407,0,[SV,ywe,vwe,kwe])}function Qs(e,n,t){return n<0?wB(e,t):u(t,69).uk().zk(e,e.ei(),n)}function n8n(e,n,t){var i;return i=H5(t),dI(e.f,i,n),Pt(e.g,n,t),n}function t8n(e,n,t){var i;return i=H5(t),dI(e.p,i,n),Pt(e.q,n,t),n}function YDe(e){var n,t;return n=(Ud(),t=new qP,t),e&&rI(n,e),n}function Tee(e){var n;return n=e.$i(e.i),e.i>0&&Pu(e.g,0,n,0,e.i),n}function rv(e){return Q4(),J(e.g,156)?u(e.g,156):null}function i8n(e){return l_(),Ju(NV,e)?u(kn(NV,e),342).Pg():null}function r8n(e){e.a=null,e.e=null,Ng(e.b.c,0),Ng(e.f.c,0),e.c=null}function QDe(e,n){var t;for(t=e.j.c.length;t>24}function u8n(e){if(e.p!=1)throw x(new Po);return vt(e.k)<<24>>24}function o8n(e){if(e.p!=7)throw x(new Po);return vt(e.k)<<16>>16}function s8n(e){if(e.p!=7)throw x(new Po);return vt(e.f)<<16>>16}function Zp(e,n){return n.e==0||e.e==0?v8:(ty(),CB(e,n))}function nLe(e,n){return Z(n)===Z(e)?"(this Map)":n==null?Ao:Vc(n)}function l8n(e,n,t){return sL(Y(Qc(xc(e.f,n))),Y(Qc(xc(e.f,t))))}function f8n(e,n,t){var i;i=u(kn(e.g,t),60),pe(e.a.c,new hc(n,i))}function tLe(e,n){var t;return t=new Nm,e.Ed(t),t.a+="..",n.Fd(t),t.a}function vf(e){var n;for(n=0;e.Ob();)e.Pb(),n=lc(n,1);return D_(n)}function a8n(e,n,t,i,r){var c;c=CNn(r,t,i),pe(n,SIn(r,c)),kjn(e,r,n)}function iLe(e,n,t){e.i=0,e.e=0,n!=t&&(BJe(e,n,t),RJe(e,n,t))}function rLe(e,n,t,i){this.e=null,this.c=e,this.d=n,this.a=t,this.b=i}function Mee(e,n,t,i,r){this.i=e,this.a=n,this.e=t,this.j=i,this.f=r}function cLe(e,n){eee.call(this),this.a=e,this.b=n,pe(this.a.b,this)}function Mh(e,n){Sa(),a0.call(this,e,1,D(O(pt,1),Ot,30,15,[n]))}function h8n(e,n,t){return cy(e,n,t,J(n,103)&&(u(n,19).Bb&dc)!=0)}function g_(e,n,t){return gI(e,n,t,J(n,103)&&(u(n,19).Bb&dc)!=0)}function d8n(e,n,t){return gNn(e,n,t,J(n,103)&&(u(n,19).Bb&dc)!=0)}function See(e,n){return e==(En(),zi)&&n==zi?4:e==zi||n==zi?8:32}function b8n(e,n){return u(n==null?Qc(xc(e.f,null)):i6(e.i,n),290)}function uLe(e,n){var t;for(t=n;t;)Ug(e,t.i,t.j),t=Ii(t);return e}function $u(e){return e.n||(rs(e),e.n=new xxe(e,Sc,e),Gc(e)),e.n}function Xa(e,n){pc();var t;return t=u(e,69).tk(),Pjn(t,n),t.vl(n)}function G6(e){return qn(e.a"+bee(e.d):"e_"+yb(e)}function w8n(e,n){var t;return t=n!=null?Gu(e,n):Qc(xc(e.f,n)),tS(t)}function p8n(e,n){var t;return t=n!=null?Gu(e,n):Qc(xc(e.f,n)),tS(t)}function fLe(e,n){var t;for(t=0;t=0&&e.a[t]===n[t];t--);return t<0}function E8n(e,n){var t,i;i=!1;do t=_Je(e,n),i=i|t;while(t);return i}function H6(){H6=q,ek=new oY("UPPER",0),Z8=new oY("LOWER",1)}function p_(){p_=q,vq=new cY(Mf,0),mq=new cY("ALTERNATING",1)}function m_(){m_=q,hwe=new axe,bwe=new Vxe,TV=new vOe,dwe=new Xxe}function hLe(){hLe=q,Irn=dt((S_(),D(O(ihe,1),ae,422,0,[the,Gz])))}function dLe(){dLe=q,Prn=dt((IE(),D(O(hhe,1),ae,419,0,[vN,ahe])))}function bLe(){bLe=q,Frn=dt((AE(),D(O(ghe,1),ae,476,0,[bhe,kN])))}function gLe(){gLe=q,Urn=dt((b_(),D(O(jhe,1),ae,420,0,[lq,_he])))}function wLe(){wLe=q,Krn=dt((p_(),D(O(Hhe,1),ae,423,0,[vq,mq])))}function pLe(){pLe=q,Gon=dt((ME(),D(O(I1e,1),ae,421,0,[Yq,Qq])))}function mLe(){mLe=q,vsn=dt((H6(),D(O(msn,1),ae,518,0,[ek,Z8])))}function vLe(){vLe=q,_sn=dt((Gf(),D(O(Ssn,1),ae,508,0,[Y0,ua])))}function yLe(){yLe=q,Msn=dt((ya(),D(O(Tsn,1),ae,509,0,[mg,jd])))}function kLe(){kLe=q,Hsn=dt((yf(),D(O(Gsn,1),ae,515,0,[op,O1])))}function ELe(){ELe=q,Wsn=dt((Ib(),D(O(Ksn,1),ae,454,0,[D1,Q2])))}function CLe(){CLe=q,Cln=dt((d_(),D(O(T0e,1),ae,425,0,[yU,A0e])))}function ALe(){ALe=q,_ln=dt((W_(),D(O(M0e,1),ae,487,0,[ax,nm])))}function TLe(){TLe=q,$ln=dt((j_(),D(O(_0e,1),ae,426,0,[S0e,MU])))}function MLe(){MLe=q,Sfn=dt((k_(),D(O(pbe,1),ae,478,0,[HU,wbe])))}function SLe(){SLe=q,Dfn=dt((mE(),D(O(Tbe,1),ae,428,0,[KU,Ex])))}function _Le(){_Le=q,ean=dt((LE(),D(O(Vbe,1),ae,427,0,[Ax,Ube])))}function jLe(){jLe=q,lin=dt((O_(),D(O(Hfe,1),ae,424,0,[bz,H$])))}function ILe(){ILe=q,crn=dt((A5(),D(O(rrn,1),ae,502,0,[pA,Sz])))}function v_(e){rre(),UIe(this,vt(Nr(Eb(e,24),II)),vt(Nr(e,II)))}function C8n(e){return(e.k==(En(),zi)||e.k==sr)&&Zt(e,(se(),N8))}function A8n(e,n,t){return u(n==null?Co(e.f,null,t):Lb(e.i,n,t),290)}function T8n(){return ar(),D(O(yk,1),ae,86,0,[fa,zc,Rc,la,hl])}function M8n(){return ke(),D(O(gc,1),Mu,64,0,[uu,jn,Dn,Xn,In])}function S8n(e){return bM(),function(){return C9n(e,this,arguments)}}function $Le(e,n){var t;return t=n.jd(),new gb(t,e.e.pc(t,u(n.kd(),18)))}function NLe(e,n){var t,i;return t=n.jd(),i=e.De(t),!!i&&Iu(i.e,n.kd())}function Yr(e,n){var t,i;for(gn(n),i=e.Jc();i.Ob();)t=i.Pb(),n.Ad(t)}function Ns(e,n,t){var i;return i=(tn(n,e.c.length),e.c[n]),e.c[n]=t,i}function $ee(e,n){var t,i;for(t=n,i=0;t>0;)i+=e.a[t],t-=t&-t;return i}function xLe(e,n){var t;for(t=n;t;)Ug(e,-t.i,-t.j),t=Ii(t);return e}function _8n(e,n){var t;return t=e.a.get(n),t??ee(vr,hn,1,0,5,1)}function e2(e,n){return(a1(e),z3(new Ze(e,new rne(n,e.a)))).zd(zv)}function j8n(){return Pr(),D(O(cae,1),ae,363,0,[tf,ch,Du,Lu,Tc])}function PLe(e){WWe(),zTe(this),this.a=new fi,dte(this,e),jt(this.a,e)}function OLe(){ED(this),this.b=new he(Ri,Ri),this.a=new he(Tr,Tr)}function nF(e){y_(),!ra&&(this.c=e,this.e=!0,this.a=new me)}function y_(){y_=q,ra=!0,dtn=!1,btn=!1,wtn=!1,gtn=!1}function k_(){k_=q,HU=new gY(toe,0),wbe=new gY("TARGET_WIDTH",1)}function I8n(){return qj(),D(O(jln,1),ae,364,0,[AU,kU,TU,EU,CU])}function $8n(){return kw(),D(O(krn,1),ae,371,0,[vA,wN,pN,gN,bN])}function N8n(){return b9(),D(O(E1e,1),ae,328,0,[k1e,Vq,Xq,V8,X8])}function x8n(){return Es(),D(O(Ghe,1),ae,165,0,[_A,O8,Hh,D8,q0])}function P8n(){return M9(),D(O(Ifn,1),ae,369,0,[tm,s3,dk,hk,VA])}function O8n(){return sC(),D(O(jbe,1),ae,330,0,[Mbe,WU,_be,YU,Sbe])}function D8n(){return Ma(),D(O(oa,1),ae,160,0,[ln,nr,Nf,$d,qh])}function L8n(){return a2(),D(O(Ak,1),ae,257,0,[B1,oT,iwe,Ck,rwe])}function tF(e,n){var t;return t=u(Uf(e.d,n),21),t||u(Uf(e.e,n),21)}function DLe(e){this.b=e,Jn.call(this,e),this.a=u(_n(this.b.a,4),129)}function LLe(e){this.b=e,Hm.call(this,e),this.a=u(_n(this.b.a,4),129)}function FLe(e,n){this.c=0,this.b=n,nIe.call(this,e,17493),this.a=this.c}function zl(e,n,t,i,r){qLe.call(this,n,i,r),this.c=e,this.b=t}function Nee(e,n,t,i,r){dDe.call(this,n,i,r),this.c=e,this.a=t}function xee(e,n,t,i,r){bDe.call(this,n,i,r),this.c=e,this.a=t}function Pee(e,n,t,i,r){qLe.call(this,n,i,r),this.c=e,this.a=t}function Oee(e,n,t){e.a.c.length=0,fFn(e,n,t),e.a.c.length==0||DOn(e,n)}function gE(e){e.i=0,A7(e.b,null),A7(e.c,null),e.a=null,e.e=null,++e.g}function F8n(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function Dee(e,n){return J(n,144)?Ye(e.c,u(n,144).c):!1}function RLe(e){var n;return e.c||(n=e.r,J(n,88)&&(e.c=u(n,29))),e.c}function rs(e){return e.t||(e.t=new xTe(e),s9(new YMe(e),0,e.t)),e.t}function Qr(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function cv(e,n){return n==0||e.e==0?e:n>0?uHe(e,n):VVe(e,-n)}function Lee(e,n){return n==0||e.e==0?e:n>0?VVe(e,n):uHe(e,-n)}function Fn(e){if(Un(e))return e.c=e.a,e.a.Pb();throw x(new Wc)}function BLe(e){var n;return n=e.length,Ye(mn.substr(mn.length-n,n),e)}function JLe(e){var n,t;return n=e.c.i,t=e.d.i,n.k==(En(),sr)&&t.k==sr}function iF(e){var n,t,i;return n=e&hs,t=e>>22&hs,i=e<0?Fh:0,so(n,t,i)}function R8n(e,n){var t,i;t=u(xCn(e.c,n),18),t&&(i=t.gc(),t.$b(),e.d-=i)}function B8n(e){e&&Gkn((wW(),sfe)),--x$,e&&P$!=-1&&(Tpn(P$),P$=-1)}function Fee(e){ppn.call(this,e==null?Ao:Vc(e),J(e,80)?u(e,80):null)}function rF(e){var n;return n=new _b,yu(n,e),ie(n,(ye(),Fc),null),n}function cF(e,n,t){var i;return i=e.Fh(n),i>=0?e.Ih(i,t,!0):qb(e,n,t)}function J8n(e,n,t){return oi(Jm(z5(e),sc(n.b)),Jm(z5(e),sc(t.b)))}function G8n(e,n,t){return oi(Jm(z5(e),sc(n.e)),Jm(z5(e),sc(t.e)))}function H8n(e,n){return m.Math.min(r1(n.a,e.d.d.c),r1(n.b,e.d.d.c))}function GLe(e,n,t){var i;i=new LY(e.a),W6(i,e.a.a),Co(i.f,n,t),e.a.a=i}function Ree(e,n,t,i){var r;for(r=0;rn)throw x(new Yu(jre(e,n,"index")));return e}function Gee(e){var n;return n=e.e+e.f,isNaN(n)&&vS(e.d)?e.d:n}function q8n(e,n){var t;t=e.q.getHours()+(n/60|0),e.q.setMinutes(n),N9(e,t)}function Hee(e,n){var t,i;return t=(gn(e),e),i=(gn(n),n),t==i?0:tn.p?-1:0}function YLe(e,n){return Ju(e.a,n)?(uv(e.a,n),!0):!1}function K8n(e){var n,t;return n=e.jd(),t=u(e.kd(),18),Y7(t.Lc(),new K7e(n))}function oF(e){var n;return n=e.b,n.b==0?null:u(Nu(n,0),65).b}function A_(e,n){return gn(n),e.c=0,"Initial capacity must not be negative")}function M_(){M_=q,bk=new ui("org.eclipse.elk.labels.labelManager")}function ZLe(){ZLe=q,Yae=new Ti("separateLayerConnections",(oj(),$z))}function yf(){yf=q,op=new fY("REGULAR",0),O1=new fY("CRITICAL",1)}function mE(){mE=q,KU=new wY("FIXED",0),Ex=new wY("CENTER_NODE",1)}function S_(){S_=q,the=new nY("QUADRATIC",0),Gz=new nY("SCANLINE",1)}function eFe(){eFe=q,Nrn=dt((H_(),D(O(she,1),ae,350,0,[ohe,mN,Hz])))}function nFe(){nFe=q,Drn=dt((C0(),D(O(Orn,1),ae,449,0,[Yz,Yy,B2])))}function tFe(){tFe=q,Grn=dt((_5(),D(O(oq,1),ae,302,0,[cq,uq,EA])))}function iFe(){iFe=q,Hrn=dt((o1(),D(O(sq,1),ae,329,0,[CA,She,Xw])))}function rFe(){rFe=q,qrn=dt((_h(),D(O(zrn,1),ae,315,0,[AA,G2,Kv])))}function cFe(){cFe=q,Srn=dt((Ob(),D(O(xz,1),ae,368,0,[fg,I1,lg])))}function uFe(){uFe=q,Lon=dt((r9(),D(O(y1e,1),ae,352,0,[zq,v1e,WN])))}function oFe(){oFe=q,zon=dt((yc(),D(O(Hon,1),ae,452,0,[W8,Qo,oo])))}function sFe(){sFe=q,qon=dt((rj(),D(O(x1e,1),ae,381,0,[$1e,Zq,N1e])))}function lFe(){lFe=q,Uon=dt((i9(),D(O(P1e,1),ae,348,0,[nU,eU,LA])))}function fFe(){fFe=q,Von=dt((P5(),D(O(D1e,1),ae,349,0,[tU,O1e,Y8])))}function aFe(){aFe=q,Xon=dt((G_(),D(O(R1e,1),ae,351,0,[F1e,iU,L1e])))}function hFe(){hFe=q,Kon=dt((cj(),D(O(B1e,1),ae,382,0,[rU,l4,up])))}function dFe(){dFe=q,Zsn=dt((t9(),D(O(i0e,1),ae,385,0,[t0e,oU,BA])))}function bFe(){bFe=q,Nln=dt((HE(),D(O($0e,1),ae,386,0,[hx,j0e,I0e])))}function gFe(){gFe=q,Zln=dt((ij(),D(O(K0e,1),ae,303,0,[$U,X0e,V0e])))}function wFe(){wFe=q,efn=dt((Aj(),D(O(W0e,1),ae,436,0,[ok,gx,NU])))}function pFe(){pFe=q,_fn=dt((I_(),D(O(ybe,1),ae,429,0,[zU,vbe,mbe])))}function mFe(){mFe=q,jfn=dt((bj(),D(O(Cbe,1),ae,430,0,[kbe,Ebe,qU])))}function vFe(){vFe=q,Nfn=dt((XE(),D(O(UU,1),ae,435,0,[vx,yx,kx])))}function yFe(){yFe=q,cfn=dt((vj(),D(O(Z0e,1),ae,387,0,[Q0e,RU,Y0e])))}function kFe(){kFe=q,Oin=dt((q6(),D(O(rae,1),ae,384,0,[mz,pz,vz])))}function EFe(){EFe=q,ptn=dt((il(),D(O(Mo,1),ae,130,0,[Dfe,To,Lfe])))}function CFe(){CFe=q,Ttn=dt((Cf(),D(O(Jw,1),ae,237,0,[bu,uo,gu])))}function AFe(){AFe=q,Stn=dt((Xo(),D(O(Mtn,1),ae,461,0,[La,_1,ef])))}function TFe(){TFe=q,jtn=dt((ko(),D(O(_tn,1),ae,462,0,[jf,j1,nf])))}function MFe(){MFe=q,Han=dt((Vf(),D(O(zge,1),ae,279,0,[p4,gp,m4])))}function SFe(){SFe=q,shn=dt((gv(),D(O(awe,1),ae,281,0,[fwe,pp,Rx])))}function _Fe(){_Fe=q,Van=dt((xh(),D(O(twe,1),ae,347,0,[xx,xd,Ek])))}function jFe(){jFe=q,chn=dt((V6(),D(O(swe,1),ae,300,0,[lT,CV,owe])))}function kf(e,n){return!e.o&&(e.o=new Fo((Tu(),hh),Pd,e,0)),vR(e.o,n)}function Y8n(e){return!e.g&&(e.g=new XT),!e.g.d&&(e.g.d=new ITe(e)),e.g.d}function Q8n(e){return!e.g&&(e.g=new XT),!e.g.b&&(e.g.b=new jTe(e)),e.g.b}function vE(e){return!e.g&&(e.g=new XT),!e.g.c&&(e.g.c=new NTe(e)),e.g.c}function Z8n(e){return!e.g&&(e.g=new XT),!e.g.a&&(e.g.a=new $Te(e)),e.g.a}function ekn(e,n,t,i){return t&&(i=t.Oh(n,$i(t.Ah(),e.c.sk()),null,i)),i}function nkn(e,n,t,i){return t&&(i=t.Qh(n,$i(t.Ah(),e.c.sk()),null,i)),i}function sF(e,n,t,i){var r;return r=ee(pt,Ot,30,n+1,15,1),pDn(r,e,n,t,i),r}function ee(e,n,t,i,r,c){var o;return o=sze(r,i),r!=10&&D(O(e,c),n,t,r,o),o}function tkn(e,n,t){var i,r;for(r=new M5(n,e),i=0;it||n=0?e.Ih(t,!0,!0):qb(e,n,!0)}function yE(e,n){var t,i,r;return r=e.r,i=e.d,t=O9(e,n,!0),t.b!=r||t.a!=i}function xFe(e,n){return N_e(e.e,n)||S0(e.e,n,new NHe(n)),u(Uf(e.e,n),113)}function cs(e,n,t,i){return gn(e),gn(n),gn(t),gn(i),new SZ(e,n,new en)}function kE(e,n,t){var i,r;return r=(i=Z5(e.b,n),i),r?yI(SE(e,r),t):null}function mkn(e,n,t){var i,r,c;i=Ah(e,t),r=null,i&&(r=yre(i)),c=r,jHe(n,t,c)}function vkn(e,n,t){var i,r,c;i=Ah(e,t),r=null,i&&(r=yre(i)),c=r,jHe(n,t,c)}function Fo(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=new CZ(this,n,t,i)}function hF(e,n,t,i,r,c){Eee.call(this,n,i,r,c),this.c=e,this.b=t}function EE(e,n,t,i,r,c){Eee.call(this,n,i,r,c),this.c=e,this.a=t}function ine(e,n,t,i,r){DIe(this),this.b=e,this.d=n,this.f=t,this.g=i,this.c=r}function rne(e,n){iS.call(this,n.xd(),n.wd()&-16449),gn(e),this.a=e,this.c=n}function ykn(e,n){e.a.Le(n.d,e.b)>0&&(pe(e.c,new KQ(n.c,n.d,e.d)),e.b=n.d)}function dF(e){e.a=ee(pt,Ot,30,e.b+1,15,1),e.c=ee(pt,Ot,30,e.b,15,1),e.d=0}function kkn(e,n,t){var i;return i=PJe(e,n,t),e.b=new Q_(i.c.length),yce(e,i)}function Ekn(e){if(e.b<=0)throw x(new Wc);return--e.b,e.a-=e.c.c,le(e.a)}function Ckn(e){var n;if(!e.a)throw x(new rOe);return n=e.a,e.a=Ii(e.a),n}function PFe(e){var n;if(e.ll())for(n=e.i-1;n>=0;--n)G(e,n);return Tee(e)}function sv(e){var n;return at(e),J(e,204)?(n=u(e,204),n):new fEe(e)}function Akn(e){for(;!e.a;)if(!vNe(e.c,new REe(e)))return!1;return!0}function cne(e,n){if(e.g==null||n>=e.i)throw x(new pD(n,e.i));return e.g[n]}function OFe(e,n,t){if(N5(e,t),t!=null&&!e.dk(t))throw x(new lO);return t}function bF(e,n){return jE(n)!=10&&D(ks(n),n.Qm,n.__elementTypeId$,jE(n),e),e}function DFe(e,n){var t,i;return i=n/e.c.Pd().gc()|0,t=n%e.c.Pd().gc(),ov(e,i,t)}function m5(e,n,t,i){var r;i=(Sb(),i||jfe),r=e.slice(n,t),Ire(r,e,n,t,-n,i)}function Zs(e,n,t,i,r){return n<0?qb(e,t,i):u(t,69).uk().wk(e,e.ei(),n,i,r)}function Tkn(e,n){return oi(X(Y(M(e,(se(),dg)))),X(Y(M(n,dg))))}function LFe(){LFe=q,atn=dt((v5(),D(O(R$,1),ae,309,0,[rz,cz,uz,oz])))}function v5(){v5=q,rz=new $M("All",0),cz=new EIe,uz=new PIe,oz=new CIe}function Xo(){Xo=q,La=new BO(Pv,0),_1=new BO(py,1),ef=new BO(Ov,2)}function FFe(){FFe=q,wI(),tpe=Ri,gdn=Tr,ipe=new f7(Ri),wdn=new f7(Tr)}function __(){__=q,ian=new z6e,can=new q6e,ran=REn((St(),pV),ian,F1,can)}function Mkn(e){__(),u(e.mf((St(),hp)),182).Ec((Ko(),sT)),e.of(pV,null)}function Skn(e){return J(e,180)?""+u(e,180).a:e==null?null:Vc(e)}function _kn(e){return J(e,180)?""+u(e,180).a:e==null?null:Vc(e)}function une(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[0];)t=n;return t}function RFe(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[1];)t=n;return t}function CE(e){var n;for(n=e.p+1;n=0?Nj(e,t,!0,!0):qb(e,n,!0)}function Pkn(e,n){Um(u(u(e.f,26).mf((St(),vk)),102))&&GGe(qZ(u(e.f,26)),n)}function dRe(e,n){os(e,n==null||vS((gn(n),n))||isNaN((gn(n),n))?0:(gn(n),n))}function bRe(e,n){ss(e,n==null||vS((gn(n),n))||isNaN((gn(n),n))?0:(gn(n),n))}function gRe(e,n){Pb(e,n==null||vS((gn(n),n))||isNaN((gn(n),n))?0:(gn(n),n))}function wRe(e,n){xb(e,n==null||vS((gn(n),n))||isNaN((gn(n),n))?0:(gn(n),n))}function pRe(e){(this.q?this.q:(un(),un(),rh)).zc(e.q?e.q:(un(),un(),rh))}function vF(e,n,t){var i;return i=e.g[n],k6(e,n,e.Xi(n,t)),e.Pi(n,t,i),e.Li(),i}function P_(e,n){var t;return t=e.bd(n),t>=0?(e.ed(t),!0):!1}function yF(e){var n;return e.d!=e.r&&(n=Al(e),e.e=!!n&&n.jk()==Ken,e.d=n),e.e}function kF(e,n){var t;for(at(e),at(n),t=!1;n.Ob();)t=t|e.Ec(n.Pb());return t}function Uf(e,n){var t;return t=u(kn(e.e,n),393),t?(qIe(e,t),t.e):null}function mRe(e){var n,t;return n=e/60|0,t=e%60,t==0?""+n:""+n+":"+(""+t)}function Uc(e,n){var t,i;return a1(e),i=new zee(n,e.a),t=new pNe(i),new Ze(e,t)}function lw(e,n){var t=e.a[n],i=(UF(),QH)[typeof t];return i?i(t):jte(typeof t)}function Okn(e,n){var t,i,r;r=n.c.i,t=u(kn(e.f,r),60),i=t.d.c-t.e.c,Jne(n.a,i,0)}function Ka(e,n,t){var i,r;for(i=10,r=0;r=0;)++n[0]}function CRe(e,n,t,i){Kt(),hb.call(this,26),this.c=e,this.a=n,this.d=t,this.b=i}function jh(e,n,t,i,r,c,o){SF.call(this,n,i,r,c,o),this.c=e,this.b=t}function ARe(e){this.g=e,this.f=new me,this.a=m.Math.min(this.g.c.c,this.g.d.c)}function U6(){U6=q,Vin=new vme,Xin=new yme,qin=new kme,Uin=new Eme,Kin=new Cme}function O_(){O_=q,bz=new QW("EADES",0),H$=new QW("FRUCHTERMAN_REINGOLD",1)}function IE(){IE=q,vN=new tY("READING_DIRECTION",0),ahe=new tY("ROTATION",1)}function TRe(){TRe=q,Ern=dt((kw(),D(O(krn,1),ae,371,0,[vA,wN,pN,gN,bN])))}function MRe(){MRe=q,Ron=dt((b9(),D(O(E1e,1),ae,328,0,[k1e,Vq,Xq,V8,X8])))}function SRe(){SRe=q,Xrn=dt((Es(),D(O(Ghe,1),ae,165,0,[_A,O8,Hh,D8,q0])))}function _Re(){_Re=q,Iln=dt((qj(),D(O(jln,1),ae,364,0,[AU,kU,TU,EU,CU])))}function jRe(){jRe=q,$fn=dt((M9(),D(O(Ifn,1),ae,369,0,[tm,s3,dk,hk,VA])))}function IRe(){IRe=q,Lfn=dt((sC(),D(O(jbe,1),ae,330,0,[Mbe,WU,_be,YU,Sbe])))}function $Re(){$Re=q,Rin=dt((Pr(),D(O(cae,1),ae,363,0,[tf,ch,Du,Lu,Tc])))}function NRe(){NRe=q,Jan=dt((ar(),D(O(yk,1),ae,86,0,[fa,zc,Rc,la,hl])))}function xRe(){xRe=q,uan=dt((Ma(),D(O(oa,1),ae,160,0,[ln,nr,Nf,$d,qh])))}function PRe(){PRe=q,Yan=dt((a2(),D(O(Ak,1),ae,257,0,[B1,oT,iwe,Ck,rwe])))}function ORe(){ORe=q,ehn=dt((ke(),D(O(gc,1),Mu,64,0,[uu,jn,Dn,Xn,In])))}function DRe(e){var n;return n=u(M(e,(se(),ag)),317),n?n.a==e:!1}function LRe(e){var n;return n=u(M(e,(se(),ag)),317),n?n.i==e:!1}function FRe(e,n){return gn(n),yZ(e),e.d.Ob()?(n.Ad(e.d.Pb()),!0):!1}function D_(e){return zu(e,zt)>0?zt:zu(e,Jr)<0?Jr:vt(e)}function zkn(e,n){var t;return t=Fb(e.e.c,n.e.c),t==0?oi(e.e.d,n.e.d):t}function CF(e,n){var t;return t=u(kn(e.a,n),150),t||(t=new FP,Pt(e.a,n,t)),t}function Ul(e,n,t){var i;if(n==null)throw x(new Tm);return i=Ah(e,n),g8n(e,n,t),i}function qkn(e,n){var t,i;for(i=n.c,t=i+1;t<=n.f;t++)e.a[t]>e.a[i]&&(i=t);return i}function Ukn(e,n,t){var i;return i=e.a.e[u(n.a,9).p]-e.a.e[u(t.a,9).p],nc(nE(i))}function Vkn(e,n,t){var i,r;for(r=new $(t);r.a0?n-1:n,hSe(Hwn(oBe(nZ(new _m,t),e.n),e.j),e.k)}function e7n(e,n,t,i){var r;e.j=-1,Hre(e,kre(e,n,t),(pc(),r=u(n,69).tk(),r.vl(i)))}function HRe(e,n,t,i,r,c){var o;o=rF(i),tc(o,r),Fr(o,c),Qe(e.a,i,new ES(o,n,t.f))}function L_(e,n){var t;return a1(e),t=new WPe(e,e.a.xd(),e.a.wd()|4,n),new Ze(e,t)}function n7n(e,n){var t,i;return t=u(ww(e.d,n),18),t?(i=n,e.e.pc(i,t)):null}function on(e,n){var t;return t=(e.i==null&&_a(e),e.i),n>=0&&n=-.01&&e.a<=ea&&(e.a=0),e.b>=-.01&&e.b<=ea&&(e.b=0),e}function n2(e){ny();var n,t;for(t=jse,n=0;nt&&(t=e[n]);return t}function t7n(e){var n;return n=X(Y(M(e,(ye(),Sd)))),n<0&&(n=0,ie(e,Sd,n)),n}function i7n(e,n){Um(u(M(u(e.e,9),(ye(),qi)),102))&&(un(),kr(u(e.e,9).j,n))}function F_(e,n){var t,i;for(i=e.Jc();i.Ob();)t=u(i.Pb(),70),ie(t,(se(),e3),n)}function r7n(e,n){var t,i,r;for(i=n.a.jd(),t=u(n.a.kd(),18).gc(),r=0;re||e>n)throw x(new kW("fromIndex: 0, toIndex: "+e+Oue+n))}function VRe(e,n){si(e,(Ya(),FU),n.f),si(e,rfn,n.e),si(e,LU,n.d),si(e,ifn,n.c)}function no(e,n){var t,i,r,c;for(gn(n),i=e.c,r=0,c=i.length;r0&&(e.a/=n,e.b/=n),e}function XRe(e,n,t){var i,r;i=n;do r=X(e.p[i.p])+t,e.p[i.p]=r,i=e.a[i.p];while(i!=n)}function xs(e){var n;return e.w?e.w:(n=Z6n(e),n&&!n.Sh()&&(e.w=n),n)}function bne(e,n){return Bf(),Vl(y1),m.Math.abs(e-n)<=y1||e==n||isNaN(e)&&isNaN(n)}function h7n(e){var n;return e==null?null:(n=u(e,195),ejn(n,n.length))}function G(e,n){if(e.g==null||n>=e.i)throw x(new pD(n,e.i));return e.Ui(n,e.g[n])}function Cf(){Cf=q,bu=new RO("BEGIN",0),uo=new RO(py,1),gu=new RO("END",2)}function Vf(){Vf=q,p4=new aD(py,0),gp=new aD("HEAD",1),m4=new aD("TAIL",2)}function lv(){lv=q,Tln=Ta(Ta(Ta(n6(new Qi,(kv(),nk)),(I9(),uU)),K1e),Z1e)}function Ih(){Ih=q,Sln=Ta(Ta(Ta(n6(new Qi,(kv(),ik)),(I9(),Y1e)),U1e),W1e)}function t2(e,n){return Xwn(Y6(e,n,vt(rc(eh,Va(vt(rc(n==null?0:vi(n),nh)),15)))))}function gne(e,n){return Bf(),Vl(y1),m.Math.abs(e-n)<=y1||e==n||isNaN(e)&&isNaN(n)}function k5(e,n){var t,i;i=e.a,t=VCn(e,n,null),i!=n&&!e.e&&(t=sy(e,n,t)),t&&t.mj()}function d7n(e,n){var t;return t=Ar(sc(u(kn(e.g,n),8)),PY(u(kn(e.f,n),460).b)),t}function KRe(e,n,t){var i=function(){return e.apply(i,arguments)};return n.apply(i,t),i}function fv(e){var n;return M6(e==null||Array.isArray(e)&&(n=jE(e),!(n>=14&&n<=16))),e}function wne(e){e.b=(Xo(),_1),e.f=(ko(),j1),e.d=(Ps(2,Nw),new eo(2)),e.e=new Gr}function R_(e){this.b=(at(e),new Uo(e)),this.a=new me,this.d=new me,this.e=new Gr}function WRe(e){return a1(e),Xm(!0,"n may not be negative"),new Ze(e,new gBe(e.a))}function b7n(e,n){un();var t,i;for(i=new me,t=0;t0?u(Te(t.a,i-1),9):null}function Vl(e){if(!(e>=0))throw x(new Mn("tolerance ("+e+") must be >= 0"));return e}function X6(){return nV||(nV=new _Xe,bv(nV,D(O(qv,1),hn,148,0,[new gK]))),nV}function G_(){G_=q,F1e=new eD("NO",0),iU=new eD(toe,1),L1e=new eD("LOOK_BACK",2)}function yc(){yc=q,W8=new WO(z9,0),Qo=new WO("INPUT",1),oo=new WO("OUTPUT",2)}function H_(){H_=q,ohe=new HO("ARD",0),mN=new HO("MSD",1),Hz=new HO("MANUAL",2)}function k7n(){return bC(),D(O(fhe,1),ae,267,0,[Uz,lhe,Xz,Kz,Vz,Wz,kA,qz,zz])}function E7n(){return wC(),D(O(m1e,1),ae,268,0,[Hq,g1e,w1e,Jq,b1e,p1e,KN,Bq,Gq])}function C7n(){return as(),D(O(lwe,1),ae,266,0,[k4,dT,Ox,_k,Dx,Fx,Lx,AV,hT])}function A7n(){w_e();for(var e=GH,n=0;nt)throw x(new Kg(n,t));return new OQ(e,n)}function z_(e){var n,t;for(t=e.c.Bc().Jc();t.Ob();)n=u(t.Pb(),18),n.$b();e.c.$b(),e.d=0}function T7n(e){var n,t,i,r;for(t=e.a,i=0,r=t.length;i=0),sTn(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function gBe(e){iS.call(this,e.yd(64)?NY(0,Cl(e.xd(),1)):NC,e.wd()),this.b=1,this.a=e}function wBe(){VY.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=Zl}function pBe(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=null,this.c=new dNe(this,n,t,i)}function SF(e,n,t,i,r){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1,r||(this.o=-2-i-1)}function mBe(e){BW(),this.g=new Wn,this.f=new Wn,this.b=new Wn,this.c=new jb,this.i=e}function Tne(){this.f=new Gr,this.d=new uW,this.c=new Gr,this.a=new me,this.b=new me}function S7n(e){var n,t;for(t=new $(bze(e));t.a=0}function Mne(){Mne=q,isn=Tt(Tt(Tt(new Qi,(Pr(),tf),(Br(),D2)),ch,qw),Du,zw)}function vBe(){vBe=q,rsn=Tt(Tt(Tt(new Qi,(Pr(),tf),(Br(),D2)),ch,qw),Du,zw)}function Sne(){Sne=q,csn=Tt(Tt(Tt(new Qi,(Pr(),tf),(Br(),D2)),ch,qw),Du,zw)}function yBe(){yBe=q,usn=Tt(Tt(Tt(new Qi,(Pr(),tf),(Br(),D2)),ch,qw),Du,zw)}function kBe(){kBe=q,osn=Tt(Tt(Tt(new Qi,(Pr(),tf),(Br(),D2)),ch,qw),Du,zw)}function EBe(){EBe=q,ssn=Tt(Tt(Tt(new Qi,(Pr(),tf),(Br(),D2)),ch,qw),Du,zw)}function CBe(){CBe=q,asn=Qu(Tt(Tt(new Qi,(Pr(),Du),(Br(),rN)),Lu,Z$),Tc,iN)}function ABe(){ABe=q,Wnn=D(O(pt,1),Ot,30,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function _ne(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,0,t,e.b))}function jne(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,1,t,e.c))}function _F(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,4,t,e.c))}function Ine(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,1,t,e.c))}function $ne(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,1,t,e.d))}function C5(e,n){var t;t=e.k,e.k=n,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,2,t,e.k))}function jF(e,n){var t;t=e.D,e.D=n,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,2,t,e.D))}function V_(e,n){var t;t=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,8,t,e.f))}function X_(e,n){var t;t=e.i,e.i=n,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,7,t,e.i))}function Nne(e,n){var t;t=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,8,t,e.a))}function xne(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,0,t,e.b))}function I7n(e,n,t){var i;e.b=n,e.a=t,i=(e.a&512)==512?new IMe:new bK,e.c=oPn(i,e.b,e.a)}function TBe(e,n){return Dh(e.e,n)?(pc(),yF(n)?new IS(n,e):new L7(n,e)):new Yje(n,e)}function $7n(e){var n,t;return 0>e?new FW:(n=e+1,t=new FLe(n,e),new bQ(null,t))}function N7n(e,n){un();var t;return t=new Pm(1),$r(e)?Pc(t,e,n):Co(t.f,e,n),new cO(t)}function x7n(e,n){var t;t=new GT,u(n.b,68),u(n.b,68),u(n.b,68),no(n.a,new qQ(e,t,n))}function MBe(e,n){var t;return J(n,8)?(t=u(n,8),e.a==t.a&&e.b==t.b):!1}function P7n(e){var n;return n=M(e,(se(),ti)),J(n,174)?VGe(u(n,174)):null}function SBe(e){var n;return e=m.Math.max(e,2),n=tte(e),e>n?(n<<=1,n>0?n:R9):n}function IF(e){switch(qY(e.e!=3),e.e){case 2:return!1;case 0:return!0}return F8n(e)}function Pne(e){var n;return e.b==null?(rd(),rd(),kT):(n=e.sl()?e.rl():e.ql(),n)}function _Be(e,n){var t,i;for(i=n.vc().Jc();i.Ob();)t=u(i.Pb(),45),rC(e,t.jd(),t.kd())}function One(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,11,t,e.d))}function K_(e,n){var t;t=e.j,e.j=n,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,13,t,e.j))}function Dne(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,21,t,e.b))}function Lne(e,n){e.r>0&&e.c0&&e.g!=0&&Lne(e.i,n/e.r*e.i.d))}function jBe(e,n,t){var i,r,c;for(c=e.a.length-1,r=e.b,i=0;i0?1:0:(!e.c&&(e.c=aE(vu(e.f))),e.c).e}function RBe(e,n){n?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function R7n(e,n){n.Tg(gQe,1),Ui(Uc(new Ze(null,new nn(e.b,16)),new Hme),new zme),n.Ug()}function OF(e,n,t,i,r,c){var o;this.c=e,o=new me,Eie(e,o,n,e.b,t,i,r,c),this.a=new Rr(o,0)}function Wi(e,n,t,i,r,c,o,l,a,d,b,w,y){return nUe(e,n,t,i,r,c,o,l,a,d,b,w,y),hR(e,!1),e}function B7n(e,n){typeof window===_C&&typeof window.$gwt===_C&&(window.$gwt[e]=n)}function J7n(e,n,t){var i,r,c;for(i=0,r=0;r>>31;i!=0&&(e[t]=i)}function G7n(e,n,t){t.Tg("DFS Treeifying phase",1),QAn(e,n),jxn(e,n),e.a=null,e.b=null,t.Ug()}function H7n(e,n){var t;n.Tg("General Compactor",1),t=PAn(u(fe(e,(g1(),_U)),386)),t.Bg(e)}function z7n(e,n){var t,i;return t=u(fe(e,(g1(),dx)),15),i=u(fe(n,dx),15),Bu(t.a,i.a)}function Jne(e,n,t){var i,r;for(r=ct(e,0);r.b!=r.d.c;)i=u(it(r),8),i.a+=n,i.b+=t;return e}function q7n(e,n,t,i){var r;r=new jm,b0(r,"x",Hj(e,n,i.a)),b0(r,"y",zj(e,n,i.b)),Zm(t,r)}function U7n(e,n,t,i){var r;r=new jm,b0(r,"x",Hj(e,n,i.a)),b0(r,"y",zj(e,n,i.b)),Zm(t,r)}function V7n(){return p1(),D(O(S1e,1),ae,243,0,[QN,OA,DA,A1e,T1e,C1e,M1e,ZN,s4,K8])}function X7n(){return kc(),D(O(rq,1),ae,261,0,[CN,al,I8,AN,e4,J2,$8,Qy,Zy,TN])}function DF(){DF=q,xk=new TMe,OV=D(O(Io,1),N2,179,0,[]),Vhn=D(O(Pl,1),qle,62,0,[])}function av(){av=q,Iz=new Ti("edgelabelcenterednessanalysis.includelabel",(pn(),S1))}function BBe(e,n){return X(Y(ps(UE(Zu(new Ze(null,new nn(e.c.b,16)),new UCe(e)),n))))}function Gne(e,n){return X(Y(ps(UE(Zu(new Ze(null,new nn(e.c.b,16)),new qCe(e)),n))))}function vi(e){return $r(e)?dd(e):Hg(e)?Rm(e):Gg(e)?B$e(e):pZ(e)?e.Hb():hZ(e)?yb(e):ZZ(e)}function JBe(e,n){return Bf(),Vl(ea),m.Math.abs(0-n)<=ea||n==0||isNaN(0)&&isNaN(n)?0:e/n}function K7n(e,n){return j5(),e==sg&&n==Gw||e==sg&&n==O2||e==Hw&&n==O2||e==Hw&&n==Gw}function W7n(e,n){return j5(),e==sg&&n==Hw||e==Hw&&n==sg||e==O2&&n==Gw||e==Gw&&n==O2}function Ro(){Ro=q,bae=new Ime,hae=new $me,dae=new Nme,aae=new xme,gae=new Pme,wae=new Ome}function Y7n(e){var n;return n=a_(e),b6(n.a,0)?(EM(),EM(),ltn):(EM(),new v$e(n.b))}function LF(e){var n;return n=yee(e),b6(n.a,0)?(Fg(),Fg(),iz):(Fg(),new $D(n.b))}function FF(e){var n;return n=yee(e),b6(n.a,0)?(Fg(),Fg(),iz):(Fg(),new $D(n.c))}function Q7n(e){return e.b.c.i.k==(En(),sr)?u(M(e.b.c.i,(se(),ti)),12):e.b.c}function GBe(e){return e.b.d.i.k==(En(),sr)?u(M(e.b.d.i,(se(),ti)),12):e.b.d}function HBe(e){switch(e.g){case 2:return ke(),In;case 4:return ke(),Dn;default:return e}}function zBe(e){switch(e.g){case 1:return ke(),Xn;case 3:return ke(),jn;default:return e}}function Z7n(e,n){var t;return t=ure(e),Lre(new he(t.c,t.d),new he(t.b,t.a),e.Kf(),n,e.$f())}function eEn(e,n){n.Tg(gQe,1),Kte(cpn(new eM((Y4(),new SL(e,!1,!1,new ZX))))),n.Ug()}function Hne(){Hne=q,hsn=Ta(tIe(Tt(Tt(new Qi,(Pr(),Du),(Br(),rN)),Lu,Z$),Tc),iN)}function qBe(){qBe=q,wsn=Ta(tIe(Tt(Tt(new Qi,(Pr(),Du),(Br(),rN)),Lu,Z$),Tc),iN)}function UBe(e,n,t){this.g=e,this.d=n,this.e=t,this.a=new me,zIn(this),un(),kr(this.a,null)}function tl(e,n,t,i,r,c,o){ft.call(this,e,n),this.d=t,this.e=i,this.c=r,this.b=c,this.a=ql(o)}function zne(e){this.i=e.gc(),this.i>0&&(this.g=this.$i(this.i+(this.i/8|0)+1),e.Oc(this.g))}function W6(e,n){var t,i;for(gn(n),i=n.vc().Jc();i.Ob();)t=u(i.Pb(),45),e.yc(t.jd(),t.kd())}function nEn(e,n,t){var i;for(i=t.Jc();i.Ob();)if(!g_(e,n,i.Pb()))return!1;return!0}function Y6(e,n,t){var i;for(i=e.b[t&e.f];i;i=i.b)if(t==i.a&&Eh(n,i.g))return i;return null}function Q6(e,n,t){var i;for(i=e.c[t&e.f];i;i=i.d)if(t==i.f&&Eh(n,i.i))return i;return null}function tEn(e,n){var t;for(at(n);e.Ob();)if(t=e.Pb(),!Xne(u(t,9)))return!1;return!0}function iEn(e,n,t,i,r){var c;return t&&(c=$i(n.Ah(),e.c),r=t.Oh(n,-1-(c==-1?i:c),null,r)),r}function rEn(e,n,t,i,r){var c;return t&&(c=$i(n.Ah(),e.c),r=t.Qh(n,-1-(c==-1?i:c),null,r)),r}function VBe(e){var n;if(e.b==-2){if(e.e==0)n=-1;else for(n=0;e.a[n]==0;n++);e.b=n}return e.b}function cEn(e){var n,t,i;return e.j==(ke(),jn)&&(n=XUe(e),t=Do(n,Dn),i=Do(n,In),i||i&&t)}function uEn(e){var n,t,i;for(i=0,t=new $(e.b);t.ar&&n.ac&&n.br?t=r:Nn(n,t+1),e.a=kl(e.a,0,n)+(""+i)+xZ(e.a,t)}function XBe(e,n,t,i){J(e.Cb,184)&&(u(e.Cb,184).tb=null),to(e,t),n&&u$n(e,n),i&&e.el(!0)}function lEn(e,n){var t,i;for(i=new $(n.b);i.a1||e.Ob())return++e.a,e.g=0,n=e.i,e.Ob(),n;throw x(new Wc)}function pEn(e,n){var t,i;for(i=new $(n);i.a>22),r=e.h+n.h+(i>>22),so(t&hs,i&hs,r&Fh)}function kJe(e,n){var t,i,r;return t=e.l-n.l,i=e.m-n.m+(t>>22),r=e.h-n.h+(i>>22),so(t&hs,i&hs,r&Fh)}function qF(e){var n,t,i,r;for(r=new me,i=e.Jc();i.Ob();)t=u(i.Pb(),26),n=Mw(t),wr(r,n);return r}function DEn(e){var n;yd(e,!0),n=kd,Zt(e,(ye(),c4))&&(n+=u(M(e,c4),15).a),ie(e,c4,le(n))}function EJe(e,n,t){var i;Au(e.a),no(t.i,new qAe(e)),i=new uS(u(kn(e.a,n.b),68)),vHe(e,i,n),t.f=i}function Yne(e){var n,t;return t=(Ud(),n=new qT,n),e&&rt((!e.a&&(e.a=new oe(Mi,e,6,6)),e.a),t),t}function hv(e,n){var t,i;if(i=0,e<64&&e<=n)for(n=n<64?n:63,t=e;t<=n;t++)i=ka(i,qa(1,t));return i}function LEn(e,n){var t,i;for(n_(n,"predicate"),i=0;e.Ob();i++)if(t=e.Pb(),n.Lb(t))return i;return-1}function Qne(e,n){switch(n){case 0:!e.o&&(e.o=new Fo((Tu(),hh),Pd,e,0)),e.o.c.$b();return}aB(e,n)}function CJe(e){switch(e.g){case 1:return R1;case 2:return lh;case 3:return cT;default:return uT}}function Zne(e){un();var n,t,i;for(i=0,t=e.Jc();t.Ob();)n=t.Pb(),i=i+(n!=null?vi(n):0),i=i|0;return i}function FEn(e){var n;return n=new hi,n.a=e,n.b=zEn(e),n.c=ee($e,be,2,2,6,1),n.c[0]=FBe(e),n.c[1]=FBe(e),n}function oj(){oj=q,$z=new DM(Mf,0),hN=new DM(mQe,1),dN=new DM(vQe,2),mA=new DM("BOTH",3)}function j5(){j5=q,sg=new PM("Q1",0),Hw=new PM("Q4",1),Gw=new PM("Q2",2),O2=new PM("Q3",3)}function o1(){o1=q,CA=new VO("ONLY_WITHIN_GROUP",0),She=new VO(XJ,1),Xw=new VO("ENFORCED",2)}function C0(){C0=q,Yz=new qO(Mf,0),Yy=new qO("INCOMING_ONLY",1),B2=new qO("OUTGOING_ONLY",2)}function dv(){dv=q,tan=new F6e,nan=new R6e}function UF(){UF=q,QH={boolean:epn,number:hwn,string:dwn,object:rUe,function:rUe,undefined:qgn}}function AJe(){AJe=q,Bon=dt((p1(),D(O(S1e,1),ae,243,0,[QN,OA,DA,A1e,T1e,C1e,M1e,ZN,s4,K8])))}function TJe(){TJe=q,Jrn=dt((kc(),D(O(rq,1),ae,261,0,[CN,al,I8,AN,e4,J2,$8,Qy,Zy,TN])))}function REn(e,n,t,i){return new UW(D(O(J0,1),MI,45,0,[(RR(e,n),new gb(e,n)),(RR(t,i),new gb(t,i))]))}function BEn(e,n){var t,i;return t=u(u(kn(e.g,n.a),49).a,68),i=u(u(kn(e.g,n.b),49).a,68),bKe(t,i)}function ete(e,n,t){var i;if(i=e.gc(),n>i)throw x(new Kg(n,i));return e.Qi()&&(t=DOe(e,t)),e.Ci(n,t)}function MJe(e){var n,t,i;return t=e.n,i=e.o,n=e.d,new Hl(t.a-n.b,t.b-n.d,i.a+(n.b+n.c),i.b+(n.d+n.a))}function JEn(e,n){return!e||!n||e==n?!1:Fb(e.b.c,n.b.c+n.b.b)<0&&Fb(n.b.c,e.b.c+e.b.b)<0}function VF(e,n,t){return e>=128?!1:e<64?g6(Nr(qa(1,e),t),0):g6(Nr(qa(1,e-64),n),0)}function JE(e,n,t){switch(t.g){case 2:e.b=n;break;case 1:e.c=n;break;case 4:e.d=n;break;case 3:e.a=n}}function GE(e,n,t){return t==null?(!e.q&&(e.q=new Wn),uv(e.q,n)):(!e.q&&(e.q=new Wn),Pt(e.q,n,t)),e}function ie(e,n,t){return t==null?(!e.q&&(e.q=new Wn),uv(e.q,n)):(!e.q&&(e.q=new Wn),Pt(e.q,n,t)),e}function SJe(e){var n,t;return t=new E_,yu(t,e),ie(t,(c1(),Vv),e),n=new Wn,ODn(e,t,n),hRn(e,t,n),t}function GEn(e){ny();var n,t,i;for(t=ee(_r,be,8,2,0,1),i=0,n=0;n<2;n++)i+=.5,t[n]=kMn(i,e);return t}function _Je(e,n){var t,i,r,c;for(t=!1,i=e.a[n].length,c=0;ce.f,t=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,n||t}function nte(e){var n;return(!e.c||(e.Bb&1)==0&&(e.c.Db&64)!=0)&&(n=Al(e),J(n,88)&&(e.c=u(n,29))),e.c}function tte(e){var n;if(e<0)return Jr;if(e==0)return 0;for(n=R9;(n&e)==0;n>>=1);return n}function zEn(e){var n;return e==0?"Etc/GMT":(e<0?(e=-e,n="Etc/GMT-"):n="Etc/GMT+",n+mRe(e))}function IJe(e){var n,t;return t=hC(e.h),t==32?(n=hC(e.m),n==32?hC(e.l)+32:n+20-10):t-12}function XF(e){var n,t,i;n=~e.l+1&hs,t=~e.m+(n==0?1:0)&hs,i=~e.h+(n==0&&t==0?1:0)&Fh,e.l=n,e.m=t,e.h=i}function e9(e){var n;return n=e.a[e.b],n==null?null:(Ki(e.a,e.b,null),e.b=e.b+1&e.a.length-1,n)}function ite(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function rte(e,n){this.c=e,this.d=n,this.b=this.d/this.c.c.Pd().gc()|0,this.a=this.d%this.c.c.Pd().gc()}function $Je(e,n){this.b=e,Jp.call(this,(u(G(ue((Qd(),vn).o),10),19),n.i),n.g),this.a=(DF(),OV)}function cte(e,n,t){this.q=new m.Date,this.q.setFullYear(e+k1,n,t),this.q.setHours(0,0,0,0),N9(this,0)}function NJe(e,n,t){var i,r;return i=new aF(n,t),r=new gr,e.b=YVe(e,e.b,i,r),r.b||++e.c,e.b.b=!1,r.d}function ute(e,n){un();var t,i,r,c,o;for(o=!1,i=n,r=0,c=i.length;ro||i+r>c)throw x(new WK)}function xJe(e,n,t){var i,r,c,o;for(o=u9(n,t),c=0,r=o.Jc();r.Ob();)i=u(r.Pb(),12),Pt(e.c,i,le(c++))}function s1(e){var n,t;for(t=new $(e.a.b);t.a=0,"Negative initial capacity"),Z7(n>=0,"Non-positive load factor"),Au(this)}function FJe(e,n){var t;for(t=0;t1||n>=0&&e.b<3)}function ZEn(){Kt();var e;return JV||(e=W2n(m1("M",!0)),e=LS(m1("M",!1),e),JV=e,JV)}function JJe(e){switch(e.g){case 0:return new L6e;default:throw x(new Mn(l$+(e.f!=null?e.f:""+e.g)))}}function GJe(e){switch(e.g){case 0:return new D6e;default:throw x(new Mn(l$+(e.f!=null?e.f:""+e.g)))}}function ate(e,n,t){switch(n){case 0:!e.o&&(e.o=new Fo((Tu(),hh),Pd,e,0)),nj(e.o,t);return}bB(e,n,t)}function WF(e,n,t){this.g=e,this.e=new Gr,this.f=new Gr,this.d=new fi,this.b=new fi,this.a=n,this.c=t}function YF(e,n,t,i){this.b=new me,this.n=new me,this.i=i,this.j=t,this.s=e,this.t=n,this.r=0,this.d=0}function HJe(e,n,t,i){this.b=new Wn,this.g=new Wn,this.d=(r9(),WN),this.c=e,this.e=n,this.d=t,this.a=i}function N5(e,n){if(!e.Ji()&&n==null)throw x(new Mn("The 'no null' constraint is violated"));return n}function hte(e){switch(e.g){case 1:return BQe;default:case 2:return 0;case 3:return JQe;case 4:return _se}}function eCn(e){return pe(e.c,(dv(),tan)),bne(e.a,X(Y(Ae((mR(),XN)))))?new k9e:new YAe(e)}function nCn(e){for(;!e.d||!e.d.Ob();)if(e.b&&!U4(e.b))e.d=u(Ym(e.b),50);else return null;return e.d}function dd(e){var n,t;for(n=0,t=0;ti?1:0}function zJe(e,n){var t,i,r;for(r=e.b;r;){if(t=e.a.Le(n,r.d),t==0)return r;i=t<0?0:1,r=r.a[i]}return null}function QF(e,n){var t;return n===e?!0:J(n,229)?(t=u(n,229),Qt(e.Zb(),t.Zb())):!1}function dte(e,n){return OVe(e,n)?(Qe(e.b,u(M(n,(se(),Gh)),22),n),jt(e.a,n),!0):!1}function rCn(e,n){return Zt(e,(se(),wi))&&Zt(n,wi)?u(M(n,wi),15).a-u(M(e,wi),15).a:0}function cCn(e,n){return Zt(e,(se(),wi))&&Zt(n,wi)?u(M(e,wi),15).a-u(M(n,wi),15).a:0}function qJe(e){return ra?ee(htn,SYe,567,0,0,1):u(Xf(e.a,ee(htn,SYe,567,e.a.c.length,0,1)),840)}function ks(e){return $r(e)?$e:Hg(e)?or:Gg(e)?Hi:pZ(e)||hZ(e)?e.Pm:e.Pm||Array.isArray(e)&&O(znn,1)||znn}function s2(e,n,t){var i,r;return r=(i=new bO,i),Ic(r,n,t),rt((!e.q&&(e.q=new oe(Pl,e,11,10)),e.q),r),r}function ZF(e){var n,t,i,r;for(r=wpn(Chn,e),t=r.length,i=ee($e,be,2,t,6,1),n=0;n=e.b.c.length||(bte(e,2*n+1),t=2*n+2,t0&&(n.Ad(t),t.i&&xTn(t))}function gte(e,n,t){var i;for(i=t-1;i>=0&&e[i]===n[i];i--);return i<0?0:LO(Nr(e[i],Ec),Nr(n[i],Ec))?-1:1}function oCn(e,n){var t;return!e||e==n||!Zt(n,(se(),hg))?!1:(t=u(M(n,(se(),hg)),9),t!=e)}function eR(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.Yl()}}function UJe(e,n,t){return e.d[n.p][t.p]||(nMn(e,n,t),e.d[n.p][t.p]=!0,e.d[t.p][n.p]=!0),e.a[n.p][t.p]}function VJe(e,n,t){var i,r;this.g=e,this.c=n,this.a=this,this.d=this,r=SBe(t),i=ee(Gnn,xC,227,r,0,1),this.b=i}function sCn(e,n){var t,i;for(i=e.Zb().Bc().Jc();i.Ob();)if(t=u(i.Pb(),18),t.Gc(n))return!0;return!1}function XJe(e,n,t){var i,r,c,o;for(gn(t),o=!1,c=e.dd(n),r=t.Jc();r.Ob();)i=r.Pb(),c.Rb(i),o=!0;return o}function nR(e,n){var t,i;return i=u(_n(e.a,4),129),t=ee(xV,_H,415,n,0,1),i!=null&&Pu(i,0,t,0,i.length),t}function KJe(e,n){var t;return t=new SB((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,n),e.e!=null||(t.c=e),t}function lCn(e,n){var t;return e===n?!0:J(n,92)?(t=u(n,92),pre(s0(e),t.vc())):!1}function WJe(e,n,t){var i,r;for(r=t.Jc();r.Ob();)if(i=u(r.Pb(),45),e.ze(n,i.kd()))return!0;return!1}function sj(){sj=q,SV=new YM("ELK",0),ywe=new YM("JSON",1),vwe=new YM("DOT",2),kwe=new YM("SVG",3)}function n9(){n9=q,vU=new HM(XJ,0),fx=new HM(zQe,1),mU=new HM("FAN",2),pU=new HM("CONSTRAINT",3)}function t9(){t9=q,t0e=new iD(Mf,0),oU=new iD("MIDDLE_TO_MIDDLE",1),BA=new iD("AVOID_OVERLAP",2)}function HE(){HE=q,hx=new rD(Mf,0),j0e=new rD("RADIAL_COMPACTION",1),I0e=new rD("WEDGE_COMPACTION",2)}function i9(){i9=q,nU=new QO("STACKED",0),eU=new QO("REVERSE_STACKED",1),LA=new QO("SEQUENCED",2)}function il(){il=q,Dfe=new FO("CONCURRENT",0),To=new FO("IDENTITY_FINISH",1),Lfe=new FO("UNORDERED",2)}function xh(){xh=q,xx=new hD(Cle,0),xd=new hD("INCLUDE_CHILDREN",1),Ek=new hD("SEPARATE_CHILDREN",2)}function lj(){lj=q,nwe=new mb(15),Uan=new Hr((St(),sh),nwe),kk=h3,Yge=pan,Qge=Z0,ewe=um,Zge=ap}function tR(){tR=q,kz=jOe(D(O(yk,1),ae,86,0,[(ar(),Rc),zc])),Ez=jOe(D(O(yk,1),ae,86,0,[hl,la]))}function fCn(e){var n,t,i;for(n=0,i=ee(_r,be,8,e.b,0,1),t=ct(e,0);t.b!=t.d.c;)i[n++]=u(it(t),8);return i}function iR(e,n,t){var i,r,c;for(i=new fi,c=ct(t,0);c.b!=c.d.c;)r=u(it(c),8),jt(i,new oc(r));XJe(e,n,i)}function aCn(e,n){var t;t=Ae((mR(),XN))!=null&&n.Rg()!=null?X(Y(n.Rg()))/X(Y(Ae(XN))):1,Pt(e.b,n,t)}function hCn(e,n){var t,i;return t=u(e.d.Ac(n),18),t?(i=e.e.hc(),i.Fc(t),e.e.d-=t.gc(),t.$b(),i):null}function wte(e,n){var t,i;if(i=e.c[n],i!=0)for(e.c[n]=0,e.d-=i,t=n+1;t0)return c5(n-1,e.a.c.length),ld(e.a,n-1);throw x(new KTe)}function dCn(e,n,t){if(n<0)throw x(new Yu(lZe+n));nn)throw x(new Mn($I+e+_Ye+n));if(e<0||n>t)throw x(new kW($I+e+Fue+n+Oue+t))}function QJe(e){if(!e.a||(e.a.i&8)==0)throw x(new Nc("Enumeration class expected for layout option "+e.f))}function ZJe(e){POe.call(this,"The given string does not match the expected format for individual spacings.",e)}function eGe(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.Zl()}}function bd(e){switch(e.c){case 0:return ZD(),ufe;case 1:return new Am(hUe(new xm(e)));default:return new GMe(e)}}function nGe(e){switch(e.gc()){case 0:return ZD(),ufe;case 1:return new Am(e.Jc().Pb());default:return new VW(e)}}function mte(e){var n;return n=(!e.a&&(e.a=new oe(Xh,e,9,5)),e.a),n.i!=0?bpn(u(G(n,0),684)):null}function bCn(e,n){var t;return t=lc(e,n),LO(qL(e,n),0)|nS(qL(e,t),0)?t:lc(NC,qL(f0(t,63),1))}function vte(e,n,t){var i,r;return cw(n,e.c.length),i=t.Nc(),r=i.length,r==0?!1:(WQ(e.c,n,i),!0)}function gCn(e,n){var t,i;for(t=e.a.length-1;n!=e.b;)i=n-1&t,Ki(e.a,n,e.a[i]),n=i;Ki(e.a,e.b,null),e.b=e.b+1&t}function wCn(e,n){var t,i;for(t=e.a.length-1,e.c=e.c-1&t;n!=e.c;)i=n+1&t,Ki(e.a,n,e.a[i]),n=i;Ki(e.a,e.c,null)}function x5(e,n){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),jF(e,n==null?null:(gn(n),n)),e.C&&e.fl(null)}function l2(e){return(e.c!=e.b.b||e.i!=e.g.b)&&(Ng(e.a.c,0),wr(e.a,e.b),wr(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function gw(e){var n;++e.j,e.i==0?e.g=null:e.ir&&(Vze(n.q,r),i=t!=n.q.d)),i}function fGe(e,n){var t,i,r,c,o,l,a,d;return a=n.i,d=n.j,i=e.f,r=i.i,c=i.j,o=a-r,l=d-c,t=m.Math.sqrt(o*o+l*l),t}function Ete(e,n){var t,i;return i=Sj(e),i||(t=(XB(),aVe(n)),i=new RTe(t),rt(i.Cl(),e)),i}function zE(e,n){var t,i;return t=u(e.c.Ac(n),18),t?(i=e.hc(),i.Fc(t),e.d-=t.gc(),t.$b(),e.mc(i)):e.jc()}function ECn(e){var n;if(!(e.c.c<0?e.a>=e.c.b:e.a<=e.c.b))throw x(new Wc);return n=e.a,e.a+=e.c.c,++e.b,le(n)}function CCn(e){var n,t;if(e==null)return!1;for(n=0,t=e.length;n=i||n=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function $Cn(e,n){var t,i,r;for(r=1,t=e,i=n>=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function f1(e,n){var t,i,r,c;return c=(r=e?Sj(e):null,iUe((i=n,r&&r.El(),i))),c==n&&(t=Sj(e),t&&t.El()),c}function Ate(e,n,t){var i,r;return r=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Mr(e,1,1,r,n),t?t.lj(i):t=i),t}function dGe(e,n,t){var i,r;return r=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Mr(e,1,3,r,n),t?t.lj(i):t=i),t}function bGe(e,n,t){var i,r;return r=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Mr(e,1,0,r,n),t?t.lj(i):t=i),t}function gGe(e){var n,t;if(e!=null)for(t=0;t-129&&e<128?(bxe(),n=e+128,t=kfe[n],!t&&(t=kfe[n]=new jK(e)),t):new jK(e)}function le(e){var n,t;return e>-129&&e<128?(oxe(),n=e+128,t=pfe[n],!t&&(t=pfe[n]=new $K(e)),t):new $K(e)}function LCn(e,n,t,i,r){n==0||i==0||(n==1?r[i]=wie(r,t,i,e[0]):i==1?r[n]=wie(r,e,n,t[0]):M$n(e,t,r,n,i))}function yGe(e,n){var t;e.c.length!=0&&(t=u(Xf(e,ee(uh,Ed,9,e.c.length,0,1)),199),SY(t,new vve),MUe(t,n))}function kGe(e,n){var t;e.c.length!=0&&(t=u(Xf(e,ee(uh,Ed,9,e.c.length,0,1)),199),SY(t,new yve),MUe(t,n))}function EGe(e,n){var t;e.a.c.length>0&&(t=u(Te(e.a,e.a.c.length-1),565),dte(t,n))||pe(e.a,new PLe(n))}function FCn(e){js();var n,t;n=e.d.c-e.e.c,t=u(e.g,156),no(t.b,new $Ce(n)),no(t.c,new NCe(n)),Yr(t.i,new xCe(n))}function CGe(e){var n;return n=new zd,n.a+="VerticalSegment ",Ru(n,e.e),n.a+=" ",_t(n,HY(new MO,new $(e.k))),n.a}function RCn(e,n){var t;e.c=n,e.a=LAn(n),e.a<54&&(e.f=(t=n.d>1?NDe(n.a[0],n.a[1]):NDe(n.a[0],0),m0(n.e>0?t:ad(t))))}function oR(e,n){var t,i,r;for(t=0,r=iu(e,n).Jc();r.Ob();)i=u(r.Pb(),12),t+=M(i,(se(),Yo))!=null?1:0;return t}function f2(e,n,t){var i,r,c;for(i=0,c=ct(e,0);c.b!=c.d.c&&(r=X(Y(it(c))),!(r>t));)r>=n&&++i;return i}function BCn(e){var n;return n=u(Uf(e.c.c,""),233),n||(n=new tv(G3(J3(new Em,""),"Other")),S0(e.c.c,"",n)),n}function c9(e){var n;return(e.Db&64)!=0?Wl(e):(n=new vl(Wl(e)),n.a+=" (name: ",_c(n,e.zb),n.a+=")",n.a)}function Ste(e,n,t){var i,r;return r=e.sb,e.sb=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Mr(e,1,4,r,n),t?t.lj(i):t=i),t}function qE(e,n,t){var i;e.Zi(e.i+1),i=e.Xi(n,t),n!=e.i&&Pu(e.g,n,e.g,n+1,e.i-n),Ki(e.g,n,i),++e.i,e.Ki(n,t),e.Li()}function _te(e,n,t){var i,r;return r=e.r,e.r=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Mr(e,1,8,r,e.r),t?t.lj(i):t=i),t}function JCn(e,n,t){var i,r;return i=new jh(e.e,3,13,null,(r=n.c,r||(rn(),da)),md(e,n),!1),t?t.lj(i):t=i,t}function GCn(e,n,t){var i,r;return i=new jh(e.e,4,13,(r=n.c,r||(rn(),da)),null,md(e,n),!1),t?t.lj(i):t=i,t}function HCn(e,n){var t,i,r,c;if(n.cj(e.a),c=u(_n(e.a,8),1997),c!=null)for(t=c,i=0,r=t.length;i>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63}function zCn(e){return e?(e.i&1)!=0?e==$o?Hi:e==pt?br:e==Ap?Gy:e==Dr?or:e==Ag?ug:e==hm?og:e==zo?Gv:m8:e:null}function Qt(e,n){return $r(e)?Ye(e,n):Hg(e)?gNe(e,n):Gg(e)?(gn(e),Z(e)===Z(n)):pZ(e)?e.Fb(n):hZ(e)?fIe(e,n):gee(e,n)}function TGe(e){var n;return zu(e,0)<0&&(e=u1(lyn(qc(e)?El(e):e))),n=vt(f0(e,32)),64-(n!=0?hC(n):hC(vt(e))+32)}function UE(e,n){var t;return t=new mi,e.a.zd(t)?(W3(),new vO(gn(sRe(e,t.a,n)))):(Zd(e),W3(),W3(),Nfe)}function u9(e,n){switch(n.g){case 2:case 1:return iu(e,n);case 3:case 4:return Cs(iu(e,n))}return un(),un(),bc}function qCn(e,n){var t;return n.a&&(t=n.a.a.length,e.a?_t(e.a,e.b):e.a=new _s(e.d),DDe(e.a,n.a,n.d.length,t)),e}function UCn(e){TI();var n,t,i,r;for(t=SR(),i=0,r=t.length;it)throw x(new Yu($I+e+Fue+n+", size: "+t));if(e>n)throw x(new Mn($I+e+_Ye+n))}function rl(e,n,t){if(n<0)xre(e,t);else{if(!t.pk())throw x(new Mn(T1+t.ve()+c8));u(t,69).uk().Ck(e,e.ei(),n)}}function sR(e,n,t){return m.Math.abs(n-e)i$?e-t>i$:t-e>i$}function Ite(e,n,t,i){switch(n){case 1:return!e.n&&(e.n=new oe(ou,e,1,7)),e.n;case 2:return e.k}return Tie(e,n,t,i)}function SGe(e){var n;return(e.Db&64)!=0?Wl(e):(n=new vl(Wl(e)),n.a+=" (source: ",_c(n,e.d),n.a+=")",n.a)}function wd(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new zl(e,1,2,t,n))}function $te(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new zl(e,1,8,t,n))}function Nte(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new zl(e,1,9,t,n))}function pd(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new zl(e,1,3,t,n))}function dj(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new zl(e,1,8,t,n))}function VCn(e,n,t){var i,r;return r=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Mr(e,1,5,r,e.a),t?Wie(t,i):t=i),t}function o9(e,n){var t;return e.b==-1&&e.a&&(t=e.a.nk(),e.b=t?e.c.Eh(e.a.Jj(),t):$i(e.c.Ah(),e.a)),e.c.vh(e.b,n)}function _Ge(e,n){var t,i;for(i=new Jn(e);i.e!=i.i.gc();)if(t=u(zn(i),29),Z(n)===Z(t))return!0;return!1}function jGe(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function xte(e){var n,t;return n=e.k,n==(En(),sr)?(t=u(M(e,(se(),wu)),64),t==(ke(),jn)||t==Xn):!1}function IGe(e){var n;return n=yee(e),b6(n.a,0)?(Fg(),Fg(),iz):(Fg(),new $D(DO(n.a,0)?Gee(n)/m0(n.a):0))}function XCn(e,n){var t;if(t=pC(e,n),J(t,335))return u(t,38);throw x(new Mn(T1+n+"' is not a valid attribute"))}function s9(e,n,t){var i;if(i=e.gc(),n>i)throw x(new Kg(n,i));if(e.Qi()&&e.Gc(t))throw x(new Mn(iA));e.Ei(n,t)}function $Ge(e,n){var t,i;for(i=new Jn(e);i.e!=i.i.gc();)if(t=u(zn(i),143),Z(n)===Z(t))return!0;return!1}function KCn(e,n,t){var i,r,c;return c=(r=Z5(e.b,n),r),c&&(i=u(yI(SE(e,c),""),29),i)?ice(e,i,n,t):null}function lR(e,n,t){var i,r,c;return c=(r=Z5(e.b,n),r),c&&(i=u(yI(SE(e,c),""),29),i)?rce(e,i,n,t):null}function WCn(e){var n,t,i;for(i=0,t=e.length,n=0;n=0?h1(e):x6(h1(ad(e))))}function NGe(e,n,t,i,r,c){this.e=new me,this.f=(yc(),W8),pe(this.e,e),this.d=n,this.a=t,this.b=i,this.f=r,this.c=c}function oi(e,n){return en?1:e==n?e==0?oi(1/e,1/n):0:isNaN(e)?isNaN(n)?0:1:-1}function YCn(e){var n;return n=e.a[e.c-1&e.a.length-1],n==null?null:(e.c=e.c-1&e.a.length-1,Ki(e.a,e.c,null),n)}function xGe(e){var n,t;for(t=e.p.a.ec().Jc();t.Ob();)if(n=u(t.Pb(),217),n.f&&e.b[n.c]<-1e-10)return n;return null}function QCn(e){var n,t,i;for(n=new me,i=new $(e.b);i.a=1?zc:la):t}function rAn(e){var n,t;for(t=hVe(xs(e)).Jc();t.Ob();)if(n=wt(t.Pb()),$9(e,n))return w8n((__e(),Ohn),n);return null}function cAn(e,n,t){var i,r;for(r=e.a.ec().Jc();r.Ob();)if(i=u(r.Pb(),9),BE(t,u(Te(n,i.p),18)))return i;return null}function uAn(e,n,t){var i,r;for(r=J(n,103)&&(u(n,19).Bb&dc)!=0?new mD(n,e):new M5(n,e),i=0;i>10)+LC&hr,n[1]=(e&1023)+56320&hr,Aa(n,0,n.length)}function Fte(e,n){var t;t=(e.Bb&dc)!=0,n?e.Bb|=dc:e.Bb&=-65537,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new zl(e,1,20,t,n))}function J5(e,n){var t;t=(e.Bb&ja)!=0,n?e.Bb|=ja:e.Bb&=-16385,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new zl(e,1,16,t,n))}function hR(e,n){var t;t=(e.Bb&Eu)!=0,n?e.Bb|=Eu:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new zl(e,1,18,t,n))}function Rte(e,n){var t;t=(e.Bb&Eu)!=0,n?e.Bb|=Eu:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new zl(e,1,18,t,n))}function iu(e,n){var t;return e.i||Nre(e),t=u(jc(e.g,n),49),t?new n1(e.j,u(t.a,15).a,u(t.b,15).a):(un(),un(),bc)}function lAn(e,n,t){var i,r;return i=u(n.mf(e.a),35),r=u(t.mf(e.a),35),i!=null&&r!=null?xE(i,r):i!=null?-1:r!=null?1:0}function Bte(e,n,t){var i,r;return i=(Ud(),r=new UT,r),B_(i,n),J_(i,t),e&&rt((!e.a&&(e.a=new fr(Us,e,5)),e.a),i),i}function Jte(e,n,t){var i;return i=0,n&&(Hp(e.a)?i+=n.f.a/2:i+=n.f.b/2),t&&(Hp(e.a)?i+=t.f.a/2:i+=t.f.b/2),i}function Lb(e,n,t){var i;return i=e.a.get(n),e.a.set(n,t===void 0?null:t),i===void 0?(++e.c,++e.b.g):++e.d,i}function dR(e){var n;return(e.Db&64)!=0?Wl(e):(n=new vl(Wl(e)),n.a+=" (identifier: ",_c(n,e.k),n.a+=")",n.a)}function pj(e){var n;switch(e.gc()){case 0:return $S(),XH;case 1:return new FD(at(e.Xb(0)));default:return n=e,new UL(n)}}function fAn(e){switch(u(M(e,(ye(),zh)),222).g){case 1:return new U5e;case 3:return new Y5e;default:return new q5e}}function aAn(e){var n;return n=Ew(e),n>34028234663852886e22?Ri:n<-34028234663852886e22?Tr:n}function lc(e,n){var t;return qc(e)&&qc(n)&&(t=e+n,DCn){SDe(t);break}}US(t,n)}function He(e,n){var t,i,r,c,o;if(t=n.f,S0(e.c.d,t,n),n.g!=null)for(r=n.g,c=0,o=r.length;cn&&i.Le(e[c-1],e[c])>0;--c)o=e[c],Ki(e,c,e[c-1]),Ki(e,c-1,o)}function cl(e,n,t,i){if(n<0)sce(e,t,i);else{if(!t.pk())throw x(new Mn(T1+t.ve()+c8));u(t,69).uk().Ak(e,e.ei(),n,i)}}function kAn(e,n){var t;if(t=pC(e.Ah(),n),J(t,103))return u(t,19);throw x(new Mn(T1+n+"' is not a valid reference"))}function mj(e,n){if(n==e.d)return e.e;if(n==e.e)return e.d;throw x(new Mn("Node "+n+" not part of edge "+e))}function Hte(e,n,t,i){switch(n){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return Ite(e,n,t,i)}function EAn(e){return e.k!=(En(),zi)?!1:e2(new Ze(null,new ew(new Sn($n(yi(e).a.Jc(),new V)))),new A5e)}function Es(){Es=q,_A=new _7(Mf,0),O8=new _7("FIRST",1),Hh=new _7(mQe,2),D8=new _7("LAST",3),q0=new _7(vQe,4)}function f9(){f9=q,_8=new FM("LAYER_SWEEP",0),rhe=new FM("MEDIAN_LAYER_SWEEP",1),yA=new FM(ZJ,2),che=new FM(Mf,3)}function vj(){vj=q,Q0e=new oD("ASPECT_RATIO_DRIVEN",0),RU=new oD("MAX_SCALE_DRIVEN",1),Y0e=new oD("AREA_DRIVEN",2)}function yj(){yj=q,MV=new WM(Mse,0),gwe=new WM("GROUP_DEC",1),pwe=new WM("GROUP_MIXED",2),wwe=new WM("GROUP_INC",3)}function CAn(e,n){return Ye(n.b&&n.c?p0(n.b)+"->"+p0(n.c):"e_"+vi(n),e.b&&e.c?p0(e.b)+"->"+p0(e.c):"e_"+vi(e))}function AAn(e,n){return Ye(n.b&&n.c?p0(n.b)+"->"+p0(n.c):"e_"+vi(n),e.b&&e.c?p0(e.b)+"->"+p0(e.c):"e_"+vi(e))}function Fb(e,n){return Bf(),Vl(y1),m.Math.abs(e-n)<=y1||e==n||isNaN(e)&&isNaN(n)?0:en?1:u0(isNaN(e),isNaN(n))}function zte(e){mR(),this.c=ql(D(O(jJn,1),hn,829,0,[Pon])),this.b=new Wn,this.a=e,Pt(this.b,XN,1),no(Oon,new WAe(this))}function a9(e){var n;this.a=(n=u(e.e&&e.e(),10),new Ys(n,u(Gl(n,n.length),10),0)),this.b=ee(vr,hn,1,this.a.a.length,5,1)}function Vc(e){var n;return Array.isArray(e)&&e.Rm===Ne?i0(ks(e))+"@"+(n=vi(e)>>>0,n.toString(16)):e.toString()}function TAn(e){var n;return e==null?!0:(n=e.length,n>0&&(Nn(n-1,e.length),e.charCodeAt(n-1)==58)&&!wR(e,$k,Nk))}function wR(e,n,t){var i,r;for(i=0,r=e.length;i=r)return n.c+t;return n.c+n.b.gc()}function GGe(e,n){e5();var t,i,r,c;for(i=PFe(e),r=n,m5(i,0,i.length,r),t=0;t0&&(i+=r,++t);return t>1&&(i+=e.d*(t-1)),i}function Ute(e){var n,t,i;for(i=new ed,i.a+="[",n=0,t=e.gc();n=0;--i)for(n=t[i],r=0;r>5,n=e&31,i=ee(pt,Ot,30,t+1,15,1),i[t]=1<0&&(n.lengthe.i&&Ki(n,e.i,null),n}function kj(e){var n;return(e.Db&64)!=0?c9(e):(n=new vl(c9(e)),n.a+=" (instanceClassName: ",_c(n,e.D),n.a+=")",n.a)}function Ej(e){var n,t,i,r;for(r=0,t=0,i=e.length;t0?(e.Zj(),i=n==null?0:vi(n),r=(i&zt)%e.d.length,t=mVe(e,r,i,n),t!=-1):!1}function io(e,n,t){var i,r,c;return e.Nj()?(i=e.i,c=e.Oj(),qE(e,i,n),r=e.Gj(3,null,n,i,c),t?t.lj(r):t=r):qE(e,e.i,n),t}function Af(e,n){var t,i,r;return e.f>0&&(e.Zj(),i=n==null?0:vi(n),r=(i&zt)%e.d.length,t=Bre(e,r,i,n),t)?t.kd():null}function VAn(e,n,t){var i,r;return i=new jh(e.e,3,10,null,(r=n.c,J(r,88)?u(r,29):(rn(),Dl)),md(e,n),!1),t?t.lj(i):t=i,t}function XAn(e,n,t){var i,r;return i=new jh(e.e,4,10,(r=n.c,J(r,88)?u(r,29):(rn(),Dl)),null,md(e,n),!1),t?t.lj(i):t=i,t}function ZGe(e,n){var t,i,r;return J(n,45)?(t=u(n,45),i=t.jd(),r=ww(e.Pc(),i),Eh(r,t.kd())&&(r!=null||e.Pc()._b(i))):!1}function nie(e,n){switch(n){case 3:xb(e,0);return;case 4:Pb(e,0);return;case 5:os(e,0);return;case 6:ss(e,0);return}Mte(e,n)}function Rb(e,n){switch(n.g){case 1:return Vm(e.j,(Ro(),hae));case 2:return Vm(e.j,(Ro(),bae));default:return un(),un(),bc}}function h1(e){Sa();var n,t;return t=vt(e),n=vt(f0(e,32)),n!=0?new sDe(t,n):t>10||t<0?new Mh(1,t):ntn[t]}function eHe(e){yw();var n;return(e.q?e.q:(un(),un(),rh))._b((ye(),wg))?n=u(M(e,wg),203):n=u(M(Sr(e),z8),203),n}function KAn(e,n,t,i){var r,c;if(c=t-n,c<3)for(;c<3;)e*=10,++c;else{for(r=1;c>3;)r*=10,--c;e=(e+(r>>1))/r|0}return i.i=e,!0}function nHe(e,n,t){uBe(),aMe.call(this),this.a=Wg(Atn,[be,Jue],[592,216],0,[J$,fz],2),this.c=new Bm,this.g=e,this.f=n,this.d=t}function tHe(e){this.e=ee(pt,Ot,30,e.length,15,1),this.c=ee($o,Tf,30,e.length,16,1),this.b=ee($o,Tf,30,e.length,16,1),this.f=0}function WAn(e){var n,t;for(e.j=ee(Dr,$c,30,e.p.c.length,15,1),t=new $(e.p);t.a>5,n&=31,r=e.d+t+(n==0?0:1),i=ee(pt,Ot,30,r,15,1),X_n(i,e.a,t,n),c=new a0(e.e,r,i),R6(c),c}function G5(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.Le(n,c.d),t&&i==0)return c;i>=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function QE(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.Le(n,c.d),t&&i==0)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function ER(e,n){for(var t=0;!n[t]||n[t]=="";)t++;for(var i=n[t++];t0?(m.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function nTn(e){var n;n=e.a;do n=u(Fn(new Sn($n(yi(n).a.Jc(),new V))),17).d.i,n.k==(En(),rr)&&pe(e.e,n);while(n.k==(En(),rr))}function tTn(e,n){var t,i,r;for(i=new Sn($n(yi(e).a.Jc(),new V));Un(i);)if(t=u(Fn(i),17),r=t.d.i,r.c==n)return!1;return!0}function sHe(e,n,t){var i,r,c,o;for(r=u(kn(e.b,t),171),i=0,o=new $(n.j);o.an?1:u0(isNaN(e),isNaN(n)))>0}function cie(e,n){return Bf(),Bf(),Vl(y1),(m.Math.abs(e-n)<=y1||e==n||isNaN(e)&&isNaN(n)?0:en?1:u0(isNaN(e),isNaN(n)))<0}function dHe(e,n){return Bf(),Bf(),Vl(y1),(m.Math.abs(e-n)<=y1||e==n||isNaN(e)&&isNaN(n)?0:en?1:u0(isNaN(e),isNaN(n)))<=0}function uie(e){switch(e.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function oie(e,n,t,i,r,c){this.a=e,this.c=n,this.b=t,this.f=i,this.d=r,this.e=c,this.c>0&&this.b>0&&(this.g=xS(this.c,this.b,this.a))}function cTn(e,n){var t=e.a,i;n=String(n),t.hasOwnProperty(n)&&(i=t[n]);var r=(UF(),QH)[typeof i],c=r?r(i):jte(typeof i);return c}function H5(e){var n,t,i;if(i=null,n=Oa in e.a,t=!n,t)throw x(new wa("Every element must have an id."));return i=Av(Ah(e,Oa)),i}function Bb(e){var n,t;for(t=Bqe(e),n=null;e.c==2;)Ut(e),n||(n=(Kt(),Kt(),new v6(2)),$0(n,t),t=n),t.Hm(Bqe(e));return t}function Tj(e,n){var t,i,r;return e.Zj(),i=n==null?0:vi(n),r=(i&zt)%e.d.length,t=Bre(e,r,i,n),t?(hBe(e,t),t.kd()):null}function Aa(e,n,t){var i,r,c,o;for(c=n+t,zr(n,c,e.length),o="",r=n;rn.e?1:e.en.d?e.e:e.d=48&&e<48+m.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function uTn(e,n){if(n.c==e)return n.d;if(n.d==e)return n.c;throw x(new Mn("Input edge is not connected to the input port."))}function Ta(e,n){if(e.a<0)throw x(new Nc("Did not call before(...) or after(...) before calling add(...)."));return tQ(e,e.a,n),e}function sie(e){return l_(),J(e,166)?u(kn(mT,utn),296).Qg(e):Ju(mT,ks(e))?u(kn(mT,ks(e)),296).Qg(e):null}function lo(e){var n,t;return(e.Db&32)==0&&(t=(n=u(_n(e,16),29),Vn(n||e.fi())-Vn(e.fi())),t!=0&&pv(e,32,ee(vr,hn,1,t,5,1))),e}function pv(e,n,t){var i;(e.Db&n)!=0?t==null?T$n(e,n):(i=zR(e,n),i==-1?e.Eb=t:Ki(fv(e.Eb),i,t)):t!=null&&qxn(e,n,t)}function oTn(e,n,t,i){var r,c;n.c.length!=0&&(r=RNn(t,i),c=VIn(n),Ui(L_(new Ze(null,new nn(c,1)),new Qye),new FPe(e,t,r,i)))}function sTn(e,n){var t,i,r,c;return i=e.a.length-1,t=n-e.b&i,c=e.c-n&i,r=e.c-e.b&i,y$e(t=c?(wCn(e,n),-1):(gCn(e,n),1)}function lTn(e,n){var t,i;for(t=(Nn(n,e.length),e.charCodeAt(n)),i=n+1;in.e?1:e.fn.f?1:vi(e)-vi(n)}function mHe(e,n){var t;return Z(n)===Z(e)?!0:!J(n,22)||(t=u(n,22),t.gc()!=e.gc())?!1:e.Hc(t)}function Mj(e,n){return gn(e),n==null?!1:Ye(e,n)?!0:e.length==n.length&&Ye(e.toLowerCase(),n.toLowerCase())}function vw(e){var n,t;return zu(e,-129)>0&&zu(e,128)<0?(dxe(),n=vt(e)+128,t=mfe[n],!t&&(t=mfe[n]=new NK(e)),t):new NK(e)}function mv(){mv=q,A8=new OM(Mf,0),oae=new OM("INSIDE_PORT_SIDE_GROUPS",1),Az=new OM("GROUP_MODEL_ORDER",2),Tz=new OM(XJ,3)}function Sj(e){var n,t,i;if(i=e.Gh(),!i)for(n=0,t=e.Mh();t;t=t.Mh()){if(++n>NJ)return t.Nh();if(i=t.Gh(),i||t==e)break}return i}function hTn(e){var n;return e.b||zwn(e,(n=zmn(e.e,e.a),!n||!Ye(uH,Af((!n.b&&(n.b=new ms((rn(),wc),pu,n)),n.b),"qualified")))),e.c}function dTn(e){var n,t;for(t=new $(e.a.b);t.a2e3&&(qnn=e,P$=m.setTimeout(upn,10))),x$++==0?(Jkn((wW(),sfe)),!0):!1}function TTn(e,n,t){var i;(dtn?(FAn(e),!0):btn||wtn?(X3(),!0):gtn&&(X3(),!1))&&(i=new MNe(n),i.b=t,Mjn(e,i))}function TR(e,n){var t;t=!e.A.Gc((As(),nb))||e.q==(xr(),Fu),e.u.Gc((Ko(),Vh))?t?VRn(e,n):kWe(e,n):e.u.Gc(G1)&&(t?gRn(e,n):DWe(e,n))}function MTn(e,n,t){var i,r;uB(e.e,n,t,(ke(),In)),uB(e.i,n,t,Dn),e.a&&(r=u(M(n,(se(),ti)),12),i=u(M(t,ti),12),VL(e.g,r,i))}function CHe(e){var n;Z(fe(e,(St(),im)))===Z((xh(),xx))&&(Ii(e)?(n=u(fe(Ii(e),im),347),si(e,im,n)):si(e,im,Ek))}function AHe(e,n,t){return new Hl(m.Math.min(e.a,n.a)-t/2,m.Math.min(e.b,n.b)-t/2,m.Math.abs(e.a-n.a)+t,m.Math.abs(e.b-n.b)+t)}function THe(e){var n;this.d=new me,this.j=new Gr,this.g=new Gr,n=e.g.b,this.f=u(M(Sr(n),(ye(),Gs)),86),this.e=X(Y(Ij(n,rp)))}function MHe(e){this.d=new me,this.e=new i1,this.c=ee(pt,Ot,30,(ke(),D(O(gc,1),Mu,64,0,[uu,jn,Dn,Xn,In])).length,15,1),this.b=e}function die(e,n,t){var i;switch(i=t[e.g][n],e.g){case 1:case 3:return new he(0,i);case 2:case 4:return new he(i,0);default:return null}}function STn(e,n){var t;if(t=t2(e.o,n),t==null)throw x(new wa("Node did not exist in input."));return hce(e,n),$B(e,n),tce(e,n,t),null}function SHe(e,n){var t,i;for(i=e.a.length,n.lengthi&&Ki(n,i,null),n}function Xf(e,n){var t,i;for(i=e.c.length,n.lengthi&&Ki(n,i,null),n}function MR(e,n,t,i){var r;if(r=e.length,n>=r)return r;for(n=n>0?n:0;n0&&(pe(e.b,new zNe(n.a,t)),i=n.a.length,0i&&(n.a+=RIe(ee(gl,Ia,30,-i,15,1))))}function IHe(e,n,t){var i,r,c;if(!t[n.d])for(t[n.d]=!0,r=new $(l2(n));r.a=e.b>>1)for(i=e.c,t=e.b;t>n;--t)i=i.b;else for(i=e.a.a,t=0;t=0?e.Th(r):wB(e,i)):t<0?wB(e,i):u(i,69).uk().zk(e,e.ei(),t)}function PHe(e){var n,t,i;for(i=(!e.o&&(e.o=new Fo((Tu(),hh),Pd,e,0)),e.o),t=i.c.Jc();t.e!=t.i.gc();)n=u(t.Wj(),45),n.kd();return vE(i)}function Ae(e){var n;if(J(e.a,4)){if(n=sie(e.a),n==null)throw x(new Nc(aZe+e.b+"'. "+fZe+(kh(vT),vT.k)+wle));return n}else return e.a}function FTn(e){var n;if(e==null)return null;if(n=nBn(Uu(e,!0)),n==null)throw x(new CO("Invalid base64Binary value: '"+e+"'"));return n}function zn(e){var n;try{return n=e.i.Xb(e.e),e.Vj(),e.g=e.e++,n}catch(t){throw t=Zi(t),J(t,99)?(e.Vj(),x(new Wc)):x(t)}}function IR(e){var n;try{return n=e.c.Ti(e.e),e.Vj(),e.g=e.e++,n}catch(t){throw t=Zi(t),J(t,99)?(e.Vj(),x(new Wc)):x(t)}}function jj(e){var n,t,i,r;for(r=0,t=0,i=e.length;t=64&&n<128&&(r=ka(r,qa(1,n-64)));return r}function Ij(e,n){var t,i;return i=null,Zt(e,(St(),d3))&&(t=u(M(e,d3),105),t.nf(n)&&(i=t.mf(n))),i==null&&Sr(e)&&(i=M(Sr(e),n)),i}function RTn(e,n){var t;return t=u(M(e,(ye(),Fc)),78),MD(n,Yin)?t?ys(t):(t=new ts,ie(e,Fc,t)):t&&ie(e,Fc,null),t}function BTn(e,n){var t,i,r;for(r=new eo(n.gc()),i=n.Jc();i.Ob();)t=u(i.Pb(),294),t.c==t.f?Y5(e,t,t.c):eIn(e,t)||Tn(r.c,t);return r}function OHe(e,n){var t,i,r;for(t=e.o,r=u(u(ri(e.r,n),22),83).Jc();r.Ob();)i=u(r.Pb(),115),i.e.a=GMn(i,t.a),i.e.b=t.b*X(Y(i.b.mf(G$)))}function JTn(e,n){var t,i,r,c;return r=e.k,t=X(Y(M(e,(se(),dg)))),c=n.k,i=X(Y(M(n,dg))),c!=(En(),sr)?-1:r!=sr?1:t==i?0:tt.b)return!0}return!1}function FHe(e){var n;return n=new zd,n.a+="n",e.k!=(En(),zi)&&_t(_t((n.a+="(",n),ND(e.k).toLowerCase()),")"),_t((n.a+="_",n),nC(e)),n.a}function b9(){b9=q,k1e=new j7(Mse,0),Vq=new j7(ZJ,1),Xq=new j7("LINEAR_SEGMENTS",2),V8=new j7("BRANDES_KOEPF",3),X8=new j7(OQe,4)}function vv(e,n,t,i){var r;return t>=0?e.Ph(n,t,i):(e.Mh()&&(i=(r=e.Ch(),r>=0?e.xh(i):e.Mh().Qh(e,-1-r,null,i))),e.zh(n,t,i))}function bie(e,n){switch(n){case 7:!e.e&&(e.e=new dn(lr,e,7,4)),tt(e.e);return;case 8:!e.d&&(e.d=new dn(lr,e,8,5)),tt(e.d);return}nie(e,n)}function si(e,n,t){return t==null?(!e.o&&(e.o=new Fo((Tu(),hh),Pd,e,0)),Tj(e.o,n)):(!e.o&&(e.o=new Fo((Tu(),hh),Pd,e,0)),rC(e.o,n,t)),e}function Nu(e,n){var t;t=e.dd(n);try{return t.Pb()}catch(i){throw i=Zi(i),J(i,112)?x(new Yu("Can't get element "+n)):x(i)}}function RHe(e,n){var t;switch(t=u(jc(e.b,n),127).n,n.g){case 1:e.t>=0&&(t.d=e.t);break;case 3:e.t>=0&&(t.a=e.t)}e.C&&(t.b=e.C.b,t.c=e.C.c)}function XTn(e){var n;n=e.a;do n=u(Fn(new Sn($n(Yi(n).a.Jc(),new V))),17).c.i,n.k==(En(),rr)&&e.b.Ec(n);while(n.k==(En(),rr));e.b=Cs(e.b)}function BHe(e,n){var t,i,r;for(r=e,i=new Sn($n(Yi(n).a.Jc(),new V));Un(i);)t=u(Fn(i),17),t.c.i.c&&(r=m.Math.max(r,t.c.i.c.p));return r}function KTn(e,n){var t,i,r;for(r=0,i=u(u(ri(e.r,n),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r+=t.d.d+t.b.Kf().b+t.d.a,i.Ob()&&(r+=e.w);return r}function WTn(e,n){var t,i,r;for(r=0,i=u(u(ri(e.r,n),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r+=t.d.b+t.b.Kf().a+t.d.c,i.Ob()&&(r+=e.w);return r}function JHe(e){var n,t,i,r;if(i=0,r=Mw(e),r.c.length==0)return 1;for(t=new $(r);t.a=0?e.Ih(o,t,!0):qb(e,c,t)):u(c,69).uk().wk(e,e.ei(),r,t,i)}function ZTn(e,n,t,i){var r,c;c=n.nf((St(),cm))?u(n.mf(cm),22):e.j,r=UCn(c),r!=(TI(),az)&&(t&&!uie(r)||mre(bNn(e,r,i),n))}function $R(e,n){return $r(e)?!!Fnn[n]:e.Qm?!!e.Qm[n]:Hg(e)?!!Lnn[n]:Gg(e)?!!Dnn[n]:!1}function eMn(e){switch(e.g){case 1:return Db(),dA;case 3:return Db(),hA;case 2:return Db(),dz;case 4:return Db(),hz;default:return null}}function nMn(e,n,t){if(e.e)switch(e.b){case 1:w4n(e.c,n,t);break;case 0:p4n(e.c,n,t)}else iLe(e.c,n,t);e.a[n.p][t.p]=e.c.i,e.a[t.p][n.p]=e.c.e}function HHe(e){var n,t;if(e==null)return null;for(t=ee(uh,be,199,e.length,0,2),n=0;nc?1:0):0}function yw(){yw=q,YN=new RM(Mf,0),qq=new RM("PORT_POSITION",1),Y2=new RM("NODE_SIZE_WHERE_SPACE_PERMITS",2),W2=new RM("NODE_SIZE",3)}function tMn(e,n){var t,i,r;for(n.Tg("Untreeify",1),t=u(M(e,(gi(),s0e)),16),r=t.Jc();r.Ob();)i=u(r.Pb(),65),jt(i.b.d,i),jt(i.c.b,i);n.Ug()}function Wa(){Wa=q,iV=new l6("AUTOMATIC",0),KA=new l6(Pv,1),WA=new l6(Ov,2),Sx=new l6("TOP",3),Tx=new l6(Hue,4),Mx=new l6(py,5)}function h2(e,n,t){var i,r;if(r=e.gc(),n>=r)throw x(new Kg(n,r));if(e.Qi()&&(i=e.bd(t),i>=0&&i!=n))throw x(new Mn(iA));return e.Vi(n,t)}function md(e,n){var t,i,r;if(r=Tze(e,n),r>=0)return r;if(e.ml()){for(i=0;i0||e==(pO(),zH)||n==(mO(),qH))throw x(new Mn("Invalid range: "+tLe(e,n)))}function wie(e,n,t,i){ty();var r,c;for(r=0,c=0;c0),(n&-n)==n)return nc(n*fs(e,31)*4656612873077393e-25);do t=fs(e,31),i=t%n;while(t-i+(n-1)<0);return nc(i)}function iMn(e,n){var t,i,r;for(t=vb(new t0,e),r=new $(n);r.a1&&(c=iMn(e,n)),c}function sMn(e){var n,t,i;for(n=0,i=new $(e.c.a);i.a102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function RR(e,n){if(e==null)throw x(new Im("null key in entry: null="+n));if(n==null)throw x(new Im("null value in entry: "+e+"=null"))}function YHe(e,n){var t;return t=D(O(Dr,1),$c,30,15,[rR(e.a[0],n),rR(e.a[1],n),rR(e.a[2],n)]),e.d&&(t[0]=m.Math.max(t[0],t[2]),t[2]=t[0]),t}function QHe(e,n){var t;return t=D(O(Dr,1),$c,30,15,[aj(e.a[0],n),aj(e.a[1],n),aj(e.a[2],n)]),e.d&&(t[0]=m.Math.max(t[0],t[2]),t[2]=t[0]),t}function yie(e,n,t){Um(u(M(n,(ye(),qi)),102))||(Oee(e,n,vd(n,t)),Oee(e,n,vd(n,(ke(),Xn))),Oee(e,n,vd(n,jn)),un(),kr(n.j,new YCe(e)))}function ZHe(e){var n,t;for(e.c||lFn(e),t=new ts,n=new $(e.a),I(n);n.a0&&(Nn(0,n.length),n.charCodeAt(0)==43)?(Nn(1,n.length+1),n.substr(1)):n))}function TMn(e){var n;return e==null?null:new Wd((n=Uu(e,!0),n.length>0&&(Nn(0,n.length),n.charCodeAt(0)==43)?(Nn(1,n.length+1),n.substr(1)):n))}function Eie(e,n,t,i,r,c,o,l){var a,d;i&&(a=i.a[0],a&&Eie(e,n,t,a,r,c,o,l),XR(e,t,i.d,r,c,o,l)&&n.Ec(i),d=i.a[1],d&&Eie(e,n,t,d,r,c,o,l))}function g9(e,n){var t,i,r,c;for(c=e.gc(),n.lengthc&&Ki(n,c,null),n}function MMn(e,n){var t,i;if(i=e.gc(),n==null){for(t=0;t0&&(a+=r),d[b]=o,o+=l*(a+i)}function xMn(e){var n;for(n=0;n0?e.c:0),++r;e.b=i,e.d=c}function aze(e,n){var t;return t=D(O(Dr,1),$c,30,15,[pie(e,(Cf(),bu),n),pie(e,uo,n),pie(e,gu,n)]),e.f&&(t[0]=m.Math.max(t[0],t[2]),t[2]=t[0]),t}function hze(e){var n;Zt(e,(ye(),gg))&&(n=u(M(e,gg),22),n.Gc((Tw(),uf))?(n.Kc(uf),n.Ec(of)):n.Gc(of)&&(n.Kc(of),n.Ec(uf)))}function dze(e){var n;Zt(e,(ye(),gg))&&(n=u(M(e,gg),22),n.Gc((Tw(),lf))?(n.Kc(lf),n.Ec($l)):n.Gc($l)&&(n.Kc($l),n.Ec(lf)))}function qR(e,n,t,i){var r,c,o,l;return e.a==null&&Ijn(e,n),o=n.b.j.c.length,c=t.d.p,l=i.d.p,r=l-1,r<0&&(r=o-1),c<=r?e.a[r]-e.a[c]:e.a[o-1]-e.a[c]+e.a[r]}function PMn(e){var n;for(n=0;n0&&(r.b+=n),r}function Rj(e,n){var t,i,r;for(r=new Gr,i=e.Jc();i.Ob();)t=u(i.Pb(),37),iy(t,0,r.b),r.b+=t.f.b+n,r.a=m.Math.max(r.a,t.f.a);return r.a>0&&(r.a+=n),r}function gze(e,n){var t,i;if(n.length==0)return 0;for(t=EL(e.a,n[0],(ke(),In)),t+=EL(e.a,n[n.length-1],Dn),i=0;i>16==6?e.Cb.Qh(e,5,xf,n):(i=mc(u(on((t=u(_n(e,16),29),t||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function BMn(e){d5();var n=e.e;if(n&&n.stack){var t=n.stack,i=n+` -`;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(` -`)}return[]}function JMn(e){var n;return n=(ABe(),Wnn),n[e>>>28]|n[e>>24&15]<<4|n[e>>20&15]<<8|n[e>>16&15]<<12|n[e>>12&15]<<16|n[e>>8&15]<<20|n[e>>4&15]<<24|n[e&15]<<28}function pze(e){var n,t,i;e.b==e.c&&(i=e.a.length,t=tte(m.Math.max(8,i))<<1,e.b!=0?(n=Gl(e.a,t),jBe(e,n,i),e.a=n,e.b=0):Ng(e.a,t),e.c=i)}function GMn(e,n){var t;return t=e.b,t.nf((St(),ds))?t.$f()==(ke(),In)?-t.Kf().a-X(Y(t.mf(ds))):n+X(Y(t.mf(ds))):t.$f()==(ke(),In)?-t.Kf().a:n}function nC(e){var n;return e.b.c.length!=0&&u(Te(e.b,0),70).a?u(Te(e.b,0),70).a:(n=ML(e),n??""+(e.c?nu(e.c.a,e,0):-1))}function Bj(e){var n;return e.f.c.length!=0&&u(Te(e.f,0),70).a?u(Te(e.f,0),70).a:(n=ML(e),n??""+(e.i?nu(e.i.j,e,0):-1))}function HMn(e,n){var t,i;if(n<0||n>=e.gc())return null;for(t=n;t0?e.c:0),r=m.Math.max(r,n.d),++i;e.e=c,e.b=r}function zMn(e){var n,t;if(!e.b)for(e.b=h_(u(e.f,125).jh().i),t=new Jn(u(e.f,125).jh());t.e!=t.i.gc();)n=u(zn(t),157),pe(e.b,new kO(n));return e.b}function qMn(e,n){var t,i,r;if(n.dc())return e5(),e5(),yT;for(t=new z$e(e,n.gc()),r=new Jn(e);r.e!=r.i.gc();)i=zn(r),n.Gc(i)&&rt(t,i);return t}function Tie(e,n,t,i){return n==0?i?(!e.o&&(e.o=new Fo((Tu(),hh),Pd,e,0)),e.o):(!e.o&&(e.o=new Fo((Tu(),hh),Pd,e,0)),vE(e.o)):Nj(e,n,t,i)}function VR(e){var n,t;if(e.rb)for(n=0,t=e.rb.i;n>22),r+=i>>22,r<0)?!1:(e.l=t&hs,e.m=i&hs,e.h=r&Fh,!0)}function XR(e,n,t,i,r,c,o){var l,a;return!(n.Re()&&(a=e.a.Le(t,i),a<0||!r&&a==0)||n.Se()&&(l=e.a.Le(t,c),l>0||!o&&l==0))}function KMn(e,n){$5();var t;if(t=e.j.g-n.j.g,t!=0)return 0;switch(e.j.g){case 2:return gR(n,ehe)-gR(e,ehe);case 4:return gR(e,Zae)-gR(n,Zae)}return 0}function WMn(e){switch(e.g){case 0:return Qz;case 1:return Zz;case 2:return eq;case 3:return nq;case 4:return yN;case 5:return tq;default:return null}}function Lc(e,n,t){var i,r;return i=(r=new gO,M0(r,n),to(r,t),rt((!e.c&&(e.c=new oe(yg,e,12,10)),e.c),r),r),hd(i,0),aw(i,1),pd(i,!0),wd(i,!0),i}function yv(e,n){var t,i;if(n>=e.i)throw x(new pD(n,e.i));return++e.j,t=e.g[n],i=e.i-n-1,i>0&&Pu(e.g,n+1,e.g,n,i),Ki(e.g,--e.i,null),e.Oi(n,t),e.Li(),t}function mze(e,n){var t,i;return e.Db>>16==17?e.Cb.Qh(e,21,xl,n):(i=mc(u(on((t=u(_n(e,16),29),t||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function YMn(e){var n,t,i,r;for(un(),kr(e.c,e.a),r=new $(e.c);r.at.a.c.length))throw x(new Mn("index must be >= 0 and <= layer node count"));e.c&&yo(e.c.a,e),e.c=t,t&&o0(t.a,n,e)}function Mze(e,n){this.c=new Wn,this.a=e,this.b=n,this.d=u(M(e,(se(),q2)),316),Z(M(e,(ye(),Kde)))===Z((AE(),kN))?this.e=new gMe:this.e=new bMe}function iSn(e,n){var t,i,r,c;for(c=0,i=new $(e);i.a0?n:0),++t;return new he(i,r)}function rSn(e,n){var t,i;for(e.b=0,e.d=new lM,i=new $(n.a);i.a>16==6?e.Cb.Qh(e,6,lr,n):(i=mc(u(on((t=u(_n(e,16),29),t||(Tu(),Bx)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function $ie(e,n){var t,i;return e.Db>>16==7?e.Cb.Qh(e,1,gT,n):(i=mc(u(on((t=u(_n(e,16),29),t||(Tu(),Cwe)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Nie(e,n){var t,i;return e.Db>>16==9?e.Cb.Qh(e,9,Et,n):(i=mc(u(on((t=u(_n(e,16),29),t||(Tu(),Twe)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function jze(e,n){var t,i;return e.Db>>16==5?e.Cb.Qh(e,9,Kx,n):(i=mc(u(on((t=u(_n(e,16),29),t||(rn(),Dd)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Ize(e,n){var t,i;return e.Db>>16==7?e.Cb.Qh(e,6,xf,n):(i=mc(u(on((t=u(_n(e,16),29),t||(rn(),Fd)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function xie(e,n){var t,i;return e.Db>>16==3?e.Cb.Qh(e,0,pT,n):(i=mc(u(on((t=u(_n(e,16),29),t||(rn(),Od)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Pie(e,n){var t,i;return e.Db>>16==3?e.Cb.Qh(e,12,Et,n):(i=mc(u(on((t=u(_n(e,16),29),t||(Tu(),Ewe)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function sSn(e,n,t){var i,r,c;for(t<0&&(t=0),c=e.i,r=t;rNJ)return U5(e,i);if(i==e)return!0}}return!1}function fSn(e){switch(dS(),e.q.g){case 5:pUe(e,(ke(),jn)),pUe(e,Xn);break;case 4:CVe(e,(ke(),jn)),CVe(e,Xn);break;default:TWe(e,(ke(),jn)),TWe(e,Xn)}}function aSn(e){switch(dS(),e.q.g){case 5:DUe(e,(ke(),Dn)),DUe(e,In);break;case 4:OHe(e,(ke(),Dn)),OHe(e,In);break;default:MWe(e,(ke(),Dn)),MWe(e,In)}}function hSn(e){var n,t;n=u(M(e,(Ql(),min)),15),n?(t=n.a,t==0?ie(e,(c1(),U$),new bR):ie(e,(c1(),U$),new v_(t))):ie(e,(c1(),U$),new v_(1))}function dSn(e,n){var t;switch(t=e.i,n.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-t.o.a;case 3:return e.n.b-t.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function bSn(e,n){switch(e.g){case 0:return n==(Es(),Hh)?hN:dN;case 1:return n==(Es(),Hh)?hN:mA;case 2:return n==(Es(),Hh)?mA:dN;default:return mA}}function iC(e,n){var t,i,r;for(yo(e.a,n),e.e-=n.r+(e.a.c.length==0?0:e.c),r=RG,i=new $(e.a);i.a>16==11?e.Cb.Qh(e,10,Et,n):(i=mc(u(on((t=u(_n(e,16),29),t||(Tu(),Awe)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function $ze(e,n){var t,i;return e.Db>>16==10?e.Cb.Qh(e,11,xl,n):(i=mc(u(on((t=u(_n(e,16),29),t||(rn(),Ld)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Nze(e,n){var t,i;return e.Db>>16==10?e.Cb.Qh(e,12,Pl,n):(i=mc(u(on((t=u(_n(e,16),29),t||(rn(),Ep)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function xze(e,n){var t,i,r,c,o;if(n)for(r=n.a.length,t=new l0(r),o=(t.b-t.a)*t.c<0?(Xd(),V1):new Yd(t);o.Ob();)c=u(o.Pb(),15),i=g5(n,c.a),i&&pVe(e,i)}function kSn(){HW();var e,n;for(GBn((Qd(),vn)),NBn(vn),VR(vn),Rwe=(rn(),da),n=new $(Xwe);n.a>19,d=n.h>>19,a!=d?d-a:(r=e.h,l=n.h,r!=l?r-l:(i=e.m,o=n.m,i!=o?i-o:(t=e.l,c=n.l,t-c)))}function Pze(e,n,t){var i,r,c,o,l;for(r=e[t.g],l=new $(n.d);l.a0?e.b:0),++t;n.b=i,n.e=r}function Oze(e){var n,t,i;if(i=e.b,a_e(e.i,i.length)){for(t=i.length*2,e.b=ee(UH,xC,308,t,0,1),e.c=ee(UH,xC,308,t,0,1),e.f=t-1,e.i=0,n=e.a;n;n=n.c)aC(e,n,n);++e.g}}function m9(e,n){return e.b.a=m.Math.min(e.b.a,n.c),e.b.b=m.Math.min(e.b.b,n.d),e.a.a=m.Math.max(e.a.a,n.c),e.a.b=m.Math.max(e.a.b,n.d),Tn(e.c,n),!0}function CSn(e,n,t){var i;i=n.c.i,i.k==(En(),rr)?(ie(e,(se(),If),u(M(i,If),12)),ie(e,jl,u(M(i,jl),12))):(ie(e,(se(),If),n.c),ie(e,jl,t.d))}function V5(e,n,t){ny();var i,r,c,o,l,a;return o=n/2,c=t/2,i=m.Math.abs(e.a),r=m.Math.abs(e.b),l=1,a=1,i>o&&(l=o/i),r>c&&(a=c/r),yh(e,m.Math.min(l,a)),e}function ASn(){wI();var e,n;try{if(n=u(Uie((Vd(),Ol),Oy),2075),n)return n}catch(t){if(t=Zi(t),J(t,101))e=t,jZ((gt(),e));else throw x(t)}return new j9e}function TSn(){wI();var e,n;try{if(n=u(Uie((Vd(),Ol),Ml),2002),n)return n}catch(t){if(t=Zi(t),J(t,101))e=t,jZ((gt(),e));else throw x(t)}return new n8e}function MSn(){FFe();var e,n;try{if(n=u(Uie((Vd(),Ol),B0),2084),n)return n}catch(t){if(t=Zi(t),J(t,101))e=t,jZ((gt(),e));else throw x(t)}return new X8e}function SSn(e,n,t){var i,r;return r=e.e,e.e=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Mr(e,1,4,r,n),t?t.lj(i):t=i),r!=n&&(n?t=sy(e,tI(e,n),t):t=sy(e,e.a,t)),t}function Dze(){_M.call(this),this.e=-1,this.a=!1,this.p=Jr,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=Jr}function _Sn(e,n){var t,i,r;if(i=e.b.d.d,e.a||(i+=e.b.d.a),r=n.b.d.d,n.a||(r+=n.b.d.a),t=oi(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function jSn(e,n){var t,i,r;if(i=e.b.b.d,e.a||(i+=e.b.b.a),r=n.b.b.d,n.a||(r+=n.b.b.a),t=oi(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function ISn(e,n){var t,i,r;if(i=e.b.g.d,e.a||(i+=e.b.g.a),r=n.b.g.d,n.a||(r+=n.b.g.a),t=oi(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function Lie(){Lie=q,Din=Qu(Tt(Tt(Tt(new Qi,(Pr(),Lu),(Br(),Rae)),Lu,Bae),Tc,Jae),Tc,_ae),Fin=Tt(Tt(new Qi,Lu,kae),Lu,jae),Lin=Qu(new Qi,Tc,$ae)}function $Sn(e){var n,t,i,r,c;for(n=u(M(e,(se(),N8)),92),c=e.n,i=n.Bc().Jc();i.Ob();)t=u(i.Pb(),318),r=t.i,r.c+=c.a,r.d+=c.b,t.c?sXe(t):lXe(t);ie(e,N8,null)}function NSn(e,n,t){var i,r;switch(r=e.b,i=r.d,n.g){case 1:return-i.d-t;case 2:return r.o.a+i.c+t;case 3:return r.o.b+i.a+t;case 4:return-i.b-t;default:return-1}}function Lze(e,n){var t,i;for(i=new $(n);i.a0&&(o=(c&zt)%e.d.length,r=Bre(e,o,c,n),r)?(l=r.ld(t),l):(i=e.ak(c,n,t),e.c.Ec(i),null)}function Bie(e,n){var t,i,r,c;switch(gd(e,n).Il()){case 3:case 2:{for(t=y2(n),r=0,c=t.i;r=0;i--)if(Ye(e[i].d,n)||Ye(e[i].d,t)){e.length>=i+1&&e.splice(0,i+1);break}return e}function cC(e,n){var t;return qc(e)&&qc(n)&&(t=e/n,DC0&&(e.b+=2,e.a+=i):(e.b+=1,e.a+=m.Math.min(i,r))}function zze(e,n){var t,i;if(i=!1,$r(n)&&(i=!0,Zm(e,new nw(wt(n)))),i||J(n,242)&&(i=!0,Zm(e,(t=BD(u(n,242)),new YT(t)))),!i)throw x(new EO(Ple))}function KSn(e,n,t,i){var r,c,o;return r=new jh(e.e,1,10,(o=n.c,J(o,88)?u(o,29):(rn(),Dl)),(c=t.c,J(c,88)?u(c,29):(rn(),Dl)),md(e,n),!1),i?i.lj(r):i=r,i}function Hie(e){var n,t;switch(u(M(Sr(e),(ye(),Jde)),420).g){case 0:return n=e.n,t=e.o,new he(n.a+t.a/2,n.b+t.b/2);case 1:return new oc(e.n);default:return null}}function uC(){uC=q,EN=new u6(Mf,0),phe=new u6("LEFTUP",1),vhe=new u6("RIGHTUP",2),whe=new u6("LEFTDOWN",3),mhe=new u6("RIGHTDOWN",4),iq=new u6("BALANCED",5)}function WSn(e,n,t){var i,r,c;if(i=oi(e.a[n.p],e.a[t.p]),i==0){if(r=u(M(n,(se(),Zv)),16),c=u(M(t,Zv),16),r.Gc(t))return-1;if(c.Gc(n))return 1}return i}function YSn(e){switch(e.g){case 1:return new l6e;case 2:return new f6e;case 3:return new s6e;case 0:return null;default:throw x(new Mn(UG+(e.f!=null?e.f:""+e.g)))}}function zie(e,n,t){switch(n){case 1:!e.n&&(e.n=new oe(ou,e,1,7)),tt(e.n),!e.n&&(e.n=new oe(ou,e,1,7)),Vi(e.n,u(t,18));return;case 2:C5(e,wt(t));return}ate(e,n,t)}function qie(e,n,t){switch(n){case 3:xb(e,X(Y(t)));return;case 4:Pb(e,X(Y(t)));return;case 5:os(e,X(Y(t)));return;case 6:ss(e,X(Y(t)));return}zie(e,n,t)}function Jj(e,n,t){var i,r,c;c=(i=new gO,i),r=Wf(c,n,null),r&&r.mj(),to(c,t),rt((!e.c&&(e.c=new oe(yg,e,12,10)),e.c),c),hd(c,0),aw(c,1),pd(c,!0),wd(c,!0)}function Uie(e,n){var t,i,r;return t=i6(e.i,n),J(t,241)?(r=u(t,241),r.wi()==null,r.ti()):J(t,493)?(i=u(t,1999),r=i.b,r):null}function QSn(e,n,t,i){var r,c;return at(n),at(t),c=u(T6(e.d,n),15),vRe(!!c,"Row %s not in %s",n,e.e),r=u(T6(e.b,t),15),vRe(!!r,"Column %s not in %s",t,e.c),mJe(e,c.a,r.a,i)}function ZSn(e){var n,t,i,r,c,o;for(t=null,r=e,c=0,o=r.length;c1||l==-1?(c=u(a,16),r.Wb(DAn(e,c))):r.Wb(OB(e,u(a,57)))))}function u_n(e,n,t,i){w_e();var r=GH;function c(){for(var o=0;o0)return!1;return!0}function l_n(e){switch(u(M(e.b,(ye(),Pde)),381).g){case 1:Ui(Zu(Uc(new Ze(null,new nn(e.d,16)),new F5e),new R5e),new B5e);break;case 2:BPn(e);break;case 0:xIn(e)}}function f_n(e,n,t){var i,r,c;for(i=t,!i&&(i=new _m),i.Tg("Layout",e.a.c.length),c=new $(e.a);c.aGG)return t;r>-1e-6&&++t}return t}function Hj(e,n,t){if(J(n,271))return LNn(e,u(n,85),t);if(J(n,276))return gSn(e,u(n,276),t);throw x(new Mn(Dy+Yf(new su(D(O(vr,1),hn,1,5,[n,t])))))}function zj(e,n,t){if(J(n,271))return FNn(e,u(n,85),t);if(J(n,276))return wSn(e,u(n,276),t);throw x(new Mn(Dy+Yf(new su(D(O(vr,1),hn,1,5,[n,t])))))}function Xie(e,n){var t;n!=e.b?(t=null,e.b&&(t=c_(e.b,e,-4,t)),n&&(t=vv(n,e,-4,t)),t=dGe(e,n,t),t&&t.mj()):(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,3,n,n))}function Xze(e,n){var t;n!=e.f?(t=null,e.f&&(t=c_(e.f,e,-1,t)),n&&(t=vv(n,e,-1,t)),t=bGe(e,n,t),t&&t.mj()):(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,0,n,n))}function g_n(e,n,t,i){var r,c,o,l;return ws(e.e)&&(r=n.Jk(),l=n.kd(),c=t.kd(),o=e1(e,1,r,l,c,r.Hk()?cy(e,r,c,J(r,103)&&(u(r,19).Bb&dc)!=0):-1,!0),i?i.lj(o):i=o),i}function Kze(e){var n,t,i;if(e==null)return null;if(t=u(e,16),t.dc())return"";for(i=new ed,n=t.Jc();n.Ob();)_c(i,(li(),wt(n.Pb()))),i.a+=" ";return wD(i,i.a.length-1)}function Wze(e){var n,t,i;if(e==null)return null;if(t=u(e,16),t.dc())return"";for(i=new ed,n=t.Jc();n.Ob();)_c(i,(li(),wt(n.Pb()))),i.a+=" ";return wD(i,i.a.length-1)}function w_n(e,n){var t,i,r,c,o;for(c=new $(n.a);c.a0&&Wr(e,e.length-1)==33)try{return n=aVe(kl(e,0,e.length-1)),n.e==null}catch(t){if(t=Zi(t),!J(t,32))throw x(t)}return!1}function y_n(e,n,t){var i,r,c;switch(i=Sr(n),r=wj(i),c=new xu,eu(c,n),t.g){case 1:mr(c,KE(wv(r)));break;case 2:mr(c,wv(r))}return ie(c,(ye(),ep),Y(M(e,ep))),c}function Kie(e){var n,t;return n=u(Fn(new Sn($n(Yi(e.a).a.Jc(),new V))),17),t=u(Fn(new Sn($n(yi(e.a).a.Jc(),new V))),17),Ie(je(M(n,(se(),Md))))||Ie(je(M(t,Md)))}function kw(){kw=q,vA=new S7("ONE_SIDE",0),wN=new S7("TWO_SIDES_CORNER",1),pN=new S7("TWO_SIDES_OPPOSING",2),gN=new S7("THREE_SIDES",3),bN=new S7("FOUR_SIDES",4)}function Zze(e,n){var t,i,r,c;for(c=new me,r=0,i=n.Jc();i.Ob();){for(t=le(u(i.Pb(),15).a+r);t.a=e.f)break;Tn(c.c,t)}return c}function k_n(e){var n,t;for(t=new $(e.e.b);t.a0&&yze(this,this.c-1,(ke(),Dn)),this.c0&&e[0].length>0&&(this.c=Ie(je(M(Sr(e[0][0]),(se(),Ohe))))),this.a=ee(lsn,be,2079,e.length,0,2),this.b=ee(fsn,be,2080,e.length,0,2),this.d=new oGe}function T_n(e){return e.c.length==0?!1:(tn(0,e.c.length),u(e.c[0],17)).c.i.k==(En(),rr)?!0:e2(Zu(new Ze(null,new nn(e,16)),new Eye),new vye)}function tqe(e,n){var t,i,r,c,o,l,a;for(l=Mw(n),c=n.f,a=n.g,o=m.Math.sqrt(c*c+a*a),r=0,i=new $(l);i.a=0?(t=cC(e,_I),i=yR(e,_I)):(n=f0(e,1),t=cC(n,5e8),i=yR(n,5e8),i=lc(qa(i,1),Nr(e,1))),ka(qa(i,32),Nr(t,Ec))}function L_n(e,n,t,i){var r,c,o,l,a;for(r=null,c=0,l=new $(n);l.a1;n>>=1)(n&1)!=0&&(i=Zp(i,t)),t.d==1?t=Zp(t,t):t=new kHe(KXe(t.a,t.d,ee(pt,Ot,30,t.d<<1,15,1)));return i=Zp(i,t),i}function rre(){rre=q;var e,n,t,i;for(xfe=ee(Dr,$c,30,25,15,1),Pfe=ee(Dr,$c,30,33,15,1),i=152587890625e-16,n=32;n>=0;n--)Pfe[n]=i,i*=.5;for(t=1,e=24;e>=0;e--)xfe[e]=t,t*=.5}function G_n(e){var n,t;if(Ie(je(fe(e,(ye(),Qw))))){for(t=new Sn($n(w1(e).a.Jc(),new V));Un(t);)if(n=u(Fn(t),85),zb(n)&&Ie(je(fe(n,U0))))return!0}return!1}function cqe(e){var n,t,i,r;for(n=new fi,t=new fi,r=ct(e,0);r.b!=r.d.c;)i=u(it(r),12),i.e.c.length==0?Fi(t,i,t.c.b,t.c):Fi(n,i,n.c.b,n.c);return Cs(n).Fc(t),n}function uqe(e,n){var t,i,r;ir(e.f,n)&&(n.b=e,i=n.c,nu(e.j,i,0)!=-1||pe(e.j,i),r=n.d,nu(e.j,r,0)!=-1||pe(e.j,r),t=n.a.b,t.c.length!=0&&(!e.i&&(e.i=new THe(e)),pEn(e.i,t)))}function H_n(e){var n,t,i,r,c;return t=e.c.d,i=t.j,r=e.d.d,c=r.j,i==c?t.p=0&&Ye(e.substr(n,3),"GMT")||n>=0&&Ye(e.substr(n,3),"UTC"))&&(t[0]=n+3),Jce(e,t,i)}function q_n(e,n){var t,i,r,c,o;for(c=e.g.a,o=e.g.b,i=new $(e.d);i.at;c--)e[c]|=n[c-t-1]>>>o,e[c-1]=n[c-t-1]<0&&Pu(e.g,n,e.g,n+i,l),o=t.Jc(),e.i+=i,r=0;r>4&15,c=e[i]&15,o[r++]=Mwe[t],o[r++]=Mwe[c];return Aa(o,0,o.length)}function Eo(e){var n,t;return e>=dc?(n=LC+(e-dc>>10&1023)&hr,t=56320+(e-dc&1023)&hr,String.fromCharCode(n)+(""+String.fromCharCode(t))):String.fromCharCode(e&hr)}function njn(e,n){Vg();var t,i,r,c;return r=u(u(ri(e.r,n),22),83),r.gc()>=2?(i=u(r.Jc().Pb(),115),t=e.u.Gc((Ko(),Mk)),c=e.u.Gc(w3),!i.a&&!t&&(r.gc()==2||c)):!1}function fqe(e,n,t,i,r){var c,o,l;for(c=eXe(e,n,t,i,r),l=!1;!c;)eI(e,r,!0),l=!0,c=eXe(e,n,t,i,r);l&&eI(e,r,!1),o=qF(r),o.c.length!=0&&(e.d&&e.d.Fg(o),fqe(e,r,t,i,o))}function Vj(){Vj=q,DU=new qM("NODE_SIZE_REORDERER",0),xU=new qM("INTERACTIVE_NODE_REORDERER",1),OU=new qM("MIN_SIZE_PRE_PROCESSOR",2),PU=new qM("MIN_SIZE_POST_PROCESSOR",3)}function Xj(){Xj=q,EV=new a6(Mf,0),Vge=new a6("DIRECTED",1),Kge=new a6("UNDIRECTED",2),qge=new a6("ASSOCIATION",3),Xge=new a6("GENERALIZATION",4),Uge=new a6("DEPENDENCY",5)}function tjn(e,n){var t;if(!Hf(e))throw x(new Nc(OZe));switch(t=Hf(e),n.g){case 1:return-(e.j+e.f);case 2:return e.i-t.g;case 3:return e.j-t.f;case 4:return-(e.i+e.g)}return 0}function ijn(e,n,t){var i,r,c;return i=n.Jk(),c=n.kd(),r=i.Hk()?e1(e,4,i,c,null,cy(e,i,c,J(i,103)&&(u(i,19).Bb&dc)!=0),!0):e1(e,i.rk()?2:1,i,c,i.gk(),-1,!0),t?t.lj(r):t=r,t}function K5(e,n){var t,i;for(gn(n),i=e.b.c.length,pe(e.b,n);i>0;){if(t=i,i=(i-1)/2|0,e.a.Le(Te(e.b,i),n)<=0)return Ns(e.b,t,n),!0;Ns(e.b,t,Te(e.b,i))}return Ns(e.b,i,n),!0}function ore(e,n,t,i){var r,c;if(r=0,t)r=aj(e.a[t.g][n.g],i);else for(c=0;c=l)}function aqe(e){switch(e.g){case 0:return new M6e;case 1:return new S6e;default:throw x(new Mn("No implementation is available for the width approximator "+(e.f!=null?e.f:""+e.g)))}}function sre(e,n,t,i){var r;if(r=!1,$r(i)&&(r=!0,r5(n,t,wt(i))),r||Gg(i)&&(r=!0,sre(e,n,t,i)),r||J(i,242)&&(r=!0,b0(n,t,u(i,242))),!r)throw x(new EO(Ple))}function cjn(e,n){var t,i,r;if(t=n.ni(e.a),t&&(r=Af((!t.b&&(t.b=new ms((rn(),wc),pu,t)),t.b),Tl),r!=null)){for(i=1;i<(Bo(),Wwe).length;++i)if(Ye(Wwe[i],r))return i}return 0}function ujn(e,n){var t,i,r;if(t=n.ni(e.a),t&&(r=Af((!t.b&&(t.b=new ms((rn(),wc),pu,t)),t.b),Tl),r!=null)){for(i=1;i<(Bo(),Ywe).length;++i)if(Ye(Ywe[i],r))return i}return 0}function hqe(e,n){var t,i,r,c;if(gn(n),c=e.a.gc(),c0?1:0;c.a[r]!=t;)c=c.a[r],r=e.a.Le(t.d,c.d)>0?1:0;c.a[r]=i,i.b=t.b,i.a[0]=t.a[0],i.a[1]=t.a[1],t.a[0]=null,t.a[1]=null}function ljn(e){var n,t,i,r;for(n=new me,t=ee($o,Tf,30,e.a.c.length,16,1),TZ(t,t.length),r=new $(e.a);r.a0&&zXe((tn(0,t.c.length),u(t.c[0],25)),e),t.c.length>1&&zXe(u(Te(t,t.c.length-1),25),e),n.Ug()}function ajn(e){Ko();var n,t;return n=bi(Vh,D(O(Px,1),ae,280,0,[G1])),!(OE(u_(n,e))>1||(t=bi(Mk,D(O(Px,1),ae,280,0,[Tk,w3])),OE(u_(t,e))>1))}function fre(e,n){var t;t=Gu((Vd(),Ol),e),J(t,493)?Pc(Ol,e,new qje(this,n)):Pc(Ol,e,this),sB(this,n),n==(H3(),Fwe)?(this.wb=u(this,2e3),u(n,2002)):this.wb=(Qd(),vn)}function hjn(e){var n,t,i;if(e==null)return null;for(n=null,t=0;tc}function wqe(e,n){var t,i,r;if(hre(e,n))return!0;for(i=new $(n);i.a=r||n<0)throw x(new Yu(EH+n+F0+r));if(t>=r||t<0)throw x(new Yu(CH+t+F0+r));return n!=t?i=(c=e.Aj(t),e.oj(n,c),c):i=e.vj(t),i}function mqe(e){var n,t,i;if(i=e,e)for(n=0,t=e.Bh();t;t=t.Bh()){if(++n>NJ)return mqe(t);if(i=t,t==e)throw x(new Nc("There is a cycle in the containment hierarchy of "+e))}return i}function Yf(e){var n,t,i;for(i=new E0(ro,"[","]"),t=e.Jc();t.Ob();)n=t.Pb(),Sh(i,Z(n)===Z(e)?"(this Collection)":n==null?Ao:Vc(n));return i.a?i.e.length==0?i.a.a:i.a.a+(""+i.e):i.c}function hre(e,n){var t,i;if(i=!1,n.gc()<2)return!1;for(t=0;t1&&(e.j.b+=e.e)):(e.j.a+=t.a,e.j.b=m.Math.max(e.j.b,t.b),e.d.c.length>1&&(e.j.a+=e.e))}function b1(){b1=q,Arn=D(O(gc,1),Mu,64,0,[(ke(),jn),Dn,Xn]),Crn=D(O(gc,1),Mu,64,0,[Dn,Xn,In]),Trn=D(O(gc,1),Mu,64,0,[Xn,In,jn]),Mrn=D(O(gc,1),Mu,64,0,[In,jn,Dn])}function yqe(e){var n,t,i,r,c,o,l,a,d;for(this.a=HHe(e),this.b=new me,t=e,i=0,r=t.length;iOD(e.d).c?(e.i+=e.g.c,CR(e.d)):OD(e.d).c>OD(e.g).c?(e.e+=e.d.c,CR(e.g)):(e.i+=vxe(e.g),e.e+=vxe(e.d),CR(e.g),CR(e.d))}function kjn(e,n,t){var i,r,c,o;for(c=n.q,o=n.r,new g0((yf(),O1),n,c,1),new g0(O1,c,o,1),r=new $(t);r.al&&(a=l/i),r>c&&(d=c/r),o=m.Math.min(a,d),e.a+=o*(n.a-e.a),e.b+=o*(n.b-e.b)}function Tjn(e,n,t,i,r){var c,o;for(o=!1,c=u(Te(t.b,0),26);_Dn(e,n,c,i,r)&&(o=!0,a_n(t,c),t.b.c.length!=0);)c=u(Te(t.b,0),26);return t.b.c.length==0&&iC(t.j,t),o&&Fj(n.q),o}function bre(e,n,t,i){var r,c;return t==0?(!e.o&&(e.o=new Fo((Tu(),hh),Pd,e,0)),mS(e.o,n,i)):(c=u(on((r=u(_n(e,16),29),r||e.fi()),t),69),c.uk().yk(e,lo(e),t-Vn(e.fi()),n,i))}function sB(e,n){var t;n!=e.sb?(t=null,e.sb&&(t=u(e.sb,52).Qh(e,1,jk,t)),n&&(t=u(n,52).Oh(e,1,jk,t)),t=Ste(e,n,t),t&&t.mj()):(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,4,n,n))}function Aqe(e,n){var t,i,r,c;if(n)r=$h(n,"x"),t=new oTe(e),i2(t.a,(gn(r),r)),c=$h(n,"y"),i=new sTe(e),r2(i.a,(gn(c),c));else throw x(new wa("All edge sections need an end point."))}function Tqe(e,n){var t,i,r,c;if(n)r=$h(n,"x"),t=new rTe(e),c2(t.a,(gn(r),r)),c=$h(n,"y"),i=new cTe(e),u2(i.a,(gn(c),c));else throw x(new wa("All edge sections need a start point."))}function Mjn(e,n){var t,i,r,c,o,l,a;for(i=qJe(e),c=0,l=i.length;c>22-n,r=e.h<>22-n):n<44?(t=0,i=e.l<>44-n):(t=0,i=0,r=e.l<=kd?"error":i>=900?"warn":i>=800?"info":"log"),hPe(t,e.a),e.b&&gce(n,t,e.b,"Exception: ",!0))}function jqe(e,n){var t,i,r,c,o;for(r=n==1?Ez:kz,i=r.a.ec().Jc();i.Ob();)for(t=u(i.Pb(),86),o=u(ri(e.f.c,t),22).Jc();o.Ob();)c=u(o.Pb(),49),pe(e.b.b,u(c.b,82)),pe(e.b.a,u(c.b,82).d)}function Iqe(e,n,t,i){var r,c,o,l,a;switch(a=e.b,c=n.d,o=c.j,l=die(o,a.d[o.g],t),r=ei(sc(c.n),c.a),c.j.g){case 3:case 1:l.a+=r.a;break;case 2:l.b+=r.b;break;case 4:l.b+=r.b}Fi(i,l,i.c.b,i.c)}function Ijn(e,n){var t,i,r,c;for(c=n.b.j,e.a=ee(pt,Ot,30,c.c.length,15,1),r=0,i=0;ie)throw x(new Mn("k must be smaller than n"));return n==0||n==e?1:e==0?0:Jie(e)/(Jie(n)*Jie(e-n))}function gre(e,n){var t,i,r,c;for(t=new kD(e);t.g==null&&!t.c?uee(t):t.g==null||t.i!=0&&u(t.g[t.i-1],50).Ob();)if(c=u(nI(t),57),J(c,174))for(i=u(c,174),r=0;r>4],n[t*2+1]=eP[c&15];return Aa(n,0,n.length)}function Hjn(e){var n,t,i;switch(i=e.c.length,i){case 0:return AL(),Hnn;case 1:return n=u(hUe(new $(e)),45),Emn(n.jd(),n.kd());default:return t=u(Xf(e,ee(J0,MI,45,e.c.length,0,1)),175),new qW(t)}}function vd(e,n){switch(n.g){case 1:return Vm(e.j,(Ro(),dae));case 2:return Vm(e.j,(Ro(),aae));case 3:return Vm(e.j,(Ro(),gae));case 4:return Vm(e.j,(Ro(),wae));default:return un(),un(),bc}}function zjn(e,n){var t,i,r;t=p5n(n,e.e),i=u(kn(e.g.f,t),15).a,r=e.a.c.length-1,e.a.c.length!=0&&u(Te(e.a,r),295).c==i?(++u(Te(e.a,r),295).a,++u(Te(e.a,r),295).b):pe(e.a,new C$e(i))}function g1(){g1=q,Wln=(St(),h3),Yln=Nd,Uln=Z0,Vln=um,Xln=F1,qln=cm,L0e=nT,Kln=hp,SU=(Nce(),Pln),_U=Oln,R0e=Rln,jU=Gln,B0e=Bln,J0e=Jln,F0e=Dln,dx=Lln,bx=Fln,zA=Hln,G0e=zln,D0e=xln}function Nqe(e,n){var t,i,r,c,o;if(e.e<=n||W6n(e,e.g,n))return e.g;for(c=e.r,i=e.g,o=e.r,r=(c-i)/2+i;i+11&&(e.e.b+=e.a)):(e.e.a+=t.a,e.e.b=m.Math.max(e.e.b,t.b),e.d.c.length>1&&(e.e.a+=e.a))}function Vjn(e){var n,t,i,r;switch(r=e.i,n=r.b,i=r.j,t=r.g,r.a.g){case 0:t.a=(e.g.b.o.a-i.a)/2;break;case 1:t.a=n.d.n.a+n.d.a.a;break;case 2:t.a=n.d.n.a+n.d.a.a-i.a;break;case 3:t.b=n.d.n.b+n.d.a.b}}function Xjn(e,n,t){var i,r,c;for(r=new Sn($n(Ca(t).a.Jc(),new V));Un(r);)i=u(Fn(r),17),!Qr(i)&&!(!Qr(i)&&i.c.i.c==i.d.i.c)&&(c=MVe(e,i,t,new dMe),c.c.length>1&&Tn(n.c,c))}function Oqe(e,n,t,i,r){if(ii&&(e.a=i),e.br&&(e.b=r),e}function Kjn(e){if(J(e,144))return wxn(u(e,144));if(J(e,233))return SAn(u(e,233));if(J(e,21))return _jn(u(e,21));throw x(new Mn(Dy+Yf(new su(D(O(vr,1),hn,1,5,[e])))))}function Wjn(e,n,t,i,r){var c,o,l;for(c=!0,o=0;o>>r|t[o+i+1]<>>r,++o}return c}function vre(e,n,t,i){var r,c,o;if(n.k==(En(),rr)){for(c=new Sn($n(Yi(n).a.Jc(),new V));Un(c);)if(r=u(Fn(c),17),o=r.c.i.k,o==rr&&e.c.a[r.c.i.c.p]==i&&e.c.a[n.c.p]==t)return!0}return!1}function Yjn(e,n){var t,i,r,c;return n&=63,t=e.h&Fh,n<22?(c=t>>>n,r=e.m>>n|t<<22-n,i=e.l>>n|e.m<<22-n):n<44?(c=0,r=t>>>n-22,i=e.m>>n-22|e.h<<44-n):(c=0,r=0,i=t>>>n-44),so(i&hs,r&hs,c&Fh)}function Dqe(e,n,t,i){var r;this.b=i,this.e=e==(T0(),Q8),r=n[t],this.d=Wg($o,[be,Tf],[171,30],16,[r.length,r.length],2),this.a=Wg(pt,[be,Ot],[54,30],15,[r.length,r.length],2),this.c=new ere(n,t)}function Qjn(e){var n,t,i;for(e.k=new hee((ke(),D(O(gc,1),Mu,64,0,[uu,jn,Dn,Xn,In])).length,e.j.c.length),i=new $(e.j);i.a=t)return Y5(e,n,i.p),!0;return!1}function w2(e,n,t,i){var r,c,o,l,a,d;for(o=t.length,c=0,r=-1,d=JRe((Nn(n,e.length+1),e.substr(n)),(HD(),$fe)),l=0;lc&&syn(d,JRe(t[l],$fe))&&(r=l,c=a);return r>=0&&(i[0]=n+c),r}function nIn(e,n,t){var i,r,c,o,l,a,d,b;c=e.d.p,l=c.e,a=c.r,e.g=new K7(a),o=e.d.o.c.p,i=o>0?l[o-1]:ee(uh,Ed,9,0,0,1),r=l[o],d=ot?jre(e,t,"start index"):n<0||n>t?jre(n,t,"end index"):j9("end index (%s) must not be less than start index (%s)",D(O(vr,1),hn,1,5,[le(n),le(e)]))}function Jqe(e,n){var t,i,r,c;for(i=0,r=e.length;i0&&Gqe(e,c,t));n.p=0}function cIn(e){var n,t,i,r;for(n=h0(_t(new _s("Predicates."),"and"),40),t=!0,r=new D4(e);r.b=0?e.hi(r):xre(e,i);else throw x(new Mn(T1+i.ve()+c8));else throw x(new Mn(UZe+n+VZe));else rl(e,t,i)}function yre(e){var n,t;if(t=null,n=!1,J(e,210)&&(n=!0,t=u(e,210).a),n||J(e,265)&&(n=!0,t=""+u(e,265).a),n||J(e,479)&&(n=!0,t=""+u(e,479).a),!n)throw x(new EO(Ple));return t}function kre(e,n,t){var i,r,c,o,l,a;for(a=fo(e.e.Ah(),n),i=0,l=e.i,r=u(e.g,122),o=0;o=e.d.b.c.length&&(n=new ju(e.d),n.p=i.p-1,pe(e.d.b,n),t=new ju(e.d),t.p=i.p,pe(e.d.b,t)),Er(i,u(Te(e.d.b,i.p),25))}function sIn(e){var n,t,i,r;for(t=new fi,ic(t,e.o),i=new lM;t.b!=0;)n=u(t.b==0?null:(qn(t.b!=0),el(t,t.a.a)),500),r=NWe(e,n,!0),r&&pe(i.a,n);for(;i.a.c.length!=0;)n=u(pte(i),500),NWe(e,n,!1)}function Oe(e){var n;this.c=new fi,this.f=e.e,this.e=e.d,this.i=e.g,this.d=e.c,this.b=e.b,this.k=e.j,this.a=e.a,e.i?this.j=e.i:this.j=(n=u(wf(oa),10),new Ys(n,u(Gl(n,n.length),10),0)),this.g=e.f}function I0(){I0=q,Kbe=new Lm(z9,0),pr=new Lm("BOOLEAN",1),cc=new Lm("INT",2),f3=new Lm("STRING",3),Vr=new Lm("DOUBLE",4),ji=new Lm("ENUM",5),l3=new Lm("ENUMSET",6),sa=new Lm("OBJECT",7)}function y9(e,n){var t,i,r,c,o;i=m.Math.min(e.c,n.c),c=m.Math.min(e.d,n.d),r=m.Math.max(e.c+e.b,n.c+n.b),o=m.Math.max(e.d+e.a,n.d+n.a),r=(r/2|0))for(this.e=i?i.c:null,this.d=r;t++0;)hne(this);this.b=n,this.a=null}function aIn(e,n){var t,i;n.a?Pxn(e,n):(t=u(xO(e.b,n.b),60),t&&t==e.a[n.b.f]&&t.a&&t.a!=n.b.a&&t.c.Ec(n.b),i=u(NO(e.b,n.b),60),i&&e.a[i.f]==n.b&&i.a&&i.a!=n.b.a&&n.b.c.Ec(i),SD(e.b,n.b))}function Kqe(e,n){var t,i;if(t=u(jc(e.b,n),127),u(u(ri(e.r,n),22),83).dc()){t.n.b=0,t.n.c=0;return}t.n.b=e.C.b,t.n.c=e.C.c,e.A.Gc((As(),nb))&&TXe(e,n),i=WTn(e,n),TB(e,n)==(a2(),B1)&&(i+=2*e.w),t.a.a=i}function Wqe(e,n){var t,i;if(t=u(jc(e.b,n),127),u(u(ri(e.r,n),22),83).dc()){t.n.d=0,t.n.a=0;return}t.n.d=e.C.d,t.n.a=e.C.a,e.A.Gc((As(),nb))&&MXe(e,n),i=KTn(e,n),TB(e,n)==(a2(),B1)&&(i+=2*e.w),t.a.b=i}function hIn(e,n){var t,i,r,c;for(c=new me,i=new $(n);i.ai&&(Nn(n-1,e.length),e.charCodeAt(n-1)<=32);)--n;return i>0||nt.a&&(i.Gc((j0(),gk))?r=(n.a-t.a)/2:i.Gc(wk)&&(r=n.a-t.a)),n.b>t.b&&(i.Gc((j0(),mk))?c=(n.b-t.b)/2:i.Gc(pk)&&(c=n.b-t.b)),lre(e,r,c)}function nUe(e,n,t,i,r,c,o,l,a,d,b,w,y){J(e.Cb,88)&&Aw(rs(u(e.Cb,88)),4),to(e,t),e.f=o,R5(e,l),B5(e,a),L5(e,d),F5(e,b),pd(e,w),J5(e,y),wd(e,!0),hd(e,r),e.Xk(c),M0(e,n),i!=null&&(e.i=null,K_(e,i))}function jre(e,n,t){if(e<0)return j9(tYe,D(O(vr,1),hn,1,5,[t,le(e)]));if(n<0)throw x(new Mn(iYe+n));return j9("%s (%s) must not be greater than size (%s)",D(O(vr,1),hn,1,5,[t,le(e),le(n)]))}function Ire(e,n,t,i,r,c){var o,l,a,d;if(o=i-t,o<7){yAn(n,t,i,c);return}if(a=t+r,l=i+r,d=a+(l-a>>1),Ire(n,e,a,d,-r,c),Ire(n,e,d,l,-r,c),c.Le(e[d-1],e[d])<=0){for(;t=0?e.$h(c,t):sce(e,r,t);else throw x(new Mn(T1+r.ve()+c8));else throw x(new Mn(UZe+n+VZe));else cl(e,i,r,t)}function tUe(e){var n,t;if(e.f){for(;e.n>0;){if(n=u(e.k.Xb(e.n-1),75),t=n.Jk(),J(t,103)&&(u(t,19).Bb&Eu)!=0&&(!e.e||t.nk()!=E4||t.Jj()!=0)&&n.kd()!=null)return!0;--e.n}return!1}else return e.n>0}function iUe(e){var n,t,i,r;if(t=u(e,52).Yh(),t)try{if(i=null,n=Z5((Vd(),Ol),XXe(_An(t))),n&&(r=n.Zh(),r&&(i=r.Dl(wwn(t.e)))),i&&i!=e)return iUe(i)}catch(c){if(c=Zi(c),!J(c,63))throw x(c)}return e}function _In(e,n,t){var i,r,c;t.Tg("Remove overlaps",1),t.bh(n,Fse),i=u(fe(n,(Kp(),em)),26),e.f=i,e.a=NR(u(fe(n,(g1(),zA)),303)),r=Y(fe(n,(St(),Nd))),_K(e,(gn(r),r)),c=Mw(i),gWe(e,n,c,t),t.bh(n,u$)}function jIn(e){var n,t,i;if(Ie(je(fe(e,(St(),ZA))))){for(i=new me,t=new Sn($n(w1(e).a.Jc(),new V));Un(t);)n=u(Fn(t),85),zb(n)&&Ie(je(fe(n,fV)))&&Tn(i.c,n);return i}else return un(),un(),bc}function rUe(e){if(!e)return WMe(),Xnn;var n=e.valueOf?e.valueOf():e;if(n!==e){var t=QH[typeof n];return t?t(n):jte(typeof n)}else return e instanceof Array||e instanceof m.Array?new kK(e):new l7(e)}function cUe(e,n,t){var i,r,c;switch(c=e.o,i=u(jc(e.p,t),253),r=i.i,r.b=E9(i),r.a=k9(i),r.b=m.Math.max(r.b,c.a),r.b>c.a&&!n&&(r.b=c.a),r.c=-(r.b-c.a)/2,t.g){case 1:r.d=-r.a;break;case 3:r.d=c.b}FB(i),RB(i)}function uUe(e,n,t){var i,r,c;switch(c=e.o,i=u(jc(e.p,t),253),r=i.i,r.b=E9(i),r.a=k9(i),r.a=m.Math.max(r.a,c.b),r.a>c.b&&!n&&(r.a=c.b),r.d=-(r.a-c.b)/2,t.g){case 4:r.c=-r.b;break;case 2:r.c=c.a}FB(i),RB(i)}function IIn(e,n){var t,i,r;return J(n.g,9)&&u(n.g,9).k==(En(),sr)?Ri:(r=rv(n),r?m.Math.max(0,e.b/2-.5):(t=Qp(n),t?(i=X(Y(mw(t,(ye(),W0)))),m.Math.max(0,i/2-.5)):Ri))}function $In(e,n){var t,i,r;return J(n.g,9)&&u(n.g,9).k==(En(),sr)?Ri:(r=rv(n),r?m.Math.max(0,e.b/2-.5):(t=Qp(n),t?(i=X(Y(mw(t,(ye(),W0)))),m.Math.max(0,i/2-.5)):Ri))}function NIn(e,n){var t,i,r,c,o;if(!n.dc()){if(r=u(n.Xb(0),132),n.gc()==1){zVe(e,r,r,1,0,n);return}for(t=1;t0)try{r=Ls(n,Jr,zt)}catch(c){throw c=Zi(c),J(c,131)?(i=c,x(new N_(i))):x(c)}return t=(!e.a&&(e.a=new oO(e)),e.a),r=0?u(G(t,r),57):null}function OIn(e,n){if(e<0)return j9(tYe,D(O(vr,1),hn,1,5,["index",le(e)]));if(n<0)throw x(new Mn(iYe+n));return j9("%s (%s) must be less than size (%s)",D(O(vr,1),hn,1,5,["index",le(e),le(n)]))}function DIn(e){var n,t,i,r,c;if(e==null)return Ao;for(c=new E0(ro,"[","]"),t=e,i=0,r=t.length;i=0?e.Ih(t,!0,!0):qb(e,r,!0),163)),u(i,219).Xl(n);else throw x(new Mn(T1+n.ve()+c8))}function Pre(e){var n,t;return e>-0x800000000000&&e<0x800000000000?e==0?0:(n=e<0,n&&(e=-e),t=nc(m.Math.floor(m.Math.log(e)/.6931471805599453)),(!n||e!=m.Math.pow(2,t))&&++t,t):TGe(vu(e))}function VIn(e){var n,t,i,r,c,o,l;for(c=new Ja,t=new $(e);t.a2&&l.e.b+l.j.b<=2&&(r=l,i=o),c.a.yc(r,c),r.q=i);return c}function XIn(e,n,t){t.Tg("Eades radial",1),t.bh(n,u$),e.d=u(fe(n,(Kp(),em)),26),e.c=X(Y(fe(n,(g1(),bx)))),e.e=NR(u(fe(n,zA),303)),e.a=xAn(u(fe(n,G0e),426)),e.b=YSn(u(fe(n,F0e),354)),OSn(e),t.bh(n,u$)}function KIn(e,n){if(n.Tg("Target Width Setter",1),kf(e,(Qf(),GU)))si(e,(Ya(),sp),Y(fe(e,GU)));else throw x(new Zh("A target width has to be set if the TargetWidthWidthApproximator should be used."));n.Ug()}function dUe(e,n){var t,i,r;return i=new Kf(e),yu(i,n),ie(i,(se(),jN),n),ie(i,(ye(),qi),(xr(),Fu)),ie(i,Fa,(Wa(),Mx)),gh(i,(En(),sr)),t=new xu,eu(t,i),mr(t,(ke(),In)),r=new xu,eu(r,i),mr(r,Dn),i}function bUe(e,n){var t,i,r,c,o;for(e.c[n.p]=!0,pe(e.a,n),o=new $(n.j);o.a=c)o.$b();else for(r=o.Jc(),i=0;i0?vW():o<0&&vUe(e,n,-o),!0):!1}function k9(e){var n,t,i,r,c,o,l;if(l=0,e.b==0){for(o=YHe(e,!0),n=0,i=o,r=0,c=i.length;r0&&(l+=t,++n);n>1&&(l+=e.c*(n-1))}else l=iSe(LF(tw(qt(dL(e.a),new OP),new B2e)));return l>0?l+e.n.d+e.n.a:0}function E9(e){var n,t,i,r,c,o,l;if(l=0,e.b==0)l=iSe(LF(tw(qt(dL(e.a),new DP),new LP)));else{for(o=QHe(e,!0),n=0,i=o,r=0,c=i.length;r0&&(l+=t,++n);n>1&&(l+=e.c*(n-1))}return l>0?l+e.n.b+e.n.c:0}function n$n(e){var n,t;if(e.c.length!=2)throw x(new Nc("Order only allowed for two paths."));n=(tn(0,e.c.length),u(e.c[0],17)),t=(tn(1,e.c.length),u(e.c[1],17)),n.d.i!=t.c.i&&(e.c.length=0,Tn(e.c,t),Tn(e.c,n))}function yUe(e,n,t){var i;for(pb(t,n.g,n.f),Ks(t,n.i,n.j),i=0;i<(!n.a&&(n.a=new oe(Et,n,10,11)),n.a).i;i++)yUe(e,u(G((!n.a&&(n.a=new oe(Et,n,10,11)),n.a),i),26),u(G((!t.a&&(t.a=new oe(Et,t,10,11)),t.a),i),26))}function t$n(e,n){var t,i,r,c;for(c=u(jc(e.b,n),127),t=c.a,r=u(u(ri(e.r,n),22),83).Jc();r.Ob();)i=u(r.Pb(),115),i.c&&(t.a=m.Math.max(t.a,rZ(i.c)));if(t.a>0)switch(n.g){case 2:c.n.c=e.s;break;case 4:c.n.b=e.s}}function i$n(e,n){var t,i,r;return t=u(M(n,(Ql(),Uv)),15).a-u(M(e,Uv),15).a,t==0?(i=Ar(sc(u(M(e,(c1(),bA)),8)),u(M(e,C8),8)),r=Ar(sc(u(M(n,bA),8)),u(M(n,C8),8)),oi(i.a*i.b,r.a*r.b)):t}function r$n(e,n){var t,i,r;return t=u(M(n,(au(),lx)),15).a-u(M(e,lx),15).a,t==0?(i=Ar(sc(u(M(e,(gi(),JA)),8)),u(M(e,f4),8)),r=Ar(sc(u(M(n,JA),8)),u(M(n,f4),8)),oi(i.a*i.b,r.a*r.b)):t}function kUe(e){var n,t;return t=new zd,t.a+="e_",n=kEn(e),n!=null&&(t.a+=""+n),e.c&&e.d&&(_t((t.a+=" ",t),Bj(e.c)),_t(Ru((t.a+="[",t),e.c.i),"]"),_t((t.a+=KJ,t),Bj(e.d)),_t(Ru((t.a+="[",t),e.d.i),"]")),t.a}function EUe(e){switch(e.g){case 0:return new A7e;case 1:return new T7e;case 2:return new M7e;case 3:return new S7e;default:throw x(new Mn("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function Lre(e,n,t,i,r){var c;switch(c=0,r.g){case 1:c=m.Math.max(0,n.b+e.b-(t.b+i));break;case 3:c=m.Math.max(0,-e.b-i);break;case 2:c=m.Math.max(0,-e.a-i);break;case 4:c=m.Math.max(0,n.a+e.a-(t.a+i))}return c}function CUe(e,n,t){var i,r,c,o,l;if(t)for(r=t.a.length,i=new l0(r),l=(i.b-i.a)*i.c<0?(Xd(),V1):new Yd(i);l.Ob();)o=u(l.Pb(),15),c=g5(t,o.a),jle in c.a||yH in c.a?sOn(e,c,n):jBn(e,c,n),O2n(u(kn(e.c,H5(c)),85))}function Fre(e){var n,t;switch(e.b){case-1:return!0;case 0:return t=e.t,t>1||t==-1?(e.b=-1,!0):(n=Al(e),n&&(pc(),n.jk()==Ken)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function Rre(e,n){var t,i,r,c;if(Ut(e),e.c!=0||e.a!=123)throw x(new yt(Ct((gt(),pen))));if(c=n==112,i=e.d,t=Y3(e.i,125,i),t<0)throw x(new yt(Ct((gt(),men))));return r=kl(e.i,i,t),e.d=t+1,NFe(r,c,(e.e&512)==512)}function c$n(e){var n,t,i,r,c,o,l;for(l=Ga(e.c.length),r=new $(e);r.a=0&&i=0?e.Ih(t,!0,!0):qb(e,r,!0),163)),u(i,219).Ul(n);throw x(new Mn(T1+n.ve()+aH))}function o$n(){HW();var e;return Khn?u(Z5((Vd(),Ol),Ml),2e3):(Ft(J0,new B8e),YFn(),e=u(J(Gu((Vd(),Ol),Ml),548)?Gu(Ol,Ml):new MPe,548),Khn=!0,WBn(e),tJn(e),Pt((GW(),Lwe),e,new t8e),Pc(Ol,Ml,e),e)}function s$n(e,n){var t,i,r,c;e.j=-1,ws(e.e)?(t=e.i,c=e.i!=0,wE(e,n),i=new jh(e.e,3,e.c,null,n,t,c),r=n.xl(e.e,e.c,null),r=eqe(e,n,r),r?(r.lj(i),r.mj()):Wt(e.e,i)):(wE(e,n),r=n.xl(e.e,e.c,null),r&&r.mj())}function Qj(e,n){var t,i,r;if(r=0,i=n[0],i>=e.length)return-1;for(t=(Nn(i,e.length),e.charCodeAt(i));t>=48&&t<=57&&(r=r*10+(t-48),++i,!(i>=e.length));)t=(Nn(i,e.length),e.charCodeAt(i));return i>n[0]?n[0]=i:r=-1,r}function l$n(e,n,t){var i,r,c,o,l;o=e.c,l=e.d,c=tu(D(O(_r,1),be,8,0,[o.i.n,o.n,o.a])).b,r=(c+tu(D(O(_r,1),be,8,0,[l.i.n,l.n,l.a])).b)/2,i=null,o.j==(ke(),Dn)?i=new he(n+o.i.c.c.a+t,r):i=new he(n-t,r),Q3(e.a,0,i)}function zb(e){var n,t,i,r;for(n=null,i=Ua(nl(D(O(fl,1),hn,20,0,[(!e.b&&(e.b=new dn(et,e,4,7)),e.b),(!e.c&&(e.c=new dn(et,e,5,8)),e.c)])));Un(i);)if(t=u(Fn(i),84),r=Hc(t),!n)n=r;else if(n!=r)return!1;return!0}function pB(e,n,t){var i;if(++e.j,n>=e.i)throw x(new Yu(EH+n+F0+e.i));if(t>=e.i)throw x(new Yu(CH+t+F0+e.i));return i=e.g[t],n!=t&&(n>16),n=i>>16&16,t=16-n,e=e>>n,i=e-256,n=i>>16&8,t+=n,e<<=n,i=e-xw,n=i>>16&4,t+=n,e<<=n,i=e-ja,n=i>>16&2,t+=n,e<<=n,i=e>>14,n=i&~(i>>1),t+2-n)}function f$n(e,n){var t,i,r;for(r=new me,i=ct(n.a,0);i.b!=i.d.c;)t=u(it(i),65),t.c.g==e.g&&Z(M(t.b,(au(),Ba)))!==Z(M(t.c,Ba))&&!e2(new Ze(null,new nn(r,16)),new MAe(t))&&Tn(r.c,t);return kr(r,new h4e),r}function TUe(e,n,t){var i,r,c,o;return J(n,155)&&J(t,155)?(c=u(n,155),o=u(t,155),e.a[c.a][o.a]+e.a[o.a][c.a]):J(n,251)&&J(t,251)&&(i=u(n,251),r=u(t,251),i.a==r.a)?u(M(r.a,(Ql(),Uv)),15).a:0}function MUe(e,n){var t,i,r,c,o,l,a,d;for(d=X(Y(M(n,(ye(),q8)))),a=e[0].n.a+e[0].o.a+e[0].d.c+d,l=1;l=0?t:(l=O6(Ar(new he(o.c+o.b/2,o.d+o.a/2),new he(c.c+c.b/2,c.d+c.a/2))),-(iKe(c,o)-1)*l)}function h$n(e,n,t){var i;Ui(new Ze(null,(!t.a&&(t.a=new oe(Mi,t,6,6)),new nn(t.a,16))),new Sje(e,n)),Ui(new Ze(null,(!t.n&&(t.n=new oe(ou,t,1,7)),new nn(t.n,16))),new _je(e,n)),i=u(fe(t,(St(),rm)),78),i&&Jne(i,e,n)}function qb(e,n,t){var i,r,c;if(c=k2((Bo(),Xr),e.Ah(),n),c)return pc(),u(c,69).vk()||(c=iv(Oc(Xr,c))),r=(i=e.Fh(c),u(i>=0?e.Ih(i,!0,!0):qb(e,c,!0),163)),u(r,219).Ql(n,t);throw x(new Mn(T1+n.ve()+aH))}function Bre(e,n,t,i){var r,c,o,l,a;if(r=e.d[n],r){if(c=r.g,a=r.i,i!=null){for(l=0;l=t&&(i=n,d=(a.c+a.a)/2,o=d-t,a.c<=d-t&&(r=new UD(a.c,o),o0(e,i++,r)),l=d+t,l<=a.a&&(c=new UD(l,a.a),cw(i,e.c.length),r6(e.c,i,c)))}function IUe(e,n,t){var i,r,c,o,l,a;if(!n.dc()){for(r=new fi,a=n.Jc();a.Ob();)for(l=u(a.Pb(),40),Pt(e.a,le(l.g),le(t)),o=(i=ct(new mh(l).a.d,0),new xp(i));w7(o.a);)c=u(it(o.a),65).c,Fi(r,c,r.c.b,r.c);IUe(e,r,t+1)}}function Jre(e){var n;if(!e.c&&e.g==null)e.d=e._i(e.f),rt(e,e.d),n=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;n=u(e.g[e.i-1],50)}return n==e.b&&null.Tm>=null.Sm()?(nI(e),Jre(e)):n.Ob()}function $Ue(e){if(this.a=e,e.c.i.k==(En(),sr))this.c=e.c,this.d=u(M(e.c.i,(se(),wu)),64);else if(e.d.i.k==sr)this.c=e.d,this.d=u(M(e.d.i,(se(),wu)),64);else throw x(new Mn("Edge "+e+" is not an external edge."))}function NUe(e,n){var t,i,r;r=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,3,r,e.b)),n?n!=e&&(to(e,n.zb),MF(e,n.d),t=(i=n.c,i??n.zb),_F(e,t==null||Ye(t,n.zb)?null:t)):(to(e,null),MF(e,0),_F(e,null))}function xUe(e){!WH&&(WH=rBn());var n=e.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(t){return Q4n(t)});return'"'+n+'"'}function Gre(e,n,t,i,r,c){var o,l,a,d,b;if(r!=0)for(Z(e)===Z(t)&&(e=e.slice(n,n+r),n=0),a=t,l=n,d=n+r;l=o)throw x(new Kg(n,o));return r=t[n],o==1?i=null:(i=ee(xV,_H,415,o-1,0,1),Pu(t,0,i,0,n),c=o-n-1,c>0&&Pu(t,n+1,i,n,c)),q5(e,i),eUe(e,n,r),r}function PUe(e){var n,t;if(e.f){for(;e.n0)for(o=e.c.d,l=e.d.d,r=yh(Ar(new he(l.a,l.b),o),1/(i+1)),c=new he(o.a,o.b),t=new $(e.a);t.a0?c=wv(t):c=KE(wv(t))),si(n,r4,c)}function RUe(e,n){var t,i;if(e.c.length!=0){if(e.c.length==2)_v((tn(0,e.c.length),u(e.c[0],9)),(Ds(),lh)),_v((tn(1,e.c.length),u(e.c[1],9)),R1);else for(i=new $(e);i.a0&&vC(e,t,n),c):i.a!=null?(vC(e,n,t),-1):r.a!=null?(vC(e,t,n),1):0}function BUe(e){BL();var n,t,i,r,c,o,l;for(t=new i1,r=new $(e.e.b);r.a=0;)i=t[c],o.$l(i.Jk())&&rt(r,i);!LWe(e,r)&&ws(e.e)&&F3(e,n.Hk()?e1(e,6,n,(un(),bc),null,-1,!1):e1(e,n.rk()?2:1,n,null,null,-1,!1))}function E$n(e,n){var t,i,r,c,o;return e.a==(W5(),j8)?!0:(c=n.a.c,t=n.a.c+n.a.b,!(n.j&&(i=n.A,o=i.c.c.a-i.o.a/2,r=c-(i.n.a+i.o.a),r>o)||n.q&&(i=n.C,o=i.c.c.a-i.o.a/2,r=i.n.a-t,r>o)))}function GUe(e,n,t){var i,r,c,o,l,a;for(i=0,a=t,n||(i=t*(e.c.length-1),a*=-1),c=new $(e);c.a=0?e.xh(null):e.Mh().Qh(e,-1-n,null,null)),e.yh(u(r,52),t),i&&i.mj(),e.sh()&&e.th()&&t>-1&&Wt(e,new Mr(e,9,t,c,r)),r):c}function Ure(e,n){var t,i,r,c,o;for(c=e.b.Ae(n),i=(t=e.a.get(c),t??ee(vr,hn,1,0,5,1)),o=0;o>5,r>=e.d)return e.e<0;if(t=e.a[r],n=1<<(n&31),e.e<0){if(i=VBe(e),r>16)),16).bd(c),l0&&(!(vh(e.a.c)&&n.n.d)&&!(Hp(e.a.c)&&n.n.b)&&(n.g.d+=m.Math.max(0,i/2-.5)),!(vh(e.a.c)&&n.n.a)&&!(Hp(e.a.c)&&n.n.c)&&(n.g.a-=i-1))}function nVe(e,n,t){var i,r,c,o,l,a;c=u(Te(n.e,0),17).c,i=c.i,r=i.k,a=u(Te(t.g,0),17).d,o=a.i,l=o.k,r==(En(),rr)?ie(e,(se(),If),u(M(i,If),12)):ie(e,(se(),If),c),l==rr?ie(e,(se(),jl),u(M(o,jl),12)):ie(e,(se(),jl),a)}function tVe(e,n){var t,i,r,c,o,l;for(c=new $(e.b);c.a>n,c=e.m>>n|t<<22-n,r=e.l>>n|e.m<<22-n):n<44?(o=i?Fh:0,c=t>>n-22,r=e.m>>n-22|t<<44-n):(o=i?Fh:0,c=i?hs:0,r=t>>n-44),so(r&hs,c&hs,o&Fh)}function iVe(e,n){var t,i,r,c,o,l,a,d,b;if(e.a.f>0&&J(n,45)&&(e.a.Zj(),d=u(n,45),a=d.jd(),c=a==null?0:vi(a),o=vQ(e.a,c),t=e.a.d[o],t)){for(i=u(t.g,374),b=t.i,l=0;l=2)for(t=r.Jc(),n=Y(t.Pb());t.Ob();)c=n,n=Y(t.Pb()),i=m.Math.min(i,(gn(n),n-(gn(c),c)));return i}function q$n(e,n){var t,i,r;for(r=new me,i=ct(n.a,0);i.b!=i.d.c;)t=u(it(i),65),t.b.g==e.g&&!Ye(t.b.c,r$)&&Z(M(t.b,(au(),Ba)))!==Z(M(t.c,Ba))&&!e2(new Ze(null,new nn(r,16)),new SAe(t))&&Tn(r.c,t);return kr(r,new d4e),r}function U$n(e,n){var t,i,r;if(Z(n)===Z(at(e)))return!0;if(!J(n,16)||(i=u(n,16),r=e.gc(),r!=i.gc()))return!1;if(J(i,59)){for(t=0;t0&&(r=t),o=new $(e.f.e);o.a0?r+=n:r+=1;return r}function eNn(e,n){var t,i,r,c,o,l,a,d,b,w;d=e,a=B6(d,"individualSpacings"),a&&(i=kf(n,(St(),d3)),o=!i,o&&(r=new HP,si(n,d3,r)),l=u(fe(n,d3),379),w=a,c=null,w&&(c=(b=PF(w,ee($e,be,2,0,6,1)),new $O(w,b))),c&&(t=new Fje(w,l),Yr(c,t)))}function nNn(e,n){var t,i,r,c,o,l,a,d,b,w,y;return a=null,w=e,b=null,(ten in w.a||ien in w.a||d$ in w.a)&&(d=null,y=Yne(n),o=B6(w,ten),t=new aTe(y),qGe(t.a,o),l=B6(w,ien),i=new yTe(y),UGe(i.a,l),c=$b(w,d$),r=new CTe(y),d=(Qze(r.a,c),c),b=d),a=b,a}function tNn(e,n){var t,i,r;if(n===e)return!0;if(J(n,540)){if(r=u(n,833),e.a.d!=r.a.d||Wp(e).gc()!=Wp(r).gc())return!1;for(i=Wp(r).Jc();i.Ob();)if(t=u(i.Pb(),416),nDe(e,t.a.jd())!=u(t.a.kd(),18).gc())return!1;return!0}return!1}function iNn(e,n){var t,i,r,c;for(c=new $(n.a);c.an.c?1:e.bn.b?1:e.a!=n.a?vi(e.a)-vi(n.a):e.d==(H6(),ek)&&n.d==Z8?-1:e.d==Z8&&n.d==ek?1:0}function yB(e){var n,t,i,r,c,o,l,a;for(r=Ri,i=Tr,t=new $(e.e.b);t.a0&&r<_2?(t=K$n(e.a,i.i,r,e.c),XRe(e.a,i.i,-t),t>0):r<0&&-r<_2?(t=W$n(e.a,i.i,-r,e.c),XRe(e.a,i.i,t),t>0):!1}function cNn(e,n,t,i){var r,c,o,l,a,d,b,w;for(r=(n-e.d)/e.c.c.length,c=0,e.a+=t,e.d=n,w=new $(e.c);w.a>24;return o}function oNn(e){if(e.xe()){var n=e.c;n.ye()?e.o="["+n.n:n.xe()?e.o="["+n.ve():e.o="[L"+n.ve()+";",e.b=n.ue()+"[]",e.k=n.we()+"[]";return}var t=e.j,i=e.d;i=i.split("/"),e.o=ER(".",[t,ER("$",i)]),e.b=ER(".",[t,ER(".",i)]),e.k=i[i.length-1]}function sNn(e,n){var t,i,r,c,o;for(o=null,c=new $(e.e.a);c.a0&&SC(n,(tn(i-1,e.c.length),u(e.c[i-1],9)),r)>0;)Ns(e,i,(tn(i-1,e.c.length),u(e.c[i-1],9))),--i;tn(i,e.c.length),e.c[i]=r}n.b=new Wn,n.g=new Wn}function gVe(e,n,t){var i,r,c;for(i=1;i0&&n.Le((tn(r-1,e.c.length),u(e.c[r-1],9)),c)>0;)Ns(e,r,(tn(r-1,e.c.length),u(e.c[r-1],9))),--r;tn(r,e.c.length),e.c[r]=c}t.a=new Wn,t.b=new Wn}function eI(e,n,t){var i,r,c,o,l,a,d,b,w,y;for(c=n.Jc();c.Ob();)r=u(c.Pb(),26),b=r.i+r.g/2,y=r.j+r.f/2,a=e.f,o=a.i+a.g/2,l=a.j+a.f/2,d=b-o,w=y-l,i=m.Math.sqrt(d*d+w*w),d*=e.e/i,w*=e.e/i,t?(b-=d,y-=w):(b+=d,y+=w),os(r,b-r.g/2),ss(r,y-r.f/2)}function p2(e){var n,t,i;if(!e.c&&e.b!=null){for(n=e.b.length-4;n>=0;n-=2)for(t=0;t<=n;t+=2)(e.b[t]>e.b[t+2]||e.b[t]===e.b[t+2]&&e.b[t+1]>e.b[t+3])&&(i=e.b[t+2],e.b[t+2]=e.b[t],e.b[t]=i,i=e.b[t+3],e.b[t+3]=e.b[t+1],e.b[t+1]=i);e.c=!0}}function Wl(e){var n,t;return t=new _s(i0(e.Pm)),t.a+="@",_t(t,(n=vi(e)>>>0,n.toString(16))),e.Sh()?(t.a+=" (eProxyURI: ",Ru(t,e.Yh()),e.Hh()&&(t.a+=" eClass: ",Ru(t,e.Hh())),t.a+=")"):e.Hh()&&(t.a+=" (eClass: ",Ru(t,e.Hh()),t.a+=")"),t.a}function T9(e){var n,t,i,r;if(e.e)throw x(new Nc((kh(lz),BJ+lz.k+JJ)));for(e.d==(ar(),fa)&&kI(e,Rc),t=new $(e.a.a);t.a>24}return t}function bNn(e,n,t){var i,r,c;if(r=u(jc(e.i,n),318),!r)if(r=new RRe(e.d,n,t),Qm(e.i,n,r),uie(n))P2n(e.a,n.c,n.b,r);else switch(c=lIn(n),i=u(jc(e.p,c),253),c.g){case 1:case 3:r.j=!0,yO(i,n.b,r);break;case 4:case 2:r.k=!0,yO(i,n.c,r)}return r}function gNn(e,n,t,i){var r,c,o,l,a,d;if(l=new VT,a=fo(e.e.Ah(),n),r=u(e.g,122),pc(),u(n,69).vk())for(o=0;o=0)return r;for(c=1,l=new $(n.j);l.a=0)return r;for(c=1,l=new $(n.j);l.a=0?(n||(n=new V4,i>0&&_c(n,(zr(0,i,e.length),e.substr(0,i)))),n.a+="\\",s5(n,t&hr)):n&&s5(n,t&hr);return n?n.a:e}function pNn(e){var n,t,i;for(t=new $(e.a.a.b);t.a0&&(!(vh(e.a.c)&&n.n.d)&&!(Hp(e.a.c)&&n.n.b)&&(n.g.d-=m.Math.max(0,i/2-.5)),!(vh(e.a.c)&&n.n.a)&&!(Hp(e.a.c)&&n.n.c)&&(n.g.a+=m.Math.max(0,i-1)))}function kVe(e,n,t){var i,r;if((e.c-e.b&e.a.length-1)==2)n==(ke(),jn)||n==Dn?(F_(u(e9(e),16),(Ds(),lh)),F_(u(e9(e),16),R1)):(F_(u(e9(e),16),(Ds(),R1)),F_(u(e9(e),16),lh));else for(r=new L6(e);r.a!=r.b;)i=u(hj(r),16),F_(i,t)}function mNn(e,n,t){var i,r,c,o,l,a,d,b,w;for(b=-1,w=0,l=n,a=0,d=l.length;a0&&++w;++b}return w}function vNn(e,n){var t,i,r,c,o,l,a;for(r=i5(new UK(e)),l=new Rr(r,r.c.length),c=i5(new UK(n)),a=new Rr(c,c.c.length),o=null;l.b>0&&a.b>0&&(t=(qn(l.b>0),u(l.a.Xb(l.c=--l.b),26)),i=(qn(a.b>0),u(a.a.Xb(a.c=--a.b),26)),t==i);)o=t;return o}function yNn(e,n){var t,i,r,c;for(n.Tg("Self-Loop pre-processing",1),i=new $(e.a);i.afDe(e,t)?(i=iu(t,(ke(),Dn)),e.d=i.dc()?0:YD(u(i.Xb(0),12)),o=iu(n,In),e.b=o.dc()?0:YD(u(o.Xb(0),12))):(r=iu(t,(ke(),In)),e.d=r.dc()?0:YD(u(r.Xb(0),12)),c=iu(n,Dn),e.b=c.dc()?0:YD(u(c.Xb(0),12)))}function kNn(e){var n,t,i,r,c,o,l,a;n=!0,r=null,c=null;e:for(a=new $(e.a);a.ae.c));o++)r.a>=e.s&&(c<0&&(c=o),l=o);return a=(e.s+e.c)/2,c>=0&&(i=uOn(e,n,c,l),a=apn((tn(i,n.c.length),u(n.c[i],340))),w$n(n,i,t)),a}function ot(e,n,t){var i,r,c,o,l,a,d;for(o=(c=new hK,c),$ne(o,(gn(n),n)),d=(!o.b&&(o.b=new ms((rn(),wc),pu,o)),o.b),a=1;a=2}function TNn(e,n,t,i,r){var c,o,l,a,d,b;for(c=e.c.d.j,o=u(Nu(t,0),8),b=1;b1||(n=bi(uf,D(O(Mc,1),ae,96,0,[Uh,of])),OE(u_(n,e))>1)||(i=bi(lf,D(O(Mc,1),ae,96,0,[fh,$l])),OE(u_(i,e))>1))}function AVe(e){var n,t,i,r,c,o,l;for(n=0,i=new $(e.a);i.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&jt(n,i.b));for(r=new $(e.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&jt(t,i.a))}function nI(e){var n,t,i,r,c;if(e.g==null&&(e.d=e._i(e.f),rt(e,e.d),e.c))return c=e.f,c;if(n=u(e.g[e.i-1],50),r=n.Pb(),e.e=n,t=e._i(r),t.Ob())e.d=t,rt(e,t);else for(e.d=null;!n.Ob()&&(Ki(e.g,--e.i,null),e.i!=0);)i=u(e.g[e.i-1],50),n=i;return r}function SNn(e,n){var t,i,r,c,o,l;if(i=n,r=i.Jk(),Dh(e.e,r)){if(r.Qi()&&g_(e,r,i.kd()))return!1}else for(l=fo(e.e.Ah(),r),t=u(e.g,122),c=0;c1||t>1)return 2;return n+t==1?2:0}function fs(e,n){var t,i,r,c,o,l;return c=e.a*DJ+e.b*1502,l=e.b*DJ+11,t=m.Math.floor(l*RC),c+=t,l-=t*Pue,c%=Pue,e.a=c,e.b=l,n<=24?m.Math.floor(e.a*xfe[n]):(r=e.a*(1<=2147483648&&(i-=4294967296),i)}function SVe(e,n,t){var i,r,c,o,l,a,d;for(c=new me,d=new fi,o=new fi,UDn(e,d,o,n),SFn(e,d,o,n,t),a=new $(e);a.ai.b.g&&Tn(c.c,i);return c}function xNn(e,n,t){var i,r,c,o,l,a;for(l=e.c,o=(t.q?t.q:(un(),un(),rh)).vc().Jc();o.Ob();)c=u(o.Pb(),45),i=!z3(qt(new Ze(null,new nn(l,16)),new D3(new gje(n,c)))).zd((r0(),zv)),i&&(a=c.kd(),J(a,4)&&(r=sie(a),r!=null&&(a=r)),n.of(u(c.jd(),147),a))}function PNn(e,n){var t,i,r,c;for(n.Tg("Resize child graph to fit parent.",1),i=new $(e.b);i.a1)for(r=new $(e.a);r.a=0?e.Ih(i,!0,!0):qb(e,c,!0),163)),u(r,219).Vl(n,t)}else throw x(new Mn(T1+n.ve()+c8))}function LNn(e,n,t){var i,r,c,o,l,a;if(a=aQ(e,u(kn(e.e,n),26)),l=null,a)switch(a.g){case 3:i=OY(e,iw(n)),l=(gn(t),t+(gn(i),i));break;case 2:r=OY(e,iw(n)),o=(gn(t),t+(gn(r),r)),c=OY(e,u(kn(e.e,n),26)),l=o-(gn(c),c);break;default:l=t}else l=t;return l}function FNn(e,n,t){var i,r,c,o,l,a;if(a=aQ(e,u(kn(e.e,n),26)),l=null,a)switch(a.g){case 3:i=DY(e,iw(n)),l=(gn(t),t+(gn(i),i));break;case 2:r=DY(e,iw(n)),o=(gn(t),t+(gn(r),r)),c=DY(e,u(kn(e.e,n),26)),l=o-(gn(c),c);break;default:l=t}else l=t;return l}function tI(e,n){var t,i,r,c,o;if(n){for(c=J(e.Cb,88)||J(e.Cb,103),o=!c&&J(e.Cb,335),i=new Jn((!n.a&&(n.a=new S6(n,Sc,n)),n.a));i.e!=i.i.gc();)if(t=u(zn(i),87),r=bI(t),c?J(r,88):o?J(r,159):r)return r;return c?(rn(),Dl):(rn(),da)}else return null}function RNn(e,n){var t,i,r,c,o;for(t=new me,r=Uc(new Ze(null,new nn(e,16)),new Zye),c=Uc(new Ze(null,new nn(e,16)),new e4e),o=jkn(W8n(tw(WNn(D(O(dJn,1),hn,832,0,[r,c])),new n4e))),i=1;i=2*n&&pe(t,new UD(o[i-1]+n,o[i]-n));return t}function _Ve(e,n,t){var i,r,c,o,l,a,d,b;if(t)for(c=t.a.length,i=new l0(c),l=(i.b-i.a)*i.c<0?(Xd(),V1):new Yd(i);l.Ob();)o=u(l.Pb(),15),r=g5(t,o.a),r&&(a=t8n(e,(d=(Ud(),b=new oW,b),n&&lce(d,n),d),r),C5(a,Th(r,Oa)),Uj(r,a),$re(r,a),KF(e,r,a))}function iI(e){var n,t,i,r,c,o;if(!e.j){if(o=new z9e,n=xk,c=n.a.yc(e,n),c==null){for(i=new Jn(Gc(e));i.e!=i.i.gc();)t=u(zn(i),29),r=iI(t),Vi(o,r),rt(o,t);n.a.Ac(e)!=null}gw(o),e.j=new Jp((u(G(ue((Qd(),vn).o),11),19),o.i),o.g),rs(e).b&=-33}return e.j}function BNn(e){var n,t,i,r;if(e==null)return null;if(i=Uu(e,!0),r=lA.length,Ye(i.substr(i.length-r,r),lA)){if(t=i.length,t==4){if(n=(Nn(0,i.length),i.charCodeAt(0)),n==43)return ipe;if(n==45)return wdn}else if(t==3)return ipe}return new ZK(i)}function JNn(e){var n,t,i;return t=e.l,(t&t-1)!=0||(i=e.m,(i&i-1)!=0)||(n=e.h,(n&n-1)!=0)||n==0&&i==0&&t==0?-1:n==0&&i==0&&t!=0?Ane(t):n==0&&i!=0&&t==0?Ane(i)+22:n!=0&&i==0&&t==0?Ane(n)+44:-1}function m2(e,n){var t,i,r,c,o;for(r=n.a&e.f,c=null,i=e.b[r];;i=i.b){if(i==n){c?c.b=n.b:e.b[r]=n.b;break}c=i}for(o=n.f&e.f,c=null,t=e.c[o];;t=t.d){if(t==n){c?c.d=n.d:e.c[o]=n.d;break}c=t}n.e?n.e.c=n.c:e.a=n.c,n.c?n.c.e=n.e:e.e=n.e,--e.i,++e.g}function GNn(e,n){var t;n.d?n.d.b=n.b:e.a=n.b,n.b?n.b.d=n.d:e.e=n.d,!n.e&&!n.c?(t=u(yl(u(uv(e.b,n.a),262)),262),t.a=0,++e.c):(t=u(yl(u(kn(e.b,n.a),262)),262),--t.a,n.e?n.e.c=n.c:t.b=u(yl(n.c),497),n.c?n.c.e=n.e:t.c=u(yl(n.e),497)),--e.d}function EB(e,n){var t,i,r,c;for(c=new Rr(e,0),t=(qn(c.b0),c.a.Xb(c.c=--c.b),Xg(c,r),qn(c.b3&&Ka(e,0,n-3))}function zNn(e){var n,t,i,r;return Z(M(e,(ye(),Yw)))===Z((xh(),xd))?!e.e&&Z(M(e,IA))!==Z((_5(),EA)):(i=u(M(e,Tq),302),r=Ie(je(M(e,Mq)))||Z(M(e,J8))===Z((f9(),yA)),n=u(M(e,_de),15).a,t=e.a.c.length,!r&&i!=(_5(),EA)&&(n==0||n>t))}function qNn(e,n){var t,i,r,c,o,l,a;for(r=e.Jc();r.Ob();)for(i=u(r.Pb(),9),l=new xu,eu(l,i),mr(l,(ke(),Dn)),ie(l,(se(),IN),(pn(),!0)),o=n.Jc();o.Ob();)c=u(o.Pb(),9),a=new xu,eu(a,c),mr(a,In),ie(a,IN,!0),t=new _b,ie(t,IN,!0),tc(t,l),Fr(t,a)}function UNn(e){var n,t;for(t=0;t0);t++);if(t>0&&t0);n++);return n>0&&t>16!=6&&n){if(U5(e,n))throw x(new Mn(u8+HUe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Iie(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=vv(n,e,6,i)),i=pQ(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,6,n,n))}function rI(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=3&&n){if(U5(e,n))throw x(new Mn(u8+xKe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Pie(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=vv(n,e,12,i)),i=wQ(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,3,n,n))}function lce(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=9&&n){if(U5(e,n))throw x(new Mn(u8+IXe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Nie(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=vv(n,e,9,i)),i=mQ(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,9,n,n))}function ey(e){var n,t,i,r,c;if(i=Al(e),c=e.j,c==null&&i)return e.Hk()?null:i.gk();if(J(i,159)){if(t=i.hk(),t&&(r=t.ti(),r!=e.i)){if(n=u(i,159),n.lk())try{e.g=r.qi(n,c)}catch(o){if(o=Zi(o),J(o,80))e.g=null;else throw x(o)}e.i=r}return e.g}return null}function xVe(e){var n;return n=new me,pe(n,new Om(new he(e.c,e.d),new he(e.c+e.b,e.d))),pe(n,new Om(new he(e.c,e.d),new he(e.c,e.d+e.a))),pe(n,new Om(new he(e.c+e.b,e.d+e.a),new he(e.c+e.b,e.d))),pe(n,new Om(new he(e.c+e.b,e.d+e.a),new he(e.c,e.d+e.a))),n}function XNn(e){var n,t,i,r;for(i=e.a.d.j,r=e.c.d.j,t=new $(e.i.d);t.a>>0),t.toString(16)),TTn(AEn(),(X3(),"Exception during lenientFormat for "+i),n),"<"+i+" threw "+i0(n.Pm)+">";throw x(r)}}function WNn(e){var n,t,i,r,c,o,l,a,d;for(i=!1,n=336,t=0,c=new K$e(e.length),l=e,a=0,d=l.length;a1)for(n=vb((t=new t0,++e.b,t),e.d),l=ct(c,0);l.b!=l.d.c;)o=u(it(l),124),Yl(Rl(Fl(Bl(Ll(new pl,1),0),n),o))}function cI(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=11&&n){if(U5(e,n))throw x(new Mn(u8+Ice(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Oie(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=vv(n,e,10,i)),i=NQ(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,11,n,n))}function nxn(e,n,t){var i,r,c,o,l,a;if(c=0,o=0,e.c)for(a=new $(e.d.i.j);a.ac.a?-1:r.aa){for(b=e.d,e.d=ee(_we,Hle,67,2*a+4,0,1),c=0;c=9223372036854776e3?(y5(),ffe):(r=!1,e<0&&(r=!0,e=-e),i=0,e>=x0&&(i=nc(e/x0),e-=i*x0),t=0,e>=xv&&(t=nc(e/xv),e-=t*xv),n=nc(e),c=so(n,t,i),r&&XF(c),c)}function dxn(e){var n,t,i,r,c;if(c=new me,no(e.b,new HEe(c)),e.b.c.length=0,c.c.length!=0){for(n=(tn(0,c.c.length),u(c.c[0],80)),t=1,i=c.c.length;t>16!=7&&n){if(U5(e,n))throw x(new Mn(u8+Fqe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?$ie(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=u(n,52).Oh(e,1,gT,i)),i=gZ(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,7,n,n))}function DVe(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=3&&n){if(U5(e,n))throw x(new Mn(u8+SGe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?xie(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=u(n,52).Oh(e,0,pT,i)),i=wZ(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,3,n,n))}function CB(e,n){ty();var t,i,r,c,o,l,a,d,b;return n.d>e.d&&(l=e,e=n,n=l),n.d<63?iPn(e,n):(o=(e.d&-2)<<4,d=Lee(e,o),b=Lee(n,o),i=HB(e,cv(d,o)),r=HB(n,cv(b,o)),a=CB(d,b),t=CB(i,r),c=CB(HB(d,i),HB(r,b)),c=WB(WB(c,a),t),c=cv(c,o),a=cv(a,o<<1),WB(WB(a,c),t))}function wC(){wC=q,Hq=new Lp(OQe,0),g1e=new Lp("LONGEST_PATH",1),w1e=new Lp("LONGEST_PATH_SOURCE",2),Jq=new Lp("COFFMAN_GRAHAM",3),b1e=new Lp(ZJ,4),p1e=new Lp("STRETCH_WIDTH",5),KN=new Lp("MIN_WIDTH",6),Bq=new Lp("BF_MODEL_ORDER",7),Gq=new Lp("DF_MODEL_ORDER",8)}function mxn(e,n){var t,i,r,c,o,l;if(!e.tb){for(c=(!e.rb&&(e.rb=new Zg(e,Pf,e)),e.rb),l=new Pm(c.i),r=new Jn(c);r.e!=r.i.gc();)i=u(zn(r),143),o=i.ve(),t=u(o==null?Co(l.f,null,i):Lb(l.i,o,i),143),t&&(o==null?Co(l.f,null,t):Lb(l.i,o,t));e.tb=l}return u(Gu(e.tb,n),143)}function pC(e,n){var t,i,r,c,o;if((e.i==null&&_a(e),e.i).length,!e.p){for(o=new Pm((3*e.g.i/2|0)+1),r=new Hm(e.g);r.e!=r.i.gc();)i=u(IR(r),179),c=i.ve(),t=u(c==null?Co(o.f,null,i):Lb(o.i,c,i),179),t&&(c==null?Co(o.f,null,t):Lb(o.i,c,t));e.p=o}return u(Gu(e.p,n),179)}function gce(e,n,t,i,r){var c,o,l,a,d;for(gTn(i+r_(t,t.ge()),r),hPe(n,NAn(t)),c=t.f,c&&gce(e,n,c,"Caused by: ",!1),l=(t.k==null&&(t.k=ee(KH,be,80,0,0,1)),t.k),a=0,d=l.length;a=0;c+=t?1:-1)o=o|n.c.jg(a,c,t,i&&!Ie(je(M(n.j,(se(),$1))))&&!Ie(je(M(n.j,(se(),z2))))),o=o|n.q.tg(a,c,t),o=o|CXe(e,a[c],t,i);return ir(e.c,n),o}function oI(e,n,t){var i,r,c,o,l,a,d,b,w,y;for(b=JDe(e.j),w=0,y=b.length;w1&&(e.a=!0),U5n(u(t.b,68),ei(sc(u(n.b,68).c),yh(Ar(sc(u(t.b,68).a),u(n.b,68).a),r))),YOe(e,n),FVe(e,t)}function RVe(e){var n,t,i,r,c,o,l;for(c=new $(e.a.a);c.a0&&c>0?o.p=n++:i>0?o.p=t++:c>0?o.p=r++:o.p=t++}un(),kr(e.j,new t3e)}function Cxn(e){var n,t;t=null,n=u(Te(e.g,0),17);do{if(t=n.d.i,Zt(t,(se(),jl)))return u(M(t,jl),12).i;if(t.k!=(En(),zi)&&Un(new Sn($n(yi(t).a.Jc(),new V))))n=u(Fn(new Sn($n(yi(t).a.Jc(),new V))),17);else if(t.k!=zi)return null}while(t&&t.k!=(En(),zi));return t}function Axn(e,n){var t,i,r,c,o,l,a,d,b;for(l=n.j,o=n.g,a=u(Te(l,l.c.length-1),113),b=(tn(0,l.c.length),u(l.c[0],113)),d=qR(e,o,a,b),c=1;cd&&(a=t,b=r,d=i);n.a=b,n.c=a}function Ub(e,n,t,i){var r,c;if(r=Z(M(t,(ye(),R8)))===Z((o1(),Xw)),c=u(M(t,Sde),16),Zt(e,(se(),wi)))if(r){if(c.Gc(M(e,B8))&&c.Gc(M(n,B8)))return i*u(M(e,B8),15).a+u(M(e,wi),15).a}else return u(M(e,wi),15).a;else return-1;return u(M(e,wi),15).a}function Txn(e,n,t){var i,r,c,o,l,a,d;for(d=new td(new lAe(e)),o=D(O(nrn,1),cQe,12,0,[n,t]),l=0,a=o.length;la-e.b&&la-e.a&&lt.p?1:0:c.Ob()?1:-1}function xxn(e,n){var t,i,r,c,o,l;n.Tg(cZe,1),r=u(fe(e,(Qf(),fk)),104),c=(!e.a&&(e.a=new oe(Et,e,10,11)),e.a),o=eSn(c),l=m.Math.max(o.a,X(Y(fe(e,(Ya(),lk))))-(r.b+r.c)),i=m.Math.max(o.b,X(Y(fe(e,wx)))-(r.d+r.a)),t=i-o.b,si(e,sk,t),si(e,o3,l),si(e,h4,i+t),n.Ug()}function sI(e){var n,t;if((!e.a&&(e.a=new oe(Mi,e,6,6)),e.a).i==0)return Yne(e);for(n=u(G((!e.a&&(e.a=new oe(Mi,e,6,6)),e.a),0),170),tt((!n.a&&(n.a=new fr(Us,n,5)),n.a)),c2(n,0),u2(n,0),i2(n,0),r2(n,0),t=(!e.a&&(e.a=new oe(Mi,e,6,6)),e.a);t.i>1;)Sw(t,t.i-1);return n}function fo(e,n){pc();var t,i,r,c;return n?n==(li(),bdn)||(n==tdn||n==ib||n==ndn)&&e!=npe?new bue(e,n):(i=u(n,682),t=i.Yk(),t||(a5(Oc((Bo(),Xr),n)),t=i.Yk()),c=(!t.i&&(t.i=new Wn),t.i),r=u(Qc(xc(c.f,e)),2003),!r&&Pt(c,e,r=new bue(e,n)),r):Qhn}function Pxn(e,n){var t,i;if(i=tE(e.b,n.b),!i)throw x(new Nc("Invalid hitboxes for scanline constraint calculation."));(vJe(n.b,u(tpn(e.b,n.b),60))||vJe(n.b,u(npn(e.b,n.b),60)))&&id(),e.a[n.b.f]=u(xO(e.b,n.b),60),t=u(NO(e.b,n.b),60),t&&(e.a[t.f]=n.b)}function Oxn(e,n){var t,i,r,c,o,l,a,d,b;for(a=u(M(e,(se(),ti)),12),d=tu(D(O(_r,1),be,8,0,[a.i.n,a.n,a.a])).a,b=e.i.n.b,t=Ea(e.e),r=t,c=0,o=r.length;c0?c.a?(l=c.b.Kf().a,t>l&&(r=(t-l)/2,c.d.b=r,c.d.c=r)):c.d.c=e.s+t:I6(e.u)&&(i=ure(c.b),i.c<0&&(c.d.b=-i.c),i.c+i.b>c.b.Kf().a&&(c.d.c=i.c+i.b-c.b.Kf().a))}function Jxn(e,n){var t,i,r,c,o;o=new me,t=n;do c=u(kn(e.b,t),132),c.B=t.c,c.D=t.d,Tn(o.c,c),t=u(kn(e.k,t),17);while(t);return i=(tn(0,o.c.length),u(o.c[0],132)),i.j=!0,i.A=u(i.d.a.ec().Jc().Pb(),17).c.i,r=u(Te(o,o.c.length-1),132),r.q=!0,r.C=u(r.d.a.ec().Jc().Pb(),17).d.i,o}function Gxn(e){var n,t;t=u(M(e,(ye(),cu)),165),n=u(M(e,(se(),H0)),315),t==(Es(),Hh)?(ie(e,cu,_A),ie(e,H0,(_h(),G2))):t==q0?(ie(e,cu,_A),ie(e,H0,(_h(),Kv))):n==(_h(),G2)?(ie(e,cu,Hh),ie(e,H0,AA)):n==Kv&&(ie(e,cu,q0),ie(e,H0,AA))}function lI(){lI=q,RA=new qye,Lsn=Tt(new Qi,(Pr(),Du),(Br(),Q$)),Bsn=Qu(Tt(new Qi,Du,uN),Tc,cN),Jsn=Ta(Ta(n6(Qu(Tt(new Qi,tf,fN),Tc,lN),Lu),sN),aN),Fsn=Qu(Tt(Tt(Tt(new Qi,ch,eN),Lu,tN),Lu,qy),Tc,nN),Rsn=Qu(Tt(Tt(new Qi,Lu,qy),Lu,Y$),Tc,W$)}function _9(){_9=q,zsn=Tt(Qu(new Qi,(Pr(),Tc),(Br(),Iae)),Du,Q$),Xsn=Ta(Ta(n6(Qu(Tt(new Qi,tf,fN),Tc,lN),Lu),sN),aN),qsn=Qu(Tt(Tt(Tt(new Qi,ch,eN),Lu,tN),Lu,qy),Tc,nN),Vsn=Tt(Tt(new Qi,Du,uN),Tc,cN),Usn=Qu(Tt(Tt(new Qi,Lu,qy),Lu,Y$),Tc,W$)}function Hxn(e,n,t,i,r){var c,o;(!Qr(n)&&n.c.i.c==n.d.i.c||!MBe(tu(D(O(_r,1),be,8,0,[r.i.n,r.n,r.a])),t))&&!Qr(n)&&(n.c==r?Q3(n.a,0,new oc(t)):jt(n.a,new oc(t)),i&&!ml(e.a,t)&&(o=u(M(n,(ye(),Fc)),78),o||(o=new ts,ie(n,Fc,o)),c=new oc(t),Fi(o,c,o.c.b,o.c),ir(e.a,c)))}function GVe(e,n){var t,i,r,c;for(c=vt(rc(eh,Va(vt(rc(n==null?0:vi(n),nh)),15))),t=c&e.b.length-1,r=null,i=e.b[t];i;r=i,i=i.a)if(i.d==c&&Eh(i.i,n))return r?r.a=i.a:e.b[t]=i.a,uSe(u(yl(i.c),593),u(yl(i.f),593)),d7(u(yl(i.b),227),u(yl(i.e),227)),--e.f,++e.e,!0;return!1}function zxn(e){var n,t;for(t=new Sn($n(Yi(e).a.Jc(),new V));Un(t);)if(n=u(Fn(t),17),n.c.i.k!=(En(),Su))throw x(new Zh(QJ+nC(e)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function HVe(e,n){var t,i,r,c,o,l,a,d,b,w,y;r=n?new tye:new iye,c=!1;do for(c=!1,d=n?Cs(e.b):e.b,a=d.Jc();a.Ob();)for(l=u(a.Pb(),25),y=w0(l.a),n||Cs(y),w=new $(y);w.a=0;o+=r?1:-1){for(l=n[o],a=i==(ke(),Dn)?r?iu(l,i):Cs(iu(l,i)):r?Cs(iu(l,i)):iu(l,i),c&&(e.c[l.p]=a.gc()),w=a.Jc();w.Ob();)b=u(w.Pb(),12),e.d[b.p]=d++;wr(t,a)}}function qVe(e,n,t){var i,r,c,o,l,a,d,b;for(c=X(Y(e.b.Jc().Pb())),d=X(Y(TEn(n.b))),i=yh(sc(e.a),d-t),r=yh(sc(n.a),t-c),b=ei(i,r),yh(b,1/(d-c)),this.a=b,this.b=new me,l=!0,o=e.b.Jc(),o.Pb();o.Ob();)a=X(Y(o.Pb())),l&&a-t>GG&&(this.b.Ec(t),l=!1),this.b.Ec(a);l&&this.b.Ec(t)}function Uxn(e){var n,t,i,r;if(lOn(e,e.n),e.d.c.length>0){for(q4(e.c);Kre(e,u(I(new $(e.e.a)),124))>5,n&=31,i>=e.d)return e.e<0?(Sa(),etn):(Sa(),v8);if(c=e.d-i,r=ee(pt,Ot,30,c+1,15,1),Wjn(r,c,e.a,i,n),e.e<0){for(t=0;t0&&e.a[t]<<32-n!=0){for(t=0;t=0?!1:(t=k2((Bo(),Xr),r,n),t?(i=t.Gk(),(i>1||i==-1)&&Mb(Oc(Xr,t))!=3):!0)):!1}function Qxn(e,n,t,i){var r,c,o,l,a,d,b,w,y,C;if(a=e.c.d,d=e.d.d,a.j!=d.j)for(C=e.b,b=null,l=null,o=dTn(e),o&&C.i&&(b=e.b.i.i,l=C.i.j),r=a.j,w=null;r!=d.j;)w=n==0?gj(r):Ote(r),c=die(r,C.d[r.g],t),y=die(w,C.d[w.g],t),o&&b&&l&&(r==b?FGe(c,b,l):w==b&&FGe(y,b,l)),jt(i,ei(c,y)),r=w}function mce(e,n,t){var i,r,c,o,l,a;if(i=Gwn(t,e.length),o=e[i],c=aSe(t,o.length),o[c].k==(En(),sr))for(a=n.j,r=0;r0&&(t[0]+=e.d,o-=t[0]),t[2]>0&&(t[2]+=e.d,o-=t[2]),c=m.Math.max(0,o),t[1]=m.Math.max(t[1],o),Ree(e,uo,r.c+i.b+t[0]-(t[1]-o)/2,t),n==uo&&(e.c.b=c,e.c.c=r.c+i.b+(c-o)/2)}function ZVe(){this.c=ee(Dr,$c,30,(ke(),D(O(gc,1),Mu,64,0,[uu,jn,Dn,Xn,In])).length,15,1),this.b=ee(Dr,$c,30,D(O(gc,1),Mu,64,0,[uu,jn,Dn,Xn,In]).length,15,1),this.a=ee(Dr,$c,30,D(O(gc,1),Mu,64,0,[uu,jn,Dn,Xn,In]).length,15,1),XW(this.c,Ri),XW(this.b,Tr),XW(this.a,Tr)}function rPn(e,n,t,i){var r,c,o,l,a;for(a=n.i,l=t[a.g][e.d[a.g]],r=!1,o=new $(n.d);o.a=r&&(e.c=!1,e.a=!1),e.b[i++]=r,e.b[i]=c,e.c||p2(e)}}function cPn(e,n,t){var i,r,c,o,l,a,d;for(d=n.d,e.a=new eo(d.c.length),e.c=new Wn,l=new $(d);l.a=0?e.Ih(d,!1,!0):qb(e,t,!1),61));e:for(c=w.Jc();c.Ob();){for(r=u(c.Pb(),57),b=0;be.d[o.p]&&(t+=$ee(e.b,c),t1(e.a,le(c)));for(;!U4(e.a);)ane(e.b,u(Ym(e.a),15).a)}return t}function tXe(e,n,t){var i,r,c,o;for(c=(!n.a&&(n.a=new oe(Et,n,10,11)),n.a).i,r=new Jn((!n.a&&(n.a=new oe(Et,n,10,11)),n.a));r.e!=r.i.gc();)i=u(zn(r),26),(!i.a&&(i.a=new oe(Et,i,10,11)),i.a).i==0||(c+=tXe(e,i,!1));if(t)for(o=Ii(n);o;)c+=(!o.a&&(o.a=new oe(Et,o,10,11)),o.a).i,o=Ii(o);return c}function Sw(e,n){var t,i,r,c;return e.Nj()?(i=null,r=e.Oj(),e.Rj()&&(i=e.Tj(e.Yi(n),null)),t=e.Gj(4,c=yv(e,n),null,n,r),e.Kj()&&c!=null&&(i=e.Mj(c,i)),i?(i.lj(t),i.mj()):e.Hj(t),c):(c=yv(e,n),e.Kj()&&c!=null&&(i=e.Mj(c,null),i&&i.mj()),c)}function hPn(e){var n,t,i,r,c,o,l,a,d,b;for(d=e.a,n=new tr,a=0,i=new $(e.d);i.al.d&&(b=l.d+l.a+d));t.c.d=b,n.a.yc(t,n),a=m.Math.max(a,t.c.d+t.c.a)}return a}function dPn(e,n,t){var i,r,c,o,l,a;for(o=u(M(e,(se(),aq)),16).Jc();o.Ob();){switch(c=u(o.Pb(),9),u(M(c,(ye(),cu)),165).g){case 2:Er(c,n);break;case 4:Er(c,t)}for(r=new Sn($n(Ca(c).a.Jc(),new V));Un(r);)i=u(Fn(r),17),!(i.c&&i.d)&&(l=!i.d,a=u(M(i,Rhe),12),l?Fr(i,a):tc(i,a))}}function kc(){kc=q,CN=new Bg("COMMENTS",0),al=new Bg("EXTERNAL_PORTS",1),I8=new Bg("HYPEREDGES",2),AN=new Bg("HYPERNODES",3),e4=new Bg("NON_FREE_PORTS",4),J2=new Bg("NORTH_SOUTH_PORTS",5),$8=new Bg(CQe,6),Qy=new Bg("CENTER_LABELS",7),Zy=new Bg("END_LABELS",8),TN=new Bg("PARTITIONS",9)}function bPn(e,n,t,i,r){return i<0?(i=w2(e,r,D(O($e,1),be,2,6,[dJ,bJ,gJ,wJ,$v,pJ,mJ,vJ,yJ,kJ,EJ,CJ]),n),i<0&&(i=w2(e,r,D(O($e,1),be,2,6,["Jan","Feb","Mar","Apr",$v,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function gPn(e,n,t,i,r){return i<0?(i=w2(e,r,D(O($e,1),be,2,6,[dJ,bJ,gJ,wJ,$v,pJ,mJ,vJ,yJ,kJ,EJ,CJ]),n),i<0&&(i=w2(e,r,D(O($e,1),be,2,6,["Jan","Feb","Mar","Apr",$v,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function wPn(e,n,t,i,r,c){var o,l,a,d;if(l=32,i<0){if(n[0]>=e.length||(l=Wr(e,n[0]),l!=43&&l!=45)||(++n[0],i=Qj(e,n),i<0))return!1;l==45&&(i=-i)}return l==32&&n[0]-t==2&&r.b==2&&(a=new _M,d=a.q.getFullYear()-k1+k1-80,o=d%100,c.a=i==o,i+=(d/100|0)*100+(i=0?h1(e):x6(h1(ad(e)))),y8[n]=nS(qa(e,n),0)?h1(qa(e,n)):x6(h1(ad(qa(e,n)))),e=rc(e,5);for(;n=d&&(a=i);a&&(b=m.Math.max(b,a.a.o.a)),b>y&&(w=d,y=b)}return w}function kPn(e){var n,t,i,r,c,o,l;for(c=new td(u(at(new tme),51)),l=Tr,t=new $(e.d);t.aZQe?kr(a,e.b):i<=ZQe&&i>eZe?kr(a,e.d):i<=eZe&&i>nZe?kr(a,e.c):i<=nZe&&kr(a,e.a),c=uXe(e,a,c);return r}function oXe(e,n,t,i){var r,c,o,l,a,d;for(r=(i.c+i.a)/2,ys(n.j),jt(n.j,r),ys(t.e),jt(t.e,r),d=new lSe,l=new $(e.f);l.a1,l&&(i=new he(r,t.b),jt(n.a,i)),K6(n.a,D(O(_r,1),be,8,0,[y,w]))}function kce(e,n,t){var i,r;for(n=48;t--)Lk[t]=t-48<<24>>24;for(i=70;i>=65;i--)Lk[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)Lk[r]=r-97+10<<24>>24;for(c=0;c<10;c++)eP[c]=48+c&hr;for(e=10;e<=15;e++)eP[e]=65+e-10&hr}function aXe(e,n){n.Tg("Process graph bounds",1),ie(e,(gi(),aU),T7(FF(tw(new Ze(null,new nn(e.b,16)),new C4e)))),ie(e,hU,T7(FF(tw(new Ze(null,new nn(e.b,16)),new A4e)))),ie(e,u0e,T7(LF(tw(new Ze(null,new nn(e.b,16)),new T4e)))),ie(e,o0e,T7(LF(tw(new Ze(null,new nn(e.b,16)),new M4e)))),n.Ug()}function MPn(e){var n,t,i,r,c;r=u(M(e,(ye(),V0)),22),c=u(M(e,qN),22),t=new he(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),n=new oc(t),r.Gc((As(),wp))&&(i=u(M(e,i4),8),c.Gc((as(),k4))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),n.a=m.Math.max(t.a,i.a),n.b=m.Math.max(t.b,i.b)),Ie(je(M(e,xq)))||QDn(e,t,n)}function SPn(e){var n,t,i,r,c,o,l;for(n=!1,t=0,r=new $(e.d.b);r.a>19!=0)return"-"+hXe(I5(e));for(t=e,i="";!(t.l==0&&t.m==0&&t.h==0);){if(r=iF(_I),t=uue(t,r,!0),n=""+SSe(M1),!(t.l==0&&t.m==0&&t.h==0))for(c=9-n.length;c>0;c--)n="0"+n;i=n+i}return i}function _Pn(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e="__proto__",n=Object.create(null);if(n[e]!==void 0)return!1;var t=Object.getOwnPropertyNames(n);return!(t.length!=0||(n[e]=42,n[e]!==42)||Object.getOwnPropertyNames(n).length==0)}function jPn(e,n,t){var i,r,c,o,l,a,d,b,w;for(i=t.c,r=t.d,l=zf(n.c),a=zf(n.d),i==n.c?(l=oce(e,l,r),a=dqe(n.d)):(l=dqe(n.c),a=oce(e,a,r)),d=new pM(n.a),Fi(d,l,d.a,d.a.a),Fi(d,a,d.c.b,d.c),o=n.c==i,w=new nMe,c=0;c=e.a||!tre(n,t))return-1;if(uw(u(i.Kb(n),20)))return 1;for(r=0,o=u(i.Kb(n),20).Jc();o.Ob();)if(c=u(o.Pb(),17),a=c.c.i==n?c.d.i:c.c.i,l=Ace(e,a,t,i),l==-1||(r=m.Math.max(r,l),r>e.c-1))return-1;return r+1}function Qf(){Qf=q,mx=new Hr((St(),d4),1.3),Cfn=new Hr(ap,(pn(),!1)),lbe=new mb(15),fk=new Hr(sh,lbe),ak=new Hr(Nd,15),vfn=YA,Efn=Z0,Afn=um,Tfn=F1,kfn=cm,BU=nT,Mfn=hp,dbe=(Hce(),wfn),hbe=gfn,GU=mfn,bbe=pfn,sbe=hfn,JU=afn,obe=ffn,abe=bfn,cbe=eT,yfn=aV,qA=ofn,rbe=ufn,UA=sfn,fbe=dfn,ube=lfn}function dXe(e,n){var t,i,r,c,o,l;if(Z(n)===Z(e))return!0;if(!J(n,16)||(i=u(n,16),l=e.gc(),i.gc()!=l))return!1;if(o=i.Jc(),e.Wi()){for(t=0;t0){if(e.Zj(),n!=null){for(c=0;c>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw x(new pa("Invalid hexadecimal"))}}function gXe(e,n,t,i){var r,c,o,l,a,d;for(a=YR(e,t),d=YR(n,t),r=!1;a&&d&&(i||OMn(a,d,t));)o=YR(a,t),l=YR(d,t),CE(n),CE(e),c=a.c,YB(a,!1),YB(d,!1),t?(d1(n,d.p,c),n.p=d.p,d1(e,a.p+1,c),e.p=a.p):(d1(e,a.p,c),e.p=a.p,d1(n,d.p+1,c),n.p=d.p),Er(a,null),Er(d,null),a=o,d=l,r=!0;return r}function wXe(e){switch(e.g){case 0:return new w7e;case 1:return new v7e;case 3:return new T_e;case 4:return new hye;case 5:return new eNe;case 6:return new k7e;case 2:return new y7e;case 7:return new f7e;case 8:return new s7e;default:throw x(new Mn("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function xPn(e,n,t,i){var r,c,o,l,a;for(r=!1,c=!1,l=new $(i.j);l.a=n.length)throw x(new Yu("Greedy SwitchDecider: Free layer not in graph."));this.c=n[e],this.e=new K7(i),NF(this.e,this.c,(ke(),In)),this.i=new K7(i),NF(this.i,this.c,Dn),this.f=new Txe(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(En(),sr),this.a&&nIn(this,e,n.length)}function mXe(e,n){var t,i,r,c,o,l;c=!e.B.Gc((as(),hT)),o=e.B.Gc(AV),e.a=new nHe(o,c,e.c),e.n&&WZ(e.a.n,e.n),yO(e.g,(Cf(),uo),e.a),n||(i=new d9(1,c,e.c),i.n.a=e.k,Qm(e.p,(ke(),jn),i),r=new d9(1,c,e.c),r.n.d=e.k,Qm(e.p,Xn,r),l=new d9(0,c,e.c),l.n.c=e.k,Qm(e.p,In,l),t=new d9(0,c,e.c),t.n.b=e.k,Qm(e.p,Dn,t))}function OPn(e){var n,t,i;switch(n=u(M(e.d,(ye(),zh)),222),n.g){case 2:t=CBn(e);break;case 3:t=(i=new me,Ui(qt(Zu(Uc(Uc(new Ze(null,new nn(e.d.b,16)),new y5e),new k5e),new E5e),new c5e),new RCe(i)),i);break;default:throw x(new Nc("Compaction not supported for "+n+" edges."))}VLn(e,t),Yr(new wh(e.g),new OCe(e))}function DPn(e,n){var t,i,r,c,o,l,a;if(n.Tg("Process directions",1),t=u(M(e,(au(),vg)),86),t!=(ar(),la))for(r=ct(e.b,0);r.b!=r.d.c;){switch(i=u(it(r),40),l=u(M(i,(gi(),GA)),15).a,a=u(M(i,HA),15).a,t.g){case 4:a*=-1;break;case 1:c=l,l=a,a=c;break;case 2:o=l,l=-a,a=o}ie(i,GA,le(l)),ie(i,HA,le(a))}n.Ug()}function LPn(e){var n,t,i,r,c,o,l,a;for(a=new OLe,l=new $(e.a);l.a0&&n=0)return!1;if(n.p=t.b,pe(t.e,n),r==(En(),rr)||r==Xu){for(o=new $(n.j);o.ae.d[l.p]&&(t+=$ee(e.b,c),t1(e.a,le(c)))):++o;for(t+=e.b.d*o;!U4(e.a);)ane(e.b,u(Ym(e.a),15).a)}return t}function jXe(e){var n,t,i,r,c,o;return c=0,n=Al(e),n.ik()&&(c|=4),(e.Bb&Go)!=0&&(c|=2),J(e,103)?(t=u(e,19),r=mc(t),(t.Bb&Eu)!=0&&(c|=32),r&&(Vn(rw(r)),c|=8,o=r.t,(o>1||o==-1)&&(c|=16),(r.Bb&Eu)!=0&&(c|=64)),(t.Bb&dc)!=0&&(c|=v1),c|=Zl):J(n,459)?c|=512:(i=n.ik(),i&&(i.i&1)!=0&&(c|=256)),(e.Bb&512)!=0&&(c|=128),c}function KPn(e,n){var t;return e.f==FV?(t=Mb(Oc((Bo(),Xr),n)),e.e?t==4&&n!=(Tv(),v3)&&n!=(Tv(),m3)&&n!=(Tv(),RV)&&n!=(Tv(),BV):t==2):e.d&&(e.d.Gc(n)||e.d.Gc(iv(Oc((Bo(),Xr),n)))||e.d.Gc(k2((Bo(),Xr),e.b,n)))?!0:e.f&&fce((Bo(),e.f),cE(Oc(Xr,n)))?(t=Mb(Oc(Xr,n)),e.e?t==4:t==2):!1}function WPn(e,n){var t,i,r,c,o,l,a,d;for(c=new me,n.b.c.length=0,t=u(Vo(aee(new Ze(null,new nn(new wh(e.a.b),1))),cs(new Ee,new Kn,new Yt,D(O(Mo,1),ae,130,0,[(il(),To)]))),16),r=t.Jc();r.Ob();)if(i=u(r.Pb(),15),o=Aee(e.a,i),o.b!=0)for(l=new ju(n),Tn(c.c,l),l.p=i.a,d=ct(o,0);d.b!=d.d.c;)a=u(it(d),9),Er(a,l);wr(n.b,c)}function jB(e){var n,t,i,r,c,o,l;for(l=new Wn,i=new $(e.a.b);i.aD0&&(r-=D0),l=u(fe(i,h3),8),d=l.a,w=l.b+e,c=m.Math.atan2(w,d),c<0&&(c+=D0),c+=n,c>D0&&(c-=D0),Bf(),Vl(1e-10),m.Math.abs(r-c)<=1e-10||r==c||isNaN(r)&&isNaN(c)?0:rc?1:u0(isNaN(r),isNaN(c))}function jce(e,n,t,i){var r,c,o;n&&(c=X(Y(M(n,(gi(),Id))))+i,o=t+X(Y(M(n,sx)))/2,ie(n,GA,le(vt(vu(m.Math.round(c))))),ie(n,HA,le(vt(vu(m.Math.round(o))))),n.d.b==0||jce(e,u(sS((r=ct(new mh(n).a.d,0),new xp(r))),40),t+X(Y(M(n,sx)))+e.b,i+X(Y(M(n,a4)))),M(n,bU)!=null&&jce(e,u(M(n,bU),40),t,i))}function eOn(e,n){var t,i,r,c;if(c=u(fe(e,(St(),om)),64).g-u(fe(n,om),64).g,c!=0)return c;if(t=u(fe(e,wV),15),i=u(fe(n,wV),15),t&&i&&(r=t.a-i.a,r!=0))return r;switch(u(fe(e,om),64).g){case 1:return oi(e.i,n.i);case 2:return oi(e.j,n.j);case 3:return oi(n.i,e.i);case 4:return oi(n.j,e.j);default:throw x(new Nc(noe))}}function Ice(e){var n,t,i;return(e.Db&64)!=0?lB(e):(n=new _s(Mle),t=e.k,t?_t(_t((n.a+=' "',n),t),'"'):(!e.n&&(e.n=new oe(ou,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new oe(ou,e,1,7)),u(G(e.n,0),157)).a,!i||_t(_t((n.a+=' "',n),i),'"'))),_t(bb(_t(bb(_t(bb(_t(bb((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}function IXe(e){var n,t,i;return(e.Db&64)!=0?lB(e):(n=new _s(Sle),t=e.k,t?_t(_t((n.a+=' "',n),t),'"'):(!e.n&&(e.n=new oe(ou,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new oe(ou,e,1,7)),u(G(e.n,0),157)).a,!i||_t(_t((n.a+=' "',n),i),'"'))),_t(bb(_t(bb(_t(bb(_t(bb((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}function nOn(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T;for(C=-1,T=0,b=n,w=0,y=b.length;w0&&++T;++C}return T}function tOn(e,n){var t,i,r,c,o;for(n==(i9(),eU)&&lC(u(ri(e.a,(kw(),vA)),16)),r=u(ri(e.a,(kw(),vA)),16).Jc();r.Ob();)switch(i=u(r.Pb(),107),t=u(Te(i.j,0),113).d.j,c=new Uo(i.j),kr(c,new I5e),n.g){case 2:tB(e,c,t,(Ob(),I1),1);break;case 1:case 0:o=UNn(c),tB(e,new n1(c,0,o),t,(Ob(),I1),0),tB(e,new n1(c,o,c.c.length),t,I1,1)}}function iOn(e){var n,t,i,r,c,o,l;for(r=u(M(e,(se(),hg)),9),i=e.j,t=(tn(0,i.c.length),u(i.c[0],12)),o=new $(r.j);o.ar.p?(mr(c,Xn),c.d&&(l=c.o.b,n=c.a.b,c.a.b=l-n)):c.j==Xn&&r.p>e.p&&(mr(c,jn),c.d&&(l=c.o.b,n=c.a.b,c.a.b=-(l-n)));break}return r}function $ce(e,n){var t,i,r,c,o,l,a;if(n==null||n.length==0)return null;if(r=u(Gu(e.a,n),144),!r){for(i=(l=new ph(e.b).a.vc().Jc(),new $g(l));i.a.Ob();)if(t=(c=u(i.a.Pb(),45),u(c.kd(),144)),o=t.c,a=n.length,Ye(o.substr(o.length-a,a),n)&&(n.length==o.length||Wr(o,o.length-n.length-1)==46)){if(r)return null;r=t}r&&Pc(e.a,n,r)}return r}function iy(e,n,t){var i,r,c,o,l,a,d,b,w,y;for(c=new he(n,t),b=new $(e.a);b.a1,l&&(i=new he(r,t.b),jt(n.a,i)),K6(n.a,D(O(_r,1),be,8,0,[y,w]))}function p1(){p1=q,QN=new Jg(Mf,0),OA=new Jg("NIKOLOV",1),DA=new Jg("NIKOLOV_PIXEL",2),A1e=new Jg("NIKOLOV_IMPROVED",3),T1e=new Jg("NIKOLOV_IMPROVED_PIXEL",4),C1e=new Jg("DUMMYNODE_PERCENTAGE",5),M1e=new Jg("NODECOUNT_PERCENTAGE",6),ZN=new Jg("NO_BOUNDARY",7),s4=new Jg("MODEL_ORDER_LEFT_TO_RIGHT",8),K8=new Jg("MODEL_ORDER_RIGHT_TO_LEFT",9)}function $B(e,n){var t,i,r,c,o,l,a,d,b,w,y,C;return b=null,y=ece(e,n),i=null,l=u(fe(n,(St(),Aan)),300),l?i=l:i=(V6(),lT),C=i,C==(V6(),lT)&&(r=null,d=u(kn(e.r,y),300),d?r=d:r=CV,C=r),Pt(e.r,n,C),c=null,a=u(fe(n,Can),278),a?c=a:c=(D5(),iT),w=c,w==(D5(),iT)&&(o=null,t=u(kn(e.b,y),278),t?o=t:o=Nx,w=o),b=u(Pt(e.b,n,w),278),b}function bOn(e){var n,t,i,r,c;for(i=e.length,n=new V4,c=0;c=40,o&&dDn(e),TLn(e),Uxn(e),t=xGe(e),i=0;t&&i0&&jt(e.g,c)):(e.d[o]-=d+1,e.d[o]<=0&&e.a[o]>0&&jt(e.f,c))))}function HXe(e,n,t,i){var r,c,o,l,a,d,b;for(a=new he(t,i),Ar(a,u(M(n,(gi(),f4)),8)),b=ct(n.b,0);b.b!=b.d.c;)d=u(it(b),40),ei(d.e,a),jt(e.b,d);for(l=u(Vo(see(new Ze(null,new nn(n.a,16))),cs(new Ee,new Kn,new Yt,D(O(Mo,1),ae,130,0,[(il(),To)]))),16).Jc();l.Ob();){for(o=u(l.Pb(),65),c=ct(o.a,0);c.b!=c.d.c;)r=u(it(c),8),r.a+=a.a,r.b+=a.b;jt(e.a,o)}}function Rce(e,n){var t,i,r,c;if(0<(J(e,18)?u(e,18).gc():vf(e.Jc()))){if(r=n,1=0&&a1)&&n==1&&u(e.a[e.b],9).k==(En(),Su)?_v(u(e.a[e.b],9),(Ds(),lh)):i&&(!t||(e.c-e.b&e.a.length-1)>1)&&n==1&&u(e.a[e.c-1&e.a.length-1],9).k==(En(),Su)?_v(u(e.a[e.c-1&e.a.length-1],9),(Ds(),R1)):(e.c-e.b&e.a.length-1)==2?(_v(u(e9(e),9),(Ds(),lh)),_v(u(e9(e),9),R1)):aNn(e,r),_ee(e)}function $On(e){var n,t,i,r,c,o,l,a;for(a=new Wn,n=new fO,o=e.Jc();o.Ob();)r=u(o.Pb(),9),l=vb(k7(new t0,r),n),Co(a.f,r,l);for(c=e.Jc();c.Ob();)for(r=u(c.Pb(),9),i=new Sn($n(yi(r).a.Jc(),new V));Un(i);)t=u(Fn(i),17),!Qr(t)&&Yl(Rl(Fl(Ll(Bl(new pl,m.Math.max(1,u(M(t,(ye(),i1e)),15).a)),1),u(kn(a,t.c.i),124)),u(kn(a,t.d.i),124)));return n}function UXe(e,n,t,i){var r,c,o,l,a,d,b,w,y,C;if(s7n(e,n,t),c=n[t],C=i?(ke(),In):(ke(),Dn),N2n(n.length,t,i)){for(r=n[i?t-1:t+1],Uee(e,r,i?(yc(),oo):(yc(),Qo)),a=c,b=0,y=a.length;bc*2?(b=new R_(w),d=Lo(o)/vs(o),a=nJ(b,n,new Sm,t,i,r,d),ei(pf(b.e),a),w.c.length=0,c=0,Tn(w.c,b),Tn(w.c,o),c=Lo(b)*vs(b)+Lo(o)*vs(o)):(Tn(w.c,o),c+=Lo(o)*vs(o));return w}function xOn(e,n){var t,i,r,c,o,l,a;for(n.Tg("Port order processing",1),a=u(M(e,(ye(),t1e)),421),i=new $(e.b);i.at?n:t;d<=w;++d)d==t?l=i++:(c=r[d],b=T.$l(c.Jk()),d==n&&(a=d==w&&!b?i-1:i),b&&++i);return y=u(l9(e,n,t),75),l!=a&&F3(e,new EE(e.e,7,o,le(l),C.kd(),a)),y}}else return u(pB(e,n,t),75);return u(l9(e,n,t),75)}function Bce(e,n){var t,i,r,c,o,l,a,d,b,w;for(w=0,c=new Up,t1(c,n);c.b!=c.c;)for(a=u(Ym(c),218),d=0,b=u(M(n.j,(ye(),oh)),269),u(M(n.j,R8),329),o=X(Y(M(n.j,jA))),l=X(Y(M(n.j,kq))),b!=(Oh(),P1)&&(d+=o*mNn(n.j,a.e,b),d+=l*nOn(n.j,a.e)),w+=gze(a.d,a.e)+d,r=new $(a.b);r.a=0&&(l=XMn(e,o),!(l&&(d<22?a.l|=1<>>1,o.m=b>>>1|(w&1)<<21,o.l=y>>>1|(b&1)<<21,--d;return t&&XF(a),c&&(i?(M1=I5(e),r&&(M1=kJe(M1,(y5(),afe)))):M1=so(e.l,e.m,e.h)),a}function DOn(e,n){var t,i,r,c,o,l,a,d,b,w;for(d=e.e[n.c.p][n.p]+1,a=n.c.a.c.length+1,l=new $(e.a);l.a0&&(Nn(0,e.length),e.charCodeAt(0)==45||(Nn(0,e.length),e.charCodeAt(0)==43))?1:0,i=o;it)throw x(new pa(Yb+e+'"'));return l}function LOn(e){var n,t,i,r,c,o,l;for(o=new fi,c=new $(e.a);c.a=e.length)return t.o=0,!0;switch(Wr(e,n[0])){case 43:r=1;break;case 45:r=-1;break;default:return t.o=0,!0}if(++n[0],c=n[0],o=Qj(e,n),o==0&&n[0]==c)return!1;if(n[0]l&&(l=r,b.c.length=0),r==l&&pe(b,new hc(t.c.i,t)));un(),kr(b,e.c),o0(e.b,a.p,b)}}function HOn(e,n){var t,i,r,c,o,l,a,d,b;for(o=new $(n.b);o.al&&(l=r,b.c.length=0),r==l&&pe(b,new hc(t.d.i,t)));un(),kr(b,e.c),o0(e.f,a.p,b)}}function zOn(e){var n,t,i,r,c,o,l;for(c=Hf(e),r=new Jn((!e.e&&(e.e=new dn(lr,e,7,4)),e.e));r.e!=r.i.gc();)if(i=u(zn(r),85),l=Hc(u(G((!i.c&&(i.c=new dn(et,i,5,8)),i.c),0),84)),!fw(l,c))return!0;for(t=new Jn((!e.d&&(e.d=new dn(lr,e,8,5)),e.d));t.e!=t.i.gc();)if(n=u(zn(t),85),o=Hc(u(G((!n.b&&(n.b=new dn(et,n,4,7)),n.b),0),84)),!fw(o,c))return!0;return!1}function qOn(e){var n,t,i,r,c;i=u(M(e,(se(),ti)),26),c=u(fe(i,(ye(),V0)),182).Gc((As(),nb)),e.e||(r=u(M(e,Ku),22),n=new he(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),r.Gc((kc(),al))?(si(i,qi,(xr(),Fu)),Xb(i,n.a,n.b,!1,!0)):Ie(je(fe(i,xq)))||Xb(i,n.a,n.b,!0,!0)),c?si(i,V0,ze(nb)):si(i,V0,(t=u(wf(Sk),10),new Ys(t,u(Gl(t,t.length),10),0)))}function UOn(e,n){var t,i,r,c,o,l,a,d;if(d=je(M(n,(au(),pln))),d==null||(gn(d),d)){for(k$n(e,n),r=new me,a=ct(n.b,0);a.b!=a.d.c;)o=u(it(a),40),t=Are(e,o,null),t&&(yu(t,n),Tn(r.c,t));if(e.a=null,e.b=null,r.c.length>1)for(i=new $(r);i.a=0&&l!=t&&(c=new Mr(e,1,l,o,null),i?i.lj(c):i=c),t>=0&&(c=new Mr(e,1,t,l==t?o:null,n),i?i.lj(c):i=c)),i}function XXe(e){var n,t,i;if(e.b==null){if(i=new ed,e.i!=null&&(_c(i,e.i),i.a+=":"),(e.f&256)!=0){for((e.f&256)!=0&&e.a!=null&&(c4n(e.i)||(i.a+="//"),_c(i,e.a)),e.d!=null&&(i.a+="/",_c(i,e.d)),(e.f&16)!=0&&(i.a+="/"),n=0,t=e.j.length;ny?!1:(w=(a=O9(i,y,!1),a.a),b+l+w<=n.b&&(yE(t,c-t.s),t.c=!0,yE(i,c-t.s),ZE(i,t.s,t.t+t.d+l),i.k=!0,qne(t.q,i),C=!0,r&&(q_(n,i),i.j=n,e.c.length>o&&(iC((tn(o,e.c.length),u(e.c[o],186)),i),(tn(o,e.c.length),u(e.c[o],186)).a.c.length==0&&ld(e,o)))),C)}function ZOn(e,n){var t,i,r,c,o,l;if(n.Tg("Partition midprocessing",1),r=new jb,Ui(qt(new Ze(null,new nn(e.a,16)),new r3e),new vCe(r)),r.d!=0){for(l=u(Vo(aee((c=r.i,new Ze(null,(c||(r.i=new Xp(r,r.c))).Lc()))),cs(new Ee,new Kn,new Yt,D(O(Mo,1),ae,130,0,[(il(),To)]))),16),i=l.Jc(),t=u(i.Pb(),15);i.Ob();)o=u(i.Pb(),15),qNn(u(ri(r,t),22),u(ri(r,o),22)),t=o;n.Ug()}}function $9(e,n){var t,i,r,c,o;if(e.Ab){if(e.Ab){if(o=e.Ab.i,o>0){if(r=u(e.Ab.g,1995),n==null){for(c=0;ct.s&&la+T&&(S=w.g+y.g,y.a=(y.g*y.a+w.g*w.a)/S,y.g=S,w.f=y,t=!0)),c=l,w=y;return t}function tDn(e,n,t){var i,r,c,o,l,a,d,b;for(t.Tg(GQe,1),Au(e.b),Au(e.a),l=null,c=ct(n.b,0);!l&&c.b!=c.d.c;)d=u(it(c),40),Ie(je(M(d,(gi(),L1))))&&(l=d);for(a=new fi,Fi(a,l,a.c.b,a.c),SWe(e,a),b=ct(n.b,0);b.b!=b.d.c;)d=u(it(b),40),o=wt(M(d,(gi(),rk))),r=Gu(e.b,o)!=null?u(Gu(e.b,o),15).a:0,ie(d,fU,le(r)),i=1+(Gu(e.a,o)!=null?u(Gu(e.a,o),15).a:0),ie(d,c0e,le(i));t.Ug()}function eKe(e){Rg(e,new Hb(Lg(Pg(Dg(Og(new ab,ig),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new d9e))),de(e,ig,Dw,ige),de(e,ig,Ow,15),de(e,ig,HC,le(0)),de(e,ig,ple,Ae(ege)),de(e,ig,M2,Ae(aan)),de(e,ig,Lv,Ae(han)),de(e,ig,yy,hZe),de(e,ig,V9,Ae(nge)),de(e,ig,Fv,Ae(tge)),de(e,ig,mle,Ae(rV)),de(e,ig,e$,Ae(fan))}function nKe(e,n){var t,i,r,c,o,l,a,d,b;if(r=e.i,o=r.o.a,c=r.o.b,o<=0&&c<=0)return ke(),uu;switch(d=e.n.a,b=e.n.b,l=e.o.a,t=e.o.b,n.g){case 2:case 1:if(d<0)return ke(),In;if(d+l>o)return ke(),Dn;break;case 4:case 3:if(b<0)return ke(),jn;if(b+t>c)return ke(),Xn}return a=(d+l/2)/o,i=(b+t/2)/c,a+i<=1&&a-i<=0?(ke(),In):a+i>=1&&a-i>=0?(ke(),Dn):i<.5?(ke(),jn):(ke(),Xn)}function tKe(e,n,t,i,r,c,o){var l,a,d,b,w,y;for(y=new Bm,d=n.Jc();d.Ob();)for(l=u(d.Pb(),837),w=new $(l.Pf());w.a0?l.a?(d=l.b.Kf().b,r>d&&(e.v||l.c.d.c.length==1?(o=(r-d)/2,l.d.d=o,l.d.a=o):(t=u(Te(l.c.d,0),187).Kf().b,i=(t-d)/2,l.d.d=m.Math.max(0,i),l.d.a=r-i-d))):l.d.a=e.t+r:I6(e.u)&&(c=ure(l.b),c.d<0&&(l.d.d=-c.d),c.d+c.a>l.b.Kf().b&&(l.d.a=c.d+c.a-l.b.Kf().b))}function Ql(){Ql=q,Uv=new Hr((St(),tT),le(1)),q$=new Hr(Nd,80),yin=new Hr(xge,5),fin=new Hr(d4,vy),min=new Hr(mV,le(1)),vin=new Hr(vV,(pn(),!0)),Vfe=new mb(50),win=new Hr(sh,Vfe),zfe=eT,Xfe=vk,ain=new Hr(sV,!1),Ufe=nT,bin=ap,gin=F1,din=Z0,hin=cm,pin=hp,qfe=(wre(),iin),wz=oin,z$=tin,gz=rin,Kfe=uin,Cin=w4,Ain=Ix,Ein=bp,kin=g4,Wfe=(gv(),pp),new Hr(b3,Wfe)}function cDn(e,n){var t;switch(jE(e)){case 6:return $r(n);case 7:return Hg(n);case 8:return Gg(n);case 3:return Array.isArray(n)&&(t=jE(n),!(t>=14&&t<=16));case 11:return n!=null&&typeof n===uJ;case 12:return n!=null&&(typeof n===_C||typeof n==uJ);case 0:return $R(n,e.__elementTypeId$);case 2:return hL(n)&&n.Rm!==Ne;case 1:return hL(n)&&n.Rm!==Ne||$R(n,e.__elementTypeId$);default:return!0}}function uDn(e){var n,t,i,r;i=e.o,Vg(),e.A.dc()||Qt(e.A,Rfe)?r=i.a:(e.D?r=m.Math.max(i.a,E9(e.f)):r=E9(e.f),e.A.Gc((As(),fT))&&!e.B.Gc((as(),_k))&&(r=m.Math.max(r,E9(u(jc(e.p,(ke(),jn)),253))),r=m.Math.max(r,E9(u(jc(e.p,Xn),253)))),n=YBe(e),n&&(r=m.Math.max(r,n.a))),Ie(je(e.e.Rf().mf((St(),ap))))?i.a=m.Math.max(i.a,r):i.a=r,t=e.f.i,t.c=0,t.b=r,FB(e.f)}function iKe(e,n){var t,i,r,c;return i=m.Math.min(m.Math.abs(e.c-(n.c+n.b)),m.Math.abs(e.c+e.b-n.c)),c=m.Math.min(m.Math.abs(e.d-(n.d+n.a)),m.Math.abs(e.d+e.a-n.d)),t=m.Math.abs(e.c+e.b/2-(n.c+n.b/2)),t>e.b/2+n.b/2||(r=m.Math.abs(e.d+e.a/2-(n.d+n.a/2)),r>e.a/2+n.a/2)?1:t==0&&r==0?0:t==0?c/r+1:r==0?i/t+1:m.Math.min(i/t,c/r)+1}function oDn(e,n){var t,i,r,c,o,l,a;for(c=0,l=0,a=0,r=new $(e.f.e);r.a0&&e.d!=(q6(),vz)&&(l+=o*(i.d.a+e.a[n.a][i.a]*(n.d.a-i.d.a)/t)),t>0&&e.d!=(q6(),pz)&&(a+=o*(i.d.b+e.a[n.a][i.a]*(n.d.b-i.d.b)/t)));switch(e.d.g){case 1:return new he(l/c,n.d.b);case 2:return new he(n.d.a,a/c);default:return new he(l/c,a/c)}}function rKe(e){var n,t,i,r,c,o;for(t=(!e.a&&(e.a=new fr(Us,e,5)),e.a).i+2,o=new eo(t),pe(o,new he(e.j,e.k)),Ui(new Ze(null,(!e.a&&(e.a=new fr(Us,e,5)),new nn(e.a,16))),new QAe(o)),pe(o,new he(e.b,e.c)),n=1;n0&&(JE(a,!1,(ar(),Rc)),JE(a,!0,zc)),no(n.g,new W_e(e,t)),Pt(e.g,n,t)}function Hce(){Hce=q,dfn=new Xe(Wse,(pn(),!1)),le(-1),ufn=new Xe(Yse,le(-1)),le(-1),ofn=new Xe(Qse,le(-1)),sfn=new Xe(Zse,!1),lfn=new Xe(ele,!1),ibe=(k_(),HU),pfn=new Xe(nle,ibe),mfn=new Xe(tle,-1),tbe=(vj(),RU),wfn=new Xe(ile,tbe),gfn=new Xe(rle,!0),ebe=(I_(),zU),hfn=new Xe(cle,ebe),afn=new Xe(ule,!1),le(1),ffn=new Xe(ole,le(1)),nbe=(bj(),qU),bfn=new Xe(sle,nbe)}function oKe(){oKe=q;var e;for(vfe=D(O(pt,1),Ot,30,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),ZH=ee(pt,Ot,30,37,15,1),Ynn=D(O(pt,1),Ot,30,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),yfe=ee(Ag,yYe,30,37,14,1),e=2;e<=36;e++)ZH[e]=nc(m.Math.pow(e,vfe[e])),yfe[e]=cC(NC,ZH[e])}function sDn(e){var n;if((!e.a&&(e.a=new oe(Mi,e,6,6)),e.a).i!=1)throw x(new Mn(DZe+(!e.a&&(e.a=new oe(Mi,e,6,6)),e.a).i));return n=new ts,HF(u(G((!e.b&&(e.b=new dn(et,e,4,7)),e.b),0),84))&&ic(n,qWe(e,HF(u(G((!e.b&&(e.b=new dn(et,e,4,7)),e.b),0),84)),!1)),HF(u(G((!e.c&&(e.c=new dn(et,e,5,8)),e.c),0),84))&&ic(n,qWe(e,HF(u(G((!e.c&&(e.c=new dn(et,e,5,8)),e.c),0),84)),!0)),n}function sKe(e,n){var t,i,r,c,o;for(n.d?r=e.a.c==(ya(),mg)?Yi(n.b):yi(n.b):r=e.a.c==(ya(),jd)?Yi(n.b):yi(n.b),c=!1,i=new Sn($n(r.a.Jc(),new V));Un(i);)if(t=u(Fn(i),17),o=Ie(e.a.f[e.a.g[n.b.p].p]),!(!o&&!Qr(t)&&t.c.i.c==t.d.i.c)&&!(Ie(e.a.n[e.a.g[n.b.p].p])||Ie(e.a.n[e.a.g[n.b.p].p]))&&(c=!0,ml(e.b,e.a.g[$Mn(t,n.b).p])))return n.c=!0,n.a=t,n;return n.c=c,n.a=null,n}function zce(e,n,t){var i,r,c,o,l,a,d;if(i=t.gc(),i==0)return!1;if(e.Nj())if(a=e.Oj(),Yte(e,n,t),o=i==1?e.Gj(3,null,t.Jc().Pb(),n,a):e.Gj(5,null,t,n,a),e.Kj()){for(l=i<100?null:new qd(i),c=n+i,r=n;r0){for(o=0;o>16==-15&&e.Cb.Vh()&&pF(new hF(e.Cb,9,13,t,e.c,md(us(u(e.Cb,62)),e))):J(e.Cb,88)&&e.Db>>16==-23&&e.Cb.Vh()&&(n=e.c,J(n,88)||(n=(rn(),Dl)),J(t,88)||(t=(rn(),Dl)),pF(new hF(e.Cb,9,10,t,n,md($u(u(e.Cb,29)),e)))))),e.c}function aKe(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T;if(n==t)return!0;if(n=Xre(e,n),t=Xre(e,t),i=FR(n),i){if(b=FR(t),b!=i)return b?(a=i.kk(),T=b.kk(),a==T&&a!=null):!1;if(o=(!n.d&&(n.d=new fr(Sc,n,1)),n.d),c=o.i,y=(!t.d&&(t.d=new fr(Sc,t,1)),t.d),c==y.i){for(d=0;d0,l=mj(n,c),QY(t?l.b:l.g,n),l2(l).c.length==1&&Fi(i,l,i.c.b,i.c),r=new hc(c,n),t1(e.o,r),yo(e.e.a,c))}function bKe(e,n){var t,i,r,c,o,l,a;return i=m.Math.abs(HS(e.b).a-HS(n.b).a),l=m.Math.abs(HS(e.b).b-HS(n.b).b),r=0,a=0,t=1,o=1,i>e.b.b/2+n.b.b/2&&(r=m.Math.min(m.Math.abs(e.b.c-(n.b.c+n.b.b)),m.Math.abs(e.b.c+e.b.b-n.b.c)),t=1-r/i),l>e.b.a/2+n.b.a/2&&(a=m.Math.min(m.Math.abs(e.b.d-(n.b.d+n.b.a)),m.Math.abs(e.b.d+e.b.a-n.b.d)),o=1-a/l),c=m.Math.min(t,o),(1-c)*m.Math.sqrt(i*i+l*l)}function bDn(e){var n,t,i,r;for(eJ(e,e.e,e.f,(Ib(),D1),!0,e.c,e.i),eJ(e,e.e,e.f,D1,!1,e.c,e.i),eJ(e,e.e,e.f,Q2,!0,e.c,e.i),eJ(e,e.e,e.f,Q2,!1,e.c,e.i),aDn(e,e.c,e.e,e.f,e.i),i=new Rr(e.i,0);i.b=65;t--)ba[t]=t-65<<24>>24;for(i=122;i>=97;i--)ba[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)ba[r]=r-48+52<<24>>24;for(ba[43]=62,ba[47]=63,c=0;c<=25;c++)Rd[c]=65+c&hr;for(o=26,a=0;o<=51;++o,a++)Rd[o]=97+a&hr;for(e=52,l=0;e<=61;++e,l++)Rd[e]=48+l&hr;Rd[62]=43,Rd[63]=47}function gKe(e,n){var t,i,r,c,o,l;return r=Bne(e),l=Bne(n),r==l?e.e==n.e&&e.a<54&&n.a<54?e.fn.f?1:0:(i=e.e-n.e,t=(e.d>0?e.d:m.Math.floor((e.a-1)*kYe)+1)-(n.d>0?n.d:m.Math.floor((n.a-1)*kYe)+1),t>i+1?r:t0&&(o=Zp(o,SKe(i))),wHe(c,o))):rd&&(y=0,C+=a+n,a=0),iy(o,y,C),t=m.Math.max(t,y+b.a),a=m.Math.max(a,b.b),y+=b.a+n;return new he(t+n,C+a+n)}function Xce(e,n){var t,i,r,c,o,l,a;if(!Hf(e))throw x(new Nc(OZe));if(i=Hf(e),c=i.g,r=i.f,c<=0&&r<=0)return ke(),uu;switch(l=e.i,a=e.j,n.g){case 2:case 1:if(l<0)return ke(),In;if(l+e.g>c)return ke(),Dn;break;case 4:case 3:if(a<0)return ke(),jn;if(a+e.f>r)return ke(),Xn}return o=(l+e.g/2)/c,t=(a+e.f/2)/r,o+t<=1&&o-t<=0?(ke(),In):o+t>=1&&o-t>=0?(ke(),Dn):t<.5?(ke(),jn):(ke(),Xn)}function pDn(e,n,t,i,r){var c,o;if(c=lc(Nr(n[0],Ec),Nr(i[0],Ec)),e[0]=vt(c),c=Eb(c,32),t>=r){for(o=1;o0&&(r.b[o++]=0,r.b[o++]=c.b[0]-1),n=1;n0&&(eO(a,a.d-r.d),r.c==(yf(),O1)&&agn(a,a.a-r.d),a.d<=0&&a.i>0&&Fi(n,a,n.c.b,n.c)));for(c=new $(e.f);c.a0&&(QT(l,l.i-r.d),r.c==(yf(),O1)&&hgn(l,l.b-r.d),l.i<=0&&l.d>0&&Fi(t,l,t.c.b,t.c)))}function yDn(e,n,t,i,r){var c,o,l,a,d,b,w,y,C;for(un(),kr(e,new p9e),o=Q7(e),C=new me,y=new me,l=null,a=0;o.b!=0;)c=u(o.b==0?null:(qn(o.b!=0),el(o,o.a.a)),167),!l||Lo(l)*vs(l)/21&&(a>Lo(l)*vs(l)/2||o.b==0)&&(w=new R_(y),b=Lo(l)/vs(l),d=nJ(w,n,new Sm,t,i,r,b),ei(pf(w.e),d),l=w,Tn(C.c,w),a=0,y.c.length=0));return wr(C,y),C}function Pu(e,n,t,i,r){id();var c,o,l,a,d,b,w;if(MZ(e,"src"),MZ(t,"dest"),w=ks(e),a=ks(t),QQ((w.i&4)!=0,"srcType is not an array"),QQ((a.i&4)!=0,"destType is not an array"),b=w.c,o=a.c,QQ((b.i&1)!=0?b==o:(o.i&1)==0,"Array types don't match"),qEn(e,n,t,i,r),(b.i&1)==0&&w!=a)if(d=fv(e),c=fv(t),Z(e)===Z(t)&&ni;)Ki(c,l,d[--n]);else for(l=i+r;i0),i.a.Xb(i.c=--i.b),w>y+a&&is(i);for(o=new $(C);o.a0),i.a.Xb(i.c=--i.b)}}function EDn(){Kt();var e,n,t,i,r,c;if(GV)return GV;for(e=new $s(4),Iw(e,m1(BH,!0)),F9(e,m1("M",!0)),F9(e,m1("C",!0)),c=new $s(4),i=0;i<11;i++)qu(c,i,i);return n=new $s(4),Iw(n,m1("M",!0)),qu(n,4448,4607),qu(n,65438,65439),r=new v6(2),$0(r,e),$0(r,Rk),t=new v6(2),t.Hm(LS(c,m1("L",!0))),t.Hm(n),t=new ow(3,t),t=new _Z(r,t),GV=t,GV}function jw(e,n){var t,i,r,c,o,l,a,d;for(t=new RegExp(n,"g"),a=ee($e,be,2,0,6,1),i=0,d=e,c=null;;)if(l=t.exec(d),l==null||d==""){a[i]=d;break}else o=l.index,a[i]=(zr(0,o,d.length),d.substr(0,o)),d=kl(d,o+l[0].length,d.length),t.lastIndex=0,c==d&&(a[i]=(zr(0,1,d.length),d.substr(0,1)),d=(Nn(1,d.length+1),d.substr(1))),c=d,++i;if(e.length>0){for(r=a.length;r>0&&a[r-1]=="";)--r;rb&&(b=a);for(d=m.Math.pow(4,n),b>d&&(d=b),y=(m.Math.log(d)-m.Math.log(1))/n,c=m.Math.exp(y),r=c,o=0;o0&&(w-=i[0]+e.c,i[0]+=e.c),i[2]>0&&(w-=i[2]+e.c),i[1]=m.Math.max(i[1],w),RS(e.a[1],t.c+n.b+i[0]-(i[1]-w)/2,i[1]);for(c=e.a,l=0,d=c.length;l0?(e.n.c.length-1)*e.i:0,i=new $(e.n);i.a1)for(i=ct(r,0);i.b!=i.d.c;)for(t=u(it(i),235),c=0,a=new $(t.e);a.a0&&(n[0]+=e.c,w-=n[0]),n[2]>0&&(w-=n[2]+e.c),n[1]=m.Math.max(n[1],w),BS(e.a[1],i.d+t.d+n[0]-(n[1]-w)/2,n[1]);else for(T=i.d+t.d,C=i.a-t.d-t.a,o=e.a,a=0,b=o.length;a=n.o&&t.f<=n.f||n.a*.5<=t.f&&n.a*1.5>=t.f){if(o=u(Te(n.n,n.n.c.length-1),208),o.e+o.d+t.g+r<=i&&(c=u(Te(n.n,n.n.c.length-1),208),c.f-e.f+t.f<=e.b||e.a.c.length==1))return Gte(n,t),!0;if(n.s+t.g<=i&&n.t+n.d+t.f+r<=e.f+e.b)return pe(n.b,t),l=u(Te(n.n,n.n.c.length-1),208),pe(n.n,new s_(n.s,l.f+l.a+n.i,n.i)),kie(u(Te(n.n,n.n.c.length-1),208),t),mKe(n,t),!0}return!1}function gI(e,n,t,i){var r,c,o,l,a;if(a=fo(e.e.Ah(),n),r=u(e.g,122),pc(),u(n,69).vk()){for(o=0;o0||Fb(r.b.d,e.b.d+e.b.a)==0&&i.b<0||Fb(r.b.d+r.b.a,e.b.d)==0&&i.b>0){l=0;break}}else l=m.Math.min(l,sUe(e,r,i));l=m.Math.min(l,yKe(e,c,l,i))}return l}function Wce(e,n){var t,i,r,c,o,l,a;if(e.b<2)throw x(new Mn("The vector chain must contain at least a source and a target point."));for(r=(qn(e.b!=0),u(e.a.a.c,8)),R7(n,r.a,r.b),a=new Gm((!n.a&&(n.a=new fr(Us,n,5)),n.a)),o=ct(e,1);o.a=0&&c!=t))throw x(new Mn(iA));for(r=0,a=0;aX(Jf(o.g,o.d[0]).a)?(qn(a.b>0),a.a.Xb(a.c=--a.b),Xg(a,o),r=!0):l.e&&l.e.gc()>0&&(c=(!l.e&&(l.e=new me),l.e).Kc(n),d=(!l.e&&(l.e=new me),l.e).Kc(t),(c||d)&&((!l.e&&(l.e=new me),l.e).Ec(o),++o.c));r||Tn(i.c,o)}function $Dn(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j,P;return w=e.a.i+e.a.g/2,y=e.a.i+e.a.g/2,T=n.i+n.g/2,j=n.j+n.f/2,l=new he(T,j),d=u(fe(n,(St(),h3)),8),d.a=d.a+w,d.b=d.b+y,c=(l.b-d.b)/(l.a-d.a),i=l.b-c*l.a,S=t.i+t.g/2,P=t.j+t.f/2,a=new he(S,P),b=u(fe(t,h3),8),b.a=b.a+w,b.b=b.b+y,o=(a.b-b.b)/(a.a-b.a),r=a.b-o*a.a,C=(i-r)/(o-c),d.a>>0,"0"+n.toString(16)),i="\\x"+kl(t,t.length-2,t.length)):e>=dc?(t=(n=e>>>0,"0"+n.toString(16)),i="\\v"+kl(t,t.length-6,t.length)):i=""+String.fromCharCode(e&hr)}return i}function TKe(e,n){var t,i,r,c,o,l,a,d,b;for(c=new $(e.b);c.at){n.Ug();return}switch(u(M(e,(ye(),Fq)),350).g){case 2:c=new uK;break;case 0:c=new iK;break;default:c=new oK}if(i=c.mg(e,r),!c.ng())switch(u(M(e,VN),351).g){case 2:i=lUe(r,i);break;case 1:i=Zze(r,i)}NLn(e,r,i),n.Ug()}function N9(e,n){var t,i,r,c,o,l,a,d;n%=24,e.q.getHours()!=n&&(i=new m.Date(e.q.getTime()),i.setDate(i.getDate()+1),l=e.q.getTimezoneOffset()-i.getTimezoneOffset(),l>0&&(a=l/60|0,d=l%60,r=e.q.getDate(),t=e.q.getHours(),t+a>=24&&++r,c=new m.Date(e.q.getFullYear(),e.q.getMonth(),r,n+a,e.q.getMinutes()+d,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(c.getTime()))),o=e.q.getTime(),e.q.setTime(o+36e5),e.q.getHours()!=n&&e.q.setTime(o)}function FDn(e,n){var t,i,r,c;if(m6n(e.d,e.e),e.c.a.$b(),X(Y(M(n.j,(ye(),jA))))!=0||X(Y(M(n.j,jA)))!=0)for(t=_2,Z(M(n.j,oh))!==Z((Oh(),P1))&&ie(n.j,(se(),$1),(pn(),!0)),c=u(M(n.j,U8),15).a,r=0;rr&&++d,pe(o,(tn(l+d,n.c.length),u(n.c[l+d],15))),a+=(tn(l+d,n.c.length),u(n.c[l+d],15)).a-i,++t;t=j&&e.e[a.p]>T*e.b||H>=t*j)&&(Tn(y.c,l),l=new me,ic(o,c),c.a.$b(),d-=b,C=m.Math.max(C,d*e.b+S),d+=H,B=H,H=0,b=0,S=0);return new hc(C,y)}function BB(e){var n,t,i,r,c,o,l;if(!e.d){if(l=new G9e,n=xk,c=n.a.yc(e,n),c==null){for(i=new Jn(Gc(e));i.e!=i.i.gc();)t=u(zn(i),29),Vi(l,BB(t));n.a.Ac(e)!=null,n.a.gc()==0}for(o=l.i,r=(!e.q&&(e.q=new oe(Pl,e,11,10)),new Jn(e.q));r.e!=r.i.gc();++o)u(zn(r),403);Vi(l,(!e.q&&(e.q=new oe(Pl,e,11,10)),e.q)),gw(l),e.d=new Jp((u(G(ue((Qd(),vn).o),9),19),l.i),l.g),e.e=u(l.g,678),e.e==null&&(e.e=Vhn),rs(e).b&=-17}return e.d}function cy(e,n,t,i){var r,c,o,l,a,d;if(d=fo(e.e.Ah(),n),a=0,r=u(e.g,122),pc(),u(n,69).vk()){for(o=0;o1||T==-1)if(w=u(S,72),y=u(b,72),w.dc())y.$b();else for(o=!!mc(n),c=0,l=e.a?w.Jc():w.Gi();l.Ob();)d=u(l.Pb(),57),r=u(Uf(e,d),57),r?(o?(a=y.bd(r),a==-1?y.Ei(c,r):c!=a&&y.Si(c,r)):y.Ei(c,r),++c):e.b&&!o&&(y.Ei(c,d),++c);else S==null?b.Wb(null):(r=Uf(e,S),r==null?e.b&&!mc(n)&&b.Wb(S):b.Wb(r))}function HDn(e,n){var t,i,r,c,o,l,a,d;for(t=new Eve,r=new Sn($n(Yi(n).a.Jc(),new V));Un(r);)if(i=u(Fn(r),17),!Qr(i)&&(l=i.c.i,tre(l,K$))){if(d=Ace(e,l,K$,X$),d==-1)continue;t.b=m.Math.max(t.b,d),!t.a&&(t.a=new me),pe(t.a,l)}for(o=new Sn($n(yi(n).a.Jc(),new V));Un(o);)if(c=u(Fn(o),17),!Qr(c)&&(a=c.d.i,tre(a,X$))){if(d=Ace(e,a,X$,K$),d==-1)continue;t.d=m.Math.max(t.d,d),!t.c&&(t.c=new me),pe(t.c,a)}return t}function zDn(e,n,t,i){var r,c,o,l,a,d,b;if(t.d.i!=n.i){for(r=new Kf(e),gh(r,(En(),rr)),ie(r,(se(),ti),t),ie(r,(ye(),qi),(xr(),Fu)),Tn(i.c,r),o=new xu,eu(o,r),mr(o,(ke(),In)),l=new xu,eu(l,r),mr(l,Dn),b=t.d,Fr(t,o),c=new _b,yu(c,t),ie(c,Fc,null),tc(c,l),Fr(c,b),d=new Rr(t.b,0);d.b1e6)throw x(new dM("power of ten too big"));if(e<=zt)return cv(dC(Hv[1],n),n);for(i=dC(Hv[1],zt),r=i,t=vu(e-zt),n=nc(e%zt);zu(t,zt)>0;)r=Zp(r,i),t=Cl(t,zt);for(r=Zp(r,dC(Hv[1],n)),r=cv(r,zt),t=vu(e-zt);zu(t,zt)>0;)r=cv(r,zt),t=Cl(t,zt);return r=cv(r,n),r}function _Ke(e){var n,t,i,r,c,o,l,a,d,b;for(a=new $(e.a);a.ad&&i>d)b=l,d=X(n.p[l.p])+X(n.d[l.p])+l.o.b+l.d.a;else{r=!1,t.$g()&&t.ah("bk node placement breaks on "+l+" which should have been after "+b);break}if(!r)break}return t.$g()&&t.ah(n+" is feasible: "+r),r}function Zce(e,n,t,i){var r,c,o,l,a,d,b,w,y;if(c=new Kf(e),gh(c,(En(),Xu)),ie(c,(ye(),qi),(xr(),Fu)),r=0,n){for(o=new xu,ie(o,(se(),ti),n),ie(c,ti,n.i),mr(o,(ke(),In)),eu(o,c),y=Ea(n.e),d=y,b=0,w=d.length;b0){if(r<0&&b.a&&(r=a,c=d[0],i=0),r>=0){if(l=b.b,a==r&&(l-=i++,l==0))return 0;if(!IWe(n,d,b,l,o)){a=r-1,d[0]=c;continue}}else if(r=-1,!IWe(n,d,b,0,o))return 0}else{if(r=-1,Wr(b.c,0)==32){if(w=d[0],ERe(n,d),d[0]>w)continue}else if(j4n(n,b.c,d[0])){d[0]+=b.c.length;continue}return 0}return LRn(o,t)?d[0]:0}function KDn(e,n,t){var i,r,c,o,l,a,d,b,w,y;for(b=new GS(new WEe(t)),l=ee($o,Tf,30,e.f.e.c.length,16,1),TZ(l,l.length),t[n.a]=0,d=new $(e.f.e);d.a=l.a?c.b>=l.b?(i.a=l.a+(c.a-l.a)/2+r,i.b=l.b+(c.b-l.b)/2-r-e.e.b):(i.a=l.a+(c.a-l.a)/2+r,i.b=c.b+(l.b-c.b)/2+r):c.b>=l.b?(i.a=c.a+(l.a-c.a)/2+r,i.b=l.b+(c.b-l.b)/2+r):(i.a=c.a+(l.a-c.a)/2+r,i.b=c.b+(l.b-c.b)/2-r-e.e.b))}function P9(e){var n,t,i,r,c,o,l,a;if(!e.f){if(a=new dK,l=new dK,n=xk,o=n.a.yc(e,n),o==null){for(c=new Jn(Gc(e));c.e!=c.i.gc();)r=u(zn(c),29),Vi(a,P9(r));n.a.Ac(e)!=null,n.a.gc()==0}for(i=(!e.s&&(e.s=new oe(Io,e,21,17)),new Jn(e.s));i.e!=i.i.gc();)t=u(zn(i),179),J(t,103)&&rt(l,u(t,19));gw(l),e.r=new txe(e,(u(G(ue((Qd(),vn).o),6),19),l.i),l.g),Vi(a,e.r),gw(a),e.f=new Jp((u(G(ue(vn.o),5),19),a.i),a.g),rs(e).b&=-3}return e.f}function wI(){wI=q,Mwe=D(O(gl,1),Ia,30,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),Chn=new RegExp(`[ -\r\f]+`);try{Ik=D(O(PJn,1),hn,2076,0,[new h7((TY(),Cj("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",V7((fM(),fM(),p8))))),new h7(Cj("yyyy-MM-dd'T'HH:mm:ss'.'SSS",V7(p8))),new h7(Cj("yyyy-MM-dd'T'HH:mm:ss",V7(p8))),new h7(Cj("yyyy-MM-dd'T'HH:mm",V7(p8))),new h7(Cj("yyyy-MM-dd",V7(p8)))])}catch(e){if(e=Zi(e),!J(e,80))throw x(e)}}function WDn(e){var n,t,i,r,c,o,l;for(t=null,l=null,i=u(M(e.b,(ye(),Sq)),348),i==(i9(),LA)&&(t=new me,l=new me),o=new $(e.d);o.at);return c}function IKe(e,n){var t,i,r,c;if(r=fs(e.d,1)!=0,i=Yj(e,n),i==0&&Ie(je(M(n.j,(se(),$1)))))return 0;!Ie(je(M(n.j,(se(),$1))))&&!Ie(je(M(n.j,z2)))||Z(M(n.j,(ye(),oh)))===Z((Oh(),P1))?n.c.kg(n.e,r):r=Ie(je(M(n.j,$1))),mC(e,n,r,!0),Ie(je(M(n.j,z2)))&&ie(n.j,z2,(pn(),!1)),Ie(je(M(n.j,$1)))&&(ie(n.j,$1,(pn(),!1)),ie(n.j,z2,!0)),t=Yj(e,n);do{if(Rne(e),t==0)return 0;r=!r,c=t,mC(e,n,r,!1),t=Yj(e,n)}while(c>t);return c}function QDn(e,n,t){var i,r,c,o,l;if(i=u(M(e,(ye(),Aq)),22),t.a>n.a&&(i.Gc((j0(),gk))?e.c.a+=(t.a-n.a)/2:i.Gc(wk)&&(e.c.a+=t.a-n.a)),t.b>n.b&&(i.Gc((j0(),mk))?e.c.b+=(t.b-n.b)/2:i.Gc(pk)&&(e.c.b+=t.b-n.b)),u(M(e,(se(),Ku)),22).Gc((kc(),al))&&(t.a>n.a||t.b>n.b))for(l=new $(e.a);l.an.a&&(i.Gc((j0(),gk))?e.c.a+=(t.a-n.a)/2:i.Gc(wk)&&(e.c.a+=t.a-n.a)),t.b>n.b&&(i.Gc((j0(),mk))?e.c.b+=(t.b-n.b)/2:i.Gc(pk)&&(e.c.b+=t.b-n.b)),u(M(e,(se(),Ku)),22).Gc((kc(),al))&&(t.a>n.a||t.b>n.b))for(o=new $(e.a);o.a=0&&w<=1&&y>=0&&y<=1?ei(new he(e.a,e.b),yh(new he(n.a,n.b),w)):null}function O9(e,n,t){var i,r,c,o,l,a,d,b,w,y;for(c=0,o=e.t,r=0,i=0,a=0,y=0,w=0,t&&(e.n.c.length=0,pe(e.n,new s_(e.s,e.t,e.i))),l=0,b=new $(e.b);b.a0?e.i:0)>n&&a>0&&(c=0,o+=a+e.i,r=m.Math.max(r,y),i+=a+e.i,a=0,y=0,t&&(++w,pe(e.n,new s_(e.s,o,e.i))),l=0),y+=d.g+(l>0?e.i:0),a=m.Math.max(a,d.f),t&&kie(u(Te(e.n,w),208),d),c+=d.g+(l>0?e.i:0),++l;return r=m.Math.max(r,y),i+=a,t&&(e.r=r,e.d=i,Aie(e.j)),new Hl(e.s,e.t,r,i)}function pI(e){var n,t,i;return t=Z(fe(e,(ye(),c3)))===Z((bC(),Kz))||Z(fe(e,c3))===Z(zz)||Z(fe(e,c3))===Z(qz)||Z(fe(e,c3))===Z(Vz)||Z(fe(e,c3))===Z(Wz)||Z(fe(e,c3))===Z(kA),i=Z(fe(e,BN))===Z((wC(),Bq))||Z(fe(e,BN))===Z(Gq)||Z(fe(e,$A))===Z((p1(),s4))||Z(fe(e,$A))===Z((p1(),K8)),n=Z(fe(e,oh))!==Z((Oh(),P1))||Ie(je(fe(e,t4)))||Z(fe(e,F8))!==Z((mv(),A8))||X(Y(fe(e,jA)))!=0||X(Y(fe(e,kq)))!=0,t||i||n}function y2(e){var n,t,i,r,c,o,l,a;if(!e.a){if(e.o=null,a=new PTe(e),n=new J9e,t=xk,l=t.a.yc(e,t),l==null){for(o=new Jn(Gc(e));o.e!=o.i.gc();)c=u(zn(o),29),Vi(a,y2(c));t.a.Ac(e)!=null,t.a.gc()==0}for(r=(!e.s&&(e.s=new oe(Io,e,21,17)),new Jn(e.s));r.e!=r.i.gc();)i=u(zn(r),179),J(i,335)&&rt(n,u(i,38));gw(n),e.k=new nxe(e,(u(G(ue((Qd(),vn).o),7),19),n.i),n.g),Vi(a,e.k),gw(a),e.a=new Jp((u(G(ue(vn.o),4),19),a.i),a.g),rs(e).b&=-2}return e.a}function nLn(e){var n,t,i,r,c,o,l,a,d,b,w,y;if(l=e.d,w=u(M(e,(se(),i3)),16),n=u(M(e,Wv),16),!(!w&&!n)){if(c=X(Y(mw(e,(ye(),Pq)))),o=X(Y(mw(e,r1e))),y=0,w){for(d=0,r=w.Jc();r.Ob();)i=u(r.Pb(),9),d=m.Math.max(d,i.o.b),y+=i.o.a;y+=c*(w.gc()-1),l.d+=d+o}if(t=0,n){for(d=0,r=n.Jc();r.Ob();)i=u(r.Pb(),9),d=m.Math.max(d,i.o.b),t+=i.o.a;t+=c*(n.gc()-1),l.a+=d+o}a=m.Math.max(y,t),a>e.o.a&&(b=(a-e.o.a)/2,l.b=m.Math.max(l.b,b),l.c=m.Math.max(l.c,b))}}function tue(e,n,t,i){var r,c,o,l,a,d,b;if(b=fo(e.e.Ah(),n),r=0,c=u(e.g,122),a=null,pc(),u(n,69).vk()){for(l=0;ll?1:-1:gte(e.a,n.a,c),r==-1)w=-a,b=o==a?uF(n.a,l,e.a,c):sF(n.a,l,e.a,c);else if(w=o,o==a){if(r==0)return Sa(),v8;b=uF(e.a,c,n.a,l)}else b=sF(e.a,c,n.a,l);return d=new a0(w,b.length,b),R6(d),d}function rLn(e,n){var t,i,r,c;if(c=wKe(n),!n.c&&(n.c=new oe(bs,n,9,9)),Ui(new Ze(null,(!n.c&&(n.c=new oe(bs,n,9,9)),new nn(n.c,16))),new eCe(c)),r=u(M(c,(se(),Ku)),22),eRn(n,r),r.Gc((kc(),al)))for(i=new Jn((!n.c&&(n.c=new oe(bs,n,9,9)),n.c));i.e!=i.i.gc();)t=u(zn(i),125),TRn(e,n,c,t);return u(fe(n,(ye(),V0)),182).gc()!=0&&iXe(n,c),Ie(je(M(c,Zde)))&&r.Ec(TN),Zt(c,NA)&&VMe(new zte(X(Y(M(c,NA)))),c),Z(fe(n,Yw))===Z((xh(),xd))?VBn(e,n,c):$Rn(e,n,c),c}function Uu(e,n){var t,i,r,c,o,l,a;if(e==null)return null;if(c=e.length,c==0)return"";for(a=ee(gl,Ia,30,c,15,1),zr(0,c,e.length),zr(0,c,a.length),ePe(e,0,c,a,0),t=null,l=n,r=0,o=0;r0?kl(t.a,0,c-1):""):(zr(0,c-1,e.length),e.substr(0,c-1)):t?t.a:e}function cLn(e,n,t){var i,r,c;if(Zt(n,(ye(),cu))&&(Z(M(n,cu))===Z((Es(),Hh))||Z(M(n,cu))===Z(q0))||Zt(t,cu)&&(Z(M(t,cu))===Z((Es(),Hh))||Z(M(t,cu))===Z(q0)))return 0;if(i=Sr(n),r=VPn(e,n,t),r!=0)return r;if(Zt(n,(se(),wi))&&Zt(t,wi)){if(c=Bu(Ub(n,t,i,u(M(i,N1),15).a),Ub(t,n,i,u(M(i,N1),15).a)),Z(M(i,R8))===Z((o1(),CA))&&Z(M(n,B8))!==Z(M(t,B8))&&(c=0),c<0)return vC(e,n,t),c;if(c>0)return vC(e,t,n),c}return y$n(e,n,t)}function $Ke(e,n){var t,i,r,c,o,l,a,d,b,w,y;for(i=new Sn($n(w1(n).a.Jc(),new V));Un(i);)t=u(Fn(i),85),J(G((!t.b&&(t.b=new dn(et,t,4,7)),t.b),0),193)||(a=Hc(u(G((!t.c&&(t.c=new dn(et,t,5,8)),t.c),0),84)),A9(t)||(o=n.i+n.g/2,l=n.j+n.f/2,b=a.i+a.g/2,w=a.j+a.f/2,y=new Gr,y.a=b-o,y.b=w-l,c=new he(y.a,y.b),V5(c,n.g,n.f),y.a-=c.a,y.b-=c.b,o=b-y.a,l=w-y.b,d=new he(y.a,y.b),V5(d,a.g,a.f),y.a-=d.a,y.b-=d.b,b=o+y.a,w=l+y.b,r=sI(t),c2(r,o),u2(r,l),i2(r,b),r2(r,w),$Ke(e,a)))}function Iw(e,n){var t,i,r,c,o;if(o=u(n,137),p2(e),p2(o),o.b!=null){if(e.c=!0,e.b==null){e.b=ee(pt,Ot,30,o.b.length,15,1),Pu(o.b,0,e.b,0,o.b.length);return}for(c=ee(pt,Ot,30,e.b.length+o.b.length,15,1),t=0,i=0,r=0;t=e.b.length?(c[r++]=o.b[i++],c[r++]=o.b[i++]):i>=o.b.length?(c[r++]=e.b[t++],c[r++]=e.b[t++]):o.b[i]0?e.i:0)),++n;for(Dte(e.n,a),e.d=t,e.r=i,e.g=0,e.f=0,e.e=0,e.o=Ri,e.p=Ri,c=new $(e.b);c.a0&&(r=(!e.n&&(e.n=new oe(ou,e,1,7)),u(G(e.n,0),157)).a,!r||_t(_t((n.a+=' "',n),r),'"'))),t=(!e.b&&(e.b=new dn(et,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new dn(et,e,5,8)),e.c.i<=1))),t?n.a+=" [":n.a+=" ",_t(n,HY(new MO,new Jn(e.b))),t&&(n.a+="]"),n.a+=KJ,t&&(n.a+="["),_t(n,HY(new MO,new Jn(e.c))),t&&(n.a+="]"),n.a)}function oLn(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne,Ce,Ue,qe,fn;for(re=e.c,ne=n.c,t=nu(re.a,e,0),i=nu(ne.a,n,0),H=u(Rb(e,(yc(),Qo)).Jc().Pb(),12),qe=u(Rb(e,oo).Jc().Pb(),12),K=u(Rb(n,Qo).Jc().Pb(),12),fn=u(Rb(n,oo).Jc().Pb(),12),P=Ea(H.e),Ce=Ea(qe.g),B=Ea(K.e),Ue=Ea(fn.g),d1(e,i,ne),o=B,b=0,T=o.length;b0&&a[i]&&(T=qp(e.b,a[i],r)),S=m.Math.max(S,r.c.c.b+T);for(c=new $(b.e);c.ab?new g0((yf(),op),t,n,d-b):d>0&&b>0&&(new g0((yf(),op),n,t,0),new g0(op,t,n,0))),o)}function aLn(e,n,t){var i,r,c;for(e.a=new me,c=ct(n.b,0);c.b!=c.d.c;){for(r=u(it(c),40);u(M(r,(au(),Ba)),15).a>e.a.c.length-1;)pe(e.a,new hc(_2,jse));i=u(M(r,Ba),15).a,t==(ar(),Rc)||t==zc?(r.e.aX(Y(u(Te(e.a,i),49).b))&&tO(u(Te(e.a,i),49),r.e.a+r.f.a)):(r.e.bX(Y(u(Te(e.a,i),49).b))&&tO(u(Te(e.a,i),49),r.e.b+r.f.b))}}function PKe(e,n,t,i){var r,c,o,l,a,d,b;if(c=wj(i),l=Ie(je(M(i,(ye(),Vde)))),(l||Ie(je(M(e,RN))))&&!Gp(u(M(e,qi),102)))r=wv(c),a=Gce(e,t,t==(yc(),oo)?r:KE(r));else switch(a=new xu,eu(a,e),n?(b=a.n,b.a=n.a-e.n.a,b.b=n.b-e.n.b,Oqe(b,0,0,e.o.a,e.o.b),mr(a,nKe(a,c))):(r=wv(c),mr(a,t==(yc(),oo)?r:KE(r))),o=u(M(i,(se(),Ku)),22),d=a.j,c.g){case 2:case 1:(d==(ke(),jn)||d==Xn)&&o.Ec((kc(),J2));break;case 4:case 3:(d==(ke(),Dn)||d==In)&&o.Ec((kc(),J2))}return a}function OKe(e,n){var t,i,r,c,o,l;for(o=new dw(new Ig(e.f.b).a);o.b;){if(c=o2(o),r=u(c.jd(),591),n==1){if(r.yf()!=(ar(),hl)&&r.yf()!=la)continue}else if(r.yf()!=(ar(),Rc)&&r.yf()!=zc)continue;switch(i=u(u(c.kd(),49).b,82),l=u(u(c.kd(),49).a,194),t=l.c,r.yf().g){case 2:i.g.c=e.e.a,i.g.b=m.Math.max(1,i.g.b+t);break;case 1:i.g.c=i.g.c+t,i.g.b=m.Math.max(1,i.g.b-t);break;case 4:i.g.d=e.e.b,i.g.a=m.Math.max(1,i.g.a+t);break;case 3:i.g.d=i.g.d+t,i.g.a=m.Math.max(1,i.g.a-t)}}}function hLn(e,n){var t,i,r,c,o,l,a,d,b,w;for(n.Tg("Simple node placement",1),w=u(M(e,(se(),q2)),316),l=0,c=new $(e.b);c.a1)throw x(new Mn(sA));a||(c=Xa(n,i.Jc().Pb()),o.Ec(c))}return ete(e,kre(e,n,t),o)}function vI(e,n,t){var i,r,c,o,l,a,d,b;if(Dh(e.e,n))a=(pc(),u(n,69).vk()?new IS(n,e):new L7(n,e)),Zj(a.c,a.b),y6(a,u(t,18));else{for(b=fo(e.e.Ah(),n),i=u(e.g,122),o=0;o"}a!=null&&(n.a+=""+a)}else e.e?(l=e.e.zb,l!=null&&(n.a+=""+l)):(n.a+="?",e.b?(n.a+=" super ",qB(e.b,n)):e.f&&(n.a+=" extends ",qB(e.f,n)))}function vLn(e){e.b=null,e.a=null,e.o=null,e.q=null,e.v=null,e.w=null,e.B=null,e.p=null,e.Q=null,e.R=null,e.S=null,e.T=null,e.U=null,e.V=null,e.W=null,e.bb=null,e.eb=null,e.ab=null,e.H=null,e.db=null,e.c=null,e.d=null,e.f=null,e.n=null,e.r=null,e.s=null,e.u=null,e.G=null,e.J=null,e.e=null,e.j=null,e.i=null,e.g=null,e.k=null,e.t=null,e.F=null,e.I=null,e.L=null,e.M=null,e.O=null,e.P=null,e.$=null,e.N=null,e.Z=null,e.cb=null,e.K=null,e.D=null,e.A=null,e.C=null,e._=null,e.fb=null,e.X=null,e.Y=null,e.gb=!1,e.hb=!1}function yLn(e){var n,t,i,r;if(i=rJ((!e.c&&(e.c=aE(vu(e.f))),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0)return i;if(n=Bne(e)<0?1:0,t=e.e,r=(i.length+1+m.Math.abs(nc(e.e)),new Nm),n==1&&(r.a+="-"),e.e>0)if(t-=i.length-n,t>=0){for(r.a+="0.";t>G0.length;t-=G0.length)Exe(r,G0);X$e(r,G0,nc(t)),_t(r,(Nn(n,i.length+1),i.substr(n)))}else t=n-t,_t(r,kl(i,n,nc(t))),r.a+=".",_t(r,xZ(i,nc(t)));else{for(_t(r,(Nn(n,i.length+1),i.substr(n)));t<-G0.length;t+=G0.length)Exe(r,G0);X$e(r,G0,nc(-t))}return r.a}function UB(e){var n,t,i,r,c,o,l,a,d;return!(e.k!=(En(),zi)||e.j.c.length<=1||(c=u(M(e,(ye(),qi)),102),c==(xr(),Fu))||(r=(yw(),(e.q?e.q:(un(),un(),rh))._b(wg)?i=u(M(e,wg),203):i=u(M(Sr(e),z8),203),i),r==YN)||!(r==Y2||r==W2)&&(o=X(Y(mw(e,q8))),n=u(M(e,PA),140),!n&&(n=new TQ(o,o,o,o)),d=iu(e,(ke(),In)),a=n.d+n.a+(d.gc()-1)*o,a>e.o.b||(t=iu(e,Dn),l=n.d+n.a+(t.gc()-1)*o,l>e.o.b)))}function kLn(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j;n.Tg("Orthogonal edge routing",1),d=X(Y(M(e,(ye(),cp)))),t=X(Y(M(e,ip))),i=X(Y(M(e,x1))),y=new pL(0,t),j=0,o=new Rr(e.b,0),l=null,b=null,a=null,w=null;do b=o.b0?(C=(T-1)*t,l&&(C+=i),b&&(C+=i),C0;for(l=u(M(e.c.i,Zw),15).a,c=u(Vo(qt(n.Mc(),new kCe(l)),cs(new Ee,new Kn,new Yt,D(O(Mo,1),ae,130,0,[(il(),To)]))),16),o=new fi,b=new tr,jt(o,e.c.i),ir(b,e.c.i);o.b!=0;){if(t=u(o.b==0?null:(qn(o.b!=0),el(o,o.a.a)),9),c.Gc(t))return!0;for(r=new Sn($n(yi(t).a.Jc(),new V));Un(r);)i=u(Fn(r),17),a=i.d.i,b.a._b(a)||(b.a.yc(a,b),Fi(o,a,o.c.b,o.c))}return!1}function BKe(e,n,t){var i,r,c,o,l,a,d,b,w;for(w=new me,b=new wee(0,t),c=0,q_(b,new YF(0,0,b,t)),r=0,d=new Jn(e);d.e!=d.i.gc();)a=u(zn(d),26),i=u(Te(b.a,b.a.c.length-1),173),l=r+a.g+(u(Te(b.a,0),173).b.c.length==0?0:t),(l>n||Ie(je(fe(a,(Qf(),UA)))))&&(r=0,c+=b.b+t,Tn(w.c,b),b=new wee(c,t),i=new YF(0,b.f,b,t),q_(b,i),r=0),i.b.c.length==0||!Ie(je(fe(Ii(a),(Qf(),JU))))&&(a.f>=i.o&&a.f<=i.f||i.a*.5<=a.f&&i.a*1.5>=a.f)?Gte(i,a):(o=new YF(i.s+i.r+t,b.f,b,t),q_(b,o),Gte(o,a)),r=a.i+a.g;return Tn(w.c,b),w}function D9(e){var n,t,i,r;if(!(e.b==null||e.b.length<=2)&&!e.a){for(n=0,r=0;r=e.b[r+1])r+=2;else if(t0)for(i=new Uo(u(ri(e.a,c),22)),un(),kr(i,new HK(n)),r=new Rr(c.b,0);r.b0&&i>=-6?i>=0?B7(c,t-nc(e.e),"."):(BF(c,n-1,n-1,"0."),B7(c,n+1,Aa(G0,0,-nc(i)-1))):(t-n>=1&&(B7(c,n,"."),++t),B7(c,t,"E"),i>0&&B7(c,++t,"+"),B7(c,++t,""+j6(vu(i)))),e.g=c.a,e.g))}function $Ln(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne,Ce;i=X(Y(M(n,(ye(),Wde)))),re=u(M(n,U8),15).a,y=4,r=3,ne=20/re,C=!1,a=0,o=zt;do{for(c=a!=1,w=a!=0,Ce=0,j=e.a,B=0,K=j.length;Bre)?(a=2,o=zt):a==0?(a=1,o=Ce):(a=0,o=Ce)):(C=Ce>=o||o-Ce=dc?_c(t,Lte(i)):s5(t,i&hr),o=new DL(10,null,0),hyn(e.a,o,l-1)):(t=(o.Km().length+c,new V4),_c(t,o.Km())),n.e==0?(i=n.Im(),i>=dc?_c(t,Lte(i)):s5(t,i&hr)):_c(t,n.Km()),u(o,517).b=t.a}}function NLn(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j;if(!t.dc()){for(l=0,y=0,i=t.Jc(),T=u(i.Pb(),15).a;l0?1:u0(isNaN(i),isNaN(0)))>=0^(Vl(Pa),(m.Math.abs(l)<=Pa||l==0||isNaN(l)&&isNaN(0)?0:l<0?-1:l>0?1:u0(isNaN(l),isNaN(0)))>=0)?m.Math.max(l,i):(Vl(Pa),(m.Math.abs(i)<=Pa||i==0||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:u0(isNaN(i),isNaN(0)))>0?m.Math.sqrt(l*l+i*i):-m.Math.sqrt(l*l+i*i))}function DLn(e){var n,t,i,r;r=e.o,Vg(),e.A.dc()||Qt(e.A,Rfe)?n=r.b:(e.D?n=m.Math.max(r.b,k9(e.f)):n=k9(e.f),e.A.Gc((As(),fT))&&!e.B.Gc((as(),_k))&&(n=m.Math.max(n,k9(u(jc(e.p,(ke(),Dn)),253))),n=m.Math.max(n,k9(u(jc(e.p,In),253)))),t=YBe(e),t&&(n=m.Math.max(n,t.b)),e.A.Gc(aT)&&(e.q==(xr(),ah)||e.q==Fu)&&(n=m.Math.max(n,_S(u(jc(e.b,(ke(),Dn)),127))),n=m.Math.max(n,_S(u(jc(e.b,In),127))))),Ie(je(e.e.Rf().mf((St(),ap))))?r.b=m.Math.max(r.b,n):r.b=n,i=e.f.i,i.d=0,i.a=n,RB(e.f)}function LLn(e,n,t,i,r,c,o,l){var a,d,b,w;switch(a=ql(D(O(_Jn,1),hn,238,0,[n,t,i,r])),w=null,e.b.g){case 1:w=ql(D(O(gbe,1),hn,523,0,[new GP,new BP,new JP]));break;case 0:w=ql(D(O(gbe,1),hn,523,0,[new JP,new BP,new GP]));break;case 2:w=ql(D(O(gbe,1),hn,523,0,[new BP,new GP,new JP]))}for(b=new $(w);b.a1&&(a=d.Gg(a,e.a,l));return a.c.length==1?u(Te(a,a.c.length-1),238):a.c.length==2?CLn((tn(0,a.c.length),u(a.c[0],238)),(tn(1,a.c.length),u(a.c[1],238)),o,c):null}function FLn(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T;r=new l7(e),c=new UUe,i=(gE(c.n),gE(c.p),Au(c.c),gE(c.f),gE(c.o),Au(c.q),Au(c.d),Au(c.g),Au(c.k),Au(c.e),Au(c.i),Au(c.j),Au(c.r),Au(c.b),y=wUe(c,r,null),pVe(c,r),y),n&&(a=new l7(n),o=tLn(a),gre(i,D(O(Xbe,1),hn,524,0,[o]))),w=!1,b=!1,t&&(a=new l7(t),w$ in a.a&&(w=Ah(a,w$).oe().a),oen in a.a&&(b=Ah(a,oen).oe().a)),d=hSe(oBe(new _m,w),b),qjn(new B6e,i,d),w$ in r.a&&Ul(r,w$,null),(w||b)&&(l=new jm,fKe(d,l,w,b),Ul(r,w$,l)),C=new wTe(c),DJe(new kD(i),C),T=new pTe(c),DJe(new kD(i),T)}function RLn(e,n,t){var i,r,c,o,l,a,d;for(t.Tg("Find roots",1),e.a.c.length=0,r=ct(n.b,0);r.b!=r.d.c;)i=u(it(r),40),i.b.b==0&&(ie(i,(gi(),L1),(pn(),!0)),pe(e.a,i));switch(e.a.c.length){case 0:c=new WF(0,n,"DUMMY_ROOT"),ie(c,(gi(),L1),(pn(),!0)),ie(c,lU,!0),jt(n.b,c);break;case 1:break;default:for(o=new WF(0,n,r$),a=new $(e.a);a.a=m.Math.abs(i.b)?(i.b=0,c.d+c.a>o.d&&c.do.c&&c.c0){if(n=new vY(e.i,e.g),t=e.i,c=t<100?null:new qd(t),e.Rj())for(i=0;i0){for(l=e.g,d=e.i,z6(e),c=d<100?null:new qd(d),i=0;i>13|(e.m&15)<<9,r=e.m>>4&8191,c=e.m>>17|(e.h&255)<<5,o=(e.h&1048320)>>8,l=n.l&8191,a=n.l>>13|(n.m&15)<<9,d=n.m>>4&8191,b=n.m>>17|(n.h&255)<<5,w=(n.h&1048320)>>8,Ue=t*l,qe=i*l,fn=r*l,bn=c*l,Gn=o*l,a!=0&&(qe+=t*a,fn+=i*a,bn+=r*a,Gn+=c*a),d!=0&&(fn+=t*d,bn+=i*d,Gn+=r*d),b!=0&&(bn+=t*b,Gn+=i*b),w!=0&&(Gn+=t*w),C=Ue&hs,T=(qe&511)<<13,y=C+T,j=Ue>>22,P=qe>>9,B=(fn&262143)<<4,H=(bn&31)<<17,S=j+P+B+H,re=fn>>18,ne=bn>>5,Ce=(Gn&4095)<<8,K=re+ne+Ce,S+=y>>22,y&=hs,K+=S>>22,S&=hs,K&=Fh,so(y,S,K)}function zKe(e){var n,t,i,r,c,o,l;if(l=u(Te(e.j,0),12),l.g.c.length!=0&&l.e.c.length!=0)throw x(new Nc("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(l.g.c.length!=0){for(c=Ri,t=new $(l.g);t.a0&&Gqe(e,l,w);for(r=new $(w);r.a4)if(e.dk(n)){if(e.$k()){if(r=u(n,52),i=r.Bh(),a=i==e.e&&(e.kl()?r.vh(r.Ch(),e.gl())==e.hl():-1-r.Ch()==e.Jj()),e.ll()&&!a&&!i&&r.Gh()){for(c=0;ce.d[o.p]&&(t+=$ee(e.b,c)*u(a.b,15).a,t1(e.a,le(c)));for(;!U4(e.a);)ane(e.b,u(Ym(e.a),15).a)}return t}function zLn(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j;for(n.Tg(LQe,1),C=new me,b=m.Math.max(e.a.c.length,u(M(e,(se(),N1)),15).a),t=b*u(M(e,TA),15).a,l=Z(M(e,(ye(),r3)))===Z((o1(),Xw)),S=new $(e.a);S.a0&&(d=e.n.a/c);break;case 2:case 4:r=e.i.o.b,r>0&&(d=e.n.b/r)}ie(e,(se(),dg),d)}if(a=e.o,o=e.a,i)o.a=i.a,o.b=i.b,e.d=!0;else if(n!=aa&&n!=J1&&l!=uu)switch(l.g){case 1:o.a=a.a/2;break;case 2:o.a=a.a,o.b=a.b/2;break;case 3:o.a=a.a/2,o.b=a.b;break;case 4:o.b=a.b/2}else o.a=a.a/2,o.b=a.b/2}function L9(e){var n,t,i,r,c,o,l,a,d,b;if(e.Nj())if(b=e.Cj(),a=e.Oj(),b>0)if(n=new zne(e.nj()),t=b,c=t<100?null:new qd(t),q7(e,t,n.g),r=t==1?e.Gj(4,G(n,0),null,0,a):e.Gj(6,n,null,-1,a),e.Kj()){for(i=new Jn(n);i.e!=i.i.gc();)c=e.Mj(zn(i),c);c?(c.lj(r),c.mj()):e.Hj(r)}else c?(c.lj(r),c.mj()):e.Hj(r);else q7(e,e.Cj(),e.Dj()),e.Hj(e.Gj(6,(un(),bc),null,-1,a));else if(e.Kj())if(b=e.Cj(),b>0){for(l=e.Dj(),d=b,q7(e,b,l),c=d<100?null:new qd(d),i=0;i1&&Lo(o)*vs(o)/2>l[0]){for(c=0;cl[c];)++c;T=new n1(S,0,c+1),w=new R_(T),b=Lo(o)/vs(o),a=nJ(w,n,new Sm,t,i,r,b),ei(pf(w.e),a),Xm(K5(y,w),gy),C=new n1(S,c+1,S.c.length),_ie(y,C),S.c.length=0,d=0,Mxe(l,l.length,0)}else j=y.b.c.length==0?null:Te(y.b,0),j!=null&&$F(y,0),d>0&&(l[d]=l[d-1]),l[d]+=Lo(o)*vs(o),++d,Tn(S.c,o);return S}function ZLn(e,n){var t,i,r,c;t=n.b,c=new Uo(t.j),r=0,i=t.j,i.c.length=0,Cb(u(k0(e.b,(ke(),jn),(Ob(),fg)),16),t),r=eC(c,r,new N5e,i),Cb(u(k0(e.b,jn,I1),16),t),r=eC(c,r,new x5e,i),Cb(u(k0(e.b,jn,lg),16),t),Cb(u(k0(e.b,Dn,fg),16),t),Cb(u(k0(e.b,Dn,I1),16),t),r=eC(c,r,new P5e,i),Cb(u(k0(e.b,Dn,lg),16),t),Cb(u(k0(e.b,Xn,fg),16),t),r=eC(c,r,new O5e,i),Cb(u(k0(e.b,Xn,I1),16),t),r=eC(c,r,new D5e,i),Cb(u(k0(e.b,Xn,lg),16),t),Cb(u(k0(e.b,In,fg),16),t),r=eC(c,r,new _5e,i),Cb(u(k0(e.b,In,I1),16),t),Cb(u(k0(e.b,In,lg),16),t)}function eFn(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S;for(n.Tg("Layer size calculation",1),b=Ri,d=Tr,r=!1,l=new $(e.b);l.a.5?P-=o*2*(T-.5):T<.5&&(P+=c*2*(.5-T)),r=l.d.b,Pj.a-S-b&&(P=j.a-S-b),l.n.a=n+P}}function tFn(e){var n,t,i,r,c;if(i=u(M(e,(ye(),cu)),165),i==(Es(),Hh)){for(t=new Sn($n(Yi(e).a.Jc(),new V));Un(t);)if(n=u(Fn(t),17),!JLe(n))throw x(new Zh(QJ+nC(e)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(i==q0){for(c=new Sn($n(yi(e).a.Jc(),new V));Un(c);)if(r=u(Fn(c),17),!JLe(r))throw x(new Zh(QJ+nC(e)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function AC(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T;if(e.e&&e.c.c>19!=0&&(n=I5(n),a=!a),o=JNn(n),c=!1,r=!1,i=!1,e.h==OC&&e.m==0&&e.l==0)if(r=!0,c=!0,o==-1)e=aIe((y5(),ffe)),i=!0,a=!a;else return l=Yre(e,o),a&&XF(l),t&&(M1=so(0,0,0)),l;else e.h>>19!=0&&(c=!0,e=I5(e),i=!0,a=!a);return o!=-1?YEn(e,o,a,c,t):Die(e,n)<0?(t&&(c?M1=I5(e):M1=so(e.l,e.m,e.h)),so(0,0,0)):OOn(i?e:so(e.l,e.m,e.h),n,a,c,r,t)}function WB(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T;if(o=e.e,a=n.e,o==0)return n;if(a==0)return e;if(c=e.d,l=n.d,c+l==2)return t=Nr(e.a[0],Ec),i=Nr(n.a[0],Ec),o==a?(b=lc(t,i),T=vt(b),C=vt(f0(b,32)),C==0?new Mh(o,T):new a0(o,2,D(O(pt,1),Ot,30,15,[T,C]))):(Sa(),nS(o<0?Cl(i,t):Cl(t,i),0)?h1(o<0?Cl(i,t):Cl(t,i)):x6(h1(ad(o<0?Cl(i,t):Cl(t,i)))));if(o==a)y=o,w=c>=l?sF(e.a,c,n.a,l):sF(n.a,l,e.a,c);else{if(r=c!=l?c>l?1:-1:gte(e.a,n.a,c),r==0)return Sa(),v8;r==1?(y=o,w=uF(e.a,c,n.a,l)):(y=a,w=uF(n.a,l,e.a,c))}return d=new a0(y,w.length,w),R6(d),d}function rFn(e,n){var t,i,r,c,o,l,a;if(!(e.g>n.f||n.g>e.f)){for(t=0,i=0,o=e.w.a.ec().Jc();o.Ob();)r=u(o.Pb(),12),sR(tu(D(O(_r,1),be,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++t;for(l=e.r.a.ec().Jc();l.Ob();)r=u(l.Pb(),12),sR(tu(D(O(_r,1),be,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--t;for(a=n.w.a.ec().Jc();a.Ob();)r=u(a.Pb(),12),sR(tu(D(O(_r,1),be,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&++i;for(c=n.r.a.ec().Jc();c.Ob();)r=u(c.Pb(),12),sR(tu(D(O(_r,1),be,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&--i;t=0)return t;switch(Mb(Oc(e,t))){case 2:{if(Ye("",gd(e,t.ok()).ve())){if(a=cE(Oc(e,t)),l=a5(Oc(e,t)),b=ice(e,n,a,l),b)return b;for(r=xce(e,n),o=0,w=r.gc();o1)throw x(new Mn(sA));for(b=fo(e.e.Ah(),n),i=u(e.g,122),o=0;o1,d=new qf(y.b);Zc(d.a)||Zc(d.b);)a=u(Zc(d.a)?I(d.a):I(d.b),17),w=a.c==y?a.d:a.c,m.Math.abs(tu(D(O(_r,1),be,8,0,[w.i.n,w.n,w.a])).b-o.b)>1&&Hxn(e,a,o,c,y)}}function lFn(e){var n,t,i,r,c,o;if(r=new Rr(e.e,0),i=new Rr(e.a,0),e.d)for(t=0;tGG;){for(c=n,o=0;m.Math.abs(n-c)0),r.a.Xb(r.c=--r.b),kDn(e,e.b-o,c,i,r),qn(r.b0),i.a.Xb(i.c=--i.b)}if(!e.d)for(t=0;t0?(e.f[b.p]=C/(b.e.c.length+b.g.c.length),e.c=m.Math.min(e.c,e.f[b.p]),e.b=m.Math.max(e.b,e.f[b.p])):l&&(e.f[b.p]=C)}}function aFn(e){e.b=null,e.bb=null,e.fb=null,e.qb=null,e.a=null,e.c=null,e.d=null,e.e=null,e.f=null,e.n=null,e.M=null,e.L=null,e.Q=null,e.R=null,e.K=null,e.db=null,e.eb=null,e.g=null,e.i=null,e.j=null,e.k=null,e.gb=null,e.o=null,e.p=null,e.q=null,e.r=null,e.$=null,e.ib=null,e.S=null,e.T=null,e.t=null,e.s=null,e.u=null,e.v=null,e.w=null,e.B=null,e.A=null,e.C=null,e.D=null,e.F=null,e.G=null,e.H=null,e.I=null,e.J=null,e.P=null,e.Z=null,e.U=null,e.V=null,e.W=null,e.X=null,e.Y=null,e._=null,e.ab=null,e.cb=null,e.hb=null,e.nb=null,e.lb=null,e.mb=null,e.ob=null,e.pb=null,e.jb=null,e.kb=null,e.N=!1,e.O=!1}function hFn(e,n,t){var i,r,c,o;for(t.Tg("Graph transformation ("+e.a+")",1),o=w0(n.a),c=new $(n.b);c.a=l.b.c)&&(l.b=n),(!l.c||n.c<=l.c.c)&&(l.d=l.c,l.c=n),(!l.e||n.d>=l.e.d)&&(l.e=n),(!l.f||n.d<=l.f.d)&&(l.f=n);return i=new $j((j5(),sg)),dE(e,Xin,new su(D(O(gA,1),hn,377,0,[i]))),o=new $j(Hw),dE(e,Vin,new su(D(O(gA,1),hn,377,0,[o]))),r=new $j(Gw),dE(e,Uin,new su(D(O(gA,1),hn,377,0,[r]))),c=new $j(O2),dE(e,qin,new su(D(O(gA,1),hn,377,0,[c]))),EB(i.c,sg),EB(r.c,Gw),EB(c.c,O2),EB(o.c,Hw),l.a.c.length=0,wr(l.a,i.c),wr(l.a,Cs(r.c)),wr(l.a,c.c),wr(l.a,Cs(o.c)),l}function gFn(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T;for(n.Tg(cZe,1),C=X(Y(fe(e,(Ya(),sp)))),o=X(Y(fe(e,(Qf(),ak)))),l=u(fe(e,fk),104),Fne((!e.a&&(e.a=new oe(Et,e,10,11)),e.a)),b=BKe((!e.a&&(e.a=new oe(Et,e,10,11)),e.a),C,o),!e.a&&(e.a=new oe(Et,e,10,11)),d=new $(b);d.a0&&(e.a=a+(C-1)*c,n.c.b+=e.a,n.f.b+=e.a)),T.a.gc()!=0&&(y=new pL(1,c),C=fue(y,n,T,S,n.f.b+a-n.c.b),C>0&&(n.f.b+=a+(C-1)*c))}function VKe(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K;for(b=X(Y(M(e,(ye(),K0)))),i=X(Y(M(e,u1e))),y=new HP,ie(y,K0,b+i),d=n,P=d.d,S=d.c.i,B=d.d.i,j=_Y(S.c),H=_Y(B.c),r=new me,w=j;w<=H;w++)l=new Kf(e),gh(l,(En(),rr)),ie(l,(se(),ti),d),ie(l,qi,(xr(),Fu)),ie(l,UN,y),C=u(Te(e.b,w),25),w==j?d1(l,C.a.c.length-t,C):Er(l,C),K=X(Y(M(d,Sd))),K<0&&(K=0,ie(d,Sd,K)),l.o.b=K,T=m.Math.floor(K/2),o=new xu,mr(o,(ke(),In)),eu(o,l),o.n.b=T,a=new xu,mr(a,Dn),eu(a,l),a.n.b=T,Fr(d,o),c=new _b,yu(c,d),ie(c,Fc,null),tc(c,a),Fr(c,P),CSn(l,d,c),Tn(r.c,c),d=c;return r}function pFn(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H;if(S=n.b.c.length,!(S<3)){for(C=ee(pt,Ot,30,S,15,1),w=0,b=new $(n.b);b.ao)&&ir(e.b,u(j.b,17));++l}c=o}}}function YB(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H;for(a=u(vd(e,(ke(),In)).Jc().Pb(),12).e,C=u(vd(e,Dn).Jc().Pb(),12).g,l=a.c.length,H=zf(u(Te(e.j,0),12));l-- >0;){for(S=(tn(0,a.c.length),u(a.c[0],17)),r=(tn(0,C.c.length),u(C.c[0],17)),B=r.d.e,c=nu(B,r,0),_9n(S,r.d,c),tc(r,null),Fr(r,null),T=S.a,n&&jt(T,new oc(H)),i=ct(r.a,0);i.b!=i.d.c;)t=u(it(i),8),jt(T,new oc(t));for(P=S.b,y=new $(r.b);y.a-2;default:return!1}switch(n=e.Pj(),e.p){case 0:return n!=null&&Ie(je(n))!=g6(e.k,0);case 1:return n!=null&&u(n,221).a!=vt(e.k)<<24>>24;case 2:return n!=null&&u(n,180).a!=(vt(e.k)&hr);case 6:return n!=null&&g6(u(n,190).a,e.k);case 5:return n!=null&&u(n,15).a!=vt(e.k);case 7:return n!=null&&u(n,191).a!=vt(e.k)<<16>>16;case 3:return n!=null&&X(Y(n))!=e.j;case 4:return n!=null&&u(n,164).a!=e.j;default:return n==null?e.n!=null:!Qt(n,e.n)}}function TC(e,n,t){var i,r,c,o;return e.ml()&&e.ll()&&(o=fL(e,u(t,57)),Z(o)!==Z(t))?(e.vj(n),e.Bj(n,OFe(e,n,o)),e.$k()&&(c=(r=u(t,52),e.kl()?e.il()?r.Qh(e.b,mc(u(on(vo(e.b),e.Jj()),19)).n,u(on(vo(e.b),e.Jj()).Fk(),29).ik(),null):r.Qh(e.b,$i(r.Ah(),mc(u(on(vo(e.b),e.Jj()),19))),null,null):r.Qh(e.b,-1-e.Jj(),null,null)),!u(o,52).Mh()&&(c=(i=u(o,52),e.kl()?e.il()?i.Oh(e.b,mc(u(on(vo(e.b),e.Jj()),19)).n,u(on(vo(e.b),e.Jj()).Fk(),29).ik(),c):i.Oh(e.b,$i(i.Ah(),mc(u(on(vo(e.b),e.Jj()),19))),null,c):i.Oh(e.b,-1-e.Jj(),null,c))),c&&c.mj()),ws(e.b)&&e.Hj(e.Gj(9,t,o,n,!1)),o):t}function XKe(e){var n,t,i,r,c,o,l,a,d,b;for(i=new me,o=new $(e.e.a);o.a0&&(o=m.Math.max(o,JBe(e.C.b+i.d.b,r))),b=i,w=r,y=c;e.C&&e.C.c>0&&(C=y+e.C.c,d&&(C+=b.d.c),o=m.Math.max(o,(Bf(),Vl(ea),m.Math.abs(w-1)<=ea||w==1||isNaN(w)&&isNaN(1)?0:C/(1-w)))),t.n.b=0,t.a.a=o}function WKe(e,n){var t,i,r,c,o,l,a,d,b,w,y,C;if(t=u(jc(e.b,n),127),a=u(u(ri(e.r,n),22),83),a.dc()){t.n.d=0,t.n.a=0;return}for(d=e.u.Gc((Ko(),Vh)),o=0,e.A.Gc((As(),nb))&&MXe(e,n),l=a.Jc(),b=null,y=0,w=0;l.Ob();)i=u(l.Pb(),115),c=X(Y(i.b.mf((dS(),G$)))),r=i.b.Kf().b,b?(C=w+b.d.a+e.w+i.d.d,o=m.Math.max(o,(Bf(),Vl(ea),m.Math.abs(y-c)<=ea||y==c||isNaN(y)&&isNaN(c)?0:C/(c-y)))):e.C&&e.C.d>0&&(o=m.Math.max(o,JBe(e.C.d+i.d.d,c))),b=i,y=c,w=r;e.C&&e.C.a>0&&(C=w+e.C.a,d&&(C+=b.d.a),o=m.Math.max(o,(Bf(),Vl(ea),m.Math.abs(y-1)<=ea||y==1||isNaN(y)&&isNaN(1)?0:C/(1-y)))),t.n.d=0,t.a.b=o}function YKe(e,n,t){var i,r,c,o,l,a;for(this.g=e,l=n.d.length,a=t.d.length,this.d=ee(uh,Ed,9,l+a,0,1),o=0;o0?TF(this,this.f/this.a):Jf(n.g,n.d[0]).a!=null&&Jf(t.g,t.d[0]).a!=null?TF(this,(X(Jf(n.g,n.d[0]).a)+X(Jf(t.g,t.d[0]).a))/2):Jf(n.g,n.d[0]).a!=null?TF(this,Jf(n.g,n.d[0]).a):Jf(t.g,t.d[0]).a!=null&&TF(this,Jf(t.g,t.d[0]).a)}function vFn(e,n,t,i,r,c,o,l){var a,d,b,w,y,C,T,S,j,P;if(T=!1,d=ace(t.q,n.f+n.b-t.q.f),C=i.f>n.b&&l,P=r-(t.q.e+d-o),w=(a=O9(i,P,!1),a.a),C&&w>i.f)return!1;if(C){for(y=0,j=new $(n.d);j.a=(tn(c,e.c.length),u(e.c[c],186)).e,!C&&w>n.b&&!b)?!1:((b||C||w<=n.b)&&(b&&w>n.b?(t.d=w,yE(t,Nqe(t,w))):(Vze(t.q,d),t.c=!0),yE(i,r-(t.s+t.r)),ZE(i,t.q.e+t.q.d,n.f),q_(n,i),e.c.length>c&&(iC((tn(c,e.c.length),u(e.c[c],186)),i),(tn(c,e.c.length),u(e.c[c],186)).a.c.length==0&&ld(e,c)),T=!0),T)}function yFn(e,n){var t,i,r,c,o,l,a,d,b,w;for(e.a=new gPe(UEn(yk)),i=new $(n.a);i.a0&&(Nn(0,t.length),t.charCodeAt(0)!=47)))throw x(new Mn("invalid opaquePart: "+t));if(e&&!(n!=null&&K4(Xx,n.toLowerCase()))&&!(t==null||!wR(t,$k,Nk)))throw x(new Mn(Len+t));if(e&&n!=null&&K4(Xx,n.toLowerCase())&&!v_n(t))throw x(new Mn(Len+t));if(!TAn(i))throw x(new Mn("invalid device: "+i));if(!CCn(r))throw o=r==null?"invalid segments: null":"invalid segment: "+pCn(r),x(new Mn(o));if(!(c==null||ma(c,Eo(35))==-1))throw x(new Mn("invalid query: "+c))}function ZKe(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j,P;if(y=new oc(e.o),P=n.a/y.a,l=n.b/y.b,S=n.a-y.a,c=n.b-y.b,t)for(r=Z(M(e,(ye(),qi)))===Z((xr(),Fu)),T=new $(e.j);T.a=1&&(j-o>0&&w>=0?(a.n.a+=S,a.n.b+=c*o):j-o<0&&b>=0&&(a.n.a+=S*j,a.n.b+=c));e.o.a=n.a,e.o.b=n.b,ie(e,(ye(),V0),(As(),i=u(wf(Sk),10),new Ys(i,u(Gl(i,i.length),10),0)))}function AFn(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j,P;if(t.Tg("Network simplex layering",1),e.b=n,P=u(M(n,(ye(),U8)),15).a*4,j=e.b.a,j.c.length<1){t.Ug();return}for(c=pOn(e,j),S=null,r=ct(c,0);r.b!=r.d.c;){for(i=u(it(r),16),l=P*nc(m.Math.sqrt(i.gc())),o=$On(i),PB(EW($wn(CW(zD(o),l),S),!0),t.dh(1)),y=e.b.b,T=new $(o.a);T.a1)for(S=ee(pt,Ot,30,e.b.b.c.length,15,1),w=0,d=new $(e.b.b);d.a0){_j(e,t,0),t.a+=String.fromCharCode(i),r=lTn(n,c),_j(e,t,r),c+=r-1;continue}i==39?c+10&&T.a<=0){a.c.length=0,Tn(a.c,T);break}C=T.i-T.d,C>=l&&(C>l&&(a.c.length=0,l=C),Tn(a.c,T))}a.c.length!=0&&(o=u(Te(a,Pj(r,a.c.length)),116),H.a.Ac(o)!=null,o.g=b++,Kce(o,n,t,i),a.c.length=0)}for(j=e.c.length+1,y=new $(e);y.aTr||n.o==Y0&&b=l&&r<=a)l<=r&&c<=a?(t[b++]=r,t[b++]=c,i+=2):l<=r?(t[b++]=r,t[b++]=a,e.b[i]=a+1,o+=2):c<=a?(t[b++]=l,t[b++]=c,i+=2):(t[b++]=l,t[b++]=a,e.b[i]=a+1);else if(ay1)&&l<10);AW(e.c,new dme),eWe(e),vyn(e.c),dFn(e.f)}function DFn(e,n){var t,i,r,c,o,l,a,d,b,w,y;switch(e.k.g){case 1:if(i=u(M(e,(se(),ti)),17),t=u(M(i,Dhe),78),t?Ie(je(M(i,Md)))&&(t=lte(t)):t=new ts,d=u(M(e,If),12),d){if(b=tu(D(O(_r,1),be,8,0,[d.i.n,d.n,d.a])),n<=b.a)return b.b;Fi(t,b,t.a,t.a.a)}if(w=u(M(e,jl),12),w){if(y=tu(D(O(_r,1),be,8,0,[w.i.n,w.n,w.a])),y.a<=n)return y.b;Fi(t,y,t.c.b,t.c)}if(t.b>=2){for(a=ct(t,0),o=u(it(a),8),l=u(it(a),8);l.a0&&JE(d,!0,(ar(),zc)),l.k==(En(),sr)&&IPe(d),Pt(e.f,l,n)}}function tWe(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B;for(d=Ri,b=Ri,l=Tr,a=Tr,y=new $(n.i);y.a=e.j?(++e.j,pe(e.b,le(1)),pe(e.c,b)):(i=e.d[n.p][1],Ns(e.b,d,le(u(Te(e.b,d),15).a+1-i)),Ns(e.c,d,X(Y(Te(e.c,d)))+b-i*e.f)),(e.r==(p1(),OA)&&(u(Te(e.b,d),15).a>e.k||u(Te(e.b,d-1),15).a>e.k)||e.r==DA&&(X(Y(Te(e.c,d)))>e.n||X(Y(Te(e.c,d-1)))>e.n))&&(a=!1),o=new Sn($n(Yi(n).a.Jc(),new V));Un(o);)c=u(Fn(o),17),l=c.c.i,e.g[l.p]==d&&(w=iWe(e,l),r=r+u(w.a,15).a,a=a&&Ie(je(w.b)));return e.g[n.p]=d,r=r+e.d[n.p][0],new hc(le(r),(pn(),!!a))}function FFn(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne;return y=e.c[n],C=e.c[t],T=u(M(y,(se(),Zv)),16),!!T&&T.gc()!=0&&T.Gc(C)||(S=y.k!=(En(),rr)&&C.k!=rr,j=u(M(y,hg),9),P=u(M(C,hg),9),B=j!=P,H=!!j&&j!=y||!!P&&P!=C,K=BR(y,(ke(),jn)),re=BR(C,Xn),H=H|(BR(y,Xn)||BR(C,jn)),ne=H&&B||K||re,S&&ne)||y.k==(En(),Xu)&&C.k==zi||C.k==(En(),Xu)&&y.k==zi?!1:(b=e.c[n],c=e.c[t],r=Rze(e.e,b,c,(ke(),In)),a=Rze(e.i,b,c,Dn),axn(e.f,b,c),d=UJe(e.b,b,c)+u(r.a,15).a+u(a.a,15).a+e.f.d,l=UJe(e.b,c,b)+u(r.b,15).a+u(a.b,15).a+e.f.b,e.a&&(w=u(M(b,ti),12),o=u(M(c,ti),12),i=Cze(e.g,w,o),d+=u(i.a,15).a,l+=u(i.b,15).a),d>l)}function rWe(e,n){var t,i,r,c,o;t=X(Y(M(n,(ye(),rf)))),t<2&&ie(n,rf,2),i=u(M(n,Gs),86),i==(ar(),fa)&&ie(n,Gs,wj(n)),r=u(M(n,_on),15),r.a==0?ie(n,(se(),n3),new bR):ie(n,(se(),n3),new v_(r.a)),c=je(M(n,H8)),c==null&&ie(n,H8,(pn(),Z(M(n,zh))===Z((Ph(),v4)))),Ui(new Ze(null,new nn(n.a,16)),new JK(e)),Ui(Uc(new Ze(null,new nn(n.b,16)),new QX),new GK(e)),o=new QKe(n),ie(n,(se(),q2),o),rE(e.a),mf(e.a,(Pr(),tf),u(M(n,c3),188)),mf(e.a,ch,u(M(n,BN),188)),mf(e.a,Du,u(M(n,J8),188)),mf(e.a,Lu,u(M(n,zN),188)),mf(e.a,Tc,gEn(u(M(n,zh),222))),jY(e.a,xBn(n)),ie(n,gq,AC(e.a,n))}function fue(e,n,t,i,r){var c,o,l,a,d,b,w,y,C,T,S,j,P;for(w=new Wn,o=new me,Qqe(e,t,e.d.zg(),o,w),Qqe(e,i,e.d.Ag(),o,w),e.b=.2*(S=cVe(Uc(new Ze(null,new nn(o,16)),new t4e)),j=cVe(Uc(new Ze(null,new nn(o,16)),new i4e)),m.Math.min(S,j)),c=0,l=0;l=2&&(P=SVe(o,!0,y),!e.e&&(e.e=new CAe(e)),oTn(e.e,P,o,e.b)),rqe(o,y),zFn(o),C=-1,b=new $(o);b.a0&&(t+=a.n.a+a.o.a/2,++w),T=new $(a.j);T.a0&&(t/=w),P=ee(Dr,$c,30,i.a.c.length,15,1),l=0,d=new $(i.a);d.a-1){for(r=ct(l,0);r.b!=r.d.c;)i=u(it(r),132),i.v=o;for(;l.b!=0;)for(i=u(KR(l,0),132),t=new $(i.i);t.a-1){for(c=new $(l);c.a0)&&(SK(a,m.Math.min(a.o,r.o-1)),QT(a,a.i-1),a.i==0&&Tn(l.c,a))}}function oWe(e,n,t,i,r){var c,o,l,a;return a=Ri,o=!1,l=nue(e,Ar(new he(n.a,n.b),e),ei(new he(t.a,t.b),r),Ar(new he(i.a,i.b),t)),c=!!l&&!(m.Math.abs(l.a-e.a)<=tg&&m.Math.abs(l.b-e.b)<=tg||m.Math.abs(l.a-n.a)<=tg&&m.Math.abs(l.b-n.b)<=tg),l=nue(e,Ar(new he(n.a,n.b),e),t,r),l&&((m.Math.abs(l.a-e.a)<=tg&&m.Math.abs(l.b-e.b)<=tg)==(m.Math.abs(l.a-n.a)<=tg&&m.Math.abs(l.b-n.b)<=tg)||c?a=m.Math.min(a,O6(Ar(l,t))):o=!0),l=nue(e,Ar(new he(n.a,n.b),e),i,r),l&&(o||(m.Math.abs(l.a-e.a)<=tg&&m.Math.abs(l.b-e.b)<=tg)==(m.Math.abs(l.a-n.a)<=tg&&m.Math.abs(l.b-n.b)<=tg)||c)&&(a=m.Math.min(a,O6(Ar(l,i)))),a}function sWe(e){Rg(e,new Hb(wM(Lg(Pg(Dg(Og(new ab,E1),nQe),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new sme),ao))),de(e,E1,V9,Ae(nae)),de(e,E1,OI,(pn(),!0)),de(e,E1,M2,Ae($in)),de(e,E1,Fv,Ae(Nin)),de(e,E1,Lv,Ae(xin)),de(e,E1,Ey,Ae(Iin)),de(e,E1,X9,Ae(iae)),de(e,E1,Cy,Ae(Pin)),de(e,E1,Wue,Ae(eae)),de(e,E1,Que,Ae(Qfe)),de(e,E1,Zue,Ae(Zfe)),de(e,E1,eoe,Ae(tae)),de(e,E1,Yue,Ae(V$))}function qFn(e){var n,t,i,r,c,o,l,a;for(n=null,i=new $(e);i.a0&&t.c==0&&(!n&&(n=new me),Tn(n.c,t));if(n)for(;n.c.length!=0;){if(t=u(ld(n,0),239),t.b&&t.b.c.length>0){for(c=(!t.b&&(t.b=new me),new $(t.b));c.anu(e,t,0))return new hc(r,t)}else if(X(Jf(r.g,r.d[0]).a)>X(Jf(t.g,t.d[0]).a))return new hc(r,t)}for(l=(!t.e&&(t.e=new me),t.e).Jc();l.Ob();)o=u(l.Pb(),239),a=(!o.b&&(o.b=new me),o.b),cw(0,a.c.length),r6(a.c,0,t),o.c==a.c.length&&Tn(n.c,o)}return null}function F9(e,n){var t,i,r,c,o,l,a,d,b;if(n.e==5){nWe(e,n);return}if(d=n,!(d.b==null||e.b==null)){for(p2(e),D9(e),p2(d),D9(d),t=ee(pt,Ot,30,e.b.length+d.b.length,15,1),b=0,i=0,o=0;i=l&&r<=a)l<=r&&c<=a?i+=2:l<=r?(e.b[i]=a+1,o+=2):c<=a?(t[b++]=r,t[b++]=l-1,i+=2):(t[b++]=r,t[b++]=l-1,e.b[i]=a+1,o+=2);else if(a0),u(b.a.Xb(b.c=--b.b),17));c!=i&&b.b>0;)e.a[c.p]=!0,e.a[i.p]=!0,c=(qn(b.b>0),u(b.a.Xb(b.c=--b.b),17));b.b>0&&is(b)}}function lWe(e,n,t){var i,r,c,o,l,a,d,b,w,y;if(t)for(i=-1,b=new Rr(n,0);b.b0?r-=864e5:r+=864e5,a=new fQ(lc(vu(n.q.getTime()),r))),b=new Nm,d=e.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(o=c+1;o=d)throw x(new Mn("Missing trailing '"));o+1=14&&b<=16))?n.a._b(i)?(t.a?_t(t.a,t.b):t.a=new _s(t.d),p6(t.a,"[...]")):(l=fv(i),d=new Yg(n),Sh(t,aWe(l,d))):J(i,171)?Sh(t,RIn(u(i,171))):J(i,195)?Sh(t,S_n(u(i,195))):J(i,201)?Sh(t,xjn(u(i,201))):J(i,2073)?Sh(t,__n(u(i,2073))):J(i,54)?Sh(t,FIn(u(i,54))):J(i,584)?Sh(t,QIn(u(i,584))):J(i,830)?Sh(t,LIn(u(i,830))):J(i,108)&&Sh(t,DIn(u(i,108))):Sh(t,i==null?Ao:Vc(i));return t.a?t.e.length==0?t.a.a:t.a.a+(""+t.e):t.c}function oy(e,n){var t,i,r,c;c=e.F,n==null?(e.F=null,x5(e,null)):(e.F=(gn(n),n),i=ma(n,Eo(60)),i!=-1?(r=(zr(0,i,n.length),n.substr(0,i)),ma(n,Eo(46))==-1&&!Ye(r,jv)&&!Ye(r,l8)&&!Ye(r,v$)&&!Ye(r,f8)&&!Ye(r,a8)&&!Ye(r,h8)&&!Ye(r,d8)&&!Ye(r,b8)&&(r=Wen),t=fS(n,Eo(62)),t!=-1&&(r+=""+(Nn(t+1,n.length+1),n.substr(t+1))),x5(e,r)):(r=n,ma(n,Eo(46))==-1&&(i=ma(n,Eo(91)),i!=-1&&(r=(zr(0,i,n.length),n.substr(0,i))),!Ye(r,jv)&&!Ye(r,l8)&&!Ye(r,v$)&&!Ye(r,f8)&&!Ye(r,a8)&&!Ye(r,h8)&&!Ye(r,d8)&&!Ye(r,b8)?(r=Wen,i!=-1&&(r+=""+(Nn(i,n.length+1),n.substr(i)))):r=n),x5(e,r),r==n&&(e.F=e.D))),(e.Db&4)!=0&&(e.Db&1)==0&&Wt(e,new Mr(e,1,5,c,n))}function QFn(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T;if(e.c=e.e,T=je(M(n,(ye(),jon))),C=T==null||(gn(T),T),c=u(M(n,(se(),Ku)),22).Gc((kc(),al)),r=u(M(n,qi),102),t=!(r==(xr(),eb)||r==ah||r==Fu),C&&(t||!c)){for(w=new $(n.a);w.a=0)return r=kAn(e,(zr(1,o,n.length),n.substr(1,o-1))),b=(zr(o+1,a,n.length),n.substr(o+1,a-(o+1))),ABn(e,b,r)}else{if(t=-1,gfe==null&&(gfe=new RegExp("\\d")),gfe.test(String.fromCharCode(l))&&(t=$Q(n,Eo(46),a-1),t>=0)){i=u(cF(e,qRe(e,(zr(1,t,n.length),n.substr(1,t-1))),!1),61),d=0;try{d=Ls((Nn(t+1,n.length+1),n.substr(t+1)),Jr,zt)}catch(y){throw y=Zi(y),J(y,131)?(c=y,x(new N_(c))):x(y)}if(d>16==-10?t=u(e.Cb,293).Wk(n,t):e.Db>>16==-15&&(!n&&(n=(rn(),da)),!d&&(d=(rn(),da)),e.Cb.Vh()&&(a=new jh(e.Cb,1,13,d,n,md(us(u(e.Cb,62)),e),!1),t?t.lj(a):t=a));else if(J(e.Cb,88))e.Db>>16==-23&&(J(n,88)||(n=(rn(),Dl)),J(d,88)||(d=(rn(),Dl)),e.Cb.Vh()&&(a=new jh(e.Cb,1,10,d,n,md($u(u(e.Cb,29)),e),!1),t?t.lj(a):t=a));else if(J(e.Cb,446))for(l=u(e.Cb,834),o=(!l.b&&(l.b=new tM(new wO)),l.b),c=(i=new dw(new Ig(o.a).a),new iM(i));c.a.b;)r=u(o2(c.a).jd(),87),t=sy(r,tI(r,l),t)}return t}function eRn(e,n){var t,i,r,c,o,l,a,d,b,w,y;for(o=Ie(je(fe(e,(ye(),Qw)))),y=u(fe(e,np),22),a=!1,d=!1,w=new Jn((!e.c&&(e.c=new oe(bs,e,9,9)),e.c));w.e!=w.i.gc()&&(!a||!d);){for(c=u(zn(w),125),l=0,r=Ua(nl(D(O(fl,1),hn,20,0,[(!c.d&&(c.d=new dn(lr,c,8,5)),c.d),(!c.e&&(c.e=new dn(lr,c,7,4)),c.e)])));Un(r)&&(i=u(Fn(r),85),b=o&&zb(i)&&Ie(je(fe(i,U0))),t=qKe((!i.b&&(i.b=new dn(et,i,4,7)),i.b),c)?e==Ii(Hc(u(G((!i.c&&(i.c=new dn(et,i,5,8)),i.c),0),84))):e==Ii(Hc(u(G((!i.b&&(i.b=new dn(et,i,4,7)),i.b),0),84))),!((b||t)&&(++l,l>1))););(l>0||y.Gc((Ko(),Vh))&&(!c.n&&(c.n=new oe(ou,c,1,7)),c.n).i>0)&&(a=!0),l>1&&(d=!0)}a&&n.Ec((kc(),al)),d&&n.Ec((kc(),I8))}function dWe(e){var n,t,i,r,c,o,l,a,d,b,w,y;if(y=u(fe(e,(St(),Z0)),22),y.dc())return null;if(l=0,o=0,y.Gc((As(),aT))){for(b=u(fe(e,vk),102),i=2,t=2,r=2,c=2,n=Ii(e)?u(fe(Ii(e),Q0),86):u(fe(e,Q0),86),d=new Jn((!e.c&&(e.c=new oe(bs,e,9,9)),e.c));d.e!=d.i.gc();)if(a=u(zn(d),125),w=u(fe(a,om),64),w==(ke(),uu)&&(w=Xce(a,n),si(a,om,w)),b==(xr(),Fu))switch(w.g){case 1:i=m.Math.max(i,a.i+a.g);break;case 2:t=m.Math.max(t,a.j+a.f);break;case 3:r=m.Math.max(r,a.i+a.g);break;case 4:c=m.Math.max(c,a.j+a.f)}else switch(w.g){case 1:i+=a.g+2;break;case 2:t+=a.f+2;break;case 3:r+=a.g+2;break;case 4:c+=a.f+2}l=m.Math.max(i,r),o=m.Math.max(t,c)}return Xb(e,l,o,!0,!0)}function nRn(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S;for(r=null,i=new $(n.a);i.a1)for(r=e.e.b,jt(e.e,a),l=a.a.ec().Jc();l.Ob();)o=u(l.Pb(),9),Pt(e.c,o,le(r))}}function tRn(e,n,t,i){var r,c,o,l,a,d,b,w,y,C;for(c=new $Ue(n),w=jPn(e,n,c),C=m.Math.max(X(Y(M(n,(ye(),Sd)))),1),b=new $(w.a);b.a=0){for(a=null,l=new Rr(b.a,d+1);l.b0,d?d&&(y=P.p,o?++y:--y,w=u(Te(P.c.a,y),9),i=MJe(w),C=!(PVe(i,ne,t[0])||zxe(i,ne,t[0]))):C=!0),T=!1,re=n.D.i,re&&re.c&&l.e&&(b=o&&re.p>0||!o&&re.p=0&&So?1:u0(isNaN(0),isNaN(o)))<0&&(Vl(Pa),(m.Math.abs(o-1)<=Pa||o==1||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:u0(isNaN(o),isNaN(1)))<0)&&(Vl(Pa),(m.Math.abs(0-l)<=Pa||l==0||isNaN(0)&&isNaN(l)?0:0l?1:u0(isNaN(0),isNaN(l)))<0)&&(Vl(Pa),(m.Math.abs(l-1)<=Pa||l==1||isNaN(l)&&isNaN(1)?0:l<1?-1:l>1?1:u0(isNaN(l),isNaN(1)))<0)),c)}function fRn(e){var n,t,i,r,c,o,l,a,d,b,w;for(e.j=ee(pt,Ot,30,e.g,15,1),e.o=new me,Ui(Uc(new Ze(null,new nn(e.e.b,16)),new $ye),new mAe(e)),e.a=ee($o,Tf,30,e.b,16,1),UE(new Ze(null,new nn(e.e.b,16)),new yAe(e)),i=(w=new me,Ui(qt(Uc(new Ze(null,new nn(e.e.b,16)),new xye),new vAe(e)),new rje(e,w)),w),a=new $(i);a.a=d.c.c.length?b=See((En(),zi),rr):b=See((En(),rr),rr),b*=2,c=t.a.g,t.a.g=m.Math.max(c,c+(b-c)),o=t.b.g,t.b.g=m.Math.max(o,o+(b-o)),r=n}}function kI(e,n){var t;if(e.e)throw x(new Nc((kh(lz),BJ+lz.k+JJ)));if(!Cpn(e.a,n))throw x(new Yc(xYe+n+PYe));if(n==e.d)return e;switch(t=e.d,e.d=n,t.g){case 0:switch(n.g){case 2:Jb(e);break;case 1:l1(e),Jb(e);break;case 4:b2(e),Jb(e);break;case 3:b2(e),l1(e),Jb(e)}break;case 2:switch(n.g){case 1:l1(e),jB(e);break;case 4:b2(e),Jb(e);break;case 3:b2(e),l1(e),Jb(e)}break;case 1:switch(n.g){case 2:l1(e),jB(e);break;case 4:l1(e),b2(e),Jb(e);break;case 3:l1(e),b2(e),l1(e),Jb(e)}break;case 4:switch(n.g){case 2:b2(e),Jb(e);break;case 1:b2(e),l1(e),Jb(e);break;case 3:l1(e),jB(e)}break;case 3:switch(n.g){case 2:l1(e),b2(e),Jb(e);break;case 1:l1(e),b2(e),l1(e),Jb(e);break;case 4:l1(e),jB(e)}}return e}function E2(e,n){var t;if(e.d)throw x(new Nc((kh(Cz),BJ+Cz.k+JJ)));if(!Epn(e.a,n))throw x(new Yc(xYe+n+PYe));if(n==e.c)return e;switch(t=e.c,e.c=n,t.g){case 0:switch(n.g){case 2:A0(e);break;case 1:s1(e),A0(e);break;case 4:g2(e),A0(e);break;case 3:g2(e),s1(e),A0(e)}break;case 2:switch(n.g){case 1:s1(e),IB(e);break;case 4:g2(e),A0(e);break;case 3:g2(e),s1(e),A0(e)}break;case 1:switch(n.g){case 2:s1(e),IB(e);break;case 4:s1(e),g2(e),A0(e);break;case 3:s1(e),g2(e),s1(e),A0(e)}break;case 4:switch(n.g){case 2:g2(e),A0(e);break;case 1:g2(e),s1(e),A0(e);break;case 3:s1(e),IB(e)}break;case 3:switch(n.g){case 2:s1(e),g2(e),A0(e);break;case 1:s1(e),g2(e),s1(e),A0(e);break;case 4:s1(e),IB(e)}}return e}function aRn(e){var n,t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H;for(w=e.b,b=new Rr(w,0),Xg(b,new ju(e)),B=!1,o=1;b.b0&&(n.a+=ro),EI(u(zn(l),174),n);for(n.a+=KJ,a=new Gm((!i.c&&(i.c=new dn(et,i,5,8)),i.c));a.e!=a.i.gc();)a.e>0&&(n.a+=ro),EI(u(zn(a),174),n);n.a+=")"}}function hRn(e,n,t){var i,r,c,o,l,a,d,b;for(a=new Jn((!e.a&&(e.a=new oe(Et,e,10,11)),e.a));a.e!=a.i.gc();)for(l=u(zn(a),26),r=new Sn($n(w1(l).a.Jc(),new V));Un(r);){if(i=u(Fn(r),85),!i.b&&(i.b=new dn(et,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new dn(et,i,5,8)),i.c.i<=1)))throw x(new $m("Graph must not contain hyperedges."));if(!A9(i)&&l!=Hc(u(G((!i.c&&(i.c=new dn(et,i,5,8)),i.c),0),84)))for(d=new Y$e,yu(d,i),ie(d,(c1(),Vv),i),cgn(d,u(Qc(xc(t.f,l)),155)),ugn(d,u(kn(t,Hc(u(G((!i.c&&(i.c=new dn(et,i,5,8)),i.c),0),84))),155)),pe(n.c,d),o=new Jn((!i.n&&(i.n=new oe(ou,i,1,7)),i.n));o.e!=o.i.gc();)c=u(zn(o),157),b=new cLe(d,c.a),yu(b,c),ie(b,Vv,c),b.e.a=m.Math.max(c.g,1),b.e.b=m.Math.max(c.f,1),eue(b),pe(n.d,b)}}function dRn(e,n,t){var i,r,c,o,l,a,d,b,w,y;switch(t.Tg("Node promotion heuristic",1),e.i=n,e.r=u(M(n,(ye(),$A)),243),e.r!=(p1(),s4)&&e.r!=K8?RRn(e):aPn(e),b=u(M(e.i,qde),15).a,c=new Zve,e.r.g){case 2:case 1:uy(e,c);break;case 3:for(e.r=ZN,uy(e,c),a=0,l=new $(e.b);l.ae.k&&(e.r=OA,uy(e,c));break;case 4:for(e.r=ZN,uy(e,c),d=0,r=new $(e.c);r.ae.n&&(e.r=DA,uy(e,c));break;case 6:y=nc(m.Math.ceil(e.g.length*b/100)),uy(e,new pCe(y));break;case 5:w=nc(m.Math.ceil(e.e*b/100)),uy(e,new mCe(w));break;case 8:KWe(e,!0);break;case 9:KWe(e,!1);break;default:uy(e,c)}e.r!=s4&&e.r!=K8?$xn(e,n):WPn(e,n),t.Ug()}function bRn(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H;for(w=new gue(e),t6n(w,!(n==(ar(),hl)||n==la)),b=w.a,y=new Sm,r=(Cf(),D(O(Jw,1),ae,237,0,[bu,uo,gu])),o=0,a=r.length;o0&&(y.d+=b.n.d,y.d+=b.d),y.a>0&&(y.a+=b.n.a,y.a+=b.d),y.b>0&&(y.b+=b.n.b,y.b+=b.d),y.c>0&&(y.c+=b.n.c,y.c+=b.d),y}function wWe(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T;for(y=t.d,w=t.c,c=new he(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),o=c.b,d=new $(e.a);d.a0&&(e.c[n.c.p][n.p].d+=fs(e.i,24)*RC*.07000000029802322-.03500000014901161,e.c[n.c.p][n.p].a=e.c[n.c.p][n.p].d/e.c[n.c.p][n.p].b)}}function wRn(e){var n,t,i,r,c,o,l,a,d,b,w,y,C,T,S,j;for(T=new $(e);T.ai.d,i.d=m.Math.max(i.d,n),l&&t&&(i.d=m.Math.max(i.d,i.a),i.a=i.d+r);break;case 3:t=n>i.a,i.a=m.Math.max(i.a,n),l&&t&&(i.a=m.Math.max(i.a,i.d),i.d=i.a+r);break;case 2:t=n>i.c,i.c=m.Math.max(i.c,n),l&&t&&(i.c=m.Math.max(i.b,i.c),i.b=i.c+r);break;case 4:t=n>i.b,i.b=m.Math.max(i.b,n),l&&t&&(i.b=m.Math.max(i.b,i.c),i.c=i.b+r)}}}function mWe(e,n){var t,i,r,c,o,l,a,d,b;return d="",n.length==0?e.le(Iue,aJ,-1,-1):(b=Cw(n),Ye(b.substr(0,3),"at ")&&(b=(Nn(3,b.length+1),b.substr(3))),b=b.replace(/\[.*?\]/g,""),o=b.indexOf("("),o==-1?(o=b.indexOf("@"),o==-1?(d=b,b=""):(d=Cw((Nn(o+1,b.length+1),b.substr(o+1))),b=Cw((zr(0,o,b.length),b.substr(0,o))))):(t=b.indexOf(")",o),d=(zr(o+1,t,b.length),b.substr(o+1,t-(o+1))),b=Cw((zr(0,o,b.length),b.substr(0,o)))),o=ma(b,Eo(46)),o!=-1&&(b=(Nn(o+1,b.length+1),b.substr(o+1))),(b.length==0||Ye(b,"Anonymous function"))&&(b=aJ),l=fS(d,Eo(58)),r=$Q(d,Eo(58),l-1),a=-1,i=-1,c=Iue,l!=-1&&r!=-1&&(c=(zr(0,r,d.length),d.substr(0,r)),a=w$e((zr(r+1,l,d.length),d.substr(r+1,l-(r+1)))),i=w$e((Nn(l+1,d.length+1),d.substr(l+1)))),e.le(c,b,a,i))}function mRn(e){var n,t,i,r,c,o,l,a,d,b,w;for(d=new $(e);d.a0||b.j==In&&b.e.c.length-b.g.c.length<0)){n=!1;break}for(r=new $(b.g);r.a=d&&re>=j&&(y+=T.n.b+S.n.b+S.a.b-K,++l));if(t)for(o=new $(B.e);o.a=d&&re>=j&&(y+=T.n.b+S.n.b+S.a.b-K,++l))}l>0&&(ne+=y/l,++C)}C>0?(n.a=r*ne/C,n.g=C):(n.a=0,n.g=0)}function due(e,n,t,i){var r,c,o,l,a;return l=new gue(n),bxn(l,i),r=!0,e&&e.nf((St(),Q0))&&(c=u(e.mf((St(),Q0)),86),r=c==(ar(),fa)||c==Rc||c==zc),mXe(l,!1),no(l.e.Pf(),new DQ(l,!1,r)),LL(l,l.f,(Cf(),bu),(ke(),jn)),LL(l,l.f,gu,Xn),LL(l,l.g,bu,In),LL(l,l.g,gu,Dn),RHe(l,jn),RHe(l,Xn),PPe(l,Dn),PPe(l,In),Vg(),o=l.A.Gc((As(),wp))&&l.B.Gc((as(),dT))?QGe(l):null,o&&xwn(l.a,o),pRn(l),FMn(l),RMn(l),VFn(l),uDn(l),fSn(l),TR(l,jn),TR(l,Xn),XPn(l),DLn(l),t&&(IAn(l),aSn(l),TR(l,Dn),TR(l,In),a=l.B.Gc((as(),_k)),cUe(l,a,jn),cUe(l,a,Xn),uUe(l,a,Dn),uUe(l,a,In),Ui(new Ze(null,new nn(new ph(l.i),0)),new K2e),Ui(qt(new Ze(null,IZ(l.r).a.oc()),new W2e),new Y2e),C_n(l),l.e.Nf(l.o),Ui(new Ze(null,IZ(l.r).a.oc()),new Q2e)),l.o}function yRn(e){var n,t,i,r,c,o,l,a,d,b,w,y,C,T,S;for(d=Ri,i=new $(e.a.b);i.a1)for(C=new rue(T,H,i),Yr(H,new uje(e,C)),Tn(o.c,C),w=H.a.ec().Jc();w.Ob();)b=u(w.Pb(),49),yo(c,b.b);if(l.a.gc()>1)for(C=new rue(T,l,i),Yr(l,new oje(e,C)),Tn(o.c,C),w=l.a.ec().Jc();w.Ob();)b=u(w.Pb(),49),yo(c,b.b)}}function ARn(e,n){var t,i,r,c,o,l;if(u(M(n,(se(),Ku)),22).Gc((kc(),al))){for(l=new $(n.a);l.a=0&&o0&&(u(jc(e.b,n),127).a.b=t)}function $Rn(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j,P;for(C=0,i=new tr,c=new Jn((!n.a&&(n.a=new oe(Et,n,10,11)),n.a));c.e!=c.i.gc();)r=u(zn(c),26),Ie(je(fe(r,(ye(),X0))))||(w=Ii(r),pI(w)&&!Ie(je(fe(r,ON)))&&(si(r,(se(),wi),le(C)),++C,kf(r,Ww)&&ir(i,u(fe(r,Ww),15))),yWe(e,r,t));for(ie(t,(se(),N1),le(C)),ie(t,TA,le(i.a.gc())),C=0,b=new Jn((!n.b&&(n.b=new oe(lr,n,12,3)),n.b));b.e!=b.i.gc();)a=u(zn(b),85),pI(n)&&(si(a,wi,le(C)),++C),j=oB(a),P=pqe(a),y=Ie(je(fe(j,(ye(),Qw)))),S=!Ie(je(fe(a,X0))),T=y&&zb(a)&&Ie(je(fe(a,U0))),o=Ii(j)==n&&Ii(j)==Ii(P),l=(Ii(j)==n&&P==n)^(Ii(P)==n&&j==n),S&&!T&&(l||o)&&yue(e,a,n,t);if(Ii(n))for(d=new Jn(JPe(Ii(n)));d.e!=d.i.gc();)a=u(zn(d),85),j=oB(a),j==n&&zb(a)&&(T=Ie(je(fe(j,(ye(),Qw))))&&Ie(je(fe(a,U0))),T&&yue(e,a,n,t))}function NRn(e){var n,t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne,Ce,Ue,qe,fn,bn;for(ne=new me,T=new $(e.b);T.a=n.length)return{done:!0};var r=n[i++];return{value:[r,t.get(r)],done:!1}}}},_Pn()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(n){return this.obj[":"+n]},e.prototype.set=function(n,t){this.obj[":"+n]=t},e.prototype[OJ]=function(n){delete this.obj[":"+n]},e.prototype.keys=function(){var n=[];for(var t in this.obj)t.charCodeAt(0)==58&&n.push(t.substring(1));return n}),e}function gi(){gi=q,ck=new ui(Kue),new Ti("DEPTH",le(0)),fU=new Ti("FAN",le(0)),c0e=new Ti(zQe,le(0)),L1=new Ti("ROOT",(pn(),!1)),dU=new Ti("LEFTNEIGHBOR",null),eln=new Ti("RIGHTNEIGHBOR",null),ox=new Ti("LEFTSIBLING",null),bU=new Ti("RIGHTSIBLING",null),lU=new Ti("DUMMY",!1),new Ti("LEVEL",le(0)),s0e=new Ti("REMOVABLE_EDGES",new fi),GA=new Ti("XCOOR",le(0)),HA=new Ti("YCOOR",le(0)),sx=new Ti("LEVELHEIGHT",0),$f=new Ti("LEVELMIN",0),cf=new Ti("LEVELMAX",0),aU=new Ti("GRAPH_XMIN",0),hU=new Ti("GRAPH_YMIN",0),u0e=new Ti("GRAPH_XMAX",0),o0e=new Ti("GRAPH_YMAX",0),r0e=new Ti("COMPACT_LEVEL_ASCENSION",!1),sU=new Ti("COMPACT_CONSTRAINTS",new me),rk=new Ti("ID",""),uk=new Ti("POSITION",le(0)),Id=new Ti("PRELIM",0),a4=new Ti("MODIFIER",0),f4=new ui(ZYe),JA=new ui(eQe)}function DRn(e){Vce();var n,t,i,r,c,o,l,a,d,b,w,y,C,T,S,j;if(e==null)return null;if(w=e.length*8,w==0)return"";for(l=w%24,C=w/24|0,y=l!=0?C+1:C,c=null,c=ee(gl,Ia,30,y*4,15,1),d=0,b=0,n=0,t=0,i=0,o=0,r=0,a=0;a>24,d=(n&3)<<24>>24,T=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,S=(t&-128)==0?t>>4<<24>>24:(t>>4^240)<<24>>24,j=(i&-128)==0?i>>6<<24>>24:(i>>6^252)<<24>>24,c[o++]=Rd[T],c[o++]=Rd[S|d<<4],c[o++]=Rd[b<<2|j],c[o++]=Rd[i&63];return l==8?(n=e[r],d=(n&3)<<24>>24,T=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,c[o++]=Rd[T],c[o++]=Rd[d<<4],c[o++]=61,c[o++]=61):l==16&&(n=e[r],t=e[r+1],b=(t&15)<<24>>24,d=(n&3)<<24>>24,T=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,S=(t&-128)==0?t>>4<<24>>24:(t>>4^240)<<24>>24,c[o++]=Rd[T],c[o++]=Rd[S|d<<4],c[o++]=Rd[b<<2],c[o++]=61),Aa(c,0,c.length)}function LRn(e,n){var t,i,r,c,o,l,a;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>Jr&&jee(n,e.p-k1),o=n.q.getDate(),fE(n,1),e.k>=0&&d6n(n,e.k),e.c>=0?fE(n,e.c):e.k>=0?(a=new cte(n.q.getFullYear()-k1,n.q.getMonth(),35),i=35-a.q.getDate(),fE(n,m.Math.min(i,o))):fE(n,o),e.f<0&&(e.f=n.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),C2n(n,e.f==24&&e.g?0:e.f),e.j>=0&&q8n(n,e.j),e.n>=0&&rkn(n,e.n),e.i>=0&&Zje(n,lc(rc(cC(vu(n.q.getTime()),kd),kd),e.i)),e.a&&(r=new _M,jee(r,r.q.getFullYear()-k1-80),LO(vu(n.q.getTime()),vu(r.q.getTime()))&&jee(n,r.q.getFullYear()-k1+100)),e.d>=0){if(e.c==-1)t=(7+e.d-n.q.getDay())%7,t>3&&(t-=7),l=n.q.getMonth(),fE(n,n.q.getDate()+t),n.q.getMonth()!=l&&fE(n,n.q.getDate()+(t>0?-7:7));else if(n.q.getDay()!=e.d)return!1}return e.o>Jr&&(c=n.q.getTimezoneOffset(),Zje(n,lc(vu(n.q.getTime()),(e.o-c)*60*kd))),!0}function AWe(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K;if(r=M(n,(se(),ti)),!!J(r,206)){for(T=u(r,26),S=n.e,y=new oc(n.c),c=n.d,y.a+=c.b,y.b+=c.d,K=u(fe(T,(ye(),qN)),182),Do(K,(as(),Ox))&&(C=u(fe(T,Yde),104),tgn(C,c.a),ogn(C,c.d),ign(C,c.b),rgn(C,c.c)),t=new me,b=new $(n.a);b.ai.c.length-1;)pe(i,new hc(_2,jse));t=u(M(r,Ba),15).a,vh(u(M(e,vg),86))?(r.e.aX(Y((tn(t,i.c.length),u(i.c[t],49)).b))&&tO((tn(t,i.c.length),u(i.c[t],49)),r.e.a+r.f.a)):(r.e.bX(Y((tn(t,i.c.length),u(i.c[t],49)).b))&&tO((tn(t,i.c.length),u(i.c[t],49)),r.e.b+r.f.b))}for(c=ct(e.b,0);c.b!=c.d.c;)r=u(it(c),40),t=u(M(r,(au(),Ba)),15).a,ie(r,(gi(),$f),Y((tn(t,i.c.length),u(i.c[t],49)).a)),ie(r,cf,Y((tn(t,i.c.length),u(i.c[t],49)).b));n.Ug()}function RRn(e){var n,t,i,r,c,o,l,a,d,b,w,y,C,T,S;for(e.o=X(Y(M(e.i,(ye(),W0)))),e.f=X(Y(M(e.i,x1))),e.j=e.i.b.c.length,l=e.j-1,y=0,e.k=0,e.n=0,e.b=ql(ee(br,be,15,e.j,0,1)),e.c=ql(ee(or,be,346,e.j,7,1)),o=new $(e.i.b);o.a0&&pe(e.q,b),pe(e.p,b);n-=i,C=a+n,d+=n*e.f,Ns(e.b,l,le(C)),Ns(e.c,l,d),e.k=m.Math.max(e.k,C),e.n=m.Math.max(e.n,d),e.e+=n,n+=S}}function SWe(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H;if(n.b!=0){for(C=new fi,l=null,T=null,i=nc(m.Math.floor(m.Math.log(n.b)*m.Math.LOG10E)+1),a=0,H=ct(n,0);H.b!=H.d.c;)for(P=u(it(H),40),Z(T)!==Z(M(P,(gi(),rk)))&&(T=wt(M(P,rk)),a=0),T!=null?l=T+lDe(a++,i):l=lDe(a++,i),ie(P,rk,l),j=(r=ct(new mh(P).a.d,0),new xp(r));w7(j.a);)S=u(it(j.a),65).c,Fi(C,S,C.c.b,C.c),ie(S,rk,l);for(y=new Wn,o=0;o0&&(H-=C),cue(o,H),b=0,y=new $(o.a);y.a0),l.a.Xb(l.c=--l.b)),a=.4*i*b,!c&&l.b0&&(a=(Nn(0,n.length),n.charCodeAt(0)),a!=64)){if(a==37&&(w=n.lastIndexOf("%"),d=!1,w!=0&&(w==y-1||(d=(Nn(w+1,n.length),n.charCodeAt(w+1)==46))))){if(o=(zr(1,w,n.length),n.substr(1,w-1)),H=Ye("%",o)?null:pue(o),i=0,d)try{i=Ls((Nn(w+2,n.length+1),n.substr(w+2)),Jr,zt)}catch(K){throw K=Zi(K),J(K,131)?(l=K,x(new N_(l))):x(K)}for(j=Pne(e.Dh());j.Ob();)if(T=tj(j),J(T,504)&&(r=u(T,587),B=r.d,(H==null?B==null:Ye(H,B))&&i--==0))return r;return null}if(b=n.lastIndexOf("."),C=b==-1?n:(zr(0,b,n.length),n.substr(0,b)),t=0,b!=-1)try{t=Ls((Nn(b+1,n.length+1),n.substr(b+1)),Jr,zt)}catch(K){if(K=Zi(K),J(K,131))C=n;else throw x(K)}for(C=Ye("%",C)?null:pue(C),S=Pne(e.Dh());S.Ob();)if(T=tj(S),J(T,197)&&(c=u(T,197),P=c.ve(),(C==null?P==null:Ye(C,P))&&t--==0))return c;return null}return hWe(e,n)}function URn(e){var n,t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B;for(b=new Wn,a=new jb,i=new $(e.a.a.b);i.an.d.c){if(C=e.c[n.a.d],j=e.c[w.a.d],C==j)continue;Yl(Rl(Fl(Bl(Ll(new pl,1),100),C),j))}}}}}function VRn(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne;if(y=u(u(ri(e.r,n),22),83),n==(ke(),Dn)||n==In){kWe(e,n);return}for(c=n==jn?(Db(),hA):(Db(),dA),K=n==jn?(ko(),jf):(ko(),nf),t=u(jc(e.b,n),127),i=t.i,r=i.c+n2(D(O(Dr,1),$c,30,15,[t.n.b,e.C.b,e.k])),P=i.c+i.b-n2(D(O(Dr,1),$c,30,15,[t.n.c,e.C.c,e.k])),o=TW(LQ(c),e.t),B=n==jn?Tr:Ri,w=y.Jc();w.Ob();)d=u(w.Pb(),115),!(!d.c||d.c.d.c.length<=0)&&(j=d.b.Kf(),S=d.e,C=d.c,T=C.i,T.b=(a=C.n,C.e.a+a.b+a.c),T.a=(l=C.n,C.e.b+l.d+l.a),oE(K,Gue),C.f=K,Ef(C,(Xo(),ef)),T.c=S.a-(T.b-j.a)/2,re=m.Math.min(r,S.a),ne=m.Math.max(P,S.a+j.a),T.cne&&(T.c=ne-T.b),pe(o.d,new cL(T,Pte(o,T))),B=n==jn?m.Math.max(B,S.b+d.b.Kf().b):m.Math.min(B,S.b));for(B+=n==jn?e.t:-e.t,H=Zte((o.e=B,o)),H>0&&(u(jc(e.b,n),127).a.b=H),b=y.Jc();b.Ob();)d=u(b.Pb(),115),!(!d.c||d.c.d.c.length<=0)&&(T=d.c.i,T.c-=d.e.a,T.d-=d.e.b)}function XRn(e,n){GB();var t,i,r,c,o,l,a,d,b,w,y,C,T,S;if(a=zu(e,0)<0,a&&(e=ad(e)),zu(e,0)==0)switch(n){case 0:return"0";case 1:return by;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return C=new zd,n<0?C.a+="0E+":C.a+="0E",C.a+=n==Jr?"2147483648":""+-n,C.a}b=18,w=ee(gl,Ia,30,b+1,15,1),t=b,S=e;do d=S,S=cC(S,10),w[--t]=vt(lc(48,Cl(d,rc(S,10))))&hr;while(zu(S,0)!=0);if(r=Cl(Cl(Cl(b,t),n),1),n==0)return a&&(w[--t]=45),Aa(w,t,b-t);if(n>0&&zu(r,-6)>=0){if(zu(r,0)>=0){for(c=t+vt(r),l=b-1;l>=c;l--)w[l+1]=w[l];return w[++c]=46,a&&(w[--t]=45),Aa(w,t,b-t+1)}for(o=2;LO(o,lc(ad(r),1));o++)w[--t]=48;return w[--t]=46,w[--t]=48,a&&(w[--t]=45),Aa(w,t,b-t)}return T=t+1,i=b,y=new Nm,a&&(y.a+="-"),i-T>=1?(h0(y,w[t]),y.a+=".",y.a+=Aa(w,t+1,b-t-1)):y.a+=Aa(w,t,b-t),y.a+="E",zu(r,0)>0&&(y.a+="+"),y.a+=""+j6(r),y.a}function _We(e){Rg(e,new Hb(wM(Lg(Pg(Dg(Og(new ab,ol),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new d6e),ol))),de(e,ol,n$,Ae(Wln)),de(e,ol,Ow,Ae(Yln)),de(e,ol,M2,Ae(Uln)),de(e,ol,Fv,Ae(Vln)),de(e,ol,Lv,Ae(Xln)),de(e,ol,Ey,Ae(qln)),de(e,ol,X9,Ae(L0e)),de(e,ol,Cy,Ae(Kln)),de(e,ol,XG,Ae(SU)),de(e,ol,VG,Ae(_U)),de(e,ol,o$,Ae(R0e)),de(e,ol,KG,Ae(jU)),de(e,ol,WG,Ae(B0e)),de(e,ol,Vse,Ae(J0e)),de(e,ol,Use,Ae(F0e)),de(e,ol,Gse,Ae(dx)),de(e,ol,Hse,Ae(bx)),de(e,ol,zse,Ae(zA)),de(e,ol,qse,Ae(G0e)),de(e,ol,Jse,Ae(D0e))}function Xb(e,n,t,i,r){var c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne;if(j=new he(e.g,e.f),S=Mre(e),S.a=m.Math.max(S.a,n),S.b=m.Math.max(S.b,t),ne=S.a/j.a,b=S.b/j.b,K=S.a-j.a,a=S.b-j.b,i)for(o=Ii(e)?u(fe(Ii(e),(St(),Q0)),86):u(fe(e,(St(),Q0)),86),l=Z(fe(e,(St(),vk)))===Z((xr(),Fu)),B=new Jn((!e.c&&(e.c=new oe(bs,e,9,9)),e.c));B.e!=B.i.gc();)switch(P=u(zn(B),125),H=u(fe(P,om),64),H==(ke(),uu)&&(H=Xce(P,o),si(P,om,H)),H.g){case 1:l||os(P,P.i*ne);break;case 2:os(P,P.i+K),l||ss(P,P.j*b);break;case 3:l||os(P,P.i*ne),ss(P,P.j+a);break;case 4:l||ss(P,P.j*b)}if(pb(e,S.a,S.b),r)for(y=new Jn((!e.n&&(e.n=new oe(ou,e,1,7)),e.n));y.e!=y.i.gc();)w=u(zn(y),157),C=w.i+w.g/2,T=w.j+w.f/2,re=C/j.a,d=T/j.b,re+d>=1&&(re-d>0&&T>=0?(os(w,w.i+K),ss(w,w.j+a*d)):re-d<0&&C>=0&&(os(w,w.i+K*re),ss(w,w.j+a)));return si(e,(St(),Z0),(As(),c=u(wf(Sk),10),new Ys(c,u(Gl(c,c.length),10),0))),new he(ne,b)}function CI(e){var n,t,i,r,c,o,l,a,d,b,w;if(e==null)throw x(new pa(Ao));if(d=e,c=e.length,a=!1,c>0&&(n=(Nn(0,e.length),e.charCodeAt(0)),(n==45||n==43)&&(e=(Nn(1,e.length+1),e.substr(1)),--c,a=n==45)),c==0)throw x(new pa(Yb+d+'"'));for(;e.length>0&&(Nn(0,e.length),e.charCodeAt(0)==48);)e=(Nn(1,e.length+1),e.substr(1)),--c;if(c>(oKe(),Ynn)[10])throw x(new pa(Yb+d+'"'));for(r=0;r0&&(w=-parseInt((zr(0,i,e.length),e.substr(0,i)),10),e=(Nn(i,e.length+1),e.substr(i)),c-=i,t=!1);c>=o;){if(i=parseInt((zr(0,o,e.length),e.substr(0,o)),10),e=(Nn(o,e.length+1),e.substr(o)),c-=o,t)t=!1;else{if(zu(w,l)<0)throw x(new pa(Yb+d+'"'));w=rc(w,b)}w=Cl(w,i)}if(zu(w,0)>0)throw x(new pa(Yb+d+'"'));if(!a&&(w=ad(w),zu(w,0)<0))throw x(new pa(Yb+d+'"'));return w}function pue(e){XB();var n,t,i,r,c,o,l,a;if(e==null)return null;if(r=ma(e,Eo(37)),r<0)return e;for(a=new _s((zr(0,r,e.length),e.substr(0,r))),n=ee(zo,$2,30,4,15,1),l=0,i=0,o=e.length;rr+2&&VF((Nn(r+1,e.length),e.charCodeAt(r+1)),Nwe,xwe)&&VF((Nn(r+2,e.length),e.charCodeAt(r+2)),Nwe,xwe))if(t=v5n((Nn(r+1,e.length),e.charCodeAt(r+1)),(Nn(r+2,e.length),e.charCodeAt(r+2))),r+=2,i>0?(t&192)==128?n[l++]=t<<24>>24:i=0:t>=128&&((t&224)==192?(n[l++]=t<<24>>24,i=2):(t&240)==224?(n[l++]=t<<24>>24,i=3):(t&248)==240&&(n[l++]=t<<24>>24,i=4)),i>0){if(l==i){switch(l){case 2:{h0(a,((n[0]&31)<<6|n[1]&63)&hr);break}case 3:{h0(a,((n[0]&15)<<12|(n[1]&63)<<6|n[2]&63)&hr);break}}l=0,i=0}}else{for(c=0;c=2){if((!e.a&&(e.a=new oe(Mi,e,6,6)),e.a).i==0)t=(Ud(),r=new qT,r),rt((!e.a&&(e.a=new oe(Mi,e,6,6)),e.a),t);else if((!e.a&&(e.a=new oe(Mi,e,6,6)),e.a).i>1)for(y=new Gm((!e.a&&(e.a=new oe(Mi,e,6,6)),e.a));y.e!=y.i.gc();)v9(y);Wce(n,u(G((!e.a&&(e.a=new oe(Mi,e,6,6)),e.a),0),170))}if(w)for(i=new Jn((!e.a&&(e.a=new oe(Mi,e,6,6)),e.a));i.e!=i.i.gc();)for(t=u(zn(i),170),d=new Jn((!t.a&&(t.a=new fr(Us,t,5)),t.a));d.e!=d.i.gc();)a=u(zn(d),372),l.a=m.Math.max(l.a,a.a),l.b=m.Math.max(l.b,a.b);for(o=new Jn((!e.n&&(e.n=new oe(ou,e,1,7)),e.n));o.e!=o.i.gc();)c=u(zn(o),157),b=u(fe(c,kk),8),b&&Ks(c,b.a,b.b),w&&(l.a=m.Math.max(l.a,c.i+c.g),l.b=m.Math.max(l.b,c.j+c.f));return l}function IWe(e,n,t,i,r){var c,o,l;if(ERe(e,n),o=n[0],c=Wr(t.c,0),l=-1,fte(t))if(i>0){if(o+i>e.length)return!1;l=Qj((zr(0,o+i,e.length),e.substr(0,o+i)),n)}else l=Qj(e,n);switch(c){case 71:return l=w2(e,o,D(O($e,1),be,2,6,[bYe,gYe]),n),r.e=l,!0;case 77:return bPn(e,n,r,l,o);case 76:return gPn(e,n,r,l,o);case 69:return pIn(e,n,o,r);case 99:return mIn(e,n,o,r);case 97:return l=w2(e,o,D(O($e,1),be,2,6,["AM","PM"]),n),r.b=l,!0;case 121:return wPn(e,n,o,l,t,r);case 100:return l<=0?!1:(r.c=l,!0);case 83:return l<0?!1:KAn(l,o,n[0],r);case 104:l==12&&(l=0);case 75:case 72:return l<0?!1:(r.f=l,r.g=!1,!0);case 107:return l<0?!1:(r.f=l,r.g=!0,!0);case 109:return l<0?!1:(r.j=l,!0);case 115:return l<0?!1:(r.n=l,!0);case 90:if(oUe[a]&&(j=a),w=new $(e.a.b);w.a=l){qn(B.b>0),B.a.Xb(B.c=--B.b);break}else j.a>a&&(i?(wr(i.b,j.b),i.a=m.Math.max(i.a,j.a),is(B)):(pe(j.b,b),j.c=m.Math.min(j.c,a),j.a=m.Math.max(j.a,l),i=j));i||(i=new oMe,i.c=a,i.a=l,Xg(B,i),pe(i.b,b))}for(o=e.b,d=0,P=new $(t);P.a1;){if(r=oxn(n),w=c.g,T=u(fe(n,fk),104),S=X(Y(fe(n,mx))),(!n.a&&(n.a=new oe(Et,n,10,11)),n.a).i>1&&X(Y(fe(n,(Ya(),FU))))!=Ri&&(c.c+(T.b+T.c))/(c.b+(T.d+T.a))1&&X(Y(fe(n,(Ya(),LU))))!=Ri&&(c.c+(T.b+T.c))/(c.b+(T.d+T.a))>S&&si(r,(Ya(),sp),m.Math.max(X(Y(fe(n,lk))),X(Y(fe(r,sp)))-X(Y(fe(n,LU))))),C=new mY(i,b),a=VWe(C,r,y),d=a.g,d>=w&&d==d){for(o=0;o<(!r.a&&(r.a=new oe(Et,r,10,11)),r.a).i;o++)yUe(e,u(G((!r.a&&(r.a=new oe(Et,r,10,11)),r.a),o),26),u(G((!n.a&&(n.a=new oe(Et,n,10,11)),n.a),o),26));VRe(n,C),e6n(c,a.c),Z4n(c,a.b)}--l}si(n,(Ya(),h4),c.b),si(n,o3,c.c),t.Ug()}function ZRn(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne,Ce,Ue,qe;for(n.Tg("Compound graph postprocessor",1),t=Ie(je(M(e,(ye(),Lq)))),l=u(M(e,(se(),xhe)),229),b=new tr,P=l.ec().Jc();P.Ob();){for(j=u(P.Pb(),17),o=new Uo(l.cc(j)),un(),kr(o,new HK(e)),re=Q7n((tn(0,o.c.length),u(o.c[0],250))),Ce=GBe(u(Te(o,o.c.length-1),250)),H=re.i,T5(Ce.i,H)?B=H.e:B=Sr(H),w=RTn(j,o),ys(j.a),y=null,c=new $(o);c.aNa,qe=m.Math.abs(y.b-T.b)>Na,(!t&&Ue&&qe||t&&(Ue||qe))&&jt(j.a,K)),ic(j.a,i),i.b==0?y=K:y=(qn(i.b!=0),u(i.c.b.c,8)),jEn(C,w,S),GBe(r)==Ce&&(Sr(Ce.i)!=r.a&&(S=new Gr,Cre(S,Sr(Ce.i),B)),ie(j,pq,S)),Ojn(C,j,B),b.a.yc(C,b);tc(j,re),Fr(j,Ce)}for(d=b.a.ec().Jc();d.Ob();)a=u(d.Pb(),17),tc(a,null),Fr(a,null);n.Ug()}function eBn(e,n){var t,i,r,c,o,l,a,d,b,w,y;for(r=u(M(e,(au(),vg)),86),b=r==(ar(),Rc)||r==zc?la:zc,t=u(Vo(qt(new Ze(null,new nn(e.b,16)),new v4e),cs(new Ee,new Kn,new Yt,D(O(Mo,1),ae,130,0,[(il(),To)]))),16),a=u(Vo(Zu(t.Mc(),new $Ae(n)),cs(new Ee,new Kn,new Yt,D(O(Mo,1),ae,130,0,[To]))),16),a.Fc(u(Vo(Zu(t.Mc(),new NAe(n)),cs(new Ee,new Kn,new Yt,D(O(Mo,1),ae,130,0,[To]))),18)),a.gd(new xAe(b)),y=new td(new PAe(r)),i=new Wn,l=a.Jc();l.Ob();)o=u(l.Pb(),240),d=u(o.a,40),Ie(je(o.c))?(y.a.yc(d,(pn(),S1))==null,new O3(y.a.Xc(d,!1)).a.gc()>0&&Pt(i,d,u(new O3(y.a.Xc(d,!1)).a.Tc(),40)),new O3(y.a.$c(d,!0)).a.gc()>1&&Pt(i,YGe(y,d),d)):(new O3(y.a.Xc(d,!1)).a.gc()>0&&(c=u(new O3(y.a.Xc(d,!1)).a.Tc(),40),Z(c)===Z(Qc(xc(i.f,d)))&&u(M(d,(gi(),sU)),16).Ec(c)),new O3(y.a.$c(d,!0)).a.gc()>1&&(w=YGe(y,d),Z(Qc(xc(i.f,w)))===Z(d)&&u(M(w,(gi(),sU)),16).Ec(d)),y.a.Ac(d)!=null)}function $We(e){var n,t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K;if(e.gc()==1)return u(e.Xb(0),235);if(e.gc()<=0)return new E_;for(r=e.Jc();r.Ob();){for(t=u(r.Pb(),235),T=0,b=zt,w=zt,a=Jr,d=Jr,C=new $(t.e);C.al&&(H=0,K+=o+P,o=0),_On(S,t,H,K),n=m.Math.max(n,H+j.a),o=m.Math.max(o,j.b),H+=j.a+P;return S}function nBn(e){Vce();var n,t,i,r,c,o,l,a,d,b,w,y,C,T,S,j;if(e==null||(c=x_(e),T=WCn(c),T%4!=0))return null;if(S=T/4|0,S==0)return ee(zo,$2,30,0,15,1);for(w=null,n=0,t=0,i=0,r=0,o=0,l=0,a=0,d=0,C=0,y=0,b=0,w=ee(zo,$2,30,S*3,15,1);C>4)<<24>>24,w[y++]=((t&15)<<4|i>>2&15)<<24>>24,w[y++]=(i<<6|r)<<24>>24}return!v7(o=c[b++])||!v7(l=c[b++])?null:(n=ba[o],t=ba[l],a=c[b++],d=c[b++],ba[a]==-1||ba[d]==-1?a==61&&d==61?(t&15)!=0?null:(j=ee(zo,$2,30,C*3+1,15,1),Pu(w,0,j,0,C*3),j[y]=(n<<2|t>>4)<<24>>24,j):a!=61&&d==61?(i=ba[a],(i&3)!=0?null:(j=ee(zo,$2,30,C*3+2,15,1),Pu(w,0,j,0,C*3),j[y++]=(n<<2|t>>4)<<24>>24,j[y]=((t&15)<<4|i>>2&15)<<24>>24,j)):null:(i=ba[a],r=ba[d],w[y++]=(n<<2|t>>4)<<24>>24,w[y++]=((t&15)<<4|i>>2&15)<<24>>24,w[y++]=(i<<6|r)<<24>>24,w))}function tBn(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re;for(n.Tg(yQe,1),T=u(M(e,(ye(),zh)),222),r=new $(e.b);r.a=2){for(S=!0,y=new $(c.j),t=u(I(y),12),C=null;y.a0)if(i=w.gc(),d=nc(m.Math.floor((i+1)/2))-1,r=nc(m.Math.ceil((i+1)/2))-1,n.o==ua)for(b=r;b>=d;b--)n.a[K.p]==K&&(S=u(w.Xb(b),49),T=u(S.a,9),!ml(t,S.b)&&C>e.b.e[T.p]&&(n.a[T.p]=K,n.g[K.p]=n.g[T.p],n.a[K.p]=n.g[K.p],n.f[n.g[K.p].p]=(pn(),!!(Ie(n.f[n.g[K.p].p])&K.k==(En(),rr))),C=e.b.e[T.p]));else for(b=d;b<=r;b++)n.a[K.p]==K&&(P=u(w.Xb(b),49),j=u(P.a,9),!ml(t,P.b)&&C0&&(r=u(Te(j.c.a,ne-1),9),o=e.i[r.p],Ue=m.Math.ceil(qp(e.n,r,j)),c=re.a.e-j.d.d-(o.a.e+r.o.b+r.d.a)-Ue),d=Ri,ne0&&Ce.a.e.e-Ce.a.a-(Ce.b.e.e-Ce.b.a)<0,T=H.a.e.e-H.a.a-(H.b.e.e-H.b.a)<0&&Ce.a.e.e-Ce.a.a-(Ce.b.e.e-Ce.b.a)>0,C=H.a.e.e+H.b.aCe.b.e.e+Ce.a.a,K=0,!S&&!T&&(y?c+w>0?K=w:d-i>0&&(K=i):C&&(c+l>0?K=l:d-B>0&&(K=B))),re.a.e+=K,re.b&&(re.d.e+=K),!1))}function xWe(e,n,t){var i,r,c,o,l,a,d,b,w,y;if(i=new Hl(n.Jf().a,n.Jf().b,n.Kf().a,n.Kf().b),r=new Bm,e.c)for(o=new $(n.Pf());o.a0&&Er(C,(tn(t,n.c.length),u(n.c[t],25))),c=0,y=!0,P=Cs(w0(Yi(C))),a=P.Jc();a.Ob();){for(l=u(a.Pb(),17),y=!1,w=l,d=0;d(tn(d,n.c.length),u(n.c[d],25)).a.c.length?Er(r,(tn(d,n.c.length),u(n.c[d],25))):d1(r,i+c,(tn(d,n.c.length),u(n.c[d],25))),w=AB(w,r);t>0&&(c+=1)}if(y){for(d=0;d(tn(d,n.c.length),u(n.c[d],25)).a.c.length?Er(r,(tn(d,n.c.length),u(n.c[d],25))):d1(r,i+c,(tn(d,n.c.length),u(n.c[d],25)));t>0&&(c+=1)}for(o=!1,S=new Sn($n(yi(C).a.Jc(),new V));Un(S);){for(T=u(Fn(S),17),w=T,b=t+1;b(tn(d,n.c.length),u(n.c[d],25)).a.c.length?Er(j,(tn(d,n.c.length),u(n.c[d],25))):d1(j,i+1,(tn(d,n.c.length),u(n.c[d],25))));o&&(c+=1),o=!0}return c>0?c-1:0}function m1(e,n){Kt();var t,i,r,c,o,l,a,d,b,w,y,C,T;if(W4(A4)==0){for(w=ee(OJn,be,121,mdn.length,0,1),o=0;od&&(i.a+=RIe(ee(gl,Ia,30,-d,15,1))),i.a+="Is",ma(a,Eo(32))>=0)for(r=0;r=i.o.b/2}else B=!w;B?(P=u(M(i,(se(),i3)),16),P?y?c=P:(r=u(M(i,Wv),16),r?P.gc()<=r.gc()?c=P:c=r:(c=new me,ie(i,Wv,c))):(c=new me,ie(i,i3,c))):(r=u(M(i,(se(),Wv)),16),r?w?c=r:(P=u(M(i,i3),16),P?r.gc()<=P.gc()?c=r:c=P:(c=new me,ie(i,i3,c))):(c=new me,ie(i,Wv,c))),c.Ec(e),ie(e,(se(),MN),t),n.d==t?(Fr(n,null),t.e.c.length+t.g.c.length==0&&eu(t,null),tCn(t)):(tc(n,null),t.e.c.length+t.g.c.length==0&&eu(t,null)),ys(n.a)}function oBn(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne,Ce,Ue,qe,fn,bn,Gn,$t,Di;for(t.Tg("MinWidth layering",1),C=n.b,Ce=n.a,Di=u(M(n,(ye(),Hde)),15).a,l=u(M(n,zde),15).a,e.b=X(Y(M(n,rf))),e.d=Ri,K=new $(Ce);K.aC&&(c&&(uc(ne,y),uc(Ue,le(d.b-1))),$t=t.b,Di+=y+n,y=0,b=m.Math.max(b,t.b+t.c+Gn)),os(l,$t),ss(l,Di),b=m.Math.max(b,$t+Gn+t.c),y=m.Math.max(y,w),$t+=Gn+n;if(b=m.Math.max(b,i),bn=Di+y+t.a,bn0?(d=0,j&&(d+=l),d+=(qe-1)*o,H&&(d+=l),Ue&&H&&(d=m.Math.max(d,Sxn(H,o,B,Ce))),d=e.a&&(i=HDn(e,B),b=m.Math.max(b,i.b),K=m.Math.max(K,i.d),pe(l,new hc(B,i)));for(Ue=new me,d=0;d0),j.a.Xb(j.c=--j.b),qe=new ju(e.b),Xg(j,qe),qn(j.b0){for(y=b<100?null:new qd(b),d=new zne(n),T=d.g,P=ee(pt,Ot,30,b,15,1),i=0,K=new Nb(b),r=0;r=0;)if(C!=null?Qt(C,T[a]):Z(C)===Z(T[a])){P.length<=i&&(j=P,P=ee(pt,Ot,30,2*P.length,15,1),Pu(j,0,P,0,i)),P[i++]=r,rt(K,T[a]);break e}if(C=C,Z(C)===Z(l))break}}if(d=K,T=K.g,b=i,i>P.length&&(j=P,P=ee(pt,Ot,30,i,15,1),Pu(j,0,P,0,i)),i>0){for(H=!0,c=0;c=0;)yv(e,P[o]);if(i!=b){for(r=b;--r>=i;)yv(d,r);j=P,P=ee(pt,Ot,30,i,15,1),Pu(j,0,P,0,i)}n=d}}}else for(n=qMn(e,n),r=e.i;--r>=0;)n.Gc(e.g[r])&&(yv(e,r),H=!0);if(H){if(P!=null){for(t=n.gc(),w=t==1?F6(e,4,n.Jc().Pb(),null,P[0],S):F6(e,6,n,P,P[0],S),y=t<100?null:new qd(t),r=n.Jc();r.Ob();)C=r.Pb(),y=xQ(e,u(C,75),y);y?(y.lj(w),y.mj()):Wt(e.e,w)}else{for(y=evn(n.gc()),r=n.Jc();r.Ob();)C=r.Pb(),y=xQ(e,u(C,75),y);y&&y.mj()}return!0}else return!1}function hBn(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H;for(t=new GHe(n),t.a||ROn(n),d=LPn(n),a=new jb,j=new ZVe,S=new $(n.a);S.a0||t.o==ua&&r=t}function bBn(e){var n,t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne,Ce,Ue,qe,fn;for(H=e.a,K=0,re=H.length;K0?(w=u(Te(y.c.a,o-1),9),Ue=qp(e.b,y,w),j=y.n.b-y.d.d-(w.n.b+w.o.b+w.d.a+Ue)):j=y.n.b-y.d.d,d=m.Math.min(j,d),o1&&(o=m.Math.min(o,m.Math.abs(u(Nu(l.a,1),8).b-b.b)))));else for(S=new $(n.j);S.ar&&(c=y.a-r,o=zt,i.c.length=0,r=y.a),y.a>=r&&(Tn(i.c,l),l.a.b>1&&(o=m.Math.min(o,m.Math.abs(u(Nu(l.a,l.a.b-2),8).b-y.b)))));if(i.c.length!=0&&c>n.o.a/2&&o>n.o.b/2){for(C=new xu,eu(C,n),mr(C,(ke(),jn)),C.n.a=n.o.a/2,P=new xu,eu(P,n),mr(P,Xn),P.n.a=n.o.a/2,P.n.b=n.o.b,a=new $(i);a.a=d.b?tc(l,P):tc(l,C)):(d=u(s5n(l.a),8),j=l.a.b==0?zf(l.c):u(Jl(l.a),8),j.b>=d.b?Fr(l,P):Fr(l,C)),w=u(M(l,(ye(),Fc)),78),w&&pw(w,d,!0);n.n.a=r-n.o.a/2}}function pBn(e,n,t){var i,r,c,o,l,a,d,b,w,y;for(l=ct(e.b,0);l.b!=l.d.c;)if(o=u(it(l),40),!Ye(o.c,r$))for(d=q$n(o,e),n==(ar(),Rc)||n==zc?kr(d,new q4e):kr(d,new W4e),a=d.c.length,i=0;i=0?C=wv(l):C=KE(wv(l)),e.of(r4,C)),d=new Gr,y=!1,e.nf(pg)?(rQ(d,u(e.mf(pg),8)),y=!0):x2n(d,o.a/2,o.b/2),C.g){case 4:ie(b,cu,(Es(),Hh)),ie(b,_N,(C0(),B2)),b.o.b=o.b,S<0&&(b.o.a=-S),mr(w,(ke(),Dn)),y||(d.a=o.a),d.a-=o.a;break;case 2:ie(b,cu,(Es(),q0)),ie(b,_N,(C0(),Yy)),b.o.b=o.b,S<0&&(b.o.a=-S),mr(w,(ke(),In)),y||(d.a=0);break;case 1:ie(b,H0,(_h(),G2)),b.o.a=o.a,S<0&&(b.o.b=-S),mr(w,(ke(),Xn)),y||(d.b=o.b),d.b-=o.b;break;case 3:ie(b,H0,(_h(),Kv)),b.o.a=o.a,S<0&&(b.o.b=-S),mr(w,(ke(),jn)),y||(d.b=0)}if(rQ(w.n,d),ie(b,pg,d),n==eb||n==ah||n==Fu){if(T=0,n==eb&&e.nf(_d))switch(C.g){case 1:case 2:T=u(e.mf(_d),15).a;break;case 3:case 4:T=-u(e.mf(_d),15).a}else switch(C.g){case 4:case 2:T=c.b,n==ah&&(T/=r.b);break;case 1:case 3:T=c.a,n==ah&&(T/=r.a)}ie(b,dg,T)}return ie(b,wu,C),b}function mBn(){_W();function e(i){var r=this;this.dispatch=function(c){var o=c.data;switch(o.cmd){case"algorithms":var l=Qte((un(),new P3(new ph(tb.b))));i.postMessage({id:o.id,data:l});break;case"categories":var a=Qte((un(),new P3(new ph(tb.c))));i.postMessage({id:o.id,data:a});break;case"options":var d=Qte((un(),new P3(new ph(tb.d))));i.postMessage({id:o.id,data:d});break;case"register":qLn(o.algorithms),i.postMessage({id:o.id});break;case"layout":FLn(o.graph,o.layoutOptions||{},o.options||{}),i.postMessage({id:o.id,data:o.graph});break}},this.saveDispatch=function(c){try{r.dispatch(c)}catch(o){i.postMessage({id:c.data.id,error:o})}}}function n(i){var r=this;this.dispatcher=new e({postMessage:function(c){r.onmessage({data:c})}}),this.postMessage=function(c){setTimeout(function(){r.dispatcher.saveDispatch({data:c})},0)}}if(typeof document===RJ&&typeof self!==RJ){var t=new e(self);self.onmessage=t.saveDispatch}else typeof k!==RJ&&k.exports&&(Object.defineProperty(E,"__esModule",{value:!0}),k.exports={default:n,Worker:n})}function nJ(e,n,t,i,r,c,o){var l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne,Ce,Ue,qe,fn,bn,Gn,$t,Di;for(S=0,fn=0,d=new $(e.b);d.aS&&(c&&(uc(ne,C),uc(Ue,le(b.b-1)),pe(e.d,T),l.c.length=0),$t=t.b,Di+=C+n,C=0,w=m.Math.max(w,t.b+t.c+Gn)),Tn(l.c,a),DHe(a,$t,Di),w=m.Math.max(w,$t+Gn+t.c),C=m.Math.max(C,y),$t+=Gn+n,T=a;if(wr(e.a,l),pe(e.d,u(Te(l,l.c.length-1),167)),w=m.Math.max(w,i),bn=Di+C+t.a,bnr.d.d+r.d.a?b.f.d=!0:(b.f.d=!0,b.f.a=!0))),i.b!=i.d.c&&(n=t);b&&(c=u(kn(e.f,o.d.i),60),n.bc.d.d+c.d.a?b.f.d=!0:(b.f.d=!0,b.f.a=!0))}for(l=new Sn($n(Yi(C).a.Jc(),new V));Un(l);)o=u(Fn(l),17),o.a.b!=0&&(n=u(Jl(o.a),8),o.d.j==(ke(),jn)&&(j=new x9(n,new he(n.a,r.d.d),r,o),j.f.a=!0,j.a=o.d,Tn(S.c,j)),o.d.j==Xn&&(j=new x9(n,new he(n.a,r.d.d+r.d.a),r,o),j.f.d=!0,j.a=o.d,Tn(S.c,j)))}return S}function ABn(e,n,t){var i,r,c,o,l,a,d,b,w,y;for(a=new me,w=n.length,o=nte(t),d=0;d=T&&(B>T&&(C.c.length=0,T=B),Tn(C.c,o));C.c.length!=0&&(y=u(Te(C,Pj(n,C.c.length)),132),bn.a.Ac(y)!=null,y.s=S++,uce(y,qe,ne),C.c.length=0)}for(K=e.c.length+1,l=new $(e);l.afn.s&&(is(t),yo(fn.i,i),i.c>0&&(i.a=fn,pe(fn.t,i),i.b=Ce,pe(Ce.i,i)))}function RWe(e,n,t,i,r){var c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne,Ce,Ue,qe,fn,bn;for(S=new eo(n.b),K=new eo(n.b),y=new eo(n.b),Ue=new eo(n.b),j=new eo(n.b),Ce=ct(n,0);Ce.b!=Ce.d.c;)for(re=u(it(Ce),12),l=new $(re.g);l.a0,P=re.g.c.length>0,d&&P?Tn(y.c,re):d?Tn(S.c,re):P&&Tn(K.c,re);for(T=new $(S);T.aB.mh()-d.b&&(y=B.mh()-d.b),C>B.nh()-d.d&&(C=B.nh()-d.d),b0){for(H=ct(e.f,0);H.b!=H.d.c;)B=u(it(H),9),B.p+=y-e.e;Ere(e),ys(e.f),kce(e,i,C)}else{for(jt(e.f,C),C.p=i,e.e=m.Math.max(e.e,i),c=new Sn($n(Yi(C).a.Jc(),new V));Un(c);)r=u(Fn(c),17),!r.c.i.c&&r.c.i.k==(En(),Su)&&(jt(e.f,r.c.i),r.c.i.p=i-1);e.c=i}else Ere(e),ys(e.f),i=0,Un(new Sn($n(Yi(C).a.Jc(),new V)))?(y=0,y=BHe(y,C),i=y+2,kce(e,i,C)):(jt(e.f,C),C.p=0,e.e=m.Math.max(e.e,0),e.b=u(Te(e.d.b,0),25),e.c=0);for(e.f.b==0||Ere(e),e.d.a.c.length=0,P=new me,d=new $(e.d.b);d.a=48&&n<=57){for(i=n-48;r=48&&n<=57;)if(i=i*10+n-48,i<0)throw x(new yt(Ct((gt(),Jle))))}else throw x(new yt(Ct((gt(),_en))));if(t=i,n==44){if(r>=e.j)throw x(new yt(Ct((gt(),Ien))));if((n=Wr(e.i,r++))>=48&&n<=57){for(t=n-48;r=48&&n<=57;)if(t=t*10+n-48,t<0)throw x(new yt(Ct((gt(),Jle))));if(i>t)throw x(new yt(Ct((gt(),$en))))}else t=-1}if(n!=125)throw x(new yt(Ct((gt(),jen))));e._l(r)?(c=(Kt(),Kt(),new ow(9,c)),e.d=r+1):(c=(Kt(),Kt(),new ow(3,c)),e.d=r),c.Mm(i),c.Lm(t),Ut(e)}}return c}function IBn(e){var n,t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re;for(r=1,C=new me,i=0;i=u(Te(e.b,i),25).a.c.length/4)continue}if(u(Te(e.b,i),25).a.c.length>n){for(K=new me,pe(K,u(Te(e.b,i),25)),o=0;o1)for(T=new Gm((!e.a&&(e.a=new oe(Mi,e,6,6)),e.a));T.e!=T.i.gc();)v9(T);for(o=u(G((!e.a&&(e.a=new oe(Mi,e,6,6)),e.a),0),170),j=$t,$t>re+K?j=re+K:$tne+S?P=ne+S:Dire-K&&jne-S&&P$t+Gn?Ue=$t+Gn:re<$t-Gn&&(Ue=$t-Gn),qe=ne,ne>Di+Ce?qe=Di+Ce:ne$t-Gn&&Ue<$t+Gn&&qe>Di-Ce&&qet&&(y=t-1),C=Bd+fs(n,24)*RC*w-w/2,C<0?C=1:C>i&&(C=i-1),r=(Ud(),a=new UT,a),B_(r,y),J_(r,C),rt((!o.a&&(o.a=new fr(Us,o,5)),o.a),r)}function rJ(e,n){GB();var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne,Ce;if(H=e.e,b=e.d,r=e.a,H==0)switch(n){case 0:return"0";case 1:return by;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return P=new zd,P.a+="0E",P.a+=-n,P.a}if(S=b*10+1+7,j=ee(gl,Ia,30,S+1,15,1),t=S,b==1)if(c=r[0],c<0){Ce=Nr(c,Ec);do w=Ce,Ce=cC(Ce,10),j[--t]=48+vt(Cl(w,rc(Ce,10)))&hr;while(zu(Ce,0)!=0)}else{Ce=c;do w=Ce,Ce=Ce/10|0,j[--t]=48+(w-Ce*10)&hr;while(Ce!=0)}else{K=ee(pt,Ot,30,b,15,1),ne=b,Pu(r,0,K,0,ne);e:for(;;){for(B=0,l=ne-1;l>=0;l--)re=lc(qa(B,32),Nr(K[l],Ec)),C=D_n(re),K[l]=vt(C),B=vt(Eb(C,32));T=vt(B),y=t;do j[--t]=48+T%10&hr;while((T=T/10|0)!=0&&t!=0);for(i=9-y+t,o=0;o0;o++)j[--t]=48;for(a=ne-1;K[a]==0;a--)if(a==0)break e;ne=a+1}for(;j[t]==48;)++t}return d=H<0,d&&(j[--t]=45),Aa(j,t,S-t)}function HWe(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne;switch(e.c=n,e.g=new Wn,t=(c0(),new Hd(e.c)),i=new eM(t),Kte(i),H=wt(fe(e.c,(oC(),xbe))),a=u(fe(e.c,ZU),330),re=u(fe(e.c,eV),427),o=u(fe(e.c,Ibe),477),K=u(fe(e.c,QU),428),e.j=X(Y(fe(e.c,Bfn))),l=e.a,a.g){case 0:l=e.a;break;case 1:l=e.b;break;case 2:l=e.i;break;case 3:l=e.e;break;case 4:l=e.f;break;default:throw x(new Mn(l$+(a.f!=null?a.f:""+a.g)))}if(e.d=new MOe(l,re,o),ie(e.d,(S5(),E8),je(fe(e.c,Ffn))),e.d.c=Ie(je(fe(e.c,$be))),e_(e.c).i==0)return e.d;for(w=new Jn(e_(e.c));w.e!=w.i.gc();){for(b=u(zn(w),26),C=b.g/2,y=b.f/2,ne=new he(b.i+C,b.j+y);Ju(e.g,ne);)Ug(ne,(m.Math.random()-.5)*Na,(m.Math.random()-.5)*Na);S=u(fe(b,(St(),b4)),140),j=new GOe(ne,new Hl(ne.a-C-e.j/2-S.b,ne.b-y-e.j/2-S.d,b.g+e.j+(S.b+S.c),b.f+e.j+(S.d+S.a))),pe(e.d.i,j),Pt(e.g,ne,new hc(j,b))}switch(K.g){case 0:if(H==null)e.d.d=u(Te(e.d.i,0),68);else for(B=new $(e.d.i);B.a0?Gn+1:1);for(o=new $(ne.g);o.a0?Gn+1:1)}e.d[d]==0?jt(e.f,S):e.a[d]==0&&jt(e.g,S),++d}for(T=-1,C=1,w=new me,e.e=u(M(n,(se(),n3)),234);Vs>0;){for(;e.f.b!=0;)Di=u(KD(e.f),9),e.c[Di.p]=T--,Fce(e,Di),--Vs;for(;e.g.b!=0;)ns=u(KD(e.g),9),e.c[ns.p]=C++,Fce(e,ns),--Vs;if(Vs>0){for(y=Jr,B=new $(H);B.a=y&&(K>y&&(w.c.length=0,y=K),Tn(w.c,S)));b=e.qg(w),e.c[b.p]=C++,Fce(e,b),--Vs}}for($t=H.c.length+1,d=0;de.c[Bc]&&(yd(i,!0),ie(n,Yv,(pn(),!0)));e.a=null,e.d=null,e.c=null,ys(e.g),ys(e.f),t.Ug()}function qWe(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne;for(re=u(G((!e.a&&(e.a=new oe(Mi,e,6,6)),e.a),0),170),b=new ts,K=new Wn,ne=rKe(re),Co(K.f,re,ne),y=new Wn,i=new fi,T=Ua(nl(D(O(fl,1),hn,20,0,[(!n.d&&(n.d=new dn(lr,n,8,5)),n.d),(!n.e&&(n.e=new dn(lr,n,7,4)),n.e)])));Un(T);){if(C=u(Fn(T),85),(!e.a&&(e.a=new oe(Mi,e,6,6)),e.a).i!=1)throw x(new Mn(DZe+(!e.a&&(e.a=new oe(Mi,e,6,6)),e.a).i));C!=e&&(j=u(G((!C.a&&(C.a=new oe(Mi,C,6,6)),C.a),0),170),Fi(i,j,i.c.b,i.c),S=u(Qc(xc(K.f,j)),13),S||(S=rKe(j),Co(K.f,j,S)),w=t?Ar(new oc(u(Te(ne,ne.c.length-1),8)),u(Te(S,S.c.length-1),8)):Ar(new oc((tn(0,ne.c.length),u(ne.c[0],8))),(tn(0,S.c.length),u(S.c[0],8))),Co(y.f,j,w))}if(i.b!=0)for(P=u(Te(ne,t?ne.c.length-1:0),8),d=1;d1&&Fi(b,P,b.c.b,b.c),AF(r)));P=B}return b}function UWe(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne,Ce,Ue,qe,fn;for(t.Tg(VQe,1),fn=u(Vo(qt(new Ze(null,new nn(n,16)),new V4e),cs(new Ee,new Kn,new Yt,D(O(Mo,1),ae,130,0,[(il(),To)]))),16),b=u(Vo(qt(new Ze(null,new nn(n,16)),new DAe(n)),cs(new Ee,new Kn,new Yt,D(O(Mo,1),ae,130,0,[To]))),16),T=u(Vo(qt(new Ze(null,new nn(n,16)),new OAe(n)),cs(new Ee,new Kn,new Yt,D(O(Mo,1),ae,130,0,[To]))),16),S=ee(ux,c$,40,n.gc(),0,1),o=0;o=0&&qe=0&&!S[C]){S[C]=r,b.ed(l),--l;break}if(C=qe-y,C=0&&!S[C]){S[C]=r,b.ed(l),--l;break}}for(T.gd(new X4e),a=S.length-1;a>=0;a--)!S[a]&&!T.dc()&&(S[a]=u(T.Xb(0),40),T.ed(0));for(d=0;dy&&iC((tn(y,n.c.length),u(n.c[y],186)),b),b=null;n.c.length>y&&(tn(y,n.c.length),u(n.c[y],186)).a.c.length==0;)yo(n,(tn(y,n.c.length),n.c[y]));if(!b){--o;continue}if(!Ie(je(u(Te(b.b,0),26).mf((Qf(),UA))))&&QOn(n,T,c,b,j,t,y,i)){S=!0;continue}if(j){if(C=T.b,w=b.f,!Ie(je(u(Te(b.b,0),26).mf(UA)))&&vFn(n,T,c,b,t,y,i,r)){if(S=!0,C=e.j){e.a=-1,e.c=1;return}if(n=Wr(e.i,e.d++),e.a=n,e.b==1){switch(n){case 92:if(i=10,e.d>=e.j)throw x(new yt(Ct((gt(),p$))));e.a=Wr(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||Wr(e.i,e.d)!=63)break;if(++e.d>=e.j)throw x(new yt(Ct((gt(),TH))));switch(n=Wr(e.i,e.d++),n){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(e.d>=e.j)throw x(new yt(Ct((gt(),TH))));if(n=Wr(e.i,e.d++),n==61)i=16;else if(n==33)i=17;else throw x(new yt(Ct((gt(),fen))));break;case 35:for(;e.d=e.j)throw x(new yt(Ct((gt(),p$))));e.a=Wr(e.i,e.d++);break;default:i=0}e.c=i}function BBn(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j;if(t.Tg("Process compaction",1),!!Ie(je(M(n,(au(),h0e))))){for(r=u(M(n,vg),86),C=X(Y(M(n,wU))),aLn(e,n,r),eBn(n,C/2/2),T=n.b,y0(T,new _Ae(r)),d=ct(T,0);d.b!=d.d.c;)if(a=u(it(d),40),!Ie(je(M(a,(gi(),L1))))){if(i=FPn(a,r),S=xDn(a,n),w=0,y=0,i)switch(j=i.e,r.g){case 2:w=j.a-C-a.f.a,S.e.a-C-a.f.aw&&(w=S.e.a+S.f.a+C),y=w+a.f.a;break;case 4:w=j.b-C-a.f.b,S.e.b-C-a.f.bw&&(w=S.e.b+S.f.b+C),y=w+a.f.b}else if(S)switch(r.g){case 2:w=S.e.a-C-a.f.a,y=w+a.f.a;break;case 1:w=S.e.a+S.f.a+C,y=w+a.f.a;break;case 4:w=S.e.b-C-a.f.b,y=w+a.f.b;break;case 3:w=S.e.b+S.f.b+C,y=w+a.f.b}Z(M(n,gU))===Z((t9(),BA))?(c=w,o=y,l=Nh(qt(new Ze(null,new nn(e.a,16)),new fje(c,o))),l.a!=null?r==(ar(),Rc)||r==zc?a.e.a=w:a.e.b=w:(r==(ar(),Rc)||r==hl?l=Nh(qt(WRe(new Ze(null,new nn(e.a,16))),new jAe(c))):l=Nh(qt(WRe(new Ze(null,new nn(e.a,16))),new IAe(c))),l.a!=null&&(r==Rc||r==zc?a.e.a=X(Y((qn(l.a!=null),u(l.a,49)).a)):a.e.b=X(Y((qn(l.a!=null),u(l.a,49)).a)))),l.a!=null&&(b=nu(e.a,(qn(l.a!=null),l.a),0),b>0&&b!=u(M(a,Ba),15).a&&(ie(a,r0e,(pn(),!0)),ie(a,Ba,le(b))))):r==(ar(),Rc)||r==zc?a.e.a=w:a.e.b=w}t.Ug()}}function JBn(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re;if(t.Tg("Coffman-Graham Layering",1),n.a.c.length==0){t.Ug();return}for(re=u(M(n,(ye(),Gde)),15).a,a=0,o=0,y=new $(n.a);y.a=re||!tTn(P,i))&&(i=xPe(n,b)),Er(P,i),c=new Sn($n(Yi(P).a.Jc(),new V));Un(c);)r=u(Fn(c),17),!e.a[r.p]&&(S=r.c.i,--e.e[S.p],e.e[S.p]==0&&Xm(K5(C,S),gy));for(d=b.c.length-1;d>=0;--d)pe(n.b,(tn(d,b.c.length),u(b.c[d],25)));n.a.c.length=0,t.Ug()}function XWe(e){var n,t,i,r,c,o,l,a,d;for(e.b=1,Ut(e),n=null,e.c==0&&e.a==94?(Ut(e),n=(Kt(),Kt(),new $s(4)),qu(n,0,Ry),l=new $s(4)):l=(Kt(),Kt(),new $s(4)),r=!0;(d=e.c)!=1;){if(d==0&&e.a==93&&!r){n&&(F9(n,l),l=n);break}if(t=e.a,i=!1,d==10)switch(t){case 100:case 68:case 119:case 87:case 115:case 83:Iw(l,ry(t)),i=!0;break;case 105:case 73:case 99:case 67:t=(Iw(l,ry(t)),-1),t<0&&(i=!0);break;case 112:case 80:if(a=Rre(e,t),!a)throw x(new yt(Ct((gt(),MH))));Iw(l,a),i=!0;break;default:t=Cce(e)}else if(d==24&&!r){if(n&&(F9(n,l),l=n),c=XWe(e),F9(l,c),e.c!=0||e.a!=93)throw x(new yt(Ct((gt(),yen))));break}if(Ut(e),!i){if(d==0){if(t==91)throw x(new yt(Ct((gt(),Rle))));if(t==93)throw x(new yt(Ct((gt(),Ble))));if(t==45&&!r&&e.a!=93)throw x(new yt(Ct((gt(),SH))))}if(e.c!=0||e.a!=45||t==45&&r)qu(l,t,t);else{if(Ut(e),(d=e.c)==1)throw x(new yt(Ct((gt(),m$))));if(d==0&&e.a==93)qu(l,t,t),qu(l,45,45);else{if(d==0&&e.a==93||d==24)throw x(new yt(Ct((gt(),SH))));if(o=e.a,d==0){if(o==91)throw x(new yt(Ct((gt(),Rle))));if(o==93)throw x(new yt(Ct((gt(),Ble))));if(o==45)throw x(new yt(Ct((gt(),SH))))}else d==10&&(o=Cce(e));if(Ut(e),t>o)throw x(new yt(Ct((gt(),Cen))));qu(l,t,o)}}}r=!1}if(e.c==1)throw x(new yt(Ct((gt(),m$))));return p2(l),D9(l),e.b=0,Ut(e),l}function KWe(e,n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K;K=!1;do for(K=!1,c=n?new wh(e.a.b).a.gc()-2:1;n?c>=0:cu(M(j,wi),15).a)&&(H=!1);if(H){for(a=n?c+1:c-1,l=Aee(e.a,le(a)),o=!1,B=!0,i=!1,b=ct(l,0);b.b!=b.d.c;)d=u(it(b),9),Zt(d,wi)?d.p!=w.p&&(o=o|(n?u(M(d,wi),15).au(M(w,wi),15).a),B=!1):!o&&B&&d.k==(En(),Su)&&(i=!0,n?y=u(Fn(new Sn($n(Yi(d).a.Jc(),new V))),17).c.i:y=u(Fn(new Sn($n(yi(d).a.Jc(),new V))),17).d.i,y==w&&(n?t=u(Fn(new Sn($n(yi(d).a.Jc(),new V))),17).d.i:t=u(Fn(new Sn($n(Yi(d).a.Jc(),new V))),17).c.i,(n?u(qg(e.a,t),15).a-u(qg(e.a,y),15).a:u(qg(e.a,y),15).a-u(qg(e.a,t),15).a)<=2&&(B=!1)));if(i&&B&&(n?t=u(Fn(new Sn($n(yi(w).a.Jc(),new V))),17).d.i:t=u(Fn(new Sn($n(Yi(w).a.Jc(),new V))),17).c.i,(n?u(qg(e.a,t),15).a-u(qg(e.a,w),15).a:u(qg(e.a,w),15).a-u(qg(e.a,t),15).a)<=2&&t.k==(En(),zi)&&(B=!1)),o||B){for(S=IVe(e,w,n);S.a.gc()!=0;)T=u(S.a.ec().Jc().Pb(),9),S.a.Ac(T)!=null,ic(S,IVe(e,T,n));--C,K=!0}}}while(K)}function GBn(e){ot(e.c,Mt,D(O($e,1),be,2,6,[ec,"http://www.w3.org/2001/XMLSchema#decimal"])),ot(e.d,Mt,D(O($e,1),be,2,6,[ec,"http://www.w3.org/2001/XMLSchema#integer"])),ot(e.e,Mt,D(O($e,1),be,2,6,[ec,"http://www.w3.org/2001/XMLSchema#boolean"])),ot(e.f,Mt,D(O($e,1),be,2,6,[ec,"EBoolean",Ht,"EBoolean:Object"])),ot(e.i,Mt,D(O($e,1),be,2,6,[ec,"http://www.w3.org/2001/XMLSchema#byte"])),ot(e.g,Mt,D(O($e,1),be,2,6,[ec,"http://www.w3.org/2001/XMLSchema#hexBinary"])),ot(e.j,Mt,D(O($e,1),be,2,6,[ec,"EByte",Ht,"EByte:Object"])),ot(e.n,Mt,D(O($e,1),be,2,6,[ec,"EChar",Ht,"EChar:Object"])),ot(e.t,Mt,D(O($e,1),be,2,6,[ec,"http://www.w3.org/2001/XMLSchema#double"])),ot(e.u,Mt,D(O($e,1),be,2,6,[ec,"EDouble",Ht,"EDouble:Object"])),ot(e.F,Mt,D(O($e,1),be,2,6,[ec,"http://www.w3.org/2001/XMLSchema#float"])),ot(e.G,Mt,D(O($e,1),be,2,6,[ec,"EFloat",Ht,"EFloat:Object"])),ot(e.I,Mt,D(O($e,1),be,2,6,[ec,"http://www.w3.org/2001/XMLSchema#int"])),ot(e.J,Mt,D(O($e,1),be,2,6,[ec,"EInt",Ht,"EInt:Object"])),ot(e.N,Mt,D(O($e,1),be,2,6,[ec,"http://www.w3.org/2001/XMLSchema#long"])),ot(e.O,Mt,D(O($e,1),be,2,6,[ec,"ELong",Ht,"ELong:Object"])),ot(e.Z,Mt,D(O($e,1),be,2,6,[ec,"http://www.w3.org/2001/XMLSchema#short"])),ot(e.$,Mt,D(O($e,1),be,2,6,[ec,"EShort",Ht,"EShort:Object"])),ot(e._,Mt,D(O($e,1),be,2,6,[ec,"http://www.w3.org/2001/XMLSchema#string"]))}function ye(){ye=q,Pq=(St(),jan),r1e=Ian,xA=$an,rf=Nan,K2=xge,K0=Pge,rp=Oge,u4=Dge,o4=Lge,Oq=jx,W0=Nd,Dq=xan,q8=Bge,UN=d3,NA=(kue(),Fun),ip=Run,x1=Bun,cp=Jun,Son=new Hr(tT,le(0)),c4=Oun,i1e=Dun,u3=Lun,d1e=lon,u1e=zun,o1e=Vun,Fq=eon,s1e=Wun,l1e=Qun,VN=don,Rq=fon,a1e=con,f1e=ion,h1e=oon,Ude=pun,Iq=dun,JN=hun,$q=gun,wg=jun,z8=Iun,_q=Jcn,Ode=Hcn,Non=w4,xon=Ix,$on=bp,Ion=g4,c1e=(gv(),pp),new Hr(b3,c1e),Qde=new mb(12),Yde=new Hr(sh,Qde),Nde=(Ph(),v4),zh=new Hr(fge,Nde),ep=new Hr(ds,0),_on=new Hr(mV,le(1)),NN=new Hr(d4,vy),X0=_x,qi=vk,r4=om,yon=QA,Fa=wan,Yw=im,jon=new Hr(vV,(pn(),!0)),Qw=ZA,U0=fV,V0=Z0,qN=F1,xq=ap,$de=(ar(),fa),Gs=new Hr(Q0,$de),gg=cm,HN=mge,np=hp,Mon=pV,n1e=$ge,e1e=(a2(),oT),new Hr(Mge,e1e),Con=dV,Aon=bV,Ton=gV,Eon=hV,Lq=Hun,BN=aun,$A=fun,U8=Gun,cu=iun,c3=xcn,J8=Ncn,t4=pcn,_de=mcn,Tq=Ecn,IA=vcn,Mq=Icn,Vde=mun,Xde=vun,Jde=Ycn,zN=xun,Nq=Eun,jq=Ucn,Wde=Sun,Pde=Rcn,Sq=Bcn,Aq=YA,Kde=yun,PN=Zrn,Ade=Qrn,xN=Yrn,Fde=Kcn,Lde=Xcn,Rde=Wcn,i4=um,Fc=rm,Sd=yan,Ra=lV,X2=sV,jde=Acn,_d=wV,L8=van,RN=Ean,pg=_ge,Zde=Tan,Zw=Man,Hde=cun,zde=oun,tp=h3,yq=Wrn,qde=lun,FN=Dcn,LN=Ocn,GN=b4,Gde=eun,H8=Aun,PA=Fge,Ide=Pcn,t1e=Pun,xde=Lcn,pon=Mcn,mon=Scn,kon=tun,von=_cn,Bde=aV,G8=run,DN=jcn,oh=wcn,Eq=dcn,jA=ncn,kq=tcn,ON=bcn,F8=ecn,Cq=gcn,Ww=hcn,B8=acn,won=fcn,r3=icn,R8=lcn,Sde=scn,Tde=rcn,Mde=ucn,Dde=Vcn}function HBn(e,n,t,i,r,c,o){var l,a,d,b,w,y,C,T;return y=u(i.a,15).a,C=u(i.b,15).a,w=e.b,T=e.c,l=0,b=0,n==(ar(),Rc)||n==zc?(b=T7(IGe(tw(Zu(new Ze(null,new nn(t.b,16)),new n6e),new F4e))),w.e.b+w.f.b/2>b?(d=++C,l=X(Y(ps(Qg(Zu(new Ze(null,new nn(t.b,16)),new dje(r,d)),new R4e))))):(a=++y,l=X(Y(ps(Wm(Zu(new Ze(null,new nn(t.b,16)),new bje(r,a)),new B4e)))))):(b=T7(IGe(tw(Zu(new Ze(null,new nn(t.b,16)),new z4e),new D4e))),w.e.a+w.f.a/2>b?(d=++C,l=X(Y(ps(Qg(Zu(new Ze(null,new nn(t.b,16)),new hje(r,d)),new J4e))))):(a=++y,l=X(Y(ps(Wm(Zu(new Ze(null,new nn(t.b,16)),new aje(r,a)),new G4e)))))),n==Rc?(uc(e.a,new he(X(Y(M(w,(gi(),$f))))-r,l)),uc(e.a,new he(T.e.a+T.f.a+r+c,l)),uc(e.a,new he(T.e.a+T.f.a+r+c,T.e.b+T.f.b/2)),uc(e.a,new he(T.e.a+T.f.a,T.e.b+T.f.b/2))):n==zc?(uc(e.a,new he(X(Y(M(w,(gi(),cf))))+r,w.e.b+w.f.b/2)),uc(e.a,new he(w.e.a+w.f.a+r,l)),uc(e.a,new he(T.e.a-r-c,l)),uc(e.a,new he(T.e.a-r-c,T.e.b+T.f.b/2)),uc(e.a,new he(T.e.a,T.e.b+T.f.b/2))):n==hl?(uc(e.a,new he(l,X(Y(M(w,(gi(),$f))))-r)),uc(e.a,new he(l,T.e.b+T.f.b+r+c)),uc(e.a,new he(T.e.a+T.f.a/2,T.e.b+T.f.b+r+c)),uc(e.a,new he(T.e.a+T.f.a/2,T.e.b+T.f.b+r))):(e.a.b==0||(u(Jl(e.a),8).b=X(Y(M(w,(gi(),cf))))+r*u(o.b,15).a),uc(e.a,new he(l,X(Y(M(w,(gi(),cf))))+r*u(o.b,15).a)),uc(e.a,new he(l,T.e.b-r*u(o.a,15).a-c))),new hc(le(y),le(C))}function zBn(e){var n,t,i,r,c,o,l,a,d,b,w,y,C;if(o=!0,w=null,i=null,r=null,n=!1,C=Nhn,d=null,c=null,l=0,a=MR(e,l,Pwe,Owe),a=0&&Ye(e.substr(l,2),"//")?(l+=2,a=MR(e,l,$k,Nk),i=(zr(l,a,e.length),e.substr(l,a-l)),l=a):w!=null&&(l==e.length||(Nn(l,e.length),e.charCodeAt(l)!=47))&&(o=!1,a=UY(e,Eo(35),l),a==-1&&(a=e.length),i=(zr(l,a,e.length),e.substr(l,a-l)),l=a);if(!t&&l0&&Wr(b,b.length-1)==58&&(r=b,l=a)),lo?(Ts(e,n,t),1):(Ts(e,t,n),-1)}for(B=e.f,H=0,K=B.length;H0?Ts(e,n,t):Ts(e,t,n),i;if(!Zt(n,(se(),wi))||!Zt(t,wi))return c=ZR(e,n),l=ZR(e,t),c>l?(Ts(e,n,t),1):(Ts(e,t,n),-1)}if(!y&&!T&&(i=YWe(e,n,t),i!=0))return i>0?Ts(e,n,t):Ts(e,t,n),i}return Zt(n,(se(),wi))&&Zt(t,wi)?(c=Ub(n,t,e.c,u(M(e.c,N1),15).a),l=Ub(t,n,e.c,u(M(e.c,N1),15).a),c>l?(Ts(e,n,t),1):(Ts(e,t,n),-1)):(Ts(e,t,n),-1)}function WWe(){WWe=q,iJ(),Nt=new jb,Qe(Nt,(ke(),ff),ha),Qe(Nt,Nl,ha),Qe(Nt,Zo,ha),Qe(Nt,af,ha),Qe(Nt,jo,ha),Qe(Nt,es,ha),Qe(Nt,af,ff),Qe(Nt,ha,dl),Qe(Nt,ff,dl),Qe(Nt,Nl,dl),Qe(Nt,Zo,dl),Qe(Nt,_o,dl),Qe(Nt,af,dl),Qe(Nt,jo,dl),Qe(Nt,es,dl),Qe(Nt,go,dl),Qe(Nt,ha,zs),Qe(Nt,ff,zs),Qe(Nt,dl,zs),Qe(Nt,Nl,zs),Qe(Nt,Zo,zs),Qe(Nt,_o,zs),Qe(Nt,af,zs),Qe(Nt,go,zs),Qe(Nt,qs,zs),Qe(Nt,jo,zs),Qe(Nt,Ho,zs),Qe(Nt,es,zs),Qe(Nt,ff,Nl),Qe(Nt,Zo,Nl),Qe(Nt,af,Nl),Qe(Nt,es,Nl),Qe(Nt,ff,Zo),Qe(Nt,Nl,Zo),Qe(Nt,af,Zo),Qe(Nt,Zo,Zo),Qe(Nt,jo,Zo),Qe(Nt,ha,bl),Qe(Nt,ff,bl),Qe(Nt,dl,bl),Qe(Nt,zs,bl),Qe(Nt,Nl,bl),Qe(Nt,Zo,bl),Qe(Nt,_o,bl),Qe(Nt,af,bl),Qe(Nt,qs,bl),Qe(Nt,go,bl),Qe(Nt,es,bl),Qe(Nt,jo,bl),Qe(Nt,Wu,bl),Qe(Nt,ha,qs),Qe(Nt,ff,qs),Qe(Nt,dl,qs),Qe(Nt,Nl,qs),Qe(Nt,Zo,qs),Qe(Nt,_o,qs),Qe(Nt,af,qs),Qe(Nt,go,qs),Qe(Nt,es,qs),Qe(Nt,Ho,qs),Qe(Nt,Wu,qs),Qe(Nt,ff,go),Qe(Nt,Nl,go),Qe(Nt,Zo,go),Qe(Nt,af,go),Qe(Nt,qs,go),Qe(Nt,es,go),Qe(Nt,jo,go),Qe(Nt,ha,So),Qe(Nt,ff,So),Qe(Nt,dl,So),Qe(Nt,Nl,So),Qe(Nt,Zo,So),Qe(Nt,_o,So),Qe(Nt,af,So),Qe(Nt,go,So),Qe(Nt,es,So),Qe(Nt,ff,jo),Qe(Nt,dl,jo),Qe(Nt,zs,jo),Qe(Nt,Zo,jo),Qe(Nt,ha,Ho),Qe(Nt,ff,Ho),Qe(Nt,zs,Ho),Qe(Nt,Nl,Ho),Qe(Nt,Zo,Ho),Qe(Nt,_o,Ho),Qe(Nt,af,Ho),Qe(Nt,af,Wu),Qe(Nt,Zo,Wu),Qe(Nt,go,ha),Qe(Nt,go,Nl),Qe(Nt,go,dl),Qe(Nt,_o,ha),Qe(Nt,_o,ff),Qe(Nt,_o,zs)}function qBn(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne;switch(t.Tg("Brandes & Koepf node placement",1),e.a=n,e.c=ADn(n),i=u(M(n,(ye(),Nq)),282),C=Ie(je(M(n,H8))),e.d=i==(uC(),EN)&&!C||i==iq,pFn(e,n),re=null,ne=null,P=null,B=null,j=(Ps(4,Nw),new eo(4)),u(M(n,Nq),282).g){case 3:P=new v2(n,e.c.d,(Gf(),Y0),(ya(),jd)),Tn(j.c,P);break;case 1:B=new v2(n,e.c.d,(Gf(),ua),(ya(),jd)),Tn(j.c,B);break;case 4:re=new v2(n,e.c.d,(Gf(),Y0),(ya(),mg)),Tn(j.c,re);break;case 2:ne=new v2(n,e.c.d,(Gf(),ua),(ya(),mg)),Tn(j.c,ne);break;default:P=new v2(n,e.c.d,(Gf(),Y0),(ya(),jd)),B=new v2(n,e.c.d,ua,jd),re=new v2(n,e.c.d,Y0,mg),ne=new v2(n,e.c.d,ua,mg),Tn(j.c,re),Tn(j.c,ne),Tn(j.c,P),Tn(j.c,B)}for(r=new cje(n,e.c),l=new $(j);l.ayB(c))&&(w=c);for(!w&&(w=(tn(0,j.c.length),u(j.c[0],185))),S=new $(n.b);S.a0?(Ts(e,t,n),1):(Ts(e,n,t),-1);if(b&&H)return Ts(e,t,n),1;if(w&&B)return Ts(e,n,t),-1;if(w&&H)return 0}else for(qe=new $(d.j);qe.aw&&(bn=0,Gn+=b+Ce,b=0),HXe(re,o,bn,Gn),n=m.Math.max(n,bn+ne.a),b=m.Math.max(b,ne.b),bn+=ne.a+Ce;for(K=new Wn,t=new Wn,qe=new $(e);qe.a=-1900?1:0,t>=4?_t(e,D(O($e,1),be,2,6,[bYe,gYe])[l]):_t(e,D(O($e,1),be,2,6,["BC","AD"])[l]);break;case 121:NTn(e,t,i);break;case 77:SOn(e,t,i);break;case 107:a=r.q.getHours(),a==0?Ka(e,24,t):Ka(e,a,t);break;case 83:HNn(e,t,r);break;case 69:b=i.q.getDay(),t==5?_t(e,D(O($e,1),be,2,6,["S","M","T","W","T","F","S"])[b]):t==4?_t(e,D(O($e,1),be,2,6,[AJ,TJ,MJ,SJ,_J,jJ,IJ])[b]):_t(e,D(O($e,1),be,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[b]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?_t(e,D(O($e,1),be,2,6,["AM","PM"])[1]):_t(e,D(O($e,1),be,2,6,["AM","PM"])[0]);break;case 104:w=r.q.getHours()%12,w==0?Ka(e,12,t):Ka(e,w,t);break;case 75:y=r.q.getHours()%12,Ka(e,y,t);break;case 72:C=r.q.getHours(),Ka(e,C,t);break;case 99:T=i.q.getDay(),t==5?_t(e,D(O($e,1),be,2,6,["S","M","T","W","T","F","S"])[T]):t==4?_t(e,D(O($e,1),be,2,6,[AJ,TJ,MJ,SJ,_J,jJ,IJ])[T]):t==3?_t(e,D(O($e,1),be,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[T]):Ka(e,T,1);break;case 76:S=i.q.getMonth(),t==5?_t(e,D(O($e,1),be,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[S]):t==4?_t(e,D(O($e,1),be,2,6,[dJ,bJ,gJ,wJ,$v,pJ,mJ,vJ,yJ,kJ,EJ,CJ])[S]):t==3?_t(e,D(O($e,1),be,2,6,["Jan","Feb","Mar","Apr",$v,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[S]):Ka(e,S+1,t);break;case 81:j=i.q.getMonth()/3|0,t<4?_t(e,D(O($e,1),be,2,6,["Q1","Q2","Q3","Q4"])[j]):_t(e,D(O($e,1),be,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[j]);break;case 100:P=i.q.getDate(),Ka(e,P,t);break;case 109:d=r.q.getMinutes(),Ka(e,d,t);break;case 115:o=r.q.getSeconds(),Ka(e,o,t);break;case 122:t<4?_t(e,c.c[0]):_t(e,c.c[1]);break;case 118:_t(e,c.b);break;case 90:t<3?_t(e,UIn(c)):t==3?_t(e,WIn(c)):_t(e,YIn(c.a));break;default:return!1}return!0}function yue(e,n,t,i){var r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne,Ce,Ue,qe,fn,bn,Gn,$t;if($Xe(n),a=u(G((!n.b&&(n.b=new dn(et,n,4,7)),n.b),0),84),b=u(G((!n.c&&(n.c=new dn(et,n,5,8)),n.c),0),84),l=Hc(a),d=Hc(b),o=(!n.a&&(n.a=new oe(Mi,n,6,6)),n.a).i==0?null:u(G((!n.a&&(n.a=new oe(Mi,n,6,6)),n.a),0),170),Ce=u(kn(e.a,l),9),bn=u(kn(e.a,d),9),Ue=null,Gn=null,J(a,193)&&(ne=u(kn(e.a,a),246),J(ne,12)?Ue=u(ne,12):J(ne,9)&&(Ce=u(ne,9),Ue=u(Te(Ce.j,0),12))),J(b,193)&&(fn=u(kn(e.a,b),246),J(fn,12)?Gn=u(fn,12):J(fn,9)&&(bn=u(fn,9),Gn=u(Te(bn.j,0),12))),!Ce||!bn)throw x(new $m("The source or the target of edge "+n+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(S=new _b,yu(S,n),ie(S,(se(),ti),n),ie(S,(ye(),Fc),null),C=u(M(i,Ku),22),Ce==bn&&C.Ec((kc(),$8)),Ue||(re=(yc(),oo),qe=null,o&&Gp(u(M(Ce,qi),102))&&(qe=new he(o.j,o.k),uLe(qe,iw(n)),xLe(qe,t),fw(d,l)&&(re=Qo,ei(qe,Ce.n))),Ue=PKe(Ce,qe,re,i)),Gn||(re=(yc(),Qo),$t=null,o&&Gp(u(M(bn,qi),102))&&($t=new he(o.b,o.c),uLe($t,iw(n)),xLe($t,t)),Gn=PKe(bn,$t,re,Sr(bn))),tc(S,Ue),Fr(S,Gn),(Ue.e.c.length>1||Ue.g.c.length>1||Gn.e.c.length>1||Gn.g.c.length>1)&&C.Ec((kc(),I8)),y=new Jn((!n.n&&(n.n=new oe(ou,n,1,7)),n.n));y.e!=y.i.gc();)if(w=u(zn(y),157),!Ie(je(fe(w,X0)))&&w.a)switch(j=cR(w),pe(S.b,j),u(M(j,Ra),279).g){case 1:case 2:C.Ec((kc(),Zy));break;case 0:C.Ec((kc(),Qy)),ie(j,Ra,(Vf(),p4))}if(c=u(M(i,J8),301),P=u(M(i,zN),328),r=c==(f9(),yA)||P==(b9(),Vq),o&&(!o.a&&(o.a=new fr(Us,o,5)),o.a).i!=0&&r){for(B=Ujn(o),T=new ts,K=ct(B,0);K.b!=K.d.c;)H=u(it(K),8),jt(T,new oc(H));ie(S,Dhe,T)}return S}function KBn(e,n,t,i){var r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne,Ce,Ue,qe,fn,bn,Gn,$t,Di;for(qe=0,fn=0,Ce=new Wn,re=u(ps(Qg(Zu(new Ze(null,new nn(e.b,16)),new H4e),new L4e)),15).a+1,Ue=ee(pt,Ot,30,re,15,1),j=ee(pt,Ot,30,re,15,1),S=0;S1)for(l=Gn+1;ld.b.e.b*(1-P)+d.c.e.b*P));T++);if(ne.gc()>0&&($t=d.a.b==0?sc(d.b.e):u(Jl(d.a),8),H=ei(sc(u(ne.Xb(ne.gc()-1),40).e),u(ne.Xb(ne.gc()-1),40).f),y=ei(sc(u(ne.Xb(0),40).e),u(ne.Xb(0),40).f),T>=ne.gc()-1&&$t.b>H.b&&d.c.e.b>H.b||T<=0&&$t.bd.b.e.a*(1-P)+d.c.e.a*P));T++);if(ne.gc()>0&&($t=d.a.b==0?sc(d.b.e):u(Jl(d.a),8),H=ei(sc(u(ne.Xb(ne.gc()-1),40).e),u(ne.Xb(ne.gc()-1),40).f),y=ei(sc(u(ne.Xb(0),40).e),u(ne.Xb(0),40).f),T>=ne.gc()-1&&$t.a>H.a&&d.c.e.a>H.a||T<=0&&$t.a=X(Y(M(e,(gi(),o0e))))&&++fn):(C.f&&C.d.e.a<=X(Y(M(e,(gi(),aU))))&&++qe,C.g&&C.c.e.a+C.c.f.a>=X(Y(M(e,(gi(),u0e))))&&++fn)}else K==0?Dre(d):K<0&&(++Ue[Gn],++j[Di],bn=HBn(d,n,e,new hc(le(qe),le(fn)),t,i,new hc(le(j[Di]),le(Ue[Gn]))),qe=u(bn.a,15).a,fn=u(bn.b,15).a)}function WBn(e){e.gb||(e.gb=!0,e.b=fu(e,0),Gi(e.b,18),Ei(e.b,19),e.a=fu(e,1),Gi(e.a,1),Ei(e.a,2),Ei(e.a,3),Ei(e.a,4),Ei(e.a,5),e.o=fu(e,2),Gi(e.o,8),Gi(e.o,9),Ei(e.o,10),Ei(e.o,11),Ei(e.o,12),Ei(e.o,13),Ei(e.o,14),Ei(e.o,15),Ei(e.o,16),Ei(e.o,17),Ei(e.o,18),Ei(e.o,19),Ei(e.o,20),Ei(e.o,21),Ei(e.o,22),Ei(e.o,23),Dc(e.o),Dc(e.o),Dc(e.o),Dc(e.o),Dc(e.o),Dc(e.o),Dc(e.o),Dc(e.o),Dc(e.o),Dc(e.o),e.p=fu(e,3),Gi(e.p,2),Gi(e.p,3),Gi(e.p,4),Gi(e.p,5),Ei(e.p,6),Ei(e.p,7),Dc(e.p),Dc(e.p),e.q=fu(e,4),Gi(e.q,8),e.v=fu(e,5),Ei(e.v,9),Dc(e.v),Dc(e.v),Dc(e.v),e.w=fu(e,6),Gi(e.w,2),Gi(e.w,3),Gi(e.w,4),Ei(e.w,5),e.B=fu(e,7),Ei(e.B,1),Dc(e.B),Dc(e.B),Dc(e.B),e.Q=fu(e,8),Ei(e.Q,0),Dc(e.Q),e.R=fu(e,9),Gi(e.R,1),e.S=fu(e,10),Dc(e.S),Dc(e.S),Dc(e.S),Dc(e.S),Dc(e.S),Dc(e.S),Dc(e.S),Dc(e.S),Dc(e.S),Dc(e.S),Dc(e.S),Dc(e.S),Dc(e.S),Dc(e.S),Dc(e.S),e.T=fu(e,11),Ei(e.T,10),Ei(e.T,11),Ei(e.T,12),Ei(e.T,13),Ei(e.T,14),Dc(e.T),Dc(e.T),e.U=fu(e,12),Gi(e.U,2),Gi(e.U,3),Ei(e.U,4),Ei(e.U,5),Ei(e.U,6),Ei(e.U,7),Dc(e.U),e.V=fu(e,13),Ei(e.V,10),e.W=fu(e,14),Gi(e.W,18),Gi(e.W,19),Gi(e.W,20),Ei(e.W,21),Ei(e.W,22),Ei(e.W,23),e.bb=fu(e,15),Gi(e.bb,10),Gi(e.bb,11),Gi(e.bb,12),Gi(e.bb,13),Gi(e.bb,14),Gi(e.bb,15),Gi(e.bb,16),Ei(e.bb,17),Dc(e.bb),Dc(e.bb),e.eb=fu(e,16),Gi(e.eb,2),Gi(e.eb,3),Gi(e.eb,4),Gi(e.eb,5),Gi(e.eb,6),Gi(e.eb,7),Ei(e.eb,8),Ei(e.eb,9),e.ab=fu(e,17),Gi(e.ab,0),Gi(e.ab,1),e.H=fu(e,18),Ei(e.H,0),Ei(e.H,1),Ei(e.H,2),Ei(e.H,3),Ei(e.H,4),Ei(e.H,5),Dc(e.H),e.db=fu(e,19),Ei(e.db,2),e.c=Jt(e,20),e.d=Jt(e,21),e.e=Jt(e,22),e.f=Jt(e,23),e.i=Jt(e,24),e.g=Jt(e,25),e.j=Jt(e,26),e.k=Jt(e,27),e.n=Jt(e,28),e.r=Jt(e,29),e.s=Jt(e,30),e.t=Jt(e,31),e.u=Jt(e,32),e.fb=Jt(e,33),e.A=Jt(e,34),e.C=Jt(e,35),e.D=Jt(e,36),e.F=Jt(e,37),e.G=Jt(e,38),e.I=Jt(e,39),e.J=Jt(e,40),e.L=Jt(e,41),e.M=Jt(e,42),e.N=Jt(e,43),e.O=Jt(e,44),e.P=Jt(e,45),e.X=Jt(e,46),e.Y=Jt(e,47),e.Z=Jt(e,48),e.$=Jt(e,49),e._=Jt(e,50),e.cb=Jt(e,51),e.K=Jt(e,52))}function YBn(e,n,t,i){var r,c,o,l,a,d,b,w,y,C,T;for(w=ct(e.b,0);w.b!=w.d.c;)if(b=u(it(w),40),!Ye(b.c,r$))for(c=u(Vo(new Ze(null,new nn(f$n(b,e),16)),cs(new Ee,new Kn,new Yt,D(O(Mo,1),ae,130,0,[(il(),To)]))),16),n==(ar(),Rc)||n==zc?c.gd(new Y4e):c.gd(new Q4e),T=c.gc(),r=0;r0&&(l=u(Jl(u(c.Xb(r),65).a),8).a,y=b.e.a+b.f.a/2,a=u(Jl(u(c.Xb(r),65).a),8).b,C=b.e.b+b.f.b/2,i>0&&m.Math.abs(a-C)/(m.Math.abs(l-y)/40)>50&&(C>a?uc(u(c.Xb(r),65).a,new he(b.e.a+b.f.a+i/5.3,b.e.b+b.f.b*o-i/2)):uc(u(c.Xb(r),65).a,new he(b.e.a+b.f.a+i/5.3,b.e.b+b.f.b*o+i/2)))),uc(u(c.Xb(r),65).a,new he(b.e.a+b.f.a,b.e.b+b.f.b*o))):n==zc?(d=X(Y(M(b,(gi(),$f)))),b.e.a-i>d?uc(u(c.Xb(r),65).a,new he(d-t,b.e.b+b.f.b*o)):u(c.Xb(r),65).a.b>0&&(l=u(Jl(u(c.Xb(r),65).a),8).a,y=b.e.a+b.f.a/2,a=u(Jl(u(c.Xb(r),65).a),8).b,C=b.e.b+b.f.b/2,i>0&&m.Math.abs(a-C)/(m.Math.abs(l-y)/40)>50&&(C>a?uc(u(c.Xb(r),65).a,new he(b.e.a-i/5.3,b.e.b+b.f.b*o-i/2)):uc(u(c.Xb(r),65).a,new he(b.e.a-i/5.3,b.e.b+b.f.b*o+i/2)))),uc(u(c.Xb(r),65).a,new he(b.e.a,b.e.b+b.f.b*o))):n==hl?(d=X(Y(M(b,(gi(),cf)))),b.e.b+b.f.b+i0&&(l=u(Jl(u(c.Xb(r),65).a),8).a,y=b.e.a+b.f.a/2,a=u(Jl(u(c.Xb(r),65).a),8).b,C=b.e.b+b.f.b/2,i>0&&m.Math.abs(l-y)/(m.Math.abs(a-C)/40)>50&&(y>l?uc(u(c.Xb(r),65).a,new he(b.e.a+b.f.a*o-i/2,b.e.b+i/5.3+b.f.b)):uc(u(c.Xb(r),65).a,new he(b.e.a+b.f.a*o+i/2,b.e.b+i/5.3+b.f.b)))),uc(u(c.Xb(r),65).a,new he(b.e.a+b.f.a*o,b.e.b+b.f.b))):(d=X(Y(M(b,(gi(),$f)))),OJe(u(c.Xb(r),65),e)?uc(u(c.Xb(r),65).a,new he(b.e.a+b.f.a*o,u(Jl(u(c.Xb(r),65).a),8).b)):b.e.b-i>d?uc(u(c.Xb(r),65).a,new he(b.e.a+b.f.a*o,d-t)):u(c.Xb(r),65).a.b>0&&(l=u(Jl(u(c.Xb(r),65).a),8).a,y=b.e.a+b.f.a/2,a=u(Jl(u(c.Xb(r),65).a),8).b,C=b.e.b+b.f.b/2,i>0&&m.Math.abs(l-y)/(m.Math.abs(a-C)/40)>50&&(y>l?uc(u(c.Xb(r),65).a,new he(b.e.a+b.f.a*o-i/2,b.e.b-i/5.3)):uc(u(c.Xb(r),65).a,new he(b.e.a+b.f.a*o+i/2,b.e.b-i/5.3)))),uc(u(c.Xb(r),65).a,new he(b.e.a+b.f.a*o,b.e.b)))}function ZWe(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne;if(o=n,y=t,Ju(e.a,o)){if(ml(u(kn(e.a,o),47),y))return 1}else Pt(e.a,o,new tr);if(Ju(e.a,y)){if(ml(u(kn(e.a,y),47),o))return-1}else Pt(e.a,y,new tr);if(Ju(e.e,o)){if(ml(u(kn(e.e,o),47),y))return-1}else Pt(e.e,o,new tr);if(Ju(e.e,y)){if(ml(u(kn(e.a,y),47),o))return 1}else Pt(e.e,y,new tr);if(o.j!=y.j)return re=Bpn(o.j,y.j),re>0?ul(e,o,y,1):ul(e,y,o,1),re;if(ne=1,o.e.c.length!=0&&y.e.c.length!=0){if((o.j==(ke(),In)&&y.j==In||o.j==jn&&y.j==jn||o.j==Xn&&y.j==Xn)&&(ne=-ne),b=u(Te(o.e,0),17).c,j=u(Te(y.e,0),17).c,a=b.i,T=j.i,a==T)for(H=new $(a.j);H.a0?(ul(e,o,y,ne),ne):(ul(e,y,o,ne),-ne);if(i=pGe(u(Vo(dL(e.d),cs(new Ee,new Kn,new Yt,D(O(Mo,1),ae,130,0,[(il(),To)]))),20),a,T),i!=0)return i>0?(ul(e,o,y,ne),ne):(ul(e,y,o,ne),-ne);if(e.c&&(re=VHe(e,o,y),re!=0))return re>0?(ul(e,o,y,ne),ne):(ul(e,y,o,ne),-ne)}return o.g.c.length!=0&&y.g.c.length!=0?((o.j==(ke(),In)&&y.j==In||o.j==Xn&&y.j==Xn)&&(ne=-ne),w=u(M(o,(se(),dq)),9),P=u(M(y,dq),9),e.f==(Oh(),Wq)&&w&&P&&Zt(w,wi)&&Zt(P,wi)?(l=Ub(w,P,e.b,u(M(e.b,N1),15).a),C=Ub(P,w,e.b,u(M(e.b,N1),15).a),l>C?(ul(e,o,y,ne),ne):(ul(e,y,o,ne),-ne)):e.c&&(re=VHe(e,o,y),re!=0)?re>0?(ul(e,o,y,ne),ne):(ul(e,y,o,ne),-ne):(d=0,S=0,Zt(u(Te(o.g,0),17),wi)&&(d=Ub(u(Te(o.g,0),246),u(Te(y.g,0),246),e.b,o.g.c.length+o.e.c.length)),Zt(u(Te(y.g,0),17),wi)&&(S=Ub(u(Te(y.g,0),246),u(Te(o.g,0),246),e.b,y.g.c.length+y.e.c.length)),w&&w==P||e.g&&(e.g._b(w)&&(d=u(e.g.xc(w),15).a),e.g._b(P)&&(S=u(e.g.xc(P),15).a)),d>S?(ul(e,o,y,ne),ne):(ul(e,y,o,ne),-ne))):o.e.c.length!=0&&y.g.c.length!=0?(ul(e,o,y,ne),1):o.g.c.length!=0&&y.e.c.length!=0?(ul(e,y,o,ne),-1):Zt(o,(se(),wi))&&Zt(y,wi)?(c=o.i.j.c.length,l=Ub(o,y,e.b,c),C=Ub(y,o,e.b,c),(o.j==(ke(),In)&&y.j==In||o.j==Xn&&y.j==Xn)&&(ne=-ne),l>C?(ul(e,o,y,ne),ne):(ul(e,y,o,ne),-ne)):(ul(e,y,o,ne),-ne)}function se(){se=q;var e,n;ti=new ui(Kue),Nhe=new ui("coordinateOrigin"),gq=new ui("processors"),$he=new Ti("compoundNode",(pn(),!1)),MA=new Ti("insideConnections",!1),Dhe=new ui("originalBendpoints"),Lhe=new ui("originalDummyNodePosition"),Fhe=new ui("originalLabelEdge"),x8=new ui("representedLabels"),N8=new ui("endLabels"),Qv=new ui("endLabel.origin"),e3=new Ti("labelSide",(Ds(),uT)),H2=new Ti("maxEdgeThickness",0),Md=new Ti("reversed",!1),n3=new ui(QYe),If=new Ti("longEdgeSource",null),jl=new Ti("longEdgeTarget",null),Kw=new Ti("longEdgeHasLabelDummies",!1),SA=new Ti("longEdgeBeforeLabelDummy",!1),_N=new Ti("edgeConstraint",(C0(),Yz)),hg=new ui("inLayerLayoutUnit"),H0=new Ti("inLayerConstraint",(_h(),AA)),Zv=new Ti("inLayerSuccessorConstraint",new me),Ohe=new Ti("inLayerSuccessorConstraintBetweenNonDummies",!1),Yo=new ui("portDummy"),SN=new Ti("crossingHint",le(0)),Ku=new Ti("graphProperties",(n=u(wf(rq),10),new Ys(n,u(Gl(n,n.length),10),0))),wu=new Ti("externalPortSide",(ke(),uu)),Phe=new Ti("externalPortSize",new Gr),fq=new ui("externalPortReplacedDummies"),jN=new ui("externalPortReplacedDummy"),Gh=new Ti("externalPortConnections",(e=u(wf(gc),10),new Ys(e,u(Gl(e,e.length),10),0))),dg=new Ti(VYe,0),Ihe=new ui("barycenterAssociates"),i3=new ui("TopSideComments"),Wv=new ui("BottomSideComments"),MN=new ui("CommentConnectionPort"),hq=new Ti("inputCollect",!1),bq=new Ti("outputCollect",!1),Yv=new Ti("cyclic",!1),xhe=new ui("crossHierarchyMap"),pq=new ui("targetOffset"),new Ti("splineLabelSize",new Gr),q2=new ui("spacings"),IN=new Ti("partitionConstraint",!1),ag=new ui("breakingPoint.info"),Jhe=new ui("splines.survivingEdge"),z0=new ui("splines.route.start"),U2=new ui("splines.edgeChain"),Bhe=new ui("originalPortConstraints"),bg=new ui("selfLoopHolder"),n4=new ui("splines.nsPortY"),wi=new ui("modelOrder"),N1=new ui("modelOrder.maximum"),TA=new ui("modelOrderGroups.cb.number"),dq=new ui("longEdgeTargetNode"),$1=new Ti(AQe,!1),z2=new Ti(AQe,!1),aq=new ui("layerConstraints.hiddenNodes"),Rhe=new ui("layerConstraints.opposidePort"),wq=new ui("targetNode.modelOrder"),t3=new Ti("tarjan.lowlink",le(zt)),P8=new Ti("tarjan.id",le(-1)),$N=new Ti("tarjan.onstack",!1),Vrn=new Ti("partOfCycle",!1),V2=new ui("medianHeuristic.weight")}function St(){St=q;var e,n;a3=new ui(dZe),dp=new ui(bZe),cge=(Wa(),iV),wan=new Xe(cse,cge),d4=new Xe(yy,null),pan=new ui(vle),oge=(j0(),bi(uV,D(O(oV,1),ae,299,0,[cV]))),YA=new Xe(e$,oge),QA=new Xe(eA,(pn(),!1)),sge=(ar(),fa),Q0=new Xe(DG,sge),age=(Ph(),yV),fge=new Xe(ZC,age),kan=new Xe(ple,!1),dge=(xh(),xx),im=new Xe(ZI,dge),Age=new mb(12),sh=new Xe(Dw,Age),eT=new Xe(V9,!1),aV=new Xe(t$,!1),nT=new Xe(X9,!1),jge=(xr(),J1),vk=new Xe(VJ,jge),h3=new ui(n$),tT=new ui(HC),mV=new ui(PI),vV=new ui(U9),wge=new ts,rm=new Xe(wse,wge),van=new Xe(yse,!1),Ean=new Xe(kse,!1),new Xe(gZe,0),pge=new J4,b4=new Xe(Cse,pge),_x=new Xe(ise,!1),_an=new Xe(wZe,1),fp=new ui(pZe),lp=new ui(mZe),w4=new Xe(zC,!1),new Xe(vZe,!0),le(0),new Xe(yZe,le(100)),new Xe(kZe,!1),le(0),new Xe(EZe,le(4e3)),le(0),new Xe(CZe,le(400)),new Xe(AZe,!1),new Xe(TZe,!1),new Xe(MZe,!0),new Xe(SZe,!1),uge=(yj(),MV),man=new Xe(mle,uge),gge=(V6(),lT),Aan=new Xe(_Ze,gge),bge=(D5(),iT),Can=new Xe(jZe,bge),jan=new Xe(qoe,10),Ian=new Xe(Uoe,10),$an=new Xe(Voe,20),Nan=new Xe(Xoe,10),xge=new Xe(UJ,2),Pge=new Xe(OG,10),Oge=new Xe(Koe,0),jx=new Xe(Qoe,5),Dge=new Xe(Woe,1),Lge=new Xe(Yoe,1),Nd=new Xe(Ow,20),xan=new Xe(Zoe,10),Bge=new Xe(ese,10),d3=new ui(nse),Rge=new dIe,Fge=new Xe(Ase,Rge),Man=new ui(FG),Tge=!1,Tan=new Xe(LG,Tge),vge=new mb(5),mge=new Xe(sse,vge),yge=(Tw(),n=u(wf(Mc),10),new Ys(n,u(Gl(n,n.length),10),0)),cm=new Xe(Ey,yge),Sge=(a2(),B1),Mge=new Xe(ase,Sge),dV=new ui(hse),bV=new ui(dse),gV=new ui(bse),hV=new ui(gse),kge=(e=u(wf(Sk),10),new Ys(e,u(Gl(e,e.length),10),0)),Z0=new Xe(M2,kge),Cge=ze((as(),k4)),F1=new Xe(Lv,Cge),Ege=new he(0,0),um=new Xe(Fv,Ege),ap=new Xe(ky,!1),lge=(Vf(),p4),lV=new Xe(mse,lge),sV=new Xe(OI,!1),le(1),new Xe(IZe,null),_ge=new ui(Ese),wV=new ui(vse),Nge=(ke(),uu),om=new Xe(rse,Nge),ds=new ui(tse),Ige=(Ko(),ze(G1)),hp=new Xe(Cy,Ige),pV=new Xe(lse,!1),$ge=new Xe(fse,!0),le(1),Fan=new Xe(oH,le(3)),le(1),Ban=new Xe(yle,le(4)),Ix=new Xe(qC,1),$x=new Xe(sH,null),bp=new Xe(UC,150),g4=new Xe(VC,1.414),b3=new Xe(Zb,null),Pan=new Xe(kle,1),ZA=new Xe(use,!1),fV=new Xe(ose,!1),yan=new Xe(pse,1),hge=(Xj(),EV),new Xe($Ze,hge),San=!0,Ran=(m_(),TV),Dan=(gv(),pp),Lan=pp,Oan=pp}function Br(){Br=q,Sae=new ur("DIRECTION_PREPROCESSOR",0),Aae=new ur("COMMENT_PREPROCESSOR",1),D2=new ur("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),_z=new ur("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),Uae=new ur("PARTITION_PREPROCESSOR",4),eN=new ur("LABEL_DUMMY_INSERTER",5),fN=new ur("SELF_LOOP_PREPROCESSOR",6),qw=new ur("LAYER_CONSTRAINT_PREPROCESSOR",7),zae=new ur("PARTITION_MIDPROCESSOR",8),Oae=new ur("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),Gae=new ur("NODE_PROMOTION",10),zw=new ur("LAYER_CONSTRAINT_POSTPROCESSOR",11),qae=new ur("PARTITION_POSTPROCESSOR",12),Nae=new ur("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),Vae=new ur("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),mae=new ur("BREAKING_POINT_INSERTER",15),rN=new ur("LONG_EDGE_SPLITTER",16),jz=new ur("PORT_SIDE_PROCESSOR",17),Q$=new ur("INVERTED_PORT_PROCESSOR",18),oN=new ur("PORT_LIST_SORTER",19),Kae=new ur("SORT_BY_INPUT_ORDER_OF_MODEL",20),uN=new ur("NORTH_SOUTH_PORT_PREPROCESSOR",21),vae=new ur("BREAKING_POINT_PROCESSOR",22),Hae=new ur(wQe,23),Wae=new ur(pQe,24),sN=new ur("SELF_LOOP_PORT_RESTORER",25),pae=new ur("ALTERNATING_LAYER_UNZIPPER",26),Xae=new ur("SINGLE_EDGE_GRAPH_WRAPPER",27),Z$=new ur("IN_LAYER_CONSTRAINT_PROCESSOR",28),jae=new ur("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",29),Bae=new ur("LABEL_AND_NODE_SIZE_PROCESSOR",30),Rae=new ur("INNERMOST_NODE_MARGIN_CALCULATOR",31),aN=new ur("SELF_LOOP_ROUTER",32),Eae=new ur("COMMENT_NODE_MARGIN_CALCULATOR",33),Y$=new ur("END_LABEL_PREPROCESSOR",34),tN=new ur("LABEL_DUMMY_SWITCHER",35),kae=new ur("CENTER_LABEL_MANAGEMENT_PROCESSOR",36),qy=new ur("LABEL_SIDE_SELECTOR",37),Lae=new ur("HYPEREDGE_DUMMY_MERGER",38),xae=new ur("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",39),Jae=new ur("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",40),M8=new ur("HIERARCHICAL_PORT_POSITION_PROCESSOR",41),Tae=new ur("CONSTRAINTS_POSTPROCESSOR",42),Cae=new ur("COMMENT_POSTPROCESSOR",43),Fae=new ur("HYPERNODE_PROCESSOR",44),Pae=new ur("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",45),iN=new ur("LONG_EDGE_JOINER",46),lN=new ur("SELF_LOOP_POSTPROCESSOR",47),yae=new ur("BREAKING_POINT_REMOVER",48),cN=new ur("NORTH_SOUTH_PORT_POSTPROCESSOR",49),Dae=new ur("HORIZONTAL_COMPACTOR",50),nN=new ur("LABEL_DUMMY_REMOVER",51),Iae=new ur("FINAL_SPLINE_BENDPOINTS_CALCULATOR",52),_ae=new ur("END_LABEL_SORTER",53),Xv=new ur("REVERSED_EDGE_RESTORER",54),W$=new ur("END_LABEL_POSTPROCESSOR",55),$ae=new ur("HIERARCHICAL_NODE_RESIZER",56),Mae=new ur("DIRECTION_POSTPROCESSOR",57)}function QBn(e,n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne,Ce,Ue,qe,fn,bn,Gn,$t,Di,ns,Bc,Vs,dm,Bd,hf,Kh,wl,k3,Bk,Wh,Of,Jd,rb,cb,E3,ub,ob,Yh,Tp,gpe,Tg,Jk,HV,C3,Gk,Mp,Hk,zV,jdn;for(gpe=0,$t=n,Bc=0,Bd=$t.length;Bc0&&(e.a[Of.p]=gpe++)}for(Gk=0,Di=t,Vs=0,hf=Di.length;Vs0;){for(Of=(qn(E3.b>0),u(E3.a.Xb(E3.c=--E3.b),12)),cb=0,l=new $(Of.e);l.a0&&(Of.j==(ke(),jn)?(e.a[Of.p]=Gk,++Gk):(e.a[Of.p]=Gk+Kh+k3,++k3))}Gk+=k3}for(rb=new Wn,T=new Ja,Gn=n,ns=0,dm=Gn.length;nsd.b&&(d.b=ub)):Of.i.c==Tp&&(ubd.c&&(d.c=ub));for(m5(S,0,S.length,null),C3=ee(pt,Ot,30,S.length,15,1),i=ee(pt,Ot,30,Gk+1,15,1),P=0;P0;)Ce%2>0&&(r+=zV[Ce+1]),Ce=(Ce-1)/2|0,++zV[Ce];for(qe=ee(psn,hn,370,S.length*2,0,1),K=0;K0&&sE(ns.f),fe(P,$x)!=null&&(!P.a&&(P.a=new oe(Et,P,10,11)),!!P.a)&&(!P.a&&(P.a=new oe(Et,P,10,11)),P.a).i>0?(l=u(fe(P,$x),521),cb=l.Sg(P),pb(P,m.Math.max(P.g,cb.a+Kh.b+Kh.c),m.Math.max(P.f,cb.b+Kh.d+Kh.a))):(!P.a&&(P.a=new oe(Et,P,10,11)),P.a).i!=0&&(cb=new he(X(Y(fe(P,bp))),X(Y(fe(P,bp)))/X(Y(fe(P,g4)))),pb(P,m.Math.max(P.g,cb.a+Kh.b+Kh.c),m.Math.max(P.f,cb.b+Kh.d+Kh.a)));if(hf=u(fe(n,sh),104),C=n.g-(hf.b+hf.c),y=n.f-(hf.d+hf.a),ob.ah("Available Child Area: ("+C+"|"+y+")"),si(n,d4,C/y),_He(n,r,i.dh(dm)),u(fe(n,b3),281)==Rx&&(tJ(n),pb(n,hf.b+X(Y(fe(n,fp)))+hf.c,hf.d+X(Y(fe(n,lp)))+hf.a)),ob.ah("Executed layout algorithm: "+wt(fe(n,a3))+" on node "+n.k),u(fe(n,b3),281)==pp){if(C<0||y<0)throw x(new Zh("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+n.k));for(kf(n,fp)||kf(n,lp)||tJ(n),S=X(Y(fe(n,fp))),T=X(Y(fe(n,lp))),ob.ah("Desired Child Area: ("+S+"|"+T+")"),k3=C/S,Bk=y/T,wl=m.Math.min(k3,m.Math.min(Bk,X(Y(fe(n,Pan))))),si(n,Ix,wl),ob.ah(n.k+" -- Local Scale Factor (X|Y): ("+k3+"|"+Bk+")"),K=u(fe(n,YA),22),c=0,o=0,wl'?":Ye(fen,e)?"'(?<' or '(? toIndex: ",Fue=", toIndex: ",Rue="Index: ",Bue=", Size: ",wy="org.eclipse.elk.alg.common",It={51:1},jYe="org.eclipse.elk.alg.common.compaction",IYe="Scanline/EventHandler",th="org.eclipse.elk.alg.common.compaction.oned",$Ye="CNode belongs to another CGroup.",NYe="ISpacingsHandler/1",BJ="The ",JJ=" instance has been finished already.",xYe="The direction ",PYe=" is not supported by the CGraph instance.",OYe="OneDimensionalCompactor",DYe="OneDimensionalCompactor/lambda$0$Type",LYe="Quadruplet",FYe="ScanlineConstraintCalculator",RYe="ScanlineConstraintCalculator/ConstraintsScanlineHandler",BYe="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",JYe="ScanlineConstraintCalculator/Timestamp",GYe="ScanlineConstraintCalculator/lambda$0$Type",$a={178:1,48:1},H9="org.eclipse.elk.alg.common.networksimplex",Tf={171:1,3:1,4:1},HYe="org.eclipse.elk.alg.common.nodespacing",P0="org.eclipse.elk.alg.common.nodespacing.cellsystem",py="CENTER",zYe={216:1,337:1},Jue={3:1,4:1,5:1,592:1},Pv="LEFT",Ov="RIGHT",Gue="Vertical alignment cannot be null",Hue="BOTTOM",NI="org.eclipse.elk.alg.common.nodespacing.internal",z9="UNDEFINED",ea=.01,BC="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",qYe="LabelPlacer/lambda$0$Type",UYe="LabelPlacer/lambda$1$Type",VYe="portRatioOrPosition",my="org.eclipse.elk.alg.common.overlaps",GJ="DOWN",Dv="org.eclipse.elk.alg.common.spore",Pw={3:1,4:1,5:1,198:1},XYe={3:1,6:1,4:1,5:1,90:1,110:1},HJ="org.eclipse.elk.alg.force",zue="ComponentsProcessor",KYe="ComponentsProcessor/1",que="ElkGraphImporter/lambda$0$Type",Qb={214:1},T2="org.eclipse.elk.core",JC="org.eclipse.elk.graph.properties",WYe="IPropertyHolder",GC="org.eclipse.elk.alg.force.graph",YYe="Component Layout",Uue="org.eclipse.elk.alg.force.model",ru="org.eclipse.elk.core.data",xI="org.eclipse.elk.force.model",Vue="org.eclipse.elk.force.iterations",Xue="org.eclipse.elk.force.repulsivePower",zJ="org.eclipse.elk.force.temperature",Na=.001,qJ="org.eclipse.elk.force.repulsion",na={148:1},q9="org.eclipse.elk.alg.force.options",vy=1.600000023841858,ao="org.eclipse.elk.force",HC="org.eclipse.elk.priority",Ow="org.eclipse.elk.spacing.nodeNode",UJ="org.eclipse.elk.spacing.edgeLabel",yy="org.eclipse.elk.aspectRatio",PI="org.eclipse.elk.randomSeed",U9="org.eclipse.elk.separateConnectedComponents",Dw="org.eclipse.elk.padding",V9="org.eclipse.elk.interactive",VJ="org.eclipse.elk.portConstraints",OI="org.eclipse.elk.edgeLabels.inline",X9="org.eclipse.elk.omitNodeMicroLayout",ky="org.eclipse.elk.nodeSize.fixedGraphSize",Lv="org.eclipse.elk.nodeSize.options",M2="org.eclipse.elk.nodeSize.constraints",Ey="org.eclipse.elk.nodeLabels.placement",Cy="org.eclipse.elk.portLabels.placement",zC="org.eclipse.elk.topdownLayout",qC="org.eclipse.elk.topdown.scaleFactor",UC="org.eclipse.elk.topdown.hierarchicalNodeWidth",VC="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",Zb="org.eclipse.elk.topdown.nodeType",Kue="origin",QYe="random",ZYe="boundingBox.upLeft",eQe="boundingBox.lowRight",Wue="org.eclipse.elk.stress.fixed",Yue="org.eclipse.elk.stress.desiredEdgeLength",Que="org.eclipse.elk.stress.dimension",Zue="org.eclipse.elk.stress.epsilon",eoe="org.eclipse.elk.stress.iterationLimit",E1="org.eclipse.elk.stress",nQe="ELK Stress",Fv="org.eclipse.elk.nodeSize.minimum",DI="org.eclipse.elk.alg.force.stress",tQe="Layered layout",Rv="org.eclipse.elk.alg.layered",XC="org.eclipse.elk.alg.layered.compaction.components",K9="org.eclipse.elk.alg.layered.compaction.oned",LI="org.eclipse.elk.alg.layered.compaction.oned.algs",O0="org.eclipse.elk.alg.layered.compaction.recthull",ta="org.eclipse.elk.alg.layered.components",Mf="NONE",XJ="MODEL_ORDER",Mu={3:1,6:1,4:1,10:1,5:1,126:1},iQe={3:1,6:1,4:1,5:1,135:1,90:1,110:1},FI="org.eclipse.elk.alg.layered.compound",di={43:1},Ou="org.eclipse.elk.alg.layered.graph",KJ=" -> ",rQe="Not supported by LGraph",noe="Port side is undefined",Ay={3:1,6:1,4:1,5:1,323:1,135:1,90:1,110:1},Ed={3:1,6:1,4:1,5:1,135:1,199:1,209:1,90:1,110:1},cQe={3:1,6:1,4:1,5:1,135:1,2004:1,209:1,90:1,110:1},uQe=`([{"' \r -`,oQe=`)]}"' \r -`,sQe="The given string contains parts that cannot be parsed as numbers.",KC="org.eclipse.elk.core.math",lQe={3:1,4:1,140:1,213:1,414:1},fQe={3:1,4:1,104:1,213:1,414:1},Cd="org.eclipse.elk.alg.layered.graph.transform",aQe="ElkGraphImporter",hQe="ElkGraphImporter/lambda$1$Type",dQe="ElkGraphImporter/lambda$2$Type",bQe="ElkGraphImporter/lambda$4$Type",On="org.eclipse.elk.alg.layered.intermediate",gQe="Node margin calculation",wQe="ONE_SIDED_GREEDY_SWITCH",pQe="TWO_SIDED_GREEDY_SWITCH",WJ="No implementation is available for the layout processor ",YJ="IntermediateProcessorStrategy",QJ="Node '",mQe="FIRST_SEPARATE",vQe="LAST_SEPARATE",yQe="Odd port side processing",er="org.eclipse.elk.alg.layered.intermediate.compaction",W9="org.eclipse.elk.alg.layered.intermediate.greedyswitch",ih="org.eclipse.elk.alg.layered.p3order.counting",Y9={220:1},Bv="org.eclipse.elk.alg.layered.intermediate.loops",Bs="org.eclipse.elk.alg.layered.intermediate.loops.ordering",C1="org.eclipse.elk.alg.layered.intermediate.loops.routing",RI="org.eclipse.elk.alg.layered.intermediate.preserveorder",xa="org.eclipse.elk.alg.layered.intermediate.wrapping",du="org.eclipse.elk.alg.layered.options",ZJ="INTERACTIVE",toe="GREEDY",kQe="DEPTH_FIRST",EQe="EDGE_LENGTH",CQe="SELF_LOOPS",AQe="firstTryWithInitialOrder",ioe="org.eclipse.elk.layered.directionCongruency",roe="org.eclipse.elk.layered.feedbackEdges",BI="org.eclipse.elk.layered.interactiveReferencePoint",coe="org.eclipse.elk.layered.mergeEdges",uoe="org.eclipse.elk.layered.mergeHierarchyEdges",ooe="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",soe="org.eclipse.elk.layered.portSortingStrategy",loe="org.eclipse.elk.layered.thoroughness",foe="org.eclipse.elk.layered.unnecessaryBendpoints",aoe="org.eclipse.elk.layered.generatePositionAndLayerIds",WC="org.eclipse.elk.layered.cycleBreaking.strategy",YC="org.eclipse.elk.layered.layering.strategy",hoe="org.eclipse.elk.layered.layering.layerConstraint",doe="org.eclipse.elk.layered.layering.layerChoiceConstraint",boe="org.eclipse.elk.layered.layering.layerId",eG="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",nG="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",tG="org.eclipse.elk.layered.layering.nodePromotion.strategy",iG="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",rG="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",Q9="org.eclipse.elk.layered.crossingMinimization.strategy",goe="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",cG="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",uG="org.eclipse.elk.layered.crossingMinimization.semiInteractive",woe="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",poe="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",moe="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",voe="org.eclipse.elk.layered.crossingMinimization.positionId",yoe="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",oG="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",JI="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",S2="org.eclipse.elk.layered.nodePlacement.strategy",GI="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",sG="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",lG="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",fG="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",aG="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",hG="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",koe="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",Eoe="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",HI="org.eclipse.elk.layered.edgeRouting.splines.mode",zI="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",dG="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",Coe="org.eclipse.elk.layered.spacing.baseValue",Aoe="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",Toe="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",Moe="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",Soe="org.eclipse.elk.layered.priority.direction",_oe="org.eclipse.elk.layered.priority.shortness",joe="org.eclipse.elk.layered.priority.straightness",bG="org.eclipse.elk.layered.compaction.connectedComponents",Ioe="org.eclipse.elk.layered.compaction.postCompaction.strategy",$oe="org.eclipse.elk.layered.compaction.postCompaction.constraints",qI="org.eclipse.elk.layered.highDegreeNodes.treatment",gG="org.eclipse.elk.layered.highDegreeNodes.threshold",wG="org.eclipse.elk.layered.highDegreeNodes.treeHeight",Rh="org.eclipse.elk.layered.wrapping.strategy",UI="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",VI="org.eclipse.elk.layered.wrapping.correctionFactor",Z9="org.eclipse.elk.layered.wrapping.cutting.strategy",pG="org.eclipse.elk.layered.wrapping.cutting.cuts",mG="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",XI="org.eclipse.elk.layered.wrapping.validify.strategy",KI="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",WI="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",YI="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",vG="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",yG="org.eclipse.elk.layered.layerUnzipping.strategy",kG="org.eclipse.elk.layered.layerUnzipping.minimizeEdgeLength",EG="org.eclipse.elk.layered.layerUnzipping.layerSplit",CG="org.eclipse.elk.layered.layerUnzipping.resetOnLongEdges",Noe="org.eclipse.elk.layered.edgeLabels.sideSelection",xoe="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",QI="org.eclipse.elk.layered.considerModelOrder.strategy",Poe="org.eclipse.elk.layered.considerModelOrder.portModelOrder",QC="org.eclipse.elk.layered.considerModelOrder.noModelOrder",AG="org.eclipse.elk.layered.considerModelOrder.components",Ooe="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",TG="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",MG="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",SG="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cycleBreakingId",_G="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.crossingMinimizationId",jG="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.componentGroupId",Doe="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbGroupOrderStrategy",IG="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredSourceId",$G="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredTargetId",Loe="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmGroupOrderStrategy",Foe="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmEnforcedGroupOrders",NG="layering",TQe="layering.minWidth",MQe="layering.nodePromotion",Ty="crossingMinimization",ZI="org.eclipse.elk.hierarchyHandling",SQe="crossingMinimization.greedySwitch",_Qe="nodePlacement",jQe="nodePlacement.bk",IQe="edgeRouting",ZC="org.eclipse.elk.edgeRouting",ia="spacing",Roe="priority",Boe="compaction",$Qe="compaction.postCompaction",NQe="Specifies whether and how post-process compaction is applied.",Joe="highDegreeNodes",Goe="wrapping",xQe="wrapping.cutting",PQe="wrapping.validify",Hoe="wrapping.multiEdge",xG="layerUnzipping",PG="edgeLabels",e8="considerModelOrder",My="considerModelOrder.groupModelOrder",zoe="Group ID of the Node Type",qoe="org.eclipse.elk.spacing.commentComment",Uoe="org.eclipse.elk.spacing.commentNode",Voe="org.eclipse.elk.spacing.componentComponent",Xoe="org.eclipse.elk.spacing.edgeEdge",OG="org.eclipse.elk.spacing.edgeNode",Koe="org.eclipse.elk.spacing.labelLabel",Woe="org.eclipse.elk.spacing.labelPortHorizontal",Yoe="org.eclipse.elk.spacing.labelPortVertical",Qoe="org.eclipse.elk.spacing.labelNode",Zoe="org.eclipse.elk.spacing.nodeSelfLoop",ese="org.eclipse.elk.spacing.portPort",nse="org.eclipse.elk.spacing.individual",tse="org.eclipse.elk.port.borderOffset",ise="org.eclipse.elk.noLayout",rse="org.eclipse.elk.port.side",eA="org.eclipse.elk.debugMode",cse="org.eclipse.elk.alignment",use="org.eclipse.elk.insideSelfLoops.activate",ose="org.eclipse.elk.insideSelfLoops.yo",DG="org.eclipse.elk.direction",sse="org.eclipse.elk.nodeLabels.padding",lse="org.eclipse.elk.portLabels.nextToPortIfPossible",fse="org.eclipse.elk.portLabels.treatAsGroup",ase="org.eclipse.elk.portAlignment.default",hse="org.eclipse.elk.portAlignment.north",dse="org.eclipse.elk.portAlignment.south",bse="org.eclipse.elk.portAlignment.west",gse="org.eclipse.elk.portAlignment.east",e$="org.eclipse.elk.contentAlignment",wse="org.eclipse.elk.junctionPoints",pse="org.eclipse.elk.edge.thickness",mse="org.eclipse.elk.edgeLabels.placement",vse="org.eclipse.elk.port.index",yse="org.eclipse.elk.commentBox",kse="org.eclipse.elk.hypernode",Ese="org.eclipse.elk.port.anchor",LG="org.eclipse.elk.partitioning.activate",FG="org.eclipse.elk.partitioning.partition",n$="org.eclipse.elk.position",Cse="org.eclipse.elk.margins",Ase="org.eclipse.elk.spacing.portsSurrounding",t$="org.eclipse.elk.interactiveLayout",ku="org.eclipse.elk.core.util",Tse={3:1,4:1,5:1,590:1},OQe="NETWORK_SIMPLEX",Mse="SIMPLE",Zr={95:1,43:1},eg="org.eclipse.elk.alg.layered.p1cycles",DQe="Depth-first cycle removal",LQe="Model order cycle breaking",Bh="org.eclipse.elk.alg.layered.p2layers",Sse={406:1,220:1},FQe={830:1,3:1,4:1},ho="org.eclipse.elk.alg.layered.p3order",_2=17976931348623157e292,RG=5e-324,Ac="org.eclipse.elk.alg.layered.p4nodes",RQe={3:1,4:1,5:1,838:1},Pa=1e-5,A1="org.eclipse.elk.alg.layered.p4nodes.bk",BG="org.eclipse.elk.alg.layered.p5edges",Sf="org.eclipse.elk.alg.layered.p5edges.orthogonal",JG="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",GG=1e-6,Lw="org.eclipse.elk.alg.layered.p5edges.splines",HG=.09999999999999998,i$=1e-8,BQe=4.71238898038469,JQe=1.5707963267948966,_se=3.141592653589793,Jh="org.eclipse.elk.alg.mrtree",zG=.10000000149011612,r$="SUPER_ROOT",n8="org.eclipse.elk.alg.mrtree.graph",jse=-17976931348623157e292,Vu="org.eclipse.elk.alg.mrtree.intermediate",GQe="Processor compute fanout",c$={3:1,6:1,4:1,5:1,522:1,90:1,110:1},HQe="Set neighbors in level",nA="org.eclipse.elk.alg.mrtree.options",zQe="DESCENDANTS",Ise="org.eclipse.elk.mrtree.compaction",$se="org.eclipse.elk.mrtree.edgeEndTextureLength",Nse="org.eclipse.elk.mrtree.treeLevel",xse="org.eclipse.elk.mrtree.positionConstraint",Pse="org.eclipse.elk.mrtree.weighting",Ose="org.eclipse.elk.mrtree.edgeRoutingMode",Dse="org.eclipse.elk.mrtree.searchOrder",qQe="Position Constraint",bo="org.eclipse.elk.mrtree",UQe="org.eclipse.elk.tree",VQe="Processor arrange level",Sy="org.eclipse.elk.alg.mrtree.p2order",Ms="org.eclipse.elk.alg.mrtree.p4route",Lse="org.eclipse.elk.alg.radial",D0=6.283185307179586,Fse="Before",u$="After",Rse="org.eclipse.elk.alg.radial.intermediate",XQe="COMPACTION",qG="org.eclipse.elk.alg.radial.intermediate.compaction",KQe={3:1,4:1,5:1,90:1},Bse="org.eclipse.elk.alg.radial.intermediate.optimization",UG="No implementation is available for the layout option ",t8="org.eclipse.elk.alg.radial.options",WQe="CompactionStrategy",Jse="org.eclipse.elk.radial.centerOnRoot",Gse="org.eclipse.elk.radial.orderId",Hse="org.eclipse.elk.radial.radius",o$="org.eclipse.elk.radial.rotate",VG="org.eclipse.elk.radial.compactor",XG="org.eclipse.elk.radial.compactionStepSize",zse="org.eclipse.elk.radial.sorter",qse="org.eclipse.elk.radial.wedgeCriteria",Use="org.eclipse.elk.radial.optimizationCriteria",KG="org.eclipse.elk.radial.rotation.targetAngle",WG="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",Vse="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",YQe="Compaction",Xse="rotation",ol="org.eclipse.elk.radial",QQe="org.eclipse.elk.alg.radial.p1position.wedge",Kse="org.eclipse.elk.alg.radial.sorting",ZQe=5.497787143782138,eZe=3.9269908169872414,nZe=2.356194490192345,tZe="org.eclipse.elk.alg.rectpacking",i8="org.eclipse.elk.alg.rectpacking.intermediate",YG="org.eclipse.elk.alg.rectpacking.options",Wse="org.eclipse.elk.rectpacking.trybox",Yse="org.eclipse.elk.rectpacking.currentPosition",Qse="org.eclipse.elk.rectpacking.desiredPosition",Zse="org.eclipse.elk.rectpacking.inNewRow",ele="org.eclipse.elk.rectpacking.orderBySize",nle="org.eclipse.elk.rectpacking.widthApproximation.strategy",tle="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",ile="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",rle="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",cle="org.eclipse.elk.rectpacking.packing.strategy",ule="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",ole="org.eclipse.elk.rectpacking.packing.compaction.iterations",sle="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",QG="widthApproximation",iZe="Compaction Strategy",rZe="packing.compaction",Wo="org.eclipse.elk.rectpacking",_y="org.eclipse.elk.alg.rectpacking.p1widthapproximation",s$="org.eclipse.elk.alg.rectpacking.p2packing",cZe="No Compaction",lle="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",tA="org.eclipse.elk.alg.rectpacking.util",l$="No implementation available for ",Fw="org.eclipse.elk.alg.spore",Rw="org.eclipse.elk.alg.spore.options",ng="org.eclipse.elk.sporeCompaction",ZG="org.eclipse.elk.underlyingLayoutAlgorithm",fle="org.eclipse.elk.processingOrder.treeConstruction",ale="org.eclipse.elk.processingOrder.spanningTreeCostFunction",eH="org.eclipse.elk.processingOrder.preferredRoot",nH="org.eclipse.elk.processingOrder.rootSelection",tH="org.eclipse.elk.structure.structureExtractionStrategy",hle="org.eclipse.elk.compaction.compactionStrategy",dle="org.eclipse.elk.compaction.orthogonal",ble="org.eclipse.elk.overlapRemoval.maxIterations",gle="org.eclipse.elk.overlapRemoval.runScanline",iH="processingOrder",uZe="overlapRemoval",jy="org.eclipse.elk.sporeOverlap",oZe="org.eclipse.elk.alg.spore.p1structure",rH="org.eclipse.elk.alg.spore.p2processingorder",cH="org.eclipse.elk.alg.spore.p3execution",sZe="Topdown Layout",lZe="Invalid index: ",Iy="org.eclipse.elk.core.alg",j2={342:1},Bw={296:1},fZe="Make sure its type is registered with the ",wle=" utility class.",$y="true",uH="false",aZe="Couldn't clone property '",tg=.05,co="org.eclipse.elk.core.options",hZe=1.2999999523162842,ig="org.eclipse.elk.box",ple="org.eclipse.elk.expandNodes",mle="org.eclipse.elk.box.packingMode",dZe="org.eclipse.elk.algorithm",bZe="org.eclipse.elk.resolvedAlgorithm",vle="org.eclipse.elk.bendPoints",iJn="org.eclipse.elk.labelManager",gZe="org.eclipse.elk.softwrappingFuzziness",wZe="org.eclipse.elk.scaleFactor",pZe="org.eclipse.elk.childAreaWidth",mZe="org.eclipse.elk.childAreaHeight",vZe="org.eclipse.elk.animate",yZe="org.eclipse.elk.animTimeFactor",kZe="org.eclipse.elk.layoutAncestors",EZe="org.eclipse.elk.maxAnimTime",CZe="org.eclipse.elk.minAnimTime",AZe="org.eclipse.elk.progressBar",TZe="org.eclipse.elk.validateGraph",MZe="org.eclipse.elk.validateOptions",SZe="org.eclipse.elk.zoomToFit",_Ze="org.eclipse.elk.json.shapeCoords",jZe="org.eclipse.elk.json.edgeCoords",rJn="org.eclipse.elk.font.name",IZe="org.eclipse.elk.font.size",oH="org.eclipse.elk.topdown.sizeCategories",yle="org.eclipse.elk.topdown.sizeCategoriesHierarchicalNodeWeight",sH="org.eclipse.elk.topdown.sizeApproximator",kle="org.eclipse.elk.topdown.scaleCap",$Ze="org.eclipse.elk.edge.type",NZe="partitioning",xZe="nodeLabels",f$="portAlignment",lH="nodeSize",fH="port",Ele="portLabels",Ny="topdown",PZe="insideSelfLoops",Cle="INHERIT",xy="org.eclipse.elk.fixed",a$="org.eclipse.elk.random",h$={3:1,35:1,23:1,521:1,288:1},OZe="port must have a parent node to calculate the port side",DZe="The edge needs to have exactly one edge section. Found: ",r8="org.eclipse.elk.core.util.adapters",sl="org.eclipse.emf.ecore",I2="org.eclipse.elk.graph",LZe="EMapPropertyHolder",FZe="ElkBendPoint",RZe="ElkGraphElement",BZe="ElkConnectableShape",Ale="ElkEdge",JZe="ElkEdgeSection",GZe="EModelElement",HZe="ENamedElement",Tle="ElkLabel",Mle="ElkNode",Sle="ElkPort",zZe={94:1,93:1},Jv="org.eclipse.emf.common.notify.impl",T1="The feature '",c8="' is not a valid changeable feature",qZe="Expecting null",aH="' is not a valid feature",UZe="The feature ID",VZe=" is not a valid feature ID",Eu=32768,XZe={109:1,94:1,93:1,57:1,52:1,100:1},Cn="org.eclipse.emf.ecore.impl",L0="org.eclipse.elk.graph.impl",u8="Recursive containment not allowed for ",Py="The datatype '",rg="' is not a valid classifier",hH="The value '",$2={195:1,3:1,4:1},dH="The class '",Oy="http://www.eclipse.org/elk/ElkGraph",_le="property",o8="value",bH="source",KZe="properties",WZe="identifier",gH="height",wH="width",pH="parent",mH="text",vH="children",YZe="hierarchical",jle="sources",yH="targets",kH="sections",d$="bendPoints",Ile="outgoingShape",$le="incomingShape",Nle="outgoingSections",xle="incomingSections",ac="org.eclipse.emf.common.util",Ple="Severe implementation error in the Json to ElkGraph importer.",Oa="id",qr="org.eclipse.elk.graph.json",Dy="Unhandled parameter types: ",QZe="startPoint",ZZe="An edge must have at least one source and one target (edge id: '",Ly="').",een="Referenced edge section does not exist: ",nen=" (edge id: '",Ole="target",ten="sourcePoint",ien="targetPoint",b$="group",Ht="name",ren="connectableShape cannot be null",cen="edge cannot be null",uen="Passed edge is not 'simple'.",g$="org.eclipse.elk.graph.util",iA="The 'no duplicates' constraint is violated",EH="targetIndex=",F0=", size=",CH="sourceIndex=",Da={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1},AH={3:1,4:1,20:1,31:1,56:1,18:1,50:1,16:1,59:1,71:1,67:1,61:1,585:1},w$="logging",oen="measureExecutionTime",sen="parser.parse.1",len="parser.parse.2",p$="parser.next.1",TH="parser.next.2",fen="parser.next.3",aen="parser.next.4",R0="parser.factor.1",Dle="parser.factor.2",hen="parser.factor.3",den="parser.factor.4",ben="parser.factor.5",gen="parser.factor.6",wen="parser.atom.1",pen="parser.atom.2",men="parser.atom.3",Lle="parser.atom.4",MH="parser.atom.5",Fle="parser.cc.1",m$="parser.cc.2",ven="parser.cc.3",yen="parser.cc.5",Rle="parser.cc.6",Ble="parser.cc.7",SH="parser.cc.8",ken="parser.ope.1",Een="parser.ope.2",Cen="parser.ope.3",Ad="parser.descape.1",Aen="parser.descape.2",Ten="parser.descape.3",Men="parser.descape.4",Sen="parser.descape.5",ll="parser.process.1",_en="parser.quantifier.1",jen="parser.quantifier.2",Ien="parser.quantifier.3",$en="parser.quantifier.4",Jle="parser.quantifier.5",Nen="org.eclipse.emf.common.notify",Gle={415:1,676:1},xen={3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1},rA={373:1,151:1},s8="index=",_H={3:1,4:1,5:1,129:1},Pen={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,61:1},Hle={3:1,6:1,4:1,5:1,198:1},Oen={3:1,4:1,5:1,175:1,374:1},Zl=1024,Den=";/?:@&=+$,",Len="invalid authority: ",Fen="EAnnotation",Ren="ETypedElement",Ben="EStructuralFeature",Jen="EAttribute",Gen="EClassifier",Hen="EEnumLiteral",zen="EGenericType",qen="EOperation",Uen="EParameter",Ven="EReference",Xen="ETypeParameter",_i="org.eclipse.emf.ecore.util",jH={77:1},zle={3:1,20:1,18:1,16:1,61:1,586:1,77:1,72:1,98:1},Ken="org.eclipse.emf.ecore.util.FeatureMap$Entry",Go=8192,l8="byte",v$="char",f8="double",a8="float",h8="int",d8="long",b8="short",Wen="java.lang.Object",N2={3:1,4:1,5:1,255:1},qle={3:1,4:1,5:1,678:1},Yen={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,72:1},Xc={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,77:1,72:1,98:1},cA="mixed",Mt="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",Tl="kind",Qen={3:1,4:1,5:1,679:1},Ule={3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1,77:1,72:1,98:1},y$={20:1,31:1,56:1,18:1,16:1,61:1,72:1},k$={50:1,128:1,287:1},E$={75:1,344:1},C$="The value of type '",A$="' must be of type '",x2=1306,Ml="http://www.eclipse.org/emf/2002/Ecore",T$=-32768,cg="constraints",ec="baseType",Zen="getEStructuralFeature",enn="getFeatureID",g8="feature",nnn="getOperationID",Vle="operation",tnn="defaultValue",inn="eTypeParameters",rnn="isInstance",cnn="getEEnumLiteral",unn="eContainingClass",Rt={58:1},onn={3:1,4:1,5:1,122:1},snn="org.eclipse.emf.ecore.resource",lnn={94:1,93:1,588:1,1996:1},IH="org.eclipse.emf.ecore.resource.impl",Xle="unspecified",uA="simple",M$="attribute",fnn="attributeWildcard",S$="element",$H="elementWildcard",_f="collapse",NH="itemType",_$="namespace",oA="##targetNamespace",Sl="whiteSpace",Kle="wildcards",B0="http://www.eclipse.org/emf/2003/XMLType",xH="##any",Fy="uninitialized",sA="The multiplicity constraint is violated",j$="org.eclipse.emf.ecore.xml.type",ann="ProcessingInstruction",hnn="SimpleAnyType",dnn="XMLTypeDocumentRoot",dr="org.eclipse.emf.ecore.xml.type.impl",lA="INF",bnn="processing",gnn="ENTITIES_._base",Wle="minLength",Yle="ENTITY",I$="NCName",wnn="IDREFS_._base",Qle="integer",PH="token",OH="pattern",pnn="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",Zle="\\i\\c*",mnn="[\\i-[:]][\\c-[:]]*",vnn="nonPositiveInteger",fA="maxInclusive",efe="NMTOKEN",ynn="NMTOKENS_._base",nfe="nonNegativeInteger",aA="minInclusive",knn="normalizedString",Enn="unsignedByte",Cnn="unsignedInt",Ann="18446744073709551615",Tnn="unsignedShort",Mnn="processingInstruction",Td="org.eclipse.emf.ecore.xml.type.internal",Ry=1114111,Snn="Internal Error: shorthands: \\u",w8="xml:isDigit",DH="xml:isWord",LH="xml:isSpace",FH="xml:isNameChar",RH="xml:isInitialNameChar",_nn="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",jnn="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",Inn="Private Use",BH="ASSIGNED",JH="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",tfe="UNASSIGNED",By={3:1,121:1},$nn="org.eclipse.emf.ecore.xml.type.util",$$={3:1,4:1,5:1,376:1},ife="org.eclipse.xtext.xbase.lib",Nnn="Cannot add elements to a Range",xnn="Cannot set elements in a Range",Pnn="Cannot remove elements from a Range",Onn="user.agent",s,N$,GH;m.goog=m.goog||{},m.goog.global=m.goog.global||m,N$={},p(1,null,{},N),s.Fb=function(n){return fIe(this,n)},s.Gb=function(){return this.Pm},s.Hb=function(){return yb(this)},s.Ib=function(){var n;return i0(ks(this))+"@"+(n=vi(this)>>>0,n.toString(16))},s.equals=function(e){return this.Fb(e)},s.hashCode=function(){return this.Hb()},s.toString=function(){return this.Ib()};var Dnn,Lnn,Fnn;p(298,1,{298:1,2086:1},ite),s.te=function(n){var t;return t=new ite,t.i=4,n>1?t.c=ROe(this,n-1):t.c=this,t},s.ue=function(){return kh(this),this.b},s.ve=function(){return i0(this)},s.we=function(){return kh(this),this.k},s.xe=function(){return(this.i&4)!=0},s.ye=function(){return(this.i&1)!=0},s.Ib=function(){return dne(this)},s.i=0;var vr=v(hu,"Object",1),rfe=v(hu,"Class",298);p(2058,1,jC),v(IC,"Optional",2058),p(1160,2058,jC,L),s.Fb=function(n){return n===this},s.Hb=function(){return 2040732332},s.Ib=function(){return"Optional.absent()"},s.Jb=function(n){return at(n),H4(),HH};var HH;v(IC,"Absent",1160),p(627,1,{},MO),v(IC,"Joiner",627);var cJn=Pi(IC,"Predicate");p(577,1,{178:1,577:1,3:1,48:1},U7e),s.Mb=function(n){return FJe(this,n)},s.Lb=function(n){return FJe(this,n)},s.Fb=function(n){var t;return J(n,577)?(t=u(n,577),Zre(this.a,t.a)):!1},s.Hb=function(){return ste(this.a)+306654252},s.Ib=function(){return cIn(this.a)},v(IC,"Predicates/AndPredicate",577),p(411,2058,{411:1,3:1},WT),s.Fb=function(n){var t;return J(n,411)?(t=u(n,411),Qt(this.a,t.a)):!1},s.Hb=function(){return 1502476572+vi(this.a)},s.Ib=function(){return rYe+this.a+")"},s.Jb=function(n){return new WT(n_(n.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},v(IC,"Present",411),p(204,1,ly),s.Nb=function(n){Ur(this,n)},s.Qb=function(){eSe()},v(We,"UnmodifiableIterator",204),p(2038,204,fy),s.Qb=function(){eSe()},s.Rb=function(n){throw x(new bt)},s.Wb=function(n){throw x(new bt)},v(We,"UnmodifiableListIterator",2038),p(392,2038,fy),s.Ob=function(){return this.b0},s.Pb=function(){if(this.b>=this.c)throw x(new Wc);return this.Xb(this.b++)},s.Tb=function(){return this.b},s.Ub=function(){if(this.b<=0)throw x(new Wc);return this.Xb(--this.b)},s.Vb=function(){return this.b-1},s.b=0,s.c=0,v(We,"AbstractIndexedListIterator",392),p(702,204,ly),s.Ob=function(){return IF(this)},s.Pb=function(){return one(this)},s.e=1,v(We,"AbstractIterator",702),p(2046,1,{229:1}),s.Zb=function(){var n;return n=this.f,n||(this.f=this.ac())},s.Fb=function(n){return QF(this,n)},s.Hb=function(){return vi(this.Zb())},s.dc=function(){return this.gc()==0},s.ec=function(){return Km(this)},s.Ib=function(){return Vc(this.Zb())},v(We,"AbstractMultimap",2046),p(730,2046,N0),s.$b=function(){z_(this)},s._b=function(n){return pSe(this,n)},s.ac=function(){return new q3(this,this.c)},s.ic=function(n){return this.hc()},s.bc=function(){return new Xp(this,this.c)},s.jc=function(){return this.mc(this.hc())},s.kc=function(){return new RMe(this)},s.lc=function(){return cB(this.c.vc().Lc(),new z,64,this.d)},s.cc=function(n){return ri(this,n)},s.fc=function(n){return zE(this,n)},s.gc=function(){return this.d},s.mc=function(n){return un(),new P3(n)},s.nc=function(){return new FMe(this)},s.oc=function(){return cB(this.c.Bc().Lc(),new F,64,this.d)},s.pc=function(n,t){return new T_(this,n,t,null)},s.d=0,v(We,"AbstractMapBasedMultimap",730),p(1661,730,N0),s.hc=function(){return new eo(this.a)},s.jc=function(){return un(),un(),bc},s.cc=function(n){return u(ri(this,n),16)},s.fc=function(n){return u(zE(this,n),16)},s.Zb=function(){return nv(this)},s.Fb=function(n){return QF(this,n)},s.qc=function(n){return u(ri(this,n),16)},s.rc=function(n){return u(zE(this,n),16)},s.mc=function(n){return t_(u(n,16))},s.pc=function(n,t){return XDe(this,n,u(t,16),null)},v(We,"AbstractListMultimap",1661),p(736,1,Or),s.Nb=function(n){Ur(this,n)},s.Ob=function(){return this.c.Ob()||this.e.Ob()},s.Pb=function(){var n;return this.e.Ob()||(n=u(this.c.Pb(),45),this.b=n.jd(),this.a=u(n.kd(),18),this.e=this.a.Jc()),this.sc(this.b,this.e.Pb())},s.Qb=function(){this.e.Qb(),u(yl(this.a),18).dc()&&this.c.Qb(),--this.d.d},v(We,"AbstractMapBasedMultimap/Itr",736),p(1098,736,Or,FMe),s.sc=function(n,t){return t},v(We,"AbstractMapBasedMultimap/1",1098),p(1099,1,{},F),s.Kb=function(n){return u(n,18).Lc()},v(We,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1099),p(1100,736,Or,RMe),s.sc=function(n,t){return new gb(n,t)},v(We,"AbstractMapBasedMultimap/2",1100);var cfe=Pi(Yn,"Map");p(2027,1,Wb),s.wc=function(n){PE(this,n)},s.$b=function(){this.vc().$b()},s.tc=function(n){return JR(this,n)},s._b=function(n){return!!Yie(this,n,!1)},s.uc=function(n){var t,i,r;for(i=this.vc().Jc();i.Ob();)if(t=u(i.Pb(),45),r=t.kd(),Z(n)===Z(r)||n!=null&&Qt(n,r))return!0;return!1},s.Fb=function(n){var t,i,r;if(n===this)return!0;if(!J(n,92)||(r=u(n,92),this.gc()!=r.gc()))return!1;for(i=r.vc().Jc();i.Ob();)if(t=u(i.Pb(),45),!this.tc(t))return!1;return!0},s.xc=function(n){return Qc(Yie(this,n,!1))},s.Hb=function(){return Zne(this.vc())},s.dc=function(){return this.gc()==0},s.ec=function(){return new wh(this)},s.yc=function(n,t){throw x(new Qh("Put not supported on this map"))},s.zc=function(n){W6(this,n)},s.Ac=function(n){return Qc(Yie(this,n,!0))},s.gc=function(){return this.vc().gc()},s.Ib=function(){return iqe(this)},s.Bc=function(){return new ph(this)},v(Yn,"AbstractMap",2027),p(2047,2027,Wb),s.bc=function(){return new kM(this)},s.vc=function(){return Dxe(this)},s.ec=function(){var n;return n=this.g,n||(this.g=this.bc())},s.Bc=function(){var n;return n=this.i,n||(this.i=new s_e(this))},v(We,"Maps/ViewCachingAbstractMap",2047),p(395,2047,Wb,q3),s.xc=function(n){return n7n(this,n)},s.Ac=function(n){return hCn(this,n)},s.$b=function(){this.d==this.e.c?this.e.$b():NS(new sZ(this))},s._b=function(n){return wGe(this.d,n)},s.Dc=function(){return new V7e(this)},s.Cc=function(){return this.Dc()},s.Fb=function(n){return this===n||Qt(this.d,n)},s.Hb=function(){return vi(this.d)},s.ec=function(){return this.e.ec()},s.gc=function(){return this.d.gc()},s.Ib=function(){return Vc(this.d)},v(We,"AbstractMapBasedMultimap/AsMap",395);var fl=Pi(hu,"Iterable");p(31,1,$w),s.Ic=function(n){Yr(this,n)},s.Lc=function(){return new nn(this,0)},s.Mc=function(){return new Ze(null,this.Lc())},s.Ec=function(n){throw x(new Qh("Add not supported on this collection"))},s.Fc=function(n){return ic(this,n)},s.$b=function(){UZ(this)},s.Gc=function(n){return pw(this,n,!1)},s.Hc=function(n){return BE(this,n)},s.dc=function(){return this.gc()==0},s.Kc=function(n){return pw(this,n,!0)},s.Nc=function(){return mZ(this)},s.Oc=function(n){return g9(this,n)},s.Ib=function(){return Yf(this)},v(Yn,"AbstractCollection",31);var _l=Pi(Yn,"Set");p(Zf,31,Jo),s.Lc=function(){return new nn(this,1)},s.Fb=function(n){return mHe(this,n)},s.Hb=function(){return Zne(this)},v(Yn,"AbstractSet",Zf),p(2030,Zf,Jo),v(We,"Sets/ImprovedAbstractSet",2030),p(2031,2030,Jo),s.$b=function(){this.Pc().$b()},s.Gc=function(n){return ZGe(this,n)},s.dc=function(){return this.Pc().dc()},s.Kc=function(n){var t;return this.Gc(n)&&J(n,45)?(t=u(n,45),this.Pc().ec().Kc(t.jd())):!1},s.gc=function(){return this.Pc().gc()},v(We,"Maps/EntrySet",2031),p(1096,2031,Jo,V7e),s.Gc=function(n){return Tte(this.a.d.vc(),n)},s.Jc=function(){return new sZ(this.a)},s.Pc=function(){return this.a},s.Kc=function(n){var t;return Tte(this.a.d.vc(),n)?(t=u(yl(u(n,45)),45),R8n(this.a.e,t.jd()),!0):!1},s.Lc=function(){return Y7(this.a.d.vc().Lc(),new X7e(this.a))},v(We,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1096),p(1097,1,{},X7e),s.Kb=function(n){return $Le(this.a,u(n,45))},v(We,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1097),p(734,1,Or,sZ),s.Nb=function(n){Ur(this,n)},s.Pb=function(){var n;return n=u(this.b.Pb(),45),this.a=u(n.kd(),18),$Le(this.c,n)},s.Ob=function(){return this.b.Ob()},s.Qb=function(){n5(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},v(We,"AbstractMapBasedMultimap/AsMap/AsMapIterator",734),p(530,2030,Jo,kM),s.$b=function(){this.b.$b()},s.Gc=function(n){return this.b._b(n)},s.Ic=function(n){at(n),this.b.wc(new hEe(n))},s.dc=function(){return this.b.dc()},s.Jc=function(){return new z4(this.b.vc().Jc())},s.Kc=function(n){return this.b._b(n)?(this.b.Ac(n),!0):!1},s.gc=function(){return this.b.gc()},v(We,"Maps/KeySet",530),p(332,530,Jo,Xp),s.$b=function(){var n;NS((n=this.b.vc().Jc(),new PW(this,n)))},s.Hc=function(n){return this.b.ec().Hc(n)},s.Fb=function(n){return this===n||Qt(this.b.ec(),n)},s.Hb=function(){return vi(this.b.ec())},s.Jc=function(){var n;return n=this.b.vc().Jc(),new PW(this,n)},s.Kc=function(n){var t,i;return i=0,t=u(this.b.Ac(n),18),t&&(i=t.gc(),t.$b(),this.a.d-=i),i>0},s.Lc=function(){return this.b.ec().Lc()},v(We,"AbstractMapBasedMultimap/KeySet",332),p(735,1,Or,PW),s.Nb=function(n){Ur(this,n)},s.Ob=function(){return this.c.Ob()},s.Pb=function(){return this.a=u(this.c.Pb(),45),this.a.jd()},s.Qb=function(){var n;n5(!!this.a),n=u(this.a.kd(),18),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},v(We,"AbstractMapBasedMultimap/KeySet/1",735),p(489,395,{92:1,134:1},z7),s.bc=function(){return this.Qc()},s.ec=function(){return this.Sc()},s.Qc=function(){return new m7(this.c,this.Uc())},s.Rc=function(){return this.Uc().Rc()},s.Sc=function(){var n;return n=this.b,n||(this.b=this.Qc())},s.Tc=function(){return this.Uc().Tc()},s.Uc=function(){return u(this.d,134)},v(We,"AbstractMapBasedMultimap/SortedAsMap",489),p(437,489,Tue,A6),s.bc=function(){return new U3(this.a,u(u(this.d,134),138))},s.Qc=function(){return new U3(this.a,u(u(this.d,134),138))},s.ec=function(){var n;return n=this.b,u(n||(this.b=new U3(this.a,u(u(this.d,134),138))),277)},s.Sc=function(){var n;return n=this.b,u(n||(this.b=new U3(this.a,u(u(this.d,134),138))),277)},s.Uc=function(){return u(u(this.d,134),138)},s.Vc=function(n){return u(u(this.d,134),138).Vc(n)},s.Wc=function(n){return u(u(this.d,134),138).Wc(n)},s.Xc=function(n,t){return new A6(this.a,u(u(this.d,134),138).Xc(n,t))},s.Yc=function(n){return u(u(this.d,134),138).Yc(n)},s.Zc=function(n){return u(u(this.d,134),138).Zc(n)},s.$c=function(n,t){return new A6(this.a,u(u(this.d,134),138).$c(n,t))},v(We,"AbstractMapBasedMultimap/NavigableAsMap",437),p(488,332,cYe,m7),s.Lc=function(){return this.b.ec().Lc()},v(We,"AbstractMapBasedMultimap/SortedKeySet",488),p(394,488,Mue,U3),v(We,"AbstractMapBasedMultimap/NavigableKeySet",394),p(539,31,$w,T_),s.Ec=function(n){var t,i;return ls(this),i=this.d.dc(),t=this.d.Ec(n),t&&(++this.f.d,i&&X7(this)),t},s.Fc=function(n){var t,i,r;return n.dc()?!1:(r=(ls(this),this.d.gc()),t=this.d.Fc(n),t&&(i=this.d.gc(),this.f.d+=i-r,r==0&&X7(this)),t)},s.$b=function(){var n;n=(ls(this),this.d.gc()),n!=0&&(this.d.$b(),this.f.d-=n,FS(this))},s.Gc=function(n){return ls(this),this.d.Gc(n)},s.Hc=function(n){return ls(this),this.d.Hc(n)},s.Fb=function(n){return n===this?!0:(ls(this),Qt(this.d,n))},s.Hb=function(){return ls(this),vi(this.d)},s.Jc=function(){return ls(this),new UQ(this)},s.Kc=function(n){var t;return ls(this),t=this.d.Kc(n),t&&(--this.f.d,FS(this)),t},s.gc=function(){return Qje(this)},s.Lc=function(){return ls(this),this.d.Lc()},s.Ib=function(){return ls(this),Vc(this.d)},v(We,"AbstractMapBasedMultimap/WrappedCollection",539);var Js=Pi(Yn,"List");p(732,539,{20:1,31:1,18:1,16:1},vZ),s.gd=function(n){y0(this,n)},s.Lc=function(){return ls(this),this.d.Lc()},s._c=function(n,t){var i;ls(this),i=this.d.dc(),u(this.d,16)._c(n,t),++this.a.d,i&&X7(this)},s.ad=function(n,t){var i,r,c;return t.dc()?!1:(c=(ls(this),this.d.gc()),i=u(this.d,16).ad(n,t),i&&(r=this.d.gc(),this.a.d+=r-c,c==0&&X7(this)),i)},s.Xb=function(n){return ls(this),u(this.d,16).Xb(n)},s.bd=function(n){return ls(this),u(this.d,16).bd(n)},s.cd=function(){return ls(this),new jIe(this)},s.dd=function(n){return ls(this),new KPe(this,n)},s.ed=function(n){var t;return ls(this),t=u(this.d,16).ed(n),--this.a.d,FS(this),t},s.fd=function(n,t){return ls(this),u(this.d,16).fd(n,t)},s.hd=function(n,t){return ls(this),XDe(this.a,this.e,u(this.d,16).hd(n,t),this.b?this.b:this)},v(We,"AbstractMapBasedMultimap/WrappedList",732),p(1095,732,{20:1,31:1,18:1,16:1,59:1},p$e),v(We,"AbstractMapBasedMultimap/RandomAccessWrappedList",1095),p(619,1,Or,UQ),s.Nb=function(n){Ur(this,n)},s.Ob=function(){return h5(this),this.b.Ob()},s.Pb=function(){return h5(this),this.b.Pb()},s.Qb=function(){e$e(this)},v(We,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",619),p(733,619,Qa,jIe,KPe),s.Qb=function(){e$e(this)},s.Rb=function(n){var t;t=Qje(this.a)==0,(h5(this),u(this.b,128)).Rb(n),++this.a.a.d,t&&X7(this.a)},s.Sb=function(){return(h5(this),u(this.b,128)).Sb()},s.Tb=function(){return(h5(this),u(this.b,128)).Tb()},s.Ub=function(){return(h5(this),u(this.b,128)).Ub()},s.Vb=function(){return(h5(this),u(this.b,128)).Vb()},s.Wb=function(n){(h5(this),u(this.b,128)).Wb(n)},v(We,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",733),p(731,539,cYe,hQ),s.Lc=function(){return ls(this),this.d.Lc()},v(We,"AbstractMapBasedMultimap/WrappedSortedSet",731),p(1094,731,Mue,AIe),v(We,"AbstractMapBasedMultimap/WrappedNavigableSet",1094),p(1093,539,Jo,H$e),s.Lc=function(){return ls(this),this.d.Lc()},v(We,"AbstractMapBasedMultimap/WrappedSet",1093),p(1102,1,{},z),s.Kb=function(n){return K8n(u(n,45))},v(We,"AbstractMapBasedMultimap/lambda$1$Type",1102),p(1101,1,{},K7e),s.Kb=function(n){return new gb(this.a,n)},v(We,"AbstractMapBasedMultimap/lambda$2$Type",1101);var J0=Pi(Yn,"Map/Entry");p(358,1,oJ),s.Fb=function(n){var t;return J(n,45)?(t=u(n,45),Eh(this.jd(),t.jd())&&Eh(this.kd(),t.kd())):!1},s.Hb=function(){var n,t;return n=this.jd(),t=this.kd(),(n==null?0:vi(n))^(t==null?0:vi(t))},s.ld=function(n){throw x(new bt)},s.Ib=function(){return this.jd()+"="+this.kd()},v(We,uYe,358),p(v1,31,$w),s.$b=function(){this.md().$b()},s.Gc=function(n){var t;return J(n,45)?(t=u(n,45),p9n(this.md(),t.jd(),t.kd())):!1},s.Kc=function(n){var t;return J(n,45)?(t=u(n,45),xDe(this.md(),t.jd(),t.kd())):!1},s.gc=function(){return this.md().d},v(We,"Multimaps/Entries",v1),p(737,v1,$w,vK),s.Jc=function(){return this.a.kc()},s.md=function(){return this.a},s.Lc=function(){return this.a.lc()},v(We,"AbstractMultimap/Entries",737),p(738,737,Jo,dW),s.Lc=function(){return this.a.lc()},s.Fb=function(n){return pre(this,n)},s.Hb=function(){return LBe(this)},v(We,"AbstractMultimap/EntrySet",738),p(739,31,$w,yK),s.$b=function(){this.a.$b()},s.Gc=function(n){return sCn(this.a,n)},s.Jc=function(){return this.a.nc()},s.gc=function(){return this.a.d},s.Lc=function(){return this.a.oc()},v(We,"AbstractMultimap/Values",739),p(2049,31,{833:1,20:1,31:1,18:1}),s.Ic=function(n){at(n),Wp(this).Ic(new yEe(n))},s.Lc=function(){var n;return n=Wp(this).Lc(),cB(n,new Ve,64|n.wd()&1296,this.a.d)},s.Ec=function(n){return vW(),!0},s.Fc=function(n){return at(this),at(n),J(n,540)?T9n(u(n,833)):!n.dc()&&kF(this,n.Jc())},s.Gc=function(n){var t;return t=u(ww(nv(this.a),n),18),(t?t.gc():0)>0},s.Fb=function(n){return tNn(this,n)},s.Hb=function(){return vi(Wp(this))},s.dc=function(){return Wp(this).dc()},s.Kc=function(n){return vUe(this,n,1)>0},s.Ib=function(){return Vc(Wp(this))},v(We,"AbstractMultiset",2049),p(2051,2030,Jo),s.$b=function(){z_(this.a.a)},s.Gc=function(n){var t,i;return J(n,490)?(i=u(n,416),u(i.a.kd(),18).gc()<=0?!1:(t=nDe(this.a,i.a.jd()),t==u(i.a.kd(),18).gc())):!1},s.Kc=function(n){var t,i,r,c;return J(n,490)&&(i=u(n,416),t=i.a.jd(),r=u(i.a.kd(),18).gc(),r!=0)?(c=this.a,e$n(c,t,r)):!1},v(We,"Multisets/EntrySet",2051),p(1108,2051,Jo,W7e),s.Jc=function(){return new zMe(Dxe(nv(this.a.a)).Jc())},s.gc=function(){return nv(this.a.a).gc()},v(We,"AbstractMultiset/EntrySet",1108),p(618,730,N0),s.hc=function(){return this.nd()},s.jc=function(){return this.od()},s.cc=function(n){return this.pd(n)},s.fc=function(n){return this.qd(n)},s.Zb=function(){var n;return n=this.f,n||(this.f=this.ac())},s.od=function(){return un(),un(),F$},s.Fb=function(n){return QF(this,n)},s.pd=function(n){return u(ri(this,n),22)},s.qd=function(n){return u(zE(this,n),22)},s.mc=function(n){return un(),new B3(u(n,22))},s.pc=function(n,t){return new H$e(this,n,u(t,22))},v(We,"AbstractSetMultimap",618),p(1689,618,N0),s.hc=function(){return new td(this.b)},s.nd=function(){return new td(this.b)},s.jc=function(){return PZ(new td(this.b))},s.od=function(){return PZ(new td(this.b))},s.cc=function(n){return u(u(ri(this,n),22),83)},s.pd=function(n){return u(u(ri(this,n),22),83)},s.fc=function(n){return u(u(zE(this,n),22),83)},s.qd=function(n){return u(u(zE(this,n),22),83)},s.mc=function(n){return J(n,277)?PZ(u(n,277)):(un(),new KY(u(n,83)))},s.Zb=function(){var n;return n=this.f,n||(this.f=J(this.c,138)?new A6(this,u(this.c,138)):J(this.c,134)?new z7(this,u(this.c,134)):new q3(this,this.c))},s.pc=function(n,t){return J(t,277)?new AIe(this,n,u(t,277)):new hQ(this,n,u(t,83))},v(We,"AbstractSortedSetMultimap",1689),p(1690,1689,N0),s.Zb=function(){var n;return n=this.f,u(u(n||(this.f=J(this.c,138)?new A6(this,u(this.c,138)):J(this.c,134)?new z7(this,u(this.c,134)):new q3(this,this.c)),134),138)},s.ec=function(){var n;return n=this.i,u(u(n||(this.i=J(this.c,138)?new U3(this,u(this.c,138)):J(this.c,134)?new m7(this,u(this.c,134)):new Xp(this,this.c)),83),277)},s.bc=function(){return J(this.c,138)?new U3(this,u(this.c,138)):J(this.c,134)?new m7(this,u(this.c,134)):new Xp(this,this.c)},v(We,"AbstractSortedKeySortedSetMultimap",1690),p(2071,1,{2008:1}),s.Fb=function(n){return qSn(this,n)},s.Hb=function(){var n;return Zne((n=this.g,n||(this.g=new KP(this))))},s.Ib=function(){var n;return iqe((n=this.f,n||(this.f=new GY(this))))},v(We,"AbstractTable",2071),p(669,Zf,Jo,KP),s.$b=function(){nSe()},s.Gc=function(n){var t,i;return J(n,468)?(t=u(n,687),i=u(ww(uPe(this.a),Kd(t.c.e,t.b)),92),!!i&&Tte(i.vc(),new gb(Kd(t.c.c,t.a),ov(t.c,t.b,t.a)))):!1},s.Jc=function(){return A4n(this.a)},s.Kc=function(n){var t,i;return J(n,468)?(t=u(n,687),i=u(ww(uPe(this.a),Kd(t.c.e,t.b)),92),!!i&&NCn(i.vc(),new gb(Kd(t.c.c,t.a),ov(t.c,t.b,t.a)))):!1},s.gc=function(){return hxe(this.a)},s.Lc=function(){return S9n(this.a)},v(We,"AbstractTable/CellSet",669),p(1987,31,$w,Y7e),s.$b=function(){nSe()},s.Gc=function(n){return O_n(this.a,n)},s.Jc=function(){return T4n(this.a)},s.gc=function(){return hxe(this.a)},s.Lc=function(){return MDe(this.a)},v(We,"AbstractTable/Values",1987),p(1662,1661,N0),v(We,"ArrayListMultimapGwtSerializationDependencies",1662),p(506,1662,N0,TO,hee),s.hc=function(){return new eo(this.a)},s.a=0,v(We,"ArrayListMultimap",506),p(668,2071,{668:1,2008:1,3:1},mUe),v(We,"ArrayTable",668),p(1983,392,fy,YIe),s.Xb=function(n){return new rte(this.a,n)},v(We,"ArrayTable/1",1983),p(1984,1,{},Q7e),s.rd=function(n){return new rte(this.a,n)},v(We,"ArrayTable/1methodref$getCell$Type",1984),p(2072,1,{687:1}),s.Fb=function(n){var t;return n===this?!0:J(n,468)?(t=u(n,687),Eh(Kd(this.c.e,this.b),Kd(t.c.e,t.b))&&Eh(Kd(this.c.c,this.a),Kd(t.c.c,t.a))&&Eh(ov(this.c,this.b,this.a),ov(t.c,t.b,t.a))):!1},s.Hb=function(){return fj(D(O(vr,1),hn,1,5,[Kd(this.c.e,this.b),Kd(this.c.c,this.a),ov(this.c,this.b,this.a)]))},s.Ib=function(){return"("+Kd(this.c.e,this.b)+","+Kd(this.c.c,this.a)+")="+ov(this.c,this.b,this.a)},v(We,"Tables/AbstractCell",2072),p(468,2072,{468:1,687:1},rte),s.a=0,s.b=0,s.d=0,v(We,"ArrayTable/2",468),p(1986,1,{},Z7e),s.rd=function(n){return DFe(this.a,n)},v(We,"ArrayTable/2methodref$getValue$Type",1986),p(1985,392,fy,QIe),s.Xb=function(n){return DFe(this.a,n)},v(We,"ArrayTable/3",1985),p(2039,2027,Wb),s.$b=function(){NS(this.kc())},s.vc=function(){return new gEe(this)},s.lc=function(){return new RPe(this.kc(),this.gc())},v(We,"Maps/IteratorBasedAbstractMap",2039),p(826,2039,Wb),s.$b=function(){throw x(new bt)},s._b=function(n){return mSe(this.c,n)},s.kc=function(){return new ZIe(this,this.c.b.c.gc())},s.lc=function(){return QD(this.c.b.c.gc(),16,new eEe(this))},s.xc=function(n){var t;return t=u(T6(this.c,n),15),t?this.td(t.a):null},s.dc=function(){return this.c.b.c.dc()},s.ec=function(){return oL(this.c)},s.yc=function(n,t){var i;if(i=u(T6(this.c,n),15),!i)throw x(new Mn(this.sd()+" "+n+" not in "+oL(this.c)));return this.ud(i.a,t)},s.Ac=function(n){throw x(new bt)},s.gc=function(){return this.c.b.c.gc()},v(We,"ArrayTable/ArrayMap",826),p(1982,1,{},eEe),s.rd=function(n){return lPe(this.a,n)},v(We,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1982),p(1980,358,oJ,USe),s.jd=function(){return X2n(this.a,this.b)},s.kd=function(){return this.a.td(this.b)},s.ld=function(n){return this.a.ud(this.b,n)},s.b=0,v(We,"ArrayTable/ArrayMap/1",1980),p(1981,392,fy,ZIe),s.Xb=function(n){return lPe(this.a,n)},v(We,"ArrayTable/ArrayMap/2",1981),p(1979,826,Wb,Yxe),s.sd=function(){return"Column"},s.td=function(n){return ov(this.b,this.a,n)},s.ud=function(n,t){return mJe(this.b,this.a,n,t)},s.a=0,v(We,"ArrayTable/Row",1979),p(827,826,Wb,GY),s.td=function(n){return new Yxe(this.a,n)},s.yc=function(n,t){return u(t,92),pwn()},s.ud=function(n,t){return u(t,92),mwn()},s.sd=function(){return"Row"},v(We,"ArrayTable/RowMap",827),p(1126,1,Rs,VSe),s.yd=function(n){return(this.a.wd()&-262&n)!=0},s.wd=function(){return this.a.wd()&-262},s.xd=function(){return this.a.xd()},s.Nb=function(n){this.a.Nb(new KSe(n,this.b))},s.zd=function(n){return this.a.zd(new XSe(n,this.b))},v(We,"CollectSpliterators/1",1126),p(1127,1,Rn,XSe),s.Ad=function(n){this.a.Ad(this.b.Kb(n))},v(We,"CollectSpliterators/1/lambda$0$Type",1127),p(1128,1,Rn,KSe),s.Ad=function(n){this.a.Ad(this.b.Kb(n))},v(We,"CollectSpliterators/1/lambda$1$Type",1128),p(1123,1,Rs,mNe),s.yd=function(n){return((16464|this.b)&n)!=0},s.wd=function(){return 16464|this.b},s.xd=function(){return this.a.xd()},s.Nb=function(n){this.a.Oe(new YSe(n,this.c))},s.zd=function(n){return this.a.Pe(new WSe(n,this.c))},s.b=0,v(We,"CollectSpliterators/1WithCharacteristics",1123),p(1124,1,$C,WSe),s.Bd=function(n){this.a.Ad(this.b.rd(n))},v(We,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1124),p(1125,1,$C,YSe),s.Bd=function(n){this.a.Ad(this.b.rd(n))},v(We,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1125),p(1119,1,Rs),s.yd=function(n){return(this.a&n)!=0},s.wd=function(){return this.a},s.xd=function(){return this.e&&(this.b=NY(this.b,this.e.xd())),NY(this.b,0)},s.Nb=function(n){this.e&&(this.e.Nb(n),this.e=null),this.c.Nb(new QSe(this,n)),this.b=0},s.zd=function(n){for(;;){if(this.e&&this.e.zd(n))return g6(this.b,NC)&&(this.b=Cl(this.b,1)),!0;if(this.e=null,!this.c.zd(new oEe(this)))return!1}},s.a=0,s.b=0,v(We,"CollectSpliterators/FlatMapSpliterator",1119),p(1121,1,Rn,oEe),s.Ad=function(n){Gmn(this.a,n)},v(We,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1121),p(1122,1,Rn,QSe),s.Ad=function(n){e4n(this.a,this.b,n)},v(We,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1122),p(1120,1119,Rs,rLe),v(We,"CollectSpliterators/FlatMapSpliteratorOfObject",1120),p(254,1,sJ),s.Dd=function(n){return this.Cd(u(n,254))},s.Cd=function(n){var t;return n==(mO(),qH)?1:n==(pO(),zH)?-1:(t=(MS(),xE(this.a,n.a)),t!=0?t:(pn(),J(this,513)==J(n,513)?0:J(this,513)?1:-1))},s.Gd=function(){return this.a},s.Fb=function(n){return Cie(this,n)},v(We,"Cut",254),p(1793,254,sJ,LMe),s.Cd=function(n){return n==this?0:1},s.Ed=function(n){throw x(new YK)},s.Fd=function(n){n.a+="+∞)"},s.Gd=function(){throw x(new Nc(sYe))},s.Hb=function(){return id(),fie(this)},s.Hd=function(n){return!1},s.Ib=function(){return"+∞"};var zH;v(We,"Cut/AboveAll",1793),p(513,254,{254:1,513:1,3:1,35:1},i$e),s.Ed=function(n){Ru((n.a+="(",n),this.a)},s.Fd=function(n){h0(Ru(n,this.a),93)},s.Hb=function(){return~vi(this.a)},s.Hd=function(n){return MS(),xE(this.a,n)<0},s.Ib=function(){return"/"+this.a+"\\"},v(We,"Cut/AboveValue",513),p(1792,254,sJ,DMe),s.Cd=function(n){return n==this?0:-1},s.Ed=function(n){n.a+="(-∞"},s.Fd=function(n){throw x(new YK)},s.Gd=function(){throw x(new Nc(sYe))},s.Hb=function(){return id(),fie(this)},s.Hd=function(n){return!0},s.Ib=function(){return"-∞"};var qH;v(We,"Cut/BelowAll",1792),p(1794,254,sJ,r$e),s.Ed=function(n){Ru((n.a+="[",n),this.a)},s.Fd=function(n){h0(Ru(n,this.a),41)},s.Hb=function(){return vi(this.a)},s.Hd=function(n){return MS(),xE(this.a,n)<=0},s.Ib=function(){return"\\"+this.a+"/"},v(We,"Cut/BelowValue",1794),p(535,1,Za),s.Ic=function(n){Yr(this,n)},s.Ib=function(){return sAn(u(n_(this,"use Optional.orNull() instead of Optional.or(null)"),20).Jc())},v(We,"FluentIterable",535),p(433,535,Za,m6),s.Jc=function(){return new Sn($n(this.a.Jc(),new V))},v(We,"FluentIterable/2",433),p(36,1,{},V),s.Kb=function(n){return u(n,20).Jc()},s.Fb=function(n){return this===n},v(We,"FluentIterable/2/0methodref$iterator$Type",36),p(1040,535,Za,mIe),s.Jc=function(){return Ua(this)},v(We,"FluentIterable/3",1040),p(714,392,fy,WY),s.Xb=function(n){return this.a[n].Jc()},v(We,"FluentIterable/3/1",714),p(2032,1,{}),s.Ib=function(){return Vc(this.Id().b)},v(We,"ForwardingObject",2032),p(2033,2032,lYe),s.Id=function(){return this.Jd()},s.Ic=function(n){Yr(this,n)},s.Lc=function(){return new nn(this,0)},s.Mc=function(){return new Ze(null,this.Lc())},s.Ec=function(n){return this.Jd(),ESe()},s.Fc=function(n){return this.Jd(),CSe()},s.$b=function(){this.Jd(),ASe()},s.Gc=function(n){return this.Jd().Gc(n)},s.Hc=function(n){return this.Jd().Hc(n)},s.dc=function(){return this.Jd().b.dc()},s.Jc=function(){return this.Jd().Jc()},s.Kc=function(n){return this.Jd(),TSe()},s.gc=function(){return this.Jd().b.gc()},s.Nc=function(){return this.Jd().Nc()},s.Oc=function(n){return this.Jd().Oc(n)},v(We,"ForwardingCollection",2033),p(2040,31,Sue),s.Jc=function(){return this.Md()},s.Ec=function(n){throw x(new bt)},s.Fc=function(n){throw x(new bt)},s.Kd=function(){var n;return n=this.c,n||(this.c=this.Ld())},s.$b=function(){throw x(new bt)},s.Gc=function(n){return n!=null&&pw(this,n,!1)},s.Ld=function(){switch(this.gc()){case 0:return $S(),XH;case 1:return new FD(at(this.Md().Pb()));default:return new VQ(this,this.Nc())}},s.Kc=function(n){throw x(new bt)},v(We,"ImmutableCollection",2040),p(1259,2040,Sue,sEe),s.Jc=function(){return sv(new Np(this.a.b.Jc()))},s.Gc=function(n){return n!=null&&K4(this.a,n)},s.Hc=function(n){return DW(this.a,n)},s.dc=function(){return this.a.b.dc()},s.Md=function(){return sv(new Np(this.a.b.Jc()))},s.gc=function(){return this.a.b.gc()},s.Nc=function(){return this.a.b.Nc()},s.Oc=function(n){return LW(this.a,n)},s.Ib=function(){return Vc(this.a.b)},v(We,"ForwardingImmutableCollection",1259),p(311,2040,ay),s.Jc=function(){return this.Md()},s.cd=function(){return this.Nd(0)},s.dd=function(n){return this.Nd(n)},s.gd=function(n){y0(this,n)},s.Lc=function(){return new nn(this,16)},s.hd=function(n,t){return this.Od(n,t)},s._c=function(n,t){throw x(new bt)},s.ad=function(n,t){throw x(new bt)},s.Kd=function(){return this},s.Fb=function(n){return U$n(this,n)},s.Hb=function(){return vEn(this)},s.bd=function(n){return n==null?-1:MMn(this,n)},s.Md=function(){return this.Nd(0)},s.Nd=function(n){return ID(this,n)},s.ed=function(n){throw x(new bt)},s.fd=function(n,t){throw x(new bt)},s.Od=function(n,t){var i;return pj((i=new u_e(this),new n1(i,n,t)))},v(We,"ImmutableList",311),p(2067,311,ay),s.Jc=function(){return sv(this.Pd().Jc())},s.hd=function(n,t){return pj(this.Pd().hd(n,t))},s.Gc=function(n){return n!=null&&this.Pd().Gc(n)},s.Hc=function(n){return this.Pd().Hc(n)},s.Fb=function(n){return Qt(this.Pd(),n)},s.Xb=function(n){return Kd(this,n)},s.Hb=function(){return vi(this.Pd())},s.bd=function(n){return this.Pd().bd(n)},s.dc=function(){return this.Pd().dc()},s.Md=function(){return sv(this.Pd().Jc())},s.gc=function(){return this.Pd().gc()},s.Od=function(n,t){return pj(this.Pd().hd(n,t))},s.Nc=function(){return this.Pd().Oc(ee(vr,hn,1,this.Pd().gc(),5,1))},s.Oc=function(n){return this.Pd().Oc(n)},s.Ib=function(){return Vc(this.Pd())},v(We,"ForwardingImmutableList",2067),p(717,1,hy),s.vc=function(){return s0(this)},s.wc=function(n){PE(this,n)},s.ec=function(){return oL(this)},s.Bc=function(){return this.Td()},s.$b=function(){throw x(new bt)},s._b=function(n){return this.xc(n)!=null},s.uc=function(n){return this.Td().Gc(n)},s.Rd=function(){return new iEe(this)},s.Sd=function(){return new rEe(this)},s.Fb=function(n){return lCn(this,n)},s.Hb=function(){return s0(this).Hb()},s.dc=function(){return this.gc()==0},s.yc=function(n,t){return vwn()},s.Ac=function(n){throw x(new bt)},s.Ib=function(){return jjn(this)},s.Td=function(){return this.e?this.e:this.e=this.Sd()},s.c=null,s.d=null,s.e=null,v(We,"ImmutableMap",717),p(718,717,hy),s._b=function(n){return mSe(this,n)},s.uc=function(n){return d_e(this.b,n)},s.Qd=function(){return nGe(new uEe(this))},s.Rd=function(){return nGe($Pe(this.b))},s.Sd=function(){return new sEe(NPe(this.b))},s.Fb=function(n){return g_e(this.b,n)},s.xc=function(n){return T6(this,n)},s.Hb=function(){return vi(this.b.c)},s.dc=function(){return this.b.c.dc()},s.gc=function(){return this.b.c.gc()},s.Ib=function(){return Vc(this.b.c)},v(We,"ForwardingImmutableMap",718),p(2034,2033,lJ),s.Id=function(){return this.Ud()},s.Jd=function(){return this.Ud()},s.Lc=function(){return new nn(this,1)},s.Fb=function(n){return n===this||this.Ud().Fb(n)},s.Hb=function(){return this.Ud().Hb()},v(We,"ForwardingSet",2034),p(1055,2034,lJ,uEe),s.Id=function(){return f5(this.a.b)},s.Jd=function(){return f5(this.a.b)},s.Gc=function(n){if(J(n,45)&&u(n,45).jd()==null)return!1;try{return b_e(f5(this.a.b),n)}catch(t){if(t=Zi(t),J(t,211))return!1;throw x(t)}},s.Ud=function(){return f5(this.a.b)},s.Oc=function(n){var t,i;return t=pOe(f5(this.a.b),n),f5(this.a.b).b.gc()=0?"+":"")+(i/60|0),t=rS(m.Math.abs(i)%60),(gqe(),rtn)[this.q.getDay()]+" "+ctn[this.q.getMonth()]+" "+rS(this.q.getDate())+" "+rS(this.q.getHours())+":"+rS(this.q.getMinutes())+":"+rS(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear()};var O$=v(Yn,"Date",205);p(1977,205,mYe,Dze),s.a=!1,s.b=0,s.c=0,s.d=0,s.e=0,s.f=0,s.g=!1,s.i=0,s.j=0,s.k=0,s.n=0,s.o=0,s.p=0,v("com.google.gwt.i18n.shared.impl","DateRecord",1977),p(2026,1,{}),s.ne=function(){return null},s.oe=function(){return null},s.pe=function(){return null},s.qe=function(){return null},s.re=function(){return null},v(Nv,"JSONValue",2026),p(139,2026,{139:1},e0,kK),s.Fb=function(n){return J(n,139)?gee(this.a,u(n,139).a):!1},s.me=function(){return Rgn},s.Hb=function(){return ZZ(this.a)},s.ne=function(){return this},s.Ib=function(){var n,t,i;for(i=new _s("["),t=0,n=this.a.length;t0&&(i.a+=","),Ru(i,lw(this,t));return i.a+="]",i.a},v(Nv,"JSONArray",139),p(479,2026,{479:1},EK),s.me=function(){return Bgn},s.oe=function(){return this},s.Ib=function(){return pn(),""+this.a},s.a=!1;var Unn,Vnn;v(Nv,"JSONBoolean",479),p(981,63,Lh,qMe),v(Nv,"JSONException",981),p(1017,2026,{},Gt),s.me=function(){return zgn},s.Ib=function(){return Ao};var Xnn;v(Nv,"JSONNull",1017),p(265,2026,{265:1},YT),s.Fb=function(n){return J(n,265)?this.a==u(n,265).a:!1},s.me=function(){return Jgn},s.Hb=function(){return Rm(this.a)},s.pe=function(){return this},s.Ib=function(){return this.a+""},s.a=0,v(Nv,"JSONNumber",265),p(149,2026,{149:1},jm,l7),s.Fb=function(n){return J(n,149)?gee(this.a,u(n,149).a):!1},s.me=function(){return Ggn},s.Hb=function(){return ZZ(this.a)},s.qe=function(){return this},s.Ib=function(){var n,t,i,r,c,o,l;for(l=new _s("{"),n=!0,o=PF(this,ee($e,be,2,0,6,1)),i=o,r=0,c=i.length;r=0?":"+this.c:"")+")"},s.c=0;var Efe=v(hu,"StackTraceElement",324);Fnn={3:1,472:1,35:1,2:1};var $e=v(hu,_ue,2);p(111,418,{472:1},ed,V4,vl),v(hu,"StringBuffer",111),p(106,418,{472:1},zd,Nm,_s),v(hu,"StringBuilder",106),p(691,99,jI,yW),v(hu,"StringIndexOutOfBoundsException",691),p(2107,1,{});var Qnn;p(46,63,{3:1,101:1,63:1,80:1,46:1},bt,Qh),v(hu,"UnsupportedOperationException",46),p(247,242,{3:1,35:1,242:1,247:1},VE,IW),s.Dd=function(n){return gKe(this,u(n,247))},s.se=function(){return Ew(GKe(this))},s.Fb=function(n){var t;return this===n?!0:J(n,247)?(t=u(n,247),this.e==t.e&&gKe(this,t)==0):!1},s.Hb=function(){var n;return this.b!=0?this.b:this.a<54?(n=vu(this.f),this.b=vt(Nr(n,-1)),this.b=33*this.b+vt(Nr(Eb(n,32),-1)),this.b=17*this.b+nc(this.e),this.b):(this.b=17*hGe(this.c)+nc(this.e),this.b)},s.Ib=function(){return GKe(this)},s.a=0,s.b=0,s.d=0,s.e=0,s.f=0;var Znn,G0,Cfe,Afe,Tfe,Mfe,Sfe,_fe,ez=v("java.math","BigDecimal",247);p(91,242,{3:1,35:1,242:1,91:1},Mh,sDe,a0,kHe,Wd),s.Dd=function(n){return wHe(this,u(n,91))},s.se=function(){return Ew(rJ(this,0))},s.Fb=function(n){return Xte(this,n)},s.Hb=function(){return hGe(this)},s.Ib=function(){return rJ(this,0)},s.b=-2,s.c=0,s.d=0,s.e=0;var etn,D$,ntn,nz,L$,v8,P2=v("java.math","BigInteger",91),ttn,itn,Hv,y8;p(484,2027,Wb),s.$b=function(){Au(this)},s._b=function(n){return Ju(this,n)},s.uc=function(n){return WJe(this,n,this.i)||WJe(this,n,this.f)},s.vc=function(){return new Ig(this)},s.xc=function(n){return kn(this,n)},s.yc=function(n,t){return Pt(this,n,t)},s.Ac=function(n){return uv(this,n)},s.gc=function(){return W4(this)},s.g=0,v(Yn,"AbstractHashMap",484),p(306,Zf,Jo,Ig),s.$b=function(){this.a.$b()},s.Gc=function(n){return FDe(this,n)},s.Jc=function(){return new dw(this.a)},s.Kc=function(n){var t;return FDe(this,n)?(t=u(n,45).jd(),this.a.Ac(t),!0):!1},s.gc=function(){return this.a.gc()},v(Yn,"AbstractHashMap/EntrySet",306),p(307,1,Or,dw),s.Nb=function(n){Ur(this,n)},s.Pb=function(){return o2(this)},s.Ob=function(){return this.b},s.Qb=function(){aRe(this)},s.b=!1,s.d=0,v(Yn,"AbstractHashMap/EntrySetIterator",307),p(417,1,Or,D4),s.Nb=function(n){Ur(this,n)},s.Ob=function(){return OO(this)},s.Pb=function(){return KZ(this)},s.Qb=function(){is(this)},s.b=0,s.c=-1,v(Yn,"AbstractList/IteratorImpl",417),p(97,417,Qa,Rr),s.Qb=function(){is(this)},s.Rb=function(n){Xg(this,n)},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Ub=function(){return qn(this.b>0),this.a.Xb(this.c=--this.b)},s.Vb=function(){return this.b-1},s.Wb=function(n){zg(this.c!=-1),this.a.fd(this.c,n)},v(Yn,"AbstractList/ListIteratorImpl",97),p(258,56,dy,n1),s._c=function(n,t){cw(n,this.b),this.c._c(this.a+n,t),++this.b},s.Xb=function(n){return tn(n,this.b),this.c.Xb(this.a+n)},s.ed=function(n){var t;return tn(n,this.b),t=this.c.ed(this.a+n),--this.b,t},s.fd=function(n,t){return tn(n,this.b),this.c.fd(this.a+n,t)},s.gc=function(){return this.b},s.a=0,s.b=0,v(Yn,"AbstractList/SubList",258),p(232,Zf,Jo,wh),s.$b=function(){this.a.$b()},s.Gc=function(n){return this.a._b(n)},s.Jc=function(){var n;return n=this.a.vc().Jc(),new ZT(n)},s.Kc=function(n){return this.a._b(n)?(this.a.Ac(n),!0):!1},s.gc=function(){return this.a.gc()},v(Yn,"AbstractMap/1",232),p(529,1,Or,ZT),s.Nb=function(n){Ur(this,n)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){var n;return n=u(this.a.Pb(),45),n.jd()},s.Qb=function(){this.a.Qb()},v(Yn,"AbstractMap/1/1",529),p(230,31,$w,ph),s.$b=function(){this.a.$b()},s.Gc=function(n){return this.a.uc(n)},s.Jc=function(){var n;return n=this.a.vc().Jc(),new $g(n)},s.gc=function(){return this.a.gc()},v(Yn,"AbstractMap/2",230),p(304,1,Or,$g),s.Nb=function(n){Ur(this,n)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){var n;return n=u(this.a.Pb(),45),n.kd()},s.Qb=function(){this.a.Qb()},v(Yn,"AbstractMap/2/1",304),p(480,1,{480:1,45:1}),s.Fb=function(n){var t;return J(n,45)?(t=u(n,45),Iu(this.d,t.jd())&&Iu(this.e,t.kd())):!1},s.jd=function(){return this.d},s.kd=function(){return this.e},s.Hb=function(){return zp(this.d)^zp(this.e)},s.ld=function(n){return yQ(this,n)},s.Ib=function(){return this.d+"="+this.e},v(Yn,"AbstractMap/AbstractEntry",480),p(390,480,{480:1,390:1,45:1},IM),v(Yn,"AbstractMap/SimpleEntry",390),p(2044,1,xJ),s.Fb=function(n){var t;return J(n,45)?(t=u(n,45),Iu(this.jd(),t.jd())&&Iu(this.kd(),t.kd())):!1},s.Hb=function(){return zp(this.jd())^zp(this.kd())},s.Ib=function(){return this.jd()+"="+this.kd()},v(Yn,uYe,2044),p(2052,2027,Tue),s.Vc=function(n){return jO(this.Ce(n))},s.tc=function(n){return NLe(this,n)},s._b=function(n){return kQ(this,n)},s.vc=function(){return new rO(this)},s.Rc=function(){return Qxe(this.Ee())},s.Wc=function(n){return jO(this.Fe(n))},s.xc=function(n){var t;return t=n,Qc(this.De(t))},s.Yc=function(n){return jO(this.Ge(n))},s.ec=function(){return new _Ee(this)},s.Tc=function(){return Qxe(this.He())},s.Zc=function(n){return jO(this.Ie(n))},v(Yn,"AbstractNavigableMap",2052),p(620,Zf,Jo,rO),s.Gc=function(n){return J(n,45)&&NLe(this.b,u(n,45))},s.Jc=function(){return this.b.Be()},s.Kc=function(n){var t;return J(n,45)?(t=u(n,45),this.b.Je(t)):!1},s.gc=function(){return this.b.gc()},v(Yn,"AbstractNavigableMap/EntrySet",620),p(1115,Zf,Mue,_Ee),s.Lc=function(){return new xM(this)},s.$b=function(){this.a.$b()},s.Gc=function(n){return kQ(this.a,n)},s.Jc=function(){var n;return n=this.a.vc().b.Be(),new IEe(n)},s.Kc=function(n){return kQ(this.a,n)?(this.a.Ac(n),!0):!1},s.gc=function(){return this.a.gc()},v(Yn,"AbstractNavigableMap/NavigableKeySet",1115),p(1116,1,Or,IEe),s.Nb=function(n){Ur(this,n)},s.Ob=function(){return OO(this.a.a)},s.Pb=function(){var n;return n=A$e(this.a),n.jd()},s.Qb=function(){SNe(this.a)},v(Yn,"AbstractNavigableMap/NavigableKeySet/1",1116),p(2065,31,$w),s.Ec=function(n){return Xm(K5(this,n),gy),!0},s.Fc=function(n){return gn(n),Z7(n!=this,"Can't add a queue to itself"),ic(this,n)},s.$b=function(){for(;EF(this)!=null;);},v(Yn,"AbstractQueue",2065),p(314,31,{4:1,20:1,31:1,18:1},Up,jDe),s.Ec=function(n){return Cee(this,n),!0},s.$b=function(){_ee(this)},s.Gc=function(n){return bJe(new L6(this),n)},s.dc=function(){return U4(this)},s.Jc=function(){return new L6(this)},s.Kc=function(n){return c6n(new L6(this),n)},s.gc=function(){return this.c-this.b&this.a.length-1},s.Lc=function(){return new nn(this,272)},s.Oc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&Ki(n,t,null),n},s.b=0,s.c=0,v(Yn,"ArrayDeque",314),p(448,1,Or,L6),s.Nb=function(n){Ur(this,n)},s.Ob=function(){return this.a!=this.b},s.Pb=function(){return hj(this)},s.Qb=function(){bBe(this)},s.a=0,s.b=0,s.c=-1,v(Yn,"ArrayDeque/IteratorImpl",448),p(13,56,EYe,me,eo,Uo),s._c=function(n,t){o0(this,n,t)},s.Ec=function(n){return pe(this,n)},s.ad=function(n,t){return vte(this,n,t)},s.Fc=function(n){return wr(this,n)},s.$b=function(){Ng(this.c,0)},s.Gc=function(n){return nu(this,n,0)!=-1},s.Ic=function(n){no(this,n)},s.Xb=function(n){return Te(this,n)},s.bd=function(n){return nu(this,n,0)},s.dc=function(){return this.c.length==0},s.Jc=function(){return new $(this)},s.ed=function(n){return ld(this,n)},s.Kc=function(n){return yo(this,n)},s.ae=function(n,t){eDe(this,n,t)},s.fd=function(n,t){return Ns(this,n,t)},s.gc=function(){return this.c.length},s.gd=function(n){kr(this,n)},s.Nc=function(){return SS(this.c)},s.Oc=function(n){return Xf(this,n)};var uJn=v(Yn,"ArrayList",13);p(7,1,Or,$),s.Nb=function(n){Ur(this,n)},s.Ob=function(){return Zc(this)},s.Pb=function(){return I(this)},s.Qb=function(){N6(this)},s.a=0,s.b=-1,v(Yn,"ArrayList/1",7),p(2074,m.Function,{},cn),s.Ke=function(n,t){return oi(n,t)},p(123,56,CYe,su),s.Gc=function(n){return dBe(this,n)!=-1},s.Ic=function(n){var t,i,r,c;for(gn(n),i=this.a,r=0,c=i.length;r0)throw x(new Mn(Due+n+" greater than "+this.e));return this.f.Re()?COe(this.c,this.b,this.a,n,t):QOe(this.c,n,t)},s.yc=function(n,t){if(!XR(this.c,this.f,n,this.b,this.a,this.e,this.d))throw x(new Mn(n+" outside the range "+this.b+" to "+this.e));return NJe(this.c,n,t)},s.Ac=function(n){var t;return t=n,XR(this.c,this.f,t,this.b,this.a,this.e,this.d)?AOe(this.c,t):null},s.Je=function(n){return KS(this,n.jd())&&Xee(this.c,n)},s.gc=function(){var n,t,i;if(this.f.Re()?this.a?t=G5(this.c,this.b,!0):t=G5(this.c,this.b,!1):t=une(this.c),!(t&&KS(this,t.d)&&t))return 0;for(n=0,i=new OF(this.c,this.f,this.b,this.a,this.e,this.d);OO(i.a);i.b=u(KZ(i.a),45))++n;return n},s.$c=function(n,t){if(this.f.Re()&&this.c.a.Le(n,this.b)<0)throw x(new Mn(Due+n+MYe+this.b));return this.f.Se()?COe(this.c,n,t,this.e,this.d):ZOe(this.c,n,t)},s.a=!1,s.d=!1,v(Yn,"TreeMap/SubMap",622),p(309,23,LJ,$M),s.Re=function(){return!1},s.Se=function(){return!1};var rz,cz,uz,oz,R$=nt(Yn,"TreeMap/SubMapType",309,st,O9n,ovn);p(1112,309,LJ,EIe),s.Se=function(){return!0},nt(Yn,"TreeMap/SubMapType/1",1112,R$,null,null),p(1113,309,LJ,PIe),s.Re=function(){return!0},s.Se=function(){return!0},nt(Yn,"TreeMap/SubMapType/2",1113,R$,null,null),p(1114,309,LJ,CIe),s.Re=function(){return!0},nt(Yn,"TreeMap/SubMapType/3",1114,R$,null,null);var atn;p(141,Zf,{3:1,20:1,31:1,18:1,277:1,22:1,83:1,141:1},aO,YY,td,O3),s.Lc=function(){return new xM(this)},s.Ec=function(n){return tE(this,n)},s.$b=function(){this.a.$b()},s.Gc=function(n){return this.a._b(n)},s.Jc=function(){return this.a.ec().Jc()},s.Kc=function(n){return SD(this,n)},s.gc=function(){return this.a.gc()};var hJn=v(Yn,"TreeSet",141);p(1052,1,{},xEe),s.Te=function(n,t){return Smn(this.a,n,t)},v(FJ,"BinaryOperator/lambda$0$Type",1052),p(1053,1,{},PEe),s.Te=function(n,t){return _mn(this.a,n,t)},v(FJ,"BinaryOperator/lambda$1$Type",1053),p(935,1,{},en),s.Kb=function(n){return n},v(FJ,"Function/lambda$0$Type",935),p(388,1,kt,D3),s.Mb=function(n){return!this.a.Mb(n)},v(FJ,"Predicate/lambda$2$Type",388),p(567,1,{567:1});var htn=v(G9,"Handler",567);p(2069,1,jC),s.ve=function(){return"DUMMY"},s.Ib=function(){return this.ve()};var Ofe;v(G9,"Level",2069),p(1672,2069,jC,Pn),s.ve=function(){return"INFO"},v(G9,"Level/LevelInfo",1672),p(1824,1,{},QTe);var sz;v(G9,"LogManager",1824),p(1866,1,jC,MNe),s.b=null,v(G9,"LogRecord",1866),p(511,1,{511:1},nF),s.e=!1;var dtn=!1,btn=!1,ra=!1,gtn=!1,wtn=!1;v(G9,"Logger",511),p(819,567,{567:1},Lr),v(G9,"SimpleConsoleLogHandler",819),p(130,23,{3:1,35:1,23:1,130:1},FO);var Dfe,To,Lfe,Mo=nt(Cc,"Collector/Characteristics",130,st,v6n,svn),ptn;p(746,1,{},SZ),v(Cc,"CollectorImpl",746),p(1050,1,{},yr),s.Te=function(n,t){return qCn(u(n,212),u(t,212))},v(Cc,"Collectors/10methodref$merge$Type",1050),p(1051,1,{},Lt),s.Kb=function(n){return _De(u(n,212))},v(Cc,"Collectors/11methodref$toString$Type",1051),p(152,1,{},Kn),s.Wd=function(n,t){u(n,18).Ec(t)},v(Cc,"Collectors/20methodref$add$Type",152),p(154,1,{},Ee),s.Ve=function(){return new me},v(Cc,"Collectors/21methodref$ctor$Type",154),p(1049,1,{},xe),s.Wd=function(n,t){Sh(u(n,212),u(t,472))},v(Cc,"Collectors/9methodref$add$Type",1049),p(1048,1,{},qNe),s.Ve=function(){return new E0(this.a,this.b,this.c)},v(Cc,"Collectors/lambda$15$Type",1048),p(153,1,{},Yt),s.Te=function(n,t){return ipn(u(n,18),u(t,18))},v(Cc,"Collectors/lambda$45$Type",153),p(538,1,{}),s.Ye=function(){D6(this)},s.d=!1,v(Cc,"TerminatableStream",538),p(768,538,Lue,dQ),s.Ye=function(){D6(this)},v(Cc,"DoubleStreamImpl",768),p(1297,724,Rs,UNe),s.Pe=function(n){return mMn(this,u(n,189))},s.a=null,v(Cc,"DoubleStreamImpl/2",1297),p(1298,1,FC,OEe),s.Ne=function(n){Wpn(this.a,n)},v(Cc,"DoubleStreamImpl/2/lambda$0$Type",1298),p(1295,1,FC,DEe),s.Ne=function(n){Kpn(this.a,n)},v(Cc,"DoubleStreamImpl/lambda$0$Type",1295),p(1296,1,FC,LEe),s.Ne=function(n){rHe(this.a,n)},v(Cc,"DoubleStreamImpl/lambda$2$Type",1296),p(1351,723,Rs,FLe),s.Pe=function(n){return A9n(this,u(n,202))},s.a=0,s.b=0,s.c=0,v(Cc,"IntStream/5",1351),p(793,538,Lue,bQ),s.Ye=function(){D6(this)},s.Ze=function(){return Zd(this),this.a},v(Cc,"IntStreamImpl",793),p(794,538,Lue,FW),s.Ye=function(){D6(this)},s.Ze=function(){return Zd(this),FY(),ftn},v(Cc,"IntStreamImpl/Empty",794),p(1651,1,$C,FEe),s.Bd=function(n){WBe(this.a,n)},v(Cc,"IntStreamImpl/lambda$4$Type",1651);var dJn=Pi(Cc,"Stream");p(28,538,{520:1,677:1,832:1},Ze),s.Ye=function(){D6(this)};var zv;v(Cc,"StreamImpl",28),p(1072,486,Rs,pNe),s.zd=function(n){for(;Akn(this);){if(this.a.zd(n))return!0;D6(this.b),this.b=null,this.a=null}return!1},v(Cc,"StreamImpl/1",1072),p(1073,1,Rn,REe),s.Ad=function(n){h5n(this.a,u(n,832))},v(Cc,"StreamImpl/1/lambda$0$Type",1073),p(1074,1,kt,BEe),s.Mb=function(n){return ir(this.a,n)},v(Cc,"StreamImpl/1methodref$add$Type",1074),p(1075,486,Rs,WPe),s.zd=function(n){var t;return this.a||(t=new me,this.b.a.Nb(new JEe(t)),un(),kr(t,this.c),this.a=new nn(t,16)),FRe(this.a,n)},s.a=null,v(Cc,"StreamImpl/5",1075),p(1076,1,Rn,JEe),s.Ad=function(n){pe(this.a,n)},v(Cc,"StreamImpl/5/2methodref$add$Type",1076),p(725,486,Rs,rne),s.zd=function(n){for(this.b=!1;!this.b&&this.c.zd(new O_e(this,n)););return this.b},s.b=!1,v(Cc,"StreamImpl/FilterSpliterator",725),p(1066,1,Rn,O_e),s.Ad=function(n){ryn(this.a,this.b,n)},v(Cc,"StreamImpl/FilterSpliterator/lambda$0$Type",1066),p(1061,724,Rs,XLe),s.Pe=function(n){return Qmn(this,u(n,189))},v(Cc,"StreamImpl/MapToDoubleSpliterator",1061),p(1065,1,Rn,D_e),s.Ad=function(n){vpn(this.a,this.b,n)},v(Cc,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1065),p(1060,723,Rs,KLe),s.Pe=function(n){return Zmn(this,u(n,202))},v(Cc,"StreamImpl/MapToIntSpliterator",1060),p(1064,1,Rn,L_e),s.Ad=function(n){ypn(this.a,this.b,n)},v(Cc,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1064),p(722,486,Rs,zee),s.zd=function(n){return vNe(this,n)},v(Cc,"StreamImpl/MapToObjSpliterator",722),p(1063,1,Rn,F_e),s.Ad=function(n){kpn(this.a,this.b,n)},v(Cc,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1063),p(1062,486,Rs,gBe),s.zd=function(n){for(;DO(this.b,0);){if(!this.a.zd(new pi))return!1;this.b=Cl(this.b,1)}return this.a.zd(n)},s.b=0,v(Cc,"StreamImpl/SkipSpliterator",1062),p(1067,1,Rn,pi),s.Ad=function(n){},v(Cc,"StreamImpl/SkipSpliterator/lambda$0$Type",1067),p(617,1,Rn,mi),s.Ad=function(n){CEe(this,n)},v(Cc,"StreamImpl/ValueConsumer",617),p(1068,1,Rn,wn),s.Ad=function(n){r0()},v(Cc,"StreamImpl/lambda$0$Type",1068),p(1069,1,Rn,Ji),s.Ad=function(n){r0()},v(Cc,"StreamImpl/lambda$1$Type",1069),p(1070,1,{},GEe),s.Te=function(n,t){return cvn(this.a,n,t)},v(Cc,"StreamImpl/lambda$4$Type",1070),p(1071,1,Rn,R_e),s.Ad=function(n){Pmn(this.b,this.a,n)},v(Cc,"StreamImpl/lambda$5$Type",1071),p(1077,1,Rn,HEe),s.Ad=function(n){EEn(this.a,u(n,375))},v(Cc,"TerminatableStream/lambda$0$Type",1077),p(2104,1,{}),p(1976,1,{},Ir),v("javaemul.internal","ConsoleLogger",1976);var bJn=0;p(2096,1,{}),p(1800,1,Rn,Jc),s.Ad=function(n){u(n,321)},v(wy,"BowyerWatsonTriangulation/lambda$0$Type",1800),p(1801,1,Rn,zEe),s.Ad=function(n){ic(this.a,u(n,321).e)},v(wy,"BowyerWatsonTriangulation/lambda$1$Type",1801),p(1802,1,Rn,_u),s.Ad=function(n){u(n,177)},v(wy,"BowyerWatsonTriangulation/lambda$2$Type",1802),p(1797,1,It,qEe),s.Le=function(n,t){return l8n(this.a,u(n,177),u(t,177))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(wy,"NaiveMinST/lambda$0$Type",1797),p(440,1,{},L4),v(wy,"NodeMicroLayout",440),p(177,1,{177:1},Om),s.Fb=function(n){var t;return J(n,177)?(t=u(n,177),Iu(this.a,t.a)&&Iu(this.b,t.b)||Iu(this.a,t.b)&&Iu(this.b,t.a)):!1},s.Hb=function(){return zp(this.a)+zp(this.b)};var gJn=v(wy,"TEdge",177);p(321,1,{321:1},Yce),s.Fb=function(n){var t;return J(n,321)?(t=u(n,321),$_(this,t.a)&&$_(this,t.b)&&$_(this,t.c)):!1},s.Hb=function(){return zp(this.a)+zp(this.b)+zp(this.c)},v(wy,"TTriangle",321),p(225,1,{225:1},uS),v(wy,"Tree",225),p(1183,1,{},BOe),v(jYe,"Scanline",1183);var mtn=Pi(jYe,IYe);p(1728,1,{},BRe),v(th,"CGraph",1728),p(320,1,{320:1},xOe),s.b=0,s.c=0,s.d=0,s.g=0,s.i=0,s.k=Tr,v(th,"CGroup",320),p(814,1,{},nW),v(th,"CGroup/CGroupBuilder",814),p(60,1,{60:1},Z$e),s.Ib=function(){var n;return this.j?wt(this.j.Kb(this)):(kh(B$),B$.o+"@"+(n=yb(this)>>>0,n.toString(16)))},s.f=0,s.i=Tr;var B$=v(th,"CNode",60);p(813,1,{},tW),v(th,"CNode/CNodeBuilder",813);var vtn;p(1551,1,{},jg),s.df=function(n,t){return 0},s.ef=function(n,t){return 0},v(th,NYe,1551),p(1830,1,{},Z1),s.af=function(n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j;for(b=Ri,r=new $(n.a.b);r.ar.d.c||r.d.c==o.d.c&&r.d.b0?n+this.n.d+this.n.a:0},s.gf=function(){var n,t,i,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].gf());else if(this.g)c=qte(this,WR(this,null,!0));else for(t=(Cf(),D(O(Jw,1),ae,237,0,[bu,uo,gu])),i=0,r=t.length;i0?c+this.n.b+this.n.c:0},s.hf=function(){var n,t,i,r,c;if(this.g)for(n=WR(this,null,!1),i=(Cf(),D(O(Jw,1),ae,237,0,[bu,uo,gu])),r=0,c=i.length;r0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=m.Math.max(0,i),this.c.d=t.d+n.d+(this.c.a-i)/2,r[1]=m.Math.max(r[1],i),Bee(this,uo,t.d+n.d+r[0]-(r[1]-i)/2,r)},s.b=null,s.d=0,s.e=!1,s.f=!1,s.g=!1;var fz=0,J$=0;v(P0,"GridContainerCell",1499),p(461,23,{3:1,35:1,23:1,461:1},BO);var _1,La,ef,Mtn=nt(P0,"HorizontalLabelAlignment",461,st,O6n,lvn),Stn;p(318,216,{216:1,318:1},TOe,RRe,mOe),s.ff=function(){return ixe(this)},s.gf=function(){return rZ(this)},s.a=0,s.c=!1;var wJn=v(P0,"LabelCell",318);p(253,337,{216:1,337:1,253:1},d9),s.ff=function(){return k9(this)},s.gf=function(){return E9(this)},s.hf=function(){FB(this)},s.jf=function(){RB(this)},s.b=0,s.c=0,s.d=!1,v(P0,"StripContainerCell",253),p(1655,1,kt,DP),s.Mb=function(n){return bwn(u(n,216))},v(P0,"StripContainerCell/lambda$0$Type",1655),p(1656,1,{},LP),s.We=function(n){return u(n,216).gf()},v(P0,"StripContainerCell/lambda$1$Type",1656),p(1657,1,kt,OP),s.Mb=function(n){return gwn(u(n,216))},v(P0,"StripContainerCell/lambda$2$Type",1657),p(1658,1,{},B2e),s.We=function(n){return u(n,216).ff()},v(P0,"StripContainerCell/lambda$3$Type",1658),p(462,23,{3:1,35:1,23:1,462:1},JO);var nf,j1,jf,_tn=nt(P0,"VerticalLabelAlignment",462,st,D6n,fvn),jtn;p(787,1,{},gue),s.c=0,s.d=0,s.k=0,s.s=0,s.t=0,s.v=!1,s.w=0,s.D=!1,s.F=!1,v(NI,"NodeContext",787),p(1497,1,It,V2e),s.Le=function(n,t){return bIe(u(n,64),u(t,64))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(NI,"NodeContext/0methodref$comparePortSides$Type",1497),p(1498,1,It,X2e),s.Le=function(n,t){return Q_n(u(n,115),u(t,115))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(NI,"NodeContext/1methodref$comparePortContexts$Type",1498),p(168,23,{3:1,35:1,23:1,168:1},tl);var Itn,$tn,Ntn,xtn,Ptn,Otn,Dtn,Ltn,Ftn,Rtn,Btn,Jtn,Gtn,Htn,ztn,qtn,Utn,Vtn,Xtn,Ktn,Wtn,az,Ytn=nt(NI,"NodeLabelLocation",168,st,SR,avn),Qtn;p(115,1,{115:1},OUe),s.a=!1,v(NI,"PortContext",115),p(1502,1,Rn,K2e),s.Ad=function(n){jSe(u(n,318))},v(BC,qYe,1502),p(1503,1,kt,W2e),s.Mb=function(n){return!!u(n,115).c},v(BC,UYe,1503),p(1504,1,Rn,Y2e),s.Ad=function(n){jSe(u(n,115).c)},v(BC,"LabelPlacer/lambda$2$Type",1504);var Rfe;p(1501,1,Rn,Q2e),s.Ad=function(n){Vg(),Vgn(u(n,115))},v(BC,"NodeLabelAndSizeUtilities/lambda$0$Type",1501),p(788,1,Rn,DQ),s.Ad=function(n){opn(this.b,this.c,this.a,u(n,187))},s.a=!1,s.c=!1,v(BC,"NodeLabelCellCreator/lambda$0$Type",788),p(1500,1,Rn,XEe),s.Ad=function(n){Ygn(this.a,u(n,187))},v(BC,"PortContextCreator/lambda$0$Type",1500);var G$;p(1872,1,{},Z2e),v(my,"GreedyRectangleStripOverlapRemover",1872),p(1873,1,It,eme),s.Le=function(n,t){return R2n(u(n,226),u(t,226))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(my,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1873),p(1826,1,{},iMe),s.a=5,s.e=0,v(my,"RectangleStripOverlapRemover",1826),p(1827,1,It,nme),s.Le=function(n,t){return B2n(u(n,226),u(t,226))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(my,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1827),p(1829,1,It,tme),s.Le=function(n,t){return yyn(u(n,226),u(t,226))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(my,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1829),p(409,23,{3:1,35:1,23:1,409:1},NM);var hA,hz,dz,dA,Ztn=nt(my,"RectangleStripOverlapRemover/OverlapRemovalDirection",409,st,x9n,hvn),ein;p(226,1,{226:1},cL),v(my,"RectangleStripOverlapRemover/RectangleNode",226),p(1828,1,Rn,KEe),s.Ad=function(n){jMn(this.a,u(n,226))},v(my,"RectangleStripOverlapRemover/lambda$1$Type",1828);var nin=!1,k8,Bfe;p(1798,1,Rn,ime),s.Ad=function(n){HKe(u(n,225))},v(Dv,"DepthFirstCompaction/0methodref$compactTree$Type",1798),p(810,1,Rn,BK),s.Ad=function(n){Xyn(this.a,u(n,225))},v(Dv,"DepthFirstCompaction/lambda$1$Type",810),p(1799,1,Rn,INe),s.Ad=function(n){wTn(this.a,this.b,this.c,u(n,225))},v(Dv,"DepthFirstCompaction/lambda$2$Type",1799);var E8,Jfe;p(68,1,{68:1},GOe),v(Dv,"Node",68),p(1179,1,{},NIe),v(Dv,"ScanlineOverlapCheck",1179),p(1180,1,{683:1},dOe),s._e=function(n){Amn(this,u(n,442))},v(Dv,"ScanlineOverlapCheck/OverlapsScanlineHandler",1180),p(1181,1,It,rme),s.Le=function(n,t){return iAn(u(n,68),u(t,68))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Dv,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1181),p(442,1,{442:1},YW),s.a=!1,v(Dv,"ScanlineOverlapCheck/Timestamp",442),p(1182,1,It,cme),s.Le=function(n,t){return jSn(u(n,442),u(t,442))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Dv,"ScanlineOverlapCheck/lambda$0$Type",1182),p(545,1,{},GT),v("org.eclipse.elk.alg.common.utils","SVGImage",545),p(748,1,{},YX),v(HJ,zue,748),p(1164,1,It,ume),s.Le=function(n,t){return i$n(u(n,235),u(t,235))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(HJ,KYe,1164),p(1165,1,Rn,B_e),s.Ad=function(n){K6n(this.b,this.a,u(n,251))},v(HJ,que,1165),p(214,1,Qb),v(T2,"AbstractLayoutProvider",214),p(726,214,Qb,iW),s.kf=function(n,t){TVe(this,n,t)},v(HJ,"ForceLayoutProvider",726);var pJn=Pi(JC,WYe);p(150,1,{3:1,105:1,150:1},FP),s.of=function(n,t){return GE(this,n,t)},s.lf=function(){return mxe(this)},s.mf=function(n){return M(this,n)},s.nf=function(n){return Zt(this,n)},v(JC,"MapPropertyHolder",150),p(313,150,{3:1,313:1,105:1,150:1}),v(GC,"FParticle",313),p(251,313,{3:1,251:1,313:1,105:1,150:1},iPe),s.Ib=function(){var n;return this.a?(n=nu(this.a.a,this,0),n>=0?"b"+n+"["+YL(this.a)+"]":"b["+YL(this.a)+"]"):"b_"+yb(this)},v(GC,"FBendpoint",251),p(291,150,{3:1,291:1,105:1,150:1},Y$e),s.Ib=function(){return YL(this)},v(GC,"FEdge",291),p(235,150,{3:1,235:1,105:1,150:1},E_);var mJn=v(GC,"FGraph",235);p(445,313,{3:1,445:1,313:1,105:1,150:1},cLe),s.Ib=function(){return this.b==null||this.b.length==0?"l["+YL(this.a)+"]":"l_"+this.b},v(GC,"FLabel",445),p(155,313,{3:1,155:1,313:1,105:1,150:1},xIe),s.Ib=function(){return bee(this)},s.a=0,v(GC,"FNode",155),p(2062,1,{}),s.qf=function(n){qce(this,n)},s.rf=function(){lze(this)},s.d=0,v(Uue,"AbstractForceModel",2062),p(631,2062,{631:1},QBe),s.pf=function(n,t){var i,r,c,o,l;return UKe(this.f,n,t),c=Ar(sc(t.d),n.d),l=m.Math.sqrt(c.a*c.a+c.b*c.b),r=m.Math.max(0,l-O6(n.e)/2-O6(t.e)/2),i=TUe(this.e,n,t),i>0?o=-ayn(r,this.c)*i:o=emn(r,this.b)*u(M(n,(Ql(),Uv)),15).a,yh(c,o/l),c},s.qf=function(n){qce(this,n),this.a=u(M(n,(Ql(),z$)),15).a,this.c=X(Y(M(n,q$))),this.b=X(Y(M(n,gz)))},s.sf=function(n){return n0&&(o-=fwn(r,this.a)*i),yh(c,o*this.b/l),c},s.qf=function(n){var t,i,r,c,o,l,a;for(qce(this,n),this.b=X(Y(M(n,(Ql(),wz)))),this.c=this.b/u(M(n,z$),15).a,r=n.e.c.length,o=0,c=0,a=new $(n.e);a.a0},s.a=0,s.b=0,s.c=0,v(Uue,"FruchtermanReingoldModel",632);var qv=Pi(ru,"ILayoutMetaDataProvider");p(844,1,na,Wke),s.tf=function(n){He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,xI),""),"Force Model"),"Determines the model for force calculation."),Gfe),(I0(),ji)),Hfe),ze((Ma(),ln))))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Vue),""),"Iterations"),"The number of iterations on the force model."),le(300)),cc),br),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Xue),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),le(0)),cc),br),ze(Nf)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,zJ),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Na),Vr),or),ze(ln)))),Oi(n,zJ,xI,sin),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,qJ),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),Vr),or),ze(ln)))),Oi(n,qJ,xI,cin),PWe((new Yke,n))};var tin,iin,Gfe,rin,cin,uin,oin,sin;v(q9,"ForceMetaDataProvider",844),p(424,23,{3:1,35:1,23:1,424:1},QW);var bz,H$,Hfe=nt(q9,"ForceModelStrategy",424,st,q4n,bvn),lin;p(984,1,na,Yke),s.tf=function(n){PWe(n)};var fin,ain,zfe,z$,qfe,hin,din,bin,gin,Ufe,win,Vfe,Xfe,pin,Uv,min,gz,Kfe,vin,yin,q$,wz,kin,Ein,Cin,Wfe,Ain;v(q9,"ForceOptions",984),p(985,1,{},ome),s.uf=function(){var n;return n=new iW,n},s.vf=function(n){},v(q9,"ForceOptions/ForceFactory",985);var bA,C8,Vv,U$;p(845,1,na,Qke),s.tf=function(n){He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Wue),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(pn(),!1)),(I0(),pr)),Hi),ze((Ma(),nr))))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Yue),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),Vr),or),bi(ln,D(O(oa,1),ae,160,0,[Nf]))))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Que),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),Yfe),ji),rae),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Zue),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Na),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,eoe),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),le(zt)),cc),br),ze(ln)))),sWe((new Zke,n))};var Tin,Min,Yfe,Sin,_in,jin;v(q9,"StressMetaDataProvider",845),p(988,1,na,Zke),s.tf=function(n){sWe(n)};var V$,Qfe,Zfe,eae,nae,tae,Iin,$in,Nin,xin,iae,Pin;v(q9,"StressOptions",988),p(989,1,{},sme),s.uf=function(){var n;return n=new Q$e,n},s.vf=function(n){},v(q9,"StressOptions/StressFactory",989),p(1080,214,Qb,Q$e),s.kf=function(n,t){var i,r,c,o,l;for(t.Tg(nQe,1),Ie(je(fe(n,(tC(),nae))))?Ie(je(fe(n,iae)))||lE((i=new L4((c0(),new Hd(n))),i)):TVe(new iW,n,t.dh(1)),c=SJe(n),r=vKe(this.a,c),l=r.Jc();l.Ob();)o=u(l.Pb(),235),!(o.e.c.length<=1)&&(MLn(this.b,o),Q$n(this.b),no(o.d,new lme));c=$We(r),BWe(c),t.Ug()},v(DI,"StressLayoutProvider",1080),p(1081,1,Rn,lme),s.Ad=function(n){eue(u(n,445))},v(DI,"StressLayoutProvider/lambda$0$Type",1081),p(986,1,{},YTe),s.c=0,s.e=0,s.g=0,v(DI,"StressMajorization",986),p(384,23,{3:1,35:1,23:1,384:1},GO);var pz,mz,vz,rae=nt(DI,"StressMajorization/Dimension",384,st,x6n,gvn),Oin;p(987,1,It,WEe),s.Le=function(n,t){return qmn(this.a,u(n,155),u(t,155))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(DI,"StressMajorization/lambda$0$Type",987),p(1161,1,{},hDe),v(Rv,"ElkLayered",1161),p(1162,1,Rn,YEe),s.Ad=function(n){BIn(this.a,u(n,37))},v(Rv,"ElkLayered/lambda$0$Type",1162),p(1163,1,Rn,QEe),s.Ad=function(n){Ymn(this.a,u(n,37))},v(Rv,"ElkLayered/lambda$1$Type",1163),p(1246,1,{},$Ie);var Din,Lin,Fin;v(Rv,"GraphConfigurator",1246),p(757,1,Rn,JK),s.Ad=function(n){Mqe(this.a,u(n,9))},v(Rv,"GraphConfigurator/lambda$0$Type",757),p(758,1,{},QX),s.Kb=function(n){return Lie(),new Ze(null,new nn(u(n,25).a,16))},v(Rv,"GraphConfigurator/lambda$1$Type",758),p(759,1,Rn,GK),s.Ad=function(n){Mqe(this.a,u(n,9))},v(Rv,"GraphConfigurator/lambda$2$Type",759),p(1079,214,Qb,ZTe),s.kf=function(n,t){var i;i=rLn(new cMe,n),Z(fe(n,(ye(),Yw)))===Z((xh(),xd))?dAn(this.a,i,t):X$n(this.a,i,t),t.Zg()||AWe(new n7e,i)},v(Rv,"LayeredLayoutProvider",1079),p(363,23,{3:1,35:1,23:1,363:1},M7);var tf,ch,Du,Lu,Tc,cae=nt(Rv,"LayeredPhases",363,st,j8n,wvn),Rin;p(1683,1,{},mBe),s.i=0;var Bin;v(XC,"ComponentsToCGraphTransformer",1683);var Jin;p(1684,1,{},fme),s.wf=function(n,t){return m.Math.min(n.a!=null?X(n.a):n.c.i,t.a!=null?X(t.a):t.c.i)},s.xf=function(n,t){return m.Math.min(n.a!=null?X(n.a):n.c.i,t.a!=null?X(t.a):t.c.i)},v(XC,"ComponentsToCGraphTransformer/1",1684),p(82,1,{82:1}),s.i=0,s.k=!0,s.o=Tr;var yz=v(K9,"CNode",82);p(460,82,{460:1,82:1},eQ,hie),s.Ib=function(){return""},v(XC,"ComponentsToCGraphTransformer/CRectNode",460),p(1652,1,{},ame);var kz,Ez;v(XC,"OneDimensionalComponentsCompaction",1652),p(1653,1,{},hme),s.Kb=function(n){return a6n(u(n,49))},s.Fb=function(n){return this===n},v(XC,"OneDimensionalComponentsCompaction/lambda$0$Type",1653),p(1654,1,{},dme),s.Kb=function(n){return mAn(u(n,49))},s.Fb=function(n){return this===n},v(XC,"OneDimensionalComponentsCompaction/lambda$1$Type",1654),p(1686,1,{},gPe),v(K9,"CGraph",1686),p(194,1,{194:1},AR),s.b=0,s.c=0,s.e=0,s.g=!0,s.i=Tr,v(K9,"CGroup",194),p(1685,1,{},bme),s.wf=function(n,t){return m.Math.max(n.a!=null?X(n.a):n.c.i,t.a!=null?X(t.a):t.c.i)},s.xf=function(n,t){return m.Math.max(n.a!=null?X(n.a):n.c.i,t.a!=null?X(t.a):t.c.i)},v(K9,NYe,1685),p(1687,1,{},SUe),s.d=!1;var Gin,Cz=v(K9,OYe,1687);p(1688,1,{},gme),s.Kb=function(n){return JW(),pn(),u(u(n,49).a,82).d.e!=0},s.Fb=function(n){return this===n},v(K9,DYe,1688),p(817,1,{},uZ),s.a=!1,s.b=!1,s.c=!1,s.d=!1,v(K9,LYe,817),p(1868,1,{},jxe),v(LI,FYe,1868);var gA=Pi(O0,IYe);p(1869,1,{377:1},hOe),s._e=function(n){nPn(this,u(n,465))},v(LI,RYe,1869),p(1870,1,It,wme),s.Le=function(n,t){return r4n(u(n,82),u(t,82))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(LI,BYe,1870),p(465,1,{465:1},ZW),s.a=!1,v(LI,JYe,465),p(1871,1,It,pme),s.Le=function(n,t){return ISn(u(n,465),u(t,465))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(LI,GYe,1871),p(146,1,{146:1},K3,KQ),s.Fb=function(n){var t;return n==null||vJn!=ks(n)?!1:(t=u(n,146),Iu(this.c,t.c)&&Iu(this.d,t.d))},s.Hb=function(){return fj(D(O(vr,1),hn,1,5,[this.c,this.d]))},s.Ib=function(){return"("+this.c+ro+this.d+(this.a?"cx":"")+this.b+")"},s.a=!0,s.c=0,s.d=0;var vJn=v(O0,"Point",146);p(408,23,{3:1,35:1,23:1,408:1},PM);var sg,Gw,O2,Hw,Hin=nt(O0,"Point/Quadrant",408,st,P9n,dvn),zin;p(1674,1,{},eMe),s.b=null,s.c=null,s.d=null,s.e=null,s.f=null;var qin,Uin,Vin,Xin,Kin;v(O0,"RectilinearConvexHull",1674),p(569,1,{377:1},$j),s._e=function(n){ykn(this,u(n,146))},s.b=0;var uae;v(O0,"RectilinearConvexHull/MaximalElementsEventHandler",569),p(1676,1,It,mme),s.Le=function(n,t){return t4n(Y(n),Y(t))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(O0,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1676),p(1675,1,{377:1},ARe),s._e=function(n){pxn(this,u(n,146))},s.a=0,s.b=null,s.c=null,s.d=null,s.e=null,v(O0,"RectilinearConvexHull/RectangleEventHandler",1675),p(1677,1,It,vme),s.Le=function(n,t){return r9n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(O0,"RectilinearConvexHull/lambda$0$Type",1677),p(1678,1,It,yme),s.Le=function(n,t){return c9n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(O0,"RectilinearConvexHull/lambda$1$Type",1678),p(1679,1,It,kme),s.Le=function(n,t){return o9n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(O0,"RectilinearConvexHull/lambda$2$Type",1679),p(1680,1,It,Eme),s.Le=function(n,t){return u9n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(O0,"RectilinearConvexHull/lambda$3$Type",1680),p(1681,1,It,Cme),s.Le=function(n,t){return djn(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(O0,"RectilinearConvexHull/lambda$4$Type",1681),p(1682,1,{},JOe),v(O0,"Scanline",1682),p(2066,1,{}),v(ta,"AbstractGraphPlacer",2066),p(336,1,{336:1},E$e),s.Df=function(n){return this.Ef(n)?(Qe(this.b,u(M(n,(se(),Gh)),22),n),!0):!1},s.Ef=function(n){var t,i,r,c;for(t=u(M(n,(se(),Gh)),22),c=u(ri(ai,t),22),r=c.Jc();r.Ob();)if(i=u(r.Pb(),22),!u(ri(this.b,i),16).dc())return!1;return!0};var ai;v(ta,"ComponentGroup",336),p(766,2066,{},rW),s.Ff=function(n){var t,i;for(i=new $(this.a);i.ai&&(w=0,y+=a+r,a=0),d=o.c,iy(o,w+d.a,y+d.b),pf(d),c=m.Math.max(c,w+b.a),a=m.Math.max(a,b.b),w+=b.a+r;t.f.a=c,t.f.b=y+a},s.Hf=function(n,t){var i,r,c,o,l;if(Z(M(t,(ye(),F8)))===Z((mv(),A8))){for(r=n.Jc();r.Ob();){for(i=u(r.Pb(),37),l=0,o=new $(i.a);o.ai&&!u(M(o,(se(),Gh)),22).Gc((ke(),jn))||d&&u(M(d,(se(),Gh)),22).Gc((ke(),Dn))||u(M(o,(se(),Gh)),22).Gc((ke(),In)))&&(C=y,T+=a+r,a=0),b=o.c,u(M(o,(se(),Gh)),22).Gc((ke(),jn))&&(C=c+r),iy(o,C+b.a,T+b.b),c=m.Math.max(c,C+w.a),u(M(o,Gh),22).Gc(Xn)&&(y=m.Math.max(y,C+w.a+r)),pf(b),a=m.Math.max(a,w.b),C+=w.a+r,d=o;t.f.a=c,t.f.b=T+a},s.Hf=function(n,t){},v(ta,"ModelOrderRowGraphPlacer",1277),p(1275,1,It,Sme),s.Le=function(n,t){return yEn(u(n,37),u(t,37))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(ta,"SimpleRowGraphPlacer/1",1275);var Yin;p(1245,1,$a,_me),s.Lb=function(n){var t;return t=u(M(u(n,250).b,(ye(),Fc)),78),!!t&&t.b!=0},s.Fb=function(n){return this===n},s.Mb=function(n){var t;return t=u(M(u(n,250).b,(ye(),Fc)),78),!!t&&t.b!=0},v(FI,"CompoundGraphPostprocessor/1",1245),p(1244,1,di,uMe),s.If=function(n,t){qHe(this,u(n,37),t)},v(FI,"CompoundGraphPreprocessor",1244),p(444,1,{444:1},NGe),s.c=!1,v(FI,"CompoundGraphPreprocessor/ExternalPort",444),p(250,1,{250:1},ES),s.Ib=function(){return ND(this.c)+":"+kUe(this.b)},v(FI,"CrossHierarchyEdge",250),p(764,1,It,HK),s.Le=function(n,t){return tSn(this,u(n,250),u(t,250))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(FI,"CrossHierarchyEdgeComparator",764),p(246,150,{3:1,246:1,105:1,150:1}),s.p=0,v(Ou,"LGraphElement",246),p(17,246,{3:1,17:1,246:1,105:1,150:1},_b),s.Ib=function(){return kUe(this)};var zy=v(Ou,"LEdge",17);p(37,246,{3:1,20:1,37:1,246:1,105:1,150:1},Tne),s.Ic=function(n){Yr(this,n)},s.Jc=function(){return new $(this.b)},s.Ib=function(){return this.b.c.length==0?"G-unlayered"+Yf(this.a):this.a.c.length==0?"G-layered"+Yf(this.b):"G[layerless"+Yf(this.a)+", layers"+Yf(this.b)+"]"};var Qin=v(Ou,"LGraph",37),Zin;p(655,1,{}),s.Jf=function(){return this.e.n},s.mf=function(n){return M(this.e,n)},s.Kf=function(){return this.e.o},s.Lf=function(){return this.e.p},s.nf=function(n){return Zt(this.e,n)},s.Mf=function(n){this.e.n.a=n.a,this.e.n.b=n.b},s.Nf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},s.Of=function(n){this.e.p=n},v(Ou,"LGraphAdapters/AbstractLShapeAdapter",655),p(464,1,{837:1},F4),s.Pf=function(){var n,t;if(!this.b)for(this.b=Ga(this.a.b.c.length),t=new $(this.a.b);t.a0&&sGe((Nn(t-1,n.length),n.charCodeAt(t-1)),oQe);)--t;if(o> ",n),Bj(i)),_t(Ru((n.a+="[",n),i.i),"]")),n.a},s.c=!0,s.d=!1;var aae,hae,dae,bae,gae,wae,nrn=v(Ou,"LPort",12);p(399,1,Za,L3),s.Ic=function(n){Yr(this,n)},s.Jc=function(){var n;return n=new $(this.a.e),new ZEe(n)},v(Ou,"LPort/1",399),p(1273,1,Or,ZEe),s.Nb=function(n){Ur(this,n)},s.Pb=function(){return u(I(this.a),17).c},s.Ob=function(){return Zc(this.a)},s.Qb=function(){N6(this.a)},v(Ou,"LPort/1/1",1273),p(365,1,Za,Cm),s.Ic=function(n){Yr(this,n)},s.Jc=function(){var n;return n=new $(this.a.g),new zK(n)},v(Ou,"LPort/2",365),p(763,1,Or,zK),s.Nb=function(n){Ur(this,n)},s.Pb=function(){return u(I(this.a),17).d},s.Ob=function(){return Zc(this.a)},s.Qb=function(){N6(this.a)},v(Ou,"LPort/2/1",763),p(1266,1,Za,G_e),s.Ic=function(n){Yr(this,n)},s.Jc=function(){return new qf(this)},v(Ou,"LPort/CombineIter",1266),p(207,1,Or,qf),s.Nb=function(n){Ur(this,n)},s.Qb=function(){kSe()},s.Ob=function(){return C6(this)},s.Pb=function(){return Zc(this.a)?I(this.a):I(this.b)},v(Ou,"LPort/CombineIter/1",207),p(1267,1,$a,Ime),s.Lb=function(n){return Bxe(n)},s.Fb=function(n){return this===n},s.Mb=function(n){return Ro(),u(n,12).g.c.length!=0},v(Ou,"LPort/lambda$0$Type",1267),p(1268,1,$a,$me),s.Lb=function(n){return Jxe(n)},s.Fb=function(n){return this===n},s.Mb=function(n){return Ro(),u(n,12).e.c.length!=0},v(Ou,"LPort/lambda$1$Type",1268),p(1269,1,$a,Nme),s.Lb=function(n){return Ro(),u(n,12).j==(ke(),jn)},s.Fb=function(n){return this===n},s.Mb=function(n){return Ro(),u(n,12).j==(ke(),jn)},v(Ou,"LPort/lambda$2$Type",1269),p(1270,1,$a,xme),s.Lb=function(n){return Ro(),u(n,12).j==(ke(),Dn)},s.Fb=function(n){return this===n},s.Mb=function(n){return Ro(),u(n,12).j==(ke(),Dn)},v(Ou,"LPort/lambda$3$Type",1270),p(1271,1,$a,Pme),s.Lb=function(n){return Ro(),u(n,12).j==(ke(),Xn)},s.Fb=function(n){return this===n},s.Mb=function(n){return Ro(),u(n,12).j==(ke(),Xn)},v(Ou,"LPort/lambda$4$Type",1271),p(1272,1,$a,Ome),s.Lb=function(n){return Ro(),u(n,12).j==(ke(),In)},s.Fb=function(n){return this===n},s.Mb=function(n){return Ro(),u(n,12).j==(ke(),In)},v(Ou,"LPort/lambda$5$Type",1272),p(25,246,{3:1,20:1,246:1,25:1,105:1,150:1},ju),s.Ic=function(n){Yr(this,n)},s.Jc=function(){return new $(this.a)},s.Ib=function(){return"L_"+nu(this.b.b,this,0)+Yf(this.a)},v(Ou,"Layer",25),p(1659,1,{},IFe),s.b=0,v(Ou,"Tarjan",1659),p(1282,1,{},cMe),v(Cd,aQe,1282),p(1286,1,{},Dme),s.Kb=function(n){return Hc(u(n,84))},v(Cd,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1286),p(1289,1,{},Lme),s.Kb=function(n){return Hc(u(n,84))},v(Cd,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1289),p(1283,1,Rn,eCe),s.Ad=function(n){FUe(this.a,u(n,125))},v(Cd,que,1283),p(1284,1,Rn,nCe),s.Ad=function(n){FUe(this.a,u(n,125))},v(Cd,hQe,1284),p(1285,1,{},Rme),s.Kb=function(n){return new Ze(null,new nn(zZ(u(n,85)),16))},v(Cd,dQe,1285),p(1287,1,kt,tCe),s.Mb=function(n){return Vpn(this.a,u(n,26))},v(Cd,bQe,1287),p(1288,1,{},Bme),s.Kb=function(n){return new Ze(null,new nn(Zyn(u(n,85)),16))},v(Cd,"ElkGraphImporter/lambda$5$Type",1288),p(1290,1,kt,iCe),s.Mb=function(n){return Xpn(this.a,u(n,26))},v(Cd,"ElkGraphImporter/lambda$7$Type",1290),p(1291,1,kt,Jme),s.Mb=function(n){return b4n(u(n,85))},v(Cd,"ElkGraphImporter/lambda$8$Type",1291),p(1261,1,{},n7e);var trn;v(Cd,"ElkGraphLayoutTransferrer",1261),p(1262,1,kt,rCe),s.Mb=function(n){return Rmn(this.a,u(n,17))},v(Cd,"ElkGraphLayoutTransferrer/lambda$0$Type",1262),p(1263,1,Rn,cCe),s.Ad=function(n){C7(),pe(this.a,u(n,17))},v(Cd,"ElkGraphLayoutTransferrer/lambda$1$Type",1263),p(1264,1,kt,uCe),s.Mb=function(n){return Tmn(this.a,u(n,17))},v(Cd,"ElkGraphLayoutTransferrer/lambda$2$Type",1264),p(1265,1,Rn,oCe),s.Ad=function(n){C7(),pe(this.a,u(n,17))},v(Cd,"ElkGraphLayoutTransferrer/lambda$3$Type",1265),p(806,1,{},CQ),v(On,"BiLinkedHashMultiMap",806),p(1511,1,di,Gme),s.If=function(n,t){R7n(u(n,37),t)},v(On,"CommentNodeMarginCalculator",1511),p(1512,1,{},Hme),s.Kb=function(n){return new Ze(null,new nn(u(n,25).a,16))},v(On,"CommentNodeMarginCalculator/lambda$0$Type",1512),p(1513,1,Rn,zme),s.Ad=function(n){nLn(u(n,9))},v(On,"CommentNodeMarginCalculator/lambda$1$Type",1513),p(1514,1,di,Fme),s.If=function(n,t){sPn(u(n,37),t)},v(On,"CommentPostprocessor",1514),p(1515,1,di,qme),s.If=function(n,t){_Rn(u(n,37),t)},v(On,"CommentPreprocessor",1515),p(1516,1,di,Ume),s.If=function(n,t){kxn(u(n,37),t)},v(On,"ConstraintsPostprocessor",1516),p(1517,1,di,Vme),s.If=function(n,t){fEn(u(n,37),t)},v(On,"EdgeAndLayerConstraintEdgeReverser",1517),p(1518,1,di,Xme),s.If=function(n,t){RAn(u(n,37),t)},v(On,"EndLabelPostprocessor",1518),p(1519,1,{},Kme),s.Kb=function(n){return new Ze(null,new nn(u(n,25).a,16))},v(On,"EndLabelPostprocessor/lambda$0$Type",1519),p(1520,1,kt,Wme),s.Mb=function(n){return C8n(u(n,9))},v(On,"EndLabelPostprocessor/lambda$1$Type",1520),p(1521,1,Rn,Yme),s.Ad=function(n){$Sn(u(n,9))},v(On,"EndLabelPostprocessor/lambda$2$Type",1521),p(1522,1,di,Qme),s.If=function(n,t){dIn(u(n,37),t)},v(On,"EndLabelPreprocessor",1522),p(1523,1,{},Zme),s.Kb=function(n){return new Ze(null,new nn(u(n,25).a,16))},v(On,"EndLabelPreprocessor/lambda$0$Type",1523),p(1524,1,Rn,$Ne),s.Ad=function(n){spn(this.a,this.b,this.c,u(n,9))},s.a=0,s.b=0,s.c=!1,v(On,"EndLabelPreprocessor/lambda$1$Type",1524),p(1525,1,kt,eve),s.Mb=function(n){return Z(M(u(n,70),(ye(),Ra)))===Z((Vf(),m4))},v(On,"EndLabelPreprocessor/lambda$2$Type",1525),p(1526,1,Rn,sCe),s.Ad=function(n){jt(this.a,u(n,70))},v(On,"EndLabelPreprocessor/lambda$3$Type",1526),p(1527,1,kt,nve),s.Mb=function(n){return Z(M(u(n,70),(ye(),Ra)))===Z((Vf(),gp))},v(On,"EndLabelPreprocessor/lambda$4$Type",1527),p(1528,1,Rn,lCe),s.Ad=function(n){jt(this.a,u(n,70))},v(On,"EndLabelPreprocessor/lambda$5$Type",1528),p(1576,1,di,t7e),s.If=function(n,t){eAn(u(n,37),t)};var irn;v(On,"EndLabelSorter",1576),p(1577,1,It,tve),s.Le=function(n,t){return kTn(u(n,455),u(t,455))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(On,"EndLabelSorter/1",1577),p(455,1,{455:1},iOe),v(On,"EndLabelSorter/LabelGroup",455),p(1578,1,{},ive),s.Kb=function(n){return E7(),new Ze(null,new nn(u(n,25).a,16))},v(On,"EndLabelSorter/lambda$0$Type",1578),p(1579,1,kt,rve),s.Mb=function(n){return E7(),u(n,9).k==(En(),zi)},v(On,"EndLabelSorter/lambda$1$Type",1579),p(1580,1,Rn,cve),s.Ad=function(n){Sjn(u(n,9))},v(On,"EndLabelSorter/lambda$2$Type",1580),p(1581,1,kt,uve),s.Mb=function(n){return E7(),Z(M(u(n,70),(ye(),Ra)))===Z((Vf(),gp))},v(On,"EndLabelSorter/lambda$3$Type",1581),p(1582,1,kt,ove),s.Mb=function(n){return E7(),Z(M(u(n,70),(ye(),Ra)))===Z((Vf(),m4))},v(On,"EndLabelSorter/lambda$4$Type",1582),p(1529,1,di,sve),s.If=function(n,t){mLn(this,u(n,37))},s.b=0,s.c=0,v(On,"FinalSplineBendpointsCalculator",1529),p(1530,1,{},lve),s.Kb=function(n){return new Ze(null,new nn(u(n,25).a,16))},v(On,"FinalSplineBendpointsCalculator/lambda$0$Type",1530),p(1531,1,{},fve),s.Kb=function(n){return new Ze(null,new ew(new Sn($n(yi(u(n,9)).a.Jc(),new V))))},v(On,"FinalSplineBendpointsCalculator/lambda$1$Type",1531),p(1532,1,kt,ave),s.Mb=function(n){return!Qr(u(n,17))},v(On,"FinalSplineBendpointsCalculator/lambda$2$Type",1532),p(1533,1,kt,hve),s.Mb=function(n){return Zt(u(n,17),(se(),z0))},v(On,"FinalSplineBendpointsCalculator/lambda$3$Type",1533),p(1534,1,Rn,fCe),s.Ad=function(n){MOn(this.a,u(n,132))},v(On,"FinalSplineBendpointsCalculator/lambda$4$Type",1534),p(1535,1,Rn,dve),s.Ad=function(n){lC(u(n,17).a)},v(On,"FinalSplineBendpointsCalculator/lambda$5$Type",1535),p(790,1,di,qK),s.If=function(n,t){hFn(this,u(n,37),t)},v(On,"GraphTransformer",790),p(502,23,{3:1,35:1,23:1,502:1},eY);var Sz,pA,rrn=nt(On,"GraphTransformer/Mode",502,st,U4n,vvn),crn;p(1536,1,di,bve),s.If=function(n,t){PNn(u(n,37),t)},v(On,"HierarchicalNodeResizingProcessor",1536),p(1537,1,di,gve),s.If=function(n,t){M7n(u(n,37),t)},v(On,"HierarchicalPortConstraintProcessor",1537),p(1538,1,It,wve),s.Le=function(n,t){return JTn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(On,"HierarchicalPortConstraintProcessor/NodeComparator",1538),p(1539,1,di,pve),s.If=function(n,t){vDn(u(n,37),t)},v(On,"HierarchicalPortDummySizeProcessor",1539),p(1540,1,di,mve),s.If=function(n,t){NPn(this,u(n,37),t)},s.a=0,v(On,"HierarchicalPortOrthogonalEdgeRouter",1540),p(1541,1,It,vve),s.Le=function(n,t){return J2n(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(On,"HierarchicalPortOrthogonalEdgeRouter/1",1541),p(1542,1,It,yve),s.Le=function(n,t){return Tkn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(On,"HierarchicalPortOrthogonalEdgeRouter/2",1542),p(1543,1,di,kve),s.If=function(n,t){fjn(u(n,37),t)},v(On,"HierarchicalPortPositionProcessor",1543),p(1544,1,di,e7e),s.If=function(n,t){aBn(this,u(n,37))},s.a=0,s.c=0;var X$,K$;v(On,"HighDegreeNodeLayeringProcessor",1544),p(566,1,{566:1},Eve),s.b=-1,s.d=-1,v(On,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",566),p(1545,1,{},Cve),s.Kb=function(n){return W7(),Yi(u(n,9))},s.Fb=function(n){return this===n},v(On,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1545),p(1546,1,{},Ave),s.Kb=function(n){return W7(),yi(u(n,9))},s.Fb=function(n){return this===n},v(On,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1546),p(1552,1,di,Tve),s.If=function(n,t){fDn(this,u(n,37),t)},v(On,"HyperedgeDummyMerger",1552),p(791,1,{},BQ),s.a=!1,s.b=!1,s.c=!1,v(On,"HyperedgeDummyMerger/MergeState",791),p(1553,1,{},Mve),s.Kb=function(n){return new Ze(null,new nn(u(n,25).a,16))},v(On,"HyperedgeDummyMerger/lambda$0$Type",1553),p(1554,1,{},Sve),s.Kb=function(n){return new Ze(null,new nn(u(n,9).j,16))},v(On,"HyperedgeDummyMerger/lambda$1$Type",1554),p(1555,1,Rn,_ve),s.Ad=function(n){u(n,12).p=-1},v(On,"HyperedgeDummyMerger/lambda$2$Type",1555),p(1556,1,di,Ive),s.If=function(n,t){lDn(u(n,37),t)},v(On,"HypernodesProcessor",1556),p(1557,1,di,$ve),s.If=function(n,t){mDn(u(n,37),t)},v(On,"InLayerConstraintProcessor",1557),p(1558,1,di,Nve),s.If=function(n,t){eEn(u(n,37),t)},v(On,"InnermostNodeMarginCalculator",1558),p(1559,1,di,xve),s.If=function(n,t){ARn(this,u(n,37))},s.a=Tr,s.b=Tr,s.c=Ri,s.d=Ri;var yJn=v(On,"InteractiveExternalPortPositioner",1559);p(1560,1,{},Pve),s.Kb=function(n){return u(n,17).d.i},s.Fb=function(n){return this===n},v(On,"InteractiveExternalPortPositioner/lambda$0$Type",1560),p(1561,1,{},aCe),s.Kb=function(n){return G2n(this.a,Y(n))},s.Fb=function(n){return this===n},v(On,"InteractiveExternalPortPositioner/lambda$1$Type",1561),p(1562,1,{},Ove),s.Kb=function(n){return u(n,17).c.i},s.Fb=function(n){return this===n},v(On,"InteractiveExternalPortPositioner/lambda$2$Type",1562),p(1563,1,{},hCe),s.Kb=function(n){return H2n(this.a,Y(n))},s.Fb=function(n){return this===n},v(On,"InteractiveExternalPortPositioner/lambda$3$Type",1563),p(1564,1,{},dCe),s.Kb=function(n){return Lmn(this.a,Y(n))},s.Fb=function(n){return this===n},v(On,"InteractiveExternalPortPositioner/lambda$4$Type",1564),p(1565,1,{},bCe),s.Kb=function(n){return Fmn(this.a,Y(n))},s.Fb=function(n){return this===n},v(On,"InteractiveExternalPortPositioner/lambda$5$Type",1565),p(79,23,{3:1,35:1,23:1,79:1,196:1},ur),s.bg=function(){switch(this.g){case 15:return new eye;case 22:return new nye;case 48:return new rye;case 29:case 36:return new qve;case 33:return new Gme;case 43:return new Fme;case 1:return new qme;case 42:return new Ume;case 57:return new qK((A5(),pA));case 0:return new qK((A5(),Sz));case 2:return new Vme;case 55:return new Xme;case 34:return new Qme;case 52:return new sve;case 56:return new bve;case 13:return new gve;case 39:return new pve;case 45:return new mve;case 41:return new kve;case 9:return new e7e;case 50:return new g$e;case 38:return new Tve;case 44:return new Ive;case 28:return new $ve;case 31:return new Nve;case 3:return new xve;case 18:return new jve;case 30:return new Dve;case 5:return new i7e;case 51:return new Bve;case 35:return new r7e;case 37:return new Uve;case 53:return new t7e;case 11:return new Vve;case 7:return new c7e;case 40:return new Xve;case 46:return new Kve;case 16:return new Wve;case 10:return new pje;case 49:return new e3e;case 21:return new n3e;case 23:return new hM((T0(),Q8));case 8:return new i3e;case 12:return new c3e;case 4:return new u3e;case 19:return new u7e;case 17:return new w3e;case 54:return new p3e;case 6:return new j3e;case 25:return new sMe;case 26:return new Z5e;case 47:return new E3e;case 32:return new tNe;case 14:return new L3e;case 27:return new oye;case 20:return new G3e;case 24:return new hM((T0(),nx));default:throw x(new Mn(WJ+(this.f!=null?this.f:""+this.g)))}};var pae,mae,vae,yae,kae,Eae,Cae,Aae,Tae,Mae,Sae,D2,W$,Y$,_ae,jae,Iae,$ae,Nae,xae,Pae,M8,Oae,Dae,Lae,Fae,Rae,_z,Q$,Z$,Bae,eN,nN,tN,qy,zw,qw,Jae,iN,rN,Gae,cN,uN,Hae,zae,qae,Uae,oN,jz,Xv,sN,lN,fN,aN,Vae,Xae,Kae,Wae,kJn=nt(On,YJ,79,st,LVe,yvn),urn;p(1566,1,di,jve),s.If=function(n,t){kRn(u(n,37),t)},v(On,"InvertedPortProcessor",1566),p(1567,1,di,Dve),s.If=function(n,t){yOn(u(n,37),t)},v(On,"LabelAndNodeSizeProcessor",1567),p(1568,1,kt,Lve),s.Mb=function(n){return u(n,9).k==(En(),zi)},v(On,"LabelAndNodeSizeProcessor/lambda$0$Type",1568),p(1569,1,kt,Fve),s.Mb=function(n){return u(n,9).k==(En(),sr)},v(On,"LabelAndNodeSizeProcessor/lambda$1$Type",1569),p(1570,1,Rn,PNe),s.Ad=function(n){lpn(this.b,this.a,this.c,u(n,9))},s.a=!1,s.c=!1,v(On,"LabelAndNodeSizeProcessor/lambda$2$Type",1570),p(1571,1,di,i7e),s.If=function(n,t){ZFn(u(n,37),t)};var orn;v(On,"LabelDummyInserter",1571),p(1572,1,$a,Rve),s.Lb=function(n){return Z(M(u(n,70),(ye(),Ra)))===Z((Vf(),p4))},s.Fb=function(n){return this===n},s.Mb=function(n){return Z(M(u(n,70),(ye(),Ra)))===Z((Vf(),p4))},v(On,"LabelDummyInserter/1",1572),p(1573,1,di,Bve),s.If=function(n,t){BFn(u(n,37),t)},v(On,"LabelDummyRemover",1573),p(1574,1,kt,Jve),s.Mb=function(n){return Ie(je(M(u(n,70),(ye(),X2))))},v(On,"LabelDummyRemover/lambda$0$Type",1574),p(1332,1,di,r7e),s.If=function(n,t){PFn(this,u(n,37),t)},s.a=null;var Iz;v(On,"LabelDummySwitcher",1332),p(294,1,{294:1},xXe),s.c=0,s.d=null,s.f=0,v(On,"LabelDummySwitcher/LabelDummyInfo",294),p(1333,1,{},Gve),s.Kb=function(n){return av(),new Ze(null,new nn(u(n,25).a,16))},v(On,"LabelDummySwitcher/lambda$0$Type",1333),p(1334,1,kt,Hve),s.Mb=function(n){return av(),u(n,9).k==(En(),Su)},v(On,"LabelDummySwitcher/lambda$1$Type",1334),p(1335,1,{},gCe),s.Kb=function(n){return Mmn(this.a,u(n,9))},v(On,"LabelDummySwitcher/lambda$2$Type",1335),p(1336,1,Rn,wCe),s.Ad=function(n){_yn(this.a,u(n,294))},v(On,"LabelDummySwitcher/lambda$3$Type",1336),p(1337,1,It,zve),s.Le=function(n,t){return iyn(u(n,294),u(t,294))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(On,"LabelDummySwitcher/lambda$4$Type",1337),p(789,1,di,qve),s.If=function(n,t){ckn(u(n,37),t)},v(On,"LabelManagementProcessor",789),p(1575,1,di,Uve),s.If=function(n,t){Yxn(u(n,37),t)},v(On,"LabelSideSelector",1575),p(1583,1,di,Vve),s.If=function(n,t){DDn(u(n,37),t)},v(On,"LayerConstraintPostprocessor",1583),p(1584,1,di,c7e),s.If=function(n,t){P$n(u(n,37),t)};var Yae;v(On,"LayerConstraintPreprocessor",1584),p(367,23,{3:1,35:1,23:1,367:1},DM);var mA,hN,dN,$z,srn=nt(On,"LayerConstraintPreprocessor/HiddenNodeConnections",367,st,L9n,t3n),lrn;p(1585,1,di,Xve),s.If=function(n,t){eFn(u(n,37),t)},v(On,"LayerSizeAndGraphHeightCalculator",1585),p(1586,1,di,Kve),s.If=function(n,t){ONn(u(n,37),t)},v(On,"LongEdgeJoiner",1586),p(1587,1,di,Wve),s.If=function(n,t){ILn(u(n,37),t)},v(On,"LongEdgeSplitter",1587),p(1588,1,di,pje),s.If=function(n,t){dRn(this,u(n,37),t)},s.e=0,s.f=0,s.j=0,s.k=0,s.n=0,s.o=0;var frn,arn;v(On,"NodePromotion",1588),p(1589,1,It,Yve),s.Le=function(n,t){return rCn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(On,"NodePromotion/1",1589),p(1590,1,It,Qve),s.Le=function(n,t){return cCn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(On,"NodePromotion/2",1590),p(1591,1,{},Zve),s.Kb=function(n){return u(n,49),yS(),pn(),!0},s.Fb=function(n){return this===n},v(On,"NodePromotion/lambda$0$Type",1591),p(1592,1,{},pCe),s.Kb=function(n){return f6n(this.a,u(n,49))},s.Fb=function(n){return this===n},s.a=0,v(On,"NodePromotion/lambda$1$Type",1592),p(1593,1,{},mCe),s.Kb=function(n){return l6n(this.a,u(n,49))},s.Fb=function(n){return this===n},s.a=0,v(On,"NodePromotion/lambda$2$Type",1593),p(1594,1,di,e3e),s.If=function(n,t){tBn(u(n,37),t)},v(On,"NorthSouthPortPostprocessor",1594),p(1595,1,di,n3e),s.If=function(n,t){sBn(u(n,37),t)},v(On,"NorthSouthPortPreprocessor",1595),p(1596,1,It,t3e),s.Le=function(n,t){return CEn(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(On,"NorthSouthPortPreprocessor/lambda$0$Type",1596),p(1597,1,di,i3e),s.If=function(n,t){ZOn(u(n,37),t)},v(On,"PartitionMidprocessor",1597),p(1598,1,kt,r3e),s.Mb=function(n){return Zt(u(n,9),(ye(),Zw))},v(On,"PartitionMidprocessor/lambda$0$Type",1598),p(1599,1,Rn,vCe),s.Ad=function(n){d4n(this.a,u(n,9))},v(On,"PartitionMidprocessor/lambda$1$Type",1599),p(1600,1,di,c3e),s.If=function(n,t){txn(u(n,37),t)},v(On,"PartitionPostprocessor",1600),p(1601,1,di,u3e),s.If=function(n,t){cOn(u(n,37),t)},v(On,"PartitionPreprocessor",1601),p(1602,1,kt,o3e),s.Mb=function(n){return Zt(u(n,9),(ye(),Zw))},v(On,"PartitionPreprocessor/lambda$0$Type",1602),p(1603,1,kt,s3e),s.Mb=function(n){return Zt(u(n,9),(ye(),Zw))},v(On,"PartitionPreprocessor/lambda$1$Type",1603),p(1604,1,{},l3e),s.Kb=function(n){return new Ze(null,new ew(new Sn($n(yi(u(n,9)).a.Jc(),new V))))},v(On,"PartitionPreprocessor/lambda$2$Type",1604),p(1605,1,kt,yCe),s.Mb=function(n){return Uwn(this.a,u(n,17))},v(On,"PartitionPreprocessor/lambda$3$Type",1605),p(1606,1,Rn,f3e),s.Ad=function(n){DEn(u(n,17))},v(On,"PartitionPreprocessor/lambda$4$Type",1606),p(1607,1,kt,kCe),s.Mb=function(n){return jyn(this.a,u(n,9))},s.a=0,v(On,"PartitionPreprocessor/lambda$5$Type",1607),p(1608,1,di,u7e),s.If=function(n,t){xOn(u(n,37),t)};var Qae,hrn,drn,brn,Zae,ehe;v(On,"PortListSorter",1608),p(1609,1,{},a3e),s.Kb=function(n){return $5(),u(n,12).e},v(On,"PortListSorter/lambda$0$Type",1609),p(1610,1,{},h3e),s.Kb=function(n){return $5(),u(n,12).g},v(On,"PortListSorter/lambda$1$Type",1610),p(1611,1,It,d3e),s.Le=function(n,t){return oLe(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(On,"PortListSorter/lambda$2$Type",1611),p(1612,1,It,b3e),s.Le=function(n,t){return KMn(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(On,"PortListSorter/lambda$3$Type",1612),p(1613,1,It,g3e),s.Le=function(n,t){return cKe(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(On,"PortListSorter/lambda$4$Type",1613),p(1614,1,di,w3e),s.If=function(n,t){J$n(u(n,37),t)},v(On,"PortSideProcessor",1614),p(1615,1,di,p3e),s.If=function(n,t){qPn(u(n,37),t)},v(On,"ReversedEdgeRestorer",1615),p(1620,1,di,sMe),s.If=function(n,t){NMn(this,u(n,37),t)},v(On,"SelfLoopPortRestorer",1620),p(1621,1,{},m3e),s.Kb=function(n){return new Ze(null,new nn(u(n,25).a,16))},v(On,"SelfLoopPortRestorer/lambda$0$Type",1621),p(1622,1,kt,v3e),s.Mb=function(n){return u(n,9).k==(En(),zi)},v(On,"SelfLoopPortRestorer/lambda$1$Type",1622),p(1623,1,kt,y3e),s.Mb=function(n){return Zt(u(n,9),(se(),bg))},v(On,"SelfLoopPortRestorer/lambda$2$Type",1623),p(1624,1,{},k3e),s.Kb=function(n){return u(M(u(n,9),(se(),bg)),338)},v(On,"SelfLoopPortRestorer/lambda$3$Type",1624),p(1625,1,Rn,ECe),s.Ad=function(n){Jjn(this.a,u(n,338))},v(On,"SelfLoopPortRestorer/lambda$4$Type",1625),p(792,1,Rn,nK),s.Ad=function(n){Qjn(u(n,107))},v(On,"SelfLoopPortRestorer/lambda$5$Type",792),p(1627,1,di,E3e),s.If=function(n,t){zTn(u(n,37),t)},v(On,"SelfLoopPostProcessor",1627),p(1628,1,{},C3e),s.Kb=function(n){return new Ze(null,new nn(u(n,25).a,16))},v(On,"SelfLoopPostProcessor/lambda$0$Type",1628),p(1629,1,kt,A3e),s.Mb=function(n){return u(n,9).k==(En(),zi)},v(On,"SelfLoopPostProcessor/lambda$1$Type",1629),p(1630,1,kt,T3e),s.Mb=function(n){return Zt(u(n,9),(se(),bg))},v(On,"SelfLoopPostProcessor/lambda$2$Type",1630),p(1631,1,Rn,M3e),s.Ad=function(n){XSn(u(n,9))},v(On,"SelfLoopPostProcessor/lambda$3$Type",1631),p(1632,1,{},S3e),s.Kb=function(n){return new Ze(null,new nn(u(n,107).f,1))},v(On,"SelfLoopPostProcessor/lambda$4$Type",1632),p(1633,1,Rn,CCe),s.Ad=function(n){$9n(this.a,u(n,341))},v(On,"SelfLoopPostProcessor/lambda$5$Type",1633),p(1634,1,kt,_3e),s.Mb=function(n){return!!u(n,107).i},v(On,"SelfLoopPostProcessor/lambda$6$Type",1634),p(1635,1,Rn,ACe),s.Ad=function(n){lwn(this.a,u(n,107))},v(On,"SelfLoopPostProcessor/lambda$7$Type",1635),p(1616,1,di,j3e),s.If=function(n,t){yNn(u(n,37),t)},v(On,"SelfLoopPreProcessor",1616),p(1617,1,{},I3e),s.Kb=function(n){return new Ze(null,new nn(u(n,107).f,1))},v(On,"SelfLoopPreProcessor/lambda$0$Type",1617),p(1618,1,{},$3e),s.Kb=function(n){return u(n,341).a},v(On,"SelfLoopPreProcessor/lambda$1$Type",1618),p(1619,1,Rn,N3e),s.Ad=function(n){a2n(u(n,17))},v(On,"SelfLoopPreProcessor/lambda$2$Type",1619),p(1636,1,di,tNe),s.If=function(n,t){Ajn(this,u(n,37),t)},v(On,"SelfLoopRouter",1636),p(1637,1,{},x3e),s.Kb=function(n){return new Ze(null,new nn(u(n,25).a,16))},v(On,"SelfLoopRouter/lambda$0$Type",1637),p(1638,1,kt,P3e),s.Mb=function(n){return u(n,9).k==(En(),zi)},v(On,"SelfLoopRouter/lambda$1$Type",1638),p(1639,1,kt,O3e),s.Mb=function(n){return Zt(u(n,9),(se(),bg))},v(On,"SelfLoopRouter/lambda$2$Type",1639),p(1640,1,{},D3e),s.Kb=function(n){return u(M(u(n,9),(se(),bg)),338)},v(On,"SelfLoopRouter/lambda$3$Type",1640),p(1641,1,Rn,H_e),s.Ad=function(n){o4n(this.a,this.b,u(n,338))},v(On,"SelfLoopRouter/lambda$4$Type",1641),p(1642,1,di,L3e),s.If=function(n,t){Fxn(u(n,37),t)},v(On,"SemiInteractiveCrossMinProcessor",1642),p(1643,1,kt,F3e),s.Mb=function(n){return u(n,9).k==(En(),zi)},v(On,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1643),p(1644,1,kt,R3e),s.Mb=function(n){return mxe(u(n,9))._b((ye(),tp))},v(On,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1644),p(1645,1,It,B3e),s.Le=function(n,t){return D7n(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(On,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1645),p(1646,1,{},J3e),s.Te=function(n,t){return h4n(u(n,9),u(t,9))},v(On,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1646),p(1648,1,di,G3e),s.If=function(n,t){mFn(u(n,37),t)},v(On,"SortByInputModelProcessor",1648),p(1649,1,kt,H3e),s.Mb=function(n){return u(n,12).g.c.length!=0},v(On,"SortByInputModelProcessor/lambda$0$Type",1649),p(1650,1,Rn,TCe),s.Ad=function(n){iIn(this.a,u(n,12))},v(On,"SortByInputModelProcessor/lambda$1$Type",1650),p(1729,804,{},$Be),s.bf=function(n){var t,i,r,c;switch(this.c=n,this.a.g){case 2:t=new me,Ui(qt(new Ze(null,new nn(this.c.a.b,16)),new i5e),new X_e(this,t)),fC(this,new q3e),no(t,new U3e),t.c.length=0,Ui(qt(new Ze(null,new nn(this.c.a.b,16)),new V3e),new SCe(t)),fC(this,new X3e),no(t,new K3e),t.c.length=0,i=IIe(FF(tw(new Ze(null,new nn(this.c.a.b,16)),new _Ce(this))),new W3e),Ui(new Ze(null,new nn(this.c.a.a,16)),new q_e(i,t)),fC(this,new Q3e),no(t,new Z3e),t.c.length=0;break;case 3:r=new me,fC(this,new z3e),c=IIe(FF(tw(new Ze(null,new nn(this.c.a.b,16)),new MCe(this))),new Y3e),Ui(qt(new Ze(null,new nn(this.c.a.b,16)),new e5e),new V_e(c,r)),fC(this,new n5e),no(r,new t5e),r.c.length=0;break;default:throw x(new WTe)}},s.b=0,v(er,"EdgeAwareScanlineConstraintCalculation",1729),p(1730,1,$a,z3e),s.Lb=function(n){return J(u(n,60).g,156)},s.Fb=function(n){return this===n},s.Mb=function(n){return J(u(n,60).g,156)},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1730),p(1731,1,{},MCe),s.We=function(n){return IIn(this.a,u(n,60))},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1731),p(1739,1,SI,z_e),s.be=function(){p9(this.a,this.b,-1)},s.b=0,v(er,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1739),p(1741,1,$a,q3e),s.Lb=function(n){return J(u(n,60).g,156)},s.Fb=function(n){return this===n},s.Mb=function(n){return J(u(n,60).g,156)},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1741),p(1742,1,Rn,U3e),s.Ad=function(n){u(n,375).be()},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1742),p(1743,1,kt,V3e),s.Mb=function(n){return J(u(n,60).g,9)},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1743),p(1745,1,Rn,SCe),s.Ad=function(n){vAn(this.a,u(n,60))},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1745),p(1744,1,SI,Y_e),s.be=function(){p9(this.b,this.a,-1)},s.a=0,v(er,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1744),p(1746,1,$a,X3e),s.Lb=function(n){return J(u(n,60).g,9)},s.Fb=function(n){return this===n},s.Mb=function(n){return J(u(n,60).g,9)},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1746),p(1747,1,Rn,K3e),s.Ad=function(n){u(n,375).be()},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1747),p(1748,1,{},_Ce),s.We=function(n){return $In(this.a,u(n,60))},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1748),p(1749,1,{},W3e),s.Ue=function(){return 0},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1749),p(1732,1,{},Y3e),s.Ue=function(){return 0},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1732),p(1751,1,Rn,q_e),s.Ad=function(n){K5n(this.a,this.b,u(n,320))},s.a=0,v(er,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1751),p(1750,1,SI,U_e),s.be=function(){oVe(this.a,this.b,-1)},s.b=0,v(er,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1750),p(1752,1,$a,Q3e),s.Lb=function(n){return u(n,60),!0},s.Fb=function(n){return this===n},s.Mb=function(n){return u(n,60),!0},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1752),p(1753,1,Rn,Z3e),s.Ad=function(n){u(n,375).be()},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1753),p(1733,1,kt,e5e),s.Mb=function(n){return J(u(n,60).g,9)},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1733),p(1735,1,Rn,V_e),s.Ad=function(n){W5n(this.a,this.b,u(n,60))},s.a=0,v(er,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1735),p(1734,1,SI,Q_e),s.be=function(){p9(this.b,this.a,-1)},s.a=0,v(er,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1734),p(1736,1,$a,n5e),s.Lb=function(n){return u(n,60),!0},s.Fb=function(n){return this===n},s.Mb=function(n){return u(n,60),!0},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1736),p(1737,1,Rn,t5e),s.Ad=function(n){u(n,375).be()},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1737),p(1738,1,kt,i5e),s.Mb=function(n){return J(u(n,60).g,156)},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1738),p(1740,1,Rn,X_e),s.Ad=function(n){c7n(this.a,this.b,u(n,60))},v(er,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1740),p(1547,1,di,g$e),s.If=function(n,t){xLn(this,u(n,37),t)};var grn;v(er,"HorizontalGraphCompactor",1547),p(1548,1,{},jCe),s.df=function(n,t){var i,r,c;return sne(n,t)||(i=Qp(n),r=Qp(t),i&&i.k==(En(),sr)||r&&r.k==(En(),sr))?0:(c=u(M(this.a.a,(se(),q2)),316),U2n(c,i?i.k:(En(),rr),r?r.k:(En(),rr)))},s.ef=function(n,t){var i,r,c;return sne(n,t)?1:(i=Qp(n),r=Qp(t),c=u(M(this.a.a,(se(),q2)),316),ZY(c,i?i.k:(En(),rr),r?r.k:(En(),rr)))},v(er,"HorizontalGraphCompactor/1",1548),p(1549,1,{},r5e),s.cf=function(n,t){return Q4(),n.a.i==0},v(er,"HorizontalGraphCompactor/lambda$0$Type",1549),p(1550,1,{},ICe),s.cf=function(n,t){return g4n(this.a,n,t)},v(er,"HorizontalGraphCompactor/lambda$1$Type",1550),p(1696,1,{},lRe);var wrn,prn;v(er,"LGraphToCGraphTransformer",1696),p(1704,1,kt,c5e),s.Mb=function(n){return n!=null},v(er,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1704),p(1697,1,{},u5e),s.Kb=function(n){return js(),Vc(M(u(u(n,60).g,9),(se(),ti)))},v(er,"LGraphToCGraphTransformer/lambda$0$Type",1697),p(1698,1,{},o5e),s.Kb=function(n){return js(),CGe(u(u(n,60).g,156))},v(er,"LGraphToCGraphTransformer/lambda$1$Type",1698),p(1707,1,kt,s5e),s.Mb=function(n){return js(),J(u(n,60).g,9)},v(er,"LGraphToCGraphTransformer/lambda$10$Type",1707),p(1708,1,Rn,l5e),s.Ad=function(n){u4n(u(n,60))},v(er,"LGraphToCGraphTransformer/lambda$11$Type",1708),p(1709,1,kt,f5e),s.Mb=function(n){return js(),J(u(n,60).g,156)},v(er,"LGraphToCGraphTransformer/lambda$12$Type",1709),p(1713,1,Rn,a5e),s.Ad=function(n){FCn(u(n,60))},v(er,"LGraphToCGraphTransformer/lambda$13$Type",1713),p(1710,1,Rn,$Ce),s.Ad=function(n){Jpn(this.a,u(n,8))},s.a=0,v(er,"LGraphToCGraphTransformer/lambda$14$Type",1710),p(1711,1,Rn,NCe),s.Ad=function(n){Hpn(this.a,u(n,119))},s.a=0,v(er,"LGraphToCGraphTransformer/lambda$15$Type",1711),p(1712,1,Rn,xCe),s.Ad=function(n){Gpn(this.a,u(n,8))},s.a=0,v(er,"LGraphToCGraphTransformer/lambda$16$Type",1712),p(1714,1,{},h5e),s.Kb=function(n){return js(),new Ze(null,new ew(new Sn($n(yi(u(n,9)).a.Jc(),new V))))},v(er,"LGraphToCGraphTransformer/lambda$17$Type",1714),p(1715,1,kt,d5e),s.Mb=function(n){return js(),Qr(u(n,17))},v(er,"LGraphToCGraphTransformer/lambda$18$Type",1715),p(1716,1,Rn,PCe),s.Ad=function(n){Okn(this.a,u(n,17))},v(er,"LGraphToCGraphTransformer/lambda$19$Type",1716),p(1700,1,Rn,OCe),s.Ad=function(n){f9n(this.a,u(n,156))},v(er,"LGraphToCGraphTransformer/lambda$2$Type",1700),p(1717,1,{},b5e),s.Kb=function(n){return js(),new Ze(null,new nn(u(n,25).a,16))},v(er,"LGraphToCGraphTransformer/lambda$20$Type",1717),p(1718,1,{},g5e),s.Kb=function(n){return js(),new Ze(null,new ew(new Sn($n(yi(u(n,9)).a.Jc(),new V))))},v(er,"LGraphToCGraphTransformer/lambda$21$Type",1718),p(1719,1,{},w5e),s.Kb=function(n){return js(),u(M(u(n,17),(se(),z0)),16)},v(er,"LGraphToCGraphTransformer/lambda$22$Type",1719),p(1720,1,kt,p5e),s.Mb=function(n){return V2n(u(n,16))},v(er,"LGraphToCGraphTransformer/lambda$23$Type",1720),p(1721,1,Rn,DCe),s.Ad=function(n){NIn(this.a,u(n,16))},v(er,"LGraphToCGraphTransformer/lambda$24$Type",1721),p(1722,1,{},m5e),s.Kb=function(n){return js(),new Ze(null,new ew(new Sn($n(yi(u(n,9)).a.Jc(),new V))))},v(er,"LGraphToCGraphTransformer/lambda$25$Type",1722),p(1723,1,kt,v5e),s.Mb=function(n){return js(),Qr(u(n,17))},v(er,"LGraphToCGraphTransformer/lambda$26$Type",1723),p(1725,1,Rn,LCe),s.Ad=function(n){_7n(this.a,u(n,17))},v(er,"LGraphToCGraphTransformer/lambda$27$Type",1725),p(1724,1,Rn,FCe),s.Ad=function(n){Pwn(this.a,u(n,70))},s.a=0,v(er,"LGraphToCGraphTransformer/lambda$28$Type",1724),p(1699,1,Rn,K_e),s.Ad=function(n){f8n(this.a,this.b,u(n,156))},v(er,"LGraphToCGraphTransformer/lambda$3$Type",1699),p(1701,1,{},y5e),s.Kb=function(n){return js(),new Ze(null,new nn(u(n,25).a,16))},v(er,"LGraphToCGraphTransformer/lambda$4$Type",1701),p(1702,1,{},k5e),s.Kb=function(n){return js(),new Ze(null,new ew(new Sn($n(yi(u(n,9)).a.Jc(),new V))))},v(er,"LGraphToCGraphTransformer/lambda$5$Type",1702),p(1703,1,{},E5e),s.Kb=function(n){return js(),u(M(u(n,17),(se(),z0)),16)},v(er,"LGraphToCGraphTransformer/lambda$6$Type",1703),p(1705,1,Rn,RCe),s.Ad=function(n){HIn(this.a,u(n,16))},v(er,"LGraphToCGraphTransformer/lambda$8$Type",1705),p(1706,1,Rn,W_e),s.Ad=function(n){h2n(this.a,this.b,u(n,156))},v(er,"LGraphToCGraphTransformer/lambda$9$Type",1706),p(1695,1,{},C5e),s.af=function(n){var t,i,r,c,o;for(this.a=n,this.d=new fO,this.c=ee(Ffe,hn,124,this.a.a.a.c.length,0,1),this.b=0,i=new $(this.a.a.a);i.a=j&&(pe(o,le(w)),H=m.Math.max(H,K[w-1]-y),a+=S,P+=K[w-1]-P,y=K[w-1],S=d[w]),S=m.Math.max(S,d[w]),++w;a+=S}T=m.Math.min(1/H,1/t.b/a),T>r&&(r=T,i=o)}return i},s.ng=function(){return!1},v(xa,"MSDCutIndexHeuristic",803),p(1647,1,di,oye),s.If=function(n,t){LDn(u(n,37),t)},v(xa,"SingleEdgeGraphWrapper",1647),p(231,23,{3:1,35:1,23:1,231:1},c6);var F2,Xy,Ky,Vw,S8,R2,Wy=nt(du,"CenterEdgeLabelPlacementStrategy",231,st,okn,Tvn),jrn;p(422,23,{3:1,35:1,23:1,422:1},nY);var the,Gz,ihe=nt(du,"ConstraintCalculationStrategy",422,st,$4n,Mvn),Irn;p(301,23,{3:1,35:1,23:1,301:1,188:1,196:1},FM),s.bg=function(){return wVe(this)},s.og=function(){return wVe(this)};var yA,_8,rhe,che,uhe=nt(du,"CrossingMinimizationStrategy",301,st,F9n,Svn),$rn;p(350,23,{3:1,35:1,23:1,350:1},HO);var ohe,Hz,mN,she=nt(du,"CuttingStrategy",350,st,k6n,_vn),Nrn;p(267,23,{3:1,35:1,23:1,267:1,188:1,196:1},Dp),s.bg=function(){return yXe(this)},s.og=function(){return yXe(this)};var zz,lhe,qz,Uz,Vz,Xz,Kz,Wz,kA,fhe=nt(du,"CycleBreakingStrategy",267,st,k7n,jvn),xrn;p(419,23,{3:1,35:1,23:1,419:1},tY);var vN,ahe,hhe=nt(du,"DirectionCongruency",419,st,N4n,Ivn),Prn;p(449,23,{3:1,35:1,23:1,449:1},qO);var Yy,Yz,B2,Orn=nt(du,"EdgeConstraint",449,st,E6n,$vn),Drn;p(284,23,{3:1,35:1,23:1,284:1},s6);var Qz,Zz,eq,nq,yN,tq,dhe=nt(du,"EdgeLabelSideSelection",284,st,skn,Nvn),Lrn;p(476,23,{3:1,35:1,23:1,476:1},iY);var kN,bhe,ghe=nt(du,"EdgeStraighteningStrategy",476,st,x4n,xvn),Frn;p(282,23,{3:1,35:1,23:1,282:1},u6);var iq,whe,phe,EN,mhe,vhe,yhe=nt(du,"FixedAlignment",282,st,lkn,Pvn),Rrn;p(283,23,{3:1,35:1,23:1,283:1},o6);var khe,Ehe,Che,Ahe,j8,The,Mhe=nt(du,"GraphCompactionStrategy",283,st,fkn,Ovn),Brn;p(261,23,{3:1,35:1,23:1,261:1},Bg);var Qy,CN,Zy,al,I8,AN,e4,J2,TN,$8,rq=nt(du,"GraphProperties",261,st,X7n,Dvn),Jrn;p(302,23,{3:1,35:1,23:1,302:1},UO);var EA,cq,uq,oq=nt(du,"GreedySwitchType",302,st,C6n,Lvn),Grn;p(329,23,{3:1,35:1,23:1,329:1},VO);var Xw,She,CA,sq=nt(du,"GroupOrderStrategy",329,st,A6n,Fvn),Hrn;p(315,23,{3:1,35:1,23:1,315:1},XO);var Kv,AA,G2,zrn=nt(du,"InLayerConstraint",315,st,T6n,Rvn),qrn;p(420,23,{3:1,35:1,23:1,420:1},rY);var lq,_he,jhe=nt(du,"InteractiveReferencePoint",420,st,P4n,Bvn),Urn,Ihe,Wv,ag,TA,MN,$he,Nhe,SN,xhe,Yv,_N,N8,Qv,Gh,fq,jN,wu,Phe,$1,Ku,aq,hq,MA,H0,hg,Zv,Ohe,Vrn,e3,SA,Kw,If,jl,dq,H2,N1,wi,ti,Dhe,Lhe,Fhe,Rhe,Bhe,bq,IN,Yo,dg,gq,n3,x8,Md,z2,bg,q2,U2,n4,z0,Jhe,wq,pq,P8,t3,$N,i3,V2;p(165,23,{3:1,35:1,23:1,165:1},_7);var O8,Hh,D8,q0,_A,Ghe=nt(du,"LayerConstraint",165,st,x8n,Jvn),Xrn;p(423,23,{3:1,35:1,23:1,423:1},cY);var mq,vq,Hhe=nt(du,"LayerUnzippingStrategy",423,st,O4n,Gvn),Krn;p(843,1,na,E7e),s.tf=function(n){He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,ioe),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),tde),(I0(),ji)),hhe),ze((Ma(),ln))))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,roe),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(pn(),!1)),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,BI),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),sde),ji),jhe),ze(ln)))),Oi(n,BI,WC,Zcn),Oi(n,BI,Q9,Qcn),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,coe),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,uoe),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),pr),Hi),ze(ln)))),He(n,new Oe(Dwn(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,ooe),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),pr),Hi),ze($d)),D(O($e,1),be,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,soe),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),vde),ji),I1e),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,loe),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),le(7)),cc),br),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,foe),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,aoe),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,WC),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),nde),ji),fhe),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,YC),NG),"Node Layering Strategy"),"Strategy for node layering."),ade),ji),m1e),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,hoe),NG),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),lde),ji),Ghe),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,doe),NG),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),cc),br),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,boe),NG),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),le(-1)),cc),br),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,eG),TQe),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),le(4)),cc),br),ze(ln)))),Oi(n,eG,YC,uun),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,nG),TQe),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),le(2)),cc),br),ze(ln)))),Oi(n,nG,YC,sun),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,tG),MQe),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),fde),ji),S1e),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,iG),MQe),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),le(0)),cc),br),ze(ln)))),Oi(n,iG,tG,null),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,rG),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),le(zt)),cc),br),ze(ln)))),Oi(n,rG,YC,nun),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Q9),Ty),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),ede),ji),uhe),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,goe),Ty),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,cG),Ty),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),Vr),or),ze(ln)))),Oi(n,cG,ZI,Tcn),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,uG),Ty),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),pr),Hi),ze(ln)))),Oi(n,uG,Q9,$cn),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,woe),Ty),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),f3),$e),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,poe),Ty),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),f3),$e),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,moe),Ty),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),cc),br),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,voe),Ty),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),le(-1)),cc),br),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,yoe),SQe),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),le(40)),cc),br),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,oG),SQe),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),Zhe),ji),oq),ze(ln)))),Oi(n,oG,Q9,Ccn),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,JI),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),Qhe),ji),oq),ze(ln)))),Oi(n,JI,Q9,ycn),Oi(n,JI,ZI,kcn),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,S2),_Qe),"Node Placement Strategy"),"Strategy for node placement."),mde),ji),E1e),ze(ln)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,GI),_Qe),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),pr),Hi),ze(ln)))),Oi(n,GI,S2,Tun),Oi(n,GI,S2,Mun),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,sG),jQe),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),gde),ji),ghe),ze(ln)))),Oi(n,sG,S2,kun),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,lG),jQe),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),wde),ji),yhe),ze(ln)))),Oi(n,lG,S2,Cun),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,fG),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),Vr),or),ze(ln)))),Oi(n,fG,S2,_un),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,aG),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),ji),Uq),ze(nr)))),Oi(n,aG,S2,Nun),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,hG),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),pde),ji),Uq),ze(ln)))),Oi(n,hG,S2,$un),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,koe),IQe),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),cde),ji),x1e),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Eoe),IQe),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),ude),ji),P1e),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,HI),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),ode),ji),D1e),ze(ln)))),Oi(n,HI,ZC,Gcn),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,zI),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),Vr),or),ze(ln)))),Oi(n,zI,ZC,zcn),Oi(n,zI,HI,qcn),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,dG),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),Vr),or),ze(ln)))),Oi(n,dG,ZC,Fcn),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,Coe),ia),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Aoe),ia),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Toe),ia),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Moe),ia),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Soe),Roe),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),le(0)),cc),br),ze(Nf)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,_oe),Roe),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),le(0)),cc),br),ze(Nf)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,joe),Roe),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),le(0)),cc),br),ze(Nf)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,bG),Boe),"Connected Components Compaction"),"Tries to further compact components (disconnected sub-graphs)."),!1),pr),Hi),ze(ln)))),Oi(n,bG,U9,!0),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Ioe),$Qe),"Post Compaction Strategy"),NQe),qhe),ji),Mhe),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,$oe),$Qe),"Post Compaction Constraint Calculation"),NQe),zhe),ji),ihe),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,qI),Joe),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,gG),Joe),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),le(16)),cc),br),ze(ln)))),Oi(n,gG,qI,!0),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,wG),Joe),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),le(5)),cc),br),ze(ln)))),Oi(n,wG,qI,!0),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Rh),Goe),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),Ede),ji),B1e),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,UI),Goe),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),Vr),or),ze(ln)))),Oi(n,UI,Rh,qun),Oi(n,UI,Rh,Uun),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,VI),Goe),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),Vr),or),ze(ln)))),Oi(n,VI,Rh,Xun),Oi(n,VI,Rh,Kun),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Z9),xQe),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),kde),ji),she),ze(ln)))),Oi(n,Z9,Rh,non),Oi(n,Z9,Rh,ton),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,pG),xQe),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),sa),Js),ze(ln)))),Oi(n,pG,Z9,Yun),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,mG),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),yde),cc),br),ze(ln)))),Oi(n,mG,Z9,Zun),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,XI),PQe),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),Cde),ji),R1e),ze(ln)))),Oi(n,XI,Rh,bon),Oi(n,XI,Rh,gon),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,KI),PQe),"Valid Indices for Wrapping"),null),sa),Js),ze(ln)))),Oi(n,KI,Rh,aon),Oi(n,KI,Rh,hon),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,WI),Hoe),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),pr),Hi),ze(ln)))),Oi(n,WI,Rh,uon),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,YI),Hoe),"Distance Penalty When Improving Cuts"),null),2),Vr),or),ze(ln)))),Oi(n,YI,Rh,ron),Oi(n,YI,WI,!0),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,vG),Hoe),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),pr),Hi),ze(ln)))),Oi(n,vG,Rh,son),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,yG),xG),"Layer Unzipping Strategy"),"The strategy to use for unzipping a layer into multiple sublayers while maintaining the existing ordering of nodes and edges after crossing minimization. The default value is 'NONE'."),bde),ji),Hhe),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,kG),xG),"Minimize Edge Length Heuristic"),"Use a heuristic to decide whether or not to actually perform the layer split with the goal of minimizing the total edge length. This option only works when layerSplit is set to 2. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to true, then the value is set to true for the entire layer."),!1),pr),Hi),ze(nr)))),Oi(n,kG,EG,bun),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,EG),xG),"Unzipping Layer Split"),"Defines the number of sublayers to split a layer into. The property can be set to the nodes in a layer, which then applies the property for the layer. If multiple nodes set the value to different values, then the lowest value is chosen."),hde),cc),br),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,CG),xG),"Reset Alternation on Long Edges"),"If set to true, nodes will always be placed in the first sublayer after a long edge when using the ALTERNATING strategy. Otherwise long edge dummies are treated the same as regular nodes. The default value is true. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to false, then the value is set to false for the entire layer."),dde),pr),Hi),ze(nr)))),Oi(n,CG,yG,wun),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Noe),PG),"Edge Label Side Selection"),"Method to decide on edge label sides."),rde),ji),dhe),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,xoe),PG),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),ide),ji),Wy),bi(ln,D(O(oa,1),ae,160,0,[qh]))))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,QI),e8),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),Yhe),ji),j1e),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Poe),e8),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,QC),e8),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),pr),Hi),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,AG),e8),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),Uhe),ji),sae),ze(ln)))),Oi(n,AG,U9,null),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Ooe),e8),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),Whe),ji),y1e),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,TG),e8),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),Vr),or),ze(ln)))),Oi(n,TG,QI,null),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,MG),e8),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),Vr),or),ze(ln)))),Oi(n,MG,QI,null),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,SG),My),zoe),"Used to define partial ordering groups during cycle breaking. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),le(0)),cc),br),ze(nr)))),Oi(n,SG,QC,!1),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,_G),My),zoe),"Used to define partial ordering groups during crossing minimization. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),le(0)),cc),br),bi(nr,D(O(oa,1),ae,160,0,[Nf,$d]))))),Oi(n,_G,QC,!1),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,jG),My),zoe),"Used to define partial ordering groups during component packing. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),le(0)),cc),br),bi(nr,D(O(oa,1),ae,160,0,[Nf,$d]))))),Oi(n,jG,QC,!1),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Doe),My),"Cycle Breaking Group Ordering Strategy"),"Determines how to count ordering violations during cycle breaking. NONE: They do not count. ENFORCED: A group with a higher model order is before a node with a smaller. MODEL_ORDER: The model order counts instead of the model order group id ordering."),Vhe),ji),sq),ze(ln)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,IG),My),"Cycle Breaking Preferred Source Id"),"The model order group id for which should be preferred as a source if possible."),cc),br),ze(ln)))),Oi(n,IG,WC,ccn),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,$G),My),"Cycle Breaking Preferred Target Id"),"The model order group id for which should be preferred as a target if possible."),cc),br),ze(ln)))),Oi(n,$G,WC,ocn),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Loe),My),"Crossing Minimization Group Ordering Strategy"),"Determines how to count ordering violations during crossing minimization. NONE: They do not count. ENFORCED: A group with a lower id is before a group with a higher id. MODEL_ORDER: The model order counts instead of the model order group id ordering."),Khe),ji),sq),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Foe),My),"Crossing Minimization Enforced Group Orders"),"Holds all group ids which are enforcing their order during crossing minimization strategies. E.g. if only groups 2 and -1 (default) enforce their ordering. Other groups e.g. the group of timer nodes can be ordered arbitrarily if it helps and the mentioned groups may not change their order."),Xhe),sa),Js),ze(ln)))),eYe((new p7e,n))};var Wrn,Yrn,Qrn,zhe,Zrn,qhe,ecn,Uhe,ncn,tcn,icn,Vhe,rcn,ccn,ucn,ocn,scn,Xhe,lcn,Khe,fcn,acn,hcn,dcn,Whe,bcn,gcn,wcn,Yhe,pcn,mcn,vcn,Qhe,ycn,kcn,Ecn,Zhe,Ccn,Acn,Tcn,Mcn,Scn,_cn,jcn,Icn,$cn,Ncn,ede,xcn,nde,Pcn,tde,Ocn,ide,Dcn,rde,Lcn,Fcn,Rcn,cde,Bcn,ude,Jcn,ode,Gcn,Hcn,zcn,qcn,Ucn,Vcn,Xcn,Kcn,Wcn,Ycn,sde,Qcn,Zcn,eun,nun,tun,iun,lde,run,cun,uun,oun,sun,lun,fun,fde,aun,ade,hun,hde,dun,bun,gun,dde,wun,pun,bde,mun,vun,yun,gde,kun,Eun,wde,Cun,Aun,Tun,Mun,Sun,_un,jun,Iun,pde,$un,Nun,xun,mde,Pun,vde,Oun,Dun,Lun,Fun,Run,Bun,Jun,Gun,Hun,zun,qun,Uun,Vun,Xun,Kun,Wun,Yun,Qun,yde,Zun,eon,kde,non,ton,ion,ron,con,uon,oon,son,lon,Ede,fon,aon,hon,don,Cde,bon,gon;v(du,"LayeredMetaDataProvider",843),p(982,1,na,p7e),s.tf=function(n){eYe(n)};var Fa,yq,NN,L8,xN,Ade,PN,F8,jA,kq,r3,Tde,Mde,Sde,R8,won,B8,Ww,Eq,ON,Cq,oh,Aq,t4,_de,IA,Tq,jde,pon,mon,von,DN,Mq,J8,c3,yon,Gs,Ide,$de,LN,X2,Ra,FN,zh,Nde,xde,Pde,Sq,_q,Ode,Sd,jq,Dde,Yw,Lde,Fde,Rde,RN,Qw,U0,Bde,Jde,Fc,Gde,kon,cu,G8,Hde,zde,qde,$A,BN,JN,Iq,$q,Ude,GN,Vde,Xde,HN,gg,Kde,Nq,H8,Wde,wg,z8,zN,V0,xq,i4,qN,X0,Yde,Qde,Zde,Zw,e1e,Eon,Con,Aon,Ton,pg,ep,qi,_d,Mon,np,n1e,r4,t1e,tp,Son,c4,i1e,u3,_on,jon,NA,Pq,r1e,xA,rf,ip,K2,K0,x1,UN,rp,Oq,u4,o4,W0,cp,Dq,PA,q8,U8,Ion,$on,Non,c1e,xon,Lq,u1e,o1e,s1e,l1e,Fq,f1e,a1e,h1e,d1e,Rq,VN;v(du,"LayeredOptions",982),p(983,1,{},sye),s.uf=function(){var n;return n=new ZTe,n},s.vf=function(n){},v(du,"LayeredOptions/LayeredFactory",983),p(1345,1,{}),s.a=0;var Pon;v(ku,"ElkSpacings/AbstractSpacingsBuilder",1345),p(778,1345,{},zte);var XN,Oon;v(du,"LayeredSpacings/LayeredSpacingsBuilder",778),p(268,23,{3:1,35:1,23:1,268:1,188:1,196:1},Lp),s.bg=function(){return wXe(this)},s.og=function(){return wXe(this)};var Bq,Jq,Gq,b1e,g1e,w1e,KN,Hq,p1e,m1e=nt(du,"LayeringStrategy",268,st,E7n,Hvn),Don;p(352,23,{3:1,35:1,23:1,352:1},KO);var zq,v1e,WN,y1e=nt(du,"LongEdgeOrderingStrategy",352,st,M6n,zvn),Lon;p(203,23,{3:1,35:1,23:1,203:1},RM);var W2,Y2,YN,qq,Uq=nt(du,"NodeFlexibility",203,st,R9n,qvn),Fon;p(328,23,{3:1,35:1,23:1,328:1,188:1,196:1},j7),s.bg=function(){return rVe(this)},s.og=function(){return rVe(this)};var V8,Vq,Xq,X8,k1e,E1e=nt(du,"NodePlacementStrategy",328,st,N8n,Uvn),Ron;p(243,23,{3:1,35:1,23:1,243:1},Jg);var C1e,s4,K8,OA,A1e,T1e,DA,M1e,QN,ZN,S1e=nt(du,"NodePromotionStrategy",243,st,V7n,Vvn),Bon;p(269,23,{3:1,35:1,23:1,269:1},BM);var _1e,P1,Kq,Wq,j1e=nt(du,"OrderingStrategy",269,st,B9n,Xvn),Jon;p(421,23,{3:1,35:1,23:1,421:1},uY);var Yq,Qq,I1e=nt(du,"PortSortingStrategy",421,st,D4n,Kvn),Gon;p(452,23,{3:1,35:1,23:1,452:1},WO);var Qo,oo,W8,Hon=nt(du,"PortType",452,st,S6n,Wvn),zon;p(381,23,{3:1,35:1,23:1,381:1},YO);var $1e,Zq,N1e,x1e=nt(du,"SelfLoopDistributionStrategy",381,st,_6n,Yvn),qon;p(348,23,{3:1,35:1,23:1,348:1},QO);var eU,LA,nU,P1e=nt(du,"SelfLoopOrderingStrategy",348,st,j6n,Qvn),Uon;p(316,1,{316:1},QKe),v(du,"Spacings",316),p(349,23,{3:1,35:1,23:1,349:1},ZO);var tU,O1e,Y8,D1e=nt(du,"SplineRoutingMode",349,st,I6n,Zvn),Von;p(351,23,{3:1,35:1,23:1,351:1},eD);var iU,L1e,F1e,R1e=nt(du,"ValidifyStrategy",351,st,$6n,e3n),Xon;p(382,23,{3:1,35:1,23:1,382:1},nD);var up,rU,l4,B1e=nt(du,"WrappingStrategy",382,st,N6n,n3n),Kon;p(1361,1,Zr,h7e),s.pg=function(n){return u(n,37),Won},s.If=function(n,t){kFn(this,u(n,37),t)};var Won;v(eg,"BFSNodeOrderCycleBreaker",1361),p(1359,1,Zr,a7e),s.pg=function(n){return u(n,37),Yon},s.If=function(n,t){wLn(this,u(n,37),t)};var Yon;v(eg,"DFSNodeOrderCycleBreaker",1359),p(1360,1,Rn,xNe),s.Ad=function(n){mOn(this.a,this.c,this.b,u(n,17))},s.b=!1,v(eg,"DFSNodeOrderCycleBreaker/lambda$0$Type",1360),p(1353,1,Zr,d7e),s.pg=function(n){return u(n,37),Qon},s.If=function(n,t){gLn(this,u(n,37),t)};var Qon;v(eg,"DepthFirstCycleBreaker",1353),p(779,1,Zr,bZ),s.pg=function(n){return u(n,37),Zon},s.If=function(n,t){DBn(this,u(n,37),t)},s.qg=function(n){return u(Te(n,Pj(this.e,n.c.length)),9)};var Zon;v(eg,"GreedyCycleBreaker",779),p(1356,779,Zr,yje),s.qg=function(n){var t,i,r,c,o,l,a,d,b;for(b=null,r=zt,d=m.Math.max(this.b.a.c.length,u(M(this.b,(se(),N1)),15).a),t=d*u(M(this.b,TA),15).a,c=new s7,i=Z(M(this.b,(ye(),r3)))===Z((o1(),Xw)),a=new $(n);a.ao&&(r=o,b=l));return b||u(Te(n,Pj(this.e,n.c.length)),9)},v(eg,"GreedyModelOrderCycleBreaker",1356),p(505,1,{},s7),s.a=0,s.b=0,v(eg,"GroupModelOrderCalculator",505),p(1354,1,Zr,b7e),s.pg=function(n){return u(n,37),esn},s.If=function(n,t){GLn(this,u(n,37),t)};var esn;v(eg,"InteractiveCycleBreaker",1354),p(1355,1,Zr,l7e),s.pg=function(n){return u(n,37),nsn},s.If=function(n,t){zLn(u(n,37),t)};var nsn;v(eg,"ModelOrderCycleBreaker",1355),p(780,1,Zr),s.pg=function(n){return u(n,37),tsn},s.If=function(n,t){NDn(this,u(n,37),t)},s.rg=function(n,t){var i,r,c,o,l,a,d,b,w,y;for(l=0;lb&&(d=C,y=b),wvf(new Sn($n(yi(a).a.Jc(),new V))))for(c=new Sn($n(Yi(d).a.Jc(),new V));Un(c);)r=u(Fn(c),17),u(Nu(this.d,l),22).Gc(r.c.i)&&pe(this.c,r);else for(c=new Sn($n(yi(a).a.Jc(),new V));Un(c);)r=u(Fn(c),17),u(Nu(this.d,l),22).Gc(r.d.i)&&pe(this.c,r)}},v(eg,"SCCNodeTypeCycleBreaker",1358),p(1357,780,Zr,Eje),s.rg=function(n,t){var i,r,c,o,l,a,d,b,w,y,C,T;for(l=0;lb&&(d=C,y=b),wvf(new Sn($n(yi(a).a.Jc(),new V))))for(c=new Sn($n(Yi(d).a.Jc(),new V));Un(c);)r=u(Fn(c),17),u(Nu(this.d,l),22).Gc(r.c.i)&&pe(this.c,r);else for(c=new Sn($n(yi(a).a.Jc(),new V));Un(c);)r=u(Fn(c),17),u(Nu(this.d,l),22).Gc(r.d.i)&&pe(this.c,r)}},v(eg,"SCConnectivity",1357),p(1373,1,Zr,f7e),s.pg=function(n){return u(n,37),isn},s.If=function(n,t){BRn(this,u(n,37),t)};var isn;v(Bh,"BreadthFirstModelOrderLayerer",1373),p(1374,1,It,fye),s.Le=function(n,t){return TIn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Bh,"BreadthFirstModelOrderLayerer/lambda$0$Type",1374),p(1364,1,Zr,T_e),s.pg=function(n){return u(n,37),rsn},s.If=function(n,t){JBn(this,u(n,37),t)};var rsn;v(Bh,"CoffmanGrahamLayerer",1364),p(1365,1,It,XCe),s.Le=function(n,t){return Nxn(this.a,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Bh,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1365),p(1366,1,It,KCe),s.Le=function(n,t){return V5n(this.a,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Bh,"CoffmanGrahamLayerer/lambda$1$Type",1366),p(1375,1,Zr,s7e),s.pg=function(n){return u(n,37),csn},s.If=function(n,t){SBn(this,u(n,37),t)},s.c=0,s.e=0;var csn;v(Bh,"DepthFirstModelOrderLayerer",1375),p(1376,1,It,aye),s.Le=function(n,t){return MIn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Bh,"DepthFirstModelOrderLayerer/lambda$0$Type",1376),p(1367,1,Zr,hye),s.pg=function(n){return u(n,37),Tt(Tt(Tt(new Qi,(Pr(),tf),(Br(),_z)),ch,qw),Du,zw)},s.If=function(n,t){YRn(u(n,37),t)},v(Bh,"InteractiveLayerer",1367),p(564,1,{564:1},oMe),s.a=0,s.c=0,v(Bh,"InteractiveLayerer/LayerSpan",564),p(1363,1,Zr,v7e),s.pg=function(n){return u(n,37),usn},s.If=function(n,t){Mxn(this,u(n,37),t)};var usn;v(Bh,"LongestPathLayerer",1363),p(1372,1,Zr,y7e),s.pg=function(n){return u(n,37),osn},s.If=function(n,t){Vxn(this,u(n,37),t)};var osn;v(Bh,"LongestPathSourceLayerer",1372),p(1370,1,Zr,k7e),s.pg=function(n){return u(n,37),Tt(Tt(Tt(new Qi,(Pr(),tf),(Br(),D2)),ch,qw),Du,zw)},s.If=function(n,t){oBn(this,u(n,37),t)},s.a=0,s.b=0,s.d=0;var J1e,G1e;v(Bh,"MinWidthLayerer",1370),p(1371,1,It,WCe),s.Le=function(n,t){return bEn(this,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Bh,"MinWidthLayerer/MinOutgoingEdgesComparator",1371),p(1362,1,Zr,w7e),s.pg=function(n){return u(n,37),ssn},s.If=function(n,t){AFn(this,u(n,37),t)};var ssn;v(Bh,"NetworkSimplexLayerer",1362),p(1368,1,Zr,eNe),s.pg=function(n){return u(n,37),Tt(Tt(Tt(new Qi,(Pr(),tf),(Br(),D2)),ch,qw),Du,zw)},s.If=function(n,t){lRn(this,u(n,37),t)},s.d=0,s.f=0,s.g=0,s.i=0,s.s=0,s.t=0,s.u=0,v(Bh,"StretchWidthLayerer",1368),p(1369,1,It,mye),s.Le=function(n,t){return X8n(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Bh,"StretchWidthLayerer/1",1369),p(406,1,Sse),s.eg=function(n,t,i,r,c,o){},s.tg=function(n,t,i){return UXe(this,n,t,i)},s.dg=function(){this.g=ee(Ap,FQe,30,this.d,15,1),this.f=ee(Ap,FQe,30,this.d,15,1)},s.fg=function(n,t){this.e[n]=ee(pt,Ot,30,t[n].length,15,1)},s.gg=function(n,t,i){var r;r=i[n][t],r.p=t,this.e[n][t]=t},s.hg=function(n,t,i,r){u(Te(r[n][t].j,i),12).p=this.d++},s.b=0,s.c=0,s.d=0,v(ho,"AbstractBarycenterPortDistributor",406),p(1663,1,It,YCe),s.Le=function(n,t){return ETn(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(ho,"AbstractBarycenterPortDistributor/lambda$0$Type",1663),p(816,1,Y9,kee),s.eg=function(n,t,i,r,c,o){},s.gg=function(n,t,i){},s.hg=function(n,t,i,r){},s.cg=function(){return!1},s.dg=function(){this.c=this.e.a,this.g=this.f.g},s.fg=function(n,t){t[n][0].c.p=n},s.ig=function(){return!1},s.ug=function(n,t,i,r){i?Lze(this,n):(Hze(this,n,r),lWe(this,n,t)),n.c.length>1&&(Ie(je(M(Sr((tn(0,n.c.length),u(n.c[0],9))),(ye(),t4))))?gVe(n,this.d,u(this,660)):(un(),kr(n,this.d)),cJe(this.e,n))},s.jg=function(n,t,i,r){var c,o,l,a,d,b,w;for(t!=yxe(i,n.length)&&(o=n[t-(i?1:-1)],Uee(this.f,o,i?(yc(),oo):(yc(),Qo))),c=n[t][0],w=!r||c.k==(En(),sr),b=ql(n[t]),this.ug(b,w,!1,i),l=0,d=new $(b);d.a"),n0?FL(this.a,n[t-1],n[t]):!i&&t1&&(Ie(je(M(Sr((tn(0,n.c.length),u(n.c[0],9))),(ye(),t4))))?gVe(n,this.d,this):(un(),kr(n,this.d)),Ie(je(M(Sr((tn(0,n.c.length),u(n.c[0],9))),t4)))||cJe(this.e,n))},v(ho,"ModelOrderBarycenterHeuristic",660),p(1843,1,It,cAe),s.Le=function(n,t){return cLn(this.a,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(ho,"ModelOrderBarycenterHeuristic/lambda$0$Type",1843),p(1383,1,Zr,I7e),s.pg=function(n){var t;return u(n,37),t=cS(wsn),Tt(t,(Pr(),Du),(Br(),oN)),t},s.If=function(n,t){k4n((u(n,37),t))};var wsn;v(ho,"NoCrossingMinimizer",1383),p(796,406,Sse,MW),s.sg=function(n,t,i){var r,c,o,l,a,d,b,w,y,C,T;switch(y=this.g,i.g){case 1:{for(c=0,o=0,w=new $(n.j);w.a1&&(c.j==(ke(),Dn)?this.b[n]=!0:c.j==In&&n>0&&(this.b[n-1]=!0))},s.f=0,v(ih,"AllCrossingsCounter",1838),p(583,1,{},Q_),s.b=0,s.d=0,v(ih,"BinaryIndexedTree",583),p(519,1,{},K7);var H1e,tx;v(ih,"CrossingsCounter",519),p(1912,1,It,uAe),s.Le=function(n,t){return L5n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(ih,"CrossingsCounter/lambda$0$Type",1912),p(1913,1,It,oAe),s.Le=function(n,t){return F5n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(ih,"CrossingsCounter/lambda$1$Type",1913),p(1914,1,It,sAe),s.Le=function(n,t){return R5n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(ih,"CrossingsCounter/lambda$2$Type",1914),p(1915,1,It,lAe),s.Le=function(n,t){return B5n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(ih,"CrossingsCounter/lambda$3$Type",1915),p(1916,1,Rn,fAe),s.Ad=function(n){$kn(this.a,u(n,12))},v(ih,"CrossingsCounter/lambda$4$Type",1916),p(1917,1,kt,aAe),s.Mb=function(n){return Apn(this.a,u(n,12))},v(ih,"CrossingsCounter/lambda$5$Type",1917),p(1918,1,Rn,hAe),s.Ad=function(n){Wje(this,n)},v(ih,"CrossingsCounter/lambda$6$Type",1918),p(1919,1,Rn,nje),s.Ad=function(n){var t;t5(),t1(this.b,(t=this.a,u(n,12),t))},v(ih,"CrossingsCounter/lambda$7$Type",1919),p(823,1,$a,sK),s.Lb=function(n){return t5(),Zt(u(n,12),(se(),Yo))},s.Fb=function(n){return this===n},s.Mb=function(n){return t5(),Zt(u(n,12),(se(),Yo))},v(ih,"CrossingsCounter/lambda$8$Type",823),p(1911,1,{},dAe),v(ih,"HyperedgeCrossingsCounter",1911),p(467,1,{35:1,467:1},nNe),s.Dd=function(n){return aTn(this,u(n,467))},s.b=0,s.c=0,s.e=0,s.f=0;var EJn=v(ih,"HyperedgeCrossingsCounter/Hyperedge",467);p(370,1,{35:1,370:1},QS),s.Dd=function(n){return rNn(this,u(n,370))},s.b=0,s.c=0;var psn=v(ih,"HyperedgeCrossingsCounter/HyperedgeCorner",370);p(518,23,{3:1,35:1,23:1,518:1},oY);var Z8,ek,msn=nt(ih,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",518,st,L4n,c3n),vsn;p(1385,1,Zr,g7e),s.pg=function(n){return u(M(u(n,37),(se(),Ku)),22).Gc((kc(),al))?ysn:null},s.If=function(n,t){PSn(this,u(n,37),t)};var ysn;v(Ac,"InteractiveNodePlacer",1385),p(1386,1,Zr,N7e),s.pg=function(n){return u(M(u(n,37),(se(),Ku)),22).Gc((kc(),al))?ksn:null},s.If=function(n,t){yMn(this,u(n,37),t)};var ksn,ix,rx;v(Ac,"LinearSegmentsNodePlacer",1386),p(263,1,{35:1,263:1},cW),s.Dd=function(n){return Fwn(this,u(n,263))},s.Fb=function(n){var t;return J(n,263)?(t=u(n,263),this.b==t.b):!1},s.Hb=function(){return this.b},s.Ib=function(){return"ls"+Yf(this.e)},s.a=0,s.b=0,s.c=-1,s.d=-1,s.g=0;var Esn=v(Ac,"LinearSegmentsNodePlacer/LinearSegment",263);p(1388,1,Zr,Ixe),s.pg=function(n){return u(M(u(n,37),(se(),Ku)),22).Gc((kc(),al))?Csn:null},s.If=function(n,t){_Bn(this,u(n,37),t)},s.b=0,s.g=0;var Csn;v(Ac,"NetworkSimplexPlacer",1388),p(1407,1,It,yye),s.Le=function(n,t){return Bu(u(n,15).a,u(t,15).a)},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ac,"NetworkSimplexPlacer/0methodref$compare$Type",1407),p(1409,1,It,kye),s.Le=function(n,t){return Bu(u(n,15).a,u(t,15).a)},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ac,"NetworkSimplexPlacer/1methodref$compare$Type",1409),p(644,1,{644:1},tje);var CJn=v(Ac,"NetworkSimplexPlacer/EdgeRep",644);p(405,1,{405:1},VZ),s.b=!1;var AJn=v(Ac,"NetworkSimplexPlacer/NodeRep",405);p(500,13,{3:1,4:1,20:1,31:1,56:1,13:1,18:1,16:1,59:1,500:1},dMe),v(Ac,"NetworkSimplexPlacer/Path",500),p(1389,1,{},Eye),s.Kb=function(n){return u(n,17).d.i.k},v(Ac,"NetworkSimplexPlacer/Path/lambda$0$Type",1389),p(1390,1,kt,vye),s.Mb=function(n){return u(n,249)==(En(),rr)},v(Ac,"NetworkSimplexPlacer/Path/lambda$1$Type",1390),p(1391,1,{},Cye),s.Kb=function(n){return u(n,17).d.i},v(Ac,"NetworkSimplexPlacer/Path/lambda$2$Type",1391),p(1392,1,kt,bAe),s.Mb=function(n){return J$e(eHe(u(n,9)))},v(Ac,"NetworkSimplexPlacer/Path/lambda$3$Type",1392),p(1393,1,kt,Aye),s.Mb=function(n){return A5n(u(n,12))},v(Ac,"NetworkSimplexPlacer/lambda$0$Type",1393),p(1394,1,Rn,ije),s.Ad=function(n){w2n(this.a,this.b,u(n,12))},v(Ac,"NetworkSimplexPlacer/lambda$1$Type",1394),p(1403,1,Rn,gAe),s.Ad=function(n){qIn(this.a,u(n,17))},v(Ac,"NetworkSimplexPlacer/lambda$10$Type",1403),p(1404,1,{},Tye),s.Kb=function(n){return Is(),new Ze(null,new nn(u(n,25).a,16))},v(Ac,"NetworkSimplexPlacer/lambda$11$Type",1404),p(1405,1,Rn,wAe),s.Ad=function(n){TPn(this.a,u(n,9))},v(Ac,"NetworkSimplexPlacer/lambda$12$Type",1405),p(1406,1,{},Mye),s.Kb=function(n){return Is(),le(u(n,124).e)},v(Ac,"NetworkSimplexPlacer/lambda$13$Type",1406),p(1408,1,{},Sye),s.Kb=function(n){return Is(),le(u(n,124).e)},v(Ac,"NetworkSimplexPlacer/lambda$15$Type",1408),p(1410,1,kt,_ye),s.Mb=function(n){return Is(),u(n,405).c.k==(En(),zi)},v(Ac,"NetworkSimplexPlacer/lambda$17$Type",1410),p(1411,1,kt,jye),s.Mb=function(n){return Is(),u(n,405).c.j.c.length>1},v(Ac,"NetworkSimplexPlacer/lambda$18$Type",1411),p(1412,1,Rn,LPe),s.Ad=function(n){OAn(this.c,this.b,this.d,this.a,u(n,405))},s.c=0,s.d=0,v(Ac,"NetworkSimplexPlacer/lambda$19$Type",1412),p(1395,1,{},Iye),s.Kb=function(n){return Is(),new Ze(null,new nn(u(n,25).a,16))},v(Ac,"NetworkSimplexPlacer/lambda$2$Type",1395),p(1413,1,Rn,pAe),s.Ad=function(n){y2n(this.a,u(n,12))},s.a=0,v(Ac,"NetworkSimplexPlacer/lambda$20$Type",1413),p(1414,1,{},$ye),s.Kb=function(n){return Is(),new Ze(null,new nn(u(n,25).a,16))},v(Ac,"NetworkSimplexPlacer/lambda$21$Type",1414),p(1415,1,Rn,mAe),s.Ad=function(n){M2n(this.a,u(n,9))},v(Ac,"NetworkSimplexPlacer/lambda$22$Type",1415),p(1416,1,kt,Nye),s.Mb=function(n){return J$e(n)},v(Ac,"NetworkSimplexPlacer/lambda$23$Type",1416),p(1417,1,{},xye),s.Kb=function(n){return Is(),new Ze(null,new nn(u(n,25).a,16))},v(Ac,"NetworkSimplexPlacer/lambda$24$Type",1417),p(1418,1,kt,vAe),s.Mb=function(n){return xpn(this.a,u(n,9))},v(Ac,"NetworkSimplexPlacer/lambda$25$Type",1418),p(1419,1,Rn,rje),s.Ad=function(n){Xjn(this.a,this.b,u(n,9))},v(Ac,"NetworkSimplexPlacer/lambda$26$Type",1419),p(1420,1,kt,Pye),s.Mb=function(n){return Is(),!Qr(u(n,17))},v(Ac,"NetworkSimplexPlacer/lambda$27$Type",1420),p(1421,1,kt,Oye),s.Mb=function(n){return Is(),!Qr(u(n,17))},v(Ac,"NetworkSimplexPlacer/lambda$28$Type",1421),p(1422,1,{},yAe),s.Te=function(n,t){return v2n(this.a,u(n,25),u(t,25))},v(Ac,"NetworkSimplexPlacer/lambda$29$Type",1422),p(1396,1,{},Dye),s.Kb=function(n){return Is(),new Ze(null,new ew(new Sn($n(yi(u(n,9)).a.Jc(),new V))))},v(Ac,"NetworkSimplexPlacer/lambda$3$Type",1396),p(1397,1,kt,Lye),s.Mb=function(n){return Is(),k9n(u(n,17))},v(Ac,"NetworkSimplexPlacer/lambda$4$Type",1397),p(1398,1,Rn,kAe),s.Ad=function(n){PDn(this.a,u(n,17))},v(Ac,"NetworkSimplexPlacer/lambda$5$Type",1398),p(1399,1,{},Fye),s.Kb=function(n){return Is(),new Ze(null,new nn(u(n,25).a,16))},v(Ac,"NetworkSimplexPlacer/lambda$6$Type",1399),p(1400,1,kt,Rye),s.Mb=function(n){return Is(),u(n,9).k==(En(),zi)},v(Ac,"NetworkSimplexPlacer/lambda$7$Type",1400),p(1401,1,{},Bye),s.Kb=function(n){return Is(),new Ze(null,new ew(new Sn($n(Ca(u(n,9)).a.Jc(),new V))))},v(Ac,"NetworkSimplexPlacer/lambda$8$Type",1401),p(1402,1,kt,Jye),s.Mb=function(n){return Is(),E5n(u(n,17))},v(Ac,"NetworkSimplexPlacer/lambda$9$Type",1402),p(1384,1,Zr,x7e),s.pg=function(n){return u(M(u(n,37),(se(),Ku)),22).Gc((kc(),al))?Asn:null},s.If=function(n,t){hLn(u(n,37),t)};var Asn;v(Ac,"SimpleNodePlacer",1384),p(185,1,{185:1},v2),s.Ib=function(){var n;return n="",this.c==(ya(),mg)?n+=Ov:this.c==jd&&(n+=Pv),this.o==(Gf(),Y0)?n+=GJ:this.o==ua?n+="UP":n+="BALANCED",n},v(A1,"BKAlignedLayout",185),p(509,23,{3:1,35:1,23:1,509:1},sY);var jd,mg,Tsn=nt(A1,"BKAlignedLayout/HDirection",509,st,R4n,u3n),Msn;p(508,23,{3:1,35:1,23:1,508:1},lY);var Y0,ua,Ssn=nt(A1,"BKAlignedLayout/VDirection",508,st,F4n,o3n),_sn;p(1664,1,{},cje),v(A1,"BKAligner",1664),p(1667,1,{},Mze),v(A1,"BKCompactor",1667),p(652,1,{652:1},Gye),s.a=0,v(A1,"BKCompactor/ClassEdge",652),p(456,1,{456:1},lMe),s.a=null,s.b=0,v(A1,"BKCompactor/ClassNode",456),p(1387,1,Zr,vje),s.pg=function(n){return u(M(u(n,37),(se(),Ku)),22).Gc((kc(),al))?jsn:null},s.If=function(n,t){qBn(this,u(n,37),t)},s.d=!1;var jsn;v(A1,"BKNodePlacer",1387),p(1665,1,{},Hye),s.d=0,v(A1,"NeighborhoodInformation",1665),p(1666,1,It,EAe),s.Le=function(n,t){return Ukn(this,u(n,49),u(t,49))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(A1,"NeighborhoodInformation/NeighborComparator",1666),p(809,1,{}),v(A1,"ThresholdStrategy",809),p(1795,809,{},bMe),s.vg=function(n,t,i){return this.a.o==(Gf(),ua)?Ri:Tr},s.wg=function(){},v(A1,"ThresholdStrategy/NullThresholdStrategy",1795),p(576,1,{576:1},sje),s.c=!1,s.d=!1,v(A1,"ThresholdStrategy/Postprocessable",576),p(1796,809,{},gMe),s.vg=function(n,t,i){var r,c,o;return c=t==i,r=this.a.a[i.p]==t,c||r?(o=n,this.a.c==(ya(),mg)?(c&&(o=zB(this,t,!0)),!isNaN(o)&&!isFinite(o)&&r&&(o=zB(this,i,!1))):(c&&(o=zB(this,t,!0)),!isNaN(o)&&!isFinite(o)&&r&&(o=zB(this,i,!1))),o):n},s.wg=function(){for(var n,t,i,r,c;this.d.b!=0;)c=u(EOe(this.d),576),r=sKe(this,c),r.a&&(n=r.a,i=Ie(this.a.f[this.a.g[c.b.p].p]),!(!i&&!Qr(n)&&n.c.i.c==n.d.i.c)&&(t=fVe(this,c),t||gIe(this.e,c)));for(;this.e.a.c.length!=0;)fVe(this,u(pte(this.e),576))},v(A1,"ThresholdStrategy/SimpleThresholdStrategy",1796),p(635,1,{635:1,188:1,196:1},zye),s.bg=function(){return rJe(this)},s.og=function(){return rJe(this)};var cU;v(BG,"EdgeRouterFactory",635),p(1445,1,Zr,P7e),s.pg=function(n){return tPn(u(n,37))},s.If=function(n,t){kLn(u(n,37),t)};var Isn,$sn,Nsn,xsn,Psn,z1e,Osn,Dsn;v(BG,"OrthogonalEdgeRouter",1445),p(1438,1,Zr,mje),s.pg=function(n){return HSn(u(n,37))},s.If=function(n,t){zRn(this,u(n,37),t)};var Lsn,Fsn,Rsn,Bsn,RA,Jsn;v(BG,"PolylineEdgeRouter",1438),p(1439,1,$a,qye),s.Lb=function(n){return Xne(u(n,9))},s.Fb=function(n){return this===n},s.Mb=function(n){return Xne(u(n,9))},v(BG,"PolylineEdgeRouter/1",1439),p(1851,1,kt,Uye),s.Mb=function(n){return u(n,133).c==(yf(),O1)},v(Sf,"HyperEdgeCycleDetector/lambda$0$Type",1851),p(1852,1,{},Vye),s.Xe=function(n){return u(n,133).d},v(Sf,"HyperEdgeCycleDetector/lambda$1$Type",1852),p(1853,1,kt,Xye),s.Mb=function(n){return u(n,133).c==(yf(),O1)},v(Sf,"HyperEdgeCycleDetector/lambda$2$Type",1853),p(1854,1,{},Kye),s.Xe=function(n){return u(n,133).d},v(Sf,"HyperEdgeCycleDetector/lambda$3$Type",1854),p(1855,1,{},Wye),s.Xe=function(n){return u(n,133).d},v(Sf,"HyperEdgeCycleDetector/lambda$4$Type",1855),p(1856,1,{},Yye),s.Xe=function(n){return u(n,133).d},v(Sf,"HyperEdgeCycleDetector/lambda$5$Type",1856),p(116,1,{35:1,116:1},FE),s.Dd=function(n){return Rwn(this,u(n,116))},s.Fb=function(n){var t;return J(n,116)?(t=u(n,116),this.g==t.g):!1},s.Hb=function(){return this.g},s.Ib=function(){var n,t,i,r;for(n=new _s("{"),r=new $(this.n);r.a"+this.b+" ("+tmn(this.c)+")"},s.d=0,v(Sf,"HyperEdgeSegmentDependency",133),p(515,23,{3:1,35:1,23:1,515:1},fY);var O1,op,Gsn=nt(Sf,"HyperEdgeSegmentDependency/DependencyType",515,st,B4n,s3n),Hsn;p(1857,1,{},CAe),v(Sf,"HyperEdgeSegmentSplitter",1857),p(1858,1,{},lSe),s.a=0,s.b=0,v(Sf,"HyperEdgeSegmentSplitter/AreaRating",1858),p(340,1,{340:1},UD),s.a=0,s.b=0,s.c=0,v(Sf,"HyperEdgeSegmentSplitter/FreeArea",340),p(1859,1,It,Qye),s.Le=function(n,t){return Xmn(u(n,116),u(t,116))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Sf,"HyperEdgeSegmentSplitter/lambda$0$Type",1859),p(1860,1,Rn,FPe),s.Ad=function(n){a8n(this.a,this.d,this.c,this.b,u(n,116))},s.b=0,v(Sf,"HyperEdgeSegmentSplitter/lambda$1$Type",1860),p(1861,1,{},Zye),s.Kb=function(n){return new Ze(null,new nn(u(n,116).e,16))},v(Sf,"HyperEdgeSegmentSplitter/lambda$2$Type",1861),p(1862,1,{},e4e),s.Kb=function(n){return new Ze(null,new nn(u(n,116).j,16))},v(Sf,"HyperEdgeSegmentSplitter/lambda$3$Type",1862),p(1863,1,{},n4e),s.We=function(n){return X(Y(n))},v(Sf,"HyperEdgeSegmentSplitter/lambda$4$Type",1863),p(653,1,{},pL),s.a=0,s.b=0,s.c=0,v(Sf,"OrthogonalRoutingGenerator",653),p(1668,1,{},t4e),s.Kb=function(n){return new Ze(null,new nn(u(n,116).e,16))},v(Sf,"OrthogonalRoutingGenerator/lambda$0$Type",1668),p(1669,1,{},i4e),s.Kb=function(n){return new Ze(null,new nn(u(n,116).j,16))},v(Sf,"OrthogonalRoutingGenerator/lambda$1$Type",1669),p(661,1,{}),v(JG,"BaseRoutingDirectionStrategy",661),p(1849,661,{},wMe),s.xg=function(n,t,i){var r,c,o,l,a,d,b,w,y,C,T,S,j;if(!(n.r&&!n.q))for(w=t+n.o*i,b=new $(n.n);b.aNa&&(o=w,c=n,r=new he(y,o),jt(l.a,r),Vb(this,l,c,r,!1),C=n.r,C&&(T=X(Y(Nu(C.e,0))),r=new he(T,o),jt(l.a,r),Vb(this,l,c,r,!1),o=t+C.o*i,c=C,r=new he(T,o),jt(l.a,r),Vb(this,l,c,r,!1)),r=new he(j,o),jt(l.a,r),Vb(this,l,c,r,!1)))},s.yg=function(n){return n.i.n.a+n.n.a+n.a.a},s.zg=function(){return ke(),Xn},s.Ag=function(){return ke(),jn},v(JG,"NorthToSouthRoutingStrategy",1849),p(1850,661,{},pMe),s.xg=function(n,t,i){var r,c,o,l,a,d,b,w,y,C,T,S,j;if(!(n.r&&!n.q))for(w=t-n.o*i,b=new $(n.n);b.aNa&&(o=w,c=n,r=new he(y,o),jt(l.a,r),Vb(this,l,c,r,!1),C=n.r,C&&(T=X(Y(Nu(C.e,0))),r=new he(T,o),jt(l.a,r),Vb(this,l,c,r,!1),o=t-C.o*i,c=C,r=new he(T,o),jt(l.a,r),Vb(this,l,c,r,!1)),r=new he(j,o),jt(l.a,r),Vb(this,l,c,r,!1)))},s.yg=function(n){return n.i.n.a+n.n.a+n.a.a},s.zg=function(){return ke(),jn},s.Ag=function(){return ke(),Xn},v(JG,"SouthToNorthRoutingStrategy",1850),p(1848,661,{},mMe),s.xg=function(n,t,i){var r,c,o,l,a,d,b,w,y,C,T,S,j;if(!(n.r&&!n.q))for(w=t+n.o*i,b=new $(n.n);b.aNa&&(o=w,c=n,r=new he(o,y),jt(l.a,r),Vb(this,l,c,r,!0),C=n.r,C&&(T=X(Y(Nu(C.e,0))),r=new he(o,T),jt(l.a,r),Vb(this,l,c,r,!0),o=t+C.o*i,c=C,r=new he(o,T),jt(l.a,r),Vb(this,l,c,r,!0)),r=new he(o,j),jt(l.a,r),Vb(this,l,c,r,!0)))},s.yg=function(n){return n.i.n.b+n.n.b+n.a.b},s.zg=function(){return ke(),Dn},s.Ag=function(){return ke(),In},v(JG,"WestToEastRoutingStrategy",1848),p(812,1,{},Qce),s.Ib=function(){return Yf(this.a)},s.b=0,s.c=!1,s.d=!1,s.f=0,v(Lw,"NubSpline",812),p(410,1,{410:1},qVe,yOe),v(Lw,"NubSpline/PolarCP",410),p(1440,1,Zr,wze),s.pg=function(n){return I_n(u(n,37))},s.If=function(n,t){fBn(this,u(n,37),t)};var zsn,qsn,Usn,Vsn,Xsn;v(Lw,"SplineEdgeRouter",1440),p(273,1,{273:1},C_),s.Ib=function(){return this.a+" ->("+this.c+") "+this.b},s.c=0,v(Lw,"SplineEdgeRouter/Dependency",273),p(454,23,{3:1,35:1,23:1,454:1},aY);var D1,Q2,Ksn=nt(Lw,"SplineEdgeRouter/SideToProcess",454,st,J4n,l3n),Wsn;p(1441,1,kt,r4e),s.Mb=function(n){return _9(),!u(n,132).o},v(Lw,"SplineEdgeRouter/lambda$0$Type",1441),p(1442,1,{},c4e),s.Xe=function(n){return _9(),u(n,132).v+1},v(Lw,"SplineEdgeRouter/lambda$1$Type",1442),p(1443,1,Rn,uje),s.Ad=function(n){S5n(this.a,this.b,u(n,49))},v(Lw,"SplineEdgeRouter/lambda$2$Type",1443),p(1444,1,Rn,oje),s.Ad=function(n){_5n(this.a,this.b,u(n,49))},v(Lw,"SplineEdgeRouter/lambda$3$Type",1444),p(132,1,{35:1,132:1},Zqe,rue),s.Dd=function(n){return Bwn(this,u(n,132))},s.b=0,s.e=!1,s.f=0,s.g=0,s.j=!1,s.k=!1,s.n=0,s.o=!1,s.p=!1,s.q=!1,s.s=0,s.u=0,s.v=0,s.F=0,v(Lw,"SplineSegment",132),p(457,1,{457:1},u4e),s.a=0,s.b=!1,s.c=!1,s.d=!1,s.e=!1,s.f=0,v(Lw,"SplineSegment/EdgeInformation",457),p(1167,1,{},o4e),v(Jh,zue,1167),p(1168,1,It,s4e),s.Le=function(n,t){return r$n(u(n,120),u(t,120))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Jh,KYe,1168),p(1166,1,{},ISe),v(Jh,"MrTree",1166),p(398,23,{3:1,35:1,23:1,398:1,188:1,196:1},GM),s.bg=function(){return EUe(this)},s.og=function(){return EUe(this)};var cx,nk,tk,ik,q1e=nt(Jh,"TreeLayoutPhases",398,st,H9n,f3n),Ysn;p(1082,214,Qb,iNe),s.kf=function(n,t){var i,r,c,o,l,a,d,b;for(Ie(je(fe(n,(au(),w0e))))||lE((i=new L4((c0(),new Hd(n))),i)),l=t.dh(zG),l.Tg("build tGraph",1),a=(d=new pE,yu(d,n),ie(d,(gi(),ck),n),b=new Wn,BOn(n,d,b),iDn(n,d,b),d),l.Ug(),l=t.dh(zG),l.Tg("Split graph",1),o=UOn(this.a,a),l.Ug(),c=new $(o);c.a"+p0(this.c):"e_"+vi(this)},v(n8,"TEdge",65),p(120,150,{3:1,120:1,105:1,150:1},pE),s.Ib=function(){var n,t,i,r,c;for(c=null,r=ct(this.b,0);r.b!=r.d.c;)i=u(it(r),40),c+=(i.c==null||i.c.length==0?"n_"+i.g:"n_"+i.c)+` -`;for(t=ct(this.a,0);t.b!=t.d.c;)n=u(it(t),65),c+=(n.b&&n.c?p0(n.b)+"->"+p0(n.c):"e_"+vi(n))+` -`;return c};var TJn=v(n8,"TGraph",120);p(633,494,{3:1,494:1,633:1,105:1,150:1}),v(n8,"TShape",633),p(40,633,{3:1,494:1,40:1,633:1,105:1,150:1},WF),s.Ib=function(){return p0(this)};var ux=v(n8,"TNode",40);p(236,1,Za,mh),s.Ic=function(n){Yr(this,n)},s.Jc=function(){var n;return n=ct(this.a.d,0),new xp(n)},v(n8,"TNode/2",236),p(334,1,Or,xp),s.Nb=function(n){Ur(this,n)},s.Pb=function(){return u(it(this.a),65).c},s.Ob=function(){return w7(this.a)},s.Qb=function(){AF(this.a)},v(n8,"TNode/2/1",334),p(1893,1,di,g4e),s.If=function(n,t){BBn(this,u(n,120),t)},v(Vu,"CompactionProcessor",1893),p(1894,1,It,_Ae),s.Le=function(n,t){return hEn(this.a,u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Vu,"CompactionProcessor/lambda$0$Type",1894),p(1895,1,kt,fje),s.Mb=function(n){return _4n(this.b,this.a,u(n,49))},s.a=0,s.b=0,v(Vu,"CompactionProcessor/lambda$1$Type",1895),p(1904,1,It,w4e),s.Le=function(n,t){return kyn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Vu,"CompactionProcessor/lambda$10$Type",1904),p(1905,1,It,p4e),s.Le=function(n,t){return z2n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Vu,"CompactionProcessor/lambda$11$Type",1905),p(1906,1,It,m4e),s.Le=function(n,t){return Eyn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Vu,"CompactionProcessor/lambda$12$Type",1906),p(1896,1,kt,jAe),s.Mb=function(n){return I2n(this.a,u(n,49))},s.a=0,v(Vu,"CompactionProcessor/lambda$2$Type",1896),p(1897,1,kt,IAe),s.Mb=function(n){return $2n(this.a,u(n,49))},s.a=0,v(Vu,"CompactionProcessor/lambda$3$Type",1897),p(1898,1,kt,v4e),s.Mb=function(n){return u(n,40).c.indexOf(r$)==-1},v(Vu,"CompactionProcessor/lambda$4$Type",1898),p(1899,1,{},$Ae),s.Kb=function(n){return v9n(this.a,u(n,40))},s.a=0,v(Vu,"CompactionProcessor/lambda$5$Type",1899),p(k1,1,{},NAe),s.Kb=function(n){return xkn(this.a,u(n,40))},s.a=0,v(Vu,"CompactionProcessor/lambda$6$Type",k1),p(1901,1,It,xAe),s.Le=function(n,t){return J8n(this.a,u(n,240),u(t,240))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Vu,"CompactionProcessor/lambda$7$Type",1901),p(1902,1,It,PAe),s.Le=function(n,t){return G8n(this.a,u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Vu,"CompactionProcessor/lambda$8$Type",1902),p(1903,1,It,y4e),s.Le=function(n,t){return q2n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Vu,"CompactionProcessor/lambda$9$Type",1903),p(1891,1,di,k4e),s.If=function(n,t){DPn(u(n,120),t)},v(Vu,"DirectionProcessor",1891),p(1883,1,di,rNe),s.If=function(n,t){tDn(this,u(n,120),t)},v(Vu,"FanProcessor",1883),p(1251,1,di,E4e),s.If=function(n,t){aXe(u(n,120),t)},v(Vu,"GraphBoundsProcessor",1251),p(1252,1,{},C4e),s.We=function(n){return u(n,40).e.a},v(Vu,"GraphBoundsProcessor/lambda$0$Type",1252),p(1253,1,{},A4e),s.We=function(n){return u(n,40).e.b},v(Vu,"GraphBoundsProcessor/lambda$1$Type",1253),p(1254,1,{},T4e),s.We=function(n){return hpn(u(n,40))},v(Vu,"GraphBoundsProcessor/lambda$2$Type",1254),p(1255,1,{},M4e),s.We=function(n){return dpn(u(n,40))},v(Vu,"GraphBoundsProcessor/lambda$3$Type",1255),p(264,23,{3:1,35:1,23:1,264:1,196:1},wb),s.bg=function(){switch(this.g){case 0:return new NMe;case 1:return new rNe;case 2:return new $Me;case 3:return new $4e;case 4:return new _4e;case 8:return new S4e;case 5:return new k4e;case 6:return new x4e;case 7:return new g4e;case 9:return new E4e;case 10:return new P4e;default:throw x(new Mn(WJ+(this.f!=null?this.f:""+this.g)))}};var U1e,V1e,X1e,K1e,W1e,Y1e,Q1e,Z1e,e0e,n0e,uU,MJn=nt(Vu,YJ,264,st,iJe,a3n),Qsn;p(1890,1,di,S4e),s.If=function(n,t){FRn(u(n,120),t)},v(Vu,"LevelCoordinatesProcessor",1890),p(1888,1,di,_4e),s.If=function(n,t){uxn(this,u(n,120),t)},s.a=0,v(Vu,"LevelHeightProcessor",1888),p(1889,1,Za,j4e),s.Ic=function(n){Yr(this,n)},s.Jc=function(){return un(),V3(),Hy},v(Vu,"LevelHeightProcessor/1",1889),p(1884,1,di,$Me),s.If=function(n,t){vPn(this,u(n,120),t)},v(Vu,"LevelProcessor",1884),p(1885,1,kt,I4e),s.Mb=function(n){return Ie(je(M(u(n,40),(gi(),L1))))},v(Vu,"LevelProcessor/lambda$0$Type",1885),p(1886,1,di,$4e),s.If=function(n,t){bIn(this,u(n,120),t)},s.a=0,v(Vu,"NeighborsProcessor",1886),p(1887,1,Za,N4e),s.Ic=function(n){Yr(this,n)},s.Jc=function(){return un(),V3(),Hy},v(Vu,"NeighborsProcessor/1",1887),p(1892,1,di,x4e),s.If=function(n,t){eDn(this,u(n,120),t)},s.a=0,v(Vu,"NodePositionProcessor",1892),p(1882,1,di,NMe),s.If=function(n,t){RLn(this,u(n,120),t)},v(Vu,"RootProcessor",1882),p(1907,1,di,P4e),s.If=function(n,t){tMn(u(n,120),t)},v(Vu,"Untreeifyer",1907),p(385,23,{3:1,35:1,23:1,385:1},iD);var BA,oU,t0e,i0e=nt(nA,"EdgeRoutingMode",385,st,L6n,h3n),Zsn,JA,f4,sU,r0e,c0e,lU,fU,u0e,aU,o0e,hU,rk,dU,ox,sx,cf,$f,a4,ck,uk,Id,s0e,eln,bU,L1,GA,HA;p(846,1,na,_7e),s.tf=function(n){He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Ise),""),qQe),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(pn(),!1)),(I0(),pr)),Hi),ze((Ma(),ln))))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,$se),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Nse),""),"Tree Level"),"The index for the tree level the node is in"),le(0)),cc),br),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,xse),""),qQe),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),le(-1)),cc),br),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Pse),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),a0e),ji),C0e),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Ose),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),l0e),ji),i0e),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Dse),""),"Search Order"),"Which search order to use when computing a spanning tree."),f0e),ji),T0e),ze(ln)))),OWe((new O7e,n))};var nln,tln,iln,l0e,rln,cln,f0e,uln,oln,a0e;v(nA,"MrTreeMetaDataProvider",846),p(990,1,na,O7e),s.tf=function(n){OWe(n)};var sln,h0e,d0e,vg,b0e,g0e,gU,lln,fln,aln,hln,dln,bln,gln,w0e,p0e,m0e,wln,Z2,lx,v0e,pln,y0e,wU,mln,vln,yln,k0e,kln,Ba,E0e;v(nA,"MrTreeOptions",990),p(991,1,{},O4e),s.uf=function(){var n;return n=new iNe,n},s.vf=function(n){},v(nA,"MrTreeOptions/MrtreeFactory",991),p(353,23,{3:1,35:1,23:1,353:1},HM);var pU,fx,mU,vU,C0e=nt(nA,"OrderWeighting",353,st,V9n,d3n),Eln;p(425,23,{3:1,35:1,23:1,425:1},hY);var A0e,yU,T0e=nt(nA,"TreeifyingOrder",425,st,G4n,b3n),Cln;p(1446,1,Zr,A7e),s.pg=function(n){return u(n,120),Aln},s.If=function(n,t){G7n(this,u(n,120),t)};var Aln;v("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1446),p(1447,1,Zr,T7e),s.pg=function(n){return u(n,120),Tln},s.If=function(n,t){CPn(this,u(n,120),t)};var Tln;v(Sy,"NodeOrderer",1447),p(1454,1,{},Zbn),s.rd=function(n){return uxe(n)},v(Sy,"NodeOrderer/0methodref$lambda$6$Type",1454),p(1448,1,kt,U4e),s.Mb=function(n){return lv(),Ie(je(M(u(n,40),(gi(),L1))))},v(Sy,"NodeOrderer/lambda$0$Type",1448),p(1449,1,kt,V4e),s.Mb=function(n){return lv(),u(M(u(n,40),(au(),Z2)),15).a<0},v(Sy,"NodeOrderer/lambda$1$Type",1449),p(1450,1,kt,DAe),s.Mb=function(n){return j7n(this.a,u(n,40))},v(Sy,"NodeOrderer/lambda$2$Type",1450),p(1451,1,kt,OAe),s.Mb=function(n){return y9n(this.a,u(n,40))},v(Sy,"NodeOrderer/lambda$3$Type",1451),p(1452,1,It,X4e),s.Le=function(n,t){return Xkn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Sy,"NodeOrderer/lambda$4$Type",1452),p(1453,1,kt,K4e),s.Mb=function(n){return lv(),u(M(u(n,40),(gi(),fU)),15).a!=0},v(Sy,"NodeOrderer/lambda$5$Type",1453),p(1455,1,Zr,M7e),s.pg=function(n){return u(n,120),Mln},s.If=function(n,t){jOn(this,u(n,120),t)},s.b=0;var Mln;v("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1455),p(1456,1,Zr,S7e),s.pg=function(n){return u(n,120),Sln},s.If=function(n,t){fOn(u(n,120),t)};var Sln,SJn=v(Ms,"EdgeRouter",1456);p(1458,1,It,L4e),s.Le=function(n,t){return Bu(u(n,15).a,u(t,15).a)},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ms,"EdgeRouter/0methodref$compare$Type",1458),p(1463,1,{},F4e),s.We=function(n){return X(Y(n))},v(Ms,"EdgeRouter/1methodref$doubleValue$Type",1463),p(1465,1,It,R4e),s.Le=function(n,t){return oi(X(Y(n)),X(Y(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ms,"EdgeRouter/2methodref$compare$Type",1465),p(1467,1,It,B4e),s.Le=function(n,t){return oi(X(Y(n)),X(Y(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ms,"EdgeRouter/3methodref$compare$Type",1467),p(1469,1,{},D4e),s.We=function(n){return X(Y(n))},v(Ms,"EdgeRouter/4methodref$doubleValue$Type",1469),p(1471,1,It,J4e),s.Le=function(n,t){return oi(X(Y(n)),X(Y(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ms,"EdgeRouter/5methodref$compare$Type",1471),p(1473,1,It,G4e),s.Le=function(n,t){return oi(X(Y(n)),X(Y(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ms,"EdgeRouter/6methodref$compare$Type",1473),p(1457,1,{},H4e),s.Kb=function(n){return Ih(),u(M(u(n,40),(au(),Ba)),15)},v(Ms,"EdgeRouter/lambda$0$Type",1457),p(1468,1,{},z4e),s.Kb=function(n){return imn(u(n,40))},v(Ms,"EdgeRouter/lambda$11$Type",1468),p(1470,1,{},hje),s.Kb=function(n){return T5n(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Ms,"EdgeRouter/lambda$13$Type",1470),p(1472,1,{},aje),s.Kb=function(n){return umn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Ms,"EdgeRouter/lambda$15$Type",1472),p(1474,1,It,q4e),s.Le=function(n,t){return PTn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ms,"EdgeRouter/lambda$17$Type",1474),p(1475,1,It,W4e),s.Le=function(n,t){return OTn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ms,"EdgeRouter/lambda$18$Type",1475),p(1476,1,It,Y4e),s.Le=function(n,t){return LTn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ms,"EdgeRouter/lambda$19$Type",1476),p(1459,1,kt,LAe),s.Mb=function(n){return i6n(this.a,u(n,40))},s.a=0,v(Ms,"EdgeRouter/lambda$2$Type",1459),p(1477,1,It,Q4e),s.Le=function(n,t){return DTn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ms,"EdgeRouter/lambda$20$Type",1477),p(1460,1,It,Z4e),s.Le=function(n,t){return b5n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ms,"EdgeRouter/lambda$3$Type",1460),p(1461,1,It,e6e),s.Le=function(n,t){return g5n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ms,"EdgeRouter/lambda$4$Type",1461),p(1462,1,{},n6e),s.Kb=function(n){return rmn(u(n,40))},v(Ms,"EdgeRouter/lambda$5$Type",1462),p(1464,1,{},dje),s.Kb=function(n){return M5n(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Ms,"EdgeRouter/lambda$7$Type",1464),p(1466,1,{},bje),s.Kb=function(n){return cmn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Ms,"EdgeRouter/lambda$9$Type",1466),p(662,1,{662:1},cze),s.e=0,s.f=!1,s.g=!1,v(Ms,"MultiLevelEdgeNodeNodeGap",662),p(1864,1,It,t6e),s.Le=function(n,t){return w6n(u(n,240),u(t,240))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ms,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1864),p(1865,1,It,i6e),s.Le=function(n,t){return p6n(u(n,240),u(t,240))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ms,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1865);var em;p(487,23,{3:1,35:1,23:1,487:1,188:1,196:1},dY),s.bg=function(){return HGe(this)},s.og=function(){return HGe(this)};var ax,nm,M0e=nt(Lse,"RadialLayoutPhases",487,st,H4n,g3n),_ln;p(1083,214,Qb,xSe),s.kf=function(n,t){var i,r,c,o,l,a;if(i=JVe(this,n),t.Tg("Radial layout",i.c.length),Ie(je(fe(n,(g1(),L0e))))||lE((r=new L4((c0(),new Hd(n))),r)),a=x_n(n),si(n,(Kp(),em),a),!a)throw x(new Mn("The given graph is not a tree!"));for(c=X(Y(fe(n,bx))),c==0&&(c=gUe(n)),si(n,bx,c),l=new $(JVe(this,n));l.a=3)for(ne=u(G(K,0),26),Ce=u(G(K,1),26),o=0;o+2=ne.f+Ce.f+w||Ce.f>=re.f+ne.f+w){Ue=!0;break}else++o;else Ue=!0;if(!Ue){for(C=K.i,a=new Jn(K);a.e!=a.i.gc();)l=u(zn(a),26),si(l,(St(),tT),le(C)),--C;pKe(n,new _m),t.Ug();return}for(i=(rE(this.a),mf(this.a,(Aj(),ok),u(fe(n,bbe),188)),mf(this.a,gx,u(fe(n,sbe),188)),mf(this.a,NU,u(fe(n,abe),188)),jY(this.a,(fn=new Qi,Tt(fn,ok,(Vj(),OU)),Tt(fn,gx,PU),Ie(je(fe(n,ube)))&&Tt(fn,ok,DU),Ie(je(fe(n,cbe)))&&Tt(fn,ok,xU),fn)),AC(this.a,n)),b=1/i.c.length,S=new $(i);S.a0&&aGe((Nn(t-1,n.length),n.charCodeAt(t-1)),oQe);)--t;if(r>=t)throw x(new Mn("The given string does not contain any numbers."));if(c=jw((zr(r,t,n.length),n.substr(r,t-r)),`,|;|\r| -`),c.length!=2)throw x(new Mn("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=Ew(Cw(c[0])),this.b=Ew(Cw(c[1]))}catch(o){throw o=Zi(o),J(o,131)?(i=o,x(new Mn(sQe+i))):x(o)}},s.Ib=function(){return"("+this.a+","+this.b+")"},s.a=0,s.b=0;var _r=v(KC,"KVector",8);p(78,66,{3:1,4:1,20:1,31:1,56:1,18:1,66:1,16:1,78:1,414:1},ts,pM,S$e),s.Nc=function(){return fCn(this)},s.ag=function(n){var t,i,r,c,o,l;r=jw(n,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | -`),ys(this);try{for(i=0,o=0,c=0,l=0;i0&&(o%2==0?c=Ew(r[i]):l=Ew(r[i]),o>0&&o%2!=0&&jt(this,new he(c,l)),++o),++i}catch(a){throw a=Zi(a),J(a,131)?(t=a,x(new Mn("The given string does not match the expected format for vectors."+t))):x(a)}},s.Ib=function(){var n,t,i;for(n=new _s("("),t=ct(this,0);t.b!=t.d.c;)i=u(it(t),8),_t(n,i.a+","+i.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var Ybe=v(KC,"KVectorChain",78);p(256,23,{3:1,35:1,23:1,256:1},l6);var iV,Tx,Mx,KA,WA,Sx,Qbe=nt(co,"Alignment",256,st,akn,G3n),lan;p(975,1,na,G7e),s.tf=function(n){eKe(n)};var Zbe,rV,fan,ege,nge,aan,tge,han,dan,ige,rge,ban;v(co,"BoxLayouterOptions",975),p(976,1,{},d9e),s.uf=function(){var n;return n=new w9e,n},s.vf=function(n){},v(co,"BoxLayouterOptions/BoxFactory",976),p(299,23,{3:1,35:1,23:1,299:1},f6);var gk,cV,wk,pk,mk,uV,oV=nt(co,"ContentAlignment",299,st,hkn,H3n),gan;p(689,1,na,gK),s.tf=function(n){He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,dZe),""),"Layout Algorithm"),"Select a specific layout algorithm."),(I0(),f3)),$e),ze((Ma(),ln))))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,bZe),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),sa),IJn),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,cse),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),cge),ji),Qbe),ze(nr)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,yy),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,vle),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),sa),Ybe),ze(Nf)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,e$),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),oge),l3),oV),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,eA),""),"Debug Mode"),"Whether additional debug information shall be generated."),(pn(),!1)),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,DG),""),"Direction"),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),sge),ji),yk),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,ZC),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),age),ji),kV),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,ple),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,ZI),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),dge),ji),twe),bi(ln,D(O(oa,1),ae,160,0,[nr]))))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Dw),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),Age),sa),fae),bi(ln,D(O(oa,1),ae,160,0,[nr]))))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,V9),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,t$),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,X9),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,VJ),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),jge),ji),cwe),ze(nr)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,n$),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),sa),_r),bi(nr,D(O(oa,1),ae,160,0,[$d,qh]))))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,HC),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),cc),br),bi(nr,D(O(oa,1),ae,160,0,[Nf]))))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,PI),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),cc),br),ze(ln)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,U9),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,wse),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),wge),sa),Ybe),ze(Nf)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,yse),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),pr),Hi),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,kse),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),pr),Hi),ze(nr)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,iJn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),sa),DJn),bi(ln,D(O(oa,1),ae,160,0,[qh]))))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,gZe),""),"Softwrapping Fuzziness"),"Determines the amount of fuzziness to be used when performing softwrapping on labels. The value expresses the percent of overhang that is permitted for each line. If the next line would take up less space than this threshold, it is appended to the current line instead of being placed in a new line."),0),Vr),or),ze(qh)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Cse),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),pge),sa),lae),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,ise),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),pr),Hi),bi(nr,D(O(oa,1),ae,160,0,[Nf,$d,qh]))))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,wZe),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),Vr),or),ze(nr)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,pZe),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,mZe),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,zC),""),sZe),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),pr),Hi),ze(ln)))),Oi(n,zC,Zb,null),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,vZe),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,yZe),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),le(100)),cc),br),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,kZe),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,EZe),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),le(4e3)),cc),br),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,CZe),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),le(400)),cc),br),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,AZe),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,TZe),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,MZe),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,SZe),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,mle),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),uge),ji),mwe),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,_Ze),"json"),"Shape Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for nodes, ports, and labels of nodes and ports."),gge),ji),swe),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,jZe),"json"),"Edge Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for edge route points and edge labels."),bge),ji),Hge),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,qoe),ia),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Uoe),ia),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Voe),ia),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Xoe),ia),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,UJ),ia),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,OG),ia),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Koe),ia),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Qoe),ia),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Woe),ia),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Yoe),ia),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Ow),ia),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Zoe),ia),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Vr),or),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,ese),ia),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Vr),or),bi(ln,D(O(oa,1),ae,160,0,[nr]))))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,nse),ia),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),sa),ahn),bi(nr,D(O(oa,1),ae,160,0,[Nf,$d,qh]))))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Ase),ia),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),Rge),sa),lae),ze(ln)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,FG),NZe),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),cc),br),bi(ln,D(O(oa,1),ae,160,0,[nr]))))),Oi(n,FG,LG,San),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,LG),NZe),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),Tge),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,sse),xZe),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),vge),sa),fae),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Ey),xZe),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),yge),l3),Mc),bi(nr,D(O(oa,1),ae,160,0,[qh]))))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,ase),f$),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),Sge),ji),Ak),ze(nr)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,hse),f$),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),ji),Ak),ze(nr)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,dse),f$),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),ji),Ak),ze(nr)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,bse),f$),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),ji),Ak),ze(nr)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,gse),f$),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),ji),Ak),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,M2),lH),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),kge),l3),Sk),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Lv),lH),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),Cge),l3),lwe),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Fv),lH),"Node Size Minimum"),"The minimal size to which a node can be reduced."),Ege),sa),_r),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,ky),lH),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),pr),Hi),ze(ln)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,mse),PG),"Edge Label Placement"),"Gives a hint on where to put edge labels."),lge),ji),zge),ze(qh)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,OI),PG),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),pr),Hi),ze(qh)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,rJn),"font"),"Font Name"),"Font name used for a label."),f3),$e),ze(qh)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,IZe),"font"),"Font Size"),"Font size used for a label."),cc),br),ze(qh)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,Ese),fH),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),sa),_r),ze($d)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,vse),fH),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),cc),br),ze($d)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,rse),fH),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),Nge),ji),gc),ze($d)))),He(n,new Oe(Je(Be(Ge(De(Re(Le(Fe(new Pe,tse),fH),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),Vr),or),ze($d)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Cy),Ele),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),Ige),l3),Px),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,lse),Ele),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),pr),Hi),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,fse),Ele),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),pr),Hi),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,oH),Ny),"Number of size categories"),"Defines the number of categories to use for the FIXED_INTEGER_RATIO_BOXES size approximator."),le(3)),cc),br),ze(ln)))),Oi(n,oH,sH,Ran),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,yle),Ny),"Weight of a node containing children for determining the graph size"),"When determining the graph size for the size categorisation, this value determines how many times a node containing children is weighted more than a simple node. For example setting this value to four would result in a graph containing a simple node and a hierarchical node to be counted as having a size of five."),le(4)),cc),br),ze(ln)))),Oi(n,yle,oH,null),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,qC),Ny),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),Vr),or),ze(ln)))),Oi(n,qC,Zb,Dan),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,sH),Ny),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),sa),$Jn),ze(nr)))),Oi(n,sH,Zb,Lan),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,UC),Ny),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),Vr),or),bi(ln,D(O(oa,1),ae,160,0,[nr]))))),Oi(n,UC,Zb,null),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,VC),Ny),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),Vr),or),bi(ln,D(O(oa,1),ae,160,0,[nr]))))),Oi(n,VC,Zb,null),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,Zb),Ny),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),ji),awe),ze(nr)))),Oi(n,Zb,ky,null),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,kle),Ny),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),Vr),or),ze(ln)))),Oi(n,kle,Zb,Oan),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,use),PZe),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),pr),Hi),ze(nr)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,ose),PZe),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),pr),Hi),ze(Nf)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,pse),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),Vr),or),ze(Nf)))),He(n,new Oe(Je(Be(Ge(Ke(De(Re(Le(Fe(new Pe,$Ze),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),hge),ji),Wge),ze(Nf)))),e6(n,new tv(X4(G3(J3(new Em,mn),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),e6(n,new tv(X4(G3(J3(new Em,"org.eclipse.elk.orthogonal"),"Orthogonal"),`Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia '86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.`))),e6(n,new tv(X4(G3(J3(new Em,ao),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),e6(n,new tv(X4(G3(J3(new Em,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),e6(n,new tv(X4(G3(J3(new Em,UQe),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),e6(n,new tv(X4(G3(J3(new Em,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),e6(n,new tv(X4(G3(J3(new Em,ol),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),FXe((new H7e,n)),eKe((new G7e,n)),fXe((new z7e,n))};var a3,wan,cge,d4,pan,man,uge,lp,fp,van,YA,oge,QA,Q0,sge,sV,lV,lge,fge,age,yan,hge,kan,im,dge,Ean,ZA,fV,eT,aV,Can,bge,Aan,gge,rm,wge,b4,pge,mge,vge,cm,yge,Z0,kge,ap,um,Ege,F1,Cge,_x,nT,sh,Age,Tan,Tge,Man,San,Mge,Sge,hV,dV,bV,gV,_ge,ds,vk,jge,wV,pV,hp,Ige,$ge,om,Nge,h3,tT,mV,dp,_an,vV,jan,Ian,$an,Nan,xge,Pge,d3,Oge,jx,Dge,Lge,Nd,xan,Fge,Rge,Bge,g4,bp,w4,b3,Pan,Oan,Ix,Dan,$x,Lan,Fan,Ran,Ban;v(co,"CoreOptions",689),p(86,23,{3:1,35:1,23:1,86:1},P7);var la,Rc,zc,fa,hl,yk=nt(co,"Direction",86,st,T8n,R3n),Jan;p(278,23,{3:1,35:1,23:1,278:1},UM);var Nx,iT,Jge,Gge,Hge=nt(co,"EdgeCoords",278,st,X9n,B3n),Gan;p(279,23,{3:1,35:1,23:1,279:1},aD);var p4,gp,m4,zge=nt(co,"EdgeLabelPlacement",279,st,q6n,J3n),Han;p(222,23,{3:1,35:1,23:1,222:1},VM);var v4,rT,g3,yV,kV=nt(co,"EdgeRouting",222,st,K9n,F3n),zan;p(327,23,{3:1,35:1,23:1,327:1},a6);var qge,Uge,Vge,Xge,EV,Kge,Wge=nt(co,"EdgeType",327,st,gkn,K3n),qan;p(973,1,na,H7e),s.tf=function(n){FXe(n)};var Yge,Qge,Zge,ewe,Uan,nwe,kk;v(co,"FixedLayouterOptions",973),p(974,1,{},b9e),s.uf=function(){var n;return n=new C9e,n},s.vf=function(n){},v(co,"FixedLayouterOptions/FixedFactory",974),p(347,23,{3:1,35:1,23:1,347:1},hD);var xd,xx,Ek,twe=nt(co,"HierarchyHandling",347,st,U6n,W3n),Van,$Jn=Pi(co,"ITopdownSizeApproximator");p(292,23,{3:1,35:1,23:1,292:1},XM);var lh,R1,cT,uT,Xan=nt(co,"LabelSide",292,st,W9n,X3n),Kan;p(96,23,{3:1,35:1,23:1,96:1},Fp);var Uh,uf,Il,of,Hs,sf,$l,fh,lf,Mc=nt(co,"NodeLabelPlacement",96,st,w7n,z3n),Wan;p(257,23,{3:1,35:1,23:1,257:1},O7);var iwe,Ck,B1,rwe,oT,Ak=nt(co,"PortAlignment",257,st,L8n,q3n),Yan;p(102,23,{3:1,35:1,23:1,102:1},h6);var eb,Fu,ah,y4,aa,J1,cwe=nt(co,"PortConstraints",102,st,bkn,U3n),Qan;p(280,23,{3:1,35:1,23:1,280:1},d6);var Tk,Mk,Vh,sT,G1,w3,Px=nt(co,"PortLabelPlacement",280,st,dkn,V3n),Zan;p(64,23,{3:1,35:1,23:1,64:1},D7);var Dn,jn,dl,bl,So,go,ha,ff,Zo,Ho,Wu,es,_o,jo,af,zs,qs,Nl,Xn,uu,In,gc=nt(co,"PortSide",64,st,M8n,e5n),ehn;p(977,1,na,z7e),s.tf=function(n){fXe(n)};var nhn,thn,uwe,ihn,rhn;v(co,"RandomLayouterOptions",977),p(978,1,{},g9e),s.uf=function(){var n;return n=new M9e,n},s.vf=function(n){},v(co,"RandomLayouterOptions/RandomFactory",978),p(300,23,{3:1,35:1,23:1,300:1},dD);var lT,CV,owe,swe=nt(co,"ShapeCoords",300,st,V6n,n5n),chn;p(380,23,{3:1,35:1,23:1,380:1},KM);var wp,fT,aT,nb,Sk=nt(co,"SizeConstraint",380,st,Q9n,t5n),uhn;p(266,23,{3:1,35:1,23:1,266:1},Rp);var hT,Ox,k4,AV,dT,_k,Dx,Lx,Fx,lwe=nt(co,"SizeOptions",266,st,C7n,Q3n),ohn;p(281,23,{3:1,35:1,23:1,281:1},bD);var pp,fwe,Rx,awe=nt(co,"TopdownNodeTypes",281,st,X6n,Z3n),shn;p(288,23,h$);var hwe,TV,dwe,bwe,bT=nt(co,"TopdownSizeApproximator",288,st,Y9n,Y3n);p(969,288,h$,axe),s.Sg=function(n){return XHe(n)},nt(co,"TopdownSizeApproximator/1",969,bT,null,null),p(970,288,h$,Vxe),s.Sg=function(n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne,Ce,Ue,qe,fn;for(t=u(fe(n,(St(),dp)),144),Ce=(Ud(),T=new G4,T),gC(Ce,n),Ue=new Wn,o=new Jn((!n.a&&(n.a=new oe(Et,n,10,11)),n.a));o.e!=o.i.gc();)r=u(zn(o),26),H=(C=new G4,C),cI(H,Ce),gC(H,r),fn=XHe(r),pb(H,m.Math.max(r.g,fn.a),m.Math.max(r.f,fn.b)),Co(Ue.f,r,H);for(c=new Jn((!n.a&&(n.a=new oe(Et,n,10,11)),n.a));c.e!=c.i.gc();)for(r=u(zn(c),26),w=new Jn((!r.e&&(r.e=new dn(lr,r,7,4)),r.e));w.e!=w.i.gc();)b=u(zn(w),85),re=u(Qc(xc(Ue.f,r)),26),ne=u(kn(Ue,G((!b.c&&(b.c=new dn(et,b,5,8)),b.c),0)),26),K=(y=new qP,y),rt((!K.b&&(K.b=new dn(et,K,4,7)),K.b),re),rt((!K.c&&(K.c=new dn(et,K,5,8)),K.c),ne),rI(K,Ii(re)),gC(K,b);j=u(sE(t.f),214);try{j.kf(Ce,new zP),BZ(t.f,j)}catch(bn){throw bn=Zi(bn),J(bn,101)?(S=bn,x(S)):x(bn)}return kf(Ce,fp)||kf(Ce,lp)||tJ(Ce),d=X(Y(fe(Ce,fp))),a=X(Y(fe(Ce,lp))),l=d/a,i=X(Y(fe(Ce,bp)))*m.Math.sqrt((!Ce.a&&(Ce.a=new oe(Et,Ce,10,11)),Ce.a).i),qe=u(fe(Ce,sh),104),B=qe.b+qe.c+1,P=qe.d+qe.a+1,new he(m.Math.max(B,i),m.Math.max(P,i/l))},nt(co,"TopdownSizeApproximator/2",970,bT,null,null),p(971,288,h$,vOe),s.Sg=function(n){var t,i,r,c,o,l;return i=X(Y(fe(n,(St(),bp)))),t=i/X(Y(fe(n,g4))),r=CDn(n),o=u(fe(n,sh),104),c=X(Y(Ae(Nd))),Ii(n)&&(c=X(Y(fe(Ii(n),Nd)))),l=yh(new he(i,t),r),ei(l,new he(-(o.b+o.c)-c,-(o.d+o.a)-c))},nt(co,"TopdownSizeApproximator/3",971,bT,null,null),p(972,288,h$,Xxe),s.Sg=function(n){var t,i,r,c,o,l,a,d,b,w;for(l=new Jn((!n.a&&(n.a=new oe(Et,n,10,11)),n.a));l.e!=l.i.gc();)o=u(zn(l),26),fe(o,(St(),$x))!=null&&(!o.a&&(o.a=new oe(Et,o,10,11)),!!o.a)&&(!o.a&&(o.a=new oe(Et,o,10,11)),o.a).i>0?(i=u(fe(o,$x),521),w=i.Sg(o),b=u(fe(o,sh),104),pb(o,m.Math.max(o.g,w.a+b.b+b.c),m.Math.max(o.f,w.b+b.d+b.a))):(!o.a&&(o.a=new oe(Et,o,10,11)),o.a).i!=0&&pb(o,X(Y(fe(o,bp))),X(Y(fe(o,bp)))/X(Y(fe(o,g4))));t=u(fe(n,(St(),dp)),144),d=u(sE(t.f),214);try{d.kf(n,new zP),BZ(t.f,d)}catch(y){throw y=Zi(y),J(y,101)?(a=y,x(a)):x(y)}return si(n,a3,xy),lLe(n),tJ(n),c=X(Y(fe(n,fp))),r=X(Y(fe(n,lp))),new he(c,r)},nt(co,"TopdownSizeApproximator/4",972,bT,null,null);var lhn;p(345,1,{852:1},_m),s.Tg=function(n,t){return oqe(this,n,t)},s.Ug=function(){xqe(this)},s.Vg=function(){return this.q},s.Wg=function(){return this.f?t_(this.f):null},s.Xg=function(){return t_(this.a)},s.Yg=function(){return this.p},s.Zg=function(){return!1},s.$g=function(){return this.n},s._g=function(){return this.p!=null&&!this.b},s.ah=function(n){var t;this.n&&(t=n,pe(this.f,t))},s.bh=function(n,t){var i,r;this.n&&n&&h9n(this,(i=new sPe,r=OB(i,n),sRn(i),r),(sj(),SV))},s.dh=function(n){var t;return this.b?null:(t=Zkn(this,this.g),jt(this.a,t),t.i=this,this.d=n,t)},s.eh=function(n){n>0&&!this.b&&Lne(this,n)},s.b=!1,s.c=0,s.d=-1,s.e=null,s.f=null,s.g=-1,s.j=!1,s.k=!1,s.n=!1,s.o=0,s.q=0,s.r=0,v(ku,"BasicProgressMonitor",345),p(706,214,Qb,w9e),s.kf=function(n,t){pKe(n,t)},v(ku,"BoxLayoutProvider",706),p(965,1,It,KAe),s.Le=function(n,t){return sxn(this,u(n,26),u(t,26))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},s.a=!1,v(ku,"BoxLayoutProvider/1",965),p(167,1,{167:1},R_,M$e),s.Ib=function(){return this.c?Ice(this.c):Yf(this.b)},v(ku,"BoxLayoutProvider/Group",167),p(326,23,{3:1,35:1,23:1,326:1},WM);var gwe,wwe,pwe,MV,mwe=nt(ku,"BoxLayoutProvider/PackingMode",326,st,Z9n,i5n),fhn;p(966,1,It,p9e),s.Le=function(n,t){return m4n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(ku,"BoxLayoutProvider/lambda$0$Type",966),p(967,1,It,m9e),s.Le=function(n,t){return s4n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(ku,"BoxLayoutProvider/lambda$1$Type",967),p(968,1,It,v9e),s.Le=function(n,t){return l4n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(ku,"BoxLayoutProvider/lambda$2$Type",968),p(1338,1,{829:1},y9e),s.Lg=function(n,t){return AM(),!J(t,174)||_Se((dv(),u(n,174)),t)},v(ku,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1338),p(1339,1,Rn,WAe),s.Ad=function(n){aCn(this.a,u(n,147))},v(ku,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1339),p(1340,1,Rn,k9e),s.Ad=function(n){u(n,105),AM()},v(ku,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1340),p(1344,1,Rn,YAe),s.Ad=function(n){L7n(this.a,u(n,105))},v(ku,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1344),p(1342,1,kt,Cje),s.Mb=function(n){return VEn(this.a,this.b,u(n,147))},v(ku,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1342),p(1341,1,kt,Aje),s.Mb=function(n){return omn(this.a,this.b,u(n,829))},v(ku,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1341),p(1343,1,Rn,Tje),s.Ad=function(n){uyn(this.a,this.b,u(n,147))},v(ku,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1343),p(930,1,{},E9e),s.Kb=function(n){return yIe(n)},s.Fb=function(n){return this===n},v(ku,"ElkUtil/lambda$0$Type",930),p(931,1,Rn,Mje),s.Ad=function(n){h$n(this.a,this.b,u(n,85))},s.a=0,s.b=0,v(ku,"ElkUtil/lambda$1$Type",931),p(932,1,Rn,Sje),s.Ad=function(n){swn(this.a,this.b,u(n,170))},s.a=0,s.b=0,v(ku,"ElkUtil/lambda$2$Type",932),p(933,1,Rn,_je),s.Ad=function(n){t2n(this.a,this.b,u(n,157))},s.a=0,s.b=0,v(ku,"ElkUtil/lambda$3$Type",933),p(934,1,Rn,QAe),s.Ad=function(n){j5n(this.a,u(n,372))},v(ku,"ElkUtil/lambda$4$Type",934),p(331,1,{35:1,331:1},Lgn),s.Dd=function(n){return S2n(this,u(n,242))},s.Fb=function(n){var t;return J(n,331)?(t=u(n,331),this.a==t.a):!1},s.Hb=function(){return nc(this.a)},s.Ib=function(){return this.a+" (exclusive)"},s.a=0,v(ku,"ExclusiveBounds/ExclusiveLowerBound",331),p(1088,214,Qb,C9e),s.kf=function(n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B,H,K,re,ne,Ce,Ue,qe;for(t.Tg("Fixed Layout",1),o=u(fe(n,(St(),fge)),222),y=0,C=0,H=new Jn((!n.a&&(n.a=new oe(Et,n,10,11)),n.a));H.e!=H.i.gc();){for(P=u(zn(H),26),qe=u(fe(P,(lj(),kk)),8),qe&&(Ks(P,qe.a,qe.b),u(fe(P,Qge),182).Gc((As(),wp))&&(T=u(fe(P,ewe),8),T.a>0&&T.b>0&&Xb(P,T.a,T.b,!0,!0))),y=m.Math.max(y,P.i+P.g),C=m.Math.max(C,P.j+P.f),b=new Jn((!P.n&&(P.n=new oe(ou,P,1,7)),P.n));b.e!=b.i.gc();)a=u(zn(b),157),qe=u(fe(a,kk),8),qe&&Ks(a,qe.a,qe.b),y=m.Math.max(y,P.i+a.i+a.g),C=m.Math.max(C,P.j+a.j+a.f);for(ne=new Jn((!P.c&&(P.c=new oe(bs,P,9,9)),P.c));ne.e!=ne.i.gc();)for(re=u(zn(ne),125),qe=u(fe(re,kk),8),qe&&Ks(re,qe.a,qe.b),Ce=P.i+re.i,Ue=P.j+re.j,y=m.Math.max(y,Ce+re.g),C=m.Math.max(C,Ue+re.f),d=new Jn((!re.n&&(re.n=new oe(ou,re,1,7)),re.n));d.e!=d.i.gc();)a=u(zn(d),157),qe=u(fe(a,kk),8),qe&&Ks(a,qe.a,qe.b),y=m.Math.max(y,Ce+a.i+a.g),C=m.Math.max(C,Ue+a.j+a.f);for(c=new Sn($n(w1(P).a.Jc(),new V));Un(c);)i=u(Fn(c),85),w=jWe(i),y=m.Math.max(y,w.a),C=m.Math.max(C,w.b);for(r=new Sn($n(kB(P).a.Jc(),new V));Un(r);)i=u(Fn(r),85),Ii(oB(i))!=n&&(w=jWe(i),y=m.Math.max(y,w.a),C=m.Math.max(C,w.b))}if(o==(Ph(),v4))for(B=new Jn((!n.a&&(n.a=new oe(Et,n,10,11)),n.a));B.e!=B.i.gc();)for(P=u(zn(B),26),r=new Sn($n(w1(P).a.Jc(),new V));Un(r);)i=u(Fn(r),85),l=sDn(i),l.b==0?si(i,rm,null):si(i,rm,l);Ie(je(fe(n,(lj(),Zge))))||(K=u(fe(n,Uan),104),j=y+K.b+K.c,S=C+K.d+K.a,Xb(n,j,S,!0,!0)),t.Ug()},v(ku,"FixedLayoutProvider",1088),p(379,150,{3:1,414:1,379:1,105:1,150:1},HP,pRe),s.ag=function(n){var t,i,r,c,o,l,a,d,b;if(n)try{for(d=jw(n,";,;"),o=d,l=0,a=o.length;l>16&hr|t^r<<16},s.Jc=function(){return new ZAe(this)},s.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+Vc(this.b)+")":this.b==null?"pair("+Vc(this.a)+",null)":"pair("+Vc(this.a)+","+Vc(this.b)+")"},v(ku,"Pair",49),p(979,1,Or,ZAe),s.Nb=function(n){Ur(this,n)},s.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},s.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw x(new Wc)},s.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),x(new Po)},s.b=!1,s.c=!1,v(ku,"Pair/1",979),p(1078,214,Qb,M9e),s.kf=function(n,t){var i,r,c,o,l;if(t.Tg("Random Layout",1),(!n.a&&(n.a=new oe(Et,n,10,11)),n.a).i==0){t.Ug();return}o=u(fe(n,(tie(),ihn)),15),o&&o.a!=0?c=new v_(o.a):c=new bR,i=g7(Y(fe(n,nhn))),l=g7(Y(fe(n,rhn))),r=u(fe(n,thn),104),jRn(n,c,i,l,r),t.Ug()},v(ku,"RandomLayoutProvider",1078),p(240,1,{240:1},XD),s.Fb=function(n){return Iu(this.a,u(n,240).a)&&Iu(this.b,u(n,240).b)&&Iu(this.c,u(n,240).c)},s.Hb=function(){return fj(D(O(vr,1),hn,1,5,[this.a,this.b,this.c]))},s.Ib=function(){return"("+this.a+ro+this.b+ro+this.c+")"},v(ku,"Triple",240);var bhn;p(550,1,{}),s.Jf=function(){return new he(this.f.i,this.f.j)},s.mf=function(n){return wOe(n,(St(),ds))?fe(this.f,ghn):fe(this.f,n)},s.Kf=function(){return new he(this.f.g,this.f.f)},s.Lf=function(){return this.g},s.nf=function(n){return kf(this.f,n)},s.Mf=function(n){os(this.f,n.a),ss(this.f,n.b)},s.Nf=function(n){Pb(this.f,n.a),xb(this.f,n.b)},s.Of=function(n){this.g=n},s.g=0;var ghn;v(r8,"ElkGraphAdapters/AbstractElkGraphElementAdapter",550),p(552,1,{837:1},nM),s.Pf=function(){var n,t;if(!this.b)for(this.b=h_(TL(this.a).i),t=new Jn(TL(this.a));t.e!=t.i.gc();)n=u(zn(t),157),pe(this.b,new kO(n));return this.b},s.b=null,v(r8,"ElkGraphAdapters/ElkEdgeAdapter",552),p(260,550,{},Hd),s.Qf=function(){return bze(this)},s.a=null,v(r8,"ElkGraphAdapters/ElkGraphAdapter",260),p(630,550,{187:1},kO),v(r8,"ElkGraphAdapters/ElkLabelAdapter",630),p(551,550,{685:1},gS),s.Pf=function(){return DMn(this)},s.Tf=function(){var n;return n=u(fe(this.f,(St(),b4)),140),!n&&(n=new J4),n},s.Vf=function(){return LMn(this)},s.Xf=function(n){var t;t=new qD(n),si(this.f,(St(),b4),t)},s.Yf=function(n){si(this.f,(St(),sh),new FQ(n))},s.Rf=function(){return this.d},s.Sf=function(){var n,t;if(!this.a)for(this.a=new me,t=new Sn($n(kB(u(this.f,26)).a.Jc(),new V));Un(t);)n=u(Fn(t),85),pe(this.a,new nM(n));return this.a},s.Uf=function(){var n,t;if(!this.c)for(this.c=new me,t=new Sn($n(w1(u(this.f,26)).a.Jc(),new V));Un(t);)n=u(Fn(t),85),pe(this.c,new nM(n));return this.c},s.Wf=function(){return e_(u(this.f,26)).i!=0||Ie(je(u(this.f,26).mf((St(),ZA))))},s.Zf=function(){Pkn(this,(c0(),bhn))},s.a=null,s.b=null,s.c=null,s.d=null,s.e=null,v(r8,"ElkGraphAdapters/ElkNodeAdapter",551),p(1249,550,{836:1},eTe),s.Pf=function(){return zMn(this)},s.Sf=function(){var n,t;if(!this.a)for(this.a=Ga(u(this.f,125).gh().i),t=new Jn(u(this.f,125).gh());t.e!=t.i.gc();)n=u(zn(t),85),pe(this.a,new nM(n));return this.a},s.Uf=function(){var n,t;if(!this.c)for(this.c=Ga(u(this.f,125).hh().i),t=new Jn(u(this.f,125).hh());t.e!=t.i.gc();)n=u(zn(t),85),pe(this.c,new nM(n));return this.c},s.$f=function(){return u(u(this.f,125).mf((St(),om)),64)},s._f=function(){var n,t,i,r,c,o,l,a;for(r=Hf(u(this.f,125)),i=new Jn(u(this.f,125).hh());i.e!=i.i.gc();)for(n=u(zn(i),85),a=new Jn((!n.c&&(n.c=new dn(et,n,5,8)),n.c));a.e!=a.i.gc();){if(l=u(zn(a),84),fw(Hc(l),r))return!0;if(Hc(l)==r&&Ie(je(fe(n,(St(),fV)))))return!0}for(t=new Jn(u(this.f,125).gh());t.e!=t.i.gc();)for(n=u(zn(t),85),o=new Jn((!n.b&&(n.b=new dn(et,n,4,7)),n.b));o.e!=o.i.gc();)if(c=u(zn(o),84),fw(Hc(c),r))return!0;return!1},s.a=null,s.b=null,s.c=null,v(r8,"ElkGraphAdapters/ElkPortAdapter",1249),p(1250,1,It,S9e),s.Le=function(n,t){return eOn(u(n,125),u(t,125))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(r8,"ElkGraphAdapters/PortComparator",1250);var H1=Pi(sl,"EObject"),E4=Pi(I2,LZe),Us=Pi(I2,FZe),gT=Pi(I2,RZe),wT=Pi(I2,"ElkShape"),et=Pi(I2,BZe),lr=Pi(I2,Ale),Mi=Pi(I2,JZe),pT=Pi(sl,GZe),jk=Pi(sl,"EFactory"),whn,_V=Pi(sl,HZe),xf=Pi(sl,"EPackage"),jr,phn,mhn,Ewe,Bx,vhn,Cwe,Awe,Twe,hh,yhn,khn,ou=Pi(I2,Tle),Et=Pi(I2,Mle),bs=Pi(I2,Sle);p(93,1,zZe),s.qh=function(){return this.rh(),null},s.rh=function(){return null},s.sh=function(){return this.rh(),!1},s.th=function(){return!1},s.uh=function(n){Wt(this,n)},v(Jv,"BasicNotifierImpl",93),p(100,93,XZe),s.Vh=function(){return ws(this)},s.vh=function(n,t){return n},s.wh=function(){throw x(new bt)},s.xh=function(n){var t;return t=mc(u(on(this.Ah(),this.Ch()),19)),this.Mh().Qh(this,t.n,t.f,n)},s.yh=function(n,t){throw x(new bt)},s.zh=function(n,t,i){return Fs(this,n,t,i)},s.Ah=function(){var n;return this.wh()&&(n=this.wh().Lk(),n)?n:this.fi()},s.Bh=function(){return vB(this)},s.Ch=function(){throw x(new bt)},s.Dh=function(){var n,t;return t=this.Xh().Mk(),!t&&this.wh().Rk(t=(t6(),n=nee(_a(this.Ah())),n==null?DV:new G7(this,n))),t},s.Eh=function(n,t){return n},s.Fh=function(n){var t;return t=n.nk(),t?n.Jj():$i(this.Ah(),n)},s.Gh=function(){var n;return n=this.wh(),n?n.Ok():null},s.Hh=function(){return this.wh()?this.wh().Lk():null},s.Ih=function(n,t,i){return Nj(this,n,t,i)},s.Jh=function(n){return p5(this,n)},s.Kh=function(n,t){return cF(this,n,t)},s.Lh=function(){var n;return n=this.wh(),!!n&&n.Pk()},s.Mh=function(){throw x(new bt)},s.Nh=function(){return Sj(this)},s.Oh=function(n,t,i,r){return vv(this,n,t,r)},s.Ph=function(n,t,i){var r;return r=u(on(this.Ah(),t),69),r.uk().xk(this,this.ei(),t-this.gi(),n,i)},s.Qh=function(n,t,i,r){return c_(this,n,t,r)},s.Rh=function(n,t,i){var r;return r=u(on(this.Ah(),t),69),r.uk().yk(this,this.ei(),t-this.gi(),n,i)},s.Sh=function(){return!!this.wh()&&!!this.wh().Nk()},s.Th=function(n){return jR(this,n)},s.Uh=function(n){return $Oe(this,n)},s.Wh=function(n){return hWe(this,n)},s.Xh=function(){throw x(new bt)},s.Yh=function(){return this.wh()?this.wh().Nk():null},s.Zh=function(){return Sj(this)},s.$h=function(n,t){bB(this,n,t)},s._h=function(n){this.Xh().Qk(n)},s.ai=function(n){this.Xh().Tk(n)},s.bi=function(n){this.Xh().Sk(n)},s.ci=function(n,t){var i,r,c,o;return o=this.Gh(),o&&n&&(t=fc(o.Cl(),this,t),o.Gl(this)),r=this.Mh(),r&&((NB(this,this.Mh(),this.Ch()).Bb&dc)!=0?(c=r.Nh(),c&&(n?!o&&c.Gl(this):c.Fl(this))):(t=(i=this.Ch(),i>=0?this.xh(t):this.Mh().Qh(this,-1-i,null,t)),t=this.zh(null,-1,t))),this.ai(n),t},s.di=function(n){var t,i,r,c,o,l,a,d;if(i=this.Ah(),o=$i(i,n),t=this.gi(),o>=t)return u(n,69).uk().Bk(this,this.ei(),o-t);if(o<=-1)if(l=k2((Bo(),Xr),i,n),l){if(pc(),u(l,69).vk()||(l=iv(Oc(Xr,l))),c=(r=this.Fh(l),u(r>=0?this.Ih(r,!0,!0):qb(this,l,!0),163)),d=l.Gk(),d>1||d==-1)return u(u(c,219).Ql(n,!1),77)}else throw x(new Mn(T1+n.ve()+aH));else if(n.Hk())return r=this.Fh(n),u(r>=0?this.Ih(r,!1,!0):qb(this,n,!1),77);return a=new zje(this,n),a},s.ei=function(){return lne(this)},s.fi=function(){return(Qd(),vn).S},s.gi=function(){return Vn(this.fi())},s.hi=function(n){aB(this,n)},s.Ib=function(){return Wl(this)},v(Cn,"BasicEObjectImpl",100);var Ehn;p(117,100,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1}),s.ii=function(n){var t;return t=fne(this),t[n]},s.ji=function(n,t){var i;i=fne(this),Ki(i,n,t)},s.ki=function(n){var t;t=fne(this),Ki(t,n,null)},s.qh=function(){return u(_n(this,4),129)},s.rh=function(){throw x(new bt)},s.sh=function(){return(this.Db&4)!=0},s.wh=function(){throw x(new bt)},s.li=function(n){pv(this,2,n)},s.yh=function(n,t){this.Db=t<<16|this.Db&255,this.li(n)},s.Ah=function(){return vo(this)},s.Ch=function(){return this.Db>>16},s.Dh=function(){var n,t;return t6(),t=nee(_a((n=u(_n(this,16),29),n||this.fi()))),t==null?DV:new G7(this,t)},s.th=function(){return(this.Db&1)==0},s.Gh=function(){return u(_n(this,128),1996)},s.Hh=function(){return u(_n(this,16),29)},s.Lh=function(){return(this.Db&32)!=0},s.Mh=function(){return u(_n(this,2),52)},s.Sh=function(){return(this.Db&64)!=0},s.Xh=function(){throw x(new bt)},s.Yh=function(){return u(_n(this,64),290)},s._h=function(n){pv(this,16,n)},s.ai=function(n){pv(this,128,n)},s.bi=function(n){pv(this,64,n)},s.ei=function(){return lo(this)},s.Db=0,v(Cn,"MinimalEObjectImpl",117),p(118,117,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.li=function(n){this.Cb=n},s.Mh=function(){return this.Cb},v(Cn,"MinimalEObjectImpl/Container",118),p(2045,118,{109:1,343:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return Tie(this,n,t,i)},s.Rh=function(n,t,i){return bre(this,n,t,i)},s.Th=function(n){return mee(this,n)},s.$h=function(n,t){ate(this,n,t)},s.fi=function(){return Tu(),khn},s.hi=function(n){Qne(this,n)},s.lf=function(){return PHe(this)},s.fh=function(){return!this.o&&(this.o=new Fo((Tu(),hh),Pd,this,0)),this.o},s.mf=function(n){return fe(this,n)},s.nf=function(n){return kf(this,n)},s.of=function(n,t){return si(this,n,t)},v(L0,"EMapPropertyHolderImpl",2045),p(559,118,{109:1,372:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},UT),s.Ih=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return Nj(this,n,t,i)},s.Th=function(n){switch(n){case 0:return this.a!=0;case 1:return this.b!=0}return jR(this,n)},s.$h=function(n,t){switch(n){case 0:B_(this,X(Y(t)));return;case 1:J_(this,X(Y(t)));return}bB(this,n,t)},s.fi=function(){return Tu(),phn},s.hi=function(n){switch(n){case 0:B_(this,0);return;case 1:J_(this,0);return}aB(this,n)},s.Ib=function(){var n;return(this.Db&64)!=0?Wl(this):(n=new vl(Wl(this)),n.a+=" (x: ",Pp(n,this.a),n.a+=", y: ",Pp(n,this.b),n.a+=")",n.a)},s.a=0,s.b=0,v(L0,"ElkBendPointImpl",559),p(727,2045,{109:1,343:1,174:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return Ite(this,n,t,i)},s.Ph=function(n,t,i){return iB(this,n,t,i)},s.Rh=function(n,t,i){return GF(this,n,t,i)},s.Th=function(n){return Une(this,n)},s.$h=function(n,t){zie(this,n,t)},s.fi=function(){return Tu(),vhn},s.hi=function(n){Mte(this,n)},s.ih=function(){return this.k},s.jh=function(){return TL(this)},s.Ib=function(){return dR(this)},s.k=null,v(L0,"ElkGraphElementImpl",727),p(728,727,{109:1,343:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return Hte(this,n,t,i)},s.Th=function(n){return Wte(this,n)},s.$h=function(n,t){qie(this,n,t)},s.fi=function(){return Tu(),yhn},s.hi=function(n){nie(this,n)},s.kh=function(){return this.f},s.lh=function(){return this.g},s.mh=function(){return this.i},s.nh=function(){return this.j},s.oh=function(n,t){pb(this,n,t)},s.ph=function(n,t){Ks(this,n,t)},s.Ib=function(){return lB(this)},s.f=0,s.g=0,s.i=0,s.j=0,v(L0,"ElkShapeImpl",728),p(729,728,{109:1,343:1,84:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return vie(this,n,t,i)},s.Ph=function(n,t,i){return Fie(this,n,t,i)},s.Rh=function(n,t,i){return Rie(this,n,t,i)},s.Th=function(n){return ote(this,n)},s.$h=function(n,t){Qre(this,n,t)},s.fi=function(){return Tu(),mhn},s.hi=function(n){bie(this,n)},s.gh=function(){return!this.d&&(this.d=new dn(lr,this,8,5)),this.d},s.hh=function(){return!this.e&&(this.e=new dn(lr,this,7,4)),this.e},v(L0,"ElkConnectableShapeImpl",729),p(271,727,{109:1,343:1,85:1,174:1,271:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},qP),s.xh=function(n){return Pie(this,n)},s.Ih=function(n,t,i){switch(n){case 3:return iw(this);case 4:return!this.b&&(this.b=new dn(et,this,4,7)),this.b;case 5:return!this.c&&(this.c=new dn(et,this,5,8)),this.c;case 6:return!this.a&&(this.a=new oe(Mi,this,6,6)),this.a;case 7:return pn(),!this.b&&(this.b=new dn(et,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new dn(et,this,5,8)),this.c.i<=1));case 8:return pn(),!!A9(this);case 9:return pn(),!!zb(this);case 10:return pn(),!this.b&&(this.b=new dn(et,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new dn(et,this,5,8)),this.c.i!=0)}return Ite(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 3:return this.Cb&&(i=(r=this.Db>>16,r>=0?Pie(this,i):this.Cb.Qh(this,-1-r,null,i))),wQ(this,u(n,26),i);case 4:return!this.b&&(this.b=new dn(et,this,4,7)),io(this.b,n,i);case 5:return!this.c&&(this.c=new dn(et,this,5,8)),io(this.c,n,i);case 6:return!this.a&&(this.a=new oe(Mi,this,6,6)),io(this.a,n,i)}return iB(this,n,t,i)},s.Rh=function(n,t,i){switch(t){case 3:return wQ(this,null,i);case 4:return!this.b&&(this.b=new dn(et,this,4,7)),fc(this.b,n,i);case 5:return!this.c&&(this.c=new dn(et,this,5,8)),fc(this.c,n,i);case 6:return!this.a&&(this.a=new oe(Mi,this,6,6)),fc(this.a,n,i)}return GF(this,n,t,i)},s.Th=function(n){switch(n){case 3:return!!iw(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new dn(et,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new dn(et,this,5,8)),this.c.i<=1));case 8:return A9(this);case 9:return zb(this);case 10:return!this.b&&(this.b=new dn(et,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new dn(et,this,5,8)),this.c.i!=0)}return Une(this,n)},s.$h=function(n,t){switch(n){case 3:rI(this,u(t,26));return;case 4:!this.b&&(this.b=new dn(et,this,4,7)),tt(this.b),!this.b&&(this.b=new dn(et,this,4,7)),Vi(this.b,u(t,18));return;case 5:!this.c&&(this.c=new dn(et,this,5,8)),tt(this.c),!this.c&&(this.c=new dn(et,this,5,8)),Vi(this.c,u(t,18));return;case 6:!this.a&&(this.a=new oe(Mi,this,6,6)),tt(this.a),!this.a&&(this.a=new oe(Mi,this,6,6)),Vi(this.a,u(t,18));return}zie(this,n,t)},s.fi=function(){return Tu(),Ewe},s.hi=function(n){switch(n){case 3:rI(this,null);return;case 4:!this.b&&(this.b=new dn(et,this,4,7)),tt(this.b);return;case 5:!this.c&&(this.c=new dn(et,this,5,8)),tt(this.c);return;case 6:!this.a&&(this.a=new oe(Mi,this,6,6)),tt(this.a);return}Mte(this,n)},s.Ib=function(){return xKe(this)},v(L0,"ElkEdgeImpl",271),p(443,2045,{109:1,343:1,170:1,443:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},qT),s.xh=function(n){return Iie(this,n)},s.Ih=function(n,t,i){switch(n){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new fr(Us,this,5)),this.a;case 6:return IOe(this);case 7:return t?PR(this):this.i;case 8:return t?xR(this):this.f;case 9:return!this.g&&(this.g=new dn(Mi,this,9,10)),this.g;case 10:return!this.e&&(this.e=new dn(Mi,this,10,9)),this.e;case 11:return this.d}return Tie(this,n,t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?Iie(this,i):this.Cb.Qh(this,-1-c,null,i))),pQ(this,u(n,85),i);case 9:return!this.g&&(this.g=new dn(Mi,this,9,10)),io(this.g,n,i);case 10:return!this.e&&(this.e=new dn(Mi,this,10,9)),io(this.e,n,i)}return o=u(on((r=u(_n(this,16),29),r||(Tu(),Bx)),t),69),o.uk().xk(this,lo(this),t-Vn((Tu(),Bx)),n,i)},s.Rh=function(n,t,i){switch(t){case 5:return!this.a&&(this.a=new fr(Us,this,5)),fc(this.a,n,i);case 6:return pQ(this,null,i);case 9:return!this.g&&(this.g=new dn(Mi,this,9,10)),fc(this.g,n,i);case 10:return!this.e&&(this.e=new dn(Mi,this,10,9)),fc(this.e,n,i)}return bre(this,n,t,i)},s.Th=function(n){switch(n){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!IOe(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return mee(this,n)},s.$h=function(n,t){switch(n){case 1:c2(this,X(Y(t)));return;case 2:u2(this,X(Y(t)));return;case 3:i2(this,X(Y(t)));return;case 4:r2(this,X(Y(t)));return;case 5:!this.a&&(this.a=new fr(Us,this,5)),tt(this.a),!this.a&&(this.a=new fr(Us,this,5)),Vi(this.a,u(t,18));return;case 6:NVe(this,u(t,85));return;case 7:X_(this,u(t,84));return;case 8:V_(this,u(t,84));return;case 9:!this.g&&(this.g=new dn(Mi,this,9,10)),tt(this.g),!this.g&&(this.g=new dn(Mi,this,9,10)),Vi(this.g,u(t,18));return;case 10:!this.e&&(this.e=new dn(Mi,this,10,9)),tt(this.e),!this.e&&(this.e=new dn(Mi,this,10,9)),Vi(this.e,u(t,18));return;case 11:One(this,wt(t));return}ate(this,n,t)},s.fi=function(){return Tu(),Bx},s.hi=function(n){switch(n){case 1:c2(this,0);return;case 2:u2(this,0);return;case 3:i2(this,0);return;case 4:r2(this,0);return;case 5:!this.a&&(this.a=new fr(Us,this,5)),tt(this.a);return;case 6:NVe(this,null);return;case 7:X_(this,null);return;case 8:V_(this,null);return;case 9:!this.g&&(this.g=new dn(Mi,this,9,10)),tt(this.g);return;case 10:!this.e&&(this.e=new dn(Mi,this,10,9)),tt(this.e);return;case 11:One(this,null);return}Qne(this,n)},s.Ib=function(){return HUe(this)},s.b=0,s.c=0,s.d=null,s.j=0,s.k=0,v(L0,"ElkEdgeSectionImpl",443),p(161,118,{109:1,94:1,93:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),s.Ih=function(n,t,i){var r;return n==0?(!this.Ab&&(this.Ab=new oe(xt,this,0,3)),this.Ab):Zs(this,n-Vn(this.fi()),on((r=u(_n(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new oe(xt,this,0,3)),io(this.Ab,n,i)):(c=u(on((r=u(_n(this,16),29),r||this.fi()),t),69),c.uk().xk(this,lo(this),t-Vn(this.fi()),n,i))},s.Rh=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new oe(xt,this,0,3)),fc(this.Ab,n,i)):(c=u(on((r=u(_n(this,16),29),r||this.fi()),t),69),c.uk().yk(this,lo(this),t-Vn(this.fi()),n,i))},s.Th=function(n){var t;return n==0?!!this.Ab&&this.Ab.i!=0:Qs(this,n-Vn(this.fi()),on((t=u(_n(this,16),29),t||this.fi()),n))},s.Wh=function(n){return wue(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab),!this.Ab&&(this.Ab=new oe(xt,this,0,3)),Vi(this.Ab,u(t,18));return}cl(this,n-Vn(this.fi()),on((i=u(_n(this,16),29),i||this.fi()),n),t)},s.ai=function(n){pv(this,128,n)},s.fi=function(){return rn(),Bhn},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab);return}rl(this,n-Vn(this.fi()),on((t=u(_n(this,16),29),t||this.fi()),n))},s.mi=function(){this.Bb|=1},s.ni=function(n){return $9(this,n)},s.Bb=0,v(Cn,"EModelElementImpl",161),p(710,161,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},wK),s.oi=function(n,t){return cWe(this,n,t)},s.pi=function(n){var t,i,r,c,o;if(this.a!=xs(n)||(n.Bb&256)!=0)throw x(new Mn(dH+n.zb+rg));for(r=Gc(n);$u(r.a).i!=0;){if(i=u(TC(r,0,(t=u(G($u(r.a),0),87),o=t.c,J(o,88)?u(o,29):(rn(),Dl))),29),Gb(i))return c=xs(i).ti().pi(i),u(c,52)._h(n),c;r=Gc(i)}return(n.D!=null?n.D:n.B)=="java.util.Map$Entry"?new fxe(n):new tZ(n)},s.qi=function(n,t){return Kb(this,n,t)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),this.Ab;case 1:return this.a}return Zs(this,n-Vn((rn(),U1)),on((r=u(_n(this,16),29),r||U1),n),t,i)},s.Ph=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),io(this.Ab,n,i);case 1:return this.a&&(i=u(this.a,52).Qh(this,4,xf,i)),Ate(this,u(n,241),i)}return c=u(on((r=u(_n(this,16),29),r||(rn(),U1)),t),69),c.uk().xk(this,lo(this),t-Vn((rn(),U1)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),fc(this.Ab,n,i);case 1:return Ate(this,null,i)}return c=u(on((r=u(_n(this,16),29),r||(rn(),U1)),t),69),c.uk().yk(this,lo(this),t-Vn((rn(),U1)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return Qs(this,n-Vn((rn(),U1)),on((t=u(_n(this,16),29),t||U1),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab),!this.Ab&&(this.Ab=new oe(xt,this,0,3)),Vi(this.Ab,u(t,18));return;case 1:vqe(this,u(t,241));return}cl(this,n-Vn((rn(),U1)),on((i=u(_n(this,16),29),i||U1),n),t)},s.fi=function(){return rn(),U1},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab);return;case 1:vqe(this,null);return}rl(this,n-Vn((rn(),U1)),on((t=u(_n(this,16),29),t||U1),n))};var Ik,Mwe,Chn;v(Cn,"EFactoryImpl",710),p(1018,710,{109:1,2075:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},j9e),s.oi=function(n,t){switch(n.fk()){case 12:return u(t,147).Og();case 13:return Vc(t);default:throw x(new Mn(Py+n.ve()+rg))}},s.pi=function(n){var t,i,r,c,o,l,a,d;switch(n.G==-1&&(n.G=(t=xs(n),t?md(t.si(),n):-1)),n.G){case 4:return o=new aK,o;case 6:return l=new G4,l;case 7:return a=new oW,a;case 8:return r=new qP,r;case 9:return i=new UT,i;case 10:return c=new qT,c;case 11:return d=new I9e,d;default:throw x(new Mn(dH+n.zb+rg))}},s.qi=function(n,t){switch(n.fk()){case 13:case 12:return null;default:throw x(new Mn(Py+n.ve()+rg))}},v(L0,"ElkGraphFactoryImpl",1018),p(439,161,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),s.Dh=function(){var n,t;return t=(n=u(_n(this,16),29),nee(_a(n||this.fi()))),t==null?(t6(),t6(),DV):new $$e(this,t)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),this.Ab;case 1:return this.ve()}return Zs(this,n-Vn(this.fi()),on((r=u(_n(this,16),29),r||this.fi()),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return Qs(this,n-Vn(this.fi()),on((t=u(_n(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab),!this.Ab&&(this.Ab=new oe(xt,this,0,3)),Vi(this.Ab,u(t,18));return;case 1:this.ri(wt(t));return}cl(this,n-Vn(this.fi()),on((i=u(_n(this,16),29),i||this.fi()),n),t)},s.fi=function(){return rn(),Jhn},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab);return;case 1:this.ri(null);return}rl(this,n-Vn(this.fi()),on((t=u(_n(this,16),29),t||this.fi()),n))},s.ve=function(){return this.zb},s.ri=function(n){to(this,n)},s.Ib=function(){return c9(this)},s.zb=null,v(Cn,"ENamedElementImpl",439),p(184,439,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},nOe),s.xh=function(n){return Ize(this,n)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new Zg(this,Pf,this)),this.rb;case 6:return!this.vb&&(this.vb=new qm(xf,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?u(this.Cb,241):null:LOe(this)}return Zs(this,n-Vn((rn(),Fd)),on((r=u(_n(this,16),29),r||Fd),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),io(this.Ab,n,i);case 4:return this.sb&&(i=u(this.sb,52).Qh(this,1,jk,i)),Ste(this,u(n,469),i);case 5:return!this.rb&&(this.rb=new Zg(this,Pf,this)),io(this.rb,n,i);case 6:return!this.vb&&(this.vb=new qm(xf,this,6,7)),io(this.vb,n,i);case 7:return this.Cb&&(i=(c=this.Db>>16,c>=0?Ize(this,i):this.Cb.Qh(this,-1-c,null,i))),Fs(this,n,7,i)}return o=u(on((r=u(_n(this,16),29),r||(rn(),Fd)),t),69),o.uk().xk(this,lo(this),t-Vn((rn(),Fd)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),fc(this.Ab,n,i);case 4:return Ste(this,null,i);case 5:return!this.rb&&(this.rb=new Zg(this,Pf,this)),fc(this.rb,n,i);case 6:return!this.vb&&(this.vb=new qm(xf,this,6,7)),fc(this.vb,n,i);case 7:return Fs(this,null,7,i)}return c=u(on((r=u(_n(this,16),29),r||(rn(),Fd)),t),69),c.uk().yk(this,lo(this),t-Vn((rn(),Fd)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!LOe(this)}return Qs(this,n-Vn((rn(),Fd)),on((t=u(_n(this,16),29),t||Fd),n))},s.Wh=function(n){var t;return t=mxn(this,n),t||wue(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab),!this.Ab&&(this.Ab=new oe(xt,this,0,3)),Vi(this.Ab,u(t,18));return;case 1:to(this,wt(t));return;case 2:ej(this,wt(t));return;case 3:Z_(this,wt(t));return;case 4:sB(this,u(t,469));return;case 5:!this.rb&&(this.rb=new Zg(this,Pf,this)),tt(this.rb),!this.rb&&(this.rb=new Zg(this,Pf,this)),Vi(this.rb,u(t,18));return;case 6:!this.vb&&(this.vb=new qm(xf,this,6,7)),tt(this.vb),!this.vb&&(this.vb=new qm(xf,this,6,7)),Vi(this.vb,u(t,18));return}cl(this,n-Vn((rn(),Fd)),on((i=u(_n(this,16),29),i||Fd),n),t)},s.bi=function(n){var t,i;if(n&&this.rb)for(i=new Jn(this.rb);i.e!=i.i.gc();)t=zn(i),J(t,360)&&(u(t,360).w=null);pv(this,64,n)},s.fi=function(){return rn(),Fd},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab);return;case 1:to(this,null);return;case 2:ej(this,null);return;case 3:Z_(this,null);return;case 4:sB(this,null);return;case 5:!this.rb&&(this.rb=new Zg(this,Pf,this)),tt(this.rb);return;case 6:!this.vb&&(this.vb=new qm(xf,this,6,7)),tt(this.vb);return}rl(this,n-Vn((rn(),Fd)),on((t=u(_n(this,16),29),t||Fd),n))},s.mi=function(){VR(this)},s.si=function(){return!this.rb&&(this.rb=new Zg(this,Pf,this)),this.rb},s.ti=function(){return this.sb},s.ui=function(){return this.ub},s.vi=function(){return this.xb},s.wi=function(){return this.yb},s.xi=function(n){this.ub=n},s.Ib=function(){var n;return(this.Db&64)!=0?c9(this):(n=new vl(c9(this)),n.a+=" (nsURI: ",_c(n,this.yb),n.a+=", nsPrefix: ",_c(n,this.xb),n.a+=")",n.a)},s.xb=null,s.yb=null,v(Cn,"EPackageImpl",184),p(556,184,{109:1,2077:1,556:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},YUe),s.q=!1,s.r=!1;var Ahn=!1;v(L0,"ElkGraphPackageImpl",556),p(362,728,{109:1,343:1,174:1,157:1,276:1,362:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},aK),s.xh=function(n){return $ie(this,n)},s.Ih=function(n,t,i){switch(n){case 7:return oee(this);case 8:return this.a}return Hte(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 7:return this.Cb&&(i=(r=this.Db>>16,r>=0?$ie(this,i):this.Cb.Qh(this,-1-r,null,i))),gZ(this,u(n,174),i)}return iB(this,n,t,i)},s.Rh=function(n,t,i){return t==7?gZ(this,null,i):GF(this,n,t,i)},s.Th=function(n){switch(n){case 7:return!!oee(this);case 8:return!Ye("",this.a)}return Wte(this,n)},s.$h=function(n,t){switch(n){case 7:bce(this,u(t,174));return;case 8:Nne(this,wt(t));return}qie(this,n,t)},s.fi=function(){return Tu(),Cwe},s.hi=function(n){switch(n){case 7:bce(this,null);return;case 8:Nne(this,"");return}nie(this,n)},s.Ib=function(){return Fqe(this)},s.a="",v(L0,"ElkLabelImpl",362),p(206,729,{109:1,343:1,84:1,174:1,26:1,276:1,206:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},G4),s.xh=function(n){return Oie(this,n)},s.Ih=function(n,t,i){switch(n){case 9:return!this.c&&(this.c=new oe(bs,this,9,9)),this.c;case 10:return!this.a&&(this.a=new oe(Et,this,10,11)),this.a;case 11:return Ii(this);case 12:return!this.b&&(this.b=new oe(lr,this,12,3)),this.b;case 13:return pn(),!this.a&&(this.a=new oe(Et,this,10,11)),this.a.i>0}return vie(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 9:return!this.c&&(this.c=new oe(bs,this,9,9)),io(this.c,n,i);case 10:return!this.a&&(this.a=new oe(Et,this,10,11)),io(this.a,n,i);case 11:return this.Cb&&(i=(r=this.Db>>16,r>=0?Oie(this,i):this.Cb.Qh(this,-1-r,null,i))),NQ(this,u(n,26),i);case 12:return!this.b&&(this.b=new oe(lr,this,12,3)),io(this.b,n,i)}return Fie(this,n,t,i)},s.Rh=function(n,t,i){switch(t){case 9:return!this.c&&(this.c=new oe(bs,this,9,9)),fc(this.c,n,i);case 10:return!this.a&&(this.a=new oe(Et,this,10,11)),fc(this.a,n,i);case 11:return NQ(this,null,i);case 12:return!this.b&&(this.b=new oe(lr,this,12,3)),fc(this.b,n,i)}return Rie(this,n,t,i)},s.Th=function(n){switch(n){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!Ii(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new oe(Et,this,10,11)),this.a.i>0}return ote(this,n)},s.$h=function(n,t){switch(n){case 9:!this.c&&(this.c=new oe(bs,this,9,9)),tt(this.c),!this.c&&(this.c=new oe(bs,this,9,9)),Vi(this.c,u(t,18));return;case 10:!this.a&&(this.a=new oe(Et,this,10,11)),tt(this.a),!this.a&&(this.a=new oe(Et,this,10,11)),Vi(this.a,u(t,18));return;case 11:cI(this,u(t,26));return;case 12:!this.b&&(this.b=new oe(lr,this,12,3)),tt(this.b),!this.b&&(this.b=new oe(lr,this,12,3)),Vi(this.b,u(t,18));return}Qre(this,n,t)},s.fi=function(){return Tu(),Awe},s.hi=function(n){switch(n){case 9:!this.c&&(this.c=new oe(bs,this,9,9)),tt(this.c);return;case 10:!this.a&&(this.a=new oe(Et,this,10,11)),tt(this.a);return;case 11:cI(this,null);return;case 12:!this.b&&(this.b=new oe(lr,this,12,3)),tt(this.b);return}bie(this,n)},s.Ib=function(){return Ice(this)},v(L0,"ElkNodeImpl",206),p(193,729,{109:1,343:1,84:1,174:1,125:1,276:1,193:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},oW),s.xh=function(n){return Nie(this,n)},s.Ih=function(n,t,i){return n==9?Hf(this):vie(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 9:return this.Cb&&(i=(r=this.Db>>16,r>=0?Nie(this,i):this.Cb.Qh(this,-1-r,null,i))),mQ(this,u(n,26),i)}return Fie(this,n,t,i)},s.Rh=function(n,t,i){return t==9?mQ(this,null,i):Rie(this,n,t,i)},s.Th=function(n){return n==9?!!Hf(this):ote(this,n)},s.$h=function(n,t){switch(n){case 9:lce(this,u(t,26));return}Qre(this,n,t)},s.fi=function(){return Tu(),Twe},s.hi=function(n){switch(n){case 9:lce(this,null);return}bie(this,n)},s.Ib=function(){return IXe(this)},v(L0,"ElkPortImpl",193);var Thn=Pi(ac,"BasicEMap/Entry");p(1091,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,117:1,118:1},I9e),s.Fb=function(n){return this===n},s.jd=function(){return this.b},s.Hb=function(){return yb(this)},s.Ai=function(n){_ne(this,u(n,147))},s.Ih=function(n,t,i){switch(n){case 0:return this.b;case 1:return this.c}return Nj(this,n,t,i)},s.Th=function(n){switch(n){case 0:return!!this.b;case 1:return this.c!=null}return jR(this,n)},s.$h=function(n,t){switch(n){case 0:_ne(this,u(t,147));return;case 1:jne(this,t);return}bB(this,n,t)},s.fi=function(){return Tu(),hh},s.hi=function(n){switch(n){case 0:_ne(this,null);return;case 1:jne(this,null);return}aB(this,n)},s.yi=function(){var n;return this.a==-1&&(n=this.b,this.a=n?vi(n):0),this.a},s.kd=function(){return this.c},s.zi=function(n){this.a=n},s.ld=function(n){var t;return t=this.c,jne(this,n),t},s.Ib=function(){var n;return(this.Db&64)!=0?Wl(this):(n=new zd,_t(_t(_t(n,this.b?this.b.Og():Ao),KJ),E6(this.c)),n.a)},s.a=-1,s.c=null;var Pd=v(L0,"ElkPropertyToValueMapEntryImpl",1091);p(980,1,{},$9e),v(qr,"JsonAdapter",980),p(215,63,Lh,wa),v(qr,"JsonImportException",215),p(850,1,{},UUe),v(qr,"JsonImporter",850),p(884,1,{},jje),s.Bi=function(n){Bze(this.a,this.b,u(n,139))},v(qr,"JsonImporter/lambda$0$Type",884),p(885,1,{},Ije),s.Bi=function(n){CUe(this.a,this.b,u(n,139))},v(qr,"JsonImporter/lambda$1$Type",885),p(893,1,{},nTe),s.Bi=function(n){OPe(this.a,u(n,149))},v(qr,"JsonImporter/lambda$10$Type",893),p(895,1,{},$je),s.Bi=function(n){fUe(this.a,this.b,u(n,139))},v(qr,"JsonImporter/lambda$11$Type",895),p(896,1,{},Nje),s.Bi=function(n){aUe(this.a,this.b,u(n,139))},v(qr,"JsonImporter/lambda$12$Type",896),p(902,1,{},qPe),s.Bi=function(n){Pqe(this.a,this.b,this.c,this.d,u(n,139))},v(qr,"JsonImporter/lambda$13$Type",902),p(901,1,{},UPe),s.Bi=function(n){YXe(this.a,this.b,this.c,this.d,u(n,149))},v(qr,"JsonImporter/lambda$14$Type",901),p(897,1,{},xje),s.Bi=function(n){oNe(this.a,this.b,wt(n))},v(qr,"JsonImporter/lambda$15$Type",897),p(898,1,{},Pje),s.Bi=function(n){sNe(this.a,this.b,wt(n))},v(qr,"JsonImporter/lambda$16$Type",898),p(899,1,{},Oje),s.Bi=function(n){kze(this.b,this.a,u(n,139))},v(qr,"JsonImporter/lambda$17$Type",899),p(900,1,{},Dje),s.Bi=function(n){Eze(this.b,this.a,u(n,139))},v(qr,"JsonImporter/lambda$18$Type",900),p(905,1,{},tTe),s.Bi=function(n){Tqe(this.a,u(n,149))},v(qr,"JsonImporter/lambda$19$Type",905),p(886,1,{},iTe),s.Bi=function(n){xze(this.a,u(n,139))},v(qr,"JsonImporter/lambda$2$Type",886),p(903,1,{},rTe),s.Bi=function(n){c2(this.a,X(Y(n)))},v(qr,"JsonImporter/lambda$20$Type",903),p(904,1,{},cTe),s.Bi=function(n){u2(this.a,X(Y(n)))},v(qr,"JsonImporter/lambda$21$Type",904),p(908,1,{},uTe),s.Bi=function(n){Aqe(this.a,u(n,149))},v(qr,"JsonImporter/lambda$22$Type",908),p(906,1,{},oTe),s.Bi=function(n){i2(this.a,X(Y(n)))},v(qr,"JsonImporter/lambda$23$Type",906),p(907,1,{},sTe),s.Bi=function(n){r2(this.a,X(Y(n)))},v(qr,"JsonImporter/lambda$24$Type",907),p(910,1,{},lTe),s.Bi=function(n){Yze(this.a,u(n,139))},v(qr,"JsonImporter/lambda$25$Type",910),p(909,1,{},fTe),s.Bi=function(n){DPe(this.a,u(n,149))},v(qr,"JsonImporter/lambda$26$Type",909),p(911,1,Rn,Lje),s.Ad=function(n){mkn(this.b,this.a,wt(n))},v(qr,"JsonImporter/lambda$27$Type",911),p(912,1,Rn,Fje),s.Ad=function(n){vkn(this.b,this.a,wt(n))},v(qr,"JsonImporter/lambda$28$Type",912),p(913,1,{},Rje),s.Bi=function(n){uVe(this.a,this.b,u(n,139))},v(qr,"JsonImporter/lambda$29$Type",913),p(889,1,{},aTe),s.Bi=function(n){qGe(this.a,u(n,149))},v(qr,"JsonImporter/lambda$3$Type",889),p(914,1,{},Bje),s.Bi=function(n){_Ve(this.a,this.b,u(n,139))},v(qr,"JsonImporter/lambda$30$Type",914),p(915,1,{},hTe),s.Bi=function(n){dRe(this.a,Y(n))},v(qr,"JsonImporter/lambda$31$Type",915),p(916,1,{},dTe),s.Bi=function(n){bRe(this.a,Y(n))},v(qr,"JsonImporter/lambda$32$Type",916),p(917,1,{},bTe),s.Bi=function(n){gRe(this.a,Y(n))},v(qr,"JsonImporter/lambda$33$Type",917),p(918,1,{},gTe),s.Bi=function(n){wRe(this.a,Y(n))},v(qr,"JsonImporter/lambda$34$Type",918),p(919,1,{},wTe),s.Bi=function(n){gjn(this.a,u(n,57))},v(qr,"JsonImporter/lambda$35$Type",919),p(920,1,{},pTe),s.Bi=function(n){wjn(this.a,u(n,57))},v(qr,"JsonImporter/lambda$36$Type",920),p(924,1,{},zPe),v(qr,"JsonImporter/lambda$37$Type",924),p(921,1,Rn,BNe),s.Ad=function(n){q7n(this.a,this.c,this.b,u(n,372))},v(qr,"JsonImporter/lambda$38$Type",921),p(922,1,Rn,Jje),s.Ad=function(n){Ipn(this.a,this.b,u(n,170))},v(qr,"JsonImporter/lambda$39$Type",922),p(887,1,{},mTe),s.Bi=function(n){c2(this.a,X(Y(n)))},v(qr,"JsonImporter/lambda$4$Type",887),p(923,1,Rn,Gje),s.Ad=function(n){$pn(this.a,this.b,u(n,170))},v(qr,"JsonImporter/lambda$40$Type",923),p(925,1,Rn,JNe),s.Ad=function(n){U7n(this.a,this.b,this.c,u(n,8))},v(qr,"JsonImporter/lambda$41$Type",925),p(888,1,{},vTe),s.Bi=function(n){u2(this.a,X(Y(n)))},v(qr,"JsonImporter/lambda$5$Type",888),p(892,1,{},yTe),s.Bi=function(n){UGe(this.a,u(n,149))},v(qr,"JsonImporter/lambda$6$Type",892),p(890,1,{},kTe),s.Bi=function(n){i2(this.a,X(Y(n)))},v(qr,"JsonImporter/lambda$7$Type",890),p(891,1,{},ETe),s.Bi=function(n){r2(this.a,X(Y(n)))},v(qr,"JsonImporter/lambda$8$Type",891),p(894,1,{},CTe),s.Bi=function(n){Qze(this.a,u(n,139))},v(qr,"JsonImporter/lambda$9$Type",894),p(944,1,Rn,ATe),s.Ad=function(n){Zm(this.a,new nw(wt(n)))},v(qr,"JsonMetaDataConverter/lambda$0$Type",944),p(945,1,Rn,TTe),s.Ad=function(n){Cyn(this.a,u(n,244))},v(qr,"JsonMetaDataConverter/lambda$1$Type",945),p(946,1,Rn,MTe),s.Ad=function(n){b6n(this.a,u(n,144))},v(qr,"JsonMetaDataConverter/lambda$2$Type",946),p(947,1,Rn,STe),s.Ad=function(n){Ayn(this.a,u(n,160))},v(qr,"JsonMetaDataConverter/lambda$3$Type",947),p(244,23,{3:1,35:1,23:1,244:1},Fm);var Jx,Gx,jV,Hx,zx,qx,IV,$V,Ux=nt(JC,"GraphFeature",244,st,Ykn,c5n),Mhn;p(11,1,{35:1,147:1},ui,Ti,Xe,Hr),s.Dd=function(n){return _2n(this,u(n,147))},s.Fb=function(n){return wOe(this,n)},s.Rg=function(){return Ae(this)},s.Og=function(){return this.b},s.Hb=function(){return dd(this.b)},s.Ib=function(){return this.b},v(JC,"Property",11),p(657,1,It,uO),s.Le=function(n,t){return lAn(this,u(n,105),u(t,105))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(JC,"PropertyHolderComparator",657),p(698,1,Or,UK),s.Nb=function(n){Ur(this,n)},s.Pb=function(){return Ckn(this)},s.Qb=function(){kSe()},s.Ob=function(){return!!this.a},v(g$,"ElkGraphUtil/AncestorIterator",698);var Swe=Pi(ac,"EList");p(71,56,{20:1,31:1,56:1,18:1,16:1,71:1,61:1}),s._c=function(n,t){s9(this,n,t)},s.Ec=function(n){return rt(this,n)},s.ad=function(n,t){return ete(this,n,t)},s.Fc=function(n){return Vi(this,n)},s.Gi=function(){return new Hm(this)},s.Hi=function(){return new J7(this)},s.Ii=function(n){return NE(this,n)},s.Ji=function(){return!0},s.Ki=function(n,t){},s.Li=function(){},s.Mi=function(n,t){lF(this,n,t)},s.Ni=function(n,t,i){},s.Oi=function(n,t){},s.Pi=function(n,t,i){},s.Fb=function(n){return dXe(this,n)},s.Hb=function(){return Wne(this)},s.Qi=function(){return!1},s.Jc=function(){return new Jn(this)},s.cd=function(){return new Gm(this)},s.dd=function(n){var t;if(t=this.gc(),n<0||n>t)throw x(new Kg(n,t));return new bL(this,n)},s.Si=function(n,t){this.Ri(n,this.bd(t))},s.Kc=function(n){return P_(this,n)},s.Ui=function(n,t){return t},s.fd=function(n,t){return h2(this,n,t)},s.Ib=function(){return Ute(this)},s.Wi=function(){return!0},s.Xi=function(n,t){return N5(this,t)},v(ac,"AbstractEList",71),p(67,71,Da,VT,Nb,zne),s.Ci=function(n,t){return rB(this,n,t)},s.Di=function(n){return tze(this,n)},s.Ei=function(n,t){qE(this,n,t)},s.Fi=function(n){wE(this,n)},s.Yi=function(n){return cne(this,n)},s.$b=function(){z6(this)},s.Gc=function(n){return X5(this,n)},s.Xb=function(n){return G(this,n)},s.Zi=function(n){var t,i,r;++this.j,i=this.g==null?0:this.g.length,n>i&&(r=this.g,t=i+(i/2|0)+4,t=0?(this.ed(t),!0):!1},s.Vi=function(n,t){return this.Bj(n,this.Xi(n,t))},s.gc=function(){return this.Cj()},s.Nc=function(){return this.Dj()},s.Oc=function(n){return this.Ej(n)},s.Ib=function(){return this.Fj()},v(ac,"DelegatingEList",2055),p(2056,2055,xen),s.Ci=function(n,t){return zce(this,n,t)},s.Di=function(n){return this.Ci(this.Cj(),n)},s.Ei=function(n,t){QUe(this,n,t)},s.Fi=function(n){JUe(this,n)},s.Ji=function(){return!this.Kj()},s.$b=function(){L9(this)},s.Gj=function(n,t,i,r,c){return new bOe(this,n,t,i,r,c)},s.Hj=function(n){Wt(this.hj(),n)},s.Ij=function(){return null},s.Jj=function(){return-1},s.hj=function(){return null},s.Kj=function(){return!1},s.Lj=function(n,t){return t},s.Mj=function(n,t){return t},s.Nj=function(){return!1},s.Oj=function(){return!this.yj()},s.Ri=function(n,t){var i,r;return this.Nj()?(r=this.Oj(),i=are(this,n,t),this.Hj(this.Gj(7,le(t),i,n,r)),i):are(this,n,t)},s.ed=function(n){var t,i,r,c;return this.Nj()?(i=null,r=this.Oj(),t=this.Gj(4,c=jS(this,n),null,n,r),this.Kj()&&c?(i=this.Mj(c,i),i?(i.lj(t),i.mj()):this.Hj(t)):i?(i.lj(t),i.mj()):this.Hj(t),c):(c=jS(this,n),this.Kj()&&c&&(i=this.Mj(c,null),i&&i.mj()),c)},s.Vi=function(n,t){return lKe(this,n,t)},v(Jv,"DelegatingNotifyingListImpl",2056),p(151,1,rA),s.lj=function(n){return Wie(this,n)},s.mj=function(){pF(this)},s.ej=function(){return this.d},s.Ij=function(){return null},s.Pj=function(){return null},s.fj=function(n){return-1},s.gj=function(){return XVe(this)},s.hj=function(){return null},s.ij=function(){return vce(this)},s.jj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},s.Qj=function(){return!1},s.kj=function(n){var t,i,r,c,o,l,a,d,b,w,y;switch(this.d){case 1:case 2:switch(c=n.ej(),c){case 1:case 2:if(o=n.hj(),Z(o)===Z(this.hj())&&this.fj(null)==n.fj(null))return this.g=n.gj(),n.ej()==1&&(this.d=1),!0}case 4:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),Z(o)===Z(this.hj())&&this.fj(null)==n.fj(null))return b=sue(this),d=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,l=n.jj(),this.d=6,y=new Nb(2),d<=l?(rt(y,this.n),rt(y,n.ij()),this.g=D(O(pt,1),Ot,30,15,[this.o=d,l+1])):(rt(y,n.ij()),rt(y,this.n),this.g=D(O(pt,1),Ot,30,15,[this.o=l,d])),this.n=y,b||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),Z(o)===Z(this.hj())&&this.fj(null)==n.fj(null)){for(b=sue(this),l=n.jj(),w=u(this.g,54),r=ee(pt,Ot,30,w.length+1,15,1),t=0;t>>0,t.toString(16))),r.a+=" (eventType: ",this.d){case 1:{r.a+="SET";break}case 2:{r.a+="UNSET";break}case 3:{r.a+="ADD";break}case 5:{r.a+="ADD_MANY";break}case 4:{r.a+="REMOVE";break}case 6:{r.a+="REMOVE_MANY";break}case 7:{r.a+="MOVE";break}case 8:{r.a+="REMOVING_ADAPTER";break}case 9:{r.a+="RESOLVE";break}default:{_O(r,this.d);break}}if(DXe(this)&&(r.a+=", touch: true"),r.a+=", position: ",_O(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=", notifier: ",w6(r,this.hj()),r.a+=", feature: ",w6(r,this.Ij()),r.a+=", oldValue: ",w6(r,vce(this)),r.a+=", newValue: ",this.d==6&&J(this.g,54)){for(i=u(this.g,54),r.a+="[",n=0;n10?((!this.b||this.c.j!=this.a)&&(this.b=new Yg(this),this.a=this.j),ml(this.b,n)):X5(this,n)},s.Wi=function(){return!0},s.a=0,v(ac,"AbstractEList/1",949),p(305,99,jI,Kg),v(ac,"AbstractEList/BasicIndexOutOfBoundsException",305),p(42,1,Or,Jn),s.Nb=function(n){Ur(this,n)},s.Vj=function(){if(this.i.j!=this.f)throw x(new Xs)},s.Wj=function(){return zn(this)},s.Ob=function(){return this.e!=this.i.gc()},s.Pb=function(){return this.Wj()},s.Qb=function(){v9(this)},s.e=0,s.f=0,s.g=-1,v(ac,"AbstractEList/EIterator",42),p(286,42,Qa,Gm,bL),s.Qb=function(){v9(this)},s.Rb=function(n){iHe(this,n)},s.Xj=function(){var n;try{return n=this.d.Xb(--this.e),this.Vj(),this.g=this.e,n}catch(t){throw t=Zi(t),J(t,99)?(this.Vj(),x(new Wc)):x(t)}},s.Yj=function(n){ize(this,n)},s.Sb=function(){return this.e!=0},s.Tb=function(){return this.e},s.Ub=function(){return this.Xj()},s.Vb=function(){return this.e-1},s.Wb=function(n){this.Yj(n)},v(ac,"AbstractEList/EListIterator",286),p(355,42,Or,Hm),s.Wj=function(){return IR(this)},s.Qb=function(){throw x(new bt)},v(ac,"AbstractEList/NonResolvingEIterator",355),p(391,286,Qa,J7,OQ),s.Rb=function(n){throw x(new bt)},s.Wj=function(){var n;try{return n=this.c.Ti(this.e),this.Vj(),this.g=this.e++,n}catch(t){throw t=Zi(t),J(t,99)?(this.Vj(),x(new Wc)):x(t)}},s.Xj=function(){var n;try{return n=this.c.Ti(--this.e),this.Vj(),this.g=this.e,n}catch(t){throw t=Zi(t),J(t,99)?(this.Vj(),x(new Wc)):x(t)}},s.Qb=function(){throw x(new bt)},s.Wb=function(n){throw x(new bt)},v(ac,"AbstractEList/NonResolvingEListIterator",391),p(2042,71,Pen),s.Ci=function(n,t){var i,r,c,o,l,a,d,b,w,y,C;if(c=t.gc(),c!=0){for(b=u(_n(this.a,4),129),w=b==null?0:b.length,C=w+c,r=nR(this,C),y=w-n,y>0&&Pu(b,n,r,n+c,y),d=t.Jc(),l=0;li)throw x(new Kg(n,i));return new jPe(this,n)},s.$b=function(){var n,t;++this.j,n=u(_n(this.a,4),129),t=n==null?0:n.length,q5(this,null),lF(this,t,n)},s.Gc=function(n){var t,i,r,c,o;if(t=u(_n(this.a,4),129),t!=null){if(n!=null){for(r=t,c=0,o=r.length;c=i)throw x(new Kg(n,i));return t[n]},s.bd=function(n){var t,i,r;if(t=u(_n(this.a,4),129),t!=null){if(n!=null){for(i=0,r=t.length;ii)throw x(new Kg(n,i));return new _Pe(this,n)},s.Ri=function(n,t){var i,r,c;if(i=hHe(this),c=i==null?0:i.length,n>=c)throw x(new Yu(EH+n+F0+c));if(t>=c)throw x(new Yu(CH+t+F0+c));return r=i[t],n!=t&&(n0&&Pu(n,0,t,0,i),t},s.Oc=function(n){var t,i,r;return t=u(_n(this.a,4),129),r=t==null?0:t.length,r>0&&(n.lengthr&&Ki(n,r,null),n};var Shn;v(ac,"ArrayDelegatingEList",2042),p(1032,42,Or,DLe),s.Vj=function(){if(this.b.j!=this.f||Z(u(_n(this.b.a,4),129))!==Z(this.a))throw x(new Xs)},s.Qb=function(){v9(this),this.a=u(_n(this.b.a,4),129)},v(ac,"ArrayDelegatingEList/EIterator",1032),p(712,286,Qa,Kxe,_Pe),s.Vj=function(){if(this.b.j!=this.f||Z(u(_n(this.b.a,4),129))!==Z(this.a))throw x(new Xs)},s.Yj=function(n){ize(this,n),this.a=u(_n(this.b.a,4),129)},s.Qb=function(){v9(this),this.a=u(_n(this.b.a,4),129)},v(ac,"ArrayDelegatingEList/EListIterator",712),p(1033,355,Or,LLe),s.Vj=function(){if(this.b.j!=this.f||Z(u(_n(this.b.a,4),129))!==Z(this.a))throw x(new Xs)},v(ac,"ArrayDelegatingEList/NonResolvingEIterator",1033),p(713,391,Qa,Wxe,jPe),s.Vj=function(){if(this.b.j!=this.f||Z(u(_n(this.b.a,4),129))!==Z(this.a))throw x(new Xs)},v(ac,"ArrayDelegatingEList/NonResolvingEListIterator",713),p(605,305,jI,pD),v(ac,"BasicEList/BasicIndexOutOfBoundsException",605),p(699,67,Da,vY),s._c=function(n,t){throw x(new bt)},s.Ec=function(n){throw x(new bt)},s.ad=function(n,t){throw x(new bt)},s.Fc=function(n){throw x(new bt)},s.$b=function(){throw x(new bt)},s.Zi=function(n){throw x(new bt)},s.Jc=function(){return this.Gi()},s.cd=function(){return this.Hi()},s.dd=function(n){return this.Ii(n)},s.Ri=function(n,t){throw x(new bt)},s.Si=function(n,t){throw x(new bt)},s.ed=function(n){throw x(new bt)},s.Kc=function(n){throw x(new bt)},s.fd=function(n,t){throw x(new bt)},v(ac,"BasicEList/UnmodifiableEList",699),p(711,1,{3:1,20:1,18:1,16:1,61:1,586:1}),s._c=function(n,t){p2n(this,n,u(t,45))},s.Ec=function(n){return amn(this,u(n,45))},s.Ic=function(n){Yr(this,n)},s.Xb=function(n){return u(G(this.c,n),136)},s.Ri=function(n,t){return u(this.c.Ri(n,t),45)},s.Si=function(n,t){m2n(this,n,u(t,45))},s.ed=function(n){return u(this.c.ed(n),45)},s.fd=function(n,t){return Myn(this,n,u(t,45))},s.gd=function(n){y0(this,n)},s.Lc=function(){return new nn(this,16)},s.Mc=function(){return new Ze(null,new nn(this,16))},s.ad=function(n,t){return this.c.ad(n,t)},s.Fc=function(n){return this.c.Fc(n)},s.$b=function(){this.c.$b()},s.Gc=function(n){return this.c.Gc(n)},s.Hc=function(n){return BE(this.c,n)},s.Zj=function(){var n,t,i;if(this.d==null){for(this.d=ee(_we,Hle,67,2*this.f+1,0,1),i=this.e,this.f=0,t=this.c.Jc();t.e!=t.i.gc();)n=u(t.Wj(),136),Oj(this,n);this.e=i}},s.Fb=function(n){return yNe(this,n)},s.Hb=function(){return Wne(this.c)},s.bd=function(n){return this.c.bd(n)},s.$j=function(){this.c=new _Te(this)},s.dc=function(){return this.f==0},s.Jc=function(){return this.c.Jc()},s.cd=function(){return this.c.cd()},s.dd=function(n){return this.c.dd(n)},s._j=function(){return vE(this)},s.ak=function(n,t,i){return new GNe(n,t,i)},s.bk=function(){return new D9e},s.Kc=function(n){return hBe(this,n)},s.gc=function(){return this.f},s.hd=function(n,t){return new n1(this.c,n,t)},s.Nc=function(){return this.c.Nc()},s.Oc=function(n){return this.c.Oc(n)},s.Ib=function(){return Ute(this.c)},s.e=0,s.f=0,v(ac,"BasicEMap",711),p(1027,67,Da,_Te),s.Ki=function(n,t){Zgn(this,u(t,136))},s.Ni=function(n,t,i){var r;++(r=this,u(t,136),r).a.e},s.Oi=function(n,t){ewn(this,u(t,136))},s.Pi=function(n,t,i){Y2n(this,u(t,136),u(i,136))},s.Mi=function(n,t){uJe(this.a)},v(ac,"BasicEMap/1",1027),p(1028,67,Da,D9e),s.$i=function(n){return ee(xJn,Oen,611,n,0,1)},v(ac,"BasicEMap/2",1028),p(1029,Zf,Jo,jTe),s.$b=function(){this.a.c.$b()},s.Gc=function(n){return vR(this.a,n)},s.Jc=function(){return this.a.f==0?(e5(),yT.a):new dSe(this.a)},s.Kc=function(n){var t;return t=this.a.f,Tj(this.a,n),this.a.f!=t},s.gc=function(){return this.a.f},v(ac,"BasicEMap/3",1029),p(1030,31,$w,ITe),s.$b=function(){this.a.c.$b()},s.Gc=function(n){return bXe(this.a,n)},s.Jc=function(){return this.a.f==0?(e5(),yT.a):new bSe(this.a)},s.gc=function(){return this.a.f},v(ac,"BasicEMap/4",1030),p(1031,Zf,Jo,$Te),s.$b=function(){this.a.c.$b()},s.Gc=function(n){var t,i,r,c,o,l,a,d,b;if(this.a.f>0&&J(n,45)&&(this.a.Zj(),d=u(n,45),a=d.jd(),c=a==null?0:vi(a),o=vQ(this.a,c),t=this.a.d[o],t)){for(i=u(t.g,374),b=t.i,l=0;l"+this.c},s.a=0;var xJn=v(ac,"BasicEMap/EntryImpl",611);p(534,1,{},XT),v(ac,"BasicEMap/View",534);var yT;p(769,1,{}),s.Fb=function(n){return Zre((un(),bc),n)},s.Hb=function(){return ste((un(),bc))},s.Ib=function(){return Yf((un(),bc))},v(ac,"ECollections/BasicEmptyUnmodifiableEList",769),p(1302,1,Qa,O9e),s.Nb=function(n){Ur(this,n)},s.Rb=function(n){throw x(new bt)},s.Ob=function(){return!1},s.Sb=function(){return!1},s.Pb=function(){throw x(new Wc)},s.Tb=function(){return 0},s.Ub=function(){throw x(new Wc)},s.Vb=function(){return-1},s.Qb=function(){throw x(new bt)},s.Wb=function(n){throw x(new bt)},v(ac,"ECollections/BasicEmptyUnmodifiableEList/1",1302),p(1300,769,{20:1,18:1,16:1,61:1},yMe),s._c=function(n,t){DSe()},s.Ec=function(n){return OSe()},s.ad=function(n,t){return LSe()},s.Fc=function(n){return FSe()},s.$b=function(){RSe()},s.Gc=function(n){return!1},s.Hc=function(n){return!1},s.Ic=function(n){Yr(this,n)},s.Xb=function(n){return AY((un(),n)),null},s.bd=function(n){return-1},s.dc=function(){return!0},s.Jc=function(){return this.a},s.cd=function(){return this.a},s.dd=function(n){return this.a},s.Ri=function(n,t){return BSe()},s.Si=function(n,t){JSe()},s.ed=function(n){return GSe()},s.Kc=function(n){return HSe()},s.fd=function(n,t){return zSe()},s.gc=function(){return 0},s.gd=function(n){y0(this,n)},s.Lc=function(){return new nn(this,16)},s.Mc=function(){return new Ze(null,new nn(this,16))},s.hd=function(n,t){return un(),new n1(bc,n,t)},s.Nc=function(){return mZ((un(),bc))},s.Oc=function(n){return un(),g9(bc,n)},v(ac,"ECollections/EmptyUnmodifiableEList",1300),p(1301,769,{20:1,18:1,16:1,61:1,586:1},kMe),s._c=function(n,t){DSe()},s.Ec=function(n){return OSe()},s.ad=function(n,t){return LSe()},s.Fc=function(n){return FSe()},s.$b=function(){RSe()},s.Gc=function(n){return!1},s.Hc=function(n){return!1},s.Ic=function(n){Yr(this,n)},s.Xb=function(n){return AY((un(),n)),null},s.bd=function(n){return-1},s.dc=function(){return!0},s.Jc=function(){return this.a},s.cd=function(){return this.a},s.dd=function(n){return this.a},s.Ri=function(n,t){return BSe()},s.Si=function(n,t){JSe()},s.ed=function(n){return GSe()},s.Kc=function(n){return HSe()},s.fd=function(n,t){return zSe()},s.gc=function(){return 0},s.gd=function(n){y0(this,n)},s.Lc=function(){return new nn(this,16)},s.Mc=function(){return new Ze(null,new nn(this,16))},s.hd=function(n,t){return un(),new n1(bc,n,t)},s.Nc=function(){return mZ((un(),bc))},s.Oc=function(n){return un(),g9(bc,n)},s._j=function(){return un(),un(),rh},v(ac,"ECollections/EmptyUnmodifiableEMap",1301);var Iwe=Pi(ac,"Enumerator"),Vx;p(290,1,{290:1},SB),s.Fb=function(n){var t;return this===n?!0:J(n,290)?(t=u(n,290),this.f==t.f&&H5n(this.i,t.i)&&eL(this.a,(this.f&256)!=0?(t.f&256)!=0?t.a:null:(t.f&256)!=0?null:t.a)&&eL(this.d,t.d)&&eL(this.g,t.g)&&eL(this.e,t.e)&&UTn(this,t)):!1},s.Hb=function(){return this.f},s.Ib=function(){return XXe(this)},s.f=0;var _hn=0,jhn=0,Ihn=0,$hn=0,$we=0,Nwe=0,xwe=0,Pwe=0,Owe=0,Nhn,$k=0,Nk=0,xhn=0,Phn=0,Xx,Dwe;v(ac,"URI",290),p(1090,44,A2,EMe),s.yc=function(n,t){return u(Pc(this,wt(n),u(t,290)),290)},v(ac,"URI/URICache",1090),p(492,67,Da,L9e,OS),s.Qi=function(){return!0},v(ac,"UniqueEList",492),p(578,63,Lh,N_),v(ac,"WrappedException",578);var xt=Pi(sl,Fen),mp=Pi(sl,Ren),Io=Pi(sl,Ben),vp=Pi(sl,Jen),Pf=Pi(sl,Gen),xl=Pi(sl,"EClass"),PV=Pi(sl,"EDataType"),Ohn;p(1198,44,A2,CMe),s.xc=function(n){return $r(n)?Gu(this,n):Qc(xc(this.f,n))},v(sl,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1198);var Kx=Pi(sl,"EEnum"),Xh=Pi(sl,Hen),Sc=Pi(sl,zen),Pl=Pi(sl,qen),Ol,yg=Pi(sl,Uen),yp=Pi(sl,Ven);p(1023,1,{},F9e),s.Ib=function(){return"NIL"},v(sl,"EStructuralFeature/Internal/DynamicValueHolder/1",1023);var Dhn;p(1022,44,A2,AMe),s.xc=function(n){return $r(n)?Gu(this,n):Qc(xc(this.f,n))},v(sl,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1022);var wo=Pi(sl,Xen),p3=Pi(sl,"EValidator/PatternMatcher"),Lwe,Fwe,vn,Od,kp,z1,Lhn,Fhn,Rhn,q1,Dd,U1,kg,da,Bhn,Jhn,Dl,Ld,Ghn,Fd,Ep,sm,wc,Hhn,zhn,Eg,Wx=Pi(_i,"FeatureMap/Entry");p(533,1,{75:1},QM),s.Jk=function(){return this.a},s.kd=function(){return this.b},v(Cn,"BasicEObjectImpl/1",533),p(1021,1,jH,zje),s.Dk=function(n){return cF(this.a,this.b,n)},s.Oj=function(){return $Oe(this.a,this.b)},s.Wb=function(n){cee(this.a,this.b,n)},s.Ek=function(){Uyn(this.a,this.b)},v(Cn,"BasicEObjectImpl/4",1021),p(2043,1,{114:1}),s.Kk=function(n){this.e=n==0?qhn:ee(vr,hn,1,n,5,1)},s.ii=function(n){return this.e[n]},s.ji=function(n,t){this.e[n]=t},s.ki=function(n){this.e[n]=null},s.Lk=function(){return this.c},s.Mk=function(){throw x(new bt)},s.Nk=function(){throw x(new bt)},s.Ok=function(){return this.d},s.Pk=function(){return this.e!=null},s.Qk=function(n){this.c=n},s.Rk=function(n){throw x(new bt)},s.Sk=function(n){throw x(new bt)},s.Tk=function(n){this.d=n};var qhn;v(Cn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2043),p(192,2043,{114:1},gf),s.Mk=function(){return this.a},s.Nk=function(){return this.b},s.Rk=function(n){this.a=n},s.Sk=function(n){this.b=n},v(Cn,"BasicEObjectImpl/EPropertiesHolderImpl",192),p(501,100,XZe,KT),s.rh=function(){return this.f},s.wh=function(){return this.k},s.yh=function(n,t){this.g=n,this.i=t},s.Ah=function(){return(this.j&2)==0?this.fi():this.Xh().Lk()},s.Ch=function(){return this.i},s.th=function(){return(this.j&1)!=0},s.Mh=function(){return this.g},s.Sh=function(){return(this.j&4)!=0},s.Xh=function(){return!this.k&&(this.k=new gf),this.k},s._h=function(n){this.Xh().Qk(n),n?this.j|=2:this.j&=-3},s.bi=function(n){this.Xh().Sk(n),n?this.j|=4:this.j&=-5},s.fi=function(){return(Qd(),vn).S},s.i=0,s.j=1,v(Cn,"EObjectImpl",501),p(785,501,{109:1,94:1,93:1,57:1,114:1,52:1,100:1},tZ),s.ii=function(n){return this.e[n]},s.ji=function(n,t){this.e[n]=t},s.ki=function(n){this.e[n]=null},s.Ah=function(){return this.d},s.Fh=function(n){return $i(this.d,n)},s.Hh=function(){return this.d},s.Lh=function(){return this.e!=null},s.Xh=function(){return!this.k&&(this.k=new R9e),this.k},s._h=function(n){this.d=n},s.ei=function(){var n;return this.e==null&&(n=Vn(this.d),this.e=n==0?Uhn:ee(vr,hn,1,n,5,1)),this},s.gi=function(){return 0};var Uhn;v(Cn,"DynamicEObjectImpl",785),p(1483,785,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1},fxe),s.Fb=function(n){return this===n},s.Hb=function(){return yb(this)},s._h=function(n){this.d=n,this.b=pC(n,"key"),this.c=pC(n,o8)},s.yi=function(){var n;return this.a==-1&&(n=mF(this,this.b),this.a=n==null?0:vi(n)),this.a},s.jd=function(){return mF(this,this.b)},s.kd=function(){return mF(this,this.c)},s.zi=function(n){this.a=n},s.Ai=function(n){cee(this,this.b,n)},s.ld=function(n){var t;return t=mF(this,this.c),cee(this,this.c,n),t},s.a=0,v(Cn,"DynamicEObjectImpl/BasicEMapEntry",1483),p(1484,1,{114:1},R9e),s.Kk=function(n){throw x(new bt)},s.ii=function(n){throw x(new bt)},s.ji=function(n,t){throw x(new bt)},s.ki=function(n){throw x(new bt)},s.Lk=function(){throw x(new bt)},s.Mk=function(){return this.a},s.Nk=function(){return this.b},s.Ok=function(){return this.c},s.Pk=function(){throw x(new bt)},s.Qk=function(n){throw x(new bt)},s.Rk=function(n){this.a=n},s.Sk=function(n){this.b=n},s.Tk=function(n){this.c=n},v(Cn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1484),p(504,161,{109:1,94:1,93:1,587:1,158:1,57:1,114:1,52:1,100:1,504:1,161:1,117:1,118:1},hK),s.xh=function(n){return xie(this,n)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),this.Ab;case 1:return this.d;case 2:return i?(!this.b&&(this.b=new ms((rn(),wc),pu,this)),this.b):(!this.b&&(this.b=new ms((rn(),wc),pu,this)),vE(this.b));case 3:return FOe(this);case 4:return!this.a&&(this.a=new fr(H1,this,4)),this.a;case 5:return!this.c&&(this.c=new Vp(H1,this,5)),this.c}return Zs(this,n-Vn((rn(),Od)),on((r=u(_n(this,16),29),r||Od),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),io(this.Ab,n,i);case 3:return this.Cb&&(i=(c=this.Db>>16,c>=0?xie(this,i):this.Cb.Qh(this,-1-c,null,i))),wZ(this,u(n,158),i)}return o=u(on((r=u(_n(this,16),29),r||(rn(),Od)),t),69),o.uk().xk(this,lo(this),t-Vn((rn(),Od)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),fc(this.Ab,n,i);case 2:return!this.b&&(this.b=new ms((rn(),wc),pu,this)),mS(this.b,n,i);case 3:return wZ(this,null,i);case 4:return!this.a&&(this.a=new fr(H1,this,4)),fc(this.a,n,i)}return c=u(on((r=u(_n(this,16),29),r||(rn(),Od)),t),69),c.uk().yk(this,lo(this),t-Vn((rn(),Od)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!FOe(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return Qs(this,n-Vn((rn(),Od)),on((t=u(_n(this,16),29),t||Od),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab),!this.Ab&&(this.Ab=new oe(xt,this,0,3)),Vi(this.Ab,u(t,18));return;case 1:I5n(this,wt(t));return;case 2:!this.b&&(this.b=new ms((rn(),wc),pu,this)),nj(this.b,t);return;case 3:DVe(this,u(t,158));return;case 4:!this.a&&(this.a=new fr(H1,this,4)),tt(this.a),!this.a&&(this.a=new fr(H1,this,4)),Vi(this.a,u(t,18));return;case 5:!this.c&&(this.c=new Vp(H1,this,5)),tt(this.c),!this.c&&(this.c=new Vp(H1,this,5)),Vi(this.c,u(t,18));return}cl(this,n-Vn((rn(),Od)),on((i=u(_n(this,16),29),i||Od),n),t)},s.fi=function(){return rn(),Od},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab);return;case 1:$ne(this,null);return;case 2:!this.b&&(this.b=new ms((rn(),wc),pu,this)),this.b.c.$b();return;case 3:DVe(this,null);return;case 4:!this.a&&(this.a=new fr(H1,this,4)),tt(this.a);return;case 5:!this.c&&(this.c=new Vp(H1,this,5)),tt(this.c);return}rl(this,n-Vn((rn(),Od)),on((t=u(_n(this,16),29),t||Od),n))},s.Ib=function(){return SGe(this)},s.d=null,v(Cn,"EAnnotationImpl",504),p(142,711,zle,Fo),s.Ei=function(n,t){n2n(this,n,u(t,45))},s.Uk=function(n,t){return nvn(this,u(n,45),t)},s.Yi=function(n){return u(u(this.c,72).Yi(n),136)},s.Gi=function(){return u(this.c,72).Gi()},s.Hi=function(){return u(this.c,72).Hi()},s.Ii=function(n){return u(this.c,72).Ii(n)},s.Vk=function(n,t){return mS(this,n,t)},s.Dk=function(n){return u(this.c,77).Dk(n)},s.$j=function(){},s.Oj=function(){return u(this.c,77).Oj()},s.ak=function(n,t,i){var r;return r=u(xs(this.b).ti().pi(this.b),136),r.zi(n),r.Ai(t),r.ld(i),r},s.bk=function(){return new XK(this)},s.Wb=function(n){nj(this,n)},s.Ek=function(){u(this.c,77).Ek()},v(_i,"EcoreEMap",142),p(169,142,zle,ms),s.Zj=function(){var n,t,i,r,c,o;if(this.d==null){for(o=ee(_we,Hle,67,2*this.f+1,0,1),i=this.c.Jc();i.e!=i.i.gc();)t=u(i.Wj(),136),r=t.yi(),c=(r&zt)%o.length,n=o[c],!n&&(n=o[c]=new XK(this)),n.Ec(t);this.d=o}},v(Cn,"EAnnotationImpl/1",169),p(293,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,470:1,52:1,100:1,161:1,293:1,117:1,118:1}),s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return pn(),(this.Bb&256)!=0;case 3:return pn(),(this.Bb&512)!=0;case 4:return le(this.s);case 5:return le(this.t);case 6:return pn(),!!this.Hk();case 7:return pn(),c=this.s,c>=1;case 8:return t?Al(this):this.r;case 9:return this.q}return Zs(this,n-Vn(this.fi()),on((r=u(_n(this,16),29),r||this.fi()),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),fc(this.Ab,n,i);case 9:return mL(this,i)}return c=u(on((r=u(_n(this,16),29),r||this.fi()),t),69),c.uk().yk(this,lo(this),t-Vn(this.fi()),n,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Tb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Tb(this.q).i==0)}return Qs(this,n-Vn(this.fi()),on((t=u(_n(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab),!this.Ab&&(this.Ab=new oe(xt,this,0,3)),Vi(this.Ab,u(t,18));return;case 1:this.ri(wt(t));return;case 2:wd(this,Ie(je(t)));return;case 3:pd(this,Ie(je(t)));return;case 4:hd(this,u(t,15).a);return;case 5:this.Xk(u(t,15).a);return;case 8:M0(this,u(t,143));return;case 9:r=Wf(this,u(t,87),null),r&&r.mj();return}cl(this,n-Vn(this.fi()),on((i=u(_n(this,16),29),i||this.fi()),n),t)},s.fi=function(){return rn(),zhn},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab);return;case 1:this.ri(null);return;case 2:wd(this,!0);return;case 3:pd(this,!0);return;case 4:hd(this,0);return;case 5:this.Xk(1);return;case 8:M0(this,null);return;case 9:i=Wf(this,null,null),i&&i.mj();return}rl(this,n-Vn(this.fi()),on((t=u(_n(this,16),29),t||this.fi()),n))},s.mi=function(){Al(this),this.Bb|=1},s.Fk=function(){return Al(this)},s.Gk=function(){return this.t},s.Hk=function(){var n;return n=this.t,n>1||n==-1},s.Qi=function(){return(this.Bb&512)!=0},s.Wk=function(n,t){return _te(this,n,t)},s.Xk=function(n){aw(this,n)},s.Ib=function(){return zre(this)},s.s=0,s.t=1,v(Cn,"ETypedElementImpl",293),p(451,293,{109:1,94:1,93:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,451:1,293:1,117:1,118:1,682:1}),s.xh=function(n){return mze(this,n)},s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return pn(),(this.Bb&256)!=0;case 3:return pn(),(this.Bb&512)!=0;case 4:return le(this.s);case 5:return le(this.t);case 6:return pn(),!!this.Hk();case 7:return pn(),c=this.s,c>=1;case 8:return t?Al(this):this.r;case 9:return this.q;case 10:return pn(),(this.Bb&Zl)!=0;case 11:return pn(),(this.Bb&v1)!=0;case 12:return pn(),(this.Bb&xw)!=0;case 13:return this.j;case 14:return ey(this);case 15:return pn(),(this.Bb&Go)!=0;case 16:return pn(),(this.Bb&ja)!=0;case 17:return rw(this)}return Zs(this,n-Vn(this.fi()),on((r=u(_n(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),io(this.Ab,n,i);case 17:return this.Cb&&(i=(c=this.Db>>16,c>=0?mze(this,i):this.Cb.Qh(this,-1-c,null,i))),Fs(this,n,17,i)}return o=u(on((r=u(_n(this,16),29),r||this.fi()),t),69),o.uk().xk(this,lo(this),t-Vn(this.fi()),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),fc(this.Ab,n,i);case 9:return mL(this,i);case 17:return Fs(this,null,17,i)}return c=u(on((r=u(_n(this,16),29),r||this.fi()),t),69),c.uk().yk(this,lo(this),t-Vn(this.fi()),n,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Tb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Tb(this.q).i==0);case 10:return(this.Bb&Zl)==0;case 11:return(this.Bb&v1)!=0;case 12:return(this.Bb&xw)!=0;case 13:return this.j!=null;case 14:return ey(this)!=null;case 15:return(this.Bb&Go)!=0;case 16:return(this.Bb&ja)!=0;case 17:return!!rw(this)}return Qs(this,n-Vn(this.fi()),on((t=u(_n(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab),!this.Ab&&(this.Ab=new oe(xt,this,0,3)),Vi(this.Ab,u(t,18));return;case 1:JL(this,wt(t));return;case 2:wd(this,Ie(je(t)));return;case 3:pd(this,Ie(je(t)));return;case 4:hd(this,u(t,15).a);return;case 5:this.Xk(u(t,15).a);return;case 8:M0(this,u(t,143));return;case 9:r=Wf(this,u(t,87),null),r&&r.mj();return;case 10:L5(this,Ie(je(t)));return;case 11:B5(this,Ie(je(t)));return;case 12:R5(this,Ie(je(t)));return;case 13:kY(this,wt(t));return;case 15:F5(this,Ie(je(t)));return;case 16:J5(this,Ie(je(t)));return}cl(this,n-Vn(this.fi()),on((i=u(_n(this,16),29),i||this.fi()),n),t)},s.fi=function(){return rn(),Hhn},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab);return;case 1:J(this.Cb,88)&&Aw(rs(u(this.Cb,88)),4),to(this,null);return;case 2:wd(this,!0);return;case 3:pd(this,!0);return;case 4:hd(this,0);return;case 5:this.Xk(1);return;case 8:M0(this,null);return;case 9:i=Wf(this,null,null),i&&i.mj();return;case 10:L5(this,!0);return;case 11:B5(this,!1);return;case 12:R5(this,!1);return;case 13:this.i=null,K_(this,null);return;case 15:F5(this,!1);return;case 16:J5(this,!1);return}rl(this,n-Vn(this.fi()),on((t=u(_n(this,16),29),t||this.fi()),n))},s.mi=function(){a5(Oc((Bo(),Xr),this)),Al(this),this.Bb|=1},s.nk=function(){return this.f},s.gk=function(){return ey(this)},s.ok=function(){return rw(this)},s.sk=function(){return null},s.Yk=function(){return this.k},s.Jj=function(){return this.n},s.tk=function(){return Gj(this)},s.uk=function(){var n,t,i,r,c,o,l,a,d;return this.p||(i=rw(this),(i.i==null&&_a(i),i.i).length,r=this.sk(),r&&Vn(rw(r)),c=Al(this),l=c.ik(),n=l?(l.i&1)!=0?l==$o?Hi:l==pt?br:l==Ap?Gy:l==Dr?or:l==Ag?ug:l==hm?og:l==zo?Gv:m8:l:null,t=ey(this),a=c.gk(),gAn(this),(this.Bb&ja)!=0&&((o=Bie((Bo(),Xr),i))&&o!=this||(o=iv(Oc(Xr,this))))?this.p=new Uje(this,o):this.Hk()?this.$k()?r?(this.Bb&Go)!=0?n?this._k()?this.p=new d0(47,n,this,r):this.p=new d0(5,n,this,r):this._k()?this.p=new v0(46,this,r):this.p=new v0(4,this,r):n?this._k()?this.p=new d0(49,n,this,r):this.p=new d0(7,n,this,r):this._k()?this.p=new v0(48,this,r):this.p=new v0(6,this,r):(this.Bb&Go)!=0?n?n==J0?this.p=new ud(50,Thn,this):this._k()?this.p=new ud(43,n,this):this.p=new ud(1,n,this):this._k()?this.p=new sd(42,this):this.p=new sd(0,this):n?n==J0?this.p=new ud(41,Thn,this):this._k()?this.p=new ud(45,n,this):this.p=new ud(3,n,this):this._k()?this.p=new sd(44,this):this.p=new sd(2,this):J(c,159)?n==Wx?this.p=new sd(40,this):(this.Bb&512)!=0?(this.Bb&Go)!=0?n?this.p=new ud(9,n,this):this.p=new sd(8,this):n?this.p=new ud(11,n,this):this.p=new sd(10,this):(this.Bb&Go)!=0?n?this.p=new ud(13,n,this):this.p=new sd(12,this):n?this.p=new ud(15,n,this):this.p=new sd(14,this):r?(d=r.t,d>1||d==-1?this._k()?(this.Bb&Go)!=0?n?this.p=new d0(25,n,this,r):this.p=new v0(24,this,r):n?this.p=new d0(27,n,this,r):this.p=new v0(26,this,r):(this.Bb&Go)!=0?n?this.p=new d0(29,n,this,r):this.p=new v0(28,this,r):n?this.p=new d0(31,n,this,r):this.p=new v0(30,this,r):this._k()?(this.Bb&Go)!=0?n?this.p=new d0(33,n,this,r):this.p=new v0(32,this,r):n?this.p=new d0(35,n,this,r):this.p=new v0(34,this,r):(this.Bb&Go)!=0?n?this.p=new d0(37,n,this,r):this.p=new v0(36,this,r):n?this.p=new d0(39,n,this,r):this.p=new v0(38,this,r)):this._k()?(this.Bb&Go)!=0?n?this.p=new ud(17,n,this):this.p=new sd(16,this):n?this.p=new ud(19,n,this):this.p=new sd(18,this):(this.Bb&Go)!=0?n?this.p=new ud(21,n,this):this.p=new sd(20,this):n?this.p=new ud(23,n,this):this.p=new sd(22,this):this.Zk()?this._k()?this.p=new ONe(u(c,29),this,r):this.p=new tee(u(c,29),this,r):J(c,159)?n==Wx?this.p=new sd(40,this):(this.Bb&Go)!=0?n?this.p=new Nxe(t,a,this,(kR(),l==pt?qwe:l==$o?Bwe:l==Ag?Uwe:l==Ap?zwe:l==Dr?Hwe:l==hm?Vwe:l==zo?Jwe:l==gl?Gwe:LV)):this.p=new XPe(u(c,159),t,a,this):n?this.p=new $xe(t,a,this,(kR(),l==pt?qwe:l==$o?Bwe:l==Ag?Uwe:l==Ap?zwe:l==Dr?Hwe:l==hm?Vwe:l==zo?Jwe:l==gl?Gwe:LV)):this.p=new VPe(u(c,159),t,a,this):this.$k()?r?(this.Bb&Go)!=0?this._k()?this.p=new LNe(u(c,29),this,r):this.p=new JQ(u(c,29),this,r):this._k()?this.p=new DNe(u(c,29),this,r):this.p=new VD(u(c,29),this,r):(this.Bb&Go)!=0?this._k()?this.p=new x$e(u(c,29),this):this.p=new uQ(u(c,29),this):this._k()?this.p=new N$e(u(c,29),this):this.p=new xD(u(c,29),this):this._k()?r?(this.Bb&Go)!=0?this.p=new FNe(u(c,29),this,r):this.p=new GQ(u(c,29),this,r):(this.Bb&Go)!=0?this.p=new P$e(u(c,29),this):this.p=new oQ(u(c,29),this):r?(this.Bb&Go)!=0?this.p=new RNe(u(c,29),this,r):this.p=new HQ(u(c,29),this,r):(this.Bb&Go)!=0?this.p=new O$e(u(c,29),this):this.p=new PS(u(c,29),this)),this.p},s.pk=function(){return(this.Bb&Zl)!=0},s.Zk=function(){return!1},s.$k=function(){return!1},s.qk=function(){return(this.Bb&ja)!=0},s.vk=function(){return yF(this)},s._k=function(){return!1},s.rk=function(){return(this.Bb&Go)!=0},s.al=function(n){this.k=n},s.ri=function(n){JL(this,n)},s.Ib=function(){return hI(this)},s.e=!1,s.n=0,v(Cn,"EStructuralFeatureImpl",451),p(335,451,{109:1,94:1,93:1,38:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,335:1,161:1,451:1,293:1,117:1,118:1,682:1},dO),s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return pn(),(this.Bb&256)!=0;case 3:return pn(),(this.Bb&512)!=0;case 4:return le(this.s);case 5:return le(this.t);case 6:return pn(),!!Fre(this);case 7:return pn(),c=this.s,c>=1;case 8:return t?Al(this):this.r;case 9:return this.q;case 10:return pn(),(this.Bb&Zl)!=0;case 11:return pn(),(this.Bb&v1)!=0;case 12:return pn(),(this.Bb&xw)!=0;case 13:return this.j;case 14:return ey(this);case 15:return pn(),(this.Bb&Go)!=0;case 16:return pn(),(this.Bb&ja)!=0;case 17:return rw(this);case 18:return pn(),(this.Bb&Eu)!=0;case 19:return t?JF(this):WLe(this)}return Zs(this,n-Vn((rn(),kp)),on((r=u(_n(this,16),29),r||kp),n),t,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return Fre(this);case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Tb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Tb(this.q).i==0);case 10:return(this.Bb&Zl)==0;case 11:return(this.Bb&v1)!=0;case 12:return(this.Bb&xw)!=0;case 13:return this.j!=null;case 14:return ey(this)!=null;case 15:return(this.Bb&Go)!=0;case 16:return(this.Bb&ja)!=0;case 17:return!!rw(this);case 18:return(this.Bb&Eu)!=0;case 19:return!!WLe(this)}return Qs(this,n-Vn((rn(),kp)),on((t=u(_n(this,16),29),t||kp),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab),!this.Ab&&(this.Ab=new oe(xt,this,0,3)),Vi(this.Ab,u(t,18));return;case 1:JL(this,wt(t));return;case 2:wd(this,Ie(je(t)));return;case 3:pd(this,Ie(je(t)));return;case 4:hd(this,u(t,15).a);return;case 5:ySe(this,u(t,15).a);return;case 8:M0(this,u(t,143));return;case 9:r=Wf(this,u(t,87),null),r&&r.mj();return;case 10:L5(this,Ie(je(t)));return;case 11:B5(this,Ie(je(t)));return;case 12:R5(this,Ie(je(t)));return;case 13:kY(this,wt(t));return;case 15:F5(this,Ie(je(t)));return;case 16:J5(this,Ie(je(t)));return;case 18:hR(this,Ie(je(t)));return}cl(this,n-Vn((rn(),kp)),on((i=u(_n(this,16),29),i||kp),n),t)},s.fi=function(){return rn(),kp},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab);return;case 1:J(this.Cb,88)&&Aw(rs(u(this.Cb,88)),4),to(this,null);return;case 2:wd(this,!0);return;case 3:pd(this,!0);return;case 4:hd(this,0);return;case 5:this.b=0,aw(this,1);return;case 8:M0(this,null);return;case 9:i=Wf(this,null,null),i&&i.mj();return;case 10:L5(this,!0);return;case 11:B5(this,!1);return;case 12:R5(this,!1);return;case 13:this.i=null,K_(this,null);return;case 15:F5(this,!1);return;case 16:J5(this,!1);return;case 18:hR(this,!1);return}rl(this,n-Vn((rn(),kp)),on((t=u(_n(this,16),29),t||kp),n))},s.mi=function(){JF(this),a5(Oc((Bo(),Xr),this)),Al(this),this.Bb|=1},s.Hk=function(){return Fre(this)},s.Wk=function(n,t){return this.b=0,this.a=null,_te(this,n,t)},s.Xk=function(n){ySe(this,n)},s.Ib=function(){var n;return(this.Db&64)!=0?hI(this):(n=new vl(hI(this)),n.a+=" (iD: ",nd(n,(this.Bb&Eu)!=0),n.a+=")",n.a)},s.b=0,v(Cn,"EAttributeImpl",335),p(360,439,{109:1,94:1,93:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,161:1,117:1,118:1,681:1}),s.bl=function(n){return n.Ah()==this},s.xh=function(n){return UR(this,n)},s.yh=function(n,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=n},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Gb(this);case 4:return this.gk();case 5:return this.F;case 6:return t?xs(this):b5(this);case 7:return!this.A&&(this.A=new Oo(wo,this,7)),this.A}return Zs(this,n-Vn(this.fi()),on((r=u(_n(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),io(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?UR(this,i):this.Cb.Qh(this,-1-c,null,i))),Fs(this,n,6,i)}return o=u(on((r=u(_n(this,16),29),r||this.fi()),t),69),o.uk().xk(this,lo(this),t-Vn(this.fi()),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),fc(this.Ab,n,i);case 6:return Fs(this,null,6,i);case 7:return!this.A&&(this.A=new Oo(wo,this,7)),fc(this.A,n,i)}return c=u(on((r=u(_n(this,16),29),r||this.fi()),t),69),c.uk().yk(this,lo(this),t-Vn(this.fi()),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Gb(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!b5(this);case 7:return!!this.A&&this.A.i!=0}return Qs(this,n-Vn(this.fi()),on((t=u(_n(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab),!this.Ab&&(this.Ab=new oe(xt,this,0,3)),Vi(this.Ab,u(t,18));return;case 1:f_(this,wt(t));return;case 2:yD(this,wt(t));return;case 5:oy(this,wt(t));return;case 7:!this.A&&(this.A=new Oo(wo,this,7)),tt(this.A),!this.A&&(this.A=new Oo(wo,this,7)),Vi(this.A,u(t,18));return}cl(this,n-Vn(this.fi()),on((i=u(_n(this,16),29),i||this.fi()),n),t)},s.fi=function(){return rn(),Lhn},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab);return;case 1:J(this.Cb,184)&&(u(this.Cb,184).tb=null),to(this,null);return;case 2:x5(this,null),E5(this,this.D);return;case 5:oy(this,null);return;case 7:!this.A&&(this.A=new Oo(wo,this,7)),tt(this.A);return}rl(this,n-Vn(this.fi()),on((t=u(_n(this,16),29),t||this.fi()),n))},s.fk=function(){var n;return this.G==-1&&(this.G=(n=xs(this),n?md(n.si(),this):-1)),this.G},s.gk=function(){return null},s.hk=function(){return xs(this)},s.cl=function(){return this.v},s.ik=function(){return Gb(this)},s.jk=function(){return this.D!=null?this.D:this.B},s.kk=function(){return this.F},s.dk=function(n){return DB(this,n)},s.dl=function(n){this.v=n},s.el=function(n){RBe(this,n)},s.fl=function(n){this.C=n},s.ri=function(n){f_(this,n)},s.Ib=function(){return kj(this)},s.C=null,s.D=null,s.G=-1,v(Cn,"EClassifierImpl",360),p(88,360,{109:1,94:1,93:1,29:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,88:1,360:1,161:1,471:1,117:1,118:1,681:1},pK),s.bl=function(n){return Jmn(this,n.Ah())},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Gb(this);case 4:return null;case 5:return this.F;case 6:return t?xs(this):b5(this);case 7:return!this.A&&(this.A=new Oo(wo,this,7)),this.A;case 8:return pn(),(this.Bb&256)!=0;case 9:return pn(),(this.Bb&512)!=0;case 10:return Gc(this);case 11:return!this.q&&(this.q=new oe(Pl,this,11,10)),this.q;case 12:return y2(this);case 13:return P9(this);case 14:return P9(this),this.r;case 15:return y2(this),this.k;case 16:return Sre(this);case 17:return BB(this);case 18:return _a(this);case 19:return iI(this);case 20:return y2(this),this.o;case 21:return!this.s&&(this.s=new oe(Io,this,21,17)),this.s;case 22:return $u(this);case 23:return MB(this)}return Zs(this,n-Vn((rn(),z1)),on((r=u(_n(this,16),29),r||z1),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),io(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?UR(this,i):this.Cb.Qh(this,-1-c,null,i))),Fs(this,n,6,i);case 11:return!this.q&&(this.q=new oe(Pl,this,11,10)),io(this.q,n,i);case 21:return!this.s&&(this.s=new oe(Io,this,21,17)),io(this.s,n,i)}return o=u(on((r=u(_n(this,16),29),r||(rn(),z1)),t),69),o.uk().xk(this,lo(this),t-Vn((rn(),z1)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),fc(this.Ab,n,i);case 6:return Fs(this,null,6,i);case 7:return!this.A&&(this.A=new Oo(wo,this,7)),fc(this.A,n,i);case 11:return!this.q&&(this.q=new oe(Pl,this,11,10)),fc(this.q,n,i);case 21:return!this.s&&(this.s=new oe(Io,this,21,17)),fc(this.s,n,i);case 22:return fc($u(this),n,i)}return c=u(on((r=u(_n(this,16),29),r||(rn(),z1)),t),69),c.uk().yk(this,lo(this),t-Vn((rn(),z1)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Gb(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!b5(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&$u(this.u.a).i!=0&&!(this.n&&OR(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return y2(this).i!=0;case 13:return P9(this).i!=0;case 14:return P9(this),this.r.i!=0;case 15:return y2(this),this.k.i!=0;case 16:return Sre(this).i!=0;case 17:return BB(this).i!=0;case 18:return _a(this).i!=0;case 19:return iI(this).i!=0;case 20:return y2(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&OR(this.n);case 23:return MB(this).i!=0}return Qs(this,n-Vn((rn(),z1)),on((t=u(_n(this,16),29),t||z1),n))},s.Wh=function(n){var t;return t=this.i==null||this.q&&this.q.i!=0?null:pC(this,n),t||wue(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab),!this.Ab&&(this.Ab=new oe(xt,this,0,3)),Vi(this.Ab,u(t,18));return;case 1:f_(this,wt(t));return;case 2:yD(this,wt(t));return;case 5:oy(this,wt(t));return;case 7:!this.A&&(this.A=new Oo(wo,this,7)),tt(this.A),!this.A&&(this.A=new Oo(wo,this,7)),Vi(this.A,u(t,18));return;case 8:$te(this,Ie(je(t)));return;case 9:Nte(this,Ie(je(t)));return;case 10:L9(Gc(this)),Vi(Gc(this),u(t,18));return;case 11:!this.q&&(this.q=new oe(Pl,this,11,10)),tt(this.q),!this.q&&(this.q=new oe(Pl,this,11,10)),Vi(this.q,u(t,18));return;case 21:!this.s&&(this.s=new oe(Io,this,21,17)),tt(this.s),!this.s&&(this.s=new oe(Io,this,21,17)),Vi(this.s,u(t,18));return;case 22:tt($u(this)),Vi($u(this),u(t,18));return}cl(this,n-Vn((rn(),z1)),on((i=u(_n(this,16),29),i||z1),n),t)},s.fi=function(){return rn(),z1},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab);return;case 1:J(this.Cb,184)&&(u(this.Cb,184).tb=null),to(this,null);return;case 2:x5(this,null),E5(this,this.D);return;case 5:oy(this,null);return;case 7:!this.A&&(this.A=new Oo(wo,this,7)),tt(this.A);return;case 8:$te(this,!1);return;case 9:Nte(this,!1);return;case 10:this.u&&L9(this.u);return;case 11:!this.q&&(this.q=new oe(Pl,this,11,10)),tt(this.q);return;case 21:!this.s&&(this.s=new oe(Io,this,21,17)),tt(this.s);return;case 22:this.n&&tt(this.n);return}rl(this,n-Vn((rn(),z1)),on((t=u(_n(this,16),29),t||z1),n))},s.mi=function(){var n,t;if(y2(this),P9(this),Sre(this),BB(this),_a(this),iI(this),MB(this),z6(l5n(rs(this))),this.s)for(n=0,t=this.s.i;n=0;--t)G(this,t);return eie(this,n)},s.Ek=function(){tt(this)},s.Xi=function(n,t){return aBe(this,n,t)},v(_i,"EcoreEList",623),p(491,623,Xc,eE),s.Ji=function(){return!1},s.Jj=function(){return this.c},s.Kj=function(){return!1},s.ml=function(){return!0},s.Qi=function(){return!0},s.Ui=function(n,t){return t},s.Wi=function(){return!1},s.c=0,v(_i,"EObjectEList",491),p(81,491,Xc,fr),s.Kj=function(){return!0},s.kl=function(){return!1},s.$k=function(){return!0},v(_i,"EObjectContainmentEList",81),p(543,81,Xc,lS),s.Li=function(){this.b=!0},s.Oj=function(){return this.b},s.Ek=function(){var n;tt(this),ws(this.e)?(n=this.b,this.b=!1,Wt(this.e,new zl(this.e,2,this.c,n,!1))):this.b=!1},s.b=!1,v(_i,"EObjectContainmentEList/Unsettable",543),p(1130,543,Xc,xxe),s.Ri=function(n,t){var i,r;return i=u(l9(this,n,t),87),ws(this.e)&&F3(this,new EE(this.a,7,(rn(),Fhn),le(t),(r=i.c,J(r,88)?u(r,29):Dl),n)),i},s.Sj=function(n,t){return VAn(this,u(n,87),t)},s.Tj=function(n,t){return XAn(this,u(n,87),t)},s.Uj=function(n,t,i){return KSn(this,u(n,87),u(t,87),i)},s.Gj=function(n,t,i,r,c){switch(n){case 3:return F6(this,n,t,i,r,this.i>1);case 5:return F6(this,n,t,i,r,this.i-u(i,16).gc()>0);default:return new jh(this.e,n,this.c,t,i,r,!0)}},s.Rj=function(){return!0},s.Oj=function(){return OR(this)},s.Ek=function(){tt(this)},v(Cn,"EClassImpl/1",1130),p(1144,1143,Gle),s.bj=function(n){var t,i,r,c,o,l,a;if(i=n.ej(),i!=8){if(r=$Tn(n),r==0)switch(i){case 1:case 9:{a=n.ij(),a!=null&&(t=rs(u(a,471)),!t.c&&(t.c=new x3),P_(t.c,n.hj())),l=n.gj(),l!=null&&(c=u(l,471),(c.Bb&1)==0&&(t=rs(c),!t.c&&(t.c=new x3),rt(t.c,u(n.hj(),29))));break}case 3:{l=n.gj(),l!=null&&(c=u(l,471),(c.Bb&1)==0&&(t=rs(c),!t.c&&(t.c=new x3),rt(t.c,u(n.hj(),29))));break}case 5:{if(l=n.gj(),l!=null)for(o=u(l,18).Jc();o.Ob();)c=u(o.Pb(),471),(c.Bb&1)==0&&(t=rs(c),!t.c&&(t.c=new x3),rt(t.c,u(n.hj(),29)));break}case 4:{a=n.ij(),a!=null&&(c=u(a,471),(c.Bb&1)==0&&(t=rs(c),!t.c&&(t.c=new x3),P_(t.c,n.hj())));break}case 6:{if(a=n.ij(),a!=null)for(o=u(a,18).Jc();o.Ob();)c=u(o.Pb(),471),(c.Bb&1)==0&&(t=rs(c),!t.c&&(t.c=new x3),P_(t.c,n.hj()));break}}this.ol(r)}},s.ol=function(n){EXe(this,n)},s.b=63,v(Cn,"ESuperAdapter",1144),p(1145,1144,Gle,xTe),s.ol=function(n){Aw(this,n)},v(Cn,"EClassImpl/10",1145),p(1134,699,Xc),s.Ci=function(n,t){return rB(this,n,t)},s.Di=function(n){return tze(this,n)},s.Ei=function(n,t){qE(this,n,t)},s.Fi=function(n){wE(this,n)},s.Yi=function(n){return cne(this,n)},s.Vi=function(n,t){return vF(this,n,t)},s.Uk=function(n,t){throw x(new bt)},s.Gi=function(){return new Hm(this)},s.Hi=function(){return new J7(this)},s.Ii=function(n){return NE(this,n)},s.Vk=function(n,t){throw x(new bt)},s.Dk=function(n){return this},s.Oj=function(){return this.i!=0},s.Wb=function(n){throw x(new bt)},s.Ek=function(){throw x(new bt)},v(_i,"EcoreEList/UnmodifiableEList",1134),p(333,1134,Xc,Jp),s.Wi=function(){return!1},v(_i,"EcoreEList/UnmodifiableEList/FastCompare",333),p(1137,333,Xc,$Je),s.bd=function(n){var t,i,r;if(J(n,179)&&(t=u(n,179),i=t.Jj(),i!=-1)){for(r=this.i;i4)if(this.dk(n)){if(this.$k()){if(r=u(n,52),i=r.Bh(),a=i==this.b&&(this.kl()?r.vh(r.Ch(),u(on(vo(this.b),this.Jj()).Fk(),29).ik())==mc(u(on(vo(this.b),this.Jj()),19)).n:-1-r.Ch()==this.Jj()),this.ll()&&!a&&!i&&r.Gh()){for(c=0;c1||r==-1)):!1},s.kl=function(){var n,t,i;return t=on(vo(this.b),this.Jj()),J(t,103)?(n=u(t,19),i=mc(n),!!i):!1},s.ll=function(){var n,t;return t=on(vo(this.b),this.Jj()),J(t,103)?(n=u(t,19),(n.Bb&dc)!=0):!1},s.bd=function(n){var t,i,r,c;if(r=this.xj(n),r>=0)return r;if(this.ml()){for(i=0,c=this.Cj();i=0;--n)TC(this,n,this.vj(n));return this.Dj()},s.Oc=function(n){var t;if(this.ll())for(t=this.Cj()-1;t>=0;--t)TC(this,t,this.vj(t));return this.Ej(n)},s.Ek=function(){L9(this)},s.Xi=function(n,t){return OFe(this,n,t)},v(_i,"DelegatingEcoreEList",744),p(1140,744,Ule,q$e),s.oj=function(n,t){wmn(this,n,u(t,29))},s.pj=function(n){i2n(this,u(n,29))},s.vj=function(n){var t,i;return t=u(G($u(this.a),n),87),i=t.c,J(i,88)?u(i,29):(rn(),Dl)},s.Aj=function(n){var t,i;return t=u(Sw($u(this.a),n),87),i=t.c,J(i,88)?u(i,29):(rn(),Dl)},s.Bj=function(n,t){return CMn(this,n,u(t,29))},s.Ji=function(){return!1},s.Gj=function(n,t,i,r,c){return null},s.qj=function(){return new DTe(this)},s.rj=function(){tt($u(this.a))},s.sj=function(n){return _Ge(this,n)},s.tj=function(n){var t,i;for(i=n.Jc();i.Ob();)if(t=i.Pb(),!_Ge(this,t))return!1;return!0},s.uj=function(n){var t,i,r;if(J(n,16)&&(r=u(n,16),r.gc()==$u(this.a).i)){for(t=r.Jc(),i=new Jn(this);t.Ob();)if(Z(t.Pb())!==Z(zn(i)))return!1;return!0}return!1},s.wj=function(){var n,t,i,r,c;for(i=1,t=new Jn($u(this.a));t.e!=t.i.gc();)n=u(zn(t),87),r=(c=n.c,J(c,88)?u(c,29):(rn(),Dl)),i=31*i+(r?yb(r):0);return i},s.xj=function(n){var t,i,r,c;for(r=0,i=new Jn($u(this.a));i.e!=i.i.gc();){if(t=u(zn(i),87),Z(n)===Z((c=t.c,J(c,88)?u(c,29):(rn(),Dl))))return r;++r}return-1},s.yj=function(){return $u(this.a).i==0},s.zj=function(){return null},s.Cj=function(){return $u(this.a).i},s.Dj=function(){var n,t,i,r,c,o;for(o=$u(this.a).i,c=ee(vr,hn,1,o,5,1),i=0,t=new Jn($u(this.a));t.e!=t.i.gc();)n=u(zn(t),87),c[i++]=(r=n.c,J(r,88)?u(r,29):(rn(),Dl));return c},s.Ej=function(n){var t,i,r,c,o,l,a;for(a=$u(this.a).i,n.lengtha&&Ki(n,a,null),r=0,i=new Jn($u(this.a));i.e!=i.i.gc();)t=u(zn(i),87),o=(l=t.c,J(l,88)?u(l,29):(rn(),Dl)),Ki(n,r++,o);return n},s.Fj=function(){var n,t,i,r,c;for(c=new ed,c.a+="[",n=$u(this.a),t=0,r=$u(this.a).i;t>16,c>=0?UR(this,i):this.Cb.Qh(this,-1-c,null,i))),Fs(this,n,6,i);case 9:return!this.a&&(this.a=new oe(Xh,this,9,5)),io(this.a,n,i)}return o=u(on((r=u(_n(this,16),29),r||(rn(),q1)),t),69),o.uk().xk(this,lo(this),t-Vn((rn(),q1)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),fc(this.Ab,n,i);case 6:return Fs(this,null,6,i);case 7:return!this.A&&(this.A=new Oo(wo,this,7)),fc(this.A,n,i);case 9:return!this.a&&(this.a=new oe(Xh,this,9,5)),fc(this.a,n,i)}return c=u(on((r=u(_n(this,16),29),r||(rn(),q1)),t),69),c.uk().yk(this,lo(this),t-Vn((rn(),q1)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Gb(this);case 4:return!!mte(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!b5(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return Qs(this,n-Vn((rn(),q1)),on((t=u(_n(this,16),29),t||q1),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab),!this.Ab&&(this.Ab=new oe(xt,this,0,3)),Vi(this.Ab,u(t,18));return;case 1:f_(this,wt(t));return;case 2:yD(this,wt(t));return;case 5:oy(this,wt(t));return;case 7:!this.A&&(this.A=new Oo(wo,this,7)),tt(this.A),!this.A&&(this.A=new Oo(wo,this,7)),Vi(this.A,u(t,18));return;case 8:dj(this,Ie(je(t)));return;case 9:!this.a&&(this.a=new oe(Xh,this,9,5)),tt(this.a),!this.a&&(this.a=new oe(Xh,this,9,5)),Vi(this.a,u(t,18));return}cl(this,n-Vn((rn(),q1)),on((i=u(_n(this,16),29),i||q1),n),t)},s.fi=function(){return rn(),q1},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab);return;case 1:J(this.Cb,184)&&(u(this.Cb,184).tb=null),to(this,null);return;case 2:x5(this,null),E5(this,this.D);return;case 5:oy(this,null);return;case 7:!this.A&&(this.A=new Oo(wo,this,7)),tt(this.A);return;case 8:dj(this,!0);return;case 9:!this.a&&(this.a=new oe(Xh,this,9,5)),tt(this.a);return}rl(this,n-Vn((rn(),q1)),on((t=u(_n(this,16),29),t||q1),n))},s.mi=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n>16==5?u(this.Cb,675):null}return Zs(this,n-Vn((rn(),Dd)),on((r=u(_n(this,16),29),r||Dd),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),io(this.Ab,n,i);case 5:return this.Cb&&(i=(c=this.Db>>16,c>=0?jze(this,i):this.Cb.Qh(this,-1-c,null,i))),Fs(this,n,5,i)}return o=u(on((r=u(_n(this,16),29),r||(rn(),Dd)),t),69),o.uk().xk(this,lo(this),t-Vn((rn(),Dd)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),fc(this.Ab,n,i);case 5:return Fs(this,null,5,i)}return c=u(on((r=u(_n(this,16),29),r||(rn(),Dd)),t),69),c.uk().yk(this,lo(this),t-Vn((rn(),Dd)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&u(this.Cb,675))}return Qs(this,n-Vn((rn(),Dd)),on((t=u(_n(this,16),29),t||Dd),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab),!this.Ab&&(this.Ab=new oe(xt,this,0,3)),Vi(this.Ab,u(t,18));return;case 1:to(this,wt(t));return;case 2:MF(this,u(t,15).a);return;case 3:NUe(this,u(t,2001));return;case 4:_F(this,wt(t));return}cl(this,n-Vn((rn(),Dd)),on((i=u(_n(this,16),29),i||Dd),n),t)},s.fi=function(){return rn(),Dd},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab);return;case 1:to(this,null);return;case 2:MF(this,0);return;case 3:NUe(this,null);return;case 4:_F(this,null);return}rl(this,n-Vn((rn(),Dd)),on((t=u(_n(this,16),29),t||Dd),n))},s.Ib=function(){var n;return n=this.c,n??this.zb},s.b=null,s.c=null,s.d=0,v(Cn,"EEnumLiteralImpl",568);var PJn=Pi(Cn,"EFactoryImpl/InternalEDateTimeFormat");p(485,1,{2076:1},h7),v(Cn,"EFactoryImpl/1ClientInternalEDateTimeFormat",485),p(248,118,{109:1,94:1,93:1,87:1,57:1,114:1,52:1,100:1,248:1,117:1,118:1},db),s.zh=function(n,t,i){var r;return i=Fs(this,n,t,i),this.e&&J(n,179)&&(r=tI(this,this.e),r!=this.c&&(i=sy(this,r,i))),i},s.Ih=function(n,t,i){var r;switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new fr(Sc,this,1)),this.d;case 2:return t?bI(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?FR(this):this.a}return Zs(this,n-Vn((rn(),kg)),on((r=u(_n(this,16),29),r||kg),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return bGe(this,null,i);case 1:return!this.d&&(this.d=new fr(Sc,this,1)),fc(this.d,n,i);case 3:return dGe(this,null,i)}return c=u(on((r=u(_n(this,16),29),r||(rn(),kg)),t),69),c.uk().yk(this,lo(this),t-Vn((rn(),kg)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return Qs(this,n-Vn((rn(),kg)),on((t=u(_n(this,16),29),t||kg),n))},s.$h=function(n,t){var i;switch(n){case 0:Xze(this,u(t,87));return;case 1:!this.d&&(this.d=new fr(Sc,this,1)),tt(this.d),!this.d&&(this.d=new fr(Sc,this,1)),Vi(this.d,u(t,18));return;case 3:Xie(this,u(t,87));return;case 4:dre(this,u(t,834));return;case 5:k5(this,u(t,143));return}cl(this,n-Vn((rn(),kg)),on((i=u(_n(this,16),29),i||kg),n),t)},s.fi=function(){return rn(),kg},s.hi=function(n){var t;switch(n){case 0:Xze(this,null);return;case 1:!this.d&&(this.d=new fr(Sc,this,1)),tt(this.d);return;case 3:Xie(this,null);return;case 4:dre(this,null);return;case 5:k5(this,null);return}rl(this,n-Vn((rn(),kg)),on((t=u(_n(this,16),29),t||kg),n))},s.Ib=function(){var n;return n=new _s(Wl(this)),n.a+=" (expression: ",qB(this,n),n.a+=")",n.a};var Rwe;v(Cn,"EGenericTypeImpl",248),p(2029,2024,y$),s.Ei=function(n,t){V$e(this,n,t)},s.Uk=function(n,t){return V$e(this,this.gc(),n),t},s.Yi=function(n){return Nu(this.nj(),n)},s.Gi=function(){return this.Hi()},s.nj=function(){return new BTe(this)},s.Hi=function(){return this.Ii(0)},s.Ii=function(n){return this.nj().dd(n)},s.Vk=function(n,t){return pw(this,n,!0),t},s.Ri=function(n,t){var i,r;return r=KR(this,t),i=this.dd(n),i.Rb(r),r},s.Si=function(n,t){var i;pw(this,t,!0),i=this.dd(n),i.Rb(t)},v(_i,"AbstractSequentialInternalEList",2029),p(482,2029,y$,G7),s.Yi=function(n){return Nu(this.nj(),n)},s.Gi=function(){return this.b==null?(rd(),rd(),kT):this.ql()},s.nj=function(){return new hIe(this.a,this.b)},s.Hi=function(){return this.b==null?(rd(),rd(),kT):this.ql()},s.Ii=function(n){var t,i;if(this.b==null){if(n<0||n>1)throw x(new Yu(s8+n+", size=0"));return rd(),rd(),kT}for(i=this.ql(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.nk()!=E4||t.Jj()!=0)&&(!this.tl()||this.b.Uh(t))){if(o=this.b.Kh(t,this.sl()),this.f=(pc(),u(t,69).vk()),this.f||t.Hk()){if(this.sl()?(r=u(o,16),this.k=r):(r=u(o,72),this.k=this.j=r),J(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ii(this.k.gc()):this.k.dd(this.k.gc()),this.p?Uqe(this,this.p):tUe(this))return c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}else if(o!=null)return this.k=null,this.p=null,i=o,this.i=i,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}},s.Pb=function(){return tj(this)},s.Tb=function(){return this.a},s.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw x(new Wc)},s.Vb=function(){return this.a-1},s.Qb=function(){throw x(new bt)},s.sl=function(){return!1},s.Wb=function(n){throw x(new bt)},s.tl=function(){return!0},s.a=0,s.d=0,s.f=!1,s.g=0,s.n=0,s.o=0;var kT;v(_i,"EContentsEList/FeatureIteratorImpl",287),p(700,287,k$,cQ),s.sl=function(){return!0},v(_i,"EContentsEList/ResolvingFeatureIteratorImpl",700),p(1147,700,k$,j$e),s.tl=function(){return!1},v(Cn,"ENamedElementImpl/1/1",1147),p(1148,287,k$,I$e),s.tl=function(){return!1},v(Cn,"ENamedElementImpl/1/2",1148),p(39,151,rA,sw,QL,Mr,hF,jh,zl,pne,gDe,mne,wDe,Nee,pDe,kne,mDe,xee,vDe,vne,yDe,$6,EE,NL,yne,kDe,Pee,EDe),s.Ij=function(){return Zee(this)},s.Pj=function(){var n;return n=Zee(this),n?n.gk():null},s.fj=function(n){return this.b==-1&&this.a&&(this.b=this.c.Eh(this.a.Jj(),this.a.nk())),this.c.vh(this.b,n)},s.hj=function(){return this.c},s.Qj=function(){var n;return n=Zee(this),n?n.rk():!1},s.b=-1,v(Cn,"ENotificationImpl",39),p(403,293,{109:1,94:1,93:1,158:1,197:1,57:1,62:1,114:1,470:1,52:1,100:1,161:1,403:1,293:1,117:1,118:1},bO),s.xh=function(n){return $ze(this,n)},s.Ih=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return pn(),(this.Bb&256)!=0;case 3:return pn(),(this.Bb&512)!=0;case 4:return le(this.s);case 5:return le(this.t);case 6:return pn(),o=this.t,o>1||o==-1;case 7:return pn(),c=this.s,c>=1;case 8:return t?Al(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,29):null;case 11:return!this.d&&(this.d=new Oo(wo,this,11)),this.d;case 12:return!this.c&&(this.c=new oe(yg,this,12,10)),this.c;case 13:return!this.a&&(this.a=new U7(this,this)),this.a;case 14:return us(this)}return Zs(this,n-Vn((rn(),Ld)),on((r=u(_n(this,16),29),r||Ld),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),io(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?$ze(this,i):this.Cb.Qh(this,-1-c,null,i))),Fs(this,n,10,i);case 12:return!this.c&&(this.c=new oe(yg,this,12,10)),io(this.c,n,i)}return o=u(on((r=u(_n(this,16),29),r||(rn(),Ld)),t),69),o.uk().xk(this,lo(this),t-Vn((rn(),Ld)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),fc(this.Ab,n,i);case 9:return mL(this,i);case 10:return Fs(this,null,10,i);case 11:return!this.d&&(this.d=new Oo(wo,this,11)),fc(this.d,n,i);case 12:return!this.c&&(this.c=new oe(yg,this,12,10)),fc(this.c,n,i);case 14:return fc(us(this),n,i)}return c=u(on((r=u(_n(this,16),29),r||(rn(),Ld)),t),69),c.uk().yk(this,lo(this),t-Vn((rn(),Ld)),n,i)},s.Th=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Tb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Tb(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&us(this.a.a).i!=0&&!(this.b&&DR(this.b));case 14:return!!this.b&&DR(this.b)}return Qs(this,n-Vn((rn(),Ld)),on((t=u(_n(this,16),29),t||Ld),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab),!this.Ab&&(this.Ab=new oe(xt,this,0,3)),Vi(this.Ab,u(t,18));return;case 1:to(this,wt(t));return;case 2:wd(this,Ie(je(t)));return;case 3:pd(this,Ie(je(t)));return;case 4:hd(this,u(t,15).a);return;case 5:aw(this,u(t,15).a);return;case 8:M0(this,u(t,143));return;case 9:r=Wf(this,u(t,87),null),r&&r.mj();return;case 11:!this.d&&(this.d=new Oo(wo,this,11)),tt(this.d),!this.d&&(this.d=new Oo(wo,this,11)),Vi(this.d,u(t,18));return;case 12:!this.c&&(this.c=new oe(yg,this,12,10)),tt(this.c),!this.c&&(this.c=new oe(yg,this,12,10)),Vi(this.c,u(t,18));return;case 13:!this.a&&(this.a=new U7(this,this)),L9(this.a),!this.a&&(this.a=new U7(this,this)),Vi(this.a,u(t,18));return;case 14:tt(us(this)),Vi(us(this),u(t,18));return}cl(this,n-Vn((rn(),Ld)),on((i=u(_n(this,16),29),i||Ld),n),t)},s.fi=function(){return rn(),Ld},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab);return;case 1:to(this,null);return;case 2:wd(this,!0);return;case 3:pd(this,!0);return;case 4:hd(this,0);return;case 5:aw(this,1);return;case 8:M0(this,null);return;case 9:i=Wf(this,null,null),i&&i.mj();return;case 11:!this.d&&(this.d=new Oo(wo,this,11)),tt(this.d);return;case 12:!this.c&&(this.c=new oe(yg,this,12,10)),tt(this.c);return;case 13:this.a&&L9(this.a);return;case 14:this.b&&tt(this.b);return}rl(this,n-Vn((rn(),Ld)),on((t=u(_n(this,16),29),t||Ld),n))},s.mi=function(){var n,t;if(this.c)for(n=0,t=this.c.i;na&&Ki(n,a,null),r=0,i=new Jn(us(this.a));i.e!=i.i.gc();)t=u(zn(i),87),o=(l=t.c,l||(rn(),da)),Ki(n,r++,o);return n},s.Fj=function(){var n,t,i,r,c;for(c=new ed,c.a+="[",n=us(this.a),t=0,r=us(this.a).i;t1);case 5:return F6(this,n,t,i,r,this.i-u(i,16).gc()>0);default:return new jh(this.e,n,this.c,t,i,r,!0)}},s.Rj=function(){return!0},s.Oj=function(){return DR(this)},s.Ek=function(){tt(this)},v(Cn,"EOperationImpl/2",1331),p(493,1,{1999:1,493:1},qje),v(Cn,"EPackageImpl/1",493),p(14,81,Xc,oe),s.gl=function(){return this.d},s.hl=function(){return this.b},s.kl=function(){return!0},s.b=0,v(_i,"EObjectContainmentWithInverseEList",14),p(361,14,Xc,qm),s.ll=function(){return!0},s.Ui=function(n,t){return Sv(this,n,u(t,57))},v(_i,"EObjectContainmentWithInverseEList/Resolving",361),p(312,361,Xc,Zg),s.Li=function(){this.a.tb=null},v(Cn,"EPackageImpl/2",312),p(1243,1,{},ngn),v(Cn,"EPackageImpl/3",1243),p(721,44,A2,sW),s._b=function(n){return $r(n)?xL(this,n):!!xc(this.f,n)},v(Cn,"EPackageRegistryImpl",721),p(503,293,{109:1,94:1,93:1,158:1,197:1,57:1,2078:1,114:1,470:1,52:1,100:1,161:1,503:1,293:1,117:1,118:1},gO),s.xh=function(n){return Nze(this,n)},s.Ih=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return pn(),(this.Bb&256)!=0;case 3:return pn(),(this.Bb&512)!=0;case 4:return le(this.s);case 5:return le(this.t);case 6:return pn(),o=this.t,o>1||o==-1;case 7:return pn(),c=this.s,c>=1;case 8:return t?Al(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,62):null}return Zs(this,n-Vn((rn(),Ep)),on((r=u(_n(this,16),29),r||Ep),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),io(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?Nze(this,i):this.Cb.Qh(this,-1-c,null,i))),Fs(this,n,10,i)}return o=u(on((r=u(_n(this,16),29),r||(rn(),Ep)),t),69),o.uk().xk(this,lo(this),t-Vn((rn(),Ep)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),fc(this.Ab,n,i);case 9:return mL(this,i);case 10:return Fs(this,null,10,i)}return c=u(on((r=u(_n(this,16),29),r||(rn(),Ep)),t),69),c.uk().yk(this,lo(this),t-Vn((rn(),Ep)),n,i)},s.Th=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Tb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Tb(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,62))}return Qs(this,n-Vn((rn(),Ep)),on((t=u(_n(this,16),29),t||Ep),n))},s.fi=function(){return rn(),Ep},v(Cn,"EParameterImpl",503),p(103,451,{109:1,94:1,93:1,158:1,197:1,57:1,19:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,103:1,451:1,293:1,117:1,118:1,682:1},lQ),s.Ih=function(n,t,i){var r,c,o,l;switch(n){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return pn(),(this.Bb&256)!=0;case 3:return pn(),(this.Bb&512)!=0;case 4:return le(this.s);case 5:return le(this.t);case 6:return pn(),l=this.t,l>1||l==-1;case 7:return pn(),c=this.s,c>=1;case 8:return t?Al(this):this.r;case 9:return this.q;case 10:return pn(),(this.Bb&Zl)!=0;case 11:return pn(),(this.Bb&v1)!=0;case 12:return pn(),(this.Bb&xw)!=0;case 13:return this.j;case 14:return ey(this);case 15:return pn(),(this.Bb&Go)!=0;case 16:return pn(),(this.Bb&ja)!=0;case 17:return rw(this);case 18:return pn(),(this.Bb&Eu)!=0;case 19:return pn(),o=mc(this),!!(o&&(o.Bb&Eu)!=0);case 20:return pn(),(this.Bb&dc)!=0;case 21:return t?mc(this):this.b;case 22:return t?nte(this):RLe(this);case 23:return!this.a&&(this.a=new Vp(vp,this,23)),this.a}return Zs(this,n-Vn((rn(),sm)),on((r=u(_n(this,16),29),r||sm),n),t,i)},s.Th=function(n){var t,i,r,c;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return c=this.t,c>1||c==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Tb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Tb(this.q).i==0);case 10:return(this.Bb&Zl)==0;case 11:return(this.Bb&v1)!=0;case 12:return(this.Bb&xw)!=0;case 13:return this.j!=null;case 14:return ey(this)!=null;case 15:return(this.Bb&Go)!=0;case 16:return(this.Bb&ja)!=0;case 17:return!!rw(this);case 18:return(this.Bb&Eu)!=0;case 19:return r=mc(this),!!r&&(r.Bb&Eu)!=0;case 20:return(this.Bb&dc)==0;case 21:return!!this.b;case 22:return!!RLe(this);case 23:return!!this.a&&this.a.i!=0}return Qs(this,n-Vn((rn(),sm)),on((t=u(_n(this,16),29),t||sm),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab),!this.Ab&&(this.Ab=new oe(xt,this,0,3)),Vi(this.Ab,u(t,18));return;case 1:JL(this,wt(t));return;case 2:wd(this,Ie(je(t)));return;case 3:pd(this,Ie(je(t)));return;case 4:hd(this,u(t,15).a);return;case 5:aw(this,u(t,15).a);return;case 8:M0(this,u(t,143));return;case 9:r=Wf(this,u(t,87),null),r&&r.mj();return;case 10:L5(this,Ie(je(t)));return;case 11:B5(this,Ie(je(t)));return;case 12:R5(this,Ie(je(t)));return;case 13:kY(this,wt(t));return;case 15:F5(this,Ie(je(t)));return;case 16:J5(this,Ie(je(t)));return;case 18:g6n(this,Ie(je(t)));return;case 20:Fte(this,Ie(je(t)));return;case 21:Dne(this,u(t,19));return;case 23:!this.a&&(this.a=new Vp(vp,this,23)),tt(this.a),!this.a&&(this.a=new Vp(vp,this,23)),Vi(this.a,u(t,18));return}cl(this,n-Vn((rn(),sm)),on((i=u(_n(this,16),29),i||sm),n),t)},s.fi=function(){return rn(),sm},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab);return;case 1:J(this.Cb,88)&&Aw(rs(u(this.Cb,88)),4),to(this,null);return;case 2:wd(this,!0);return;case 3:pd(this,!0);return;case 4:hd(this,0);return;case 5:aw(this,1);return;case 8:M0(this,null);return;case 9:i=Wf(this,null,null),i&&i.mj();return;case 10:L5(this,!0);return;case 11:B5(this,!1);return;case 12:R5(this,!1);return;case 13:this.i=null,K_(this,null);return;case 15:F5(this,!1);return;case 16:J5(this,!1);return;case 18:Rte(this,!1),J(this.Cb,88)&&Aw(rs(u(this.Cb,88)),2);return;case 20:Fte(this,!0);return;case 21:Dne(this,null);return;case 23:!this.a&&(this.a=new Vp(vp,this,23)),tt(this.a);return}rl(this,n-Vn((rn(),sm)),on((t=u(_n(this,16),29),t||sm),n))},s.mi=function(){nte(this),a5(Oc((Bo(),Xr),this)),Al(this),this.Bb|=1},s.sk=function(){return mc(this)},s.Zk=function(){var n;return n=mc(this),!!n&&(n.Bb&Eu)!=0},s.$k=function(){return(this.Bb&Eu)!=0},s._k=function(){return(this.Bb&dc)!=0},s.Wk=function(n,t){return this.c=null,_te(this,n,t)},s.Ib=function(){var n;return(this.Db&64)!=0?hI(this):(n=new vl(hI(this)),n.a+=" (containment: ",nd(n,(this.Bb&Eu)!=0),n.a+=", resolveProxies: ",nd(n,(this.Bb&dc)!=0),n.a+=")",n.a)},v(Cn,"EReferenceImpl",103),p(549,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,549:1,117:1,118:1},q9e),s.Fb=function(n){return this===n},s.jd=function(){return this.b},s.kd=function(){return this.c},s.Hb=function(){return yb(this)},s.Ai=function(n){$5n(this,wt(n))},s.ld=function(n){return y5n(this,wt(n))},s.Ih=function(n,t,i){var r;switch(n){case 0:return this.b;case 1:return this.c}return Zs(this,n-Vn((rn(),wc)),on((r=u(_n(this,16),29),r||wc),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return this.b!=null;case 1:return this.c!=null}return Qs(this,n-Vn((rn(),wc)),on((t=u(_n(this,16),29),t||wc),n))},s.$h=function(n,t){var i;switch(n){case 0:N5n(this,wt(t));return;case 1:Ine(this,wt(t));return}cl(this,n-Vn((rn(),wc)),on((i=u(_n(this,16),29),i||wc),n),t)},s.fi=function(){return rn(),wc},s.hi=function(n){var t;switch(n){case 0:xne(this,null);return;case 1:Ine(this,null);return}rl(this,n-Vn((rn(),wc)),on((t=u(_n(this,16),29),t||wc),n))},s.yi=function(){var n;return this.a==-1&&(n=this.b,this.a=n==null?0:dd(n)),this.a},s.zi=function(n){this.a=n},s.Ib=function(){var n;return(this.Db&64)!=0?Wl(this):(n=new vl(Wl(this)),n.a+=" (key: ",_c(n,this.b),n.a+=", value: ",_c(n,this.c),n.a+=")",n.a)},s.a=-1,s.b=null,s.c=null;var pu=v(Cn,"EStringToStringMapEntryImpl",549),Xhn=Pi(_i,"FeatureMap/Entry/Internal");p(562,1,E$),s.vl=function(n){return this.wl(u(n,52))},s.wl=function(n){return this.vl(n)},s.Fb=function(n){var t,i;return this===n?!0:J(n,75)?(t=u(n,75),t.Jk()==this.c?(i=this.kd(),i==null?t.kd()==null:Qt(i,t.kd())):!1):!1},s.Jk=function(){return this.c},s.Hb=function(){var n;return n=this.kd(),vi(this.c)^(n==null?0:vi(n))},s.Ib=function(){var n,t;return n=this.c,t=xs(n.ok()).vi(),n.ve(),(t!=null&&t.length!=0?t+":"+n.ve():n.ve())+"="+this.kd()},v(Cn,"EStructuralFeatureImpl/BasicFeatureMapEntry",562),p(777,562,E$,gQ),s.wl=function(n){return new gQ(this.c,n)},s.kd=function(){return this.a},s.xl=function(n,t,i){return iEn(this,n,this.a,t,i)},s.yl=function(n,t,i){return rEn(this,n,this.a,t,i)},v(Cn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",777),p(1304,1,{},Uje),s.wk=function(n,t,i,r,c){var o;return o=u(p5(n,this.b),219),o.Wl(this.a).Dk(r)},s.xk=function(n,t,i,r,c){var o;return o=u(p5(n,this.b),219),o.Nl(this.a,r,c)},s.yk=function(n,t,i,r,c){var o;return o=u(p5(n,this.b),219),o.Ol(this.a,r,c)},s.zk=function(n,t,i){var r;return r=u(p5(n,this.b),219),r.Wl(this.a).Oj()},s.Ak=function(n,t,i,r){var c;c=u(p5(n,this.b),219),c.Wl(this.a).Wb(r)},s.Bk=function(n,t,i){return u(p5(n,this.b),219).Wl(this.a)},s.Ck=function(n,t,i){var r;r=u(p5(n,this.b),219),r.Wl(this.a).Ek()},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1304),p(89,1,{},ud,d0,sd,v0),s.wk=function(n,t,i,r,c){var o;if(o=t.ii(i),o==null&&t.ji(i,o=AI(this,n)),!c)switch(this.e){case 50:case 41:return u(o,586)._j();case 40:return u(o,219).Tl()}return o},s.xk=function(n,t,i,r,c){var o,l;return l=t.ii(i),l==null&&t.ji(i,l=AI(this,n)),o=u(l,72).Uk(r,c),o},s.yk=function(n,t,i,r,c){var o;return o=t.ii(i),o!=null&&(c=u(o,72).Vk(r,c)),c},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null&&u(r,77).Oj()},s.Ak=function(n,t,i,r){var c;c=u(t.ii(i),77),!c&&t.ji(i,c=AI(this,n)),c.Wb(r)},s.Bk=function(n,t,i){var r,c;return c=t.ii(i),c==null&&t.ji(i,c=AI(this,n)),J(c,77)?u(c,77):(r=u(t.ii(i),16),new FTe(r))},s.Ck=function(n,t,i){var r;r=u(t.ii(i),77),!r&&t.ji(i,r=AI(this,n)),r.Ek()},s.b=0,s.e=0,v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),p(498,1,{}),s.xk=function(n,t,i,r,c){throw x(new bt)},s.yk=function(n,t,i,r,c){throw x(new bt)},s.Bk=function(n,t,i){return new HPe(this,n,t,i)};var dh;v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",498),p(1321,1,jH,HPe),s.Dk=function(n){return this.a.wk(this.c,this.d,this.b,n,!0)},s.Oj=function(){return this.a.zk(this.c,this.d,this.b)},s.Wb=function(n){this.a.Ak(this.c,this.d,this.b,n)},s.Ek=function(){this.a.Ck(this.c,this.d,this.b)},s.b=0,v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1321),p(770,498,{},tee),s.wk=function(n,t,i,r,c){return NB(n,n.Mh(),n.Ch())==this.b?this._k()&&r?vB(n):n.Mh():null},s.xk=function(n,t,i,r,c){var o,l;return n.Mh()&&(c=(o=n.Ch(),o>=0?n.xh(c):n.Mh().Qh(n,-1-o,null,c))),l=$i(n.Ah(),this.e),n.zh(r,l,c)},s.yk=function(n,t,i,r,c){var o;return o=$i(n.Ah(),this.e),n.zh(null,o,c)},s.zk=function(n,t,i){var r;return r=$i(n.Ah(),this.e),!!n.Mh()&&n.Ch()==r},s.Ak=function(n,t,i,r){var c,o,l,a,d;if(r!=null&&!DB(this.a,r))throw x(new R3(C$+(J(r,57)?Vie(u(r,57).Ah()):dne(ks(r)))+A$+this.a+"'"));if(c=n.Mh(),l=$i(n.Ah(),this.e),Z(r)!==Z(c)||n.Ch()!=l&&r!=null){if(U5(n,u(r,57)))throw x(new Mn(u8+n.Ib()));d=null,c&&(d=(o=n.Ch(),o>=0?n.xh(d):n.Mh().Qh(n,-1-o,null,d))),a=u(r,52),a&&(d=a.Oh(n,$i(a.Ah(),this.b),null,d)),d=n.zh(a,l,d),d&&d.mj()}else n.sh()&&n.th()&&Wt(n,new Mr(n,1,l,r,r))},s.Ck=function(n,t,i){var r,c,o,l;r=n.Mh(),r?(l=(c=n.Ch(),c>=0?n.xh(null):n.Mh().Qh(n,-1-c,null,null)),o=$i(n.Ah(),this.e),l=n.zh(null,o,l),l&&l.mj()):n.sh()&&n.th()&&Wt(n,new $6(n,1,this.e,null,null))},s._k=function(){return!1},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",770),p(1305,770,{},ONe),s._k=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1305),p(560,498,{}),s.wk=function(n,t,i,r,c){var o;return o=t.ii(i),o==null?this.b:Z(o)===Z(dh)?null:o},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null&&(Z(r)===Z(dh)||!Qt(r,this.b))},s.Ak=function(n,t,i,r){var c,o;n.sh()&&n.th()?(c=(o=t.ii(i),o==null?this.b:Z(o)===Z(dh)?null:o),r==null?this.c!=null?(t.ji(i,null),r=this.b):this.b!=null?t.ji(i,dh):t.ji(i,null):(this.zl(r),t.ji(i,r)),Wt(n,this.d.Al(n,1,this.e,c,r))):r==null?this.c!=null?t.ji(i,null):this.b!=null?t.ji(i,dh):t.ji(i,null):(this.zl(r),t.ji(i,r))},s.Ck=function(n,t,i){var r,c;n.sh()&&n.th()?(r=(c=t.ii(i),c==null?this.b:Z(c)===Z(dh)?null:c),t.ki(i),Wt(n,this.d.Al(n,1,this.e,r,this.b))):t.ki(i)},s.zl=function(n){throw x(new XTe)},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",560),p(x2,1,{},U9e),s.Al=function(n,t,i,r,c){return new $6(n,t,i,r,c)},s.Bl=function(n,t,i,r,c,o){return new NL(n,t,i,r,c,o)};var Bwe,Jwe,Gwe,Hwe,zwe,qwe,Uwe,LV,Vwe;v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",x2),p(1322,x2,{},V9e),s.Al=function(n,t,i,r,c){return new Pee(n,t,i,Ie(je(r)),Ie(je(c)))},s.Bl=function(n,t,i,r,c,o){return new EDe(n,t,i,Ie(je(r)),Ie(je(c)),o)},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1322),p(1323,x2,{},X9e),s.Al=function(n,t,i,r,c){return new pne(n,t,i,u(r,221).a,u(c,221).a)},s.Bl=function(n,t,i,r,c,o){return new gDe(n,t,i,u(r,221).a,u(c,221).a,o)},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1323),p(1324,x2,{},K9e),s.Al=function(n,t,i,r,c){return new mne(n,t,i,u(r,180).a,u(c,180).a)},s.Bl=function(n,t,i,r,c,o){return new wDe(n,t,i,u(r,180).a,u(c,180).a,o)},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1324),p(1325,x2,{},W9e),s.Al=function(n,t,i,r,c){return new Nee(n,t,i,X(Y(r)),X(Y(c)))},s.Bl=function(n,t,i,r,c,o){return new pDe(n,t,i,X(Y(r)),X(Y(c)),o)},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1325),p(1326,x2,{},Y9e),s.Al=function(n,t,i,r,c){return new kne(n,t,i,u(r,164).a,u(c,164).a)},s.Bl=function(n,t,i,r,c,o){return new mDe(n,t,i,u(r,164).a,u(c,164).a,o)},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1326),p(1327,x2,{},Q9e),s.Al=function(n,t,i,r,c){return new xee(n,t,i,u(r,15).a,u(c,15).a)},s.Bl=function(n,t,i,r,c,o){return new vDe(n,t,i,u(r,15).a,u(c,15).a,o)},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1327),p(1328,x2,{},Z9e),s.Al=function(n,t,i,r,c){return new vne(n,t,i,u(r,190).a,u(c,190).a)},s.Bl=function(n,t,i,r,c,o){return new yDe(n,t,i,u(r,190).a,u(c,190).a,o)},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1328),p(1329,x2,{},e8e),s.Al=function(n,t,i,r,c){return new yne(n,t,i,u(r,191).a,u(c,191).a)},s.Bl=function(n,t,i,r,c,o){return new kDe(n,t,i,u(r,191).a,u(c,191).a,o)},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1329),p(1307,560,{},VPe),s.zl=function(n){if(!this.a.dk(n))throw x(new R3(C$+ks(n)+A$+this.a+"'"))},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1307),p(1308,560,{},$xe),s.zl=function(n){},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1308),p(771,560,{}),s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null},s.Ak=function(n,t,i,r){var c,o;n.sh()&&n.th()?(c=!0,o=t.ii(i),o==null?(c=!1,o=this.b):Z(o)===Z(dh)&&(o=null),r==null?this.c!=null?(t.ji(i,null),r=this.b):t.ji(i,dh):(this.zl(r),t.ji(i,r)),Wt(n,this.d.Bl(n,1,this.e,o,r,!c))):r==null?this.c!=null?t.ji(i,null):t.ji(i,dh):(this.zl(r),t.ji(i,r))},s.Ck=function(n,t,i){var r,c;n.sh()&&n.th()?(r=!0,c=t.ii(i),c==null?(r=!1,c=this.b):Z(c)===Z(dh)&&(c=null),t.ki(i),Wt(n,this.d.Bl(n,2,this.e,c,this.b,r))):t.ki(i)},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",771),p(1309,771,{},XPe),s.zl=function(n){if(!this.a.dk(n))throw x(new R3(C$+ks(n)+A$+this.a+"'"))},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1309),p(1310,771,{},Nxe),s.zl=function(n){},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1310),p(402,498,{},PS),s.wk=function(n,t,i,r,c){var o,l,a,d,b;if(b=t.ii(i),this.rk()&&Z(b)===Z(dh))return null;if(this._k()&&r&&b!=null){if(a=u(b,52),a.Sh()&&(d=f1(n,a),a!=d)){if(!DB(this.a,d))throw x(new R3(C$+ks(d)+A$+this.a+"'"));t.ji(i,b=d),this.$k()&&(o=u(d,52),l=a.Qh(n,this.b?$i(a.Ah(),this.b):-1-$i(n.Ah(),this.e),null,null),!o.Mh()&&(l=o.Oh(n,this.b?$i(o.Ah(),this.b):-1-$i(n.Ah(),this.e),null,l)),l&&l.mj()),n.sh()&&n.th()&&Wt(n,new $6(n,9,this.e,a,d))}return b}else return b},s.xk=function(n,t,i,r,c){var o,l;return l=t.ii(i),Z(l)===Z(dh)&&(l=null),t.ji(i,r),this.Kj()?Z(l)!==Z(r)&&l!=null&&(o=u(l,52),c=o.Qh(n,$i(o.Ah(),this.b),null,c)):this.$k()&&l!=null&&(c=u(l,52).Qh(n,-1-$i(n.Ah(),this.e),null,c)),n.sh()&&n.th()&&(!c&&(c=new qd(4)),c.lj(new $6(n,1,this.e,l,r))),c},s.yk=function(n,t,i,r,c){var o;return o=t.ii(i),Z(o)===Z(dh)&&(o=null),t.ki(i),n.sh()&&n.th()&&(!c&&(c=new qd(4)),this.rk()?c.lj(new $6(n,2,this.e,o,null)):c.lj(new $6(n,1,this.e,o,null))),c},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null},s.Ak=function(n,t,i,r){var c,o,l,a,d;if(r!=null&&!DB(this.a,r))throw x(new R3(C$+(J(r,57)?Vie(u(r,57).Ah()):dne(ks(r)))+A$+this.a+"'"));d=t.ii(i),a=d!=null,this.rk()&&Z(d)===Z(dh)&&(d=null),l=null,this.Kj()?Z(d)!==Z(r)&&(d!=null&&(c=u(d,52),l=c.Qh(n,$i(c.Ah(),this.b),null,l)),r!=null&&(c=u(r,52),l=c.Oh(n,$i(c.Ah(),this.b),null,l))):this.$k()&&Z(d)!==Z(r)&&(d!=null&&(l=u(d,52).Qh(n,-1-$i(n.Ah(),this.e),null,l)),r!=null&&(l=u(r,52).Oh(n,-1-$i(n.Ah(),this.e),null,l))),r==null&&this.rk()?t.ji(i,dh):t.ji(i,r),n.sh()&&n.th()?(o=new NL(n,1,this.e,d,r,this.rk()&&!a),l?(l.lj(o),l.mj()):Wt(n,o)):l&&l.mj()},s.Ck=function(n,t,i){var r,c,o,l,a;a=t.ii(i),l=a!=null,this.rk()&&Z(a)===Z(dh)&&(a=null),o=null,a!=null&&(this.Kj()?(r=u(a,52),o=r.Qh(n,$i(r.Ah(),this.b),null,o)):this.$k()&&(o=u(a,52).Qh(n,-1-$i(n.Ah(),this.e),null,o))),t.ki(i),n.sh()&&n.th()?(c=new NL(n,this.rk()?2:1,this.e,a,null,l),o?(o.lj(c),o.mj()):Wt(n,c)):o&&o.mj()},s.Kj=function(){return!1},s.$k=function(){return!1},s._k=function(){return!1},s.rk=function(){return!1},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",402),p(561,402,{},xD),s.$k=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",561),p(1313,561,{},N$e),s._k=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1313),p(773,561,{},uQ),s.rk=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",773),p(1315,773,{},x$e),s._k=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1315),p(638,561,{},VD),s.Kj=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",638),p(1314,638,{},DNe),s._k=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1314),p(774,638,{},JQ),s.rk=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",774),p(1316,774,{},LNe),s._k=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1316),p(639,402,{},oQ),s._k=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",639),p(1317,639,{},P$e),s.rk=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1317),p(775,639,{},GQ),s.Kj=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",775),p(1318,775,{},FNe),s.rk=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1318),p(1311,402,{},O$e),s.rk=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1311),p(772,402,{},HQ),s.Kj=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",772),p(1312,772,{},RNe),s.rk=function(){return!0},v(Cn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1312),p(776,562,E$,RZ),s.wl=function(n){return new RZ(this.a,this.c,n)},s.kd=function(){return this.b},s.xl=function(n,t,i){return ekn(this,n,this.b,i)},s.yl=function(n,t,i){return nkn(this,n,this.b,i)},v(Cn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",776),p(1319,1,jH,FTe),s.Dk=function(n){return this.a},s.Oj=function(){return J(this.a,98)?u(this.a,98).Oj():!this.a.dc()},s.Wb=function(n){this.a.$b(),this.a.Fc(u(n,16))},s.Ek=function(){J(this.a,98)?u(this.a,98).Ek():this.a.$b()},v(Cn,"EStructuralFeatureImpl/SettingMany",1319),p(1320,562,E$,aLe),s.vl=function(n){return new DD((li(),Dk),this.b.oi(this.a,n))},s.kd=function(){return null},s.xl=function(n,t,i){return i},s.yl=function(n,t,i){return i},v(Cn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1320),p(640,562,E$,DD),s.vl=function(n){return new DD(this.c,n)},s.kd=function(){return this.a},s.xl=function(n,t,i){return i},s.yl=function(n,t,i){return i},v(Cn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",640),p(396,492,Da,x3),s.$i=function(n){return ee(xl,hn,29,n,0,1)},s.Wi=function(){return!1},v(Cn,"ESuperAdapter/1",396),p(446,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,834:1,52:1,100:1,161:1,446:1,117:1,118:1},VP),s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new S6(this,Sc,this)),this.a}return Zs(this,n-Vn((rn(),Eg)),on((r=u(_n(this,16),29),r||Eg),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new oe(xt,this,0,3)),fc(this.Ab,n,i);case 2:return!this.a&&(this.a=new S6(this,Sc,this)),fc(this.a,n,i)}return c=u(on((r=u(_n(this,16),29),r||(rn(),Eg)),t),69),c.uk().yk(this,lo(this),t-Vn((rn(),Eg)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return Qs(this,n-Vn((rn(),Eg)),on((t=u(_n(this,16),29),t||Eg),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab),!this.Ab&&(this.Ab=new oe(xt,this,0,3)),Vi(this.Ab,u(t,18));return;case 1:to(this,wt(t));return;case 2:!this.a&&(this.a=new S6(this,Sc,this)),tt(this.a),!this.a&&(this.a=new S6(this,Sc,this)),Vi(this.a,u(t,18));return}cl(this,n-Vn((rn(),Eg)),on((i=u(_n(this,16),29),i||Eg),n),t)},s.fi=function(){return rn(),Eg},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new oe(xt,this,0,3)),tt(this.Ab);return;case 1:to(this,null);return;case 2:!this.a&&(this.a=new S6(this,Sc,this)),tt(this.a);return}rl(this,n-Vn((rn(),Eg)),on((t=u(_n(this,16),29),t||Eg),n))},v(Cn,"ETypeParameterImpl",446),p(447,81,Xc,S6),s.Lj=function(n,t){return U_n(this,u(n,87),t)},s.Mj=function(n,t){return V_n(this,u(n,87),t)},v(Cn,"ETypeParameterImpl/1",447),p(637,44,A2,wO),s.ec=function(){return new tM(this)},v(Cn,"ETypeParameterImpl/2",637),p(557,Zf,Jo,tM),s.Ec=function(n){return bNe(this,u(n,87))},s.Fc=function(n){var t,i,r;for(r=!1,i=n.Jc();i.Ob();)t=u(i.Pb(),87),Pt(this.a,t,"")==null&&(r=!0);return r},s.$b=function(){Au(this.a)},s.Gc=function(n){return Ju(this.a,n)},s.Jc=function(){var n;return n=new dw(new Ig(this.a).a),new iM(n)},s.Kc=function(n){return YLe(this,n)},s.gc=function(){return W4(this.a)},v(Cn,"ETypeParameterImpl/2/1",557),p(558,1,Or,iM),s.Nb=function(n){Ur(this,n)},s.Pb=function(){return u(o2(this.a).jd(),87)},s.Ob=function(){return this.a.b},s.Qb=function(){aRe(this.a)},v(Cn,"ETypeParameterImpl/2/1/1",558),p(1281,44,A2,SMe),s._b=function(n){return $r(n)?xL(this,n):!!xc(this.f,n)},s.xc=function(n){var t,i;return t=$r(n)?Gu(this,n):Qc(xc(this.f,n)),J(t,835)?(i=u(t,835),t=i.Ik(),Pt(this,u(n,241),t),t):t??(n==null?(PO(),Whn):null)},v(Cn,"EValidatorRegistryImpl",1281),p(1303,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,2002:1,52:1,100:1,161:1,117:1,118:1},n8e),s.oi=function(n,t){switch(n.fk()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return t==null?null:Vc(t);case 25:return h7n(t);case 27:return Skn(t);case 28:return _kn(t);case 29:return t==null?null:LIe(Ik[0],u(t,205));case 41:return t==null?"":i0(u(t,298));case 42:return Vc(t);case 50:return wt(t);default:throw x(new Mn(Py+n.ve()+rg))}},s.pi=function(n){var t,i,r,c,o,l,a,d,b,w,y,C,T,S,j,P;switch(n.G==-1&&(n.G=(C=xs(n),C?md(C.si(),n):-1)),n.G){case 0:return i=new dO,i;case 1:return t=new hK,t;case 2:return r=new pK,r;case 4:return c=new uM,c;case 5:return o=new MMe,o;case 6:return l=new HTe,l;case 7:return a=new wK,a;case 10:return b=new KT,b;case 11:return w=new bO,w;case 12:return y=new nOe,y;case 13:return T=new gO,T;case 14:return S=new lQ,S;case 17:return j=new q9e,j;case 18:return d=new db,d;case 19:return P=new VP,P;default:throw x(new Mn(dH+n.zb+rg))}},s.qi=function(n,t){switch(n.fk()){case 20:return t==null?null:new IW(t);case 21:return t==null?null:new Wd(t);case 23:case 22:return t==null?null:fTn(t);case 26:case 24:return t==null?null:_E(Ls(t,-128,127)<<24>>24);case 25:return uNn(t);case 27:return UMn(t);case 28:return VMn(t);case 29:return hjn(t);case 32:case 31:return t==null?null:Ew(t);case 38:case 37:return t==null?null:new ZK(t);case 40:case 39:return t==null?null:le(Ls(t,Jr,zt));case 41:return null;case 42:return t==null,null;case 44:case 43:return t==null?null:vw(CI(t));case 49:case 48:return t==null?null:O5(Ls(t,T$,32767)<<16>>16);case 50:return t;default:throw x(new Mn(Py+n.ve()+rg))}},v(Cn,"EcoreFactoryImpl",1303),p(548,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,2e3:1,52:1,100:1,161:1,184:1,548:1,117:1,118:1,680:1},MPe),s.gb=!1,s.hb=!1;var Xwe,Khn=!1;v(Cn,"EcorePackageImpl",548),p(1199,1,{835:1},t8e),s.Ik=function(){return u$e(),Yhn},v(Cn,"EcorePackageImpl/1",1199),p(1208,1,Rt,i8e),s.dk=function(n){return J(n,158)},s.ek=function(n){return ee(pT,hn,158,n,0,1)},v(Cn,"EcorePackageImpl/10",1208),p(1209,1,Rt,r8e),s.dk=function(n){return J(n,197)},s.ek=function(n){return ee(_V,hn,197,n,0,1)},v(Cn,"EcorePackageImpl/11",1209),p(1210,1,Rt,c8e),s.dk=function(n){return J(n,57)},s.ek=function(n){return ee(H1,hn,57,n,0,1)},v(Cn,"EcorePackageImpl/12",1210),p(1211,1,Rt,u8e),s.dk=function(n){return J(n,403)},s.ek=function(n){return ee(Pl,qle,62,n,0,1)},v(Cn,"EcorePackageImpl/13",1211),p(1212,1,Rt,o8e),s.dk=function(n){return J(n,241)},s.ek=function(n){return ee(xf,hn,241,n,0,1)},v(Cn,"EcorePackageImpl/14",1212),p(1213,1,Rt,s8e),s.dk=function(n){return J(n,503)},s.ek=function(n){return ee(yg,hn,2078,n,0,1)},v(Cn,"EcorePackageImpl/15",1213),p(1214,1,Rt,l8e),s.dk=function(n){return J(n,103)},s.ek=function(n){return ee(yp,N2,19,n,0,1)},v(Cn,"EcorePackageImpl/16",1214),p(1215,1,Rt,f8e),s.dk=function(n){return J(n,179)},s.ek=function(n){return ee(Io,N2,179,n,0,1)},v(Cn,"EcorePackageImpl/17",1215),p(1216,1,Rt,a8e),s.dk=function(n){return J(n,470)},s.ek=function(n){return ee(mp,hn,470,n,0,1)},v(Cn,"EcorePackageImpl/18",1216),p(1217,1,Rt,h8e),s.dk=function(n){return J(n,549)},s.ek=function(n){return ee(pu,Oen,549,n,0,1)},v(Cn,"EcorePackageImpl/19",1217),p(1200,1,Rt,d8e),s.dk=function(n){return J(n,335)},s.ek=function(n){return ee(vp,N2,38,n,0,1)},v(Cn,"EcorePackageImpl/2",1200),p(1218,1,Rt,b8e),s.dk=function(n){return J(n,248)},s.ek=function(n){return ee(Sc,Qen,87,n,0,1)},v(Cn,"EcorePackageImpl/20",1218),p(1219,1,Rt,g8e),s.dk=function(n){return J(n,446)},s.ek=function(n){return ee(wo,hn,834,n,0,1)},v(Cn,"EcorePackageImpl/21",1219),p(1220,1,Rt,w8e),s.dk=function(n){return Gg(n)},s.ek=function(n){return ee(Hi,be,473,n,8,1)},v(Cn,"EcorePackageImpl/22",1220),p(1221,1,Rt,p8e),s.dk=function(n){return J(n,195)},s.ek=function(n){return ee(zo,be,195,n,0,2)},v(Cn,"EcorePackageImpl/23",1221),p(1222,1,Rt,m8e),s.dk=function(n){return J(n,221)},s.ek=function(n){return ee(Gv,be,221,n,0,1)},v(Cn,"EcorePackageImpl/24",1222),p(1223,1,Rt,v8e),s.dk=function(n){return J(n,180)},s.ek=function(n){return ee(m8,be,180,n,0,1)},v(Cn,"EcorePackageImpl/25",1223),p(1224,1,Rt,y8e),s.dk=function(n){return J(n,205)},s.ek=function(n){return ee(O$,be,205,n,0,1)},v(Cn,"EcorePackageImpl/26",1224),p(1225,1,Rt,k8e),s.dk=function(n){return!1},s.ek=function(n){return ee(hpe,hn,2174,n,0,1)},v(Cn,"EcorePackageImpl/27",1225),p(1226,1,Rt,E8e),s.dk=function(n){return Hg(n)},s.ek=function(n){return ee(or,be,346,n,7,1)},v(Cn,"EcorePackageImpl/28",1226),p(1227,1,Rt,C8e),s.dk=function(n){return J(n,61)},s.ek=function(n){return ee(Swe,Pw,61,n,0,1)},v(Cn,"EcorePackageImpl/29",1227),p(1201,1,Rt,A8e),s.dk=function(n){return J(n,504)},s.ek=function(n){return ee(xt,{3:1,4:1,5:1,1995:1},587,n,0,1)},v(Cn,"EcorePackageImpl/3",1201),p(1228,1,Rt,T8e),s.dk=function(n){return J(n,568)},s.ek=function(n){return ee(Iwe,hn,2001,n,0,1)},v(Cn,"EcorePackageImpl/30",1228),p(1229,1,Rt,M8e),s.dk=function(n){return J(n,163)},s.ek=function(n){return ee(Zwe,Pw,163,n,0,1)},v(Cn,"EcorePackageImpl/31",1229),p(1230,1,Rt,S8e),s.dk=function(n){return J(n,75)},s.ek=function(n){return ee(Wx,onn,75,n,0,1)},v(Cn,"EcorePackageImpl/32",1230),p(1231,1,Rt,_8e),s.dk=function(n){return J(n,164)},s.ek=function(n){return ee(Gy,be,164,n,0,1)},v(Cn,"EcorePackageImpl/33",1231),p(1232,1,Rt,j8e),s.dk=function(n){return J(n,15)},s.ek=function(n){return ee(br,be,15,n,0,1)},v(Cn,"EcorePackageImpl/34",1232),p(1233,1,Rt,I8e),s.dk=function(n){return J(n,298)},s.ek=function(n){return ee(rfe,hn,298,n,0,1)},v(Cn,"EcorePackageImpl/35",1233),p(1234,1,Rt,$8e),s.dk=function(n){return J(n,190)},s.ek=function(n){return ee(ug,be,190,n,0,1)},v(Cn,"EcorePackageImpl/36",1234),p(1235,1,Rt,N8e),s.dk=function(n){return J(n,92)},s.ek=function(n){return ee(cfe,hn,92,n,0,1)},v(Cn,"EcorePackageImpl/37",1235),p(1236,1,Rt,x8e),s.dk=function(n){return J(n,588)},s.ek=function(n){return ee(Kwe,hn,588,n,0,1)},v(Cn,"EcorePackageImpl/38",1236),p(1237,1,Rt,P8e),s.dk=function(n){return!1},s.ek=function(n){return ee(dpe,hn,2175,n,0,1)},v(Cn,"EcorePackageImpl/39",1237),p(1202,1,Rt,O8e),s.dk=function(n){return J(n,88)},s.ek=function(n){return ee(xl,hn,29,n,0,1)},v(Cn,"EcorePackageImpl/4",1202),p(1238,1,Rt,D8e),s.dk=function(n){return J(n,191)},s.ek=function(n){return ee(og,be,191,n,0,1)},v(Cn,"EcorePackageImpl/40",1238),p(1239,1,Rt,L8e),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(Cn,"EcorePackageImpl/41",1239),p(1240,1,Rt,F8e),s.dk=function(n){return J(n,585)},s.ek=function(n){return ee(jwe,hn,585,n,0,1)},v(Cn,"EcorePackageImpl/42",1240),p(1241,1,Rt,R8e),s.dk=function(n){return!1},s.ek=function(n){return ee(bpe,be,2176,n,0,1)},v(Cn,"EcorePackageImpl/43",1241),p(1242,1,Rt,B8e),s.dk=function(n){return J(n,45)},s.ek=function(n){return ee(J0,MI,45,n,0,1)},v(Cn,"EcorePackageImpl/44",1242),p(1203,1,Rt,J8e),s.dk=function(n){return J(n,143)},s.ek=function(n){return ee(Pf,hn,143,n,0,1)},v(Cn,"EcorePackageImpl/5",1203),p(1204,1,Rt,G8e),s.dk=function(n){return J(n,159)},s.ek=function(n){return ee(PV,hn,159,n,0,1)},v(Cn,"EcorePackageImpl/6",1204),p(1205,1,Rt,H8e),s.dk=function(n){return J(n,459)},s.ek=function(n){return ee(Kx,hn,675,n,0,1)},v(Cn,"EcorePackageImpl/7",1205),p(1206,1,Rt,z8e),s.dk=function(n){return J(n,568)},s.ek=function(n){return ee(Xh,hn,684,n,0,1)},v(Cn,"EcorePackageImpl/8",1206),p(1207,1,Rt,q8e),s.dk=function(n){return J(n,469)},s.ek=function(n){return ee(jk,hn,469,n,0,1)},v(Cn,"EcorePackageImpl/9",1207),p(1019,2042,Pen,YMe),s.Ki=function(n,t){HCn(this,u(t,415))},s.Oi=function(n,t){eUe(this,n,u(t,415))},v(Cn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1019),p(1020,151,rA,wPe),s.hj=function(){return this.a.a},v(Cn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1020),p(1047,1046,{},SIe),v("org.eclipse.emf.ecore.plugin","EcorePlugin",1047);var Kwe=Pi(snn,"Resource");p(786,1485,lnn),s.Fl=function(n){},s.Gl=function(n){},s.Cl=function(){return!this.a&&(this.a=new oO(this)),this.a},s.Dl=function(n){var t,i,r,c,o;if(r=n.length,r>0)if(Nn(0,n.length),n.charCodeAt(0)==47){for(o=new eo(4),c=1,t=1;t0&&(n=(zr(0,i,n.length),n.substr(0,i))));return ZIn(this,n)},s.El=function(){return this.c},s.Ib=function(){var n;return i0(this.Pm)+"@"+(n=vi(this)>>>0,n.toString(16))+" uri='"+this.d+"'"},s.b=!1,v(IH,"ResourceImpl",786),p(1486,786,lnn,RTe),v(IH,"BinaryResourceImpl",1486),p(1159,697,AH),s._i=function(n){return J(n,57)?I4n(this,u(n,57)):J(n,588)?new Jn(u(n,588).Cl()):Z(n)===Z(this.f)?u(n,18).Jc():(e5(),yT.a)},s.Ob=function(){return Jre(this)},s.a=!1,v(_i,"EcoreUtil/ContentTreeIterator",1159),p(1487,1159,AH,Uxe),s._i=function(n){return Z(n)===Z(this.f)?u(n,16).Jc():new VDe(u(n,57))},v(IH,"ResourceImpl/5",1487),p(647,2054,Yen,oO),s.Gc=function(n){return this.i<=4?X5(this,n):J(n,52)&&u(n,52).Gh()==this.a},s.Ki=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},s.Mi=function(n,t){n==0?this.a.b||(this.a.b=!0):lF(this,n,t)},s.Oi=function(n,t){},s.Pi=function(n,t,i){},s.Jj=function(){return 2},s.hj=function(){return this.a},s.Kj=function(){return!0},s.Lj=function(n,t){var i;return i=u(n,52),t=i.ci(this.a,t),t},s.Mj=function(n,t){var i;return i=u(n,52),i.ci(null,t)},s.Nj=function(){return!1},s.Qi=function(){return!0},s.$i=function(n){return ee(H1,hn,57,n,0,1)},s.Wi=function(){return!1},v(IH,"ResourceImpl/ContentsEList",647),p(953,2024,dy,BTe),s.dd=function(n){return this.a.Ii(n)},s.gc=function(){return this.a.gc()},v(_i,"AbstractSequentialInternalEList/1",953);var Wwe,Ywe,Xr,Qwe;p(625,1,{},KNe);var Yx,Qx;v(_i,"BasicExtendedMetaData",625),p(1150,1,{},Vje),s.Hl=function(){return null},s.Il=function(){return this.a==-2&&kgn(this,cjn(this.d,this.b)),this.a},s.Jl=function(){return null},s.Kl=function(){return un(),un(),bc},s.ve=function(){return this.c==Fy&&Egn(this,EHe(this.d,this.b)),this.c},s.Ll=function(){return 0},s.a=-2,s.c=Fy,v(_i,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1150),p(1151,1,{},ADe),s.Hl=function(){return this.a==(w5(),Yx)&&Tgn(this,HPn(this.f,this.b)),this.a},s.Il=function(){return 0},s.Jl=function(){return this.c==(w5(),Yx)&&Cgn(this,zPn(this.f,this.b)),this.c},s.Kl=function(){return!this.d&&Sgn(this,SDn(this.f,this.b)),this.d},s.ve=function(){return this.e==Fy&&jgn(this,EHe(this.f,this.b)),this.e},s.Ll=function(){return this.g==-2&&$gn(this,M_n(this.f,this.b)),this.g},s.e=Fy,s.g=-2,v(_i,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1151),p(1149,1,{},Xje),s.b=!1,s.c=!1,v(_i,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1149),p(1152,1,{},TDe),s.c=-2,s.e=Fy,s.f=Fy,v(_i,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1152),p(581,623,Xc,TS),s.Jj=function(){return this.c},s.ml=function(){return!1},s.Ui=function(n,t){return t},s.c=0,v(_i,"EDataTypeEList",581);var Zwe=Pi(_i,"FeatureMap");p(76,581,{3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,77:1,163:1,219:1,1998:1,72:1,98:1},Xi),s._c=function(n,t){fxn(this,n,u(t,75))},s.Ec=function(n){return SNn(this,u(n,75))},s.Fi=function(n){Tyn(this,u(n,75))},s.Lj=function(n,t){return tvn(this,u(n,75),t)},s.Mj=function(n,t){return xQ(this,u(n,75),t)},s.Ri=function(n,t){return POn(this,n,t)},s.Ui=function(n,t){return EFn(this,n,u(t,75))},s.fd=function(n,t){return Kxn(this,n,u(t,75))},s.Sj=function(n,t){return ivn(this,u(n,75),t)},s.Tj=function(n,t){return ENe(this,u(n,75),t)},s.Uj=function(n,t,i){return g_n(this,u(n,75),u(t,75),i)},s.Xi=function(n,t){return nB(this,n,u(t,75))},s.Ml=function(n,t){return Oce(this,n,t)},s.ad=function(n,t){var i,r,c,o,l,a,d,b,w;for(b=new Nb(t.gc()),c=t.Jc();c.Ob();)if(r=u(c.Pb(),75),o=r.Jk(),Dh(this.e,o))(!o.Qi()||!g_(this,o,r.kd())&&!X5(b,r))&&rt(b,r);else{for(w=fo(this.e.Ah(),o),i=u(this.g,122),l=!0,a=0;a=0;)if(t=n[this.c],this.k.$l(t.Jk()))return this.j=this.f?t:t.kd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},v(_i,"BasicFeatureMap/FeatureEIterator",412),p(666,412,Qa,mD),s.sl=function(){return!0},v(_i,"BasicFeatureMap/ResolvingFeatureEIterator",666),p(951,482,y$,JIe),s.nj=function(){return this},v(_i,"EContentsEList/1",951),p(952,482,y$,hIe),s.sl=function(){return!1},v(_i,"EContentsEList/2",952),p(950,287,k$,GIe),s.ul=function(n){},s.Ob=function(){return!1},s.Sb=function(){return!1},v(_i,"EContentsEList/FeatureIteratorImpl/1",950),p(824,581,Xc,JY),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;tt(this),ws(this.e)?(n=this.a,this.a=!1,Wt(this.e,new zl(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(_i,"EDataTypeEList/Unsettable",824),p(1920,581,Xc,XIe),s.Qi=function(){return!0},v(_i,"EDataTypeUniqueEList",1920),p(1921,824,Xc,KIe),s.Qi=function(){return!0},v(_i,"EDataTypeUniqueEList/Unsettable",1921),p(145,81,Xc,Oo),s.ll=function(){return!0},s.Ui=function(n,t){return Sv(this,n,u(t,57))},v(_i,"EObjectContainmentEList/Resolving",145),p(1153,543,Xc,VIe),s.ll=function(){return!0},s.Ui=function(n,t){return Sv(this,n,u(t,57))},v(_i,"EObjectContainmentEList/Unsettable/Resolving",1153),p(753,14,Xc,MQ),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;tt(this),ws(this.e)?(n=this.a,this.a=!1,Wt(this.e,new zl(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(_i,"EObjectContainmentWithInverseEList/Unsettable",753),p(1187,753,Xc,lNe),s.ll=function(){return!0},s.Ui=function(n,t){return Sv(this,n,u(t,57))},v(_i,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1187),p(745,491,Xc,BY),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;tt(this),ws(this.e)?(n=this.a,this.a=!1,Wt(this.e,new zl(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(_i,"EObjectEList/Unsettable",745),p(339,491,Xc,Vp),s.ll=function(){return!0},s.Ui=function(n,t){return Sv(this,n,u(t,57))},v(_i,"EObjectResolvingEList",339),p(1825,745,Xc,WIe),s.ll=function(){return!0},s.Ui=function(n,t){return Sv(this,n,u(t,57))},v(_i,"EObjectResolvingEList/Unsettable",1825),p(1488,1,{},U8e);var Whn;v(_i,"EObjectValidator",1488),p(547,491,Xc,zS),s.gl=function(){return this.d},s.hl=function(){return this.b},s.Kj=function(){return!0},s.kl=function(){return!0},s.b=0,v(_i,"EObjectWithInverseEList",547),p(1190,547,Xc,fNe),s.jl=function(){return!0},v(_i,"EObjectWithInverseEList/ManyInverse",1190),p(626,547,Xc,RD),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;tt(this),ws(this.e)?(n=this.a,this.a=!1,Wt(this.e,new zl(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(_i,"EObjectWithInverseEList/Unsettable",626),p(1189,626,Xc,aNe),s.jl=function(){return!0},v(_i,"EObjectWithInverseEList/Unsettable/ManyInverse",1189),p(754,547,Xc,SQ),s.ll=function(){return!0},s.Ui=function(n,t){return Sv(this,n,u(t,57))},v(_i,"EObjectWithInverseResolvingEList",754),p(33,754,Xc,dn),s.jl=function(){return!0},v(_i,"EObjectWithInverseResolvingEList/ManyInverse",33),p(755,626,Xc,_Q),s.ll=function(){return!0},s.Ui=function(n,t){return Sv(this,n,u(t,57))},v(_i,"EObjectWithInverseResolvingEList/Unsettable",755),p(1188,755,Xc,hNe),s.jl=function(){return!0},v(_i,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1188),p(1154,623,Xc),s.Ji=function(){return(this.b&1792)==0},s.Li=function(){this.b|=1},s.il=function(){return(this.b&4)!=0},s.Kj=function(){return(this.b&40)!=0},s.jl=function(){return(this.b&16)!=0},s.kl=function(){return(this.b&8)!=0},s.ll=function(){return(this.b&v1)!=0},s.$k=function(){return(this.b&32)!=0},s.ml=function(){return(this.b&Zl)!=0},s.dk=function(n){return this.d?eLe(this.d,n):this.Jk().Fk().dk(n)},s.Oj=function(){return(this.b&2)!=0?(this.b&1)!=0:this.i!=0},s.Qi=function(){return(this.b&128)!=0},s.Ek=function(){var n;tt(this),(this.b&2)!=0&&(ws(this.e)?(n=(this.b&1)!=0,this.b&=-2,F3(this,new zl(this.e,2,$i(this.e.Ah(),this.Jk()),n,!1))):this.b&=-2)},s.Wi=function(){return(this.b&1536)==0},s.b=0,v(_i,"EcoreEList/Generic",1154),p(1155,1154,Xc,cOe),s.Jk=function(){return this.a},v(_i,"EcoreEList/Dynamic",1155),p(752,67,Da,XK),s.$i=function(n){return $E(this.a.a,n)},v(_i,"EcoreEMap/1",752),p(751,81,Xc,CZ),s.Ki=function(n,t){Oj(this.b,u(t,136))},s.Mi=function(n,t){uJe(this.b)},s.Ni=function(n,t,i){var r;++(r=this.b,u(t,136),r).e},s.Oi=function(n,t){fR(this.b,u(t,136))},s.Pi=function(n,t,i){fR(this.b,u(i,136)),Z(i)===Z(t)&&u(i,136).zi(e2n(u(t,136).jd())),Oj(this.b,u(t,136))},v(_i,"EcoreEMap/DelegateEObjectContainmentEList",751),p(1185,142,zle,pBe),v(_i,"EcoreEMap/Unsettable",1185),p(1186,751,Xc,dNe),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;tt(this),ws(this.e)?(n=this.a,this.a=!1,Wt(this.e,new zl(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(_i,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1186),p(1158,223,A2,sPe),s.a=!1,s.b=!1,v(_i,"EcoreUtil/Copier",1158),p(747,1,Or,VDe),s.Nb=function(n){Ur(this,n)},s.Ob=function(){return oHe(this)},s.Pb=function(){var n;return oHe(this),n=this.b,this.b=null,n},s.Qb=function(){this.a.Qb()},v(_i,"EcoreUtil/ProperContentIterator",747),p(1489,1488,{},q7e);var Yhn;v(_i,"EcoreValidator",1489);var Qhn;Pi(_i,"FeatureMapUtil/Validator"),p(1258,1,{2003:1},V8e),s.$l=function(n){return!0},v(_i,"FeatureMapUtil/1",1258),p(760,1,{2003:1},bue),s.$l=function(n){var t;return this.c==n?!0:(t=je(kn(this.a,n)),t==null?KPn(this,n)?(GLe(this.a,n,(pn(),Jy)),!0):(GLe(this.a,n,(pn(),S1)),!1):t==(pn(),Jy))},s.e=!1;var FV;v(_i,"FeatureMapUtil/BasicValidator",760),p(761,44,A2,LY),v(_i,"FeatureMapUtil/BasicValidator/Cache",761),p(495,56,{20:1,31:1,56:1,18:1,16:1,61:1,77:1,72:1,98:1},L7),s._c=function(n,t){KVe(this.c,this.b,n,t)},s.Ec=function(n){return Oce(this.c,this.b,n)},s.ad=function(n,t){return bLn(this.c,this.b,n,t)},s.Fc=function(n){return y6(this,n)},s.Ei=function(n,t){e7n(this.c,this.b,n,t)},s.Uk=function(n,t){return Sce(this.c,this.b,n,t)},s.Yi=function(n){return mI(this.c,this.b,n,!1)},s.Gi=function(){return kIe(this.c,this.b)},s.Hi=function(){return Upn(this.c,this.b)},s.Ii=function(n){return tkn(this.c,this.b,n)},s.Vk=function(n,t){return U$e(this,n,t)},s.$b=function(){Mm(this)},s.Gc=function(n){return g_(this.c,this.b,n)},s.Hc=function(n){return nEn(this.c,this.b,n)},s.Xb=function(n){return mI(this.c,this.b,n,!0)},s.Dk=function(n){return this},s.bd=function(n){return h8n(this.c,this.b,n)},s.dc=function(){return ZM(this)},s.Oj=function(){return!WE(this.c,this.b)},s.Jc=function(){return Fkn(this.c,this.b)},s.cd=function(){return Rkn(this.c,this.b)},s.dd=function(n){return uAn(this.c,this.b,n)},s.Ri=function(n,t){return hKe(this.c,this.b,n,t)},s.Si=function(n,t){ukn(this.c,this.b,n,t)},s.ed=function(n){return Rqe(this.c,this.b,n)},s.Kc=function(n){return vOn(this.c,this.b,n)},s.fd=function(n,t){return kKe(this.c,this.b,n,t)},s.Wb=function(n){Zj(this.c,this.b),y6(this,u(n,16))},s.gc=function(){return oAn(this.c,this.b)},s.Nc=function(){return d9n(this.c,this.b)},s.Oc=function(n){return d8n(this.c,this.b,n)},s.Ib=function(){var n,t;for(t=new ed,t.a+="[",n=kIe(this.c,this.b);eR(n);)_c(t,E6(xj(n))),eR(n)&&(t.a+=ro);return t.a+="]",t.a},s.Ek=function(){Zj(this.c,this.b)},v(_i,"FeatureMapUtil/FeatureEList",495),p(634,39,rA,ZL),s.fj=function(n){return o9(this,n)},s.kj=function(n){var t,i,r,c,o,l,a;switch(this.d){case 1:case 2:{if(o=n.hj(),Z(o)===Z(this.c)&&o9(this,null)==n.fj(null))return this.g=n.gj(),n.ej()==1&&(this.d=1),!0;break}case 3:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),Z(o)===Z(this.c)&&o9(this,null)==n.fj(null))return this.d=5,t=new Nb(2),rt(t,this.g),rt(t,n.gj()),this.g=t,!0;break}}break}case 5:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),Z(o)===Z(this.c)&&o9(this,null)==n.fj(null))return i=u(this.g,18),i.Ec(n.gj()),!0;break}}break}case 4:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),Z(o)===Z(this.c)&&o9(this,null)==n.fj(null))return this.d=1,this.g=n.gj(),!0;break}case 4:{if(o=n.hj(),Z(o)===Z(this.c)&&o9(this,null)==n.fj(null))return this.d=6,a=new Nb(2),rt(a,this.n),rt(a,n.ij()),this.n=a,l=D(O(pt,1),Ot,30,15,[this.o,n.jj()]),this.g=l,!0;break}}break}case 6:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),Z(o)===Z(this.c)&&o9(this,null)==n.fj(null))return i=u(this.n,18),i.Ec(n.ij()),l=u(this.g,54),r=ee(pt,Ot,30,l.length+1,15,1),Pu(l,0,r,0,l.length),r[l.length]=n.jj(),this.g=r,!0;break}}break}}return!1},v(_i,"FeatureMapUtil/FeatureENotificationImpl",634),p(553,495,{20:1,31:1,56:1,18:1,16:1,61:1,77:1,163:1,219:1,1998:1,72:1,98:1},IS),s.Ml=function(n,t){return Oce(this.c,n,t)},s.Nl=function(n,t,i){return Sce(this.c,n,t,i)},s.Ol=function(n,t,i){return tue(this.c,n,t,i)},s.Pl=function(){return this},s.Ql=function(n,t){return CC(this.c,n,t)},s.Rl=function(n){return u(mI(this.c,this.b,n,!1),75).Jk()},s.Sl=function(n){return u(mI(this.c,this.b,n,!1),75).kd()},s.Tl=function(){return this.a},s.Ul=function(n){return!WE(this.c,n)},s.Vl=function(n,t){vI(this.c,n,t)},s.Wl=function(n){return TBe(this.c,n)},s.Xl=function(n){uze(this.c,n)},v(_i,"FeatureMapUtil/FeatureFeatureMap",553),p(1257,1,jH,Yje),s.Dk=function(n){return mI(this.b,this.a,-1,n)},s.Oj=function(){return!WE(this.b,this.a)},s.Wb=function(n){vI(this.b,this.a,n)},s.Ek=function(){Zj(this.b,this.a)},v(_i,"FeatureMapUtil/FeatureValue",1257);var m3,RV,BV,v3,Zhn,ET=Pi(j$,"AnyType");p(670,63,Lh,CO),v(j$,"InvalidDatatypeValueException",670);var Zx=Pi(j$,ann),CT=Pi(j$,hnn),epe=Pi(j$,dnn),edn,Cu,npe,ib,ndn,tdn,idn,rdn,cdn,udn,odn,sdn,ldn,fdn,adn,lm,hdn,fm,Pk,ddn,Cg,AT,TT,bdn,Ok,Dk;p(828,501,{109:1,94:1,93:1,57:1,52:1,100:1,841:1},lW),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new Xi(this,0)),this.c):(!this.c&&(this.c=new Xi(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new Xi(this,0)),u(Hu(this.c,(li(),ib)),163)):(!this.c&&(this.c=new Xi(this,0)),u(u(Hu(this.c,(li(),ib)),163),219)).Tl();case 2:return i?(!this.b&&(this.b=new Xi(this,2)),this.b):(!this.b&&(this.b=new Xi(this,2)),this.b.b)}return Zs(this,n-Vn(this.fi()),on((this.j&2)==0?this.fi():(!this.k&&(this.k=new gf),this.k).Lk(),n),t,i)},s.Rh=function(n,t,i){var r;switch(t){case 0:return!this.c&&(this.c=new Xi(this,0)),yC(this.c,n,i);case 1:return(!this.c&&(this.c=new Xi(this,0)),u(u(Hu(this.c,(li(),ib)),163),72)).Vk(n,i);case 2:return!this.b&&(this.b=new Xi(this,2)),yC(this.b,n,i)}return r=u(on((this.j&2)==0?this.fi():(!this.k&&(this.k=new gf),this.k).Lk(),t),69),r.uk().yk(this,lne(this),t-Vn(this.fi()),n,i)},s.Th=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Xi(this,0)),u(Hu(this.c,(li(),ib)),163)).dc();case 2:return!!this.b&&this.b.i!=0}return Qs(this,n-Vn(this.fi()),on((this.j&2)==0?this.fi():(!this.k&&(this.k=new gf),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.c&&(this.c=new Xi(this,0)),iE(this.c,t);return;case 1:(!this.c&&(this.c=new Xi(this,0)),u(u(Hu(this.c,(li(),ib)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new Xi(this,2)),iE(this.b,t);return}cl(this,n-Vn(this.fi()),on((this.j&2)==0?this.fi():(!this.k&&(this.k=new gf),this.k).Lk(),n),t)},s.fi=function(){return li(),npe},s.hi=function(n){switch(n){case 0:!this.c&&(this.c=new Xi(this,0)),tt(this.c);return;case 1:(!this.c&&(this.c=new Xi(this,0)),u(Hu(this.c,(li(),ib)),163)).$b();return;case 2:!this.b&&(this.b=new Xi(this,2)),tt(this.b);return}rl(this,n-Vn(this.fi()),on((this.j&2)==0?this.fi():(!this.k&&(this.k=new gf),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Wl(this):(n=new vl(Wl(this)),n.a+=" (mixed: ",w6(n,this.c),n.a+=", anyAttribute: ",w6(n,this.b),n.a+=")",n.a)},v(dr,"AnyTypeImpl",828),p(671,501,{109:1,94:1,93:1,57:1,52:1,100:1,2081:1,671:1},rke),s.Ih=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return Zs(this,n-Vn((li(),lm)),on((this.j&2)==0?lm:(!this.k&&(this.k=new gf),this.k).Lk(),n),t,i)},s.Th=function(n){switch(n){case 0:return this.a!=null;case 1:return this.b!=null}return Qs(this,n-Vn((li(),lm)),on((this.j&2)==0?lm:(!this.k&&(this.k=new gf),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:Pgn(this,wt(t));return;case 1:Dgn(this,wt(t));return}cl(this,n-Vn((li(),lm)),on((this.j&2)==0?lm:(!this.k&&(this.k=new gf),this.k).Lk(),n),t)},s.fi=function(){return li(),lm},s.hi=function(n){switch(n){case 0:this.a=null;return;case 1:this.b=null;return}rl(this,n-Vn((li(),lm)),on((this.j&2)==0?lm:(!this.k&&(this.k=new gf),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Wl(this):(n=new vl(Wl(this)),n.a+=" (data: ",_c(n,this.a),n.a+=", target: ",_c(n,this.b),n.a+=")",n.a)},s.a=null,s.b=null,v(dr,"ProcessingInstructionImpl",671),p(672,828,{109:1,94:1,93:1,57:1,52:1,100:1,841:1,2082:1,672:1},_Me),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new Xi(this,0)),this.c):(!this.c&&(this.c=new Xi(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new Xi(this,0)),u(Hu(this.c,(li(),ib)),163)):(!this.c&&(this.c=new Xi(this,0)),u(u(Hu(this.c,(li(),ib)),163),219)).Tl();case 2:return i?(!this.b&&(this.b=new Xi(this,2)),this.b):(!this.b&&(this.b=new Xi(this,2)),this.b.b);case 3:return!this.c&&(this.c=new Xi(this,0)),wt(CC(this.c,(li(),Pk),!0));case 4:return IQ(this.a,(!this.c&&(this.c=new Xi(this,0)),wt(CC(this.c,(li(),Pk),!0))));case 5:return this.a}return Zs(this,n-Vn((li(),fm)),on((this.j&2)==0?fm:(!this.k&&(this.k=new gf),this.k).Lk(),n),t,i)},s.Th=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Xi(this,0)),u(Hu(this.c,(li(),ib)),163)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new Xi(this,0)),wt(CC(this.c,(li(),Pk),!0))!=null;case 4:return IQ(this.a,(!this.c&&(this.c=new Xi(this,0)),wt(CC(this.c,(li(),Pk),!0))))!=null;case 5:return!!this.a}return Qs(this,n-Vn((li(),fm)),on((this.j&2)==0?fm:(!this.k&&(this.k=new gf),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.c&&(this.c=new Xi(this,0)),iE(this.c,t);return;case 1:(!this.c&&(this.c=new Xi(this,0)),u(u(Hu(this.c,(li(),ib)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new Xi(this,2)),iE(this.b,t);return;case 3:pee(this,wt(t));return;case 4:pee(this,jQ(this.a,t));return;case 5:Ogn(this,u(t,159));return}cl(this,n-Vn((li(),fm)),on((this.j&2)==0?fm:(!this.k&&(this.k=new gf),this.k).Lk(),n),t)},s.fi=function(){return li(),fm},s.hi=function(n){switch(n){case 0:!this.c&&(this.c=new Xi(this,0)),tt(this.c);return;case 1:(!this.c&&(this.c=new Xi(this,0)),u(Hu(this.c,(li(),ib)),163)).$b();return;case 2:!this.b&&(this.b=new Xi(this,2)),tt(this.b);return;case 3:!this.c&&(this.c=new Xi(this,0)),vI(this.c,(li(),Pk),null);return;case 4:pee(this,jQ(this.a,null));return;case 5:this.a=null;return}rl(this,n-Vn((li(),fm)),on((this.j&2)==0?fm:(!this.k&&(this.k=new gf),this.k).Lk(),n))},v(dr,"SimpleAnyTypeImpl",672),p(673,501,{109:1,94:1,93:1,57:1,52:1,100:1,2083:1,673:1},jMe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.a&&(this.a=new Xi(this,0)),this.a):(!this.a&&(this.a=new Xi(this,0)),this.a.b);case 1:return i?(!this.b&&(this.b=new Fo((rn(),wc),pu,this,1)),this.b):(!this.b&&(this.b=new Fo((rn(),wc),pu,this,1)),vE(this.b));case 2:return i?(!this.c&&(this.c=new Fo((rn(),wc),pu,this,2)),this.c):(!this.c&&(this.c=new Fo((rn(),wc),pu,this,2)),vE(this.c));case 3:return!this.a&&(this.a=new Xi(this,0)),Hu(this.a,(li(),AT));case 4:return!this.a&&(this.a=new Xi(this,0)),Hu(this.a,(li(),TT));case 5:return!this.a&&(this.a=new Xi(this,0)),Hu(this.a,(li(),Ok));case 6:return!this.a&&(this.a=new Xi(this,0)),Hu(this.a,(li(),Dk))}return Zs(this,n-Vn((li(),Cg)),on((this.j&2)==0?Cg:(!this.k&&(this.k=new gf),this.k).Lk(),n),t,i)},s.Rh=function(n,t,i){var r;switch(t){case 0:return!this.a&&(this.a=new Xi(this,0)),yC(this.a,n,i);case 1:return!this.b&&(this.b=new Fo((rn(),wc),pu,this,1)),mS(this.b,n,i);case 2:return!this.c&&(this.c=new Fo((rn(),wc),pu,this,2)),mS(this.c,n,i);case 5:return!this.a&&(this.a=new Xi(this,0)),U$e(Hu(this.a,(li(),Ok)),n,i)}return r=u(on((this.j&2)==0?(li(),Cg):(!this.k&&(this.k=new gf),this.k).Lk(),t),69),r.uk().yk(this,lne(this),t-Vn((li(),Cg)),n,i)},s.Th=function(n){switch(n){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new Xi(this,0)),!ZM(Hu(this.a,(li(),AT)));case 4:return!this.a&&(this.a=new Xi(this,0)),!ZM(Hu(this.a,(li(),TT)));case 5:return!this.a&&(this.a=new Xi(this,0)),!ZM(Hu(this.a,(li(),Ok)));case 6:return!this.a&&(this.a=new Xi(this,0)),!ZM(Hu(this.a,(li(),Dk)))}return Qs(this,n-Vn((li(),Cg)),on((this.j&2)==0?Cg:(!this.k&&(this.k=new gf),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.a&&(this.a=new Xi(this,0)),iE(this.a,t);return;case 1:!this.b&&(this.b=new Fo((rn(),wc),pu,this,1)),nj(this.b,t);return;case 2:!this.c&&(this.c=new Fo((rn(),wc),pu,this,2)),nj(this.c,t);return;case 3:!this.a&&(this.a=new Xi(this,0)),Mm(Hu(this.a,(li(),AT))),!this.a&&(this.a=new Xi(this,0)),y6(Hu(this.a,AT),u(t,18));return;case 4:!this.a&&(this.a=new Xi(this,0)),Mm(Hu(this.a,(li(),TT))),!this.a&&(this.a=new Xi(this,0)),y6(Hu(this.a,TT),u(t,18));return;case 5:!this.a&&(this.a=new Xi(this,0)),Mm(Hu(this.a,(li(),Ok))),!this.a&&(this.a=new Xi(this,0)),y6(Hu(this.a,Ok),u(t,18));return;case 6:!this.a&&(this.a=new Xi(this,0)),Mm(Hu(this.a,(li(),Dk))),!this.a&&(this.a=new Xi(this,0)),y6(Hu(this.a,Dk),u(t,18));return}cl(this,n-Vn((li(),Cg)),on((this.j&2)==0?Cg:(!this.k&&(this.k=new gf),this.k).Lk(),n),t)},s.fi=function(){return li(),Cg},s.hi=function(n){switch(n){case 0:!this.a&&(this.a=new Xi(this,0)),tt(this.a);return;case 1:!this.b&&(this.b=new Fo((rn(),wc),pu,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new Fo((rn(),wc),pu,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new Xi(this,0)),Mm(Hu(this.a,(li(),AT)));return;case 4:!this.a&&(this.a=new Xi(this,0)),Mm(Hu(this.a,(li(),TT)));return;case 5:!this.a&&(this.a=new Xi(this,0)),Mm(Hu(this.a,(li(),Ok)));return;case 6:!this.a&&(this.a=new Xi(this,0)),Mm(Hu(this.a,(li(),Dk)));return}rl(this,n-Vn((li(),Cg)),on((this.j&2)==0?Cg:(!this.k&&(this.k=new gf),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Wl(this):(n=new vl(Wl(this)),n.a+=" (mixed: ",w6(n,this.a),n.a+=")",n.a)},v(dr,"XMLTypeDocumentRootImpl",673),p(1990,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1,2084:1},X8e),s.oi=function(n,t){switch(n.fk()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return t==null?null:Vc(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return wt(t);case 6:return kmn(u(t,195));case 12:case 47:case 49:case 11:return cWe(this,n,t);case 13:return t==null?null:yLn(u(t,247));case 15:case 14:return t==null?null:gyn(X(Y(t)));case 17:return Kze((li(),t));case 18:return Kze(t);case 21:case 20:return t==null?null:wyn(u(t,164).a);case 27:return ymn(u(t,195));case 30:return oze((li(),u(t,16)));case 31:return oze(u(t,16));case 40:return vmn((li(),t));case 42:return Wze((li(),t));case 43:return Wze(t);case 59:case 48:return mmn((li(),t));default:throw x(new Mn(Py+n.ve()+rg))}},s.pi=function(n){var t,i,r,c,o;switch(n.G==-1&&(n.G=(i=xs(n),i?md(i.si(),n):-1)),n.G){case 0:return t=new lW,t;case 1:return r=new rke,r;case 2:return c=new _Me,c;case 3:return o=new jMe,o;default:throw x(new Mn(dH+n.zb+rg))}},s.qi=function(n,t){var i,r,c,o,l,a,d,b,w,y,C,T,S,j,P,B;switch(n.fk()){case 5:case 52:case 4:return t;case 6:return FTn(t);case 8:case 7:return t==null?null:E_n(t);case 9:return t==null?null:_E(Ls((r=Uu(t,!0),r.length>0&&(Nn(0,r.length),r.charCodeAt(0)==43)?(Nn(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:_E(Ls((c=Uu(t,!0),c.length>0&&(Nn(0,c.length),c.charCodeAt(0)==43)?(Nn(1,c.length+1),c.substr(1)):c),-128,127)<<24>>24);case 11:return wt(Kb(this,(li(),idn),t));case 12:return wt(Kb(this,(li(),rdn),t));case 13:return t==null?null:new IW(Uu(t,!0));case 15:case 14:return INn(t);case 16:return wt(Kb(this,(li(),cdn),t));case 17:return lHe((li(),t));case 18:return lHe(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Uu(t,!0);case 21:case 20:return BNn(t);case 22:return wt(Kb(this,(li(),udn),t));case 23:return wt(Kb(this,(li(),odn),t));case 24:return wt(Kb(this,(li(),sdn),t));case 25:return wt(Kb(this,(li(),ldn),t));case 26:return wt(Kb(this,(li(),fdn),t));case 27:return jTn(t);case 30:return fHe((li(),t));case 31:return fHe(t);case 32:return t==null?null:le(Ls((w=Uu(t,!0),w.length>0&&(Nn(0,w.length),w.charCodeAt(0)==43)?(Nn(1,w.length+1),w.substr(1)):w),Jr,zt));case 33:return t==null?null:new Wd((y=Uu(t,!0),y.length>0&&(Nn(0,y.length),y.charCodeAt(0)==43)?(Nn(1,y.length+1),y.substr(1)):y));case 34:return t==null?null:le(Ls((C=Uu(t,!0),C.length>0&&(Nn(0,C.length),C.charCodeAt(0)==43)?(Nn(1,C.length+1),C.substr(1)):C),Jr,zt));case 36:return t==null?null:vw(CI((T=Uu(t,!0),T.length>0&&(Nn(0,T.length),T.charCodeAt(0)==43)?(Nn(1,T.length+1),T.substr(1)):T)));case 37:return t==null?null:vw(CI((S=Uu(t,!0),S.length>0&&(Nn(0,S.length),S.charCodeAt(0)==43)?(Nn(1,S.length+1),S.substr(1)):S)));case 40:return TMn((li(),t));case 42:return aHe((li(),t));case 43:return aHe(t);case 44:return t==null?null:new Wd((j=Uu(t,!0),j.length>0&&(Nn(0,j.length),j.charCodeAt(0)==43)?(Nn(1,j.length+1),j.substr(1)):j));case 45:return t==null?null:new Wd((P=Uu(t,!0),P.length>0&&(Nn(0,P.length),P.charCodeAt(0)==43)?(Nn(1,P.length+1),P.substr(1)):P));case 46:return Uu(t,!1);case 47:return wt(Kb(this,(li(),adn),t));case 59:case 48:return AMn((li(),t));case 49:return wt(Kb(this,(li(),hdn),t));case 50:return t==null?null:O5(Ls((B=Uu(t,!0),B.length>0&&(Nn(0,B.length),B.charCodeAt(0)==43)?(Nn(1,B.length+1),B.substr(1)):B),T$,32767)<<16>>16);case 51:return t==null?null:O5(Ls((o=Uu(t,!0),o.length>0&&(Nn(0,o.length),o.charCodeAt(0)==43)?(Nn(1,o.length+1),o.substr(1)):o),T$,32767)<<16>>16);case 53:return wt(Kb(this,(li(),ddn),t));case 55:return t==null?null:O5(Ls((l=Uu(t,!0),l.length>0&&(Nn(0,l.length),l.charCodeAt(0)==43)?(Nn(1,l.length+1),l.substr(1)):l),T$,32767)<<16>>16);case 56:return t==null?null:O5(Ls((a=Uu(t,!0),a.length>0&&(Nn(0,a.length),a.charCodeAt(0)==43)?(Nn(1,a.length+1),a.substr(1)):a),T$,32767)<<16>>16);case 57:return t==null?null:vw(CI((d=Uu(t,!0),d.length>0&&(Nn(0,d.length),d.charCodeAt(0)==43)?(Nn(1,d.length+1),d.substr(1)):d)));case 58:return t==null?null:vw(CI((b=Uu(t,!0),b.length>0&&(Nn(0,b.length),b.charCodeAt(0)==43)?(Nn(1,b.length+1),b.substr(1)):b)));case 60:return t==null?null:le(Ls((i=Uu(t,!0),i.length>0&&(Nn(0,i.length),i.charCodeAt(0)==43)?(Nn(1,i.length+1),i.substr(1)):i),Jr,zt));case 61:return t==null?null:le(Ls(Uu(t,!0),Jr,zt));default:throw x(new Mn(Py+n.ve()+rg))}};var gdn,tpe,wdn,ipe;v(dr,"XMLTypeFactoryImpl",1990),p(582,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1,2006:1,582:1},TPe),s.N=!1,s.O=!1;var pdn=!1;v(dr,"XMLTypePackageImpl",582),p(1923,1,{835:1},K8e),s.Ik=function(){return Uce(),Mdn},v(dr,"XMLTypePackageImpl/1",1923),p(1932,1,Rt,W8e),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/10",1932),p(1933,1,Rt,Y8e),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/11",1933),p(1934,1,Rt,Q8e),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/12",1934),p(1935,1,Rt,Z8e),s.dk=function(n){return Hg(n)},s.ek=function(n){return ee(or,be,346,n,7,1)},v(dr,"XMLTypePackageImpl/13",1935),p(1936,1,Rt,eke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/14",1936),p(1937,1,Rt,nke),s.dk=function(n){return J(n,16)},s.ek=function(n){return ee(Js,Pw,16,n,0,1)},v(dr,"XMLTypePackageImpl/15",1937),p(1938,1,Rt,tke),s.dk=function(n){return J(n,16)},s.ek=function(n){return ee(Js,Pw,16,n,0,1)},v(dr,"XMLTypePackageImpl/16",1938),p(1939,1,Rt,ike),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/17",1939),p(1940,1,Rt,cke),s.dk=function(n){return J(n,164)},s.ek=function(n){return ee(Gy,be,164,n,0,1)},v(dr,"XMLTypePackageImpl/18",1940),p(1941,1,Rt,uke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/19",1941),p(1924,1,Rt,oke),s.dk=function(n){return J(n,841)},s.ek=function(n){return ee(ET,hn,841,n,0,1)},v(dr,"XMLTypePackageImpl/2",1924),p(1942,1,Rt,ske),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/20",1942),p(1943,1,Rt,lke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/21",1943),p(1944,1,Rt,fke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/22",1944),p(1945,1,Rt,ake),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/23",1945),p(1946,1,Rt,hke),s.dk=function(n){return J(n,195)},s.ek=function(n){return ee(zo,be,195,n,0,2)},v(dr,"XMLTypePackageImpl/24",1946),p(1947,1,Rt,dke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/25",1947),p(1948,1,Rt,bke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/26",1948),p(1949,1,Rt,gke),s.dk=function(n){return J(n,16)},s.ek=function(n){return ee(Js,Pw,16,n,0,1)},v(dr,"XMLTypePackageImpl/27",1949),p(1950,1,Rt,wke),s.dk=function(n){return J(n,16)},s.ek=function(n){return ee(Js,Pw,16,n,0,1)},v(dr,"XMLTypePackageImpl/28",1950),p(1951,1,Rt,pke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/29",1951),p(1925,1,Rt,mke),s.dk=function(n){return J(n,671)},s.ek=function(n){return ee(Zx,hn,2081,n,0,1)},v(dr,"XMLTypePackageImpl/3",1925),p(1952,1,Rt,vke),s.dk=function(n){return J(n,15)},s.ek=function(n){return ee(br,be,15,n,0,1)},v(dr,"XMLTypePackageImpl/30",1952),p(1953,1,Rt,yke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/31",1953),p(1954,1,Rt,kke),s.dk=function(n){return J(n,190)},s.ek=function(n){return ee(ug,be,190,n,0,1)},v(dr,"XMLTypePackageImpl/32",1954),p(1955,1,Rt,Eke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/33",1955),p(1956,1,Rt,Cke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/34",1956),p(1957,1,Rt,Ake),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/35",1957),p(1958,1,Rt,Tke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/36",1958),p(1959,1,Rt,Mke),s.dk=function(n){return J(n,16)},s.ek=function(n){return ee(Js,Pw,16,n,0,1)},v(dr,"XMLTypePackageImpl/37",1959),p(1960,1,Rt,Ske),s.dk=function(n){return J(n,16)},s.ek=function(n){return ee(Js,Pw,16,n,0,1)},v(dr,"XMLTypePackageImpl/38",1960),p(1961,1,Rt,_ke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/39",1961),p(1926,1,Rt,jke),s.dk=function(n){return J(n,672)},s.ek=function(n){return ee(CT,hn,2082,n,0,1)},v(dr,"XMLTypePackageImpl/4",1926),p(1962,1,Rt,Ike),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/40",1962),p(1963,1,Rt,$ke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/41",1963),p(1964,1,Rt,Nke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/42",1964),p(1965,1,Rt,xke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/43",1965),p(1966,1,Rt,Pke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/44",1966),p(1967,1,Rt,Oke),s.dk=function(n){return J(n,191)},s.ek=function(n){return ee(og,be,191,n,0,1)},v(dr,"XMLTypePackageImpl/45",1967),p(1968,1,Rt,Dke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/46",1968),p(1969,1,Rt,Lke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/47",1969),p(1970,1,Rt,Fke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/48",1970),p(1971,1,Rt,Rke),s.dk=function(n){return J(n,191)},s.ek=function(n){return ee(og,be,191,n,0,1)},v(dr,"XMLTypePackageImpl/49",1971),p(1927,1,Rt,Bke),s.dk=function(n){return J(n,673)},s.ek=function(n){return ee(epe,hn,2083,n,0,1)},v(dr,"XMLTypePackageImpl/5",1927),p(1972,1,Rt,Jke),s.dk=function(n){return J(n,190)},s.ek=function(n){return ee(ug,be,190,n,0,1)},v(dr,"XMLTypePackageImpl/50",1972),p(1973,1,Rt,Gke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/51",1973),p(1974,1,Rt,Hke),s.dk=function(n){return J(n,15)},s.ek=function(n){return ee(br,be,15,n,0,1)},v(dr,"XMLTypePackageImpl/52",1974),p(1928,1,Rt,zke),s.dk=function(n){return $r(n)},s.ek=function(n){return ee($e,be,2,n,6,1)},v(dr,"XMLTypePackageImpl/6",1928),p(1929,1,Rt,qke),s.dk=function(n){return J(n,195)},s.ek=function(n){return ee(zo,be,195,n,0,2)},v(dr,"XMLTypePackageImpl/7",1929),p(1930,1,Rt,Uke),s.dk=function(n){return Gg(n)},s.ek=function(n){return ee(Hi,be,473,n,8,1)},v(dr,"XMLTypePackageImpl/8",1930),p(1931,1,Rt,Vke),s.dk=function(n){return J(n,221)},s.ek=function(n){return ee(Gv,be,221,n,0,1)},v(dr,"XMLTypePackageImpl/9",1931);var ba,Rd,Lk,eP,R;p(53,63,Lh,yt),v(Td,"RegEx/ParseException",53),p(820,1,{},bK),s._l=function(n){return ni*16)throw x(new yt(Ct((gt(),Aen))));i=i*16+c}while(!0);if(this.a!=125)throw x(new yt(Ct((gt(),Ten))));if(i>Ry)throw x(new yt(Ct((gt(),Men))));n=i}else{if(c=0,this.c!=0||(c=_0(this.a))<0)throw x(new yt(Ct((gt(),Ad))));if(i=c,Ut(this),this.c!=0||(c=_0(this.a))<0)throw x(new yt(Ct((gt(),Ad))));i=i*16+c,n=i}break;case 117:if(r=0,Ut(this),this.c!=0||(r=_0(this.a))<0)throw x(new yt(Ct((gt(),Ad))));if(t=r,Ut(this),this.c!=0||(r=_0(this.a))<0)throw x(new yt(Ct((gt(),Ad))));if(t=t*16+r,Ut(this),this.c!=0||(r=_0(this.a))<0)throw x(new yt(Ct((gt(),Ad))));if(t=t*16+r,Ut(this),this.c!=0||(r=_0(this.a))<0)throw x(new yt(Ct((gt(),Ad))));t=t*16+r,n=t;break;case 118:if(Ut(this),this.c!=0||(r=_0(this.a))<0)throw x(new yt(Ct((gt(),Ad))));if(t=r,Ut(this),this.c!=0||(r=_0(this.a))<0)throw x(new yt(Ct((gt(),Ad))));if(t=t*16+r,Ut(this),this.c!=0||(r=_0(this.a))<0)throw x(new yt(Ct((gt(),Ad))));if(t=t*16+r,Ut(this),this.c!=0||(r=_0(this.a))<0)throw x(new yt(Ct((gt(),Ad))));if(t=t*16+r,Ut(this),this.c!=0||(r=_0(this.a))<0)throw x(new yt(Ct((gt(),Ad))));if(t=t*16+r,Ut(this),this.c!=0||(r=_0(this.a))<0)throw x(new yt(Ct((gt(),Ad))));if(t=t*16+r,t>Ry)throw x(new yt(Ct((gt(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw x(new yt(Ct((gt(),Sen))))}return n},s.bm=function(n){var t,i;switch(n){case 100:i=(this.e&32)==32?m1("Nd",!0):(Kt(),nP);break;case 68:i=(this.e&32)==32?m1("Nd",!1):(Kt(),lpe);break;case 119:i=(this.e&32)==32?m1("IsWord",!0):(Kt(),T4);break;case 87:i=(this.e&32)==32?m1("IsWord",!1):(Kt(),ape);break;case 115:i=(this.e&32)==32?m1("IsSpace",!0):(Kt(),y3);break;case 83:i=(this.e&32)==32?m1("IsSpace",!1):(Kt(),fpe);break;default:throw x(new Yc((t=n,Snn+t.toString(16))))}return i},s.cm=function(n){var t,i,r,c,o,l,a,d,b,w,y,C;for(this.b=1,Ut(this),t=null,this.c==0&&this.a==94?(Ut(this),n?w=(Kt(),Kt(),new $s(5)):(t=(Kt(),Kt(),new $s(4)),qu(t,0,Ry),w=new $s(4))):w=(Kt(),Kt(),new $s(4)),c=!0;(C=this.c)!=1&&!(C==0&&this.a==93&&!c);){if(c=!1,i=this.a,r=!1,C==10)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:Iw(w,this.bm(i)),r=!0;break;case 105:case 73:case 99:case 67:i=this.sm(w,i),i<0&&(r=!0);break;case 112:case 80:if(y=Rre(this,i),!y)throw x(new yt(Ct((gt(),MH))));Iw(w,y),r=!0;break;default:i=this.am()}else if(C==20){if(l=Y3(this.i,58,this.d),l<0)throw x(new yt(Ct((gt(),Fle))));if(a=!0,Wr(this.i,this.d)==94&&(++this.d,a=!1),o=kl(this.i,this.d,l),d=NFe(o,a,(this.e&512)==512),!d)throw x(new yt(Ct((gt(),ven))));if(Iw(w,d),r=!0,l+1>=this.j||Wr(this.i,l+1)!=93)throw x(new yt(Ct((gt(),Fle))));this.d=l+2}if(Ut(this),!r)if(this.c!=0||this.a!=45)qu(w,i,i);else{if(Ut(this),(C=this.c)==1)throw x(new yt(Ct((gt(),m$))));C==0&&this.a==93?(qu(w,i,i),qu(w,45,45)):(b=this.a,C==10&&(b=this.am()),Ut(this),qu(w,i,b))}(this.e&Zl)==Zl&&this.c==0&&this.a==44&&Ut(this)}if(this.c==1)throw x(new yt(Ct((gt(),m$))));return t&&(F9(t,w),w=t),p2(w),D9(w),this.b=0,Ut(this),w},s.dm=function(){var n,t,i,r;for(i=this.cm(!1);(r=this.c)!=7;)if(n=this.a,r==0&&(n==45||n==38)||r==4){if(Ut(this),this.c!=9)throw x(new yt(Ct((gt(),ken))));if(t=this.cm(!1),r==4)Iw(i,t);else if(n==45)F9(i,t);else if(n==38)nWe(i,t);else throw x(new Yc("ASSERT"))}else throw x(new yt(Ct((gt(),Een))));return Ut(this),i},s.em=function(){var n,t;return n=this.a-48,t=(Kt(),Kt(),new DL(12,null,n)),!this.g&&(this.g=new sM),oM(this.g,new KK(n)),Ut(this),t},s.fm=function(){return Ut(this),Kt(),ydn},s.gm=function(){return Ut(this),Kt(),vdn},s.hm=function(){throw x(new yt(Ct((gt(),ll))))},s.im=function(){throw x(new yt(Ct((gt(),ll))))},s.jm=function(){return Ut(this),ZEn()},s.km=function(){return Ut(this),Kt(),Edn},s.lm=function(){return Ut(this),Kt(),Adn},s.mm=function(){var n;if(this.d>=this.j||((n=Wr(this.i,this.d++))&65504)!=64)throw x(new yt(Ct((gt(),wen))));return Ut(this),Kt(),Kt(),new za(0,n-64)},s.nm=function(){return Ut(this),EDn()},s.om=function(){return Ut(this),Kt(),Tdn},s.pm=function(){var n;return n=(Kt(),Kt(),new za(0,105)),Ut(this),n},s.qm=function(){return Ut(this),Kt(),Cdn},s.rm=function(){return Ut(this),Kt(),kdn},s.sm=function(n,t){return this.am()},s.tm=function(){return Ut(this),Kt(),ope},s.um=function(){var n,t,i,r,c;if(this.d+1>=this.j)throw x(new yt(Ct((gt(),den))));if(r=-1,t=null,n=Wr(this.i,this.d),49<=n&&n<=57){if(r=n-48,!this.g&&(this.g=new sM),oM(this.g,new KK(r)),++this.d,Wr(this.i,this.d)!=41)throw x(new yt(Ct((gt(),R0))));++this.d}else switch(n==63&&--this.d,Ut(this),t=mue(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw x(new yt(Ct((gt(),R0))));break;default:throw x(new yt(Ct((gt(),ben))))}if(Ut(this),c=Bb(this),i=null,c.e==2){if(c.Nm()!=2)throw x(new yt(Ct((gt(),gen))));i=c.Jm(1),c=c.Jm(0)}if(this.c!=7)throw x(new yt(Ct((gt(),R0))));return Ut(this),Kt(),Kt(),new CRe(r,t,c,i)},s.vm=function(){return Ut(this),Kt(),spe},s.wm=function(){var n;if(Ut(this),n=qS(24,Bb(this)),this.c!=7)throw x(new yt(Ct((gt(),R0))));return Ut(this),n},s.xm=function(){var n;if(Ut(this),n=qS(20,Bb(this)),this.c!=7)throw x(new yt(Ct((gt(),R0))));return Ut(this),n},s.ym=function(){var n;if(Ut(this),n=qS(22,Bb(this)),this.c!=7)throw x(new yt(Ct((gt(),R0))));return Ut(this),n},s.zm=function(){var n,t,i,r,c;for(n=0,i=0,t=-1;this.d=this.j)throw x(new yt(Ct((gt(),Dle))));if(t==45){for(++this.d;this.d=this.j)throw x(new yt(Ct((gt(),Dle))))}if(t==58){if(++this.d,Ut(this),r=fPe(Bb(this),n,i),this.c!=7)throw x(new yt(Ct((gt(),R0))));Ut(this)}else if(t==41)++this.d,Ut(this),r=fPe(Bb(this),n,i);else throw x(new yt(Ct((gt(),hen))));return r},s.Am=function(){var n;if(Ut(this),n=qS(21,Bb(this)),this.c!=7)throw x(new yt(Ct((gt(),R0))));return Ut(this),n},s.Bm=function(){var n;if(Ut(this),n=qS(23,Bb(this)),this.c!=7)throw x(new yt(Ct((gt(),R0))));return Ut(this),n},s.Cm=function(){var n,t;if(Ut(this),n=this.f++,t=aL(Bb(this),n),this.c!=7)throw x(new yt(Ct((gt(),R0))));return Ut(this),t},s.Dm=function(){var n;if(Ut(this),n=aL(Bb(this),0),this.c!=7)throw x(new yt(Ct((gt(),R0))));return Ut(this),n},s.Em=function(n){return Ut(this),this.c==5?(Ut(this),LS(n,(Kt(),Kt(),new ow(9,n)))):LS(n,(Kt(),Kt(),new ow(3,n)))},s.Fm=function(n){var t;return Ut(this),t=(Kt(),Kt(),new v6(2)),this.c==5?(Ut(this),$0(t,Rk),$0(t,n)):($0(t,n),$0(t,Rk)),t},s.Gm=function(n){return Ut(this),this.c==5?(Ut(this),Kt(),Kt(),new ow(9,n)):(Kt(),Kt(),new ow(3,n))},s.a=0,s.b=0,s.c=0,s.d=0,s.e=0,s.f=1,s.g=null,s.j=0,v(Td,"RegEx/RegexParser",820),p(1910,820,{},IMe),s._l=function(n){return!1},s.am=function(){return Cce(this)},s.bm=function(n){return ry(n)},s.cm=function(n){return XWe(this)},s.dm=function(){throw x(new yt(Ct((gt(),ll))))},s.em=function(){throw x(new yt(Ct((gt(),ll))))},s.fm=function(){throw x(new yt(Ct((gt(),ll))))},s.gm=function(){throw x(new yt(Ct((gt(),ll))))},s.hm=function(){return Ut(this),ry(67)},s.im=function(){return Ut(this),ry(73)},s.jm=function(){throw x(new yt(Ct((gt(),ll))))},s.km=function(){throw x(new yt(Ct((gt(),ll))))},s.lm=function(){throw x(new yt(Ct((gt(),ll))))},s.mm=function(){return Ut(this),ry(99)},s.nm=function(){throw x(new yt(Ct((gt(),ll))))},s.om=function(){throw x(new yt(Ct((gt(),ll))))},s.pm=function(){return Ut(this),ry(105)},s.qm=function(){throw x(new yt(Ct((gt(),ll))))},s.rm=function(){throw x(new yt(Ct((gt(),ll))))},s.sm=function(n,t){return Iw(n,ry(t)),-1},s.tm=function(){return Ut(this),Kt(),Kt(),new za(0,94)},s.um=function(){throw x(new yt(Ct((gt(),ll))))},s.vm=function(){return Ut(this),Kt(),Kt(),new za(0,36)},s.wm=function(){throw x(new yt(Ct((gt(),ll))))},s.xm=function(){throw x(new yt(Ct((gt(),ll))))},s.ym=function(){throw x(new yt(Ct((gt(),ll))))},s.zm=function(){throw x(new yt(Ct((gt(),ll))))},s.Am=function(){throw x(new yt(Ct((gt(),ll))))},s.Bm=function(){throw x(new yt(Ct((gt(),ll))))},s.Cm=function(){var n;if(Ut(this),n=aL(Bb(this),0),this.c!=7)throw x(new yt(Ct((gt(),R0))));return Ut(this),n},s.Dm=function(){throw x(new yt(Ct((gt(),ll))))},s.Em=function(n){return Ut(this),LS(n,(Kt(),Kt(),new ow(3,n)))},s.Fm=function(n){var t;return Ut(this),t=(Kt(),Kt(),new v6(2)),$0(t,n),$0(t,Rk),t},s.Gm=function(n){return Ut(this),Kt(),Kt(),new ow(3,n)};var am=null,C4=null;v(Td,"RegEx/ParserForXMLSchema",1910),p(121,1,By,hb),s.Hm=function(n){throw x(new Yc("Not supported."))},s.Im=function(){return-1},s.Jm=function(n){return null},s.Km=function(){return null},s.Lm=function(n){},s.Mm=function(n){},s.Nm=function(){return 0},s.Ib=function(){return this.Om(0)},s.Om=function(n){return this.e==11?".":""},s.e=0;var rpe,A4,Fk,mdn,cpe,Cp=null,nP,JV=null,upe,Rk,GV=null,ope,spe,lpe,fpe,ape,vdn,y3,ydn,kdn,Edn,Cdn,T4,Adn,Tdn,OJn=v(Td,"RegEx/Token",121);p(137,121,{3:1,137:1,121:1},$s),s.Om=function(n){var t,i,r;if(this.e==4)if(this==upe)i=".";else if(this==nP)i="\\d";else if(this==T4)i="\\w";else if(this==y3)i="\\s";else{for(r=new ed,r.a+="[",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?_c(r,EC(this.b[t])):(_c(r,EC(this.b[t])),r.a+="-",_c(r,EC(this.b[t+1])));r.a+="]",i=r.a}else if(this==lpe)i="\\D";else if(this==ape)i="\\W";else if(this==fpe)i="\\S";else{for(r=new ed,r.a+="[^",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?_c(r,EC(this.b[t])):(_c(r,EC(this.b[t])),r.a+="-",_c(r,EC(this.b[t+1])));r.a+="]",i=r.a}return i},s.a=!1,s.c=!1,v(Td,"RegEx/RangeToken",137),p(580,1,{580:1},KK),s.a=0,v(Td,"RegEx/RegexParser/ReferencePosition",580),p(579,1,{3:1,579:1},h_e),s.Fb=function(n){var t;return n==null||!J(n,579)?!1:(t=u(n,579),Ye(this.b,t.b)&&this.a==t.a)},s.Hb=function(){return dd(this.b+"/"+wce(this.a))},s.Ib=function(){return this.c.Om(this.a)},s.a=0,v(Td,"RegEx/RegularExpression",579),p(228,121,By,za),s.Im=function(){return this.a},s.Om=function(n){var t,i,r;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:r="\\"+LD(this.a&hr);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:this.a>=dc?(i=(t=this.a>>>0,"0"+t.toString(16)),r="\\v"+kl(i,i.length-6,i.length)):r=""+LD(this.a&hr)}break;case 8:this==ope||this==spe?r=""+LD(this.a&hr):r="\\"+LD(this.a&hr);break;default:r=null}return r},s.a=0,v(Td,"RegEx/Token/CharToken",228),p(322,121,By,ow),s.Jm=function(n){return this.a},s.Lm=function(n){this.b=n},s.Mm=function(n){this.c=n},s.Nm=function(){return 1},s.Om=function(n){var t;if(this.e==3)if(this.c<0&&this.b<0)t=this.a.Om(n)+"*";else if(this.c==this.b)t=this.a.Om(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.Om(n)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)t=this.a.Om(n)+"{"+this.c+",}";else throw x(new Yc("Token#toString(): CLOSURE "+this.c+ro+this.b));else if(this.c<0&&this.b<0)t=this.a.Om(n)+"*?";else if(this.c==this.b)t=this.a.Om(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.Om(n)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)t=this.a.Om(n)+"{"+this.c+",}?";else throw x(new Yc("Token#toString(): NONGREEDYCLOSURE "+this.c+ro+this.b));return t},s.b=0,s.c=0,v(Td,"RegEx/Token/ClosureToken",322),p(821,121,By,_Z),s.Jm=function(n){return n==0?this.a:this.b},s.Nm=function(){return 2},s.Om=function(n){var t;return this.b.e==3&&this.b.Jm(0)==this.a?t=this.a.Om(n)+"+":this.b.e==9&&this.b.Jm(0)==this.a?t=this.a.Om(n)+"+?":t=this.a.Om(n)+(""+this.b.Om(n)),t},v(Td,"RegEx/Token/ConcatToken",821),p(1908,121,By,CRe),s.Jm=function(n){if(n==0)return this.d;if(n==1)return this.b;throw x(new Yc("Internal Error: "+n))},s.Nm=function(){return this.b?2:1},s.Om=function(n){var t;return this.c>0?t="(?("+this.c+")":this.a.e==8?t="(?("+this.a+")":t="(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},s.c=0,v(Td,"RegEx/Token/ConditionToken",1908),p(1909,121,By,oDe),s.Jm=function(n){return this.b},s.Nm=function(){return 1},s.Om=function(n){return"(?"+(this.a==0?"":wce(this.a))+(this.c==0?"":wce(this.c))+":"+this.b.Om(n)+")"},s.a=0,s.c=0,v(Td,"RegEx/Token/ModifierToken",1909),p(822,121,By,FZ),s.Jm=function(n){return this.a},s.Nm=function(){return 1},s.Om=function(n){var t;switch(t=null,this.e){case 6:this.b==0?t="(?:"+this.a.Om(n)+")":t="("+this.a.Om(n)+")";break;case 20:t="(?="+this.a.Om(n)+")";break;case 21:t="(?!"+this.a.Om(n)+")";break;case 22:t="(?<="+this.a.Om(n)+")";break;case 23:t="(?"+this.a.Om(n)+")"}return t},s.b=0,v(Td,"RegEx/Token/ParenToken",822),p(517,121,{3:1,121:1,517:1},DL),s.Km=function(){return this.b},s.Om=function(n){return this.e==12?"\\"+this.a:wNn(this.b)},s.a=0,v(Td,"RegEx/Token/StringToken",517),p(466,121,By,v6),s.Hm=function(n){$0(this,n)},s.Jm=function(n){return u(Ab(this.a,n),121)},s.Nm=function(){return this.a?this.a.a.c.length:0},s.Om=function(n){var t,i,r,c,o;if(this.e==1){if(this.a.a.c.length==2)t=u(Ab(this.a,0),121),i=u(Ab(this.a,1),121),i.e==3&&i.Jm(0)==t?c=t.Om(n)+"+":i.e==9&&i.Jm(0)==t?c=t.Om(n)+"+?":c=t.Om(n)+(""+i.Om(n));else{for(o=new ed,r=0;r=this.c.b:this.a<=this.c.b},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Vb=function(){return this.b-1},s.Qb=function(){throw x(new Qh(Pnn))},s.a=0,s.b=0,v(ife,"ExclusiveRange/RangeIterator",259);var gl=l5(v$,"C"),pt=l5(h8,"I"),$o=l5(jv,"Z"),Ag=l5(d8,"J"),zo=l5(l8,"B"),Dr=l5(f8,"D"),Ap=l5(a8,"F"),hm=l5(b8,"S"),DJn=Pi("org.eclipse.elk.core.labels","ILabelManager"),hpe=Pi(ac,"DiagnosticChain"),dpe=Pi(snn,"ResourceSet"),bpe=v(ac,"InvocationTargetException",null),Sdn=(bM(),S8n),_dn=_dn=u_n;A7n(Wgn),B7n("permProps",[[["locale","default"],[Onn,"gecko1_8"]],[["locale","default"],[Onn,"safari"]]]),_dn(null,"elk",null)}).call(this)}).call(this,typeof Idn<"u"?Idn:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(g,k,E){function A(te){"@babel/helpers - typeof";return A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_e){return typeof _e}:function(_e){return _e&&typeof Symbol=="function"&&_e.constructor===Symbol&&_e!==Symbol.prototype?"symbol":typeof _e},A(te)}function m(te,_e,we){return Object.defineProperty(te,"prototype",{writable:!1}),te}function _(te,_e){if(!(te instanceof _e))throw new TypeError("Cannot call a class as a function")}function N(te,_e,we){return _e=z(_e),L(te,U()?Reflect.construct(_e,we||[],z(te).constructor):_e.apply(te,we))}function L(te,_e){if(_e&&(A(_e)=="object"||typeof _e=="function"))return _e;if(_e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F(te)}function F(te){if(te===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return te}function U(){try{var te=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(U=function(){return!!te})()}function z(te){return z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(_e){return _e.__proto__||Object.getPrototypeOf(_e)},z(te)}function W(te,_e){if(typeof _e!="function"&&_e!==null)throw new TypeError("Super expression must either be null or a function");te.prototype=Object.create(_e&&_e.prototype,{constructor:{value:te,writable:!0,configurable:!0}}),Object.defineProperty(te,"prototype",{writable:!1}),_e&&ge(te,_e)}function ge(te,_e){return ge=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(we,Ve){return we.__proto__=Ve,we},ge(te,_e)}var V=g("./elk-api.js").default,ve=(function(te){function _e(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};_(this,_e);var Ve=Object.assign({},we),Bn=!1;try{g.resolve("web-worker"),Bn=!0}catch{}if(we.workerUrl)if(Bn){var Qn=g("web-worker");Ve.workerFactory=function(hi){return new Qn(hi)}}else console.warn(`Web worker requested but 'web-worker' package not installed. -Consider installing the package or pass your own 'workerFactory' to ELK's constructor. -... Falling back to non-web worker version.`);if(!Ve.workerFactory){var mt=g("./elk-worker.min.js"),Dt=mt.Worker;Ve.workerFactory=function(hi){return new Dt(hi)}}return N(this,_e,[Ve])}return W(_e,te),m(_e)})(V);Object.defineProperty(k.exports,"__esModule",{value:!0}),k.exports=ve,ve.default=ve},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(g,k,E){var A=typeof Worker<"u"?Worker:void 0;k.exports=A},{}]},{},[3])(3)})})(Ape)),Ape.exports}var _zn=Szn();const jzn=QJn(_zn),Izn=new jzn;async function $zn(f,h){const g=f.value;if(!g)return;const k=[],E=[];k.push({id:"__semantics__",width:200,height:60});for(const L of g.calculationViews)k.push({id:L.id,width:180,height:50});const A=g.calculationViews.map(L=>L.id);for(const L of g.calculationViews){g.calculationViews.some(U=>U.inputs.some(z=>z.node===L.id))||E.push({id:`e-${L.id}-sem`,sources:[L.id],targets:["__semantics__"]});for(const U of L.inputs)A.includes(U.node)&&E.push({id:`e-${U.node}-${L.id}`,sources:[U.node],targets:[L.id]})}const m={id:"root",layoutOptions:{"elk.algorithm":"layered","elk.direction":"UP","elk.spacing.nodeNode":"80","elk.layered.spacing.nodeNodeBetweenLayers":"100","elk.padding":"[top=50,left=50,bottom=50,right=50]"},children:k,edges:E},_=await Izn.layout(m),N=[];for(const L of _.children||[]){const F=Math.round(L.x??0),U=Math.round(L.y??0);N.push(new t0n(f,L.id,{x:F,y:U}))}N.length>0&&h.push(new n0n(N,"Auto-layout"))}function pP(f){return W1n()?(uX(f),!0):!1}function M3(f){return typeof f=="function"?f():ut(f)}const Nzn=typeof window<"u"&&typeof document<"u",xzn=f=>typeof f<"u",Pzn=Object.prototype.toString,Ozn=f=>Pzn.call(f)==="[object Object]",Dzn=()=>{};function Lzn(f,h){function g(...k){return new Promise((E,A)=>{Promise.resolve(f(()=>h.apply(this,k),{fn:h,thisArg:this,args:k})).then(E).catch(A)})}return g}const y0n=f=>f();function Fzn(f=y0n){const h=cr(!0);function g(){h.value=!1}function k(){h.value=!0}const E=(...A)=>{h.value&&f(...A)};return{isActive:UJn(h),pause:g,resume:k,eventFilter:E}}function Rdn(f,h=!1,g="Timeout"){return new Promise((k,E)=>{setTimeout(h?()=>E(g):k,f)})}function Rzn(f,h,g={}){const{eventFilter:k=y0n,...E}=g;return No(f,Lzn(k,h),E)}function MT(f,h,g={}){const{eventFilter:k,...E}=g,{eventFilter:A,pause:m,resume:_,isActive:N}=Fzn(k);return{stop:Rzn(f,h,{...E,eventFilter:A}),pause:m,resume:_,isActive:N}}function Bzn(f,h={}){if(!g2e(f))return zJn(f);const g=Array.isArray(f.value)?Array.from({length:f.value.length}):{};for(const k in f.value)g[k]=qJn(()=>({get(){return f.value[k]},set(E){var A;if((A=M3(h.replaceRef))!=null?A:!0)if(Array.isArray(f.value)){const _=[...f.value];_[k]=E,f.value=_}else{const _={...f.value,[k]:E};Object.setPrototypeOf(_,Object.getPrototypeOf(f.value)),f.value=_}else f.value[k]=E}}));return g}function Hpe(f,h=!1){function g(U,{flush:z="sync",deep:W=!1,timeout:ge,throwOnTimeout:V}={}){let ve=null;const _e=[new Promise(we=>{ve=No(f,Ve=>{U(Ve)!==h&&(ve==null||ve(),we(Ve))},{flush:z,deep:W,immediate:!0})})];return ge!=null&&_e.push(Rdn(ge,V).then(()=>M3(f)).finally(()=>ve==null?void 0:ve())),Promise.race(_e)}function k(U,z){if(!g2e(U))return g(Ve=>Ve===U,z);const{flush:W="sync",deep:ge=!1,timeout:V,throwOnTimeout:ve}=z??{};let te=null;const we=[new Promise(Ve=>{te=No([f,U],([Bn,Qn])=>{h!==(Bn===Qn)&&(te==null||te(),Ve(Bn))},{flush:W,deep:ge,immediate:!0})})];return V!=null&&we.push(Rdn(V,ve).then(()=>M3(f)).finally(()=>(te==null||te(),M3(f)))),Promise.race(we)}function E(U){return g(z=>!!z,U)}function A(U){return k(null,U)}function m(U){return k(void 0,U)}function _(U){return g(Number.isNaN,U)}function N(U,z){return g(W=>{const ge=Array.from(W);return ge.includes(U)||ge.includes(M3(U))},z)}function L(U){return F(1,U)}function F(U=1,z){let W=-1;return g(()=>(W+=1,W>=U),z)}return Array.isArray(M3(f))?{toMatch:g,toContains:N,changed:L,changedTimes:F,get not(){return Hpe(f,!h)}}:{toMatch:g,toBe:k,toBeTruthy:E,toBeNull:A,toBeNaN:_,toBeUndefined:m,changed:L,changedTimes:F,get not(){return Hpe(f,!h)}}}function zpe(f){return Hpe(f)}function Jzn(f){var h;const g=M3(f);return(h=g==null?void 0:g.$el)!=null?h:g}const k0n=Nzn?window:void 0;function E0n(...f){let h,g,k,E;if(typeof f[0]=="string"||Array.isArray(f[0])?([g,k,E]=f,h=k0n):[h,g,k,E]=f,!h)return Dzn;Array.isArray(g)||(g=[g]),Array.isArray(k)||(k=[k]);const A=[],m=()=>{A.forEach(F=>F()),A.length=0},_=(F,U,z,W)=>(F.addEventListener(U,z,W),()=>F.removeEventListener(U,z,W)),N=No(()=>[Jzn(h),M3(E)],([F,U])=>{if(m(),!F)return;const z=Ozn(U)?{...U}:U;A.push(...g.flatMap(W=>k.map(ge=>_(F,W,ge,z))))},{immediate:!0,flush:"post"}),L=()=>{N(),m()};return pP(L),L}function Gzn(f){return typeof f=="function"?f:typeof f=="string"?h=>h.key===f:Array.isArray(f)?h=>f.includes(h.key):()=>!0}function Bdn(...f){let h,g,k={};f.length===3?(h=f[0],g=f[1],k=f[2]):f.length===2?typeof f[1]=="object"?(h=!0,g=f[0],k=f[1]):(h=f[0],g=f[1]):(h=!0,g=f[0]);const{target:E=k0n,eventName:A="keydown",passive:m=!1,dedupe:_=!1}=k,N=Gzn(h);return E0n(E,A,F=>{F.repeat&&M3(_)||N(F)&&g(F)},m)}function Hzn(f){return JSON.parse(JSON.stringify(f))}function Tpe(f,h,g,k={}){var E,A,m;const{clone:_=!1,passive:N=!1,eventName:L,deep:F=!1,defaultValue:U,shouldEmit:z}=k,W=JT(),ge=g||(W==null?void 0:W.emit)||((E=W==null?void 0:W.$emit)==null?void 0:E.bind(W))||((m=(A=W==null?void 0:W.proxy)==null?void 0:A.$emit)==null?void 0:m.bind(W==null?void 0:W.proxy));let V=L;h||(h="modelValue"),V=V||`update:${h.toString()}`;const ve=we=>_?typeof _=="function"?_(we):Hzn(we):we,te=()=>xzn(f[h])?ve(f[h]):U,_e=we=>{z?z(we)&&ge(V,we):ge(V,we)};if(N){const we=te(),Ve=cr(we);let Bn=!1;return No(()=>f[h],Qn=>{Bn||(Bn=!0,Ve.value=ve(Qn),j3(()=>Bn=!1))}),No(Ve,Qn=>{!Bn&&(Qn!==f[h]||F)&&_e(Qn)},{deep:F}),Ve}else return Ai({get(){return te()},set(we){_e(we)}})}var zzn={value:()=>{}};function LX(){for(var f=0,h=arguments.length,g={},k;f=0&&(k=g.slice(E+1),g=g.slice(0,E)),g&&!h.hasOwnProperty(g))throw new Error("unknown type: "+g);return{type:g,name:k}})}sX.prototype=LX.prototype={constructor:sX,on:function(f,h){var g=this._,k=qzn(f+"",g),E,A=-1,m=k.length;if(arguments.length<2){for(;++A0)for(var g=new Array(E),k=0,E,A;k=0&&(h=f.slice(0,g))!=="xmlns"&&(f=f.slice(g+1)),Gdn.hasOwnProperty(h)?{space:Gdn[h],local:f}:f}function Vzn(f){return function(){var h=this.ownerDocument,g=this.namespaceURI;return g===qpe&&h.documentElement.namespaceURI===qpe?h.createElement(f):h.createElementNS(g,f)}}function Xzn(f){return function(){return this.ownerDocument.createElementNS(f.space,f.local)}}function C0n(f){var h=FX(f);return(h.local?Xzn:Vzn)(h)}function Kzn(){}function y2e(f){return f==null?Kzn:function(){return this.querySelector(f)}}function Wzn(f){typeof f!="function"&&(f=y2e(f));for(var h=this._groups,g=h.length,k=new Array(g),E=0;E=we&&(we=_e+1);!(Bn=ve[we])&&++we=0;)(m=k[E])&&(A&&m.compareDocumentPosition(A)^4&&A.parentNode.insertBefore(m,A),A=m);return this}function kqn(f){f||(f=Eqn);function h(U,z){return U&&z?f(U.__data__,z.__data__):!U-!z}for(var g=this._groups,k=g.length,E=new Array(k),A=0;Ah?1:f>=h?0:NaN}function Cqn(){var f=arguments[0];return arguments[0]=this,f.apply(null,arguments),this}function Aqn(){return Array.from(this)}function Tqn(){for(var f=this._groups,h=0,g=f.length;h1?this.each((h==null?Dqn:typeof h=="function"?Fqn:Lqn)(f,h,g??"")):OT(this.node(),f)}function OT(f,h){return f.style.getPropertyValue(h)||_0n(f).getComputedStyle(f,null).getPropertyValue(h)}function Bqn(f){return function(){delete this[f]}}function Jqn(f,h){return function(){this[f]=h}}function Gqn(f,h){return function(){var g=h.apply(this,arguments);g==null?delete this[f]:this[f]=g}}function Hqn(f,h){return arguments.length>1?this.each((h==null?Bqn:typeof h=="function"?Gqn:Jqn)(f,h)):this.node()[f]}function j0n(f){return f.trim().split(/^|\s+/)}function k2e(f){return f.classList||new I0n(f)}function I0n(f){this._node=f,this._names=j0n(f.getAttribute("class")||"")}I0n.prototype={add:function(f){var h=this._names.indexOf(f);h<0&&(this._names.push(f),this._node.setAttribute("class",this._names.join(" ")))},remove:function(f){var h=this._names.indexOf(f);h>=0&&(this._names.splice(h,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(f){return this._names.indexOf(f)>=0}};function $0n(f,h){for(var g=k2e(f),k=-1,E=h.length;++k=0&&(g=h.slice(k+1),h=h.slice(0,k)),{type:h,name:g}})}function pUn(f){return function(){var h=this.__on;if(h){for(var g=0,k=-1,E=h.length,A;g()=>f;function Upe(f,{sourceEvent:h,subject:g,target:k,identifier:E,active:A,x:m,y:_,dx:N,dy:L,dispatch:F}){Object.defineProperties(this,{type:{value:f,enumerable:!0,configurable:!0},sourceEvent:{value:h,enumerable:!0,configurable:!0},subject:{value:g,enumerable:!0,configurable:!0},target:{value:k,enumerable:!0,configurable:!0},identifier:{value:E,enumerable:!0,configurable:!0},active:{value:A,enumerable:!0,configurable:!0},x:{value:m,enumerable:!0,configurable:!0},y:{value:_,enumerable:!0,configurable:!0},dx:{value:N,enumerable:!0,configurable:!0},dy:{value:L,enumerable:!0,configurable:!0},_:{value:F}})}Upe.prototype.on=function(){var f=this._.on.apply(this._,arguments);return f===this._?this:f};function SUn(f){return!f.ctrlKey&&!f.button}function _Un(){return this.parentNode}function jUn(f,h){return h??{x:f.x,y:f.y}}function IUn(){return navigator.maxTouchPoints||"ontouchstart"in this}function $Un(){var f=SUn,h=_Un,g=jUn,k=IUn,E={},A=LX("start","drag","end"),m=0,_,N,L,F,U=0;function z(Ve){Ve.on("mousedown.drag",W).filter(k).on("touchstart.drag",ve).on("touchmove.drag",te,MUn).on("touchend.drag touchcancel.drag",_e).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function W(Ve,Bn){if(!(F||!f.call(this,Ve,Bn))){var Qn=we(this,h.call(this,Ve,Bn),Ve,Bn,"mouse");Qn&&(Sp(Ve.view).on("mousemove.drag",ge,mP).on("mouseup.drag",V,mP),O0n(Ve.view),Mpe(Ve),L=!1,_=Ve.clientX,N=Ve.clientY,Qn("start",Ve))}}function ge(Ve){if(jT(Ve),!L){var Bn=Ve.clientX-_,Qn=Ve.clientY-N;L=Bn*Bn+Qn*Qn>U}E.mouse("drag",Ve)}function V(Ve){Sp(Ve.view).on("mousemove.drag mouseup.drag",null),D0n(Ve.view,L),jT(Ve),E.mouse("end",Ve)}function ve(Ve,Bn){if(f.call(this,Ve,Bn)){var Qn=Ve.changedTouches,mt=h.call(this,Ve,Bn),Dt=Qn.length,hi,Gt;for(hi=0;hi>8&15|h>>4&240,h>>4&15|h&240,(h&15)<<4|h&15,1):g===8?VV(h>>24&255,h>>16&255,h>>8&255,(h&255)/255):g===4?VV(h>>12&15|h>>8&240,h>>8&15|h>>4&240,h>>4&15|h&240,((h&15)<<4|h&15)/255):null):(h=xUn.exec(f))?new W1(h[1],h[2],h[3],1):(h=PUn.exec(f))?new W1(h[1]*255/100,h[2]*255/100,h[3]*255/100,1):(h=OUn.exec(f))?VV(h[1],h[2],h[3],h[4]):(h=DUn.exec(f))?VV(h[1]*255/100,h[2]*255/100,h[3]*255/100,h[4]):(h=LUn.exec(f))?Kdn(h[1],h[2]/100,h[3]/100,1):(h=FUn.exec(f))?Kdn(h[1],h[2]/100,h[3]/100,h[4]):Hdn.hasOwnProperty(f)?Udn(Hdn[f]):f==="transparent"?new W1(NaN,NaN,NaN,0):null}function Udn(f){return new W1(f>>16&255,f>>8&255,f&255,1)}function VV(f,h,g,k){return k<=0&&(f=h=g=NaN),new W1(f,h,g,k)}function JUn(f){return f instanceof $P||(f=i7(f)),f?(f=f.rgb(),new W1(f.r,f.g,f.b,f.opacity)):new W1}function Vpe(f,h,g,k){return arguments.length===1?JUn(f):new W1(f,h,g,k??1)}function W1(f,h,g,k){this.r=+f,this.g=+h,this.b=+g,this.opacity=+k}E2e(W1,Vpe,L0n($P,{brighter(f){return f=f==null?kX:Math.pow(kX,f),new W1(this.r*f,this.g*f,this.b*f,this.opacity)},darker(f){return f=f==null?vP:Math.pow(vP,f),new W1(this.r*f,this.g*f,this.b*f,this.opacity)},rgb(){return this},clamp(){return new W1(Zk(this.r),Zk(this.g),Zk(this.b),EX(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:Vdn,formatHex:Vdn,formatHex8:GUn,formatRgb:Xdn,toString:Xdn}));function Vdn(){return`#${Yk(this.r)}${Yk(this.g)}${Yk(this.b)}`}function GUn(){return`#${Yk(this.r)}${Yk(this.g)}${Yk(this.b)}${Yk((isNaN(this.opacity)?1:this.opacity)*255)}`}function Xdn(){const f=EX(this.opacity);return`${f===1?"rgb(":"rgba("}${Zk(this.r)}, ${Zk(this.g)}, ${Zk(this.b)}${f===1?")":`, ${f})`}`}function EX(f){return isNaN(f)?1:Math.max(0,Math.min(1,f))}function Zk(f){return Math.max(0,Math.min(255,Math.round(f)||0))}function Yk(f){return f=Zk(f),(f<16?"0":"")+f.toString(16)}function Kdn(f,h,g,k){return k<=0?f=h=g=NaN:g<=0||g>=1?f=h=NaN:h<=0&&(f=NaN),new _p(f,h,g,k)}function F0n(f){if(f instanceof _p)return new _p(f.h,f.s,f.l,f.opacity);if(f instanceof $P||(f=i7(f)),!f)return new _p;if(f instanceof _p)return f;f=f.rgb();var h=f.r/255,g=f.g/255,k=f.b/255,E=Math.min(h,g,k),A=Math.max(h,g,k),m=NaN,_=A-E,N=(A+E)/2;return _?(h===A?m=(g-k)/_+(g0&&N<1?0:m,new _p(m,_,N,f.opacity)}function HUn(f,h,g,k){return arguments.length===1?F0n(f):new _p(f,h,g,k??1)}function _p(f,h,g,k){this.h=+f,this.s=+h,this.l=+g,this.opacity=+k}E2e(_p,HUn,L0n($P,{brighter(f){return f=f==null?kX:Math.pow(kX,f),new _p(this.h,this.s,this.l*f,this.opacity)},darker(f){return f=f==null?vP:Math.pow(vP,f),new _p(this.h,this.s,this.l*f,this.opacity)},rgb(){var f=this.h%360+(this.h<0)*360,h=isNaN(f)||isNaN(this.s)?0:this.s,g=this.l,k=g+(g<.5?g:1-g)*h,E=2*g-k;return new W1(Spe(f>=240?f-240:f+120,E,k),Spe(f,E,k),Spe(f<120?f+240:f-120,E,k),this.opacity)},clamp(){return new _p(Wdn(this.h),XV(this.s),XV(this.l),EX(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 f=EX(this.opacity);return`${f===1?"hsl(":"hsla("}${Wdn(this.h)}, ${XV(this.s)*100}%, ${XV(this.l)*100}%${f===1?")":`, ${f})`}`}}));function Wdn(f){return f=(f||0)%360,f<0?f+360:f}function XV(f){return Math.max(0,Math.min(1,f||0))}function Spe(f,h,g){return(f<60?h+(g-h)*f/60:f<180?g:f<240?h+(g-h)*(240-f)/60:h)*255}const C2e=f=>()=>f;function zUn(f,h){return function(g){return f+g*h}}function qUn(f,h,g){return f=Math.pow(f,g),h=Math.pow(h,g)-f,g=1/g,function(k){return Math.pow(f+k*h,g)}}function UUn(f){return(f=+f)==1?R0n:function(h,g){return g-h?qUn(h,g,f):C2e(isNaN(h)?g:h)}}function R0n(f,h){var g=h-f;return g?zUn(f,g):C2e(isNaN(f)?h:f)}const CX=(function f(h){var g=UUn(h);function k(E,A){var m=g((E=Vpe(E)).r,(A=Vpe(A)).r),_=g(E.g,A.g),N=g(E.b,A.b),L=R0n(E.opacity,A.opacity);return function(F){return E.r=m(F),E.g=_(F),E.b=N(F),E.opacity=L(F),E+""}}return k.gamma=f,k})(1);function VUn(f,h){h||(h=[]);var g=f?Math.min(h.length,f.length):0,k=h.slice(),E;return function(A){for(E=0;Eg&&(A=h.slice(g,A),_[m]?_[m]+=A:_[++m]=A),(k=k[0])===(E=E[0])?_[m]?_[m]+=E:_[++m]=E:(_[++m]=null,N.push({i:m,x:gm(k,E)})),g=_pe.lastIndex;return g180?F+=360:F-L>180&&(L+=360),z.push({i:U.push(E(U)+"rotate(",null,k)-2,x:gm(L,F)})):F&&U.push(E(U)+"rotate("+F+k)}function _(L,F,U,z){L!==F?z.push({i:U.push(E(U)+"skewX(",null,k)-2,x:gm(L,F)}):F&&U.push(E(U)+"skewX("+F+k)}function N(L,F,U,z,W,ge){if(L!==U||F!==z){var V=W.push(E(W)+"scale(",null,",",null,")");ge.push({i:V-4,x:gm(L,U)},{i:V-2,x:gm(F,z)})}else(U!==1||z!==1)&&W.push(E(W)+"scale("+U+","+z+")")}return function(L,F){var U=[],z=[];return L=f(L),F=f(F),A(L.translateX,L.translateY,F.translateX,F.translateY,U,z),m(L.rotate,F.rotate,U,z),_(L.skewX,F.skewX,U,z),N(L.scaleX,L.scaleY,F.scaleX,F.scaleY,U,z),L=F=null,function(W){for(var ge=-1,V=z.length,ve;++ge=0&&f._call.call(void 0,h),f=f._next;--DT}function Zdn(){r7=(TX=kP.now())+RX,DT=sP=0;try{sVn()}finally{DT=0,fVn(),r7=0}}function lVn(){var f=kP.now(),h=f-TX;h>H0n&&(RX-=h,TX=f)}function fVn(){for(var f,h=AX,g,k=1/0;h;)h._call?(k>h._time&&(k=h._time),f=h,h=h._next):(g=h._next,h._next=null,h=f?f._next=g:AX=g);lP=f,Wpe(k)}function Wpe(f){if(!DT){sP&&(sP=clearTimeout(sP));var h=f-r7;h>24?(f<1/0&&(sP=setTimeout(Zdn,f-kP.now()-RX)),rP&&(rP=clearInterval(rP))):(rP||(TX=kP.now(),rP=setInterval(lVn,H0n)),DT=1,z0n(Zdn))}}function e1n(f,h,g){var k=new MX;return h=h==null?0:+h,k.restart(E=>{k.stop(),f(E+h)},h,g),k}var aVn=LX("start","end","cancel","interrupt"),hVn=[],U0n=0,n1n=1,Ype=2,fX=3,t1n=4,Qpe=5,aX=6;function BX(f,h,g,k,E,A){var m=f.__transition;if(!m)f.__transition={};else if(g in m)return;dVn(f,g,{name:h,index:k,group:E,on:aVn,tween:hVn,time:A.time,delay:A.delay,duration:A.duration,ease:A.ease,timer:null,state:U0n})}function T2e(f,h){var g=Ip(f,h);if(g.state>U0n)throw new Error("too late; already scheduled");return g}function ym(f,h){var g=Ip(f,h);if(g.state>fX)throw new Error("too late; already running");return g}function Ip(f,h){var g=f.__transition;if(!g||!(g=g[h]))throw new Error("transition not found");return g}function dVn(f,h,g){var k=f.__transition,E;k[h]=g,g.timer=q0n(A,0,g.time);function A(L){g.state=n1n,g.timer.restart(m,g.delay,g.time),g.delay<=L&&m(L-g.delay)}function m(L){var F,U,z,W;if(g.state!==n1n)return N();for(F in k)if(W=k[F],W.name===g.name){if(W.state===fX)return e1n(m);W.state===t1n?(W.state=aX,W.timer.stop(),W.on.call("interrupt",f,f.__data__,W.index,W.group),delete k[F]):+FYpe&&k.state=0&&(h=h.slice(0,g)),!h||h==="start"})}function HVn(f,h,g){var k,E,A=GVn(h)?T2e:ym;return function(){var m=A(this,f),_=m.on;_!==k&&(E=(k=_).copy()).on(h,g),m.on=E}}function zVn(f,h){var g=this._id;return arguments.length<2?Ip(this.node(),g).on.on(f):this.each(HVn(g,f,h))}function qVn(f){return function(){var h=this.parentNode;for(var g in this.__transition)if(+g!==f)return;h&&h.removeChild(this)}}function UVn(){return this.on("end.remove",qVn(this._id))}function VVn(f){var h=this._name,g=this._id;typeof f!="function"&&(f=y2e(f));for(var k=this._groups,E=k.length,A=new Array(E),m=0;m()=>f;function mXn(f,{sourceEvent:h,target:g,transform:k,dispatch:E}){Object.defineProperties(this,{type:{value:f,enumerable:!0,configurable:!0},sourceEvent:{value:h,enumerable:!0,configurable:!0},target:{value:g,enumerable:!0,configurable:!0},transform:{value:k,enumerable:!0,configurable:!0},_:{value:E}})}function S3(f,h,g){this.k=f,this.x=h,this.y=g}S3.prototype={constructor:S3,scale:function(f){return f===1?this:new S3(this.k*f,this.x,this.y)},translate:function(f,h){return f===0&h===0?this:new S3(this.k,this.x+this.k*f,this.y+this.k*h)},apply:function(f){return[f[0]*this.k+this.x,f[1]*this.k+this.y]},applyX:function(f){return f*this.k+this.x},applyY:function(f){return f*this.k+this.y},invert:function(f){return[(f[0]-this.x)/this.k,(f[1]-this.y)/this.k]},invertX:function(f){return(f-this.x)/this.k},invertY:function(f){return(f-this.y)/this.k},rescaleX:function(f){return f.copy().domain(f.range().map(this.invertX,this).map(f.invert,f))},rescaleY:function(f){return f.copy().domain(f.range().map(this.invertY,this).map(f.invert,f))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var LT=new S3(1,0,0);S3.prototype;function jpe(f){f.stopImmediatePropagation()}function cP(f){f.preventDefault(),f.stopImmediatePropagation()}function vXn(f){return(!f.ctrlKey||f.type==="wheel")&&!f.button}function yXn(){var f=this;return f instanceof SVGElement?(f=f.ownerSVGElement||f,f.hasAttribute("viewBox")?(f=f.viewBox.baseVal,[[f.x,f.y],[f.x+f.width,f.y+f.height]]):[[0,0],[f.width.baseVal.value,f.height.baseVal.value]]):[[0,0],[f.clientWidth,f.clientHeight]]}function i1n(){return this.__zoom||LT}function kXn(f){return-f.deltaY*(f.deltaMode===1?.05:f.deltaMode?1:.002)*(f.ctrlKey?10:1)}function EXn(){return navigator.maxTouchPoints||"ontouchstart"in this}function CXn(f,h,g){var k=f.invertX(h[0][0])-g[0][0],E=f.invertX(h[1][0])-g[1][0],A=f.invertY(h[0][1])-g[0][1],m=f.invertY(h[1][1])-g[1][1];return f.translate(E>k?(k+E)/2:Math.min(0,k)||Math.max(0,E),m>A?(A+m)/2:Math.min(0,A)||Math.max(0,m))}function AXn(){var f=vXn,h=yXn,g=CXn,k=kXn,E=EXn,A=[0,1/0],m=[[-1/0,-1/0],[1/0,1/0]],_=250,N=lX,L=LX("start","zoom","end"),F,U,z,W=500,ge=150,V=0,ve=10;function te(ce){ce.property("__zoom",i1n).on("wheel.zoom",Dt,{passive:!1}).on("mousedown.zoom",hi).on("dblclick.zoom",Gt).filter(E).on("touchstart.zoom",Vt).on("touchmove.zoom",Ne).on("touchend.zoom touchcancel.zoom",q).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}te.transform=function(ce,cn,Se,yn){var sn=ce.selection?ce.selection():ce;sn.property("__zoom",i1n),ce!==sn?Bn(ce,cn,Se,yn):sn.interrupt().each(function(){Qn(this,arguments).event(yn).start().zoom(null,typeof cn=="function"?cn.apply(this,arguments):cn).end()})},te.scaleBy=function(ce,cn,Se,yn){te.scaleTo(ce,function(){var sn=this.__zoom.k,Ln=typeof cn=="function"?cn.apply(this,arguments):cn;return sn*Ln},Se,yn)},te.scaleTo=function(ce,cn,Se,yn){te.transform(ce,function(){var sn=h.apply(this,arguments),Ln=this.__zoom,An=Se==null?Ve(sn):typeof Se=="function"?Se.apply(this,arguments):Se,lt=Ln.invert(An),ii=typeof cn=="function"?cn.apply(this,arguments):cn;return g(we(_e(Ln,ii),An,lt),sn,m)},Se,yn)},te.translateBy=function(ce,cn,Se,yn){te.transform(ce,function(){return g(this.__zoom.translate(typeof cn=="function"?cn.apply(this,arguments):cn,typeof Se=="function"?Se.apply(this,arguments):Se),h.apply(this,arguments),m)},null,yn)},te.translateTo=function(ce,cn,Se,yn,sn){te.transform(ce,function(){var Ln=h.apply(this,arguments),An=this.__zoom,lt=yn==null?Ve(Ln):typeof yn=="function"?yn.apply(this,arguments):yn;return g(LT.translate(lt[0],lt[1]).scale(An.k).translate(typeof cn=="function"?-cn.apply(this,arguments):-cn,typeof Se=="function"?-Se.apply(this,arguments):-Se),Ln,m)},yn,sn)};function _e(ce,cn){return cn=Math.max(A[0],Math.min(A[1],cn)),cn===ce.k?ce:new S3(cn,ce.x,ce.y)}function we(ce,cn,Se){var yn=cn[0]-Se[0]*ce.k,sn=cn[1]-Se[1]*ce.k;return yn===ce.x&&sn===ce.y?ce:new S3(ce.k,yn,sn)}function Ve(ce){return[(+ce[0][0]+ +ce[1][0])/2,(+ce[0][1]+ +ce[1][1])/2]}function Bn(ce,cn,Se,yn){ce.on("start.zoom",function(){Qn(this,arguments).event(yn).start()}).on("interrupt.zoom end.zoom",function(){Qn(this,arguments).event(yn).end()}).tween("zoom",function(){var sn=this,Ln=arguments,An=Qn(sn,Ln).event(yn),lt=h.apply(sn,Ln),ii=Se==null?Ve(lt):typeof Se=="function"?Se.apply(sn,Ln):Se,ki=Math.max(lt[1][0]-lt[0][0],lt[1][1]-lt[0][1]),Li=sn.__zoom,Xt=typeof cn=="function"?cn.apply(sn,Ln):cn,ni=N(Li.invert(ii).concat(ki/Li.k),Xt.invert(ii).concat(ki/Xt.k));return function(an){if(an===1)an=Xt;else{var Zn=ni(an),gr=ki/Zn[2];an=new S3(gr,ii[0]-Zn[0]*gr,ii[1]-Zn[1]*gr)}An.zoom(null,an)}})}function Qn(ce,cn,Se){return!Se&&ce.__zooming||new mt(ce,cn)}function mt(ce,cn){this.that=ce,this.args=cn,this.active=0,this.sourceEvent=null,this.extent=h.apply(ce,cn),this.taps=0}mt.prototype={event:function(ce){return ce&&(this.sourceEvent=ce),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(ce,cn){return this.mouse&&ce!=="mouse"&&(this.mouse[1]=cn.invert(this.mouse[0])),this.touch0&&ce!=="touch"&&(this.touch0[1]=cn.invert(this.touch0[0])),this.touch1&&ce!=="touch"&&(this.touch1[1]=cn.invert(this.touch1[0])),this.that.__zoom=cn,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(ce){var cn=Sp(this.that).datum();L.call(ce,this.that,new mXn(ce,{sourceEvent:this.sourceEvent,target:te,transform:this.that.__zoom,dispatch:L}),cn)}};function Dt(ce,...cn){if(!f.apply(this,arguments))return;var Se=Qn(this,cn).event(ce),yn=this.__zoom,sn=Math.max(A[0],Math.min(A[1],yn.k*Math.pow(2,k.apply(this,arguments)))),Ln=bm(ce);if(Se.wheel)(Se.mouse[0][0]!==Ln[0]||Se.mouse[0][1]!==Ln[1])&&(Se.mouse[1]=yn.invert(Se.mouse[0]=Ln)),clearTimeout(Se.wheel);else{if(yn.k===sn)return;Se.mouse=[Ln,yn.invert(Ln)],hX(this),Se.start()}cP(ce),Se.wheel=setTimeout(An,ge),Se.zoom("mouse",g(we(_e(yn,sn),Se.mouse[0],Se.mouse[1]),Se.extent,m));function An(){Se.wheel=null,Se.end()}}function hi(ce,...cn){if(z||!f.apply(this,arguments))return;var Se=ce.currentTarget,yn=Qn(this,cn,!0).event(ce),sn=Sp(ce.view).on("mousemove.zoom",ii,!0).on("mouseup.zoom",ki,!0),Ln=bm(ce,Se),An=ce.clientX,lt=ce.clientY;O0n(ce.view),jpe(ce),yn.mouse=[Ln,this.__zoom.invert(Ln)],hX(this),yn.start();function ii(Li){if(cP(Li),!yn.moved){var Xt=Li.clientX-An,ni=Li.clientY-lt;yn.moved=Xt*Xt+ni*ni>V}yn.event(Li).zoom("mouse",g(we(yn.that.__zoom,yn.mouse[0]=bm(Li,Se),yn.mouse[1]),yn.extent,m))}function ki(Li){sn.on("mousemove.zoom mouseup.zoom",null),D0n(Li.view,yn.moved),cP(Li),yn.event(Li).end()}}function Gt(ce,...cn){if(f.apply(this,arguments)){var Se=this.__zoom,yn=bm(ce.changedTouches?ce.changedTouches[0]:ce,this),sn=Se.invert(yn),Ln=Se.k*(ce.shiftKey?.5:2),An=g(we(_e(Se,Ln),yn,sn),h.apply(this,cn),m);cP(ce),_>0?Sp(this).transition().duration(_).call(Bn,An,yn,ce):Sp(this).call(te.transform,An,yn,ce)}}function Vt(ce,...cn){if(f.apply(this,arguments)){var Se=ce.touches,yn=Se.length,sn=Qn(this,cn,ce.changedTouches.length===yn).event(ce),Ln,An,lt,ii;for(jpe(ce),An=0;An(f.Left="left",f.Top="top",f.Right="right",f.Bottom="bottom",f))(xi||{}),S2e=(f=>(f.Partial="partial",f.Full="full",f))(S2e||{}),Vk=(f=>(f.Bezier="default",f.SimpleBezier="simple-bezier",f.Straight="straight",f.Step="step",f.SmoothStep="smoothstep",f))(Vk||{}),P4=(f=>(f.Strict="strict",f.Loose="loose",f))(P4||{}),Zpe=(f=>(f.Arrow="arrow",f.ArrowClosed="arrowclosed",f))(Zpe||{}),bP=(f=>(f.Free="free",f.Vertical="vertical",f.Horizontal="horizontal",f))(bP||{}),W0n=(f=>(f.TopLeft="top-left",f.TopCenter="top-center",f.TopRight="top-right",f.BottomLeft="bottom-left",f.BottomCenter="bottom-center",f.BottomRight="bottom-right",f))(W0n||{});const TXn=["INPUT","SELECT","TEXTAREA"],MXn=typeof document<"u"?document:null;function e2e(f){var h,g;const k=((g=(h=f.composedPath)==null?void 0:h.call(f))==null?void 0:g[0])||f.target,E=typeof(k==null?void 0:k.hasAttribute)=="function"?k.hasAttribute("contenteditable"):!1,A=typeof(k==null?void 0:k.closest)=="function"?k.closest(".nokey"):null;return TXn.includes(k==null?void 0:k.nodeName)||E||!!A}function SXn(f){return f.ctrlKey||f.metaKey||f.shiftKey||f.altKey}function r1n(f,h,g,k){const E=h.replace("+",` -`).replace(` - -`,` -+`).split(` -`).map(m=>m.trim().toLowerCase());if(E.length===1)return f.toLowerCase()===h.toLowerCase();k||g.add(f.toLowerCase());const A=E.every((m,_)=>g.has(m)&&Array.from(g.values())[_]===E[_]);return k&&g.delete(f.toLowerCase()),A}function _Xn(f,h){return g=>{if(!g.code&&!g.key)return!1;const k=jXn(g.code,f);return Array.isArray(f)?f.some(E=>r1n(g[k],E,h,g.type==="keyup")):r1n(g[k],f,h,g.type==="keyup")}}function jXn(f,h){return h.includes(f)?"code":"key"}function gP(f,h){const g=Ai(()=>mu(h==null?void 0:h.target)??MXn),k=pm(mu(f)===!0);let E=!1;const A=new Set;let m=N(mu(f));No(()=>mu(f),(L,F)=>{typeof F=="boolean"&&typeof L!="boolean"&&_(),m=N(L)},{immediate:!0}),E0n(["blur","contextmenu"],_),Bdn((...L)=>m(...L),L=>{var F,U;const z=mu(h==null?void 0:h.actInsideInputWithModifier)??!0,W=mu(h==null?void 0:h.preventDefault)??!1;if(E=SXn(L),(!E||E&&!z)&&e2e(L))return;const V=((U=(F=L.composedPath)==null?void 0:F.call(L))==null?void 0:U[0])||L.target,ve=(V==null?void 0:V.nodeName)==="BUTTON"||(V==null?void 0:V.nodeName)==="A";!W&&(E||!ve)&&L.preventDefault(),k.value=!0},{eventName:"keydown",target:g}),Bdn((...L)=>m(...L),L=>{const F=mu(h==null?void 0:h.actInsideInputWithModifier)??!0;if(k.value){if((!E||E&&!F)&&e2e(L))return;E=!1,k.value=!1}},{eventName:"keyup",target:g});function _(){E=!1,A.clear(),k.value=mu(f)===!0}function N(L){return L===null?(_(),()=>!1):typeof L=="boolean"?(_(),k.value=L,()=>!1):Array.isArray(L)||typeof L=="string"?_Xn(L,A):L}return k}const Y0n="vue-flow__node-desc",Q0n="vue-flow__edge-desc",IXn="vue-flow__aria-live",Z0n=["Enter"," ","Escape"],$T={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}};function SX(f){return{...f.computedPosition||{x:0,y:0},width:f.dimensions.width||0,height:f.dimensions.height||0}}function _X(f,h){const g=Math.max(0,Math.min(f.x+f.width,h.x+h.width)-Math.max(f.x,h.x)),k=Math.max(0,Math.min(f.y+f.height,h.y+h.height)-Math.max(f.y,h.y));return Math.ceil(g*k)}function JX(f){return{width:f.offsetWidth,height:f.offsetHeight}}function c7(f,h=0,g=1){return Math.min(Math.max(f,h),g)}function ebn(f,h){return{x:c7(f.x,h[0][0],h[1][0]),y:c7(f.y,h[0][1],h[1][1])}}function c1n(f){const h=f.getRootNode();return"elementFromPoint"in h?h:window.document}function O4(f){return f&&typeof f=="object"&&"id"in f&&"source"in f&&"target"in f}function e7(f){return f&&typeof f=="object"&&"id"in f&&"position"in f&&!O4(f)}function fP(f){return e7(f)&&"computedPosition"in f}function YV(f){return!Number.isNaN(f)&&Number.isFinite(f)}function $Xn(f){return YV(f.width)&&YV(f.height)&&YV(f.x)&&YV(f.y)}function NXn(f,h,g){const k={id:f.id.toString(),type:f.type??"default",dimensions:oX({width:0,height:0}),computedPosition:oX({z:0,...f.position}),handleBounds:{source:[],target:[]},draggable:void 0,selectable:void 0,connectable:void 0,focusable:void 0,selected:!1,dragging:!1,resizing:!1,initialized:!1,isParent:!1,position:{x:0,y:0},data:Lf(f.data)?f.data:{},events:oX(Lf(f.events)?f.events:{})};return Object.assign(h??k,f,{id:f.id.toString(),parentNode:g})}function nbn(f,h,g){var k,E;const A={id:f.id.toString(),type:f.type??(h==null?void 0:h.type)??"default",source:f.source.toString(),target:f.target.toString(),sourceHandle:(k=f.sourceHandle)==null?void 0:k.toString(),targetHandle:(E=f.targetHandle)==null?void 0:E.toString(),updatable:f.updatable??(g==null?void 0:g.updatable),selectable:f.selectable??(g==null?void 0:g.selectable),focusable:f.focusable??(g==null?void 0:g.focusable),data:Lf(f.data)?f.data:{},events:oX(Lf(f.events)?f.events:{}),label:f.label??"",interactionWidth:f.interactionWidth??(g==null?void 0:g.interactionWidth),...g??{}};return Object.assign(h??A,f,{id:f.id.toString()})}function tbn(f,h,g,k){const E=typeof f=="string"?f:f.id,A=new Set,m=k==="source"?"target":"source";for(const _ of g)_[m]===E&&A.add(_[k]);return h.filter(_=>A.has(_.id))}function xXn(...f){if(f.length===3){const[A,m,_]=f;return tbn(A,m,_,"target")}const[h,g]=f,k=typeof h=="string"?h:h.id;return g.filter(A=>O4(A)&&A.source===k).map(A=>g.find(m=>e7(m)&&m.id===A.target))}function PXn(...f){if(f.length===3){const[A,m,_]=f;return tbn(A,m,_,"source")}const[h,g]=f,k=typeof h=="string"?h:h.id;return g.filter(A=>O4(A)&&A.target===k).map(A=>g.find(m=>e7(m)&&m.id===A.source))}function ibn({source:f,sourceHandle:h,target:g,targetHandle:k}){return`vueflow__edge-${f}${h??""}-${g}${k??""}`}function OXn(f,h){return h.some(g=>O4(g)&&g.source===f.source&&g.target===f.target&&(g.sourceHandle===f.sourceHandle||!g.sourceHandle&&!f.sourceHandle)&&(g.targetHandle===f.targetHandle||!g.targetHandle&&!f.targetHandle))}function EP({x:f,y:h},{x:g,y:k,zoom:E}){return{x:f*E+g,y:h*E+k}}function CP({x:f,y:h},{x:g,y:k,zoom:E},A=!1,m=[1,1]){const _={x:(f-g)/E,y:(h-k)/E};return A?GX(_,m):_}function rbn(f,h){return{x:Math.min(f.x,h.x),y:Math.min(f.y,h.y),x2:Math.max(f.x2,h.x2),y2:Math.max(f.y2,h.y2)}}function jX({x:f,y:h,width:g,height:k}){return{x:f,y:h,x2:f+g,y2:h+k}}function cbn({x:f,y:h,x2:g,y2:k}){return{x:f,y:h,width:g-f,height:k-h}}function DXn(f,h){return cbn(rbn(jX(f),jX(h)))}function _2e(f){let h={x:Number.POSITIVE_INFINITY,y:Number.POSITIVE_INFINITY,x2:Number.NEGATIVE_INFINITY,y2:Number.NEGATIVE_INFINITY};for(let g=0;g0,ve=(U??0)*(z??0);(ge||V||W>=ve||_.dragging)&&m.push(_)}return m}function Xk(f,h){const g=new Set;if(typeof f=="string")g.add(f);else if(f.length>=1)for(const k of f)g.add(k.id);return h.filter(k=>g.has(k.source)||g.has(k.target))}function ST(f,h){if(typeof f=="number")return Math.floor((h-h/(1+f))*.5);if(typeof f=="string"&&f.endsWith("px")){const g=Number.parseFloat(f);if(!Number.isNaN(g))return Math.floor(g)}if(typeof f=="string"&&f.endsWith("%")){const g=Number.parseFloat(f);if(!Number.isNaN(g))return Math.floor(h*g*.01)}return NP(`The padding value "${f}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}function LXn(f,h,g){if(typeof f=="string"||typeof f=="number"){const k=ST(f,g),E=ST(f,h);return{top:k,right:E,bottom:k,left:E,x:E*2,y:k*2}}if(typeof f=="object"){const k=ST(f.top??f.y??0,g),E=ST(f.bottom??f.y??0,g),A=ST(f.left??f.x??0,h),m=ST(f.right??f.x??0,h);return{top:k,right:m,bottom:E,left:A,x:A+m,y:k+E}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function FXn(f,h,g,k,E,A){const{x:m,y:_}=EP(f,{x:h,y:g,zoom:k}),{x:N,y:L}=EP({x:f.x+f.width,y:f.y+f.height},{x:h,y:g,zoom:k}),F=E-N,U=A-L;return{left:Math.floor(m),top:Math.floor(_),right:Math.floor(F),bottom:Math.floor(U)}}function u1n(f,h,g,k,E,A=.1){const m=LXn(A,h,g),_=(h-m.x)/f.width,N=(g-m.y)/f.height,L=Math.min(_,N),F=c7(L,k,E),U=f.x+f.width/2,z=f.y+f.height/2,W=h/2-U*F,ge=g/2-z*F,V=FXn(f,W,ge,F,h,g),ve={left:Math.min(V.left-m.left,0),top:Math.min(V.top-m.top,0),right:Math.min(V.right-m.right,0),bottom:Math.min(V.bottom-m.bottom,0)};return{x:W-ve.left+ve.right,y:ge-ve.top+ve.bottom,zoom:F}}function RXn(f,h){return{x:h.x+f.x,y:h.y+f.y,z:(f.z>h.z?f.z:h.z)+1}}function obn(f,h){if(!f.parentNode)return!1;const g=h.get(f.parentNode);return g?g.selected?!0:obn(g,h):!1}function AP(f,h){return typeof f>"u"?"":typeof f=="string"?f:`${h?`${h}__`:""}${Object.keys(f).sort().map(k=>`${k}=${f[k]}`).join("&")}`}function n2e(f){const h=f.ctrlKey&&TP()?10:1;return-f.deltaY*(f.deltaMode===1?.05:f.deltaMode?1:.002)*h}function o1n(f,h,g){return fg?-c7(Math.abs(f-g),1,h)/h:0}function sbn(f,h,g=15,k=40){const E=o1n(f.x,k,h.width-k)*g,A=o1n(f.y,k,h.height-k)*g;return[E,A]}function Ipe(f,h){if(h){const g=f.position.x+f.dimensions.width-h.dimensions.width,k=f.position.y+f.dimensions.height-h.dimensions.height;if(g>0||k>0||f.position.x<0||f.position.y<0){let E={};if(typeof h.style=="function"?E={...h.style(h)}:h.style&&(E={...h.style}),E.width=E.width??`${h.dimensions.width}px`,E.height=E.height??`${h.dimensions.height}px`,g>0)if(typeof E.width=="string"){const A=Number(E.width.replace("px",""));E.width=`${A+g}px`}else E.width+=g;if(k>0)if(typeof E.height=="string"){const A=Number(E.height.replace("px",""));E.height=`${A+k}px`}else E.height+=k;if(f.position.x<0){const A=Math.abs(f.position.x);if(h.position.x=h.position.x-A,typeof E.width=="string"){const m=Number(E.width.replace("px",""));E.width=`${m+A}px`}else E.width+=A;f.position.x=0}if(f.position.y<0){const A=Math.abs(f.position.y);if(h.position.y=h.position.y-A,typeof E.height=="string"){const m=Number(E.height.replace("px",""));E.height=`${m+A}px`}else E.height+=A;f.position.y=0}h.dimensions.width=Number(E.width.toString().replace("px","")),h.dimensions.height=Number(E.height.toString().replace("px","")),typeof h.style=="function"?h.style=A=>{const m=h.style;return{...m(A),...E}}:h.style={...h.style,...E}}}}function s1n(f,h){var g,k;const E=f.filter(m=>m.type==="add"||m.type==="remove");for(const m of E)if(m.type==="add")h.findIndex(N=>N.id===m.item.id)===-1&&h.push(m.item);else if(m.type==="remove"){const _=h.findIndex(N=>N.id===m.id);_!==-1&&h.splice(_,1)}const A=h.map(m=>m.id);for(const m of h)for(const _ of f)if(_.id===m.id)switch(_.type){case"select":m.selected=_.selected;break;case"position":if(fP(m)&&(typeof _.position<"u"&&(m.position=_.position),typeof _.dragging<"u"&&(m.dragging=_.dragging),m.expandParent&&m.parentNode)){const N=h[A.indexOf(m.parentNode)];N&&fP(N)&&Ipe(m,N)}break;case"dimensions":if(fP(m)&&(typeof _.dimensions<"u"&&(m.dimensions=_.dimensions),typeof _.updateStyle<"u"&&_.updateStyle&&(m.style={...m.style||{},width:`${(g=_.dimensions)==null?void 0:g.width}px`,height:`${(k=_.dimensions)==null?void 0:k.height}px`}),typeof _.resizing<"u"&&(m.resizing=_.resizing),m.expandParent&&m.parentNode)){const N=h[A.indexOf(m.parentNode)];N&&fP(N)&&(!!N.dimensions.width&&!!N.dimensions.height?Ipe(m,N):j3(()=>{Ipe(m,N)}))}break}return h}function S4(f,h){return{id:f,type:"select",selected:h}}function l1n(f){return{item:f,type:"add"}}function f1n(f){return{id:f,type:"remove"}}function a1n(f,h,g,k,E){return{id:f,source:h,target:g,sourceHandle:k||null,targetHandle:E||null,type:"remove"}}function I4(f,h=new Set,g=!1){const k=[];for(const[E,A]of f){const m=h.has(E);!(A.selected===void 0&&!m)&&A.selected!==m&&(g&&(A.selected=m),k.push(S4(A.id,m)))}return k}const h1n=()=>{};function Si(f){const h=new Set;let g=h1n,k=()=>!1;const E=()=>h.size>0||k(),A=z=>{g=z},m=()=>{g=h1n},_=z=>{k=z},N=()=>{k=()=>!1},L=z=>{h.delete(z)};return{on:z=>{h.add(z);const W=()=>L(z);return pP(W),{off:W}},off:L,trigger:z=>{const W=[g];return E()?W.push(...h):f&&W.push(f),Promise.allSettled(W.map(ge=>ge(z)))},hasListeners:E,listeners:h,setEmitter:A,removeEmitter:m,setHasEmitListeners:_,removeHasEmitListeners:N}}function d1n(f,h,g){let k=f;do{if(k&&k.matches(h))return!0;if(k===g)return!1;k=k.parentElement}while(k);return!1}function BXn(f,h,g,k){var E,A;const m=new Map;for(const[_,N]of f)(N.selected||N.id===k)&&(!N.parentNode||!obn(N,f))&&(N.draggable||h&&typeof N.draggable>"u")&&f.get(_)&&m.set(_,{id:N.id,position:N.position||{x:0,y:0},distance:{x:g.x-((E=N.computedPosition)==null?void 0:E.x)||0,y:g.y-((A=N.computedPosition)==null?void 0:A.y)||0},from:{x:N.computedPosition.x,y:N.computedPosition.y},extent:N.extent,parentNode:N.parentNode,dimensions:{...N.dimensions},expandParent:N.expandParent});return Array.from(m.values())}function $pe({id:f,dragItems:h,findNode:g}){const k=[];for(const E of h){const A=g(E.id);A&&k.push(A)}return[f?k.find(E=>E.id===f):k[0],k]}function lbn(f){if(Array.isArray(f))switch(f.length){case 1:return[f[0],f[0],f[0],f[0]];case 2:return[f[0],f[1],f[0],f[1]];case 3:return[f[0],f[1],f[2],f[1]];case 4:return f;default:return[0,0,0,0]}return[f,f,f,f]}function JXn(f,h,g){const[k,E,A,m]=typeof f!="string"?lbn(f.padding):[0,0,0,0];return g&&typeof g.computedPosition.x<"u"&&typeof g.computedPosition.y<"u"&&typeof g.dimensions.width<"u"&&typeof g.dimensions.height<"u"?[[g.computedPosition.x+m,g.computedPosition.y+k],[g.computedPosition.x+g.dimensions.width-E,g.computedPosition.y+g.dimensions.height-A]]:!1}function GXn(f,h,g,k){let E=f.extent||g;if((E==="parent"||!Array.isArray(E)&&(E==null?void 0:E.range)==="parent")&&!f.expandParent)if(f.parentNode&&k&&f.dimensions.width&&f.dimensions.height){const A=JXn(E,f,k);A&&(E=A)}else h(new ga(Rf.NODE_EXTENT_INVALID,f.id)),E=g;else if(Array.isArray(E)){const A=(k==null?void 0:k.computedPosition.x)||0,m=(k==null?void 0:k.computedPosition.y)||0;E=[[E[0][0]+A,E[0][1]+m],[E[1][0]+A,E[1][1]+m]]}else if(E!=="parent"&&(E!=null&&E.range)&&Array.isArray(E.range)){const[A,m,_,N]=lbn(E.padding),L=(k==null?void 0:k.computedPosition.x)||0,F=(k==null?void 0:k.computedPosition.y)||0;E=[[E.range[0][0]+L+N,E.range[0][1]+F+A],[E.range[1][0]+L-m,E.range[1][1]+F-_]]}return E==="parent"?[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]]:E}function HXn({width:f,height:h},g){return[g[0],[g[1][0]-(f||0),g[1][1]-(h||0)]]}function j2e(f,h,g,k,E){const A=HXn(f.dimensions,GXn(f,g,k,E)),m=ebn(h,A);return{position:{x:m.x-((E==null?void 0:E.computedPosition.x)||0),y:m.y-((E==null?void 0:E.computedPosition.y)||0)},computedPosition:m}}function FT(f,h,g=xi.Left,k=!1){const E=((h==null?void 0:h.x)??0)+f.computedPosition.x,A=((h==null?void 0:h.y)??0)+f.computedPosition.y,{width:m,height:_}=h??VXn(f);if(k)return{x:E+m/2,y:A+_/2};switch((h==null?void 0:h.position)??g){case xi.Top:return{x:E+m/2,y:A};case xi.Right:return{x:E+m,y:A+_/2};case xi.Bottom:return{x:E+m/2,y:A+_};case xi.Left:return{x:E,y:A+_/2}}}function b1n(f,h){return f&&(h?f.find(g=>g.id===h):f[0])||null}function zXn({sourcePos:f,targetPos:h,sourceWidth:g,sourceHeight:k,targetWidth:E,targetHeight:A,width:m,height:_,viewport:N}){const L={x:Math.min(f.x,h.x),y:Math.min(f.y,h.y),x2:Math.max(f.x+g,h.x+E),y2:Math.max(f.y+k,h.y+A)};L.x===L.x2&&(L.x2+=1),L.y===L.y2&&(L.y2+=1);const F=jX({x:(0-N.x)/N.zoom,y:(0-N.y)/N.zoom,width:m/N.zoom,height:_/N.zoom}),U=Math.max(0,Math.min(F.x2,L.x2)-Math.max(F.x,L.x)),z=Math.max(0,Math.min(F.y2,L.y2)-Math.max(F.y,L.y));return Math.ceil(U*z)>0}function qXn(f,h,g=!1){const k=typeof f.zIndex=="number";let E=k?f.zIndex:0;const A=h(f.source),m=h(f.target);return!A||!m?0:(g&&(E=k?f.zIndex:Math.max(A.computedPosition.z||0,m.computedPosition.z||0)),E)}var Rf=(f=>(f.MISSING_STYLES="MISSING_STYLES",f.MISSING_VIEWPORT_DIMENSIONS="MISSING_VIEWPORT_DIMENSIONS",f.NODE_INVALID="NODE_INVALID",f.NODE_NOT_FOUND="NODE_NOT_FOUND",f.NODE_MISSING_PARENT="NODE_MISSING_PARENT",f.NODE_TYPE_MISSING="NODE_TYPE_MISSING",f.NODE_EXTENT_INVALID="NODE_EXTENT_INVALID",f.EDGE_INVALID="EDGE_INVALID",f.EDGE_NOT_FOUND="EDGE_NOT_FOUND",f.EDGE_SOURCE_MISSING="EDGE_SOURCE_MISSING",f.EDGE_TARGET_MISSING="EDGE_TARGET_MISSING",f.EDGE_TYPE_MISSING="EDGE_TYPE_MISSING",f.EDGE_SOURCE_TARGET_SAME="EDGE_SOURCE_TARGET_SAME",f.EDGE_SOURCE_TARGET_MISSING="EDGE_SOURCE_TARGET_MISSING",f.EDGE_ORPHANED="EDGE_ORPHANED",f.USEVUEFLOW_OPTIONS="USEVUEFLOW_OPTIONS",f))(Rf||{});const g1n={MISSING_STYLES:()=>"It seems that you haven't loaded the necessary styles. Please import '@vue-flow/core/dist/style.css' to ensure that the graph is rendered correctly",MISSING_VIEWPORT_DIMENSIONS:()=>"The Vue Flow parent container needs a width and a height to render the graph",NODE_INVALID:f=>`Node is invalid -Node: ${f}`,NODE_NOT_FOUND:f=>`Node not found -Node: ${f}`,NODE_MISSING_PARENT:(f,h)=>`Node is missing a parent -Node: ${f} -Parent: ${h}`,NODE_TYPE_MISSING:f=>`Node type is missing -Type: ${f}`,NODE_EXTENT_INVALID:f=>`Only child nodes can use a parent extent -Node: ${f}`,EDGE_INVALID:f=>`An edge needs a source and a target -Edge: ${f}`,EDGE_SOURCE_MISSING:(f,h)=>`Edge source is missing -Edge: ${f} -Source: ${h}`,EDGE_TARGET_MISSING:(f,h)=>`Edge target is missing -Edge: ${f} -Target: ${h}`,EDGE_TYPE_MISSING:f=>`Edge type is missing -Type: ${f}`,EDGE_SOURCE_TARGET_SAME:(f,h,g)=>`Edge source and target are the same -Edge: ${f} -Source: ${h} -Target: ${g}`,EDGE_SOURCE_TARGET_MISSING:(f,h,g)=>`Edge source or target is missing -Edge: ${f} -Source: ${h} -Target: ${g}`,EDGE_ORPHANED:f=>`Edge was orphaned (suddenly missing source or target) and has been removed -Edge: ${f}`,EDGE_NOT_FOUND:f=>`Edge not found -Edge: ${f}`,USEVUEFLOW_OPTIONS:()=>"The options parameter is deprecated and will be removed in the next major version. Please use the id parameter instead"};class ga extends Error{constructor(h,...g){var k;super((k=g1n[h])==null?void 0:k.call(g1n,...g)),this.name="VueFlowError",this.code=h,this.args=g}}function I2e(f){return"clientX"in f}function UXn(f){return"sourceEvent"in f}function wm(f,h){const g=I2e(f);let k,E;return g?(k=f.clientX,E=f.clientY):"touches"in f&&f.touches.length>0?(k=f.touches[0].clientX,E=f.touches[0].clientY):"changedTouches"in f&&f.changedTouches.length>0?(k=f.changedTouches[0].clientX,E=f.changedTouches[0].clientY):(k=0,E=0),{x:k-((h==null?void 0:h.left)??0),y:E-((h==null?void 0:h.top)??0)}}const TP=()=>{var f;return typeof navigator<"u"&&((f=navigator==null?void 0:navigator.userAgent)==null?void 0:f.indexOf("Mac"))>=0};function VXn(f){var h,g;return{width:((h=f.dimensions)==null?void 0:h.width)??f.width??0,height:((g=f.dimensions)==null?void 0:g.height)??f.height??0}}function GX(f,h=[1,1]){return{x:h[0]*Math.round(f.x/h[0]),y:h[1]*Math.round(f.y/h[1])}}const XXn=()=>!0;function Npe(f){f==null||f.classList.remove("valid","connecting","vue-flow__handle-valid","vue-flow__handle-connecting")}function KXn(f,h,g){const k=[],E={x:f.x-g,y:f.y-g,width:g*2,height:g*2};for(const A of h.values())_X(E,SX(A))>0&&k.push(A);return k}const WXn=250;function YXn(f,h,g,k){var E,A;let m=[],_=Number.POSITIVE_INFINITY;const N=KXn(f,g,h+WXn);for(const L of N){const F=[...((E=L.handleBounds)==null?void 0:E.source)??[],...((A=L.handleBounds)==null?void 0:A.target)??[]];for(const U of F){if(k.nodeId===U.nodeId&&k.type===U.type&&k.id===U.id)continue;const{x:z,y:W}=FT(L,U,U.position,!0),ge=Math.sqrt((z-f.x)**2+(W-f.y)**2);ge>h||(ge<_?(m=[{...U,x:z,y:W}],_=ge):ge===_&&m.push({...U,x:z,y:W}))}}if(!m.length)return null;if(m.length>1){const L=k.type==="source"?"target":"source";return m.find(F=>F.type===L)??m[0]}return m[0]}function w1n(f,{handle:h,connectionMode:g,fromNodeId:k,fromHandleId:E,fromType:A,doc:m,lib:_,flowId:N,isValidConnection:L=XXn},F,U,z,W){const ge=A==="target",V=h?m.querySelector(`.${_}-flow__handle[data-id="${N}-${h==null?void 0:h.nodeId}-${h==null?void 0:h.id}-${h==null?void 0:h.type}"]`):null,{x:ve,y:te}=wm(f),_e=m.elementFromPoint(ve,te),we=_e!=null&&_e.classList.contains(`${_}-flow__handle`)?_e:V,Ve={handleDomNode:we,isValid:!1,connection:null,toHandle:null};if(we){const Bn=fbn(void 0,we),Qn=we.getAttribute("data-nodeid"),mt=we.getAttribute("data-handleid"),Dt=we.classList.contains("connectable"),hi=we.classList.contains("connectableend");if(!Qn||!Bn)return Ve;const Gt={source:ge?Qn:k,sourceHandle:ge?mt:E,target:ge?k:Qn,targetHandle:ge?E:mt};Ve.connection=Gt;const Ne=Dt&&hi&&(g===P4.Strict?ge&&Bn==="source"||!ge&&Bn==="target":Qn!==k||mt!==E);Ve.isValid=Ne&&L(Gt,{nodes:U,edges:F,sourceNode:z(Gt.source),targetNode:z(Gt.target)}),Ve.toHandle=abn(Qn,Bn,mt,W,g,!0)}return Ve}function fbn(f,h){return f||(h!=null&&h.classList.contains("target")?"target":h!=null&&h.classList.contains("source")?"source":null)}function QXn(f,h){let g=null;return h?g="valid":f&&!h&&(g="invalid"),g}function ZXn(f,h){let g=null;return h?g=!0:f&&!h&&(g=!1),g}function abn(f,h,g,k,E,A=!1){var m,_,N;const L=k.get(f);if(!L)return null;const F=E===P4.Strict?(m=L.handleBounds)==null?void 0:m[h]:[...((_=L.handleBounds)==null?void 0:_.source)??[],...((N=L.handleBounds)==null?void 0:N.target)??[]],U=(g?F==null?void 0:F.find(z=>z.id===g):F==null?void 0:F[0])??null;return U&&A?{...U,...FT(L,U,U.position,!0)}:U}const t2e={[xi.Left]:xi.Right,[xi.Right]:xi.Left,[xi.Top]:xi.Bottom,[xi.Bottom]:xi.Top},eKn=["production","prod"];function NP(f,...h){hbn()&&console.warn(`[Vue Flow]: ${f}`,...h)}function hbn(){return!eKn.includes("production")}function p1n(f,h,g,k,E){const A=h.querySelectorAll(`.vue-flow__handle.${f}`);return A!=null&&A.length?Array.from(A).map(m=>{const _=m.getBoundingClientRect();return{id:m.getAttribute("data-handleid"),type:f,nodeId:E,position:m.getAttribute("data-handlepos"),x:(_.left-g.left)/k,y:(_.top-g.top)/k,...JX(m)}}):null}function i2e(f,h,g,k,E,A=!1,m){E.value=!1,f.selected?(A||f.selected&&h)&&(k([f]),j3(()=>{m.blur()})):g([f])}function Lf(f){return typeof ut(f)<"u"}function nKn(f,h,g,k){if(!f||!f.source||!f.target)return g(new ga(Rf.EDGE_INVALID,(f==null?void 0:f.id)??"[ID UNKNOWN]")),!1;let E;return O4(f)?E=f:E={...f,id:ibn(f)},E=nbn(E,void 0,k),OXn(E,h)?!1:E}function tKn(f,h,g,k,E){if(!h.source||!h.target)return E(new ga(Rf.EDGE_INVALID,f.id)),!1;if(!g)return E(new ga(Rf.EDGE_NOT_FOUND,f.id)),!1;const{id:A,...m}=f;return{...m,id:k?ibn(h):A,source:h.source,target:h.target,sourceHandle:h.sourceHandle,targetHandle:h.targetHandle}}function m1n(f,h,g){const k={},E=[];for(let A=0;A_.id===A.parentNode);A.parentNode&&!m&&g(new ga(Rf.NODE_MISSING_PARENT,A.id,A.parentNode)),(A.parentNode||k[A.id])&&(k[A.id]&&(A.isParent=!0),m&&(m.isParent=!0))}return E}function v1n(f,h,g,k,E,A){let m=E;const _=k.get(m)||new Map;k.set(m,_.set(g,h)),m=`${E}-${f}`;const N=k.get(m)||new Map;if(k.set(m,N.set(g,h)),A){m=`${E}-${f}-${A}`;const L=k.get(m)||new Map;k.set(m,L.set(g,h))}}function xpe(f,h,g){f.clear();for(const k of g){const{source:E,target:A,sourceHandle:m=null,targetHandle:_=null}=k,N={edgeId:k.id,source:E,target:A,sourceHandle:m,targetHandle:_},L=`${E}-${m}--${A}-${_}`,F=`${A}-${_}--${E}-${m}`;v1n("source",N,F,f,E,m),v1n("target",N,L,f,A,_)}}function y1n(f,h){if(f.size!==h.size)return!1;for(const g of f)if(!h.has(g))return!1;return!0}function Ppe(f,h,g,k,E,A,m,_){const N=[];for(const L of f){const F=O4(L)?L:nKn(L,_,E,A);if(!F)continue;const U=g(F.source),z=g(F.target);if(!U||!z){E(new ga(Rf.EDGE_SOURCE_TARGET_MISSING,F.id,F.source,F.target));continue}if(!U){E(new ga(Rf.EDGE_SOURCE_MISSING,F.id,F.source));continue}if(!z){E(new ga(Rf.EDGE_TARGET_MISSING,F.id,F.target));continue}if(h&&!h(F,{edges:_,nodes:m,sourceNode:U,targetNode:z})){E(new ga(Rf.EDGE_INVALID,F.id));continue}const W=k(F.id);N.push({...nbn(F,W,A),sourceNode:U,targetNode:z})}return N}const k1n=Symbol("vueFlow"),dbn=Symbol("nodeId"),bbn=Symbol("nodeRef"),iKn=Symbol("edgeId"),rKn=Symbol("edgeRef"),HX=Symbol("slots");function gbn(f){const{vueFlowRef:h,snapToGrid:g,snapGrid:k,noDragClassName:E,nodeLookup:A,nodeExtent:m,nodeDragThreshold:_,viewport:N,autoPanOnNodeDrag:L,autoPanSpeed:F,nodesDraggable:U,panBy:z,findNode:W,multiSelectionActive:ge,nodesSelectionActive:V,selectNodesOnDrag:ve,removeSelectedElements:te,addSelectedNodes:_e,updateNodePositions:we,emits:Ve}=Ss(),{onStart:Bn,onDrag:Qn,onStop:mt,onClick:Dt,el:hi,disabled:Gt,id:Vt,selectable:Ne,dragHandle:q}=f,ce=pm(!1);let cn=[],Se,yn=null,sn={x:void 0,y:void 0},Ln={x:0,y:0},An=null,lt=!1,ii=!1,ki=0,Li=!1;const Xt=oKn(),ni=({x:Lt,y:Kn})=>{sn={x:Lt,y:Kn};let Ee=!1;if(cn=cn.map(xe=>{const en={x:Lt-xe.distance.x,y:Kn-xe.distance.y},{computedPosition:Pn}=j2e(xe,g.value?GX(en,k.value):en,Ve.error,m.value,xe.parentNode?W(xe.parentNode):void 0);return Ee=Ee||xe.position.x!==Pn.x||xe.position.y!==Pn.y,xe.position=Pn,xe}),ii=ii||Ee,!!Ee&&(we(cn,!0,!0),ce.value=!0,An)){const[xe,en]=$pe({id:Vt,dragItems:cn,findNode:W});Qn({event:An,node:xe,nodes:en})}},an=()=>{if(!yn)return;const[Lt,Kn]=sbn(Ln,yn,F.value);if(Lt!==0||Kn!==0){const Ee={x:(sn.x??0)-Lt/N.value.zoom,y:(sn.y??0)-Kn/N.value.zoom};z({x:Lt,y:Kn})&&ni(Ee)}ki=requestAnimationFrame(an)},Zn=(Lt,Kn)=>{lt=!0;const Ee=W(Vt);!ve.value&&!ge.value&&Ee&&(Ee.selected||te()),Ee&&mu(Ne)&&ve.value&&i2e(Ee,ge.value,_e,te,V,!1,Kn);const xe=Xt(Lt.sourceEvent);if(sn=xe,cn=BXn(A.value,U.value,xe,Vt),cn.length){const[en,Pn]=$pe({id:Vt,dragItems:cn,findNode:W});Bn({event:Lt.sourceEvent,node:en,nodes:Pn})}},gr=(Lt,Kn)=>{var Ee;Lt.sourceEvent.type==="touchmove"&&Lt.sourceEvent.touches.length>1||(ii=!1,_.value===0&&Zn(Lt,Kn),sn=Xt(Lt.sourceEvent),yn=((Ee=h.value)==null?void 0:Ee.getBoundingClientRect())||null,Ln=wm(Lt.sourceEvent,yn))},yr=(Lt,Kn)=>{const Ee=Xt(Lt.sourceEvent);if(!Li&<&&L.value&&(Li=!0,an()),!lt){const xe=Ee.xSnapped-(sn.x??0),en=Ee.ySnapped-(sn.y??0);Math.sqrt(xe*xe+en*en)>_.value&&Zn(Lt,Kn)}(sn.x!==Ee.xSnapped||sn.y!==Ee.ySnapped)&&cn.length&<&&(An=Lt.sourceEvent,Ln=wm(Lt.sourceEvent,yn),ni(Ee))},Lr=Lt=>{let Kn=!1;if(!lt&&!ce.value&&!ge.value){const Ee=Lt.sourceEvent,xe=Xt(Ee),en=xe.xSnapped-(sn.x??0),Pn=xe.ySnapped-(sn.y??0),wn=Math.sqrt(en*en+Pn*Pn);wn!==0&&wn<=_.value&&(Dt==null||Dt(Ee),Kn=!0)}if(cn.length&&!Kn){ii&&(we(cn,!1,!1),ii=!1);const[Ee,xe]=$pe({id:Vt,dragItems:cn,findNode:W});mt({event:Lt.sourceEvent,node:Ee,nodes:xe})}cn=[],ce.value=!1,Li=!1,lt=!1,sn={x:void 0,y:void 0},cancelAnimationFrame(ki)};return No([()=>mu(Gt),hi],([Lt,Kn],Ee,xe)=>{if(Kn){const en=Sp(Kn);Lt||(Se=$Un().on("start",Pn=>gr(Pn,Kn)).on("drag",Pn=>yr(Pn,Kn)).on("end",Pn=>Lr(Pn)).filter(Pn=>{const wn=Pn.target,pi=mu(q);return!Pn.button&&(!E.value||!d1n(wn,`.${E.value}`,Kn)&&(!pi||d1n(wn,pi,Kn)))}),en.call(Se)),xe(()=>{en.on(".drag",null),Se&&(Se.on("start",null),Se.on("drag",null),Se.on("end",null))})}}),ce}function cKn(){return{doubleClick:Si(),click:Si(),mouseEnter:Si(),mouseMove:Si(),mouseLeave:Si(),contextMenu:Si(),updateStart:Si(),update:Si(),updateEnd:Si()}}function uKn(f,h){const g=cKn();return g.doubleClick.on(k=>{var E,A;h.edgeDoubleClick(k),(A=(E=f.events)==null?void 0:E.doubleClick)==null||A.call(E,k)}),g.click.on(k=>{var E,A;h.edgeClick(k),(A=(E=f.events)==null?void 0:E.click)==null||A.call(E,k)}),g.mouseEnter.on(k=>{var E,A;h.edgeMouseEnter(k),(A=(E=f.events)==null?void 0:E.mouseEnter)==null||A.call(E,k)}),g.mouseMove.on(k=>{var E,A;h.edgeMouseMove(k),(A=(E=f.events)==null?void 0:E.mouseMove)==null||A.call(E,k)}),g.mouseLeave.on(k=>{var E,A;h.edgeMouseLeave(k),(A=(E=f.events)==null?void 0:E.mouseLeave)==null||A.call(E,k)}),g.contextMenu.on(k=>{var E,A;h.edgeContextMenu(k),(A=(E=f.events)==null?void 0:E.contextMenu)==null||A.call(E,k)}),g.updateStart.on(k=>{var E,A;h.edgeUpdateStart(k),(A=(E=f.events)==null?void 0:E.updateStart)==null||A.call(E,k)}),g.update.on(k=>{var E,A;h.edgeUpdate(k),(A=(E=f.events)==null?void 0:E.update)==null||A.call(E,k)}),g.updateEnd.on(k=>{var E,A;h.edgeUpdateEnd(k),(A=(E=f.events)==null?void 0:E.updateEnd)==null||A.call(E,k)}),Object.entries(g).reduce((k,[E,A])=>(k.emit[E]=A.trigger,k.on[E]=A.on,k),{emit:{},on:{}})}function oKn(){const{viewport:f,snapGrid:h,snapToGrid:g,vueFlowRef:k}=Ss();return E=>{var A;const m=((A=k.value)==null?void 0:A.getBoundingClientRect())??{left:0,top:0},_=UXn(E)?E.sourceEvent:E,{x:N,y:L}=wm(_,m),F=CP({x:N,y:L},f.value),{x:U,y:z}=g.value?GX(F,h.value):F;return{xSnapped:U,ySnapped:z,...F}}}function QV(){return!0}function wbn({handleId:f,nodeId:h,type:g,isValidConnection:k,edgeUpdaterType:E,onEdgeUpdate:A,onEdgeUpdateEnd:m}){const{id:_,vueFlowRef:N,connectionMode:L,connectionRadius:F,connectOnClick:U,connectionClickStartHandle:z,nodesConnectable:W,autoPanOnConnect:ge,autoPanSpeed:V,findNode:ve,panBy:te,startConnection:_e,updateConnection:we,endConnection:Ve,emits:Bn,viewport:Qn,edges:mt,nodes:Dt,isValidConnection:hi,nodeLookup:Gt}=Ss();let Vt=null,Ne=!1,q=null;function ce(Se){var yn;const sn=mu(g)==="target",Ln=I2e(Se),An=c1n(Se.target),lt=Se.currentTarget;if(lt&&(Ln&&Se.button===0||!Ln)){let ii=function(Ji){Ee=wm(Ji,Lr),ni=YXn(CP(Ee,Qn.value,!1,[1,1]),F.value,Gt.value,Pn),xe||(en(),xe=!0);const Ir=w1n(Ji,{handle:ni,connectionMode:L.value,fromNodeId:mu(h),fromHandleId:mu(f),fromType:sn?"target":"source",isValidConnection:Xt,doc:An,lib:"vue",flowId:_,nodeLookup:Gt.value},mt.value,Dt.value,ve,Gt.value);q=Ir.handleDomNode,Vt=Ir.connection,Ne=ZXn(!!ni,Ir.isValid);const Jc={...Yt,isValid:Ne,to:Ir.toHandle&&Ne?EP({x:Ir.toHandle.x,y:Ir.toHandle.y},Qn.value):Ee,toHandle:Ir.toHandle,toPosition:Ne&&Ir.toHandle?Ir.toHandle.position:t2e[Pn.position],toNode:Ir.toHandle?Gt.value.get(Ir.toHandle.nodeId):null};if(Ne&&ni&&(Yt!=null&&Yt.toHandle)&&Jc.toHandle&&Yt.toHandle.type===Jc.toHandle.type&&Yt.toHandle.nodeId===Jc.toHandle.nodeId&&Yt.toHandle.id===Jc.toHandle.id&&Yt.to.x===Jc.to.x&&Yt.to.y===Jc.to.y)return;const _u=ni??Ir.toHandle;if(we(_u&&Ne?EP({x:_u.x,y:_u.y},Qn.value):Ee,_u,QXn(!!_u,Ne)),Yt=Jc,!ni&&!Ne&&!q)return Npe(Kn);Vt&&Vt.source!==Vt.target&&q&&(Npe(Kn),Kn=q,q.classList.add("connecting","vue-flow__handle-connecting"),q.classList.toggle("valid",!!Ne),q.classList.toggle("vue-flow__handle-valid",!!Ne))},ki=function(Ji){"touches"in Ji&&Ji.touches.length>0||((ni||q)&&Vt&&Ne&&(A?A(Ji,Vt):Bn.connect(Vt)),Bn.connectEnd(Ji),E&&(m==null||m(Ji)),Npe(Kn),cancelAnimationFrame(an),Ve(Ji),xe=!1,Ne=!1,Vt=null,q=null,An.removeEventListener("mousemove",ii),An.removeEventListener("mouseup",ki),An.removeEventListener("touchmove",ii),An.removeEventListener("touchend",ki))};const Li=ve(mu(h));let Xt=mu(k)||hi.value||QV;!Xt&&Li&&(Xt=(sn?Li.isValidSourcePos:Li.isValidTargetPos)||QV);let ni,an=0;const{x:Zn,y:gr}=wm(Se),yr=fbn(mu(E),lt),Lr=(yn=N.value)==null?void 0:yn.getBoundingClientRect();if(!Lr||!yr)return;const Lt=abn(mu(h),yr,mu(f),Gt.value,L.value);if(!Lt)return;let Kn,Ee=wm(Se,Lr),xe=!1;const en=()=>{if(!ge.value)return;const[Ji,Ir]=sbn(Ee,Lr,V.value);te({x:Ji,y:Ir}),an=requestAnimationFrame(en)},Pn={...Lt,nodeId:mu(h),type:yr,position:Lt.position},wn=Gt.value.get(mu(h)),mi={inProgress:!0,isValid:null,from:FT(wn,Pn,xi.Left,!0),fromHandle:Pn,fromPosition:Pn.position,fromNode:wn,to:Ee,toHandle:null,toPosition:t2e[Pn.position],toNode:null};_e({nodeId:mu(h),id:mu(f),type:yr,position:(lt==null?void 0:lt.getAttribute("data-handlepos"))||xi.Top,...Ee},{x:Zn-Lr.left,y:gr-Lr.top}),Bn.connectStart({event:Se,nodeId:mu(h),handleId:mu(f),handleType:yr});let Yt=mi;An.addEventListener("mousemove",ii),An.addEventListener("mouseup",ki),An.addEventListener("touchmove",ii),An.addEventListener("touchend",ki)}}function cn(Se){var yn,sn;if(!U.value)return;const Ln=mu(g)==="target";if(!z.value){Bn.clickConnectStart({event:Se,nodeId:mu(h),handleId:mu(f)}),_e({nodeId:mu(h),type:mu(g),id:mu(f),position:xi.Top,...wm(Se)},void 0,!0);return}let An=mu(k)||hi.value||QV;const lt=ve(mu(h));if(!An&<&&(An=(Ln?lt.isValidSourcePos:lt.isValidTargetPos)||QV),lt&&(typeof lt.connectable>"u"?W.value:lt.connectable)===!1)return;const ii=c1n(Se.target),ki=w1n(Se,{handle:{nodeId:mu(h),id:mu(f),type:mu(g),position:xi.Top,...wm(Se)},connectionMode:L.value,fromNodeId:z.value.nodeId,fromHandleId:z.value.id??null,fromType:z.value.type,isValidConnection:An,doc:ii,lib:"vue",flowId:_,nodeLookup:Gt.value},mt.value,Dt.value,ve,Gt.value),Li=((yn=ki.connection)==null?void 0:yn.source)===((sn=ki.connection)==null?void 0:sn.target);ki.isValid&&ki.connection&&!Li&&Bn.connect(ki.connection),Bn.clickConnectEnd(Se),Ve(Se,!0)}return{handlePointerDown:ce,handleClick:cn}}function sKn(){return o7(dbn,"")}function pbn(f){const h=f??sKn()??"",g=o7(bbn,cr(null)),{findNode:k,edges:E,emits:A}=Ss(),m=k(h);return m||A.error(new ga(Rf.NODE_NOT_FOUND,h)),{id:h,nodeEl:g,node:m,parentNode:Ai(()=>k(m.parentNode)),connectedEdges:Ai(()=>Xk([m],E.value))}}function lKn(){return{doubleClick:Si(),click:Si(),mouseEnter:Si(),mouseMove:Si(),mouseLeave:Si(),contextMenu:Si(),dragStart:Si(),drag:Si(),dragStop:Si()}}function fKn(f,h){const g=lKn();return g.doubleClick.on(k=>{var E,A;h.nodeDoubleClick(k),(A=(E=f.events)==null?void 0:E.doubleClick)==null||A.call(E,k)}),g.click.on(k=>{var E,A;h.nodeClick(k),(A=(E=f.events)==null?void 0:E.click)==null||A.call(E,k)}),g.mouseEnter.on(k=>{var E,A;h.nodeMouseEnter(k),(A=(E=f.events)==null?void 0:E.mouseEnter)==null||A.call(E,k)}),g.mouseMove.on(k=>{var E,A;h.nodeMouseMove(k),(A=(E=f.events)==null?void 0:E.mouseMove)==null||A.call(E,k)}),g.mouseLeave.on(k=>{var E,A;h.nodeMouseLeave(k),(A=(E=f.events)==null?void 0:E.mouseLeave)==null||A.call(E,k)}),g.contextMenu.on(k=>{var E,A;h.nodeContextMenu(k),(A=(E=f.events)==null?void 0:E.contextMenu)==null||A.call(E,k)}),g.dragStart.on(k=>{var E,A;h.nodeDragStart(k),(A=(E=f.events)==null?void 0:E.dragStart)==null||A.call(E,k)}),g.drag.on(k=>{var E,A;h.nodeDrag(k),(A=(E=f.events)==null?void 0:E.drag)==null||A.call(E,k)}),g.dragStop.on(k=>{var E,A;h.nodeDragStop(k),(A=(E=f.events)==null?void 0:E.dragStop)==null||A.call(E,k)}),Object.entries(g).reduce((k,[E,A])=>(k.emit[E]=A.trigger,k.on[E]=A.on,k),{emit:{},on:{}})}function mbn(){const{getSelectedNodes:f,nodeExtent:h,updateNodePositions:g,findNode:k,snapGrid:E,snapToGrid:A,nodesDraggable:m,emits:_}=Ss();return(N,L=!1)=>{const F=A.value?E.value[0]:5,U=A.value?E.value[1]:5,z=L?4:1,W=N.x*F*z,ge=N.y*U*z,V=[];for(const ve of f.value)if(ve.draggable||m&&typeof ve.draggable>"u"){const te={x:ve.computedPosition.x+W,y:ve.computedPosition.y+ge},{position:_e}=j2e(ve,te,_.error,h.value,ve.parentNode?k(ve.parentNode):void 0);V.push({id:ve.id,position:_e,from:ve.position,distance:{x:N.x,y:N.y},dimensions:ve.dimensions})}g(V,!0,!1)}}const ZV=.1,aKn=f=>((f*=2)<=1?f*f*f:(f-=2)*f*f+2)/2;function M4(){return NP("Viewport not initialized yet."),Promise.resolve(!1)}const hKn={zoomIn:M4,zoomOut:M4,zoomTo:M4,fitView:M4,setCenter:M4,fitBounds:M4,project:f=>f,screenToFlowCoordinate:f=>f,flowToScreenCoordinate:f=>f,setViewport:M4,setTransform:M4,getViewport:()=>({x:0,y:0,zoom:1}),getTransform:()=>({x:0,y:0,zoom:1}),viewportInitialized:!1};function dKn(f){function h(k,E){return new Promise(A=>{f.d3Selection&&f.d3Zoom?f.d3Zoom.interpolate((E==null?void 0:E.interpolate)==="linear"?dP:lX).scaleBy(Ope(f.d3Selection,E==null?void 0:E.duration,E==null?void 0:E.ease,()=>{A(!0)}),k):A(!1)})}function g(k,E,A,m){return new Promise(_=>{var N;const{x:L,y:F}=ebn({x:-k,y:-E},f.translateExtent),U=LT.translate(-L,-F).scale(A);f.d3Selection&&f.d3Zoom?(N=f.d3Zoom)==null||N.interpolate((m==null?void 0:m.interpolate)==="linear"?dP:lX).transform(Ope(f.d3Selection,m==null?void 0:m.duration,m==null?void 0:m.ease,()=>{_(!0)}),U):_(!1)})}return Ai(()=>f.d3Zoom&&f.d3Selection&&f.dimensions.width&&f.dimensions.height?{viewportInitialized:!0,zoomIn:E=>h(1.2,E),zoomOut:E=>h(1/1.2,E),zoomTo:(E,A)=>new Promise(m=>{f.d3Selection&&f.d3Zoom?f.d3Zoom.interpolate((A==null?void 0:A.interpolate)==="linear"?dP:lX).scaleTo(Ope(f.d3Selection,A==null?void 0:A.duration,A==null?void 0:A.ease,()=>{m(!0)}),E):m(!1)}),setViewport:(E,A)=>g(E.x,E.y,E.zoom,A),setTransform:(E,A)=>g(E.x,E.y,E.zoom,A),getViewport:()=>({x:f.viewport.x,y:f.viewport.y,zoom:f.viewport.zoom}),getTransform:()=>({x:f.viewport.x,y:f.viewport.y,zoom:f.viewport.zoom}),fitView:(E={padding:ZV,includeHiddenNodes:!1,duration:0})=>{var A,m;const _=[];for(const z of f.nodes)z.dimensions.width&&z.dimensions.height&&((E==null?void 0:E.includeHiddenNodes)||!z.hidden)&&(!((A=E.nodes)!=null&&A.length)||(m=E.nodes)!=null&&m.length&&E.nodes.includes(z.id))&&_.push(z);if(!_.length)return Promise.resolve(!1);const N=_2e(_),{x:L,y:F,zoom:U}=u1n(N,f.dimensions.width,f.dimensions.height,E.minZoom??f.minZoom,E.maxZoom??f.maxZoom,E.padding??ZV);return g(L,F,U,E)},setCenter:(E,A,m)=>{const _=typeof(m==null?void 0:m.zoom)<"u"?m.zoom:f.maxZoom,N=f.dimensions.width/2-E*_,L=f.dimensions.height/2-A*_;return g(N,L,_,m)},fitBounds:(E,A={padding:ZV})=>{const{x:m,y:_,zoom:N}=u1n(E,f.dimensions.width,f.dimensions.height,f.minZoom,f.maxZoom,A.padding??ZV);return g(m,_,N,A)},project:E=>CP(E,f.viewport,f.snapToGrid,f.snapGrid),screenToFlowCoordinate:E=>{if(f.vueFlowRef){const{x:A,y:m}=f.vueFlowRef.getBoundingClientRect(),_={x:E.x-A,y:E.y-m};return CP(_,f.viewport,f.snapToGrid,f.snapGrid)}return{x:0,y:0}},flowToScreenCoordinate:E=>{if(f.vueFlowRef){const{x:A,y:m}=f.vueFlowRef.getBoundingClientRect(),_={x:E.x+A,y:E.y+m};return EP(_,f.viewport)}return{x:0,y:0}}}:hKn)}function Ope(f,h=0,g=aKn,k=()=>{}){const E=typeof h=="number"&&h>0;return E||k(),E?f.transition().duration(h).ease(g).on("end",k):f}function bKn(f,h,g){const k=X1n(!0);return k.run(()=>{const E=()=>{k.run(()=>{let V,ve,te=!!(g.nodes.value.length||g.edges.value.length);V=MT([f.modelValue,()=>{var _e,we;return(we=(_e=f.modelValue)==null?void 0:_e.value)==null?void 0:we.length}],([_e])=>{_e&&Array.isArray(_e)&&(ve==null||ve.pause(),g.setElements(_e),!ve&&!te&&_e.length?te=!0:ve==null||ve.resume())}),ve=MT([g.nodes,g.edges,()=>g.edges.value.length,()=>g.nodes.value.length],([_e,we])=>{var Ve;(Ve=f.modelValue)!=null&&Ve.value&&Array.isArray(f.modelValue.value)&&(V==null||V.pause(),f.modelValue.value=[..._e,...we],j3(()=>{V==null||V.resume()}))},{immediate:te}),uX(()=>{V==null||V.stop(),ve==null||ve.stop()})})},A=()=>{k.run(()=>{let V,ve,te=!!g.nodes.value.length;V=MT([f.nodes,()=>{var _e,we;return(we=(_e=f.nodes)==null?void 0:_e.value)==null?void 0:we.length}],([_e])=>{_e&&Array.isArray(_e)&&(ve==null||ve.pause(),g.setNodes(_e),!ve&&!te&&_e.length?te=!0:ve==null||ve.resume())}),ve=MT([g.nodes,()=>g.nodes.value.length],([_e])=>{var we;(we=f.nodes)!=null&&we.value&&Array.isArray(f.nodes.value)&&(V==null||V.pause(),f.nodes.value=[..._e],j3(()=>{V==null||V.resume()}))},{immediate:te}),uX(()=>{V==null||V.stop(),ve==null||ve.stop()})})},m=()=>{k.run(()=>{let V,ve,te=!!g.edges.value.length;V=MT([f.edges,()=>{var _e,we;return(we=(_e=f.edges)==null?void 0:_e.value)==null?void 0:we.length}],([_e])=>{_e&&Array.isArray(_e)&&(ve==null||ve.pause(),g.setEdges(_e),!ve&&!te&&_e.length?te=!0:ve==null||ve.resume())}),ve=MT([g.edges,()=>g.edges.value.length],([_e])=>{var we;(we=f.edges)!=null&&we.value&&Array.isArray(f.edges.value)&&(V==null||V.pause(),f.edges.value=[..._e],j3(()=>{V==null||V.resume()}))},{immediate:te}),uX(()=>{V==null||V.stop(),ve==null||ve.stop()})})},_=()=>{k.run(()=>{No(()=>h.maxZoom,()=>{h.maxZoom&&Lf(h.maxZoom)&&g.setMaxZoom(h.maxZoom)},{immediate:!0})})},N=()=>{k.run(()=>{No(()=>h.minZoom,()=>{h.minZoom&&Lf(h.minZoom)&&g.setMinZoom(h.minZoom)},{immediate:!0})})},L=()=>{k.run(()=>{No(()=>h.translateExtent,()=>{h.translateExtent&&Lf(h.translateExtent)&&g.setTranslateExtent(h.translateExtent)},{immediate:!0})})},F=()=>{k.run(()=>{No(()=>h.nodeExtent,()=>{h.nodeExtent&&Lf(h.nodeExtent)&&g.setNodeExtent(h.nodeExtent)},{immediate:!0})})},U=()=>{k.run(()=>{No(()=>h.applyDefault,()=>{Lf(h.applyDefault)&&(g.applyDefault.value=h.applyDefault)},{immediate:!0})})},z=()=>{k.run(()=>{const V=async ve=>{let te=ve;typeof h.autoConnect=="function"&&(te=await h.autoConnect(ve)),te!==!1&&g.addEdges([te])};No(()=>h.autoConnect,()=>{Lf(h.autoConnect)&&(g.autoConnect.value=h.autoConnect)},{immediate:!0}),No(g.autoConnect,(ve,te,_e)=>{ve?g.onConnect(V):g.hooks.value.connect.off(V),_e(()=>{g.hooks.value.connect.off(V)})},{immediate:!0})})},W=()=>{const V=["id","modelValue","translateExtent","nodeExtent","edges","nodes","maxZoom","minZoom","applyDefault","autoConnect"];for(const ve of Object.keys(h)){const te=ve;if(!V.includes(te)){const _e=xo(()=>h[te]),we=g[te];g2e(we)&&k.run(()=>{No(_e,Ve=>{Lf(Ve)&&(we.value=Ve)},{immediate:!0})})}}};(()=>{E(),A(),m(),N(),_(),L(),F(),U(),z(),W()})()}),()=>k.stop()}function gKn(){return{edgesChange:Si(),nodesChange:Si(),nodeDoubleClick:Si(),nodeClick:Si(),nodeMouseEnter:Si(),nodeMouseMove:Si(),nodeMouseLeave:Si(),nodeContextMenu:Si(),nodeDragStart:Si(),nodeDrag:Si(),nodeDragStop:Si(),nodesInitialized:Si(),miniMapNodeClick:Si(),miniMapNodeDoubleClick:Si(),miniMapNodeMouseEnter:Si(),miniMapNodeMouseMove:Si(),miniMapNodeMouseLeave:Si(),connect:Si(),connectStart:Si(),connectEnd:Si(),clickConnectStart:Si(),clickConnectEnd:Si(),paneReady:Si(),init:Si(),move:Si(),moveStart:Si(),moveEnd:Si(),selectionDragStart:Si(),selectionDrag:Si(),selectionDragStop:Si(),selectionContextMenu:Si(),selectionStart:Si(),selectionEnd:Si(),viewportChangeStart:Si(),viewportChange:Si(),viewportChangeEnd:Si(),paneScroll:Si(),paneClick:Si(),paneContextMenu:Si(),paneMouseEnter:Si(),paneMouseMove:Si(),paneMouseLeave:Si(),edgeContextMenu:Si(),edgeMouseEnter:Si(),edgeMouseMove:Si(),edgeMouseLeave:Si(),edgeDoubleClick:Si(),edgeClick:Si(),edgeUpdateStart:Si(),edgeUpdate:Si(),edgeUpdateEnd:Si(),updateNodeInternals:Si(),error:Si(f=>NP(f.message))}}function wKn(f,h){const g=JT();BJn(()=>{for(const[E,A]of Object.entries(h.value)){const m=_=>{f(E,_)};A.setEmitter(m),pP(A.removeEmitter),A.setHasEmitListeners(()=>k(E)),pP(A.removeHasEmitListeners)}});function k(E){var A;const m=pKn(E);return!!((A=g==null?void 0:g.vnode.props)==null?void 0:A[m])}}function pKn(f){const[h,...g]=f.split(":");return`on${h.replace(/(?:^|-)(\w)/g,(E,A)=>A.toUpperCase())}${g.length?`:${g.join(":")}`:""}`}function vbn(){return{vueFlowRef:null,viewportRef:null,nodes:[],edges:[],connectionLookup:new Map,nodeTypes:{},edgeTypes:{},initialized:!1,dimensions:{width:0,height:0},viewport:{x:0,y:0,zoom:1},d3Zoom:null,d3Selection:null,d3ZoomHandler:null,minZoom:.5,maxZoom:2,translateExtent:[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],nodeExtent:[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],selectionMode:S2e.Full,paneDragging:!1,preventScrolling:!0,zoomOnScroll:!0,zoomOnPinch:!0,zoomOnDoubleClick:!0,panOnScroll:!1,panOnScrollSpeed:.5,panOnScrollMode:bP.Free,paneClickDistance:0,panOnDrag:!0,edgeUpdaterRadius:10,onlyRenderVisibleElements:!1,defaultViewport:{x:0,y:0,zoom:1},nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,defaultMarkerColor:"#b1b1b7",connectionLineStyle:{},connectionLineType:null,connectionLineOptions:{type:Vk.Bezier,style:{}},connectionMode:P4.Loose,connectionStartHandle:null,connectionEndHandle:null,connectionClickStartHandle:null,connectionPosition:{x:Number.NaN,y:Number.NaN},connectionRadius:20,connectOnClick:!0,connectionStatus:null,isValidConnection:null,snapGrid:[15,15],snapToGrid:!1,edgesUpdatable:!1,edgesFocusable:!0,nodesFocusable:!0,nodesConnectable:!0,nodesDraggable:!0,nodeDragThreshold:1,elementsSelectable:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,selectionKeyCode:"Shift",multiSelectionKeyCode:TP()?"Meta":"Control",zoomActivationKeyCode:TP()?"Meta":"Control",deleteKeyCode:"Backspace",panActivationKeyCode:"Space",hooks:gKn(),applyDefault:!0,autoConnect:!1,fitViewOnInit:!1,fitViewOnInitDone:!1,noDragClassName:"nodrag",noWheelClassName:"nowheel",noPanClassName:"nopan",defaultEdgeOptions:void 0,elevateEdgesOnSelect:!1,elevateNodesOnSelect:!0,autoPanOnNodeDrag:!0,autoPanOnConnect:!0,autoPanSpeed:15,disableKeyboardA11y:!1,ariaLiveMessage:""}}const mKn=["id","vueFlowRef","viewportRef","initialized","modelValue","nodes","edges","maxZoom","minZoom","translateExtent","hooks","defaultEdgeOptions"];function vKn(f,h,g){const k=dKn(f),E=Ee=>{const xe=Ee??[];f.hooks.updateNodeInternals.trigger(xe)},A=Ee=>PXn(Ee,f.nodes,f.edges),m=Ee=>xXn(Ee,f.nodes,f.edges),_=Ee=>Xk(Ee,f.edges),N=({id:Ee,type:xe,nodeId:en})=>{var Pn;const wn=Ee?`-${xe}-${Ee}`:`-${xe}`;return Array.from(((Pn=f.connectionLookup.get(`${en}${wn}`))==null?void 0:Pn.values())??[])},L=Ee=>{if(Ee)return h.value.get(Ee)},F=Ee=>{if(Ee)return g.value.get(Ee)},U=(Ee,xe,en)=>{var Pn,wn;const pi=[];for(const mi of Ee){const Yt={id:mi.id,type:"position",dragging:en,from:mi.from};if(xe&&(Yt.position=mi.position,mi.parentNode)){const Ji=L(mi.parentNode);Yt.position={x:Yt.position.x-(((Pn=Ji==null?void 0:Ji.computedPosition)==null?void 0:Pn.x)??0),y:Yt.position.y-(((wn=Ji==null?void 0:Ji.computedPosition)==null?void 0:wn.y)??0)}}pi.push(Yt)}pi!=null&&pi.length&&f.hooks.nodesChange.trigger(pi)},z=Ee=>{if(!f.vueFlowRef)return;const xe=f.vueFlowRef.querySelector(".vue-flow__transformationpane");if(!xe)return;const en=window.getComputedStyle(xe),{m22:Pn}=new window.DOMMatrixReadOnly(en.transform),wn=[];for(const pi of Ee){const mi=pi,Yt=L(mi.id);if(Yt){const Ji=JX(mi.nodeElement);if(!!(Ji.width&&Ji.height&&(Yt.dimensions.width!==Ji.width||Yt.dimensions.height!==Ji.height||mi.forceUpdate))){const Jc=mi.nodeElement.getBoundingClientRect();Yt.dimensions=Ji,Yt.handleBounds.source=p1n("source",mi.nodeElement,Jc,Pn,Yt.id),Yt.handleBounds.target=p1n("target",mi.nodeElement,Jc,Pn,Yt.id),wn.push({id:Yt.id,type:"dimensions",dimensions:Ji})}}}!f.fitViewOnInitDone&&f.fitViewOnInit&&k.value.fitView().then(()=>{f.fitViewOnInitDone=!0}),wn.length&&f.hooks.nodesChange.trigger(wn)},W=(Ee,xe)=>{const en=new Set,Pn=new Set;for(const mi of Ee)e7(mi)?en.add(mi.id):O4(mi)&&Pn.add(mi.id);const wn=I4(h.value,en,!0),pi=I4(g.value,Pn);if(f.multiSelectionActive){for(const mi of en)wn.push(S4(mi,xe));for(const mi of Pn)pi.push(S4(mi,xe))}wn.length&&f.hooks.nodesChange.trigger(wn),pi.length&&f.hooks.edgesChange.trigger(pi)},ge=Ee=>{if(f.multiSelectionActive){const xe=Ee.map(en=>S4(en.id,!0));f.hooks.nodesChange.trigger(xe);return}f.hooks.nodesChange.trigger(I4(h.value,new Set(Ee.map(xe=>xe.id)),!0)),f.hooks.edgesChange.trigger(I4(g.value))},V=Ee=>{if(f.multiSelectionActive){const xe=Ee.map(en=>S4(en.id,!0));f.hooks.edgesChange.trigger(xe);return}f.hooks.edgesChange.trigger(I4(g.value,new Set(Ee.map(xe=>xe.id)))),f.hooks.nodesChange.trigger(I4(h.value,new Set,!0))},ve=Ee=>{W(Ee,!0)},te=Ee=>{const en=(Ee||f.nodes).map(Pn=>(Pn.selected=!1,S4(Pn.id,!1)));f.hooks.nodesChange.trigger(en)},_e=Ee=>{const en=(Ee||f.edges).map(Pn=>(Pn.selected=!1,S4(Pn.id,!1)));f.hooks.edgesChange.trigger(en)},we=Ee=>{if(!Ee||!Ee.length)return W([],!1);const xe=Ee.reduce((en,Pn)=>{const wn=S4(Pn.id,!1);return e7(Pn)?en.nodes.push(wn):en.edges.push(wn),en},{nodes:[],edges:[]});xe.nodes.length&&f.hooks.nodesChange.trigger(xe.nodes),xe.edges.length&&f.hooks.edgesChange.trigger(xe.edges)},Ve=Ee=>{var xe;(xe=f.d3Zoom)==null||xe.scaleExtent([Ee,f.maxZoom]),f.minZoom=Ee},Bn=Ee=>{var xe;(xe=f.d3Zoom)==null||xe.scaleExtent([f.minZoom,Ee]),f.maxZoom=Ee},Qn=Ee=>{var xe;(xe=f.d3Zoom)==null||xe.translateExtent(Ee),f.translateExtent=Ee},mt=Ee=>{f.nodeExtent=Ee,E()},Dt=Ee=>{var xe;(xe=f.d3Zoom)==null||xe.clickDistance(Ee)},hi=Ee=>{f.nodesDraggable=Ee,f.nodesConnectable=Ee,f.elementsSelectable=Ee},Gt=Ee=>{const xe=Ee instanceof Function?Ee(f.nodes):Ee;!f.initialized&&!xe.length||(f.nodes=m1n(xe,L,f.hooks.error.trigger))},Vt=Ee=>{const xe=Ee instanceof Function?Ee(f.edges):Ee;if(!f.initialized&&!xe.length)return;const en=Ppe(xe,f.isValidConnection,L,F,f.hooks.error.trigger,f.defaultEdgeOptions,f.nodes,f.edges);xpe(f.connectionLookup,g.value,en),f.edges=en},Ne=Ee=>{const xe=Ee instanceof Function?Ee([...f.nodes,...f.edges]):Ee;!f.initialized&&!xe.length||(Gt(xe.filter(e7)),Vt(xe.filter(O4)))},q=Ee=>{let xe=Ee instanceof Function?Ee(f.nodes):Ee;xe=Array.isArray(xe)?xe:[xe];const en=m1n(xe,L,f.hooks.error.trigger),Pn=[];for(const wn of en)Pn.push(l1n(wn));Pn.length&&f.hooks.nodesChange.trigger(Pn)},ce=Ee=>{let xe=Ee instanceof Function?Ee(f.edges):Ee;xe=Array.isArray(xe)?xe:[xe];const en=Ppe(xe,f.isValidConnection,L,F,f.hooks.error.trigger,f.defaultEdgeOptions,f.nodes,f.edges),Pn=[];for(const wn of en)Pn.push(l1n(wn));Pn.length&&f.hooks.edgesChange.trigger(Pn)},cn=(Ee,xe=!0,en=!1)=>{const Pn=Ee instanceof Function?Ee(f.nodes):Ee,wn=Array.isArray(Pn)?Pn:[Pn],pi=[],mi=[];function Yt(Ir){const Jc=_(Ir);for(const _u of Jc)(!Lf(_u.deletable)||_u.deletable)&&mi.push(a1n(_u.id,_u.source,_u.target,_u.sourceHandle,_u.targetHandle))}function Ji(Ir){const Jc=[];for(const _u of f.nodes)_u.parentNode===Ir&&Jc.push(_u);if(Jc.length){for(const _u of Jc)pi.push(f1n(_u.id));xe&&Yt(Jc);for(const _u of Jc)Ji(_u.id)}}for(const Ir of wn){const Jc=typeof Ir=="string"?L(Ir):Ir;Jc&&(Lf(Jc.deletable)&&!Jc.deletable||(pi.push(f1n(Jc.id)),xe&&Yt([Jc]),en&&Ji(Jc.id)))}mi.length&&f.hooks.edgesChange.trigger(mi),pi.length&&f.hooks.nodesChange.trigger(pi)},Se=Ee=>{const xe=Ee instanceof Function?Ee(f.edges):Ee,en=Array.isArray(xe)?xe:[xe],Pn=[];for(const wn of en){const pi=typeof wn=="string"?F(wn):wn;pi&&(Lf(pi.deletable)&&!pi.deletable||Pn.push(a1n(typeof wn=="string"?wn:wn.id,pi.source,pi.target,pi.sourceHandle,pi.targetHandle)))}f.hooks.edgesChange.trigger(Pn)},yn=(Ee,xe,en=!0)=>{const Pn=F(Ee.id);if(!Pn)return!1;const wn=f.edges.indexOf(Pn),pi=tKn(Ee,xe,Pn,en,f.hooks.error.trigger);if(pi){const[mi]=Ppe([pi],f.isValidConnection,L,F,f.hooks.error.trigger,f.defaultEdgeOptions,f.nodes,f.edges);return f.edges=f.edges.map((Yt,Ji)=>Ji===wn?mi:Yt),xpe(f.connectionLookup,g.value,[mi]),mi}return!1},sn=(Ee,xe,en={replace:!1})=>{const Pn=F(Ee);if(!Pn)return;const wn=typeof xe=="function"?xe(Pn):xe;Pn.data=en.replace?wn:{...Pn.data,...wn}},Ln=Ee=>s1n(Ee,f.nodes),An=Ee=>{const xe=s1n(Ee,f.edges);return xpe(f.connectionLookup,g.value,xe),xe},lt=(Ee,xe,en={replace:!1})=>{const Pn=L(Ee);if(!Pn)return;const wn=typeof xe=="function"?xe(Pn):xe;en.replace?f.nodes.splice(f.nodes.indexOf(Pn),1,wn):Object.assign(Pn,wn)},ii=(Ee,xe,en={replace:!1})=>{const Pn=L(Ee);if(!Pn)return;const wn=typeof xe=="function"?xe(Pn):xe;Pn.data=en.replace?wn:{...Pn.data,...wn}},ki=(Ee,xe,en=!1)=>{en?f.connectionClickStartHandle=Ee:f.connectionStartHandle=Ee,f.connectionEndHandle=null,f.connectionStatus=null,xe&&(f.connectionPosition=xe)},Li=(Ee,xe=null,en=null)=>{f.connectionStartHandle&&(f.connectionPosition=Ee,f.connectionEndHandle=xe,f.connectionStatus=en)},Xt=(Ee,xe)=>{f.connectionPosition={x:Number.NaN,y:Number.NaN},f.connectionEndHandle=null,f.connectionStatus=null,xe?f.connectionClickStartHandle=null:f.connectionStartHandle=null},ni=Ee=>{const xe=$Xn(Ee),en=xe?null:fP(Ee)?Ee:L(Ee.id);return!xe&&!en?[null,null,xe]:[xe?Ee:SX(en),en,xe]},an=(Ee,xe=!0,en=f.nodes)=>{const[Pn,wn,pi]=ni(Ee);if(!Pn)return[];const mi=[];for(const Yt of en||f.nodes){if(!pi&&(Yt.id===wn.id||!Yt.computedPosition))continue;const Ji=SX(Yt),Ir=_X(Ji,Pn);(xe&&Ir>0||Ir>=Ji.width*Ji.height||Ir>=Number(Pn.width)*Number(Pn.height))&&mi.push(Yt)}return mi},Zn=(Ee,xe,en=!0)=>{const[Pn]=ni(Ee);if(!Pn)return!1;const wn=_X(Pn,xe);return en&&wn>0||wn>=Number(Pn.width)*Number(Pn.height)},gr=Ee=>{const{viewport:xe,dimensions:en,d3Zoom:Pn,d3Selection:wn,translateExtent:pi}=f;if(!Pn||!wn||!Ee.x&&!Ee.y)return!1;const mi=LT.translate(xe.x+Ee.x,xe.y+Ee.y).scale(xe.zoom),Yt=[[0,0],[en.width,en.height]],Ji=Pn.constrain()(mi,Yt,pi),Ir=f.viewport.x!==Ji.x||f.viewport.y!==Ji.y||f.viewport.zoom!==Ji.k;return Pn.transform(wn,Ji),Ir},yr=Ee=>{const xe=Ee instanceof Function?Ee(f):Ee,en=["d3Zoom","d3Selection","d3ZoomHandler","viewportRef","vueFlowRef","dimensions","hooks"];Lf(xe.defaultEdgeOptions)&&(f.defaultEdgeOptions=xe.defaultEdgeOptions);const Pn=xe.modelValue||xe.nodes||xe.edges?[]:void 0;Pn&&(xe.modelValue&&Pn.push(...xe.modelValue),xe.nodes&&Pn.push(...xe.nodes),xe.edges&&Pn.push(...xe.edges),Ne(Pn));const wn=()=>{Lf(xe.maxZoom)&&Bn(xe.maxZoom),Lf(xe.minZoom)&&Ve(xe.minZoom),Lf(xe.translateExtent)&&Qn(xe.translateExtent)};for(const pi of Object.keys(xe)){const mi=pi,Yt=xe[mi];![...mKn,...en].includes(mi)&&Lf(Yt)&&(f[mi]=Yt)}zpe(()=>f.d3Zoom).not.toBeNull().then(wn),f.initialized||(f.initialized=!0)};return{updateNodePositions:U,updateNodeDimensions:z,setElements:Ne,setNodes:Gt,setEdges:Vt,addNodes:q,addEdges:ce,removeNodes:cn,removeEdges:Se,findNode:L,findEdge:F,updateEdge:yn,updateEdgeData:sn,updateNode:lt,updateNodeData:ii,applyEdgeChanges:An,applyNodeChanges:Ln,addSelectedElements:ve,addSelectedNodes:ge,addSelectedEdges:V,setMinZoom:Ve,setMaxZoom:Bn,setTranslateExtent:Qn,setNodeExtent:mt,setPaneClickDistance:Dt,removeSelectedElements:we,removeSelectedNodes:te,removeSelectedEdges:_e,startConnection:ki,updateConnection:Li,endConnection:Xt,setInteractive:hi,setState:yr,getIntersectingNodes:an,getIncomers:A,getOutgoers:m,getConnectedEdges:_,getHandleConnections:N,isNodeIntersecting:Zn,panBy:gr,fitView:Ee=>k.value.fitView(Ee),zoomIn:Ee=>k.value.zoomIn(Ee),zoomOut:Ee=>k.value.zoomOut(Ee),zoomTo:(Ee,xe)=>k.value.zoomTo(Ee,xe),setViewport:(Ee,xe)=>k.value.setViewport(Ee,xe),setTransform:(Ee,xe)=>k.value.setTransform(Ee,xe),getViewport:()=>k.value.getViewport(),getTransform:()=>k.value.getTransform(),setCenter:(Ee,xe,en)=>k.value.setCenter(Ee,xe,en),fitBounds:(Ee,xe)=>k.value.fitBounds(Ee,xe),project:Ee=>k.value.project(Ee),screenToFlowCoordinate:Ee=>k.value.screenToFlowCoordinate(Ee),flowToScreenCoordinate:Ee=>k.value.flowToScreenCoordinate(Ee),toObject:()=>{const Ee=[],xe=[];for(const en of f.nodes){const{computedPosition:Pn,handleBounds:wn,selected:pi,dimensions:mi,isParent:Yt,resizing:Ji,dragging:Ir,events:Jc,..._u}=en;Ee.push(_u)}for(const en of f.edges){const{selected:Pn,sourceNode:wn,targetNode:pi,events:mi,...Yt}=en;xe.push(Yt)}return JSON.parse(JSON.stringify({nodes:Ee,edges:xe,position:[f.viewport.x,f.viewport.y],zoom:f.viewport.zoom,viewport:f.viewport}))},fromObject:Ee=>new Promise(xe=>{const{nodes:en,edges:Pn,position:wn,zoom:pi,viewport:mi}=Ee;en&&Gt(en),Pn&&Vt(Pn);const[Yt,Ji]=mi!=null&&mi.x&&(mi!=null&&mi.y)?[mi.x,mi.y]:wn??[null,null];if(Yt&&Ji){const Ir=(mi==null?void 0:mi.zoom)||pi||f.viewport.zoom;return zpe(()=>k.value.viewportInitialized).toBe(!0).then(()=>{k.value.setViewport({x:Yt,y:Ji,zoom:Ir}).then(()=>{xe(!0)})})}else xe(!0)}),updateNodeInternals:E,viewportHelper:k,$reset:()=>{const Ee=vbn();if(f.edges=[],f.nodes=[],f.d3Zoom&&f.d3Selection){const xe=LT.translate(Ee.defaultViewport.x??0,Ee.defaultViewport.y??0).scale(c7(Ee.defaultViewport.zoom??1,Ee.minZoom,Ee.maxZoom)),en=f.viewportRef.getBoundingClientRect(),Pn=[[0,0],[en.width,en.height]],wn=f.d3Zoom.constrain()(xe,Pn,Ee.translateExtent);f.d3Zoom.transform(f.d3Selection,wn)}yr(Ee)},$destroy:()=>{}}}const yKn=["data-id","data-handleid","data-nodeid","data-handlepos"],kKn={name:"Handle",compatConfig:{MODE:3}},Sg=Kr({...kKn,props:{id:{default:null},type:{},position:{default:()=>xi.Top},isValidConnection:{type:Function},connectable:{type:[Boolean,Number,String,Function],default:void 0},connectableStart:{type:Boolean,default:!0},connectableEnd:{type:Boolean,default:!0}},setup(f,{expose:h}){const g=RJn(f,["position","connectable","connectableStart","connectableEnd","id"]),k=xo(()=>g.type??"source"),E=xo(()=>g.isValidConnection??null),{id:A,connectionStartHandle:m,connectionClickStartHandle:_,connectionEndHandle:N,vueFlowRef:L,nodesConnectable:F,noDragClassName:U,noPanClassName:z}=Ss(),{id:W,node:ge,nodeEl:V,connectedEdges:ve}=pbn(),te=cr(),_e=xo(()=>typeof f.connectableStart<"u"?f.connectableStart:!0),we=xo(()=>typeof f.connectableEnd<"u"?f.connectableEnd:!0),Ve=xo(()=>{var Vt,Ne,q,ce,cn,Se;return((Vt=m.value)==null?void 0:Vt.nodeId)===W&&((Ne=m.value)==null?void 0:Ne.id)===f.id&&((q=m.value)==null?void 0:q.type)===k.value||((ce=N.value)==null?void 0:ce.nodeId)===W&&((cn=N.value)==null?void 0:cn.id)===f.id&&((Se=N.value)==null?void 0:Se.type)===k.value}),Bn=xo(()=>{var Vt,Ne,q;return((Vt=_.value)==null?void 0:Vt.nodeId)===W&&((Ne=_.value)==null?void 0:Ne.id)===f.id&&((q=_.value)==null?void 0:q.type)===k.value}),{handlePointerDown:Qn,handleClick:mt}=wbn({nodeId:W,handleId:f.id,isValidConnection:E,type:k}),Dt=Ai(()=>typeof f.connectable=="string"&&f.connectable==="single"?!ve.value.some(Vt=>{const Ne=Vt[`${k.value}Handle`];return Vt[k.value]!==W?!1:Ne?Ne===f.id:!0}):typeof f.connectable=="number"?ve.value.filter(Vt=>{const Ne=Vt[`${k.value}Handle`];return Vt[k.value]!==W?!1:Ne?Ne===f.id:!0}).length{var Vt;if(!ge.dimensions.width||!ge.dimensions.height)return;const Ne=(Vt=ge.handleBounds[k.value])==null?void 0:Vt.find(Ln=>Ln.id===f.id);if(!L.value||Ne)return;const q=L.value.querySelector(".vue-flow__transformationpane");if(!V.value||!te.value||!q||!f.id)return;const ce=V.value.getBoundingClientRect(),cn=te.value.getBoundingClientRect(),Se=window.getComputedStyle(q),{m22:yn}=new window.DOMMatrixReadOnly(Se.transform),sn={id:f.id,position:f.position,x:(cn.left-ce.left)/yn,y:(cn.top-ce.top)/yn,type:k.value,nodeId:W,...JX(te.value)};ge.handleBounds[k.value]=[...ge.handleBounds[k.value]??[],sn]});function hi(Vt){const Ne=I2e(Vt);Dt.value&&_e.value&&(Ne&&Vt.button===0||!Ne)&&Qn(Vt)}function Gt(Vt){!W||!_.value&&!_e.value||Dt.value&&mt(Vt)}return h({handleClick:mt,handlePointerDown:Qn,onClick:Gt,onPointerDown:hi}),(Vt,Ne)=>(xn(),Hn("div",{ref_key:"handle",ref:te,"data-id":`${ut(A)}-${ut(W)}-${f.id}-${k.value}`,"data-handleid":f.id,"data-nodeid":ut(W),"data-handlepos":Vt.position,class:Q1(["vue-flow__handle",[`vue-flow__handle-${Vt.position}`,`vue-flow__handle-${f.id}`,ut(U),ut(z),k.value,{connectable:Dt.value,connecting:Bn.value,connectablestart:_e.value,connectableend:we.value,connectionindicator:Dt.value&&(_e.value&&!Ve.value||we.value&&Ve.value)}]]),onMousedown:hi,onTouchstartPassive:hi,onClick:Gt},[Df(Vt.$slots,"default",{id:Vt.id})],42,yKn))}}),zX=function({sourcePosition:f=xi.Bottom,targetPosition:h=xi.Top,label:g,connectable:k=!0,isValidTargetPos:E,isValidSourcePos:A,data:m}){const _=m.label??g;return[qo(Sg,{type:"target",position:h,connectable:k,isValidConnection:E}),typeof _!="string"&&_?qo(_):qo(vc,[_]),qo(Sg,{type:"source",position:f,connectable:k,isValidConnection:A})]};zX.props=["sourcePosition","targetPosition","label","isValidTargetPos","isValidSourcePos","connectable","data"];zX.inheritAttrs=!1;zX.compatConfig={MODE:3};const EKn=zX,qX=function({targetPosition:f=xi.Top,label:h,connectable:g=!0,isValidTargetPos:k,data:E}){const A=E.label??h;return[qo(Sg,{type:"target",position:f,connectable:g,isValidConnection:k}),typeof A!="string"&&A?qo(A):qo(vc,[A])]};qX.props=["targetPosition","label","isValidTargetPos","connectable","data"];qX.inheritAttrs=!1;qX.compatConfig={MODE:3};const CKn=qX,UX=function({sourcePosition:f=xi.Bottom,label:h,connectable:g=!0,isValidSourcePos:k,data:E}){const A=E.label??h;return[typeof A!="string"&&A?qo(A):qo(vc,[A]),qo(Sg,{type:"source",position:f,connectable:g,isValidConnection:k})]};UX.props=["sourcePosition","label","isValidSourcePos","connectable","data"];UX.inheritAttrs=!1;UX.compatConfig={MODE:3};const AKn=UX,TKn=["transform"],MKn=["width","height","x","y","rx","ry"],SKn=["y"],_Kn={name:"EdgeText",compatConfig:{MODE:3}},jKn=Kr({..._Kn,props:{x:{},y:{},label:{},labelStyle:{default:()=>({})},labelShowBg:{type:Boolean,default:!0},labelBgStyle:{default:()=>({})},labelBgPadding:{default:()=>[2,4]},labelBgBorderRadius:{default:2}},setup(f){const h=cr({x:0,y:0,width:0,height:0}),g=cr(null),k=Ai(()=>`translate(${f.x-h.value.width/2} ${f.y-h.value.height/2})`);N3(E),No([()=>f.x,()=>f.y,g,()=>f.label],E);function E(){if(!g.value)return;const A=g.value.getBBox();(A.width!==h.value.width||A.height!==h.value.height)&&(h.value=A)}return(A,m)=>(xn(),Hn("g",{transform:k.value,class:"vue-flow__edge-textwrapper"},[A.labelShowBg?(xn(),Hn("rect",{key:0,class:"vue-flow__edge-textbg",width:`${h.value.width+2*A.labelBgPadding[0]}px`,height:`${h.value.height+2*A.labelBgPadding[1]}px`,x:-A.labelBgPadding[0],y:-A.labelBgPadding[1],style:bh(A.labelBgStyle),rx:A.labelBgBorderRadius,ry:A.labelBgBorderRadius},null,12,MKn)):Kc("",!0),Me("text",wP(A.$attrs,{ref_key:"el",ref:g,class:"vue-flow__edge-text",y:h.value.height/2,dy:"0.3em",style:A.labelStyle}),[Df(A.$slots,"default",{},()=>[typeof A.label!="string"?(xn(),Ff(Uk(A.label),{key:0})):(xn(),Hn(vc,{key:1},[GJn(Bi(A.label),1)],64))])],16,SKn)],8,TKn))}}),IKn=["id","d","marker-end","marker-start"],$Kn=["d","stroke-width"],NKn={name:"BaseEdge",inheritAttrs:!1,compatConfig:{MODE:3}},VX=Kr({...NKn,props:{id:{},labelX:{},labelY:{},path:{},label:{},markerStart:{},markerEnd:{},interactionWidth:{default:20},labelStyle:{},labelShowBg:{type:Boolean},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{}},setup(f,{expose:h}){const g=cr(null),k=cr(null),E=cr(null),A=b2e();return h({pathEl:g,interactionEl:k,labelEl:E}),(m,_)=>(xn(),Hn(vc,null,[Me("path",wP(ut(A),{id:m.id,ref_key:"pathEl",ref:g,d:m.path,class:"vue-flow__edge-path","marker-end":m.markerEnd,"marker-start":m.markerStart}),null,16,IKn),m.interactionWidth?(xn(),Hn("path",{key:0,ref_key:"interactionEl",ref:k,fill:"none",d:m.path,"stroke-width":m.interactionWidth,"stroke-opacity":0,class:"vue-flow__edge-interaction"},null,8,$Kn)):Kc("",!0),m.label&&m.labelX&&m.labelY?(xn(),Ff(jKn,{key:1,ref_key:"labelEl",ref:E,x:m.labelX,y:m.labelY,label:m.label,"label-show-bg":m.labelShowBg,"label-bg-style":m.labelBgStyle,"label-bg-padding":m.labelBgPadding,"label-bg-border-radius":m.labelBgBorderRadius,"label-style":m.labelStyle},null,8,["x","y","label","label-show-bg","label-bg-style","label-bg-padding","label-bg-border-radius","label-style"])):Kc("",!0)],64))}});function ybn({sourceX:f,sourceY:h,targetX:g,targetY:k}){const E=Math.abs(g-f)/2,A=g=0?.5*f:h*25*Math.sqrt(-f)}function E1n({pos:f,x1:h,y1:g,x2:k,y2:E,c:A}){let m,_;switch(f){case xi.Left:m=h-eX(h-k,A),_=g;break;case xi.Right:m=h+eX(k-h,A),_=g;break;case xi.Top:m=h,_=g-eX(g-E,A);break;case xi.Bottom:m=h,_=g+eX(E-g,A);break}return[m,_]}function Ebn(f){const{sourceX:h,sourceY:g,sourcePosition:k=xi.Bottom,targetX:E,targetY:A,targetPosition:m=xi.Top,curvature:_=.25}=f,[N,L]=E1n({pos:k,x1:h,y1:g,x2:E,y2:A,c:_}),[F,U]=E1n({pos:m,x1:E,y1:A,x2:h,y2:g,c:_}),[z,W,ge,V]=kbn({sourceX:h,sourceY:g,targetX:E,targetY:A,sourceControlX:N,sourceControlY:L,targetControlX:F,targetControlY:U});return[`M${h},${g} C${N},${L} ${F},${U} ${E},${A}`,z,W,ge,V]}function C1n({pos:f,x1:h,y1:g,x2:k,y2:E}){let A,m;switch(f){case xi.Left:case xi.Right:A=.5*(h+k),m=g;break;case xi.Top:case xi.Bottom:A=h,m=.5*(g+E);break}return[A,m]}function Cbn(f){const{sourceX:h,sourceY:g,sourcePosition:k=xi.Bottom,targetX:E,targetY:A,targetPosition:m=xi.Top}=f,[_,N]=C1n({pos:k,x1:h,y1:g,x2:E,y2:A}),[L,F]=C1n({pos:m,x1:E,y1:A,x2:h,y2:g}),[U,z,W,ge]=kbn({sourceX:h,sourceY:g,targetX:E,targetY:A,sourceControlX:_,sourceControlY:N,targetControlX:L,targetControlY:F});return[`M${h},${g} C${_},${N} ${L},${F} ${E},${A}`,U,z,W,ge]}const A1n={[xi.Left]:{x:-1,y:0},[xi.Right]:{x:1,y:0},[xi.Top]:{x:0,y:-1},[xi.Bottom]:{x:0,y:1}};function xKn({source:f,sourcePosition:h=xi.Bottom,target:g}){return h===xi.Left||h===xi.Right?f.xf[U]?-1:1)*ce:te[U]=(L[U]>g[U]?-1:1)*ce}}if(h!==k){const q=U==="x"?"y":"x",ce=m[U]===_[q],cn=N[q]>L[q],Se=N[q]=Ne?(ge=(hi.x+Gt.x)/2,V=W[0].y):(ge=W[0].x,V=(hi.y+Gt.y)/2)}return[[f,{x:N.x+ve.x,y:N.y+ve.y},...W,{x:L.x+te.x,y:L.y+te.y},g],ge,V,Ve,Bn]}function OKn(f,h,g,k){const E=Math.min(T1n(f,h)/2,T1n(h,g)/2,k),{x:A,y:m}=h;if(f.x===A&&A===g.x||f.y===m&&m===g.y)return`L${A} ${m}`;if(f.y===m){const L=f.x{let Ve;return we>0&&we{const[g,k,E]=DKn(f);return qo(VX,{path:g,labelX:k,labelY:E,...h,...f})}}}),FKn=LKn,RKn=Kr({name:"SmoothStepEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","borderRadius","markerEnd","markerStart","interactionWidth","offset"],compatConfig:{MODE:3},setup(f,{attrs:h}){return()=>{const[g,k,E]=r2e({...f,sourcePosition:f.sourcePosition??xi.Bottom,targetPosition:f.targetPosition??xi.Top});return qo(VX,{path:g,labelX:k,labelY:E,...h,...f})}}}),Abn=RKn,BKn=Kr({name:"StepEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","markerEnd","markerStart","interactionWidth"],setup(f,{attrs:h}){return()=>qo(Abn,{...f,...h,borderRadius:0})}}),JKn=BKn,GKn=Kr({name:"BezierEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","curvature","markerEnd","markerStart","interactionWidth"],compatConfig:{MODE:3},setup(f,{attrs:h}){return()=>{const[g,k,E]=Ebn({...f,sourcePosition:f.sourcePosition??xi.Bottom,targetPosition:f.targetPosition??xi.Top});return qo(VX,{path:g,labelX:k,labelY:E,...h,...f})}}}),Tbn=GKn,HKn=Kr({name:"SimpleBezierEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","markerEnd","markerStart","interactionWidth"],compatConfig:{MODE:3},setup(f,{attrs:h}){return()=>{const[g,k,E]=Cbn({...f,sourcePosition:f.sourcePosition??xi.Bottom,targetPosition:f.targetPosition??xi.Top});return qo(VX,{path:g,labelX:k,labelY:E,...h,...f})}}}),zKn=HKn,qKn={input:AKn,default:EKn,output:CKn},UKn={default:Tbn,straight:FKn,step:JKn,smoothstep:Abn,simplebezier:zKn};function VKn(f,h,g){const k=Ai(()=>V=>h.value.get(V)),E=Ai(()=>V=>g.value.get(V)),A=Ai(()=>{const V={...UKn,...f.edgeTypes},ve=Object.keys(V);for(const te of f.edges)te.type&&!ve.includes(te.type)&&(V[te.type]=te.type);return V}),m=Ai(()=>{const V={...qKn,...f.nodeTypes},ve=Object.keys(V);for(const te of f.nodes)te.type&&!ve.includes(te.type)&&(V[te.type]=te.type);return V}),_=Ai(()=>f.onlyRenderVisibleElements?ubn(f.nodes,{x:0,y:0,width:f.dimensions.width,height:f.dimensions.height},f.viewport,!0):f.nodes),N=Ai(()=>{if(f.onlyRenderVisibleElements){const V=[];for(const ve of f.edges){const te=h.value.get(ve.source),_e=h.value.get(ve.target);zXn({sourcePos:te.computedPosition||{x:0,y:0},targetPos:_e.computedPosition||{x:0,y:0},sourceWidth:te.dimensions.width,sourceHeight:te.dimensions.height,targetWidth:_e.dimensions.width,targetHeight:_e.dimensions.height,width:f.dimensions.width,height:f.dimensions.height,viewport:f.viewport})&&V.push(ve)}return V}return f.edges}),L=Ai(()=>[..._.value,...N.value]),F=Ai(()=>{const V=[];for(const ve of f.nodes)ve.selected&&V.push(ve);return V}),U=Ai(()=>{const V=[];for(const ve of f.edges)ve.selected&&V.push(ve);return V}),z=Ai(()=>[...F.value,...U.value]),W=Ai(()=>{const V=[];for(const ve of f.nodes)ve.dimensions.width&&ve.dimensions.height&&ve.handleBounds!==void 0&&V.push(ve);return V}),ge=Ai(()=>_.value.length>0&&W.value.length===_.value.length);return{getNode:k,getEdge:E,getElements:L,getEdgeTypes:A,getNodeTypes:m,getEdges:N,getNodes:_,getSelectedElements:z,getSelectedNodes:F,getSelectedEdges:U,getNodesInitialized:W,areNodesInitialized:ge}}class Kk{constructor(){this.currentId=0,this.flows=new Map}static getInstance(){var h;const g=(h=JT())==null?void 0:h.appContext.app,k=(g==null?void 0:g.config.globalProperties.$vueFlowStorage)??Kk.instance;return Kk.instance=k??new Kk,g&&(g.config.globalProperties.$vueFlowStorage=Kk.instance),Kk.instance}set(h,g){return this.flows.set(h,g)}get(h){return this.flows.get(h)}remove(h){return this.flows.delete(h)}create(h,g){const k=vbn(),E=HJn(k),A={};for(const[z,W]of Object.entries(E.hooks)){const ge=`on${z.charAt(0).toUpperCase()+z.slice(1)}`;A[ge]=W.on}const m={};for(const[z,W]of Object.entries(E.hooks))m[z]=W.trigger;const _=Ai(()=>{const z=new Map;for(const W of E.nodes)z.set(W.id,W);return z}),N=Ai(()=>{const z=new Map;for(const W of E.edges)z.set(W.id,W);return z}),L=VKn(E,_,N),F=vKn(E,_,N);F.setState({...E,...g});const U={...A,...L,...F,...Bzn(E),nodeLookup:_,edgeLookup:N,emits:m,id:h,vueFlowVersion:"1.48.2",$destroy:()=>{this.remove(h)}};return this.set(h,U),U}getId(){return`vue-flow-${this.currentId++}`}}function Ss(f){const h=Kk.getInstance(),g=W1n(),k=typeof f=="object",E=k?f:{id:f},A=E.id,m=A??(g==null?void 0:g.vueFlowId);let _;if(g){const N=o7(k1n,null);typeof N<"u"&&N!==null&&(!m||N.id===m)&&(_=N)}if(_||m&&(_=h.get(m)),!_||m&&_.id!==m){const N=A??h.getId(),L=h.create(N,E);_=L,(g??X1n(!0)).run(()=>{No(L.applyDefault,(U,z,W)=>{const ge=ve=>{L.applyNodeChanges(ve)},V=ve=>{L.applyEdgeChanges(ve)};U?(L.onNodesChange(ge),L.onEdgesChange(V)):(L.hooks.value.nodesChange.off(ge),L.hooks.value.edgesChange.off(V)),W(()=>{L.hooks.value.nodesChange.off(ge),L.hooks.value.edgesChange.off(V)})},{immediate:!0}),pP(()=>{if(_){const U=h.get(_.id);U?U.$destroy():NP(`No store instance found for id ${_.id} in storage.`)}})})}else k&&_.setState(E);if(g&&(t7(k1n,_),g.vueFlowId=_.id),k){const N=JT();(N==null?void 0:N.type.name)!=="VueFlow"&&_.emits.error(new ga(Rf.USEVUEFLOW_OPTIONS))}return _}function XKn(f){const{emits:h,dimensions:g}=Ss();let k;N3(()=>{const E=()=>{var A,m;if(!f.value||!(((m=(A=f.value).checkVisibility)==null?void 0:m.call(A))??!0))return;const _=JX(f.value);(_.width===0||_.height===0)&&h.error(new ga(Rf.MISSING_VIEWPORT_DIMENSIONS)),g.value={width:_.width||500,height:_.height||500}};E(),window.addEventListener("resize",E),f.value&&(k=new ResizeObserver(()=>E()),k.observe(f.value)),K1n(()=>{window.removeEventListener("resize",E),k&&f.value&&k.unobserve(f.value)})})}const KKn={name:"UserSelection",compatConfig:{MODE:3}},WKn=Kr({...KKn,props:{userSelectionRect:{}},setup(f){return(h,g)=>(xn(),Hn("div",{class:"vue-flow__selection vue-flow__container",style:bh({width:`${h.userSelectionRect.width}px`,height:`${h.userSelectionRect.height}px`,transform:`translate(${h.userSelectionRect.x}px, ${h.userSelectionRect.y}px)`})},null,4))}}),YKn=["tabIndex"],QKn={name:"NodesSelection",compatConfig:{MODE:3}},ZKn=Kr({...QKn,setup(f){const{emits:h,viewport:g,getSelectedNodes:k,noPanClassName:E,disableKeyboardA11y:A,userSelectionActive:m}=Ss(),_=mbn(),N=cr(null),L=gbn({el:N,onStart(ge){h.selectionDragStart(ge),h.nodeDragStart(ge)},onDrag(ge){h.selectionDrag(ge),h.nodeDrag(ge)},onStop(ge){h.selectionDragStop(ge),h.nodeDragStop(ge)}});N3(()=>{var ge;A.value||(ge=N.value)==null||ge.focus({preventScroll:!0})});const F=Ai(()=>_2e(k.value)),U=Ai(()=>({width:`${F.value.width}px`,height:`${F.value.height}px`,top:`${F.value.y}px`,left:`${F.value.x}px`}));function z(ge){h.selectionContextMenu({event:ge,nodes:k.value})}function W(ge){A.value||$T[ge.key]&&(ge.preventDefault(),_({x:$T[ge.key].x,y:$T[ge.key].y},ge.shiftKey))}return(ge,V)=>!ut(m)&&F.value.width&&F.value.height?(xn(),Hn("div",{key:0,class:Q1(["vue-flow__nodesselection vue-flow__container",ut(E)]),style:bh({transform:`translate(${ut(g).x}px,${ut(g).y}px) scale(${ut(g).zoom})`})},[Me("div",{ref_key:"el",ref:N,class:Q1([{dragging:ut(L)},"vue-flow__nodesselection-rect"]),style:bh(U.value),tabIndex:ut(A)?void 0:-1,onContextmenu:z,onKeydown:W},null,46,YKn)],6)):Kc("",!0)}});function eWn(f,h){return{x:f.clientX-h.left,y:f.clientY-h.top}}const nWn={name:"Pane",compatConfig:{MODE:3}},tWn=Kr({...nWn,props:{isSelecting:{type:Boolean},selectionKeyPressed:{type:Boolean}},setup(f){const{vueFlowRef:h,nodes:g,viewport:k,emits:E,userSelectionActive:A,removeSelectedElements:m,userSelectionRect:_,elementsSelectable:N,nodesSelectionActive:L,getSelectedEdges:F,getSelectedNodes:U,removeNodes:z,removeEdges:W,selectionMode:ge,deleteKeyCode:V,multiSelectionKeyCode:ve,multiSelectionActive:te,edgeLookup:_e,nodeLookup:we,connectionLookup:Ve,defaultEdgeOptions:Bn,connectionStartHandle:Qn,panOnDrag:mt}=Ss(),Dt=pm(null),hi=pm(new Set),Gt=pm(new Set),Vt=pm(null),Ne=xo(()=>N.value&&(f.isSelecting||A.value)),q=xo(()=>Qn.value!==null);let ce=!1,cn=!1;const Se=gP(V,{actInsideInputWithModifier:!1}),yn=gP(ve);No(Se,Xt=>{Xt&&(z(U.value),W(F.value),L.value=!1)}),No(yn,Xt=>{te.value=Xt});function sn(Xt,ni){return an=>{an.target===ni&&(Xt==null||Xt(an))}}function Ln(Xt){if(ce||q.value){ce=!1;return}E.paneClick(Xt),m(),L.value=!1}function An(Xt){var ni;if(Array.isArray(mt.value)&&((ni=mt.value)!=null&&ni.includes(2))){Xt.preventDefault();return}E.paneContextMenu(Xt)}function lt(Xt){E.paneScroll(Xt)}function ii(Xt){var ni,an,Zn;if(Vt.value=((ni=h.value)==null?void 0:ni.getBoundingClientRect())??null,!N.value||!f.isSelecting||Xt.button!==0||Xt.target!==Dt.value||!Vt.value)return;(Zn=(an=Xt.target)==null?void 0:an.setPointerCapture)==null||Zn.call(an,Xt.pointerId);const{x:gr,y:yr}=eWn(Xt,Vt.value);cn=!0,ce=!1,m(),_.value={width:0,height:0,startX:gr,startY:yr,x:gr,y:yr},E.selectionStart(Xt)}function ki(Xt){var ni;if(!Vt.value||!_.value)return;ce=!0;const{x:an,y:Zn}=wm(Xt,Vt.value),{startX:gr=0,startY:yr=0}=_.value,Lr={startX:gr,startY:yr,x:anxe.id)),Gt.value=new Set;const Ee=((ni=Bn.value)==null?void 0:ni.selectable)??!0;for(const xe of hi.value){const en=Ve.value.get(xe);if(en)for(const{edgeId:Pn}of en.values()){const wn=_e.value.get(Pn);wn&&(wn.selectable??Ee)&&Gt.value.add(Pn)}}if(!y1n(Lt,hi.value)){const xe=I4(we.value,hi.value,!0);E.nodesChange(xe)}if(!y1n(Kn,Gt.value)){const xe=I4(_e.value,Gt.value);E.edgesChange(xe)}_.value=Lr,A.value=!0,L.value=!1}function Li(Xt){var ni;Xt.button!==0||!cn||((ni=Xt.target)==null||ni.releasePointerCapture(Xt.pointerId),!A.value&&_.value&&Xt.target===Dt.value&&Ln(Xt),A.value=!1,_.value=null,L.value=hi.value.size>0,E.selectionEnd(Xt),f.selectionKeyPressed&&(ce=!1),cn=!1)}return(Xt,ni)=>(xn(),Hn("div",{ref_key:"container",ref:Dt,class:Q1(["vue-flow__pane vue-flow__container",{selection:Xt.isSelecting}]),onClick:ni[0]||(ni[0]=an=>Ne.value?void 0:sn(Ln,Dt.value)(an)),onContextmenu:ni[1]||(ni[1]=an=>sn(An,Dt.value)(an)),onWheelPassive:ni[2]||(ni[2]=an=>sn(lt,Dt.value)(an)),onPointerenter:ni[3]||(ni[3]=an=>Ne.value?void 0:ut(E).paneMouseEnter(an)),onPointerdown:ni[4]||(ni[4]=an=>Ne.value?ii(an):ut(E).paneMouseMove(an)),onPointermove:ni[5]||(ni[5]=an=>Ne.value?ki(an):ut(E).paneMouseMove(an)),onPointerup:ni[6]||(ni[6]=an=>Ne.value?Li(an):void 0),onPointerleave:ni[7]||(ni[7]=an=>ut(E).paneMouseLeave(an))},[Df(Xt.$slots,"default"),ut(A)&&ut(_)?(xn(),Ff(WKn,{key:0,"user-selection-rect":ut(_)},null,8,["user-selection-rect"])):Kc("",!0),ut(L)&&ut(U).length?(xn(),Ff(ZKn,{key:1})):Kc("",!0)],34))}}),iWn={name:"Transform",compatConfig:{MODE:3}},rWn=Kr({...iWn,setup(f){const{viewport:h,fitViewOnInit:g,fitViewOnInitDone:k}=Ss(),E=Ai(()=>g.value?!k.value:!1),A=Ai(()=>`translate(${h.value.x}px,${h.value.y}px) scale(${h.value.zoom})`);return(m,_)=>(xn(),Hn("div",{class:"vue-flow__transformationpane vue-flow__container",style:bh({transform:A.value,opacity:E.value?0:void 0})},[Df(m.$slots,"default")],4))}}),cWn={name:"Viewport",compatConfig:{MODE:3}},uWn=Kr({...cWn,setup(f){const{minZoom:h,maxZoom:g,defaultViewport:k,translateExtent:E,zoomActivationKeyCode:A,selectionKeyCode:m,panActivationKeyCode:_,panOnScroll:N,panOnScrollMode:L,panOnScrollSpeed:F,panOnDrag:U,zoomOnDoubleClick:z,zoomOnPinch:W,zoomOnScroll:ge,preventScrolling:V,noWheelClassName:ve,noPanClassName:te,emits:_e,connectionStartHandle:we,userSelectionActive:Ve,paneDragging:Bn,d3Zoom:Qn,d3Selection:mt,d3ZoomHandler:Dt,viewport:hi,viewportRef:Gt,paneClickDistance:Vt}=Ss();XKn(Gt);const Ne=pm(!1),q=pm(!1);let ce=null,cn=!1,Se=0,yn={x:0,y:0,zoom:0};const sn=gP(_),Ln=gP(m),An=gP(A),lt=xo(()=>(!Ln.value||Ln.value&&m.value===!0)&&(sn.value||U.value)),ii=xo(()=>sn.value||N.value),ki=xo(()=>m.value===!0&<.value!==!0),Li=xo(()=>Ln.value&&m.value!==!0||Ve.value||ki.value),Xt=xo(()=>we.value!==null);N3(()=>{if(!Gt.value){NP("Viewport element is missing");return}const yr=Gt.value,Lr=yr.getBoundingClientRect(),Lt=AXn().clickDistance(Vt.value).scaleExtent([h.value,g.value]).translateExtent(E.value),Kn=Sp(yr).call(Lt),Ee=Kn.on("wheel.zoom"),xe=LT.translate(k.value.x??0,k.value.y??0).scale(c7(k.value.zoom??1,h.value,g.value)),en=[[0,0],[Lr.width,Lr.height]],Pn=Lt.constrain()(xe,en,E.value);Lt.transform(Kn,Pn),Lt.wheelDelta(n2e),Qn.value=Lt,mt.value=Kn,Dt.value=Ee,hi.value={x:Pn.x,y:Pn.y,zoom:Pn.k},Lt.on("start",wn=>{var pi;if(!wn.sourceEvent)return null;Se=wn.sourceEvent.button,Ne.value=!0;const mi=Zn(wn.transform);((pi=wn.sourceEvent)==null?void 0:pi.type)==="mousedown"&&(Bn.value=!0),yn=mi,_e.viewportChangeStart(mi),_e.moveStart({event:wn,flowTransform:mi})}),Lt.on("end",wn=>{if(!wn.sourceEvent)return null;if(Ne.value=!1,Bn.value=!1,ni(lt.value,Se??0)&&!cn&&_e.paneContextMenu(wn.sourceEvent),cn=!1,an(yn,wn.transform)){const pi=Zn(wn.transform);yn=pi,_e.viewportChangeEnd(pi),_e.moveEnd({event:wn,flowTransform:pi})}}),Lt.filter(wn=>{var pi;const mi=An.value||ge.value,Yt=W.value&&wn.ctrlKey,Ji=wn.button,Ir=wn.type==="wheel";if(Ji===1&&wn.type==="mousedown"&&(gr(wn,"vue-flow__node")||gr(wn,"vue-flow__edge")))return!0;if(!lt.value&&!mi&&!ii.value&&!z.value&&!W.value||Ve.value||Xt.value&&!Ir||!z.value&&wn.type==="dblclick"||gr(wn,ve.value)&&Ir||gr(wn,te.value)&&(!Ir||ii.value&&Ir&&!An.value)||!W.value&&wn.ctrlKey&&Ir||!mi&&!ii.value&&!Yt&&Ir)return!1;if(!W&&wn.type==="touchstart"&&((pi=wn.touches)==null?void 0:pi.length)>1)return wn.preventDefault(),!1;if(!lt.value&&(wn.type==="mousedown"||wn.type==="touchstart")||ki.value&&Array.isArray(U.value)&&U.value.includes(0)&&Ji===0||Array.isArray(U.value)&&!U.value.includes(Ji)&&(wn.type==="mousedown"||wn.type==="touchstart"))return!1;const Jc=Array.isArray(U.value)&&U.value.includes(Ji)||m.value===!0&&Array.isArray(U.value)&&!U.value.includes(0)||!Ji||Ji<=1;return(!wn.ctrlKey||sn.value||Ir)&&Jc}),No([Ve,lt],()=>{Ve.value&&!Ne.value?Lt.on("zoom",null):Ve.value||Lt.on("zoom",wn=>{hi.value={x:wn.transform.x,y:wn.transform.y,zoom:wn.transform.k};const pi=Zn(wn.transform);cn=ni(lt.value,Se??0),_e.viewportChange(pi),_e.move({event:wn,flowTransform:pi})})},{immediate:!0}),No([Ve,ii,L,An,W,V,ve],()=>{ii.value&&!An.value&&!Ve.value?Kn.on("wheel.zoom",wn=>{if(gr(wn,ve.value))return!1;const pi=An.value||ge.value,mi=W.value&&wn.ctrlKey;if(!(!V.value||ii.value||pi||mi))return!1;wn.preventDefault(),wn.stopImmediatePropagation();const Ji=Kn.property("__zoom").k||1,Ir=TP();if(!sn.value&&wn.ctrlKey&&W.value&&Ir){const OP=bm(wn),DP=n2e(wn),LP=Ji*2**DP;Lt.scaleTo(Kn,LP,OP,wn);return}const Jc=wn.deltaMode===1?20:1;let _u=L.value===bP.Vertical?0:wn.deltaX*Jc,jg=L.value===bP.Horizontal?0:wn.deltaY*Jc;!Ir&&wn.shiftKey&&L.value!==bP.Vertical&&!_u&&jg&&(_u=jg,jg=0),Lt.translateBy(Kn,-(_u/Ji)*F.value,-(jg/Ji)*F.value);const Z1=Zn(Kn.property("__zoom"));ce&&clearTimeout(ce),q.value?(_e.move({event:wn,flowTransform:Z1}),_e.viewportChange(Z1),ce=setTimeout(()=>{_e.moveEnd({event:wn,flowTransform:Z1}),_e.viewportChangeEnd(Z1),q.value=!1},150)):(q.value=!0,_e.moveStart({event:wn,flowTransform:Z1}),_e.viewportChangeStart(Z1))},{passive:!1}):typeof Ee<"u"&&Kn.on("wheel.zoom",function(wn,pi){const mi=!V.value&&wn.type==="wheel"&&!wn.ctrlKey,Yt=An.value||ge.value,Ji=W.value&&wn.ctrlKey;if(!Yt&&!N.value&&!Ji&&wn.type==="wheel"||mi||gr(wn,ve.value))return null;wn.preventDefault(),Ee.call(this,wn,pi)},{passive:!1})},{immediate:!0})});function ni(yr,Lr){return Lr===2&&Array.isArray(yr)&&yr.includes(2)}function an(yr,Lr){return yr.x!==Lr.x&&!Number.isNaN(Lr.x)||yr.y!==Lr.y&&!Number.isNaN(Lr.y)||yr.zoom!==Lr.k&&!Number.isNaN(Lr.k)}function Zn(yr){return{x:yr.x,y:yr.y,zoom:yr.k}}function gr(yr,Lr){return yr.target.closest(`.${Lr}`)}return(yr,Lr)=>(xn(),Hn("div",{ref_key:"viewportRef",ref:Gt,class:"vue-flow__viewport vue-flow__container"},[Cr(tWn,{"is-selecting":Li.value,"selection-key-pressed":ut(Ln),class:Q1({connecting:Xt.value,dragging:ut(Bn),draggable:ut(U)===!0||Array.isArray(ut(U))&&ut(U).includes(0)})},{default:gs(()=>[Cr(rWn,null,{default:gs(()=>[Df(yr.$slots,"default")]),_:3})]),_:3},8,["is-selecting","selection-key-pressed","class"])],512))}}),oWn=["id"],sWn=["id"],lWn=["id"],fWn={name:"A11yDescriptions",compatConfig:{MODE:3}},aWn=Kr({...fWn,setup(f){const{id:h,disableKeyboardA11y:g,ariaLiveMessage:k}=Ss();return(E,A)=>(xn(),Hn(vc,null,[Me("div",{id:`${ut(Y0n)}-${ut(h)}`,style:{display:"none"}}," Press enter or space to select a node. "+Bi(ut(g)?"":"You can then use the arrow keys to move the node around.")+" You can then use the arrow keys to move the node around, press delete to remove it and press escape to cancel. ",9,oWn),Me("div",{id:`${ut(Q0n)}-${ut(h)}`,style:{display:"none"}}," Press enter or space to select an edge. You can then press delete to remove it or press escape to cancel. ",8,sWn),ut(g)?Kc("",!0):(xn(),Hn("div",{key:0,id:`${ut(IXn)}-${ut(h)}`,"aria-live":"assertive","aria-atomic":"true",style:{position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)","clip-path":"inset(100%)"}},Bi(ut(k)),9,lWn))],64))}});function hWn(){const f=Ss();No(()=>f.viewportHelper.value.viewportInitialized,h=>{h&&setTimeout(()=>{f.emits.init(f),f.emits.paneReady(f)},1)})}function dWn(f,h,g){return g===xi.Left?f-h:g===xi.Right?f+h:f}function bWn(f,h,g){return g===xi.Top?f-h:g===xi.Bottom?f+h:f}const $2e=function({radius:f=10,centerX:h=0,centerY:g=0,position:k=xi.Top,type:E}){return qo("circle",{class:`vue-flow__edgeupdater vue-flow__edgeupdater-${E}`,cx:dWn(h,f,k),cy:bWn(g,f,k),r:f,stroke:"transparent",fill:"transparent"})};$2e.props=["radius","centerX","centerY","position","type"];$2e.compatConfig={MODE:3};const M1n=$2e,gWn=Kr({name:"Edge",compatConfig:{MODE:3},props:["id"],setup(f){const{id:h,addSelectedEdges:g,connectionMode:k,edgeUpdaterRadius:E,emits:A,nodesSelectionActive:m,noPanClassName:_,getEdgeTypes:N,removeSelectedEdges:L,findEdge:F,findNode:U,isValidConnection:z,multiSelectionActive:W,disableKeyboardA11y:ge,elementsSelectable:V,edgesUpdatable:ve,edgesFocusable:te,hooks:_e}=Ss(),we=Ai(()=>F(f.id)),{emit:Ve,on:Bn}=uKn(we.value,A),Qn=o7(HX),mt=JT(),Dt=cr(!1),hi=cr(!1),Gt=cr(""),Vt=cr(null),Ne=cr("source"),q=cr(null),ce=xo(()=>typeof we.value.selectable>"u"?V.value:we.value.selectable),cn=xo(()=>typeof we.value.updatable>"u"?ve.value:we.value.updatable),Se=xo(()=>typeof we.value.focusable>"u"?te.value:we.value.focusable);t7(iKn,f.id),t7(rKn,q);const yn=Ai(()=>we.value.class instanceof Function?we.value.class(we.value):we.value.class),sn=Ai(()=>we.value.style instanceof Function?we.value.style(we.value):we.value.style),Ln=Ai(()=>{const xe=we.value.type||"default",en=Qn==null?void 0:Qn[`edge-${xe}`];if(en)return en;let Pn=we.value.template??N.value[xe];if(typeof Pn=="string"&&mt){const wn=Object.keys(mt.appContext.components);wn&&wn.includes(xe)&&(Pn=Y1n(xe,!1))}return Pn&&typeof Pn!="string"?Pn:(A.error(new ga(Rf.EDGE_TYPE_MISSING,Pn)),!1)}),{handlePointerDown:An}=wbn({nodeId:Gt,handleId:Vt,type:Ne,isValidConnection:z,edgeUpdaterType:Ne,onEdgeUpdate:ki,onEdgeUpdateEnd:Li});return()=>{const xe=U(we.value.source),en=U(we.value.target),Pn="pathOptions"in we.value?we.value.pathOptions:{};if(!xe&&!en)return A.error(new ga(Rf.EDGE_SOURCE_TARGET_MISSING,we.value.id,we.value.source,we.value.target)),null;if(!xe)return A.error(new ga(Rf.EDGE_SOURCE_MISSING,we.value.id,we.value.source)),null;if(!en)return A.error(new ga(Rf.EDGE_TARGET_MISSING,we.value.id,we.value.target)),null;if(!we.value||we.value.hidden||xe.hidden||en.hidden)return null;let wn;k.value===P4.Strict?wn=xe.handleBounds.source:wn=[...xe.handleBounds.source||[],...xe.handleBounds.target||[]];const pi=b1n(wn,we.value.sourceHandle);let mi;k.value===P4.Strict?mi=en.handleBounds.target:mi=[...en.handleBounds.target||[],...en.handleBounds.source||[]];const Yt=b1n(mi,we.value.targetHandle),Ji=(pi==null?void 0:pi.position)||xi.Bottom,Ir=(Yt==null?void 0:Yt.position)||xi.Top,{x:Jc,y:_u}=FT(xe,pi,Ji),{x:jg,y:Z1}=FT(en,Yt,Ir);return we.value.sourceX=Jc,we.value.sourceY=_u,we.value.targetX=jg,we.value.targetY=Z1,qo("g",{ref:q,key:f.id,"data-id":f.id,class:["vue-flow__edge",`vue-flow__edge-${Ln.value===!1?"default":we.value.type||"default"}`,_.value,yn.value,{updating:Dt.value,selected:we.value.selected,animated:we.value.animated,inactive:!ce.value&&!_e.value.edgeClick.hasListeners()}],tabIndex:Se.value?0:void 0,"aria-label":we.value.ariaLabel===null?void 0:we.value.ariaLabel??`Edge from ${we.value.source} to ${we.value.target}`,"aria-describedby":Se.value?`${Q0n}-${h}`:void 0,"aria-roledescription":"edge",role:Se.value?"group":"img",...we.value.domAttributes,onClick:ni,onContextmenu:an,onDblclick:Zn,onMouseenter:gr,onMousemove:yr,onMouseleave:Lr,onKeyDown:Se.value?Ee:void 0},[hi.value?null:qo(Ln.value===!1?N.value.default:Ln.value,{id:f.id,sourceNode:xe,targetNode:en,source:we.value.source,target:we.value.target,type:we.value.type,updatable:cn.value,selected:we.value.selected,animated:we.value.animated,label:we.value.label,labelStyle:we.value.labelStyle,labelShowBg:we.value.labelShowBg,labelBgStyle:we.value.labelBgStyle,labelBgPadding:we.value.labelBgPadding,labelBgBorderRadius:we.value.labelBgBorderRadius,data:we.value.data,events:{...we.value.events,...Bn},style:sn.value,markerStart:`url('#${AP(we.value.markerStart,h)}')`,markerEnd:`url('#${AP(we.value.markerEnd,h)}')`,sourcePosition:Ji,targetPosition:Ir,sourceX:Jc,sourceY:_u,targetX:jg,targetY:Z1,sourceHandleId:we.value.sourceHandle,targetHandleId:we.value.targetHandle,interactionWidth:we.value.interactionWidth,...Pn}),[cn.value==="source"||cn.value===!0?[qo("g",{onMousedown:Lt,onMouseenter:lt,onMouseout:ii},qo(M1n,{position:Ji,centerX:Jc,centerY:_u,radius:E.value,type:"source","data-type":"source"}))]:null,cn.value==="target"||cn.value===!0?[qo("g",{onMousedown:Kn,onMouseenter:lt,onMouseout:ii},qo(M1n,{position:Ir,centerX:jg,centerY:Z1,radius:E.value,type:"target","data-type":"target"}))]:null]])};function lt(){Dt.value=!0}function ii(){Dt.value=!1}function ki(xe,en){Ve.update({event:xe,edge:we.value,connection:en})}function Li(xe){Ve.updateEnd({event:xe,edge:we.value}),hi.value=!1}function Xt(xe,en){xe.button===0&&(hi.value=!0,Gt.value=en?we.value.target:we.value.source,Vt.value=(en?we.value.targetHandle:we.value.sourceHandle)??null,Ne.value=en?"target":"source",Ve.updateStart({event:xe,edge:we.value}),An(xe))}function ni(xe){var en;const Pn={event:xe,edge:we.value};ce.value&&(m.value=!1,we.value.selected&&W.value?(L([we.value]),(en=q.value)==null||en.blur()):g([we.value])),Ve.click(Pn)}function an(xe){Ve.contextMenu({event:xe,edge:we.value})}function Zn(xe){Ve.doubleClick({event:xe,edge:we.value})}function gr(xe){Ve.mouseEnter({event:xe,edge:we.value})}function yr(xe){Ve.mouseMove({event:xe,edge:we.value})}function Lr(xe){Ve.mouseLeave({event:xe,edge:we.value})}function Lt(xe){Xt(xe,!0)}function Kn(xe){Xt(xe,!1)}function Ee(xe){var en;!ge.value&&Z0n.includes(xe.key)&&ce.value&&(xe.key==="Escape"?((en=q.value)==null||en.blur(),L([F(f.id)])):g([F(f.id)]))}}}),wWn=gWn,pWn=Kr({name:"ConnectionLine",compatConfig:{MODE:3},setup(){var f;const{id:h,connectionMode:g,connectionStartHandle:k,connectionEndHandle:E,connectionPosition:A,connectionLineType:m,connectionLineStyle:_,connectionLineOptions:N,connectionStatus:L,viewport:F,findNode:U}=Ss(),z=(f=o7(HX))==null?void 0:f["connection-line"],W=Ai(()=>{var _e;return U((_e=k.value)==null?void 0:_e.nodeId)}),ge=Ai(()=>{var _e;return U((_e=E.value)==null?void 0:_e.nodeId)??null}),V=Ai(()=>({x:(A.value.x-F.value.x)/F.value.zoom,y:(A.value.y-F.value.y)/F.value.zoom})),ve=Ai(()=>N.value.markerStart?`url(#${AP(N.value.markerStart,h)})`:""),te=Ai(()=>N.value.markerEnd?`url(#${AP(N.value.markerEnd,h)})`:"");return()=>{var _e,we,Ve;if(!W.value||!k.value)return null;const Bn=k.value.id,Qn=k.value.type,mt=W.value.handleBounds;let Dt=(mt==null?void 0:mt[Qn])??[];if(g.value===P4.Loose){const sn=(mt==null?void 0:mt[Qn==="source"?"target":"source"])??[];Dt=[...Dt,...sn]}if(!Dt)return null;const hi=(Bn?Dt.find(sn=>sn.id===Bn):Dt[0])??null,Gt=(hi==null?void 0:hi.position)??xi.Top,{x:Vt,y:Ne}=FT(W.value,hi,Gt);let q=null;ge.value&&(g.value===P4.Strict?q=((_e=ge.value.handleBounds[Qn==="source"?"target":"source"])==null?void 0:_e.find(sn=>{var Ln;return sn.id===((Ln=E.value)==null?void 0:Ln.id)}))||null:q=((we=[...ge.value.handleBounds.source??[],...ge.value.handleBounds.target??[]])==null?void 0:we.find(sn=>{var Ln;return sn.id===((Ln=E.value)==null?void 0:Ln.id)}))||null);const ce=((Ve=E.value)==null?void 0:Ve.position)??(Gt?t2e[Gt]:null);if(!Gt||!ce)return null;const cn=m.value??N.value.type??Vk.Bezier;let Se="";const yn={sourceX:Vt,sourceY:Ne,sourcePosition:Gt,targetX:V.value.x,targetY:V.value.y,targetPosition:ce};return cn===Vk.Bezier?[Se]=Ebn(yn):cn===Vk.Step?[Se]=r2e({...yn,borderRadius:0}):cn===Vk.SmoothStep?[Se]=r2e(yn):cn===Vk.SimpleBezier?[Se]=Cbn(yn):Se=`M${Vt},${Ne} ${V.value.x},${V.value.y}`,qo("svg",{class:"vue-flow__edges vue-flow__connectionline vue-flow__container"},qo("g",{class:"vue-flow__connection"},z?qo(z,{sourceX:Vt,sourceY:Ne,sourcePosition:Gt,targetX:V.value.x,targetY:V.value.y,targetPosition:ce,sourceNode:W.value,sourceHandle:hi,targetNode:ge.value,targetHandle:q,markerEnd:te.value,markerStart:ve.value,connectionStatus:L.value}):qo("path",{d:Se,class:[N.value.class,L.value,"vue-flow__connection-path"],style:{..._.value,...N.value.style},"marker-end":te.value,"marker-start":ve.value})))}}}),mWn=pWn,vWn=["id","markerWidth","markerHeight","markerUnits","orient"],yWn={name:"MarkerType",compatConfig:{MODE:3}},kWn=Kr({...yWn,props:{id:{},type:{},color:{default:"none"},width:{default:12.5},height:{default:12.5},markerUnits:{default:"strokeWidth"},orient:{default:"auto-start-reverse"},strokeWidth:{default:1}},setup(f){return(h,g)=>(xn(),Hn("marker",{id:h.id,class:"vue-flow__arrowhead",viewBox:"-10 -10 20 20",refX:"0",refY:"0",markerWidth:`${h.width}`,markerHeight:`${h.height}`,markerUnits:h.markerUnits,orient:h.orient},[h.type===ut(Zpe).ArrowClosed?(xn(),Hn("polyline",{key:0,style:bh({stroke:h.color,fill:h.color,strokeWidth:h.strokeWidth}),"stroke-linecap":"round","stroke-linejoin":"round",points:"-5,-4 0,0 -5,4 -5,-4"},null,4)):Kc("",!0),h.type===ut(Zpe).Arrow?(xn(),Hn("polyline",{key:1,style:bh({stroke:h.color,strokeWidth:h.strokeWidth}),"stroke-linecap":"round","stroke-linejoin":"round",fill:"none",points:"-5,-4 0,0 -5,4"},null,4)):Kc("",!0)],8,vWn))}}),EWn={class:"vue-flow__marker vue-flow__container","aria-hidden":"true"},CWn={name:"MarkerDefinitions",compatConfig:{MODE:3}},AWn=Kr({...CWn,setup(f){const{id:h,edges:g,connectionLineOptions:k,defaultMarkerColor:E}=Ss(),A=Ai(()=>{const m=new Set,_=[],N=L=>{if(L){const F=AP(L,h);m.has(F)||(typeof L=="object"?_.push({...L,id:F,color:L.color||E.value}):_.push({id:F,color:E.value,type:L}),m.add(F))}};for(const L of[k.value.markerEnd,k.value.markerStart])N(L);for(const L of g.value)for(const F of[L.markerStart,L.markerEnd])N(F);return _.sort((L,F)=>L.id.localeCompare(F.id))});return(m,_)=>(xn(),Hn("svg",EWn,[Me("defs",null,[(xn(!0),Hn(vc,null,po(A.value,N=>(xn(),Ff(kWn,{id:N.id,key:N.id,type:N.type,color:N.color,width:N.width,height:N.height,markerUnits:N.markerUnits,"stroke-width":N.strokeWidth,orient:N.orient},null,8,["id","type","color","width","height","markerUnits","stroke-width","orient"]))),128))])]))}}),TWn={name:"Edges",compatConfig:{MODE:3}},MWn=Kr({...TWn,setup(f){const{findNode:h,getEdges:g,elevateEdgesOnSelect:k}=Ss();return(E,A)=>(xn(),Hn(vc,null,[Cr(AWn),(xn(!0),Hn(vc,null,po(ut(g),m=>(xn(),Hn("svg",{key:m.id,class:"vue-flow__edges vue-flow__container",style:bh({zIndex:ut(qXn)(m,ut(h),ut(k))})},[Cr(ut(wWn),{id:m.id},null,8,["id"])],4))),128)),Cr(ut(mWn))],64))}}),SWn=Kr({name:"Node",compatConfig:{MODE:3},props:["id","resizeObserver"],setup(f){const{id:h,noPanClassName:g,selectNodesOnDrag:k,nodesSelectionActive:E,multiSelectionActive:A,emits:m,removeSelectedNodes:_,addSelectedNodes:N,updateNodeDimensions:L,onUpdateNodeInternals:F,getNodeTypes:U,nodeExtent:z,elevateNodesOnSelect:W,disableKeyboardA11y:ge,ariaLiveMessage:V,snapToGrid:ve,snapGrid:te,nodeDragThreshold:_e,nodesDraggable:we,elementsSelectable:Ve,nodesConnectable:Bn,nodesFocusable:Qn,hooks:mt}=Ss(),Dt=cr(null);t7(bbn,Dt),t7(dbn,f.id);const hi=o7(HX),Gt=JT(),Vt=mbn(),{node:Ne,parentNode:q}=pbn(f.id),{emit:ce,on:cn}=fKn(Ne,m),Se=xo(()=>typeof Ne.draggable>"u"?we.value:Ne.draggable),yn=xo(()=>typeof Ne.selectable>"u"?Ve.value:Ne.selectable),sn=xo(()=>typeof Ne.connectable>"u"?Bn.value:Ne.connectable),Ln=xo(()=>typeof Ne.focusable>"u"?Qn.value:Ne.focusable),An=Ai(()=>yn.value||Se.value||mt.value.nodeClick.hasListeners()||mt.value.nodeDoubleClick.hasListeners()||mt.value.nodeMouseEnter.hasListeners()||mt.value.nodeMouseMove.hasListeners()||mt.value.nodeMouseLeave.hasListeners()),lt=xo(()=>!!Ne.dimensions.width&&!!Ne.dimensions.height),ii=Ai(()=>{const en=Ne.type||"default",Pn=hi==null?void 0:hi[`node-${en}`];if(Pn)return Pn;let wn=Ne.template||U.value[en];if(typeof wn=="string"&&Gt){const pi=Object.keys(Gt.appContext.components);pi&&pi.includes(en)&&(wn=Y1n(en,!1))}return wn&&typeof wn!="string"?wn:(m.error(new ga(Rf.NODE_TYPE_MISSING,wn)),!1)}),ki=gbn({id:f.id,el:Dt,disabled:()=>!Se.value,selectable:yn,dragHandle:()=>Ne.dragHandle,onStart(en){ce.dragStart(en)},onDrag(en){ce.drag(en)},onStop(en){ce.dragStop(en)},onClick(en){Ee(en)}}),Li=Ai(()=>Ne.class instanceof Function?Ne.class(Ne):Ne.class),Xt=Ai(()=>{const en=(Ne.style instanceof Function?Ne.style(Ne):Ne.style)||{},Pn=Ne.width instanceof Function?Ne.width(Ne):Ne.width,wn=Ne.height instanceof Function?Ne.height(Ne):Ne.height;return!en.width&&Pn&&(en.width=typeof Pn=="string"?Pn:`${Pn}px`),!en.height&&wn&&(en.height=typeof wn=="string"?wn:`${wn}px`),en}),ni=xo(()=>Number(Ne.zIndex??Xt.value.zIndex??0));return F(en=>{(en.includes(f.id)||!en.length)&&Zn()}),N3(()=>{No(()=>Ne.hidden,(en=!1,Pn,wn)=>{!en&&Dt.value&&(f.resizeObserver.observe(Dt.value),wn(()=>{Dt.value&&f.resizeObserver.unobserve(Dt.value)}))},{immediate:!0,flush:"post"})}),No([()=>Ne.type,()=>Ne.sourcePosition,()=>Ne.targetPosition],()=>{j3(()=>{L([{id:f.id,nodeElement:Dt.value,forceUpdate:!0}])})}),No([()=>Ne.position.x,()=>Ne.position.y,()=>{var en;return(en=q.value)==null?void 0:en.computedPosition.x},()=>{var en;return(en=q.value)==null?void 0:en.computedPosition.y},()=>{var en;return(en=q.value)==null?void 0:en.computedPosition.z},ni,()=>Ne.selected,()=>Ne.dimensions.height,()=>Ne.dimensions.width,()=>{var en;return(en=q.value)==null?void 0:en.dimensions.height},()=>{var en;return(en=q.value)==null?void 0:en.dimensions.width}],([en,Pn,wn,pi,mi,Yt])=>{const Ji={x:en,y:Pn,z:Yt+(W.value&&Ne.selected?1e3:0)};typeof wn<"u"&&typeof pi<"u"?Ne.computedPosition=RXn({x:wn,y:pi,z:mi},Ji):Ne.computedPosition=Ji},{flush:"post",immediate:!0}),No([()=>Ne.extent,z],([en,Pn],[wn,pi])=>{(en!==wn||Pn!==pi)&&an()}),Ne.extent==="parent"||typeof Ne.extent=="object"&&"range"in Ne.extent&&Ne.extent.range==="parent"?zpe(()=>lt).toBe(!0).then(an):an(),()=>Ne.hidden?null:qo("div",{ref:Dt,"data-id":Ne.id,class:["vue-flow__node",`vue-flow__node-${ii.value===!1?"default":Ne.type||"default"}`,{[g.value]:Se.value,dragging:ki==null?void 0:ki.value,draggable:Se.value,selected:Ne.selected,selectable:yn.value,parent:Ne.isParent},Li.value],style:{visibility:lt.value?"visible":"hidden",zIndex:Ne.computedPosition.z??ni.value,transform:`translate(${Ne.computedPosition.x}px,${Ne.computedPosition.y}px)`,pointerEvents:An.value?"all":"none",...Xt.value},tabIndex:Ln.value?0:void 0,role:Ln.value?"group":void 0,"aria-describedby":ge.value?void 0:`${Y0n}-${h}`,"aria-label":Ne.ariaLabel,"aria-roledescription":"node",...Ne.domAttributes,onMouseenter:gr,onMousemove:yr,onMouseleave:Lr,onContextmenu:Lt,onClick:Ee,onDblclick:Kn,onKeydown:xe},[qo(ii.value===!1?U.value.default:ii.value,{id:Ne.id,type:Ne.type,data:Ne.data,events:{...Ne.events,...cn},selected:Ne.selected,resizing:Ne.resizing,dragging:ki.value,connectable:sn.value,position:Ne.computedPosition,dimensions:Ne.dimensions,isValidTargetPos:Ne.isValidTargetPos,isValidSourcePos:Ne.isValidSourcePos,parent:Ne.parentNode,parentNodeId:Ne.parentNode,zIndex:Ne.computedPosition.z??ni.value,targetPosition:Ne.targetPosition,sourcePosition:Ne.sourcePosition,label:Ne.label,dragHandle:Ne.dragHandle,onUpdateNodeInternals:Zn})]);function an(){const en=Ne.computedPosition,{computedPosition:Pn,position:wn}=j2e(Ne,ve.value?GX(en,te.value):en,m.error,z.value,q.value);(Ne.computedPosition.x!==Pn.x||Ne.computedPosition.y!==Pn.y)&&(Ne.computedPosition={...Ne.computedPosition,...Pn}),(Ne.position.x!==wn.x||Ne.position.y!==wn.y)&&(Ne.position=wn)}function Zn(){Dt.value&&L([{id:f.id,nodeElement:Dt.value,forceUpdate:!0}])}function gr(en){ki!=null&&ki.value||ce.mouseEnter({event:en,node:Ne})}function yr(en){ki!=null&&ki.value||ce.mouseMove({event:en,node:Ne})}function Lr(en){ki!=null&&ki.value||ce.mouseLeave({event:en,node:Ne})}function Lt(en){return ce.contextMenu({event:en,node:Ne})}function Kn(en){return ce.doubleClick({event:en,node:Ne})}function Ee(en){yn.value&&(!k.value||!Se.value||_e.value>0)&&i2e(Ne,A.value,N,_,E,!1,Dt.value),ce.click({event:en,node:Ne})}function xe(en){if(!(e2e(en)||ge.value))if(Z0n.includes(en.key)&&yn.value){const Pn=en.key==="Escape";i2e(Ne,A.value,N,_,E,Pn,Dt.value)}else Se.value&&Ne.selected&&$T[en.key]&&(en.preventDefault(),V.value=`Moved selected node ${en.key.replace("Arrow","").toLowerCase()}. New position, x: ${~~Ne.position.x}, y: ${~~Ne.position.y}`,Vt({x:$T[en.key].x,y:$T[en.key].y},en.shiftKey))}}}),_Wn=SWn;function jWn(f={includeHiddenNodes:!1}){const{nodes:h}=Ss();return Ai(()=>{if(h.value.length===0)return!1;for(const g of h.value)if((f.includeHiddenNodes||!g.hidden)&&((g==null?void 0:g.handleBounds)===void 0||g.dimensions.width===0||g.dimensions.height===0))return!1;return!0})}const IWn={class:"vue-flow__nodes vue-flow__container"},$Wn={name:"Nodes",compatConfig:{MODE:3}},NWn=Kr({...$Wn,setup(f){const{getNodes:h,updateNodeDimensions:g,emits:k}=Ss(),E=jWn(),A=cr();return No(E,m=>{m&&j3(()=>{k.nodesInitialized(h.value)})},{immediate:!0}),N3(()=>{A.value=new ResizeObserver(m=>{const _=m.map(N=>({id:N.target.getAttribute("data-id"),nodeElement:N.target,forceUpdate:!0}));j3(()=>g(_))})}),K1n(()=>{var m;return(m=A.value)==null?void 0:m.disconnect()}),(m,_)=>(xn(),Hn("div",IWn,[A.value?(xn(!0),Hn(vc,{key:0},po(ut(h),(N,L,F,U)=>{const z=[N.id];if(U&&U.key===N.id&&JJn(U,z))return U;const W=(xn(),Ff(ut(_Wn),{id:N.id,key:N.id,"resize-observer":A.value},null,8,["id","resize-observer"]));return W.memo=z,W},_,0),128)):Kc("",!0)]))}});function xWn(){const{emits:f}=Ss();N3(()=>{if(hbn()){const h=document.querySelector(".vue-flow__pane");h&&window.getComputedStyle(h).zIndex!=="1"&&f.error(new ga(Rf.MISSING_STYLES))}})}const PWn=Me("div",{class:"vue-flow__edge-labels"},null,-1),OWn={name:"VueFlow",compatConfig:{MODE:3}},DWn=Kr({...OWn,props:{id:{},modelValue:{},nodes:{},edges:{},edgeTypes:{},nodeTypes:{},connectionMode:{},connectionLineType:{},connectionLineStyle:{default:void 0},connectionLineOptions:{default:void 0},connectionRadius:{},isValidConnection:{type:[Function,null],default:void 0},deleteKeyCode:{default:void 0},selectionKeyCode:{type:[Boolean,null],default:void 0},multiSelectionKeyCode:{default:void 0},zoomActivationKeyCode:{default:void 0},panActivationKeyCode:{default:void 0},snapToGrid:{type:Boolean,default:void 0},snapGrid:{},onlyRenderVisibleElements:{type:Boolean,default:void 0},edgesUpdatable:{type:[Boolean,String],default:void 0},nodesDraggable:{type:Boolean,default:void 0},nodesConnectable:{type:Boolean,default:void 0},nodeDragThreshold:{},elementsSelectable:{type:Boolean,default:void 0},selectNodesOnDrag:{type:Boolean,default:void 0},panOnDrag:{type:[Boolean,Array],default:void 0},minZoom:{},maxZoom:{},defaultViewport:{},translateExtent:{},nodeExtent:{},defaultMarkerColor:{},zoomOnScroll:{type:Boolean,default:void 0},zoomOnPinch:{type:Boolean,default:void 0},panOnScroll:{type:Boolean,default:void 0},panOnScrollSpeed:{},panOnScrollMode:{},paneClickDistance:{},zoomOnDoubleClick:{type:Boolean,default:void 0},preventScrolling:{type:Boolean,default:void 0},selectionMode:{},edgeUpdaterRadius:{},fitViewOnInit:{type:Boolean,default:void 0},connectOnClick:{type:Boolean,default:void 0},applyDefault:{type:Boolean,default:void 0},autoConnect:{type:[Boolean,Function],default:void 0},noDragClassName:{},noWheelClassName:{},noPanClassName:{},defaultEdgeOptions:{},elevateEdgesOnSelect:{type:Boolean,default:void 0},elevateNodesOnSelect:{type:Boolean,default:void 0},disableKeyboardA11y:{type:Boolean,default:void 0},edgesFocusable:{type:Boolean,default:void 0},nodesFocusable:{type:Boolean,default:void 0},autoPanOnConnect:{type:Boolean,default:void 0},autoPanOnNodeDrag:{type:Boolean,default:void 0},autoPanSpeed:{}},emits:["nodesChange","edgesChange","nodesInitialized","paneReady","init","updateNodeInternals","error","connect","connectStart","connectEnd","clickConnectStart","clickConnectEnd","moveStart","move","moveEnd","selectionDragStart","selectionDrag","selectionDragStop","selectionContextMenu","selectionStart","selectionEnd","viewportChangeStart","viewportChange","viewportChangeEnd","paneScroll","paneClick","paneContextMenu","paneMouseEnter","paneMouseMove","paneMouseLeave","edgeUpdate","edgeContextMenu","edgeMouseEnter","edgeMouseMove","edgeMouseLeave","edgeDoubleClick","edgeClick","edgeUpdateStart","edgeUpdateEnd","nodeContextMenu","nodeMouseEnter","nodeMouseMove","nodeMouseLeave","nodeDoubleClick","nodeClick","nodeDragStart","nodeDrag","nodeDragStop","miniMapNodeClick","miniMapNodeDoubleClick","miniMapNodeMouseEnter","miniMapNodeMouseMove","miniMapNodeMouseLeave","update:modelValue","update:nodes","update:edges"],setup(f,{expose:h,emit:g}){const k=f,E=U1n(),A=Tpe(k,"modelValue",g),m=Tpe(k,"nodes",g),_=Tpe(k,"edges",g),N=Ss(k),L=bKn({modelValue:A,nodes:m,edges:_},k,N);return wKn(g,N.hooks),hWn(),xWn(),t7(HX,E),V1n(L),h(N),(F,U)=>(xn(),Hn("div",{ref:ut(N).vueFlowRef,class:"vue-flow"},[Cr(uWn,null,{default:gs(()=>[Cr(MWn),PWn,Cr(NWn),Df(F.$slots,"zoom-pane")]),_:3}),Df(F.$slots,"default"),Cr(aWn)],512))}}),LWn={name:"Panel",compatConfig:{MODE:3}},Mbn=Kr({...LWn,props:{position:{}},setup(f){const h=f,{userSelectionActive:g}=Ss(),k=Ai(()=>`${h.position}`.split("-"));return(E,A)=>(xn(),Hn("div",{class:Q1(["vue-flow__panel",k.value]),style:bh({pointerEvents:ut(g)?"none":"all"})},[Df(E.$slots,"default")],6))}});var FWn={value:()=>{}};function N2e(){for(var f=0,h=arguments.length,g={},k;f=0&&(k=g.slice(E+1),g=g.slice(0,E)),g&&!h.hasOwnProperty(g))throw new Error("unknown type: "+g);return{type:g,name:k}})}dX.prototype=N2e.prototype={constructor:dX,on:function(f,h){var g=this._,k=RWn(f+"",g),E,A=-1,m=k.length;if(arguments.length<2){for(;++A0)for(var g=new Array(E),k=0,E,A;k=0&&(h=f.slice(0,g))!=="xmlns"&&(f=f.slice(g+1)),_1n.hasOwnProperty(h)?{space:_1n[h],local:f}:f}function JWn(f){return function(){var h=this.ownerDocument,g=this.namespaceURI;return g===c2e&&h.documentElement.namespaceURI===c2e?h.createElement(f):h.createElementNS(g,f)}}function GWn(f){return function(){return this.ownerDocument.createElementNS(f.space,f.local)}}function Sbn(f){var h=XX(f);return(h.local?GWn:JWn)(h)}function HWn(){}function x2e(f){return f==null?HWn:function(){return this.querySelector(f)}}function zWn(f){typeof f!="function"&&(f=x2e(f));for(var h=this._groups,g=h.length,k=new Array(g),E=0;E=we&&(we=_e+1);!(Bn=ve[we])&&++we=0;)(m=k[E])&&(A&&m.compareDocumentPosition(A)^4&&A.parentNode.insertBefore(m,A),A=m);return this}function gYn(f){f||(f=wYn);function h(U,z){return U&&z?f(U.__data__,z.__data__):!U-!z}for(var g=this._groups,k=g.length,E=new Array(k),A=0;Ah?1:f>=h?0:NaN}function pYn(){var f=arguments[0];return arguments[0]=this,f.apply(null,arguments),this}function mYn(){return Array.from(this)}function vYn(){for(var f=this._groups,h=0,g=f.length;h1?this.each((h==null?IYn:typeof h=="function"?NYn:$Yn)(f,h,g??"")):RT(this.node(),f)}function RT(f,h){return f.style.getPropertyValue(h)||Nbn(f).getComputedStyle(f,null).getPropertyValue(h)}function PYn(f){return function(){delete this[f]}}function OYn(f,h){return function(){this[f]=h}}function DYn(f,h){return function(){var g=h.apply(this,arguments);g==null?delete this[f]:this[f]=g}}function LYn(f,h){return arguments.length>1?this.each((h==null?PYn:typeof h=="function"?DYn:OYn)(f,h)):this.node()[f]}function xbn(f){return f.trim().split(/^|\s+/)}function P2e(f){return f.classList||new Pbn(f)}function Pbn(f){this._node=f,this._names=xbn(f.getAttribute("class")||"")}Pbn.prototype={add:function(f){var h=this._names.indexOf(f);h<0&&(this._names.push(f),this._node.setAttribute("class",this._names.join(" ")))},remove:function(f){var h=this._names.indexOf(f);h>=0&&(this._names.splice(h,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(f){return this._names.indexOf(f)>=0}};function Obn(f,h){for(var g=P2e(f),k=-1,E=h.length;++k=0&&(g=h.slice(k+1),h=h.slice(0,k)),{type:h,name:g}})}function aQn(f){return function(){var h=this.__on;if(h){for(var g=0,k=-1,E=h.length,A;g>8&15|h>>4&240,h>>4&15|h&240,(h&15)<<4|h&15,1):g===8?nX(h>>24&255,h>>16&255,h>>8&255,(h&255)/255):g===4?nX(h>>12&15|h>>8&240,h>>8&15|h>>4&240,h>>4&15|h&240,((h&15)<<4|h&15)/255):null):(h=CQn.exec(f))?new Y1(h[1],h[2],h[3],1):(h=AQn.exec(f))?new Y1(h[1]*255/100,h[2]*255/100,h[3]*255/100,1):(h=TQn.exec(f))?nX(h[1],h[2],h[3],h[4]):(h=MQn.exec(f))?nX(h[1]*255/100,h[2]*255/100,h[3]*255/100,h[4]):(h=SQn.exec(f))?O1n(h[1],h[2]/100,h[3]/100,1):(h=_Qn.exec(f))?O1n(h[1],h[2]/100,h[3]/100,h[4]):j1n.hasOwnProperty(f)?N1n(j1n[f]):f==="transparent"?new Y1(NaN,NaN,NaN,0):null}function N1n(f){return new Y1(f>>16&255,f>>8&255,f&255,1)}function nX(f,h,g,k){return k<=0&&(f=h=g=NaN),new Y1(f,h,g,k)}function $Qn(f){return f instanceof PP||(f=_P(f)),f?(f=f.rgb(),new Y1(f.r,f.g,f.b,f.opacity)):new Y1}function s2e(f,h,g,k){return arguments.length===1?$Qn(f):new Y1(f,h,g,k??1)}function Y1(f,h,g,k){this.r=+f,this.g=+h,this.b=+g,this.opacity=+k}O2e(Y1,s2e,Rbn(PP,{brighter(f){return f=f==null?$X:Math.pow($X,f),new Y1(this.r*f,this.g*f,this.b*f,this.opacity)},darker(f){return f=f==null?MP:Math.pow(MP,f),new Y1(this.r*f,this.g*f,this.b*f,this.opacity)},rgb(){return this},clamp(){return new Y1(n7(this.r),n7(this.g),n7(this.b),NX(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:x1n,formatHex:x1n,formatHex8:NQn,formatRgb:P1n,toString:P1n}));function x1n(){return`#${Qk(this.r)}${Qk(this.g)}${Qk(this.b)}`}function NQn(){return`#${Qk(this.r)}${Qk(this.g)}${Qk(this.b)}${Qk((isNaN(this.opacity)?1:this.opacity)*255)}`}function P1n(){const f=NX(this.opacity);return`${f===1?"rgb(":"rgba("}${n7(this.r)}, ${n7(this.g)}, ${n7(this.b)}${f===1?")":`, ${f})`}`}function NX(f){return isNaN(f)?1:Math.max(0,Math.min(1,f))}function n7(f){return Math.max(0,Math.min(255,Math.round(f)||0))}function Qk(f){return f=n7(f),(f<16?"0":"")+f.toString(16)}function O1n(f,h,g,k){return k<=0?f=h=g=NaN:g<=0||g>=1?f=h=NaN:h<=0&&(f=NaN),new jp(f,h,g,k)}function Bbn(f){if(f instanceof jp)return new jp(f.h,f.s,f.l,f.opacity);if(f instanceof PP||(f=_P(f)),!f)return new jp;if(f instanceof jp)return f;f=f.rgb();var h=f.r/255,g=f.g/255,k=f.b/255,E=Math.min(h,g,k),A=Math.max(h,g,k),m=NaN,_=A-E,N=(A+E)/2;return _?(h===A?m=(g-k)/_+(g0&&N<1?0:m,new jp(m,_,N,f.opacity)}function xQn(f,h,g,k){return arguments.length===1?Bbn(f):new jp(f,h,g,k??1)}function jp(f,h,g,k){this.h=+f,this.s=+h,this.l=+g,this.opacity=+k}O2e(jp,xQn,Rbn(PP,{brighter(f){return f=f==null?$X:Math.pow($X,f),new jp(this.h,this.s,this.l*f,this.opacity)},darker(f){return f=f==null?MP:Math.pow(MP,f),new jp(this.h,this.s,this.l*f,this.opacity)},rgb(){var f=this.h%360+(this.h<0)*360,h=isNaN(f)||isNaN(this.s)?0:this.s,g=this.l,k=g+(g<.5?g:1-g)*h,E=2*g-k;return new Y1(Dpe(f>=240?f-240:f+120,E,k),Dpe(f,E,k),Dpe(f<120?f+240:f-120,E,k),this.opacity)},clamp(){return new jp(D1n(this.h),tX(this.s),tX(this.l),NX(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 f=NX(this.opacity);return`${f===1?"hsl(":"hsla("}${D1n(this.h)}, ${tX(this.s)*100}%, ${tX(this.l)*100}%${f===1?")":`, ${f})`}`}}));function D1n(f){return f=(f||0)%360,f<0?f+360:f}function tX(f){return Math.max(0,Math.min(1,f||0))}function Dpe(f,h,g){return(f<60?h+(g-h)*f/60:f<180?g:f<240?h+(g-h)*(240-f)/60:h)*255}const Jbn=f=>()=>f;function PQn(f,h){return function(g){return f+g*h}}function OQn(f,h,g){return f=Math.pow(f,g),h=Math.pow(h,g)-f,g=1/g,function(k){return Math.pow(f+k*h,g)}}function DQn(f){return(f=+f)==1?Gbn:function(h,g){return g-h?OQn(h,g,f):Jbn(isNaN(h)?g:h)}}function Gbn(f,h){var g=h-f;return g?PQn(f,g):Jbn(isNaN(f)?h:f)}const L1n=(function f(h){var g=DQn(h);function k(E,A){var m=g((E=s2e(E)).r,(A=s2e(A)).r),_=g(E.g,A.g),N=g(E.b,A.b),L=Gbn(E.opacity,A.opacity);return function(F){return E.r=m(F),E.g=_(F),E.b=N(F),E.opacity=L(F),E+""}}return k.gamma=f,k})(1);function $4(f,h){return f=+f,h=+h,function(g){return f*(1-g)+h*g}}var l2e=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Lpe=new RegExp(l2e.source,"g");function LQn(f){return function(){return f}}function FQn(f){return function(h){return f(h)+""}}function RQn(f,h){var g=l2e.lastIndex=Lpe.lastIndex=0,k,E,A,m=-1,_=[],N=[];for(f=f+"",h=h+"";(k=l2e.exec(f))&&(E=Lpe.exec(h));)(A=E.index)>g&&(A=h.slice(g,A),_[m]?_[m]+=A:_[++m]=A),(k=k[0])===(E=E[0])?_[m]?_[m]+=E:_[++m]=E:(_[++m]=null,N.push({i:m,x:$4(k,E)})),g=Lpe.lastIndex;return g180?F+=360:F-L>180&&(L+=360),z.push({i:U.push(E(U)+"rotate(",null,k)-2,x:$4(L,F)})):F&&U.push(E(U)+"rotate("+F+k)}function _(L,F,U,z){L!==F?z.push({i:U.push(E(U)+"skewX(",null,k)-2,x:$4(L,F)}):F&&U.push(E(U)+"skewX("+F+k)}function N(L,F,U,z,W,ge){if(L!==U||F!==z){var V=W.push(E(W)+"scale(",null,",",null,")");ge.push({i:V-4,x:$4(L,U)},{i:V-2,x:$4(F,z)})}else(U!==1||z!==1)&&W.push(E(W)+"scale("+U+","+z+")")}return function(L,F){var U=[],z=[];return L=f(L),F=f(F),A(L.translateX,L.translateY,F.translateX,F.translateY,U,z),m(L.rotate,F.rotate,U,z),_(L.skewX,F.skewX,U,z),N(L.scaleX,L.scaleY,F.scaleX,F.scaleY,U,z),L=F=null,function(W){for(var ge=-1,V=z.length,ve;++ge=0&&f._call.call(void 0,h),f=f._next;--BT}function B1n(){u7=(PX=jP.now())+KX,BT=aP=0;try{KQn()}finally{BT=0,YQn(),u7=0}}function WQn(){var f=jP.now(),h=f-PX;h>qbn&&(KX-=h,PX=f)}function YQn(){for(var f,h=xX,g,k=1/0;h;)h._call?(k>h._time&&(k=h._time),f=h,h=h._next):(g=h._next,h._next=null,h=f?f._next=g:xX=g);hP=f,a2e(k)}function a2e(f){if(!BT){aP&&(aP=clearTimeout(aP));var h=f-u7;h>24?(f<1/0&&(aP=setTimeout(B1n,f-jP.now()-KX)),uP&&(uP=clearInterval(uP))):(uP||(PX=jP.now(),uP=setInterval(WQn,qbn)),BT=1,Ubn(B1n))}}function J1n(f,h,g){var k=new OX;return h=h==null?0:+h,k.restart(E=>{k.stop(),f(E+h)},h,g),k}var QQn=N2e("start","end","cancel","interrupt"),ZQn=[],Xbn=0,G1n=1,h2e=2,bX=3,H1n=4,d2e=5,gX=6;function WX(f,h,g,k,E,A){var m=f.__transition;if(!m)f.__transition={};else if(g in m)return;eZn(f,g,{name:h,index:k,group:E,on:QQn,tween:ZQn,time:A.time,delay:A.delay,duration:A.duration,ease:A.ease,timer:null,state:Xbn})}function L2e(f,h){var g=$p(f,h);if(g.state>Xbn)throw new Error("too late; already scheduled");return g}function km(f,h){var g=$p(f,h);if(g.state>bX)throw new Error("too late; already running");return g}function $p(f,h){var g=f.__transition;if(!g||!(g=g[h]))throw new Error("transition not found");return g}function eZn(f,h,g){var k=f.__transition,E;k[h]=g,g.timer=Vbn(A,0,g.time);function A(L){g.state=G1n,g.timer.restart(m,g.delay,g.time),g.delay<=L&&m(L-g.delay)}function m(L){var F,U,z,W;if(g.state!==G1n)return N();for(F in k)if(W=k[F],W.name===g.name){if(W.state===bX)return J1n(m);W.state===H1n?(W.state=gX,W.timer.stop(),W.on.call("interrupt",f,f.__data__,W.index,W.group),delete k[F]):+Fh2e&&k.state=0&&(h=h.slice(0,g)),!h||h==="start"})}function IZn(f,h,g){var k,E,A=jZn(h)?L2e:km;return function(){var m=A(this,f),_=m.on;_!==k&&(E=(k=_).copy()).on(h,g),m.on=E}}function $Zn(f,h){var g=this._id;return arguments.length<2?$p(this.node(),g).on.on(f):this.each(IZn(g,f,h))}function NZn(f){return function(){var h=this.parentNode;for(var g in this.__transition)if(+g!==f)return;h&&h.removeChild(this)}}function xZn(){return this.on("end.remove",NZn(this._id))}function PZn(f){var h=this._name,g=this._id;typeof f!="function"&&(f=x2e(f));for(var k=this._groups,E=k.length,A=new Array(E),m=0;m()=>f;function cet(f,{sourceEvent:h,target:g,transform:k,dispatch:E}){Object.defineProperties(this,{type:{value:f,enumerable:!0,configurable:!0},sourceEvent:{value:h,enumerable:!0,configurable:!0},target:{value:g,enumerable:!0,configurable:!0},transform:{value:k,enumerable:!0,configurable:!0},_:{value:E}})}function _3(f,h,g){this.k=f,this.x=h,this.y=g}_3.prototype={constructor:_3,scale:function(f){return f===1?this:new _3(this.k*f,this.x,this.y)},translate:function(f,h){return f===0&h===0?this:new _3(this.k,this.x+this.k*f,this.y+this.k*h)},apply:function(f){return[f[0]*this.k+this.x,f[1]*this.k+this.y]},applyX:function(f){return f*this.k+this.x},applyY:function(f){return f*this.k+this.y},invert:function(f){return[(f[0]-this.x)/this.k,(f[1]-this.y)/this.k]},invertX:function(f){return(f-this.x)/this.k},invertY:function(f){return(f-this.y)/this.k},rescaleX:function(f){return f.copy().domain(f.range().map(this.invertX,this).map(f.invert,f))},rescaleY:function(f){return f.copy().domain(f.range().map(this.invertY,this).map(f.invert,f))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var R2e=new _3(1,0,0);_3.prototype;function Fpe(f){f.stopImmediatePropagation()}function oP(f){f.preventDefault(),f.stopImmediatePropagation()}function uet(f){return(!f.ctrlKey||f.type==="wheel")&&!f.button}function oet(){var f=this;return f instanceof SVGElement?(f=f.ownerSVGElement||f,f.hasAttribute("viewBox")?(f=f.viewBox.baseVal,[[f.x,f.y],[f.x+f.width,f.y+f.height]]):[[0,0],[f.width.baseVal.value,f.height.baseVal.value]]):[[0,0],[f.clientWidth,f.clientHeight]]}function z1n(){return this.__zoom||R2e}function set(f){return-f.deltaY*(f.deltaMode===1?.05:f.deltaMode?1:.002)*(f.ctrlKey?10:1)}function fet(){return navigator.maxTouchPoints||"ontouchstart"in this}function aet(f,h,g){var k=f.invertX(h[0][0])-g[0][0],E=f.invertX(h[1][0])-g[1][0],A=f.invertY(h[0][1])-g[0][1],m=f.invertY(h[1][1])-g[1][1];return f.translate(E>k?(k+E)/2:Math.min(0,k)||Math.max(0,E),m>A?(A+m)/2:Math.min(0,A)||Math.max(0,m))}function het(){var f=uet,h=oet,g=aet,k=set,E=fet,A=[0,1/0],m=[[-1/0,-1/0],[1/0,1/0]],_=250,N=VQn,L=N2e("start","zoom","end"),F,U,z,W=500,ge=150,V=0,ve=10;function te(ce){ce.property("__zoom",z1n).on("wheel.zoom",Dt,{passive:!1}).on("mousedown.zoom",hi).on("dblclick.zoom",Gt).filter(E).on("touchstart.zoom",Vt).on("touchmove.zoom",Ne).on("touchend.zoom touchcancel.zoom",q).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}te.transform=function(ce,cn,Se,yn){var sn=ce.selection?ce.selection():ce;sn.property("__zoom",z1n),ce!==sn?Bn(ce,cn,Se,yn):sn.interrupt().each(function(){Qn(this,arguments).event(yn).start().zoom(null,typeof cn=="function"?cn.apply(this,arguments):cn).end()})},te.scaleBy=function(ce,cn,Se,yn){te.scaleTo(ce,function(){var sn=this.__zoom.k,Ln=typeof cn=="function"?cn.apply(this,arguments):cn;return sn*Ln},Se,yn)},te.scaleTo=function(ce,cn,Se,yn){te.transform(ce,function(){var sn=h.apply(this,arguments),Ln=this.__zoom,An=Se==null?Ve(sn):typeof Se=="function"?Se.apply(this,arguments):Se,lt=Ln.invert(An),ii=typeof cn=="function"?cn.apply(this,arguments):cn;return g(we(_e(Ln,ii),An,lt),sn,m)},Se,yn)},te.translateBy=function(ce,cn,Se,yn){te.transform(ce,function(){return g(this.__zoom.translate(typeof cn=="function"?cn.apply(this,arguments):cn,typeof Se=="function"?Se.apply(this,arguments):Se),h.apply(this,arguments),m)},null,yn)},te.translateTo=function(ce,cn,Se,yn,sn){te.transform(ce,function(){var Ln=h.apply(this,arguments),An=this.__zoom,lt=yn==null?Ve(Ln):typeof yn=="function"?yn.apply(this,arguments):yn;return g(R2e.translate(lt[0],lt[1]).scale(An.k).translate(typeof cn=="function"?-cn.apply(this,arguments):-cn,typeof Se=="function"?-Se.apply(this,arguments):-Se),Ln,m)},yn,sn)};function _e(ce,cn){return cn=Math.max(A[0],Math.min(A[1],cn)),cn===ce.k?ce:new _3(cn,ce.x,ce.y)}function we(ce,cn,Se){var yn=cn[0]-Se[0]*ce.k,sn=cn[1]-Se[1]*ce.k;return yn===ce.x&&sn===ce.y?ce:new _3(ce.k,yn,sn)}function Ve(ce){return[(+ce[0][0]+ +ce[1][0])/2,(+ce[0][1]+ +ce[1][1])/2]}function Bn(ce,cn,Se,yn){ce.on("start.zoom",function(){Qn(this,arguments).event(yn).start()}).on("interrupt.zoom end.zoom",function(){Qn(this,arguments).event(yn).end()}).tween("zoom",function(){var sn=this,Ln=arguments,An=Qn(sn,Ln).event(yn),lt=h.apply(sn,Ln),ii=Se==null?Ve(lt):typeof Se=="function"?Se.apply(sn,Ln):Se,ki=Math.max(lt[1][0]-lt[0][0],lt[1][1]-lt[0][1]),Li=sn.__zoom,Xt=typeof cn=="function"?cn.apply(sn,Ln):cn,ni=N(Li.invert(ii).concat(ki/Li.k),Xt.invert(ii).concat(ki/Xt.k));return function(an){if(an===1)an=Xt;else{var Zn=ni(an),gr=ki/Zn[2];an=new _3(gr,ii[0]-Zn[0]*gr,ii[1]-Zn[1]*gr)}An.zoom(null,an)}})}function Qn(ce,cn,Se){return!Se&&ce.__zooming||new mt(ce,cn)}function mt(ce,cn){this.that=ce,this.args=cn,this.active=0,this.sourceEvent=null,this.extent=h.apply(ce,cn),this.taps=0}mt.prototype={event:function(ce){return ce&&(this.sourceEvent=ce),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(ce,cn){return this.mouse&&ce!=="mouse"&&(this.mouse[1]=cn.invert(this.mouse[0])),this.touch0&&ce!=="touch"&&(this.touch0[1]=cn.invert(this.touch0[0])),this.touch1&&ce!=="touch"&&(this.touch1[1]=cn.invert(this.touch1[0])),this.that.__zoom=cn,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(ce){var cn=N4(this.that).datum();L.call(ce,this.that,new cet(ce,{sourceEvent:this.sourceEvent,target:te,transform:this.that.__zoom,dispatch:L}),cn)}};function Dt(ce,...cn){if(!f.apply(this,arguments))return;var Se=Qn(this,cn).event(ce),yn=this.__zoom,sn=Math.max(A[0],Math.min(A[1],yn.k*Math.pow(2,k.apply(this,arguments)))),Ln=_4(ce);if(Se.wheel)(Se.mouse[0][0]!==Ln[0]||Se.mouse[0][1]!==Ln[1])&&(Se.mouse[1]=yn.invert(Se.mouse[0]=Ln)),clearTimeout(Se.wheel);else{if(yn.k===sn)return;Se.mouse=[Ln,yn.invert(Ln)],wX(this),Se.start()}oP(ce),Se.wheel=setTimeout(An,ge),Se.zoom("mouse",g(we(_e(yn,sn),Se.mouse[0],Se.mouse[1]),Se.extent,m));function An(){Se.wheel=null,Se.end()}}function hi(ce,...cn){if(z||!f.apply(this,arguments))return;var Se=ce.currentTarget,yn=Qn(this,cn,!0).event(ce),sn=N4(ce.view).on("mousemove.zoom",ii,!0).on("mouseup.zoom",ki,!0),Ln=_4(ce,Se),An=ce.clientX,lt=ce.clientY;yQn(ce.view),Fpe(ce),yn.mouse=[Ln,this.__zoom.invert(Ln)],wX(this),yn.start();function ii(Li){if(oP(Li),!yn.moved){var Xt=Li.clientX-An,ni=Li.clientY-lt;yn.moved=Xt*Xt+ni*ni>V}yn.event(Li).zoom("mouse",g(we(yn.that.__zoom,yn.mouse[0]=_4(Li,Se),yn.mouse[1]),yn.extent,m))}function ki(Li){sn.on("mousemove.zoom mouseup.zoom",null),kQn(Li.view,yn.moved),oP(Li),yn.event(Li).end()}}function Gt(ce,...cn){if(f.apply(this,arguments)){var Se=this.__zoom,yn=_4(ce.changedTouches?ce.changedTouches[0]:ce,this),sn=Se.invert(yn),Ln=Se.k*(ce.shiftKey?.5:2),An=g(we(_e(Se,Ln),yn,sn),h.apply(this,cn),m);oP(ce),_>0?N4(this).transition().duration(_).call(Bn,An,yn,ce):N4(this).call(te.transform,An,yn,ce)}}function Vt(ce,...cn){if(f.apply(this,arguments)){var Se=ce.touches,yn=Se.length,sn=Qn(this,cn,ce.changedTouches.length===yn).event(ce),Ln,An,lt,ii;for(Fpe(ce),An=0;AnE.style??{});function m(U){h("click",U)}function _(U){h("dblclick",U)}function N(U){h("mouseenter",U)}function L(U){h("mousemove",U)}function F(U){h("mouseleave",U)}return(U,z)=>!U.hidden&&U.dimensions.width!==0&&U.dimensions.height!==0?(xn(),Hn(vc,{key:0},[ut(k)[`node-${g.type}`]?(xn(),Ff(Uk(ut(k)[`node-${g.type}`]),sb(wP({key:0},{...g,...U.$attrs})),null,16)):(xn(),Hn("rect",wP({key:1,id:U.id},U.$attrs,{class:["vue-flow__minimap-node",{selected:U.selected,dragging:U.dragging}],x:U.position.x,y:U.position.y,rx:U.borderRadius,ry:U.borderRadius,width:U.dimensions.width,height:U.dimensions.height,fill:U.color||A.value.background||A.value.backgroundColor,stroke:U.strokeColor,"stroke-width":U.strokeWidth,"shape-rendering":U.shapeRendering,onClick:m,onDblclick:_,onMouseenter:N,onMousemove:L,onMouseleave:F}),null,16,det))],64)):Kc("",!0)}}),wet=["width","height","viewBox","aria-labelledby"],pet=["id"],met=["d","fill","stroke","stroke-width"],vet={name:"MiniMap",compatConfig:{MODE:3}},yet=Kr({...vet,props:{nodeColor:{type:[String,Function],default:"#e2e2e2"},nodeStrokeColor:{type:[String,Function],default:"transparent"},nodeClassName:{type:[String,Function]},nodeBorderRadius:{default:5},nodeStrokeWidth:{default:2},maskColor:{default:"rgb(240, 240, 240, 0.6)"},maskStrokeColor:{default:"none"},maskStrokeWidth:{default:1},position:{default:"bottom-right"},pannable:{type:Boolean,default:!1},zoomable:{type:Boolean,default:!1},width:{},height:{},ariaLabel:{default:"Vue Flow mini map"},inversePan:{type:Boolean,default:!1},zoomStep:{default:1},offsetScale:{default:5},maskBorderRadius:{default:0}},emits:["click","nodeClick","nodeDblclick","nodeMouseenter","nodeMousemove","nodeMouseleave"],setup(f,{emit:h}){const g=U1n(),k=b2e(),E=200,A=150,{id:m,edges:_,viewport:N,translateExtent:L,dimensions:F,emits:U,d3Selection:z,d3Zoom:W,getNodesInitialized:ge}=Ss(),V=cr();t7(Qbn,g);const ve=xo(()=>{var sn;return f.width??((sn=k.style)==null?void 0:sn.width)??E}),te=xo(()=>{var sn;return f.height??((sn=k.style)==null?void 0:sn.height)??A}),_e=typeof window>"u"||window.chrome?"crispEdges":"geometricPrecision",we=Ai(()=>typeof f.nodeColor=="string"?()=>f.nodeColor:f.nodeColor),Ve=Ai(()=>typeof f.nodeStrokeColor=="string"?()=>f.nodeStrokeColor:f.nodeStrokeColor),Bn=Ai(()=>typeof f.nodeClassName=="string"?()=>f.nodeClassName:typeof f.nodeClassName=="function"?f.nodeClassName:()=>""),Qn=Ai(()=>_2e(ge.value.filter(sn=>!sn.hidden))),mt=Ai(()=>({x:-N.value.x/N.value.zoom,y:-N.value.y/N.value.zoom,width:F.value.width/N.value.zoom,height:F.value.height/N.value.zoom})),Dt=Ai(()=>ge.value&&ge.value.length?DXn(Qn.value,mt.value):mt.value),hi=Ai(()=>{const sn=Dt.value.width/ve.value,Ln=Dt.value.height/te.value;return Math.max(sn,Ln)}),Gt=Ai(()=>{const sn=hi.value*ve.value,Ln=hi.value*te.value,An=f.offsetScale*hi.value;return{offset:An,x:Dt.value.x-(sn-Dt.value.width)/2-An,y:Dt.value.y-(Ln-Dt.value.height)/2-An,width:sn+An*2,height:Ln+An*2}}),Vt=Ai(()=>!Gt.value.x||!Gt.value.y?"":` - M${Gt.value.x-Gt.value.offset},${Gt.value.y-Gt.value.offset} - h${Gt.value.width+Gt.value.offset*2} - v${Gt.value.height+Gt.value.offset*2} - h${-Gt.value.width-Gt.value.offset*2}z - M${mt.value.x+f.maskBorderRadius},${mt.value.y} - h${mt.value.width-2*f.maskBorderRadius} - a${f.maskBorderRadius},${f.maskBorderRadius} 0 0 1 ${f.maskBorderRadius},${f.maskBorderRadius} - v${mt.value.height-2*f.maskBorderRadius} - a${f.maskBorderRadius},${f.maskBorderRadius} 0 0 1 -${f.maskBorderRadius},${f.maskBorderRadius} - h${-(mt.value.width-2*f.maskBorderRadius)} - a${f.maskBorderRadius},${f.maskBorderRadius} 0 0 1 -${f.maskBorderRadius},-${f.maskBorderRadius} - v${-(mt.value.height-2*f.maskBorderRadius)} - a${f.maskBorderRadius},${f.maskBorderRadius} 0 0 1 ${f.maskBorderRadius},-${f.maskBorderRadius}z`);VJn(sn=>{if(V.value){const Ln=N4(V.value),An=ki=>{if(ki.sourceEvent.type!=="wheel"||!z.value||!W.value)return;const Li=ki.sourceEvent.ctrlKey&&TP()?10:1,Xt=-ki.sourceEvent.deltaY*(ki.sourceEvent.deltaMode===1?.05:ki.sourceEvent.deltaMode?1:.002)*f.zoomStep,ni=N.value.zoom*2**(Xt*Li);W.value.scaleTo(z.value,ni)},lt=ki=>{if(ki.sourceEvent.type!=="mousemove"||!z.value||!W.value)return;const Li=hi.value*Math.max(1,N.value.zoom)*(f.inversePan?-1:1),Xt={x:N.value.x-ki.sourceEvent.movementX*Li,y:N.value.y-ki.sourceEvent.movementY*Li},ni=[[0,0],[F.value.width,F.value.height]],an=R2e.translate(Xt.x,Xt.y).scale(N.value.zoom),Zn=W.value.constrain()(an,ni,L.value);W.value.transform(z.value,Zn)},ii=het().wheelDelta(ki=>n2e(ki)*(f.zoomStep/10)).on("zoom",f.pannable?lt:()=>{}).on("zoom.wheel",f.zoomable?An:()=>{});Ln.call(ii),sn(()=>{Ln.on("zoom",null)})}},{flush:"post"});function Ne(sn){const[Ln,An]=_4(sn);h("click",{event:sn,position:{x:Ln,y:An}})}function q(sn,Ln){const An={event:sn,node:Ln,connectedEdges:Xk([Ln],_.value)};U.miniMapNodeClick(An),h("nodeClick",An)}function ce(sn,Ln){const An={event:sn,node:Ln,connectedEdges:Xk([Ln],_.value)};U.miniMapNodeDoubleClick(An),h("nodeDblclick",An)}function cn(sn,Ln){const An={event:sn,node:Ln,connectedEdges:Xk([Ln],_.value)};U.miniMapNodeMouseEnter(An),h("nodeMouseenter",An)}function Se(sn,Ln){const An={event:sn,node:Ln,connectedEdges:Xk([Ln],_.value)};U.miniMapNodeMouseMove(An),h("nodeMousemove",An)}function yn(sn,Ln){const An={event:sn,node:Ln,connectedEdges:Xk([Ln],_.value)};U.miniMapNodeMouseLeave(An),h("nodeMouseleave",An)}return(sn,Ln)=>(xn(),Ff(ut(Mbn),{position:sn.position,class:Q1(["vue-flow__minimap",{pannable:sn.pannable,zoomable:sn.zoomable}])},{default:gs(()=>[(xn(),Hn("svg",{ref_key:"el",ref:V,width:ve.value,height:te.value,viewBox:[Gt.value.x,Gt.value.y,Gt.value.width,Gt.value.height].join(" "),role:"img","aria-labelledby":`vue-flow__minimap-${ut(m)}`,onClick:Ne},[sn.ariaLabel?(xn(),Hn("title",{key:0,id:`vue-flow__minimap-${ut(m)}`},Bi(sn.ariaLabel),9,pet)):Kc("",!0),(xn(!0),Hn(vc,null,po(ut(ge),An=>(xn(),Ff(get,{id:An.id,key:An.id,f:"",position:An.computedPosition,dimensions:An.dimensions,selected:An.selected,dragging:An.dragging,style:bh(An.style),class:Q1(Bn.value(An)),color:we.value(An),"border-radius":sn.nodeBorderRadius,"stroke-color":Ve.value(An),"stroke-width":sn.nodeStrokeWidth,"shape-rendering":ut(_e),type:An.type,hidden:An.hidden,onClick:lt=>q(lt,An),onDblclick:lt=>ce(lt,An),onMouseenter:lt=>cn(lt,An),onMousemove:lt=>Se(lt,An),onMouseleave:lt=>yn(lt,An)},null,8,["id","position","dimensions","selected","dragging","style","class","color","border-radius","stroke-color","stroke-width","shape-rendering","type","hidden","onClick","onDblclick","onMouseenter","onMousemove","onMouseleave"]))),128)),Me("path",{class:"vue-flow__minimap-mask",d:Vt.value,fill:sn.maskColor,stroke:sn.maskStrokeColor,"stroke-width":sn.maskStrokeWidth,"fill-rule":"evenodd"},null,8,met)],8,wet))]),_:1},8,["position","class"]))}}),ket={name:"ControlButton",compatConfig:{MODE:3}},Eet=(f,h)=>{const g=f.__vccOpts||f;for(const[k,E]of h)g[k]=E;return g},Cet={type:"button",class:"vue-flow__controls-button"};function Aet(f,h,g,k,E,A){return xn(),Hn("button",Cet,[Df(f.$slots,"default")])}const cX=Eet(ket,[["render",Aet]]),Tet={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},Met=Me("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"},null,-1),_et=[Met];function jet(f,h){return xn(),Hn("svg",Tet,_et)}const Iet={render:jet},$et={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5"},Net=Me("path",{d:"M0 0h32v4.2H0z"},null,-1),xet=[Net];function Pet(f,h){return xn(),Hn("svg",$et,xet)}const Oet={render:Pet},Det={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30"},Let=Me("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 0 0 27.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.94a.919.919 0 0 1-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"},null,-1),Fet=[Let];function Ret(f,h){return xn(),Hn("svg",Det,Fet)}const Bet={render:Ret},Jet={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},Get=Me("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 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-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"},null,-1),Het=[Get];function zet(f,h){return xn(),Hn("svg",Jet,Het)}const qet={render:zet},Uet={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},Vet=Me("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 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047z"},null,-1),Xet=[Vet];function Ket(f,h){return xn(),Hn("svg",Uet,Xet)}const Wet={render:Ket},Yet={name:"Controls",compatConfig:{MODE:3}},Qet=Kr({...Yet,props:{showZoom:{type:Boolean,default:!0},showFitView:{type:Boolean,default:!0},showInteractive:{type:Boolean,default:!0},fitViewParams:{},position:{default:()=>W0n.BottomLeft}},emits:["zoomIn","zoomOut","fitView","interactionChange"],setup(f,{emit:h}){const{nodesDraggable:g,nodesConnectable:k,elementsSelectable:E,setInteractive:A,zoomIn:m,zoomOut:_,fitView:N,viewport:L,minZoom:F,maxZoom:U}=Ss(),z=xo(()=>g.value||k.value||E.value),W=xo(()=>L.value.zoom<=F.value),ge=xo(()=>L.value.zoom>=U.value);function V(){m(),h("zoomIn")}function ve(){_(),h("zoomOut")}function te(){N(f.fitViewParams),h("fitView")}function _e(){A(!z.value),h("interactionChange",!z.value)}return(we,Ve)=>(xn(),Ff(ut(Mbn),{class:"vue-flow__controls",position:we.position},{default:gs(()=>[Df(we.$slots,"top"),we.showZoom?(xn(),Hn(vc,{key:0},[Df(we.$slots,"control-zoom-in",{},()=>[Cr(cX,{class:"vue-flow__controls-zoomin",disabled:ge.value,onClick:V},{default:gs(()=>[Df(we.$slots,"icon-zoom-in",{},()=>[(xn(),Ff(Uk(ut(Iet))))])]),_:3},8,["disabled"])]),Df(we.$slots,"control-zoom-out",{},()=>[Cr(cX,{class:"vue-flow__controls-zoomout",disabled:W.value,onClick:ve},{default:gs(()=>[Df(we.$slots,"icon-zoom-out",{},()=>[(xn(),Ff(Uk(ut(Oet))))])]),_:3},8,["disabled"])])],64)):Kc("",!0),we.showFitView?Df(we.$slots,"control-fit-view",{key:1},()=>[Cr(cX,{class:"vue-flow__controls-fitview",onClick:te},{default:gs(()=>[Df(we.$slots,"icon-fit-view",{},()=>[(xn(),Ff(Uk(ut(Bet))))])]),_:3})]):Kc("",!0),we.showInteractive?Df(we.$slots,"control-interactive",{key:2},()=>[we.showInteractive?(xn(),Ff(cX,{key:0,class:"vue-flow__controls-interactive",onClick:_e},{default:gs(()=>[z.value?Df(we.$slots,"icon-unlock",{key:0},()=>[(xn(),Ff(Uk(ut(Wet))))]):Kc("",!0),z.value?Kc("",!0):Df(we.$slots,"icon-lock",{key:1},()=>[(xn(),Ff(Uk(ut(qet))))])]),_:3})):Kc("",!0)]):Kc("",!0),Df(we.$slots,"default")]),_:3},8,["position"]))}}),Zet={class:"semantics-node"},ent={class:"node-content"},nnt={class:"node-label"},tnt={class:"node-subtitle"},int=Kr({__name:"SemanticsNode",props:{data:{}},setup(f){return(h,g)=>(xn(),Hn("div",Zet,[Cr(ut(Sg),{type:"target",position:ut(xi).Bottom},null,8,["position"]),g[0]||(g[0]=Me("div",{class:"node-icon"},"◈",-1)),Me("div",ent,[Me("div",nnt,Bi(f.data.label),1),Me("div",tnt,Bi(f.data.dataCategory)+" · "+Bi(f.data.attributeCount)+" attrs · "+Bi(f.data.measureCount)+" measures ",1)])]))}}),rnt=bf(int,[["__scopeId","data-v-037e222b"]]),cnt={class:"node-content"},unt={class:"node-label"},ont={class:"node-subtitle"},snt=Kr({__name:"ProjectionNode",props:{data:{}},setup(f){return(h,g)=>(xn(),Hn("div",{class:"projection-node",style:bh({borderColor:`var(${f.data.typeDef.themeVariable})`})},[Cr(ut(Sg),{type:"target",position:ut(xi).Bottom},null,8,["position"]),Cr(ut(Sg),{type:"source",position:ut(xi).Top},null,8,["position"]),Me("div",{class:"node-icon",style:bh({color:`var(${f.data.typeDef.themeVariable})`})},Bi(f.data.typeDef.icon),5),Me("div",cnt,[Me("div",unt,Bi(f.data.label),1),Me("div",ont,Bi(f.data.inputCount)+" input · "+Bi(f.data.columnCount)+" columns",1)])],4))}}),lnt=bf(snt,[["__scopeId","data-v-b6f61013"]]),fnt={class:"node-content"},ant={class:"node-label"},hnt={class:"node-subtitle"},dnt=Kr({__name:"GenericNode",props:{data:{}},setup(f){return(h,g)=>(xn(),Hn("div",{class:"generic-node",style:bh({borderColor:`var(${f.data.typeDef.themeVariable})`})},[Cr(ut(Sg),{type:"source",position:ut(xi).Top},null,8,["position"]),f.data.typeDef.maxInputs>0?(xn(),Ff(ut(Sg),{key:0,type:"target",position:ut(xi).Bottom},null,8,["position"])):Kc("",!0),Me("div",{class:"node-icon",style:bh({color:`var(${f.data.typeDef.themeVariable})`})},Bi(f.data.typeDef.icon),5),Me("div",fnt,[Me("div",ant,Bi(f.data.label),1),Me("div",hnt,Bi(f.data.typeDef.label)+" · "+Bi(f.data.columnCount)+" columns",1)])],4))}}),qk=bf(dnt,[["__scopeId","data-v-ffa6629a"]]),bnt={class:"node-content"},gnt={class:"node-label"},wnt={class:"node-subtitle"},pnt=Kr({__name:"JoinNode",props:{data:{}},setup(f){return(h,g)=>(xn(),Hn("div",{class:"join-node",style:bh({borderColor:`var(${f.data.typeDef.themeVariable})`})},[Cr(ut(Sg),{type:"source",position:ut(xi).Top},null,8,["position"]),Cr(ut(Sg),{id:"left",type:"target",position:ut(xi).Bottom,style:{left:"25%"}},null,8,["position"]),Cr(ut(Sg),{id:"right",type:"target",position:ut(xi).Bottom,style:{left:"75%"}},null,8,["position"]),Me("div",{class:"node-icon",style:bh({color:`var(${f.data.typeDef.themeVariable})`})},Bi(f.data.typeDef.icon),5),Me("div",bnt,[Me("div",gnt,Bi(f.data.label),1),Me("div",wnt,Bi(f.data.typeDef.label)+" · "+Bi(f.data.columnCount)+" columns",1)])],4))}}),q1n=bf(pnt,[["__scopeId","data-v-5c94425a"]]),mnt=Kr({__name:"DataFlowEdge",props:{sourceX:{},sourceY:{},targetX:{},targetY:{},curvature:{},id:{},label:{},markerStart:{},markerEnd:{},interactionWidth:{},labelStyle:{},labelShowBg:{type:Boolean},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{},sourcePosition:{},targetPosition:{}},setup(f){return(h,g)=>(xn(),Ff(ut(Tbn),wP(h.$props,{style:{stroke:"var(--sapContent_NonInteractiveIconColor, #6a6d70)",strokeWidth:2}}),null,16))}}),vnt={class:"canvas-container"},ynt=Kr({__name:"CalcViewCanvas",props:{nodes:{},edges:{}},emits:["node-click","connect","edge-remove","node-drag-stop"],setup(f,{emit:h}){const g=f,k=h;function E(N){k("node-click",N.node)}function A(N){k("connect",N)}function m(N){k("edge-remove",N.edge)}function _(N){N.node&&k("node-drag-stop",N.node.id,{x:Math.round(N.node.position.x),y:Math.round(N.node.position.y)})}return(N,L)=>(xn(),Hn("div",vnt,[Cr(ut(DWn),{nodes:g.nodes,edges:g.edges,"default-viewport":{zoom:1,x:0,y:0},"fit-view-on-init":"",onNodeClick:E,onConnect:A,onEdgeDoubleClick:m,onNodeDragStop:_},{"node-semantics":gs(F=>[Cr(rnt,sb(Mg(F)),null,16)]),"node-projection":gs(F=>[Cr(lnt,sb(Mg(F)),null,16)]),"node-join":gs(F=>[Cr(q1n,sb(Mg(F)),null,16)]),"node-nonEquiJoin":gs(F=>[Cr(q1n,sb(Mg(F)),null,16)]),"node-aggregation":gs(F=>[Cr(qk,sb(Mg(F)),null,16)]),"node-union":gs(F=>[Cr(qk,sb(Mg(F)),null,16)]),"node-minus":gs(F=>[Cr(qk,sb(Mg(F)),null,16)]),"node-intersect":gs(F=>[Cr(qk,sb(Mg(F)),null,16)]),"node-rank":gs(F=>[Cr(qk,sb(Mg(F)),null,16)]),"node-tableFunction":gs(F=>[Cr(qk,sb(Mg(F)),null,16)]),"node-hierarchyFunction":gs(F=>[Cr(qk,sb(Mg(F)),null,16)]),"edge-dataFlow":gs(F=>[Cr(mnt,sb(Mg(F)),null,16)]),default:gs(()=>[Cr(ut(yet)),Cr(ut(Qet))]),_:1},8,["nodes","edges"])]))}}),knt=bf(ynt,[["__scopeId","data-v-36b4de74"]]),Ent={class:"node-palette"},Cnt={class:"palette-items"},Ant=["onDragstart","onClick"],Tnt={class:"palette-label"},Mnt=Kr({__name:"NodePalette",emits:["add-node"],setup(f,{emit:h}){const g=h,k=Object.values(pX);function E(A,m){A.dataTransfer&&(A.dataTransfer.setData("application/calcview-node-type",m),A.dataTransfer.effectAllowed="move")}return(A,m)=>(xn(),Hn("div",Ent,[m[0]||(m[0]=Me("div",{class:"palette-header"},"Nodes",-1)),Me("div",Cnt,[(xn(!0),Hn(vc,null,po(ut(k),_=>(xn(),Hn("div",{key:_.type,class:"palette-item",draggable:"true",onDragstart:N=>E(N,_.type),onClick:N=>g("add-node",_.type)},[Me("span",{class:"palette-icon",style:bh({color:`var(${_.themeVariable})`})},Bi(_.icon),5),Me("span",Tnt,Bi(_.label),1)],40,Ant))),128))])]))}}),Snt=bf(Mnt,[["__scopeId","data-v-7b260060"]]),_nt={class:"view-properties"},jnt={class:"property-row"},Int=["value"],$nt={class:"property-row"},Nnt=["value"],xnt={class:"property-row"},Pnt=["selected"],Ont=["selected"],Dnt=["selected"],Lnt={class:"property-row"},Fnt=["value"],Rnt=Kr({__name:"ViewPropertiesTab",props:{model:{}},setup(f){return(h,g)=>(xn(),Hn("div",_nt,[Me("div",jnt,[g[0]||(g[0]=Me("ui5-label",null,"Name",-1)),Me("ui5-input",{value:f.model.id,readonly:""},null,8,Int)]),Me("div",$nt,[g[1]||(g[1]=Me("ui5-label",null,"Description",-1)),Me("ui5-input",{value:f.model.description},null,8,Nnt)]),Me("div",xnt,[g[2]||(g[2]=Me("ui5-label",null,"Data Category",-1)),Me("ui5-select",null,[Me("ui5-option",{selected:f.model.dataCategory==="CUBE"},"CUBE",8,Pnt),Me("ui5-option",{selected:f.model.dataCategory==="DIMENSION"},"DIMENSION",8,Ont),Me("ui5-option",{selected:f.model.dataCategory==="DEFAULT"},"DEFAULT",8,Dnt)])]),Me("div",Lnt,[g[3]||(g[3]=Me("ui5-label",null,"Privilege Type",-1)),Me("ui5-input",{value:f.model.applyPrivilegeType},null,8,Fnt)])]))}}),Bnt=bf(Rnt,[["__scopeId","data-v-f6244134"]]),Jnt={class:"parameters-tab"},Gnt={class:"var-list"},Hnt=["onClick"],znt={class:"var-name"},qnt={class:"var-type"},Unt=["onClick"],Vnt={key:0,class:"empty"},Xnt={key:0,class:"var-detail"},Knt={class:"detail-row"},Wnt=["value"],Ynt={class:"detail-row"},Qnt=["value","selected"],Znt={class:"detail-row"},ett=["value"],ntt={class:"detail-row"},ttt=["checked"],itt=Kr({__name:"ParametersTab",props:{model:{}},emits:["add-variable","remove-variable","update-variable"],setup(f,{emit:h}){const g=h,k=cr(null);function E(){const _=`IP_${Date.now()}`;g("add-variable",{id:_,name:_,dataType:"NVARCHAR"}),k.value=_}function A(_){g("remove-variable",_),k.value===_&&(k.value=null)}function m(_,N){k.value&&g("update-variable",k.value,{[_]:N})}return(_,N)=>{var L,F,U;return xn(),Hn("div",Jnt,[Me("div",Gnt,[Me("div",{class:"list-header"},[N[4]||(N[4]=Me("span",null,"Input Parameters",-1)),Me("ui5-button",{design:"Transparent",onClick:E},"+ Add")]),(xn(!0),Hn(vc,null,po(f.model.localVariables,z=>(xn(),Hn("div",{key:z.id,class:Q1(["var-item",{selected:k.value===z.id}]),onClick:W=>k.value=z.id},[Me("span",znt,Bi(z.name),1),Me("span",qnt,Bi(z.dataType),1),Me("ui5-button",{design:"Transparent",icon:"decline",onClick:w2e(W=>A(z.id),["stop"])},null,8,Unt)],10,Hnt))),128)),f.model.localVariables.length===0?(xn(),Hn("div",Vnt,"No input parameters defined")):Kc("",!0)]),k.value&&f.model.localVariables.find(z=>z.id===k.value)?(xn(),Hn("div",Xnt,[Me("div",Knt,[N[5]||(N[5]=Me("label",null,"Name:",-1)),Me("ui5-input",{value:((L=f.model.localVariables.find(z=>z.id===k.value))==null?void 0:L.name)||"",onChange:N[0]||(N[0]=z=>m("name",z.target.value))},null,40,Wnt)]),Me("div",Ynt,[N[6]||(N[6]=Me("label",null,"Type:",-1)),Me("ui5-select",{onChange:N[1]||(N[1]=z=>m("dataType",z.detail.selectedOption.value))},[(xn(),Hn(vc,null,po(["NVARCHAR","INTEGER","BIGINT","DECIMAL","DATE","TIMESTAMP"],z=>{var W;return Me("ui5-option",{key:z,value:z,selected:((W=f.model.localVariables.find(ge=>ge.id===k.value))==null?void 0:W.dataType)===z},Bi(z),9,Qnt)}),64))],32)]),Me("div",Znt,[N[7]||(N[7]=Me("label",null,"Default:",-1)),Me("ui5-input",{value:((F=f.model.localVariables.find(z=>z.id===k.value))==null?void 0:F.defaultValue)||"",onChange:N[2]||(N[2]=z=>m("defaultValue",z.target.value))},null,40,ett)]),Me("div",ntt,[Me("ui5-checkbox",{checked:((U=f.model.localVariables.find(z=>z.id===k.value))==null?void 0:U.mandatory)||!1,text:"Mandatory",onChange:N[3]||(N[3]=z=>m("mandatory",z.target.checked))},null,40,ttt)])])):Kc("",!0)])}}}),rtt=bf(itt,[["__scopeId","data-v-d4420d40"]]),ctt={class:"semantics-columns-tab"},utt={class:"column-table"},ott={class:"col-name"},stt=["value","onChange"],ltt={class:"col-type"},ftt=["onChange"],att=["selected"],htt=["selected"],dtt=["selected"],btt=["selected"],gtt=["selected"],wtt={key:1,class:"col-agg"},ptt=["checked","onChange"],mtt={key:0,class:"empty"},vtt=Kr({__name:"SemanticsColumnsTab",props:{logicalModel:{}},emits:["update-column"],setup(f,{emit:h}){const g=f,k=h,E=Ai(()=>{const N=[];for(const L of g.logicalModel.attributes)N.push({id:L.id,name:L.name,label:L.label||"",semanticType:"attribute",aggregationType:"",hidden:L.hidden||!1,collection:"attributes"});for(const L of g.logicalModel.baseMeasures)N.push({id:L.id,name:L.name,label:L.label||"",semanticType:"measure",aggregationType:L.aggregationType||"sum",hidden:L.hidden||!1,collection:"baseMeasures"});return N});function A(N,L){const F=L.target.value;F!==N.label&&k("update-column",N.collection,N.id,{label:F})}function m(N,L){k("update-column",N.collection,N.id,{hidden:L.target.checked})}function _(N,L){var U,z,W,ge,V;const F=((z=(U=L.detail)==null?void 0:U.selectedOption)==null?void 0:z.value)||((V=(ge=(W=L.detail)==null?void 0:W.selectedOption)==null?void 0:ge.textContent)==null?void 0:V.trim());F&&F!==N.aggregationType&&k("update-column",N.collection,N.id,{aggregationType:F})}return(N,L)=>(xn(),Hn("div",ctt,[Me("div",utt,[L[0]||(L[0]=Q1n('
ColumnLabelTypeAggregationHidden
',1)),(xn(!0),Hn(vc,null,po(E.value,F=>(xn(),Hn("div",{key:F.id,class:Q1(["table-row",{"measure-row":F.semanticType==="measure"}])},[Me("span",ott,Bi(F.name),1),Me("ui5-input",{class:"col-label",value:F.label,placeholder:"Description...",onChange:U=>A(F,U)},null,40,stt),Me("span",ltt,Bi(F.semanticType==="measure"?"Measure":"Attribute"),1),F.semanticType==="measure"?(xn(),Hn("ui5-select",{key:0,class:"col-agg",onChange:U=>_(F,U)},[Me("ui5-option",{value:"sum",selected:F.aggregationType==="sum"},"SUM",8,att),Me("ui5-option",{value:"count",selected:F.aggregationType==="count"},"COUNT",8,htt),Me("ui5-option",{value:"min",selected:F.aggregationType==="min"},"MIN",8,dtt),Me("ui5-option",{value:"max",selected:F.aggregationType==="max"},"MAX",8,btt),Me("ui5-option",{value:"avg",selected:F.aggregationType==="avg"},"AVG",8,gtt)],40,ftt)):(xn(),Hn("span",wtt,"—")),Me("ui5-checkbox",{class:"col-hidden",checked:F.hidden,onChange:U=>m(F,U)},null,40,ptt)],2))),128)),E.value.length===0?(xn(),Hn("div",mtt," No output columns defined in semantics ")):Kc("",!0)])]))}}),ytt=bf(vtt,[["__scopeId","data-v-45290071"]]),ktt={class:"hierarchies-tab"},Ett={class:"tab-header"},Ctt={class:"tab-title"},Att={class:"hierarchy-list"},Ttt={class:"hierarchy-header"},Mtt={class:"hierarchy-name"},Stt={class:"hierarchy-type"},_tt=["onClick"],jtt={key:0,class:"hierarchy-levels"},Itt={key:1,class:"hierarchy-pc"},$tt={key:0,class:"empty"},Ntt=["open"],xtt={class:"add-dialog-content"},Ptt={class:"form-row"},Ott=["value"],Dtt={class:"form-row"},Ltt=["value"],Ftt={class:"form-row"},Rtt=["selected"],Btt=["selected"],Jtt={key:0,class:"levels-section"},Gtt=["value","onInput"],Htt=["onChange"],ztt=["value","selected"],qtt=["onClick"],Utt={class:"form-row"},Vtt=["value","selected"],Xtt={class:"form-row"},Ktt=["value","selected"],Wtt={slot:"footer",class:"dialog-footer"},Ytt=["disabled"],Qtt=Kr({__name:"HierarchiesTab",props:{logicalModel:{}},emits:["add-hierarchy","remove-hierarchy"],setup(f,{emit:h}){const g=h,k=cr(!1),E=cr(""),A=cr(""),m=cr("leveled"),_=cr(""),N=cr(""),L=cr([]);function F(){E.value="",A.value="",m.value="leveled",_.value="",N.value="",L.value=[],k.value=!0}function U(){L.value.push({name:"",column:"",ordinal:L.value.length+1})}function z(V){L.value.splice(V,1),L.value.forEach((ve,te)=>ve.ordinal=te+1)}function W(){if(!E.value.trim())return;const V={id:E.value.trim(),name:A.value.trim()||E.value.trim(),type:m.value,...m.value==="leveled"?{levels:[...L.value]}:{},...m.value==="parentChild"?{parentColumn:_.value,childColumn:N.value}:{}};g("add-hierarchy",V),k.value=!1}function ge(V){g("remove-hierarchy",V)}return(V,ve)=>(xn(),Hn("div",ktt,[Me("div",Ett,[Me("span",Ctt,"Hierarchies ("+Bi(f.logicalModel.hierarchies.length)+")",1),Me("ui5-button",{design:"Transparent",onClick:F},"+ Add")]),Me("div",Att,[(xn(!0),Hn(vc,null,po(f.logicalModel.hierarchies,te=>(xn(),Hn("div",{key:te.id,class:"hierarchy-item"},[Me("div",Ttt,[Me("span",Mtt,Bi(te.id),1),Me("span",Stt,Bi(te.type),1),Me("ui5-button",{design:"Transparent",icon:"decline",onClick:_e=>ge(te.id)},null,8,_tt)]),te.type==="leveled"&&te.levels?(xn(),Hn("div",jtt,[(xn(!0),Hn(vc,null,po(te.levels,_e=>(xn(),Hn("span",{key:_e.name,class:"level-chip"},Bi(_e.name)+" ("+Bi(_e.column)+") ",1))),128))])):Kc("",!0),te.type==="parentChild"?(xn(),Hn("div",Itt," Parent: "+Bi(te.parentColumn)+" → Child: "+Bi(te.childColumn),1)):Kc("",!0)]))),128)),f.logicalModel.hierarchies.length===0?(xn(),Hn("div",$tt,"No hierarchies defined")):Kc("",!0)]),Me("ui5-dialog",{open:k.value,"header-text":"Add Hierarchy",onClose:ve[6]||(ve[6]=te=>k.value=!1)},[Me("div",xtt,[Me("div",Ptt,[ve[7]||(ve[7]=Me("label",null,"ID",-1)),Me("ui5-input",{value:E.value,onInput:ve[0]||(ve[0]=te=>E.value=te.target.value),placeholder:"HIERARCHY_ID"},null,40,Ott)]),Me("div",Dtt,[ve[8]||(ve[8]=Me("label",null,"Name",-1)),Me("ui5-input",{value:A.value,onInput:ve[1]||(ve[1]=te=>A.value=te.target.value),placeholder:"Display Name"},null,40,Ltt)]),Me("div",Ftt,[ve[9]||(ve[9]=Me("label",null,"Type",-1)),Me("ui5-select",{onChange:ve[2]||(ve[2]=te=>{var we,Ve;const _e=(Ve=(we=te.detail)==null?void 0:we.selectedOption)==null?void 0:Ve.getAttribute("value");_e&&(m.value=_e)})},[Me("ui5-option",{value:"leveled",selected:m.value==="leveled"},"Leveled",8,Rtt),Me("ui5-option",{value:"parentChild",selected:m.value==="parentChild"},"Parent-Child",8,Btt)],32)]),m.value==="leveled"?(xn(),Hn("div",Jtt,[Me("div",{class:"levels-header"},[ve[10]||(ve[10]=Me("span",null,"Levels",-1)),Me("ui5-button",{design:"Transparent",onClick:U},"+ Level")]),(xn(!0),Hn(vc,null,po(L.value,(te,_e)=>(xn(),Hn("div",{key:_e,class:"level-row"},[Me("ui5-input",{value:te.name,placeholder:"Level name",onInput:we=>te.name=we.target.value},null,40,Gtt),Me("ui5-select",{onChange:we=>{var Bn,Qn;const Ve=(Qn=(Bn=we.detail)==null?void 0:Bn.selectedOption)==null?void 0:Qn.getAttribute("value");Ve&&(te.column=Ve)}},[ve[11]||(ve[11]=Me("ui5-option",{value:""},"Select column...",-1)),(xn(!0),Hn(vc,null,po(f.logicalModel.attributes,we=>(xn(),Hn("ui5-option",{key:we.id,value:we.id,selected:te.column===we.id},Bi(we.id),9,ztt))),128))],40,Htt),Me("ui5-button",{design:"Transparent",icon:"decline",onClick:we=>z(_e)},null,8,qtt)]))),128))])):Kc("",!0),m.value==="parentChild"?(xn(),Hn(vc,{key:1},[Me("div",Utt,[ve[13]||(ve[13]=Me("label",null,"Parent Column",-1)),Me("ui5-select",{onChange:ve[3]||(ve[3]=te=>{var we,Ve;const _e=(Ve=(we=te.detail)==null?void 0:we.selectedOption)==null?void 0:Ve.getAttribute("value");_e&&(_.value=_e)})},[ve[12]||(ve[12]=Me("ui5-option",{value:""},"Select...",-1)),(xn(!0),Hn(vc,null,po(f.logicalModel.attributes,te=>(xn(),Hn("ui5-option",{key:te.id,value:te.id,selected:_.value===te.id},Bi(te.id),9,Vtt))),128))],32)]),Me("div",Xtt,[ve[15]||(ve[15]=Me("label",null,"Child Column",-1)),Me("ui5-select",{onChange:ve[4]||(ve[4]=te=>{var we,Ve;const _e=(Ve=(we=te.detail)==null?void 0:we.selectedOption)==null?void 0:Ve.getAttribute("value");_e&&(N.value=_e)})},[ve[14]||(ve[14]=Me("ui5-option",{value:""},"Select...",-1)),(xn(!0),Hn(vc,null,po(f.logicalModel.attributes,te=>(xn(),Hn("ui5-option",{key:te.id,value:te.id,selected:N.value===te.id},Bi(te.id),9,Ktt))),128))],32)])],64)):Kc("",!0)]),Me("div",Wtt,[Me("ui5-button",{design:"Emphasized",onClick:W,disabled:!E.value.trim()},"Add",8,Ytt),Me("ui5-button",{design:"Transparent",onClick:ve[5]||(ve[5]=te=>k.value=!1)},"Cancel")])],40,Ntt)]))}}),Ztt=bf(Qtt,[["__scopeId","data-v-05bc2efd"]]),eit={class:"restricted-measures-tab"},nit={class:"tab-header"},tit={class:"tab-title"},iit={class:"measure-list"},rit={class:"measure-header"},cit={class:"measure-name"},uit={class:"measure-base"},oit=["onClick"],sit={class:"measure-filters"},lit={key:0,class:"empty"},fit=["open"],ait={class:"add-dialog-content"},hit={class:"form-row"},dit=["value"],bit={class:"form-row"},git=["value"],wit={class:"form-row"},pit=["value","selected"],mit={class:"filters-section"},vit=["onChange"],yit=["value","selected"],kit=["onChange"],Eit=["selected"],Cit=["selected"],Ait=["selected"],Tit=["value","onInput"],Mit=["onClick"],Sit={slot:"footer",class:"dialog-footer"},_it=["disabled"],jit=Kr({__name:"RestrictedMeasuresTab",props:{logicalModel:{}},emits:["add-restricted-measure","remove-restricted-measure"],setup(f,{emit:h}){const g=f,k=h,E=cr(!1),A=cr(""),m=cr(""),_=cr(""),N=cr([]),L=Ai(()=>g.logicalModel.baseMeasures),F=Ai(()=>g.logicalModel.attributes);function U(){A.value="",m.value="",_.value="",N.value=[],E.value=!0}function z(){N.value.push({attributeName:"",operator:"=",values:[""]})}function W(V){N.value.splice(V,1)}function ge(){if(!A.value.trim()||!_.value)return;const V={id:A.value.trim(),name:m.value.trim()||A.value.trim(),baseMeasure:_.value,restriction:N.value.filter(ve=>ve.attributeName&&ve.values[0]),label:m.value.trim()};k("add-restricted-measure",V),E.value=!1}return(V,ve)=>(xn(),Hn("div",eit,[Me("div",nit,[Me("span",tit,"Restricted Measures ("+Bi(f.logicalModel.restrictedMeasures.length)+")",1),Me("ui5-button",{design:"Transparent",onClick:U},"+ Add")]),Me("div",iit,[(xn(!0),Hn(vc,null,po(f.logicalModel.restrictedMeasures,te=>(xn(),Hn("div",{key:te.id,class:"measure-item"},[Me("div",rit,[Me("span",cit,Bi(te.id),1),Me("span",uit,"Base: "+Bi(te.baseMeasure),1),Me("ui5-button",{design:"Transparent",icon:"decline",onClick:_e=>k("remove-restricted-measure",te.id)},null,8,oit)]),Me("div",sit,[(xn(!0),Hn(vc,null,po(te.restriction,(_e,we)=>(xn(),Hn("span",{key:we,class:"filter-chip"},Bi(_e.attributeName)+" "+Bi(_e.operator)+" "+Bi(_e.values.join(", ")),1))),128))])]))),128)),f.logicalModel.restrictedMeasures.length===0?(xn(),Hn("div",lit,"No restricted measures defined")):Kc("",!0)]),Me("ui5-dialog",{open:E.value,"header-text":"Add Restricted Measure",onClose:ve[4]||(ve[4]=te=>E.value=!1)},[Me("div",ait,[Me("div",hit,[ve[5]||(ve[5]=Me("label",null,"ID",-1)),Me("ui5-input",{value:A.value,onInput:ve[0]||(ve[0]=te=>A.value=te.target.value),placeholder:"MEASURE_ID"},null,40,dit)]),Me("div",bit,[ve[6]||(ve[6]=Me("label",null,"Label",-1)),Me("ui5-input",{value:m.value,onInput:ve[1]||(ve[1]=te=>m.value=te.target.value),placeholder:"Display name"},null,40,git)]),Me("div",wit,[ve[8]||(ve[8]=Me("label",null,"Base Measure",-1)),Me("ui5-select",{onChange:ve[2]||(ve[2]=te=>{var we,Ve;const _e=(Ve=(we=te.detail)==null?void 0:we.selectedOption)==null?void 0:Ve.getAttribute("value");_e&&(_.value=_e)})},[ve[7]||(ve[7]=Me("ui5-option",{value:""},"Select measure...",-1)),(xn(!0),Hn(vc,null,po(L.value,te=>(xn(),Hn("ui5-option",{key:te.id,value:te.id,selected:_.value===te.id},Bi(te.id),9,pit))),128))],32)]),Me("div",mit,[Me("div",{class:"filters-header"},[ve[9]||(ve[9]=Me("span",null,"Restrictions",-1)),Me("ui5-button",{design:"Transparent",onClick:z},"+ Filter")]),(xn(!0),Hn(vc,null,po(N.value,(te,_e)=>(xn(),Hn("div",{key:_e,class:"filter-row"},[Me("ui5-select",{onChange:we=>{var Bn,Qn;const Ve=(Qn=(Bn=we.detail)==null?void 0:Bn.selectedOption)==null?void 0:Qn.getAttribute("value");Ve&&(te.attributeName=Ve)}},[ve[10]||(ve[10]=Me("ui5-option",{value:""},"Attribute...",-1)),(xn(!0),Hn(vc,null,po(F.value,we=>(xn(),Hn("ui5-option",{key:we.id,value:we.id,selected:te.attributeName===we.id},Bi(we.id),9,yit))),128))],40,vit),Me("ui5-select",{onChange:we=>{var Bn,Qn;const Ve=(Qn=(Bn=we.detail)==null?void 0:Bn.selectedOption)==null?void 0:Qn.getAttribute("value");Ve&&(te.operator=Ve)}},[Me("ui5-option",{value:"=",selected:te.operator==="="},"= (equals)",8,Eit),Me("ui5-option",{value:"IN",selected:te.operator==="IN"},"IN",8,Cit),Me("ui5-option",{value:"BETWEEN",selected:te.operator==="BETWEEN"},"BETWEEN",8,Ait)],40,kit),Me("ui5-input",{value:te.values[0],placeholder:"Value",onInput:we=>te.values=[we.target.value]},null,40,Tit),Me("ui5-button",{design:"Transparent",icon:"decline",onClick:we=>W(_e)},null,8,Mit)]))),128))])]),Me("div",Sit,[Me("ui5-button",{design:"Emphasized",onClick:ge,disabled:!A.value.trim()||!_.value},"Add",8,_it),Me("ui5-button",{design:"Transparent",onClick:ve[3]||(ve[3]=te=>E.value=!1)},"Cancel")])],40,fit)]))}}),Iit=bf(jit,[["__scopeId","data-v-07d2d2f6"]]),$it={class:"mapping-tab"},Nit={class:"mapping-columns"},xit={class:"column-list input-columns"},Pit={class:"column-header"},Oit={class:"header-actions"},Dit=["draggable","onDragstart"],Lit={class:"col-name"},Fit={class:"col-meta"},Rit={class:"column-header"},Bit={class:"col-name"},Jit={class:"col-meta"},Git=["onClick"],Hit={key:0,class:"drop-zone"},zit=Kr({__name:"MappingTab",props:{node:{},model:{}},emits:["map-column","unmap-column","map-all","add-data-source"],setup(f,{emit:h}){const g=f,k=h,E=Ai(()=>{const F=[],U=new Set(g.node.outputColumns.map(z=>z.id));for(const z of g.node.inputs){const W=g.model.dataSources.find(V=>V.id===z.node);if(W)for(const V of W.columns)F.push({id:V.name,name:V.name,dataType:V.dataType,sourceName:z.node,isMapped:U.has(V.name)});const ge=g.model.calculationViews.find(V=>V.id===z.node);if(ge)for(const V of ge.outputColumns)F.push({id:V.id,name:V.name,dataType:V.dataType,sourceName:z.node,isMapped:U.has(V.id)})}return F});function A(F,U){var z;(z=F.dataTransfer)==null||z.setData("text/plain",JSON.stringify(U))}function m(F){var W;F.preventDefault();const U=(W=F.dataTransfer)==null?void 0:W.getData("text/plain");if(!U)return;const z=JSON.parse(U);k("map-column",{id:z.id,name:z.name,dataType:z.dataType})}function _(F){F.preventDefault()}function N(F){k("unmap-column",F)}function L(){k("map-all")}return(F,U)=>(xn(),Hn("div",$it,[Me("div",Nit,[Me("div",xit,[Me("div",Pit,[U[1]||(U[1]=Me("span",null,"Input Columns",-1)),Me("div",Oit,[Me("ui5-button",{design:"Transparent",onClick:U[0]||(U[0]=z=>k("add-data-source"))},"+ Data Source"),Me("ui5-button",{design:"Transparent",onClick:L},"Map All")])]),(xn(!0),Hn(vc,null,po(E.value,z=>(xn(),Hn("div",{key:`${z.sourceName}-${z.id}`,class:Q1(["column-item",{mapped:z.isMapped}]),draggable:!z.isMapped,onDragstart:W=>A(W,z)},[Me("span",Lit,Bi(z.name),1),Me("span",Fit,Bi(z.dataType)+" · "+Bi(z.sourceName),1)],42,Dit))),128))]),Me("div",{class:"column-list output-columns",onDrop:m,onDragover:_},[Me("div",Rit,[Me("span",null,"Output Columns ("+Bi(f.node.outputColumns.length)+")",1)]),(xn(!0),Hn(vc,null,po(f.node.outputColumns,z=>(xn(),Hn("div",{key:z.id,class:"column-item output-item"},[Me("span",Bit,Bi(z.name),1),Me("span",Jit,Bi(z.dataType),1),Me("ui5-button",{design:"Transparent",icon:"decline",class:"remove-btn",onClick:W=>N(z.id)},null,8,Git)]))),128)),f.node.outputColumns.length===0?(xn(),Hn("div",Hit," Drag columns here to map ")):Kc("",!0)],32)])]))}}),qit=bf(zit,[["__scopeId","data-v-a4856c66"]]),Uit={class:"calculated-columns-tab"},Vit={class:"column-chips"},Xit=["onClick"],Kit=["onClick"],Wit={key:0,class:"editor-section"},Yit={class:"props-row"},Qit=["value"],Zit={class:"props-row"},ert=["value","selected"],nrt={class:"monaco-wrapper"},trt={class:"available-cols"},irt={key:1,class:"no-selection"},rrt=Kr({__name:"CalculatedColumnsTab",props:{node:{}},emits:["add-column","remove-column","update-column"],setup(f,{emit:h}){const g=f,k=h,E=cr(null),A=Ai(()=>E.value?g.node.calculatedColumns.find(z=>z.id===E.value)??null:null),m=Ai(()=>g.node.outputColumns.map(z=>z.name));function _(){const z=`CC_${Date.now()}`;k("add-column",{id:z,name:z,dataType:"NVARCHAR",expression:""}),E.value=z}function N(z){k("remove-column",z),E.value===z&&(E.value=null)}function L(z){E.value&&z!==void 0&&k("update-column",E.value,{expression:z})}function F(z){E.value&&k("update-column",E.value,{name:z.target.value})}function U(z){E.value&&k("update-column",E.value,{dataType:z.detail.selectedOption.value})}return(z,W)=>(xn(),Hn("div",Uit,[Me("div",Vit,[(xn(!0),Hn(vc,null,po(f.node.calculatedColumns,ge=>(xn(),Hn("div",{key:ge.id,class:Q1(["chip",{selected:E.value===ge.id}]),onClick:V=>E.value=ge.id},[Me("span",null,Bi(ge.name),1),Me("ui5-button",{design:"Transparent",icon:"decline",onClick:w2e(V=>N(ge.id),["stop"])},null,8,Kit)],10,Xit))),128)),Me("ui5-button",{design:"Transparent",onClick:_},"+ New")]),A.value?(xn(),Hn("div",Wit,[Me("div",Yit,[W[0]||(W[0]=Me("label",null,"Name:",-1)),Me("ui5-input",{value:A.value.name,onChange:F},null,40,Qit)]),Me("div",Zit,[W[1]||(W[1]=Me("label",null,"Type:",-1)),Me("ui5-select",{onChange:U},[(xn(),Hn(vc,null,po(["NVARCHAR","INTEGER","BIGINT","DECIMAL","DATE","TIMESTAMP"],ge=>Me("ui5-option",{key:ge,value:ge,selected:A.value.dataType===ge},Bi(ge),9,ert)),64))],32)]),Me("div",nrt,[Cr(ut(Z1n),{value:A.value.expression,language:"sql",options:{minimap:{enabled:!1},lineNumbers:"off",fontSize:12,scrollBeyondLastLine:!1,wordWrap:"on",automaticLayout:!0},theme:"vs",height:"120px",onChange:L},null,8,["value"])]),Me("div",trt,[W[2]||(W[2]=Me("span",{class:"hint"},"Available columns:",-1)),(xn(!0),Hn(vc,null,po(m.value,ge=>(xn(),Hn("span",{key:ge,class:"avail-chip"},Bi(ge),1))),128))])])):(xn(),Hn("div",irt," Select a calculated column or create a new one "))]))}}),crt=bf(rrt,[["__scopeId","data-v-44b0081f"]]),urt={class:"filter-tab"},ort={class:"filter-header"},srt={class:"monaco-wrapper"},lrt={class:"available-cols"},frt=Kr({__name:"FilterTab",props:{node:{}},emits:["set-filter"],setup(f,{emit:h}){const g=f,k=h,E=Ai(()=>!!g.node.filterExpression);function A(_){k("set-filter",_||void 0)}function m(){k("set-filter",void 0)}return(_,N)=>(xn(),Hn("div",urt,[Me("div",ort,[N[0]||(N[0]=Me("span",{class:"label"},"WHERE clause filter",-1)),E.value?(xn(),Hn("ui5-button",{key:0,design:"Transparent",onClick:m},"Clear")):Kc("",!0)]),Me("div",srt,[Cr(ut(Z1n),{value:f.node.filterExpression||"",language:"sql",options:{minimap:{enabled:!1},lineNumbers:"off",fontSize:12,scrollBeyondLastLine:!1,wordWrap:"on",automaticLayout:!0},theme:"vs",height:"100px",onChange:A},null,8,["value"])]),Me("div",lrt,[N[1]||(N[1]=Me("span",{class:"hint"},"Available columns:",-1)),(xn(!0),Hn(vc,null,po(f.node.outputColumns,L=>(xn(),Hn("span",{key:L.id,class:"avail-chip"},Bi(L.name),1))),128))])]))}}),art=bf(frt,[["__scopeId","data-v-a8cb7f1f"]]),hrt={class:"join-condition-section"},drt={class:"section-header"},brt={class:"conditions-list"},grt={class:"chip-col left"},wrt={class:"chip-op"},prt={class:"chip-col right"},mrt=["onClick"],vrt={key:0,class:"no-conditions"},yrt={key:0,class:"add-form"},krt=["value"],Ert=["value"],Crt=Kr({__name:"JoinConditionSection",props:{node:{},model:{}},emits:["add-condition","remove-condition"],setup(f,{emit:h}){const g=f,k=h,E=cr(!1),A=cr(""),m=cr(""),_=cr("="),N=Ai(()=>{if(g.node.inputs.length<1)return[];const z=g.node.inputs[0].node,W=g.model.dataSources.find(V=>V.id===z);if(W)return W.columns.map(V=>V.name);const ge=g.model.calculationViews.find(V=>V.id===z);return ge?ge.outputColumns.map(V=>V.name):[]}),L=Ai(()=>{if(g.node.inputs.length<2)return[];const z=g.node.inputs[1].node,W=g.model.dataSources.find(V=>V.id===z);if(W)return W.columns.map(V=>V.name);const ge=g.model.calculationViews.find(V=>V.id===z);return ge?ge.outputColumns.map(V=>V.name):[]});function F(){A.value&&m.value&&(k("add-condition",{leftColumn:A.value,rightColumn:m.value,operator:_.value}),A.value="",m.value="",E.value=!1)}function U(z){k("remove-condition",z)}return(z,W)=>{var ge,V,ve;return xn(),Hn("div",hrt,[Me("div",drt,[W[4]||(W[4]=Me("span",null,"Join Conditions",-1)),Me("ui5-button",{design:"Transparent",onClick:W[0]||(W[0]=te=>E.value=!E.value)},"+ Add")]),Me("div",brt,[(xn(!0),Hn(vc,null,po(((ge=f.node.joinConfig)==null?void 0:ge.conditions)??[],(te,_e)=>(xn(),Hn("div",{key:_e,class:"condition-chip"},[Me("span",grt,Bi(te.leftColumn),1),Me("span",wrt,Bi(te.operator),1),Me("span",prt,Bi(te.rightColumn),1),Me("ui5-button",{design:"Transparent",icon:"decline",class:"chip-remove",onClick:we=>U(_e)},null,8,mrt)]))),128)),(ve=(V=f.node.joinConfig)==null?void 0:V.conditions)!=null&&ve.length?Kc("",!0):(xn(),Hn("div",vrt," No join conditions defined "))]),E.value?(xn(),Hn("div",yrt,[Me("ui5-select",{onChange:W[1]||(W[1]=te=>A.value=te.detail.selectedOption.value)},[W[5]||(W[5]=Me("ui5-option",{value:""},"Left column...",-1)),(xn(!0),Hn(vc,null,po(N.value,te=>(xn(),Hn("ui5-option",{key:te,value:te},Bi(te),9,krt))),128))],32),Me("ui5-select",{onChange:W[2]||(W[2]=te=>_.value=te.detail.selectedOption.value)},[...W[6]||(W[6]=[Q1n('=<><=>=!=',6)])],32),Me("ui5-select",{onChange:W[3]||(W[3]=te=>m.value=te.detail.selectedOption.value)},[W[7]||(W[7]=Me("ui5-option",{value:""},"Right column...",-1)),(xn(!0),Hn(vc,null,po(L.value,te=>(xn(),Hn("ui5-option",{key:te,value:te},Bi(te),9,Ert))),128))],32),Me("ui5-button",{design:"Emphasized",onClick:F},"Add")])):Kc("",!0)])}}}),Art=bf(Crt,[["__scopeId","data-v-7eac4a9e"]]),Trt={class:"properties-panel"},Mrt={class:"panel-header"},Srt={level:"H5"},_rt={class:"panel-content"},jrt={key:0},Irt={text:"Properties"},$rt={text:"Columns"},Nrt={text:"Variables"},xrt={text:"Hierarchies"},Prt={text:"Restricted"},Ort={class:"node-actions"},Drt=["value"],Lrt={text:"Mapping"},Frt={text:"Calculated"},Rrt={text:"Filter"},Brt=Kr({__name:"PropertiesPanel",props:{model:{},selectedNodeId:{}},emits:["map-column","unmap-column","map-all","add-join-condition","remove-join-condition","add-calculated-column","remove-calculated-column","update-calculated-column","set-filter","add-variable","remove-variable","update-variable","update-column","add-data-source","add-hierarchy","remove-hierarchy","add-restricted-measure","remove-restricted-measure","rename-node","delete-node"],setup(f,{emit:h}){const g=f,k=h,E=Ai(()=>!g.selectedNodeId||g.selectedNodeId==="__semantics__"?null:g.model.calculationViews.find(_=>_.id===g.selectedNodeId)||null),A=Ai(()=>{if(!g.selectedNodeId||g.selectedNodeId==="__semantics__")return"View Properties";if(E.value){const _=pX[E.value.type];return`${E.value.id} (${_.label})`}return"Properties"}),m=Ai(()=>{var _,N;return((_=E.value)==null?void 0:_.type)==="join"||((N=E.value)==null?void 0:N.type)==="nonEquiJoin"});return(_,N)=>(xn(),Hn("div",Trt,[Me("div",Mrt,[Me("ui5-title",Srt,Bi(A.value),1)]),Me("div",_rt,[!f.selectedNodeId||f.selectedNodeId==="__semantics__"?(xn(),Hn("ui5-tabcontainer",jrt,[Me("ui5-tab",Irt,[Cr(Bnt,{model:f.model},null,8,["model"])]),Me("ui5-tab",$rt,[Cr(ytt,{"logical-model":f.model.logicalModel,onUpdateColumn:N[0]||(N[0]=(L,F,U)=>k("update-column",L,F,U))},null,8,["logical-model"])]),Me("ui5-tab",Nrt,[Cr(rtt,{model:f.model,onAddVariable:N[1]||(N[1]=L=>k("add-variable",L)),onRemoveVariable:N[2]||(N[2]=L=>k("remove-variable",L)),onUpdateVariable:N[3]||(N[3]=(L,F)=>k("update-variable",L,F))},null,8,["model"])]),Me("ui5-tab",xrt,[Cr(Ztt,{"logical-model":f.model.logicalModel,onAddHierarchy:N[4]||(N[4]=L=>k("add-hierarchy",L)),onRemoveHierarchy:N[5]||(N[5]=L=>k("remove-hierarchy",L))},null,8,["logical-model"])]),Me("ui5-tab",Prt,[Cr(Iit,{"logical-model":f.model.logicalModel,onAddRestrictedMeasure:N[6]||(N[6]=L=>k("add-restricted-measure",L)),onRemoveRestrictedMeasure:N[7]||(N[7]=L=>k("remove-restricted-measure",L))},null,8,["logical-model"])])])):E.value?(xn(),Hn(vc,{key:1},[Me("div",Ort,[Me("ui5-input",{value:E.value.id,onChange:N[8]||(N[8]=L=>{var U;const F=(U=L.target.value)==null?void 0:U.trim();F&&F!==E.value.id&&k("rename-node",E.value.id,F)}),class:"node-name-input"},null,40,Drt),Me("ui5-button",{design:"Negative",icon:"delete",onClick:N[9]||(N[9]=L=>k("delete-node",E.value.id))},"Delete")]),m.value?(xn(),Ff(Art,{key:0,node:E.value,model:f.model,onAddCondition:N[10]||(N[10]=L=>k("add-join-condition",E.value.id,L)),onRemoveCondition:N[11]||(N[11]=L=>k("remove-join-condition",E.value.id,L))},null,8,["node","model"])):Kc("",!0),Me("ui5-tabcontainer",null,[Me("ui5-tab",Lrt,[Cr(qit,{node:E.value,model:f.model,onMapColumn:N[12]||(N[12]=L=>k("map-column",E.value.id,L)),onUnmapColumn:N[13]||(N[13]=L=>k("unmap-column",E.value.id,L)),onMapAll:N[14]||(N[14]=()=>k("map-all",E.value.id)),onAddDataSource:N[15]||(N[15]=()=>k("add-data-source",E.value.id))},null,8,["node","model"])]),Me("ui5-tab",Frt,[Cr(crt,{node:E.value,onAddColumn:N[16]||(N[16]=L=>k("add-calculated-column",E.value.id,L)),onRemoveColumn:N[17]||(N[17]=L=>k("remove-calculated-column",E.value.id,L)),onUpdateColumn:N[18]||(N[18]=(L,F)=>k("update-calculated-column",E.value.id,L,F))},null,8,["node"])]),Me("ui5-tab",Rrt,[Cr(art,{node:E.value,onSetFilter:N[19]||(N[19]=L=>k("set-filter",E.value.id,L))},null,8,["node"])])])],64)):Kc("",!0)])]))}}),Jrt=bf(Brt,[["__scopeId","data-v-3b7c84c8"]]),Grt={class:"editor-toolbar"},Hrt=["icon","tooltip"],zrt=["disabled"],qrt=["disabled"],Urt=Kr({__name:"EditorToolbar",props:{canUndo:{type:Boolean},canRedo:{type:Boolean},filePath:{},paletteVisible:{type:Boolean}},emits:["undo","redo","auto-layout","save","save-as","toggle-palette"],setup(f,{emit:h}){const g=h;return(k,E)=>(xn(),Hn("div",Grt,[Me("ui5-button",{design:"Transparent",icon:f.paletteVisible?"close-command-field":"open-command-field",onClick:E[0]||(E[0]=A=>g("toggle-palette")),tooltip:f.paletteVisible?"Hide Node Palette":"Show Node Palette"},null,8,Hrt),E[6]||(E[6]=Me("div",{class:"separator"},null,-1)),Me("ui5-button",{design:"Transparent",icon:"undo",disabled:!f.canUndo,onClick:E[1]||(E[1]=A=>g("undo")),tooltip:"Undo (Ctrl+Z)"},null,8,zrt),Me("ui5-button",{design:"Transparent",icon:"redo",disabled:!f.canRedo,onClick:E[2]||(E[2]=A=>g("redo")),tooltip:"Redo (Ctrl+Y)"},null,8,qrt),E[7]||(E[7]=Me("div",{class:"separator"},null,-1)),Me("ui5-button",{design:"Transparent",icon:"save",onClick:E[3]||(E[3]=A=>g("save")),tooltip:"Save (Ctrl+S)"}),Me("ui5-button",{design:"Transparent",icon:"request",onClick:E[4]||(E[4]=A=>g("save-as")),tooltip:"Save As..."}),E[8]||(E[8]=Me("div",{class:"separator"},null,-1)),Me("ui5-button",{design:"Transparent",icon:"resize",onClick:E[5]||(E[5]=A=>g("auto-layout")),tooltip:"Auto Layout"})]))}}),Vrt=bf(Urt,[["__scopeId","data-v-163b6f76"]]),Xrt={key:0,class:"tab-bar"},Krt=["onClick"],Wrt={class:"tab-title"},Yrt={key:0,class:"dirty-dot"},Qrt=["onClick"],Zrt=Kr({__name:"EditorTabBar",props:{tabs:{},activeTabId:{}},emits:["select-tab","close-tab"],setup(f,{emit:h}){const g=h;function k(E){return E.editor.undoRedo.isDirty.value}return(E,A)=>f.tabs.length>0?(xn(),Hn("div",Xrt,[(xn(!0),Hn(vc,null,po(f.tabs,m=>(xn(),Hn("div",{key:m.id,class:Q1(["tab-item",{active:f.activeTabId===m.id}]),onClick:_=>g("select-tab",m.id)},[Me("span",Wrt,Bi(m.title),1),k(m)?(xn(),Hn("span",Yrt)):Kc("",!0),Me("button",{class:"close-btn",onClick:w2e(_=>g("close-tab",m.id),["stop"])},"×",8,Qrt)],10,Krt))),128))])):Kc("",!0)}}),ect=bf(Zrt,[["__scopeId","data-v-b44a9f94"]]),nct=["open"],tct={class:"dialog-content"},ict={class:"form-row"},rct=["value"],cct={class:"form-row"},uct={class:"form-row"},oct=["value"],sct={class:"form-row"},lct={class:"form-row"},fct=["value"],act=Kr({__name:"CreateCalcViewDialog",props:{open:{type:Boolean},directory:{}},emits:["confirm","cancel"],setup(f,{emit:h}){const g=f,k=h,E=cr(""),A=cr("CUBE"),m=cr(""),_=cr("projection"),N=cr(g.directory||"");No(()=>g.directory,z=>{z&&(N.value=z)});function L(){E.value.trim()&&(k("confirm",{name:E.value.trim(),dataCategory:A.value,description:m.value,initialNode:_.value,directory:N.value||""}),U())}function F(){k("cancel"),U()}function U(){E.value="",A.value="CUBE",m.value="",_.value="projection"}return(z,W)=>(xn(),Hn("ui5-dialog",{open:f.open,"header-text":"Create New Calculation View",onClose:F},[Me("div",tct,[Me("div",ict,[W[5]||(W[5]=Me("ui5-label",{for:"cv-name",required:""},"Name:",-1)),Me("ui5-input",{id:"cv-name",value:E.value,onInput:W[0]||(W[0]=ge=>E.value=ge.target.value),placeholder:"MY_VIEW"},null,40,rct)]),Me("div",cct,[W[7]||(W[7]=Me("ui5-label",{for:"cv-category"},"Data Category:",-1)),Me("ui5-select",{id:"cv-category",onChange:W[1]||(W[1]=ge=>A.value=ge.detail.selectedOption.value)},[...W[6]||(W[6]=[Me("ui5-option",{value:"CUBE",selected:""},"CUBE (measures + dimensions)",-1),Me("ui5-option",{value:"DIMENSION"},"DIMENSION (attributes only)",-1)])],32)]),Me("div",uct,[W[8]||(W[8]=Me("ui5-label",{for:"cv-desc"},"Description:",-1)),Me("ui5-input",{id:"cv-desc",value:m.value,onInput:W[2]||(W[2]=ge=>m.value=ge.target.value),placeholder:"Optional description"},null,40,oct)]),Me("div",sct,[W[10]||(W[10]=Me("ui5-label",{for:"cv-initial"},"Initial Node:",-1)),Me("ui5-select",{id:"cv-initial",onChange:W[3]||(W[3]=ge=>_.value=ge.detail.selectedOption.value)},[...W[9]||(W[9]=[Me("ui5-option",{value:"projection",selected:""},"Projection",-1),Me("ui5-option",{value:"aggregation"},"Aggregation",-1),Me("ui5-option",{value:"join"},"Join",-1),Me("ui5-option",{value:"none"},"None (empty)",-1)])],32)]),Me("div",lct,[W[11]||(W[11]=Me("ui5-label",{for:"cv-dir"},"Save Location:",-1)),Me("ui5-input",{id:"cv-dir",value:N.value,onInput:W[4]||(W[4]=ge=>N.value=ge.target.value),placeholder:"Project directory path"},null,40,fct)])]),Me("div",{slot:"footer",class:"dialog-footer"},[Me("ui5-button",{design:"Emphasized",onClick:L},"Create"),Me("ui5-button",{design:"Transparent",onClick:F},"Cancel")])],40,nct))}}),hct=bf(act,[["__scopeId","data-v-556cc0e4"]]),dct=["open"],bct={class:"picker-content"},gct={class:"source-type-row"},wct=["pressed"],pct=["pressed"],mct={class:"search-row"},vct=["value","placeholder"],yct=["active"],kct={key:0,class:"error-msg"},Ect={key:1,class:"empty-msg"},Cct={key:2,class:"results-list"},Act=["onClick"],Tct={class:"item-name"},Mct={class:"item-schema"},Sct={slot:"footer",class:"dialog-footer"},_ct=["disabled"],jct=Kr({__name:"DataSourcePicker",props:{open:{type:Boolean}},emits:["select","cancel"],setup(f,{emit:h}){const g=h,{execute:k}=XJn(),E=cr("tables"),A=cr(""),m=cr([]),_=cr(null),N=cr(!1),L=cr("");function F(te){var Ve,Bn,Qn,mt;const we=((mt=(Qn=(Bn=(Ve=te.detail)==null?void 0:Ve.selectedItems)==null?void 0:Bn[0])==null?void 0:Qn.textContent)==null?void 0:mt.trim())==="Views"?"views":"tables";we!==E.value&&(E.value=we)}async function U(){if(A.value.trim()){N.value=!0,L.value="",m.value=[],_.value=null;try{if(E.value==="tables"){const te=await k("tables-ui",{table:A.value,limit:50});m.value=te.map(_e=>({schema:_e.SCHEMA_NAME,name:_e.TABLE_NAME}))}else{const te=await k("views-ui",{view:A.value,limit:50});m.value=te.map(_e=>({schema:_e.SCHEMA_NAME,name:_e.VIEW_NAME}))}}catch(te){L.value=te.message||"Search failed"}finally{N.value=!1}}}function z(te){_.value=te}function W(){if(_.value===null)return;const te=m.value[_.value];if(!te)return;const _e={id:te.name,type:E.value==="tables"?"table":"view",schemaName:te.schema,objectName:te.name};g("select",_e),V()}function ge(){g("cancel"),V()}function V(){A.value="",m.value=[],_.value=null,L.value=""}function ve(te){te.key==="Enter"&&U()}return(te,_e)=>(xn(),Hn("ui5-dialog",{open:f.open,"header-text":"Add Data Source",onClose:ge},[Me("div",bct,[Me("div",gct,[Me("ui5-segmented-button",{onSelectionChange:F},[Me("ui5-segmented-button-item",{pressed:E.value==="tables"},"Tables",8,wct),Me("ui5-segmented-button-item",{pressed:E.value==="views"},"Views",8,pct)],32)]),Me("div",mct,[Me("ui5-input",{class:"search-input",value:A.value,placeholder:`Search ${E.value}...`,onInput:_e[0]||(_e[0]=we=>A.value=we.target.value),onKeydown:ve},null,40,vct),Me("ui5-button",{design:"Emphasized",onClick:U},"Search")]),Me("ui5-busy-indicator",{active:N.value,size:"M",class:"results-area"},[L.value?(xn(),Hn("div",kct,Bi(L.value),1)):m.value.length===0&&!N.value?(xn(),Hn("div",Ect," Enter a search term and press Search ")):(xn(),Hn("div",Cct,[(xn(!0),Hn(vc,null,po(m.value,(we,Ve)=>(xn(),Hn("div",{key:`${we.schema}.${we.name}`,class:Q1(["result-item",{selected:_.value===Ve}]),onClick:Bn=>z(Ve)},[Me("span",Tct,Bi(we.name),1),Me("span",Mct,Bi(we.schema),1)],10,Act))),128))]))],8,yct)]),Me("div",Sct,[Me("ui5-button",{design:"Emphasized",disabled:_.value===null,onClick:W},"Add",8,_ct),Me("ui5-button",{design:"Transparent",onClick:ge},"Cancel")])],40,dct))}}),Ict=bf(jct,[["__scopeId","data-v-1adffbd4"]]),$ct={class:"calc-view-editor"},Nct={key:1,class:"empty-state"},xct=Kr({__name:"CalcViewEditor",setup(f){const h=KJn(),g=WJn(),{readProjectFile:k,writeProjectFile:E}=ZJn(),{tabs:A,activeTabId:m,activeTab:_,openTab:N,closeTab:L,forceCloseTab:F,updateTabFilePath:U}=CGn(),z=Ai(()=>{var an;return((an=_.value)==null?void 0:an.editor.model.value)??null}),W=Ai(()=>{var an;return((an=_.value)==null?void 0:an.editor.undoRedo)??null}),ge=Ai(()=>{var an;return((an=_.value)==null?void 0:an.editor.vueFlowNodes.value)??[]}),V=Ai(()=>{var an;return((an=_.value)==null?void 0:an.editor.vueFlowEdges.value)??[]}),ve=cr(null),te=cr(!1),_e=cr(""),we=cr(!1),Ve=cr(null),Bn=cr(localStorage.getItem("calcview-palette-collapsed")==="true"),Qn=cr(Number(localStorage.getItem("calcview-properties-size")||25)),mt=cr(Number(localStorage.getItem("calcview-palette-size")||12));function Dt(){Bn.value=!Bn.value,localStorage.setItem("calcview-palette-collapsed",String(Bn.value))}function hi(an){Bn.value?an.length>=2&&(Qn.value=an[an.length-1].size,localStorage.setItem("calcview-properties-size",String(Qn.value))):an.length>=3&&(mt.value=an[0].size,Qn.value=an[2].size,localStorage.setItem("calcview-palette-size",String(mt.value)),localStorage.setItem("calcview-properties-size",String(Qn.value)))}function Gt(an){ve.value=an.id}function Vt(an){an.source&&an.target&&_.value&&_.value.editor.connectNodes(an.source,an.target)}function Ne(an){an.target!=="__semantics__"&&_.value&&_.value.editor.disconnectNodes(an.source,an.target)}function q(an){_.value&&_.value.editor.addNode(an,{x:200,y:400})}function ce(an){if(!z.value||!_.value)return;const Zn=z.value.calculationViews.find(Lr=>Lr.id===an);if(!Zn)return;const gr=new Set(Zn.outputColumns.map(Lr=>Lr.id)),yr=[];for(const Lr of Zn.inputs){const Lt=z.value.dataSources.find(Ee=>Ee.id===Lr.node);if(Lt)for(const Ee of Lt.columns)gr.has(Ee.name)||yr.push({id:Ee.name,name:Ee.name,dataType:Ee.dataType});const Kn=z.value.calculationViews.find(Ee=>Ee.id===Lr.node);if(Kn)for(const Ee of Kn.outputColumns)gr.has(Ee.id)||yr.push({id:Ee.id,name:Ee.name,dataType:Ee.dataType})}if(yr.length>0){const Lr=_.value.editor.model,Lt=yr.map(Kn=>new e0n(Lr,an,Kn));_.value.editor.undoRedo.push(new n0n(Lt,`Map all columns to ${an}`))}}function cn(an){Ve.value=an,we.value=!0}function Se(an,Zn){_.value&&_.value.editor.renameNode(an,Zn)}function yn(an){_.value&&_.value.editor.removeNode(an),ve.value===an&&(ve.value=null)}function sn(an,Zn){an!=="__semantics__"&&_.value&&_.value.editor.moveNode(an,Zn)}function Ln(an){if(we.value=!1,!_.value||!z.value||!Ve.value)return;z.value.dataSources.find(gr=>gr.id===an.id)||z.value.dataSources.push({id:an.id,type:an.type,schemaName:an.schemaName,objectName:an.objectName,columns:[]});const Zn=z.value.calculationViews.find(gr=>gr.id===Ve.value);Zn&&!Zn.inputs.find(gr=>gr.node===an.id)&&Zn.inputs.push({name:an.id,node:an.id}),Ve.value=null}async function An(){!z.value||!_.value||await $zn(_.value.editor.model,_.value.editor.undoRedo)}function lt(an){L(an)||F(an)}async function ii(){if(!_.value||!z.value)return;const an=_.value.filePath;if(!an){ki();return}const Zn=Ldn(z.value);await E(an,Zn),_.value.editor.undoRedo.markSaved()}async function ki(){if(!_.value||!z.value)return;const an=prompt("Save as (full path):",_.value.filePath||"");if(!an)return;const Zn=Ldn(z.value);await E(an,Zn),U(_.value.id,an),_.value.editor.undoRedo.markSaved()}function Li(an){te.value=!1;const Zn=eGn(an),gr=an.directory?`${an.directory.replace(/\\/g,"/")}/${an.name}.hdbcalculationview`:void 0;N(an.name,gr).editor.loadModel(Cpe(Zn)),g.replace({name:"calcViewEditor"})}function Xt(){te.value=!1,g.replace({name:"calcViewEditor"})}function ni(an){if((an.ctrlKey||an.metaKey)&&an.key==="s"){an.preventDefault(),ii();return}W.value&&((an.ctrlKey||an.metaKey)&&an.key==="z"&&!an.shiftKey?(an.preventDefault(),W.value.undo()):((an.ctrlKey||an.metaKey)&&an.key==="z"&&an.shiftKey||(an.ctrlKey||an.metaKey)&&an.key==="y")&&(an.preventDefault(),W.value.redo()))}return N3(async()=>{var an;if(document.addEventListener("keydown",ni),h.query.file){const Zn=String(h.query.file);try{const{xml:gr}=await k(Zn),yr=((an=Zn.split(/[\\/]/).pop())==null?void 0:an.replace(".hdbcalculationview",""))||"Untitled",Lr=N(yr,Zn);Lr.editor.loadModel(Cpe(gr)),Lr.editor.undoRedo.markSaved()}catch(gr){console.error("Failed to open file:",gr)}g.replace({name:"calcViewEditor"});return}if(h.query.new==="true"){_e.value=String(h.query.dir||""),te.value=!0;return}A.value.length===0&&N("SALES_ANALYSIS").editor.loadModel(Cpe(` - - - - - - SALES - PRODUCTS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -`))}),V1n(()=>{document.removeEventListener("keydown",ni)}),(an,Zn)=>{var gr,yr,Lr;return xn(),Hn("div",$ct,[ut(A).length>0||te.value?(xn(),Hn(vc,{key:0},[Cr(ect,{tabs:ut(A),"active-tab-id":ut(m),onSelectTab:Zn[0]||(Zn[0]=Lt=>m.value=Lt),onCloseTab:lt},null,8,["tabs","active-tab-id"]),z.value&&ge.value.length>0?(xn(),Hn(vc,{key:0},[Cr(Vrt,{"can-undo":((gr=W.value)==null?void 0:gr.canUndo.value)??!1,"can-redo":((yr=W.value)==null?void 0:yr.canRedo.value)??!1,"file-path":(Lr=ut(_))==null?void 0:Lr.filePath,"palette-visible":!Bn.value,onUndo:Zn[1]||(Zn[1]=Lt=>{var Kn;return(Kn=W.value)==null?void 0:Kn.undo()}),onRedo:Zn[2]||(Zn[2]=Lt=>{var Kn;return(Kn=W.value)==null?void 0:Kn.redo()}),onAutoLayout:An,onSave:ii,onSaveAs:ki,onTogglePalette:Dt},null,8,["can-undo","can-redo","file-path","palette-visible"]),Cr(ut(YJn),{class:"editor-splitpanes",onResized:hi},{default:gs(()=>[Bn.value?Kc("",!0):(xn(),Ff(ut(ppe),{key:0,size:mt.value,"min-size":8,"max-size":20},{default:gs(()=>[Cr(Snt,{onAddNode:q})]),_:1},8,["size"])),Cr(ut(ppe),{size:Bn.value?100-Qn.value:100-mt.value-Qn.value},{default:gs(()=>[Cr(knt,{nodes:ge.value,edges:V.value,onNodeClick:Gt,onConnect:Vt,onEdgeRemove:Ne,onNodeDragStop:sn},null,8,["nodes","edges"])]),_:1},8,["size"]),Cr(ut(ppe),{size:Qn.value,"min-size":15,"max-size":50},{default:gs(()=>[Cr(Jrt,{model:z.value,"selected-node-id":ve.value,onMapColumn:Zn[3]||(Zn[3]=(Lt,Kn)=>{var Ee;return(Ee=ut(_))==null?void 0:Ee.editor.mapColumn(Lt,Kn)}),onUnmapColumn:Zn[4]||(Zn[4]=(Lt,Kn)=>{var Ee;return(Ee=ut(_))==null?void 0:Ee.editor.unmapColumn(Lt,Kn)}),onMapAll:ce,onAddDataSource:cn,onAddJoinCondition:Zn[5]||(Zn[5]=(Lt,Kn)=>{var Ee;return(Ee=ut(_))==null?void 0:Ee.editor.addJoinCondition(Lt,Kn)}),onRemoveJoinCondition:Zn[6]||(Zn[6]=(Lt,Kn)=>{var Ee;return(Ee=ut(_))==null?void 0:Ee.editor.removeJoinCondition(Lt,Kn)}),onAddCalculatedColumn:Zn[7]||(Zn[7]=(Lt,Kn)=>{var Ee;return(Ee=ut(_))==null?void 0:Ee.editor.addCalculatedColumn(Lt,Kn)}),onRemoveCalculatedColumn:Zn[8]||(Zn[8]=(Lt,Kn)=>{var Ee;return(Ee=ut(_))==null?void 0:Ee.editor.removeCalculatedColumn(Lt,Kn)}),onUpdateCalculatedColumn:Zn[9]||(Zn[9]=(Lt,Kn,Ee)=>{var xe;return(xe=ut(_))==null?void 0:xe.editor.updateCalculatedColumn(Lt,Kn,Ee)}),onSetFilter:Zn[10]||(Zn[10]=(Lt,Kn)=>{var Ee;return(Ee=ut(_))==null?void 0:Ee.editor.setFilterExpression(Lt,Kn)}),onAddVariable:Zn[11]||(Zn[11]=Lt=>{var Kn;return(Kn=ut(_))==null?void 0:Kn.editor.addVariable(Lt)}),onRemoveVariable:Zn[12]||(Zn[12]=Lt=>{var Kn;return(Kn=ut(_))==null?void 0:Kn.editor.removeVariable(Lt)}),onUpdateVariable:Zn[13]||(Zn[13]=(Lt,Kn)=>{var Ee;return(Ee=ut(_))==null?void 0:Ee.editor.updateVariable(Lt,Kn)}),onUpdateColumn:Zn[14]||(Zn[14]=(Lt,Kn,Ee)=>{var xe;return(xe=ut(_))==null?void 0:xe.editor.updateColumnProperties(Lt,Kn,Ee)}),onAddHierarchy:Zn[15]||(Zn[15]=Lt=>{var Kn;return(Kn=ut(_))==null?void 0:Kn.editor.addHierarchy(Lt)}),onRemoveHierarchy:Zn[16]||(Zn[16]=Lt=>{var Kn;return(Kn=ut(_))==null?void 0:Kn.editor.removeHierarchy(Lt)}),onAddRestrictedMeasure:Zn[17]||(Zn[17]=Lt=>{var Kn;return(Kn=ut(_))==null?void 0:Kn.editor.addRestrictedMeasure(Lt)}),onRemoveRestrictedMeasure:Zn[18]||(Zn[18]=Lt=>{var Kn;return(Kn=ut(_))==null?void 0:Kn.editor.removeRestrictedMeasure(Lt)}),onRenameNode:Se,onDeleteNode:yn},null,8,["model","selected-node-id"])]),_:1},8,["size"])]),_:1})],64)):Kc("",!0)],64)):(xn(),Hn("div",Nct,[...Zn[20]||(Zn[20]=[Me("ui5-title",{level:"H3"},"No Calculation View loaded",-1)])])),Cr(hct,{open:te.value,directory:_e.value,onConfirm:Li,onCancel:Xt},null,8,["open","directory"]),Cr(Ict,{open:we.value,onSelect:Ln,onCancel:Zn[19]||(Zn[19]=Lt=>we.value=!1)},null,8,["open"])])}}}),qct=bf(xct,[["__scopeId","data-v-065800db"]]);export{qct as default}; diff --git a/app/vue/dist/assets/CallProcedure-DYjC5NuE.js b/app/vue/dist/assets/CallProcedure-DYjC5NuE.js deleted file mode 100644 index 7ca05df3..00000000 --- a/app/vue/dist/assets/CallProcedure-DYjC5NuE.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as H,cA as c,co as L,d2 as U,bl as a,bi as r,cU as p,t as v,cB as E,cN as h,bk as f,bo as B,bj as O,cZ as j,cH as I,cW as V,cr as s,bp as z,b8 as F}from"./index-Cmc-xxmd.js";import{u as Y,a as T}from"./useCurrentSchema-BqWYAHf6.js";import{u as q}from"./useDynamicTable-DVsAdjXE.js";import{S as w}from"./SmartTable-BtBFwGU3.js";import"./SuggestionItem-D5k7H1pi.js";import"./Tab-DXA6J-WP.js";import"./MessageStrip-st-aaDs2.js";import"./TableHeaderRow-BwRbRfkI.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./slideUp-BU4b7UJI.js";const K={class:"call-proc-view"},Q={class:"filter-bar"},J={class:"filter-field"},W=["value"],Z=["text"],G={key:0,class:"resolved-schema"},X={class:"filter-field"},ee=["value"],te=["text"],se=["disabled"],ae=["disabled"],oe={key:0,active:"",size:"Medium",class:"loading"},le={key:1,class:"params-section"},ue={class:"params-grid"},re=["value","placeholder","onChange"],ne={key:2,active:"",size:"Medium",class:"loading"},ie={key:3,class:"error"},ce={design:"Negative","hide-close-button":""},de={key:0,class:"scalar-output"},ve={design:"Information","hide-close-button":""},me={key:0,class:"tabs"},pe=["text","selected"],he={key:2,design:"Positive","hide-close-button":""},fe=H({__name:"CallProcedure",setup(_e){const A=j(),{execute:$}=V(),d=c(A.query.schema||"**CURRENT_SCHEMA**"),i=c(A.query.procedure||""),S=c(!1),b=c(!1),m=c(""),P=T("schemas-ui","SCHEMA_NAME"),R=T("procedures-ui","PROCEDURE_NAME"),{resolvedSchema:x}=Y(),_=c([]),g=c({}),M=c([]),y=c({}),u=I([]),C=c(!1);async function k(){if(i.value){b.value=!0,m.value="",_.value=[],g.value={};try{await fetch("/",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({schema:d.value,procedure:i.value})});const o=await fetch("/hana/callProcedure/parameters/");if(!o.ok)throw new Error(`API error: ${o.status}`);const e=(await o.json()).parameters||[];_.value=e.filter(n=>!n.TABLE_TYPE_NAME&&n.PARAMETER_TYPE==="IN");const l={};_.value.forEach(n=>{l[n.PARAMETER_NAME]=""}),g.value=l}catch(o){m.value=o.message}finally{b.value=!1}}}async function D(){S.value=!0,m.value="",C.value=!1,M.value=[],u.value=[],y.value={};try{const o={schema:d.value,procedure:i.value,...g.value},t=await $("callProcedure-ui",o);t.outputScalar&&(y.value=t.outputScalar);const e=[];for(const l of Object.keys(t)){if(l==="outputScalar")continue;const n=t[l];Array.isArray(n)&&n.length>0&&e.push(n)}M.value=e,u.value=e.map(()=>q()),e.forEach((l,n)=>{u.value[n].setData(l)}),C.value=!0}catch(o){m.value=o.message}finally{S.value=!1}}function N(o,t){const e=u.value[o];e&&(t==="excel"?e.exportExcel(`${i.value}_result${o+1}.xlsx`):e.exportCsv(`${i.value}_result${o+1}.csv`))}return L(()=>{i.value&&k()}),U(()=>A.query,o=>{o.procedure&&(i.value=o.procedure,d.value=o.schema||"**CURRENT_SCHEMA**",k())}),(o,t)=>(s(),a("div",K,[t[10]||(t[10]=r("ui5-title",{level:"H3"},"Call Procedure",-1)),r("div",Q,[r("div",J,[t[6]||(t[6]=r("ui5-label",{for:"schema"},"Schema:",-1)),r("ui5-input",{id:"schema",placeholder:"Schema",value:d.value,"show-suggestions":"",filter:"Contains",onChange:t[0]||(t[0]=e=>d.value=e.target.value),onFocus:t[1]||(t[1]=e=>p(P).ensureLoaded({limit:1e3,schema:"*"})),class:"filter-input"},[(s(!0),a(v,null,E(p(P).items.value,e=>(s(),a("ui5-suggestion-item",{key:e,text:e},null,8,Z))),128))],40,W),d.value==="**CURRENT_SCHEMA**"&&p(x)?(s(),a("span",G,h(p(x)),1)):f("",!0)]),r("div",X,[t[7]||(t[7]=r("ui5-label",{for:"procedure"},"Procedure:",-1)),r("ui5-input",{id:"procedure",placeholder:"Procedure name",value:i.value,"show-suggestions":"",filter:"Contains",onChange:t[2]||(t[2]=e=>i.value=e.target.value),onFocus:t[3]||(t[3]=e=>p(R).ensureLoaded({schema:d.value,procedure:"*",limit:1e3})),class:"filter-input-wide"},[(s(!0),a(v,null,E(p(R).items.value,e=>(s(),a("ui5-suggestion-item",{key:e,text:e},null,8,te))),128))],40,ee)]),r("ui5-button",{design:"Default",icon:"detail-view",disabled:!i.value,onClick:k,class:"execute-btn"},"Load Parameters",8,se),r("ui5-button",{design:"Emphasized",icon:"play",disabled:!i.value,onClick:D,class:"execute-btn"},"Execute",8,ae)]),b.value?(s(),a("ui5-busy-indicator",oe)):f("",!0),_.value.length>0?(s(),a("div",le,[t[8]||(t[8]=r("ui5-title",{level:"H5"},"Input Parameters",-1)),r("div",ue,[(s(!0),a(v,null,E(_.value,e=>(s(),a("div",{key:e.PARAMETER_NAME,class:"param-field"},[r("ui5-label",null,h(e.PARAMETER_NAME)+" ("+h(e.DATA_TYPE_NAME)+")",1),r("ui5-input",{value:g.value[e.PARAMETER_NAME],placeholder:e.IS_NULLABLE==="TRUE"?"Optional":"Required",onChange:l=>g.value[e.PARAMETER_NAME]=l.target.value},null,40,re)]))),128))])])):f("",!0),S.value?(s(),a("ui5-busy-indicator",ne)):m.value?(s(),a("div",ie,[r("ui5-message-strip",ce,h(m.value),1)])):C.value?(s(),a(v,{key:4},[Object.keys(y.value).length>0?(s(),a("div",de,[r("ui5-message-strip",ve,[t[9]||(t[9]=B(" Output Scalars: ",-1)),(s(!0),a(v,null,E(y.value,(e,l)=>(s(),a("span",{key:l,class:"scalar-item"},h(l)+"="+h(e),1))),128))])])):f("",!0),u.value.length>0?(s(),a(v,{key:1},[u.value.length>1?(s(),a("ui5-tabcontainer",me,[(s(!0),a(v,null,E(u.value,(e,l)=>(s(),a("ui5-tab",{key:l,text:`Result Set ${l+1}`,selected:l===0},[z(w,{title:`Result Set ${l+1} (${e.totalCount.value})`,columns:e.columns.value,data:e.displayData.value,"sort-key":e.sortKey.value,"sort-dir":e.sortDir.value,"row-count":e.rowCount.value,"total-count":e.totalCount.value,onSort:e.toggleSort,onSearch:n=>e.searchQuery.value=n,onExport:n=>N(l,n)},null,8,["title","columns","data","sort-key","sort-dir","row-count","total-count","onSort","onSearch","onExport"])],8,pe))),128))])):(s(),O(w,{key:1,title:`Results (${u.value[0].totalCount.value})`,columns:u.value[0].columns.value,data:u.value[0].displayData.value,"sort-key":u.value[0].sortKey.value,"sort-dir":u.value[0].sortDir.value,"row-count":u.value[0].rowCount.value,"total-count":u.value[0].totalCount.value,onSort:u.value[0].toggleSort,onSearch:t[4]||(t[4]=e=>u.value[0].searchQuery.value=e),onExport:t[5]||(t[5]=e=>N(0,e))},null,8,["title","columns","data","sort-key","sort-dir","row-count","total-count","onSort"]))],64)):Object.keys(y.value).length===0?(s(),a("ui5-message-strip",he,"Procedure executed successfully (no result sets returned)")):f("",!0)],64)):f("",!0)]))}}),xe=F(fe,[["__scopeId","data-v-bb938bf4"]]);export{xe as default}; diff --git a/app/vue/dist/assets/CardHeader-D25i9-9b.js b/app/vue/dist/assets/CardHeader-D25i9-9b.js deleted file mode 100644 index de5363a3..00000000 --- a/app/vue/dist/assets/CardHeader-D25i9-9b.js +++ /dev/null @@ -1,3 +0,0 @@ -import{bZ as r,B as R,b_ as f,bB as b,bv as x,bu as y,cG as n,br as m,bN as w,c5 as T,d9 as A,am as C,a as D,c as E,b as L,bf as k,c1 as B,bD as I,e as O,d as F,f as z,bd as $,A as g}from"./index-Cmc-xxmd.js";function H(){return r("div",{part:"root",role:"region",class:{"ui5-card-root":!0,"ui5-card--interactive":this._hasHeader&&this.header[0].interactive,"ui5-card--nocontent":!this.content.length},"aria-label":this._getAriaLabel,children:r(R,{id:`${this._id}-busyIndicator`,delay:this.loadingDelay,active:this.loading,class:"ui5-card-busy-indicator",children:f("div",{class:"ui5-card-inner",children:[this._hasHeader&&r("div",{class:"ui5-card-header-root",children:r("slot",{name:"header"})}),r("div",{role:"group","aria-label":this._ariaCardContentLabel,part:"content",children:r("slot",{})})]})})})}b("@ui5/webcomponents-theming","sap_horizon",async()=>x);b("@ui5/webcomponents","sap_horizon",async()=>y,"host");const j=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block;width:100%}.ui5-card-root{width:100%;height:100%;color:var(--sapGroup_TitleTextColor);background:var(--sapTile_Background);box-shadow:var(--_ui5_card_box_shadow);border-radius:var(--_ui5_card_border-radius);border:var(--_ui5_card_border);overflow:hidden;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);box-sizing:border-box}.ui5-card-busy-indicator{width:100%;height:100%;border-radius:var(--_ui5_card_border-radius)}.ui5-card-inner{width:100%;height:100%}.ui5-card-root.ui5-card--interactive:hover{box-shadow:var(--_ui5_card_hover_box_shadow)}.ui5-card-root.ui5-card--interactive:active{box-shadow:var(--_ui5_card_box_shadow)}.ui5-card-root.ui5-card--nocontent{height:auto}.ui5-card-root.ui5-card--nocontent .ui5-card-header-root{border-bottom:none}.ui5-card--nocontent ::slotted([ui5-card-header]){--_ui5_card_header_focus_bottom_radius: var(--_ui5_card_header_focus_radius)}.ui5-card-root .ui5-card-header-root{border-bottom:var(--_ui5_card_header_border)} -`;var h=function(c,e,t,i){var l=arguments.length,a=l<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(c,e,t,i);else for(var _=c.length-1;_>=0;_--)(u=c[_])&&(a=(l<3?u(a):l>3?u(e,t,a):u(e,t))||a);return l>3&&a&&Object.defineProperty(e,t,a),a},v;let d=v=class extends C{constructor(){super(...arguments),this.loading=!1,this.loadingDelay=1e3}get _hasHeader(){return!!this.header.length}get _getAriaLabel(){const e=D(this),t=e?` ${e}`:"";return v.i18nBundle.getText(E)+t}get _ariaCardContentLabel(){return v.i18nBundle.getText(L)}};h([n()],d.prototype,"accessibleName",void 0);h([n()],d.prototype,"accessibleNameRef",void 0);h([m({type:HTMLElement,default:!0})],d.prototype,"content",void 0);h([m({type:HTMLElement,invalidateOnChildChange:!0})],d.prototype,"header",void 0);h([n({type:Boolean})],d.prototype,"loading",void 0);h([n({type:Number})],d.prototype,"loadingDelay",void 0);h([w("@ui5/webcomponents")],d,"i18nBundle",void 0);d=v=h([T({tag:"ui5-card",languageAware:!0,renderer:A,template:H,styles:j})],d);d.define();function N(){return f("div",{id:`${this._id}--header`,class:{"ui5-card-header":!0,"ui5-card-header--interactive":this.interactive,"ui5-card-header--active":this.interactive&&this._headerActive,"ui5-card-header-ff":k()},part:"root",onClick:this._click,onKeyDown:this._keydown,onKeyUp:this._keyup,children:[f("div",{class:"ui5-card-header-focusable-element","aria-labelledby":this.ariaLabelledBy,"aria-roledescription":this.ariaRoleDescription,role:this.ariaRoleFocusableElement,"data-sap-focus-ref":!0,tabindex:0,children:[this.hasAvatar&&r("div",{id:`${this._id}-avatar`,class:"ui5-card-header-avatar","aria-label":this.ariaCardAvatarLabel,children:r("slot",{name:"avatar"})}),f("div",{class:"ui5-card-header-text",children:[f("div",{class:"ui5-card-header-first-line",children:[this.titleText&&r("div",{id:`${this._id}-title`,class:"ui5-card-header-title",part:"title",role:"heading","aria-level":3,children:this.titleText}),this.additionalText&&r("div",{class:"ui5-card-header-additionalText",children:r("span",{id:`${this._id}-additionalText`,part:"additional-text",dir:"auto",children:this.additionalText})})]}),this.subtitleText&&r("div",{id:`${this._id}-subtitle`,class:"ui5-card-header-subtitle",part:"subtitle",children:this.subtitleText})]})]}),this.hasAction&&r("div",{class:"ui5-card-header-action",onFocusIn:this._actionsFocusin,onFocusOut:this._actionsFocusout,children:r("slot",{name:"action"})})]})}b("@ui5/webcomponents-theming","sap_horizon",async()=>x);b("@ui5/webcomponents","sap_horizon",async()=>y,"host");const P=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}.ui5-card-header{position:relative;display:flex;align-items:center;padding:var(--_ui5_card_header_padding);outline:none}:host([subtitleText]) .ui5-card-header{align-items:flex-start}:host([desktop]) .ui5-card-header.ui5-card-header-ff:not(.ui5-card-header-hide-focus):focus-within:before,.ui5-card-header.ui5-card-header-ff:not(.ui5-card-header-hide-focus):focus-visible:before{outline:none;content:"";position:absolute;border:var(--_ui5_card_header_focus_border);pointer-events:none;top:var(--_ui5_card_header_focus_offset);left:var(--_ui5_card_header_focus_offset);right:var(--_ui5_card_header_focus_offset);bottom:var(--_ui5_card_header_focus_offset);border-top-left-radius:var(--_ui5_card_header_focus_radius);border-top-right-radius:var(--_ui5_card_header_focus_radius);border-bottom-left-radius:var(--_ui5_card_header_focus_bottom_radius);border-bottom-right-radius:var(--_ui5_card_header_focus_bottom_radius)}:host([desktop]) .ui5-card-header:not(.ui5-card-header-ff):not(.ui5-card-header-hide-focus):has(.ui5-card-header-focusable-element:focus):before,.ui5-card-header:not(.ui5-card-header-ff):not(.ui5-card-header-hide-focus):has(.ui5-card-header-focusable-element:focus-visible):before{outline:none;content:"";position:absolute;border:var(--_ui5_card_header_focus_border);pointer-events:none;top:var(--_ui5_card_header_focus_offset);left:var(--_ui5_card_header_focus_offset);right:var(--_ui5_card_header_focus_offset);bottom:var(--_ui5_card_header_focus_offset);border-top-left-radius:var(--_ui5_card_header_focus_radius);border-top-right-radius:var(--_ui5_card_header_focus_radius);border-bottom-left-radius:var(--_ui5_card_header_focus_bottom_radius);border-bottom-right-radius:var(--_ui5_card_header_focus_bottom_radius)}.ui5-card-header-focusable-element{outline:none}.ui5-card-header-focusable-element{display:inherit;align-items:inherit;flex:1;min-width:0}.ui5-card-header.ui5-card-header--interactive:hover{cursor:pointer;background:var(--_ui5_card_header_hover_bg)}.ui5-card-header.ui5-card-header--active,.ui5-card-header.ui5-card-header--interactive:active{background:var(--_ui5_card_header_active_bg)}.ui5-card-header .ui5-card-header-text{flex:1;min-width:0;pointer-events:none}.ui5-card-header-first-line{display:flex;flex-flow:row;justify-content:space-between}.ui5-card-header-additionalText{flex:none}.ui5-card-header .ui5-card-header-avatar{height:3rem;width:3rem;display:flex;align-items:center;justify-content:center;margin-inline-end:.75rem;pointer-events:none;align-self:flex-start}::slotted([ui5-icon]){width:1.5rem;height:1.5rem;color:var(--sapTile_IconColor)}::slotted(img[slot="avatar"]){width:100%;height:100%;border-radius:50%}.ui5-card-header .ui5-card-header-additionalText{display:inline-block;font-family:var(--sapFontFamily);font-size:var(--sapFontSmallSize);color:var(--sapTile_TextColor);text-align:left;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;vertical-align:middle;margin-inline-start:1rem;margin-block-start:.125rem}.ui5-card-header .ui5-card-header-text .ui5-card-header-title{font-family:var(--_ui5_card_header_title_font_family);font-size:var(--_ui5_card_header_title_font_size);font-weight:var(--_ui5_card_header_title_font_weight);color:var(--sapTile_TitleTextColor);max-height:3.5rem;align-self:flex-end}.ui5-card-header .ui5-card-header-text .ui5-card-header-subtitle{font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;color:var(--sapTile_TextColor);margin-top:var(--_ui5_card_header_subtitle_margin_top)}.ui5-card-header .ui5-card-header-text .ui5-card-header-title,.ui5-card-header .ui5-card-header-text .ui5-card-header-subtitle{text-align:start;text-overflow:ellipsis;white-space:normal;word-wrap:break-word;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;max-width:100%}.ui5-card-header .ui5-card-header-text .ui5-card-header-title{-webkit-line-clamp:3}.ui5-card-header-action{display:flex;padding-inline-start:1rem;align-self:flex-start} -`;var s=function(c,e,t,i){var l=arguments.length,a=l<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(c,e,t,i);else for(var _=c.length-1;_>=0;_--)(u=c[_])&&(a=(l<3?u(a):l>3?u(e,t,a):u(e,t))||a);return l>3&&a&&Object.defineProperty(e,t,a),a},p;let o=p=class extends C{constructor(){super(...arguments),this.interactive=!1,this._ariaLevel=3,this._headerActive=!1}onEnterDOM(){I()&&this.setAttribute("desktop","")}get _root(){return this.shadowRoot.querySelector(".ui5-card-header")}get ariaRoleDescription(){return this.interactive?p.i18nBundle.getText(O):p.i18nBundle.getText(F)}get ariaRoleFocusableElement(){return this.interactive?"button":"group"}get ariaCardAvatarLabel(){return p.i18nBundle.getText(z)}get ariaLabelledBy(){const e=[];return this.titleText&&e.push(`${this._id}-title`),this.subtitleText&&e.push(`${this._id}-subtitle`),this.additionalText&&e.push(`${this._id}-additionalText`),this.hasAvatar&&e.push(`${this._id}-avatar`),e.length!==0?e.join(" "):void 0}get hasAvatar(){return!!this.avatar.length}get hasAction(){return!!this.action.length}_actionsFocusin(){this._root.classList.add("ui5-card-header-hide-focus")}_actionsFocusout(){this._root.classList.remove("ui5-card-header-hide-focus")}_click(e){e.stopImmediatePropagation(),this.interactive&&this._root.contains(e.target)&&this.fireDecoratorEvent("click")}_keydown(e){if(!this.interactive||!this._root.contains(e.target))return;const t=$(e),i=g(e);if(this._headerActive=t||i,t){this.fireDecoratorEvent("click");return}i&&e.preventDefault()}_keyup(e){if(!this.interactive||!this._root.contains(e.target))return;const t=g(e);this._headerActive=!1,t&&this.fireDecoratorEvent("click")}};s([n()],o.prototype,"titleText",void 0);s([n()],o.prototype,"subtitleText",void 0);s([n()],o.prototype,"additionalText",void 0);s([n({type:Boolean})],o.prototype,"interactive",void 0);s([n({type:Number})],o.prototype,"_ariaLevel",void 0);s([n({type:Boolean,noAttribute:!0})],o.prototype,"_headerActive",void 0);s([m()],o.prototype,"avatar",void 0);s([m()],o.prototype,"action",void 0);s([w("@ui5/webcomponents")],o,"i18nBundle",void 0);o=p=s([T({tag:"ui5-card-header",languageAware:!0,renderer:A,template:N,styles:P}),B("click",{bubbles:!0})],o);o.define(); diff --git a/app/vue/dist/assets/Certificates-bkc6AR9l.js b/app/vue/dist/assets/Certificates-bkc6AR9l.js deleted file mode 100644 index 3a67794c..00000000 --- a/app/vue/dist/assets/Certificates-bkc6AR9l.js +++ /dev/null @@ -1 +0,0 @@ -import{D as t}from"./DynamicTableView-BgX-JfYu.js";import{bx as e,bj as i,cr as r}from"./index-Cmc-xxmd.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const x=e({__name:"Certificates",setup(o){return(p,m)=>(r(),i(t,{title:"Certificates",endpoint:"certificates-ui",filters:[]}))}});export{x as default}; diff --git a/app/vue/dist/assets/CodeBlock-D3rHmyOE.js b/app/vue/dist/assets/CodeBlock-D3rHmyOE.js deleted file mode 100644 index f64db692..00000000 --- a/app/vue/dist/assets/CodeBlock-D3rHmyOE.js +++ /dev/null @@ -1,3 +0,0 @@ -import{g as Kt}from"./_commonjsHelpers-Cpj98o6Y.js";import{bx as qt,co as Xt,d2 as Yt,bl as Vt,bi as he,cA as ze,cr as Zt,b8 as Jt}from"./index-Cmc-xxmd.js";var Re,Fe;function Qt(){if(Fe)return Re;Fe=1;function A(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const r=e[t],u=typeof r;(u==="object"||u==="function")&&!Object.isFrozen(r)&&A(r)}),e}class R{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function I(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function O(e,...t){const r=Object.create(null);for(const u in e)r[u]=e[u];return t.forEach(function(u){for(const b in u)r[b]=u[b]}),r}const W="",G=e=>!!e.scope,z=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const r=e.split(".");return[`${t}${r.shift()}`,...r.map((u,b)=>`${u}${"_".repeat(b+1)}`)].join(" ")}return`${t}${e}`};class Q{constructor(t,r){this.buffer="",this.classPrefix=r.classPrefix,t.walk(this)}addText(t){this.buffer+=I(t)}openNode(t){if(!G(t))return;const r=z(t.scope,{prefix:this.classPrefix});this.span(r)}closeNode(t){G(t)&&(this.buffer+=W)}value(){return this.buffer}span(t){this.buffer+=``}}const ee=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class q{constructor(){this.rootNode=ee(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const r=ee({scope:t});this.add(r),this.stack.push(r)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,r){return typeof r=="string"?t.addText(r):r.children&&(t.openNode(r),r.children.forEach(u=>this._walk(t,u)),t.closeNode(r)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(r=>typeof r=="string")?t.children=[t.children.join("")]:t.children.forEach(r=>{q._collapse(r)}))}}class te extends q{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,r){const u=t.root;r&&(u.scope=`language:${r}`),this.add(u)}toHTML(){return new Q(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function P(e){return e?typeof e=="string"?e:e.source:null}function ne(e){return C("(?=",e,")")}function re(e){return C("(?:",e,")*")}function pe(e){return C("(?:",e,")?")}function C(...e){return e.map(r=>P(r)).join("")}function de(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function X(...e){return"("+(de(e).capture?"":"?:")+e.map(u=>P(u)).join("|")+")"}function Y(e){return new RegExp(e.toString()+"|").exec("").length-1}function _e(e,t){const r=e&&e.exec(t);return r&&r.index===0}const be=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function m(e,{joinWith:t}){let r=0;return e.map(u=>{r+=1;const b=r;let E=P(u),o="";for(;E.length>0;){const s=be.exec(E);if(!s){o+=E;break}o+=E.substring(0,s.index),E=E.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?o+="\\"+String(Number(s[1])+b):(o+=s[0],s[0]==="("&&r++)}return o}).map(u=>`(${u})`).join(t)}const H=/\b\B/,ie="[a-zA-Z]\\w*",V="[a-zA-Z_]\\w*",D="\\b\\d+(\\.\\d+)?",Se="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",me="\\b(0b[01]+)",qe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Xe=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=C(t,/.*\b/,e.binary,/\b.*/)),O({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(r,u)=>{r.index!==0&&u.ignoreMatch()}},e)},Z={begin:"\\\\[\\s\\S]",relevance:0},Ye={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Z]},Ve={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Z]},Ze={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},se=function(e,t,r={}){const u=O({scope:"comment",begin:e,end:t,contains:[]},r);u.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const b=X("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return u.contains.push({begin:C(/[ ]+/,"(",b,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),u},Je=se("//","$"),Qe=se("/\\*","\\*/"),et=se("#","$"),tt={scope:"number",begin:D,relevance:0},nt={scope:"number",begin:Se,relevance:0},rt={scope:"number",begin:me,relevance:0},it={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Z,{begin:/\[/,end:/\]/,relevance:0,contains:[Z]}]},st={scope:"title",begin:ie,relevance:0},ot={scope:"title",begin:V,relevance:0},ct={begin:"\\.\\s*"+V,relevance:0};var oe=Object.freeze({__proto__:null,APOS_STRING_MODE:Ye,BACKSLASH_ESCAPE:Z,BINARY_NUMBER_MODE:rt,BINARY_NUMBER_RE:me,COMMENT:se,C_BLOCK_COMMENT_MODE:Qe,C_LINE_COMMENT_MODE:Je,C_NUMBER_MODE:nt,C_NUMBER_RE:Se,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(t,r)=>{r.data._beginMatch=t[1]},"on:end":(t,r)=>{r.data._beginMatch!==t[1]&&r.ignoreMatch()}})},HASH_COMMENT_MODE:et,IDENT_RE:ie,MATCH_NOTHING_RE:H,METHOD_GUARD:ct,NUMBER_MODE:tt,NUMBER_RE:D,PHRASAL_WORDS_MODE:Ze,QUOTE_STRING_MODE:Ve,REGEXP_MODE:it,RE_STARTERS_RE:qe,SHEBANG:Xe,TITLE_MODE:st,UNDERSCORE_IDENT_RE:V,UNDERSCORE_TITLE_MODE:ot});function at(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function lt(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function ut(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=at,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function gt(e,t){Array.isArray(e.illegal)&&(e.illegal=X(...e.illegal))}function ft(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function ht(e,t){e.relevance===void 0&&(e.relevance=1)}const pt=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const r=Object.assign({},e);Object.keys(e).forEach(u=>{delete e[u]}),e.keywords=r.keywords,e.begin=C(r.beforeMatch,ne(r.begin)),e.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},e.relevance=0,delete r.beforeMatch},dt=["of","and","for","in","not","or","if","then","parent","list","value"],_t="keyword";function Ne(e,t,r=_t){const u=Object.create(null);return typeof e=="string"?b(r,e.split(" ")):Array.isArray(e)?b(r,e):Object.keys(e).forEach(function(E){Object.assign(u,Ne(e[E],t,E))}),u;function b(E,o){t&&(o=o.map(s=>s.toLowerCase())),o.forEach(function(s){const l=s.split("|");u[l[0]]=[E,bt(l[0],l[1])]})}}function bt(e,t){return t?Number(t):Et(e)?0:1}function Et(e){return dt.includes(e.toLowerCase())}const ke={},U=e=>{console.error(e)},Te=(e,...t)=>{console.log(`WARN: ${e}`,...t)},F=(e,t)=>{ke[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),ke[`${e}/${t}`]=!0)},ce=new Error;function Ae(e,t,{key:r}){let u=0;const b=e[r],E={},o={};for(let s=1;s<=t.length;s++)o[s+u]=b[s],E[s+u]=!0,u+=Y(t[s-1]);e[r]=o,e[r]._emit=E,e[r]._multi=!0}function yt(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw U("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),ce;if(typeof e.beginScope!="object"||e.beginScope===null)throw U("beginScope must be object"),ce;Ae(e,e.begin,{key:"beginScope"}),e.begin=m(e.begin,{joinWith:""})}}function wt(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw U("skip, excludeEnd, returnEnd not compatible with endScope: {}"),ce;if(typeof e.endScope!="object"||e.endScope===null)throw U("endScope must be object"),ce;Ae(e,e.end,{key:"endScope"}),e.end=m(e.end,{joinWith:""})}}function xt(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Mt(e){xt(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),yt(e),wt(e)}function vt(e){function t(o,s){return new RegExp(P(o),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(s?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,s]),this.matchAt+=Y(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(l=>l[1]);this.matcherRe=t(m(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(s);if(!l)return null;const x=l.findIndex((J,ye)=>ye>0&&J!==void 0),y=this.matchIndexes[x];return l.splice(0,x),Object.assign(l,y)}}class u{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const l=new r;return this.rules.slice(s).forEach(([x,y])=>l.addRule(x,y)),l.compile(),this.multiRegexes[s]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,l){this.rules.push([s,l]),l.type==="begin"&&this.count++}exec(s){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let x=l.exec(s);if(this.resumingScanAtSamePosition()&&!(x&&x.index===this.lastIndex)){const y=this.getMatcher(0);y.lastIndex=this.lastIndex+1,x=y.exec(s)}return x&&(this.regexIndex+=x.position+1,this.regexIndex===this.count&&this.considerAll()),x}}function b(o){const s=new u;return o.contains.forEach(l=>s.addRule(l.begin,{rule:l,type:"begin"})),o.terminatorEnd&&s.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&s.addRule(o.illegal,{type:"illegal"}),s}function E(o,s){const l=o;if(o.isCompiled)return l;[lt,ft,Mt,pt].forEach(y=>y(o,s)),e.compilerExtensions.forEach(y=>y(o,s)),o.__beforeBegin=null,[ut,gt,ht].forEach(y=>y(o,s)),o.isCompiled=!0;let x=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),x=o.keywords.$pattern,delete o.keywords.$pattern),x=x||/\w+/,o.keywords&&(o.keywords=Ne(o.keywords,e.case_insensitive)),l.keywordPatternRe=t(x,!0),s&&(o.begin||(o.begin=/\B|\b/),l.beginRe=t(l.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(l.endRe=t(l.end)),l.terminatorEnd=P(l.end)||"",o.endsWithParent&&s.terminatorEnd&&(l.terminatorEnd+=(o.end?"|":"")+s.terminatorEnd)),o.illegal&&(l.illegalRe=t(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(y){return Ot(y==="self"?o:y)})),o.contains.forEach(function(y){E(y,l)}),o.starts&&E(o.starts,s),l.matcher=b(l),l}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=O(e.classNameAliases||{}),E(e)}function Ie(e){return e?e.endsWithParent||Ie(e.starts):!1}function Ot(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return O(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:Ie(e)?O(e,{starts:e.starts?O(e.starts):null}):Object.isFrozen(e)?O(e):e}var Rt="11.11.1";class St extends Error{constructor(t,r){super(t),this.name="HTMLInjectionError",this.html=r}}const Ee=I,Ce=O,De=Symbol("nomatch"),mt=7,Be=function(e){const t=Object.create(null),r=Object.create(null),u=[];let b=!0;const E="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:te};function l(n){return s.noHighlightRe.test(n)}function x(n){let a=n.className+" ";a+=n.parentNode?n.parentNode.className:"";const h=s.languageDetectRe.exec(a);if(h){const d=L(h[1]);return d||(Te(E.replace("{}",h[1])),Te("Falling back to no-highlight mode for this block.",n)),d?h[1]:"no-highlight"}return a.split(/\s+/).find(d=>l(d)||L(d))}function y(n,a,h){let d="",w="";typeof a=="object"?(d=n,h=a.ignoreIllegals,w=a.language):(F("10.7.0","highlight(lang, code, ...args) has been deprecated."),F("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),w=n,d=a),h===void 0&&(h=!0);const N={code:d,language:w};le("before:highlight",N);const j=N.result?N.result:J(N.language,N.code,h);return j.code=N.code,le("after:highlight",j),j}function J(n,a,h,d){const w=Object.create(null);function N(i,c){return i.keywords[c]}function j(){if(!g.keywords){M.addText(_);return}let i=0;g.keywordPatternRe.lastIndex=0;let c=g.keywordPatternRe.exec(_),f="";for(;c;){f+=_.substring(i,c.index);const p=T.case_insensitive?c[0].toLowerCase():c[0],v=N(g,p);if(v){const[B,zt]=v;if(M.addText(f),f="",w[p]=(w[p]||0)+1,w[p]<=mt&&(fe+=zt),B.startsWith("_"))f+=c[0];else{const Ft=T.classNameAliases[B]||B;k(c[0],Ft)}}else f+=c[0];i=g.keywordPatternRe.lastIndex,c=g.keywordPatternRe.exec(_)}f+=_.substring(i),M.addText(f)}function ue(){if(_==="")return;let i=null;if(typeof g.subLanguage=="string"){if(!t[g.subLanguage]){M.addText(_);return}i=J(g.subLanguage,_,!0,Ge[g.subLanguage]),Ge[g.subLanguage]=i._top}else i=we(_,g.subLanguage.length?g.subLanguage:null);g.relevance>0&&(fe+=i.relevance),M.__addSublanguage(i._emitter,i.language)}function S(){g.subLanguage!=null?ue():j(),_=""}function k(i,c){i!==""&&(M.startScope(c),M.addText(i),M.endScope())}function He(i,c){let f=1;const p=c.length-1;for(;f<=p;){if(!i._emit[f]){f++;continue}const v=T.classNameAliases[i[f]]||i[f],B=c[f];v?k(B,v):(_=B,j(),_=""),f++}}function Ue(i,c){return i.scope&&typeof i.scope=="string"&&M.openNode(T.classNameAliases[i.scope]||i.scope),i.beginScope&&(i.beginScope._wrap?(k(_,T.classNameAliases[i.beginScope._wrap]||i.beginScope._wrap),_=""):i.beginScope._multi&&(He(i.beginScope,c),_="")),g=Object.create(i,{parent:{value:g}}),g}function $e(i,c,f){let p=_e(i.endRe,f);if(p){if(i["on:end"]){const v=new R(i);i["on:end"](c,v),v.isMatchIgnored&&(p=!1)}if(p){for(;i.endsParent&&i.parent;)i=i.parent;return i}}if(i.endsWithParent)return $e(i.parent,c,f)}function Ht(i){return g.matcher.regexIndex===0?(_+=i[0],1):(Oe=!0,0)}function Ut(i){const c=i[0],f=i.rule,p=new R(f),v=[f.__beforeBegin,f["on:begin"]];for(const B of v)if(B&&(B(i,p),p.isMatchIgnored))return Ht(c);return f.skip?_+=c:(f.excludeBegin&&(_+=c),S(),!f.returnBegin&&!f.excludeBegin&&(_=c)),Ue(f,i),f.returnBegin?0:c.length}function $t(i){const c=i[0],f=a.substring(i.index),p=$e(g,i,f);if(!p)return De;const v=g;g.endScope&&g.endScope._wrap?(S(),k(c,g.endScope._wrap)):g.endScope&&g.endScope._multi?(S(),He(g.endScope,i)):v.skip?_+=c:(v.returnEnd||v.excludeEnd||(_+=c),S(),v.excludeEnd&&(_=c));do g.scope&&M.closeNode(),!g.skip&&!g.subLanguage&&(fe+=g.relevance),g=g.parent;while(g!==p.parent);return p.starts&&Ue(p.starts,i),v.returnEnd?0:c.length}function Wt(){const i=[];for(let c=g;c!==T;c=c.parent)c.scope&&i.unshift(c.scope);i.forEach(c=>M.openNode(c))}let ge={};function We(i,c){const f=c&&c[0];if(_+=i,f==null)return S(),0;if(ge.type==="begin"&&c.type==="end"&&ge.index===c.index&&f===""){if(_+=a.slice(c.index,c.index+1),!b){const p=new Error(`0 width match regex (${n})`);throw p.languageName=n,p.badRule=ge.rule,p}return 1}if(ge=c,c.type==="begin")return Ut(c);if(c.type==="illegal"&&!h){const p=new Error('Illegal lexeme "'+f+'" for mode "'+(g.scope||"")+'"');throw p.mode=g,p}else if(c.type==="end"){const p=$t(c);if(p!==De)return p}if(c.type==="illegal"&&f==="")return _+=` -`,1;if(ve>1e5&&ve>c.index*3)throw new Error("potential infinite loop, way more iterations than matches");return _+=f,f.length}const T=L(n);if(!T)throw U(E.replace("{}",n)),new Error('Unknown language: "'+n+'"');const Gt=vt(T);let Me="",g=d||Gt;const Ge={},M=new s.__emitter(s);Wt();let _="",fe=0,$=0,ve=0,Oe=!1;try{if(T.__emitTokens)T.__emitTokens(a,M);else{for(g.matcher.considerAll();;){ve++,Oe?Oe=!1:g.matcher.considerAll(),g.matcher.lastIndex=$;const i=g.matcher.exec(a);if(!i)break;const c=a.substring($,i.index),f=We(c,i);$=i.index+f}We(a.substring($))}return M.finalize(),Me=M.toHTML(),{language:n,value:Me,relevance:fe,illegal:!1,_emitter:M,_top:g}}catch(i){if(i.message&&i.message.includes("Illegal"))return{language:n,value:Ee(a),illegal:!0,relevance:0,_illegalBy:{message:i.message,index:$,context:a.slice($-100,$+100),mode:i.mode,resultSoFar:Me},_emitter:M};if(b)return{language:n,value:Ee(a),illegal:!1,relevance:0,errorRaised:i,_emitter:M,_top:g};throw i}}function ye(n){const a={value:Ee(n),illegal:!1,relevance:0,_top:o,_emitter:new s.__emitter(s)};return a._emitter.addText(n),a}function we(n,a){a=a||s.languages||Object.keys(t);const h=ye(n),d=a.filter(L).filter(Pe).map(S=>J(S,n,!1));d.unshift(h);const w=d.sort((S,k)=>{if(S.relevance!==k.relevance)return k.relevance-S.relevance;if(S.language&&k.language){if(L(S.language).supersetOf===k.language)return 1;if(L(k.language).supersetOf===S.language)return-1}return 0}),[N,j]=w,ue=N;return ue.secondBest=j,ue}function Nt(n,a,h){const d=a&&r[a]||h;n.classList.add("hljs"),n.classList.add(`language-${d}`)}function xe(n){let a=null;const h=x(n);if(l(h))return;if(le("before:highlightElement",{el:n,language:h}),n.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",n);return}if(n.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(n)),s.throwUnescapedHTML))throw new St("One of your code blocks includes unescaped HTML.",n.innerHTML);a=n;const d=a.textContent,w=h?y(d,{language:h,ignoreIllegals:!0}):we(d);n.innerHTML=w.value,n.dataset.highlighted="yes",Nt(n,h,w.language),n.result={language:w.language,re:w.relevance,relevance:w.relevance},w.secondBest&&(n.secondBest={language:w.secondBest.language,relevance:w.secondBest.relevance}),le("after:highlightElement",{el:n,result:w,text:d})}function kt(n){s=Ce(s,n)}const Tt=()=>{ae(),F("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function At(){ae(),F("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Le=!1;function ae(){function n(){ae()}if(document.readyState==="loading"){Le||window.addEventListener("DOMContentLoaded",n,!1),Le=!0;return}document.querySelectorAll(s.cssSelector).forEach(xe)}function It(n,a){let h=null;try{h=a(e)}catch(d){if(U("Language definition for '{}' could not be registered.".replace("{}",n)),b)U(d);else throw d;h=o}h.name||(h.name=n),t[n]=h,h.rawDefinition=a.bind(null,e),h.aliases&&je(h.aliases,{languageName:n})}function Ct(n){delete t[n];for(const a of Object.keys(r))r[a]===n&&delete r[a]}function Dt(){return Object.keys(t)}function L(n){return n=(n||"").toLowerCase(),t[n]||t[r[n]]}function je(n,{languageName:a}){typeof n=="string"&&(n=[n]),n.forEach(h=>{r[h.toLowerCase()]=a})}function Pe(n){const a=L(n);return a&&!a.disableAutodetect}function Bt(n){n["before:highlightBlock"]&&!n["before:highlightElement"]&&(n["before:highlightElement"]=a=>{n["before:highlightBlock"](Object.assign({block:a.el},a))}),n["after:highlightBlock"]&&!n["after:highlightElement"]&&(n["after:highlightElement"]=a=>{n["after:highlightBlock"](Object.assign({block:a.el},a))})}function Lt(n){Bt(n),u.push(n)}function jt(n){const a=u.indexOf(n);a!==-1&&u.splice(a,1)}function le(n,a){const h=n;u.forEach(function(d){d[h]&&d[h](a)})}function Pt(n){return F("10.7.0","highlightBlock will be removed entirely in v12.0"),F("10.7.0","Please use highlightElement now."),xe(n)}Object.assign(e,{highlight:y,highlightAuto:we,highlightAll:ae,highlightElement:xe,highlightBlock:Pt,configure:kt,initHighlighting:Tt,initHighlightingOnLoad:At,registerLanguage:It,unregisterLanguage:Ct,listLanguages:Dt,getLanguage:L,registerAliases:je,autoDetection:Pe,inherit:Ce,addPlugin:Lt,removePlugin:jt}),e.debugMode=function(){b=!1},e.safeMode=function(){b=!0},e.versionString=Rt,e.regex={concat:C,lookahead:ne,either:X,optional:pe,anyNumberOfTimes:re};for(const n in oe)typeof oe[n]=="object"&&A(oe[n]);return Object.assign(e,oe),e},K=Be({});return K.newInstance=()=>Be({}),Re=K,K.HighlightJS=K,K.default=K,Re}var en=Qt();const Ke=Kt(en);function tn(A){const R=A.regex,I=A.COMMENT("--","$"),O={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},W={begin:/"/,end:/"/,contains:[{match:/""/}]},G=["true","false","unknown"],z=["double precision","large object","with timezone","without timezone"],Q=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],ee=["add","asc","collation","desc","final","first","last","view"],q=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],te=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],P=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],ne=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],re=te,pe=[...q,...ee].filter(m=>!te.includes(m)),C={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},de={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},X={match:R.concat(/\b/,R.either(...re),/\s*\(/),relevance:0,keywords:{built_in:re}};function Y(m){return R.concat(/\b/,R.either(...m.map(H=>H.replace(/\s+/,"\\s+"))),/\b/)}const _e={scope:"keyword",match:Y(ne),relevance:0};function be(m,{exceptions:H,when:ie}={}){const V=ie;return H=H||[],m.map(D=>D.match(/\|\d+$/)||H.includes(D)?D:V(D)?`${D}|0`:D)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:be(pe,{when:m=>m.length<3}),literal:G,type:Q,built_in:P},contains:[{scope:"type",match:Y(z)},_e,X,C,O,W,A.C_NUMBER_MODE,A.C_BLOCK_COMMENT_MODE,I,de]}}const nn={class:"code-block"},rn={class:"code-toolbar"},sn=["icon","tooltip"],on={class:"code-content"},cn=["innerHTML"],an=qt({__name:"CodeBlock",props:{code:{},language:{}},setup(A){Ke.registerLanguage("sql",tn);const R=A,I=ze(""),O=ze(!1);function W(){if(!R.code){I.value="";return}const z=R.language||"sql";try{I.value=Ke.highlight(R.code,{language:z}).value}catch{I.value=R.code.replace(//g,">")}}async function G(){await navigator.clipboard.writeText(R.code),O.value=!0,setTimeout(()=>{O.value=!1},2e3)}return Xt(W),Yt(()=>R.code,W),(z,Q)=>(Zt(),Vt("div",nn,[he("div",rn,[he("ui5-button",{icon:O.value?"accept":"copy",tooltip:O.value?"Copied!":"Copy to clipboard",design:"Transparent",onClick:G},null,8,sn)]),he("pre",on,[he("code",{innerHTML:I.value},null,8,cn)])]))}}),fn=Jt(an,[["__scopeId","data-v-6ef137b8"]]);export{fn as C}; diff --git a/app/vue/dist/assets/Containers-CcHwV0dp.js b/app/vue/dist/assets/Containers-CcHwV0dp.js deleted file mode 100644 index 6098bb93..00000000 --- a/app/vue/dist/assets/Containers-CcHwV0dp.js +++ /dev/null @@ -1 +0,0 @@ -import{D as t}from"./DynamicTableView-BgX-JfYu.js";import{bx as o,bj as r,cr as e}from"./index-Cmc-xxmd.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const x=o({__name:"Containers",setup(i){return(n,p)=>(e(),r(t,{title:"HDI Containers",endpoint:"containers-ui",filters:[]}))}});export{x as default}; diff --git a/app/vue/dist/assets/DataTypes-BZRO6j6k.js b/app/vue/dist/assets/DataTypes-BZRO6j6k.js deleted file mode 100644 index 3bac990a..00000000 --- a/app/vue/dist/assets/DataTypes-BZRO6j6k.js +++ /dev/null @@ -1 +0,0 @@ -import{D as t}from"./DynamicTableView-BgX-JfYu.js";import{bx as e,bj as o,cr as r}from"./index-Cmc-xxmd.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const D=e({__name:"DataTypes",setup(p){return(a,i)=>(r(),o(t,{title:"Data Types",endpoint:"dataTypes-ui",filters:[]}))}});export{D as default}; diff --git a/app/vue/dist/assets/DynamicTableView-BgX-JfYu.js b/app/vue/dist/assets/DynamicTableView-BgX-JfYu.js deleted file mode 100644 index 7d7c0631..00000000 --- a/app/vue/dist/assets/DynamicTableView-BgX-JfYu.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as O,c_ as Q,co as W,cr as s,bl as i,bi as a,cN as m,t as E,cB as L,ch as q,cU as n,bk as g,bn as J,bj as X,cA as k,bh as S,cy as Y,cW as Z,b8 as ee}from"./index-Cmc-xxmd.js";import{u as te,a as oe}from"./useCurrentSchema-BqWYAHf6.js";import{u as ne}from"./useDynamicTable-DVsAdjXE.js";import{S as se}from"./SmartTable-BtBFwGU3.js";import"./SuggestionItem-D5k7H1pi.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const ie={class:"dynamic-table-view"},ae={level:"H3"},le={class:"filter-bar"},ue=["for"],re=["id","placeholder","value","show-suggestions","data-help-id","onChange","onFocus"],ce=["text"],de={key:0,class:"resolved-schema"},me={key:0,class:"filter-field"},pe={key:0,class:"error"},ve=O({__name:"DynamicTableView",props:{title:{},endpoint:{},filters:{default:()=>[]},showLimit:{type:Boolean,default:!0},rowClickRoute:{},rowClickParams:{},linkColumn:{}},emits:["rowClick"],setup(l,{emit:D}){const d=l,B=D,{execute:_}=Z(),{resolvedSchema:y}=te(),{columns:F,displayData:N,loading:p,searchQuery:R,sortKey:T,sortDir:V,rowCount:$,totalCount:A,setData:b,resetColumns:z,toggleSort:H,exportExcel:j,exportCsv:G}=ne(),u=k({}),f=k(200),r=k(""),C=Q(),M=S(()=>{const t=r.value.toLowerCase();return t.includes("not logged in")||t.includes("cloud foundry")||t.includes("cf login")||t.includes("cf-notauthenticated")||t.includes("unable to determine current space")}),P=S(()=>{const t=r.value.toLowerCase();return t.includes("unknown session")||t.includes("authorization failed")||t.includes("btp cli target")||t.includes("no btp cli")||t.includes("unexpected end of json")}),v=Y({});function U(){const t={};d.filters.forEach(e=>{t[e.key]=e.default,e.suggestEndpoint&&e.suggestField&&(v[e.key]=oe(e.suggestEndpoint,e.suggestField))}),u.value=t}async function h(){p.value=!0,r.value="",z();try{const t={...u.value};d.showLimit&&(t.limit=f.value);const e=await _(d.endpoint,t),o=Array.isArray(e)?e:[];b(o)}catch(t){r.value=t.message,b([])}finally{p.value=!1}}function I(t){const e=d.endpoint.replace(/-ui$/,"");t==="excel"?j(`${e}.xlsx`):G(`${e}.csv`)}function K(t){B("rowClick",t)}return W(()=>{U(),h()}),(t,e)=>(s(),i("div",ie,[a("ui5-title",ae,m(l.title),1),a("div",le,[(s(!0),i(E,null,L(l.filters,o=>{var w;return s(),i("div",{key:o.key,class:q(["filter-field",{wide:o.wide}])},[a("ui5-label",{for:o.key},m(o.label)+":",9,ue),a("ui5-input",{id:o.key,placeholder:o.label,value:u.value[o.key],"show-suggestions":!!o.suggestEndpoint,filter:"Contains","data-help-id":o.key,onChange:c=>u.value[o.key]=c.target.value,onFocus:c=>{var x;return(x=v[o.key])==null?void 0:x.ensureLoaded({...u.value,[o.key]:"*",limit:1e3})}},[(s(!0),i(E,null,L(((w=v[o.key])==null?void 0:w.items)||[],c=>(s(),i("ui5-suggestion-item",{key:c,text:c},null,8,ce))),128))],40,re),u.value[o.key]==="**CURRENT_SCHEMA**"&&n(y)?(s(),i("span",de,m(n(y)),1)):g("",!0)],2)}),128)),l.showLimit?(s(),i("div",me,[e[5]||(e[5]=a("ui5-label",{for:"limit"},"Limit:",-1)),a("ui5-select",{id:"limit",onChange:e[0]||(e[0]=o=>f.value=Number(o.detail.selectedOption.value))},[...e[4]||(e[4]=[J('501002005001000',5)])],32)])):g("",!0),a("ui5-button",{design:"Emphasized",icon:"refresh",onClick:h,class:"execute-btn"},"Execute")]),r.value?(s(),i("div",pe,[a("p",null,m(r.value),1),M.value?(s(),i("ui5-link",{key:0,onClick:e[1]||(e[1]=o=>n(C).push({name:"cfLogin"}))},"Go to CF Login")):P.value?(s(),i("ui5-link",{key:1,onClick:e[2]||(e[2]=o=>n(C).push({name:"btpLogin"}))},"Go to BTP Login")):g("",!0)])):(s(),X(se,{key:1,title:"Results",columns:n(F),data:n(N),loading:n(p),"sort-key":n(T),"sort-dir":n(V),"row-count":n($),"total-count":n(A),"context-id":l.endpoint,"link-column":l.linkColumn,onSort:n(H),onSearch:e[3]||(e[3]=o=>R.value=o),onExport:I,onRowClick:K},null,8,["columns","data","loading","sort-key","sort-dir","row-count","total-count","context-id","link-column","onSort"]))]))}}),we=ee(ve,[["__scopeId","data-v-4e871bf8"]]);export{we as D}; diff --git a/app/vue/dist/assets/FeatureUsage-bZ5aaT8-.js b/app/vue/dist/assets/FeatureUsage-bZ5aaT8-.js deleted file mode 100644 index edd8fd3d..00000000 --- a/app/vue/dist/assets/FeatureUsage-bZ5aaT8-.js +++ /dev/null @@ -1 +0,0 @@ -import{D as e}from"./DynamicTableView-BgX-JfYu.js";import{bx as t,bj as r,cr as o}from"./index-Cmc-xxmd.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const g=t({__name:"FeatureUsage",setup(a){return(i,p)=>(o(),r(e,{title:"Feature Usage",endpoint:"featureUsage-ui",filters:[]}))}});export{g as default}; diff --git a/app/vue/dist/assets/Features-BG3a2Uss.js b/app/vue/dist/assets/Features-BG3a2Uss.js deleted file mode 100644 index bddb8361..00000000 --- a/app/vue/dist/assets/Features-BG3a2Uss.js +++ /dev/null @@ -1 +0,0 @@ -import{D as t}from"./DynamicTableView-BgX-JfYu.js";import{bx as e,bj as r,cr as o}from"./index-Cmc-xxmd.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const x=e({__name:"Features",setup(a){return(i,p)=>(o(),r(t,{title:"Database Features",endpoint:"features-ui",filters:[]}))}});export{x as default}; diff --git a/app/vue/dist/assets/Functions-Cr04G6mI.js b/app/vue/dist/assets/Functions-Cr04G6mI.js deleted file mode 100644 index 1d08c83b..00000000 --- a/app/vue/dist/assets/Functions-Cr04G6mI.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as i,bj as s,cr as c,c_ as u}from"./index-Cmc-xxmd.js";import{D as a}from"./DynamicTableView-BgX-JfYu.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const A=i({__name:"Functions",setup(r){const e=u(),n=[{key:"schema",label:"Schema",default:"**CURRENT_SCHEMA**",suggestEndpoint:"schemas-ui",suggestField:"SCHEMA_NAME"},{key:"function",label:"Function filter",default:"*",suggestEndpoint:"functions-ui",suggestField:"FUNCTION_NAME"}];function o(t){e.push({name:"inspectFunction",query:{function:t.FUNCTION_NAME,schema:t.SCHEMA_NAME}})}return(t,m)=>(c(),s(a,{title:"Database Functions",endpoint:"functions-ui",filters:n,"link-column":"FUNCTION_NAME",onRowClick:o}))}});export{A as default}; diff --git a/app/vue/dist/assets/HDI-B7q5VoWN.js b/app/vue/dist/assets/HDI-B7q5VoWN.js deleted file mode 100644 index a25fce3d..00000000 --- a/app/vue/dist/assets/HDI-B7q5VoWN.js +++ /dev/null @@ -1 +0,0 @@ -import{D as t}from"./DynamicTableView-BgX-JfYu.js";import{bx as o,bj as r,cr as i}from"./index-Cmc-xxmd.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const b=o({__name:"HDI",setup(e){return(p,m)=>(i(),r(t,{title:"HDI Containers",endpoint:"hdi-ui",filters:[]}))}});export{b as default}; diff --git a/app/vue/dist/assets/Home-DMTy4qPD.js b/app/vue/dist/assets/Home-DMTy4qPD.js deleted file mode 100644 index 8484214c..00000000 --- a/app/vue/dist/assets/Home-DMTy4qPD.js +++ /dev/null @@ -1 +0,0 @@ -import{b8 as o,cr as s,bl as c,bi as t}from"./index-Cmc-xxmd.js";const r={},a={class:"home"};function l(n,e){return s(),c("div",a,[...e[0]||(e[0]=[t("ui5-title",{level:"H2"},"Welcome to HANA CLI",-1),t("p",null,"Select a tool from the sidebar to get started.",-1)])])}const _=o(r,[["render",l],["__scopeId","data-v-c160e559"]]);export{_ as default}; diff --git a/app/vue/dist/assets/Import-Gk_asnr8.js b/app/vue/dist/assets/Import-Gk_asnr8.js deleted file mode 100644 index 586d679b..00000000 --- a/app/vue/dist/assets/Import-Gk_asnr8.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as ae,bl as a,bi as l,d7 as G,ch as ue,cN as p,t as S,cU as y,cB as W,bk as M,cj as re,bo as k,cA as o,bh as Q,cR as de,cr as u,b8 as ve}from"./index-Cmc-xxmd.js";import{u as pe,a as Y}from"./useCurrentSchema-BqWYAHf6.js";import"./SuggestionItem-D5k7H1pi.js";import"./MessageStrip-st-aaDs2.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";import"./ListItemBaseTemplate-fB6cyhUP.js";const fe={class:"import-view"},me={class:"form-card"},ce={key:0,class:"upload-area"},ge={key:0,class:"file-info"},be={class:"file-details"},ke={class:"file-size"},he={key:1,class:"server-path-area"},xe={class:"form-field"},Ce=["value"],Se={class:"form-card"},ye={class:"form-grid"},we={class:"form-field"},Ne=["value"],Ee=["text"],_e={class:"form-field"},Te=["value"],Me=["text"],Fe={key:0,class:"resolved-hint"},$e={class:"form-field"},ze=["selected"],Ie=["selected"],Be={class:"form-field"},Re=["selected"],Ae=["selected"],Le=["selected"],Ue={class:"form-card"},De={class:"form-grid"},Pe={class:"form-field"},Oe=["value"],Ve={class:"form-field"},He=["value"],We={class:"form-field"},je=["value"],qe={class:"form-field"},Je=["selected"],Xe=["selected"],Ke=["selected"],Ge={class:"form-field"},Qe=["value"],Ye={class:"form-field"},Ze=["value"],el={class:"form-field"},ll=["value"],tl={class:"form-field"},sl=["value"],ol={class:"form-field checkbox-field"},il=["checked"],nl={class:"form-field checkbox-field"},al=["checked"],ul={class:"form-field checkbox-field"},rl=["checked"],dl={class:"form-field checkbox-field"},vl=["checked"],pl={design:"Subheader"},fl=["disabled"],ml={key:0,class:"error"},cl={design:"Negative","hide-close-button":""},gl={class:"log-card"},bl={class:"progress-section"},kl={class:"progress-bar-container"},hl={class:"progress-label"},xl={class:"log-section"},Cl={class:"log-messages"},Sl={key:0,class:"log-placeholder"},yl=["open"],wl={style:{padding:"1rem"}},Nl={slot:"footer",style:{display:"flex","justify-content":"flex-end",gap:"0.5rem",padding:"0.5rem"}},El=ae({__name:"Import",setup(_l){const h=o("**CURRENT_SCHEMA**"),w=o(""),c=o(""),r=o(null),g=o(""),I=o(!1),B=o(!1),x=o("csv"),N=o("auto"),F=o(!1),R=o(1e3),A=o(1),L=o(1),U=o(!0),E=o("cache"),$=o(!1),D=o(500),P=o(3600),O=o("null,NULL,#N/A,"),V=o(!1),H=o(-1),f=o(!1),b=o([]),C=o(""),_=o(0),z=o(!1),j=Y("schemas-ui","SCHEMA_NAME"),q=Y("tables-ui","TABLE_NAME"),{resolvedSchema:J}=pe(),T=o(!1),Z=Q(()=>g.value||c.value),ee=Q(()=>!!w.value&&!!Z.value&&!f.value&&!I.value);let d=null;function le(s){var i;s.preventDefault(),z.value=!1;const e=(i=s.dataTransfer)==null?void 0:i.files[0];e&&X(e)}function te(s){var i;const e=(i=s.target.files)==null?void 0:i[0];e&&X(e)}function X(s){var i;r.value=s,g.value="";const e=(i=s.name.split(".").pop())==null?void 0:i.toLowerCase();e==="xlsx"||e==="xls"?x.value="excel":x.value="csv"}function se(){r.value=null,g.value=""}async function oe(){if(!r.value)return c.value;I.value=!0,b.value.push(`Uploading ${r.value.name} (${K(r.value.size)})...`);try{const s=new FormData;s.append("file",r.value);const e=await fetch("/hana/upload",{method:"POST",body:s});if(!e.ok){const t=await e.json().catch(()=>({message:e.statusText}));throw new Error(t.message||"Upload failed")}const i=await e.json();return g.value=i.path,b.value.push(`Upload complete: ${i.filename}`),i.path}finally{I.value=!1}}function K(s){return s<1024?`${s} B`:s<1024*1024?`${(s/1024).toFixed(1)} KB`:`${(s/(1024*1024)).toFixed(1)} MB`}function ie(s){d&&(d.onclose=null,d.close(),d=null);const i=`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/websockets`;d=new WebSocket(i),d.onopen=()=>{d==null||d.send(JSON.stringify({action:"import"}))},d.onmessage=t=>{var n,v;try{const m=JSON.parse(t.data);m.progress!==void 0&&m.progress!==null&&(_.value=Math.round(m.progress)),m.text&&b.value.push(m.text),(m.progress===100||(n=m.text)!=null&&n.includes("Complete")||(v=m.text)!=null&&v.includes("complete"))&&(f.value=!1,_.value=100,de.show("Import completed successfully"))}catch{b.value.push(t.data)}},d.onerror=()=>{C.value="WebSocket connection error",f.value=!1},d.onclose=()=>{f.value&&(f.value=!1)}}async function ne(){T.value=!1,f.value=!0,b.value=[],C.value="",_.value=0;try{let s=c.value;if(r.value&&!g.value?s=await oe():g.value&&(s=g.value),!s){C.value="No file specified",f.value=!1;return}await fetch("/",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({schema:h.value,table:w.value,filename:s,output:x.value,matchMode:N.value,truncate:F.value,batchSize:R.value,worksheet:A.value,startRow:L.value,skipEmptyRows:U.value,excelCacheMode:E.value,dryRun:$.value,maxFileSizeMB:D.value,timeoutSeconds:P.value,nullValues:O.value,skipWithErrors:V.value,maxErrorsAllowed:H.value})}),ie(s)}catch(s){C.value=s.message,f.value=!1}}return(s,e)=>{var i;return u(),a("div",fe,[e[61]||(e[61]=l("ui5-title",{level:"H3"},"Import Data",-1)),e[62]||(e[62]=l("p",{class:"subtitle"},"Import data from CSV or Excel files into a database table",-1)),l("div",me,[e[32]||(e[32]=l("ui5-title",{level:"H5"},"Source File",-1)),B.value?(u(),a("div",he,[l("div",xe,[e[31]||(e[31]=l("ui5-label",{required:""},"Server File Path",-1)),l("ui5-input",{value:c.value,onChange:e[4]||(e[4]=t=>c.value=t.target.value),placeholder:"/path/to/file.csv or relative/path/file.xlsx"},null,40,Ce)]),l("ui5-link",{onClick:e[5]||(e[5]=t=>{B.value=!1,c.value=""}),class:"toggle-link"},"Upload a file instead")])):(u(),a("div",ce,[l("div",{class:ue(["drop-zone",{"drop-zone-active":z.value,"drop-zone-has-file":r.value}]),onDragover:e[0]||(e[0]=G(t=>z.value=!0,["prevent"])),onDragleave:e[1]||(e[1]=t=>z.value=!1),onDrop:le,onClick:e[2]||(e[2]=t=>{var n;return(n=s.$refs.fileInput)==null?void 0:n.click()})},[r.value?(u(),a("div",ge,[e[27]||(e[27]=l("span",{class:"file-icon"},"📄",-1)),l("div",be,[l("strong",null,p(r.value.name),1),l("span",ke,p(K(r.value.size)),1)]),l("ui5-button",{design:"Transparent",icon:"decline",tooltip:"Remove file",onClick:G(se,["stop"])})])):(u(),a(S,{key:1},[e[28]||(e[28]=l("span",{class:"drop-icon"},"🗁",-1)),e[29]||(e[29]=l("p",{class:"drop-text"},"Drag & drop a file here, or click to browse",-1)),e[30]||(e[30]=l("p",{class:"drop-hint"},"Supports CSV, Excel (.xlsx, .xls)",-1))],64))],34),l("input",{ref:"fileInput",type:"file",accept:".csv,.xlsx,.xls,.json,.tsv",hidden:"",onChange:te},null,544),l("ui5-link",{onClick:e[3]||(e[3]=t=>B.value=!0),class:"toggle-link"},"Use server-side file path instead")]))]),l("div",Se,[e[37]||(e[37]=l("ui5-title",{level:"H5"},"Import Target",-1)),l("div",ye,[l("div",we,[e[33]||(e[33]=l("ui5-label",{required:""},"Target Table",-1)),l("ui5-input",{value:w.value,"show-suggestions":"",filter:"Contains",onChange:e[6]||(e[6]=t=>w.value=t.target.value),onFocus:e[7]||(e[7]=t=>y(q).ensureLoaded({schema:h.value,table:"*",limit:1e3})),placeholder:"TABLE_NAME"},[(u(!0),a(S,null,W(y(q).items.value,t=>(u(),a("ui5-suggestion-item",{key:t,text:t},null,8,Ee))),128))],40,Ne)]),l("div",_e,[e[34]||(e[34]=l("ui5-label",null,"Schema",-1)),l("ui5-input",{value:h.value,"show-suggestions":"",filter:"Contains",onChange:e[8]||(e[8]=t=>h.value=t.target.value),onFocus:e[9]||(e[9]=t=>y(j).ensureLoaded({limit:1e3,schema:"*"}))},[(u(!0),a(S,null,W(y(j).items.value,t=>(u(),a("ui5-suggestion-item",{key:t,text:t},null,8,Me))),128))],40,Te),h.value==="**CURRENT_SCHEMA**"&&y(J)?(u(),a("span",Fe,p(y(J)),1)):M("",!0)]),l("div",$e,[e[35]||(e[35]=l("ui5-label",{required:""},"File Format",-1)),l("ui5-select",{onChange:e[10]||(e[10]=t=>{var n,v;return x.value=((v=(n=t.detail)==null?void 0:n.selectedOption)==null?void 0:v.value)||"csv"})},[l("ui5-option",{value:"csv",selected:x.value==="csv"},"CSV (Comma Separated Values)",8,ze),l("ui5-option",{value:"excel",selected:x.value==="excel"},"Excel (XLSX)",8,Ie)],32)]),l("div",Be,[e[36]||(e[36]=l("ui5-label",{required:""},"Column Matching Mode",-1)),l("ui5-select",{onChange:e[11]||(e[11]=t=>{var n,v;return N.value=((v=(n=t.detail)==null?void 0:n.selectedOption)==null?void 0:v.value)||"auto"})},[l("ui5-option",{value:"auto",selected:N.value==="auto"},"Auto (detect from headers)",8,Re),l("ui5-option",{value:"name",selected:N.value==="name"},"By Name",8,Ae),l("ui5-option",{value:"order",selected:N.value==="order"},"By Position",8,Le)],32)])])]),l("div",Ue,[e[46]||(e[46]=l("ui5-title",{level:"H5"},"Options",-1)),l("div",De,[l("div",Pe,[e[38]||(e[38]=l("ui5-label",null,"Batch Size",-1)),l("ui5-input",{type:"Number",value:String(R.value),onChange:e[12]||(e[12]=t=>R.value=Number(t.target.value)||1e3)},null,40,Oe)]),l("div",Ve,[e[39]||(e[39]=l("ui5-label",null,"Worksheet Number (Excel)",-1)),l("ui5-input",{type:"Number",value:String(A.value),onChange:e[13]||(e[13]=t=>A.value=Number(t.target.value)||1)},null,40,He)]),l("div",We,[e[40]||(e[40]=l("ui5-label",null,"Start Row",-1)),l("ui5-input",{type:"Number",value:String(L.value),onChange:e[14]||(e[14]=t=>L.value=Number(t.target.value)||1)},null,40,je)]),l("div",qe,[e[41]||(e[41]=l("ui5-label",null,"Excel Cache Mode",-1)),l("ui5-select",{onChange:e[15]||(e[15]=t=>{var n,v;return E.value=((v=(n=t.detail)==null?void 0:n.selectedOption)==null?void 0:v.value)||"cache"})},[l("ui5-option",{value:"cache",selected:E.value==="cache"},"Cache (default)",8,Je),l("ui5-option",{value:"emit",selected:E.value==="emit"},"Emit (streaming)",8,Xe),l("ui5-option",{value:"ignore",selected:E.value==="ignore"},"Ignore",8,Ke)],32)]),l("div",Ge,[e[42]||(e[42]=l("ui5-label",null,"Max File Size (MB)",-1)),l("ui5-input",{type:"Number",value:String(D.value),onChange:e[16]||(e[16]=t=>D.value=Number(t.target.value)||500)},null,40,Qe)]),l("div",Ye,[e[43]||(e[43]=l("ui5-label",null,"Timeout (seconds)",-1)),l("ui5-input",{type:"Number",value:String(P.value),onChange:e[17]||(e[17]=t=>P.value=Number(t.target.value)||3600)},null,40,Ze)]),l("div",el,[e[44]||(e[44]=l("ui5-label",null,"NULL Values",-1)),l("ui5-input",{value:O.value,onChange:e[18]||(e[18]=t=>O.value=t.target.value),placeholder:"Comma-separated list"},null,40,ll)]),l("div",tl,[e[45]||(e[45]=l("ui5-label",null,"Max Errors Allowed",-1)),l("ui5-input",{type:"Number",value:String(H.value),onChange:e[19]||(e[19]=t=>H.value=Number(t.target.value)),placeholder:"-1 = unlimited"},null,40,sl)]),l("div",ol,[l("ui5-checkbox",{text:"Truncate Table Before Import",checked:F.value,onChange:e[20]||(e[20]=t=>F.value=t.target.checked)},null,40,il)]),l("div",nl,[l("ui5-checkbox",{text:"Skip Empty Rows",checked:U.value,onChange:e[21]||(e[21]=t=>U.value=t.target.checked)},null,40,al)]),l("div",ul,[l("ui5-checkbox",{text:"Dry Run (Preview Only)",checked:$.value,onChange:e[22]||(e[22]=t=>$.value=t.target.checked)},null,40,rl)]),l("div",dl,[l("ui5-checkbox",{text:"Skip Errors",checked:V.value,onChange:e[23]||(e[23]=t=>V.value=t.target.checked)},null,40,vl)])])]),l("ui5-bar",pl,[l("ui5-button",{slot:"endContent",design:"Emphasized",icon:"upload",disabled:!ee.value,onClick:e[24]||(e[24]=t=>T.value=!0)},"Start Import",8,fl)]),C.value?(u(),a("div",ml,[l("ui5-message-strip",cl,p(C.value),1)])):M("",!0),l("div",gl,[e[49]||(e[49]=l("ui5-title",{level:"H5"},"Processing Log",-1)),l("div",bl,[e[47]||(e[47]=l("ui5-label",null,"Progress:",-1)),l("div",kl,[l("div",{class:"progress-bar-fill",style:re({width:_.value+"%"})},null,4)]),l("span",hl,p(_.value)+"%",1)]),l("div",xl,[e[48]||(e[48]=l("ui5-label",null,"Processing Log:",-1)),l("div",Cl,[b.value.length===0?(u(),a("div",Sl,"Waiting to start...")):M("",!0),(u(!0),a(S,null,W(b.value,(t,n)=>(u(),a("div",{key:n,class:"log-line"},p(t),1))),128))])])]),l("ui5-dialog",{"header-text":"Confirm Import",open:T.value,onClose:e[26]||(e[26]=t=>T.value=!1)},[l("p",wl,[e[58]||(e[58]=k(" Import data from ",-1)),l("strong",null,p(((i=r.value)==null?void 0:i.name)||c.value),1),e[59]||(e[59]=k(" into table ",-1)),l("strong",null,p(h.value)+"."+p(w.value),1),e[60]||(e[60]=k("? ",-1)),F.value?(u(),a(S,{key:0},[e[50]||(e[50]=l("br",null,null,-1)),e[51]||(e[51]=k("Table will be ",-1)),e[52]||(e[52]=l("strong",null,"TRUNCATED",-1)),e[53]||(e[53]=k(" before import.",-1))],64)):M("",!0),$.value?(u(),a(S,{key:1},[e[54]||(e[54]=l("br",null,null,-1)),e[55]||(e[55]=k("This is a ",-1)),e[56]||(e[56]=l("strong",null,"dry run",-1)),e[57]||(e[57]=k(" — no data will be committed.",-1))],64)):M("",!0)]),l("div",Nl,[l("ui5-button",{design:"Emphasized",onClick:ne},"Import"),l("ui5-button",{design:"Transparent",onClick:e[25]||(e[25]=t=>T.value=!1)},"Cancel")])],40,yl)])}}}),Rl=ve(El,[["__scopeId","data-v-c79fcb2b"]]);export{Rl as default}; diff --git a/app/vue/dist/assets/Indexes-DoFx7jlP.js b/app/vue/dist/assets/Indexes-DoFx7jlP.js deleted file mode 100644 index b35517fd..00000000 --- a/app/vue/dist/assets/Indexes-DoFx7jlP.js +++ /dev/null @@ -1 +0,0 @@ -import{D as t}from"./DynamicTableView-BgX-JfYu.js";import{bx as i,bj as s,cr as o}from"./index-Cmc-xxmd.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const E=i({__name:"Indexes",setup(n){const e=[{key:"schema",label:"Schema",default:"**CURRENT_SCHEMA**",suggestEndpoint:"schemas-ui",suggestField:"SCHEMA_NAME"},{key:"index",label:"Index filter",default:"*",suggestEndpoint:"indexes-ui",suggestField:"INDEX_NAME"}];return(a,r)=>(o(),s(t,{title:"Database Indexes",endpoint:"indexes-ui",filters:e}))}});export{E as default}; diff --git a/app/vue/dist/assets/InputSuggestions-CaWTjySl.js b/app/vue/dist/assets/InputSuggestions-CaWTjySl.js deleted file mode 100644 index 4a275b86..00000000 --- a/app/vue/dist/assets/InputSuggestions-CaWTjySl.js +++ /dev/null @@ -1 +0,0 @@ -import{bG as v,b_ as u,bZ as l,U as x,Y as S,m as b,br as P,c5 as C,X as T,aX as w,z as I,x as m,u as R,g,ak as O,S as G,R as L,O as A,P as D}from"./index-Cmc-xxmd.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";const y=n=>n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");function p(n,e,t,s){return n.replaceAll(new RegExp(y(e),`${s?"i":""}g`),t)}function H(n,e){if(!n||!e)return n;const t=r=>{const[c,h]=r.split("");for(;n.indexOf(r)>=0||e.indexOf(r)>=0;)r=`${c}${r}${h}`;return r},s=t("12"),i=t("34");let o=v(p(n,e,r=>`${s}${r}${i}`,!0));return[[s,""],[i,""]].forEach(([r,c])=>{o=p(o,r,c,!1)}),o}function V(n){const e=(n==null?void 0:n.items)||E;return u("ul",{role:"group",class:"ui5-group-li-root",onDragEnter:this._ondragenter,onDragOver:this._ondragover,onDrop:this._ondrop,onDragLeave:this._ondragleave,children:[this.hasHeader&&l(S,{focused:this.focused,part:"header",accessibleRole:x.Group,wrappingType:this.getGroupHeaderWrapping(),children:this.hasFormattedHeader?l("slot",{name:"header"}):this.headerText}),e.call(this),l(b,{orientation:"Horizontal",ownerReference:this})]})}function E(){return l("slot",{})}var f=function(n,e,t,s){var i=arguments.length,o=i<3?e:s===null?s=Object.getOwnPropertyDescriptor(e,t):s,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(n,e,t,s);else for(var c=n.length-1;c>=0;c--)(r=n[c])&&(o=(i<3?r(o):i>3?r(e,t,o):r(e,t))||o);return i>3&&o&&Object.defineProperty(e,t,o),o};let d=class extends T{};f([P({default:!0,invalidateOnChildChange:!0,type:HTMLElement})],d.prototype,"items",void 0);d=f([C({tag:"ui5-suggestion-item-group",template:V})],d);d.define();function N(n){const e=(n==null?void 0:n.suggestionsList)||$,t=n==null?void 0:n.mobileHeader,s=n==null?void 0:n.valueStateMessage,i=n==null?void 0:n.valueStateMessageInputIcon;return u(O,{class:this.classes.popover,hideArrow:!0,preventFocusRestore:!0,preventInitialFocus:!0,placement:"Bottom",horizontalAlign:"Start",tabindex:-1,style:this.styles.suggestionsPopover,onOpen:this._afterOpenPicker,onClose:this._afterClosePicker,onScroll:this._scroll,open:this.open,opener:this,accessibleName:this._popupLabel,children:[this._isPhone&&l(R,{children:u("div",{slot:"header",class:"ui5-responsive-popover-header",children:[l("div",{class:"row",children:l(w,{level:"H1",wrappingType:"None",class:"ui5-responsive-popover-header-text",children:this._headerTitleText})}),l("div",{class:"row",children:u("div",{class:"input-root-phone native-input-wrapper",children:[l(I,{class:"ui5-input-inner-phone",type:this.inputType,value:this.value,showClearIcon:this.showClearIcon,placeholder:this.placeholder,onInput:this._handleInput}),t==null?void 0:t.call(this)]})}),this.hasValueStateMessage&&u("div",{class:this.classes.popoverValueState,style:this.styles.suggestionPopoverHeader,children:[l(m,{class:"ui5-input-value-state-message-icon",name:i==null?void 0:i.call(this)}),this.open&&(s==null?void 0:s.call(this))]})]})}),!this._isPhone&&this.hasValueStateMessage&&u("div",{slot:"header",class:{"ui5-responsive-popover-header":!0,...this.classes.popoverValueState},style:this.styles.suggestionPopoverHeader,children:[l(m,{class:"ui5-input-value-state-message-icon",name:i==null?void 0:i.call(this)}),this.open&&(s==null?void 0:s.call(this))]}),this.showSuggestions&&e.call(this),this._isPhone&&u("div",{slot:"footer",class:"ui5-responsive-popover-footer",children:[l(g,{design:"Emphasized",onClick:this._confirmMobileValue,children:this._suggestionsOkButtonText}),l(g,{class:"ui5-responsive-popover-close-btn",design:"Transparent",onClick:this._cancelMobileValue,children:this._suggestionsCancelButtonText})]})]})}function $(){return l(L,{accessibleRole:G.ListBox,separators:this.suggestionSeparators,selectionMode:"Single",onMouseDown:this.onItemMouseDown,onItemClick:this._handleSuggestionItemPress,onSelectionChange:this._handleSelectionChange,children:l("slot",{})})}class a{get template(){return N}constructor(e,t,s,i){this.component=e,this.slotName=t,this.handleFocus=i,this.highlight=s,this.selectedItemIndex=-1}onUp(e,t){e.preventDefault();const s=!this.isOpened&&this._hasValueState&&t===-1?0:t;return this._handleItemNavigation(!1,s),!0}onDown(e,t){e.preventDefault();const s=!this.isOpened&&this._hasValueState&&t===-1?0:t;return this._handleItemNavigation(!0,s),!0}onSpace(e){return this._isItemOnTarget()?(e.preventDefault(),this.onItemSelected(this._selectedItem,!0),!0):!1}onEnter(e){return this._isGroupItem?(e.preventDefault(),!1):this._isItemOnTarget()?(this.onItemSelected(this._selectedItem,!0),!0):!1}onPageUp(e){e.preventDefault();const t=this.selectedItemIndex-10>-1;return this._moveItemSelection(this.selectedItemIndex,t?this.selectedItemIndex-=10:this.selectedItemIndex=0),!0}onPageDown(e){e.preventDefault();const t=this.visibleItems;if(!t)return!0;const s=t.length-1,i=this.selectedItemIndex+10<=s;return this._moveItemSelection(this.selectedItemIndex,i?this.selectedItemIndex+=10:this.selectedItemIndex=s),!0}onHome(e){return e.preventDefault(),this._moveItemSelection(this.selectedItemIndex,this.selectedItemIndex=0),!0}onEnd(e){e.preventDefault();const t=this._getItems().length-1;return t&&this._moveItemSelection(this.selectedItemIndex,this.selectedItemIndex=t),!0}onTab(){return this._isItemOnTarget()?(this.onItemSelected(this._selectedItem,!0),!0):!1}toggle(e,t){(e!==void 0?e:!this.isOpened())?this._getComponent().open=!0:this.close(t.preventFocusRestore)}get _selectedItem(){return this._getNonGroupItems().find(e=>e.selected)}_isScrollable(){const e=this._getScrollContainer();return e.offsetHeighte-1||this._moveItemSelection(t,++this.selectedItemIndex)}_selectPreviousItem(){const e=this.visibleItems,t=this.selectedItemIndex;if(!(t===-1||t===null)){if(t-1<0){(e[t].hasAttribute("ui5-suggestion-item")||e[t].hasAttribute("ui5-suggestion-item-custom"))&&(e[t].selected=!1),e[t].focused=!1,this.component.focused=!0,this.component.hasSuggestionItemSelected=!1,this.component.value=this.component.typedInValue,this.selectedItemIndex-=1;return}this._moveItemSelection(t,--this.selectedItemIndex)}}get visibleItems(){return this._getItems().filter(e=>!e.hidden)}_moveItemSelection(e,t){const s=this.visibleItems,i=s[t],o=s[e],r=this._getNonGroupItems(),c=i==null?void 0:i.hasAttribute("ui5-suggestion-item-group");if(!i)return;this.component.focused=!1;const h=this.visibleItems[this.selectedItemIndex];if(this.accInfo={isGroup:c,currentPos:s.indexOf(i)+1,itemText:(c?h.headerText:h.text)||""},(i.hasAttribute("ui5-suggestion-item")||i.hasAttribute("ui5-suggestion-item-custom"))&&(this.accInfo.additionalText=i.additionalText||"",this.accInfo.currentPos=r.indexOf(i)+1,this.accInfo.listSize=r.length),o&&(o.focused=!1),(o!=null&&o.hasAttribute("ui5-suggestion-item")||o!=null&&o.hasAttribute("ui5-suggestion-item-custom"))&&(o.selected=!1),i&&(i.focused=!0,c||(i.selected=!0),this.handleFocus&&i.focus()),this.component.hasSuggestionItemSelected=!0,this.onItemSelect(i),!this._isItemIntoView(i)){const _=this._isGroupItem?i.shadowRoot.querySelector("[ui5-li-group-header]"):i;this._scrollItemIntoView(_)}}_deselectItems(){this._getItems().forEach(t=>{(t.hasAttribute("ui5-suggestion-item")||t.hasAttribute("ui5-suggestion-item-custom"))&&(t.selected=!1),t.focused=!1})}_clearItemFocus(){const e=this._getItems().find(t=>t.focused);e&&(e.focused=!1)}_isItemIntoView(e){const t=e.getDomRef().getBoundingClientRect(),s=this._getComponent().getDomRef().getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight;let o=0;return this._hasValueState&&(o=this._getPicker().querySelector("[slot=header]").getBoundingClientRect().height),t.top+a.SCROLL_STEP<=i&&t.top>=s.top+o}_scrollItemIntoView(e){e.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}_getScrollContainer(){return this._scrollContainer||(this._scrollContainer=this._getPicker().shadowRoot.querySelector(".ui5-popup-content")),this._scrollContainer}_getItems(){return this._getComponent().getSlottedNodes("suggestionItems").flatMap(t=>t.hasAttribute("ui5-suggestion-item-group")?[t,...t.items]:[t])}_getNonGroupItems(){return this._getItems().filter(e=>!e.hasAttribute("ui5-suggestion-item-group"))}_getComponent(){return this.component}_getList(){return this._getPicker().querySelector("[ui5-list]")}_getListWidth(){var e;return(e=this._getList())==null?void 0:e.offsetWidth}_getPicker(){return this._getComponent().shadowRoot.querySelector("[ui5-responsive-popover]")}get itemSelectionAnnounce(){if(!this.accInfo)return"";if(this.accInfo.isGroup)return`${a.i18nBundle.getText(A)} ${this.accInfo.itemText}`;const e=a.i18nBundle.getText(D,this.accInfo.currentPos||0,this.accInfo.listSize||0);return`${this.accInfo.additionalText} ${e}`.trim()}hightlightInput(e,t){return H(e,t)}get _hasValueState(){return this.component.hasValueStateMessage}_clearSelectedSuggestionAndaccInfo(){this.accInfo=void 0,this.selectedItemIndex=0}}a.SCROLL_STEP=60;I.SuggestionsClass=a;export{a as default}; diff --git a/app/vue/dist/assets/InspectFunction-Bu6vDTzz.js b/app/vue/dist/assets/InspectFunction-Bu6vDTzz.js deleted file mode 100644 index 2831d7c9..00000000 --- a/app/vue/dist/assets/InspectFunction-Bu6vDTzz.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as I,cA as m,co as R,d2 as F,bl as i,bi as u,cU as e,t as N,cB as x,cN as A,bk as h,bp as f,cZ as B,cW as H,cr as r,b8 as U}from"./index-Cmc-xxmd.js";import{u as $,a as w}from"./useCurrentSchema-BqWYAHf6.js";import{u as T}from"./useSmartTable-WzAaSsKz.js";import{S as L}from"./SmartTable-BtBFwGU3.js";import{C as q}from"./CodeBlock-D3rHmyOE.js";import"./SuggestionItem-D5k7H1pi.js";import"./Tab-DXA6J-WP.js";import"./TableHeaderRow-BwRbRfkI.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./slideUp-BU4b7UJI.js";const O={class:"inspect-function"},Y={class:"filter-bar"},Q={class:"filter-field"},V=["value"],z=["text"],G={key:0,class:"resolved-schema"},K={class:"filter-field"},W=["value"],Z=["text"],j=["disabled"],J={key:0,active:"",size:"Medium",class:"loading"},X={key:1,class:"error"},ee={design:"Negative","hide-close-button":""},te={key:2,class:"tabs","tab-layout":"Inline"},ae={text:"Parameters",selected:""},oe={key:0,text:"Columns"},se={text:"SQL"},le={key:3,class:"no-data"},ne=I({__name:"InspectFunction",setup(ue){const p=B(),{execute:M}=H(),c=m(p.query.schema||"**CURRENT_SCHEMA**"),l=m(p.query.function||""),d=m(!1),v=m(""),y=w("schemas-ui","SCHEMA_NAME"),E=w("functions-ui","FUNCTION_NAME"),{resolvedSchema:C}=$(),g=[{key:"PARAMETER_NAME",label:"Parameter",sortable:!0,importance:3,width:"20%"},{key:"DATA_TYPE_NAME",label:"Data Type",sortable:!0,importance:3,width:"15%"},{key:"LENGTH",label:"Length",sortable:!0,importance:2,width:"10%"},{key:"SCALE",label:"Scale",importance:1,width:"8%"},{key:"POSITION",label:"Position",sortable:!0,importance:2,width:"10%"},{key:"PARAMETER_TYPE",label:"Type",sortable:!0,importance:2,width:"10%"},{key:"IS_NULLABLE",label:"Nullable",sortable:!0,importance:1,width:"10%"},{key:"TABLE_TYPE_NAME",label:"Table Type",importance:0,width:"17%"}],k=[{key:"PARAMETER_NAME",label:"Parameter",sortable:!0,importance:3,width:"20%"},{key:"COLUMN_NAME",label:"Column",sortable:!0,importance:3,width:"20%"},{key:"DATA_TYPE_NAME",label:"Data Type",sortable:!0,importance:3,width:"15%"},{key:"LENGTH",label:"Length",sortable:!0,importance:2,width:"10%"},{key:"SCALE",label:"Scale",importance:1,width:"10%"},{key:"IS_NULLABLE",label:"Nullable",sortable:!0,importance:1,width:"10%"}],s=T(g),n=T(k),b=m(""),S=m(!1);async function _(){if(l.value){d.value=!0,v.value="";try{const o=await M("inspectFunction-ui",{schema:c.value,functionName:l.value});s.setData(o.parameters||[]);const t=o.columns||[];n.setData(t),S.value=t.length>0,b.value=o.sql||""}catch(o){v.value=o.message,s.setData([]),n.setData([])}finally{d.value=!1}}}function P(o){o==="excel"?s.exportExcel(`${l.value}_parameters.xlsx`):s.exportCsv(`${l.value}_parameters.csv`)}function D(o){o==="excel"?n.exportExcel(`${l.value}_columns.xlsx`):n.exportCsv(`${l.value}_columns.csv`)}return R(()=>{l.value&&_()}),F(()=>p.query,o=>{o.function&&(l.value=o.function,c.value=o.schema||"**CURRENT_SCHEMA**",_())}),(o,t)=>(r(),i("div",O,[t[8]||(t[8]=u("ui5-title",{level:"H3"},"Inspect Function",-1)),u("div",Y,[u("div",Q,[t[6]||(t[6]=u("ui5-label",{for:"schema"},"Schema:",-1)),u("ui5-input",{id:"schema",placeholder:"Schema",value:c.value,"show-suggestions":"",filter:"Contains",onChange:t[0]||(t[0]=a=>c.value=a.target.value),onFocus:t[1]||(t[1]=a=>e(y).ensureLoaded({limit:1e3,schema:"*"})),class:"filter-input"},[(r(!0),i(N,null,x(e(y).items.value,a=>(r(),i("ui5-suggestion-item",{key:a,text:a},null,8,z))),128))],40,V),c.value==="**CURRENT_SCHEMA**"&&e(C)?(r(),i("span",G,A(e(C)),1)):h("",!0)]),u("div",K,[t[7]||(t[7]=u("ui5-label",{for:"functionName"},"Function:",-1)),u("ui5-input",{id:"functionName",placeholder:"Function name",value:l.value,"show-suggestions":"",filter:"Contains",onChange:t[2]||(t[2]=a=>l.value=a.target.value),onFocus:t[3]||(t[3]=a=>e(E).ensureLoaded({schema:c.value,function:"*",limit:1e3})),class:"filter-input-wide"},[(r(!0),i(N,null,x(e(E).items.value,a=>(r(),i("ui5-suggestion-item",{key:a,text:a},null,8,Z))),128))],40,W)]),u("ui5-button",{design:"Emphasized",icon:"refresh",disabled:!l.value,onClick:_,class:"execute-btn"},"Inspect",8,j)]),d.value?(r(),i("ui5-busy-indicator",J)):v.value?(r(),i("div",X,[u("ui5-message-strip",ee,A(v.value),1)])):e(s).totalCount.value>0||b.value?(r(),i("ui5-tabcontainer",te,[u("ui5-tab",ae,[f(L,{title:`Parameters (${e(s).totalCount.value})`,columns:g,data:e(s).displayData.value,"sort-key":e(s).sortKey.value,"sort-dir":e(s).sortDir.value,"row-count":e(s).rowCount.value,"total-count":e(s).totalCount.value,onSort:e(s).toggleSort,onSearch:t[4]||(t[4]=a=>e(s).searchQuery.value=a),onExport:P},null,8,["title","data","sort-key","sort-dir","row-count","total-count","onSort"])]),S.value?(r(),i("ui5-tab",oe,[f(L,{title:`Parameter Columns (${e(n).totalCount.value})`,columns:k,data:e(n).displayData.value,"sort-key":e(n).sortKey.value,"sort-dir":e(n).sortDir.value,"row-count":e(n).rowCount.value,"total-count":e(n).totalCount.value,onSort:e(n).toggleSort,onSearch:t[5]||(t[5]=a=>e(n).searchQuery.value=a),onExport:D},null,8,["title","data","sort-key","sort-dir","row-count","total-count","onSort"])])):h("",!0),u("ui5-tab",se,[f(q,{code:b.value,language:"sql"},null,8,["code"])])])):!d.value&&l.value?(r(),i("div",le," Enter a function name and click Inspect to view details. ")):h("",!0)]))}}),ye=U(ne,[["__scopeId","data-v-d7b6cf9f"]]);export{ye as default}; diff --git a/app/vue/dist/assets/InspectTable-DDrRTst1.js b/app/vue/dist/assets/InspectTable-DDrRTst1.js deleted file mode 100644 index 40cf9443..00000000 --- a/app/vue/dist/assets/InspectTable-DDrRTst1.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as H,cA as c,co as $,d2 as q,bl as u,bi as s,cU as e,t as N,cB as w,cN as T,bk as A,bp as m,cZ as B,cW as F,cr as r,b8 as O}from"./index-Cmc-xxmd.js";import{u as K,a as M}from"./useCurrentSchema-BqWYAHf6.js";import{u as I}from"./useSmartTable-WzAaSsKz.js";import{S as D}from"./SmartTable-BtBFwGU3.js";import{C as h}from"./CodeBlock-D3rHmyOE.js";import"./SuggestionItem-D5k7H1pi.js";import"./Tab-DXA6J-WP.js";import"./TableHeaderRow-BwRbRfkI.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./slideUp-BU4b7UJI.js";const P={class:"inspect-view"},Q={class:"filter-bar"},V={class:"filter-field"},Y=["value"],z=["text"],G={key:0,class:"resolved-schema"},W={class:"filter-field"},Z=["value"],j=["text"],J=["disabled"],X={key:0,active:"",size:"Medium",class:"loading"},ee={key:1,class:"error"},te={key:2,class:"tabs","tab-layout":"Inline"},ae={text:"Fields",selected:""},oe={text:"Constraints"},se={text:"SQL"},le={text:"CDS"},ne={text:"HDbtable"},ie={key:3,class:"no-data"},ue=H({__name:"InspectTable",setup(re){const p=B(),{execute:L}=F(),d=c(p.query.schema||"**CURRENT_SCHEMA**"),n=c(p.query.table||""),v=c(!1),b=c(""),C=M("schemas-ui","SCHEMA_NAME"),y=M("tables-ui","TABLE_NAME"),{resolvedSchema:f}=K(),g=[{key:"COLUMN_NAME",label:"Column",sortable:!0,importance:3,width:"25%"},{key:"DATA_TYPE_NAME",label:"Data Type",sortable:!0,importance:3,width:"15%"},{key:"LENGTH",label:"Length",sortable:!0,importance:2,width:"10%"},{key:"SCALE",label:"Scale",importance:1,width:"8%"},{key:"IS_NULLABLE",label:"Nullable",sortable:!0,importance:2,width:"10%"},{key:"DEFAULT_VALUE",label:"Default",importance:1,width:"15%"},{key:"COMMENTS",label:"Comment",importance:0,width:"17%"}],E=[{key:"CONSTRAINT_NAME",label:"Constraint",sortable:!0,importance:3,width:"30%"},{key:"COLUMN_NAME",label:"Column",sortable:!0,importance:3,width:"25%"},{key:"IS_PRIMARY_KEY",label:"Primary Key",importance:2,width:"15%"},{key:"IS_UNIQUE_KEY",label:"Unique",importance:2,width:"15%"},{key:"POSITION",label:"Position",sortable:!0,importance:1,width:"15%"}],l=I(g),i=I(E),S=c(""),x=c(""),k=c("");async function _(){if(n.value){v.value=!0,b.value="";try{const a=await L("inspectTable-ui",{schema:d.value,table:n.value,limit:200});l.setData(a.fields||[]),i.setData(a.constraints||[]),S.value=a.sql||"",x.value=a.cds||"",k.value=a.hdbtable||""}catch(a){b.value=a.message,l.setData([]),i.setData([])}finally{v.value=!1}}}function U(a){a==="excel"?l.exportExcel(`${n.value}_fields.xlsx`):l.exportCsv(`${n.value}_fields.csv`)}function R(a){a==="excel"?i.exportExcel(`${n.value}_constraints.xlsx`):i.exportCsv(`${n.value}_constraints.csv`)}return $(()=>{n.value&&_()}),q(()=>p.query,a=>{a.table&&(n.value=a.table,d.value=a.schema||"**CURRENT_SCHEMA**",_())}),(a,t)=>(r(),u("div",P,[t[8]||(t[8]=s("ui5-title",{level:"H3"},"Inspect Table",-1)),s("div",Q,[s("div",V,[t[6]||(t[6]=s("ui5-label",{for:"schema"},"Schema:",-1)),s("ui5-input",{id:"schema",placeholder:"Schema",value:d.value,"show-suggestions":"",filter:"Contains",onChange:t[0]||(t[0]=o=>d.value=o.target.value),onFocus:t[1]||(t[1]=o=>e(C).ensureLoaded({limit:1e3,schema:"*"})),class:"filter-input"},[(r(!0),u(N,null,w(e(C).items.value,o=>(r(),u("ui5-suggestion-item",{key:o,text:o},null,8,z))),128))],40,Y),d.value==="**CURRENT_SCHEMA**"&&e(f)?(r(),u("span",G,T(e(f)),1)):A("",!0)]),s("div",W,[t[7]||(t[7]=s("ui5-label",{for:"tableName"},"Table:",-1)),s("ui5-input",{id:"tableName",placeholder:"Table name",value:n.value,"show-suggestions":"",filter:"Contains",onChange:t[2]||(t[2]=o=>n.value=o.target.value),onFocus:t[3]||(t[3]=o=>e(y).ensureLoaded({schema:d.value,table:"*",limit:1e3})),class:"filter-input-wide"},[(r(!0),u(N,null,w(e(y).items.value,o=>(r(),u("ui5-suggestion-item",{key:o,text:o},null,8,j))),128))],40,Z)]),s("ui5-button",{design:"Emphasized",icon:"refresh",disabled:!n.value,onClick:_,class:"execute-btn"},"Inspect",8,J)]),v.value?(r(),u("ui5-busy-indicator",X)):b.value?(r(),u("div",ee,[s("p",null,T(b.value),1)])):e(l).totalCount.value>0?(r(),u("ui5-tabcontainer",te,[s("ui5-tab",ae,[m(D,{title:`Columns (${e(l).totalCount.value})`,columns:g,data:e(l).displayData.value,"sort-key":e(l).sortKey.value,"sort-dir":e(l).sortDir.value,"row-count":e(l).rowCount.value,"total-count":e(l).totalCount.value,onSort:e(l).toggleSort,onSearch:t[4]||(t[4]=o=>e(l).searchQuery.value=o),onExport:U},null,8,["title","data","sort-key","sort-dir","row-count","total-count","onSort"])]),s("ui5-tab",oe,[m(D,{title:`Constraints (${e(i).totalCount.value})`,columns:E,data:e(i).displayData.value,"sort-key":e(i).sortKey.value,"sort-dir":e(i).sortDir.value,"row-count":e(i).rowCount.value,"total-count":e(i).totalCount.value,onSort:e(i).toggleSort,onSearch:t[5]||(t[5]=o=>e(i).searchQuery.value=o),onExport:R},null,8,["title","data","sort-key","sort-dir","row-count","total-count","onSort"])]),s("ui5-tab",se,[m(h,{code:S.value,language:"sql"},null,8,["code"])]),s("ui5-tab",le,[m(h,{code:x.value,language:"sql"},null,8,["code"])]),s("ui5-tab",ne,[m(h,{code:k.value,language:"sql"},null,8,["code"])])])):!v.value&&n.value?(r(),u("div",ie," Enter a table name and click Inspect to view details. ")):A("",!0)]))}}),ge=O(ue,[["__scopeId","data-v-1cf4178a"]]);export{ge as default}; diff --git a/app/vue/dist/assets/InspectView-BEGlOYWn.js b/app/vue/dist/assets/InspectView-BEGlOYWn.js deleted file mode 100644 index 897d46c4..00000000 --- a/app/vue/dist/assets/InspectView-BEGlOYWn.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as T,cA as r,co as V,d2 as D,bl as n,bi as a,cU as s,t as S,cB as k,cN as x,bk as N,bp as m,cZ as I,cW as H,cr as u,b8 as U}from"./index-Cmc-xxmd.js";import{u as B,a as A}from"./useCurrentSchema-BqWYAHf6.js";import{u as R}from"./useSmartTable-WzAaSsKz.js";import{S as q}from"./SmartTable-BtBFwGU3.js";import{C as h}from"./CodeBlock-D3rHmyOE.js";import"./SuggestionItem-D5k7H1pi.js";import"./Tab-DXA6J-WP.js";import"./TableHeaderRow-BwRbRfkI.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./slideUp-BU4b7UJI.js";const F={class:"inspect-view"},$={class:"filter-bar"},z={class:"filter-field"},O=["value"],Q=["text"],W={key:0,class:"resolved-schema"},G={class:"filter-field"},K=["value"],P=["text"],Y=["disabled"],Z={key:0,active:"",size:"Medium",class:"loading"},j={key:1,class:"error"},J={key:2,class:"tabs","tab-layout":"Inline"},X={text:"Fields",selected:""},ee={text:"SQL"},te={text:"CDS"},se={text:"HDBView"},ae={key:3,class:"no-data"},oe=T({__name:"InspectView",setup(le){const p=I(),{execute:L}=H(),c=r(p.query.schema||"**CURRENT_SCHEMA**"),i=r(p.query.view||""),d=r(!1),v=r(""),b=A("schemas-ui","SCHEMA_NAME"),f=A("views-ui","VIEW_NAME"),{resolvedSchema:w}=B(),g=[{key:"COLUMN_NAME",label:"Column",sortable:!0,importance:3,width:"25%"},{key:"DATA_TYPE_NAME",label:"Data Type",sortable:!0,importance:3,width:"15%"},{key:"LENGTH",label:"Length",sortable:!0,importance:2,width:"10%"},{key:"SCALE",label:"Scale",importance:1,width:"8%"},{key:"IS_NULLABLE",label:"Nullable",sortable:!0,importance:2,width:"10%"},{key:"DEFAULT_VALUE",label:"Default",importance:1,width:"15%"},{key:"COMMENTS",label:"Comment",importance:0,width:"17%"}],o=R(g),C=r(""),y=r(""),E=r("");async function _(){if(i.value){d.value=!0,v.value="";try{const t=await L("inspectView-ui",{schema:c.value,view:i.value,limit:200});o.setData(t.fields||t.columns||[]),C.value=t.sql||"",y.value=t.cds||"",E.value=t.hdbtable||t.hdbview||""}catch(t){v.value=t.message,o.setData([])}finally{d.value=!1}}}function M(t){t==="excel"?o.exportExcel(`${i.value}_fields.xlsx`):o.exportCsv(`${i.value}_fields.csv`)}return V(()=>{i.value&&_()}),D(()=>p.query,t=>{t.view&&(i.value=t.view,c.value=t.schema||"**CURRENT_SCHEMA**",_())}),(t,e)=>(u(),n("div",F,[e[7]||(e[7]=a("ui5-title",{level:"H3"},"Inspect View",-1)),a("div",$,[a("div",z,[e[5]||(e[5]=a("ui5-label",{for:"schema"},"Schema:",-1)),a("ui5-input",{id:"schema",placeholder:"Schema",value:c.value,"show-suggestions":"",filter:"Contains",onChange:e[0]||(e[0]=l=>c.value=l.target.value),onFocus:e[1]||(e[1]=l=>s(b).ensureLoaded({limit:1e3,schema:"*"})),class:"filter-input"},[(u(!0),n(S,null,k(s(b).items.value,l=>(u(),n("ui5-suggestion-item",{key:l,text:l},null,8,Q))),128))],40,O),c.value==="**CURRENT_SCHEMA**"&&s(w)?(u(),n("span",W,x(s(w)),1)):N("",!0)]),a("div",G,[e[6]||(e[6]=a("ui5-label",{for:"viewName"},"View:",-1)),a("ui5-input",{id:"viewName",placeholder:"View name",value:i.value,"show-suggestions":"",filter:"Contains",onChange:e[2]||(e[2]=l=>i.value=l.target.value),onFocus:e[3]||(e[3]=l=>s(f).ensureLoaded({schema:c.value,view:"*",limit:1e3})),class:"filter-input-wide"},[(u(!0),n(S,null,k(s(f).items.value,l=>(u(),n("ui5-suggestion-item",{key:l,text:l},null,8,P))),128))],40,K)]),a("ui5-button",{design:"Emphasized",icon:"refresh",disabled:!i.value,onClick:_,class:"execute-btn"},"Inspect",8,Y)]),d.value?(u(),n("ui5-busy-indicator",Z)):v.value?(u(),n("div",j,[a("p",null,x(v.value),1)])):s(o).totalCount.value>0?(u(),n("ui5-tabcontainer",J,[a("ui5-tab",X,[m(q,{title:`Columns (${s(o).totalCount.value})`,columns:g,data:s(o).displayData.value,"sort-key":s(o).sortKey.value,"sort-dir":s(o).sortDir.value,"row-count":s(o).rowCount.value,"total-count":s(o).totalCount.value,onSort:s(o).toggleSort,onSearch:e[4]||(e[4]=l=>s(o).searchQuery.value=l),onExport:M},null,8,["title","data","sort-key","sort-dir","row-count","total-count","onSort"])]),a("ui5-tab",ee,[m(h,{code:C.value,language:"sql"},null,8,["code"])]),a("ui5-tab",te,[m(h,{code:y.value,language:"sql"},null,8,["code"])]),a("ui5-tab",se,[m(h,{code:E.value,language:"sql"},null,8,["code"])])])):!d.value&&i.value?(u(),n("div",ae," Enter a view name and click Inspect to view details. ")):N("",!0)]))}}),be=U(oe,[["__scopeId","data-v-38012f8e"]]);export{be as default}; diff --git a/app/vue/dist/assets/Link-CUU7QKFS.js b/app/vue/dist/assets/Link-CUU7QKFS.js deleted file mode 100644 index 6fef1f12..00000000 --- a/app/vue/dist/assets/Link-CUU7QKFS.js +++ /dev/null @@ -1,2 +0,0 @@ -import{b_ as b,bZ as d,x as _,bB as v,bv as k,bu as m,cG as o,bN as x,c5 as y,d9 as g,c1 as w,am as T,bD as A,bR as D,bg as L,ba as S,a as I,M as E,N as R,cb as z,bd as N,A as f}from"./index-Cmc-xxmd.js";var u;(function(s){s.Default="Default",s.Subtle="Subtle",s.Emphasized="Emphasized"})(u||(u={}));const C=u;function P(){return b("a",{part:"root",class:"ui5-link-root",role:this.effectiveAccRole,href:this.parsedRef,target:this.target,rel:this._rel,tabindex:this.effectiveTabIndex,title:this.tooltip,"aria-disabled":this.disabled,"aria-label":this.ariaLabelText,"aria-haspopup":this._hasPopup,"aria-expanded":this.accessibilityAttributes.expanded,"aria-current":this.accessibilityAttributes.current,"aria-description":this.ariaDescriptionText,onClick:this._onclick,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,children:[this.icon&&d(_,{class:"ui5-link-icon",name:this.icon,mode:"Decorative",part:"icon"}),d("span",{class:"ui5-link-text",children:d("slot",{})}),this.hasLinkType&&d("span",{class:"ui5-hidden-text",children:this.linkTypeText}),this.endIcon&&d(_,{class:"ui5-link-end-icon",name:this.endIcon,mode:"Decorative",part:"endIcon"})]})}v("@ui5/webcomponents-theming","sap_horizon",async()=>k);v("@ui5/webcomponents","sap_horizon",async()=>m,"host");const B=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-flex}:host{max-width:100%;color:var(--sapLinkColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);cursor:pointer;outline:none;text-decoration:var(--_ui5_link_text_decoration);text-shadow:var(--sapContent_TextShadow);white-space:normal;overflow-wrap:break-word}:host(:hover){color:var(--sapLink_Hover_Color);text-decoration:var(--_ui5_link_hover_text_decoration)}:host(:active){color:var(--sapLink_Active_Color);text-decoration:var(--_ui5_link_active_text_decoration)}:host([disabled]){pointer-events:none}:host([disabled]) .ui5-link-root{text-shadow:none;outline:none;cursor:default;pointer-events:none;opacity:var(--sapContent_DisabledOpacity)}:host([design="Emphasized"]) .ui5-link-root{font-family:var(--sapFontBoldFamily)}:host([design="Subtle"]){color:var(--sapLink_SubtleColor);text-decoration:var(--_ui5_link_subtle_text_decoration)}:host([design="Subtle"]:hover:not(:active)){color:var(--sapLink_SubtleColor);text-decoration:var(--_ui5_link_subtle_text_decoration_hover)}:host([wrapping-type="None"]){white-space:nowrap;overflow-wrap:normal}.ui5-link-root{max-width:100%;display:inline-block;position:relative;overflow:hidden;text-overflow:ellipsis;outline:none;white-space:inherit;overflow-wrap:inherit;text-decoration:inherit;color:inherit}:host([wrapping-type="None"][end-icon]) .ui5-link-root{display:inline-flex;align-items:end}:host .ui5-link-root{outline-offset:-.0625rem;border-radius:var(--_ui5_link_focus_border-radius)}.ui5-link-icon,.ui5-link-end-icon{color:inherit;flex-shrink:0}.ui5-link-icon{float:inline-start;margin-inline-end:.125rem}.ui5-link-end-icon{margin-inline-start:.125rem;vertical-align:bottom}.ui5-link-text{overflow:hidden;text-overflow:ellipsis}.ui5-link-root:focus-visible,:host([desktop]) .ui5-link-root:focus-within,:host([design="Subtle"]) .ui5-link-root:focus-visible,:host([design="Subtle"][desktop]) .ui5-link-root:focus-within{background-color:var(--_ui5_link_focus_background_color);outline:var(--_ui5_link_outline);border-radius:var(--_ui5_link_focus_border-radius);text-shadow:none;color:var(--_ui5_link_focus_color)}:host(:not([desktop])) .ui5-link-root:focus-visible,:host([desktop]:focus-within),:host([design="Subtle"][desktop]:focus-within){text-decoration:var(--_ui5_link_focus_text_decoration)}:host([desktop]:hover:not(:active):focus-within),:host([design="Subtle"][desktop]:hover:not(:active):focus-within){color:var(--_ui5_link_focused_hover_text_color);text-decoration:var(--_ui5_link_focused_hover_text_decoration)}:host([interactive-area-size="Large"]) .ui5-link-root{line-height:var(--_ui5_link_large_interactive_area_height)}:host([interactive-area-size="Large"])::part(icon),:host([interactive-area-size="Large"])::part(endIcon){height:var(--_ui5_link_large_interactive_area_height)} -`;var i=function(s,e,n,a){var l=arguments.length,r=l<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(s,e,n,a);else for(var h=s.length-1;h>=0;h--)(c=s[h])&&(r=(l<3?c(r):l>3?c(e,n,r):c(e,n))||r);return l>3&&r&&Object.defineProperty(e,n,r),r},p;let t=p=class extends T{constructor(){super(),this.disabled=!1,this.design="Default",this.interactiveAreaSize="Normal",this.wrappingType="Normal",this.accessibleRole="Link",this.accessibilityAttributes={},this._dummyAnchor=document.createElement("a")}onEnterDOM(){A()&&this.setAttribute("desktop","")}onBeforeRendering(){const e=this.target==="_blank"&&this.href&&this._isCrossOrigin(this.href);this._rel=e?"noreferrer noopener":void 0}_isCrossOrigin(e){return this._dummyAnchor.href=e,!(this._dummyAnchor.hostname===D()&&this._dummyAnchor.port===L()&&this._dummyAnchor.protocol===S())}get effectiveTabIndex(){return this.forcedTabIndex?Number.parseInt(this.forcedTabIndex):this.disabled?-1:0}get ariaLabelText(){return I(this)}get hasLinkType(){return this.design!==C.Default}static typeTextMappings(){return{Subtle:R,Emphasized:E}}get linkTypeText(){return p.i18nBundle.getText(p.typeTextMappings()[this.design])}get parsedRef(){return this.href&&this.href.length>0?this.href:void 0}get effectiveAccRole(){return z(this.accessibleRole)}get ariaDescriptionText(){return this.accessibleDescription===""?void 0:this.accessibleDescription}get _hasPopup(){return this.accessibilityAttributes.hasPopup}_onclick(e){const{altKey:n,ctrlKey:a,metaKey:l,shiftKey:r}=e;e.stopImmediatePropagation(),this.fireDecoratorEvent("click",{altKey:n,ctrlKey:a,metaKey:l,shiftKey:r})||e.preventDefault()}_onkeydown(e){N(e)&&!this.href?(this._onclick(e),e.preventDefault()):f(e)&&e.preventDefault()}_onkeyup(e){if(f(e)&&(this._onclick(e),this.href&&!e.defaultPrevented)){const n=new MouseEvent("click");n.stopImmediatePropagation(),this.getDomRef().dispatchEvent(n)}}};i([o({type:Boolean})],t.prototype,"disabled",void 0);i([o()],t.prototype,"tooltip",void 0);i([o()],t.prototype,"href",void 0);i([o()],t.prototype,"target",void 0);i([o()],t.prototype,"design",void 0);i([o()],t.prototype,"interactiveAreaSize",void 0);i([o()],t.prototype,"wrappingType",void 0);i([o()],t.prototype,"accessibleName",void 0);i([o()],t.prototype,"accessibleNameRef",void 0);i([o()],t.prototype,"accessibleRole",void 0);i([o({type:Object})],t.prototype,"accessibilityAttributes",void 0);i([o()],t.prototype,"accessibleDescription",void 0);i([o()],t.prototype,"icon",void 0);i([o()],t.prototype,"endIcon",void 0);i([o({noAttribute:!0})],t.prototype,"_rel",void 0);i([o({noAttribute:!0})],t.prototype,"forcedTabIndex",void 0);i([x("@ui5/webcomponents")],t,"i18nBundle",void 0);t=p=i([y({tag:"ui5-link",languageAware:!0,renderer:g,template:P,styles:B}),w("click",{bubbles:!0,cancelable:!0})],t);t.define();const j=t;export{j as L}; diff --git a/app/vue/dist/assets/ListItemBaseTemplate-fB6cyhUP.js b/app/vue/dist/assets/ListItemBaseTemplate-fB6cyhUP.js deleted file mode 100644 index 001d0b02..00000000 --- a/app/vue/dist/assets/ListItemBaseTemplate-fB6cyhUP.js +++ /dev/null @@ -1 +0,0 @@ -import{bZ as i}from"./index-Cmc-xxmd.js";function s(l,t){const n=(l==null?void 0:l.listItemContent)||a;return i("li",{part:"native-li","data-sap-focus-ref":!0,tabindex:this._effectiveTabIndex,class:this.classes.main,draggable:this.movable,role:t==null?void 0:t.role,title:t==null?void 0:t.title,onFocusIn:this._onfocusin,onKeyUp:this._onkeyup,onKeyDown:this._onkeydown,onClick:this._onclick,children:n.call(this)})}function a(){return i("div",{part:"content",id:`${this._id}-content`,class:"ui5-li-content",children:i("div",{class:"ui5-li-text-wrapper",children:i("span",{part:"title",class:"ui5-li-title",children:i("slot",{})})})})}export{s as L}; diff --git a/app/vue/dist/assets/ListItemStandardExpandableTextTemplate-C2dmZvS-.js b/app/vue/dist/assets/ListItemStandardExpandableTextTemplate-C2dmZvS-.js deleted file mode 100644 index 885d5a75..00000000 --- a/app/vue/dist/assets/ListItemStandardExpandableTextTemplate-C2dmZvS-.js +++ /dev/null @@ -1,3 +0,0 @@ -import{bZ as o,b_ as _,u as y,bB as m,bv as b,bu as E,cG as x,br as C,bN as P,c5 as O,d9 as B,am as w,cM as I,E as A,n as L,ak as R,g as S,p as M,r as N,o as F,q as D,s as X,bs as z}from"./index-Cmc-xxmd.js";import{L as j}from"./Link-CUU7QKFS.js";var T;(function(t){t.InPlace="InPlace",t.Popover="Popover"})(T||(T={}));const k=T;var g;(function(t){t.Off="Off",t.On="On"})(g||(g={}));const $=g;function H(){return o(y,{children:o("span",{children:this._renderEmptyIndicator?_(y,{children:[o("span",{className:"empty-indicator","aria-hidden":"true",children:this._emptyIndicatorSymbol}),o("span",{className:"empty-indicator-aria-label",children:this._emptyIndicatorAriaLabel})]}):o("slot",{})})})}m("@ui5/webcomponents-theming","sap_horizon",async()=>b);m("@ui5/webcomponents","sap_horizon",async()=>E,"host");const W=`:host{max-width:100%;font-size:var(--sapFontSize);font-family:var(--sapFontFamily);color:var(--sapTextColor);line-height:normal;cursor:text;overflow:hidden}:host([max-lines="1"]){display:inline-block;text-overflow:ellipsis;white-space:nowrap}:host(:not([max-lines="1"])){display:-webkit-inline-box;-webkit-line-clamp:var(--_ui5_text_max_lines);line-clamp:var(--_ui5_text_max_lines);-webkit-box-orient:vertical;white-space:normal;word-wrap:break-word}.empty-indicator-aria-label{position:absolute!important;clip:rect(1px,1px,1px,1px);user-select:none;left:0;top:0;font-size:0} -`;var h=function(t,e,n,s){var a=arguments.length,i=a<3?e:s===null?s=Object.getOwnPropertyDescriptor(e,n):s,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,n,s);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(i=(a<3?l(i):a>3?l(e,n,i):l(e,n))||i);return a>3&&i&&Object.defineProperty(e,n,i),i},f;let p=f=class extends w{constructor(){super(...arguments),this.maxLines=1/0,this.emptyIndicatorMode="Off"}onBeforeRendering(){this.style.setProperty("--_ui5_text_max_lines",`${this.maxLines}`)}get hasText(){return I(this.text)}get _renderEmptyIndicator(){return!this.hasText&&this.emptyIndicatorMode===$.On}get _emptyIndicatorAriaLabel(){return f.i18nBundle.getText(A)}get _emptyIndicatorSymbol(){return f.i18nBundle.getText(L)}};h([x({type:Number})],p.prototype,"maxLines",void 0);h([x()],p.prototype,"emptyIndicatorMode",void 0);h([C({type:Node,default:!0})],p.prototype,"text",void 0);h([P("@ui5/webcomponents")],p,"i18nBundle",void 0);p=f=h([O({tag:"ui5-text",renderer:B,template:H,styles:W})],p);p.define();const v=p;function q(){return _("div",{children:[o(v,{class:"ui5-exp-text-text",emptyIndicatorMode:this.emptyIndicatorMode,children:this._displayedText}),this._maxCharactersExceeded&&_(y,{children:[o("span",{class:"ui5-exp-text-ellipsis",children:this._ellipsisText}),o(j,{id:"toggle",class:"ui5-exp-text-toggle",accessibleRole:"Button",accessibleName:this._accessibleNameForToggle,accessibilityAttributes:this._accessibilityAttributesForToggle,onClick:this._handleToggleClick,children:this._textForToggle}),this._usePopover&&_(R,{open:this._expanded,opener:"toggle",accessibleNameRef:"popover-text",contentOnlyOnDesktop:!0,_hideHeader:!0,class:"ui5-exp-text-popover",onClose:this._handlePopoverClose,children:[o(v,{id:"popover-text",children:this.text}),o("div",{slot:"footer",class:"ui5-exp-text-footer",children:o(S,{design:"Transparent",onClick:this._handleCloseButtonClick,children:this._closeButtonText})})]})]})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>b);m("@ui5/webcomponents","sap_horizon",async()=>E,"host");const Y=`:host{display:inline-block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapTextColor)}:host([hidden]){display:none}.ui5-exp-text-text{display:inline}.ui5-exp-text-text,.ui5-exp-text-toggle{font-family:inherit;font-size:inherit}.ui5-exp-text-text,.ui5-exp-text-ellipsis{color:inherit}.ui5-exp-text-popover::part(content){padding-inline:1rem}.ui5-exp-text-footer{width:100%;display:flex;align-items:center;justify-content:flex-end} -`;var u=function(t,e,n,s){var a=arguments.length,i=a<3?e:s===null?s=Object.getOwnPropertyDescriptor(e,n):s,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,n,s);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(i=(a<3?l(i):a>3?l(e,n,i):l(e,n))||i);return a>3&&i&&Object.defineProperty(e,n,i),i},c;let r=c=class extends w{constructor(){super(...arguments),this.maxCharacters=100,this.overflowMode="InPlace",this.emptyIndicatorMode="Off",this._expanded=!1}getFocusDomRef(){var e,n;return this._usePopover?(e=this.shadowRoot)==null?void 0:e.querySelector("[ui5-responsive-popover]"):(n=this.shadowRoot)==null?void 0:n.querySelector("[ui5-link]")}get _displayedText(){var e;return this._expanded&&!this._usePopover?this.text:(e=this.text)==null?void 0:e.substring(0,this.maxCharacters)}get _maxCharactersExceeded(){var e;return(((e=this.text)==null?void 0:e.length)||0)>this.maxCharacters}get _usePopover(){return this.overflowMode===k.Popover}get _ellipsisText(){return this._expanded&&!this._usePopover?" ":"... "}get _textForToggle(){return this._expanded?c.i18nBundle.getText(M):c.i18nBundle.getText(N)}get _closeButtonText(){return c.i18nBundle.getText(F)}get _accessibilityAttributesForToggle(){return this._usePopover?{expanded:this._expanded,hasPopup:"dialog"}:{expanded:this._expanded}}get _accessibleNameForToggle(){if(this._usePopover)return this._expanded?c.i18nBundle.getText(D):c.i18nBundle.getText(X)}_handlePopoverClose(){z()||(this._expanded=!1)}_handleToggleClick(){this._expanded=!this._expanded}_handleCloseButtonClick(e){this._expanded=!1,e.stopPropagation()}};u([x()],r.prototype,"text",void 0);u([x({type:Number})],r.prototype,"maxCharacters",void 0);u([x()],r.prototype,"overflowMode",void 0);u([x()],r.prototype,"emptyIndicatorMode",void 0);u([x({type:Boolean})],r.prototype,"_expanded",void 0);u([P("@ui5/webcomponents")],r,"i18nBundle",void 0);r=c=u([O({tag:"ui5-expandable-text",renderer:B,styles:Y,template:q})],r);r.define();function K(t){const{className:e,text:n,maxCharacters:s,part:a}=t;return o(r,{part:a,class:e,text:n,maxCharacters:s})}export{K as default}; diff --git a/app/vue/dist/assets/MassConvert-D2zgg1Rc.js b/app/vue/dist/assets/MassConvert-D2zgg1Rc.js deleted file mode 100644 index 5f59af6c..00000000 --- a/app/vue/dist/assets/MassConvert-D2zgg1Rc.js +++ /dev/null @@ -1 +0,0 @@ -import{u as z,a as $}from"./useCurrentSchema-BqWYAHf6.js";import{bx as I,bl as n,bi as t,cU as u,t as _,cB as y,cN as r,bk as F,cj as J,bo as f,cA as l,cR as Q,cr as i,b8 as K}from"./index-Cmc-xxmd.js";import"./SuggestionItem-D5k7H1pi.js";import"./MessageStrip-st-aaDs2.js";import"./Option-yBqY0LHt.js";import"./ListItemBaseTemplate-fB6cyhUP.js";const G={class:"mass-convert-view"},X={class:"form-card"},Y={class:"form-grid"},Z={class:"form-field"},ee=["value"],te=["text"],se={key:0,class:"resolved-hint"},le={class:"form-field"},oe=["value"],ne=["text"],ie={class:"form-field"},ae=["value"],ue=["text"],re={class:"form-field"},de=["selected"],ve=["selected"],ce=["selected"],ge={class:"form-card"},fe={class:"form-grid"},me={class:"form-field"},pe=["value"],be={class:"form-field"},he=["value"],Ce={class:"form-field"},ke=["value"],xe={class:"form-field"},_e=["value"],ye={class:"form-field"},we=["value"],Se={class:"form-field checkbox-field"},Ee=["checked"],Ne={class:"form-field checkbox-field"},Me=["checked"],Te={class:"form-field checkbox-field"},Ae=["checked"],Oe={class:"form-field checkbox-field"},De=["checked"],He={class:"form-field checkbox-field"},Pe=["checked"],Ue={class:"form-field checkbox-field"},Le=["checked"],$e={class:"form-field checkbox-field"},Fe=["checked"],Re={design:"Subheader"},Ve=["disabled"],We={key:0,class:"error"},qe={design:"Negative","hide-close-button":""},Be={class:"log-card"},je={class:"progress-section"},ze={class:"progress-bar-container"},Ie={class:"progress-label"},Je={class:"log-section"},Qe={class:"log-messages"},Ke={key:0,class:"log-placeholder"},Ge=["open"],Xe={style:{padding:"1rem"}},Ye={slot:"footer",style:{display:"flex","justify-content":"flex-end",gap:"0.5rem",padding:"0.5rem"}},Ze=I({__name:"MassConvert",setup(et){const d=l("**CURRENT_SCHEMA**"),k=l("*"),x=l("*"),g=l("cds"),w=l(200),S=l("./"),E=l(""),N=l(!1),M=l(!1),T=l(!1),A=l(!0),O=l(!1),D=l(""),H=l(""),P=l(!1),U=l(!1),v=l(!1),m=l([]),p=l(""),b=l(0),R=$("schemas-ui","SCHEMA_NAME"),V=$("tables-ui","TABLE_NAME"),W=$("views-ui","VIEW_NAME"),{resolvedSchema:q}=z(),h=l(!1);let o=null;function B(){o&&(o.onclose=null,o.close(),o=null);const e=`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/websockets`;o=new WebSocket(e),o.onopen=()=>{o==null||o.send(JSON.stringify({action:"massConvert"}))},o.onmessage=s=>{var c,C;try{const a=JSON.parse(s.data);a.progress!==void 0&&a.progress!==null&&(b.value=Math.round(a.progress)),a.text&&m.value.push(a.text),(a.progress===100||(c=a.text)!=null&&c.includes("Complete")||(C=a.text)!=null&&C.includes("complete"))&&(v.value=!1,b.value=100,Q.show("Mass convert completed successfully"))}catch{m.value.push(s.data)}},o.onerror=()=>{p.value="WebSocket connection error",v.value=!1},o.onclose=()=>{v.value&&(v.value=!1)}}async function j(){h.value=!1,v.value=!0,m.value=[],p.value="",b.value=0;try{await fetch("/",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({schema:d.value,table:k.value,view:x.value,output:g.value,limit:w.value,folder:S.value,filename:E.value,log:N.value,useHanaTypes:M.value,useCatalogPure:T.value,useExists:A.value,useQuoted:O.value,namespace:D.value,synonyms:H.value,keepPath:P.value,noColons:U.value})}),B()}catch(L){p.value=L.message,v.value=!1}}return(L,e)=>(i(),n("div",G,[e[44]||(e[44]=t("ui5-title",{level:"H3"},"Mass Convert",-1)),e[45]||(e[45]=t("p",{class:"subtitle"},"Convert tables and views in a schema to CDS format (hdbtable, hdbmigrationtable, or CDS)",-1)),t("div",X,[e[26]||(e[26]=t("ui5-title",{level:"H5"},"Conversion Target",-1)),t("div",Y,[t("div",Z,[e[22]||(e[22]=t("ui5-label",{required:""},"Schema",-1)),t("ui5-input",{value:d.value,"show-suggestions":"",filter:"Contains",onChange:e[0]||(e[0]=s=>d.value=s.target.value),onFocus:e[1]||(e[1]=s=>u(R).ensureLoaded({limit:1e3,schema:"*"}))},[(i(!0),n(_,null,y(u(R).items.value,s=>(i(),n("ui5-suggestion-item",{key:s,text:s},null,8,te))),128))],40,ee),d.value==="**CURRENT_SCHEMA**"&&u(q)?(i(),n("span",se,r(u(q)),1)):F("",!0)]),t("div",le,[e[23]||(e[23]=t("ui5-label",{required:""},"Database Table",-1)),t("ui5-input",{value:k.value,"show-suggestions":"",filter:"Contains",onChange:e[2]||(e[2]=s=>k.value=s.target.value),onFocus:e[3]||(e[3]=s=>u(V).ensureLoaded({schema:d.value,table:"*",limit:1e3})),placeholder:"* (all tables)"},[(i(!0),n(_,null,y(u(V).items.value,s=>(i(),n("ui5-suggestion-item",{key:s,text:s},null,8,ne))),128))],40,oe)]),t("div",ie,[e[24]||(e[24]=t("ui5-label",null,"Database View",-1)),t("ui5-input",{value:x.value,"show-suggestions":"",filter:"Contains",onChange:e[4]||(e[4]=s=>x.value=s.target.value),onFocus:e[5]||(e[5]=s=>u(W).ensureLoaded({schema:d.value,view:"*",limit:1e3})),placeholder:"* (all views)"},[(i(!0),n(_,null,y(u(W).items.value,s=>(i(),n("ui5-suggestion-item",{key:s,text:s},null,8,ue))),128))],40,ae)]),t("div",re,[e[25]||(e[25]=t("ui5-label",{required:""},"Output Format for Conversion",-1)),t("ui5-select",{onChange:e[6]||(e[6]=s=>{var c,C;return g.value=((C=(c=s.detail)==null?void 0:c.selectedOption)==null?void 0:C.value)||"cds"})},[t("ui5-option",{value:"cds",selected:g.value==="cds"},"CDS",8,de),t("ui5-option",{value:"hdbtable",selected:g.value==="hdbtable"},"hdbtable",8,ve),t("ui5-option",{value:"hdbmigrationtable",selected:g.value==="hdbmigrationtable"},"hdbmigrationtable",8,ce)],32)])])]),t("div",ge,[e[32]||(e[32]=t("ui5-title",{level:"H5"},"Conversion Options",-1)),t("div",fe,[t("div",me,[e[27]||(e[27]=t("ui5-label",{required:""},"Limit results",-1)),t("ui5-input",{type:"Number",value:String(w.value),onChange:e[7]||(e[7]=s=>w.value=Number(s.target.value)||200)},null,40,pe)]),t("div",be,[e[28]||(e[28]=t("ui5-label",{required:""},"Output Folder",-1)),t("ui5-input",{value:S.value,onChange:e[8]||(e[8]=s=>S.value=s.target.value),placeholder:"./"},null,40,he)]),t("div",Ce,[e[29]||(e[29]=t("ui5-label",null,"File name",-1)),t("ui5-input",{value:E.value,onChange:e[9]||(e[9]=s=>E.value=s.target.value),placeholder:"Optional output filename"},null,40,ke)]),t("div",xe,[e[30]||(e[30]=t("ui5-label",null,"CDS namespace",-1)),t("ui5-input",{value:D.value,onChange:e[10]||(e[10]=s=>D.value=s.target.value),placeholder:"Optional CDS namespace"},null,40,_e)]),t("div",ye,[e[31]||(e[31]=t("ui5-label",null,"Synonyms output file",-1)),t("ui5-input",{value:H.value,onChange:e[11]||(e[11]=s=>H.value=s.target.value),placeholder:"Optional synonyms file path"},null,40,we)]),t("div",Se,[t("ui5-checkbox",{text:"Use HANA Types",checked:M.value,onChange:e[12]||(e[12]=s=>M.value=s.target.checked)},null,40,Ee)]),t("div",Ne,[t("ui5-checkbox",{text:'Use "Pure" Catalog Definitions',checked:T.value,onChange:e[13]||(e[13]=s=>T.value=s.target.checked)},null,40,Me)]),t("div",Te,[t("ui5-checkbox",{text:"Write progress log to file rather than stop on error",checked:N.value,onChange:e[14]||(e[14]=s=>N.value=s.target.checked)},null,40,Ae)]),t("div",Oe,[t("ui5-checkbox",{text:"Keep table/view path (with dots)",checked:P.value,onChange:e[15]||(e[15]=s=>P.value=s.target.checked)},null,40,De)]),t("div",He,[t("ui5-checkbox",{text:"Replace :: in table/view path with dot",checked:U.value,onChange:e[16]||(e[16]=s=>U.value=s.target.checked)},null,40,Pe)]),t("div",Ue,[t("ui5-checkbox",{text:"Use Persistence Exists Annotation",checked:A.value,onChange:e[17]||(e[17]=s=>A.value=s.target.checked)},null,40,Le)]),t("div",$e,[t("ui5-checkbox",{text:"Use Quoted Identifiers ![non-identifier]",checked:O.value,onChange:e[18]||(e[18]=s=>O.value=s.target.checked)},null,40,Fe)])])]),t("ui5-bar",Re,[t("ui5-button",{slot:"endContent",design:"Emphasized",icon:"batch-payments",disabled:v.value,onClick:e[19]||(e[19]=s=>h.value=!0)},"Start Mass Convert",8,Ve)]),p.value?(i(),n("div",We,[t("ui5-message-strip",qe,r(p.value),1)])):F("",!0),t("div",Be,[e[35]||(e[35]=t("ui5-title",{level:"H5"},"Processing Log",-1)),t("div",je,[e[33]||(e[33]=t("ui5-label",null,"Progress:",-1)),t("div",ze,[t("div",{class:"progress-bar-fill",style:J({width:b.value+"%"})},null,4)]),t("span",Ie,r(b.value)+"%",1)]),t("div",Je,[e[34]||(e[34]=t("ui5-label",null,"Processing Log:",-1)),t("div",Qe,[m.value.length===0?(i(),n("div",Ke,"Waiting to start...")):F("",!0),(i(!0),n(_,null,y(m.value,(s,c)=>(i(),n("div",{key:c,class:"log-line"},r(s),1))),128))])])]),t("ui5-dialog",{"header-text":"Confirm Mass Convert",open:h.value,onClose:e[21]||(e[21]=s=>h.value=!1)},[t("p",Xe,[e[36]||(e[36]=f(" Convert tables/views in schema ",-1)),t("strong",null,r(d.value),1),e[37]||(e[37]=f(" to ",-1)),t("strong",null,r(g.value),1),e[38]||(e[38]=f(" format? ",-1)),e[39]||(e[39]=t("br",null,null,-1)),e[40]||(e[40]=f("Table filter: ",-1)),t("strong",null,r(k.value),1),e[41]||(e[41]=f(", View filter: ",-1)),t("strong",null,r(x.value),1),e[42]||(e[42]=t("br",null,null,-1)),e[43]||(e[43]=f("This operation may take several minutes for large schemas. ",-1))]),t("div",Ye,[t("ui5-button",{design:"Emphasized",onClick:j},"Convert"),t("ui5-button",{design:"Transparent",onClick:e[20]||(e[20]=s=>h.value=!1)},"Cancel")])],40,Ge)]))}}),at=K(Ze,[["__scopeId","data-v-44489439"]]);export{at as default}; diff --git a/app/vue/dist/assets/MessageStrip-st-aaDs2.js b/app/vue/dist/assets/MessageStrip-st-aaDs2.js deleted file mode 100644 index afa5d5f6..00000000 --- a/app/vue/dist/assets/MessageStrip-st-aaDs2.js +++ /dev/null @@ -1,2 +0,0 @@ -import{b_ as C,bZ as i,x as S,g as I,bU as k,bA as B,cK as f,bb as T,bt as x,bB as v,bv as E,bu as P,cG as g,br as N,bN as O,c5 as R,d9 as A,c1 as M,am as w,a1 as y,a7 as h,ab as G,a8 as U,aa as L,a9 as z,a3 as b,a2 as F,a5 as j,a6 as H,a4 as W}from"./index-Cmc-xxmd.js";var m;(function(e){e.Information="Information",e.Positive="Positive",e.Negative="Negative",e.Critical="Critical",e.ColorSet1="ColorSet1",e.ColorSet2="ColorSet2"})(m||(m={}));const u=m;function $(){return C("div",{id:this._id,class:{"ui5-message-strip-root":!0,"ui5-message-strip-root-hide-icon":this.shouldHideIcon,"ui5-message-strip-root-hide-close-button":this.hideCloseButton,[this.designClasses]:!0},role:"note","aria-labelledby":"hidden-text content-text",children:[!this.shouldHideIcon&&i("div",{class:"ui5-message-strip-icon-wrapper","aria-hidden":"true",children:this.iconProvided?i("slot",{name:"icon"}):i(S,{name:V.call(this),class:"ui5-message-strip-icon"})}),i("span",{class:"ui5-hidden-text",id:"hidden-text",children:this.hiddenText}),i("span",{class:"ui5-message-strip-text",id:"content-text",children:i("slot",{})}),!this.hideCloseButton&&i(I,{icon:x,design:"Transparent",class:"ui5-message-strip-close-button",tooltip:this._closeButtonText,accessibleName:this._closeButtonText,onClick:this._closeClick})]})}function V(){switch(this.design){case u.Critical:return T;case u.Positive:return f;case u.Negative:return B;case u.Information:return k;default:return}}v("@ui5/webcomponents-theming","sap_horizon",async()=>E);v("@ui5/webcomponents","sap_horizon",async()=>P,"host");const K=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block;width:100%}.ui5-message-strip-root{width:100%;height:100%;display:flex;border-radius:var(--sapPopover_BorderCornerRadius);padding:var(--_ui5_message_strip_padding);border-width:var(--_ui5_message_strip_border_width);border-style:solid;box-sizing:border-box;position:relative}.ui5-message-strip-root-hide-icon{padding-inline:var(--_ui5_message_strip_padding_inline_no_icon);padding-block:var(--_ui5_message_strip_padding_block_no_icon)}.ui5-message-strip-root-hide-close-button{padding-inline-end:1rem}.ui5-message-strip-root--info{background-color:var(--sapInformationBackground);border-color:var(--sapMessage_InformationBorderColor);color:var(--sapTextColor)}.ui5-message-strip-root--info .ui5-message-strip-icon{color:var(--sapInformativeElementColor)}.ui5-message-strip-root--positive{background-color:var(--sapSuccessBackground);border-color:var(--sapMessage_SuccessBorderColor)}.ui5-message-strip-root--positive .ui5-message-strip-icon{color:var(--sapPositiveElementColor)}.ui5-message-strip-root--negative{background-color:var(--sapErrorBackground);border-color:var(--sapMessage_ErrorBorderColor)}.ui5-message-strip-root--negative .ui5-message-strip-icon{color:var(--sapNegativeElementColor)}.ui5-message-strip-root--critical{background-color:var(--sapWarningBackground);border-color:var(--sapMessage_WarningBorderColor)}.ui5-message-strip-root--critical .ui5-message-strip-icon{color:var(--sapCriticalElementColor)}.ui5-message-strip-icon-wrapper{position:absolute;top:var(--_ui5_message_strip_icon_top);inset-inline-start:.75rem;box-sizing:border-box}.ui5-message-strip-text{width:100%;color:var(--sapTextColor);line-height:1.2;font-family:var(--sapFontFamily);font-size:var(--sapFontSize)}.ui5-message-strip-close-button{height:1.625rem;min-height:1.625rem;position:absolute;top:var(--_ui5_message_strip_close_button_top);inset-inline-end:var(--_ui5_message_strip_close_button_right)}:host([color-scheme="1"]) .ui5-message-strip-root--color-set-1,:host(:not([color-scheme])[design="ColorSet1"]) .ui5-message-strip-root--color-set-1{background-color:var(--sapIndicationColor_1_Background);border-color:var(--sapIndicationColor_1_BorderColor)}:host([color-scheme="2"]) .ui5-message-strip-root--color-set-1{background-color:var(--sapIndicationColor_2_Background);border-color:var(--sapIndicationColor_2_BorderColor)}:host([color-scheme="3"]) .ui5-message-strip-root--color-set-1{background-color:var(--sapIndicationColor_3_Background);border-color:var(--sapIndicationColor_3_BorderColor)}:host([color-scheme="4"]) .ui5-message-strip-root--color-set-1{background-color:var(--sapIndicationColor_4_Background);border-color:var(--sapIndicationColor_4_BorderColor)}:host([color-scheme="5"]) .ui5-message-strip-root--color-set-1{background-color:var(--sapIndicationColor_5_Background);border-color:var(--sapIndicationColor_5_BorderColor)}:host([color-scheme="6"]) .ui5-message-strip-root--color-set-1{background-color:var(--sapIndicationColor_6_Background);border-color:var(--sapIndicationColor_6_BorderColor)}:host([color-scheme="7"]) .ui5-message-strip-root--color-set-1{background-color:var(--sapIndicationColor_7_Background);border-color:var(--sapIndicationColor_7_BorderColor)}:host([color-scheme="8"]) .ui5-message-strip-root--color-set-1{background-color:var(--sapIndicationColor_8_Background);border-color:var(--sapIndicationColor_8_BorderColor)}:host([color-scheme="9"]) .ui5-message-strip-root--color-set-1{background-color:var(--sapIndicationColor_9_Background);border-color:var(--sapIndicationColor_9_BorderColor)}:host([color-scheme="10"]) .ui5-message-strip-root--color-set-1{background-color:var(--sapIndicationColor_10_Background);border-color:var(--sapIndicationColor_10_BorderColor)}:host([color-scheme="1"]) .ui5-message-strip-root--color-set-2,:host(:not([color-scheme])[design="ColorSet2"]) .ui5-message-strip-root--color-set-2{background-color:var(--_ui5_message_strip_scheme_1_set_2_background);border-color:var(--_ui5_message_strip_scheme_1_set_2_border_color)}:host([color-scheme="2"]) .ui5-message-strip-root--color-set-2{background-color:var(--_ui5_message_strip_scheme_2_set_2_background);border-color:var(--_ui5_message_strip_scheme_2_set_2_border_color)}:host([color-scheme="3"]) .ui5-message-strip-root--color-set-2{background-color:var(--_ui5_message_strip_scheme_3_set_2_background);border-color:var(--_ui5_message_strip_scheme_3_set_2_border_color)}:host([color-scheme="4"]) .ui5-message-strip-root--color-set-2{background-color:var(--_ui5_message_strip_scheme_4_set_2_background);border-color:var(--_ui5_message_strip_scheme_4_set_2_border_color)}:host([color-scheme="5"]) .ui5-message-strip-root--color-set-2{background-color:var(--_ui5_message_strip_scheme_5_set_2_background);border-color:var(--_ui5_message_strip_scheme_5_set_2_border_color)}:host([color-scheme="6"]) .ui5-message-strip-root--color-set-2{background-color:var(--_ui5_message_strip_scheme_6_set_2_background);border-color:var(--_ui5_message_strip_scheme_6_set_2_border_color)}:host([color-scheme="7"]) .ui5-message-strip-root--color-set-2{background-color:var(--_ui5_message_strip_scheme_7_set_2_background);border-color:var(--_ui5_message_strip_scheme_7_set_2_border_color)}:host([color-scheme="8"]) .ui5-message-strip-root--color-set-2{background-color:var(--_ui5_message_strip_scheme_8_set_2_background);border-color:var(--_ui5_message_strip_scheme_8_set_2_border_color)}:host([color-scheme="9"]) .ui5-message-strip-root--color-set-2{background-color:var(--_ui5_message_strip_scheme_9_set_2_background);border-color:var(--_ui5_message_strip_scheme_9_set_2_border_color)}:host([color-scheme="10"]) .ui5-message-strip-root--color-set-2{background-color:var(--_ui5_message_strip_scheme_10_set_2_background);border-color:var(--_ui5_message_strip_scheme_10_set_2_border_color)}:host([design="ColorSet1"]) .ui5-message-strip-root .ui5-message-strip-text{color:var(--sapContent_ContrastTextColor);text-shadow:var(--sapContent_ContrastTextShadow)}:host([design="ColorSet1"]) .ui5-message-strip-root ::slotted([slot="icon"]){color:var(--sapContent_ContrastIconColor);text-shadow:var(--sapContent_ContrastTextShadow)}:host([design="ColorSet2"]) .ui5-message-strip-root .ui5-message-strip-text{color:var(--sapTextColor)}:host([design="ColorSet1"]) .ui5-message-strip-close-button{color:var(--_ui5_message_strip_close_button_color_set_1_color)}:host([design="ColorSet2"]) .ui5-message-strip-close-button,:host([design="ColorSet2"]) .ui5-message-strip-root ::slotted([slot="icon"]){color:var(--sapContent_IconColor)}:host([design="ColorSet1"]) .ui5-message-strip-close-button:hover{border-color:var(--sapContent_ContrastIconColor);background-color:var(--_ui5_message_strip_close_button_color_set_1_background);color:var(--_ui5_message_strip_close_button_color_set_1_color);text-shadow:var(--sapContent_ContrastTextShadow)}:host([design="ColorSet2"]) .ui5-message-strip-close-button:hover{background-color:var(--_ui5_message_strip_close_button_color_set_2_background);border-color:var(--sapContent_IconColor);color:var(--sapContent_IconColor)}:host([design="ColorSet1"]) .ui5-message-strip-close-button:active{background:none;border-color:var(--sapContent_ContrastIconColor)}:host([design="ColorSet2"]) .ui5-message-strip-close-button:active{background:none;border-color:var(--sapContent_IconColor)}:host([design="ColorSet1"]) .ui5-message-strip-close-button::part(button):after,:host([design="ColorSet1"]) .ui5-message-strip-close-button::part(button):before{border-color:var(--sapContent_ContrastFocusColor)} -`;var n=function(e,o,r,_){var l=arguments.length,t=l<3?o:_===null?_=Object.getOwnPropertyDescriptor(o,r):_,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(e,o,r,_);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(t=(l<3?d(t):l>3?d(o,r,t):d(o,r))||t);return l>3&&t&&Object.defineProperty(o,r,t),t},a,c;(function(e){e.Information="ui5-message-strip-root--info",e.Positive="ui5-message-strip-root--positive",e.Negative="ui5-message-strip-root--negative",e.Critical="ui5-message-strip-root--critical",e.ColorSet1="ui5-message-strip-root--color-set-1",e.ColorSet2="ui5-message-strip-root--color-set-2"})(c||(c={}));let s=a=class extends w{constructor(){super(...arguments),this.design="Information",this.colorScheme="1",this.hideIcon=!1,this.hideCloseButton=!1}_closeClick(){this.fireDecoratorEvent("close")}static designAnnouncementMappings(){const o=r=>a.i18nBundle.getText(r);return{Information:o(z),Positive:o(L),Negative:o(U),Critical:o(G),ColorSet1:o(h),ColorSet2:o(h)}}get hiddenText(){return`${a.designAnnouncementMappings()[this.design]} ${this.hideCloseButton?"":this._closableText}`}get shouldHideIcon(){return this.designClasses===c.ColorSet1||this.designClasses===c.ColorSet2?this.hideIcon||this.icon.length===0:this.hideIcon}static closeButtonMappings(){const o=r=>a.i18nBundle.getText(r);return{Information:o(W),Positive:o(H),Negative:o(j),Critical:o(F),ColorSet1:o(b),ColorSet2:o(b)}}get _closeButtonText(){return a.closeButtonMappings()[this.design]}get _closableText(){return a.i18nBundle.getText(y)}get iconProvided(){return this.icon.length>0}get designClasses(){return c[this.design]}};n([g()],s.prototype,"design",void 0);n([g()],s.prototype,"colorScheme",void 0);n([g({type:Boolean})],s.prototype,"hideIcon",void 0);n([g({type:Boolean})],s.prototype,"hideCloseButton",void 0);n([N()],s.prototype,"icon",void 0);n([O("@ui5/webcomponents")],s,"i18nBundle",void 0);s=a=n([R({tag:"ui5-message-strip",fastNavigation:!0,languageAware:!0,renderer:A,template:$,styles:K}),M("close")],s);s.define(); diff --git a/app/vue/dist/assets/Option-yBqY0LHt.js b/app/vue/dist/assets/Option-yBqY0LHt.js deleted file mode 100644 index 08a5e236..00000000 --- a/app/vue/dist/assets/Option-yBqY0LHt.js +++ /dev/null @@ -1,5 +0,0 @@ -import{b_ as c,u as P,ak as C,bZ as s,aX as E,g as D,x as g,R as B,ah as N,bt as V,cI as R,bB as v,bv as m,bu as x,cG as a,br as w,bN as z,c5 as F,Q as L,al as M,b5 as $,d9 as W,c1 as y,am as H,F as j,dc as K,ar as U,d8 as q,aY as G,c0 as Y,A as k,c6 as Q,$ as Z,ca as X,bd as J,ae as ee,b6 as O,cl as d,b4 as te,aZ as ie,a_ as oe,a$ as ne,b3 as se,b0 as ae,b1 as re,b2 as le,w as ue,a as de,a0 as _e,aq as ce,bs as pe,P as he,cs as ve,H as fe,ct as ge,V as A,c4 as be}from"./index-Cmc-xxmd.js";import{L as ye}from"./ListItemBaseTemplate-fB6cyhUP.js";var T;(function(u){u.Bullet="Bullet",u.Dash="Dash",u.VerticalLine="VerticalLine"})(T||(T={}));const I=T;function me(){return c(P,{children:[this.options.length>0&&c(C,{id:this.responsivePopoverId,class:{"ui5-select-popover":!0,...this.classes.popover},part:"popover",style:this.styles.responsivePopover,placement:"Bottom",horizontalAlign:"Start",hideArrow:!0,preventInitialFocus:!0,onOpen:this._afterOpen,onBeforeOpen:this._beforeOpen,onClose:this._afterClose,onKeyDown:this._onkeydown,accessibleName:this._isPhone?this._headerTitleText:void 0,children:[this._isPhone&&c("div",{slot:"header",class:"ui5-responsive-popover-header",children:[c("div",{class:"row",children:[s(E,{children:this._headerTitleText}),s(D,{class:"ui5-responsive-popover-close-btn",icon:V,design:"Transparent",onClick:this._toggleRespPopover})]}),this.hasValueStateText&&s("div",{class:{row:!0,"ui5-select-value-state-dialog-header":!0,...this.classes.popoverValueState},children:this._isPickerOpen&&S.call(this)})]}),!this._isPhone&&this.hasValueStateText&&c("div",{class:this.classes.popoverValueState,style:this.styles.responsivePopoverHeader,children:[s(g,{class:"ui5-input-value-state-message-icon",name:this._valueStateMessageInputIcon}),this._isPickerOpen&&S.call(this)]}),s(B,{separators:"None",onMouseDown:this._itemMousedown,onItemClick:this._handleItemPress,accessibleRole:"ListBox",children:s("slot",{})})]}),this.shouldOpenValueStateMessagePopover&&s(N,{part:"popover",class:"ui5-valuestatemessage-popover",preventInitialFocus:!0,preventFocusRestore:!0,hideArrow:!0,placement:"Bottom",horizontalAlign:"Start",children:c("div",{class:this.classes.popoverValueState,style:this.styles.popoverHeader,children:[s(g,{class:"ui5-input-value-state-message-icon",name:this._valueStateMessageInputIcon}),S.call(this)]})})]})}function S(){return s(P,{children:this.shouldDisplayDefaultValueStateMessage?this.valueStateText:s("slot",{onClick:this._applyFocus,name:"valueStateMessage"})})}function xe(){return c(P,{children:[c("div",{class:{"ui5-select-root":!0,"ui5-input-focusable-element":!0},id:`${this._id}-select`,onClick:this._onclick,title:this._effectiveTooltip,children:[!this.icon&&this.selectedOptionIcon&&s(g,{mode:"Decorative",class:"ui5-select-option-icon",name:this.selectedOptionIcon}),s("div",{class:"ui5-select-label-root","data-sap-focus-ref":!0,tabindex:this._effectiveTabIndex,role:"combobox","aria-haspopup":"listbox","aria-label":this.ariaLabelText,...this.ariaDescribedByIds&&{"aria-describedby":this.ariaDescribedByIds},"aria-disabled":this.isDisabled,"aria-required":this.required,"aria-readonly":this.readonly,"aria-expanded":this._isPickerOpen,"aria-roledescription":this._ariaRoleDescription,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onFocusIn:this._onfocusin,onFocusOut:this._onfocusout,"aria-controls":this.responsivePopoverId,children:this.hasCustomLabel?s("slot",{name:"label"}):this.text}),this.icon&&s("div",{class:{"ui5-select-icon-root":!0,inputIcon:!0,"inputIcon--pressed":this._iconPressed},children:s(g,{name:this.icon,class:{"ui5-select-icon":!0}})}),!this.icon&&!this.readonly&&s("div",{part:"icon-wrapper",class:{"ui5-select-icon-root":!0,inputIcon:!0,"inputIcon--pressed":this._iconPressed},children:s(g,{part:"icon",name:R,class:{"ui5-select-icon":!0}})}),this.hasValueState&&s("span",{id:`${this._id}-valueStateDesc`,class:"ui5-hidden-text",children:this.valueStateText}),this.ariaDescriptionText&&s("span",{id:"accessibleDescription",class:"ui5-hidden-text",children:this.ariaDescriptionText})]}),me.call(this)]})}v("@ui5/webcomponents-theming","sap_horizon",async()=>m);v("@ui5/webcomponents","sap_horizon",async()=>x,"host");const we=`:host{vertical-align:middle}.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}.inputIcon{color:var(--_ui5_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5_input_icon_padding);border-inline-start:var(--_ui5_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5_input_icon_border_radius)}.inputIcon.inputIcon--pressed{background:var(--_ui5_input_icon_pressed_bg);box-shadow:var(--_ui5_input_icon_box_shadow);border-inline-start:var(--_ui5_select_hover_icon_left_border);color:var(--_ui5_input_icon_pressed_color)}.inputIcon:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5_input_icon_box_shadow);border-inline-start:var(--_ui5_select_hover_icon_left_border);color:var(--_ui5_input_icon_pressed_color)}.inputIcon:not(.inputIcon--pressed):not(:active):hover{background:var(--_ui5_input_icon_hover_bg);box-shadow:var(--_ui5_input_icon_box_shadow)}.inputIcon:hover{border-inline-start:var(--_ui5_select_hover_icon_left_border);box-shadow:var(--_ui5_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5_input_width);min-width:calc(var(--_ui5_input_min_width) + (var(--_ui5-input-icons-count)*var(--_ui5_input_icon_width)));margin:var(--_ui5_input_margin_top_bottom) 0;height:var(--_ui5_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:var(--sapFontFamily);font-style:normal;border:var(--_ui5-input-border);border-radius:var(--_ui5_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5_input_focused_border_color);background-color:var(--sapField_Focus_Background)}.ui5-input-focusable-element{position:relative}:host([focused]:not([opened])) .ui5-input-focusable-element:after{content:var(--ui5_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5_input_focus_outline_color);border-radius:var(--_ui5_input_focus_border_radius);top:var(--_ui5_input_focus_offset);bottom:var(--_ui5_input_focus_offset);left:var(--_ui5_input_focus_offset);right:var(--_ui5_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5_input_readonly_focus_offset);bottom:var(--_ui5_input_readonly_focus_offset);left:var(--_ui5_input_readonly_focus_offset);right:var(--_ui5_input_readonly_focus_offset);border-radius:var(--_ui5_input_readonly_focus_border_radius)}.ui5-input-root:before{content:"";position:absolute;width:calc(100% - 2px);left:1px;bottom:-2px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;height:var(--_ui5_input_bottom_border_height);transition:var(--_ui5_input_transition);background-color:var(--_ui5_input_bottom_border_color)}.ui5-input-root{width:100%;height:100%;position:relative;background:transparent;display:inline-block;outline:none;box-sizing:border-box;color:inherit;transition:border-color .2s ease-in-out;border-radius:var(--_ui5_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-input_disabled_background);border-color:var(--_ui5_input_disabled_border_color)}:host([disabled]) .ui5-input-root:before,:host([readonly]) .ui5-input-root:before{content:none}[inner-input]{background:transparent;color:inherit;border:none;font-style:inherit;-webkit-appearance:none;-moz-appearance:textfield;padding:var(--_ui5_input_inner_padding);box-sizing:border-box;width:100%;text-overflow:ellipsis;flex:1;outline:none;font-size:inherit;font-family:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit;text-align:inherit}[inner-input][inner-input-with-icon]{padding:var(--_ui5_input_inner_padding_with_icon)}[inner-input][type=search]::-webkit-search-decoration,[inner-input][type=search]::-webkit-search-cancel-button,[inner-input][type=search]::-webkit-search-results-button,[inner-input][type=search]::-webkit-search-results-decoration{display:none}[inner-input]::-ms-reveal,[inner-input]::-ms-clear{display:none}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-input-value-state-icon-display);align-items:center}.ui5-input-value-state-icon>svg{margin-right:8px}[inner-input]::selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}:host([disabled]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([disabled]) [inner-input]::-moz-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-moz-placeholder{visibility:hidden}[inner-input]::-webkit-input-placeholder{font-weight:400;font-style:var(--_ui5_input_placeholder_style);color:var(--_ui5_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5_input_placeholder_style);color:var(--_ui5_input_placeholder_color);padding-right:.125rem}:host([value-state="Negative"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-input_error_placeholder_color);font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Negative"]) [inner-input]::-moz-placeholder{color:var(--_ui5-input_error_placeholder_color);font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Positive"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5_input_placeholder_color)}:host([value-state="Positive"]) [inner-input]::-moz-placeholder{color:var(--_ui5_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5_input_placeholder_color)}.ui5-input-content{height:100%;box-sizing:border-box;display:flex;flex-direction:row;justify-content:flex-end;overflow:hidden;outline:none;background:transparent;color:inherit;border-radius:var(--_ui5_input_border_radius)}:host([readonly]:not([disabled])){border:var(--_ui5_input_readonly_border);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5_input_hover_border);border-color:var(--_ui5_input_focused_border_color);box-shadow:var(--sapField_Hover_Shadow);background:var(--sapField_Hover_BackgroundStyle);background-color:var(--sapField_Hover_Background)}:host(:not([value-state]):not([readonly])[focused]:not([opened]):hover),:host([value-state="None"]:not([readonly])[focused]:not([opened]):hover){box-shadow:none}:host([focused]):not([opened]) .ui5-input-root:before{content:none}:host(:not([readonly]):not([disabled])[value-state]:not([value-state="None"])){border-width:var(--_ui5_input_state_border_width)}:host([value-state="Negative"]) [inner-input],:host([value-state="Critical"]) [inner-input]{font-style:var(--_ui5_input_error_warning_font_style);text-indent:var(--_ui5_input_error_warning_text_indent)}:host([value-state="Negative"]) [inner-input]{font-weight:var(--_ui5_input_error_font_weight)}:host([value-state="Critical"]) [inner-input]{font-weight:var(--_ui5_input_warning_font_weight)}:host([value-state="Negative"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_error_background);border-color:var(--_ui5_input_focused_value_state_error_border_color)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5_input_focused_value_state_error_focus_outline_color)}:host([value-state="Negative"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-input-value-state-error-border-botom-color)}:host([value-state="Negative"]:not([readonly]):not([focused]):hover),:host([value-state="Negative"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Negative"]:not([readonly]):not([disabled])),:host([value-state="Critical"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5_input_error_warning_border_style)}:host([value-state="Critical"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_warning_background);border-color:var(--_ui5_input_focused_value_state_warning_border_color)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Critical"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5_input_value_state_warning_border_botom_color)}:host([value-state="Critical"]:not([readonly]):not([focused]):hover),:host([value-state="Critical"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Positive"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5_input_value_state_success_border_color);border-width:var(--_ui5_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_success_background);border-color:var(--_ui5_input_focused_value_state_success_border_color)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5_input_focused_value_state_success_focus_outline_color)}:host([value-state="Positive"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5_input_value_state_success_border_botom_color)}:host([value-state="Positive"]:not([readonly]):not([focused]):hover),:host([value-state="Positive"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5_input_value_state_information_border_color);border-width:var(--_ui5_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_information_background);border-color:var(--_ui5_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5_input_value_success_information_border_botom_color)}:host([value-state="Information"]:not([readonly]):not([focused]):hover),:host([value-state="Information"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_InformationShadow)}.ui5-input-icon-root{min-width:var(--_ui5_input_icon_min_width);height:100%;display:flex;justify-content:center;align-items:center}::slotted([ui5-icon][slot="icon"]){align-self:start;padding:var(--_ui5_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Negative"]) .inputIcon,:host([value-state="Critical"]) .inputIcon{padding:var(--_ui5_input_error_warning_icon_padding)}:host([value-state="Negative"][focused]) .inputIcon,:host([value-state="Critical"][focused]) .inputIcon{padding:var(--_ui5_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) .inputIcon{padding:var(--_ui5_input_information_icon_padding)}:host([value-state="Information"][focused]) .inputIcon{padding:var(--_ui5_input_information_focused_icon_padding)}:host([value-state="Negative"]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_error_warning_custom_icon_padding)}:host([value-state="Negative"][focused]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_information_custom_focused_icon_padding)}:host([value-state="Negative"]) .inputIcon:active,:host([value-state="Negative"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_error_icon_box_shadow);color:var(--_ui5_input_icon_error_pressed_color)}:host([value-state="Negative"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_error_icon_box_shadow)}:host([value-state="Critical"]) .inputIcon:active,:host([value-state="Critical"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_warning_icon_box_shadow);color:var(--_ui5_input_icon_warning_pressed_color)}:host([value-state="Critical"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_warning_icon_box_shadow)}:host([value-state="Information"]) .inputIcon:active,:host([value-state="Information"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_information_icon_box_shadow);color:var(--_ui5_input_icon_information_pressed_color)}:host([value-state="Information"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_information_icon_box_shadow)}:host([value-state="Positive"]) .inputIcon:active,:host([value-state="Positive"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_success_icon_box_shadow);color:var(--_ui5_input_icon_success_pressed_color)}:host([value-state="Positive"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5_input_icon_wrapper_height);padding:0;width:var(--_ui5_input_icon_width);min-width:var(--_ui5_input_icon_width);display:flex;justify-content:center;align-items:center;box-sizing:border-box}:host([value-state]:not([value-state="None"]):not([value-state="Positive"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Positive"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5_input_icon_wrapper_success_state_height)}[ui5-icon].ui5-input-clear-icon{padding:0;color:inherit}[inner-input]::-webkit-outer-spin-button,[inner-input]::-webkit-inner-spin-button{-webkit-appearance:inherit;margin:inherit}[ui5-responsive-popover] [ui5-input]{width:100%}:host([icon]){min-width:var(--_ui5_button_base_min_width);width:var(--_ui5_button_base_min_width)}:host([opened]) .ui5-input-focusable-element:after{content:var(--ui5_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5_input_focus_outline_color);border-radius:var(--_ui5_input_focus_border_radius);top:var(--_ui5_input_focus_offset);bottom:var(--_ui5_input_focus_offset);left:var(--_ui5_input_focus_offset);right:var(--_ui5_input_focus_offset)}:host([value-state="Negative"][opened]:not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5_input_focused_value_state_error_focus_outline_color)}:host([value-state="Critical"][opened]:not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Positive"][opened]:not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5_input_focused_value_state_success_focus_outline_color)}:host([icon]) .ui5-select-root{min-width:var(--_ui5_button_base_min_width)}:host([icon]) .ui5-select-label-root{min-width:0;padding-inline-start:0}.ui5-select-root{min-width:calc(var(--_ui5_input_min_width) + (var(--_ui5-input-icons-count)*var(--_ui5_input_icon_width)));width:100%;height:100%;display:flex;outline:none;cursor:pointer;overflow:hidden;border-radius:var(--_ui5_input_border_radius)}.ui5-select-label-root{flex-shrink:1;flex-grow:1;align-self:center;min-width:1rem;padding-inline-start:.5rem;cursor:pointer;outline:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--_ui5_select_label_color);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400}.ui5-select-option-icon{padding-inline-start:.5rem;color:var(--sapField_TextColor);align-self:center}:host(:not([disabled])){cursor:pointer}.ui5-select-icon-root{display:flex;justify-content:center;align-items:center;box-sizing:border-box;width:var(--_ui5_select_icon_width);min-width:var(--_ui5_select_icon_width);height:var(--_ui5_select_icon_wrapper_height);padding:0}.ui5-select-icon{color:inherit}:host([value-state]:not([value-state="None"],[value-state="Positive"])) .ui5-select-icon-root{height:var(--_ui5_select_icon_wrapper_state_height)} -`;v("@ui5/webcomponents-theming","sap_horizon",async()=>m);v("@ui5/webcomponents","sap_horizon",async()=>x,"host");const Ie=`.ui5-select-popover::part(content),.ui5-select-popover::part(header){padding:0}.ui5-select-popover .ui5-responsive-popover-header .row{justify-content:flex-start} -`;var r=function(u,e,t,i){var l=arguments.length,o=l<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(u,e,t,i);else for(var f=u.length-1;f>=0;f--)(p=u[f])&&(o=(l<3?p(o):l>3?p(e,t,o):p(e,t))||o);return l>3&&o&&Object.defineProperty(e,t,o),o},_;const Se=u=>u.key.length===1&&!u.ctrlKey&&!u.metaKey&&!u.altKey;let n=_=class extends H{constructor(){super(...arguments),this.disabled=!1,this.valueState="None",this.required=!1,this.readonly=!1,this.textSeparator="Dash",this._iconPressed=!1,this.opened=!1,this._listWidth=0,this.focused=!1,this._selectedIndexBeforeOpen=-1,this._escapePressed=!1,this._lastSelectedOption=null,this._typedChars=""}get formValidityMessage(){return _.i18nBundle.getText(j)}get formValidity(){var e;return{valueMissing:this.required&&((e=this.selectedOption)==null?void 0:e.getAttribute("value"))===""}}async formElementAnchor(){return this.getFocusDomRefAsync()}get formFormattedValue(){if(this._valueStorage!==void 0)return this._valueStorage;const e=this.selectedOption;return e?"value"in e&&e.value!==void 0?e.value:e.hasAttribute("value")?e.getAttribute("value"):e.textContent:""}onEnterDOM(){K(this,this._updateAssociatedLabelsTexts.bind(this))}onExitDOM(){U(this)}onBeforeRendering(){this._applySelection(),this.style.setProperty("--_ui5-input-icons-count",`${this.iconsCount}`)}onAfterRendering(){this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover),this._isPickerOpen&&(this._listWidth||(this._listWidth=this.responsivePopover.offsetWidth))}_applySelection(){if(this._valueStorage===void 0){this._applyAutoSelection();return}this._applySelectionByValue(this._valueStorage)}_applySelectionByValue(e){var t,i;e!==(((t=this.selectedOption)==null?void 0:t.value)||((i=this.selectedOption)==null?void 0:i.textContent))&&Array.from(this.children).forEach(o=>{o.selected=(o.getAttribute("value")||o.textContent)===e})}_applyAutoSelection(){let e=this.options.findLastIndex(t=>t.selected);e=e===-1?0:e;for(let t=0;te.selected)}get selectedOption(){return this.options.find(e=>e.selected)}_buildDisplayText(e,t){return t?`${e} ${this._separatorSymbol} ${t}`:e}get text(){const e=this.selectedOption;return e?this.readonly&&e.additionalText?this._buildDisplayText(e.effectiveDisplayText,e.additionalText):e.effectiveDisplayText:""}get _effectiveTooltip(){if(this.tooltip)return this.tooltip;if(this.readonly){const e=this.selectedOption;if(!e)return;const t=e.textContent||"";return this._buildDisplayText(t,e.additionalText)}}get _separatorSymbol(){switch(this.textSeparator){case I.Bullet:return"·";case I.VerticalLine:return"|";case I.Dash:default:return"–"}}_toggleRespPopover(){this.disabled||this.readonly||(this._iconPressed=!0,this.responsivePopover=this._respPopover(),this._isPickerOpen?this.responsivePopover.open=!1:(this.responsivePopover.opener=this,this.responsivePopover.open=!0))}_onkeydown(e){(q(e)||G(e))&&this._isPickerOpen?this.responsivePopover.open=!1:Y(e)?(e.preventDefault(),this._toggleRespPopover()):k(e)?e.preventDefault():Q(e)&&this._isPickerOpen?this._escapePressed=!0:Z(e)?this._handleHomeKey(e):X(e)?this._handleEndKey(e):J(e)&&!e.defaultPrevented?this._handleSelectionChange():ee(e)||O(e)?this._handleArrowNavigation(e):Se(e)&&this._handleKeyboardNavigation(e)}_handleKeyboardNavigation(e){if(this.readonly)return;const t=e.key.toLowerCase();this._typedChars+=t;const i=/^(.)\1+$/i.test(this._typedChars)?t:this._typedChars;clearTimeout(this._typingTimeoutID),this._typingTimeoutID=setTimeout(()=>{this._typedChars="",this._typingTimeoutID=-1},1e3),this._selectTypedItem(i)}_selectTypedItem(e){const t=this._selectedIndex,i=this._searchNextItemByText(e);if(i){const l=this.options.indexOf(i);this._changeSelectedItem(this._selectedIndex,l),t!==this._selectedIndex&&(this.itemSelectionAnnounce(),this._scrollSelectedItem())}}_searchNextItemByText(e){let t=this.options.slice(0);const i=t.splice(this._selectedIndex+1,t.length-this._selectedIndex),l=t.splice(0,t.length-1);return t=i.concat(l),t.find(o=>o.effectiveDisplayText.toLowerCase().startsWith(e))}_handleHomeKey(e){e.preventDefault(),!this.readonly&&this._changeSelectedItem(this._selectedIndex,0)}_handleEndKey(e){if(e.preventDefault(),this.readonly)return;const t=this.options.length-1;this._changeSelectedItem(this._selectedIndex,t)}_onkeyup(e){k(e)&&(this._isPickerOpen?this._handleSelectionChange():this._toggleRespPopover())}_getItemIndex(e){return this.options.indexOf(e)}_select(e){const t=this._selectedIndex;if(e<0||e>=this.options.length||this.options.length===0)return;this.options[t]&&(this.options[t].selected=!1);const i=this.options[e];t!==e&&this.fireDecoratorEvent("live-change",{selectedOption:i}),i.selected=!0,this._valueStorage!==void 0&&this._setValueByOption(i)}_handleItemPress(e){const t=e.detail.item,i=this._getItemIndex(t);this._handleSelectionChange(i)}_itemMousedown(e){e.preventDefault()}_onclick(){this.getFocusDomRef().focus(),this._toggleRespPopover()}_handleSelectionChange(e=this._selectedIndex){this._typedChars="",this._select(e),this._toggleRespPopover()}_scrollSelectedItem(){var e;if(this._isPickerOpen){const t=(e=this._currentlySelectedOption)==null?void 0:e.getDomRef();t&&t.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}}_handleArrowNavigation(e){if(e.preventDefault(),this.readonly)return;let t=-1;const i=this._selectedIndex;O(e)?t=this._getNextOptionIndex():t=this._getPreviousOptionIndex(),this._changeSelectedItem(this._selectedIndex,t),i!==this._selectedIndex&&(this.itemSelectionAnnounce(),this._scrollSelectedItem())}_changeSelectedItem(e,t){const i=this.options;if(e===-1&&t<0&&i.length&&(t=i.length-1),t<0||t>=i.length)return;const l=i[e],o=i[t];l!==o&&(l&&(l.selected=!1,l.focused=!1),o.selected=!0,o.focused=!0,this._valueStorage!==void 0&&this._setValueByOption(o),this.fireDecoratorEvent("live-change",{selectedOption:o}),this._isPickerOpen||this._fireChangeEvent(o))}_getNextOptionIndex(){return this._selectedIndex===this.options.length-1?this._selectedIndex:this._selectedIndex+1}_getPreviousOptionIndex(){return this._selectedIndex===0?this._selectedIndex:this._selectedIndex-1}_beforeOpen(){this._selectedIndexBeforeOpen=this._selectedIndex,this._lastSelectedOption=this.options[this._selectedIndex]}_afterOpen(){this.opened=!0,this.fireDecoratorEvent("open"),this.itemSelectionAnnounce(),this._scrollSelectedItem(),this._applyFocusToSelectedItem()}_applyFocusToSelectedItem(){this.options.forEach(e=>{e.focused=e.selected,e.focused&&e.focus()})}_afterClose(){this.opened=!1,this._iconPressed=!1,this._listWidth=0,this._escapePressed?(this._select(this._selectedIndexBeforeOpen),this._escapePressed=!1):this._lastSelectedOption!==this.options[this._selectedIndex]&&(this._fireChangeEvent(this.options[this._selectedIndex]),this._lastSelectedOption=this.options[this._selectedIndex]),this.fireDecoratorEvent("close")}get hasCustomLabel(){return!!this.label.length}_fireChangeEvent(e){const t=!this.fireDecoratorEvent("change",{selectedOption:e});this.fireDecoratorEvent("selected-item-changed"),this.fireDecoratorEvent("input"),t&&this._select(this._selectedIndexBeforeOpen)}get valueStateTextMappings(){return{[d.Positive]:_.i18nBundle.getText(ne),[d.Information]:_.i18nBundle.getText(oe),[d.Negative]:_.i18nBundle.getText(ie),[d.Critical]:_.i18nBundle.getText(te)}}get valueStateTypeMappings(){return{[d.Positive]:_.i18nBundle.getText(le),[d.Information]:_.i18nBundle.getText(re),[d.Negative]:_.i18nBundle.getText(ae),[d.Critical]:_.i18nBundle.getText(se)}}get valueStateText(){let e;return this.shouldDisplayDefaultValueStateMessage?e=this.valueStateDefaultText:e=this.valueStateMessage.map(t=>t.textContent).join(" "),`${this.valueStateTypeText} ${e}`}get valueStateDefaultText(){return this.valueState!==d.None?this.valueStateTextMappings[this.valueState]:""}get valueStateTypeText(){return this.valueState!==d.None?this.valueStateTypeMappings[this.valueState]:""}get hasValueState(){return this.valueState!==d.None}get valueStateTextId(){return this.hasValueState?`${this._id}-valueStateDesc`:void 0}get responsivePopoverId(){return`${this._id}-popover`}get isDisabled(){return this.disabled||void 0}get _headerTitleText(){return _.i18nBundle.getText(ue)}get _currentlySelectedOption(){return this.options[this._selectedIndex]}get _effectiveTabIndex(){return this.disabled||this.responsivePopover&&this.responsivePopover.open?-1:0}get _valueStateMessageInputIcon(){const e={Negative:"error",Critical:"alert",Positive:"sys-enter-2",Information:"information"};return this.valueState!==d.None?e[this.valueState]:""}get iconsCount(){return this.selectedOptionIcon?2:1}get classes(){return{popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage-header":!this._isPhone,"ui5-valuestatemessage--success":this.valueState===d.Positive,"ui5-valuestatemessage--error":this.valueState===d.Negative,"ui5-valuestatemessage--warning":this.valueState===d.Critical,"ui5-valuestatemessage--information":this.valueState===d.Information},popover:{"ui5-select-popover-valuestate":this.hasValueState}}}get styles(){return{popoverHeader:{display:"block"},responsivePopoverHeader:{display:this.options.length&&this._listWidth===0?"none":"inline-block",width:`${this.options.length?this._listWidth:this.offsetWidth}px`,"max-width":"100%"},responsivePopover:{"min-width":`${this.offsetWidth}px`}}}get ariaLabelText(){return de(this)||_e(this)}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateText}get hasValueStateText(){return this.hasValueState&&this.valueState!==d.Positive}get shouldOpenValueStateMessagePopover(){return this.focused&&this.hasValueStateText&&!this._iconPressed&&!this._isPickerOpen&&!this._isPhone}get _ariaRoleDescription(){return _.i18nBundle.getText(ce)}get _isPhone(){return pe()}itemSelectionAnnounce(){let e;const t=this.options.length,i=_.i18nBundle.getText(he,this._selectedIndex+1,t);this.focused&&this._currentlySelectedOption&&(e=`${this._currentlySelectedOption.textContent} ${this._isPickerOpen?i:""}`,ve(e))}openValueStatePopover(){this.valueStatePopover=this._getPopover(),this.valueStatePopover&&(this.valueStatePopover.opener=this,this.valueStatePopover.open=!0)}closeValueStatePopover(){this.valueStatePopover&&(this.valueStatePopover.open=!1)}toggleValueStatePopover(e){e?this.openValueStatePopover():this.closeValueStatePopover()}get selectedOptionIcon(){return this.selectedOption&&this.selectedOption.icon}get ariaDescriptionText(){return this._associatedDescriptionRefTexts||fe(this)}get ariaDescriptionTextId(){return this.ariaDescriptionText?"accessibleDescription":""}get ariaDescribedByIds(){const e=[this.valueStateTextId,this.ariaDescriptionTextId].filter(Boolean);return e.length?e.join(" "):void 0}get accessibilityInfo(){return{role:"combobox",type:this._ariaRoleDescription,description:this.text,label:this.ariaLabelText,readonly:this.readonly,required:this.required,disabled:this.disabled}}_updateAssociatedLabelsTexts(){this._associatedDescriptionRefTexts=ge(this)}_getPopover(){return this.shadowRoot.querySelector("[ui5-popover]")}};r([a({type:Boolean})],n.prototype,"disabled",void 0);r([a()],n.prototype,"icon",void 0);r([a()],n.prototype,"name",void 0);r([a()],n.prototype,"valueState",void 0);r([a({type:Boolean})],n.prototype,"required",void 0);r([a({type:Boolean})],n.prototype,"readonly",void 0);r([a()],n.prototype,"accessibleName",void 0);r([a()],n.prototype,"accessibleNameRef",void 0);r([a()],n.prototype,"accessibleDescription",void 0);r([a()],n.prototype,"accessibleDescriptionRef",void 0);r([a()],n.prototype,"tooltip",void 0);r([a()],n.prototype,"textSeparator",void 0);r([a({type:String,noAttribute:!0})],n.prototype,"_associatedDescriptionRefTexts",void 0);r([a({type:Boolean,noAttribute:!0})],n.prototype,"_iconPressed",void 0);r([a({type:Boolean})],n.prototype,"opened",void 0);r([a({type:Number,noAttribute:!0})],n.prototype,"_listWidth",void 0);r([a({type:Boolean})],n.prototype,"focused",void 0);r([w({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],n.prototype,"options",void 0);r([w()],n.prototype,"valueStateMessage",void 0);r([w()],n.prototype,"label",void 0);r([a()],n.prototype,"value",null);r([z("@ui5/webcomponents")],n,"i18nBundle",void 0);n=_=r([F({tag:"ui5-select",languageAware:!0,formAssociated:!0,renderer:W,template:xe,styles:[we,M,$,Ie],dependencies:[L,C,N,B,g,D]}),y("change",{bubbles:!0,cancelable:!0}),y("live-change",{bubbles:!0}),y("open"),y("close"),y("selected-item-changed",{bubbles:!0}),y("input",{bubbles:!0})],n);n.define();function Te(){return ye.call(this,{listItemContent:Pe},{role:"option",title:this.tooltip})}function Pe(){return c("div",{part:"content",id:`${this._id}-content`,class:"ui5-li-content",children:[this.displayIconBegin&&s(g,{part:"icon",name:this.icon,class:"ui5-li-icon",mode:"Decorative"}),c("div",{class:"ui5-li-text-wrapper",children:[s("span",{part:"title",class:"ui5-li-title",children:s("slot",{})}),this.additionalText&&s("span",{part:"additional-text",class:"ui5-li-additional-text",children:this.additionalText})]})]})}v("@ui5/webcomponents-theming","sap_horizon",async()=>m);v("@ui5/webcomponents","sap_horizon",async()=>x,"host");const ke=`:host{height:var(--_ui5_list_item_dropdown_base_height);--_ui5_list_item_title_size: var(--sapFontSize)} -`;v("@ui5/webcomponents-theming","sap_horizon",async()=>m);v("@ui5/webcomponents","sap_horizon",async()=>x,"host");const Oe=`.ui5-li-icon{color:var(--sapList_TextColor);min-width:var(--_ui5_list_item_icon_size);min-height:var(--_ui5_list_item_icon_size);padding-inline-end:var(--_ui5_list_item_icon_padding-inline-end)} -`;var b=function(u,e,t,i){var l=arguments.length,o=l<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(u,e,t,i);else for(var f=u.length-1;f>=0;f--)(p=u[f])&&(o=(l<3?p(o):l>3?p(e,t,o):p(e,t))||o);return l>3&&o&&Object.defineProperty(e,t,o),o};let h=class extends A{get displayIconBegin(){return!!this.icon}get effectiveDisplayText(){return this.textContent||""}};b([w({type:Node,default:!0,invalidateOnChildChange:!0})],h.prototype,"text",void 0);b([a()],h.prototype,"value",void 0);b([a()],h.prototype,"icon",void 0);b([a()],h.prototype,"additionalText",void 0);b([a()],h.prototype,"tooltip",void 0);b([a({type:Boolean})],h.prototype,"selected",void 0);h=b([F({tag:"ui5-option",template:Te,styles:[A.styles,be,Oe,ke]})],h);h.define(); diff --git a/app/vue/dist/assets/PlanTree-COnYDYSm.js b/app/vue/dist/assets/PlanTree-COnYDYSm.js deleted file mode 100644 index 331e6a0f..00000000 --- a/app/vue/dist/assets/PlanTree-COnYDYSm.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as _,cr as c,bl as u,t as b,cB as f,bj as v,cU as x,bh as m,bM as o,b8 as C}from"./index-Cmc-xxmd.js";const E={class:"plan-tree"},T={key:0,class:"plan-empty"},h=_({name:"PlanNodeItem",props:{node:{type:Object,required:!0},maxCost:{type:Number,required:!0},depth:{type:Number,default:0}},setup(s){return()=>{const t=s.node,n=Math.round(t.cost/s.maxCost*100),d=n>60?"var(--sapNegativeColor, #bb0000)":n>30?"var(--sapCriticalColor, #e76500)":"var(--sapPositiveColor, #2b7c2b)",l=t.children.map(a=>o(h,{node:a,maxCost:s.maxCost,depth:s.depth+1,key:a.id}));return o("div",{class:"plan-node-wrapper"},[o("div",{class:"plan-node",style:{paddingLeft:`${s.depth*24+8}px`},title:t.details},[o("span",{class:"node-operator"},t.operator),o("div",{class:"node-cost-bar"},[o("div",{class:"node-cost-fill",style:{width:`${n}%`,backgroundColor:d}})]),o("span",{class:"node-cost-label"},`${n}%`),o("span",{class:"node-rows"},`${t.outputSize.toLocaleString()} rows`)]),...l])}}}),I=_({__name:"PlanTree",props:{data:{}},setup(s){const t=s;function n(a){if(!a||a.length===0)return[];const p=a.map(e=>({id:e.ID??e.id??0,parentId:e.PARENT_ID??e.parent_id??null,operator:e.OPERATOR_NAME??e.operator_name??"Unknown",details:e.OPERATOR_DETAILS??e.operator_details??"",cost:Number(e.SUBTREE_COST??e.subtree_cost??0),outputSize:Number(e.OUTPUT_SIZE??e.output_size??0),children:[]})),r=new Map;p.forEach(e=>r.set(e.id,e));const i=[];return p.forEach(e=>{e.parentId===null||e.parentId===0||!r.has(e.parentId)?i.push(e):r.get(e.parentId).children.push(e)}),i}const d=m(()=>n(t.data)),l=m(()=>!t.data||t.data.length===0?1:Math.max(...t.data.map(a=>Number(a.SUBTREE_COST??a.subtree_cost??0)),1));return(a,p)=>(c(),u("div",E,[d.value.length===0?(c(),u("div",T,"No plan data")):(c(!0),u(b,{key:1},f(d.value,r=>(c(),v(x(h),{key:r.id,node:r,"max-cost":l.value,depth:0},null,8,["node","max-cost"]))),128))]))}}),y=C(I,[["__scopeId","data-v-6e01ef6e"]]);export{y as default}; diff --git a/app/vue/dist/assets/Procedures-CmOVdYLB.js b/app/vue/dist/assets/Procedures-CmOVdYLB.js deleted file mode 100644 index 76ffdfaa..00000000 --- a/app/vue/dist/assets/Procedures-CmOVdYLB.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as s,bj as c,cr as i,c_ as u}from"./index-Cmc-xxmd.js";import{D as a}from"./DynamicTableView-BgX-JfYu.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const M=s({__name:"Procedures",setup(n){const r=u(),o=[{key:"schema",label:"Schema",default:"**CURRENT_SCHEMA**",suggestEndpoint:"schemas-ui",suggestField:"SCHEMA_NAME"},{key:"procedure",label:"Procedure filter",default:"*",suggestEndpoint:"procedures-ui",suggestField:"PROCEDURE_NAME"}];function t(e){r.push({name:"callProcedure",query:{procedure:e.PROCEDURE_NAME,schema:e.SCHEMA_NAME}})}return(e,p)=>(i(),c(a,{title:"Database Procedures",endpoint:"procedures-ui",filters:o,"link-column":"PROCEDURE_NAME",onRowClick:t}))}});export{M as default}; diff --git a/app/vue/dist/assets/QueryEditor-qtET-3r5.js b/app/vue/dist/assets/QueryEditor-qtET-3r5.js deleted file mode 100644 index 7f046245..00000000 --- a/app/vue/dist/assets/QueryEditor-qtET-3r5.js +++ /dev/null @@ -1,3 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SqlEditor-COm8qPqK.js","assets/index-Cmc-xxmd.js","assets/index-XapIPrB7.css","assets/index-tIVfSlto.js","assets/useDynamicTable-DVsAdjXE.js","assets/SmartTable-BtBFwGU3.js","assets/TableHeaderRow-BwRbRfkI.js","assets/SmartTable-CS2JSNOK.css","assets/splitpanes-BHRpRnq4.js","assets/splitpanes-CTQZGdsC.css","assets/SegmentedButton-D0FpyF_g.js","assets/Option-yBqY0LHt.js","assets/ListItemBaseTemplate-fB6cyhUP.js","assets/SqlEditor-2x9eaMch.css","assets/PlanTree-COnYDYSm.js","assets/PlanTree-CLwOym6U.css","assets/ResultDiffView-tnZBCDxM.js","assets/ResultDiffView-CDLnF2wi.css"])))=>i.map(i=>d[i]); -import{cA as S,bh as me,cq as Fe,bx as W,cr as f,bl as b,bi as e,t as I,cB as H,ch as O,d5 as ce,d7 as N,d6 as Se,d0 as Je,cN as $,bk as R,b8 as U,cU as s,bo as ue,cR as ae,cy as Ce,cW as Te,co as Ye,bZ as Ge,i as Xe,u as Ze,bB as xe,bv as et,bu as tt,cG as ot,c5 as nt,g as $e,bL as at,cX as st,d2 as rt,bp as w,d4 as j,bj as se,d1 as ke,bw as re,b7 as le,cg as lt,cY as it}from"./index-Cmc-xxmd.js";import{u as ct}from"./useDynamicTable-DVsAdjXE.js";import{u as ut,S as dt}from"./SmartTable-BtBFwGU3.js";import{P as Be,g as Y}from"./splitpanes-BHRpRnq4.js";import"./SegmentedButton-D0FpyF_g.js";import"./Option-yBqY0LHt.js";const Ae="hana-cli-query-tabs",Ee="hana-cli-active-tab";function we(t){return{id:crypto.randomUUID(),name:t||`Query ${Math.floor(Math.random()*900)+100}`,sql:"SELECT TOP 100 * FROM M_SYSTEM_OVERVIEW",results:[],error:"",loading:!1,outputMode:"table"}}function vt(){try{return JSON.parse(localStorage.getItem(Ae)||"[]").map(a=>({...a,loading:!1}))}catch{return[]}}const x=S(vt()),q=S(localStorage.getItem(Ee)||"");if(x.value.length===0){const t=we("Query 1");x.value=[t],q.value=t.id}else x.value.find(t=>t.id===q.value)||(q.value=x.value[0].id);function Q(){const t=x.value.map(a=>({...a,loading:!1,results:a.results.length>1e3?[]:a.results}));localStorage.setItem(Ae,JSON.stringify(t)),localStorage.setItem(Ee,q.value)}function pt(){const t=me(()=>x.value.find(p=>p.id===q.value)||x.value[0]);function a(p){const u=we(p);return x.value.push(u),q.value=u.id,Q(),u}function _(p){if(x.value.length<=1)return;const u=x.value.findIndex(h=>h.id===p);x.value=x.value.filter(h=>h.id!==p),q.value===p&&(q.value=x.value[Math.max(0,u-1)].id),Q()}function c(p){q.value=p,Q()}function d(p,u){const h=x.value.find(i=>i.id===p);h&&(h.name=u,Q())}function v(p,u){const h=x.value.find(i=>i.id===p);h&&(Object.assign(h,u),Q())}return{tabs:x,activeTabId:q,activeTab:t,addTab:a,closeTab:_,selectTab:c,renameTab:d,updateTab:v,persist:Q}}const De="hana-cli-query-history",de=500;function _t(){try{const t=localStorage.getItem(De);return t?JSON.parse(t):[]}catch{return[]}}function he(t){localStorage.setItem(De,JSON.stringify(t.slice(0,de)))}const E=S(_t());function mt(t,a,_,c,d){const v={id:crypto.randomUUID(),sql:t.trim(),timestamp:Date.now(),duration:a,rowCount:_,error:d,tabName:c};E.value.unshift(v),E.value.length>de&&(E.value=E.value.slice(0,de)),he(E.value)}function ht(t){if(!t.trim())return E.value;const a=t.toLowerCase();return E.value.filter(_=>_.sql.toLowerCase().includes(a))}function ft(t){E.value=E.value.filter(a=>a.id!==t),he(E.value)}function gt(){E.value=[],he(E.value)}function qe(){return{entries:E,addEntry:mt,search:ht,remove:ft,clearAll:gt}}function bt(t={}){const a=S(!1),_=S(Number(localStorage.getItem("hana-cli-live-tail-interval")||5e3));let c=null,d=!1,v=0,p=null;async function u(){var T,D;if(!(d||!p)){d=!0;try{await p(),v=0}catch{v++,(T=t.onError)==null||T.call(t,v),v>=3&&(i(),(D=t.onAutoStop)==null||D.call(t))}finally{d=!1}}}function h(T){a.value||(p=T,a.value=!0,v=0,u(),c=setInterval(u,_.value))}function i(){a.value=!1,c&&(clearInterval(c),c=null),d=!1,p=null}function C(T){_.value=T,localStorage.setItem("hana-cli-live-tail-interval",String(T)),a.value&&p&&(c&&clearInterval(c),c=setInterval(u,T))}return Fe(()=>i()),{isWatching:a,interval:_,start:h,stop:i,updateInterval:C}}const yt={class:"tab-bar"},St={class:"tab-list"},kt=["onClick","onDblclick"],Bt={key:1,class:"tab-name"},Ct=["onClick"],Tt=W({__name:"QueryTabBar",props:{tabs:{},activeTabId:{}},emits:["select","close","add","rename"],setup(t,{emit:a}){const _=a,c=S(null),d=S("");function v(u){c.value=u.id,d.value=u.name}function p(){c.value&&d.value.trim()&&_("rename",c.value,d.value.trim()),c.value=null}return(u,h)=>(f(),b("div",yt,[e("div",St,[(f(!0),b(I,null,H(t.tabs,i=>(f(),b("div",{key:i.id,class:O(["tab-item",{active:i.id===t.activeTabId}]),onClick:C=>_("select",i.id),onDblclick:C=>v(i)},[c.value===i.id?ce((f(),b("input",{key:0,"onUpdate:modelValue":h[0]||(h[0]=C=>d.value=C),class:"tab-rename-input",onBlur:p,onKeydown:[Se(p,["enter"]),h[1]||(h[1]=Se(C=>c.value=null,["escape"]))],onClick:h[2]||(h[2]=N(()=>{},["stop"])),ref_for:!0,ref:"renameInput"},null,544)),[[Je,d.value]]):(f(),b("span",Bt,$(i.name),1)),t.tabs.length>1?(f(),b("span",{key:2,class:"tab-close",onClick:N(C=>_("close",i.id),["stop"])},"×",8,Ct)):R("",!0)],42,kt))),128))]),e("ui5-button",{design:"Transparent",icon:"add",tooltip:"New Query Tab (Ctrl+Shift+N)",class:"tab-add-btn",onClick:h[3]||(h[3]=i=>_("add"))})]))}}),xt=U(Tt,[["__scopeId","data-v-2cc01f74"]]),Ie="hana-cli-saved-queries";function $t(){try{return JSON.parse(localStorage.getItem(Ie)||"[]")}catch{return[]}}const P=S($t());function ie(){localStorage.setItem(Ie,JSON.stringify(P.value))}function At(){function t(c,d){const v={id:crypto.randomUUID(),name:c,sql:d,createdAt:Date.now(),updatedAt:Date.now()};return P.value.unshift(v),ie(),v}function a(c,d){const v=P.value.find(p=>p.id===c);v&&(d.name!==void 0&&(v.name=d.name),d.sql!==void 0&&(v.sql=d.sql),v.updatedAt=Date.now(),ie())}function _(c){P.value=P.value.filter(d=>d.id!==c),ie()}return{queries:P,save:t,update:a,remove:_}}const Et=["open","opener"],wt={class:"panel-header"},Dt={key:0,class:"queries-list"},qt=["description","additional-text","onClick"],It=["onClick"],Rt={key:1,class:"empty-state"},Nt=["open"],zt={style:{padding:"1rem",display:"flex","flex-direction":"column",gap:"0.75rem"}},Mt=["value"],Ot={class:"sql-preview"},jt={slot:"footer",style:{display:"flex","justify-content":"flex-end",gap:"0.5rem",padding:"0.5rem"}},Qt=["disabled"],Pt=W({__name:"SavedQueriesPanel",props:{open:{type:Boolean},opener:{},currentSql:{}},emits:["close","load"],setup(t,{emit:a}){const _=t,c=a,{queries:d,save:v,remove:p}=At(),u=S(!1),h=S("");function i(){h.value.trim()&&(v(h.value.trim(),_.currentSql),h.value="",u.value=!1,ae.show("Query saved"))}function C(m){c("load",m.sql),c("close"),ae.show(`Loaded: ${m.name}`)}function T(m){p(m.id),ae.show("Query deleted")}function D(m){return new Date(m).toLocaleDateString(void 0,{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})}return(m,o)=>(f(),b(I,null,[e("ui5-popover",{open:t.open,opener:t.opener,placement:"Bottom",onClose:o[1]||(o[1]=n=>c("close")),class:"saved-queries-popover"},[e("div",wt,[e("ui5-button",{design:"Emphasized",icon:"save",onClick:o[0]||(o[0]=n=>u.value=!0)},"Save Current")]),s(d).length>0?(f(),b("ui5-list",Dt,[(f(!0),b(I,null,H(s(d),n=>(f(),b("ui5-li",{key:n.id,description:n.sql.slice(0,80),"additional-text":D(n.updatedAt),type:"Active",onClick:r=>C(n)},[ue($(n.name)+" ",1),e("ui5-button",{slot:"deleteButton",icon:"delete",design:"Transparent",tooltip:"Delete",onClick:N(r=>T(n),["stop"])},null,8,It)],8,qt))),128))])):(f(),b("div",Rt,"No saved queries"))],40,Et),e("ui5-dialog",{"header-text":"Save Query",open:u.value,onClose:o[4]||(o[4]=n=>u.value=!1)},[e("div",zt,[o[5]||(o[5]=e("ui5-label",{required:""},"Query Name",-1)),e("ui5-input",{value:h.value,placeholder:"e.g. Active connections",onInput:o[2]||(o[2]=n=>h.value=n.target.value),style:{width:"100%"}},null,40,Mt),e("div",Ot,$(_.currentSql.slice(0,200)),1)]),e("div",jt,[e("ui5-button",{design:"Emphasized",disabled:!h.value.trim(),onClick:i},"Save",8,Qt),e("ui5-button",{design:"Transparent",onClick:o[3]||(o[3]=n=>u.value=!1)},"Cancel")])],40,Nt)],64))}}),Ht=U(Pt,[["__scopeId","data-v-8afe609e"]]),Lt=["open"],Vt={class:"history-content"},Wt={class:"history-toolbar"},Ut={key:0,class:"history-list"},Kt=["onClick"],Ft={class:"entry-sql"},Jt={class:"entry-meta"},Yt={class:"entry-badge duration"},Gt={key:0,class:"entry-badge rows"},Xt={key:1,class:"entry-badge error"},Zt={class:"entry-time"},eo={class:"entry-tab"},to={class:"entry-actions"},oo=["onClick"],no=["onClick"],ao={key:1,class:"history-empty"},so={slot:"footer",class:"history-footer"},ro=W({__name:"QueryHistoryPanel",props:{open:{type:Boolean}},emits:["close","rerun"],setup(t,{emit:a}){const _=a,{search:c,remove:d,clearAll:v}=qe(),{copy:p}=ut(),u=S(""),h=me(()=>c(u.value).slice(0,100));function i(o){u.value=o.target.value||""}function C(o){_("rerun",o.sql),_("close")}function T(o){return o<1e3?`${o}ms`:o<6e4?`${(o/1e3).toFixed(1)}s`:`${(o/6e4).toFixed(1)}m`}function D(o){const n=new Date(o),r=new Date;return n.toDateString()===r.toDateString()?n.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):n.toLocaleDateString([],{month:"short",day:"numeric"})+" "+n.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}function m(o,n=120){const r=o.replace(/\s+/g," ").trim();return r.length>n?r.slice(0,n)+"...":r}return(o,n)=>(f(),b("ui5-dialog",{open:t.open,"header-text":"Query History",onClose:n[2]||(n[2]=r=>_("close")),class:"history-dialog"},[e("div",Vt,[e("div",Wt,[e("ui5-input",{placeholder:"Search queries...","show-clear-icon":"",class:"history-search",onInput:i},[...n[3]||(n[3]=[e("ui5-icon",{slot:"icon",name:"search"},null,-1)])],32),e("ui5-button",{design:"Transparent",icon:"delete",tooltip:"Clear All History",onClick:n[0]||(n[0]=(...r)=>s(v)&&s(v)(...r))})]),h.value.length>0?(f(),b("div",Ut,[(f(!0),b(I,null,H(h.value,r=>(f(),b("div",{key:r.id,class:O(["history-entry",{"has-error":!!r.error}]),onClick:y=>C(r)},[e("div",Ft,$(m(r.sql)),1),e("div",Jt,[e("span",Yt,$(T(r.duration)),1),r.error?(f(),b("span",Xt,"Error")):(f(),b("span",Gt,$(r.rowCount)+" rows",1)),e("span",Zt,$(D(r.timestamp)),1),e("span",eo,$(r.tabName),1)]),e("div",to,[e("ui5-button",{design:"Transparent",icon:"copy",tooltip:"Copy SQL",onClick:N(y=>s(p)(r.sql,r.id),["stop"])},null,8,oo),e("ui5-button",{design:"Transparent",icon:"delete",tooltip:"Remove",onClick:N(y=>s(d)(r.id),["stop"])},null,8,no)])],10,Kt))),128))])):(f(),b("div",ao,$(u.value?"No matching queries found":"No query history yet"),1))]),e("div",so,[e("ui5-button",{design:"Emphasized",onClick:n[1]||(n[1]=r=>_("close"))},"Close")])],40,Lt))}}),lo=U(ro,[["__scopeId","data-v-624b421d"]]),io=300*1e3,M=S([]),ve=Ce(new Map),pe=Ce(new Map);let _e=!1,V=null;const{execute:fe}=Te();function Re(t){return t?Date.now()-t.fetchedAt>io:!0}async function co(){return _e&&M.value.length>0?M.value:V?(await V,M.value):(V=(async()=>{try{const t=await fe("schemas-ui",{schema:"*",limit:1e3});M.value=t.map(a=>a.SCHEMA_NAME||a.schema_name||"").filter(Boolean),_e=!0}catch{}})(),await V,V=null,M.value)}async function uo(t){const a=t,_=ve.get(a);if(_&&!Re(_))return _.data;try{const d=(await fe("tables-ui",{schema:t,table:"*",limit:2e3})).map(v=>({schema:v.SCHEMA_NAME||t,name:v.TABLE_NAME||v.table_name||"",type:v.TABLE_TYPE||"TABLE"}));return ve.set(a,{data:d,fetchedAt:Date.now()}),d}catch{return[]}}async function vo(t,a){const _=`${t}.${a}`,c=pe.get(_);if(c&&!Re(c))return c.data;try{const d=await fe("inspectTable-ui",{schema:t,table:a,limit:500}),p=(d.fields||d.columns||[]).map(u=>({name:u.COLUMN_NAME||u.column_name||"",dataType:u.DATA_TYPE_NAME||u.data_type_name||"",length:u.LENGTH||u.length||0,nullable:(u.IS_NULLABLE||"")==="TRUE"}));return pe.set(_,{data:p,fetchedAt:Date.now()}),p}catch{return[]}}function po(){_e=!1,M.value=[],ve.clear(),pe.clear()}function _o(){return{schemas:M,getSchemas:co,getTables:uo,getColumns:vo,refresh:po}}const mo={class:"object-explorer"},ho={key:0,active:"",size:"Small",class:"explorer-loading"},fo={key:1,class:"explorer-tree"},go=["onClick","onDblclick","onDragstart"],bo=["name"],yo={class:"node-label"},So={key:0,active:"",size:"Small",class:"node-spinner"},ko=["onClick","onDblclick","onDragstart"],Bo=["name"],Co={class:"node-label"},To={key:0,active:"",size:"Small",class:"node-spinner"},xo=["onDblclick","onDragstart"],$o=["name"],Ao={class:"node-label"},Eo=W({__name:"ObjectExplorer",emits:["insert"],setup(t,{emit:a}){const _=a,{getSchemas:c,getTables:d,getColumns:v,refresh:p}=_o(),u=S([]),h=S(!1);Ye(async()=>{h.value=!0;const m=await c();u.value=m.map(o=>({key:o,label:o,icon:"folder-blank",type:"schema",qualifiedName:`"${o}"`,children:[],expanded:!1,loading:!1,loaded:!1})),h.value=!1});async function i(m){if(m.type!=="column"){if(m.expanded){m.expanded=!1;return}if(m.expanded=!0,!m.loaded){if(m.loading=!0,m.type==="schema"){const o=await d(m.key);m.children=o.map(n=>({key:`${m.key}.${n.name}`,label:n.name,icon:n.type==="VIEW"?"grid":"table-view",type:n.type==="VIEW"?"view":"table",qualifiedName:`"${m.key}"."${n.name}"`,children:[],expanded:!1,loading:!1,loaded:!1}))}else if(m.type==="table"||m.type==="view"){const o=m.key.split("."),n=await v(o[0],o[1]);m.children=n.map(r=>({key:`${m.key}.${r.name}`,label:`${r.name} (${r.dataType}${r.length?`(${r.length})`:""})`,icon:"text-formatting",type:"column",qualifiedName:`"${r.name}"`,children:void 0,expanded:!1,loading:!1,loaded:!0}))}m.loaded=!0,m.loading=!1}}}function C(m,o){var n;(n=m.dataTransfer)==null||n.setData("text/plain",o.qualifiedName),m.dataTransfer.effectAllowed="copy"}function T(m){_("insert",m.qualifiedName)}async function D(){p(),h.value=!0;const m=await c();u.value=m.map(o=>({key:o,label:o,icon:"folder-blank",type:"schema",qualifiedName:`"${o}"`,children:[],expanded:!1,loading:!1,loaded:!1})),h.value=!1}return(m,o)=>(f(),b("div",mo,[e("div",{class:"explorer-header"},[o[0]||(o[0]=e("span",{class:"explorer-title"},"Objects",-1)),e("ui5-button",{design:"Transparent",icon:"refresh",tooltip:"Refresh",onClick:D})]),h.value?(f(),b("ui5-busy-indicator",ho)):(f(),b("div",fo,[(f(!0),b(I,null,H(u.value,n=>(f(),b(I,{key:n.key},[e("div",{class:O(["tree-node depth-0",{expanded:n.expanded}]),draggable:"true",onClick:r=>i(n),onDblclick:N(r=>T(n),["stop"]),onDragstart:r=>C(r,n)},[e("span",{class:O(["node-chevron",{hidden:n.type==="column"}])},$(n.expanded?"▾":"▸"),3),e("ui5-icon",{name:n.icon,class:"node-icon"},null,8,bo),e("span",yo,$(n.label),1),n.loading?(f(),b("ui5-busy-indicator",So)):R("",!0)],42,go),n.expanded&&n.children?(f(!0),b(I,{key:0},H(n.children,r=>(f(),b(I,{key:r.key},[e("div",{class:O(["tree-node depth-1",{expanded:r.expanded}]),draggable:"true",onClick:y=>i(r),onDblclick:N(y=>T(r),["stop"]),onDragstart:y=>C(y,r)},[e("span",{class:O(["node-chevron",{hidden:r.type==="column"}])},$(r.expanded?"▾":"▸"),3),e("ui5-icon",{name:r.icon,class:"node-icon"},null,8,Bo),e("span",Co,$(r.label),1),r.loading?(f(),b("ui5-busy-indicator",To)):R("",!0)],42,ko),r.expanded&&r.children?(f(!0),b(I,{key:0},H(r.children,y=>(f(),b("div",{key:y.key,class:"tree-node depth-2",draggable:"true",onDblclick:N(k=>T(y),["stop"]),onDragstart:k=>C(k,y)},[o[1]||(o[1]=e("span",{class:"node-chevron hidden"},null,-1)),e("ui5-icon",{name:y.icon,class:"node-icon"},null,8,$o),e("span",Ao,$(y.label),1)],40,xo))),128)):R("",!0)],64))),128)):R("",!0)],64))),128))]))]))}}),wo=U(Eo,[["__scopeId","data-v-f4e97937"]]);function Do(){return Ge(Ze,{children:Xe.call(this,{ariaPressed:this.pressed})})}xe("@ui5/webcomponents-theming","sap_horizon",async()=>et);xe("@ui5/webcomponents","sap_horizon",async()=>tt,"host");const qo=`:host(:not([hidden])){display:inline-block}:host([design="Emphasized"]:not([pressed])){text-shadow:var(--_ui5_toggle_button_emphasized_text_shadow)}:host([pressed]),:host([design="Default"][pressed]),:host([design="Transparent"][pressed]),:host([design="Emphasized"][pressed]){background:var(--sapButton_Selected_Background);border-color:var(--sapButton_Selected_BorderColor);color:var(--sapButton_Selected_TextColor);text-shadow:none}:host([pressed]:hover),:host([pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Default"][pressed]:hover),:host([design="Default"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Transparent"][pressed]:hover),:host([design="Transparent"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Emphasized"][pressed]:hover),:host([design="Emphasized"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Selected_Hover_Background);border-color:var(--sapButton_Selected_Hover_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([active]:not([disabled])),:host([design="Default"][active]:not([disabled])),:host([design="Transparent"][active]:not([disabled])),:host([design="Emphasized"][active]:not([disabled])){background:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([pressed][active]:not([disabled])),:host([design="Default"][pressed][active]:not([disabled])),:host([design="Transparent"][pressed][active]:not([disabled])),:host([design="Emphasized"][pressed][active]:not([disabled])){background:var(--sapButton_Selected_Hover_Background);border-color:var(--sapButton_Selected_Hover_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Default"][pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Transparent"][pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Emphasized"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Selected_Background);border-color:var(--sapButton_Selected_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([design="Negative"][pressed]){background:var(--sapButton_Reject_Selected_Background);border-color:var(--sapButton_Reject_Selected_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Negative"][active]:not([disabled])){background:var(--sapButton_Reject_Active_Background);border-color:var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([design="Negative"][pressed][active]:not([disabled])){background:var(--sapButton_Reject_Selected_Hover_Background);border-color:var(--sapButton_Reject_Selected_Hover_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Negative"][pressed][active]:hover),:host([design="Negative"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Reject_Selected_Hover_Background);border-color:var(--sapButton_Reject_Selected_Hover_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Negative"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Reject_Selected_Background);border-color:var(--sapButton_Reject_Selected_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Positive"][pressed]){background:var(--sapButton_Accept_Selected_Background);border-color:var(--sapButton_Accept_Selected_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][active]:not([disabled])){background:var(--sapButton_Accept_Active_Background);border-color:var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][pressed][active]:not([disabled])){background:var(--sapButton_Accept_Selected_Hover_Background);border-color:var(--sapButton_Accept_Selected_Hover_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][pressed][active]:hover),:host([design="Positive"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Accept_Selected_Hover_Background);border-color:var(--sapButton_Accept_Selected_Hover_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Accept_Selected_Background);border-color:var(--sapButton_Accept_Selected_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Attention"][pressed]){background:var(--sapButton_Attention_Selected_Background);border-color:var(--sapButton_Attention_Selected_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Attention"][active]:not([disabled])){background:var(--sapButton_Attention_Active_Background);border-color:var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([design="Attention"][pressed][active]:not([disabled])){background:var(--sapButton_Attention_Selected_Hover_Background);border-color:var(--sapButton_Attention_Selected_Hover_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Attention"][pressed][active]:hover),:host([design="Attention"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Attention_Selected_Hover_Background);border-color:var(--sapButton_Attention_Selected_Hover_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Attention"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Attention_Selected_Background);border-color:var(--sapButton_Attention_Selected_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)} -`;var Ne=function(t,a,_,c){var d=arguments.length,v=d<3?a:c===null?c=Object.getOwnPropertyDescriptor(a,_):c,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(t,a,_,c);else for(var u=t.length-1;u>=0;u--)(p=t[u])&&(v=(d<3?p(v):d>3?p(a,_,v):p(a,_))||v);return d>3&&v&&Object.defineProperty(a,_,v),v};let G=class extends $e{constructor(){super(...arguments),this.pressed=!1}_onclick(a){if(a.stopImmediatePropagation(),this.nonInteractive)return;const{altKey:_,ctrlKey:c,metaKey:d,shiftKey:v}=a,p=this.pressed;if(this.pressed=!p,!this.fireDecoratorEvent("click",{originalEvent:a,altKey:_,ctrlKey:c,metaKey:d,shiftKey:v})){a.preventDefault(),this.pressed=p;return}at()&&this.getDomRef().focus()}};Ne([ot({type:Boolean})],G.prototype,"pressed",void 0);G=Ne([nt({tag:"ui5-toggle-button",template:Do,styles:[$e.styles,qo]})],G);G.define();const Io={class:"query-view"},Ro={class:"editor-pane"},No={design:"Subheader",class:"toolbar"},zo=["icon","tooltip"],Mo=["pressed","tooltip","disabled"],Oo=["selected"],jo=["selected"],Qo=["selected"],Po=["selected"],Ho=["selected"],Lo=["disabled"],Vo=["disabled"],Wo={class:"editor-container"},Uo={class:"results-pane"},Ko={key:0,active:"",size:"Medium",class:"loading"},Fo={key:1,class:"error"},Jo={class:"json-output"},Yo={key:3,class:"empty-results"},Go=W({__name:"QueryEditor",emits:["results"],setup(t,{emit:a}){const _=re(()=>le(()=>import("./SqlEditor-COm8qPqK.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]))),c=re(()=>le(()=>import("./PlanTree-COnYDYSm.js"),__vite__mapDeps([14,1,2,15]))),d=re(()=>le(()=>import("./ResultDiffView-tnZBCDxM.js"),__vite__mapDeps([16,11,1,2,12,4,5,6,7,8,9,10,17]))),v=a,{execute:p}=Te(),{tabs:u,activeTabId:h,activeTab:i,addTab:C,closeTab:T,selectTab:D,renameTab:m,updateTab:o}=pt(),{addEntry:n}=qe(),{notify:r}=it(),y=bt({onAutoStop(){r("warning","Watch Mode Stopped","Auto-stopped after 3 consecutive errors")}}),k=ct(),K=S(!1),X=S(!1),z=S(localStorage.getItem("hana-cli-explorer-collapsed")==="true"),Z=S(Number(localStorage.getItem("hana-cli-explorer-width")||20)),ee=S(null),ge=S(null),te=S(Number(localStorage.getItem("hana-cli-split-pos")||40));localStorage.getItem("hana-cli-theme");const ze=me(()=>{const l=localStorage.getItem("hana-cli-theme")||"auto";return l==="sap_horizon_dark"||l==="sap_horizon_hcb"||l==="auto"&&window.matchMedia("(prefers-color-scheme: dark)").matches?"vs-dark":"vs"});st([{key:"n",ctrl:!0,shift:!0,handler:()=>C(),description:"New Query Tab",category:"query"}]);function oe(){const l=i.value;l.results.length>0?k.setData(l.results):(k.resetColumns(),k.setData([]))}oe();let ne=!1;rt(()=>i.value.id,()=>{lt(()=>{const l=ge.value;if(!l)return;ne=!0;const g=i.value.outputMode;l.querySelectorAll("ui5-segmented-button-item").forEach(A=>{A.selected=A.dataset.mode===g}),requestAnimationFrame(()=>{ne=!1})})},{immediate:!0});async function F(){const l=i.value;if(!l.sql.trim())return;o(l.id,{loading:!0,error:""});const g=Date.now();try{const B=await p("querySimple-ui",{query:l.sql}),A=Array.isArray(B)?B:[],L=Date.now()-g;o(l.id,{results:A,loading:!1,error:""}),k.setData(A),v("results",{columns:Object.keys(A[0]||{}),rows:A}),n(l.sql,L,A.length,l.name)}catch(B){const A=Date.now()-g;o(l.id,{results:[],loading:!1,error:B.message}),k.setData([]),n(l.sql,A,0,l.name,B.message)}}const J=S([]);async function be(){const l=i.value;if(l.sql.trim()){o(l.id,{loading:!0,error:"",outputMode:"plan"});try{const g=await p("queryPlan-ui",{sql:l.sql});J.value=Array.isArray(g)?g:[],o(l.id,{loading:!1,error:""})}catch(g){J.value=[],o(l.id,{loading:!1,error:g.message})}}}function Me(l){o(i.value.id,{sql:l})}function Oe(l){y.stop(),D(l),oe()}function je(l){y.stop(),T(l),oe()}function Qe(l){var A;if(ne)return;const g=(A=l.detail)==null?void 0:A.selectedItems,B=g==null?void 0:g[0];if(B){const L=B.dataset.mode||"table";if(L===i.value.outputMode)return;o(i.value.id,{outputMode:L,error:""}),L==="plan"&&J.value.length===0&&i.value.sql.trim()&&be()}}function Pe(){y.isWatching.value?y.stop():y.start(F)}function He(l){var B;const g=Number(((B=l.target.selectedOption)==null?void 0:B.value)||5e3);y.updateInterval(g),y.isWatching.value&&(y.stop(),y.start(F))}function Le(l){l==="excel"?k.exportExcel("query_results.xlsx"):k.exportCsv("query_results.csv")}function Ve(l){l[0]&&(te.value=l[0].size,localStorage.setItem("hana-cli-split-pos",String(l[0].size)))}function ye(l){o(i.value.id,{sql:l})}function We(){z.value=!z.value,localStorage.setItem("hana-cli-explorer-collapsed",String(z.value))}function Ue(l){l[0]&&(Z.value=l[0].size,localStorage.setItem("hana-cli-explorer-width",String(l[0].size)))}function Ke(l){var g;(g=ee.value)!=null&&g.insertText&&ee.value.insertText(l)}return(l,g)=>(f(),b("div",Io,[w(xt,{tabs:s(u),"active-tab-id":s(h),onSelect:Oe,onClose:je,onAdd:g[0]||(g[0]=B=>s(C)()),onRename:s(m)},null,8,["tabs","active-tab-id","onRename"]),w(s(Be),{class:"default-theme explorer-splitpanes",onResized:Ue},{default:j(()=>[z.value?R("",!0):(f(),se(s(Y),{key:0,size:Z.value,"min-size":10,"max-size":40},{default:j(()=>[w(wo,{onInsert:Ke})]),_:1},8,["size"])),w(s(Y),{size:z.value?100:100-Z.value},{default:j(()=>[w(s(Be),{class:"default-theme query-splitpanes",horizontal:"",onResized:Ve},{default:j(()=>[w(s(Y),{size:te.value,"min-size":20},{default:j(()=>[e("div",Ro,[e("ui5-bar",No,[e("ui5-button",{slot:"startContent",design:"Transparent",icon:z.value?"open-command-field":"close-command-field",tooltip:z.value?"Show Object Explorer":"Hide Object Explorer",onClick:We},null,8,zo),e("ui5-segmented-button",{ref_key:"outputModeRef",ref:ge,slot:"startContent",onSelectionChange:Qe},[...g[6]||(g[6]=[e("ui5-segmented-button-item",{"data-mode":"table",icon:"table-view"},"Table",-1),e("ui5-segmented-button-item",{"data-mode":"json",icon:"syntax"},"JSON",-1),e("ui5-segmented-button-item",{"data-mode":"plan",icon:"tree"},"Plan",-1),e("ui5-segmented-button-item",{"data-mode":"diff",icon:"compare"},"Diff",-1)])],544),e("ui5-button",{slot:"endContent",design:"Transparent",icon:"history",tooltip:"Query History",onClick:g[1]||(g[1]=B=>X.value=!0)}),e("ui5-button",{slot:"endContent",design:"Transparent",icon:"bookmark",id:"savedQueriesBtn",tooltip:"Saved Queries",onClick:g[2]||(g[2]=B=>K.value=!K.value)}),e("ui5-toggle-button",{slot:"endContent",design:"Transparent",icon:"refresh",pressed:s(y).isWatching.value,tooltip:s(y).isWatching.value?"Stop Watch Mode":"Watch Mode",class:O({"watch-active":s(y).isWatching.value}),onClick:Pe,disabled:!s(i).sql.trim()},null,10,Mo),s(y).isWatching.value?(f(),b("ui5-select",{key:0,slot:"endContent",class:"interval-select",onChange:He},[e("ui5-option",{value:"1000",selected:s(y).interval.value===1e3},"1s",8,Oo),e("ui5-option",{value:"5000",selected:s(y).interval.value===5e3},"5s",8,jo),e("ui5-option",{value:"10000",selected:s(y).interval.value===1e4},"10s",8,Qo),e("ui5-option",{value:"30000",selected:s(y).interval.value===3e4},"30s",8,Po),e("ui5-option",{value:"60000",selected:s(y).interval.value===6e4},"60s",8,Ho)],32)):R("",!0),e("ui5-button",{slot:"endContent",design:"Transparent",icon:"tree",tooltip:"Explain Plan",onClick:be,disabled:!s(i).sql.trim()},"Explain",8,Lo),e("ui5-button",{slot:"endContent",design:"Emphasized",icon:"play",onClick:F,disabled:!s(i).sql.trim()},"Execute",8,Vo)]),e("div",Wo,[w(s(_),{ref_key:"sqlEditorRef",ref:ee,"model-value":s(i).sql,theme:ze.value,"onUpdate:modelValue":Me,onExecute:F},null,8,["model-value","theme"])])])]),_:1},8,["size"]),w(s(Y),{size:100-te.value,"min-size":15},{default:j(()=>[e("div",Uo,[s(i).loading?(f(),b("ui5-busy-indicator",Ko)):s(i).error?(f(),b("div",Fo,[e("p",null,$(s(i).error),1)])):s(k).totalCount.value>0||s(i).outputMode!=="table"?(f(),b(I,{key:2},[ce(w(dt,{title:"Results",columns:s(k).columns.value,data:s(k).displayData.value,"sort-key":s(k).sortKey.value,"sort-dir":s(k).sortDir.value,"row-count":s(k).rowCount.value,"total-count":s(k).totalCount.value,onSort:s(k).toggleSort,onSearch:g[3]||(g[3]=B=>s(k).searchQuery.value=B),onExport:Le},null,8,["columns","data","sort-key","sort-dir","row-count","total-count","onSort"]),[[ke,s(i).outputMode==="table"]]),s(i).outputMode==="plan"?(f(),se(s(c),{key:0,data:J.value},null,8,["data"])):R("",!0),s(i).outputMode==="diff"?(f(),se(s(d),{key:1,"current-data":s(i).results},null,8,["current-data"])):R("",!0),ce(e("div",Jo,[e("pre",null,$(JSON.stringify(s(i).results,null,2)),1)],512),[[ke,s(i).outputMode==="json"]])],64)):(f(),b("div",Yo,[...g[7]||(g[7]=[ue(" Press ",-1),e("kbd",null,"Ctrl+Enter",-1),ue(" or click Execute to run the query ",-1)])]))])]),_:1},8,["size"])]),_:1})]),_:1},8,["size"])]),_:1}),w(Ht,{open:K.value,opener:"savedQueriesBtn","current-sql":s(i).sql,onClose:g[4]||(g[4]=B=>K.value=!1),onLoad:ye},null,8,["open","current-sql"]),w(lo,{open:X.value,onClose:g[5]||(g[5]=B=>X.value=!1),onRerun:ye},null,8,["open"])]))}}),sn=U(Go,[["__scopeId","data-v-a9fda6b7"]]);export{sn as Q,pt as a,_o as b,qe as u}; diff --git a/app/vue/dist/assets/QuerySimple-C8wahTIQ.js b/app/vue/dist/assets/QuerySimple-C8wahTIQ.js deleted file mode 100644 index 81160c3f..00000000 --- a/app/vue/dist/assets/QuerySimple-C8wahTIQ.js +++ /dev/null @@ -1 +0,0 @@ -import{Q as r}from"./QueryEditor-qtET-3r5.js";import{bx as o,bj as t,cr as e}from"./index-Cmc-xxmd.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./splitpanes-BHRpRnq4.js";import"./SegmentedButton-D0FpyF_g.js";import"./Option-yBqY0LHt.js";import"./ListItemBaseTemplate-fB6cyhUP.js";const x=o({__name:"QuerySimple",setup(p){return(m,i)=>(e(),t(r))}});export{x as default}; diff --git a/app/vue/dist/assets/ResultDiffView-tnZBCDxM.js b/app/vue/dist/assets/ResultDiffView-tnZBCDxM.js deleted file mode 100644 index 40a71e3e..00000000 --- a/app/vue/dist/assets/ResultDiffView-tnZBCDxM.js +++ /dev/null @@ -1 +0,0 @@ -import{a as j,u as I}from"./QueryEditor-qtET-3r5.js";import"./Option-yBqY0LHt.js";import{bx as R,d2 as q,cr as t,bl as s,bi as n,t as f,cB as k,cN as r,cj as z,bk as A,ch as E,bo as x,bh as H,cA as T,b8 as J}from"./index-Cmc-xxmd.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./splitpanes-BHRpRnq4.js";import"./SegmentedButton-D0FpyF_g.js";import"./ListItemBaseTemplate-fB6cyhUP.js";function L(h,l,g){const v=Array.from(new Set([...Object.keys(h[0]||{}),...Object.keys(l[0]||{})]));return Q(h,l,v)}function Q(h,l,g){const v=Math.max(h.length,l.length),p=[],o={added:0,removed:0,changed:0,unchanged:0};for(let c=0;cJSON.stringify(u[y]??null)!==JSON.stringify(m[y]??null));b.length>0?(p.push({status:"changed",left:u,right:m,changedKeys:b}),o.changed++):(p.push({status:"unchanged",left:u,right:m}),o.unchanged++)}}return{rows:p,stats:o,columns:g}}const $={class:"result-diff"},F={class:"diff-toolbar"},M=["data-idx","selected"],W={key:0,class:"diff-empty"},G={key:0},P={key:1},U={class:"diff-stats"},X={class:"stat stat-added"},Y={class:"stat stat-removed"},Z={class:"stat stat-changed"},K={class:"stat stat-unchanged"},w={class:"diff-table-container"},ee={class:"diff-table"},te={class:"diff-status-col"},se={key:0,class:"status-badge badge-added"},ae={key:1,class:"status-badge badge-removed"},ne={key:2,class:"status-badge badge-changed"},ue={class:"old-value"},de={class:"new-value"},re=R({__name:"ResultDiffView",props:{currentData:{}},setup(h){const l=h,{tabs:g,activeTabId:v}=j(),{entries:p}=I(),o=H(()=>{const d=[];for(const a of g.value)a.id!==v.value&&a.results.length>0&&d.push({label:`Tab: ${a.name}`,data:a.results});for(const a of p.value.slice(0,10))a.error||d.push({label:`History: ${a.sql.slice(0,40)}...`,data:[]});return d}),c=T(0),u=T(null);q([()=>l.currentData,c,o],()=>{const d=o.value[c.value];if(!d||!l.currentData.length||!d.data.length){u.value=null;return}u.value=L(d.data,l.currentData)},{immediate:!0});function m(d){var e;const a=Number(((e=d.target.selectedOption)==null?void 0:e.dataset.idx)||0);c.value=a}function b(d){switch(d){case"added":return"var(--sapSuccessBackground, #f1fdf6)";case"removed":return"var(--sapErrorBackground, #fff3f3)";case"changed":return"var(--sapWarningBackground, #fef7f1)";default:return"transparent"}}function y(d,a,e){return d==="changed"&&(e!=null&&e.includes(a))?"diff-cell-changed":""}return(d,a)=>(t(),s("div",$,[n("div",F,[a[0]||(a[0]=n("ui5-label",null,"Compare with:",-1)),n("ui5-select",{class:"source-select",onChange:m},[(t(!0),s(f,null,k(o.value,(e,_)=>(t(),s("ui5-option",{key:_,"data-idx":_,selected:_===c.value},r(e.label),9,M))),128))],32)]),u.value?(t(),s(f,{key:1},[n("div",U,[n("span",X,"+"+r(u.value.stats.added)+" added",1),n("span",Y,"-"+r(u.value.stats.removed)+" removed",1),n("span",Z,"~"+r(u.value.stats.changed)+" changed",1),n("span",K,r(u.value.stats.unchanged)+" unchanged",1)]),n("div",w,[n("table",ee,[n("thead",null,[n("tr",null,[a[1]||(a[1]=n("th",{class:"diff-status-col"},null,-1)),(t(!0),s(f,null,k(u.value.columns,e=>(t(),s("th",{key:e},r(e),1))),128))])]),n("tbody",null,[(t(!0),s(f,null,k(u.value.rows,(e,_)=>(t(),s("tr",{key:_,style:z({backgroundColor:b(e.status)})},[n("td",te,[e.status==="added"?(t(),s("span",se,"+")):e.status==="removed"?(t(),s("span",ae,"-")):e.status==="changed"?(t(),s("span",ne,"~")):A("",!0)]),(t(!0),s(f,null,k(u.value.columns,i=>{var C,S,N,B,O,D,V;return t(),s("td",{key:i,class:E(y(e.status,i,e.changedKeys))},[e.status==="removed"?(t(),s(f,{key:0},[x(r(((C=e.left)==null?void 0:C[i])??""),1)],64)):e.status==="added"?(t(),s(f,{key:1},[x(r(((S=e.right)==null?void 0:S[i])??""),1)],64)):e.status==="changed"&&((N=e.changedKeys)!=null&&N.includes(i))?(t(),s(f,{key:2},[n("span",ue,r(((B=e.left)==null?void 0:B[i])??""),1),a[2]||(a[2]=n("span",{class:"arrow"}," → ",-1)),n("span",de,r(((O=e.right)==null?void 0:O[i])??""),1)],64)):(t(),s(f,{key:3},[x(r(((D=e.right)==null?void 0:D[i])??((V=e.left)==null?void 0:V[i])??""),1)],64))],2)}),128))],4))),128))])])])],64)):(t(),s("div",W,[o.value.length===0?(t(),s("p",G,"No comparison sources available. Open another tab with results or run queries to build history.")):(t(),s("p",P,"Select a source to compare against current results."))]))]))}}),ve=J(re,[["__scopeId","data-v-29cb191f"]]);export{ve as default}; diff --git a/app/vue/dist/assets/SBSS-B4KSKNna.js b/app/vue/dist/assets/SBSS-B4KSKNna.js deleted file mode 100644 index 56b17a45..00000000 --- a/app/vue/dist/assets/SBSS-B4KSKNna.js +++ /dev/null @@ -1 +0,0 @@ -import{D as t}from"./DynamicTableView-BgX-JfYu.js";import{bx as o,bj as r,cr as e}from"./index-Cmc-xxmd.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const B=o({__name:"SBSS",setup(i){return(p,m)=>(e(),r(t,{title:"SBSS Instances",endpoint:"sbss-ui",filters:[]}))}});export{B as default}; diff --git a/app/vue/dist/assets/SchemaInstances-NxsfHyDf.js b/app/vue/dist/assets/SchemaInstances-NxsfHyDf.js deleted file mode 100644 index b1e74e69..00000000 --- a/app/vue/dist/assets/SchemaInstances-NxsfHyDf.js +++ /dev/null @@ -1 +0,0 @@ -import{D as t}from"./DynamicTableView-BgX-JfYu.js";import{bx as e,bj as o,cr as r}from"./index-Cmc-xxmd.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const d=e({__name:"SchemaInstances",setup(m){return(a,i)=>(r(),o(t,{title:"Schema Instances",endpoint:"schemaInstances-ui",filters:[]}))}});export{d as default}; diff --git a/app/vue/dist/assets/Schemas-DZ4WTNDF.js b/app/vue/dist/assets/Schemas-DZ4WTNDF.js deleted file mode 100644 index ae59dd72..00000000 --- a/app/vue/dist/assets/Schemas-DZ4WTNDF.js +++ /dev/null @@ -1 +0,0 @@ -import{D as t}from"./DynamicTableView-BgX-JfYu.js";import{bx as a,bj as o,cr as s}from"./index-Cmc-xxmd.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const E=a({__name:"Schemas",setup(m){const e=[{key:"schema",label:"Schema",default:"**CURRENT_SCHEMA**",suggestEndpoint:"schemas-ui",suggestField:"SCHEMA_NAME"}];return(i,r)=>(s(),o(t,{title:"Database Schemas",endpoint:"schemas-ui",filters:e}))}});export{E as default}; diff --git a/app/vue/dist/assets/SecureStore-D65uFtAs.js b/app/vue/dist/assets/SecureStore-D65uFtAs.js deleted file mode 100644 index 6b35520e..00000000 --- a/app/vue/dist/assets/SecureStore-D65uFtAs.js +++ /dev/null @@ -1 +0,0 @@ -import{D as e}from"./DynamicTableView-BgX-JfYu.js";import{bx as r,bj as t,cr as o}from"./index-Cmc-xxmd.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const d=r({__name:"SecureStore",setup(i){return(p,m)=>(o(),t(e,{title:"Secure Store Instances",endpoint:"securestore-ui",filters:[]}))}});export{d as default}; diff --git a/app/vue/dist/assets/SegmentedButton-D0FpyF_g.js b/app/vue/dist/assets/SegmentedButton-D0FpyF_g.js deleted file mode 100644 index d455d3e0..00000000 --- a/app/vue/dist/assets/SegmentedButton-D0FpyF_g.js +++ /dev/null @@ -1,3 +0,0 @@ -import{b_ as O,bZ as _,x as A,bB as m,bv as x,bu as w,cG as o,br as I,bN as S,c5 as T,d9 as C,c1 as k,am as D,an as P,bD as M,cM as F,K as R,a as N,a0 as z,H as E,c3 as $,bE as j,bd as H,A as g,G as v,c6 as B,ao as K,ap as L}from"./index-Cmc-xxmd.js";function G(){return O("li",{role:"option",class:"ui5-segmented-button-item-root","aria-posinset":this.posInSet,"aria-setsize":this.sizeOfSet,"aria-selected":this.selected,"aria-disabled":this.disabled,"aria-roledescription":this.ariaDescription,"data-sap-focus-ref":!0,onClick:this._onclick,onKeyUp:this._onkeyup,tabindex:this.tabIndexValue?parseInt(this.tabIndexValue):void 0,"aria-label":this.ariaLabelText,"aria-description":this.ariaDescriptionText,title:this.tooltip||this.slotTextContent,children:[this.icon&&_(A,{part:"icon",class:"ui5-segmented-button-item-icon",name:this.icon,showTooltip:this.showIconTooltip}),_("span",{id:`${this._id}-content`,class:"ui5-segmented-button-item-text",children:_("bdi",{children:_("slot",{})})})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>x);m("@ui5/webcomponents","sap_horizon",async()=>w,"host");const U=`:host{vertical-align:middle}:host(:not([hidden])){display:inline-block}:host{min-width:var(--_ui5_button_base_min_width);height:var(--_ui5_button_base_height);line-height:normal;font-family:var(--_ui5_button_fontFamily);font-size:var(--sapFontSize);text-shadow:var(--_ui5_button_text_shadow);border-radius:var(--_ui5_button_border_radius);cursor:pointer;background-color:var(--sapButton_Background);border:var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);color:var(--sapButton_TextColor);box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ui5-segmented-button-item-root{min-width:inherit;cursor:inherit;height:100%;width:100%;box-sizing:border-box;display:flex;justify-content:center;align-items:center;outline:none;padding:0 var(--_ui5_button_base_padding);position:relative;background:transparent;border:none;color:inherit;text-shadow:inherit;font:inherit;white-space:inherit;overflow:inherit;text-overflow:inherit;letter-spacing:inherit;word-spacing:inherit;line-height:inherit;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host(:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host(:not([hidden]):not([disabled]).ui5_hovered){background:var(--sapButton_Hover_Background);border:.0625rem solid var(--sapButton_Hover_BorderColor);color:var(--sapButton_Hover_TextColor)}.ui5-segmented-button-item-icon{color:inherit;flex-shrink:0;padding-inline-end:.375rem}:host([icon-only]) .ui5-segmented-button-item-icon{padding-inline-end:0}:host([icon-only]) .ui5-segmented-button-item-root{min-width:auto;padding:0}:host([icon-only]) .ui5-segmented-button-item-text{display:none}.ui5-segmented-button-item-text{outline:none;position:relative;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([has-icon]:not([icon-end])) .ui5-segmented-button-item-text{margin-inline-start:var(--_ui5_button_base_icon_margin)}:host([has-icon][icon-end]) .ui5-segmented-button-item-text{margin-inline-start:0}:host([disabled]){opacity:var(--sapContent_DisabledOpacity);pointer-events:unset;cursor:default}:host([has-icon]:not([icon-only])) .ui5-segmented-button-item-text{min-width:calc(var(--_ui5_button_base_min_width) - var(--_ui5_button_base_icon_margin) - 1rem)}:host([desktop]:not([active])) .ui5-segmented-button-item-root:focus-within:after,:host(:not([active])) .ui5-segmented-button-item-root:focus-visible:after,:host([desktop][active]) .ui5-segmented-button-item-root:focus-within:before,:host([active]) .ui5-segmented-button-item-root:focus-visible:before{content:"";position:absolute;box-sizing:border-box;inset:.0625rem;border:var(--_ui5_button_focused_border);border-radius:var(--_ui5_button_focused_border_radius)}:host([desktop][active]) .ui5-segmented-button-item-root:focus-within:before,:host([active]) .ui5-segmented-button-item-root:focus-visible:before{border-color:var(--_ui5_button_pressed_focused_border_color)}.ui5-segmented-button-item-root::-moz-focus-inner{border:0}bdi{display:block;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([active][desktop]) .ui5-segmented-button-item-root:focus-within:after,:host([active]) .ui5-segmented-button-item-root:focus-visible:after,:host([selected][desktop]) .ui5-segmented-button-item-root:focus-within:after,:host([selected]) .ui5-segmented-button-item-root:focus-visible:after{border-color:var(--_ui5_button_pressed_focused_border_color);outline:none}:host([desktop]:not(:last-child)) .ui5-segmented-button-item-root:focus-within:after,:host(:not(:last-child)) .ui5-segmented-button-item-root:focus-visible:after{border-start-end-radius:var(--_ui5_button_focused_inner_border_radius);border-end-end-radius:var(--_ui5_button_focused_inner_border_radius)}:host([desktop]:not(:first-child)) .ui5-segmented-button-item-root:focus-within:after,:host(:not(:first-child)) .ui5-segmented-button-item-root:focus-visible:after{border-start-start-radius:var(--_ui5_button_focused_inner_border_radius);border-end-start-radius:var(--_ui5_button_focused_inner_border_radius)} -`;var r=function(d,e,t,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(d,e,t,n);else for(var h=d.length-1;h>=0;h--)(l=d[h])&&(s=(a<3?l(s):a>3?l(e,t,s):l(e,t))||s);return a>3&&s&&Object.defineProperty(e,t,s),s},p;let i=p=class extends D{get ariaDescription(){return p.i18nBundle.getText(P)}constructor(){super(),this.disabled=!1,this.selected=!1,this.iconOnly=!1,this.nonInteractive=!1,this.posInSet=0,this.sizeOfSet=0,this.hidden=!1}_onclick(e){if(this.disabled){e.preventDefault(),e.stopPropagation();return}e.stopImmediatePropagation(),!this.fireDecoratorEvent("click",{originalEvent:e})&&(e.preventDefault(),e.stopPropagation())}onEnterDOM(){M()&&this.setAttribute("desktop","")}onBeforeRendering(){this.iconOnly=!F(this.text)}_onkeyup(e){R(e)&&e.preventDefault()}get tabIndexValue(){if(this.disabled)return;const e=this.getAttribute("tabindex");return e||this.forcedTabIndex}get ariaLabelText(){return N(this)||z(this)||void 0}get ariaDescriptionText(){return E(this)||void 0}get showIconTooltip(){return $()&&this.iconOnly&&!this.tooltip}get slotTextContent(){return this.text.filter(e=>e.nodeType===Node.TEXT_NODE).map(e=>{var t;return((t=e.textContent)==null?void 0:t.trim())||""}).filter(Boolean).join(" ")}};r([o({type:Boolean})],i.prototype,"disabled",void 0);r([o({type:Boolean})],i.prototype,"selected",void 0);r([o()],i.prototype,"tooltip",void 0);r([o()],i.prototype,"accessibleName",void 0);r([o()],i.prototype,"accessibleNameRef",void 0);r([o()],i.prototype,"accessibleDescription",void 0);r([o()],i.prototype,"accessibleDescriptionRef",void 0);r([o()],i.prototype,"icon",void 0);r([o({type:Boolean})],i.prototype,"iconOnly",void 0);r([o({type:Boolean})],i.prototype,"nonInteractive",void 0);r([o({noAttribute:!0})],i.prototype,"forcedTabIndex",void 0);r([o({type:Number})],i.prototype,"posInSet",void 0);r([o({type:Number})],i.prototype,"sizeOfSet",void 0);r([o({type:Boolean})],i.prototype,"hidden",void 0);r([I({type:Node,default:!0})],i.prototype,"text",void 0);r([S("@ui5/webcomponents")],i,"i18nBundle",void 0);i=p=r([T({tag:"ui5-segmented-button-item",renderer:C,template:G,styles:U}),k("click",{bubbles:!0,cancelable:!0})],i);i.define();var f;(function(d){d.Single="Single",d.Multiple="Multiple"})(f||(f={}));const y=f;function V(){return _("ul",{role:"listbox",class:{"ui5-segmented-button-root":!0,"ui5-segmented-button-root-equal-sized-items":!this.itemsFitContent,"ui5-segmented-button-root-content-fit-items":this.itemsFitContent},onClick:this._onclick,onMouseDown:this._onmousedown,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onFocusIn:this._onfocusin,"aria-multiselectable":this.selectionMode==="Multiple"?"true":"false","aria-orientation":"horizontal","aria-description":this.ariaDescriptionText,"aria-label":this.ariaLabelText,"aria-roledescription":this.ariaRoleDescription,children:_("slot",{})})}m("@ui5/webcomponents-theming","sap_horizon",async()=>x);m("@ui5/webcomponents","sap_horizon",async()=>w,"host");const q=`:host{vertical-align:middle}.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block;min-width:calc(var(--_ui5_segmented_btn_items_count) * var(--_ui5_button_base_min_width))}.ui5-segmented-button-root{width:inherit;margin:0;padding:0;background-color:var(--sapButton_Background);border-radius:var(--sapButton_BorderCornerRadius);box-shadow:inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_BorderColor)}.ui5-segmented-button-root-equal-sized-items{display:grid;grid-template-columns:repeat(var(--_ui5_segmented_btn_items_count),minmax(var(--_ui5_button_base_min_width),1fr))}.ui5-segmented-button-root-content-fit-items{display:inline-flex;gap:0}::slotted([ui5-segmented-button-item]){border-radius:var(--sapButton_Segment_BorderCornerRadius);border-color:var(--_ui5_segmented_btn_border_color);background-color:var(--_ui5_segmented_btn_background_color);height:var(--_ui5_button_base_height);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:initial}::slotted([ui5-segmented-button-item]:not([disabled]):hover){z-index:2;box-shadow:var(--_ui5_segmented_btn_hover_box_shadow);border-color:var(--sapButton_Hover_BorderColor);background-color:var(--sapButton_Hover_Background)}::slotted([ui5-segmented-button-item][selected]),::slotted([ui5-segmented-button-item][active]){border-color:var(--sapButton_Selected_BorderColor);background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Selected_TextColor)}::slotted([ui5-segmented-button-item][selected]:hover){border-color:var(--sapButton_Selected_Hover_BorderColor);background-color:var(--sapButton_Selected_Hover_Background);color:var(--sapButton_Selected_TextColor)}::slotted([ui5-segmented-button-item]:last-child){border-start-end-radius:var(--sapButton_BorderCornerRadius);border-end-end-radius:var(--sapButton_BorderCornerRadius)}::slotted([ui5-segmented-button-item]:first-child){border-start-start-radius:var(--sapButton_BorderCornerRadius);border-end-start-radius:var(--sapButton_BorderCornerRadius)}::slotted([ui5-segmented-button-item]:not(:first-child)){border-left-width:var(--_ui5_segmented_btn_item_border_left);border-right-width:var(--_ui5_segmented_btn_item_border_right)}::slotted([ui5-segmented-button-item][active]:not([active]):hover){border-color:var(--sapButton_BorderColor)}::slotted([ui5-segmented-button-item][active]:hover){border-color:var(--sapButton_Selected_BorderColor)}::slotted([ui5-segmented-button-item]:not([disabled]):active){background-color:var(--sapButton_Active_Background)} -`;var c=function(d,e,t,n){var a=arguments.length,s=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(d,e,t,n);else for(var h=d.length-1;h>=0;h--)(l=d[h])&&(s=(a<3?l(s):a>3?l(e,t,s):l(e,t))||s);return a>3&&s&&Object.defineProperty(e,t,s),s},b;let u=b=class extends D{constructor(){super(),this.selectionMode="Single",this.itemsFitContent=!1,this._itemNavigation=new j(this,{getItemsCallback:()=>this.navigatableItems}),this.hasPreviouslyFocusedItem=!1,this._cancelAction=!1,this._isSpacePressed=!1}onBeforeRendering(){const e=this.getSlottedNodes("items"),t=e.filter(a=>!a.hidden);let n=1;e.forEach(a=>{a.posInSet=a.hidden?void 0:n++,a.sizeOfSet=a.hidden?void 0:t.length}),this.normalizeSelection(),this.itemsFitContent||this.style.setProperty("--_ui5_segmented_btn_items_count",`${t.length}`)}normalizeSelection(){if(this.items.length)switch(this.selectionMode){case y.Single:{const e=this.selectedItems,t=this._selectedItem?e.indexOf(this._selectedItem):-1;this._selectedItem&&e.length>1&&e.splice(t,1);const n=e.pop()||this.items[0];this._applySingleSelection(n);break}}}getFocusDomRef(){return this._itemNavigation._getCurrentItem()}_selectItem(e){const t=e.target,n=t.hasAttribute("ui5-segmented-button-item");if(!(t.disabled||t===this.getDomRef()||!n)&&!e.defaultPrevented){switch(this.selectionMode){case y.Multiple:t.selected=!t.selected;break;default:this._applySingleSelection(t)}return this.fireDecoratorEvent("selection-change",{selectedItems:this.selectedItems}),this._itemNavigation.setCurrentItem(t),this}}_applySingleSelection(e){this.items.forEach(t=>{t.selected=!1}),e.selected=!0,this._selectedItem=e}_onclick(e){this._selectItem(e)}_onkeydown(e){H(e)?this._selectItem(e):g(e)?(e.preventDefault(),this._isSpacePressed=!0):(v(e)||B(e))&&(this._cancelAction=!0)}_onkeyup(e){const t=g(e),n=v(e)||B(e);if(t||R(e)){if(this._cancelAction){this._cancelAction=!1,this._isSpacePressed=!1,e.preventDefault();return}this._isSpacePressed=!1}else n&&!this._isSpacePressed&&(this._cancelAction=!1);t&&this._selectItem(e)}_onmousedown(e){const t=e.target;t.hasAttribute("ui5-segmented-button-item")&&(this._itemNavigation.setCurrentItem(t),this.hasPreviouslyFocusedItem=!0)}_onfocusin(e){if(this.hasPreviouslyFocusedItem){this._itemNavigation.setCurrentItem(e.target);return}this.selectedItems.length&&(this._itemNavigation.setCurrentItem(this.selectedItems[0]),this.selectedItems[0].focus(),this.hasPreviouslyFocusedItem=!0)}get selectedItems(){return this.items.filter(e=>e.selected)}get navigatableItems(){return this.getSlottedNodes("items").filter(e=>!e.disabled)}get ariaLabelText(){return N(this)||z(this)||void 0}get ariaDescriptionText(){return`${E(this)||""} ${b.i18nBundle.getText(K)}`.trim()}get ariaRoleDescription(){return b.i18nBundle.getText(L)}};c([o()],u.prototype,"accessibleName",void 0);c([o()],u.prototype,"accessibleNameRef",void 0);c([o()],u.prototype,"accessibleDescription",void 0);c([o()],u.prototype,"accessibleDescriptionRef",void 0);c([o()],u.prototype,"selectionMode",void 0);c([o({type:Boolean})],u.prototype,"itemsFitContent",void 0);c([I({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],u.prototype,"items",void 0);c([S("@ui5/webcomponents")],u,"i18nBundle",void 0);u=b=c([T({tag:"ui5-segmented-button",languageAware:!0,renderer:C,template:V,styles:q}),k("selection-change",{bubbles:!0})],u);u.define(); diff --git a/app/vue/dist/assets/SmartTable-BtBFwGU3.js b/app/vue/dist/assets/SmartTable-BtBFwGU3.js deleted file mode 100644 index 91bd9808..00000000 --- a/app/vue/dist/assets/SmartTable-BtBFwGU3.js +++ /dev/null @@ -1,98 +0,0 @@ -import{cR as Gn,cA as jt,co as Cs,cq as Os,cy as ks,bh as dt,bx as Jn,bj as A0,aW as Rs,bl as be,d7 as Nr,cj as $t,bi as _e,bk as zn,cr as Ne,b8 as Zn,cU as Be,d2 as Di,cH as Ds,cp as Is,cS as Ii,t as cr,cB as hr,bp as F0,cN as zt,ch as Xn}from"./index-Cmc-xxmd.js";import"./TableHeaderRow-BwRbRfkI.js";/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var nn={};nn.version="0.18.5";var y0=1252,Ns=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],C0=function(e){Ns.indexOf(e)!=-1&&(y0=e)};function Ps(){C0(1252)}var Pr=function(e){C0(e)};function Ls(){Pr(1200),Ps()}var Yr=function(r){return String.fromCharCode(r)},Ni=function(r){return String.fromCharCode(r)},an,Lt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Lr(e){for(var r="",t=0,n=0,i=0,a=0,s=0,f=0,o=0,l=0;l>2,n=e.charCodeAt(l++),s=(t&3)<<4|n>>4,i=e.charCodeAt(l++),f=(n&15)<<2|i>>6,o=i&63,isNaN(n)?f=o=64:isNaN(i)&&(o=64),r+=Lt.charAt(a)+Lt.charAt(s)+Lt.charAt(f)+Lt.charAt(o);return r}function Dt(e){var r="",t=0,n=0,i=0,a=0,s=0,f=0,o=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var l=0;l>4,r+=String.fromCharCode(t),f=Lt.indexOf(e.charAt(l++)),n=(s&15)<<4|f>>2,f!==64&&(r+=String.fromCharCode(n)),o=Lt.indexOf(e.charAt(l++)),i=(f&3)<<6|o,o!==64&&(r+=String.fromCharCode(i));return r}var pe=(function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node})(),Nt=(function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(r,t){return t?new Buffer(r,t):new Buffer(r)}:Buffer.from.bind(Buffer)}return function(){}})();function Yt(e){return pe?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function Pi(e){return pe?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var gt=function(r){return pe?Nt(r,"binary"):r.split("").map(function(t){return t.charCodeAt(0)&255})};function _n(e){if(typeof ArrayBuffer>"u")return gt(e);for(var r=new ArrayBuffer(e.length),t=new Uint8Array(r),n=0;n!=e.length;++n)t[n]=e.charCodeAt(n)&255;return r}function Hr(e){if(Array.isArray(e))return e.map(function(n){return String.fromCharCode(n)}).join("");for(var r=[],t=0;t"u")throw new Error("Unsupported");return new Uint8Array(e)}var Xe=pe?function(e){return Buffer.concat(e.map(function(r){return Buffer.isBuffer(r)?r:Nt(r)}))}:function(e){if(typeof Uint8Array<"u"){var r=0,t=0;for(r=0;r>6&31,i[t++]=128|s&63;else if(s>=55296&&s<57344){s=(s&1023)+64;var f=e.charCodeAt(++a)&1023;i[t++]=240|s>>8&7,i[t++]=128|s>>2&63,i[t++]=128|f>>6&15|(s&3)<<4,i[t++]=128|f&63}else i[t++]=224|s>>12&15,i[t++]=128|s>>6&63,i[t++]=128|s&63;t>n&&(r.push(i.slice(0,t)),t=0,i=Yt(65535),n=65530)}return r.push(i.slice(0,t)),Xe(r)}var yr=/\u0000/g,Jr=/[\u0001-\u0006]/g;function ur(e){for(var r="",t=e.length-1;t>=0;)r+=e.charAt(t--);return r}function _t(e,r){var t=""+e;return t.length>=r?t:Re("0",r-t.length)+t}function qn(e,r){var t=""+e;return t.length>=r?t:Re(" ",r-t.length)+t}function sn(e,r){var t=""+e;return t.length>=r?t:t+Re(" ",r-t.length)}function bs(e,r){var t=""+Math.round(e);return t.length>=r?t:Re("0",r-t.length)+t}function Us(e,r){var t=""+e;return t.length>=r?t:Re("0",r-t.length)+t}var Li=Math.pow(2,32);function ir(e,r){if(e>Li||e<-Li)return bs(e,r);var t=Math.round(e);return Us(t,r)}function fn(e,r){return r=r||0,e.length>=7+r&&(e.charCodeAt(r)|32)===103&&(e.charCodeAt(r+1)|32)===101&&(e.charCodeAt(r+2)|32)===110&&(e.charCodeAt(r+3)|32)===101&&(e.charCodeAt(r+4)|32)===114&&(e.charCodeAt(r+5)|32)===97&&(e.charCodeAt(r+6)|32)===108}var Mi=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],In=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function Ws(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}var De={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},Bi={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},Hs={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function ln(e,r,t){for(var n=e<0?-1:1,i=e*n,a=0,s=1,f=0,o=1,l=0,c=0,u=Math.floor(i);lr&&(l>r?(c=o,f=a):(c=l,f=s)),!t)return[0,n*f,c];var v=Math.floor(n*f/c);return[v,n*f-v*c,c]}function Zr(e,r,t){if(e>2958465||e<0)return null;var n=e|0,i=Math.floor(86400*(e-n)),a=0,s=[],f={D:n,T:i,u:86400*(e-n)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(f.u)<1e-6&&(f.u=0),r&&r.date1904&&(n+=1462),f.u>.9999&&(f.u=0,++i==86400&&(f.T=i=0,++n,++f.D)),n===60)s=t?[1317,10,29]:[1900,2,29],a=3;else if(n===0)s=t?[1317,8,29]:[1900,1,0],a=6;else{n>60&&--n;var o=new Date(1900,0,1);o.setDate(o.getDate()+n-1),s=[o.getFullYear(),o.getMonth()+1,o.getDate()],a=o.getDay(),n<60&&(a=(a+6)%7),t&&(a=js(o,s))}return f.y=s[0],f.m=s[1],f.d=s[2],f.S=i%60,i=Math.floor(i/60),f.M=i%60,i=Math.floor(i/60),f.H=i,f.q=a,f}var O0=new Date(1899,11,31,0,0,0),Vs=O0.getTime(),Gs=new Date(1900,2,1,0,0,0);function k0(e,r){var t=e.getTime();return r?t-=1461*24*60*60*1e3:e>=Gs&&(t+=1440*60*1e3),(t-(Vs+(e.getTimezoneOffset()-O0.getTimezoneOffset())*6e4))/(1440*60*1e3)}function Qn(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function zs(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function Xs(e){var r=e<0?12:11,t=Qn(e.toFixed(12));return t.length<=r||(t=e.toPrecision(10),t.length<=r)?t:e.toExponential(5)}function $s(e){var r=Qn(e.toFixed(11));return r.length>(e<0?12:11)||r==="0"||r==="-0"?e.toPrecision(6):r}function Ks(e){var r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),t;return r>=-4&&r<=-1?t=e.toPrecision(10+r):Math.abs(r)<=9?t=Xs(e):r===10?t=e.toFixed(10).substr(0,12):t=$s(e),Qn(zs(t.toUpperCase()))}function $n(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):Ks(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return Bt(14,k0(e,r&&r.date1904),r)}throw new Error("unsupported value in General format: "+e)}function js(e,r){r[0]-=581;var t=e.getDay();return e<60&&(t=(t+6)%7),t}function Ys(e,r,t,n){var i="",a=0,s=0,f=t.y,o,l=0;switch(e){case 98:f=t.y+543;case 121:switch(r.length){case 1:case 2:o=f%100,l=2;break;default:o=f%1e4,l=4;break}break;case 109:switch(r.length){case 1:case 2:o=t.m,l=r.length;break;case 3:return In[t.m-1][1];case 5:return In[t.m-1][0];default:return In[t.m-1][2]}break;case 100:switch(r.length){case 1:case 2:o=t.d,l=r.length;break;case 3:return Mi[t.q][0];default:return Mi[t.q][1]}break;case 104:switch(r.length){case 1:case 2:o=1+(t.H+11)%12,l=r.length;break;default:throw"bad hour format: "+r}break;case 72:switch(r.length){case 1:case 2:o=t.H,l=r.length;break;default:throw"bad hour format: "+r}break;case 77:switch(r.length){case 1:case 2:o=t.M,l=r.length;break;default:throw"bad minute format: "+r}break;case 115:if(r!="s"&&r!="ss"&&r!=".0"&&r!=".00"&&r!=".000")throw"bad second format: "+r;return t.u===0&&(r=="s"||r=="ss")?_t(t.S,r.length):(n>=2?s=n===3?1e3:100:s=n===1?10:1,a=Math.round(s*(t.S+t.u)),a>=60*s&&(a=0),r==="s"?a===0?"0":""+a/s:(i=_t(a,2+n),r==="ss"?i.substr(0,2):"."+i.substr(2,r.length-1)));case 90:switch(r){case"[h]":case"[hh]":o=t.D*24+t.H;break;case"[m]":case"[mm]":o=(t.D*24+t.H)*60+t.M;break;case"[s]":case"[ss]":o=((t.D*24+t.H)*60+t.M)*60+Math.round(t.S+t.u);break;default:throw"bad abstime format: "+r}l=r.length===3?1:2;break;case 101:o=f,l=1;break}var c=l>0?_t(o,l):"";return c}function Mt(e){var r=3;if(e.length<=r)return e;for(var t=e.length%r,n=e.substr(0,t);t!=e.length;t+=r)n+=(n.length>0?",":"")+e.substr(t,r);return n}var R0=/%/g;function Js(e,r,t){var n=r.replace(R0,""),i=r.length-n.length;return Ot(e,n,t*Math.pow(10,2*i))+Re("%",i)}function Zs(e,r,t){for(var n=r.length-1;r.charCodeAt(n-1)===44;)--n;return Ot(e,r.substr(0,n),t/Math.pow(10,3*(r.length-n)))}function D0(e,r){var t,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(r==0)return"0.0E+0";if(r<0)return"-"+D0(e,-r);var i=e.indexOf(".");i===-1&&(i=e.indexOf("E"));var a=Math.floor(Math.log(r)*Math.LOG10E)%i;if(a<0&&(a+=i),t=(r/Math.pow(10,a)).toPrecision(n+1+(i+a)%i),t.indexOf("e")===-1){var s=Math.floor(Math.log(r)*Math.LOG10E);for(t.indexOf(".")===-1?t=t.charAt(0)+"."+t.substr(1)+"E+"+(s-t.length+a):t+="E+"+(s-a);t.substr(0,2)==="0.";)t=t.charAt(0)+t.substr(2,i)+"."+t.substr(2+i),t=t.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");t=t.replace(/\+-/,"-")}t=t.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(f,o,l,c){return o+l+c.substr(0,(i+a)%i)+"."+c.substr(a)+"E"})}else t=r.toExponential(n);return e.match(/E\+00$/)&&t.match(/e[+-]\d$/)&&(t=t.substr(0,t.length-1)+"0"+t.charAt(t.length-1)),e.match(/E\-/)&&t.match(/e\+/)&&(t=t.replace(/e\+/,"e")),t.replace("e","E")}var I0=/# (\?+)( ?)\/( ?)(\d+)/;function qs(e,r,t){var n=parseInt(e[4],10),i=Math.round(r*n),a=Math.floor(i/n),s=i-a*n,f=n;return t+(a===0?"":""+a)+" "+(s===0?Re(" ",e[1].length+1+e[4].length):qn(s,e[1].length)+e[2]+"/"+e[3]+_t(f,e[4].length))}function Qs(e,r,t){return t+(r===0?"":""+r)+Re(" ",e[1].length+2+e[4].length)}var N0=/^#*0*\.([0#]+)/,P0=/\).*[0#]/,L0=/\(###\) ###\\?-####/;function Qe(e){for(var r="",t,n=0;n!=e.length;++n)switch(t=e.charCodeAt(n)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t)}return r}function bi(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function Ui(e,r){var t=e-Math.floor(e),n=Math.pow(10,r);return r<(""+Math.round(t*n)).length?0:Math.round(t*n)}function ef(e,r){return r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length?1:0}function tf(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function ut(e,r,t){if(e.charCodeAt(0)===40&&!r.match(P0)){var n=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return t>=0?ut("n",n,t):"("+ut("n",n,-t)+")"}if(r.charCodeAt(r.length-1)===44)return Zs(e,r,t);if(r.indexOf("%")!==-1)return Js(e,r,t);if(r.indexOf("E")!==-1)return D0(r,t);if(r.charCodeAt(0)===36)return"$"+ut(e,r.substr(r.charAt(1)==" "?2:1),t);var i,a,s,f,o=Math.abs(t),l=t<0?"-":"";if(r.match(/^00+$/))return l+ir(o,r.length);if(r.match(/^[#?]+$/))return i=ir(t,0),i==="0"&&(i=""),i.length>r.length?i:Qe(r.substr(0,r.length-i.length))+i;if(a=r.match(I0))return qs(a,o,l);if(r.match(/^#+0+$/))return l+ir(o,r.length-r.indexOf("0"));if(a=r.match(N0))return i=bi(t,a[1].length).replace(/^([^\.]+)$/,"$1."+Qe(a[1])).replace(/\.$/,"."+Qe(a[1])).replace(/\.(\d*)$/,function(p,h){return"."+h+Re("0",Qe(a[1]).length-h.length)}),r.indexOf("0.")!==-1?i:i.replace(/^0\./,".");if(r=r.replace(/^#+([0.])/,"$1"),a=r.match(/^(0*)\.(#*)$/))return l+bi(o,a[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=r.match(/^#{1,3},##0(\.?)$/))return l+Mt(ir(o,0));if(a=r.match(/^#,##0\.([#0]*0)$/))return t<0?"-"+ut(e,r,-t):Mt(""+(Math.floor(t)+ef(t,a[1].length)))+"."+_t(Ui(t,a[1].length),a[1].length);if(a=r.match(/^#,#*,#0/))return ut(e,r.replace(/^#,#*,/,""),t);if(a=r.match(/^([0#]+)(\\?-([0#]+))+$/))return i=ur(ut(e,r.replace(/[\\-]/g,""),t)),s=0,ur(ur(r.replace(/\\/g,"")).replace(/[0#]/g,function(p){return s=0?wt("n",n,t):"("+wt("n",n,-t)+")"}if(r.charCodeAt(r.length-1)===44)return rf(e,r,t);if(r.indexOf("%")!==-1)return nf(e,r,t);if(r.indexOf("E")!==-1)return M0(r,t);if(r.charCodeAt(0)===36)return"$"+wt(e,r.substr(r.charAt(1)==" "?2:1),t);var i,a,s,f,o=Math.abs(t),l=t<0?"-":"";if(r.match(/^00+$/))return l+_t(o,r.length);if(r.match(/^[#?]+$/))return i=""+t,t===0&&(i=""),i.length>r.length?i:Qe(r.substr(0,r.length-i.length))+i;if(a=r.match(I0))return Qs(a,o,l);if(r.match(/^#+0+$/))return l+_t(o,r.length-r.indexOf("0"));if(a=r.match(N0))return i=(""+t).replace(/^([^\.]+)$/,"$1."+Qe(a[1])).replace(/\.$/,"."+Qe(a[1])),i=i.replace(/\.(\d*)$/,function(p,h){return"."+h+Re("0",Qe(a[1]).length-h.length)}),r.indexOf("0.")!==-1?i:i.replace(/^0\./,".");if(r=r.replace(/^#+([0.])/,"$1"),a=r.match(/^(0*)\.(#*)$/))return l+(""+o).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=r.match(/^#{1,3},##0(\.?)$/))return l+Mt(""+o);if(a=r.match(/^#,##0\.([#0]*0)$/))return t<0?"-"+wt(e,r,-t):Mt(""+t)+"."+Re("0",a[1].length);if(a=r.match(/^#,#*,#0/))return wt(e,r.replace(/^#,#*,/,""),t);if(a=r.match(/^([0#]+)(\\?-([0#]+))+$/))return i=ur(wt(e,r.replace(/[\\-]/g,""),t)),s=0,ur(ur(r.replace(/\\/g,"")).replace(/[0#]/g,function(p){return s-1||t=="\\"&&e.charAt(r+1)=="-"&&"0#".indexOf(e.charAt(r+2))>-1););break;case"?":for(;e.charAt(++r)===t;);break;case"*":++r,(e.charAt(r)==" "||e.charAt(r)=="*")&&++r;break;case"(":case")":++r;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;r-1;);break;case" ":++r;break;default:++r;break}return!1}function sf(e,r,t,n){for(var i=[],a="",s=0,f="",o="t",l,c,u,v="H";s=12?"P":"A"),h.t="T",v="h",s+=3):e.substr(s,5).toUpperCase()==="AM/PM"?(l!=null&&(h.v=l.H>=12?"PM":"AM"),h.t="T",s+=5,v="h"):e.substr(s,5).toUpperCase()==="上午/下午"?(l!=null&&(h.v=l.H>=12?"下午":"上午"),h.t="T",s+=5,v="h"):(h.t="t",++s),l==null&&h.t==="T")return"";i[i.length]=h,o=f;break;case"[":for(a=f;e.charAt(s++)!=="]"&&s-1&&(a=(a.match(/\$([^-\[\]]*)/)||[])[1]||"$",b0(e)||(i[i.length]={t:"t",v:a}));break;case".":if(l!=null){for(a=f;++s-1;)a+=f;i[i.length]={t:"n",v:a};break;case"?":for(a=f;e.charAt(++s)===f;)a+=f;i[i.length]={t:f,v:a},o=f;break;case"*":++s,(e.charAt(s)==" "||e.charAt(s)=="*")&&++s;break;case"(":case")":i[i.length]={t:n===1?"t":f,v:f},++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(a=f;s-1;)a+=e.charAt(s);i[i.length]={t:"D",v:a};break;case" ":i[i.length]={t:f,v:f},++s;break;case"$":i[i.length]={t:"t",v:"$"},++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f)===-1)throw new Error("unrecognized character "+f+" in "+e);i[i.length]={t:"t",v:f},++s;break}var g=0,A=0,k;for(s=i.length-1,o="t";s>=0;--s)switch(i[s].t){case"h":case"H":i[s].t=v,o="h",g<1&&(g=1);break;case"s":(k=i[s].v.match(/\.0+$/))&&(A=Math.max(A,k[0].length-1)),g<3&&(g=3);case"d":case"y":case"M":case"e":o=i[s].t;break;case"m":o==="s"&&(i[s].t="M",g<2&&(g=2));break;case"X":break;case"Z":g<1&&i[s].v.match(/[Hh]/)&&(g=1),g<2&&i[s].v.match(/[Mm]/)&&(g=2),g<3&&i[s].v.match(/[Ss]/)&&(g=3)}switch(g){case 0:break;case 1:l.u>=.5&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M),l.M>=60&&(l.M=0,++l.H);break;case 2:l.u>=.5&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M);break}var y="",M;for(s=0;s0){y.charCodeAt(0)==40?(Z=r<0&&y.charCodeAt(0)===45?-r:r,R=Ot("n",y,Z)):(Z=r<0&&n>1?-r:r,R=Ot("n",y,Z),Z<0&&i[0]&&i[0].t=="t"&&(R=R.substr(1),i[0].v="-"+i[0].v)),M=R.length-1;var V=i.length;for(s=0;s-1){V=s;break}var C=i.length;if(V===i.length&&R.indexOf("E")===-1){for(s=i.length-1;s>=0;--s)i[s]==null||"n?".indexOf(i[s].t)===-1||(M>=i[s].v.length-1?(M-=i[s].v.length,i[s].v=R.substr(M+1,i[s].v.length)):M<0?i[s].v="":(i[s].v=R.substr(0,M+1),M=-1),i[s].t="t",C=s);M>=0&&C=0;--s)if(!(i[s]==null||"n?".indexOf(i[s].t)===-1)){for(c=i[s].v.indexOf(".")>-1&&s===V?i[s].v.indexOf(".")-1:i[s].v.length-1,K=i[s].v.substr(c+1);c>=0;--c)M>=0&&(i[s].v.charAt(c)==="0"||i[s].v.charAt(c)==="#")&&(K=R.charAt(M--)+K);i[s].v=K,i[s].t="t",C=s}for(M>=0&&C-1&&s===V?i[s].v.indexOf(".")+1:0,K=i[s].v.substr(0,c);c-1&&(Z=n>1&&r<0&&s>0&&i[s-1].v==="-"?-r:r,i[s].v=Ot(i[s].t,i[s].v,Z),i[s].t="t");var b="";for(s=0;s!==i.length;++s)i[s]!=null&&(b+=i[s].v);return b}var Wi=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Hi(e,r){if(r==null)return!1;var t=parseFloat(r[2]);switch(r[1]){case"=":if(e==t)return!0;break;case">":if(e>t)return!0;break;case"<":if(e":if(e!=t)return!0;break;case">=":if(e>=t)return!0;break;case"<=":if(e<=t)return!0;break}return!1}function ff(e,r){var t=af(e),n=t.length,i=t[n-1].indexOf("@");if(n<4&&i>-1&&--n,t.length>4)throw new Error("cannot find right format for |"+t.join("|")+"|");if(typeof r!="number")return[4,t.length===4||i>-1?t[t.length-1]:"@"];switch(t.length){case 1:t=i>-1?["General","General","General",t[0]]:[t[0],t[0],t[0],"@"];break;case 2:t=i>-1?[t[0],t[0],t[0],t[1]]:[t[0],t[1],t[0],"@"];break;case 3:t=i>-1?[t[0],t[1],t[0],t[2]]:[t[0],t[1],t[2],"@"];break}var a=r>0?t[0]:r<0?t[1]:t[2];if(t[0].indexOf("[")===-1&&t[1].indexOf("[")===-1)return[n,a];if(t[0].match(/\[[=<>]/)!=null||t[1].match(/\[[=<>]/)!=null){var s=t[0].match(Wi),f=t[1].match(Wi);return Hi(r,s)?[n,t[0]]:Hi(r,f)?[n,t[1]]:[n,t[s!=null&&f!=null?2:1]]}return[n,a]}function Bt(e,r,t){t==null&&(t={});var n="";switch(typeof e){case"string":e=="m/d/yy"&&t.dateNF?n=t.dateNF:n=e;break;case"number":e==14&&t.dateNF?n=t.dateNF:n=(t.table!=null?t.table:De)[e],n==null&&(n=t.table&&t.table[Bi[e]]||De[Bi[e]]),n==null&&(n=Hs[e]||"General");break}if(fn(n,0))return $n(r,t);r instanceof Date&&(r=k0(r,t.date1904));var i=ff(n,r);if(fn(i[1]))return $n(r,t);if(r===!0)r="TRUE";else if(r===!1)r="FALSE";else if(r===""||r==null)return"";return sf(i[1],r,t,i[0])}function U0(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(De[t]==null){r<0&&(r=t);continue}if(De[t]==e){r=t;break}}r<0&&(r=391)}return De[r]=e,r}function Tn(e){for(var r=0;r!=392;++r)e[r]!==void 0&&U0(e[r],r)}function En(){De=Ws()}var W0=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function lf(e){var r=typeof e=="number"?De[e]:e;return r=r.replace(W0,"(\\d+)"),new RegExp("^"+r+"$")}function of(e,r,t){var n=-1,i=-1,a=-1,s=-1,f=-1,o=-1;(r.match(W0)||[]).forEach(function(u,v){var x=parseInt(t[v+1],10);switch(u.toLowerCase().charAt(0)){case"y":n=x;break;case"d":a=x;break;case"h":s=x;break;case"s":o=x;break;case"m":s>=0?f=x:i=x;break}}),o>=0&&f==-1&&i>=0&&(f=i,i=-1);var l=(""+(n>=0?n:new Date().getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(a>=1?a:1)).slice(-2);l.length==7&&(l="0"+l),l.length==8&&(l="20"+l);var c=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2);return s==-1&&f==-1&&o==-1?l:n==-1&&i==-1&&a==-1?c:l+"T"+c}var cf=(function(){var e={};e.version="1.2.0";function r(){for(var R=0,V=new Array(256),C=0;C!=256;++C)R=C,R=R&1?-306674912^R>>>1:R>>>1,R=R&1?-306674912^R>>>1:R>>>1,R=R&1?-306674912^R>>>1:R>>>1,R=R&1?-306674912^R>>>1:R>>>1,R=R&1?-306674912^R>>>1:R>>>1,R=R&1?-306674912^R>>>1:R>>>1,R=R&1?-306674912^R>>>1:R>>>1,R=R&1?-306674912^R>>>1:R>>>1,V[C]=R;return typeof Int32Array<"u"?new Int32Array(V):V}var t=r();function n(R){var V=0,C=0,b=0,B=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(b=0;b!=256;++b)B[b]=R[b];for(b=0;b!=256;++b)for(C=R[b],V=256+b;V<4096;V+=256)C=B[V]=C>>>8^R[C&255];var W=[];for(b=1;b!=16;++b)W[b-1]=typeof Int32Array<"u"?B.subarray(b*256,b*256+256):B.slice(b*256,b*256+256);return W}var i=n(t),a=i[0],s=i[1],f=i[2],o=i[3],l=i[4],c=i[5],u=i[6],v=i[7],x=i[8],p=i[9],h=i[10],g=i[11],A=i[12],k=i[13],y=i[14];function M(R,V){for(var C=V^-1,b=0,B=R.length;b>>8^t[(C^R.charCodeAt(b++))&255];return~C}function K(R,V){for(var C=V^-1,b=R.length-15,B=0;B>8&255]^A[R[B++]^C>>16&255]^g[R[B++]^C>>>24]^h[R[B++]]^p[R[B++]]^x[R[B++]]^v[R[B++]]^u[R[B++]]^c[R[B++]]^l[R[B++]]^o[R[B++]]^f[R[B++]]^s[R[B++]]^a[R[B++]]^t[R[B++]];for(b+=15;B>>8^t[(C^R[B++])&255];return~C}function Z(R,V){for(var C=V^-1,b=0,B=R.length,W=0,q=0;b>>8^t[(C^W)&255]:W<2048?(C=C>>>8^t[(C^(192|W>>6&31))&255],C=C>>>8^t[(C^(128|W&63))&255]):W>=55296&&W<57344?(W=(W&1023)+64,q=R.charCodeAt(b++)&1023,C=C>>>8^t[(C^(240|W>>8&7))&255],C=C>>>8^t[(C^(128|W>>2&63))&255],C=C>>>8^t[(C^(128|q>>6&15|(W&3)<<4))&255],C=C>>>8^t[(C^(128|q&63))&255]):(C=C>>>8^t[(C^(224|W>>12&15))&255],C=C>>>8^t[(C^(128|W>>6&63))&255],C=C>>>8^t[(C^(128|W&63))&255]);return~C}return e.table=t,e.bstr=M,e.buf=K,e.str=Z,e})(),Se=(function(){var r={};r.version="1.2.1";function t(d,T){for(var m=d.split("/"),_=T.split("/"),E=0,w=0,I=Math.min(m.length,_.length);E>>1,d.write_shift(2,m);var _=T.getFullYear()-1980;_=_<<4|T.getMonth()+1,_=_<<5|T.getDate(),d.write_shift(2,_)}function s(d){var T=d.read_shift(2)&65535,m=d.read_shift(2)&65535,_=new Date,E=m&31;m>>>=5;var w=m&15;m>>>=4,_.setMilliseconds(0),_.setFullYear(m+1980),_.setMonth(w-1),_.setDate(E);var I=T&31;T>>>=5;var H=T&63;return T>>>=6,_.setHours(T),_.setMinutes(H),_.setSeconds(I<<1),_}function f(d){ft(d,0);for(var T={},m=0;d.l<=d.length-4;){var _=d.read_shift(2),E=d.read_shift(2),w=d.l+E,I={};switch(_){case 21589:m=d.read_shift(1),m&1&&(I.mtime=d.read_shift(4)),E>5&&(m&2&&(I.atime=d.read_shift(4)),m&4&&(I.ctime=d.read_shift(4))),I.mtime&&(I.mt=new Date(I.mtime*1e3));break}d.l=w,T[_]=I}return T}var o;function l(){return o||(o={})}function c(d,T){if(d[0]==80&&d[1]==75)return Ri(d,T);if((d[0]|32)==109&&(d[1]|32)==105)return Es(d,T);if(d.length<512)throw new Error("CFB file size "+d.length+" < 512");var m=3,_=512,E=0,w=0,I=0,H=0,D=0,N=[],P=d.slice(0,512);ft(P,0);var X=u(P);switch(m=X[0],m){case 3:_=512;break;case 4:_=4096;break;case 0:if(X[1]==0)return Ri(d,T);default:throw new Error("Major Version: Expected 3 or 4 saw "+m)}_!==512&&(P=d.slice(0,_),ft(P,28));var ee=d.slice(0,_);v(P,m);var ie=P.read_shift(4,"i");if(m===3&&ie!==0)throw new Error("# Directory Sectors: Expected 0 saw "+ie);P.l+=4,I=P.read_shift(4,"i"),P.l+=4,P.chk("00100000","Mini Stream Cutoff Size: "),H=P.read_shift(4,"i"),E=P.read_shift(4,"i"),D=P.read_shift(4,"i"),w=P.read_shift(4,"i");for(var j=-1,ne=0;ne<109&&(j=P.read_shift(4,"i"),!(j<0));++ne)N[ne]=j;var he=x(d,_);g(D,w,he,_,N);var Ce=k(he,I,N,_);Ce[I].name="!Directory",E>0&&H!==q&&(Ce[H].name="!MiniFAT"),Ce[N[0]].name="!FAT",Ce.fat_addrs=N,Ce.ssz=_;var Oe={},Ye=[],Er=[],wr=[];y(I,Ce,he,Ye,E,Oe,Er,H),p(Er,wr,Ye),Ye.shift();var Sr={FileIndex:Er,FullPaths:wr};return T&&T.raw&&(Sr.raw={header:ee,sectors:he}),Sr}function u(d){if(d[d.l]==80&&d[d.l+1]==75)return[0,0];d.chk(te,"Header Signature: "),d.l+=16;var T=d.read_shift(2,"u");return[d.read_shift(2,"u"),T]}function v(d,T){var m=9;switch(d.l+=2,m=d.read_shift(2)){case 9:if(T!=3)throw new Error("Sector Shift: Expected 9 saw "+m);break;case 12:if(T!=4)throw new Error("Sector Shift: Expected 12 saw "+m);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+m)}d.chk("0600","Mini Sector Shift: "),d.chk("000000000000","Reserved: ")}function x(d,T){for(var m=Math.ceil(d.length/T)-1,_=[],E=1;E0&&I>=0;)w.push(T.slice(I*W,I*W+W)),E-=W,I=Xt(m,I*4);return w.length===0?U(0):Xe(w).slice(0,d.size)}function g(d,T,m,_,E){var w=q;if(d===q){if(T!==0)throw new Error("DIFAT chain shorter than expected")}else if(d!==-1){var I=m[d],H=(_>>>2)-1;if(!I)return;for(var D=0;D=0;){E[D]=!0,w[w.length]=D,I.push(d[D]);var P=m[Math.floor(D*4/_)];if(N=D*4&H,_<4+N)throw new Error("FAT boundary crossed: "+D+" 4 "+_);if(!d[P])break;D=Xt(d[P],N)}return{nodes:w,data:Yi([I])}}function k(d,T,m,_){var E=d.length,w=[],I=[],H=[],D=[],N=_-1,P=0,X=0,ee=0,ie=0;for(P=0;P=E&&(ee-=E),!I[ee]){D=[];var j=[];for(X=ee;X>=0;){j[X]=!0,I[X]=!0,H[H.length]=X,D.push(d[X]);var ne=m[Math.floor(X*4/_)];if(ie=X*4&N,_<4+ie)throw new Error("FAT boundary crossed: "+X+" 4 "+_);if(!d[ne]||(X=Xt(d[ne],ie),j[X]))break}w[ee]={nodes:H,data:Yi([D])}}return w}function y(d,T,m,_,E,w,I,H){for(var D=0,N=_.length?2:0,P=T[d].data,X=0,ee=0,ie;X0&&D!==q&&(T[D].name="!StreamData")):ne.size>=4096?(ne.storage="fat",T[ne.start]===void 0&&(T[ne.start]=A(m,ne.start,T.fat_addrs,T.ssz)),T[ne.start].name=ne.name,ne.content=T[ne.start].data.slice(0,ne.size)):(ne.storage="minifat",ne.size<0?ne.size=0:D!==q&&ne.start!==q&&T[D]&&(ne.content=h(ne,T[D].data,(T[H]||{}).data))),ne.content&&ft(ne.content,0),w[ie]=ne,I.push(ne)}}function M(d,T){return new Date((ot(d,T+4)/1e7*Math.pow(2,32)+ot(d,T)/1e7-11644473600)*1e3)}function K(d,T){return l(),c(o.readFileSync(d),T)}function Z(d,T){var m=T&&T.type;switch(m||pe&&Buffer.isBuffer(d)&&(m="buffer"),m||"base64"){case"file":return K(d,T);case"base64":return c(gt(Dt(d)),T);case"binary":return c(gt(d),T)}return c(d,T)}function R(d,T){var m=T||{},_=m.root||"Root Entry";if(d.FullPaths||(d.FullPaths=[]),d.FileIndex||(d.FileIndex=[]),d.FullPaths.length!==d.FileIndex.length)throw new Error("inconsistent CFB structure");d.FullPaths.length===0&&(d.FullPaths[0]=_+"/",d.FileIndex[0]={name:_,type:5}),m.CLSID&&(d.FileIndex[0].clsid=m.CLSID),V(d)}function V(d){var T="Sh33tJ5";if(!Se.find(d,"/"+T)){var m=U(4);m[0]=55,m[1]=m[3]=50,m[2]=54,d.FileIndex.push({name:T,type:2,content:m,size:4,L:69,R:69,C:69}),d.FullPaths.push(d.FullPaths[0]+T),C(d)}}function C(d,T){R(d);for(var m=!1,_=!1,E=d.FullPaths.length-1;E>=0;--E){var w=d.FileIndex[E];switch(w.type){case 0:_?m=!0:(d.FileIndex.pop(),d.FullPaths.pop());break;case 1:case 2:case 5:_=!0,isNaN(w.R*w.L*w.C)&&(m=!0),w.R>-1&&w.L>-1&&w.R==w.L&&(m=!0);break;default:m=!0;break}}if(!(!m&&!T)){var I=new Date(1987,1,19),H=0,D=Object.create?Object.create(null):{},N=[];for(E=0;E1?1:-1,X.size=0,X.type=5;else if(ee.slice(-1)=="/"){for(H=E+1;H=N.length?-1:H,H=E+1;H=N.length?-1:H,X.type=1}else n(d.FullPaths[E+1]||"")==n(ee)&&(X.R=E+1),X.type=2}}}function b(d,T){var m=T||{};if(m.fileType=="mad")return ws(d,m);switch(C(d),m.fileType){case"zip":return vs(d,m)}var _=(function(ie){for(var j=0,ne=0,he=0;he0&&(Oe<4096?j+=Oe+63>>6:ne+=Oe+511>>9)}}for(var Ye=ie.FullPaths.length+3>>2,Er=j+7>>3,wr=j+127>>7,Sr=Er+ne+Ye+wr,Gt=Sr+127>>7,Dn=Gt<=109?0:Math.ceil((Gt-109)/127);Sr+Gt+Dn+127>>7>Gt;)Dn=++Gt<=109?0:Math.ceil((Gt-109)/127);var Ct=[1,Dn,Gt,wr,Ye,ne,j,0];return ie.FileIndex[0].size=j<<6,Ct[7]=(ie.FileIndex[0].start=Ct[0]+Ct[1]+Ct[2]+Ct[3]+Ct[4]+Ct[5])+(Ct[6]+7>>3),Ct})(d),E=U(_[7]<<9),w=0,I=0;{for(w=0;w<8;++w)E.write_shift(1,Q[w]);for(w=0;w<8;++w)E.write_shift(2,0);for(E.write_shift(2,62),E.write_shift(2,3),E.write_shift(2,65534),E.write_shift(2,9),E.write_shift(2,6),w=0;w<3;++w)E.write_shift(2,0);for(E.write_shift(4,0),E.write_shift(4,_[2]),E.write_shift(4,_[0]+_[1]+_[2]+_[3]-1),E.write_shift(4,0),E.write_shift(4,4096),E.write_shift(4,_[3]?_[0]+_[1]+_[2]-1:q),E.write_shift(4,_[3]),E.write_shift(-4,_[1]?_[0]-1:q),E.write_shift(4,_[1]),w=0;w<109;++w)E.write_shift(-4,w<_[2]?_[1]+w:-1)}if(_[1])for(I=0;I<_[1];++I){for(;w<236+I*127;++w)E.write_shift(-4,w<_[2]?_[1]+w:-1);E.write_shift(-4,I===_[1]-1?q:I+1)}var H=function(ie){for(I+=ie;w>9)));for(H(_[6]+7>>3);E.l&511;)E.write_shift(-4,ce.ENDOFCHAIN);for(I=w=0,D=0;D=4096)&&(P.start=I,H(N+63>>6)));for(;E.l&511;)E.write_shift(-4,ce.ENDOFCHAIN);for(w=0;w<_[4]<<2;++w){var X=d.FullPaths[w];if(!X||X.length===0){for(D=0;D<17;++D)E.write_shift(4,0);for(D=0;D<3;++D)E.write_shift(4,-1);for(D=0;D<12;++D)E.write_shift(4,0);continue}P=d.FileIndex[w],w===0&&(P.start=P.size?P.start-1:q);var ee=w===0&&m.root||P.name;if(N=2*(ee.length+1),E.write_shift(64,ee,"utf16le"),E.write_shift(2,N),E.write_shift(1,P.type),E.write_shift(1,P.color),E.write_shift(-4,P.L),E.write_shift(-4,P.R),E.write_shift(-4,P.C),P.clsid)E.write_shift(16,P.clsid,"hex");else for(D=0;D<4;++D)E.write_shift(4,0);E.write_shift(4,P.state||0),E.write_shift(4,0),E.write_shift(4,0),E.write_shift(4,0),E.write_shift(4,0),E.write_shift(4,P.start),E.write_shift(4,P.size),E.write_shift(4,0)}for(w=1;w=4096)if(E.l=P.start+1<<9,pe&&Buffer.isBuffer(P.content))P.content.copy(E,E.l,0,P.size),E.l+=P.size+511&-512;else{for(D=0;D0&&P.size<4096)if(pe&&Buffer.isBuffer(P.content))P.content.copy(E,E.l,0,P.size),E.l+=P.size+63&-64;else{for(D=0;D>16|T>>8|T)&255}for(var se=typeof Uint8Array<"u",re=se?new Uint8Array(256):[],Fe=0;Fe<256;++Fe)re[Fe]=oe(Fe);function de(d,T){var m=re[d&255];return T<=8?m>>>8-T:(m=m<<8|re[d>>8&255],T<=16?m>>>16-T:(m=m<<8|re[d>>16&255],m>>>24-T))}function qe(d,T){var m=T&7,_=T>>>3;return(d[_]|(m<=6?0:d[_+1]<<8))>>>m&3}function me(d,T){var m=T&7,_=T>>>3;return(d[_]|(m<=5?0:d[_+1]<<8))>>>m&7}function Ft(d,T){var m=T&7,_=T>>>3;return(d[_]|(m<=4?0:d[_+1]<<8))>>>m&15}function ke(d,T){var m=T&7,_=T>>>3;return(d[_]|(m<=3?0:d[_+1]<<8))>>>m&31}function ae(d,T){var m=T&7,_=T>>>3;return(d[_]|(m<=1?0:d[_+1]<<8))>>>m&127}function ht(d,T,m){var _=T&7,E=T>>>3,w=(1<>>_;return m<8-_||(I|=d[E+1]<<8-_,m<16-_)||(I|=d[E+2]<<16-_,m<24-_)||(I|=d[E+3]<<24-_),I&w}function yt(d,T,m){var _=T&7,E=T>>>3;return _<=5?d[E]|=(m&7)<<_:(d[E]|=m<<_&255,d[E+1]=(m&7)>>8-_),T+3}function Ht(d,T,m){var _=T&7,E=T>>>3;return m=(m&1)<<_,d[E]|=m,T+1}function nr(d,T,m){var _=T&7,E=T>>>3;return m<<=_,d[E]|=m&255,m>>>=8,d[E+1]=m,T+8}function Ei(d,T,m){var _=T&7,E=T>>>3;return m<<=_,d[E]|=m&255,m>>>=8,d[E+1]=m&255,d[E+2]=m>>>8,T+16}function Cn(d,T){var m=d.length,_=2*m>T?2*m:T+5,E=0;if(m>=T)return d;if(pe){var w=Pi(_);if(d.copy)d.copy(w);else for(;E>_-X,I=(1<<_+4-X)-1;I>=0;--I)T[H|I<0;)D[D.l++]=H[N++]}return D.l}function I(H,D){for(var N=0,P=0,X=se?new Uint16Array(32768):[];P0;)D[D.l++]=H[P++];N=D.l*8;continue}N=yt(D,N,+(P+ee==H.length)+2);for(var ie=0;ee-- >0;){var j=H[P];ie=(ie<<5^j)&32767;var ne=-1,he=0;if((ne=X[ie])&&(ne|=P&-32768,ne>P&&(ne-=32768),ne2){j=E[he],j<=22?N=nr(D,N,re[j+1]>>1)-1:(nr(D,N,3),N+=5,nr(D,N,re[j-23]>>5),N+=3);var Ce=j<8?0:j-4>>2;Ce>0&&(Ei(D,N,he-z[j]),N+=Ce),j=T[P-ne],N=nr(D,N,re[j]>>3),N-=3;var Oe=j<4?0:j-2>>1;Oe>0&&(Ei(D,N,P-ne-fe[j]),N+=Oe);for(var Ye=0;Ye>8-j;for(var ne=(1<<7-j)-1;ne>=0;--ne)Fi[ie|ne<>>=3){case 16:for(w=3+qe(d,T),T+=2,ie=he[he.length-1];w-- >0;)he.push(ie);break;case 17:for(w=3+me(d,T),T+=3;w-- >0;)he.push(0);break;case 18:for(w=11+ae(d,T),T+=7;w-- >0;)he.push(0);break;default:he.push(ie),D>>0,H=0,D=0;(_&1)==0;){if(_=me(d,m),m+=3,_>>>1)_>>1==1?(H=9,D=5):(m=us(d,m),H=yi,D=Ci);else{m&7&&(m+=8-(m&7));var N=d[m>>>3]|d[(m>>>3)+1]<<8;if(m+=32,N>0)for(!T&&I0;)E[w++]=d[m>>>3],m+=8;continue}for(;;){!T&&I>>1==1?On[P]:Si[P];if(m+=X&15,X>>>=4,(X>>>8&255)===0)E[w++]=X;else{if(X==256)break;X-=257;var ee=X<8?0:X-4>>2;ee>5&&(ee=0);var ie=w+z[X];ee>0&&(ie+=ht(d,m,ee),m+=ee),P=ht(d,m,D),X=_>>>1==1?kn[P]:Ai[P],m+=X&15,X>>>=4;var j=X<4?0:X-2>>1,ne=fe[X];for(j>0&&(ne+=ht(d,m,j),m+=j),!T&&I>>3]:[E.slice(0,w),m+7>>>3]}function Oi(d,T){var m=d.slice(d.l||0),_=xs(m,T);return d.l+=_[1],_[0]}function ki(d,T){if(d)typeof console<"u"&&console.error(T);else throw new Error(T)}function Ri(d,T){var m=d;ft(m,0);var _=[],E=[],w={FileIndex:_,FullPaths:E};R(w,{root:T.root});for(var I=m.length-4;(m[I]!=80||m[I+1]!=75||m[I+2]!=5||m[I+3]!=6)&&I>=0;)--I;m.l=I+4,m.l+=4;var H=m.read_shift(2);m.l+=6;var D=m.read_shift(4);for(m.l=D,I=0;I0&&(m=m.slice(0,m.length-1),m=m.slice(0,m.lastIndexOf("/")+1),w.slice(0,m.length)!=m););var I=(_[1]||"").match(/boundary="(.*?)"/);if(!I)throw new Error("MAD cannot find boundary");var H="--"+(I[1]||""),D=[],N=[],P={FileIndex:D,FullPaths:N};R(P);var X,ee=0;for(E=0;E<_.length;++E){var ie=_[E];ie!==H&&ie!==H+"--"||(ee++&&Ts(P,_.slice(X,E),m),X=E)}return P}function ws(d,T){var m=T||{},_=m.boundary||"SheetJS";_="------="+_;for(var E=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+_.slice(2)+'"',"","",""],w=d.FullPaths[0],I=w,H=d.FileIndex[0],D=1;D=32&&ie<128&&++X;var ne=X>=ee*4/5;E.push(_),E.push("Content-Location: "+(m.root||"file:///C:/SheetJS/")+I),E.push("Content-Transfer-Encoding: "+(ne?"quoted-printable":"base64")),E.push("Content-Type: "+ps(H,I)),E.push(""),E.push(ne?gs(P):ms(P))}return E.push(_+`--\r -`),E.join(`\r -`)}function Ss(d){var T={};return R(T,d),T}function Rn(d,T,m,_){var E=_&&_.unsafe;E||R(d);var w=!E&&Se.find(d,T);if(!w){var I=d.FullPaths[0];T.slice(0,I.length)==I?I=T:(I.slice(-1)!="/"&&(I+="/"),I=(I+T).replace("//","/")),w={name:i(T),type:2},d.FileIndex.push(w),d.FullPaths.push(I),E||Se.utils.cfb_gc(d)}return w.content=m,w.size=m?m.length:0,_&&(_.CLSID&&(w.clsid=_.CLSID),_.mt&&(w.mt=_.mt),_.ct&&(w.ct=_.ct)),w}function As(d,T){R(d);var m=Se.find(d,T);if(m){for(var _=0;_0?t.setTime(t.getTime()+t.getTimezoneOffset()*60*1e3):r<0&&t.setTime(t.getTime()-t.getTimezoneOffset()*60*1e3),t;if(e instanceof Date)return e;if(G0.getFullYear()==1917&&!isNaN(t.getFullYear())){var n=t.getFullYear();return e.indexOf(""+n)>-1||t.setFullYear(t.getFullYear()+100),t}var i=e.match(/\d+/g)||["2017","2","19","0","0","0"],a=new Date(+i[0],+i[1]-1,+i[2],+i[3]||0,+i[4]||0,+i[5]||0);return e.indexOf("Z")>-1&&(a=new Date(a.getTime()-a.getTimezoneOffset()*60*1e3)),a}function Sn(e,r){if(pe&&Buffer.isBuffer(e))return e.toString("binary");if(typeof TextDecoder<"u")try{var t={"€":"€","‚":"‚",ƒ:"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰",Š:"Š","‹":"‹",Œ:"Œ",Ž:"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™",š:"š","›":"›",œ:"œ",ž:"ž",Ÿ:"Ÿ"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(a){return t[a]||a})}catch{}for(var n=[],i=0;i!=e.length;++i)n.push(String.fromCharCode(e[i]));return n.join("")}function it(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=it(e[t]));return r}function Re(e,r){for(var t="";t.length3&&vf.indexOf(s)==-1)return t}else if(s.match(/[a-z]/))return t;return n<0||n>8099?t:(i>0||a>1)&&n!=101?r:e.match(/[^-0-9:,\/\\]/)?t:r}function ue(e,r,t){if(e.FullPaths){if(typeof t=="string"){var n;return pe?n=Nt(t):n=Bs(t),Se.utils.cfb_add(e,r,n)}Se.utils.cfb_add(e,r,t)}else e.file(r,t)}function ti(){return Se.utils.cfb_new()}var Le=`\r -`,pf={""":'"',"'":"'",">":">","<":"<","&":"&"},ri=ei(pf),ni=/[&<>'"]/g,mf=/[\u0000-\u0008\u000b-\u001f]/g;function Ee(e){var r=e+"";return r.replace(ni,function(t){return ri[t]}).replace(mf,function(t){return"_x"+("000"+t.charCodeAt(0).toString(16)).slice(-4)+"_"})}function Xi(e){return Ee(e).replace(/ /g,"_x0020_")}var z0=/[\u0000-\u001f]/g;function gf(e){var r=e+"";return r.replace(ni,function(t){return ri[t]}).replace(/\n/g,"
").replace(z0,function(t){return"&#x"+("000"+t.charCodeAt(0).toString(16)).slice(-4)+";"})}function _f(e){var r=e+"";return r.replace(ni,function(t){return ri[t]}).replace(z0,function(t){return"&#x"+t.charCodeAt(0).toString(16).toUpperCase()+";"})}function Tf(e){return e.replace(/(\r\n|[\r\n])/g," ")}function Ef(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function Nn(e){for(var r="",t=0,n=0,i=0,a=0,s=0,f=0;t191&&n<224){s=(n&31)<<6,s|=i&63,r+=String.fromCharCode(s);continue}if(a=e.charCodeAt(t++),n<240){r+=String.fromCharCode((n&15)<<12|(i&63)<<6|a&63);continue}s=e.charCodeAt(t++),f=((n&7)<<18|(i&63)<<12|(a&63)<<6|s&63)-65536,r+=String.fromCharCode(55296+(f>>>10&1023)),r+=String.fromCharCode(56320+(f&1023))}return r}function $i(e){var r=Yt(2*e.length),t,n,i=1,a=0,s=0,f;for(n=0;n>>10&1023),t=56320+(t&1023)),s!==0&&(r[a++]=s&255,r[a++]=s>>>8,s=0),r[a++]=t%256,r[a++]=t>>>8;return r.slice(0,a).toString("ucs2")}function Ki(e){return Nt(e,"binary").toString("utf8")}var qr="foo bar baz☃🍣",Cr=pe&&(Ki(qr)==Nn(qr)&&Ki||$i(qr)==Nn(qr)&&$i)||Nn,Br=pe?function(e){return Nt(e,"utf8").toString("binary")}:function(e){for(var r=[],t=0,n=0,i=0;t>6))),r.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,i=e.charCodeAt(t++)-56320+(n<<10),r.push(String.fromCharCode(240+(i>>18&7))),r.push(String.fromCharCode(144+(i>>12&63))),r.push(String.fromCharCode(128+(i>>6&63))),r.push(String.fromCharCode(128+(i&63)));break;default:r.push(String.fromCharCode(224+(n>>12))),r.push(String.fromCharCode(128+(n>>6&63))),r.push(String.fromCharCode(128+(n&63)))}return r.join("")},wf=(function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(r){return[new RegExp("&"+r[0]+";","ig"),r[1]]});return function(t){for(var n=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,` -`).replace(/<[^>]*>/g,""),i=0;i"+r+""}function br(e){return je(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function Y(e,r,t){return"<"+e+(t!=null?br(t):"")+(r!=null?(r.match(X0)?' xml:space="preserve"':"")+">"+r+""}function Kn(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function Sf(e,r){switch(typeof e){case"string":var t=Y("vt:lpwstr",Ee(e));return t=t.replace(/"/g,"_x0022_"),t;case"number":return Y((e|0)==e?"vt:i4":"vt:r8",Ee(String(e)));case"boolean":return Y("vt:bool",e?"true":"false")}if(e instanceof Date)return Y("vt:filetime",Kn(e));throw new Error("Unable to serialize "+e)}var Ue={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},mr=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],lt={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function Af(e,r){for(var t=1-2*(e[r+7]>>>7),n=((e[r+7]&127)<<4)+(e[r+6]>>>4&15),i=e[r+6]&15,a=5;a>=0;--a)i=i*256+e[r+a];return n==2047?i==0?t*(1/0):NaN:(n==0?n=-1022:(n-=1023,i+=Math.pow(2,52)),t*Math.pow(2,n-52)*i)}function Ff(e,r,t){var n=(r<0||1/r==-1/0?1:0)<<7,i=0,a=0,s=n?-r:r;isFinite(s)?s==0?i=a=0:(i=Math.floor(Math.log(s)/Math.LN2),a=s*Math.pow(2,52-i),i<=-1023&&(!isFinite(a)||a>4|n}var ji=function(e){for(var r=[],t=10240,n=0;n0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(r){return Buffer.isBuffer(r)?r:Nt(r)})):ji(e)}:ji,Ji=function(e,r,t){for(var n=[],i=r;i0?Gr(e,r+4,r+4+t-1):""},j0=K0,Y0=function(e,r){var t=ot(e,r);return t>0?Gr(e,r+4,r+4+t-1):""},J0=Y0,Z0=function(e,r){var t=2*ot(e,r);return t>0?Gr(e,r+4,r+4+t-1):""},q0=Z0,Q0=function(r,t){var n=ot(r,t);return n>0?ii(r,t+4,t+4+n):""},ea=Q0,ta=function(e,r){var t=ot(e,r);return t>0?Gr(e,r+4,r+4+t):""},ra=ta,na=function(e,r){return Af(e,r)},cn=na,ai=function(r){return Array.isArray(r)||typeof Uint8Array<"u"&&r instanceof Uint8Array};pe&&(j0=function(r,t){if(!Buffer.isBuffer(r))return K0(r,t);var n=r.readUInt32LE(t);return n>0?r.toString("utf8",t+4,t+4+n-1):""},J0=function(r,t){if(!Buffer.isBuffer(r))return Y0(r,t);var n=r.readUInt32LE(t);return n>0?r.toString("utf8",t+4,t+4+n-1):""},q0=function(r,t){if(!Buffer.isBuffer(r))return Z0(r,t);var n=2*r.readUInt32LE(t);return r.toString("utf16le",t+4,t+4+n-1)},ea=function(r,t){if(!Buffer.isBuffer(r))return Q0(r,t);var n=r.readUInt32LE(t);return r.toString("utf16le",t+4,t+4+n)},ra=function(r,t){if(!Buffer.isBuffer(r))return ta(r,t);var n=r.readUInt32LE(t);return r.toString("utf8",t+4,t+4+n)},cn=function(r,t){return Buffer.isBuffer(r)?r.readDoubleLE(t):na(r,t)},ai=function(r){return Buffer.isBuffer(r)||Array.isArray(r)||typeof Uint8Array<"u"&&r instanceof Uint8Array});var lr=function(e,r){return e[r]},Fr=function(e,r){return e[r+1]*256+e[r]},yf=function(e,r){var t=e[r+1]*256+e[r];return t<32768?t:(65535-t+1)*-1},ot=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]},Xt=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]},Cf=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function Or(e,r){var t="",n,i,a=[],s,f,o,l;switch(r){case"dbcs":if(l=this.l,pe&&Buffer.isBuffer(this))t=this.slice(this.l,this.l+2*e).toString("utf16le");else for(o=0;o0?Xt:Cf)(this,this.l),this.l+=4,n):(i=ot(this,this.l),this.l+=4,i);case 8:case-8:if(r==="f")return e==8?i=cn(this,this.l):i=cn([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,i;e=8;case 16:t=$0(this,this.l,e);break}}return this.l+=e,t}var Of=function(e,r,t){e[t]=r&255,e[t+1]=r>>>8&255,e[t+2]=r>>>16&255,e[t+3]=r>>>24&255},kf=function(e,r,t){e[t]=r&255,e[t+1]=r>>8&255,e[t+2]=r>>16&255,e[t+3]=r>>24&255},Rf=function(e,r,t){e[t]=r&255,e[t+1]=r>>>8&255};function Df(e,r,t){var n=0,i=0;if(t==="dbcs"){for(i=0;i!=r.length;++i)Rf(this,r.charCodeAt(i),this.l+2*i);n=2*r.length}else if(t==="sbcs"){for(r=r.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=r.length;++i)this[this.l+i]=r.charCodeAt(i)&255;n=r.length}else if(t==="hex"){for(;i>8}for(;this.l>>=8,this[this.l+1]=r&255;break;case 3:n=3,this[this.l]=r&255,r>>>=8,this[this.l+1]=r&255,r>>>=8,this[this.l+2]=r&255;break;case 4:n=4,Of(this,r,this.l);break;case 8:if(n=8,t==="f"){Ff(this,r,this.l);break}case 16:break;case-4:n=4,kf(this,r,this.l);break}return this.l+=n,this}function ia(e,r){var t=$0(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function ft(e,r){e.l=r,e.read_shift=Or,e.chk=ia,e.write_shift=Df}function At(e,r){e.l+=r}function U(e){var r=Yt(e);return ft(r,0),r}function rt(){var e=[],r=pe?256:2048,t=function(l){var c=U(l);return ft(c,0),c},n=t(r),i=function(){n&&(n.length>n.l&&(n=n.slice(0,n.l),n.l=n.length),n.length>0&&e.push(n),n=null)},a=function(l){return n&&l=128?1:0)+1,n>=128&&++a,n>=16384&&++a,n>=2097152&&++a;var s=e.next(a);i<=127?s.write_shift(1,i):(s.write_shift(1,(i&127)+128),s.write_shift(1,i>>7));for(var f=0;f!=4;++f)if(n>=128)s.write_shift(1,(n&127)+128),n>>=7;else{s.write_shift(1,n);break}n>0&&ai(t)&&e.push(t)}}function kr(e,r,t){var n=it(e);if(r.s?(n.cRel&&(n.c+=r.s.c),n.rRel&&(n.r+=r.s.r)):(n.cRel&&(n.c+=r.c),n.rRel&&(n.r+=r.r)),!t||t.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function Qi(e,r,t){var n=it(e);return n.s=kr(n.s,r.s,t),n.e=kr(n.e,r.s,t),n}function Rr(e,r){if(e.cRel&&e.c<0)for(e=it(e);e.c<0;)e.c+=r>8?16384:256;if(e.rRel&&e.r<0)for(e=it(e);e.r<0;)e.r+=r>8?1048576:r>5?65536:16384;var t=we(e);return!e.cRel&&e.cRel!=null&&(t=Pf(t)),!e.rRel&&e.rRel!=null&&(t=If(t)),t}function Pn(e,r){return e.s.r==0&&!e.s.rRel&&e.e.r==(r.biff>=12?1048575:r.biff>=8?65536:16384)&&!e.e.rRel?(e.s.cRel?"":"$")+Je(e.s.c)+":"+(e.e.cRel?"":"$")+Je(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(r.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?"":"$")+Ke(e.s.r)+":"+(e.e.rRel?"":"$")+Ke(e.e.r):Rr(e.s,r.biff)+":"+Rr(e.e,r.biff)}function si(e){return parseInt(Nf(e),10)-1}function Ke(e){return""+(e+1)}function If(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Nf(e){return e.replace(/\$(\d+)$/,"$1")}function fi(e){for(var r=Lf(e),t=0,n=0;n!==r.length;++n)t=26*t+r.charCodeAt(n)-64;return t-1}function Je(e){if(e<0)throw new Error("invalid column "+e);var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function Pf(e){return e.replace(/^([A-Z])/,"$$$1")}function Lf(e){return e.replace(/^\$([A-Z])/,"$1")}function Mf(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function We(e){for(var r=0,t=0,n=0;n=48&&i<=57?r=10*r+(i-48):i>=65&&i<=90&&(t=26*t+(i-64))}return{c:t-1,r:r-1}}function we(e){for(var r=e.c+1,t="";r;r=(r-1)/26|0)t=String.fromCharCode((r-1)%26+65)+t;return t+(e.r+1)}function ct(e){var r=e.indexOf(":");return r==-1?{s:We(e),e:We(e)}:{s:We(e.slice(0,r)),e:We(e.slice(r+1))}}function Pe(e,r){return typeof r>"u"||typeof r=="number"?Pe(e.s,e.e):(typeof e!="string"&&(e=we(e)),typeof r!="string"&&(r=we(r)),e==r?e:e+":"+r)}function ye(e){var r={s:{c:0,r:0},e:{c:0,r:0}},t=0,n=0,i=0,a=e.length;for(t=0;n26);++n)t=26*t+i;for(r.s.c=--t,t=0;n9);++n)t=10*t+i;if(r.s.r=--t,n===a||i!=10)return r.e.c=r.s.c,r.e.r=r.s.r,r;for(++n,t=0;n!=a&&!((i=e.charCodeAt(n)-64)<1||i>26);++n)t=26*t+i;for(r.e.c=--t,t=0;n!=a&&!((i=e.charCodeAt(n)-48)<0||i>9);++n)t=10*t+i;return r.e.r=--t,r}function e0(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=Bt(e.z,t?nt(r):r)}catch{}try{return e.w=Bt((e.XF||{}).numFmtId||(t?14:0),t?nt(r):r)}catch{return""+r}}function It(e,r,t){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&t&&t.dateNF&&(e.z=t.dateNF),e.t=="e"?zr[e.v]||e.v:r==null?e0(e,e.v):e0(e,r))}function qt(e,r){var t=r&&r.sheet?r.sheet:"Sheet1",n={};return n[t]=e,{SheetNames:[t],Sheets:n}}function aa(e,r,t){var n=t||{},i=e?Array.isArray(e):n.dense,a=e||(i?[]:{}),s=0,f=0;if(a&&n.origin!=null){if(typeof n.origin=="number")s=n.origin;else{var o=typeof n.origin=="string"?We(n.origin):n.origin;s=o.r,f=o.c}a["!ref"]||(a["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(a["!ref"]){var c=ye(a["!ref"]);l.s.c=c.s.c,l.s.r=c.s.r,l.e.c=Math.max(l.e.c,c.e.c),l.e.r=Math.max(l.e.r,c.e.r),s==-1&&(l.e.r=s=c.e.r+1)}for(var u=0;u!=r.length;++u)if(r[u]){if(!Array.isArray(r[u]))throw new Error("aoa_to_sheet expects an array of arrays");for(var v=0;v!=r[u].length;++v)if(!(typeof r[u][v]>"u")){var x={v:r[u][v]},p=s+u,h=f+v;if(l.s.r>p&&(l.s.r=p),l.s.c>h&&(l.s.c=h),l.e.r0&&r.write_shift(0,e,"dbcs"),t?r.slice(0,r.l):r}function bf(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function Uf(e,r){return r||(r=U(4)),r.write_shift(2,0),r.write_shift(2,0),r}function li(e,r){var t=e.l,n=e.read_shift(1),i=Ze(e),a=[],s={t:i,h:i};if((n&1)!==0){for(var f=e.read_shift(4),o=0;o!=f;++o)a.push(bf(e));s.r=a}else s.r=[{ich:0,ifnt:0}];return e.l=t+r,s}function Wf(e,r){var t=!1;return r==null&&(t=!0,r=U(15+4*e.t.length)),r.write_shift(1,0),He(e.t,r),t?r.slice(0,r.l):r}var Hf=li;function Vf(e,r){var t=!1;return r==null&&(t=!0,r=U(23+4*e.t.length)),r.write_shift(1,1),He(e.t,r),r.write_shift(4,1),Uf({},r),t?r.slice(0,r.l):r}function vt(e){var r=e.read_shift(4),t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:r,iStyleRef:t}}function Qt(e,r){return r==null&&(r=U(8)),r.write_shift(-4,e.c),r.write_shift(3,e.iStyleRef||e.s),r.write_shift(1,0),r}function er(e){var r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:r}}function tr(e,r){return r==null&&(r=U(4)),r.write_shift(3,e.iStyleRef||e.s),r.write_shift(1,0),r}var Gf=Ze,sa=He;function oi(e){var r=e.read_shift(4);return r===0||r===4294967295?"":e.read_shift(r,"dbcs")}function hn(e,r){var t=!1;return r==null&&(t=!0,r=U(127)),r.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&r.write_shift(0,e,"dbcs"),t?r.slice(0,r.l):r}var zf=Ze,jn=oi,ci=hn;function fa(e){var r=e.slice(e.l,e.l+4),t=r[0]&1,n=r[0]&2;e.l+=4;var i=n===0?cn([0,0,0,0,r[0]&252,r[1],r[2],r[3]],0):Xt(r,0)>>2;return t?i/100:i}function la(e,r){r==null&&(r=U(4));var t=0,n=0,i=e*100;if(e==(e|0)&&e>=-536870912&&e<1<<29?n=1:i==(i|0)&&i>=-536870912&&i<1<<29&&(n=1,t=1),n)r.write_shift(-4,((t?i:e)<<2)+(t+2));else throw new Error("unsupported RkNumber "+e)}function oa(e){var r={s:{},e:{}};return r.s.r=e.read_shift(4),r.e.r=e.read_shift(4),r.s.c=e.read_shift(4),r.e.c=e.read_shift(4),r}function Xf(e,r){return r||(r=U(16)),r.write_shift(4,e.s.r),r.write_shift(4,e.e.r),r.write_shift(4,e.s.c),r.write_shift(4,e.e.c),r}var rr=oa,_r=Xf;function Tr(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Jt(e,r){return(r||U(8)).write_shift(8,e,"f")}function $f(e){var r={},t=e.read_shift(1),n=t>>>1,i=e.read_shift(1),a=e.read_shift(2,"i"),s=e.read_shift(1),f=e.read_shift(1),o=e.read_shift(1);switch(e.l++,n){case 0:r.auto=1;break;case 1:r.index=i;var l=tl[i];l&&(r.rgb=h0(l));break;case 2:r.rgb=h0([s,f,o]);break;case 3:r.theme=i;break}return a!=0&&(r.tint=a>0?a/32767:a/32768),r}function un(e,r){if(r||(r=U(8)),!e||e.auto)return r.write_shift(4,0),r.write_shift(4,0),r;e.index!=null?(r.write_shift(1,2),r.write_shift(1,e.index)):e.theme!=null?(r.write_shift(1,6),r.write_shift(1,e.theme)):(r.write_shift(1,5),r.write_shift(1,0));var t=e.tint||0;if(t>0?t*=32767:t<0&&(t*=32768),r.write_shift(2,t),!e.rgb||e.theme!=null)r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);else{var n=e.rgb||"FFFFFF";typeof n=="number"&&(n=("000000"+n.toString(16)).slice(-6)),r.write_shift(1,parseInt(n.slice(0,2),16)),r.write_shift(1,parseInt(n.slice(2,4),16)),r.write_shift(1,parseInt(n.slice(4,6),16)),r.write_shift(1,255)}return r}function Kf(e){var r=e.read_shift(1);e.l++;var t={fBold:r&1,fItalic:r&2,fUnderline:r&4,fStrikeout:r&8,fOutline:r&16,fShadow:r&32,fCondense:r&64,fExtend:r&128};return t}function jf(e,r){r||(r=U(2));var t=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return r.write_shift(1,t),r.write_shift(1,0),r}var ca=2,st=3,Qr=11,xn=19,en=64,Yf=65,Jf=71,Zf=4108,qf=4126,ze=80,t0={1:{n:"CodePage",t:ca},2:{n:"Category",t:ze},3:{n:"PresentationFormat",t:ze},4:{n:"ByteCount",t:st},5:{n:"LineCount",t:st},6:{n:"ParagraphCount",t:st},7:{n:"SlideCount",t:st},8:{n:"NoteCount",t:st},9:{n:"HiddenCount",t:st},10:{n:"MultimediaClipCount",t:st},11:{n:"ScaleCrop",t:Qr},12:{n:"HeadingPairs",t:Zf},13:{n:"TitlesOfParts",t:qf},14:{n:"Manager",t:ze},15:{n:"Company",t:ze},16:{n:"LinksUpToDate",t:Qr},17:{n:"CharacterCount",t:st},19:{n:"SharedDoc",t:Qr},22:{n:"HyperlinksChanged",t:Qr},23:{n:"AppVersion",t:st,p:"version"},24:{n:"DigSig",t:Yf},26:{n:"ContentType",t:ze},27:{n:"ContentStatus",t:ze},28:{n:"Language",t:ze},29:{n:"Version",t:ze},255:{},2147483648:{n:"Locale",t:xn},2147483651:{n:"Behavior",t:xn},1919054434:{}},r0={1:{n:"CodePage",t:ca},2:{n:"Title",t:ze},3:{n:"Subject",t:ze},4:{n:"Author",t:ze},5:{n:"Keywords",t:ze},6:{n:"Comments",t:ze},7:{n:"Template",t:ze},8:{n:"LastAuthor",t:ze},9:{n:"RevNumber",t:ze},10:{n:"EditTime",t:en},11:{n:"LastPrinted",t:en},12:{n:"CreatedDate",t:en},13:{n:"ModifiedDate",t:en},14:{n:"PageCount",t:st},15:{n:"WordCount",t:st},16:{n:"CharCount",t:st},17:{n:"Thumbnail",t:Jf},18:{n:"Application",t:ze},19:{n:"DocSecurity",t:st},255:{},2147483648:{n:"Locale",t:xn},2147483651:{n:"Behavior",t:xn},1919054434:{}};function Qf(e){return e.map(function(r){return[r>>16&255,r>>8&255,r&255]})}var el=Qf([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),tl=it(el),zr={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},rl={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},tn={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function ha(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function ua(e,r){var t=uf(rl),n=[],i;n[n.length]=Le,n[n.length]=Y("Types",null,{xmlns:Ue.CT,"xmlns:xsd":Ue.xsd,"xmlns:xsi":Ue.xsi}),n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(o){return Y("Default",null,{Extension:o[0],ContentType:o[1]})}));var a=function(o){e[o]&&e[o].length>0&&(i=e[o][0],n[n.length]=Y("Override",null,{PartName:(i[0]=="/"?"":"/")+i,ContentType:tn[o][r.bookType]||tn[o].xlsx}))},s=function(o){(e[o]||[]).forEach(function(l){n[n.length]=Y("Override",null,{PartName:(l[0]=="/"?"":"/")+l,ContentType:tn[o][r.bookType]||tn[o].xlsx})})},f=function(o){(e[o]||[]).forEach(function(l){n[n.length]=Y("Override",null,{PartName:(l[0]=="/"?"":"/")+l,ContentType:t[o][0]})})};return a("workbooks"),s("sheets"),s("charts"),f("themes"),["strs","styles"].forEach(a),["coreprops","extprops","custprops"].forEach(f),f("vba"),f("comments"),f("threadedcomments"),f("drawings"),s("metadata"),f("people"),n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}var ve={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function xa(e){var r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function xr(e){var r=[Le,Y("Relationships",null,{xmlns:Ue.RELS})];return je(e["!id"]).forEach(function(t){r[r.length]=Y("Relationship",null,e["!id"][t])}),r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function Te(e,r,t,n,i,a){if(i||(i={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),r<0)for(r=e["!idx"];e["!id"]["rId"+r];++r);if(e["!idx"]=r+1,i.Id="rId"+r,i.Type=n,i.Target=t,[ve.HLINK,ve.XPATH,ve.XMISS].indexOf(i.Type)>-1&&(i.TargetMode="External"),e["!id"][i.Id])throw new Error("Cannot rewrite rId "+r);return e["!id"][i.Id]=i,e[("/"+i.Target).replace("//","/")]=i,r}function nl(e){var r=[Le];r.push(` -`),r.push(` -`);for(var t=0;t -`);return r.push(""),r.join("")}function n0(e,r,t){return[' -`,' -`,` -`].join("")}function il(e,r){return[' -`,' -`,` -`].join("")}function al(e){var r=[Le];r.push(` -`);for(var t=0;t!=e.length;++t)r.push(n0(e[t][0],e[t][1])),r.push(il("",e[t][0]));return r.push(n0("","Document","pkg")),r.push(""),r.join("")}function da(){return'SheetJS '+nn.version+""}var Kt=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function Ln(e,r,t,n,i){i[e]!=null||r==null||r===""||(i[e]=r,r=Ee(r),n[n.length]=t?Y(e,r,t):$e(e,r))}function va(e,r){var t=r||{},n=[Le,Y("cp:coreProperties",null,{"xmlns:cp":Ue.CORE_PROPS,"xmlns:dc":Ue.dc,"xmlns:dcterms":Ue.dcterms,"xmlns:dcmitype":Ue.dcmitype,"xmlns:xsi":Ue.xsi})],i={};if(!e&&!t.Props)return n.join("");e&&(e.CreatedDate!=null&&Ln("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:Kn(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},n,i),e.ModifiedDate!=null&&Ln("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:Kn(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},n,i));for(var a=0;a!=Kt.length;++a){var s=Kt[a],f=t.Props&&t.Props[s[1]]!=null?t.Props[s[1]]:e?e[s[1]]:null;f===!0?f="1":f===!1?f="0":typeof f=="number"&&(f=String(f)),f!=null&&Ln(s[0],f,null,n,i)}return n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}var dr=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],pa=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function ma(e){var r=[],t=Y;return e||(e={}),e.Application="SheetJS",r[r.length]=Le,r[r.length]=Y("Properties",null,{xmlns:Ue.EXT_PROPS,"xmlns:vt":Ue.vt}),dr.forEach(function(n){if(e[n[1]]!==void 0){var i;switch(n[2]){case"string":i=Ee(String(e[n[1]]));break;case"bool":i=e[n[1]]?"true":"false";break}i!==void 0&&(r[r.length]=t(n[0],i))}}),r[r.length]=t("HeadingPairs",t("vt:vector",t("vt:variant","Worksheets")+t("vt:variant",t("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),r[r.length]=t("TitlesOfParts",t("vt:vector",e.SheetNames.map(function(n){return""+Ee(n)+""}).join(""),{size:e.Worksheets,baseType:"lpstr"})),r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function ga(e){var r=[Le,Y("Properties",null,{xmlns:Ue.CUST_PROPS,"xmlns:vt":Ue.vt})];if(!e)return r.join("");var t=1;return je(e).forEach(function(i){++t,r[r.length]=Y("property",Sf(e[i]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:t,name:Ee(i)})}),r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}var i0={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function sl(e,r){var t=[];return je(i0).map(function(n){for(var i=0;i'+i.join("")+""}function ll(e){var r=typeof e=="string"?new Date(Date.parse(e)):e,t=r.getTime()/1e3+11644473600,n=t%Math.pow(2,32),i=(t-n)/Math.pow(2,32);n*=1e7,i*=1e7;var a=n/Math.pow(2,32)|0;a>0&&(n=n%Math.pow(2,32),i+=a);var s=U(8);return s.write_shift(4,n),s.write_shift(4,i),s}function a0(e,r){var t=U(4),n=U(4);switch(t.write_shift(4,e==80?31:e),e){case 3:n.write_shift(-4,r);break;case 5:n=U(8),n.write_shift(8,r,"f");break;case 11:n.write_shift(4,r?1:0);break;case 64:n=ll(r);break;case 31:case 80:for(n=U(4+2*(r.length+1)+(r.length%2?0:2)),n.write_shift(4,r.length+1),n.write_shift(0,r,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+r)}return Xe([t,n])}var _a=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function ol(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function s0(e,r,t){var n=U(8),i=[],a=[],s=8,f=0,o=U(8),l=U(8);if(o.write_shift(4,2),o.write_shift(4,1200),l.write_shift(4,1),a.push(o),i.push(l),s+=8+o.length,!r){l=U(8),l.write_shift(4,0),i.unshift(l);var c=[U(4)];for(c[0].write_shift(4,e.length),f=0;f-1||pa.indexOf(e[f][0])>-1)&&e[f][1]!=null){var v=e[f][1],x=0;if(r){x=+r[e[f][0]];var p=t[x];if(p.p=="version"&&typeof v=="string"){var h=v.split(".");v=(+h[0]<<16)+(+h[1]||0)}o=a0(p.t,v)}else{var g=ol(v);g==-1&&(g=31,v=String(v)),o=a0(g,v)}a.push(o),l=U(8),l.write_shift(4,r?x:2+f),i.push(l),s+=8+o.length}var A=8*(a.length+1);for(f=0;f=12?2:1),i="sbcs-cont";if(t&&t.biff>=8,!t||t.biff==8){var a=e.read_shift(1);a&&(i="dbcs-cont")}else t.biff==12&&(i="wstr");t.biff>=2&&t.biff<=5&&(i="cpstr");var s=n?e.read_shift(n,i):"";return s}function ul(e){var r=e.t||"",t=U(3);t.write_shift(2,r.length),t.write_shift(1,1);var n=U(2*r.length);n.write_shift(2*r.length,r,"utf16le");var i=[t,n];return Xe(i)}function xl(e,r,t){var n;if(t){if(t.biff>=2&&t.biff<=5)return e.read_shift(r,"cpstr");if(t.biff>=12)return e.read_shift(r,"dbcs-cont")}var i=e.read_shift(1);return i===0?n=e.read_shift(r,"sbcs-cont"):n=e.read_shift(r,"dbcs-cont"),n}function dl(e,r,t){var n=e.read_shift(t&&t.biff==2?1:2);return n===0?(e.l++,""):xl(e,n,t)}function vl(e,r,t){if(t.biff>5)return dl(e,r,t);var n=e.read_shift(1);return n===0?(e.l++,""):e.read_shift(n,t.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Sa(e,r,t){return t||(t=U(3+2*e.length)),t.write_shift(2,e.length),t.write_shift(1,1),t.write_shift(31,e,"utf16le"),t}function l0(e,r){r||(r=U(6+e.length*2)),r.write_shift(4,1+e.length);for(var t=0;t-1?31:23;switch(n.charAt(0)){case"#":a=28;break;case".":a&=-3;break}r.write_shift(4,2),r.write_shift(4,a);var s=[8,6815827,6619237,4849780,83];for(t=0;t-1?n.slice(0,i):n;for(r.write_shift(4,2*(f.length+1)),t=0;t-1?n.slice(i+1):"",r)}else{for(s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),t=0;t8?4:2,i=e.read_shift(n),a=e.read_shift(n,"i"),s=e.read_shift(n,"i");return[i,a,s]}function gl(e){var r=e.read_shift(2),t=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(2);return{s:{c:n,r},e:{c:i,r:t}}}function Aa(e,r){return r||(r=U(8)),r.write_shift(2,e.s.r),r.write_shift(2,e.e.r),r.write_shift(2,e.s.c),r.write_shift(2,e.e.c),r}function hi(e,r,t){var n=1536,i=16;switch(t.bookType){case"biff8":break;case"biff5":n=1280,i=8;break;case"biff4":n=4,i=6;break;case"biff3":n=3,i=6;break;case"biff2":n=2,i=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var a=U(i);return a.write_shift(2,n),a.write_shift(2,r),i>4&&a.write_shift(2,29282),i>6&&a.write_shift(2,1997),i>8&&(a.write_shift(2,49161),a.write_shift(2,1),a.write_shift(2,1798),a.write_shift(2,0)),a}function _l(e,r){var t=!r||r.biff==8,n=U(t?112:54);for(n.write_shift(r.biff==8?2:1,7),t&&n.write_shift(1,0),n.write_shift(4,859007059),n.write_shift(4,5458548|(t?0:536870912));n.l=8?2:1,n=U(8+t*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),r.biff>=8&&n.write_shift(1,1),n.write_shift(t*e.name.length,e.name,r.biff<8?"sbcs":"utf16le");var i=n.slice(0,n.l);return i.l=n.l,i}function El(e,r){var t=U(8);t.write_shift(4,e.Count),t.write_shift(4,e.Unique);for(var n=[],i=0;in.l?n.slice(0,n.l):n;return a.l==null&&(a.l=a.length),a}function Ol(e,r){var t=r.biff==8||!r.biff?4:2,n=U(2*t+6);return n.write_shift(t,e.s.r),n.write_shift(t,e.e.r+1),n.write_shift(2,e.s.c),n.write_shift(2,e.e.c+1),n.write_shift(2,0),n}function o0(e,r,t,n){var i=t&&t.biff==5;n||(n=U(i?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,r<<4));var a=0;return e.numFmtId>0&&i&&(a|=1024),n.write_shift(4,a),n.write_shift(4,0),i||n.write_shift(4,0),n.write_shift(2,0),n}function kl(e){var r=U(8);return r.write_shift(4,0),r.write_shift(2,0),r.write_shift(2,0),r}function Rl(e,r,t,n,i,a){var s=U(8);return Zt(e,r,n,s),Ea(t,a,s),s}function Dl(e,r,t,n){var i=U(14);return Zt(e,r,n,i),Jt(t,i),i}function Il(e,r,t){if(t.biff<8)return Nl(e,r,t);for(var n=[],i=e.l+r,a=e.read_shift(t.biff>8?4:2);a--!==0;)n.push(ml(e,t.biff>8?12:6,t));if(e.l!=i)throw new Error("Bad ExternSheet: "+e.l+" != "+i);return n}function Nl(e,r,t){e[e.l+1]==3&&e[e.l]++;var n=wa(e,r,t);return n.charCodeAt(0)==3?n.slice(1):n}function Pl(e){var r=U(2+e.length*8);r.write_shift(2,e.length);for(var t=0;t=12?4:2,i=e.read_shift(n),a=e.read_shift(n),s=e.read_shift(n),f=e.read_shift(n),o=e.read_shift(2);n==2&&(e.l+=2);var l={s:i,e:a,w:s,ixfe:f,flags:o};return(t.biff>=5||!t.biff)&&(l.level=o>>8&7),l}function Ul(e,r){var t=U(12);t.write_shift(2,r),t.write_shift(2,r),t.write_shift(2,e.width*256),t.write_shift(2,0);var n=0;return e.hidden&&(n|=1),t.write_shift(1,n),n=e.level||0,t.write_shift(1,n),t.write_shift(2,0),t}function Wl(e){for(var r=U(2*e),t=0;t1048576&&(h=1e6),u!=2&&(g=c.read_shift(2));var A=c.read_shift(2),k=o.codepage||1252;u!=2&&(c.l+=16,c.read_shift(1),c[c.l]!==0&&(k=e[c[c.l]]),c.l+=1,c.l+=2),p&&(c.l+=36);for(var y=[],M={},K=Math.min(c.length,u==2?521:g-10-(x?264:0)),Z=p?32:11;c.l0;){if(c[c.l]===42){c.l+=A;continue}for(++c.l,l[++R]=[],V=0,V=0;V!=y.length;++V){var C=c.slice(c.l,c.l+y[V].len);c.l+=y[V].len,ft(C,0);var b=an.utils.decode(k,C);switch(y[V].type){case"C":b.trim().length&&(l[R][V]=b.replace(/\s+$/,""));break;case"D":b.length===8?l[R][V]=new Date(+b.slice(0,4),+b.slice(4,6)-1,+b.slice(6,8)):l[R][V]=b;break;case"F":l[R][V]=parseFloat(b.trim());break;case"+":case"I":l[R][V]=p?C.read_shift(-4,"i")^2147483648:C.read_shift(4,"i");break;case"L":switch(b.trim().toUpperCase()){case"Y":case"T":l[R][V]=!0;break;case"N":case"F":l[R][V]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+b+"|")}break;case"M":if(!v)throw new Error("DBF Unexpected MEMO for type "+u.toString(16));l[R][V]="##MEMO##"+(p?parseInt(b.trim(),10):C.read_shift(4));break;case"N":b=b.replace(/\u0000/g,"").trim(),b&&b!="."&&(l[R][V]=+b||0);break;case"@":l[R][V]=new Date(C.read_shift(-8,"f")-621356832e5);break;case"T":l[R][V]=new Date((C.read_shift(4)-2440588)*864e5+C.read_shift(4));break;case"Y":l[R][V]=C.read_shift(4,"i")/1e4+C.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":l[R][V]=-C.read_shift(-8,"f");break;case"B":if(x&&y[V].len==8){l[R][V]=C.read_shift(8,"f");break}case"G":case"P":C.l+=y[V].len;break;case"0":if(y[V].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+y[V].type)}}}if(u!=2&&c.l=0&&Pr(+l.codepage),l.type=="string")throw new Error("Cannot write DBF to JS string");var c=rt(),u=gn(f,{header:1,raw:!0,cellDates:!0}),v=u[0],x=u.slice(1),p=f["!cols"]||[],h=0,g=0,A=0,k=1;for(h=0;h250&&(C=250),V=((p[h]||{}).DBF||{}).type,V=="C"&&p[h].DBF.len>C&&(C=p[h].DBF.len),R=="B"&&V=="N"&&(R="N",Z[h]=p[h].DBF.dec,C=p[h].DBF.len),K[h]=R=="C"||V=="N"?C:a[R]||0,k+=K[h],M[h]=R}var B=c.next(32);for(B.write_shift(4,318902576),B.write_shift(4,x.length),B.write_shift(2,296+32*A),B.write_shift(2,k),h=0;h<4;++h)B.write_shift(4,0);for(B.write_shift(4,0|(+r[y0]||3)<<8),h=0,g=0;h":190,"?":191,"{":223},r=new RegExp("\x1BN("+je(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),t=function(v,x){var p=e[x];return typeof p=="number"?Ni(p):p},n=function(v,x,p){var h=x.charCodeAt(0)-32<<4|p.charCodeAt(0)-48;return h==59?v:Ni(h)};e["|"]=254;function i(v,x){switch(x.type){case"base64":return a(Dt(v),x);case"binary":return a(v,x);case"buffer":return a(pe&&Buffer.isBuffer(v)?v.toString("binary"):Hr(v),x);case"array":return a(Sn(v),x)}throw new Error("Unrecognized type "+x.type)}function a(v,x){var p=v.split(/[\n\r]+/),h=-1,g=-1,A=0,k=0,y=[],M=[],K=null,Z={},R=[],V=[],C=[],b=0,B;for(+x.codepage>=0&&Pr(+x.codepage);A!==p.length;++A){b=0;var W=p[A].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(r,t),q=W.replace(/;;/g,"\0").split(";").map(function(F){return F.replace(/\u0000/g,";")}),te=q[0],Q;if(W.length>0)switch(te){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":q[1].charAt(0)=="P"&&M.push(W.slice(3).replace(/;;/g,";"));break;case"C":var le=!1,ce=!1,xe=!1,Ae=!1,Ve=-1,at=-1;for(k=1;k-1&&y[Ve][at];if(!L||!L[1])throw new Error("SYLK shared formula cannot find base");y[h][g][1]=zo(L[1],{r:h-Ve,c:g-at})}break;case"F":var O=0;for(k=1;k0?(R[h].hpt=b,R[h].hpx=ka(b)):b===0&&(R[h].hidden=!0);break;default:if(x&&x.WTF)throw new Error("SYLK bad record "+W)}O<1&&(K=null);break;default:if(x&&x.WTF)throw new Error("SYLK bad record "+W)}}return R.length>0&&(Z["!rows"]=R),V.length>0&&(Z["!cols"]=V),x&&x.sheetRows&&(y=y.slice(0,x.sheetRows)),[y,Z]}function s(v,x){var p=i(v,x),h=p[0],g=p[1],A=gr(h,x);return je(g).forEach(function(k){A[k]=g[k]}),A}function f(v,x){return qt(s(v,x),x)}function o(v,x,p,h){var g="C;Y"+(p+1)+";X"+(h+1)+";K";switch(v.t){case"n":g+=v.v||0,v.f&&!v.F&&(g+=";E"+di(v.f,{r:p,c:h}));break;case"b":g+=v.v?"TRUE":"FALSE";break;case"e":g+=v.w||v.v;break;case"d":g+='"'+(v.w||v.v)+'"';break;case"s":g+='"'+v.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return g}function l(v,x){x.forEach(function(p,h){var g="F;W"+(h+1)+" "+(h+1)+" ";p.hidden?g+="0":(typeof p.width=="number"&&!p.wpx&&(p.wpx=dn(p.width)),typeof p.wpx=="number"&&!p.wch&&(p.wch=vn(p.wpx)),typeof p.wch=="number"&&(g+=Math.round(p.wch))),g.charAt(g.length-1)!=" "&&v.push(g)})}function c(v,x){x.forEach(function(p,h){var g="F;";p.hidden?g+="M0;":p.hpt?g+="M"+20*p.hpt+";":p.hpx&&(g+="M"+20*pn(p.hpx)+";"),g.length>2&&v.push(g+"R"+(h+1))})}function u(v,x){var p=["ID;PWXL;N;E"],h=[],g=ye(v["!ref"]),A,k=Array.isArray(v),y=`\r -`;p.push("P;PGeneral"),p.push("F;P0;DG0G8;M255"),v["!cols"]&&l(p,v["!cols"]),v["!rows"]&&c(p,v["!rows"]),p.push("B;Y"+(g.e.r-g.s.r+1)+";X"+(g.e.c-g.s.c+1)+";D"+[g.s.c,g.s.r,g.e.c,g.e.r].join(" "));for(var M=g.s.r;M<=g.e.r;++M)for(var K=g.s.c;K<=g.e.c;++K){var Z=we({r:M,c:K});A=k?(v[M]||[])[K]:v[Z],!(!A||A.v==null&&(!A.f||A.F))&&h.push(o(A,v,M,K))}return p.join(y)+y+h.join(y)+y+"E"+y}return{to_workbook:f,to_sheet:s,from_sheet:u}})(),Xl=(function(){function e(a,s){switch(s.type){case"base64":return r(Dt(a),s);case"binary":return r(a,s);case"buffer":return r(pe&&Buffer.isBuffer(a)?a.toString("binary"):Hr(a),s);case"array":return r(Sn(a),s)}throw new Error("Unrecognized type "+s.type)}function r(a,s){for(var f=a.split(` -`),o=-1,l=-1,c=0,u=[];c!==f.length;++c){if(f[c].trim()==="BOT"){u[++o]=[],l=0;continue}if(!(o<0)){var v=f[c].trim().split(","),x=v[0],p=v[1];++c;for(var h=f[c]||"";(h.match(/["]/g)||[]).length&1&&c=0&&p[h].length===0;)--h;for(var g=10,A=0,k=0;k<=h;++k)A=p[k].indexOf(" "),A==-1?A=p[k].length:A++,g=Math.max(g,A);for(k=0;k<=h;++k){x[k]=[];var y=0;for(e(p[k].slice(0,g).trim(),x,k,y,v),y=1;y<=(p[k].length-g)/10+1;++y)e(p[k].slice(g+(y-1)*10,g+y*10).trim(),x,k,y,v)}return v.sheetRows&&(x=x.slice(0,v.sheetRows)),x}var t={44:",",9:" ",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function i(c){for(var u={},v=!1,x=0,p=0;x0&&b(),p["!ref"]=Pe(h),p}function s(c,u){return!(u&&u.PRN)||u.FS||c.slice(0,4)=="sep="||c.indexOf(" ")>=0||c.indexOf(",")>=0||c.indexOf(";")>=0?a(c,u):gr(r(c,u),u)}function f(c,u){var v="",x=u.type=="string"?[0,0,0,0]:ax(c,u);switch(u.type){case"base64":v=Dt(c);break;case"binary":v=c;break;case"buffer":u.codepage==65001?v=c.toString("utf8"):u.codepage&&typeof an<"u"||(v=pe&&Buffer.isBuffer(c)?c.toString("binary"):Hr(c));break;case"array":v=Sn(c);break;case"string":v=c;break;default:throw new Error("Unrecognized type "+u.type)}return x[0]==239&&x[1]==187&&x[2]==191?v=Cr(v.slice(3)):u.type!="string"&&u.type!="buffer"&&u.codepage==65001?v=Cr(v):u.type=="binary"&&typeof an<"u",v.slice(0,19)=="socialcalc:version:"?Fa.to_sheet(u.type=="string"?v:Cr(v),u):s(v,u)}function o(c,u){return qt(f(c,u),u)}function l(c){for(var u=[],v=ye(c["!ref"]),x,p=Array.isArray(c),h=v.s.r;h<=v.e.r;++h){for(var g=[],A=v.s.c;A<=v.e.c;++A){var k=we({r:h,c:A});if(x=p?(c[h]||[])[A]:c[k],!x||x.v==null){g.push(" ");continue}for(var y=(x.w||(It(x),x.w)||"").slice(0,10);y.length<10;)y+=" ";g.push(y+(A===0?" ":""))}u.push(g.join(""))}return u.join(` -`)}return{to_workbook:o,to_sheet:f,from_sheet:l}})(),c0=(function(){function e(S,L,O){if(S){ft(S,S.l||0);for(var F=O.Enum||Ve;S.l=16&&S[14]==5&&S[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(S[2]==2)O.Enum=Ve,e(S,function(ae,ht,yt){switch(yt){case 0:O.vers=ae,ae>=4096&&(O.qpro=!0);break;case 6:de=ae;break;case 204:ae&&(fe=ae);break;case 222:fe=ae;break;case 15:case 51:O.qpro||(ae[1].v=ae[1].v.slice(1));case 13:case 14:case 16:yt==14&&(ae[2]&112)==112&&(ae[2]&15)>1&&(ae[2]&15)<15&&(ae[1].z=O.dateNF||De[14],O.cellDates&&(ae[1].t="d",ae[1].v=V0(ae[1].v))),O.qpro&&ae[3]>oe&&(F["!ref"]=Pe(de),se[z]=F,re.push(z),F=O.dense?[]:{},de={s:{r:0,c:0},e:{r:0,c:0}},oe=ae[3],z=fe||"Sheet"+(oe+1),fe="");var Ht=O.dense?(F[ae[0].r]||[])[ae[0].c]:F[we(ae[0])];if(Ht){Ht.t=ae[1].t,Ht.v=ae[1].v,ae[1].z!=null&&(Ht.z=ae[1].z),ae[1].f!=null&&(Ht.f=ae[1].f);break}O.dense?(F[ae[0].r]||(F[ae[0].r]=[]),F[ae[0].r][ae[0].c]=ae[1]):F[we(ae[0])]=ae[1];break}},O);else if(S[2]==26||S[2]==14)O.Enum=at,S[2]==14&&(O.qpro=!0,S.l=0),e(S,function(ae,ht,yt){switch(yt){case 204:z=ae;break;case 22:ae[1].v=ae[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(ae[3]>oe&&(F["!ref"]=Pe(de),se[z]=F,re.push(z),F=O.dense?[]:{},de={s:{r:0,c:0},e:{r:0,c:0}},oe=ae[3],z="Sheet"+(oe+1)),qe>0&&ae[0].r>=qe)break;O.dense?(F[ae[0].r]||(F[ae[0].r]=[]),F[ae[0].r][ae[0].c]=ae[1]):F[we(ae[0])]=ae[1],de.e.c=0&&Pr(+O.codepage),O.type=="string")throw new Error("Cannot write WK1 to JS string");var F=rt(),z=ye(S["!ref"]),fe=Array.isArray(S),oe=[];J(F,0,a(1030)),J(F,6,o(z));for(var se=Math.min(z.e.r,8191),re=z.s.r;re<=se;++re)for(var Fe=Ke(re),de=z.s.c;de<=z.e.c;++de){re===z.s.r&&(oe[de]=Je(de));var qe=oe[de]+Fe,me=fe?(S[re]||[])[de]:S[qe];if(!(!me||me.t=="z"))if(me.t=="n")(me.v|0)==me.v&&me.v>=-32768&&me.v<=32767?J(F,13,x(re,de,me.v)):J(F,14,h(re,de,me.v));else{var Ft=It(me);J(F,15,u(re,de,Ft.slice(0,239)))}}return J(F,1),F.end()}function i(S,L){var O=L||{};if(+O.codepage>=0&&Pr(+O.codepage),O.type=="string")throw new Error("Cannot write WK3 to JS string");var F=rt();J(F,0,s(S));for(var z=0,fe=0;z8191&&(O=8191),L.write_shift(2,O),L.write_shift(1,z),L.write_shift(1,F),L.write_shift(2,0),L.write_shift(2,0),L.write_shift(1,1),L.write_shift(1,2),L.write_shift(4,0),L.write_shift(4,0),L}function f(S,L,O){var F={s:{c:0,r:0},e:{c:0,r:0}};return L==8&&O.qpro?(F.s.c=S.read_shift(1),S.l++,F.s.r=S.read_shift(2),F.e.c=S.read_shift(1),S.l++,F.e.r=S.read_shift(2),F):(F.s.c=S.read_shift(2),F.s.r=S.read_shift(2),L==12&&O.qpro&&(S.l+=2),F.e.c=S.read_shift(2),F.e.r=S.read_shift(2),L==12&&O.qpro&&(S.l+=2),F.s.c==65535&&(F.s.c=F.e.c=F.s.r=F.e.r=0),F)}function o(S){var L=U(8);return L.write_shift(2,S.s.c),L.write_shift(2,S.s.r),L.write_shift(2,S.e.c),L.write_shift(2,S.e.r),L}function l(S,L,O){var F=[{c:0,r:0},{t:"n",v:0},0,0];return O.qpro&&O.vers!=20768?(F[0].c=S.read_shift(1),F[3]=S.read_shift(1),F[0].r=S.read_shift(2),S.l+=2):(F[2]=S.read_shift(1),F[0].c=S.read_shift(2),F[0].r=S.read_shift(2)),F}function c(S,L,O){var F=S.l+L,z=l(S,L,O);if(z[1].t="s",O.vers==20768){S.l++;var fe=S.read_shift(1);return z[1].v=S.read_shift(fe,"utf8"),z}return O.qpro&&S.l++,z[1].v=S.read_shift(F-S.l,"cstr"),z}function u(S,L,O){var F=U(7+O.length);F.write_shift(1,255),F.write_shift(2,L),F.write_shift(2,S),F.write_shift(1,39);for(var z=0;z=128?95:fe)}return F.write_shift(1,0),F}function v(S,L,O){var F=l(S,L,O);return F[1].v=S.read_shift(2,"i"),F}function x(S,L,O){var F=U(7);return F.write_shift(1,255),F.write_shift(2,L),F.write_shift(2,S),F.write_shift(2,O,"i"),F}function p(S,L,O){var F=l(S,L,O);return F[1].v=S.read_shift(8,"f"),F}function h(S,L,O){var F=U(13);return F.write_shift(1,255),F.write_shift(2,L),F.write_shift(2,S),F.write_shift(8,O,"f"),F}function g(S,L,O){var F=S.l+L,z=l(S,L,O);if(z[1].v=S.read_shift(8,"f"),O.qpro)S.l=F;else{var fe=S.read_shift(2);M(S.slice(S.l,S.l+fe),z),S.l+=fe}return z}function A(S,L,O){var F=L&32768;return L&=-32769,L=(F?S:0)+(L>=8192?L-16384:L),(F?"":"$")+(O?Je(L):Ke(L))}var k={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},y=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function M(S,L){ft(S,0);for(var O=[],F=0,z="",fe="",oe="",se="";S.lO.length){console.error("WK1 bad formula parse 0x"+re.toString(16)+":|"+O.join("|")+"|");return}var me=O.slice(-F);O.length-=F,O.push(k[re][0]+"("+me.join(",")+")")}else return re<=7?console.error("WK1 invalid opcode "+re.toString(16)):re<=24?console.error("WK1 unsupported op "+re.toString(16)):re<=30?console.error("WK1 invalid opcode "+re.toString(16)):re<=115?console.error("WK1 unsupported function opcode "+re.toString(16)):console.error("WK1 unrecognized opcode "+re.toString(16))}}O.length==1?L[1].f=""+O[0]:console.error("WK1 bad formula parse |"+O.join("|")+"|")}function K(S){var L=[{c:0,r:0},{t:"n",v:0},0];return L[0].r=S.read_shift(2),L[3]=S[S.l++],L[0].c=S[S.l++],L}function Z(S,L){var O=K(S);return O[1].t="s",O[1].v=S.read_shift(L-4,"cstr"),O}function R(S,L,O,F){var z=U(6+F.length);z.write_shift(2,S),z.write_shift(1,O),z.write_shift(1,L),z.write_shift(1,39);for(var fe=0;fe=128?95:oe)}return z.write_shift(1,0),z}function V(S,L){var O=K(S);O[1].v=S.read_shift(2);var F=O[1].v>>1;if(O[1].v&1)switch(F&7){case 0:F=(F>>3)*5e3;break;case 1:F=(F>>3)*500;break;case 2:F=(F>>3)/20;break;case 3:F=(F>>3)/200;break;case 4:F=(F>>3)/2e3;break;case 5:F=(F>>3)/2e4;break;case 6:F=(F>>3)/16;break;case 7:F=(F>>3)/64;break}return O[1].v=F,O}function C(S,L){var O=K(S),F=S.read_shift(4),z=S.read_shift(4),fe=S.read_shift(2);if(fe==65535)return F===0&&z===3221225472?(O[1].t="e",O[1].v=15):F===0&&z===3489660928?(O[1].t="e",O[1].v=42):O[1].v=0,O;var oe=fe&32768;return fe=(fe&32767)-16446,O[1].v=(1-oe*2)*(z*Math.pow(2,fe+32)+F*Math.pow(2,fe)),O}function b(S,L,O,F){var z=U(14);if(z.write_shift(2,S),z.write_shift(1,O),z.write_shift(1,L),F==0)return z.write_shift(4,0),z.write_shift(4,0),z.write_shift(2,65535),z;var fe=0,oe=0,se=0,re=0;return F<0&&(fe=1,F=-F),oe=Math.log2(F)|0,F/=Math.pow(2,oe-31),re=F>>>0,(re&2147483648)==0&&(F/=2,++oe,re=F>>>0),F-=re,re|=2147483648,re>>>=0,F*=Math.pow(2,32),se=F>>>0,z.write_shift(4,se),z.write_shift(4,re),oe+=16383+(fe?32768:0),z.write_shift(2,oe),z}function B(S,L){var O=C(S);return S.l+=L-14,O}function W(S,L){var O=K(S),F=S.read_shift(4);return O[1].v=F>>6,O}function q(S,L){var O=K(S),F=S.read_shift(8,"f");return O[1].v=F,O}function te(S,L){var O=q(S);return S.l+=L-10,O}function Q(S,L){return S[S.l+L-1]==0?S.read_shift(L,"cstr"):""}function le(S,L){var O=S[S.l++];O>L-1&&(O=L-1);for(var F="";F.length127?95:z}return O[O.l++]=0,O}var Ve={0:{n:"BOF",f:Ta},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:v},14:{n:"NUMBER",f:p},15:{n:"LABEL",f:c},16:{n:"FORMULA",f:g},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:c},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:Q},222:{n:"SHEETNAMELP",f:le},65535:{n:""}},at={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:Z},23:{n:"NUMBER17",f:C},24:{n:"NUMBER18",f:V},25:{n:"FORMULA19",f:B},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:xe},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:W},38:{n:"??"},39:{n:"NUMBER27",f:q},40:{n:"FORMULA28",f:te},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:Q},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:ce},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:n,book_to_wk3:i,to_workbook:r}})(),Kl=/^\s|\s$|[\t\n\r]/;function ya(e,r){if(!r.bookSST)return"";var t=[Le];t[t.length]=Y("sst",null,{xmlns:mr[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(e[n]!=null){var i=e[n],a="";i.r?a+=i.r:(a+=""),a+="",t[t.length]=a}return t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function jl(e){return[e.read_shift(4),e.read_shift(4)]}function Yl(e,r){return r||(r=U(8)),r.write_shift(4,e.Count),r.write_shift(4,e.Unique),r}var Jl=Wf;function Zl(e){var r=rt();G(r,159,Yl(e));for(var t=0;t=0;--a)s=t[a],f=(r&16384)===0?0:1,o=r<<1&32767,l=f|o,r=l^s;return r^52811}var Ql=(function(){function e(i,a){switch(a.type){case"base64":return r(Dt(i),a);case"binary":return r(i,a);case"buffer":return r(pe&&Buffer.isBuffer(i)?i.toString("binary"):Hr(i),a);case"array":return r(Sn(i),a)}throw new Error("Unrecognized type "+a.type)}function r(i,a){var s=a||{},f=s.dense?[]:{},o=i.match(/\\trowd.*?\\row\b/g);if(!o.length)throw new Error("RTF missing table");var l={s:{c:0,r:0},e:{c:0,r:o.length-1}};return o.forEach(function(c,u){Array.isArray(f)&&(f[u]=[]);for(var v=/\\\w+\b/g,x=0,p,h=-1;p=v.exec(c);){switch(p[0]){case"\\cell":var g=c.slice(x,v.lastIndex-p[0].length);if(g[0]==" "&&(g=g.slice(1)),++h,g.length){var A={v:g,t:"s"};Array.isArray(f)?f[u][h]=A:f[we({r:u,c:h})]=A}break}x=v.lastIndex}h>l.e.c&&(l.e.c=h)}),f["!ref"]=Pe(l),f}function t(i,a){return qt(e(i,a),a)}function n(i){for(var a=["{\\rtf1\\ansi"],s=ye(i["!ref"]),f,o=Array.isArray(i),l=s.s.r;l<=s.e.r;++l){a.push("\\trowd\\trautofit1");for(var c=s.s.c;c<=s.e.c;++c)a.push("\\cellx"+(c+1));for(a.push("\\pard\\intbl"),c=s.s.c;c<=s.e.c;++c){var u=we({r:l,c});f=o?(i[l]||[])[c]:i[u],!(!f||f.v==null&&(!f.f||f.F))&&(a.push(" "+(f.w||(It(f),f.w))),a.push("\\cell"))}a.push("\\pard\\intbl\\row")}return a.join("")+"}"}return{to_workbook:t,to_sheet:e,from_sheet:n}})();function h0(e){for(var r=0,t=1;r!=3;++r)t=t*256+(e[r]>255?255:e[r]<0?0:e[r]);return t.toString(16).toUpperCase().slice(1)}var eo=6,Rt=eo;function dn(e){return Math.floor((e+Math.round(128/Rt)/256)*Rt)}function vn(e){return Math.floor((e-5)/Rt*100+.5)/100}function Yn(e){return Math.round((e*Rt+5)/Rt*256)/256}function ui(e){e.width?(e.wpx=dn(e.width),e.wch=vn(e.wpx),e.MDW=Rt):e.wpx?(e.wch=vn(e.wpx),e.width=Yn(e.wch),e.MDW=Rt):typeof e.wch=="number"&&(e.width=Yn(e.wch),e.wpx=dn(e.width),e.MDW=Rt),e.customWidth&&delete e.customWidth}var to=96,Oa=to;function pn(e){return e*96/Oa}function ka(e){return e*Oa/96}function ro(e){var r=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var n=t[0];n<=t[1];++n)e[n]!=null&&(r[r.length]=Y("numFmt",null,{numFmtId:n,formatCode:Ee(e[n])}))}),r.length===1?"":(r[r.length]="",r[0]=Y("numFmts",null,{count:r.length-2}).replace("/>",">"),r.join(""))}function no(e){var r=[];return r[r.length]=Y("cellXfs",null),e.forEach(function(t){r[r.length]=Y("xf",null,t)}),r[r.length]="",r.length===2?"":(r[0]=Y("cellXfs",null,{count:r.length-2}).replace("/>",">"),r.join(""))}function Ra(e,r){var t=[Le,Y("styleSheet",null,{xmlns:mr[0],"xmlns:vt":Ue.vt})],n;return e.SSF&&(n=ro(e.SSF))!=null&&(t[t.length]=n),t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',(n=no(r.cellXfs))&&(t[t.length]=n),t[t.length]='',t[t.length]='',t[t.length]='',t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function io(e,r){var t=e.read_shift(2),n=Ze(e);return[t,n]}function ao(e,r,t){t||(t=U(6+4*r.length)),t.write_shift(2,e),He(r,t);var n=t.length>t.l?t.slice(0,t.l):t;return t.l==null&&(t.l=t.length),n}function so(e,r,t){var n={};n.sz=e.read_shift(2)/20;var i=Kf(e);i.fItalic&&(n.italic=1),i.fCondense&&(n.condense=1),i.fExtend&&(n.extend=1),i.fShadow&&(n.shadow=1),i.fOutline&&(n.outline=1),i.fStrikeout&&(n.strike=1);var a=e.read_shift(2);switch(a===700&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript";break}var s=e.read_shift(1);s!=0&&(n.underline=s);var f=e.read_shift(1);f>0&&(n.family=f);var o=e.read_shift(1);switch(o>0&&(n.charset=o),e.l++,n.color=$f(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=Ze(e),n}function fo(e,r){r||(r=U(153)),r.write_shift(2,e.sz*20),jf(e,r),r.write_shift(2,e.bold?700:400);var t=0;e.vertAlign=="superscript"?t=1:e.vertAlign=="subscript"&&(t=2),r.write_shift(2,t),r.write_shift(1,e.underline||0),r.write_shift(1,e.family||0),r.write_shift(1,e.charset||0),r.write_shift(1,0),un(e.color,r);var n=0;return n=2,r.write_shift(1,n),He(e.name,r),r.length>r.l?r.slice(0,r.l):r}var lo=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Mn,oo=At;function u0(e,r){r||(r=U(84)),Mn||(Mn=ei(lo));var t=Mn[e.patternType];t==null&&(t=40),r.write_shift(4,t);var n=0;if(t!=40)for(un({auto:1},r),un({auto:1},r);n<12;++n)r.write_shift(4,0);else{for(;n<4;++n)r.write_shift(4,0);for(;n<12;++n)r.write_shift(4,0)}return r.length>r.l?r.slice(0,r.l):r}function co(e,r){var t=e.l+r,n=e.read_shift(2),i=e.read_shift(2);return e.l=t,{ixfe:n,numFmtId:i}}function Da(e,r,t){t||(t=U(16)),t.write_shift(2,r||0),t.write_shift(2,e.numFmtId||0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);var n=0;return t.write_shift(1,n),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(1,0),t}function Ar(e,r){return r||(r=U(10)),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(4,0),r.write_shift(4,0),r}var ho=At;function uo(e,r){return r||(r=U(51)),r.write_shift(1,0),Ar(null,r),Ar(null,r),Ar(null,r),Ar(null,r),Ar(null,r),r.length>r.l?r.slice(0,r.l):r}function xo(e,r){return r||(r=U(52)),r.write_shift(4,e.xfId),r.write_shift(2,1),r.write_shift(1,0),r.write_shift(1,0),hn(e.name||"",r),r.length>r.l?r.slice(0,r.l):r}function vo(e,r,t){var n=U(2052);return n.write_shift(4,e),hn(r,n),hn(t,n),n.length>n.l?n.slice(0,n.l):n}function po(e,r){if(r){var t=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var i=n[0];i<=n[1];++i)r[i]!=null&&++t}),t!=0&&(G(e,615,Tt(t)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var i=n[0];i<=n[1];++i)r[i]!=null&&G(e,44,ao(i,r[i]))}),G(e,616))}}function mo(e){var r=1;G(e,611,Tt(r)),G(e,43,fo({sz:12,color:{theme:1},name:"Calibri",family:2})),G(e,612)}function go(e){var r=2;G(e,603,Tt(r)),G(e,45,u0({patternType:"none"})),G(e,45,u0({patternType:"gray125"})),G(e,604)}function _o(e){var r=1;G(e,613,Tt(r)),G(e,46,uo()),G(e,614)}function To(e){var r=1;G(e,626,Tt(r)),G(e,47,Da({numFmtId:0},65535)),G(e,627)}function Eo(e,r){G(e,617,Tt(r.length)),r.forEach(function(t){G(e,47,Da(t,0))}),G(e,618)}function wo(e){var r=1;G(e,619,Tt(r)),G(e,48,xo({xfId:0,name:"Normal"})),G(e,620)}function So(e){var r=0;G(e,505,Tt(r)),G(e,506)}function Ao(e){var r=0;G(e,508,vo(r,"TableStyleMedium9","PivotStyleMedium4")),G(e,509)}function Fo(e,r){var t=rt();return G(t,278),po(t,e.SSF),mo(t),go(t),_o(t),To(t),Eo(t,r.cellXfs),wo(t),So(t),Ao(t),G(t,279),t.end()}function Ia(e,r){if(r&&r.themeXLSX)return r.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var t=[Le];return t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]='',t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]='',t[t.length]="",t[t.length]="",t[t.length]="",t[t.length]="",t.join("")}function yo(e,r){return{flags:e.read_shift(4),version:e.read_shift(4),name:Ze(e)}}function Co(e){var r=U(12+2*e.name.length);return r.write_shift(4,e.flags),r.write_shift(4,e.version),He(e.name,r),r.slice(0,r.l)}function Oo(e){for(var r=[],t=e.read_shift(4);t-- >0;)r.push([e.read_shift(4),e.read_shift(4)]);return r}function ko(e){var r=U(4+8*e.length);r.write_shift(4,e.length);for(var t=0;t - - - - - - - - - - - - - - - - - -`),e.join("")}function Po(e){var r={};r.i=e.read_shift(4);var t={};t.r=e.read_shift(4),t.c=e.read_shift(4),r.r=we(t);var n=e.read_shift(1);return n&2&&(r.l="1"),n&8&&(r.a="1"),r}var or=1024;function Pa(e,r){for(var t=[21600,21600],n=["m0,0l0",t[1],t[0],t[1],t[0],"0xe"].join(","),i=[Y("xml",null,{"xmlns:v":lt.v,"xmlns:o":lt.o,"xmlns:x":lt.x,"xmlns:mv":lt.mv}).replace(/\/>/,">"),Y("o:shapelayout",Y("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Y("v:shapetype",[Y("v:stroke",null,{joinstyle:"miter"}),Y("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:t.join(","),path:n})];or",l,Y("v:shadow",null,c),Y("v:path",null,{"o:connecttype":"none"}),'
','',"","",$e("x:Anchor",[s.c+1,0,s.r+1,0,s.c+3,20,s.r+5,20].join(",")),$e("x:AutoFill","False"),$e("x:Row",String(s.r)),$e("x:Column",String(s.c)),a[1].hidden?"":"","",""])}),i.push(""),i.join("")}function La(e){var r=[Le,Y("comments",null,{xmlns:mr[0]})],t=[];return r.push(""),e.forEach(function(n){n[1].forEach(function(i){var a=Ee(i.a);t.indexOf(a)==-1&&(t.push(a),r.push(""+a+"")),i.T&&i.ID&&t.indexOf("tc="+i.ID)==-1&&(t.push("tc="+i.ID),r.push("tc="+i.ID+""))})}),t.length==0&&(t.push("SheetJ5"),r.push("SheetJ5")),r.push(""),r.push(""),e.forEach(function(n){var i=0,a=[];if(n[1][0]&&n[1][0].T&&n[1][0].ID?i=t.indexOf("tc="+n[1][0].ID):n[1].forEach(function(o){o.a&&(i=t.indexOf(Ee(o.a))),a.push(o.t||"")}),r.push(''),a.length<=1)r.push($e("t",Ee(a[0]||"")));else{for(var s=`Comment: - `+a[0]+` -`,f=1;f")}),r.push(""),r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function Lo(e,r,t){var n=[Le,Y("ThreadedComments",null,{xmlns:Ue.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(i){var a="";(i[1]||[]).forEach(function(s,f){if(!s.T){delete s.ID;return}s.a&&r.indexOf(s.a)==-1&&r.push(s.a);var o={ref:i[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};f==0?a=o.id:o.parentId=a,s.ID=o.id,s.a&&(o.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(s.a)).slice(-12)+"}"),n.push(Y("threadedComment",$e("text",s.t||""),o))})}),n.push(""),n.join("")}function Mo(e){var r=[Le,Y("personList",null,{xmlns:Ue.TCMNT,"xmlns:x":mr[0]}).replace(/[\/]>/,">")];return e.forEach(function(t,n){r.push(Y("person",null,{displayName:t,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:t,providerId:"None"}))}),r.push(""),r.join("")}function Bo(e){var r={};r.iauthor=e.read_shift(4);var t=rr(e);return r.rfx=t.s,r.ref=we(t.s),e.l+=16,r}function bo(e,r){return r==null&&(r=U(36)),r.write_shift(4,e[1].iauthor),_r(e[0],r),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r}var Uo=Ze;function Wo(e){return He(e.slice(0,54))}function Ho(e){var r=rt(),t=[];return G(r,628),G(r,630),e.forEach(function(n){n[1].forEach(function(i){t.indexOf(i.a)>-1||(t.push(i.a.slice(0,54)),G(r,632,Wo(i.a)))})}),G(r,631),G(r,633),e.forEach(function(n){n[1].forEach(function(i){i.iauthor=t.indexOf(i.a);var a={s:We(n[0]),e:We(n[0])};G(r,635,bo([a,i])),i.t&&i.t.length>0&&G(r,637,Vf(i)),G(r,636),delete i.iauthor})}),G(r,634),G(r,629),r.end()}function Vo(e,r){r.FullPaths.forEach(function(t,n){if(n!=0){var i=t.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");i.slice(-1)!=="/"&&Se.utils.cfb_add(e,i,r.FileIndex[n].content)}})}var Ma=["xlsb","xlsm","xlam","biff8","xla"],Go=(function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,r={r:0,c:0};function t(n,i,a,s){var f=!1,o=!1;a.length==0?o=!0:a.charAt(0)=="["&&(o=!0,a=a.slice(1,-1)),s.length==0?f=!0:s.charAt(0)=="["&&(f=!0,s=s.slice(1,-1));var l=a.length>0?parseInt(a,10)|0:0,c=s.length>0?parseInt(s,10)|0:0;return f?c+=r.c:--c,o?l+=r.r:--l,i+(f?"":"$")+Je(c)+(o?"":"$")+Ke(l)}return function(i,a){return r=a,i.replace(e,t)}})(),xi=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,di=(function(){return function(r,t){return r.replace(xi,function(n,i,a,s,f,o){var l=fi(s)-(a?0:t.c),c=si(o)-(f?0:t.r),u=c==0?"":f?c+1:"["+c+"]",v=l==0?"":a?l+1:"["+l+"]";return i+"R"+u+"C"+v})}})();function zo(e,r){return e.replace(xi,function(t,n,i,a,s,f){return n+(i=="$"?i+a:Je(fi(a)+r.c))+(s=="$"?s+f:Ke(si(f)+r.r))})}function Xo(e){return e.length!=1}function Ie(e){e.l+=1}function bt(e,r){var t=e.read_shift(2);return[t&16383,t>>14&1,t>>15&1]}function Ba(e,r,t){var n=2;if(t){if(t.biff>=2&&t.biff<=5)return ba(e);t.biff==12&&(n=4)}var i=e.read_shift(n),a=e.read_shift(n),s=bt(e),f=bt(e);return{s:{r:i,c:s[0],cRel:s[1],rRel:s[2]},e:{r:a,c:f[0],cRel:f[1],rRel:f[2]}}}function ba(e){var r=bt(e),t=bt(e),n=e.read_shift(1),i=e.read_shift(1);return{s:{r:r[0],c:n,cRel:r[1],rRel:r[2]},e:{r:t[0],c:i,cRel:t[1],rRel:t[2]}}}function $o(e,r,t){if(t.biff<8)return ba(e);var n=e.read_shift(t.biff==12?4:2),i=e.read_shift(t.biff==12?4:2),a=bt(e),s=bt(e);return{s:{r:n,c:a[0],cRel:a[1],rRel:a[2]},e:{r:i,c:s[0],cRel:s[1],rRel:s[2]}}}function Ua(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return Ko(e);var n=e.read_shift(t&&t.biff==12?4:2),i=bt(e);return{r:n,c:i[0],cRel:i[1],rRel:i[2]}}function Ko(e){var r=bt(e),t=e.read_shift(1);return{r:r[0],c:t,cRel:r[1],rRel:r[2]}}function jo(e){var r=e.read_shift(2),t=e.read_shift(2);return{r,c:t&255,fQuoted:!!(t&16384),cRel:t>>15,rRel:t>>15}}function Yo(e,r,t){var n=t&&t.biff?t.biff:8;if(n>=2&&n<=5)return Jo(e);var i=e.read_shift(n>=12?4:2),a=e.read_shift(2),s=(a&16384)>>14,f=(a&32768)>>15;if(a&=16383,f==1)for(;i>524287;)i-=1048576;if(s==1)for(;a>8191;)a=a-16384;return{r:i,c:a,cRel:s,rRel:f}}function Jo(e){var r=e.read_shift(2),t=e.read_shift(1),n=(r&32768)>>15,i=(r&16384)>>14;return r&=16383,n==1&&r>=8192&&(r=r-16384),i==1&&t>=128&&(t=t-256),{r,c:t,cRel:i,rRel:n}}function Zo(e,r,t){var n=(e[e.l++]&96)>>5,i=Ba(e,t.biff>=2&&t.biff<=5?6:8,t);return[n,i]}function qo(e,r,t){var n=(e[e.l++]&96)>>5,i=e.read_shift(2,"i"),a=8;if(t)switch(t.biff){case 5:e.l+=12,a=6;break;case 12:a=12;break}var s=Ba(e,a,t);return[n,i,s]}function Qo(e,r,t){var n=(e[e.l++]&96)>>5;return e.l+=t&&t.biff>8?12:t.biff<8?6:8,[n]}function ec(e,r,t){var n=(e[e.l++]&96)>>5,i=e.read_shift(2),a=8;if(t)switch(t.biff){case 5:e.l+=12,a=6;break;case 12:a=12;break}return e.l+=a,[n,i]}function tc(e,r,t){var n=(e[e.l++]&96)>>5,i=$o(e,r-1,t);return[n,i]}function rc(e,r,t){var n=(e[e.l++]&96)>>5;return e.l+=t.biff==2?6:t.biff==12?14:7,[n]}function x0(e){var r=e[e.l+1]&1,t=1;return e.l+=4,[r,t]}function nc(e,r,t){e.l+=2;for(var n=e.read_shift(t&&t.biff==2?1:2),i=[],a=0;a<=n;++a)i.push(e.read_shift(t&&t.biff==2?1:2));return i}function ic(e,r,t){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(t&&t.biff==2?1:2)]}function ac(e,r,t){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(t&&t.biff==2?1:2)]}function sc(e){var r=e[e.l+1]&255?1:0;return e.l+=2,[r,e.read_shift(2)]}function fc(e,r,t){var n=e[e.l+1]&255?1:0;return e.l+=t&&t.biff==2?3:4,[n]}function Wa(e){var r=e.read_shift(1),t=e.read_shift(1);return[r,t]}function lc(e){return e.read_shift(2),Wa(e)}function oc(e){return e.read_shift(2),Wa(e)}function cc(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=Ua(e,0,t);return[n,i]}function hc(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=Yo(e,0,t);return[n,i]}function uc(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=e.read_shift(2);t&&t.biff==5&&(e.l+=12);var a=Ua(e,0,t);return[n,i,a]}function xc(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=e.read_shift(t&&t.biff<=3?1:2);return[xh[i],Ga[i],n]}function dc(e,r,t){var n=e[e.l++],i=e.read_shift(1),a=t&&t.biff<=3?[n==88?-1:0,e.read_shift(1)]:vc(e);return[i,(a[0]===0?Ga:uh)[a[1]]]}function vc(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function pc(e,r,t){e.l+=t&&t.biff==2?3:4}function mc(e,r,t){if(e.l++,t&&t.biff==12)return[e.read_shift(4,"i"),0];var n=e.read_shift(2),i=e.read_shift(t&&t.biff==2?1:2);return[n,i]}function gc(e){return e.l++,zr[e.read_shift(1)]}function _c(e){return e.l++,e.read_shift(2)}function Tc(e){return e.l++,e.read_shift(1)!==0}function Ec(e){return e.l++,Tr(e)}function wc(e,r,t){return e.l++,wa(e,r-1,t)}function Sc(e,r){var t=[e.read_shift(1)];if(r==12)switch(t[0]){case 2:t[0]=4;break;case 4:t[0]=16;break;case 0:t[0]=1;break;case 1:t[0]=2;break}switch(t[0]){case 4:t[1]=hl(e,1)?"TRUE":"FALSE",r!=12&&(e.l+=7);break;case 37:case 16:t[1]=zr[e[e.l]],e.l+=r==12?4:8;break;case 0:e.l+=8;break;case 1:t[1]=Tr(e);break;case 2:t[1]=vl(e,0,{biff:r>0&&r<8?2:r});break;default:throw new Error("Bad SerAr: "+t[0])}return t}function Ac(e,r,t){for(var n=e.read_shift(t.biff==12?4:2),i=[],a=0;a!=n;++a)i.push((t.biff==12?rr:gl)(e));return i}function Fc(e,r,t){var n=0,i=0;t.biff==12?(n=e.read_shift(4),i=e.read_shift(4)):(i=1+e.read_shift(1),n=1+e.read_shift(2)),t.biff>=2&&t.biff<8&&(--n,--i==0&&(i=256));for(var a=0,s=[];a!=n&&(s[a]=[]);++a)for(var f=0;f!=i;++f)s[a][f]=Sc(e,t.biff);return s}function yc(e,r,t){var n=e.read_shift(1)>>>5&3,i=!t||t.biff>=8?4:2,a=e.read_shift(i);switch(t.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[n,0,a]}function Cc(e,r,t){if(t.biff==5)return Oc(e);var n=e.read_shift(1)>>>5&3,i=e.read_shift(2),a=e.read_shift(4);return[n,i,a]}function Oc(e){var r=e.read_shift(1)>>>5&3,t=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[r,t,n]}function kc(e,r,t){var n=e.read_shift(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var i=e.read_shift(t&&t.biff==2?1:2);return[n,i]}function Rc(e,r,t){var n=e.read_shift(1)>>>5&3,i=e.read_shift(t&&t.biff==2?1:2);return[n,i]}function Dc(e,r,t){var n=e.read_shift(1)>>>5&3;return e.l+=4,t.biff<8&&e.l--,t.biff==12&&(e.l+=2),[n]}function Ic(e,r,t){var n=(e[e.l++]&96)>>5,i=e.read_shift(2),a=4;if(t)switch(t.biff){case 5:a=15;break;case 12:a=6;break}return e.l+=a,[n,i]}var Nc=At,Pc=At,Lc=At;function Xr(e,r,t){return e.l+=2,[jo(e)]}function vi(e){return e.l+=6,[]}var Mc=Xr,Bc=vi,bc=vi,Uc=Xr;function Ha(e){return e.l+=2,[Ta(e),e.read_shift(2)&1]}var Wc=Xr,Hc=Ha,Vc=vi,Gc=Xr,zc=Xr,Xc=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function $c(e){e.l+=2;var r=e.read_shift(2),t=e.read_shift(2),n=e.read_shift(4),i=e.read_shift(2),a=e.read_shift(2),s=Xc[t>>2&31];return{ixti:r,coltype:t&3,rt:s,idx:n,c:i,C:a}}function Kc(e){return e.l+=2,[e.read_shift(4)]}function jc(e,r,t){return e.l+=5,e.l+=2,e.l+=t.biff==2?1:4,["PTGSHEET"]}function Yc(e,r,t){return e.l+=t.biff==2?4:5,["PTGENDSHEET"]}function Jc(e){var r=e.read_shift(1)>>>5&3,t=e.read_shift(2);return[r,t]}function Zc(e){var r=e.read_shift(1)>>>5&3,t=e.read_shift(2);return[r,t]}function qc(e){return e.l+=4,[0,0]}var d0={1:{n:"PtgExp",f:mc},2:{n:"PtgTbl",f:Lc},3:{n:"PtgAdd",f:Ie},4:{n:"PtgSub",f:Ie},5:{n:"PtgMul",f:Ie},6:{n:"PtgDiv",f:Ie},7:{n:"PtgPower",f:Ie},8:{n:"PtgConcat",f:Ie},9:{n:"PtgLt",f:Ie},10:{n:"PtgLe",f:Ie},11:{n:"PtgEq",f:Ie},12:{n:"PtgGe",f:Ie},13:{n:"PtgGt",f:Ie},14:{n:"PtgNe",f:Ie},15:{n:"PtgIsect",f:Ie},16:{n:"PtgUnion",f:Ie},17:{n:"PtgRange",f:Ie},18:{n:"PtgUplus",f:Ie},19:{n:"PtgUminus",f:Ie},20:{n:"PtgPercent",f:Ie},21:{n:"PtgParen",f:Ie},22:{n:"PtgMissArg",f:Ie},23:{n:"PtgStr",f:wc},26:{n:"PtgSheet",f:jc},27:{n:"PtgEndSheet",f:Yc},28:{n:"PtgErr",f:gc},29:{n:"PtgBool",f:Tc},30:{n:"PtgInt",f:_c},31:{n:"PtgNum",f:Ec},32:{n:"PtgArray",f:rc},33:{n:"PtgFunc",f:xc},34:{n:"PtgFuncVar",f:dc},35:{n:"PtgName",f:yc},36:{n:"PtgRef",f:cc},37:{n:"PtgArea",f:Zo},38:{n:"PtgMemArea",f:kc},39:{n:"PtgMemErr",f:Nc},40:{n:"PtgMemNoMem",f:Pc},41:{n:"PtgMemFunc",f:Rc},42:{n:"PtgRefErr",f:Dc},43:{n:"PtgAreaErr",f:Qo},44:{n:"PtgRefN",f:hc},45:{n:"PtgAreaN",f:tc},46:{n:"PtgMemAreaN",f:Jc},47:{n:"PtgMemNoMemN",f:Zc},57:{n:"PtgNameX",f:Cc},58:{n:"PtgRef3d",f:uc},59:{n:"PtgArea3d",f:qo},60:{n:"PtgRefErr3d",f:Ic},61:{n:"PtgAreaErr3d",f:ec},255:{}},Qc={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},eh={1:{n:"PtgElfLel",f:Ha},2:{n:"PtgElfRw",f:Gc},3:{n:"PtgElfCol",f:Mc},6:{n:"PtgElfRwV",f:zc},7:{n:"PtgElfColV",f:Uc},10:{n:"PtgElfRadical",f:Wc},11:{n:"PtgElfRadicalS",f:Vc},13:{n:"PtgElfColS",f:Bc},15:{n:"PtgElfColSV",f:bc},16:{n:"PtgElfRadicalLel",f:Hc},25:{n:"PtgList",f:$c},29:{n:"PtgSxName",f:Kc},255:{}},th={0:{n:"PtgAttrNoop",f:qc},1:{n:"PtgAttrSemi",f:fc},2:{n:"PtgAttrIf",f:ac},4:{n:"PtgAttrChoose",f:nc},8:{n:"PtgAttrGoto",f:ic},16:{n:"PtgAttrSum",f:pc},32:{n:"PtgAttrBaxcel",f:x0},33:{n:"PtgAttrBaxcel",f:x0},64:{n:"PtgAttrSpace",f:lc},65:{n:"PtgAttrSpaceSemi",f:oc},128:{n:"PtgAttrIfError",f:sc},255:{}};function rh(e,r,t,n){if(n.biff<8)return At(e,r);for(var i=e.l+r,a=[],s=0;s!==t.length;++s)switch(t[s][0]){case"PtgArray":t[s][1]=Fc(e,0,n),a.push(t[s][1]);break;case"PtgMemArea":t[s][2]=Ac(e,t[s][1],n),a.push(t[s][2]);break;case"PtgExp":n&&n.biff==12&&(t[s][1][1]=e.read_shift(4),a.push(t[s][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+t[s][0]}return r=i-e.l,r!==0&&a.push(At(e,r)),a}function nh(e,r,t){for(var n=e.l+r,i,a,s=[];n!=e.l;)r=n-e.l,a=e[e.l],i=d0[a]||d0[Qc[a]],(a===24||a===25)&&(i=(a===24?eh:th)[e[e.l+1]]),!i||!i.f?At(e,r):s.push([i.n,i.f(e,r,t)]);return s}function ih(e){for(var r=[],t=0;t=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function sh(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function Va(e,r,t){if(!e)return"SH33TJSERR0";if(t.biff>8&&(!e.XTI||!e.XTI[r]))return e.SheetNames[r];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[r];if(t.biff<8)return r>1e4&&(r-=65536),r<0&&(r=-r),r==0?"":e.XTI[r-1];if(!n)return"SH33TJSERR1";var i="";if(t.biff>8)switch(e[n[0]][0]){case 357:return i=n[1]==-1?"#REF":e.SheetNames[n[1]],n[1]==n[2]?i:i+":"+e.SheetNames[n[2]];case 358:return t.SID!=null?e.SheetNames[t.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return i=n[1]==-1?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?i:i+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(a){return a.Name}).join(";;");default:return e[n[0]][0][3]?(i=n[1]==-1?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?i:i+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function v0(e,r,t){var n=Va(e,r,t);return n=="#REF"?n:sh(n,t)}function pr(e,r,t,n,i){var a=i&&i.biff||8,s={s:{c:0,r:0}},f=[],o,l,c,u=0,v=0,x,p="";if(!e[0]||!e[0][0])return"";for(var h=-1,g="",A=0,k=e[0].length;A=0){switch(e[0][h][1][0]){case 0:g=Re(" ",e[0][h][1][1]);break;case 1:g=Re("\r",e[0][h][1][1]);break;default:if(g="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][h][1][0])}l=l+g,h=-1}f.push(l+ah[y[0]]+o);break;case"PtgIsect":o=f.pop(),l=f.pop(),f.push(l+" "+o);break;case"PtgUnion":o=f.pop(),l=f.pop(),f.push(l+","+o);break;case"PtgRange":o=f.pop(),l=f.pop(),f.push(l+":"+o);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=kr(y[1][1],s,i),f.push(Rr(c,a));break;case"PtgRefN":c=t?kr(y[1][1],t,i):y[1][1],f.push(Rr(c,a));break;case"PtgRef3d":u=y[1][1],c=kr(y[1][2],s,i),p=v0(n,u,i),f.push(p+"!"+Rr(c,a));break;case"PtgFunc":case"PtgFuncVar":var M=y[1][0],K=y[1][1];M||(M=0),M&=127;var Z=M==0?[]:f.slice(-M);f.length-=M,K==="User"&&(K=Z.shift()),f.push(K+"("+Z.join(",")+")");break;case"PtgBool":f.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(y[1]);break;case"PtgNum":f.push(String(y[1]));break;case"PtgStr":f.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(y[1]);break;case"PtgAreaN":x=Qi(y[1][1],t?{s:t}:s,i),f.push(Pn(x,i));break;case"PtgArea":x=Qi(y[1][1],s,i),f.push(Pn(x,i));break;case"PtgArea3d":u=y[1][1],x=y[1][2],p=v0(n,u,i),f.push(p+"!"+Pn(x,i));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":v=y[1][2];var R=(n.names||[])[v-1]||(n[0]||[])[v],V=R?R.Name:"SH33TJSNAME"+String(v);V&&V.slice(0,6)=="_xlfn."&&!i.xlfn&&(V=V.slice(6)),f.push(V);break;case"PtgNameX":var C=y[1][1];v=y[1][2];var b;if(i.biff<=5)C<0&&(C=-C),n[C]&&(b=n[C][v]);else{var B="";if(((n[C]||[])[0]||[])[0]==14849||(((n[C]||[])[0]||[])[0]==1025?n[C][v]&&n[C][v].itab>0&&(B=n.SheetNames[n[C][v].itab-1]+"!"):B=n.SheetNames[v-1]+"!"),n[C]&&n[C][v])B+=n[C][v].Name;else if(n[0]&&n[0][v])B+=n[0][v].Name;else{var W=(Va(n,C,i)||"").split(";;");W[v-1]?B=W[v-1]:B+="SH33TJSERRX"}f.push(B);break}b||(b={Name:"SH33TJSERRY"}),f.push(b.Name);break;case"PtgParen":var q="(",te=")";if(h>=0){switch(g="",e[0][h][1][0]){case 2:q=Re(" ",e[0][h][1][1])+q;break;case 3:q=Re("\r",e[0][h][1][1])+q;break;case 4:te=Re(" ",e[0][h][1][1])+te;break;case 5:te=Re("\r",e[0][h][1][1])+te;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][h][1][0])}h=-1}f.push(q+f.pop()+te);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":c={c:y[1][1],r:y[1][0]};var Q={c:t.c,r:t.r};if(n.sharedf[we(c)]){var le=n.sharedf[we(c)];f.push(pr(le,s,Q,n,i))}else{var ce=!1;for(o=0;o!=n.arrayf.length;++o)if(l=n.arrayf[o],!(c.cl[0].e.c)&&!(c.rl[0].e.r)){f.push(pr(l[1],s,Q,n,i)),ce=!0;break}ce||f.push(y[1])}break;case"PtgArray":f.push("{"+ih(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":h=A;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(y));default:throw new Error("Unrecognized Formula Token: "+String(y))}var xe=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(i.biff!=3&&h>=0&&xe.indexOf(e[0][A][0])==-1){y=e[0][h];var Ae=!0;switch(y[1][0]){case 4:Ae=!1;case 0:g=Re(" ",y[1][1]);break;case 5:Ae=!1;case 1:g=Re("\r",y[1][1]);break;default:if(g="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}f.push((Ae?g:"")+f.pop()+(Ae?"":g)),h=-1}}if(f.length>1&&i.WTF)throw new Error("bad formula stack");return f[0]}function fh(e){if(e==null){var r=U(8);return r.write_shift(1,3),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,65535),r}else if(typeof e=="number")return Jt(e);return Jt(0)}function lh(e,r,t,n,i){var a=Zt(r,t,i),s=fh(e.v),f=U(6),o=33;f.write_shift(2,o),f.write_shift(4,0);for(var l=U(e.bf.length),c=0;c0?rh(e,a,i,t):null;return[i,s]}var oh=An,Fn=An,ch=An,hh=An,uh={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},Ga={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},xh={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function dh(e){var r="of:="+e.replace(xi,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function vh(e){return e.replace(/\./,"!")}var Dr=typeof Map<"u";function pi(e,r,t){var n=0,i=e.length;if(t){if(Dr?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){for(var a=Dr?t.get(r):t[r];n-1?(t.width=Yn(n),t.customWidth=1):r.width!=null&&(t.width=r.width),r.hidden&&(t.hidden=!0),r.level!=null&&(t.outlineLevel=t.level=r.level),t}function za(e,r){if(e){var t=[.7,.7,.75,.75,.3,.3];e.left==null&&(e.left=t[0]),e.right==null&&(e.right=t[1]),e.top==null&&(e.top=t[2]),e.bottom==null&&(e.bottom=t[3]),e.header==null&&(e.header=t[4]),e.footer==null&&(e.footer=t[5])}}function Wt(e,r,t){var n=t.revssf[r.z!=null?r.z:"General"],i=60,a=e.length;if(n==null&&t.ssf){for(;i<392;++i)if(t.ssf[i]==null){U0(r.z,i),t.ssf[i]=r.z,t.revssf[r.z]=n=i;break}}for(i=0;i!=a;++i)if(e[i].numFmtId===n)return i;return e[a]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},a}function ph(e,r,t){if(e&&e["!ref"]){var n=ye(e["!ref"]);if(n.e.c',t=0;t!=e.length;++t)r+='';return r+""}function gh(e,r,t,n,i){var a=!1,s={},f=null;if(n.bookType!=="xlsx"&&r.vbaraw){var o=r.SheetNames[t];try{r.Workbook&&(o=r.Workbook.Sheets[t].CodeName||o)}catch{}a=!0,s.codeName=Br(Ee(o))}if(e&&e["!outline"]){var l={summaryBelow:1,summaryRight:1};e["!outline"].above&&(l.summaryBelow=0),e["!outline"].left&&(l.summaryRight=0),f=(f||"")+Y("outlinePr",null,l)}!a&&!f||(i[i.length]=Y("sheetPr",f,s))}var _h=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Th=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Eh(e){var r={sheet:1};return _h.forEach(function(t){e[t]!=null&&e[t]&&(r[t]="1")}),Th.forEach(function(t){e[t]!=null&&!e[t]&&(r[t]="0")}),e.password&&(r.password=Ca(e.password).toString(16).toUpperCase()),Y("sheetProtection",null,r)}function wh(e){return za(e),Y("pageMargins",null,e)}function Sh(e,r){for(var t=[""],n,i=0;i!=r.length;++i)(n=r[i])&&(t[t.length]=Y("col",null,yn(i,n)));return t[t.length]="",t.join("")}function Ah(e,r,t,n){var i=typeof e.ref=="string"?e.ref:Pe(e.ref);t.Workbook||(t.Workbook={Sheets:[]}),t.Workbook.Names||(t.Workbook.Names=[]);var a=t.Workbook.Names,s=ct(i);s.s.r==s.e.r&&(s.e.r=ct(r["!ref"]).e.r,i=Pe(s));for(var f=0;f"u"&&(e.z=De[14]);break;default:i=e.v;break}var f=$e("v",Ee(i)),o={r},l=Wt(n.cellXfs,e,n);switch(l!==0&&(o.s=l),e.t){case"n":break;case"d":o.t="d";break;case"b":o.t="b";break;case"e":o.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){f=$e("v",""+pi(n.Strings,e.v,n.revStrings)),o.t="s";break}o.t="str";break}if(e.t!=a&&(e.t=a,e.v=s),typeof e.f=="string"&&e.f){var c=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;f=Y("f",Ee(e.f),c)+(e.v!=null?f:"")}return e.l&&t["!links"].push([r,e.l]),e.D&&(o.cm=1),Y("c",f,o)}function Ch(e,r,t,n){var i=[],a=[],s=ye(e["!ref"]),f="",o,l="",c=[],u=0,v=0,x=e["!rows"],p=Array.isArray(e),h={r:l},g,A=-1;for(v=s.s.c;v<=s.e.c;++v)c[v]=Je(v);for(u=s.s.r;u<=s.e.r;++u){for(a=[],l=Ke(u),v=s.s.c;v<=s.e.c;++v){o=c[v]+l;var k=p?(e[u]||[])[v]:e[o];k!==void 0&&(f=yh(k,o,e,r))!=null&&a.push(f)}(a.length>0||x&&x[u])&&(h={r:l},x&&x[u]&&(g=x[u],g.hidden&&(h.hidden=1),A=-1,g.hpx?A=pn(g.hpx):g.hpt&&(A=g.hpt),A>-1&&(h.ht=A,h.customHeight=1),g.level&&(h.outlineLevel=g.level)),i[i.length]=Y("row",a.join(""),h))}if(x)for(;u-1&&(h.ht=A,h.customHeight=1),g.level&&(h.outlineLevel=g.level),i[i.length]=Y("row","",h));return i.join("")}function Xa(e,r,t,n){var i=[Le,Y("worksheet",null,{xmlns:mr[0],"xmlns:r":Ue.r})],a=t.SheetNames[e],s=0,f="",o=t.Sheets[a];o==null&&(o={});var l=o["!ref"]||"A1",c=ye(l);if(c.e.c>16383||c.e.r>1048575){if(r.WTF)throw new Error("Range "+l+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575),l=Pe(c)}n||(n={}),o["!comments"]=[];var u=[];gh(o,t,e,r,i),i[i.length]=Y("dimension",null,{ref:l}),i[i.length]=Fh(o,r,e,t),r.sheetFormat&&(i[i.length]=Y("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"})),o["!cols"]!=null&&o["!cols"].length>0&&(i[i.length]=Sh(o,o["!cols"])),i[s=i.length]="",o["!links"]=[],o["!ref"]!=null&&(f=Ch(o,r),f.length>0&&(i[i.length]=f)),i.length>s+1&&(i[i.length]="",i[s]=i[s].replace("/>",">")),o["!protect"]&&(i[i.length]=Eh(o["!protect"])),o["!autofilter"]!=null&&(i[i.length]=Ah(o["!autofilter"],o,t,e)),o["!merges"]!=null&&o["!merges"].length>0&&(i[i.length]=mh(o["!merges"]));var v=-1,x,p=-1;return o["!links"].length>0&&(i[i.length]="",o["!links"].forEach(function(h){h[1].Target&&(x={ref:h[0]},h[1].Target.charAt(0)!="#"&&(p=Te(n,-1,Ee(h[1].Target).replace(/#.*$/,""),ve.HLINK),x["r:id"]="rId"+p),(v=h[1].Target.indexOf("#"))>-1&&(x.location=Ee(h[1].Target.slice(v+1))),h[1].Tooltip&&(x.tooltip=Ee(h[1].Tooltip)),i[i.length]=Y("hyperlink",null,x))}),i[i.length]=""),delete o["!links"],o["!margins"]!=null&&(i[i.length]=wh(o["!margins"])),(!r||r.ignoreEC||r.ignoreEC==null)&&(i[i.length]=$e("ignoredErrors",Y("ignoredError",null,{numberStoredAsText:1,sqref:l}))),u.length>0&&(p=Te(n,-1,"../drawings/drawing"+(e+1)+".xml",ve.DRAW),i[i.length]=Y("drawing",null,{"r:id":"rId"+p}),o["!drawing"]=u),o["!comments"].length>0&&(p=Te(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",ve.VML),i[i.length]=Y("legacyDrawing",null,{"r:id":"rId"+p}),o["!legacy"]=p),i.length>1&&(i[i.length]="",i[1]=i[1].replace("/>",">")),i.join("")}function Oh(e,r){var t={},n=e.l+r;t.r=e.read_shift(4),e.l+=4;var i=e.read_shift(2);e.l+=1;var a=e.read_shift(1);return e.l=n,a&7&&(t.level=a&7),a&16&&(t.hidden=!0),a&32&&(t.hpt=i/20),t}function kh(e,r,t){var n=U(145),i=(t["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var a=320;i.hpx?a=pn(i.hpx)*20:i.hpt&&(a=i.hpt*20),n.write_shift(2,a),n.write_shift(1,0);var s=0;i.level&&(s|=i.level),i.hidden&&(s|=16),(i.hpx||i.hpt)&&(s|=32),n.write_shift(1,s),n.write_shift(1,0);var f=0,o=n.l;n.l+=4;for(var l={r:e,c:0},c=0;c<16;++c)if(!(r.s.c>c+1<<10||r.e.cn.l?n.slice(0,n.l):n}function Rh(e,r,t,n){var i=kh(n,t,r);(i.length>17||(r["!rows"]||[])[n])&&G(e,0,i)}var Dh=rr,Ih=_r;function Nh(){}function Ph(e,r){var t={},n=e[e.l];return++e.l,t.above=!(n&64),t.left=!(n&128),e.l+=18,t.name=Gf(e),t}function Lh(e,r,t){t==null&&(t=U(84+4*e.length));var n=192;r&&(r.above&&(n&=-65),r.left&&(n&=-129)),t.write_shift(1,n);for(var i=1;i<3;++i)t.write_shift(1,0);return un({auto:1},t),t.write_shift(-4,-1),t.write_shift(-4,-1),sa(e,t),t.slice(0,t.l)}function Mh(e){var r=vt(e);return[r]}function Bh(e,r,t){return t==null&&(t=U(8)),Qt(r,t)}function bh(e){var r=er(e);return[r]}function Uh(e,r,t){return t==null&&(t=U(4)),tr(r,t)}function Wh(e){var r=vt(e),t=e.read_shift(1);return[r,t,"b"]}function Hh(e,r,t){return t==null&&(t=U(9)),Qt(r,t),t.write_shift(1,e.v?1:0),t}function Vh(e){var r=er(e),t=e.read_shift(1);return[r,t,"b"]}function Gh(e,r,t){return t==null&&(t=U(5)),tr(r,t),t.write_shift(1,e.v?1:0),t}function zh(e){var r=vt(e),t=e.read_shift(1);return[r,t,"e"]}function Xh(e,r,t){return t==null&&(t=U(9)),Qt(r,t),t.write_shift(1,e.v),t}function $h(e){var r=er(e),t=e.read_shift(1);return[r,t,"e"]}function Kh(e,r,t){return t==null&&(t=U(8)),tr(r,t),t.write_shift(1,e.v),t.write_shift(2,0),t.write_shift(1,0),t}function jh(e){var r=vt(e),t=e.read_shift(4);return[r,t,"s"]}function Yh(e,r,t){return t==null&&(t=U(12)),Qt(r,t),t.write_shift(4,r.v),t}function Jh(e){var r=er(e),t=e.read_shift(4);return[r,t,"s"]}function Zh(e,r,t){return t==null&&(t=U(8)),tr(r,t),t.write_shift(4,r.v),t}function qh(e){var r=vt(e),t=Tr(e);return[r,t,"n"]}function Qh(e,r,t){return t==null&&(t=U(16)),Qt(r,t),Jt(e.v,t),t}function eu(e){var r=er(e),t=Tr(e);return[r,t,"n"]}function tu(e,r,t){return t==null&&(t=U(12)),tr(r,t),Jt(e.v,t),t}function ru(e){var r=vt(e),t=fa(e);return[r,t,"n"]}function nu(e,r,t){return t==null&&(t=U(12)),Qt(r,t),la(e.v,t),t}function iu(e){var r=er(e),t=fa(e);return[r,t,"n"]}function au(e,r,t){return t==null&&(t=U(8)),tr(r,t),la(e.v,t),t}function su(e){var r=vt(e),t=li(e);return[r,t,"is"]}function fu(e){var r=vt(e),t=Ze(e);return[r,t,"str"]}function lu(e,r,t){return t==null&&(t=U(12+4*e.v.length)),Qt(r,t),He(e.v,t),t.length>t.l?t.slice(0,t.l):t}function ou(e){var r=er(e),t=Ze(e);return[r,t,"str"]}function cu(e,r,t){return t==null&&(t=U(8+4*e.v.length)),tr(r,t),He(e.v,t),t.length>t.l?t.slice(0,t.l):t}function hu(e,r,t){var n=e.l+r,i=vt(e);i.r=t["!row"];var a=e.read_shift(1),s=[i,a,"b"];if(t.cellFormula){e.l+=2;var f=Fn(e,n-e.l,t);s[3]=pr(f,null,i,t.supbooks,t)}else e.l=n;return s}function uu(e,r,t){var n=e.l+r,i=vt(e);i.r=t["!row"];var a=e.read_shift(1),s=[i,a,"e"];if(t.cellFormula){e.l+=2;var f=Fn(e,n-e.l,t);s[3]=pr(f,null,i,t.supbooks,t)}else e.l=n;return s}function xu(e,r,t){var n=e.l+r,i=vt(e);i.r=t["!row"];var a=Tr(e),s=[i,a,"n"];if(t.cellFormula){e.l+=2;var f=Fn(e,n-e.l,t);s[3]=pr(f,null,i,t.supbooks,t)}else e.l=n;return s}function du(e,r,t){var n=e.l+r,i=vt(e);i.r=t["!row"];var a=Ze(e),s=[i,a,"str"];if(t.cellFormula){e.l+=2;var f=Fn(e,n-e.l,t);s[3]=pr(f,null,i,t.supbooks,t)}else e.l=n;return s}var vu=rr,pu=_r;function mu(e,r){return r==null&&(r=U(4)),r.write_shift(4,e),r}function gu(e,r){var t=e.l+r,n=rr(e),i=oi(e),a=Ze(e),s=Ze(e),f=Ze(e);e.l=t;var o={rfx:n,relId:i,loc:a,display:f};return s&&(o.Tooltip=s),o}function _u(e,r){var t=U(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));_r({s:We(e[0]),e:We(e[0])},t),ci("rId"+r,t);var n=e[1].Target.indexOf("#"),i=n==-1?"":e[1].Target.slice(n+1);return He(i||"",t),He(e[1].Tooltip||"",t),He("",t),t.slice(0,t.l)}function Tu(){}function Eu(e,r,t){var n=e.l+r,i=oa(e),a=e.read_shift(1),s=[i];if(s[2]=a,t.cellFormula){var f=oh(e,n-e.l,t);s[1]=f}else e.l=n;return s}function wu(e,r,t){var n=e.l+r,i=rr(e),a=[i];if(t.cellFormula){var s=hh(e,n-e.l,t);a[1]=s,e.l=n}else e.l=n;return a}function Su(e,r,t){t==null&&(t=U(18));var n=yn(e,r);t.write_shift(-4,e),t.write_shift(-4,e),t.write_shift(4,(n.width||10)*256),t.write_shift(4,0);var i=0;return r.hidden&&(i|=1),typeof n.width=="number"&&(i|=2),r.level&&(i|=r.level<<8),t.write_shift(2,i),t}var $a=["left","right","top","bottom","header","footer"];function Au(e){var r={};return $a.forEach(function(t){r[t]=Tr(e)}),r}function Fu(e,r){return r==null&&(r=U(48)),za(e),$a.forEach(function(t){Jt(e[t],r)}),r}function yu(e){var r=e.read_shift(2);return e.l+=28,{RTL:r&32}}function Cu(e,r,t){t==null&&(t=U(30));var n=924;return(((r||{}).Views||[])[0]||{}).RTL&&(n|=32),t.write_shift(2,n),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,100),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(4,0),t}function Ou(e){var r=U(24);return r.write_shift(4,4),r.write_shift(4,1),_r(e,r),r}function ku(e,r){return r==null&&(r=U(66)),r.write_shift(2,e.password?Ca(e.password):0),r.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(t){t[1]?r.write_shift(4,e[t[0]]!=null&&!e[t[0]]?1:0):r.write_shift(4,e[t[0]]!=null&&e[t[0]]?0:1)}),r}function Ru(){}function Du(){}function Iu(e,r,t,n,i,a,s){if(r.v===void 0)return!1;var f="";switch(r.t){case"b":f=r.v?"1":"0";break;case"d":r=it(r),r.z=r.z||De[14],r.v=nt(tt(r.v)),r.t="n";break;case"n":case"e":f=""+r.v;break;default:f=r.v;break}var o={r:t,c:n};switch(o.s=Wt(i.cellXfs,r,i),r.l&&a["!links"].push([we(o),r.l]),r.c&&a["!comments"].push([we(o),r.c]),r.t){case"s":case"str":return i.bookSST?(f=pi(i.Strings,r.v,i.revStrings),o.t="s",o.v=f,s?G(e,18,Zh(r,o)):G(e,7,Yh(r,o))):(o.t="str",s?G(e,17,cu(r,o)):G(e,6,lu(r,o))),!0;case"n":return r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3?s?G(e,13,au(r,o)):G(e,2,nu(r,o)):s?G(e,16,tu(r,o)):G(e,5,Qh(r,o)),!0;case"b":return o.t="b",s?G(e,15,Gh(r,o)):G(e,4,Hh(r,o)),!0;case"e":return o.t="e",s?G(e,14,Kh(r,o)):G(e,3,Xh(r,o)),!0}return s?G(e,12,Uh(r,o)):G(e,1,Bh(r,o)),!0}function Nu(e,r,t,n){var i=ye(r["!ref"]||"A1"),a,s="",f=[];G(e,145);var o=Array.isArray(r),l=i.e.r;r["!rows"]&&(l=Math.max(i.e.r,r["!rows"].length-1));for(var c=i.s.r;c<=l;++c){s=Ke(c),Rh(e,r,i,c);var u=!1;if(c<=i.e.r)for(var v=i.s.c;v<=i.e.c;++v){c===i.s.r&&(f[v]=Je(v)),a=f[v]+s;var x=o?(r[c]||[])[v]:r[a];if(!x){u=!1;continue}u=Iu(e,x,c,v,n,r,u)}}G(e,146)}function Pu(e,r){!r||!r["!merges"]||(G(e,177,mu(r["!merges"].length)),r["!merges"].forEach(function(t){G(e,176,pu(t))}),G(e,178))}function Lu(e,r){!r||!r["!cols"]||(G(e,390),r["!cols"].forEach(function(t,n){t&&G(e,60,Su(n,t))}),G(e,391))}function Mu(e,r){!r||!r["!ref"]||(G(e,648),G(e,649,Ou(ye(r["!ref"]))),G(e,650))}function Bu(e,r,t){r["!links"].forEach(function(n){if(n[1].Target){var i=Te(t,-1,n[1].Target.replace(/#.*$/,""),ve.HLINK);G(e,494,_u(n,i))}}),delete r["!links"]}function bu(e,r,t,n){if(r["!comments"].length>0){var i=Te(n,-1,"../drawings/vmlDrawing"+(t+1)+".vml",ve.VML);G(e,551,ci("rId"+i)),r["!legacy"]=i}}function Uu(e,r,t,n){if(r["!autofilter"]){var i=r["!autofilter"],a=typeof i.ref=="string"?i.ref:Pe(i.ref);t.Workbook||(t.Workbook={Sheets:[]}),t.Workbook.Names||(t.Workbook.Names=[]);var s=t.Workbook.Names,f=ct(a);f.s.r==f.e.r&&(f.e.r=ct(r["!ref"]).e.r,a=Pe(f));for(var o=0;o16383||o.e.r>1048575){if(r.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");o.e.c=Math.min(o.e.c,16383),o.e.r=Math.min(o.e.c,1048575)}return s["!links"]=[],s["!comments"]=[],G(i,129),(t.vbaraw||s["!outline"])&&G(i,147,Lh(f,s["!outline"])),G(i,148,Ih(o)),Wu(i,s,t.Workbook),Lu(i,s),Nu(i,s,e,r),Hu(i,s),Uu(i,s,t,e),Pu(i,s),Bu(i,s,n),s["!margins"]&&G(i,476,Fu(s["!margins"])),(!r||r.ignoreEC||r.ignoreEC==null)&&Mu(i,s),bu(i,s,e,n),G(i,130),i.end()}function Gu(e,r){e.l+=10;var t=Ze(e);return{name:t}}var zu=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]];function Xu(e){return!e.Workbook||!e.Workbook.WBProps?"false":Ef(e.Workbook.WBProps.date1904)?"true":"false"}var $u="][*?/\\".split("");function Ka(e,r){if(e.length>31)throw new Error("Sheet names cannot exceed 31 chars");var t=!0;return $u.forEach(function(n){if(e.indexOf(n)!=-1)throw new Error("Sheet name cannot contain : \\ / ? * [ ]")}),t}function Ku(e,r,t){e.forEach(function(n,i){Ka(n);for(var a=0;a22)throw new Error("Bad Code Name: Worksheet"+s)}})}function ju(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];Ku(e.SheetNames,r,!!e.vbaraw);for(var t=0;t0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(zu.forEach(function(f){e.Workbook.WBProps[f[0]]!=null&&e.Workbook.WBProps[f[0]]!=f[1]&&(n[f[0]]=e.Workbook.WBProps[f[0]])}),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),r[r.length]=Y("workbookPr",null,n);var i=e.Workbook&&e.Workbook.Sheets||[],a=0;if(i&&i[0]&&i[0].Hidden){for(r[r.length]="",a=0;a!=e.SheetNames.length&&!(!i[a]||!i[a].Hidden);++a);a==e.SheetNames.length&&(a=0),r[r.length]='',r[r.length]=""}for(r[r.length]="",a=0;a!=e.SheetNames.length;++a){var s={name:Ee(e.SheetNames[a].slice(0,31))};if(s.sheetId=""+(a+1),s["r:id"]="rId"+(a+1),i[a])switch(i[a].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break}r[r.length]=Y("sheet",null,s)}return r[r.length]="",t&&(r[r.length]="",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(f){var o={name:f.Name};f.Comment&&(o.comment=f.Comment),f.Sheet!=null&&(o.localSheetId=""+f.Sheet),f.Hidden&&(o.hidden="1"),f.Ref&&(r[r.length]=Y("definedName",Ee(f.Ref),o))}),r[r.length]=""),r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function Yu(e,r){var t={};return t.Hidden=e.read_shift(4),t.iTabID=e.read_shift(4),t.strRelID=jn(e),t.name=Ze(e),t}function Ju(e,r){return r||(r=U(127)),r.write_shift(4,e.Hidden),r.write_shift(4,e.iTabID),ci(e.strRelID,r),He(e.name.slice(0,31),r),r.length>r.l?r.slice(0,r.l):r}function Zu(e,r){var t={},n=e.read_shift(4);t.defaultThemeVersion=e.read_shift(4);var i=r>8?Ze(e):"";return i.length>0&&(t.CodeName=i),t.autoCompressPictures=!!(n&65536),t.backupFile=!!(n&64),t.checkCompatibility=!!(n&4096),t.date1904=!!(n&1),t.filterPrivacy=!!(n&8),t.hidePivotFieldList=!!(n&1024),t.promptedSolutions=!!(n&16),t.publishItems=!!(n&2048),t.refreshAllConnections=!!(n&262144),t.saveExternalLinkValues=!!(n&128),t.showBorderUnselectedTables=!!(n&4),t.showInkAnnotation=!!(n&32),t.showObjects=["all","placeholders","none"][n>>13&3],t.showPivotChartFilter=!!(n&32768),t.updateLinks=["userSet","never","always"][n>>8&3],t}function qu(e,r){r||(r=U(72));var t=0;return e&&e.filterPrivacy&&(t|=8),r.write_shift(4,t),r.write_shift(4,0),sa(e&&e.CodeName||"ThisWorkbook",r),r.slice(0,r.l)}function Qu(e,r,t){var n=e.l+r;e.l+=4,e.l+=1;var i=e.read_shift(4),a=zf(e),s=ch(e,0,t),f=oi(e);e.l=n;var o={Name:a,Ptg:s};return i<268435455&&(o.Sheet=i),f&&(o.Comment=f),o}function e1(e,r){G(e,143);for(var t=0;t!=r.SheetNames.length;++t){var n=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0,i={Hidden:n,iTabID:t+1,strRelID:"rId"+(t+1),name:r.SheetNames[t]};G(e,156,Ju(i))}G(e,144)}function t1(e,r){r||(r=U(127));for(var t=0;t!=4;++t)r.write_shift(4,0);return He("SheetJS",r),He(nn.version,r),He(nn.version,r),He("7262",r),r.length>r.l?r.slice(0,r.l):r}function r1(e,r){r||(r=U(29)),r.write_shift(-4,0),r.write_shift(-4,460),r.write_shift(4,28800),r.write_shift(4,17600),r.write_shift(4,500),r.write_shift(4,e),r.write_shift(4,e);var t=120;return r.write_shift(1,t),r.length>r.l?r.slice(0,r.l):r}function n1(e,r){if(!(!r.Workbook||!r.Workbook.Sheets)){for(var t=r.Workbook.Sheets,n=0,i=-1,a=-1;ni||(G(e,135),G(e,158,r1(i)),G(e,136))}}function i1(e,r){var t=rt();return G(t,131),G(t,128,t1()),G(t,153,qu(e.Workbook&&e.Workbook.WBProps||null)),n1(t,e),e1(t,e),G(t,132),t.end()}function a1(e,r,t){return(r.slice(-4)===".bin"?i1:ja)(e)}function s1(e,r,t,n,i){return(r.slice(-4)===".bin"?Vu:Xa)(e,t,n,i)}function f1(e,r,t){return(r.slice(-4)===".bin"?Fo:Ra)(e,t)}function l1(e,r,t){return(r.slice(-4)===".bin"?Zl:ya)(e,t)}function o1(e,r,t){return(r.slice(-4)===".bin"?Ho:La)(e)}function c1(e){return(e.slice(-4)===".bin"?No:Na)()}function h1(e,r){var t=[];return e.Props&&t.push(sl(e.Props,r)),e.Custprops&&t.push(fl(e.Props,e.Custprops)),t.join("")}function u1(){return""}function x1(e,r){var t=[''];return r.cellXfs.forEach(function(n,i){var a=[];a.push(Y("NumberFormat",null,{"ss:Format":Ee(De[n.numFmtId])}));var s={"ss:ID":"s"+(21+i)};t.push(Y("Style",a.join(""),s))}),Y("Styles",t.join(""))}function Ya(e){return Y("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+di(e.Ref,{r:0,c:0})})}function d1(e){if(!((e||{}).Workbook||{}).Names)return"";for(var r=e.Workbook.Names,t=[],n=0;n"),e["!margins"].header&&i.push(Y("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&i.push(Y("Footer",null,{"x:Margin":e["!margins"].footer})),i.push(Y("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),i.push("")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[t])if(n.Workbook.Sheets[t].Hidden)i.push(Y("Visible",n.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var a=0;a")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&i.push(""),e["!protect"]&&(i.push($e("ProtectContents","True")),e["!protect"].objects&&i.push($e("ProtectObjects","True")),e["!protect"].scenarios&&i.push($e("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?i.push($e("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&i.push($e("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(s){e["!protect"][s[0]]&&i.push("<"+s[1]+"/>")})),i.length==0?"":Y("WorksheetOptions",i.join(""),{xmlns:lt.x})}function m1(e){return e.map(function(r){var t=Tf(r.t||""),n=Y("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});return Y("Comment",n,{"ss:Author":r.a})}).join("")}function g1(e,r,t,n,i,a,s){if(!e||e.v==null&&e.f==null)return"";var f={};if(e.f&&(f["ss:Formula"]="="+Ee(di(e.f,s))),e.F&&e.F.slice(0,r.length)==r){var o=We(e.F.slice(r.length+1));f["ss:ArrayRange"]="RC:R"+(o.r==s.r?"":"["+(o.r-s.r)+"]")+"C"+(o.c==s.c?"":"["+(o.c-s.c)+"]")}if(e.l&&e.l.Target&&(f["ss:HRef"]=Ee(e.l.Target),e.l.Tooltip&&(f["x:HRefScreenTip"]=Ee(e.l.Tooltip))),t["!merges"])for(var l=t["!merges"],c=0;c!=l.length;++c)l[c].s.c!=s.c||l[c].s.r!=s.r||(l[c].e.c>l[c].s.c&&(f["ss:MergeAcross"]=l[c].e.c-l[c].s.c),l[c].e.r>l[c].s.r&&(f["ss:MergeDown"]=l[c].e.r-l[c].s.r));var u="",v="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":u="Number",v=String(e.v);break;case"b":u="Boolean",v=e.v?"1":"0";break;case"e":u="Error",v=zr[e.v];break;case"d":u="DateTime",v=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||De[14]);break;case"s":u="String",v=_f(e.v||"");break}var x=Wt(n.cellXfs,e,n);f["ss:StyleID"]="s"+(21+x),f["ss:Index"]=s.c+1;var p=e.v!=null?v:"",h=e.t=="z"?"":''+p+"";return(e.c||[]).length>0&&(h+=m1(e.c)),Y("Cell",h,f)}function _1(e,r){var t='"}function T1(e,r,t,n){if(!e["!ref"])return"";var i=ye(e["!ref"]),a=e["!merges"]||[],s=0,f=[];e["!cols"]&&e["!cols"].forEach(function(g,A){ui(g);var k=!!g.width,y=yn(A,g),M={"ss:Index":A+1};k&&(M["ss:Width"]=dn(y.width)),g.hidden&&(M["ss:Hidden"]="1"),f.push(Y("Column",null,M))});for(var o=Array.isArray(e),l=i.s.r;l<=i.e.r;++l){for(var c=[_1(l,(e["!rows"]||[])[l])],u=i.s.c;u<=i.e.c;++u){var v=!1;for(s=0;s!=a.length;++s)if(!(a[s].s.c>u)&&!(a[s].s.r>l)&&!(a[s].e.c"),c.length>2&&f.push(c.join(""))}return f.join("")}function E1(e,r,t){var n=[],i=t.SheetNames[e],a=t.Sheets[i],s=a?v1(a,r,e,t):"";return s.length>0&&n.push(""+s+""),s=a?T1(a,r,e,t):"",s.length>0&&n.push(""+s+"
"),n.push(p1(a,r,e,t)),n.join("")}function w1(e,r){r||(r={}),e.SSF||(e.SSF=it(De)),e.SSF&&(En(),Tn(e.SSF),r.revssf=wn(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF,r.cellXfs=[],Wt(r.cellXfs,{},{revssf:{General:0}}));var t=[];t.push(h1(e,r)),t.push(u1()),t.push(""),t.push("");for(var n=0;n-1||pa.indexOf(i[a][0])>-1||i[a][1]!=null&&l.push(i[a]);n.length&&Se.utils.cfb_add(r,"/SummaryInformation",f0(n,Bn.SI,o,r0)),(t.length||l.length)&&Se.utils.cfb_add(r,"/DocumentSummaryInformation",f0(t,Bn.DSI,f,t0,l.length?l:null,Bn.UDI))}function A1(e,r){var t=r||{},n=Se.utils.cfb_new({root:"R"}),i="/Workbook";switch(t.bookType||"xls"){case"xls":t.bookType="biff8";case"xla":t.bookType||(t.bookType="xla");case"biff8":i="/Workbook",t.biff=8;break;case"biff5":i="/Book",t.biff=5;break;default:throw new Error("invalid type "+t.bookType+" for XLS CFB")}return Se.utils.cfb_add(n,i,Ja(e,t)),t.biff==8&&(e.Props||e.Custprops)&&S1(e,n),t.biff==8&&e.vbaraw&&Vo(n,Se.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),n}var F1={0:{f:Oh},1:{f:Mh},2:{f:ru},3:{f:zh},4:{f:Wh},5:{f:qh},6:{f:fu},7:{f:jh},8:{f:du},9:{f:xu},10:{f:hu},11:{f:uu},12:{f:bh},13:{f:iu},14:{f:$h},15:{f:Vh},16:{f:eu},17:{f:ou},18:{f:Jh},19:{f:li},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:Qu},40:{},42:{},43:{f:so},44:{f:io},45:{f:oo},46:{f:ho},47:{f:co},48:{},49:{f:Bf},50:{},51:{f:Oo},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:bl},62:{f:su},63:{f:Po},64:{f:Ru},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:At,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:yu},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:Ph},148:{f:Dh,p:16},151:{f:Tu},152:{},153:{f:Zu},154:{},155:{},156:{f:Yu},157:{},158:{},159:{T:1,f:jl},160:{T:-1},161:{T:1,f:rr},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:vu},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:yo},336:{T:-1},337:{f:Do,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:jn},357:{},358:{},359:{},360:{T:1},361:{},362:{f:Il},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:Eu},427:{f:wu},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:Au},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:Nh},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:gu},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:jn},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:Uo},633:{T:1},634:{T:-1},635:{T:1,f:Bo},636:{T:-1},637:{f:Hf},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:Gu},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:Du},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function J(e,r,t,n){var i=r;if(!isNaN(i)){var a=n||(t||[]).length||0,s=e.next(4);s.write_shift(2,i),s.write_shift(2,a),a>0&&ai(t)&&e.push(t)}}function y1(e,r,t,n){var i=(t||[]).length||0;if(i<=8224)return J(e,r,t,i);var a=r;if(!isNaN(a)){for(var s=t.parts||[],f=0,o=0,l=0;l+(s[f]||8224)<=8224;)l+=s[f]||8224,f++;var c=e.next(4);for(c.write_shift(2,a),c.write_shift(2,l),e.push(t.slice(o,o+l)),o+=l;o=0&&i<65536?J(e,2,Vl(t,n,i)):J(e,3,Hl(t,n,i));return;case"b":case"e":J(e,5,C1(t,n,r.v,r.t));return;case"s":case"str":J(e,4,O1(t,n,(r.v||"").slice(0,255)));return}J(e,1,$r(null,t,n))}function R1(e,r,t,n){var i=Array.isArray(r),a=ye(r["!ref"]||"A1"),s,f="",o=[];if(a.e.c>255||a.e.r>16383){if(n.WTF)throw new Error("Range "+(r["!ref"]||"A1")+" exceeds format limit A1:IV16384");a.e.c=Math.min(a.e.c,255),a.e.r=Math.min(a.e.c,16383),s=Pe(a)}for(var l=a.s.r;l<=a.e.r;++l){f=Ke(l);for(var c=a.s.c;c<=a.e.c;++c){l===a.s.r&&(o[c]=Je(c)),s=o[c]+f;var u=i?(r[l]||[])[c]:r[s];u&&k1(e,u,l,c)}}}function D1(e,r){for(var t=r||{},n=rt(),i=0,a=0;a255||x.e.r>=p){if(r.WTF)throw new Error("Range "+(a["!ref"]||"A1")+" exceeds format limit A1:IV16384");x.e.c=Math.min(x.e.c,255),x.e.r=Math.min(x.e.c,p-1)}J(n,2057,hi(t,16,r)),J(n,13,xt(1)),J(n,12,xt(100)),J(n,15,et(!0)),J(n,17,et(!1)),J(n,16,Jt(.001)),J(n,95,et(!0)),J(n,42,et(!1)),J(n,43,et(!1)),J(n,130,xt(1)),J(n,128,kl()),J(n,131,et(!1)),J(n,132,et(!1)),l&&B1(n,a["!cols"]),J(n,512,Ol(x,r)),l&&(a["!links"]=[]);for(var h=x.s.r;h<=x.e.r;++h){u=Ke(h);for(var g=x.s.c;g<=x.e.c;++g){h===x.s.r&&(v[g]=Je(g)),c=v[g]+u;var A=o?(a[h]||[])[g]:a[c];A&&(b1(n,A,h,g,r),l&&A.l&&a["!links"].push([c,A.l]))}}var k=f.CodeName||f.name||i;return l&&J(n,574,Sl((s.Views||[])[0])),l&&(a["!merges"]||[]).length&&J(n,229,Pl(a["!merges"])),l&&M1(n,a),J(n,442,Sa(k)),l&&P1(n,a),J(n,10),n.end()}function W1(e,r,t){var n=rt(),i=(e||{}).Workbook||{},a=i.Sheets||[],s=i.WBProps||{},f=t.biff==8,o=t.biff==5;if(J(n,2057,hi(e,5,t)),t.bookType=="xla"&&J(n,135),J(n,225,f?xt(1200):null),J(n,193,cl(2)),o&&J(n,191),o&&J(n,192),J(n,226),J(n,92,_l("SheetJS",t)),J(n,66,xt(f?1200:1252)),f&&J(n,353,xt(0)),f&&J(n,448),J(n,317,Wl(e.SheetNames.length)),f&&e.vbaraw&&J(n,211),f&&e.vbaraw){var l=s.CodeName||"ThisWorkbook";J(n,442,Sa(l))}J(n,156,xt(17)),J(n,25,et(!1)),J(n,18,et(!1)),J(n,19,xt(0)),f&&J(n,431,et(!1)),f&&J(n,444,xt(0)),J(n,61,wl()),J(n,64,et(!1)),J(n,141,xt(0)),J(n,34,et(Xu(e)=="true")),J(n,14,et(!0)),f&&J(n,439,et(!1)),J(n,218,xt(0)),I1(n,e,t),N1(n,e.SSF,t),L1(n,t),f&&J(n,352,et(!1));var c=n.end(),u=rt();f&&J(u,140,Bl()),f&&t.Strings&&y1(u,252,El(t.Strings)),J(u,10);var v=u.end(),x=rt(),p=0,h=0;for(h=0;h255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[t]+"' extends beyond column IV (255). Data may be lost.")}}var a=r||{};switch(a.biff||2){case 8:case 5:return H1(e,r);case 4:case 3:case 2:return D1(e,r)}throw new Error("invalid type "+a.bookType+" for BIFF")}function V1(e,r,t,n){for(var i=e["!merges"]||[],a=[],s=r.s.c;s<=r.e.c;++s){for(var f=0,o=0,l=0;lt||i[l].s.c>s)&&!(i[l].e.r1&&(x.rowspan=f),o>1&&(x.colspan=o),n.editable?v=''+v+"":u&&(x["data-t"]=u&&u.t||"z",u.v!=null&&(x["data-v"]=u.v),u.z!=null&&(x["data-z"]=u.z),u.l&&(u.l.Target||"#").charAt(0)!="#"&&(v=''+v+"")),x.id=(n.id||"sjs")+"-"+c,a.push(Y("td",v,x))}}var p="";return p+a.join("")+""}var G1='SheetJS Table Export',z1="";function X1(e,r,t){var n=[];return n.join("")+""}function Za(e,r){var t=r||{},n=t.header!=null?t.header:G1,i=t.footer!=null?t.footer:z1,a=[n],s=ct(e["!ref"]);t.dense=Array.isArray(e),a.push(X1(e,s,t));for(var f=s.s.r;f<=s.e.r;++f)a.push(V1(e,s,f,t));return a.push(""+i),a.join("")}function qa(e,r,t){var n=t||{},i=0,a=0;if(n.origin!=null)if(typeof n.origin=="number")i=n.origin;else{var s=typeof n.origin=="string"?We(n.origin):n.origin;i=s.r,a=s.c}var f=r.getElementsByTagName("tr"),o=Math.min(n.sheetRows||1e7,f.length),l={s:{r:0,c:0},e:{r:i,c:a}};if(e["!ref"]){var c=ct(e["!ref"]);l.s.r=Math.min(l.s.r,c.s.r),l.s.c=Math.min(l.s.c,c.s.c),l.e.r=Math.max(l.e.r,c.e.r),l.e.c=Math.max(l.e.c,c.e.c),i==-1&&(l.e.r=i=c.e.r+1)}var u=[],v=0,x=e["!rows"]||(e["!rows"]=[]),p=0,h=0,g=0,A=0,k=0,y=0;for(e["!cols"]||(e["!cols"]=[]);p1||y>1)&&u.push({s:{r:h+i,c:A+a},e:{r:h+i+(k||1)-1,c:A+a+(y||1)-1}});var b={t:"s",v:R},B=Z.getAttribute("data-t")||Z.getAttribute("t")||"";R!=null&&(R.length==0?b.t=B||"z":n.raw||R.trim().length==0||B=="s"||(R==="TRUE"?b={t:"b",v:!0}:R==="FALSE"?b={t:"b",v:!1}:isNaN(kt(R))?isNaN(Mr(R).getDate())||(b={t:"d",v:tt(R)},n.cellDates||(b={t:"n",v:nt(b.v)}),b.z=n.dateNF||De[14]):b={t:"n",v:kt(R)})),b.z===void 0&&V!=null&&(b.z=V);var W="",q=Z.getElementsByTagName("A");if(q&&q.length)for(var te=0;te=o&&(e["!fullref"]=Pe((l.e.r=f.length-p+h-1+i,l))),e}function Qa(e,r){var t=r||{},n=t.dense?[]:{};return qa(n,e,r)}function $1(e,r){return qt(Qa(e,r),r)}function p0(e){var r="",t=K1(e);return t&&(r=t(e).getPropertyValue("display")),r||(r=e.style&&e.style.display),r==="none"}function K1(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}var j1=(function(){var e=["",'',"",'',"",'',"",""].join(""),r=""+e+"";return function(){return Le+r}})(),m0=(function(){var e=function(a){return Ee(a).replace(/ +/g,function(s){return''}).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"")},r=` -`,t=` -`,n=function(a,s,f){var o=[];o.push(' -`);var l=0,c=0,u=ct(a["!ref"]||"A1"),v=a["!merges"]||[],x=0,p=Array.isArray(a);if(a["!cols"])for(c=0;c<=u.e.c;++c)o.push(" -`);var h="",g=a["!rows"]||[];for(l=0;l -`);for(;l<=u.e.r;++l){for(h=g[l]?' table:style-name="ro'+g[l].ods+'"':"",o.push(" -`),c=0;cc)&&!(v[x].s.r>l)&&!(v[x].e.c -`)}return o.push(` -`),o.join("")},i=function(a,s){a.push(` -`),a.push(` -`),a.push(` -`),a.push(` / -`),a.push(` -`),a.push(` / -`),a.push(` -`),a.push(` -`);var f=0;s.SheetNames.map(function(l){return s.Sheets[l]}).forEach(function(l){if(l&&l["!cols"]){for(var c=0;c -`),a.push(' -`),a.push(` -`),++f}}});var o=0;s.SheetNames.map(function(l){return s.Sheets[l]}).forEach(function(l){if(l&&l["!rows"]){for(var c=0;c -`),a.push(' -`),a.push(` -`),++o}}}),a.push(` -`),a.push(` -`),a.push(` -`),a.push(` -`),a.push(` -`)};return function(s,f){var o=[Le],l=br({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),c=br({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});f.bookType=="fods"?(o.push(" -`),o.push(da().replace(/office:document-meta/g,"office:meta"))):o.push(" -`),i(o,s),o.push(` -`),o.push(` -`);for(var u=0;u!=s.SheetNames.length;++u)o.push(n(s.Sheets[s.SheetNames[u]],s,u));return o.push(` -`),o.push(` -`),f.bookType=="fods"?o.push(""):o.push(""),o.join("")}})();function es(e,r){if(r.bookType=="fods")return m0(e,r);var t=ti(),n="",i=[],a=[];return n="mimetype",ue(t,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",ue(t,n,m0(e,r)),i.push([n,"text/xml"]),a.push([n,"ContentFile"]),n="styles.xml",ue(t,n,j1(e,r)),i.push([n,"text/xml"]),a.push([n,"StylesFile"]),n="meta.xml",ue(t,n,Le+da()),i.push([n,"text/xml"]),a.push([n,"MetadataFile"]),n="manifest.rdf",ue(t,n,al(a)),i.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",ue(t,n,nl(i)),t}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function mn(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Y1(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):gt(Br(e))}function J1(e,r){e:for(var t=0;t<=e.length-r.length;++t){for(var n=0;n>7,e[r+14]|=(n&127)<<1;for(var a=0;i>=1;++a,i/=256)e[r+a]=i&255;e[r+15]|=t>=0?0:128}function Ur(e,r){var t=r?r[0]:0,n=e[t]&127;e:if(e[t++]>=128&&(n|=(e[t]&127)<<7,e[t++]<128||(n|=(e[t]&127)<<14,e[t++]<128)||(n|=(e[t]&127)<<21,e[t++]<128)||(n+=(e[t]&127)*Math.pow(2,28),++t,e[t++]<128)||(n+=(e[t]&127)*Math.pow(2,35),++t,e[t++]<128)||(n+=(e[t]&127)*Math.pow(2,42),++t,e[t++]<128)))break e;return r&&(r[0]=t),n}function ge(e){var r=new Uint8Array(7);r[0]=e&127;var t=1;e:if(e>127){if(r[t-1]|=128,r[t]=e>>7&127,++t,e<=16383||(r[t-1]|=128,r[t]=e>>14&127,++t,e<=2097151)||(r[t-1]|=128,r[t]=e>>21&127,++t,e<=268435455)||(r[t-1]|=128,r[t]=e/256>>>21&127,++t,e<=34359738367)||(r[t-1]|=128,r[t]=e/65536>>>21&127,++t,e<=4398046511103))break e;r[t-1]|=128,r[t]=e/16777216>>>21&127,++t}return r.slice(0,t)}function vr(e){var r=0,t=e[r]&127;e:if(e[r++]>=128){if(t|=(e[r]&127)<<7,e[r++]<128||(t|=(e[r]&127)<<14,e[r++]<128)||(t|=(e[r]&127)<<21,e[r++]<128))break e;t|=(e[r]&127)<<28}return t}function Me(e){for(var r=[],t=[0];t[0]=128;);f=e.slice(o,t[0])}break;case 5:s=4,f=e.slice(t[0],t[0]+s),t[0]+=s;break;case 1:s=8,f=e.slice(t[0],t[0]+s),t[0]+=s;break;case 2:s=Ur(e,t),f=e.slice(t[0],t[0]+s),t[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(a," for Field ").concat(i," at offset ").concat(n))}var l={data:f,type:a};r[i]==null?r[i]=[l]:r[i].push(l)}return r}function Ge(e){var r=[];return e.forEach(function(t,n){t.forEach(function(i){i.data&&(r.push(ge(n*8+i.type)),i.type==2&&r.push(ge(i.data.length)),r.push(i.data))})}),Ut(r)}function pt(e){for(var r,t=[],n=[0];n[0]>>0>0),t.push(s)}return t}function ar(e){var r=[];return e.forEach(function(t){var n=[];n[1]=[{data:ge(t.id),type:0}],n[2]=[],t.merge!=null&&(n[3]=[{data:ge(+!!t.merge),type:0}]);var i=[];t.messages.forEach(function(s){i.push(s.data),s.meta[3]=[{type:0,data:ge(s.data.length)}],n[2].push({data:Ge(s.meta),type:2})});var a=Ge(n);r.push(ge(a.length)),r.push(a),i.forEach(function(s){return r.push(s)})}),Ut(r)}function q1(e,r){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var t=[0],n=Ur(r,t),i=[];t[0]>2;if(s<60)++s;else{var f=s-59;s=r[t[0]],f>1&&(s|=r[t[0]+1]<<8),f>2&&(s|=r[t[0]+2]<<16),f>3&&(s|=r[t[0]+3]<<24),s>>>=0,s++,t[0]+=f}i.push(r.slice(t[0],t[0]+s)),t[0]+=s;continue}else{var o=0,l=0;if(a==1?(l=(r[t[0]]>>2&7)+4,o=(r[t[0]++]&224)<<3,o|=r[t[0]++]):(l=(r[t[0]++]>>2)+1,a==2?(o=r[t[0]]|r[t[0]+1]<<8,t[0]+=2):(o=(r[t[0]]|r[t[0]+1]<<8|r[t[0]+2]<<16|r[t[0]+3]<<24)>>>0,t[0]+=4)),i=[Ut(i)],o==0)throw new Error("Invalid offset 0");if(o>i[0].length)throw new Error("Invalid offset beyond length");if(l>=o)for(i.push(i[0].slice(-o)),l-=o;l>=i[i.length-1].length;)i.push(i[i.length-1]),l-=i[i.length-1].length;i.push(i[0].slice(-o,-o+l))}}var c=Ut(i);if(c.length!=n)throw new Error("Unexpected length: ".concat(c.length," != ").concat(n));return c}function mt(e){for(var r=[],t=0;t>8&255]))):n<=16777216?(s+=4,r.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(s+=5,r.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),r.push(e.slice(t,t+n)),s+=n,i[0]=0,i[1]=s&255,i[2]=s>>8&255,i[3]=s>>16&255,t+=n}return Ut(r)}function bn(e,r){var t=new Uint8Array(32),n=mn(t),i=12,a=0;switch(t[0]=5,e.t){case"n":t[1]=2,Z1(t,i,e.v),a|=1,i+=16;break;case"b":t[1]=6,n.setFloat64(i,e.v?1:0,!0),a|=2,i+=8;break;case"s":if(r.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));t[1]=3,n.setUint32(i,r.indexOf(e.v),!0),a|=8,i+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,a,!0),t.slice(0,i)}function Un(e,r){var t=new Uint8Array(32),n=mn(t),i=12,a=0;switch(t[0]=3,e.t){case"n":t[2]=2,n.setFloat64(i,e.v,!0),a|=32,i+=8;break;case"b":t[2]=6,n.setFloat64(i,e.v?1:0,!0),a|=32,i+=8;break;case"s":if(r.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));t[2]=3,n.setUint32(i,r.indexOf(e.v),!0),a|=16,i+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,a,!0),t.slice(0,i)}function Pt(e){var r=Me(e);return Ur(r[1][0].data)}function Q1(e,r,t){var n,i,a,s;if(!((n=e[6])!=null&&n[0])||!((i=e[7])!=null&&i[0]))throw"Mutation only works on post-BNC storages!";var f=((s=(a=e[8])==null?void 0:a[0])==null?void 0:s.data)&&vr(e[8][0].data)>0||!1;if(f)throw"Math only works with normal offsets";for(var o=0,l=mn(e[7][0].data),c=0,u=[],v=mn(e[4][0].data),x=0,p=[],h=0;h1&&console.error("The Numbers writer currently writes only the first table");var n=ct(t["!ref"]);n.s.r=n.s.c=0;var i=!1;n.e.c>9&&(i=!0,n.e.c=9),n.e.r>49&&(i=!0,n.e.r=49),i&&console.error("The Numbers writer is currently limited to ".concat(Pe(n)));var a=gn(t,{range:n,header:1}),s=["~Sh33tJ5~"];a.forEach(function(L){return L.forEach(function(O){typeof O=="string"&&s.push(O)})});var f={},o=[],l=Se.read(r.numbers,{type:"base64"});l.FileIndex.map(function(L,O){return[L,l.FullPaths[O]]}).forEach(function(L){var O=L[0],F=L[1];if(O.type==2&&O.name.match(/\.iwa/)){var z=O.content,fe=mt(z),oe=pt(fe);oe.forEach(function(se){o.push(se.id),f[se.id]={deps:[],location:F,type:vr(se.messages[0].meta[1][0].data)}})}}),o.sort(function(L,O){return L-O});var c=o.filter(function(L){return L>1}).map(function(L){return[L,ge(L)]});l.FileIndex.map(function(L,O){return[L,l.FullPaths[O]]}).forEach(function(L){var O=L[0];if(L[1],!!O.name.match(/\.iwa/)){var F=pt(mt(O.content));F.forEach(function(z){z.messages.forEach(function(fe){c.forEach(function(oe){z.messages.some(function(se){return vr(se.meta[1][0].data)!=11006&&J1(se.data,oe[1])})&&f[oe[0]].deps.push(z.id)})})})}});for(var u=Se.find(l,f[1].location),v=pt(mt(u.content)),x,p=0;p-1,i=ha();mi(r=r||{});var a=ti(),s="",f=0;if(r.cellXfs=[],Wt(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",ue(a,s,va(e.Props,r)),i.coreprops.push(s),Te(r.rels,2,s,ve.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var o=[],l=0;l0&&(s="docProps/custom.xml",ue(a,s,ga(e.Custprops)),i.custprops.push(s),Te(r.rels,4,s,ve.CUST_PROPS)),f=1;f<=e.SheetNames.length;++f){var c={"!id":{}},u=e.Sheets[e.SheetNames[f-1]],v=(u||{})["!type"]||"sheet";switch(v){case"chart":default:s="xl/worksheets/sheet"+f+"."+t,ue(a,s,s1(f-1,s,r,e,c)),i.sheets.push(s),Te(r.wbrels,-1,"worksheets/sheet"+f+"."+t,ve.WS[0])}if(u){var x=u["!comments"],p=!1,h="";x&&x.length>0&&(h="xl/comments"+f+"."+t,ue(a,h,o1(x,h)),i.comments.push(h),Te(c,-1,"../comments"+f+"."+t,ve.CMNT),p=!0),u["!legacy"]&&p&&ue(a,"xl/drawings/vmlDrawing"+f+".vml",Pa(f,u["!comments"])),delete u["!comments"],delete u["!legacy"]}c["!id"].rId1&&ue(a,xa(s),xr(c))}return r.Strings!=null&&r.Strings.length>0&&(s="xl/sharedStrings."+t,ue(a,s,l1(r.Strings,s,r)),i.strs.push(s),Te(r.wbrels,-1,"sharedStrings."+t,ve.SST)),s="xl/workbook."+t,ue(a,s,a1(e,s)),i.workbooks.push(s),Te(r.rels,1,s,ve.WB),s="xl/theme/theme1.xml",ue(a,s,Ia(e.Themes,r)),i.themes.push(s),Te(r.wbrels,-1,"theme/theme1.xml",ve.THEME),s="xl/styles."+t,ue(a,s,f1(e,s,r)),i.styles.push(s),Te(r.wbrels,-1,"styles."+t,ve.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",ue(a,s,e.vbaraw),i.vba.push(s),Te(r.wbrels,-1,"vbaProject.bin",ve.VBA)),s="xl/metadata."+t,ue(a,s,c1(s)),i.metadata.push(s),Te(r.wbrels,-1,"metadata."+t,ve.XLMETA),ue(a,"[Content_Types].xml",ua(i,r)),ue(a,"_rels/.rels",xr(r.rels)),ue(a,"xl/_rels/workbook."+t+".rels",xr(r.wbrels)),delete r.revssf,delete r.ssf,a}function ix(e,r){or=1024,e&&!e.SSF&&(e.SSF=it(De)),e&&e.SSF&&(En(),Tn(e.SSF),r.revssf=wn(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.rels={},r.wbrels={},r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,Dr?r.revStrings=new Map:(r.revStrings={},r.revStrings.foo=[],delete r.revStrings.foo);var t="xml",n=Ma.indexOf(r.bookType)>-1,i=ha();mi(r=r||{});var a=ti(),s="",f=0;if(r.cellXfs=[],Wt(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",ue(a,s,va(e.Props,r)),i.coreprops.push(s),Te(r.rels,2,s,ve.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var o=[],l=0;l0&&(s="docProps/custom.xml",ue(a,s,ga(e.Custprops)),i.custprops.push(s),Te(r.rels,4,s,ve.CUST_PROPS));var c=["SheetJ5"];for(r.tcid=0,f=1;f<=e.SheetNames.length;++f){var u={"!id":{}},v=e.Sheets[e.SheetNames[f-1]],x=(v||{})["!type"]||"sheet";switch(x){case"chart":default:s="xl/worksheets/sheet"+f+"."+t,ue(a,s,Xa(f-1,r,e,u)),i.sheets.push(s),Te(r.wbrels,-1,"worksheets/sheet"+f+"."+t,ve.WS[0])}if(v){var p=v["!comments"],h=!1,g="";if(p&&p.length>0){var A=!1;p.forEach(function(k){k[1].forEach(function(y){y.T==!0&&(A=!0)})}),A&&(g="xl/threadedComments/threadedComment"+f+"."+t,ue(a,g,Lo(p,c,r)),i.threadedcomments.push(g),Te(u,-1,"../threadedComments/threadedComment"+f+"."+t,ve.TCMNT)),g="xl/comments"+f+"."+t,ue(a,g,La(p)),i.comments.push(g),Te(u,-1,"../comments"+f+"."+t,ve.CMNT),h=!0}v["!legacy"]&&h&&ue(a,"xl/drawings/vmlDrawing"+f+".vml",Pa(f,v["!comments"])),delete v["!comments"],delete v["!legacy"]}u["!id"].rId1&&ue(a,xa(s),xr(u))}return r.Strings!=null&&r.Strings.length>0&&(s="xl/sharedStrings."+t,ue(a,s,ya(r.Strings,r)),i.strs.push(s),Te(r.wbrels,-1,"sharedStrings."+t,ve.SST)),s="xl/workbook."+t,ue(a,s,ja(e)),i.workbooks.push(s),Te(r.rels,1,s,ve.WB),s="xl/theme/theme1.xml",ue(a,s,Ia(e.Themes,r)),i.themes.push(s),Te(r.wbrels,-1,"theme/theme1.xml",ve.THEME),s="xl/styles."+t,ue(a,s,Ra(e,r)),i.styles.push(s),Te(r.wbrels,-1,"styles."+t,ve.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",ue(a,s,e.vbaraw),i.vba.push(s),Te(r.wbrels,-1,"vbaProject.bin",ve.VBA)),s="xl/metadata."+t,ue(a,s,Na()),i.metadata.push(s),Te(r.wbrels,-1,"metadata."+t,ve.XLMETA),c.length>1&&(s="xl/persons/person.xml",ue(a,s,Mo(c)),i.people.push(s),Te(r.wbrels,-1,"persons/person.xml",ve.PEOPLE)),ue(a,"[Content_Types].xml",ua(i,r)),ue(a,"_rels/.rels",xr(r.rels)),ue(a,"xl/_rels/workbook."+t+".rels",xr(r.wbrels)),delete r.revssf,delete r.ssf,a}function ax(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":t=Dt(e.slice(0,12));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"))}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function ts(e,r){switch(r.type){case"base64":case"binary":break;case"buffer":case"array":r.type="";break;case"file":return Vr(r.file,Se.write(e,{type:pe?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type)}return Se.write(e,r)}function sx(e,r){var t=it(r||{}),n=rx(e,t);return fx(n,t)}function fx(e,r){var t={},n=pe?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(r.compression&&(t.compression="DEFLATE"),r.password)t.type=n;else switch(r.type){case"base64":t.type="base64";break;case"binary":t.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":case"file":t.type=n;break;default:throw new Error("Unrecognized type "+r.type)}var i=e.FullPaths?Se.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[t.type]||t.type,compression:!!r.compression}):e.generate(t);if(typeof Deno<"u"&&typeof i=="string"){if(r.type=="binary"||r.type=="base64")return i;i=new Uint8Array(_n(i))}return r.password&&typeof encrypt_agile<"u"?ts(encrypt_agile(i,r.password),r):r.type==="file"?Vr(r.file,i):r.type=="string"?Cr(i):i}function lx(e,r){var t=r||{},n=A1(e,t);return ts(n,t)}function St(e,r,t){t||(t="");var n=t+e;switch(r.type){case"base64":return Lr(Br(n));case"binary":return Br(n);case"string":return e;case"file":return Vr(r.file,n,"utf8");case"buffer":return pe?Nt(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):St(n,{type:"binary"}).split("").map(function(i){return i.charCodeAt(0)})}throw new Error("Unrecognized type "+r.type)}function ox(e,r){switch(r.type){case"base64":return Lr(e);case"binary":return e;case"string":return e;case"file":return Vr(r.file,e,"binary");case"buffer":return pe?Nt(e,"binary"):e.split("").map(function(t){return t.charCodeAt(0)})}throw new Error("Unrecognized type "+r.type)}function rn(e,r){switch(r.type){case"string":case"base64":case"binary":for(var t="",n=0;n0&&(i=0);var u=Ke(o.s.r),v=[],x=[],p=0,h=0,g=Array.isArray(e),A=o.s.r,k=0,y={};g&&!e[A]&&(e[A]=[]);var M=l.skipHidden&&e["!cols"]||[],K=l.skipHidden&&e["!rows"]||[];for(k=o.s.c;k<=o.e.c;++k)if(!(M[k]||{}).hidden)switch(v[k]=Je(k),t=g?e[A][k]:e[v[k]+u],n){case 1:a[k]=k-o.s.c;break;case 2:a[k]=v[k];break;case 3:a[k]=l.header[k-o.s.c];break;default:if(t==null&&(t={w:"__EMPTY",t:"s"}),f=s=It(t,null,l),h=y[s]||0,!h)y[s]=1;else{do f=s+"_"+h++;while(y[f]);y[s]=h,y[f]=1}a[k]=f}for(A=o.s.r+i;A<=o.e.r;++A)if(!(K[A]||{}).hidden){var Z=hx(e,o,A,v,n,a,g,l);(Z.isempty===!1||(n===1?l.blankrows!==!1:l.blankrows))&&(x[p++]=Z.row)}return x.length=p,x}var g0=/"/g;function ux(e,r,t,n,i,a,s,f){for(var o=!0,l=[],c="",u=Ke(t),v=r.s.c;v<=r.e.c;++v)if(n[v]){var x=f.dense?(e[t]||[])[v]:e[n[v]+u];if(x==null)c="";else if(x.v!=null){o=!1,c=""+(f.rawNumbers&&x.t=="n"?x.v:It(x,null,f));for(var p=0,h=0;p!==c.length;++p)if((h=c.charCodeAt(p))===i||h===a||h===34||f.forceQuotes){c='"'+c.replace(g0,'""')+'"';break}c=="ID"&&(c='"ID"')}else x.f!=null&&!x.F?(o=!1,c="="+x.f,c.indexOf(",")>=0&&(c='"'+c.replace(g0,'""')+'"')):c="";l.push(c)}return f.blankrows===!1&&o?null:l.join(s)}function gi(e,r){var t=[],n=r??{};if(e==null||e["!ref"]==null)return"";var i=ye(e["!ref"]),a=n.FS!==void 0?n.FS:",",s=a.charCodeAt(0),f=n.RS!==void 0?n.RS:` -`,o=f.charCodeAt(0),l=new RegExp((a=="|"?"\\|":a)+"+$"),c="",u=[];n.dense=Array.isArray(e);for(var v=n.skipHidden&&e["!cols"]||[],x=n.skipHidden&&e["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(v[p]||{}).hidden||(u[p]=Je(p));for(var h=0,g=i.s.r;g<=i.e.r;++g)(x[g]||{}).hidden||(c=ux(e,i,g,u,s,o,a,n),c!=null&&(n.strip&&(c=c.replace(l,"")),(c||n.blankrows!==!1)&&t.push((h++?f:"")+c)));return delete n.dense,t.join("")}function ns(e,r){r||(r={}),r.FS=" ",r.RS=` -`;var t=gi(e,r);return t}function xx(e){var r="",t,n="";if(e==null||e["!ref"]==null)return[];var i=ye(e["!ref"]),a="",s=[],f,o=[],l=Array.isArray(e);for(f=i.s.c;f<=i.e.c;++f)s[f]=Je(f);for(var c=i.s.r;c<=i.e.r;++c)for(a=Ke(c),f=i.s.c;f<=i.e.c;++f)if(r=s[f]+a,t=l?(e[c]||[])[f]:e[r],n="",t!==void 0){if(t.F!=null){if(r=t.F,!t.f)continue;n=t.f,r.indexOf(":")==-1&&(r=r+":"+r)}if(t.f!=null)n=t.f;else{if(t.t=="z")continue;if(t.t=="n"&&t.v!=null)n=""+t.v;else if(t.t=="b")n=t.v?"TRUE":"FALSE";else if(t.w!==void 0)n="'"+t.w;else{if(t.v===void 0)continue;t.t=="s"?n="'"+t.v:n=""+t.v}}o[o.length]=r+"="+n}return o}function is(e,r,t){var n=t||{},i=+!n.skipHeader,a=e||{},s=0,f=0;if(a&&n.origin!=null)if(typeof n.origin=="number")s=n.origin;else{var o=typeof n.origin=="string"?We(n.origin):n.origin;s=o.r,f=o.c}var l,c={s:{c:0,r:0},e:{c:f,r:s+r.length-1+i}};if(a["!ref"]){var u=ye(a["!ref"]);c.e.c=Math.max(c.e.c,u.e.c),c.e.r=Math.max(c.e.r,u.e.r),s==-1&&(s=u.e.r+1,c.e.r=s+r.length-1+i)}else s==-1&&(s=0,c.e.r=r.length-1+i);var v=n.header||[],x=0;r.forEach(function(h,g){je(h).forEach(function(A){(x=v.indexOf(A))==-1&&(v[x=v.length]=A);var k=h[A],y="z",M="",K=we({c:f+x,r:s+g+i});l=Wr(a,K),k&&typeof k=="object"&&!(k instanceof Date)?a[K]=k:(typeof k=="number"?y="n":typeof k=="boolean"?y="b":typeof k=="string"?y="s":k instanceof Date?(y="d",n.cellDates||(y="n",k=nt(k)),M=n.dateNF||De[14]):k===null&&n.nullError&&(y="e",k=0),l?(l.t=y,l.v=k,delete l.w,delete l.R,M&&(l.z=M)):a[K]=l={t:y,v:k},M&&(l.z=M))})}),c.e.c=Math.max(c.e.c,f+v.length-1);var p=Ke(s);if(i)for(x=0;x=0&&e.SheetNames.length>r)return r;throw new Error("Cannot find sheet # "+r)}else if(typeof r=="string"){var t=e.SheetNames.indexOf(r);if(t>-1)return t;throw new Error("Cannot find sheet name |"+r+"|")}else throw new Error("Cannot find sheet |"+r+"|")}function px(){return{SheetNames:[],Sheets:{}}}function mx(e,r,t,n){var i=1;if(!t)for(;i<=65535&&e.SheetNames.indexOf(t="Sheet"+i)!=-1;++i,t=void 0);if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(t)>=0){var a=t.match(/(^.*?)(\d+)$/);i=a&&+a[2]||0;var s=a&&a[1]||t;for(++i;i<=65535&&e.SheetNames.indexOf(t=s+i)!=-1;++i);}if(Ka(t),e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");return e.SheetNames.push(t),e.Sheets[t]=r,t}function gx(e,r,t){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=vx(e,r);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),t){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+t)}e.Workbook.Sheets[n].Hidden=t}function _x(e,r){return e.z=r,e}function as(e,r,t){return r?(e.l={Target:r},t&&(e.l.Tooltip=t)):delete e.l,e}function Tx(e,r,t){return as(e,"#"+r,t)}function Ex(e,r,t){e.c||(e.c=[]),e.c.push({t:r,a:t||"SheetJS"})}function wx(e,r,t,n){for(var i=typeof r!="string"?r:ye(r),a=typeof r=="string"?r:Pe(r),s=i.s.r;s<=i.e.r;++s)for(var f=i.s.c;f<=i.e.c;++f){var o=Wr(e,s,f);o.t="n",o.F=a,delete o.v,s==i.s.r&&f==i.s.c&&(o.f=t,n&&(o.D=!0))}return e}var od={encode_col:Je,encode_row:Ke,encode_cell:we,encode_range:Pe,decode_col:fi,decode_row:si,split_cell:Mf,decode_cell:We,decode_range:ct,format_cell:It,sheet_add_aoa:aa,sheet_add_json:is,sheet_add_dom:qa,aoa_to_sheet:gr,json_to_sheet:dx,table_to_sheet:Qa,table_to_book:$1,sheet_to_csv:gi,sheet_to_txt:ns,sheet_to_json:gn,sheet_to_html:Za,sheet_to_formulae:xx,sheet_to_row_object_array:gn,sheet_get_cell:Wr,book_new:px,book_append_sheet:mx,book_set_sheet_visibility:gx,cell_set_number_format:_x,cell_set_hyperlink:as,cell_set_internal_link:Tx,cell_add_comment:Ex,sheet_set_array_formula:wx,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};const Wn=jt(null);function _i(){async function e(r,t){const n=r==null?"":String(r);await navigator.clipboard.writeText(n),Wn.value=t??null,Gn.show("Copied to clipboard",1500),setTimeout(()=>{Wn.value=null},1500)}return{copiedKey:Wn,copy:e}}const Ir=jt({visible:!1,x:0,y:0,payload:null});function Sx(e,r){e.preventDefault(),Ir.value={visible:!0,x:e.clientX,y:e.clientY,payload:r}}function Hn(){Ir.value={visible:!1,x:0,y:0,payload:null}}function ss(){function e(){Ir.value.visible&&Hn()}function r(t){t.key==="Escape"&&Ir.value.visible&&Hn()}return Cs(()=>{document.addEventListener("click",e),document.addEventListener("keydown",r)}),Os(()=>{document.removeEventListener("click",e),document.removeEventListener("keydown",r)}),{state:Ir,open:Sx,close:Hn}}const Vn=ks(new Map);function Ti(e){return`hana-cli-col-layout-${e}`}function Ax(e){try{const r=localStorage.getItem(Ti(e));return r?JSON.parse(r):null}catch{return null}}function _0(e,r){localStorage.setItem(Ti(e),JSON.stringify(r))}function fs(e,r){if(!Vn.has(e)){const p=Ax(e);Vn.set(e,p||{order:[...r],widths:{}})}const t=Vn.get(e);if(t.order.length===0||!r.some(p=>t.order.includes(p)))t.order=[...r],t.widths={};else{const p=r.filter(h=>!t.order.includes(h));p.length>0&&t.order.push(...p)}const n=jt(!1);let i="",a=0,s=0;function f(p,h,g){n.value=!0,i=p,a=h,s=g}function o(p){const h=p-a,g=Math.max(50,s+h);return t.widths[i]=g,g}function l(){n.value=!1,_0(e,t)}function c(p,h){const g=t.order.indexOf(p),A=t.order.indexOf(h);g===-1||A===-1||g===A||(t.order.splice(g,1),t.order.splice(A,0,p),_0(e,t))}function u(p){return t.widths[p]}function v(){return t.order}function x(){t.order=[...r],t.widths={},localStorage.removeItem(Ti(e))}return{resizing:n,layout:t,startResize:f,onResize:o,endResize:l,reorderColumn:c,getColumnWidth:u,getOrderedKeys:v,resetLayout:x}}function ls(e){const r=jt(-1),t=jt(-1),n=dt(()=>r.value>=0&&t.value>=0);function i(o=0,l=0){r.value=Math.max(0,Math.min(o,e.rowCount.value-1)),t.value=Math.max(0,Math.min(l,e.colCount.value-1))}function a(){r.value=-1,t.value=-1}function s(o){var v,x,p,h,g,A;if(!n.value)return!1;const{rowCount:l,colCount:c}=e;let u=!0;switch(o.key){case"ArrowDown":r.value0&&(r.value--,(x=e.scrollToRow)==null||x.call(e,r.value));break;case"ArrowRight":t.value0&&t.value--;break;case"Home":o.ctrlKey&&(r.value=0,(p=e.scrollToRow)==null||p.call(e,0)),t.value=0;break;case"End":o.ctrlKey&&(r.value=l.value-1,(h=e.scrollToRow)==null||h.call(e,r.value)),t.value=c.value-1;break;case"Enter":(g=e.onCopy)==null||g.call(e,r.value,t.value);break;case"Escape":a(),(A=e.onEscape)==null||A.call(e);break;default:u=!1}return u&&(o.preventDefault(),o.stopPropagation()),u}function f(o,l){return r.value===o&&t.value===l}return{focusedRow:r,focusedCol:t,active:n,activate:i,deactivate:a,handleKeydown:s,isFocused:f}}const Fx=Jn({__name:"CellContextMenu",props:{state:{}},emits:["close","filter"],setup(e,{emit:r}){const t=e,n=r,{copy:i}=_i(),a=dt(()=>({left:`${t.state.x}px`,top:`${t.state.y}px`}));function s(){t.state.payload&&i(t.state.payload.value,"ctx-value"),n("close")}function f(){if(t.state.payload){const c=JSON.stringify(t.state.payload.row,null,2);navigator.clipboard.writeText(c),Gn.show("Row copied as JSON",1500)}n("close")}function o(){if(!t.state.payload)return;const{row:c,columns:u}=t.state.payload,v=u.map(h=>`"${h.key}"`).join(", "),x=u.map(h=>{const g=c[h.key];return g==null?"NULL":typeof g=="number"?String(g):`'${String(g).replace(/'/g,"''")}'`}).join(", "),p=`INSERT INTO "TABLE_NAME" (${v}) VALUES (${x});`;navigator.clipboard.writeText(p),Gn.show("Copied as INSERT statement",1500),n("close")}function l(){t.state.payload&&n("filter",String(t.state.payload.value??"")),n("close")}return(c,u)=>(Ne(),A0(Rs,{to:"body"},[e.state.visible?(Ne(),be("div",{key:0,class:"context-menu",style:$t(a.value),onClick:u[0]||(u[0]=Nr(()=>{},["stop"])),onContextmenu:u[1]||(u[1]=Nr(()=>{},["prevent"]))},[_e("div",{class:"menu-item",onClick:s},[...u[2]||(u[2]=[_e("span",{class:"menu-icon"},"📋",-1),_e("span",null,"Copy Value",-1)])]),_e("div",{class:"menu-item",onClick:f},[...u[3]||(u[3]=[_e("span",{class:"menu-icon"},"{ }",-1),_e("span",null,"Copy Row as JSON",-1)])]),_e("div",{class:"menu-item",onClick:o},[...u[4]||(u[4]=[_e("span",{class:"menu-icon"},"SQL",-1),_e("span",null,"Copy Row as INSERT",-1)])]),u[6]||(u[6]=_e("div",{class:"menu-divider"},null,-1)),_e("div",{class:"menu-item",onClick:l},[...u[5]||(u[5]=[_e("span",{class:"menu-icon"},"🔍",-1),_e("span",null,"Filter by this value",-1)])])],36)):zn("",!0)]))}}),os=Zn(Fx,[["__scopeId","data-v-b3678043"]]);function fr(e,r,t){let n=t.initialDeps??[],i,a=!0;function s(){var f,o,l;let c;t.key&&((f=t.debug)!=null&&f.call(t))&&(c=Date.now());const u=e();if(!(u.length!==n.length||u.some((p,h)=>n[h]!==p)))return i;n=u;let x;if(t.key&&((o=t.debug)!=null&&o.call(t))&&(x=Date.now()),i=r(...u),t.key&&((l=t.debug)!=null&&l.call(t))){const p=Math.round((Date.now()-c)*100)/100,h=Math.round((Date.now()-x)*100)/100,g=h/16,A=(k,y)=>{for(k=String(k);k.length{n=f},s}function T0(e,r){if(e===void 0)throw new Error("Unexpected undefined");return e}const yx=(e,r)=>Math.abs(e-r)<1.01,Cx=(e,r,t)=>{let n;return function(...i){e.clearTimeout(n),n=e.setTimeout(()=>r.apply(this,i),t)}},E0=e=>{const{offsetWidth:r,offsetHeight:t}=e;return{width:r,height:t}},Ox=e=>e,kx=e=>{const r=Math.max(e.startIndex-e.overscan,0),t=Math.min(e.endIndex+e.overscan,e.count-1),n=[];for(let i=r;i<=t;i++)n.push(i);return n},Rx=(e,r)=>{const t=e.scrollElement;if(!t)return;const n=e.targetWindow;if(!n)return;const i=s=>{const{width:f,height:o}=s;r({width:Math.round(f),height:Math.round(o)})};if(i(E0(t)),!n.ResizeObserver)return()=>{};const a=new n.ResizeObserver(s=>{const f=()=>{const o=s[0];if(o!=null&&o.borderBoxSize){const l=o.borderBoxSize[0];if(l){i({width:l.inlineSize,height:l.blockSize});return}}i(E0(t))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(f):f()});return a.observe(t,{box:"border-box"}),()=>{a.unobserve(t)}},w0={passive:!0},S0=typeof window>"u"?!0:"onscrollend"in window,Dx=(e,r)=>{const t=e.scrollElement;if(!t)return;const n=e.targetWindow;if(!n)return;let i=0;const a=e.options.useScrollendEvent&&S0?()=>{}:Cx(n,()=>{r(i,!1)},e.options.isScrollingResetDelay),s=c=>()=>{const{horizontal:u,isRtl:v}=e.options;i=u?t.scrollLeft*(v&&-1||1):t.scrollTop,a(),r(i,c)},f=s(!0),o=s(!1);t.addEventListener("scroll",f,w0);const l=e.options.useScrollendEvent&&S0;return l&&t.addEventListener("scrollend",o,w0),()=>{t.removeEventListener("scroll",f),l&&t.removeEventListener("scrollend",o)}},Ix=(e,r,t)=>{if(r!=null&&r.borderBoxSize){const n=r.borderBoxSize[0];if(n)return Math.round(n[t.options.horizontal?"inlineSize":"blockSize"])}return e[t.options.horizontal?"offsetWidth":"offsetHeight"]},Nx=(e,{adjustments:r=0,behavior:t},n)=>{var i,a;const s=e+r;(a=(i=n.scrollElement)==null?void 0:i.scrollTo)==null||a.call(i,{[n.options.horizontal?"left":"top"]:s,behavior:t})};class Px{constructor(r){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.now=()=>{var t,n,i;return((i=(n=(t=this.targetWindow)==null?void 0:t.performance)==null?void 0:n.now)==null?void 0:i.call(n))??Date.now()},this.observer=(()=>{let t=null;const n=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(i=>{i.forEach(a=>{const s=()=>{const f=a.target,o=this.indexFromElement(f);if(!f.isConnected){this.observer.unobserve(f);return}this.shouldMeasureDuringScroll(o)&&this.resizeItem(o,this.options.measureElement(f,a,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(s):s()})}));return{disconnect:()=>{var i;(i=n())==null||i.disconnect(),t=null},observe:i=>{var a;return(a=n())==null?void 0:a.observe(i,{box:"border-box"})},unobserve:i=>{var a;return(a=n())==null?void 0:a.unobserve(i)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([n,i])=>{typeof i>"u"&&delete t[n]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:Ox,rangeExtractor:kx,onChange:()=>{},measureElement:Ix,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,laneAssignmentMode:"estimate",...t}},this.notify=t=>{var n,i;(i=(n=this.options).onChange)==null||i.call(n,this,t)},this.maybeNotify=fr(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(t=>t()),this.unsubs=[],this.observer.disconnect(),this.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var t;const n=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==n){if(this.cleanup(),!n){this.maybeNotify();return}this.scrollElement=n,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((t=this.scrollElement)==null?void 0:t.window)??null,this.elementsCache.forEach(i=>{this.observer.observe(i)}),this.unsubs.push(this.options.observeElementRect(this,i=>{this.scrollRect=i,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(i,a)=>{this.scrollAdjustments=0,this.scrollDirection=a?this.getScrollOffset()this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(t,n)=>{const i=new Map,a=new Map;for(let s=n-1;s>=0;s--){const f=t[s];if(i.has(f.lane))continue;const o=a.get(f.lane);if(o==null||f.end>o.end?a.set(f.lane,f):f.ends.end===f.end?s.index-f.index:s.end-f.end)[0]:void 0},this.getMeasurementOptions=fr(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes,this.options.laneAssignmentMode],(t,n,i,a,s,f,o)=>(this.prevLanes!==void 0&&this.prevLanes!==f&&(this.lanesChangedFlag=!0),this.prevLanes=f,this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:n,scrollMargin:i,getItemKey:a,enabled:s,lanes:f,laneAssignmentMode:o}),{key:!1}),this.getMeasurements=fr(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:n,scrollMargin:i,getItemKey:a,enabled:s,lanes:f,laneAssignmentMode:o},l)=>{if(!s)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>t)for(const x of this.laneAssignments.keys())x>=t&&this.laneAssignments.delete(x);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(x=>{this.itemSizeCache.set(x.key,x.size)}));const c=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===t&&(this.lanesSettling=!1);const u=this.measurementsCache.slice(0,c),v=new Array(f).fill(void 0);for(let x=0;x1){g=h;const Z=v[g],R=Z!==void 0?u[Z]:void 0;A=R?R.end+this.options.gap:n+i}else{const Z=this.options.lanes===1?u[x-1]:this.getFurthestMeasurement(u,x);A=Z?Z.end+this.options.gap:n+i,g=Z?Z.lane:x%this.options.lanes,this.options.lanes>1&&k&&this.laneAssignments.set(x,g)}const y=l.get(p),M=typeof y=="number"?y:this.options.estimateSize(x),K=A+M;u[x]={index:x,start:A,size:M,end:K,key:p,lane:g},v[g]=x}return this.measurementsCache=u,u},{key:!1,debug:()=>this.options.debug}),this.calculateRange=fr(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(t,n,i,a)=>this.range=t.length>0&&n>0?Lx({measurements:t,outerSize:n,scrollOffset:i,lanes:a}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=fr(()=>{let t=null,n=null;const i=this.calculateRange();return i&&(t=i.startIndex,n=i.endIndex),this.maybeNotify.updateDeps([this.isScrolling,t,n]),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,n]},(t,n,i,a,s)=>a===null||s===null?[]:t({startIndex:a,endIndex:s,overscan:n,count:i}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{const n=this.options.indexAttribute,i=t.getAttribute(n);return i?parseInt(i,10):(console.warn(`Missing attribute name '${n}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=t=>{var n;if(!this.scrollState||this.scrollState.behavior!=="smooth")return!0;const i=this.scrollState.index??((n=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))==null?void 0:n.index);if(i!==void 0&&this.range){const a=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),s=Math.max(0,i-a),f=Math.min(this.options.count-1,i+a);return t>=s&&t<=f}return!0},this.measureElement=t=>{if(!t){this.elementsCache.forEach((s,f)=>{s.isConnected||(this.observer.unobserve(s),this.elementsCache.delete(f))});return}const n=this.indexFromElement(t),i=this.options.getItemKey(n),a=this.elementsCache.get(i);a!==t&&(a&&this.observer.unobserve(a),this.observer.observe(t),this.elementsCache.set(i,t)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(n)&&this.resizeItem(n,this.options.measureElement(t,void 0,this))},this.resizeItem=(t,n)=>{var i;const a=this.measurementsCache[t];if(!a)return;const s=this.itemSizeCache.get(a.key)??a.size,f=n-s;f!==0&&(((i=this.scrollState)==null?void 0:i.behavior)!=="smooth"&&(this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(a,f,this):a.start[this.getVirtualIndexes(),this.getMeasurements()],(t,n)=>{const i=[];for(let a=0,s=t.length;athis.options.debug}),this.getVirtualItemForOffset=t=>{const n=this.getMeasurements();if(n.length!==0)return T0(n[cs(0,n.length-1,i=>T0(n[i]).start,t)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{const t=this.scrollElement.document.documentElement;return this.options.horizontal?t.scrollWidth-this.scrollElement.innerWidth:t.scrollHeight-this.scrollElement.innerHeight}},this.getOffsetForAlignment=(t,n,i=0)=>{if(!this.scrollElement)return 0;const a=this.getSize(),s=this.getScrollOffset();n==="auto"&&(n=t>=s+a?"end":"start"),n==="center"?t+=(i-a)/2:n==="end"&&(t-=a);const f=this.getMaxScrollOffset();return Math.max(Math.min(f,t),0)},this.getOffsetForIndex=(t,n="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));const i=this.getSize(),a=this.getScrollOffset(),s=this.measurementsCache[t];if(!s)return;if(n==="auto")if(s.end>=a+i-this.options.scrollPaddingEnd)n="end";else if(s.start<=a+this.options.scrollPaddingStart)n="start";else return[a,n];if(n==="end"&&t===this.options.count-1)return[this.getMaxScrollOffset(),n];const f=n==="end"?s.end+this.options.scrollPaddingEnd:s.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(f,n,s.size),n]},this.scrollToOffset=(t,{align:n="start",behavior:i="auto"}={})=>{const a=this.getOffsetForAlignment(t,n),s=this.now();this.scrollState={index:null,align:n,behavior:i,startedAt:s,lastTargetOffset:a,stableFrames:0},this._scrollToOffset(a,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.scrollToIndex=(t,{align:n="auto",behavior:i="auto"}={})=>{t=Math.max(0,Math.min(t,this.options.count-1));const a=this.getOffsetForIndex(t,n);if(!a)return;const[s,f]=a,o=this.now();this.scrollState={index:t,align:f,behavior:i,startedAt:o,lastTargetOffset:s,stableFrames:0},this._scrollToOffset(s,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.scrollBy=(t,{behavior:n="auto"}={})=>{const i=this.getScrollOffset()+t,a=this.now();this.scrollState={index:null,align:"start",behavior:n,startedAt:a,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:n}),this.scheduleScrollReconcile()},this.getTotalSize=()=>{var t;const n=this.getMeasurements();let i;if(n.length===0)i=this.options.paddingStart;else if(this.options.lanes===1)i=((t=n[n.length-1])==null?void 0:t.end)??0;else{const a=Array(this.options.lanes).fill(null);let s=n.length-1;for(;s>=0&&a.some(f=>f===null);){const f=n[s];a[f.lane]===null&&(a[f.lane]=f.end),s--}i=Math.max(...a.filter(f=>f!==null))}return Math.max(i-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:n,behavior:i})=>{this.options.scrollToFn(t,{behavior:i,adjustments:n},this)},this.measure=()=>{this.itemSizeCache=new Map,this.laneAssignments=new Map,this.notify(!1)},this.setOptions(r)}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId==null&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}const n=this.scrollState.index!=null?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,i=n?n[0]:this.scrollState.lastTargetOffset,a=1,s=i!==this.scrollState.lastTargetOffset;if(!s&&yx(i,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=a){this.scrollState=null;return}}else this.scrollState.stableFrames=0,s&&(this.scrollState.lastTargetOffset=i,this.scrollState.behavior="auto",this._scrollToOffset(i,{adjustments:void 0,behavior:"auto"}));this.scheduleScrollReconcile()}}const cs=(e,r,t,n)=>{for(;e<=r;){const i=(e+r)/2|0,a=t(i);if(an)r=i-1;else return i}return e>0?e-1:0};function Lx({measurements:e,outerSize:r,scrollOffset:t,lanes:n}){const i=e.length-1,a=o=>e[o].start;if(e.length<=n)return{startIndex:0,endIndex:i};let s=cs(0,i,a,t),f=s;if(n===1)for(;f1){const o=Array(n).fill(0);for(;fc=0&&l.some(c=>c>=t);){const c=e[s];l[c.lane]=c.start,s--}s=Math.max(0,s-s%n),f=Math.min(i,f+(n-1-f%n))}return{startIndex:s,endIndex:f}}function Mx(e){const r=new Px(Be(e)),t=Ds(r),n=r._didMount();return Di(()=>Be(e).getScrollElement(),i=>{i&&r._willUpdate()},{immediate:!0}),Di(()=>Be(e),i=>{r.setOptions({...i,onChange:(a,s)=>{var f;Ii(t),(f=i.onChange)==null||f.call(i,a,s)}}),r._willUpdate(),Ii(t)},{immediate:!0}),Is(n),t}function Bx(e){return Mx(dt(()=>({observeElementRect:Rx,observeElementOffset:Dx,scrollToFn:Nx,...Be(e)})))}const bx={class:"virtual-table-header"},Ux=["onDragstart","onDrop"],Wx={class:"header-label"},Hx=["onPointerdown"],Vx=["onClick"],Gx=["title","onClick","onContextmenu"],zx=Jn({__name:"VirtualTable",props:{columns:{},data:{},rowHeight:{default:40},contextId:{default:"virtual-default"},linkColumn:{}},emits:["rowClick","filter","escape"],setup(e,{emit:r}){const t=e,n=r;function i(C,b,B,W){const q={value:b[B.key],row:b,columnKey:B.key,columnLabel:B.label,rowIndex:W,columns:t.columns.map(te=>({key:te.key,label:te.label}))};o(C,q)}const{copiedKey:a,copy:s}=_i(),{state:f,open:o,close:l}=ss(),c=jt(null),u=dt(()=>{const C=t.columns.map(b=>b.key);return fs(t.contextId,C)}),v=dt(()=>{const b=u.value.getOrderedKeys(),B=new Map(t.columns.map(W=>[W.key,W]));return b.filter(W=>B.has(W)).map(W=>B.get(W))}),x=dt(()=>t.data.length),p=Bx({get count(){return x.value},getScrollElement:()=>c.value,estimateSize:()=>t.rowHeight,overscan:20}),h=dt(()=>v.value.length),g=ls({rowCount:x,colCount:h,onCopy(C,b){var W,q;const B=(W=v.value[b])==null?void 0:W.key;B&&s((q=t.data[C])==null?void 0:q[B],`${C}-${B}`)},onEscape(){n("escape")},scrollToRow(C){p.value.scrollToIndex(C)}});function A(C){g.handleKeydown(C)}function k(C,b){g.activate(C,b)}function y(C){const b=u.value.getColumnWidth(C.key);return b?`${b}px`:C.width||`${100/v.value.length}%`}let M="";function K(C,b){M=b,C.dataTransfer.effectAllowed="move",C.dataTransfer.setData("text/plain",b)}function Z(C){C.preventDefault(),C.dataTransfer.dropEffect="move"}function R(C,b){C.preventDefault(),M&&M!==b&&u.value.reorderColumn(M,b),M=""}function V(C,b,B){C.stopPropagation();const W=B.offsetWidth;u.value.startResize(b,C.clientX,W);const q=Q=>{u.value.onResize(Q.clientX)},te=()=>{u.value.endResize(),document.removeEventListener("pointermove",q),document.removeEventListener("pointerup",te),document.body.style.cursor="",document.body.style.userSelect=""};document.addEventListener("pointermove",q),document.addEventListener("pointerup",te),document.body.style.cursor="col-resize",document.body.style.userSelect="none"}return(C,b)=>(Ne(),be("div",{ref_key:"parentRef",ref:c,class:"virtual-table-container",tabindex:"0",onKeydown:A,onFocus:b[1]||(b[1]=B=>Be(g).active.value||Be(g).activate(0,0))},[_e("div",{style:$t({height:`${Be(p).getTotalSize()}px`,width:"100%",position:"relative"})},[_e("div",bx,[(Ne(!0),be(cr,null,hr(v.value,B=>(Ne(),be("div",{key:B.key,class:"virtual-header-cell",style:$t({width:y(B)}),draggable:"true",onDragstart:W=>K(W,B.key),onDragover:Z,onDrop:W=>R(W,B.key)},[_e("span",Wx,zt(B.label),1),_e("span",{class:"resize-handle",onPointerdown:Nr(W=>V(W,B.key,W.currentTarget.parentElement),["stop"])},null,40,Hx)],44,Ux))),128))]),(Ne(!0),be(cr,null,hr(Be(p).getVirtualItems(),B=>(Ne(),be("div",{key:B.index,class:"virtual-row",style:$t({transform:`translateY(${B.start}px)`,height:`${B.size}px`}),onClick:W=>n("rowClick",e.data[B.index])},[(Ne(!0),be(cr,null,hr(v.value,(W,q)=>{var te,Q;return Ne(),be("span",{key:W.key,class:Xn(["virtual-cell",{"cell-copied":Be(a)===`${B.index}-${W.key}`,"grid-cell-focused":Be(g).isFocused(B.index,q),"cell-link":W.key===e.linkColumn}]),style:$t({width:y(W)}),title:String(((te=e.data[B.index])==null?void 0:te[W.key])??""),onClick:Nr(()=>{var le;k(B.index,q),Be(s)((le=e.data[B.index])==null?void 0:le[W.key],`${B.index}-${W.key}`)},["stop"]),onContextmenu:le=>i(le,e.data[B.index],W,B.index)},zt(((Q=e.data[B.index])==null?void 0:Q[W.key])??""),47,Gx)}),128))],12,Vx))),128))],4),F0(os,{state:Be(f),onClose:Be(l),onFilter:b[0]||(b[0]=B=>n("filter",B))},null,8,["state","onClose"])],544))}}),Xx=Zn(zx,[["__scopeId","data-v-1592bf95"]]),$x={class:"smart-table"},Kx={design:"Header"},jx={slot:"startContent",level:"H4"},Yx={slot:"startContent",class:"count-label"},Jx={class:"grid-header"},Zx=["onDragstart","onDrop","onClick"],qx={class:"header-label"},Qx={key:0,class:"sort-icon"},ed=["onPointerdown"],td={class:"grid-body"},rd=["onClick"],nd=["title","onClick","onContextmenu"],id={key:2,class:"no-data"},ad=Jn({__name:"SmartTable",props:{columns:{},data:{},loading:{type:Boolean},sortKey:{},sortDir:{},title:{},rowCount:{},totalCount:{},overflowMode:{},virtualThreshold:{default:500},contextId:{default:"default"},linkColumn:{}},emits:["sort","export","search","rowClick","escape"],setup(e,{emit:r}){const{copiedKey:t,copy:n}=_i(),{state:i,open:a,close:s}=ss(),f=e,o=r,l=jt(null),c=dt(()=>{const te=f.columns.map(Q=>Q.key);return fs(f.contextId,te)}),u=dt(()=>{if(f.columns.length===0)return[];const Q=c.value.getOrderedKeys(),le=new Map(f.columns.map(xe=>[xe.key,xe])),ce=Q.filter(xe=>le.has(xe)).map(xe=>le.get(xe));return ce.length===0?f.columns:ce}),v=dt(()=>f.data.length),x=dt(()=>u.value.length),p=ls({rowCount:v,colCount:x,onCopy(te,Q){var ce,xe;const le=(ce=u.value[Q])==null?void 0:ce.key;le&&n((xe=f.data[te])==null?void 0:xe[le],`${te}-${le}`)},onEscape(){o("escape")}});function h(te){p.handleKeydown(te)}function g(te,Q){var ce;p.activate(te,Q);const le=u.value[Q];if((le==null?void 0:le.key)===f.linkColumn){const xe=String(((ce=f.data[te])==null?void 0:ce[le.key])??"");(xe.startsWith("http://")||xe.startsWith("https://"))&&window.open(xe,"_blank","noopener")}}let A="";function k(te,Q){A=Q,te.dataTransfer.effectAllowed="move",te.dataTransfer.setData("text/plain",Q)}function y(te){te.preventDefault(),te.dataTransfer.dropEffect="move"}function M(te,Q){te.preventDefault(),A&&A!==Q&&c.value.reorderColumn(A,Q),A=""}function K(te,Q,le){te.stopPropagation();const ce=le.offsetWidth;c.value.startResize(Q,te.clientX,ce);const xe=Ve=>{c.value.onResize(Ve.clientX)},Ae=()=>{c.value.endResize(),document.removeEventListener("pointermove",xe),document.removeEventListener("pointerup",Ae),document.body.style.cursor="",document.body.style.userSelect=""};document.addEventListener("pointermove",xe),document.addEventListener("pointerup",Ae),document.body.style.cursor="col-resize",document.body.style.userSelect="none"}function Z(te){const Q=c.value.getColumnWidth(te.key);return Q?{width:`${Q}px`,minWidth:"80px",flexShrink:"0"}:te.width?{width:te.width,minWidth:"80px",flexShrink:"0"}:{flex:"1 1 0",minWidth:"80px",overflow:"hidden"}}function R(te){te.sortable&&o("sort",te.key)}function V(te){const Q=te.target.value||"";o("search",Q)}function C(te){o("rowClick",te)}function b(te,Q,le,ce){const xe={value:Q[le.key],row:Q,columnKey:le.key,columnLabel:le.label,rowIndex:ce,columns:f.columns.map(Ae=>({key:Ae.key,label:Ae.label}))};a(te,xe)}function B(te){o("search",te)}function W(){c.value.resetLayout()}const q=dt(()=>f.rowCount!==void 0&&f.totalCount!==void 0?f.rowCount===f.totalCount?`${f.totalCount} items`:`${f.rowCount} of ${f.totalCount} items`:`${f.data.length} items`);return(te,Q)=>(Ne(),be("div",$x,[_e("ui5-bar",Kx,[_e("ui5-title",jx,zt(e.title),1),_e("ui5-label",Yx,zt(q.value),1),_e("ui5-input",{slot:"endContent",placeholder:"Search...","show-clear-icon":"",class:"search-input",onInput:V},[...Q[3]||(Q[3]=[_e("ui5-icon",{slot:"icon",name:"search"},null,-1)])],32),_e("ui5-button",{slot:"endContent",icon:"reset",tooltip:"Reset Column Layout",design:"Transparent",onClick:W}),_e("ui5-button",{slot:"endContent",icon:"excel-attachment",tooltip:"Export to Excel",design:"Transparent",onClick:Q[0]||(Q[0]=le=>o("export","excel"))}),_e("ui5-button",{slot:"endContent",icon:"download",tooltip:"Export to CSV",design:"Transparent",onClick:Q[1]||(Q[1]=le=>o("export","csv"))})]),e.data.length>e.virtualThreshold?(Ne(),A0(Xx,{key:0,columns:u.value,data:e.data,"context-id":e.contextId,"link-column":e.linkColumn,onRowClick:C},null,8,["columns","data","context-id","link-column"])):(Ne(),be("div",{key:1,ref_key:"tableBodyRef",ref:l,class:"grid-table",tabindex:"0",onKeydown:h,onFocus:Q[2]||(Q[2]=le=>Be(p).active.value||Be(p).activate(0,0))},[_e("div",Jx,[(Ne(!0),be(cr,null,hr(u.value,le=>(Ne(),be("div",{key:le.key,class:Xn(["grid-header-cell",{sortable:le.sortable}]),style:$t(Z(le)),draggable:"true",onDragstart:ce=>k(ce,le.key),onDragover:y,onDrop:ce=>M(ce,le.key),onClick:ce=>R(le)},[_e("span",qx,zt(le.label),1),e.sortKey===le.key?(Ne(),be("span",Qx,zt(e.sortDir==="Ascending"?"▲":"▼"),1)):zn("",!0),_e("span",{class:"resize-handle",onPointerdown:Nr(ce=>K(ce,le.key,ce.currentTarget.parentElement),["stop"])},null,40,ed)],46,Zx))),128))]),_e("div",td,[(Ne(!0),be(cr,null,hr(e.data,(le,ce)=>(Ne(),be("div",{key:ce,class:"grid-row",onClick:xe=>C(le)},[(Ne(!0),be(cr,null,hr(u.value,(xe,Ae)=>(Ne(),be("span",{key:xe.key,class:Xn(["grid-cell",{"cell-copied":Be(t)===`${ce}-${xe.key}`,"grid-cell-focused":Be(p).isFocused(ce,Ae),"cell-link":xe.key===e.linkColumn}]),style:$t(Z(xe)),title:String(le[xe.key]??""),onClick:Ve=>g(ce,Ae),onContextmenu:Ve=>b(Ve,le,xe,ce)},zt(le[xe.key]??""),47,nd))),128))],8,rd))),128))])],544)),!e.loading&&e.data.length===0?(Ne(),be("div",id," No data available ")):zn("",!0),F0(os,{state:Be(i),onClose:Be(s),onFilter:B},null,8,["state","onClose"])]))}}),cd=Zn(ad,[["__scopeId","data-v-966a3d12"]]);export{cd as S,od as a,_i as u,ld as w}; diff --git a/app/vue/dist/assets/SqlEditor-COm8qPqK.js b/app/vue/dist/assets/SqlEditor-COm8qPqK.js deleted file mode 100644 index cda9994a..00000000 --- a/app/vue/dist/assets/SqlEditor-COm8qPqK.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as I,cr as h,bl as R,bp as L,cU as x,d7 as O,bh as A,cH as U,b8 as y}from"./index-Cmc-xxmd.js";import{V as w}from"./index-tIVfSlto.js";import{b as v}from"./QueryEditor-qtET-3r5.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./splitpanes-BHRpRnq4.js";import"./SegmentedButton-D0FpyF_g.js";import"./Option-yBqY0LHt.js";import"./ListItemBaseTemplate-fB6cyhUP.js";const M=["SELECT","FROM","WHERE","AND","OR","NOT","IN","BETWEEN","LIKE","INSERT","INTO","VALUES","UPDATE","SET","DELETE","CREATE","ALTER","DROP","TABLE","VIEW","INDEX","JOIN","INNER","LEFT","RIGHT","OUTER","CROSS","ON","GROUP","BY","ORDER","ASC","DESC","HAVING","DISTINCT","AS","NULL","IS","CASE","WHEN","THEN","ELSE","END","LIMIT","OFFSET","TOP","UNION","ALL","EXISTS","COUNT","SUM","AVG","MIN","MAX","COALESCE","IFNULL","CAST","CONVERT","SUBSTRING","LENGTH","TRIM","UPPER","LOWER","SCHEMA","DATABASE","PROCEDURE","FUNCTION","TRIGGER","PRIMARY","KEY","FOREIGN","REFERENCES","CONSTRAINT","UNIQUE","WITH","RECURSIVE","EXPLAIN","PLAN"];function D(s){const{getSchemas:d,getTables:p,getColumns:N}=v();return{triggerCharacters:["."," ",'"'],async provideCompletionItems(c,n){const T=c.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:n.lineNumber,endColumn:n.column}),E=c.getWordUntilPosition(n),l={startLineNumber:n.lineNumber,endLineNumber:n.lineNumber,startColumn:E.startColumn,endColumn:E.endColumn},g=c.getLineContent(n.lineNumber).substring(0,n.column-1),a=g.match(/["']?(\w+)["']?\.\s*$/);if(a){const t=a[1];if((await d()).some(r=>r.toUpperCase()===t.toUpperCase()))return{suggestions:(await p(t)).map(i=>({label:i.name,kind:s.languages.CompletionItemKind.Class,insertText:`"${i.name}"`,range:l,detail:`${i.type} in ${i.schema}`}))};const m=T.toUpperCase().match(/FROM\s+["']?(\w+)["']?\.["']?(\w+)["']?/i);return m?{suggestions:(await N(m[1],m[2])).map(i=>({label:i.name,kind:s.languages.CompletionItemKind.Field,insertText:`"${i.name}"`,range:l,detail:`${i.dataType}${i.length?`(${i.length})`:""}`}))}:{suggestions:[]}}if(g.toUpperCase().trimEnd().match(/(?:FROM|JOIN|INTO|UPDATE)\s*$/i)){const t=await d(),b=t.length>0?t[0]:null,f=t.map(m=>({label:m,kind:s.languages.CompletionItemKind.Module,insertText:`"${m}"`,range:l,detail:"Schema"}));if(b){const m=await p(b);f.push(...m.map(r=>({label:r.name,kind:s.languages.CompletionItemKind.Class,insertText:`"${r.schema}"."${r.name}"`,range:l,detail:`${r.type} in ${r.schema}`,sortText:"0"+r.name})))}return{suggestions:f}}const u=M.map(t=>({label:t,kind:s.languages.CompletionItemKind.Keyword,insertText:t,range:l,sortText:"1"+t})),C=await d();return u.push(...C.slice(0,20).map(t=>({label:t,kind:s.languages.CompletionItemKind.Module,insertText:`"${t}"`,range:l,detail:"Schema",sortText:"2"+t}))),{suggestions:u}}}}const P=I({__name:"SqlEditor",props:{modelValue:{},theme:{default:"vs"},language:{default:"sql"},readOnly:{type:Boolean,default:!1}},emits:["update:modelValue","execute"],setup(s,{expose:d,emit:p}){const N=s,c=p,n=U(null),T=A(()=>({minimap:{enabled:!1},lineNumbers:"on",scrollBeyondLastLine:!1,fontSize:14,fontFamily:"'Courier New', monospace",wordWrap:"on",automaticLayout:!0,readOnly:N.readOnly,tabSize:2,renderLineHighlight:"line",scrollbar:{verticalScrollbarSize:8,horizontalScrollbarSize:8},suggest:{showKeywords:!0,showSnippets:!0}}));function E(a,e){n.value=a,a.addAction({id:"execute-query",label:"Execute Query",keybindings:[e.KeyMod.CtrlCmd|e.KeyCode.Enter],run:()=>c("execute")});const o=D(e);e.languages.registerCompletionItemProvider("sql",o)}function l(a){c("update:modelValue",a??"")}function S(a){var C;a.preventDefault();const e=(C=a.dataTransfer)==null?void 0:C.getData("text/plain");if(!e||!n.value)return;const o=n.value,u=o.getPosition();u&&(o.executeEdits("object-explorer",[{range:{startLineNumber:u.lineNumber,startColumn:u.column,endLineNumber:u.lineNumber,endColumn:u.column},text:e+" "}]),o.focus())}function g(a){if(!n.value)return;const e=n.value,o=e.getPosition();o&&(e.executeEdits("insert",[{range:{startLineNumber:o.lineNumber,startColumn:o.column,endLineNumber:o.lineNumber,endColumn:o.column},text:a+" "}]),e.focus())}return d({insertText:g}),(a,e)=>(h(),R("div",{class:"sql-editor-wrapper",onDrop:S,onDragover:e[0]||(e[0]=O(()=>{},["prevent"]))},[L(x(w),{value:s.modelValue,language:s.language,theme:s.theme,options:T.value,onMount:E,onChange:l,class:"sql-editor-inner"},null,8,["value","language","theme","options"])],32))}}),z=y(P,[["__scopeId","data-v-37eb2018"]]);export{z as default}; diff --git a/app/vue/dist/assets/SuggestionItem-D5k7H1pi.js b/app/vue/dist/assets/SuggestionItem-D5k7H1pi.js deleted file mode 100644 index e8b261e1..00000000 --- a/app/vue/dist/assets/SuggestionItem-D5k7H1pi.js +++ /dev/null @@ -1,2 +0,0 @@ -import{bZ as m,b_ as h,bB as p,bv as g,bu as f,cG as d,c5 as _,V as c,bD as b}from"./index-Cmc-xxmd.js";import{L as x}from"./ListItemBaseTemplate-fB6cyhUP.js";function v(){return[x.call(this,{listItemContent:T},{role:"option"})]}function T(){return m("div",{part:"content",id:"content",class:"ui5-li-content",children:h("div",{class:"ui5-li-text-wrapper",children:[m("span",{part:"title",className:"ui5-li-title",dangerouslySetInnerHTML:{__html:this.markupText}}),this.additionalText&&m("span",{part:"additional-text",class:"ui5-li-additional-text",children:this.additionalText})]})})}p("@ui5/webcomponents-theming","sap_horizon",async()=>g);p("@ui5/webcomponents","sap_horizon",async()=>f,"host");const y=`:host([ui5-suggestion-item]){height:auto;min-height:var(--_ui5_list_item_base_height)}:host([ui5-suggestion-item]) .ui5-li-root{min-height:var(--_ui5_list_item_base_height)}:host([ui5-suggestion-item]) .ui5-li-content{padding-bottom:.5rem;padding-top:.5rem;box-sizing:border-box} -`;var l=function(n,e,s,o){var a=arguments.length,t=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,s):o,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(n,e,s,o);else for(var u=n.length-1;u>=0;u--)(r=n[u])&&(t=(a<3?r(t):a>3?r(e,s,t):r(e,s))||t);return a>3&&t&&Object.defineProperty(e,s,t),t};let i=class extends c{constructor(){super(...arguments),this.markupText=""}onEnterDOM(){b()&&this.setAttribute("desktop","")}get _effectiveTabIndex(){return-1}};l([d()],i.prototype,"text",void 0);l([d()],i.prototype,"additionalText",void 0);l([d()],i.prototype,"markupText",void 0);i=l([_({tag:"ui5-suggestion-item",template:v,styles:[c.styles,y]})],i);i.define(); diff --git a/app/vue/dist/assets/SystemInfo-Cqu87Mxw.js b/app/vue/dist/assets/SystemInfo-Cqu87Mxw.js deleted file mode 100644 index 90a8ae62..00000000 --- a/app/vue/dist/assets/SystemInfo-Cqu87Mxw.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as y,co as S,bl as n,bi as e,cN as s,t as c,cB as _,bk as E,cW as T,cA as r,cr as o,b8 as g}from"./index-Cmc-xxmd.js";import"./TableHeaderRow-BwRbRfkI.js";const N={class:"system-info"},A={key:0,active:"",size:"Medium",class:"loading"},I={key:1,class:"error"},H={class:"info-section"},h={class:"form-grid"},C=["value"],D=["value"],R={class:"info-section"},V={class:"form-grid"},k=["value"],w=["value"],M=["value"],x=["value"],U=["value"],B={class:"info-section"},O={"overflow-mode":"Popin"},L=y({__name:"SystemInfo",setup(z){const{fetchDirect:p}=T(),t=r(null),d=r(!0),a=r("");function b(i){if(!i)return"";const l=new Date(i);return isNaN(l.getTime())?i:l.toLocaleString(void 0,{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return S(async()=>{try{t.value=await p("/hana")}catch(i){a.value=i.message}finally{d.value=!1}}),(i,l)=>{var v,m;return o(),n("div",N,[l[12]||(l[12]=e("ui5-title",{level:"H3"},"System Information",-1)),d.value?(o(),n("ui5-busy-indicator",A)):a.value?(o(),n("div",I,[l[0]||(l[0]=e("ui5-title",{level:"H5"},"Connection Error",-1)),e("p",null,s(a.value),1)])):t.value?(o(),n(c,{key:2},[e("section",H,[l[3]||(l[3]=e("ui5-title",{level:"H5"},"Current Session",-1)),e("div",h,[l[1]||(l[1]=e("ui5-label",null,"User:",-1)),e("ui5-input",{value:(v=t.value.user[0])==null?void 0:v.CURRENT_USER,readonly:""},null,8,C),l[2]||(l[2]=e("ui5-label",null,"Schema:",-1)),e("ui5-input",{value:(m=t.value.user[0])==null?void 0:m.CURRENT_SCHEMA,readonly:""},null,8,D)])]),e("section",R,[l[9]||(l[9]=e("ui5-title",{level:"H5"},"Version Info",-1)),e("div",V,[l[4]||(l[4]=e("ui5-label",null,"System ID:",-1)),e("ui5-input",{value:t.value.version.SYSTEM_ID,readonly:""},null,8,k),l[5]||(l[5]=e("ui5-label",null,"Database:",-1)),e("ui5-input",{value:t.value.version.DATABASE_NAME,readonly:""},null,8,w),l[6]||(l[6]=e("ui5-label",null,"Host:",-1)),e("ui5-input",{value:t.value.version.HOST,readonly:""},null,8,M),l[7]||(l[7]=e("ui5-label",null,"Start Time:",-1)),e("ui5-input",{value:b(t.value.version.START_TIME),readonly:""},null,8,x),l[8]||(l[8]=e("ui5-label",null,"Version:",-1)),e("ui5-input",{value:t.value.version.VERSION,readonly:""},null,8,U)])]),e("section",B,[l[11]||(l[11]=e("ui5-title",{level:"H5"},"System Overview",-1)),e("ui5-table",O,[l[10]||(l[10]=e("ui5-table-header-row",{slot:"headerRow"},[e("ui5-table-header-cell",{width:"20%",importance:"3"},"Section"),e("ui5-table-header-cell",{width:"30%",importance:"3"},"Name"),e("ui5-table-header-cell",{width:"35%",importance:"2","popin-text":"Value"},"Value"),e("ui5-table-header-cell",{width:"15%",importance:"1","popin-text":"Status"},"Status")],-1)),(o(!0),n(c,null,_(t.value.overview,(u,f)=>(o(),n("ui5-table-row",{key:f},[e("ui5-table-cell",null,s(u.SECTION),1),e("ui5-table-cell",null,s(u.NAME),1),e("ui5-table-cell",null,s(u.VALUE),1),e("ui5-table-cell",null,s(u.STATUS),1)]))),128))])])],64)):E("",!0)])}}}),W=g(L,[["__scopeId","data-v-7bff5738"]]);export{W as default}; diff --git a/app/vue/dist/assets/Tab-DXA6J-WP.js b/app/vue/dist/assets/Tab-DXA6J-WP.js deleted file mode 100644 index 89807b13..00000000 --- a/app/vue/dist/assets/Tab-DXA6J-WP.js +++ /dev/null @@ -1,5 +0,0 @@ -import{db as tt,b_ as g,ak as dt,bZ as l,R as ut,g as E,u as W,m as _t,bB as w,bv as D,bu as P,cG as u,br as C,bN as et,c5 as it,d9 as rt,al as ht,c1 as k,am as ot,bE as pt,bC as K,bD as bt,bS as q,k as S,L as ft,b9 as mt,cw as x,bQ as vt,c7 as gt,b$ as B,C as V,af as Tt,bd as wt,A as G,b6 as U,ae as xt,bF as L,D as It,ai as St,cc as yt,aw as Ot,at as Ct,au as At,as as at,av as Et,ax as Dt,x as O,cI as X,W as Pt,aO as Rt,aQ as kt,aP as Bt,aR as Mt,by as Nt,cd as Z,cM as Lt,aS as $t,_ as Q}from"./index-Cmc-xxmd.js";import{b as Ft,u as zt}from"./slideUp-BU4b7UJI.js";const Ht="slim-arrow-up",Wt="M2.87 10.822c-.228.237-.466.237-.715 0A.445.445 0 0 1 2 10.495c0-.119.052-.228.155-.327l5.13-4.9C7.492 5.088 7.731 5 8 5c.27 0 .497.09.684.267l5.16 4.901a.46.46 0 0 1 .156.342.46.46 0 0 1-.155.341.503.503 0 0 1-.716 0L8.155 6.1c-.103-.119-.217-.119-.342 0L2.87 10.822Z",jt=!1,Kt="0 0 16 16",qt="SAP-icons-v4",Vt="@ui5/webcomponents-icons";tt(Ht,{pathData:Wt,ltr:jt,viewBox:Kt,collection:qt,packageName:Vt});const Gt="slim-arrow-up",Ut="M12.83 9.727a.75.75 0 0 0-.104-1.056L8.48 5.17a.75.75 0 0 0-.954 0l-4.252 3.5a.75.75 0 0 0 .954 1.158l3.775-3.107 3.771 3.107a.75.75 0 0 0 1.056-.102Z",Xt=!1,Zt="0 0 16 16",Qt="SAP-icons-v5",Jt="@ui5/webcomponents-icons";tt(Gt,{pathData:Ut,ltr:Xt,viewBox:Zt,collection:Qt,packageName:Jt});let M=null,J=Date.now();const Yt=300,te=n=>(t,e,i)=>{const o=i.value;return i.value=function(r){let a=!1;if(r.target instanceof HTMLElement){const s=r.target.closest(n);s===M&&Date.now()-J>=Yt?a=!0:s!==M&&(M=s,J=Date.now())}o.apply(this,[r,a])},i};var $;(function(n){n.Top="Top",n.Bottom="Bottom"})($||($={}));const ee=$;var F;(function(n){n.Default="Default",n.Positive="Positive",n.Negative="Negative",n.Critical="Critical",n.Neutral="Neutral"})(F||(F={}));const f=F;var z;(function(n){n.Inline="Inline",n.Standard="Standard"})(z||(z={}));const Y=z;var H;(function(n){n.End="End",n.StartAndEnd="StartAndEnd"})(H||(H={}));const ie=H;function re(){return g(dt,{id:`${this._id}-overflowMenu`,horizontalAlign:"End",placement:"Bottom",contentOnlyOnDesktop:!0,hideArrow:!0,_hideHeader:!0,class:"ui5-tab-container-responsive-popover",onDragStart:this._onDragStart,children:[l(ut,{selectionMode:"Single",separators:"None",onItemClick:this._onOverflowListItemClick,onMoveOver:this._onPopoverListMoveOver,onMove:this._onPopoverListMove,onKeyDown:this._onPopoverListKeyDown,children:this._popoverItemsFlat.map(n=>n.overflowPresentation)}),l("div",{slot:"footer",class:"ui5-responsive-popover-footer",children:l(E,{design:"Transparent",onClick:this._closePopover,children:this.popoverCancelButtonText})})]})}function oe(){var n,t;return l("div",{class:{"ui5-tc__content":!0,"ui5-tc__content--collapsed":this._contentCollapsed},part:"content",children:l("div",{class:"ui5-tc__contentItem",id:"ui5-tc-content",hidden:(n=this._selectedTab)==null?void 0:n.effectiveHidden,role:"tabpanel","aria-labelledby":(t=this._selectedTab)==null?void 0:t._id,children:this.items.map(e=>l("slot",{name:e._effectiveSlotName}))})})}const ae={contentArea:oe};function ne(n){const t={...ae,...n};return g(W,{children:[g("div",{class:{"ui5-tc-root":!0,"ui5-tc--textOnly":this.textOnly,"ui5-tc--withAdditionalText":this.withAdditionalText,"ui5-tc--standardTabLayout":this.standardTabLayout,"ui5-tc--noTabSelected":!this._selectedTab},children:[this.tabsAtTheBottom&&t.contentArea.call(this),g("div",{class:"ui5-tc__header",id:`${this._id}-header`,onFocusIn:this._onHeaderFocusin,onDragStart:this._onDragStart,onDragEnter:this._onHeaderDragEnter,onDragOver:this._onHeaderDragOver,onDrop:this._onHeaderDrop,onDragLeave:this._onHeaderDragLeave,part:"tabstrip",children:[l("div",{class:"ui5-tc__overflow ui5-tc__overflow--start",onClick:this._onOverflowClick,onKeyDown:this._onOverflowKeyDown,hidden:!0,children:this.startOverflowButton.length?l("slot",{name:"startOverflowButton"}):l(E,{endIcon:this.overflowMenuIcon,"data-ui5-stable":"overflow-start",tooltip:this.overflowMenuTitle,accessibilityAttributes:this.overflowBtnAccessibilityAttributes,children:this._startOverflowText})}),l("div",{id:`${this._id}-tabStrip`,class:"ui5-tc__tabStrip",role:"tablist","aria-describedby":this.tablistAriaDescribedById,onClick:this._onTabStripClick,onKeyDown:this._onTabStripKeyDown,onKeyUp:this._onTabStripKeyUp,children:this.items.map(e=>e.stripPresentation)}),l("div",{class:"ui5-tc__overflow ui5-tc__overflow--end",onClick:this._onOverflowClick,onKeyDown:this._onOverflowKeyDown,hidden:!0,children:this.overflowButton.length?l("slot",{name:"overflowButton"}):l(E,{endIcon:this.overflowMenuIcon,"data-ui5-stable":"overflow-end",tooltip:this.overflowMenuTitle,accessibilityAttributes:this.overflowBtnAccessibilityAttributes,children:this._endOverflowText})}),l(_t,{orientation:"Vertical",ownerReference:this})]}),!this.tabsAtTheBottom&&t.contentArea.call(this),this.hasItems&&l("span",{id:`${this._id}-invisibleText`,class:"ui5-hidden-text",children:this.accInvisibleText})]}),re.call(this)]})}w("@ui5/webcomponents-theming","sap_horizon",async()=>D);w("@ui5/webcomponents","sap_horizon",async()=>P,"host");const se=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:block;width:100%}.ui5-tc-root{display:flex;flex-direction:column;width:100%;height:100%;font-family:var(--sapFontHeaderFamily);font-size:1rem}.ui5-tc__header{position:relative;display:flex;align-items:center;background-color:var(--_ui5_tc_header_background);--ui5_tc_header_active_background_color: var(--_ui5_tc_header_background);height:var(--_ui5_tc_header_height);box-shadow:var(--_ui5_tc_header_box_shadow);box-sizing:border-box}:host([tabs-placement="Bottom"]) .ui5-tc__header{border-top:var(--_ui5_tc_header_border_bottom)}:host([header-background-design="Transparent"]) .ui5-tc__header{background-color:transparent;--ui5_tc_header_active_background_color: transparent;box-shadow:none;border-bottom:.0625rem solid var(--sapObjectHeader_BorderColor)}:host([header-background-design="Translucent"]) .ui5-tc__header{background-color:var(--_ui5_tc_header_background_translucent);--ui5_tc_header_active_background_color: var(--_ui5_tc_header_background_translucent)}.ui5-tc-root.ui5-tc--textOnly .ui5-tc__header{height:var(--_ui5_tc_header_height_text_only)}.ui5-tc-root.ui5-tc--textOnly.ui5-tc--withAdditionalText.ui5-tc--standardTabLayout .ui5-tc__header{height:var(--_ui5_tc_header_height_text_with_additional_text)}.ui5-tc__tabStrip{flex:1;display:flex;overflow:hidden;box-sizing:border-box;position:relative;white-space:nowrap}.ui5-tc__separator:focus{outline:none}.ui5-tc__overflow{flex:0 0 0}.ui5-tc__overflow.ui5-tc__overflow--end{padding-inline-start:.188rem;margin-inline-end:1rem}.ui5-tc__overflow.ui5-tc__overflow--start{margin-inline-start:1rem}.ui5-tc__overflow[hidden]{display:none}.ui5-tc__overflow>[ui5-button]{border-radius:.75rem;height:1.5rem;--_ui5_button_focused_border_radius: .75rem}.ui5-tc__overflow>[ui5-button]:not([active]){color:var(--_ui5_tc_overflow_text_color)}.ui5-tc__overflow>[ui5-button]:not([active]):hover{color:var(--_ui5_tc_overflow_text_color)}.ui5-tc__overflow>[ui5-button][focused]{outline-offset:.125rem;--_ui5_button_focused_border: none;outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-tc-root.ui5-tc--textOnly .ui5-tc__content{height:calc(100% - var(--_ui5_tc_header_height_text_only))}.ui5-tc__content{position:relative;display:flex;height:calc(100% - var(--_ui5_tc_header_height));background-color:var(--_ui5_tc_content_background);border-bottom:var(--_ui5_tc_content_border_bottom);box-sizing:border-box}:host([tabs-placement="Bottom"]) .ui5-tc__content{border-top:var(--_ui5_tc_content_border_bottom)}:host([content-background-design="Transparent"]) .ui5-tc__content{background-color:transparent}:host([content-background-design="Translucent"]) .ui5-tc__content{background-color:var(--_ui5_tc_content_background_translucent)}:host([header-background-design="Transparent"]) .ui5-tc__content{border-bottom:none}.ui5-tc__content--collapsed{display:none}.ui5-tc--transparent .ui5-tc__content{background-color:transparent}.ui5-tc__contentItem{max-height:100%;display:flex;flex-grow:1;overflow:auto}.ui5-tc__contentItem[hidden]{display:none}.ui5-tc__header{padding:0}.ui5-tc__content{padding:1rem}:host([media-range="M"]) .ui5-tc__header,:host([media-range="L"]) .ui5-tc__header{padding:0 1rem}:host([media-range="M"]) .ui5-tc__content,:host([media-range="L"]) .ui5-tc__content{padding:1rem 2rem}:host([media-range="XL"]) .ui5-tc__header{padding:0 2rem}:host([media-range="XL"]) .ui5-tc__content{padding:1rem 3rem}.ui5-tc-root.ui5-tc--noTabSelected .ui5-tc__content{padding:0} -`;var _=function(n,t,e,i){var o=arguments.length,r=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(n,t,e,i);else for(var s=n.length-1;s>=0;s--)(a=n[s])&&(r=(o<3?a(r):o>3?a(t,e,r):a(t,e))||r);return o>3&&r&&Object.defineProperty(t,e,r),r},T;const nt=[],le=5;let d=T=class extends ot{static registerTabStyles(t){nt.push(t)}constructor(){super(),this.collapsed=!1,this.tabLayout="Standard",this.overflowMode="End",this.headerBackgroundDesign="Solid",this.contentBackgroundDesign="Solid",this.tabsPlacement="Top",this.noAutoSelection=!1,this._animationRunning=!1,this._contentCollapsed=!1,this._startOverflowText="0",this._endOverflowText="More",this._popoverItemsFlat=[],this._dragging=!1,this._itemsFlat=[],this._hasScheduledPopoverOpen=!1,this._handleResizeBound=this._handleResize.bind(this),this._itemNavigation=new pt(this,{getItemsCallback:()=>this._getFocusableRefs(),skipItemsSize:le})}onBeforeRendering(){if(this._itemsFlat=this._flatten(this.items),!this._itemsFlat.length)return;const t=this._itemsFlat.find(e=>!e.isSeparator&&e.selected);t?this._selectedTab=t:this.noAutoSelection?this._selectedTab=void 0:this._selectedTab=this._itemsFlat[0],A(this.items,e=>{e.isSeparator||(e._selectedTabReference=this._selectedTab)}),this._sendStripPresentationInfos(this.items),this._animationRunning||(this._contentCollapsed=this.collapsed)}onAfterRendering(){var t;if(this.items.length){if(this._setItemsForStrip(),!this.shadowRoot.contains(document.activeElement)){const e=this._getRootTab(this._selectedTab);e&&this._itemNavigation.setCurrentItem(e)}if((t=this.responsivePopover)!=null&&t.open){const e=this._getPopoverItemsFor(this._getPopoverOwner(this.responsivePopover.opener));e.length?this._setPopoverItems(e):this._closePopover()}}}onEnterDOM(){K.register(this._getHeader(),this._handleResizeBound),bt()&&this.setAttribute("desktop","")}onExitDOM(){K.deregister(this._getHeader(),this._handleResizeBound)}_handleResize(){this.responsivePopover&&this.responsivePopover.open&&this._closePopover(),this._width=this.offsetWidth,this._updateMediaRange(this._width)}_updateMediaRange(t){this.mediaRange=q.getCurrentRange(q.RANGESETS.RANGE_4STEPS,t)}_sendStripPresentationInfos(t){const e=this._getTabs().length;let i=1;t.forEach(o=>{let r={getElementInStrip:()=>this.getDomRef().querySelector(`[id="${o._id}"]`)};o.isSeparator||(r={...r,isInline:this.tabLayout===Y.Inline,mixedMode:this.mixedMode,posinset:i,setsize:e,isTopLevelTab:t.some(a=>a===o)},i++),o.receiveStripInfo(r)})}_onHeaderFocusin(t){const e=y(t.target);e&&this._itemNavigation.setCurrentItem(e.realTabReference)}_onDragStart(t){!t.dataTransfer||!(t.target instanceof HTMLElement)||(t.dataTransfer.dropEffect="move",t.dataTransfer.effectAllowed="move",S.setDraggedElement(t.target.realTabReference,t))}_onHeaderDragEnter(t){t.preventDefault()}_onHeaderDragOver(t,e){if(!(t.target instanceof HTMLElement)||!t.target.closest("[data-ui5-stable=overflow-start],[data-ui5-stable=overflow-end],[role=tab],[role=separator]")){this.dropIndicatorDOM.targetReference=null;return}const i=S.getDraggedElement(),o=ft([...this._getTabStrip().querySelectorAll('[role="tab"]:not([hidden])')],t.clientX,mt.Horizontal),r=t.target.closest("[data-ui5-stable=overflow-start],[data-ui5-stable=overflow-end]");let a=null;if(r)a=r,t.preventDefault();else if(o){const s=o.element.realTabReference;s===i&&(o.placements=o.placements.filter(c=>c!==x.On));const{targetReference:h,placement:b}=vt(t,this,o,s);this.dropIndicatorDOM.targetReference=h,this.dropIndicatorDOM.placement=b,b===x.On&&o.element.realTabReference.items.length?a=o.element:b||(this.dropIndicatorDOM.targetReference=null)}a&&e?this._showPopoverAt(a,!1,!0):this._closePopover()}_onHeaderDrop(t){t.target===this._getStartOverflowBtnDOM()||t.target===this._getEndOverflowBtnDOM()||(gt(t,this,this.dropIndicatorDOM.targetReference.realTabReference,this.dropIndicatorDOM.placement),this.dropIndicatorDOM.targetReference=null)}_moveHeaderItem(t,e){if(!t.movable||this._dragging)return;this._dragging=!0;const i=this.items.map(a=>a.getDomRefInStrip()).filter(a=>!(a!=null&&a.hasAttribute("hidden")));let o=B(i,t.getDomRefInStrip(),e);o=o.map(({element:a,placement:s})=>{for(;a&&a.realTabReference.hasAttribute("ui5-tab-separator")&&s===x.Before;)a=i.at(i.indexOf(a)-1),s=x.After;for(;a&&a.realTabReference.hasAttribute("ui5-tab-separator")&&s===x.After;)a=i.at(i.indexOf(a)+1),s=x.Before;return{element:a,placement:s}});const r=o.find(({element:a,placement:s})=>!this.fireDecoratorEvent("move-over",{source:{element:t},destination:{element:a.realTabReference,placement:s}}));r?(this.fireDecoratorEvent("move",{source:{element:t},destination:{element:r.element.realTabReference,placement:r.placement}}),t.focus().then(()=>{this._dragging=!1})):this._dragging=!1}_onHeaderDragLeave(t){t.relatedTarget instanceof Node&&this.shadowRoot.contains(t.relatedTarget)||(this.dropIndicatorDOM.targetReference=null)}_onPopoverListMoveOver(t){var s;const{destination:e,source:i}=t.detail,o=S.getDraggedElement();let r=e.element.realTabReference;if(t.detail.originalEvent instanceof KeyboardEvent){const h=i.element.realTabReference,b=this._findSiblings(h);let c=b;this.items.includes(h)&&(c=b.filter(p=>t.target.items.filter(N).some(ct=>ct.realTabReference===p))),r=(s=B(c,h,t.detail.originalEvent)[0])==null?void 0:s.element}if(!r||e.placement===x.On&&(r.hasAttribute("ui5-tab-separator")||o===r)||o!==r&&o.contains(r))return;!this.fireDecoratorEvent("move-over",{source:{element:o},destination:{element:r,placement:e.placement}})?t.preventDefault():this.dropIndicatorDOM.targetReference=null}_onPopoverListMove(t){var a;const{destination:e,source:i}=t.detail,o=S.getDraggedElement();let r=e.element.realTabReference;if(t.detail.originalEvent instanceof KeyboardEvent){const s=i.element.realTabReference,h=this._findSiblings(s);let b=h;this.items.includes(s)&&(b=h.filter(R=>t.target.items.filter(N).some(p=>p.realTabReference===R))),r=(a=B(b,s,t.detail.originalEvent)[0])==null?void 0:a.element}r&&(t.preventDefault(),this.fireDecoratorEvent("move",{source:{element:o},destination:{element:r,placement:e.placement}}),this.dropIndicatorDOM.targetReference=null,o.focus())}_onPopoverListKeyDown(t){V(t)&&S.setDraggedElement(t.target.realTabReference)}async _onTabStripClick(t){const e=y(t.target);if(!(!e||e.realTabReference.disabled)){if(t.stopPropagation(),t.preventDefault(),t.target.hasAttribute("ui5-button")){this._onTabExpandButtonClick(t);return}if(!e.realTabReference.hasOwnContent&&e.realTabReference.tabs.length){await this._togglePopover(e);return}this._onHeaderItemSelect(e)}}async _onTabExpandButtonClick(t){t.stopPropagation(),t.preventDefault();let e;st(t.target)?e=t.target:e=y(t.target),e&&e.focus();let i=t.target;if(t.type==="keydown"&&!t.target.realTabReference.isSingleClickArea&&(i=t.target.querySelector(".ui5-tab-expand-button [ui5-button]")),!e){this._onHeaderItemSelect(i.parentElement);return}await this._togglePopover(i,!0)}_setPopoverInitialFocus(){const e=this._getSelectedTabInOverflow()||this._getFirstFocusableItemInOverflow();this.responsivePopover.initialFocus=`${e.realTabReference._id}-li`}_getSelectedTabInOverflow(){return this.responsivePopover.content[0].items.find(t=>t.realTabReference&&t.realTabReference.selected)}_getFirstFocusableItemInOverflow(){return this.responsivePopover.content[0].items.find(t=>t.classList.contains("ui5-tab-overflow-item"))}_findTabInOverflow(t){return this.responsivePopover.open?this.responsivePopover.content[0].items.filter(N).find(i=>i.realTabReference===t):void 0}_onTabStripKeyDown(t){const e=y(t.target);if(e){if(V(t)&&e.realTabReference.movable&&Tt(t.key)){this._moveHeaderItem(e.realTabReference,t),t.preventDefault();return}e.realTabReference.disabled||(wt(t)&&(e.realTabReference.isSingleClickArea?this._onTabStripClick(t):this._onHeaderItemSelect(e)),G(t)&&t.preventDefault(),(U(t)||xt(t))&&(e.realTabReference.requiresExpandButton&&this._onTabExpandButtonClick(t),e.realTabReference.isSingleClickArea&&this._onTabStripClick(t)))}}_onTabStripKeyUp(t){const e=y(t.target);!e||e.realTabReference.disabled||G(t)&&(t.preventDefault(),e.realTabReference.isSingleClickArea?this._onTabStripClick(t):this._onHeaderItemSelect(e))}_onHeaderItemSelect(t){t.hasAttribute("disabled")||this._onItemSelect(t.id)}async _onOverflowListItemClick(t){t.preventDefault(),this._onItemSelect(t.detail.item.id.slice(0,-3)),this._closePopover(),await L();const e=this._getRootTab(this._selectedTab);e==null||e.getDomRefInStrip().focus()}get allItems(){return this._flatten(this.items)}_flatten(t){const e=[];return A(t,i=>{(i.hasAttribute("ui5-tab")||i.hasAttribute("ui5-tab-separator"))&&e.push(i)}),e}_onItemSelect(t){const e=this._itemsFlat.findIndex(r=>r.__id===t),i=this._itemsFlat[e];this.selectTab(i,e)&&this._itemsFlat.forEach(r=>{r.isSeparator||(r.selected=r===i)})}selectTab(t,e){return this.fireDecoratorEvent("tab-select",{tab:t,tabIndex:e})?(this._selectedTab=t,!0):!1}slideContentDown(t){return Ft(t).promise()}slideContentUp(t){return zt(t).promise()}async _onOverflowClick(t){if(t.target.classList.contains("ui5-tc__overflow"))return;const i=t.currentTarget.classList.contains("ui5-tc__overflow--end");let o;i?o=this.overflowButton[0]||this._getEndOverflowBtnDOM():o=this.startOverflowButton[0]||this._getStartOverflowBtnDOM(),await this._togglePopover(o,!0)}_sendOverflowPresentationInfos(t){const e=t.filter(i=>!i.isSeparator).some(i=>i.design!==f.Default&&i.design!==f.Neutral);A(t,(i,o)=>{i.receiveOverflowInfo({getElementInOverflow:()=>this._findTabInOverflow(i),style:{"--_ui5-tab-indentation-level":o,"--_ui5-tab-level-has-icon":e?"1":"0"}})})}async _onOverflowKeyDown(t){const e=t.currentTarget,i=e.classList.contains("ui5-tc__overflow--end"),o=e.classList.contains("ui5-tc__overflow--start");(U(t)||o&&It(t)||i&&St(t))&&(t.stopPropagation(),t.preventDefault(),await this._onOverflowClick(t))}_setItemsForStrip(){const t=this._getTabStrip();let e=0;const i=this.items.map(p=>p.getDomRefInStrip());let o=0;const r=this._getRootTab(this._selectedTab),a=this._getTabStrip().offsetWidth,s=r==null?void 0:r.getDomRefInStrip(),h=i.filter(p=>!p.hidden);h.forEach(p=>{o+=this._getItemWidth(p)});const b=h.length!==i.length&&this.isModeStartAndEnd&&s&&h.indexOf(s)!==-1&&o{e+=this._getItemWidth(p)}),t.offsetWidth=0;c--)t[c].setAttribute("hidden",""),t[c].setAttribute("start-overflow","");return}this._getStartOverflow().removeAttribute("hidden"),this._getEndOverflow().removeAttribute("hidden"),i=this._getTabStrip().offsetWidth,e||(e=this._findFirstVisibleItem(t,i,a.width,a.index-1)),b=this._findLastVisibleItem(t,i,a.width,e);for(let c=e-1;c>=0;c--)t[c].setAttribute("hidden",""),t[c].setAttribute("start-overflow","");for(let c=b+1;c=0;a--)o+=this._getItemWidth(e[a]);let r=t=e.length)return!1;let o=0;for(let a=i.index;a=0;a--){const s=this._getItemWidth(t[a]);if(ei.getDomRefInStrip()).forEach(i=>{i.hasAttribute("start-overflow")&&t++,i.hasAttribute("end-overflow")&&e++}),this._startOverflowText=`+${t}`,this._endOverflowText=`+${e}`}_getFocusableRefs(){if(!this.getDomRef())return[];const t=[];return this._getStartOverflow().hasAttribute("hidden")||t.push(this.startOverflowButton[0]||this._getStartOverflowBtnDOM()),this._getTabs().forEach(e=>{const i=e.getDomRefInStrip();i&&!i.hasAttribute("hidden")&&t.push(e)}),this._getEndOverflow().hasAttribute("hidden")||t.push(this.overflowButton[0]||this._getEndOverflowBtnDOM()),t}_getHeader(){return this.shadowRoot.querySelector(`#${this._id}-header`)}_getTabs(){return this.items.filter(t=>!t.isSeparator)}_getPopoverOwner(t){return t===this._getStartOverflowBtnDOM()||t.slot==="startOverflowButton"?"start-overflow":t===this._getEndOverflowBtnDOM()||t.slot==="overflowButton"?"end-overflow":y(t)}_getPopoverItemsFor(t){return t==="start-overflow"?this.items.filter(e=>{const i=e.getDomRefInStrip();return i&&i.hasAttribute("start-overflow")}):t==="end-overflow"?this.items.filter(e=>{const i=e.getDomRefInStrip();return i&&i.hasAttribute("end-overflow")}):t.realTabReference.items}_setPopoverItems(t){this._sendOverflowPresentationInfos(t);const e=this._flatten(t);yt(this._popoverItemsFlat,e)||(this._popoverItemsFlat=e)}async _togglePopover(t,e=!1){this.responsivePopover=await this._respPopover(),this.responsivePopover.open?this._closePopover():await this._showPopoverAt(t,e)}async _showPopoverAt(t,e=!1,i=!1){this._hasScheduledPopoverOpen=!0,this._setPopoverItems(this._getPopoverItemsFor(this._getPopoverOwner(t))),this.responsivePopover=await this._respPopover(),e&&this._setPopoverInitialFocus(),this._hasScheduledPopoverOpen&&(this.responsivePopover.preventInitialFocus=i,this.responsivePopover.opener=t,this.responsivePopover.open=!0)}get hasItems(){const t=this._getTabs();for(let e=0;e0)return!0;return!1}_getTabStrip(){return this.shadowRoot.querySelector(`#${this._id}-tabStrip`)}_getStartOverflow(){return this.shadowRoot.querySelector(".ui5-tc__overflow--start")}_getEndOverflow(){return this.shadowRoot.querySelector(".ui5-tc__overflow--end")}_getStartOverflowBtnDOM(){return this._getStartOverflow().querySelector("[ui5-button]")}_getEndOverflowBtnDOM(){return this._getEndOverflow().querySelector("[ui5-button]")}async _respPopover(){return await L(),this.shadowRoot.querySelector(`#${this._id}-overflowMenu`)}_closePopover(){this._hasScheduledPopoverOpen=!1,this.responsivePopover&&(this.responsivePopover.open=!1)}get dropIndicatorDOM(){return this.shadowRoot.querySelector("[ui5-drop-indicator]")}_findSiblings(t){let e;return A(this.items,i=>{i.items&&i.items.includes(t)&&(e=i)}),(e??this).items}get mixedMode(){const t=this._getTabs();return t.some(e=>e.icon)&&t.some(e=>e.text)}get textOnly(){return this._getTabs().every(t=>!t.icon)}get withAdditionalText(){return this._getTabs().some(t=>!!t.additionalText)}get standardTabLayout(){return this.tabLayout===Y.Standard}get previousIconACCName(){return T.i18nBundle.getText(Ot)}get nextIconACCName(){return T.i18nBundle.getText(Ct)}get overflowMenuTitle(){return T.i18nBundle.getText(At)}get tabsAtTheBottom(){return this.tabsPlacement===ee.Bottom}get overflowMenuIcon(){return this.tabsAtTheBottom?"slim-arrow-up":"slim-arrow-down"}get overflowButtonText(){return T.i18nBundle.getText(at)}get popoverCancelButtonText(){return T.i18nBundle.getText(Et)}get accInvisibleText(){return T.i18nBundle.getText(Dt)}get overflowBtnAccessibilityAttributes(){return{hasPopup:"menu"}}get tablistAriaDescribedById(){return this.hasItems?`${this._id}-invisibleText`:void 0}};_([u({type:Boolean})],d.prototype,"collapsed",void 0);_([u()],d.prototype,"tabLayout",void 0);_([u()],d.prototype,"overflowMode",void 0);_([u()],d.prototype,"headerBackgroundDesign",void 0);_([u()],d.prototype,"contentBackgroundDesign",void 0);_([u()],d.prototype,"tabsPlacement",void 0);_([u({type:Boolean})],d.prototype,"noAutoSelection",void 0);_([u()],d.prototype,"mediaRange",void 0);_([u({type:Object})],d.prototype,"_selectedTab",void 0);_([u({type:Boolean,noAttribute:!0})],d.prototype,"_animationRunning",void 0);_([u({type:Boolean,noAttribute:!0})],d.prototype,"_contentCollapsed",void 0);_([u({noAttribute:!0})],d.prototype,"_startOverflowText",void 0);_([u({noAttribute:!0})],d.prototype,"_endOverflowText",void 0);_([u({type:Array,noAttribute:!0})],d.prototype,"_popoverItemsFlat",void 0);_([u({type:Number,noAttribute:!0})],d.prototype,"_width",void 0);_([C({default:!0,type:HTMLElement,individualSlots:!0,invalidateOnChildChange:{properties:!0,slots:!0}})],d.prototype,"items",void 0);_([C()],d.prototype,"overflowButton",void 0);_([C()],d.prototype,"startOverflowButton",void 0);_([te("[data-ui5-stable=overflow-start],[data-ui5-stable=overflow-end],[role=tab]")],d.prototype,"_onHeaderDragOver",null);_([et("@ui5/webcomponents")],d,"i18nBundle",void 0);d=T=_([it({tag:"ui5-tabcontainer",languageAware:!0,fastNavigation:!0,styles:[nt,se,ht],renderer:rt,template:ne}),k("tab-select",{bubbles:!0,cancelable:!0}),k("move-over",{bubbles:!0,cancelable:!0}),k("move",{bubbles:!0})],d);const st=n=>n.localName==="div"&&n.getAttribute("role")==="tab",y=n=>{for(;n;){if(st(n))return n;n=n.parentElement}return!1},lt=(n,t,e)=>{[...n].forEach(i=>{t(i,e),i.hasAttribute("ui5-tab")&&i.items&<(i.items,t,e+1)})},A=(n,t)=>{lt(n,t,0)};d.define();const j=d,N=n=>n!==void 0&&"realTabReference"in n;function ce(){return g("div",{id:this._id,class:"ui5-tab-root","data-ui5-stable":this.stableDomRef,children:[l("slot",{name:this._defaultSlotName}),this.tabs.map(n=>l("slot",{name:n._effectiveSlotName}))]})}function de(){return l("span",{class:this.stripClasses.additionalTextClasses,id:`${this._id}-additionalText`,children:this.additionalText})}function ue(){return g("div",{id:this._id,class:this.stripClasses.itemClasses,tabindex:-1,role:"tab","aria-roledescription":this._roleDescription,"aria-haspopup":this._ariaHasPopup,"aria-posinset":this._forcedPosinset,"aria-setsize":this._forcedSetsize,"aria-controls":"ui5-tc-content","aria-selected":this.effectiveSelected,"aria-disabled":this.effectiveDisabled,"aria-labelledby":this.ariaLabelledBy,draggable:this.movable,onDragStart:this._ondragstart,onDragEnd:this._ondragend,ref:this.captureRef.bind(this),children:[this.icon&&l("div",{class:"ui5-tab-strip-item-icon-outer",children:l(O,{id:`${this._id}-icon`,name:this.icon,class:"ui5-tab-strip-item-icon"})}),this._designDescription&&l("div",{id:`${this._id}-designDescription`,class:"ui5-tab-strip-design-description",children:this._designDescription}),g("div",{class:"ui5-tab-strip-itemContent",children:[!this._isInline&&de.call(this),this.text&&g("span",{class:"ui5-tab-strip-itemText",id:`${this._id}-text`,children:[this.semanticIconName&&l(O,{class:this.semanticIconClasses,name:this.semanticIconName}),this.displayText,this.isSingleClickArea&&l("span",{class:"ui5-tab-single-click-icon",children:l(O,{name:X})})]})]}),this.requiresExpandButton&&g(W,{children:[l("div",{class:"ui5-tab-expand-button-separator"}),l("div",{class:"ui5-tab-expand-button",children:l(E,{ref:this.captureButtonRef.bind(this),icon:X,design:"Transparent",tabindex:-1,disabled:this.disabled,tooltip:this.expandButtonTitle,accessibilityAttributes:this.expandBtnAccessibilityAttributes})})]})]})}function _e(){return l(Pt,{id:`${this._id}-li`,class:this.overflowClasses,style:this._forcedStyleInOverflow,type:this.overflowState,disabled:this.effectiveDisabled,selected:this.selected,movable:this.movable,ref:this.captureRef.bind(this),children:l("div",{class:"ui5-tab-overflow-itemContent-wrapper",children:g("div",{class:"ui5-tab-overflow-itemContent",children:[this.semanticIconName&&l(O,{class:this.semanticIconClasses,name:this.semanticIconName}),this.icon&&l(O,{name:this.icon}),this.text,this.additionalText&&g(W,{children:[" (",this.additionalText,")"]}),this._designDescription&&l("div",{id:`${this._id}-designDescription`,class:"ui5-hidden-text",children:this._designDescription})]})})})}w("@ui5/webcomponents-theming","sap_horizon",async()=>D);w("@ui5/webcomponents","sap_horizon",async()=>P,"host");const he=`:host{display:inline-block;width:100%}.ui5-tab-root{width:100%;height:100%} -`;w("@ui5/webcomponents-theming","sap_horizon",async()=>D);w("@ui5/webcomponents","sap_horizon",async()=>P,"host");const pe=`.ui5-tab-semantic-icon{display:var(--_ui5_tc_headerItemSemanticIcon_display);height:var(--_ui5_tc_headerItemSemanticIcon_size);width:var(--_ui5_tc_headerItemSemanticIcon_size);margin-inline-end:.5rem}.ui5-tab-semantic-icon--positive{color:var(--sapPositiveTextColor)}.ui5-tab-semantic-icon--negative{color:var(--sapNegativeTextColor)}.ui5-tab-semantic-icon--critical{color:var(--sapCriticalTextColor)}.ui5-tab-strip-item{height:var(--_ui5_tc_header_height);color:var(--_ui5_tc_headerItem_color);cursor:pointer;padding:0 var(--_ui5_tc_headeritem_padding);font-size:var(--sapFontSmallSize);font-weight:var(--_ui5_tc_headeritem_text_font_weight);position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;min-width:2rem;max-width:100%;box-sizing:border-box;outline:none}.ui5-tab-strip-item[data-moving]{background-color:var(--ui5_tc_header_active_background_color)}.ui5-tab-strip-itemText{position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ui5-tc__separator[hidden],.ui5-tab-strip-item[hidden],.ui5-tab-strip-item--textOnly[hidden],.ui5-tab-strip-item.ui5-tab-strip-item--textOnly.ui5-tab-strip-item--inline[hidden],.ui5-tab-strip-design-description{display:none}.ui5-tab-strip-itemContent{display:flex;height:100%;min-width:0;justify-content:center;flex-direction:column;border:var(--_ui5_tc_headerItemContent_default_focus_border);border-radius:var(--_ui5_tc_headerItemContent_focus_border_radius);transition:var(--_ui5_tc_headerItem_transition)}.ui5-tab-expand-button{display:flex;flex-direction:column;justify-content:center;position:relative;z-index:1;background-color:var(--_ui5_tc_header_background);padding-inline-end:.188rem}.ui5-tab-expand-button>[ui5-button]{height:1.5rem;min-width:1.5rem;margin-inline-start:var(--_ui5_tc_headerItem_expand_button_margin_inline_start);--_ui5_button_border_radius: var(--_ui5_tc_headerItem_expand_button_border_radius);--_ui5_button_focused_border_radius: var(--_ui5_tc_headerItem_expand_button_border_radius)}.ui5-tab-expand-button>[ui5-button]:not([active]){color:var(--_ui5_tc_headerItem_color)}.ui5-tab-strip-item--selected .ui5-tab-expand-button>[ui5-button]:not([active]){color:var(--_ui5_tc_headerItem_text_selected_color)}.ui5-tab-expand-button>[ui5-button]:hover:not([active]){color:var(--_ui5_tc_headerItem_text_selected_hover_color)}.ui5-tab-expand-button-separator{display:var(--_ui5_tc_headerItem_expand_button_separator_display);position:relative;width:.0625rem;right:-.0625rem;height:.625rem;background:var(--sapTextColor);margin-inline-start:.0625rem;z-index:2;margin-left:.625rem}.ui5-tab-expand-button:hover{z-index:2}.ui5-tab-strip-item--selected .ui5-tab-expand-button-separator{background:var(--_ui5_tc_headerItem_text_selected_color)}.ui5-tab-single-click-icon{margin-inline-start:var(--_ui5_tc_headerItem_single_click_expand_button_margin_inline_start)}.ui5-tab-strip-item--selected.ui5-tab-strip-item--textOnly{color:var(--_ui5_tc_headerItem_text_selected_color)}.ui5-tab-strip-item--selected.ui5-tab-strip-item--singleClickArea .ui5-tab-strip-itemText .ui5-tab-single-click-icon>[ui5-icon]{color:var(--_ui5_tc_headerItem_text_selected_color)}.ui5-tab-strip-item--singleClickArea .ui5-tab-strip-itemText{display:flex;align-items:center}.ui5-tab-strip-item--singleClickArea .ui5-tab-strip-itemText .ui5-tab-single-click-icon{display:flex}.ui5-tab-strip-item--singleClickArea .ui5-tab-strip-itemText .ui5-tab-single-click-icon>[ui5-icon]{color:var(--_ui5_tc_headerItem_color)}.ui5-tab-strip-item--textOnly:not(.ui5-tab-strip-item--twoClickArea):not(.ui5-tab-strip-item--selected):not(.ui5-tab-strip-item--negative):hover,.ui5-tab-strip-item--twoClickArea:not(.ui5-tab-strip-item--selected):not(.ui5-tab-strip-item--negative) .ui5-tab-strip-itemContent:hover,.ui5-tab-strip-item--singleClickArea:not(.ui5-tab-strip-item--selected):not(.ui5-tab-strip-item--disabled):hover .ui5-tab-single-click-icon>[ui5-icon]{color:var(--_ui5_tc_headerItem_text_hover_color)}.ui5-tab-strip-item--selected.ui5-tab-strip-item--textOnly .ui5-tab-strip-itemContent:after,.ui5-tab-strip-item--selected.ui5-tab-strip-item--mixedMode .ui5-tab-strip-itemContent:after,.ui5-tab-strip-item--selected .ui5-tab-strip-item-icon-outer:after{content:"";position:absolute;bottom:0;left:0;right:0;border-bottom:var(--sapTab_Selected_Indicator_Dimension) solid var(--sapTab_ForegroundColor);border-radius:var(--_ui5_tc_headerItemContent_border_radius);background-color:var(--_ui5_tc_headerItemContent_border_bg);height:var(--_ui5_tc_headerItemContent_border_height)}.ui5-tab-strip-item--selected.ui5-tab-strip-item--textOnly .ui5-tab-strip-itemContent:after,.ui5-tab-strip-item--selected.ui5-tab-strip-item--mixedMode .ui5-tab-strip-itemContent:after{left:var(--_ui5_tc_headeritem_padding);right:var(--_ui5_tc_headeritem_padding)}.ui5-tab-strip-item--selected .ui5-tab-strip-item-icon-outer:after{bottom:-1rem}.ui5-tab-strip-item--disabled{cursor:default;opacity:var(--sapContent_DisabledOpacity)}:host([desktop]) .ui5-tab-strip-item--textOnly:focus:not([data-moving]) .ui5-tab-strip-itemText:before,.ui5-tab-strip-item--textOnly:focus-visible:not([data-moving]) .ui5-tab-strip-itemText:before,:host([desktop]) .ui5-tab-strip-item--inline.ui5-tab-strip-item--textOnly:focus:not([data-moving]) .ui5-tab-strip-itemText:before,.ui5-tab-strip-item--inline.ui5-tab-strip-item--textOnly:focus-visible:not([data-moving]) .ui5-tab-strip-itemText:before{border-radius:var(--_ui5_tc_headerItem_focus_border_radius);content:"";pointer-events:none;position:absolute;border:var(--_ui5_tc_headerItem_focus_border);left:var(--_ui5_tc_headerItem_text_focus_border_offset_left);right:var(--_ui5_tc_headerItem_text_focus_border_offset_right);top:var(--_ui5_tc_headerItem_text_focus_border_offset_top);bottom:var(--_ui5_tc_headerItem_text_focus_border_offset_bottom)}:host([desktop]) .ui5-tab-strip-item--mixedMode:focus:not([data-moving]) .ui5-tab-strip-itemContent:before,.ui5-tab-strip-item--mixedMode:focus-visible:not([data-moving]) .ui5-tab-strip-itemContent:before{border-radius:var(--_ui5_tc_headerItem_focus_border_radius);content:"";pointer-events:none;position:absolute;border:var(--_ui5_tc_headerItem_focus_border);left:var(--_ui5_tc_headerItem_mixed_mode_focus_border_offset_left);right:var(--_ui5_tc_headerItem_mixed_mode_focus_border_offset_right);top:var(--_ui5_tc_headerItem_mixed_mode_focus_border_offset_top);bottom:var(--_ui5_tc_headerItem_mixed_mode_focus_border_offset_bottom)}:host([desktop]) .ui5-tab-strip-item--withIcon:focus:not([data-moving]) .ui5-tab-strip-item-icon-outer:before,.ui5-tab-strip-item--withIcon:focus-visible:not([data-moving]) .ui5-tab-strip-item-icon-outer:before{content:"";pointer-events:none;position:absolute;border:var(--_ui5_tc_headerItem_focus_border);left:var(--_ui5_tc_headerItem_focus_border_offset);right:var(--_ui5_tc_headerItem_focus_border_offset);top:var(--_ui5_tc_headerItem_focus_border_offset);bottom:var(--_ui5_tc_headerItem_focus_border_offset);border-radius:var(--_ui5_tc_headerItemIcon_focus_border_radius)}.ui5-tab-strip-item-icon-outer{display:flex;justify-content:center;align-items:center;position:relative;border:var(--_ui5_tc_headerItemIcon_border);border-radius:50%;margin-inline-end:.25rem;height:var(--_ui5_tc_item_icon_circle_size);width:var(--_ui5_tc_item_icon_circle_size);pointer-events:none;background-color:var(--sapTab_Background)}.ui5-tab-strip-item-icon{width:var(--_ui5_tc_item_icon_size);height:var(--_ui5_tc_item_icon_size);color:var(--sapTab_IconColor);text-shadow:var(--sapContent_TextShadow);pointer-events:none}.ui5-tab-strip-item--selected .ui5-tab-strip-item-icon-outer{background-color:var(--sapTab_Selected_Background)}.ui5-tab-strip-item--selected .ui5-tab-strip-item-icon{color:var(--sapTab_Selected_IconColor);text-shadow:none}.ui5-tab-strip-itemAdditionalText+.ui5-tab-strip-itemText{display:flex}.ui5-tab-strip-itemAdditionalText-hidden{visibility:hidden;margin-top:1.25rem}.ui5-tab-strip-item--inline .ui5-tab-strip-itemAdditionalText+.ui5-tab-strip-itemText{display:inline}.ui5-tab-strip-item--withIcon .ui5-tab-strip-itemAdditionalText+.ui5-tab-strip-itemText{margin-block-start:var(--_ui5_tc_item_add_text_margin_top)}.ui5-tab-strip-item--textOnly,.ui5-tab-strip-item.ui5-tab-strip-item--textOnly.ui5-tab-strip-item--inline{font-size:var(--sapFontSize);height:var(--_ui5_tc_item_text_only_height);display:flex;align-items:center;line-height:var(--_ui5_tc_item_text_line_height)}.ui5-tab-strip-item--textOnly .ui5-tab-strip-itemText{padding:0 .188rem}.ui5-tab-strip-item--textOnly.ui5-tab-strip-item--withAdditionalText{justify-content:flex-start;height:var(--_ui5_tc_item_text_only_with_additional_text_height)}.ui5-tab-strip-item--mixedMode .ui5-tab-strip-itemText,.ui5-tab-strip-item--mixedMode .ui5-tab-strip-itemAdditionalText{display:inline-block;vertical-align:middle}.ui5-tab-strip-item--mixedMode .ui5-tab-strip-itemContent{flex-direction:row;align-items:center}.ui5-tab-strip-item--mixedMode .ui5-tab-strip-itemAdditionalText{font-size:1.5rem;margin-inline-end:.5rem}.ui5-tab-strip-item--mixedMode .ui5-tab-strip-itemText{color:var(--_ui5_tc_mixedMode_itemText_color);font-family:var(--_ui5_tc_mixedMode_itemText_font_family);font-size:var(--_ui5_tc_mixedMode_itemText_font_size);font-weight:var(--_ui5_tc_mixedMode_itemText_font_weight)}.ui5-tab-strip-item--positive.ui5-tab-strip-item--textOnly .ui5-tab-strip-itemText,.ui5-tab-strip-item--positive .ui5-tab-strip-item-icon-outer{color:var(--sapTab_Positive_TextColor);border-color:var(--sapTab_Positive_ForegroundColor)}.ui5-tab-strip-item--selected.ui5-tab-strip-item--positive.ui5-tab-strip-item--textOnly .ui5-tab-strip-itemText{color:var(--sapTab_Positive_Selected_TextColor)}.ui5-tab-strip-item--positive .ui5-tab-strip-item-icon{color:var(--sapTab_Positive_IconColor)}.ui5-tab-strip-item--positive.ui5-tab-strip-item--selected .ui5-tab-strip-item-icon-outer{background-color:var(--sapTab_Positive_Selected_Background);color:var(--_ui5_tc_headerItemIcon_semantic_selected_color)}.ui5-tab-strip-item--positive.ui5-tab-strip-item--selected .ui5-tab-strip-item-icon{color:var(--sapTab_Positive_Selected_IconColor)}.ui5-tab-strip-item.ui5-tab-strip-item--neutral .ui5-tab-strip-itemContent:after,.ui5-tab-strip-item--neutral .ui5-tab-strip-item-icon-outer:after{border-color:var(--_ui5_tc_headerItem_neutral_border_color);background-color:var(--_ui5_tc_headerItem_neutral_border_bg)}.ui5-tab-strip-item--selected.ui5-tab-strip-item--neutral.ui5-tab-strip-item--textOnly .ui5-tab-strip-itemText{color:var(--sapTab_Neutral_Selected_TextColor)}.ui5-tab-strip-item.ui5-tab-strip-item--positive .ui5-tab-strip-itemContent:after,.ui5-tab-strip-item--positive .ui5-tab-strip-item-icon-outer:after{border-color:var(--sapTab_Positive_ForegroundColor);background-color:var(--_ui5_tc_headerItem_positive_border_bg)}.ui5-tab-strip-item--negative.ui5-tab-strip-item--textOnly .ui5-tab-strip-itemText,.ui5-tab-strip-item--negative .ui5-tab-strip-item-icon-outer{color:var(--sapTab_Negative_TextColor);border-color:var(--sapTab_Negative_ForegroundColor)}.ui5-tab-strip-item--selected.ui5-tab-strip-item--negative.ui5-tab-strip-item--textOnly .ui5-tab-strip-itemText{color:var(--sapTab_Negative_Selected_TextColor)}.ui5-tab-strip-item--negative .ui5-tab-strip-item-icon{color:var(--sapTab_Negative_IconColor)}.ui5-tab-strip-item--negative.ui5-tab-strip-item--selected .ui5-tab-strip-item-icon-outer{background-color:var(--sapTab_Negative_Selected_Background)}.ui5-tab-strip-item--negative.ui5-tab-strip-item--selected .ui5-tab-strip-item-icon{color:var(--sapTab_Negative_Selected_IconColor)}.ui5-tab-strip-item.ui5-tab-strip-item--negative .ui5-tab-strip-itemContent:after,.ui5-tab-strip-item--negative .ui5-tab-strip-item-icon-outer:after{border-color:var(--sapTab_Negative_ForegroundColor);background-color:var(--_ui5_tc_headerItem_negative_border_bg)}.ui5-tab-strip-item--critical.ui5-tab-strip-item--textOnly .ui5-tab-strip-itemText,.ui5-tab-strip-item--critical .ui5-tab-strip-item-icon-outer{color:var(--sapTab_Critical_TextColor);border-color:var(--sapTab_Critical_ForegroundColor)}.ui5-tab-strip-item--selected.ui5-tab-strip-item--critical.ui5-tab-strip-item--textOnly .ui5-tab-strip-itemText{color:var(--sapTab_Critical_Selected_TextColor)}.ui5-tab-strip-item--critical .ui5-tab-strip-item-icon{color:var(--sapTab_Critical_IconColor)}.ui5-tab-strip-item--critical.ui5-tab-strip-item--selected .ui5-tab-strip-item-icon-outer{background-color:var(--sapTab_Critical_Selected_Background)}.ui5-tab-strip-item--critical.ui5-tab-strip-item--selected .ui5-tab-strip-item-icon{color:var(--sapTab_Critical_Selected_IconColor)}.ui5-tab-strip-item.ui5-tab-strip-item--critical .ui5-tab-strip-itemContent:after,.ui5-tab-strip-item--critical .ui5-tab-strip-item-icon-outer:after{border-color:var(--sapTab_Critical_ForegroundColor);background-color:var(--_ui5_tc_headerItem_critical_border_bg)}.ui5-tab-strip-item--neutral.ui5-tab-strip-item--textOnly .ui5-tab-strip-itemText,.ui5-tab-strip-item--neutral .ui5-tab-strip-item-icon-outer{color:var(--sapTab_Neutral_TextColor);border-color:var(--sapTab_Neutral_ForegroundColor)}.ui5-tab-strip-item--neutral .ui5-tab-strip-item-icon{color:var(--sapTab_Neutral_IconColor)}.ui5-tab-strip-item--neutral.ui5-tab-strip-item--selected .ui5-tab-strip-item-icon-outer{background-color:var(--sapTab_Neutral_Selected_Background)}.ui5-tab-strip-item--neutral.ui5-tab-strip-item--selected .ui5-tab-strip-item-icon{color:var(--sapTab_Neutral_Selected_IconColor)}.ui5-tab-strip-item.ui5-tab-strip-item--neutral .ui5-tab-strip-itemContent:after,.ui5-tab-strip-item--neutral .ui5-tab-strip-item-icon:after{border-color:var(--_ui5_tc_headerItem_neutral_border_color);background-color:var(--_ui5_tc_headerItem_neutral_border_bg)}.ui5-tab-strip-item--withIcon .ui5-tab-strip-itemContent .ui5-tab-strip-itemAdditionalText{padding:0}.ui5-tab-strip-item .ui5-tab-strip-itemAdditionalText{padding:0 .188rem;color:var(--_ui5_tc_headerItem_additional_text_color);font-weight:var(--_ui5_tc_headerItem_additional_text_font_weight)}.ui5-tab-strip-item.ui5-tab-strip-item--mixedMode .ui5-tab-strip-itemAdditionalText{color:var(--_ui5_tc_headerItem_color)} -`;w("@ui5/webcomponents-theming","sap_horizon",async()=>D);w("@ui5/webcomponents","sap_horizon",async()=>P,"host");const be=`.ui5-tab-semantic-icon{display:var(--_ui5_tc_headerItemSemanticIcon_display);height:var(--_ui5_tc_headerItemSemanticIcon_size);width:var(--_ui5_tc_headerItemSemanticIcon_size);margin-inline-end:.5rem}.ui5-tab-semantic-icon--positive{color:var(--sapPositiveTextColor)}.ui5-tab-semantic-icon--negative{color:var(--sapNegativeTextColor)}.ui5-tab-semantic-icon--critical{color:var(--sapCriticalTextColor)}.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}.ui5-tab-overflow-item{color:var(--_ui5_tc_overflowItem_default_color)}.ui5-tab-overflow-item--disabled{cursor:default;opacity:var(--sapContent_DisabledOpacity)}.ui5-tab-overflow-item[hidden]{display:none}.ui5-tab-overflow-item--positive:not(.ui5-tab-overflow-item--disabled) .ui5-tab-overflow-itemContent{color:var(--_ui5_tc_overflowItem_positive_color)}.ui5-tab-overflow-item--negative:not(.ui5-tab-overflow-item--disabled) .ui5-tab-overflow-itemContent{color:var(--_ui5_tc_overflowItem_negative_color)}.ui5-tab-overflow-item--critical:not(.ui5-tab-overflow-item--disabled) .ui5-tab-overflow-itemContent{color:var(--_ui5_tc_overflowItem_critical_color)}.ui5-tab-overflow-item[active] .ui5-tab-overflow-itemContent{color:var(--sapList_Active_TextColor)}.ui5-tab-overflow-itemContent{display:flex;align-items:center;position:relative;height:var(--_ui5_tc_item_text);pointer-events:none;font-size:.875rem}.ui5-tab-overflow-itemContent-wrapper{padding-inline-start:calc((calc(var(--_ui5-tab-indentation-level) + var(--_ui5-tab-level-has-icon) * var(--_ui5_tc_overflowItem_additional, 0))) * (var(--_ui5_tc_overflowItem_indent) + var(--_ui5_tc_overflowItem_extra_indent)))}.ui5-tab-overflow-item .ui5-tab-semantic-icon{position:absolute;inset-inline-start:-1.25rem}.ui5-tab-overflow-item--selectedSubTab{background-color:var(--sapList_SelectionBackgroundColor)}.ui5-tab-overflow-item [ui5-icon]:not(.ui5-tab-semantic-icon){width:1.375rem;height:1.375rem;padding-inline-end:.75rem;color:var(--_ui5_tc_overflowItem_current_color)}.ui5-tab-container-responsive-popover [ui5-li-custom][focused]::part(native-li):after{inset:var(--_ui5_tc_overflowItem_focus_offset)}.ui5-tab-container-responsive-popover::part(content){padding:0} -`;var v=function(n,t,e,i){var o=arguments.length,r=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(n,t,e,i);else for(var s=n.length-1;s>=0;s--)(a=n[s])&&(r=(o<3?a(r):o>3?a(t,e,r):a(t,e))||r);return o>3&&r&&Object.defineProperty(t,e,r),r},I;const fe={[f.Positive]:Mt,[f.Negative]:Bt,[f.Neutral]:kt,[f.Critical]:Rt};let m=I=class extends ot{constructor(){super(...arguments),this.disabled=!1,this.design="Default",this.selected=!1,this.movable=!1,this._isTopLevelTab=!1}set forcedTabIndex(t){this.getDomRefInStrip().setAttribute("tabindex",t)}get forcedTabIndex(){return this.getDomRefInStrip().getAttribute("tabindex")}get displayText(){let t=this.text;return this._isInline&&this.additionalText&&(t+=` (${this.additionalText})`),t}get isSeparator(){return!1}get stripPresentation(){return Z(I.stripTemplate,this)}get overflowPresentation(){return Z(I.overflowTemplate,this)}get stableDomRef(){return this.getAttribute("stable-dom-ref")||`${this._id}-stable-dom-ref`}get requiresExpandButton(){return this.items.length>0&&this._isTopLevelTab&&this.hasOwnContent}get isSingleClickArea(){return this.items.length>0&&this._isTopLevelTab&&!this.hasOwnContent}get isTwoClickArea(){return this.items.length>0&&this._isTopLevelTab&&this.hasOwnContent}get isOnSelectedTabPath(){return this._selectedTabReference===this||this.tabs.some(t=>t.isOnSelectedTabPath)}get _effectiveSlotName(){return this.isOnSelectedTabPath?this._individualSlot:`disabled-${this._individualSlot}`}get _defaultSlotName(){return this._selectedTabReference===this?"":"disabled-slot"}get hasOwnContent(){return Lt(this.content)}get expandBtnAccessibilityAttributes(){return{hasPopup:"menu"}}receiveStripInfo({getElementInStrip:t,posinset:e,setsize:i,isInline:o,isTopLevelTab:r,mixedMode:a}){this._getElementInStrip=t,this._forcedPosinset=e,this._forcedSetsize=i,this._forcedMixedMode=a,this._isInline=o,this._isTopLevelTab=!!r}receiveOverflowInfo({getElementInOverflow:t,style:e}){this._getElementInOverflow=t,this._forcedStyleInOverflow=e}getDomRefInStrip(){var t;return(t=this._getElementInStrip)==null?void 0:t.call(this)}getFocusDomRef(){var e,i;let t=(e=this._getElementInOverflow)==null?void 0:e.call(this);return t||(t=(i=this._getElementInStrip)==null?void 0:i.call(this)),t}async focus(t){return await L(),super.focus(t)}get isMixedModeTab(){return!this.icon&&this._forcedMixedMode}get isTextOnlyTab(){return!this.icon&&!this._forcedMixedMode}get isIconTab(){return!!this.icon}get effectiveDisabled(){return this.disabled||void 0}get effectiveSelected(){const t=this.tabs.some(e=>e.effectiveSelected);return this.selected||this._selectedTabReference===this||t}get effectiveHidden(){return!this.effectiveSelected}get tabs(){return this.items.filter(t=>!t.isSeparator)}get ariaLabelledBy(){const t=[];return this.text&&t.push(`${this._id}-text`),this.additionalText&&t.push(`${this._id}-additionalText`),this.icon&&t.push(`${this._id}-icon`),this._designDescription&&t.push(`${this._id}-designDescription`),t.join(" ")}get stripClasses(){const t=["ui5-tab-strip-item"];return this.effectiveSelected&&t.push("ui5-tab-strip-item--selected"),this.disabled&&t.push("ui5-tab-strip-item--disabled"),this._isInline&&t.push("ui5-tab-strip-item--inline"),this.additionalText&&t.push("ui5-tab-strip-item--withAdditionalText"),!this.icon&&!this._forcedMixedMode&&t.push("ui5-tab-strip-item--textOnly"),this.icon&&t.push("ui5-tab-strip-item--withIcon"),!this.icon&&this._forcedMixedMode&&t.push("ui5-tab-strip-item--mixedMode"),this.design!==f.Default&&t.push(`ui5-tab-strip-item--${this.design.toLowerCase()}`),this.isSingleClickArea&&t.push("ui5-tab-strip-item--singleClickArea"),this.isTwoClickArea&&t.push("ui5-tab-strip-item--twoClickArea"),{itemClasses:t.join(" "),additionalTextClasses:this.additionalTextClasses}}get additionalTextClasses(){const t=[];return this.additionalText&&t.push("ui5-tab-strip-itemAdditionalText"),this.icon&&!this.additionalText&&t.push("ui5-tab-strip-itemAdditionalText-hidden"),t.join(" ")}get expandButtonTitle(){return I.i18nBundle.getText(at)}get _roleDescription(){return this.items.length>0?I.i18nBundle.getText($t):void 0}get _ariaHasPopup(){return this.isSingleClickArea?"menu":void 0}get semanticIconName(){switch(this.design){case f.Positive:return"sys-enter-2";case f.Negative:return"error";case f.Critical:return"alert";default:return null}}get _designDescription(){return this.design===f.Default?null:I.i18nBundle.getText(fe[this.design])}get semanticIconClasses(){const t=["ui5-tab-semantic-icon"];return this.design!==f.Default&&this.design!==f.Neutral&&t.push(`ui5-tab-semantic-icon--${this.design.toLowerCase()}`),t.join(" ")}get overflowClasses(){const t=["ui5-tab-overflow-item"];return this.design!==f.Default&&this.design!==f.Neutral&&t.push(`ui5-tab-overflow-item--${this.design.toLowerCase()}`),this.effectiveDisabled&&t.push("ui5-tab-overflow-item--disabled"),this.selected&&t.push("ui5-tab-overflow-item--selectedSubTab"),t.join(" ")}get overflowState(){return this.disabled||this.isSingleClickArea?Q.Inactive:Q.Active}static get stripTemplate(){return ue}static get overflowTemplate(){return _e}_ondragstart(t){t.target instanceof HTMLElement&&(S.setDraggedElement(this,t),t.target.setAttribute("data-moving",""))}_ondragend(t){t.target instanceof HTMLElement&&(S.clearDraggedElement(),t.target.removeAttribute("data-moving"))}captureRef(t){t&&(t.realTabReference=this)}captureButtonRef(t){t&&(t.tab=this)}};v([u()],m.prototype,"text",void 0);v([u({type:Boolean})],m.prototype,"disabled",void 0);v([u()],m.prototype,"additionalText",void 0);v([u()],m.prototype,"icon",void 0);v([u()],m.prototype,"design",void 0);v([u({type:Boolean})],m.prototype,"selected",void 0);v([u({type:Boolean})],m.prototype,"movable",void 0);v([u({type:Boolean})],m.prototype,"_isTopLevelTab",void 0);v([u({type:Object})],m.prototype,"_selectedTabReference",void 0);v([C({type:Node,default:!0,invalidateOnChildChange:{properties:!0,slots:!1}})],m.prototype,"content",void 0);v([C({type:HTMLElement,individualSlots:!0,invalidateOnChildChange:{properties:!0,slots:!1}})],m.prototype,"items",void 0);v([et("@ui5/webcomponents")],m,"i18nBundle",void 0);m=I=v([it({tag:"ui5-tab",languageAware:!0,renderer:rt,template:ce,styles:he})],m);m.define();j.registerTabStyles(pe);j.registerTabStyles(Nt);j.registerTabStyles(be); diff --git a/app/vue/dist/assets/TableHeaderRow-BwRbRfkI.js b/app/vue/dist/assets/TableHeaderRow-BwRbRfkI.js deleted file mode 100644 index d6d34dc6..00000000 --- a/app/vue/dist/assets/TableHeaderRow-BwRbRfkI.js +++ /dev/null @@ -1,8 +0,0 @@ -import{cx as ve,bZ as r,b_ as P,u as R,bB as _,bv as E,bu as S,br as C,cG as c,bN as ee,c5 as D,d9 as te,am as ie,ck as u,J as we,j as ue,aj as Ce,h as ye,g as Re,bT as Ae,A as se,bd as _e,aK as xe,cL as U,aL as Pe,aF as Te,B as Ee,m as Se,bP as De,be as N,D as Be,ai as Ne,ae as Ie,ad as ke,b6 as Oe,ac as Fe,$ as Le,ca as We,bY as He,cv as Me,d8 as $e,aY as ze,k as ae,L as je,b9 as Ge,bQ as Ze,c7 as Ke,bc as H,bJ as M,ay as pe,aB as Ve,aE as Ue,aJ as qe,aG as Ye,aD as Je,aH as Xe,c1 as j,bC as le,aA as Qe,a as et,db as O,I as fe,v as ge,x as q,y as tt,aM as it,aI as ot,aC as nt,aN as st,az as at}from"./index-Cmc-xxmd.js";const lt=ve("isTable"),rt=s=>{for(;s;){const{overflowY:e}=window.getComputedStyle(s);if(e==="auto"||e==="scroll")return s;s.parentNode instanceof ShadowRoot?s=s.parentNode.host:s=s.parentElement}return document.scrollingElement||document.documentElement},ct=(s,e,t,i)=>{if(t.length===0)return;const o=e.getBoundingClientRect(),n=i?"right":"left",{x:a,y:l}=t.reduce(({x:W,y:V},ne)=>{const{top:be,[n]:me}=getComputedStyle(ne),B=ne.getBoundingClientRect();return be!=="auto"&&B.bottom>o.top&&(V=Math.max(V,B.bottom)),me!=="auto"&&(!i&&B.right>o.left?W=Math.max(W,B.right):i&&B.lefts.identifier===e,k=(s,e,t,i)=>{t?i===void 0?s.toggleAttribute(e,!0):s.setAttribute(e,i):s.hasAttribute(e)&&s.removeAttribute(e)},ce=s=>{const e=document.createElement("div");return e.style.width=`max(3rem, ${s})`,e.style.width!==""};function dt(){return r(R,{children:this._popin?P(R,{children:[r("div",{id:"popin-header",ref:this._injectHeaderNodes.bind(this)}),r("span",{id:"popin-colon","aria-hidden":"true",children:this._i18nPopinColon}),r("slot",{id:"popin-content"})]}):r("slot",{})})}_("@ui5/webcomponents-theming","sap_horizon",async()=>E);_("@ui5/webcomponents","sap_horizon",async()=>S,"host");const ht=`:host{border-top:var(--sapList_BorderWidth) solid var(--sapList_BorderColor)}:host([merged]),:host([data-border-merged]){--_ui5_table_cell_merged_border_color: var(--_ui5_table_cell_border_merged) transparent;border-top-color:var(--_ui5_table_cell_merged_border_color, var(--sapList_BorderColor))}:host([merged]) ::slotted(*){--_ui5_table_cell_merged_content_opacity: var(--_ui5_table_cell_content_merged) 0;opacity:var(--_ui5_table_cell_merged_content_opacity, 1);transition:opacity .3s ease}:host([_popin]){padding-inline-start:0;padding-inline-end:0;align-items:center;border-top:none}:host([_popin]) #popin-header{color:var(--sapContent_LabelColor)}#popin-colon{padding-inline-end:.5rem;white-space:pre}#popin-header{display:contents} -`;_("@ui5/webcomponents-theming","sap_horizon",async()=>E);_("@ui5/webcomponents","sap_horizon",async()=>S,"host");const ut=`:host{display:flex;flex-wrap:wrap;align-content:var(--_ui5_table_cell_valign);min-width:var(--_ui5_table_cell_min_width);max-width:100%;overflow:clip;overflow-clip-margin:content-box;padding:var(--_ui5_table_cell_vertical_padding) var(--_ui5_table_cell_horizontal_padding);box-sizing:border-box}:host([_popin]){justify-content:initial!important;text-align:initial!important}:host([tabindex]:focus){outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:calc(-1 * var(--sapContent_FocusWidth))} -`;var F=function(s,e,t,i){var o=arguments.length,n=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(s,e,t,i);else for(var l=s.length-1;l>=0;l--)(a=s[l])&&(n=(o<3?a(n):o>3?a(e,t,n):a(e,t))||n);return o>3&&n&&Object.defineProperty(e,t,n),n};let A=class extends ie{constructor(){super(...arguments),this._popin=!1,this._popinHidden=!1,this.ariaRole="gridcell"}onEnterDOM(){!this.role&&this.setAttribute("role",this.ariaRole),this.toggleAttribute("ui5-table-cell-base",!0)}getFocusDomRef(){return this}isTableCellBase(){return!0}};F([C({type:Node,default:!0})],A.prototype,"content",void 0);F([c()],A.prototype,"horizontalAlign",void 0);F([c({type:Boolean})],A.prototype,"_popin",void 0);F([c({type:Boolean,noAttribute:!0})],A.prototype,"_popinHidden",void 0);F([ee("@ui5/webcomponents")],A,"i18nBundle",void 0);A=F([D({renderer:te,styles:ut})],A);const $=A;var Z=function(s,e,t,i){var o=arguments.length,n=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(s,e,t,i);else for(var l=s.length-1;l>=0;l--)(a=s[l])&&(n=(o<3?a(n):o>3?a(e,t,n):a(e,t))||n);return o>3&&n&&Object.defineProperty(e,t,n),n};let T=class extends ${constructor(){super(...arguments),this.merged=!1}onBeforeRendering(){super.onBeforeRendering(),this.horizontalAlign?(this.style.textAlign=this.horizontalAlign,this.style.justifyContent=this.horizontalAlign):this._headerCell&&(this.style.textAlign=`var(--halign-${this._headerCell._id})`,this.style.justifyContent=`var(--halign-${this._headerCell._id})`)}_injectHeaderNodes(e){e&&!e.hasChildNodes()&&e.replaceChildren(...this._popinHeaderNodes)}get _headerCell(){var o,n,a,l;const e=this.parentElement,t=e==null?void 0:e.parentElement,i=((o=e==null?void 0:e.cells)==null?void 0:o.indexOf(this))??-1;return i!==-1?(l=(a=(n=t==null?void 0:t.headerRow)==null?void 0:n[0])==null?void 0:a.cells)==null?void 0:l[i]:null}get _popinHeaderNodes(){const e=[],t=this._headerCell;return t&&(t.popinText?e.push(document.createTextNode(t.popinText)):e.push(...t.content.map(i=>i.cloneNode(!0))),t.action[0]&&e.push(t.action[0].cloneNode(!0))),e}get _i18nPopinColon(){return $.i18nBundle.getText(we)}};Z([c({type:Boolean})],T.prototype,"merged",void 0);Z([u("#popin-header")],T.prototype,"_popinHeader",void 0);Z([u("#popin-content")],T.prototype,"_popinContent",void 0);T=Z([D({tag:"ui5-table-cell",styles:[$.styles,ht],template:dt})],T);T.define();const x=T;function _t(s=1){var e;return P(R,{children:[this._hasSelector&&r(x,{id:"selection-cell","aria-selected":this._isSelected,"aria-colindex":s++,"data-border-merged":(e=this._firstVisibleCell)!=null&&e.merged?"":null,"data-ui5-table-selection-cell":!0,"data-ui5-acc-text":"",children:this._isMultiSelect?r(ue,{id:"selection-component",tabindex:-1,checked:this._isSelected,onChange:this._onSelectionChange,accessibleName:this._i18nRowSelector}):r(Ce,{id:"selection-component",tabindex:-1,checked:this._isSelected,onChange:this._onSelectionChange,accessibleName:this._i18nRowSelector})}),this.cells.flatMap(t=>t._popin?(t.role=null,t.ariaColIndex=null,[]):(t.role??(t.role=t.ariaRole),t.ariaColIndex=t.role===t.ariaRole?`${s++}`:null,[r("slot",{name:t._individualSlot})])),this._renderDummyCell&&this._hasPopin&&r(x,{id:"dummy-cell",role:"none","aria-hidden":!0,"data-border-merged":"","data-excluded-from-navigation":""}),this._rowActionCount>0&&P(x,{id:"actions-cell","aria-colindex":s++,"data-ui5-acc-text":this._actionCellAccText,children:[this._flexibleActions.map(t=>r("slot",{name:t._individualSlot})),this._hasOverflowActions&&r(Re,{id:"overflow",icon:Ae,design:ye.Transparent,onClick:this._onOverflowButtonClick}),this._fixedActions.map(t=>r("slot",{name:t._individualSlot}))]}),this._renderNavigated&&r(x,{id:"navigated-cell","data-excluded-from-navigation":!0,"aria-hidden":!0,role:"none",children:r("div",{id:"navigated"})}),this._renderDummyCell&&!this._hasPopin&&r(x,{id:"dummy-cell",role:"none","aria-hidden":!0,"data-border-merged":"","data-excluded-from-navigation":"nofocus"}),this._hasPopin&&r(x,{id:"popin-cell","data-ui5-table-popin-cell":!0,"aria-colindex":s++,children:this._popinCells.map(t=>r("slot",{name:t._individualSlot}))})]})}_("@ui5/webcomponents-theming","sap_horizon",async()=>E);_("@ui5/webcomponents","sap_horizon",async()=>S,"host");const pt=`:host{display:grid;grid-template-columns:subgrid;grid-column:1 / -1;min-height:var(--_ui5_list_item_base_height);box-sizing:content-box;overflow:clip}#selection-cell,#actions-cell,#navigated-cell{background-color:inherit;position:sticky;z-index:1}#selection-cell{padding:0;inset-inline-start:0;min-width:auto;justify-content:center}::slotted([ui5-table-cell-base]:first-of-type){padding-inline-start:var(--_ui5_first_table_cell_horizontal_padding)}#selection-cell+::slotted([ui5-table-cell-base]:first-of-type){padding-inline-start:var(--_ui5_table_cell_horizontal_padding)}#actions-cell{inset-inline-end:0}#actions-cell:has(+#navigated-cell){inset-inline-end:var(--_ui5_table_navigated_cell_width)}#navigated-cell{inset-inline-end:0;min-width:0;padding:0}#dummy-cell{border-inline-start:1px solid var(--sapList_TableFixedBorderColor)}:host([_has-popin]) #dummy-cell{border-inline-start:none}:host([tabindex]:focus){outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:calc(-1 * var(--sapContent_FocusWidth));#selection-cell,#actions-cell{clip-path:inset(var(--sapContent_FocusWidth))}#navigated-cell{clip-path:inset(3px 4px 3px -4px)}#navigated-cell:dir(rtl){clip-path:inset(3px -4px 3px 4px)}}:host([tabindex][_render-dummy-cell]:not([_has-popin]):focus){outline:none;--_ui5_table_cell_custom_outline_block: inset 0 var(--sapContent_FocusWidth) 0 0 var(--sapContent_FocusColor), inset 0 calc(-1 * var(--sapContent_FocusWidth)) 0 0 var(--sapContent_FocusColor);--_ui5_table_cell_custom_outline_inline-start: inset var(--sapContent_FocusWidth) 0 0 0 var(--sapContent_FocusColor);--_ui5_table_cell_custom_outline_inline-end: inset calc(-1 * var(--sapContent_FocusWidth)) 0 0 0 var(--sapContent_FocusColor);:dir(rtl){--_ui5_table_cell_custom_outline_inline-start: inset calc(-1 * var(--sapContent_FocusWidth)) 0 0 0 var(--sapContent_FocusColor);--_ui5_table_cell_custom_outline_inline-end: inset var(--sapContent_FocusWidth) 0 0 0 var(--sapContent_FocusColor)}[ui5-table-cell-base],::slotted([ui5-table-cell-base]){box-shadow:var(--_ui5_table_cell_custom_outline_block)}[data-ui5-custom-outline=start],::slotted([data-ui5-custom-outline="start"]){box-shadow:var(--_ui5_table_cell_custom_outline_block),var(--_ui5_table_cell_custom_outline_inline-start)}[data-ui5-custom-outline=end],::slotted([data-ui5-custom-outline="end"]){box-shadow:var(--_ui5_table_cell_custom_outline_block),var(--_ui5_table_cell_custom_outline_inline-end)}[data-ui5-custom-outline=startend],::slotted([data-ui5-custom-outline="startend"]){box-shadow:var(--_ui5_table_cell_custom_outline_block),var(--_ui5_table_cell_custom_outline_inline-start),var(--_ui5_table_cell_custom_outline_inline-end)}#dummy-cell{box-shadow:none}#selection-cell,#actions-cell,#navigated-cell{clip-path:none}#navigated{top:3px}} -`;var y=function(s,e,t,i){var o=arguments.length,n=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(s,e,t,i);else for(var l=s.length-1;l>=0;l--)(a=s[l])&&(n=(o<3?a(n):o>3?a(e,t,n):a(e,t))||n);return o>3&&n&&Object.defineProperty(e,t,n),n},Y;let m=Y=class extends ie{constructor(){super(...arguments),this._invalidate=0,this._rowActionCount=0,this._renderNavigated=!1,this._alternate=!1,this._renderDummyCell=!1}isHeaderRow(){return!1}onEnterDOM(){!this.role&&this.setAttribute("role","row"),this.toggleAttribute("ui5-table-row-base",!0)}onBeforeRendering(){k(this,"aria-selected",this._isSelectable,`${this._isSelected}`),k(this,"_has-popin",this._hasPopin)}onAfterRendering(){this._handleCustomFocusOutline()}getFocusDomRef(){return this}async focus(e){return this.setAttribute("tabindex","-1"),HTMLElement.prototype.focus.call(this,e),this._handleCustomFocusOutline(),Promise.resolve()}_handleCustomFocusOutline(){if(this._renderDummyCell&&!this._hasPopin&&document.activeElement===this){const e=[...this.shadowRoot.children].flatMap(n=>n.localName==="slot"?n.assignedElements():[n]),t="data-ui5-custom-outline";e.forEach(n=>n.removeAttribute(t));const i=e.at(0),o=e.at(-2);i===o?i==null||i.setAttribute(t,"startend"):(i==null||i.setAttribute(t,"start"),o==null||o.setAttribute(t,"end"))}}_onSelectionChange(){const e=this._tableSelection,t=e.isMultiSelectable()?!this._isSelected:!0;e.setSelected(this,t,!0)}_onkeydown(e,t){(t===this&&this._isSelectable&&se(e)||t===this._selectionCell&&(se(e)||_e(e)))&&(this._onSelectionChange(),e.preventDefault())}get _table(){const e=this.parentElement;return lt(e)?e:void 0}get _tableId(){var e;return(e=this._table)==null?void 0:e._id}get _tableSelection(){var e;return(e=this._table)==null?void 0:e._getSelection()}get _isSelected(){var e;return(e=this._tableSelection)==null?void 0:e.isSelected(this)}get _isSelectable(){var e;return(e=this._tableSelection)==null?void 0:e.isSelectable()}get _isMultiSelect(){var e;return!!((e=this._tableSelection)!=null&&e.isMultiSelectable())}get _hasSelector(){var e;return(e=this._table)==null?void 0:e._isRowSelectorRequired}get _visibleCells(){return this.cells.filter(e=>!e._popin)}get _firstVisibleCell(){return this.cells.find(e=>!e._popin)}get _popinCells(){return this.cells.filter(e=>e._popin&&!e._popinHidden)}get _hasPopin(){var e;return(((e=this._table)==null?void 0:e.rows.length)??0)>0&&this.cells.some(t=>t._popin&&!t._popinHidden)}get _stickyCells(){return[this._selectionCell,...this.cells,this._navigatedCell].filter(e=>e==null?void 0:e.hasAttribute("fixed"))}get _i18nRowSelector(){return Y.i18nBundle.getText(xe)}};y([c({type:Number,noAttribute:!0})],m.prototype,"_invalidate",void 0);y([c({type:Number,noAttribute:!0})],m.prototype,"_rowActionCount",void 0);y([c({type:Boolean,noAttribute:!0})],m.prototype,"_renderNavigated",void 0);y([c({type:Boolean,noAttribute:!0})],m.prototype,"_alternate",void 0);y([c({type:Boolean})],m.prototype,"_renderDummyCell",void 0);y([u("#selection-cell")],m.prototype,"_selectionCell",void 0);y([u("#navigated-cell")],m.prototype,"_navigatedCell",void 0);y([ee("@ui5/webcomponents")],m,"i18nBundle",void 0);m=Y=y([D({renderer:te,styles:pt})],m);const b=m;_("@ui5/webcomponents-theming","sap_horizon",async()=>E);_("@ui5/webcomponents","sap_horizon",async()=>S,"host");const ft=`:host{background:var(--sapList_Background)}:host([_alternate]){background:var(--_ui5_table_row_alternating_background)}:host([position]){height:var(--row-height)}:host(:first-of-type)>[ui5-table-cell],:host(:first-of-type)>::slotted([ui5-table-cell]){border-top:none}:host(:last-of-type){border-bottom:var(--sapList_BorderWidth) solid var(--sapList_TableFooterBorder)}:host([aria-selected="true"]){background:var(--sapList_SelectionBackgroundColor);box-shadow:inset 0 calc(-1 * var(--sapList_BorderWidth)) 0 0 var(--sapList_SelectionBorderColor);#actions-cell,#navigated-cell,#selection-cell{clip-path:inset(0px 0px 1px 0px)}}:host(:not([_has-popin])){--_ui5_table_cell_border_merged: ;--_ui5_table_cell_content_merged: }:host(:not([_has-popin]):active),:host(:not([_has-popin]):focus-within){--_ui5_table_cell_content_merged: initial}:host([_interactive]){cursor:pointer}@media (hover: hover){:host([_interactive]:hover){background:var(--sapList_Hover_Background)}:host([_interactive][aria-selected=true]:hover){background:var(--sapList_Hover_SelectionBackground)}:host(:not([_has-popin]):hover){--_ui5_table_cell_content_merged: initial}}:host([_interactive][_active]),:host([_interactive][aria-selected="true"][_active]){background:var(--sapList_Active_Background)}#popin-cell{padding-inline-start:var(--_ui5_first_table_cell_horizontal_padding);align-content:initial;flex-direction:column;grid-column:1 / -1;border-top:none}#navigated-cell{overflow:visible;grid-row:span 2}:host([navigated]) #navigated{position:absolute;inset:0 0 0 1px;background:var(--sapList_SelectionBorderColor)}:host([navigated][tabindex]:focus){#navigated{transform:translate(calc(var(--_ui5_table_navigated_cell_width) * -1));bottom:3px;top:2px}#navigated:dir(rtl){transform:translate(var(--_ui5_table_navigated_cell_width))}}:host([navigated]) #popin-cell{grid-column:1 / -2}#selection-cell~#popin-cell{grid-column-start:2;padding-inline-start:var(--_ui5_table_cell_horizontal_padding)}#actions-cell{gap:var(--_ui5_table_row_actions_gap)} -`;var v=function(s,e,t,i){var o=arguments.length,n=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(s,e,t,i);else for(var l=s.length-1;l>=0;l--)(a=s[l])&&(n=(o<3?a(n):o>3?a(e,t,n):a(e,t))||n);return o>3&&n&&Object.defineProperty(e,t,n),n};let p=class extends b{constructor(){super(...arguments),this.interactive=!1,this.navigated=!1,this.movable=!1}onBeforeRendering(){super.onBeforeRendering(),this.ariaRowIndex=this.role==="row"?`${this._rowIndex+2}`:null,k(this,"draggable",this.movable,"true"),k(this,"_interactive",this._isInteractive),k(this,"_alternate",this._alternate)}async _onpointerdown(e){if(e.button!==0||!this._isInteractive)return;const t=e.composedPath();t.splice(t.indexOf(this)),await new Promise(o=>setTimeout(o));const i=U();t.includes(i)||this._setActive("pointerup")}_onkeydown(e,t){super._onkeydown(e,t),!e.defaultPrevented&&t===this&&this._isInteractive&&_e(e)&&(this._setActive("keyup"),this._onclick())}_onclick(){var e;this===U()&&(this._isSelectable&&!this._hasSelector?this._onSelectionChange():(this.interactive||this._isNavigable)&&((e=this._table)==null||e._onRowClick(this)))}_setActive(e){this.toggleAttribute("_active",!0),document.addEventListener(e,()=>{this.removeAttribute("_active")},{once:!0})}_onOverflowButtonClick(e){this.actions[0].constructor.showMenu(this._overflowActions,e.target),e.stopPropagation()}get _isInteractive(){return this.interactive||this._isSelectable&&!this._hasSelector||this._isNavigable}get _isNavigable(){return this._fixedActions.find(e=>e.hasAttribute("ui5-table-row-action-navigation")&&!e.invisible&&!e._isInteractive)!==void 0}get _rowIndex(){return this.position!==void 0?this.position:this._table?this._table.rows.indexOf(this):-1}get _hasOverflowActions(){let e=0;return this.actions.some(t=>((t.isFixedAction()||!t.invisible)&&e++,e>this._rowActionCount))}get _flexibleActions(){const e=this.actions.filter(n=>!n.isFixedAction()),t=this.actions.length-e.length;let i=this._rowActionCount-t;if(i<1)return[];if(e.length<=i)return e;const o=e.filter(n=>!n.invisible);return o.length>i&&i--,o.slice(0,i)}get _fixedActions(){let e=this._rowActionCount;return this._hasOverflowActions&&e--,this.actions.filter(i=>i.isFixedAction()).slice(0,e)}get _overflowActions(){const e=this._fixedActions,t=this._flexibleActions,i=[];return this.actions.forEach(o=>{!o.invisible&&!e.includes(o)&&!t.includes(o)&&i.push(o)}),i}get _availableActionsCount(){return this._rowActionCount<1?0:[...this._flexibleActions,...this._fixedActions].filter(e=>!e.invisible&&e._isInteractive).length+(this._hasOverflowActions?1:0)}get _actionCellAccText(){const e=this._availableActionsCount;if(e>0){const t=e===1?Pe:Te;return b.i18nBundle.getText(t,e)}}};v([C({type:HTMLElement,default:!0,individualSlots:!0,invalidateOnChildChange:{properties:["merged","_popin","_popinHidden"],slots:!1}})],p.prototype,"cells",void 0);v([C({type:HTMLElement,individualSlots:!0})],p.prototype,"actions",void 0);v([c()],p.prototype,"rowKey",void 0);v([c({type:Number})],p.prototype,"position",void 0);v([c({type:Boolean})],p.prototype,"interactive",void 0);v([c({type:Boolean})],p.prototype,"navigated",void 0);v([c({type:Boolean})],p.prototype,"movable",void 0);v([u("#popin-cell")],p.prototype,"_popinCell",void 0);v([u("#actions-cell")],p.prototype,"_actionsCell",void 0);p=v([D({tag:"ui5-table-row",styles:[b.styles,ft],template:_t})],p);p.define();const gt=p;function bt(){var s,e;return P(R,{children:[r("div",{id:"before",role:"none",tabindex:0,"ui5-table-dummy-focus-area":!0}),P("div",{id:"table",role:"grid",style:this.styles.table,"aria-label":this._ariaLabel,"aria-description":this._ariaDescription,"aria-rowcount":this._ariaRowCount,"aria-colcount":this._ariaColCount,"aria-multiselectable":this._ariaMultiSelectable,children:[r("slot",{name:"headerRow"}),r("div",{id:"rows",children:r("div",{id:"spacer",style:this.styles.spacer,children:r("slot",{})})}),this.rows.length===0&&r(gt,{id:"no-data-row",children:r(x,{id:"no-data-cell","data-excluded-from-navigation":!0,"horizontal-align":"Center",children:this.noData.length>0?r("slot",{name:"noData"}):this._effectiveNoDataText})}),r(Se,{orientation:"Horizontal",ownerReference:this}),r("div",{"aria-hidden":"true",id:"table-end-row"}),this.loading&&r(Ee,{id:"loading",delay:this.loadingDelay,active:!0,"data-sap-focus-ref":!0})]}),r("div",{id:"after",role:"none",tabindex:0,"ui5-table-dummy-focus-area":!0}),this.rows.length>0&&((s=this._getGrowing())==null?void 0:s.hasGrowingComponent())&&r("slot",{name:(e=this._getGrowing())==null?void 0:e._individualSlot})]})}_("@ui5/webcomponents-theming","sap_horizon",async()=>E);_("@ui5/webcomponents","sap_horizon",async()=>S,"host");const mt=`:host{display:block;position:relative;color:var(--sapList_TextColor);font:var(--sapFontSize) var(--sapFontFamily)}:host([hidden]){display:none}#table{display:grid;grid-auto-rows:minmax(min-content,max-content)}:host([overflow-mode="Scroll"]) #table{overflow-x:auto;height:100%}#rows,#spacer{display:grid;grid-template-rows:min-content;grid-template-columns:subgrid;grid-column:1 / -1}#no-data-cell{grid-column:1 / -1;justify-content:center}#loading{position:absolute;inset:0;height:100%;z-index:2}:host([loading]) #table:has(#loading[_is-busy]) ::slotted(*){opacity:var(--sapContent_DisabledOpacity)} -`;class K{}class vt{constructor(e=[[]]){this.rowPos=0,this.colPos=0,this.pageSize=20,this.firstRowPos=0,this.lastRowPos=0,this.grid=e}left(){this.colPos=Math.max(this.getColPos()-1,0)}right(){this.colPos=Math.min(this.getColPos()+1,this.grid[this.getRowPos()].length-1)}up(){this.rowPos=Math.max(this.getRowPos()-1,0)}down(){this.rowPos=Math.min(this.getRowPos()+1,this.grid.length-1)}pageup(){this.colPos=this.getColPos();const e=this.getRowPos();this.rowPos=Math.max(e>this.firstRowPos?this.firstRowPos:0,e-this.pageSize)}pagedown(){this.colPos=this.getColPos();const e=this.getRowPos(),t=this.grid.length-1,i=t+this.lastRowPos;this.rowPos=Math.min(ethis.firstRowPos?this.firstRowPos:0:this.colPos=this.colPos>1?1:0}end(){if(this.colPos=this.getColPos(),this.colPos===0){const e=this.grid.length-1,t=e+this.lastRowPos;this.rowPos=this.rowPos{t.forEach((o,n)=>{o===e&&(this.rowPos=i,this.colPos=n)})})}setRowPos(e){this.rowPos=e}getRowPos(){return Math.min(this.rowPos,this.grid.length-1)}setColPos(e){this.colPos=e}getColPos(){return Math.min(this.colPos,this.grid[this.getRowPos()].length-1)}setFirstRowPos(e){this.firstRowPos=e}getFirstRowPos(){return this.firstRowPos}setLastRowPos(e){this.lastRowPos=e}getLastRowPos(){return this.lastRowPos}}class wt extends K{constructor(e){super(),this._colPosition=0,this._tabPosition=0,this._table=e,this._gridWalker=new vt,this._onKeyDownCaptureBound=this._onKeyDownCapture.bind(this),this._table.addEventListener("keydown",this._onKeyDownCaptureBound,{capture:!0})}_getNavigationItemsOfRow(e){return[e,...e.shadowRoot.children].map(t=>t.localName==="slot"?t.assignedElements():t).flat().filter(t=>t.localName.includes("ui5-table-")&&!t.hasAttribute("data-excluded-from-navigation"))}_getNavigationItemsOfGrid(){var t,i;const e=[];return this._table.headerRow[0]&&!De(this._table.headerRow[0])?(e.push(this._getNavigationItemsOfRow(this._table.headerRow[0])),this._gridWalker.setFirstRowPos(1)):this._gridWalker.setFirstRowPos(0),this._table.rows.length?this._table.rows.forEach(o=>e.push(this._getNavigationItemsOfRow(o))):this._table._noDataRow&&e.push(this._getNavigationItemsOfRow(this._table._noDataRow)),this._table.rows.length>0&&((t=this._table._getGrowing())!=null&&t.hasGrowingComponent())?(e.push([(i=this._table._getGrowing())==null?void 0:i.getFocusDomRef()]),this._gridWalker.setLastRowPos(-1)):this._gridWalker.setLastRowPos(0),this._gridWalker.getCurrent()||this._gridWalker.setRowPos(this._gridWalker.getFirstRowPos()),this._gridWalker.setGrid(e),e}_setCurrentItem(e,t){const i=this._getNavigationItemsOfGrid().flat(),o=e.composedPath().find(n=>i.includes(n));o&&(this._gridWalker.setCurrent(o),t&&t(o))}_isEventFromCurrentItem(e){return e.composedPath()[0]===this._gridWalker.getCurrent()}_focusElement(e,t=!0){var o;if(!e||e===U())return;const i=this._getNavigationItemsOfGrid().flat();i.includes(this._lastFocusedItem)&&((o=this._lastFocusedItem)==null||o.removeAttribute("tabindex")),i.includes(e)&&(e.setAttribute("tabindex","-1"),this._lastFocusedItem=e),this._ignoreFocusIn=t,e.focus({preventScroll:e===this._table._beforeElement||e===this._table._afterElement}),e instanceof HTMLInputElement&&e.select(),this._ignoreFocusIn=!1}_focusCurrentItem(){this._focusElement(this._gridWalker.getCurrent())}_handleEnter(e,t){t.hasAttribute("ui5-table-cell-base")&&this._handleF2(e,t)}_handleF2(e,t){if(this._isEventFromCurrentItem(e)){const i=N(t)[0];this._focusElement(i)}else this._setCurrentItem(e,()=>this._focusCurrentItem());e.preventDefault()}_handleF7(e,t){if(t.hasAttribute("ui5-table-row-base")){this._gridWalker.setColPos(this._colPosition);let i=this._gridWalker.getCurrent();if(this._tabPosition>-1){const o=N(i);i=o[this._tabPosition]||o.pop()||i}this._focusElement(i)}else this._setCurrentItem(e,i=>{this._tabPosition=N(i).indexOf(t),this._colPosition=this._gridWalker.getColPos(),this._gridWalker.setColPos(0),this._focusCurrentItem()});e.preventDefault()}_handleTab(e,t){if(this._isEventFromCurrentItem(e))this._focusElement(e.shiftKey?this._table._beforeElement:this._table._afterElement);else{const i=N(this._table._tableElement);e.shiftKey&&i[0]===t&&this._focusElement(this._table._beforeElement),!e.shiftKey&&i[i.length-1]===t&&this._focusElement(this._table._afterElement)}}_handleArrowUpDown(e,t,i){return e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||e.defaultPrevented||this._isEventFromCurrentItem(e)||/^(input|textarea)$/i.test(t.nodeName)||this._setCurrentItem(e,o=>{this._tabPosition=N(o).indexOf(t),this._gridWalker.setRowPos(this._gridWalker.getRowPos()+i);let n=this._gridWalker.getCurrent();const a=N(n);n=a[this._tabPosition]||a.pop()||n,this._focusElement(n),e.preventDefault()}),!1}_handleArrowUp(e,t){return this._handleArrowUpDown(e,t,-1)}_handleArrowDown(e,t){return this._handleArrowUpDown(e,t,1)}_onkeydown(e,t){var n;if(e.defaultPrevented||(!this._isEventFromCurrentItem(e)&&this._getNavigationItemsOfGrid().flat().includes(t)&&this._gridWalker.setCurrent(t),(n=this._table._getVirtualizer())==null||n._onKeyDown(e),e.defaultPrevented))return;const i=`_handle${e.code}`,o=this[i];if(!(typeof o=="function"&&o.call(this,e,t)===void 0)&&this._isEventFromCurrentItem(e)){if(Be(e))this._gridWalker[this._table.effectiveDir==="rtl"?"right":"left"]();else if(Ne(e))this._gridWalker[this._table.effectiveDir==="rtl"?"left":"right"]();else if(Ie(e)||ke(e))this._gridWalker.up();else if(Oe(e)||Fe(e))this._gridWalker.down();else if(Le(e))this._gridWalker.home();else if(We(e))this._gridWalker.end();else if(He(e))this._gridWalker.pageup();else if(Me(e))this._gridWalker.pagedown();else return;this._focusCurrentItem(),e.preventDefault()}}_onclick(e){var a;const i=this._getNavigationItemsOfGrid().flat();let o=null,n=null;for(const l of e.composedPath())if(l.nodeType===Node.ELEMENT_NODE){const g=l;if(g.getAttribute("data-excluded-from-navigation")==="nofocus")break;if(g.matches(":focus-within")){n=g;break}if(i.includes(g)){o=g;break}}n&&n!==this._lastFocusedItem?((a=this._lastFocusedItem)==null||a.removeAttribute("tabindex"),this._lastFocusedItem=void 0):o&&(this._gridWalker.setCurrent(o),this._gridWalker.setColPos(0),this._focusCurrentItem())}_onfocusin(e,t){this._ignoreFocusIn||(t===this._table._beforeElement||t===this._table._afterElement?this._table.loading?this._table._loadingElement.focus():(this._getNavigationItemsOfGrid(),this._gridWalker.setColPos(0),this._focusCurrentItem()):t!==this._lastFocusedItem&&this._getNavigationItemsOfGrid().flat().includes(t)&&(this._lastFocusedItem=t))}_onKeyDownCapture(e){this._table.loading&&($e(e)||ze(e))&&(this._focusElement(e.shiftKey?this._table._beforeElement:this._table._afterElement),e.stopImmediatePropagation())}}var J;(function(s){s.Scroll="Scroll",s.Popin="Popin"})(J||(J={}));const de=J;class Ct extends K{constructor(e){super(),this._table=e}_ondragstart(e){ae.setDraggedElement(e.target,e)}_ondragend(){ae.clearDraggedElement()}_ondragenter(e){e.preventDefault()}_ondragleave(e){e.relatedTarget instanceof Node&&this._table.shadowRoot.contains(e.relatedTarget)||(this._table.dropIndicatorDOM.targetReference=null)}_ondragover(e){if(!(e.target instanceof HTMLElement))return;const t=je(this._table.rows,e.clientY,Ge.Vertical);if(!t){this._table.dropIndicatorDOM.targetReference=null;return}const{targetReference:i,placement:o}=Ze(e,this._table,t,t.element,{crossDnD:!0,originalEvent:!0});this._table.dropIndicatorDOM.targetReference=i,this._table.dropIndicatorDOM.placement=o}_ondrop(e){var t,i;!((t=this._table.dropIndicatorDOM)!=null&&t.targetReference)||!((i=this._table.dropIndicatorDOM)!=null&&i.placement)||(Ke(e,this._table,this._table.dropIndicatorDOM.targetReference,this._table.dropIndicatorDOM.placement),this._table.dropIndicatorDOM.targetReference=null)}}class yt extends K{constructor(e){super(),this._tableAttributes=["ui5-table-header-row","ui5-table-header-cell","ui5-table-row","ui5-table-cell"],this._table=e}get i18nBundle(){return this._table.constructor.i18nBundle}_onfocusin(e,t){const i=this._tableAttributes.find(l=>t.hasAttribute(l));if(!i)return;const n=`_handle${i.replace("ui5-table","Table").replace(/-([a-z])/g,l=>l[1].toUpperCase())}Focusin`,a=this[n];typeof a=="function"?a.call(this,t,e):this._handleTableElementFocusin(t)}_onfocusout(e,t){this._tableAttributes.some(o=>t.hasAttribute(o))&&H(t)}_handleTableElementFocusin(e){const t=M(e);H(e,t)}_handleTableHeaderRowFocusin(e){const t=[this.i18nBundle.getText(pe)];e._hasSelector&&t.push(e._isMultiSelect?e._selectionCellAriaDescription:e._i18nSelection),e._visibleCells.forEach(i=>{const o=M(i,{lessDetails:!0});t.push(o)}),e._rowActionCount>0&&t.push(e._i18nRowActions),H(e,t)}_handleTableRowFocusin(e){if(!e._table)return;const t=[this.i18nBundle.getText(Ve),this.i18nBundle.getText(Ue,e.ariaRowIndex,this._table._ariaRowCount)];e._isSelected&&t.push(this.i18nBundle.getText(qe)),e._isNavigable?t.push(this.i18nBundle.getText(Ye)):e.interactive&&t.push(this.i18nBundle.getText(Je)),[...e._visibleCells,...e._popinCells].flatMap(o=>o._popin?[o._popinHeader,o._popinContent]:[o._headerCell,o]).forEach(o=>{const n=M(o,{lessDetails:!0});t.push(n)}),e._availableActionsCount>0&&t.push(e._actionCellAccText),e._renderNavigated&&e.navigated&&t.push(this.i18nBundle.getText(Xe)),H(e,t)}_handleTableCellFocusin(e){if(e.hasAttribute("data-ui5-table-popin-cell")){const i=e.getDomRef().assignedNodes({flatten:!0}).flatMap(o=>{const n=M(o._popinHeader),a=M(o._popinContent);return[n,a]});H(e,i)}else this._handleTableElementFocusin(e)}}var h=function(s,e,t,i){var o=arguments.length,n=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(s,e,t,i);else for(var l=s.length-1;l>=0;l--)(a=s[l])&&(n=(o<3?a(n):o>3?a(e,t,n):a(e,t))||n);return o>3&&n&&Object.defineProperty(e,t,n),n},X;let d=X=class extends ie{constructor(){super(),this.overflowMode="Scroll",this.loading=!1,this.loadingDelay=1e3,this.rowActionCount=0,this.alternateRowColors=!1,this.stickyTop="0",this._invalidate=0,this._renderNavigated=!1,this._events=["keydown","keyup","click","focusin","focusout","pointerdown","dragstart","dragenter","dragleave","dragover","drop","dragend"],this._poppedIn=[],this._containerWidth=0,this._onResizeBound=this._onResize.bind(this),this._onEventBound=this._onEvent.bind(this)}onEnterDOM(){this._events.forEach(e=>this.addEventListener(e,this._onEventBound)),this.features.forEach(e=>{var t;return(t=e.onTableActivate)==null?void 0:t.call(e,this)}),this._tableNavigation=new wt(this),this._tableDragAndDrop=new Ct(this),this._tableCustomAnnouncement=new yt(this)}onExitDOM(){this._tableNavigation=void 0,this._tableDragAndDrop=void 0,this._events.forEach(e=>this.removeEventListener(e,this._onEventBound))}onBeforeRendering(){this._renderNavigated=this.rows.some(e=>e.navigated),[...this.headerRow,...this.rows].forEach((e,t)=>{e._rowActionCount=this.rows.length>0?this.rowActionCount:0,e._renderNavigated=this._renderNavigated,e._renderDummyCell=!this._hasFlexibleColumns,e._alternate=this.alternateRowColors&&t%2===0}),this.style.setProperty("--ui5_grid_sticky_top",this.stickyTop),this._refreshPopinState(),this.features.forEach(e=>{var t;return(t=e.onTableBeforeRendering)==null?void 0:t.call(e,this)}),this.getDomRef()&&le.deregister(this,this._onResizeBound)}onAfterRendering(){this.features.forEach(e=>{var t;return(t=e.onTableAfterRendering)==null?void 0:t.call(e,this)}),this.overflowMode===de.Popin&&le.register(this,this._onResizeBound)}_findFeature(e){return this.features.find(t=>re(t,e))}_getSelection(){return this._findFeature("TableSelectionBase")||this._findFeature("TableSelection")}_getVirtualizer(){return this._findFeature("TableVirtualizer")}_getGrowing(){return this._findFeature("TableGrowing")}_onEvent(e){const t=e.composedPath(),i=t[0];[this._tableCustomAnnouncement,this._tableNavigation,this._tableDragAndDrop,...t,...this.features].filter(Boolean).forEach(n=>{if(n instanceof K||n instanceof HTMLElement&&n.localName.includes("ui5-table")){const a=`_on${e.type}`,l=n[a];typeof l=="function"&&l.call(n,e,i)}})}_onResize(){const{clientWidth:e,scrollWidth:t}=this._tableElement;if(t>e){const i=t-e,a=this._getPopinOrderedColumns(!1).reduce((l,g)=>{if(lo._popin).every(o=>e-this._containerWidth>=o._popinWidth?(this._containerWidth+=o._popinWidth,this._setHeaderPopinState(o,!1,0),!0):!1)}_onfocusin(e){e.target!==this&&ct(this._scrollContainer,e.target,this._stickyElements,this.effectiveDir==="rtl")}_onGrow(){var e;(e=this._getGrowing())==null||e.loadMore()}_getPopinOrderedColumns(e){let t=[...this.headerRow[0].cells];return t=t.reverse(),t=t.sort((i,o)=>i.importance-o.importance),t.pop(),e&&(t=t.reverse()),t}_refreshPopinState(){var e;(e=this.headerRow[0])==null||e.cells.forEach(t=>{this._setHeaderPopinState(t,t._popin,t._popinWidth)})}_setHeaderPopinState(e,t,i){const o=this.headerRow[0].cells.indexOf(e);e._popin=t&&this.overflowMode===de.Popin,e._popinWidth=i,this.rows.forEach(n=>{n.cells[o]&&(n.cells[o]._popinHidden=e.popinHidden,n.cells[o]._popin=e._popin)})}_isGrowingFeature(e){return!!(e.loadMore&&e.hasGrowingComponent&&re(e,"TableGrowing"))}_onRowClick(e){this.fireDecoratorEvent("row-click",{row:e})}_onRowActionClick(e){const t=e.parentElement;this.fireDecoratorEvent("row-action-click",{action:e,row:t})}get styles(){var i;const e=this._getVirtualizer(),t={};return(i=this.headerRow[0])==null||i.cells.forEach(o=>{t[`--halign-${o._id}`]=o.horizontalAlign||"initial"}),{table:{"grid-template-columns":this._gridTemplateColumns,"--row-height":e?`${e.rowHeight}px`:"auto",...t},spacer:{transform:e==null?void 0:e._getTransform(),"will-change":e&&"transform"}}}get _gridTemplateColumns(){if(!this.headerRow[0])return;const e=[],t=this.headerRow[0]._visibleCells;this._isRowSelectorRequired&&e.push("min-content"),e.push(...t.map(n=>{const a=n.minWidth??"3rem";let l=`minmax(${a}, 1fr)`;return ce(n.width)&&(l=n.width.includes("%")?`max(${a}, ${n.width})`:n.width),l}));const i=this._hasFlexibleColumns?"":"minmax(0, 1fr)",o=this.headerRow[0]._popinCells.length>0;return i&&o&&e.push(i),this.rowActionCount>0&&this.rows.length>0&&e.push(`calc(var(--_ui5_button_base_min_width) * ${this.rowActionCount} + var(--_ui5_table_row_actions_gap) * ${this.rowActionCount-1} + var(--_ui5_table_cell_horizontal_padding) * 2)`),this._renderNavigated&&e.push("var(--_ui5_table_navigated_cell_width)"),i&&!o&&e.push(i),e.join(" ")}get _hasFlexibleColumns(){var e,t;return(t=(e=this.headerRow)==null?void 0:e[0])==null?void 0:t._visibleCells.some(i=>!ce(i.width))}get _isRowSelectorRequired(){var e;return this.rows.length>0&&((e=this._getSelection())==null?void 0:e.isRowSelectorRequired())}get _scrollContainer(){return this._getVirtualizer()?this._tableElement:rt(this)}get _stickyElements(){const e=this.headerRow.filter(i=>i.sticky),t=this.headerRow[0]._stickyCells;return[...e,...t]}get _effectiveNoDataText(){return this.noDataText||X.i18nBundle.getText(Qe)}get _ariaLabel(){return et(this)||void 0}get _ariaDescription(){var e;return(e=this._getSelection())==null?void 0:e.getAriaDescriptionForTable()}get _ariaRowCount(){var e;return((e=this._getVirtualizer())==null?void 0:e.rowCount)||this.rows.length+1}get _ariaColCount(){if(!this.headerRow[0])return 0;let e=this.headerRow[0]._visibleCells.length;return this._isRowSelectorRequired&&e++,this.rowActionCount>0&&this.rows.length>0&&e++,this.headerRow[0]._popinCells.length>0&&e++,e}get _ariaMultiSelectable(){const e=this._getSelection();return e!=null&&e.isSelectable()&&this.rows.length?e.isMultiSelectable():void 0}get isTable(){return!0}};h([C({type:HTMLElement,default:!0,invalidateOnChildChange:{properties:["navigated","position"],slots:!1}})],d.prototype,"rows",void 0);h([C({type:HTMLElement,invalidateOnChildChange:{properties:!1,slots:!0}})],d.prototype,"headerRow",void 0);h([C()],d.prototype,"noData",void 0);h([C({type:HTMLElement,individualSlots:!0})],d.prototype,"features",void 0);h([c()],d.prototype,"accessibleName",void 0);h([c()],d.prototype,"accessibleNameRef",void 0);h([c()],d.prototype,"noDataText",void 0);h([c()],d.prototype,"overflowMode",void 0);h([c({type:Boolean})],d.prototype,"loading",void 0);h([c({type:Number})],d.prototype,"loadingDelay",void 0);h([c({type:Number})],d.prototype,"rowActionCount",void 0);h([c({type:Boolean})],d.prototype,"alternateRowColors",void 0);h([c()],d.prototype,"stickyTop",void 0);h([c({type:Number,noAttribute:!0})],d.prototype,"_invalidate",void 0);h([c({type:Boolean,noAttribute:!0})],d.prototype,"_renderNavigated",void 0);h([u("[ui5-drop-indicator]")],d.prototype,"dropIndicatorDOM",void 0);h([u("#no-data-row")],d.prototype,"_noDataRow",void 0);h([u("#table-end-row")],d.prototype,"_endRow",void 0);h([u("#table")],d.prototype,"_tableElement",void 0);h([u("#before")],d.prototype,"_beforeElement",void 0);h([u("#after")],d.prototype,"_afterElement",void 0);h([u("#loading")],d.prototype,"_loadingElement",void 0);h([ee("@ui5/webcomponents")],d,"i18nBundle",void 0);d=X=h([D({tag:"ui5-table",renderer:te,styles:mt,template:bt,fastNavigation:!0}),j("row-click",{bubbles:!1}),j("move-over",{cancelable:!0,bubbles:!0}),j("move",{bubbles:!0}),j("row-action-click",{bubbles:!1})],d);d.define();var G=(s=>(s.None="None",s.Ascending="Ascending",s.Descending="Descending",s))(G||{});const Rt="sort-ascending",At="M15 13H1l.44-1h13.062L15 13ZM2.377 10l.439-1h10.28l.498 1H2.377Zm9.811-3H3.782l.47-1h7.468l.468 1Zm-1.406-3H5.16l.469-1h4.686l.468 1Z",xt=!1,Pt=fe,Tt="0 0 16 16",Et="SAP-icons-v4",St="@ui5/webcomponents-icons";O(Rt,{pathData:At,ltr:xt,viewBox:Tt,accData:Pt,collection:Et,packageName:St});const Dt="sort-ascending",Bt="M15.25 11a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1 0-1.5h14.5Zm-2-4a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1 0-1.5h10.5Zm-2-3.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h6.5Z",Nt=!1,It=fe,kt="0 0 16 16",Ot="SAP-icons-v5",Ft="@ui5/webcomponents-icons";O(Dt,{pathData:Bt,ltr:Nt,viewBox:kt,accData:It,collection:Ot,packageName:Ft});const Lt="sort-ascending",Wt="sort-descending",Ht="M1 3h14l-.44 1H1.499L1 3Zm12.623 3-.439 1H2.904l-.498-1h11.217ZM3.812 9h8.406l-.469 1H4.28l-.468-1Zm1.406 3h5.623l-.469 1H5.686l-.468-1Z",Mt=!1,$t=ge,zt="0 0 16 16",jt="SAP-icons-v4",Gt="@ui5/webcomponents-icons";O(Wt,{pathData:Ht,ltr:Mt,viewBox:zt,accData:$t,collection:jt,packageName:Gt});const Zt="sort-descending",Kt="M11.25 11a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h6.5Zm2-4a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1 0-1.5h10.5Zm2-3.5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1 0-1.5h14.5Z",Vt=!1,Ut=ge,qt="0 0 16 16",Yt="SAP-icons-v5",Jt="@ui5/webcomponents-icons";O(Zt,{pathData:Kt,ltr:Vt,viewBox:qt,accData:Ut,collection:Yt,packageName:Jt});const Xt="sort-descending";function Qt(){return P(R,{children:[r("slot",{name:"action"}),r("slot",{}),ei.call(this)]})}function ei(){switch(this.sortIndicator){case G.Ascending:return r(q,{name:Lt});case G.Descending:return r(q,{name:Xt});default:return r(R,{})}}_("@ui5/webcomponents-theming","sap_horizon",async()=>E);_("@ui5/webcomponents","sap_horizon",async()=>S,"host");const ti=`:host{font-family:var(--sapFontSemiboldDuplexFamily);color:var(--sapList_HeaderTextColor);align-items:center;flex-wrap:nowrap;max-width:100%;gap:.125rem}:host(:empty){padding:0}[ui5-icon]{margin-inline-start:.375rem;width:1rem;height:1rem;flex-shrink:0}::slotted([ui5-label]){color:inherit;font-family:inherit;overflow:hidden} -`;var w=function(s,e,t,i){var o=arguments.length,n=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(s,e,t,i);else for(var l=s.length-1;l>=0;l--)(a=s[l])&&(n=(o<3?a(n):o>3?a(e,t,n):a(e,t))||n);return o>3&&n&&Object.defineProperty(e,t,n),n};let f=class extends ${constructor(){super(...arguments),this.importance=0,this.sortIndicator="None",this.popinHidden=!1,this.ariaRole="columnheader",this._popinWidth=0}onBeforeRendering(){super.onBeforeRendering(),this.style.textAlign=this.horizontalAlign||"",this.style.justifyContent=this.horizontalAlign||"",k(this,"aria-sort",this.sortIndicator!==G.None,this.sortIndicator.toLowerCase())}get accessibilityInfo(){return{children:[this._defaultSlot,this._actionSlot]}}};w([c()],f.prototype,"width",void 0);w([c()],f.prototype,"minWidth",void 0);w([c({type:Number})],f.prototype,"importance",void 0);w([c()],f.prototype,"popinText",void 0);w([c()],f.prototype,"sortIndicator",void 0);w([c({type:Boolean})],f.prototype,"popinHidden",void 0);w([C()],f.prototype,"action",void 0);w([u("slot:not([name])")],f.prototype,"_defaultSlot",void 0);w([u("slot[name=action]")],f.prototype,"_actionSlot",void 0);f=w([D({tag:"ui5-table-header-cell",styles:[$.styles,ti],template:Qt})],f);f.define();const I=f,ii="clear-all",oi="M14 14.002v-5.02h1v5.02c0 .27-.088.504-.266.702a.9.9 0 0 1-.703.296H2a.962.962 0 0 1-.703-.296.958.958 0 0 1-.297-.702V1.998c0-.27.094-.5.281-.686A.974.974 0 0 1 2 1.032h6.031v.997H2v11.973h12Zm2-12.004-2.063 1.964L16 6.02l-1 .998-1.969-2.058L11 7.018 9.969 6.02l2.062-2.058L9.97 1.998 11 1l2.031 1.996L15 1l1 .998Z",ni=!1,si="0 0 16 16",ai="SAP-icons-v4",li="@ui5/webcomponents-icons";O(ii,{pathData:oi,ltr:ni,viewBox:si,collection:ai,packageName:li});const ri="clear-all",ci="M7.246 1.005a.75.75 0 0 1 0 1.5H3.75c-.69 0-1.25.56-1.25 1.25v8.5c0 .69.56 1.25 1.25 1.25h8.5c.69 0 1.25-.56 1.25-1.25V8.75a.75.75 0 0 1 1.5 0v3.505a2.75 2.75 0 0 1-2.75 2.75h-8.5A2.75 2.75 0 0 1 1 12.255v-8.5a2.75 2.75 0 0 1 2.75-2.75h3.496Zm6.474.215a.75.75 0 1 1 1.06 1.06L13.56 3.5l1.22 1.22a.75.75 0 0 1-1.06 1.06L12.5 4.56l-1.22 1.22a.75.75 0 0 1-1.06-1.06l1.22-1.22-1.22-1.22a.75.75 0 0 1 1.06-1.06l1.22 1.22 1.22-1.22Z",di=!1,hi="0 0 16 16",ui="SAP-icons-v5",_i="@ui5/webcomponents-icons";O(ri,{pathData:ci,ltr:di,viewBox:hi,collection:ui,packageName:_i});const pi="clear-all";var Q;(function(s){s.Contrast="Contrast",s.Critical="Critical",s.Default="Default",s.Information="Information",s.Negative="Negative",s.Neutral="Neutral",s.NonInteractive="NonInteractive",s.Positive="Positive"})(Q||(Q={}));const he=Q;function fi(s=1){return P(R,{children:[this._hasSelector&&r(I,{id:"selection-cell","aria-selected":this._isSelected,"aria-label":this._i18nSelection,"aria-description":this._selectionCellAriaDescription,"aria-colindex":s++,"data-ui5-table-selection-cell":!0,"data-ui5-acc-text":"",children:this._isMultiSelect?this._shouldRenderClearAll?r(q,{name:pi,mode:tt.Decorative,showTooltip:!0,accessibleName:this._i18nDeselectAllRows,design:this._hasSelectedRows?he.Default:he.NonInteractive,onClick:this._onSelectionChange}):r(ue,{id:"selection-component",tabindex:-1,checked:this._isSelected,onChange:this._onSelectionChange,accessibleName:this._i18nRowSelector,title:this._isSelected?this._i18nDeselectAllRows:this._i18nSelectAllRows}):r(R,{})}),this.cells.flatMap(e=>e._popin?(e.role=null,e.ariaColIndex=null,[]):(e.role??(e.role=e.ariaRole),e.ariaColIndex=e.role===e.ariaRole?`${s++}`:null,[r("slot",{name:e._individualSlot})])),this._renderDummyCell&&this._hasPopin&&r(I,{id:"dummy-cell",role:"none","aria-hidden":!0,"data-excluded-from-navigation":""}),this._rowActionCount>0&&r(I,{id:"actions-cell","aria-colindex":s++,children:r("div",{id:"actions-cell-content",children:this._i18nRowActions})}),this._renderNavigated&&r(I,{id:"navigated-cell","data-excluded-from-navigation":!0,"aria-hidden":!0,role:"none",children:r("div",{id:"navigated"})}),this._renderDummyCell&&!this._hasPopin&&r(I,{id:"dummy-cell",role:"none","aria-hidden":!0,"data-excluded-from-navigation":"nofocus"}),this._hasPopin&&r(I,{id:"popin-cell","aria-colindex":s++,"data-excluded-from-navigation":!0,children:r("div",{id:"popin-cell-content",children:this._i18nRowPopin})})]})}_("@ui5/webcomponents-theming","sap_horizon",async()=>E);_("@ui5/webcomponents","sap_horizon",async()=>S,"host");const gi=`:host{background:var(--sapList_HeaderBackground);border-top:var(--sapList_BorderWidth) solid var(--sapList_HeaderBorderColor);border-bottom:var(--sapList_BorderWidth) solid var(--sapList_HeaderBorderColor);grid-template-rows:auto 0px}:host([hidden]){display:none}:host([sticky]){position:sticky;top:var(--ui5_grid_sticky_top, 0);z-index:3}#popin-cell{padding:0;width:0;height:0}#selection-cell [ui5-icon]{width:var(--_ui5_checkbox_inner_width_height);height:var(--_ui5_checkbox_inner_width_height)}#popin-cell-content,#actions-cell-content{position:absolute;clip:rect(0,0,0,0)} -`;var oe=function(s,e,t,i){var o=arguments.length,n=o<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(s,e,t,i);else for(var l=s.length-1;l>=0;l--)(a=s[l])&&(n=(o<3?a(n):o>3?a(e,t,n):a(e,t))||n);return o>3&&n&&Object.defineProperty(e,t,n),n};let z=class extends b{constructor(){super(...arguments),this.sticky=!1}onEnterDOM(){super.onEnterDOM(),this.ariaRowIndex="1",this.ariaRoleDescription=b.i18nBundle.getText(pe)}onBeforeRendering(){super.onBeforeRendering(),this._table&&(this.style.top=this._table.stickyTop)}isHeaderRow(){return!0}get _isSelectable(){return this._isMultiSelect}get _hasSelectedRows(){return this._tableSelection.getSelectedRows().length>0}get _shouldRenderClearAll(){return this._tableSelection.headerSelector==="ClearAll"}get _selectionCellAriaDescription(){var e;return(e=this._tableSelection)==null?void 0:e.getAriaDescriptionForColumnHeader()}get _i18nSelection(){return b.i18nBundle.getText(it)}get _i18nRowPopin(){return b.i18nBundle.getText(ot)}get _i18nRowActions(){return b.i18nBundle.getText(nt)}get _i18nSelectAllRows(){return b.i18nBundle.getText(st)}get _i18nDeselectAllRows(){return b.i18nBundle.getText(at)}};oe([C({type:HTMLElement,default:!0,invalidateOnChildChange:{properties:["width","_popin","horizontalAlign","popinHidden"],slots:!1},individualSlots:!0})],z.prototype,"cells",void 0);oe([c({type:Boolean})],z.prototype,"sticky",void 0);z=oe([D({tag:"ui5-table-header-row",languageAware:!0,styles:[b.styles,gi],template:fi})],z);z.define(); diff --git a/app/vue/dist/assets/Tables-Bx-YmA4X.js b/app/vue/dist/assets/Tables-Bx-YmA4X.js deleted file mode 100644 index 8fdcbc84..00000000 --- a/app/vue/dist/assets/Tables-Bx-YmA4X.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as H,co as R,bl as l,bi as o,cU as a,t as E,cB as S,cN as D,bk as V,bn as U,bp as Y,cA as d,cW as $,cr as i,c_ as q,b8 as z}from"./index-Cmc-xxmd.js";import{u as I,a as _}from"./useCurrentSchema-BqWYAHf6.js";import{u as K}from"./useSmartTable-WzAaSsKz.js";import{S as O}from"./SmartTable-BtBFwGU3.js";import"./SuggestionItem-D5k7H1pi.js";import"./Option-yBqY0LHt.js";import"./TableHeaderRow-BwRbRfkI.js";import"./ListItemBaseTemplate-fB6cyhUP.js";const P={class:"tables-view"},Q={class:"filter-bar"},W={class:"filter-field"},j=["value"],G=["text"],J={key:0,class:"resolved-schema"},X={class:"filter-field"},Z=["value"],ee=["text"],te={class:"filter-field"},ae=H({__name:"Tables",setup(oe){const h=q(),{execute:C}=$(),c=[{key:"TABLE_NAME",label:"Table Name",sortable:!0,importance:3,width:"45%"},{key:"SCHEMA_NAME",label:"Schema",sortable:!0,importance:2,width:"30%"},{key:"TABLE_TYPE",label:"Type",sortable:!0,importance:1,width:"25%"}],{displayData:A,loading:u,searchQuery:T,sortKey:x,sortDir:y,rowCount:N,totalCount:k,setData:m,toggleSort:M,exportExcel:w,exportCsv:B}=K(c),n=d("**CURRENT_SCHEMA**"),r=d("*"),b=d(200),p=_("schemas-ui","SCHEMA_NAME"),v=_("tables-ui","TABLE_NAME"),{resolvedSchema:f}=I();async function g(){u.value=!0;try{const s=await C("tables-ui",{schema:n.value,table:r.value,limit:b.value});m(s)}catch(s){console.error("Failed to load tables:",s),m([])}finally{u.value=!1}}function L(s){s==="excel"?w("tables.xlsx"):B("tables.csv")}function F(s){h.push({name:"inspectTable",query:{table:s.TABLE_NAME,schema:s.SCHEMA_NAME}})}return R(g),(s,e)=>(i(),l("div",P,[e[10]||(e[10]=o("ui5-title",{level:"H3"},"Database Tables",-1)),o("div",Q,[o("div",W,[e[6]||(e[6]=o("ui5-label",{for:"schema"},"Schema:",-1)),o("ui5-input",{id:"schema",placeholder:"Schema",value:n.value,"show-suggestions":"",filter:"Contains",onChange:e[0]||(e[0]=t=>n.value=t.target.value),onFocus:e[1]||(e[1]=t=>a(p).ensureLoaded({limit:1e3,schema:"*"})),class:"filter-input"},[(i(!0),l(E,null,S(a(p).items.value,t=>(i(),l("ui5-suggestion-item",{key:t,text:t},null,8,G))),128))],40,j),n.value==="**CURRENT_SCHEMA**"&&a(f)?(i(),l("span",J,D(a(f)),1)):V("",!0)]),o("div",X,[e[7]||(e[7]=o("ui5-label",{for:"tableFilter"},"Table:",-1)),o("ui5-input",{id:"tableFilter",placeholder:"Table filter (e.g. MY_*)",value:r.value,"show-suggestions":"",filter:"Contains",onChange:e[2]||(e[2]=t=>r.value=t.target.value),onFocus:e[3]||(e[3]=t=>a(v).ensureLoaded({schema:n.value,table:"*",limit:1e3})),class:"filter-input"},[(i(!0),l(E,null,S(a(v).items.value,t=>(i(),l("ui5-suggestion-item",{key:t,text:t},null,8,ee))),128))],40,Z)]),o("div",te,[e[9]||(e[9]=o("ui5-label",{for:"limit"},"Limit:",-1)),o("ui5-select",{id:"limit",onChange:e[4]||(e[4]=t=>b.value=Number(t.detail.selectedOption.value))},[...e[8]||(e[8]=[U('501002005001000',5)])],32)]),o("ui5-button",{design:"Emphasized",icon:"refresh",onClick:g,class:"execute-btn"},"Execute")]),Y(O,{title:"Results",columns:c,data:a(A),loading:a(u),"sort-key":a(x),"sort-dir":a(y),"row-count":a(N),"total-count":a(k),"link-column":"TABLE_NAME",onSort:a(M),onSearch:e[5]||(e[5]=t=>T.value=t),onExport:L,onRowClick:F},null,8,["data","loading","sort-key","sort-dir","row-count","total-count","onSort"])]))}}),me=z(ae,[["__scopeId","data-v-2b3d0da9"]]);export{me as default}; diff --git a/app/vue/dist/assets/UPS-BHdZI8-4.js b/app/vue/dist/assets/UPS-BHdZI8-4.js deleted file mode 100644 index b4ed3e0f..00000000 --- a/app/vue/dist/assets/UPS-BHdZI8-4.js +++ /dev/null @@ -1 +0,0 @@ -import{D as r}from"./DynamicTableView-BgX-JfYu.js";import{bx as t,bj as e,cr as o}from"./index-Cmc-xxmd.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const x=t({__name:"UPS",setup(i){return(p,m)=>(o(),e(r,{title:"User-Provided Services",endpoint:"ups-ui",filters:[]}))}});export{x as default}; diff --git a/app/vue/dist/assets/Users-D_QoKJJv.js b/app/vue/dist/assets/Users-D_QoKJJv.js deleted file mode 100644 index 55da3493..00000000 --- a/app/vue/dist/assets/Users-D_QoKJJv.js +++ /dev/null @@ -1 +0,0 @@ -import{D as t}from"./DynamicTableView-BgX-JfYu.js";import{bx as r,bj as s,cr as o}from"./index-Cmc-xxmd.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const U=r({__name:"Users",setup(i){const e=[{key:"user",label:"User",default:"*",wide:!0,suggestEndpoint:"users-ui",suggestField:"USER_NAME"}];return(p,a)=>(o(),s(t,{title:"Database Users",endpoint:"users-ui",filters:e}))}});export{U as default}; diff --git a/app/vue/dist/assets/Version-CyOhYK1C.js b/app/vue/dist/assets/Version-CyOhYK1C.js deleted file mode 100644 index 97a2212f..00000000 --- a/app/vue/dist/assets/Version-CyOhYK1C.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as g,co as k,bl as s,bi as l,cN as x,t as p,cB as y,cU as a,bj as b,bk as h,cA as u,cW as S,cr as o,b8 as C}from"./index-Cmc-xxmd.js";import{u as D}from"./useDynamicTable-DVsAdjXE.js";import{S as V}from"./SmartTable-BtBFwGU3.js";import"./CardHeader-D25i9-9b.js";import"./TableHeaderRow-BwRbRfkI.js";const w={class:"version-view"},B={key:0,active:"",size:"Medium",class:"loading"},I={key:1,class:"error"},E={class:"info-cards"},N=["title-text","subtitle-text"],T=g({__name:"Version",setup(j){const{fetchDirect:f}=S(),c=u(!1),r=u(""),d=u({}),e=D();async function m(){c.value=!0,r.value="";try{const t=await f("/hana/version-ui");t&&typeof t=="object"&&(t.packages&&(e.setData(t.packages),delete t.packages),d.value=t)}catch(t){r.value=t.message}finally{c.value=!1}}function _(t){t==="excel"?e.exportExcel("packages.xlsx"):e.exportCsv("packages.csv")}return k(m),(t,n)=>(o(),s("div",w,[n[1]||(n[1]=l("ui5-title",{level:"H3"},"Version Information",-1)),c.value?(o(),s("ui5-busy-indicator",B)):r.value?(o(),s("div",I,[l("p",null,x(r.value),1)])):(o(),s(p,{key:2},[l("div",E,[(o(!0),s(p,null,y(d.value,(i,v)=>(o(),s("ui5-card",{key:v,class:"info-card"},[l("ui5-card-header",{"title-text":String(v),"subtitle-text":String(i),slot:"header"},null,8,N)]))),128))]),a(e).totalCount.value>0?(o(),b(V,{key:0,title:"Installed Packages",columns:a(e).columns.value,data:a(e).displayData.value,"sort-key":a(e).sortKey.value,"sort-dir":a(e).sortDir.value,"row-count":a(e).rowCount.value,"total-count":a(e).totalCount.value,onSort:a(e).toggleSort,onSearch:n[0]||(n[0]=i=>a(e).searchQuery.value=i),onExport:_},null,8,["columns","data","sort-key","sort-dir","row-count","total-count","onSort"])):h("",!0)],64))]))}}),K=C(T,[["__scopeId","data-v-c693fbe8"]]);export{K as default}; diff --git a/app/vue/dist/assets/Views-DcJvStTZ.js b/app/vue/dist/assets/Views-DcJvStTZ.js deleted file mode 100644 index 4e2523d9..00000000 --- a/app/vue/dist/assets/Views-DcJvStTZ.js +++ /dev/null @@ -1 +0,0 @@ -import{bx as o,bj as a,cr as n,c_ as r}from"./index-Cmc-xxmd.js";import{D as m}from"./DynamicTableView-BgX-JfYu.js";import"./useCurrentSchema-BqWYAHf6.js";import"./useDynamicTable-DVsAdjXE.js";import"./SmartTable-BtBFwGU3.js";import"./TableHeaderRow-BwRbRfkI.js";import"./SuggestionItem-D5k7H1pi.js";import"./ListItemBaseTemplate-fB6cyhUP.js";import"./Option-yBqY0LHt.js";import"./Link-CUU7QKFS.js";const V=o({__name:"Views",setup(c){const t=r(),i=[{key:"schema",label:"Schema",default:"**CURRENT_SCHEMA**",suggestEndpoint:"schemas-ui",suggestField:"SCHEMA_NAME"},{key:"view",label:"View filter (e.g. MY_*)",default:"*",suggestEndpoint:"views-ui",suggestField:"VIEW_NAME"}];function s(e){t.push({name:"inspectView",query:{view:e.VIEW_NAME,schema:e.SCHEMA_NAME}})}return(e,p)=>(n(),a(m,{title:"Database Views",endpoint:"views-ui",filters:i,"link-column":"VIEW_NAME",onRowClick:s}))}});export{V as default}; diff --git a/app/vue/dist/assets/index-Cmc-xxmd.js b/app/vue/dist/assets/index-Cmc-xxmd.js deleted file mode 100644 index d73a7621..00000000 --- a/app/vue/dist/assets/index-Cmc-xxmd.js +++ /dev/null @@ -1,196 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-DMTy4qPD.js","assets/Home-C_fD8LsA.css","assets/SystemInfo-Cqu87Mxw.js","assets/TableHeaderRow-BwRbRfkI.js","assets/SystemInfo-rdD-duYJ.css","assets/Users-D_QoKJJv.js","assets/DynamicTableView-BgX-JfYu.js","assets/useCurrentSchema-BqWYAHf6.js","assets/useDynamicTable-DVsAdjXE.js","assets/SmartTable-BtBFwGU3.js","assets/SmartTable-CS2JSNOK.css","assets/SuggestionItem-D5k7H1pi.js","assets/ListItemBaseTemplate-fB6cyhUP.js","assets/Option-yBqY0LHt.js","assets/Link-CUU7QKFS.js","assets/DynamicTableView-BeFbxN-v.css","assets/Features-BG3a2Uss.js","assets/FeatureUsage-bZ5aaT8-.js","assets/DataTypes-BZRO6j6k.js","assets/Certificates-bkc6AR9l.js","assets/Tables-Bx-YmA4X.js","assets/useSmartTable-WzAaSsKz.js","assets/Tables-lIHkYCFb.css","assets/Views-DcJvStTZ.js","assets/Procedures-CmOVdYLB.js","assets/Functions-Cr04G6mI.js","assets/Schemas-DZ4WTNDF.js","assets/Indexes-DoFx7jlP.js","assets/InspectTable-DDrRTst1.js","assets/CodeBlock-D3rHmyOE.js","assets/_commonjsHelpers-Cpj98o6Y.js","assets/CodeBlock-CFMkR2IV.css","assets/Tab-DXA6J-WP.js","assets/slideUp-BU4b7UJI.js","assets/InspectTable-BbWSs05M.css","assets/InspectView-BEGlOYWn.js","assets/InspectView-ByqqqhGD.css","assets/InspectFunction-Bu6vDTzz.js","assets/InspectFunction-COvPmosZ.css","assets/CallProcedure-DYjC5NuE.js","assets/MessageStrip-st-aaDs2.js","assets/CallProcedure-CYHSrF0k.css","assets/QuerySimple-C8wahTIQ.js","assets/QueryEditor-qtET-3r5.js","assets/splitpanes-BHRpRnq4.js","assets/splitpanes-CTQZGdsC.css","assets/SegmentedButton-D0FpyF_g.js","assets/QueryEditor-QuEoapIC.css","assets/Import-Gk_asnr8.js","assets/Import-BjbzgAX-.css","assets/MassConvert-D2zgg1Rc.js","assets/MassConvert-GEFVoItv.css","assets/CFLogin-0rk55Wup.js","assets/CFLogin-CPCl0TDT.css","assets/HDI-B7q5VoWN.js","assets/SBSS-B4KSKNna.js","assets/SchemaInstances-NxsfHyDf.js","assets/SecureStore-D65uFtAs.js","assets/UPS-BHdZI8-4.js","assets/Containers-CcHwV0dp.js","assets/BtpLogin-CwDnNSRL.js","assets/BtpLogin-BIqAb-ud.css","assets/BtpInfo-7Qe2D5PE.js","assets/CardHeader-D25i9-9b.js","assets/BtpInfo-Blf0up3B.css","assets/BtpSubs-DsVotqLu.js","assets/BtpTarget-CDKMIQnW.js","assets/BtpTarget-Dj2EQSii.css","assets/Version-CyOhYK1C.js","assets/Version-BP44lHbM.css","assets/CalcViewBrowser-C71_shNN.js","assets/useCalcViewFileApi-De0S2Did.js","assets/CalcViewBrowser-CqGDwi6l.css","assets/CalcViewEditor-CzAB2IbK.js","assets/index-tIVfSlto.js","assets/CalcViewEditor-ZeXe4vUz.css","assets/Analytics-CYfZe0D5.js","assets/Analytics-DVzlnwiN.css","assets/InputSuggestions-CaWTjySl.js","assets/ListItemStandardExpandableTextTemplate-C2dmZvS-.js"])))=>i.map(i=>d[i]); -var y5=Object.defineProperty;var w5=(t,e,i)=>e in t?y5(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var ze=(t,e,i)=>w5(t,typeof e!="symbol"?e+"":e,i);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const n of r)if(n.type==="childList")for(const a of n.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function i(r){const n={};return r.integrity&&(n.integrity=r.integrity),r.referrerPolicy&&(n.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?n.credentials="include":r.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function o(r){if(r.ep)return;r.ep=!0;const n=i(r);fetch(r.href,n)}})();/** -* @vue/shared v3.5.34 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function a_(t){const e=Object.create(null);for(const i of t.split(","))e[i]=1;return i=>i in e}const $e={},sn=[],Xi=()=>{},of=()=>!1,cl=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),ul=t=>t.startsWith("onUpdate:"),gt=Object.assign,s_=(t,e)=>{const i=t.indexOf(e);i>-1&&t.splice(i,1)},C5=Object.prototype.hasOwnProperty,Le=(t,e)=>C5.call(t,e),Y=Array.isArray,ln=t=>Da(t)==="[object Map]",rf=t=>Da(t)==="[object Set]",bd=t=>Da(t)==="[object Date]",te=t=>typeof t=="function",Ge=t=>typeof t=="string",si=t=>typeof t=="symbol",Ie=t=>t!==null&&typeof t=="object",nf=t=>(Ie(t)||te(t))&&te(t.then)&&te(t.catch),af=Object.prototype.toString,Da=t=>af.call(t),x5=t=>Da(t).slice(8,-1),sf=t=>Da(t)==="[object Object]",_l=t=>Ge(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,sa=a_(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),dl=t=>{const e=Object.create(null);return(i=>e[i]||(e[i]=t(i)))},S5=/-\w/g,Gt=dl(t=>t.replace(S5,e=>e.slice(1).toUpperCase())),k5=/\B([A-Z])/g,_r=dl(t=>t.replace(k5,"-$1").toLowerCase()),hl=dl(t=>t.charAt(0).toUpperCase()+t.slice(1)),Yl=dl(t=>t?`on${hl(t)}`:""),wi=(t,e)=>!Object.is(t,e),fs=(t,...e)=>{for(let i=0;i{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:o,value:i})},l_=t=>{const e=parseFloat(t);return isNaN(e)?t:e},T5=t=>{const e=Ge(t)?Number(t):NaN;return isNaN(e)?t:e};let yd;const pl=()=>yd||(yd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function fl(t){if(Y(t)){const e={};for(let i=0;i{if(i){const o=i.split(B5);o.length>1&&(e[o[0].trim()]=o[1].trim())}}),e}function hi(t){let e="";if(Ge(t))e=t;else if(Y(t))for(let i=0;i!!(t&&t.__v_isRef===!0),Lt=t=>Ge(t)?t:t==null?"":Y(t)||Ie(t)&&(t.toString===af||!te(t.toString))?uf(t)?Lt(t.value):JSON.stringify(t,_f,2):String(t),_f=(t,e)=>uf(e)?_f(t,e.value):ln(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((i,[o,r],n)=>(i[Jl(o,n)+" =>"]=r,i),{})}:rf(e)?{[`Set(${e.size})`]:[...e.values()].map(i=>Jl(i))}:si(e)?Jl(e):Ie(e)&&!Y(e)&&!sf(e)?String(e):e,Jl=(t,e="")=>{var i;return si(t)?`Symbol(${(i=t.description)!=null?i:e})`:t};/** -* @vue/reactivity v3.5.34 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let ht;class df{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&ht&&(ht.active?(this.parent=ht,this.index=(ht.scopes||(ht.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,i;if(this.scopes)for(e=0,i=this.scopes.length;e0&&--this._on===0){if(ht===this)ht=this.prevScope;else{let e=ht;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let i,o;for(i=0,o=this.effects.length;i0)return;if(ca){let e=ca;for(ca=void 0;e;){const i=e.next;e.next=void 0,e.flags&=-9,e=i}}let t;for(;la;){let e=la;for(la=void 0;e;){const i=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(o){t||(t=o)}e=i}}if(t)throw t}function gf(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function mf(t){let e,i=t.depsTail,o=i;for(;o;){const r=o.prevDep;o.version===-1?(o===i&&(i=r),d_(o),D5(o)):e=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=r}t.deps=e,t.depsTail=i}function Uc(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(vf(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function vf(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===ma)||(t.globalVersion=ma,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Uc(t))))return;t.flags|=2;const e=t.dep,i=Ue,o=xi;Ue=t,xi=!0;try{gf(t);const r=t.fn(t._value);(e.version===0||wi(r,t._value))&&(t.flags|=128,t._value=r,e.version++)}catch(r){throw e.version++,r}finally{Ue=i,xi=o,mf(t),t.flags&=-3}}function d_(t,e=!1){const{dep:i,prevSub:o,nextSub:r}=t;if(o&&(o.nextSub=r,t.prevSub=void 0),r&&(r.prevSub=o,t.nextSub=void 0),i.subs===t&&(i.subs=o,!o&&i.computed)){i.computed.flags&=-5;for(let n=i.computed.deps;n;n=n.nextDep)d_(n,!0)}!e&&!--i.sc&&i.map&&i.map.delete(i.key)}function D5(t){const{prevDep:e,nextDep:i}=t;e&&(e.nextDep=i,t.prevDep=void 0),i&&(i.prevDep=e,t.nextDep=void 0)}let xi=!0;const bf=[];function Io(){bf.push(xi),xi=!1}function Bo(){const t=bf.pop();xi=t===void 0?!0:t}function wd(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const i=Ue;Ue=void 0;try{e()}finally{Ue=i}}}let ma=0;class z5{constructor(e,i){this.sub=e,this.dep=i,this.version=i.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class gl{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!Ue||!xi||Ue===this.computed)return;let i=this.activeLink;if(i===void 0||i.sub!==Ue)i=this.activeLink=new z5(Ue,this),Ue.deps?(i.prevDep=Ue.depsTail,Ue.depsTail.nextDep=i,Ue.depsTail=i):Ue.deps=Ue.depsTail=i,yf(i);else if(i.version===-1&&(i.version=this.version,i.nextDep)){const o=i.nextDep;o.prevDep=i.prevDep,i.prevDep&&(i.prevDep.nextDep=o),i.prevDep=Ue.depsTail,i.nextDep=void 0,Ue.depsTail.nextDep=i,Ue.depsTail=i,Ue.deps===i&&(Ue.deps=o)}return i}trigger(e){this.version++,ma++,this.notify(e)}notify(e){u_();try{for(let i=this.subs;i;i=i.prevSub)i.sub.notify()&&i.sub.dep.notify()}finally{__()}}}function yf(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let o=e.deps;o;o=o.nextDep)yf(o)}const i=t.dep.subs;i!==t&&(t.prevSub=i,i&&(i.nextSub=t)),t.dep.subs=t}}const Os=new WeakMap,Hr=Symbol(""),Vc=Symbol(""),va=Symbol("");function Pt(t,e,i){if(xi&&Ue){let o=Os.get(t);o||Os.set(t,o=new Map);let r=o.get(i);r||(o.set(i,r=new gl),r.map=o,r.key=i),r.track()}}function wo(t,e,i,o,r,n){const a=Os.get(t);if(!a){ma++;return}const s=l=>{l&&l.trigger()};if(u_(),e==="clear")a.forEach(s);else{const l=Y(t),c=l&&_l(i);if(l&&i==="length"){const u=Number(o);a.forEach((_,d)=>{(d==="length"||d===va||!si(d)&&d>=u)&&s(_)})}else switch((i!==void 0||a.has(void 0))&&s(a.get(i)),c&&s(a.get(va)),e){case"add":l?c&&s(a.get("length")):(s(a.get(Hr)),ln(t)&&s(a.get(Vc)));break;case"delete":l||(s(a.get(Hr)),ln(t)&&s(a.get(Vc)));break;case"set":ln(t)&&s(a.get(Hr));break}}__()}function N5(t,e){const i=Os.get(t);return i&&i.get(e)}function Qr(t){const e=ke(t);return e===t?e:(Pt(e,"iterate",va),ni(t)?e:e.map(Ti))}function ml(t){return Pt(t=ke(t),"iterate",va),t}function ji(t,e){return Ao(t)?gn(Ur(t)?Ti(e):e):Ti(e)}const M5={__proto__:null,[Symbol.iterator](){return ec(this,Symbol.iterator,t=>ji(this,t))},concat(...t){return Qr(this).concat(...t.map(e=>Y(e)?Qr(e):e))},entries(){return ec(this,"entries",t=>(t[1]=ji(this,t[1]),t))},every(t,e){return lo(this,"every",t,e,void 0,arguments)},filter(t,e){return lo(this,"filter",t,e,i=>i.map(o=>ji(this,o)),arguments)},find(t,e){return lo(this,"find",t,e,i=>ji(this,i),arguments)},findIndex(t,e){return lo(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return lo(this,"findLast",t,e,i=>ji(this,i),arguments)},findLastIndex(t,e){return lo(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return lo(this,"forEach",t,e,void 0,arguments)},includes(...t){return tc(this,"includes",t)},indexOf(...t){return tc(this,"indexOf",t)},join(t){return Qr(this).join(t)},lastIndexOf(...t){return tc(this,"lastIndexOf",t)},map(t,e){return lo(this,"map",t,e,void 0,arguments)},pop(){return Hn(this,"pop")},push(...t){return Hn(this,"push",t)},reduce(t,...e){return Cd(this,"reduce",t,e)},reduceRight(t,...e){return Cd(this,"reduceRight",t,e)},shift(){return Hn(this,"shift")},some(t,e){return lo(this,"some",t,e,void 0,arguments)},splice(...t){return Hn(this,"splice",t)},toReversed(){return Qr(this).toReversed()},toSorted(t){return Qr(this).toSorted(t)},toSpliced(...t){return Qr(this).toSpliced(...t)},unshift(...t){return Hn(this,"unshift",t)},values(){return ec(this,"values",t=>ji(this,t))}};function ec(t,e,i){const o=ml(t),r=o[e]();return o!==t&&!ni(t)&&(r._next=r.next,r.next=()=>{const n=r._next();return n.done||(n.value=i(n.value)),n}),r}const $5=Array.prototype;function lo(t,e,i,o,r,n){const a=ml(t),s=a!==t&&!ni(t),l=a[e];if(l!==$5[e]){const _=l.apply(t,n);return s?Ti(_):_}let c=i;a!==t&&(s?c=function(_,d){return i.call(this,ji(t,_),d,t)}:i.length>2&&(c=function(_,d){return i.call(this,_,d,t)}));const u=l.call(a,c,o);return s&&r?r(u):u}function Cd(t,e,i,o){const r=ml(t),n=r!==t&&!ni(t);let a=i,s=!1;r!==t&&(n?(s=o.length===0,a=function(c,u,_){return s&&(s=!1,c=ji(t,c)),i.call(this,c,ji(t,u),_,t)}):i.length>3&&(a=function(c,u,_){return i.call(this,c,u,_,t)}));const l=r[e](a,...o);return s?ji(t,l):l}function tc(t,e,i){const o=ke(t);Pt(o,"iterate",va);const r=o[e](...i);return(r===-1||r===!1)&&vl(i[0])?(i[0]=ke(i[0]),o[e](...i)):r}function Hn(t,e,i=[]){Io(),u_();const o=ke(t)[e].apply(t,i);return __(),Bo(),o}const F5=a_("__proto__,__v_isRef,__isVue"),wf=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(si));function H5(t){si(t)||(t=String(t));const e=ke(this);return Pt(e,"has",t),e.hasOwnProperty(t)}class Cf{constructor(e=!1,i=!1){this._isReadonly=e,this._isShallow=i}get(e,i,o){if(i==="__v_skip")return e.__v_skip;const r=this._isReadonly,n=this._isShallow;if(i==="__v_isReactive")return!r;if(i==="__v_isReadonly")return r;if(i==="__v_isShallow")return n;if(i==="__v_raw")return o===(r?n?Y5:Tf:n?kf:Sf).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(o)?e:void 0;const a=Y(e);if(!r){let l;if(a&&(l=M5[i]))return l;if(i==="hasOwnProperty")return H5}const s=Reflect.get(e,i,ft(e)?e:o);if((si(i)?wf.has(i):F5(i))||(r||Pt(e,"get",i),n))return s;if(ft(s)){const l=a&&_l(i)?s:s.value;return r&&Ie(l)?Gc(l):l}return Ie(s)?r?Gc(s):za(s):s}}class xf extends Cf{constructor(e=!1){super(!1,e)}set(e,i,o,r){let n=e[i];const a=Y(e)&&_l(i);if(!this._isShallow){const c=Ao(n);if(!ni(o)&&!Ao(o)&&(n=ke(n),o=ke(o)),!a&&ft(n)&&!ft(o))return c||(n.value=o),!0}const s=a?Number(i)t,ts=t=>Reflect.getPrototypeOf(t);function j5(t,e,i){return function(...o){const r=this.__v_raw,n=ke(r),a=ln(n),s=t==="entries"||t===Symbol.iterator&&a,l=t==="keys"&&a,c=r[t](...o),u=i?qc:e?gn:Ti;return!e&&Pt(n,"iterate",l?Vc:Hr),gt(Object.create(c),{next(){const{value:_,done:d}=c.next();return d?{value:_,done:d}:{value:s?[u(_[0]),u(_[1])]:u(_),done:d}}})}}function is(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function W5(t,e){const i={get(r){const n=this.__v_raw,a=ke(n),s=ke(r);t||(wi(r,s)&&Pt(a,"get",r),Pt(a,"get",s));const{has:l}=ts(a),c=e?qc:t?gn:Ti;if(l.call(a,r))return c(n.get(r));if(l.call(a,s))return c(n.get(s));n!==a&&n.get(r)},get size(){const r=this.__v_raw;return!t&&Pt(ke(r),"iterate",Hr),r.size},has(r){const n=this.__v_raw,a=ke(n),s=ke(r);return t||(wi(r,s)&&Pt(a,"has",r),Pt(a,"has",s)),r===s?n.has(r):n.has(r)||n.has(s)},forEach(r,n){const a=this,s=a.__v_raw,l=ke(s),c=e?qc:t?gn:Ti;return!t&&Pt(l,"iterate",Hr),s.forEach((u,_)=>r.call(n,c(u),c(_),a))}};return gt(i,t?{add:is("add"),set:is("set"),delete:is("delete"),clear:is("clear")}:{add(r){const n=ke(this),a=ts(n),s=ke(r),l=!e&&!ni(r)&&!Ao(r)?s:r;return a.has.call(n,l)||wi(r,l)&&a.has.call(n,r)||wi(s,l)&&a.has.call(n,s)||(n.add(l),wo(n,"add",l,l)),this},set(r,n){!e&&!ni(n)&&!Ao(n)&&(n=ke(n));const a=ke(this),{has:s,get:l}=ts(a);let c=s.call(a,r);c||(r=ke(r),c=s.call(a,r));const u=l.call(a,r);return a.set(r,n),c?wi(n,u)&&wo(a,"set",r,n):wo(a,"add",r,n),this},delete(r){const n=ke(this),{has:a,get:s}=ts(n);let l=a.call(n,r);l||(r=ke(r),l=a.call(n,r)),s&&s.call(n,r);const c=n.delete(r);return l&&wo(n,"delete",r,void 0),c},clear(){const r=ke(this),n=r.size!==0,a=r.clear();return n&&wo(r,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(r=>{i[r]=j5(r,t,e)}),i}function h_(t,e){const i=W5(t,e);return(o,r,n)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?o:Reflect.get(Le(i,r)&&r in o?i:o,r,n)}const K5={get:h_(!1,!1)},Z5={get:h_(!1,!0)},X5={get:h_(!0,!1)};const Sf=new WeakMap,kf=new WeakMap,Tf=new WeakMap,Y5=new WeakMap;function J5(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Q5(t){return t.__v_skip||!Object.isExtensible(t)?0:J5(x5(t))}function za(t){return Ao(t)?t:p_(t,!1,V5,K5,Sf)}function If(t){return p_(t,!1,G5,Z5,kf)}function Gc(t){return p_(t,!0,q5,X5,Tf)}function p_(t,e,i,o,r){if(!Ie(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const n=Q5(t);if(n===0)return t;const a=r.get(t);if(a)return a;const s=new Proxy(t,n===2?o:i);return r.set(t,s),s}function Ur(t){return Ao(t)?Ur(t.__v_raw):!!(t&&t.__v_isReactive)}function Ao(t){return!!(t&&t.__v_isReadonly)}function ni(t){return!!(t&&t.__v_isShallow)}function vl(t){return t?!!t.__v_raw:!1}function ke(t){const e=t&&t.__v_raw;return e?ke(e):t}function eb(t){return!Le(t,"__v_skip")&&Object.isExtensible(t)&&lf(t,"__v_skip",!0),t}const Ti=t=>Ie(t)?za(t):t,gn=t=>Ie(t)?Gc(t):t;function ft(t){return t?t.__v_isRef===!0:!1}function _e(t){return Bf(t,!1)}function tb(t){return Bf(t,!0)}function Bf(t,e){return ft(t)?t:new ib(t,e)}class ib{constructor(e,i){this.dep=new gl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=i?e:ke(e),this._value=i?e:Ti(e),this.__v_isShallow=i}get value(){return this.dep.track(),this._value}set value(e){const i=this._rawValue,o=this.__v_isShallow||ni(e)||Ao(e);e=o?e:ke(e),wi(e,i)&&(this._rawValue=e,this._value=o?e:Ti(e),this.dep.trigger())}}function i6(t){t.dep&&t.dep.trigger()}function rt(t){return ft(t)?t.value:t}function o6(t){return te(t)?t():rt(t)}const ob={get:(t,e,i)=>e==="__v_raw"?t:rt(Reflect.get(t,e,i)),set:(t,e,i,o)=>{const r=t[e];return ft(r)&&!ft(i)?(r.value=i,!0):Reflect.set(t,e,i,o)}};function Af(t){return Ur(t)?t:new Proxy(t,ob)}class rb{constructor(e){this.__v_isRef=!0,this._value=void 0;const i=this.dep=new gl,{get:o,set:r}=e(i.track.bind(i),i.trigger.bind(i));this._get=o,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function r6(t){return new rb(t)}function n6(t){const e=Y(t)?new Array(t.length):{};for(const i in t)e[i]=Ef(t,i);return e}class nb{constructor(e,i,o){this._object=e,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0,this._key=si(i)?i:String(i),this._raw=ke(e);let r=!0,n=e;if(!Y(e)||si(this._key)||!_l(this._key))do r=!vl(n)||ni(n);while(r&&(n=n.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=rt(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&ft(this._raw[this._key])){const i=this._object[this._key];if(ft(i)){i.value=e;return}}this._object[this._key]=e}get dep(){return N5(this._raw,this._key)}}class ab{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function a6(t,e,i){return ft(t)?t:te(t)?new ab(t):Ie(t)&&arguments.length>1?Ef(t,e,i):_e(t)}function Ef(t,e,i){return new nb(t,e,i)}class sb{constructor(e,i,o){this.fn=e,this.setter=i,this._value=void 0,this.dep=new gl(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ma-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!i,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&Ue!==this)return ff(this,!0),!0}get value(){const e=this.dep.track();return vf(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function lb(t,e,i=!1){let o,r;return te(t)?o=t:(o=t.get,r=t.set),new sb(o,r,i)}const os={},Ds=new WeakMap;let Tr;function cb(t,e=!1,i=Tr){if(i){let o=Ds.get(i);o||Ds.set(i,o=[]),o.push(t)}}function ub(t,e,i=$e){const{immediate:o,deep:r,once:n,scheduler:a,augmentJob:s,call:l}=i,c=P=>r?P:ni(P)||r===!1||r===0?Co(P,1):Co(P);let u,_,d,h,g=!1,y=!1;if(ft(t)?(_=()=>t.value,g=ni(t)):Ur(t)?(_=()=>c(t),g=!0):Y(t)?(y=!0,g=t.some(P=>Ur(P)||ni(P)),_=()=>t.map(P=>{if(ft(P))return P.value;if(Ur(P))return c(P);if(te(P))return l?l(P,2):P()})):te(t)?e?_=l?()=>l(t,2):t:_=()=>{if(d){Io();try{d()}finally{Bo()}}const P=Tr;Tr=u;try{return l?l(t,3,[h]):t(h)}finally{Tr=P}}:_=Xi,e&&r){const P=_,K=r===!0?1/0:r;_=()=>Co(P(),K)}const C=O5(),S=()=>{u.stop(),C&&C.active&&s_(C.effects,u)};if(n&&e){const P=e;e=(...K)=>{P(...K),S()}}let x=y?new Array(t.length).fill(os):os;const A=P=>{if(!(!(u.flags&1)||!u.dirty&&!P))if(e){const K=u.run();if(r||g||(y?K.some((V,O)=>wi(V,x[O])):wi(K,x))){d&&d();const V=Tr;Tr=u;try{const O=[K,x===os?void 0:y&&x[0]===os?[]:x,h];x=K,l?l(e,3,O):e(...O)}finally{Tr=V}}}else u.run()};return s&&s(A),u=new hf(_),u.scheduler=a?()=>a(A,!1):A,h=P=>cb(P,!1,u),d=u.onStop=()=>{const P=Ds.get(u);if(P){if(l)l(P,4);else for(const K of P)K();Ds.delete(u)}},e?o?A(!0):x=u.run():a?a(A.bind(null,!0),!0):u.run(),S.pause=u.pause.bind(u),S.resume=u.resume.bind(u),S.stop=S,S}function Co(t,e=1/0,i){if(e<=0||!Ie(t)||t.__v_skip||(i=i||new Map,(i.get(t)||0)>=e))return t;if(i.set(t,e),e--,ft(t))Co(t.value,e,i);else if(Y(t))for(let o=0;o{Co(o,e,i)});else if(sf(t)){for(const o in t)Co(t[o],e,i);for(const o of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,o)&&Co(t[o],e,i)}return t}/** -* @vue/runtime-core v3.5.34 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Na(t,e,i,o){try{return o?t(...o):t()}catch(r){Ma(r,e,i)}}function Ii(t,e,i,o){if(te(t)){const r=Na(t,e,i,o);return r&&nf(r)&&r.catch(n=>{Ma(n,e,i)}),r}if(Y(t)){const r=[];for(let n=0;n>>1,r=Vt[o],n=ba(r);n=ba(i)?Vt.push(t):Vt.splice(db(e),0,t),t.flags|=1,Lf()}}function Lf(){zs||(zs=Rf.then(Of))}function hb(t){Y(t)?cn.push(...t):er&&t.id===-1?er.splice(tn+1,0,t):t.flags&1||(cn.push(t),t.flags|=1),Lf()}function xd(t,e,i=qi+1){for(;iba(i)-ba(o));if(cn.length=0,er){er.push(...e);return}for(er=e,tn=0;tnt.id==null?t.flags&2?-1:1/0:t.id;function Of(t){try{for(qi=0;qi{o._d&&Fs(-1);const n=Ns(e);let a;try{a=t(...r)}finally{Ns(n),o._d&&Fs(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function s6(t,e){if(kt===null)return t;const i=kl(kt),o=t.dirs||(t.dirs=[]);for(let r=0;r1)return i&&te(e)?e.call(o&&o.proxy):e}}const pb=Symbol.for("v-scx"),fb=()=>Si(pb);function l6(t,e){return g_(t,null,e)}function Yi(t,e,i){return g_(t,e,i)}function g_(t,e,i=$e){const{immediate:o,deep:r,flush:n,once:a}=i,s=gt({},i),l=e&&o||!e&&n!=="post";let c;if(vn){if(n==="sync"){const h=fb();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=Xi,h.resume=Xi,h.pause=Xi,h}}const u=St;s.call=(h,g,y)=>Ii(h,u,g,y);let _=!1;n==="post"?s.scheduler=h=>{Ht(h,u&&u.suspense)}:n!=="sync"&&(_=!0,s.scheduler=(h,g)=>{g?h():f_(h)}),s.augmentJob=h=>{e&&(h.flags|=4),_&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=ub(t,e,s);return vn&&(c?c.push(d):l&&d()),d}function gb(t,e,i){const o=this.proxy,r=Ge(t)?t.includes(".")?Nf(o,t):()=>o[t]:t.bind(o,o);let n;te(e)?n=e:(n=e.handler,i=e);const a=Fa(this),s=g_(r,n.bind(o),i);return a(),s}function Nf(t,e){const i=e.split(".");return()=>{let o=t;for(let r=0;rt.__isTeleport,Rr=t=>t&&(t.disabled||t.disabled===""),mb=t=>t&&(t.defer||t.defer===""),Sd=t=>typeof SVGElement<"u"&&t instanceof SVGElement,kd=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,jc=(t,e)=>{const i=t&&t.to;return Ge(i)?e?e(i):null:i},vb={name:"Teleport",__isTeleport:!0,process(t,e,i,o,r,n,a,s,l,c){const{mc:u,pc:_,pbc:d,o:{insert:h,querySelector:g,createText:y,createComment:C,parentNode:S}}=c,x=Rr(e.props);let{dynamicChildren:A}=e;const P=(O,F,k)=>{O.shapeFlag&16&&u(O.children,F,k,r,n,a,s,l)},K=(O=e)=>{const F=Rr(O.props),k=O.target=jc(O.props,g),G=Wc(k,O,y,h);k&&(a!=="svg"&&Sd(k)?a="svg":a!=="mathml"&&kd(k)&&(a="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(k),F||(P(O,k,G),Xn(O,!1)))},V=O=>{const F=()=>{if(jo.get(O)===F){if(jo.delete(O),Rr(O.props)){const k=S(O.el)||i;P(O,k,O.anchor),Xn(O,!0)}K(O)}};jo.set(O,F),Ht(F,n)};if(t==null){const O=e.el=y(""),F=e.anchor=y("");if(h(O,i,o),h(F,i,o),mb(e.props)||n&&n.pendingBranch){V(e);return}x&&(P(e,i,F),Xn(e,!0)),K()}else{e.el=t.el;const O=e.anchor=t.anchor,F=jo.get(t);if(F){F.flags|=8,jo.delete(t),V(e);return}e.targetStart=t.targetStart;const k=e.target=t.target,G=e.targetAnchor=t.targetAnchor,ee=Rr(t.props),N=ee?i:k,Ce=ee?O:G;if(a==="svg"||Sd(k)?a="svg":(a==="mathml"||kd(k))&&(a="mathml"),A?(d(t.dynamicChildren,A,N,r,n,a,s),y_(t,e,!0)):l||_(t,e,N,Ce,r,n,a,s,!1),x)ee?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):rs(e,i,O,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const et=e.target=jc(e.props,g);et&&rs(e,et,null,c,0)}else ee&&rs(e,k,G,c,1);Xn(e,x)}},remove(t,e,i,{um:o,o:{remove:r}},n){const{shapeFlag:a,children:s,anchor:l,targetStart:c,targetAnchor:u,target:_,props:d}=t;let h=n||!Rr(d);const g=jo.get(t);if(g&&(g.flags|=8,jo.delete(t),h=!1),_&&(r(c),r(u)),n&&r(l),a&16)for(let y=0;y{t.isMounted=!0}),jf(()=>{t.isUnmounting=!0}),t}const di=[Function,Array],Ff={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:di,onEnter:di,onAfterEnter:di,onEnterCancelled:di,onBeforeLeave:di,onLeave:di,onAfterLeave:di,onLeaveCancelled:di,onBeforeAppear:di,onAppear:di,onAfterAppear:di,onAppearCancelled:di},Hf=t=>{const e=t.subTree;return e.component?Hf(e.component):e},wb={name:"BaseTransition",props:Ff,setup(t,{slots:e}){const i=C_(),o=yb();return()=>{const r=e.default&&qf(e.default(),!0),n=r&&r.length?Uf(r):i.subTree?ri():void 0;if(!n)return;const a=ke(t),{mode:s}=a;if(o.isLeaving)return ic(n);const l=Td(n);if(!l)return ic(n);let c=Kc(l,a,o,i,_=>c=_);l.type!==Ot&&ya(l,c);let u=i.subTree&&Td(i.subTree);if(u&&u.type!==Ot&&!Lr(u,l)&&Hf(i).type!==Ot){let _=Kc(u,a,o,i);if(ya(u,_),s==="out-in"&&l.type!==Ot)return o.isLeaving=!0,_.afterLeave=()=>{o.isLeaving=!1,i.job.flags&8||i.update(),delete _.afterLeave,u=void 0},ic(n);s==="in-out"&&l.type!==Ot?_.delayLeave=(d,h,g)=>{const y=Vf(o,u);y[String(u.key)]=u,d[Gi]=()=>{h(),d[Gi]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{g(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return n}}};function Uf(t){let e=t[0];if(t.length>1){for(const i of t)if(i.type!==Ot){e=i;break}}return e}const Cb=wb;function Vf(t,e){const{leavingVNodes:i}=t;let o=i.get(e.type);return o||(o=Object.create(null),i.set(e.type,o)),o}function Kc(t,e,i,o,r){const{appear:n,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:_,onBeforeLeave:d,onLeave:h,onAfterLeave:g,onLeaveCancelled:y,onBeforeAppear:C,onAppear:S,onAfterAppear:x,onAppearCancelled:A}=e,P=String(t.key),K=Vf(i,t),V=(k,G)=>{k&&Ii(k,o,9,G)},O=(k,G)=>{const ee=G[1];V(k,G),Y(k)?k.every(N=>N.length<=1)&&ee():k.length<=1&&ee()},F={mode:a,persisted:s,beforeEnter(k){let G=l;if(!i.isMounted)if(n)G=C||l;else return;k[Gi]&&k[Gi](!0);const ee=K[P];ee&&Lr(t,ee)&&ee.el[Gi]&&ee.el[Gi](),V(G,[k])},enter(k){if(K[P]===t)return;let G=c,ee=u,N=_;if(!i.isMounted)if(n)G=S||c,ee=x||u,N=A||_;else return;let Ce=!1;k[Un]=ii=>{Ce||(Ce=!0,ii?V(N,[k]):V(ee,[k]),F.delayedLeave&&F.delayedLeave(),k[Un]=void 0)};const et=k[Un].bind(null,!1);G?O(G,[k,et]):et()},leave(k,G){const ee=String(t.key);if(k[Un]&&k[Un](!0),i.isUnmounting)return G();V(d,[k]);let N=!1;k[Gi]=et=>{N||(N=!0,G(),et?V(y,[k]):V(g,[k]),k[Gi]=void 0,K[ee]===t&&delete K[ee])};const Ce=k[Gi].bind(null,!1);K[ee]=t,h?O(h,[k,Ce]):Ce()},clone(k){const G=Kc(k,e,i,o,r);return r&&r(G),G}};return F}function ic(t){if($a(t))return t=sr(t),t.children=null,t}function Td(t){if(!$a(t))return $f(t.type)&&t.children?Uf(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:i}=t;if(i){if(e&16)return i[0];if(e&32&&te(i.default))return i.default()}}function ya(t,e){t.shapeFlag&6&&t.component?(t.transition=e,ya(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function qf(t,e=!1,i){let o=[],r=0;for(let n=0;n1)for(let n=0;nua(y,e&&(Y(e)?e[C]:e),i,o,r));return}if(un(o)&&!r){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&ua(t,e,i,o.component.subTree);return}const n=o.shapeFlag&4?kl(o.component):o.el,a=r?null:n,{i:s,r:l}=t,c=e&&e.r,u=s.refs===$e?s.refs={}:s.refs,_=s.setupState,d=ke(_),h=_===$e?of:y=>Id(u,y)?!1:Le(d,y),g=(y,C)=>!(C&&Id(u,C));if(c!=null&&c!==l){if(Bd(e),Ge(c))u[c]=null,h(c)&&(_[c]=null);else if(ft(c)){const y=e;g(c,y.k)&&(c.value=null),y.k&&(u[y.k]=null)}}if(te(l))Na(l,s,12,[a,u]);else{const y=Ge(l),C=ft(l);if(y||C){const S=()=>{if(t.f){const x=y?h(l)?_[l]:u[l]:g()||!t.k?l.value:u[t.k];if(r)Y(x)&&s_(x,n);else if(Y(x))x.includes(n)||x.push(n);else if(y)u[l]=[n],h(l)&&(_[l]=u[l]);else{const A=[n];g(l,t.k)&&(l.value=A),t.k&&(u[t.k]=A)}}else y?(u[l]=a,h(l)&&(_[l]=a)):C&&(g(l,t.k)&&(l.value=a),t.k&&(u[t.k]=a))};if(a){const x=()=>{S(),Ms.delete(t)};x.id=-1,Ms.set(t,x),Ht(x,i)}else Bd(t),S()}}}function Bd(t){const e=Ms.get(t);e&&(e.flags|=8,Ms.delete(t))}const Ad=t=>t.nodeType===8;pl().requestIdleCallback;pl().cancelIdleCallback;function xb(t,e){if(Ad(t)&&t.data==="["){let i=1,o=t.nextSibling;for(;o;){if(o.nodeType===1){if(e(o)===!1)break}else if(Ad(o))if(o.data==="]"){if(--i===0)break}else o.data==="["&&i++;o=o.nextSibling}}else e(t)}const un=t=>!!t.type.__asyncLoader;function u6(t){te(t)&&(t={loader:t});const{loader:e,loadingComponent:i,errorComponent:o,delay:r=200,hydrate:n,timeout:a,suspensible:s=!0,onError:l}=t;let c=null,u,_=0;const d=()=>(_++,c=null,h()),h=()=>{let g;return c||(g=c=e().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),l)return new Promise((C,S)=>{l(y,()=>C(d()),()=>S(y),_+1)});throw y}).then(y=>g!==c&&c?c:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),u=y,y)))};return zo({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(g,y,C){let S=!1;(y.bu||(y.bu=[])).push(()=>S=!0);const x=()=>{S||C()},A=n?()=>{const P=n(x,K=>xb(g,K));P&&(y.bum||(y.bum=[])).push(P)}:x;u?A():h().then(()=>!y.isUnmounted&&A())},get __asyncResolved(){return u},setup(){const g=St;if(m_(g),u)return()=>ns(u,g);const y=A=>{c=null,Ma(A,g,13,!o)};if(s&&g.suspense||vn)return h().then(A=>()=>ns(A,g)).catch(A=>(y(A),()=>o?Ze(o,{error:A}):null));const C=_e(!1),S=_e(),x=_e(!!r);return r&&setTimeout(()=>{x.value=!1},r),a!=null&&setTimeout(()=>{if(!C.value&&!S.value){const A=new Error(`Async component timed out after ${a}ms.`);y(A),S.value=A}},a),h().then(()=>{C.value=!0,g.parent&&$a(g.parent.vnode)&&g.parent.update()}).catch(A=>{y(A),S.value=A}),()=>{if(C.value&&u)return ns(u,g);if(S.value&&o)return Ze(o,{error:S.value});if(i&&!x.value)return ns(i,g)}}})}function ns(t,e){const{ref:i,props:o,children:r,ce:n}=e.vnode,a=Ze(t,o,r);return a.ref=i,a.ce=n,delete e.vnode.ce,a}const $a=t=>t.type.__isKeepAlive;function Sb(t,e){Gf(t,"a",e)}function kb(t,e){Gf(t,"da",e)}function Gf(t,e,i=St){const o=t.__wdc||(t.__wdc=()=>{let r=i;for(;r;){if(r.isDeactivated)return;r=r.parent}return t()});if(yl(e,o,i),i){let r=i.parent;for(;r&&r.parent;)$a(r.parent.vnode)&&Tb(o,e,i,r),r=r.parent}}function Tb(t,e,i,o){const r=yl(e,t,o,!0);Cl(()=>{s_(o[e],r)},i)}function yl(t,e,i=St,o=!1){if(i){const r=i[t]||(i[t]=[]),n=e.__weh||(e.__weh=(...a)=>{Io();const s=Fa(i),l=Ii(e,i,t,a);return s(),Bo(),l});return o?r.unshift(n):r.push(n),n}}const No=t=>(e,i=St)=>{(!vn||t==="sp")&&yl(t,(...o)=>e(...o),i)},Ib=No("bm"),wl=No("m"),Bb=No("bu"),Ab=No("u"),jf=No("bum"),Cl=No("um"),Eb=No("sp"),Rb=No("rtg"),Lb=No("rtc");function Pb(t,e=St){yl("ec",t,e)}const Wf="components";function Ob(t,e){return Zf(Wf,t,!0,e)||t}const Kf=Symbol.for("v-ndc");function _6(t){return Ge(t)?Zf(Wf,t,!1)||t:t||Kf}function Zf(t,e,i=!0,o=!1){const r=kt||St;if(r){const n=r.type;{const s=m0(n,!1);if(s&&(s===e||s===Gt(e)||s===hl(Gt(e))))return n}const a=Ed(r[t]||n[t],e)||Ed(r.appContext[t],e);return!a&&o?n:a}}function Ed(t,e){return t&&(t[e]||t[Gt(e)]||t[hl(Gt(e))])}function nr(t,e,i,o){let r;const n=i&&i[o],a=Y(t);if(a||Ge(t)){const s=a&&Ur(t);let l=!1,c=!1;s&&(l=!ni(t),c=Ao(t),t=ml(t)),r=new Array(t.length);for(let u=0,_=t.length;u<_;u++)r[u]=e(l?c?gn(Ti(t[u])):Ti(t[u]):t[u],u,void 0,n&&n[u])}else if(typeof t=="number"){r=new Array(t);for(let s=0;se(s,l,void 0,n&&n[l]));else{const s=Object.keys(t);r=new Array(s.length);for(let l=0,c=s.length;l0;return e!=="default"&&(i.name=e),re(),Hs(Ve,null,[Ze("slot",i,o&&o())],c?-2:64)}let n=t[e];n&&n._c&&(n._d=!1),re();const a=n&&Xf(n(i)),s=i.key||a&&a.key,l=Hs(Ve,{key:(s&&!si(s)?s:`_${e}`)+(!a&&o?"_fb":"")},a||(o?o():[]),a&&t._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),n&&n._c&&(n._d=!0),l}function Xf(t){return t.some(e=>wa(e)?!(e.type===Ot||e.type===Ve&&!Xf(e.children)):!0)?t:null}const Zc=t=>t?gg(t)?kl(t):Zc(t.parent):null,_a=gt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Zc(t.parent),$root:t=>Zc(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Qf(t),$forceUpdate:t=>t.f||(t.f=()=>{f_(t.update)}),$nextTick:t=>t.n||(t.n=bl.bind(t.proxy)),$watch:t=>gb.bind(t)}),oc=(t,e)=>t!==$e&&!t.__isScriptSetup&&Le(t,e),Db={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:i,setupState:o,data:r,props:n,accessCache:a,type:s,appContext:l}=t;if(e[0]!=="$"){const d=a[e];if(d!==void 0)switch(d){case 1:return o[e];case 2:return r[e];case 4:return i[e];case 3:return n[e]}else{if(oc(o,e))return a[e]=1,o[e];if(r!==$e&&Le(r,e))return a[e]=2,r[e];if(Le(n,e))return a[e]=3,n[e];if(i!==$e&&Le(i,e))return a[e]=4,i[e];Xc&&(a[e]=0)}}const c=_a[e];let u,_;if(c)return e==="$attrs"&&Pt(t.attrs,"get",""),c(t);if((u=s.__cssModules)&&(u=u[e]))return u;if(i!==$e&&Le(i,e))return a[e]=4,i[e];if(_=l.config.globalProperties,Le(_,e))return _[e]},set({_:t},e,i){const{data:o,setupState:r,ctx:n}=t;return oc(r,e)?(r[e]=i,!0):o!==$e&&Le(o,e)?(o[e]=i,!0):Le(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(n[e]=i,!0)},has({_:{data:t,setupState:e,accessCache:i,ctx:o,appContext:r,props:n,type:a}},s){let l;return!!(i[s]||t!==$e&&s[0]!=="$"&&Le(t,s)||oc(e,s)||Le(n,s)||Le(o,s)||Le(_a,s)||Le(r.config.globalProperties,s)||(l=a.__cssModules)&&l[s])},defineProperty(t,e,i){return i.get!=null?t._.accessCache[e]=0:Le(i,"value")&&this.set(t,e,i.value,null),Reflect.defineProperty(t,e,i)}};function h6(){return Yf().slots}function p6(){return Yf().attrs}function Yf(t){const e=C_();return e.setupContext||(e.setupContext=vg(e))}function Rd(t){return Y(t)?t.reduce((e,i)=>(e[i]=null,e),{}):t}function f6(t,e){const i={};for(const o in t)e.includes(o)||Object.defineProperty(i,o,{enumerable:!0,get:()=>t[o]});return i}let Xc=!0;function zb(t){const e=Qf(t),i=t.proxy,o=t.ctx;Xc=!1,e.beforeCreate&&Ld(e.beforeCreate,t,"bc");const{data:r,computed:n,methods:a,watch:s,provide:l,inject:c,created:u,beforeMount:_,mounted:d,beforeUpdate:h,updated:g,activated:y,deactivated:C,beforeDestroy:S,beforeUnmount:x,destroyed:A,unmounted:P,render:K,renderTracked:V,renderTriggered:O,errorCaptured:F,serverPrefetch:k,expose:G,inheritAttrs:ee,components:N,directives:Ce,filters:et}=e;if(c&&Nb(c,o,null),a)for(const De in a){const Ee=a[De];te(Ee)&&(o[De]=Ee.bind(i))}if(r){const De=r.call(i,i);Ie(De)&&(t.data=za(De))}if(Xc=!0,n)for(const De in n){const Ee=n[De],so=te(Ee)?Ee.bind(i,i):te(Ee.get)?Ee.get.bind(i,i):Xi,Fo=!te(Ee)&&te(Ee.set)?Ee.set.bind(i):Xi,zi=Qe({get:so,set:Fo});Object.defineProperty(o,De,{enumerable:!0,configurable:!0,get:()=>zi.value,set:Yt=>zi.value=Yt})}if(s)for(const De in s)Jf(s[De],o,i,De);if(l){const De=te(l)?l.call(i):l;Reflect.ownKeys(De).forEach(Ee=>{gs(Ee,De[Ee])})}u&&Ld(u,t,"c");function tt(De,Ee){Y(Ee)?Ee.forEach(so=>De(so.bind(i))):Ee&&De(Ee.bind(i))}if(tt(Ib,_),tt(wl,d),tt(Bb,h),tt(Ab,g),tt(Sb,y),tt(kb,C),tt(Pb,F),tt(Lb,V),tt(Rb,O),tt(jf,x),tt(Cl,P),tt(Eb,k),Y(G))if(G.length){const De=t.exposed||(t.exposed={});G.forEach(Ee=>{Object.defineProperty(De,Ee,{get:()=>i[Ee],set:so=>i[Ee]=so,enumerable:!0})})}else t.exposed||(t.exposed={});K&&t.render===Xi&&(t.render=K),ee!=null&&(t.inheritAttrs=ee),N&&(t.components=N),Ce&&(t.directives=Ce),k&&m_(t)}function Nb(t,e,i=Xi){Y(t)&&(t=Yc(t));for(const o in t){const r=t[o];let n;Ie(r)?"default"in r?n=Si(r.from||o,r.default,!0):n=Si(r.from||o):n=Si(r),ft(n)?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>n.value,set:a=>n.value=a}):e[o]=n}}function Ld(t,e,i){Ii(Y(t)?t.map(o=>o.bind(e.proxy)):t.bind(e.proxy),e,i)}function Jf(t,e,i,o){let r=o.includes(".")?Nf(i,o):()=>i[o];if(Ge(t)){const n=e[t];te(n)&&Yi(r,n)}else if(te(t))Yi(r,t.bind(i));else if(Ie(t))if(Y(t))t.forEach(n=>Jf(n,e,i,o));else{const n=te(t.handler)?t.handler.bind(i):e[t.handler];te(n)&&Yi(r,n,t)}}function Qf(t){const e=t.type,{mixins:i,extends:o}=e,{mixins:r,optionsCache:n,config:{optionMergeStrategies:a}}=t.appContext,s=n.get(e);let l;return s?l=s:!r.length&&!i&&!o?l=e:(l={},r.length&&r.forEach(c=>$s(l,c,a,!0)),$s(l,e,a)),Ie(e)&&n.set(e,l),l}function $s(t,e,i,o=!1){const{mixins:r,extends:n}=e;n&&$s(t,n,i,!0),r&&r.forEach(a=>$s(t,a,i,!0));for(const a in e)if(!(o&&a==="expose")){const s=Mb[a]||i&&i[a];t[a]=s?s(t[a],e[a]):e[a]}return t}const Mb={data:Pd,props:Od,emits:Od,methods:Yn,computed:Yn,beforeCreate:Ft,created:Ft,beforeMount:Ft,mounted:Ft,beforeUpdate:Ft,updated:Ft,beforeDestroy:Ft,beforeUnmount:Ft,destroyed:Ft,unmounted:Ft,activated:Ft,deactivated:Ft,errorCaptured:Ft,serverPrefetch:Ft,components:Yn,directives:Yn,watch:Fb,provide:Pd,inject:$b};function Pd(t,e){return e?t?function(){return gt(te(t)?t.call(this,this):t,te(e)?e.call(this,this):e)}:e:t}function $b(t,e){return Yn(Yc(t),Yc(e))}function Yc(t){if(Y(t)){const e={};for(let i=0;ie==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Gt(e)}Modifiers`]||t[`${_r(e)}Modifiers`];function qb(t,e,...i){if(t.isUnmounted)return;const o=t.vnode.props||$e;let r=i;const n=e.startsWith("update:"),a=n&&Vb(o,e.slice(7));a&&(a.trim&&(r=i.map(u=>Ge(u)?u.trim():u)),a.number&&(r=i.map(l_)));let s,l=o[s=Yl(e)]||o[s=Yl(Gt(e))];!l&&n&&(l=o[s=Yl(_r(e))]),l&&Ii(l,t,6,r);const c=o[s+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[s])return;t.emitted[s]=!0,Ii(c,t,6,r)}}const Gb=new WeakMap;function tg(t,e,i=!1){const o=i?Gb:e.emitsCache,r=o.get(t);if(r!==void 0)return r;const n=t.emits;let a={},s=!1;if(!te(t)){const l=c=>{const u=tg(c,e,!0);u&&(s=!0,gt(a,u))};!i&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!n&&!s?(Ie(t)&&o.set(t,null),null):(Y(n)?n.forEach(l=>a[l]=null):gt(a,n),Ie(t)&&o.set(t,a),a)}function xl(t,e){return!t||!cl(e)?!1:(e=e.slice(2).replace(/Once$/,""),Le(t,e[0].toLowerCase()+e.slice(1))||Le(t,_r(e))||Le(t,e))}function Dd(t){const{type:e,vnode:i,proxy:o,withProxy:r,propsOptions:[n],slots:a,attrs:s,emit:l,render:c,renderCache:u,props:_,data:d,setupState:h,ctx:g,inheritAttrs:y}=t,C=Ns(t);let S,x;try{if(i.shapeFlag&4){const P=r||o,K=P;S=Wi(c.call(K,P,u,_,h,d,g)),x=s}else{const P=e;S=Wi(P.length>1?P(_,{attrs:s,slots:a,emit:l}):P(_,null)),x=e.props?s:jb(s)}}catch(P){da.length=0,Ma(P,t,1),S=Ze(Ot)}let A=S;if(x&&y!==!1){const P=Object.keys(x),{shapeFlag:K}=A;P.length&&K&7&&(n&&P.some(ul)&&(x=Wb(x,n)),A=sr(A,x,!1,!0))}return i.dirs&&(A=sr(A,null,!1,!0),A.dirs=A.dirs?A.dirs.concat(i.dirs):i.dirs),i.transition&&ya(A,i.transition),S=A,Ns(C),S}const jb=t=>{let e;for(const i in t)(i==="class"||i==="style"||cl(i))&&((e||(e={}))[i]=t[i]);return e},Wb=(t,e)=>{const i={};for(const o in t)(!ul(o)||!(o.slice(9)in e))&&(i[o]=t[o]);return i};function Kb(t,e,i){const{props:o,children:r,component:n}=t,{props:a,children:s,patchFlag:l}=e,c=n.emitsOptions;if(e.dirs||e.transition)return!0;if(i&&l>=0){if(l&1024)return!0;if(l&16)return o?zd(o,a,c):!!a;if(l&8){const u=e.dynamicProps;for(let _=0;_Object.create(og),ng=t=>Object.getPrototypeOf(t)===og;function Xb(t,e,i,o=!1){const r={},n=rg();t.propsDefaults=Object.create(null),ag(t,e,r,n);for(const a in t.propsOptions[0])a in r||(r[a]=void 0);i?t.props=o?r:If(r):t.type.props?t.props=r:t.props=n,t.attrs=n}function Yb(t,e,i,o){const{props:r,attrs:n,vnode:{patchFlag:a}}=t,s=ke(r),[l]=t.propsOptions;let c=!1;if((o||a>0)&&!(a&16)){if(a&8){const u=t.vnode.dynamicProps;for(let _=0;_{l=!0;const[d,h]=sg(_,e,!0);gt(a,d),h&&s.push(...h)};!i&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!n&&!l)return Ie(t)&&o.set(t,sn),sn;if(Y(n))for(let u=0;ut==="_"||t==="_ctx"||t==="$stable",b_=t=>Y(t)?t.map(Wi):[Wi(t)],Qb=(t,e,i)=>{if(e._n)return e;const o=zf((...r)=>b_(e(...r)),i);return o._c=!1,o},lg=(t,e,i)=>{const o=t._ctx;for(const r in t){if(v_(r))continue;const n=t[r];if(te(n))e[r]=Qb(r,n,o);else if(n!=null){const a=b_(n);e[r]=()=>a}}},cg=(t,e)=>{const i=b_(e);t.slots.default=()=>i},ug=(t,e,i)=>{for(const o in e)(i||!v_(o))&&(t[o]=e[o])},e0=(t,e,i)=>{const o=t.slots=rg();if(t.vnode.shapeFlag&32){const r=e._;r?(ug(o,e,i),i&&lf(o,"_",r,!0)):lg(e,o)}else e&&cg(t,e)},t0=(t,e,i)=>{const{vnode:o,slots:r}=t;let n=!0,a=$e;if(o.shapeFlag&32){const s=e._;s?i&&s===1?n=!1:ug(r,e,i):(n=!e.$stable,lg(e,r)),a=e}else e&&(cg(t,e),a={default:1});if(n)for(const s in r)!v_(s)&&a[s]==null&&delete r[s]},Ht=a0;function i0(t){return o0(t)}function o0(t,e){const i=pl();i.__VUE__=!0;const{insert:o,remove:r,patchProp:n,createElement:a,createText:s,createComment:l,setText:c,setElementText:u,parentNode:_,nextSibling:d,setScopeId:h=Xi,insertStaticContent:g}=t,y=(v,b,w,T=null,E=null,I=null,H=void 0,M=null,D=!!b.dynamicChildren)=>{if(v===b)return;v&&!Lr(v,b)&&(T=B(v),Yt(v,E,I,!0),v=null),b.patchFlag===-2&&(D=!1,b.dynamicChildren=null);const{type:R,ref:Q,shapeFlag:q}=b;switch(R){case Sl:C(v,b,w,T);break;case Ot:S(v,b,w,T);break;case ms:v==null&&x(b,w,T,H);break;case Ve:N(v,b,w,T,E,I,H,M,D);break;default:q&1?K(v,b,w,T,E,I,H,M,D):q&6?Ce(v,b,w,T,E,I,H,M,D):(q&64||q&128)&&R.process(v,b,w,T,E,I,H,M,D,Z)}Q!=null&&E?ua(Q,v&&v.ref,I,b||v,!b):Q==null&&v&&v.ref!=null&&ua(v.ref,null,I,v,!0)},C=(v,b,w,T)=>{if(v==null)o(b.el=s(b.children),w,T);else{const E=b.el=v.el;b.children!==v.children&&c(E,b.children)}},S=(v,b,w,T)=>{v==null?o(b.el=l(b.children||""),w,T):b.el=v.el},x=(v,b,w,T)=>{[v.el,v.anchor]=g(v.children,b,w,T,v.el,v.anchor)},A=({el:v,anchor:b},w,T)=>{let E;for(;v&&v!==b;)E=d(v),o(v,w,T),v=E;o(b,w,T)},P=({el:v,anchor:b})=>{let w;for(;v&&v!==b;)w=d(v),r(v),v=w;r(b)},K=(v,b,w,T,E,I,H,M,D)=>{if(b.type==="svg"?H="svg":b.type==="math"&&(H="mathml"),v==null)V(b,w,T,E,I,H,M,D);else{const R=v.el&&v.el._isVueCE?v.el:null;try{R&&R._beginPatch(),k(v,b,E,I,H,M,D)}finally{R&&R._endPatch()}}},V=(v,b,w,T,E,I,H,M)=>{let D,R;const{props:Q,shapeFlag:q,transition:X,dirs:oe}=v;if(D=v.el=a(v.type,I,Q&&Q.is,Q),q&8?u(D,v.children):q&16&&F(v.children,D,null,T,E,rc(v,I),H,M),oe&&br(v,null,T,"created"),O(D,v,v.scopeId,H,T),Q){for(const Me in Q)Me!=="value"&&!sa(Me)&&n(D,Me,null,Q[Me],I,T);"value"in Q&&n(D,"value",null,Q.value,I),(R=Q.onVnodeBeforeMount)&&Fi(R,T,v)}oe&&br(v,null,T,"beforeMount");const xe=r0(E,X);xe&&X.beforeEnter(D),o(D,b,w),((R=Q&&Q.onVnodeMounted)||xe||oe)&&Ht(()=>{try{R&&Fi(R,T,v),xe&&X.enter(D),oe&&br(v,null,T,"mounted")}finally{}},E)},O=(v,b,w,T,E)=>{if(w&&h(v,w),T)for(let I=0;I{for(let R=D;R{const M=b.el=v.el;let{patchFlag:D,dynamicChildren:R,dirs:Q}=b;D|=v.patchFlag&16;const q=v.props||$e,X=b.props||$e;let oe;if(w&&yr(w,!1),(oe=X.onVnodeBeforeUpdate)&&Fi(oe,w,b,v),Q&&br(b,v,w,"beforeUpdate"),w&&yr(w,!0),(q.innerHTML&&X.innerHTML==null||q.textContent&&X.textContent==null)&&u(M,""),R?G(v.dynamicChildren,R,M,w,T,rc(b,E),I):H||Ee(v,b,M,null,w,T,rc(b,E),I,!1),D>0){if(D&16)ee(M,q,X,w,E);else if(D&2&&q.class!==X.class&&n(M,"class",null,X.class,E),D&4&&n(M,"style",q.style,X.style,E),D&8){const xe=b.dynamicProps;for(let Me=0;Me{oe&&Fi(oe,w,b,v),Q&&br(b,v,w,"updated")},T)},G=(v,b,w,T,E,I,H)=>{for(let M=0;M{if(b!==w){if(b!==$e)for(const I in b)!sa(I)&&!(I in w)&&n(v,I,b[I],null,E,T);for(const I in w){if(sa(I))continue;const H=w[I],M=b[I];H!==M&&I!=="value"&&n(v,I,M,H,E,T)}"value"in w&&n(v,"value",b.value,w.value,E)}},N=(v,b,w,T,E,I,H,M,D)=>{const R=b.el=v?v.el:s(""),Q=b.anchor=v?v.anchor:s("");let{patchFlag:q,dynamicChildren:X,slotScopeIds:oe}=b;oe&&(M=M?M.concat(oe):oe),v==null?(o(R,w,T),o(Q,w,T),F(b.children||[],w,Q,E,I,H,M,D)):q>0&&q&64&&X&&v.dynamicChildren&&v.dynamicChildren.length===X.length?(G(v.dynamicChildren,X,w,E,I,H,M),(b.key!=null||E&&b===E.subTree)&&y_(v,b,!0)):Ee(v,b,w,Q,E,I,H,M,D)},Ce=(v,b,w,T,E,I,H,M,D)=>{b.slotScopeIds=M,v==null?b.shapeFlag&512?E.ctx.activate(b,w,T,H,D):et(b,w,T,E,I,H,D):ii(v,b,D)},et=(v,b,w,T,E,I,H)=>{const M=v.component=h0(v,T,E);if($a(v)&&(M.ctx.renderer=Z),p0(M,!1,H),M.asyncDep){if(E&&E.registerDep(M,tt,H),!v.el){const D=M.subTree=Ze(Ot);S(null,D,b,w),v.placeholder=D.el}}else tt(M,v,b,w,E,I,H)},ii=(v,b,w)=>{const T=b.component=v.component;if(Kb(v,b,w))if(T.asyncDep&&!T.asyncResolved){De(T,b,w);return}else T.next=b,T.update();else b.el=v.el,T.vnode=b},tt=(v,b,w,T,E,I,H)=>{const M=()=>{if(v.isMounted){let{next:q,bu:X,u:oe,parent:xe,vnode:Me}=v;{const Mi=_g(v);if(Mi){q&&(q.el=Me.el,De(v,q,H)),Mi.asyncDep.then(()=>{Ht(()=>{v.isUnmounted||R()},E)});return}}let He=q,at;yr(v,!1),q?(q.el=Me.el,De(v,q,H)):q=Me,X&&fs(X),(at=q.props&&q.props.onVnodeBeforeUpdate)&&Fi(at,xe,q,Me),yr(v,!0);const Ct=Dd(v),Ni=v.subTree;v.subTree=Ct,y(Ni,Ct,_(Ni.el),B(Ni),v,E,I),q.el=Ct.el,He===null&&Zb(v,Ct.el),oe&&Ht(oe,E),(at=q.props&&q.props.onVnodeUpdated)&&Ht(()=>Fi(at,xe,q,Me),E)}else{let q;const{el:X,props:oe}=b,{bm:xe,m:Me,parent:He,root:at,type:Ct}=v,Ni=un(b);yr(v,!1),xe&&fs(xe),!Ni&&(q=oe&&oe.onVnodeBeforeMount)&&Fi(q,He,b),yr(v,!0);{at.ce&&at.ce._hasShadowRoot()&&at.ce._injectChildStyle(Ct,v.parent?v.parent.type:void 0);const Mi=v.subTree=Dd(v);y(null,Mi,w,T,v,E,I),b.el=Mi.el}if(Me&&Ht(Me,E),!Ni&&(q=oe&&oe.onVnodeMounted)){const Mi=b;Ht(()=>Fi(q,He,Mi),E)}(b.shapeFlag&256||He&&un(He.vnode)&&He.vnode.shapeFlag&256)&&v.a&&Ht(v.a,E),v.isMounted=!0,b=w=T=null}};v.scope.on();const D=v.effect=new hf(M);v.scope.off();const R=v.update=D.run.bind(D),Q=v.job=D.runIfDirty.bind(D);Q.i=v,Q.id=v.uid,D.scheduler=()=>f_(Q),yr(v,!0),R()},De=(v,b,w)=>{b.component=v;const T=v.vnode.props;v.vnode=b,v.next=null,Yb(v,b.props,T,w),t0(v,b.children,w),Io(),xd(v),Bo()},Ee=(v,b,w,T,E,I,H,M,D=!1)=>{const R=v&&v.children,Q=v?v.shapeFlag:0,q=b.children,{patchFlag:X,shapeFlag:oe}=b;if(X>0){if(X&128){Fo(R,q,w,T,E,I,H,M,D);return}else if(X&256){so(R,q,w,T,E,I,H,M,D);return}}oe&8?(Q&16&&_i(R,E,I),q!==R&&u(w,q)):Q&16?oe&16?Fo(R,q,w,T,E,I,H,M,D):_i(R,E,I,!0):(Q&8&&u(w,""),oe&16&&F(q,w,T,E,I,H,M,D))},so=(v,b,w,T,E,I,H,M,D)=>{v=v||sn,b=b||sn;const R=v.length,Q=b.length,q=Math.min(R,Q);let X;for(X=0;XQ?_i(v,E,I,!0,!1,q):F(b,w,T,E,I,H,M,D,q)},Fo=(v,b,w,T,E,I,H,M,D)=>{let R=0;const Q=b.length;let q=v.length-1,X=Q-1;for(;R<=q&&R<=X;){const oe=v[R],xe=b[R]=D?bo(b[R]):Wi(b[R]);if(Lr(oe,xe))y(oe,xe,w,null,E,I,H,M,D);else break;R++}for(;R<=q&&R<=X;){const oe=v[q],xe=b[X]=D?bo(b[X]):Wi(b[X]);if(Lr(oe,xe))y(oe,xe,w,null,E,I,H,M,D);else break;q--,X--}if(R>q){if(R<=X){const oe=X+1,xe=oeX)for(;R<=q;)Yt(v[R],E,I,!0),R++;else{const oe=R,xe=R,Me=new Map;for(R=xe;R<=X;R++){const oi=b[R]=D?bo(b[R]):Wi(b[R]);oi.key!=null&&Me.set(oi.key,R)}let He,at=0;const Ct=X-xe+1;let Ni=!1,Mi=0;const Fn=new Array(Ct);for(R=0;R=Ct){Yt(oi,E,I,!0);continue}let $i;if(oi.key!=null)$i=Me.get(oi.key);else for(He=xe;He<=X;He++)if(Fn[He-xe]===0&&Lr(oi,b[He])){$i=He;break}$i===void 0?Yt(oi,E,I,!0):(Fn[$i-xe]=R+1,$i>=Mi?Mi=$i:Ni=!0,y(oi,b[$i],w,null,E,I,H,M,D),at++)}const gd=Ni?n0(Fn):sn;for(He=gd.length-1,R=Ct-1;R>=0;R--){const oi=xe+R,$i=b[oi],md=b[oi+1],vd=oi+1{const{el:I,type:H,transition:M,children:D,shapeFlag:R}=v;if(R&6){zi(v.component.subTree,b,w,T);return}if(R&128){v.suspense.move(b,w,T);return}if(R&64){H.move(v,b,w,Z);return}if(H===Ve){o(I,b,w);for(let q=0;qM.enter(I),E);else{const{leave:q,delayLeave:X,afterLeave:oe}=M,xe=()=>{v.ctx.isUnmounted?r(I):o(I,b,w)},Me=()=>{I._isLeaving&&I[Gi](!0),q(I,()=>{xe(),oe&&oe()})};X?X(I,xe,Me):Me()}else o(I,b,w)},Yt=(v,b,w,T=!1,E=!1)=>{const{type:I,props:H,ref:M,children:D,dynamicChildren:R,shapeFlag:Q,patchFlag:q,dirs:X,cacheIndex:oe,memo:xe}=v;if(q===-2&&(E=!1),M!=null&&(Io(),ua(M,null,w,v,!0),Bo()),oe!=null&&(b.renderCache[oe]=void 0),Q&256){b.ctx.deactivate(v);return}const Me=Q&1&&X,He=!un(v);let at;if(He&&(at=H&&H.onVnodeBeforeUnmount)&&Fi(at,b,v),Q&6)vr(v.component,w,T);else{if(Q&128){v.suspense.unmount(w,T);return}Me&&br(v,null,b,"beforeUnmount"),Q&64?v.type.remove(v,b,w,Z,T):R&&!R.hasOnce&&(I!==Ve||q>0&&q&64)?_i(R,b,w,!1,!0):(I===Ve&&q&384||!E&&Q&16)&&_i(D,b,w),T&&Yr(v)}const Ct=xe!=null&&oe==null;(He&&(at=H&&H.onVnodeUnmounted)||Me||Ct)&&Ht(()=>{at&&Fi(at,b,v),Me&&br(v,null,b,"unmounted"),Ct&&(v.el=null)},w)},Yr=v=>{const{type:b,el:w,anchor:T,transition:E}=v;if(b===Ve){Jr(w,T);return}if(b===ms){P(v);return}const I=()=>{r(w),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(v.shapeFlag&1&&E&&!E.persisted){const{leave:H,delayLeave:M}=E,D=()=>H(w,I);M?M(v.el,I,D):D()}else I()},Jr=(v,b)=>{let w;for(;v!==b;)w=d(v),r(v),v=w;r(b)},vr=(v,b,w)=>{const{bum:T,scope:E,job:I,subTree:H,um:M,m:D,a:R}=v;Md(D),Md(R),T&&fs(T),E.stop(),I&&(I.flags|=8,Yt(H,v,b,w)),M&&Ht(M,b),Ht(()=>{v.isUnmounted=!0},b)},_i=(v,b,w,T=!1,E=!1,I=0)=>{for(let H=I;H{if(v.shapeFlag&6)return B(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const b=d(v.anchor||v.el),w=b&&b[Mf];return w?d(w):b};let W=!1;const U=(v,b,w)=>{let T;v==null?b._vnode&&(Yt(b._vnode,null,null,!0),T=b._vnode.component):y(b._vnode||null,v,b,null,null,null,w),b._vnode=v,W||(W=!0,xd(T),Pf(),W=!1)},Z={p:y,um:Yt,m:zi,r:Yr,mt:et,mc:F,pc:Ee,pbc:G,n:B,o:t};return{render:U,hydrate:void 0,createApp:Ub(U)}}function rc({type:t,props:e},i){return i==="svg"&&t==="foreignObject"||i==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:i}function yr({effect:t,job:e},i){i?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function r0(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function y_(t,e,i=!1){const o=t.children,r=e.children;if(Y(o)&&Y(r))for(let n=0;n>1,t[i[s]]0&&(e[o]=i[n-1]),i[n]=o)}}for(n=i.length,a=i[n-1];n-- >0;)i[n]=a,a=e[a];return i}function _g(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:_g(e)}function Md(t){if(t)for(let e=0;et.__isSuspense;function a0(t,e){e&&e.pendingBranch?Y(t)?e.effects.push(...t):e.effects.push(t):hb(t)}const Ve=Symbol.for("v-fgt"),Sl=Symbol.for("v-txt"),Ot=Symbol.for("v-cmt"),ms=Symbol.for("v-stc"),da=[];let qt=null;function re(t=!1){da.push(qt=t?null:[])}function s0(){da.pop(),qt=da[da.length-1]||null}let mn=1;function Fs(t,e=!1){mn+=t,t<0&&qt&&e&&(qt.hasOnce=!0)}function pg(t){return t.dynamicChildren=mn>0?qt||sn:null,s0(),mn>0&&qt&&qt.push(t),t}function se(t,e,i,o,r,n){return pg($(t,e,i,o,r,n,!0))}function Hs(t,e,i,o,r){return pg(Ze(t,e,i,o,r,!0))}function wa(t){return t?t.__v_isVNode===!0:!1}function Lr(t,e){return t.type===e.type&&t.key===e.key}const fg=({key:t})=>t??null,vs=({ref:t,ref_key:e,ref_for:i})=>(typeof t=="number"&&(t=""+t),t!=null?Ge(t)||ft(t)||te(t)?{i:kt,r:t,k:e,f:!!i}:t:null);function $(t,e=null,i=null,o=0,r=null,n=t===Ve?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&fg(e),ref:e&&vs(e),scopeId:Df,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:kt};return s?(w_(l,i),n&128&&t.normalize(l)):i&&(l.shapeFlag|=Ge(i)?8:16),mn>0&&!a&&qt&&(l.patchFlag>0||n&6)&&l.patchFlag!==32&&qt.push(l),l}const Ze=l0;function l0(t,e=null,i=null,o=0,r=null,n=!1){if((!t||t===Kf)&&(t=Ot),wa(t)){const s=sr(t,e,!0);return i&&w_(s,i),mn>0&&!n&&qt&&(s.shapeFlag&6?qt[qt.indexOf(t)]=s:qt.push(s)),s.patchFlag=-2,s}if(v0(t)&&(t=t.__vccOpts),e){e=c0(e);let{class:s,style:l}=e;s&&!Ge(s)&&(e.class=hi(s)),Ie(l)&&(vl(l)&&!Y(l)&&(l=gt({},l)),e.style=fl(l))}const a=Ge(t)?1:hg(t)?128:$f(t)?64:Ie(t)?4:te(t)?2:0;return $(t,e,i,o,r,a,n,!0)}function c0(t){return t?vl(t)||ng(t)?gt({},t):t:null}function sr(t,e,i=!1,o=!1){const{props:r,ref:n,patchFlag:a,children:s,transition:l}=t,c=e?u0(r||{},e):r,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&fg(c),ref:e&&e.ref?i&&n?Y(n)?n.concat(vs(e)):[n,vs(e)]:vs(e):n,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:s,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ve?a===-1?16:a|16:a,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&sr(t.ssContent),ssFallback:t.ssFallback&&sr(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&o&&ya(u,l.clone(u)),u}function bs(t=" ",e=0){return Ze(Sl,null,t,e)}function g6(t,e){const i=Ze(ms,null,t);return i.staticCount=e,i}function ri(t="",e=!1){return e?(re(),Hs(Ot,null,t)):Ze(Ot,null,t)}function Wi(t){return t==null||typeof t=="boolean"?Ze(Ot):Y(t)?Ze(Ve,null,t.slice()):wa(t)?bo(t):Ze(Sl,null,String(t))}function bo(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:sr(t)}function w_(t,e){let i=0;const{shapeFlag:o}=t;if(e==null)e=null;else if(Y(e))i=16;else if(typeof e=="object")if(o&65){const r=e.default;r&&(r._c&&(r._d=!1),w_(t,r()),r._c&&(r._d=!0));return}else{i=32;const r=e._;!r&&!ng(e)?e._ctx=kt:r===3&&kt&&(kt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else te(e)?(e={default:e,_ctx:kt},i=32):(e=String(e),o&64?(i=16,e=[bs(e)]):i=8);t.children=e,t.shapeFlag|=i}function u0(...t){const e={};for(let i=0;iSt||kt;let Us,Qc;{const t=pl(),e=(i,o)=>{let r;return(r=t[i])||(r=t[i]=[]),r.push(o),n=>{r.length>1?r.forEach(a=>a(n)):r[0](n)}};Us=e("__VUE_INSTANCE_SETTERS__",i=>St=i),Qc=e("__VUE_SSR_SETTERS__",i=>vn=i)}const Fa=t=>{const e=St;return Us(t),t.scope.on(),()=>{t.scope.off(),Us(e)}},$d=()=>{St&&St.scope.off(),Us(null)};function gg(t){return t.vnode.shapeFlag&4}let vn=!1;function p0(t,e=!1,i=!1){e&&Qc(e);const{props:o,children:r}=t.vnode,n=gg(t);Xb(t,o,n,e),e0(t,r,i||e);const a=n?f0(t,e):void 0;return e&&Qc(!1),a}function f0(t,e){const i=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Db);const{setup:o}=i;if(o){Io();const r=t.setupContext=o.length>1?vg(t):null,n=Fa(t),a=Na(o,t,0,[t.props,r]),s=nf(a);if(Bo(),n(),(s||t.sp)&&!un(t)&&m_(t),s){if(a.then($d,$d),e)return a.then(l=>{Fd(t,l)}).catch(l=>{Ma(l,t,0)});t.asyncDep=a}else Fd(t,a)}else mg(t)}function Fd(t,e,i){te(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ie(e)&&(t.setupState=Af(e)),mg(t)}function mg(t,e,i){const o=t.type;t.render||(t.render=o.render||Xi);{const r=Fa(t);Io();try{zb(t)}finally{Bo(),r()}}}const g0={get(t,e){return Pt(t,"get",""),t[e]}};function vg(t){const e=i=>{t.exposed=i||{}};return{attrs:new Proxy(t.attrs,g0),slots:t.slots,emit:t.emit,expose:e}}function kl(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Af(eb(t.exposed)),{get(e,i){if(i in e)return e[i];if(i in _a)return _a[i](t)},has(e,i){return i in e||i in _a}})):t.proxy}function m0(t,e=!0){return te(t)?t.displayName||t.name:t.name||e&&t.__name}function v0(t){return te(t)&&"__vccOpts"in t}const Qe=(t,e)=>lb(t,e,vn);function x_(t,e,i){try{Fs(-1);const o=arguments.length;return o===2?Ie(e)&&!Y(e)?wa(e)?Ze(t,null,[e]):Ze(t,e):Ze(t,null,e):(o>3?i=Array.prototype.slice.call(arguments,2):o===3&&wa(i)&&(i=[i]),Ze(t,e,i))}finally{Fs(1)}}function m6(t,e){const i=t.memo;if(i.length!=e.length)return!1;for(let o=0;o0&&qt&&qt.push(t),!0}const b0="3.5.34";/** -* @vue/runtime-dom v3.5.34 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let eu;const Hd=typeof window<"u"&&window.trustedTypes;if(Hd)try{eu=Hd.createPolicy("vue",{createHTML:t=>t})}catch{}const bg=eu?t=>eu.createHTML(t):t=>t,y0="http://www.w3.org/2000/svg",w0="http://www.w3.org/1998/Math/MathML",mo=typeof document<"u"?document:null,Ud=mo&&mo.createElement("template"),C0={insert:(t,e,i)=>{e.insertBefore(t,i||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,i,o)=>{const r=e==="svg"?mo.createElementNS(y0,t):e==="mathml"?mo.createElementNS(w0,t):i?mo.createElement(t,{is:i}):mo.createElement(t);return t==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:t=>mo.createTextNode(t),createComment:t=>mo.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>mo.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,i,o,r,n){const a=i?i.previousSibling:e.lastChild;if(r&&(r===n||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),i),!(r===n||!(r=r.nextSibling)););else{Ud.innerHTML=bg(o==="svg"?`${t}`:o==="mathml"?`${t}`:t);const s=Ud.content;if(o==="svg"||o==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}e.insertBefore(s,i)}return[a?a.nextSibling:e.firstChild,i?i.previousSibling:e.lastChild]}},Ho="transition",Vn="animation",Ca=Symbol("_vtc"),yg={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},x0=gt({},Ff,yg),S0=t=>(t.displayName="Transition",t.props=x0,t),k0=S0((t,{slots:e})=>x_(Cb,T0(t),e)),wr=(t,e=[])=>{Y(t)?t.forEach(i=>i(...e)):t&&t(...e)},Vd=t=>t?Y(t)?t.some(e=>e.length>1):t.length>1:!1;function T0(t){const e={};for(const N in t)N in yg||(e[N]=t[N]);if(t.css===!1)return e;const{name:i="v",type:o,duration:r,enterFromClass:n=`${i}-enter-from`,enterActiveClass:a=`${i}-enter-active`,enterToClass:s=`${i}-enter-to`,appearFromClass:l=n,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:_=`${i}-leave-from`,leaveActiveClass:d=`${i}-leave-active`,leaveToClass:h=`${i}-leave-to`}=t,g=I0(r),y=g&&g[0],C=g&&g[1],{onBeforeEnter:S,onEnter:x,onEnterCancelled:A,onLeave:P,onLeaveCancelled:K,onBeforeAppear:V=S,onAppear:O=x,onAppearCancelled:F=A}=e,k=(N,Ce,et,ii)=>{N._enterCancelled=ii,Cr(N,Ce?u:s),Cr(N,Ce?c:a),et&&et()},G=(N,Ce)=>{N._isLeaving=!1,Cr(N,_),Cr(N,h),Cr(N,d),Ce&&Ce()},ee=N=>(Ce,et)=>{const ii=N?O:x,tt=()=>k(Ce,N,et);wr(ii,[Ce,tt]),qd(()=>{Cr(Ce,N?l:n),co(Ce,N?u:s),Vd(ii)||Gd(Ce,o,y,tt)})};return gt(e,{onBeforeEnter(N){wr(S,[N]),co(N,n),co(N,a)},onBeforeAppear(N){wr(V,[N]),co(N,l),co(N,c)},onEnter:ee(!1),onAppear:ee(!0),onLeave(N,Ce){N._isLeaving=!0;const et=()=>G(N,Ce);co(N,_),N._enterCancelled?(co(N,d),Kd(N)):(Kd(N),co(N,d)),qd(()=>{N._isLeaving&&(Cr(N,_),co(N,h),Vd(P)||Gd(N,o,C,et))}),wr(P,[N,et])},onEnterCancelled(N){k(N,!1,void 0,!0),wr(A,[N])},onAppearCancelled(N){k(N,!0,void 0,!0),wr(F,[N])},onLeaveCancelled(N){G(N),wr(K,[N])}})}function I0(t){if(t==null)return null;if(Ie(t))return[nc(t.enter),nc(t.leave)];{const e=nc(t);return[e,e]}}function nc(t){return T5(t)}function co(t,e){e.split(/\s+/).forEach(i=>i&&t.classList.add(i)),(t[Ca]||(t[Ca]=new Set)).add(e)}function Cr(t,e){e.split(/\s+/).forEach(o=>o&&t.classList.remove(o));const i=t[Ca];i&&(i.delete(e),i.size||(t[Ca]=void 0))}function qd(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let B0=0;function Gd(t,e,i,o){const r=t._endId=++B0,n=()=>{r===t._endId&&o()};if(i!=null)return setTimeout(n,i);const{type:a,timeout:s,propCount:l}=A0(t,e);if(!a)return o();const c=a+"end";let u=0;const _=()=>{t.removeEventListener(c,d),n()},d=h=>{h.target===t&&++u>=l&&_()};setTimeout(()=>{u(i[g]||"").split(", "),r=o(`${Ho}Delay`),n=o(`${Ho}Duration`),a=jd(r,n),s=o(`${Vn}Delay`),l=o(`${Vn}Duration`),c=jd(s,l);let u=null,_=0,d=0;e===Ho?a>0&&(u=Ho,_=a,d=n.length):e===Vn?c>0&&(u=Vn,_=c,d=l.length):(_=Math.max(a,c),u=_>0?a>c?Ho:Vn:null,d=u?u===Ho?n.length:l.length:0);const h=u===Ho&&/\b(?:transform|all)(?:,|$)/.test(o(`${Ho}Property`).toString());return{type:u,timeout:_,propCount:d,hasTransform:h}}function jd(t,e){for(;t.lengthWd(i)+Wd(t[o])))}function Wd(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Kd(t){return(t?t.ownerDocument:document).body.offsetHeight}function E0(t,e,i){const o=t[Ca];o&&(e=(e?[e,...o]:[...o]).join(" ")),e==null?t.removeAttribute("class"):i?t.setAttribute("class",e):t.className=e}const Vs=Symbol("_vod"),wg=Symbol("_vsh"),v6={name:"show",beforeMount(t,{value:e},{transition:i}){t[Vs]=t.style.display==="none"?"":t.style.display,i&&e?i.beforeEnter(t):qn(t,e)},mounted(t,{value:e},{transition:i}){i&&e&&i.enter(t)},updated(t,{value:e,oldValue:i},{transition:o}){!e!=!i&&(o?e?(o.beforeEnter(t),qn(t,!0),o.enter(t)):o.leave(t,()=>{qn(t,!1)}):qn(t,e))},beforeUnmount(t,{value:e}){qn(t,e)}};function qn(t,e){t.style.display=e?t[Vs]:"none",t[wg]=!e}const R0=Symbol(""),L0=/(?:^|;)\s*display\s*:/;function P0(t,e,i){const o=t.style,r=Ge(i);let n=!1;if(i&&!r){if(e)if(Ge(e))for(const a of e.split(";")){const s=a.slice(0,a.indexOf(":")).trim();i[s]==null&&Jn(o,s,"")}else for(const a in e)i[a]==null&&Jn(o,a,"");for(const a in i){a==="display"&&(n=!0);const s=i[a];s!=null?D0(t,a,!Ge(e)&&e?e[a]:void 0,s)||Jn(o,a,s):Jn(o,a,"")}}else if(r){if(e!==i){const a=o[R0];a&&(i+=";"+a),o.cssText=i,n=L0.test(i)}}else e&&t.removeAttribute("style");Vs in t&&(t[Vs]=n?o.display:"",t[wg]&&(o.display="none"))}const Zd=/\s*!important$/;function Jn(t,e,i){if(Y(i))i.forEach(o=>Jn(t,e,o));else if(i==null&&(i=""),e.startsWith("--"))t.setProperty(e,i);else{const o=O0(t,e);Zd.test(i)?t.setProperty(_r(o),i.replace(Zd,""),"important"):t[o]=i}}const Xd=["Webkit","Moz","ms"],ac={};function O0(t,e){const i=ac[e];if(i)return i;let o=Gt(e);if(o!=="filter"&&o in t)return ac[e]=o;o=hl(o);for(let r=0;rsc||($0.then(()=>sc=0),sc=Date.now());function H0(t,e){const i=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=i.attached)return;Ii(U0(o,i.value),e,5,[o])};return i.value=t,i.attached=F0(),i}function U0(t,e){if(Y(e)){const i=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{i.call(t),t._stopped=!0},e.map(o=>r=>!r._stopped&&o&&o(r))}else return e}const ih=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,V0=(t,e,i,o,r,n)=>{const a=r==="svg";e==="class"?E0(t,o,a):e==="style"?P0(t,i,o):cl(e)?ul(e)||N0(t,e,i,o,n):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):q0(t,e,o,a))?(Qd(t,e,o),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Jd(t,e,o,a,n,e!=="value")):t._isVueCE&&(G0(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!Ge(o)))?Qd(t,Gt(e),o,n,e):(e==="true-value"?t._trueValue=o:e==="false-value"&&(t._falseValue=o),Jd(t,e,o,a))};function q0(t,e,i,o){if(o)return!!(e==="innerHTML"||e==="textContent"||e in t&&ih(e)&&te(i));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const r=t.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ih(e)&&Ge(i)?!1:e in t}function G0(t,e){const i=t._def.props;if(!i)return!1;const o=Gt(e);return Array.isArray(i)?i.some(r=>Gt(r)===o):Object.keys(i).some(r=>Gt(r)===o)}const oh=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Y(e)?i=>fs(e,i):e};function j0(t){t.target.composing=!0}function rh(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const lc=Symbol("_assign");function nh(t,e,i){return e&&(t=t.trim()),i&&(t=l_(t)),t}const b6={created(t,{modifiers:{lazy:e,trim:i,number:o}},r){t[lc]=oh(r);const n=o||r.props&&r.props.type==="number";on(t,e?"change":"input",a=>{a.target.composing||t[lc](nh(t.value,i,n))}),(i||n)&&on(t,"change",()=>{t.value=nh(t.value,i,n)}),e||(on(t,"compositionstart",j0),on(t,"compositionend",rh),on(t,"change",rh))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:i,modifiers:{lazy:o,trim:r,number:n}},a){if(t[lc]=oh(a),t.composing)return;const s=(n||t.type==="number")&&!/^0\d/.test(t.value)?l_(t.value):t.value,l=e??"";if(s===l)return;const c=t.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===t&&t.type!=="range"&&(o&&e===i||r&&t.value.trim()===l)||(t.value=l)}},W0=["ctrl","shift","alt","meta"],K0={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>W0.some(i=>t[`${i}Key`]&&!e.includes(i))},Cg=(t,e)=>{if(!t)return t;const i=t._withMods||(t._withMods={}),o=e.join(".");return i[o]||(i[o]=((r,...n)=>{for(let a=0;a{const i=t._withKeys||(t._withKeys={}),o=e.join(".");return i[o]||(i[o]=(r=>{if(!("key"in r))return;const n=_r(r.key);if(e.some(a=>a===n||Z0[a]===n))return t(r)}))},X0=gt({patchProp:V0},C0);let ah;function Y0(){return ah||(ah=i0(X0))}const J0=((...t)=>{const e=Y0().createApp(...t),{mount:i}=e;return e.mount=o=>{const r=e1(o);if(!r)return;const n=e._component;!te(n)&&!n.render&&!n.template&&(n.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const a=i(r,!1,Q0(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},e});function Q0(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function e1(t){return Ge(t)?document.querySelector(t):t}const t1="modulepreload",i1=function(t){return"/ui/"+t},sh={},m=function(e,i,o){let r=Promise.resolve();if(i&&i.length>0){let a=function(c){return Promise.all(c.map(u=>Promise.resolve(u).then(_=>({status:"fulfilled",value:_}),_=>({status:"rejected",reason:_}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));r=a(i.map(c=>{if(c=i1(c),c in sh)return;sh[c]=!0;const u=c.endsWith(".css"),_=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${_}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":t1,u||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),u)return new Promise((h,g)=>{d.addEventListener("load",h),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function n(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return r.then(a=>{for(const s of a||[])s.status==="rejected"&&n(s.reason);return e().catch(n)})};/*! - * vue-router v4.6.4 - * (c) 2025 Eduardo San Martin Morote - * @license MIT - */const rn=typeof document<"u";function xg(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function o1(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&xg(t.default)}const Re=Object.assign;function cc(t,e){const i={};for(const o in e){const r=e[o];i[o]=Bi(r)?r.map(t):t(r)}return i}const ha=()=>{},Bi=Array.isArray;function lh(t,e){const i={};for(const o in t)i[o]=o in e?e[o]:t[o];return i}const Sg=/#/g,r1=/&/g,n1=/\//g,a1=/=/g,s1=/\?/g,kg=/\+/g,l1=/%5B/g,c1=/%5D/g,Tg=/%5E/g,u1=/%60/g,Ig=/%7B/g,_1=/%7C/g,Bg=/%7D/g,d1=/%20/g;function S_(t){return t==null?"":encodeURI(""+t).replace(_1,"|").replace(l1,"[").replace(c1,"]")}function h1(t){return S_(t).replace(Ig,"{").replace(Bg,"}").replace(Tg,"^")}function tu(t){return S_(t).replace(kg,"%2B").replace(d1,"+").replace(Sg,"%23").replace(r1,"%26").replace(u1,"`").replace(Ig,"{").replace(Bg,"}").replace(Tg,"^")}function p1(t){return tu(t).replace(a1,"%3D")}function f1(t){return S_(t).replace(Sg,"%23").replace(s1,"%3F")}function g1(t){return f1(t).replace(n1,"%2F")}function xa(t){if(t==null)return null;try{return decodeURIComponent(""+t)}catch{}return""+t}const m1=/\/$/,v1=t=>t.replace(m1,"");function uc(t,e,i="/"){let o,r={},n="",a="";const s=e.indexOf("#");let l=e.indexOf("?");return l=s>=0&&l>s?-1:l,l>=0&&(o=e.slice(0,l),n=e.slice(l,s>0?s:e.length),r=t(n.slice(1))),s>=0&&(o=o||e.slice(0,s),a=e.slice(s,e.length)),o=C1(o??e,i),{fullPath:o+n+a,path:o,query:r,hash:xa(a)}}function b1(t,e){const i=e.query?t(e.query):"";return e.path+(i&&"?")+i+(e.hash||"")}function ch(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function y1(t,e,i){const o=e.matched.length-1,r=i.matched.length-1;return o>-1&&o===r&&bn(e.matched[o],i.matched[r])&&Ag(e.params,i.params)&&t(e.query)===t(i.query)&&e.hash===i.hash}function bn(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Ag(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var i in t)if(!w1(t[i],e[i]))return!1;return!0}function w1(t,e){return Bi(t)?uh(t,e):Bi(e)?uh(e,t):(t==null?void 0:t.valueOf())===(e==null?void 0:e.valueOf())}function uh(t,e){return Bi(e)?t.length===e.length&&t.every((i,o)=>i===e[o]):t.length===1&&t[0]===e}function C1(t,e){if(t.startsWith("/"))return t;if(!t)return e;const i=e.split("/"),o=t.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let n=i.length-1,a,s;for(a=0;a1&&n--;else break;return i.slice(0,n).join("/")+"/"+o.slice(a).join("/")}const Uo={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let iu=(function(t){return t.pop="pop",t.push="push",t})({}),_c=(function(t){return t.back="back",t.forward="forward",t.unknown="",t})({});function x1(t){if(!t)if(rn){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),v1(t)}const S1=/^[^#]+#/;function k1(t,e){return t.replace(S1,"#")+e}function T1(t,e){const i=document.documentElement.getBoundingClientRect(),o=t.getBoundingClientRect();return{behavior:e.behavior,left:o.left-i.left-(e.left||0),top:o.top-i.top-(e.top||0)}}const Tl=()=>({left:window.scrollX,top:window.scrollY});function I1(t){let e;if("el"in t){const i=t.el,o=typeof i=="string"&&i.startsWith("#"),r=typeof i=="string"?o?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!r)return;e=T1(r,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function _h(t,e){return(history.state?history.state.position-e:-1)+t}const ou=new Map;function B1(t,e){ou.set(t,e)}function A1(t){const e=ou.get(t);return ou.delete(t),e}function E1(t){return typeof t=="string"||t&&typeof t=="object"}function Eg(t){return typeof t=="string"||typeof t=="symbol"}let Je=(function(t){return t[t.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",t[t.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",t[t.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",t[t.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",t[t.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",t})({});const Rg=Symbol("");Je.MATCHER_NOT_FOUND+"",Je.NAVIGATION_GUARD_REDIRECT+"",Je.NAVIGATION_ABORTED+"",Je.NAVIGATION_CANCELLED+"",Je.NAVIGATION_DUPLICATED+"";function yn(t,e){return Re(new Error,{type:t,[Rg]:!0},e)}function uo(t,e){return t instanceof Error&&Rg in t&&(e==null||!!(t.type&e))}const R1=["params","query","hash"];function L1(t){if(typeof t=="string")return t;if(t.path!=null)return t.path;const e={};for(const i of R1)i in t&&(e[i]=t[i]);return JSON.stringify(e,null,2)}function P1(t){const e={};if(t===""||t==="?")return e;const i=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;or&&tu(r)):[o&&tu(o)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+i,r!=null&&(e+="="+r))})}return e}function O1(t){const e={};for(const i in t){const o=t[i];o!==void 0&&(e[i]=Bi(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return e}const D1=Symbol(""),hh=Symbol(""),Il=Symbol(""),k_=Symbol(""),ru=Symbol("");function Gn(){let t=[];function e(o){return t.push(o),()=>{const r=t.indexOf(o);r>-1&&t.splice(r,1)}}function i(){t=[]}return{add:e,list:()=>t.slice(),reset:i}}function tr(t,e,i,o,r,n=a=>a()){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((s,l)=>{const c=d=>{d===!1?l(yn(Je.NAVIGATION_ABORTED,{from:i,to:e})):d instanceof Error?l(d):E1(d)?l(yn(Je.NAVIGATION_GUARD_REDIRECT,{from:e,to:d})):(a&&o.enterCallbacks[r]===a&&typeof d=="function"&&a.push(d),s())},u=n(()=>t.call(o&&o.instances[r],e,i,c));let _=Promise.resolve(u);t.length<3&&(_=_.then(c)),_.catch(d=>l(d))})}function dc(t,e,i,o,r=n=>n()){const n=[];for(const a of t)for(const s in a.components){let l=a.components[s];if(!(e!=="beforeRouteEnter"&&!a.instances[s]))if(xg(l)){const c=(l.__vccOpts||l)[e];c&&n.push(tr(c,i,o,a,s,r))}else{let c=l();n.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${s}" at "${a.path}"`);const _=o1(u)?u.default:u;a.mods[s]=u,a.components[s]=_;const d=(_.__vccOpts||_)[e];return d&&tr(d,i,o,a,s,r)()}))}}return n}function z1(t,e){const i=[],o=[],r=[],n=Math.max(e.matched.length,t.matched.length);for(let a=0;abn(c,s))?o.push(s):i.push(s));const l=t.matched[a];l&&(e.matched.find(c=>bn(c,l))||r.push(l))}return[i,o,r]}/*! - * vue-router v4.6.4 - * (c) 2025 Eduardo San Martin Morote - * @license MIT - */let N1=()=>location.protocol+"//"+location.host;function Lg(t,e){const{pathname:i,search:o,hash:r}=e,n=t.indexOf("#");if(n>-1){let a=r.includes(t.slice(n))?t.slice(n).length:1,s=r.slice(a);return s[0]!=="/"&&(s="/"+s),ch(s,"")}return ch(i,t)+o+r}function M1(t,e,i,o){let r=[],n=[],a=null;const s=({state:d})=>{const h=Lg(t,location),g=i.value,y=e.value;let C=0;if(d){if(i.value=h,e.value=d,a&&a===g){a=null;return}C=y?d.position-y.position:0}else o(h);r.forEach(S=>{S(i.value,g,{delta:C,type:iu.pop,direction:C?C>0?_c.forward:_c.back:_c.unknown})})};function l(){a=i.value}function c(d){r.push(d);const h=()=>{const g=r.indexOf(d);g>-1&&r.splice(g,1)};return n.push(h),h}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(Re({},d.state,{scroll:Tl()}),"")}}function _(){for(const d of n)d();n=[],window.removeEventListener("popstate",s),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",s),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:_}}function ph(t,e,i,o=!1,r=!1){return{back:t,current:e,forward:i,replaced:o,position:window.history.length,scroll:r?Tl():null}}function $1(t){const{history:e,location:i}=window,o={value:Lg(t,i)},r={value:e.state};r.value||n(o.value,{back:null,current:o.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function n(l,c,u){const _=t.indexOf("#"),d=_>-1?(i.host&&document.querySelector("base")?t:t.slice(_))+l:N1()+t+l;try{e[u?"replaceState":"pushState"](c,"",d),r.value=c}catch(h){console.error(h),i[u?"replace":"assign"](d)}}function a(l,c){n(l,Re({},e.state,ph(r.value.back,l,r.value.forward,!0),c,{position:r.value.position}),!0),o.value=l}function s(l,c){const u=Re({},r.value,e.state,{forward:l,scroll:Tl()});n(u.current,u,!0),n(l,Re({},ph(o.value,l,null),{position:u.position+1},c),!1),o.value=l}return{location:o,state:r,push:s,replace:a}}function F1(t){t=x1(t);const e=$1(t),i=M1(t,e.state,e.location,e.replace);function o(n,a=!0){a||i.pauseListeners(),history.go(n)}const r=Re({location:"",base:t,go:o,createHref:k1.bind(null,t)},e,i);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}function H1(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),F1(t)}let Mr=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.Group=2]="Group",t})({});var _t=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.ParamRegExp=2]="ParamRegExp",t[t.ParamRegExpEnd=3]="ParamRegExpEnd",t[t.EscapeNext=4]="EscapeNext",t})(_t||{});const U1={type:Mr.Static,value:""},V1=/[a-zA-Z0-9_]/;function q1(t){if(!t)return[[]];if(t==="/")return[[U1]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(h){throw new Error(`ERR (${i})/"${c}": ${h}`)}let i=_t.Static,o=i;const r=[];let n;function a(){n&&r.push(n),n=[]}let s=0,l,c="",u="";function _(){c&&(i===_t.Static?n.push({type:Mr.Static,value:c}):i===_t.Param||i===_t.ParamRegExp||i===_t.ParamRegExpEnd?(n.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),n.push({type:Mr.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;se.length?e.length===1&&e[0]===Ut.Static+Ut.Segment?1:-1:0}function Pg(t,e){let i=0;const o=t.score,r=e.score;for(;i0&&e[e.length-1]<0}const Z1={strict:!1,end:!0,sensitive:!1};function X1(t,e,i){const o=W1(q1(t.path),i),r=Re(o,{record:t,parent:e,children:[],alias:[]});return e&&!r.record.aliasOf==!e.record.aliasOf&&e.children.push(r),r}function Y1(t,e){const i=[],o=new Map;e=lh(Z1,e);function r(_){return o.get(_)}function n(_,d,h){const g=!h,y=vh(_);y.aliasOf=h&&h.record;const C=lh(e,_),S=[y];if("alias"in _){const P=typeof _.alias=="string"?[_.alias]:_.alias;for(const K of P)S.push(vh(Re({},y,{components:h?h.record.components:y.components,path:K,aliasOf:h?h.record:y})))}let x,A;for(const P of S){const{path:K}=P;if(d&&K[0]!=="/"){const V=d.record.path,O=V[V.length-1]==="/"?"":"/";P.path=d.record.path+(K&&O+K)}if(x=X1(P,d,C),h?h.alias.push(x):(A=A||x,A!==x&&A.alias.push(x),g&&_.name&&!bh(x)&&a(_.name)),Og(x)&&l(x),y.children){const V=y.children;for(let O=0;O{a(A)}:ha}function a(_){if(Eg(_)){const d=o.get(_);d&&(o.delete(_),i.splice(i.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=i.indexOf(_);d>-1&&(i.splice(d,1),_.record.name&&o.delete(_.record.name),_.children.forEach(a),_.alias.forEach(a))}}function s(){return i}function l(_){const d=ey(_,i);i.splice(d,0,_),_.record.name&&!bh(_)&&o.set(_.record.name,_)}function c(_,d){let h,g={},y,C;if("name"in _&&_.name){if(h=o.get(_.name),!h)throw yn(Je.MATCHER_NOT_FOUND,{location:_});C=h.record.name,g=Re(mh(d.params,h.keys.filter(A=>!A.optional).concat(h.parent?h.parent.keys.filter(A=>A.optional):[]).map(A=>A.name)),_.params&&mh(_.params,h.keys.map(A=>A.name))),y=h.stringify(g)}else if(_.path!=null)y=_.path,h=i.find(A=>A.re.test(y)),h&&(g=h.parse(y),C=h.record.name);else{if(h=d.name?o.get(d.name):i.find(A=>A.re.test(d.path)),!h)throw yn(Je.MATCHER_NOT_FOUND,{location:_,currentLocation:d});C=h.record.name,g=Re({},d.params,_.params),y=h.stringify(g)}const S=[];let x=h;for(;x;)S.unshift(x.record),x=x.parent;return{name:C,path:y,params:g,matched:S,meta:Q1(S)}}t.forEach(_=>n(_));function u(){i.length=0,o.clear()}return{addRoute:n,resolve:c,removeRoute:a,clearRoutes:u,getRoutes:s,getRecordMatcher:r}}function mh(t,e){const i={};for(const o of e)o in t&&(i[o]=t[o]);return i}function vh(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:J1(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function J1(t){const e={},i=t.props||!1;if("component"in t)e.default=i;else for(const o in t.components)e[o]=typeof i=="object"?i[o]:i;return e}function bh(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Q1(t){return t.reduce((e,i)=>Re(e,i.meta),{})}function ey(t,e){let i=0,o=e.length;for(;i!==o;){const n=i+o>>1;Pg(t,e[n])<0?o=n:i=n+1}const r=ty(t);return r&&(o=e.lastIndexOf(r,o-1)),o}function ty(t){let e=t;for(;e=e.parent;)if(Og(e)&&Pg(t,e)===0)return e}function Og({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function yh(t){const e=Si(Il),i=Si(k_),o=Qe(()=>{const l=rt(t.to);return e.resolve(l)}),r=Qe(()=>{const{matched:l}=o.value,{length:c}=l,u=l[c-1],_=i.matched;if(!u||!_.length)return-1;const d=_.findIndex(bn.bind(null,u));if(d>-1)return d;const h=wh(l[c-2]);return c>1&&wh(u)===h&&_[_.length-1].path!==h?_.findIndex(bn.bind(null,l[c-2])):d}),n=Qe(()=>r.value>-1&&ay(i.params,o.value.params)),a=Qe(()=>r.value>-1&&r.value===i.matched.length-1&&Ag(i.params,o.value.params));function s(l={}){if(ny(l)){const c=e[rt(t.replace)?"replace":"push"](rt(t.to)).catch(ha);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:o,href:Qe(()=>o.value.href),isActive:n,isExactActive:a,navigate:s}}function iy(t){return t.length===1?t[0]:t}const oy=zo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:yh,setup(t,{slots:e}){const i=za(yh(t)),{options:o}=Si(Il),r=Qe(()=>({[Ch(t.activeClass,o.linkActiveClass,"router-link-active")]:i.isActive,[Ch(t.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const n=e.default&&iy(e.default(i));return t.custom?n:x_("a",{"aria-current":i.isExactActive?t.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:r.value},n)}}}),ry=oy;function ny(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function ay(t,e){for(const i in e){const o=e[i],r=t[i];if(typeof o=="string"){if(o!==r)return!1}else if(!Bi(r)||r.length!==o.length||o.some((n,a)=>n.valueOf()!==r[a].valueOf()))return!1}return!0}function wh(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Ch=(t,e,i)=>t??e??i,sy=zo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:i}){const o=Si(ru),r=Qe(()=>t.route||o.value),n=Si(hh,0),a=Qe(()=>{let c=rt(n);const{matched:u}=r.value;let _;for(;(_=u[c])&&!_.components;)c++;return c}),s=Qe(()=>r.value.matched[a.value]);gs(hh,Qe(()=>a.value+1)),gs(D1,s),gs(ru,r);const l=_e();return Yi(()=>[l.value,s.value,t.name],([c,u,_],[d,h,g])=>{u&&(u.instances[_]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!bn(u,h)||!d)&&(u.enterCallbacks[_]||[]).forEach(y=>y(c))},{flush:"post"}),()=>{const c=r.value,u=t.name,_=s.value,d=_&&_.components[u];if(!d)return xh(i.default,{Component:d,route:c});const h=_.props[u],g=h?h===!0?c.params:typeof h=="function"?h(c):h:null,C=x_(d,Re({},g,e,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(_.instances[u]=null)},ref:l}));return xh(i.default,{Component:C,route:c})||C}}});function xh(t,e){if(!t)return null;const i=t(e);return i.length===1?i[0]:i}const ly=sy;function cy(t){const e=Y1(t.routes,t),i=t.parseQuery||P1,o=t.stringifyQuery||dh,r=t.history,n=Gn(),a=Gn(),s=Gn(),l=tb(Uo);let c=Uo;rn&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=cc.bind(null,B=>""+B),_=cc.bind(null,g1),d=cc.bind(null,xa);function h(B,W){let U,Z;return Eg(B)?(U=e.getRecordMatcher(B),Z=W):Z=B,e.addRoute(Z,U)}function g(B){const W=e.getRecordMatcher(B);W&&e.removeRoute(W)}function y(){return e.getRoutes().map(B=>B.record)}function C(B){return!!e.getRecordMatcher(B)}function S(B,W){if(W=Re({},W||l.value),typeof B=="string"){const w=uc(i,B,W.path),T=e.resolve({path:w.path},W),E=r.createHref(w.fullPath);return Re(w,T,{params:d(T.params),hash:xa(w.hash),redirectedFrom:void 0,href:E})}let U;if(B.path!=null)U=Re({},B,{path:uc(i,B.path,W.path).path});else{const w=Re({},B.params);for(const T in w)w[T]==null&&delete w[T];U=Re({},B,{params:_(w)}),W.params=_(W.params)}const Z=e.resolve(U,W),ge=B.hash||"";Z.params=u(d(Z.params));const v=b1(o,Re({},B,{hash:h1(ge),path:Z.path})),b=r.createHref(v);return Re({fullPath:v,hash:ge,query:o===dh?O1(B.query):B.query||{}},Z,{redirectedFrom:void 0,href:b})}function x(B){return typeof B=="string"?uc(i,B,l.value.path):Re({},B)}function A(B,W){if(c!==B)return yn(Je.NAVIGATION_CANCELLED,{from:W,to:B})}function P(B){return O(B)}function K(B){return P(Re(x(B),{replace:!0}))}function V(B,W){const U=B.matched[B.matched.length-1];if(U&&U.redirect){const{redirect:Z}=U;let ge=typeof Z=="function"?Z(B,W):Z;return typeof ge=="string"&&(ge=ge.includes("?")||ge.includes("#")?ge=x(ge):{path:ge},ge.params={}),Re({query:B.query,hash:B.hash,params:ge.path!=null?{}:B.params},ge)}}function O(B,W){const U=c=S(B),Z=l.value,ge=B.state,v=B.force,b=B.replace===!0,w=V(U,Z);if(w)return O(Re(x(w),{state:typeof w=="object"?Re({},ge,w.state):ge,force:v,replace:b}),W||U);const T=U;T.redirectedFrom=W;let E;return!v&&y1(o,Z,U)&&(E=yn(Je.NAVIGATION_DUPLICATED,{to:T,from:Z}),zi(Z,Z,!0,!1)),(E?Promise.resolve(E):G(T,Z)).catch(I=>uo(I)?uo(I,Je.NAVIGATION_GUARD_REDIRECT)?I:Fo(I):Ee(I,T,Z)).then(I=>{if(I){if(uo(I,Je.NAVIGATION_GUARD_REDIRECT))return O(Re({replace:b},x(I.to),{state:typeof I.to=="object"?Re({},ge,I.to.state):ge,force:v}),W||T)}else I=N(T,Z,!0,b,ge);return ee(T,Z,I),I})}function F(B,W){const U=A(B,W);return U?Promise.reject(U):Promise.resolve()}function k(B){const W=Jr.values().next().value;return W&&typeof W.runWithContext=="function"?W.runWithContext(B):B()}function G(B,W){let U;const[Z,ge,v]=z1(B,W);U=dc(Z.reverse(),"beforeRouteLeave",B,W);for(const w of Z)w.leaveGuards.forEach(T=>{U.push(tr(T,B,W))});const b=F.bind(null,B,W);return U.push(b),_i(U).then(()=>{U=[];for(const w of n.list())U.push(tr(w,B,W));return U.push(b),_i(U)}).then(()=>{U=dc(ge,"beforeRouteUpdate",B,W);for(const w of ge)w.updateGuards.forEach(T=>{U.push(tr(T,B,W))});return U.push(b),_i(U)}).then(()=>{U=[];for(const w of v)if(w.beforeEnter)if(Bi(w.beforeEnter))for(const T of w.beforeEnter)U.push(tr(T,B,W));else U.push(tr(w.beforeEnter,B,W));return U.push(b),_i(U)}).then(()=>(B.matched.forEach(w=>w.enterCallbacks={}),U=dc(v,"beforeRouteEnter",B,W,k),U.push(b),_i(U))).then(()=>{U=[];for(const w of a.list())U.push(tr(w,B,W));return U.push(b),_i(U)}).catch(w=>uo(w,Je.NAVIGATION_CANCELLED)?w:Promise.reject(w))}function ee(B,W,U){s.list().forEach(Z=>k(()=>Z(B,W,U)))}function N(B,W,U,Z,ge){const v=A(B,W);if(v)return v;const b=W===Uo,w=rn?history.state:{};U&&(Z||b?r.replace(B.fullPath,Re({scroll:b&&w&&w.scroll},ge)):r.push(B.fullPath,ge)),l.value=B,zi(B,W,U,b),Fo()}let Ce;function et(){Ce||(Ce=r.listen((B,W,U)=>{if(!vr.listening)return;const Z=S(B),ge=V(Z,vr.currentRoute.value);if(ge){O(Re(ge,{replace:!0,force:!0}),Z).catch(ha);return}c=Z;const v=l.value;rn&&B1(_h(v.fullPath,U.delta),Tl()),G(Z,v).catch(b=>uo(b,Je.NAVIGATION_ABORTED|Je.NAVIGATION_CANCELLED)?b:uo(b,Je.NAVIGATION_GUARD_REDIRECT)?(O(Re(x(b.to),{force:!0}),Z).then(w=>{uo(w,Je.NAVIGATION_ABORTED|Je.NAVIGATION_DUPLICATED)&&!U.delta&&U.type===iu.pop&&r.go(-1,!1)}).catch(ha),Promise.reject()):(U.delta&&r.go(-U.delta,!1),Ee(b,Z,v))).then(b=>{b=b||N(Z,v,!1),b&&(U.delta&&!uo(b,Je.NAVIGATION_CANCELLED)?r.go(-U.delta,!1):U.type===iu.pop&&uo(b,Je.NAVIGATION_ABORTED|Je.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),ee(Z,v,b)}).catch(ha)}))}let ii=Gn(),tt=Gn(),De;function Ee(B,W,U){Fo(B);const Z=tt.list();return Z.length?Z.forEach(ge=>ge(B,W,U)):console.error(B),Promise.reject(B)}function so(){return De&&l.value!==Uo?Promise.resolve():new Promise((B,W)=>{ii.add([B,W])})}function Fo(B){return De||(De=!B,et(),ii.list().forEach(([W,U])=>B?U(B):W()),ii.reset()),B}function zi(B,W,U,Z){const{scrollBehavior:ge}=t;if(!rn||!ge)return Promise.resolve();const v=!U&&A1(_h(B.fullPath,0))||(Z||!U)&&history.state&&history.state.scroll||null;return bl().then(()=>ge(B,W,v)).then(b=>b&&I1(b)).catch(b=>Ee(b,B,W))}const Yt=B=>r.go(B);let Yr;const Jr=new Set,vr={currentRoute:l,listening:!0,addRoute:h,removeRoute:g,clearRoutes:e.clearRoutes,hasRoute:C,getRoutes:y,resolve:S,options:t,push:P,replace:K,go:Yt,back:()=>Yt(-1),forward:()=>Yt(1),beforeEach:n.add,beforeResolve:a.add,afterEach:s.add,onError:tt.add,isReady:so,install(B){B.component("RouterLink",ry),B.component("RouterView",ly),B.config.globalProperties.$router=vr,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>rt(l)}),rn&&!Yr&&l.value===Uo&&(Yr=!0,P(r.location).catch(Z=>{}));const W={};for(const Z in Uo)Object.defineProperty(W,Z,{get:()=>l.value[Z],enumerable:!0});B.provide(Il,vr),B.provide(k_,If(W)),B.provide(ru,l);const U=B.unmount;Jr.add(B),B.unmount=function(){Jr.delete(B),Jr.size<1&&(c=Uo,Ce&&Ce(),Ce=null,l.value=Uo,Yr=!1,De=!1),U()}}};function _i(B){return B.reduce((W,U)=>W.then(()=>k(U)),Promise.resolve())}return vr}function Dg(){return Si(Il)}function zg(t){return Si(k_)}const uy=cy({history:H1(),routes:[{path:"/",name:"home",component:()=>m(()=>import("./Home-DMTy4qPD.js"),__vite__mapDeps([0,1]))},{path:"/system-info",name:"systemInfo",component:()=>m(()=>import("./SystemInfo-Cqu87Mxw.js"),__vite__mapDeps([2,3,4]))},{path:"/users",name:"users",component:()=>m(()=>import("./Users-D_QoKJJv.js"),__vite__mapDeps([5,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/features",name:"features",component:()=>m(()=>import("./Features-BG3a2Uss.js"),__vite__mapDeps([16,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/feature-usage",name:"featureUsage",component:()=>m(()=>import("./FeatureUsage-bZ5aaT8-.js"),__vite__mapDeps([17,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/data-types",name:"dataTypes",component:()=>m(()=>import("./DataTypes-BZRO6j6k.js"),__vite__mapDeps([18,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/certificates",name:"certificates",component:()=>m(()=>import("./Certificates-bkc6AR9l.js"),__vite__mapDeps([19,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/tables",name:"tables",component:()=>m(()=>import("./Tables-Bx-YmA4X.js"),__vite__mapDeps([20,7,21,9,3,10,11,12,13,22]))},{path:"/views",name:"views",component:()=>m(()=>import("./Views-DcJvStTZ.js"),__vite__mapDeps([23,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/procedures",name:"procedures",component:()=>m(()=>import("./Procedures-CmOVdYLB.js"),__vite__mapDeps([24,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/functions",name:"functions",component:()=>m(()=>import("./Functions-Cr04G6mI.js"),__vite__mapDeps([25,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/schemas",name:"schemas",component:()=>m(()=>import("./Schemas-DZ4WTNDF.js"),__vite__mapDeps([26,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/indexes",name:"indexes",component:()=>m(()=>import("./Indexes-DoFx7jlP.js"),__vite__mapDeps([27,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/inspect-table",name:"inspectTable",component:()=>m(()=>import("./InspectTable-DDrRTst1.js"),__vite__mapDeps([28,7,21,9,3,10,29,30,31,11,12,32,33,34]))},{path:"/inspect-view",name:"inspectView",component:()=>m(()=>import("./InspectView-BEGlOYWn.js"),__vite__mapDeps([35,7,21,9,3,10,29,30,31,11,12,32,33,36]))},{path:"/inspect-function",name:"inspectFunction",component:()=>m(()=>import("./InspectFunction-Bu6vDTzz.js"),__vite__mapDeps([37,7,21,9,3,10,29,30,31,11,12,32,33,38]))},{path:"/call-procedure",name:"callProcedure",component:()=>m(()=>import("./CallProcedure-DYjC5NuE.js"),__vite__mapDeps([39,7,8,9,3,10,11,12,32,33,40,41]))},{path:"/query",name:"querySimple",component:()=>m(()=>import("./QuerySimple-C8wahTIQ.js"),__vite__mapDeps([42,43,8,9,3,10,44,45,46,13,12,47]))},{path:"/import",name:"import",component:()=>m(()=>import("./Import-Gk_asnr8.js"),__vite__mapDeps([48,7,11,12,40,13,14,49]))},{path:"/mass-convert",name:"massConvert",component:()=>m(()=>import("./MassConvert-D2zgg1Rc.js"),__vite__mapDeps([50,7,11,12,40,13,51]))},{path:"/cf-login",name:"cfLogin",component:()=>m(()=>import("./CFLogin-0rk55Wup.js"),__vite__mapDeps([52,40,46,14,13,12,53]))},{path:"/hdi",name:"hdi",component:()=>m(()=>import("./HDI-B7q5VoWN.js"),__vite__mapDeps([54,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/sbss",name:"sbss",component:()=>m(()=>import("./SBSS-B4KSKNna.js"),__vite__mapDeps([55,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/schema-instances",name:"schemaInstances",component:()=>m(()=>import("./SchemaInstances-NxsfHyDf.js"),__vite__mapDeps([56,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/securestore",name:"securestore",component:()=>m(()=>import("./SecureStore-D65uFtAs.js"),__vite__mapDeps([57,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/ups",name:"ups",component:()=>m(()=>import("./UPS-BHdZI8-4.js"),__vite__mapDeps([58,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/containers",name:"containers",component:()=>m(()=>import("./Containers-CcHwV0dp.js"),__vite__mapDeps([59,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/btp-login",name:"btpLogin",component:()=>m(()=>import("./BtpLogin-CwDnNSRL.js"),__vite__mapDeps([60,40,46,13,12,61]))},{path:"/btp-info",name:"btpInfo",component:()=>m(()=>import("./BtpInfo-7Qe2D5PE.js"),__vite__mapDeps([62,63,14,64]))},{path:"/btp-subs",name:"btpSubs",component:()=>m(()=>import("./BtpSubs-DsVotqLu.js"),__vite__mapDeps([65,6,7,8,9,3,10,11,12,13,14,15]))},{path:"/btp-target",name:"btpTarget",component:()=>m(()=>import("./BtpTarget-CDKMIQnW.js"),__vite__mapDeps([66,40,33,14,67]))},{path:"/version",name:"version",component:()=>m(()=>import("./Version-CyOhYK1C.js"),__vite__mapDeps([68,8,9,3,10,63,69]))},{path:"/calc-view-browser",name:"calcViewBrowser",component:()=>m(()=>import("./CalcViewBrowser-C71_shNN.js"),__vite__mapDeps([70,71,46,72]))},{path:"/calc-view-editor",name:"calcViewEditor",component:()=>m(()=>import("./CalcViewEditor-CzAB2IbK.js"),__vite__mapDeps([73,44,45,30,71,32,33,13,12,74,46,75]))},{path:"/analytics",name:"analytics",component:()=>m(()=>import("./Analytics-CYfZe0D5.js"),__vite__mapDeps([76,32,33,11,12,13,7,43,8,9,3,10,44,45,46,47,77]))}]}),ys=[{key:"admin",title:"Administration",icon:"technical-object",expanded:!0,items:[{key:"systemInfo",title:"System Info",route:"systemInfo"},{key:"users",title:"Users",route:"users"},{key:"features",title:"Features",route:"features"},{key:"featureUsage",title:"Feature Usage",route:"featureUsage"},{key:"dataTypes",title:"Data Types",route:"dataTypes"},{key:"certificates",title:"Certificates",route:"certificates"}]},{key:"db-objects",title:"Database Objects",icon:"database",expanded:!0,items:[{key:"tables",title:"Tables",route:"tables"},{key:"views",title:"Views",route:"views"},{key:"procedures",title:"Procedures",route:"procedures"},{key:"functions",title:"Functions",route:"functions"},{key:"schemas",title:"Schemas",route:"schemas"},{key:"indexes",title:"Indexes",route:"indexes"}]},{key:"inspection",title:"Inspection",icon:"inspect",items:[{key:"inspectTable",title:"Inspect Table",route:"inspectTable"},{key:"inspectView",title:"Inspect View",route:"inspectView"},{key:"inspectFunction",title:"Inspect Function",route:"inspectFunction"},{key:"callProcedure",title:"Call Procedure",route:"callProcedure"},{key:"querySimple",title:"SQL Query",route:"querySimple"}]},{key:"tools",title:"Import / Convert",icon:"upload",items:[{key:"import",title:"Import",route:"import"},{key:"massConvert",title:"Mass Convert",route:"massConvert"}]},{key:"cloud",title:"Cloud",icon:"cloud",items:[{key:"cfLogin",title:"CF Login",route:"cfLogin"},{key:"hdi",title:"HDI Instances",route:"hdi"},{key:"sbss",title:"SBSS",route:"sbss"},{key:"schemaInstances",title:"Schema Instances",route:"schemaInstances"},{key:"securestore",title:"Secure Store",route:"securestore"},{key:"ups",title:"User Provided Services",route:"ups"},{key:"containers",title:"Containers",route:"containers"}]},{key:"btp",title:"BTP",icon:"it-host",items:[{key:"btpLogin",title:"BTP Login",route:"btpLogin"},{key:"btpInfo",title:"BTP Info",route:"btpInfo"},{key:"btpSubs",title:"Subscriptions",route:"btpSubs"},{key:"btpTarget",title:"Subaccount Target",route:"btpTarget"}]},{key:"dev-tools",title:"Developer Tools",icon:"developer-settings",items:[{key:"swagger",title:"Swagger API",external:"/api-docs"},{key:"version",title:"Version",route:"version"}]},{key:"modeling",title:"Modeling",icon:"simulate",expanded:!0,items:[{key:"calcViewBrowser",title:"Calculation Views",route:"calcViewBrowser"}]},{key:"analytics",title:"Analytics",icon:"business-objects-experience",items:[{key:"analytics",title:"Reports",icon:"chart-table-view"}]}],hc=_e([]);let jn=null;function _y(){function t(i,o=3e3){jn?(jn.textContent=i,jn.duration=o,jn.open=!0):hc.value.push({text:i,duration:o})}function e(i){for(jn=i;hc.value.length>0;){const o=hc.value.shift();setTimeout(()=>t(o.text,o.duration),100)}}return{show:t,registerElement:e}}const dy=_y(),Ng=dy,Qn=[];function hy(){return[...Qn]}function Mg(t){function e(i){const o=i.target,r=o.tagName==="INPUT"||o.tagName==="TEXTAREA"||o.getAttribute("contenteditable")==="true";for(const n of t){const a=(n.ctrl??!1)===(i.ctrlKey||i.metaKey),s=(n.shift??!1)===i.shiftKey,l=(n.alt??!1)===i.altKey,c=i.key.toLowerCase()===n.key.toLowerCase();if(a&&s&&l&&c){if(r&&!n.ctrl)continue;i.preventDefault(),n.handler(i);return}}}wl(()=>{document.addEventListener("keydown",e);for(const i of t)Qn.includes(i)||Qn.push(i)}),Cl(()=>{document.removeEventListener("keydown",e);for(const i of t){const o=Qn.indexOf(i);o>=0&&Qn.splice(o,1)}})}var $g={},Fg=$g.hasOwnProperty,py=$g.toString,Hg=Fg.toString,fy=Hg.call(Object),Sh=function(t){var e,i;return!t||py.call(t)!=="[object Object]"?!1:(e=Object.getPrototypeOf(t),e?(i=Fg.call(e,"constructor")&&e.constructor,typeof i=="function"&&Hg.call(i)===fy):!0)},gy=Object.create(null),Ug=function(t,e,i,o){var r,n,a,s,l,c,u=arguments[2]||{},_=3,d=arguments.length,h=arguments[0]||!1,g=arguments[1]?void 0:gy;for(typeof u!="object"&&typeof u!="function"&&(u={});_my.get(t),Ha={themes:{default:"sap_horizon",all:["sap_fiori_3","sap_fiori_3_dark","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_horizon","sap_horizon_auto","sap_horizon_dark","sap_horizon_hc_auto","sap_horizon_hcb","sap_horizon_hcw"]},languages:{default:"en"},locales:{default:"en",all:["ar","ar_EG","ar_SA","bg","ca","cnr","cs","da","de","de_AT","de_CH","el","el_CY","en","en_AU","en_GB","en_HK","en_IE","en_IN","en_NZ","en_PG","en_SG","en_ZA","es","es_AR","es_BO","es_CL","es_CO","es_MX","es_PE","es_UY","es_VE","et","fa","fi","fr","fr_BE","fr_CA","fr_CH","fr_LU","he","hi","hr","hu","id","it","it_CH","ja","kk","ko","lt","lv","ms","mk","nb","nl","nl_BE","pl","pt","pt_PT","ro","ru","ru_UA","sk","sl","sr","sr_Latn","sv","th","tr","uk","vi","zh_CN","zh_HK","zh_SG","zh_TW"]}},qs=Ha.themes.default,vy=Ha.themes.all,Sa=Ha.languages.default,ko=Ha.locales.default,kh=Ha.locales.all;var Vg=(t=>(t.Full="full",t.Basic="basic",t.Minimal="minimal",t.None="none",t))(Vg||{});let Ji=class{constructor(){this._eventRegistry=new Map}attachEvent(e,i){const o=this._eventRegistry,r=o.get(e);if(!Array.isArray(r)){o.set(e,[i]);return}r.includes(i)||r.push(i)}detachEvent(e,i){const o=this._eventRegistry,r=o.get(e);if(!r)return;const n=r.indexOf(i);n!==-1&&r.splice(n,1),r.length===0&&o.delete(e)}fireEvent(e,i){const o=this._eventRegistry.get(e);return o?o.map(r=>r.call(this,i)):[]}fireEventAsync(e,i){return Promise.all(this.fireEvent(e,i))}isHandlerAttached(e,i){const o=this._eventRegistry.get(e);return o?o.includes(i):!1}hasListeners(e){return!!this._eventRegistry.get(e)}};const by=new Ji,yy="configurationReset",Ua=t=>{by.attachEvent(yy,t)},Va=typeof document>"u",wy={search(){return Va?"":window.location.search}},C6=()=>Va?"":window.location.hostname,x6=()=>Va?"":window.location.port,S6=()=>Va?"":window.location.protocol,pc=()=>Va?"":window.location.href,Cy=()=>wy.search();let Th=!1,jt={animationMode:Vg.Full,theme:qs,themeRoot:void 0,rtl:void 0,language:void 0,timezone:void 0,calendarType:void 0,secondaryCalendarType:void 0,noConflict:!1,formatSettings:{},fetchDefaultLanguage:!1,defaultFontLoading:!0,enableDefaultTooltips:!0};const k6=()=>(dr(),jt.animationMode),xy=()=>(dr(),jt.theme),Sy=()=>(dr(),jt.themeRoot),ky=()=>(dr(),jt.language),Ty=()=>(dr(),jt.fetchDefaultLanguage),Iy=()=>(dr(),jt.noConflict),By=()=>(dr(),jt.defaultFontLoading),Ay=()=>(dr(),jt.enableDefaultTooltips),Gs=new Map;Gs.set("true",!0),Gs.set("false",!1);const Ey=()=>{const t=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");let e;if(t){try{e=JSON.parse(t.innerHTML)}catch{console.warn("Incorrect data-sap-ui-config format. Please use JSON")}e&&(jt=T_(jt,e))}},Ry=()=>{const t=new URLSearchParams(Cy());t.forEach((e,i)=>{const o=i.split("sap-").length;o===0||o===i.split("sap-ui-").length||Ih(i,e,"sap")}),t.forEach((e,i)=>{i.startsWith("sap-ui")&&Ih(i,e,"sap-ui")})},Ly=t=>t.split("@")[1],Py=(t,e)=>t==="theme"&&e.includes("@")?e.split("@")[0]:e,Ih=(t,e,i)=>{const o=e.toLowerCase(),r=t.split(`${i}-`)[1];Gs.has(e)&&(e=Gs.get(o)),r==="theme"?(jt.theme=Py(r,e),e&&e.includes("@")&&(jt.themeRoot=Ly(e))):jt[r]=e},Oy=()=>{const t=Eo("OpenUI5Support");if(!t||!t.isOpenUI5Detected())return;const e=t.getConfigurationSettingsObject();jt=T_(jt,e)},dr=()=>{typeof document>"u"||Th||(Dy(),Th=!0)},Dy=t=>{Ey(),Ry(),Oy()};let zy=class{constructor(){this.list=[],this.lookup=new Set}add(e){this.lookup.has(e)||(this.list.push(e),this.lookup.add(e))}remove(e){this.lookup.has(e)&&(this.list=this.list.filter(i=>i!==e),this.lookup.delete(e))}shift(){const e=this.list.shift();if(e)return this.lookup.delete(e),e}isEmpty(){return this.list.length===0}isAdded(e){return this.lookup.has(e)}process(e){let i;const o=new Map;for(i=this.shift();i;){const r=o.get(i)||0;if(r>10)throw new Error("Web component processed too many times this task, max allowed is: 10");e(i),o.set(i,r+1),i=this.shift()}}};const nu=(t,e=document.body,i)=>{let o=document.querySelector(t);return o||(o=i?i():document.createElement(t),e.insertBefore(o,e.firstChild))},Ny=()=>{const t=document.createElement("meta");return t.setAttribute("name","ui5-shared-resources"),t.setAttribute("content",""),t},My=()=>typeof document>"u"?null:nu('meta[name="ui5-shared-resources"]',document.head,Ny),Mo=(t,e)=>{const i=t.split(".");let o=My();if(!o)return e;for(let r=0;r$y,Fy=()=>au,su=t=>{if(!fc.has(t)){const e=au.include.some(i=>t.match(i))&&!au.exclude.some(i=>t.match(i));fc.set(t,e)}return fc.get(t)},Hy=t=>{if(su(t))return Gg()},Uy=(t,e=!1)=>{if(!e)return t;const i=`v${qg.version.replaceAll(".","-")}`,o=/(--_?ui5)([^,:)\s]+)/g;return t.replaceAll(o,`$1-${i}$2`)};let ws,Vy="";const gc=new Map,ka=Mo("Runtimes",[]),qy=()=>{if(ws===void 0){ws=ka.length;const t=qg;ka.push({...t,get scopingSuffix(){return Gg()},get registeredTags(){return Zg()},get scopingRules(){return Fy()},alias:Vy,description:`Runtime ${ws} - ver ${t.version}`,importMetaUrl:import.meta.url})}},On=()=>ws,jg=(t,e)=>{const i=`${t},${e}`;if(gc.has(i))return gc.get(i);const o=ka[t],r=ka[e];if(!o||!r)throw new Error("Invalid runtime index supplied");if(o.isNext||r.isNext)return o.buildTime-r.buildTime;const n=o.major-r.major;if(n)return n;const a=o.minor-r.minor;if(a)return a;const s=o.patch-r.patch;if(s)return s;const l=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"}).compare(o.suffix,r.suffix);return gc.set(i,l),l},Gy=()=>ka,Wg=Mo("Tags",new Map),I_=new Set;let $r=new Map,mc;const Kg=-1,jy=t=>{I_.add(t),Wg.set(t,On())},Wy=t=>I_.has(t),Zg=()=>[...I_.values()],Ky=t=>{let e=Wg.get(t);e===void 0&&(e=Kg),$r.has(e)||$r.set(e,new Set),$r.get(e).add(t),mc||(mc=setTimeout(()=>{Zy(),$r=new Map,mc=void 0},1e3))},Zy=()=>{const t=Gy(),e=On(),i=t[e];let o="Multiple UI5 Web Components instances detected.";t.length>1&&(o=`${o} -Loading order (versions before 1.1.0 not listed): ${t.map(r=>` -${r.description}`).join("")}`),[...$r.keys()].forEach(r=>{let n,a;r===Kg?(n=1,a={description:"Older unknown runtime"}):(n=jg(e,r),a=t[r]);let s;n>0?s="an older":n<0?s="a newer":s="the same",o=`${o} - -"${i.description}" failed to define ${$r.get(r).size} tag(s) as they were defined by a runtime of ${s} version "${a.description}": ${[...$r.get(r)].sort().join(", ")}.`,n>0?o=`${o} -WARNING! If your code uses features of the above web components, unavailable in ${a.description}, it might not work as expected!`:o=`${o} -Since the above web components were defined by the same or newer version runtime, they should be compatible with your code.`}),o=`${o} - -To prevent other runtimes from defining tags that you use, consider using scoping or have third-party libraries use scoping: https://github.com/UI5/webcomponents/blob/main/docs/2-advanced/06-scoping.md.`,console.warn(o)},Xg=new Set,Xy=t=>{Xg.add(t)},Yy=t=>Xg.has(t),B_=new Set,Jy=new Ji,wn=new zy;let ea,Cs,vc,as;const Yg=async t=>{wn.add(t),await ew()},Jg=t=>{Jy.fireEvent("beforeComponentRender",t),B_.add(t),t._render()},Qy=t=>{wn.remove(t),B_.delete(t)},ew=async()=>{as||(as=new Promise(t=>{window.requestAnimationFrame(()=>{wn.process(Jg),as=null,t(),vc||(vc=setTimeout(()=>{vc=void 0,wn.isEmpty()&&ow()},200))})})),await as},tw=()=>ea||(ea=new Promise(t=>{Cs=t,window.requestAnimationFrame(()=>{wn.isEmpty()&&(ea=void 0,t())})}),ea),iw=()=>{const t=Zg().map(e=>customElements.whenDefined(e));return Promise.all(t)},Qi=async()=>{await iw(),await tw()},ow=()=>{wn.isEmpty()&&Cs&&(Cs(),Cs=void 0,ea=void 0)},Bl=async t=>{B_.forEach(e=>{const i=e.constructor,o=i.getMetadata().getTag(),r=Yy(i),n=i.getMetadata().isLanguageAware(),a=i.getMetadata().isThemeAware();(!t||t.tag===o||t.rtlAware&&r||t.languageAware&&n||t.themeAware&&a)&&Yg(e)}),await Qi()},rw=typeof document>"u",Al=(t,e)=>e?`${t}|${e}`:t,nw=t=>t===void 0?!0:jg(On(),parseInt(t))>=1,El=(t,e,i="",o)=>{const r=On(),n=new CSSStyleSheet;n.replaceSync(t),n._ui5StyleId=Al(e,i),o&&(n._ui5RuntimeIndex=r,n._ui5Theme=o),document.adoptedStyleSheets=[...document.adoptedStyleSheets,n]},aw=(t,e,i="",o)=>{const r=On(),n=document.adoptedStyleSheets.find(a=>a._ui5StyleId===Al(e,i));if(n)if(!o)n.replaceSync(t||"");else{const a=n._ui5RuntimeIndex;(n._ui5Theme!==o||nw(a))&&(n.replaceSync(t||""),n._ui5RuntimeIndex=String(r),n._ui5Theme=o)}},Rl=(t,e="")=>rw?!0:!!document.adoptedStyleSheets.find(i=>i._ui5StyleId===Al(t,e)),sw=(t,e="")=>{document.adoptedStyleSheets=document.adoptedStyleSheets.filter(i=>i._ui5StyleId!==Al(t,e))},A_=(t,e,i="",o)=>{Rl(e,i)?aw(t,e,i,o):El(t,e,i,o)},lw=(t,e)=>t===void 0?e:e===void 0?t:`${t} ${e}`,Qg=new Ji,em="themeRegistered",cw=t=>{Qg.attachEvent(em,t)},uw=t=>Qg.fireEvent(em,t),Bh=new Map,tm=new Map,_w=new Map,im=new Map,js=new Set,L=(t,e,i,o="root")=>{tm.set(`${t}/${e}`,i),im.set(t,{cssVariablesTarget:o}),js.add(e),uw(e)},om=async(t,e,i)=>{const o=`${t}_${e}_${i||""}`,r=Bh.get(o);if(r!==void 0)return r;if(!js.has(e)){const l=[...js.values()].join(", ");return console.warn(`You have requested a non-registered theme ${e} - falling back to ${qs}. Registered themes are: ${l}`),bc(t,qs)}const[n,a]=await Promise.all([bc(t,e),i?bc(t,i,!0):void 0]),s=lw(n,a);return s&&Bh.set(o,s),s},bc=async(t,e,i=!1)=>{const o=(i?_w:tm).get(`${t}/${e}`);if(!o){i||console.error(`Theme [${e}] not registered for package [${t}]`);return}let r;try{r=await o(e)}catch(n){console.error(t,n.message);return}return r},rm=()=>im,dw=t=>js.has(t),an=new Set,hw=()=>{let t=document.querySelector(".sapThemeMetaData-Base-baseLib")||document.querySelector(".sapThemeMetaData-UI5-sap-ui-core");if(t)return getComputedStyle(t).backgroundImage;t=document.createElement("span"),t.style.display="none",t.classList.add("sapThemeMetaData-Base-baseLib"),document.body.appendChild(t);let e=getComputedStyle(t).backgroundImage;return e==="none"&&(t.classList.add("sapThemeMetaData-UI5-sap-ui-core"),e=getComputedStyle(t).backgroundImage),document.body.removeChild(t),e},pw=t=>{const e=/\(["']?data:text\/plain;utf-8,(.*?)['"]?\)$/i.exec(t);if(e&&e.length>=2){let i=e[1];if(i=i.replace(/\\"/g,'"'),i.charAt(0)!=="{"&&i.charAt(i.length-1)!=="}")try{i=decodeURIComponent(i)}catch{an.has("decode")||(console.warn("Malformed theme metadata string, unable to decodeURIComponent"),an.add("decode"));return}try{return JSON.parse(i)}catch{an.has("parse")||(console.warn("Malformed theme metadata string, unable to parse JSON"),an.add("parse"))}}},fw=t=>{let e,i;try{const o=t.Path.split(".");e=o.length===4?o[2]:getComputedStyle(document.body).getPropertyValue("--sapSapThemeId"),i=t.Extends[0]}catch{an.has("object")||(console.warn("Malformed theme metadata Object",t),an.add("object"));return}return{themeName:e,baseThemeName:i}},lu=()=>{const t=hw();if(!t||t==="none")return;const e=pw(t);if(e)return fw(e)},gw=new Ji,mw="themeLoaded",vw=t=>gw.fireEvent(mw,t),bw=(t,e)=>{const i=document.createElement("link");return i.type="text/css",i.rel="stylesheet",e&&Object.entries(e).forEach(o=>i.setAttribute(...o)),i.href=t,document.head.appendChild(i),new Promise(o=>{i.addEventListener("load",o),i.addEventListener("error",o)})},Ah=t=>{const e=document.querySelector(`META[name="${t}"]`);return e&&e.getAttribute("content")},yw=(t,e=!1)=>{const i=Ah("sap-allowed-theme-origins")??Ah("sap-allowedThemeOrigins");return i?e?!0:i.split(",").some(o=>o==="*"||t===o.trim()):!1},ww=t=>{let e,i=!1;try{if(t.startsWith(".")||t.startsWith("/")&&!t.startsWith("//"))e=new URL(t,pc()).toString(),i=!0;else{const o=t.startsWith("//")?new URL(t,pc()):new URL(t),r=o.origin,n=new URL(pc()).origin;if(i=r===n,r&&yw(r,i))e=o.toString();else return}return e.endsWith("/")||(e=`${e}/`),`${e}UI5/`}catch{return}};let xs;Ua(()=>{xs=void 0});const nm=()=>(xs===void 0&&(xs=Sy()),xs),Cw=(t,e)=>`${e}Base/baseLib/${t}/css_variables.css`,xw=async t=>{const e=document.querySelector(`[sap-ui-webcomponents-theme="${t}"]`);e&&document.head.removeChild(e);const i=nm();if(!i)return;const o=ww(i);if(!o){console.warn(`The ${i} is not valid. Check the allowed origins as suggested in the "setThemeRoot" description.`);return}await bw(Cw(t,o),{"sap-ui-webcomponents-theme":t})},Eh=new Map;let yc;const am=()=>(yc||(yc=new CSSStyleSheet),yc),Sw=(t,e)=>{Eh.set(t,e);const i=Array.from(Eh.values()).join(` -`);am().replaceSync(i)};let kw="ui5",Tw="webcomponents-theming";const Ta="@"+kw+"/"+Tw,Iw=()=>rm().has(Ta),Bw=async t=>{if(!Iw())return;const e=await om(Ta,t);e&&A_(e,"data-ui5-theme-properties",Ta,t)},Aw=()=>{sw("data-ui5-theme-properties",Ta)},Ew=async(t,e)=>{const i=[...rm().entries()].map(async([o,{cssVariablesTarget:r}])=>{if(o===Ta)return;const n=await om(o,t,e);n&&(r==="root"?A_(n,`data-ui5-component-properties-${On()}`,o):r==="host"&&Sw(o,n))});return Promise.all(i)},Rw=async t=>{var o;const e=lu();if(e)return e;const i=Eo("OpenUI5Support");if(i&&i.isOpenUI5Detected()){if(i.cssVariablesLoaded())return{themeName:(o=i.getConfigurationSettingsObject())==null?void 0:o.theme,baseThemeName:""}}else if(nm())return await xw(t),lu()},Ll=async t=>{const e=await Rw(t);!e||t!==e.themeName?await Bw(t):Aw();const i=e&&e.themeName===t?t:void 0,o=e&&e.baseThemeName,r=dw(t)?t:o||qs;await Ew(r,i),tC(o),vw(t)},Lw=()=>new Promise(t=>{document.body?t():document.addEventListener("DOMContentLoaded",()=>{t()})}),Pw=`@font-face{font-family:"72";font-style:normal;font-weight:400;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Regular.woff2) format("woff2"),local("72");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72full";font-style:normal;font-weight:400;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Regular-full.woff2) format("woff2")} -@font-face{font-family:"72-Bold";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Bold.woff2) format("woff2"),local("72-Bold");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72";font-style:normal;font-weight:700;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Bold.woff2) format("woff2"),local("72-Bold");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72-Boldfull";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Bold-full.woff2) format("woff2")} -@font-face{font-family:"72full";font-style:normal;font-weight:700;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Bold-full.woff2) format("woff2")} -@font-face{font-family:"72-Semibold";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Semibold.woff2) format("woff2"),local("72-Semibold");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72";font-style:normal;font-weight:600;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Semibold.woff2) format("woff2"),local("72-Semibold");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72-Semiboldfull";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Semibold-full.woff2) format("woff2")} -@font-face{font-family:"72full";font-style:normal;font-weight:600;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Semibold-full.woff2) format("woff2")} -@font-face{font-family:"72-SemiboldDuplex";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-SemiboldDuplex.woff2) format("woff2"),local("72-SemiboldDuplex");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72-SemiboldDuplexfull";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-SemiboldDuplex-full.woff2) format("woff2")} -@font-face{font-family:"72-Light";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Light.woff2) format("woff2"),local("72-Light");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72";font-style:normal;font-weight:300;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Light.woff2) format("woff2"),local("72-Light");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72-Lightfull";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Light-full.woff2) format("woff2")} -@font-face{font-family:"72full";font-style:normal;font-weight:300;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Light-full.woff2) format("woff2")} -@font-face{font-family:"72Black";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Black.woff2) format("woff2"),local("72Black");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+160-161,U+178,U+17D-17E,U+192,U+237,U+2C6-2C7,U+2DC,U+3BC,U+1E0E,U+2013-2014,U+2018-2019,U+201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72";font-style:normal;font-weight:900;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Black.woff2) format("woff2"),local("72Black");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+160-161,U+178,U+17D-17E,U+192,U+237,U+2C6-2C7,U+2DC,U+3BC,U+1E0E,U+2013-2014,U+2018-2019,U+201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72Blackfull";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Black-full.woff2) format("woff2")} -@font-face{font-family:"72full";font-style:normal;font-weight:900;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Black-full.woff2) format("woff2")} -@font-face{font-family:"72-BoldItalic";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-BoldItalic.woff2) format("woff2"),local("72-BoldItalic");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72";font-style:italic;font-weight:700;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-BoldItalic.woff2) format("woff2"),local("72-BoldItalic");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72full";font-style:italic;font-weight:700;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-BoldItalic-full.woff2) format("woff2")} -@font-face{font-family:"72-Condensed";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Condensed.woff2) format("woff2"),local("72-Condensed");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72";font-style:normal;font-weight:400;font-stretch:condensed;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Condensed.woff2) format("woff2"),local("72-Condensed");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72";font-style:normal;font-weight:400;font-stretch:condensed;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Condensed-full.woff2) format("woff2");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72-CondensedBold";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-CondensedBold.woff2) format("woff2"),local("72-CondensedBold");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72";font-style:normal;font-weight:700;font-stretch:condensed;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-CondensedBold.woff2) format("woff2"),local("72-CondensedBold");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72full";font-style:normal;font-weight:700;font-stretch:condensed;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-CondensedBold-full.woff2) format("woff2")} -@font-face{font-family:"72-Italic";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Italic.woff2) format("woff2"),local("72-Italic");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72";font-style:italic;font-weight:400;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Italic.woff2) format("woff2"),local("72-Italic");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72full";font-style:italic;font-weight:400;src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72-Italic-full.woff2) format("woff2")} -@font-face{font-family:"72Mono";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72Mono-Regular.woff2) format("woff2"),local("72Mono");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72Monofull";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72Mono-Regular-full.woff2) format("woff2")} -@font-face{font-family:"72Mono-Bold";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72Mono-Bold.woff2) format("woff2"),local("72Mono-Bold");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122} -@font-face{font-family:"72Mono-Boldfull";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.35.0/content/Base/baseLib/baseTheme/fonts/72Mono-Bold-full.woff2) format("woff2")}`;let Ss;Ua(()=>{Ss=void 0});const Ow=()=>(Ss===void 0&&(Ss=By()),Ss),Dw=()=>{const t=Eo("OpenUI5Support");(!t||!t.isOpenUI5Detected())&&zw()},zw=()=>{const t=document.querySelector("head>style[data-ui5-font-face]");!Ow()||t||Rl("data-ui5-font-face")||El(Pw,"data-ui5-font-face")},Nw=":root{--_ui5-cozy-size:var(--_ui5-f2d95f8);--_ui5-compact-size: ;--_ui5_content_density:cozy}.sapUiSizeCompact,.ui5-content-density-compact,[data-ui5-compact-size]{--_ui5-cozy-size: ;--_ui5-compact-size:var(--_ui5-f2d95f8);--_ui5_content_density:compact}",Mw=()=>{A_(Nw,"data-ui5-system-css-vars")},$w="html:not(.ui5-content-native-scrollbars){scrollbar-color:var(--sapScrollBar_FaceColor) var(--sapScrollBar_TrackColor)}",Fw=()=>{Rl("data-ui5-scrollbar-styles")||El($w,"data-ui5-scrollbar-styles")},Et=typeof document>"u",he={get userAgent(){return Et?"":navigator.userAgent},get touch(){return Et?!1:"ontouchstart"in window||navigator.maxTouchPoints>0},get chrome(){return Et?!1:/(Chrome|CriOS)/.test(he.userAgent)},get firefox(){return Et?!1:/Firefox/.test(he.userAgent)},get safari(){return Et?!1:!he.chrome&&/(Version|PhantomJS)\/(\d+\.\d+).*Safari/.test(he.userAgent)},get webkit(){return Et?!1:/webkit/.test(he.userAgent)},get windows(){return Et?!1:navigator.platform.indexOf("Win")!==-1},get macOS(){return Et?!1:!!navigator.userAgent.match(/Macintosh|Mac OS X/i)},get iOS(){return Et?!1:!!navigator.platform.match(/iPhone|iPad|iPod/)||!!(he.userAgent.match(/Mac/)&&"ontouchend"in document)},get android(){return Et?!1:!he.windows&&/Android/.test(he.userAgent)},get androidPhone(){return Et?!1:he.android&&/(?=android)(?=.*mobile)/i.test(he.userAgent)},get ipad(){return Et?!1:/ipad/i.test(he.userAgent)||/Macintosh/i.test(he.userAgent)&&"ontouchend"in document},_isPhone(){return sm(),he.touch&&!ir}};let wc,Cc,ir;const E_=()=>{if(Et||!he.windows)return!1;if(wc===void 0){const t=he.userAgent.match(/Windows NT (\d+).(\d)/);wc=t?parseFloat(t[1]):0}return wc>=8},Hw=()=>{if(Et||!he.webkit)return!1;if(Cc===void 0){const t=he.userAgent.match(/(webkit)[ /]([\w.]+)/);Cc=t?parseFloat(t[1]):0}return Cc>=537.1},sm=()=>{if(Et)return!1;if(ir===void 0){if(he.ipad){ir=!0;return}if(he.touch){if(E_()){ir=!0;return}if(he.chrome&&he.android){ir=!/Mobile Safari\/[.0-9]+/.test(he.userAgent);return}let t=window.devicePixelRatio?window.devicePixelRatio:1;he.android&&Hw()&&(t=1),ir=Math.min(window.screen.width/t,window.screen.height/t)>=600;return}ir=he.userAgent.indexOf("Touch")!==-1||he.android&&!he.androidPhone}},I6=()=>he.touch,R_=()=>he.safari,Uw=()=>he.chrome,B6=()=>he.firefox,Vw=()=>(sm(),(he.touch||E_())&&ir),We=()=>he._isPhone(),zt=()=>Et?!1:!Vw()&&!We()||E_(),lm=()=>he.iOS,cm=()=>he.macOS,qw=()=>he.android||he.androidPhone;let Rh=!1;const Gw=()=>{R_()&&lm()&&!Rh&&(document.body.addEventListener("touchstart",()=>{}),Rh=!0)};let Pl=!1,ss,Lh=!1;const um=new Ji,L_=()=>Pl,jw=t=>{if(!Pl){um.attachEvent("boot",t);return}t()},Ww=async()=>{const t=Eo("OpenUI5Support"),e=t?t.isOpenUI5Detected():!1,i=Eo("F6Navigation");t&&(i&&i.destroy(),await t.init()),i&&!e&&i.init()},Kw=()=>{if(Lh)return;const t=Eo("OpenUI5Support");t&&(Lh=t.attachListeners())},Zw=async()=>{if(ss!==void 0)return ss;const t=async e=>{if(qy(),typeof document>"u"){e();return}cw(Xw),await Ww(),await Lw(),await Ll(Ol()),Kw(),Dw(),Mw(),Fw(),Gw(),e(),Pl=!0,um.fireEvent("boot")};return ss=new Promise(t),ss},Xw=t=>{if(!Pl)return;const e=Ol(),i=eC();(t===e||t===i)&&Ll(e)},_m=()=>Mo("ConfigChange.eventProvider",new Ji),dm=()=>Mo("ConfigChange.values",{}),hm="configChange",cu=new Set,Yw=(t,e)=>{dm()[t]=e,cu.add(t);try{_m().fireEvent(hm,{name:t,value:e})}finally{cu.delete(t)}},pm=(t,e)=>{_m().attachEvent(hm,i=>{i.name===t&&!cu.has(t)&&e(i.value)})},fm=t=>dm()[t];let To,gm;Ua(()=>{To=void 0}),pm("theme",t=>{To=t,L_()&&Ll(To).then(()=>Bl({themeAware:!0}))});const Ol=()=>(To===void 0&&(To=fm("theme")??xy()),To),uu=async t=>{To!==t&&(To=t,Yw("theme",t),L_()&&(await Ll(To),await Bl({themeAware:!0})))},Jw=()=>{var e,i;const t=Ol();return Qw(t)?!t.startsWith("sap_horizon"):!((i=(e=lu())==null?void 0:e.baseThemeName)!=null&&i.startsWith("sap_horizon"))},Qw=t=>vy.includes(t),eC=()=>gm,tC=t=>{gm=t},mm="hana-cli-notifications",Ph=100;function iC(){try{const t=localStorage.getItem(mm);return t?JSON.parse(t):[]}catch{return[]}}function Dl(t){localStorage.setItem(mm,JSON.stringify(t.slice(0,50)))}const Jt=_e(iC()),oC=Qe(()=>Jt.value.filter(t=>!t.read).length);function rC(t,e,i){const o={id:crypto.randomUUID(),type:t,title:e,message:i,timestamp:Date.now(),read:!1};Jt.value.unshift(o),Jt.value.length>Ph&&(Jt.value=Jt.value.slice(0,Ph)),Dl(Jt.value);const r=t==="error"?5e3:3e3;Ng.show(e,r)}function nC(t){Jt.value=Jt.value.filter(e=>e.id!==t),Dl(Jt.value)}function aC(){Jt.value.forEach(t=>{t.read=!0}),Dl(Jt.value)}function sC(){Jt.value=[],Dl(Jt.value)}function vm(){return{notifications:Jt,unreadCount:oC,notify:rC,dismiss:nC,markAllRead:aC,clearAll:sC}}const bm="hana-cli-global-settings";function lC(){try{const t=localStorage.getItem(bm);if(t)return{...Oh(),...JSON.parse(t)}}catch{}return Oh()}function Oh(){return{admin:!1,conn:"",disableVerbose:!1,debug:!1}}const Wo=za(lC());function cC(){localStorage.setItem(bm,JSON.stringify(Wo))}function ym(){function t(i){Object.assign(Wo,i),cC()}function e(){const i={};return Wo.admin&&(i.admin=!0),Wo.conn&&(i.conn=Wo.conn),Wo.disableVerbose&&(i.disableVerbose=!0),Wo.debug&&(i.debug=!0),i}return{settings:Wo,update:t,getApiParams:e}}async function Dh(t){try{const e=await t.json();if(e.message)return e.message}catch{try{const e=await t.text();if(e)return e}catch{}}return`${t.status} ${t.statusText}`}function uC(){const{getApiParams:t}=ym();async function e(o,r={}){const n={...t(),...r};await fetch("/",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});const a=await fetch(`/hana/${o}`);if(!a.ok){const s=await Dh(a);throw new Error(s)}return a.json()}async function i(o){const r=await fetch(o);if(!r.ok){const n=await Dh(r);throw new Error(n)}return r.json()}return{execute:e,fetchDirect:i}}const zh="hana-cli-last-known-version",Nh="hana-cli-update-notified-version";let Mh=!1;async function _C(){if(Mh)return;Mh=!0;const{notify:t}=vm(),{fetchDirect:e}=uC();try{const i=await e("/hana/version-ui"),o=i["hana-cli"],r=i.latestVersion;if(!o)return;const n=localStorage.getItem(zh);n&&n!==o&&$h(o,n)&&t("success",`Updated to v${o}`,`hana-cli has been updated from v${n}.`),localStorage.setItem(zh,o),r&&r!==o&&$h(r,o)&&localStorage.getItem(Nh)!==r&&(t("info",`Update available: v${r}`,`Run "npm update -g hana-cli" to upgrade from v${o}.`),localStorage.setItem(Nh,r))}catch{}}function $h(t,e){const i=t.split(".").map(Number),o=e.split(".").map(Number);for(let r=0;r<3;r++){if((i[r]||0)>(o[r]||0))return!0;if((i[r]||0)<(o[r]||0))return!1}return!1}const ce=(t={})=>e=>{if(Object.prototype.hasOwnProperty.call(e,"metadata")||(e.metadata={}),typeof t=="string"){e.metadata.tag=t;return}const{tag:i,languageAware:o,themeAware:r,cldr:n,fastNavigation:a,formAssociated:s,shadowRootOptions:l}=t;e.metadata.tag=i,o&&(e.metadata.languageAware=o),n&&(e.metadata.cldr=n),r&&(e.metadata.themeAware=r),a&&(e.metadata.fastNavigation=a),s&&(e.metadata.formAssociated=s),l&&(e.metadata.shadowRootOptions=l),["renderer","template","styles","dependencies"].forEach(c=>{t[c]&&Object.defineProperty(e,c,{get:()=>t[c]})})};function ae(t){return(e,i)=>{const o=e.constructor;Object.prototype.hasOwnProperty.call(o,"metadata")||(o.metadata={});const r=o.metadata;r.slots||(r.slots={});const n=r.slots;if(t&&t.default&&n.default)throw new Error("Only one slot can be the default slot.");const a=t&&t.default?"default":i;t=t||{type:HTMLElement},t.type||(t.type=HTMLElement),n[a]||(n[a]=t),t.default&&(delete n.default.default,n.default.propertyName=i),o.metadata.managedSlots=!0}}const p=t=>(e,i)=>{const o=e.constructor;Object.prototype.hasOwnProperty.call(o,"metadata")||(o.metadata={});const r=o.metadata;r.properties||(r.properties={});const n=r.properties;n[i]||(n[i]=t??{})},xt=(t,e,i)=>Math.min(Math.max(t,e),Math.max(e,i)),ve={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46,NUMPAD_PLUS:107,NUMPAD_MINUS:109,F4:115,F7:118,F8:119,PLUS:187,MINUS:219},Ye=t=>(t.key?t.key==="Enter":t.keyCode===ve.ENTER)&&!ut(t),wm=t=>(t.key?t.key==="Enter":t.keyCode===ve.ENTER)&&Kt(t,!0,!1,!1),Cm=t=>(t.key?t.key==="Enter":t.keyCode===ve.ENTER)&&Kt(t,!1,!0,!1),Ws=t=>(t.key?t.key==="Enter":t.keyCode===ve.ENTER)&&Kt(t,!1,!1,!0),dC=t=>Kt(t,!0,!1,!1),Fe=t=>(t.key?t.key==="Spacebar"||t.key===" ":t.keyCode===ve.SPACE)&&!ut(t),_u=t=>(t.key?t.key==="Spacebar"||t.key===" ":t.keyCode===ve.SPACE)&&Kt(t,!1,!1,!0),vt=t=>(t.key?t.key==="ArrowLeft"||t.key==="Left":t.keyCode===ve.ARROW_LEFT)&&!ut(t),Tt=t=>(t.key?t.key==="ArrowRight"||t.key==="Right":t.keyCode===ve.ARROW_RIGHT)&&!ut(t),ai=t=>(t.key?t.key==="ArrowUp"||t.key==="Up":t.keyCode===ve.ARROW_UP)&&!ut(t),li=t=>(t.key?t.key==="ArrowDown"||t.key==="Down":t.keyCode===ve.ARROW_DOWN)&&!ut(t),Fh=t=>(t.key?t.key==="ArrowUp"||t.key==="Up":t.keyCode===ve.ARROW_UP)&&Kt(t,!1,!1,!0),Hh=t=>(t.key?t.key==="ArrowDown"||t.key==="Down":t.keyCode===ve.ARROW_DOWN)&&Kt(t,!1,!1,!0),hC=t=>(t.key?t.key==="ArrowUp"||t.key==="Up":t.keyCode===ve.ARROW_UP)&&Kt(t,!1,!0,!1),pC=t=>(t.key?t.key==="ArrowDown"||t.key==="Down":t.keyCode===ve.ARROW_DOWN)&&Kt(t,!1,!0,!1),Uh=t=>(t.key?t.key==="ArrowLeft"||t.key==="Left":t.keyCode===ve.ARROW_LEFT)&&Kt(t,!1,!1,!0),Vh=t=>(t.key?t.key==="ArrowRight"||t.key==="Right":t.keyCode===ve.ARROW_RIGHT)&&Kt(t,!1,!1,!0),Ia=t=>(t.key?t.key==="Home":t.keyCode===ve.HOME)&&!ut(t),Ba=t=>(t.key?t.key==="End":t.keyCode===ve.END)&&!ut(t),Ro=t=>(t.key?t.key==="Escape"||t.key==="Esc":t.keyCode===ve.ESCAPE)&&!ut(t),Ai=t=>(t.key?t.key==="Tab":t.keyCode===ve.TAB)&&!ut(t),Lo=t=>(t.key?t.key==="Tab":t.keyCode===ve.TAB)&&Kt(t,!1,!1,!0),fC=t=>(t.key?t.key==="Backspace":t.keyCode===ve.BACKSPACE)&&!ut(t),du=t=>(t.key?t.key==="Delete":t.keyCode===ve.DELETE)&&!ut(t),xm=t=>(t.key?t.key==="PageUp":t.keyCode===ve.PAGE_UP)&&!ut(t),Sm=t=>(t.key?t.key==="PageDown":t.keyCode===ve.PAGE_DOWN)&&!ut(t),km=t=>(t.key?t.key==="+":t.keyCode===ve.PLUS)||t.keyCode===ve.NUMPAD_PLUS&&!ut(t),Tm=t=>(t.key?t.key==="-":t.keyCode===ve.MINUS)||t.keyCode===ve.NUMPAD_MINUS&&!ut(t),gC=t=>t.key?Im(t)||vC(t):t.keyCode===ve.F4&&!ut(t)||t.keyCode===ve.ARROW_DOWN&&Kt(t,!1,!0,!1),hu=t=>t.key==="F2"&&!ut(t),Im=t=>t.key==="F4"&&!ut(t),pu=t=>(t.key?t.key==="F7":t.keyCode===ve.F7)&&!ut(t),mC=t=>(t.key?t.key==="F8":t.keyCode===ve.F8)&&Kt(t,!0,!0,!1),vC=t=>(t.key==="ArrowDown"||t.key==="Down"||t.key==="ArrowUp"||t.key==="Up")&&Kt(t,!1,!0,!1),Aa=t=>t.key==="Shift"||t.keyCode===ve.SHIFT,ut=t=>t.shiftKey||t.altKey||Bm(t),Bm=t=>!!(t.metaKey||t.ctrlKey),Kt=(t,e,i,o)=>t.shiftKey===o&&t.altKey===i&&Bm(t)===e;var Ne=(t=>(t.None="None",t.Positive="Positive",t.Critical="Critical",t.Negative="Negative",t.Information="Information",t))(Ne||{});const Xe=t=>(e,i)=>{e.metadata.i18n||(e.metadata.i18n={}),Object.defineProperty(e,i,{get(){return e.i18nBundles[t]},set(){}}),e.metadata.i18n[i]={bundleName:t,target:e}};function Cn(t){return t.toLowerCase()}const j=(t,e={})=>i=>{Object.prototype.hasOwnProperty.call(i,"metadata")||(i.metadata={});const o=i.metadata;o.events||(o.events={});const r=o.events;r[t]||(e.bubbles=!!e.bubbles,e.cancelable=!!e.cancelable,r[t]=e)};var zl,qe,Am,Pr,qh,Em,fu,Rm,P_,gu,mu,Lm,Ea={},Pm=[],bC=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,O_=Array.isArray;function rr(t,e){for(var i in e)t[i]=e[i];return t}function D_(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function yC(t,e,i){var o,r,n,a={};for(n in e)n=="key"?o=e[n]:n=="ref"?r=e[n]:a[n]=e[n];if(arguments.length>2&&(a.children=arguments.length>3?zl.call(arguments,2):i),typeof t=="function"&&t.defaultProps!=null)for(n in t.defaultProps)a[n]===void 0&&(a[n]=t.defaultProps[n]);return ks(t,a,o,r,null)}function ks(t,e,i,o,r){var n={type:t,props:e,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:r??++Am,__i:-1,__u:0};return r==null&&qe.vnode!=null&&qe.vnode(n),n}function qa(t){return t.children}function Ts(t,e){this.props=t,this.context=e}function xn(t,e){if(e==null)return t.__?xn(t.__,t.__i+1):null;for(var i;ee&&Pr.sort(fu));Ks.__r=0}function Dm(t,e,i,o,r,n,a,s,l,c,u){var _,d,h,g,y,C,S=o&&o.__k||Pm,x=e.length;for(l=wC(i,e,S,l),_=0;_0?ks(n.type,n.props,n.key,n.ref?n.ref:null,n.__v):n).__=t,n.__b=t.__b+1,a=null,(l=n.__i=CC(n,i,s,_))!==-1&&(_--,(a=i[l])&&(a.__u|=2)),a==null||a.__v===null?(l==-1&&d--,typeof n.type!="function"&&(n.__u|=4)):l!==s&&(l==s-1?d--:l==s+1?d++:(l>s?d--:d++,n.__u|=4))):n=t.__k[r]=null;if(_)for(r=0;r(l!=null&&(2&l.__u)==0?1:0))for(;a>=0||s=0){if((l=e[a])&&(2&l.__u)==0&&r==l.key&&n===l.type)return a;a--}if(s{var n;let i=Wh.get(t);i||(i=kC(t),Wh.set(t,i));const o=t.render(),r=IC(i.Provider,{value:t,children:o});t.__shouldHydrate?((n=t.shadowRoot)==null||n.querySelectorAll("style").forEach(a=>a.remove()),Fm(r,e),t.__shouldHydrate=!1):$m(r,e)},xc=new Map,Sc=new Map,Kh=new Map,Or=t=>{if(!xc.has(t)){const e=BC(t.split("-"));xc.set(t,e)}return xc.get(t)},Hm=t=>{if(!Sc.has(t)){const e=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();Sc.set(t,e)}return Sc.get(t)},BC=t=>t.map((e,i)=>i===0?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(""),Zh=t=>{const e=Kh.get(t);if(e)return e;const i=Or(t),o=i.charAt(0).toUpperCase()+i.slice(1);return Kh.set(t,o),o},Xh=t=>{if(!(t instanceof HTMLElement))return"default";const e=t.getAttribute("slot");if(e){const i=e.match(/^(.+?)-\d+$/);return i?i[1]:e}return"default"},Um=t=>t instanceof HTMLSlotElement?t.assignedNodes({flatten:!0}).filter(e=>e instanceof HTMLElement):[t],Yh=t=>t.reduce((e,i)=>e.concat(Um(i)),[]);let AC=class{constructor(e){this.metadata=e}getInitialState(){if(Object.prototype.hasOwnProperty.call(this,"_initialState"))return this._initialState;const e={};if(this.slotsAreManaged()){const i=this.getSlots();for(const[o,r]of Object.entries(i)){const n=r.propertyName||o;e[n]=[],e[Or(n)]=e[n]}}return this._initialState=e,e}static validateSlotValue(e,i){return EC(e,i)}getPureTag(){return this.metadata.tag||""}getTag(){const e=this.metadata.tag;if(!e)return"";const i=Hy(e);return i?`${e}-${i}`:e}hasAttribute(e){const i=this.getProperties()[e];return i.type!==Object&&!i.noAttribute}getPropertiesList(){return Object.keys(this.getProperties())}getAttributesList(){return this.getPropertiesList().filter(this.hasAttribute.bind(this)).map(Hm)}canSlotText(){var e;return((e=this.getSlots().default)==null?void 0:e.type)===Node}hasSlots(){return!!Object.entries(this.getSlots()).length}hasIndividualSlots(){return this.slotsAreManaged()&&Object.values(this.getSlots()).some(e=>e.individualSlots)}slotsAreManaged(){return!!this.metadata.managedSlots}supportsF6FastNavigation(){return!!this.metadata.fastNavigation}getProperties(){return this.metadata.properties||(this.metadata.properties={}),this.metadata.properties}getEvents(){return this.metadata.events||(this.metadata.events={}),this.metadata.events}getSlots(){return this.metadata.slots||(this.metadata.slots={}),this.metadata.slots}isLanguageAware(){return!!this.metadata.languageAware}isThemeAware(){return!!this.metadata.themeAware}needsCLDR(){return!!this.metadata.cldr}getShadowRootOptions(){return this.metadata.shadowRootOptions||{}}isFormAssociated(){return!!this.metadata.formAssociated}shouldInvalidateOnChildChange(e,i,o){const r=this.getSlots()[e].invalidateOnChildChange;if(r===void 0)return!1;if(typeof r=="boolean")return r;if(typeof r=="object"){if(i==="property"){if(r.properties===void 0)return!1;if(typeof r.properties=="boolean")return r.properties;if(Array.isArray(r.properties))return r.properties.includes(o);throw new Error("Wrong format for invalidateOnChildChange.properties: boolean or array is expected")}if(i==="slot"){if(r.slots===void 0)return!1;if(typeof r.slots=="boolean")return r.slots;if(Array.isArray(r.slots))return r.slots.includes(o);throw new Error("Wrong format for invalidateOnChildChange.slots: boolean or array is expected")}}throw new Error("Wrong format for invalidateOnChildChange: boolean or object is expected")}getI18n(){return this.metadata.i18n||(this.metadata.i18n={}),this.metadata.i18n}};const EC=(t,e)=>(t&&Um(t).forEach(i=>{if(!(i instanceof e.type))throw new Error(`The element is not of type ${e.type.toString()}`)}),t),RC=()=>Mo("CustomStyle.eventProvider",new Ji),LC="CustomCSSChange",M_=t=>{RC().attachEvent(LC,t)},PC=()=>Mo("CustomStyle.customCSSFor",{});M_(t=>{Bl({tag:t})});const OC=t=>{const e=PC();return e[t]?e[t].join(""):""},Jh=t=>Array.isArray(t)?t.filter(e=>!!e).flat(10).join(" "):t,Is=new Map;M_(t=>{Is.delete(`${t}_normal`)});const DC=t=>{const e=t.getMetadata().getTag(),i=`${e}_normal`,o=Eo("OpenUI5Enablement");if(!Is.has(i)){let r="";o&&(r=Jh(o.getBusyIndicatorStyles()));const n=OC(e)||"",a=`${Jh(t.styles)} ${n} ${r}`;Is.set(i,a)}return Is.get(i)},Bs=new Map;M_(t=>{Bs.delete(`${t}_normal`)});const zC=t=>{const e=`${t.getMetadata().getTag()}_normal`;if(!Bs.has(e)){const i=DC(t),o=new CSSStyleSheet;o.replaceSync(i),Bs.set(e,[o])}return Bs.get(e)},NC=t=>{const e=t.constructor,i=t.shadowRoot;if(!i){console.warn("There is no shadow root to update");return}i.adoptedStyleSheets=[am(),...zC(e)],e.renderer(t,i)},MC=[],$C=t=>MC.some(e=>t.startsWith(e)),bu=new WeakMap,FC=(t,e,i)=>{const o=new MutationObserver(e);bu.set(t,o),o.observe(t,i)},HC=t=>{const e=bu.get(t);e&&(e.disconnect(),bu.delete(t))},UC=["value-changed","click"];let As;Ua(()=>{As=void 0});const VC=t=>UC.includes(t),qC=t=>{const e=Vm();return!(typeof e!="boolean"&&e.events&&e.events.includes&&e.events.includes(t))},Vm=()=>(As===void 0&&(As=Iy()),As),GC=t=>{const e=Vm();return VC(t)?!1:e===!0?!0:!qC(t)},jC=t=>t.matches(":dir(rtl)")?"rtl":"ltr",WC=["disabled","title","hidden","role","draggable"],Qh=t=>WC.includes(t)||t.startsWith("aria")?!0:![HTMLElement,Element,Node].some(e=>e.prototype.hasOwnProperty(t)),Zs=(t,e)=>{if(t.length!==e.length)return!1;for(let i=0;it.call(e),Gm=t=>{var i;const e=t.getAttribute("form");if(e){const o=document.getElementById(e);return o instanceof HTMLFormElement?o:null}return((i=t._internals)==null?void 0:i.form)??null},KC=t=>{Wm(t)&&yu(t)},yu=t=>{var e,i;if((e=t._internals)!=null&&e.form){if(jm(t),!t.name){(i=t._internals)==null||i.setFormValue(null);return}t._internals.setFormValue(t.formFormattedValue)}},jm=async t=>{var e,i;if(!(!t.isUI5Element||!((e=t._internals)!=null&&e.form)))if(t._internals.setValidity({customError:!0}," "),await t.definePromise,t.formValidity&&Object.keys(t.formValidity).some(o=>o)){const o=await((i=t.formElementAnchor)==null?void 0:i.call(t));t._internals.setValidity(t.formValidity,t.formValidityMessage,o)}else t._internals.setValidity({})},wu=async t=>{const e=Gm(t);if(!e)return;const i=[...e.elements];await Promise.all(i.map(o=>Wm(o)?jm(o):Promise.resolve())),e.requestSubmit()},ZC=t=>{var e;(e=Gm(t))==null||e.reset()},Wm=t=>"formFormattedValue"in t&&"name"in t,XC=typeof document>"u",YC=()=>{if(XC)return Sa;const t=navigator.languages,e=()=>navigator.language;return t&&t[0]||e()||Sa},Km=new Ji,Zm="languageChange",Xm=t=>{Km.attachEvent(Zm,t)},JC=t=>Km.fireEventAsync(Zm,t);let pa,Es;Ua(()=>{pa=void 0,Es=void 0});let Cu=!1;pm("language",t=>{pa=t,Cu=!0,JC(t).then(()=>{Cu=!1,L_()&&Bl({languageAware:!0})})});const QC=()=>Cu,e2=()=>(pa===void 0&&(pa=fm("language")??ky()),pa),t2=()=>(Es===void 0&&(Es=Ty()),Es),i2=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i;let Ym=class{constructor(e){const i=i2.exec(e.replace(/_/g,"-"));if(i===null)throw new Error(`The given language ${e} does not adhere to BCP-47.`);this.sLocaleId=e,this.sLanguage=i[1]||Sa,this.sScript=i[2]||"",this.sRegion=i[3]||"",this.sVariant=i[4]&&i[4].slice(1)||null,this.sExtension=i[5]&&i[5].slice(1)||null,this.sPrivateUse=i[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,o=>o.toUpperCase())),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase())}getLanguage(){return this.sLanguage}getScript(){return this.sScript}getRegion(){return this.sRegion}getVariant(){return this.sVariant}getVariantSubtags(){return this.sVariant?this.sVariant.split("-"):[]}getExtension(){return this.sExtension}getExtensionSubtags(){return this.sExtension?this.sExtension.slice(2).split("-"):[]}getPrivateUse(){return this.sPrivateUse}getPrivateUseSubtags(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]}hasPrivateUseSubtag(e){return this.getPrivateUseSubtags().indexOf(e)>=0}toString(){const e=[this.sLanguage];return this.sScript&&e.push(this.sScript),this.sRegion&&e.push(this.sRegion),this.sVariant&&e.push(this.sVariant),this.sExtension&&e.push(this.sExtension),this.sPrivateUse&&e.push(this.sPrivateUse),e.join("-")}};const kc=new Map,Jm=t=>(kc.has(t)||kc.set(t,new Ym(t)),kc.get(t)),o2=t=>{try{if(t&&typeof t=="string")return Jm(t)}catch{}return new Ym(ko)},Vr=t=>{const e=e2();return e?Jm(e):o2(YC())},r2=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i,ep=/(?:^|-)(saptrc|sappsd)(?:-|$)/i,n2={he:"iw",yi:"ji",nb:"no",sr:"sh"},a2=t=>{let e;if(!t)return ko;if(typeof t=="string"&&(e=r2.exec(t.replace(/_/g,"-")))){let i=e[1].toLowerCase(),o=e[3]?e[3].toUpperCase():void 0;const r=e[2]?e[2].toLowerCase():void 0,n=e[4]?e[4].slice(1):void 0,a=e[6];return i=n2[i]||i,a&&(e=ep.exec(a))||n&&(e=ep.exec(n))?`en_US_${e[1].toLowerCase()}`:(i==="zh"&&!o&&(r==="hans"?o="CN":r==="hant"&&(o="TW")),i+(o?"_"+o+(n?"_"+n.replace("-","_"):""):""))}return ko},tp={zh_HK:"zh_TW",in:"id"},s2=t=>{if(!t)return ko;if(tp[t])return tp[t];const e=t.lastIndexOf("_");return e>=0?t.slice(0,e):t!==ko?ko:""},ip=new Set,op=new Set,$_=new Map,Tc=new Map,F_=new Map,Qm=(t,e,i)=>{const o=`${t}/${e}`;F_.set(o,i)},rp=(t,e)=>{$_.set(t,e)},l2=t=>$_.get(t),ev=(t,e)=>{const i=`${t}/${e}`;return F_.has(i)},c2=(t,e)=>{const i=`${t}/${e}`,o=F_.get(i);return o&&!Tc.get(i)&&Tc.set(i,o(e)),Tc.get(i)},u2=t=>{ip.has(t)||(console.warn(`[${t}]: Message bundle assets are not configured. Falling back to English texts.`,` Add \`import "${t}/dist/Assets.js"\` in your bundle and make sure your build tool supports dynamic imports and JSON imports. See section "Assets" in the documentation for more information.`),ip.add(t))},np=(t,e)=>e!==Sa&&!ev(t,e),tv=async t=>{const e=Vr().getLanguage(),i=Vr().getRegion(),o=Vr().getVariant();let r=e+(i?`-${i}`:"")+(o?`-${o}`:"");if(np(t,r))for(r=a2(r);np(t,r);)r=s2(r);const n=t2();if(r===Sa&&!n){rp(t,null);return}if(!ev(t,r)){u2(t);return}try{const a=await c2(t,r);rp(t,a)}catch(a){const s=a;op.has(s.message)||(op.add(s.message),console.error(s.message))}};Xm(t=>{const e=[...$_.keys()];return Promise.all(e.map(tv))});const _2=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g,d2=(t,e)=>(e=e||[],t.replace(_2,(i,o,r,n,a)=>{if(o)return"'";if(r)return r.replace(/''/g,"'");if(n){const s=typeof n=="string"?parseInt(n):n;return String(e[s])}throw new Error(`[i18n]: pattern syntax error at pos ${a}`)})),Ic=new Map;let iv=class{constructor(e){this.packageName=e}getText(e,...i){if(typeof e=="string"&&(e={key:e,defaultText:e}),!e||!e.key)return"";const o=l2(this.packageName);o&&!o[e.key]&&console.warn(`Key ${e.key} not found in the i18n bundle, the default text will be used`);const r=o&&o[e.key]?o[e.key]:e.defaultText||e.key;return d2(r,i)}};const h2=t=>{if(Ic.has(t))return Ic.get(t);const e=new iv(t);return Ic.set(t,e),e},Nl=async t=>(await tv(t),h2(t)),p2=new Map,Xs=new Map,Bc=new Map,ap=new Set;let sp=!1;const f2={iw:"he",ji:"yi",in:"id"},lp=t=>{sp||(console.warn(`[LocaleData] Supported locale "${t}" not configured, import the "Assets.js" module from the webcomponents package you are using.`),sp=!0)},g2=(t,e,i)=>{t=t&&f2[t]||t,t==="no"&&(t="nb"),t==="zh"&&!e&&(i==="Hans"?e="CN":i==="Hant"&&(e="TW")),(t==="sh"||t==="sr"&&i==="Latn")&&(t="sr",e="Latn");let o=`${t}_${e}`;return kh.includes(o)?Xs.has(o)?o:(lp(o),ko):(o=t,kh.includes(o)?Xs.has(o)?o:(lp(o),ko):ko)},cp=(t,e)=>{p2.set(t,e)},m2=t=>{if(!Bc.get(t)){const e=Xs.get(t);if(!e)throw new Error(`CLDR data for locale ${t} is not loaded!`);Bc.set(t,e(t))}return Bc.get(t)},ov=async(t,e,i)=>{const o=g2(t,e,i),r=Eo("OpenUI5Support");if(r){const n=r.getLocaleDataObject();if(n){cp(o,n);return}}try{const n=await m2(o);cp(o,n)}catch(n){const a=n;ap.has(a.message)||(ap.add(a.message),console.error(a.message))}},rv=(t,e)=>{Xs.set(t,e)};rv("en",async()=>(console.warn('[LocaleData] Falling back to loading "en" locale data from CDN.','For production usage, please configure locale data loading via the "Assets.js" module of the webcomponents package you are using.'),(await fetch("https://cdn.jsdelivr.net/npm/@openui5/sap.ui.core@1.120.17/src/sap/ui/core/cldr/en.json")).json())),Xm(()=>{const t=Vr();return ov(t.getLanguage(),t.getRegion(),t.getScript())});function Pi(t){return e=>e!==void 0&&t in e&&e[t]===!0}let v2=0;const up=new Map,Ac=new Map,_p={fromAttribute(t,e){if(e===Boolean)return t!==null;if(e===Number)return t===null?void 0:parseFloat(t);if(e===Object||e===Array)try{return JSON.parse(t)}catch{return t}return t},toAttribute(t,e){return e===Boolean?t?"":null:e===Object||e===Array?JSON.stringify(t):t==null?null:String(t)}};function Wn(t){this._suppressInvalidation||this.constructor.getMetadata().isLanguageAware()&&QC()||(this.onInvalidation(t),this._changedState.push(t),Yg(this),this._invalidationEventProvider.fireEvent("invalidate",{...t,target:this}))}function b2(t,e){do{const i=Object.getOwnPropertyDescriptor(t,e);if(i)return i;t=Object.getPrototypeOf(t)}while(t&&t!==HTMLElement.prototype)}var So;let Ke=(So=class extends HTMLElement{constructor(){super(),this.__shouldHydrate=!1,this._rendered=!1;const e=this.constructor;this._changedState=[],this._suppressInvalidation=!0,this._inDOM=!1,this._fullyConnected=!1,this._childChangeListeners=new Map,this._slotChangeListeners=new Map,this._invalidationEventProvider=new Ji,this._componentStateFinalizedEventProvider=new Ji;let i;this._domRefReadyPromise=new Promise(o=>{i=o}),this._domRefReadyPromise._deferredResolve=i,this._doNotSyncAttributes=new Set,this._slotsAssignedNodes=new WeakMap,this._state={...e.getMetadata().getInitialState()},this.initializedProperties=new Map,this.constructor.getMetadata().getPropertiesList().forEach(o=>{if(this.hasOwnProperty(o)){const r=this[o];this.initializedProperties.set(o,r)}}),this._internals=this.attachInternals(),this._initShadowRoot()}_initShadowRoot(){const e=this.constructor;if(e._needsShadowDOM()){const i={mode:"open"};this.shadowRoot?this.__shouldHydrate=!0:this.attachShadow({...i,...e.getMetadata().getShadowRootOptions()}),e.getMetadata().slotsAreManaged()&&this.shadowRoot.addEventListener("slotchange",this._onShadowRootSlotChange.bind(this))}}_onShadowRootSlotChange(e){var i;((i=e.target)==null?void 0:i.getRootNode())===this.shadowRoot&&this._processChildren()}get _id(){return this.__id||(this.__id=`ui5wc_${++v2}`),this.__id}render(){const e=this.constructor.template;return qm(e,this)}async connectedCallback(){const e=this.constructor;this.setAttribute(e.getMetadata().getPureTag(),""),e.getMetadata().supportsF6FastNavigation()&&!this.hasAttribute("data-sap-ui-fastnavgroup")&&this.setAttribute("data-sap-ui-fastnavgroup","true");const i=e.getMetadata().slotsAreManaged();this._inDOM=!0,i&&(this._startObservingDOMChildren(),await this._processChildren()),e.asyncFinished||await e._definePromise,this._inDOM&&(Jg(this),this._domRefReadyPromise._deferredResolve(),this._fullyConnected=!0,this.onEnterDOM())}get definePromise(){const e=this.constructor;return!e.asyncFinished&&e._definePromise?e._definePromise:Promise.resolve()}disconnectedCallback(){const e=this.constructor.getMetadata().slotsAreManaged();this._inDOM=!1,e&&this._stopObservingDOMChildren(),this._fullyConnected&&(this.onExitDOM(),this._fullyConnected=!1),this._domRefReadyPromise._deferredResolve(),Qy(this)}onBeforeRendering(){}onAfterRendering(){}onEnterDOM(){}onExitDOM(){}_startObservingDOMChildren(){const e=this.constructor.getMetadata();if(!e.hasSlots())return;const i=e.canSlotText(),o={childList:!0,subtree:i,characterData:i};FC(this,this._processChildren.bind(this),o)}_stopObservingDOMChildren(){HC(this)}async _processChildren(){this.constructor.getMetadata().hasSlots()&&await this._updateSlots()}async _updateSlots(){const e=this.constructor,i=e.getMetadata().getSlots(),o=e.getMetadata().canSlotText(),r=Array.from(o?this.childNodes:this.children),n=new Map,a=new Map;for(const[_,d]of Object.entries(i)){const h=d.propertyName||_;a.set(h,_),n.set(h,[...this._state[h]]),this._clearSlot(_,d)}const s=new Map,l=new Map;r.forEach((_,d)=>{const h=Xh(_),g=i[h];if(g===void 0){if(h!=="default"){const C=Object.keys(i).join(", ");console.warn(`Unknown slotName: ${h}, ignoring`,_,`Valid values are: ${C}`)}return}const y=g.propertyName||h;l.has(y)?l.get(y).push({child:_,idx:d}):l.set(y,[{child:_,idx:d}])}),l.forEach((_,d)=>{this._state[d]=_.sort((h,g)=>h.idx-g.idx).map(h=>h.child),this._state[Or(d)]=this._state[d]});const c=r.map(async _=>{const d=Xh(_),h=i[d];if(h!==void 0){if(h.individualSlots){const g=(s.get(d)||0)+1;s.set(d,g),_._individualSlot=`${d}-${g}`}if(_ instanceof HTMLElement){const g=_.localName;if(g.includes("-")&&!$C(g)){if(!customElements.get(g)){const y=customElements.whenDefined(g);let C=up.get(g);C||(C=new Promise(S=>setTimeout(S,1e3)),up.set(g,C)),await Promise.race([y,C])}customElements.upgrade(_)}}if(_=e.getMetadata().constructor.validateSlotValue(_,h),Ci(_)&&h.invalidateOnChildChange){const g=this._getChildChangeListener(d);_.attachInvalidate.call(_,g)}_ instanceof HTMLSlotElement&&this._attachSlotChange(_,d,!!h.invalidateOnChildChange)}});await Promise.all(c);let u=!1;for(const[_,d]of Object.entries(i)){const h=d.propertyName||_;Zs(n.get(h),this._state[h])||(Wn.call(this,{type:"slot",name:a.get(h),reason:"children"}),u=!0,e.getMetadata().isFormAssociated()&&yu(this))}u||Wn.call(this,{type:"slot",name:"default",reason:"textcontent"})}_clearSlot(e,i){const o=i.propertyName||e;this._state[o].forEach(r=>{if(Ci(r)){const n=this._getChildChangeListener(e);r.detachInvalidate.call(r,n)}r instanceof HTMLSlotElement&&this._detachSlotChange(r,e)}),this._state[o]=[],this._state[Or(o)]=this._state[o]}attachInvalidate(e){this._invalidationEventProvider.attachEvent("invalidate",e)}detachInvalidate(e){this._invalidationEventProvider.detachEvent("invalidate",e)}_onChildChange(e,i){this.constructor.getMetadata().shouldInvalidateOnChildChange(e,i.type,i.name)&&Wn.call(this,{type:"slot",name:e,reason:"childchange",child:i.target})}attributeChangedCallback(e,i,o){let r;if(this._doNotSyncAttributes.has(e))return;const n=this.constructor.getMetadata().getProperties(),a=e.replace(/^ui5-/,""),s=Or(a);if(n.hasOwnProperty(s)){const l=n[s];r=(l.converter??_p).fromAttribute(o,l.type),this[s]=r}}formAssociatedCallback(){this.constructor.getMetadata().isFormAssociated()&&KC(this)}static get formAssociated(){return this.getMetadata().isFormAssociated()}_updateAttribute(e,i){const o=this.constructor;if(!o.getMetadata().hasAttribute(e))return;const r=o.getMetadata().getProperties()[e],n=Hm(e),a=(r.converter||_p).toAttribute(i,r.type);this._doNotSyncAttributes.add(n),a==null?this.removeAttribute(n):this.setAttribute(n,a),this._doNotSyncAttributes.delete(n)}_getChildChangeListener(e){return this._childChangeListeners.has(e)||this._childChangeListeners.set(e,this._onChildChange.bind(this,e)),this._childChangeListeners.get(e)}_getSlotChangeListener(e){return this._slotChangeListeners.has(e)||this._slotChangeListeners.set(e,this._onSlotChange.bind(this,e)),this._slotChangeListeners.get(e)}_attachSlotChange(e,i,o){const r=this._getSlotChangeListener(i);e.addEventListener("slotchange",n=>{if(r.call(e,n),o){const a=this._slotsAssignedNodes.get(e);a&&a.forEach(l=>{if(Ci(l)){const c=this._getChildChangeListener(i);l.detachInvalidate.call(l,c)}});const s=Yh([e]);this._slotsAssignedNodes.set(e,s),s.forEach(l=>{if(Ci(l)){const c=this._getChildChangeListener(i);l.attachInvalidate.call(l,c)}})}})}_detachSlotChange(e,i){e.removeEventListener("slotchange",this._getSlotChangeListener(i))}_onSlotChange(e){Wn.call(this,{type:"slot",name:e,reason:"slotchange"})}onInvalidation(e){}updateAttributes(){const e=this.constructor.getMetadata().getProperties();for(const[i,o]of Object.entries(e))this._updateAttribute(i,this[i])}_render(){const e=this.constructor,i=e.getMetadata().hasIndividualSlots();this.initializedProperties.size>0&&(Array.from(this.initializedProperties.entries()).forEach(([o,r])=>{delete this[o],this[o]=r}),this.initializedProperties.clear()),this._suppressInvalidation=!0;try{this.onBeforeRendering(),this._rendered||this.updateAttributes(),this._componentStateFinalizedEventProvider.fireEvent("componentStateFinalized")}finally{this._suppressInvalidation=!1}this._changedState=[],e._needsShadowDOM()&&NC(this),this._rendered=!0,i&&this._assignIndividualSlotsToChildren(),this.onAfterRendering()}_assignIndividualSlotsToChildren(){Array.from(this.children).forEach(e=>{e._individualSlot&&e.setAttribute("slot",e._individualSlot)})}_waitForDomRef(){return this._domRefReadyPromise}getDomRef(){if(typeof this._getRealDomRef=="function")return this._getRealDomRef();if(!(!this.shadowRoot||this.shadowRoot.children.length===0))return this.shadowRoot.children[0]}getFocusDomRef(){const e=this.getDomRef();if(e)return e.querySelector("[data-sap-focus-ref]")||e}async getFocusDomRefAsync(){return await this._waitForDomRef(),this.getFocusDomRef()}async focus(e){await this._waitForDomRef();const i=this.getFocusDomRef();i===this||!this.isConnected?HTMLElement.prototype.focus.call(this,e):i&&typeof i.focus=="function"&&i.focus(e)}fireEvent(e,i,o=!1,r=!0){const n=this._fireEvent(e,i,o,r),a=Zh(e);return a!==e?n&&this._fireEvent(a,i,o,r):n}fireDecoratorEvent(e,i){const o=this.getEventData(e),r=o?o.cancelable:!1,n=o?o.bubbles:!1,a=this._fireEvent(e,i,r,n),s=Zh(e);return s!==e?a&&this._fireEvent(s,i,r,n):a}_fireEvent(e,i,o=!1,r=!0){const n=new CustomEvent(`ui5-${e}`,{detail:i,composed:!1,bubbles:r,cancelable:o}),a=this.dispatchEvent(n);if(GC(e))return a;const s=new CustomEvent(e,{detail:i,composed:!1,bubbles:r,cancelable:o});return this.dispatchEvent(s)&&a}getEventData(e){return this.constructor.getMetadata().getEvents()[e]}getSlottedNodes(e){return Yh(this[e])}attachComponentStateFinalized(e){this._componentStateFinalizedEventProvider.attachEvent("componentStateFinalized",e)}detachComponentStateFinalized(e){this._componentStateFinalizedEventProvider.detachEvent("componentStateFinalized",e)}get effectiveDir(){return Xy(this.constructor),jC(this)}get isUI5Element(){return!0}get isUI5AbstractElement(){return!this.constructor._needsShadowDOM()}get classes(){return{}}get accessibilityInfo(){}static get observedAttributes(){return this.getMetadata().getAttributesList()}static get tagsToScope(){const e=this.getMetadata().getPureTag(),i=this.getUniqueDependencies().map(o=>o.getMetadata().getPureTag()).filter(su);return su(e)&&i.push(e),i}static _needsShadowDOM(){return!!this.template||Object.prototype.hasOwnProperty.call(this.prototype,"render")}static _generateAccessors(){const e=this.prototype,i=this.getMetadata().slotsAreManaged(),o=this.getMetadata().getProperties();for(const[r,n]of Object.entries(o)){Qh(r)||console.warn(`"${r}" is not a valid property name. Use a name that does not collide with DOM APIs`);const a=b2(e,r);let s;a!=null&&a.set&&(s=a.set);let l;a!=null&&a.get&&(l=a.get),Object.defineProperty(e,r,{get(){return l?l.call(this):this._state[r]},set(c){const u=this.constructor,_=l?l.call(this):this._state[r];if(_!==c){if(s?s.call(this,c):this._state[r]=c,Wn.call(this,{type:"property",name:r,newValue:c,oldValue:_}),this._rendered){const d=l?l.call(this):this._state[r];this._updateAttribute(r,d)}u.getMetadata().isFormAssociated()&&yu(this)}}})}if(i){const r=this.getMetadata().getSlots();for(const[n,a]of Object.entries(r)){Qh(n)||console.warn(`"${n}" is not a valid property name. Use a name that does not collide with DOM APIs`);const s=a.propertyName||n,l={get(){return this._state[s]!==void 0?this._state[s]:[]},set(){throw new Error("Cannot set slot content directly, use the DOM APIs (appendChild, removeChild, etc...)")}};Object.defineProperty(e,s,l),s!==Or(s)&&Object.defineProperty(e,Or(s),l)}}}static get dependencies(){return[]}static cacheUniqueDependencies(){const e=this.dependencies.filter((i,o,r)=>r.indexOf(i)===o);Ac.set(this,e)}static getUniqueDependencies(){return Ac.has(this)||this.cacheUniqueDependencies(),Ac.get(this)||[]}static async onDefine(){return Promise.resolve()}static fetchI18nBundles(){return Promise.all(Object.entries(this.getMetadata().getI18n()).map(e=>{const{bundleName:i}=e[1];return Nl(i)}))}static fetchCLDR(){return this.getMetadata().needsCLDR()?ov(Vr().getLanguage(),Vr().getRegion(),Vr().getScript()):Promise.resolve()}static get i18nBundles(){return this.i18nBundleStorage}static define(){const e=async()=>{await Zw();const n=await Promise.all([this.fetchI18nBundles(),this.fetchCLDR(),this.onDefine()]),[a]=n;Object.entries(this.getMetadata().getI18n()).forEach((s,l)=>{const c=s[1].bundleName;this.i18nBundleStorage[c]=a[l]}),this.asyncFinished=!0};this._definePromise=e();const i=this.getMetadata().getTag(),o=Wy(i),r=customElements.get(i);return r&&!o?Ky(i):r||(this._generateAccessors(),jy(i),customElements.define(i,this)),this}static getMetadata(){if(this.hasOwnProperty("_metadata"))return this._metadata;const e=[this.metadata];let i=this;for(;i!==So;)i=Object.getPrototypeOf(i),e.unshift(i.metadata);const o=T_({},...e);return this._metadata=new AC(o),this._metadata}get validity(){return this._internals.validity}get validationMessage(){return this._internals.validationMessage}checkValidity(){return this._internals.checkValidity()}reportValidity(){return this._internals.reportValidity()}},So.metadata={},So.styles="",So.i18nBundleStorage={},So);const Ci=Pi("isUI5Element"),Sn=t=>{if(t.nodeName==="SLOT")return!1;const e=window.getComputedStyle(t);return e.display!=="contents"&&t.offsetWidth<=0&&t.offsetHeight<=0||e.visibility==="hidden"},y2=/^(?:a|area)$/i,w2=/^(?:input|select|textarea|button)$/i,C2=t=>{if(t.disabled)return!1;const e=t.getAttribute("tabindex");return e!=null?parseInt(e)>=0:w2.test(t.nodeName)||y2.test(t.nodeName)&&!!t.href},x2=t=>t.hasAttribute("data-ui5-focus-trap"),S2=t=>{const e=getComputedStyle(t);return t.scrollHeight>t.clientHeight&&["scroll","auto"].indexOf(e.overflowY)>=0||t.scrollWidth>t.clientWidth&&["scroll","auto"].indexOf(e.overflowX)>=0},xu=async(t,e)=>!t||Sn(t)?null:H_(t,!0),k2=async(t,e)=>!t||Sn(t)?null:H_(t,!1),T2=t=>t.hasAttribute("data-ui5-focus-redirect")||!Sn(t),I2=t=>{if(Ci(t)){const e=t.getAttribute("tabindex");if(e!==null&&parseInt(e)<0)return!0}return!1},H_=async(t,e,i)=>{let o,r,n=-1;t.shadowRoot?o=e?t.shadowRoot.firstElementChild:t.shadowRoot.lastElementChild:t instanceof HTMLSlotElement&&t.assignedNodes()?(r=t.assignedElements(),n=e?0:r.length-1,o=r[n]):o=e?t.firstElementChild:t.lastElementChild;let a;for(;o;){const s=o;if(!Sn(s)&&!I2(s)){if(Ci(o)&&(await o._waitForDomRef(),o=o.getDomRef()),!o||Sn(o))return null;if(o.nodeType===1&&T2(o)&&!x2(o)){if(C2(o)||(a=await H_(o,e),!R_()&&!a&&S2(o)))return o&&typeof o.focus=="function"?o:null;if(a)return a&&typeof a.focus=="function"?a:null}}o=e?s.nextElementSibling:s.previousElementSibling,r&&!r[n].contains(o)&&(n=e?n+1:n-1,o=r[n])}return null},Ys=new WeakMap,Ra=new WeakMap,B2={attributes:!0,childList:!0,characterData:!0,subtree:!0},Ga=t=>{const e=t;return e.accessibleNameRef?Ml(t):e.accessibleName?e.accessibleName:void 0},Ml=t=>{var o;const e=((o=t.accessibleNameRef)==null?void 0:o.split(" "))??[];let i="";return e.forEach((r,n)=>{const a=U_(t,r),s=`${a&&a.textContent?a.textContent:""}`;s&&(i+=s,n{const e=new Set;av(t).forEach(n=>{e.add(n)});const i=t.accessibleNameRef,o=t.accessibleDescriptionRef,r=[i,o].filter(Boolean).join(" ");return(r?r.split(" "):[]).forEach(n=>{const a=U_(t,n);a&&e.add(a)}),Array.from(e)},av=t=>{const e=t.getRootNode().querySelectorAll(`[for="${t.id}"]`);return Array.from(e)},U_=(t,e)=>t.getRootNode().querySelector(`[id='${e}']`)||document.getElementById(e),sv=t=>{const e=[];if(av(t).forEach(i=>{const o=i.textContent;o&&e.push(o)}),e.length)return e.join(" ")},A2=t=>e=>{const i=e&&e.type==="property"&&e.name==="accessibleNameRef",o=e&&e.type==="property"&&e.name==="accessibleDescriptionRef";if(!i&&!o)return;const r=Ra.get(t);if(!r)return;const n=r.observedElements,a=nv(t);n.forEach(s=>{a.includes(s)||V_(r,s)}),a.forEach(s=>{n.includes(s)||(lv(r,s),r.observedElements.push(s))}),r==null||r.callback()},$l=(t,e)=>{if(Ra.has(t))return;const i=nv(t),o=A2(t),r={host:t,observedElements:i,callback:e,invalidationCallback:o};Ra.set(t,r),t.attachInvalidate(o),i.forEach(n=>{lv(r,n)}),e()},lv=(t,e)=>{let i=Ys.get(e);if(!i){i={observer:null,callbacks:[]};const o=new MutationObserver(()=>{i.callbacks.forEach(n=>{n()});const r=document.getElementById(e.id);t.host.id===e.getAttribute("for")||r||V_(t,e)});i.observer=o,o.observe(e,B2),Ys.set(e,i)}i.callbacks.includes(t.callback)||i.callbacks.push(t.callback)},V_=(t,e)=>{var o;const i=Ys.get(e);i&&(i.callbacks=i.callbacks.filter(r=>r!==t.callback),i.callbacks.length||((o=i.observer)==null||o.disconnect(),Ys.delete(e))),t.observedElements=t.observedElements.filter(r=>r!==e)},Fl=t=>{const e=Ra.get(t);e&&([...e.observedElements].forEach(i=>{V_(e,i)}),t.detachInvalidate(e.invalidationCallback),Ra.delete(t))},q_=t=>{const e=t;return e.accessibleDescriptionRef?Hl(t):e.accessibleDescription?e.accessibleDescription:void 0},Hl=t=>{var o;const e=((o=t.accessibleDescriptionRef)==null?void 0:o.split(" "))??[];let i="";return e.forEach((r,n)=>{const a=U_(t,r),s=`${a&&a.textContent?a.textContent:""}`;s&&(i+=s,n{let t=document.activeElement;for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t},cv=()=>{const t=ki();return t&&typeof t.focus=="function"?t:null},E2=t=>{const e=cv();return e?uv(t,e):!1},uv=(t,e)=>{let i=t;if(i.shadowRoot&&(i=Array.from(i.shadowRoot.children).find(r=>r.localName!=="style"),!i))return!1;if(i===e)return!0;const o=i.localName==="slot"?i.assignedNodes():i.children;return o?Array.from(o).some(r=>uv(r,e)):!1},R2=(t,e,i)=>t>=i.left&&t<=i.right&&e>=i.top&&e<=i.bottom,L2=(t,e)=>{let i,o;if(t instanceof MouseEvent)i=t.clientX,o=t.clientY;else{const r=t.touches[0];i=r.clientX,o=r.clientY}return R2(i,o,e)};function P2(t){return"isUI5Element"in t&&"_show"in t}const _v=t=>{const e=t.parentElement||t.getRootNode&&t.getRootNode().host;return e&&(P2(e)||e===document.documentElement)?e:_v(e)};let Ec;const dn=new Map,dv=()=>(Ec||(Ec=new window.ResizeObserver(t=>{window.requestAnimationFrame(()=>{t.forEach(e=>{const i=dn.get(e.target);i&&Promise.all(i.map(o=>o()))})})})),Ec),O2=(t,e)=>{const i=dn.get(t)||[];i.length||dv().observe(t),dn.set(t,[...i,e])},D2=(t,e)=>{const i=dn.get(t)||[];if(i.length===0)return;const o=i.filter(r=>r!==e);o.length===0?(dv().unobserve(t),dn.delete(t)):dn.set(t,o)};let Qt=class{static register(e,i){let o=e;Ci(o)&&(o=o.getDomRef()),o instanceof HTMLElement?O2(o,i):console.warn("Cannot register ResizeHandler for element",e)}static deregister(e,i){let o=e;Ci(o)&&(o=o.getDomRef()),o instanceof HTMLElement?D2(o,i):console.warn("Cannot deregister ResizeHandler for element",e)}};const Su=new Map,ta=new Map;ta.set("S",[0,599]),ta.set("M",[600,1023]),ta.set("L",[1024,1439]),ta.set("XL",[1440,1/0]);var hv=(t=>(t.RANGE_4STEPS="4Step",t))(hv||{});const z2=(t,e)=>{Su.set(t,e)},N2=(t,e=window.innerWidth)=>{let i=Su.get(t);i||(i=Su.get("4Step"));let o;const r=Math.floor(e);return i.forEach((n,a)=>{r>=n[0]&&r<=n[1]&&(o=a)}),o||[...i.keys()][0]},kn={RANGESETS:hv,initRangeSet:z2,getCurrentRange:N2};kn.initRangeSet(kn.RANGESETS.RANGE_4STEPS,ta);var La;function M2(t){return t.children}La={__e:function(t,e,i,o){for(var r,n,a;e=e.__;)if((r=e.__c)&&!r.__)try{if((n=r.constructor)&&n.getDerivedStateFromError!=null&&(r.setState(n.getDerivedStateFromError(t)),a=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(t,o||{}),a=r.__d),a)return r.__E=r}catch(s){t=s}throw t}},typeof Promise=="function"&&Promise.prototype.then.bind(Promise.resolve());var $2=0;function pv(t,e,i,o,r,n){e||(e={});var a,s,l=e;"ref"in e&&(a=e.ref,delete e.ref);var c={type:t,props:l,key:i,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--$2,__i:-1,__u:0,__source:r,__self:n};if(typeof t=="function"&&(a=t.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return La.vnode&&La.vnode(c),c}function F2(t){let e="";for(const i in t)t[i]&&(e&&(e+=" "),e+=i);return e}const Rc=new Map,H2=t=>{if(!Rc.has(t)){const e=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();Rc.set(t,e)}return Rc.get(t)},U2=t=>H2(t);function V2(t,e,i){const o=t.getMetadata().getEvents();Object.keys(e).forEach(r=>{if(r.startsWith("on")){const n=r.slice(2),a=U2(n),s=n.charAt(0).toLowerCase()+n.slice(1);let l;a in o?l=a:s in o&&(l=s),l&&r!=="onClick"&&(e[`onui5-${l}`]=e[r],delete e[r])}})}function q2(t){return typeof t=="function"&&"getMetadata"in t}function fv(t,e,i){let o;return q2(t)?(o=t.getMetadata().getTag(),V2(t,e)):o=t,typeof e.class=="object"&&(e.class=F2(e.class)),o}const dp=La.vnode;La.vnode=t=>{const e=t.props;e!==null&&typeof e=="object"&&e.class&&e.class,dp&&dp(t)};function de(t,e){return M2(t)}function f(t,e,i){const o=fv(t,e);return pv(o,e,i)}function z(t,e,i){const o=fv(t,e);return pv(o,e,i)}function G2(){return f("div",{class:"ui5-block-layer",onKeyDown:this._preventBlockLayerFocus,onMouseDown:this._preventBlockLayerFocus})}function G_(t){return z(de,{children:[G2.call(this),z("section",{"root-element":!0,style:this.styles.root,class:this.classes.root,role:this._role,"aria-describedby":this.ariaDescribedByIds,"aria-modal":this._ariaModal,"aria-label":this._ariaLabel,"aria-labelledby":this._ariaLabelledBy,onKeyDown:this._onkeydown,onFocusOut:this._onfocusout,onMouseUp:this._onmouseup,onMouseDown:this._onmousedown,children:[f("span",{class:"first-fe","data-ui5-focus-trap":!0,role:"none",tabIndex:0,onFocusIn:this.forwardToLast}),((t==null?void 0:t.beforeContent)||j2).call(this),f("div",{style:this.styles.content,class:this.classes.content,onScroll:this._scroll,part:"content",children:f("slot",{})}),this.ariaDescriptionText&&f("span",{id:"accessibleDescription",class:"ui5-hidden-text",children:this.ariaDescriptionText}),((t==null?void 0:t.afterContent)||W2).call(this),f("span",{class:"last-fe","data-ui5-focus-trap":!0,role:"none",tabIndex:0,onFocusIn:this.forwardToFirst})]})]})}function j2(){}function W2(){}var ku;(function(t){t.None="None",t.Dialog="Dialog",t.AlertDialog="AlertDialog"})(ku||(ku={}));const Js=ku,K2="handledByControl",Z2=(t,e=K2)=>!!t[`_sapui_${e}`],pi=Mo("OpenedPopupsRegistry",{openedRegistry:[]}),ar=Eo("OpenUI5Support");function X2(t){ar==null||ar.addOpenedPopup(t)}function Y2(t){ar==null||ar.removeOpenedPopup(t)}const gv=(t,e=[])=>{pi.openedRegistry.some(i=>i.instance===t)||(pi.openedRegistry.push({instance:t,parentPopovers:e}),X2({type:"WebComponent",instance:t})),bv(),pi.openedRegistry.length===1&&Q2()},mv=t=>{pi.openedRegistry=pi.openedRegistry.filter(e=>e.instance!==t),Y2(t),bv(),pi.openedRegistry.length||ex()},J2=()=>[...pi.openedRegistry],vv=t=>{if(pi.openedRegistry.length&&Ro(t)&&!Z2(t)){const e=pi.openedRegistry[pi.openedRegistry.length-1].instance;if(ar&&e!==ar.getTopmostPopup())return;t.stopImmediatePropagation(),e.closePopup(!0)}},Q2=()=>{document.addEventListener("keydown",vv)},ex=()=>{document.removeEventListener("keydown",vv)},bv=()=>{let t,e=!1;for(let i=pi.openedRegistry.length-1;i>=0;i--)t=pi.openedRegistry[i].instance,!e&&t.isModal?(t.isTopModalPopup=!0,e=!0):t.isTopModalPopup=!1},ne=`:root {--sapThemeMetaData-Base-baseLib:{"Path": "Base.baseLib.sap_horizon.css_variables","PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css","Extends": ["baseTheme"],"Tags": ["Fiori_3","LightColorScheme"],"FallbackThemeId": "sap_fiori_3","Engine":{"Name": "theming-engine","Version": "17.0.8"},"Version":{"Build": "11.35.0.20260401080514","Source": "11.35.0"}};--sapBrandColor: #0070f2;--sapHighlightColor: #0064d9;--sapBaseColor: #fff;--sapShellColor: #fff;--sapBackgroundColor: #f5f6f7;--sapFontFamily: "72", "72full", Arial, Helvetica, sans-serif;--sapFontSize: .875rem;--sapTextColor: #131e29;--sapLinkColor: #0064d9;--sapCompanyLogo: none;--sapFavicon: none;--sapBackgroundImage: none;--sapBackgroundImageOpacity: 1;--sapBackgroundImageRepeat: false;--sapSelectedColor: #0064d9;--sapHoverColor: #eaecee;--sapActiveColor: #dee2e5;--sapTitleColor: #131e29;--sapNegativeColor: #aa0808;--sapCriticalColor: #e76500;--sapPositiveColor: #256f3a;--sapInformativeColor: #0070f2;--sapNeutralColor: #788fa6;--sapNegativeElementColor: #f53232;--sapCriticalElementColor: #e76500;--sapPositiveElementColor: #30914c;--sapInformativeElementColor: #0070f2;--sapNeutralElementColor: #788fa6;--sapNegativeTextColor: #aa0808;--sapCriticalTextColor: #b44f00;--sapPositiveTextColor: #256f3a;--sapInformativeTextColor: #0064d9;--sapNeutralTextColor: #131e29;--sapErrorColor: #aa0808;--sapWarningColor: #e76500;--sapSuccessColor: #256f3a;--sapInformationColor: #0070f2;--sapErrorBackground: #ffeaf4;--sapWarningBackground: #fff8d6;--sapSuccessBackground: #f5fae5;--sapInformationBackground: #e1f4ff;--sapNeutralBackground: #eff1f2;--sapErrorBorderColor: #e90b0b;--sapWarningBorderColor: #dd6100;--sapSuccessBorderColor: #30914c;--sapInformationBorderColor: #0070f2;--sapNeutralBorderColor: #788fa6;--sapElement_LineHeight: 2.75rem;--sapElement_Height: 2.25rem;--sapElement_BorderWidth: .0625rem;--sapElement_BorderCornerRadius: .75rem;--sapElement_Compact_LineHeight: 2rem;--sapElement_Compact_Height: 1.625rem;--sapElement_Condensed_LineHeight: 1.5rem;--sapElement_Condensed_Height: 1.375rem;--sapContent_LineHeight: 1.5;--sapContent_IconHeight: 1rem;--sapContent_IconColor: #131e29;--sapContent_ContrastIconColor: #fff;--sapContent_NonInteractiveIconColor: #758ca4;--sapContent_MarkerIconColor: #5d36ff;--sapContent_MarkerTextColor: #046c7a;--sapContent_MeasureIndicatorColor: #556b81;--sapContent_Selected_MeasureIndicatorColor: #0064d9;--sapContent_Placeholderloading_Background: #ccc;--sapContent_Placeholderloading_Gradient: linear-gradient(to right, #ccc 0%, #ccc 20%, #999 50%, #ccc 80%, #ccc 100%);--sapContent_ImagePlaceholderBackground: #eaecee;--sapContent_ImagePlaceholderForegroundColor: #556b82;--sapContent_RatedColor: #d27700;--sapContent_UnratedColor: #758ca4;--sapContent_BusyColor: #0064d9;--sapContent_FocusColor: #0032a5;--sapContent_FocusStyle: solid;--sapContent_FocusWidth: .125rem;--sapContent_ContrastFocusColor: #fff;--sapContent_ShadowColor: #223548;--sapContent_ContrastShadowColor: #fff;--sapContent_Shadow0: 0 0 .125rem 0 rgba(34,53,72,.2), 0 .125rem .25rem 0 rgba(34,53,72,.2);--sapContent_Shadow1: 0 0 0 .0625rem rgba(34,53,72,.48), 0 .125rem .5rem 0 rgba(34,53,72,.3);--sapContent_Shadow2: 0 0 0 .0625rem rgba(34,53,72,.48), 0 .625rem 1.875rem 0 rgba(34,53,72,.25);--sapContent_Shadow3: 0 0 0 .0625rem rgba(34,53,72,.48), 0 1.25rem 5rem 0 rgba(34,53,72,.25);--sapContent_TextShadow: 0 0 .125rem #fff;--sapContent_ContrastTextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapContent_HeaderShadow: 0 .125rem .125rem 0 rgba(34,53,72,.05), inset 0 -.0625rem 0 0 #d9d9d9;--sapContent_Interaction_Shadow: inset 0 0 0 .0625rem rgba(85,107,129,.25);--sapContent_Selected_Shadow: inset 0 0 0 .0625rem rgba(79,160,255,.5);--sapContent_Negative_Shadow: inset 0 0 0 .0625rem rgba(255,142,196,.45);--sapContent_Critical_Shadow: inset 0 0 0 .0625rem rgba(255,213,10,.4);--sapContent_Positive_Shadow: inset 0 0 0 .0625rem rgba(48,145,76,.18);--sapContent_Informative_Shadow: inset 0 0 0 .0625rem rgba(104,174,255,.5);--sapContent_Neutral_Shadow: inset 0 0 0 .0625rem rgba(120,143,166,.3);--sapContent_SearchHighlightColor: #dafdf5;--sapContent_HelpColor: #188918;--sapContent_LabelColor: #556b82;--sapContent_MonospaceFontFamily: "72Mono", "72Monofull", lucida console, monospace;--sapContent_MonospaceBoldFontFamily: "72Mono-Bold", "72Mono-Boldfull", lucida console, monospace;--sapContent_IconFontFamily: "SAP-icons";--sapContent_DisabledTextColor: rgba(19,30,41,.6);--sapContent_DisabledOpacity: .4;--sapContent_ContrastTextThreshold: .65;--sapContent_ContrastTextColor: #fff;--sapContent_ForegroundColor: #efefef;--sapContent_ForegroundBorderColor: #758ca4;--sapContent_ForegroundTextColor: #131e29;--sapContent_BadgeBackground: #aa0808;--sapContent_BadgeTextColor: #fff;--sapContent_BadgeBorderColor: #fff;--sapContent_DragAndDropActiveColor: #0064d9;--sapContent_Selected_TextColor: #0064d9;--sapContent_Selected_Background: #fff;--sapContent_Selected_Hover_Background: #e3f0ff;--sapContent_Selected_ForegroundColor: #0064d9;--sapContent_ForcedColorAdjust: none;--sapContent_Lite_Shadow: none;--sapContent_Illustrative_Color1: #9b015d;--sapContent_Illustrative_Color2: #56bdff;--sapContent_Illustrative_Color3: #ff7f4c;--sapContent_Illustrative_Color4: #00144a;--sapContent_Illustrative_Color5: #a9b4be;--sapContent_Illustrative_Color6: #d5dadd;--sapContent_Illustrative_Color7: #dbf1ff;--sapContent_Illustrative_Color8: #fff;--sapContent_Illustrative_Color9: #0899a7;--sapContent_Illustrative_Color10: #dbf1ff;--sapContent_Illustrative_Color11: #df1278;--sapContent_Illustrative_Color12: #00a800;--sapContent_Illustrative_Color13: #0070f2;--sapContent_Illustrative_Color14: #0040b0;--sapContent_Illustrative_Color15: #c35500;--sapContent_Illustrative_Color16: #8d2a00;--sapContent_Illustrative_Color17: #046c7c;--sapContent_Illustrative_Color18: #bce5ff;--sapContent_Illustrative_Color19: #a3dbff;--sapContent_Illustrative_Color20: #89d1ff;--sapContent_Illustrative_Color21: #1b90ff;--sapContent_Illustrative_Color22: #00144a;--sapContent_Illustrative_Color23: #d20a0a;--sapContent_Illustrative_Color24: #ffb2d2;--sapContent_Illustrative_Color25: #ffeaf4;--sapContent_Illustrative_Color26: #ffdf72;--sapContent_Illustrative_Color27: #fff8d6;--sapContent_Illustrative_Color28: #a93e00;--sapContent_Illustrative_Color29: #450b00;--sapContent_Illustrative_Color30: #340800;--sapContent_Illustrative_Color31: #ffab92;--sapContent_Space_S: 1rem;--sapContent_Space_M: 2rem;--sapContent_Space_L: 2rem;--sapContent_Space_XL: 3rem;--sapContent_Space_Tiny: .5rem;--sapContent_Space_Small: 1rem;--sapContent_Space_Medium: 2rem;--sapContent_Space_Large: 3rem;--sapContent_Margin_Tiny: 0 0 1rem;--sapContent_Margin_Small: 1rem;--sapContent_Margin_Medium: 1rem 2rem;--sapContent_Margin_Large: 1rem 3rem;--sapContent_Margin_S: 0 0 1rem;--sapContent_Margin_M: 1rem;--sapContent_Margin_L: 1rem 2rem;--sapContent_Margin_XL: 1rem 3rem;--sapContent_Padding_S: 0rem;--sapContent_Padding_M: 2rem;--sapContent_Padding_L: 2rem;--sapContent_Padding_XL: 3rem;--sapContent_Gap: 1rem;--sapContent_Success_HeaderShadow: 0 .125rem .125rem 0 rgba(34,53,72,.05), inset 0 -.0625rem 0 0 #30914c;--sapContent_Warning_HeaderShadow: 0 .125rem .125rem 0 rgba(34,53,72,.05), inset 0 -.0625rem 0 0 #dd6100;--sapContent_Error_HeaderShadow: 0 .125rem .125rem 0 rgba(34,53,72,.05), inset 0 -.0625rem 0 0 #e90b0b;--sapContent_Information_HeaderShadow: 0 .125rem .125rem 0 rgba(34,53,72,.05), inset 0 -.0625rem 0 0 #0070f2;--sapFontLightFamily: "72-Light", "72-Lightfull", "72", "72full", Arial, Helvetica, sans-serif;--sapFontBoldFamily: "72-Bold", "72-Boldfull", "72", "72full", Arial, Helvetica, sans-serif;--sapFontSemiboldFamily: "72-Semibold", "72-Semiboldfull", "72", "72full", Arial, Helvetica, sans-serif;--sapFontSemiboldDuplexFamily: "72-SemiboldDuplex", "72-SemiboldDuplexfull", "72", "72full", Arial, Helvetica, sans-serif;--sapFontBlackFamily: "72Black", "72Blackfull","72", "72full", Arial, Helvetica, sans-serif;--sapFontHeaderFamily: "72-Bold", "72-Boldfull", "72", "72full", Arial, Helvetica, sans-serif;--sapFontSmallSize: .75rem;--sapFontLargeSize: 1rem;--sapFontHeader1Size: 3rem;--sapFontHeader2Size: 2rem;--sapFontHeader3Size: 1.5rem;--sapFontHeader4Size: 1.25rem;--sapFontHeader5Size: 1rem;--sapFontHeader6Size: .875rem;--sapLink_TextDecoration: none;--sapLink_Hover_Color: #0064d9;--sapLink_Hover_TextDecoration: underline;--sapLink_Active_Color: #0064d9;--sapLink_Active_TextDecoration: none;--sapLink_Visited_Color: #0064d9;--sapLink_InvertedColor: #a6cfff;--sapLink_SubtleColor: #131e29;--sapShell_Background: #eff1f2;--sapShell_BackgroundImage: linear-gradient(to bottom, #eff1f2, #eff1f2);--sapShell_BackgroundImageOpacity: 1;--sapShell_BackgroundImageRepeat: false;--sapShell_BorderColor: #d9d9d9;--sapShell_TextColor: #131e29;--sapShell_InteractiveBackground: #eff1f2;--sapShell_InteractiveTextColor: #131e29;--sapShell_InteractiveBorderColor: #556b81;--sapShell_GroupTitleTextColor: #131e29;--sapShell_GroupTitleTextShadow: 0 0 .125rem #fff;--sapShell_Hover_Background: #fff;--sapShell_Active_Background: #fff;--sapShell_Active_TextColor: #0070f2;--sapShell_Selected_Background: #fff;--sapShell_Selected_TextColor: #0070f2;--sapShell_Selected_Hover_Background: #fff;--sapShell_Favicon: none;--sapShell_Navigation_Background: #fff;--sapShell_Navigation_Hover_Background: #fff;--sapShell_Navigation_SelectedColor: #0064d9;--sapShell_Navigation_Selected_TextColor: #0064d9;--sapShell_Navigation_TextColor: #131e29;--sapShell_Navigation_Active_TextColor: #0064d9;--sapShell_Navigation_Active_Background: #fff;--sapShell_Shadow: 0 .125rem .125rem 0 rgba(34,53,72,.15), inset 0 -.0625rem 0 0 rgba(34,53,72,.2);--sapShell_NegativeColor: #aa0808;--sapShell_CriticalColor: #b44f00;--sapShell_PositiveColor: #256f3a;--sapShell_InformativeColor: #0064d9;--sapShell_NeutralColor: #131e29;--sapShell_Assistant_ForegroundColor: #5d36ff;--sapShell_SubBrand_TextColor: #003e87;--sapShell_HeroBanner_Background: #0070f2;--sapShell_HeroBanner_BackgroundImage: linear-gradient(135deg, #0000 45%, #00000073 75%);--sapShell_HeroBanner_TextColor: #fff;--sapShell_Category_1_Background: #0057d2;--sapShell_Category_1_BorderColor: #0057d2;--sapShell_Category_1_TextColor: #fff;--sapShell_Category_1_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_2_Background: #df1278;--sapShell_Category_2_BorderColor: #df1278;--sapShell_Category_2_TextColor: #fff;--sapShell_Category_2_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_3_Background: #e76500;--sapShell_Category_3_BorderColor: #e76500;--sapShell_Category_3_TextColor: #fff;--sapShell_Category_3_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_4_Background: #7800a4;--sapShell_Category_4_BorderColor: #7800a4;--sapShell_Category_4_TextColor: #fff;--sapShell_Category_4_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_5_Background: #aa2608;--sapShell_Category_5_BorderColor: #aa2608;--sapShell_Category_5_TextColor: #fff;--sapShell_Category_5_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_6_Background: #07838f;--sapShell_Category_6_BorderColor: #07838f;--sapShell_Category_6_TextColor: #fff;--sapShell_Category_6_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_7_Background: #f31ded;--sapShell_Category_7_BorderColor: #f31ded;--sapShell_Category_7_TextColor: #fff;--sapShell_Category_7_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_8_Background: #188918;--sapShell_Category_8_BorderColor: #188918;--sapShell_Category_8_TextColor: #fff;--sapShell_Category_8_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_9_Background: #002a86;--sapShell_Category_9_BorderColor: #002a86;--sapShell_Category_9_TextColor: #fff;--sapShell_Category_9_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_10_Background: #5b738b;--sapShell_Category_10_BorderColor: #5b738b;--sapShell_Category_10_TextColor: #fff;--sapShell_Category_10_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_11_Background: #d20a0a;--sapShell_Category_11_BorderColor: #d20a0a;--sapShell_Category_11_TextColor: #fff;--sapShell_Category_11_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_12_Background: #7858ff;--sapShell_Category_12_BorderColor: #7858ff;--sapShell_Category_12_TextColor: #fff;--sapShell_Category_12_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_13_Background: #a00875;--sapShell_Category_13_BorderColor: #a00875;--sapShell_Category_13_TextColor: #fff;--sapShell_Category_13_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_14_Background: #14565b;--sapShell_Category_14_BorderColor: #14565b;--sapShell_Category_14_TextColor: #fff;--sapShell_Category_14_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_15_Background: #223548;--sapShell_Category_15_BorderColor: #223548;--sapShell_Category_15_TextColor: #fff;--sapShell_Category_15_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_16_Background: #1e592f;--sapShell_Category_16_BorderColor: #1e592f;--sapShell_Category_16_TextColor: #fff;--sapShell_Category_16_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Space_S: .5rem;--sapShell_Space_M: 2rem;--sapShell_Space_L: 2rem;--sapShell_Space_XL: 3rem;--sapShell_Gap_S: .5rem;--sapShell_Gap_M: 1rem;--sapShell_Gap_L: 1rem;--sapShell_Gap_XL: 1rem;--sapShell_GroupGap_S: 2rem;--sapShell_GroupGap_M: 3rem;--sapShell_GroupGap_L: 3rem;--sapShell_GroupGap_XL: 3rem;--sapAssistant_Color1: #5d36ff;--sapAssistant_Color2: #a100c2;--sapAssistant_BackgroundGradient: linear-gradient(#5d36ff, #a100c2);--sapAssistant_Background: #5d36ff;--sapAssistant_BorderColor: #5d36ff;--sapAssistant_TextColor: #fff;--sapAssistant_Hover_Background: #2800cf;--sapAssistant_Hover_BorderColor: #2800cf;--sapAssistant_Hover_TextColor: #fff;--sapAssistant_Active_Background: #fff;--sapAssistant_Active_BorderColor: #5d36ff;--sapAssistant_Active_TextColor: #5d36ff;--sapAssistant_Question_Background: #eae5ff;--sapAssistant_Question_BorderColor: #eae5ff;--sapAssistant_Question_TextColor: #131e29;--sapAssistant_Answer_Background: #eff1f2;--sapAssistant_Answer_BorderColor: #eff1f2;--sapAssistant_Answer_TextColor: #131e29;--sapAvatar_1_Background: #fff3b8;--sapAvatar_1_BorderColor: #fff3b8;--sapAvatar_1_TextColor: #a45d00;--sapAvatar_1_Hover_Background: #fff3b8;--sapAvatar_2_Background: #ffd0e7;--sapAvatar_2_BorderColor: #ffd0e7;--sapAvatar_2_TextColor: #aa0808;--sapAvatar_2_Hover_Background: #ffd0e7;--sapAvatar_3_Background: #ffdbe7;--sapAvatar_3_BorderColor: #ffdbe7;--sapAvatar_3_TextColor: #ba066c;--sapAvatar_3_Hover_Background: #ffdbe7;--sapAvatar_4_Background: #ffdcf3;--sapAvatar_4_BorderColor: #ffdcf3;--sapAvatar_4_TextColor: #a100c2;--sapAvatar_4_Hover_Background: #ffdcf3;--sapAvatar_5_Background: #ded3ff;--sapAvatar_5_BorderColor: #ded3ff;--sapAvatar_5_TextColor: #552cff;--sapAvatar_5_Hover_Background: #ded3ff;--sapAvatar_6_Background: #d1efff;--sapAvatar_6_BorderColor: #d1efff;--sapAvatar_6_TextColor: #0057d2;--sapAvatar_6_Hover_Background: #d1efff;--sapAvatar_7_Background: #c2fcee;--sapAvatar_7_BorderColor: #c2fcee;--sapAvatar_7_TextColor: #046c7a;--sapAvatar_7_Hover_Background: #c2fcee;--sapAvatar_8_Background: #ebf5cb;--sapAvatar_8_BorderColor: #ebf5cb;--sapAvatar_8_TextColor: #256f3a;--sapAvatar_8_Hover_Background: #ebf5cb;--sapAvatar_9_Background: #ddccf0;--sapAvatar_9_BorderColor: #ddccf0;--sapAvatar_9_TextColor: #6c32a9;--sapAvatar_9_Hover_Background: #ddccf0;--sapAvatar_10_Background: #eaecee;--sapAvatar_10_BorderColor: #eaecee;--sapAvatar_10_TextColor: #556b82;--sapAvatar_10_Hover_Background: #eaecee;--sapAvatar_Lite_BorderColor: transparent;--sapAvatar_Lite_Background: transparent;--sapAvatar_Hover_BorderColor: rgba(85,107,129,.25);--sapButton_Background: #fff;--sapButton_BorderColor: #bcc3ca;--sapButton_BorderWidth: .0625rem;--sapButton_BorderCornerRadius: .5rem;--sapButton_TextColor: #0064d9;--sapButton_FontFamily: "72-SemiboldDuplex", "72-SemiboldDuplexfull", "72", "72full", Arial, Helvetica, sans-serif;--sapButton_Hover_Background: #eaecee;--sapButton_Hover_BorderColor: #bcc3ca;--sapButton_Hover_TextColor: #0064d9;--sapButton_IconColor: #0064d9;--sapButton_Active_Background: #fff;--sapButton_Active_BorderColor: #0064d9;--sapButton_Active_TextColor: #0064d9;--sapButton_Emphasized_Background: #0070f2;--sapButton_Emphasized_BorderColor: #0070f2;--sapButton_Emphasized_BorderWidth: .0625rem;--sapButton_Emphasized_TextColor: #fff;--sapButton_Emphasized_FontFamily: "72-Bold", "72-Boldfull", "72", "72full", Arial, Helvetica, sans-serif;--sapButton_Emphasized_Hover_Background: #0064d9;--sapButton_Emphasized_Hover_BorderColor: #0064d9;--sapButton_Emphasized_Hover_TextColor: #fff;--sapButton_Emphasized_Active_Background: #fff;--sapButton_Emphasized_Active_BorderColor: #0064d9;--sapButton_Emphasized_Active_TextColor: #0064d9;--sapButton_Emphasized_TextShadow: transparent;--sapButton_Reject_Background: #ffd6e9;--sapButton_Reject_BorderColor: #ffc2de;--sapButton_Reject_TextColor: #aa0808;--sapButton_Reject_Hover_Background: #ffbddb;--sapButton_Reject_Hover_BorderColor: #ffbddb;--sapButton_Reject_Hover_TextColor: #aa0808;--sapButton_Reject_Active_Background: #fff;--sapButton_Reject_Active_BorderColor: #e90b0b;--sapButton_Reject_Active_TextColor: #aa0808;--sapButton_Reject_Selected_Background: #fff;--sapButton_Reject_Selected_BorderColor: #e90b0b;--sapButton_Reject_Selected_TextColor: #aa0808;--sapButton_Reject_Selected_Hover_Background: #ffbddb;--sapButton_Reject_Selected_Hover_BorderColor: #e90b0b;--sapButton_Accept_Background: #ebf5cb;--sapButton_Accept_BorderColor: #dbeda0;--sapButton_Accept_TextColor: #256f3a;--sapButton_Accept_Hover_Background: #e3f1b6;--sapButton_Accept_Hover_BorderColor: #e3f1b6;--sapButton_Accept_Hover_TextColor: #256f3a;--sapButton_Accept_Active_Background: #fff;--sapButton_Accept_Active_BorderColor: #30914c;--sapButton_Accept_Active_TextColor: #256f3a;--sapButton_Accept_Selected_Background: #fff;--sapButton_Accept_Selected_BorderColor: #30914c;--sapButton_Accept_Selected_TextColor: #256f3a;--sapButton_Accept_Selected_Hover_Background: #e3f1b6;--sapButton_Accept_Selected_Hover_BorderColor: #30914c;--sapButton_Lite_Background: transparent;--sapButton_Lite_BorderColor: transparent;--sapButton_Lite_TextColor: #0064d9;--sapButton_Lite_Hover_Background: #eaecee;--sapButton_Lite_Hover_BorderColor: #bcc3ca;--sapButton_Lite_Hover_TextColor: #0064d9;--sapButton_Lite_Active_Background: #fff;--sapButton_Lite_Active_BorderColor: #0064d9;--sapButton_Selected_Background: #edf6ff;--sapButton_Selected_BorderColor: #0064d9;--sapButton_Selected_TextColor: #0064d9;--sapButton_Selected_Hover_Background: #d9ecff;--sapButton_Selected_Hover_BorderColor: #0064d9;--sapButton_Attention_Background: #fff3b7;--sapButton_Attention_BorderColor: #ffeb84;--sapButton_Attention_TextColor: #b44f00;--sapButton_Attention_Hover_Background: #ffef9e;--sapButton_Attention_Hover_BorderColor: #ffef9e;--sapButton_Attention_Hover_TextColor: #b44f00;--sapButton_Attention_Active_Background: #fff;--sapButton_Attention_Active_BorderColor: #dd6100;--sapButton_Attention_Active_TextColor: #b44f00;--sapButton_Attention_Selected_Background: #fff;--sapButton_Attention_Selected_BorderColor: #dd6100;--sapButton_Attention_Selected_TextColor: #b44f00;--sapButton_Attention_Selected_Hover_Background: #ffef9e;--sapButton_Attention_Selected_Hover_BorderColor: #dd6100;--sapButton_Negative_Background: #f53232;--sapButton_Negative_BorderColor: #f53232;--sapButton_Negative_TextColor: #fff;--sapButton_Negative_Hover_Background: #e90b0b;--sapButton_Negative_Hover_BorderColor: #e90b0b;--sapButton_Negative_Hover_TextColor: #fff;--sapButton_Negative_Active_Background: #fff;--sapButton_Negative_Active_BorderColor: #f53232;--sapButton_Negative_Active_TextColor: #aa0808;--sapButton_Critical_Background: #e76500;--sapButton_Critical_BorderColor: #e76500;--sapButton_Critical_TextColor: #fff;--sapButton_Critical_Hover_Background: #dd6100;--sapButton_Critical_Hover_BorderColor: #dd6100;--sapButton_Critical_Hover_TextColor: #fff;--sapButton_Critical_Active_Background: #fff;--sapButton_Critical_Active_BorderColor: #dd6100;--sapButton_Critical_Active_TextColor: #b44f00;--sapButton_Success_Background: #30914c;--sapButton_Success_BorderColor: #30914c;--sapButton_Success_TextColor: #fff;--sapButton_Success_Hover_Background: #2c8646;--sapButton_Success_Hover_BorderColor: #2c8646;--sapButton_Success_Hover_TextColor: #fff;--sapButton_Success_Active_Background: #fff;--sapButton_Success_Active_BorderColor: #30914c;--sapButton_Success_Active_TextColor: #256f3a;--sapButton_Information_Background: #e8f3ff;--sapButton_Information_BorderColor: #b5d8ff;--sapButton_Information_TextColor: #0064d9;--sapButton_Information_Hover_Background: #d4e8ff;--sapButton_Information_Hover_BorderColor: #b5d8ff;--sapButton_Information_Hover_TextColor: #0064d9;--sapButton_Information_Active_Background: #fff;--sapButton_Information_Active_BorderColor: #0064d9;--sapButton_Information_Active_TextColor: #0064d9;--sapButton_Neutral_Background: #e8f3ff;--sapButton_Neutral_BorderColor: #b5d8ff;--sapButton_Neutral_TextColor: #0064d9;--sapButton_Neutral_Hover_Background: #d4e8ff;--sapButton_Neutral_Hover_BorderColor: #b5d8ff;--sapButton_Neutral_Hover_TextColor: #0064d9;--sapButton_Neutral_Active_Background: #fff;--sapButton_Neutral_Active_BorderColor: #0064d9;--sapButton_Neutral_Active_TextColor: #0064d9;--sapButton_Track_Background: #788fa6;--sapButton_Track_BorderColor: #788fa6;--sapButton_Track_TextColor: #fff;--sapButton_Track_Hover_Background: #637d97;--sapButton_Track_Hover_BorderColor: #637d97;--sapButton_Track_Selected_Background: #0064d9;--sapButton_Track_Selected_BorderColor: #0064d9;--sapButton_Track_Selected_TextColor: #fff;--sapButton_Track_Selected_Hover_Background: #0058c0;--sapButton_Track_Selected_Hover_BorderColor: #0058c0;--sapButton_Handle_Background: #fff;--sapButton_Handle_BorderColor: #fff;--sapButton_Handle_TextColor: #131e29;--sapButton_Handle_Hover_Background: #fff;--sapButton_Handle_Hover_BorderColor: rgba(255,255,255,.5);--sapButton_Handle_Selected_Background: #edf6ff;--sapButton_Handle_Selected_BorderColor: #edf6ff;--sapButton_Handle_Selected_TextColor: #0064d9;--sapButton_Handle_Selected_Hover_Background: #edf6ff;--sapButton_Handle_Selected_Hover_BorderColor: rgba(237,246,255,.5);--sapButton_Track_Negative_Background: #f53232;--sapButton_Track_Negative_BorderColor: #f53232;--sapButton_Track_Negative_TextColor: #fff;--sapButton_Track_Negative_Hover_Background: #e90b0b;--sapButton_Track_Negative_Hover_BorderColor: #e90b0b;--sapButton_Handle_Negative_Background: #fff;--sapButton_Handle_Negative_BorderColor: #fff;--sapButton_Handle_Negative_TextColor: #aa0808;--sapButton_Handle_Negative_Hover_Background: #fff;--sapButton_Handle_Negative_Hover_BorderColor: rgba(255,255,255,.5);--sapButton_Track_Positive_Background: #30914c;--sapButton_Track_Positive_BorderColor: #30914c;--sapButton_Track_Positive_TextColor: #fff;--sapButton_Track_Positive_Hover_Background: #2c8646;--sapButton_Track_Positive_Hover_BorderColor: #2c8646;--sapButton_Handle_Positive_Background: #fff;--sapButton_Handle_Positive_BorderColor: #fff;--sapButton_Handle_Positive_TextColor: #256f3a;--sapButton_Handle_Positive_Hover_Background: #fff;--sapButton_Handle_Positive_Hover_BorderColor: rgba(255,255,255,.5);--sapButton_TokenBackground: #fff;--sapButton_TokenBorderColor: #bcc3ca;--sapButton_TokenBorderCornerRadius: .375rem;--sapButton_Selected_TokenBorderWidth: .0625rem;--sapButton_ReadOnly_TokenBackground: #fff;--sapButton_Segment_BorderCornerRadius: .5rem;--sapField_Background: #fff;--sapField_BackgroundStyle: 0 100% / 100% .0625rem no-repeat linear-gradient(0deg, #556b81, #556b81) border-box;--sapField_TextColor: #131e29;--sapField_PlaceholderTextColor: #556b82;--sapField_BorderColor: #556b81;--sapField_HelpBackground: #fff;--sapField_BorderWidth: .0625rem;--sapField_BorderStyle: none;--sapField_BorderCornerRadius: .25rem;--sapField_Shadow: inset 0 0 0 .0625rem rgba(85,107,129,.25);--sapField_Hover_Background: #fff;--sapField_Hover_BackgroundStyle: 0 100% / 100% .0625rem no-repeat linear-gradient(0deg, #0064d9, #0064d9) border-box;--sapField_Hover_BorderColor: #0064d9;--sapField_Hover_HelpBackground: #fff;--sapField_Hover_Shadow: inset 0 0 0 .0625rem rgba(79,160,255,.5);--sapField_Hover_InvalidShadow: inset 0 0 0 .0625rem rgba(255,142,196,.45);--sapField_Hover_WarningShadow: inset 0 0 0 .0625rem rgba(255,213,10,.4);--sapField_Hover_SuccessShadow: inset 0 0 0 .0625rem rgba(48,145,76,.18);--sapField_Hover_InformationShadow: inset 0 0 0 .0625rem rgba(104,174,255,.5);--sapField_Active_BorderColor: #0064d9;--sapField_Focus_Background: #fff;--sapField_Focus_BorderColor: #0032a5;--sapField_Focus_HelpBackground: #fff;--sapField_ReadOnly_Background: #eaecee;--sapField_ReadOnly_BackgroundStyle: 0 100% / .375rem .0625rem repeat-x linear-gradient(90deg, #556b81 0, #556b81 .25rem, transparent .25rem) border-box;--sapField_ReadOnly_BorderColor: #556b81;--sapField_ReadOnly_BorderStyle: none;--sapField_ReadOnly_HelpBackground: #eaecee;--sapField_RequiredColor: #ba066c;--sapField_InvalidColor: #e90b0b;--sapField_InvalidBackground: #ffeaf4;--sapField_InvalidBackgroundStyle: 0 100% / 100% .125rem no-repeat linear-gradient(0deg, #e90b0b, #e90b0b) border-box;--sapField_InvalidBorderWidth: .125rem;--sapField_InvalidBorderStyle: none;--sapField_InvalidShadow: inset 0 0 0 .0625rem rgba(255,142,196,.45);--sapField_WarningColor: #dd6100;--sapField_WarningBackground: #fff8d6;--sapField_WarningBackgroundStyle: 0 100% / 100% .125rem no-repeat linear-gradient(0deg, #dd6100, #dd6100) border-box;--sapField_WarningBorderWidth: .125rem;--sapField_WarningBorderStyle: none;--sapField_WarningShadow: inset 0 0 0 .0625rem rgba(255,213,10,.4);--sapField_SuccessColor: #30914c;--sapField_SuccessBackground: #f5fae5;--sapField_SuccessBackgroundStyle: 0 100% / 100% .0625rem no-repeat linear-gradient(0deg, #30914c, #30914c) border-box;--sapField_SuccessBorderWidth: .0625rem;--sapField_SuccessBorderStyle: none;--sapField_SuccessShadow: inset 0 0 0 .0625rem rgba(48,145,76,.18);--sapField_InformationColor: #0070f2;--sapField_InformationBackground: #e1f4ff;--sapField_InformationBackgroundStyle: 0 100% / 100% .125rem no-repeat linear-gradient(0deg, #0070f2, #0070f2) border-box;--sapField_InformationBorderWidth: .125rem;--sapField_InformationBorderStyle: none;--sapField_InformationShadow: inset 0 0 0 .0625rem rgba(104,174,255,.5);--sapField_Selector_Hover_Background: #e3f0ff;--sapField_Selector_Hover_InvalidBackground: #fff;--sapField_Selector_Hover_WarningBackground: #fff;--sapField_Selector_Hover_SuccessBackground: #fff;--sapField_Selector_Hover_InformationBackground: #fff;--sapField_Picker_BorderColor: #556b81;--sapField_Picker_BorderWidth: .0625rem;--sapField_Selector_BorderStyle: solid;--sapField_Selector_ReadOnly_BorderStyle: dashed;--sapField_Selector_InvalidBorderStyle: solid;--sapField_Selector_WarningBorderStyle: solid;--sapField_Selector_SuccessBorderStyle: solid;--sapField_Selector_InformationBorderStyle: solid;--sapGroup_TitleBorderWidth: .0625rem;--sapGroup_TitleBackground: #fff;--sapGroup_TitleBorderColor: #a8b2bd;--sapGroup_TitleTextColor: #131e29;--sapGroup_Title_FontSize: 1rem;--sapGroup_ContentBackground: #fff;--sapGroup_ContentAlternatingBackground: #eaecee;--sapGroup_ContentBorderColor: #d9d9d9;--sapGroup_BorderWidth: .0625rem;--sapGroup_BorderCornerRadius: .75rem;--sapGroup_FooterBackground: transparent;--sapToolbar_Background: #fff;--sapToolbar_SeparatorColor: #d9d9d9;--sapList_HeaderBackground: #fff;--sapList_HeaderBorderColor: #a8b2bd;--sapList_HeaderTextColor: #131e29;--sapList_BorderColor: #e5e5e5;--sapList_BorderWidth: .0625rem;--sapList_TextColor: #131e29;--sapList_Active_TextColor: #131e29;--sapList_Active_Background: #dee2e5;--sapList_SelectionBackgroundColor: #ebf8ff;--sapList_SelectionBorderColor: #0064d9;--sapList_Hover_SelectionBackground: #dcf3ff;--sapList_Background: #fff;--sapList_Hover_Background: #eaecee;--sapList_AlternatingBackground: #f5f6f7;--sapList_GroupHeaderBackground: #fff;--sapList_GroupHeaderBorderColor: #a8b2bd;--sapList_GroupHeaderTextColor: #131e29;--sapList_TableGroupHeaderBackground: #eff1f2;--sapList_TableGroupHeaderBorderColor: #a8b2bd;--sapList_TableGroupHeaderTextColor: #131e29;--sapList_FooterBackground: #fff;--sapList_FooterTextColor: #131e29;--sapList_TableFooterBorder: #a8b2bd;--sapList_TableFixedBorderColor: #8c8c8c;--sapList_TableFixedColumnBorderWidth: .0625rem;--sapList_TableFixedRowBorderWidth: .125rem;--sapMessage_BorderWidth: .0625rem;--sapMessage_ErrorBorderColor: #ff8ec4;--sapMessage_WarningBorderColor: #ffe770;--sapMessage_SuccessBorderColor: #cee67e;--sapMessage_InformationBorderColor: #7bcfff;--sapMessage_Button_Hover_Background: rgba(234,236,238,.2);--sapPopover_BorderCornerRadius: .5rem;--sapProgress_Background: #d5dadd;--sapProgress_BorderColor: #d5dadd;--sapProgress_TextColor: #131e29;--sapProgress_FontSize: .875rem;--sapProgress_NegativeBackground: #ffdbec;--sapProgress_NegativeBorderColor: #ffdbec;--sapProgress_NegativeTextColor: #131e29;--sapProgress_CriticalBackground: #fff4bd;--sapProgress_CriticalBorderColor: #fff4bd;--sapProgress_CriticalTextColor: #131e29;--sapProgress_PositiveBackground: #e5f2ba;--sapProgress_PositiveBorderColor: #e5f2ba;--sapProgress_PositiveTextColor: #131e29;--sapProgress_InformationBackground: #cdedff;--sapProgress_InformationBorderColor: #cdedff;--sapProgress_InformationTextColor: #131e29;--sapProgress_Value_Background: #617b94;--sapProgress_Value_BorderColor: #617b94;--sapProgress_Value_TextColor: #788fa6;--sapProgress_Value_NegativeBackground: #f53232;--sapProgress_Value_NegativeBorderColor: #f53232;--sapProgress_Value_NegativeTextColor: #f53232;--sapProgress_Value_CriticalBackground: #e76500;--sapProgress_Value_CriticalBorderColor: #e76500;--sapProgress_Value_CriticalTextColor: #e76500;--sapProgress_Value_PositiveBackground: #30914c;--sapProgress_Value_PositiveBorderColor: #30914c;--sapProgress_Value_PositiveTextColor: #30914c;--sapProgress_Value_InformationBackground: #0070f2;--sapProgress_Value_InformationBorderColor: #0070f2;--sapProgress_Value_InformationTextColor: #0070f2;--sapScrollBar_FaceColor: #7b91a8;--sapScrollBar_TrackColor: #fff;--sapScrollBar_BorderColor: #7b91a8;--sapScrollBar_SymbolColor: #0064d9;--sapScrollBar_Dimension: .75rem;--sapScrollBar_Hover_FaceColor: #5b728b;--sapSlider_Background: #d5dadd;--sapSlider_BorderColor: #d5dadd;--sapSlider_Selected_Background: #0064d9;--sapSlider_Selected_BorderColor: #0064d9;--sapSlider_Selected_Dimension: .125rem;--sapSlider_HandleBackground: #fff;--sapSlider_HandleBorderColor: #b0d5ff;--sapSlider_RangeHandleBackground: #fff;--sapSlider_Hover_HandleBackground: #d9ecff;--sapSlider_Hover_HandleBorderColor: #b0d5ff;--sapSlider_Hover_RangeHandleBackground: #d9ecff;--sapSlider_Active_HandleBackground: #fff;--sapSlider_Active_HandleBorderColor: #0064d9;--sapSlider_Active_RangeHandleBackground: transparent;--sapPageHeader_Background: #fff;--sapPageHeader_BorderColor: #d9d9d9;--sapPageHeader_TextColor: #131e29;--sapPageFooter_Background: #fff;--sapPageFooter_BorderColor: #d9d9d9;--sapPageFooter_TextColor: #131e29;--sapInfobar_Background: #c2fcee;--sapInfobar_Hover_Background: #fff;--sapInfobar_Active_Background: #fff;--sapInfobar_NonInteractive_Background: #f5f6f7;--sapInfobar_TextColor: #046c7a;--sapObjectHeader_Background: #fff;--sapObjectHeader_Hover_Background: #eaecee;--sapObjectHeader_BorderColor: #d9d9d9;--sapObjectHeader_Title_TextColor: #131e29;--sapObjectHeader_Title_FontSize: 1.5rem;--sapObjectHeader_Title_SnappedFontSize: 1.25rem;--sapObjectHeader_Title_FontFamily: "72Black", "72Blackfull","72", "72full", Arial, Helvetica, sans-serif;--sapObjectHeader_Subtitle_TextColor: #556b82;--sapBlockLayer_Background: #000;--sapBlockLayer_Opacity: .2;--sapTab_TextColor: #131e29;--sapTab_ForegroundColor: #0064d9;--sapTab_IconColor: #0064d9;--sapTab_Background: #fff;--sapTab_Selected_TextColor: #0064d9;--sapTab_Selected_IconColor: #fff;--sapTab_Selected_Background: #0064d9;--sapTab_Selected_Indicator_Dimension: .1875rem;--sapTab_Positive_TextColor: #256f3a;--sapTab_Positive_ForegroundColor: #30914c;--sapTab_Positive_IconColor: #30914c;--sapTab_Positive_Selected_TextColor: #256f3a;--sapTab_Positive_Selected_IconColor: #fff;--sapTab_Positive_Selected_Background: #30914c;--sapTab_Negative_TextColor: #aa0808;--sapTab_Negative_ForegroundColor: #f53232;--sapTab_Negative_IconColor: #f53232;--sapTab_Negative_Selected_TextColor: #aa0808;--sapTab_Negative_Selected_IconColor: #fff;--sapTab_Negative_Selected_Background: #f53232;--sapTab_Critical_TextColor: #b44f00;--sapTab_Critical_ForegroundColor: #e76500;--sapTab_Critical_IconColor: #e76500;--sapTab_Critical_Selected_TextColor: #b44f00;--sapTab_Critical_Selected_IconColor: #fff;--sapTab_Critical_Selected_Background: #e76500;--sapTab_Neutral_TextColor: #131e29;--sapTab_Neutral_ForegroundColor: #788fa6;--sapTab_Neutral_IconColor: #788fa6;--sapTab_Neutral_Selected_TextColor: #131e29;--sapTab_Neutral_Selected_IconColor: #fff;--sapTab_Neutral_Selected_Background: #788fa6;--sapTile_Background: #fff;--sapTile_Hover_Background: #eaecee;--sapTile_Active_Background: #dee2e5;--sapTile_BorderColor: transparent;--sapTile_BorderCornerRadius: 1rem;--sapTile_TitleTextColor: #131e29;--sapTile_TextColor: #556b82;--sapTile_IconColor: #556b82;--sapTile_SeparatorColor: transparent;--sapTile_Interactive_BorderColor: #b3b3b3;--sapTile_OverlayBackground: #fff;--sapTile_OverlayForegroundColor: #131e29;--sapTile_Hover_ContentBackground: #fff;--sapTile_Active_ContentBackground: #fff;--sapAccentColor1: #d27700;--sapAccentColor2: #aa0808;--sapAccentColor3: #ba066c;--sapAccentColor4: #a100c2;--sapAccentColor5: #5d36ff;--sapAccentColor6: #0057d2;--sapAccentColor7: #046c7a;--sapAccentColor8: #256f3a;--sapAccentColor9: #6c32a9;--sapAccentColor10: #5b738b;--sapAccentBackgroundColor1: #fff3b8;--sapAccentBackgroundColor2: #ffd0e7;--sapAccentBackgroundColor3: #ffdbe7;--sapAccentBackgroundColor4: #ffdcf3;--sapAccentBackgroundColor5: #ded3ff;--sapAccentBackgroundColor6: #d1efff;--sapAccentBackgroundColor7: #c2fcee;--sapAccentBackgroundColor8: #ebf5cb;--sapAccentBackgroundColor9: #ddccf0;--sapAccentBackgroundColor10: #eaecee;--sapIndicationColor_1: #840606;--sapIndicationColor_1_Background: #840606;--sapIndicationColor_1_BorderColor: #840606;--sapIndicationColor_1_TextColor: #fff;--sapIndicationColor_1_Hover_Background: #6c0505;--sapIndicationColor_1_Active_Background: #fff;--sapIndicationColor_1_Active_BorderColor: #fb9d9d;--sapIndicationColor_1_Active_TextColor: #840606;--sapIndicationColor_1_Selected_Background: #fff;--sapIndicationColor_1_Selected_BorderColor: #fb9d9d;--sapIndicationColor_1_Selected_TextColor: #840606;--sapIndicationColor_1b: #fb9d9d;--sapIndicationColor_1b_TextColor: #830707;--sapIndicationColor_1b_Background: #fb9d9d;--sapIndicationColor_1b_BorderColor: #fb9d9d;--sapIndicationColor_1b_Hover_Background: #fa8585;--sapIndicationColor_2: #aa0808;--sapIndicationColor_2_Background: #aa0808;--sapIndicationColor_2_BorderColor: #aa0808;--sapIndicationColor_2_TextColor: #fff;--sapIndicationColor_2_Hover_Background: #920707;--sapIndicationColor_2_Active_Background: #fff;--sapIndicationColor_2_Active_BorderColor: #fcc4c4;--sapIndicationColor_2_Active_TextColor: #aa0808;--sapIndicationColor_2_Selected_Background: #fff;--sapIndicationColor_2_Selected_BorderColor: #fcc4c4;--sapIndicationColor_2_Selected_TextColor: #aa0808;--sapIndicationColor_2b: #fcc4c4;--sapIndicationColor_2b_TextColor: #a90909;--sapIndicationColor_2b_Background: #fcc4c4;--sapIndicationColor_2b_BorderColor: #fcc4c4;--sapIndicationColor_2b_Hover_Background: #fbacac;--sapIndicationColor_3: #b95100;--sapIndicationColor_3_Background: #e76500;--sapIndicationColor_3_BorderColor: #e76500;--sapIndicationColor_3_TextColor: #fff;--sapIndicationColor_3_Hover_Background: #d85e00;--sapIndicationColor_3_Active_Background: #fff;--sapIndicationColor_3_Active_BorderColor: #ffdfc3;--sapIndicationColor_3_Active_TextColor: #b95100;--sapIndicationColor_3_Selected_Background: #fff;--sapIndicationColor_3_Selected_BorderColor: #ffdfc3;--sapIndicationColor_3_Selected_TextColor: #b95100;--sapIndicationColor_3b: #ffdfc3;--sapIndicationColor_3b_TextColor: #a44d00;--sapIndicationColor_3b_Background: #ffdfc3;--sapIndicationColor_3b_BorderColor: #ffdfc3;--sapIndicationColor_3b_Hover_Background: #ffd1a9;--sapIndicationColor_4: #256f3a;--sapIndicationColor_4_Background: #256f3a;--sapIndicationColor_4_BorderColor: #256f3a;--sapIndicationColor_4_TextColor: #fff;--sapIndicationColor_4_Hover_Background: #1f5c30;--sapIndicationColor_4_Active_Background: #fff;--sapIndicationColor_4_Active_BorderColor: #bae8bc;--sapIndicationColor_4_Active_TextColor: #256f3a;--sapIndicationColor_4_Selected_Background: #fff;--sapIndicationColor_4_Selected_BorderColor: #bae8bc;--sapIndicationColor_4_Selected_TextColor: #256f3a;--sapIndicationColor_4b: #bae8bc;--sapIndicationColor_4b_TextColor: #256f28;--sapIndicationColor_4b_Background: #bae8bc;--sapIndicationColor_4b_BorderColor: #bae8bc;--sapIndicationColor_4b_Hover_Background: #a7e2a9;--sapIndicationColor_5: #0070f2;--sapIndicationColor_5_Background: #0070f2;--sapIndicationColor_5_BorderColor: #0070f2;--sapIndicationColor_5_TextColor: #fff;--sapIndicationColor_5_Hover_Background: #0064d9;--sapIndicationColor_5_Active_Background: #fff;--sapIndicationColor_5_Active_BorderColor: #d9ebff;--sapIndicationColor_5_Active_TextColor: #0070f2;--sapIndicationColor_5_Selected_Background: #fff;--sapIndicationColor_5_Selected_BorderColor: #d9ebff;--sapIndicationColor_5_Selected_TextColor: #0070f2;--sapIndicationColor_5b: #d9ebff;--sapIndicationColor_5b_TextColor: #0067d9;--sapIndicationColor_5b_Background: #d9ebff;--sapIndicationColor_5b_BorderColor: #d9ebff;--sapIndicationColor_5b_Hover_Background: #c0deff;--sapIndicationColor_6: #046c7a;--sapIndicationColor_6_Background: #046c7a;--sapIndicationColor_6_BorderColor: #046c7a;--sapIndicationColor_6_TextColor: #fff;--sapIndicationColor_6_Hover_Background: #035661;--sapIndicationColor_6_Active_Background: #fff;--sapIndicationColor_6_Active_BorderColor: #cdf5ec;--sapIndicationColor_6_Active_TextColor: #046c7a;--sapIndicationColor_6_Selected_Background: #fff;--sapIndicationColor_6_Selected_BorderColor: #cdf5ec;--sapIndicationColor_6_Selected_TextColor: #046c7a;--sapIndicationColor_6b: #cdf5ec;--sapIndicationColor_6b_TextColor: #156b58;--sapIndicationColor_6b_Background: #cdf5ec;--sapIndicationColor_6b_BorderColor: #cdf5ec;--sapIndicationColor_6b_Hover_Background: #b8f1e4;--sapIndicationColor_7: #5d36ff;--sapIndicationColor_7_Background: #5d36ff;--sapIndicationColor_7_BorderColor: #5d36ff;--sapIndicationColor_7_TextColor: #fff;--sapIndicationColor_7_Hover_Background: #481cff;--sapIndicationColor_7_Active_Background: #fff;--sapIndicationColor_7_Active_BorderColor: #e2dbff;--sapIndicationColor_7_Active_TextColor: #5d36ff;--sapIndicationColor_7_Selected_Background: #fff;--sapIndicationColor_7_Selected_BorderColor: #e2dbff;--sapIndicationColor_7_Selected_TextColor: #5d36ff;--sapIndicationColor_7b: #e2dbff;--sapIndicationColor_7b_TextColor: #5f38ff;--sapIndicationColor_7b_Background: #e2dbff;--sapIndicationColor_7b_BorderColor: #e2dbff;--sapIndicationColor_7b_Hover_Background: #cdc2ff;--sapIndicationColor_8: #a100c2;--sapIndicationColor_8_Background: #a100c2;--sapIndicationColor_8_BorderColor: #a100c2;--sapIndicationColor_8_TextColor: #fff;--sapIndicationColor_8_Hover_Background: #8c00a9;--sapIndicationColor_8_Active_Background: #fff;--sapIndicationColor_8_Active_BorderColor: #f8d6ff;--sapIndicationColor_8_Active_TextColor: #a100c2;--sapIndicationColor_8_Selected_Background: #fff;--sapIndicationColor_8_Selected_BorderColor: #f8d6ff;--sapIndicationColor_8_Selected_TextColor: #a100c2;--sapIndicationColor_8b: #f8d6ff;--sapIndicationColor_8b_TextColor: #a100c2;--sapIndicationColor_8b_Background: #f8d6ff;--sapIndicationColor_8b_BorderColor: #f8d6ff;--sapIndicationColor_8b_Hover_Background: #f4bdff;--sapIndicationColor_9: #1d2d3e;--sapIndicationColor_9_Background: #1d2d3e;--sapIndicationColor_9_BorderColor: #1d2d3e;--sapIndicationColor_9_TextColor: #fff;--sapIndicationColor_9_Hover_Background: #15202d;--sapIndicationColor_9_Active_Background: #fff;--sapIndicationColor_9_Active_BorderColor: #d9d9d9;--sapIndicationColor_9_Active_TextColor: #1d2d3e;--sapIndicationColor_9_Selected_Background: #fff;--sapIndicationColor_9_Selected_BorderColor: #d9d9d9;--sapIndicationColor_9_Selected_TextColor: #1d2d3e;--sapIndicationColor_9b: #fff;--sapIndicationColor_9b_TextColor: #2e2e2e;--sapIndicationColor_9b_Background: #fff;--sapIndicationColor_9b_BorderColor: #d9d9d9;--sapIndicationColor_9b_Hover_Background: #f2f2f2;--sapIndicationColor_10: #45484a;--sapIndicationColor_10_Background: #83888b;--sapIndicationColor_10_BorderColor: #83888b;--sapIndicationColor_10_TextColor: #fff;--sapIndicationColor_10_Hover_Background: #767b7e;--sapIndicationColor_10_Active_Background: #fff;--sapIndicationColor_10_Active_BorderColor: #eaecee;--sapIndicationColor_10_Active_TextColor: #45484a;--sapIndicationColor_10_Selected_Background: #fff;--sapIndicationColor_10_Selected_BorderColor: #eaecee;--sapIndicationColor_10_Selected_TextColor: #45484a;--sapIndicationColor_10b: #eaecee;--sapIndicationColor_10b_TextColor: #464646;--sapIndicationColor_10b_Background: #eaecee;--sapIndicationColor_10b_BorderColor: #eaecee;--sapIndicationColor_10b_Hover_Background: #dcdfe3;--sapLegend_WorkingBackground: #fff;--sapLegend_NonWorkingBackground: #ebebeb;--sapLegend_CurrentDateTime: #a100c2;--sapLegendColor1: #c35500;--sapLegendColor2: #d23a0a;--sapLegendColor3: #df1278;--sapLegendColor4: #840606;--sapLegendColor5: #cc00dc;--sapLegendColor6: #0057d2;--sapLegendColor7: #07838f;--sapLegendColor8: #188918;--sapLegendColor9: #5b738b;--sapLegendColor10: #7800a4;--sapLegendColor11: #a93e00;--sapLegendColor12: #aa2608;--sapLegendColor13: #ba066c;--sapLegendColor14: #8d2a00;--sapLegendColor15: #4e247a;--sapLegendColor16: #002a86;--sapLegendColor17: #035663;--sapLegendColor18: #1e592f;--sapLegendColor19: #1a4796;--sapLegendColor20: #470ced;--sapLegendBackgroundColor1: #ffef9f;--sapLegendBackgroundColor2: #feeae1;--sapLegendBackgroundColor3: #fbf6f8;--sapLegendBackgroundColor4: #fbebeb;--sapLegendBackgroundColor5: #ffe5fe;--sapLegendBackgroundColor6: #d1efff;--sapLegendBackgroundColor7: #c2fcee;--sapLegendBackgroundColor8: #f5fae5;--sapLegendBackgroundColor9: #f5f6f7;--sapLegendBackgroundColor10: #fff0fa;--sapLegendBackgroundColor11: #fff8d6;--sapLegendBackgroundColor12: #fff6f6;--sapLegendBackgroundColor13: #f7ebef;--sapLegendBackgroundColor14: #f1ecd5;--sapLegendBackgroundColor15: #f0e7f8;--sapLegendBackgroundColor16: #ebf8ff;--sapLegendBackgroundColor17: #dafdf5;--sapLegendBackgroundColor18: #ebf5cb;--sapLegendBackgroundColor19: #fafdff;--sapLegendBackgroundColor20: #eceeff;--sapChart_Background: #fff;--sapChart_ContrastTextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapChart_ContrastShadowColor: #fff;--sapChart_ContrastLineColor: #fff;--sapChart_LineColor_1: #e1e6eb;--sapChart_LineColor_2: #768da4;--sapChart_LineColor_3: #000001;--sapChart_Choropleth_Background: #edf0f3;--sapChart_ChoroplethRegion_Background: #758ca4;--sapChart_ChoroplethRegion_BorderColor: #edf0f3;--sapChart_Data_TextColor: #000;--sapChart_Data_ContrastTextColor: #fff;--sapChart_Data_InteractiveColor: #000001;--sapChart_Data_Active_Background: #dee2e5;--sapChart_IBCS_Actual: #233649;--sapChart_IBCS_Previous: #758ca4;--sapChart_IBCS_Good: #287a40;--sapChart_IBCS_Bad: #d00a0a;--sapChart_OrderedColor_1: #168eff;--sapChart_OrderedColor_2: #c87b00;--sapChart_OrderedColor_3: #75980b;--sapChart_OrderedColor_4: #df1278;--sapChart_OrderedColor_5: #8b47d7;--sapChart_OrderedColor_6: #049f9a;--sapChart_OrderedColor_7: #0070f2;--sapChart_OrderedColor_8: #cc00dc;--sapChart_OrderedColor_9: #798c77;--sapChart_OrderedColor_10: #da6c6c;--sapChart_OrderedColor_11: #5d36ff;--sapChart_OrderedColor_12: #a68a5b;--sapChart_Bad: #f53232;--sapChart_Critical: #e26300;--sapChart_Good: #30914c;--sapChart_Neutral: #758ca4;--sapChart_Sequence_1_Plus3: #8bc7ff;--sapChart_Sequence_1_Plus3_TextColor: #000;--sapChart_Sequence_1_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_1_Plus2: #62b3ff;--sapChart_Sequence_1_Plus2_TextColor: #000;--sapChart_Sequence_1_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_1_Plus1: #3fa2ff;--sapChart_Sequence_1_Plus1_TextColor: #000;--sapChart_Sequence_1_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_1: #168eff;--sapChart_Sequence_1_TextColor: #000;--sapChart_Sequence_1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_1_BorderColor: #0074e2;--sapChart_Sequence_1_Minus1: #0074e2;--sapChart_Sequence_1_Minus1_TextColor: #fff;--sapChart_Sequence_1_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_1_Minus2: #0065c3;--sapChart_Sequence_1_Minus2_TextColor: #fff;--sapChart_Sequence_1_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_1_Minus3: #0055a5;--sapChart_Sequence_1_Minus3_TextColor: #fff;--sapChart_Sequence_1_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_1_Minus4: #003b72;--sapChart_Sequence_1_Minus4_TextColor: #fff;--sapChart_Sequence_1_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_1_Minus5: #00305d;--sapChart_Sequence_1_Minus5_TextColor: #fff;--sapChart_Sequence_1_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_2_Plus3: #efbf72;--sapChart_Sequence_2_Plus3_TextColor: #000;--sapChart_Sequence_2_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_2_Plus2: #eaaa44;--sapChart_Sequence_2_Plus2_TextColor: #000;--sapChart_Sequence_2_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_2_Plus1: #e29419;--sapChart_Sequence_2_Plus1_TextColor: #000;--sapChart_Sequence_2_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_2: #c87b00;--sapChart_Sequence_2_TextColor: #000;--sapChart_Sequence_2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_2_BorderColor: #9f6200;--sapChart_Sequence_2_Minus1: #9f6200;--sapChart_Sequence_2_Minus1_TextColor: #fff;--sapChart_Sequence_2_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_2_Minus2: #7c4c00;--sapChart_Sequence_2_Minus2_TextColor: #fff;--sapChart_Sequence_2_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_2_Minus3: #623c00;--sapChart_Sequence_2_Minus3_TextColor: #fff;--sapChart_Sequence_2_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_2_Minus4: #492d00;--sapChart_Sequence_2_Minus4_TextColor: #fff;--sapChart_Sequence_2_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_2_Minus5: #2f1d00;--sapChart_Sequence_2_Minus5_TextColor: #fff;--sapChart_Sequence_2_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_3_Plus3: #b9d369;--sapChart_Sequence_3_Plus3_TextColor: #000;--sapChart_Sequence_3_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_3_Plus2: #a6c742;--sapChart_Sequence_3_Plus2_TextColor: #000;--sapChart_Sequence_3_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_3_Plus1: #8fad33;--sapChart_Sequence_3_Plus1_TextColor: #000;--sapChart_Sequence_3_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_3: #75980b;--sapChart_Sequence_3_TextColor: #000;--sapChart_Sequence_3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_3_BorderColor: #587208;--sapChart_Sequence_3_Minus1: #587208;--sapChart_Sequence_3_Minus1_TextColor: #fff;--sapChart_Sequence_3_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_3_Minus2: #3e5106;--sapChart_Sequence_3_Minus2_TextColor: #fff;--sapChart_Sequence_3_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_3_Minus3: #2c3904;--sapChart_Sequence_3_Minus3_TextColor: #fff;--sapChart_Sequence_3_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_3_Minus4: #212b03;--sapChart_Sequence_3_Minus4_TextColor: #fff;--sapChart_Sequence_3_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_3_Minus5: #161c02;--sapChart_Sequence_3_Minus5_TextColor: #fff;--sapChart_Sequence_3_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_Plus3: #f473b3;--sapChart_Sequence_4_Plus3_TextColor: #000;--sapChart_Sequence_4_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_4_Plus2: #f14d9e;--sapChart_Sequence_4_Plus2_TextColor: #000;--sapChart_Sequence_4_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_4_Plus1: #ee278a;--sapChart_Sequence_4_Plus1_TextColor: #000;--sapChart_Sequence_4_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_4: #df1278;--sapChart_Sequence_4_TextColor: #fff;--sapChart_Sequence_4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_BorderColor: #df1278;--sapChart_Sequence_4_Minus1: #b90f64;--sapChart_Sequence_4_Minus1_TextColor: #fff;--sapChart_Sequence_4_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_Minus2: #930c4f;--sapChart_Sequence_4_Minus2_TextColor: #fff;--sapChart_Sequence_4_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_Minus3: #770a40;--sapChart_Sequence_4_Minus3_TextColor: #fff;--sapChart_Sequence_4_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_Minus4: #51072c;--sapChart_Sequence_4_Minus4_TextColor: #fff;--sapChart_Sequence_4_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_Minus5: #3a051f;--sapChart_Sequence_4_Minus5_TextColor: #fff;--sapChart_Sequence_4_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_Plus3: #d5bcf0;--sapChart_Sequence_5_Plus3_TextColor: #000;--sapChart_Sequence_5_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_5_Plus2: #b994e0;--sapChart_Sequence_5_Plus2_TextColor: #000;--sapChart_Sequence_5_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_5_Plus1: #a679d8;--sapChart_Sequence_5_Plus1_TextColor: #000;--sapChart_Sequence_5_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_5: #8b47d7;--sapChart_Sequence_5_TextColor: #fff;--sapChart_Sequence_5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_BorderColor: #8b47d7;--sapChart_Sequence_5_Minus1: #7236b5;--sapChart_Sequence_5_Minus1_TextColor: #fff;--sapChart_Sequence_5_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_Minus2: #5e2c96;--sapChart_Sequence_5_Minus2_TextColor: #fff;--sapChart_Sequence_5_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_Minus3: #522682;--sapChart_Sequence_5_Minus3_TextColor: #fff;--sapChart_Sequence_5_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_Minus4: #46216f;--sapChart_Sequence_5_Minus4_TextColor: #fff;--sapChart_Sequence_5_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_Minus5: #341358;--sapChart_Sequence_5_Minus5_TextColor: #fff;--sapChart_Sequence_5_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_6_Plus3: #64ede9;--sapChart_Sequence_6_Plus3_TextColor: #000;--sapChart_Sequence_6_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_6_Plus2: #2ee0da;--sapChart_Sequence_6_Plus2_TextColor: #000;--sapChart_Sequence_6_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_6_Plus1: #05c7c1;--sapChart_Sequence_6_Plus1_TextColor: #000;--sapChart_Sequence_6_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_6: #049f9a;--sapChart_Sequence_6_TextColor: #000;--sapChart_Sequence_6_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_6_BorderColor: #05c7c1;--sapChart_Sequence_6_Minus1: #02837f;--sapChart_Sequence_6_Minus1_TextColor: #fff;--sapChart_Sequence_6_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_6_Minus2: #006663;--sapChart_Sequence_6_Minus2_TextColor: #fff;--sapChart_Sequence_6_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_6_Minus3: #00514f;--sapChart_Sequence_6_Minus3_TextColor: #fff;--sapChart_Sequence_6_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_6_Minus4: #003d3b;--sapChart_Sequence_6_Minus4_TextColor: #fff;--sapChart_Sequence_6_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_6_Minus5: #002322;--sapChart_Sequence_6_Minus5_TextColor: #fff;--sapChart_Sequence_6_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_Plus3: #68aeff;--sapChart_Sequence_7_Plus3_TextColor: #000;--sapChart_Sequence_7_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_7_Plus2: #4098ff;--sapChart_Sequence_7_Plus2_TextColor: #000;--sapChart_Sequence_7_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_7_Plus1: #1c85ff;--sapChart_Sequence_7_Plus1_TextColor: #000;--sapChart_Sequence_7_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_7: #0070f2;--sapChart_Sequence_7_TextColor: #fff;--sapChart_Sequence_7_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_BorderColor: #0070f2;--sapChart_Sequence_7_Minus1: #0062d3;--sapChart_Sequence_7_Minus1_TextColor: #fff;--sapChart_Sequence_7_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_Minus2: #0054b5;--sapChart_Sequence_7_Minus2_TextColor: #fff;--sapChart_Sequence_7_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_Minus3: #00418c;--sapChart_Sequence_7_Minus3_TextColor: #fff;--sapChart_Sequence_7_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_Minus4: #00244f;--sapChart_Sequence_7_Minus4_TextColor: #fff;--sapChart_Sequence_7_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_Minus5: #001b3a;--sapChart_Sequence_7_Minus5_TextColor: #fff;--sapChart_Sequence_7_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_Plus3: #f462ff;--sapChart_Sequence_8_Plus3_TextColor: #000;--sapChart_Sequence_8_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_8_Plus2: #f034ff;--sapChart_Sequence_8_Plus2_TextColor: #000;--sapChart_Sequence_8_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_8_Plus1: #ed0bff;--sapChart_Sequence_8_Plus1_TextColor: #000;--sapChart_Sequence_8_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_8: #cc00dc;--sapChart_Sequence_8_TextColor: #fff;--sapChart_Sequence_8_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_BorderColor: #cc00dc;--sapChart_Sequence_8_Minus1: #a600b3;--sapChart_Sequence_8_Minus1_TextColor: #fff;--sapChart_Sequence_8_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_Minus2: #80008a;--sapChart_Sequence_8_Minus2_TextColor: #fff;--sapChart_Sequence_8_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_Minus3: #6d0076;--sapChart_Sequence_8_Minus3_TextColor: #fff;--sapChart_Sequence_8_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_Minus4: #56005d;--sapChart_Sequence_8_Minus4_TextColor: #fff;--sapChart_Sequence_8_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_Minus5: #350039;--sapChart_Sequence_8_Minus5_TextColor: #fff;--sapChart_Sequence_8_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_9_Plus3: #bdc6bc;--sapChart_Sequence_9_Plus3_TextColor: #000;--sapChart_Sequence_9_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_9_Plus2: #b5bfb4;--sapChart_Sequence_9_Plus2_TextColor: #000;--sapChart_Sequence_9_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_9_Plus1: #97a695;--sapChart_Sequence_9_Plus1_TextColor: #000;--sapChart_Sequence_9_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_9: #798c77;--sapChart_Sequence_9_TextColor: #000;--sapChart_Sequence_9_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_9_BorderColor: #798c77;--sapChart_Sequence_9_Minus1: #667664;--sapChart_Sequence_9_Minus1_TextColor: #fff;--sapChart_Sequence_9_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_9_Minus2: #536051;--sapChart_Sequence_9_Minus2_TextColor: #fff;--sapChart_Sequence_9_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_9_Minus3: #404a3f;--sapChart_Sequence_9_Minus3_TextColor: #fff;--sapChart_Sequence_9_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_9_Minus4: #2d342c;--sapChart_Sequence_9_Minus4_TextColor: #fff;--sapChart_Sequence_9_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_9_Minus5: #1e231e;--sapChart_Sequence_9_Minus5_TextColor: #fff;--sapChart_Sequence_9_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_10_Plus3: #f1c6c6;--sapChart_Sequence_10_Plus3_TextColor: #000;--sapChart_Sequence_10_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_10_Plus2: #eaadad;--sapChart_Sequence_10_Plus2_TextColor: #000;--sapChart_Sequence_10_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_10_Plus1: #e28d8d;--sapChart_Sequence_10_Plus1_TextColor: #000;--sapChart_Sequence_10_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_10: #da6c6c;--sapChart_Sequence_10_TextColor: #000;--sapChart_Sequence_10_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_10_BorderColor: #b75757;--sapChart_Sequence_10_Minus1: #b75757;--sapChart_Sequence_10_Minus1_TextColor: #000;--sapChart_Sequence_10_Minus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_10_Minus2: #9d4343;--sapChart_Sequence_10_Minus2_TextColor: #fff;--sapChart_Sequence_10_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_10_Minus3: #803737;--sapChart_Sequence_10_Minus3_TextColor: #fff;--sapChart_Sequence_10_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_10_Minus4: #672c2c;--sapChart_Sequence_10_Minus4_TextColor: #fff;--sapChart_Sequence_10_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_10_Minus5: #562424;--sapChart_Sequence_10_Minus5_TextColor: #fff;--sapChart_Sequence_10_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_Plus3: #c0b0ff;--sapChart_Sequence_11_Plus3_TextColor: #000;--sapChart_Sequence_11_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_11_Plus2: #9b83ff;--sapChart_Sequence_11_Plus2_TextColor: #000;--sapChart_Sequence_11_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_11_Plus1: #8669ff;--sapChart_Sequence_11_Plus1_TextColor: #000;--sapChart_Sequence_11_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_11: #5d36ff;--sapChart_Sequence_11_TextColor: #fff;--sapChart_Sequence_11_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_BorderColor: #5d36ff;--sapChart_Sequence_11_Minus1: #4b25e7;--sapChart_Sequence_11_Minus1_TextColor: #fff;--sapChart_Sequence_11_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_Minus2: #3a17cd;--sapChart_Sequence_11_Minus2_TextColor: #fff;--sapChart_Sequence_11_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_Minus3: #2f13a8;--sapChart_Sequence_11_Minus3_TextColor: #fff;--sapChart_Sequence_11_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_Minus4: #250f83;--sapChart_Sequence_11_Minus4_TextColor: #fff;--sapChart_Sequence_11_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_Minus5: #180955;--sapChart_Sequence_11_Minus5_TextColor: #fff;--sapChart_Sequence_11_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_12_Plus3: #e4ddcf;--sapChart_Sequence_12_Plus3_TextColor: #000;--sapChart_Sequence_12_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_12_Plus2: #dacebb;--sapChart_Sequence_12_Plus2_TextColor: #000;--sapChart_Sequence_12_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_12_Plus1: #c4b293;--sapChart_Sequence_12_Plus1_TextColor: #000;--sapChart_Sequence_12_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_12: #a68a5b;--sapChart_Sequence_12_TextColor: #000;--sapChart_Sequence_12_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_12_BorderColor: #a68a5b;--sapChart_Sequence_12_Minus1: #8c744c;--sapChart_Sequence_12_Minus1_TextColor: #fff;--sapChart_Sequence_12_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_12_Minus2: #786441;--sapChart_Sequence_12_Minus2_TextColor: #fff;--sapChart_Sequence_12_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_12_Minus3: #5e4e33;--sapChart_Sequence_12_Minus3_TextColor: #fff;--sapChart_Sequence_12_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_12_Minus4: #433825;--sapChart_Sequence_12_Minus4_TextColor: #fff;--sapChart_Sequence_12_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_12_Minus5: #30271a;--sapChart_Sequence_12_Minus5_TextColor: #fff;--sapChart_Sequence_12_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Bad_Plus3: #fdcece;--sapChart_Sequence_Bad_Plus3_TextColor: #000;--sapChart_Sequence_Bad_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Bad_Plus2: #fa9d9d;--sapChart_Sequence_Bad_Plus2_TextColor: #000;--sapChart_Sequence_Bad_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Bad_Plus1: #f86c6c;--sapChart_Sequence_Bad_Plus1_TextColor: #000;--sapChart_Sequence_Bad_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Bad: #f53232;--sapChart_Sequence_Bad_TextColor: #000;--sapChart_Sequence_Bad_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Bad_BorderColor: #f53232;--sapChart_Sequence_Bad_Minus1: #d00a0a;--sapChart_Sequence_Bad_Minus1_TextColor: #fff;--sapChart_Sequence_Bad_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Bad_Minus2: #a90808;--sapChart_Sequence_Bad_Minus2_TextColor: #fff;--sapChart_Sequence_Bad_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Bad_Minus3: #830606;--sapChart_Sequence_Bad_Minus3_TextColor: #fff;--sapChart_Sequence_Bad_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Bad_Minus4: #570404;--sapChart_Sequence_Bad_Minus4_TextColor: #fff;--sapChart_Sequence_Bad_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Bad_Minus5: #320000;--sapChart_Sequence_Bad_Minus5_TextColor: #fff;--sapChart_Sequence_Bad_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Critical_Plus3: #ffb881;--sapChart_Sequence_Critical_Plus3_TextColor: #000;--sapChart_Sequence_Critical_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Critical_Plus2: #ff933f;--sapChart_Sequence_Critical_Plus2_TextColor: #000;--sapChart_Sequence_Critical_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Critical_Plus1: #ff760c;--sapChart_Sequence_Critical_Plus1_TextColor: #000;--sapChart_Sequence_Critical_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Critical: #e26300;--sapChart_Sequence_Critical_TextColor: #000;--sapChart_Sequence_Critical_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Critical_BorderColor: #e26300;--sapChart_Sequence_Critical_Minus1: #c35600;--sapChart_Sequence_Critical_Minus1_TextColor: #fff;--sapChart_Sequence_Critical_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Critical_Minus2: #aa4a00;--sapChart_Sequence_Critical_Minus2_TextColor: #fff;--sapChart_Sequence_Critical_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Critical_Minus3: #903f00;--sapChart_Sequence_Critical_Minus3_TextColor: #fff;--sapChart_Sequence_Critical_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Critical_Minus4: #6d3000;--sapChart_Sequence_Critical_Minus4_TextColor: #fff;--sapChart_Sequence_Critical_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Critical_Minus5: #492000;--sapChart_Sequence_Critical_Minus5_TextColor: #fff;--sapChart_Sequence_Critical_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Good_Plus3: #88d79f;--sapChart_Sequence_Good_Plus3_TextColor: #000;--sapChart_Sequence_Good_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Good_Plus2: #56c776;--sapChart_Sequence_Good_Plus2_TextColor: #000;--sapChart_Sequence_Good_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Good_Plus1: #3ab05c;--sapChart_Sequence_Good_Plus1_TextColor: #000;--sapChart_Sequence_Good_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Good: #30914c;--sapChart_Sequence_Good_TextColor: #000;--sapChart_Sequence_Good_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Good_BorderColor: #30914c;--sapChart_Sequence_Good_Minus1: #287a40;--sapChart_Sequence_Good_Minus1_TextColor: #fff;--sapChart_Sequence_Good_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Good_Minus2: #226736;--sapChart_Sequence_Good_Minus2_TextColor: #fff;--sapChart_Sequence_Good_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Good_Minus3: #1c542c;--sapChart_Sequence_Good_Minus3_TextColor: #fff;--sapChart_Sequence_Good_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Good_Minus4: #13391e;--sapChart_Sequence_Good_Minus4_TextColor: #fff;--sapChart_Sequence_Good_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Good_Minus5: #0a1e10;--sapChart_Sequence_Good_Minus5_TextColor: #fff;--sapChart_Sequence_Good_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Neutral_Plus3: #edf0f3;--sapChart_Sequence_Neutral_Plus3_TextColor: #000;--sapChart_Sequence_Neutral_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Neutral_Plus2: #c2ccd7;--sapChart_Sequence_Neutral_Plus2_TextColor: #000;--sapChart_Sequence_Neutral_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Neutral_Plus1: #9aabbc;--sapChart_Sequence_Neutral_Plus1_TextColor: #000;--sapChart_Sequence_Neutral_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Neutral: #758ca4;--sapChart_Sequence_Neutral_TextColor: #000;--sapChart_Sequence_Neutral_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Neutral_BorderColor: #758ca4;--sapChart_Sequence_Neutral_Minus1: #5b728b;--sapChart_Sequence_Neutral_Minus1_TextColor: #fff;--sapChart_Sequence_Neutral_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Neutral_Minus2: #495e74;--sapChart_Sequence_Neutral_Minus2_TextColor: #fff;--sapChart_Sequence_Neutral_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Neutral_Minus3: #364a5f;--sapChart_Sequence_Neutral_Minus3_TextColor: #fff;--sapChart_Sequence_Neutral_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Neutral_Minus4: #233649;--sapChart_Sequence_Neutral_Minus4_TextColor: #fff;--sapChart_Sequence_Neutral_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Neutral_Minus5: #1a2633;--sapChart_Sequence_Neutral_Minus5_TextColor: #fff;--sapChart_Sequence_Neutral_Minus5_TextShadow: 0 0 .125rem #223548;--sapBreakpoint_S_Min: 0;--sapBreakpoint_M_Min: 600px;--sapBreakpoint_L_Min: 1024px;--sapBreakpoint_XL_Min: 1440px;--sapSapThemeId: sap_horizon;--sapHighlightTextColor: #fff;--sapButton_Emphasized_FontWeight: bold;--sapShell_BackgroundGradient: linear-gradient(to bottom, #eff1f2, #eff1f2) -}`,fe=`:host{--ui5-avatar-hover-box-shadow-offset: 0px 0px 0px .0625rem var(--sapAvatar_Hover_BorderColor);--ui5-avatar-initials-color: var(--sapContent_ImagePlaceholderForegroundColor);--ui5-avatar-border-radius: var(--sapElement_BorderCornerRadius);--ui5-avatar-border-radius-img-deduction: .0625rem;--ui5-avatar-initials-border: .0625rem solid var(--sapAvatar_1_BorderColor);--ui5-avatar-optional-border: .0625rem solid var(--sapGroup_ContentBorderColor);--ui5-avatar-accent1: var(--sapAvatar_1_Background);--ui5-avatar-accent2: var(--sapAvatar_2_Background);--ui5-avatar-accent3: var(--sapAvatar_3_Background);--ui5-avatar-accent4: var(--sapAvatar_4_Background);--ui5-avatar-accent5: var(--sapAvatar_5_Background);--ui5-avatar-accent6: var(--sapAvatar_6_Background);--ui5-avatar-accent7: var(--sapAvatar_7_Background);--ui5-avatar-accent8: var(--sapAvatar_8_Background);--ui5-avatar-accent9: var(--sapAvatar_9_Background);--ui5-avatar-accent10: var(--sapAvatar_10_Background);--ui5-avatar-placeholder: var(--sapContent_ImagePlaceholderBackground);--ui5-avatar-accent1-color: var(--sapAvatar_1_TextColor);--ui5-avatar-accent2-color: var(--sapAvatar_2_TextColor);--ui5-avatar-accent3-color: var(--sapAvatar_3_TextColor);--ui5-avatar-accent4-color: var(--sapAvatar_4_TextColor);--ui5-avatar-accent5-color: var(--sapAvatar_5_TextColor);--ui5-avatar-accent6-color: var(--sapAvatar_6_TextColor);--ui5-avatar-accent7-color: var(--sapAvatar_7_TextColor);--ui5-avatar-accent8-color: var(--sapAvatar_8_TextColor);--ui5-avatar-accent9-color: var(--sapAvatar_9_TextColor);--ui5-avatar-accent10-color: var(--sapAvatar_10_TextColor);--ui5-avatar-placeholder-color: var(--ui5-avatar-initials-color);--ui5-avatar-accent1-border-color: var(--sapAvatar_1_BorderColor);--ui5-avatar-accent2-border-color: var(--sapAvatar_2_BorderColor);--ui5-avatar-accent3-border-color: var(--sapAvatar_3_BorderColor);--ui5-avatar-accent4-border-color: var(--sapAvatar_4_BorderColor);--ui5-avatar-accent5-border-color: var(--sapAvatar_5_BorderColor);--ui5-avatar-accent6-border-color: var(--sapAvatar_6_BorderColor);--ui5-avatar-accent7-border-color: var(--sapAvatar_7_BorderColor);--ui5-avatar-accent8-border-color: var(--sapAvatar_8_BorderColor);--ui5-avatar-accent9-border-color: var(--sapAvatar_9_BorderColor);--ui5-avatar-accent10-border-color: var(--sapAvatar_10_BorderColor);--_ui5_avatar_outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5_avatar_focus_offset: .1875rem;--_ui5_avatar_overflow_button_focus_offset: .0625rem;--_ui5_avatar_fontsize_XS: 1rem;--_ui5_avatar_fontsize_S: 1.125rem;--_ui5_avatar_fontsize_M: 1.5rem;--_ui5_avatar_fontsize_L: 2.25rem;--_ui5_avatar_fontsize_XL: 3rem;--_ui5_avatar_icon_XS: var(--_ui5_avatar_fontsize_XS);--_ui5_avatar_icon_S: var(--_ui5_avatar_fontsize_S);--_ui5_avatar_icon_M: var(--_ui5_avatar_fontsize_M);--_ui5_avatar_icon_L: var(--_ui5_avatar_fontsize_L);--_ui5_avatar_icon_XL: var(--_ui5_avatar_fontsize_XL);--_ui5_avatar_group_button_focus_border: none;--_ui5_avatar_group_padding: .3rem;--_ui5-tag-height: 1rem;--_ui5-tag-padding-inline-icon-only: .313rem;--_ui5-tag-text-padding: .1875rem .25rem;--_ui5-tag-text-transform: none;--_ui5-tag-icon-width: .75rem;--_ui5-tag-icon-gap: .25rem;--_ui5-tag-font-weight: normal;--_ui5-tag-letter-spacing: normal;--ui5-tag-text-shadow: var(--sapContent_TextShadow);--ui5-tag-contrast-text-shadow: var(--sapContent_ContrastTextShadow);--ui5-tag-information-text-shadow: var(--ui5-tag-text-shadow);--ui5-tag-set2-color-scheme-1-color: var(--sapIndicationColor_1b_TextColor);--ui5-tag-set2-color-scheme-1-background: var(--sapIndicationColor_1b_Background);--ui5-tag-set2-color-scheme-1-border: var(--sapIndicationColor_1b_BorderColor);--ui5-tag-set2-color-scheme-1-hover-background: var(--sapIndicationColor_1b_Hover_Background);--ui5-tag-set2-color-scheme-1-active-color: var(--sapIndicationColor_1_Active_TextColor);--ui5-tag-set2-color-scheme-1-active-background: var(--sapIndicationColor_1_Active_Background);--ui5-tag-set2-color-scheme-1-active-border: var(--sapIndicationColor_1_Active_BorderColor);--ui5-tag-set2-color-scheme-2-color: var(--sapIndicationColor_2b_TextColor);--ui5-tag-set2-color-scheme-2-background: var(--sapIndicationColor_2b_Background);--ui5-tag-set2-color-scheme-2-border: var(--sapIndicationColor_2b_BorderColor);--ui5-tag-set2-color-scheme-2-hover-background: var(--sapIndicationColor_2b_Hover_Background);--ui5-tag-set2-color-scheme-2-active-color: var(--sapIndicationColor_2_Active_TextColor);--ui5-tag-set2-color-scheme-2-active-background: var(--sapIndicationColor_2_Active_Background);--ui5-tag-set2-color-scheme-2-active-border: var(--sapIndicationColor_2_Active_BorderColor);--ui5-tag-set2-color-scheme-3-color: var(--sapIndicationColor_3b_TextColor);--ui5-tag-set2-color-scheme-3-background: var(--sapIndicationColor_3b_Background);--ui5-tag-set2-color-scheme-3-border: var(--sapIndicationColor_3b_BorderColor);--ui5-tag-set2-color-scheme-3-hover-background: var(--sapIndicationColor_3b_Hover_Background);--ui5-tag-set2-color-scheme-3-active-color: var(--sapIndicationColor_3_Active_TextColor);--ui5-tag-set2-color-scheme-3-active-background: var(--sapIndicationColor_3_Active_Background);--ui5-tag-set2-color-scheme-3-active-border: var(--sapIndicationColor_3_Active_BorderColor);--ui5-tag-set2-color-scheme-4-color: var(--sapIndicationColor_4b_TextColor);--ui5-tag-set2-color-scheme-4-background: var(--sapIndicationColor_4b_Background);--ui5-tag-set2-color-scheme-4-border: var(--sapIndicationColor_4b_BorderColor);--ui5-tag-set2-color-scheme-4-hover-background: var(--sapIndicationColor_4b_Hover_Background);--ui5-tag-set2-color-scheme-4-active-color: var(--sapIndicationColor_4_Active_TextColor);--ui5-tag-set2-color-scheme-4-active-background: var(--sapIndicationColor_4_Active_Background);--ui5-tag-set2-color-scheme-4-active-border: var(--sapIndicationColor_4_Active_BorderColor);--ui5-tag-set2-color-scheme-5-color: var(--sapIndicationColor_5b_TextColor);--ui5-tag-set2-color-scheme-5-background: var(--sapIndicationColor_5b_Background);--ui5-tag-set2-color-scheme-5-border: var(--sapIndicationColor_5b_BorderColor);--ui5-tag-set2-color-scheme-5-hover-background: var(--sapIndicationColor_5b_Hover_Background);--ui5-tag-set2-color-scheme-5-active-color: var(--sapIndicationColor_5_Active_TextColor);--ui5-tag-set2-color-scheme-5-active-background: var(--sapIndicationColor_5_Active_Background);--ui5-tag-set2-color-scheme-5-active-border: var(--sapIndicationColor_5_Active_BorderColor);--ui5-tag-set2-color-scheme-6-color: var(--sapIndicationColor_6b_TextColor);--ui5-tag-set2-color-scheme-6-background: var(--sapIndicationColor_6b_Background);--ui5-tag-set2-color-scheme-6-border: var(--sapIndicationColor_6b_BorderColor);--ui5-tag-set2-color-scheme-6-hover-background: var(--sapIndicationColor_6b_Hover_Background);--ui5-tag-set2-color-scheme-6-active-color: var(--sapIndicationColor_6_Active_TextColor);--ui5-tag-set2-color-scheme-6-active-background: var(--sapIndicationColor_6_Active_Background);--ui5-tag-set2-color-scheme-6-active-border: var(--sapIndicationColor_6_Active_BorderColor);--ui5-tag-set2-color-scheme-7-color: var(--sapIndicationColor_7b_TextColor);--ui5-tag-set2-color-scheme-7-background: var(--sapIndicationColor_7b_Background);--ui5-tag-set2-color-scheme-7-border: var(--sapIndicationColor_7b_BorderColor);--ui5-tag-set2-color-scheme-7-hover-background: var(--sapIndicationColor_7b_Hover_Background);--ui5-tag-set2-color-scheme-7-active-color: var(--sapIndicationColor_7_Active_TextColor);--ui5-tag-set2-color-scheme-7-active-background: var(--sapIndicationColor_7_Active_Background);--ui5-tag-set2-color-scheme-7-active-border: var(--sapIndicationColor_7_Active_BorderColor);--ui5-tag-set2-color-scheme-8-color: var(--sapIndicationColor_8b_TextColor);--ui5-tag-set2-color-scheme-8-background: var(--sapIndicationColor_8b_Background);--ui5-tag-set2-color-scheme-8-border: var(--sapIndicationColor_8b_BorderColor);--ui5-tag-set2-color-scheme-8-hover-background: var(--sapIndicationColor_8b_Hover_Background);--ui5-tag-set2-color-scheme-8-active-color: var(--sapIndicationColor_8_Active_TextColor);--ui5-tag-set2-color-scheme-8-active-background: var(--sapIndicationColor_8_Active_Background);--ui5-tag-set2-color-scheme-8-active-border: var(--sapIndicationColor_8_Active_BorderColor);--ui5-tag-set2-color-scheme-9-color: var(--sapIndicationColor_9b_TextColor);--ui5-tag-set2-color-scheme-9-background: var(--sapIndicationColor_9b_Background);--ui5-tag-set2-color-scheme-9-border: var(--sapIndicationColor_9b_BorderColor);--ui5-tag-set2-color-scheme-9-hover-background: var(--sapIndicationColor_9b_Hover_Background);--ui5-tag-set2-color-scheme-9-active-color: var(--sapIndicationColor_9_Active_TextColor);--ui5-tag-set2-color-scheme-9-active-background: var(--sapIndicationColor_9_Active_Background);--ui5-tag-set2-color-scheme-9-active-border: var(--sapIndicationColor_9_Active_BorderColor);--ui5-tag-set2-color-scheme-10-color: var(--sapIndicationColor_10b_TextColor);--ui5-tag-set2-color-scheme-10-background: var(--sapIndicationColor_10b_Background);--ui5-tag-set2-color-scheme-10-border: var(--sapIndicationColor_10b_BorderColor);--ui5-tag-set2-color-scheme-10-hover-background: var(--sapIndicationColor_10b_Hover_Background);--ui5-tag-set2-color-scheme-10-active-color: var(--sapIndicationColor_10_Active_TextColor);--ui5-tag-set2-color-scheme-10-active-background: var(--sapIndicationColor_10_Active_Background);--ui5-tag-set2-color-scheme-10-active-border: var(--sapIndicationColor_10_Active_BorderColor);--_ui5-tag-height_size_l: 1.5rem;--_ui5-tag-min-width_size_l: 1.75rem;--_ui5-tag-font-size_size_l: 1.25rem;--_ui5-tag-icon_min_width_size_l: 1.25rem;--_ui5-tag-icon_min_height_size_l: 1.25rem;--_ui5-tag-icon_height_size_l: 1.25rem;--_ui5-tag-text_padding_size_l: .125rem .25rem;--_ui5_bar_base_height: var(--_ui5-compact-size, 2.5rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_bar_subheader_height: var(--_ui5-compact-size, 2.25rem) var(--_ui5-cozy-size, 3rem);--_ui5_bar-start-container-padding-start: 1rem;--_ui5_bar-mid-container-padding-start-end: .5rem;--_ui5_bar-end-container-padding-end: 1rem;--_ui5_bar_subheader_margin-top: -.0625rem;--_ui5_breadcrumbs_current_location_color: var(--sapTextColor);--_ui5_breadcrumbs_separator_color: var(--sapTextColor);--_ui5_breadcrumbs_margin: 0 0 .5rem 0;--_ui5_busy_indicator_color: var(--sapContent_BusyColor);--_ui5_busy_indicator_focus_outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5-button-badge-diameter: var(--_ui5-compact-size, .625rem) var(--_ui5-cozy-size, .75rem);--_ui5-calendar-legend-root-padding: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, .75rem);--_ui5-calendar-legend-root-width: var(--_ui5-compact-size, 16.75rem) var(--_ui5-cozy-size, 18.5rem);--_ui5-calendar-legend-item-box-margin: .25rem;--_ui5-calendar-legend-item-root-focus-border: var(--sapContent_FocusWidth) solid var(--sapContent_FocusColor);--_ui5-calendar-legend-item-root-focus-border-radius: .25rem;--_ui5-calendar-legend-item-root-width: 7.75rem;--_ui5-calendar-legend-item-box-dot-display: block;--_ui5_card_box_shadow: var(--sapContent_Shadow0);--_ui5_card_hover_box_shadow: var(--sapContent_Shadow2);--_ui5_card_border: none;--_ui5_card_border-radius: var(--sapTile_BorderCornerRadius);--_ui5_card_header_padding: 1rem 1rem .75rem 1rem;--_ui5_card_header_hover_bg: var(--sapTile_Hover_Background);--_ui5_card_header_active_bg: var(--sapTile_Active_Background);--_ui5_card_header_border: none;--_ui5_card_header_border_color: var(--sapTile_SeparatorColor);--_ui5_card_header_focus_border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5_card_header_focus_radius: var(--_ui5_card_border-radius);--_ui5_card_header_focus_bottom_radius: 0px;--_ui5_card_header_focus_offset: 0px;--_ui5_card_header_title_font_family: var(--sapFontHeaderFamily);--_ui5_card_header_title_font_size: var(--sapFontHeader6Size);--_ui5_card_header_title_font_weight: normal;--_ui5_card_header_subtitle_margin_top: .25rem;--ui5_carousel_background_color_solid: var(--sapGroup_ContentBackground);--ui5_carousel_background_color_translucent: var(--sapBackgroundColor);--ui5_carousel_button_size: 2.25rem;--ui5_carousel_inactive_dot_size: .25rem;--ui5_carousel_inactive_dot_margin: 0 .375rem;--ui5_carousel_inactive_dot_border: 1px solid var(--sapContent_ForegroundBorderColor);--ui5_carousel_inactive_dot_background: var(--sapContent_ForegroundBorderColor);--ui5_carousel_active_dot_border: 1px solid var(--sapContent_Selected_ForegroundColor);--ui5_carousel_active_dot_background: var(--sapContent_Selected_ForegroundColor);--ui5_carousel_navigation_button_active_box_shadow: none;--_ui5_checkbox_wrapper_padding: var(--_ui5-compact-size, var(--_ui5_checkbox_compact_wrapper_padding)) var(--_ui5-cozy-size, .6875rem);--_ui5_checkbox_width_height: var(--_ui5-compact-size, var(--_ui5_checkbox_compact_width_height)) var(--_ui5-cozy-size, 2.75rem);--_ui5_checkbox_transition: unset;--_ui5_checkbox_disabled_opacity: var(--sapContent_DisabledOpacity);--_ui5_checkbox_border_radius: 0;--_ui5_checkbox_hover_background: var(--sapContent_Selected_Hover_Background);--_ui5_checkbox_active_background: var(--sapContent_Selected_Hover_Background);--_ui5_checkbox_checkmark_warning_color: var(--sapField_WarningColor);--_ui5_checkbox_inner_warning_color: var(--sapField_WarningColor);--_ui5_checkbox_inner_information_color: var(--sapField_InformationColor);--_ui5_checkbox_checkmark_color: var(--sapContent_Selected_ForegroundColor);--_ui5_checkbox_focus_position: var(--_ui5-compact-size, .125rem) var(--_ui5-cozy-size, .3125rem);--_ui5_checkbox_focus_outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5_checkbox_focus_border_radius: .5rem;--_ui5_checkbox_outer_hover_background: transparent;--_ui5_checkbox_inner_width_height: var(--_ui5-compact-size, var(--_ui5_checkbox_compact_inner_size)) var(--_ui5-cozy-size, 1.375rem);--_ui5_checkbox_inner_border: solid var(--sapField_BorderWidth) var(--sapField_BorderColor);--_ui5_checkbox_inner_hover_border_color: var(--sapField_Hover_BorderColor);--_ui5_checkbox_inner_hover_checked_border_color: var(--sapField_Hover_BorderColor);--_ui5_checkbox_inner_selected_border_color: var(--sapField_BorderColor);--_ui5_checkbox_inner_disabled_border_color: var(--sapField_BorderColor);--_ui5_checkbox_inner_active_border_color: var(--sapField_Hover_BorderColor);--_ui5_checkbox_inner_border_radius: var(--sapField_BorderCornerRadius);--_ui5_checkbox_inner_error_border: var(--sapField_InvalidBorderWidth) solid var(--sapField_InvalidColor);--_ui5_checkbox_inner_warning_border: var(--sapField_WarningBorderWidth) solid var(--sapField_WarningColor);--_ui5_checkbox_inner_information_border: var(--sapField_InformationBorderWidth) solid var(--sapField_InformationColor);--_ui5_checkbox_inner_warning_background_hover: var(--sapField_Hover_Background);--_ui5_checkbox_inner_error_background_hover: var(--sapField_Hover_Background);--_ui5_checkbox_inner_success_background_hover: var(--sapField_Hover_Background);--_ui5_checkbox_inner_information_background_hover: var(--sapField_Hover_Background);--_ui5_checkbox_inner_success_border: var(--sapField_SuccessBorderWidth) solid var(--sapField_SuccessColor);--_ui5_checkbox_inner_readonly_border: var(--sapElement_BorderWidth) var(--sapField_ReadOnly_BorderColor) dashed;--_ui5_checkbox_inner_background: var(--sapField_Background);--_ui5_checkbox_wrapped_focus_padding: .5rem;--_ui5_checkbox_wrapped_focus_inset_block: var(--_ui5-compact-size, .125rem) var(--_ui5-cozy-size, var(--_ui5_checkbox_focus_position));--_ui5_checkbox_compact_wrapper_padding: .5rem;--_ui5_checkbox_compact_width_height: 2rem;--_ui5_checkbox_compact_inner_size: 1rem;--_ui5_checkbox_compact_focus_position: .375rem;--_ui5_checkbox_label_color: var(--sapField_TextColor);--_ui5_checkbox_label_offset: var(--_ui5-compact-size, var(--_ui5_checkbox_compact_wrapper_padding)) var(--_ui5-cozy-size, var(--_ui5_checkbox_wrapper_padding));--_ui5_checkbox_disabled_label_color: var(--sapContent_LabelColor);--_ui5_checkbox_default_focus_border: none;--_ui5_checkbox_focus_outline_display: block;--_ui5_checkbox_right_focus_distance: .3125rem;--_ui5_checkbox_icon_size: var(--_ui5-compact-size, .75rem) var(--_ui5-cozy-size, 1rem);--_ui5_color-palette-item-after-focus-border-radius: .3125rem;--_ui5_color-palette-item-hover-margin: var(--_ui5-compact-size, .0625rem) var(--_ui5-cozy-size, .0625rem);--_ui5_color-palette-row-height: var(--_ui5-compact-size, 7.5rem) var(--_ui5-cozy-size, 9.5rem);--_ui5_color-palette-button-height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 3rem);--_ui5_color-palette-item-before-focus-color: .125rem solid var(--sapContent_FocusColor);--_ui5_color-palette-item-before-focus-inset: var(--_ui5-compact-size, -.25rem) var(--_ui5-cozy-size, -.3125rem);--_ui5_color-palette-item-before-focus-hover-inset: -.0625rem;--_ui5_color-palette-item-after-focus-color: .0625rem solid var(--sapContent_ContrastFocusColor);--_ui5_color-palette-item-after-focus-inset: .0625rem;--_ui5_color-palette-item-after-focus-hover-inset: .0625rem;--_ui5_color-palette-item-before-focus-border-radius: .4375rem;--_ui5_color-palette-item-outer-border-radius: .25rem;--_ui5_color-palette-item-inner-border-radius: .1875rem;--_ui5_color-palette-item-hover-outer-border-radius: .4375rem;--_ui5_color-palette-item-hover-inner-border-radius: .375rem;--_ui5_color-palette-item-selected-focused-border-before: -.0625rem;--_ui5_color-palette-item-after-focus-not-selected-border: none;--_ui5_color-palette-item-after-not-focus-color: .0625rem solid var(--sapGroup_ContentBackground);--_ui5_color-palette-item-selected-focused-border: none;--_ui5-color-palette-item-mobile-focus-inset: 0px;--_ui5_color-palette-item-mobile-focus-sides-inset: -.375rem -.375rem;--_ui5_color-palette-item-after-mobile-focus-border: none;--_ui5-color-palette-item-background-color: transparent;--_ui5_color_picker_slider_handle_box_shadow: inset 0 0 0 .125rem var(--sapContent_ContrastShadowColor);--_ui5_color_picker_slider_handle_border: .125rem solid var(--sapField_BorderColor);--_ui5_color_picker_slider_handle_outline_hover: .125rem solid var(--sapContent_FocusColor);--_ui5_color_picker_slider_handle_outline_focus: .125rem solid var(--sapContent_FocusColor);--_ui5_color_picker_slider_handle_inner_border_color: #fff;--_ui5_color_picker_circle_outer_border: .0625rem solid var(--sapContent_ContrastShadowColor);--_ui5_color_picker_circle_inner_border: var(--sapField_Picker_BorderWidth) solid var(--sapField_BorderColor);--_ui5_color_picker_circle_inner_circle_size: .5625rem;--_ui5_color_picker_slider_handle_inline_focus: 1px solid var(--sapContent_ContrastFocusColor);--_ui5_color_picker_slider_handle_container_margin_top: none;--_ui5-datepicker_border_radius: .25rem;--_ui5-datepicker-hover-background: var(--sapField_Hover_Background);--_ui5_daypicker_item_margin: 2px;--_ui5_daypicker_item_border: none;--_ui5_daypicker_item_selected_border_color: var(--sapList_Background);--_ui5_daypicker_daynames_container_height: 2rem;--_ui5_daypicker_weeknumbers_container_padding_top: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2rem);--_ui5_daypicker_item_othermonth_background_color: var(--sapList_Background);--_ui5_daypicker_item_othermonth_color: var(--sapContent_LabelColor);--_ui5_daypicker_item_othermonth_hover_color: var(--sapContent_LabelColor);--_ui5_daypicker_item_border_radius: .4375rem;--_ui5_daypicker_dayname_color: var(--sapContent_LabelColor);--_ui5_daypicker_weekname_color: var(--sapContent_LabelColor);--_ui5_daypicker_item_now_selected_outline_offset: -.25rem;--_ui5_daypicker_item_selected_background: transparent;--_ui5_daypicker_item_selected_daytext_hover_background: transparent;--_ui5_daypicker_item_border_radius_focus_after: .1875rem;--_ui5_daypicker_item_selected_between_border: .5rem;--_ui5_daypicker_item_selected_between_background: var(--sapList_SelectionBackgroundColor);--_ui5_daypicker_item_selected_between_text_font: var(--sapFontFamily);--_ui5_daypicker_item_selected_between_hover_background: var(--sapList_Hover_SelectionBackground);--_ui5_daypicker_item_now_box_shadow: inset 0 0 0 .35rem var(--sapList_Background);--_ui5_daypicker_item_selected_text_outline: .0625rem solid var(--sapContent_FocusColor);--_ui5_daypicker_item_now_not_selected_inset: 0;--_ui5_daypicker_item_now_inset: .3125rem;--_ui5_daypicker_item_now_border_color: var(--sapLegend_CurrentDateTime);--_ui5_daypicker_item_weeekend_filter: brightness(105%);--_ui5_daypicker_item_selected_hover: var(--sapList_Hover_Background);--_ui5_daypicker_item_border_radius_item: .5rem;--_ui5_daypicker_two_calendar_item_now_inset: .3125rem;--_ui5_daypicker_item_selected__secondary_type_text_outline: .0625rem solid var(--sapContent_FocusColor);--_ui5_daypicker_two_calendar_item_now_day_text_content: "";--_ui5_daypicker_two_calendar_item_now_selected_border_width: .125rem;--_ui5_daypicker_two_calendar_item_border_radius: .5rem;--_ui5_daypicker_two_calendar_item_border_focus_border_radius: .375rem;--_ui5_daypicker_two_calendar_item_no_selected_inset: 0;--_ui5_daypicker_two_calendar_item_selected_now_border_radius_focus: .1875rem;--_ui5_daypicker_two_calendar_item_no_selected_focus_inset: .1875rem;--_ui5_daypicker_two_calendar_item_no_select_focus_border_radius: .3125rem;--_ui5_dp_two_calendar_item_secondary_text_border_radios: .25rem;--_ui5_daypicker_two_calendar_item_now_selected_border_inset: .125rem;--_ui5_daypicker_special_day_top: var(--_ui5-compact-size, 1.625rem) var(--_ui5-cozy-size, 2.5rem);--_ui5_daypicker_special_day_border_bottom_radius: .5rem;--_ui5_daypicker_special_day_before_border_color: var(--sapList_Background);--_ui5_daypicker_selected_item_special_day_width: calc(100% - .125rem) ;--_ui5_daypicker_selected_item_now_special_day_top: var(--_ui5-compact-size, 1.5625rem) var(--_ui5-cozy-size, 2.4375rem);--_ui5_daypicker_selected_item_now_special_day_width: calc(100% - .1875rem) ;--_ui5_daypicker_selected_item_now_special_day_border_bottom_radius: 0;--_ui5-daypicker_item_selected_now_border_radius: .5rem;--_ui5_daypicker_selected_item_now_special_day_border_bottom_radius_alternate: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, .5rem);--_ui5_daypicker_two_calendar_item_margin_bottom: var(--_ui5-compact-size, 0) var(--_ui5-cozy-size, 0);--_ui5_daypicker_twocalendar_item_special_day_now_inset: .3125rem;--_ui5_daypicker_twocalendar_item_special_day_now_border_radius: .25rem;--_ui5_daypicker_item_now_focus_margin: 0;--_ui5_daypicker_special_day_border_top: none;--_ui5_daypicker_special_day_selected_border_radius_bottom: .25rem;--_ui5_daypicker_specialday_focused_top: var(--_ui5-compact-size, 1.3125rem) var(--_ui5-cozy-size, 2.125rem);--_ui5_daypicker_specialday_focused_width: calc(100% - .75rem) ;--_ui5_daypicker_specialday_focused_border_bottom: var(--_ui5-compact-size, .25rem) var(--_ui5-cozy-size, 0);--_ui5_daypicker_item_now_specialday_top: var(--_ui5-compact-size, 1.4375rem) var(--_ui5-cozy-size, 2.3125rem);--_ui5_daypicker_item_now_specialday_width: calc(100% - .5rem) ;--_ui5_daypicker_twocalendar_item_special_day_after_border_width: .125rem;--_ui5_daypicker_twocalendar_item_special_day_dot: .375rem;--_ui5_daypicker_twocalendar_item_special_day_top: var(--_ui5-compact-size, 1.25rem) var(--_ui5-cozy-size, 2rem);--_ui5_daypicker_twocalendar_item_special_day_right: var(--_ui5-compact-size, 1.25rem) var(--_ui5-cozy-size, 1.4375rem);--_ui5_daypicker_item_selected_border: .0625rem solid var(--sapList_SelectionBorderColor);--_ui5_daypicker_item_not_selected_focus_border: .125rem solid var(--sapContent_FocusColor);--_ui5_daypicker_item_selected_focus_color: var(--sapContent_FocusColor);--_ui5_daypicker_item_selected_focus_width: .125rem;--_ui5_daypicker_item_no_selected_inset: .375rem;--_ui5_daypicker_item_now_border_focus_after: .125rem solid var(--sapContent_FocusColor);--_ui5_daypicker_item_now_border_radius_focus_after: .3125rem;--_ui5_day_picker_item_selected_now_border_focus: .125rem solid var(--sapContent_FocusColor);--_ui5_day_picker_item_selected_now_border_radius_focus: .1875rem;--_ui5_daypicker_item_selected_text_font: var(--sapFontBoldFamily);--_ui5_daypicker_item_now_selected_between_inset: .25rem;--_ui5_daypicker_item_now_selected_between_border: .0625rem solid var(--sapContent_Selected_ForegroundColor);--_ui5_daypicker_item_now_selected_between_border_radius: .1875rem;--_ui5_daypicker_item_select_between_border: 1px solid var(--sapContent_Selected_ForegroundColor);--_ui5-dp-item_withsecondtype_border: .25rem;--_ui5_dialog_header_focus_bottom_offset: 2px;--_ui5_dialog_header_focus_top_offset: 1px;--_ui5_dialog_header_focus_left_offset: 1px;--_ui5_dialog_header_focus_right_offset: 1px;--_ui5_dialog_header_border_radius: var(--sapElement_BorderCornerRadius);--_ui5_dialog_header_state_line_height: .0625rem;--_ui5_file_uploader_display_input_width: calc(100% - var(--_ui5_input_icon_width));--_ui5_file_uploader_tokenizer_width: calc(100% - 2 * var(--_ui5_input_icon_width) - var(--_ui5_input_inner_space_to_tokenizer));--_ui5_table_cell_valign: center;--_ui5_table_cell_min_width: 2.75rem;--_ui5_table_navigated_cell_width: .25rem;--_ui5_first_table_cell_horizontal_padding: 1rem;--_ui5_table_cell_horizontal_padding: .5rem;--_ui5_table_cell_vertical_padding: .25rem;--_ui5_table_row_actions_gap: .25rem;--_ui5_table_row_alternating_background: var(--sapTableRow_AlternatingBackground, var(--sapList_AlternatingBackground));--_ui5_table_row_alternating_hover_background: var(--sapTableRow_AlternatingHoverBackground, var(--sapList_Hover_Background));--_ui5_table_row_alternating_selection_background: var(--sapTableRow_AlternatingSelectionBackground, var(--sapList_SelectionBackgroundColor));--_ui5_table_row_alternating_selection_hover_background: var(--sapTableRow_AlternatingSelectionHoverBackground, var(--sapList_Hover_SelectionBackground));--ui5-group-header-listitem-background-color: var(--sapList_GroupHeaderBackground);--ui5-icon-focus-border-radius: .25rem;--_ui5_input_width: 13.125rem;--_ui5_input_min_width: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_input_min_width_tokenizer_available: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 3rem);--_ui5_input_height: var(--_ui5-compact-size, var(--sapElement_Compact_Height)) var(--_ui5-cozy-size, var(--sapElement_Height));--_ui5_input_margin_top_bottom: var(--_ui5-compact-size, .1875rem) var(--_ui5-cozy-size, .25rem);--_ui5_input_hover_border: none;--_ui5_input_value_state_error_hover_background: var(--sapField_Hover_Background);--_ui5_input_background_color: var(--sapField_Background);--_ui5_input_border_radius: var(--sapField_BorderCornerRadius);--_ui5_input_focus_border_radius: .25rem;--_ui5_input_readonly_focus_border_radius: 0;--_ui5-input-border: none;--_ui5_input_placeholder_style: italic;--_ui5_input_placeholder_color: var(--sapField_PlaceholderTextColor);--_ui5_input_bottom_border_height: 0;--_ui5_input_bottom_border_color: transparent;--_ui5_input_focused_border_color: var(--sapField_Hover_BorderColor);--_ui5_input_state_border_width: .125rem;--_ui5_input_information_border_width: .125rem;--_ui5_input_error_font_weight: normal;--_ui5_input_warning_font_weight: normal;--_ui5_input_focus_border_width: 1px;--_ui5_input_error_warning_border_style: none;--_ui5_input_error_warning_font_style: inherit;--_ui5_input_error_warning_text_indent: 0;--_ui5_input_disabled_border_color: var(--sapField_BorderColor);--_ui5-input_disabled_background: var(--sapField_Background);--_ui5_input_readonly_border: none;--_ui5_input_readonly_border_color: var(--sapField_ReadOnly_BorderColor);--_ui5_input_readonly_background: var(--sapField_ReadOnly_Background);--_ui5_input_custom_icon_padding: var(--_ui5-compact-size, .3125rem .5rem .25rem .5rem) var(--_ui5-cozy-size, .625rem .625rem .5625rem .625rem);--_ui5_input_error_warning_custom_icon_padding: var(--_ui5-compact-size, .3125rem .5rem .1875rem .5rem) var(--_ui5-cozy-size, .625rem .625rem .5rem .625rem);--_ui5_input_error_warning_custom_focused_icon_padding: var(--_ui5-compact-size, .3125rem .5rem .25rem .5rem) var(--_ui5-cozy-size, .625rem .625rem .5625rem .625rem);--_ui5_input_information_custom_icon_padding: var(--_ui5-compact-size, .3125rem .5rem .1875rem .5rem) var(--_ui5-cozy-size, .625rem .625rem .5rem .625rem);--_ui5_input_information_custom_focused_icon_padding: var(--_ui5-compact-size, .3125rem .5rem .25rem .5rem) var(--_ui5-cozy-size, .625rem .625rem .5625rem .625rem);--_ui5_input_error_warning_icon_padding: var(--_ui5-compact-size, .3125rem .5rem .1875rem .5rem) var(--_ui5-cozy-size, .625rem .625rem .5rem .625rem);--_ui5_input_error_warning_focused_icon_padding: var(--_ui5-compact-size, .3125rem .5rem .25rem .5rem) var(--_ui5-cozy-size, .625rem .625rem .5625rem .625rem);--_ui5_input_information_icon_padding: var(--_ui5-compact-size, .3125rem .5rem .1875rem .5rem) var(--_ui5-cozy-size, .625rem .625rem .5rem .625rem);--_ui5_input_information_focused_icon_padding: var(--_ui5-compact-size, .3125rem .5rem .25rem .5rem) var(--_ui5-cozy-size, .625rem .625rem .5625rem .625rem);--_ui5_input_disabled_opacity: var(--sapContent_DisabledOpacity);--_ui5_input_icon_min_width: var(--_ui5-compact-size, var(--_ui5_input_compact_min_width)) var(--_ui5-cozy-size, 2.25rem);--_ui5_input_compact_min_width: 2rem;--_ui5_input_transition: none;--_ui5-input-value-state-icon-display: none;--_ui5_input_focused_value_state_error_background: var(--sapField_Hover_Background);--_ui5_input_focused_value_state_warning_background: var(--sapField_Hover_Background);--_ui5_input_focused_value_state_success_background: var(--sapField_Hover_Background);--_ui5_input_focused_value_state_information_background: var(--sapField_Hover_Background);--_ui5_input_value_state_error_border_color: var(--sapField_InvalidColor);--_ui5_input_focused_value_state_error_border_color: var(--sapField_InvalidColor);--_ui5_input_focused_value_state_error_focus_outline_color: var(--sapField_InvalidColor);--_ui5_input_focused_value_state_warning_focus_outline_color: var(--sapField_WarningColor);--_ui5_input_focused_value_state_success_focus_outline_color: var(--sapField_SuccessColor);--_ui5_input_value_state_warning_border_color: var(--sapField_WarningColor);--_ui5_input_focused_value_state_warning_border_color: var(--sapField_WarningColor);--_ui5_input_value_state_success_border_color: var(--sapField_SuccessColor);--_ui5_input_focused_value_state_success_border_color: var(--sapField_SuccessColor);--_ui5_input_value_state_success_border_width: 1px;--_ui5_input_value_state_information_border_color: var(--sapField_InformationColor);--_ui5_input_focused_value_state_information_border_color: var(--sapField_InformationColor);--_ui5_input_focus_offset: 0;--_ui5_input_readonly_focus_offset: .125rem;--ui5_input_focus_pseudo_element_content: "";--_ui5_input_value_state_error_warning_placeholder_font_weight: normal;--_ui5_input_focus_outline_color: var(--sapContent_FocusColor);--_ui5-input_error_placeholder_color: var(--sapField_PlaceholderTextColor);--_ui5_input_icon_width: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.25rem);--_ui5_input_icon_wrapper_height: calc(100% - 1px) ;--_ui5_input_icon_wrapper_state_height: calc(100% - 2px) ;--_ui5_input_icon_wrapper_success_state_height: calc(100% - var(--_ui5_input_value_state_success_border_width));--_ui5-input-icons-count: 0;--_ui5_input_tokenizer_min_width: 3.5rem;--_ui5_input_icon_padding: var(--_ui5-compact-size, .3125rem .5rem .25rem .5rem) var(--_ui5-cozy-size, .625rem .625rem .5625rem .625rem);--_ui5_input_icon_color: var(--sapField_TextColor);--_ui5_input_icon_pressed_color: var(--sapButton_Active_TextColor);--_ui5_input_icon_pressed_bg: var(--sapField_Hover_Background);--_ui5_input_icon_hover_bg: var(--sapField_Focus_Background);--_ui5_input_icon_border_radius: var(--sapField_BorderCornerRadius);--_ui5_input_icon_box_shadow: var(--sapField_Hover_Shadow);--_ui5_input_icon_border: none;--_ui5_input_error_icon_box_shadow: var(--sapContent_Negative_Shadow);--_ui5_input_warning_icon_box_shadow: var(--sapContent_Critical_Shadow);--_ui5_input_information_icon_box_shadow: var(--sapContent_Informative_Shadow);--_ui5_input_success_icon_box_shadow: var(--sapContent_Positive_Shadow);--_ui5_input_icon_error_pressed_color: var(--sapButton_Reject_Selected_TextColor);--_ui5_input_icon_warning_pressed_color: var(--sapButton_Attention_Selected_TextColor);--_ui5_input_icon_information_pressed_color: var(--sapButton_Selected_TextColor);--_ui5_input_icon_success_pressed_color: var(--sapButton_Accept_Selected_TextColor);--_ui5_link_text_decoration: var(--sapLink_TextDecoration);--_ui5_link_hover_text_decoration: var(--sapLink_Hover_TextDecoration);--_ui5_link_focused_hover_text_decoration: none;--_ui5_link_focused_hover_text_color: var(--sapContent_ContrastTextColor);--_ui5_link_active_text_decoration: var(--sapLink_Active_TextDecoration);--_ui5_link_outline: none;--_ui5_link_focus_border-radius: .125rem;--_ui5_link_focus_background_color: var(--sapContent_FocusColor);--_ui5_link_focus_color: var(--sapContent_ContrastTextColor);--_ui5_link_focus_text_decoration: underline;--_ui5_link_subtle_text_decoration: underline;--_ui5_link_subtle_text_decoration_hover: none;--_ui5_link_large_interactive_area_height: 1.5rem;--ui5_list_footer_text_color: var(--sapList_FooterTextColor);--ui5-listitem-background-color: var(--sapList_Background);--ui5-listitem-border-bottom: var(--sapList_BorderWidth) solid var(--sapList_BorderColor);--ui5-listitem-selected-border-bottom: 1px solid var(--sapList_SelectionBorderColor);--ui5-listitem-focused-selected-border-bottom: 1px solid var(--sapList_SelectionBorderColor);--_ui5-listitembase_disabled_opacity: .5;--_ui5_product_switch_item_border: none;--_ui5_menu_popover_border_radius: var(--sapPopover_BorderCornerRadius);--_ui5_menu_item_padding: var(--_ui5-compact-size, 0 .75rem 0 .5rem) var(--_ui5-cozy-size, 0 1rem 0 .75rem);--_ui5_menu_item_submenu_icon_right: var(--_ui5-compact-size, .75rem) var(--_ui5-cozy-size, 1rem);--_ui5_monthpicker_item_margin: .0625rem;--_ui5_monthpicker_item_border: .0625rem solid var(--sapButton_Lite_BorderColor);--_ui5_monthpicker_item_border_radius: .5rem;--_ui5_monthpicker_item_hover_border: .0625rem solid var(--sapButton_Lite_Hover_BorderColor);--_ui5_monthpicker_item_active_border: .0625rem solid var(--sapButton_Lite_Active_BorderColor);--_ui5_monthpicker_item_selected_border: .0625rem solid var(--sapButton_Selected_BorderColor);--_ui5_monthpicker_item_selected_hover_border: .0625rem solid var(--sapButton_Selected_Hover_BorderColor);--_ui5_message_strip_padding: .4375rem 2.5rem .4375rem 2.5rem;--_ui5_message_strip_padding_block_no_icon: .4375rem .4375rem;--_ui5_message_strip_padding_inline_no_icon: 1rem 2.5rem;--_ui5_message_strip_border_width: var(--sapMessage_BorderWidth);--_ui5_message_strip_icon_top: .4375rem;--_ui5_message_strip_close_button_top: .125rem;--_ui5_message_strip_close_button_right: .1875rem;--_ui5_message_strip_close_button_color_set_1_background: var(--sapMessage_Button_Hover_Background);--_ui5_message_strip_close_button_color_set_2_background: var(--sapMessage_Button_Hover_Background);--_ui5_message_strip_close_button_color_set_1_color: var(--sapContent_ContrastIconColor);--_ui5_message_strip_scheme_1_set_2_background: var(--sapIndicationColor_1b);--_ui5_message_strip_scheme_1_set_2_border_color: var(--sapIndicationColor_1b_BorderColor);--_ui5_message_strip_scheme_2_set_2_background: var(--sapIndicationColor_2b);--_ui5_message_strip_scheme_2_set_2_border_color: var(--sapIndicationColor_2b_BorderColor);--_ui5_message_strip_scheme_3_set_2_background: var(--sapIndicationColor_3b);--_ui5_message_strip_scheme_3_set_2_border_color: var(--sapIndicationColor_3b_BorderColor);--_ui5_message_strip_scheme_4_set_2_background: var(--sapIndicationColor_4b);--_ui5_message_strip_scheme_4_set_2_border_color: var(--sapIndicationColor_4b_BorderColor);--_ui5_message_strip_scheme_5_set_2_background: var(--sapIndicationColor_5b);--_ui5_message_strip_scheme_5_set_2_border_color: var(--sapIndicationColor_5b_BorderColor);--_ui5_message_strip_scheme_6_set_2_background: var(--sapIndicationColor_6b);--_ui5_message_strip_scheme_6_set_2_border_color: var(--sapIndicationColor_6b_BorderColor);--_ui5_message_strip_scheme_7_set_2_background: var(--sapIndicationColor_7b);--_ui5_message_strip_scheme_7_set_2_border_color: var(--sapIndicationColor_7b_BorderColor);--_ui5_message_strip_scheme_8_set_2_background: var(--sapIndicationColor_8b);--_ui5_message_strip_scheme_8_set_2_border_color: var(--sapIndicationColor_8b_BorderColor);--_ui5_message_strip_scheme_9_set_2_background: var(--sapIndicationColor_9b);--_ui5_message_strip_scheme_9_set_2_border_color: var(--sapIndicationColor_9b_BorderColor);--_ui5_message_strip_scheme_10_set_2_background: var(--sapIndicationColor_10b);--_ui5_message_strip_scheme_10_set_2_border_color: var(--sapIndicationColor_10b_BorderColor);--_ui5_panel_focus_border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5_panel_header_height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_panel_button_root_width: var(--_ui5-compact-size, 2.75rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_panel_button_root_height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_panel_border_radius: var(--sapGroup_BorderCornerRadius);--_ui5_panel_border_radius_expanded: var(--sapElement_BorderCornerRadius) var(--sapElement_BorderCornerRadius) 0 0;--_ui5_panel_default_header_border: .0625rem solid var(--sapGroup_TitleBorderColor);--_ui5_panel_border_bottom: none;--_ui5_panel_icon_color: var(--sapButton_Lite_TextColor);--_ui5_panel_header_padding_right: .5rem;--_ui5_panel_header_button_wrapper_padding: var(--_ui5-compact-size, .1875rem .25rem) var(--_ui5-cozy-size, .25rem);--_ui5_panel_focus_offset: 0px;--_ui5_panel_focus_bottom_offset: -1px;--_ui5_panel_content_padding: .625rem 1rem;--_ui5_panel_header_background_color: var(--sapGroup_TitleBackground);--_ui5_popover_background: var(--sapGroup_ContentBackground);--_ui5_popover_box_shadow: var(--sapContent_Shadow2);--_ui5_popover_no_arrow_box_shadow: var(--sapContent_Shadow1);--_ui5_popup_content_padding_s: 1rem;--_ui5_popup_content_padding_m_l: 2rem;--_ui5_popup_content_padding_xl: 3rem;--_ui5_popup_header_footer_padding_s: 1rem;--_ui5_popup_header_footer_padding_m_l: 2rem;--_ui5_popup_header_footer_padding_xl: 3rem;--_ui5_popup_viewport_margin: 10px;--_ui5_popup_header_prop_header_text_alignment: flex-start;--_ui5_popup_border_radius: .5rem;--_ui5_popup_header_shadow: var(--sapContent_HeaderShadow);--_ui5_popup_header_border: none;--_ui5_popup_block_layer_background: var(--sapBlockLayer_Background);--_ui5_popup_block_layer_opacity: .2;--_ui5_progress_indicator_background_none: var(--sapProgress_Background);--_ui5_progress_indicator_background_error: var(--sapProgress_NegativeBackground);--_ui5_progress_indicator_background_warning: var(--sapProgress_CriticalBackground);--_ui5_progress_indicator_background_success: var(--sapProgress_PositiveBackground);--_ui5_progress_indicator_background_information: var(--sapProgress_InformationBackground);--_ui5_progress_indicator_value_state_none: var(--sapProgress_Value_Background);--_ui5_progress_indicator_value_state_error: var(--sapProgress_Value_NegativeBackground);--_ui5_progress_indicator_value_state_warning: var(--sapProgress_Value_CriticalBackground);--_ui5_progress_indicator_value_state_success: var(--sapProgress_Value_PositiveBackground);--_ui5_progress_indicator_value_state_information: var(--sapProgress_Value_InformationBackground);--_ui5_progress_indicator_border_color_error: var(--sapErrorBorderColor);--_ui5_progress_indicator_border_color_warning: var(--sapWarningBorderColor);--_ui5_progress_indicator_border_color_success: var(--sapSuccessBorderColor);--_ui5_progress_indicator_border_color_information: var(--sapInformationBorderColor);--_ui5_progress_indicator_color: var(--sapField_TextColor);--_ui5_progress_indicator_bar_color: var(--sapProgress_TextColor);--_ui5_progress_indicator_border: none;--_ui5_progress_indicator_bar_border_max: none;--_ui5_progress_indicator_icon_visibility: inline-block;--_ui5_progress_indicator_side_points_visibility: block;--_ui5_progress_indicator_padding_novalue: .3125rem;--_ui5_progress_indicator_host_height: unset;--_ui5_progress_indicator_root_border_radius: .25rem;--_ui5_progress_indicator_root_height: .375rem;--_ui5_progress_indicator_root_overflow: visible;--_ui5_progress_indicator_bar_height: .625rem;--_ui5_progress_indicator_bar_border_radius: .5rem;--_ui5_progress_indicator_remaining_bar_overflow: visible;--_ui5_progress_indicator_icon_size: var(--sapFontLargeSize);--_ui5_progress_indicator_value_margin: 0 0 .1875rem 0;--_ui5_progress_indicator_padding: 1.25rem 0 .75rem 0;--_ui5_progress_indicator_padding_end: 1.25rem;--_ui5_progress_indicator_host_box_sizing: border-box;--_ui5_progress_indicator_root_position: relative;--_ui5_progress_indicator_root_min_height: .375rem;--_ui5_progress_indicator_remaining_bar_border_radius: 0 .5rem .5rem 0;--_ui5_progress_indicator_remaining_bar_position: absolute;--_ui5_progress_indicator_remaining_bar_width: 100%;--_ui5_progress_indicator_icon_position: absolute;--_ui5_progress_indicator_icon_right_position: -1.25rem;--_ui5_progress_indicator_value_position: absolute;--_ui5_progress_indicator_value_top_position: -1.3125rem;--_ui5_progress_indicator_value_left_position: 0;--_ui5_progress_indicator_value_state_error_icon_color: var(--sapProgress_Value_NegativeTextColor);--_ui5_progress_indicator_value_state_warning_icon_color: var(--sapProgress_Value_CriticalTextColor);--_ui5_progress_indicator_value_state_success_icon_color: var(--sapProgress_Value_PositiveTextColor);--_ui5_progress_indicator_value_state_information_icon_color: var(--sapProgress_Value_InformationTextColor);--_ui5_rating_indicator_border_radius: .5rem;--_ui5_rating_indicator_outline_offset: -.125rem;--_ui5_rating_indicator_item_height: var(--_ui5-compact-size, 1em) var(--_ui5-cozy-size, 1em);--_ui5_rating_indicator_item_width: var(--_ui5-compact-size, 1em) var(--_ui5-cozy-size, 1em);--_ui5_rating_indicator_readonly_item_height: var(--_ui5-compact-size, .75em) var(--_ui5-cozy-size, .75em);--_ui5_rating_indicator_readonly_item_width: var(--_ui5-compact-size, .75em) var(--_ui5-cozy-size, .75em);--_ui5_rating_indicator_readonly_item_spacing: .1875rem .1875rem;--_ui5_rating_indicator_component_spacing: var(--_ui5-compact-size, .5rem 0px) var(--_ui5-cozy-size, .5rem 0px);--_ui5_rating_indicator_component_padding: .25rem;--_ui5_rating_indicator_item_size_s: 1.375rem;--_ui5_rating_indicator_item_size_l: 2rem;--_ui5_segmented_btn_item_border_left: .0625rem;--_ui5_segmented_btn_item_border_right: .0625rem;--_ui5_segmented_btn_background_color: var(--sapButton_Lite_Background);--_ui5_segmented_btn_border_color: var(--sapButton_Lite_BorderColor);--_ui5_segmented_btn_hover_box_shadow: none;--_ui5_button_focused_border: .125rem solid var(--sapContent_FocusColor);--_ui5_button_focused_border_radius: .375rem;--_ui5_button_focused_inner_border_radius: .375rem;--_ui5_button_base_min_width: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.25rem);--_ui5_button_base_height: var(--_ui5-compact-size, var(--sapElement_Compact_Height)) var(--_ui5-cozy-size, var(--sapElement_Height));--_ui5_button_border_radius: var(--sapButton_BorderCornerRadius);--_ui5_button_base_padding: var(--_ui5-compact-size, .4375rem) var(--_ui5-cozy-size, .5625rem);--_ui5_button_base_icon_margin: .375rem;--_ui5_button_text_shadow: none;--_ui5_button_pressed_focused_border_color: var(--sapContent_FocusColor);--_ui5_button_fontFamily: var(--sapButton_FontFamily);--_ui5_button_emphasized_focused_border_color: var(--sapContent_ContrastFocusColor);--_ui5_button_emphasized_focused_border_before: .125rem solid var(--sapContent_FocusColor);--_ui5_button_emphasized_focused_active_border_color: transparent;--_ui5_button_emphasized_border_width: .0625rem;--_ui5_radio_button_min_width: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_radio_button_hover_fill: var(--sapField_Selector_Hover_Background);--_ui5_radio_button_hover_fill_error: var(--sapField_Selector_Hover_InvalidBackground);--_ui5_radio_button_hover_fill_warning: var(--sapField_Selector_Hover_WarningBackground);--_ui5_radio_button_hover_fill_success: var(--sapField_Selector_Hover_SuccessBackground);--_ui5_radio_button_hover_fill_information: var(--sapField_Selector_Hover_InformationBackground);--_ui5_radio_button_border_width: var(--sapContent_FocusWidth);--_ui5_radio_button_checked_fill: var(--sapSelectedColor);--_ui5_radio_button_checked_error_fill: var(--sapField_InvalidColor);--_ui5_radio_button_checked_warning_fill: var(--sapField_WarningColor);--_ui5_radio_button_checked_success_fill: var(--sapField_SuccessColor);--_ui5_radio_button_checked_information_fill: var(--sapField_InformationColor);--_ui5_radio_button_warning_error_border_dash: 0;--_ui5_radio_button_outer_ring_color: var(--sapField_BorderColor);--_ui5_radio_button_outer_ring_width: var(--sapField_BorderWidth);--_ui5_radio_button_outer_ring_bg: var(--sapField_Background);--_ui5_radio_button_outer_ring_hover_color: var(--sapField_Hover_BorderColor);--_ui5_radio_button_outer_ring_active_color: var(--sapField_Hover_BorderColor);--_ui5_radio_button_outer_ring_checked_hover_color: var(--sapField_Hover_BorderColor);--_ui5_radio_button_outer_ring_padding: var(--_ui5-compact-size, 0 .5rem) var(--_ui5-cozy-size, 0 .6875rem);--_ui5_radio_button_outer_ring_padding_with_label: var(--_ui5-compact-size, 0 .5rem) var(--_ui5-cozy-size, 0 .6875rem);--_ui5_radio_button_border_radius: .5rem;--_ui5_radio_button_border: none;--_ui5_radio_button_focus_outline: block;--_ui5_radio_button_focus_dist: var(--_ui5-compact-size, .1875rem) var(--_ui5-cozy-size, .375rem);--_ui5_radio_button_color: var(--sapField_BorderColor);--_ui5_radio_button_label_offset: 1px;--_ui5_radio_button_label_color: var(--sapField_TextColor);--_ui5_radio_button_inner_ring_radius: 27.5%;--_ui5_radio_button_read_only_border_type: 4, 2;--_ui5_radio_button_inner_ring_color: var(--sapContent_Selected_ForegroundColor);--_ui5_radio_button_information_border_width: var(--sapField_InformationBorderWidth);--_ui5_radio_button_read_only_border_width: var(--sapElement_BorderWidth);--_ui5_radio_button_read_only_inner_ring_color: var(--sapField_TextColor);--_ui5_switch_height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_switch_width: var(--_ui5-compact-size, 2.75rem) var(--_ui5-cozy-size, 2.5rem);--_ui5_switch_min_width: var(--_ui5-compact-size, none) var(--_ui5-cozy-size, none);--_ui5_switch_with_label_width: var(--_ui5-compact-size, 2.75rem) var(--_ui5-cozy-size, 2.875rem);--_ui5_switch_focus_outline: none;--_ui5_switch_root_outline_top: var(--_ui5-compact-size, .25rem) var(--_ui5-cozy-size, .5rem);--_ui5_switch_root_outline_bottom: var(--_ui5-compact-size, .25rem) var(--_ui5-cozy-size, .5rem);--_ui5_switch_root_outline_left: -.125rem;--_ui5_switch_root_outline_right: -.125rem;--_ui5_switch_foucs_border_size: 1px;--_ui5-switch-root-border-radius: 0;--_ui5-switch-root-box-shadow: none;--_ui5_switch_root_after_outline: .125rem solid var(--sapContent_FocusColor);--_ui5_switch_disabled_opacity: var(--sapContent_DisabledOpacity);--_ui5_switch_transform: var(--_ui5-compact-size, translateX(100%) translateX(-1.375rem)) var(--_ui5-cozy-size, translateX(100%) translateX(-1.625rem));--_ui5_switch_transform_with_label: var(--_ui5-compact-size, translateX(100%) translateX(-1.875rem)) var(--_ui5-cozy-size, translateX(100%) translateX(-1.875rem));--_ui5_switch_rtl_transform: var(--_ui5-compact-size, translateX(1.375rem) translateX(-100%)) var(--_ui5-cozy-size, translateX(-100%) translateX(1.625rem));--_ui5_switch_rtl_transform_with_label: var(--_ui5-compact-size, translateX(1.875rem) translateX(-100%)) var(--_ui5-cozy-size, translateX(-100%) translateX(1.875rem));--_ui5_switch_track_with_label_width: var(--_ui5-compact-size, 2.75rem) var(--_ui5-cozy-size, 2.875rem);--_ui5_switch_track_with_label_height: var(--_ui5-compact-size, 1.25rem) var(--_ui5-cozy-size, 1.5rem);--_ui5_switch_track_width: var(--_ui5-compact-size, 2.75rem) var(--_ui5-cozy-size, 2.5rem);--_ui5_switch_track_height: var(--_ui5-compact-size, 1.25rem) var(--_ui5-cozy-size, 1.5rem);--_ui5_switch_track_border_radius: .75rem;--_ui5-switch-track-border: 1px solid;--_ui5_switch_track_active_background_color: var(--sapButton_Track_Selected_Background);--_ui5_switch_track_inactive_background_color: var(--sapButton_Track_Background);--_ui5_switch_track_hover_active_background_color: var(--sapButton_Track_Selected_Hover_Background);--_ui5_switch_track_hover_inactive_background_color: var(--sapButton_Track_Hover_Background);--_ui5_switch_track_active_border_color: var(--sapButton_Track_Selected_BorderColor);--_ui5_switch_track_inactive_border_color: var(--sapButton_Track_BorderColor);--_ui5_switch_track_hover_active_border_color: var(--sapButton_Track_Selected_Hover_BorderColor);--_ui5_switch_track_hover_inactive_border_color: var(--sapButton_Track_Hover_BorderColor);--_ui5_switch_track_semantic_accept_background_color: var(--sapButton_Track_Positive_Background);--_ui5_switch_track_semantic_reject_background_color: var(--sapButton_Track_Negative_Background);--_ui5_switch_track_semantic_hover_accept_background_color: var(--sapButton_Track_Positive_Hover_Background);--_ui5_switch_track_semantic_hover_reject_background_color: var(--sapButton_Track_Negative_Hover_Background);--_ui5_switch_track_semantic_accept_border_color: var(--sapButton_Track_Positive_BorderColor);--_ui5_switch_track_semantic_reject_border_color: var(--sapButton_Track_Negative_BorderColor);--_ui5_switch_track_semantic_hover_accept_border_color: var(--sapButton_Track_Positive_Hover_BorderColor);--_ui5_switch_track_semantic_hover_reject_border_color: var(--sapButton_Track_Negative_Hover_BorderColor);--_ui5_switch_track_transition: none;--_ui5_switch_track_icon_display: inline-block;--_ui5_switch_handle_width: var(--_ui5-compact-size, 1.25rem) var(--_ui5-cozy-size, 1.5rem);--_ui5_switch_handle_height: var(--_ui5-compact-size, 1rem) var(--_ui5-cozy-size, 1.25rem);--_ui5_switch_handle_with_label_width: var(--_ui5-compact-size, 1.75rem) var(--_ui5-cozy-size, 1.75rem);--_ui5_switch_handle_with_label_height: var(--_ui5-compact-size, 1rem) var(--_ui5-cozy-size, 1.25rem);--_ui5_switch_handle_border: var(--_ui5_switch_handle_border_width) solid var(--sapButton_Handle_BorderColor);--_ui5_switch_handle_border_width: .125rem;--_ui5_switch_handle_border_radius: 1rem;--_ui5_switch_handle_active_background_color: var(--sapButton_Handle_Selected_Background);--_ui5_switch_handle_inactive_background_color: var(--sapButton_Handle_Background);--_ui5_switch_handle_hover_active_background_color: var(--sapButton_Handle_Selected_Hover_Background);--_ui5_switch_handle_hover_inactive_background_color: var(--sapButton_Handle_Hover_Background);--_ui5_switch_handle_active_border_color: var(--sapButton_Handle_Selected_BorderColor);--_ui5_switch_handle_inactive_border_color: var(--sapButton_Handle_BorderColor);--_ui5_switch_handle_hover_active_border_color: var(--sapButton_Handle_Selected_BorderColor);--_ui5_switch_handle_hover_inactive_border_color: var(--sapButton_Handle_BorderColor);--_ui5_switch_handle_semantic_accept_background_color: var(--sapButton_Handle_Positive_Background);--_ui5_switch_handle_semantic_reject_background_color: var(--sapButton_Handle_Negative_Background);--_ui5_switch_handle_semantic_hover_accept_background_color: var(--sapButton_Handle_Positive_Hover_Background);--_ui5_switch_handle_semantic_hover_reject_background_color: var(--sapButton_Handle_Negative_Hover_Background);--_ui5_switch_handle_semantic_accept_border_color: var(--sapButton_Handle_Positive_BorderColor);--_ui5_switch_handle_semantic_reject_border_color: var(--sapButton_Handle_Negative_BorderColor);--_ui5_switch_handle_semantic_hover_accept_border_color: var(--sapButton_Handle_Positive_BorderColor);--_ui5_switch_handle_semantic_hover_reject_border_color: var(--sapButton_Handle_Negative_BorderColor);--_ui5_switch_handle_on_hover_box_shadow: 0 0 0 .125rem var(--sapButton_Handle_Selected_Hover_BorderColor);--_ui5_switch_handle_off_hover_box_shadow: 0 0 0 .125rem var(--sapButton_Handle_Hover_BorderColor);--_ui5_switch_handle_semantic_on_hover_box_shadow: 0 0 0 .125rem var(--sapButton_Handle_Positive_Hover_BorderColor);--_ui5_switch_handle_semantic_off_hover_box_shadow: 0 0 0 .125rem var(--sapButton_Handle_Negative_Hover_BorderColor);--_ui5_switch_handle_left: .0625rem;--_ui5-switch-slider-texts-display: inline;--_ui5_switch_text_font_family: var(--sapContent_IconFontFamily);--_ui5_switch_text_font_size: var(--_ui5-compact-size, var(--sapFontSize)) var(--_ui5-cozy-size, var(--sapFontLargeSize));--_ui5_switch_text_with_label_font_family: "72-Condensed-Bold", "72", "72full", Arial, Helvetica, sans-serif;--_ui5_switch_text_with_label_font_size: var(--sapFontSmallSize);--_ui5_switch_text_with_label_width: 1.75rem;--_ui5_switch_text_width: var(--_ui5-compact-size, 1rem) var(--_ui5-cozy-size, 1.25rem);--_ui5_switch_text_inactive_left: .1875rem;--_ui5_switch_text_inactive_left_alternate: .0625rem;--_ui5_switch_text_inactive_right: auto;--_ui5_switch_text_inactive_right_alternate: 0;--_ui5_switch_text_active_left: var(--_ui5-compact-size, .1875rem) var(--_ui5-cozy-size, .1875rem);--_ui5_switch_text_active_left_alternate: .0625rem;--_ui5_switch_text_active_color: var(--sapButton_Handle_Selected_TextColor);--_ui5_switch_text_inactive_color: var(--sapButton_Handle_TextColor);--_ui5_switch_text_semantic_accept_color: var(--sapButton_Handle_Positive_TextColor);--_ui5_switch_text_semantic_reject_color: var(--sapButton_Handle_Negative_TextColor);--_ui5_switch_text_overflow: hidden;--_ui5_switch_text_z_index: 1;--_ui5_switch_text_hidden: hidden;--_ui5_switch_text_min_width: none;--_ui5_switch_icon_width: 1rem;--_ui5_switch_icon_height: 1rem;--_ui5_switch_readonly_track_border_style: dashed;--_ui5_switch_readonly_handle_border_style: solid;--_ui5_switch_root_after_boreder_radius: 1rem;--_ui5_select_hover_icon_left_border: none;--_ui5_select_label_color: var(--sapField_TextColor);--_ui5_select_icon_width: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.25rem);--_ui5_select_icon_wrapper_height: calc(100% - .0625rem) ;--_ui5_select_icon_wrapper_state_height: calc(100% - .125rem) ;--_ui5_split_button_focused_border: .125rem solid var(--sapContent_FocusColor);--_ui5_split_button_focused_border_radius: .375rem;--_ui5_split_button_middle_separator_left: -.0625rem;--_ui5_split_button_middle_separator_hover_display: none;--_ui5_split_button_text_button_right_border_width: .0625rem;--_ui5_split_button_transparent_hover_background: var(--sapButton_Lite_Hover_Background);--_ui5_split_button_host_transparent_hover_background: transparent;--_ui5_split_button_transparent_hover_color: var(--sapButton_TextColor);--_ui5_split_button_transparent_disabled_background: transparent;--_ui5_split_button_inner_focused_border_radius_inner: .375rem;--_ui5_split_button_emphasized_separator_color: transparent;--_ui5_split_button_positive_separator_color: transparent;--_ui5_split_button_negative_separator_color: transparent;--_ui5_split_button_attention_separator_color: transparent;--_ui5_split_button_attention_separator_color_default: var(--sapButton_Attention_TextColor);--_ui5_split_button_host_default_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_BorderColor);--_ui5_split_button_host_attention_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_Attention_BorderColor);--_ui5_split_button_host_emphasized_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_Emphasized_BorderColor);--_ui5_split_button_host_positive_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_Accept_BorderColor);--_ui5_split_button_host_negative_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_Reject_BorderColor);--_ui5_split_button_host_transparent_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_Lite_BorderColor);--_ui5_split_button_host_transparent_hover_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_BorderColor);--_ui5_split_text_button_border_color: transparent;--_ui5_split_text_button_background_color: transparent;--_ui5_split_text_button_emphasized_border: var(--sapButton_BorderWidth) solid var(--sapButton_Emphasized_BorderColor);--_ui5_split_text_button_emphasized_border_width: .0625rem;--_ui5_split_text_button_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5_split_text_button_positive_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Accept_BorderColor);--_ui5_split_text_button_negative_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Reject_BorderColor);--_ui5_split_text_button_attention_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Attention_BorderColor);--_ui5_split_text_button_transparent_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5_split_arrow_button_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5_split_arrow_button_emphasized_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Emphasized_BorderColor);--_ui5_split_arrow_button_positive_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Accept_BorderColor);--_ui5_split_arrow_button_negative_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Reject_BorderColor);--_ui5_split_arrow_button_attention_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Attention_BorderColor);--_ui5_split_arrow_button_transparent_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5_split_text_button_hover_border_right: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5_split_text_button_positive_hover_border_right: var(--sapButton_BorderWidth) solid var(--sapButton_Accept_BorderColor);--_ui5_split_text_button_negative_hover_border_right: var(--sapButton_BorderWidth) solid var(--sapButton_Reject_BorderColor);--_ui5_split_text_button_attention_hover_border_right: var(--sapButton_BorderWidth) solid var(--sapButton_Attention_BorderColor);--_ui5_split_text_button_transparent_hover_border_right: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5_split_button_middle_separator_hover_display_emphasized: none;--_ui5_tc_header_height: var(--_ui5-compact-size, var(--_ui5_tc_item_height)) var(--_ui5-cozy-size, var(--_ui5_tc_item_height));--_ui5_tc_header_height_text_only: var(--_ui5_tc_item_text_only_height);--_ui5_tc_header_height_text_with_additional_text: var(--_ui5_tc_item_text_only_with_additional_text_height);--_ui5_tc_header_box_shadow: var(--sapContent_HeaderShadow);--_ui5_tc_header_border_bottom: .0625rem solid var(--sapObjectHeader_Background);--_ui5_tc_header_background: var(--sapObjectHeader_Background);--_ui5_tc_header_background_translucent: var(--sapObjectHeader_Background);--_ui5_tc_content_background: var(--sapBackgroundColor);--_ui5_tc_content_background_translucent: var(--sapGroup_ContentBackground);--_ui5_tc_headeritem_padding: 1rem;--_ui5_tc_headerItem_color: var(--sapTab_TextColor);--_ui5_tc_headerItem_additional_text_color: var(--sapContent_LabelColor);--_ui5_tc_headerItem_text_hover_color: var(--sapTab_Selected_TextColor);--_ui5_tc_headerItem_text_selected_color: var(--sapTab_Selected_TextColor);--_ui5_tc_headerItem_text_selected_hover_color: var(--sapSelectedColor);--_ui5_tc_headeritem_text_font_weight: normal;--_ui5_tc_headerItem_additional_text_font_weight: normal;--_ui5_tc_headerItem_neutral_border_color: var(--sapTab_Neutral_ForegroundColor);--_ui5_tc_headerItem_transition: none;--_ui5_tc_headerItemContent_border_radius: .125rem .125rem 0 0;--_ui5_tc_headerItemContent_border_bg: transparent;--_ui5_tc_headerItem_neutral_border_bg: transparent;--_ui5_tc_headerItem_positive_border_bg: transparent;--_ui5_tc_headerItem_negative_border_bg: transparent;--_ui5_tc_headerItem_critical_border_bg: transparent;--_ui5_tc_headerItemContent_border_height: 0;--_ui5_tc_headerItem_focus_border: .125rem solid var(--sapContent_FocusColor);--_ui5_tc_headerItem_text_focus_border_offset_left: 0px;--_ui5_tc_headerItem_text_focus_border_offset_right: 0px;--_ui5_tc_headerItem_text_focus_border_offset_top: 0px;--_ui5_tc_headerItem_text_focus_border_offset_bottom: 0px;--_ui5_tc_headerItem_mixed_mode_focus_border_offset_left: .75rem;--_ui5_tc_headerItem_mixed_mode_focus_border_offset_right: .625rem;--_ui5_tc_headerItem_mixed_mode_focus_border_offset_top: .75rem;--_ui5_tc_headerItem_mixed_mode_focus_border_offset_bottom: .75rem;--_ui5_tc_headerItemContent_default_focus_border: none;--_ui5_tc_headerItemContent_focus_border_radius: 0;--_ui5_tc_headerItemSemanticIcon_display: none;--_ui5_tc_headerItemSemanticIcon_size: .75rem;--_ui5_tc_headerItem_focus_border_radius: .375rem;--_ui5_tc_mixedMode_itemText_color: var(--sapTextColor);--_ui5_tc_mixedMode_itemText_font_family: var(--sapFontFamily);--_ui5_tc_mixedMode_itemText_font_size: var(--sapFontSmallSize);--_ui5_tc_mixedMode_itemText_font_weight: normal;--_ui5_tc_headerItem_expand_button_margin_inline_start: 0rem;--_ui5_tc_headerItem_single_click_expand_button_margin_inline_start: .25rem;--_ui5_tc_headerItem_expand_button_border_radius: .25rem;--_ui5_tc_headerItem_expand_button_separator_display: inline-block;--_ui5_tc_overflowItem_positive_color: var(--sapPositiveColor);--_ui5_tc_overflowItem_negative_color: var(--sapNegativeColor);--_ui5_tc_overflowItem_critical_color: var(--sapCriticalColor);--_ui5_tc_overflowItem_focus_offset: .125rem;--_ui5_tc_overflowItem_indent: .5rem;--_ui5_tc_overflowItem_extra_indent: 0rem;--_ui5_tc_headerItemIcon_border: .125rem solid var(--sapTab_ForegroundColor);--_ui5_tc_headerItemIcon_semantic_selected_color: var(--sapGroup_ContentBackground);--_ui5_tc_overflowItem_default_color: var(--sapTab_TextColor);--_ui5_tc_overflowItem_current_color: CurrentColor;--_ui5_tc_content_border_bottom: .0625rem solid var(--sapObjectHeader_BorderColor);--_ui5_tc_headerItem_focus_border_offset: -5px;--_ui5_tc_headerItemIcon_focus_border_radius: 50%;--_ui5_tc_overflow_text_color: var(--sapTextColor);--_ui5_text_max_lines: initial;--_ui5_textarea_state_border_width: .125rem;--_ui5_textarea_information_border_width: .125rem;--_ui5_textarea_placeholder_font_style: italic;--_ui5_textarea_value_state_error_warning_placeholder_font_weight: normal;--_ui5_textarea_error_placeholder_font_style: italic;--_ui5_textarea_error_placeholder_color: var(--sapField_PlaceholderTextColor);--_ui5_textarea_error_hover_background_color: var(--sapField_Hover_Background);--_ui5_textarea_hover_border: none;--_ui5_textarea_error_warning_border_style: none;--_ui5_textarea_disabled_opacity: .4;--_ui5_textarea_line_height: 1.5;--_ui5_textarea_focus_pseudo_element_content: "";--_ui5_textarea_focused_value_state_error_background: var(--sapField_Hover_Background);--_ui5_textarea_focused_value_state_warning_background: var(--sapField_Hover_Background);--_ui5_textarea_focused_value_state_success_background: var(--sapField_Hover_Background);--_ui5_textarea_focused_value_state_information_background: var(--sapField_Hover_Background);--_ui5_textarea_focused_value_state_error_focus_outline_color: var(--sapField_InvalidColor);--_ui5_textarea_focused_value_state_warning_focus_outline_color: var(--sapField_WarningColor);--_ui5_textarea_focused_value_state_success_focus_outline_color: var(--sapField_SuccessColor);--_ui5_textarea_focus_offset: 0;--_ui5_textarea_readonly_focus_offset: 1px;--_ui5_textarea_value_state_focus_offset: 1px;--_ui5_textarea_focus_outline_color: var(--sapField_Active_BorderColor);--_ui5_textarea_min_height: var(--_ui5-compact-size, 1.625rem) var(--_ui5-cozy-size, 2.25rem);--_ui5_textarea_wrapper_padding: .0625rem;--_ui5_textarea_success_wrapper_padding: .0625rem;--_ui5_textarea_warning_error_wrapper_padding: .0625rem .0625rem .125rem .0625rem;--_ui5_textarea_information_wrapper_padding: .0625rem .0625rem .125rem .0625rem;--_ui5_textarea_inner_width: calc(100% - (2 * var(--_ui5_textarea_wrapper_padding)));--_ui5_textarea_padding_right_and_left: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, .625rem);--_ui5_textarea_padding_right_and_left_error_warning: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, .625rem);--_ui5_textarea_padding_right_and_left_information: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, .625rem);--_ui5_textarea_padding_right_and_left_readonly: var(--_ui5-compact-size, .4375rem) var(--_ui5-cozy-size, .5625rem);--_ui5_textarea_padding_top: var(--_ui5-compact-size, .1875rem) var(--_ui5-cozy-size, .5rem);--_ui5_textarea_padding_bottom: var(--_ui5-compact-size, .125rem) var(--_ui5-cozy-size, .4375rem);--_ui5_textarea_padding_top_readonly: var(--_ui5-compact-size, .125rem) var(--_ui5-cozy-size, .4375rem);--_ui5_textarea_padding_bottom_readonly: var(--_ui5-compact-size, .0625rem) var(--_ui5-cozy-size, .375rem);--_ui5_textarea_padding_top_error_warning: var(--_ui5-compact-size, .1875rem) var(--_ui5-cozy-size, .5rem);--_ui5_textarea_padding_bottom_error_warning: var(--_ui5-compact-size, .125rem) var(--_ui5-cozy-size, .4375rem);--_ui5_textarea_padding_top_information: var(--_ui5-compact-size, .1875rem) var(--_ui5-cozy-size, .5rem);--_ui5_textarea_padding_bottom_information: var(--_ui5-compact-size, .125rem) var(--_ui5-cozy-size, .4375rem);--_ui5_textarea_margin: var(--_ui5-compact-size, .1875rem 0) var(--_ui5-cozy-size, .25rem 0);--_ui5_textarea_readonly_border_style: dashed;--_ui5_textarea_focus_border_radius: .25rem;--_ui5-time_picker_border_radius: .25rem;--_ui5_toast_vertical_offset: 3rem;--_ui5_toast_horizontal_offset: 2rem;--_ui5_toast_background: var(--sapIndicationColor_9_Background);--_ui5_toast_shadow: var(--sapContent_Lite_Shadow);--_ui5_toast_offset_width: -.1875rem;--_ui5_toggle_button_emphasized_text_shadow: none;--_ui5_yearpicker_item_margin: .0625rem;--_ui5_yearpicker_item_border: .0625rem solid var(--sapButton_Lite_BorderColor);--_ui5_yearpicker_item_border_radius: .5rem;--_ui5_yearpicker_item_hover_border: .0625rem solid var(--sapButton_Lite_Hover_BorderColor);--_ui5_yearpicker_item_selected_border: .0625rem solid var(--sapButton_Selected_BorderColor);--_ui5_yearpicker_item_selected_hover_border: .0625rem solid var(--sapButton_Selected_Hover_BorderColor);--_ui5_calendar_header_arrow_button_border: .0625rem solid var(--sapList_Hover_Background);--_ui5_calendar_header_arrow_button_border_radius: .5rem;--_ui5_calendar_header_middle_button_width: 6.25rem;--_ui5_calendar_header_middle_button_flex: 1 1 auto;--_ui5_calendar_header_middle_button_focus_border_radius: .5rem;--_ui5_calendar_header_middle_button_focus_border: none;--_ui5_calendar_header_middle_button_focus_after_display: block;--_ui5_calendar_header_middle_button_focus_after_width: calc(100% - .375rem) ;--_ui5_calendar_header_middle_button_focus_after_height: calc(100% - .375rem) ;--_ui5_calendar_header_middle_button_focus_after_top_offset: .125rem;--_ui5_calendar_header_middle_button_focus_after_left_offset: .125rem;--_ui5_calendar_header_arrow_button_box_shadow: 0 0 .125rem 0 rgb(85 107 130 / 72%);--_ui5_calendar_header_middle_button_focus_background: transparent;--_ui5_calendar_header_middle_button_focus_outline: .125rem solid var(--sapContent_FocusColor);--_ui5_calendar_header_middle_button_focus_active_outline: .0625rem solid var(--sapContent_FocusColor);--_ui5_calendar_header_middle_button_focus_active_background: transparent;--_ui5_calendar_header_middle_button_focus_after_border: none;--_ui5_calendar_header_midcontainer_gap: var(--_ui5-compact-size, 0) var(--_ui5-cozy-size, .5rem);--_ui5_calendar_header_arrow_button_flex_shrink: var(--_ui5-compact-size, 1) var(--_ui5-cozy-size, 0);--_ui5_token_background: var(--sapButton_TokenBackground);--_ui5_token_readonly_background: var(--sapButton_TokenBackground);--_ui5_token_readonly_color: var(--sapContent_LabelColor);--_ui5_token_border_radius: .375rem;--_ui5_token_focus_outline_width: .0625rem;--_ui5_token_outline_offset: var(--_ui5-compact-size, -.125rem) var(--_ui5-cozy-size, .125rem);--_ui5_token_text_color: var(--sapTextColor);--_ui5_token_right_margin: var(--_ui5-compact-size, .25rem) var(--_ui5-cozy-size, .3125rem);--_ui5_token_left_padding: var(--_ui5-compact-size, .25rem) var(--_ui5-cozy-size, .3125rem);--_ui5_token_readonly_padding: var(--_ui5-compact-size, .125rem .25rem) var(--_ui5-cozy-size, .25rem .3125rem);--_ui5_token_selected_focus_outline: none;--_ui5_token_focus_outline: none;--_ui5_token_focused_selected_border: 1px solid var(--sapButton_Selected_BorderColor);--ui5_token_focus_pseudo_element_content: "";--_ui5_token_focus_offset: var(--_ui5-compact-size, -.125rem) var(--_ui5-cozy-size, -.25rem);--_ui5_token_selected_text_font_family: var(--sapFontSemiboldDuplexFamily);--_ui5_token_selected_internal_border_bottom: .125rem solid var(--sapButton_Selected_BorderColor);--_ui5_token_selected_internal_border_bottom_radius: .1875rem;--_ui5_token_icon_padding: var(--_ui5-compact-size, .375rem .375rem) var(--_ui5-cozy-size, .25rem .5rem);--_ui5_token_focus_outline_border_radius: .5rem;--_ui5_tokenizer_padding: var(--_ui5-compact-size, .25rem) var(--_ui5-cozy-size, .3125rem);--_ui5_tokenizer_gap: var(--_ui5-compact-size, .375em .25rem) var(--_ui5-cozy-size, .625rem .25rem);--_ui5_tokenizer_n_more_text_color: var(--sapLinkColor);--_ui5_tokenizer-popover_offset: var(--_ui5-compact-size, .1875rem) var(--_ui5-cozy-size, .3125rem);--_ui5_slider_inner_min_width: 4rem;--_ui5_slider_progress_border_width: .0625rem;--_ui5_slider_disabled_opacity: .4;--_ui5_slider_active_progress_left: -.0625rem;--_ui5_slider_handle_height: var(--_ui5-compact-size, 1.25rem) var(--_ui5-cozy-size, 1.5rem);--_ui5_slider_handle_width: var(--_ui5-compact-size, 1.5rem) var(--_ui5-cozy-size, 2rem);--_ui5_slider_handle_focus_border: .125rem solid var(--sapContent_FocusColor);--ui5_slider_handle_outline: none;--ui5_slider_handle_outline_offset: .0625rem;--_ui5_slider_handle_background: var(--sapSlider_HandleBackground);--_ui5_slider_handle_border: .0625rem solid var(--sapSlider_HandleBorderColor);--_ui5_slider_handle_border_radius: .5rem;--_ui5_slider_handle_hover_background: var(--sapSlider_Hover_HandleBackground);--_ui5_slider_handle_hover_border: .0625rem solid var(--sapSlider_Hover_HandleBorderColor);--_ui5_slider_handle_background_focus: var(--sapSlider_Active_RangeHandleBackground);--_ui5_slider_handle_active_border: .125rem solid var(--sapSlider_Active_HandleBorderColor);--_ui5_slider_handle_icon_display: inline-block;--_ui5_slider_handle_icon_size: .875rem;--_ui5_slider_handle_box_sizing: border-box;--_ui5_slider_scale_background: var(--sapSlider_Background);--_ui5_slider_scale_progress_background: var(--sapSlider_Selected_Background);--_ui5_slider_scale_progress_border: none;--_ui5_slider_scale_dots_distance: var(--_ui5-compact-size, -.75rem) var(--_ui5-cozy-size, -1rem);--_ui5_slider_scale_dots_display: inline-block;--_ui5_slider_scale_tickmark_height: .5rem;--_ui5_slider_scale_root_box_sizing: border-box;--_ui5_slider_scale_progress_top: 0;--_ui5_slider_scale_progress_height: 100%;--_ui5_range_slider_progress_focus_display: block;--_ui5_range_slider_progress_focus_top: calc(-1 * ((var(--_ui5_slider_handle_height) / 2) + .1875rem) + var(--_ui5_slider_progress_border_width) + .0625rem - .125rem - .0625rem);--_ui5_range_slider_progress_focus_left: calc(-1 * ((var(--_ui5_slider_handle_width) / 2) + .1875rem + var(--_ui5_slider_progress_border_width)) - .125rem);--_ui5_range_slider_progress_focus_right: calc(-1 * ((var(--_ui5_slider_handle_width) / 2) + .1875rem + var(--_ui5_slider_progress_border_width)) - .125rem - .0625rem);--_ui5_range_slider_progress_focus_height: calc(var(--_ui5_slider_handle_height) + .375rem + .25rem + .0625rem);--_ui5_range_slider_progress_focus_padding: 0 1rem 0 1rem;--_ui5_range_slider_progress_focus_border: var(--sapContent_FocusWidth) solid var(--sapContent_FocusColor);--_ui5_range_slider_progress_focus_border_radius: .5rem;--_ui5_range_slider_legacy_progress_focus_display: none;--_ui5_range_slider_focus_outline_width: 100%;--_ui5_slider_progress_outline: .0625rem var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5_range_slider_focus_outline_radius: 0;--_ui5_slider_progress_outline_offset: var(--_ui5-compact-size, -.625rem) var(--_ui5-cozy-size, -.8125rem);--_ui5_slider_outer_height: var(--_ui5-compact-size, 1.3125rem) var(--_ui5-cozy-size, 1.6875rem);--_ui5_slider_progress_outline_offset_left: 0;--_ui5_slider_scale_progress_border_radius: .25rem;--_ui5_slider_scale_border: none;--_ui5_slider_root_side_padding: var(--_ui5-compact-size, 0 .75rem) var(--_ui5-cozy-size, 0 1rem);--_ui5_slider_height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_value_state_message_border: none;--_ui5_value_state_header_border: none;--_ui5_input_value_state_icon_display: inline-block;--_ui5_value_state_message_padding: .5rem .5rem .5rem 1.875rem;--_ui5_value_state_message_padding_phone: .5rem .5rem .5rem 2.375rem;--_ui5_value_state_header_padding: .5rem .5rem .5rem 1.875rem;--_ui5_value_state_message_popover_box_shadow: var(--sapContent_Shadow1);--_ui5_value_state_message_icon_width: 1rem;--_ui5_value_state_message_icon_height: 1rem;--_ui5_input_value_state_icon_offset: .5rem;--_ui5_value_state_header_offset: -.25rem;--_ui5_value_state_message_popover_border_radius: var(--sapPopover_BorderCornerRadius);--_ui5_value_state_header_box_shadow_error: inset 0 -.0625rem var(--sapField_InvalidColor);--_ui5_value_state_header_box_shadow_information: inset 0 -.0625rem var(--sapField_InformationColor);--_ui5_value_state_header_box_shadow_success: inset 0 -.0625rem var(--sapField_SuccessColor);--_ui5_value_state_header_box_shadow_warning: inset 0 -.0625rem var(--sapField_WarningColor);--_ui5_value_state_message_line_height: 1.125rem;--_ui5_value_state_message_popover_header_min_height: 2rem;--_ui5_value_state_message_popover_header_min_width: 6rem;--_ui5_value_state_message_popover_header_max_width: 22rem;--_ui5_value_state_message_popover_header_width: auto;--_ui5_value_state_message_icon_offset_phone: 1rem;--_ui5_value_state_header_border_bottom: none;--_ui5-toolbar-padding-left: .5rem;--_ui5-toolbar-padding-right: .5rem;--_ui5-toolbar-item-margin-left: 0;--_ui5-toolbar-item-margin-right: .25rem;--_ui5_step_input_input_error_background_color: inherit;--_ui5-step_input_button_state_hover_background_color: var(--sapField_Hover_Background);--_ui5_step_input_border_style: none;--_ui5_step_input_border_style_hover: none;--_ui5_step_input_button_background_color: transparent;--_ui5_step_input_input_border: none;--_ui5_step_input_input_margin_top: 0;--_ui5_step_input_button_display: inline-flex;--_ui5_step_input_button_left: 0;--_ui5_step_input_button_right: 0;--_ui5_step_input_input_border_focused_after: .125rem solid #0070f2;--_ui5_step_input_input_border_top_bottom_focused_after: 0;--_ui5_step_input_input_border_radius_focused_after: .25rem;--_ui5_step_input_input_information_border_color_focused_after: var(--sapField_InformationColor);--_ui5_step_input_input_warning_border_color_focused_after: var(--sapField_WarningColor);--_ui5_step_input_input_success_border_color_focused_after: var(--sapField_SuccessColor);--_ui5_step_input_input_error_border_color_focused_after: var(--sapField_InvalidColor);--_ui5_step_input_disabled_button_background: none;--_ui5_step_input_border_color_hover: none;--_ui5_step_input_border_hover: none;--_ui5_input_input_background_color: transparent;--_ui5_step_input_min_width: var(--_ui5-compact-size, 6rem) var(--_ui5-cozy-size, 7.25rem);--_ui5_step_input_padding: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.5rem);--_ui5_load_more_padding: 0;--_ui5_load_more_border: 1px top solid transparent;--_ui5_load_more_border_radius: none;--_ui5_load_more_outline_width: var(--sapContent_FocusWidth);--_ui5_load_more_border-bottom: var(--sapList_BorderWidth) solid var(--sapList_BorderColor);--_ui5_calendar_height: var(--_ui5-compact-size, 18rem) var(--_ui5-cozy-size, 24.5rem);--_ui5_calendar_width: var(--_ui5-compact-size, 17.75rem) var(--_ui5-cozy-size, 20rem);--_ui5_calendar_left_right_padding: var(--_ui5-compact-size, .25rem) var(--_ui5-cozy-size, .5rem);--_ui5_calendar_top_bottom_padding: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, 1rem);--_ui5_calendar_header_height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 3rem);--_ui5_calendar_header_arrow_button_width: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.5rem);--_ui5_calendar_header_padding: var(--_ui5-compact-size, 0) var(--_ui5-cozy-size, .25rem 0);--_ui5_calendar_multiple_layout: var(--_ui5-compact-size, column) var(--_ui5-cozy-size, row);--_ui5_calendar_multiple_gap: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, 1rem);--_ui5_calendar_multiple_width: var(--_ui5-compact-size, var(--_ui5_calendar_width)) var(--_ui5-cozy-size, calc((var(--_ui5_calendar_width) * 2) + (var(--_ui5_calendar_left_right_padding) * 2)));--_ui5_calendar_overlay_top: var(--_ui5-compact-size, 54%) var(--_ui5-cozy-size, 57%);--_ui5_calendar_overlay_width: var(--_ui5-compact-size, 100%) var(--_ui5-cozy-size, 16rem);--_ui5_checkbox_root_side_padding: var(--_ui5-compact-size, var(--_ui5_checkbox_wrapped_focus_padding)) var(--_ui5-cozy-size, .6875rem);--_ui5_checkbox_partially_icon_size: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, .75rem);--_ui5_custom_list_item_rb_min_width: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_day_picker_item_width: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.25rem);--_ui5_day_picker_item_height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.875rem);--_ui5_day_picker_empty_height: var(--_ui5-compact-size, 2.125rem) var(--_ui5-cozy-size, 3rem);--_ui5_day_picker_item_justify_content: var(--_ui5-compact-size, flex-end) var(--_ui5-cozy-size, space-between);--_ui5_dp_item_withsecondtype_font_size: var(--_ui5-compact-size, var(--sapFontSmallSize)) var(--_ui5-cozy-size, var(--sapFontSize));--_ui5_daypicker_item_now_selected_two_calendar_focus_special_day_top: var(--_ui5-compact-size, 1.125rem) var(--_ui5-cozy-size, 2rem);--_ui5_daypicker_item_now_selected_two_calendar_focus_special_day_right: var(--_ui5-compact-size, 1.125rem) var(--_ui5-cozy-size, 1.4375rem);--_ui5_dp_two_calendar_item_secondary_text_height: var(--_ui5-compact-size, .75rem) var(--_ui5-cozy-size, 1rem);--_ui5_dp_two_calendar_item_text_padding_top: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, .4375rem);--_ui5_dp_two_calendar_item_secondary_text_padding_block: var(--_ui5-compact-size, 0 .375rem) var(--_ui5-cozy-size, 0 .5rem);--_ui5_dp_two_calendar_item_secondary_text_padding: var(--_ui5-compact-size, 0 .375rem) var(--_ui5-cozy-size, 0 .5rem);--_ui5_daypicker_item_now_selected_two_calendar_focus_secondary_text_padding_block: var(--_ui5-compact-size, 0 1rem) var(--_ui5-cozy-size, 0 .5rem);--_ui5_daypicker_two_calendar_item_selected_focus_margin_bottom: var(--_ui5-compact-size, -.25rem) var(--_ui5-cozy-size, 0);--_ui5_daypicker_two_calendar_item_selected_focus_padding_right: var(--_ui5-compact-size, .4375rem) var(--_ui5-cozy-size, .5rem);--_ui5_calendar_multiple_months_height: var(--_ui5-compact-size, calc(2 * var(--_ui5_calendar_height))) var(--_ui5-cozy-size, var(--_ui5_calendar_height));--_ui5-calendar-legend-item-root-focus-offset: -.125rem;--_ui5-calendar-legend-item-box-inner-margin: .5rem;--_ui5_color_picker_slider_progress_container_height: var(--_ui5-compact-size, 1.125rem) var(--_ui5-cozy-size, 1.625rem);--_ui5_color_picker_slider_container_margin_top: var(--_ui5-compact-size, -.375rem) var(--_ui5-cozy-size, -.5rem);--_ui5_color_picker_slider_handle_height: var(--_ui5-compact-size, 1.5rem) var(--_ui5-cozy-size, 2rem);--_ui5_color_picker_slider_handle_width: var(--_ui5-compact-size, .9375rem) var(--_ui5-cozy-size, 1.0625rem);--_ui5_color_picker_slider_handle_after_height: var(--_ui5-compact-size, 1.25rem) var(--_ui5-cozy-size, 1.75rem);--_ui5_color_picker_slider_handle_focus_height: var(--_ui5-compact-size, 1.625rem) var(--_ui5-cozy-size, 2.125rem);--_ui5_color_picker_colors_wrapper_height: var(--_ui5-compact-size, 1.5rem) var(--_ui5-cozy-size, 2.25rem);--_ui5_color_picker_sliders_height: var(--_ui5-compact-size, 2.25rem) var(--_ui5-cozy-size, 3rem);--_ui5_color_picker_main_color_margin_bottom: var(--_ui5-compact-size, .75rem) var(--_ui5-cozy-size, 1rem);--_ui5_color_picker_slider_spacing: var(--_ui5-compact-size, .8125rem) var(--_ui5-cozy-size, .9375rem);--_ui5_color_channel_toggle_button_width: var(--_ui5-compact-size, 1.375rem) var(--_ui5-cozy-size, 1.625rem);--_ui5_color_channel_toggle_button_margin-top: var(--_ui5-compact-size, -.9375rem) var(--_ui5-cozy-size, -.75rem);--_ui5_color_channel_hex_input_width: var(--_ui5-compact-size, 4.625rem) var(--_ui5-cozy-size, 4.8125rem);--_ui5-color_channel_margin_top: var(--_ui5-compact-size, 0rem) var(--_ui5-cozy-size, .25rem);--_ui5_color-palette-item-height: var(--_ui5-compact-size, 1.25rem) var(--_ui5-cozy-size, 1.75rem);--_ui5_color-palette-item-hover-height: var(--_ui5-compact-size, 1.625rem) var(--_ui5-cozy-size, 2.25rem);--_ui5_color-palette-item-margin: var(--_ui5-compact-size, calc(((var(--_ui5_color-palette-item-hover-height) - var(--_ui5_color-palette-item-height)) / 2) + .0625rem)) var(--_ui5-cozy-size, calc(((var(--_ui5_color-palette-item-hover-height) - var(--_ui5_color-palette-item-height)) / 2) + .0625rem));--_ui5_color-palette-row-width: var(--_ui5-compact-size, 8.75rem) var(--_ui5-cozy-size, 12rem);--_ui5_color-palette-swatch-container-padding: var(--_ui5-compact-size, .1875rem .5rem) var(--_ui5-cozy-size, .3125rem .6875rem);--_ui5_datetime_picker_width: var(--_ui5-compact-size, 35.5rem) var(--_ui5-cozy-size, 40.0625rem);--_ui5_datetime_picker_height: var(--_ui5-compact-size, 20.5rem) var(--_ui5-cozy-size, 25rem);--_ui5_datetime_timeview_width: var(--_ui5-compact-size, 17rem) var(--_ui5-cozy-size, 17rem);--_ui5_datetime_timeview_phonemode_width: var(--_ui5-compact-size, 18.5rem) var(--_ui5-cozy-size, 19.5rem);--_ui5_datetime_timeview_phonemode_clocks_width: var(--_ui5-compact-size, 21.125rem) var(--_ui5-cozy-size, 24.5rem);--_ui5_datetime_dateview_phonemode_margin_bottom: var(--_ui5-compact-size, 3.125rem) var(--_ui5-cozy-size, 0);--_ui5_popup_footer_height: var(--_ui5-compact-size, 2.5rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_dialog_content_min_height: var(--_ui5-compact-size, 2.5rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_input_inner_padding: var(--_ui5-compact-size, 0 .5rem) var(--_ui5-cozy-size, 0 .625rem);--_ui5_input_inner_padding_with_icon: var(--_ui5-compact-size, 0 .25rem 0 .5rem) var(--_ui5-cozy-size, 0 .25rem 0 .625rem);--_ui5_input_inner_space_to_tokenizer: var(--_ui5-compact-size, .125rem) var(--_ui5-cozy-size, .125rem);--_ui5_input_inner_space_to_n_more_text: var(--_ui5-compact-size, .25rem) var(--_ui5-cozy-size, .3125rem);--_ui5_input_inner_with_tokenizer_padding_inline_end: var(--_ui5-compact-size, .25rem) var(--_ui5-cozy-size, .3125rem);--_ui5_list_no_data_height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 3rem);--_ui5_list_item_cb_margin_right: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, 0);--_ui5_list_item_title_size: var(--_ui5-compact-size, var(--sapFontSize)) var(--_ui5-cozy-size, var(--sapFontLargeSize));--_ui5_list_no_data_font_size: var(--_ui5-compact-size, var(--sapFontSize)) var(--_ui5-cozy-size, var(--sapFontLargeSize));--_ui5_list_item_img_size: 3rem;--_ui5_list_item_img_top_margin: var(--_ui5-compact-size, .55rem) var(--_ui5-cozy-size, .5rem);--_ui5_list_item_img_bottom_margin: .5rem;--_ui5_list_item_img_hn_margin: .75rem;--_ui5_list_item_dropdown_base_height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.5rem);--_ui5_list_item_base_height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, var(--sapElement_LineHeight));--_ui5_list_item_base_padding: var(--_ui5-compact-size, 0 1rem) var(--_ui5-cozy-size, 0 1rem);--_ui5_list_item_icon_size: var(--_ui5-compact-size, 1rem) var(--_ui5-cozy-size, 1.125rem);--_ui5_list_item_icon_padding-inline-end: .75rem;--_ui5_list_item_selection_btn_margin_top: var(--_ui5-compact-size, calc(-1 * var(--_ui5_checkbox_wrapper_padding))) var(--_ui5-cozy-size, calc(-1 * var(--_ui5_checkbox_wrapper_padding)));--_ui5_list_item_content_vertical_offset: var(--_ui5-compact-size, calc((var(--_ui5_list_item_base_height) - var(--_ui5_list_item_title_size)) / 2)) var(--_ui5-cozy-size, calc((var(--_ui5_list_item_base_height) - var(--_ui5_list_item_title_size)) / 2));--_ui5_group_header_list_item_height: 2.75rem;--_ui5_month_picker_item_height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 3rem);--_ui5_list_buttons_left_space: var(--_ui5-compact-size, .125rem) var(--_ui5-cozy-size, .125rem);--_ui5_form_item_min_height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.813rem);--_ui5_form_item_padding: var(--_ui5-compact-size, .25rem) var(--_ui5-cozy-size, .65rem);--_ui5-form-group-heading-height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_popup_default_header_height: var(--_ui5-compact-size, 2.5rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_year_picker_item_height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 3rem);--_ui5_token_height: var(--_ui5-compact-size, 1.25rem) var(--_ui5-cozy-size, 1.625rem);--_ui5_token_icon_size: var(--_ui5-compact-size, .75rem) var(--_ui5-cozy-size, .75rem);--_ui5_tc_item_text: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 3rem);--_ui5_tc_item_height: var(--_ui5-compact-size, 4rem) var(--_ui5-cozy-size, 4.75rem);--_ui5_tc_item_text_only_height: 2.75rem;--_ui5_tc_item_text_only_with_additional_text_height: 3.75rem;--_ui5_tc_item_text_line_height: var(--_ui5-compact-size, 1.325rem) var(--_ui5-cozy-size, 1.325rem);--_ui5_tc_item_icon_circle_size: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_tc_item_icon_size: var(--_ui5-compact-size, 1rem) var(--_ui5-cozy-size, 1.25rem);--_ui5_tc_item_add_text_margin_top: var(--_ui5-compact-size, .3125rem) var(--_ui5-cozy-size, .375rem);--_ui5_radio_button_height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_radio_button_label_side_padding: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, .875rem);--_ui5_radio_button_inner_size: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_radio_button_svg_size: var(--_ui5-compact-size, 1rem) var(--_ui5-cozy-size, 1.375rem);--_ui5-responsive_popover_header_height: var(--_ui5-compact-size, 2.5rem) var(--_ui5-cozy-size, 2.75rem);--_ui5-tree-indent-step: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, 1.5rem);--_ui5-tree-toggle-box-width: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.75rem);--_ui5-tree-toggle-box-height: var(--_ui5-compact-size, 1.5rem) var(--_ui5-cozy-size, 2.25rem);--_ui5-tree-toggle-icon-size: var(--_ui5-compact-size, .8125rem) var(--_ui5-cozy-size, 1.0625rem);--_ui5_split_button_middle_separator_top: var(--_ui5-compact-size, .3125rem) var(--_ui5-cozy-size, .625rem);--_ui5_split_button_middle_separator_height: var(--_ui5-compact-size, 1rem) var(--_ui5-cozy-size, 1rem);--_ui5-toolbar-separator-height: var(--_ui5-compact-size, 1.5rem) var(--_ui5-cozy-size, 2rem);--_ui5-toolbar-height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_toolbar_overflow_padding: var(--_ui5-compact-size, .1875rem .375rem) var(--_ui5-cozy-size, .25rem .5rem);--_ui5_dynamic_page_title_actions_separator_height: var(--_ui5-compact-size, var(--_ui5-toolbar-separator-height)) var(--_ui5-cozy-size, var(--_ui5-toolbar-separator-height));--_ui5-shellbar-separator-height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2rem);--___ui5-test-cozy-only: red;--___ui5-test-both: var(--_ui5-compact-size, blue) var(--_ui5-cozy-size, red);--___ui5-test-compact-only: var(--_ui5-compact-size, blue) var(--_ui5-cozy-size, var(--_ui5-f2d95f8));--_ui5_slider_tooltip_height: var(--_ui5-compact-size, 1.375rem) var(--_ui5-cozy-size, var(--_ui5-f2d95f8));--_ui5_slider_tooltip_padding: var(--_ui5-compact-size, .25rem) var(--_ui5-cozy-size, var(--_ui5-f2d95f8));--_ui5_rotation_90deg: rotate(90deg);--_ui5_rotation_minus_90deg: rotate(-90deg);--_ui5_icon_transform_scale: none;--_ui5_panel_toggle_btn_rotation: var(--_ui5_rotation_90deg);--_ui5_popover_upward_arrow_margin: .1875rem 0 0 .1875rem;--_ui5_popover_right_arrow_margin: .1875rem 0 0 -.375rem;--_ui5_popover_downward_arrow_margin: -.375rem 0 0 .125rem;--_ui5_popover_left_arrow_margin: .125rem 0 0 .25rem;--_ui5_dialog_resize_cursor: se-resize;--_ui5_menu_submenu_margin_offset: -.25rem 0}.ui5-avatar-group-items-xs{--_ui5_avatar_group_focus_border_radius: 1rem}.ui5-avatar-group-items-s{--_ui5_avatar_group_focus_border_radius: 1.5rem}.ui5-avatar-group-items-m{--_ui5_avatar_group_focus_border_radius: 2rem}.ui5-avatar-group-items-l{--_ui5_avatar_group_focus_border_radius: 2.5rem}.ui5-avatar-group-items-xl{--_ui5_avatar_group_focus_border_radius: 3.5rem}:dir(rtl){--_ui5_icon_transform_scale: scale(-1, 1);--_ui5_panel_toggle_btn_rotation: var(--_ui5_rotation_minus_90deg);--_ui5_popover_upward_arrow_margin: .1875rem .125rem 0 0;--_ui5_popover_right_arrow_margin: .1875rem .25rem 0 0;--_ui5_popover_downward_arrow_margin: -.4375rem .125rem 0 0;--_ui5_popover_left_arrow_margin: .1875rem -.375rem 0 0;--_ui5_dialog_resize_cursor:sw-resize;--_ui5_menu_submenu_margin_offset: 0 -.25rem;--_ui5_segmented_btn_item_border_left: .0625rem;--_ui5_segmented_btn_item_border_right: .0625rem;--_ui5_progress_indicator_bar_border_radius: .5rem;--_ui5_progress_indicator_remaining_bar_border_radius: .25rem} -`;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const tx=`:host{min-width:1px;overflow:visible;border:none;inset:unset;margin:0;padding:0}:host(:focus-visible){outline:none}:host(.ui5-popup-opening){opacity:.1} -`;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const ix=`.ui5-block-layer{position:fixed;z-index:-1;display:none;inset:-500px;outline:none;pointer-events:all} -`;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const ox=`.ui5-popup-scroll-blocker{overflow:hidden} -`;var Mt=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},ia;const rx=()=>{Rl("data-ui5-popup-scroll-blocker")||El(ox,"data-ui5-popup-scroll-blocker")};rx();const cs=new Set;let bt=ia=class extends Ke{constructor(){super(),this.preventFocusRestore=!1,this.accessibleRole="Dialog",this.preventInitialFocus=!1,this.isTopModalPopup=!1,this.onPhone=!1,this.onDesktop=!1,this._opened=!1,this._open=!1,this._resizeHandlerRegistered=!1,this._resizeHandler=this._resize.bind(this),this._getRealDomRef=()=>this.shadowRoot.querySelector("[root-element]")}onBeforeRendering(){this.onPhone=We(),this.onDesktop=zt()}onAfterRendering(){Qi().then(()=>{this._updateMediaRange()}),this.open?this._registerResizeHandler():this._deregisterResizeHandler()}onEnterDOM(){this.setAttribute("popover","manual"),zt()&&this.setAttribute("desktop",""),this.tabIndex=-1,this.handleOpenOnEnterDOM(),this.setAttribute("data-sap-ui-fastnavgroup-container","true"),$l(this,this._updateAssociatedLabelsTexts.bind(this))}handleOpenOnEnterDOM(){this.open&&(this.showPopover(),this.openPopup())}onExitDOM(){this._opened&&(ia.unblockPageScrolling(this),this._removeOpenedPopup()),this._deregisterResizeHandler(),this._detachBrowserEvents(),Fl(this)}set open(e){this._open!==e&&(this._open=e,e?this.openPopup():this.closePopup())}get open(){return this._open}async openPopup(){if(this._opened)return;if(!this.fireDecoratorEvent("before-open")){this.open=!1;return}this._attachBrowserEvents(),this.isModal&&ia.blockPageScrolling(this),this._focusedElementBeforeOpen=cv(),this._show(),this._opened=!0,this.getDomRef()&&this._updateMediaRange(),this._addOpenedPopup(),this.classList.add("ui5-popup-opening"),setTimeout(()=>{this.classList.remove("ui5-popup-opening")},50),this.open=!0,await this.applyInitialFocus(),await Qi(),this.isConnected&&this.fireDecoratorEvent("open")}_resize(){this._updateMediaRange()}_preventBlockLayerFocus(e){e.preventDefault()}_attachBrowserEvents(){}_detachBrowserEvents(){}static blockPageScrolling(e){cs.add(e),cs.size===1&&document.documentElement.classList.add("ui5-popup-scroll-blocker")}static unblockPageScrolling(e){cs.delete(e),cs.size===0&&document.documentElement.classList.remove("ui5-popup-scroll-blocker")}_scroll(e){this.fireDecoratorEvent("scroll",{scrollTop:e.target.scrollTop,targetRef:e.target})}_onkeydown(e){const i=e.target===this._root&&Lo(e),o=Ye(e)&&!this.open;(i||o)&&e.preventDefault()}_onfocusout(e){e.relatedTarget||(this._shouldFocusRoot=!0)}_onmousedown(e){this.shadowRoot.contains(e.target)?this._shouldFocusRoot=!0:this._shouldFocusRoot=!1}_onmouseup(){this._shouldFocusRoot&&(Uw()&&this._root.focus(),this._shouldFocusRoot=!1)}async forwardToFirst(){const e=await xu(this);e?e.focus():this._root.focus()}async forwardToLast(){const e=await k2(this);e?e.focus():this._root.focus()}async applyInitialFocus(){this.preventInitialFocus||await this.applyFocus()}async applyFocus(){if(this.querySelector("[autofocus]")||(await this._waitForDomRef(),this.getRootNode()===this))return;let e;this.initialFocus&&(e=this.getRootNode().getElementById(this.initialFocus)||document.getElementById(this.initialFocus)),e=e||await xu(this)||this._root,e&&(e===this._root&&(e.tabIndex=-1),e.focus())}isFocusWithin(){return E2(this._root)}_updateMediaRange(){this.mediaRange=kn.getCurrentRange(kn.RANGESETS.RANGE_4STEPS,this.getDomRef().offsetWidth)}_updateAssociatedLabelsTexts(){this._associatedDescriptionRefTexts=Hl(this)}_addOpenedPopup(){gv(this)}closePopup(e=!1,i=!1,o=!1){if(!this._opened)return;if(!this.fireDecoratorEvent("before-close",{escPressed:e})){this.open=!0;return}this._opened=!1,this.isModal&&ia.unblockPageScrolling(this),this.hide(),this.open=!1,this._detachBrowserEvents(),i||this._removeOpenedPopup(),!this.preventFocusRestore&&!o&&this.resetFocus(),this.fireDecoratorEvent("close")}_removeOpenedPopup(){mv(this)}resetFocus(){var e;(e=this._focusedElementBeforeOpen)==null||e.focus(),this._focusedElementBeforeOpen=null}_show(){this.isConnected&&(this.setAttribute("popover","manual"),this.showPopover())}_registerResizeHandler(){this._resizeHandlerRegistered||(Qt.register(this,this._resizeHandler),this._resizeHandlerRegistered=!0)}_deregisterResizeHandler(){this._resizeHandlerRegistered&&(Qt.deregister(this,this._resizeHandler),this._resizeHandlerRegistered=!1)}hide(){this.isConnected&&this.hidePopover()}get _ariaLabel(){return Ga(this)}get _accInfoAriaDescription(){return this.ariaDescriptionText||""}get ariaDescriptionText(){return this._associatedDescriptionRefTexts||q_(this)}get ariaDescriptionTextId(){return this.ariaDescriptionText?"accessibleDescription":""}get ariaDescribedByIds(){return[this.ariaDescriptionTextId].filter(Boolean).join(" ")}get _root(){return this.shadowRoot.querySelector(".ui5-popup-root")}get _role(){return this.accessibleRole===Js.None?void 0:Cn(this.accessibleRole)}get _ariaModal(){return this.accessibleRole===Js.None?void 0:"true"}get contentDOM(){return this.shadowRoot.querySelector(".ui5-popup-content")}get styles(){return{root:{},content:{}}}get classes(){return{root:{"ui5-popup-root":!0},content:{"ui5-popup-content":!0}}}};Mt([p()],bt.prototype,"initialFocus",void 0);Mt([p({type:Boolean})],bt.prototype,"preventFocusRestore",void 0);Mt([p()],bt.prototype,"accessibleName",void 0);Mt([p()],bt.prototype,"accessibleNameRef",void 0);Mt([p()],bt.prototype,"accessibleRole",void 0);Mt([p()],bt.prototype,"accessibleDescription",void 0);Mt([p()],bt.prototype,"accessibleDescriptionRef",void 0);Mt([p({noAttribute:!0})],bt.prototype,"_associatedDescriptionRefTexts",void 0);Mt([p()],bt.prototype,"mediaRange",void 0);Mt([p({type:Boolean})],bt.prototype,"preventInitialFocus",void 0);Mt([p({type:Boolean,noAttribute:!0})],bt.prototype,"isTopModalPopup",void 0);Mt([ae({type:HTMLElement,default:!0})],bt.prototype,"content",void 0);Mt([p({type:Boolean})],bt.prototype,"onPhone",void 0);Mt([p({type:Boolean})],bt.prototype,"onDesktop",void 0);Mt([p({type:Boolean})],bt.prototype,"open",null);bt=ia=Mt([ce({renderer:we,styles:[tx,ix],template:G_}),j("before-open",{cancelable:!0}),j("open"),j("before-close",{cancelable:!0}),j("close"),j("scroll",{bubbles:!0})],bt);const Ul=bt;var Tu=(t=>(t["SAP-icons"]="SAP-icons-v4",t.horizon="SAP-icons-v5",t["SAP-icons-TNT"]="tnt",t.BusinessSuiteInAppSymbols="business-suite",t))(Tu||{});const yv=t=>Tu[t]?Tu[t]:t;var nx=(t=>(t.SAPIconsV4="SAP-icons-v4",t.SAPIconsV5="SAP-icons-v5",t.SAPIconsTNTV2="tnt-v2",t.SAPIconsTNTV3="tnt-v3",t.SAPBSIconsV1="business-suite-v1",t.SAPBSIconsV2="business-suite-v2",t))(nx||{});const xo=new Map;xo.set("SAP-icons",{legacy:"SAP-icons-v4",sap_horizon:"SAP-icons-v5"}),xo.set("tnt",{legacy:"tnt-v2",sap_horizon:"tnt-v3"}),xo.set("business-suite",{legacy:"business-suite-v1",sap_horizon:"business-suite-v2"});const ax=(t,e)=>{if(xo.has(t)){xo.set(t,{...e,...xo.get(t)});return}xo.set(t,e)},hp=t=>{const e=Jw()?"legacy":"sap_horizon";return xo.has(t)?xo.get(t)[e]:t},sx=new Map,lx=t=>sx.get(t),wv=t=>{const e=lx(Ol());return!t&&e?yv(e):hp(t||"SAP-icons")},cx="legacy",Iu=new Map,Cv=Mo("SVGIcons.registry",new Map),Lc=Mo("SVGIcons.promises",new Map),Bu="ICON_NOT_FOUND",pp=(t,e)=>{Iu.set(t,e)},ux=async t=>{if(!Lc.has(t)){if(!Iu.has(t))throw new Error(`No loader registered for the ${t} icons collection. Probably you forgot to import the "AllIcons.js" module for the respective package.`);const e=Iu.get(t);Lc.set(t,e(t))}return Lc.get(t)},fp=t=>{Object.keys(t.data).forEach(e=>{const i=t.data[e];ie(e,{pathData:i.path||i.paths,ltr:i.ltr,viewBox:i.viewBox,accData:i.acc,collection:t.collection,packageName:t.packageName})})},ie=(t,e)=>{const i=`${e.collection}/${t}`,o={collection:e.collection,packageName:e.packageName,pathData:e.pathData,viewBox:e.viewBox,ltr:e.ltr,accData:e.accData,customTemplate:e.customTemplate};Cv.set(i,o)},xv=t=>{t.startsWith("sap-icon://")&&(t=t.replace("sap-icon://",""));let e;return[t,e]=t.split("/").reverse(),t=t.replace("icon-",""),e&&(e=yv(e)),{name:t,collection:e}},Sv=t=>{const{name:e,collection:i}=xv(t);return Au(i,e)},kv=async t=>{const{name:e,collection:i}=xv(t);let o=Bu;try{o=await ux(wv(i))}catch(n){console.error(n.message)}return o===Bu?o:Au(i,e)||(Array.isArray(o)?o.forEach(n=>{fp(n),ax(i,{[n.themeFamily||cx]:n.collection})}):fp(o),Au(i,e))},Au=(t,e)=>{const i=`${wv(t)}/${e}`;return Cv.get(i)},_x=async t=>{var i;if(!t)return;let e=Sv(t);if(e||(e=await kv(t)),e&&e!==Bu&&e.accData)return e.packageName?(await Nl(e.packageName)).getText(e.accData):((i=e.accData)==null?void 0:i.defaultText)||""},Tv={key:"ICON_DECLINE",defaultText:"Decline"},Iv={key:"ICON_ERROR",defaultText:"Error"},Bv={key:"ICON_NAV_BACK",defaultText:"Navigate Back"},Av={key:"ICON_OVERFLOW",defaultText:"More"},Ev={key:"ICON_SEARCH",defaultText:"Search"},O6={key:"ICON_SORT_ASCENDING",defaultText:"Sort Ascending"},D6={key:"ICON_SORT_DESCENDING",defaultText:"Sort Descending"},dx="error",hx="M16 8a7.731 7.731 0 0 1-.64 3.125c-.428.98-1 1.828-1.72 2.547a8.025 8.025 0 0 1-2.53 1.703A7.785 7.785 0 0 1 8 16a7.73 7.73 0 0 1-3.125-.64c-.98-.428-1.828-1-2.547-1.72a7.977 7.977 0 0 1-1.703-2.546A7.82 7.82 0 0 1 0 8a7.864 7.864 0 0 1 2.344-5.672A8.214 8.214 0 0 1 4.89.625 7.785 7.785 0 0 1 8 0c1.104 0 2.14.208 3.11.625a8.08 8.08 0 0 1 2.546 1.719 8.081 8.081 0 0 1 1.719 2.547C15.792 5.859 16 6.896 16 8Zm-3.531 3.375c.125-.125.125-.25 0-.375L9.78 8.312c-.125-.124-.125-.25 0-.374l2.531-2.532c.126-.125.126-.25 0-.375l-1.156-1.156c-.041-.042-.104-.063-.187-.063-.084 0-.146.021-.188.063L8.187 6.438c-.02.062-.083.093-.187.093-.063 0-.125-.031-.188-.093L5.188 3.844c-.02-.042-.083-.063-.187-.063-.083 0-.146.021-.188.063L3.657 5c-.125.125-.125.25 0 .375L6.25 7.938c.125.125.125.25 0 .375l-2.594 2.562a.312.312 0 0 0-.078.188c-.01.083.016.145.078.187l1.125 1.156a.48.48 0 0 0 .188.063c.083 0 .146-.021.187-.063l2.657-2.625c.041-.041.104-.062.187-.062s.146.02.188.062l2.75 2.75a.479.479 0 0 0 .187.063.48.48 0 0 0 .188-.063l1.156-1.156Z",px=!1,fx=Iv,gx="0 0 16 16",mx="SAP-icons-v4",vx="@ui5/webcomponents-icons";ie(dx,{pathData:hx,ltr:px,viewBox:gx,accData:fx,collection:mx,packageName:vx});const bx="error",yx="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0Zm3.707 4.293a1 1 0 0 0-1.414 0L8 6.586 5.707 4.293a1 1 0 1 0-1.414 1.414L6.586 8l-2.293 2.293a1 1 0 1 0 1.414 1.414L8 9.414l2.293 2.293a1 1 0 1 0 1.414-1.414L9.414 8l2.293-2.293a1 1 0 0 0 0-1.414Z",wx=!1,Cx=Iv,xx="0 0 16 16",Sx="SAP-icons-v5",kx="@ui5/webcomponents-icons";ie(bx,{pathData:yx,ltr:wx,viewBox:xx,accData:Cx,collection:Sx,packageName:kx});const Tx="error",Ix="alert",Bx="M15.656 12.688c.104.208.182.411.235.609.052.198.088.39.109.578v.156c0 .646-.24 1.136-.719 1.469-.479.333-1 .5-1.562.5H2.313c-.271 0-.542-.042-.813-.125a2.332 2.332 0 0 1-.734-.375 1.932 1.932 0 0 1-.532-.625A2.033 2.033 0 0 1 0 14.031c0-.27.042-.505.125-.703.083-.198.177-.411.281-.64l5.782-10.5C6.625 1.395 7.26 1 8.094 1c.791 0 1.406.396 1.844 1.188l5.718 10.5Zm-7.625-7.72c-.27 0-.515.084-.734.25-.219.167-.328.438-.328.813.02.146.041.271.062.375.063.521.11 1.021.14 1.5.032.48.069 1.115.11 1.907 0 .229.078.395.235.5a.91.91 0 0 0 .515.156c.459 0 .698-.219.719-.656l.063-1.126.28-2.656c0-.375-.109-.646-.327-.812a1.182 1.182 0 0 0-.735-.25Zm0 9.345c.417 0 .745-.126.985-.376s.359-.583.359-1c0-.395-.12-.718-.36-.968-.239-.25-.567-.375-.984-.375-.416 0-.745.125-.984.375-.24.25-.36.573-.36.969 0 .416.12.75.36 1s.568.374.984.374Z",Ax=!1,Ex="0 0 16 16",Rx="SAP-icons-v4",Lx="@ui5/webcomponents-icons";ie(Ix,{pathData:Bx,ltr:Ax,viewBox:Ex,collection:Rx,packageName:Lx});const Px="alert",Ox="M6.491 1.856C7.17.716 8.821.714 9.5 1.855l6.249 10.504c.694 1.166-.147 2.644-1.504 2.644H1.752c-1.357 0-2.197-1.478-1.504-2.644L6.491 1.856Zm1.503 9.138a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm0-7a1 1 0 0 0-1 1v4a1 1 0 0 0 2 0v-4a1 1 0 0 0-1-1Z",Dx=!1,zx="0 0 16 16",Nx="SAP-icons-v5",Mx="@ui5/webcomponents-icons";ie(Px,{pathData:Ox,ltr:Dx,viewBox:zx,collection:Nx,packageName:Mx});const $x="alert",Fx="sys-enter-2",Hx="M16 8a7.863 7.863 0 0 1-.625 3.14 8.026 8.026 0 0 1-1.703 2.532 7.979 7.979 0 0 1-2.547 1.703c-.98.417-2.02.625-3.125.625a7.863 7.863 0 0 1-5.672-2.344A8.215 8.215 0 0 1 .625 11.11 7.786 7.786 0 0 1 0 8c0-1.104.214-2.146.64-3.125.428-.98 1-1.828 1.72-2.547A7.977 7.977 0 0 1 4.905.625 7.82 7.82 0 0 1 8 0c1.104 0 2.146.208 3.125.625.98.417 1.828.984 2.547 1.703a7.979 7.979 0 0 1 1.703 2.547c.417.98.625 2.02.625 3.125Zm-3.688-2.719c.084-.166.073-.302-.03-.406L11.155 3.75a.297.297 0 0 0-.25-.125c-.104 0-.187.052-.25.156l-3.25 5.406c-.062.021-.104.021-.125 0L5.094 7.563c-.084-.063-.157-.094-.219-.094-.063 0-.11.02-.14.062a.917.917 0 0 1-.079.094L3.75 8.906c-.125.167-.104.313.063.438l3.53 2.969c.042.041.115.062.22.062a.297.297 0 0 0 .25-.125l4.5-6.969Z",Ux=!0,Vx="0 0 16 16",qx="SAP-icons-v4",Gx="@ui5/webcomponents-icons";ie(Fx,{pathData:Hx,ltr:Ux,viewBox:Vx,collection:qx,packageName:Gx});const jx="sys-enter-2",Wx="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0Zm3.707 5.793a1 1 0 0 0-1.414 0L7.5 8.586 6.207 7.293a1 1 0 1 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l3.5-3.5a1 1 0 0 0 0-1.414Z",Kx=!0,Zx="0 0 16 16",Xx="SAP-icons-v5",Yx="@ui5/webcomponents-icons";ie(jx,{pathData:Wx,ltr:Kx,viewBox:Zx,collection:Xx,packageName:Yx});const Jx="sys-enter-2",Qx="information",eS="M0 8c0-1.104.214-2.146.64-3.125.428-.98 1-1.828 1.72-2.547A7.977 7.977 0 0 1 4.905.625 7.82 7.82 0 0 1 8 0a7.863 7.863 0 0 1 5.672 2.344 8.216 8.216 0 0 1 1.703 2.547C15.792 5.859 16 6.896 16 8a7.863 7.863 0 0 1-.625 3.14 8.026 8.026 0 0 1-1.703 2.532 7.979 7.979 0 0 1-2.547 1.703c-.98.417-2.02.625-3.125.625a7.863 7.863 0 0 1-5.672-2.344A8.215 8.215 0 0 1 .625 11.11 7.786 7.786 0 0 1 0 8Zm6 3.5v1.031h4V11.5H9V6.719c0-.125-.073-.188-.219-.188h-2.75V7.5h1v4H6Zm1.063-6.281c.291.229.604.343.937.343.354 0 .661-.12.922-.359.26-.24.39-.536.39-.89 0-.396-.135-.72-.406-.97A1.235 1.235 0 0 0 8 2.97c-.396 0-.714.13-.953.39-.24.26-.36.579-.36.954 0 .354.125.656.375.906Z",tS=!1,iS="0 0 16 16",oS="SAP-icons-v4",rS="@ui5/webcomponents-icons";ie(Qx,{pathData:eS,ltr:tS,viewBox:iS,collection:oS,packageName:rS});const nS="information",aS="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0Zm0 7a1 1 0 0 0-1 1v4a1 1 0 1 0 2 0V8a1 1 0 0 0-1-1Zm0-4a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z",sS=!1,lS="0 0 16 16",cS="SAP-icons-v5",uS="@ui5/webcomponents-icons";ie(nS,{pathData:aS,ltr:sS,viewBox:lS,collection:cS,packageName:uS});const _S="information",dS={key:"ACC_STATE_REQUIRED",defaultText:"Required"},hS={key:"ACC_STATE_DISABLED",defaultText:"Disabled"},pS={key:"ACC_STATE_READONLY",defaultText:"Read Only"},gp={key:"ACC_STATE_EMPTY",defaultText:"Empty"},fS={key:"ACC_STATE_SINGLE_CONTROL",defaultText:"Includes element"},gS={key:"ACC_STATE_MULTIPLE_CONTROLS",defaultText:"Includes elements"},z6={key:"ARIA_LABEL_CARD_CONTENT",defaultText:"Card Content"},N6={key:"ARIA_ROLEDESCRIPTION_CARD",defaultText:"Card"},M6={key:"ARIA_ROLEDESCRIPTION_CARD_HEADER",defaultText:"Card Header"},$6={key:"ARIA_ROLEDESCRIPTION_INTERACTIVE_CARD_HEADER",defaultText:"Interactive Card Header"},F6={key:"AVATAR_TOOLTIP",defaultText:"Avatar"},mS={key:"TAG_DESCRIPTION_TAG",defaultText:"Tag"},vS={key:"TAG_ROLE_DESCRIPTION",defaultText:"Tag button"},bS={key:"TAG_ERROR",defaultText:"Error"},yS={key:"TAG_WARNING",defaultText:"Warning"},wS={key:"TAG_SUCCESS",defaultText:"Success"},CS={key:"TAG_INFORMATION",defaultText:"Information"},xS={key:"BUSY_INDICATOR_TITLE",defaultText:"Please wait"},SS={key:"BUTTON_ARIA_TYPE_ACCEPT",defaultText:"Positive Action"},kS={key:"BUTTON_ARIA_TYPE_REJECT",defaultText:"Negative Action"},TS={key:"BUTTON_ARIA_TYPE_EMPHASIZED",defaultText:"Default Action"},IS={key:"BUTTON_ARIA_TYPE_ATTENTION",defaultText:"Warning"},BS={key:"BUTTON_BADGE_ONE_ITEM",defaultText:"{0} item"},AS={key:"BUTTON_BADGE_MANY_ITEMS",defaultText:"{0} items"},ES={key:"BUTTON_ROLE_DESCRIPTION",defaultText:"Button"},RS={key:"LINK_ROLE_DESCRIPTION",defaultText:"Link"},LS={key:"DELETE",defaultText:"Delete"},H6={key:"EMPTY_INDICATOR_SYMBOL",defaultText:"–"},U6={key:"EMPTY_INDICATOR_ACCESSIBLE_TEXT",defaultText:"Empty Value"},V6={key:"EXPANDABLE_TEXT_SHOW_MORE",defaultText:"Show More"},q6={key:"EXPANDABLE_TEXT_SHOW_LESS",defaultText:"Show Less"},G6={key:"EXPANDABLE_TEXT_CLOSE",defaultText:"Close"},j6={key:"EXPANDABLE_TEXT_SHOW_MORE_POPOVER_ARIA_LABEL",defaultText:"Show the full text"},W6={key:"EXPANDABLE_TEXT_SHOW_LESS_POPOVER_ARIA_LABEL",defaultText:"Close the popover"},PS={key:"GROUP_HEADER_TEXT",defaultText:"Group Header"},K6={key:"SELECT_ROLE_DESCRIPTION",defaultText:"Listbox"},OS={key:"INPUT_SUGGESTIONS",defaultText:"Suggestions Available"},DS={key:"INPUT_SUGGESTIONS_TITLE",defaultText:"All Items"},zS={key:"INPUT_SUGGESTIONS_ONE_HIT",defaultText:"1 result available"},NS={key:"INPUT_SUGGESTIONS_MORE_HITS",defaultText:"{0} results are available"},MS={key:"INPUT_SUGGESTIONS_NO_HIT",defaultText:"No results"},$S={key:"INPUT_SUGGESTIONS_EXPANDED",defaultText:"Expanded"},mp={key:"INPUT_SUGGESTIONS_COLLAPSED",defaultText:"Collapsed"},FS={key:"INPUT_CLEAR_ICON_ACC_NAME",defaultText:"Clear"},HS={key:"INPUT_SUGGESTIONS_OK_BUTTON",defaultText:"OK"},US={key:"INPUT_SUGGESTIONS_CANCEL_BUTTON",defaultText:"Cancel"},Z6={key:"LINK_SUBTLE",defaultText:"Subtle"},X6={key:"LINK_EMPHASIZED",defaultText:"Emphasized"},VS={key:"LIST_ROLE_DESCRIPTION",defaultText:"List with interactive items. To move to the content press F2."},qS={key:"LIST_ITEM_ACTIVE",defaultText:"Is Active"},Y6={key:"LIST_ITEM_POSITION",defaultText:"List item {0} of {1}"},GS={key:"LIST_ITEM_SELECTED",defaultText:"Selected"},jS={key:"LIST_ITEM_NOT_SELECTED",defaultText:"Not Selected"},J6={key:"LIST_ITEM_GROUP_HEADER",defaultText:"Group Header"},WS={key:"LIST_ROLE_LIST_GROUP_DESCRIPTION",defaultText:"contains {0} sub groups with {1} items"},KS={key:"LIST_ROLE_LISTBOX_GROUP_DESCRIPTION",defaultText:"contains {0} sub groups"},ZS={key:"ARIA_LABEL_LIST_ITEM_CHECKBOX",defaultText:"Multiple Selection Mode"},XS={key:"ARIA_LABEL_LIST_ITEM_RADIO_BUTTON",defaultText:"Item Selection."},YS={key:"ARIA_LABEL_LIST_SELECTABLE",defaultText:"Contains Selectable Items"},JS={key:"ARIA_LABEL_LIST_MULTISELECTABLE",defaultText:"Contains Multi-Selectable Items"},QS={key:"ARIA_LABEL_LIST_DELETABLE",defaultText:"Contains Deletable Items"},Q6={key:"MESSAGE_STRIP_CLOSE_BUTTON_INFORMATION",defaultText:"Close information message strip"},eD={key:"MESSAGE_STRIP_CLOSE_BUTTON_POSITIVE",defaultText:"Close positive message strip"},tD={key:"MESSAGE_STRIP_CLOSE_BUTTON_NEGATIVE",defaultText:"Close negative message strip"},iD={key:"MESSAGE_STRIP_CLOSE_BUTTON_CRITICAL",defaultText:"Close critical message strip"},oD={key:"MESSAGE_STRIP_CLOSE_BUTTON_CUSTOM",defaultText:"Close custom message strip"},rD={key:"MESSAGE_STRIP_CLOSABLE",defaultText:"Closable"},nD={key:"MESSAGE_STRIP_ERROR",defaultText:"Error Message Strip"},aD={key:"MESSAGE_STRIP_WARNING",defaultText:"Warning Message Strip"},sD={key:"MESSAGE_STRIP_SUCCESS",defaultText:"Success Message Strip"},lD={key:"MESSAGE_STRIP_INFORMATION",defaultText:"Message Strip"},cD={key:"MESSAGE_STRIP_CUSTOM",defaultText:"Custom Message Strip"},ek={key:"INPUT_AVALIABLE_VALUES",defaultText:"Available Values"},uD={key:"PANEL_ICON",defaultText:"Expand/Collapse"},tk={key:"RESPONSIVE_POPOVER_CLOSE_DIALOG_BUTTON",defaultText:"Decline"},_D={key:"SEGMENTEDBUTTON_ARIA_DESCRIPTION",defaultText:"Segmented button group"},dD={key:"SEGMENTEDBUTTON_ARIA_DESCRIBEDBY",defaultText:"Press SPACE or ENTER to select an item"},hD={key:"SEGMENTEDBUTTONITEM_ARIA_DESCRIPTION",defaultText:"Segmented button"},ik={key:"LOAD_MORE_TEXT",defaultText:"More"},pD={key:"TAB_ARIA_DESIGN_POSITIVE",defaultText:"Positive"},fD={key:"TAB_ARIA_DESIGN_NEGATIVE",defaultText:"Negative"},gD={key:"TAB_ARIA_DESIGN_CRITICAL",defaultText:"Critical"},mD={key:"TAB_ARIA_DESIGN_NEUTRAL",defaultText:"Neutral"},vD={key:"TAB_SPLIT_ROLE_DESCRIPTION",defaultText:"Tab with Subitems"},bD={key:"TABCONTAINER_NEXT_ICON_ACC_NAME",defaultText:"Next"},yD={key:"TABCONTAINER_PREVIOUS_ICON_ACC_NAME",defaultText:"Previous"},wD={key:"TABCONTAINER_OVERFLOW_MENU_TITLE",defaultText:"Overflow Menu"},CD={key:"TABCONTAINER_END_OVERFLOW",defaultText:"More"},xD={key:"TABCONTAINER_POPOVER_CANCEL_BUTTON",defaultText:"Cancel"},SD={key:"TABCONTAINER_SUBTABS_DESCRIPTION",defaultText:"Press down arrow key to open subitems menu"},ok={key:"LISTITEMCUSTOM_TYPE_TEXT",defaultText:"List Item"},kD={key:"TREE_ITEM_ARIA_LABEL",defaultText:"Tree Item"},TD={key:"TREE_ITEM_EXPAND_NODE",defaultText:"Expand Node"},ID={key:"TREE_ITEM_COLLAPSE_NODE",defaultText:"Collapse Node"},rk={key:"VALUE_STATE_TYPE_ERROR",defaultText:"Value State Error"},nk={key:"VALUE_STATE_TYPE_WARNING",defaultText:"Value State Warning"},ak={key:"VALUE_STATE_TYPE_SUCCESS",defaultText:"Value State Success"},sk={key:"VALUE_STATE_TYPE_INFORMATION",defaultText:"Value State Information"},j_={key:"VALUE_STATE_ERROR",defaultText:"Invalid entry"},W_={key:"VALUE_STATE_WARNING",defaultText:"Warning issued"},Rv={key:"VALUE_STATE_INFORMATION",defaultText:"Informative entry"},K_={key:"VALUE_STATE_SUCCESS",defaultText:"Entry successfully validated"},lk={key:"VALUE_STATE_LINK",defaultText:"To move the focus to the link, press Ctrl+Alt+F8"},ck={key:"VALUE_STATE_LINK_MAC",defaultText:"To move the focus to the link, press Cmd+Option+F8"},uk={key:"VALUE_STATE_LINKS",defaultText:"To go to the first link, press Ctrl+Alt+F8. To move to the next link, use Tab"},_k={key:"VALUE_STATE_LINKS_MAC",defaultText:"To go to the first link, press Cmd+Option+F8. To move to the next link, use Tab"},Pc={key:"SPLIT_BUTTON_DESCRIPTION",defaultText:"Split Button"},vp={key:"SPLIT_BUTTON_KEYBOARD_HINT",defaultText:"Press Space or Enter to trigger default action and Alt + Arrow Down or F4 to trigger arrow action"},dk={key:"SPLIT_BUTTON_ARROW_BUTTON_TOOLTIP",defaultText:"Open Menu"},hk={key:"MENU_BACK_BUTTON_ARIA_LABEL",defaultText:"Back"},Lv={key:"MENU_CANCEL_BUTTON_TEXT",defaultText:"Cancel"},Pv={key:"MENU_POPOVER_ACCESSIBLE_NAME",defaultText:"Select an option from the menu"},pk={key:"MENU_ITEM_GROUP_NONE_ACCESSIBLE_NAME",defaultText:"Contains Non-Selectable Items"},fk={key:"MENU_ITEM_GROUP_SINGLE_ACCESSIBLE_NAME",defaultText:"Contains Selectable Items"},gk={key:"MENU_ITEM_GROUP_MULTI_ACCESSIBLE_NAME",defaultText:"Contains Multi-Selectable Items"},mk={key:"MENU_ITEM_END_CONTENT_ACCESSIBLE_NAME",defaultText:"Additional Actions"},Eu={key:"MENU_ITEM_LOADING",defaultText:"Loading"},vk={key:"DIALOG_HEADER_ARIA_ROLE_DESCRIPTION",defaultText:"Interactive Header"},bk={key:"DIALOG_HEADER_ARIA_DESCRIBEDBY_RESIZABLE",defaultText:"Use Shift+Arrow keys to resize"},yk={key:"DIALOG_HEADER_ARIA_DESCRIBEDBY_DRAGGABLE",defaultText:"Use Arrow keys to move"},wk={key:"DIALOG_HEADER_ARIA_DESCRIBEDBY_DRAGGABLE_RESIZABLE",defaultText:"Use Arrow keys to move, Shift+Arrow keys to resize"},Ck={key:"LABEL_COLON",defaultText:":"},xk={key:"FORM_CHECKABLE_REQUIRED",defaultText:"Please tick this box if you want to proceed."},BD={key:"FORM_SELECTABLE_REQUIRED",defaultText:"Please select an item in the list."},Sk={key:"FORM_SELECTABLE_REQUIRED2",defaultText:"Please select one of these options."},AD={key:"TABLE_SELECTION",defaultText:"Selection"},ED={key:"TABLE_ROW_SELECTOR",defaultText:"Row Selector"},RD={key:"TABLE_ROW_NAVIGATED",defaultText:"Navigated"},LD={key:"TABLE_NO_DATA",defaultText:"No Data"},PD={key:"TABLE_ROW",defaultText:"Row"},OD={key:"TABLE_ROW_POPIN",defaultText:"Row Popin"},DD={key:"TABLE_ROW_INDEX",defaultText:"{0} of {1}"},zD={key:"TABLE_ROW_SELECTED",defaultText:"Selected"},ND={key:"TABLE_ROW_ACTIVE",defaultText:"Is Active"},MD={key:"TABLE_ROW_NAVIGABLE",defaultText:"Has Details"},$D={key:"TABLE_COLUMN_HEADER_ROW",defaultText:"Column Header Row"},FD={key:"TABLE_ROW_ACTIONS",defaultText:"Row Actions"},HD={key:"TABLE_ROW_SINGLE_ACTION",defaultText:"1 row action available"},UD={key:"TABLE_ROW_MULTIPLE_ACTIONS",defaultText:"{0} row actions available"},VD={key:"TABLE_SELECT_ALL_ROWS",defaultText:"Select All Rows"},qD={key:"TABLE_DESELECT_ALL_ROWS",defaultText:"Deselect All Rows"},kk={key:"CHECKBOX_CHECKED",defaultText:"Checked"},Tk={key:"CHECKBOX_NOT_CHECKED",defaultText:"Not checked"},Ik={key:"CHECKBOX_ARIA_TYPE",defaultText:"Checkbox"},Bk={key:"ICON_ARIA_TYPE_IMAGE",defaultText:"Image"},Ak={key:"ICON_ARIA_TYPE_INTERACTIVE",defaultText:"Button"},Ek="resize-corner",Rk="M13 5v1c0 .25-.104.48-.313.688l-6 6C6.48 12.896 6.25 13 6 13H5l8-8Zm-5 8 5-5v1c0 .25-.104.48-.313.688l-3 3C9.48 12.896 9.25 13 9 13H8Zm5-2v1c0 .25-.104.48-.313.688-.208.208-.437.312-.687.312h-1l2-2Z",Lk=!1,Pk="0 0 16 16",Ok="SAP-icons-v4",Dk="@ui5/webcomponents-icons";ie(Ek,{pathData:Rk,ltr:Lk,viewBox:Pk,collection:Ok,packageName:Dk});const zk="resize-corner",Nk="M11.72 3.22a.75.75 0 1 1 1.06 1.06l-8.5 8.5a.75.75 0 1 1-1.06-1.06l8.5-8.5Zm0 5a.75.75 0 1 1 1.06 1.06l-3.5 3.5a.75.75 0 1 1-1.06-1.06l3.5-3.5Z",Mk=!1,$k="0 0 16 16",Fk="SAP-icons-v5",Hk="@ui5/webcomponents-icons";ie(zk,{pathData:Nk,ltr:Mk,viewBox:$k,collection:Fk,packageName:Hk});const Ov="resize-corner";var Ru;(function(t){t.H1="H1",t.H2="H2",t.H3="H3",t.H4="H4",t.H5="H5",t.H6="H6"})(Ru||(Ru={}));const en=Ru;function Uk(){return f(de,{children:Vk.call(this,this.level)})}function Vk(t){switch(t){case"H1":return f("h1",{class:"ui5-title-root",children:xr.call(this)});case"H2":return f("h2",{class:"ui5-title-root",children:xr.call(this)});case"H3":return f("h3",{class:"ui5-title-root",children:xr.call(this)});case"H4":return f("h4",{class:"ui5-title-root",children:xr.call(this)});case"H5":return f("h5",{class:"ui5-title-root",children:xr.call(this)});case"H6":return f("h6",{id:`${this._id}-inner`,class:"ui5-title-root",children:xr.call(this)});default:return f("h2",{class:"ui5-title-root",children:xr.call(this)})}}function xr(){return f("span",{id:`${this._id}-inner`,children:f("slot",{})})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const qk=`:host(:not([hidden])){display:block;cursor:text}:host{max-width:100%;color:var(--sapGroup_TitleTextColor);font-size:var(--sapFontHeader5Size);font-family:var(--sapFontHeaderFamily);text-shadow:var(--sapContent_TextShadow)}.ui5-title-root{display:inline-block;position:relative;font-weight:400;font-size:inherit;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;max-width:100%;vertical-align:bottom;-webkit-margin-before:0;-webkit-margin-after:0;-webkit-margin-start:0;-webkit-margin-end:0;margin:0;cursor:inherit}:host{white-space:pre-line}:host([wrapping-type="None"]){white-space:nowrap}.ui5-title-root,:host ::slotted(*){white-space:inherit}::slotted(*){font-size:inherit;font-family:inherit;text-shadow:inherit}:host([size="H1"]){font-size:var(--sapFontHeader1Size)}:host([size="H2"]){font-size:var(--sapFontHeader2Size)}:host([size="H3"]){font-size:var(--sapFontHeader3Size)}:host([size="H4"]){font-size:var(--sapFontHeader4Size)}:host([size="H5"]){font-size:var(--sapFontHeader5Size)}:host([size="H6"]){font-size:var(--sapFontHeader6Size)} -`;var Vl=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};let Gr=class extends Ke{constructor(){super(...arguments),this.wrappingType="Normal",this.level="H2",this.size="H5"}get h1(){return this.level===en.H1}get h2(){return this.level===en.H2}get h3(){return this.level===en.H3}get h4(){return this.level===en.H4}get h5(){return this.level===en.H5}get h6(){return this.level===en.H6}};Vl([p()],Gr.prototype,"wrappingType",void 0);Vl([p()],Gr.prototype,"level",void 0);Vl([p()],Gr.prototype,"size",void 0);Gr=Vl([ce({tag:"ui5-title",renderer:we,template:Uk,styles:qk})],Gr);Gr.define();const Z_=Gr;function Gk(){return z("svg",{class:"ui5-icon-root",part:"root",tabindex:this._tabIndex,dir:this._dir,viewBox:this.viewBox,role:this.effectiveAccessibleRole,focusable:"false",preserveAspectRatio:"xMidYMid meet","aria-label":this.effectiveAccessibleName,"aria-hidden":this.effectiveAriaHidden,xmlns:"http://www.w3.org/2000/svg",onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._onclick,children:[this.hasIconTooltip&&z("title",{id:`${this._id}-tooltip`,children:[" ",this.effectiveAccessibleName," "]}),f("g",{role:"presentation",children:jk.call(this)})]})}function jk(){return this.customTemplate?this.customTemplate:this.customTemplateAsString?f("g",{dangerouslySetInnerHTML:{__html:this.customTemplateAsString}}):this.pathData.map(t=>f("path",{d:t}))}var Lu;(function(t){t.Image="Image",t.Decorative="Decorative",t.Interactive="Interactive"})(Lu||(Lu={}));const Hi=Lu;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const Wk=`:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host([hidden]){display:none}:host([invalid]){display:none}:host(:not([hidden]).ui5_hovered){opacity:.7}:host{display:inline-block;width:1rem;height:1rem;color:var(--sapContent_IconColor);fill:currentColor;outline:none}:host([design="Contrast"]){color:var(--sapContent_ContrastIconColor)}:host([design="Critical"]){color:var(--sapCriticalElementColor)}:host([design="Information"]){color:var(--sapInformativeElementColor)}:host([design="Negative"]){color:var(--sapNegativeElementColor)}:host([design="Neutral"]){color:var(--sapNeutralElementColor)}:host([design="NonInteractive"]){color:var(--sapContent_NonInteractiveIconColor)}:host([design="Positive"]){color:var(--sapPositiveElementColor)}:host([mode="Interactive"][desktop]) .ui5-icon-root:focus,:host([mode="Interactive"]) .ui5-icon-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--ui5-icon-focus-border-radius)}.ui5-icon-root{display:flex;height:100%;width:100%;outline:none;vertical-align:top}:host([mode="Interactive"]){cursor:pointer}.ui5-icon-root:not([dir=ltr])>g{transform:var(--_ui5_icon_transform_scale);transform-origin:center} -`;var Oi=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},Rs;const Kk="ICON_NOT_FOUND";let ei=Rs=class extends Ke{constructor(){super(...arguments),this.design="Default",this.showTooltip=!1,this.mode="Decorative",this.pathData=[],this.invalid=!1}_onclick(e){this.mode===Hi.Interactive&&(e.stopImmediatePropagation(),this.fireDecoratorEvent("click"))}_onkeydown(e){this.mode===Hi.Interactive&&(Ye(e)&&this.fireDecoratorEvent("click"),Fe(e)&&e.preventDefault())}_onkeyup(e){this.mode===Hi.Interactive&&Fe(e)&&this.fireDecoratorEvent("click")}get _dir(){return this.ltr?"ltr":void 0}get effectiveAriaHidden(){return this.mode===Hi.Decorative?"true":void 0}get _tabIndex(){return this.mode===Hi.Interactive?0:void 0}get effectiveAccessibleRole(){switch(this.mode){case Hi.Interactive:return"button";case Hi.Decorative:return"presentation";default:return"img"}}onEnterDOM(){zt()&&this.setAttribute("desktop","")}async onBeforeRendering(){var o;const e=this.name;if(!e)return;let i=Sv(e);if(i||(i=await kv(e)),!i)return this.invalid=!0,console.warn(`Required icon is not registered. Invalid icon name: ${this.name}`);if(i===Kk)return this.invalid=!0,console.warn(`Required icon is not registered. You can either import the icon as a module in order to use it e.g. "@ui5/webcomponents-icons/dist/${e.replace("sap-icon://","")}.js", or setup a JSON build step and import "@ui5/webcomponents-icons/dist/AllIcons.js".`);if(this.viewBox=i.viewBox||"0 0 512 512","customTemplate"in i&&i.customTemplate&&(this.customTemplate=qm(i.customTemplate,this)),"customTemplateAsString"in i&&(this.customTemplateAsString=i.customTemplateAsString),this.invalid=!1,"pathData"in i&&i.pathData&&(this.pathData=Array.isArray(i.pathData)?i.pathData:[i.pathData]),this.accData=i.accData,this.ltr=i.ltr,this.packageName=i.packageName,this.accessibleName)this.effectiveAccessibleName=this.accessibleName;else if(this.accData)if(this.packageName){const r=await Nl(this.packageName);this.effectiveAccessibleName=r.getText(this.accData)||void 0}else this.effectiveAccessibleName=((o=this.accData)==null?void 0:o.defaultText)||void 0;else this.effectiveAccessibleName=void 0}get hasIconTooltip(){return this.showTooltip&&this.effectiveAccessibleName}_getAriaTypeDescription(){switch(this.mode){case Hi.Interactive:return Rs.i18nBundle.getText(Ak);case Hi.Image:return Rs.i18nBundle.getText(Bk);default:return""}}get accessibilityInfo(){return this.mode===Hi.Decorative?{}:{role:this.effectiveAccessibleRole,type:this._getAriaTypeDescription(),description:this.effectiveAccessibleName}}};Oi([p()],ei.prototype,"design",void 0);Oi([p()],ei.prototype,"name",void 0);Oi([p()],ei.prototype,"accessibleName",void 0);Oi([p({type:Boolean})],ei.prototype,"showTooltip",void 0);Oi([p()],ei.prototype,"mode",void 0);Oi([p({type:Array,noAttribute:!0})],ei.prototype,"pathData",void 0);Oi([p({type:Object,noAttribute:!0})],ei.prototype,"accData",void 0);Oi([p({type:Boolean})],ei.prototype,"invalid",void 0);Oi([p({noAttribute:!0})],ei.prototype,"effectiveAccessibleName",void 0);Oi([Xe("@ui5/webcomponents")],ei,"i18nBundle",void 0);ei=Rs=Oi([ce({tag:"ui5-icon",languageAware:!0,themeAware:!0,renderer:we,template:Gk,styles:Wk}),j("click",{bubbles:!0})],ei);ei.define();const Pe=ei;function Zk(){return G_.call(this,{beforeContent:Xk,afterContent:Yk})}function Xk(){return f(de,{children:!!this._displayHeader&&f("header",{children:z("div",{class:"ui5-popup-header-root",id:"ui5-popup-header",role:"group","aria-describedby":this.effectiveAriaDescribedBy,"aria-roledescription":this.ariaRoleDescriptionHeaderText,tabIndex:this._headerTabIndex,onKeyDown:this._onDragOrResizeKeyDown,onMouseDown:this._onDragMouseDown,part:"header",children:[this.hasValueState&&f(Pe,{class:"ui5-dialog-value-state-icon",name:this._dialogStateIcon}),this.header.length?f("slot",{name:"header"}):f(Z_,{level:"H1",id:"ui5-popup-header-text",class:"ui5-popup-header-text",children:this.headerText}),this.resizable?this.draggable?f("span",{id:`${this._id}-descr`,"aria-hidden":"true",class:"ui5-hidden-text",children:this.ariaDescribedByHeaderTextDraggableAndResizable}):f("span",{id:`${this._id}-descr`,"aria-hidden":"true",class:"ui5-hidden-text",children:this.ariaDescribedByHeaderTextResizable}):this.draggable&&f("span",{id:`${this._id}-descr`,"aria-hidden":"true",class:"ui5-hidden-text",children:this.ariaDescribedByHeaderTextDraggable})]})})})}function Yk(){return z(de,{children:[!!this.footer.length&&f("footer",{class:"ui5-popup-footer-root",part:"footer",children:f("slot",{name:"footer"})}),this._showResizeHandle&&f("div",{class:"ui5-popup-resize-handle",onMouseDown:this._onResizeMouseDown,children:f(Pe,{name:Ov})})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const Dv=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{position:fixed;background:var(--sapGroup_ContentBackground);border-radius:var(--_ui5_popup_border_radius);min-height:2rem;box-sizing:border-box}:host([open]){display:flex}.ui5-popup-root{background:inherit;border-radius:inherit;width:100%;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;flex:1 1 auto;outline:none}.ui5-popup-root .ui5-popup-header-root{box-shadow:var(--_ui5_popup_header_shadow);border-bottom:var(--_ui5_popup_header_border)}.ui5-popup-content{color:var(--sapTextColor);flex:auto}.ui5-popup-content:focus{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:calc(-1 * var(--sapContent_FocusWidth));border-radius:var(--_ui5_popup_border_radius)}.ui5-popup-footer-root{background:var(--sapPageFooter_Background);border-top:1px solid var(--sapPageFooter_BorderColor);color:var(--sapPageFooter_TextColor)}.ui5-popup-header-root,.ui5-popup-footer-root,:host([header-text]) .ui5-popup-header-text{margin:0;display:flex;justify-content:center;align-items:center}.ui5-popup-header-root .ui5-popup-header-text{font-weight:var(--sapFontHeaderFamily);font-size:var(--sapFontHeader5Size);color:var(--sapPageHeader_TextColor)}.ui5-popup-content{overflow:auto;box-sizing:border-box}:host([header-text]) .ui5-popup-header-text{min-height:var(--_ui5_popup_default_header_height);max-height:var(--_ui5_popup_default_header_height);line-height:var(--_ui5_popup_default_header_height);text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline-flex;justify-content:var(--_ui5_popup_header_prop_header_text_alignment)}:host([header-text]) .ui5-popup-header-root{justify-content:var(--_ui5_popup_header_prop_header_text_alignment)}:host(:not([header-text])) .ui5-popup-header-text{display:none}:host([media-range="S"]) .ui5-popup-content{padding:1rem var(--_ui5_popup_content_padding_s)}:host([media-range="M"]) .ui5-popup-content,:host([media-range="L"]) .ui5-popup-content{padding:1rem var(--_ui5_popup_content_padding_m_l)}:host([media-range="XL"]) .ui5-popup-content{padding:1rem var(--_ui5_popup_content_padding_xl)}.ui5-popup-header-root{background:var(--sapPageHeader_Background)}:host([media-range="S"]) .ui5-popup-header-root,:host([media-range="S"]) .ui5-popup-footer-root{padding-left:var(--_ui5_popup_header_footer_padding_s);padding-right:var(--_ui5_popup_header_footer_padding_s)}:host([media-range="M"]) .ui5-popup-header-root,:host([media-range="L"]) .ui5-popup-header-root,:host([media-range="M"]) .ui5-popup-footer-root,:host([media-range="L"]) .ui5-popup-footer-root{padding-left:var(--_ui5_popup_header_footer_padding_m_l);padding-right:var(--_ui5_popup_header_footer_padding_m_l)}:host([media-range="XL"]) .ui5-popup-header-root,:host([media-range="XL"]) .ui5-popup-footer-root{padding-left:var(--_ui5_popup_header_footer_padding_xl);padding-right:var(--_ui5_popup_header_footer_padding_xl)}::slotted([slot="footer"]){height:var(--_ui5_popup_footer_height)}::slotted([slot="footer"][ui5-bar][design="Footer"]){border-top:none}::slotted([slot="header"][ui5-bar]){box-shadow:none}::slotted([slot="footer"][ui5-toolbar]){border:0}::slotted([slot="footer"][ui5-bar][design="Footer"]),::slotted([slot="header"][ui5-bar][design="Header"]){--_ui5_bar-start-container-padding-start: 0;--_ui5_bar-mid-container-padding-start-end: 0;--_ui5_bar-end-container-padding-end: 0} -`;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const Jk=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{min-width:20rem;min-height:6rem;max-height:94%;max-width:90%;flex-direction:column;box-shadow:var(--sapContent_Shadow3);border-radius:var(--sapElement_BorderCornerRadius)}:host([stretch]){width:90%;height:94%}:host([stretch][on-phone]){width:100%;height:100%;max-height:100%;max-width:100%;border-radius:0;min-width:0}:host([draggable]) .ui5-popup-header-root,:host([draggable]) ::slotted([slot="header"]){cursor:move}:host([draggable]) .ui5-popup-header-root *{cursor:auto}:host([draggable]) .ui5-popup-root{user-select:text}::slotted([slot="header"]){max-width:100%}.ui5-popup-root{display:flex;flex-direction:column;max-width:100vw}.ui5-popup-header-root{position:relative}.ui5-popup-header-root:before{content:"";position:absolute;inset-block-start:auto;inset-block-end:0;inset-inline-start:0;inset-inline-end:0;height:var(--_ui5_dialog_header_state_line_height);background:var(--sapObjectHeader_BorderColor)}:host([state="Negative"]) .ui5-popup-header-root:before{background:var(--sapErrorBorderColor)}:host([state="Information"]) .ui5-popup-header-root:before{background:var(--sapInformationBorderColor)}:host([state="Positive"]) .ui5-popup-header-root:before{background:var(--sapSuccessBorderColor)}:host([state="Critical"]) .ui5-popup-header-root:before{background:var(--sapWarningBorderColor)}.ui5-dialog-value-state-icon{margin-inline-end:.5rem;flex-shrink:0}:host([state="Negative"]) .ui5-dialog-value-state-icon{color:var(--sapNegativeElementColor)}:host([state="Information"]) .ui5-dialog-value-state-icon{color:var(--sapInformativeElementColor)}:host([state="Positive"]) .ui5-dialog-value-state-icon{color:var(--sapPositiveElementColor)}:host([state="Critical"]) .ui5-dialog-value-state-icon{color:var(--sapCriticalElementColor)}.ui5-popup-header-root{outline:none}:host([desktop]) .ui5-popup-header-root:focus:after,.ui5-popup-header-root:focus-visible:after{content:"";position:absolute;left:var(--_ui5_dialog_header_focus_left_offset);bottom:var(--_ui5_dialog_header_focus_bottom_offset);right:var(--_ui5_dialog_header_focus_right_offset);top:var(--_ui5_dialog_header_focus_top_offset);border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5_dialog_header_border_radius) var(--_ui5_dialog_header_border_radius) 0 0;pointer-events:none}:host([stretch]) .ui5-popup-content{width:100%;height:100%}.ui5-popup-content{min-height:var(--_ui5_dialog_content_min_height);flex:1 1 auto}.ui5-popup-resize-handle{position:absolute;bottom:-.5rem;inset-inline-end:-.5rem;cursor:var(--_ui5_dialog_resize_cursor);width:1.5rem;height:1.5rem;border-radius:50%}.ui5-popup-resize-handle [ui5-icon]{color:var(--sapButton_Lite_TextColor)}:host::backdrop{background-color:var(--_ui5_popup_block_layer_background);opacity:var(--_ui5_popup_block_layer_opacity)}.ui5-block-layer{display:block} -`;var $o=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},po;const Vo=16,Qk={[Ne.Negative]:"error",[Ne.Critical]:"alert",[Ne.Positive]:"sys-enter-2",[Ne.Information]:"information"};let fi=po=class extends Ul{constructor(){super(),this.stretch=!1,this.draggable=!1,this.resizable=!1,this.state="None",this._draggedOrResized=!1,this._dragHandlerRegistered=!1,this._revertSize=()=>{Object.assign(this.style,{top:"",left:"",width:"",height:""})},this._screenResizeHandler=this._screenResize.bind(this),this._dragMouseMoveHandler=this._onDragMouseMove.bind(this),this._dragMouseUpHandler=this._onDragMouseUp.bind(this),this._resizeMouseMoveHandler=this._onResizeMouseMove.bind(this),this._resizeMouseUpHandler=this._onResizeMouseUp.bind(this),this._dragStartHandler=this._handleDragStart.bind(this)}static _isHeader(e){return e.classList.contains("ui5-popup-header-root")||e.getAttribute("slot")==="header"}get isModal(){return!0}get _ariaLabelledBy(){let e;return this.headerText&&!this._ariaLabel&&(e="ui5-popup-header-text"),e}get ariaRoleDescriptionHeaderText(){return this.resizable||this.draggable?po.i18nBundle.getText(vk):void 0}get effectiveAriaDescribedBy(){return this.resizable||this.draggable?`${this._id}-descr`:void 0}get ariaDescribedByHeaderTextResizable(){return po.i18nBundle.getText(bk)}get ariaDescribedByHeaderTextDraggable(){return po.i18nBundle.getText(yk)}get ariaDescribedByHeaderTextDraggableAndResizable(){return po.i18nBundle.getText(wk)}get _displayHeader(){return this.header.length||this.headerText||this.draggable||this.resizable}get _movable(){return!this.stretch&&this.onDesktop&&(this.draggable||this.resizable)}get _headerTabIndex(){return this._movable?0:void 0}get _showResizeHandle(){return this.resizable&&this.onDesktop}get _minHeight(){let e=Number.parseInt(window.getComputedStyle(this.contentDOM).minHeight);const i=this._root.querySelector(".ui5-popup-header-root");i&&(e+=i.offsetHeight);const o=this._root.querySelector(".ui5-popup-footer-root");return o&&(e+=o.offsetHeight),e}get hasValueState(){return this.state!==Ne.None}get _dialogStateIcon(){return Qk[this.state]}get _role(){if(this.accessibleRole!==Js.None)return this.state===Ne.Negative||this.state===Ne.Critical?Cn(Js.AlertDialog):Cn(this.accessibleRole)}_show(){super._show(),this._center()}onBeforeRendering(){super.onBeforeRendering(),this._isRTL=this.effectiveDir==="rtl"}_resize(){super._resize(),this._draggedOrResized||this._center()}_screenResize(){this._center()}_attachBrowserEvents(){this._attachScreenResizeHandler(),this._registerDragHandler()}_detachBrowserEvents(){this._detachScreenResizeHandler(),this._deregisterDragHandler()}_attachScreenResizeHandler(){this._screenResizeHandlerAttached||(window.addEventListener("resize",this._screenResizeHandler),this._screenResizeHandlerAttached=!0)}_detachScreenResizeHandler(){this._screenResizeHandlerAttached&&(window.removeEventListener("resize",this._screenResizeHandler),this._screenResizeHandlerAttached=!1)}_registerDragHandler(){this._dragHandlerRegistered||(this.addEventListener("dragstart",this._dragStartHandler),this._dragHandlerRegistered=!0)}_deregisterDragHandler(){this._dragHandlerRegistered&&(this.removeEventListener("dragstart",this._dragStartHandler),this._dragHandlerRegistered=!1)}_center(){const e=window.innerHeight-this.offsetHeight,i=window.innerWidth-this.offsetWidth;Object.assign(this.style,{top:`${Math.round(e/2)}px`,left:`${Math.round(i/2)}px`})}_onDragMouseDown(e){if(!this._movable||!this.draggable||!po._isHeader(e.target))return;const{top:i,left:o}=this.getBoundingClientRect(),{width:r,height:n}=window.getComputedStyle(this);Object.assign(this.style,{top:`${i}px`,left:`${o}px`,width:`${Math.round(Number.parseFloat(r)*100)/100}px`,height:`${Math.round(Number.parseFloat(n)*100)/100}px`}),this._x=e.clientX,this._y=e.clientY,this._draggedOrResized=!0,this._attachMouseDragHandlers()}_onDragMouseMove(e){e.preventDefault();const{clientX:i,clientY:o}=e,r=this._x-i,n=this._y-o,{left:a,top:s}=this.getBoundingClientRect();Object.assign(this.style,{left:`${Math.floor(a-r)}px`,top:`${Math.floor(s-n)}px`}),this._x=i,this._y=o}_onDragMouseUp(){delete this._x,delete this._y,this._detachMouseDragHandlers()}_onDragOrResizeKeyDown(e){if(!(!this._movable||!po._isHeader(e.target))){if(this.draggable&&[ai,li,vt,Tt].some(i=>i(e))){this._dragWithEvent(e);return}this.resizable&&[Fh,Hh,Uh,Vh].some(i=>i(e))&&this._resizeWithEvent(e)}}_dragWithEvent(e){const{top:i,left:o,width:r,height:n}=this.getBoundingClientRect();let a=0,s="top";switch(!0){case ai(e):a=i-Vo,s="top";break;case li(e):a=i+Vo,s="top";break;case vt(e):a=o-Vo,s="left";break;case Tt(e):a=o+Vo,s="left";break}a=xt(a,0,s==="left"?window.innerWidth-r:window.innerHeight-n),this.style[s]=`${a}px`}_resizeWithEvent(e){this._draggedOrResized=!0,this.addEventListener("ui5-before-close",this._revertSize,{once:!0});const{top:i,left:o}=this.getBoundingClientRect(),r=window.getComputedStyle(this),n=Number.parseFloat(r.minWidth),a=window.innerWidth-o,s=window.innerHeight-i;let l=Number.parseFloat(r.width),c=Number.parseFloat(r.height);switch(!0){case Fh(e):c-=Vo;break;case Hh(e):c+=Vo;break;case Uh(e):l-=Vo;break;case Vh(e):l+=Vo;break}l=xt(l,n,a),c=xt(c,this._minHeight,s),Object.assign(this.style,{width:`${l}px`,height:`${c}px`})}_attachMouseDragHandlers(){window.addEventListener("mousemove",this._dragMouseMoveHandler),window.addEventListener("mouseup",this._dragMouseUpHandler)}_detachMouseDragHandlers(){window.removeEventListener("mousemove",this._dragMouseMoveHandler),window.removeEventListener("mouseup",this._dragMouseUpHandler)}_onResizeMouseDown(e){if(!this._movable||!this.resizable)return;e.preventDefault();const{top:i,left:o}=this.getBoundingClientRect(),{width:r,height:n,minWidth:a}=window.getComputedStyle(this);this._initialX=e.clientX,this._initialY=e.clientY,this._initialWidth=Number.parseFloat(r),this._initialHeight=Number.parseFloat(n),this._initialTop=i,this._initialLeft=o,this._minWidth=Number.parseFloat(a),this._cachedMinHeight=this._minHeight,Object.assign(this.style,{top:`${i}px`,left:`${o}px`}),this._draggedOrResized=!0,this._attachMouseResizeHandlers()}_onResizeMouseMove(e){const{clientX:i,clientY:o}=e;let r,n;if(this._isRTL){r=xt(this._initialWidth-(i-this._initialX),this._minWidth,this._initialLeft+this._initialWidth),Object.assign(this.style,{width:`${r}px`});const s=r-this.getBoundingClientRect().width,l=this._initialLeft+this._initialWidth+s;n=xt(l-r,0,l-this._minWidth)}else r=xt(this._initialWidth+(i-this._initialX),this._minWidth,window.innerWidth-this._initialLeft);const a=xt(this._initialHeight+(o-this._initialY),this._cachedMinHeight,window.innerHeight-this._initialTop);Object.assign(this.style,{height:`${a}px`,width:`${r}px`,left:this._isRTL?`${n}px`:void 0})}_onResizeMouseUp(){delete this._initialX,delete this._initialY,delete this._initialWidth,delete this._initialHeight,delete this._initialTop,delete this._initialLeft,delete this._minWidth,delete this._cachedMinHeight,this._detachMouseResizeHandlers()}_handleDragStart(e){this.draggable&&e.target instanceof HTMLElement&&po._isHeader(e.target)&&e.preventDefault()}_attachMouseResizeHandlers(){window.addEventListener("mousemove",this._resizeMouseMoveHandler),window.addEventListener("mouseup",this._resizeMouseUpHandler),this.addEventListener("ui5-before-close",this._revertSize,{once:!0})}_detachMouseResizeHandlers(){window.removeEventListener("mousemove",this._resizeMouseMoveHandler),window.removeEventListener("mouseup",this._resizeMouseUpHandler)}};$o([p()],fi.prototype,"headerText",void 0);$o([p({type:Boolean})],fi.prototype,"stretch",void 0);$o([p({type:Boolean})],fi.prototype,"draggable",void 0);$o([p({type:Boolean})],fi.prototype,"resizable",void 0);$o([p()],fi.prototype,"state",void 0);$o([ae()],fi.prototype,"header",void 0);$o([ae()],fi.prototype,"footer",void 0);$o([Xe("@ui5/webcomponents")],fi,"i18nBundle",void 0);fi=po=$o([ce({tag:"ui5-dialog",template:Zk,styles:[Ul.styles,Dv,Jk]})],fi);fi.define();const eT=fi;/*! - * OpenUI5 - * (c) Copyright 2026 SAP SE or an SAP affiliate company. - * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. - */var tT=function(t,e){var i=t.toString(16);return i};/*! - * OpenUI5 - * (c) Copyright 2026 SAP SE or an SAP affiliate company. - * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. - */var iT=/[\x00-\x2b\x2f\x3a-\x40\x5b-\x5e\x60\x7b-\xff\u2028\u2029]/g,oT=/[\x00-\x08\x0b\x0c\x0e-\x1f\x7f-\x9f]/,bp={"<":"<",">":">","&":"&",'"':"""},rT=function(t){var e=bp[t];return e||(oT.test(t)?e="�":e="&#x"+tT(t.charCodeAt(0))+";",bp[t]=e),e},nT=function(t){return t.replace(iT,rT)};const aT=(t,e,i,o)=>{Ai(t)&&(i!==e.length-1?(t.stopImmediatePropagation(),t.preventDefault(),e[i+1].focus()):(o.closeValueState(),o.focusInput())),Lo(t)&&(t.preventDefault(),t.stopImmediatePropagation(),i>0?e[i-1].focus():o.focusInput()),ai(t)&&(t.preventDefault(),t.stopImmediatePropagation(),o.isPopoverOpen()&&o.focusInput()),li(t)&&(t.preventDefault(),t.stopImmediatePropagation(),o.navigateToItem()),Ro(t)&&(t.preventDefault(),t.stopImmediatePropagation())},sT=t=>{let e=0;return(t.selectionStart||t.selectionStart===0)&&(e=t.selectionDirection==="backward"?t.selectionStart:t.selectionEnd),e},lT=(t,e)=>{t.selectionStart?(t.focus(),t.setSelectionRange(e,e)):t.focus()};var Pu;(function(t){t.Text="Text",t.Email="Email",t.Number="Number",t.Password="Password",t.Tel="Tel",t.URL="URL",t.Search="Search"})(Pu||(Pu={}));const cT=Pu,uT="decline",_T="m2.205 2.96.752-.789A.559.559 0 0 1 3.367 2c.137 0 .263.057.377.171l4.239 4.286 4.273-4.286A.522.522 0 0 1 12.633 2a.56.56 0 0 1 .41.171l.752.789c.273.251.273.514 0 .789L9.555 8l4.24 4.286c.25.251.25.503 0 .754l-.752.789c-.183.114-.32.171-.41.171-.069 0-.194-.057-.377-.171L7.983 9.543l-4.24 4.286a.522.522 0 0 1-.375.171c-.092 0-.228-.057-.41-.171l-.753-.789c-.25-.251-.25-.503 0-.754L6.445 8l-4.24-4.251c-.273-.275-.273-.538 0-.789Z",dT=!1,hT=Tv,pT="0 0 16 16",fT="SAP-icons-v4",gT="@ui5/webcomponents-icons";ie(uT,{pathData:_T,ltr:dT,viewBox:pT,accData:hT,collection:fT,packageName:gT});const mT="decline",vT="M11.72 3.22a.75.75 0 1 1 1.06 1.06L9.06 8l3.72 3.72a.75.75 0 1 1-1.06 1.06L8 9.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06L6.94 8 3.22 4.28a.75.75 0 1 1 1.06-1.06L8 6.94l3.72-3.72Z",bT=!1,yT=Tv,wT="0 0 16 16",CT="SAP-icons-v5",xT="@ui5/webcomponents-icons";ie(mT,{pathData:vT,ltr:bT,viewBox:wT,accData:yT,collection:CT,packageName:xT});const X_="decline";var Ou;(function(t){t.Center="Center",t.Start="Start",t.End="End",t.Stretch="Stretch"})(Ou||(Ou={}));const Ir=Ou,zv={toAttribute(t){return t instanceof HTMLElement?null:t},fromAttribute(t){return t}};var Du;(function(t){t.Start="Start",t.End="End",t.Top="Top",t.Bottom="Bottom"})(Du||(Du={}));const Br=Du;var zu;(function(t){t.Center="Center",t.Top="Top",t.Bottom="Bottom",t.Stretch="Stretch"})(zu||(zu={}));const or=zu,ST=t=>t.parentElement?t.parentElement:t.parentNode.host;let Nv;const kT=300,Rt=[],ja=()=>{Rt.forEach(t=>{t.instance.reposition()})},TT=()=>{let t=ki();t.tagName==="IFRAME"&&NT().reverse().forEach(e=>{const i=e.instance,o=i.getOpenerHTMLElement(i.opener);for(;t;){if(t===o)return;t=ST(t)}i.closePopup(!1,!1,!0)})},IT=()=>{Nv=setInterval(()=>{ja(),TT()},kT)},BT=()=>{clearInterval(Nv)},AT=()=>{document.addEventListener("scroll",ja,{capture:!0})},ET=()=>{document.removeEventListener("scroll",ja,{capture:!0})},RT=t=>{t&&t.shadowRoot.addEventListener("scroll",ja,{capture:!0})},LT=t=>{t&&t.shadowRoot.removeEventListener("scroll",ja,{capture:!0})},PT=()=>{document.addEventListener("mousedown",Mv,{capture:!0})},OT=()=>{document.removeEventListener("mousedown",Mv,{capture:!0})},Mv=t=>{const e=J2();if(!(e.length===0||!yp(e[e.length-1].instance)))for(let o=e.length-1;o!==-1;o--){const r=e[o].instance;if(!yp(r)||r.isModal||r.isOpenerClicked(t)||r.isClicked(t))return;r.closePopup()}},DT=t=>{const e=MT(t);gv(t,e),Rt.push({instance:t,parentPopovers:e}),RT(t),Rt.length===1&&(AT(),PT(),IT())},zT=t=>{const e=[t];for(let i=0;i0&&o>-1&&e.push(Rt[i].instance)}for(let i=e.length-1;i>=0;i--)for(let o=0;o=0&&(mv(Rt[r].instance),LT(Rt[r].instance),Rt.splice(r,1)[0].instance.closePopup(!1,!0))}Rt.length||(ET(),OT(),BT())},NT=()=>Rt,MT=t=>{let e=t.parentNode;const i=[];for(;e&&e.parentNode;){for(let o=0;on.width,g=a.height>n.height;switch(r&&(s=-s,c=-c),e.getActualPlacement(n)){case Te.Left:return g?u>l+o?me.BottomLeft:me.TopLeft:_===or.Top?me.BottomLeft:me.TopLeft;case Te.Right:return g?u+one);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const UT=`:host{box-shadow:var(--_ui5_popover_box_shadow);background-color:var(--_ui5_popover_background);max-width:calc(100vw - (100vw - 100%) - 2 * var(--_ui5_popup_viewport_margin))}:host([hide-arrow]){box-shadow:var(--_ui5_popover_no_arrow_box_shadow)}:host([actual-placement="Bottom"]) .ui5-popover-arrow{left:calc(50% - .5625rem);top:-.5rem;height:.5rem}:host([actual-placement="Bottom"]) .ui5-popover-arrow:after{margin:var(--_ui5_popover_upward_arrow_margin)}:host([actual-placement="Left"]) .ui5-popover-arrow{top:calc(50% - .5625rem);right:-.5625rem;width:.5625rem}:host([actual-placement="Left"]) .ui5-popover-arrow:after{margin:var(--_ui5_popover_right_arrow_margin)}:host([actual-placement="Top"]) .ui5-popover-arrow{left:calc(50% - .5625rem);height:.5625rem;top:100%}:host([actual-placement="Top"]) .ui5-popover-arrow:after{margin:var(--_ui5_popover_downward_arrow_margin)}:host(:not([actual-placement])) .ui5-popover-arrow,:host([actual-placement="Right"]) .ui5-popover-arrow{left:-.5625rem;top:calc(50% - .5625rem);width:.5625rem;height:1rem}:host(:not([actual-placement])) .ui5-popover-arrow:after,:host([actual-placement="Right"]) .ui5-popover-arrow:after{margin:var(--_ui5_popover_left_arrow_margin)}:host([hide-arrow]) .ui5-popover-arrow{display:none}.ui5-popover-root{min-width:6.25rem}.ui5-popover-arrow{pointer-events:none;display:block;width:1rem;height:1rem;position:absolute;overflow:hidden}.ui5-popover-arrow:after{content:"";display:block;width:.7rem;height:.7rem;background-color:var(--_ui5_popover_background);box-shadow:var(--_ui5_popover_box_shadow);transform:rotate(-45deg)}:host([modal])::backdrop{background-color:var(--_ui5_popup_block_layer_background);opacity:var(--_ui5_popup_block_layer_opacity)}:host([modal]) .ui5-block-layer{display:block}.ui5-popover-resize-handle{position:absolute;width:1.5rem;height:1.5rem;border-radius:50%;z-index:1}.ui5-popover-resize-handle [ui5-icon]{position:absolute;width:1rem;height:1rem;cursor:inherit;color:var(--sapButton_Lite_TextColor);--rotAngle: 0;--scaleX: 1;transform:rotate(var(--rotAngle)) scaleX(var(--scaleX))}.ui5-popover-rtl .ui5-popover-resize-handle [ui5-icon]{--scaleX: -1}.ui5-popover-resize-handle-top-right .ui5-popover-resize-handle{top:-.5rem;right:-.5rem;cursor:ne-resize}.ui5-popover-resize-handle-top-right .ui5-popover-resize-handle [ui5-icon]{bottom:0;left:0;--rotAngle: 270deg}.ui5-popover-resize-handle-top-left .ui5-popover-resize-handle{top:-.5rem;left:-.5rem;cursor:nw-resize}.ui5-popover-resize-handle-top-left .ui5-popover-resize-handle [ui5-icon]{bottom:0;right:0;--rotAngle: 180deg}.ui5-popover-resize-handle-bottom-left .ui5-popover-resize-handle{bottom:-.5rem;left:-.5rem;cursor:ne-resize}.ui5-popover-resize-handle-bottom-left .ui5-popover-resize-handle [ui5-icon]{top:0;right:0;--rotAngle: 90deg}.ui5-popover-resize-handle-bottom-right .ui5-popover-resize-handle{bottom:-.5rem;right:-.5rem;cursor:nw-resize}.ui5-popover-resize-handle-bottom-right .ui5-popover-resize-handle [ui5-icon]{top:0;left:0}.ui5-popover-resizing,.ui5-popover-resizing *{user-select:none!important} -`;var wt=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},it;const us=8;var st;(function(t){t.Center="Center",t.Left="Left",t.Right="Right",t.Stretch="Stretch"})(st||(st={}));var Te;(function(t){t.Left="Left",t.Right="Right",t.Top="Top",t.Bottom="Bottom"})(Te||(Te={}));let nt=it=class extends Ul{static get VIEWPORT_MARGIN(){return 10}constructor(){super(),this.placement="End",this.horizontalAlign="Center",this.verticalAlign="Center",this.modal=!1,this.hideArrow=!1,this.allowTargetOverlap=!1,this.resizable=!1,this.arrowTranslateX=0,this.arrowTranslateY=0,this.actualPlacement="Right",this.isPopover=!0,this._popoverResize=new $T(this)}set opener(e){this._opener!==e&&(this._opener=e,e&&this.open&&this.openPopup())}get opener(){return this._opener}async openPopup(){if(this._opened)return;const e=this.getOpenerHTMLElement(this.opener);if(e){if(!e||this.isOpenerOutsideViewport(e.getBoundingClientRect())){await Qi(),this.open=!1,this.fireDecoratorEvent("close");return}this._initialWidth=this.style.width,this._initialHeight=this.style.height,this._openerRect=e.getBoundingClientRect(),this._observeOpenerVisibility(),await super.openPopup()}}closePopup(e=!1,i=!1,o=!1){this._unobserveOpenerVisibility(),Object.assign(this.style,{width:this._initialWidth,height:this._initialHeight}),this._popoverResize.reset(),delete this._resizeHandlePlacement,super.closePopup(e,i,o)}isOpenerClicked(e){const i=e.target,o=this.getOpenerHTMLElement(this.opener);return o?i===o||this._isUI5AbstractElement(i)&&i.getFocusDomRef()===o?!0:e.composedPath().indexOf(o)>-1:!1}isClicked(e){return this._showResizeHandle&&this.shadowRoot.querySelector(".ui5-popover-resize-handle")===e.composedPath()[0]?!0:L2(e,this.getBoundingClientRect())}_addOpenedPopup(){DT(this)}_removeOpenedPopup(){zT(this)}getOpenerHTMLElement(e){if(e==null)return e;if(e instanceof HTMLElement)return this._isUI5AbstractElement(e)?e.getFocusDomRef():e;let i=this.getRootNode();if(!i)return null;i===this&&(i=document);let o=i.getElementById(e);return i instanceof ShadowRoot&&!o&&(o=document.getElementById(e)),o&&(this._isUI5AbstractElement(o)?o.getFocusDomRef():o)}shouldCloseDueToOverflow(e,i){const r={Left:i.right,Right:i.left,Top:i.top,Bottom:i.bottom},n=this.getOpenerHTMLElement(this.opener),a=_v(n);let s=!1,l=!1;if(a instanceof it){const c=a.getBoundingClientRect();s=i.top>c.top+c.height,l=i.top+i.heighta.innerHeight||s||l}shouldCloseDueToNoOpener(e){return e.top===0&&e.bottom===0&&e.left===0&&e.right===0}isOpenerOutsideViewport(e){return e.bottom<0||e.top>window.innerHeight||e.right<0||e.left>window.innerWidth}_resize(){super._resize(),this.open&&this.reposition()}get _viewportMargin(){return it.VIEWPORT_MARGIN}reposition(){this._show(),this.resizable&&(this._resizeHandlePlacement=this._popoverResize.getResizeHandlePlacement())}async _show(){super._show();const e=this.getOpenerHTMLElement(this.opener);if(!e){Object.assign(this.style,{top:"0px",left:"0px"});return}if(e&&Ci(e)&&!e.getDomRef())return;this._opened||this._showOutsideViewport();const i=this.getPopoverSize();let o;if(i.width===0||i.height===0)return;if(this.open&&(this._openerRect=e.getBoundingClientRect()),this._oldPlacement&&this.shouldCloseDueToNoOpener(this._openerRect)&&this.isFocusWithin()?o=this._oldPlacement:o=this.calcPlacement(this._openerRect,i),this._preventRepositionAndClose||this.isOpenerOutsideViewport(this._openerRect))return await this._waitForDomRef(),this.closePopup();this._oldPlacement=o,this.actualPlacement=o.actualPlacement;let r=xt(this._left,it.VIEWPORT_MARGIN,document.documentElement.clientWidth-i.width-it.VIEWPORT_MARGIN);this.actualPlacement===Te.Right&&(r=Math.max(r,this._left));let n=xt(this._top,it.VIEWPORT_MARGIN,document.documentElement.clientHeight-i.height-it.VIEWPORT_MARGIN);this.actualPlacement===Te.Bottom&&(n=Math.max(n,this._top)),this.arrowTranslateX=o.arrow.x,this.arrowTranslateY=o.arrow.y,n=this._adjustForIOSKeyboard(n),Object.assign(this.style,{top:`${n}px`,left:`${r}px`}),!this._popoverResize.isResized&&(this.horizontalAlign===Ir.Stretch&&this._width&&(this.style.width=this._width),this.verticalAlign===or.Stretch&&this._height&&(this.style.height=this._height))}_adjustForIOSKeyboard(e){if(!lm())return e;const i=Math.ceil(this.getBoundingClientRect().top);return e+(Number.parseInt(this.style.top||"0")-i)}_onOpenerIntersection(e){var i;this.open&&!((i=e[0])!=null&&i.isIntersecting)&&this.closePopup()}_observeOpenerVisibility(){this._unobserveOpenerVisibility();const e=this.getOpenerHTMLElement(this.opener);e&&(this._openerIntersectionObserver=new IntersectionObserver(this._onOpenerIntersection.bind(this)),this._openerIntersectionObserver.observe(e))}_unobserveOpenerVisibility(){this._openerIntersectionObserver&&(this._openerIntersectionObserver.disconnect(),this._openerIntersectionObserver=null)}getPopoverSize(e=!1){const i=this.getBoundingClientRect(),o=i.width;let r;const n=this.getDomRef();if(e&&n){const a=n.querySelector(".ui5-popup-header-root"),s=n.querySelector(".ui5-popup-content"),l=n.querySelector(".ui5-popup-footer-root");r=(s==null?void 0:s.scrollHeight)||0,r+=(a==null?void 0:a.scrollHeight)||0,r+=(l==null?void 0:l.scrollHeight)||0}else r=i.height;return{width:o,height:r}}_showOutsideViewport(){Object.assign(this.style,{top:"-10000px",left:"-10000px"})}_isUI5AbstractElement(e){return Ci(e)&&e.isUI5AbstractElement}get arrowDOM(){return this.shadowRoot.querySelector(".ui5-popover-arrow")}focusOpener(){var e;(e=this.getOpenerHTMLElement(this.opener))==null||e.focus()}calcPlacement(e,i){let o=it.VIEWPORT_MARGIN,r=0;const n=this.allowTargetOverlap,a=document.documentElement.clientWidth,s=document.documentElement.clientHeight;let l=s,c=a;const u=this.getActualPlacement(e);this._preventRepositionAndClose=this.shouldCloseDueToNoOpener(e)||this.shouldCloseDueToOverflow(u,e);const _=u===Te.Top||u===Te.Bottom;this._popoverResize.isResized||(this.horizontalAlign===Ir.Stretch&&_?(i.width=e.width,this._width=`${e.width}px`):this.verticalAlign===or.Stretch&&!_&&(i.height=e.height,this._height=`${e.height}px`));const d=this.hideArrow?0:us;switch(u){case Te.Top:o=this.getVerticalLeft(e,i),r=Math.max(e.top-i.height-d,0),n||(l=e.top-d);break;case Te.Bottom:o=this.getVerticalLeft(e,i),r=e.bottom+d,n?r=Math.max(Math.min(r,s-i.height),0):l=s-e.bottom-d;break;case Te.Left:o=Math.max(e.left-i.width-d,0),r=this.getHorizontalTop(e,i),n||(c=e.left-d);break;case Te.Right:o=e.left+e.width+d,r=this.getHorizontalTop(e,i),n?o=Math.max(Math.min(o,a-i.width),0):c=a-e.right-d;break}_?i.width>a||oa-it.VIEWPORT_MARGIN&&(o=a-it.VIEWPORT_MARGIN-i.width):i.height>s||rs-it.VIEWPORT_MARGIN&&(r=s-it.VIEWPORT_MARGIN-i.height),this._maxHeight=Math.round(l-it.VIEWPORT_MARGIN),this._maxWidth=Math.round(c-it.VIEWPORT_MARGIN),(this._left===void 0||Math.abs(this._left-o)>1.5)&&(this._left=Math.round(o)),(this._top===void 0||Math.abs(this._top-r)>1.5)&&(this._top=Math.round(r));const h=Number.parseInt(window.getComputedStyle(this).getPropertyValue("border-radius")),g=this.getArrowPosition(e,i,o,r,_,h);return this._left+=this.getRTLCorrectionLeft(),{arrow:g,top:this._top,left:this._left,actualPlacement:u}}get isVertical(){return this.placement===Br.Top||this.placement===Br.Bottom}getRTLCorrectionLeft(){return parseFloat(window.getComputedStyle(this).left)-this.getBoundingClientRect().left}getArrowPosition(e,i,o,r,n,a){const s=this._actualHorizontalAlign;let l=s===st.Center||s===st.Stretch;s===st.Right&&o<=e.left&&(l=!0),s===st.Left&&o+i.width>=e.left+e.width&&(l=!0);let c=0;n&&l&&(c=e.left+e.width/2-o-i.width/2);let u=0;n||(u=e.top+e.height/2-r-i.height/2);const _=i.height/2-a-us/2-2;u=xt(u,-_,_);const d=i.width/2-a-us/2-2;return c=xt(c,-d,d),{x:Math.round(c),y:Math.round(u)}}fallbackPlacement(e,i,o,r){if(o.left>r.width)return Te.Left;if(e-o.right>o.left)return Te.Right;if(i-o.bottom>r.height)return Te.Bottom;if(i-o.bottom0,disabled:this.disabled,readonly:this._readonly,value:this.value,required:this.required,placeholder:this._placeholder,maxlength:this.maxlength,role:this.accInfo.role,enterkeyhint:this.hint,"aria-controls":this.accInfo.ariaControls,"aria-invalid":this.accInfo.ariaInvalid,"aria-haspopup":this.accInfo.ariaHasPopup,"aria-describedby":this.accInfo.ariaDescribedBy,"aria-roledescription":this.accInfo.ariaRoledescription,"aria-autocomplete":this.accInfo.ariaAutoComplete,"aria-expanded":this.accInfo.ariaExpanded,"aria-label":this.accInfo.ariaLabel,"aria-required":this.required,autocomplete:"off","data-sap-focus-ref":!0,step:this.nativeInputAttributes.step,min:this.nativeInputAttributes.min,max:this.nativeInputAttributes.max,onInput:this._handleNativeInput,onChange:this._handleChange,onSelect:this._handleSelect,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._click,onFocusIn:this.innerFocusIn}),this._effectiveShowClearIcon&&f("div",{tabindex:-1,class:"ui5-input-clear-icon-wrapper inputIcon",part:"clear-icon-wrapper",onClick:this._clear,onMouseDown:this._iconMouseDown,children:f(Pe,{part:"clear-icon",class:"ui5-input-clear-icon",name:X_,tabindex:-1,accessibleName:this.clearIconAccessibleName})}),this.icon.length>0&&f("div",{class:"ui5-input-icon-root",tabindex:-1,children:f("slot",{name:"icon"})}),f("div",{class:"ui5-input-value-state-icon",children:this._valueStateInputIcon}),r.call(this),this._effectiveShowSuggestions&&z(de,{children:[f("span",{id:"suggestionsText",class:"ui5-hidden-text",children:this.suggestionsText}),f("span",{id:"selectionText",class:"ui5-hidden-text","aria-live":"polite",role:"status"}),f("span",{id:"suggestionsCount",class:"ui5-hidden-text","aria-live":"polite",children:this.availableSuggestionsCount})]}),this.accInfo.ariaDescription&&f("span",{id:"descr",class:"ui5-hidden-text",children:this.accInfo.ariaDescription}),this.accInfo.accessibleDescription&&f("span",{id:"accessibleDescription",class:"ui5-hidden-text",children:this.accInfo.accessibleDescription}),this.linksInAriaValueStateHiddenText.length>0&&f("span",{id:"hiddenText-value-state-link-shortcut",class:"ui5-hidden-text",children:this.valueStateLinksShortcutsTextAcc}),this.hasValueState&&f("span",{id:"valueStateDesc",class:"ui5-hidden-text",children:this.ariaValueStateHiddenText})]})}),VT.call(this,{suggestionsList:e,mobileHeader:i})]})}function GT(){}function jT(){}const WT=/[[\]{}()*+?.\\^$|]/g,KT=t=>t.replace(WT,"\\$&"),ZT=(t,e,i)=>{const o=new RegExp(`(^|\\s)${KT(t.toLowerCase())}.*`,"g");return e.filter(r=>{const n=r[i];return o.lastIndex=0,o.test(n.toLowerCase())})},Fv=(t,e,i)=>e.filter(o=>(o[i]||"").toLowerCase().startsWith(t.toLowerCase())),XT=(t,e,i)=>e.filter(o=>(o[i]||"").toLowerCase().includes(t.toLowerCase())),YT=(t,e)=>e,xp=Object.freeze(Object.defineProperty({__proto__:null,Contains:XT,None:YT,StartsWith:Fv,StartsWithPerTerm:ZT},Symbol.toStringTag,{value:"Module"}));L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const JT=`:host{vertical-align:middle}.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}.inputIcon{color:var(--_ui5_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5_input_icon_padding);border-inline-start:var(--_ui5_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5_input_icon_border_radius)}.inputIcon.inputIcon--pressed{background:var(--_ui5_input_icon_pressed_bg);box-shadow:var(--_ui5_input_icon_box_shadow);border-inline-start:var(--_ui5_select_hover_icon_left_border);color:var(--_ui5_input_icon_pressed_color)}.inputIcon:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5_input_icon_box_shadow);border-inline-start:var(--_ui5_select_hover_icon_left_border);color:var(--_ui5_input_icon_pressed_color)}.inputIcon:not(.inputIcon--pressed):not(:active):hover{background:var(--_ui5_input_icon_hover_bg);box-shadow:var(--_ui5_input_icon_box_shadow)}.inputIcon:hover{border-inline-start:var(--_ui5_select_hover_icon_left_border);box-shadow:var(--_ui5_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5_input_width);min-width:calc(var(--_ui5_input_min_width) + (var(--_ui5-input-icons-count)*var(--_ui5_input_icon_width)));margin:var(--_ui5_input_margin_top_bottom) 0;height:var(--_ui5_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:var(--sapFontFamily);font-style:normal;border:var(--_ui5-input-border);border-radius:var(--_ui5_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5_input_focused_border_color);background-color:var(--sapField_Focus_Background)}.ui5-input-focusable-element{position:relative}:host([focused]:not([opened])) .ui5-input-focusable-element:after{content:var(--ui5_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5_input_focus_outline_color);border-radius:var(--_ui5_input_focus_border_radius);top:var(--_ui5_input_focus_offset);bottom:var(--_ui5_input_focus_offset);left:var(--_ui5_input_focus_offset);right:var(--_ui5_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5_input_readonly_focus_offset);bottom:var(--_ui5_input_readonly_focus_offset);left:var(--_ui5_input_readonly_focus_offset);right:var(--_ui5_input_readonly_focus_offset);border-radius:var(--_ui5_input_readonly_focus_border_radius)}.ui5-input-root:before{content:"";position:absolute;width:calc(100% - 2px);left:1px;bottom:-2px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;height:var(--_ui5_input_bottom_border_height);transition:var(--_ui5_input_transition);background-color:var(--_ui5_input_bottom_border_color)}.ui5-input-root{width:100%;height:100%;position:relative;background:transparent;display:inline-block;outline:none;box-sizing:border-box;color:inherit;transition:border-color .2s ease-in-out;border-radius:var(--_ui5_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-input_disabled_background);border-color:var(--_ui5_input_disabled_border_color)}:host([disabled]) .ui5-input-root:before,:host([readonly]) .ui5-input-root:before{content:none}[inner-input]{background:transparent;color:inherit;border:none;font-style:inherit;-webkit-appearance:none;-moz-appearance:textfield;padding:var(--_ui5_input_inner_padding);box-sizing:border-box;width:100%;text-overflow:ellipsis;flex:1;outline:none;font-size:inherit;font-family:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit;text-align:inherit}[inner-input][inner-input-with-icon]{padding:var(--_ui5_input_inner_padding_with_icon)}[inner-input][type=search]::-webkit-search-decoration,[inner-input][type=search]::-webkit-search-cancel-button,[inner-input][type=search]::-webkit-search-results-button,[inner-input][type=search]::-webkit-search-results-decoration{display:none}[inner-input]::-ms-reveal,[inner-input]::-ms-clear{display:none}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-input-value-state-icon-display);align-items:center}.ui5-input-value-state-icon>svg{margin-right:8px}[inner-input]::selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}:host([disabled]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([disabled]) [inner-input]::-moz-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-moz-placeholder{visibility:hidden}[inner-input]::-webkit-input-placeholder{font-weight:400;font-style:var(--_ui5_input_placeholder_style);color:var(--_ui5_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5_input_placeholder_style);color:var(--_ui5_input_placeholder_color);padding-right:.125rem}:host([value-state="Negative"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-input_error_placeholder_color);font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Negative"]) [inner-input]::-moz-placeholder{color:var(--_ui5-input_error_placeholder_color);font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Positive"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5_input_placeholder_color)}:host([value-state="Positive"]) [inner-input]::-moz-placeholder{color:var(--_ui5_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5_input_placeholder_color)}.ui5-input-content{height:100%;box-sizing:border-box;display:flex;flex-direction:row;justify-content:flex-end;overflow:hidden;outline:none;background:transparent;color:inherit;border-radius:var(--_ui5_input_border_radius)}:host([readonly]:not([disabled])){border:var(--_ui5_input_readonly_border);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5_input_hover_border);border-color:var(--_ui5_input_focused_border_color);box-shadow:var(--sapField_Hover_Shadow);background:var(--sapField_Hover_BackgroundStyle);background-color:var(--sapField_Hover_Background)}:host(:not([value-state]):not([readonly])[focused]:not([opened]):hover),:host([value-state="None"]:not([readonly])[focused]:not([opened]):hover){box-shadow:none}:host([focused]):not([opened]) .ui5-input-root:before{content:none}:host(:not([readonly]):not([disabled])[value-state]:not([value-state="None"])){border-width:var(--_ui5_input_state_border_width)}:host([value-state="Negative"]) [inner-input],:host([value-state="Critical"]) [inner-input]{font-style:var(--_ui5_input_error_warning_font_style);text-indent:var(--_ui5_input_error_warning_text_indent)}:host([value-state="Negative"]) [inner-input]{font-weight:var(--_ui5_input_error_font_weight)}:host([value-state="Critical"]) [inner-input]{font-weight:var(--_ui5_input_warning_font_weight)}:host([value-state="Negative"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_error_background);border-color:var(--_ui5_input_focused_value_state_error_border_color)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5_input_focused_value_state_error_focus_outline_color)}:host([value-state="Negative"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-input-value-state-error-border-botom-color)}:host([value-state="Negative"]:not([readonly]):not([focused]):hover),:host([value-state="Negative"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Negative"]:not([readonly]):not([disabled])),:host([value-state="Critical"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5_input_error_warning_border_style)}:host([value-state="Critical"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_warning_background);border-color:var(--_ui5_input_focused_value_state_warning_border_color)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Critical"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5_input_value_state_warning_border_botom_color)}:host([value-state="Critical"]:not([readonly]):not([focused]):hover),:host([value-state="Critical"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Positive"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5_input_value_state_success_border_color);border-width:var(--_ui5_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_success_background);border-color:var(--_ui5_input_focused_value_state_success_border_color)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5_input_focused_value_state_success_focus_outline_color)}:host([value-state="Positive"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5_input_value_state_success_border_botom_color)}:host([value-state="Positive"]:not([readonly]):not([focused]):hover),:host([value-state="Positive"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5_input_value_state_information_border_color);border-width:var(--_ui5_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_information_background);border-color:var(--_ui5_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5_input_value_success_information_border_botom_color)}:host([value-state="Information"]:not([readonly]):not([focused]):hover),:host([value-state="Information"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_InformationShadow)}.ui5-input-icon-root{min-width:var(--_ui5_input_icon_min_width);height:100%;display:flex;justify-content:center;align-items:center}::slotted([ui5-icon][slot="icon"]){align-self:start;padding:var(--_ui5_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Negative"]) .inputIcon,:host([value-state="Critical"]) .inputIcon{padding:var(--_ui5_input_error_warning_icon_padding)}:host([value-state="Negative"][focused]) .inputIcon,:host([value-state="Critical"][focused]) .inputIcon{padding:var(--_ui5_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) .inputIcon{padding:var(--_ui5_input_information_icon_padding)}:host([value-state="Information"][focused]) .inputIcon{padding:var(--_ui5_input_information_focused_icon_padding)}:host([value-state="Negative"]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_error_warning_custom_icon_padding)}:host([value-state="Negative"][focused]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_information_custom_focused_icon_padding)}:host([value-state="Negative"]) .inputIcon:active,:host([value-state="Negative"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_error_icon_box_shadow);color:var(--_ui5_input_icon_error_pressed_color)}:host([value-state="Negative"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_error_icon_box_shadow)}:host([value-state="Critical"]) .inputIcon:active,:host([value-state="Critical"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_warning_icon_box_shadow);color:var(--_ui5_input_icon_warning_pressed_color)}:host([value-state="Critical"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_warning_icon_box_shadow)}:host([value-state="Information"]) .inputIcon:active,:host([value-state="Information"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_information_icon_box_shadow);color:var(--_ui5_input_icon_information_pressed_color)}:host([value-state="Information"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_information_icon_box_shadow)}:host([value-state="Positive"]) .inputIcon:active,:host([value-state="Positive"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_success_icon_box_shadow);color:var(--_ui5_input_icon_success_pressed_color)}:host([value-state="Positive"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5_input_icon_wrapper_height);padding:0;width:var(--_ui5_input_icon_width);min-width:var(--_ui5_input_icon_width);display:flex;justify-content:center;align-items:center;box-sizing:border-box}:host([value-state]:not([value-state="None"]):not([value-state="Positive"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Positive"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5_input_icon_wrapper_success_state_height)}[ui5-icon].ui5-input-clear-icon{padding:0;color:inherit}[inner-input]::-webkit-outer-spin-button,[inner-input]::-webkit-inner-spin-button{-webkit-appearance:inherit;margin:inherit}[ui5-responsive-popover] [ui5-input]{width:100%} -`;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const QT=`.input-root-phone{flex:1;position:relative;height:var(--_ui5_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:var(--sapFontFamily);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5_input_background_color);border:var(--_ui5-input-border);border-radius:var(--_ui5_input_border_radius);box-sizing:border-box}.input-root-phone [inner-input]{padding:0 .5rem;width:100%;height:100%}.input-root-phone [inner-input]:focus{background-color:var(--sapField_Focus_Background)}.input-root-phone:focus-within:before{content:"";position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5_input_focus_border_radius);top:var(--_ui5_input_focus_offset);bottom:var(--_ui5_input_focus_offset);left:var(--_ui5_input_focus_offset);right:var(--_ui5_input_focus_offset)}.input-root-phone [value-state=Negative] .inputIcon[data-ui5-compact-size],.input-root-phone [value-state=Positive] .inputIcon[data-ui5-compact-size],.input-root-phone [value-state=Critical] .inputIcon[data-ui5-compact-size]{padding:.1875rem .5rem}[inner-input]{background:transparent;color:inherit;border:none;font-style:normal;-webkit-appearance:none;-moz-appearance:textfield;line-height:normal;padding:var(--_ui5_input_inner_padding);box-sizing:border-box;min-width:3rem;text-overflow:ellipsis;flex:1;outline:none;font-size:inherit;font-family:inherit;border-radius:var(--_ui5_input_border_radius)}[inner-input]::selection,[inner-input]::-moz-selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}[inner-input]::-webkit-input-placeholder{font-style:var(--_ui5_input_placeholder_style);color:var(--sapField_PlaceholderTextColor)}[inner-input]::-moz-placeholder{font-style:var(--_ui5_input_placeholder_style);color:var(--sapField_PlaceholderTextColor)}.input-root-phone[value-state]:not([value-state=None]){border-width:var(--_ui5_input_state_border_width)}.input-root-phone[value-state=Negative] [inner-input],.input-root-phone[value-state=Critical] [inner-input]{font-style:var(--_ui5_input_error_warning_font_style)}.input-root-phone[value-state=Negative] [inner-input]{font-weight:var(--_ui5_input_error_font_weight)}.input-root-phone[value-state=Negative]:not([readonly]){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5_input_value_state_error_border_color)}.input-root-phone[value-state=Negative]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5_input_focused_value_state_error_background);border-color:var(--_ui5_input_focused_value_state_error_border_color)}.input-root-phone[value-state=Negative]:not([readonly]):focus-within:before{border-color:var(--_ui5_input_focused_value_state_error_focus_outline_color)}.input-root-phone[value-state=Negative]:not([readonly]):not([disabled]),.input-root-phone[value-state=Critical]:not([readonly]):not([disabled]),.input-root-phone[value-state=Information]:not([readonly]):not([disabled]){border-style:var(--_ui5_input_error_warning_border_style)}.input-root-phone[value-state=Critical]:not([readonly]){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5_input_value_state_warning_border_color)}.input-root-phone[value-state=Critical]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5_input_focused_value_state_warning_background);border-color:var(--_ui5_input_focused_value_state_warning_border_color)}.input-root-phone[value-state=Critical]:not([readonly]):focus-within:before{border-color:var(--_ui5_input_focused_value_state_warning_focus_outline_color)}.input-root-phone[value-state=Positive]:not([readonly]){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5_input_value_state_success_border_color);border-width:var(--_ui5_input_value_state_success_border_width)}.input-root-phone[value-state=Positive]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5_input_focused_value_state_success_background);border-color:var(--_ui5_input_focused_value_state_success_border_color)}.input-root-phone[value-state=Positive]:not([readonly]):focus-within:before{border-color:var(--_ui5_input_focused_value_state_success_focus_outline_color)}.input-root-phone[value-state=Information]:not([readonly]){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5_input_value_state_information_border_color);border-width:var(--_ui5_input_information_border_width)}.input-root-phone[value-state=Information]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5_input_focused_value_state_information_background);border-color:var(--_ui5_input_focused_value_state_information_border_color)}.ui5-multi-combobox-toggle-button{margin-left:.5rem}.ui5-responsive-popover-header{width:100%;min-height:2.5rem;display:flex;flex-direction:column}.ui5-responsive-popover-header-text{width:100%}.ui5-responsive-popover-header .row{box-sizing:border-box;padding:.25rem 1rem;min-height:2.5rem;display:flex;justify-content:center;align-items:center;font-size:var(--sapFontHeader5Size)}.ui5-responsive-popover-footer{display:flex;justify-content:flex-end;padding:.25rem 0;width:100%}.ui5-responsive-popover-footer .ui5-responsive-popover-close-btn,.ui5-responsive-popover-footer .ui5-responsive-popover-footer-btn{margin-left:.5rem}.ui5-responsive-popover-header .ui5-responsive-popover-close-btn{position:absolute;right:1rem}.ui5-responsive-popover-footer .ui5-responsive-popover-footer-btn{width:4.5rem} -`;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const eI=`.ui5-valuestatemessage-popover{border-radius:var(--_ui5_value_state_message_popover_border_radius);box-shadow:var(--_ui5_value_state_message_popover_box_shadow)}.ui5-input-value-state-message-icon{width:var(--_ui5_value_state_message_icon_width);height:var(--_ui5_value_state_message_icon_height);display:var(--_ui5_input_value_state_icon_display);position:absolute;padding-right:.375rem}.ui5-valuestatemessage-root .ui5-input-value-state-message-icon{left:var(--_ui5_input_value_state_icon_offset)}.ui5-input-value-state-message-icon[name=error]{color:var(--sapNegativeElementColor)}.ui5-input-value-state-message-icon[name=alert]{color:var(--sapCriticalElementColor)}.ui5-input-value-state-message-icon[name=success]{color:var(--sapPositiveElementColor)}.ui5-input-value-state-message-icon[name=information]{color:var(--sapInformativeElementColor)}.ui5-valuestatemessage-root{box-sizing:border-box;display:inline-block;color:var(--sapTextColor);font-size:var(--sapFontSmallSize);font-family:var(--sapFontFamily);height:auto;padding:var(--_ui5_value_state_message_padding);overflow:hidden;text-overflow:ellipsis;min-width:6.25rem;border:var(--_ui5_value_state_message_border);line-height:var(--_ui5_value_state_message_line_height)}[ui5-responsive-popover] .ui5-valuestatemessage-header,[ui5-popover] .ui5-valuestatemessage-header{min-height:var(--_ui5_value_state_message_popover_header_min_height);min-width:var(--_ui5_value_state_message_popover_header_min_width);max-width:var(--_ui5_value_state_message_popover_header_max_width);width:var(--_ui5_value_state_message_popover_header_width)}[ui5-responsive-popover] .ui5-valuestatemessage-header{padding:var(--_ui5_value_state_header_padding);border:var(--_ui5_value_state_header_border);border-bottom:var(--_ui5_value_state_header_border_bottom);flex-grow:1;position:relative}.ui5-valuestatemessage--success{background:var(--sapSuccessBackground)}.ui5-valuestatemessage--warning{background:var(--sapWarningBackground)}.ui5-valuestatemessage--error{background:var(--sapErrorBackground)}.ui5-valuestatemessage--information{background:var(--sapInformationBackground)}.ui5-responsive-popover-header:focus{outline-offset:var(--_ui5_value_state_header_offset);outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-valuestatemessage-popover::part(header),.ui5-valuestatemessage-popover::part(content){padding:0}.ui5-valuestatemessage-popover::part(header),.ui5-valuestatemessage-popover::part(footer){min-height:0}.ui5-valuestatemessage-popover::part(header),.ui5-popover-with-value-state-header::part(header),.ui5-popover-with-value-state-header-phone::part(header){margin-bottom:0}.ui5-popover-with-value-state-header-phone .ui5-valuestatemessage-root{padding:var(--_ui5_value_state_message_padding_phone);width:100%}.ui5-popover-with-value-state-header-phone .ui5-input-value-state-message-icon{left:var(--_ui5_value_state_message_icon_offset_phone)}.ui5-popover-with-value-state-header-phone .ui5-valuestatemessage-header{position:relative;flex:none;top:0;left:0;max-width:100%}.ui5-popover-with-value-state-header-phone::part(content){padding:0;overflow:hidden;display:flex;flex-direction:column}.ui5-popover-with-value-state-header-phone [ui5-list]{overflow:auto}[ui5-responsive-popover] .ui5-valuestatemessage--error{box-shadow:var(--_ui5_value_state_header_box_shadow_error)}[ui5-responsive-popover] .ui5-valuestatemessage--information{box-shadow:var(--_ui5_value_state_header_box_shadow_information)}[ui5-responsive-popover] .ui5-valuestatemessage--success{box-shadow:var(--_ui5_value_state_header_box_shadow_success)}[ui5-responsive-popover] .ui5-valuestatemessage--warning{box-shadow:var(--_ui5_value_state_header_box_shadow_warning)}[ui5-responsive-popover].ui5-popover-with-value-state-header .ui5-valuestatemessage-root:has(+[ui5-list]:empty){box-shadow:none} -`;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const tI=`.ui5-suggestions-popover{box-shadow:var(--sapContent_Shadow1)}.ui5-suggestions-popover::part(header),.ui5-suggestions-popover::part(content){padding:0}.ui5-suggestions-popover::part(footer){padding:0 1rem}.input-root-phone.native-input-wrapper{display:contents}.input-root-phone.native-input-wrapper:before{display:none}.native-input-wrapper .ui5-input-inner-phone{margin:0}.native-input-wrapper .ui5-multi-input-mobile-dialog-button{margin-inline-start:.5rem} -`;var Nu;(function(t){t.StartsWithPerTerm="StartsWithPerTerm",t.StartsWith="StartsWith",t.Contains="Contains",t.None="None"})(Nu||(Nu={}));const Sp=Nu;var ue=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},Se,vo;(function(t){t.CHANGE="change",t.INPUT="input",t.SELECTION_CHANGE="selection-change"})(vo||(vo={}));var Qs;(function(t){t.ACTION_ENTER="enter",t.ACTION_USER_INPUT="input"})(Qs||(Qs={}));let le=Se=class extends Ke{get formValidityMessage(){var e;return(e=this.nativeInput)==null?void 0:e.validationMessage}get _effectiveShowSuggestions(){return!!(this.showSuggestions&&this.Suggestions)}get formValidity(){var e,i,o;return{valueMissing:(e=this.nativeInput)==null?void 0:e.validity.valueMissing,typeMismatch:this.required&&((i=this.nativeInput)==null?void 0:i.validity.typeMismatch),patternMismatch:(o=this.nativeInput)==null?void 0:o.validity.patternMismatch}}async formElementAnchor(){return this.getFocusDomRefAsync()}get formFormattedValue(){return this.value}constructor(){super(),this.disabled=!1,this.highlight=!1,this.readonly=!1,this.required=!1,this.noTypeahead=!1,this.type="Text",this.value="",this.valueState="None",this.showSuggestions=!1,this.showClearIcon=!1,this.open=!1,this.filter=Sp.None,this._effectiveShowClearIcon=!1,this.focused=!1,this.valueStateOpen=!1,this._inputAccInfo={},this._nativeInputAttributes={},this._inputIconFocused=!1,this._linksListenersArray=[],this._isComposing=!1,this._handleLinkNavigation=!1,this.hasSuggestionItemSelected=!1,this.valueBeforeItemSelection="",this.valueBeforeSelectionStart="",this.previousValue="",this.firstRendering=!0,this.typedInValue="",this.lastConfirmedValue="",this.isTyping=!1,this._isLatestValueFromSuggestions=!1,this._isChangeTriggeredBySuggestion=!1,this._indexOfSelectedItem=-1,this._handleResizeBound=this._handleResize.bind(this),this._focusedAfterClear=!1,this._valueStateLinks=[]}onEnterDOM(){Qt.register(this,this._handleResizeBound),$l(this,this._updateAssociatedLabelsTexts.bind(this)),this._enableComposition()}onExitDOM(){var e;Qt.deregister(this,this._handleResizeBound),Fl(this),this._removeLinksEventListeners(),(e=this._composition)==null||e.removeEventListeners()}_highlightSuggestionItem(e){var i;e.markupText=this.typedInValue?(i=this.Suggestions)==null?void 0:i.hightlightInput(e.text||"",this.typedInValue):nT(e.text||"")}_isGroupItem(e){return e.hasAttribute("ui5-suggestion-item-group")}onBeforeRendering(){this.showSuggestions&&(this.enableSuggestions(),this._flattenItems.forEach(c=>{var u;c.hasAttribute("ui5-suggestion-item")?this._highlightSuggestionItem(c):this._isGroupItem(c)&&((u=c.items)==null||u.forEach(_=>{this._highlightSuggestionItem(_)}))})),this._effectiveShowClearIcon=this.showClearIcon&&!!this.value&&!this.readonly&&!this.disabled,this.style.setProperty("--_ui5-input-icons-count",`${this.iconsCount}`);const e=!!this._flattenItems.length,i=!!this.value,o=this.shadowRoot.querySelector("input")===ki(),r=this.disabled||this.readonly,n=!r&&!this._isPhone&&e&&(this.open||i&&o&&this.isTyping);r?this.open=!1:this._isPhone||(this.open=e&&(this.open||i&&o&&this.isTyping)),this.shouldDisplayOnlyValueStateMessage&&!n?this.openValueStatePopover():this.closeValueStatePopover();const a=this.value,s=this.getInputDOMRefSync();if(!s||!a)return;this.filter!==Sp.None&&this._filterItems(this.typedInValue);const l=s.selectionEnd-s.selectionStart;if(this._shouldAutocomplete&&!qw()&&!l&&!this._isKeyNavigation){const c=this._getFirstMatchingItem(a);c?(this._isComposing||this._handleTypeAhead(c),this._selectMatchingItem(c)):this._matchedSuggestionItem=void 0}}onAfterRendering(){var e;this.showSuggestions&&((e=this.Suggestions)!=null&&e._getPicker())&&(this._listWidth=this.Suggestions._getListWidth(),this.Suggestions._getList()._itemNavigation._getItems=()=>[]),this._performTextSelection&&(this.typedInValue.length&&this.value.length&&this._adjustSelectionRange(),this.fireDecoratorEvent("type-ahead")),this._performTextSelection=!1,Zs(this._valueStateLinks,this.linksInAriaValueStateHiddenText)||(this._removeLinksEventListeners(),this._addLinksEventListeners(),this._valueStateLinks=this.linksInAriaValueStateHiddenText)}_adjustSelectionRange(){var n,a;const e=this.getInputDOMRefSync(),i=(n=this.Suggestions)==null?void 0:n._getItems().filter(s=>!s.hidden),o=i==null?void 0:i.find(s=>s.selected||s.focused),r=this._flattenItems.filter(s=>this._isGroupItem(s));o&&!r.includes(o)?((a=o==null?void 0:o.text)==null?void 0:a.toLowerCase().startsWith(this.typedInValue.toLowerCase()))?e.setSelectionRange(this.typedInValue.length,this.value.length):e.setSelectionRange(0,this.value.length):e.setSelectionRange(this.typedInValue.length,this.value.length)}_onkeydown(e){if(this._isKeyNavigation=!0,this._shouldAutocomplete=!this.noTypeahead&&!(fC(e)||du(e)||Ro(e)),ai(e))return this._handleUp(e);if(li(e))return this._handleDown(e);if(Fe(e))return this._handleSpace(e);if(Ai(e))return this._handleTab();if(Ye(e)){const i=this.previousValue===this.getInputDOMRefSync().value;if(this._enterKeyDown=!0,i){this.fireDecoratorEvent("_request-submit"),wu(this);return}return this._handleEnter(e)}if(xm(e))return this._handlePageUp(e);if(Sm(e))return this._handlePageDown(e);if(Ia(e))return this._handleHome(e);if(Ba(e))return this._handleEnd(e);if(Ro(e))return this._handleEscape();if(mC(e))return this._handleCtrlAltF8();this.showSuggestions&&this._clearPopoverFocusAndSelection(),this._isKeyNavigation=!1}_onkeyup(e){du(e)&&(this.value=e.target.value),this._enterKeyDown=!1}get currentItemIndex(){var n;const i=((n=this.Suggestions)==null?void 0:n._getItems()).filter(a=>!a.hidden),o=i.find(a=>a.selected||a.focused);return o?i.indexOf(o):-1}_handleUp(e){var i;(i=this.Suggestions)!=null&&i.isOpened()&&this.Suggestions.onUp(e,this.currentItemIndex)}_handleDown(e){var i;(i=this.Suggestions)!=null&&i.isOpened()&&this.Suggestions.onDown(e,this.currentItemIndex)}_handleSpace(e){this.Suggestions&&this.Suggestions.onSpace(e)}_handleTab(){this.Suggestions&&this.previousValue!==this.value&&this.Suggestions.onTab()}_handleCtrlAltF8(){this._handleLinkNavigation=!0;const e=this.linksInAriaValueStateHiddenText;e.length&&e[0].focus()}_addLinksEventListeners(){const e=this.linksInAriaValueStateHiddenText;e.forEach((i,o)=>{this._linksListenersArray.push(r=>{aT(r,e,o,{closeValueState:()=>{var n,a;(n=this.Suggestions)!=null&&n.isOpened()&&((a=this.Suggestions)==null||a.close()),this.valueStateOpen&&this.closeValueStatePopover()},focusInput:()=>{this._handleLinkNavigation=!1,this.getInputDOMRef().focus()},navigateToItem:()=>{var n;this._handleLinkNavigation?(this._handleLinkNavigation=!1,(n=this.Suggestions)!=null&&n.isOpened()&&(this.innerFocusIn(),this.getInputDOMRef().focus(),this.Suggestions.onDown(r,this.currentItemIndex))):this._handleDown(r)},isPopoverOpen:()=>{var n;return this.Suggestions&&((n=this.Suggestions)==null?void 0:n.isOpened())||!1}})}),i.addEventListener("keydown",this._linksListenersArray[o])})}_removeLinksEventListeners(){this.linksInAriaValueStateHiddenText.forEach((i,o)=>{i.removeEventListener("keydown",this._linksListenersArray[o])}),this._linksListenersArray=[],this._handleLinkNavigation=!1}_handleEnter(e){var n;const i=!!((n=this.Suggestions)!=null&&n.onEnter(e)),o=this.getInputDOMRefSync();let r=this._matchedSuggestionItem;if(r||(r=this._selectableItems.find(a=>{var s;return((s=a.text)==null?void 0:s.toLowerCase())===this.value.toLowerCase()})),r){const a=r.text||"";o.setSelectionRange(a.length,a.length),i||(this.fireSelectionChange(r,!0),this.acceptSuggestion(r,!0),this.open=!1)}if(this._isPhone&&!this._flattenItems.length&&!this.isTypeNumber&&o.setSelectionRange(this.value.length,this.value.length),!i){this.lastConfirmedValue=this.value;return}this.focused=!0}_handlePageUp(e){var i;this._isSuggestionsFocused?(i=this.Suggestions)==null||i.onPageUp(e):e.preventDefault()}_handlePageDown(e){var i;this._isSuggestionsFocused?(i=this.Suggestions)==null||i.onPageDown(e):e.preventDefault()}_handleHome(e){var i;this._isSuggestionsFocused&&((i=this.Suggestions)==null||i.onHome(e))}_handleEnd(e){var i;this._isSuggestionsFocused&&((i=this.Suggestions)==null||i.onEnd(e))}_handleEscape(){var n;const i=this.showSuggestions&&!!this.Suggestions&&this.open,o=this.getInputDOMRefSync(),r=o.selectionEnd-o.selectionStart>0;if(this.isTyping=!1,this._matchedSuggestionItem=void 0,this.value!==this.previousValue&&this.value!==this.lastConfirmedValue&&!this.open){this.value=this.lastConfirmedValue?this.lastConfirmedValue:this.previousValue,this.fireDecoratorEvent(vo.INPUT,{inputType:""});return}if(!i){this.value=this.lastConfirmedValue?this.lastConfirmedValue:this.previousValue;return}if(i&&((n=this.Suggestions)!=null&&n._isItemOnTarget())){this.value=this.typedInValue||this.valueBeforeSelectionStart,this.focused=!0;return}r&&(this.value=this.typedInValue),this.focused=!0}_onfocusin(e){this.focused=!0,this._focusedAfterClear||(this.previousValue=this.value),this.valueBeforeSelectionStart=this.value,this._inputIconFocused=!!e.target&&e.target===this.querySelector("[ui5-icon]"),this._focusedAfterClear=!1}innerFocusIn(){}_onfocusout(e){var o,r;const i=e.relatedTarget;(r=(o=this.Suggestions)==null?void 0:o._getPicker())!=null&&r.contains(i)||this.contains(i)||this.getSlottedNodes("valueStateMessage").some(n=>n.contains(i))||(this.focused=!1,this._isChangeTriggeredBySuggestion=!1,this.showClearIcon&&!this._effectiveShowClearIcon&&(this._clearIconClicked=!1,this._handleChange()),this.open=!1,this._clearPopoverFocusAndSelection(),this._clearIconClicked||(this.previousValue=""),this.lastConfirmedValue="",this.isTyping=!1,this.value!==this.previousValue&&this.showClearIcon&&(this._clearIconClicked=!1))}_clearPopoverFocusAndSelection(){var e,i;!this.showSuggestions||!this.Suggestions||(this.hasSuggestionItemSelected=!1,(e=this.Suggestions)==null||e._deselectItems(),(i=this.Suggestions)==null||i._clearItemFocus())}_click(){We()&&!this.readonly&&this.Suggestions&&(this.blur(),this.open=!0)}_handleChange(){var i,o;if(this._clearIconClicked){this._clearIconClicked=!1;return}const e=()=>{this._isChangeTriggeredBySuggestion||this.fireDecoratorEvent(vo.CHANGE),this.previousValue=this.value,this.typedInValue=this.value,this._isChangeTriggeredBySuggestion=!1};this.previousValue!==this.getInputDOMRefSync().value&&((o=(i=this.Suggestions)==null?void 0:i._getPicker())!=null&&o.open&&this._flattenItems.some(r=>r.hasAttribute("ui5-suggestion-item")&&r.selected)?this._changeToBeFired=!0:(e(),this._enterKeyDown&&(this.fireDecoratorEvent("_request-submit"),wu(this))))}_clear(){const e=this.value;if(this.value="",!this.fireDecoratorEvent(vo.INPUT,{inputType:""})){this.value=e;return}this.typedInValue="",this._isPhone||(this.fireResetSelectionChange(),this.focus(),this._focusedAfterClear=!0)}_iconMouseDown(){this._clearIconClicked=!0}_scroll(e){this.fireDecoratorEvent("suggestion-scroll",{scrollTop:e.detail.scrollTop,scrollContainer:e.detail.targetRef})}_handleSelect(){this.fireDecoratorEvent("select")}_handleInput(e){const i=e.detail&&e.detail.inputType||"";this._input(e,i)}_handleNativeInput(e){const i=e.inputType||"";this._input(e,i)}_input(e,i){const o=this.getInputDOMRefSync(),r=["deleteWordBackward","deleteWordForward","deleteSoftLineBackward","deleteSoftLineForward","deleteEntireSoftLine","deleteHardLineBackward","deleteHardLineForward","deleteByDrag","deleteByCut","deleteContent","deleteContentBackward","deleteContentForward","historyUndo"];this._shouldAutocomplete=!r.includes(i)&&!this.noTypeahead,e.target===o&&(this.focused=!0,e.stopImmediatePropagation()),this.fireEventByAction(Qs.ACTION_ENTER,e),this.hasSuggestionItemSelected=!1,this.Suggestions&&this.Suggestions.updateSelectedItemPosition(-1),this.filter&&e.target.value===""&&(this.open=!1),this.isTyping=!0}_startsWithMatchingItems(e){return Fv(e,this._selectableItems,"text")}_getFirstMatchingItem(e){if(!this._flattenItems.length)return;const i=this._startsWithMatchingItems(e).filter(o=>!this._isGroupItem(o));if(i.length)return i[0]}_handleSelectionChange(e){var i;(i=this.Suggestions)==null||i.onItemPress(e)}_selectMatchingItem(e){e.selected=!0,this._matchedSuggestionItem=e}_filterItems(e){let i=[];const o=this._flattenItems.filter(r=>this._isGroupItem(r));this._resetItemVisibility(),o.length?i=this._filterGroups(this.filter,o):i=xp[this.filter](e,this._selectableItems,"text"),this._selectableItems.forEach(r=>{r.hidden=!i.includes(r)}),i.length===0&&(this.open=!1)}_filterGroups(e,i){const o=[];return i.forEach(r=>{const n=xp[e](this.typedInValue,r.items??[],"text");o.push(...n),n.length===0?r.hidden=!0:r.hidden=!1}),o}_resetItemVisibility(){this._flattenItems.forEach(e=>{var i;if(this._isGroupItem(e)){(i=e.items)==null||i.forEach(o=>{o.hidden=!1});return}e.hidden=!1})}_handleTypeAhead(e){const i=e.text?e.text:"",o=this.typedInValue;i.toLowerCase().startsWith(o.toLowerCase())&&(this.value=o+i.substring(o.length)),this._performTextSelection=!0,this._shouldAutocomplete=!1}_handleResize(){this._inputWidth=this.offsetWidth}_updateAssociatedLabelsTexts(){this._associatedLabelsTexts=sv(this),this._accessibleLabelsRefTexts=Ml(this),this._associatedDescriptionRefTexts=Hl(this)}_closePicker(){this.open=!1}_confirmMobileValue(){this._closePicker(),this._handleChange()}_cancelMobileValue(){this.value=this.previousValue,this._closePicker()}_afterOpenPicker(){var e;We()&&(this.previousValue=this.value,this.getInputDOMRef().focus(),(e=this._composition)==null||e.addEventListeners()),this._handlePickerAfterOpen()}_afterClosePicker(){We()&&(this.blur(),this.focused=!1),this._changeToBeFired&&!this._isChangeTriggeredBySuggestion?(this.previousValue=this.value,this.fireDecoratorEvent(vo.CHANGE)):this._isChangeTriggeredBySuggestion=!1,this._changeToBeFired=!1,this.open=!1,this.isTyping=!1,this.hasSuggestionItemSelected&&this.focus();const e=this.shadowRoot.querySelector("#selectionText");e&&(e.textContent=""),this._handlePickerAfterClose()}_handlePickerAfterOpen(){this.fireDecoratorEvent("open")}_handlePickerAfterClose(){var e;(e=this.Suggestions)==null||e._onClose(),this.fireDecoratorEvent("close")}openValueStatePopover(){this.valueStateOpen=!0}closeValueStatePopover(){this.valueStateOpen=!1}_handleValueStatePopoverAfterClose(){this.valueStateOpen=!1,this._handleLinkNavigation=!1}_getValueStatePopover(){return this.shadowRoot.querySelector("[ui5-popover]")}enableSuggestions(){if(this.Suggestions)return;const e=i=>{i.i18nBundle=Se.i18nBundle,this.Suggestions=new i(this,"suggestionItems",!0,!1)};Se.SuggestionsClass?e(Se.SuggestionsClass):m(()=>import("./InputSuggestions-CaWTjySl.js"),__vite__mapDeps([78,11,12])).then(i=>{e(i.default)})}_enableComposition(){if(this._composition)return;const e=i=>{this._composition=new i({getInputEl:()=>this.getInputDOMRefSync(),updateCompositionState:o=>{this._isComposing=o}}),this._composition.addEventListeners()};Se.composition?e(Se.composition):m(()=>import("./InputComposition-DoqxipV9.js"),[]).then(i=>{Se.composition=i.default,e(i.default)})}acceptSuggestion(e,i){var a,s;if(this._isGroupItem(e))return;let o=e;if(this._matchedSuggestionItem){const l=((a=this._matchedSuggestionItem.text)==null?void 0:a.toLowerCase())||"",c=((s=e.text)==null?void 0:s.toLowerCase())||"";(i||l===c)&&(o=this._matchedSuggestionItem)}const r=o.text||"",n=i?this.valueBeforeItemSelection!==r:this.previousValue!==r;this.hasSuggestionItemSelected=!0,this.value=r,n&&this.previousValue!==r&&(this.valueBeforeItemSelection=r,this.lastConfirmedValue=r,this._performTextSelection=!0,this.fireDecoratorEvent(vo.CHANGE),this._isChangeTriggeredBySuggestion=!0,this.typedInValue=this.value,this.previousValue=this.value),this.valueBeforeSelectionStart="",this._matchedSuggestionItem=void 0,this.isTyping=!1,this.open=!1}updateValueOnSelect(e){const i=this._isGroupItem(e)?this.valueBeforeSelectionStart:e.text;this.value=i||"",this._performTextSelection=!0,this._isGroupItem(e)||(this._matchedSuggestionItem=e)}fireEventByAction(e,i){const o=this.value,r=this.getInputDOMRefSync();if(this.disabled||this.readonly)return;const n=this.getInputValue(),a=e===Qs.ACTION_ENTER;this.value=n,this.typedInValue=n,this.valueBeforeSelectionStart=n;const s=this.value;if(a){const l=i.inputType||"";!this.fireDecoratorEvent(vo.INPUT,{inputType:l})&&(s===this.value&&(this.value=o),r&&(r.value=this.value)),this.fireResetSelectionChange()}}getInputValue(){return this.getDomRef()?this.getInputDOMRef().value:""}getInputDOMRef(){if(We()&&this.Suggestions){const e=this.Suggestions._getPicker();if(e)return e.querySelector(".ui5-input-inner-phone")}return this.nativeInput}getInputDOMRefSync(){if(We()&&this.Suggestions){const e=this.Suggestions._getPicker();if(e)return e.querySelector(".ui5-input-inner-phone").shadowRoot.querySelector("input")}return this.nativeInput}get nativeInput(){const e=this.getDomRef();return e?e.querySelector("input"):null}get nativeInputWidth(){return this.nativeInput?this.nativeInput.offsetWidth:0}isSuggestionsScrollable(){var e;return this.Suggestions?(e=this.Suggestions)==null?void 0:e._isScrollable():Promise.resolve(!1)}onItemMouseDown(e){e.preventDefault()}onItemSelected(e,i){!i&&!(e!=null&&e.focused)&&this.valueBeforeItemSelection!==e.text&&this.fireSelectionChange(e,!0),this.acceptSuggestion(e,i)}_handleSuggestionItemPress(e){var i;(i=this.Suggestions)==null||i.onItemPress(e)}onItemSelect(e){this.valueBeforeItemSelection=this.value,this.updateValueOnSelect(e),this.announceSelectedItem(),this.fireSelectionChange(e,!0)}get _flattenItems(){return this.getSlottedNodes("suggestionItems").flatMap(e=>this._isGroupItem(e)?[e,...e.items]:[e])}get _selectableItems(){return this._flattenItems.filter(e=>!this._isGroupItem(e))}get valueStateTypeMappings(){return{Positive:Se.i18nBundle.getText(ak),Information:Se.i18nBundle.getText(sk),Negative:Se.i18nBundle.getText(rk),Critical:Se.i18nBundle.getText(nk)}}valueStateTextMappings(){return{Positive:Se.i18nBundle.getText(K_),Information:Se.i18nBundle.getText(Rv),Negative:Se.i18nBundle.getText(j_),Critical:Se.i18nBundle.getText(W_)}}announceSelectedItem(){const e=this.shadowRoot.querySelector("#selectionText");e&&(e.textContent=this.itemSelectionAnnounce)}fireSelectionChange(e,i){this.Suggestions&&(this.fireDecoratorEvent(vo.SELECTION_CHANGE,{item:e}),this._isLatestValueFromSuggestions=i)}fireResetSelectionChange(){this._isLatestValueFromSuggestions&&(this.fireSelectionChange(null,!1),this.valueBeforeItemSelection=this.value)}get _readonly(){return this.readonly&&!this.disabled}get _headerTitleText(){return this._associatedLabelsTexts||Se.i18nBundle.getText(DS)}get _suggestionsOkButtonText(){return Se.i18nBundle.getText(HS)}get _suggestionsCancelButtonText(){return Se.i18nBundle.getText(US)}get clearIconAccessibleName(){return Se.i18nBundle.getText(FS)}get _popupLabel(){return Se.i18nBundle.getText(ek)}get inputType(){return this.type}get inputNativeType(){return this.type.toLowerCase()}get isTypeNumber(){return this.type===cT.Number}get suggestionsTextId(){return this.showSuggestions?"suggestionsText":""}get valueStateTextId(){return this.hasValueState?"valueStateDesc":""}get _accInfoAriaDescription(){return this._inputAccInfo&&this._inputAccInfo.ariaDescription||""}get _accInfoAriaDescriptionId(){return this._accInfoAriaDescription!==""?"descr":""}get ariaDescriptionText(){return this._associatedDescriptionRefTexts||q_(this)}get ariaDescriptionTextId(){return this.ariaDescriptionText?"accessibleDescription":""}get ariaDescribedByIds(){return[this.suggestionsTextId,this.valueStateTextId,this._valueStateLinksShortcutsTextAccId,this._inputAccInfo.ariaDescribedBy,this._accInfoAriaDescriptionId,this.ariaDescriptionTextId].filter(Boolean).join(" ")}get accInfo(){const e=this.showSuggestions?"dialog":void 0,i=this.showSuggestions?"list":void 0;return{ariaRoledescription:this._inputAccInfo&&(this._inputAccInfo.ariaRoledescription||void 0),ariaDescribedBy:this.ariaDescribedByIds||void 0,ariaInvalid:this.valueState===Ne.Negative?!0:void 0,ariaHasPopup:this._inputAccInfo.ariaHasPopup?this._inputAccInfo.ariaHasPopup:e,ariaAutoComplete:this._inputAccInfo.ariaAutoComplete?this._inputAccInfo.ariaAutoComplete:i,role:this._inputAccInfo&&this._inputAccInfo.role,ariaControls:this._inputAccInfo&&this._inputAccInfo.ariaControls,ariaExpanded:this._inputAccInfo&&this._inputAccInfo.ariaExpanded,ariaDescription:this._accInfoAriaDescription,accessibleDescription:this.ariaDescriptionText,ariaLabel:this._inputAccInfo&&this._inputAccInfo.ariaLabel||this._accessibleLabelsRefTexts||this.accessibleName||this._associatedLabelsTexts||void 0}}get nativeInputAttributes(){return{min:this.isTypeNumber?this._nativeInputAttributes.min:void 0,max:this.isTypeNumber?this._nativeInputAttributes.max:void 0,step:this.isTypeNumber?this._nativeInputAttributes.step||"any":void 0}}get ariaValueStateHiddenText(){if(!this.hasValueState)return;const e=this.valueState!==Ne.None?this.valueStateTypeMappings[this.valueState]:"";return this.shouldDisplayDefaultValueStateMessage?this.valueStateText?`${e} ${this.valueStateText}`:e:this.valueStateMessage.length?`${e} ${this.valueStateMessage.map(i=>i.textContent).join(" ")}`:e}get itemSelectionAnnounce(){return this.Suggestions?this.Suggestions.itemSelectionAnnounce:""}get linksInAriaValueStateHiddenText(){const e=[];return this.valueStateMessage&&this.valueStateMessage.forEach(i=>{i.children.length&&i.querySelectorAll("ui5-link").forEach(o=>{e.push(o)})}),e}get valueStateLinksShortcutsTextAcc(){const e=this.linksInAriaValueStateHiddenText;return e.length?cm()?e.length===1?Se.i18nBundle.getText(ck):Se.i18nBundle.getText(_k):e.length===1?Se.i18nBundle.getText(lk):Se.i18nBundle.getText(uk):""}get _valueStateLinksShortcutsTextAccId(){return this.linksInAriaValueStateHiddenText.length>0?"hiddenText-value-state-link-shortcut":""}get iconsCount(){const e=this.icon?this.icon.length:0,i=Number(this._effectiveShowClearIcon)??0;return e+i}get classes(){return{popover:{"ui5-suggestions-popover":this.showSuggestions,"ui5-popover-with-value-state-header-phone":this._isPhone&&this.showSuggestions&&this.hasValueStateMessage,"ui5-popover-with-value-state-header":!this._isPhone&&this.showSuggestions&&this.hasValueStateMessage},popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage-header":!0,"ui5-valuestatemessage--success":this.valueState===Ne.Positive,"ui5-valuestatemessage--error":this.valueState===Ne.Negative,"ui5-valuestatemessage--warning":this.valueState===Ne.Critical,"ui5-valuestatemessage--information":this.valueState===Ne.Information}}}get styles(){const e=parseInt(getComputedStyle(document.documentElement).fontSize);return{suggestionPopoverHeader:{display:this._listWidth===0?"none":"inline-block",width:this._listWidth?`${this._listWidth}px`:"","max-width":"inherit"},suggestionsPopover:{"min-width":this._inputWidth?`${this._inputWidth}px`:"","max-width":this._inputWidth&&this._inputWidth/e>40?`${this._inputWidth}px`:"40rem"},innerInput:{padding:""}}}get suggestionSeparators(){return"None"}get shouldDisplayOnlyValueStateMessage(){return this.hasValueStateMessage&&!this.readonly&&!this.open&&this.focused}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateMessage}get hasValueState(){return this.valueState!==Ne.None}get hasValueStateMessage(){return this.hasValueState&&this.valueState!==Ne.Positive&&(!this._inputIconFocused||!!(this._isPhone&&this.Suggestions))}get valueStateText(){return this.valueState!==Ne.None?this.valueStateTextMappings()[this.valueState]:void 0}get suggestionsText(){return Se.i18nBundle.getText(OS)}get availableSuggestionsCount(){var e,i;if(this.showSuggestions&&(this.value||(e=this.Suggestions)!=null&&e.isOpened())){const o=this._selectableItems,n=((i=this.Suggestions)==null?void 0:i.isOpened())?Se.i18nBundle.getText($S):Se.i18nBundle.getText(mp);switch(o.length){case 0:return`${Se.i18nBundle.getText(MS)} ${n}`;case 1:return`${Se.i18nBundle.getText(zS)} ${n}`;default:return`${Se.i18nBundle.getText(NS,o.length)} ${n}`}}return this.showSuggestions?Se.i18nBundle.getText(mp):void 0}get step(){return this.isTypeNumber?"any":void 0}get _isPhone(){return We()}get _isSuggestionsFocused(){var e;return!this.focused&&((e=this.Suggestions)==null?void 0:e.isOpened())}get _placeholder(){return this.placeholder}get _valueStateInputIcon(){const e={Negative:'',Critical:'',Positive:'',Information:''};return this.valueState!==Ne.None?` - - ${e[this.valueState]}; - - `:""}get _valueStateMessageInputIcon(){const e={Negative:"error",Critical:"alert",Positive:"sys-enter-2",Information:"information"};return this.valueState!==Ne.None?e[this.valueState]:""}getCaretPosition(){return sT(this.nativeInput)}setCaretPosition(e){lT(this.nativeInput,e)}removeFractionalPart(e){return e.includes(".")?e.slice(0,e.indexOf(".")):e.includes(",")?e.slice(0,e.indexOf(",")):e}};ue([p({type:Boolean})],le.prototype,"disabled",void 0);ue([p({type:Boolean})],le.prototype,"highlight",void 0);ue([p()],le.prototype,"placeholder",void 0);ue([p({type:Boolean})],le.prototype,"readonly",void 0);ue([p({type:Boolean})],le.prototype,"required",void 0);ue([p({type:Boolean})],le.prototype,"noTypeahead",void 0);ue([p()],le.prototype,"type",void 0);ue([p()],le.prototype,"value",void 0);ue([p()],le.prototype,"valueState",void 0);ue([p()],le.prototype,"name",void 0);ue([p({type:Boolean})],le.prototype,"showSuggestions",void 0);ue([p({type:Number})],le.prototype,"maxlength",void 0);ue([p()],le.prototype,"accessibleName",void 0);ue([p()],le.prototype,"accessibleNameRef",void 0);ue([p()],le.prototype,"accessibleDescription",void 0);ue([p()],le.prototype,"accessibleDescriptionRef",void 0);ue([p({type:Boolean})],le.prototype,"showClearIcon",void 0);ue([p({type:Boolean})],le.prototype,"open",void 0);ue([p()],le.prototype,"filter",void 0);ue([p({type:Boolean})],le.prototype,"_effectiveShowClearIcon",void 0);ue([p({type:Boolean})],le.prototype,"focused",void 0);ue([p()],le.prototype,"hint",void 0);ue([p({type:Boolean})],le.prototype,"valueStateOpen",void 0);ue([p({type:Object})],le.prototype,"_inputAccInfo",void 0);ue([p({type:Object})],le.prototype,"_nativeInputAttributes",void 0);ue([p({type:Number})],le.prototype,"_inputWidth",void 0);ue([p({type:Number})],le.prototype,"_listWidth",void 0);ue([p({type:Boolean,noAttribute:!0})],le.prototype,"_inputIconFocused",void 0);ue([p({noAttribute:!0})],le.prototype,"_associatedLabelsTexts",void 0);ue([p({noAttribute:!0})],le.prototype,"_accessibleLabelsRefTexts",void 0);ue([p({noAttribute:!0})],le.prototype,"_associatedDescriptionRefTexts",void 0);ue([p({type:Object})],le.prototype,"Suggestions",void 0);ue([p({type:Array,noAttribute:!0})],le.prototype,"_linksListenersArray",void 0);ue([p({type:Boolean,noAttribute:!0})],le.prototype,"_isComposing",void 0);ue([ae({type:HTMLElement,default:!0})],le.prototype,"suggestionItems",void 0);ue([ae()],le.prototype,"icon",void 0);ue([ae({type:HTMLElement,invalidateOnChildChange:!0})],le.prototype,"valueStateMessage",void 0);ue([Xe("@ui5/webcomponents")],le,"i18nBundle",void 0);le=Se=ue([ce({tag:"ui5-input",languageAware:!0,formAssociated:!0,renderer:we,template:qT,styles:[JT,QT,eI,tI]}),j("change",{bubbles:!0}),j("_request-submit",{bubbles:!0}),j("input",{bubbles:!0,cancelable:!0}),j("select",{bubbles:!0}),j("selection-change",{bubbles:!0}),j("type-ahead",{bubbles:!0}),j("suggestion-scroll",{bubbles:!0}),j("open",{bubbles:!0}),j("close")],le);le.define();const XD=le;var Ki=(t=>(t.Auto="Auto",t.Vertical="Vertical",t.Horizontal="Horizontal",t.Paging="Paging",t))(Ki||{}),Dr=(t=>(t.Static="Static",t.Cyclic="Cyclic",t))(Dr||{});class el{constructor(e,i){if(!e.isUI5Element)throw new Error("The root web component must be a UI5 Element instance");if(this.rootWebComponent=e,this.rootWebComponent.addEventListener("keydown",this._onkeydown.bind(this)),this._initBound=this._init.bind(this),this.rootWebComponent.attachComponentStateFinalized(this._initBound),typeof i.getItemsCallback!="function")throw new Error("getItemsCallback is required");this._getItems=i.getItemsCallback,this._currentIndex=i.currentIndex||0,this._rowSize=i.rowSize||1,this._behavior=i.behavior||Dr.Static,this._navigationMode=i.navigationMode||Ki.Auto,this._affectedPropertiesNames=i.affectedPropertiesNames||[],this._skipItemsSize=i.skipItemsSize||null}setCurrentItem(e){const i=this._getItems().indexOf(e);if(i===-1){console.warn("The provided item is not managed by ItemNavigation",e);return}this._currentIndex=i,this._applyTabIndex()}setRowSize(e){this._rowSize=e}_init(){this._getItems().forEach((e,i)=>{e.forcedTabIndex=i===this._currentIndex?"0":"-1"})}_onkeydown(e){if(!this._canNavigate())return;const i=this._navigationMode===Ki.Horizontal||this._navigationMode===Ki.Auto,o=this._navigationMode===Ki.Vertical||this._navigationMode===Ki.Auto,r=this.rootWebComponent.effectiveDir==="rtl";if(r&&vt(e)&&i)this._handleRight();else if(r&&Tt(e)&&i)this._handleLeft();else if(vt(e)&&i)this._handleLeft();else if(Tt(e)&&i)this._handleRight();else if(ai(e)&&o)this._handleUp();else if(li(e)&&o)this._handleDown();else if(Ia(e))this._handleHome();else if(Ba(e))this._handleEnd();else if(xm(e))this._handlePageUp();else if(Sm(e))this._handlePageDown();else return;e.preventDefault(),this._applyTabIndex(),this._focusCurrentItem()}_handleUp(){const e=this._getItems().length;if(this._currentIndex-this._rowSize>=0){this._currentIndex-=this._rowSize;return}if(this._behavior===Dr.Cyclic){const i=this._currentIndex%this._rowSize,o=i===0?this._rowSize-1:i-1,r=Math.ceil(e/this._rowSize);let n=o+(r-1)*this._rowSize;n>e-1&&(n-=this._rowSize),this._currentIndex=n}else this._currentIndex=0}_handleDown(){const e=this._getItems().length;if(this._currentIndex+this._rowSize0){this._currentIndex-=1;return}this._behavior===Dr.Cyclic&&(this._currentIndex=e-1)}_handleRight(){const e=this._getItems().length;if(this._currentIndex1?this._rowSize:this._getItems().length;this._currentIndex-=this._currentIndex%e}_handleEnd(){const e=this._rowSize>1?this._rowSize:this._getItems().length;this._currentIndex+=e-1-this._currentIndex%e}_handlePageUp(){this._rowSize>1||this._handlePageUpFlat()}_handlePageDown(){this._rowSize>1||this._handlePageDownFlat()}_handlePageUpFlat(){if(this._skipItemsSize===null){this._currentIndex-=this._currentIndex;return}this._currentIndex+1>this._skipItemsSize?this._currentIndex-=this._skipItemsSize:this._currentIndex-=this._currentIndex}_handlePageDownFlat(){if(this._skipItemsSize===null){this._currentIndex=this._getItems().length-1;return}this._getItems().length-this._currentIndex-1>this._skipItemsSize?this._currentIndex+=this._skipItemsSize:this._currentIndex=this._getItems().length-1}_applyTabIndex(){const e=this._getItems();for(let i=0;i{const o=this.rootWebComponent[i];this.rootWebComponent[i]=Array.isArray(o)?[...o]:{...o}})}_focusCurrentItem(){const e=this._getCurrentItem();e&&e.focus()}_canNavigate(){const e=this._getCurrentItem(),i=ki();return e&&e===i}_getCurrentItem(){const e=this._getItems();if(!e.length)return;for(;this._currentIndex>=e.length;)this._currentIndex-=this._rowSize;this._currentIndex<0&&(this._currentIndex=0);const i=e[this._currentIndex];if(!i)return;if(Ci(i))return i.getFocusDomRef();const o=this.rootWebComponent.getDomRef();if(o&&i.id)return o.querySelector(`[id="${i.id}"]`)}}const iI=":host{justify-content:center;align-items:center;display:flex;color:var(--sapList_TextColor);background-color:var(--sapList_Background);font-family:var(--sapFontFamily);height:var(--sapElement_LineHeight);border-bottom:var(--sapList_BorderWidth) solid var(--sapList_BorderColor);opacity:.8;position:absolute;padding:0 1rem;top:-1000px;left:-1000px}",oI={key:"DRAG_DROP_MULTIPLE_TEXT",defaultText:"{0} items"},kp=2;let Y_=null;const rI=(t,e)=>{var i;Y_=t,(i=e==null?void 0:e.dataTransfer)==null||i.setData("text/plain",t?t.id:"")},nI=()=>{Y_=null},aI=()=>Y_,sI=async t=>{const e=document.createElement("div"),i=await Nl("@ui5/webcomponents-base"),o=e.attachShadow({mode:"open"}),r=new CSSStyleSheet;return r.replaceSync(iI),o.adoptedStyleSheets=[r],o.textContent=i.getText(oI,t),e},lI=async(t,e)=>{if(t{i.remove()})},Tn={setDraggedElement:rI,clearDraggedElement:nI,getDraggedElement:aI,startMultipleDrag:lI};function cI(t,e,i,o,r={}){const n=Tn.getDraggedElement(),a={targetReference:null,placement:null};if(!n&&!(r!=null&&r.crossDnD))return a;const s=i.placements;return a.targetReference=t.target,s.some(l=>{const c=r.originalEvent?{originalEvent:t}:{};return e.fireDecoratorEvent("move-over",{...c,source:{element:n},destination:{element:o,placement:l}})?!1:(t.preventDefault(),a.targetReference=i.element,a.placement=l,!0)})||(a.targetReference=null),a}function uI(t,e,i,o,r={}){t.preventDefault();const n=Tn.getDraggedElement();if(!n&&(r!=null&&r.crossDnD))return;const a=r.originalEvent?{originalEvent:t}:{};e.fireDecoratorEvent("move",{...a,source:{element:n},destination:{element:i,placement:o}}),n==null||n.focus()}var pt=(t=>(t.On="On",t.Before="Before",t.After="After",t))(pt||{}),qr=(t=>(t.Vertical="Vertical",t.Horizontal="Horizontal",t))(qr||{});const Tp=(t,e,i,o)=>{const r=Math.abs(t-e),n=Math.abs(t-i),a=Math.abs(t-o),s=Math.min(r,n,a);let l=[];switch(s){case r:l=[pt.Before];break;case n:l=[pt.On,r{let o=Number.POSITIVE_INFINITY,r=null;for(let d=0;d(e--,e<0?[]:[{element:t[e],placement:pt.Before}]),Bp=(t,e)=>(e++,e>=t.length?[]:[{element:t[e],placement:pt.After}]),Hv={ArrowLeft:Ip,ArrowUp:Ip,ArrowRight:Bp,ArrowDown:Bp,Home:(t,e)=>t.slice(0,e).map(i=>({element:i,placement:pt.Before})),End:(t,e)=>t.slice(e+1,t.length).reverse().map(i=>({element:i,placement:pt.After}))},dI=(t,e,i)=>hI(i.key)?Hv[i.key](t,t.indexOf(e)):[],hI=t=>t in Hv;class Uv{constructor(e,i){this.component=e,this.config={orientation:qr.Vertical,clientCoordinate:"clientY",...i}}ondragenter(e){e.preventDefault()}ondragleave(e){var o;if(e.relatedTarget instanceof Node&&((o=this.component.shadowRoot)!=null&&o.contains(e.relatedTarget)))return;const i=this.config.getDropIndicator();i&&(i.targetReference=null)}ondragover(e){if(!this._validateDragOver(e))return;const i=Tn.getDraggedElement(),o=this.config.getDropIndicator(),r=this._findClosestPosition(e);if(!r){o.targetReference=null;return}const n=this._transformTargetElement(r.element);if(!this._isValidDragTarget(i,n)){o.targetReference=null;return}const a=this._filterPlacements(r.placements,i,n),s=this.config.useOriginalEvent?{originalEvent:!0}:{},{targetReference:l,placement:c}=cI(e,this.component,{element:n,placements:a},n,s);o.targetReference=l,o.placement=c}ondrop(e){const i=this.config.getDropIndicator();if(!(i!=null&&i.targetReference)||!(i!=null&&i.placement)){e.preventDefault();return}const o=this.config.useOriginalEvent?{originalEvent:!0}:{};uI(e,this.component,i.targetReference,i.placement,o),i.targetReference=null}_validateDragOver(e){if(!(e.target instanceof HTMLElement))return!1;const i=Tn.getDraggedElement(),o=this.config.getDropIndicator();return!!(i&&o)}_findClosestPosition(e){const i=this.config.getItems(),o=this.config.clientCoordinate==="clientX"?e.clientX:e.clientY;return _I(i,o,this.config.orientation)}_transformTargetElement(e){return this.config.transformElement?this.config.transformElement(e):e}_isValidDragTarget(e,i){return this.config.validateDraggedElement?this.config.validateDraggedElement(e,i):!0}_filterPlacements(e,i,o){return this.config.filterPlacements?this.config.filterPlacements(e,i,o):e}}const Ap=t=>{let e=t;return t.shadowRoot&&t.shadowRoot.activeElement&&(e=t.shadowRoot.activeElement),e};let _s=null;const pI=(t,e)=>{_s&&clearTimeout(_s),_s=setTimeout(()=>{_s=null,t()},e)},fI=t=>{const e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)};var ot;(function(t){t.None="None",t.Single="Single",t.SingleStart="SingleStart",t.SingleEnd="SingleEnd",t.SingleAuto="SingleAuto",t.Multiple="Multiple",t.Delete="Delete"})(ot||(ot={}));var fa;(function(t){t.Button="Button",t.Scroll="Scroll",t.None="None"})(fa||(fa={}));var ga;(function(t){t.List="List",t.Menu="Menu",t.Tree="Tree",t.ListBox="ListBox"})(ga||(ga={}));var tl;(function(t){t.All="All",t.Inner="Inner",t.None="None"})(tl||(tl={}));const J_=t=>Array.from(t).filter(e=>e.nodeType!==Node.COMMENT_NODE&&(e.nodeType!==Node.TEXT_NODE||(e.nodeValue||"").trim().length!==0)).length>0;var Mu;(function(t){t.Top="Top",t.Bottom="Bottom"})(Mu||(Mu={}));const Ep=Mu;function gI(){return z("label",{class:"ui5-label-root",onClick:this._onclick,children:[f("span",{class:"ui5-label-text-wrapper",children:f("slot",{})}),f("span",{"aria-hidden":"true",class:"ui5-label-required-colon","data-ui5-colon":this._colonSymbol})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const mI=`:host(:not([hidden])){display:inline-flex}:host{max-width:100%;color:var(--sapContent_LabelColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;cursor:text}.ui5-label-root{width:100%;cursor:inherit}:host{white-space:normal}:host([wrapping-type="None"]){white-space:nowrap}:host([wrapping-type="None"]) .ui5-label-root{display:inline-flex}:host([wrapping-type="None"]) .ui5-label-text-wrapper{text-overflow:ellipsis;overflow:hidden;display:inline-block;vertical-align:top;flex:0 1 auto;min-width:0}:host([show-colon]) .ui5-label-required-colon:before{content:attr(data-ui5-colon)}:host([required]) .ui5-label-required-colon:after{content:"*";color:var(--sapField_RequiredColor);font-size:var(--sapFontLargeSize);font-weight:700;position:relative;font-style:normal;vertical-align:middle;line-height:0}.ui5-label-text-wrapper{padding-inline-end:.075rem}:host([required][show-colon]) .ui5-label-required-colon:after{margin-inline-start:.125rem}:host([show-colon]) .ui5-label-required-colon{margin-inline-start:-.05rem;white-space:pre} -`;var zn=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},$u;let Po=$u=class extends Ke{constructor(){super(...arguments),this.showColon=!1,this.required=!1,this.wrappingType="Normal"}_onclick(){if(!this.for)return;const e=this.getRootNode().querySelector(`[id="${this.for}"]`);e&&e.focus()}get _colonSymbol(){return $u.i18nBundle.getText(Ck)}};zn([p()],Po.prototype,"for",void 0);zn([p({type:Boolean})],Po.prototype,"showColon",void 0);zn([p({type:Boolean})],Po.prototype,"required",void 0);zn([p()],Po.prototype,"wrappingType",void 0);zn([Xe("@ui5/webcomponents")],Po,"i18nBundle",void 0);Po=$u=zn([ce({tag:"ui5-label",renderer:we,template:gI,styles:mI,languageAware:!0})],Po);Po.define();const Q_=Po;function vI(){return z("div",{class:"ui5-busy-indicator-root",children:[this._isBusy&&z("div",{class:{"ui5-busy-indicator-busy-area":!0,"ui5-busy-indicator-busy-area-over-content":this.hasContent},title:this.ariaTitle,tabindex:0,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuetext":"Busy","aria-labelledby":this.labelId,"data-sap-focus-ref":!0,children:[this.textPosition.top&&Rp.call(this),z("div",{class:"ui5-busy-indicator-circles-wrapper",children:[f("div",{class:"ui5-busy-indicator-circle circle-animation-0"}),f("div",{class:"ui5-busy-indicator-circle circle-animation-1"}),f("div",{class:"ui5-busy-indicator-circle circle-animation-2"})]}),this.textPosition.bottom&&Rp.call(this)]}),f("slot",{}),this._isBusy&&f("span",{"data-ui5-focus-redirect":!0,tabindex:0,role:"none",onFocusIn:this._redirectFocus})]})}function Rp(){return f(de,{children:this.text&&f(Q_,{id:`${this._id}-label`,class:"ui5-busy-indicator-text",children:this.text})})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const bI=`:host(:not([hidden])){display:inline-block}:host([_is-busy]){color:var(--_ui5_busy_indicator_color)}:host([size="S"]) .ui5-busy-indicator-root{min-width:1.625rem;min-height:.5rem}:host([size="S"][text]:not([text=""])) .ui5-busy-indicator-root{min-height:1.75rem}:host([size="S"]) .ui5-busy-indicator-circle{width:.5rem;height:.5rem}:host([size="S"]) .ui5-busy-indicator-circle:first-child,:host([size="S"]) .ui5-busy-indicator-circle:nth-child(2){margin-inline-end:.0625rem}:host(:not([size])) .ui5-busy-indicator-root,:host([size="M"]) .ui5-busy-indicator-root{min-width:3.375rem;min-height:1rem}:host([size="M"]) .ui5-busy-indicator-circle:first-child,:host([size="M"]) .ui5-busy-indicator-circle:nth-child(2){margin-inline-end:.1875rem}:host(:not([size])[text]:not([text=""])) .ui5-busy-indicator-root,:host([size="M"][text]:not([text=""])) .ui5-busy-indicator-root{min-height:2.25rem}:host(:not([size])) .ui5-busy-indicator-circle,:host([size="M"]) .ui5-busy-indicator-circle{width:1rem;height:1rem}:host([size="L"]) .ui5-busy-indicator-root{min-width:6.5rem;min-height:2rem}:host([size="L"]) .ui5-busy-indicator-circle:first-child,:host([size="L"]) .ui5-busy-indicator-circle:nth-child(2){margin-inline-end:.25rem}:host([size="L"][text]:not([text=""])) .ui5-busy-indicator-root{min-height:3.25rem}:host([size="L"]) .ui5-busy-indicator-circle{width:2rem;height:2rem}.ui5-busy-indicator-root{display:flex;justify-content:center;align-items:center;position:relative;background-color:inherit;height:inherit;border-radius:inherit}.ui5-busy-indicator-busy-area.ui5-busy-indicator-busy-area-over-content{position:absolute;inset:0;z-index:99}.ui5-busy-indicator-busy-area{display:flex;justify-content:center;align-items:center;background-color:inherit;flex-direction:column;border-radius:inherit}:host([active]) ::slotted(*){opacity:var(--sapContent_DisabledOpacity)}:host([desktop]) .ui5-busy-indicator-busy-area:focus,.ui5-busy-indicator-busy-area:focus-visible{outline:var(--_ui5_busy_indicator_focus_outline);outline-offset:-2px}.ui5-busy-indicator-circles-wrapper{line-height:0}.ui5-busy-indicator-circle{display:inline-block;background-color:currentColor;border-radius:50%}.ui5-busy-indicator-circle:before{content:"";width:100%;height:100%;border-radius:100%}.circle-animation-0{animation:grow 1.6s infinite cubic-bezier(.32,.06,.85,1.11)}.circle-animation-1{animation:grow 1.6s infinite cubic-bezier(.32,.06,.85,1.11);animation-delay:.2s}.circle-animation-2{animation:grow 1.6s infinite cubic-bezier(.32,.06,.85,1.11);animation-delay:.4s}.ui5-busy-indicator-text{width:100%;text-align:center}:host([text-placement="Top"]) .ui5-busy-indicator-text{margin-bottom:.5rem}:host(:not([text-placement])) .ui5-busy-indicator-text,:host([text-placement="Bottom"]) .ui5-busy-indicator-text{margin-top:.5rem}@keyframes grow{0%,50%,to{-webkit-transform:scale(.5);-moz-transform:scale(.5);transform:scale(.5)}25%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}} -`;var hr=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},Fu;let Ei=Fu=class extends Ke{constructor(){super(),this.size="M",this.active=!1,this.delay=1e3,this.textPlacement="Bottom",this._isBusy=!1,this._keydownHandler=this._handleKeydown.bind(this),this._preventEventHandler=this._preventEvent.bind(this)}onEnterDOM(){this.addEventListener("keydown",this._keydownHandler,{capture:!0}),this.addEventListener("keyup",this._preventEventHandler,{capture:!0}),zt()&&this.setAttribute("desktop","")}onExitDOM(){this._busyTimeoutId&&(clearTimeout(this._busyTimeoutId),delete this._busyTimeoutId),this.removeEventListener("keydown",this._keydownHandler,!0),this.removeEventListener("keyup",this._preventEventHandler,!0)}get ariaTitle(){return Fu.i18nBundle.getText(xS)}get labelId(){return this.text?`${this._id}-label`:void 0}get textPosition(){return{top:this.text&&this.textPlacement===Ep.Top,bottom:this.text&&this.textPlacement===Ep.Bottom}}get hasContent(){return J_(Array.from(this.children))}onBeforeRendering(){this.active?!this._isBusy&&!this._busyTimeoutId&&(this._busyTimeoutId=setTimeout(()=>{delete this._busyTimeoutId,this._isBusy=!0},Math.max(0,this.delay))):(this._busyTimeoutId&&(clearTimeout(this._busyTimeoutId),delete this._busyTimeoutId),this._isBusy=!1)}_handleKeydown(e){this._isBusy&&(e.stopImmediatePropagation(),Ai(e)&&(this.focusForward=!0,this.shadowRoot.querySelector("[data-ui5-focus-redirect]").focus(),this.focusForward=!1))}_preventEvent(e){this._isBusy&&e.stopImmediatePropagation()}_redirectFocus(e){this.focusForward||(e.preventDefault(),this.shadowRoot.querySelector(".ui5-busy-indicator-busy-area").focus())}};hr([p()],Ei.prototype,"text",void 0);hr([p()],Ei.prototype,"size",void 0);hr([p({type:Boolean})],Ei.prototype,"active",void 0);hr([p({type:Number})],Ei.prototype,"delay",void 0);hr([p()],Ei.prototype,"textPlacement",void 0);hr([p({type:Boolean})],Ei.prototype,"_isBusy",void 0);hr([Xe("@ui5/webcomponents")],Ei,"i18nBundle",void 0);Ei=Fu=hr([ce({tag:"ui5-busy-indicator",languageAware:!0,styles:bI,renderer:we,template:vI})],Ei);Ei.define();const Nn=Ei;function yI(){return f("div",{class:{"ui5-di-rect":this.placement===pt.On,"ui5-di-needle":this.placement!==pt.On}})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const wI=`:host{position:absolute;pointer-events:none;z-index:99}:host([orientation="Vertical"]) .ui5-di-needle{width:.125rem;height:100%;inset-block:0;background:var(--sapContent_DragAndDropActiveColor)}:host([orientation="Vertical"]){margin-left:-.0625rem}:host([orientation="Horizontal"]) .ui5-di-needle{height:.125rem;width:100%;inset-inline:0;background:var(--sapContent_DragAndDropActiveColor)}:host([orientation="Horizontal"]){margin-top:-.0625rem}:host([orientation="Horizontal"][placement="Before"][first]){margin-top:.3125rem}:host([orientation="Horizontal"][placement="After"][last]){margin-top:-.3125rem}:host([orientation="Vertical"]) .ui5-di-needle:before{left:-.1875rem;content:"";position:absolute;width:.25rem;height:.25rem;border-radius:.25rem;border:.125rem solid var(--sapContent_DragAndDropActiveColor);background-color:#fff;pointer-events:none}:host([orientation="Horizontal"]) .ui5-di-needle:before{top:-.1875rem;content:"";position:absolute;width:.25rem;height:.25rem;border-radius:.25rem;border:.125rem solid var(--sapContent_DragAndDropActiveColor);background-color:#fff;pointer-events:none}:host .ui5-di-rect{border:.125rem solid var(--sapContent_DragAndDropActiveColor);position:absolute;inset:0}:host .ui5-di-rect:before{content:" ";position:absolute;inset:0;background:var(--sapContent_DragAndDropActiveColor);opacity:.05} -`;var Wa=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};let lr=class extends Ke{get _positionProperty(){return this.orientation===qr.Vertical?"left":"top"}constructor(){super(),this.targetReference=null,this.ownerReference=null,this.placement="Before",this.orientation="Vertical"}onAfterRendering(){if(!this.targetReference||!this.ownerReference){Object.assign(this.style,{display:"none"});return}const{left:e,width:i,right:o,top:r,bottom:n,height:a}=this.targetReference.getBoundingClientRect(),{top:s,height:l}=this.ownerReference.getBoundingClientRect(),c={display:"",[this._positionProperty]:"",width:"",height:""};let u=0,_=!1,d=!1;if(this.orientation===qr.Vertical){switch(this.placement){case pt.Before:u=e;break;case pt.On:c.width=`${i}px`,u=e;break;case pt.After:u=o;break}c.height=`${a}px`}if(this.orientation===qr.Horizontal){switch(this.placement){case pt.Before:u=r;break;case pt.On:c.height=`${a}px`,u=r;break;case pt.After:u=n;break}c.width=`${i}px`,u-=s,u<=0&&(d=!0),u>=l&&(_=!0)}c[this._positionProperty]=`${u}px`,this.toggleAttribute("first",d),this.toggleAttribute("last",_),Object.assign(this.style,c)}};Wa([p({type:Object})],lr.prototype,"targetReference",void 0);Wa([p({type:Object})],lr.prototype,"ownerReference",void 0);Wa([p()],lr.prototype,"placement",void 0);Wa([p()],lr.prototype,"orientation",void 0);lr=Wa([ce({tag:"ui5-drop-indicator",renderer:we,styles:wI,template:yI})],lr);lr.define();const Vv=lr;function CI(){return f("div",{class:"ui5-list-root",onFocusIn:this._onfocusin,onKeyDown:this._onkeydown,onDragEnter:this._ondragenter,onDragOver:this._ondragover,onDrop:this._ondrop,onDragLeave:this._ondragleave,"onui5-_close":this.onItemClose,"onui5-toggle":this.onItemToggle,"onui5-request-tabindex-change":this.onItemTabIndexChange,"onui5-_focused":this.onItemFocused,"onui5-forward-after":this.onForwardAfter,"onui5-forward-before":this.onForwardBefore,"onui5-selection-requested":this.onSelectionRequested,"onui5-focus-requested":this.onFocusRequested,"onui5-_press":this.onItemPress,children:z(Nn,{id:`${this._id}-busyIndicator`,delay:this.loadingDelay,active:this.showBusyIndicatorOverlay,class:"ui5-list-busy-indicator",children:[z("div",{class:"ui5-list-container",children:[this.header.length>0&&f("slot",{name:"header"}),this.shouldRenderH1&&f("header",{id:this.headerID,class:"ui5-list-header",children:this.headerText}),z("div",{class:"ui5-list-scroll-container",children:[f("span",{tabindex:-1,"aria-hidden":"true",class:"ui5-list-start-marker"}),this.hasData&&f("div",{id:`${this._id}-before`,tabindex:0,role:"none",class:"ui5-list-focusarea"}),f("span",{id:`${this._id}-modeLabel`,class:"ui5-hidden-text",children:this.ariaLabelModeText}),z("ul",{id:`${this._id}-listUl`,class:"ui5-list-ul",role:this.listAccessibleRole,"aria-label":this.ariaLabelTxt,"aria-labelledby":this.ariaLabelledBy,"aria-description":this.ariaDescriptionText||void 0,children:[f("slot",{}),this.showNoDataText&&f("li",{tabindex:0,id:`${this._id}-nodata`,class:"ui5-list-nodata",role:"listitem",children:f("div",{id:`${this._id}-nodata-text`,class:"ui5-list-nodata-text",children:this.noDataText})})]}),this.growsWithButton&&xI.call(this),this.footerText&&f("footer",{id:`${this._id}-footer`,class:"ui5-list-footer",children:this.footerText}),this.hasData&&f("div",{id:`${this._id}-after`,tabindex:0,role:"none",class:"ui5-list-focusarea"}),f("span",{tabindex:-1,"aria-hidden":"true",class:"ui5-list-end-marker"})]})]}),f(Vv,{orientation:"Horizontal",ownerReference:this})]})})}function xI(){var t;return z("div",{class:"ui5-growing-button",part:"growing-button",children:[z("div",{id:`${this._id}-growing-btn`,role:"button",tabindex:0,part:"growing-button-inner",class:{"ui5-growing-button-inner":!0,"ui5-growing-button-inner-active":this._loadMoreActive},"aria-label":this.growingButtonAriaLabel,"aria-labelledby":this.growingButtonAriaLabelledBy,"aria-describedby":this.growingButtonAriaDescribedBy,onClick:this._onLoadMoreClick,onKeyDown:this._onLoadMoreKeydown,onKeyUp:this._onLoadMoreKeyup,onMouseDown:this._onLoadMoreMousedown,onMouseUp:this._onLoadMoreMouseup,children:[this.loading&&f(Nn,{delay:this.loadingDelay,part:"growing-button-busy-indicator",class:"ui5-list-growing-button-busy-indicator",active:!0}),f("span",{id:`${this._id}-growingButton-text`,class:"ui5-growing-button-text","growing-button-text":!0,children:this._growingButtonText})]}),((t=this.accessibilityAttributes.growingButton)==null?void 0:t.description)&&f("span",{id:`${this._id}-growingButton-description`,class:"ui5-hidden-text",children:this.accessibilityAttributes.growingButton.description})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const SI=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}.ui5-growing-button{display:flex;align-items:center;padding:var(--_ui5_load_more_padding);border-top:1px solid var(--sapList_BorderColor);border-bottom:var(--_ui5_load_more_border-bottom);box-sizing:border-box;cursor:pointer;outline:none}.ui5-growing-button-inner{display:flex;align-items:center;justify-content:center;flex-direction:row;min-height:var(--_ui5_load_more_text_height);width:100%;color:var(--sapButton_TextColor);background-color:var(--sapList_Background);border:var(--_ui5_load_more_border);border-radius:var(--_ui5_load_more_border_radius);box-sizing:border-box}.ui5-growing-button-inner:focus-visible{outline:var(--_ui5_load_more_outline_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:-.125rem;border-color:transparent}.ui5-growing-button-inner:hover{background-color:var(--sapList_Hover_Background)}.ui5-growing-button-inner:active,.ui5-growing-button-inner.ui5-growing-button-inner--active{background-color:var(--sapList_Active_Background);border-color:var(--sapList_Active_Background)}.ui5-growing-button-inner:active>*,.ui5-growing-button-inner.ui5-growing-button-inner--active>*{color:var(--sapList_Active_TextColor)}.ui5-growing-button-text{text-align:center;font-family:var(--sapFontFamily);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.ui5-growing-button-text{height:var(--_ui5_load_more_text_height);padding:.875rem 1rem 1rem;font-size:var(--_ui5_load_more_text_font_size);font-weight:700}:host([loading]) .ui5-list-growing-button-busy-indicator:not([_is-busy]){display:none}:host([loading]) .ui5-list-growing-button-busy-indicator[_is-busy]+.ui5-growing-button-text{padding-left:.5rem}:host(:not([hidden])){display:block;max-width:100%;width:100%;-webkit-tap-highlight-color:transparent}:host([indent]) .ui5-list-root{padding:2rem}:host([separators="None"]) .ui5-list-nodata{border-bottom:0}.ui5-list-root,.ui5-list-busy-indicator,.ui5-list-container{width:100%;height:100%;position:relative;box-sizing:border-box}.ui5-list-scroll-container{overflow:auto;height:100%;width:100%}.ui5-list-ul{list-style-type:none;padding:0;margin:0}.ui5-list-ul:focus{outline:none}.ui5-list-focusarea{position:fixed}.ui5-list-header{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;font-size:var(--sapFontHeader4Size);font-family:var(--sapFontFamily);color:var(--sapGroup_TitleTextColor);height:3rem;line-height:3rem;padding:0 1rem;background-color:var(--sapGroup_TitleBackground);border-bottom:1px solid var(--sapGroup_TitleBorderColor)}.ui5-list-footer{height:2rem;box-sizing:border-box;-webkit-text-size-adjust:none;font-size:var(--sapFontSize);font-family:var(--sapFontFamily);line-height:2rem;background-color:var(--sapList_FooterBackground);color:var(--ui5_list_footer_text_color);padding:0 1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ui5-list-nodata{list-style-type:none;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;color:var(--sapTextColor);background-color:var(--sapList_Background);border-bottom:1px solid var(--sapList_BorderColor);padding:0 1rem!important;outline:none;min-height:var(--_ui5_list_no_data_height);font-size:var(--_ui5_list_no_data_font_size);font-family:var(--sapFontFamily);position:relative}.ui5-list-nodata:focus:after{content:"";border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;inset:.125rem;pointer-events:none}.ui5-list-nodata-text{overflow:hidden;text-overflow:ellipsis;white-space:normal;margin:var(--_ui5_list_item_content_vertical_offset) 0}:host([growing="Scroll"]) .ui5-list-end-marker{display:inline-block}:host([sticky-header]) ::slotted([slot="header"]),:host([sticky-header]) .ui5-list-header{position:sticky;top:0;z-index:100} -`,kI=t=>{if(!t||t.hasAttribute("data-sap-no-tab-ref")||Sn(t))return!1;const e=t.getAttribute("tabindex");if(e!=null)return parseInt(e)>=0;const i=t.nodeName.toLowerCase();return i==="a"||/^(input|select|textarea|button|object)$/.test(i)?!t.disabled:!1},ql=t=>Hu(t.tagName==="SLOT"?[t]:[...t.children]),Hu=(t,e)=>{const i=e||[];return t&&t.forEach(o=>{if(o.nodeType===Node.TEXT_NODE||o.nodeType===Node.COMMENT_NODE)return;const r=o;if(!r.hasAttribute("data-sap-no-tab-ref"))if(kI(r)&&i.push(r),r.tagName==="SLOT")Hu(r.assignedElements(),i);else{const n=r.shadowRoot?r.shadowRoot.children:r.children;Hu([...n],i)}}),i};L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const TI=`:host{box-sizing:border-box;height:var(--_ui5_list_item_base_height);background-color:var(--ui5-listitem-background-color);border-bottom:.0625rem solid transparent}:host(:not([hidden])){display:block}:host([disabled]){opacity:var(--_ui5-listitembase_disabled_opacity);pointer-events:none}:host([actionable]:not([disabled]):not([ui5-li-group-header])){cursor:pointer}:host([has-border]){border-bottom:var(--ui5-listitem-border-bottom)}:host([selected]){background-color:var(--sapList_SelectionBackgroundColor);border-bottom:var(--ui5-listitem-selected-border-bottom)}:host([selected]) .ui5-li-additional-text{text-shadow:var(--sapContent_TextShadow)}:host([actionable]:not([active]):not([selected]):not([ui5-li-group-header]):hover){background-color:var(--sapList_Hover_Background)}:host([actionable]:not([active]):not([selected]):not([ui5-li-group-header]):hover) .ui5-li-additional-text{text-shadow:var(--sapContent_TextShadow)}:host([actionable][selected]:not([active],[data-moving]):hover){background-color:var(--sapList_Hover_SelectionBackground)}:host([active][actionable]:not([data-moving])),:host([active][actionable][selected]:not([data-moving])){background-color:var(--sapList_Active_Background)}:host([desktop]:not([data-moving])) .ui5-li-root.ui5-li--focusable:focus:after,:host([desktop][focused]:not([data-moving])) .ui5-li-root.ui5-li--focusable:after,:host(:not([data-moving])) .ui5-li-root.ui5-li--focusable:focus-visible:after,:host([desktop]:not([data-moving])) .ui5-li-root .ui5-li-content:focus:after,:host([desktop][focused]:not([data-moving])) .ui5-li-root .ui5-li-content:after,:host(:not([data-moving])) .ui5-li-root .ui5-li-content:focus-visible:after{content:"";border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;inset:.125rem;pointer-events:none}.ui5-li-root{position:relative;display:flex;align-items:center;width:100%;height:100%;padding:var(--_ui5_list_item_base_padding);box-sizing:border-box;background-color:inherit}.ui5-li-root.ui5-li--focusable{outline:none}.ui5-li-content{display:flex;align-items:center;flex:auto;overflow:hidden;max-width:100%;font-family:var(--sapFontFamily);color:var(--sapList_TextColor)}.ui5-li-content .ui5-li-title{color:var(--sapList_TextColor);font-size:var(--_ui5_list_item_title_size)}.ui5-li-text-wrapper{display:flex;flex-direction:row;justify-content:space-between;flex:auto;min-width:1px;line-height:normal} -`;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const II=`[draggable=true]{cursor:grab!important}[draggable=true][data-moving]{cursor:grabbing!important;opacity:var(--sapContent_DisabledOpacity)} -`;var pr=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};let eo=class extends Ke{constructor(){super(...arguments),this.selected=!1,this.movable=!1,this.hasBorder=!1,this.disabled=!1,this.focused=!1,this.actionable=!1}onEnterDOM(){zt()&&this.setAttribute("desktop","")}onBeforeRendering(){this.actionable=!0}_onfocusin(e){this.fireDecoratorEvent("request-tabindex-change",e),e.target===this.getFocusDomRef()&&this.fireDecoratorEvent("_focused",e)}_onkeydown(e){if(Ai(e))return this._handleTabNext(e);if(Lo(e))return this._handleTabPrevious(e);this.getFocusDomRef().matches(":has(:focus-within)")||(this._isSpace(e)&&e.preventDefault(),this._isEnter(e)&&this.fireItemPress(e))}_onkeyup(e){this.getFocusDomRef().matches(":has(:focus-within)")||this._isSpace(e)&&this.fireItemPress(e)}_onclick(e){this.getFocusDomRef().matches(":has(:focus-within)")||this._isDisabledInteractiveContentClicked(e)||this.fireItemPress(e)}_isDisabledInteractiveContentClicked(e){const i=e.composedPath(),o=this.getFocusDomRef();return i.some(r=>!(r instanceof HTMLElement)||r===this||r===o||!this._isNativeInteractiveElement(r)&&!this._isCustomInteractiveElement(r)?!1:this._isElementDisabled(r))}_isNativeInteractiveElement(e){return e.matches("button, input, select, textarea")}_isCustomInteractiveElement(e){const i=e;return e.tagName.includes("-")&&("disabled"in i||e.hasAttribute("aria-disabled"))}_isElementDisabled(e){const i=e;return typeof i.disabled=="boolean"?i.disabled:e.getAttribute("aria-disabled")==="true"}_isSpace(e){return Fe(e)}_isEnter(e){return Ye(e)}fireItemPress(e){this.disabled||!this._pressable||(Ye(e)&&e.preventDefault(),this.fireDecoratorEvent("_press",{item:this,selected:this.selected,key:e.key}))}_handleTabNext(e){this.shouldForwardTabAfter()&&(this.fireDecoratorEvent("forward-after")||e.preventDefault())}_handleTabPrevious(e){const i=e.target;this.shouldForwardTabBefore(i)&&this.fireDecoratorEvent("forward-before")}shouldForwardTabAfter(){const e=ql(this.getFocusDomRef());return e.length===0||e[e.length-1]===ki()}shouldForwardTabBefore(e){return this.getFocusDomRef()===e}get classes(){return{main:{"ui5-li-root":!0,"ui5-li--focusable":this._focusable}}}get _ariaDisabled(){return this.disabled?!0:void 0}get _focusable(){return!this.disabled}get _pressable(){return!0}get hasConfigurableMode(){return!1}get _effectiveTabIndex(){return this._focusable?this.selected?0:this.forcedTabIndex?parseInt(this.forcedTabIndex):void 0:-1}get isListItemBase(){return!0}};pr([p({type:Boolean})],eo.prototype,"selected",void 0);pr([p({type:Boolean})],eo.prototype,"movable",void 0);pr([p({type:Boolean})],eo.prototype,"hasBorder",void 0);pr([p()],eo.prototype,"forcedTabIndex",void 0);pr([p({type:Boolean})],eo.prototype,"disabled",void 0);pr([p({type:Boolean})],eo.prototype,"focused",void 0);pr([p({type:Boolean})],eo.prototype,"actionable",void 0);eo=pr([ce({renderer:we,styles:[TI,II]}),j("request-tabindex-change",{bubbles:!0}),j("_press",{bubbles:!0}),j("_focused",{bubbles:!0}),j("forward-after",{bubbles:!0,cancelable:!0}),j("forward-before",{bubbles:!0})],eo);const Ka=eo;var Uu;(function(t){t.None="None",t.Normal="Normal"})(Uu||(Uu={}));const Gl=Uu;function BI(){return z("div",{part:"native-li",role:this.effectiveAccRole,tabindex:this.forcedTabIndex?parseInt(this.forcedTabIndex):void 0,class:{"ui5-ghli-root":!0,...this.classes.main},"aria-label":this.ariaLabelText,"aria-roledescription":this.groupHeaderText,onFocusIn:this._onfocusin,onKeyDown:this._onkeydown,children:[f("div",{id:`${this._id}-content`,class:"ui5-li-content",children:AI.call(this)}),this.hasSubItems&&f("slot",{name:"subItems"})]})}function AI(){var t;return this.wrappingType===Gl.Normal?(t=this.expandableTextTemplate)==null?void 0:t.call(this,{className:"ui5-ghli-title",text:this._textContent,maxCharacters:this._maxCharacters,part:"title"}):f("span",{part:"title",class:"ui5-ghli-title",children:f("slot",{})})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const EI=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{height:var(--_ui5_group_header_list_item_height);background:var(--ui5-group-header-listitem-background-color);color:var(--sapList_TableGroupHeaderTextColor)}:host([wrapping-type="Normal"]){height:auto}:host([has-border]){border-bottom:var(--sapList_BorderWidth) solid var(--sapList_GroupHeaderBorderColor)}:host([actionable]:not([disabled])){cursor:default}.ui5-li-root.ui5-ghli-root{padding-top:.5rem;color:currentColor;font-size:var(--sapFontHeader6Size);font-weight:400;line-height:2rem;margin:0}.ui5-ghli-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-family:var(--sapFontHeaderFamily)}.ui5-li-content{width:100%} -`;var Vu;(function(t){t.Group="Group",t.ListItem="ListItem",t.MenuItem="MenuItem",t.TreeItem="TreeItem",t.Option="Option",t.None="None"})(Vu||(Vu={}));const qv=Vu;var fr=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},oa;const RI=100,LI=300;let Ri=oa=class extends Ka{constructor(){super(...arguments),this.accessibleRole=qv.ListItem,this.wrappingType="None",this.mediaRange="S"}get effectiveAccRole(){return Cn(this.accessibleRole)}get groupItem(){return!0}get _pressable(){return!1}get groupHeaderText(){return oa.i18nBundle.getText(PS)}get defaultSlotText(){return this.textContent}get ariaLabelText(){return[this.textContent,this.accessibleName].filter(Boolean).join(" ")}get hasSubItems(){return this.subItems.length>0}onBeforeRendering(){super.onBeforeRendering(),this.wrappingType==="Normal"&&(oa.ExpandableTextTemplate?this.expandableTextTemplate=oa.ExpandableTextTemplate:m(()=>import("./ListItemStandardExpandableTextTemplate-C2dmZvS-.js"),__vite__mapDeps([79,14])).then(e=>{this.expandableTextTemplate=e.default}))}get _maxCharacters(){return this.mediaRange==="S"?RI:LI}get _textContent(){return this.defaultSlotText||this.groupHeaderText||""}};fr([p()],Ri.prototype,"accessibleName",void 0);fr([p()],Ri.prototype,"accessibleRole",void 0);fr([p()],Ri.prototype,"wrappingType",void 0);fr([p()],Ri.prototype,"mediaRange",void 0);fr([p({noAttribute:!0})],Ri.prototype,"expandableTextTemplate",void 0);fr([ae()],Ri.prototype,"subItems",void 0);fr([Xe("@ui5/webcomponents")],Ri,"i18nBundle",void 0);Ri=oa=fr([ce({tag:"ui5-li-group-header",languageAware:!0,template:BI,styles:[Ka.styles,EI]})],Ri);Ri.define();const PI=Ri;function OI(){return z(de,{children:[this.hasHeader&&z(PI,{wrappingType:this.wrappingType,focused:this.focused,part:"header",exportparts:"title",accessibleRole:qv.ListItem,children:[this.hasFormattedHeader?f("slot",{name:"header"}):this.headerText,f("div",{role:"list",slot:"subItems","aria-owns":`${this._id}-content`,"aria-label":this.headerText})]}),z("div",{class:"ui5-group-li-root",onDragEnter:this._ondragenter,onDragOver:this._ondragover,onDrop:this._ondrop,onDragLeave:this._ondragleave,id:`${this._id}-content`,children:[f("slot",{}),f(Vv,{orientation:"Horizontal",ownerReference:this})]})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const DI=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{height:var(--_ui5_group_header_list_item_height);background:var(--ui5-group-header-listitem-background-color);color:var(--sapList_TableGroupHeaderTextColor)}.ui5-group-li-root{width:100%;height:100%;position:relative;box-sizing:border-box;padding:0;margin:0;list-style-type:none} -`;var Kr=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};let to=class extends Ke{constructor(){super(),this.wrappingType="None",this.focused=!1,this._dragAndDropHandler=new Uv(this,{getItems:()=>this.items,getDropIndicator:()=>this.dropIndicatorDOM,filterPlacements:this._filterPlacements.bind(this)})}get groupHeaderItem(){return this.shadowRoot.querySelector("[ui5-li-group-header]")}get hasHeader(){return!!this.headerText||this.hasFormattedHeader}get hasFormattedHeader(){return!!this.header.length}get isListItemGroup(){return!0}get dropIndicatorDOM(){return this.shadowRoot.querySelector("[ui5-drop-indicator]")}_ondragenter(e){this._dragAndDropHandler.ondragenter(e)}_ondragleave(e){this._dragAndDropHandler.ondragleave(e)}_ondragover(e){this._dragAndDropHandler.ondragover(e)}_ondrop(e){this._dragAndDropHandler.ondrop(e)}_filterPlacements(e,i,o){return o===i?e.filter(r=>r!==pt.On):e}getFocusDomRef(){return this.groupHeaderItem||this.items.at(0)}getGroupHeaderWrapping(){return Gl.None}};Kr([p()],to.prototype,"headerText",void 0);Kr([p()],to.prototype,"headerAccessibleName",void 0);Kr([ae({default:!0,invalidateOnChildChange:!0,type:HTMLElement})],to.prototype,"items",void 0);Kr([p()],to.prototype,"wrappingType",void 0);Kr([p({type:Boolean})],to.prototype,"focused",void 0);Kr([ae()],to.prototype,"header",void 0);to=Kr([ce({tag:"ui5-li-group",renderer:we,languageAware:!0,template:OI,styles:[DI]}),j("move-over",{bubbles:!0,cancelable:!0}),j("move",{bubbles:!0})],to);to.define();const o8=to,zI=Pi("isListItemGroup");var je=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},fo;const NI=250,MI=10;let pe=fo=class extends Ke{constructor(){super(),this.indent=!1,this.selectionMode="None",this.separators="All",this.growing="None",this.loading=!1,this.loadingDelay=1e3,this.stickyHeader=!1,this.accessibilityAttributes={},this.accessibleRole="List",this._inViewport=!1,this._loadMoreActive=!1,this.mediaRange="S",this._startMarkerOutOfView=!1,this._previouslyFocusedItem=null,this._forwardingFocus=!1,this._itemNavigation=new el(this,{skipItemsSize:MI,navigationMode:Ki.Vertical,getItemsCallback:()=>this.getEnabledItems()}),this.handleResizeCallback=this._handleResize.bind(this),this._groupCount=0,this._groupItemCount=0,this.onItemFocusedBound=this.onItemFocused.bind(this),this.onForwardAfterBound=this.onForwardAfter.bind(this),this.onForwardBeforeBound=this.onForwardBefore.bind(this),this.onItemTabIndexChangeBound=this.onItemTabIndexChange.bind(this),this._dragAndDropHandler=new Uv(this,{getItems:()=>this.items,getDropIndicator:()=>this.dropIndicatorDOM,useOriginalEvent:!0})}get listItems(){return this.getItems()}_updateAssociatedLabelsTexts(){this._associatedDescriptionRefTexts=Hl(this),this._associatedLabelsRefTexts=Ml(this)}onEnterDOM(){$l(this,this._updateAssociatedLabelsTexts.bind(this)),Qt.register(this.getDomRef(),this.handleResizeCallback)}onExitDOM(){Fl(this),this.unobserveListEnd(),this.unobserveListStart(),Qt.deregister(this.getDomRef(),this.handleResizeCallback)}onBeforeRendering(){this.detachGroupHeaderEvents(),this.prepareListItems()}onAfterRendering(){this.attachGroupHeaderEvents(),this.growsOnScroll?(this.observeListEnd(),this.observeListStart()):(this.unobserveListEnd(),this.unobserveListStart()),this.grows&&this.checkListInViewport()}attachGroupHeaderEvents(){this.getItems().forEach(e=>{e.hasAttribute("ui5-li-group-header")&&(e.addEventListener("ui5-_focused",this.onItemFocusedBound),e.addEventListener("ui5-forward-after",this.onForwardAfterBound),e.addEventListener("ui5-forward-before",this.onForwardBeforeBound))})}detachGroupHeaderEvents(){this.getItems().forEach(e=>{e.hasAttribute("ui5-li-group-header")&&(e.removeEventListener("ui5-_focused",this.onItemFocusedBound),e.removeEventListener("ui5-forward-after",this.onForwardAfterBound),e.removeEventListener("ui5-forward-before",this.onForwardBeforeBound))})}getFocusDomRef(){return this._itemNavigation._getCurrentItem()}get shouldRenderH1(){return!this.header.length&&this.headerText}get headerID(){return`${this._id}-header`}get modeLabelID(){return`${this._id}-modeLabel`}get listEndDOM(){return this.shadowRoot.querySelector(".ui5-list-end-marker")}get listStartDOM(){return this.shadowRoot.querySelector(".ui5-list-start-marker")}get dropIndicatorDOM(){return this.shadowRoot.querySelector("[ui5-drop-indicator]")}get hasData(){return this.getItems().length!==0}get showBusyIndicatorOverlay(){return!this.growsWithButton&&this.loading}get showNoDataText(){return!this.hasData&&this.noDataText}get isDelete(){return this.selectionMode===ot.Delete}get isSingleSelect(){return[ot.Single,ot.SingleStart,ot.SingleEnd,ot.SingleAuto].includes(this.selectionMode)}get isMultiple(){return this.selectionMode===ot.Multiple}get ariaLabelledBy(){if(this.accessibleNameRef||this.accessibleName)return;const e=[];return(this.isMultiple||this.isSingleSelect||this.isDelete)&&e.push(this.modeLabelID),this.shouldRenderH1&&e.push(this.headerID),e.length?e.join(" "):void 0}get ariaLabelTxt(){return this._associatedLabelsRefTexts||Ga(this)}get ariaDescriptionText(){const e=[];this.accessibleRole===ga.List&&e.push(this.defaultAriaDescriptionText);const i=this._associatedDescriptionRefTexts||q_(this);i&&e.push(i);const o=this._getDescriptionForGroups();return o&&e.push(o),e.join(" ")}get defaultAriaDescriptionText(){return fo.i18nBundle.getText(VS)}get growingButtonAriaLabel(){var e;return(e=this.accessibilityAttributes.growingButton)==null?void 0:e.name}get growingButtonAriaLabelledBy(){var e;return(e=this.accessibilityAttributes.growingButton)!=null&&e.name?void 0:`${this._id}-growingButton-text`}get growingButtonAriaDescribedBy(){var e;return(e=this.accessibilityAttributes.growingButton)!=null&&e.description?`${this._id}-growingButton-description`:void 0}hasGrowingComponent(){return this.growsOnScroll?this._startMarkerOutOfView:this.growsWithButton}_getDescriptionForGroups(){let e="";return this._groupCount>0&&(this.accessibleRole===ga.List?e=fo.i18nBundle.getText(WS,this._groupCount,this._groupItemCount):this.accessibleRole===ga.ListBox&&(e=fo.i18nBundle.getText(KS,this._groupCount))),e}get ariaLabelModeText(){if(this.hasData){if(this.isMultiple)return fo.i18nBundle.getText(JS);if(this.isSingleSelect)return fo.i18nBundle.getText(YS);if(this.isDelete)return fo.i18nBundle.getText(QS)}return""}get grows(){return this.growing!==fa.None}get growsOnScroll(){return this.growing===fa.Scroll}get growsWithButton(){return this.growing===fa.Button}get _growingButtonText(){return this.growingButtonText||fo.i18nBundle.getText(ik)}get listAccessibleRole(){return Cn(this.accessibleRole)}get classes(){return{root:{"ui5-list-root":!0}}}prepareListItems(){const e=this.getItemsForProcessing();e.forEach((i,o)=>{const r=o===e.length-1,n=this.separators===tl.All||this.separators===tl.Inner&&!r;i.hasConfigurableMode&&(i._selectionMode=this.selectionMode),i.hasBorder=n,i.mediaRange=this.mediaRange})}async observeListEnd(){await Qi(),this.getEndIntersectionObserver().observe(this.listEndDOM)}unobserveListEnd(){this._endIntersectionObserver&&(this._endIntersectionObserver.disconnect(),this._endIntersectionObserver=null)}async observeListStart(){await Qi(),this.getStartIntersectionObserver().observe(this.listStartDOM)}unobserveListStart(){this._startIntersectionObserver&&(this._startIntersectionObserver.disconnect(),this._startIntersectionObserver=null)}onEndIntersection(e){e.forEach(i=>{i.isIntersecting&&pI(this.loadMore.bind(this),NI)})}onStartIntersection(e){e.forEach(i=>{this._startMarkerOutOfView=!i.isIntersecting})}onSelectionRequested(e){const i=this.getSelectedItems();let o=!1;this.selectionMode!==ot.None&&this[`handle${this.selectionMode}`]&&(o=this[`handle${this.selectionMode}`](e.detail.item,!!e.detail.selected)),o&&!this.fireDecoratorEvent("selection-change",{selectedItems:this.getSelectedItems(),previouslySelectedItems:i,selectionComponentPressed:e.detail.selectionComponentPressed,targetItem:e.detail.item,key:e.detail.key})&&this._revertSelection(i)}handleSingle(e){return e.selected?!1:(this.deselectSelectedItems(),e.selected=!0,!0)}handleSingleStart(e){return this.handleSingle(e)}handleSingleEnd(e){return this.handleSingle(e)}handleSingleAuto(e){return this.handleSingle(e)}handleMultiple(e,i){return e.selected=i,!0}handleDelete(e){return this.fireDecoratorEvent("item-delete",{item:e}),!0}deselectSelectedItems(){this.getSelectedItems().forEach(e=>{e.selected=!1})}getSelectedItems(){return this.getItems().filter(e=>e.selected)}getEnabledItems(){return this.getItems().filter(e=>e._focusable)}getItems(){const e=[],i=this.getSlottedNodes("items");let o=0,r=0;return i.forEach(n=>{if(zI(n)){const a=[n.groupHeaderItem,...n.items.filter(s=>s.assignedSlot)].filter(Boolean);e.push(...a),o++,r+=a.length-1}else $I(n)?n.assignedSlot&&e.push(...n.listItems):n.assignedSlot&&e.push(n)}),this._groupCount=o,this._groupItemCount=r,e}getItemsForProcessing(){return this.getItems()}_revertSelection(e){this.getItems().forEach(i=>{const o=e.indexOf(i)!==-1,r=i.shadowRoot.querySelector(".ui5-li-multisel-cb"),n=i.shadowRoot.querySelector(".ui5-li-singlesel-radiobtn");i.selected=o,r?r.checked=o:n&&(n.checked=o)})}_onkeydown(e){if(Ba(e)){this._handleEnd(),e.preventDefault();return}if(Ia(e)){this._handleHome();return}const i=ai(e)||li(e),o=this._getClosestListItem(e.target);if(o!=null&&o._isFocusOnInternalElement()&&i){const r=ai(e)?-1:1;if(this._navigateToAdjacentItem(o,r)){e.preventDefault();return}}if(li(e)){this._handleDown(e);return}if(dC(e)){this._moveItem(e.target,e);return}Ai(e)&&this._handleTabNext(e),pu(e)&&this._handleF7(e)}_handleF7(e){const i=this._getClosestListItem(e.target);if(!i||!i._hasFocusableElements())return;const o=i.getFocusDomRef(),r=ki();e.preventDefault(),r===o?(i._focusInternalElement(this._lastFocusedElementIndex??0),this._lastFocusedElementIndex=i._getFocusedElementIndex()):(this._lastFocusedElementIndex=i._getFocusedElementIndex(),o.focus())}_getClosestListItem(e){return e.closest("[ui5-li], [ui5-li-custom]")}_moveItem(e,i){if(!e||!e.movable)return;const o=dI(this.items,e,i);if(!o.length)return;i.preventDefault();const r=o.find(({element:n,placement:a})=>!this.fireDecoratorEvent("move-over",{originalEvent:i,source:{element:e},destination:{element:n,placement:a}}));r&&(this.fireDecoratorEvent("move",{originalEvent:i,source:{element:e},destination:{element:r.element,placement:r.placement}}),e.focus())}_onLoadMoreKeydown(e){if(Fe(e)&&(e.preventDefault(),this._loadMoreActive=!0),Ye(e)&&(this._onLoadMoreClick(),this._loadMoreActive=!0),Ai(e)&&this.focusAfterElement(),ai(e)){this._handleLodeMoreUp(e);return}Lo(e)&&(this.getPreviouslyFocusedItem()?this.focusPreviouslyFocusedItem():this.focusFirstItem(),e.preventDefault())}_onLoadMoreKeyup(e){Fe(e)&&this._onLoadMoreClick(),this._loadMoreActive=!1}_onLoadMoreMousedown(){this._loadMoreActive=!0}_onLoadMoreMouseup(){this._loadMoreActive=!1}_onLoadMoreClick(){this.loadMore()}_handleLodeMoreUp(e){if(this.getGrowingButton()===e.target){const o=this.getItems(),r=o[o.length-1];this.focusItem(r),e.preventDefault(),e.stopImmediatePropagation()}}checkListInViewport(){this._inViewport=fI(this.getDomRef())}loadMore(){this.hasGrowingComponent()&&this.fireDecoratorEvent("load-more")}_handleResize(){this.checkListInViewport();const e=this.getBoundingClientRect().width;this.mediaRange=kn.getCurrentRange(kn.RANGESETS.RANGE_4STEPS,e)}_handleTabNext(e){Ap(e.target)}_handleHome(){this.growsWithButton&&this.focusFirstItem()}_handleEnd(){this.growsWithButton&&this._shouldFocusGrowingButton()&&this.focusGrowingButton()}_handleDown(e){this._shouldFocusGrowingButton()&&(this.focusGrowingButton(),e.preventDefault())}_navigateToAdjacentItem(e,i){const o=e==null?void 0:e._getFocusedElementIndex();if(o===void 0||o===-1)return!1;const r=this.getItems().filter(l=>"hasConfigurableMode"in l&&l.hasConfigurableMode&&l._hasFocusableElements()),n=r.indexOf(e)+i,a=r[n];if(!a)return!1;const s=a._focusInternalElement(o);return s!==void 0&&(this._lastFocusedElementIndex=s),!0}_onfocusin(e){const i=Ap(e.target);if(this.isForwardElement(i)){if(!this.getPreviouslyFocusedItem()){this.growsWithButton&&this.isForwardAfterElement(i)?this.focusGrowingButton():this.focusFirstItem(),e.stopImmediatePropagation();return}if(!this.getForwardingFocus()){if(this.growsWithButton&&this.isForwardAfterElement(i)){this.focusGrowingButton(),e.stopImmediatePropagation();return}this.focusPreviouslyFocusedItem()}e.stopImmediatePropagation(),this.setForwardingFocus(!1)}}_ondragenter(e){this._dragAndDropHandler.ondragenter(e)}_ondragleave(e){this._dragAndDropHandler.ondragleave(e)}_ondragover(e){this._dragAndDropHandler.ondragover(e)}_ondrop(e){this._dragAndDropHandler.ondrop(e)}isForwardElement(e){const i=e.id,o=this.getBeforeElement();return this._id===i||o&&o.id===i?!0:this.isForwardAfterElement(e)}isForwardAfterElement(e){const i=e.id,o=this.getAfterElement();return o&&o.id===i}onItemTabIndexChange(e){e.stopPropagation();const i=e.target;this._itemNavigation.setCurrentItem(i)}onItemFocused(e){const i=e.target;if(e.stopPropagation(),this._itemNavigation.setCurrentItem(i),this.fireDecoratorEvent("item-focused",{item:i}),this.selectionMode===ot.SingleAuto){const o={item:i,selectionComponentPressed:!1,selected:!0,key:e.detail.key};this.onSelectionRequested({detail:o})}}onItemPress(e){const i=e.detail.item;if(this.fireDecoratorEvent("item-click",{item:i})&&this.selectionMode!==ot.Delete){const o={item:i,selectionComponentPressed:!1,selected:!i.selected,key:e.detail.key};this.onSelectionRequested({detail:o})}}onItemClose(e){var r;const i=e.target;((i==null?void 0:i.hasAttribute("ui5-li-notification"))||(i==null?void 0:i.hasAttribute("ui5-li-notification-group")))&&this.fireDecoratorEvent("item-close",{item:(r=e.detail)==null?void 0:r.item})}onItemToggle(e){var i;(i=e.target)!=null&&i.isListItemBase&&this.fireDecoratorEvent("item-toggle",{item:e.detail.item})}onForwardBefore(e){this.setPreviouslyFocusedItem(e.target),this.focusBeforeElement(),e.stopPropagation()}onForwardAfter(e){this.setPreviouslyFocusedItem(e.target),this.growsWithButton?(this.focusGrowingButton(),e.preventDefault()):this.focusAfterElement(),e.stopPropagation()}focusBeforeElement(){this.setForwardingFocus(!0),this.getBeforeElement().focus()}focusAfterElement(){this.setForwardingFocus(!0),this.getAfterElement().focus()}focusGrowingButton(){const e=this.getGrowingButton();e&&e.focus()}_shouldFocusGrowingButton(){if(!this.growsWithButton)return!1;const i=this.getItems().length-1,o=this._itemNavigation._currentIndex;return o!==-1&&o===i}getGrowingButton(){return this.shadowRoot.querySelector(`[id="${this._id}-growing-btn"]`)}focusFirstItem(){const e=this.getFirstItem(i=>i._focusable);e&&e.focus()}focusPreviouslyFocusedItem(){const e=this.getPreviouslyFocusedItem();e&&e.focus()}focusFirstSelectedItem(){const e=this.getFirstItem(i=>i.selected&&i._focusable);e&&e.focus()}focusItem(e){this._itemNavigation.setCurrentItem(e),e.focus()}onFocusRequested(e){setTimeout(()=>{this.setPreviouslyFocusedItem(e.target),this.focusPreviouslyFocusedItem()},0)}setForwardingFocus(e){this._forwardingFocus=e}getForwardingFocus(){return this._forwardingFocus}setPreviouslyFocusedItem(e){this._previouslyFocusedItem=e}getPreviouslyFocusedItem(){return this._previouslyFocusedItem}getFirstItem(e){const i=this.getItems();let o=null;if(!e)return i.length?i[0]:null;for(let r=0;r"hasListItems"in t&&t.hasListItems,FI="edit",HI="M15.821 2.571c.12.167.179.31.179.429 0 .143-.06.274-.179.393L4.214 15.036c-.095.095-.19.143-.285.143L0 16l.786-3.929a.44.44 0 0 1 .143-.321L12.57.143A.531.531 0 0 1 12.964 0a.53.53 0 0 1 .393.143l2.464 2.428ZM11.5 6.107 9.857 4.5l-8 7.964L3.5 14.107l8-8Zm3.107-3.143-1.643-1.571-2.285 2.286 1.607 1.607 2.321-2.322Z",UI=!1,VI="0 0 16 16",qI="SAP-icons-v4",GI="@ui5/webcomponents-icons";ie(FI,{pathData:HI,ltr:UI,viewBox:VI,collection:qI,packageName:GI});const jI="edit",WI="M11.621.515a1.75 1.75 0 0 1 2.48 0l1.383 1.388a1.752 1.752 0 0 1-.004 2.477L4.03 15.781A.751.751 0 0 1 3.5 16H.75a.75.75 0 0 1-.75-.75v-2.751a.75.75 0 0 1 .219-.53L11.62.515ZM1.808 12.498l1.691 1.692 7.936-7.9-1.743-1.712-7.884 7.92Zm11.23-10.924a.25.25 0 0 0-.354 0l-1.932 1.94 1.746 1.716 1.924-1.914a.25.25 0 0 0 0-.353l-1.384-1.389Z",KI=!1,ZI="0 0 16 16",XI="SAP-icons-v5",YI="@ui5/webcomponents-icons";ie(jI,{pathData:WI,ltr:KI,viewBox:ZI,collection:XI,packageName:YI});const JI="edit";var qu;(function(t){t.None="None",t.Positive="Positive",t.Critical="Critical",t.Negative="Negative",t.Information="Information"})(qu||(qu={}));const QI=qu;var Gu;(function(t){t.Inactive="Inactive",t.Active="Active",t.Detail="Detail",t.Navigation="Navigation"})(Gu||(Gu={}));const Ui=Gu;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const eB=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host([navigated]) .ui5-li-root .ui5-li-navigated{width:.1875rem;position:absolute;right:0;top:0;bottom:0;background-color:var(--sapList_SelectionBorderColor)}:host([active][actionable]) .ui5-li-root .ui5-li-icon{color:var(--sapList_Active_TextColor)}:host([active][actionable]) .ui5-li-title,:host([active][actionable]) .ui5-li-desc,:host([active][actionable]) .ui5-li-additional-text{color:var(--sapList_Active_TextColor)}:host([active][actionable]) .ui5-li-additional-text{text-shadow:none}:host([additional-text-state="Critical"]) .ui5-li-additional-text{color:var(--sapCriticalTextColor)}:host([additional-text-state="Positive"]) .ui5-li-additional-text{color:var(--sapPositiveTextColor)}:host([additional-text-state="Negative"]) .ui5-li-additional-text{color:var(--sapNegativeTextColor)}:host([additional-text-state="Information"]) .ui5-li-additional-text{color:var(--sapInformativeTextColor)}:host([has-title][description]){height:5rem}:host([has-title][image]){height:5rem}:host([_has-image]){height:5rem}:host([image]) .ui5-li-content{height:3rem}::slotted(img[slot="image"]){width:var(--_ui5_list_item_img_size);height:var(--_ui5_list_item_img_size);border-radius:var(--ui5-avatar-border-radius);object-fit:contain}::slotted([ui5-icon][slot="image"]){color:var(--sapContent_NonInteractiveIconColor);min-width:var(--_ui5_list_item_icon_size);min-height:var(--_ui5_list_item_icon_size);padding-inline-end:var(--_ui5_list_item_icon_padding-inline-end)}::slotted([ui5-avatar][slot="image"]){min-width:var(--_ui5_list_item_img_size);min-height:var(--_ui5_list_item_img_size);margin-top:var(--_ui5_list_item_img_top_margin);margin-bottom:var(--_ui5_list_item_img_bottom_margin);margin-inline-end:var(--_ui5_list_item_img_hn_margin)}:host([wrapping-type="None"][description]) .ui5-li-root{padding:1rem}:host([description]) .ui5-li-content{height:3rem}:host([has-title][description]) .ui5-li-title{padding-bottom:.5rem}.ui5-li-text-wrapper{flex-direction:column}:host([description]) .ui5-li-text-wrapper{justify-content:space-between;padding:.125rem 0}.ui5-li-description-info-wrapper{display:flex;justify-content:space-between}.ui5-li-additional-text,:host(:not([wrapping-type="Normal"])) .ui5-li-title,.ui5-li-desc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host([wrapping-type="Normal"]){height:auto}:host([wrapping-type="Normal"]) .ui5-li-content{margin:var(--_ui5_list_item_content_vertical_offset) 0}.ui5-li-desc{color:var(--sapContent_LabelColor);font-size:var(--sapFontSize)}:host([description]) .ui5-li-additional-text{align-self:flex-end}.ui5-li-icon{min-width:var(--_ui5_list_item_icon_size);min-height:var(--_ui5_list_item_icon_size);color:var(--sapContent_NonInteractiveIconColor);padding-inline-end:var(--_ui5_list_item_icon_padding-inline-end)}:host([icon-end]) .ui5-li-icon{padding-inline-start:var(--_ui5_list_item_icon_padding-inline-end)}.ui5-li-detailbtn,.ui5-li-deletebtn{display:flex;align-items:center;margin-left:var(--_ui5_list_buttons_left_space)}.ui5-li-multisel-cb,.ui5-li-singlesel-radiobtn{flex-shrink:0}:host([description]) .ui5-li-singlesel-radiobtn{align-self:flex-start;margin-top:var(--_ui5_list_item_selection_btn_margin_top)}:host([description]) .ui5-li-multisel-cb{align-self:flex-start;margin-top:var(--_ui5_list_item_selection_btn_margin_top)}:host([_selection-mode="SingleStart"][wrapping-type]) .ui5-li-root{padding-inline:0 1rem}:host([_selection-mode="Multiple"][wrapping-type]) .ui5-li-root{padding-inline:0 1rem}:host([_selection-mode="SingleEnd"][wrapping-type]) .ui5-li-root{padding-inline:1rem 0}:host [ui5-checkbox].ui5-li-singlesel-radiobtn{margin-right:var(--_ui5_list_item_cb_margin_right)}.ui5-li-highlight{position:absolute;width:.375rem;bottom:0;left:0;top:0;border-inline-end:.0625rem solid var(--ui5-listitem-background-color);box-sizing:border-box}:host([highlight="Negative"]) .ui5-li-highlight{background:var(--sapErrorBorderColor)}:host([highlight="Critical"]) .ui5-li-highlight{background:var(--sapWarningBorderColor)}:host([highlight="Positive"]) .ui5-li-highlight{background:var(--sapSuccessBorderColor)}:host([highlight="Information"]) .ui5-li-highlight{background:var(--sapInformationBorderColor)}:host([wrapping-type="Normal"][description]),:host([wrapping-type="Normal"][has-title][description]),:host([wrapping-type="Normal"][has-title][image]){height:auto;min-height:5rem}:host([wrapping-type="Normal"][description]) .ui5-li-content,:host([wrapping-type="Normal"][image]) .ui5-li-content{height:auto;min-height:3rem}:host([wrapping-type="Normal"][has-title][description]) .ui5-li-title{padding-bottom:.75rem}:host([wrapping-type="Normal"][additional-text]) .ui5-li-additional-text{padding-inline-start:.75rem}:host([wrapping-type="Normal"]) .ui5-li-description-info-wrapper{flex-direction:column}:host([wrapping-type="Normal"]) .ui5-li-description-info-wrapper .ui5-li-additional-text{white-space:normal}:host([wrapping-type="Normal"]) .ui5-li-multisel-cb,:host([wrapping-type="Normal"]) .ui5-li-singlesel-radiobtn{display:flex;align-self:flex-start}:host([wrapping-type="Normal"][description]) .ui5-li-multisel-cb,:host([wrapping-type="Normal"][description]) .ui5-li-singlesel-radiobtn{margin-top:0}:host([wrapping-type="Normal"]) .ui5-li-icon,:host([wrapping-type="Normal"]) .ui5-li-image{display:flex;align-self:flex-start}:host([wrapping-type="Normal"][icon-end]) .ui5-li-icon{margin-top:var(--_ui5_list_item_content_vertical_offset)}:host([wrapping-type="Normal"]) ::slotted([ui5-avatar][slot="image"]){margin-top:0;margin-bottom:0}:host([wrapping-type="Normal"]) .ui5-li-detailbtn,:host([wrapping-type="Normal"]) .ui5-li-deletebtn{margin-inline-start:.875rem} -`;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const tB=`.ui5-li-additional-text{margin:0 .25rem;color:var(--sapNeutralTextColor);font-size:var(--sapFontSize);min-width:3.75rem;text-align:end;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} -`,iB="slim-arrow-right",oB="M5.178 2.87c-.237-.228-.237-.466 0-.715A.445.445 0 0 1 5.505 2c.119 0 .228.052.327.155l4.9 5.13c.179.207.268.446.268.715 0 .27-.09.497-.267.684l-4.901 5.16A.46.46 0 0 1 5.49 14a.46.46 0 0 1-.341-.155.503.503 0 0 1 0-.716L9.9 8.155c.119-.103.119-.217 0-.342L5.178 2.87Z",rB=!1,nB="0 0 16 16",aB="SAP-icons-v4",sB="@ui5/webcomponents-icons";ie(iB,{pathData:oB,ltr:rB,viewBox:nB,collection:aB,packageName:sB});const lB="slim-arrow-right",cB="M6.273 3.17a.75.75 0 0 1 1.056.103l3.5 4.247a.75.75 0 0 1 0 .955l-3.5 4.252a.75.75 0 0 1-1.158-.954l3.107-3.775-3.107-3.771a.75.75 0 0 1 .102-1.056Z",uB=!1,_B="0 0 16 16",dB="SAP-icons-v5",hB="@ui5/webcomponents-icons";ie(lB,{pathData:cB,ltr:uB,viewBox:_B,collection:dB,packageName:hB});const ed="slim-arrow-right";var ti=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},Ko;let Nt=Ko=class extends Ka{constructor(){super(),this.type="Active",this.accessibilityAttributes={},this.navigated=!1,this.active=!1,this.highlight="None",this.accessibleRole="ListItem",this._selectionMode="None",this.mediaRange="S",this.deactivateByKey=e=>{Ye(e)&&this.deactivate()},this.deactivate=()=>{this.active&&(this.active=!1)}}onBeforeRendering(){super.onBeforeRendering(),this.actionable=(this.type===Ui.Active||this.type===Ui.Navigation)&&this._selectionMode!==ot.Delete}onEnterDOM(){super.onEnterDOM(),document.addEventListener("mouseup",this.deactivate),document.addEventListener("touchend",this.deactivate),document.addEventListener("keyup",this.deactivateByKey)}onExitDOM(){document.removeEventListener("mouseup",this.deactivate),document.removeEventListener("keyup",this.deactivateByKey),document.removeEventListener("touchend",this.deactivate)}_onkeydown(e){const i=e.target!==this.getFocusDomRef();if((Fe(e)||Ye(e))&&i)return;super._onkeydown(e);const o=this.type===Ui.Active,r=this.typeNavigation;(Fe(e)||Ye(e))&&(o||r)&&this.activate(),hu(e)&&this._handleF2()}_onkeyup(e){super._onkeyup(e),(Fe(e)||Ye(e))&&this.deactivate(),this.modeDelete&&du(e)&&this.onDelete()}_onmousedown(){this.activate()}_onmouseup(){this.getFocusDomRef().matches(":has(:focus-within)")||this.deactivate()}_ontouchend(){this._onmouseup()}_onfocusin(e){super._onfocusin(e),e.target!==this.getFocusDomRef()&&this.deactivate()}_onfocusout(e){e.target===this.getFocusDomRef()&&this.deactivate()}_ondragstart(e){e.dataTransfer&&e.target===this._listItem&&(Tn.setDraggedElement(this,e),this.setAttribute("data-moving",""),e.dataTransfer.dropEffect="move",e.dataTransfer.effectAllowed="move")}_ondragend(e){e.target===this._listItem&&(Tn.clearDraggedElement(),this.removeAttribute("data-moving"))}onMultiSelectionComponentPress(e){this.isInactive||this.fireDecoratorEvent("selection-requested",{item:this,selected:e.target.checked,selectionComponentPressed:!0})}onSingleSelectionComponentPress(e){this.isInactive||this.fireDecoratorEvent("selection-requested",{item:this,selected:!e.target.checked,selectionComponentPressed:!0})}activate(){(this.type===Ui.Active||this.type===Ui.Navigation)&&(this.active=!0)}onDelete(){this.fireDecoratorEvent("selection-requested",{item:this,selectionComponentPressed:!1})}onDetailClick(){this.fireDecoratorEvent("detail-click",{item:this,selected:this.selected})}fireItemPress(e){this.isInactive||(super.fireItemPress(e),document.activeElement!==this&&this.focus())}get isInactive(){return this.type===Ui.Inactive||this.type===Ui.Detail}get placeSelectionElementBefore(){return this._selectionMode===ot.Multiple||this._selectionMode===ot.SingleStart}get placeSelectionElementAfter(){return!this.placeSelectionElementBefore&&(this._selectionMode===ot.SingleEnd||this._selectionMode===ot.Delete)}get modeSingleSelect(){return[ot.SingleStart,ot.SingleEnd,ot.Single].includes(this._selectionMode)}get modeMultiple(){return this._selectionMode===ot.Multiple}get modeDelete(){return this._selectionMode===ot.Delete}get typeDetail(){return this.type===Ui.Detail}get typeNavigation(){return this.type===Ui.Navigation}get typeActive(){return this.type===Ui.Active}get _ariaSelected(){if(this.modeMultiple||this.modeSingleSelect)return this.selected}get listItemAccessibleRole(){return this._forcedAccessibleRole||this.accessibleRole.toLowerCase()}get ariaSelectedText(){let e;return this._ariaSelected!==void 0&&(e=this._ariaSelected?Ko.i18nBundle.getText(GS):Ko.i18nBundle.getText(jS)),e}get deleteText(){return Ko.i18nBundle.getText(LS)}get hasDeleteButtonSlot(){return!!this.deleteButton.length}get _accessibleNameRef(){return this.accessibleName?`${this._id}-invisibleText`:`${this._id}-content ${this._id}-invisibleText`}get ariaLabelledByText(){return[this._accInfo.listItemAriaLabel,this.accessibleName,this.typeActive?Ko.i18nBundle.getText(qS):void 0].filter(Boolean).join(" ")}get _accInfo(){return{role:this.listItemAccessibleRole,ariaExpanded:void 0,ariaLevel:void 0,ariaLabel:Ko.i18nBundle.getText(ZS),ariaLabelRadioButton:Ko.i18nBundle.getText(XS),ariaSelectedText:this.ariaSelectedText,ariaHaspopup:this.accessibilityAttributes.hasPopup,setsize:this.accessibilityAttributes.ariaSetsize,posinset:this.accessibilityAttributes.ariaPosinset,tooltip:this.tooltip}}get _hasHighlightColor(){return this.highlight!==QI.None}get hasConfigurableMode(){return!0}get _listItem(){return this.shadowRoot.querySelector("li")}async _handleF2(){const e=this.getFocusDomRef(),i=ki();if(this._getFocusableElements().length>0)if(i===e){const r=await xu(e);r==null||r.focus()}else e.focus()}_getFocusableElements(){const e=this.getFocusDomRef();return ql(e)}_getFocusedElementIndex(){const e=this._getFocusableElements(),i=ki();return e.indexOf(i)}_hasFocusableElements(){return this._getFocusableElements().length>0}_isFocusOnInternalElement(){return this._getFocusableElements().indexOf(ki())!==-1}_focusInternalElement(e){const i=this._getFocusableElements();if(!i.length)return;const o=Math.min(e,i.length-1);return i[o].focus(),o}};ti([p()],Nt.prototype,"type",void 0);ti([p({type:Object})],Nt.prototype,"accessibilityAttributes",void 0);ti([p({type:Boolean})],Nt.prototype,"navigated",void 0);ti([p()],Nt.prototype,"tooltip",void 0);ti([p({type:Boolean})],Nt.prototype,"active",void 0);ti([p()],Nt.prototype,"highlight",void 0);ti([p({type:Boolean})],Nt.prototype,"selected",void 0);ti([p()],Nt.prototype,"accessibleRole",void 0);ti([p()],Nt.prototype,"_forcedAccessibleRole",void 0);ti([p()],Nt.prototype,"_selectionMode",void 0);ti([p()],Nt.prototype,"mediaRange",void 0);ti([ae()],Nt.prototype,"deleteButton",void 0);ti([Xe("@ui5/webcomponents")],Nt,"i18nBundle",void 0);Nt=Ko=ti([ce({languageAware:!0,renderer:we,styles:[Ka.styles,tB,eB]}),j("detail-click",{bubbles:!0}),j("selection-requested",{bubbles:!0})],Nt);const Za=Nt;let Oc;const pB=()=>(Oc===void 0&&(Oc=Ay()),Oc);var In;(function(t){t.Default="Default",t.Positive="Positive",t.Negative="Negative",t.Transparent="Transparent",t.Emphasized="Emphasized",t.Attention="Attention"})(In||(In={}));var il;(function(t){t.Button="Button",t.Submit="Submit",t.Reset="Reset"})(il||(il={}));var hn;(function(t){t.InlineText="InlineText",t.OverlayText="OverlayText",t.AttentionDot="AttentionDot"})(hn||(hn={}));var ol;(function(t){t.Button="Button",t.Link="Link"})(ol||(ol={}));var ju;(function(t){t.S="S",t.M="M",t.L="L"})(ju||(ju={}));const Lp=ju;function fB(t){var e,i,o,r,n,a,s,l;return z(de,{children:[z("button",{type:"button",class:{"ui5-button-root":!0,"ui5-button-badge-placement-end":((e=this.badge[0])==null?void 0:e.design)==="InlineText","ui5-button-badge-placement-end-top":((i=this.badge[0])==null?void 0:i.design)==="OverlayText","ui5-button-badge-dot":((o=this.badge[0])==null?void 0:o.design)==="AttentionDot"},disabled:this.disabled,"data-sap-focus-ref":!0,"aria-pressed":t==null?void 0:t.ariaPressed,"aria-valuemin":t==null?void 0:t.ariaValueMin,"aria-valuemax":t==null?void 0:t.ariaValueMax,"aria-valuenow":t==null?void 0:t.ariaValueNow,"aria-valuetext":t==null?void 0:t.ariaValueText,onFocusOut:this._onfocusout,onClick:this._onclick,onMouseDown:this._onmousedown,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onTouchStart:this._ontouchstart,onTouchEnd:this._ontouchend,tabindex:this.tabIndexValue,"aria-expanded":(r=this._computedAccessibilityAttributes)==null?void 0:r.expanded,"aria-controls":(n=this._computedAccessibilityAttributes)==null?void 0:n.controls,"aria-haspopup":(a=this._computedAccessibilityAttributes)==null?void 0:a.hasPopup,"aria-label":(s=this._computedAccessibilityAttributes)==null?void 0:s.ariaLabel,"aria-keyshortcuts":(l=this._computedAccessibilityAttributes)==null?void 0:l.ariaKeyShortcuts,"aria-description":this.ariaDescriptionText,"aria-busy":this.loading?"true":void 0,title:this.buttonTitle,part:"button",role:this.effectiveAccRole,children:[this.icon&&f(Pe,{class:"ui5-button-icon",name:this.icon,mode:"Decorative",part:"icon"}),f("span",{id:`${this._id}-content`,class:"ui5-button-text",children:f("bdi",{children:f("slot",{})})}),this.endIcon&&f(Pe,{class:"ui5-button-end-icon",name:this.endIcon,mode:"Decorative",part:"endIcon"}),this.shouldRenderBadge&&f("slot",{name:"badge"})]}),this.loading&&f(Nn,{id:`${this._id}-button-busy-indicator`,class:"ui5-button-busy-indicator",size:this.iconOnly?Lp.S:Lp.M,active:!0,delay:this.loadingDelay,inert:this.loading})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const gB=`:host{vertical-align:middle}.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block}:host{min-width:var(--_ui5_button_base_min_width);height:var(--_ui5_button_base_height);line-height:normal;font-family:var(--_ui5_button_fontFamily);font-size:var(--sapFontSize);text-shadow:var(--_ui5_button_text_shadow);border-radius:var(--_ui5_button_border_radius);cursor:pointer;background-color:var(--sapButton_Background);border:var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);color:var(--sapButton_TextColor);box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-tap-highlight-color:transparent}.ui5-button-root{min-width:inherit;cursor:inherit;height:100%;width:100%;box-sizing:border-box;display:flex;justify-content:center;align-items:center;outline:none;padding:0 var(--_ui5_button_base_padding);position:relative;background:transparent;border:none;color:inherit;text-shadow:inherit;font:inherit;white-space:inherit;overflow:inherit;text-overflow:inherit;letter-spacing:inherit;word-spacing:inherit;line-height:inherit;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host(:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host(:not([hidden]):not([disabled]).ui5_hovered){background:var(--sapButton_Hover_Background);border:1px solid var(--sapButton_Hover_BorderColor);color:var(--sapButton_Hover_TextColor)}.ui5-button-icon,.ui5-button-end-icon{color:inherit;flex-shrink:0}.ui5-button-end-icon{margin-inline-start:var(--_ui5_button_base_icon_margin)}:host([icon-only]:not([has-end-icon])) .ui5-button-root{min-width:auto;padding:0}:host([icon-only]) .ui5-button-text{display:none}.ui5-button-text{outline:none;position:relative;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([has-icon]:not(:empty)) .ui5-button-text{margin-inline-start:var(--_ui5_button_base_icon_margin)}:host([has-end-icon]:not([has-icon]):empty) .ui5-button-end-icon{margin-inline-start:0}:host([disabled]){opacity:var(--sapContent_DisabledOpacity);pointer-events:unset;cursor:default}:host([has-icon]:not([icon-only]):not([has-end-icon])) .ui5-button-text{min-width:calc(var(--_ui5_button_base_min_width) - var(--_ui5_button_base_icon_margin) - 1rem)}:host([disabled]:active){pointer-events:none}:host([desktop]:not([loading])) .ui5-button-root:focus-within:after,:host(:not([active])) .ui5-button-root:focus-visible:after,:host([desktop][active][design="Emphasized"]) .ui5-button-root:focus-within:after,:host([active][design="Emphasized"]) .ui5-button-root:focus-visible:after,:host([desktop][active]) .ui5-button-root:focus-within:before,:host([active]) .ui5-button-root:focus-visible:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;inset:.0625rem;border:var(--_ui5_button_focused_border);border-radius:var(--_ui5_button_focused_border_radius)}:host([desktop][active]) .ui5-button-root:focus-within:before,:host([active]) .ui5-button-root:focus-visible:before{border-color:var(--_ui5_button_pressed_focused_border_color)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:after,:host([design="Emphasized"]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5_button_emphasized_focused_border_color)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:before,:host([design="Emphasized"]) .ui5-button-root:focus-visible:before{content:"";position:absolute;box-sizing:border-box;inset:.0625rem;border:var(--_ui5_button_emphasized_focused_border_before);border-radius:var(--_ui5_button_focused_border_radius)}.ui5-button-root::-moz-focus-inner{border:0}bdi{display:block;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([ui5-button][active]:not([disabled]):not([non-interactive])){background-image:none;background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([design="Positive"]){background-color:var(--sapButton_Accept_Background);border-color:var(--sapButton_Accept_BorderColor);color:var(--sapButton_Accept_TextColor)}:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Accept_Hover_Background);border-color:var(--sapButton_Accept_Hover_BorderColor);color:var(--sapButton_Accept_Hover_TextColor)}:host([ui5-button][design="Positive"][active]:not([non-interactive])){background-color:var(--sapButton_Accept_Active_Background);border-color:var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Active_TextColor)}:host([design="Negative"]){background-color:var(--sapButton_Reject_Background);border-color:var(--sapButton_Reject_BorderColor);color:var(--sapButton_Reject_TextColor)}:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Reject_Hover_Background);border-color:var(--sapButton_Reject_Hover_BorderColor);color:var(--sapButton_Reject_Hover_TextColor)}:host([ui5-button][design="Negative"][active]:not([non-interactive])){background-color:var(--sapButton_Reject_Active_Background);border-color:var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([design="Attention"]){background-color:var(--sapButton_Attention_Background);border-color:var(--sapButton_Attention_BorderColor);color:var(--sapButton_Attention_TextColor)}:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Attention_Hover_Background);border-color:var(--sapButton_Attention_Hover_BorderColor);color:var(--sapButton_Attention_Hover_TextColor)}:host([ui5-button][design="Attention"][active]:not([non-interactive])){background-color:var(--sapButton_Attention_Active_Background);border-color:var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([design="Emphasized"]){background-color:var(--sapButton_Emphasized_Background);border-color:var(--sapButton_Emphasized_BorderColor);border-width:var(--_ui5_button_emphasized_border_width);color:var(--sapButton_Emphasized_TextColor);font-family:var(--sapButton_Emphasized_FontFamily)}:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Emphasized_Hover_Background);border-color:var(--sapButton_Emphasized_Hover_BorderColor);border-width:var(--_ui5_button_emphasized_border_width);color:var(--sapButton_Emphasized_Hover_TextColor)}:host([ui5-button][design="Empasized"][active]:not([non-interactive])){background-color:var(--sapButton_Emphasized_Active_Background);border-color:var(--sapButton_Emphasized_Active_BorderColor);color:var(--sapButton_Emphasized_Active_TextColor)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:after,:host([design="Emphasized"]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5_button_emphasized_focused_border_color);outline:none}:host([design="Emphasized"][desktop][active]:not([non-interactive])) .ui5-button-root:focus-within:after,:host([design="Emphasized"][active]:not([non-interactive])) .ui5-button-root:focus-visible:after{border-color:var(--_ui5_button_emphasized_focused_active_border_color)}:host([design="Transparent"]){background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor);border-color:var(--sapButton_Lite_BorderColor)}:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Lite_Hover_Background);border-color:var(--sapButton_Lite_Hover_BorderColor);color:var(--sapButton_Lite_Hover_TextColor)}:host([ui5-button][design="Transparent"][active]:not([non-interactive])){background-color:var(--sapButton_Lite_Active_Background);border-color:var(--sapButton_Lite_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([ui5-segmented-button-item][active][desktop]) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item][active]) .ui5-button-root:focus-visible:after,:host([pressed][desktop]) .ui5-button-root:focus-within:after,:host([pressed]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5_button_pressed_focused_border_color);outline:none}:host([ui5-segmented-button-item][desktop]:not(:last-child)) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item]:not(:last-child)) .ui5-button-root:focus-visible:after{border-top-right-radius:var(--_ui5_button_focused_inner_border_radius);border-bottom-right-radius:var(--_ui5_button_focused_inner_border_radius)}:host([ui5-segmented-button-item][desktop]:not(:first-child)) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item]:not(:first-child)) .ui5-button-root:focus-visible:after{border-top-left-radius:var(--_ui5_button_focused_inner_border_radius);border-bottom-left-radius:var(--_ui5_button_focused_inner_border_radius)}::slotted([slot="badge"][design="InlineText"]){pointer-events:initial;font-family:var(--sapButton_FontFamily);font-size:var(--sapFontSmallSize);padding-inline-start:.25rem;--_ui5-tag-height: .625rem}::slotted([slot="badge"][design="OverlayText"]){pointer-events:initial;position:absolute;top:0;inset-inline-end:0;margin:-.5rem;z-index:1;font-family:var(--sapButton_FontFamily);font-size:var(--sapFontSmallSize);--_ui5-tag-height: .625rem}::slotted([slot="badge"][design="AttentionDot"]){pointer-events:initial;content:"";position:absolute;top:0;inset-inline-end:0;margin:-.25rem;z-index:1}:host(:state(has-overlay-badge)){overflow:visible;margin-inline-end:.3125rem}:host([loading]){position:relative;pointer-events:unset}:host([loading]) .ui5-button-root{opacity:var(--sapContent_DisabledOpacity)}:host([loading][design="Emphasized"]){background-color:inherit;border:inherit}:host([design="Emphasized"][loading]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Emphasized"][loading]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:inherit;border:inherit}:host([design="Emphasized"][loading]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover) .ui5-button-root,:host([design="Emphasized"][loading]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered) .ui5-button-root{background-color:var(--sapButton_Emphasized_Hover_Background)}:host([loading][design="Emphasized"]) .ui5-button-root{background-color:var(--sapButton_Emphasized_Background);border-color:var(--sapButton_Emphasized_BorderColor)}.ui5-button-busy-indicator{position:absolute;height:100%;width:100%;top:0}:host([has-end-icon]:not([icon])) .ui5-button-root{justify-content:flex-start}:host([icon-only]) .ui5-button-root{justify-content:center}:host([has-end-icon]:not([icon]):not(:empty)) .ui5-button-end-icon{padding-inline-start:var(--_ui5_button_base_icon_margin);margin-inline-start:auto} -`;var Be=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},Zo;let Pp=!1,Sr=null,J=Zo=class extends Ke{constructor(){super(),this.design="Default",this.disabled=!1,this.submits=!1,this.accessibilityAttributes={},this.type="Button",this.accessibleRole="Button",this.active=!1,this.iconOnly=!1,this.hasIcon=!1,this.hasEndIcon=!1,this.nonInteractive=!1,this.loading=!1,this.loadingDelay=1e3,this._iconSettings={},this.forcedTabIndex="0",this._isTouch=!1,this._cancelAction=!1,this._isSpacePressed=!1,this._clickHandlerAttached=!1,this._deactivate=()=>{Sr&&Sr._setActiveState(!1)},this._onclickBound=e=>{e instanceof CustomEvent||this._onclick(e)},this._clickHandlerAttached||(this.addEventListener("click",this._onclickBound),this._clickHandlerAttached=!0),Pp||(document.addEventListener("mouseup",this._deactivate),Pp=!0)}_ontouchstart(){this.nonInteractive||this._setActiveState(!0)}onEnterDOM(){zt()&&this.setAttribute("desktop",""),this._clickHandlerAttached||(this.addEventListener("click",this._onclickBound),this._clickHandlerAttached=!0),$l(this,this._updateAccessibleNameRefTexts.bind(this))}_updateAccessibleNameRefTexts(){this._accessibleNameRefTexts=Ml(this)}onExitDOM(){this._clickHandlerAttached&&(this.removeEventListener("click",this._onclickBound),this._clickHandlerAttached=!1),Sr===this&&(Sr=null),Fl(this)}async onBeforeRendering(){this._setBadgeOverlayStyle(),this.hasIcon=!!this.icon,this.hasEndIcon=!!this.endIcon,this.iconOnly=this.isIconOnly;const e=await this.getDefaultTooltip();this.buttonTitle=this.iconOnly?this.tooltip??e:this.tooltip}_setBadgeOverlayStyle(){this.badge.length&&(this.badge[0].design===hn.AttentionDot||this.badge[0].design===hn.OverlayText)?this._internals.states.add("has-overlay-badge"):this._internals.states.delete("has-overlay-badge")}_onclick(e){var s;if(e.stopImmediatePropagation(),this.nonInteractive)return;if(this.loading){e.preventDefault();return}const{altKey:i,ctrlKey:o,metaKey:r,shiftKey:n}=e;if(!this.fireDecoratorEvent("click",{originalEvent:e,altKey:i,ctrlKey:o,metaKey:r,shiftKey:n})){e.preventDefault();return}this._isSubmit&&wu(this),this._isReset&&ZC(this),R_()&&((s=this.getDomRef())==null||s.focus())}_onmousedown(){this.nonInteractive||(this._setActiveState(!0),Sr=this)}_ontouchend(e){(this.disabled||this.loading)&&(e.preventDefault(),e.stopPropagation()),this.active&&this._setActiveState(!1),Sr&&Sr._setActiveState(!1)}_onkeydown(e){Aa(e)||Ro(e)?this._cancelAction=!0:Fe(e)&&(this._isSpacePressed=!0),Fe(e)||Ye(e)?this._setActiveState(!0):this._cancelAction&&this._setActiveState(!1)}_onkeyup(e){const i=Fe(e),o=Aa(e)||Ro(e);if(i||_u(e)){if(this._cancelAction){this._cancelAction=!1,this._isSpacePressed=!1,e.preventDefault();return}this._isSpacePressed=!1}else o&&!this._isSpacePressed&&(this._cancelAction=!1);(Fe(e)||Ye(e))&&this.active&&this._setActiveState(!1)}_onfocusout(){this.nonInteractive||(this._isSpacePressed=!1,this._cancelAction=!1,this.active&&this._setActiveState(!1))}_setActiveState(e){!this.fireDecoratorEvent("active-state-change")||this.loading||(this.active=e)}get hasButtonType(){return this.design!==In.Default&&this.design!==In.Transparent}get isIconOnly(){return!J_(this.text)}static typeTextMappings(){return{Positive:SS,Negative:kS,Emphasized:TS,Attention:IS}}getDefaultTooltip(){if(pB())return _x(this.icon)}get buttonTypeText(){return Zo.i18nBundle.getText(Zo.typeTextMappings()[this.design])}get effectiveAccRole(){return Cn(this.accessibleRole)}get tabIndexValue(){if(this.disabled)return;const e=this.getAttribute("tabindex");return e?Number.parseInt(e):this.nonInteractive?-1:Number.parseInt(this.forcedTabIndex)}get ariaLabelText(){const e=this._accessibleNameRefTexts||this.accessibleName||"",i=this.textContent||"",o=this.effectiveBadgeDescriptionText||"";return[e||i,o].filter(a=>a).join(" ")}get ariaDescriptionText(){const e=this.accessibleDescription===""?void 0:this.accessibleDescription,i=this.hasButtonType?this.buttonTypeText:"",o=[e,i].filter(r=>r);return o.length>0?o.join(" "):void 0}get _computedAccessibilityAttributes(){return{expanded:this.accessibilityAttributes.expanded,hasPopup:this.accessibilityAttributes.hasPopup,controls:this.accessibilityAttributes.controls,ariaKeyShortcuts:this.accessibilityAttributes.ariaKeyShortcuts,ariaLabel:this.accessibilityAttributes.ariaLabel||this.ariaLabelText}}get accessibilityInfo(){return{description:this.ariaDescriptionText,role:this.effectiveAccRole,disabled:this.disabled,children:this.text,type:this.effectiveAccRoleTranslation,label:this.ariaLabelText}}get effectiveAccRoleTranslation(){return this.accessibleRole===ol.Button?Zo.i18nBundle.getText(ES):this.accessibleRole===ol.Link?Zo.i18nBundle.getText(RS):""}get effectiveBadgeDescriptionText(){if(!this.shouldRenderBadge)return"";const e=this.badge[0].effectiveText;switch(e){case"":return e;case"1":return Zo.i18nBundle.getText(BS,e);default:return Zo.i18nBundle.getText(AS,e)}}get _isSubmit(){return this.type===il.Submit||this.submits}get _isReset(){return this.type===il.Reset}get shouldRenderBadge(){return!!this.badge.length&&(!!this.badge[0].text.length||this.badge[0].design===hn.AttentionDot)}};Be([p()],J.prototype,"design",void 0);Be([p({type:Boolean})],J.prototype,"disabled",void 0);Be([p()],J.prototype,"icon",void 0);Be([p()],J.prototype,"endIcon",void 0);Be([p({type:Boolean})],J.prototype,"submits",void 0);Be([p()],J.prototype,"form",void 0);Be([p()],J.prototype,"tooltip",void 0);Be([p()],J.prototype,"accessibleName",void 0);Be([p()],J.prototype,"accessibleNameRef",void 0);Be([p({type:Object})],J.prototype,"accessibilityAttributes",void 0);Be([p()],J.prototype,"accessibleDescription",void 0);Be([p()],J.prototype,"type",void 0);Be([p()],J.prototype,"accessibleRole",void 0);Be([p({type:Boolean})],J.prototype,"active",void 0);Be([p({type:Boolean})],J.prototype,"iconOnly",void 0);Be([p({type:Boolean})],J.prototype,"hasIcon",void 0);Be([p({type:Boolean})],J.prototype,"hasEndIcon",void 0);Be([p({type:Boolean})],J.prototype,"nonInteractive",void 0);Be([p({type:Boolean})],J.prototype,"loading",void 0);Be([p({type:Number})],J.prototype,"loadingDelay",void 0);Be([p({noAttribute:!0})],J.prototype,"buttonTitle",void 0);Be([p({type:Object})],J.prototype,"_iconSettings",void 0);Be([p({noAttribute:!0})],J.prototype,"forcedTabIndex",void 0);Be([p({type:Boolean})],J.prototype,"_isTouch",void 0);Be([p({type:Boolean,noAttribute:!0})],J.prototype,"_cancelAction",void 0);Be([p({type:Boolean,noAttribute:!0})],J.prototype,"_isSpacePressed",void 0);Be([p({noAttribute:!0})],J.prototype,"_accessibleNameRefTexts",void 0);Be([ae({type:Node,default:!0})],J.prototype,"text",void 0);Be([ae({type:HTMLElement,invalidateOnChildChange:!0})],J.prototype,"badge",void 0);Be([Xe("@ui5/webcomponents")],J,"i18nBundle",void 0);J=Zo=Be([ce({tag:"ui5-button",formAssociated:!0,languageAware:!0,renderer:we,template:fB,styles:gB,shadowRootOptions:{delegatesFocus:!0}}),j("click",{bubbles:!0,cancelable:!0}),j("active-state-change",{bubbles:!0,cancelable:!0})],J);J.define();class qo{static hasGroup(e){return this.groups.has(e)}static getGroup(e){return this.groups.get(e)}static getCheckedRadioFromGroup(e){return this.checkedRadios.get(e)}static removeGroup(e){return this.checkedRadios.delete(e),this.groups.delete(e)}static addToGroup(e,i){this.hasGroup(i)?(this.enforceSingleSelection(e,i),this.getGroup(i)&&this.getGroup(i).push(e)):this.createGroup(e,i),this.updateTabOrder(i)}static removeFromGroup(e,i){const o=this.getGroup(i);if(!o)return;const r=this.getCheckedRadioFromGroup(i);o.forEach((n,a,s)=>{if(e._id===n._id)return s.splice(a,1)}),r===e&&this.checkedRadios.set(i,null),o.length||this.removeGroup(i),this.updateTabOrder(i)}static createGroup(e,i){e.checked&&this.checkedRadios.set(i,e),this.groups.set(i,[e])}static selectNextItem(e,i){const o=this.getGroup(i);if(!o)return;const r=o.length,n=o.indexOf(e);if(r<=1)return;const a=this._nextFocusable(n,o);a&&this.updateSelectionInGroup(a,i)}static updateFormValidity(e){const i=this.getGroup(e);if(!i)return;const o=i.some(n=>n.required),r=i.some(n=>n.checked);i.forEach(n=>{n._groupChecked=r,n._groupRequired=o})}static updateTabOrder(e){const i=this.getGroup(e);if(!i)return;const o=i.some(r=>r.checked);i.filter(r=>!r.disabled).forEach((r,n)=>{let a=ki();a!=null&&a.classList.contains("ui5-radio-root")&&(a=a.getRootNode(),a instanceof ShadowRoot&&(a=a.host)),o?a!=null&&a.hasAttribute("ui5-radio-button")&&a.readonly?r._tabIndex=a===r&&r.readonly?0:-1:r._tabIndex=r.checked?0:-1:r._tabIndex=n===0?0:-1})}static selectPreviousItem(e,i){const o=this.getGroup(i);if(!o)return;const r=o.length,n=o.indexOf(e);if(r<=1)return;const a=this._previousFocusable(n,o);a&&this.updateSelectionInGroup(a,i)}static selectItem(e,i){this.updateSelectionInGroup(e,i),this.updateTabOrder(i),this.updateFormValidity(i)}static updateSelectionInGroup(e,i){const o=this.getCheckedRadioFromGroup(i);o&&!e.readonly&&(this._deselectRadio(o),this.checkedRadios.set(i,e)),e&&(e.focus(),e.readonly?setTimeout(()=>{this.updateTabOrder(i)},0):this._selectRadio(e))}static _deselectRadio(e){e&&(e.checked=!1)}static _selectRadio(e){e.checked=!0,e._checked=!0,e.fireDecoratorEvent("change")}static _nextFocusable(e,i){if(!i)return null;const o=i.length;let r=null;if(e===o-1){if(i[0].disabled)return this._nextFocusable(1,i);r=i[0]}else{if(i[e+1].disabled)return this._nextFocusable(e+1,i);r=i[e+1]}return r}static _previousFocusable(e,i){const o=i.length;let r=null;if(e===0){if(i[o-1].disabled)return this._previousFocusable(o-1,i);r=i[o-1]}else{if(i[e-1].disabled)return this._previousFocusable(e-1,i);r=i[e-1]}return r}static enforceSingleSelection(e,i){const o=this.getCheckedRadioFromGroup(i);e.checked?o?e!==o&&(this._deselectRadio(o),this.checkedRadios.set(i,e)):this.checkedRadios.set(i,e):e===o&&this.checkedRadios.set(i,null),this.updateTabOrder(i),this.updateFormValidity(i)}static get groups(){return this._groups||(this._groups=new Map),this._groups}static get checkedRadios(){return this._checkedRadios||(this._checkedRadios=new Map),this._checkedRadios}}function mB(){return z("div",{role:"radio",class:"ui5-radio-root","aria-checked":this.checked,"aria-disabled":this.effectiveAriaDisabled,"aria-describedby":this.effectiveAriaDescribedBy,"aria-label":this.ariaLabelText,tabindex:this.effectiveTabIndex,onClick:this._onclick,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onMouseDown:this._onmousedown,onMouseUp:this._onmouseup,onFocusOut:this._onfocusout,children:[z("div",{class:{"ui5-radio-inner":!0,"ui5-radio-inner--hoverable":!this.disabled&&!this.readonly&&zt()},children:[z("svg",{class:"ui5-radio-svg",focusable:"false","aria-hidden":"true",children:[f("circle",{part:"outer-ring",class:"ui5-radio-svg-outer",cx:"50%",cy:"50%",r:"50%"}),f("circle",{part:"inner-ring",class:"ui5-radio-svg-inner",cx:"50%",cy:"50%"})]}),f("input",{type:"radio",required:this.required,checked:this.checked,readonly:this.readonly,disabled:this.disabled,name:this.name,"data-sap-no-tab-ref":!0})]}),this.text&&f(Q_,{id:`${this._id}-label`,class:"ui5-radio-label",for:this._id,wrappingType:this.wrappingType,children:this.text}),this.hasValueState&&f("span",{id:`${this._id}-descr`,class:"ui5-hidden-text",children:this.valueStateText})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const vB=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{vertical-align:middle}:host(:not([hidden])){display:inline-block}:host{min-width:var(--_ui5_radio_button_min_width);max-width:100%;text-overflow:ellipsis;overflow:hidden;color:var(--_ui5_radio_button_color);border-radius:var(--_ui5_radio_button_border_radius)}:host(:not([disabled])) .ui5-radio-root{cursor:pointer}:host([checked]){color:var(--_ui5_radio_button_checked_fill)}:host([checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_inner_ring_color)}:host([checked]) .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_color)}:host([disabled]) .ui5-radio-root{color:var(--_ui5_radio_button_color);opacity:var(--sapContent_DisabledOpacity)}:host([disabled][checked]) .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_color)}:host(:not([disabled])[desktop]) .ui5-radio-root:focus:before,:host(:not([disabled])) .ui5-radio-root:focus-visible:before{content:"";display:var(--_ui5_radio_button_focus_outline);position:absolute;inset:var(--_ui5_radio_button_focus_dist);pointer-events:none;border:var(--_ui5_radio_button_border_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5_radio_button_border_radius)}:host(:not([value-state="Negative"]):not([value-state="Critical"]):not([value-state="Positive"]):not([value-state="Information"])) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_hover_color)}:host(:not([value-state="Negative"]):not([value-state="Critical"]):not([value-state="Positive"]):not([value-state="Information"])[checked]) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_checked_hover_color)}.ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer,:host([checked]) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5_radio_button_hover_fill)}:host([active][checked]:not([value-state]):not([disabled]):not([readonly])) .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_checked_hover_color)}:host([active]:not([checked]):not([value-state]):not([disabled]):not([readonly])) .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_active_color)}:host([text]) .ui5-radio-root{padding-inline-end:var(--_ui5_radio_button_border_width)}:host([text][desktop]) .ui5-radio-root:focus:before,:host([text]) .ui5-radio-root:focus-visible:before{inset-inline-end:0px}:host([text]) .ui5-radio-inner{padding:var(--_ui5_radio_button_outer_ring_padding_with_label)}:host([checked][readonly]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_read_only_inner_ring_color)}:host([readonly]) .ui5-radio-root .ui5-radio-svg-outer{fill:var(--sapField_ReadOnly_Background);stroke:var(--sapField_ReadOnly_BorderColor);stroke-dasharray:var(--_ui5_radio_button_read_only_border_type);stroke-width:var(--_ui5_radio_button_read_only_border_width)}:host([value-state="Negative"]) .ui5-radio-svg-outer,:host([value-state="Critical"]) .ui5-radio-svg-outer{stroke-width:var(--sapField_InvalidBorderWidth)}:host([value-state="Information"]) .ui5-radio-svg-outer{stroke-width:var(--_ui5_radio_button_information_border_width)}:host([value-state="Negative"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_checked_error_fill)}:host([value-state="Negative"]) .ui5-radio-svg-outer,:host([value-state="Negative"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_InvalidColor);fill:var(--sapField_InvalidBackground)}:host([value-state="Negative"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5_radio_button_hover_fill_error)}:host([value-state="Critical"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_checked_warning_fill)}:host([value-state="Critical"]) .ui5-radio-svg-outer,:host([value-state="Critical"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_WarningColor);fill:var(--sapField_WarningBackground)}:host([value-state="Critical"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5_radio_button_hover_fill_warning)}:host([value-state="Positive"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_checked_success_fill)}:host([value-state="Positive"]) .ui5-radio-svg-outer,:host([value-state="Positive"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_SuccessColor);fill:var(--sapField_SuccessBackground)}:host([value-state="Positive"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5_radio_button_hover_fill_success)}:host([value-state="Information"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_checked_information_fill)}:host([value-state="Information"]) .ui5-radio-svg-outer,:host([value-state="Information"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_InformationColor);fill:var(--sapField_InformationBackground)}:host([value-state="Information"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5_radio_button_hover_fill_information)}:host([value-state="Negative"]) .ui5-radio-root,:host([value-state="Critical"]) .ui5-radio-root,:host([value-state="Information"]) .ui5-radio-root{stroke-dasharray:var(--_ui5_radio_button_warning_error_border_dash)}.ui5-radio-root{height:auto;position:relative;display:inline-flex;flex-wrap:nowrap;outline:none;max-width:100%;box-sizing:border-box;border:var(--_ui5_radio_button_border);border-radius:var(--_ui5_radio_button_border_radius)}.ui5-radio-inner{display:flex;align-items:center;padding:var(--_ui5_radio_button_outer_ring_padding);flex-shrink:0;height:var(--_ui5_radio_button_inner_size);font-size:1rem;pointer-events:none;vertical-align:top}.ui5-radio-inner{outline:none}.ui5-radio-inner input{-webkit-appearance:none;visibility:hidden;width:0;left:0;position:absolute;font-size:inherit;margin:0}[ui5-label].ui5-radio-label{display:flex;align-items:center;padding-inline-end:var(--_ui5_radio_button_label_offset);padding-block:var(--_ui5_radio_button_label_side_padding);vertical-align:top;max-width:100%;pointer-events:none;color:var(--_ui5_radio_button_label_color);overflow-wrap:break-word}:host([wrapping-type="None"][text]) .ui5-radio-root{height:var(--_ui5_radio_button_height)}:host([wrapping-type="None"][text]) [ui5-label].ui5-radio-label{text-overflow:ellipsis;overflow:hidden}.ui5-radio-svg{height:var(--_ui5_radio_button_svg_size);width:var(--_ui5_radio_button_svg_size);overflow:visible;pointer-events:none}.ui5-radio-svg-outer{fill:var(--_ui5_radio_button_outer_ring_bg);stroke:currentColor;stroke-width:var(--_ui5_radio_button_outer_ring_width)}.ui5-radio-svg-inner{fill:none;r:var(--_ui5_radio_button_inner_ring_radius)}.ui5-radio-svg-outer,.ui5-radio-svg-inner{flex-shrink:0}:host(.ui5-li-singlesel-radiobtn) .ui5-radio-root .ui5-radio-inner .ui5-radio-svg-outer{fill:var(--sapList_Background)} -`;var Bt=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},Ar;let Op=!1,Dc,lt=Ar=class extends Ke{get formValidityMessage(){return Ar.i18nBundle.getText(Sk)}get formValidity(){return{valueMissing:this._groupRequired&&!this._groupChecked}}async formElementAnchor(){return this.getFocusDomRefAsync()}get formFormattedValue(){return this.checked?this.value||"on":null}constructor(){super(),this.disabled=!1,this.readonly=!1,this.required=!1,this.checked=!1,this.valueState="None",this.value="",this.wrappingType="Normal",this.active=!1,this._groupChecked=!1,this._groupRequired=!1,this._name="",this._checked=!1,this._deactivate=()=>{Dc&&(Dc.active=!1)},Op||(document.addEventListener("mouseup",this._deactivate),Op=!0)}onAfterRendering(){this.syncGroup()}onEnterDOM(){zt()&&this.setAttribute("desktop","")}onExitDOM(){this.syncGroup(!0)}syncGroup(e){const i=this._name,o=this.name,r=this._checked,n=this.checked;e&&qo.removeFromGroup(this,i),o!==i?(i&&qo.removeFromGroup(this,i),o&&qo.addToGroup(this,o)):o&&this.isConnected&&qo.enforceSingleSelection(this,o),this.name&&n!==r&&qo.updateTabOrder(this.name),this._name=this.name||"",this._checked=this.checked}_onclick(){return this.toggle()}_handleDown(e){const i=this.name;i&&(e.preventDefault(),qo.selectNextItem(this,i))}_handleUp(e){const i=this.name;i&&(e.preventDefault(),qo.selectPreviousItem(this,i))}_onkeydown(e){if(Fe(e))return this.active=!0,e.preventDefault();if(Ye(e))return this.active=!0,this.toggle();const i=this.effectiveDir==="rtl";(li(e)||!i&&Tt(e)||i&&vt(e))&&this._handleDown(e),(ai(e)||!i&&vt(e)||i&&Tt(e))&&this._handleUp(e)}_onkeyup(e){Fe(e)&&this.toggle(),this.active=!1}_onmousedown(){this.active=!0,Dc=this}_onmouseup(){this.active=!1}_onfocusout(){this.active=!1}toggle(){return this.canToggle()?this.name?(qo.selectItem(this,this.name),this):(this.checked=!this.checked,this.fireDecoratorEvent("change"),this):this}canToggle(){return!(this.disabled||this.readonly||this.checked)}get effectiveAriaDisabled(){return this.disabled||this.readonly?!0:void 0}get ariaLabelText(){return[Ga(this),this.text].filter(Boolean).join(" ")}get effectiveAriaDescribedBy(){return this.hasValueState?`${this._id}-descr`:void 0}get hasValueState(){return this.valueState!==Ne.None}get valueStateText(){switch(this.valueState){case Ne.Negative:return Ar.i18nBundle.getText(j_);case Ne.Critical:return Ar.i18nBundle.getText(W_);case Ne.Positive:return Ar.i18nBundle.getText(K_);case Ne.Information:return Ar.i18nBundle.getText(Rv);default:return""}}get effectiveTabIndex(){const e=this.getAttribute("tabindex");return this.disabled?-1:this.name?this._tabIndex:e?parseInt(e):0}};Bt([p({type:Boolean})],lt.prototype,"disabled",void 0);Bt([p({type:Boolean})],lt.prototype,"readonly",void 0);Bt([p({type:Boolean})],lt.prototype,"required",void 0);Bt([p({type:Boolean})],lt.prototype,"checked",void 0);Bt([p()],lt.prototype,"text",void 0);Bt([p()],lt.prototype,"valueState",void 0);Bt([p()],lt.prototype,"name",void 0);Bt([p()],lt.prototype,"value",void 0);Bt([p()],lt.prototype,"wrappingType",void 0);Bt([p()],lt.prototype,"accessibleName",void 0);Bt([p()],lt.prototype,"accessibleNameRef",void 0);Bt([p({type:Number})],lt.prototype,"_tabIndex",void 0);Bt([p({type:Boolean})],lt.prototype,"active",void 0);Bt([p({type:Boolean,noAttribute:!0})],lt.prototype,"_groupChecked",void 0);Bt([p({type:Boolean,noAttribute:!0})],lt.prototype,"_groupRequired",void 0);Bt([Xe("@ui5/webcomponents")],lt,"i18nBundle",void 0);lt=Ar=Bt([ce({tag:"ui5-radio-button",languageAware:!0,formAssociated:!0,renderer:we,template:mB,styles:vB}),j("change",{bubbles:!0})],lt);lt.define();const bB=lt;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const yB=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host{vertical-align:middle}:host(:not([hidden])){display:inline-block}:host([required]){vertical-align:middle}:host{overflow:hidden;max-width:100%;outline:none;border-radius:var(--_ui5_checkbox_border_radius);transition:var(--_ui5_checkbox_transition);cursor:pointer;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}:host([disabled]){cursor:default}:host([disabled]) .ui5-checkbox-root{opacity:var(--_ui5_checkbox_disabled_opacity)}:host([disabled]) .ui5-checkbox-inner{border-color:var(--_ui5_checkbox_inner_disabled_border_color)}:host([disabled]) .ui5-checkbox-label{color:var(--_ui5_checkbox_disabled_label_color)}:host([readonly]:not([value-state="Critical"]):not([value-state="Negative"])) .ui5-checkbox-inner{background:var(--sapField_ReadOnly_Background);border:var(--_ui5_checkbox_inner_readonly_border);color:var(--sapField_TextColor)}:host(:not([wrapping-type="None"])[text]) .ui5-checkbox-root{min-height:auto;box-sizing:border-box;align-items:flex-start;padding-top:var(--_ui5_checkbox_root_side_padding);padding-bottom:var(--_ui5_checkbox_root_side_padding)}:host(:not([wrapping-type="None"])[text]) .ui5-checkbox-root .ui5-checkbox-label{overflow-wrap:break-word;align-self:center}:host([desktop][text]:not([wrapping-type="None"])) .ui5-checkbox-root:focus:before,.ui5-checkbox-root[text]:focus-visible:before{inset-block:var(--_ui5_checkbox_wrapped_focus_inset_block)}:host([value-state="Negative"]) .ui5-checkbox-inner,:host([value-state="Negative"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_InvalidBackground);border:var(--_ui5_checkbox_inner_error_border);color:var(--sapField_InvalidColor)}:host([value-state="Negative"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_checkbox_inner_error_background_hover)}:host([value-state="Critical"]) .ui5-checkbox-inner,:host([value-state="Critical"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_WarningBackground);border:var(--_ui5_checkbox_inner_warning_border);color:var(--_ui5_checkbox_inner_warning_color)}:host([value-state="Critical"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_checkbox_inner_warning_background_hover)}:host([value-state="Information"]) .ui5-checkbox-inner,:host([value-state="Information"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_InformationBackground);border:var(--_ui5_checkbox_inner_information_border);color:var(--_ui5_checkbox_inner_information_color)}:host([value-state="Information"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_checkbox_inner_information_background_hover)}:host([value-state="Positive"]) .ui5-checkbox-inner,:host([value-state="Positive"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_SuccessBackground);border:var(--_ui5_checkbox_inner_success_border);color:var(--sapField_SuccessColor)}:host([value-state="Positive"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_checkbox_inner_success_background_hover)}:host([value-state="Critical"]) .ui5-checkbox-icon,:host([value-state="Critical"][indeterminate]) .ui5-checkbox-inner:after{color:var(--_ui5_checkbox_checkmark_warning_color)}.ui5-checkbox-root{position:relative;display:inline-flex;align-items:center;max-width:100%;min-height:var(--_ui5_checkbox_width_height);min-width:var(--_ui5_checkbox_width_height);padding:0 var(--_ui5_checkbox_wrapper_padding);outline:none;transition:var(--_ui5_checkbox_transition);border:var(--_ui5_checkbox_default_focus_border);border-radius:var(--_ui5_checkbox_border_radius);box-sizing:border-box}:host([desktop]) .ui5-checkbox-root:focus:before,.ui5-checkbox-root:focus-visible:before{display:var(--_ui5_checkbox_focus_outline_display);content:"";position:absolute;inset-inline:var(--_ui5_checkbox_focus_position);inset-block:var(--_ui5_checkbox_focus_position);border:var(--_ui5_checkbox_focus_outline);border-radius:var(--_ui5_checkbox_focus_border_radius)}:host([text]) .ui5-checkbox-root{padding-inline-end:var(--_ui5_checkbox_right_focus_distance)}:host([text]) .ui5-checkbox-root:focus:before,:host([text]) .ui5-checkbox-root:focus-visible:before{inset-inline-end:0}:host(:hover:not([disabled])){background:var(--_ui5_checkbox_outer_hover_background)}.ui5-checkbox--hoverable .ui5-checkbox-label:hover{color:var(--_ui5_checkbox_label_color)}:host(:not([active]):not([checked]):not([value-state])) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner,:host(:not([active]):not([checked])[value-state="None"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_checkbox_hover_background);border-color:var(--_ui5_checkbox_inner_hover_border_color)}:host(:not([active])[checked]:not([value-state])) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner,:host(:not([active])[checked][value-state="None"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_checkbox_hover_background);border-color:var(--_ui5_checkbox_inner_hover_checked_border_color)}:host([checked]:not([value-state])) .ui5-checkbox-inner,:host([checked][value-state="None"]) .ui5-checkbox-inner{border-color:var(--_ui5_checkbox_inner_selected_border_color)}:host([active]:not([checked]):not([value-state]):not([disabled])) .ui5-checkbox-inner,:host([active]:not([checked])[value-state="None"]:not([disabled])) .ui5-checkbox-inner{border-color:var(--_ui5_checkbox_inner_active_border_color);background-color:var(--_ui5_checkbox_active_background)}:host([active][checked]:not([value-state]):not([disabled])) .ui5-checkbox-inner,:host([active][checked][value-state="None"]:not([disabled])) .ui5-checkbox-inner{border-color:var(--_ui5_checkbox_inner_selected_border_color);background-color:var(--_ui5_checkbox_active_background)}.ui5-checkbox-inner{min-width:var(--_ui5_checkbox_inner_width_height);max-width:var(--_ui5_checkbox_inner_width_height);height:var(--_ui5_checkbox_inner_width_height);max-height:var(--_ui5_checkbox_inner_width_height);border:var(--_ui5_checkbox_inner_border);border-radius:var(--_ui5_checkbox_inner_border_radius);background:var(--_ui5_checkbox_inner_background);color:var(--_ui5_checkbox_checkmark_color);box-sizing:border-box;position:relative;cursor:inherit}:host([indeterminate][checked]) .ui5-checkbox-inner:after{content:"";background-color:currentColor;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:var(--_ui5_checkbox_partially_icon_size);height:var(--_ui5_checkbox_partially_icon_size)}:host input{-webkit-appearance:none;visibility:hidden;width:0;left:0;position:absolute;font-size:inherit}.ui5-checkbox-root .ui5-checkbox-label{margin-inline-start:var(--_ui5_checkbox_label_offset);cursor:inherit;text-overflow:ellipsis;overflow:hidden;pointer-events:none;color:var(--_ui5_checkbox_label_color)}.ui5-checkbox-icon{width:var(--_ui5_checkbox_icon_size);height:var(--_ui5_checkbox_icon_size);color:currentColor;cursor:inherit;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}:host([display-only]){cursor:default}:host([display-only]) .ui5-checkbox-display-only-icon-inner [ui5-icon]{color:var(--sapTextColor)}:host([display-only]) .ui5-checkbox-display-only-icon-inner{min-width:var(--_ui5_checkbox_inner_width_height);max-width:var(--_ui5_checkbox_inner_width_height);height:var(--_ui5_checkbox_inner_width_height);max-height:var(--_ui5_checkbox_inner_width_height);display:flex;align-items:center;justify-content:center} -`,wB="accept",CB="M14.827 2.942c.192.187.224.385.096.593l-7.11 10.18a.48.48 0 0 1-.383.28.524.524 0 0 1-.449-.156L2.146 8.625C2.039 8.52 1.99 8.406 2 8.28a.54.54 0 0 1 .177-.343l.8-.78c.256-.25.502-.25.737 0l3.074 2.997c.107.104.246.15.416.14.171-.01.3-.098.385-.265l5.604-7.775a.482.482 0 0 1 .368-.25.55.55 0 0 1 .432.125l.833.812Z",xB=!0,SB="0 0 16 16",kB="SAP-icons-v4",TB="@ui5/webcomponents-icons";ie(wB,{pathData:CB,ltr:xB,viewBox:SB,collection:kB,packageName:TB});const IB="accept",BB="M12.688 3.254a.75.75 0 0 1 1.124.992l-7.5 8.5A.75.75 0 0 1 5.15 12.7l-3-4a.75.75 0 0 1 1.2-.9l2.447 3.263 6.89-7.81Z",AB=!0,EB="0 0 16 16",RB="SAP-icons-v5",LB="@ui5/webcomponents-icons";ie(IB,{pathData:BB,ltr:AB,viewBox:EB,collection:RB,packageName:LB});const Gv="accept",PB="complete",OB="M12.998 10.002h1V14a.946.946 0 0 1-.297.719.987.987 0 0 1-.703.281H1a.973.973 0 0 1-.719-.281A.973.973 0 0 1 0 14V2.005c0-.271.094-.506.281-.703A.947.947 0 0 1 1 1.005h4v1H1V14h11.998v-3.998ZM14.872.786c.146.146.167.313.063.5l-5.78 8.497a.39.39 0 0 1-.313.219.42.42 0 0 1-.375-.125L4.562 5.535c-.188-.188-.188-.375 0-.563l.656-.656c.208-.208.406-.208.593 0l2.5 2.5a.4.4 0 0 0 .36.124c.135-.02.234-.104.296-.25L13.53.224a.38.38 0 0 1 .297-.219.4.4 0 0 1 .359.125l.687.656Z",DB=!0,zB="0 0 16 16",NB="SAP-icons-v4",MB="@ui5/webcomponents-icons";ie(PB,{pathData:OB,ltr:DB,viewBox:zB,collection:NB,packageName:MB});const $B="complete",FB="M10.25 1a.75.75 0 0 1 0 1.5h-6.5c-.69 0-1.25.56-1.25 1.25v8.5c0 .69.56 1.25 1.25 1.25h8.5c.69 0 1.25-.56 1.25-1.25V6.754a.75.75 0 0 1 1.5 0v5.496A2.75 2.75 0 0 1 12.25 15h-8.5A2.75 2.75 0 0 1 1 12.25v-8.5A2.75 2.75 0 0 1 3.75 1h6.5Zm4.435-.741a.75.75 0 0 1 1.127.99L8.704 9.335a.95.95 0 0 1-1.385.045L4.97 7.03a.75.75 0 1 1 1.06-1.06l1.934 1.933L14.684.26Z",HB=!0,UB="0 0 16 16",VB="SAP-icons-v5",qB="@ui5/webcomponents-icons";ie($B,{pathData:FB,ltr:HB,viewBox:UB,collection:VB,packageName:qB});const GB="complete",jB="border",WB="M14 1c.27 0 .505.094.703.281A.947.947 0 0 1 15 2v12a.947.947 0 0 1-.297.719A.988.988 0 0 1 14 15H2a.973.973 0 0 1-.719-.281A.974.974 0 0 1 1 14V2c0-.292.094-.531.281-.719A.973.973 0 0 1 2 1h12Zm0 1H2v12h12V2Z",KB=!1,ZB="0 0 16 16",XB="SAP-icons-v4",YB="@ui5/webcomponents-icons";ie(jB,{pathData:WB,ltr:KB,viewBox:ZB,collection:XB,packageName:YB});const JB="border",QB="M12.25 1A2.75 2.75 0 0 1 15 3.75v8.5A2.75 2.75 0 0 1 12.25 15h-8.5A2.75 2.75 0 0 1 1 12.25v-8.5A2.75 2.75 0 0 1 3.75 1h8.5Zm-8.5 1.5c-.69 0-1.25.56-1.25 1.25v8.5c0 .69.56 1.25 1.25 1.25h8.5c.69 0 1.25-.56 1.25-1.25v-8.5c0-.69-.56-1.25-1.25-1.25h-8.5Z",eA=!1,tA="0 0 16 16",iA="SAP-icons-v5",oA="@ui5/webcomponents-icons";ie(JB,{pathData:QB,ltr:eA,viewBox:tA,collection:iA,packageName:oA});const rA="border",nA="tri-state",aA="M14 1c.27 0 .505.099.703.297A.961.961 0 0 1 15 2v12a.947.947 0 0 1-.297.719A.988.988 0 0 1 14 15H2a.973.973 0 0 1-.719-.281A.974.974 0 0 1 1 14V2c0-.27.094-.505.281-.703A.947.947 0 0 1 2 1h12Zm0 1H2v12h12V2Zm-9 8.781v-5.5c0-.166.083-.25.25-.25h5.5c.167 0 .25.084.25.25v5.5c0 .167-.083.25-.25.25h-5.5c-.167 0-.25-.083-.25-.25Z",sA=!1,lA="0 0 16 16",cA="SAP-icons-v4",uA="@ui5/webcomponents-icons";ie(nA,{pathData:aA,ltr:sA,viewBox:lA,collection:cA,packageName:uA});const _A="tri-state",dA="M12.25 1A2.75 2.75 0 0 1 15 3.75v8.5A2.75 2.75 0 0 1 12.25 15h-8.5A2.75 2.75 0 0 1 1 12.25v-8.5A2.75 2.75 0 0 1 3.75 1h8.5Zm-8.5 1.5c-.69 0-1.25.56-1.25 1.25v8.5c0 .69.56 1.25 1.25 1.25h8.5c.69 0 1.25-.56 1.25-1.25v-8.5c0-.69-.56-1.25-1.25-1.25h-8.5ZM9.25 5c.966 0 1.75.784 1.75 1.75v2.5A1.75 1.75 0 0 1 9.25 11h-2.5A1.75 1.75 0 0 1 5 9.25v-2.5C5 5.784 5.784 5 6.75 5h2.5Z",hA=!1,pA="0 0 16 16",fA="SAP-icons-v5",gA="@ui5/webcomponents-icons";ie(_A,{pathData:dA,ltr:hA,viewBox:pA,collection:fA,packageName:gA});const mA="tri-state";function vA(){return z("div",{class:{"ui5-checkbox-root":!0,"ui5-checkbox--hoverable":!this.disabled&&!this.readonly&&zt()},role:this.accInfo.role,part:"root","aria-checked":this.accInfo.ariaChecked,"aria-readonly":this.accInfo.ariaReadonly,"aria-disabled":this.accInfo.ariaDisabled,"aria-label":this.ariaLabelText,"aria-labelledby":this.ariaLabelledBy,"aria-describedby":this.ariaDescribedBy,"aria-required":this.accInfo.ariaRequired,tabindex:this.accInfo.tabindex,onMouseDown:this._onmousedown,onMouseUp:this._onmouseup,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._onclick,onFocusOut:this._onfocusout,children:[this.isDisplayOnly?f("div",{class:"ui5-checkbox-display-only-icon-inner",children:f(Pe,{"aria-hidden":"true",name:bA.call(this),class:"ui5-checkbox-display-only-icon",part:"icon"})}):f("div",{id:`${this._id}-CbBg`,class:"ui5-checkbox-inner",children:this.isCompletelyChecked&&f(Pe,{"aria-hidden":"true",name:Gv,class:"ui5-checkbox-icon",part:"icon"})}),this.accInfo.role==="checkbox"&&f("input",{id:`${this._id}-CB`,type:"checkbox",checked:this.checked,value:this.value,readonly:this.readonly,disabled:this.disabled,tabindex:-1,"aria-hidden":"true","data-sap-no-tab-ref":!0}),this.text&&f(Q_,{id:`${this._id}-label`,part:"label",class:"ui5-checkbox-label",wrappingType:this.wrappingType,required:this.required,children:this.text}),this.hasValueState&&f("span",{id:`${this._id}-descr`,class:"ui5-hidden-text",children:this.valueStateText})]})}function bA(){return this.isCompletelyChecked?GB:this.checked&&this.indeterminate?mA:rA}var At=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},go;let Dp=!1,zc,ct=go=class extends Ke{get formValidityMessage(){return go.i18nBundle.getText(xk)}get formValidity(){return{valueMissing:this.required&&!this.checked}}async formElementAnchor(){return this.getFocusDomRefAsync()}get formFormattedValue(){return this.checked?this.value:null}constructor(){super(),this.disabled=!1,this.readonly=!1,this.displayOnly=!1,this.required=!1,this.indeterminate=!1,this.checked=!1,this.valueState="None",this.wrappingType="Normal",this.value="on",this.active=!1,this._deactivate=()=>{zc&&(zc.active=!1)},Dp||(document.addEventListener("mouseup",this._deactivate),Dp=!0)}onEnterDOM(){zt()&&this.setAttribute("desktop","")}_onclick(){this.toggle()}_onmousedown(){this.readonly||this.disabled||(this.active=!0,zc=this)}_onmouseup(){this.active=!1}_onfocusout(){this.active=!1}_onkeydown(e){Fe(e)&&e.preventDefault(),!(this.readonly||this.disabled)&&(Ye(e)&&this.toggle(),this.active=!0)}_onkeyup(e){Fe(e)&&this.toggle(),this.active=!1}toggle(){if(this.canToggle()){const e={checked:this.checked,indeterminate:this.indeterminate};this.indeterminate?(this.indeterminate=!1,this.checked=!0):this.checked=!this.checked;const i=!this.fireDecoratorEvent("change"),o=!this.fireDecoratorEvent("value-changed");(i||o)&&(this.checked=e.checked,this.indeterminate=e.indeterminate)}return this}canToggle(){return!(this.disabled||this.readonly||this.displayOnly)}valueStateTextMappings(){return{Negative:go.i18nBundle.getText(j_),Critical:go.i18nBundle.getText(W_),Positive:go.i18nBundle.getText(K_)}}get ariaLabelText(){return Ga(this)||sv(this)}get classes(){return{main:{"ui5-checkbox--hoverable":!this.disabled&&!this.readonly&&zt()}}}get ariaReadonly(){return this.readonly||this.displayOnly?"true":void 0}get effectiveAriaDisabled(){return this.disabled?"true":void 0}get effectiveAriaChecked(){return this.indeterminate&&this.checked?"mixed":this.checked}get ariaLabelledBy(){if(!this.ariaLabelText)return this.text?`${this._id}-label`:void 0}get ariaDescribedBy(){return this.hasValueState?`${this._id}-descr`:void 0}get hasValueState(){return this.valueState!==Ne.None}get valueStateText(){if(this.valueState!==Ne.None&&this.valueState!==Ne.Information)return this.valueStateTextMappings()[this.valueState]}get effectiveTabIndex(){const e=this.getAttribute("tabindex");if(this.tabbable)return e?parseInt(e):0}get tabbable(){return!this.disabled&&!this.displayOnly}get isCompletelyChecked(){return this.checked&&!this.indeterminate}get isDisplayOnly(){return this.displayOnly&&!this.disabled}get accessibilityInfo(){const e=this.checked?go.i18nBundle.getText(kk):go.i18nBundle.getText(Tk),i=[this.text||"",e].filter(Boolean).join(" ");return{role:this.accInfo.role,type:go.i18nBundle.getText(Ik),description:i,label:this.ariaLabelText,disabled:!!this.accInfo.ariaDisabled,readonly:!!this.accInfo.ariaReadonly,required:this.accInfo.ariaRequired}}get accInfo(){return{role:this._accInfo?this._accInfo.role:"checkbox",ariaChecked:this._accInfo?this._accInfo.ariaChecked:this.effectiveAriaChecked,ariaReadonly:this._accInfo?this._accInfo.ariaReadonly:this.ariaReadonly,ariaDisabled:this._accInfo?this._accInfo.ariaDisabled:this.effectiveAriaDisabled,ariaRequired:this._accInfo?this._accInfo.ariaRequired:this.required,tabindex:this._accInfo?this._accInfo.tabindex:this.effectiveTabIndex}}};At([p()],ct.prototype,"accessibleNameRef",void 0);At([p()],ct.prototype,"accessibleName",void 0);At([p({type:Boolean})],ct.prototype,"disabled",void 0);At([p({type:Boolean})],ct.prototype,"readonly",void 0);At([p({type:Boolean})],ct.prototype,"displayOnly",void 0);At([p({type:Boolean})],ct.prototype,"required",void 0);At([p({type:Boolean})],ct.prototype,"indeterminate",void 0);At([p({type:Boolean})],ct.prototype,"checked",void 0);At([p()],ct.prototype,"text",void 0);At([p()],ct.prototype,"valueState",void 0);At([p()],ct.prototype,"wrappingType",void 0);At([p()],ct.prototype,"name",void 0);At([p()],ct.prototype,"value",void 0);At([p({type:Boolean})],ct.prototype,"active",void 0);At([p({type:Object})],ct.prototype,"_accInfo",void 0);At([Xe("@ui5/webcomponents")],ct,"i18nBundle",void 0);ct=go=At([ce({tag:"ui5-checkbox",languageAware:!0,formAssociated:!0,renderer:we,template:vA,styles:yB}),j("change",{bubbles:!0,cancelable:!0}),j("value-changed",{bubbles:!0,cancelable:!0})],ct);ct.define();const yA=ct,wA={listItemPreContent:CA,listItemContent:xA,imageBegin:SA,iconBegin:kA,iconEnd:TA,selectionElement:jv};function td(t){const e={...wA,...t};return z("li",{part:"native-li","data-sap-focus-ref":!0,tabindex:this._effectiveTabIndex,class:this.classes.main,onFocusIn:this._onfocusin,onFocusOut:this._onfocusout,onKeyUp:this._onkeyup,onKeyDown:this._onkeydown,onMouseUp:this._onmouseup,onMouseDown:this._onmousedown,onTouchStart:this._onmousedown,onTouchEnd:this._ontouchend,onClick:this._onclick,draggable:this.movable,onDragStart:this._ondragstart,onDragEnd:this._ondragend,role:this._accInfo.role,title:this._accInfo.tooltip,"aria-expanded":this._accInfo.ariaExpanded,"aria-level":this._accInfo.ariaLevel,"aria-haspopup":this._accInfo.ariaHaspopup,"aria-posinset":this._accInfo.posinset,"aria-setsize":this._accInfo.setsize,"aria-describedby":`${this._id}-invisibleText-describedby`,"aria-labelledby":this._accessibleNameRef,"aria-disabled":this._ariaDisabled,"aria-selected":this._accInfo.ariaSelected,"aria-checked":this._accInfo.ariaChecked,"aria-owns":this._accInfo.ariaOwns,"aria-keyshortcuts":this._accInfo.ariaKeyShortcuts,children:[e.listItemPreContent.call(this),this.placeSelectionElementBefore&&jv.call(this),this._hasHighlightColor&&f("div",{class:"ui5-li-highlight"}),z("div",{part:"content",id:`${this._id}-content`,class:"ui5-li-content",children:[e.imageBegin.call(this),e.iconBegin.call(this),e.listItemContent.call(this)]}),e.iconEnd.call(this),this.typeDetail&&f("div",{class:"ui5-li-detailbtn",children:f(J,{part:"detail-button",design:"Transparent",onClick:this.onDetailClick,icon:JI})}),this.typeNavigation&&f(Pe,{name:ed}),this.navigated&&f("div",{class:"ui5-li-navigated"}),this.placeSelectionElementAfter&&e.selectionElement.call(this),f("span",{id:`${this._id}-invisibleText`,class:"ui5-hidden-text",children:this.ariaLabelledByText}),f("span",{id:`${this._id}-invisibleText-describedby`,class:"ui5-hidden-text",children:this._accInfo.ariaSelectedText})]})}function CA(){}function xA(){}function SA(){}function kA(){}function TA(){}function jv(){switch(!0){case this.modeSingleSelect:return f(bB,{part:"radio",disabled:this.isInactive,accessibleName:this._accInfo.ariaLabelRadioButton,tabindex:-1,id:`${this._id}-singleSelectionElement`,class:"ui5-li-singlesel-radiobtn",checked:this.selected,onChange:this.onSingleSelectionComponentPress});case this.modeMultiple:return f(yA,{part:"checkbox",disabled:this.isInactive,indeterminate:this.indeterminate,tabindex:-1,id:`${this._id}-multiSelectionElement`,class:"ui5-li-multisel-cb",checked:this.selected,accessibleName:this._accInfo.ariaLabel,onChange:this.onMultiSelectionComponentPress});case this.modeDelete:return f("div",{class:"ui5-li-deletebtn",children:this.hasDeleteButtonSlot?f("slot",{name:"deleteButton"}):f(J,{part:"delete-button",tabindex:-1,"data-sap-no-tab-ref":!0,id:`${this._id}-deleteSelectionElement`,design:"Transparent",icon:X_,onClick:this.onDelete,tooltip:this.deleteText})})}}const IA={imageBegin:LA,iconBegin:PA,iconEnd:OA,listItemContent:AA};function BA(t){const e={...IA,...t};return td.call(this,e)}function AA(){return z(de,{children:[z("div",{class:"ui5-li-text-wrapper",children:[EA.call(this),RA.call(this),!this.typeActive&&f("span",{class:"ui5-hidden-text",children:this.type})]}),!this.description&&Wu.call(this)]})}function EA(){var t;return this.wrappingType===Gl.Normal?(t=this.expandableTextTemplate)==null?void 0:t.call(this,{className:"ui5-li-title",text:this._textContent,maxCharacters:this._maxCharacters,part:"title"}):f("span",{part:"title",class:"ui5-li-title",children:this.text?this.text:f("slot",{})})}function RA(){var t;return this.description?this.wrappingType===Gl.Normal?z("div",{class:"ui5-li-description-info-wrapper",children:[(t=this.expandableTextTemplate)==null?void 0:t.call(this,{className:"ui5-li-desc",text:this.description,maxCharacters:this._maxCharacters,part:"description"}),Wu.call(this)]}):z("div",{class:"ui5-li-description-info-wrapper",children:[f("span",{part:"description",class:"ui5-li-desc",children:this.description}),Wu.call(this)]}):null}function Wu(){return this.additionalText?f("span",{part:"additional-text",class:"ui5-li-additional-text",children:this.additionalText}):null}function LA(){if(this.hasImage)return f("div",{class:"ui5-li-image",children:f("slot",{name:"image"})})}function PA(){if(this.displayIconBegin)return f(Pe,{part:"icon",name:this.icon,class:"ui5-li-icon",mode:"Decorative"})}function OA(){if(this.displayIconEnd)return f(Pe,{part:"icon",name:this.icon,class:"ui5-li-icon",mode:"Decorative"})}var Zt=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},Ls;const DA=100,zA=300;let yt=Ls=class extends Za{constructor(){super(...arguments),this.iconEnd=!1,this.additionalTextState="None",this.movable=!1,this.wrappingType="None",this.hasTitle=!1,this._hasImage=!1}onBeforeRendering(){super.onBeforeRendering(),this.hasTitle=!!(this.text||this.textContent),this._hasImage=this.hasImage,this.wrappingType==="Normal"&&(Ls.ExpandableTextTemplate?this.expandableTextTemplate=Ls.ExpandableTextTemplate:m(()=>import("./ListItemStandardExpandableTextTemplate-C2dmZvS-.js"),__vite__mapDeps([79,14])).then(e=>{this.expandableTextTemplate=e.default}))}get _textContent(){return this.text||this.textContent||""}get _maxCharacters(){return this.mediaRange==="S"?DA:zA}get displayIconBegin(){return!!(this.icon&&!this.iconEnd)}get displayIconEnd(){return!!(this.icon&&this.iconEnd)}get hasImage(){return!!this.image.length}};Zt([p()],yt.prototype,"text",void 0);Zt([p()],yt.prototype,"description",void 0);Zt([p()],yt.prototype,"icon",void 0);Zt([p({type:Boolean})],yt.prototype,"iconEnd",void 0);Zt([p()],yt.prototype,"additionalText",void 0);Zt([p()],yt.prototype,"additionalTextState",void 0);Zt([p({type:Boolean})],yt.prototype,"movable",void 0);Zt([p()],yt.prototype,"accessibleName",void 0);Zt([p()],yt.prototype,"wrappingType",void 0);Zt([p({type:Boolean})],yt.prototype,"hasTitle",void 0);Zt([p({type:Boolean})],yt.prototype,"_hasImage",void 0);Zt([p({noAttribute:!0})],yt.prototype,"expandableTextTemplate",void 0);Zt([ae({type:Node,default:!0})],yt.prototype,"content",void 0);Zt([ae()],yt.prototype,"image",void 0);yt=Ls=Zt([ce({tag:"ui5-li",renderer:we,template:BA})],yt);yt.define();const id=yt,NA=["open"],MA=["value"],$A=["icon","additional-text","data-key"],FA={key:0,class:"palette-empty"},HA=zo({__name:"CommandPalette",props:{open:{type:Boolean}},emits:["close"],setup(t,{emit:e}){const i=t,o=e,r=Dg(),n=_e(""),a=_e(0),s=_e(null),l=Qe(()=>{const h=[];for(const g of ys)for(const y of g.items)h.push({key:y.key,title:y.title,icon:y.icon||g.icon,group:g.title,route:y.route||y.key,external:y.external});for(const g of hy()){if(g.category==="global")continue;const y=[g.ctrl?"Ctrl":"",g.shift?"Shift":"",g.alt?"Alt":""].filter(Boolean).join("+");h.push({key:`shortcut-${g.description}`,title:g.description,icon:"keyboard-and-mouse",group:"Shortcuts",shortcut:y?`${y}+${g.key.toUpperCase()}`:g.key.toUpperCase()})}return h}),c=Qe(()=>{const h=n.value.toLowerCase().trim();return h?l.value.filter(g=>g.title.toLowerCase().includes(h)||g.group.toLowerCase().includes(h)):l.value});Yi(()=>i.open,h=>{h&&(n.value="",a.value=0,bl(()=>{const g=s.value;g&&g.focus()}))}),Yi(c,()=>{a.value=0});function u(h){o("close"),h.external?window.open(h.external,"_blank"):h.route&&r.push({name:h.route})}function _(h){if(h.key==="ArrowDown")h.preventDefault(),a.value=Math.min(a.value+1,c.value.length-1);else if(h.key==="ArrowUp")h.preventDefault(),a.value=Math.max(a.value-1,0);else if(h.key==="Enter"){h.preventDefault();const g=c.value[a.value];g&&u(g)}}function d(h){var C,S;const g=h.detail,y=(S=(C=g==null?void 0:g.item)==null?void 0:C.dataset)==null?void 0:S.key;if(y){const x=c.value.find(A=>A.key===y);x&&u(x)}}return(h,g)=>(re(),se("ui5-dialog",{"header-text":"Command Palette",open:t.open,onClose:g[1]||(g[1]=y=>o("close")),class:"command-palette-dialog"},[$("div",{class:"palette-content",onKeydown:_},[$("ui5-input",{ref_key:"inputRef",ref:s,value:n.value,placeholder:"Type to search commands...","show-clear-icon":"",class:"palette-search",onInput:g[0]||(g[0]=y=>n.value=y.target.value)},null,40,MA),$("ui5-list",{class:"palette-list",onItemClick:d},[(re(!0),se(Ve,null,nr(c.value.slice(0,20),(y,C)=>(re(),se("ui5-li",{key:y.key,icon:y.icon,"additional-text":y.shortcut||y.group,"data-key":y.key,class:hi({"palette-selected":C===a.value})},Lt(y.title),11,$A))),128))],32),c.value.length===0?(re(),se("div",FA," No matching commands ")):ri("",!0)],32)],40,NA))}}),Xa=(t,e)=>{const i=t.__vccOpts||t;for(const[o,r]of e)i[o]=r;return i},UA=Xa(HA,[["__scopeId","data-v-df9f6f9c"]]),VA=["tooltip"],qA={key:0,class:"badge"},GA=["open"],jA={class:"notification-header"},WA={class:"notification-actions"},KA={key:0,class:"notification-list"},ZA=["name"],XA={class:"notification-content"},YA={class:"notification-item-title"},JA={key:0,class:"notification-message"},QA={class:"notification-time"},eE=["onClick"],tE={key:1,class:"notification-empty"},iE=zo({__name:"NotificationCenter",setup(t){const{notifications:e,unreadCount:i,dismiss:o,markAllRead:r,clearAll:n}=vm(),a=_e(!1),s=_e(null);function l(_){const d=_.target;s.value&&(s.value.opener=d,a.value=!a.value),a.value&&r()}function c(_){switch(_){case"success":return"message-success";case"error":return"message-error";case"warning":return"message-warning";default:return"message-information"}}function u(_){const d=Date.now()-_;return d<6e4?"just now":d<36e5?`${Math.floor(d/6e4)}m ago`:d<864e5?`${Math.floor(d/36e5)}h ago`:new Date(_).toLocaleDateString()}return(_,d)=>(re(),se(Ve,null,[$("ui5-button",{icon:"bell",tooltip:`Notifications (${rt(i)} unread)`,design:"Transparent",id:"notificationBtn",onClick:l,class:"notification-btn"},[rt(i)>0?(re(),se("span",qA,Lt(rt(i)>9?"9+":rt(i)),1)):ri("",!0)],8,VA),$("ui5-popover",{ref_key:"popoverRef",ref:s,opener:"notificationBtn",open:a.value,placement:"Bottom",class:"notification-popover",onClose:d[1]||(d[1]=h=>a.value=!1)},[$("div",jA,[d[2]||(d[2]=$("span",{class:"notification-title"},"Notifications",-1)),$("div",WA,[$("ui5-button",{design:"Transparent",icon:"decline",tooltip:"Clear All",onClick:d[0]||(d[0]=(...h)=>rt(n)&&rt(n)(...h))})])]),rt(e).length>0?(re(),se("div",KA,[(re(!0),se(Ve,null,nr(rt(e).slice(0,30),h=>(re(),se("div",{key:h.id,class:hi(["notification-item",[`type-${h.type}`,{unread:!h.read}]])},[$("ui5-icon",{name:c(h.type),class:hi(["notification-icon",`icon-${h.type}`])},null,10,ZA),$("div",XA,[$("span",YA,Lt(h.title),1),h.message?(re(),se("span",JA,Lt(h.message),1)):ri("",!0),$("span",QA,Lt(u(h.timestamp)),1)]),$("ui5-button",{design:"Transparent",icon:"decline",tooltip:"Dismiss",class:"dismiss-btn",onClick:Cg(g=>rt(o)(h.id),["stop"])},null,8,eE)],2))),128))])):(re(),se("div",tE," No notifications "))],40,GA)],64))}}),oE=Xa(iE,[["__scopeId","data-v-3dc00ad0"]]);function rE(){return z("div",{class:"ui5-bar-root","aria-label":this.accInfo.label,role:this.accInfo.role,part:"bar",children:[f("div",{class:"ui5-bar-content-container ui5-bar-startcontent-container",part:"startContent",children:f("slot",{name:"startContent"})}),f("div",{class:"ui5-bar-content-container ui5-bar-midcontent-container",part:"midContent",children:f("slot",{})}),f("div",{class:"ui5-bar-content-container ui5-bar-endcontent-container",part:"endContent",children:f("slot",{name:"endContent"})})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const nE=`:host{background-color:var(--sapPageHeader_Background);height:var(--_ui5_bar_base_height);width:100%;box-shadow:var(--sapContent_HeaderShadow);display:block}.ui5-bar-root{display:flex;align-items:center;justify-content:space-between;height:100%;width:100%;background-color:inherit;box-shadow:inherit;border-radius:inherit;min-width:0;overflow:hidden}.ui5-bar-root .ui5-bar-startcontent-container,.ui5-bar-root .ui5-bar-endcontent-container,.ui5-bar-root .ui5-bar-midcontent-container{display:flex;align-items:center}.ui5-bar-root .ui5-bar-startcontent-container{flex:0 1 auto}.ui5-bar-root .ui5-bar-endcontent-container{flex:0 0 auto}.ui5-bar-root .ui5-bar-midcontent-container{justify-content:center;flex:1 1 auto;padding:0 var(--_ui5_bar-mid-container-padding-start-end);min-width:0;overflow:hidden}.ui5-bar-root .ui5-bar-startcontent-container{padding-inline-start:var(--_ui5_bar-start-container-padding-start)}.ui5-bar-root .ui5-bar-content-container{min-width:calc(30% - calc(var(--_ui5_bar-start-container-padding-start) + var(--_ui5_bar-end-container-padding-end) + (2*var(--_ui5_bar-mid-container-padding-start-end))))}.ui5-bar-root.ui5-bar-root-shrinked .ui5-bar-content-container{min-width:0px;overflow:hidden;height:100%}.ui5-bar-root .ui5-bar-endcontent-container{padding-inline-end:var(--_ui5_bar-end-container-padding-end)}:host([design="Footer"]){background-color:var(--sapPageFooter_Background);border-top:.0625rem solid var(--sapPageFooter_BorderColor);box-shadow:none}:host([design="Subheader"]){height:var(--_ui5_bar_subheader_height);margin-top:var(--_ui5_bar_subheader_margin-top)}:host([design="FloatingFooter"]){border-radius:var(--sapElement_BorderCornerRadius);background-color:var(--sapPageFooter_Background);box-shadow:var(--sapContent_Shadow1);border:none}::slotted(*:not([hidden])){margin:0 .25rem;display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box} -`;var gr=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};let io=class extends Ke{get accInfo(){return{label:this.ariaLabelText,role:this.effectiveRole}}get ariaLabelText(){return this.accessibleName||this.accessibleNameRef?Ga(this):this.design}constructor(){super(),this.design="Header",this.accessibleRole="Toolbar",this._handleResizeBound=this.handleResize.bind(this)}handleResize(){const e=this.getDomRef(),i=e.offsetWidth,o=Array.from(e.children).some(r=>r.offsetWidth>i/3);e.classList.toggle("ui5-bar-root-shrinked",o)}onEnterDOM(){Qt.register(this,this._handleResizeBound),this.getDomRef().querySelectorAll(".ui5-bar-content-container").forEach(e=>{Qt.register(e,this._handleResizeBound)},this)}onExitDOM(){Qt.deregister(this,this._handleResizeBound),this.getDomRef().querySelectorAll(".ui5-bar-content-container").forEach(e=>{Qt.deregister(e,this._handleResizeBound)},this)}get effectiveRole(){return this.accessibleRole.toLowerCase()==="toolbar"?"toolbar":void 0}};gr([p()],io.prototype,"design",void 0);gr([p()],io.prototype,"accessibleRole",void 0);gr([p()],io.prototype,"accessibleName",void 0);gr([p()],io.prototype,"accessibleNameRef",void 0);gr([ae()],io.prototype,"startContent",void 0);gr([ae({type:HTMLElement,default:!0})],io.prototype,"middleContent",void 0);gr([ae()],io.prototype,"endContent",void 0);io=gr([ce({tag:"ui5-bar",fastNavigation:!0,renderer:we,styles:nE,template:rE})],io);io.define();const aE={class:"whats-new-wrapper"},sE={key:0,class:"new-badge"},lE=["open"],cE={class:"dialog-content"},uE={class:"version-list"},_E=["onClick"],dE={class:"version-number"},hE={class:"version-date"},pE={class:"version-detail"},fE={class:"detail-header"},gE={class:"detail-date"},mE={key:0,class:"category-section"},vE={class:"category-list"},bE={key:1,class:"no-selection"},zp="hana-cli-last-seen-version",yE=zo({__name:"WhatsNew",setup(t){const e=_e(!1),i=_e([]),o=_e(0),r=_e(!1),n=_e(localStorage.getItem(zp)||""),a=Qe(()=>i.value.length===0?!1:i.value[0].version!==n.value),s=Qe(()=>i.value[o.value]||null),l=[{key:"Added",label:"Added",cssClass:"badge-added"},{key:"Changed",label:"Changed",cssClass:"badge-changed"},{key:"Fixed",label:"Fixed",cssClass:"badge-fixed"},{key:"Removed",label:"Removed",cssClass:"badge-removed"}];async function c(){if(!r.value)try{const h=await fetch("/api/changelog");i.value=await h.json(),r.value=!0}catch{i.value=[]}e.value=!0,i.value.length>0&&(n.value=i.value[0].version,localStorage.setItem(zp,i.value[0].version))}function u(){e.value=!1}function _(h){o.value=h}function d(h){try{return new Date(h).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"})}catch{return h}}return(h,g)=>(re(),se("div",aE,[$("ui5-button",{design:"Transparent",icon:"newspaper",tooltip:"What's New",onClick:c},[a.value?(re(),se("span",sE)):ri("",!0)]),$("ui5-dialog",{open:e.value,"header-text":"What's New",onClose:u,class:"whats-new-dialog"},[$("div",cE,[$("div",uE,[(re(!0),se(Ve,null,nr(i.value,(y,C)=>(re(),se("div",{key:y.version+y.date,class:hi(["version-item",{selected:C===o.value}]),onClick:S=>_(C)},[$("span",dE,Lt(y.version),1),$("span",hE,Lt(d(y.date)),1)],10,_E))),128))]),$("div",pE,[s.value?(re(),se(Ve,{key:0},[$("h3",fE,Lt(s.value.version),1),$("p",gE,Lt(d(s.value.date)),1),(re(),se(Ve,null,nr(l,y=>{var C;return re(),se(Ve,{key:y.key},[(C=s.value[y.key])!=null&&C.length?(re(),se("div",mE,[$("span",{class:hi(["category-badge",y.cssClass])},Lt(y.label),3),$("ul",vE,[(re(!0),se(Ve,null,nr(s.value[y.key],(S,x)=>(re(),se("li",{key:x},Lt(S),1))),128))])])):ri("",!0)],64)}),64))],64)):(re(),se("div",bE,"Select a version to view details"))])]),$("ui5-bar",{slot:"footer",design:"Footer"},[$("ui5-button",{slot:"endContent",design:"Emphasized",onClick:u},"Close")])],40,lE)]))}}),wE=Xa(yE,[["__scopeId","data-v-8d24c42d"]]),Nc=new Map,Mc=new Map,$c=_e(!1),Fc=_e(!1);function CE(t){const e=new Map;for(const i of t.split(` -`)){const o=i.trim();if(!o||o.startsWith("#"))continue;const r=o.indexOf("=");r!==-1&&e.set(o.slice(0,r).trim(),o.slice(r+1).trim())}return e}function xE(t){const e=[],i=t.get("appDescription")||"";i&&e.push({key:"_about",label:"About This Screen",helpText:i});for(const[o,r]of t){if(!o.startsWith("help."))continue;const n=o.slice(5),a=t.get(n)||n;e.push({key:n,label:a,helpText:r})}return e}function SE(){const t=_e([]),e=_e("");async function i(o){if(!o){t.value=[],e.value="";return}if(Nc.has(o))t.value=Nc.get(o);else{$c.value=!0;try{const r=await fetch(`/i18n/${o}.properties`);if(r.ok){const n=await r.text(),a=CE(n),s=xE(a);Nc.set(o,s),t.value=s}else t.value=[]}catch{t.value=[]}finally{$c.value=!1}}if(Mc.has(o))e.value=Mc.get(o);else{Fc.value=!0;try{const r=await fetch(`/api/docs/${o}`);if(r.ok){const n=await r.text();Mc.set(o,n),e.value=n}else e.value=""}catch{e.value=""}finally{Fc.value=!1}}}return{topics:t,documentation:e,loading:$c,docsLoading:Fc,loadTopics:i}}function od(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Zr=od();function Wv(t){Zr=t}var zr={exec:()=>null};function be(t,e=""){let i=typeof t=="string"?t:t.source,o={replace:(r,n)=>{let a=typeof n=="string"?n:n.source;return a=a.replace(Dt.caret,"$1"),i=i.replace(r,a),o},getRegex:()=>new RegExp(i,e)};return o}var kE=((t="")=>{try{return!!new RegExp("(?<=1)(?/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}>`)},TE=/^(?:[ \t]*(?:\n|$))+/,IE=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,BE=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Ya=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,AE=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,rd=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,Kv=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Zv=be(Kv).replace(/bull/g,rd).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),EE=be(Kv).replace(/bull/g,rd).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),nd=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,RE=/^[^\n]+/,ad=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,LE=be(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",ad).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),PE=be(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,rd).getRegex(),jl="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",sd=/|$))/,OE=be("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",sd).replace("tag",jl).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Xv=be(nd).replace("hr",Ya).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",jl).getRegex(),DE=be(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Xv).getRegex(),ld={blockquote:DE,code:IE,def:LE,fences:BE,heading:AE,hr:Ya,html:OE,lheading:Zv,list:PE,newline:TE,paragraph:Xv,table:zr,text:RE},Np=be("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ya).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",jl).getRegex(),zE={...ld,lheading:EE,table:Np,paragraph:be(nd).replace("hr",Ya).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Np).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",jl).getRegex()},NE={...ld,html:be(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",sd).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:zr,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:be(nd).replace("hr",Ya).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",Zv).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},ME=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,$E=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Yv=/^( {2,}|\\)\n(?!\s*$)/,FE=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\`+)[^`]+\k(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",kE?"(?`+)[^`]+\k(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),Qv=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,GE=be(Qv,"u").replace(/punct/g,Mn).getRegex(),jE=be(Qv,"u").replace(/punct/g,Jv).getRegex(),e5="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",WE=be(e5,"gu").replace(/notPunctSpace/g,cd).replace(/punctSpace/g,Wl).replace(/punct/g,Mn).getRegex(),KE=be(e5,"gu").replace(/notPunctSpace/g,VE).replace(/punctSpace/g,UE).replace(/punct/g,Jv).getRegex(),ZE=be("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,cd).replace(/punctSpace/g,Wl).replace(/punct/g,Mn).getRegex(),XE=be(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,Mn).getRegex(),YE="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",JE=be(YE,"gu").replace(/notPunctSpace/g,cd).replace(/punctSpace/g,Wl).replace(/punct/g,Mn).getRegex(),QE=be(/\\(punct)/,"gu").replace(/punct/g,Mn).getRegex(),e3=be(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),t3=be(sd).replace("(?:-->|$)","-->").getRegex(),i3=be("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",t3).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),rl=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,o3=be(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",rl).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),t5=be(/^!?\[(label)\]\[(ref)\]/).replace("label",rl).replace("ref",ad).getRegex(),i5=be(/^!?\[(ref)\](?:\[\])?/).replace("ref",ad).getRegex(),r3=be("reflink|nolink(?!\\()","g").replace("reflink",t5).replace("nolink",i5).getRegex(),Mp=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ud={_backpedal:zr,anyPunctuation:QE,autolink:e3,blockSkip:qE,br:Yv,code:$E,del:zr,delLDelim:zr,delRDelim:zr,emStrongLDelim:GE,emStrongRDelimAst:WE,emStrongRDelimUnd:ZE,escape:ME,link:o3,nolink:i5,punctuation:HE,reflink:t5,reflinkSearch:r3,tag:i3,text:FE,url:zr},n3={...ud,link:be(/^!?\[(label)\]\((.*?)\)/).replace("label",rl).getRegex(),reflink:be(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",rl).getRegex()},Ku={...ud,emStrongRDelimAst:KE,emStrongLDelim:jE,delLDelim:XE,delRDelim:JE,url:be(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Mp).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:be(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},$p=t=>s3[t];function Vi(t,e){if(e){if(Dt.escapeTest.test(t))return t.replace(Dt.escapeReplace,$p)}else if(Dt.escapeTestNoEncode.test(t))return t.replace(Dt.escapeReplaceNoEncode,$p);return t}function Fp(t){try{t=encodeURI(t).replace(Dt.percentDecode,"%")}catch{return null}return t}function Hp(t,e){var n;let i=t.replace(Dt.findPipe,(a,s,l)=>{let c=!1,u=s;for(;--u>=0&&l[u]==="\\";)c=!c;return c?"|":" |"}),o=i.split(Dt.splitPipe),r=0;if(o[0].trim()||o.shift(),o.length>0&&!((n=o.at(-1))!=null&&n.trim())&&o.pop(),e)if(o.length>e)o.splice(e);else for(;o.length=0&&Dt.blankLine.test(e[i]);)i--;return e.length-i<=2?t:e.slice(0,i+1).join(` -`)}function l3(t,e){if(t.indexOf(e[1])===-1)return-1;let i=0;for(let o=0;o0?-2:-1}function c3(t,e=0){let i=e,o="";for(let r of t)if(r===" "){let n=4-i%4;o+=" ".repeat(n),i+=n}else o+=r,i++;return o}function Vp(t,e,i,o,r){let n=e.href,a=e.title||null,s=t[1].replace(r.other.outputLinkReplace,"$1");o.state.inLink=!0;let l={type:t[0].charAt(0)==="!"?"image":"link",raw:i,href:n,title:a,text:s,tokens:o.inlineTokens(s)};return o.state.inLink=!1,l}function u3(t,e,i){let o=t.match(i.other.indentCodeCompensation);if(o===null)return e;let r=o[1];return e.split(` -`).map(n=>{let a=n.match(i.other.beginningSpace);if(a===null)return n;let[s]=a;return s.length>=r.length?n.slice(r.length):n}).join(` -`)}var nl=class{constructor(t){ze(this,"options");ze(this,"rules");ze(this,"lexer");this.options=t||Zr}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let i=this.options.pedantic?e[0]:Up(e[0]),o=i.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:i,codeBlockStyle:"indented",text:o}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let i=e[0],o=u3(i,e[3]||"",this.rules);return{type:"code",raw:i,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:o}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let i=e[2].trim();if(this.rules.other.endingHash.test(i)){let o=Go(i,"#");(this.options.pedantic||!o||this.rules.other.endingSpaceChar.test(o))&&(i=o.trim())}return{type:"heading",raw:Go(e[0],` -`),depth:e[1].length,text:i,tokens:this.lexer.inline(i)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:Go(e[0],` -`)}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let i=Go(e[0],` -`).split(` -`),o="",r="",n=[];for(;i.length>0;){let a=!1,s=[],l;for(l=0;l1,r={type:"list",raw:"",ordered:o,start:o?+i.slice(0,-1):"",loose:!1,items:[]};i=o?`\\d{1,9}\\${i.slice(-1)}`:`\\${i}`,this.options.pedantic&&(i=o?i:"[*+-]");let n=this.rules.other.listItemRegex(i),a=!1;for(;t;){let l=!1,c="",u="";if(!(e=n.exec(t))||this.rules.block.hr.test(t))break;c=e[0],t=t.substring(c.length);let _=c3(e[2].split(` -`,1)[0],e[1].length),d=t.split(` -`,1)[0],h=!_.trim(),g=0;if(this.options.pedantic?(g=2,u=_.trimStart()):h?g=e[1].length+1:(g=_.search(this.rules.other.nonSpaceChar),g=g>4?1:g,u=_.slice(g),g+=e[1].length),h&&this.rules.other.blankLine.test(d)&&(c+=d+` -`,t=t.substring(d.length+1),l=!0),!l){let y=this.rules.other.nextBulletRegex(g),C=this.rules.other.hrRegex(g),S=this.rules.other.fencesBeginRegex(g),x=this.rules.other.headingBeginRegex(g),A=this.rules.other.htmlBeginRegex(g),P=this.rules.other.blockquoteBeginRegex(g);for(;t;){let K=t.split(` -`,1)[0],V;if(d=K,this.options.pedantic?(d=d.replace(this.rules.other.listReplaceNesting," "),V=d):V=d.replace(this.rules.other.tabCharGlobal," "),S.test(d)||x.test(d)||A.test(d)||P.test(d)||y.test(d)||C.test(d))break;if(V.search(this.rules.other.nonSpaceChar)>=g||!d.trim())u+=` -`+V.slice(g);else{if(h||_.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||S.test(_)||x.test(_)||C.test(_))break;u+=` -`+d}h=!d.trim(),c+=K+` -`,t=t.substring(K.length+1),_=V.slice(g)}}r.loose||(a?r.loose=!0:this.rules.other.doubleBlankLine.test(c)&&(a=!0)),r.items.push({type:"list_item",raw:c,task:!!this.options.gfm&&this.rules.other.listIsTask.test(u),loose:!1,text:u,tokens:[]}),r.raw+=c}let s=r.items.at(-1);if(s)s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd();else return;r.raw=r.raw.trimEnd();for(let l of r.items){this.lexer.state.top=!1,l.tokens=this.lexer.blockTokens(l.text,[]);let c=l.tokens[0];if(l.task&&((c==null?void 0:c.type)==="text"||(c==null?void 0:c.type)==="paragraph")){l.text=l.text.replace(this.rules.other.listReplaceTask,""),c.raw=c.raw.replace(this.rules.other.listReplaceTask,""),c.text=c.text.replace(this.rules.other.listReplaceTask,"");for(let _=this.lexer.inlineQueue.length-1;_>=0;_--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[_].src)){this.lexer.inlineQueue[_].src=this.lexer.inlineQueue[_].src.replace(this.rules.other.listReplaceTask,"");break}let u=this.rules.other.listTaskCheckbox.exec(l.raw);if(u){let _={type:"checkbox",raw:u[0]+" ",checked:u[0]!=="[ ]"};l.checked=_.checked,r.loose?l.tokens[0]&&["paragraph","text"].includes(l.tokens[0].type)&&"tokens"in l.tokens[0]&&l.tokens[0].tokens?(l.tokens[0].raw=_.raw+l.tokens[0].raw,l.tokens[0].text=_.raw+l.tokens[0].text,l.tokens[0].tokens.unshift(_)):l.tokens.unshift({type:"paragraph",raw:_.raw,text:_.raw,tokens:[_]}):l.tokens.unshift(_)}}else l.task&&(l.task=!1);if(!r.loose){let u=l.tokens.filter(d=>d.type==="space"),_=u.length>0&&u.some(d=>this.rules.other.anyLine.test(d.raw));r.loose=_}}if(r.loose)for(let l of r.items){l.loose=!0;for(let c of l.tokens)c.type==="text"&&(c.type="paragraph")}return r}}html(t){let e=this.rules.block.html.exec(t);if(e){let i=Up(e[0]);return{type:"html",block:!0,raw:i,pre:e[1]==="pre"||e[1]==="script"||e[1]==="style",text:i}}}def(t){let e=this.rules.block.def.exec(t);if(e){let i=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),o=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:i,raw:Go(e[0],` -`),href:o,title:r}}}table(t){var a;let e=this.rules.block.table.exec(t);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let i=Hp(e[1]),o=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),r=(a=e[3])!=null&&a.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split(` -`):[],n={type:"table",raw:Go(e[0],` -`),header:[],align:[],rows:[]};if(i.length===o.length){for(let s of o)this.rules.other.tableAlignRight.test(s)?n.align.push("right"):this.rules.other.tableAlignCenter.test(s)?n.align.push("center"):this.rules.other.tableAlignLeft.test(s)?n.align.push("left"):n.align.push(null);for(let s=0;s({text:l,tokens:this.lexer.inline(l),header:!1,align:n.align[c]})));return n}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e){let i=e[1].trim();return{type:"heading",raw:Go(e[0],` -`),depth:e[2].charAt(0)==="="?1:2,text:i,tokens:this.lexer.inline(i)}}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let i=e[1].charAt(e[1].length-1)===` -`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:i,tokens:this.lexer.inline(i)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let i=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(i)){if(!this.rules.other.endAngleBracket.test(i))return;let n=Go(i.slice(0,-1),"\\");if((i.length-n.length)%2===0)return}else{let n=l3(e[2],"()");if(n===-2)return;if(n>-1){let a=(e[0].indexOf("!")===0?5:4)+e[1].length+n;e[2]=e[2].substring(0,n),e[0]=e[0].substring(0,a).trim(),e[3]=""}}let o=e[2],r="";if(this.options.pedantic){let n=this.rules.other.pedanticHrefTitle.exec(o);n&&(o=n[1],r=n[3])}else r=e[3]?e[3].slice(1,-1):"";return o=o.trim(),this.rules.other.startAngleBracket.test(o)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(i)?o=o.slice(1):o=o.slice(1,-1)),Vp(e,{href:o&&o.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let i;if((i=this.rules.inline.reflink.exec(t))||(i=this.rules.inline.nolink.exec(t))){let o=(i[2]||i[1]).replace(this.rules.other.multipleSpaceGlobal," "),r=e[o.toLowerCase()];if(!r){let n=i[0].charAt(0);return{type:"text",raw:n,text:n}}return Vp(i,r,i[0],this.lexer,this.rules)}}emStrong(t,e,i=""){let o=this.rules.inline.emStrongLDelim.exec(t);if(!(!o||!o[1]&&!o[2]&&!o[3]&&!o[4]||o[4]&&i.match(this.rules.other.unicodeAlphaNumeric))&&(!(o[1]||o[3])||!i||this.rules.inline.punctuation.exec(i))){let r=[...o[0]].length-1,n,a,s=r,l=0,c=o[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,e=e.slice(-1*t.length+r);(o=c.exec(e))!==null;){if(n=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!n)continue;if(a=[...n].length,o[3]||o[4]){s+=a;continue}else if((o[5]||o[6])&&r%3&&!((r+a)%3)){l+=a;continue}if(s-=a,s>0)continue;a=Math.min(a,a+s+l);let u=[...o[0]][0].length,_=t.slice(0,r+o.index+u+a);if(Math.min(r,a)%2){let h=_.slice(1,-1);return{type:"em",raw:_,text:h,tokens:this.lexer.inlineTokens(h)}}let d=_.slice(2,-2);return{type:"strong",raw:_,text:d,tokens:this.lexer.inlineTokens(d)}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let i=e[2].replace(this.rules.other.newLineCharGlobal," "),o=this.rules.other.nonSpaceChar.test(i),r=this.rules.other.startingSpaceChar.test(i)&&this.rules.other.endingSpaceChar.test(i);return o&&r&&(i=i.substring(1,i.length-1)),{type:"codespan",raw:e[0],text:i}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t,e,i=""){let o=this.rules.inline.delLDelim.exec(t);if(o&&(!o[1]||!i||this.rules.inline.punctuation.exec(i))){let r=[...o[0]].length-1,n,a,s=r,l=this.rules.inline.delRDelim;for(l.lastIndex=0,e=e.slice(-1*t.length+r);(o=l.exec(e))!==null;){if(n=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!n||(a=[...n].length,a!==r))continue;if(o[3]||o[4]){s+=a;continue}if(s-=a,s>0)continue;a=Math.min(a,a+s);let c=[...o[0]][0].length,u=t.slice(0,r+o.index+c+a),_=u.slice(r,-r);return{type:"del",raw:u,text:_,tokens:this.lexer.inlineTokens(_)}}}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let i,o;return e[2]==="@"?(i=e[1],o="mailto:"+i):(i=e[1],o=i),{type:"link",raw:e[0],text:i,href:o,tokens:[{type:"text",raw:i,text:i}]}}}url(t){var i;let e;if(e=this.rules.inline.url.exec(t)){let o,r;if(e[2]==="@")o=e[0],r="mailto:"+o;else{let n;do n=e[0],e[0]=((i=this.rules.inline._backpedal.exec(e[0]))==null?void 0:i[0])??"";while(n!==e[0]);o=e[0],e[1]==="www."?r="http://"+e[0]:r=e[0]}return{type:"link",raw:e[0],text:o,href:r,tokens:[{type:"text",raw:o,text:o}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e){let i=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:i}}}},bi=class Zu{constructor(e){ze(this,"tokens");ze(this,"options");ze(this,"state");ze(this,"inlineQueue");ze(this,"tokenizer");this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Zr,this.options.tokenizer=this.options.tokenizer||new nl,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let i={other:Dt,block:ds.normal,inline:Kn.normal};this.options.pedantic?(i.block=ds.pedantic,i.inline=Kn.pedantic):this.options.gfm&&(i.block=ds.gfm,this.options.breaks?i.inline=Kn.breaks:i.inline=Kn.gfm),this.tokenizer.rules=i}static get rules(){return{block:ds,inline:Kn}}static lex(e,i){return new Zu(i).lex(e)}static lexInline(e,i){return new Zu(i).inlineTokens(e)}lex(e){e=e.replace(Dt.carriageReturn,` -`),this.blockTokens(e,this.tokens);for(let i=0;i(l=u.call({lexer:this},e,i))?(e=e.substring(l.raw.length),i.push(l),!0):!1))continue;if(l=this.tokenizer.space(e)){e=e.substring(l.raw.length);let u=i.at(-1);l.raw.length===1&&u!==void 0?u.raw+=` -`:i.push(l);continue}if(l=this.tokenizer.code(e)){e=e.substring(l.raw.length);let u=i.at(-1);(u==null?void 0:u.type)==="paragraph"||(u==null?void 0:u.type)==="text"?(u.raw+=(u.raw.endsWith(` -`)?"":` -`)+l.raw,u.text+=` -`+l.text,this.inlineQueue.at(-1).src=u.text):i.push(l);continue}if(l=this.tokenizer.fences(e)){e=e.substring(l.raw.length),i.push(l);continue}if(l=this.tokenizer.heading(e)){e=e.substring(l.raw.length),i.push(l);continue}if(l=this.tokenizer.hr(e)){e=e.substring(l.raw.length),i.push(l);continue}if(l=this.tokenizer.blockquote(e)){e=e.substring(l.raw.length),i.push(l);continue}if(l=this.tokenizer.list(e)){e=e.substring(l.raw.length),i.push(l);continue}if(l=this.tokenizer.html(e)){e=e.substring(l.raw.length),i.push(l);continue}if(l=this.tokenizer.def(e)){e=e.substring(l.raw.length);let u=i.at(-1);(u==null?void 0:u.type)==="paragraph"||(u==null?void 0:u.type)==="text"?(u.raw+=(u.raw.endsWith(` -`)?"":` -`)+l.raw,u.text+=` -`+l.raw,this.inlineQueue.at(-1).src=u.text):this.tokens.links[l.tag]||(this.tokens.links[l.tag]={href:l.href,title:l.title},i.push(l));continue}if(l=this.tokenizer.table(e)){e=e.substring(l.raw.length),i.push(l);continue}if(l=this.tokenizer.lheading(e)){e=e.substring(l.raw.length),i.push(l);continue}let c=e;if((s=this.options.extensions)!=null&&s.startBlock){let u=1/0,_=e.slice(1),d;this.options.extensions.startBlock.forEach(h=>{d=h.call({lexer:this},_),typeof d=="number"&&d>=0&&(u=Math.min(u,d))}),u<1/0&&u>=0&&(c=e.substring(0,u+1))}if(this.state.top&&(l=this.tokenizer.paragraph(c))){let u=i.at(-1);o&&(u==null?void 0:u.type)==="paragraph"?(u.raw+=(u.raw.endsWith(` -`)?"":` -`)+l.raw,u.text+=` -`+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=u.text):i.push(l),o=c.length!==e.length,e=e.substring(l.raw.length);continue}if(l=this.tokenizer.text(e)){e=e.substring(l.raw.length);let u=i.at(-1);(u==null?void 0:u.type)==="text"?(u.raw+=(u.raw.endsWith(` -`)?"":` -`)+l.raw,u.text+=` -`+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=u.text):i.push(l);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return this.state.top=!0,i}inline(e,i=[]){return this.inlineQueue.push({src:e,tokens:i}),i}inlineTokens(e,i=[]){var c,u,_,d,h;this.tokenizer.lexer=this;let o=e,r=null;if(this.tokens.links){let g=Object.keys(this.tokens.links);if(g.length>0)for(;(r=this.tokenizer.rules.inline.reflinkSearch.exec(o))!==null;)g.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(r=this.tokenizer.rules.inline.anyPunctuation.exec(o))!==null;)o=o.slice(0,r.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let n;for(;(r=this.tokenizer.rules.inline.blockSkip.exec(o))!==null;)n=r[2]?r[2].length:0,o=o.slice(0,r.index+n)+"["+"a".repeat(r[0].length-n-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);o=((u=(c=this.options.hooks)==null?void 0:c.emStrongMask)==null?void 0:u.call({lexer:this},o))??o;let a=!1,s="",l=1/0;for(;e;){if(e.length(g=C.call({lexer:this},e,i))?(e=e.substring(g.raw.length),i.push(g),!0):!1))continue;if(g=this.tokenizer.escape(e)){e=e.substring(g.raw.length),i.push(g);continue}if(g=this.tokenizer.tag(e)){e=e.substring(g.raw.length),i.push(g);continue}if(g=this.tokenizer.link(e)){e=e.substring(g.raw.length),i.push(g);continue}if(g=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(g.raw.length);let C=i.at(-1);g.type==="text"&&(C==null?void 0:C.type)==="text"?(C.raw+=g.raw,C.text+=g.text):i.push(g);continue}if(g=this.tokenizer.emStrong(e,o,s)){e=e.substring(g.raw.length),i.push(g);continue}if(g=this.tokenizer.codespan(e)){e=e.substring(g.raw.length),i.push(g);continue}if(g=this.tokenizer.br(e)){e=e.substring(g.raw.length),i.push(g);continue}if(g=this.tokenizer.del(e,o,s)){e=e.substring(g.raw.length),i.push(g);continue}if(g=this.tokenizer.autolink(e)){e=e.substring(g.raw.length),i.push(g);continue}if(!this.state.inLink&&(g=this.tokenizer.url(e))){e=e.substring(g.raw.length),i.push(g);continue}let y=e;if((h=this.options.extensions)!=null&&h.startInline){let C=1/0,S=e.slice(1),x;this.options.extensions.startInline.forEach(A=>{x=A.call({lexer:this},S),typeof x=="number"&&x>=0&&(C=Math.min(C,x))}),C<1/0&&C>=0&&(y=e.substring(0,C+1))}if(g=this.tokenizer.inlineText(y)){e=e.substring(g.raw.length),g.raw.slice(-1)!=="_"&&(s=g.raw.slice(-1)),a=!0;let C=i.at(-1);(C==null?void 0:C.type)==="text"?(C.raw+=g.raw,C.text+=g.text):i.push(g);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return i}infiniteLoopError(e){let i="Infinite loop on byte: "+e;if(this.options.silent)console.error(i);else throw new Error(i)}},al=class{constructor(t){ze(this,"options");ze(this,"parser");this.options=t||Zr}space(t){return""}code({text:t,lang:e,escaped:i}){var n;let o=(n=(e||"").match(Dt.notSpaceStart))==null?void 0:n[0],r=t.replace(Dt.endingNewline,"")+` -`;return o?'
'+(i?r:Vi(r,!0))+`
-`:"
"+(i?r:Vi(r,!0))+`
-`}blockquote({tokens:t}){return`
-${this.parser.parse(t)}
-`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:e}){return`${this.parser.parseInline(t)} -`}hr(t){return`
-`}list(t){let e=t.ordered,i=t.start,o="";for(let a=0;a -`+o+" -`}listitem(t){return`
  • ${this.parser.parse(t.tokens)}
  • -`}checkbox({checked:t}){return" '}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    -`}table(t){let e="",i="";for(let r=0;r${o}`),` - -`+e+` -`+o+`
    -`}tablerow({text:t}){return` -${t} -`}tablecell(t){let e=this.parser.parseInline(t.tokens),i=t.header?"th":"td";return(t.align?`<${i} align="${t.align}">`:`<${i}>`)+e+` -`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${Vi(t,!0)}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:e,tokens:i}){let o=this.parser.parseInline(i),r=Fp(t);if(r===null)return o;t=r;let n='
    ",n}image({href:t,title:e,text:i,tokens:o}){o&&(i=this.parser.parseInline(o,this.parser.textRenderer));let r=Fp(t);if(r===null)return Vi(i);t=r;let n=`${Vi(i)}{let l=a[s].flat(1/0);i=i.concat(this.walkTokens(l,e))}):a.tokens&&(i=i.concat(this.walkTokens(a.tokens,e)))}}return i}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(i=>{let o={...i};if(o.async=this.defaults.async||o.async||!1,i.extensions&&(i.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if("renderer"in r){let n=e.renderers[r.name];n?e.renderers[r.name]=function(...a){let s=r.renderer.apply(this,a);return s===!1&&(s=n.apply(this,a)),s}:e.renderers[r.name]=r.renderer}if("tokenizer"in r){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let n=e[r.level];n?n.unshift(r.tokenizer):e[r.level]=[r.tokenizer],r.start&&(r.level==="block"?e.startBlock?e.startBlock.push(r.start):e.startBlock=[r.start]:r.level==="inline"&&(e.startInline?e.startInline.push(r.start):e.startInline=[r.start]))}"childTokens"in r&&r.childTokens&&(e.childTokens[r.name]=r.childTokens)}),o.extensions=e),i.renderer){let r=this.defaults.renderer||new al(this.defaults);for(let n in i.renderer){if(!(n in r))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;let a=n,s=i.renderer[a],l=r[a];r[a]=(...c)=>{let u=s.apply(r,c);return u===!1&&(u=l.apply(r,c)),u||""}}o.renderer=r}if(i.tokenizer){let r=this.defaults.tokenizer||new nl(this.defaults);for(let n in i.tokenizer){if(!(n in r))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;let a=n,s=i.tokenizer[a],l=r[a];r[a]=(...c)=>{let u=s.apply(r,c);return u===!1&&(u=l.apply(r,c)),u}}o.tokenizer=r}if(i.hooks){let r=this.defaults.hooks||new ra;for(let n in i.hooks){if(!(n in r))throw new Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;let a=n,s=i.hooks[a],l=r[a];ra.passThroughHooks.has(n)?r[a]=c=>{if(this.defaults.async&&ra.passThroughHooksRespectAsync.has(n))return(async()=>{let _=await s.call(r,c);return l.call(r,_)})();let u=s.call(r,c);return l.call(r,u)}:r[a]=(...c)=>{if(this.defaults.async)return(async()=>{let _=await s.apply(r,c);return _===!1&&(_=await l.apply(r,c)),_})();let u=s.apply(r,c);return u===!1&&(u=l.apply(r,c)),u}}o.hooks=r}if(i.walkTokens){let r=this.defaults.walkTokens,n=i.walkTokens;o.walkTokens=function(a){let s=[];return s.push(n.call(this,a)),r&&(s=s.concat(r.call(this,a))),s}}this.defaults={...this.defaults,...o}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return bi.lex(t,e??this.defaults)}parser(t,e){return yi.parse(t,e??this.defaults)}parseMarkdown(t){return(e,i)=>{let o={...i},r={...this.defaults,...o},n=this.onError(!!r.silent,!!r.async);if(this.defaults.async===!0&&o.async===!1)return n(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||e===null)return n(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return n(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(r.hooks&&(r.hooks.options=r,r.hooks.block=t),r.async)return(async()=>{let a=r.hooks?await r.hooks.preprocess(e):e,s=await(r.hooks?await r.hooks.provideLexer(t):t?bi.lex:bi.lexInline)(a,r),l=r.hooks?await r.hooks.processAllTokens(s):s;r.walkTokens&&await Promise.all(this.walkTokens(l,r.walkTokens));let c=await(r.hooks?await r.hooks.provideParser(t):t?yi.parse:yi.parseInline)(l,r);return r.hooks?await r.hooks.postprocess(c):c})().catch(n);try{r.hooks&&(e=r.hooks.preprocess(e));let a=(r.hooks?r.hooks.provideLexer(t):t?bi.lex:bi.lexInline)(e,r);r.hooks&&(a=r.hooks.processAllTokens(a)),r.walkTokens&&this.walkTokens(a,r.walkTokens);let s=(r.hooks?r.hooks.provideParser(t):t?yi.parse:yi.parseInline)(a,r);return r.hooks&&(s=r.hooks.postprocess(s)),s}catch(a){return n(a)}}}onError(t,e){return i=>{if(i.message+=` -Please report this to https://github.com/markedjs/marked.`,t){let o="

    An error occurred:

    "+Vi(i.message+"",!0)+"
    ";return e?Promise.resolve(o):o}if(e)return Promise.reject(i);throw i}}},jr=new _3;function Oe(t,e){return jr.parse(t,e)}Oe.options=Oe.setOptions=function(t){return jr.setOptions(t),Oe.defaults=jr.defaults,Wv(Oe.defaults),Oe};Oe.getDefaults=od;Oe.defaults=Zr;Oe.use=function(...t){return jr.use(...t),Oe.defaults=jr.defaults,Wv(Oe.defaults),Oe};Oe.walkTokens=function(t,e){return jr.walkTokens(t,e)};Oe.parseInline=jr.parseInline;Oe.Parser=yi;Oe.parser=yi.parse;Oe.Renderer=al;Oe.TextRenderer=_d;Oe.Lexer=bi;Oe.lexer=bi.lex;Oe.Tokenizer=nl;Oe.Hooks=ra;Oe.parse=Oe;Oe.options;Oe.setOptions;Oe.use;Oe.walkTokens;Oe.parseInline;yi.parse;bi.lex;const d3={key:0,class:"help-panel"},h3={class:"help-header"},p3={class:"help-tabs"},f3={key:0,class:"about-section"},g3={class:"about-text"},m3={key:1,class:"help-search"},v3={class:"help-topics-list"},b3={key:0,class:"help-loading"},y3={key:1,class:"help-empty"},w3={key:2,class:"help-empty"},C3=["onClick"],x3={class:"topic-header"},S3={class:"topic-label"},k3={class:"topic-key"},T3={key:0,class:"topic-body"},I3={key:1,class:"docs-content"},B3={key:0,class:"help-loading"},A3={key:1,class:"help-empty"},E3=["innerHTML"],R3=zo({__name:"HelpPanel",props:{open:{type:Boolean}},emits:["close"],setup(t,{emit:e}){const i=t,o=e,r=zg(),{topics:n,documentation:a,loading:s,docsLoading:l,loadTopics:c}=SE(),u=_e(""),_=_e(null),d=_e("fields");let h=null;const g=Qe(()=>r.name||""),y=Qe(()=>n.value.some(F=>F.key!=="_about"));Yi(g,F=>{i.open&&F&&c(F)},{immediate:!0}),Yi(()=>i.open,F=>{F&&g.value&&c(g.value)}),Yi(n,()=>{y.value||(d.value="docs")});const C=Qe(()=>n.value.find(F=>F.key==="_about")||null),S=Qe(()=>n.value.filter(F=>F.key!=="_about")),x=Qe(()=>{const F=S.value;if(!u.value)return F;const k=u.value.toLowerCase();return F.filter(G=>G.label.toLowerCase().includes(k)||G.helpText.toLowerCase().includes(k))}),A=Qe(()=>{if(!a.value)return"";const F=a.value.replace(/```mermaid[\s\S]*?```/g,"").replace(/style \w+ fill:#[^\n]*/g,"");return Oe.parse(F,{async:!1})});function P(F){if(_.value===F.key){_.value=null,V();return}_.value=F.key,F.key!=="_about"&&K(F.key)}function K(F){V();const k=document.querySelector(`[data-help-id="${F}"]`);k&&(k.scrollIntoView({behavior:"smooth",block:"center"}),k.classList.add("help-highlight"),h=setTimeout(()=>{k.classList.remove("help-highlight")},2500))}function V(){h&&(clearTimeout(h),h=null),document.querySelectorAll(".help-highlight").forEach(F=>{F.classList.remove("help-highlight")})}function O(F){u.value=F.target.value||""}return Mg([{key:"F1",handler:()=>o("close"),description:"Toggle Help",category:"general"}]),(F,k)=>(re(),Hs(k0,{name:"slide"},{default:zf(()=>[t.open?(re(),se("aside",d3,[$("div",h3,[k[4]||(k[4]=$("ui5-title",{level:"H5"},"Help Topics",-1)),$("ui5-button",{design:"Transparent",icon:"decline",tooltip:"Close",onClick:k[0]||(k[0]=G=>o("close"))})]),$("div",p3,[$("button",{class:hi(["tab-btn",{active:d.value==="fields"}]),onClick:k[1]||(k[1]=G=>d.value="fields")},"Field Help",2),$("button",{class:hi(["tab-btn",{active:d.value==="docs"}]),onClick:k[2]||(k[2]=G=>d.value="docs")},"Documentation",2)]),d.value==="fields"?(re(),se(Ve,{key:0},[C.value?(re(),se("div",f3,[$("div",g3,Lt(C.value.helpText),1)])):ri("",!0),y.value?(re(),se("div",m3,[$("ui5-input",{placeholder:"Search Help Topics","show-clear-icon":"",class:"search-input",onInput:O},[...k[5]||(k[5]=[$("ui5-icon",{slot:"icon",name:"search"},null,-1)])],32)])):ri("",!0),$("div",v3,[rt(s)?(re(),se("div",b3,"Loading...")):y.value?x.value.length===0?(re(),se("div",w3," No matching help topics found. ")):ri("",!0):(re(),se("div",y3,[k[6]||(k[6]=bs(" No field-level help for this screen.",-1)),k[7]||(k[7]=$("br",null,null,-1)),k[8]||(k[8]=bs(" Check the ",-1)),$("a",{href:"#",onClick:k[3]||(k[3]=Cg(G=>d.value="docs",["prevent"]))},"Documentation"),k[9]||(k[9]=bs(" tab for full command reference. ",-1))])),(re(!0),se(Ve,null,nr(x.value,G=>(re(),se("div",{key:G.key,class:hi(["help-topic",{expanded:_.value===G.key}]),onClick:ee=>P(G)},[$("div",x3,[$("span",S3,Lt(G.label),1),$("span",k3,Lt(G.key),1)]),_.value===G.key?(re(),se("div",T3,Lt(G.helpText),1)):ri("",!0)],10,C3))),128))])],64)):ri("",!0),d.value==="docs"?(re(),se("div",I3,[rt(l)?(re(),se("div",B3,"Loading documentation...")):rt(a)?(re(),se("div",{key:2,class:"markdown-body",innerHTML:A.value},null,8,E3)):(re(),se("div",A3," No documentation available for this command. "))])):ri("",!0)])):ri("",!0)]),_:1}))}}),L3=Xa(R3,[["__scopeId","data-v-15036f4c"]]),P3=["open"],O3={class:"settings-content"},D3={class:"settings-section"},z3={class:"settings-field"},N3=["checked"],M3={class:"settings-field"},$3=["value"],F3={class:"settings-section"},H3={class:"settings-field"},U3=["checked"],V3={class:"settings-field"},q3=["checked"],G3=zo({__name:"SettingsDialog",props:{open:{type:Boolean}},emits:["close"],setup(t,{emit:e}){const i=t,o=e,{settings:r,update:n}=ym(),a=_e(r.admin),s=_e(r.conn),l=_e(r.disableVerbose),c=_e(r.debug);Yi(()=>i.open,d=>{d&&(a.value=r.admin,s.value=r.conn,l.value=r.disableVerbose,c.value=r.debug)});function u(){n({admin:a.value,conn:s.value,disableVerbose:l.value,debug:c.value}),o("close")}function _(){o("close")}return(d,h)=>(re(),se("ui5-dialog",{open:t.open,"header-text":"Settings",onClose:_},[$("div",O3,[$("section",D3,[h[5]||(h[5]=$("ui5-title",{level:"H5"},"Connection Parameters",-1)),$("div",z3,[$("ui5-checkbox",{checked:a.value,text:"Admin Connection",onChange:h[0]||(h[0]=g=>a.value=g.target.checked)},null,40,N3)]),$("div",M3,[h[4]||(h[4]=$("ui5-label",{for:"connFilename"},"Connection Filename:",-1)),$("ui5-input",{id:"connFilename",value:s.value,placeholder:"default-env.json",onChange:h[1]||(h[1]=g=>s.value=g.target.value)},null,40,$3)])]),$("section",F3,[h[6]||(h[6]=$("ui5-title",{level:"H5"},"Troubleshooting",-1)),$("div",H3,[$("ui5-checkbox",{checked:l.value,text:"Disable verbose output",onChange:h[2]||(h[2]=g=>l.value=g.target.checked)},null,40,U3)]),$("div",V3,[$("ui5-checkbox",{checked:c.value,text:"Debug hana-cli",onChange:h[3]||(h[3]=g=>c.value=g.target.checked)},null,40,q3)])])]),$("div",{slot:"footer",class:"settings-footer"},[$("ui5-button",{design:"Emphasized",onClick:u},"Save"),$("ui5-button",{design:"Transparent",onClick:_},"Cancel")])],40,P3))}}),j3=Xa(G3,[["__scopeId","data-v-679fd967"]]);function W3(){return f(de,{children:f("div",{class:"ui5-toast-root",role:"alert",tabindex:this._tabindex,children:f("bdi",{children:f("slot",{})})})})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const K3=`:host{font-family:var(--sapFontFamily);color:var(--sapContent_ContrastTextColor);font-size:var(--sapFontSize);position:fixed;display:none;box-sizing:border-box;max-width:15rem;overflow:hidden;background:var(--_ui5_toast_background);box-shadow:var(--_ui5_toast_shadow);border-radius:var(--sapElement_BorderCornerRadius);transition-property:opacity;opacity:1;word-wrap:break-word;text-align:center;text-overflow:ellipsis;white-space:pre-line;padding:1rem;inset:unset;margin:0;border:none}.ui5-toast-root{height:100%;width:100%;padding:0;outline:none;box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:fit-content}:host([open]){display:block}:host(:not([placement])){bottom:var(--_ui5_toast_vertical_offset);left:50%;transform:translate(-50%)}:host([placement="TopStart"]){top:var(--_ui5_toast_vertical_offset);left:var(--_ui5_toast_horizontal_offset)}:host([placement="MiddleStart"]){left:var(--_ui5_toast_horizontal_offset);top:50%;transform:translateY(-50%)}:host([placement="BottomStart"]){left:var(--_ui5_toast_horizontal_offset);bottom:var(--_ui5_toast_vertical_offset)}:host([placement="TopCenter"]){top:var(--_ui5_toast_vertical_offset);left:50%;transform:translate(-50%)}:host([placement="MiddleCenter"]){left:50%;top:50%;transform:translate(-50%,-50%)}:host([placement="BottomCenter"]){bottom:var(--_ui5_toast_vertical_offset);left:50%;transform:translate(-50%)}:host([placement="TopEnd"]){right:var(--_ui5_toast_horizontal_offset);top:var(--_ui5_toast_vertical_offset)}:host([placement="MiddleEnd"]){right:var(--_ui5_toast_horizontal_offset);top:50%;transform:translateY(-50%)}:host([placement="BottomEnd"]){right:var(--_ui5_toast_horizontal_offset);bottom:var(--_ui5_toast_vertical_offset)}:host([focused]){outline-width:var(--sapContent_FocusWidth);outline-style:var(--sapContent_FocusStyle);outline-color:var(--sapContent_FocusColor);outline-offset:var(--_ui5_toast_offset_width)} -`;var Xr=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const qp=500,Z3=1e3,Nr=[];let Fr,Gp=!1;const X3=t=>{const e=t.metaKey||!cm()&&t.ctrlKey,i=t.key&&t.key.toLowerCase()==="m",o=e&&t.shiftKey&&i,r=Nr.length;o&&(t.preventDefault(),r&&(Nr[0].focusable=!0,Nr[0].focused?(Nr[0].focused=!1,Fr==null||Fr.focus()):(Fr=document.activeElement,Nr[0].focus())))};let Oo=class extends Ke{constructor(){super(),this.duration=3e3,this.placement="BottomCenter",this.open=!1,this.hover=!1,this.focusable=!1,this.focused=!1,this._onfocusinFn=this._onfocusin.bind(this),this._onfocusoutFn=this._onfocusout.bind(this),this._onkeydownFn=this._onkeydown.bind(this),this._onmouseoverFn=this._onmouseover.bind(this),this._onmouseleaveFn=this._onmouseleave.bind(this),this._ontransitionendFn=this._ontransitionend.bind(this)}onBeforeRendering(){this.open&&(Nr.pop(),Nr.push(this)),requestAnimationFrame(()=>{const e=Math.min(this.effectiveDuration/3,Z3);this.style.transitionDuration=this.open?`${e}ms`:"",this.style.transitionDelay=this.open?`${this.effectiveDuration-e}ms`:"",this.style.opacity=this.open&&!this.hover&&!this.focused?"0":""}),Gp||(document.addEventListener("keydown",X3),Gp=!0)}onAfterRendering(){this.hasAttribute("popover")||this.setAttribute("popover","manual"),this.open&&this.showPopover()}_onfocusin(){this.focusable&&(this.focused=!0)}_onfocusout(){this.focused=!1}get effectiveDuration(){return this.duration(e,i)=>{Object.defineProperty(e,i,{get(){var o;return(o=this.shadowRoot)==null?void 0:o.querySelector(t)}})};function Y3(t,e){let i=null,o=null;return function(...r){if(o){i=r;return}t(...r),o=setTimeout(()=>{i&&(t(...i),i=null),o=null},e)}}const J3="sys-help-2",Q3="M8 0c1.104 0 2.14.208 3.11.625a8.215 8.215 0 0 1 2.546 1.703 7.852 7.852 0 0 1 1.719 2.547c.417.98.625 2.02.625 3.125 0 1.104-.208 2.14-.625 3.11a8.082 8.082 0 0 1-1.719 2.546 8.082 8.082 0 0 1-2.547 1.719A7.785 7.785 0 0 1 8 16a7.897 7.897 0 0 1-3.125-.625 7.852 7.852 0 0 1-2.547-1.719A8.215 8.215 0 0 1 .625 11.11 7.786 7.786 0 0 1 0 8c0-1.104.208-2.146.625-3.125a7.977 7.977 0 0 1 1.703-2.547A7.977 7.977 0 0 1 4.875.625 7.897 7.897 0 0 1 8 0Zm-.156 13.281c.312 0 .583-.114.812-.344.23-.229.344-.5.344-.812a1.06 1.06 0 0 0-.344-.797A1.136 1.136 0 0 0 7.844 11c-.313 0-.578.11-.797.328a1.085 1.085 0 0 0-.328.797c0 .313.11.583.328.813.219.229.484.343.797.343ZM11 5.812c0-.666-.281-1.26-.844-1.78-.562-.522-1.364-.782-2.406-.782-.958 0-1.714.25-2.266.75s-.859 1.115-.921 1.844h1.625c.104-.5.286-.839.546-1.016.26-.177.63-.266 1.11-.266.479 0 .843.13 1.093.391.25.26.376.547.376.86 0 .208-.027.354-.079.437-.052.083-.192.24-.421.469l-.626.531c-.312.25-.552.469-.718.656-.167.188-.287.38-.36.578-.073.198-.12.417-.14.657-.021.24-.032.526-.032.859H8.5c0-.25.005-.448.016-.594.01-.146.041-.276.093-.39a1.12 1.12 0 0 1 .235-.329c.104-.104.26-.24.469-.406l.843-.781.5-.563.281-.5.063-.625Z",eR=!0,tR="0 0 16 16",iR="SAP-icons-v4",oR="@ui5/webcomponents-icons";ie(J3,{pathData:Q3,ltr:eR,viewBox:tR,collection:iR,packageName:oR});const rR="sys-help-2",nR="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0Zm0 11a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm.2-8A3.194 3.194 0 0 0 5 6.2a1 1 0 0 0 1.995.103C6.995 5.619 7.443 5 8.2 5c.668 0 1.2.533 1.2 1.2 0 .41-.136.684-.322.859-.19.179-.528.341-1.078.341a1 1 0 0 0-.995.898S7 8.448 7 9a1 1 0 0 0 1.956.291 3.214 3.214 0 0 0 1.491-.774c.64-.6.953-1.428.953-2.317C11.4 4.428 9.972 3 8.2 3Z",aR=!0,sR="0 0 16 16",lR="SAP-icons-v5",cR="@ui5/webcomponents-icons";ie(rR,{pathData:nR,ltr:aR,viewBox:sR,collection:lR,packageName:cR});var Yu;(function(t){t.Set1="Set1",t.Set2="Set2",t.Neutral="Neutral",t.Information="Information",t.Positive="Positive",t.Negative="Negative",t.Critical="Critical"})(Yu||(Yu={}));const _o=Yu;function uR(){return f(de,{children:this.interactive?f("button",{class:"ui5-tag-root",title:this._title,"aria-roledescription":this._roleDescription,"aria-description":this._valueState,onClick:this._onclick,part:"root",children:jp.call(this)}):f("div",{class:"ui5-tag-root",title:this._title,part:"root",children:jp.call(this)})})}function jp(){return z(de,{children:[f("slot",{name:"icon"}),this._semanticIconName&&f(Pe,{class:"ui5-tag-semantic-icon",name:this._semanticIconName}),f("span",{class:"ui5-hidden-text",children:this.tagDescription}),this.hasText&&f("span",{class:"ui5-tag-text",children:f("slot",{})})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const _R=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block}:host{font-size:var(--sapFontSmallSize);font-family:var(--sapFontBoldFamily);font-weight:var(--_ui5-tag-font-weight);letter-spacing:var(--_ui5-tag-letter-spacing);line-height:var(--_ui5-tag-height)}.ui5-tag-root{display:flex;align-items:baseline;justify-content:center;width:100%;min-width:1.125em;max-width:100%;box-sizing:border-box;padding:var(--_ui5-tag-text-padding);border:.0625rem solid;border-radius:var(--sapButton_BorderCornerRadius);white-space:normal;font-size:inherit;font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit}:host([interactive]) .ui5-tag-root:active{text-shadow:var(--ui5-tag-text-shadow)}:host([interactive]) .ui5-tag-root{cursor:pointer}:host([desktop][interactive]) .ui5-tag-root:focus,:host([interactive]) .ui5-tag-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:1px}:host([wrapping-type="None"]) .ui5-tag-root{white-space:nowrap}:host([_icon-only]) .ui5-tag-root{padding-inline:var(--_ui5-tag-padding-inline-icon-only)}.ui5-tag-text{text-transform:var(--_ui5-tag-text-transform);text-align:start;pointer-events:none;overflow:hidden;text-overflow:ellipsis}:host([_has-icon]) .ui5-tag-text{padding-inline-start:var(--_ui5-tag-icon-gap)}[ui5-icon],::slotted([ui5-icon]){width:var(--_ui5-tag-icon-width);min-width:var(--_ui5-tag-icon-width);color:inherit;pointer-events:none;align-self:flex-start}.ui5-tag-root{background-color:var(--sapNeutralBackground);border-color:var(--sapNeutralBorderColor);color:var(--sapTextColor);text-shadow:var(--ui5-tag-text-shadow)}:host([interactive]) .ui5-tag-root:hover{background-color:var(--sapButton_Neutral_Hover_Background);border-color:var(--sapButton_Neutral_Hover_BorderColor);color:var(--sapButton_Neutral_Hover_TextColor)}:host([interactive]) .ui5-tag-root:active{background-color:var(--sapButton_Neutral_Active_Background);border-color:var(--sapButton_Neutral_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([design="Positive"]) .ui5-tag-root{background-color:var(--sapButton_Success_Background);border-color:var(--sapButton_Success_BorderColor);color:var(--sapButton_Success_TextColor);text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([interactive][design="Positive"]) .ui5-tag-root:hover{background-color:var(--sapButton_Success_Hover_Background);border-color:var(--sapButton_Success_Hover_BorderColor);color:var(--sapButton_Success_Hover_TextColor)}:host([interactive][design="Positive"]) .ui5-tag-root:active{background-color:var(--sapButton_Success_Active_Background);border-color:var(--sapButton_Success_Active_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Negative"]) .ui5-tag-root{background-color:var(--sapButton_Negative_Background);border-color:var(--sapButton_Negative_BorderColor);color:var(--sapButton_Negative_TextColor);text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([interactive][design="Negative"]) .ui5-tag-root:hover{background-color:var(--sapButton_Negative_Hover_Background);border-color:var(--sapButton_Negative_Hover_BorderColor);color:var(--sapButton_Negative_Hover_TextColor)}:host([interactive][design="Negative"]) .ui5-tag-root:active{background-color:var(--sapButton_Negative_Active_Background);border-color:var(--sapButton_Negative_Active_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Critical"]) .ui5-tag-root{background-color:var(--sapButton_Critical_Background);border-color:var(--sapButton_Critical_BorderColor);color:var(--sapButton_Critical_TextColor);text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([interactive][design="Critical"]) .ui5-tag-root:hover{background-color:var(--sapButton_Critical_Hover_Background);border-color:var(--sapButton_Critical_Hover_BorderColor);color:var(--sapButton_Critical_Hover_TextColor)}:host([interactive][design="Critical"]) .ui5-tag-root:active{background-color:var(--sapButton_Critical_Active_Background);border-color:var(--sapButton_Critical_Active_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Information"]) .ui5-tag-root{background-color:var(--sapButton_Information_Background);border-color:var(--sapButton_Information_BorderColor);color:var(--sapButton_Information_TextColor);text-shadow:var(--ui5-tag-information-text-shadow)}:host([interactive][design="Information"]) .ui5-tag-root:hover{background-color:var(--sapButton_Information_Hover_Background);border-color:var(--sapButton_Information_Hover_BorderColor);color:var(--sapButton_Information_Hover_TextColor)}:host([interactive][design="Information"]) .ui5-tag-root:active{background-color:var(--sapButton_Information_Active_Background);border-color:var(--sapButton_Information_Active_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([design="Set1"]) .ui5-tag-root{text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([design="Set1"]) .ui5-tag-root,:host([interactive][design="Set1"]) .ui5-tag-root{background-color:var(--sapIndicationColor_1_Background);border-color:var(--sapIndicationColor_1_BorderColor);color:var(--sapIndicationColor_1_TextColor)}:host([interactive][design="Set1"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_1_Hover_Background)}:host([interactive][design="Set1"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_1_Active_Background);border-color:var(--sapIndicationColor_1_Active_BorderColor);color:var(--sapIndicationColor_1_Active_TextColor)}:host([design="Set1"][color-scheme="2"]) .ui5-tag-root{background-color:var(--sapIndicationColor_2_Background);border-color:var(--sapIndicationColor_2_BorderColor);color:var(--sapIndicationColor_2_TextColor)}:host([interactive][design="Set1"][color-scheme="2"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_2_Hover_Background)}:host([interactive][design="Set1"][color-scheme="2"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_2_Active_Background);border-color:var(--sapIndicationColor_2_Active_BorderColor);color:var(--sapIndicationColor_2_Active_TextColor)}:host([design="Set1"][color-scheme="3"]) .ui5-tag-root{background-color:var(--sapIndicationColor_3_Background);border-color:var(--sapIndicationColor_3_BorderColor);color:var(--sapIndicationColor_3_TextColor)}:host([interactive][design="Set1"][color-scheme="3"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_3_Hover_Background)}:host([interactive][design="Set1"][color-scheme="3"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_3_Active_Background);border-color:var(--sapIndicationColor_3_Active_BorderColor);color:var(--sapIndicationColor_3_Active_TextColor)}:host([design="Set1"][color-scheme="4"]) .ui5-tag-root{background-color:var(--sapIndicationColor_4_Background);border-color:var(--sapIndicationColor_4_BorderColor);color:var(--sapIndicationColor_4_TextColor)}:host([interactive][design="Set1"][color-scheme="4"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_4_Hover_Background)}:host([interactive][design="Set1"][color-scheme="4"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_4_Active_Background);border-color:var(--sapIndicationColor_4_Active_BorderColor);color:var(--sapIndicationColor_4_Active_TextColor)}:host([design="Set1"][color-scheme="5"]) .ui5-tag-root{background-color:var(--sapIndicationColor_5_Background);border-color:var(--sapIndicationColor_5_BorderColor);color:var(--sapIndicationColor_5_TextColor)}:host([interactive][design="Set1"][color-scheme="5"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_5_Hover_Background)}:host([interactive][design="Set1"][color-scheme="5"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_5_Active_Background);border-color:var(--sapIndicationColor_5_Active_BorderColor);color:var(--sapIndicationColor_5_Active_TextColor)}:host([design="Set1"][color-scheme="6"]) .ui5-tag-root{background-color:var(--sapIndicationColor_6_Background);border-color:var(--sapIndicationColor_6_BorderColor);color:var(--sapIndicationColor_6_TextColor)}:host([interactive][design="Set1"][color-scheme="6"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_6_Hover_Background)}:host([interactive][design="Set1"][color-scheme="6"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_6_Active_Background);border-color:var(--sapIndicationColor_6_Active_BorderColor);color:var(--sapIndicationColor_6_Active_TextColor)}:host([design="Set1"][color-scheme="7"]) .ui5-tag-root{background-color:var(--sapIndicationColor_7_Background);border-color:var(--sapIndicationColor_7_BorderColor);color:var(--sapIndicationColor_7_TextColor)}:host([interactive][design="Set1"][color-scheme="7"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_7_Hover_Background)}:host([interactive][design="Set1"][color-scheme="7"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_7_Active_Background);border-color:var(--sapIndicationColor_7_Active_BorderColor);color:var(--sapIndicationColor_7_Active_TextColor)}:host([design="Set1"][color-scheme="8"]) .ui5-tag-root{background-color:var(--sapIndicationColor_8_Background);border-color:var(--sapIndicationColor_8_BorderColor);color:var(--sapIndicationColor_8_TextColor)}:host([interactive][design="Set1"][color-scheme="8"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_8_Hover_Background)}:host([interactive][design="Set1"][color-scheme="8"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_8_Active_Background);border-color:var(--sapIndicationColor_8_Active_BorderColor);color:var(--sapIndicationColor_8_Active_TextColor)}:host([design="Set1"][color-scheme="9"]) .ui5-tag-root{background-color:var(--sapIndicationColor_9_Background);border-color:var(--sapIndicationColor_9_BorderColor);color:var(--sapIndicationColor_9_TextColor)}:host([interactive][design="Set1"][color-scheme="9"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_9_Hover_Background)}:host([interactive][design="Set1"][color-scheme="9"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_9_Active_Background);border-color:var(--sapIndicationColor_9_Active_BorderColor);color:var(--sapIndicationColor_9_Active_TextColor)}:host([design="Set1"][color-scheme="10"]) .ui5-tag-root{background-color:var(--sapIndicationColor_10_Background);border-color:var(--sapIndicationColor_10_BorderColor);color:var(--sapIndicationColor_10_TextColor)}:host([interactive][design="Set1"][color-scheme="10"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_10_Hover_Background)}:host([interactive][design="Set1"][color-scheme="10"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_10_Active_Background);border-color:var(--sapIndicationColor_10_Active_BorderColor);color:var(--sapIndicationColor_10_Active_TextColor)}:host([design="Set2"]) .ui5-tag-root{text-shadow:var(--ui5-tag-text-shadow)}:host([design="Set2"]) .ui5-tag-root,:host([interactive][design="Set2"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-1-background);border-color:var(--ui5-tag-set2-color-scheme-1-border);color:var(--ui5-tag-set2-color-scheme-1-color)}:host([interactive][design="Set2"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-1-hover-background)}:host([interactive][design="Set2"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-1-active-background);border-color:var(--ui5-tag-set2-color-scheme-1-active-border);color:var(--ui5-tag-set2-color-scheme-1-active-color)}:host([design="Set2"][color-scheme="2"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-2-background);border-color:var(--ui5-tag-set2-color-scheme-2-border);color:var(--ui5-tag-set2-color-scheme-2-color)}:host([design="Set2"][color-scheme="3"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-3-background);border-color:var(--ui5-tag-set2-color-scheme-3-border);color:var(--ui5-tag-set2-color-scheme-3-color)}:host([interactive][design="Set2"][color-scheme="3"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-3-hover-background)}:host([interactive][design="Set2"][color-scheme="3"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-3-active-background);border-color:var(--ui5-tag-set2-color-scheme-3-active-border);color:var(--ui5-tag-set2-color-scheme-3-active-color)}:host([design="Set2"][color-scheme="4"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-4-background);border-color:var(--ui5-tag-set2-color-scheme-4-border);color:var(--ui5-tag-set2-color-scheme-4-color)}:host([interactive][design="Set2"][color-scheme="4"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-4-hover-background)}:host([interactive][design="Set2"][color-scheme="4"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-4-active-background);border-color:var(--ui5-tag-set2-color-scheme-4-active-border);color:var(--ui5-tag-set2-color-scheme-4-active-color)}:host([design="Set2"][color-scheme="5"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-5-background);border-color:var(--ui5-tag-set2-color-scheme-5-border);color:var(--ui5-tag-set2-color-scheme-5-color)}:host([interactive][design="Set2"][color-scheme="5"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-5-hover-background)}:host([interactive][design="Set2"][color-scheme="5"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-5-active-background);border-color:var(--ui5-tag-set2-color-scheme-5-active-border);color:var(--ui5-tag-set2-color-scheme-5-active-color)}:host([design="Set2"][color-scheme="6"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-6-background);border-color:var(--ui5-tag-set2-color-scheme-6-border);color:var(--ui5-tag-set2-color-scheme-6-color)}:host([interactive][design="Set2"][color-scheme="6"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-6-hover-background)}:host([interactive][design="Set2"][color-scheme="6"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-6-active-background);border-color:var(--ui5-tag-set2-color-scheme-6-active-border);color:var(--ui5-tag-set2-color-scheme-6-active-color)}:host([design="Set2"][color-scheme="7"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-7-background);border-color:var(--ui5-tag-set2-color-scheme-7-border);color:var(--ui5-tag-set2-color-scheme-7-color)}:host([interactive][design="Set2"][color-scheme="7"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-7-hover-background)}:host([interactive][design="Set2"][color-scheme="7"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-7-active-background);border-color:var(--ui5-tag-set2-color-scheme-7-active-border);color:var(--ui5-tag-set2-color-scheme-7-active-color)}:host([design="Set2"][color-scheme="8"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-8-background);border-color:var(--ui5-tag-set2-color-scheme-8-border);color:var(--ui5-tag-set2-color-scheme-8-color)}:host([interactive][design="Set2"][color-scheme="8"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-8-hover-background)}:host([interactive][design="Set2"][color-scheme="8"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-8-active-background);border-color:var(--ui5-tag-set2-color-scheme-8-active-border);color:var(--ui5-tag-set2-color-scheme-8-active-color)}:host([design="Set2"][color-scheme="9"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-9-background);border-color:var(--ui5-tag-set2-color-scheme-9-border);color:var(--ui5-tag-set2-color-scheme-9-color)}:host([interactive][design="Set2"][color-scheme="9"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-9-hover-background)}:host([interactive][design="Set2"][color-scheme="9"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-9-active-background);border-color:var(--ui5-tag-set2-color-scheme-9-active-border);color:var(--ui5-tag-set2-color-scheme-9-active-color)}:host([interactive][design="Set2"][color-scheme="10"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-10-hover-background)}:host([interactive][design="Set2"][color-scheme="10"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-10-active-background);border-color:var(--ui5-tag-set2-color-scheme-10-active-border);color:var(--ui5-tag-set2-color-scheme-10-active-color)}:host([design="Set2"][color-scheme="10"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-10-background);border-color:var(--ui5-tag-set2-color-scheme-10-border);color:var(--ui5-tag-set2-color-scheme-10-color)}:host([interactive][design="Set2"][color-scheme="2"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-2-hover-background)}:host([interactive][design="Set2"][color-scheme="2"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-2-active-background);border-color:var(--ui5-tag-set2-color-scheme-2-active-border);color:var(--ui5-tag-set2-color-scheme-2-active-color)}:host([size="L"]){font-family:var(--sapFontSemiboldDuplexFamily);line-height:var(--_ui5-tag-height_size_l)}:host([size="L"]) .ui5-tag-root{font-size:var(--_ui5-tag-font-size_size_l);min-width:var(--_ui5-tag-min-width_size_l);padding:var(--_ui5-tag-text_padding_size_l)}:host([size="L"]) [ui5-icon],:host([size="L"]) ::slotted([ui5-icon]){min-width:var(--_ui5-tag-icon_min_width_size_l);min-height:var(--_ui5-tag-icon_min_height_size_l);height:var(--_ui5-tag-icon_height_size_l)} -`;var mi=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},Xo;let Wt=Xo=class extends Ke{constructor(){super(...arguments),this.design="Neutral",this.colorScheme="1",this.hideStateIcon=!1,this.interactive=!1,this.wrappingType="Normal",this.size="S",this._hasIcon=!1,this._iconOnly=!1}onEnterDOM(){zt()&&this.setAttribute("desktop","")}onBeforeRendering(){this._hasIcon=this.hasIcon||!!this._semanticIconName,this._iconOnly=this.iconOnly}get _roleDescription(){return Xo.i18nBundle.getText(vS)}get _valueState(){switch(this.design){case _o.Positive:return Xo.i18nBundle.getText(wS);case _o.Negative:return Xo.i18nBundle.getText(bS);case _o.Critical:return Xo.i18nBundle.getText(yS);case _o.Information:return Xo.i18nBundle.getText(CS)}}get hasText(){return J_(this.text)}get hasIcon(){return!!this.icon.length}get iconOnly(){return this.hasIcon&&!this.hasText}get _title(){return this.title||void 0}get tagDescription(){if(this.interactive)return;const e=this._valueState;let i=Xo.i18nBundle.getText(mS);return e&&(i=`${i} ${e}`),i}get _semanticIconName(){if(this.hideStateIcon||this.hasIcon)return null;switch(this.design){case _o.Neutral:return"sys-help-2";case _o.Positive:return"sys-enter-2";case _o.Negative:return"error";case _o.Critical:return"alert";case _o.Information:return"information";default:return null}}_onclick(e){e.stopPropagation(),this.fireDecoratorEvent("click")}};mi([p()],Wt.prototype,"design",void 0);mi([p()],Wt.prototype,"colorScheme",void 0);mi([p({type:Boolean})],Wt.prototype,"hideStateIcon",void 0);mi([p({type:Boolean})],Wt.prototype,"interactive",void 0);mi([p()],Wt.prototype,"wrappingType",void 0);mi([p()],Wt.prototype,"size",void 0);mi([p({type:Boolean})],Wt.prototype,"_hasIcon",void 0);mi([p({type:Boolean})],Wt.prototype,"_iconOnly",void 0);mi([ae({type:Node,default:!0})],Wt.prototype,"text",void 0);mi([ae()],Wt.prototype,"icon",void 0);mi([Xe("@ui5/webcomponents")],Wt,"i18nBundle",void 0);Wt=Xo=mi([ce({tag:"ui5-tag",languageAware:!0,renderer:we,template:uR,styles:_R}),j("click",{bubbles:!0})],Wt);Wt.define();const dR=Wt;function hR(){return f(dR,{design:"Critical","hide-state-icon":!0,children:this.effectiveText})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const pR=`[ui5-tag]::part(root){border:.0625rem solid var(--sapContent_BadgeBorderColor);background-color:var(--sapContent_BadgeBackground);color:var(--sapContent_BadgeTextColor);height:1rem;border-radius:.5rem;display:flex;align-items:center}:host([design="AttentionDot"]) [ui5-tag]::part(root){min-width:var(--_ui5-button-badge-diameter);min-height:var(--_ui5-button-badge-diameter);height:var(--_ui5-button-badge-diameter);width:var(--_ui5-button-badge-diameter);border-radius:100%} -`;var hd=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};let Bn=class extends Ke{constructor(){super(...arguments),this.design="AttentionDot",this.text=""}get effectiveText(){return this.design===hn.AttentionDot?"":this.text}};hd([p()],Bn.prototype,"design",void 0);hd([p()],Bn.prototype,"text",void 0);Bn=hd([ce({tag:"ui5-button-badge",renderer:we,template:hR,styles:pR})],Bn);Bn.define();const Pa=Bn;let Yo,kr;const Wp=t=>{t.style.position="absolute",t.style.clip="rect(1px,1px,1px,1px)",t.style.userSelect="none",t.style.left="-1000px",t.style.top="-1000px",t.style.pointerEvents="none"};jw(()=>{Yo&&kr||(Yo=document.createElement("span"),kr=document.createElement("span"),Yo.classList.add("ui5-invisiblemessage-polite"),kr.classList.add("ui5-invisiblemessage-assertive"),Yo.setAttribute("aria-live","polite"),kr.setAttribute("aria-live","assertive"),Yo.setAttribute("role","alert"),kr.setAttribute("role","alert"),Wp(Yo),Wp(kr),nu("ui5-announcement-area").appendChild(Yo),nu("ui5-announcement-area").appendChild(kr))});const o5=(t,e)=>{const i=Yo;i.textContent="",i.textContent=t,setTimeout(()=>{i.textContent===t&&(i.textContent="")},3e3)},fR="nav-back",gR="M11.723 13.285a.957.957 0 0 1 .277.702c0 .28-.092.514-.277.701a.967.967 0 0 1-.708.312.967.967 0 0 1-.707-.312L4.246 8.67a.723.723 0 0 0-.092-.156.362.362 0 0 0-.046-.077.362.362 0 0 1-.046-.078A1.106 1.106 0 0 1 4 8.016a.22.22 0 0 1 .015-.094.14.14 0 0 0 .016-.062.44.44 0 0 1 .092-.297c.02-.03.041-.067.062-.109.02-.02.03-.036.03-.046 0-.01.01-.026.031-.047.02-.021.03-.042.03-.063l6.032-5.986A.967.967 0 0 1 11.015 1c.267 0 .503.104.708.312.185.187.277.42.277.701a.957.957 0 0 1-.277.702l-4.77 4.802a.889.889 0 0 0 0 .997l4.77 4.771Z",mR=!1,vR=Bv,bR="0 0 16 16",yR="SAP-icons-v4",wR="@ui5/webcomponents-icons";ie(fR,{pathData:gR,ltr:mR,viewBox:bR,accData:vR,collection:yR,packageName:wR});const CR="nav-back",xR="M10.795 3.235a.75.75 0 0 0-1.06-.03l-4.5 4.247a.75.75 0 0 0 0 1.091l4.5 4.252a.75.75 0 1 0 1.03-1.09L6.843 7.997l3.922-3.702a.75.75 0 0 0 .03-1.06Z",SR=!1,kR=Bv,TR="0 0 16 16",IR="SAP-icons-v5",BR="@ui5/webcomponents-icons";ie(CR,{pathData:xR,ltr:SR,viewBox:TR,accData:kR,collection:IR,packageName:BR});const AR="nav-back";var Ju;(function(t){t.None="None",t.Single="Single",t.Multiple="Multiple"})(Ju||(Ju={}));const Zi=Ju,ER={listItemContent:LR};function RR(t){const e={...ER,...t};return td.call(this,e)}function LR(){return f("slot",{})}let Kp,ho;const Zn=()=>(Kp??(Kp=new iv("@ui5/webcomponents-base")),Kp),PR=t=>t.checkVisibility()||getComputedStyle(t).display==="contents",Zp=(t,e=[])=>{(!ho||!ho.isConnected)&&(ho=document.createElement("span"),ho.id="ui5-invisible-text",ho.hidden=!0,document.body.appendChild(ho));const i=[...t.ariaLabelledByElements||[]],o=i.indexOf(ho);e=Array.isArray(e)?e.filter(Boolean).join(" . ").trim():e.trim(),ho.textContent=e,e&&o===-1?(i.unshift(ho),t.ariaLabelledByElements=i):!e&&o>-1&&(i.splice(o,1),t.ariaLabelledByElements=i.length?i:null)},r5=(t,e={},i=!0)=>{if(!t)return"";if(t.nodeType===Node.TEXT_NODE)return t.data.trim();if(!(t instanceof HTMLElement))return"";if(t.hasAttribute("data-ui5-acc-text"))return t.getAttribute("data-ui5-acc-text")||"";if(t.ariaHidden==="true"||!PR(t))return i?Zn().getText(gp):"";let o=[];const r=[],n=t.accessibilityInfo,{lessDetails:a}=e;if(n){const{type:s,description:l,required:c,disabled:u,readonly:_,children:d}=n;o=d||[],s&&r.push(s),l&&r.push(l),a||(c&&r.push(Zn().getText(dS)),u&&r.push(Zn().getText(hS)),_&&r.push(Zn().getText(pS)))}else t.localName==="slot"?o=t.assignedNodes({flatten:!0}):o=t.shadowRoot?[...t.shadowRoot.childNodes]:[...t.childNodes];if(o.forEach(s=>{const l=r5(s,e,!1);l&&r.push(l)}),i){const s=r.length>0;if(!s||!a){const l=ql(t),c=[s?"":gp,fS,gS][Math.min(l.length,2)];c&&(s&&r.push("."),r.push(Zn().getText(c)))}}return r.join(" ").trim()};L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const OR=`:host(:not([hidden])){display:block}:host{min-height:var(--_ui5_list_item_base_height);height:auto;box-sizing:border-box}.ui5-li-root.ui5-custom-li-root{pointer-events:inherit;min-height:inherit}.ui5-li-root.ui5-custom-li-root .ui5-li-content{pointer-events:inherit}[ui5-checkbox].ui5-li-singlesel-radiobtn,[ui5-radio-button].ui5-li-singlesel-radiobtn{display:flex;align-items:center}.ui5-li-root.ui5-custom-li-root,[ui5-checkbox].ui5-li-singlesel-radiobtn,[ui5-radio-button].ui5-li-singlesel-radiobtn{min-width:var(--_ui5_custom_list_item_rb_min_width)}:host([_selection-mode="SingleStart"]) .ui5-li-root.ui5-custom-li-root{padding-inline:0 1rem}:host([_selection-mode="Multiple"]) .ui5-li-root.ui5-custom-li-root{padding-inline:0 1rem}:host([_selection-mode="SingleEnd"]) .ui5-li-root.ui5-custom-li-root{padding-inline:1rem 0} -`;var Kl=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},Qu;let Wr=Qu=class extends Za{constructor(){super(...arguments),this.movable=!1}_onkeydown(e){(this.matches(":focus")||Ai(e)||Lo(e)||hu(e)||pu(e)||ai(e)||li(e))&&super._onkeydown(e)}_onkeyup(e){(this.matches(":focus")||Ai(e)||Lo(e)||hu(e)||pu(e)||ai(e)||li(e))&&super._onkeyup(e)}get _accessibleNameRef(){return`${this._id}-invisibleText`}_onfocusin(e){super._onfocusin(e),!this._isDragging()&&!this.accessibleName&&this._updateInvisibleTextContent()}_onfocusout(e){super._onfocusout(e),!this._isDragging()&&!this.accessibleName&&this._clearInvisibleTextContent()}_isDragging(){return this.hasAttribute("data-moving")}_updateInvisibleTextContent(){const e=this._listItem;if(!e)return;const i=r5(this);Zp(e,i)}_clearInvisibleTextContent(){const e=this._listItem;e&&Zp(e,"")}_getDeleteButtonNodes(){var i;if(!this.modeDelete)return[];if(this.hasDeleteButtonSlot)return this.deleteButton;const e=(i=this.shadowRoot)==null?void 0:i.querySelector(`#${this._id}-deleteSelectionElement`);return e?[e]:[]}get classes(){const e=super.classes;return e.main["ui5-custom-li-root"]=!0,e}get accessibilityInfo(){var r;const e=[],i=(r=this.shadowRoot)==null?void 0:r.querySelector("slot:not([name])");if(i){const n=i.assignedNodes({flatten:!0});e.push(...n)}const o=this._getDeleteButtonNodes();return e.push(...o),{type:Qu.i18nBundle.getText(ok),children:e}}};Kl([p({type:Boolean})],Wr.prototype,"movable",void 0);Kl([p()],Wr.prototype,"accessibleName",void 0);Kl([Xe("@ui5/webcomponents")],Wr,"i18nBundle",void 0);Wr=Qu=Kl([ce({tag:"ui5-li-custom",template:RR,renderer:we,styles:[Za.styles,OR]})],Wr);Wr.define();const DR=Wr;function zR(){return f(DR,{class:"ui5-menu-separator",_forcedAccessibleRole:"separator",disabled:!0})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const NR=`:host{border-top:.0625rem solid var(--sapGroup_ContentBorderColor);min-height:.125rem}.ui5-menu-separator{border:inherit;min-height:inherit;background:inherit;opacity:1} -`;var MR=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};let e_=class extends Ka{get isSeparator(){return!0}get classes(){return{main:{"ui5-menu-separator":!0}}}get _focusable(){return!1}get _pressable(){return!1}};e_=MR([ce({tag:"ui5-menu-separator",renderer:we,styles:[NR],template:zR})],e_);e_.define();const sl=Pi("isSeparator");function $R(){return f("div",{role:"group","aria-label":this.ariaLabelText,"onui5-check":this._handleItemCheck,children:f("slot",{})})}var Zl=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},na;let An=na=class extends Ke{constructor(){super(...arguments),this.checkMode="None"}get ariaLabelText(){switch(this.checkMode){case Zi.None:return na.i18nBundle.getText(pk);case Zi.Single:return na.i18nBundle.getText(fk);case Zi.Multiple:return na.i18nBundle.getText(gk);default:return}}get isGroup(){return!0}get _menuItems(){return this.items.filter(fn)}onBeforeRendering(){this._updateItemsCheckMode(),this.checkMode===Zi.Single&&this._ensureSingleItemIsChecked()}_updateItemsCheckMode(){this._menuItems.forEach(e=>{e._checkMode=this.checkMode})}_clearCheckedItems(){this._menuItems.forEach(e=>{e.checked=!1})}_ensureSingleItemIsChecked(){const e=this._menuItems.findLast(i=>i.checked);this._clearCheckedItems(),e&&(e.checked=!0)}_handleItemCheck(e){const i=e.target,o=i.checked;this.checkMode===Zi.Single&&(this._clearCheckedItems(),i.checked=o)}};Zl([p()],An.prototype,"checkMode",void 0);Zl([ae({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],An.prototype,"items",void 0);Zl([Xe("@ui5/webcomponents")],An,"i18nBundle",void 0);An=na=Zl([ce({tag:"ui5-menu-item-group",renderer:we,template:$R})],An);An.define();const pn=Pi("isGroup");function FR(){return this._isPhone?z(eT,{"root-element":!0,accessibleName:this.accessibleName,accessibleNameRef:this.accessibleNameRef,accessibleDescription:this.accessibleDescription,accessibleDescriptionRef:this.accessibleDescriptionRef,accessibleRole:this.accessibleRole,stretch:!0,preventInitialFocus:this.preventInitialFocus,preventFocusRestore:this.preventFocusRestore,initialFocus:this.initialFocus,onBeforeOpen:this._beforeDialogOpen,onOpen:this._afterDialogOpen,onBeforeClose:this._beforeDialogClose,onClose:this._afterDialogClose,exportparts:"content, header, footer",open:this.open,children:[!this._hideHeader&&f(de,{children:this.header.length?f("slot",{slot:"header",name:"header"}):z("div",{class:this.classes.header,slot:"header",children:[this.headerText&&f(Z_,{level:"H1",wrappingType:"None",class:"ui5-popup-header-text ui5-responsive-popover-header-text",children:this.headerText}),!this._hideCloseButton&&f(J,{icon:X_,design:"Transparent",accessibleName:this._closeDialogAriaLabel,onClick:this._dialogCloseButtonClick})]})}),f("slot",{}),f("slot",{slot:"footer",name:"footer"})]}):$v.call(this)}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const HR=`:host{min-width:6.25rem;min-height:2rem}:host([on-phone]){display:contents}.ui5-responsive-popover-header{height:var(--_ui5-responsive_popover_header_height);display:flex;justify-content:var(--_ui5_popup_header_prop_header_text_alignment);align-items:center;width:100%}.ui5-responsive-popover-header-text{width:calc(100% - var(--_ui5_button_base_min_width))}.ui5-responsive-popover-header-no-title{justify-content:flex-end} -`;var Ja=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},t_;let Li=t_=class extends Dn{constructor(){super(),this.contentOnlyOnDesktop=!1,this._hideHeader=!1,this._hideCloseButton=!1}async openPopup(){We()?this._dialog&&(this._dialog.open=!0):await super.openPopup()}async _show(){if(!We())return super._show()}handleOpenOnEnterDOM(){this.open&&!We()&&(this.showPopover(),this.openPopup())}_dialogCloseButtonClick(){this.closePopup()}closePopup(e=!1,i=!1,o=!1){var r;We()?(r=this._dialog)==null||r.closePopup(e,i,o):super.closePopup(e,i,o)}toggle(e){if(this.open){this.closePopup();return}this.opener=e,this.open=!0}get classes(){const e=super.classes;return e.header={"ui5-responsive-popover-header":!0,"ui5-responsive-popover-header-no-title":!this.headerText},e}get _dialog(){return this.shadowRoot.querySelector("[ui5-dialog]")}get contentDOM(){return We()?this._dialog.contentDOM:super.contentDOM}get _isPhone(){return We()}get _displayHeader(){return(We()||!this.contentOnlyOnDesktop)&&super._displayHeader}get _displayFooter(){return We()||!this.contentOnlyOnDesktop}get _closeDialogAriaLabel(){return t_.i18nBundle.getText(tk)}_beforeDialogOpen(){this._opened=!0,this.open=!0,this.fireDecoratorEvent("before-open")}_afterDialogOpen(){this.fireDecoratorEvent("open")}_beforeDialogClose(e){this.fireDecoratorEvent("before-close",e.detail)}_afterDialogClose(){this._opened=!1,this.open=!1,this.fireDecoratorEvent("close")}get isModal(){return We()?this._dialog.isModal:super.isModal}};Ja([p({type:Boolean})],Li.prototype,"contentOnlyOnDesktop",void 0);Ja([p({type:Boolean})],Li.prototype,"_hideHeader",void 0);Ja([p({type:Boolean})],Li.prototype,"_hideCloseButton",void 0);Ja([Xe("@ui5/webcomponents")],Li,"i18nBundle",void 0);Li=t_=Ja([ce({tag:"ui5-responsive-popover",styles:[Dn.styles,HR],template:FR})],Li);Li.define();const UR={iconBegin:jR,menuItemTextContent:VR};function i_(t){const e={...UR,...t};return t!=null&&t.listItemContent||(e.listItemContent=function(){return z(de,{children:[e.menuItemTextContent.call(this),GR.call(this),qR.call(this)]})}),z(de,{children:[td.call(this,e),WR.call(this)]})}function VR(){return f(de,{children:this.text&&f("div",{class:"ui5-menu-item-text",children:this.text})})}function qR(){return this._markChecked?f("div",{class:"ui5-menu-item-checked",children:f(Pe,{name:Gv,class:"ui5-menu-item-icon-checked"})}):""}function GR(){switch(!0){case this.hasSubmenu:return f("div",{class:"ui5-menu-item-submenu-icon",children:f(Pe,{part:"subicon",name:ed,class:"ui5-menu-item-icon-end"})});case this.hasEndContent:return f("div",{class:"ui5-menu-item-end-content",role:"group","aria-label":this.endContentAccessibleName,children:f("slot",{name:"endContent",onKeyDown:this._endContentKeyDown})});case!!this.additionalText:return f("span",{part:"additional-text",class:"ui5-li-additional-text","aria-hidden":this._accInfo.ariaHidden,children:this.additionalText})}}function jR(){if(this.hasIcon)return f(Pe,{class:"ui5-li-icon",name:this.icon});if(this._siblingsWithIcon)return f("div",{class:"ui5-menu-item-dummy-icon"})}function WR(){return this.hasSubmenu&&z(Li,{id:`${this._id}-menu-rp`,class:"ui5-menu-rp ui5-menu-rp-sub-menu",preventInitialFocus:!0,preventFocusRestore:!0,hideArrow:!0,allowTargetOverlap:!0,placement:Br.End,verticalAlign:"Top",accessibleName:this.accessibleNameText,onBeforeOpen:this._beforePopoverOpen,onOpen:this._afterPopoverOpen,onBeforeClose:this._beforePopoverClose,onClose:this._afterPopoverClose,children:[this.isPhone&&f(de,{children:z("div",{slot:"header",class:"ui5-menu-dialog-header",children:[f(J,{icon:AR,class:"ui5-menu-back-button",design:"Transparent","aria-label":this.labelBack,onClick:this._close}),f("div",{class:"ui5-menu-dialog-title",children:f("div",{children:this.text})})]})}),f("div",{id:`${this._id}-menu-main`,class:this.loading?"menu-busy-indicator-main":"","aria-busy":this.loading,children:this.items.length?f(pe,{id:`${this._id}-menu-list`,selectionMode:"None",separators:"None",accessibleRole:"Menu",loading:this.loading,loadingDelay:this.loadingDelay,onMouseOver:this._itemMouseOver,onKeyDown:this._itemKeyDown,onKeyUp:this._itemKeyUp,"onui5-close-menu":this._close,"onui5-exit-end-content":this._navigateOutOfEndContent,children:f("slot",{})}):this.loading&&f(Nn,{id:`${this._id}-menu-busy-indicator`,delay:this.loadingDelay,class:"ui5-menu-busy-indicator",active:!0})}),this.isPhone&&f("div",{slot:"footer",class:"ui5-menu-dialog-footer",children:f(J,{design:"Transparent",onClick:this._closeAll,children:this.labelCancel})})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const KR=`:host{line-height:initial}::slotted([ui5-menu-item]){line-height:inherit}.ui5-menu-rp[ui5-responsive-popover]::part(header),.ui5-menu-rp[ui5-responsive-popover]::part(content),.ui5-menu-rp[ui5-responsive-popover]::part(footer){padding:0}.ui5-menu-rp[ui5-responsive-popover]{box-shadow:var(--sapContent_Shadow1);border-radius:var(--_ui5_menu_popover_border_radius)}.ui5-menu-busy-indicator{width:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ui5-menu-busy-indicator-main{min-height:var(--_ui5_list_item_base_height)}.ui5-menu-dialog-header{display:flex;height:var(--_ui5-responsive_popover_header_height);align-items:center;justify-content:space-between;padding:0px 1rem;width:100%;overflow:hidden}.ui5-menu-dialog-title{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:calc(100% - 6.5rem);padding-right:1rem;font-family:var(--sapFontHeaderFamily)}.ui5-menu-dialog-title>h1{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--sapFontHeader5Size)}.ui5-menu-back-button{margin-right:1rem}.ui5-menu-dialog-footer{display:flex;align-items:center;justify-content:flex-end;padding:0 1rem;width:100%;border-top:.0625rem solid var(--sapPageFooter_BorderColor)}.ui5-menu-rp.ui5-menu-rp-sub-menu{margin-top:.25rem;margin-inline:var(--_ui5_menu_submenu_margin_offset)}:host([disabled]){pointer-events:initial;opacity:initial}:host([disabled])::part(content){opacity:var(--_ui5-listitembase_disabled_opacity)}:host([disabled][actionable]:not([active]):not([selected]):hover),:host([disabled][active][actionable]){background:var(--ui5-listitem-background-color)}:host([active]:not([disabled])),:host([active]:not([disabled])):hover{background-color:var(--sapList_Active_Background)}:host(:not([active]):not([selected]):not([disabled]):hover){background-color:var(--sapList_Hover_Background)}:host([disabled][active][actionable]) .ui5-li-root .ui5-li-icon{color:var(--sapContent_NonInteractiveIconColor)}:host([active]:not([disabled]))::part(content),:host([active]:not([disabled]))::part(additional-text),:host([active]:not([disabled])) .ui5-li-root .ui5-li-icon{color:var(--sapList_Active_TextColor)}:host([focused]:not([active]):not([disabled])){background-color:var(--sapList_Hover_Background)}:host::part(additional-text){margin:unset;margin-inline-start:1rem;color:var(--sapContent_LabelColor);min-width:max-content}.ui5-menu-item-text{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;display:inline-block;font-size:var(--sapFontSize)}.ui5-menu-item-dummy-icon{visibility:hidden}:host::part(title){font-size:var(--sapFontSize);padding-top:.125rem}:host([icon]:not([is-phone]))::part(title),:host([is-phone]:not([icon=""]))::part(title){padding-top:0}:host(:not([is-phone]))::part(native-li){user-select:none;padding:var(--_ui5_menu_item_padding)}:host::part(content){padding-inline-end:.25rem}.ui5-menu-item-submenu-icon{min-width:var(--_ui5_list_item_icon_size);min-height:var(--_ui5_list_item_icon_size);display:inline-block;vertical-align:middle;pointer-events:none}.ui5-menu-item-icon-end{display:inline-block;vertical-align:middle;padding-inline-start:.5rem;pointer-events:none;position:absolute;inset-inline-end:var(--_ui5_menu_item_submenu_icon_right)}.ui5-menu-item-submenu-icon .ui5-menu-item-icon-end{color:var(--sapContent_NonInteractiveIconColor)}.ui5-menu-item-dummy-icon{min-width:var(--_ui5_list_item_icon_size);min-height:var(--_ui5_list_item_icon_size);display:inline-block;vertical-align:middle;padding-inline-end:.75rem;pointer-events:none}.ui5-menu-item-checked{padding-inline-start:.5rem;padding-inline-end:0;font-weight:400;text-align:center}.ui5-menu-item-icon-checked{color:var(--sapContent_BusyColor);padding-top:.25rem}.ui5-menu-item-end-content{display:inline-flex;align-items:center}.ui5-menu-busy-indicator{position:absolute;width:100%;top:50%;left:50%;transform:translate(-50%,-50%)} -`;var $t=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},Jo;let mt=Jo=class extends Za{constructor(){super(),this.disabled=!1,this.loading=!1,this.loadingDelay=1e3,this.checked=!1,this._siblingsWithIcon=!1,this._checkMode="None",this._shiftPressed=!1,this._openedByMouse=!1,this._itemNavigation=new el(this,{navigationMode:Ki.Horizontal,behavior:Dr.Static,getItemsCallback:()=>this._navigableItems})}get _list(){return this.shadowRoot&&this.shadowRoot.querySelector("[ui5-list]")}get _navigableItems(){return[...this.endContent].filter(e=>e.hasAttribute("ui5-button")||e.hasAttribute("ui5-link")||e.hasAttribute("ui5-icon")&&e.getAttribute("mode")==="Interactive")}get _isCheckable(){return this._checkMode!==Zi.None}_navigateToEndContent(e){const i=this._navigableItems,o=e?i[i.length-1]:i[0];o&&(this._itemNavigation.setCurrentItem(o),this._itemNavigation._focusCurrentItem())}get isRtl(){return this.effectiveDir==="rtl"}get hasSubmenu(){return!!(this.items.length||this.loading)&&!this.disabled}get hasEndContent(){return!!this.endContent.length}get hasIcon(){return!!this.icon}get isSubMenuOpen(){var e;return(e=this._popover)==null?void 0:e.open}get menuHeaderTextPhone(){return this.text}get isPhone(){return We()}get labelBack(){return Jo.i18nBundle.getText(hk)}get labelCancel(){return Jo.i18nBundle.getText(Lv)}get accessibleNameText(){return Jo.i18nBundle.getText(Pv)}get endContentAccessibleName(){return Jo.i18nBundle.getText(mk)}get loadingText(){return Jo.i18nBundle.getText(Eu)}get ariaSelectedText(){const e=[],i=super.ariaSelectedText;return i&&e.push(i),this.hasSubmenu&&this.loading&&e.push(this.loadingText),e.length?e.join(" "):void 0}onBeforeRendering(){super.onBeforeRendering();const e=this._allMenuItems.some(i=>!!i.icon);this._setupItemNavigation(),this._allMenuItems.forEach(i=>{i._siblingsWithIcon=e})}async focus(e){if(await Qi(),this.hasSubmenu&&this.isSubMenuOpen){const i=this._allMenuItems;return i[0]&&i[0].focus(e)}return super.focus(e)}get _focusable(){return!0}get _role(){switch(this._checkMode){case Zi.Single:return"menuitemradio";case Zi.Multiple:return"menuitemcheckbox";default:return"menuitem"}}get _accInfo(){const e={role:this.accessibilityAttributes.role||this._role,ariaHaspopup:this.hasSubmenu?"menu":void 0,ariaKeyShortcuts:this.accessibilityAttributes.ariaKeyShortcuts,ariaExpanded:this.hasSubmenu?this.isSubMenuOpen:void 0,ariaHidden:this.additionalText&&this.accessibilityAttributes.ariaKeyShortcuts?!0:void 0,ariaChecked:this._markChecked?!0:void 0};return{...super._accInfo,...e}}get _popover(){return this.shadowRoot&&this.shadowRoot.querySelector("[ui5-responsive-popover]")}get _markChecked(){return!this.hasSubmenu&&this.checked&&this._checkMode!==Zi.None}get _menuItemGroups(){return this.items.filter(pn)}get _menuItems(){return this.items.filter(fn)}get _allMenuItems(){const e=[];return this.getSlottedNodes("items").forEach(o=>{pn(o)?e.push(...o._menuItems):sl(o)||e.push(o)}),e}get _navigatableMenuItems(){const e=[];return this.getSlottedNodes("items").forEach(o=>{if(pn(o)){const r=o.getSlottedNodes("items");e.push(...r)}else sl(o)||e.push(o)}),e}_setupItemNavigation(){this._list&&(this._list._itemNavigation._getItems=()=>this._navigatableMenuItems)}_closeOtherSubMenus(e){const i=this._allMenuItems;i.includes(e)&&i.forEach(o=>{o!==e&&o._close()})}_itemMouseOver(e){var o;if(!zt())return;const i=e.target;fn(i)&&((o=i.getFocusDomRef())==null||o.focus(),this._closeOtherSubMenus(i))}_isSpace(e){return this._shiftPressed=this._isCheckable&&_u(e),Fe(e)||_u(e)}_isEnter(e){return this._shiftPressed=this._isCheckable&&Ws(e),Ye(e)||Ws(e)}_onclick(e){this._shiftPressed=this._isCheckable&&e.shiftKey,super._onclick(e)}_itemKeyDown(e){const i=e.target,o=this._allMenuItems.includes(i),r=Ai(e)||Lo(e),n=this.isRtl?Tt(e):vt(e);o&&(r||n)&&(this._close(),this.focus(),e.stopPropagation())}_itemKeyUp(e){Aa(e)&&(this._shiftPressed=!1)}_endContentKeyDown(e){(ai(e)||li(e))&&this.fireDecoratorEvent("exit-end-content",{shouldNavigateToNextItem:li(e)})}_navigateOutOfEndContent(e){const i=e.target,o=e.detail.shouldNavigateToNextItem,r=this._allMenuItems,n=r.indexOf(i);if(n>-1){const s=(o?r[n+1]:r[n-1])||r[n];s==null||s.focus(),e.stopPropagation()}}_closeAll(){this._popover&&(this._popover.open=!1),this.selected=!1,this.fireDecoratorEvent("close-menu")}_close(){this._popover&&(this._popover.open=!1,this._allMenuItems.forEach(e=>e._close())),this.selected=!1}_beforePopoverOpen(e){!this.fireDecoratorEvent("before-open",{})&&e.preventDefault()}_afterPopoverOpen(){var e;this._openedByMouse||(e=this._allMenuItems[0])==null||e.focus(),this.loading&&o5(Jo.i18nBundle.getText(Eu)),this.fireDecoratorEvent("open")}_beforePopoverClose(e){if(!this.fireDecoratorEvent("before-close",{escPressed:e.detail.escPressed})){e.preventDefault();return}this.selected=!1,e.detail.escPressed&&(this.focus(),We()&&this.fireDecoratorEvent("close-menu"))}_afterPopoverClose(){this._openedByMouse=!1,this.fireDecoratorEvent("close")}get isMenuItem(){return!0}_updateCheckedState(){if(this._checkMode===Zi.None)return;const e=!this.checked;this.checked=e,this.fireDecoratorEvent("check")}};$t([p()],mt.prototype,"text",void 0);$t([p()],mt.prototype,"additionalText",void 0);$t([p()],mt.prototype,"icon",void 0);$t([p({type:Boolean})],mt.prototype,"disabled",void 0);$t([p({type:Boolean})],mt.prototype,"loading",void 0);$t([p({type:Number})],mt.prototype,"loadingDelay",void 0);$t([p()],mt.prototype,"accessibleName",void 0);$t([p()],mt.prototype,"tooltip",void 0);$t([p({type:Boolean})],mt.prototype,"checked",void 0);$t([p({type:Object})],mt.prototype,"accessibilityAttributes",void 0);$t([p({type:Boolean,noAttribute:!0})],mt.prototype,"_siblingsWithIcon",void 0);$t([p()],mt.prototype,"_checkMode",void 0);$t([ae({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],mt.prototype,"items",void 0);$t([ae()],mt.prototype,"endContent",void 0);$t([Xe("@ui5/webcomponents")],mt,"i18nBundle",void 0);mt=Jo=$t([ce({tag:"ui5-menu-item",renderer:we,template:i_,styles:[Za.styles,KR]}),j("before-open",{cancelable:!0}),j("open"),j("close-menu",{bubbles:!0}),j("exit-end-content",{bubbles:!0}),j("before-close",{cancelable:!0}),j("close"),j("check",{bubbles:!0})],mt);mt.define();const n5=mt,fn=Pi("isMenuItem"),ZR="slim-arrow-down",XR="M13.13 5.178c.227-.237.466-.237.715 0a.445.445 0 0 1 .155.327.445.445 0 0 1-.155.327l-5.13 4.9A1.065 1.065 0 0 1 8 11a.953.953 0 0 1-.684-.267l-5.16-4.901A.46.46 0 0 1 2 5.49a.46.46 0 0 1 .155-.341.503.503 0 0 1 .715 0L7.845 9.9c.103.119.217.119.342 0l4.943-4.723Z",YR=!1,JR="0 0 16 16",QR="SAP-icons-v4",e7="@ui5/webcomponents-icons";ie(ZR,{pathData:XR,ltr:YR,viewBox:JR,collection:QR,packageName:e7});const t7="slim-arrow-down",i7="M12.83 6.273a.75.75 0 0 1-.104 1.056l-4.247 3.5a.75.75 0 0 1-.954 0l-4.252-3.5a.75.75 0 0 1 .954-1.158l3.775 3.107 3.771-3.107a.75.75 0 0 1 1.056.102Z",o7=!1,r7="0 0 16 16",n7="SAP-icons-v5",a7="@ui5/webcomponents-icons";ie(t7,{pathData:i7,ltr:o7,viewBox:r7,collection:n7,packageName:a7});const a5="slim-arrow-down";function s7(){var t,e,i,o,r,n,a,s,l,c,u,_,d,h,g,y;return z("div",{role:this._hideArrowButton?"presentation":"group",class:"ui5-split-button-root",tabindex:this._tabIndex,"aria-labelledby":this._hideArrowButton?void 0:`${this._id}-invisibleTextDefault ${this._id}-invisibleText`,"aria-haspopup":(e=(t=this._computedAccessibilityAttributes)==null?void 0:t.root)==null?void 0:e.hasPopup,"aria-roledescription":(o=(i=this._computedAccessibilityAttributes)==null?void 0:i.root)==null?void 0:o.roleDescription,"aria-label":(n=(r=this._computedAccessibilityAttributes)==null?void 0:r.root)==null?void 0:n.title,"aria-keyshortcuts":(s=(a=this._computedAccessibilityAttributes)==null?void 0:a.root)==null?void 0:s.ariaKeyShortcuts,onFocusOut:this._onFocusOut,onKeyDown:this._onKeyDown,onKeyUp:this._onKeyUp,children:[f(J,{class:"ui5-split-text-button",design:this.design,icon:this.icon,endIcon:this._endIcon,tabindex:-1,disabled:this.disabled,active:this._textButtonActive,exportparts:"icon,endIcon,button",onClick:this._handleMouseClick,onTouchStart:this.handleTouchStart,onMouseDown:this.handleTouchStart,onMouseUp:this._textButtonRelease,onFocusIn:this._onInnerButtonFocusIn,onFocusOut:this._onFocusOut,tooltip:(c=(l=this._computedAccessibilityAttributes)==null?void 0:l.root)==null?void 0:c.title,children:this.isTextButton&&f("slot",{})}),!this._hideArrowButton&&z(de,{children:[f(J,{class:"ui5-split-arrow-button",design:this.design,icon:a5,tabindex:-1,tooltip:(_=(u=this._computedAccessibilityAttributes)==null?void 0:u.arrowButton)==null?void 0:_.title,accessibilityAttributes:{hasPopup:(h=(d=this._computedAccessibilityAttributes)==null?void 0:d.arrowButton)==null?void 0:h.hasPopup,expanded:(y=(g=this._computedAccessibilityAttributes)==null?void 0:g.arrowButton)==null?void 0:y.expanded},disabled:this.disabled,active:this.effectiveActiveArrowButton,part:"arrowButton",onClick:this._handleArrowButtonAction,onMouseDown:this._arrowButtonPress,onMouseUp:this._arrowButtonRelease,onFocusIn:this._onInnerButtonFocusIn,onActiveStateChange:this._onArrowButtonActiveStateChange}),z("span",{id:`${this._id}-invisibleText`,class:"ui5-hidden-text",children:[this.accInfo.keyboardHint," ",this.accessibleName]}),f("span",{id:`${this._id}-invisibleTextDefault`,class:"ui5-hidden-text",children:this.buttonTextContent})]})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const l7=`:host{vertical-align:middle}.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-flex;height:var(--_ui5_button_base_height);border-radius:var(--_ui5_button_border_radius);background-color:var(--sapButton_Background);box-shadow:var(--_ui5_split_button_host_default_box_shadow)}:host([active-arrow-button][design="Negative"]) .ui5-split-arrow-button,:host([design="Negative"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Reject_Selected_Background);border:.0625rem solid var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([active-arrow-button][design="Positive"]) .ui5-split-arrow-button,:host([design="Positive"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Accept_Selected_Background);border:.0625rem solid var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Active_TextColor)}:host([active-arrow-button][design="Attention"]) .ui5-split-arrow-button,:host([design="Attention"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Attention_Selected_Background);border:.0625rem solid var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([active-arrow-button][design="Emphasized"]) .ui5-split-arrow-button,:host([design="Emphasized"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Emphasized_Active_Background);border:.0625rem solid var(--sapButton_Emphasized_Active_BorderColor)}:host([active-arrow-button][design="Transparent"]) .ui5-split-arrow-button,:host([active-arrow-button]) .ui5-split-arrow-button,:host([design="Transparent"]) .ui5-split-arrow-button[active],:host([design="Default"]) .ui5-split-arrow-button[active],.ui5-split-arrow-button[active],.ui5-split-arrow-button[active]:hover{background-color:var(--sapButton_Active_Background);border:.0625rem solid var(--sapButton_Lite_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([disabled]:not([hidden])){pointer-events:none;opacity:var(--sapContent_DisabledOpacity)}:host([design="Positive"]:not([hidden])){background-color:var(--sapButton_Accept_Background);box-shadow:var(--_ui5_split_button_host_positive_box_shadow)}:host([design="Negative"]:not([hidden])){background-color:var(--sapButton_Reject_Background);box-shadow:var(--_ui5_split_button_host_negative_box_shadow)}:host([design="Attention"]:not([hidden])){background-color:var(--sapButton_Attention_Background);box-shadow:var(--_ui5_split_button_host_attention_box_shadow)}:host([design="Emphasized"]:not([hidden])){background-color:var(--sapButton_Emphasized_Background);box-shadow:var(--_ui5_split_button_host_emphasized_box_shadow)}:host([design="Transparent"]:not([hidden])){background-color:var(--sapButton_Lite_Background);box-shadow:var(--_ui5_split_button_host_transparent_box_shadow)}:host([design="Transparent"][disabled]:not([hidden])){background-color:var(--_ui5_split_button_transparent_disabled_background)}:host([design="Transparent"]:not([hidden]):not([disabled]):hover){background-color:var(--_ui5_split_button_host_transparent_hover_background);box-shadow:var(--_ui5_split_button_host_transparent_hover_box_shadow)}:host([design="Transparent"]:not([hidden]):not([disabled]):hover) .ui5-split-arrow-button:not(:hover),:host([design="Transparent"]:not([hidden]):not([disabled]):hover) .ui5-split-text-button:not(:hover){color:var(--_ui5_split_button_transparent_hover_color)}:host([desktop]) .ui5-split-button-root:focus-within,.ui5-split-button-root:focus-visible{outline:0}:host([desktop]) .ui5-split-button-root:focus-within:after,.ui5-split-button-root:focus-visible:after{content:"";position:absolute;box-sizing:border-box;inset:.125rem;border:var(--_ui5_split_button_focused_border);pointer-events:none;border-radius:var(--_ui5_split_button_focused_border_radius)}:host([design="Emphasized"][desktop]) .ui5-split-button-root:focus-within:after,:host([design="Emphasized"]) .ui5-split-button-root:focus-visible:after{border-color:var(--sapContent_ContrastFocusColor)}:host([design="Emphasized"][desktop]) .ui5-split-button-root:focus-within .ui5-split-text-button[active]::part(button):after,:host([design="Emphasized"]) .ui5-split-button-root:focus-visible .ui5-split-text-button[active]::part(button):after{content:"";position:absolute;box-sizing:border-box;inset:.0625rem;border:var(--_ui5_split_button_focused_border);border-radius:var(--_ui5_split_button_focused_border_radius)}:host([design="Emphasized"][desktop]) .ui5-split-button-root:has(.ui5-split-text-button[active]):after,:host([design="Emphasized"]) .ui5-split-button-root:has(.ui5-split-text-button[active]):after{border-color:transparent}.ui5-split-button-root{display:inline-flex;position:relative;width:inherit;height:100%}.ui5-split-button-root:focus,.ui5-split-text-button:focus,.ui5-split-arrow-button:focus{outline:0}.ui5-split-text-button{border-start-end-radius:var(--sapButton_Segment_BorderCornerRadius);border-end-end-radius:var(--sapButton_Segment_BorderCornerRadius);border-width:.0625rem;border-inline-end-width:var(--_ui5_split_button_text_button_right_border_width);border-color:var(--_ui5_split_text_button_border_color);background-color:var(--_ui5_split_text_button_background_color);vertical-align:top;flex-grow:1}.ui5-split-text-button:hover{border-start-end-radius:var(--sapButton_Segment_BorderCornerRadius);border-end-end-radius:var(--sapButton_Segment_BorderCornerRadius);background-color:var(--sapButton_Hover_Background);box-shadow:none;border:var(--_ui5_split_text_button_hover_border);border-inline-end:var(--_ui5_split_text_button_hover_border_right)}.ui5-split-text-button[design=Emphasized]{border:var(--_ui5_split_text_button_emphasized_border);border-width:var(--_ui5_split_text_button_emphasized_border_width)}.ui5-split-text-button[design=Emphasized]:hover{background-color:var(--sapButton_Emphasized_Hover_Background)}.ui5-split-text-button[design=Positive]:hover{background-color:var(--sapButton_Accept_Hover_Background);border:var(--_ui5_split_text_button_positive_hover_border);border-inline-end:var(--_ui5_split_text_button_positive_hover_border_right)}.ui5-split-text-button[design=Negative]:hover{background-color:var(--sapButton_Reject_Hover_Background);border:var(--_ui5_split_text_button_negative_hover_border);border-inline-end:var(--_ui5_split_text_button_negative_hover_border_right)}.ui5-split-text-button[design=Attention]:hover{background-color:var(--sapButton_Attention_Hover_Background);border:var(--_ui5_split_text_button_attention_hover_border);border-inline-end:var(--_ui5_split_text_button_attention_hover_border_right)}.ui5-split-text-button[design=Transparent]:hover{background-color:var(--_ui5_split_button_transparent_hover_background);border:var(--_ui5_split_text_button_transparent_hover_border);border-inline-end:var(--_ui5_split_text_button_transparent_hover_border_right)}.ui5-split-text-button[active][design=Emphasized]{background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Emphasized_Active_TextColor);border-color:var(--sapButton_Emphasized_Active_BorderColor)}.ui5-split-text-button[active][design=Negative]{background-color:var(--sapButton_Reject_Selected_Background);color:var(--sapButton_Reject_Active_TextColor);border-color:var(--sapButton_Reject_Active_BorderColor)}.ui5-split-text-button[active][design=Positive]{background-color:var(--sapButton_Accept_Selected_Background);color:var(--sapButton_Accept_Active_TextColor);border-color:var(--sapButton_Accept_Active_BorderColor)}.ui5-split-text-button[active][design=Attention]{background-color:var(--sapButton_Attention_Selected_Background);color:var(--sapButton_Attention_Active_TextColor);border-color:var(--sapButton_Attention_Active_BorderColor)}.ui5-split-text-button[active][design=Default],.ui5-split-text-button[active][design=Transparent]{background-color:var(--sapButton_Active_Background);color:var(--sapButton_Active_TextColor);border-color:var(--sapButton_Active_BorderColor)}.ui5-split-text-button[active]{outline:0}.ui5-split-arrow-button{border-start-start-radius:var(--sapButton_Segment_BorderCornerRadius);border-end-start-radius:var(--sapButton_Segment_BorderCornerRadius);border-color:var(--_ui5_split_text_button_border_color);background-color:var(--_ui5_split_text_button_background_color);position:relative;border-width:.0625rem;overflow:visible}.ui5-split-arrow-button:hover{border-start-start-radius:var(--sapButton_Segment_BorderCornerRadius);border-end-start-radius:var(--sapButton_Segment_BorderCornerRadius);background-color:var(--sapButton_Hover_Background);box-shadow:none;border:var(--_ui5_split_arrow_button_hover_border)}.ui5-split-arrow-button[design=Emphasized]:hover{background-color:var(--sapButton_Emphasized_Hover_Background);border:var(--_ui5_split_arrow_button_emphasized_hover_border);box-shadow:var(--_ui5_split_arrow_button_emphasized_hover_box_shadow, none)}:dir(rtl).ui5-split-arrow-button[design=Emphasized]:hover{box-shadow:var(--_ui5_split_arrow_button_emphasized_hover_box_shadow_rtl, none)}.ui5-split-arrow-button[design=Positive]:hover{background-color:var(--sapButton_Accept_Hover_Background);border:var(--_ui5_split_arrow_button_positive_hover_border)}.ui5-split-arrow-button[design=Negative]:hover{background-color:var(--sapButton_Reject_Hover_Background);border:var(--_ui5_split_arrow_button_negative_hover_border)}.ui5-split-arrow-button[design=Attention]:hover{background-color:var(--sapButton_Attention_Hover_Background);border:var(--_ui5_split_arrow_button_attention_hover_border)}.ui5-split-arrow-button[design=Transparent]:hover{background-color:var(--_ui5_split_button_transparent_hover_background);border:var(--_ui5_split_arrow_button_transparent_hover_border)}.ui5-split-arrow-button:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;width:.0625rem;background-color:var(--sapButton_TextColor);inset-inline-start:var(--_ui5_split_button_middle_separator_left);inset-block-start:var(--_ui5_split_button_middle_separator_top);height:var(--_ui5_split_button_middle_separator_height)}.ui5-split-arrow-button[design=Emphasized]:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;inset-inline-start:var(--_ui5_split_button_middle_separator_left);inset-block-start:var(--_ui5_split_button_middle_separator_top);inset-inline-end:0;height:var(--_ui5_split_button_middle_separator_height);width:.0625rem}.ui5-split-text-button:hover+.ui5-split-arrow-button:before,.ui5-split-arrow-button:hover:before{display:var(--_ui5_split_button_middle_separator_hover_display)}.ui5-split-arrow-button[design=Emphasized]:hover:before{display:var(--_ui5_split_button_middle_separator_hover_display_emphasized)}.ui5-split-arrow-button[design=Transparent]:before{background-color:var(--sapButton_Lite_TextColor)}.ui5-split-arrow-button[design=Emphasized]:before{background-color:var(--sapButton_Emphasized_TextColor)}.ui5-split-arrow-button[design=Positive]:before{background-color:var(--sapButton_Accept_TextColor)}.ui5-split-arrow-button[design=Negative]:before{background-color:var(--sapButton_Reject_TextColor)}.ui5-split-arrow-button[design=Attention]:before{background-color:var(--_ui5_split_button_attention_separator_color_default)}.ui5-split-arrow-button[desktop]::part(button):focus-within:after,.ui5-split-arrow-button::part(button):focus-visible:after{border-start-start-radius:var(--_ui5_split_button_inner_focused_border_radius_inner);border-end-start-radius:var(--_ui5_split_button_inner_focused_border_radius_inner)}.ui5-split-arrow-button[desktop]::part(button):focus-within:after,.ui5-split-text-button::part(button):focus-visible:after{border-start-end-radius:var(--_ui5_split_button_inner_focused_border_radius_inner);border-end-end-radius:var(--_ui5_split_button_inner_focused_border_radius_inner)}.ui5-split-text-button[active][design=Emphasized]{color:var(--sapButton_Emphasized_Active_TextColor);background-color:var(--sapButton_Emphasized_Active_Background)}:host([design="Emphasized"][active-arrow-button]) .ui5-split-arrow-button,.ui5-split-arrow-button[active][design=Emphasized]{background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Emphasized_Active_TextColor);border:var(--_ui5_split_arrow_button_emphasized_hover_border)}:host([design="Transparent"][active-arrow-button]:not([hidden]):not([disabled]):hover) .ui5-split-arrow-button{color:var(--sapButton_Active_TextColor)}:host([active-arrow-button]) .ui5-split-arrow-button{border:.0625rem solid var(--sapButton_Lite_Active_BorderColor)}:host([active-arrow-button]) .ui5-split-arrow-button:before,.ui5-split-arrow-button[active]:before,.ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--sapButton_TextColor)}:host([design="Emphasized"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Emphasized"]) .ui5-split-arrow-button[active]:before,:host([design="Emphasized"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5_split_button_emphasized_separator_color)}:host([design="Positive"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Positive"]) .ui5-split-arrow-button[active]:before,:host([design="Positive"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5_split_button_positive_separator_color)}:host([design="Negative"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Negative"]) .ui5-split-arrow-button[active]:before,:host([design="Negative"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5_split_button_negative_separator_color)}:host([design="Attention"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Attention"]) .ui5-split-arrow-button[active]:before,:host([design="Attention"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5_split_button_attention_separator_color)}.ui5-split-text-button::part(button){justify-content:flex-start;padding:0 var(--_ui5_button_base_padding)} -`;var Xt=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},Qo;let It=Qo=class extends Ke{constructor(){super(...arguments),this.activeArrowButton=!1,this.design="Default",this.disabled=!1,this._tabIndex=0,this._shiftOrEscapePressedDuringSpace=!1,this._textButtonActive=!1,this._activeArrowButton=!1,this._hideArrowButton=!1,this.accessibilityAttributes={}}onBeforeRendering(){this.disabled&&(this._tabIndex=-1)}_handleMouseClick(e){this._fireClick(e)}_onFocusOut(){this.disabled||this.getFocusDomRef().matches(":has(:focus-within)")||(this._resetActionButtonStates(),this._setTabIndexValue())}handleTouchStart(e){e.stopPropagation(),this._textButtonActive=!0,this._tabIndex=-1}_onInnerButtonFocusIn(e){e.stopPropagation(),this._setTabIndexValue(!0),e.target.focus()}_onKeyDown(e){if(this._isArrowKeyAction(e)){this._handleArrowButtonAction(e),this._activeArrowButton=!0;return}if(this._isDefaultAction(e)){this._handleDefaultAction(e);return}(Aa(e)||Ro(e))&&this._textButtonActive&&(e.preventDefault(),this._shiftOrEscapePressedDuringSpace=!0),Ro(e)&&!this._textButtonActive&&this._resetActionButtonStates(),this._tabIndex=-1}_onKeyUp(e){const i=e.target;if(this._isArrowKeyAction(e)){e.preventDefault(),this._activeArrowButton=!1;return}if(Fe(e)){e.preventDefault(),e.stopPropagation(),this._textButtonActive=!1,this._shiftOrEscapePressedDuringSpace||(i!==this.arrowButton?this._fireClick():this._fireArrowClick()),this._shiftOrEscapePressedDuringSpace=!1;return}(Ye(e)||Aa(e)&&this._textButtonActive)&&(this._textButtonActive=!1)}_resetActionButtonStates(){this._activeArrowButton=!1,this._textButtonActive=!1,this._shiftOrEscapePressedDuringSpace=!1}_fireClick(e){e==null||e.stopPropagation(),this.fireDecoratorEvent("click")}_fireArrowClick(e){e==null||e.stopPropagation(),this.fireDecoratorEvent("arrow-click")}_textButtonRelease(){this._textButtonActive=!1,this._tabIndex=-1}_arrowButtonPress(e){e.stopPropagation(),this._tabIndex=-1}_arrowButtonRelease(e){e.preventDefault(),this._tabIndex=-1}_setTabIndexValue(e){this._tabIndex=this.disabled?-1:0,this._tabIndex===-1&&e&&(this._tabIndex=0)}_onArrowButtonActiveStateChange(e){this.activeArrowButton&&e.preventDefault()}_isArrowKeyAction(e){return li(e)||ai(e)||pC(e)||hC(e)||Im(e)}_isDefaultAction(e){return Fe(e)||Ye(e)}_handleArrowButtonAction(e){e.preventDefault(),this._fireArrowClick(e)}_handleDefaultAction(e){e.preventDefault();const i=e.target;if(Ye(e)){if(this.arrowButton&&i===this.arrowButton){this._activeArrowButton=!0,this._fireArrowClick();return}this._textButtonActive=!0,this._fireClick(e);return}(Lo(e)||Ai(e))&&this._resetActionButtonStates()}get effectiveActiveArrowButton(){return this.activeArrowButton||this._activeArrowButton}get buttonTextContent(){return this.textContent}get isTextButton(){return!!this.textContent}get textButton(){var e;return(e=this.getDomRef())==null?void 0:e.querySelector(".ui5-split-text-button")}get arrowButton(){var e;return(e=this.getDomRef())==null?void 0:e.querySelector(".ui5-split-arrow-button")}get _computedAccessibilityAttributes(){var e,i,o,r,n,a,s,l,c,u,_,d,h,g;return{root:{hasPopup:(i=(e=this.accessibilityAttributes)==null?void 0:e.root)==null?void 0:i.hasPopup,roleDescription:((r=(o=this.accessibilityAttributes)==null?void 0:o.root)==null?void 0:r.roleDescription)||(this._hideArrowButton?void 0:Qo.i18nBundle.getText(Pc)),title:(a=(n=this.accessibilityAttributes)==null?void 0:n.root)==null?void 0:a.title,ariaKeyShortcuts:(l=(s=this.accessibilityAttributes)==null?void 0:s.root)==null?void 0:l.ariaKeyShortcuts},arrowButton:{hasPopup:((u=(c=this.accessibilityAttributes)==null?void 0:c.arrowButton)==null?void 0:u.hasPopup)||"menu",expanded:((d=(_=this.accessibilityAttributes)==null?void 0:_.arrowButton)==null?void 0:d.expanded)||this.effectiveActiveArrowButton,title:((g=(h=this.accessibilityAttributes)==null?void 0:h.arrowButton)==null?void 0:g.title)||this.arrowButtonTooltip}}}get accInfo(){return{keyboardHint:Qo.i18nBundle.getText(vp),description:Qo.i18nBundle.getText(Pc)}}get arrowButtonTooltip(){return Qo.i18nBundle.getText(dk)}get isSplitButton(){return!0}get ariaLabelText(){return[Qo.i18nBundle.getText(Pc),Qo.i18nBundle.getText(vp)].join(" ")}};Xt([p()],It.prototype,"icon",void 0);Xt([p({type:Boolean})],It.prototype,"activeArrowButton",void 0);Xt([p()],It.prototype,"design",void 0);Xt([p({type:Boolean})],It.prototype,"disabled",void 0);Xt([p()],It.prototype,"accessibleName",void 0);Xt([p({type:Number,noAttribute:!0})],It.prototype,"_tabIndex",void 0);Xt([p({type:Boolean,noAttribute:!0})],It.prototype,"_shiftOrEscapePressedDuringSpace",void 0);Xt([p({type:Boolean,noAttribute:!0})],It.prototype,"_textButtonActive",void 0);Xt([p({type:Boolean,noAttribute:!0})],It.prototype,"_activeArrowButton",void 0);Xt([p({type:String})],It.prototype,"_endIcon",void 0);Xt([p({type:Boolean})],It.prototype,"_hideArrowButton",void 0);Xt([p({type:Object})],It.prototype,"accessibilityAttributes",void 0);Xt([ae({type:Node,default:!0})],It.prototype,"text",void 0);Xt([Xe("@ui5/webcomponents")],It,"i18nBundle",void 0);It=Qo=Xt([ce({tag:"ui5-split-button",renderer:we,styles:l7,template:s7}),j("click",{bubbles:!0}),j("arrow-click",{bubbles:!0})],It);It.define();const c7=Pi("isSplitButton");function u7(){return z(Li,{id:`${this._id}-menu-rp`,class:"ui5-menu-rp",placement:this.placement,verticalAlign:"Bottom",horizontalAlign:this.horizontalAlign,opener:this.opener,open:this.open,preventInitialFocus:!0,hideArrow:!0,allowTargetOverlap:!0,accessibleName:this.accessibleNameText,onBeforeOpen:this._beforePopoverOpen,onOpen:this._afterPopoverOpen,onBeforeClose:this._beforePopoverClose,onClose:this._afterPopoverClose,children:[this.isPhone&&f("div",{slot:"header",class:"ui5-menu-dialog-header",children:f("div",{class:"ui5-menu-dialog-title",children:f("h1",{children:this.headerText})})}),f("div",{id:`${this._id}-menu-main`,class:this.loading?"ui5-menu-busy-indicator-main":"",children:this.items.length?f(pe,{id:`${this._id}- menu-list`,selectionMode:"None",loading:this.loading,loadingDelay:this.loadingDelay,separators:"None",accessibleRole:"Menu",onItemClick:this._itemClick,onMouseOver:this._itemMouseOver,onKeyDown:this._itemKeyDown,"onui5-close-menu":this._close,"onui5-exit-end-content":this._navigateOutOfEndContent,children:f("slot",{})}):this.loading&&f(Nn,{id:`${this._id}-menu-busy-indicator`,delay:this.loadingDelay,class:"ui5-menu-busy-indicator",active:!0})}),this.isPhone&&f("div",{slot:"footer",class:"ui5-menu-dialog-footer",children:f(J,{design:"Transparent",onClick:this._close,children:this.labelCancel})})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents","sap_horizon",async()=>fe,"host");const s5=`:host{line-height:initial}::slotted([ui5-menu-item]){line-height:inherit}.ui5-menu-rp[ui5-responsive-popover]::part(header),.ui5-menu-rp[ui5-responsive-popover]::part(content),.ui5-menu-rp[ui5-responsive-popover]::part(footer){padding:0}.ui5-menu-rp[ui5-responsive-popover]{box-shadow:var(--sapContent_Shadow1);border-radius:var(--_ui5_menu_popover_border_radius)}.ui5-menu-busy-indicator{width:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ui5-menu-busy-indicator-main{min-height:var(--_ui5_list_item_base_height)}.ui5-menu-dialog-header{display:flex;height:var(--_ui5-responsive_popover_header_height);align-items:center;justify-content:space-between;padding:0px 1rem;width:100%;overflow:hidden}.ui5-menu-dialog-title{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:calc(100% - 6.5rem);padding-right:1rem;font-family:var(--sapFontHeaderFamily)}.ui5-menu-dialog-title>h1{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--sapFontHeader5Size)}.ui5-menu-back-button{margin-right:1rem}.ui5-menu-dialog-footer{display:flex;align-items:center;justify-content:flex-end;padding:0 1rem;width:100%;border-top:.0625rem solid var(--sapPageFooter_BorderColor)} -`;var oo=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},aa;const _7=300;let ci=aa=class extends Ke{constructor(){super(...arguments),this.open=!1,this.placement="Bottom",this.horizontalAlign="Start",this.loading=!1,this.loadingDelay=1e3}get isRtl(){return this.effectiveDir==="rtl"}get labelCancel(){return aa.i18nBundle.getText(Lv)}get isPhone(){return We()}get _popover(){return this.shadowRoot.querySelector("[ui5-responsive-popover]")}get _list(){return this.shadowRoot.querySelector("[ui5-list]")}get _opener(){return typeof this.opener=="string"?document.getElementById(this.opener):this.opener}get _menuItemGroups(){return this.items.filter(pn)}get _menuItems(){return this.items.filter(fn)}get _allMenuItems(){const e=[];return this.getSlottedNodes("items").forEach(o=>{pn(o)?e.push(...o._menuItems):sl(o)||e.push(o)}),e}get _navigatableMenuItems(){const e=[];return this.getSlottedNodes("items").forEach(o=>{if(pn(o)){const r=o.getSlottedNodes("items");e.push(...r)}else sl(o)||e.push(o)}),e}get accessibleNameText(){return aa.i18nBundle.getText(Pv)}onBeforeRendering(){const e=this._allMenuItems.some(i=>!!i.icon);this._setupItemNavigation(),this._allMenuItems.forEach(i=>{i._siblingsWithIcon=e})}getFocusDomRef(){var e;return(e=this._list)==null?void 0:e.getFocusDomRef()}_setupItemNavigation(){this._list&&(this._list._itemNavigation._getItems=()=>this._navigatableMenuItems)}_close(){this.open=!1}_openItemSubMenu(e,i=!1){clearTimeout(this._timeout),!(!e._popover||e._popover.open)&&(this.fireDecoratorEvent("before-open",{item:e}),e._popover.opener=e,e._popover.open=!0,e.selected=!0,e._openedByMouse=i)}_itemMouseOver(e){var o;if(!zt())return;const i=e.target;fn(i)&&((o=i.getFocusDomRef())==null||o.focus(),this._startOpenTimeout(i))}async focus(e){await Qi();const i=this._allMenuItems[0];return i?i.focus(e):super.focus(e)}_closeOtherSubMenus(e){const i=this._allMenuItems;i.includes(e)&&i.forEach(o=>{o!==e&&o._close()})}_startOpenTimeout(e){clearTimeout(this._timeout),this._timeout=setTimeout(()=>{this._closeOtherSubMenus(e),this._openItemSubMenu(e,!0)},_7)}_itemClick(e){const i=e.detail.item;i._popover?this._openItemSubMenu(i):!this.fireDecoratorEvent("item-click",{item:i,text:i.text||""})||(i._updateCheckedState(),this._popover&&!i._shiftPressed&&i.fireDecoratorEvent("close-menu"))}_itemKeyDown(e){const i=Ai(e)||Lo(e),o=gC(e),r=this._opener&&c7(this._opener),n=e.target;if(!fn(n))return;const a=Tt(e)||vt(e),s=this.isRtl?vt(e):Tt(e);(Ye(e)||i||o&&r)&&e.preventDefault(),a&&n._navigateToEndContent(vt(e)),s?this._openItemSubMenu(n,!1):(i||o&&r)&&this._close()}_navigateOutOfEndContent(e){const i=e.target,o=e.detail.shouldNavigateToNextItem,r=this._allMenuItems,n=r.indexOf(i);if(n>-1){const s=(o?r[n+1]:r[n-1])||r[n];s==null||s.focus(),e.stopPropagation()}}_beforePopoverOpen(e){!this.fireDecoratorEvent("before-open",{})&&(this.open=!1,e.preventDefault())}_afterPopoverOpen(){var e;(e=this._allMenuItems[0])==null||e.focus(),this.loading&&o5(aa.i18nBundle.getText(Eu)),this.fireDecoratorEvent("open")}_beforePopoverClose(e){!this.fireDecoratorEvent("before-close",{escPressed:e.detail.escPressed})&&(this.open=!0,e.preventDefault())}_afterPopoverClose(){this.open=!1,this.fireDecoratorEvent("close")}};oo([p()],ci.prototype,"headerText",void 0);oo([p({type:Boolean})],ci.prototype,"open",void 0);oo([p()],ci.prototype,"placement",void 0);oo([p()],ci.prototype,"horizontalAlign",void 0);oo([p({type:Boolean})],ci.prototype,"loading",void 0);oo([p({type:Number})],ci.prototype,"loadingDelay",void 0);oo([p({converter:zv})],ci.prototype,"opener",void 0);oo([ae({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],ci.prototype,"items",void 0);oo([Xe("@ui5/webcomponents")],ci,"i18nBundle",void 0);ci=aa=oo([ce({tag:"ui5-menu",renderer:we,styles:s5,template:u7}),j("item-click",{cancelable:!0}),j("before-open",{bubbles:!0,cancelable:!0}),j("open",{bubbles:!0}),j("close-menu",{bubbles:!0}),j("before-close",{bubbles:!0,cancelable:!0}),j("close")],ci);ci.define();const l5=ci,d7="search",h7="M15.643 14.071c.238.215.357.483.357.804 0 .321-.119.59-.357.804a1.069 1.069 0 0 1-.786.321 1.19 1.19 0 0 1-.821-.321l-4.179-4.215a6.155 6.155 0 0 1-3.571 1.107c-.857 0-1.667-.16-2.429-.482a6.215 6.215 0 0 1-2-1.339 6.462 6.462 0 0 1-1.357-2A6.08 6.08 0 0 1 0 6.286c0-.857.167-1.667.5-2.429a6.463 6.463 0 0 1 1.357-2 6.463 6.463 0 0 1 2-1.357A5.993 5.993 0 0 1 6.286 0c.857 0 1.666.167 2.428.5a6.462 6.462 0 0 1 2 1.357 6.463 6.463 0 0 1 1.357 2c.334.762.5 1.572.5 2.429a5.84 5.84 0 0 1-.303 1.893 7.776 7.776 0 0 1-.804 1.678l4.179 4.214ZM6.286 11.43A5.08 5.08 0 0 0 9.91 9.946a5.258 5.258 0 0 0 1.107-1.642c.274-.631.41-1.304.41-2.018 0-.715-.136-1.381-.41-2A5.317 5.317 0 0 0 9.91 2.66a5.315 5.315 0 0 0-1.625-1.107 4.888 4.888 0 0 0-2-.411c-.715 0-1.387.137-2.018.41A5.256 5.256 0 0 0 2.624 2.66a5.064 5.064 0 0 0-1.482 3.625c0 .714.13 1.387.393 2.018a5.015 5.015 0 0 0 1.089 1.642 5.015 5.015 0 0 0 1.643 1.09 5.21 5.21 0 0 0 2.018.393Z",p7=!0,f7=Ev,g7="0 0 16 16",m7="SAP-icons-v4",v7="@ui5/webcomponents-icons";ie(d7,{pathData:h7,ltr:p7,viewBox:g7,accData:f7,collection:m7,packageName:v7});const b7="search",y7="M7 1a6 6 0 0 1 4.738 9.678l3.042 3.042a.75.75 0 1 1-1.06 1.06l-3.042-3.042A6 6 0 1 1 7 1Zm0 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z",w7=!0,C7=Ev,x7="0 0 16 16",S7="SAP-icons-v5",k7="@ui5/webcomponents-icons";ie(b7,{pathData:y7,ltr:w7,viewBox:x7,accData:C7,collection:S7,packageName:k7});const T7="search",I7="bell",B7="M1 13c0-.146.156-.365.469-.656.312-.292.635-.714.968-1.266.334-.552.6-1.255.797-2.11.198-.853.183-1.905-.046-3.155a3.583 3.583 0 0 1 .093-1.704c.167-.53.427-1 .781-1.406a4.65 4.65 0 0 1 1.313-1.031 5.498 5.498 0 0 1 1.656-.578c0-.313.073-.573.219-.781C7.396.104 7.646 0 8 0c.292 0 .526.094.703.281.177.188.266.459.266.813a5.41 5.41 0 0 1 1.562.562c.5.271.927.615 1.281 1.032.355.416.61.89.766 1.421.156.532.172 1.1.047 1.704-.25 1.25-.266 2.302-.047 3.156.219.854.505 1.557.86 2.11.354.551.703.973 1.046 1.265.344.291.516.51.516.656a.974.974 0 0 1-.281.719A.974.974 0 0 1 14 14h-4a1.92 1.92 0 0 1-.594 1.406A1.922 1.922 0 0 1 8 16a1.92 1.92 0 0 1-1.406-.594A1.922 1.922 0 0 1 6 14H2a.973.973 0 0 1-.719-.281A.974.974 0 0 1 1 13Zm1.219 0H13.75c-.208-.23-.474-.547-.797-.953-.323-.406-.614-.912-.875-1.516-.26-.604-.448-1.312-.562-2.125-.115-.812-.068-1.74.14-2.781.104-.52.078-.98-.078-1.375-.156-.396-.328-.708-.515-.938-.396-.479-.834-.817-1.313-1.015C9.27 2.099 8.687 2 8 2c-.667 0-1.266.099-1.797.297a3.275 3.275 0 0 0-1.39 1.015c-.209.23-.396.542-.563.938-.167.396-.198.854-.094 1.375.188 1.042.23 1.969.125 2.781-.104.813-.27 1.521-.5 2.125-.229.604-.495 1.11-.797 1.516A13.01 13.01 0 0 1 2.22 13Z",A7=!1,E7="0 0 16 16",R7="SAP-icons-v4",L7="@ui5/webcomponents-icons";ie(I7,{pathData:B7,ltr:A7,viewBox:E7,collection:R7,packageName:L7});const P7="bell",O7="M8 1c2.21 0 3.628.956 4.451 2.315.789 1.302.99 2.902.99 4.19v.636c0 1.072.341 1.976.691 2.62.189.347.41.678.669.974.442.469.098 1.265-.546 1.265h-3.837c-.281 1.15-1.256 2-2.418 2-1.162 0-2.137-.85-2.418-2H1.745c-.646 0-.989-.798-.544-1.267a5.19 5.19 0 0 0 .666-.971c.35-.645.691-1.55.691-2.621v-.636c0-1.288.202-2.888.99-4.19C4.372 1.955 5.791 1 8 1Zm0 1.5c-1.695 0-2.621.69-3.167 1.592-.582.96-.774 2.237-.774 3.413v.636c0 1.404-.45 2.563-.885 3.359h9.652c-.436-.795-.886-1.955-.886-3.36v-.635c0-1.176-.191-2.453-.773-3.413C10.621 3.19 9.695 2.5 8 2.5Z",D7=!1,z7="0 0 16 16",N7="SAP-icons-v5",M7="@ui5/webcomponents-icons";ie(P7,{pathData:O7,ltr:D7,viewBox:z7,collection:N7,packageName:M7});const $7="bell",F7="grid",H7="M12.313 11.313h1.718c.292 0 .526.093.703.28.178.188.266.428.266.72V14c0 .292-.088.531-.266.719-.177.187-.411.281-.703.281h-1.719c-.291 0-.525-.094-.703-.281a1.005 1.005 0 0 1-.265-.719v-1.688c0-.291.088-.53.265-.718.178-.188.412-.281.704-.281ZM7.125 6.155h1.719c.291 0 .526.094.703.282.177.187.265.427.265.718v1.688a.99.99 0 0 1-.28.703.91.91 0 0 1-.688.297H7.125a.91.91 0 0 1-.688-.297.988.988 0 0 1-.28-.703V7.156c0-.291.088-.531.265-.718.177-.188.411-.282.703-.282Zm4.219-2.468V2c0-.292.088-.531.265-.719.178-.187.412-.281.704-.281h1.718c.292 0 .526.094.703.281.178.188.266.427.266.719v1.688c0 .27-.094.505-.281.703a.911.911 0 0 1-.688.296h-1.719a.91.91 0 0 1-.687-.296.988.988 0 0 1-.281-.704Zm.969 2.468h1.718c.292 0 .526.094.703.282.178.187.266.427.266.718v1.688c0 .27-.094.505-.281.703a.911.911 0 0 1-.688.297h-1.719a.91.91 0 0 1-.687-.297.988.988 0 0 1-.281-.703V7.156c0-.291.088-.531.265-.718.178-.188.412-.282.704-.282ZM1.969 1h1.718c.292 0 .527.094.704.281.177.188.265.427.265.719v1.688c0 .27-.093.505-.281.703a.91.91 0 0 1-.688.296H1.97a.91.91 0 0 1-.688-.296A.988.988 0 0 1 1 3.687V2c0-.292.089-.531.266-.719.177-.187.411-.281.703-.281ZM1 7.156c0-.291.089-.531.266-.718.177-.188.411-.282.703-.282h1.718c.292 0 .527.094.704.282.177.187.265.427.265.718v1.688c0 .27-.093.505-.281.703a.91.91 0 0 1-.688.297H1.97a.91.91 0 0 1-.688-.297A.988.988 0 0 1 1 8.844V7.156Zm.969 4.157h1.718c.292 0 .527.093.704.28.177.188.265.428.265.72V14c0 .27-.093.505-.281.703a.91.91 0 0 1-.688.297H1.97a.91.91 0 0 1-.688-.297A.988.988 0 0 1 1 14v-1.688c0-.291.089-.53.266-.718.177-.188.411-.281.703-.281ZM7.125 1h1.719c.291 0 .526.094.703.281.177.188.265.427.265.719v1.688a.99.99 0 0 1-.28.703.91.91 0 0 1-.688.296H7.125a.91.91 0 0 1-.688-.296.988.988 0 0 1-.28-.704V2c0-.292.088-.531.265-.719.177-.187.411-.281.703-.281Zm-.969 11.313c0-.292.089-.532.266-.72.177-.187.411-.28.703-.28h1.719c.291 0 .526.093.703.28.177.188.265.428.265.72V14a.99.99 0 0 1-.28.703.91.91 0 0 1-.688.297H7.125a.91.91 0 0 1-.688-.297.988.988 0 0 1-.28-.703v-1.688Z",U7=!1,V7="0 0 16 16",q7="SAP-icons-v4",G7="@ui5/webcomponents-icons";ie(F7,{pathData:H7,ltr:U7,viewBox:V7,collection:q7,packageName:G7});const j7="grid",W7="M2.5 12a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM8 12a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm5.5 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-11-5.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm5.5 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm5.5 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM2.5 1a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM8 1a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm5.5 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z",K7=!1,Z7="0 0 16 16",X7="SAP-icons-v5",Y7="@ui5/webcomponents-icons";ie(j7,{pathData:W7,ltr:K7,viewBox:Z7,collection:X7,packageName:Y7});const J7="grid",Q7="da",eL="M1.125 5.094 8 14.625l6.906-9.563L12.125 1H4.281L1.125 5.094ZM8 16a.478.478 0 0 1-.406-.219L.094 5.375A.603.603 0 0 1 0 5.062a.45.45 0 0 1 .094-.28L3.656.187A.473.473 0 0 1 4.031 0h8.344c.188 0 .323.073.406.219l3.125 4.562a.457.457 0 0 1 .094.282.603.603 0 0 1-.094.312l-7.5 10.406A.478.478 0 0 1 8 16Zm3.75-10.188c-.542.188-.953.422-1.234.704-.282.28-.506.692-.672 1.234-.063.167-.177.25-.344.25-.167 0-.281-.083-.344-.25-.166-.542-.39-.953-.672-1.234-.28-.282-.692-.516-1.234-.704C7.083 5.771 7 5.668 7 5.5s.083-.281.25-.344c.542-.187.953-.422 1.234-.703.282-.281.506-.693.672-1.234C9.22 3.073 9.333 3 9.5 3c.167 0 .281.073.344.219.166.541.39.953.672 1.234.28.281.692.516 1.234.703.167.063.25.177.25.344a.415.415 0 0 1-.047.188c-.031.062-.099.104-.203.125Z",tL=!0,iL="0 0 16 16",oL="SAP-icons-v4",rL="@ui5/webcomponents-icons";ie(Q7,{pathData:eL,ltr:tL,viewBox:iL,collection:oL,packageName:rL});const nL="da",aL="M12 0a.75.75 0 0 1 .62.326l3.25 4.752a.75.75 0 0 1-.018.871l-7.25 9.753a.756.756 0 0 1-1.204 0L.148 5.95a.75.75 0 0 1-.017-.871L3.437.254A.75.75 0 0 1 4 0h8ZM1.67 5.484 8 13.998l6.328-8.514L11.605 1.5h-7.21L1.671 5.484Zm7.5-2.25a.35.35 0 0 1 .66 0c.37 1.084.85 1.575 1.93 1.937.32.11.32.562 0 .662-1.08.371-1.57.853-1.93 1.936a.35.35 0 0 1-.66 0c-.37-1.083-.85-1.575-1.93-1.936-.32-.11-.32-.562 0-.662 1.08-.372 1.57-.853 1.93-1.937Z",sL=!0,lL="0 0 16 16",cL="SAP-icons-v5",uL="@ui5/webcomponents-icons";ie(nL,{pathData:aL,ltr:sL,viewBox:lL,collection:cL,packageName:uL});const _L="da",dL="overflow",hL="M14 6c.542 0 1.01.198 1.406.594.396.396.594.864.594 1.406a1.92 1.92 0 0 1-.594 1.406A1.922 1.922 0 0 1 14 10a1.92 1.92 0 0 1-1.406-.594A1.922 1.922 0 0 1 12 8c0-.542.198-1.01.594-1.406A1.922 1.922 0 0 1 14 6Zm0 3a.974.974 0 0 0 .719-.281A.973.973 0 0 0 15 8a.973.973 0 0 0-.281-.719A.974.974 0 0 0 14 7a.974.974 0 0 0-.719.281A.973.973 0 0 0 13 8c0 .292.094.531.281.719A.974.974 0 0 0 14 9ZM8 6c.542 0 1.01.198 1.406.594C9.802 6.99 10 7.458 10 8a1.92 1.92 0 0 1-.594 1.406A1.922 1.922 0 0 1 8 10a1.92 1.92 0 0 1-1.406-.594A1.922 1.922 0 0 1 6 8c0-.542.198-1.01.594-1.406A1.922 1.922 0 0 1 8 6Zm0 3a.973.973 0 0 0 .719-.281A.973.973 0 0 0 9 8a.973.973 0 0 0-.281-.719A.973.973 0 0 0 8 7a.973.973 0 0 0-.719.281A.973.973 0 0 0 7 8c0 .292.094.531.281.719A.973.973 0 0 0 8 9ZM2 6c.542 0 1.01.198 1.406.594C3.802 6.99 4 7.458 4 8a1.92 1.92 0 0 1-.594 1.406A1.922 1.922 0 0 1 2 10a1.92 1.92 0 0 1-1.406-.594A1.922 1.922 0 0 1 0 8c0-.542.198-1.01.594-1.406A1.922 1.922 0 0 1 2 6Zm0 3a.973.973 0 0 0 .719-.281A.973.973 0 0 0 3 8a.973.973 0 0 0-.281-.719A.973.973 0 0 0 2 7a.973.973 0 0 0-.719.281A.973.973 0 0 0 1 8c0 .292.094.531.281.719A.973.973 0 0 0 2 9Z",pL=!1,fL=Av,gL="0 0 16 16",mL="SAP-icons-v4",vL="@ui5/webcomponents-icons";ie(dL,{pathData:hL,ltr:pL,viewBox:gL,accData:fL,collection:mL,packageName:vL});const bL="overflow",yL="M2 6a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm6 0a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm6 0a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z",wL=!1,CL=Av,xL="0 0 16 16",SL="SAP-icons-v5",kL="@ui5/webcomponents-icons";ie(bL,{pathData:yL,ltr:wL,viewBox:xL,accData:CL,collection:SL,packageName:kL});const c5="overflow";function TL(){return this.inOverflow?f(id,{icon:this.icon?`sap-icon://${this.icon}`:"",type:"Active","data-count":this.count,"data-ui5-stable":this.stableDomRef,accessibilityAttributes:this.accessibilityAttributes,children:this.text}):f(J,{class:"ui5-shellbar-action-button",icon:this.icon,design:"Transparent",accessibleName:this.text,"data-ui5-stable":this.stableDomRef,accessibilityAttributes:this.accessibilityAttributes,onClick:this.fireClickEvent,children:this.count&&f(Pa,{slot:"badge",design:"OverlayText",text:this.count})})}const Di=`:host{--_ui5_timeline_scroll_container_offset: .5rem;--_ui5_shellbar_notification_btn_count_offset: .125rem;--_ui5_side_navigation_item_expand_icon_hover_left: auto;--_ui5_side_navigation_item_expand_icon_hover_right: 0;--_ui5_fcl_solid_bg: var(--sapShell_Background);--_ui5_fcl_column_border: solid .0625rem var(--sapGroup_ContentBorderColor);--_ui5_fcl_decoration_top: linear-gradient(to top, var(--sapHighlightColor), transparent);--_ui5_fcl_decoration_bottom: linear-gradient(to bottom, var(--sapHighlightColor), transparent);--sapIllus_BrandColorPrimary: var(--sapContent_Illustrative_Color1);--sapIllus_BrandColorSecondary: var(--sapContent_Illustrative_Color2);--sapIllus_StrokeDetailColor: var(--sapContent_Illustrative_Color4);--sapIllus_Layering1: var(--sapContent_Illustrative_Color5);--sapIllus_Layering2: var(--sapContent_Illustrative_Color6);--sapIllus_BackgroundColor: var(--sapContent_Illustrative_Color7);--sapIllus_ObjectFillColor: var(--sapContent_Illustrative_Color8);--sapIllus_AccentColor: var(--sapContent_Illustrative_Color3);--sapIllus_NoColor: none;--sapIllus_PatternShadow: url(#sapIllus_PatternShadow);--sapIllus_PatternHighlight: url(#sapIllus_PatternHighlight);--_ui5_media_gallery_overflow_btn_background: var(--sapButton_Background);--_ui5_media_gallery_overflow_btn_color: var(--sapButton_TextColor);--_ui5_media_gallery_overflow_btn_border: 1px solid var(--sapButton_BorderColor);--_ui5_media_gallery_thumbnail_border: 1px solid var(--sapContent_ForegroundColor);--_ui5_media_gallery_thumbnail_selected_border: 2px solid var(--sapSelectedColor);--_ui5_media_gallery_thumbnail_focus_outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5_media_gallery_item_overlay_box_shadow: inset 0px 0px 80px rgba(0, 0, 0, .2);--_ui5-notification_item-border-radius: var(--sapTile_BorderCornerRadius);--_ui5-notification_group_header-border-bottom-width: 0;--_ui5-notification_group_header-margin: 0px;--_ui5-notification_group_header-margin-expanded: .5rem;--_ui5-notification_group_header-padding: .5rem;--_ui5-notification_item-state-icon-padding: .25rem;--_ui5-notification_item-border-bottom: var(--sapList_BorderWidth) solid var(--sapList_BorderColor);--_ui5-notification_item-border-top-left-right: var(--sapList_BorderWidth) solid var(--sapList_BorderColor);--_ui5-notification_item-margin: 0 .5rem .5rem .5rem;--_ui5-notification_item-background-color-hover: var(--sapList_Hover_Background);--_ui5-notification_item-background-color-active: var(--sapList_SelectionBackgroundColor);--_ui5-notification_item-border-active: 1px solid var(--sapList_SelectionBorderColor);--_ui5-notification_item-root-padding-inline: 1rem;--_ui5-notification_item-content-padding: .75rem 0;--_ui5-notification_item-title-margin-bottom: 0;--_ui5-notification_item-title-padding-end-two-buttons: var(--_ui5-compact-size, 3.875rem) var(--_ui5-cozy-size, 4.375rem);--_ui5-notification_item-title-padding-end-one-button: var(--_ui5-compact-size, 1.875rem) var(--_ui5-cozy-size, 2.125rem);--_ui5-notification_item-description-margin-top: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, .75rem);--_ui5-notification_item-footer-margin-top: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, .75rem);--_ui5-notification_item-focus-offset: .1875rem;--_ui5-notification_item-outline-offset: -.375rem;--_ui5-notification_item-growing-btn-background-color-active: var(--_ui5-notification_item-background-color-active);--_ui5_page_list_bg: var(--sapGroup_ContentBackground);--_ui5_page_transparent_bg: transparent;--_ui5_vsd_header_container: var(--_ui5-compact-size, 2.5rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_vsd_sub_header_container_height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_vsd_content_li_padding: .375rem;--_ui5_vsd_content_height: 23.4375rem;--_ui5_vsd_expand_content_height: var(--_ui5-compact-size, 25.4375rem) var(--_ui5-cozy-size, 26.1875rem);--_ui5_product_switch_item_width: 11.25rem;--_ui5_product_switch_item_height: 7rem;--_ui5_product_switch_item_active_outline_color: var(--sapContent_FocusColor);--_ui5_product_switch_item_outline_offset: -.1875rem;--_ui5_shellbar_root_height: 3.25rem;--_ui5_shellbar_logo_outline_color: var(--sapContent_FocusColor);--_ui5_shellbar_logo_outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5_shellbar_logo_outline_color);--_ui5_shellbar_outline_offset: -.25rem;--_ui5_shellbar_button_box_shadow: var(--sapContent_Interaction_Shadow);--_ui5_shellbar_button_box_shadow_active: inset 0 0 0 .0625rem var(--sapButton_Lite_Active_BorderColor);--_ui5_shellbar_button_border: none;--_ui5_shellbar_button_border_radius: var(--sapButton_BorderCornerRadius);--_ui5_shellbar_button_focused_border: .125rem solid var(--sapContent_FocusColor);--_ui5_shellbar_button_active_color: var(--sapShell_Active_TextColor);--_ui5_shellbar_search_field_background: var(--sapShell_InteractiveBackground);--_ui5_shellbar_search_field_border: none;--_ui5_shellbar_search_field_box_shadow: var(--sapField_Shadow), inset 0 -.0625rem var(--sapField_BorderColor);--_ui5_shellbar_search_field_color: var(--sapShell_InteractiveTextColor);--_ui5_shellbar_search_field_outline_focused: .0625rem dotted var(--sapContent_ContrastFocusColor);--_ui5_shellbar_search_field_width: 25rem;--_ui5_shellbar_input_focus_outline_color: var(--sapField_Active_BorderColor);--_ui5_shellbar_overflow_container_middle_height: 3rem;--_ui5_shellbar_menu_button_title_font_size: var(--sapFontHeader5Size);--_ui5_shellbar_image_button_border_radius: 50%;--_ui5-shellbar-content-margin-start: .5rem;--_ui5-shellbar-overflow-button-margin: .5rem;--_ui5-shellbar_separator-color: var(--sapToolbar_SeparatorColor);--_ui5-shellbar_cancel-button-color: var(--sapButton_Lite_TextColor);--_ui5_shellbar_button_badge_border: 1px solid var(--sapContent_BadgeBackground);--_ui5_shellbar_logo_border_radius: .5rem;--_ui5_shellbar_search_field_background_hover: var(--sapShell_Hover_Background);--_ui5_shellbar_search_field_box_shadow_hover: var(--sapField_Hover_Shadow), inset 0 -.0625rem var(--sapField_Hover_BorderColor);--_ui5_shellbar_input_border_radius: 1.125rem;--_ui5_shellbar_input_focus_border_radius: 1.125rem;--_ui5_shellbar_input_background_color: var(--sapShell_InteractiveBackground);--_ui5_TimelineItem_arrow_size: 1.625rem;--_ui5_TimelineItem_bubble_border_width: .125rem;--_ui5_TimelineItem_bubble_border_style: solid;--_ui5_TimelineItem_bubble_border_radius: var(--sapElement_BorderCornerRadius);--_ui5_TimelineItem_bubble_border_color: var(--sapGroup_ContentBorderColor);--_ui5_TimelineItem_bubble_border_top: -.25rem;--_ui5_TimelineItem_bubble_border_right: -.25rem;--_ui5_TimelineItem_bubble_border_bottom: -.25rem;--_ui5_TimelineItem_bubble_border_left: -.75rem;--_ui5_TimelineItem_bubble_rtl_left_offset: -.25rem;--_ui5_TimelineItem_bubble_rtl_right_offset: -.75rem;--_ui5_TimelineItem_bubble_focus_border_radius: .875rem;--_ui5_TimelineItem_horizontal_bubble_focus_top_offset: -.75rem;--_ui5_TimelineItem_horizontal_bubble_focus_left_offset: -.25rem;--_ui5_TimelineItem_bubble_content_padding: .5rem;--_ui5_TimelineItem_bubble_content_subtitle_padding_top: .125rem;--_ui5_TimelineItem_bubble_content_description_padding_top: .5rem;--_ui5_tl_bubble_padding: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, 1rem);--_ui5_tl_padding: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, 1rem 1rem 1rem .5rem);--_ui5_tl_li_margin_bottom: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, 1.625rem);--_ui5_timeline_tli_indicator_before_bottom: var(--_ui5-compact-size, -.75rem) var(--_ui5-cozy-size, -1.5rem);--_ui5_timeline_tli_indicator_before_right: var(--_ui5-compact-size, -.5rem) var(--_ui5-cozy-size, -1.625rem);--_ui5_timeline_tli_indicator_before_without_icon_bottom: var(--_ui5-compact-size, -1rem) var(--_ui5-cozy-size, -1.875rem);--_ui5_timeline_tli_indicator_before_without_icon_right: var(--_ui5-compact-size, -.8125rem) var(--_ui5-cozy-size, -1.9375rem);--_ui5_timeline_tli_indicator_after_top: var(--_ui5-compact-size, calc(-100% + .9375rem) ) var(--_ui5-cozy-size, calc(-100% - 1rem) );--_ui5_timeline_tli_indicator_after_height: var(--_ui5-compact-size, calc(100% - .75rem) ) var(--_ui5-cozy-size, calc(100% + 1rem) );--_ui5_timeline_tli_indicator_before_height: var(--_ui5-compact-size, calc(100% - 1.25rem) ) var(--_ui5-cozy-size, 100%);--_ui5_timeline_tli_horizontal_indicator_after_width: var(--_ui5-compact-size, var(--_ui5_timeline_tli_indicator_after_height)) var(--_ui5-cozy-size, calc(100% + .25rem) );--_ui5_timeline_tli_horizontal_indicator_after_left: var(--_ui5-compact-size, 1.8625rem) var(--_ui5-cozy-size, 1.9375rem);--_ui5_timeline_tli_horizontal_without_icon_indicator_before_width: var(--_ui5-compact-size, var(--_ui5_timeline_tli_indicator_after_height)) var(--_ui5-cozy-size, calc(100% + .5rem) );--_ui5_timeline_tli_horizontal_indicator_before_width: var(--_ui5-compact-size, var(--_ui5_timeline_tli_indicator_after_height)) var(--_ui5-cozy-size, calc(100% + .5rem) );--_ui5_timeline_tli_icon_horizontal_indicator_after_width: var(--_ui5-compact-size, var(--_ui5_timeline_tli_indicator_after_height)) var(--_ui5-cozy-size, calc(100% + .25rem) );--_ui5_timeline_tli_without_icon_horizontal_indicator_before_width: var(--_ui5-compact-size, calc(100% - .625rem) ) var(--_ui5-cozy-size, calc(100% + .375rem) );--_ui5_timeline_tli_horizontal_indicator_short_after_width: var(--_ui5-compact-size, calc(100% - 1rem) ) var(--_ui5-cozy-size, 100%);--_ui5_side_navigation_width: 16rem;--_ui5_side_navigation_collapsed_width: 4rem;--_ui5_side_navigation_navigation_separator_margin: .25rem .5rem .25rem .5rem;--_ui5_side_navigation_navigation_separator_background_color: var(--sapToolbar_SeparatorColor);--_ui5_side_navigation_navigation_separator_radius: .125rem;--_ui5_side_navigation_navigation_separator_height: .0625rem;--_ui5_side_navigation_triangle_color: var(--sapContent_NonInteractiveIconColor);--_ui5_side_navigation_border_right: 0;--_ui5_side_navigation_box_shadow: var(--sapContent_Shadow0);--_ui5_side_navigation_triangle_display: none;--_ui5_side_navigation_icon_color: var(--sapList_TextColor);--_ui5_side_navigation_expand_icon_color: var(--sapList_TextColor);--_ui5_side_navigation_expand_icon_width: 2.25rem;--_ui5_side_navigation_hover_border_style_color: none;--_ui5_side_navigation_hover_border_width: 0;--_ui5_side_navigation_group_border_style_color: none;--_ui5_side_navigation_group_border_width: 0 0 .0625rem 0;--_ui5_side_navigation_item_border_style_color: none;--_ui5_side_navigation_item_border_width: 0;--_ui5_side_navigation_item_height: var(--_ui5-compact-size, 2rem) var(--_ui5-cozy-size, 2.75rem);--_ui5_side_navigation_item_margin: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, .875rem);--_ui5_side_navigation_item_expand_arrow_padding: var(--_ui5-compact-size, .3125rem) var(--_ui5-cozy-size, .6875rem);--_ui5_side_navigation_item_border_radius: .375rem;--_ui5_side_navigation_item_bottom_margin: .25rem;--_ui5_side_navigation_item_padding_start_in_popup: 1rem;--_ui5_side_navigation_item_padding_start_in_overflow_popup: 1rem;--_ui5_side_navigation_item_transition: background-color .3s ease-in-out;--_ui5_side_navigation_item_padding_left: 1rem;--_ui5_side_navigation_item_focus_border_offset: calc(-1 * var(--sapContent_FocusWidth));--_ui5_side_navigation_item_focus_border_radius: calc(var(--_ui5_side_navigation_item_border_radius) + var(--sapContent_FocusWidth));--_ui5_side_navigation_collapsed_selected_item_background: 0 100% / .188rem 100% no-repeat linear-gradient(0deg, var(--sapHighlightColor), var(--sapHighlightColor)), var(--sapList_SelectionBackgroundColor);--_ui5_side_navigation_collapsed_selected_item_background_hover: 0 100% / .188rem 100% no-repeat linear-gradient(0deg, var(--sapHighlightColor), var(--sapHighlightColor)), var(--sapList_Hover_SelectionBackground);--_ui5_side_navigation_selected_item_border_color: var(--sapList_SelectionBorderColor);--_ui5_side_navigation_selected_border_style_color: none;--_ui5_side_navigation_selected_and_focused_border_style_color: var(--_ui5_side_navigation_selected_border_style_color);--_ui5_side_navigation_selected_border_width: 0 0 .0625rem 0;--_ui5_side_navigation_group_expanded_border_width: 0;--_ui5_side_navigation_group_icon_width: 2.5rem;--_ui5_side_navigation_icon_padding_inline_end: .5rem;--_ui5_side_navigation_item_font_family: var(--sapFontFamily);--_ui5_side_navigation_parent_item_font_family: var(--sapFontSemiboldDuplexFamily);--_ui5_side_navigation_group_padding: 1rem;--_ui5_side_navigation_padding-flexible: .5rem .5rem 0 .5rem;--_ui5_side_navigation_padding-fixed: 0 .5rem .5rem .5rem;--_ui5_side_navigation_popup_padding: .5rem;--_ui5_side_navigation_popup_title_line_height: 1.5rem;--_ui5_side_navigation_first_fixed_item_margin_top: .125rem;--_ui5_side_navigation_item_expand_icon_visibility: block;--_ui5_side_navigation_item_collapsed_hover_focus_width: fit-content;--_ui5_side_navigation_item_collapsed_hover_focus_display: block;--_ui5_side_navigation_item_collapsed_hover_focus_padding_right: 1rem;--_ui5_side_navigation_action_item_collapsed_padding: 1rem;--_ui5_side_navigation_item_collapsed_padding: 3rem;--_ui5_side_navigation_action_item_border_hover: var(--sapButton_BorderWidth) solid var(--sapButton_Hover_BorderColor);--_ui5_side_navigation_action_item_border_active: var(--sapButton_BorderWidth) solid var(--sapButton_Active_BorderColor);--_ui5_side_navigation_item_expand_icon_right: -.5rem;--_ui5_side_navigation_active_text_color: var(--sapButton_TextColor);--ui5_upload_collection_drag_overlay_border: .125rem dashed var(--sapField_BorderColor);--ui5_upload_collection_drop_overlay_border: .125rem solid var(--sapContent_DragAndDropActiveColor);--ui5_upload_collection_drop_overlay_background: var(--sapContent_DragAndDropActiveColor);--ui5_upload_collection_thumbnail_size: 3rem;--ui5_upload_collection_thumbnail_margin_inline_end: .75rem;--ui5_upload_collection_small_size_buttons_margin_block_start: .5rem;--ui5_upload_collection_small_size_buttons_margin_inline_start: 0;--ui5_upload_collection_drag_overlay_text_color: var(--sapTextColor);--ui5_upload_collection_drag_overlay_icon_color: var(--sapTextColor);--ui5_upload_collection_drag_overlay_border_radius: .5rem;--ui5_upload_collection_drag_overlay_opacity: .5;--_ui5_wiz_content_item_wrapper_padding: 1rem;--_ui5_wiz_content_item_wrapper_bg: var(--sapGroup_ContentBackground);--_ui5_wiz_tab_focus_outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5_wiz_tab_selected_bg: var(--sapContent_Selected_ForegroundColor);--_ui5_wiz_tab_border: 1px solid var(--sapContent_Selected_ForegroundColor);--_ui5_wiz_tab_selection_line: var(--sapSelectedColor);--_ui5_wiz_tab_icon_color: var(--sapSelectedColor);--_ui5_wiz_tab_active_separator_color: var(--sapContent_Selected_ForegroundColor);--_ui5_wiz_tab_title_color: var(--sapTextColor);--_ui5_wiz_tab_title_font_family: var(--sapFontBoldFamily);--_ui5_wiz_tab_focus_border_radius: 8px;--_ui5_dynamic_page_footer_spacer: 4rem;--_ui5_dynamic_page_title_padding_S: .5rem 1rem;--_ui5_dynamic_page_title_padding_M: .5rem 2rem;--_ui5_dynamic_page_title_padding_L: .5rem 2rem;--_ui5_dynamic_page_title_padding_XL: .5rem 3rem;--_ui5_dynamic_page_header_padding_S: .5rem 1rem .125rem;--_ui5_dynamic_page_header_padding_M: 1rem 2rem;--_ui5_dynamic_page_header_padding_L: 1rem 2rem;--_ui5_dynamic_page_header_padding_XL: 1rem 3rem;--_ui5_dynamic_page_content_padding_S: 1rem 0 0;--_ui5_dynamic_page_content_padding_M: 1rem 1rem 0;--_ui5_dynamic_page_content_padding_L: 1rem 1rem 0;--_ui5_dynamic_page_content_padding_XL: 1rem 2rem 0;--ui5_dynamic_page_background: var(--sapBackgroundColor);--_ui5_search_icon_border_radius: 1.125rem;--_ui5_search_input_border_radius: 1.125rem;--_ui5-search-border: none;--_ui5-search-icon-border: none;--_ui5-search-wrapper-background: var(--sapShell_InteractiveBackground);--_ui5_search_separator_background: var(--sapShell_InteractiveBorderColor);--_ui5-search-wrapper-hover-background: var(--sapField_Hover_BackgroundStyle);--_ui5-search-wrapper-hover-background-color: var(--sapField_Hover_Background);--_ui5-search-elements-hover-background: none;--_ui5-search-elements-active-background: none;--_ui5_search_input_scope_margin: 0 .125rem 0 .5rem;--_ui5-search-elements-background: inherit;--_ui5_search_wrapper_outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapField_Active_BorderColor);--_ui5_search_input_outline: none;--_ui5_search_filter_button_border_radius: 1.125rem;--_ui5_seach_filter_button_border_hover: 1px solid var(--sapButton_Hover_BorderColor);--_ui5_search_filter_button_border: none;--_ui5-search-filter_button_background_color: inherit;--ui5_search_filter_button_background_active: inherit;--_ui5_search_icon_size: 1.75rem;--_ui5_search_icon_size_default: 2.25rem;--_ui5_search_icon_padding: .375rem;--_ui5_search_icon_hover_padding: .3125rem;--_ui5_search_input_start_margin: 0;--_ui5_search_input_end_padding: 0;--_ui5-search-input-start-padding: .5rem;--_ui5-search-select-height: 1.625rem;--_ui5-search-loading-overlay-background: var(--sapBackgroundColor);--_ui5-search-loading-overlay-transparency: .72;--_ui5-search-field-text-color: var(--sapField_TextColor);--_ui5_search_item_vertical_padding: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, 1rem);--_ui5_search_byline_vertical_padding: .5rem;--_ui5_dynamic_page_title_padding_top: .5rem;--_ui5_dynamic_page_title_padding_bottom: .5rem;--_ui5_dynamic_page_title_min_height: 4rem;--_ui5_dynamic_page_title_focus_outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5_dynamic_page_title_focus_outline_offset: -.125rem;--_ui5_dynamic_page_title_breadcrumbs_padding_top: .5rem;--_ui5_dynamic_page_title_breadcrumbs_padding_bottom: .25rem;--_ui5_dynamic_page_title_heading_padding_top: .3125rem;--_ui5_dynamic_page_title_subheading_margin_top: .25rem;--_ui5_dynamic_page_title_hover_background: var(--sapObjectHeader_Hover_Background);--_ui5_dynamic_page_snapped_title_on_mobile_line_height: 2rem;--_ui5_dynamic_page_snapped_title_on_mobile_min_height: 2rem;--_ui5_dynamic_page_header_background_color: var(--sapObjectHeader_Background);--_ui5_dynamic_page_header-actions-box-shadow: var(--sapContent_Shadow0);--_ui5_dynamic_page_header-box-shadow: var(--sapContent_HeaderShadow);--_ui5_dynamic_page_actions-lines-color: var(--sapObjectHeader_BorderColor);--_ui5_dynamic_page_header-actions-background: var(--sapObjectHeader_Background);--_ui5_dynamic_page_header-actions-color: var(--sapButton_TextColor);--_ui5_dynamic_page_header-actions-background-pressed: var(--_ui5_dynamic_page_header-actions-background);--_ui5_dynamic_page_header-actions-color-pressed: var(--_ui5_dynamic_page_header-actions-color);--_ui5_timeline_tlgi_line_horizontal_height: 14.8125rem;--_ui5_timeline_tlgi_root_horizontal_height: var(--_ui5-compact-size, 19.375rem) var(--_ui5-cozy-size, 19.9375rem);--_ui5_timeline_tlgi_compact_icon_before_height: var(--_ui5-compact-size, calc(100% + 1.5rem) ) var(--_ui5-cozy-size, var(--_ui5-f2d95f8));--_ui5_timeline_tlgi_horizontal_line_placeholder_before_width: var(--_ui5-compact-size, var(--_ui5_timeline_tlgi_compact_icon_before_height)) var(--_ui5-cozy-size, var(--_ui5-f2d95f8));--_ui5_timeline_tlgi_horizontal_compact_root_margin_left: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, var(--_ui5-f2d95f8));--_ui5_timeline_tlgi_compact_root_gap: var(--_ui5-compact-size, .5rem) var(--_ui5-cozy-size, var(--_ui5-f2d95f8));--_ui5_user_settings_avatar_cozy_display: var(--_ui5-compact-size, none) var(--_ui5-cozy-size, inline-block);--_ui5_user_settings_avatar_compact_display: var(--_ui5-compact-size, inline-block) var(--_ui5-cozy-size, none);--_ui5_user_settings_item_title_font_size: var(--_ui5-compact-size, var(--sapFontLargeSize)) var(--_ui5-cozy-size, var(--sapFontSize))} -:dir(rtl){--_ui5_timeline_scroll_container_offset: -.5rem;--_ui5_shellbar_notification_btn_count_offset: auto;--_ui5_side_navigation_item_expand_icon_hover_left: 0;--_ui5_side_navigation_item_expand_icon_hover_right: auto} -`;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents-fiori","sap_horizon",async()=>Di,"host");const IL=`.ui5-shellbar-action-button{width:2.25rem;height:2.25rem;color:var(--sapShell_TextColor)}.ui5-shellbar-action-button:hover{color:var(--sapShell_TextColor)}.ui5-shellbar-action-button[active]{color:var(--_ui5_shellbar_button_active_color)}.ui5-shellbar-action-button>[ui5-button-badge][slot=badge][design=OverlayText]{top:var(--_ui5-shellbar-badge-offset, 0);margin:var(--_ui5-shellbar-badge-margin, -.5rem)}[ui5-li]:after{position:relative;width:fit-content;height:1rem;min-width:1rem;background:var(--sapContent_BadgeBackground);border:var(--_ui5_shellbar_button_badge_border);color:var(--sapContent_BadgeTextColor);bottom:calc(100% + .0625rem);left:1.25rem;padding:0 .3125rem;border-radius:.5rem;display:flex;justify-content:center;align-items:center;font-size:var(--sapFontSmallSize);font-family:var(--sapFontFamily);z-index:2;box-sizing:border-box;pointer-events:none}[ui5-li][data-count]:after{content:attr(data-count)} -`;var $n=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};let Do=class extends Ke{constructor(){super(...arguments),this.accessibilityAttributes={},this.inOverflow=!1}get stableDomRef(){return this.getAttribute("stable-dom-ref")||`${this._id}-stable-dom-ref`}hasListItems(){return this.inOverflow}get listItems(){const e=this.getDomRef();return!e||!this.inOverflow?[]:[e]}fireClickEvent(e){return this.fireDecoratorEvent("click",{targetRef:e.target})}};$n([p()],Do.prototype,"icon",void 0);$n([p()],Do.prototype,"text",void 0);$n([p()],Do.prototype,"count",void 0);$n([p({type:Object})],Do.prototype,"accessibilityAttributes",void 0);$n([p({type:Boolean})],Do.prototype,"inOverflow",void 0);Do=$n([ce({tag:"ui5-shellbar-item",renderer:we,template:TL,styles:IL,dependencies:[J,Pa,id]}),j("click",{bubbles:!0,cancelable:!0})],Do);Do.define();const u5=Do;function BL(){return f("div",{class:{"ui5-shellbar-search-field-area ui5-shellbar-gap-start ui5-shellbar-search-toggle":!0,"ui5-shellbar-hidden":this.isHidden("search")},children:!this.showFullWidthSearch&&f("slot",{name:"searchField"})})}function AL(){return z("div",{class:"ui5-shellbar-search-full-width-wrapper",children:[f("div",{class:"ui5-shellbar-search-full-field",children:f("slot",{name:"searchField"})}),f(J,{class:"ui5-shellbar-cancel-button ui5-shellbar-gap-start",design:In.Transparent,onClick:this.handleCancelButtonClick,children:"Cancel"})]})}function EL(){return f("div",{class:"ui5-shellbar-search-field-area",children:this.showSearchField&&!this.showFullWidthSearch&&f("div",{class:"ui5-shellbar-search-field ui5-shellbar-gap-start",children:f("slot",{name:"searchField"})})})}function RL(){return z("div",{class:"ui5-shellbar-search-full-width-wrapper",children:[f("div",{class:"ui5-shellbar-search-full-field",children:f("slot",{name:"searchField"})}),f(J,{class:"ui5-shellbar-cancel-button ui5-shellbar-gap-start",design:In.Transparent,onClick:this.handleCancelButtonClick,children:"Cancel"})]})}function LL(){const t=this.getAction("search");return f(de,{children:!this.hideSearchButton&&f(J,{"data-ui5-stable":t==null?void 0:t.stableDomRef,class:"ui5-shellbar-search-button ui5-shellbar-action-button ui5-shellbar-gap-start ui5-shellbar-search-toggle",icon:t==null?void 0:t.icon,design:"Transparent",onClick:this.handleSearchButtonClick,tooltip:this.actionsAccessibilityInfo.search.title,"aria-expanded":this.showSearchField,accessibilityAttributes:this.actionsAccessibilityInfo.search.accessibilityAttributes})})}function PL(){const t=this.legacyAdaptor;return t?z(de,{children:[t.hasMenuItems&&DL.call(this),t.hasMenuItems&&d5.call(this),!t.hasMenuItems&&OL.call(this),NL.call(this)]}):null}function OL(){const t=this.legacyAdaptor;return t?z(de,{children:[!!(t.isSBreakPoint&&t.hasLogo)&&_5.call(this),!t.isSBreakPoint&&(t.hasLogo||t.primaryTitle)&&z(de,{children:[zL.call(this),t.hasSecondaryTitle&&t.hasPrimaryTitle&&d5.call(this)]})]}):null}function DL(){const t=this.legacyAdaptor;return t?z(de,{children:[!t.showLogoInMenuButton&&t.hasLogo&&_5.call(this),t.showTitleInMenuButton&&f("h1",{class:"ui5-hidden-text",children:t.primaryTitle}),t.showMenuButton&&z("button",{class:{"ui5-shellbar-menu-button":!0,"ui5-shellbar-menu-button--interactive":t.hasMenuItems},onClick:t.handleMenuButtonClickBound,"aria-haspopup":"menu","aria-expanded":t.menuPopoverExpanded,"aria-label":t.brandingText,"data-ui5-stable":"menu",tabIndex:0,children:[t.showLogoInMenuButton&&f("span",{class:"ui5-shellbar-logo","aria-label":t.logoAriaLabel,title:t.logoAriaLabel,children:f("slot",{name:"logo"})}),t.showTitleInMenuButton&&f("div",{class:"ui5-shellbar-menu-button-title",children:t.primaryTitle}),f(Pe,{class:"ui5-shellbar-menu-button-arrow",name:a5})]})]}):null}function _5(){const t=this.legacyAdaptor;return t?f("span",{role:t.logoRole,class:"ui5-shellbar-logo ui5-shellbar-gap-end","aria-label":t.logoAriaLabel,title:t.logoAriaLabel,onClick:t.handleLogoClickBound,onKeyDown:t.handleLogoKeydownBound,onKeyUp:t.handleLogoKeyupBound,tabIndex:0,"data-ui5-stable":"logo",children:f("slot",{name:"logo"})}):null}function zL(){const t=this.legacyAdaptor;return t?z("div",{role:t.logoRole,class:"ui5-shellbar-logo-area",onClick:t.handleLogoClickBound,tabIndex:0,onKeyDown:t.handleLogoKeydownBound,onKeyUp:t.handleLogoKeyupBound,"aria-label":t.logoAriaLabel,children:[t.hasLogo&&f("span",{class:"ui5-shellbar-logo",title:t.logoAriaLabel,"data-ui5-stable":"logo",children:f("slot",{name:"logo"})}),f("div",{class:"ui5-shellbar-headings",children:t.primaryTitle&&f("h1",{class:"ui5-shellbar-title",children:f("bdi",{children:t.primaryTitle})})})]}):null}function d5(){const t=this.legacyAdaptor;return!t||!t.showSecondaryTitle?null:f("div",{class:"ui5-shellbar-secondary-title ui5-shellbar-gap-start ui5-shellbar-gap-end","data-ui5-stable":"secondary-title",children:this.secondaryTitle})}function NL(){const t=this.legacyAdaptor;return!t||!t.hasMenuItems?null:f(Dn,{class:"ui5-shellbar-menu-popover",hideArrow:!0,placement:"Bottom",preventInitialFocus:!0,onBeforeOpen:t.handleMenuPopoverBeforeOpenBound,onClose:t.handleMenuPopoverAfterCloseBound,children:f(pe,{separators:"None",selectionMode:"Single",onItemClick:t.handleMenuItemClickBound,children:f("slot",{name:"menuItems"})})})}function ML(){const t=!this.isSelfCollapsibleSearch,e=t?EL:BL,i=t?RL:AL,o=this.getAction("profile"),r=this.getAction("overflow"),n=this.getAction("assistant"),a=this.getAction("notifications"),s=this.getAction("products"),l=this.actionsAccessibilityInfo;return z(de,{children:[z("header",{class:"ui5-shellbar-root",part:"root",onKeyDown:this._onKeyDown,"aria-label":this.texts.shellbar,children:[this.showFullWidthSearch&&i.call(this),this.enabledFeatures.startButton&&f("div",{class:"ui5-shellbar-start-button ui5-shellbar-gap-end",children:f("slot",{name:"startButton"})}),this.enabledFeatures.branding&&f("div",{class:"ui5-shellbar-branding-area",children:f("slot",{name:"branding"})}),!this.enabledFeatures.branding&&PL.call(this),f("div",{class:"ui5-shellbar-overflow-container",children:z("div",{class:"ui5-shellbar-overflow-container-inner",children:[this.enabledFeatures.content&&z("div",{class:"ui5-shellbar-content-area ui5-shellbar-content-items",role:this.contentRole,"aria-label":this.texts.contentItems,children:[this.separatorConfig.showStartSeparator&&f("div",{class:"ui5-shellbar-separator ui5-shellbar-separator-start"}),this.startContent.map(c=>{const u=c._individualSlot,_=this.getPackedSeparatorInfo(c,!0);return z("div",{id:u,class:{"ui5-shellbar-content-item ui5-shellbar-gap-start":!0,"ui5-shellbar-hidden":this.isHidden(u)},children:[_.shouldPack&&f("div",{class:"ui5-shellbar-separator ui5-shellbar-separator-start"}),f("slot",{name:c._individualSlot})]},u)}),f("div",{class:"ui5-shellbar-spacer"}),this.endContent.map(c=>{const u=c._individualSlot,_=this.getPackedSeparatorInfo(c,!1);return z("div",{id:u,class:{"ui5-shellbar-content-item ui5-shellbar-gap-start":!0,"ui5-shellbar-hidden":this.isHidden(u)},children:[f("slot",{name:u}),_.shouldPack&&f("div",{class:"ui5-shellbar-separator ui5-shellbar-separator-end ui5-shellbar-gap-start"})]},u)}),this.separatorConfig.showEndSeparator&&f("div",{class:"ui5-shellbar-separator ui5-shellbar-separator-end ui5-shellbar-gap-start"})]}),this.enabledFeatures.search&&e.call(this),this.enabledFeatures.search&&t&&LL.call(this),n&&f("div",{class:{"ui5-shellbar-assistant-button ui5-shellbar-gap-start":!0,"ui5-shellbar-hidden":this.isHidden("assistant")},children:f("slot",{name:"assistant"})}),a&&f(J,{"data-ui5-stable":a.stableDomRef,class:{"ui5-shellbar-bell-button ui5-shellbar-action-button ui5-shellbar-gap-start":!0,"ui5-shellbar-hidden":this.isHidden("notifications")},icon:a.icon,design:"Transparent",onClick:this.handleNotificationsClick,tooltip:l.notifications.title,accessibilityAttributes:l.notifications.accessibilityAttributes,children:(a==null?void 0:a.count)&&f(Pa,{slot:"badge",design:"OverlayText",text:a==null?void 0:a.count})}),this.sortItems(this.items).map(c=>f("div",{class:{"ui5-shellbar-custom-item ui5-shellbar-gap-start":!0,"ui5-shellbar-hidden":this.isHidden(c._id)},"data-ui5-stable":c.stableDomRef,children:c.inOverflow?null:f("slot",{name:c._individualSlot})},c._id)),r&&f(J,{"data-ui5-stable":r.stableDomRef,id:"ui5-shellbar-overflow-button",class:{"ui5-shellbar-overflow-button ui5-shellbar-action-button ui5-shellbar-gap-start":!0,"ui5-shellbar-hidden":this.isHidden("overflow")},icon:r.icon,design:"Transparent",onClick:this.handleOverflowClick,tooltip:l.overflow.title,accessibilityAttributes:l.overflow.accessibilityAttributes,children:this.overflowBadge&&f(Pa,{slot:"badge",design:this.overflowBadge===" "?"AttentionDot":"OverlayText",text:this.overflowBadge===" "?"":this.overflowBadge})}),o&&f(J,{"data-profile-btn":!0,"data-ui5-stable":o.stableDomRef,class:{"ui5-shellbar-image-button ui5-shellbar-action-button ui5-shellbar-gap-start":!0,"ui5-shellbar-hidden":this.isHidden("profile")},design:"Transparent",onClick:this.handleProfileClick,tooltip:l.profile.title,accessibilityAttributes:l.profile.accessibilityAttributes,children:f("slot",{name:"profile"})}),s&&f(J,{"data-ui5-stable":s.stableDomRef,class:{"ui5-shellbar-button-product-switch ui5-shellbar-action-button ui5-shellbar-gap-start":!0,"ui5-shellbar-hidden":this.isHidden("products")},icon:s.icon,design:"Transparent",onClick:this.handleProductSwitchClick,tooltip:l.products.title,accessibilityAttributes:l.products.accessibilityAttributes})]})})]}),f(Dn,{class:"ui5-shellbar-overflow-popover",open:this.overflowPopoverOpen,onClose:this.onPopoverClose,opener:"ui5-shellbar-overflow-button",placement:"Bottom",hideArrow:!0,horizontalAlign:this.popoverHorizontalAlign,children:f(pe,{separators:"None",onClick:this.handleOverflowItemClick,children:this.overflowItems.map(c=>{if(c.type==="action"){const u=c.data;return f(u5,{icon:u.icon?`sap-icon://${u.icon}`:"","data-action-id":c.id,count:u.count,inOverflow:!0,text:this.getActionOverflowText(c.id)},c.id)}return f("slot",{name:c.data._individualSlot},c.id)})})})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents-fiori","sap_horizon",async()=>Di,"host");const $L=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}::slotted([ui5-input]){--_ui5_input_placeholder_color: var(--sapShell_InteractiveTextColor);--_ui5_input_border_radius: var(--_ui5_shellbar_input_border_radius);--_ui5_input_focus_border_radius: var(--_ui5_shellbar_input_focus_border_radius);--_ui5_input_background_color: var(--_ui5_shellbar_input_background_color);--_ui5_input_focus_outline_color: var(--_ui5_shellbar_input_focus_outline_color);--_ui5_input_margin_top_bottom: 0}::slotted([ui5-input]){background:var(--_ui5_shellbar_search_field_background);border:var(--_ui5_shellbar_search_field_border);box-shadow:var(--_ui5_shellbar_search_field_box_shadow);color:var(--_ui5_shellbar_search_field_color);height:2.25rem;width:100%;min-width:var(--_ui5_shellbar_search_field_width)}:host([breakpoint-size="M"]) ::slotted([ui5-input]),:host([breakpoint-size="S"]) ::slotted([ui5-input]){min-width:1rem}:host([breakpoint-size="M"][show-search-field]) .ui5-shellbar-overflow-container-right-child{flex-grow:1}::slotted([ui5-input]:hover){background:var(--_ui5_shellbar_search_field_background_hover);box-shadow:var(--_ui5_shellbar_search_field_box_shadow_hover)}::slotted([ui5-input][focused]){outline:var(--_ui5_shellbar_search_field_outline_focused)}:host(:not([hidden])){display:inline-block;width:100%;max-width:100%;background:var(--sapShellColor);box-sizing:border-box;box-shadow:inset 0 -.0625rem 0 0 var(--sapPageHeader_BorderColor);--_ui5_button_base_height: var(--sapElement_Height);--_ui5_button_base_padding: .5625rem;--_ui5_button_base_min_width: 2.25rem;--_ui5-button-badge-diameter: .75rem;--_ui5-shellbar_separator-color: var(--sapGroup_ContentBorderColor);--_ui5-shellbar-separator-height: 2rem;--_ui5_shellbar_search_field_width: 25rem;--ui5_shellbar_gap: .5rem}.ui5-shellbar-root{display:flex;align-items:center;height:var(--_ui5_shellbar_root_height);position:relative;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400}::slotted([ui5-button]:not([slot^="content"])),::slotted([ui5-toggle-button]:not([slot^="content"])){height:2.25rem;width:2.25rem;padding:0;border:.0625rem solid var(--sapButton_Lite_BorderColor);background:var(--sapButton_Lite_Background);color:var(--sapShell_TextColor);box-sizing:border-box;border-radius:var(--_ui5_shellbar_button_border_radius);font-weight:700}::slotted([ui5-button]:not([slot^="content"]):not([disabled]):hover),::slotted([ui5-toggle-button]:not([slot^="content"]):not([disabled]):hover){background:var(--sapShell_Hover_Background);border-color:var(--sapButton_Lite_Hover_BorderColor);color:var(--sapShell_TextColor)}::slotted([ui5-button]:not([slot^="content"]):not([disabled])[active]),::slotted([ui5-toggle-button]:not([slot^="content"]):not([disabled])[active]){background:var(--sapShell_Active_Background);border-color:var(--sapButton_Lite_Active_BorderColor);color:var(--_ui5_shellbar_button_active_color)}::slotted([ui5-button]:not([slot^="content"])),::slotted([ui5-toggle-button]:not([slot^="content"])){--_ui5_button_focused_border: var(--_ui5_shellbar_button_focused_border)}::slotted([ui5-button][slot^="content"]),::slotted([ui5-toggle-button][slot^="content"]){height:2.25rem;min-width:2.25rem}.ui5-shellbar-action-button,.ui5-shellbar-action-button:hover{color:var(--sapShell_TextColor)}.ui5-shellbar-action-button[active]{color:var(--_ui5_shellbar_button_active_color)}::slotted([ui5-toggle-button][slot="assistant"]){color:var(--sapShell_TextColor)}::slotted([ui5-toggle-button][slot="assistant"]:hover){color:var(--sapShell_TextColor)}::slotted([ui5-toggle-button][slot="assistant"][active]){color:var(--_ui5_shellbar_button_active_color)}.ui5-shellbar-start-button,.ui5-shellbar-branding-area{flex-shrink:0;display:flex;align-items:center}.ui5-shellbar-overflow-container{flex-direction:row-reverse;height:100%;flex:1;display:flex;align-items:center;min-width:0;overflow:visible;position:relative}.ui5-shellbar-overflow-container-inner{display:flex;align-items:center;justify-content:end;flex-shrink:0;min-width:100%}.ui5-shellbar-search-field-area{flex:0 1 auto;min-width:0;display:flex;align-items:center;margin-left:auto}:host([show-search-field]:not([show-full-width-search])) ::slotted([slot="searchField"]),:host([show-full-width-search]) .ui5-shellbar-search-field-area{min-width:var(--_ui5_shellbar_search_field_width)}.ui5-shellbar-content-area{flex-grow:1;display:flex;align-items:center}.ui5-shellbar-content-item{flex-shrink:0;display:flex;align-items:center}.ui5-shellbar-spacer{flex-grow:1;height:1px;flex-basis:1rem;flex-shrink:1}.ui5-shellbar-separator{flex-grow:0;flex-shrink:0;height:var(--_ui5-shellbar-separator-height);width:1px;background-color:var(--_ui5-shellbar_separator-color)}.ui5-shellbar-custom-item{width:2.25rem;flex-shrink:0;display:flex;align-items:center}.ui5-shellbar-custom-item.ui5-shellbar-hidden{display:none}.ui5-shellbar-action-button{white-space:initial;overflow:initial;text-overflow:initial;line-height:inherit;letter-spacing:inherit;word-spacing:inherit;width:2.25rem;height:2.25rem;box-sizing:border-box}.ui5-shellbar-action-button>[ui5-button-badge][slot=badge][design=OverlayText]{top:var(--_ui5-shellbar-badge-offset, 0);margin:var(--_ui5-shellbar-badge-margin, -.5rem)}.ui5-shellbar-image-button{display:flex;justify-content:center;align-items:center;width:2.25rem;height:2.25rem;min-width:auto;box-sizing:border-box;--_ui5_button_focused_border_radius: var(--_ui5_shellbar_image_button_border_radius);border-radius:var(--_ui5_shellbar_image_button_border_radius)}.ui5-shellbar-assistant-button{display:flex;align-items:center}::slotted([ui5-toggle-button][slot="assistant"]){margin-inline-start:0}::slotted([ui5-toggle-button][slot="assistant"][pressed]),::slotted([ui5-toggle-button][slot="assistant"][pressed]:hover:not([active])){color:var(--sapShell_Assistant_ForegroundColor)}slot[name=profile]{min-width:0}::slotted([ui5-avatar][slot="profile"]){display:block;width:2rem;height:2rem;min-width:0;min-height:2rem;font-size:var(--_ui5_avatar_fontsize_XS);font-weight:400}.ui5-shellbar-search-full-width-wrapper{position:absolute;bottom:.0625rem;left:0;background:var(--sapShellColor);height:100%;width:100%;z-index:1001;display:flex;align-items:center;box-sizing:border-box;padding:0 1rem}.ui5-shellbar-search-full-width-wrapper .ui5-shellbar-search-full-field{height:2.25rem;width:100%;flex:1}.ui5-shellbar-search-full-width-wrapper ::slotted([ui5-shellbar-search]){max-width:unset;width:100%}:host([breakpoint-size="S"]){padding:0 1rem}:host([breakpoint-size="M"]){padding:0 2rem}:host([breakpoint-size="L"]){padding:0 2rem}:host([breakpoint-size="XL"]){padding:0 3rem}:host([breakpoint-size="XXL"]){padding:0 3rem}:host([breakpoint-size="S"]) .ui5-shellbar-search-full-width-wrapper{padding:0 1rem}:host([breakpoint-size="M"]) .ui5-shellbar-search-full-width-wrapper{padding:0 2rem}.ui5-shellbar-gap-start{margin-inline-start:var(--ui5_shellbar_gap)}.ui5-shellbar-gap-end{margin-inline-end:var(--ui5_shellbar_gap)}.ui5-shellbar-hidden{display:none!important} -`;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents-fiori","sap_horizon",async()=>Di,"host");const FL=`.ui5-shellbar-menu-popover::part(content),.ui5-shellbar-overflow-popover::part(content){padding:0}.ui5-shellbar-overflow-popover [ui5-li]::part(icon){color:var(--sapList_TextColor)}.ui5-shellbar-overflow-popover [ui5-li]::part(title){font-size:var(--sapFontSize)}.ui5-shellbar-overflow-popover [ui5-li]:after{position:relative;width:fit-content;height:1rem;min-width:1rem;background:var(--sapContent_BadgeBackground);border:var(--_ui5_shellbar_button_badge_border);color:var(--sapContent_BadgeTextColor);bottom:calc(100% + .0625rem);left:1.25rem;padding:0 .3125rem;border-radius:.5rem;display:flex;justify-content:center;align-items:center;font-size:var(--sapFontSmallSize);font-family:var(--sapFontFamily);z-index:2;box-sizing:border-box;pointer-events:none}.ui5-shellbar-overflow-popover [ui5-li][data-count]:after{content:attr(data-count)} -`;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents-fiori","sap_horizon",async()=>Di,"host");const HL=`.ui5-shellbar-logo{overflow:hidden;cursor:pointer;display:flex;align-items:center}.ui5-shellbar-logo-area,.ui5-shellbar-legacy-branding{overflow:hidden;display:flex;align-items:center;padding:.25rem .5rem .25rem .25rem;box-sizing:border-box;cursor:pointer;background:var(--sapButton_Lite_Background);border:1px solid var(--sapButton_Lite_BorderColor);color:var(--sapShell_TextColor);margin-inline-start:.125rem}.ui5-shellbar-logo:focus,.ui5-shellbar-logo-area:focus{outline:var(--_ui5_shellbar_logo_outline);outline-offset:calc(-1 * var(--sapContent_FocusWidth));border-radius:var(--_ui5_shellbar_logo_border_radius)}.ui5-shellbar-overflow-container>.ui5-shellbar-logo:hover,.ui5-shellbar-logo-area:hover{box-shadow:var(--_ui5_shellbar_button_box_shadow);border-radius:var(--_ui5_shellbar_logo_border_radius)}.ui5-shellbar-logo-area:active:focus{background:var(--sapShell_Active_Background);border:1px solid var(--sapButton_Lite_Active_BorderColor);color:var(--sapShell_Active_TextColor)}::slotted([slot="logo"]){max-height:2rem}::slotted([slot="logo"]):active{pointer-events:none}.ui5-shellbar-headings{display:flex;flex-direction:column;justify-content:center;height:100%;overflow:hidden;margin-inline-start:.25rem}.ui5-shellbar-primary-title,.ui5-shellbar-menu-button-title,.ui5-shellbar-title{display:inline-block;font-family:var(--sapFontSemiboldDuplexFamily);margin:0;font-size:var(--_ui5_shellbar_menu_button_title_font_size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--sapShell_SubBrand_TextColor)}.ui5-shellbar-secondary-title{display:flex;align-items:center;font-size:var(--sapFontSmallSize);color:var(--sapShell_TextColor);font-weight:400;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:start}.ui5-shellbar-menu-button{white-space:nowrap;overflow:hidden;display:flex;align-items:center;padding:.25rem .5rem;cursor:text;-webkit-user-select:text;-moz-user-select:text;user-select:text;margin-inline-start:.5rem;height:2.25rem;border:.0625rem solid var(--sapButton_Lite_BorderColor);background:var(--sapButton_Lite_Background);outline-color:var(--_ui5_shellbar_logo_outline_color);color:var(--sapShell_TextColor);box-sizing:border-box;border-radius:var(--_ui5_shellbar_button_border_radius);position:relative;font-weight:700}.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;background:var(--sapButton_Lite_Background);border:var(--_ui5_shellbar_button_border);color:var(--sapShell_TextColor)}.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:hover{background:var(--sapShell_Hover_Background);border-color:var(--sapButton_Lite_Hover_BorderColor);color:var(--sapShell_TextColor);box-shadow:var(--_ui5_shellbar_button_box_shadow)}.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:active{background:var(--sapShell_Active_Background);border-color:var(--sapButton_Lite_Active_BorderColor);color:var(--_ui5_shellbar_button_active_color);box-shadow:var(--_ui5_shellbar_button_box_shadow_active)}.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:active .ui5-shellbar-menu-button-arrow,.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:active .ui5-shellbar-menu-button-title{color:var(--sapShell_Active_TextColor)}:host([desktop]) .ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:focus,.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:focus-visible{outline:var(--_ui5_shellbar_logo_outline);outline-offset:var(--_ui5_shellbar_outline_offset)}.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive::-moz-focus-inner{border:none}.ui5-shellbar-menu-button .ui5-shellbar-logo:hover{box-shadow:none}.ui5-shellbar-menu-button-arrow{display:inline-block;font-family:var(--sapFontSemiboldDuplexFamily);margin:0;font-size:var(--_ui5_shellbar_menu_button_title_font_size);color:var(--sapShell_SubBrand_TextColor)}.ui5-shellbar-menu-button--interactive .ui5-shellbar-menu-button-arrow{margin-inline-start:.375rem}:host(:not([primary-title])) .ui5-shellbar-menu-button{min-width:2.25rem;justify-content:center}:host(:not([with-logo])) .ui5-shellbar-menu-button{margin-inline-start:0}:host([breakpoint-size="S"]) .ui5-shellbar-menu-button{margin-inline-start:0} -`;class UL{constructor(e){this.handleLogoClickBound=this.handleLogoClick.bind(this),this.handleLogoKeyupBound=this.handleLogoKeyup.bind(this),this.handleLogoKeydownBound=this.handleLogoKeydown.bind(this),this.handleMenuItemClickBound=this.handleMenuItemClick.bind(this),this.handleMenuButtonClickBound=this.handleMenuButtonClick.bind(this),this.handleMenuPopoverBeforeOpenBound=this.handleMenuPopoverBeforeOpen.bind(this),this.handleMenuPopoverAfterCloseBound=this.handleMenuPopoverAfterClose.bind(this),this.component=e.component,this.getShadowRoot=e.getShadowRoot}handleMenuButtonClick(){const e=this.getShadowRoot();if(!e)return;const i=e.querySelector(".ui5-shellbar-menu-button"),o=this.getMenuPopover();o&&i&&(o.opener=i,o.open=!0)}handleMenuItemClick(e){if(this.component.fireDecoratorEvent("menu-item-click",{item:e.detail.item})){const o=this.getMenuPopover();o&&(o.open=!1)}}handleMenuPopoverBeforeOpen(){this.component.menuPopoverOpen=!0;const e=this.getMenuPopover();if(e!=null&&e.content&&e.content.length){const i=e.content[0];i instanceof pe&&i.focusFirstItem()}}handleMenuPopoverAfterClose(){this.component.menuPopoverOpen=!1}getMenuPopover(){const e=this.getShadowRoot();return e==null?void 0:e.querySelector(".ui5-shellbar-menu-popover")}get hasMenuItems(){return this.component.menuItems.length>0}get menuPopoverExpanded(){return this.component.menuPopoverOpen}handleLogoClick(){const e=this.getShadowRoot();if(!e)return;const i=e.querySelector(".ui5-shellbar-logo");i&&this.component.fireDecoratorEvent("logo-click",{targetRef:i})}handleLogoKeydown(e){if(Fe(e)){e.preventDefault();return}Ye(e)&&this.handleLogoClick()}handleLogoKeyup(e){Fe(e)&&this.handleLogoClick()}get hasLogo(){return this.component.logo.length>0}get logoRole(){var e;return((e=this.component.accessibilityAttributes.logo)==null?void 0:e.role)||"link"}get logoAriaLabel(){var e;return((e=this.component.accessibilityAttributes.logo)==null?void 0:e.name)||"Logo"}get brandingText(){var e;return((e=this.component.accessibilityAttributes.branding)==null?void 0:e.name)||this.primaryTitle}get hasPrimaryTitle(){return!!this.component.primaryTitle}get hasSecondaryTitle(){return!!this.component.secondaryTitle}get showSecondaryTitle(){return this.hasSecondaryTitle&&!this.component.isSBreakPoint}get primaryTitle(){return this.component.primaryTitle||""}get secondaryTitle(){return this.component.secondaryTitle||""}get showMenuButton(){return this.hasPrimaryTitle||this.showLogoInMenuButton}get showLogoInMenuButton(){return this.hasLogo&&this.isSBreakPoint}get showTitleInMenuButton(){return this.hasPrimaryTitle&&!this.showLogoInMenuButton}get isSBreakPoint(){return this.component.isSBreakPoint}}class En{constructor({getOverflowed:e,setSearchState:i,getSearchField:o,getSearchState:r,getCSSVariable:n}){this.onSearchBound=this.onSearch.bind(this),this.onSearchOpenBound=this.onSearchOpen.bind(this),this.onSearchCloseBound=this.onSearchClose.bind(this),this.initialRender=!0,this.getOverflowed=e,this.getCSSVariable=n,this.getSearchField=o,this.getSearchState=r,this.setSearchState=i}subscribe(e=this.getSearchField()){e&&(e.addEventListener("ui5-open",this.onSearchOpenBound),e.addEventListener("ui5-close",this.onSearchCloseBound),e.addEventListener("ui5-search",this.onSearchBound))}unsubscribe(e=this.getSearchField()){e&&(e.removeEventListener("ui5-open",this.onSearchOpenBound),e.removeEventListener("ui5-close",this.onSearchCloseBound),e.removeEventListener("ui5-search",this.onSearchBound))}autoManageSearchState(e,i){var l;if(!this.hasSearchField)return;const o=this.getSearchFieldWidth(),r=document.activeElement===this.getSearchField(),n=!!((l=this.getSearchField())!=null&&l.value),a=!this.initialRender&&this.shouldShowFullScreen(),s=r||n||a;e>0&&!s?this.setSearchState(!1):i+this.getSearchButtonSize()>o&&this.setSearchState(!0),this.initialRender=!1}syncShowSearchFieldState(){const e=this.getSearchField();if(e)if(We()){if(this.initialRender)return;e.open=this.getSearchState()}else e.collapsed=!this.getSearchState()}shouldShowFullScreen(){return this.getOverflowed()&&this.getSearchState()}onSearchOpen(e){if(e.target!==this.getSearchField()){this.unsubscribe(e.target);return}We()&&this.setSearchState(!0)}onSearchClose(e){if(e.target!==this.getSearchField()){this.unsubscribe(e.target);return}We()&&this.setSearchState(!1)}onSearch(e){var i;if(e.target!==this.getSearchField()){this.unsubscribe(e.target);return}We()||(i=this.getSearchField())!=null&&i.value&&this.getSearchState()||this.setSearchState(!this.getSearchState())}getSearchFieldWidth(){const e=this.getCSSVariable(En.CSS_VARIABLE);if(!e)return En.FALLBACK_WIDTH;if(e.endsWith("rem")){const i=parseFloat(getComputedStyle(document.documentElement).fontSize);return parseFloat(e)*i}return parseFloat(e)}get hasSearchField(){return!!this.getSearchField()}getSearchButtonSize(){var e;return this.getSearchState()?0:((e=this.getSearchField())==null?void 0:e.getBoundingClientRect().width)||0}}En.CSS_VARIABLE="--_ui5_shellbar_search_field_width";En.FALLBACK_WIDTH=400;class Rn{constructor({getOverflowed:e,setSearchState:i,getSearchField:o,getSearchState:r,getCSSVariable:n,getDisableSearchCollapse:a}){this.initialRender=!0,this.getOverflowed=e,this.getCSSVariable=n,this.getSearchField=o,this.getSearchState=r,this.setSearchState=i,this.getDisableSearchCollapse=a}subscribe(){}unsubscribe(){}autoManageSearchState(e,i){if(!this.hasSearchField||this.getDisableSearchCollapse())return;const o=this.getSearchFieldWidth(),r=this.getSearchField(),n=(r==null?void 0:r.contains(document.activeElement))||!1,a=this.hasValue(r),s=!this.initialRender&&this.shouldShowFullScreen(),l=n||a||s;e>0&&!l?this.setSearchState(!1):i+this.getSearchButtonSize()>o&&this.setSearchState(!0),this.initialRender=!1}syncShowSearchFieldState(){}shouldShowFullScreen(){return this.getOverflowed()&&this.getSearchState()}hasValue(e){if(!e)return!1;if("value"in e)return!!e.value;const i=e.querySelector("input");return i?!!i.value:!1}getSearchFieldWidth(){const e=this.getCSSVariable(Rn.CSS_VARIABLE);if(!e)return Rn.FALLBACK_WIDTH;if(e.endsWith("rem")){const i=parseFloat(getComputedStyle(document.documentElement).fontSize);return parseFloat(e)*i}return parseFloat(e)}get hasSearchField(){return!!this.getSearchField()}getSearchButtonSize(){var e;return this.getSearchState()?0:((e=this.getSearchField())==null?void 0:e.getBoundingClientRect().width)||0}}Rn.CSS_VARIABLE="--_ui5_shellbar_search_field_width";Rn.FALLBACK_WIDTH=400;class VL{constructor(){this.CLOSED_SEARCH_STRATEGY={ACTIONS:0,CONTENT:1e3,SEARCH:2e3,LAST_CONTENT:3e3},this.OPEN_SEARCH_STRATEGY={CONTENT:0,ACTIONS:1e3,SEARCH:2e3,LAST_CONTENT:0}}updateOverflow(e){const{overflowOuter:i,overflowInner:o,setVisible:r}=e;if(!i||!o)return{hiddenItemsIds:[],showOverflowButton:!1};const n=this.buildHidableItems(e);r(yo.Overflow,!1),n.forEach(c=>{r(c.selector,!0)});let a=null,s=!1;const l=[];for(let c=0;ce.offsetWidth}getOverflowStrategy(e){return e?this.OPEN_SEARCH_STRATEGY:this.CLOSED_SEARCH_STRATEGY}buildHidableItems(e){return[...this.buildContent(e),...this.buildActions(e)].sort((o,r)=>o.keepHidden&&!r.keepHidden?-1:!o.keepHidden&&r.keepHidden?1:o.hideOrder-r.hideOrder)}buildContent(e){const{content:i,showSearchField:o}=e,r=[],n=this.getOverflowStrategy(o);return i.forEach((a,s)=>{const l=a._individualSlot,c=parseInt(a.getAttribute("data-hide-order")||String(s)),_=s===i.length-1?n.LAST_CONTENT:n.CONTENT;r.push({id:l,selector:`#${l}`,hideOrder:_+c,keepHidden:!1,showInOverflow:!1})}),r}buildActions(e){const{customItems:i,actions:o,showSearchField:r,hiddenItemsIds:n}=e,a=[],s=this.getOverflowStrategy(r);let l=0;return i.forEach(c=>{a.push({id:c._id,selector:`[data-ui5-stable="${c.stableDomRef}"]`,hideOrder:s.ACTIONS+l++,keepHidden:n.includes(c._id),showInOverflow:!0})}),o.filter(c=>!c.isProtected&&c.id!==dt.Search).forEach(c=>{a.push({id:c.id,selector:c.selector,hideOrder:s.ACTIONS+l++,keepHidden:n.includes(c.id),showInOverflow:!0})}),r||a.push({id:dt.Search,selector:yo.Search,hideOrder:s.SEARCH+l++,keepHidden:!1,showInOverflow:!0}),a}getOverflowItems(e){const{actions:i,customItems:o,hiddenItemsIds:r}=e,n=[];o.filter(c=>r.includes(c._id)).forEach((c,u)=>{n.push({type:"item",id:c._id,data:c,order:3+u})});const s={[dt.Search]:0,[dt.Notifications]:1,[dt.Assistant]:2};return i.filter(c=>r.includes(c.id)).forEach(c=>{n.push({type:"action",id:c.id,data:c,order:s[c.id]??0})}),n.sort((c,u)=>c.order-u.order)}}class qL{getActionsAccessibilityAttributes(e,i){var a,s,l,c,u,_,d,h,g,y;const{overflowPopoverOpen:o,accessibilityAttributes:r}=i,n=(a=r.overflow)==null?void 0:a.expanded;return{notifications:{title:e.notifications,accessibilityAttributes:{expanded:(s=r.notifications)==null?void 0:s.expanded,hasPopup:(l=r.notifications)==null?void 0:l.hasPopup}},profile:{title:((c=r.profile)==null?void 0:c.name)||e.profile,accessibilityAttributes:{hasPopup:(u=r.profile)==null?void 0:u.hasPopup,expanded:(_=r.profile)==null?void 0:_.expanded}},products:{title:e.products,accessibilityAttributes:{hasPopup:(d=r.product)==null?void 0:d.hasPopup,expanded:(h=r.product)==null?void 0:h.expanded}},search:{title:e.search,accessibilityAttributes:{hasPopup:(g=r.search)==null?void 0:g.hasPopup}},overflow:{title:e.overflow,accessibilityAttributes:{hasPopup:((y=r.overflow)==null?void 0:y.hasPopup)||"menu",expanded:n===void 0?o:n}}}}getActionsRole(e){return e>1?"toolbar":void 0}getContentRole(e){return e>1?"group":void 0}}class GL{constructor(e){this.params=e}handleKeyDown(e){if(!this.shouldHandle(e))return;const i=this.params.getDomRef();if(!i)return;const o=ki();if(!o||this.shouldChildHandleNavigation(o,e))return;const r=this.getTabbableItems(i),n=r.findIndex(a=>a===o);n!==-1&&(e.preventDefault(),this.navigateToItem(r,n,e))}shouldHandle(e){return vt(e)||Tt(e)||Ia(e)||Ba(e)}shouldChildHandleNavigation(e,i){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"?this.shouldInputHandleNavigation(e,i):!1}shouldInputHandleNavigation(e,i){const o=e.selectionStart||0,r=e.value.length;return!!(vt(i)&&o>0||Tt(i)&&othis.isVisible(i))}isVisible(e){const i=getComputedStyle(e);return i.display!=="none"&&i.visibility!=="hidden"&&e.offsetWidth>0&&e.offsetHeight>0}navigateToItem(e,i,o){var r,n;vt(o)?this.focusPrevious(e,i):Tt(o)?this.focusNext(e,i):Ia(o)?(r=e[0])==null||r.focus():Ba(o)&&((n=e[e.length-1])==null||n.focus())}focusPrevious(e,i){i>0&&e[i-1].focus()}focusNext(e,i){i=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};let Oa=class extends Ke{constructor(){super(...arguments),this.visible=!1}};h5([p({type:Boolean})],Oa.prototype,"visible",void 0);Oa=h5([ce({tag:"ui5-shellbar-spacer"})],Oa);Oa.define();const jL=Oa,WL={key:"NAVIGATION_MENU_POPOVER_HIDDEN_TEXT",defaultText:"Additional Navigation Items"},KL={key:"NAVIGATION_MENU_SELECTABLE_ITEM_HIDDEN_TEXT",defaultText:"This menu item opens a submenu and also links to a page. To go to the page, press Enter or the right arrow key to open the submenu, then select the first item in the submenu."},ZL={key:"SHELLBAR_LABEL",defaultText:"Shell Bar"},XL={key:"SHELLBAR_ADDITIONAL_CONTEXT",defaultText:"Additional Info"},YL={key:"SHELLBAR_NOTIFICATIONS",defaultText:"{0} Notifications"},JL={key:"SHELLBAR_NOTIFICATIONS_NO_COUNT",defaultText:"Notifications"},QL={key:"SHELLBAR_PROFILE",defaultText:"User Menu"},eP={key:"SHELLBAR_PRODUCTS",defaultText:"Products"},tP={key:"SHELLBAR_SEARCH",defaultText:"Search"},iP={key:"SHELLBAR_OVERFLOW",defaultText:"More"},oP={key:"SHELLBAR_ASSISTANT",defaultText:"Assistant"},rP={key:"SIDE_NAVIGATION_POPOVER_HIDDEN_TEXT",defaultText:"Navigation"},nP={key:"SIDE_NAVIGATION_COLLAPSED_LIST_ARIA_ROLE_DESC",defaultText:"Navigation List Menu Bar"},aP={key:"SIDE_NAVIGATION_LIST_ARIA_ROLE_DESC",defaultText:"Navigation List Tree"},sP={key:"SIDE_NAVIGATION_OVERFLOW_ACCESSIBLE_NAME",defaultText:"More Items"},lP={key:"SIDE_NAVIGATION_OVERFLOW_ITEM_LABEL",defaultText:"Displays additional navigation items that are hidden due to limited screen space."},cP={key:"SIDE_NAVIGATION_PARENT_ITEM_SELECTABLE_DESCRIPTION",defaultText:"To navigate to navigation item {0}, press Spacebar or Enter."},uP={key:"SIDE_NAVIGATION_FLEXIBLE_LIST_LABEL",defaultText:"Primary Navigation Menu"},_P={key:"SIDE_NAVIGATION_FIXED_LIST_LABEL",defaultText:"Footer Navigation Menu"},p5={key:"SIDE_NAVIGATION_ICON_COLLAPSE",defaultText:"Collapse"},f5={key:"SIDE_NAVIGATION_ICON_EXPAND",defaultText:"Expand"};var Ae=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},vi;const Xp=["feedback","sys-help"],dt={Search:"search",Profile:"profile",Overflow:"overflow",Assistant:"assistant",ProductSwitch:"products",Notifications:"notifications"},yo={Search:".ui5-shellbar-search-toggle",Profile:".ui5-shellbar-image-button",Overflow:".ui5-shellbar-overflow-button",Assistant:".ui5-shellbar-assistant-button",ProductSwitch:".ui5-shellbar-button-product-switch",Notifications:".ui5-shellbar-bell-button"};let ye=vi=class extends Ke{constructor(){super(...arguments),this.showNotifications=!1,this.showProductSwitch=!1,this.showSearchField=!1,this.accessibilityAttributes={},this.breakpointSize="S",this.actions=[],this.showOverflowButton=!1,this.overflowPopoverOpen=!1,this.hiddenItemsIds=[],this.showFullWidthSearch=!1,this.RESIZE_THROTTLE_RATE=100,this.handleResizeBound=Y3(this.handleResize.bind(this),this.RESIZE_THROTTLE_RATE),this.breakpoints=[599,1023,1439,1919,1e4],this.breakpointMap={599:"S",1023:"M",1439:"L",1919:"XL",1e4:"XXL"},this.itemNavigation=new GL({getDomRef:()=>this.getDomRef()||null}),this.overflow=new VL,this.accessibility=new qL,this._searchAdaptor=new En(this.getSearchDeps()),this._searchAdaptorLegacy=new Rn({...this.getSearchDeps(),getDisableSearchCollapse:()=>this.disableSearchCollapse}),this.hideSearchButton=!1,this.disableSearchCollapse=!1,this.menuPopoverOpen=!1}onEnterDOM(){var e;Qt.register(this,this.handleResizeBound),(e=this.searchAdaptor)==null||e.subscribe()}onExitDOM(){var e;Qt.deregister(this,this.handleResizeBound),(e=this.searchAdaptor)==null||e.unsubscribe()}onBeforeRendering(){var e,i,o;this.legacyAdaptor||this.initLegacyController(),this.branding.forEach(r=>{r._isSBreakPoint=this.isSBreakPoint}),this.buildActions(),(e=this.searchAdaptor)==null||e.syncShowSearchFieldState(),(i=this.searchAdaptor)==null||i.unsubscribe(),(o=this.searchAdaptor)==null||o.subscribe()}onAfterRendering(){this.updateBreakpoint(),this.updateOverflow()}buildActions(){this.actions=[{id:dt.Search,icon:T7,enabled:this.enabledFeatures.search,selector:yo.Search,isProtected:!1,stableDomRef:"toggle-search"},{id:dt.Assistant,icon:_L,enabled:this.enabledFeatures.assistant,selector:yo.Assistant,isProtected:!1},{id:dt.Notifications,icon:$7,count:this.notificationsCount,enabled:this.enabledFeatures.notifications,selector:yo.Notifications,isProtected:!1,stableDomRef:"notifications"},{id:dt.Overflow,icon:c5,enabled:this.enabledFeatures.overflow,selector:yo.Overflow,isProtected:!0,stableDomRef:"overflow"},{id:dt.Profile,enabled:this.enabledFeatures.profile,selector:yo.Profile,isProtected:!0,stableDomRef:"profile"},{id:dt.ProductSwitch,icon:J7,enabled:this.enabledFeatures.productSwitch,selector:yo.ProductSwitch,isProtected:!0,stableDomRef:"product-switch"}].filter(e=>e.enabled)}getAction(e){return this.actions.find(i=>i.id===e)}getActionOverflowText(e){return{[dt.Search]:this.texts.search,[dt.Profile]:this.texts.profile,[dt.Overflow]:this.texts.overflow,[dt.Assistant]:this.texts.assistant,[dt.ProductSwitch]:this.texts.products,[dt.Notifications]:this.texts.notificationsNoCount}[e]||e}get isSBreakPoint(){return this.breakpointSize==="S"}updateBreakpoint(){const e=this.getBoundingClientRect().width,i=this.breakpoints.find(r=>e<=r)||1e4,o=this.breakpointMap[i];this.breakpointSize!==o&&(this.breakpointSize=o)}updateOverflow(){if(!this.overflow)return;const e=this.overflow.updateOverflow({actions:this.actions,content:this.sortContent(this.content),customItems:this.sortItems(this.items),hiddenItemsIds:this.hiddenItemsIds,showSearchField:this.enabledFeatures.search&&this.showSearchField,overflowOuter:this.overflowOuter,overflowInner:this.overflowInner,setVisible:(i,o)=>{const r=this.shadowRoot.querySelector(i);r&&r.classList[o?"remove":"add"]("ui5-shellbar-hidden")}});return this.handleUpdateOverflowResult(e),e.hiddenItemsIds}handleUpdateOverflowResult(e){var r;const{hiddenItemsIds:i,showOverflowButton:o}=e;this.items.forEach(n=>{n.inOverflow=i.includes(n._id),n.inOverflow&&n.classList.remove("ui5-shellbar-hidden")}),Zs(this.hiddenItemsIds,i)||(this.handleContentVisibilityChanged(this.hiddenItemsIds,i),this.hiddenItemsIds=i,this.showOverflowButton=o),this.showFullWidthSearch=((r=this.searchAdaptor)==null?void 0:r.shouldShowFullScreen())||!1}handleContentVisibilityChanged(e,i){const o=a=>a.filter(s=>this.content.some(l=>l._individualSlot===s)),r=o(e),n=o(i);Zs(r,n)||this.fireDecoratorEvent("content-item-visibility-change",{items:n.map(a=>this.content.find(s=>s._individualSlot===a))})}handleResize(){var o,r;this.overflowPopoverOpen=!1,this.updateBreakpoint();const e=this.updateOverflow()??[],i=((o=this.spacer)==null?void 0:o.getBoundingClientRect().width)||0;(r=this.searchAdaptor)==null||r.autoManageSearchState(e.length,i)}isHidden(e){return this.hiddenItemsIds.includes(e)}handleOverflowClick(){this.overflowPopoverOpen=!this.overflowPopoverOpen}onPopoverClose(){this.overflowPopoverOpen=!1}closeOverflow(){this.overflowPopoverOpen=!1}handleOverflowItemClick(e){const o=e.target.getAttribute("data-action-id");let r=e.defaultPrevented;o===dt.Notifications?r=this.handleNotificationsClick():o===dt.Search&&(r=this.handleSearchButtonClick()),r||(this.overflowPopoverOpen=!1)}get overflowItems(){return this.overflow.getOverflowItems({actions:this.actions,customItems:this.sortItems(this.items),hiddenItemsIds:this.hiddenItemsIds})}get overflowBadge(){const e=this.overflowItems.filter(i=>i.data.count);if(e.length===1)return e[0].data.count;if(e.length>1)return" "}get search(){return this.searchField.length?this.searchField[0]:null}get isSelfCollapsibleSearch(){const e=this.search;return e?"collapsed"in e&&"open"in e:!1}getSearchDeps(){return{getSearchField:()=>this.search,getSearchState:()=>this.enabledFeatures.search&&this.showSearchField,getCSSVariable:e=>this.getCSSVariable(e),setSearchState:e=>this.setSearchState(e),getOverflowed:()=>this.overflow.isOverflowing(this.overflowOuter,this.overflowInner)}}get searchAdaptor(){return this.isSelfCollapsibleSearch?this._searchAdaptor:this._searchAdaptorLegacy}handleSearchButtonClick(){const e=this.shadowRoot.querySelector(".ui5-shellbar-search-button"),i=!this.fireDecoratorEvent("search-button-click",{targetRef:e,searchFieldVisible:this.showSearchField});if(i||(this.setSearchState(!this.showSearchField),!this.showSearchField))return i;const o=this.searchField[0];return o&&(o.focused=!0,setTimeout(()=>{o.focus()},100)),i}async setSearchState(e){e!==this.showSearchField&&(this.showSearchField=e,await Qi(),this.fireDecoratorEvent("search-field-toggle",{expanded:e}))}handleCancelButtonClick(){const e=this.shadowRoot.querySelector(".ui5-shellbar-cancel-button");if(!e)return;const i=!this.fireDecoratorEvent("search-field-clear",{targetRef:e});this.showFullWidthSearch=!1,this.setSearchState(!1),!i&&this.search&&(this.search.value="")}initLegacyController(){this.hasLegacyFeatures&&(this.legacyAdaptor=new UL({component:this,getShadowRoot:()=>this.shadowRoot}))}get hasLegacyFeatures(){return this.logo.length>0||!!this.primaryTitle||!!this.secondaryTitle||this.menuItems.length>0}_onKeyDown(e){this.itemNavigation.handleKeyDown(e)}get startContent(){return this.splitContent(this.content).start}get endContent(){return this.splitContent(this.content).end}get separatorConfig(){if(this.isSBreakPoint)return{showStartSeparator:!1,showEndSeparator:!1};const{start:e,end:i}=this.splitContent(this.content);return{showStartSeparator:e.some(o=>!this.hiddenItemsIds.includes(o._individualSlot)),showEndSeparator:i.some(o=>!this.hiddenItemsIds.includes(o._individualSlot))}}splitContent(e){const i=e.findIndex(o=>o.hasAttribute("ui5-shellbar-spacer"));return i===-1?{start:[...e],end:[]}:{start:e.slice(0,i),end:e.slice(i+1)}}sortContent(e){return e.toReversed().toSorted((i,o)=>{const r=parseInt(i.getAttribute("data-hide-order")||"0"),n=parseInt(o.getAttribute("data-hide-order")||"0");return r-n})}getPackedSeparatorInfo(e,i){const o=i?this.startContent:this.endContent,r=this.sortContent(o),n=this.hiddenItemsIds.includes(e._individualSlot),a=r.at(-1)===e;return{shouldPack:n&&a}}sortItems(e){return e.toSorted((i,o)=>{const r=Xp.indexOf(i.icon||""),n=Xp.indexOf(o.icon||"");return r-n})}get actionsAccessibilityInfo(){return this.accessibility.getActionsAccessibilityAttributes(this.texts,{overflowPopoverOpen:this.overflowPopoverOpen,accessibilityAttributes:this.accessibilityAttributes})}get actionsRole(){const e=this.actions.filter(i=>!this.hiddenItemsIds.includes(i.id)).length;return this.accessibility.getActionsRole(e)}get contentRole(){const e=this.content.filter(i=>!this.hiddenItemsIds.includes(i._individualSlot)).length;return this.accessibility.getContentRole(e)}get enabledFeatures(){return{search:this.searchField.length>0,profile:this.profile.length>0,content:this.content.length>0,branding:this.branding.length>0,overflow:this.showOverflowButton,assistant:this.assistant.length>0,startButton:this.startButton.length>0,notifications:this.showNotifications,productSwitch:this.showProductSwitch}}get texts(){return{search:vi.i18nBundle.getText(tP),profile:vi.i18nBundle.getText(QL),shellbar:vi.i18nBundle.getText(ZL),products:vi.i18nBundle.getText(eP),overflow:vi.i18nBundle.getText(iP),assistant:vi.i18nBundle.getText(oP),notifications:vi.i18nBundle.getText(YL,this.notificationsCount||0),notificationsNoCount:vi.i18nBundle.getText(JL),contentItems:this.content.length>1?vi.i18nBundle.getText(XL):void 0}}get popoverHorizontalAlign(){return this.effectiveDir==="rtl"?"Start":"End"}get logoDomRef(){return this.shadowRoot.querySelector('*[data-ui5-stable="logo"]')}get notificationsDomRef(){return this.shadowRoot.querySelector('*[data-ui5-stable="notifications"]')}get overflowDomRef(){return this.shadowRoot.querySelector('*[data-ui5-stable="overflow"]')}get profileDomRef(){return this.shadowRoot.querySelector('*[data-ui5-stable="profile"]')}get productSwitchDomRef(){return this.shadowRoot.querySelector('*[data-ui5-stable="product-switch"]')}async getSearchButtonDomRef(){return await Qi(),this.shadowRoot.querySelector('*[data-ui5-stable="toggle-search"]')}_fireClickEvent(e,i){return i?!this.fireDecoratorEvent(e,{targetRef:i}):!1}handleNotificationsClick(){return this._fireClickEvent("notifications-click",this.notificationsDomRef)}handleProfileClick(){return this._fireClickEvent("profile-click",this.profileDomRef)}handleProductSwitchClick(){return this._fireClickEvent("product-switch-click",this.productSwitchDomRef)}getCSSVariable(e){return getComputedStyle(this.getDomRef()).getPropertyValue(Uy(e))}};Ae([ae()],ye.prototype,"startButton",void 0);Ae([ae()],ye.prototype,"branding",void 0);Ae([ae({type:HTMLElement,individualSlots:!0})],ye.prototype,"content",void 0);Ae([ae({type:HTMLElement})],ye.prototype,"searchField",void 0);Ae([ae()],ye.prototype,"assistant",void 0);Ae([ae({type:HTMLElement,default:!0,individualSlots:!0})],ye.prototype,"items",void 0);Ae([ae()],ye.prototype,"profile",void 0);Ae([p()],ye.prototype,"notificationsCount",void 0);Ae([p({type:Boolean})],ye.prototype,"showNotifications",void 0);Ae([p({type:Boolean})],ye.prototype,"showProductSwitch",void 0);Ae([p({type:Boolean})],ye.prototype,"showSearchField",void 0);Ae([p({type:Object})],ye.prototype,"accessibilityAttributes",void 0);Ae([p()],ye.prototype,"breakpointSize",void 0);Ae([p({type:Object})],ye.prototype,"actions",void 0);Ae([p({type:Boolean})],ye.prototype,"showOverflowButton",void 0);Ae([p({type:Boolean})],ye.prototype,"overflowPopoverOpen",void 0);Ae([p({type:Object})],ye.prototype,"hiddenItemsIds",void 0);Ae([p({type:Boolean})],ye.prototype,"showFullWidthSearch",void 0);Ae([dd(".ui5-shellbar-spacer")],ye.prototype,"spacer",void 0);Ae([dd(".ui5-shellbar-overflow-container")],ye.prototype,"overflowOuter",void 0);Ae([dd(".ui5-shellbar-overflow-container-inner")],ye.prototype,"overflowInner",void 0);Ae([p({type:Boolean})],ye.prototype,"hideSearchButton",void 0);Ae([p({type:Boolean})],ye.prototype,"disableSearchCollapse",void 0);Ae([p()],ye.prototype,"primaryTitle",void 0);Ae([p()],ye.prototype,"secondaryTitle",void 0);Ae([ae()],ye.prototype,"logo",void 0);Ae([ae()],ye.prototype,"menuItems",void 0);Ae([p({type:Boolean})],ye.prototype,"menuPopoverOpen",void 0);Ae([ae()],ye.prototype,"midContent",void 0);Ae([Xe("@ui5/webcomponents-fiori")],ye,"i18nBundle",void 0);ye=vi=Ae([ce({tag:"ui5-shellbar",styles:[$L,HL,FL],renderer:we,template:ML,fastNavigation:!0,languageAware:!0,dependencies:[Pe,pe,J,Pa,Dn,jL,u5,id,l5]}),j("notifications-click",{cancelable:!0,bubbles:!0}),j("profile-click",{bubbles:!0}),j("product-switch-click",{cancelable:!0,bubbles:!0}),j("logo-click",{bubbles:!0}),j("menu-item-click",{bubbles:!0,cancelable:!0}),j("search-button-click",{cancelable:!0,bubbles:!0}),j("search-field-toggle",{bubbles:!0}),j("search-field-clear",{cancelable:!0,bubbles:!0}),j("content-item-visibility-change",{bubbles:!0})],ye);ye.define();const dP=t=>e=>e?(Array.isArray(t)?t:[t]).some(i=>i in e&&e[i]===!0):!1;var mr=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class ro extends Ke{constructor(){super(...arguments),this.disabled=!1,this.forcedTabIndex="-1",this.sideNavCollapsed=!1,this.inPopover=!1,this._groupDisabled=!1}onEnterDOM(){zt()&&this.setAttribute("desktop","")}get _tooltip(){return this.tooltip||void 0}get hasSubItems(){return!1}get effectiveDisabled(){return this.disabled}get classesArray(){const e=[];return this.effectiveDisabled&&e.push("ui5-sn-item-disabled"),e}get _classes(){return this.classesArray.join(" ")}get effectiveTabIndex(){return this.forcedTabIndex!==void 0?parseInt(this.forcedTabIndex):void 0}get sideNavigation(){return this._sideNavigation}set sideNavigation(e){this._sideNavigation=e}get isFixedItem(){let e=this,i=e.parentElement;for(;i&&!i.hasAttribute("ui5-side-navigation");)e=i,i=e.parentElement;return(e==null?void 0:e.slot)==="fixedItems"}get isSideNavigationItemBase(){return!0}applyInitialFocusInPopover(){}}mr([p()],ro.prototype,"text",void 0);mr([p({type:Boolean})],ro.prototype,"disabled",void 0);mr([p()],ro.prototype,"tooltip",void 0);mr([p()],ro.prototype,"accessibleName",void 0);mr([p({noAttribute:!0})],ro.prototype,"forcedTabIndex",void 0);mr([p({type:Boolean})],ro.prototype,"sideNavCollapsed",void 0);mr([p({type:Boolean})],ro.prototype,"inPopover",void 0);mr([p({type:Boolean,noAttribute:!0})],ro.prototype,"_groupDisabled",void 0);const hP=Pi("isSideNavigationItemBase");var no=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};let gi=class extends ro{constructor(){super(...arguments),this._parentDisabled=!1,this.selected=!1,this.design="Default",this.unselectable=!1,this.accessibilityAttributes={},this.isOverflow=!1}get ariaRole(){return this.sideNavCollapsed?this.isOverflow||this.unselectable?"menuitem":"menuitemradio":"treeitem"}get isSelectable(){return!this.unselectable&&!this.effectiveDisabled}get _href(){return!this.effectiveDisabled&&this.href?this.href:void 0}get _target(){return!this.effectiveDisabled&&this.href&&this.target?this.target:void 0}get isExternalLink(){return this.href&&this.target==="_blank"}get _selected(){return this.selected}get _effectiveTag(){return this._href?"a":"div"}get effectiveDisabled(){return this.disabled||this._parentDisabled}get _ariaHasPopup(){var e;if((e=this.accessibilityAttributes)!=null&&e.hasPopup)return this.accessibilityAttributes.hasPopup}get classesArray(){const e=[];return this.effectiveDisabled&&e.push("ui5-sn-item-disabled"),this._selected&&e.push("ui5-sn-item-selected"),e}get _classes(){return this.classesArray.join(" ")}get _ariaCurrent(){if(!(!this.sideNavCollapsed&&!this.selected))return"page"}get _ariaSelected(){if(this.sideNavCollapsed)return this.selected}_onkeydown(e){var o,r;const i=this.effectiveDir==="rtl";(Fe(e)||Tt(e)||vt(e))&&e.preventDefault(),(Ye(e)||Ws(e)||wm(e)||Cm(e))&&(this.unselectable||this._activate(e)),(i?vt(e):Tt(e))&&this.sideNavCollapsed&&this.hasSubItems&&this._activate(e),(i?Tt(e):vt(e))&&this.inPopover&&((r=(o=this.associatedItem)==null?void 0:o.sideNavigation)==null||r.closePicker())}_onkeyup(e){if(Fe(e)&&(this._activate(e),this.href&&!e.defaultPrevented)){const i=new MouseEvent("click");i.stopImmediatePropagation(),this.getDomRef().querySelector("a")?this.getDomRef().querySelector("a").dispatchEvent(i):this.getDomRef().dispatchEvent(i)}}_onclick(e){this._activate(e)}_onfocusin(e){var i;e.stopPropagation(),(i=this.sideNavigation)==null||i.focusItem(this)}_activate(e){var a;const{altKey:i,ctrlKey:o,metaKey:r,shiftKey:n}=e;e.stopPropagation(),this.isOverflow?this.fireDecoratorEvent("click",{altKey:i,ctrlKey:o,metaKey:r,shiftKey:n})||e.preventDefault():(a=this.sideNavigation)==null||a._handleItemClick(e,this)}get isSideNavigationSelectableItemBase(){return!0}};no([p({type:Boolean,noAttribute:!0})],gi.prototype,"_parentDisabled",void 0);no([p()],gi.prototype,"icon",void 0);no([p({type:Boolean})],gi.prototype,"selected",void 0);no([p()],gi.prototype,"href",void 0);no([p()],gi.prototype,"target",void 0);no([p()],gi.prototype,"design",void 0);no([p({type:Boolean})],gi.prototype,"unselectable",void 0);no([p({type:Object})],gi.prototype,"accessibilityAttributes",void 0);no([p({type:Boolean})],gi.prototype,"isOverflow",void 0);gi=no([j("click",{bubbles:!0,cancelable:!0}),ce()],gi);const g5=gi,pP=Pi("isSideNavigationSelectableItemBase"),fP="navigation-right-arrow",gP="M9.25 8.373c.23-.249.23-.487 0-.715L4.344 2.71a.982.982 0 0 1-.313-.715c0-.27.104-.498.313-.685A.892.892 0 0 1 5.03 1c.271 0 .51.104.719.311l5.969 6.005c.187.186.281.42.281.7a.95.95 0 0 1-.281.7l-6 5.973A.99.99 0 0 1 5 15a.99.99 0 0 1-.719-.311.948.948 0 0 1-.281-.7.95.95 0 0 1 .281-.7L9.25 8.373Z",mP=!1,vP="0 0 16 16",bP="SAP-icons-v4",yP="@ui5/webcomponents-icons";ie(fP,{pathData:gP,ltr:mP,viewBox:vP,collection:bP,packageName:yP});const wP="navigation-right-arrow",CP="M5.205 3.235a.75.75 0 0 1 1.06-.03l4.5 4.247a.75.75 0 0 1 0 1.09l-4.5 4.253a.75.75 0 1 1-1.03-1.09l3.922-3.708-3.922-3.702a.75.75 0 0 1-.03-1.06Z",xP=!1,SP="0 0 16 16",kP="SAP-icons-v5",TP="@ui5/webcomponents-icons";ie(wP,{pathData:CP,ltr:xP,viewBox:SP,collection:kP,packageName:TP});const o_="navigation-right-arrow",IP="navigation-down-arrow",BP="M13.285 4.277A.958.958 0 0 1 13.987 4c.28 0 .514.092.701.277a.967.967 0 0 1 .312.708.967.967 0 0 1-.312.707L8.67 11.754a.727.727 0 0 0-.156.092.367.367 0 0 0-.077.046.363.363 0 0 1-.078.046c-.125.041-.24.062-.343.062a.219.219 0 0 1-.094-.015.14.14 0 0 0-.062-.016.44.44 0 0 1-.297-.092 1.023 1.023 0 0 0-.109-.062c-.02-.02-.036-.03-.046-.03-.01 0-.026-.01-.047-.031-.021-.02-.042-.03-.063-.03L1.312 5.691A.967.967 0 0 1 1 4.985c0-.267.104-.503.312-.708A.959.959 0 0 1 2.013 4c.281 0 .515.092.702.277l4.802 4.77a.889.889 0 0 0 .997 0l4.771-4.77Z",AP=!1,EP="0 0 16 16",RP="SAP-icons-v4",LP="@ui5/webcomponents-icons";ie(IP,{pathData:BP,ltr:AP,viewBox:EP,collection:RP,packageName:LP});const PP="navigation-down-arrow",OP="M3.235 5.205a.75.75 0 0 0-.03 1.06l4.247 4.5a.75.75 0 0 0 1.09 0l4.253-4.5a.75.75 0 1 0-1.09-1.03L7.997 9.157 4.295 5.235a.75.75 0 0 0-1.06-.03Z",DP=!1,zP="0 0 16 16",NP="SAP-icons-v5",MP="@ui5/webcomponents-icons";ie(PP,{pathData:OP,ltr:DP,viewBox:zP,collection:NP,packageName:MP});const m5="navigation-down-arrow",$P="arrow-right",FP="M15.719 7.317a.95.95 0 0 1 .281.701.95.95 0 0 1-.281.701l-4.964 4.97a.99.99 0 0 1-.719.311.99.99 0 0 1-.719-.312.95.95 0 0 1-.28-.701.95.95 0 0 1 .28-.701L12.625 9H1a.99.99 0 0 1-.703-.28A.943.943 0 0 1 0 8.002.96.96 0 0 1 .297 7.3.962.962 0 0 1 1 7.005h11.625l-3.276-3.29a.984.984 0 0 1-.313-.718c0-.27.104-.498.313-.685A.891.891 0 0 1 10.036 2c.271 0 .5.104.688.312l4.995 5.005Z",HP=!1,UP="0 0 16 16",VP="SAP-icons-v4",qP="@ui5/webcomponents-icons";ie($P,{pathData:FP,ltr:HP,viewBox:UP,collection:VP,packageName:qP});const GP="arrow-right",jP="M9.205 3.236a.75.75 0 0 1 1.06-.03l4.5 4.252a.757.757 0 0 1 0 1.09l-4.5 4.248a.75.75 0 0 1-1.03-1.09l3.131-2.955H1.75a.75.75 0 0 1 0-1.5h10.611L9.235 4.294a.75.75 0 0 1-.03-1.06Z",WP=!1,KP="0 0 16 16",ZP="SAP-icons-v5",XP="@ui5/webcomponents-icons";ie(GP,{pathData:jP,ltr:WP,viewBox:KP,collection:ZP,packageName:XP});const pd="arrow-right";function YP(){return this.sideNavCollapsed?Yp.call(this):f("li",{id:this._id,class:"ui5-sn-list-li",role:"none",children:Yp.call(this)})}function Yp(){const t=this._effectiveTag;return z(de,{children:[z(t,{id:this._id,"data-sap-focus-ref":!0,class:`ui5-sn-item ui5-sn-item-level1 ${this._classes}`,role:this.ariaRole,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._onclick,onFocusIn:this._onfocusin,tabIndex:this.effectiveTabIndex,"aria-current":this._ariaCurrent,"aria-selected":this._ariaSelected,title:this._tooltip,"aria-disabled":this.effectiveDisabled,href:this._href,target:this._target,"aria-haspopup":this._ariaHasPopup,onFocusOut:this._onfocusout,onMouseEnter:this._onmouseenter,onMouseLeave:this._onmouseleave,"aria-checked":this._ariaChecked,"aria-owns":this._groupId,"aria-label":this._ariaLabel,"aria-expanded":this._expanded,"aria-describedby":this._describedBy,children:[this.sideNavCollapsed?f(Pe,{class:"ui5-sn-item-icon",name:this.icon}):this.icon&&f(Pe,{class:"ui5-sn-item-icon",name:this.icon}),f("div",{class:"ui5-sn-item-text",children:this.text}),this.sideNavCollapsed?!!this.items.length&&f(Pe,{class:"ui5-sn-item-toggle-icon",name:o_}):!!this.items.length&&f(Pe,{class:"ui5-sn-item-toggle-icon",name:this.expanded?m5:o_,accessibleName:this._arrowTooltip,showTooltip:!0,onClick:this._onToggleClick}),this.isExternalLink&&f(Pe,{class:"ui5-sn-item-external-link-icon",name:pd})]}),!this.sideNavCollapsed&&!!this.items.length&&f("ul",{id:this._groupId,class:"ui5-sn-item-ul","aria-label":this.accessibleName||this.text,role:"group",children:f("slot",{})})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents-fiori","sap_horizon",async()=>Di,"host");const JP=`:host{display:block}.ui5-sn-item-ul{margin:0;padding:0;list-style:none}.ui5-sn-item{display:flex;align-items:center;width:auto;min-width:0;box-sizing:border-box;text-decoration:none;position:relative;min-height:var(--_ui5_side_navigation_item_height);cursor:pointer;color:inherit;background-color:var(--sapList_Background);border-radius:var(--_ui5_side_navigation_item_border_radius);transition:var(--_ui5_side_navigation_item_transition);word-wrap:break-word}:host(:not([in-popover])) .ui5-sn-item{margin-block-end:var(--_ui5_side_navigation_item_bottom_margin)}:host(.ui5-sn-item-hidden[side-nav-collapsed]),:host([side-nav-collapsed]) .ui5-sn-item-hidden{display:none}:host([side-nav-collapsed]) .ui5-sn-item{transition:none}:host([design="Action"]){color:var(--sapButton_TextColor)}:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):active [ui5-icon],:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):active .ui5-sn-item-text{color:var(--_ui5_side_navigation_active_text_color)}:host([design="Action"]) .ui5-sn-item{border:var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);box-sizing:content-box}:host([design="Action"]:not([side-nav-collapsed])) .ui5-sn-item{max-width:-moz-available;max-width:-webkit-fill-available;max-width:fill-available}:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):hover{border:var(--_ui5_side_navigation_action_item_border_hover);background:var(--sapButton_Hover_Background)}:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):active{border:var(--_ui5_side_navigation_action_item_border_active);background:var(--sapButton_Active_Background)}.ui5-sn-item:focus{outline:none}:host([desktop]) .ui5-sn-item:focus:after,.ui5-sn-item:focus-visible:after{border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;content:"";inset:var(--_ui5_side_navigation_item_focus_border_offset);z-index:3;pointer-events:none;border-radius:var(--_ui5_side_navigation_item_focus_border_radius)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:focus:before{border:var(--_ui5_side_navigation_selected_and_focused_border_style_color)}.ui5-sn-item.ui5-sn-item-group:before,.ui5-sn-item.ui5-sn-item-level1:before{border:var(--_ui5_side_navigation_group_border_style_color);border-width:var(--_ui5_side_navigation_group_border_width)}.ui5-sn-item-group[aria-expanded=true]:before,.ui5-sn-item-level1[aria-expanded=true]:before{border-width:var(--_ui5_side_navigation_group_expanded_border_width)}.ui5-sn-item:before{content:"";position:absolute;inset:0;pointer-events:none}.ui5-sn-item.ui5-sn-item-disabled{cursor:default}.ui5-sn-item.ui5-sn-item-disabled>*{opacity:var(--sapContent_DisabledOpacity)}.ui5-sn-item.ui5-sn-item-disabled:after{opacity:1}:host([ui5-side-navigation-item][in-popover][unselectable]) .ui5-sn-item{cursor:unset}:host(:not([ui5-side-navigation-item][in-popover][unselectable])) .ui5-sn-item:not(.ui5-sn-item-disabled):not(.ui5-sn-item-selected):hover{background:var(--sapList_Hover_Background)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected{background:var(--_ui5_side_navigation_collapsed_selected_item_background)}.ui5-sn-item:not(.ui5-sn-item-disabled):active .ui5-sn-item-text,.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-active .ui5-sn-item-text{color:var(--sapList_Active_TextColor)}.ui5-sn-item:not(.ui5-sn-item-disabled):active [ui5-icon],.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-active [ui5-icon]{color:var(--sapList_Active_TextColor)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:hover{background:var(--_ui5_side_navigation_collapsed_selected_item_background_hover)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:active,.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected.ui5-sn-item-active,:host(:not([ui5-side-navigation-item][in-popover][unselectable])) .ui5-sn-item:not(.ui5-sn-item-disabled):active,.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-active,:host(.ui5-sn-item-overflow.ui5-sn-item-active) .ui5-sn-item,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:active,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected.ui5-sn-item-active{background:var(--sapList_Active_Background)}.ui5-sn-item:before{border:var(--_ui5_side_navigation_item_border_style_color);border-width:var(--_ui5_side_navigation_item_border_width)}:host([side-nav-collapsed]) .ui5-sn-item:before{border-width:var(--_ui5_side_navigation_item_border_width)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:before{border:var(--_ui5_side_navigation_selected_border_style_color);border-width:var(--_ui5_side_navigation_selected_border_width)}:host(:not([design="Action"])) .ui5-sn-item:not(.ui5-sn-item-disabled):not(.ui5-sn-item-selected):hover:before{border:var(--_ui5_side_navigation_hover_border_style_color);border-width:var(--_ui5_side_navigation_hover_border_width)}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:before{border-radius:var(--_ui5_side_navigation_item_border_radius)}:host([in-popover]:last-of-type) .ui5-sn-item:not(:hover):not(:active):before{border:var(--_ui5_side_navigation_last_item_border_style)}.ui5-sn-item-icon{color:var(--_ui5_side_navigation_icon_color);padding-inline-start:1rem;padding-inline-end:var(--_ui5_side_navigation_icon_padding_inline_end)}:host([design="Action"]) .ui5-sn-item-icon{color:var(--sapButton_TextColor)}.ui5-sn-item-toggle-icon,.ui5-sn-item-external-link-icon{color:var(--_ui5_side_navigation_expand_icon_color);min-width:2rem;height:.875rem}:host([design="Action"]) .ui5-sn-item-toggle-icon,:host([design="Action"]) .ui5-sn-item-external-link-icon{color:var(--sapButton_TextColor)}.ui5-sn-item-external-link-icon{min-width:3rem}:host(:not([side-nav-collapsed])) .ui5-sn-item-toggle-icon{width:var(--_ui5_side_navigation_expand_icon_width);padding-inline-end:.375rem;padding-block:var(--_ui5_side_navigation_item_expand_arrow_padding);margin-inline-start:.5rem;height:var(--sapElement_Condensed_Height)}:host(:not([unselectable],[side-nav-collapsed])) .ui5-sn-item-toggle-icon{width:calc(var(--_ui5_side_navigation_expand_icon_width) + 4px)}:host(:not([unselectable],[side-nav-collapsed],[ui5-side-navigation-group])) .ui5-sn-item-toggle-icon{margin-inline-start:1rem;width:calc(var(--_ui5_side_navigation_expand_icon_width) + 5px)}:host(:not([side-nav-collapsed])) .ui5-sn-item-toggle-icon::part(root){padding-block:.25rem;border-inline-start:.0625rem solid var(--sapTextColor);display:block;height:.875rem;width:var(--_ui5_side_navigation_expand_icon_width)}:host(:not([unselectable],[side-nav-collapsed])) .ui5-sn-item-toggle-icon::part(root){padding-inline-start:.25rem}:host([unselectable]:not([side-nav-collapsed])) .ui5-sn-item-toggle-icon::part(root),:host(:not([side-nav-collapsed])) .ui5-sn-item-group .ui5-sn-item-toggle-icon::part(root),:host([unselectable][side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):hover .ui5-sn-item-toggle-icon,:host([unselectable][side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):focus .ui5-sn-item-toggle-icon{border-inline-start:none}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-toggle-icon{min-width:3rem}:host([in-popover]) .ui5-sn-item-toggle-icon{display:none}:host([side-nav-collapsed]) .ui5-sn-item{justify-content:center}:host([slot="fixedItems"]:not(side-nav-collapsed)) .ui5-sn-item.ui5-sn-item-level1{margin-top:var(--_ui5_side_navigation_first_fixed_item_margin_top)}:host([side-nav-collapsed]) .ui5-sn-item-icon{padding-inline-end:1rem}:host([design="Action"][side-nav-collapsed]) .ui5-sn-item-icon{padding-inline-end:calc(1rem - 1px);padding-inline-start:calc(1rem - 1px)}:host([side-nav-collapsed]) .ui5-sn-item-text{display:none}:host([side-nav-collapsed]) .ui5-sn-item-toggle-icon{display:var(--_ui5_side_navigation_item_expand_icon_visibility);font-size:.75rem;position:absolute;inset-inline-end:var(--_ui5_side_navigation_item_expand_icon_right)}:host([side-nav-collapsed]) .ui5-sn-item-external-link-icon{display:none}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus{width:var(--_ui5_side_navigation_item_collapsed_hover_focus_width);box-shadow:var(--_ui5_side_navigation_box_shadow);z-index:2;padding-inline-end:var(--_ui5_side_navigation_item_collapsed_padding)}:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):hover:not(.ui5-sn-item-with-expander),:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus:not(.ui5-sn-item-with-expander){padding-inline-end:0}:host([unselectable][side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):not(.ui5-sn-item-with-expander):hover,:host([unselectable][side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):not(.ui5-sn-item-with-expander):focus{padding-inline-end:var(--_ui5_side_navigation_action_item_collapsed_padding)}:host([side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover:not(.ui5-sn-item-with-expander),:host([side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus:not(.ui5-sn-item-with-expander),:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover:not(.ui5-sn-item-with-expander):not([target=_blank]),:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus:not(.ui5-sn-item-with-expander):not([target=_blank]){padding-inline-end:var(--_ui5_side_navigation_item_collapsed_hover_focus_padding_right)}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-text,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):focus .ui5-sn-item-text,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-external-link-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-external-link-icon{display:var(--_ui5_side_navigation_item_collapsed_hover_focus_display)}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-toggle-icon{left:var(--_ui5_side_navigation_item_expand_icon_hover_left);right:var(--_ui5_side_navigation_item_expand_icon_hover_right)}.ui5-sn-item[aria-expanded=false]~.ui5-sn-item-ul{display:none}.ui5-sn-item-text{flex:1;min-width:0}:host([side-nav-collapsed]) .ui5-sn-item-text,:host([design="Action"]) .ui5-sn-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([in-popover]) .ui5-sn-item-text{overflow:visible;text-overflow:unset;white-space:nowrap}:host(:not([side-nav-collapsed]):not([in-popover])) .ui5-sn-item-text{margin:var(--_ui5_side_navigation_item_margin) 0}:host(:not([side-nav-collapsed])) .ui5-sn-item:not(.ui5-sn-item-group):not(.ui5-sn-item-with-expander) .ui5-sn-item-text{padding-inline-end:.375rem}:host([side-nav-collapsed]) .ui5-sn-item-with-expander .ui5-sn-item-icon:after{display:var(--_ui5_side_navigation_triangle_display);content:"";width:0;height:0;border-left:.375rem solid transparent;border-bottom:.375rem solid var(--_ui5_side_navigation_triangle_color);position:absolute;right:.1875rem;bottom:.125rem}.ui5-sn-item-separator{min-height:.625rem}:host{color:var(--sapList_TextColor);font-family:var(--_ui5_side_navigation_item_font_family);font-size:var(--sapFontSize)}:host([in-popover]) ::slotted([ui5-side-navigation-sub-item]){margin-block-start:var(--_ui5_side_navigation_item_bottom_margin)}.ui5-sn-item-level1:not(:has(>.ui5-sn-item-icon)),.ui5-sn-item-level1.ui5-sn-item-selected:not(:has(>.ui5-sn-item-icon)){padding-inline-start:var(--_ui5_side_navigation_item_padding_left)}:host([in-popover]) .ui5-sn-item-level1 .ui5-sn-item-text{margin:0 .375rem 0 0;line-height:var(--_ui5_side_navigation_popup_title_line_height)}.ui5-sn-item.ui5-sn-item-level1.ui5-sn-item-overflow{margin-top:auto}.ui5-sn-item-level1 .ui5-sn-item-text{font-family:var(--_ui5_side_navigation_parent_item_font_family)} -`;var Qa=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},nn;let cr=nn=class extends g5{constructor(){super(...arguments),this.expanded=!1,this._fixed=!1}onBeforeRendering(){this.items.forEach(e=>{e._parentDisabled=this.effectiveDisabled})}get overflowItems(){return[this]}get hasSubItems(){return this.items.length>0}get effectiveDisabled(){return this.disabled||this._groupDisabled}get selectableItems(){return this.inPopover&&this.unselectable&&this.items.length?[...this.items]:[this,...this.items]}get focusableItems(){return this.sideNavCollapsed?[this]:this.inPopover&&this.unselectable&&this.items.length?[...this.items]:this.expanded?[this,...this.items]:[this]}get allItems(){return[this,...this.items]}get effectiveTabIndex(){if(!(this.inPopover&&this.unselectable))return super.effectiveTabIndex}get _ariaHasPopup(){var e,i;if(this.inPopover&&((e=this.accessibilityAttributes)!=null&&e.hasPopup))return this.accessibilityAttributes.hasPopup;if(!this.effectiveDisabled&&this.sideNavCollapsed&&this.items.length)return"tree";if((i=this.accessibilityAttributes)!=null&&i.hasPopup)return this.accessibilityAttributes.hasPopup;if(this.isOverflow)return"menu"}get _ariaChecked(){if(!(this.isOverflow||this.unselectable||!this.sideNavCollapsed))return this.selected}get _groupId(){if(!(!this.items.length||this.sideNavCollapsed))return`${this._id}-group`}get _expanded(){if(!(!this.items.length||this.sideNavCollapsed))return this.expanded}get _describedBy(){if(!this.effectiveDisabled&&this.items.length&&!this.unselectable)return nn.i18nBundle.getText(cP,this.text??"")}get classesArray(){const e=super.classesArray;return!this.effectiveDisabled&&this.items.length&&e.push("ui5-sn-item-with-expander"),this._fixed&&e.push("ui5-sn-item-fixed"),e}get _selected(){return this.sideNavCollapsed||!this.expanded?this.selected||this.items.some(e=>e.selected):this.selected}get _arrowTooltip(){return this.expanded?nn.i18nBundle.getText(p5):nn.i18nBundle.getText(f5)}get _ariaLabel(){if(this.accessibleName)return this.accessibleName;if(this.isOverflow)return nn.i18nBundle.getText(lP)}applyInitialFocusInPopover(){var e;this.unselectable&&this.items.length?(e=this.items[0])==null||e.focus():this.focus()}_onToggleClick(e){e.stopPropagation(),this._toggle()}_onkeydown(e){if(this.effectiveDisabled)return;const i=this.effectiveDir==="rtl";if(this.sideNavigation.classList.contains("ui5-side-navigation-in-popover")||this.sideNavCollapsed){super._onkeydown(e);return}if(vt(e)){e.preventDefault(),this.expanded=i;return}if(Tt(e)){e.preventDefault(),this.expanded=!i;return}if(Tm(e)){e.preventDefault(),this.expanded=!1;return}if(km(e)){e.preventDefault(),this.expanded=!0;return}Ye(e)&&!this.inPopover&&this.unselectable&&!this.isExternalLink&&e.preventDefault(),super._onkeydown(e)}_onkeyup(e){super._onkeyup(e)}_onfocusin(e){var i;this.inPopover&&this.unselectable&&this.items.length?(i=this.sideNavigation)==null||i.focusItem(this.items[0]):super._onfocusin(e)}_onclick(e){!this.inPopover&&this.unselectable&&this._toggle(),super._onclick(e)}_onfocusout(){this.sideNavCollapsed&&this.getDomRef().classList.remove("ui5-sn-item-no-hover-effect")}_onmouseenter(){this.sideNavCollapsed&&this.getDomRef().classList.remove("ui5-sn-item-no-hover-effect")}_onmouseleave(){!this.sideNavCollapsed||!this._selected||this.getDomRef().classList.add("ui5-sn-item-no-hover-effect")}_toggle(){this.items.length&&!this.effectiveDisabled&&(this.expanded=!this.expanded)}get isSideNavigationItem(){return!0}};Qa([p({type:Boolean})],cr.prototype,"expanded",void 0);Qa([p({type:Boolean})],cr.prototype,"_fixed",void 0);Qa([ae({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],cr.prototype,"items",void 0);Qa([Xe("@ui5/webcomponents-fiori")],cr,"i18nBundle",void 0);cr=nn=Qa([ce({tag:"ui5-side-navigation-item",renderer:we,template:YP,styles:JP})],cr);cr.define();const v5=cr,Hc=Pi("isSideNavigationItem");function QP(){return this.sideNavCollapsed?z(de,{children:[f("div",{class:`ui5-sn-item-separator ${this.belowGroupClassName}`}),f("slot",{}),f("div",{class:"ui5-sn-item-separator"})]}):eO.call(this)}function eO(){return z("li",{id:this._id,class:`ui5-sn-list-li ${this.belowGroupClassName}`,role:"none",children:[f("div",{class:"ui5-sn-item-separator"}),z("div",{id:this._id,"data-sap-focus-ref":!0,class:`ui5-sn-item ui5-sn-item-group ${this._classes}`,role:"treeitem",onKeyDown:this._onkeydown,onClick:this._onclick,onFocusIn:this._onfocusin,tabIndex:this.effectiveTabIndex,"aria-expanded":this._expanded,"aria-label":this.accessibleName||void 0,title:this._tooltip,"aria-owns":this._groupId,children:[f("div",{class:"ui5-sn-item-text",children:this.text}),!!this.items.length&&f(Pe,{class:"ui5-sn-item-toggle-icon",name:this.expanded?m5:o_,accessibleName:this._arrowTooltip,showTooltip:!0})]}),!!this.items.length&&f("ul",{id:this._groupId,class:"ui5-sn-item-ul","aria-label":this.accessibleName||this.text,role:"group",children:f("slot",{})}),f("div",{class:"ui5-sn-item-separator"})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents-fiori","sap_horizon",async()=>Di,"host");const tO=`:host{display:block}.ui5-sn-item-ul{margin:0;padding:0;list-style:none}.ui5-sn-item{display:flex;align-items:center;width:auto;min-width:0;box-sizing:border-box;text-decoration:none;position:relative;min-height:var(--_ui5_side_navigation_item_height);cursor:pointer;color:inherit;background-color:var(--sapList_Background);border-radius:var(--_ui5_side_navigation_item_border_radius);transition:var(--_ui5_side_navigation_item_transition);word-wrap:break-word}:host(:not([in-popover])) .ui5-sn-item{margin-block-end:var(--_ui5_side_navigation_item_bottom_margin)}:host(.ui5-sn-item-hidden[side-nav-collapsed]),:host([side-nav-collapsed]) .ui5-sn-item-hidden{display:none}:host([side-nav-collapsed]) .ui5-sn-item{transition:none}:host([design="Action"]){color:var(--sapButton_TextColor)}:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):active [ui5-icon],:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):active .ui5-sn-item-text{color:var(--_ui5_side_navigation_active_text_color)}:host([design="Action"]) .ui5-sn-item{border:var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);box-sizing:content-box}:host([design="Action"]:not([side-nav-collapsed])) .ui5-sn-item{max-width:-moz-available;max-width:-webkit-fill-available;max-width:fill-available}:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):hover{border:var(--_ui5_side_navigation_action_item_border_hover);background:var(--sapButton_Hover_Background)}:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):active{border:var(--_ui5_side_navigation_action_item_border_active);background:var(--sapButton_Active_Background)}.ui5-sn-item:focus{outline:none}:host([desktop]) .ui5-sn-item:focus:after,.ui5-sn-item:focus-visible:after{border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;content:"";inset:var(--_ui5_side_navigation_item_focus_border_offset);z-index:3;pointer-events:none;border-radius:var(--_ui5_side_navigation_item_focus_border_radius)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:focus:before{border:var(--_ui5_side_navigation_selected_and_focused_border_style_color)}.ui5-sn-item.ui5-sn-item-group:before,.ui5-sn-item.ui5-sn-item-level1:before{border:var(--_ui5_side_navigation_group_border_style_color);border-width:var(--_ui5_side_navigation_group_border_width)}.ui5-sn-item-group[aria-expanded=true]:before,.ui5-sn-item-level1[aria-expanded=true]:before{border-width:var(--_ui5_side_navigation_group_expanded_border_width)}.ui5-sn-item:before{content:"";position:absolute;inset:0;pointer-events:none}.ui5-sn-item.ui5-sn-item-disabled{cursor:default}.ui5-sn-item.ui5-sn-item-disabled>*{opacity:var(--sapContent_DisabledOpacity)}.ui5-sn-item.ui5-sn-item-disabled:after{opacity:1}:host([ui5-side-navigation-item][in-popover][unselectable]) .ui5-sn-item{cursor:unset}:host(:not([ui5-side-navigation-item][in-popover][unselectable])) .ui5-sn-item:not(.ui5-sn-item-disabled):not(.ui5-sn-item-selected):hover{background:var(--sapList_Hover_Background)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected{background:var(--_ui5_side_navigation_collapsed_selected_item_background)}.ui5-sn-item:not(.ui5-sn-item-disabled):active .ui5-sn-item-text,.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-active .ui5-sn-item-text{color:var(--sapList_Active_TextColor)}.ui5-sn-item:not(.ui5-sn-item-disabled):active [ui5-icon],.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-active [ui5-icon]{color:var(--sapList_Active_TextColor)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:hover{background:var(--_ui5_side_navigation_collapsed_selected_item_background_hover)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:active,.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected.ui5-sn-item-active,:host(:not([ui5-side-navigation-item][in-popover][unselectable])) .ui5-sn-item:not(.ui5-sn-item-disabled):active,.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-active,:host(.ui5-sn-item-overflow.ui5-sn-item-active) .ui5-sn-item,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:active,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected.ui5-sn-item-active{background:var(--sapList_Active_Background)}.ui5-sn-item:before{border:var(--_ui5_side_navigation_item_border_style_color);border-width:var(--_ui5_side_navigation_item_border_width)}:host([side-nav-collapsed]) .ui5-sn-item:before{border-width:var(--_ui5_side_navigation_item_border_width)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:before{border:var(--_ui5_side_navigation_selected_border_style_color);border-width:var(--_ui5_side_navigation_selected_border_width)}:host(:not([design="Action"])) .ui5-sn-item:not(.ui5-sn-item-disabled):not(.ui5-sn-item-selected):hover:before{border:var(--_ui5_side_navigation_hover_border_style_color);border-width:var(--_ui5_side_navigation_hover_border_width)}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:before{border-radius:var(--_ui5_side_navigation_item_border_radius)}:host([in-popover]:last-of-type) .ui5-sn-item:not(:hover):not(:active):before{border:var(--_ui5_side_navigation_last_item_border_style)}.ui5-sn-item-icon{color:var(--_ui5_side_navigation_icon_color);padding-inline-start:1rem;padding-inline-end:var(--_ui5_side_navigation_icon_padding_inline_end)}:host([design="Action"]) .ui5-sn-item-icon{color:var(--sapButton_TextColor)}.ui5-sn-item-toggle-icon,.ui5-sn-item-external-link-icon{color:var(--_ui5_side_navigation_expand_icon_color);min-width:2rem;height:.875rem}:host([design="Action"]) .ui5-sn-item-toggle-icon,:host([design="Action"]) .ui5-sn-item-external-link-icon{color:var(--sapButton_TextColor)}.ui5-sn-item-external-link-icon{min-width:3rem}:host(:not([side-nav-collapsed])) .ui5-sn-item-toggle-icon{width:var(--_ui5_side_navigation_expand_icon_width);padding-inline-end:.375rem;padding-block:var(--_ui5_side_navigation_item_expand_arrow_padding);margin-inline-start:.5rem;height:var(--sapElement_Condensed_Height)}:host(:not([unselectable],[side-nav-collapsed])) .ui5-sn-item-toggle-icon{width:calc(var(--_ui5_side_navigation_expand_icon_width) + 4px)}:host(:not([unselectable],[side-nav-collapsed],[ui5-side-navigation-group])) .ui5-sn-item-toggle-icon{margin-inline-start:1rem;width:calc(var(--_ui5_side_navigation_expand_icon_width) + 5px)}:host(:not([side-nav-collapsed])) .ui5-sn-item-toggle-icon::part(root){padding-block:.25rem;border-inline-start:.0625rem solid var(--sapTextColor);display:block;height:.875rem;width:var(--_ui5_side_navigation_expand_icon_width)}:host(:not([unselectable],[side-nav-collapsed])) .ui5-sn-item-toggle-icon::part(root){padding-inline-start:.25rem}:host([unselectable]:not([side-nav-collapsed])) .ui5-sn-item-toggle-icon::part(root),:host(:not([side-nav-collapsed])) .ui5-sn-item-group .ui5-sn-item-toggle-icon::part(root),:host([unselectable][side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):hover .ui5-sn-item-toggle-icon,:host([unselectable][side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):focus .ui5-sn-item-toggle-icon{border-inline-start:none}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-toggle-icon{min-width:3rem}:host([in-popover]) .ui5-sn-item-toggle-icon{display:none}:host([side-nav-collapsed]) .ui5-sn-item{justify-content:center}:host([slot="fixedItems"]:not(side-nav-collapsed)) .ui5-sn-item.ui5-sn-item-level1{margin-top:var(--_ui5_side_navigation_first_fixed_item_margin_top)}:host([side-nav-collapsed]) .ui5-sn-item-icon{padding-inline-end:1rem}:host([design="Action"][side-nav-collapsed]) .ui5-sn-item-icon{padding-inline-end:calc(1rem - 1px);padding-inline-start:calc(1rem - 1px)}:host([side-nav-collapsed]) .ui5-sn-item-text{display:none}:host([side-nav-collapsed]) .ui5-sn-item-toggle-icon{display:var(--_ui5_side_navigation_item_expand_icon_visibility);font-size:.75rem;position:absolute;inset-inline-end:var(--_ui5_side_navigation_item_expand_icon_right)}:host([side-nav-collapsed]) .ui5-sn-item-external-link-icon{display:none}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus{width:var(--_ui5_side_navigation_item_collapsed_hover_focus_width);box-shadow:var(--_ui5_side_navigation_box_shadow);z-index:2;padding-inline-end:var(--_ui5_side_navigation_item_collapsed_padding)}:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):hover:not(.ui5-sn-item-with-expander),:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus:not(.ui5-sn-item-with-expander){padding-inline-end:0}:host([unselectable][side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):not(.ui5-sn-item-with-expander):hover,:host([unselectable][side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):not(.ui5-sn-item-with-expander):focus{padding-inline-end:var(--_ui5_side_navigation_action_item_collapsed_padding)}:host([side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover:not(.ui5-sn-item-with-expander),:host([side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus:not(.ui5-sn-item-with-expander),:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover:not(.ui5-sn-item-with-expander):not([target=_blank]),:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus:not(.ui5-sn-item-with-expander):not([target=_blank]){padding-inline-end:var(--_ui5_side_navigation_item_collapsed_hover_focus_padding_right)}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-text,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):focus .ui5-sn-item-text,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-external-link-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-external-link-icon{display:var(--_ui5_side_navigation_item_collapsed_hover_focus_display)}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-toggle-icon{left:var(--_ui5_side_navigation_item_expand_icon_hover_left);right:var(--_ui5_side_navigation_item_expand_icon_hover_right)}.ui5-sn-item[aria-expanded=false]~.ui5-sn-item-ul{display:none}.ui5-sn-item-text{flex:1;min-width:0}:host([side-nav-collapsed]) .ui5-sn-item-text,:host([design="Action"]) .ui5-sn-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([in-popover]) .ui5-sn-item-text{overflow:visible;text-overflow:unset;white-space:nowrap}:host(:not([side-nav-collapsed]):not([in-popover])) .ui5-sn-item-text{margin:var(--_ui5_side_navigation_item_margin) 0}:host(:not([side-nav-collapsed])) .ui5-sn-item:not(.ui5-sn-item-group):not(.ui5-sn-item-with-expander) .ui5-sn-item-text{padding-inline-end:.375rem}:host([side-nav-collapsed]) .ui5-sn-item-with-expander .ui5-sn-item-icon:after{display:var(--_ui5_side_navigation_triangle_display);content:"";width:0;height:0;border-left:.375rem solid transparent;border-bottom:.375rem solid var(--_ui5_side_navigation_triangle_color);position:absolute;right:.1875rem;bottom:.125rem}.ui5-sn-item-separator{min-height:.625rem}:host{font-size:var(--sapFontSmallSize);color:var(--sapContent_LabelColor)}.ui5-sn-item.ui5-sn-item-group{min-height:2rem;padding-inline-start:var(--_ui5_side_navigation_group_padding);font-family:var(--sapFontFamily);font-size:var(--sapFontSize)}.ui5-sn-item.ui5-sn-item-group:hover .ui5-sn-item-toggle-icon,.ui5-sn-item.ui5-sn-item-group:focus .ui5-sn-item-toggle-icon{display:block}:host(:first-child) .ui5-sn-item-separator:first-child,:host(:last-child) .ui5-sn-item-separator:last-child,.ui5-sn-item-group-below-group.ui5-sn-item-separator,.ui5-sn-item-group-below-group .ui5-sn-item-separator:first-child{display:none}.ui5-sn-spacer{margin:var(--_ui5_side_navigation_navigation_separator_margin);height:var(--_ui5_side_navigation_navigation_separator_height);min-height:var(--_ui5_side_navigation_navigation_separator_height);background-color:var(--_ui5_side_navigation_navigation_separator_background_color);border-radius:var(--_ui5_side_navigation_navigation_separator_radius)} -`;var Xl=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},Ps;let Ln=Ps=class extends ro{constructor(){super(...arguments),this.expanded=!1,this.belowGroup=!1}onBeforeRendering(){this.allItems.forEach(e=>{e._groupDisabled=this.disabled})}get overflowItems(){const e=this.shadowRoot.querySelector(".ui5-sn-item-separator:first-child"),i=this.shadowRoot.querySelector(".ui5-sn-item-separator:last-child"),o=this.items.reduce((r,n)=>r.concat(n.overflowItems),new Array);return[e,...o,i]}get selectableItems(){return this.items.reduce((e,i)=>e.concat(i.selectableItems),new Array)}get focusableItems(){return this.sideNavCollapsed?this.items:this.expanded?this.items.reduce((e,i)=>e.concat(i.focusableItems),new Array(this)):[this]}get allItems(){return this.items.reduce((e,i)=>e.concat(i.allItems),new Array(this))}get _groupId(){if(this.items.length)return`${this._id}-group`}get _expanded(){if(this.items.length)return this.expanded}get belowGroupClassName(){return this.belowGroup?"ui5-sn-item-group-below-group":""}get _arrowTooltip(){return this.expanded?Ps.i18nBundle.getText(p5):Ps.i18nBundle.getText(f5)}_onkeydown(e){if(this.disabled)return;Fe(e)&&e.preventDefault();const i=this.effectiveDir==="rtl";if(vt(e)){e.preventDefault(),this.expanded=i;return}if(Tt(e)&&(e.preventDefault(),this.expanded=!i),Tm(e)){e.preventDefault(),this.expanded=!1;return}km(e)&&(e.preventDefault(),this.expanded=!0)}_onclick(){this._toggle()}_onfocusin(e){var i;e.stopPropagation(),(i=this.sideNavigation)==null||i.focusItem(this)}_toggle(){this.disabled||(this.expanded=!this.expanded)}get isSideNavigationGroup(){return!0}};Xl([p({type:Boolean})],Ln.prototype,"expanded",void 0);Xl([ae({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],Ln.prototype,"items",void 0);Xl([Xe("@ui5/webcomponents-fiori")],Ln,"i18nBundle",void 0);Ln=Ps=Xl([ce({tag:"ui5-side-navigation-group",renderer:we,template:QP,styles:tO})],Ln);Ln.define();const iO=Pi("isSideNavigationGroup");function oO(){return z(Li,{id:`${this._id}-navigation-menu-rp`,class:"ui5-menu-rp ui5-navigation-menu",verticalAlign:"Center",opener:this.opener,open:this.open,preventInitialFocus:!0,accessibleNameRef:`${this._id}-navigationMenuPopoverText`,onBeforeOpen:this._beforePopoverOpen,onOpen:this._afterPopoverOpen,onBeforeClose:this._beforePopoverClose,onClose:this._afterPopoverClose,hideArrow:!0,children:[f("span",{id:`${this._id}-navigationMenuPopoverText`,class:"ui5-hidden-text",children:this.accSideNavigationPopoverHiddenText}),f("div",{id:`${this._id}-menu-main`,class:"ui5-navigation-menu-main",children:this.items.length>0?f(pe,{id:`${this._id}-menu-list`,accessibleRole:"Menu",selectionMode:"None",loading:this.loading,loadingDelay:this.loadingDelay,separators:"None",onItemClick:this._itemClick,onKeyDown:this._itemKeyDown,"onui5-close-menu":this._close,children:f("slot",{})}):this.loading&&f(Nn,{id:`${this._id}-menu-busy-indicator`,active:!0,delay:this.loadingDelay,class:"ui5-menu-busy-indicator"})})]})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents-fiori","sap_horizon",async()=>Di,"host");const rO=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}::slotted([ui5-navigation-menu-item]:not(:last-of-type)){margin-block-end:var(--_ui5_side_navigation_item_bottom_margin)}.ui5-navigation-menu .ui5-navigation-menu-main{padding:var(--_ui5_side_navigation_popup_padding)}.ui5-menu-rp.ui5-navigation-menu{min-width:10rem;background:var(--sapGroup_ContentBackground);border:none} -`;var fd=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},r_;let Pn=r_=class extends l5{_itemMouseOver(e){if(zt()){const i=e.target;this._startOpenTimeout(i)}}get accSideNavigationPopoverHiddenText(){return r_.i18nBundleFiori.getText(WL)}};fd([ae({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],Pn.prototype,"items",void 0);fd([Xe("@ui5/webcomponents-fiori")],Pn,"i18nBundleFiori",void 0);Pn=r_=fd([ce({tag:"ui5-navigation-menu",renderer:we,styles:[s5,rO],template:oO})],Pn);Pn.define();const nO=Pn,aO={listItemContent:lO,iconBegin:cO,iconEnd:uO};function sO(t){const e={...aO,...t};return f(de,{children:this._href?f("a",{role:"menuitem",class:"ui5-navmenu-item-link",href:this.href,target:this.target,children:i_.call(this,e)}):i_.call(this,e)})}function lO(){return f(de,{children:this.text})}function cO(){if(this.hasIcon)return f(Pe,{part:"icon",class:"ui5-li-icon",name:this.icon});if(this._siblingsWithIcon)return f("div",{class:"ui5-menu-item-dummy-icon"})}function uO(){if(this.hasSubmenu)return f(Pe,{part:"icon",name:ed,class:"ui5-menu-item-icon-end"});if(this.isExternalLink)return f(Pe,{class:"ui5-sn-item-external-link-icon",name:pd})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents-fiori","sap_horizon",async()=>Di,"host");const _O=`:host::part(native-li):after{border-radius:.375rem;inset:0}:host{display:flex;align-items:center;width:100%;box-sizing:border-box;position:relative;height:var(--_ui5_side_navigation_item_height);min-height:var(--_ui5_side_navigation_item_height);border-radius:.375rem;transition:var(--_ui5_side_navigation_item_transition);color:var(--sapList_TextColor);font-size:var(--sapFontSize);font-family:var(--_ui5_side_navigation_parent_item_font_family)}::slotted([ui5-navigation-menu-item]){font-family:var(--sapFontFamily)}:host([design="Action"]){color:var(--sapButton_TextColor)}:host([ui5-navigation-menu-item][selected]){border-bottom:none}:host([ui5-navigation-menu-item])::part(native-li){padding-left:var(--_ui5_side_navigation_item_padding_start_in_overflow_popup);width:auto;border-radius:inherit}:host::part(content){color:inherit;font-family:inherit}:host .ui5-navmenu-item-link{text-decoration:none;color:inherit}.ui5-navigation-menu-item-root .ui5-menu-item-icon-end{position:relative;inset-inline-end:auto;width:.75rem;height:.75rem;color:inherit}.ui5-navigation-menu-item-root .ui5-sn-item-external-link-icon{height:.875rem}:host(.ui5-navigation-menu-item-root-parent)::part(content){font-family:var(--_ui5_side_navigation_parent_item_font_family)}:host([design="Action"]) .ui5-sn-item-external-link-icon{color:var(--sapButton_TextColor)}:host([disabled]) .ui5-sn-item-external-link-icon{opacity:var(--sapContent_DisabledOpacity)}:host::part(icon){color:inherit;min-width:1rem;min-height:1rem}:host([disabled][active][actionable]) .ui5-li-root .ui5-li-icon{color:inherit}:host([focused]):not([active]){background:none}.ui5-menu-rp{padding:var(--_ui5_side_navigation_popup_padding)}::slotted([ui5-navigation-menu-item]:not(:last-of-type)){margin-block-end:var(--_ui5_side_navigation_item_bottom_margin)} -`;var es=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},n_;let ur=n_=class extends n5{constructor(){super(...arguments),this.design="Default"}get isExternalLink(){return this.href&&this.target==="_blank"}get _href(){return!this.disabled&&this.href?this.href:void 0}get _accInfo(){var i;const e=super._accInfo;return e.role="none",this.hasSubmenu&&((i=this.associatedItem)!=null&&i.isSelectable)&&(e.ariaSelectedText=n_.i18nBundleFiori.getText(KL)),e}get classes(){const e=super.classes;return e.main["ui5-navigation-menu-item-root"]=!0,e}_onclick(e){this._activate(e)}_activate(e){e.stopPropagation();const i=this.associatedItem;if(this.disabled||!i)return;const o=i.sideNavigation,r=o==null?void 0:o.getOverflowPopover(),n=i.isSelectable;if(!i.fireDecoratorEvent("click",{altKey:e.altKey,ctrlKey:e.ctrlKey,metaKey:e.metaKey,shiftKey:e.shiftKey})){e.preventDefault(),this.hasSubmenu?r==null||r._openItemSubMenu(this):o==null||o.closeMenu();return}const s=!this.hasSubmenu&&n;this.hasSubmenu&&(r==null||r._openItemSubMenu(this)),s&&(o==null||o._selectItem(i)),this.hasSubmenu||o==null||o.closeMenu(s)}async _onkeydown(e){return Fe(e)&&e.preventDefault(),(Ye(e)||Ws(e)||wm(e)||Cm(e))&&this._activate(e),Promise.resolve()}_onkeyup(e){if(Fe(e)&&(this._activate(e),this.href&&!e.defaultPrevented)){const i=new MouseEvent("click");i.stopImmediatePropagation(),this.getDomRef().querySelector("a")?this.getDomRef().querySelector("a").dispatchEvent(i):this.getDomRef().dispatchEvent(i)}}get accessibleNameText(){return this.text??""}};es([p()],ur.prototype,"href",void 0);es([p()],ur.prototype,"target",void 0);es([p()],ur.prototype,"design",void 0);es([Xe("@ui5/webcomponents-fiori")],ur,"i18nBundleFiori",void 0);ur=n_=es([ce({renderer:we,tag:"ui5-navigation-menu-item",template:sO,styles:[n5.styles,_O]})],ur);ur.define();const Jp=ur;function dO(){const t=this._effectiveTag;return f("li",{id:this._id,class:"ui5-sn-list-li",role:"none",children:z(t,{id:this._id,"data-sap-focus-ref":!0,class:`ui5-sn-item ui5-sn-item-level2 ${this._classes}`,role:this.ariaRole,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._onclick,onFocusIn:this._onfocusin,tabIndex:this.effectiveTabIndex,"aria-current":this._ariaCurrent,"aria-selected":this._ariaSelected,"aria-label":this.accessibleName||void 0,title:this._tooltip,"aria-disabled":this.effectiveDisabled,href:this._href,target:this._target,"aria-haspopup":this._ariaHasPopup,children:[this.icon&&f(Pe,{class:"ui5-sn-item-icon",name:this.icon}),f("div",{class:"ui5-sn-item-text",children:this.text}),this.isExternalLink&&f(Pe,{class:"ui5-sn-item-external-link-icon",name:pd})]})})}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents-fiori","sap_horizon",async()=>Di,"host");const hO=`:host{display:block}.ui5-sn-item-ul{margin:0;padding:0;list-style:none}.ui5-sn-item{display:flex;align-items:center;width:auto;min-width:0;box-sizing:border-box;text-decoration:none;position:relative;min-height:var(--_ui5_side_navigation_item_height);cursor:pointer;color:inherit;background-color:var(--sapList_Background);border-radius:var(--_ui5_side_navigation_item_border_radius);transition:var(--_ui5_side_navigation_item_transition);word-wrap:break-word}:host(:not([in-popover])) .ui5-sn-item{margin-block-end:var(--_ui5_side_navigation_item_bottom_margin)}:host(.ui5-sn-item-hidden[side-nav-collapsed]),:host([side-nav-collapsed]) .ui5-sn-item-hidden{display:none}:host([side-nav-collapsed]) .ui5-sn-item{transition:none}:host([design="Action"]){color:var(--sapButton_TextColor)}:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):active [ui5-icon],:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):active .ui5-sn-item-text{color:var(--_ui5_side_navigation_active_text_color)}:host([design="Action"]) .ui5-sn-item{border:var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);box-sizing:content-box}:host([design="Action"]:not([side-nav-collapsed])) .ui5-sn-item{max-width:-moz-available;max-width:-webkit-fill-available;max-width:fill-available}:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):hover{border:var(--_ui5_side_navigation_action_item_border_hover);background:var(--sapButton_Hover_Background)}:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):active{border:var(--_ui5_side_navigation_action_item_border_active);background:var(--sapButton_Active_Background)}.ui5-sn-item:focus{outline:none}:host([desktop]) .ui5-sn-item:focus:after,.ui5-sn-item:focus-visible:after{border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;content:"";inset:var(--_ui5_side_navigation_item_focus_border_offset);z-index:3;pointer-events:none;border-radius:var(--_ui5_side_navigation_item_focus_border_radius)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:focus:before{border:var(--_ui5_side_navigation_selected_and_focused_border_style_color)}.ui5-sn-item.ui5-sn-item-group:before,.ui5-sn-item.ui5-sn-item-level1:before{border:var(--_ui5_side_navigation_group_border_style_color);border-width:var(--_ui5_side_navigation_group_border_width)}.ui5-sn-item-group[aria-expanded=true]:before,.ui5-sn-item-level1[aria-expanded=true]:before{border-width:var(--_ui5_side_navigation_group_expanded_border_width)}.ui5-sn-item:before{content:"";position:absolute;inset:0;pointer-events:none}.ui5-sn-item.ui5-sn-item-disabled{cursor:default}.ui5-sn-item.ui5-sn-item-disabled>*{opacity:var(--sapContent_DisabledOpacity)}.ui5-sn-item.ui5-sn-item-disabled:after{opacity:1}:host([ui5-side-navigation-item][in-popover][unselectable]) .ui5-sn-item{cursor:unset}:host(:not([ui5-side-navigation-item][in-popover][unselectable])) .ui5-sn-item:not(.ui5-sn-item-disabled):not(.ui5-sn-item-selected):hover{background:var(--sapList_Hover_Background)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected{background:var(--_ui5_side_navigation_collapsed_selected_item_background)}.ui5-sn-item:not(.ui5-sn-item-disabled):active .ui5-sn-item-text,.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-active .ui5-sn-item-text{color:var(--sapList_Active_TextColor)}.ui5-sn-item:not(.ui5-sn-item-disabled):active [ui5-icon],.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-active [ui5-icon]{color:var(--sapList_Active_TextColor)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:hover{background:var(--_ui5_side_navigation_collapsed_selected_item_background_hover)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:active,.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected.ui5-sn-item-active,:host(:not([ui5-side-navigation-item][in-popover][unselectable])) .ui5-sn-item:not(.ui5-sn-item-disabled):active,.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-active,:host(.ui5-sn-item-overflow.ui5-sn-item-active) .ui5-sn-item,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:active,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected.ui5-sn-item-active{background:var(--sapList_Active_Background)}.ui5-sn-item:before{border:var(--_ui5_side_navigation_item_border_style_color);border-width:var(--_ui5_side_navigation_item_border_width)}:host([side-nav-collapsed]) .ui5-sn-item:before{border-width:var(--_ui5_side_navigation_item_border_width)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:before{border:var(--_ui5_side_navigation_selected_border_style_color);border-width:var(--_ui5_side_navigation_selected_border_width)}:host(:not([design="Action"])) .ui5-sn-item:not(.ui5-sn-item-disabled):not(.ui5-sn-item-selected):hover:before{border:var(--_ui5_side_navigation_hover_border_style_color);border-width:var(--_ui5_side_navigation_hover_border_width)}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:before{border-radius:var(--_ui5_side_navigation_item_border_radius)}:host([in-popover]:last-of-type) .ui5-sn-item:not(:hover):not(:active):before{border:var(--_ui5_side_navigation_last_item_border_style)}.ui5-sn-item-icon{color:var(--_ui5_side_navigation_icon_color);padding-inline-start:1rem;padding-inline-end:var(--_ui5_side_navigation_icon_padding_inline_end)}:host([design="Action"]) .ui5-sn-item-icon{color:var(--sapButton_TextColor)}.ui5-sn-item-toggle-icon,.ui5-sn-item-external-link-icon{color:var(--_ui5_side_navigation_expand_icon_color);min-width:2rem;height:.875rem}:host([design="Action"]) .ui5-sn-item-toggle-icon,:host([design="Action"]) .ui5-sn-item-external-link-icon{color:var(--sapButton_TextColor)}.ui5-sn-item-external-link-icon{min-width:3rem}:host(:not([side-nav-collapsed])) .ui5-sn-item-toggle-icon{width:var(--_ui5_side_navigation_expand_icon_width);padding-inline-end:.375rem;padding-block:var(--_ui5_side_navigation_item_expand_arrow_padding);margin-inline-start:.5rem;height:var(--sapElement_Condensed_Height)}:host(:not([unselectable],[side-nav-collapsed])) .ui5-sn-item-toggle-icon{width:calc(var(--_ui5_side_navigation_expand_icon_width) + 4px)}:host(:not([unselectable],[side-nav-collapsed],[ui5-side-navigation-group])) .ui5-sn-item-toggle-icon{margin-inline-start:1rem;width:calc(var(--_ui5_side_navigation_expand_icon_width) + 5px)}:host(:not([side-nav-collapsed])) .ui5-sn-item-toggle-icon::part(root){padding-block:.25rem;border-inline-start:.0625rem solid var(--sapTextColor);display:block;height:.875rem;width:var(--_ui5_side_navigation_expand_icon_width)}:host(:not([unselectable],[side-nav-collapsed])) .ui5-sn-item-toggle-icon::part(root){padding-inline-start:.25rem}:host([unselectable]:not([side-nav-collapsed])) .ui5-sn-item-toggle-icon::part(root),:host(:not([side-nav-collapsed])) .ui5-sn-item-group .ui5-sn-item-toggle-icon::part(root),:host([unselectable][side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):hover .ui5-sn-item-toggle-icon,:host([unselectable][side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):focus .ui5-sn-item-toggle-icon{border-inline-start:none}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-toggle-icon{min-width:3rem}:host([in-popover]) .ui5-sn-item-toggle-icon{display:none}:host([side-nav-collapsed]) .ui5-sn-item{justify-content:center}:host([slot="fixedItems"]:not(side-nav-collapsed)) .ui5-sn-item.ui5-sn-item-level1{margin-top:var(--_ui5_side_navigation_first_fixed_item_margin_top)}:host([side-nav-collapsed]) .ui5-sn-item-icon{padding-inline-end:1rem}:host([design="Action"][side-nav-collapsed]) .ui5-sn-item-icon{padding-inline-end:calc(1rem - 1px);padding-inline-start:calc(1rem - 1px)}:host([side-nav-collapsed]) .ui5-sn-item-text{display:none}:host([side-nav-collapsed]) .ui5-sn-item-toggle-icon{display:var(--_ui5_side_navigation_item_expand_icon_visibility);font-size:.75rem;position:absolute;inset-inline-end:var(--_ui5_side_navigation_item_expand_icon_right)}:host([side-nav-collapsed]) .ui5-sn-item-external-link-icon{display:none}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus{width:var(--_ui5_side_navigation_item_collapsed_hover_focus_width);box-shadow:var(--_ui5_side_navigation_box_shadow);z-index:2;padding-inline-end:var(--_ui5_side_navigation_item_collapsed_padding)}:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):hover:not(.ui5-sn-item-with-expander),:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus:not(.ui5-sn-item-with-expander){padding-inline-end:0}:host([unselectable][side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):not(.ui5-sn-item-with-expander):hover,:host([unselectable][side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):not(.ui5-sn-item-with-expander):focus{padding-inline-end:var(--_ui5_side_navigation_action_item_collapsed_padding)}:host([side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover:not(.ui5-sn-item-with-expander),:host([side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus:not(.ui5-sn-item-with-expander),:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover:not(.ui5-sn-item-with-expander):not([target=_blank]),:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus:not(.ui5-sn-item-with-expander):not([target=_blank]){padding-inline-end:var(--_ui5_side_navigation_item_collapsed_hover_focus_padding_right)}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-text,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):focus .ui5-sn-item-text,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-external-link-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-external-link-icon{display:var(--_ui5_side_navigation_item_collapsed_hover_focus_display)}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-toggle-icon{left:var(--_ui5_side_navigation_item_expand_icon_hover_left);right:var(--_ui5_side_navigation_item_expand_icon_hover_right)}.ui5-sn-item[aria-expanded=false]~.ui5-sn-item-ul{display:none}.ui5-sn-item-text{flex:1;min-width:0}:host([side-nav-collapsed]) .ui5-sn-item-text,:host([design="Action"]) .ui5-sn-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([in-popover]) .ui5-sn-item-text{overflow:visible;text-overflow:unset;white-space:nowrap}:host(:not([side-nav-collapsed]):not([in-popover])) .ui5-sn-item-text{margin:var(--_ui5_side_navigation_item_margin) 0}:host(:not([side-nav-collapsed])) .ui5-sn-item:not(.ui5-sn-item-group):not(.ui5-sn-item-with-expander) .ui5-sn-item-text{padding-inline-end:.375rem}:host([side-nav-collapsed]) .ui5-sn-item-with-expander .ui5-sn-item-icon:after{display:var(--_ui5_side_navigation_triangle_display);content:"";width:0;height:0;border-left:.375rem solid transparent;border-bottom:.375rem solid var(--_ui5_side_navigation_triangle_color);position:absolute;right:.1875rem;bottom:.125rem}.ui5-sn-item-separator{min-height:.625rem}:host{color:var(--sapList_TextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize)}.ui5-sn-item-level2:not(.ui5-sn-item-has-icon){padding-inline-start:var(--_ui5_side_navigation_group_icon_width)}:host([in-popover]) .ui5-sn-item-level2:not(.ui5-sn-item-has-icon){padding-inline-start:var(--_ui5_side_navigation_item_padding_start_in_popup)}:host(:last-child) .ui5-sn-item.ui5-sn-item-level2:not(.ui5-sn-item-selected):before{border:var(--_ui5_side_navigation_group_border_style_color);border-width:var(--_ui5_side_navigation_group_border_width)}.ui5-sn-item.ui5-sn-item-level2:before{border:var(--_ui5_side_navigation_item_border_style_color);border-width:var(--_ui5_side_navigation_item_border_width)} -`;var pO=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};let ll=class extends g5{_onkeydown(e){super._onkeydown(e)}_onkeyup(e){super._onkeyup(e)}_onfocusin(e){super._onfocusin(e)}_onclick(e){super._onclick(e)}get classesArray(){const e=super.classesArray;return this.icon&&e.push("ui5-sn-item-has-icon"),this.effectiveDisabled&&e.push("ui5-sn-item-disabled"),e}};ll=pO([ce({tag:"ui5-side-navigation-sub-item",renderer:we,template:dO,styles:hO})],ll);ll.define();const fO=ll;function gO(){const t=e=>{var i;return z(Jp,{accessibilityAttributes:e.accessibilityAttributes,text:e.text,icon:e.icon,design:e.design,disabled:e.disabled,href:e.href,target:e.target,title:e.title,tooltip:e._tooltip,ref:this.captureRef.bind(e),children:[e.children.length>0&&!e.unselectable&&f(Jp,{class:"ui5-navigation-menu-item-root-parent",accessibilityAttributes:e.accessibilityAttributes,text:e.text,design:e.design,disabled:e.disabled,href:e.href,target:e.target,title:e.title,tooltip:e._tooltip,ref:this.captureRef.bind(e)}),(i=e.items)==null?void 0:i.map(t)]})};return z(de,{children:[f(nO,{id:`${this._id}-side-navigation-overflow-menu`,onBeforeOpen:this._onBeforeMenuOpen,onBeforeClose:this._onBeforeMenuClose,onClose:this._onMenuClose,class:"ui5-side-navigation-popover ui5-side-navigation-overflow-menu",children:this._menuPopoverItems.map(t)}),f(Li,{verticalAlign:"Top",class:"ui5-side-navigation-popover",hideArrow:!0,accessibleNameRef:`${this._id}-sideNavigationPopoverText`,onOpen:this._onAfterPopoverOpen,onBeforeOpen:this._onBeforePopoverOpen,onBeforeClose:this._onBeforePopoverClose,children:this._popoverContents&&z(de,{children:[f("span",{id:`${this._id}-sideNavigationPopoverText`,class:"ui5-hidden-text",children:this.accSideNavigationPopoverHiddenText}),f(wO,{inPopover:!0,class:"ui5-side-navigation-in-popover",children:f(v5,{accessibilityAttributes:this._popoverContents.item.accessibilityAttributes,text:this._popoverContents.item.text,tooltip:this._popoverContents.item._tooltip,href:this._popoverContents.item._href,target:this._popoverContents.item._target,design:this._popoverContents.item.design,disabled:this._popoverContents.item.disabled,expanded:!0,_fixed:!0,selected:this._popoverContents.item.selected,unselectable:this._popoverContents.item.unselectable,"onui5-click":this.handlePopupItemClick,ref:this.captureRef.bind(this._popoverContents.item),children:this._popoverContents.subItems.map(e=>f(fO,{accessibilityAttributes:e.accessibilityAttributes,text:e.text,tooltip:e._tooltip,href:e._href,target:e._target,design:e.design,disabled:e.disabled,selected:e.selected,unselectable:e.unselectable,"onui5-click":this.handlePopupItemClick,ref:this.captureRef.bind(e)}))})})]})})]})}function mO(){return z(de,{children:[z("nav",{class:{"ui5-sn-root":!0,"ui5-sn-collapsed":this.collapsed},role:this._rootRole,"aria-label":this.accessibleName,children:[vO.call(this),this.collapsed?z("div",{role:"menubar",class:"ui5-sn-list ui5-sn-flexible","aria-orientation":"vertical","aria-roledescription":this.ariaRoleDescNavigationList,"aria-label":this.navigationMenuPrimaryHiddenText,children:[f("slot",{}),f(v5,{isOverflow:!0,id:`${this._id}-sn-overflow-item`,text:this.overflowAccessibleName,onClick:this._handleOverflowClick,class:"ui5-sn-item-overflow",sideNavCollapsed:!0,icon:c5})]}):f("ul",{role:"tree",class:"ui5-sn-list ui5-sn-flexible","aria-roledescription":this.ariaRoleDescNavigationList,"aria-label":this.navigationMenuPrimaryHiddenText,children:f("slot",{})}),this.hasFixedItems&&z(de,{children:[f("div",{role:"separator",class:"ui5-sn-spacer"}),this.collapsed?f("div",{role:"menubar",class:"ui5-sn-list ui5-sn-fixed","aria-orientation":"vertical","aria-roledescription":this.ariaRoleDescNavigationList,"aria-label":this.navigationMenuFooterHiddenText,children:f("slot",{name:"fixedItems"})}):f("ul",{role:"tree",class:"ui5-sn-list ui5-sn-fixed","aria-roledescription":this.ariaRoleDescNavigationList,"aria-label":this.navigationMenuFooterHiddenText,children:f("slot",{name:"fixedItems"})})]})]}),gO.call(this)]})}function vO(){return this.showHeader?f("slot",{name:"header"}):void 0}L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents-fiori","sap_horizon",async()=>Di,"host");const bO=`:host{display:block}.ui5-sn-item-ul{margin:0;padding:0;list-style:none}.ui5-sn-item{display:flex;align-items:center;width:auto;min-width:0;box-sizing:border-box;text-decoration:none;position:relative;min-height:var(--_ui5_side_navigation_item_height);cursor:pointer;color:inherit;background-color:var(--sapList_Background);border-radius:var(--_ui5_side_navigation_item_border_radius);transition:var(--_ui5_side_navigation_item_transition);word-wrap:break-word}:host(:not([in-popover])) .ui5-sn-item{margin-block-end:var(--_ui5_side_navigation_item_bottom_margin)}:host(.ui5-sn-item-hidden[side-nav-collapsed]),:host([side-nav-collapsed]) .ui5-sn-item-hidden{display:none}:host([side-nav-collapsed]) .ui5-sn-item{transition:none}:host([design="Action"]){color:var(--sapButton_TextColor)}:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):active [ui5-icon],:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):active .ui5-sn-item-text{color:var(--_ui5_side_navigation_active_text_color)}:host([design="Action"]) .ui5-sn-item{border:var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);box-sizing:content-box}:host([design="Action"]:not([side-nav-collapsed])) .ui5-sn-item{max-width:-moz-available;max-width:-webkit-fill-available;max-width:fill-available}:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):hover{border:var(--_ui5_side_navigation_action_item_border_hover);background:var(--sapButton_Hover_Background)}:host([design="Action"]) .ui5-sn-item:not(.ui5-sn-item-disabled):active{border:var(--_ui5_side_navigation_action_item_border_active);background:var(--sapButton_Active_Background)}.ui5-sn-item:focus{outline:none}:host([desktop]) .ui5-sn-item:focus:after,.ui5-sn-item:focus-visible:after{border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;content:"";inset:var(--_ui5_side_navigation_item_focus_border_offset);z-index:3;pointer-events:none;border-radius:var(--_ui5_side_navigation_item_focus_border_radius)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:focus:before{border:var(--_ui5_side_navigation_selected_and_focused_border_style_color)}.ui5-sn-item.ui5-sn-item-group:before,.ui5-sn-item.ui5-sn-item-level1:before{border:var(--_ui5_side_navigation_group_border_style_color);border-width:var(--_ui5_side_navigation_group_border_width)}.ui5-sn-item-group[aria-expanded=true]:before,.ui5-sn-item-level1[aria-expanded=true]:before{border-width:var(--_ui5_side_navigation_group_expanded_border_width)}.ui5-sn-item:before{content:"";position:absolute;inset:0;pointer-events:none}.ui5-sn-item.ui5-sn-item-disabled{cursor:default}.ui5-sn-item.ui5-sn-item-disabled>*{opacity:var(--sapContent_DisabledOpacity)}.ui5-sn-item.ui5-sn-item-disabled:after{opacity:1}:host([ui5-side-navigation-item][in-popover][unselectable]) .ui5-sn-item{cursor:unset}:host(:not([ui5-side-navigation-item][in-popover][unselectable])) .ui5-sn-item:not(.ui5-sn-item-disabled):not(.ui5-sn-item-selected):hover{background:var(--sapList_Hover_Background)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected{background:var(--_ui5_side_navigation_collapsed_selected_item_background)}.ui5-sn-item:not(.ui5-sn-item-disabled):active .ui5-sn-item-text,.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-active .ui5-sn-item-text{color:var(--sapList_Active_TextColor)}.ui5-sn-item:not(.ui5-sn-item-disabled):active [ui5-icon],.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-active [ui5-icon]{color:var(--sapList_Active_TextColor)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:hover{background:var(--_ui5_side_navigation_collapsed_selected_item_background_hover)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:active,.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected.ui5-sn-item-active,:host(:not([ui5-side-navigation-item][in-popover][unselectable])) .ui5-sn-item:not(.ui5-sn-item-disabled):active,.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-active,:host(.ui5-sn-item-overflow.ui5-sn-item-active) .ui5-sn-item,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:active,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected.ui5-sn-item-active{background:var(--sapList_Active_Background)}.ui5-sn-item:before{border:var(--_ui5_side_navigation_item_border_style_color);border-width:var(--_ui5_side_navigation_item_border_width)}:host([side-nav-collapsed]) .ui5-sn-item:before{border-width:var(--_ui5_side_navigation_item_border_width)}.ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:before{border:var(--_ui5_side_navigation_selected_border_style_color);border-width:var(--_ui5_side_navigation_selected_border_width)}:host(:not([design="Action"])) .ui5-sn-item:not(.ui5-sn-item-disabled):not(.ui5-sn-item-selected):hover:before{border:var(--_ui5_side_navigation_hover_border_style_color);border-width:var(--_ui5_side_navigation_hover_border_width)}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-disabled).ui5-sn-item-selected:before{border-radius:var(--_ui5_side_navigation_item_border_radius)}:host([in-popover]:last-of-type) .ui5-sn-item:not(:hover):not(:active):before{border:var(--_ui5_side_navigation_last_item_border_style)}.ui5-sn-item-icon{color:var(--_ui5_side_navigation_icon_color);padding-inline-start:1rem;padding-inline-end:var(--_ui5_side_navigation_icon_padding_inline_end)}:host([design="Action"]) .ui5-sn-item-icon{color:var(--sapButton_TextColor)}.ui5-sn-item-toggle-icon,.ui5-sn-item-external-link-icon{color:var(--_ui5_side_navigation_expand_icon_color);min-width:2rem;height:.875rem}:host([design="Action"]) .ui5-sn-item-toggle-icon,:host([design="Action"]) .ui5-sn-item-external-link-icon{color:var(--sapButton_TextColor)}.ui5-sn-item-external-link-icon{min-width:3rem}:host(:not([side-nav-collapsed])) .ui5-sn-item-toggle-icon{width:var(--_ui5_side_navigation_expand_icon_width);padding-inline-end:.375rem;padding-block:var(--_ui5_side_navigation_item_expand_arrow_padding);margin-inline-start:.5rem;height:var(--sapElement_Condensed_Height)}:host(:not([unselectable],[side-nav-collapsed])) .ui5-sn-item-toggle-icon{width:calc(var(--_ui5_side_navigation_expand_icon_width) + 4px)}:host(:not([unselectable],[side-nav-collapsed],[ui5-side-navigation-group])) .ui5-sn-item-toggle-icon{margin-inline-start:1rem;width:calc(var(--_ui5_side_navigation_expand_icon_width) + 5px)}:host(:not([side-nav-collapsed])) .ui5-sn-item-toggle-icon::part(root){padding-block:.25rem;border-inline-start:.0625rem solid var(--sapTextColor);display:block;height:.875rem;width:var(--_ui5_side_navigation_expand_icon_width)}:host(:not([unselectable],[side-nav-collapsed])) .ui5-sn-item-toggle-icon::part(root){padding-inline-start:.25rem}:host([unselectable]:not([side-nav-collapsed])) .ui5-sn-item-toggle-icon::part(root),:host(:not([side-nav-collapsed])) .ui5-sn-item-group .ui5-sn-item-toggle-icon::part(root),:host([unselectable][side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):hover .ui5-sn-item-toggle-icon,:host([unselectable][side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):focus .ui5-sn-item-toggle-icon{border-inline-start:none}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-toggle-icon{min-width:3rem}:host([in-popover]) .ui5-sn-item-toggle-icon{display:none}:host([side-nav-collapsed]) .ui5-sn-item{justify-content:center}:host([slot="fixedItems"]:not(side-nav-collapsed)) .ui5-sn-item.ui5-sn-item-level1{margin-top:var(--_ui5_side_navigation_first_fixed_item_margin_top)}:host([side-nav-collapsed]) .ui5-sn-item-icon{padding-inline-end:1rem}:host([design="Action"][side-nav-collapsed]) .ui5-sn-item-icon{padding-inline-end:calc(1rem - 1px);padding-inline-start:calc(1rem - 1px)}:host([side-nav-collapsed]) .ui5-sn-item-text{display:none}:host([side-nav-collapsed]) .ui5-sn-item-toggle-icon{display:var(--_ui5_side_navigation_item_expand_icon_visibility);font-size:.75rem;position:absolute;inset-inline-end:var(--_ui5_side_navigation_item_expand_icon_right)}:host([side-nav-collapsed]) .ui5-sn-item-external-link-icon{display:none}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus{width:var(--_ui5_side_navigation_item_collapsed_hover_focus_width);box-shadow:var(--_ui5_side_navigation_box_shadow);z-index:2;padding-inline-end:var(--_ui5_side_navigation_item_collapsed_padding)}:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):hover:not(.ui5-sn-item-with-expander),:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus:not(.ui5-sn-item-with-expander){padding-inline-end:0}:host([unselectable][side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):not(.ui5-sn-item-with-expander):hover,:host([unselectable][side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):not(.ui5-sn-item-with-expander):focus{padding-inline-end:var(--_ui5_side_navigation_action_item_collapsed_padding)}:host([side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover:not(.ui5-sn-item-with-expander),:host([side-nav-collapsed]) div.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus:not(.ui5-sn-item-with-expander),:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover:not(.ui5-sn-item-with-expander):not([target=_blank]),:host([side-nav-collapsed]) a.ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus:not(.ui5-sn-item-with-expander):not([target=_blank]){padding-inline-end:var(--_ui5_side_navigation_item_collapsed_hover_focus_padding_right)}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-text,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):focus .ui5-sn-item-text,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-external-link-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-external-link-icon{display:var(--_ui5_side_navigation_item_collapsed_hover_focus_display)}:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):hover .ui5-sn-item-toggle-icon,:host([side-nav-collapsed]) .ui5-sn-item:not(.ui5-sn-item-active):not(.ui5-sn-item-no-hover-effect):not(.ui5-sn-item-disabled):focus .ui5-sn-item-toggle-icon{left:var(--_ui5_side_navigation_item_expand_icon_hover_left);right:var(--_ui5_side_navigation_item_expand_icon_hover_right)}.ui5-sn-item[aria-expanded=false]~.ui5-sn-item-ul{display:none}.ui5-sn-item-text{flex:1;min-width:0}:host([side-nav-collapsed]) .ui5-sn-item-text,:host([design="Action"]) .ui5-sn-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([in-popover]) .ui5-sn-item-text{overflow:visible;text-overflow:unset;white-space:nowrap}:host(:not([side-nav-collapsed]):not([in-popover])) .ui5-sn-item-text{margin:var(--_ui5_side_navigation_item_margin) 0}:host(:not([side-nav-collapsed])) .ui5-sn-item:not(.ui5-sn-item-group):not(.ui5-sn-item-with-expander) .ui5-sn-item-text{padding-inline-end:.375rem}:host([side-nav-collapsed]) .ui5-sn-item-with-expander .ui5-sn-item-icon:after{display:var(--_ui5_side_navigation_triangle_display);content:"";width:0;height:0;border-left:.375rem solid transparent;border-bottom:.375rem solid var(--_ui5_side_navigation_triangle_color);position:absolute;right:.1875rem;bottom:.125rem}.ui5-sn-item-separator{min-height:.625rem}:host{font-size:var(--sapFontSmallSize);color:var(--sapContent_LabelColor)}.ui5-sn-item.ui5-sn-item-group{min-height:2rem;padding-inline-start:var(--_ui5_side_navigation_group_padding);font-family:var(--sapFontFamily);font-size:var(--sapFontSize)}.ui5-sn-item.ui5-sn-item-group:hover .ui5-sn-item-toggle-icon,.ui5-sn-item.ui5-sn-item-group:focus .ui5-sn-item-toggle-icon{display:block}:host(:first-child) .ui5-sn-item-separator:first-child,:host(:last-child) .ui5-sn-item-separator:last-child,.ui5-sn-item-group-below-group.ui5-sn-item-separator,.ui5-sn-item-group-below-group .ui5-sn-item-separator:first-child{display:none}.ui5-sn-spacer{margin:var(--_ui5_side_navigation_navigation_separator_margin);height:var(--_ui5_side_navigation_navigation_separator_height);min-height:var(--_ui5_side_navigation_navigation_separator_height);background-color:var(--_ui5_side_navigation_navigation_separator_background_color);border-radius:var(--_ui5_side_navigation_navigation_separator_radius)}:host(:not([hidden])){display:inline-block;height:100%;min-width:var(--_ui5_side_navigation_width);width:var(--_ui5_side_navigation_width);max-width:100%;transition:width .3s,min-width .3s;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);background:var(--sapList_Background);box-shadow:var(--_ui5_side_navigation_box_shadow);border-inline-end:var(--_ui5_side_navigation_border_right);box-sizing:border-box}:host([collapsed]){min-width:var(--_ui5_side_navigation_collapsed_width);width:var(--_ui5_side_navigation_collapsed_width)}@media (width < 600px){:host(:not([hidden])){width:100%}}.ui5-sn-root{height:100%;display:flex;flex-direction:column;box-sizing:inherit;border-radius:inherit}.ui5-sn-flexible{display:flex;flex-direction:column;flex:1;min-height:0;position:relative;box-sizing:border-box}.ui5-sn-fixed{position:relative}.ui5-sn-list{margin:0;list-style:none;box-sizing:border-box;overflow:hidden auto}.ui5-sn-list.ui5-sn-flexible{padding:var(--_ui5_side_navigation_padding-flexible)}.ui5-sn-list.ui5-sn-fixed{padding:var(--_ui5_side_navigation_padding-fixed)}.ui5-sn-collapsed .ui5-sn-list{overflow:visible;display:flex;flex-direction:column}:host([in-popover]) .ui5-sn-list{padding:var(--_ui5_side_navigation_popup_padding)}.ui5-sn-item-overflow{margin-top:auto} -`;L("@ui5/webcomponents-theming","sap_horizon",async()=>ne);L("@ui5/webcomponents-fiori","sap_horizon",async()=>Di,"host");const yO=`.ui5-side-navigation-popover::part(content){padding:0}.ui5-side-navigation-popover .ui5-side-navigation-in-popover{width:max-content}.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0} -`;var ao=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},Er;const Qp=10,ef=600;let ui=Er=class extends Ke{constructor(){super(),this.collapsed=!1,this.inPopover=!1,this._menuPopoverItems=[],this._isOverflow=!1,this._flexibleItemNavigation=new el(this,{skipItemsSize:Qp,navigationMode:Ki.Vertical,getItemsCallback:()=>this.getEnabledFlexibleItems()}),this._fixedItemNavigation=new el(this,{skipItemsSize:Qp,navigationMode:Ki.Vertical,getItemsCallback:()=>this.getEnabledFixedItems()}),this._handleResizeBound=this.handleResize.bind(this),this._isOverflow=!1}onBeforeRendering(){super.onBeforeRendering(),this._getAllItems(this.items).concat(this._getAllItems(this.fixedItems)).forEach(e=>{e.sideNavCollapsed=this.collapsed,e.inPopover=this.inPopover,e.sideNavigation=this}),this.initGroupsSettings(this.items),this.initGroupsSettings(this.fixedItems)}initGroupsSettings(e){let i=!1;e.forEach(o=>{const r=iO(o);r&&(o.belowGroup=i),i=r})}_onAfterPopoverOpen(){var o;const e=this.getPickerTree(),i=e._findSelectedItem(e.items);i?i.focus():(o=e.items[0])==null||o.applyInitialFocusInPopover()}_onBeforePopoverOpen(){var i;const e=this.getPicker();(i=e==null?void 0:e.opener)==null||i.classList.add("ui5-sn-item-active")}_onBeforePopoverClose(){var i;const e=this.getPicker();(i=e==null?void 0:e.opener)==null||i.classList.remove("ui5-sn-item-active")}_onBeforeMenuOpen(){var i;const e=this.getOverflowPopover();e._popover.preventFocusRestore=!1,(i=e==null?void 0:e.opener)==null||i.classList.add("ui5-sn-item-active")}_onBeforeMenuClose(){var i;const e=this.getOverflowPopover();(i=e==null?void 0:e.opener)==null||i.classList.remove("ui5-sn-item-active")}_onMenuClose(){if(!this.getOverflowPopover()._popover.preventFocusRestore)return;const i=this._findSelectedItem(this.items);i&&(this.focusItem(i),i.focus())}get accSideNavigationPopoverHiddenText(){return Er.i18nBundle.getText(rP)}get ariaRoleDescNavigationList(){let e=aP;return this.collapsed&&(e=nP),Er.i18nBundle.getText(e)}get navigationMenuPrimaryHiddenText(){return Er.i18nBundle.getText(uP)}get navigationMenuFooterHiddenText(){return Er.i18nBundle.getText(_P)}get overflowAccessibleName(){return Er.i18nBundle.getText(sP)}get _effectiveCollapsed(){return this.collapsed&&!this._isSmallScreen()}handlePopupItemClick(e){var l,c,u,_,d;const i=e.target.associatedItem;if(i.effectiveDisabled){e.stopPropagation(),e.preventDefault();return}if(Hc(i)&&i.unselectable)return;e.stopPropagation();const o=(l=e.detail)==null?void 0:l.altKey,r=(c=e.detail)==null?void 0:c.ctrlKey,n=(u=e.detail)==null?void 0:u.metaKey,a=(_=e.detail)==null?void 0:_.shiftKey;if(!i.fireDecoratorEvent("click",{altKey:o,ctrlKey:r,metaKey:n,shiftKey:a})){e.preventDefault();return}if(i.selected){this.closePicker();return}this._selectItem(i),this.closePicker(),(d=this._popoverContents.item)==null||d.getDomRef().classList.add("ui5-sn-item-no-hover-effect")}getOverflowPopover(){return this.shadowRoot.querySelector(".ui5-side-navigation-overflow-menu")}getPicker(){return this.shadowRoot.querySelector("[ui5-responsive-popover]")}openPicker(e){e.classList.add("ui5-sn-item-active");const i=this.getPicker();i.opener=e,i.open=!0}openOverflowMenu(e){e.classList.add("ui5-sn-item-active");const i=this.getOverflowPopover();i.opener=e,i.open=!0}closePicker(){const e=this.getPicker();e.open=!1}closeMenu(e=!1){const i=this.getOverflowPopover();i._popover.preventFocusRestore=e,i.open=!1}getPickerTree(){return this.getPicker().querySelector("[ui5-side-navigation]")}get hasHeader(){return!!this.header.length}get showHeader(){return this.hasHeader&&!this.collapsed}get hasFixedItems(){return!!this.fixedItems.length}get _rootRole(){return this.inPopover?"none":void 0}getEnabledFixedItems(){return this.getEnabledItems(this.fixedItems)}getEnabledFlexibleItems(){const e=this.getEnabledItems(this.items);return this._overflowItem&&e.push(this._overflowItem),e}getEnabledItems(e){const i=new Array;return this._getFocusableItems(e).forEach(o=>{this.collapsed&&o.classList.contains("ui5-sn-item-hidden")||i.push(o)}),i}focusItem(e){e.isFixedItem?this._fixedItemNavigation.setCurrentItem(e):this._flexibleItemNavigation.setCurrentItem(e)}onAfterRendering(){var e;if(!((e=this.getDomRef())!=null&&e.matches(":focus-within"))){let i=this._findSelectedItem(this.items);i&&this._flexibleItemNavigation.setCurrentItem(i),i=this._findSelectedItem(this.fixedItems),i&&this._fixedItemNavigation.setCurrentItem(i)}this.collapsed&&this.handleResize()}onEnterDOM(){Qt.register(this,this._handleResizeBound)}onExitDOM(){Qt.deregister(this,this._handleResizeBound)}handleResize(){window.innerWidth>ef&&this._updateOverflowItems()}_updateOverflowItems(){const e=this.getDomRef();if(!this.collapsed||!e)return null;const i=this._overflowItem,o=e.querySelector(".ui5-sn-flexible");if(!i)return null;i.classList.add("ui5-sn-item-hidden");const r=this.overflowItems;let n=r.reduce((u,_)=>_?(_.classList.remove("ui5-sn-item-hidden"),u+_.offsetHeight):u,0);const{paddingTop:a,paddingBottom:s}=window.getComputedStyle(o),l=(o==null?void 0:o.offsetHeight)-parseInt(a)-parseInt(s);if(n<=l)return;i.classList.remove("ui5-sn-item-hidden"),n=i.offsetHeight;const c=r.filter(pP).find(u=>u._selected);if(c){const u=c.getDomRef();if(u){const{marginTop:_,marginBottom:d}=window.getComputedStyle(u);n+=u.offsetHeight+parseFloat(_)+parseFloat(d)}}r.forEach(u=>{if(!u||u===c)return;let _;if(hP(u)&&u.getDomRef()?_=u.getDomRef():_=u,_){const{marginTop:d,marginBottom:h}=window.getComputedStyle(_);n+=_.offsetHeight+parseFloat(d)+parseFloat(h),n>l&&u.classList.add("ui5-sn-item-hidden")}}),this._flexibleItemNavigation._init()}_findFocusedItem(e){return this._getFocusableItems(e).find(i=>i.forcedTabIndex==="0")}_getSelectableItems(e){return e.filter(hs).reduce((i,o)=>i.concat(o.selectableItems),new Array)}_getFocusableItems(e){return e.filter(hs).reduce((i,o)=>i.concat(o.focusableItems),new Array)}_getAllItems(e){return e.filter(hs).reduce((i,o)=>i.concat(o.allItems),new Array)}_findSelectedItem(e){return this._getSelectableItems(e).find(i=>i._selected)}get overflowItems(){return this.items.filter(hs).reduce((e,i)=>e.concat(i.overflowItems),new Array)}_isSmallScreen(){return We()||window.innerWidth{o&&Hc(o)&&o.classList.contains(e)&&i.push(o)}),i}_selectItem(e){if(!e.isSelectable||!this.fireDecoratorEvent("selection-change",{item:e}))return;let i=this._getSelectableItems(this.items);i=i.concat(this._getSelectableItems(this.fixedItems)),i.forEach(o=>{o.selected=!1}),e.selected=!0}get _overflowItem(){const e=this.shadowRoot.querySelector(".ui5-sn-item-overflow");return e&&(e.sideNavigation=this),e}get isOverflow(){return this._isOverflow}get isSideNavigation(){return!0}captureRef(e){e&&(e.associatedItem=this)}};ao([p({type:Boolean})],ui.prototype,"collapsed",void 0);ao([p()],ui.prototype,"accessibleName",void 0);ao([ae({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],ui.prototype,"items",void 0);ao([ae({type:HTMLElement,invalidateOnChildChange:!0})],ui.prototype,"fixedItems",void 0);ao([ae()],ui.prototype,"header",void 0);ao([p({type:Object})],ui.prototype,"_popoverContents",void 0);ao([p({type:Boolean})],ui.prototype,"inPopover",void 0);ao([p({type:Object})],ui.prototype,"_menuPopoverItems",void 0);ao([Xe("@ui5/webcomponents-fiori")],ui,"i18nBundle",void 0);ui=Er=ao([ce({tag:"ui5-side-navigation",fastNavigation:!0,renderer:we,template:mO,styles:[bO,yO]}),j("selection-change",{bubbles:!0,cancelable:!0}),j("item-click",{bubbles:!0,cancelable:!0})],ui);const hs=dP(["isSideNavigationItem","isSideNavigationGroup"]);ui.define();const wO=ui,CO={"primary-title":"HANA CLI","secondary-title":"Database Developer Tools"},xO=["open"],SO={"header-text":"Theme",mode:"SingleSelectBegin"},kO=["selected"],TO=["selected"],IO=["selected"],BO=["selected"],AO={class:"shell-layout"},EO=["collapsed"],RO=["text","icon","expanded"],LO=["text","icon","selected","data-key","data-external"],PO={class:"content-area"},OO=zo({__name:"App",setup(t){const e=Dg(),i=zg(),o=_e(localStorage.getItem("hana-cli-side-collapsed")==="true"),r=_e(localStorage.getItem("hana-cli-theme")||"auto"),n=_e((()=>{try{const V=localStorage.getItem("hana-cli-nav-expanded");if(V)return JSON.parse(V)}catch{}return Object.fromEntries(ys.map(V=>[V.key,V.expanded??!1]))})()),a=_e(!1),s=_e(null),l=_e(null),c=_e(!1),u=_e(!1),_=_e(!1);Mg([{key:"k",ctrl:!0,handler:()=>{c.value=!0},description:"Command Palette",category:"global"},{key:"F1",handler:()=>{u.value=!u.value},description:"Toggle Help Panel",category:"global"}]);const d=window.matchMedia("(prefers-color-scheme: dark)");function h(V){return V==="auto"?d.matches?"sap_horizon_dark":"sap_horizon":V}function g(){r.value==="auto"&&uu(h("auto"))}wl(()=>{d.addEventListener("change",g),l.value&&Ng.registerElement(l.value),_C(),bl(S)}),Cl(()=>{d.removeEventListener("change",g),C==null||C.disconnect()});function y(){o.value=!o.value,localStorage.setItem("hana-cli-side-collapsed",String(o.value))}let C=null;function S(){const V=document.querySelectorAll("ui5-side-navigation-item");V.length&&(C=new MutationObserver(O=>{for(const F of O)if(F.attributeName==="expanded"){const k=F.target,G=k.getAttribute("text"),ee=ys.find(N=>N.title===G);ee&&(n.value[ee.key]=k.hasAttribute("expanded"),localStorage.setItem("hana-cli-nav-expanded",JSON.stringify(n.value)))}}),V.forEach(O=>C.observe(O,{attributes:!0,attributeFilter:["expanded"]})))}function x(V){const F=V.detail.item,k=F.dataset.key,G=F.dataset.external;if(G){window.open(G,"_blank");return}k&&e.getRoutes().find(N=>N.name===k)&&e.push({name:k})}function A(V){var F;const O=((F=V.detail)==null?void 0:F.targetRef)||V.target;s.value&&(s.value.opener=O,a.value=!a.value)}function P(V){r.value=V,uu(h(V)),localStorage.setItem("hana-cli-theme",V),a.value=!1}function K(V){return i.name===V}return(V,O)=>{const F=Ob("router-view");return re(),se(Ve,null,[$("ui5-shellbar",CO,[$("ui5-button",{slot:"startButton",icon:"menu2",tooltip:"Toggle Navigation",onClick:y}),Ze(oE,{slot:"startButton"}),Ze(wE,{slot:"startButton"}),$("ui5-button",{slot:"startButton",icon:"sys-help",tooltip:"Help Topics (F1)",onClick:O[0]||(O[0]=k=>u.value=!u.value)}),$("ui5-button",{slot:"startButton",icon:"palette",tooltip:"Switch Theme",id:"themeBtn",onClick:A}),$("ui5-button",{slot:"startButton",icon:"action-settings",tooltip:"Settings",onClick:O[1]||(O[1]=k=>_.value=!0)})]),$("ui5-popover",{ref_key:"themePopoverRef",ref:s,opener:"themeBtn",open:a.value,placement:"Bottom",onClose:O[6]||(O[6]=k=>a.value=!1)},[$("ui5-list",SO,[$("ui5-li",{icon:"synchronize",selected:r.value==="auto",onClick:O[2]||(O[2]=k=>P("auto"))},"Auto (System)",8,kO),$("ui5-li",{icon:"light-mode",selected:r.value==="sap_horizon",onClick:O[3]||(O[3]=k=>P("sap_horizon"))},"Light",8,TO),$("ui5-li",{icon:"dark-mode",selected:r.value==="sap_horizon_dark",onClick:O[4]||(O[4]=k=>P("sap_horizon_dark"))},"Dark",8,IO),$("ui5-li",{icon:"high-contrast-theme",selected:r.value==="sap_horizon_hcb",onClick:O[5]||(O[5]=k=>P("sap_horizon_hcb"))},"High Contrast",8,BO)])],40,xO),$("div",AO,[$("ui5-side-navigation",{collapsed:o.value,onSelectionChange:x},[(re(!0),se(Ve,null,nr(rt(ys),k=>(re(),se("ui5-side-navigation-item",{key:k.key,text:k.title,icon:k.icon,expanded:n.value[k.key]??!1},[(re(!0),se(Ve,null,nr(k.items,G=>(re(),se("ui5-side-navigation-sub-item",{key:G.key,text:G.title,icon:G.icon,selected:K(G.key),"data-key":G.route||G.key,"data-external":G.external||void 0},null,8,LO))),128))],8,RO))),128))],40,EO),$("main",PO,[Ze(F)]),Ze(L3,{open:u.value,onClose:O[7]||(O[7]=k=>u.value=!1)},null,8,["open"])]),Ze(UA,{open:c.value,onClose:O[8]||(O[8]=k=>c.value=!1)},null,8,["open"]),Ze(j3,{open:_.value,onClose:O[9]||(O[9]=k=>_.value=!1)},null,8,["open"]),$("ui5-toast",{ref_key:"toastRef",ref:l},null,512)],64)}}}),DO=async t=>{switch(t){case"sap_fiori_3":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-DD4-kDYa.js");return{default:e}},[])).default;case"sap_fiori_3_dark":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-CsaTfj-N.js");return{default:e}},[])).default;case"sap_fiori_3_hcb":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-ODOphNtC.js");return{default:e}},[])).default;case"sap_fiori_3_hcw":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-LWiOMsf_.js");return{default:e}},[])).default;case"sap_horizon":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-BtvURsKX.js");return{default:e}},[])).default;case"sap_horizon_auto":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-BtozGMSF.js");return{default:e}},[])).default;case"sap_horizon_dark":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-OKIC5bYG.js");return{default:e}},[])).default;case"sap_horizon_hc_auto":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-CQ9ZF8ni.js");return{default:e}},[])).default;case"sap_horizon_hcb":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-lzXoohU-.js");return{default:e}},[])).default;case"sap_horizon_hcw":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-D6f3wuTA.js");return{default:e}},[])).default;default:throw"unknown theme"}},zO=async t=>{const e=await DO(t);if(typeof e=="string"&&e.endsWith(".json"))throw new Error('[themes] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build. Check the "Assets" documentation for more information.');return e};["sap_fiori_3","sap_fiori_3_dark","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_horizon","sap_horizon_auto","sap_horizon_dark","sap_horizon_hc_auto","sap_horizon_hcb","sap_horizon_hcw"].forEach(t=>L("@ui5/webcomponents-theming",t,zO));const NO=["ar","ar_EG","ar_SA","bg","ca","cnr","cs","da","de","de_AT","de_CH","el","el_CY","en","en_AU","en_GB","en_HK","en_IE","en_IN","en_NZ","en_PG","en_SG","en_ZA","es","es_AR","es_BO","es_CL","es_CO","es_MX","es_PE","es_UY","es_VE","et","fa","fi","fr","fr_BE","fr_CA","fr_CH","fr_LU","he","hi","hr","hu","id","it","it_CH","ja","kk","ko","lt","lv","ms","mk","nb","nl","nl_BE","pl","pt","pt_PT","ro","ru","ru_UA","sk","sl","sr","sr_Latn","sv","th","tr","uk","vi","zh_CN","zh_HK","zh_SG","zh_TW"],MO=async t=>{switch(t){case"ar":return(await m(async()=>{const{default:e}=await import("./ar-VPsNm95X.js");return{default:e}},[])).default;case"ar_EG":return(await m(async()=>{const{default:e}=await import("./ar_EG-D3p51Vip.js");return{default:e}},[])).default;case"ar_SA":return(await m(async()=>{const{default:e}=await import("./ar_SA-CIk_-YO4.js");return{default:e}},[])).default;case"bg":return(await m(async()=>{const{default:e}=await import("./bg-BOrb7LrC.js");return{default:e}},[])).default;case"ca":return(await m(async()=>{const{default:e}=await import("./ca-B2sTcpRx.js");return{default:e}},[])).default;case"cnr":return(await m(async()=>{const{default:e}=await import("./cnr-JHSZM2_J.js");return{default:e}},[])).default;case"cs":return(await m(async()=>{const{default:e}=await import("./cs-233ZQQKZ.js");return{default:e}},[])).default;case"da":return(await m(async()=>{const{default:e}=await import("./da-B8aBlyea.js");return{default:e}},[])).default;case"de":return(await m(async()=>{const{default:e}=await import("./de-BnE7Jul_.js");return{default:e}},[])).default;case"de_AT":return(await m(async()=>{const{default:e}=await import("./de_AT-DTWRztHD.js");return{default:e}},[])).default;case"de_CH":return(await m(async()=>{const{default:e}=await import("./de_CH-BU7eEcaZ.js");return{default:e}},[])).default;case"el":return(await m(async()=>{const{default:e}=await import("./el-sWYPp7hI.js");return{default:e}},[])).default;case"el_CY":return(await m(async()=>{const{default:e}=await import("./el_CY-BNMWHDEv.js");return{default:e}},[])).default;case"en":return(await m(async()=>{const{default:e}=await import("./en-6VrNscXk.js");return{default:e}},[])).default;case"en_AU":return(await m(async()=>{const{default:e}=await import("./en_AU-C__uZ7yN.js");return{default:e}},[])).default;case"en_GB":return(await m(async()=>{const{default:e}=await import("./en_GB-DmAmbmMt.js");return{default:e}},[])).default;case"en_HK":return(await m(async()=>{const{default:e}=await import("./en_HK-Hv4Db9_N.js");return{default:e}},[])).default;case"en_IE":return(await m(async()=>{const{default:e}=await import("./en_IE-BLPP-LqI.js");return{default:e}},[])).default;case"en_IN":return(await m(async()=>{const{default:e}=await import("./en_IN-BP7sOKiM.js");return{default:e}},[])).default;case"en_NZ":return(await m(async()=>{const{default:e}=await import("./en_NZ-Wp_NaZpx.js");return{default:e}},[])).default;case"en_PG":return(await m(async()=>{const{default:e}=await import("./en_PG-CbZp4Kcl.js");return{default:e}},[])).default;case"en_SG":return(await m(async()=>{const{default:e}=await import("./en_SG-4qnSFRob.js");return{default:e}},[])).default;case"en_ZA":return(await m(async()=>{const{default:e}=await import("./en_ZA-Wpjgbi7j.js");return{default:e}},[])).default;case"es":return(await m(async()=>{const{default:e}=await import("./es-CJzO4TX3.js");return{default:e}},[])).default;case"es_AR":return(await m(async()=>{const{default:e}=await import("./es_AR-C4XKQczd.js");return{default:e}},[])).default;case"es_BO":return(await m(async()=>{const{default:e}=await import("./es_BO-D_Nnhd3F.js");return{default:e}},[])).default;case"es_CL":return(await m(async()=>{const{default:e}=await import("./es_CL-DXCkNV1F.js");return{default:e}},[])).default;case"es_CO":return(await m(async()=>{const{default:e}=await import("./es_CO-CSk0VBVt.js");return{default:e}},[])).default;case"es_MX":return(await m(async()=>{const{default:e}=await import("./es_MX-dMTsYG-y.js");return{default:e}},[])).default;case"es_PE":return(await m(async()=>{const{default:e}=await import("./es_PE-5qAxZ2cv.js");return{default:e}},[])).default;case"es_UY":return(await m(async()=>{const{default:e}=await import("./es_UY-3YKMJA-e.js");return{default:e}},[])).default;case"es_VE":return(await m(async()=>{const{default:e}=await import("./es_VE-Dghf-kf_.js");return{default:e}},[])).default;case"et":return(await m(async()=>{const{default:e}=await import("./et-C7dBUswa.js");return{default:e}},[])).default;case"fa":return(await m(async()=>{const{default:e}=await import("./fa-DF-8xEF6.js");return{default:e}},[])).default;case"fi":return(await m(async()=>{const{default:e}=await import("./fi-CA-rvEf9.js");return{default:e}},[])).default;case"fr":return(await m(async()=>{const{default:e}=await import("./fr-D0UK8l5A.js");return{default:e}},[])).default;case"fr_BE":return(await m(async()=>{const{default:e}=await import("./fr_BE-CmYAAGG8.js");return{default:e}},[])).default;case"fr_CA":return(await m(async()=>{const{default:e}=await import("./fr_CA-C3MiIAHN.js");return{default:e}},[])).default;case"fr_CH":return(await m(async()=>{const{default:e}=await import("./fr_CH-DO1pF6ir.js");return{default:e}},[])).default;case"fr_LU":return(await m(async()=>{const{default:e}=await import("./fr_LU-DhM2GHiQ.js");return{default:e}},[])).default;case"he":return(await m(async()=>{const{default:e}=await import("./he-B15GqGKB.js");return{default:e}},[])).default;case"hi":return(await m(async()=>{const{default:e}=await import("./hi-BlDhNAcz.js");return{default:e}},[])).default;case"hr":return(await m(async()=>{const{default:e}=await import("./hr-Cp1S9GoS.js");return{default:e}},[])).default;case"hu":return(await m(async()=>{const{default:e}=await import("./hu-DXyXwypU.js");return{default:e}},[])).default;case"id":return(await m(async()=>{const{default:e}=await import("./id-C2_7yOBF.js");return{default:e}},[])).default;case"it":return(await m(async()=>{const{default:e}=await import("./it-CGoUOj9s.js");return{default:e}},[])).default;case"it_CH":return(await m(async()=>{const{default:e}=await import("./it_CH-C5Di1oAZ.js");return{default:e}},[])).default;case"ja":return(await m(async()=>{const{default:e}=await import("./ja-DO3pGQt9.js");return{default:e}},[])).default;case"kk":return(await m(async()=>{const{default:e}=await import("./kk-B7iQf7oF.js");return{default:e}},[])).default;case"ko":return(await m(async()=>{const{default:e}=await import("./ko-BlU1_1J8.js");return{default:e}},[])).default;case"lt":return(await m(async()=>{const{default:e}=await import("./lt-DYbZbaoo.js");return{default:e}},[])).default;case"lv":return(await m(async()=>{const{default:e}=await import("./lv-BppYeED8.js");return{default:e}},[])).default;case"ms":return(await m(async()=>{const{default:e}=await import("./ms-ByUZkyaM.js");return{default:e}},[])).default;case"mk":return(await m(async()=>{const{default:e}=await import("./mk-Ci0A33jb.js");return{default:e}},[])).default;case"nb":return(await m(async()=>{const{default:e}=await import("./nb-8ygHIoVQ.js");return{default:e}},[])).default;case"nl":return(await m(async()=>{const{default:e}=await import("./nl-BHmeaMSr.js");return{default:e}},[])).default;case"nl_BE":return(await m(async()=>{const{default:e}=await import("./nl_BE-BUW74Vjp.js");return{default:e}},[])).default;case"pl":return(await m(async()=>{const{default:e}=await import("./pl-CKjIYTZE.js");return{default:e}},[])).default;case"pt":return(await m(async()=>{const{default:e}=await import("./pt-D5klWnBw.js");return{default:e}},[])).default;case"pt_PT":return(await m(async()=>{const{default:e}=await import("./pt_PT-DAsesHno.js");return{default:e}},[])).default;case"ro":return(await m(async()=>{const{default:e}=await import("./ro-B8yJ57wL.js");return{default:e}},[])).default;case"ru":return(await m(async()=>{const{default:e}=await import("./ru-ZqNPWLS_.js");return{default:e}},[])).default;case"ru_UA":return(await m(async()=>{const{default:e}=await import("./ru_UA-fByZF3ux.js");return{default:e}},[])).default;case"sk":return(await m(async()=>{const{default:e}=await import("./sk-ChzCy60D.js");return{default:e}},[])).default;case"sl":return(await m(async()=>{const{default:e}=await import("./sl-BkFETjds.js");return{default:e}},[])).default;case"sr":return(await m(async()=>{const{default:e}=await import("./sr-DPU5PvNz.js");return{default:e}},[])).default;case"sr_Latn":return(await m(async()=>{const{default:e}=await import("./sr_Latn-DCURuJyT.js");return{default:e}},[])).default;case"sv":return(await m(async()=>{const{default:e}=await import("./sv-CKLQj52w.js");return{default:e}},[])).default;case"th":return(await m(async()=>{const{default:e}=await import("./th-CBTIrgfj.js");return{default:e}},[])).default;case"tr":return(await m(async()=>{const{default:e}=await import("./tr-D5u939YY.js");return{default:e}},[])).default;case"uk":return(await m(async()=>{const{default:e}=await import("./uk-DF9wFAwL.js");return{default:e}},[])).default;case"vi":return(await m(async()=>{const{default:e}=await import("./vi-CpIydy6F.js");return{default:e}},[])).default;case"zh_CN":return(await m(async()=>{const{default:e}=await import("./zh_CN-Bl0-Ov24.js");return{default:e}},[])).default;case"zh_HK":return(await m(async()=>{const{default:e}=await import("./zh_HK-BECUzF6h.js");return{default:e}},[])).default;case"zh_SG":return(await m(async()=>{const{default:e}=await import("./zh_SG-ChMq7Egj.js");return{default:e}},[])).default;case"zh_TW":return(await m(async()=>{const{default:e}=await import("./zh_TW-DbHnDJu-.js");return{default:e}},[])).default;default:throw"unknown locale"}},$O=async t=>{const e=await MO(t);if(typeof e=="string"&&e.endsWith(".json"))throw new Error('[LocaleData] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build. Check the "Assets" documentation for more information.');return e};NO.forEach(t=>rv(t,$O));const FO=async t=>{switch(t){case"sap_fiori_3":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-B7QKJDq5.js");return{default:e}},[])).default;case"sap_fiori_3_dark":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-DQtgL9rt.js");return{default:e}},[])).default;case"sap_fiori_3_hcb":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-BYprpB8E.js");return{default:e}},[])).default;case"sap_fiori_3_hcw":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-ClJvD4Tz.js");return{default:e}},[])).default;case"sap_horizon":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-D0vHvPIE.js");return{default:e}},[])).default;case"sap_horizon_auto":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-BouukNUr.js");return{default:e}},[])).default;case"sap_horizon_dark":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-D687XQEv.js");return{default:e}},[])).default;case"sap_horizon_hc_auto":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-CBSjvzCv.js");return{default:e}},[])).default;case"sap_horizon_hcb":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-BWSlM5rc.js");return{default:e}},[])).default;case"sap_horizon_hcw":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-Dv84Wc9_.js");return{default:e}},[])).default;default:throw"unknown theme"}},HO=async t=>{const e=await FO(t);if(typeof e=="string"&&e.endsWith(".json"))throw new Error('[themes] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build. Check the "Assets" documentation for more information.');return e};["sap_fiori_3","sap_fiori_3_dark","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_horizon","sap_horizon_auto","sap_horizon_dark","sap_horizon_hc_auto","sap_horizon_hcb","sap_horizon_hcw"].forEach(t=>L("@ui5/webcomponents",t,HO,"host"));const UO=async t=>{switch(t){case"ar":return(await m(async()=>{const{default:e}=await import("./messagebundle_ar-DSnATdHC.js");return{default:e}},[])).default;case"bg":return(await m(async()=>{const{default:e}=await import("./messagebundle_bg-D2-AUw3Q.js");return{default:e}},[])).default;case"ca":return(await m(async()=>{const{default:e}=await import("./messagebundle_ca-ChY3e75C.js");return{default:e}},[])).default;case"cnr":return(await m(async()=>{const{default:e}=await import("./messagebundle_cnr-B7TTpzUa.js");return{default:e}},[])).default;case"cs":return(await m(async()=>{const{default:e}=await import("./messagebundle_cs-CLWaRptr.js");return{default:e}},[])).default;case"cy":return(await m(async()=>{const{default:e}=await import("./messagebundle_cy-CPr2qYpr.js");return{default:e}},[])).default;case"da":return(await m(async()=>{const{default:e}=await import("./messagebundle_da-CL2Va_PB.js");return{default:e}},[])).default;case"de":return(await m(async()=>{const{default:e}=await import("./messagebundle_de-NSCK5G6i.js");return{default:e}},[])).default;case"el":return(await m(async()=>{const{default:e}=await import("./messagebundle_el-CVN16YWT.js");return{default:e}},[])).default;case"en":return(await m(async()=>{const{default:e}=await import("./messagebundle_en-Biy4TcW0.js");return{default:e}},[])).default;case"en_GB":return(await m(async()=>{const{default:e}=await import("./messagebundle_en_GB-D5KAVVzN.js");return{default:e}},[])).default;case"en_US_sappsd":return(await m(async()=>{const{default:e}=await import("./messagebundle_en_US_sappsd-1VytBQ1S.js");return{default:e}},[])).default;case"en_US_saprigi":return(await m(async()=>{const{default:e}=await import("./messagebundle_en_US_saprigi-D5UF9O8d.js");return{default:e}},[])).default;case"en_US_saptrc":return(await m(async()=>{const{default:e}=await import("./messagebundle_en_US_saptrc-abHj7WaN.js");return{default:e}},[])).default;case"es":return(await m(async()=>{const{default:e}=await import("./messagebundle_es-DIL5MloV.js");return{default:e}},[])).default;case"es_MX":return(await m(async()=>{const{default:e}=await import("./messagebundle_es_MX-BHVCQNYo.js");return{default:e}},[])).default;case"et":return(await m(async()=>{const{default:e}=await import("./messagebundle_et-CHteTr4e.js");return{default:e}},[])).default;case"fi":return(await m(async()=>{const{default:e}=await import("./messagebundle_fi-Dsc1Slnp.js");return{default:e}},[])).default;case"fr":return(await m(async()=>{const{default:e}=await import("./messagebundle_fr-BcA3-YgT.js");return{default:e}},[])).default;case"fr_CA":return(await m(async()=>{const{default:e}=await import("./messagebundle_fr_CA-COz2WHjp.js");return{default:e}},[])).default;case"hi":return(await m(async()=>{const{default:e}=await import("./messagebundle_hi-CsZ3Js-o.js");return{default:e}},[])).default;case"hr":return(await m(async()=>{const{default:e}=await import("./messagebundle_hr-CmAY6Azk.js");return{default:e}},[])).default;case"hu":return(await m(async()=>{const{default:e}=await import("./messagebundle_hu-BBdPLvJL.js");return{default:e}},[])).default;case"id":return(await m(async()=>{const{default:e}=await import("./messagebundle_id-CgZzlkud.js");return{default:e}},[])).default;case"it":return(await m(async()=>{const{default:e}=await import("./messagebundle_it-W_jr0_Ti.js");return{default:e}},[])).default;case"iw":return(await m(async()=>{const{default:e}=await import("./messagebundle_iw-BE4nhf4P.js");return{default:e}},[])).default;case"ja":return(await m(async()=>{const{default:e}=await import("./messagebundle_ja-1ZCfmaoe.js");return{default:e}},[])).default;case"kk":return(await m(async()=>{const{default:e}=await import("./messagebundle_kk-K1jIsMuh.js");return{default:e}},[])).default;case"ko":return(await m(async()=>{const{default:e}=await import("./messagebundle_ko-CyujrkUg.js");return{default:e}},[])).default;case"lt":return(await m(async()=>{const{default:e}=await import("./messagebundle_lt-D1CVnQW9.js");return{default:e}},[])).default;case"lv":return(await m(async()=>{const{default:e}=await import("./messagebundle_lv-CI58v63Z.js");return{default:e}},[])).default;case"mk":return(await m(async()=>{const{default:e}=await import("./messagebundle_mk-B5SLCrUD.js");return{default:e}},[])).default;case"ms":return(await m(async()=>{const{default:e}=await import("./messagebundle_ms-DQGpbJ01.js");return{default:e}},[])).default;case"nl":return(await m(async()=>{const{default:e}=await import("./messagebundle_nl-trIRrucw.js");return{default:e}},[])).default;case"no":return(await m(async()=>{const{default:e}=await import("./messagebundle_no-B99Bapij.js");return{default:e}},[])).default;case"pl":return(await m(async()=>{const{default:e}=await import("./messagebundle_pl-0bOlu7P7.js");return{default:e}},[])).default;case"pt":return(await m(async()=>{const{default:e}=await import("./messagebundle_pt-uBWxC-Uq.js");return{default:e}},[])).default;case"pt_PT":return(await m(async()=>{const{default:e}=await import("./messagebundle_pt_PT-D6Pckr3u.js");return{default:e}},[])).default;case"ro":return(await m(async()=>{const{default:e}=await import("./messagebundle_ro-Ca8mcWwx.js");return{default:e}},[])).default;case"ru":return(await m(async()=>{const{default:e}=await import("./messagebundle_ru-DHruW-r8.js");return{default:e}},[])).default;case"sh":return(await m(async()=>{const{default:e}=await import("./messagebundle_sh-CMJVBL-W.js");return{default:e}},[])).default;case"sk":return(await m(async()=>{const{default:e}=await import("./messagebundle_sk-BpWAfdGX.js");return{default:e}},[])).default;case"sl":return(await m(async()=>{const{default:e}=await import("./messagebundle_sl-DEVluGhh.js");return{default:e}},[])).default;case"sr":return(await m(async()=>{const{default:e}=await import("./messagebundle_sr-CexOSLUO.js");return{default:e}},[])).default;case"sv":return(await m(async()=>{const{default:e}=await import("./messagebundle_sv-DJHMWiP8.js");return{default:e}},[])).default;case"th":return(await m(async()=>{const{default:e}=await import("./messagebundle_th-BLVxtHLU.js");return{default:e}},[])).default;case"tr":return(await m(async()=>{const{default:e}=await import("./messagebundle_tr-BXjYZ0dw.js");return{default:e}},[])).default;case"uk":return(await m(async()=>{const{default:e}=await import("./messagebundle_uk-dWndKEyU.js");return{default:e}},[])).default;case"vi":return(await m(async()=>{const{default:e}=await import("./messagebundle_vi-CNIgeAsd.js");return{default:e}},[])).default;case"zh_CN":return(await m(async()=>{const{default:e}=await import("./messagebundle_zh_CN-1AuolDMc.js");return{default:e}},[])).default;case"zh_TW":return(await m(async()=>{const{default:e}=await import("./messagebundle_zh_TW-DxrPg4Yu.js");return{default:e}},[])).default;default:throw"unknown locale"}},VO=async t=>{const e=await UO(t);if(typeof e=="string"&&e.endsWith(".json"))throw new Error('[i18n] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build. Check the "Assets" documentation for more information.');return e},qO=["ar","bg","ca","cnr","cs","cy","da","de","el","en","en_GB","en_US_sappsd","en_US_saprigi","en_US_saptrc","es","es_MX","et","fi","fr","fr_CA","hi","hr","hu","id","it","iw","ja","kk","ko","lt","lv","mk","ms","nl","no","pl","pt","pt_PT","ro","ru","sh","sk","sl","sr","sv","th","tr","uk","vi","zh_CN","zh_TW"];qO.forEach(t=>{Qm("@ui5/webcomponents",t,VO)});const GO=async t=>{switch(t){case"sap_fiori_3":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-BJuglSMR.js");return{default:e}},[])).default;case"sap_fiori_3_dark":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-BCDbrL2M.js");return{default:e}},[])).default;case"sap_fiori_3_hcb":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-B1V4AN9W.js");return{default:e}},[])).default;case"sap_fiori_3_hcw":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-BAv7rXQm.js");return{default:e}},[])).default;case"sap_horizon":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-Bk5iAg9k.js");return{default:e}},[])).default;case"sap_horizon_auto":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-DnG1NQgw.js");return{default:e}},[])).default;case"sap_horizon_dark":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-DmP00pue.js");return{default:e}},[])).default;case"sap_horizon_hc_auto":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-D0ByrPM9.js");return{default:e}},[])).default;case"sap_horizon_hcb":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-CWPdmHez.js");return{default:e}},[])).default;case"sap_horizon_hcw":return(await m(async()=>{const{default:e}=await import("./parameters-bundle.css-DrfUYPqs.js");return{default:e}},[])).default;default:throw"unknown theme"}},jO=async t=>{const e=await GO(t);if(typeof e=="string"&&e.endsWith(".json"))throw new Error('[themes] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build. Check the "Assets" documentation for more information.');return e};["sap_fiori_3","sap_fiori_3_dark","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_horizon","sap_horizon_auto","sap_horizon_dark","sap_horizon_hc_auto","sap_horizon_hcb","sap_horizon_hcw"].forEach(t=>L("@ui5/webcomponents-fiori",t,jO,"host"));const WO=async t=>{switch(t){case"ar":return(await m(async()=>{const{default:e}=await import("./messagebundle_ar-BC1dLxjR.js");return{default:e}},[])).default;case"bg":return(await m(async()=>{const{default:e}=await import("./messagebundle_bg-CYmnMP9n.js");return{default:e}},[])).default;case"ca":return(await m(async()=>{const{default:e}=await import("./messagebundle_ca-p_MW8vAl.js");return{default:e}},[])).default;case"cnr":return(await m(async()=>{const{default:e}=await import("./messagebundle_cnr-BcY-xaK-.js");return{default:e}},[])).default;case"cs":return(await m(async()=>{const{default:e}=await import("./messagebundle_cs-0q90EIox.js");return{default:e}},[])).default;case"cy":return(await m(async()=>{const{default:e}=await import("./messagebundle_cy-DeKHN1eZ.js");return{default:e}},[])).default;case"da":return(await m(async()=>{const{default:e}=await import("./messagebundle_da-Hv_wOxB2.js");return{default:e}},[])).default;case"de":return(await m(async()=>{const{default:e}=await import("./messagebundle_de-BOXPc6Dt.js");return{default:e}},[])).default;case"el":return(await m(async()=>{const{default:e}=await import("./messagebundle_el-DCPJJsJU.js");return{default:e}},[])).default;case"en":return(await m(async()=>{const{default:e}=await import("./messagebundle_en-C-2VRyW4.js");return{default:e}},[])).default;case"en_GB":return(await m(async()=>{const{default:e}=await import("./messagebundle_en_GB-QP2D7Mey.js");return{default:e}},[])).default;case"en_US_sappsd":return(await m(async()=>{const{default:e}=await import("./messagebundle_en_US_sappsd-Cc5ec570.js");return{default:e}},[])).default;case"en_US_saprigi":return(await m(async()=>{const{default:e}=await import("./messagebundle_en_US_saprigi-CC1-d2W6.js");return{default:e}},[])).default;case"en_US_saptrc":return(await m(async()=>{const{default:e}=await import("./messagebundle_en_US_saptrc-C6JexmSW.js");return{default:e}},[])).default;case"es":return(await m(async()=>{const{default:e}=await import("./messagebundle_es-B6dI19M4.js");return{default:e}},[])).default;case"es_MX":return(await m(async()=>{const{default:e}=await import("./messagebundle_es_MX-D3W2rfl8.js");return{default:e}},[])).default;case"et":return(await m(async()=>{const{default:e}=await import("./messagebundle_et-BBGY-3BB.js");return{default:e}},[])).default;case"fi":return(await m(async()=>{const{default:e}=await import("./messagebundle_fi-DUsnpvv6.js");return{default:e}},[])).default;case"fr":return(await m(async()=>{const{default:e}=await import("./messagebundle_fr-B-Nv0irJ.js");return{default:e}},[])).default;case"fr_CA":return(await m(async()=>{const{default:e}=await import("./messagebundle_fr_CA-bgQanBjV.js");return{default:e}},[])).default;case"hi":return(await m(async()=>{const{default:e}=await import("./messagebundle_hi-BGJhSIjq.js");return{default:e}},[])).default;case"hr":return(await m(async()=>{const{default:e}=await import("./messagebundle_hr-DdLXpXFA.js");return{default:e}},[])).default;case"hu":return(await m(async()=>{const{default:e}=await import("./messagebundle_hu-Bk_pK_6D.js");return{default:e}},[])).default;case"id":return(await m(async()=>{const{default:e}=await import("./messagebundle_id-BQtcyVEn.js");return{default:e}},[])).default;case"it":return(await m(async()=>{const{default:e}=await import("./messagebundle_it-CmZlU0LC.js");return{default:e}},[])).default;case"iw":return(await m(async()=>{const{default:e}=await import("./messagebundle_iw-CFtY5hWR.js");return{default:e}},[])).default;case"ja":return(await m(async()=>{const{default:e}=await import("./messagebundle_ja-D8nZMljq.js");return{default:e}},[])).default;case"kk":return(await m(async()=>{const{default:e}=await import("./messagebundle_kk-SRSyHf4h.js");return{default:e}},[])).default;case"ko":return(await m(async()=>{const{default:e}=await import("./messagebundle_ko-nQRM7fTi.js");return{default:e}},[])).default;case"lt":return(await m(async()=>{const{default:e}=await import("./messagebundle_lt-DSCZP0Ts.js");return{default:e}},[])).default;case"lv":return(await m(async()=>{const{default:e}=await import("./messagebundle_lv-CZdVxZUp.js");return{default:e}},[])).default;case"mk":return(await m(async()=>{const{default:e}=await import("./messagebundle_mk-jj9XrAfU.js");return{default:e}},[])).default;case"ms":return(await m(async()=>{const{default:e}=await import("./messagebundle_ms-F_GEUG47.js");return{default:e}},[])).default;case"nl":return(await m(async()=>{const{default:e}=await import("./messagebundle_nl-Cjlel4dl.js");return{default:e}},[])).default;case"no":return(await m(async()=>{const{default:e}=await import("./messagebundle_no-CWvdw-bE.js");return{default:e}},[])).default;case"pl":return(await m(async()=>{const{default:e}=await import("./messagebundle_pl-CGO_Xl6w.js");return{default:e}},[])).default;case"pt":return(await m(async()=>{const{default:e}=await import("./messagebundle_pt-Dj8L_XOT.js");return{default:e}},[])).default;case"pt_PT":return(await m(async()=>{const{default:e}=await import("./messagebundle_pt_PT-DmX03hlQ.js");return{default:e}},[])).default;case"ro":return(await m(async()=>{const{default:e}=await import("./messagebundle_ro-DPvMVbCd.js");return{default:e}},[])).default;case"ru":return(await m(async()=>{const{default:e}=await import("./messagebundle_ru-usYv8rnt.js");return{default:e}},[])).default;case"sh":return(await m(async()=>{const{default:e}=await import("./messagebundle_sh-D4welKcq.js");return{default:e}},[])).default;case"sk":return(await m(async()=>{const{default:e}=await import("./messagebundle_sk-blluQGjB.js");return{default:e}},[])).default;case"sl":return(await m(async()=>{const{default:e}=await import("./messagebundle_sl-CA_PA1s8.js");return{default:e}},[])).default;case"sr":return(await m(async()=>{const{default:e}=await import("./messagebundle_sr-DzcgDPHP.js");return{default:e}},[])).default;case"sv":return(await m(async()=>{const{default:e}=await import("./messagebundle_sv-CH-HOD20.js");return{default:e}},[])).default;case"th":return(await m(async()=>{const{default:e}=await import("./messagebundle_th-bMk6nzsQ.js");return{default:e}},[])).default;case"tr":return(await m(async()=>{const{default:e}=await import("./messagebundle_tr-CI3XUAnr.js");return{default:e}},[])).default;case"uk":return(await m(async()=>{const{default:e}=await import("./messagebundle_uk-Bu9ZVkcL.js");return{default:e}},[])).default;case"vi":return(await m(async()=>{const{default:e}=await import("./messagebundle_vi-DEMOtQto.js");return{default:e}},[])).default;case"zh_CN":return(await m(async()=>{const{default:e}=await import("./messagebundle_zh_CN-ReN1RJxW.js");return{default:e}},[])).default;case"zh_TW":return(await m(async()=>{const{default:e}=await import("./messagebundle_zh_TW-1II4Ic24.js");return{default:e}},[])).default;default:throw"unknown locale"}},KO=async t=>{const e=await WO(t);if(typeof e=="string"&&e.endsWith(".json"))throw new Error('[i18n] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build. Check the "Assets" documentation for more information.');return e},ZO=["ar","bg","ca","cnr","cs","cy","da","de","el","en","en_GB","en_US_sappsd","en_US_saprigi","en_US_saptrc","es","es_MX","et","fi","fr","fr_CA","hi","hr","hu","id","it","iw","ja","kk","ko","lt","lv","mk","ms","nl","no","pl","pt","pt_PT","ro","ru","sh","sk","sl","sr","sv","th","tr","uk","vi","zh_CN","zh_TW"];ZO.forEach(t=>{Qm("@ui5/webcomponents-fiori",t,KO)});const tf=async t=>{let e;if(t==="SAP-icons-v5"?e=(await m(async()=>{const{default:i}=await import("./SAP-icons-CXvffQ-0.js");return{default:i}},[])).default:e=(await m(async()=>{const{default:i}=await import("./SAP-icons-C6hzQTPq.js");return{default:i}},[])).default,typeof e=="string"&&e.endsWith(".json"))throw new Error('[icons] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build. Check the "Assets" documentation for more information.');return e},XO=()=>{pp("SAP-icons-v4",tf),pp("SAP-icons-v5",tf)};XO();function YO(){const t=localStorage.getItem("hana-cli-theme");return t&&t!=="auto"?t:window.matchMedia("(prefers-color-scheme: dark)").matches?"sap_horizon_dark":"sap_horizon"}uu(YO());const b5=J0(OO);b5.use(uy);b5.mount("#app");export{Ia as $,Fe as A,Nn as B,dC as C,vt as D,U6 as E,BD as F,Aa as G,q_ as H,O6 as I,Ck as J,_u as K,_I as L,X6 as M,Z6 as N,J6 as O,Y6 as P,Q_ as Q,pe as R,ga as S,Za as T,qv as U,Ka as V,DR as W,o8 as X,PI as Y,td as Z,Ui as _,Ga as a,K_ as a$,sv as a0,rD as a1,iD as a2,oD as a3,Q6 as a4,tD as a5,eD as a6,cD as a7,nD as a8,lD as a9,LD as aA,PD as aB,FD as aC,ND as aD,DD as aE,UD as aF,MD as aG,RD as aH,OD as aI,zD as aJ,ED as aK,HD as aL,AD as aM,VD as aN,gD as aO,fD as aP,mD as aQ,pD as aR,vD as aS,kD as aT,ID as aU,TD as aV,c6 as aW,Z_ as aX,Lo as aY,j_ as aZ,Rv as a_,sD as aa,aD as ab,Hh as ac,Fh as ad,ai as ae,hI as af,uD as ag,Dn as ah,Tt as ai,bB as aj,Li as ak,QT as al,Ke as am,hD as an,dD as ao,_D as ap,K6 as aq,Fl as ar,CD as as,bD as at,wD as au,xD as av,yD as aw,SD as ax,$D as ay,qD as az,z6 as b,dI as b$,rk as b0,sk as b1,ak as b2,nk as b3,W_ as b4,eI as b5,li as b6,m as b7,Xa as b8,qr as b9,Tx as bA,L as bB,Qt as bC,zt as bD,el as bE,Qi as bF,nT as bG,C_ as bH,O5 as bI,r5 as bJ,c0 as bK,R_ as bL,x_ as bM,Xe as bN,Ua as bO,Sn as bP,cI as bQ,C6 as bR,kn as bS,c5 as bT,_S as bU,Si as bV,m6 as bW,ft as bX,xm as bY,f as bZ,z as b_,S6 as ba,$x as bb,Zp as bc,Ye as bd,ql as be,B6 as bf,x6 as bg,Qe as bh,$ as bi,Hs as bj,ri as bk,se as bl,f6 as bm,g6 as bn,bs as bo,Ze as bp,r6 as bq,ae as br,We as bs,X_ as bt,fe as bu,ne as bv,u6 as bw,zo as bx,II as by,e6 as bz,N6 as c,h6 as c$,gC as c0,j as c1,I6 as c2,pB as c3,tB as c4,ce as c5,Ro as c6,uI as c7,eb as c8,u0 as c9,_e as cA,nr as cB,d6 as cC,Ob as cD,_6 as cE,hu as cF,p as cG,tb as cH,a5 as cI,ed as cJ,Jx as cK,ki as cL,J_ as cM,Lt as cN,a6 as cO,n6 as cP,o6 as cQ,Ng as cR,i6 as cS,Vg as cT,rt as cU,p6 as cV,uC as cW,Mg as cX,vm as cY,zg as cZ,Dg as c_,Ba as ca,Cn as cb,Zs as cc,qm as cd,m5 as ce,o_ as cf,bl as cg,hi as ch,QO as ci,fl as cj,dd as ck,Ne as cl,Ib as cm,jf as cn,wl as co,t6 as cp,Cl as cq,re as cr,o5 as cs,Hl as ct,gs as cu,Sm as cv,pt as cw,Pi as cx,za as cy,Gc as cz,M6 as d,b6 as d0,v6 as d1,Yi as d2,l6 as d3,zf as d4,s6 as d5,y6 as d6,Cg as d7,Ai as d8,we as d9,k6 as da,ie as db,$l as dc,$6 as e,F6 as f,J as g,In as h,fB as i,yA as j,Tn as k,Uv as l,Vv as m,H6 as n,G6 as o,q6 as p,W6 as q,V6 as r,j6 as s,Ve as t,de as u,D6 as v,DS as w,Pe as x,Hi as y,XD as z}; diff --git a/app/vue/dist/assets/index-tIVfSlto.js b/app/vue/dist/assets/index-tIVfSlto.js deleted file mode 100644 index 3cc97aa9..00000000 --- a/app/vue/dist/assets/index-tIVfSlto.js +++ /dev/null @@ -1,11 +0,0 @@ -import{bx as ne,bM as S,cq as ae,d2 as m,cH as T,bh as $,co as K,cA as R,cg as G}from"./index-Cmc-xxmd.js";function V(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=e.length?e.apply(this,a):function(){for(var u=arguments.length,i=new Array(u),c=0;c1&&arguments[1]!==void 0?arguments[1]:{};b.initial(e),b.handler(t);var r={current:e},n=g($e)(r,t),a=g(Ee)(r),o=g(b.changes)(e),u=g(_e)(r);function i(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(f){return f};return b.selector(l),l(r.current)}function c(l){me(n,a,o,u)(l)}return[i,c]}function _e(e,t){return h(t)?t(e.current):t}function Ee(e,t){return e.current=q(q({},e.current),t),t}function $e(e,t,r){return h(t)?t(e.current):Object.keys(r).forEach(function(n){var a;return(a=t[n])===null||a===void 0?void 0:a.call(t,e.current[n])}),r}var Ie={create:Me},Te={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.55.1/min/vs"}};function Ae(e){return function t(){for(var r=this,n=arguments.length,a=new Array(n),o=0;o=e.length?e.apply(this,a):function(){for(var u=arguments.length,i=new Array(u),c=0;ct in e?Ye(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_=(e,t)=>{for(var r in t||(t={}))Xe.call(t,r)&&z(e,r,t[r]);if(U)for(var r of U(t))Ze.call(t,r)&&z(e,r,t[r]);return e},ke=(e,t)=>Je(e,Qe(t));const E={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}};function et(e,t){const r=$(()=>{const{width:a,height:o}=e;return ke(_({},E.wrapper),{width:a,height:o})}),n=$(()=>_(_({},E.fullWidth),!t.value&&E.hide));return{wrapperStyle:r,containerStyle:n}}function tt(){const e=T(H.__getMonacoInstance()),t=R(!1);let r;return K(()=>{e.value||(r=H.init(),r.then(a=>e.value=a).catch(a=>{(a==null?void 0:a.type)!=="cancelation"&&(t.value=!0,console.error("Monaco initialization error:",a))}))}),{monacoRef:e,unload:()=>r==null?void 0:r.cancel(),isLoadFailed:t}}function F(e){return typeof e=="function"?e():e}function I(e){return e===void 0}function Z(e,t,r,n){return rt(e,n)||nt(e,t,r,n)}function rt(e,t){return e.editor.getModel(k(e,t))}function nt(e,t,r,n){return e.editor.createModel(t,r,n?k(e,n):void 0)}function k(e,t){return e.Uri.parse(t)}var at=Object.defineProperty,W=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable,B=(e,t,r)=>t in e?at(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ut=(e,t)=>{for(var r in t||(t={}))ot.call(t,r)&&B(e,r,t[r]);if(W)for(var r of W(t))it.call(t,r)&&B(e,r,t[r]);return e};const ct={display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"};var vt=ne({name:"VueMonacoEditor",model:{prop:"value",event:"update:value"},props:{defaultValue:String,defaultPath:String,defaultLanguage:String,value:String,language:String,path:String,theme:{type:String,default:"vs"},line:Number,options:{type:Object,default:()=>({})},overrideServices:{type:Object,default:()=>({})},saveViewState:{type:Boolean,default:!0},width:{type:[Number,String],default:"100%"},height:{type:[Number,String],default:"100%"},className:String},emits:["update:value","beforeMount","mount","change","validate"],setup(e,t){const r=new Map,n=T(null),{monacoRef:a,unload:o,isLoadFailed:u}=tt(),{editorRef:i}=lt(t,e,a,n),{disposeValidator:c}=st(t,e,a,i),l=$(()=>!!a.value&&!!i.value),{wrapperStyle:f,containerStyle:A}=et(e,l);return ae(()=>{var s,v;(s=c.value)==null||s.call(c),i.value?((v=i.value.getModel())==null||v.dispose(),i.value.dispose()):o()}),m([()=>e.path,()=>e.value,()=>e.language,()=>e.line],([s,v,j,p],[C,ft,ee,te])=>{if(l.value){if(s!==C){const re=Z(a.value,v||e.defaultValue||"",j||e.defaultLanguage||"",s||e.defaultPath||"");e.saveViewState&&r.set(C,i.value.saveViewState()),i.value.setModel(re),e.saveViewState&&i.value.restoreViewState(r.get(s)),I(p)||i.value.revealLine(p);return}i.value.getValue()!==v&&i.value.setValue(v),j!==ee&&a.value.editor.setModelLanguage(i.value.getModel(),j),!I(p)&&p!==te&&i.value.revealLine(p)}}),m(()=>e.options,s=>i.value&&i.value.updateOptions(s),{deep:!0}),m(()=>e.theme,s=>a.value&&a.value.editor.setTheme(s)),{containerRef:n,isEditorReady:l,isLoadFailed:u,wrapperStyle:f,containerStyle:A}},render(){const{$slots:e,isEditorReady:t,isLoadFailed:r,wrapperStyle:n,containerStyle:a,className:o}=this;return S("div",{style:n},[!t&&S("div",{style:ct},r?e.failure?F(e.failure):"load failed":e.default?F(e.default):"loading..."),S("div",{ref:"containerRef",key:"monaco_editor_container",style:a,class:o})])}});function lt({emit:e},t,r,n){const a=T(null);K(()=>{const u=m(r,()=>{n.value&&r.value&&(G(()=>u()),o())},{immediate:!0})});function o(){var u;if(!n.value||!r.value||a.value)return;e("beforeMount",r.value);const i=t.path||t.defaultPath,c=Z(r.value,t.value||t.defaultValue||"",t.language||t.defaultLanguage||"",i||"");a.value=r.value.editor.create(n.value,ut({model:c,theme:t.theme,automaticLayout:!0,autoIndent:"brackets",formatOnPaste:!0,formatOnType:!0},t.options),t.overrideServices),(u=a.value)==null||u.onDidChangeModelContent(l=>{const f=a.value.getValue();f!==t.value&&(e("update:value",f),e("change",f,l))}),a.value&&!I(t.line)&&a.value.revealLine(t.line),e("mount",a.value,r.value)}return{editorRef:a}}function st({emit:e},t,r,n){const a=R(null),o=m([r,n],()=>{if(r.value&&n.value){G(()=>o());const u=r.value.editor.onDidChangeMarkers(i=>{var c,l;const f=(l=(c=n.value)==null?void 0:c.getModel())==null?void 0:l.uri;if(f&&i.find(s=>s.path===f.path)){const s=r.value.editor.getModelMarkers({resource:f});e("validate",s)}});a.value=()=>u==null?void 0:u.dispose()}});return{disposeValidator:a}}export{vt as V}; diff --git a/app/vue/dist/assets/splitpanes-BHRpRnq4.js b/app/vue/dist/assets/splitpanes-BHRpRnq4.js deleted file mode 100644 index f09421b1..00000000 --- a/app/vue/dist/assets/splitpanes-BHRpRnq4.js +++ /dev/null @@ -1 +0,0 @@ -import{c$ as ve,d2 as L,co as H,cn as V,cr as W,bj as de,cA as y,bh as f,cg as T,cE as ce,bV as w,bH as me,bl as pe,cC as ze,cj as he,cU as fe,bM as xe,cu as g}from"./index-Cmc-xxmd.js";const Se={__name:"splitpanes",props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click","splitter-dblclick"],setup(C,{emit:k}){const x=k,r=C,N=ve(),s=y([]),M=f(()=>s.value.reduce((e,n)=>(e[~~n.id]=n)&&e,{})),h=f(()=>s.value.length),c=y(null),P=y(!1),v=y({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),z=y({splitter:null,timeoutId:null}),_=f(()=>({[`splitpanes splitpanes--${r.horizontal?"horizontal":"vertical"}`]:!0,"splitpanes--dragging":v.value.dragging})),R=()=>{document.addEventListener("mousemove",u,{passive:!1}),document.addEventListener("mouseup",S),"ontouchstart"in window&&(document.addEventListener("touchmove",u,{passive:!1}),document.addEventListener("touchend",S))},E=()=>{document.removeEventListener("mousemove",u,{passive:!1}),document.removeEventListener("mouseup",S),"ontouchstart"in window&&(document.removeEventListener("touchmove",u,{passive:!1}),document.removeEventListener("touchend",S))},O=(e,n)=>{const t=e.target.closest(".splitpanes__splitter");if(t){const{left:a,top:i}=t.getBoundingClientRect(),{clientX:l,clientY:o}="ontouchstart"in window&&e.touches?e.touches[0]:e;v.value.cursorOffset=r.horizontal?o-i:l-a}R(),v.value.mouseDown=!0,v.value.activeSplitter=n},u=e=>{v.value.mouseDown&&(e.preventDefault(),v.value.dragging=!0,requestAnimationFrame(()=>{K(Y(e)),m("resize",{event:e},!0)}))},S=e=>{v.value.dragging&&(window.getSelection().removeAllRanges(),m("resized",{event:e},!0)),v.value.mouseDown=!1,v.value.activeSplitter=null,setTimeout(()=>{v.value.dragging=!1,E()},100)},A=(e,n)=>{"ontouchstart"in window&&(e.preventDefault(),z.value.splitter===n?(clearTimeout(z.value.timeoutId),z.value.timeoutId=null,$(e,n),z.value.splitter=null):(z.value.splitter=n,z.value.timeoutId=setTimeout(()=>z.value.splitter=null,500))),v.value.dragging||m("splitter-click",{event:e,index:n},!0)},$=(e,n)=>{if(m("splitter-dblclick",{event:e,index:n},!0),r.maximizePanes){let t=0;s.value=s.value.map((a,i)=>(a.size=i===n?a.max:a.min,i!==n&&(t+=a.min),a)),s.value[n].size-=t,m("pane-maximize",{event:e,index:n,pane:s.value[n]}),m("resized",{event:e,index:n},!0)}},X=(e,n)=>{m("pane-click",{event:e,index:M.value[n].index,pane:M.value[n]})},Y=e=>{const n=c.value.getBoundingClientRect(),{clientX:t,clientY:a}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:t-(r.horizontal?0:v.value.cursorOffset)-n.left,y:a-(r.horizontal?v.value.cursorOffset:0)-n.top}},J=e=>{e=e[r.horizontal?"y":"x"];const n=c.value[r.horizontal?"clientHeight":"clientWidth"];return r.rtl&&!r.horizontal&&(e=n-e),e*100/n},K=e=>{const n=v.value.activeSplitter;let t={prevPanesSize:j(n),nextPanesSize:b(n),prevReachedMinPanes:0,nextReachedMinPanes:0};const a=0+(r.pushOtherPanes?0:t.prevPanesSize),i=100-(r.pushOtherPanes?0:t.nextPanesSize),l=Math.max(Math.min(J(e),i),a);let o=[n,n+1],d=s.value[o[0]]||null,p=s.value[o[1]]||null;const U=d.max<100&&l>=d.max+t.prevPanesSize,re=p.max<100&&l<=100-(p.max+b(n+1));if(U||re){U?(d.size=d.max,p.size=Math.max(100-d.max-t.prevPanesSize-t.nextPanesSize,0)):(d.size=Math.max(100-p.max-t.prevPanesSize-b(n+1),0),p.size=p.max);return}if(r.pushOtherPanes){const q=Q(t,l);if(!q)return;({sums:t,panesToResize:o}=q),d=s.value[o[0]]||null,p=s.value[o[1]]||null}d!==null&&(d.size=Math.min(Math.max(l-t.prevPanesSize-t.prevReachedMinPanes,d.min),d.max)),p!==null&&(p.size=Math.min(Math.max(100-l-t.nextPanesSize-t.nextReachedMinPanes,p.min),p.max))},Q=(e,n)=>{const t=v.value.activeSplitter,a=[t,t+1];return n{l>a[0]&&l<=t&&(i.size=i.min,e.prevReachedMinPanes+=i.min)}),e.prevPanesSize=j(a[0]),a[0]===void 0)?(e.prevReachedMinPanes=0,s.value[0].size=s.value[0].min,s.value.forEach((i,l)=>{l>0&&l<=t&&(i.size=i.min,e.prevReachedMinPanes+=i.min)}),s.value[a[1]].size=100-e.prevReachedMinPanes-s.value[0].min-e.prevPanesSize-e.nextPanesSize,null):n>100-e.nextPanesSize-s.value[a[1]].min&&(a[1]=G(t).index,e.nextReachedMinPanes=0,a[1]>t+1&&s.value.forEach((i,l)=>{l>t&&l{l=t+1&&(i.size=i.min,e.nextReachedMinPanes+=i.min)}),s.value[a[0]].size=100-e.prevPanesSize-b(a[0]-1),null):{sums:e,panesToResize:a}},j=e=>s.value.reduce((n,t,a)=>n+(as.value.reduce((n,t,a)=>n+(a>e+1?t.size:0),0),Z=e=>[...s.value].reverse().find(n=>n.indexn.min)||{},G=e=>s.value.find(n=>n.index>e+1&&n.size>n.min)||{},ee=()=>{var e;const n=Array.from(((e=c.value)==null?void 0:e.children)||[]);for(const t of n){const a=t.classList.contains("splitpanes__pane"),i=t.classList.contains("splitpanes__splitter");!a&&!i&&(t.remove(),console.warn("Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed."))}},F=(e,n,t=!1)=>{const a=e-1,i=document.createElement("div");i.classList.add("splitpanes__splitter"),t||(i.onmousedown=l=>O(l,a),typeof window<"u"&&"ontouchstart"in window&&(i.ontouchstart=l=>O(l,a)),i.onclick=l=>A(l,a+1)),i.ondblclick=l=>$(l,a+1),n.parentNode.insertBefore(i,n)},ne=e=>{e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.remove()},B=()=>{var e;const n=Array.from(((e=c.value)==null?void 0:e.children)||[]);for(const a of n)a.className.includes("splitpanes__splitter")&&ne(a);let t=0;for(const a of n)a.className.includes("splitpanes__pane")&&(!t&&r.firstSplitter?F(t,a,!0):t&&F(t,a),t++)},ae=({uid:e,...n})=>{const t=M.value[e];for(const[a,i]of Object.entries(n))t[a]=i},ie=e=>{var n;let t=-1;Array.from(((n=c.value)==null?void 0:n.children)||[]).some(a=>(a.className.includes("splitpanes__pane")&&t++,a.isSameNode(e.el))),s.value.splice(t,0,{...e,index:t}),s.value.forEach((a,i)=>a.index=i),P.value&&T(()=>{B(),D({addedPane:s.value[t]}),m("pane-add",{pane:s.value[t]})})},te=e=>{const n=s.value.findIndex(a=>a.id===e);s.value[n].el=null;const t=s.value.splice(n,1)[0];s.value.forEach((a,i)=>a.index=i),T(()=>{B(),m("pane-remove",{pane:t}),D({removedPane:{...t}})})},D=(e={})=>{!e.addedPane&&!e.removedPane?se():s.value.some(n=>n.givenSize!==null||n.min||n.max<100)?oe(e):le(),P.value&&m("resized")},le=()=>{const e=100/h.value;let n=0;const t=[],a=[];for(const i of s.value)i.size=Math.max(Math.min(e,i.max),i.min),n-=i.size,i.size>=i.max&&t.push(i.id),i.size<=i.min&&a.push(i.id);n>.1&&I(n,t,a)},se=()=>{let e=100;const n=[],t=[];let a=0;for(const l of s.value)e-=l.size,l.givenSize!==null&&a++,l.size>=l.max&&n.push(l.id),l.size<=l.min&&t.push(l.id);let i=100;if(e>.1){for(const l of s.value)l.givenSize===null&&(l.size=Math.max(Math.min(e/(h.value-a),l.max),l.min)),i-=l.size;i>.1&&I(i,n,t)}},oe=({addedPane:e,removedPane:n}={})=>{let t=100/h.value,a=0;const i=[],l=[];((e==null?void 0:e.givenSize)??null)!==null&&(t=(100-e.givenSize)/(h.value-1));for(const o of s.value)a-=o.size,o.size>=o.max&&i.push(o.id),o.size<=o.min&&l.push(o.id);if(!(Math.abs(a)<.1)){for(const o of s.value)(e==null?void 0:e.givenSize)!==null&&(e==null?void 0:e.id)===o.id||(o.size=Math.max(Math.min(t,o.max),o.min)),a-=o.size,o.size>=o.max&&i.push(o.id),o.size<=o.min&&l.push(o.id);a>.1&&I(a,i,l)}},I=(e,n,t)=>{let a;e>0?a=e/(h.value-n.length):a=e/(h.value-t.length),s.value.forEach((i,l)=>{if(e>0&&!n.includes(i.id)){const o=Math.max(Math.min(i.size+a,i.max),i.min),d=o-i.size;e-=d,i.size=o}else if(!t.includes(i.id)){const o=Math.max(Math.min(i.size+a,i.max),i.min),d=o-i.size;e-=d,i.size=o}}),Math.abs(e)>.1&&T(()=>{P.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},m=(e,n=void 0,t=!1)=>{const a=(n==null?void 0:n.index)??v.value.activeSplitter??null;x(e,{...n,...a!==null&&{index:a},...t&&a!==null&&{prevPane:s.value[a-(r.firstSplitter?1:0)],nextPane:s.value[a+(r.firstSplitter?0:1)]},panes:s.value.map(i=>({min:i.min,max:i.max,size:i.size}))})};L(()=>r.firstSplitter,()=>B()),H(()=>{ee(),B(),D(),m("ready"),P.value=!0}),V(()=>P.value=!1);const ue=()=>{var e;return xe("div",{ref:c,class:_.value},(e=N.default)==null?void 0:e.call(N))};return g("panes",s),g("indexedPanes",M),g("horizontal",f(()=>r.horizontal)),g("requestUpdate",ae),g("onPaneAdd",ie),g("onPaneRemove",te),g("onPaneClick",X),(e,n)=>(W(),de(ce(ue)))}},ge={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(C){var k;const x=C,r=w("requestUpdate"),N=w("onPaneAdd"),s=w("horizontal"),M=w("onPaneRemove"),h=w("onPaneClick"),c=(k=me())==null?void 0:k.uid,P=w("indexedPanes"),v=f(()=>P.value[c]),z=y(null),_=f(()=>{const u=isNaN(x.size)||x.size===void 0?0:parseFloat(x.size);return Math.max(Math.min(u,E.value),R.value)}),R=f(()=>{const u=parseFloat(x.minSize);return isNaN(u)?0:u}),E=f(()=>{const u=parseFloat(x.maxSize);return isNaN(u)?100:u}),O=f(()=>{var u;return`${s.value?"height":"width"}: ${(u=v.value)==null?void 0:u.size}%`});return L(()=>_.value,u=>r({uid:c,size:u})),L(()=>R.value,u=>r({uid:c,min:u})),L(()=>E.value,u=>r({uid:c,max:u})),H(()=>{N({id:c,el:z.value,min:R.value,max:E.value,givenSize:x.size===void 0?null:_.value,size:_.value})}),V(()=>M(c)),(u,S)=>(W(),pe("div",{ref_key:"paneEl",ref:z,class:"splitpanes__pane",onClick:S[0]||(S[0]=A=>fe(h)(A,u._.uid)),style:he(O.value)},[ze(u.$slots,"default")],4))}};export{Se as P,ge as g}; diff --git a/app/vue/dist/assets/useCalcViewFileApi-De0S2Did.js b/app/vue/dist/assets/useCalcViewFileApi-De0S2Did.js deleted file mode 100644 index 223e7f59..00000000 --- a/app/vue/dist/assets/useCalcViewFileApi-De0S2Did.js +++ /dev/null @@ -1,30 +0,0 @@ -import{cW as p}from"./index-Cmc-xxmd.js";function w(){const{fetchDirect:n,execute:r}=p();async function s(a){const i=encodeURIComponent(a);return n(`/hana/calcview/project/list?path=${i}`)}async function l(a,i){let o=`/hana/calcview/project/read?file=${encodeURIComponent(a)}`;return i&&(o+=`&base=${encodeURIComponent(i)}`),n(o)}async function e(a,i,o){const t=await fetch("/hana/calcview/project/write",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({file:a,xml:i,base:o})});if(!t.ok){const u=await t.json().catch(()=>({error:t.statusText}));throw new Error(u.error||`${t.status} ${t.statusText}`)}return t.json()}async function c(){try{return await r("calcViews")}catch{return[]}}return{listProjectFiles:s,readProjectFile:l,writeProjectFile:e,listRuntimeViews:c}}function m(n){const{name:r,dataCategory:s,description:l,initialNode:e}=n;let c="",a="";if(e!=="none"){const o={projection:"Calculation:ProjectionView",aggregation:"Calculation:AggregationView",join:"Calculation:JoinView"}[e]||"Calculation:ProjectionView",t=`${e.charAt(0).toUpperCase()+e.slice(1)}_1`;c=` - - - - `,a=` - - - `}return` - - - - - - ${c} - - - - - - - - - - - - - ${a} - - -`}export{m as g,w as u}; diff --git a/app/vue/dist/assets/useCurrentSchema-BqWYAHf6.js b/app/vue/dist/assets/useCurrentSchema-BqWYAHf6.js deleted file mode 100644 index c71135c5..00000000 --- a/app/vue/dist/assets/useCurrentSchema-BqWYAHf6.js +++ /dev/null @@ -1 +0,0 @@ -import{cA as l}from"./index-Cmc-xxmd.js";const i=[];function w(a,o){const n=l([]);let t=!1;async function f(e={}){const r=`${a}:${e.schema||""}`,s=i.find(c=>c.key===r);if(s){n.value=s.items,t=!0;return}try{Object.keys(e).length>0&&await fetch("/",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});const c=await fetch(`/hana/${a}`);if(!c.ok)return;const u=await c.json(),h=Array.isArray(u)?u.map(S=>S[o]).filter(Boolean):[];n.value=h,i.push({key:r,items:h}),t=!0}catch{}}function m(e={}){t||f(e)}function C(e={}){t=!1;const r=`${a}:${e.schema||""}`,s=i.findIndex(c=>c.key===r);s>=0&&i.splice(s,1),f(e)}return{items:n,load:f,ensureLoaded:m,reload:C}}const y=l("");let d=!1;async function k(){var a,o;if(!d){d=!0;try{await fetch("/",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({})});const n=await fetch("/hana");if(!n.ok)return;const t=await n.json();(o=(a=t.user)==null?void 0:a[0])!=null&&o.CURRENT_SCHEMA&&(y.value=t.user[0].CURRENT_SCHEMA)}catch{}}}function T(){return k(),{resolvedSchema:y}}export{w as a,T as u}; diff --git a/app/vue/dist/assets/useDynamicTable-DVsAdjXE.js b/app/vue/dist/assets/useDynamicTable-DVsAdjXE.js deleted file mode 100644 index b0f8e00b..00000000 --- a/app/vue/dist/assets/useDynamicTable-DVsAdjXE.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a as m,w as L}from"./SmartTable-BtBFwGU3.js";import{bh as d,cA as c}from"./index-Cmc-xxmd.js";function U(){const p=c([]),l=c([]),w=c(!1),f=c(""),r=c(null),u=c("Ascending");function h(e){p.value=e,e.length>0&&l.value.length===0&&(l.value=Object.keys(e[0]).map((t,n)=>({key:t,label:t.replace(/_/g," ").replace(/\b\w/g,o=>o.toUpperCase()),sortable:!0,importance:n<3?3:n<5?2:1})))}function y(){l.value=[]}function x(e){r.value===e?u.value=u.value==="Ascending"?"Descending":"Ascending":(r.value=e,u.value="Ascending")}const v=d(()=>{let e=[...p.value];if(f.value){const t=f.value.toLowerCase();e=e.filter(n=>l.value.some(o=>String(n[o.key]??"").toLowerCase().includes(t)))}if(r.value){const t=r.value,n=u.value==="Ascending"?1:-1;e.sort((o,i)=>{const s=o[t]??"",a=i[t]??"";return typeof s=="number"&&typeof a=="number"?(s-a)*n:String(s).localeCompare(String(a))*n})}return e}),j=d(()=>v.value.length),C=d(()=>p.value.length);function D(e="export.xlsx"){const t=v.value.map(i=>{const s={};return l.value.forEach(a=>{s[a.label]=i[a.key]}),s}),n=m.json_to_sheet(t),o=m.book_new();m.book_append_sheet(o,n,"Data"),L(o,e)}function k(e="export.csv"){const t=l.value,n=t.map(g=>g.label).join(","),o=v.value.map(g=>t.map(A=>`"${String(g[A.key]??"").replace(/"/g,'""')}"`).join(",")),i=[n,...o].join(` -`),s=new Blob(["\uFEFF"+i],{type:"text/csv;charset=utf-8"}),a=URL.createObjectURL(s),b=document.createElement("a");b.href=a,b.download=e,b.click(),URL.revokeObjectURL(a)}return{rawData:p,columns:l,displayData:v,loading:w,searchQuery:f,sortKey:r,sortDir:u,rowCount:j,totalCount:C,setData:h,resetColumns:y,toggleSort:x,exportExcel:D,exportCsv:k}}export{U as u}; diff --git a/app/vue/dist/assets/useSmartTable-WzAaSsKz.js b/app/vue/dist/assets/useSmartTable-WzAaSsKz.js deleted file mode 100644 index 774f46b4..00000000 --- a/app/vue/dist/assets/useSmartTable-WzAaSsKz.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a as d,w as S}from"./SmartTable-BtBFwGU3.js";import{bh as g,cA as u}from"./index-Cmc-xxmd.js";function L(i){const p=u([]),m=u(!1),f=u(""),r=u(null),c=u("Ascending");function w(e){p.value=e}function h(e){r.value===e?c.value=c.value==="Ascending"?"Descending":"Ascending":(r.value=e,c.value="Ascending")}const v=g(()=>{let e=[...p.value];if(f.value){const o=f.value.toLowerCase();e=e.filter(a=>i.some(s=>String(a[s.key]??"").toLowerCase().includes(o)))}if(r.value){const o=r.value,a=c.value==="Ascending"?1:-1;e.sort((s,l)=>{const n=s[o]??"",t=l[o]??"";return typeof n=="number"&&typeof t=="number"?(n-t)*a:String(n).localeCompare(String(t))*a})}return e}),x=g(()=>v.value.length),y=g(()=>p.value.length);function j(e="export.xlsx"){const o=v.value.map(l=>{const n={};return i.forEach(t=>{n[t.label]=l[t.key]}),n}),a=d.json_to_sheet(o),s=d.book_new();d.book_append_sheet(s,a,"Data"),S(s,e)}function k(e="export.csv"){const o=i.map(b=>b.label).join(","),a=v.value.map(b=>i.map(D=>`"${String(b[D.key]??"").replace(/"/g,'""')}"`).join(",")),s=[o,...a].join(` -`),l=new Blob(["\uFEFF"+s],{type:"text/csv;charset=utf-8"}),n=URL.createObjectURL(l),t=document.createElement("a");t.href=n,t.download=e,t.click(),URL.revokeObjectURL(n)}return{rawData:p,displayData:v,loading:m,searchQuery:f,sortKey:r,sortDir:c,rowCount:x,totalCount:y,setData:w,toggleSort:h,exportExcel:j,exportCsv:k}}export{L as u}; diff --git a/app/vue/dist/index.html b/app/vue/dist/index.html index 2d11498e..ffd3b924 100644 --- a/app/vue/dist/index.html +++ b/app/vue/dist/index.html @@ -19,7 +19,7 @@ flex-direction: column; } - + diff --git a/vscode-extension/.gitignore b/vscode-extension/.gitignore index 2ad0b9d8..fd956fb2 100644 --- a/vscode-extension/.gitignore +++ b/vscode-extension/.gitignore @@ -1,3 +1,4 @@ out/ dist/ +_i18n/ *.vsix diff --git a/vscode-extension/esbuild.config.mjs b/vscode-extension/esbuild.config.mjs index 0127b67c..dad2e5e4 100644 --- a/vscode-extension/esbuild.config.mjs +++ b/vscode-extension/esbuild.config.mjs @@ -1,9 +1,11 @@ import * as esbuild from 'esbuild' import path from 'path' +import fs from 'fs' import { fileURLToPath } from 'url' const __dirname = path.dirname(fileURLToPath(import.meta.url)) const production = process.argv.includes('--production') +const projectRoot = path.resolve(__dirname, '..') // The route modules in src/server/routes.ts import from '../../routes/*.js' // which TypeScript preserves as-is (@ts-ignore). From the compiled location @@ -14,7 +16,120 @@ const resolveRoutesPlugin = { setup(build) { build.onResolve({ filter: /^\.\.\/\.\.\/routes\// }, (args) => { const routeFile = args.path.replace('../../routes/', '') - return { path: path.resolve(__dirname, '..', 'routes', routeFile) } + return { path: path.resolve(projectRoot, 'routes', routeFile) } + }) + }, +} + +// bin/ modules have a CLI direct-execution block at the bottom that uses +// top-level await (for yargs). This is incompatible with CJS output. +// Routes only use the exported functions, so we strip the bootstrap block. +// Some bin/ files (like tablesSQLite.js, tablesPG.js) have top-level await +// that can't be stripped — these are CLI-only variants never called by routes, +// so we stub them out entirely. +const stripCLIBootstrapPlugin = { + name: 'strip-cli-bootstrap', + setup(build) { + build.onLoad({ filter: /[\\/]bin[\\/].*\.js$/ }, async (args) => { + let contents = fs.readFileSync(args.path, 'utf8') + + // Strip direct execution blocks: + // if (import.meta.url === `file://${process.argv[1]}` ...) { ... } + const marker = /^if\s*\(\s*import\.meta\.url\s*===\s*[`"']/m + const idx = contents.search(marker) + if (idx !== -1) { + contents = contents.slice(0, idx) + } + + // If top-level await remains after stripping, this file is a CLI-only + // variant (e.g. tablesPG.js, tablesSQLite.js) that routes never call. + // Stub it out to avoid CJS incompatibility. + // Only match non-indented lines (truly top-level, not inside functions). + if (/^(?:const|let|var)\s+\w+\s*=\s*await\s/m.test(contents)) { + contents = '// Stubbed: CLI-only module with top-level await\nexport {}\n' + } + + return { contents, loader: 'js', resolveDir: path.dirname(args.path) } + }) + }, +} + +// Route handlers use dynamic import() with template literals like: +// await import(`${lib}.js`) where lib = "../bin/version" +// esbuild can't resolve template-literal imports at build time. +// This plugin rewrites route files to use a static lookup map instead. +const dynamicImportPlugin = { + name: 'resolve-dynamic-bin-imports', + setup(build) { + const routeFiles = ['hanaList.js', 'hanaInspect.js', 'hanaQueryPlan.js'] + const routeFilter = new RegExp(`routes[\\\\/](${routeFiles.join('|')})$`) + + build.onLoad({ filter: routeFilter }, async (args) => { + let contents = fs.readFileSync(args.path, 'utf8') + + // Collect all bin/ module references from handler call sites + // Pattern: listHandler(res, "../bin/xxx", 'funcName') + const binRefs = new Set() + const utilRefs = new Set() + + // Match handler calls: "../bin/xxx" (without .js extension) + for (const m of contents.matchAll(/["'](\.\.\/bin\/[^"']+)["']/g)) { + const ref = m[1] + if (!ref.endsWith('.js')) { + binRefs.add(ref) + } + } + + // Match static dynamic imports: await import('../bin/xxx.js') + for (const m of contents.matchAll(/await import\(['"](\.\.\/bin\/[^'"]+\.js)['"]\)/g)) { + binRefs.add(m[1].replace(/\.js$/, '')) + } + + // Match dynamic imports of utils: await import('../utils/xxx.js') + for (const m of contents.matchAll(/await import\(['"](\.\.\/utils\/[^'"]+)\.js['"]\)/g)) { + utilRefs.add(m[1]) + } + + // Build static import lines and lookup map + const imports = [] + const mapEntries = [] + + for (const ref of binRefs) { + const modName = ref.replace('../bin/', '') + const safe = modName.replace(/[^a-zA-Z0-9]/g, '_') + imports.push(`import * as __bin_${safe} from '${ref}.js'`) + mapEntries.push(` '${ref}': __bin_${safe}`) + } + for (const ref of utilRefs) { + const modName = ref.replace('../utils/', '') + const safe = modName.replace(/[^a-zA-Z0-9]/g, '_') + imports.push(`import * as __util_${safe} from '${ref}.js'`) + mapEntries.push(` '${ref}': __util_${safe}`) + } + + const preamble = imports.length > 0 + ? `${imports.join('\n')}\nconst __cmdMap = {\n${mapEntries.join(',\n')}\n};\n` + : '' + + // Replace template-literal dynamic imports with map lookup + // await import(`${lib}.js`) → (__cmdMap[lib]) + contents = contents.replace( + /await import\(`\$\{(\w+)\}\.js`\)/g, + '(__cmdMap[$1])' + ) + + // Replace static-path dynamic imports with map lookup + // await import('../bin/xxx.js') → (__cmdMap['../bin/xxx']) + contents = contents.replace( + /await import\(['"](\.\.\/(?:bin|utils)\/[^'"]+)\.js['"]\)/g, + (_, modPath) => `(__cmdMap['${modPath}'])` + ) + + return { + contents: preamble + contents, + loader: 'js', + resolveDir: path.dirname(args.path), + } }) }, } @@ -43,7 +158,14 @@ await esbuild.build({ sourcemap: !production, minify: production, treeShaking: true, - plugins: [resolveRoutesPlugin], + plugins: [resolveRoutesPlugin, stripCLIBootstrapPlugin, dynamicImportPlugin], + // Shim import.meta.url for CJS output — route/util modules use it for __dirname + banner: { + js: 'var importMetaUrl = require("url").pathToFileURL(__filename).href;', + }, + define: { + 'import.meta.url': 'importMetaUrl', + }, // Treat non-JS files (like README) that get pulled in as empty loader: { '.README': 'empty' }, logLevel: 'warning', diff --git a/vscode-extension/package.json b/vscode-extension/package.json index fbcea485..28ff211d 100644 --- a/vscode-extension/package.json +++ b/vscode-extension/package.json @@ -62,6 +62,10 @@ { "command": "hana-cli.importData", "title": "HANA: Import Data" + }, + { + "command": "hana-cli.openCfLogin", + "title": "HANA: CF Login" } ], "customEditors": [ @@ -161,8 +165,9 @@ }, "scripts": { "compile": "tsc -p ./", - "bundle": "npm run compile && node esbuild.config.mjs --production", - "bundle:dev": "npm run compile && node esbuild.config.mjs", + "copy:i18n": "node -e \"const fs=require('fs');fs.cpSync('../_i18n','_i18n',{recursive:true})\"", + "bundle": "npm run compile && npm run copy:i18n && node esbuild.config.mjs --production", + "bundle:dev": "npm run compile && npm run copy:i18n && node esbuild.config.mjs", "package": "npm run bundle && vsce package", "pretest": "tsc -p tsconfig.test.json", "test": "node ./out/test/runTests.js" diff --git a/vscode-extension/src/connection/resolver.ts b/vscode-extension/src/connection/resolver.ts index d9884a38..e03650ec 100644 --- a/vscode-extension/src/connection/resolver.ts +++ b/vscode-extension/src/connection/resolver.ts @@ -1,4 +1,7 @@ import * as vscode from 'vscode' +import { execFile } from 'child_process' + +const log = vscode.window.createOutputChannel('hana-cli resolver', { log: true }) export interface HanaConnection { host: string @@ -7,60 +10,230 @@ export interface HanaConnection { password: string useTLS: boolean schema: string + instanceName?: string source: 'cap' | 'default-env' | 'secretStorage' } +export type ResolveResult = + | { status: 'connected'; connection: HanaConnection } + | { status: 'cf-login-required'; instance: string } + | { status: 'no-config' } + /** * Resolves a HANA connection from workspace files using a 3-step strategy: - * 1. CAP: .cdsrc-private.json credentials (if @sap/cds is a project dependency) + * 1. CAP: .cdsrc-private.json credentials or CF binding (if @sap/cds is a project dependency) * 2. Workspace: default-env.json VCAP_SERVICES - * 3. Returns null (caller should fall back to SecretStorage) + * 3. Returns no-config (caller should fall back to SecretStorage) */ export async function resolveConnection( workspaceFolder: vscode.WorkspaceFolder -): Promise { - const conn = await resolveFromCAP(workspaceFolder) ?? await resolveFromDefaultEnv(workspaceFolder) - return conn +): Promise { + log.info(`Resolving connection for workspace: ${workspaceFolder.uri.fsPath}`) + + const capResult = await resolveFromCAP(workspaceFolder) + if (capResult.status !== 'no-config') { + if (capResult.status === 'connected') { + log.info(`Resolved via ${capResult.connection.source}: ${capResult.connection.user}@${capResult.connection.host}:${capResult.connection.port}`) + } + return capResult + } + + const envConn = await resolveFromDefaultEnv(workspaceFolder) + if (envConn) { + log.info(`Resolved via default-env: ${envConn.user}@${envConn.host}:${envConn.port}`) + return { status: 'connected', connection: envConn } + } + + log.info('No connection resolved from workspace files') + return { status: 'no-config' } +} + +interface BindingOrCredentials { + type: 'credentials' | 'binding' + value: Record +} + +/** + * Extracts the first available CDS binding or credentials from a parsed .cdsrc-private.json. + * Mirrors the logic in utils/connections.js — checks [hybrid] profile first, then db, then all values. + */ +function extractCdsBindingOrCredentials(config: Record): BindingOrCredentials | null { + const requires = config?.requires as Record | undefined + if (!requires || typeof requires !== 'object') { + return null + } + + const candidates: unknown[] = [] + + if (requires['[hybrid]']) { + candidates.push(requires['[hybrid]']) + } + if (requires.db) { + candidates.push(requires.db) + } + for (const value of Object.values(requires)) { + if (value) { + candidates.push(value) + } + } + + for (const candidate of candidates) { + const cObj = candidate as Record + const dbSection = (cObj?.db || cObj) as Record + if (dbSection?.credentials) { + return { type: 'credentials', value: dbSection.credentials as Record } + } + if (dbSection?.binding) { + return { type: 'binding', value: dbSection.binding as Record } + } + } + + return null +} + +function credsToConnection(creds: Record, instanceName?: string): HanaConnection | null { + if (!creds.host) return null + return { + host: creds.host as string, + port: Number(creds.port) || 443, + user: (creds.user || creds.hdi_user || '') as string, + password: (creds.password || creds.hdi_password || '') as string, + useTLS: creds.encrypt !== false, + schema: (creds.schema || '') as string, + instanceName, + source: 'cap' + } +} + +/** + * Unwrap credentials from various response formats. + * `cds env` returns credentials at the top level. + * `cf service-key` wraps them in {"credentials": {...}}. + */ +function unwrapCredentials(obj: Record): Record { + if (obj.host) return obj + if (obj.credentials && typeof obj.credentials === 'object') { + return obj.credentials as Record + } + return obj +} + +/** + * Resolves a CAP binding by using `cds env get requires.db.credentials --profile hybrid --resolve-bindings`. + * This is the proper CAP-native approach — it handles all binding types (CF, K8s, etc.) internally. + * Falls back to `cf service-key` if `cds env` is unavailable. + */ +function resolveCdsBinding(binding: Record, cwd: string): Promise | null> { + log.info(`Resolving binding via cds env (cwd: ${cwd})`) + log.info(`Extension host PATH includes: ${(process.env.PATH || '').split(';').filter(p => /npm|node|cf/i.test(p)).join('; ')}`) + + return new Promise((resolve) => { + execFile('cds', ['env', 'get', 'requires.db.credentials', '--profile', 'hybrid', '--resolve-bindings'], + { cwd, timeout: 30000, shell: true }, (err, stdout, stderr) => { + if (!err && stdout.trim()) { + const jsonStart = stdout.indexOf('{') + if (jsonStart !== -1) { + try { + const parsed = unwrapCredentials(JSON.parse(stdout.slice(jsonStart))) + if (parsed && parsed.host) { + log.info(`cds env resolved — host: ${parsed.host}`) + resolve(parsed) + return + } + } catch { + log.info(`cds env output not parseable JSON, trying cf service-key fallback`) + } + } + } + if (err) { + log.info(`cds env failed: ${err.message} — trying cf service-key fallback`) + } + + // Fallback to cf service-key + const instance = binding.instance as string | undefined + const key = binding.key as string | undefined + if (!instance || !key) { + log.info('CF binding missing instance or key fields') + resolve(null) + return + } + + log.info(`Resolving via: cf service-key "${instance}" "${key}"`) + execFile('cf', ['service-key', instance, key], { cwd, timeout: 30000, shell: true }, (cfErr, cfStdout, cfStderr) => { + if (cfErr) { + log.error(`cf service-key failed: ${cfErr.message}`) + if (cfStderr) log.error(`stderr: ${cfStderr}`) + resolve(null) + return + } + const jsonStart = cfStdout.indexOf('{') + if (jsonStart === -1) { + log.error(`cf service-key output has no JSON: ${cfStdout.slice(0, 200)}`) + resolve(null) + return + } + try { + const parsed = unwrapCredentials(JSON.parse(cfStdout.slice(jsonStart))) + log.info(`CF binding resolved — host: ${parsed.host}`) + resolve(parsed) + } catch (e) { + log.error(`Failed to parse cf service-key JSON: ${e}`) + resolve(null) + } + }) + }) + }) } async function resolveFromCAP( workspaceFolder: vscode.WorkspaceFolder -): Promise { +): Promise { try { - // Check if this is a CAP project const packageJsonUri = vscode.Uri.joinPath(workspaceFolder.uri, 'package.json') const packageJsonData = await vscode.workspace.fs.readFile(packageJsonUri) const packageJson = JSON.parse(Buffer.from(packageJsonData).toString('utf-8')) const deps = { ...packageJson.dependencies, ...packageJson.devDependencies } if (!deps['@sap/cds'] && !deps['@sap/cds-dk']) { - return null + log.info('Not a CAP project (no @sap/cds dependency)') + return { status: 'no-config' } } - // Parse .cdsrc-private.json for credentials + log.info('CAP project detected, looking for .cdsrc-private.json') const cdsrcUri = vscode.Uri.joinPath(workspaceFolder.uri, '.cdsrc-private.json') const cdsrcData = await vscode.workspace.fs.readFile(cdsrcUri) const cdsrc = JSON.parse(Buffer.from(cdsrcData).toString('utf-8')) - const creds = cdsrc?.requires?.db?.credentials - ?? cdsrc?.requires?.['hana']?.credentials - ?? cdsrc?.requires?.db?.binding?.credentials - if (!creds || !creds.host) { - return null + const entry = extractCdsBindingOrCredentials(cdsrc) + if (!entry) { + log.info('No credentials or binding found in .cdsrc-private.json') + return { status: 'no-config' } } - return { - host: creds.host, - port: Number(creds.port) || 443, - user: creds.user || creds.hdi_user || '', - password: creds.password || creds.hdi_password || '', - useTLS: creds.encrypt !== false, - schema: creds.schema || '', - source: 'cap' + log.info(`Found ${entry.type} in .cdsrc-private.json`) + + if (entry.type === 'credentials') { + const conn = credsToConnection(entry.value) + if (conn) return { status: 'connected', connection: conn } + return { status: 'no-config' } } - } catch { - // File not found or parse error — not a CAP project or no credentials - return null + + // Binding — resolve via cds env or cf service-key + const instanceName = (entry.value.instance as string) || undefined + const cwd = workspaceFolder.uri.fsPath + const resolved = await resolveCdsBinding(entry.value, cwd) + if (resolved) { + const conn = credsToConnection(resolved, instanceName) + if (conn) return { status: 'connected', connection: conn } + } + + // We found the binding config but couldn't resolve it — CF likely not logged in + const instance = instanceName || 'unknown' + log.info(`CF binding found for instance "${instance}" but resolution failed — cf login likely required`) + return { status: 'cf-login-required', instance } + } catch (err) { + log.error(`resolveFromCAP error: ${err}`) + return { status: 'no-config' } } } @@ -88,7 +261,6 @@ async function resolveFromDefaultEnv( source: 'default-env' } } catch { - // File not found or parse error return null } } diff --git a/vscode-extension/src/connection/statusBar.ts b/vscode-extension/src/connection/statusBar.ts index f0423057..fc9760f4 100644 --- a/vscode-extension/src/connection/statusBar.ts +++ b/vscode-extension/src/connection/statusBar.ts @@ -1,5 +1,5 @@ import * as vscode from 'vscode' -import type { HanaConnection } from './resolver.js' +import type { HanaConnection, ResolveResult } from './resolver.js' /** * Creates a status bar item that shows the current HANA connection state. @@ -10,23 +10,43 @@ export function createConnectionStatusBar(): vscode.StatusBarItem { 100 ) statusBar.command = 'hana-cli.addConnection' - updateStatus(statusBar, null) + updateStatus(statusBar, { status: 'no-config' }) statusBar.show() return statusBar } /** - * Updates the status bar item text based on the current connection. + * Updates the status bar item text based on the resolve result. */ export function updateStatus( statusBar: vscode.StatusBarItem, - conn: HanaConnection | null + result: ResolveResult ): void { - if (conn) { - statusBar.text = `$(database) HANA: ${conn.user}@${conn.host}:${conn.port}` - statusBar.tooltip = `Connected via ${conn.source} | Schema: ${conn.schema || '(default)'}` - } else { - statusBar.text = '$(warning) HANA: Not Connected' - statusBar.tooltip = 'Click to add a HANA connection' + switch (result.status) { + case 'connected': { + const conn = result.connection + const label = conn.instanceName + ? `${conn.instanceName} (${conn.host.split('.')[0]})` + : `${conn.user}@${conn.host}:${conn.port}` + statusBar.text = `$(database) HANA: ${label}` + statusBar.tooltip = conn.instanceName + ? `HDI Container: ${conn.instanceName}\nHost: ${conn.host}:${conn.port}\nUser: ${conn.user}\nSchema: ${conn.schema || '(default)'}\nSource: ${conn.source}` + : `Connected via ${conn.source} | Schema: ${conn.schema || '(default)'}` + statusBar.backgroundColor = undefined + statusBar.command = 'hana-cli.addConnection' + break + } + case 'cf-login-required': + statusBar.text = `$(warning) HANA: CF login required` + statusBar.tooltip = `CAP binding found for "${result.instance}" but credentials couldn't be resolved.\nClick to open CF Login.` + statusBar.backgroundColor = new vscode.ThemeColor('statusBarItem.warningBackground') + statusBar.command = 'hana-cli.openCfLogin' + break + case 'no-config': + statusBar.text = '$(warning) HANA: Not Connected' + statusBar.tooltip = 'Click to add a HANA connection' + statusBar.backgroundColor = undefined + statusBar.command = 'hana-cli.addConnection' + break } } diff --git a/vscode-extension/src/editors/artifactInspector.ts b/vscode-extension/src/editors/artifactInspector.ts index 8f463aa5..5631b244 100644 --- a/vscode-extension/src/editors/artifactInspector.ts +++ b/vscode-extension/src/editors/artifactInspector.ts @@ -10,13 +10,13 @@ interface ArtifactConfig { } const ARTIFACT_CONFIGS: ArtifactConfig[] = [ - { viewType: 'hana-cli.tableInspector', route: '/inspectTable', kind: 'table' }, - { viewType: 'hana-cli.viewInspector', route: '/inspectView', kind: 'view' }, - { viewType: 'hana-cli.procedureInspector', route: '/inspectProcedure', kind: 'procedure' }, - { viewType: 'hana-cli.functionInspector', route: '/inspectFunction', kind: 'function' }, - { viewType: 'hana-cli.synonymInspector', route: '/inspectSynonym', kind: 'synonym' }, - { viewType: 'hana-cli.roleInspector', route: '/inspectRole', kind: 'role' }, - { viewType: 'hana-cli.sequenceInspector', route: '/inspectSequence', kind: 'sequence' }, + { viewType: 'hana-cli.tableInspector', route: '/inspect-table', kind: 'table' }, + { viewType: 'hana-cli.viewInspector', route: '/inspect-view', kind: 'view' }, + { viewType: 'hana-cli.procedureInspector', route: '/call-procedure', kind: 'procedure' }, + { viewType: 'hana-cli.functionInspector', route: '/inspect-function', kind: 'function' }, + { viewType: 'hana-cli.synonymInspector', route: '/inspect-table', kind: 'synonym' }, + { viewType: 'hana-cli.roleInspector', route: '/inspect-table', kind: 'role' }, + { viewType: 'hana-cli.sequenceInspector', route: '/inspect-table', kind: 'sequence' }, ] /** @@ -72,33 +72,31 @@ class ArtifactInspectorProvider implements vscode.CustomReadonlyEditorProvider { enableScripts: true, } + // Parse artifact name from the filename (strip extension) + const filename = path.basename(document.uri.fsPath) + const dotIndex = filename.lastIndexOf('.') + const name = dotIndex > 0 ? filename.substring(0, dotIndex) : filename + const port = await ensureServer(this._context) webviewPanel.webview.html = getWebviewContent(webviewPanel.webview, this._context.extensionUri, { route: this._config.route, port, + chromeless: true, }) - // Parse artifact name from the filename (strip extension) - const filename = path.basename(document.uri.fsPath) - const dotIndex = filename.lastIndexOf('.') - const name = dotIndex > 0 ? filename.substring(0, dotIndex) : filename - webviewPanel.webview.onDidReceiveMessage( - (message: { type: string; level?: string; text?: string; path?: string }) => { + async (message: { type: string; level?: string; text?: string; path?: string }) => { switch (message.type) { - case 'ready': + case 'ready': { webviewPanel.webview.postMessage({ type: 'openArtifact', kind: this._config.kind, name, schema: '', }) - webviewPanel.webview.postMessage({ - type: 'serverReady', - port, - }) break + } case 'showMessage': { const text = message.text || '' diff --git a/vscode-extension/src/editors/calcViewEditor.ts b/vscode-extension/src/editors/calcViewEditor.ts index be5cecf4..513d79df 100644 --- a/vscode-extension/src/editors/calcViewEditor.ts +++ b/vscode-extension/src/editors/calcViewEditor.ts @@ -111,8 +111,9 @@ export class CalcViewEditorProvider implements vscode.CustomEditorProvider = { 'hana-cli.openTools': '/', - 'hana-cli.openQuery': '/queryConsole', - 'hana-cli.showTables': '/tables', - 'hana-cli.showViews': '/views', - 'hana-cli.systemInfo': '/systemInfo', - 'hana-cli.importData': '/import', +} + +const CHROMELESS_ROUTES: Record = { + 'hana-cli.openCfLogin': { route: '/cf-login', title: 'CF Login' }, + 'hana-cli.openQuery': { route: '/query', title: 'Query Console' }, + 'hana-cli.showTables': { route: '/tables', title: 'Tables' }, + 'hana-cli.showViews': { route: '/views', title: 'Views' }, + 'hana-cli.systemInfo': { route: '/system-info', title: 'System Info' }, + 'hana-cli.importData': { route: '/import', title: 'Import Data' }, } let currentPanel: vscode.WebviewPanel | undefined export function registerToolsPanel(context: vscode.ExtensionContext): void { + // Full tools panel commands (shared panel with navigation) for (const commandId of Object.keys(ROUTE_MAP)) { const disposable = vscode.commands.registerCommand(commandId, async () => { const route = ROUTE_MAP[commandId] - const port = await ensureServer(context) + log.info(`[toolsPanel] Command invoked: ${commandId}, route: ${route}`) if (currentPanel) { + log.info('[toolsPanel] Reusing existing panel') currentPanel.reveal(vscode.ViewColumn.One) currentPanel.webview.postMessage({ type: 'navigate', route }) return } + const port = await ensureServer(context) + log.info(`[toolsPanel] Server on port ${port}`) + const panel = vscode.window.createWebviewPanel( 'hana-cli.toolsPanel', 'hana-cli Tools', @@ -44,7 +55,8 @@ export function registerToolsPanel(context: vscode.ExtensionContext): void { }) panel.webview.onDidReceiveMessage( - (message: { type: string; level?: string; text?: string; path?: string }) => { + async (message: { type: string; level?: string; text?: string; path?: string }) => { + log.info(`[toolsPanel] Message from webview: ${JSON.stringify(message)}`) switch (message.type) { case 'showMessage': { const text = message.text || '' @@ -87,4 +99,37 @@ export function registerToolsPanel(context: vscode.ExtensionContext): void { context.subscriptions.push(disposable) } + + // Chromeless panel commands (standalone, no nav shell) + for (const [commandId, config] of Object.entries(CHROMELESS_ROUTES)) { + const disposable = vscode.commands.registerCommand(commandId, async () => { + const port = await ensureServer(context) + + const panel = vscode.window.createWebviewPanel( + commandId, + config.title, + vscode.ViewColumn.One, + { + ...getWebviewOptions(context.extensionUri), + retainContextWhenHidden: true, + } + ) + + trackWebviewOpen() + + panel.webview.html = getWebviewContent(panel.webview, context.extensionUri, { + route: config.route, + port, + chromeless: true, + }) + + panel.onDidDispose( + () => { trackWebviewClose() }, + undefined, + context.subscriptions + ) + }) + + context.subscriptions.push(disposable) + } } diff --git a/vscode-extension/src/extension.ts b/vscode-extension/src/extension.ts index d9819c97..f26de97b 100644 --- a/vscode-extension/src/extension.ts +++ b/vscode-extension/src/extension.ts @@ -3,94 +3,101 @@ import { startServer, stopServer, scheduleShutdown, injectConnection } from './s import { registerToolsPanel } from './editors/toolsPanel.js' import { CalcViewEditorProvider } from './editors/calcViewEditor.js' import { ArtifactInspectorProvider } from './editors/artifactInspector.js' -import { resolveConnection, type HanaConnection } from './connection/resolver.js' +import { resolveConnection, type HanaConnection, type ResolveResult } from './connection/resolver.js' import { ConnectionManager } from './connection/manager.js' import { createConnectionStatusBar, updateStatus } from './connection/statusBar.js' let activeWebviewCount = 0 let currentConnection: HanaConnection | null = null +const outputChannel = vscode.window.createOutputChannel('hana-cli') export function activate(context: vscode.ExtensionContext) { - context.subscriptions.push({ - dispose: () => stopServer() - }) - - // Create connection status bar - const statusBar = createConnectionStatusBar() - context.subscriptions.push(statusBar) - - // Connection manager for SecretStorage - const connManager = new ConnectionManager(context.secrets) - - // Auto-resolve connection on activation - const folders = vscode.workspace.workspaceFolders - if (folders && folders.length > 0) { - resolveConnection(folders[0]).then((conn) => { - if (conn) { - currentConnection = conn - injectConnection(conn) - updateStatus(statusBar, conn) - } + try { + context.subscriptions.push({ + dispose: () => stopServer() }) - } - // Register addConnection command - context.subscriptions.push( - vscode.commands.registerCommand('hana-cli.addConnection', async () => { - const host = await vscode.window.showInputBox({ - prompt: 'HANA Host', - placeHolder: 'e.g. my-hana.hanacloud.ondemand.com' + const statusBar = createConnectionStatusBar() + context.subscriptions.push(statusBar) + + const connManager = new ConnectionManager(context.secrets) + + const folders = vscode.workspace.workspaceFolders + if (folders && folders.length > 0) { + resolveConnection(folders[0]).then((result) => { + if (result.status === 'connected') { + currentConnection = result.connection + injectConnection(result.connection) + } + updateStatus(statusBar, result) + }).catch((err) => { + outputChannel.appendLine(`Connection auto-resolve failed: ${err}`) }) - if (!host) return + } + + context.subscriptions.push( + vscode.commands.registerCommand('hana-cli.addConnection', async () => { + const host = await vscode.window.showInputBox({ + prompt: 'HANA Host', + placeHolder: 'e.g. my-hana.hanacloud.ondemand.com' + }) + if (!host) return + + const portStr = await vscode.window.showInputBox({ + prompt: 'HANA Port', + placeHolder: '443', + value: '443' + }) + if (!portStr) return + + const user = await vscode.window.showInputBox({ + prompt: 'Database User', + placeHolder: 'e.g. DBADMIN' + }) + if (!user) return + + const password = await vscode.window.showInputBox({ + prompt: 'Password', + password: true + }) + if (!password) return + + const schema = await vscode.window.showInputBox({ + prompt: 'Schema (optional)', + placeHolder: 'Leave empty for default' + }) ?? '' + + const conn: HanaConnection = { + host, + port: Number(portStr) || 443, + user, + password, + useTLS: true, + schema, + source: 'secretStorage' + } + + const name = `${user}@${host}:${portStr}` + await connManager.save(name, conn) - const portStr = await vscode.window.showInputBox({ - prompt: 'HANA Port', - placeHolder: '443', - value: '443' - }) - if (!portStr) return + currentConnection = conn + injectConnection(conn) + updateStatus(statusBar, { status: 'connected', connection: conn }) - const user = await vscode.window.showInputBox({ - prompt: 'Database User', - placeHolder: 'e.g. DBADMIN' + vscode.window.showInformationMessage(`Connected to HANA: ${name}`) }) - if (!user) return + ) - const password = await vscode.window.showInputBox({ - prompt: 'Password', - password: true - }) - if (!password) return - - const schema = await vscode.window.showInputBox({ - prompt: 'Schema (optional)', - placeHolder: 'Leave empty for default' - }) ?? '' - - const conn: HanaConnection = { - host, - port: Number(portStr) || 443, - user, - password, - useTLS: true, - schema, - source: 'secretStorage' - } - - const name = `${user}@${host}:${portStr}` - await connManager.save(name, conn) - - currentConnection = conn - injectConnection(conn) - updateStatus(statusBar, conn) - - vscode.window.showInformationMessage(`Connected to HANA: ${name}`) - }) - ) + registerToolsPanel(context) + CalcViewEditorProvider.register(context) + ArtifactInspectorProvider.registerAll(context) - registerToolsPanel(context) - CalcViewEditorProvider.register(context) - ArtifactInspectorProvider.registerAll(context) + outputChannel.appendLine('hana-cli extension activated successfully') + } catch (err) { + outputChannel.appendLine(`Activation error: ${err}`) + outputChannel.show(true) + throw err + } } export async function ensureServer(context: vscode.ExtensionContext): Promise { diff --git a/vscode-extension/src/server/lifecycle.ts b/vscode-extension/src/server/lifecycle.ts index 5444bce6..913458ab 100644 --- a/vscode-extension/src/server/lifecycle.ts +++ b/vscode-extension/src/server/lifecycle.ts @@ -39,11 +39,33 @@ async function doStart(conn?: HanaConnection): Promise { app.set('x-powered-by', false) app.disable('etag') + // Allow cross-origin requests from VSCode webviews + app.use((_req, res, next) => { + res.header('Access-Control-Allow-Origin', '*') + res.header('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS') + res.header('Access-Control-Allow-Headers', 'Content-Type, Authorization') + if (_req.method === 'OPTIONS') { + res.sendStatus(204) + return + } + next() + }) + server = http.createServer() // Register all routes via static barrel (bundled by esbuild) registerAllRoutes(app, server) + // Error handler — log and return details for debugging + app.use((err: any, _req: any, res: any, _next: any) => { + const msg = err?.message || String(err) + const stack = err?.stack || '' + console.error(`[hana-cli server] Error: ${msg}\n${stack}`) + if (!res.headersSent) { + res.status(500).json({ error: msg, stack: stack.split('\n').slice(0, 5) }) + } + }) + server.on('request', app) return new Promise((resolve, reject) => { @@ -82,16 +104,12 @@ function cancelShutdownTimer(): void { } export function injectConnection(conn: HanaConnection): void { - process.env.VCAP_SERVICES = JSON.stringify({ - hana: [{ - credentials: { - host: conn.host, - port: String(conn.port), - user: conn.user, - password: conn.password, - encrypt: conn.useTLS !== false, - schema: conn.schema || '' - } - }] - }) + process.env.HANA_CLI_HOST = conn.host + process.env.HANA_CLI_PORT = String(conn.port) + process.env.HANA_CLI_USER = conn.user + process.env.HANA_CLI_PASSWORD = conn.password + process.env.HANA_CLI_DATABASE = 'SYSTEMDB' + if (conn.schema) { + process.env.HANA_CLI_SCHEMA = conn.schema + } } diff --git a/vscode-extension/src/webview/htmlProvider.ts b/vscode-extension/src/webview/htmlProvider.ts index 879d66ea..3d46fbf6 100644 --- a/vscode-extension/src/webview/htmlProvider.ts +++ b/vscode-extension/src/webview/htmlProvider.ts @@ -1,14 +1,19 @@ import * as vscode from 'vscode' import * as crypto from 'crypto' +interface WebviewContentOptions { + route?: string + port?: number + chromeless?: boolean +} + export function getWebviewContent( webview: vscode.Webview, extensionUri: vscode.Uri, - options: { route?: string; port?: number } = {} + options: WebviewContentOptions = {} ): string { const nonce = crypto.randomBytes(16).toString('hex') - // Path to the Vue webview build const distPath = vscode.Uri.joinPath(extensionUri, '..', 'app', 'vue', 'dist-vscode') const scriptUri = webview.asWebviewUri(vscode.Uri.joinPath(distPath, 'assets', 'index.js')) const styleUri = webview.asWebviewUri(vscode.Uri.joinPath(distPath, 'assets', 'index.css')) @@ -16,12 +21,21 @@ export function getWebviewContent( const csp = [ `default-src 'none'`, `style-src ${webview.cspSource} 'unsafe-inline'`, - `script-src 'nonce-${nonce}'`, + `script-src ${webview.cspSource} 'unsafe-inline'`, `font-src ${webview.cspSource}`, `img-src ${webview.cspSource} data:`, `connect-src http://localhost:*`, ].join('; ') + const chromelessCSS = options.chromeless ? ` + ` : '' + + const route = options.route || '/' + return ` @@ -29,14 +43,28 @@ export function getWebviewContent( - hana-cli Tools + + hana-cli Tools${chromelessCSS} -
    +

    Loading hana-cli UI...